From d614c15aa1502634378fd36a220dc8060a386ba4 Mon Sep 17 00:00:00 2001 From: Natalie Mclaren Date: Thu, 26 Aug 2021 17:42:41 +0200 Subject: [PATCH] Bump v10 after node / npm update --- CHANGELOG.md | 4 ++ docs/0.757949da.iframe.bundle.js | 1 + docs/0.8f22a40e.iframe.bundle.js | 1 - docs/0.d2a32e988746d3b0926c.manager.bundle.js | 1 + docs/0.deb02a8f5cf2c90007d7.manager.bundle.js | 1 - docs/4.70079ffdb35086c74838.manager.bundle.js | 2 - docs/4.7fe5979b.iframe.bundle.js | 3 + ...> 4.7fe5979b.iframe.bundle.js.LICENSE.txt} | 0 docs/4.7fe5979b.iframe.bundle.js.map | 1 + docs/4.97672bdf.iframe.bundle.js | 3 - docs/4.97672bdf.iframe.bundle.js.map | 1 - docs/4.fe29191e1b9a7f5bd56d.manager.bundle.js | 2 + ...b9a7f5bd56d.manager.bundle.js.LICENSE.txt} | 0 docs/5.4bf0e0204cdde52880d6.manager.bundle.js | 1 + docs/5.a78cecab6c98d967a115.manager.bundle.js | 1 - docs/5.ae27871a.iframe.bundle.js | 1 - docs/5.debe883f.iframe.bundle.js | 1 + docs/6.65191dcd8662a31a69c8.manager.bundle.js | 2 - docs/6.737e778b.iframe.bundle.js | 3 - docs/6.737e778b.iframe.bundle.js.map | 1 - docs/6.a1b58f7c.iframe.bundle.js | 3 + ...> 6.a1b58f7c.iframe.bundle.js.LICENSE.txt} | 0 docs/6.a1b58f7c.iframe.bundle.js.map | 1 + docs/6.aef2ad40265b39a4ac62.manager.bundle.js | 2 + ...65b39a4ac62.manager.bundle.js.LICENSE.txt} | 0 ... 7.99ad32c0d2827d012563.manager.bundle.js} | 2 +- ....bundle.js => 7.f1755798.iframe.bundle.js} | 2 +- docs/iframe.html | 2 +- docs/index.html | 2 +- docs/main.5a5ec758.iframe.bundle.js | 1 - ...ain.85a8a73725144dea1b4f.manager.bundle.js | 1 + docs/main.c08f6a69.iframe.bundle.js | 1 + ...ain.ecf76ec7b279514afee2.manager.bundle.js | 1 - ...in.6dbce2f737d5c28a9451.manager.bundle.js} | 2 +- ...=> runtime~main.d40fe8eb.iframe.bundle.js} | 2 +- docs/vendors~main.45954c4b.iframe.bundle.js | 3 + ...ain.45954c4b.iframe.bundle.js.LICENSE.txt} | 0 ...vendors~main.45954c4b.iframe.bundle.js.map | 1 + docs/vendors~main.6c8aaba1.iframe.bundle.js | 3 - ...vendors~main.6c8aaba1.iframe.bundle.js.map | 1 - ...ain.89611baf088ae39d4894.manager.bundle.js | 2 + ...88ae39d4894.manager.bundle.js.LICENSE.txt} | 0 ...ain.b3d86e7a4108d0e9b0c0.manager.bundle.js | 2 - package-lock.json | 55 ++++++------------- package.json | 7 ++- 45 files changed, 54 insertions(+), 72 deletions(-) create mode 100644 docs/0.757949da.iframe.bundle.js delete mode 100644 docs/0.8f22a40e.iframe.bundle.js create mode 100644 docs/0.d2a32e988746d3b0926c.manager.bundle.js delete mode 100644 docs/0.deb02a8f5cf2c90007d7.manager.bundle.js delete mode 100644 docs/4.70079ffdb35086c74838.manager.bundle.js create mode 100644 docs/4.7fe5979b.iframe.bundle.js rename docs/{4.70079ffdb35086c74838.manager.bundle.js.LICENSE.txt => 4.7fe5979b.iframe.bundle.js.LICENSE.txt} (100%) create mode 100644 docs/4.7fe5979b.iframe.bundle.js.map delete mode 100644 docs/4.97672bdf.iframe.bundle.js delete mode 100644 docs/4.97672bdf.iframe.bundle.js.map create mode 100644 docs/4.fe29191e1b9a7f5bd56d.manager.bundle.js rename docs/{4.97672bdf.iframe.bundle.js.LICENSE.txt => 4.fe29191e1b9a7f5bd56d.manager.bundle.js.LICENSE.txt} (100%) create mode 100644 docs/5.4bf0e0204cdde52880d6.manager.bundle.js delete mode 100644 docs/5.a78cecab6c98d967a115.manager.bundle.js delete mode 100644 docs/5.ae27871a.iframe.bundle.js create mode 100644 docs/5.debe883f.iframe.bundle.js delete mode 100644 docs/6.65191dcd8662a31a69c8.manager.bundle.js delete mode 100644 docs/6.737e778b.iframe.bundle.js delete mode 100644 docs/6.737e778b.iframe.bundle.js.map create mode 100644 docs/6.a1b58f7c.iframe.bundle.js rename docs/{6.65191dcd8662a31a69c8.manager.bundle.js.LICENSE.txt => 6.a1b58f7c.iframe.bundle.js.LICENSE.txt} (100%) create mode 100644 docs/6.a1b58f7c.iframe.bundle.js.map create mode 100644 docs/6.aef2ad40265b39a4ac62.manager.bundle.js rename docs/{6.737e778b.iframe.bundle.js.LICENSE.txt => 6.aef2ad40265b39a4ac62.manager.bundle.js.LICENSE.txt} (100%) rename docs/{7.f52a4ec021635df787f6.manager.bundle.js => 7.99ad32c0d2827d012563.manager.bundle.js} (99%) rename docs/{7.d19ead30.iframe.bundle.js => 7.f1755798.iframe.bundle.js} (98%) delete mode 100644 docs/main.5a5ec758.iframe.bundle.js create mode 100644 docs/main.85a8a73725144dea1b4f.manager.bundle.js create mode 100644 docs/main.c08f6a69.iframe.bundle.js delete mode 100644 docs/main.ecf76ec7b279514afee2.manager.bundle.js rename docs/{runtime~main.024ed10dc6d33032191e.manager.bundle.js => runtime~main.6dbce2f737d5c28a9451.manager.bundle.js} (95%) rename docs/{runtime~main.c6867c04.iframe.bundle.js => runtime~main.d40fe8eb.iframe.bundle.js} (97%) create mode 100644 docs/vendors~main.45954c4b.iframe.bundle.js rename docs/{vendors~main.6c8aaba1.iframe.bundle.js.LICENSE.txt => vendors~main.45954c4b.iframe.bundle.js.LICENSE.txt} (100%) create mode 100644 docs/vendors~main.45954c4b.iframe.bundle.js.map delete mode 100644 docs/vendors~main.6c8aaba1.iframe.bundle.js delete mode 100644 docs/vendors~main.6c8aaba1.iframe.bundle.js.map create mode 100644 docs/vendors~main.89611baf088ae39d4894.manager.bundle.js rename docs/{vendors~main.b3d86e7a4108d0e9b0c0.manager.bundle.js.LICENSE.txt => vendors~main.89611baf088ae39d4894.manager.bundle.js.LICENSE.txt} (100%) delete mode 100644 docs/vendors~main.b3d86e7a4108d0e9b0c0.manager.bundle.js diff --git a/CHANGELOG.md b/CHANGELOG.md index fb388323d..aa555be45 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,10 @@ Reactist follows [semantic versioning](https://semver.org/) and doesn't introduce breaking changes (API-wise) in minor or patch releases. However, the appearance of a component might change in a minor or patch release so keep an eye on redesigns and make sure your app still looks and feels like you expect it. +## v10.0.0-beta.1 + +- [Build] The project now requires node v16.0.0+ and npm v7.0.0+ to install and run. + ## v9.2.0-beta.18 - [Breaking] Component composition changed to use prop `as="…"` instead of `component="…"`. diff --git a/docs/0.757949da.iframe.bundle.js b/docs/0.757949da.iframe.bundle.js new file mode 100644 index 000000000..d149cf181 --- /dev/null +++ b/docs/0.757949da.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1430:function(module,exports){var hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;module.exports=function isEqual(a,b){try{return function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}},1431:function(module,exports,__webpack_require__){"use strict";var warning=function(){};module.exports=warning},655:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltip_WithTooltipPure})),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithTooltip_WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip_WithToolTipState}));__webpack_require__(18),__webpack_require__(99),__webpack_require__(46),__webpack_require__(19);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(4),global_window=__webpack_require__(6),objectWithoutPropertiesLoose=__webpack_require__(567),esm_extends=__webpack_require__(62),inheritsLoose=__webpack_require__(326),react_dom=__webpack_require__(64),ManagerReferenceNodeContext=react.createContext(),ManagerReferenceNodeSetterContext=react.createContext();function Manager(_ref){var children=_ref.children,_React$useState=react.useState(null),referenceNode=_React$useState[0],setReferenceNode=_React$useState[1],hasUnmounted=react.useRef(!1);react.useEffect((function(){return function(){hasUnmounted.current=!0}}),[]);var handleSetReferenceNode=react.useCallback((function(node){hasUnmounted.current||setReferenceNode(node)}),[]);return react.createElement(ManagerReferenceNodeContext.Provider,{value:referenceNode},react.createElement(ManagerReferenceNodeSetterContext.Provider,{value:handleSetReferenceNode},children))}var unwrapArray=function unwrapArray(arg){return Array.isArray(arg)?arg[0]:arg},safeInvoke=function safeInvoke(fn){if("function"==typeof fn){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react.useLayoutEffect:react.useEffect,lib_popper=__webpack_require__(1332),react_fast_compare=__webpack_require__(1430),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(ManagerReferenceNodeContext),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||lib_popper.a)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=__webpack_require__(1431),warning_default=__webpack_require__.n(warning);function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react.useContext(ManagerReferenceNodeSetterContext),refHandler=react.useCallback((function(node){setRef(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react.useEffect((function(){return function(){return setRef(innerRef,null)}})),react.useEffect((function(){warning_default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react_default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},react_popper_tooltip_setRef=function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)},react_popper_tooltip_Tooltip=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,react_popper_tooltip_setRef(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),Object(esm_extends.a)({},props,{style:Object(esm_extends.a)({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),Object(esm_extends.a)({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:Object(esm_extends.a)({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}Object(inheritsLoose.a)(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react_default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react.Component);react_popper_tooltip_Tooltip.contextType=TooltipContext;var react_popper_tooltip_TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=Object(esm_extends.a)({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),Object(esm_extends.a)({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&Object(esm_extends.a)({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}Object(inheritsLoose.a)(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=Object(objectWithoutPropertiesLoose.a)(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react_default.a.createElement(Popper,Object(esm_extends.a)({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react_default.a.createElement(react_popper_tooltip_Tooltip,Object(esm_extends.a)({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react_default.a.createElement(Manager,null,react_default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react.Component);react_popper_tooltip_TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var react_popper_tooltip=react_popper_tooltip_TooltipTrigger,memoizerific=(__webpack_require__(27),__webpack_require__(15),__webpack_require__(7),__webpack_require__(41),__webpack_require__(112),__webpack_require__(209),__webpack_require__(222)),memoizerific_default=__webpack_require__.n(memoizerific),utils=__webpack_require__(177);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var _templateObject,_templateObject2,match=memoizerific_default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=esm.styled.div({position:"absolute",borderStyle:"solid"},(function(_ref){var placement=_ref.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref2){var theme=_ref2.theme,color=_ref2.color,placement=_ref2.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent")}})),Wrapper=esm.styled.div((function(_ref3){return{display:_ref3.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref4){var theme=_ref4.theme,color=_ref4.color;return _ref4.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip_Tooltip=function Tooltip(_ref5){var placement=_ref5.placement,hasChrome=_ref5.hasChrome,children=_ref5.children,arrowProps=_ref5.arrowProps,tooltipRef=_ref5.tooltipRef,arrowRef=_ref5.arrowRef,color=_ref5.color,props=_objectWithoutProperties(_ref5,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react_default.a.createElement(Wrapper,_extends({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react_default.a.createElement(Arrow,_extends({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}Tooltip_Tooltip.displayName="Tooltip",Tooltip_Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var TargetContainer=esm.styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=esm.styled.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltip_WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=WithTooltip_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react_default.a.createElement(react_popper_tooltip,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return react_default.a.createElement(Tooltip_Tooltip,WithTooltip_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return react_default.a.createElement(Container,WithTooltip_extends({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltip_WithTooltipPure.displayName="WithTooltipPure",WithTooltip_WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithTooltip_WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,onChange=_ref4.onVisibilityChange,rest=WithTooltip_objectWithoutProperties(_ref4,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};global_window.document.addEventListener("keydown",hide,!1);var iframes=Array.from(global_window.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){global_window.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react_default.a.createElement(WithTooltip_WithTooltipPure,WithTooltip_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};WithTooltip_WithToolTipState.displayName="WithToolTipState"}}]); \ No newline at end of file diff --git a/docs/0.8f22a40e.iframe.bundle.js b/docs/0.8f22a40e.iframe.bundle.js deleted file mode 100644 index ee4ee1e87..000000000 --- a/docs/0.8f22a40e.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1610:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltip_WithTooltipPure})),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithTooltip_WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip_WithToolTipState}));__webpack_require__(712),__webpack_require__(1019),__webpack_require__(334),__webpack_require__(713);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(4),global_window=__webpack_require__(6);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react.useLayoutEffect:react.useEffect;function getBoundingClientRect(element){var rect=element.getBoundingClientRect();return{width:rect.width,height:rect.height,top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,x:rect.left,y:rect.top}}function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement),isOffsetParentAnElement=isHTMLElement(offsetParent),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){for(var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}var enums_top="top",bottom="bottom",right="right",left="left",basePlacements=[enums_top,bottom,right,left],variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-start",placement+"-end"])}),[]),enums_placements=[].concat(basePlacements,["auto"]).reduce((function(acc,placement){return acc.concat([placement,placement+"-start",placement+"-end"])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(modifiers){var map=new Map,visited=new Set,result=[];return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(options){cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options});effectCleanupFns.push(cleanupFn||function noopFn(){})}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?"x":"y"}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case"start":offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case"end":offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}var modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets_popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}},math_max=Math.max,math_min=Math.min,round=Math.round,unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,_ref3=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:round(round(x*dpr)/dpr)||0,y:round(round(y*dpr)/dpr)||0}}(offsets):"function"==typeof roundOffsets?roundOffsets(offsets):offsets,_ref3$x=_ref3.x,x=void 0===_ref3$x?0:_ref3$x,_ref3$y=_ref3.y,y=void 0===_ref3$y?0:_ref3$y,hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&(heightProp="scrollHeight",widthProp="scrollWidth"),offsetParent=offsetParent,placement===enums_top&&(sideY=bottom,y-=offsetParent[heightProp]-popperRect.height,y*=gpuAcceleration?1:-1),placement===left&&(sideX=right,x-=offsetParent[widthProp]-popperRect.width,x*=gpuAcceleration?1:-1)}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides);return gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<2?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return getOppositeVariationPlacement_hash[matched]}))}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return"viewport"===clippingParent?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isHTMLElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?"clippingParents":_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?"viewport":_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?"popper":_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext="popper"===elementContext?"reference":"popper",referenceElement=state.elements.reference,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(referenceElement),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect="popper"===elementContext?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if("popper"===elementContext&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function within(min,value,max){return math_max(min,math_min(value,max))}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some((function(side){return overflow[side]>=0}))}var popper_createPopper=popperGenerator({defaultModifiers:[eventListeners,modifiers_popperOffsets,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(_ref4){var state=_ref4.state,options=_ref4.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=void 0===_options$gpuAccelerat||_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=void 0===_options$adaptive||_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=void 0===_options$roundOffsets||_options$roundOffsets,commonStyles={placement:getBasePlacement(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration:gpuAcceleration};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive:adaptive,roundOffsets:roundOffsets})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)})))}))},effect:function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style,property){return style[property]="",style}),{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset_offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=enums_placements.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}},{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if("auto"===getBasePlacement(placement))return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement){return acc.concat("auto"===getBasePlacement(placement)?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement){return getVariation(placement)===variation})):basePlacements,allowedPlacements=placements.filter((function(placement){return allowedAutoPlacements.indexOf(placement)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,data={x:0,y:0};if(popperOffsets){if(checkMainAxis||checkAltAxis){var mainSide="y"===mainAxis?enums_top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min=popperOffsets[mainAxis]+overflow[mainSide],max=popperOffsets[mainAxis]-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen="start"===variation?referenceRect[len]:popperRect[len],maxLen="start"===variation?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-tetherOffsetValue:minLen-arrowLen-arrowPaddingMin-tetherOffsetValue,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+tetherOffsetValue:maxLen+arrowLen+arrowPaddingMax+tetherOffsetValue,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=state.modifiersData.offset?state.modifiersData.offset[state.placement][mainAxis]:0,tetherMin=popperOffsets[mainAxis]+minOffset-offsetModifierValue-clientOffset,tetherMax=popperOffsets[mainAxis]+maxOffset-offsetModifierValue;if(checkMainAxis){var preventedOffset=within(tether?math_min(min,tetherMin):min,offset,tether?math_max(max,tetherMax):max);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _mainSide="x"===mainAxis?enums_top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets[altAxis],_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],_preventedOffset=within(tether?math_min(_min,tetherMin):_min,_offset,tether?math_max(_max,tetherMax):_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}}state.modifiersData[name]=data}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?enums_top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function arrow_effect(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide_hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),react_fast_compare=__webpack_require__(3060),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(ManagerReferenceNodeContext),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||popper_createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=__webpack_require__(3061),warning_default=__webpack_require__.n(warning);function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react.useContext(ManagerReferenceNodeSetterContext),refHandler=react.useCallback((function(node){setRef(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react.useEffect((function(){return function(){return setRef(innerRef,null)}})),react.useEffect((function(){warning_default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react_default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},react_popper_tooltip_setRef=function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)},react_popper_tooltip_Tooltip=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,react_popper_tooltip_setRef(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),_extends({},props,{style:_extends({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:_extends({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}_inheritsLoose(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react_default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react.Component);react_popper_tooltip_Tooltip.contextType=TooltipContext;var react_popper_tooltip_TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=_extends({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&_extends({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}_inheritsLoose(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react_default.a.createElement(Popper,_extends({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react_default.a.createElement(react_popper_tooltip_Tooltip,_extends({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react_default.a.createElement(Manager,null,react_default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react.Component);react_popper_tooltip_TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var react_popper_tooltip=react_popper_tooltip_TooltipTrigger,memoizerific=(__webpack_require__(81),__webpack_require__(94),__webpack_require__(64),__webpack_require__(392),__webpack_require__(1013),__webpack_require__(1605),__webpack_require__(393)),memoizerific_default=__webpack_require__.n(memoizerific),utils=__webpack_require__(263);function Tooltip_extends(){return(Tooltip_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var _templateObject,_templateObject2,match=memoizerific_default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=esm.styled.div({position:"absolute",borderStyle:"solid"},(function(_ref){var placement=_ref.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref2){var theme=_ref2.theme,color=_ref2.color,placement=_ref2.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent")}})),Wrapper=esm.styled.div((function(_ref3){return{display:_ref3.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref4){var theme=_ref4.theme,color=_ref4.color;return _ref4.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip_Tooltip=function Tooltip(_ref5){var placement=_ref5.placement,hasChrome=_ref5.hasChrome,children=_ref5.children,arrowProps=_ref5.arrowProps,tooltipRef=_ref5.tooltipRef,arrowRef=_ref5.arrowRef,color=_ref5.color,props=_objectWithoutProperties(_ref5,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react_default.a.createElement(Wrapper,Tooltip_extends({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react_default.a.createElement(Arrow,Tooltip_extends({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}Tooltip_Tooltip.displayName="Tooltip",Tooltip_Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var TargetContainer=esm.styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=esm.styled.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltip_WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=WithTooltip_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react_default.a.createElement(react_popper_tooltip,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return react_default.a.createElement(Tooltip_Tooltip,WithTooltip_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return react_default.a.createElement(Container,WithTooltip_extends({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltip_WithTooltipPure.displayName="WithTooltipPure",WithTooltip_WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithTooltip_WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,onChange=_ref4.onVisibilityChange,rest=WithTooltip_objectWithoutProperties(_ref4,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};global_window.document.addEventListener("keydown",hide,!1);var iframes=Array.from(global_window.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){global_window.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react_default.a.createElement(WithTooltip_WithTooltipPure,WithTooltip_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};WithTooltip_WithToolTipState.displayName="WithToolTipState"},3060:function(module,exports){var hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;module.exports=function isEqual(a,b){try{return function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}},3061:function(module,exports,__webpack_require__){"use strict";var warning=function(){};module.exports=warning}}]); \ No newline at end of file diff --git a/docs/0.d2a32e988746d3b0926c.manager.bundle.js b/docs/0.d2a32e988746d3b0926c.manager.bundle.js new file mode 100644 index 000000000..62f38caf6 --- /dev/null +++ b/docs/0.d2a32e988746d3b0926c.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{2288:function(module,exports){var hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;module.exports=function isEqual(a,b){try{return function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}},340:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltip_WithTooltipPure})),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithTooltip_WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip_WithToolTipState}));__webpack_require__(35),__webpack_require__(84),__webpack_require__(26),__webpack_require__(37);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(1),global_window=__webpack_require__(3),objectWithoutPropertiesLoose=__webpack_require__(41),esm_extends=__webpack_require__(4),inheritsLoose=__webpack_require__(92),react_dom=__webpack_require__(315),ManagerReferenceNodeContext=react.createContext(),ManagerReferenceNodeSetterContext=react.createContext();function Manager(_ref){var children=_ref.children,_React$useState=react.useState(null),referenceNode=_React$useState[0],setReferenceNode=_React$useState[1],hasUnmounted=react.useRef(!1);react.useEffect((function(){return function(){hasUnmounted.current=!0}}),[]);var handleSetReferenceNode=react.useCallback((function(node){hasUnmounted.current||setReferenceNode(node)}),[]);return react.createElement(ManagerReferenceNodeContext.Provider,{value:referenceNode},react.createElement(ManagerReferenceNodeSetterContext.Provider,{value:handleSetReferenceNode},children))}var unwrapArray=function unwrapArray(arg){return Array.isArray(arg)?arg[0]:arg},safeInvoke=function safeInvoke(fn){if("function"==typeof fn){for(var _len=arguments.length,args=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react.useLayoutEffect:react.useEffect;function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}var round=Math.round;function getBoundingClientRect(element,includeScale){void 0===includeScale&&(includeScale=!1);var rect=element.getBoundingClientRect(),scaleX=1,scaleY=1;return isHTMLElement(element)&&includeScale&&(scaleX=rect.width/element.offsetWidth||1,scaleY=rect.height/element.offsetHeight||1),{width:round(rect.width/scaleX),height:round(rect.height/scaleY),top:round(rect.top/scaleY),right:round(rect.right/scaleX),bottom:round(rect.bottom/scaleY),left:round(rect.left/scaleX),x:round(rect.left/scaleX),y:round(rect.top/scaleY)}}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var isOffsetParentAnElement=isHTMLElement(offsetParent),offsetParentIsScaled=isHTMLElement(offsetParent)&&function isElementScaled(element){var rect=element.getBoundingClientRect(),scaleX=rect.width/element.offsetWidth||1,scaleY=rect.height/element.offsetHeight||1;return 1!==scaleX||1!==scaleY}(offsetParent),documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement,offsetParentIsScaled),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent,!0)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox");if(-1!==navigator.userAgent.indexOf("Trident")&&isHTMLElement(element)&&"fixed"===getComputedStyle(element).position)return null;for(var currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}var enums_top="top",bottom="bottom",right="right",left="left",basePlacements=[enums_top,bottom,right,left],variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-start",placement+"-end"])}),[]),enums_placements=[].concat(basePlacements,["auto"]).reduce((function(acc,placement){return acc.concat([placement,placement+"-start",placement+"-end"])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(modifiers){var map=new Map,visited=new Set,result=[];return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(options){cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options});effectCleanupFns.push(cleanupFn||function noopFn(){})}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?"x":"y"}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case"start":offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case"end":offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}var modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets_popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}},math_max=Math.max,math_min=Math.min,math_round=Math.round,unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,_ref3=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:math_round(math_round(x*dpr)/dpr)||0,y:math_round(math_round(y*dpr)/dpr)||0}}(offsets):"function"==typeof roundOffsets?roundOffsets(offsets):offsets,_ref3$x=_ref3.x,x=void 0===_ref3$x?0:_ref3$x,_ref3$y=_ref3.y,y=void 0===_ref3$y?0:_ref3$y,hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&(heightProp="scrollHeight",widthProp="scrollWidth"),offsetParent=offsetParent,placement===enums_top&&(sideY=bottom,y-=offsetParent[heightProp]-popperRect.height,y*=gpuAcceleration?1:-1),placement===left&&(sideX=right,x-=offsetParent[widthProp]-popperRect.width,x*=gpuAcceleration?1:-1)}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides);return gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<2?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return getOppositeVariationPlacement_hash[matched]}))}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return"viewport"===clippingParent?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isHTMLElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?"clippingParents":_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?"viewport":_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?"popper":_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext="popper"===elementContext?"reference":"popper",referenceElement=state.elements.reference,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(referenceElement),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect="popper"===elementContext?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if("popper"===elementContext&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function within(min,value,max){return math_max(min,math_min(value,max))}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some((function(side){return overflow[side]>=0}))}var popper_createPopper=popperGenerator({defaultModifiers:[eventListeners,modifiers_popperOffsets,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(_ref4){var state=_ref4.state,options=_ref4.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=void 0===_options$gpuAccelerat||_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=void 0===_options$adaptive||_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=void 0===_options$roundOffsets||_options$roundOffsets,commonStyles={placement:getBasePlacement(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration:gpuAcceleration};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive:adaptive,roundOffsets:roundOffsets})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)})))}))},effect:function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style,property){return style[property]="",style}),{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset_offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=enums_placements.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}},{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if("auto"===getBasePlacement(placement))return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement){return acc.concat("auto"===getBasePlacement(placement)?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement){return getVariation(placement)===variation})):basePlacements,allowedPlacements=placements.filter((function(placement){return allowedAutoPlacements.indexOf(placement)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,data={x:0,y:0};if(popperOffsets){if(checkMainAxis||checkAltAxis){var mainSide="y"===mainAxis?enums_top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min=popperOffsets[mainAxis]+overflow[mainSide],max=popperOffsets[mainAxis]-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen="start"===variation?referenceRect[len]:popperRect[len],maxLen="start"===variation?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-tetherOffsetValue:minLen-arrowLen-arrowPaddingMin-tetherOffsetValue,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+tetherOffsetValue:maxLen+arrowLen+arrowPaddingMax+tetherOffsetValue,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=state.modifiersData.offset?state.modifiersData.offset[state.placement][mainAxis]:0,tetherMin=popperOffsets[mainAxis]+minOffset-offsetModifierValue-clientOffset,tetherMax=popperOffsets[mainAxis]+maxOffset-offsetModifierValue;if(checkMainAxis){var preventedOffset=within(tether?math_min(min,tetherMin):min,offset,tether?math_max(max,tetherMax):max);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _mainSide="x"===mainAxis?enums_top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets[altAxis],_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],_preventedOffset=within(tether?math_min(_min,tetherMin):_min,_offset,tether?math_max(_max,tetherMax):_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}}state.modifiersData[name]=data}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?enums_top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function arrow_effect(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide_hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),react_fast_compare=__webpack_require__(2288),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(ManagerReferenceNodeContext),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||popper_createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=__webpack_require__(1234),warning_default=__webpack_require__.n(warning);function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react.useContext(ManagerReferenceNodeSetterContext),refHandler=react.useCallback((function(node){setRef(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react.useEffect((function(){return function(){return setRef(innerRef,null)}})),react.useEffect((function(){warning_default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react_default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},react_popper_tooltip_setRef=function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)},react_popper_tooltip_Tooltip=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,react_popper_tooltip_setRef(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),Object(esm_extends.a)({},props,{style:Object(esm_extends.a)({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),Object(esm_extends.a)({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:Object(esm_extends.a)({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}Object(inheritsLoose.a)(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react_default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react.Component);react_popper_tooltip_Tooltip.contextType=TooltipContext;var react_popper_tooltip_TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=Object(esm_extends.a)({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),Object(esm_extends.a)({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&Object(esm_extends.a)({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}Object(inheritsLoose.a)(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=Object(objectWithoutPropertiesLoose.a)(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react_default.a.createElement(Popper,Object(esm_extends.a)({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react_default.a.createElement(react_popper_tooltip_Tooltip,Object(esm_extends.a)({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react_default.a.createElement(Manager,null,react_default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react.Component);react_popper_tooltip_TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var react_popper_tooltip=react_popper_tooltip_TooltipTrigger,memoizerific=(__webpack_require__(12),__webpack_require__(25),__webpack_require__(15),__webpack_require__(19),__webpack_require__(74),__webpack_require__(145),__webpack_require__(22)),memoizerific_default=__webpack_require__.n(memoizerific),utils=__webpack_require__(163);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var _templateObject,_templateObject2,match=memoizerific_default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=esm.styled.div({position:"absolute",borderStyle:"solid"},(function(_ref){var placement=_ref.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref2){var theme=_ref2.theme,color=_ref2.color,placement=_ref2.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent")}})),Wrapper=esm.styled.div((function(_ref3){return{display:_ref3.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref4){var theme=_ref4.theme,color=_ref4.color;return _ref4.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip_Tooltip=function Tooltip(_ref5){var placement=_ref5.placement,hasChrome=_ref5.hasChrome,children=_ref5.children,arrowProps=_ref5.arrowProps,tooltipRef=_ref5.tooltipRef,arrowRef=_ref5.arrowRef,color=_ref5.color,props=_objectWithoutProperties(_ref5,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react_default.a.createElement(Wrapper,_extends({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react_default.a.createElement(Arrow,_extends({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}Tooltip_Tooltip.displayName="Tooltip",Tooltip_Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var TargetContainer=esm.styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=esm.styled.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltip_WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=WithTooltip_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react_default.a.createElement(react_popper_tooltip,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return react_default.a.createElement(Tooltip_Tooltip,WithTooltip_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return react_default.a.createElement(Container,WithTooltip_extends({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltip_WithTooltipPure.displayName="WithTooltipPure",WithTooltip_WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithTooltip_WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,onChange=_ref4.onVisibilityChange,rest=WithTooltip_objectWithoutProperties(_ref4,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};global_window.document.addEventListener("keydown",hide,!1);var iframes=Array.from(global_window.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){global_window.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react_default.a.createElement(WithTooltip_WithTooltipPure,WithTooltip_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};WithTooltip_WithToolTipState.displayName="WithToolTipState"}}]); \ No newline at end of file diff --git a/docs/0.deb02a8f5cf2c90007d7.manager.bundle.js b/docs/0.deb02a8f5cf2c90007d7.manager.bundle.js deleted file mode 100644 index 2f5952bbb..000000000 --- a/docs/0.deb02a8f5cf2c90007d7.manager.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[0],{1237:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"WithTooltipPure",(function(){return WithTooltip_WithTooltipPure})),__webpack_require__.d(__webpack_exports__,"WithToolTipState",(function(){return WithTooltip_WithToolTipState})),__webpack_require__.d(__webpack_exports__,"WithTooltip",(function(){return WithTooltip_WithToolTipState}));__webpack_require__(166),__webpack_require__(188),__webpack_require__(37),__webpack_require__(167);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(1),global_window=__webpack_require__(3);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i1?_len-1:0),_key=1;_key<_len;_key++)args[_key-1]=arguments[_key];return fn.apply(void 0,args)}},setRef=function setRef(ref,node){if("function"==typeof ref)return safeInvoke(ref,node);null!=ref&&(ref.current=node)},fromEntries=function fromEntries(entries){return entries.reduce((function(acc,_ref){var key=_ref[0],value=_ref[1];return acc[key]=value,acc}),{})},useIsomorphicLayoutEffect="undefined"!=typeof window&&window.document&&window.document.createElement?react.useLayoutEffect:react.useEffect;function getBoundingClientRect(element){var rect=element.getBoundingClientRect();return{width:rect.width,height:rect.height,top:rect.top,right:rect.right,bottom:rect.bottom,left:rect.left,x:rect.left,y:rect.top}}function getWindow(node){if(null==node)return window;if("[object Window]"!==node.toString()){var ownerDocument=node.ownerDocument;return ownerDocument&&ownerDocument.defaultView||window}return node}function getWindowScroll(node){var win=getWindow(node);return{scrollLeft:win.pageXOffset,scrollTop:win.pageYOffset}}function isElement(node){return node instanceof getWindow(node).Element||node instanceof Element}function isHTMLElement(node){return node instanceof getWindow(node).HTMLElement||node instanceof HTMLElement}function isShadowRoot(node){return"undefined"!=typeof ShadowRoot&&(node instanceof getWindow(node).ShadowRoot||node instanceof ShadowRoot)}function getNodeName(element){return element?(element.nodeName||"").toLowerCase():null}function getDocumentElement(element){return((isElement(element)?element.ownerDocument:element.document)||window.document).documentElement}function getWindowScrollBarX(element){return getBoundingClientRect(getDocumentElement(element)).left+getWindowScroll(element).scrollLeft}function getComputedStyle(element){return getWindow(element).getComputedStyle(element)}function isScrollParent(element){var _getComputedStyle=getComputedStyle(element),overflow=_getComputedStyle.overflow,overflowX=_getComputedStyle.overflowX,overflowY=_getComputedStyle.overflowY;return/auto|scroll|overlay|hidden/.test(overflow+overflowY+overflowX)}function getCompositeRect(elementOrVirtualElement,offsetParent,isFixed){void 0===isFixed&&(isFixed=!1);var documentElement=getDocumentElement(offsetParent),rect=getBoundingClientRect(elementOrVirtualElement),isOffsetParentAnElement=isHTMLElement(offsetParent),scroll={scrollLeft:0,scrollTop:0},offsets={x:0,y:0};return(isOffsetParentAnElement||!isOffsetParentAnElement&&!isFixed)&&(("body"!==getNodeName(offsetParent)||isScrollParent(documentElement))&&(scroll=function getNodeScroll(node){return node!==getWindow(node)&&isHTMLElement(node)?function getHTMLElementScroll(element){return{scrollLeft:element.scrollLeft,scrollTop:element.scrollTop}}(node):getWindowScroll(node)}(offsetParent)),isHTMLElement(offsetParent)?((offsets=getBoundingClientRect(offsetParent)).x+=offsetParent.clientLeft,offsets.y+=offsetParent.clientTop):documentElement&&(offsets.x=getWindowScrollBarX(documentElement))),{x:rect.left+scroll.scrollLeft-offsets.x,y:rect.top+scroll.scrollTop-offsets.y,width:rect.width,height:rect.height}}function getLayoutRect(element){var clientRect=getBoundingClientRect(element),width=element.offsetWidth,height=element.offsetHeight;return Math.abs(clientRect.width-width)<=1&&(width=clientRect.width),Math.abs(clientRect.height-height)<=1&&(height=clientRect.height),{x:element.offsetLeft,y:element.offsetTop,width:width,height:height}}function getParentNode(element){return"html"===getNodeName(element)?element:element.assignedSlot||element.parentNode||(isShadowRoot(element)?element.host:null)||getDocumentElement(element)}function listScrollParents(element,list){var _element$ownerDocumen;void 0===list&&(list=[]);var scrollParent=function getScrollParent(node){return["html","body","#document"].indexOf(getNodeName(node))>=0?node.ownerDocument.body:isHTMLElement(node)&&isScrollParent(node)?node:getScrollParent(getParentNode(node))}(element),isBody=scrollParent===(null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body),win=getWindow(scrollParent),target=isBody?[win].concat(win.visualViewport||[],isScrollParent(scrollParent)?scrollParent:[]):scrollParent,updatedList=list.concat(target);return isBody?updatedList:updatedList.concat(listScrollParents(getParentNode(target)))}function isTableElement(element){return["table","td","th"].indexOf(getNodeName(element))>=0}function getTrueOffsetParent(element){return isHTMLElement(element)&&"fixed"!==getComputedStyle(element).position?element.offsetParent:null}function getOffsetParent(element){for(var window=getWindow(element),offsetParent=getTrueOffsetParent(element);offsetParent&&isTableElement(offsetParent)&&"static"===getComputedStyle(offsetParent).position;)offsetParent=getTrueOffsetParent(offsetParent);return offsetParent&&("html"===getNodeName(offsetParent)||"body"===getNodeName(offsetParent)&&"static"===getComputedStyle(offsetParent).position)?window:offsetParent||function getContainingBlock(element){for(var isFirefox=-1!==navigator.userAgent.toLowerCase().indexOf("firefox"),currentNode=getParentNode(element);isHTMLElement(currentNode)&&["html","body"].indexOf(getNodeName(currentNode))<0;){var css=getComputedStyle(currentNode);if("none"!==css.transform||"none"!==css.perspective||"paint"===css.contain||-1!==["transform","perspective"].indexOf(css.willChange)||isFirefox&&"filter"===css.willChange||isFirefox&&css.filter&&"none"!==css.filter)return currentNode;currentNode=currentNode.parentNode}return null}(element)||window}var enums_top="top",bottom="bottom",right="right",left="left",basePlacements=[enums_top,bottom,right,left],variationPlacements=basePlacements.reduce((function(acc,placement){return acc.concat([placement+"-start",placement+"-end"])}),[]),enums_placements=[].concat(basePlacements,["auto"]).reduce((function(acc,placement){return acc.concat([placement,placement+"-start",placement+"-end"])}),[]),modifierPhases=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function order(modifiers){var map=new Map,visited=new Set,result=[];return modifiers.forEach((function(modifier){map.set(modifier.name,modifier)})),modifiers.forEach((function(modifier){visited.has(modifier.name)||function sort(modifier){visited.add(modifier.name),[].concat(modifier.requires||[],modifier.requiresIfExists||[]).forEach((function(dep){if(!visited.has(dep)){var depModifier=map.get(dep);depModifier&&sort(depModifier)}})),result.push(modifier)}(modifier)})),result}var DEFAULT_OPTIONS={placement:"bottom",modifiers:[],strategy:"absolute"};function areValidElements(){for(var _len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return!args.some((function(element){return!(element&&"function"==typeof element.getBoundingClientRect)}))}function popperGenerator(generatorOptions){void 0===generatorOptions&&(generatorOptions={});var _generatorOptions=generatorOptions,_generatorOptions$def=_generatorOptions.defaultModifiers,defaultModifiers=void 0===_generatorOptions$def?[]:_generatorOptions$def,_generatorOptions$def2=_generatorOptions.defaultOptions,defaultOptions=void 0===_generatorOptions$def2?DEFAULT_OPTIONS:_generatorOptions$def2;return function createPopper(reference,popper,options){void 0===options&&(options=defaultOptions);var fn,pending,state={placement:"bottom",orderedModifiers:[],options:Object.assign({},DEFAULT_OPTIONS,defaultOptions),modifiersData:{},elements:{reference:reference,popper:popper},attributes:{},styles:{}},effectCleanupFns=[],isDestroyed=!1,instance={state:state,setOptions:function setOptions(options){cleanupModifierEffects(),state.options=Object.assign({},defaultOptions,state.options,options),state.scrollParents={reference:isElement(reference)?listScrollParents(reference):reference.contextElement?listScrollParents(reference.contextElement):[],popper:listScrollParents(popper)};var orderedModifiers=function orderModifiers(modifiers){var orderedModifiers=order(modifiers);return modifierPhases.reduce((function(acc,phase){return acc.concat(orderedModifiers.filter((function(modifier){return modifier.phase===phase})))}),[])}(function mergeByName(modifiers){var merged=modifiers.reduce((function(merged,current){var existing=merged[current.name];return merged[current.name]=existing?Object.assign({},existing,current,{options:Object.assign({},existing.options,current.options),data:Object.assign({},existing.data,current.data)}):current,merged}),{});return Object.keys(merged).map((function(key){return merged[key]}))}([].concat(defaultModifiers,state.options.modifiers)));return state.orderedModifiers=orderedModifiers.filter((function(m){return m.enabled})),function runModifierEffects(){state.orderedModifiers.forEach((function(_ref3){var name=_ref3.name,_ref3$options=_ref3.options,options=void 0===_ref3$options?{}:_ref3$options,effect=_ref3.effect;if("function"==typeof effect){var cleanupFn=effect({state:state,name:name,instance:instance,options:options});effectCleanupFns.push(cleanupFn||function noopFn(){})}}))}(),instance.update()},forceUpdate:function forceUpdate(){if(!isDestroyed){var _state$elements=state.elements,reference=_state$elements.reference,popper=_state$elements.popper;if(areValidElements(reference,popper)){state.rects={reference:getCompositeRect(reference,getOffsetParent(popper),"fixed"===state.options.strategy),popper:getLayoutRect(popper)},state.reset=!1,state.placement=state.options.placement,state.orderedModifiers.forEach((function(modifier){return state.modifiersData[modifier.name]=Object.assign({},modifier.data)}));for(var index=0;index=0?"x":"y"}function computeOffsets(_ref){var offsets,reference=_ref.reference,element=_ref.element,placement=_ref.placement,basePlacement=placement?getBasePlacement(placement):null,variation=placement?getVariation(placement):null,commonX=reference.x+reference.width/2-element.width/2,commonY=reference.y+reference.height/2-element.height/2;switch(basePlacement){case enums_top:offsets={x:commonX,y:reference.y-element.height};break;case bottom:offsets={x:commonX,y:reference.y+reference.height};break;case right:offsets={x:reference.x+reference.width,y:commonY};break;case left:offsets={x:reference.x-element.width,y:commonY};break;default:offsets={x:reference.x,y:reference.y}}var mainAxis=basePlacement?getMainAxisFromPlacement(basePlacement):null;if(null!=mainAxis){var len="y"===mainAxis?"height":"width";switch(variation){case"start":offsets[mainAxis]=offsets[mainAxis]-(reference[len]/2-element[len]/2);break;case"end":offsets[mainAxis]=offsets[mainAxis]+(reference[len]/2-element[len]/2)}}return offsets}var modifiers_popperOffsets={name:"popperOffsets",enabled:!0,phase:"read",fn:function popperOffsets_popperOffsets(_ref){var state=_ref.state,name=_ref.name;state.modifiersData[name]=computeOffsets({reference:state.rects.reference,element:state.rects.popper,strategy:"absolute",placement:state.placement})},data:{}},math_max=Math.max,math_min=Math.min,round=Math.round,unsetSides={top:"auto",right:"auto",bottom:"auto",left:"auto"};function mapToStyles(_ref2){var _Object$assign2,popper=_ref2.popper,popperRect=_ref2.popperRect,placement=_ref2.placement,offsets=_ref2.offsets,position=_ref2.position,gpuAcceleration=_ref2.gpuAcceleration,adaptive=_ref2.adaptive,roundOffsets=_ref2.roundOffsets,_ref3=!0===roundOffsets?function roundOffsetsByDPR(_ref){var x=_ref.x,y=_ref.y,dpr=window.devicePixelRatio||1;return{x:round(round(x*dpr)/dpr)||0,y:round(round(y*dpr)/dpr)||0}}(offsets):"function"==typeof roundOffsets?roundOffsets(offsets):offsets,_ref3$x=_ref3.x,x=void 0===_ref3$x?0:_ref3$x,_ref3$y=_ref3.y,y=void 0===_ref3$y?0:_ref3$y,hasX=offsets.hasOwnProperty("x"),hasY=offsets.hasOwnProperty("y"),sideX=left,sideY=enums_top,win=window;if(adaptive){var offsetParent=getOffsetParent(popper),heightProp="clientHeight",widthProp="clientWidth";offsetParent===getWindow(popper)&&"static"!==getComputedStyle(offsetParent=getDocumentElement(popper)).position&&(heightProp="scrollHeight",widthProp="scrollWidth"),offsetParent=offsetParent,placement===enums_top&&(sideY=bottom,y-=offsetParent[heightProp]-popperRect.height,y*=gpuAcceleration?1:-1),placement===left&&(sideX=right,x-=offsetParent[widthProp]-popperRect.width,x*=gpuAcceleration?1:-1)}var _Object$assign,commonStyles=Object.assign({position:position},adaptive&&unsetSides);return gpuAcceleration?Object.assign({},commonStyles,((_Object$assign={})[sideY]=hasY?"0":"",_Object$assign[sideX]=hasX?"0":"",_Object$assign.transform=(win.devicePixelRatio||1)<2?"translate("+x+"px, "+y+"px)":"translate3d("+x+"px, "+y+"px, 0)",_Object$assign)):Object.assign({},commonStyles,((_Object$assign2={})[sideY]=hasY?y+"px":"",_Object$assign2[sideX]=hasX?x+"px":"",_Object$assign2.transform="",_Object$assign2))}var hash={left:"right",right:"left",bottom:"top",top:"bottom"};function getOppositePlacement(placement){return placement.replace(/left|right|bottom|top/g,(function(matched){return hash[matched]}))}var getOppositeVariationPlacement_hash={start:"end",end:"start"};function getOppositeVariationPlacement(placement){return placement.replace(/start|end/g,(function(matched){return getOppositeVariationPlacement_hash[matched]}))}function contains(parent,child){var rootNode=child.getRootNode&&child.getRootNode();if(parent.contains(child))return!0;if(rootNode&&isShadowRoot(rootNode)){var next=child;do{if(next&&parent.isSameNode(next))return!0;next=next.parentNode||next.host}while(next)}return!1}function rectToClientRect(rect){return Object.assign({},rect,{left:rect.x,top:rect.y,right:rect.x+rect.width,bottom:rect.y+rect.height})}function getClientRectFromMixedType(element,clippingParent){return"viewport"===clippingParent?rectToClientRect(function getViewportRect(element){var win=getWindow(element),html=getDocumentElement(element),visualViewport=win.visualViewport,width=html.clientWidth,height=html.clientHeight,x=0,y=0;return visualViewport&&(width=visualViewport.width,height=visualViewport.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(x=visualViewport.offsetLeft,y=visualViewport.offsetTop)),{width:width,height:height,x:x+getWindowScrollBarX(element),y:y}}(element)):isHTMLElement(clippingParent)?function getInnerBoundingClientRect(element){var rect=getBoundingClientRect(element);return rect.top=rect.top+element.clientTop,rect.left=rect.left+element.clientLeft,rect.bottom=rect.top+element.clientHeight,rect.right=rect.left+element.clientWidth,rect.width=element.clientWidth,rect.height=element.clientHeight,rect.x=rect.left,rect.y=rect.top,rect}(clippingParent):rectToClientRect(function getDocumentRect(element){var _element$ownerDocumen,html=getDocumentElement(element),winScroll=getWindowScroll(element),body=null==(_element$ownerDocumen=element.ownerDocument)?void 0:_element$ownerDocumen.body,width=math_max(html.scrollWidth,html.clientWidth,body?body.scrollWidth:0,body?body.clientWidth:0),height=math_max(html.scrollHeight,html.clientHeight,body?body.scrollHeight:0,body?body.clientHeight:0),x=-winScroll.scrollLeft+getWindowScrollBarX(element),y=-winScroll.scrollTop;return"rtl"===getComputedStyle(body||html).direction&&(x+=math_max(html.clientWidth,body?body.clientWidth:0)-width),{width:width,height:height,x:x,y:y}}(getDocumentElement(element)))}function getClippingRect(element,boundary,rootBoundary){var mainClippingParents="clippingParents"===boundary?function getClippingParents(element){var clippingParents=listScrollParents(getParentNode(element)),clipperElement=["absolute","fixed"].indexOf(getComputedStyle(element).position)>=0&&isHTMLElement(element)?getOffsetParent(element):element;return isElement(clipperElement)?clippingParents.filter((function(clippingParent){return isElement(clippingParent)&&contains(clippingParent,clipperElement)&&"body"!==getNodeName(clippingParent)})):[]}(element):[].concat(boundary),clippingParents=[].concat(mainClippingParents,[rootBoundary]),firstClippingParent=clippingParents[0],clippingRect=clippingParents.reduce((function(accRect,clippingParent){var rect=getClientRectFromMixedType(element,clippingParent);return accRect.top=math_max(rect.top,accRect.top),accRect.right=math_min(rect.right,accRect.right),accRect.bottom=math_min(rect.bottom,accRect.bottom),accRect.left=math_max(rect.left,accRect.left),accRect}),getClientRectFromMixedType(element,firstClippingParent));return clippingRect.width=clippingRect.right-clippingRect.left,clippingRect.height=clippingRect.bottom-clippingRect.top,clippingRect.x=clippingRect.left,clippingRect.y=clippingRect.top,clippingRect}function mergePaddingObject(paddingObject){return Object.assign({},{top:0,right:0,bottom:0,left:0},paddingObject)}function expandToHashMap(value,keys){return keys.reduce((function(hashMap,key){return hashMap[key]=value,hashMap}),{})}function detectOverflow(state,options){void 0===options&&(options={});var _options=options,_options$placement=_options.placement,placement=void 0===_options$placement?state.placement:_options$placement,_options$boundary=_options.boundary,boundary=void 0===_options$boundary?"clippingParents":_options$boundary,_options$rootBoundary=_options.rootBoundary,rootBoundary=void 0===_options$rootBoundary?"viewport":_options$rootBoundary,_options$elementConte=_options.elementContext,elementContext=void 0===_options$elementConte?"popper":_options$elementConte,_options$altBoundary=_options.altBoundary,altBoundary=void 0!==_options$altBoundary&&_options$altBoundary,_options$padding=_options.padding,padding=void 0===_options$padding?0:_options$padding,paddingObject=mergePaddingObject("number"!=typeof padding?padding:expandToHashMap(padding,basePlacements)),altContext="popper"===elementContext?"reference":"popper",referenceElement=state.elements.reference,popperRect=state.rects.popper,element=state.elements[altBoundary?altContext:elementContext],clippingClientRect=getClippingRect(isElement(element)?element:element.contextElement||getDocumentElement(state.elements.popper),boundary,rootBoundary),referenceClientRect=getBoundingClientRect(referenceElement),popperOffsets=computeOffsets({reference:referenceClientRect,element:popperRect,strategy:"absolute",placement:placement}),popperClientRect=rectToClientRect(Object.assign({},popperRect,popperOffsets)),elementClientRect="popper"===elementContext?popperClientRect:referenceClientRect,overflowOffsets={top:clippingClientRect.top-elementClientRect.top+paddingObject.top,bottom:elementClientRect.bottom-clippingClientRect.bottom+paddingObject.bottom,left:clippingClientRect.left-elementClientRect.left+paddingObject.left,right:elementClientRect.right-clippingClientRect.right+paddingObject.right},offsetData=state.modifiersData.offset;if("popper"===elementContext&&offsetData){var offset=offsetData[placement];Object.keys(overflowOffsets).forEach((function(key){var multiply=[right,bottom].indexOf(key)>=0?1:-1,axis=[enums_top,bottom].indexOf(key)>=0?"y":"x";overflowOffsets[key]+=offset[axis]*multiply}))}return overflowOffsets}function within(min,value,max){return math_max(min,math_min(value,max))}function getSideOffsets(overflow,rect,preventedOffsets){return void 0===preventedOffsets&&(preventedOffsets={x:0,y:0}),{top:overflow.top-rect.height-preventedOffsets.y,right:overflow.right-rect.width+preventedOffsets.x,bottom:overflow.bottom-rect.height+preventedOffsets.y,left:overflow.left-rect.width-preventedOffsets.x}}function isAnySideFullyClipped(overflow){return[enums_top,right,bottom,left].some((function(side){return overflow[side]>=0}))}var popper_createPopper=popperGenerator({defaultModifiers:[eventListeners,modifiers_popperOffsets,{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function computeStyles(_ref4){var state=_ref4.state,options=_ref4.options,_options$gpuAccelerat=options.gpuAcceleration,gpuAcceleration=void 0===_options$gpuAccelerat||_options$gpuAccelerat,_options$adaptive=options.adaptive,adaptive=void 0===_options$adaptive||_options$adaptive,_options$roundOffsets=options.roundOffsets,roundOffsets=void 0===_options$roundOffsets||_options$roundOffsets,commonStyles={placement:getBasePlacement(state.placement),popper:state.elements.popper,popperRect:state.rects.popper,gpuAcceleration:gpuAcceleration};null!=state.modifiersData.popperOffsets&&(state.styles.popper=Object.assign({},state.styles.popper,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.popperOffsets,position:state.options.strategy,adaptive:adaptive,roundOffsets:roundOffsets})))),null!=state.modifiersData.arrow&&(state.styles.arrow=Object.assign({},state.styles.arrow,mapToStyles(Object.assign({},commonStyles,{offsets:state.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:roundOffsets})))),state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-placement":state.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function applyStyles(_ref){var state=_ref.state;Object.keys(state.elements).forEach((function(name){var style=state.styles[name]||{},attributes=state.attributes[name]||{},element=state.elements[name];isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(name){var value=attributes[name];!1===value?element.removeAttribute(name):element.setAttribute(name,!0===value?"":value)})))}))},effect:function applyStyles_effect(_ref2){var state=_ref2.state,initialStyles={popper:{position:state.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(state.elements.popper.style,initialStyles.popper),state.styles=initialStyles,state.elements.arrow&&Object.assign(state.elements.arrow.style,initialStyles.arrow),function(){Object.keys(state.elements).forEach((function(name){var element=state.elements[name],attributes=state.attributes[name]||{},style=Object.keys(state.styles.hasOwnProperty(name)?state.styles[name]:initialStyles[name]).reduce((function(style,property){return style[property]="",style}),{});isHTMLElement(element)&&getNodeName(element)&&(Object.assign(element.style,style),Object.keys(attributes).forEach((function(attribute){element.removeAttribute(attribute)})))}))}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function offset_offset(_ref2){var state=_ref2.state,options=_ref2.options,name=_ref2.name,_options$offset=options.offset,offset=void 0===_options$offset?[0,0]:_options$offset,data=enums_placements.reduce((function(acc,placement){return acc[placement]=function distanceAndSkiddingToXY(placement,rects,offset){var basePlacement=getBasePlacement(placement),invertDistance=[left,enums_top].indexOf(basePlacement)>=0?-1:1,_ref="function"==typeof offset?offset(Object.assign({},rects,{placement:placement})):offset,skidding=_ref[0],distance=_ref[1];return skidding=skidding||0,distance=(distance||0)*invertDistance,[left,right].indexOf(basePlacement)>=0?{x:distance,y:skidding}:{x:skidding,y:distance}}(placement,state.rects,offset),acc}),{}),_data$state$placement=data[state.placement],x=_data$state$placement.x,y=_data$state$placement.y;null!=state.modifiersData.popperOffsets&&(state.modifiersData.popperOffsets.x+=x,state.modifiersData.popperOffsets.y+=y),state.modifiersData[name]=data}},{name:"flip",enabled:!0,phase:"main",fn:function flip(_ref){var state=_ref.state,options=_ref.options,name=_ref.name;if(!state.modifiersData[name]._skip){for(var _options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0===_options$altAxis||_options$altAxis,specifiedFallbackPlacements=options.fallbackPlacements,padding=options.padding,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,_options$flipVariatio=options.flipVariations,flipVariations=void 0===_options$flipVariatio||_options$flipVariatio,allowedAutoPlacements=options.allowedAutoPlacements,preferredPlacement=state.options.placement,basePlacement=getBasePlacement(preferredPlacement),fallbackPlacements=specifiedFallbackPlacements||(basePlacement===preferredPlacement||!flipVariations?[getOppositePlacement(preferredPlacement)]:function getExpandedFallbackPlacements(placement){if("auto"===getBasePlacement(placement))return[];var oppositePlacement=getOppositePlacement(placement);return[getOppositeVariationPlacement(placement),oppositePlacement,getOppositeVariationPlacement(oppositePlacement)]}(preferredPlacement)),placements=[preferredPlacement].concat(fallbackPlacements).reduce((function(acc,placement){return acc.concat("auto"===getBasePlacement(placement)?function computeAutoPlacement(state,options){void 0===options&&(options={});var _options=options,placement=_options.placement,boundary=_options.boundary,rootBoundary=_options.rootBoundary,padding=_options.padding,flipVariations=_options.flipVariations,_options$allowedAutoP=_options.allowedAutoPlacements,allowedAutoPlacements=void 0===_options$allowedAutoP?enums_placements:_options$allowedAutoP,variation=getVariation(placement),placements=variation?flipVariations?variationPlacements:variationPlacements.filter((function(placement){return getVariation(placement)===variation})):basePlacements,allowedPlacements=placements.filter((function(placement){return allowedAutoPlacements.indexOf(placement)>=0}));0===allowedPlacements.length&&(allowedPlacements=placements);var overflows=allowedPlacements.reduce((function(acc,placement){return acc[placement]=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding})[getBasePlacement(placement)],acc}),{});return Object.keys(overflows).sort((function(a,b){return overflows[a]-overflows[b]}))}(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,padding:padding,flipVariations:flipVariations,allowedAutoPlacements:allowedAutoPlacements}):placement)}),[]),referenceRect=state.rects.reference,popperRect=state.rects.popper,checksMap=new Map,makeFallbackChecks=!0,firstFittingPlacement=placements[0],i=0;i=0,len=isVertical?"width":"height",overflow=detectOverflow(state,{placement:placement,boundary:boundary,rootBoundary:rootBoundary,altBoundary:altBoundary,padding:padding}),mainVariationSide=isVertical?isStartVariation?right:left:isStartVariation?bottom:enums_top;referenceRect[len]>popperRect[len]&&(mainVariationSide=getOppositePlacement(mainVariationSide));var altVariationSide=getOppositePlacement(mainVariationSide),checks=[];if(checkMainAxis&&checks.push(overflow[_basePlacement]<=0),checkAltAxis&&checks.push(overflow[mainVariationSide]<=0,overflow[altVariationSide]<=0),checks.every((function(check){return check}))){firstFittingPlacement=placement,makeFallbackChecks=!1;break}checksMap.set(placement,checks)}if(makeFallbackChecks)for(var _loop=function _loop(_i){var fittingPlacement=placements.find((function(placement){var checks=checksMap.get(placement);if(checks)return checks.slice(0,_i).every((function(check){return check}))}));if(fittingPlacement)return firstFittingPlacement=fittingPlacement,"break"},_i=flipVariations?3:1;_i>0;_i--){if("break"===_loop(_i))break}state.placement!==firstFittingPlacement&&(state.modifiersData[name]._skip=!0,state.placement=firstFittingPlacement,state.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function preventOverflow(_ref){var state=_ref.state,options=_ref.options,name=_ref.name,_options$mainAxis=options.mainAxis,checkMainAxis=void 0===_options$mainAxis||_options$mainAxis,_options$altAxis=options.altAxis,checkAltAxis=void 0!==_options$altAxis&&_options$altAxis,boundary=options.boundary,rootBoundary=options.rootBoundary,altBoundary=options.altBoundary,padding=options.padding,_options$tether=options.tether,tether=void 0===_options$tether||_options$tether,_options$tetherOffset=options.tetherOffset,tetherOffset=void 0===_options$tetherOffset?0:_options$tetherOffset,overflow=detectOverflow(state,{boundary:boundary,rootBoundary:rootBoundary,padding:padding,altBoundary:altBoundary}),basePlacement=getBasePlacement(state.placement),variation=getVariation(state.placement),isBasePlacement=!variation,mainAxis=getMainAxisFromPlacement(basePlacement),altAxis=function getAltAxis(axis){return"x"===axis?"y":"x"}(mainAxis),popperOffsets=state.modifiersData.popperOffsets,referenceRect=state.rects.reference,popperRect=state.rects.popper,tetherOffsetValue="function"==typeof tetherOffset?tetherOffset(Object.assign({},state.rects,{placement:state.placement})):tetherOffset,data={x:0,y:0};if(popperOffsets){if(checkMainAxis||checkAltAxis){var mainSide="y"===mainAxis?enums_top:left,altSide="y"===mainAxis?bottom:right,len="y"===mainAxis?"height":"width",offset=popperOffsets[mainAxis],min=popperOffsets[mainAxis]+overflow[mainSide],max=popperOffsets[mainAxis]-overflow[altSide],additive=tether?-popperRect[len]/2:0,minLen="start"===variation?referenceRect[len]:popperRect[len],maxLen="start"===variation?-popperRect[len]:-referenceRect[len],arrowElement=state.elements.arrow,arrowRect=tether&&arrowElement?getLayoutRect(arrowElement):{width:0,height:0},arrowPaddingObject=state.modifiersData["arrow#persistent"]?state.modifiersData["arrow#persistent"].padding:{top:0,right:0,bottom:0,left:0},arrowPaddingMin=arrowPaddingObject[mainSide],arrowPaddingMax=arrowPaddingObject[altSide],arrowLen=within(0,referenceRect[len],arrowRect[len]),minOffset=isBasePlacement?referenceRect[len]/2-additive-arrowLen-arrowPaddingMin-tetherOffsetValue:minLen-arrowLen-arrowPaddingMin-tetherOffsetValue,maxOffset=isBasePlacement?-referenceRect[len]/2+additive+arrowLen+arrowPaddingMax+tetherOffsetValue:maxLen+arrowLen+arrowPaddingMax+tetherOffsetValue,arrowOffsetParent=state.elements.arrow&&getOffsetParent(state.elements.arrow),clientOffset=arrowOffsetParent?"y"===mainAxis?arrowOffsetParent.clientTop||0:arrowOffsetParent.clientLeft||0:0,offsetModifierValue=state.modifiersData.offset?state.modifiersData.offset[state.placement][mainAxis]:0,tetherMin=popperOffsets[mainAxis]+minOffset-offsetModifierValue-clientOffset,tetherMax=popperOffsets[mainAxis]+maxOffset-offsetModifierValue;if(checkMainAxis){var preventedOffset=within(tether?math_min(min,tetherMin):min,offset,tether?math_max(max,tetherMax):max);popperOffsets[mainAxis]=preventedOffset,data[mainAxis]=preventedOffset-offset}if(checkAltAxis){var _mainSide="x"===mainAxis?enums_top:left,_altSide="x"===mainAxis?bottom:right,_offset=popperOffsets[altAxis],_min=_offset+overflow[_mainSide],_max=_offset-overflow[_altSide],_preventedOffset=within(tether?math_min(_min,tetherMin):_min,_offset,tether?math_max(_max,tetherMax):_max);popperOffsets[altAxis]=_preventedOffset,data[altAxis]=_preventedOffset-_offset}}state.modifiersData[name]=data}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function arrow(_ref){var _state$modifiersData$,state=_ref.state,name=_ref.name,options=_ref.options,arrowElement=state.elements.arrow,popperOffsets=state.modifiersData.popperOffsets,basePlacement=getBasePlacement(state.placement),axis=getMainAxisFromPlacement(basePlacement),len=[left,right].indexOf(basePlacement)>=0?"height":"width";if(arrowElement&&popperOffsets){var paddingObject=function toPaddingObject(padding,state){return mergePaddingObject("number"!=typeof(padding="function"==typeof padding?padding(Object.assign({},state.rects,{placement:state.placement})):padding)?padding:expandToHashMap(padding,basePlacements))}(options.padding,state),arrowRect=getLayoutRect(arrowElement),minProp="y"===axis?enums_top:left,maxProp="y"===axis?bottom:right,endDiff=state.rects.reference[len]+state.rects.reference[axis]-popperOffsets[axis]-state.rects.popper[len],startDiff=popperOffsets[axis]-state.rects.reference[axis],arrowOffsetParent=getOffsetParent(arrowElement),clientSize=arrowOffsetParent?"y"===axis?arrowOffsetParent.clientHeight||0:arrowOffsetParent.clientWidth||0:0,centerToReference=endDiff/2-startDiff/2,min=paddingObject[minProp],max=clientSize-arrowRect[len]-paddingObject[maxProp],center=clientSize/2-arrowRect[len]/2+centerToReference,offset=within(min,center,max),axisProp=axis;state.modifiersData[name]=((_state$modifiersData$={})[axisProp]=offset,_state$modifiersData$.centerOffset=offset-center,_state$modifiersData$)}},effect:function arrow_effect(_ref2){var state=_ref2.state,_options$element=_ref2.options.element,arrowElement=void 0===_options$element?"[data-popper-arrow]":_options$element;null!=arrowElement&&("string"!=typeof arrowElement||(arrowElement=state.elements.popper.querySelector(arrowElement)))&&contains(state.elements.popper,arrowElement)&&(state.elements.arrow=arrowElement)},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function hide_hide(_ref){var state=_ref.state,name=_ref.name,referenceRect=state.rects.reference,popperRect=state.rects.popper,preventedOffsets=state.modifiersData.preventOverflow,referenceOverflow=detectOverflow(state,{elementContext:"reference"}),popperAltOverflow=detectOverflow(state,{altBoundary:!0}),referenceClippingOffsets=getSideOffsets(referenceOverflow,referenceRect),popperEscapeOffsets=getSideOffsets(popperAltOverflow,popperRect,preventedOffsets),isReferenceHidden=isAnySideFullyClipped(referenceClippingOffsets),hasPopperEscaped=isAnySideFullyClipped(popperEscapeOffsets);state.modifiersData[name]={referenceClippingOffsets:referenceClippingOffsets,popperEscapeOffsets:popperEscapeOffsets,isReferenceHidden:isReferenceHidden,hasPopperEscaped:hasPopperEscaped},state.attributes.popper=Object.assign({},state.attributes.popper,{"data-popper-reference-hidden":isReferenceHidden,"data-popper-escaped":hasPopperEscaped})}}]}),react_fast_compare=__webpack_require__(2288),react_fast_compare_default=__webpack_require__.n(react_fast_compare),EMPTY_MODIFIERS=[],NOOP=function NOOP(){},NOOP_PROMISE=function NOOP_PROMISE(){return Promise.resolve(null)},Popper_EMPTY_MODIFIERS=[];function Popper(_ref){var _ref$placement=_ref.placement,placement=void 0===_ref$placement?"bottom":_ref$placement,_ref$strategy=_ref.strategy,strategy=void 0===_ref$strategy?"absolute":_ref$strategy,_ref$modifiers=_ref.modifiers,modifiers=void 0===_ref$modifiers?Popper_EMPTY_MODIFIERS:_ref$modifiers,referenceElement=_ref.referenceElement,onFirstUpdate=_ref.onFirstUpdate,innerRef=_ref.innerRef,children=_ref.children,referenceNode=react.useContext(ManagerReferenceNodeContext),_React$useState=react.useState(null),popperElement=_React$useState[0],setPopperElement=_React$useState[1],_React$useState2=react.useState(null),arrowElement=_React$useState2[0],setArrowElement=_React$useState2[1];react.useEffect((function(){setRef(innerRef,popperElement)}),[innerRef,popperElement]);var options=react.useMemo((function(){return{placement:placement,strategy:strategy,onFirstUpdate:onFirstUpdate,modifiers:[].concat(modifiers,[{name:"arrow",enabled:null!=arrowElement,options:{element:arrowElement}}])}}),[placement,strategy,onFirstUpdate,modifiers,arrowElement]),_usePopper=function usePopper(referenceElement,popperElement,options){void 0===options&&(options={});var prevOptions=react.useRef(null),optionsWithDefaults={onFirstUpdate:options.onFirstUpdate,placement:options.placement||"bottom",strategy:options.strategy||"absolute",modifiers:options.modifiers||EMPTY_MODIFIERS},_React$useState=react.useState({styles:{popper:{position:optionsWithDefaults.strategy,left:"0",top:"0"},arrow:{position:"absolute"}},attributes:{}}),state=_React$useState[0],setState=_React$useState[1],updateStateModifier=react.useMemo((function(){return{name:"updateState",enabled:!0,phase:"write",fn:function fn(_ref){var state=_ref.state,elements=Object.keys(state.elements);setState({styles:fromEntries(elements.map((function(element){return[element,state.styles[element]||{}]}))),attributes:fromEntries(elements.map((function(element){return[element,state.attributes[element]]})))})},requires:["computeStyles"]}}),[]),popperOptions=react.useMemo((function(){var newOptions={onFirstUpdate:optionsWithDefaults.onFirstUpdate,placement:optionsWithDefaults.placement,strategy:optionsWithDefaults.strategy,modifiers:[].concat(optionsWithDefaults.modifiers,[updateStateModifier,{name:"applyStyles",enabled:!1}])};return react_fast_compare_default()(prevOptions.current,newOptions)?prevOptions.current||newOptions:(prevOptions.current=newOptions,newOptions)}),[optionsWithDefaults.onFirstUpdate,optionsWithDefaults.placement,optionsWithDefaults.strategy,optionsWithDefaults.modifiers,updateStateModifier]),popperInstanceRef=react.useRef();return useIsomorphicLayoutEffect((function(){popperInstanceRef.current&&popperInstanceRef.current.setOptions(popperOptions)}),[popperOptions]),useIsomorphicLayoutEffect((function(){if(null!=referenceElement&&null!=popperElement){var popperInstance=(options.createPopper||popper_createPopper)(referenceElement,popperElement,popperOptions);return popperInstanceRef.current=popperInstance,function(){popperInstance.destroy(),popperInstanceRef.current=null}}}),[referenceElement,popperElement,options.createPopper]),{state:popperInstanceRef.current?popperInstanceRef.current.state:null,styles:state.styles,attributes:state.attributes,update:popperInstanceRef.current?popperInstanceRef.current.update:null,forceUpdate:popperInstanceRef.current?popperInstanceRef.current.forceUpdate:null}}(referenceElement||referenceNode,popperElement,options),state=_usePopper.state,styles=_usePopper.styles,forceUpdate=_usePopper.forceUpdate,update=_usePopper.update,childrenProps=react.useMemo((function(){return{ref:setPopperElement,style:styles.popper,placement:state?state.placement:placement,hasPopperEscaped:state&&state.modifiersData.hide?state.modifiersData.hide.hasPopperEscaped:null,isReferenceHidden:state&&state.modifiersData.hide?state.modifiersData.hide.isReferenceHidden:null,arrowProps:{style:styles.arrow,ref:setArrowElement},forceUpdate:forceUpdate||NOOP,update:update||NOOP_PROMISE}}),[setPopperElement,setArrowElement,placement,state,styles,update,forceUpdate]);return unwrapArray(children)(childrenProps)}var warning=__webpack_require__(1234),warning_default=__webpack_require__.n(warning);function Reference(_ref){var children=_ref.children,innerRef=_ref.innerRef,setReferenceNode=react.useContext(ManagerReferenceNodeSetterContext),refHandler=react.useCallback((function(node){setRef(innerRef,node),safeInvoke(setReferenceNode,node)}),[innerRef,setReferenceNode]);return react.useEffect((function(){return function(){return setRef(innerRef,null)}})),react.useEffect((function(){warning_default()(Boolean(setReferenceNode),"`Reference` should not be used outside of a `Manager` component.")}),[setReferenceNode]),unwrapArray(children)({ref:refHandler})}var TooltipContext=react_default.a.createContext({}),callAll=function callAll(){for(var _len=arguments.length,fns=new Array(_len),_key=0;_key<_len;_key++)fns[_key]=arguments[_key];return function(){for(var _len2=arguments.length,args=new Array(_len2),_key2=0;_key2<_len2;_key2++)args[_key2]=arguments[_key2];return fns.forEach((function(fn){return fn&&fn.apply(void 0,args)}))}},canUseDOM=function canUseDOM(){return!("undefined"==typeof window||!window.document||!window.document.createElement)},react_popper_tooltip_setRef=function setRef(ref,node){if("function"==typeof ref)return ref(node);null!=ref&&(ref.current=node)},react_popper_tooltip_Tooltip=function(_Component){function Tooltip(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).observer=void 0,_this.tooltipRef=void 0,_this.handleOutsideClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideClickHandler=_this.context.parentOutsideClickHandler,_this$props=_this.props,hideTooltip=_this$props.hideTooltip;(0,_this$props.clearScheduled)(),hideTooltip(),parentOutsideClickHandler&&parentOutsideClickHandler(event)}},_this.handleOutsideRightClick=function(event){if(_this.tooltipRef&&!_this.tooltipRef.contains(event.target)){var parentOutsideRightClickHandler=_this.context.parentOutsideRightClickHandler,_this$props2=_this.props,hideTooltip=_this$props2.hideTooltip;(0,_this$props2.clearScheduled)(),hideTooltip(),parentOutsideRightClickHandler&&parentOutsideRightClickHandler(event)}},_this.addOutsideClickHandler=function(){document.body.addEventListener("touchend",_this.handleOutsideClick),document.body.addEventListener("click",_this.handleOutsideClick)},_this.removeOutsideClickHandler=function(){document.body.removeEventListener("touchend",_this.handleOutsideClick),document.body.removeEventListener("click",_this.handleOutsideClick)},_this.addOutsideRightClickHandler=function(){return document.body.addEventListener("contextmenu",_this.handleOutsideRightClick)},_this.removeOutsideRightClickHandler=function(){return document.body.removeEventListener("contextmenu",_this.handleOutsideRightClick)},_this.getTooltipRef=function(node){_this.tooltipRef=node,react_popper_tooltip_setRef(_this.props.innerRef,node)},_this.getArrowProps=function(props){return void 0===props&&(props={}),_extends({},props,{style:_extends({},props.style,_this.props.arrowProps.style)})},_this.getTooltipProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("hover")&&{onMouseEnter:callAll(_this.props.clearScheduled,props.onMouseEnter),onMouseLeave:callAll(_this.props.hideTooltip,props.onMouseLeave)},{style:_extends({},props.style,_this.props.style)})},_this.contextValue={isParentNoneTriggered:"none"===_this.props.trigger,addParentOutsideClickHandler:_this.addOutsideClickHandler,addParentOutsideRightClickHandler:_this.addOutsideRightClickHandler,parentOutsideClickHandler:_this.handleOutsideClick,parentOutsideRightClickHandler:_this.handleOutsideRightClick,removeParentOutsideClickHandler:_this.removeOutsideClickHandler,removeParentOutsideRightClickHandler:_this.removeOutsideRightClickHandler},_this}_inheritsLoose(Tooltip,_Component);var _proto=Tooltip.prototype;return _proto.componentDidMount=function componentDidMount(){var _this2=this;if((this.observer=new MutationObserver((function(){_this2.props.update()}))).observe(this.tooltipRef,this.props.mutationObserverOptions),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context=this.context,removeParentOutsideClickHandler=_this$context.removeParentOutsideClickHandler,removeParentOutsideRightClickHandler=_this$context.removeParentOutsideRightClickHandler;this.addOutsideClickHandler(),this.addOutsideRightClickHandler(),removeParentOutsideClickHandler&&removeParentOutsideClickHandler(),removeParentOutsideRightClickHandler&&removeParentOutsideRightClickHandler()}},_proto.componentDidUpdate=function componentDidUpdate(){this.props.closeOnReferenceHidden&&this.props.isReferenceHidden&&this.props.hideTooltip()},_proto.componentWillUnmount=function componentWillUnmount(){if(this.observer&&this.observer.disconnect(),this.isTriggeredBy("hover")||this.isTriggeredBy("click")||this.isTriggeredBy("right-click")){var _this$context2=this.context,isParentNoneTriggered=_this$context2.isParentNoneTriggered,addParentOutsideClickHandler=_this$context2.addParentOutsideClickHandler,addParentOutsideRightClickHandler=_this$context2.addParentOutsideRightClickHandler;this.removeOutsideClickHandler(),this.removeOutsideRightClickHandler(),this.handleOutsideClick=void 0,this.handleOutsideRightClick=void 0,!isParentNoneTriggered&&addParentOutsideClickHandler&&addParentOutsideClickHandler(),!isParentNoneTriggered&&addParentOutsideRightClickHandler&&addParentOutsideRightClickHandler()}},_proto.render=function render(){var _this$props3=this.props,arrowProps=_this$props3.arrowProps,placement=_this$props3.placement,tooltip=_this$props3.tooltip;return react_default.a.createElement(TooltipContext.Provider,{value:this.contextValue},tooltip({arrowRef:arrowProps.ref,getArrowProps:this.getArrowProps,getTooltipProps:this.getTooltipProps,placement:placement,tooltipRef:this.getTooltipRef}))},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},Tooltip}(react.Component);react_popper_tooltip_Tooltip.contextType=TooltipContext;var react_popper_tooltip_TooltipTrigger=function(_Component){function TooltipTrigger(){for(var _this,_len=arguments.length,args=new Array(_len),_key=0;_key<_len;_key++)args[_key]=arguments[_key];return(_this=_Component.call.apply(_Component,[this].concat(args))||this).state={tooltipShown:_this.props.defaultTooltipShown},_this.hideTimeout=void 0,_this.showTimeout=void 0,_this.popperOffset=void 0,_this.setTooltipState=function(state){var cb=function cb(){return _this.props.onVisibilityChange(state.tooltipShown)};_this.isControlled()?cb():_this.setState(state,cb)},_this.clearScheduled=function(){clearTimeout(_this.hideTimeout),clearTimeout(_this.showTimeout)},_this.showTooltip=function(_ref){var pageX=_ref.pageX,pageY=_ref.pageY;_this.clearScheduled();var state={tooltipShown:!0};_this.props.followCursor&&(state=_extends({},state,{pageX:pageX,pageY:pageY})),_this.showTimeout=window.setTimeout((function(){return _this.setTooltipState(state)}),_this.props.delayShow)},_this.hideTooltip=function(){_this.clearScheduled(),_this.hideTimeout=window.setTimeout((function(){return _this.setTooltipState({tooltipShown:!1})}),_this.props.delayHide)},_this.toggleTooltip=function(_ref2){var pageX=_ref2.pageX,pageY=_ref2.pageY,action=_this.getState()?"hideTooltip":"showTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.clickToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.contextMenuToggle=function(event){event.preventDefault();var pageX=event.pageX,pageY=event.pageY,action=_this.props.followCursor?"showTooltip":"toggleTooltip";_this[action]({pageX:pageX,pageY:pageY})},_this.getTriggerProps=function(props){return void 0===props&&(props={}),_extends({},props,_this.isTriggeredBy("click")&&{onClick:callAll(_this.clickToggle,props.onClick),onTouchEnd:callAll(_this.clickToggle,props.onTouchEnd)},_this.isTriggeredBy("right-click")&&{onContextMenu:callAll(_this.contextMenuToggle,props.onContextMenu)},_this.isTriggeredBy("hover")&&_extends({onMouseEnter:callAll(_this.showTooltip,props.onMouseEnter),onMouseLeave:callAll(_this.hideTooltip,props.onMouseLeave)},_this.props.followCursor&&{onMouseMove:callAll(_this.showTooltip,props.onMouseMove)}),_this.isTriggeredBy("focus")&&{onFocus:callAll(_this.showTooltip,props.onFocus),onBlur:callAll(_this.hideTooltip,props.onBlur)})},_this}_inheritsLoose(TooltipTrigger,_Component);var _proto=TooltipTrigger.prototype;return _proto.componentWillUnmount=function componentWillUnmount(){this.clearScheduled()},_proto.render=function render(){var _this2=this,_this$props=this.props,children=_this$props.children,tooltip=_this$props.tooltip,placement=_this$props.placement,trigger=_this$props.trigger,getTriggerRef=_this$props.getTriggerRef,modifiers=_this$props.modifiers,closeOnReferenceHidden=_this$props.closeOnReferenceHidden,usePortal=_this$props.usePortal,portalContainer=_this$props.portalContainer,followCursor=_this$props.followCursor,getTooltipRef=_this$props.getTooltipRef,mutationObserverOptions=_this$props.mutationObserverOptions,restProps=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(_this$props,["children","tooltip","placement","trigger","getTriggerRef","modifiers","closeOnReferenceHidden","usePortal","portalContainer","followCursor","getTooltipRef","mutationObserverOptions"]),popper=react_default.a.createElement(Popper,_extends({innerRef:getTooltipRef,placement:placement,modifiers:[{name:"followCursor",enabled:followCursor,phase:"main",fn:function fn(data){_this2.popperOffset=data.state.rects.popper}}].concat(modifiers)},restProps),(function(_ref3){var ref=_ref3.ref,style=_ref3.style,placement=_ref3.placement,arrowProps=_ref3.arrowProps,isReferenceHidden=_ref3.isReferenceHidden,update=_ref3.update;if(followCursor&&_this2.popperOffset){var _this2$state=_this2.state,pageX=_this2$state.pageX,pageY=_this2$state.pageY,_this2$popperOffset=_this2.popperOffset,width=_this2$popperOffset.width,height=_this2$popperOffset.height,x=pageX+width>window.pageXOffset+document.body.offsetWidth?pageX-width:pageX,y=pageY+height>window.pageYOffset+document.body.offsetHeight?pageY-height:pageY;style.transform="translate3d("+x+"px, "+y+"px, 0"}return react_default.a.createElement(react_popper_tooltip_Tooltip,_extends({arrowProps:arrowProps,closeOnReferenceHidden:closeOnReferenceHidden,isReferenceHidden:isReferenceHidden,placement:placement,update:update,style:style,tooltip:tooltip,trigger:trigger,mutationObserverOptions:mutationObserverOptions},{clearScheduled:_this2.clearScheduled,hideTooltip:_this2.hideTooltip,innerRef:ref}))}));return react_default.a.createElement(Manager,null,react_default.a.createElement(Reference,{innerRef:getTriggerRef},(function(_ref4){var ref=_ref4.ref;return children({getTriggerProps:_this2.getTriggerProps,triggerRef:ref})})),this.getState()&&(usePortal?Object(react_dom.createPortal)(popper,portalContainer):popper))},_proto.isControlled=function isControlled(){return void 0!==this.props.tooltipShown},_proto.getState=function getState(){return this.isControlled()?this.props.tooltipShown:this.state.tooltipShown},_proto.isTriggeredBy=function isTriggeredBy(event){var trigger=this.props.trigger;return trigger===event||Array.isArray(trigger)&&trigger.includes(event)},TooltipTrigger}(react.Component);react_popper_tooltip_TooltipTrigger.defaultProps={closeOnReferenceHidden:!0,defaultTooltipShown:!1,delayHide:0,delayShow:0,followCursor:!1,onVisibilityChange:function noop(){},placement:"right",portalContainer:canUseDOM()?document.body:null,trigger:"hover",usePortal:canUseDOM(),mutationObserverOptions:{childList:!0,subtree:!0},modifiers:[]};var react_popper_tooltip=react_popper_tooltip_TooltipTrigger,memoizerific=(__webpack_require__(12),__webpack_require__(23),__webpack_require__(15),__webpack_require__(30),__webpack_require__(164),__webpack_require__(767),__webpack_require__(22)),memoizerific_default=__webpack_require__.n(memoizerific),utils=__webpack_require__(163);function Tooltip_extends(){return(Tooltip_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var _templateObject,_templateObject2,match=memoizerific_default()(1e3)((function(requests,actual,value){var fallback=arguments.length>3&&void 0!==arguments[3]?arguments[3]:0;return actual.split("-")[0]===requests?value:fallback})),Arrow=esm.styled.div({position:"absolute",borderStyle:"solid"},(function(_ref){var placement=_ref.placement,x=0,y=0;switch(!0){case placement.startsWith("left")||placement.startsWith("right"):y=8;break;case placement.startsWith("top")||placement.startsWith("bottom"):x=8}return{transform:"translate3d(".concat(x,"px, ").concat(y,"px, 0px)")}}),(function(_ref2){var theme=_ref2.theme,color=_ref2.color,placement=_ref2.placement;return{bottom:"".concat(match("top",placement,-8,"auto"),"px"),top:"".concat(match("bottom",placement,-8,"auto"),"px"),right:"".concat(match("left",placement,-8,"auto"),"px"),left:"".concat(match("right",placement,-8,"auto"),"px"),borderBottomWidth:"".concat(match("top",placement,"0",8),"px"),borderTopWidth:"".concat(match("bottom",placement,"0",8),"px"),borderRightWidth:"".concat(match("left",placement,"0",8),"px"),borderLeftWidth:"".concat(match("right",placement,"0",8),"px"),borderTopColor:match("top",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderBottomColor:match("bottom",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderLeftColor:match("left",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent"),borderRightColor:match("right",placement,theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),"transparent")}})),Wrapper=esm.styled.div((function(_ref3){return{display:_ref3.hidden?"none":"inline-block",zIndex:2147483647}}),(function(_ref4){var theme=_ref4.theme,color=_ref4.color;return _ref4.hasChrome?{background:theme.color[color]||color||"light"===theme.base?Object(utils.c)(theme.background.app):Object(utils.a)(theme.background.app),filter:"\n drop-shadow(0px 5px 5px rgba(0,0,0,0.05))\n drop-shadow(0 1px 3px rgba(0,0,0,0.1))\n ",borderRadius:2*theme.appBorderRadius,fontSize:theme.typography.size.s1}:{}})),Tooltip_Tooltip=function Tooltip(_ref5){var placement=_ref5.placement,hasChrome=_ref5.hasChrome,children=_ref5.children,arrowProps=_ref5.arrowProps,tooltipRef=_ref5.tooltipRef,arrowRef=_ref5.arrowRef,color=_ref5.color,props=_objectWithoutProperties(_ref5,["placement","hasChrome","children","arrowProps","tooltipRef","arrowRef","color"]);return react_default.a.createElement(Wrapper,Tooltip_extends({hasChrome:hasChrome,placement:placement,ref:tooltipRef},props,{color:color}),hasChrome&&react_default.a.createElement(Arrow,Tooltip_extends({placement:placement,ref:arrowRef},arrowProps,{color:color})),children)};function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}Tooltip_Tooltip.displayName="Tooltip",Tooltip_Tooltip.defaultProps={color:void 0,arrowRef:void 0,tooltipRef:void 0,hasChrome:!0,placement:"top",arrowProps:{}};var TargetContainer=esm.styled.div(_templateObject||(_templateObject=_taggedTemplateLiteral(["\n display: inline-block;\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),TargetSvgContainer=esm.styled.g(_templateObject2||(_templateObject2=_taggedTemplateLiteral(["\n cursor: ",";\n"])),(function(props){return"hover"===props.mode?"default":"pointer"})),WithTooltip_WithTooltipPure=function WithTooltipPure(_ref){var svg=_ref.svg,trigger=_ref.trigger,placement=(_ref.closeOnClick,_ref.placement),modifiers=_ref.modifiers,hasChrome=_ref.hasChrome,_tooltip=_ref.tooltip,children=_ref.children,tooltipShown=_ref.tooltipShown,onVisibilityChange=_ref.onVisibilityChange,props=WithTooltip_objectWithoutProperties(_ref,["svg","trigger","closeOnClick","placement","modifiers","hasChrome","tooltip","children","tooltipShown","onVisibilityChange"]),Container=svg?TargetSvgContainer:TargetContainer;return react_default.a.createElement(react_popper_tooltip,{placement:placement,trigger:trigger,modifiers:modifiers,tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange,tooltip:function tooltip(_ref2){var getTooltipProps=_ref2.getTooltipProps,getArrowProps=_ref2.getArrowProps,tooltipRef=_ref2.tooltipRef,arrowRef=_ref2.arrowRef,tooltipPlacement=_ref2.placement;return react_default.a.createElement(Tooltip_Tooltip,WithTooltip_extends({hasChrome:hasChrome,placement:tooltipPlacement,tooltipRef:tooltipRef,arrowRef:arrowRef,arrowProps:getArrowProps()},getTooltipProps()),"function"==typeof _tooltip?_tooltip({onHide:function onHide(){return onVisibilityChange(!1)}}):_tooltip)}},(function(_ref3){var getTriggerProps=_ref3.getTriggerProps,triggerRef=_ref3.triggerRef;return react_default.a.createElement(Container,WithTooltip_extends({ref:triggerRef},getTriggerProps(),props),children)}))};WithTooltip_WithTooltipPure.displayName="WithTooltipPure",WithTooltip_WithTooltipPure.defaultProps={svg:!1,trigger:"hover",closeOnClick:!1,placement:"top",modifiers:[{name:"preventOverflow",options:{padding:8}},{name:"offset",options:{offset:[8,8]}},{name:"arrow",options:{padding:8}}],hasChrome:!0,tooltipShown:!1};var WithTooltip_WithToolTipState=function WithToolTipState(_ref4){var startOpen=_ref4.startOpen,onChange=_ref4.onVisibilityChange,rest=WithTooltip_objectWithoutProperties(_ref4,["startOpen","onVisibilityChange"]),_useState2=_slicedToArray(Object(react.useState)(startOpen||!1),2),tooltipShown=_useState2[0],setTooltipShown=_useState2[1],onVisibilityChange=Object(react.useCallback)((function(visibility){onChange&&!1===onChange(visibility)||setTooltipShown(visibility)}),[onChange]);return Object(react.useEffect)((function(){var hide=function hide(){return onVisibilityChange(!1)};global_window.document.addEventListener("keydown",hide,!1);var iframes=Array.from(global_window.document.getElementsByTagName("iframe")),unbinders=[];return iframes.forEach((function(iframe){var bind=function bind(){try{iframe.contentWindow.document&&(iframe.contentWindow.document.addEventListener("click",hide),unbinders.push((function(){try{iframe.contentWindow.document.removeEventListener("click",hide)}catch(e){}})))}catch(e){}};bind(),iframe.addEventListener("load",bind),unbinders.push((function(){iframe.removeEventListener("load",bind)}))})),function(){global_window.document.removeEventListener("keydown",hide),unbinders.forEach((function(unbind){unbind()}))}})),react_default.a.createElement(WithTooltip_WithTooltipPure,WithTooltip_extends({},rest,{tooltipShown:tooltipShown,onVisibilityChange:onVisibilityChange}))};WithTooltip_WithToolTipState.displayName="WithToolTipState"},2288:function(module,exports){var hasElementType="undefined"!=typeof Element,hasMap="function"==typeof Map,hasSet="function"==typeof Set,hasArrayBuffer="function"==typeof ArrayBuffer&&!!ArrayBuffer.isView;module.exports=function isEqual(a,b){try{return function equal(a,b){if(a===b)return!0;if(a&&b&&"object"==typeof a&&"object"==typeof b){if(a.constructor!==b.constructor)return!1;var length,i,keys,it;if(Array.isArray(a)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(!equal(a[i],b[i]))return!1;return!0}if(hasMap&&a instanceof Map&&b instanceof Map){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;for(it=a.entries();!(i=it.next()).done;)if(!equal(i.value[1],b.get(i.value[0])))return!1;return!0}if(hasSet&&a instanceof Set&&b instanceof Set){if(a.size!==b.size)return!1;for(it=a.entries();!(i=it.next()).done;)if(!b.has(i.value[0]))return!1;return!0}if(hasArrayBuffer&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(b)){if((length=a.length)!=b.length)return!1;for(i=length;0!=i--;)if(a[i]!==b[i])return!1;return!0}if(a.constructor===RegExp)return a.source===b.source&&a.flags===b.flags;if(a.valueOf!==Object.prototype.valueOf)return a.valueOf()===b.valueOf();if(a.toString!==Object.prototype.toString)return a.toString()===b.toString();if((length=(keys=Object.keys(a)).length)!==Object.keys(b).length)return!1;for(i=length;0!=i--;)if(!Object.prototype.hasOwnProperty.call(b,keys[i]))return!1;if(hasElementType&&a instanceof Element)return!1;for(i=length;0!=i--;)if(("_owner"!==keys[i]&&"__v"!==keys[i]&&"__o"!==keys[i]||!a.$$typeof)&&!equal(a[keys[i]],b[keys[i]]))return!1;return!0}return a!=a&&b!=b}(a,b)}catch(error){if((error.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw error}}}}]); \ No newline at end of file diff --git a/docs/4.70079ffdb35086c74838.manager.bundle.js b/docs/4.70079ffdb35086c74838.manager.bundle.js deleted file mode 100644 index 3d24570c0..000000000 --- a/docs/4.70079ffdb35086c74838.manager.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 4.70079ffdb35086c74838.manager.bundle.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[4],{2267:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SyntaxHighlighter",(function(){return syntaxhighlighter_SyntaxHighlighter}));__webpack_require__(107),__webpack_require__(13),__webpack_require__(165),__webpack_require__(226),__webpack_require__(1236);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(162),dist_esm=__webpack_require__(1),global_window=__webpack_require__(3),memoizerific=__webpack_require__(22),memoizerific_default=__webpack_require__.n(memoizerific),jsx=__webpack_require__(2325),jsx_default=__webpack_require__.n(jsx),bash=__webpack_require__(2332),bash_default=__webpack_require__.n(bash),css=__webpack_require__(2334),css_default=__webpack_require__.n(css),js_extras=__webpack_require__(2323),js_extras_default=__webpack_require__.n(js_extras),json=__webpack_require__(2326),json_default=__webpack_require__.n(json),graphql=__webpack_require__(2339),graphql_default=__webpack_require__.n(graphql),markup=__webpack_require__(2335),markup_default=__webpack_require__.n(markup),markdown=__webpack_require__(2330),markdown_default=__webpack_require__.n(markdown),yaml=__webpack_require__(2328),yaml_default=__webpack_require__.n(yaml),tsx=__webpack_require__(2336),tsx_default=__webpack_require__.n(tsx),typescript=__webpack_require__(2338),typescript_default=__webpack_require__.n(typescript),prism_light=__webpack_require__(2290),prism_light_default=__webpack_require__.n(prism_light),ActionBar=__webpack_require__(768),ScrollArea=__webpack_require__(469),dist=__webpack_require__(496),dist_default=__webpack_require__.n(dist),formatter=memoizerific_default()(2)((function(code){return dist_default()(code)}));function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=48&&code<=57}},2281:function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},2282:function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),string:{pattern:string,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:Prism.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},markup.tag))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},2283:function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript);Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:Prism.languages.jsx},alias:"language-javascript"}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},2284:function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete Prism.languages.typescript.parameter;var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},2290:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _highlight=_interopRequireDefault(__webpack_require__(2291)),_core=_interopRequireDefault(__webpack_require__(2296)),SyntaxHighlighter=(0,_highlight.default)(_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return _core.default.register(language)};var _default=SyntaxHighlighter;exports.default=_default},2291:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function _default(defaultAstGenerator,defaultStyle){return function SyntaxHighlighter(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=void 0===_ref7$style?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=void 0===_ref7$customStyle?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=void 0===_ref7$codeTagProps?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=void 0===_ref7$useInlineStyles||_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=void 0!==_ref7$showLineNumbers&&_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=void 0!==_ref7$showInlineLineN&&_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=void 0===_ref7$startingLineNum?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=void 0===_ref7$lineNumberStyle?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=void 0===_ref7$lineProps?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=void 0===_ref7$PreTag?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=void 0===_ref7$CodeTag?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=void 0===_ref7$code?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,_objectWithoutProperties2.default)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?_react.default.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return _react.default.createElement(PreTag,preProps,allLineNumbers,_react.default.createElement(CodeTag,codeTagProps,code));wrapLines=!(!renderer||void 0!==wrapLines)||wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=(0,_checkForListedLanguage.default)(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:className})}function createUnwrappedLine(children,lineNumber){if(lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}function createLine(children,lineNumber){var className=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children,lineNumber,className):createUnwrappedLine(children,lineNumber)}var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};for(;index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},2293:function(module,exports){module.exports=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}},2294:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStyleObject=createStyleObject,exports.createClassNameString=createClassNameString,exports.createChildren=createChildren,exports.default=createElement;var _extends2=_interopRequireDefault(__webpack_require__(1064)),_objectSpread2=_interopRequireDefault(__webpack_require__(2275)),_react=_interopRequireDefault(__webpack_require__(0));function createStyleObject(classNames){var elementStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},2295:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;exports.default=function _default(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)}},2296:function(module,exports,__webpack_require__){"use strict";(function(global){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(2297),decode=__webpack_require__(2313),Prism=__webpack_require__(2320),markup=__webpack_require__(2281),css=__webpack_require__(2282),clike=__webpack_require__(2321),js=__webpack_require__(2322);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash.test(value))return property;"-"!==(value=value.replace(cap,kebab)).charAt(0)&&(value="-"+value);return"data"+value}(value),Type=DefinedInfo);return new Type(prop,value)};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}},2310:function(module,exports,__webpack_require__){"use strict";module.exports=function parse(selector,defaultTagName){var className,type,code,subvalue,lastIndex,value=selector||"",name=defaultTagName||"div",props={},index=-1,length=value.length;for(;++index<=length;)(code=value.charCodeAt(index))&&46!==code&&35!==code||((subvalue=value.slice(lastIndex,index))&&(46===type?className?className.push(subvalue):(className=[subvalue],props.className=className):35===type?props.id=subvalue:name=subvalue),lastIndex=index+1,type=code);return{type:"element",tagName:name,properties:props,children:[]}}},2311:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var input=String(value||"").trim();return""===input?[]:input.split(whiteSpace)},exports.stringify=function stringify(values){return values.join(" ").trim()};var whiteSpace=/[ \t\n\r\f]+/g},2312:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var val,values=[],input=String(value||""),index=input.indexOf(","),lastIndex=0,end=!1;for(;!end;)-1===index&&(index=input.length,end=!0),!(val=input.slice(lastIndex,index).trim())&&end||values.push(val),lastIndex=index+1,index=input.indexOf(",",lastIndex);return values},exports.stringify=function stringify(values,options){var settings=options||{},left=!1===settings.padLeft?"":" ",right=settings.padRight?" ":"";""===values[values.length-1]&&(values=values.concat(""));return values.join(right+","+left).trim()}},2313:function(module,exports,__webpack_require__){"use strict";var legacy=__webpack_require__(2314),invalid=__webpack_require__(2315),decimal=__webpack_require__(2280),hexadecimal=__webpack_require__(2316),alphanumerical=__webpack_require__(2317),decodeEntity=__webpack_require__(2319);module.exports=function parseEntities(value,options){var option,key,settings={};options||(options={});for(key in defaults)option=options[key],settings[key]=null==option?defaults[key]:option;(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start);return function parse(value,settings){var entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end,additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[];"string"==typeof additional&&(additional=additional.charCodeAt(0));prev=now(),warning=handleWarning?function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}:noop,index--,length++;for(;++index=55296&&code<=57343||code>1114111?(warning(7,diff),reference=fromCharCode(65533)):reference in invalid?(warning(6,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(6,diff),reference>65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();var code;return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",bases={hexadecimal:16,decimal:10},tests={};tests[name]=alphanumerical,tests.decimal=decimal,tests[hexa]=hexadecimal;var messages={};function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"},2314:function(module){module.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},2315:function(module){module.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},2316:function(module,exports,__webpack_require__){"use strict";module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},2317:function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(2318),decimal=__webpack_require__(2280);module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}},2318:function(module,exports,__webpack_require__){"use strict";module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},2319:function(module,exports,__webpack_require__){"use strict";var el;module.exports=function decodeEntity(characters){var char,entity="&"+characters+";";if((el=el||document.createElement("i")).innerHTML=entity,59===(char=el.textContent).charCodeAt(char.length-1)&&"semi"!==characters)return!1;return char!==entity&&char}},2320:function(module,exports,__webpack_require__){(function(global){var Prism=function(_self){var lang=/\blang(?:uage)?-([\w-]+)\b/i,uniqueId=0,_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind)))break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1&&matchGrammar(text,tokenList,grammar,currentNode.prev,pos,{cause:token+","+j,reach:reach})}}}}}(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token:Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==global&&(global.Prism=Prism)}).call(this,__webpack_require__(24))},2321:function(module,exports,__webpack_require__){"use strict";function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]},2322:function(module,exports,__webpack_require__){"use strict";function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]},2323:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(2324)).default;exports.default=_default},2324:function(module,exports,__webpack_require__){"use strict";function jsExtras(Prism){!function(Prism){function withId(source,flags){return RegExp(source.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]},2330:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(2331)).default;exports.default=_default},2331:function(module,exports,__webpack_require__){"use strict";function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+?\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:insideString}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=48&&code<=57}},1374:function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},1375:function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},1376:function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,(function(){return space})).replace(//g,(function(){return braces})).replace(//g,(function(){return spread})),RegExp(source,flags)}spread=re(spread).source,Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.jsx.tag.inside.comment=javascript.comment,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism.languages.jsx}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism.languages.jsx},alias:"language-javascript"}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},1377:function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),Prism.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)(?!\s*[^\s_${}*a-zA-Z\xA0-\uFFFF])/),delete Prism.languages.typescript.parameter;var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},1379:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1364);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _highlight=_interopRequireDefault(__webpack_require__(1380)),_core=_interopRequireDefault(__webpack_require__(1385)),SyntaxHighlighter=(0,_highlight.default)(_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return _core.default.register(language)};var _default=SyntaxHighlighter;exports.default=_default},1380:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1364);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function _default(defaultAstGenerator,defaultStyle){return function SyntaxHighlighter(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=void 0===_ref7$style?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=void 0===_ref7$customStyle?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=void 0===_ref7$codeTagProps?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=void 0===_ref7$useInlineStyles||_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=void 0!==_ref7$showLineNumbers&&_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=void 0!==_ref7$showInlineLineN&&_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=void 0===_ref7$startingLineNum?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=void 0===_ref7$lineNumberStyle?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=void 0===_ref7$lineProps?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=void 0===_ref7$PreTag?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=void 0===_ref7$CodeTag?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=void 0===_ref7$code?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,_objectWithoutProperties2.default)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?_react.default.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return _react.default.createElement(PreTag,preProps,allLineNumbers,_react.default.createElement(CodeTag,codeTagProps,code));wrapLines=!(!renderer||void 0!==wrapLines)||wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=(0,_checkForListedLanguage.default)(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:className})}function createUnwrappedLine(children,lineNumber){if(lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}function createLine(children,lineNumber){var className=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children,lineNumber,className):createUnwrappedLine(children,lineNumber)}var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};for(;index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target},module.exports.default=module.exports,module.exports.__esModule=!0},1382:function(module,exports){module.exports=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target},module.exports.default=module.exports,module.exports.__esModule=!0},1383:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1364);Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStyleObject=createStyleObject,exports.createClassNameString=createClassNameString,exports.createChildren=createChildren,exports.default=createElement;var _extends2=_interopRequireDefault(__webpack_require__(561)),_objectSpread2=_interopRequireDefault(__webpack_require__(1368)),_react=_interopRequireDefault(__webpack_require__(0));function createStyleObject(classNames){var elementStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},1384:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;exports.default=function _default(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)}},1385:function(module,exports,__webpack_require__){"use strict";(function(global){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(1386),decode=__webpack_require__(1401),Prism=__webpack_require__(1407),markup=__webpack_require__(1374),css=__webpack_require__(1375),clike=__webpack_require__(1408),js=__webpack_require__(1409);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash.test(value))return property;"-"!==(value=value.replace(cap,kebab)).charAt(0)&&(value="-"+value);return"data"+value}(value),Type=DefinedInfo);return new Type(prop,value)};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}},1398:function(module,exports,__webpack_require__){"use strict";module.exports=function parse(selector,defaultTagName){var className,type,code,subvalue,lastIndex,value=selector||"",name=defaultTagName||"div",props={},index=-1,length=value.length;for(;++index<=length;)(code=value.charCodeAt(index))&&46!==code&&35!==code||((subvalue=value.slice(lastIndex,index))&&(46===type?className?className.push(subvalue):(className=[subvalue],props.className=className):35===type?props.id=subvalue:name=subvalue),lastIndex=index+1,type=code);return{type:"element",tagName:name,properties:props,children:[]}}},1399:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var input=String(value||"").trim();return""===input?[]:input.split(whiteSpace)},exports.stringify=function stringify(values){return values.join(" ").trim()};var whiteSpace=/[ \t\n\r\f]+/g},1400:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var val,values=[],input=String(value||""),index=input.indexOf(","),lastIndex=0,end=!1;for(;!end;)-1===index&&(index=input.length,end=!0),!(val=input.slice(lastIndex,index).trim())&&end||values.push(val),lastIndex=index+1,index=input.indexOf(",",lastIndex);return values},exports.stringify=function stringify(values,options){var settings=options||{},left=!1===settings.padLeft?"":" ",right=settings.padRight?" ":"";""===values[values.length-1]&&(values=values.concat(""));return values.join(right+","+left).trim()}},1401:function(module,exports,__webpack_require__){"use strict";var legacy=__webpack_require__(1402),invalid=__webpack_require__(1403),decimal=__webpack_require__(1373),hexadecimal=__webpack_require__(1404),alphanumerical=__webpack_require__(1405),decodeEntity=__webpack_require__(446);module.exports=function parseEntities(value,options){var option,key,settings={};options||(options={});for(key in defaults)option=options[key],settings[key]=null==option?defaults[key]:option;(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start);return function parse(value,settings){var entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end,additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[];"string"==typeof additional&&(additional=additional.charCodeAt(0));prev=now(),warning=handleWarning?function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}:noop,index--,length++;for(;++index=55296&&code<=57343||code>1114111?(warning(7,diff),reference=fromCharCode(65533)):reference in invalid?(warning(6,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(6,diff),reference>65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();var code;return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",bases={hexadecimal:16,decimal:10},tests={};tests[name]=alphanumerical,tests.decimal=decimal,tests[hexa]=hexadecimal;var messages={};function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"},1402:function(module){module.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},1403:function(module){module.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},1404:function(module,exports,__webpack_require__){"use strict";module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},1405:function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(1406),decimal=__webpack_require__(1373);module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}},1406:function(module,exports,__webpack_require__){"use strict";module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},1407:function(module,exports,__webpack_require__){(function(global){var Prism=function(_self){var lang=/\blang(?:uage)?-([\w-]+)\b/i,uniqueId=0,plainTextGrammar={},_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind)))break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);if(currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach:reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token:Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==global&&(global.Prism=Prism)}).call(this,__webpack_require__(118))},1408:function(module,exports,__webpack_require__){"use strict";function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]},1409:function(module,exports,__webpack_require__){"use strict";function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]},1410:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1364);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(1411)).default;exports.default=_default},1411:function(module,exports,__webpack_require__){"use strict";function jsExtras(Prism){!function(Prism){function withId(source,flags){return RegExp(source.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]},1417:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(1364);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(1418)).default;exports.default=_default},1418:function(module,exports,__webpack_require__){"use strict";function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike","code-snippet"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:insideString.entity}}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i0)){var mutationEnd=findClosingBracket(/^\{$/,/^\}$/);if(-1===mutationEnd)continue;for(var i=currentIndex;i=0&&addAlias(varToken,"variable-input")}}}}function getToken(offset){return validTokens[currentIndex+offset]}function isTokenType(types,offset){offset=offset||0;for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=48&&code<=57}},3e3:function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},3001:function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/("|')(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:RegExp("[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),string:{pattern:string,greedy:!0},property:/(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,important:/!important\b/i,function:/[-a-z0-9]+(?=\()/i,punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),Prism.languages.insertBefore("inside","attr-value",{"style-attr":{pattern:/(^|["'\s])style\s*=\s*(?:"[^"]*"|'[^']*')/i,lookbehind:!0,inside:{"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{style:{pattern:/(["'])[\s\S]+(?=["']$)/,lookbehind:!0,alias:"language-css",inside:Prism.languages.css},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},"attr-name":/^style/i}}},markup.tag))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},3002:function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript);Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=/<\/?(?:[\w.:-]+(?:\s+(?:[\w.:$-]+(?:=(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s{'">=]+|\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\}))?|\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}))*\s*\/?)?>/i,Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[^]|[^\\"])*"|'(?:\\[^]|[^\\'])*'|[^\s'">]+)/i,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:/\{\s*\.{3}\s*[a-z_$][\w$]*(?:\.[a-z_$][\w$]*)*\s*\}/,inside:{punctuation:/\.{3}|[{}.]/,"attr-value":/\w+/}}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","attr-value",{script:{pattern:/=(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])+\})/i,inside:{"script-punctuation":{pattern:/^=(?={)/,alias:"punctuation"},rest:Prism.languages.jsx},alias:"language-javascript"}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},3003:function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},keyword:/\b(?:abstract|as|asserts|async|await|break|case|catch|class|const|constructor|continue|debugger|declare|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|is|keyof|let|module|namespace|new|null|of|package|private|protected|public|readonly|return|require|set|static|super|switch|this|throw|try|type|typeof|undefined|var|void|while|with|yield)\b/,builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),delete Prism.languages.typescript.parameter;var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},3007:function(module,exports,__webpack_require__){var runtime=function(exports){"use strict";var Op=Object.prototype,hasOwn=Op.hasOwnProperty,$Symbol="function"==typeof Symbol?Symbol:{},iteratorSymbol=$Symbol.iterator||"@@iterator",asyncIteratorSymbol=$Symbol.asyncIterator||"@@asyncIterator",toStringTagSymbol=$Symbol.toStringTag||"@@toStringTag";function define(obj,key,value){return Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}),obj[key]}try{define({},"")}catch(err){define=function(obj,key,value){return obj[key]=value}}function wrap(innerFn,outerFn,self,tryLocsList){var protoGenerator=outerFn&&outerFn.prototype instanceof Generator?outerFn:Generator,generator=Object.create(protoGenerator.prototype),context=new Context(tryLocsList||[]);return generator._invoke=function makeInvokeMethod(innerFn,self,context){var state="suspendedStart";return function invoke(method,arg){if("executing"===state)throw new Error("Generator is already running");if("completed"===state){if("throw"===method)throw arg;return doneResult()}for(context.method=method,context.arg=arg;;){var delegate=context.delegate;if(delegate){var delegateResult=maybeInvokeDelegate(delegate,context);if(delegateResult){if(delegateResult===ContinueSentinel)continue;return delegateResult}}if("next"===context.method)context.sent=context._sent=context.arg;else if("throw"===context.method){if("suspendedStart"===state)throw state="completed",context.arg;context.dispatchException(context.arg)}else"return"===context.method&&context.abrupt("return",context.arg);state="executing";var record=tryCatch(innerFn,self,context);if("normal"===record.type){if(state=context.done?"completed":"suspendedYield",record.arg===ContinueSentinel)continue;return{value:record.arg,done:context.done}}"throw"===record.type&&(state="completed",context.method="throw",context.arg=record.arg)}}}(innerFn,self,context),generator}function tryCatch(fn,obj,arg){try{return{type:"normal",arg:fn.call(obj,arg)}}catch(err){return{type:"throw",arg:err}}}exports.wrap=wrap;var ContinueSentinel={};function Generator(){}function GeneratorFunction(){}function GeneratorFunctionPrototype(){}var IteratorPrototype={};IteratorPrototype[iteratorSymbol]=function(){return this};var getProto=Object.getPrototypeOf,NativeIteratorPrototype=getProto&&getProto(getProto(values([])));NativeIteratorPrototype&&NativeIteratorPrototype!==Op&&hasOwn.call(NativeIteratorPrototype,iteratorSymbol)&&(IteratorPrototype=NativeIteratorPrototype);var Gp=GeneratorFunctionPrototype.prototype=Generator.prototype=Object.create(IteratorPrototype);function defineIteratorMethods(prototype){["next","throw","return"].forEach((function(method){define(prototype,method,(function(arg){return this._invoke(method,arg)}))}))}function AsyncIterator(generator,PromiseImpl){var previousPromise;this._invoke=function enqueue(method,arg){function callInvokeWithMethodAndArg(){return new PromiseImpl((function(resolve,reject){!function invoke(method,arg,resolve,reject){var record=tryCatch(generator[method],generator,arg);if("throw"!==record.type){var result=record.arg,value=result.value;return value&&"object"==typeof value&&hasOwn.call(value,"__await")?PromiseImpl.resolve(value.__await).then((function(value){invoke("next",value,resolve,reject)}),(function(err){invoke("throw",err,resolve,reject)})):PromiseImpl.resolve(value).then((function(unwrapped){result.value=unwrapped,resolve(result)}),(function(error){return invoke("throw",error,resolve,reject)}))}reject(record.arg)}(method,arg,resolve,reject)}))}return previousPromise=previousPromise?previousPromise.then(callInvokeWithMethodAndArg,callInvokeWithMethodAndArg):callInvokeWithMethodAndArg()}}function maybeInvokeDelegate(delegate,context){var method=delegate.iterator[context.method];if(void 0===method){if(context.delegate=null,"throw"===context.method){if(delegate.iterator.return&&(context.method="return",context.arg=void 0,maybeInvokeDelegate(delegate,context),"throw"===context.method))return ContinueSentinel;context.method="throw",context.arg=new TypeError("The iterator does not provide a 'throw' method")}return ContinueSentinel}var record=tryCatch(method,delegate.iterator,context.arg);if("throw"===record.type)return context.method="throw",context.arg=record.arg,context.delegate=null,ContinueSentinel;var info=record.arg;return info?info.done?(context[delegate.resultName]=info.value,context.next=delegate.nextLoc,"return"!==context.method&&(context.method="next",context.arg=void 0),context.delegate=null,ContinueSentinel):info:(context.method="throw",context.arg=new TypeError("iterator result is not an object"),context.delegate=null,ContinueSentinel)}function pushTryEntry(locs){var entry={tryLoc:locs[0]};1 in locs&&(entry.catchLoc=locs[1]),2 in locs&&(entry.finallyLoc=locs[2],entry.afterLoc=locs[3]),this.tryEntries.push(entry)}function resetTryEntry(entry){var record=entry.completion||{};record.type="normal",delete record.arg,entry.completion=record}function Context(tryLocsList){this.tryEntries=[{tryLoc:"root"}],tryLocsList.forEach(pushTryEntry,this),this.reset(!0)}function values(iterable){if(iterable){var iteratorMethod=iterable[iteratorSymbol];if(iteratorMethod)return iteratorMethod.call(iterable);if("function"==typeof iterable.next)return iterable;if(!isNaN(iterable.length)){var i=-1,next=function next(){for(;++i=0;--i){var entry=this.tryEntries[i],record=entry.completion;if("root"===entry.tryLoc)return handle("end");if(entry.tryLoc<=this.prev){var hasCatch=hasOwn.call(entry,"catchLoc"),hasFinally=hasOwn.call(entry,"finallyLoc");if(hasCatch&&hasFinally){if(this.prev=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc<=this.prev&&hasOwn.call(entry,"finallyLoc")&&this.prev=0;--i){var entry=this.tryEntries[i];if(entry.finallyLoc===finallyLoc)return this.complete(entry.completion,entry.afterLoc),resetTryEntry(entry),ContinueSentinel}},catch:function(tryLoc){for(var i=this.tryEntries.length-1;i>=0;--i){var entry=this.tryEntries[i];if(entry.tryLoc===tryLoc){var record=entry.completion;if("throw"===record.type){var thrown=record.arg;resetTryEntry(entry)}return thrown}}throw new Error("illegal catch attempt")},delegateYield:function(iterable,resultName,nextLoc){return this.delegate={iterator:values(iterable),resultName:resultName,nextLoc:nextLoc},"next"===this.method&&(this.arg=void 0),ContinueSentinel}},exports}(module.exports);try{regeneratorRuntime=runtime}catch(accidentalStrictMode){Function("r","regeneratorRuntime = r")(runtime)}},3008:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2990);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _highlight=_interopRequireDefault(__webpack_require__(3009)),_core=_interopRequireDefault(__webpack_require__(3014)),SyntaxHighlighter=(0,_highlight.default)(_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return _core.default.register(language)};var _default=SyntaxHighlighter;exports.default=_default},3009:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2990);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function _default(defaultAstGenerator,defaultStyle){return function SyntaxHighlighter(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=void 0===_ref7$style?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=void 0===_ref7$customStyle?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=void 0===_ref7$codeTagProps?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=void 0===_ref7$useInlineStyles||_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=void 0!==_ref7$showLineNumbers&&_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=void 0!==_ref7$showInlineLineN&&_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=void 0===_ref7$startingLineNum?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=void 0===_ref7$lineNumberStyle?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=void 0===_ref7$lineProps?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=void 0===_ref7$PreTag?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=void 0===_ref7$CodeTag?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=void 0===_ref7$code?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,_objectWithoutProperties2.default)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?_react.default.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return _react.default.createElement(PreTag,preProps,allLineNumbers,_react.default.createElement(CodeTag,codeTagProps,code));wrapLines=!(!renderer||void 0!==wrapLines)||wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=(0,_checkForListedLanguage.default)(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:className})}function createUnwrappedLine(children,lineNumber){if(lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}function createLine(children,lineNumber){var className=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children,lineNumber,className):createUnwrappedLine(children,lineNumber)}var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};for(;index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}},3011:function(module,exports){module.exports=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}},3012:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2990);Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStyleObject=createStyleObject,exports.createClassNameString=createClassNameString,exports.createChildren=createChildren,exports.default=createElement;var _extends2=_interopRequireDefault(__webpack_require__(1362)),_objectSpread2=_interopRequireDefault(__webpack_require__(2994)),_react=_interopRequireDefault(__webpack_require__(0));function createStyleObject(classNames){var elementStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},3013:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;exports.default=function _default(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)}},3014:function(module,exports,__webpack_require__){"use strict";(function(global){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(3015),decode=__webpack_require__(3030),Prism=__webpack_require__(3037),markup=__webpack_require__(3e3),css=__webpack_require__(3001),clike=__webpack_require__(3038),js=__webpack_require__(3039);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash.test(value))return property;"-"!==(value=value.replace(cap,kebab)).charAt(0)&&(value="-"+value);return"data"+value}(value),Type=DefinedInfo);return new Type(prop,value)};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}},3027:function(module,exports,__webpack_require__){"use strict";module.exports=function parse(selector,defaultTagName){var className,type,code,subvalue,lastIndex,value=selector||"",name=defaultTagName||"div",props={},index=-1,length=value.length;for(;++index<=length;)(code=value.charCodeAt(index))&&46!==code&&35!==code||((subvalue=value.slice(lastIndex,index))&&(46===type?className?className.push(subvalue):(className=[subvalue],props.className=className):35===type?props.id=subvalue:name=subvalue),lastIndex=index+1,type=code);return{type:"element",tagName:name,properties:props,children:[]}}},3028:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var input=String(value||"").trim();return""===input?[]:input.split(whiteSpace)},exports.stringify=function stringify(values){return values.join(" ").trim()};var whiteSpace=/[ \t\n\r\f]+/g},3029:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var val,values=[],input=String(value||""),index=input.indexOf(","),lastIndex=0,end=!1;for(;!end;)-1===index&&(index=input.length,end=!0),!(val=input.slice(lastIndex,index).trim())&&end||values.push(val),lastIndex=index+1,index=input.indexOf(",",lastIndex);return values},exports.stringify=function stringify(values,options){var settings=options||{},left=!1===settings.padLeft?"":" ",right=settings.padRight?" ":"";""===values[values.length-1]&&(values=values.concat(""));return values.join(right+","+left).trim()}},3030:function(module,exports,__webpack_require__){"use strict";var legacy=__webpack_require__(3031),invalid=__webpack_require__(3032),decimal=__webpack_require__(2999),hexadecimal=__webpack_require__(3033),alphanumerical=__webpack_require__(3034),decodeEntity=__webpack_require__(3036);module.exports=function parseEntities(value,options){var option,key,settings={};options||(options={});for(key in defaults)option=options[key],settings[key]=null==option?defaults[key]:option;(settings.position.indent||settings.position.start)&&(settings.indent=settings.position.indent||[],settings.position=settings.position.start);return function parse(value,settings){var entityCharacters,namedEntity,terminated,characters,character,reference,following,warning,reason,output,entity,begin,start,type,test,prev,next,diff,end,additional=settings.additional,nonTerminated=settings.nonTerminated,handleText=settings.text,handleReference=settings.reference,handleWarning=settings.warning,textContext=settings.textContext,referenceContext=settings.referenceContext,warningContext=settings.warningContext,pos=settings.position,indent=settings.indent||[],length=value.length,index=0,lines=-1,column=pos.column||1,line=pos.line||1,queue="",result=[];"string"==typeof additional&&(additional=additional.charCodeAt(0));prev=now(),warning=handleWarning?function parseError(code,offset){var position=now();position.column+=offset,position.offset+=offset,handleWarning.call(warningContext,messages[code],position,code)}:noop,index--,length++;for(;++index=55296&&code<=57343||code>1114111?(warning(7,diff),reference=fromCharCode(65533)):reference in invalid?(warning(6,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(6,diff),reference>65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();var code;return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",bases={hexadecimal:16,decimal:10},tests={};tests[name]=alphanumerical,tests.decimal=decimal,tests[hexa]=hexadecimal;var messages={};function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"},3031:function(module){module.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},3032:function(module){module.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},3033:function(module,exports,__webpack_require__){"use strict";module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},3034:function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(3035),decimal=__webpack_require__(2999);module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}},3035:function(module,exports,__webpack_require__){"use strict";module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},3036:function(module,exports,__webpack_require__){"use strict";var el;module.exports=function decodeEntity(characters){var char,entity="&"+characters+";";if((el=el||document.createElement("i")).innerHTML=entity,59===(char=el.textContent).charCodeAt(char.length-1)&&"semi"!==characters)return!1;return char!==entity&&char}},3037:function(module,exports,__webpack_require__){(function(global){var Prism=function(_self){var lang=/\blang(?:uage)?-([\w-]+)\b/i,uniqueId=0,_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind)))break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1&&matchGrammar(text,tokenList,grammar,currentNode.prev,pos,{cause:token+","+j,reach:reach})}}}}}(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token:Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==global&&(global.Prism=Prism)}).call(this,__webpack_require__(45))},3038:function(module,exports,__webpack_require__){"use strict";function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]},3039:function(module,exports,__webpack_require__){"use strict";function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|})\s*)(?:catch|finally)\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|for|from|function|(?:get|set)(?=\s*[\[$\w\xA0-\uFFFF])|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*]|\\.|[^/\\\[\r\n])+\/[gimyus]{0,6}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-flags":/[a-z]+$/,"regex-delimiter":/^\/|\/$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{"template-string":{pattern:/`(?:\\[\s\S]|\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}|(?!\${)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\${(?:[^{}]|{(?:[^{}]|{[^}]*})*})+}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\${|}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]},3040:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2990);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(3041)).default;exports.default=_default},3041:function(module,exports,__webpack_require__){"use strict";function jsExtras(Prism){!function(Prism){function withId(source,flags){return RegExp(source.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|]|}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.?\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]},3047:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2990);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(3048)).default;exports.default=_default},3048:function(module,exports,__webpack_require__){"use strict";function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?!\n|\r\n?))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/``.+?``|`[^`\r\n]+`/,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+?\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i>=?|<=?|>=?|==?|&&?|&=|\^=?|\|\|?|\|=|\?|:/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)\w+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b\w+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+?)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)(["'])(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|(?!\2)[^\\`$])*\2/,lookbehind:!0,greedy:!0,inside:insideString}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|==?|!=?|=~|<<[<-]?|[&\d]?>>|\d?[<>]&?|&[>&]?|\|[&|]?|<=?|>=?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function asyncGeneratorStep(gen,resolve,reject,_next,_throw,key,arg){try{var info=gen[key](arg),value=info.value}catch(error){return void reject(error)}info.done?resolve(value):Promise.resolve(value).then(_next,_throw)}function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=48&&code<=57}},2290:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _highlight=_interopRequireDefault(__webpack_require__(2291)),_core=_interopRequireDefault(__webpack_require__(579)),SyntaxHighlighter=(0,_highlight.default)(_core.default,{});SyntaxHighlighter.registerLanguage=function(_,language){return _core.default.register(language)};var _default=SyntaxHighlighter;exports.default=_default},2291:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=function _default(defaultAstGenerator,defaultStyle){return function SyntaxHighlighter(_ref7){var language=_ref7.language,children=_ref7.children,_ref7$style=_ref7.style,style=void 0===_ref7$style?defaultStyle:_ref7$style,_ref7$customStyle=_ref7.customStyle,customStyle=void 0===_ref7$customStyle?{}:_ref7$customStyle,_ref7$codeTagProps=_ref7.codeTagProps,codeTagProps=void 0===_ref7$codeTagProps?{className:language?"language-".concat(language):void 0,style:style['code[class*="language-"]']}:_ref7$codeTagProps,_ref7$useInlineStyles=_ref7.useInlineStyles,useInlineStyles=void 0===_ref7$useInlineStyles||_ref7$useInlineStyles,_ref7$showLineNumbers=_ref7.showLineNumbers,showLineNumbers=void 0!==_ref7$showLineNumbers&&_ref7$showLineNumbers,_ref7$showInlineLineN=_ref7.showInlineLineNumbers,showInlineLineNumbers=void 0!==_ref7$showInlineLineN&&_ref7$showInlineLineN,_ref7$startingLineNum=_ref7.startingLineNumber,startingLineNumber=void 0===_ref7$startingLineNum?1:_ref7$startingLineNum,lineNumberContainerStyle=_ref7.lineNumberContainerStyle,_ref7$lineNumberStyle=_ref7.lineNumberStyle,lineNumberStyle=void 0===_ref7$lineNumberStyle?{}:_ref7$lineNumberStyle,wrapLines=_ref7.wrapLines,_ref7$lineProps=_ref7.lineProps,lineProps=void 0===_ref7$lineProps?{}:_ref7$lineProps,renderer=_ref7.renderer,_ref7$PreTag=_ref7.PreTag,PreTag=void 0===_ref7$PreTag?"pre":_ref7$PreTag,_ref7$CodeTag=_ref7.CodeTag,CodeTag=void 0===_ref7$CodeTag?"code":_ref7$CodeTag,_ref7$code=_ref7.code,code=void 0===_ref7$code?Array.isArray(children)?children[0]:children:_ref7$code,astGenerator=_ref7.astGenerator,rest=(0,_objectWithoutProperties2.default)(_ref7,["language","children","style","customStyle","codeTagProps","useInlineStyles","showLineNumbers","showInlineLineNumbers","startingLineNumber","lineNumberContainerStyle","lineNumberStyle","wrapLines","lineProps","renderer","PreTag","CodeTag","code","astGenerator"]);astGenerator=astGenerator||defaultAstGenerator;var allLineNumbers=showLineNumbers?_react.default.createElement(AllLineNumbers,{containerStyle:lineNumberContainerStyle,codeStyle:codeTagProps.style||{},numberStyle:lineNumberStyle,startingLineNumber:startingLineNumber,codeString:code}):null,defaultPreStyle=style.hljs||style['pre[class*="language-"]']||{backgroundColor:"#fff"},generatorClassName=isHighlightJs(astGenerator)?"hljs":"prismjs",preProps=useInlineStyles?Object.assign({},rest,{style:Object.assign({},defaultPreStyle,customStyle)}):Object.assign({},rest,{className:rest.className?"".concat(generatorClassName," ").concat(rest.className):generatorClassName,style:Object.assign({},customStyle)});if(!astGenerator)return _react.default.createElement(PreTag,preProps,allLineNumbers,_react.default.createElement(CodeTag,codeTagProps,code));wrapLines=!(!renderer||void 0!==wrapLines)||wrapLines,renderer=renderer||defaultRenderer;var defaultCodeValue=[{type:"text",value:code}],codeTree=function getCodeTree(_ref6){var astGenerator=_ref6.astGenerator,language=_ref6.language,code=_ref6.code,defaultCodeValue=_ref6.defaultCodeValue;if(isHighlightJs(astGenerator)){var hasLanguage=(0,_checkForListedLanguage.default)(astGenerator,language);return"text"===language?{value:defaultCodeValue,language:"text"}:hasLanguage?astGenerator.highlight(language,code):astGenerator.highlightAuto(code)}try{return language&&"text"!==language?{value:astGenerator.highlight(code,language)}:{value:defaultCodeValue}}catch(e){return{value:defaultCodeValue}}}({astGenerator:astGenerator,language:language,code:code,defaultCodeValue:defaultCodeValue});null===codeTree.language&&(codeTree.value=defaultCodeValue);var rows=function processLines(codeTree,wrapLines,lineProps,showLineNumbers,showInlineLineNumbers,startingLineNumber,largestLineNumber,lineNumberStyle){var _ref4,tree=function flattenCodeTree(tree){for(var className=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],newTree=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],i=0;i2&&void 0!==arguments[2]?arguments[2]:[];return createLineElement({children:children,lineNumber:lineNumber,lineNumberStyle:lineNumberStyle,largestLineNumber:largestLineNumber,showInlineLineNumbers:showInlineLineNumbers,lineProps:lineProps,className:className})}function createUnwrappedLine(children,lineNumber){if(lineNumber&&showInlineLineNumbers){var inlineLineNumberStyle=assembleLineNumberStyles(lineNumberStyle,lineNumber,largestLineNumber);children.unshift(getInlineLineNumber(lineNumber,inlineLineNumberStyle))}return children}function createLine(children,lineNumber){var className=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[];return wrapLines||className.length>0?createWrappedLine(children,lineNumber,className):createUnwrappedLine(children,lineNumber)}var _loop=function _loop(){var node=tree[index],value=node.children[0].value;if(function getNewLines(str){return str.match(newLineRegex)}(value)){var splitValue=value.split("\n");splitValue.forEach((function(text,i){var lineNumber=showLineNumbers&&newTree.length+startingLineNumber,newChild={type:"text",value:"".concat(text,"\n")};if(0===i){var _line=createLine(tree.slice(lastLineBreakIndex+1,index).concat(createLineElement({children:[newChild],className:node.properties.className})),lineNumber);newTree.push(_line)}else if(i===splitValue.length-1){if(tree[index+1]&&tree[index+1].children&&tree[index+1].children[0]){var newElem=createLineElement({children:[{type:"text",value:"".concat(text)}],className:node.properties.className});tree.splice(index+1,0,newElem)}else{var _line2=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line2)}}else{var _line3=createLine([newChild],lineNumber,node.properties.className);newTree.push(_line3)}})),lastLineBreakIndex=index}index++};for(;index=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target},module.exports.default=module.exports,module.exports.__esModule=!0},2293:function(module,exports){module.exports=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target},module.exports.default=module.exports,module.exports.__esModule=!0},2294:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.createStyleObject=createStyleObject,exports.createClassNameString=createClassNameString,exports.createChildren=createChildren,exports.default=createElement;var _extends2=_interopRequireDefault(__webpack_require__(1064)),_objectSpread2=_interopRequireDefault(__webpack_require__(2275)),_react=_interopRequireDefault(__webpack_require__(0));function createStyleObject(classNames){var elementStyle=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},stylesheet=arguments.length>2?arguments[2]:void 0;return classNames.reduce((function(styleObject,className){return(0,_objectSpread2.default)({},styleObject,stylesheet[className])}),elementStyle)}function createClassNameString(classNames){return classNames.join(" ")}function createChildren(stylesheet,useInlineStyles){var childrenCount=0;return function(children){return childrenCount+=1,children.map((function(child,i){return createElement({node:child,stylesheet:stylesheet,useInlineStyles:useInlineStyles,key:"code-segment-".concat(childrenCount,"-").concat(i)})}))}}function createElement(_ref){var node=_ref.node,stylesheet=_ref.stylesheet,_ref$style=_ref.style,style=void 0===_ref$style?{}:_ref$style,useInlineStyles=_ref.useInlineStyles,key=_ref.key,properties=node.properties,type=node.type,TagName=node.tagName,value=node.value;if("text"===type)return value;if(TagName){var childrenCreator=createChildren(stylesheet,useInlineStyles),nonStylesheetClassNames=useInlineStyles&&properties.className&&properties.className.filter((function(className){return!stylesheet[className]})),className=nonStylesheetClassNames&&nonStylesheetClassNames.length?nonStylesheetClassNames:void 0,props=useInlineStyles?(0,_objectSpread2.default)({},properties,{className:className&&createClassNameString(className)},{style:createStyleObject(properties.className,Object.assign({},properties.style,style),stylesheet)}):(0,_objectSpread2.default)({},properties,{className:createClassNameString(properties.className)}),children=childrenCreator(node.children);return _react.default.createElement(TagName,(0,_extends2.default)({key:key},props),children)}}},2295:function(module,exports,__webpack_require__){"use strict";Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;exports.default=function _default(astGenerator,language){return-1!==astGenerator.listLanguages().indexOf(language)}},2299:function(module,exports,__webpack_require__){"use strict";var merge=__webpack_require__(2300),xlink=__webpack_require__(2302),xml=__webpack_require__(2303),xmlns=__webpack_require__(2304),aria=__webpack_require__(2306),html=__webpack_require__(2307);module.exports=merge([xml,xlink,xmlns,aria,html])},2300:function(module,exports,__webpack_require__){"use strict";var xtend=__webpack_require__(2301),Schema=__webpack_require__(2276);module.exports=function merge(definitions){var info,space,length=definitions.length,property=[],normal=[],index=-1;for(;++index4&&"data"===normal.slice(0,4)&&valid.test(value)&&("-"===value.charAt(4)?prop=function datasetToProperty(attribute){var value=attribute.slice(5).replace(dash,camelcase);return"data"+value.charAt(0).toUpperCase()+value.slice(1)}(value):value=function datasetToAttribute(property){var value=property.slice(4);if(dash.test(value))return property;"-"!==(value=value.replace(cap,kebab)).charAt(0)&&(value="-"+value);return"data"+value}(value),Type=DefinedInfo);return new Type(prop,value)};var valid=/^data[-\w.:]+$/i,dash=/-[a-z]/g,cap=/[A-Z]/g;function kebab($0){return"-"+$0.toLowerCase()}function camelcase($0){return $0.charAt(1).toUpperCase()}},2310:function(module,exports,__webpack_require__){"use strict";module.exports=function parse(selector,defaultTagName){var className,type,code,subvalue,lastIndex,value=selector||"",name=defaultTagName||"div",props={},index=-1,length=value.length;for(;++index<=length;)(code=value.charCodeAt(index))&&46!==code&&35!==code||((subvalue=value.slice(lastIndex,index))&&(46===type?className?className.push(subvalue):(className=[subvalue],props.className=className):35===type?props.id=subvalue:name=subvalue),lastIndex=index+1,type=code);return{type:"element",tagName:name,properties:props,children:[]}}},2311:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var input=String(value||"").trim();return""===input?[]:input.split(whiteSpace)},exports.stringify=function stringify(values){return values.join(" ").trim()};var whiteSpace=/[ \t\n\r\f]+/g},2312:function(module,exports,__webpack_require__){"use strict";exports.parse=function parse(value){var val,values=[],input=String(value||""),index=input.indexOf(","),lastIndex=0,end=!1;for(;!end;)-1===index&&(index=input.length,end=!0),!(val=input.slice(lastIndex,index).trim())&&end||values.push(val),lastIndex=index+1,index=input.indexOf(",",lastIndex);return values},exports.stringify=function stringify(values,options){var settings=options||{},left=!1===settings.padLeft?"":" ",right=settings.padRight?" ":"";""===values[values.length-1]&&(values=values.concat(""));return values.join(right+","+left).trim()}},2314:function(module){module.exports=JSON.parse('{"AElig":"Æ","AMP":"&","Aacute":"Á","Acirc":"Â","Agrave":"À","Aring":"Å","Atilde":"Ã","Auml":"Ä","COPY":"©","Ccedil":"Ç","ETH":"Ð","Eacute":"É","Ecirc":"Ê","Egrave":"È","Euml":"Ë","GT":">","Iacute":"Í","Icirc":"Î","Igrave":"Ì","Iuml":"Ï","LT":"<","Ntilde":"Ñ","Oacute":"Ó","Ocirc":"Ô","Ograve":"Ò","Oslash":"Ø","Otilde":"Õ","Ouml":"Ö","QUOT":"\\"","REG":"®","THORN":"Þ","Uacute":"Ú","Ucirc":"Û","Ugrave":"Ù","Uuml":"Ü","Yacute":"Ý","aacute":"á","acirc":"â","acute":"´","aelig":"æ","agrave":"à","amp":"&","aring":"å","atilde":"ã","auml":"ä","brvbar":"¦","ccedil":"ç","cedil":"¸","cent":"¢","copy":"©","curren":"¤","deg":"°","divide":"÷","eacute":"é","ecirc":"ê","egrave":"è","eth":"ð","euml":"ë","frac12":"½","frac14":"¼","frac34":"¾","gt":">","iacute":"í","icirc":"î","iexcl":"¡","igrave":"ì","iquest":"¿","iuml":"ï","laquo":"«","lt":"<","macr":"¯","micro":"µ","middot":"·","nbsp":" ","not":"¬","ntilde":"ñ","oacute":"ó","ocirc":"ô","ograve":"ò","ordf":"ª","ordm":"º","oslash":"ø","otilde":"õ","ouml":"ö","para":"¶","plusmn":"±","pound":"£","quot":"\\"","raquo":"»","reg":"®","sect":"§","shy":"­","sup1":"¹","sup2":"²","sup3":"³","szlig":"ß","thorn":"þ","times":"×","uacute":"ú","ucirc":"û","ugrave":"ù","uml":"¨","uuml":"ü","yacute":"ý","yen":"¥","yuml":"ÿ"}')},2315:function(module){module.exports=JSON.parse('{"0":"�","128":"€","130":"‚","131":"ƒ","132":"„","133":"…","134":"†","135":"‡","136":"ˆ","137":"‰","138":"Š","139":"‹","140":"Œ","142":"Ž","145":"‘","146":"’","147":"“","148":"”","149":"•","150":"–","151":"—","152":"˜","153":"™","154":"š","155":"›","156":"œ","158":"ž","159":"Ÿ"}')},2316:function(module,exports,__webpack_require__){"use strict";module.exports=function hexadecimal(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=102||code>=65&&code<=70||code>=48&&code<=57}},2317:function(module,exports,__webpack_require__){"use strict";var alphabetical=__webpack_require__(2318),decimal=__webpack_require__(2280);module.exports=function alphanumerical(character){return alphabetical(character)||decimal(character)}},2318:function(module,exports,__webpack_require__){"use strict";module.exports=function alphabetical(character){var code="string"==typeof character?character.charCodeAt(0):character;return code>=97&&code<=122||code>=65&&code<=90}},2323:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(588)).default;exports.default=_default},2325:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(575)).default;exports.default=_default},2326:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(589)).default;exports.default=_default},2328:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(590)).default;exports.default=_default},2330:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(591)).default;exports.default=_default},2332:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(592)).default;exports.default=_default},2334:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(574)).default;exports.default=_default},2335:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(573)).default;exports.default=_default},2336:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(593)).default;exports.default=_default},2338:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(576)).default;exports.default=_default},2339:function(module,exports,__webpack_require__){"use strict";var _interopRequireDefault=__webpack_require__(2271);Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _default=_interopRequireDefault(__webpack_require__(594)).default;exports.default=_default},573:function(module,exports,__webpack_require__){"use strict";function markup(Prism){Prism.languages.markup={comment://,prolog:/<\?[\s\S]+?\?>/,doctype:{pattern:/"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^$|[[\]]/,"doctype-tag":/^DOCTYPE/,name:/[^\s<>'"]+/}},cdata://i,tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},Prism.languages.markup.tag.inside["attr-value"].inside.entity=Prism.languages.markup.entity,Prism.languages.markup.doctype.inside["internal-subset"].inside=Prism.languages.markup,Prism.hooks.add("wrap",(function(env){"entity"===env.type&&(env.attributes.title=env.content.value.replace(/&/,"&"))})),Object.defineProperty(Prism.languages.markup.tag,"addInlined",{value:function addInlined(tagName,lang){var includedCdataInside={};includedCdataInside["language-"+lang]={pattern:/(^$)/i,lookbehind:!0,inside:Prism.languages[lang]},includedCdataInside.cdata=/^$/i;var inside={"included-cdata":{pattern://i,inside:includedCdataInside}};inside["language-"+lang]={pattern:/[\s\S]+/,inside:Prism.languages[lang]};var def={};def[tagName]={pattern:RegExp(/(<__[^>]*>)(?:))*\]\]>|(?!)/.source.replace(/__/g,(function(){return tagName})),"i"),lookbehind:!0,greedy:!0,inside:inside},Prism.languages.insertBefore("markup","cdata",def)}}),Object.defineProperty(Prism.languages.markup.tag,"addAttribute",{value:function(attrName,lang){Prism.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+attrName+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[lang,"language-"+lang],inside:Prism.languages[lang]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),Prism.languages.html=Prism.languages.markup,Prism.languages.mathml=Prism.languages.markup,Prism.languages.svg=Prism.languages.markup,Prism.languages.xml=Prism.languages.extend("markup",{}),Prism.languages.ssml=Prism.languages.xml,Prism.languages.atom=Prism.languages.xml,Prism.languages.rss=Prism.languages.xml}module.exports=markup,markup.displayName="markup",markup.aliases=["html","mathml","svg","xml","ssml","atom","rss"]},574:function(module,exports,__webpack_require__){"use strict";function css(Prism){!function(Prism){var string=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;Prism.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:/@[\w-](?:[^;{\s]|\s+(?![\s{]))*(?:;|(?=\s*\{))/,inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+string.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+string.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+string.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:string,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},Prism.languages.css.atrule.inside.rest=Prism.languages.css;var markup=Prism.languages.markup;markup&&(markup.tag.addInlined("style","css"),markup.tag.addAttribute("style","css"))}(Prism)}module.exports=css,css.displayName="css",css.aliases=[]},575:function(module,exports,__webpack_require__){"use strict";function jsx(Prism){!function(Prism){var javascript=Prism.util.clone(Prism.languages.javascript),space=/(?:\s|\/\/.*(?!.)|\/\*(?:[^*]|\*(?!\/))\*\/)/.source,braces=/(?:\{(?:\{(?:\{[^{}]*\}|[^{}])*\}|[^{}])*\})/.source,spread=/(?:\{*\.{3}(?:[^{}]|)*\})/.source;function re(source,flags){return source=source.replace(//g,(function(){return space})).replace(//g,(function(){return braces})).replace(//g,(function(){return spread})),RegExp(source,flags)}spread=re(spread).source,Prism.languages.jsx=Prism.languages.extend("markup",javascript),Prism.languages.jsx.tag.pattern=re(/<\/?(?:[\w.:-]+(?:+(?:[\w.:$-]+(?:=(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s{'"/>=]+|))?|))**\/?)?>/.source),Prism.languages.jsx.tag.inside.tag.pattern=/^<\/?[^\s>\/]*/i,Prism.languages.jsx.tag.inside["attr-value"].pattern=/=(?!\{)(?:"(?:\\[\s\S]|[^\\"])*"|'(?:\\[\s\S]|[^\\'])*'|[^\s'">]+)/i,Prism.languages.jsx.tag.inside.tag.inside["class-name"]=/^[A-Z]\w*(?:\.[A-Z]\w*)*$/,Prism.languages.jsx.tag.inside.comment=javascript.comment,Prism.languages.insertBefore("inside","attr-name",{spread:{pattern:re(//.source),inside:Prism.languages.jsx}},Prism.languages.jsx.tag),Prism.languages.insertBefore("inside","special-attr",{script:{pattern:re(/=/.source),inside:{"script-punctuation":{pattern:/^=(?=\{)/,alias:"punctuation"},rest:Prism.languages.jsx},alias:"language-javascript"}},Prism.languages.jsx.tag);var stringifyToken=function(token){return token?"string"==typeof token?token:"string"==typeof token.content?token.content:token.content.map(stringifyToken).join(""):""},walkTokens=function(tokens){for(var openedTags=[],i=0;i0&&openedTags[openedTags.length-1].tagName===stringifyToken(token.content[0].content[1])&&openedTags.pop():"/>"===token.content[token.content.length-1].content||openedTags.push({tagName:stringifyToken(token.content[0].content[1]),openedBraces:0}):openedTags.length>0&&"punctuation"===token.type&&"{"===token.content?openedTags[openedTags.length-1].openedBraces++:openedTags.length>0&&openedTags[openedTags.length-1].openedBraces>0&&"punctuation"===token.type&&"}"===token.content?openedTags[openedTags.length-1].openedBraces--:notTagNorBrace=!0),(notTagNorBrace||"string"==typeof token)&&openedTags.length>0&&0===openedTags[openedTags.length-1].openedBraces){var plainText=stringifyToken(token);i0&&("string"==typeof tokens[i-1]||"plain-text"===tokens[i-1].type)&&(plainText=stringifyToken(tokens[i-1])+plainText,tokens.splice(i-1,1),i--),tokens[i]=new Prism.Token("plain-text",plainText,null,plainText)}token.content&&"string"!=typeof token.content&&walkTokens(token.content)}};Prism.hooks.add("after-tokenize",(function(env){"jsx"!==env.language&&"tsx"!==env.language||walkTokens(env.tokens)}))}(Prism)}module.exports=jsx,jsx.displayName="jsx",jsx.aliases=[]},576:function(module,exports,__webpack_require__){"use strict";function typescript(Prism){!function(Prism){Prism.languages.typescript=Prism.languages.extend("javascript",{"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|type)\s+)(?!keyof\b)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?:\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>)?/,lookbehind:!0,greedy:!0,inside:null},builtin:/\b(?:string|Function|any|number|boolean|Array|symbol|console|Promise|unknown|never)\b/}),Prism.languages.typescript.keyword.push(/\b(?:abstract|as|declare|implements|is|keyof|readonly|require)\b/,/\b(?:asserts|infer|interface|module|namespace|type)(?!\s*[^\s_${}*a-zA-Z\xA0-\uFFFF])/),delete Prism.languages.typescript.parameter;var typeInside=Prism.languages.extend("typescript",{});delete typeInside["class-name"],Prism.languages.typescript["class-name"].inside=typeInside,Prism.languages.insertBefore("typescript","function",{decorator:{pattern:/@[$\w\xA0-\uFFFF]+/,inside:{at:{pattern:/^@/,alias:"operator"},function:/^[\s\S]+/}},"generic-function":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*<(?:[^<>]|<(?:[^<>]|<[^<>]*>)*>)*>(?=\s*\()/,greedy:!0,inside:{function:/^#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/,generic:{pattern:/<[\s\S]+/,alias:"class-name",inside:typeInside}}}}),Prism.languages.ts=Prism.languages.typescript}(Prism)}module.exports=typescript,typescript.displayName="typescript",typescript.aliases=["ts"]},579:function(module,exports,__webpack_require__){"use strict";(function(global){var ctx="object"==typeof globalThis?globalThis:"object"==typeof self?self:"object"==typeof window?window:"object"==typeof global?global:{},restore=function capture(){var defined="Prism"in ctx,current=defined?ctx.Prism:void 0;return function restore(){defined?ctx.Prism=current:delete ctx.Prism;defined=void 0,current=void 0}}();ctx.Prism={manual:!0,disableWorkerMessageHandler:!0};var h=__webpack_require__(580),decode=__webpack_require__(583),Prism=__webpack_require__(585),markup=__webpack_require__(573),css=__webpack_require__(574),clike=__webpack_require__(586),js=__webpack_require__(587);restore();var own={}.hasOwnProperty;function Refractor(){}Refractor.prototype=Prism;var refract=new Refractor;function register(grammar){if("function"!=typeof grammar||!grammar.displayName)throw new Error("Expected `function` for `grammar`, got `"+grammar+"`");void 0===refract.languages[grammar.displayName]&&grammar(refract)}module.exports=refract,refract.highlight=function highlight(value,name){var grammar,sup=Prism.highlight;if("string"!=typeof value)throw new Error("Expected `string` for `value`, got `"+value+"`");if("Object"===refract.util.type(name))grammar=name,name=null;else{if("string"!=typeof name)throw new Error("Expected `string` for `name`, got `"+name+"`");if(!own.call(refract.languages,name))throw new Error("Unknown language: `"+name+"` is not registered");grammar=refract.languages[name]}return sup.call(this,value,grammar,name)},refract.register=register,refract.alias=function alias(name,alias){var key,list,length,index,languages=refract.languages,map=name;alias&&((map={})[name]=alias);for(key in map)for(list=map[key],length=(list="string"==typeof list?[list]:list).length,index=-1;++index=55296&&code<=57343||code>1114111?(warning(7,diff),reference=fromCharCode(65533)):reference in invalid?(warning(6,diff),reference=invalid[reference]):(output="",disallowed(reference)&&warning(6,diff),reference>65535&&(output+=fromCharCode((reference-=65536)>>>10|55296),reference=56320|1023&reference),reference=output+fromCharCode(reference))):type!==name&&warning(4,diff)),reference?(flush(),prev=now(),index=end-1,column+=end-start+1,result.push(reference),(next=now()).offset++,handleReference&&handleReference.call(referenceContext,reference,{start:prev,end:next},value.slice(start-1,end)),prev=next):(characters=value.slice(start-1,end),queue+=characters,column+=characters.length,index=end-1)}else 10===character&&(line++,lines++,column=0),character==character?(queue+=fromCharCode(character),column++):flush();var code;return result.join("");function now(){return{line:line,column:column,offset:index+(pos.offset||0)}}function flush(){queue&&(result.push(queue),handleText&&handleText.call(textContext,queue,{start:prev,end:now()}),queue="")}}(value,settings)};var own={}.hasOwnProperty,fromCharCode=String.fromCharCode,noop=Function.prototype,defaults={warning:null,reference:null,text:null,warningContext:null,referenceContext:null,textContext:null,position:{},additional:null,attribute:!1,nonTerminated:!0},name="named",hexa="hexadecimal",bases={hexadecimal:16,decimal:10},tests={};tests[name]=alphanumerical,tests.decimal=decimal,tests[hexa]=hexadecimal;var messages={};function disallowed(code){return code>=1&&code<=8||11===code||code>=13&&code<=31||code>=127&&code<=159||code>=64976&&code<=65007||65535==(65535&code)||65534==(65535&code)}messages[1]="Named character references must be terminated by a semicolon",messages[2]="Numeric character references must be terminated by a semicolon",messages[3]="Named character references cannot be empty",messages[4]="Numeric character references cannot be empty",messages[5]="Named character references must be known",messages[6]="Numeric character references cannot be disallowed",messages[7]="Numeric character references cannot be outside the permissible Unicode range"},584:function(module,exports,__webpack_require__){"use strict";var el;module.exports=function decodeEntity(characters){var char,entity="&"+characters+";";if((el=el||document.createElement("i")).innerHTML=entity,59===(char=el.textContent).charCodeAt(char.length-1)&&"semi"!==characters)return!1;return char!==entity&&char}},585:function(module,exports,__webpack_require__){(function(global){var Prism=function(_self){var lang=/\blang(?:uage)?-([\w-]+)\b/i,uniqueId=0,plainTextGrammar={},_={manual:_self.Prism&&_self.Prism.manual,disableWorkerMessageHandler:_self.Prism&&_self.Prism.disableWorkerMessageHandler,util:{encode:function encode(tokens){return tokens instanceof Token?new Token(tokens.type,encode(tokens.content),tokens.alias):Array.isArray(tokens)?tokens.map(encode):tokens.replace(/&/g,"&").replace(/=rematch.reach);pos+=currentNode.value.length,currentNode=currentNode.next){var str=currentNode.value;if(tokenList.length>text.length)return;if(!(str instanceof Token)){var match,removeCount=1;if(greedy){if(!(match=matchPattern(pattern,pos,text,lookbehind)))break;var from=match.index,to=match.index+match[0].length,p=pos;for(p+=currentNode.value.length;from>=p;)currentNode=currentNode.next,p+=currentNode.value.length;if(p-=currentNode.value.length,pos=p,currentNode.value instanceof Token)continue;for(var k=currentNode;k!==tokenList.tail&&(prematch.reach&&(rematch.reach=reach);var removeFrom=currentNode.prev;before&&(removeFrom=addAfter(tokenList,removeFrom,before),pos+=before.length),removeRange(tokenList,removeFrom,removeCount);var wrapped=new Token(token,inside?_.tokenize(matchStr,inside):matchStr,alias,matchStr);if(currentNode=addAfter(tokenList,removeFrom,wrapped),after&&addAfter(tokenList,currentNode,after),removeCount>1){var nestedRematch={cause:token+","+j,reach:reach};matchGrammar(text,tokenList,grammar,currentNode.prev,pos,nestedRematch),rematch&&nestedRematch.reach>rematch.reach&&(rematch.reach=nestedRematch.reach)}}}}}}(text,tokenList,grammar,tokenList.head,0),function toArray(list){var array=[],node=list.head.next;for(;node!==list.tail;)array.push(node.value),node=node.next;return array}(tokenList)},hooks:{all:{},add:function(name,callback){var hooks=_.hooks.all;hooks[name]=hooks[name]||[],hooks[name].push(callback)},run:function(name,env){var callbacks=_.hooks.all[name];if(callbacks&&callbacks.length)for(var callback,i=0;callback=callbacks[i++];)callback(env)}},Token:Token};function Token(type,content,alias,matchedStr){this.type=type,this.content=content,this.alias=alias,this.length=0|(matchedStr||"").length}function matchPattern(pattern,pos,text,lookbehind){pattern.lastIndex=pos;var match=pattern.exec(text);if(match&&lookbehind&&match[1]){var lookbehindLength=match[1].length;match.index+=lookbehindLength,match[0]=match[0].slice(lookbehindLength)}return match}function LinkedList(){var head={value:null,prev:null,next:null},tail={value:null,prev:head,next:null};head.next=tail,this.head=head,this.tail=tail,this.length=0}function addAfter(list,node,value){var next=node.next,newNode={value:value,prev:node,next:next};return node.next=newNode,next.prev=newNode,list.length++,newNode}function removeRange(list,node,count){for(var next=node.next,i=0;i"+env.content+""},!_self.document)return _self.addEventListener?(_.disableWorkerMessageHandler||_self.addEventListener("message",(function(evt){var message=JSON.parse(evt.data),lang=message.language,code=message.code,immediateClose=message.immediateClose;_self.postMessage(_.highlight(code,_.languages[lang],lang)),immediateClose&&_self.close()}),!1),_):_;var script=_.util.currentScript();function highlightAutomaticallyCallback(){_.manual||_.highlightAll()}if(script&&(_.filename=script.src,script.hasAttribute("data-manual")&&(_.manual=!0)),!_.manual){var readyState=document.readyState;"loading"===readyState||"interactive"===readyState&&script&&script.defer?document.addEventListener("DOMContentLoaded",highlightAutomaticallyCallback):window.requestAnimationFrame?window.requestAnimationFrame(highlightAutomaticallyCallback):window.setTimeout(highlightAutomaticallyCallback,16)}return _}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});module.exports&&(module.exports=Prism),void 0!==global&&(global.Prism=Prism)}).call(this,__webpack_require__(24))},586:function(module,exports,__webpack_require__){"use strict";function clike(Prism){Prism.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|interface|extends|implements|trait|instanceof|new)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:if|else|while|do|for|return|in|instanceof|function|new|try|throw|catch|finally|null|break|continue)\b/,boolean:/\b(?:true|false)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/}}module.exports=clike,clike.displayName="clike",clike.aliases=[]},587:function(module,exports,__webpack_require__){"use strict";function javascript(Prism){Prism.languages.javascript=Prism.languages.extend("clike",{"class-name":[Prism.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:prototype|constructor))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:/\b(?:(?:0[xX](?:[\dA-Fa-f](?:_[\dA-Fa-f])?)+|0[bB](?:[01](?:_[01])?)+|0[oO](?:[0-7](?:_[0-7])?)+)n?|(?:\d(?:_\d)?)+n|NaN|Infinity)\b|(?:\b(?:\d(?:_\d)?)+\.?(?:\d(?:_\d)?)*|\B\.(?:\d(?:_\d)?)+)(?:[Ee][+-]?(?:\d(?:_\d)?)+)?/,operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),Prism.languages.javascript["class-name"][0].pattern=/(\b(?:class|interface|extends|implements|instanceof|new)\s+)[\w.\\]+/,Prism.languages.insertBefore("javascript","keyword",{regex:{pattern:/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)\/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/,lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:Prism.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:Prism.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:Prism.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),Prism.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:Prism.languages.javascript}},string:/[\s\S]+/}}}),Prism.languages.markup&&(Prism.languages.markup.tag.addInlined("script","javascript"),Prism.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),Prism.languages.js=Prism.languages.javascript}module.exports=javascript,javascript.displayName="javascript",javascript.aliases=["js"]},588:function(module,exports,__webpack_require__){"use strict";function jsExtras(Prism){!function(Prism){function withId(source,flags){return RegExp(source.replace(//g,(function(){return/(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*/.source})),flags)}Prism.languages.insertBefore("javascript","function-variable",{"method-variable":{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript["function-variable"].pattern.source),lookbehind:!0,alias:["function-variable","method","function","property-access"]}}),Prism.languages.insertBefore("javascript","function",{method:{pattern:RegExp("(\\.\\s*)"+Prism.languages.javascript.function.source),lookbehind:!0,alias:["function","property-access"]}}),Prism.languages.insertBefore("javascript","constant",{"known-class-name":[{pattern:/\b(?:(?:(?:Uint|Int)(?:8|16|32)|Uint8Clamped|Float(?:32|64))?Array|ArrayBuffer|BigInt|Boolean|DataView|Date|Error|Function|Intl|JSON|Math|Number|Object|Promise|Proxy|Reflect|RegExp|String|Symbol|(?:Weak)?(?:Set|Map)|WebAssembly)\b/,alias:"class-name"},{pattern:/\b(?:[A-Z]\w*)Error\b/,alias:"class-name"}]}),Prism.languages.insertBefore("javascript","keyword",{imports:{pattern:withId(/(\bimport\b\s*)(?:(?:\s*,\s*(?:\*\s*as\s+|\{[^{}]*\}))?|\*\s*as\s+|\{[^{}]*\})(?=\s*\bfrom\b)/.source),lookbehind:!0,inside:Prism.languages.javascript},exports:{pattern:withId(/(\bexport\b\s*)(?:\*(?:\s*as\s+)?(?=\s*\bfrom\b)|\{[^{}]*\})/.source),lookbehind:!0,inside:Prism.languages.javascript}}),Prism.languages.javascript.keyword.unshift({pattern:/\b(?:as|default|export|from|import)\b/,alias:"module"},{pattern:/\b(?:await|break|catch|continue|do|else|for|finally|if|return|switch|throw|try|while|yield)\b/,alias:"control-flow"},{pattern:/\bnull\b/,alias:["null","nil"]},{pattern:/\bundefined\b/,alias:"nil"}),Prism.languages.insertBefore("javascript","operator",{spread:{pattern:/\.{3}/,alias:"operator"},arrow:{pattern:/=>/,alias:"operator"}}),Prism.languages.insertBefore("javascript","punctuation",{"property-access":{pattern:withId(/(\.\s*)#?/.source),lookbehind:!0},"maybe-class-name":{pattern:/(^|[^$\w\xA0-\uFFFF])[A-Z][$\w\xA0-\uFFFF]+/,lookbehind:!0},dom:{pattern:/\b(?:document|location|navigator|performance|(?:local|session)Storage|window)\b/,alias:"variable"},console:{pattern:/\bconsole(?=\s*\.)/,alias:"class-name"}});for(var maybeClassNameTokens=["function","function-variable","method","method-variable","property-access"],i=0;i|(?:[a-zA-Z\d-]*!)?[\w\-%#;/?:@&=+$.~*'()]+)?/,properties="(?:"+tag.source+"(?:[ \t]+"+anchorOrAlias.source+")?|"+anchorOrAlias.source+"(?:[ \t]+"+tag.source+")?)",plainKey=/(?:[^\s\x00-\x08\x0e-\x1f!"#%&'*,\-:>?@[\]`{|}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]|[?:-])(?:[ \t]*(?:(?![#:])|:))*/.source.replace(//g,(function(){return/[^\s\x00-\x08\x0e-\x1f,[\]{}\x7f-\x84\x86-\x9f\ud800-\udfff\ufffe\uffff]/.source})),string=/"(?:[^"\\\r\n]|\\.)*"|'(?:[^'\\\r\n]|\\.)*'/.source;function createValuePattern(value,flags){flags=(flags||"").replace(/m/g,"")+"m";var pattern=/([:\-,[{]\s*(?:\s<>[ \t]+)?)(?:<>)(?=[ \t]*(?:$|,|\]|\}|(?:[\r\n]\s*)?#))/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return value}));return RegExp(pattern,flags)}Prism.languages.yaml={scalar:{pattern:RegExp(/([\-:]\s*(?:\s<>[ \t]+)?[|>])[ \t]*(?:((?:\r?\n|\r)[ \t]+)\S[^\r\n]*(?:\2[^\r\n]+)*)/.source.replace(/<>/g,(function(){return properties}))),lookbehind:!0,alias:"string"},comment:/#.*/,key:{pattern:RegExp(/((?:^|[:\-,[{\r\n?])[ \t]*(?:<>[ \t]+)?)<>(?=\s*:\s)/.source.replace(/<>/g,(function(){return properties})).replace(/<>/g,(function(){return"(?:"+plainKey+"|"+string+")"}))),lookbehind:!0,greedy:!0,alias:"atrule"},directive:{pattern:/(^[ \t]*)%.+/m,lookbehind:!0,alias:"important"},datetime:{pattern:createValuePattern(/\d{4}-\d\d?-\d\d?(?:[tT]|[ \t]+)\d\d?:\d{2}:\d{2}(?:\.\d*)?(?:[ \t]*(?:Z|[-+]\d\d?(?::\d{2})?))?|\d{4}-\d{2}-\d{2}|\d\d?:\d{2}(?::\d{2}(?:\.\d*)?)?/.source),lookbehind:!0,alias:"number"},boolean:{pattern:createValuePattern(/true|false/.source,"i"),lookbehind:!0,alias:"important"},null:{pattern:createValuePattern(/null|~/.source,"i"),lookbehind:!0,alias:"important"},string:{pattern:createValuePattern(string),lookbehind:!0,greedy:!0},number:{pattern:createValuePattern(/[+-]?(?:0x[\da-f]+|0o[0-7]+|(?:\d+(?:\.\d*)?|\.\d+)(?:e[+-]?\d+)?|\.inf|\.nan)/.source,"i"),lookbehind:!0},tag:tag,important:anchorOrAlias,punctuation:/---|[:[\]{}\-,|>?]|\.\.\./},Prism.languages.yml=Prism.languages.yaml}(Prism)}module.exports=yaml,yaml.displayName="yaml",yaml.aliases=["yml"]},591:function(module,exports,__webpack_require__){"use strict";function markdown(Prism){!function(Prism){var inner=/(?:\\.|[^\\\n\r]|(?:\n|\r\n?)(?![\r\n]))/.source;function createInline(pattern){return pattern=pattern.replace(//g,(function(){return inner})),RegExp(/((?:^|[^\\])(?:\\{2})*)/.source+"(?:"+pattern+")")}var tableCell=/(?:\\.|``(?:[^`\r\n]|`(?!`))+``|`[^`\r\n]+`|[^\\|\r\n`])+/.source,tableRow=/\|?__(?:\|__)+\|?(?:(?:\n|\r\n?)|(?![\s\S]))/.source.replace(/__/g,(function(){return tableCell})),tableLine=/\|?[ \t]*:?-{3,}:?[ \t]*(?:\|[ \t]*:?-{3,}:?[ \t]*)+\|?(?:\n|\r\n?)/.source;Prism.languages.markdown=Prism.languages.extend("markup",{}),Prism.languages.insertBefore("markdown","prolog",{"front-matter-block":{pattern:/(^(?:\s*[\r\n])?)---(?!.)[\s\S]*?[\r\n]---(?!.)/,lookbehind:!0,greedy:!0,inside:{punctuation:/^---|---$/,"font-matter":{pattern:/\S+(?:\s+\S+)*/,alias:["yaml","language-yaml"],inside:Prism.languages.yaml}}},blockquote:{pattern:/^>(?:[\t ]*>)*/m,alias:"punctuation"},table:{pattern:RegExp("^"+tableRow+tableLine+"(?:"+tableRow+")*","m"),inside:{"table-data-rows":{pattern:RegExp("^("+tableRow+tableLine+")(?:"+tableRow+")*$"),lookbehind:!0,inside:{"table-data":{pattern:RegExp(tableCell),inside:Prism.languages.markdown},punctuation:/\|/}},"table-line":{pattern:RegExp("^("+tableRow+")"+tableLine+"$"),lookbehind:!0,inside:{punctuation:/\||:?-{3,}:?/}},"table-header-row":{pattern:RegExp("^"+tableRow+"$"),inside:{"table-header":{pattern:RegExp(tableCell),alias:"important",inside:Prism.languages.markdown},punctuation:/\|/}}}},code:[{pattern:/((?:^|\n)[ \t]*\n|(?:^|\r\n?)[ \t]*\r\n?)(?: {4}|\t).+(?:(?:\n|\r\n?)(?: {4}|\t).+)*/,lookbehind:!0,alias:"keyword"},{pattern:/^```[\s\S]*?^```$/m,greedy:!0,inside:{"code-block":{pattern:/^(```.*(?:\n|\r\n?))[\s\S]+?(?=(?:\n|\r\n?)^```$)/m,lookbehind:!0},"code-language":{pattern:/^(```).+/,lookbehind:!0},punctuation:/```/}}],title:[{pattern:/\S.*(?:\n|\r\n?)(?:==+|--+)(?=[ \t]*$)/m,alias:"important",inside:{punctuation:/==+$|--+$/}},{pattern:/(^\s*)#.+/m,lookbehind:!0,alias:"important",inside:{punctuation:/^#+|#+$/}}],hr:{pattern:/(^\s*)([*-])(?:[\t ]*\2){2,}(?=\s*$)/m,lookbehind:!0,alias:"punctuation"},list:{pattern:/(^\s*)(?:[*+-]|\d+\.)(?=[\t ].)/m,lookbehind:!0,alias:"punctuation"},"url-reference":{pattern:/!?\[[^\]]+\]:[\t ]+(?:\S+|<(?:\\.|[^>\\])+>)(?:[\t ]+(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\)))?/,inside:{variable:{pattern:/^(!?\[)[^\]]+/,lookbehind:!0},string:/(?:"(?:\\.|[^"\\])*"|'(?:\\.|[^'\\])*'|\((?:\\.|[^)\\])*\))$/,punctuation:/^[\[\]!:]|[<>]/},alias:"url"},bold:{pattern:createInline(/\b__(?:(?!_)|_(?:(?!_))+_)+__\b|\*\*(?:(?!\*)|\*(?:(?!\*))+\*)+\*\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^..)[\s\S]+(?=..$)/,lookbehind:!0,inside:{}},punctuation:/\*\*|__/}},italic:{pattern:createInline(/\b_(?:(?!_)|__(?:(?!_))+__)+_\b|\*(?:(?!\*)|\*\*(?:(?!\*))+\*\*)+\*/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^.)[\s\S]+(?=.$)/,lookbehind:!0,inside:{}},punctuation:/[*_]/}},strike:{pattern:createInline(/(~~?)(?:(?!~))+\2/.source),lookbehind:!0,greedy:!0,inside:{content:{pattern:/(^~~?)[\s\S]+(?=\1$)/,lookbehind:!0,inside:{}},punctuation:/~~?/}},"code-snippet":{pattern:/(^|[^\\`])(?:``[^`\r\n]+(?:`[^`\r\n]+)*``(?!`)|`[^`\r\n]+`(?!`))/,lookbehind:!0,greedy:!0,alias:["code","keyword"]},url:{pattern:createInline(/!?\[(?:(?!\]))+\](?:\([^\s)]+(?:[\t ]+"(?:\\.|[^"\\])*")?\)|[ \t]?\[(?:(?!\]))+\])/.source),lookbehind:!0,greedy:!0,inside:{operator:/^!/,content:{pattern:/(^\[)[^\]]+(?=\])/,lookbehind:!0,inside:{}},variable:{pattern:/(^\][ \t]?\[)[^\]]+(?=\]$)/,lookbehind:!0},url:{pattern:/(^\]\()[^\s)]+/,lookbehind:!0},string:{pattern:/(^[ \t]+)"(?:\\.|[^"\\])*"(?=\)$)/,lookbehind:!0}}}}),["url","bold","italic","strike"].forEach((function(token){["url","bold","italic","strike","code-snippet"].forEach((function(inside){token!==inside&&(Prism.languages.markdown[token].inside.content.inside[inside]=Prism.languages.markdown[inside])}))})),Prism.hooks.add("after-tokenize",(function(env){"markdown"!==env.language&&"md"!==env.language||function walkTokens(tokens){if(tokens&&"string"!=typeof tokens)for(var i=0,l=tokens.length;i>=?|&&|\|\||[=!+\-*/%<>^&|]=?|[?~:]/,punctuation:/\(\(?|\)\)?|,|;/}},{pattern:/\$\((?:\([^)]+\)|[^()])+\)|`[^`]+`/,greedy:!0,inside:{variable:/^\$\(|^`|\)$|`$/}},{pattern:/\$\{[^}]+\}/,greedy:!0,inside:{operator:/:[-=?+]?|[!\/]|##?|%%?|\^\^?|,,?/,punctuation:/[\[\]]/,environment:{pattern:RegExp("(\\{)"+envVars),lookbehind:!0,alias:"constant"}}},/\$(?:\w+|[#?*!@$])/],entity:/\\(?:[abceEfnrtv\\"]|O?[0-7]{1,3}|x[0-9a-fA-F]{1,2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})/};Prism.languages.bash={shebang:{pattern:/^#!\s*\/.*/,alias:"important"},comment:{pattern:/(^|[^"{\\$])#.*/,lookbehind:!0},"function-name":[{pattern:/(\bfunction\s+)[\w-]+(?=(?:\s*\(?:\s*\))?\s*\{)/,lookbehind:!0,alias:"function"},{pattern:/\b[\w-]+(?=\s*\(\s*\)\s*\{)/,alias:"function"}],"for-or-select":{pattern:/(\b(?:for|select)\s+)\w+(?=\s+in\s)/,alias:"variable",lookbehind:!0},"assign-left":{pattern:/(^|[\s;|&]|[<>]\()\w+(?=\+?=)/,inside:{environment:{pattern:RegExp("(^|[\\s;|&]|[<>]\\()"+envVars),lookbehind:!0,alias:"constant"}},alias:"variable",lookbehind:!0},string:[{pattern:/((?:^|[^<])<<-?\s*)(\w+)\s[\s\S]*?(?:\r?\n|\r)\2/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/((?:^|[^<])<<-?\s*)(["'])(\w+)\2\s[\s\S]*?(?:\r?\n|\r)\3/,lookbehind:!0,greedy:!0,inside:{bash:commandAfterHeredoc}},{pattern:/(^|[^\\](?:\\\\)*)"(?:\\[\s\S]|\$\([^)]+\)|\$(?!\()|`[^`]+`|[^"\\`$])*"/,lookbehind:!0,greedy:!0,inside:insideString},{pattern:/(^|[^$\\])'[^']*'/,lookbehind:!0,greedy:!0},{pattern:/\$'(?:[^'\\]|\\[\s\S])*'/,greedy:!0,inside:{entity:insideString.entity}}],environment:{pattern:RegExp("\\$?"+envVars),alias:"constant"},variable:insideString.variable,function:{pattern:/(^|[\s;|&]|[<>]\()(?:add|apropos|apt|aptitude|apt-cache|apt-get|aspell|automysqlbackup|awk|basename|bash|bc|bconsole|bg|bzip2|cal|cat|cfdisk|chgrp|chkconfig|chmod|chown|chroot|cksum|clear|cmp|column|comm|composer|cp|cron|crontab|csplit|curl|cut|date|dc|dd|ddrescue|debootstrap|df|diff|diff3|dig|dir|dircolors|dirname|dirs|dmesg|du|egrep|eject|env|ethtool|expand|expect|expr|fdformat|fdisk|fg|fgrep|file|find|fmt|fold|format|free|fsck|ftp|fuser|gawk|git|gparted|grep|groupadd|groupdel|groupmod|groups|grub-mkconfig|gzip|halt|head|hg|history|host|hostname|htop|iconv|id|ifconfig|ifdown|ifup|import|install|ip|jobs|join|kill|killall|less|link|ln|locate|logname|logrotate|look|lpc|lpr|lprint|lprintd|lprintq|lprm|ls|lsof|lynx|make|man|mc|mdadm|mkconfig|mkdir|mke2fs|mkfifo|mkfs|mkisofs|mknod|mkswap|mmv|more|most|mount|mtools|mtr|mutt|mv|nano|nc|netstat|nice|nl|nohup|notify-send|npm|nslookup|op|open|parted|passwd|paste|pathchk|ping|pkill|pnpm|popd|pr|printcap|printenv|ps|pushd|pv|quota|quotacheck|quotactl|ram|rar|rcp|reboot|remsync|rename|renice|rev|rm|rmdir|rpm|rsync|scp|screen|sdiff|sed|sendmail|seq|service|sftp|sh|shellcheck|shuf|shutdown|sleep|slocate|sort|split|ssh|stat|strace|su|sudo|sum|suspend|swapon|sync|tac|tail|tar|tee|time|timeout|top|touch|tr|traceroute|tsort|tty|umount|uname|unexpand|uniq|units|unrar|unshar|unzip|update-grub|uptime|useradd|userdel|usermod|users|uudecode|uuencode|v|vdir|vi|vim|virsh|vmstat|wait|watch|wc|wget|whereis|which|who|whoami|write|xargs|xdg-open|yarn|yes|zenity|zip|zsh|zypper)(?=$|[)\s;|&])/,lookbehind:!0},keyword:{pattern:/(^|[\s;|&]|[<>]\()(?:if|then|else|elif|fi|for|while|in|case|esac|function|select|do|done|until)(?=$|[)\s;|&])/,lookbehind:!0},builtin:{pattern:/(^|[\s;|&]|[<>]\()(?:\.|:|break|cd|continue|eval|exec|exit|export|getopts|hash|pwd|readonly|return|shift|test|times|trap|umask|unset|alias|bind|builtin|caller|command|declare|echo|enable|help|let|local|logout|mapfile|printf|read|readarray|source|type|typeset|ulimit|unalias|set|shopt)(?=$|[)\s;|&])/,lookbehind:!0,alias:"class-name"},boolean:{pattern:/(^|[\s;|&]|[<>]\()(?:true|false)(?=$|[)\s;|&])/,lookbehind:!0},"file-descriptor":{pattern:/\B&\d\b/,alias:"important"},operator:{pattern:/\d?<>|>\||\+=|=[=~]?|!=?|<<[<-]?|[&\d]?>>|\d[<>]&?|[<>][&=]?|&[>&]?|\|[&|]?/,inside:{"file-descriptor":{pattern:/^\d/,alias:"important"}}},punctuation:/\$?\(\(?|\)\)?|\.\.|[{}[\];\\]/,number:{pattern:/(^|\s)(?:[1-9]\d*|0)(?:[.,]\d+)?\b/,lookbehind:!0}},commandAfterHeredoc.inside=Prism.languages.bash;for(var toBeCopied=["comment","function-name","for-or-select","assign-left","string","environment","function","keyword","builtin","boolean","file-descriptor","operator","punctuation","number"],inside=insideString.variable[1].inside,i=0;i0)){var mutationEnd=findClosingBracket(/^\{$/,/^\}$/);if(-1===mutationEnd)continue;for(var i=currentIndex;i=0&&addAlias(varToken,"variable-input")}}}}function getToken(offset){return validTokens[currentIndex+offset]}function isTokenType(types,offset){offset=offset||0;for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Note=__webpack_require__(1).styled.div((function(_ref){var theme=_ref.theme;return{padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"rgba(0, 0, 0, 0.4)",margin:6}})),TooltipNote=function TooltipNote(_ref2){var note=_ref2.note,props=_objectWithoutProperties(_ref2,["note"]);return react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(Note,props,note)};TooltipNote.displayName="TooltipNote"},2268:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return Color_ColorControl}));__webpack_require__(12),__webpack_require__(32),__webpack_require__(25),__webpack_require__(16),__webpack_require__(51),__webpack_require__(121),__webpack_require__(120),__webpack_require__(13),__webpack_require__(15),__webpack_require__(64),__webpack_require__(19),__webpack_require__(42),__webpack_require__(63),__webpack_require__(74),__webpack_require__(145);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);function index_module_l(){return(index_module_l=Object.assign||function(e){for(var r=1;r=0||(n[t]=e[t]);return n}var index_module_c="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function index_module_i(e){var r=Object(react.useRef)(e);return Object(react.useEffect)((function(){r.current=e})),Object(react.useCallback)((function(e){return r.current&&r.current(e)}),[])}var index_module_s,index_module_f=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&h.current?_(index_module_d(h.current,e)):b(!1)}),[_]),x=Object(react.useCallback)((function(e){var r=e.nativeEvent;r.preventDefault(),function(e){return!(m.current&&!index_module_v(e)||(m.current||(m.current=index_module_v(e)),0))}(r)&&(_(index_module_d(h.current,r)),b(!0))}),[_]),H=Object(react.useCallback)((function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),C({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))}),[C]),N=Object(react.useCallback)((function(){return b(!1)}),[]),w=Object(react.useCallback)((function(e){var r=e?window.addEventListener:window.removeEventListener;r(m.current?"touchmove":"mousemove",E),r(m.current?"touchend":"mouseup",N)}),[E,N]);return index_module_c((function(){return w(p),function(){p&&w(!1)}}),[p,w]),react_default.a.createElement("div",index_module_l({},f,{className:"react-colorful__interactive",ref:h,onTouchStart:x,onMouseDown:x,onKeyDown:H,tabIndex:0,role:"slider"}))})),index_module_m=function(e){return e.filter(Boolean).join(" ")},index_module_g=function(r){var t=r.color,o=r.left,n=r.top,a=void 0===n?.5:n,l=index_module_m(["react-colorful__pointer",r.className]);return react_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*o+"%"}},react_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_p=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_b=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_=function(e){var r=/hsla?\((\d+\.?\d*),\s*(\d+\.?\d*)%?,\s*(\d+\.?\d*)%?,?\s*(\d+\.?\d*)?\)/.exec(e);return r?index_module_E({h:Number(r[1]),s:Number(r[2]),l:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},index_module_E=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_x=function(e){var r=e.s,t=e.v,o=e.a,n=(200-r)*t/100;return{h:index_module_p(e.h),s:index_module_p(n>0&&n<200?r*t/100/(n<=100?n:200-n)*100:0),l:index_module_p(n/2),a:index_module_p(o,2)}},index_module_H=function(e){var r=index_module_x(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},index_module_N=function(e){var r=index_module_x(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},index_module_w=function(e){var r=e.h,t=e.s,o=e.v,n=e.a;r=r/360*6,t/=100,o/=100;var a=Math.floor(r),l=o*(1-t),u=o*(1-(r-a)*t),c=o*(1-(1-r+a)*t),i=a%6;return{r:index_module_p(255*[o,u,l,l,c,o][i]),g:index_module_p(255*[c,o,o,u,l,l][i]),b:index_module_p(255*[l,l,c,o,o,u][i]),a:index_module_p(n,2)}},q=function(e){var r=/rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*(\d+\.?\d*)?\)/.exec(e);return r?I({r:Number(r[1]),g:Number(r[2]),b:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},O=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},I=function(e){var r=e.r,t=e.g,o=e.b,n=e.a,a=Math.max(r,t,o),l=a-Math.min(r,t,o),u=l?a===r?(t-o)/l:a===t?2+(o-r)/l:4+(r-t)/l:0;return{h:index_module_p(60*(u<0?u+6:u)),s:index_module_p(a?l/a*100:0),v:index_module_p(a/255*100),a:n}},z=react_default.a.memo((function(r){var t=r.hue,o=r.onChange,n=index_module_m(["react-colorful__hue",r.className]);return react_default.a.createElement("div",{className:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({h:360*e.left})},onKey:function(e){o({h:index_module_f(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_p(t)},react_default.a.createElement(index_module_g,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_H({h:t,s:100,v:100,a:1})})))})),B=react_default.a.memo((function(r){var t=r.hsva,o=r.onChange,n={backgroundColor:index_module_H({h:t.h,s:100,v:100,a:1})};return react_default.a.createElement("div",{className:"react-colorful__saturation",style:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({s:100*e.left,v:100-100*e.top})},onKey:function(e){o({s:index_module_f(t.s+100*e.left,0,100),v:index_module_f(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_p(t.s)+"%, Brightness "+index_module_p(t.v)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_H(t)})))})),K=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},A=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function D(e,r,l){var u=index_module_i(l),c=Object(react.useState)((function(){return e.toHsva(r)})),s=c[0],f=c[1],v=Object(react.useRef)({color:r,hsva:s});Object(react.useEffect)((function(){if(!e.equal(r,v.current.color)){var t=e.toHsva(r);v.current={hsva:t,color:r},f(t)}}),[r,e]),Object(react.useEffect)((function(){var r;K(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var L,_ColorPicker,_fallbackColor,T=function(){index_module_c((function(){if("undefined"!=typeof document&&!L){(L=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=index_module_s||__webpack_require__.nc;e&&L.setAttribute("nonce",e),document.head.appendChild(L)}}),[])},X=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v,className:"react-colorful__last-control"}))},Y={defaultColor:"000",toHsva:function(e){return I(index_module_b(e))},fromHsva:function(e){return t=(r=index_module_w(e)).g,o=r.b,"#"+O(r.r)+O(t)+O(o);var r,t,o},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||K(index_module_b(e),index_module_b(r))}},P=function(r){var t=r.className,o=r.hsva,n=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+index_module_N(Object.assign({},o,{a:0}))+", "+index_module_N(Object.assign({},o,{a:1}))+")"},l=index_module_m(["react-colorful__alpha",t]);return react_default.a.createElement("div",{className:l},react_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react_default.a.createElement(index_module_h,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:index_module_f(o.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_p(100*o.a)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__alpha-pointer",left:o.a,color:index_module_N(o)})))},R=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v}),react_default.a.createElement(P,{hsva:f,onChange:v,className:"react-colorful__last-control"}))},Q={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_,fromHsva:index_module_N,equal:A},fe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:q,fromHsva:function(e){var r=index_module_w(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:A},color_convert=__webpack_require__(2341),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__(329),throttle_default=__webpack_require__.n(throttle),esm=__webpack_require__(1),TooltipNote=__webpack_require__(1233),lazy_WithTooltip=__webpack_require__(345),esm_form=__webpack_require__(69),icon=__webpack_require__(48);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.div({position:"relative",maxWidth:250}),PickerTooltip=Object(esm.styled)(lazy_WithTooltip.a)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=esm.styled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(esm.styled)(TooltipNote.a)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=esm.styled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Color_Swatch=function Swatch(_ref3){var value=_ref3.value,active=_ref3.active,onClick=_ref3.onClick,style=_ref3.style,props=_objectWithoutProperties(_ref3,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react_default.a.createElement(SwatchColor,_extends({},props,{active:active,onClick:onClick,style:Object.assign({},style,{backgroundImage:backgroundImage})}))};Color_Swatch.displayName="Swatch";var ColorSpace,Input=Object(esm.styled)(esm_form.a.Input)((function(_ref4){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref4.theme.typography.fonts.base}})),ToggleIcon=Object(esm.styled)(icon.a)((function(_ref5){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref5.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function(r){return react_default.a.createElement(X,index_module_l({},r,{colorModel:Y}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:fe}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:Q}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},Color_parseValue=function parseValue(value){var _ref12;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref8,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],g=_stringToArgs2[1],b=_stringToArgs2[2],a=_stringToArgs2[3],_ref7=_slicedToArray(color_convert_default.a.rgb.hsl([r,g,b])||[0,0,0],3),h=_ref7[0],s=_ref7[1],l=_ref7[2];return _defineProperty(_ref8={valid:valid,value:value,keyword:color_convert_default.a.rgb.keyword([r,g,b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref8,ColorSpace.HSL,"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref8,ColorSpace.HEX,"#".concat(color_convert_default.a.rgb.hex([r,g,b]).toLowerCase())),_ref8}if(HSL_REGEXP.test(value)){var _ref11,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h=_stringToArgs4[0],_s2=_stringToArgs4[1],_l=_stringToArgs4[2],_a=_stringToArgs4[3],_ref10=_slicedToArray(color_convert_default.a.hsl.rgb([_h,_s2,_l])||[0,0,0],3),_r=_ref10[0],_g=_ref10[1],_b=_ref10[2];return _defineProperty(_ref11={valid:valid,value:value,keyword:color_convert_default.a.hsl.keyword([_h,_s2,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g,", ").concat(_b,", ").concat(_a,")")),_defineProperty(_ref11,ColorSpace.HSL,value),_defineProperty(_ref11,ColorSpace.HEX,"#".concat(color_convert_default.a.hsl.hex([_h,_s2,_l]).toLowerCase())),_ref11}var plain=value.replace("#",""),rgb=color_convert_default.a.keyword.rgb(plain)||color_convert_default.a.hex.rgb(plain),hsl=color_convert_default.a.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default.a.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref12={valid:valid,value:mapped,keyword:color_convert_default.a.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref12,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref12,ColorSpace.HEX,mapped),_ref12}},Color_useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react.useState)((function(){return Color_parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1],realValue=Object(react.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||null==color||!color.valid)return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(color_convert_default.a.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react.useCallback)((function(update){var parsed=Color_parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[]),cycleColorSpace=Object(react.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},Color_ColorControl=function ColorControl(_ref13){var initialValue=_ref13.value,onChange=_ref13.onChange,onFocus=_ref13.onFocus,onBlur=_ref13.onBlur,presetColors=_ref13.presetColors,startOpen=_ref13.startOpen,_useColorInput=Color_useColorInput(initialValue,throttle_default()(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react.useState)(null!=currentColor&¤tColor.valid?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1],presets=Object(react.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?Color_parseValue(preset):preset.title?Object.assign({},Color_parseValue(preset.color),{keyword:preset.title}):Color_parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react.useCallback)((function(color){null!=color&&color.valid&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react_default.a.createElement(Wrapper,null,react_default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react_default.a.createElement(TooltipContent,null,react_default.a.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react_default.a.createElement(Swatches,null,presets.map((function(preset){return react_default.a.createElement(lazy_WithTooltip.a,{key:preset.value,hasChrome:!1,tooltip:react_default.a.createElement(Note,{note:preset.keyword||preset.value})},react_default.a.createElement(Color_Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react_default.a.createElement(Color_Swatch,{value:realValue,style:{margin:4}})),react_default.a.createElement(Input,{value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color"}),react_default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}))};Color_ColorControl.displayName="ColorControl";__webpack_exports__.default=Color_ColorControl},2285:function(module,exports,__webpack_require__){const cssKeywords=__webpack_require__(2342),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(char=>char+char).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},2341:function(module,exports,__webpack_require__){const conversions=__webpack_require__(2285),route=__webpack_require__(2343),convert={};Object.keys(conversions).forEach(fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach(toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)})}),module.exports=convert},2342:function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2343:function(module,exports,__webpack_require__){const conversions=__webpack_require__(2285);function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Note=__webpack_require__(1).styled.div((function(_ref){var theme=_ref.theme;return{padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"rgba(0, 0, 0, 0.4)",margin:6}})),TooltipNote=function TooltipNote(_ref2){var note=_ref2.note,props=_objectWithoutProperties(_ref2,["note"]);return react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(Note,props,note)};TooltipNote.displayName="TooltipNote"},2268:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return Color_ColorControl}));__webpack_require__(12),__webpack_require__(67),__webpack_require__(23),__webpack_require__(14),__webpack_require__(108),__webpack_require__(364),__webpack_require__(363),__webpack_require__(13),__webpack_require__(15),__webpack_require__(225),__webpack_require__(30),__webpack_require__(144),__webpack_require__(187),__webpack_require__(164),__webpack_require__(767);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);function index_module_l(){return(index_module_l=Object.assign||function(e){for(var r=1;r=0||(n[t]=e[t]);return n}var index_module_c="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function index_module_i(e){var r=Object(react.useRef)(e);return Object(react.useEffect)((function(){r.current=e})),Object(react.useCallback)((function(e){return r.current&&r.current(e)}),[])}var index_module_s,index_module_f=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&h.current?_(index_module_d(h.current,e)):b(!1)}),[_]),x=Object(react.useCallback)((function(e){var r=e.nativeEvent;r.preventDefault(),function(e){return!(m.current&&!index_module_v(e)||(m.current||(m.current=index_module_v(e)),0))}(r)&&(_(index_module_d(h.current,r)),b(!0))}),[_]),H=Object(react.useCallback)((function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),C({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))}),[C]),N=Object(react.useCallback)((function(){return b(!1)}),[]),w=Object(react.useCallback)((function(e){var r=e?window.addEventListener:window.removeEventListener;r(m.current?"touchmove":"mousemove",E),r(m.current?"touchend":"mouseup",N)}),[E,N]);return index_module_c((function(){return w(p),function(){p&&w(!1)}}),[p,w]),react_default.a.createElement("div",index_module_l({},f,{className:"react-colorful__interactive",ref:h,onTouchStart:x,onMouseDown:x,onKeyDown:H,tabIndex:0,role:"slider"}))})),index_module_m=function(e){return e.filter(Boolean).join(" ")},index_module_g=function(r){var t=r.color,o=r.left,n=r.top,a=void 0===n?.5:n,l=index_module_m(["react-colorful__pointer",r.className]);return react_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*o+"%"}},react_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_p=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_b=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_=function(e){var r=/hsla?\((\d+\.?\d*),\s*(\d+\.?\d*)%?,\s*(\d+\.?\d*)%?,?\s*(\d+\.?\d*)?\)/.exec(e);return r?index_module_E({h:Number(r[1]),s:Number(r[2]),l:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},index_module_E=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_x=function(e){var r=e.s,t=e.v,o=e.a,n=(200-r)*t/100;return{h:index_module_p(e.h),s:index_module_p(n>0&&n<200?r*t/100/(n<=100?n:200-n)*100:0),l:index_module_p(n/2),a:index_module_p(o,2)}},index_module_H=function(e){var r=index_module_x(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},index_module_N=function(e){var r=index_module_x(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},index_module_w=function(e){var r=e.h,t=e.s,o=e.v,n=e.a;r=r/360*6,t/=100,o/=100;var a=Math.floor(r),l=o*(1-t),u=o*(1-(r-a)*t),c=o*(1-(1-r+a)*t),i=a%6;return{r:index_module_p(255*[o,u,l,l,c,o][i]),g:index_module_p(255*[c,o,o,u,l,l][i]),b:index_module_p(255*[l,l,c,o,o,u][i]),a:index_module_p(n,2)}},q=function(e){var r=/rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*(\d+\.?\d*)?\)/.exec(e);return r?I({r:Number(r[1]),g:Number(r[2]),b:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},O=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},I=function(e){var r=e.r,t=e.g,o=e.b,n=e.a,a=Math.max(r,t,o),l=a-Math.min(r,t,o),u=l?a===r?(t-o)/l:a===t?2+(o-r)/l:4+(r-t)/l:0;return{h:index_module_p(60*(u<0?u+6:u)),s:index_module_p(a?l/a*100:0),v:index_module_p(a/255*100),a:n}},z=react_default.a.memo((function(r){var t=r.hue,o=r.onChange,n=index_module_m(["react-colorful__hue",r.className]);return react_default.a.createElement("div",{className:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({h:360*e.left})},onKey:function(e){o({h:index_module_f(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_p(t)},react_default.a.createElement(index_module_g,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_H({h:t,s:100,v:100,a:1})})))})),B=react_default.a.memo((function(r){var t=r.hsva,o=r.onChange,n={backgroundColor:index_module_H({h:t.h,s:100,v:100,a:1})};return react_default.a.createElement("div",{className:"react-colorful__saturation",style:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({s:100*e.left,v:100-100*e.top})},onKey:function(e){o({s:index_module_f(t.s+100*e.left,0,100),v:index_module_f(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_p(t.s)+"%, Brightness "+index_module_p(t.v)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_H(t)})))})),K=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},A=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function D(e,r,l){var u=index_module_i(l),c=Object(react.useState)((function(){return e.toHsva(r)})),s=c[0],f=c[1],v=Object(react.useRef)({color:r,hsva:s});Object(react.useEffect)((function(){if(!e.equal(r,v.current.color)){var t=e.toHsva(r);v.current={hsva:t,color:r},f(t)}}),[r,e]),Object(react.useEffect)((function(){var r;K(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var L,_ColorPicker,_fallbackColor,T=function(){index_module_c((function(){if("undefined"!=typeof document&&!L){(L=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=index_module_s||__webpack_require__.nc;e&&L.setAttribute("nonce",e),document.head.appendChild(L)}}),[])},X=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v,className:"react-colorful__last-control"}))},Y={defaultColor:"000",toHsva:function(e){return I(index_module_b(e))},fromHsva:function(e){return t=(r=index_module_w(e)).g,o=r.b,"#"+O(r.r)+O(t)+O(o);var r,t,o},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||K(index_module_b(e),index_module_b(r))}},P=function(r){var t=r.className,o=r.hsva,n=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+index_module_N(Object.assign({},o,{a:0}))+", "+index_module_N(Object.assign({},o,{a:1}))+")"},l=index_module_m(["react-colorful__alpha",t]);return react_default.a.createElement("div",{className:l},react_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react_default.a.createElement(index_module_h,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:index_module_f(o.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_p(100*o.a)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__alpha-pointer",left:o.a,color:index_module_N(o)})))},R=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v}),react_default.a.createElement(P,{hsva:f,onChange:v,className:"react-colorful__last-control"}))},Q={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_,fromHsva:index_module_N,equal:A},fe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:q,fromHsva:function(e){var r=index_module_w(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:A},color_convert=__webpack_require__(2341),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__(1091),throttle_default=__webpack_require__.n(throttle),esm=__webpack_require__(1),TooltipNote=__webpack_require__(1233),lazy_WithTooltip=__webpack_require__(345),esm_form=__webpack_require__(95),icon=__webpack_require__(48);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.div({position:"relative",maxWidth:250}),PickerTooltip=Object(esm.styled)(lazy_WithTooltip.a)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=esm.styled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(esm.styled)(TooltipNote.a)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=esm.styled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Color_Swatch=function Swatch(_ref3){var value=_ref3.value,active=_ref3.active,onClick=_ref3.onClick,style=_ref3.style,props=_objectWithoutProperties(_ref3,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react_default.a.createElement(SwatchColor,_extends({},props,{active:active,onClick:onClick,style:Object.assign({},style,{backgroundImage:backgroundImage})}))};Color_Swatch.displayName="Swatch";var ColorSpace,Input=Object(esm.styled)(esm_form.a.Input)((function(_ref4){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref4.theme.typography.fonts.base}})),ToggleIcon=Object(esm.styled)(icon.a)((function(_ref5){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref5.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function(r){return react_default.a.createElement(X,index_module_l({},r,{colorModel:Y}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:fe}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:Q}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},Color_parseValue=function parseValue(value){var _ref12;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref8,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],g=_stringToArgs2[1],b=_stringToArgs2[2],a=_stringToArgs2[3],_ref7=_slicedToArray(color_convert_default.a.rgb.hsl([r,g,b])||[0,0,0],3),h=_ref7[0],s=_ref7[1],l=_ref7[2];return _defineProperty(_ref8={valid:valid,value:value,keyword:color_convert_default.a.rgb.keyword([r,g,b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref8,ColorSpace.HSL,"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref8,ColorSpace.HEX,"#".concat(color_convert_default.a.rgb.hex([r,g,b]).toLowerCase())),_ref8}if(HSL_REGEXP.test(value)){var _ref11,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h=_stringToArgs4[0],_s2=_stringToArgs4[1],_l=_stringToArgs4[2],_a=_stringToArgs4[3],_ref10=_slicedToArray(color_convert_default.a.hsl.rgb([_h,_s2,_l])||[0,0,0],3),_r=_ref10[0],_g=_ref10[1],_b=_ref10[2];return _defineProperty(_ref11={valid:valid,value:value,keyword:color_convert_default.a.hsl.keyword([_h,_s2,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g,", ").concat(_b,", ").concat(_a,")")),_defineProperty(_ref11,ColorSpace.HSL,value),_defineProperty(_ref11,ColorSpace.HEX,"#".concat(color_convert_default.a.hsl.hex([_h,_s2,_l]).toLowerCase())),_ref11}var plain=value.replace("#",""),rgb=color_convert_default.a.keyword.rgb(plain)||color_convert_default.a.hex.rgb(plain),hsl=color_convert_default.a.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default.a.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref12={valid:valid,value:mapped,keyword:color_convert_default.a.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref12,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref12,ColorSpace.HEX,mapped),_ref12}},Color_useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react.useState)((function(){return Color_parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1],realValue=Object(react.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||null==color||!color.valid)return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(color_convert_default.a.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react.useCallback)((function(update){var parsed=Color_parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[]),cycleColorSpace=Object(react.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},Color_ColorControl=function ColorControl(_ref13){var initialValue=_ref13.value,onChange=_ref13.onChange,onFocus=_ref13.onFocus,onBlur=_ref13.onBlur,presetColors=_ref13.presetColors,startOpen=_ref13.startOpen,_useColorInput=Color_useColorInput(initialValue,throttle_default()(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react.useState)(null!=currentColor&¤tColor.valid?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1],presets=Object(react.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?Color_parseValue(preset):preset.title?Object.assign({},Color_parseValue(preset.color),{keyword:preset.title}):Color_parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react.useCallback)((function(color){null!=color&&color.valid&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react_default.a.createElement(Wrapper,null,react_default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react_default.a.createElement(TooltipContent,null,react_default.a.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react_default.a.createElement(Swatches,null,presets.map((function(preset){return react_default.a.createElement(lazy_WithTooltip.a,{key:preset.value,hasChrome:!1,tooltip:react_default.a.createElement(Note,{note:preset.keyword||preset.value})},react_default.a.createElement(Color_Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react_default.a.createElement(Color_Swatch,{value:realValue,style:{margin:4}})),react_default.a.createElement(Input,{value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color"}),react_default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}))};Color_ColorControl.displayName="ColorControl";__webpack_exports__.default=Color_ColorControl},2285:function(module,exports,__webpack_require__){const cssKeywords=__webpack_require__(2342),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(char=>char+char).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},2341:function(module,exports,__webpack_require__){const conversions=__webpack_require__(2285),route=__webpack_require__(2343),convert={};Object.keys(conversions).forEach(fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach(toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)})}),module.exports=convert},2342:function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},2343:function(module,exports,__webpack_require__){const conversions=__webpack_require__(2285);function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Note=__webpack_require__(4).styled.div((function(_ref){var theme=_ref.theme;return{padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"rgba(0, 0, 0, 0.4)",margin:6}})),TooltipNote=function TooltipNote(_ref2){var note=_ref2.note,props=_objectWithoutProperties(_ref2,["note"]);return react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(Note,props,note)};TooltipNote.displayName="TooltipNote"},2962:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return Color_ColorControl}));__webpack_require__(81),__webpack_require__(510),__webpack_require__(94),__webpack_require__(132),__webpack_require__(716),__webpack_require__(3062),__webpack_require__(1017),__webpack_require__(131),__webpack_require__(64),__webpack_require__(3063),__webpack_require__(392),__webpack_require__(1604),__webpack_require__(1603),__webpack_require__(1013),__webpack_require__(1605);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);function index_module_l(){return(index_module_l=Object.assign||function(e){for(var r=1;r=0||(n[t]=e[t]);return n}var index_module_c="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function index_module_i(e){var r=Object(react.useRef)(e);return Object(react.useEffect)((function(){r.current=e})),Object(react.useCallback)((function(e){return r.current&&r.current(e)}),[])}var index_module_s,index_module_f=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&h.current?_(index_module_d(h.current,e)):b(!1)}),[_]),x=Object(react.useCallback)((function(e){var r=e.nativeEvent;r.preventDefault(),function(e){return!(m.current&&!index_module_v(e)||(m.current||(m.current=index_module_v(e)),0))}(r)&&(_(index_module_d(h.current,r)),b(!0))}),[_]),H=Object(react.useCallback)((function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),C({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))}),[C]),N=Object(react.useCallback)((function(){return b(!1)}),[]),w=Object(react.useCallback)((function(e){var r=e?window.addEventListener:window.removeEventListener;r(m.current?"touchmove":"mousemove",E),r(m.current?"touchend":"mouseup",N)}),[E,N]);return index_module_c((function(){return w(p),function(){p&&w(!1)}}),[p,w]),react_default.a.createElement("div",index_module_l({},f,{className:"react-colorful__interactive",ref:h,onTouchStart:x,onMouseDown:x,onKeyDown:H,tabIndex:0,role:"slider"}))})),index_module_m=function(e){return e.filter(Boolean).join(" ")},index_module_g=function(r){var t=r.color,o=r.left,n=r.top,a=void 0===n?.5:n,l=index_module_m(["react-colorful__pointer",r.className]);return react_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*o+"%"}},react_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_p=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_b=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_=function(e){var r=/hsla?\((\d+\.?\d*),\s*(\d+\.?\d*)%?,\s*(\d+\.?\d*)%?,?\s*(\d+\.?\d*)?\)/.exec(e);return r?index_module_E({h:Number(r[1]),s:Number(r[2]),l:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},index_module_E=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_x=function(e){var r=e.s,t=e.v,o=e.a,n=(200-r)*t/100;return{h:index_module_p(e.h),s:index_module_p(n>0&&n<200?r*t/100/(n<=100?n:200-n)*100:0),l:index_module_p(n/2),a:index_module_p(o,2)}},index_module_H=function(e){var r=index_module_x(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},index_module_N=function(e){var r=index_module_x(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},index_module_w=function(e){var r=e.h,t=e.s,o=e.v,n=e.a;r=r/360*6,t/=100,o/=100;var a=Math.floor(r),l=o*(1-t),u=o*(1-(r-a)*t),c=o*(1-(1-r+a)*t),i=a%6;return{r:index_module_p(255*[o,u,l,l,c,o][i]),g:index_module_p(255*[c,o,o,u,l,l][i]),b:index_module_p(255*[l,l,c,o,o,u][i]),a:index_module_p(n,2)}},q=function(e){var r=/rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*(\d+\.?\d*)?\)/.exec(e);return r?I({r:Number(r[1]),g:Number(r[2]),b:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},O=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},I=function(e){var r=e.r,t=e.g,o=e.b,n=e.a,a=Math.max(r,t,o),l=a-Math.min(r,t,o),u=l?a===r?(t-o)/l:a===t?2+(o-r)/l:4+(r-t)/l:0;return{h:index_module_p(60*(u<0?u+6:u)),s:index_module_p(a?l/a*100:0),v:index_module_p(a/255*100),a:n}},z=react_default.a.memo((function(r){var t=r.hue,o=r.onChange,n=index_module_m(["react-colorful__hue",r.className]);return react_default.a.createElement("div",{className:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({h:360*e.left})},onKey:function(e){o({h:index_module_f(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_p(t)},react_default.a.createElement(index_module_g,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_H({h:t,s:100,v:100,a:1})})))})),B=react_default.a.memo((function(r){var t=r.hsva,o=r.onChange,n={backgroundColor:index_module_H({h:t.h,s:100,v:100,a:1})};return react_default.a.createElement("div",{className:"react-colorful__saturation",style:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({s:100*e.left,v:100-100*e.top})},onKey:function(e){o({s:index_module_f(t.s+100*e.left,0,100),v:index_module_f(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_p(t.s)+"%, Brightness "+index_module_p(t.v)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_H(t)})))})),K=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},A=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function D(e,r,l){var u=index_module_i(l),c=Object(react.useState)((function(){return e.toHsva(r)})),s=c[0],f=c[1],v=Object(react.useRef)({color:r,hsva:s});Object(react.useEffect)((function(){if(!e.equal(r,v.current.color)){var t=e.toHsva(r);v.current={hsva:t,color:r},f(t)}}),[r,e]),Object(react.useEffect)((function(){var r;K(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var L,_ColorPicker,_fallbackColor,T=function(){index_module_c((function(){if("undefined"!=typeof document&&!L){(L=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=index_module_s||__webpack_require__.nc;e&&L.setAttribute("nonce",e),document.head.appendChild(L)}}),[])},X=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v,className:"react-colorful__last-control"}))},Y={defaultColor:"000",toHsva:function(e){return I(index_module_b(e))},fromHsva:function(e){return t=(r=index_module_w(e)).g,o=r.b,"#"+O(r.r)+O(t)+O(o);var r,t,o},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||K(index_module_b(e),index_module_b(r))}},P=function(r){var t=r.className,o=r.hsva,n=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+index_module_N(Object.assign({},o,{a:0}))+", "+index_module_N(Object.assign({},o,{a:1}))+")"},l=index_module_m(["react-colorful__alpha",t]);return react_default.a.createElement("div",{className:l},react_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react_default.a.createElement(index_module_h,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:index_module_f(o.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_p(100*o.a)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__alpha-pointer",left:o.a,color:index_module_N(o)})))},R=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v}),react_default.a.createElement(P,{hsva:f,onChange:v,className:"react-colorful__last-control"}))},Q={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_,fromHsva:index_module_N,equal:A},fe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:q,fromHsva:function(e){var r=index_module_w(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:A},color_convert=__webpack_require__(3064),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__(3067),throttle_default=__webpack_require__.n(throttle),esm=__webpack_require__(4),TooltipNote=__webpack_require__(1606),lazy_WithTooltip=__webpack_require__(469),esm_form=__webpack_require__(171),icon=__webpack_require__(79);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.div({position:"relative",maxWidth:250}),PickerTooltip=Object(esm.styled)(lazy_WithTooltip.a)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=esm.styled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(esm.styled)(TooltipNote.a)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=esm.styled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Color_Swatch=function Swatch(_ref3){var value=_ref3.value,active=_ref3.active,onClick=_ref3.onClick,style=_ref3.style,props=_objectWithoutProperties(_ref3,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react_default.a.createElement(SwatchColor,_extends({},props,{active:active,onClick:onClick,style:Object.assign({},style,{backgroundImage:backgroundImage})}))};Color_Swatch.displayName="Swatch";var ColorSpace,Input=Object(esm.styled)(esm_form.a.Input)((function(_ref4){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref4.theme.typography.fonts.base}})),ToggleIcon=Object(esm.styled)(icon.a)((function(_ref5){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref5.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function(r){return react_default.a.createElement(X,index_module_l({},r,{colorModel:Y}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:fe}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:Q}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},Color_parseValue=function parseValue(value){var _ref12;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref8,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],g=_stringToArgs2[1],b=_stringToArgs2[2],a=_stringToArgs2[3],_ref7=_slicedToArray(color_convert_default.a.rgb.hsl([r,g,b])||[0,0,0],3),h=_ref7[0],s=_ref7[1],l=_ref7[2];return _defineProperty(_ref8={valid:valid,value:value,keyword:color_convert_default.a.rgb.keyword([r,g,b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref8,ColorSpace.HSL,"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref8,ColorSpace.HEX,"#".concat(color_convert_default.a.rgb.hex([r,g,b]).toLowerCase())),_ref8}if(HSL_REGEXP.test(value)){var _ref11,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h=_stringToArgs4[0],_s2=_stringToArgs4[1],_l=_stringToArgs4[2],_a=_stringToArgs4[3],_ref10=_slicedToArray(color_convert_default.a.hsl.rgb([_h,_s2,_l])||[0,0,0],3),_r=_ref10[0],_g=_ref10[1],_b=_ref10[2];return _defineProperty(_ref11={valid:valid,value:value,keyword:color_convert_default.a.hsl.keyword([_h,_s2,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g,", ").concat(_b,", ").concat(_a,")")),_defineProperty(_ref11,ColorSpace.HSL,value),_defineProperty(_ref11,ColorSpace.HEX,"#".concat(color_convert_default.a.hsl.hex([_h,_s2,_l]).toLowerCase())),_ref11}var plain=value.replace("#",""),rgb=color_convert_default.a.keyword.rgb(plain)||color_convert_default.a.hex.rgb(plain),hsl=color_convert_default.a.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default.a.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref12={valid:valid,value:mapped,keyword:color_convert_default.a.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref12,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref12,ColorSpace.HEX,mapped),_ref12}},Color_useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react.useState)((function(){return Color_parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1],realValue=Object(react.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||null==color||!color.valid)return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(color_convert_default.a.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react.useCallback)((function(update){var parsed=Color_parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[]),cycleColorSpace=Object(react.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},Color_ColorControl=function ColorControl(_ref13){var initialValue=_ref13.value,onChange=_ref13.onChange,onFocus=_ref13.onFocus,onBlur=_ref13.onBlur,presetColors=_ref13.presetColors,startOpen=_ref13.startOpen,_useColorInput=Color_useColorInput(initialValue,throttle_default()(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react.useState)(null!=currentColor&¤tColor.valid?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1],presets=Object(react.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?Color_parseValue(preset):preset.title?Object.assign({},Color_parseValue(preset.color),{keyword:preset.title}):Color_parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react.useCallback)((function(color){null!=color&&color.valid&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react_default.a.createElement(Wrapper,null,react_default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react_default.a.createElement(TooltipContent,null,react_default.a.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react_default.a.createElement(Swatches,null,presets.map((function(preset){return react_default.a.createElement(lazy_WithTooltip.a,{key:preset.value,hasChrome:!1,tooltip:react_default.a.createElement(Note,{note:preset.keyword||preset.value})},react_default.a.createElement(Color_Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react_default.a.createElement(Color_Swatch,{value:realValue,style:{margin:4}})),react_default.a.createElement(Input,{value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color"}),react_default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}))};Color_ColorControl.displayName="ColorControl";__webpack_exports__.default=Color_ColorControl},3004:function(module,exports,__webpack_require__){const cssKeywords=__webpack_require__(3065),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(char=>char+char).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},3062:function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(42),$some=__webpack_require__(394).some;$({target:"Array",proto:!0,forced:!__webpack_require__(513)("some")},{some:function some(callbackfn){return $some(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},3063:function(module,exports,__webpack_require__){var $=__webpack_require__(42),$values=__webpack_require__(1608).values;$({target:"Object",stat:!0},{values:function values(O){return $values(O)}})},3064:function(module,exports,__webpack_require__){const conversions=__webpack_require__(3004),route=__webpack_require__(3066),convert={};Object.keys(conversions).forEach(fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach(toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)})}),module.exports=convert},3065:function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},3066:function(module,exports,__webpack_require__){const conversions=__webpack_require__(3004);function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=wait||timeSinceLastCall<0||maxing&&time-lastInvokeTime>=maxWait}function timerExpired(){var time=now();if(shouldInvoke(time))return trailingEdge(time);timerId=setTimeout(timerExpired,function remainingWait(time){var timeWaiting=wait-(time-lastCallTime);return maxing?nativeMin(timeWaiting,maxWait-(time-lastInvokeTime)):timeWaiting}(time))}function trailingEdge(time){return timerId=void 0,trailing&&lastArgs?invokeFunc(time):(lastArgs=lastThis=void 0,result)}function debounced(){var time=now(),isInvoking=shouldInvoke(time);if(lastArgs=arguments,lastThis=this,lastCallTime=time,isInvoking){if(void 0===timerId)return leadingEdge(lastCallTime);if(maxing)return clearTimeout(timerId),timerId=setTimeout(timerExpired,wait),invokeFunc(lastCallTime)}return void 0===timerId&&(timerId=setTimeout(timerExpired,wait)),result}return wait=toNumber(wait)||0,isObject(options)&&(leading=!!options.leading,maxWait=(maxing="maxWait"in options)?nativeMax(toNumber(options.maxWait)||0,wait):maxWait,trailing="trailing"in options?!!options.trailing:trailing),debounced.cancel=function cancel(){void 0!==timerId&&clearTimeout(timerId),lastInvokeTime=0,lastArgs=lastCallTime=lastThis=timerId=void 0},debounced.flush=function flush(){return void 0===timerId?result:trailingEdge(now())},debounced}},3069:function(module,exports,__webpack_require__){var root=__webpack_require__(206);module.exports=function(){return root.Date.now()}},3070:function(module,exports,__webpack_require__){var baseTrim=__webpack_require__(3071),isObject=__webpack_require__(297),isSymbol=__webpack_require__(715),reIsBadHex=/^[-+]0x[0-9a-f]+$/i,reIsBinary=/^0b[01]+$/i,reIsOctal=/^0o[0-7]+$/i,freeParseInt=parseInt;module.exports=function toNumber(value){if("number"==typeof value)return value;if(isSymbol(value))return NaN;if(isObject(value)){var other="function"==typeof value.valueOf?value.valueOf():value;value=isObject(other)?other+"":other}if("string"!=typeof value)return 0===value?value:+value;value=baseTrim(value);var isBinary=reIsBinary.test(value);return isBinary||reIsOctal.test(value)?freeParseInt(value.slice(2),isBinary?2:8):reIsBadHex.test(value)?NaN:+value}},3071:function(module,exports,__webpack_require__){var trimmedEndIndex=__webpack_require__(3072),reTrimStart=/^\s+/;module.exports=function baseTrim(string){return string?string.slice(0,trimmedEndIndex(string)+1).replace(reTrimStart,""):string}},3072:function(module,exports){var reWhitespace=/\s/;module.exports=function trimmedEndIndex(string){for(var index=string.length;index--&&reWhitespace.test(string.charAt(index)););return index}}}]); \ No newline at end of file diff --git a/docs/5.debe883f.iframe.bundle.js b/docs/5.debe883f.iframe.bundle.js new file mode 100644 index 000000000..1d85b7e35 --- /dev/null +++ b/docs/5.debe883f.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[5],{1336:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorControl",(function(){return Color_ColorControl}));__webpack_require__(27),__webpack_require__(23),__webpack_require__(15),__webpack_require__(20),__webpack_require__(66),__webpack_require__(354),__webpack_require__(282),__webpack_require__(8),__webpack_require__(7),__webpack_require__(195),__webpack_require__(41),__webpack_require__(194),__webpack_require__(83),__webpack_require__(112),__webpack_require__(209);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);function index_module_l(){return(index_module_l=Object.assign||function(e){for(var r=1;r=0||(n[t]=e[t]);return n}var index_module_c="undefined"!=typeof window?react.useLayoutEffect:react.useEffect;function index_module_i(e){var r=Object(react.useRef)(e);return Object(react.useEffect)((function(){r.current=e})),Object(react.useCallback)((function(e){return r.current&&r.current(e)}),[])}var index_module_s,index_module_f=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=1),e>t?t:e0:e.buttons>0)&&h.current?_(index_module_d(h.current,e)):b(!1)}),[_]),x=Object(react.useCallback)((function(e){var r=e.nativeEvent;r.preventDefault(),function(e){return!(m.current&&!index_module_v(e)||(m.current||(m.current=index_module_v(e)),0))}(r)&&(_(index_module_d(h.current,r)),b(!0))}),[_]),H=Object(react.useCallback)((function(e){var r=e.which||e.keyCode;r<37||r>40||(e.preventDefault(),C({left:39===r?.05:37===r?-.05:0,top:40===r?.05:38===r?-.05:0}))}),[C]),N=Object(react.useCallback)((function(){return b(!1)}),[]),w=Object(react.useCallback)((function(e){var r=e?window.addEventListener:window.removeEventListener;r(m.current?"touchmove":"mousemove",E),r(m.current?"touchend":"mouseup",N)}),[E,N]);return index_module_c((function(){return w(p),function(){p&&w(!1)}}),[p,w]),react_default.a.createElement("div",index_module_l({},f,{className:"react-colorful__interactive",ref:h,onTouchStart:x,onMouseDown:x,onKeyDown:H,tabIndex:0,role:"slider"}))})),index_module_m=function(e){return e.filter(Boolean).join(" ")},index_module_g=function(r){var t=r.color,o=r.left,n=r.top,a=void 0===n?.5:n,l=index_module_m(["react-colorful__pointer",r.className]);return react_default.a.createElement("div",{className:l,style:{top:100*a+"%",left:100*o+"%"}},react_default.a.createElement("div",{className:"react-colorful__pointer-fill",style:{backgroundColor:t}}))},index_module_p=function(e,r,t){return void 0===r&&(r=0),void 0===t&&(t=Math.pow(10,r)),Math.round(t*e)/t},index_module_b=function(e){return"#"===e[0]&&(e=e.substr(1)),e.length<6?{r:parseInt(e[0]+e[0],16),g:parseInt(e[1]+e[1],16),b:parseInt(e[2]+e[2],16),a:1}:{r:parseInt(e.substr(0,2),16),g:parseInt(e.substr(2,2),16),b:parseInt(e.substr(4,2),16),a:1}},index_module_=function(e){var r=/hsla?\((\d+\.?\d*),\s*(\d+\.?\d*)%?,\s*(\d+\.?\d*)%?,?\s*(\d+\.?\d*)?\)/.exec(e);return r?index_module_E({h:Number(r[1]),s:Number(r[2]),l:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},index_module_E=function(e){var r=e.s,t=e.l;return{h:e.h,s:(r*=(t<50?t:100-t)/100)>0?2*r/(t+r)*100:0,v:t+r,a:e.a}},index_module_x=function(e){var r=e.s,t=e.v,o=e.a,n=(200-r)*t/100;return{h:index_module_p(e.h),s:index_module_p(n>0&&n<200?r*t/100/(n<=100?n:200-n)*100:0),l:index_module_p(n/2),a:index_module_p(o,2)}},index_module_H=function(e){var r=index_module_x(e);return"hsl("+r.h+", "+r.s+"%, "+r.l+"%)"},index_module_N=function(e){var r=index_module_x(e);return"hsla("+r.h+", "+r.s+"%, "+r.l+"%, "+r.a+")"},index_module_w=function(e){var r=e.h,t=e.s,o=e.v,n=e.a;r=r/360*6,t/=100,o/=100;var a=Math.floor(r),l=o*(1-t),u=o*(1-(r-a)*t),c=o*(1-(1-r+a)*t),i=a%6;return{r:index_module_p(255*[o,u,l,l,c,o][i]),g:index_module_p(255*[c,o,o,u,l,l][i]),b:index_module_p(255*[l,l,c,o,o,u][i]),a:index_module_p(n,2)}},q=function(e){var r=/rgba?\((\d+),\s*(\d+),\s*(\d+),?\s*(\d+\.?\d*)?\)/.exec(e);return r?I({r:Number(r[1]),g:Number(r[2]),b:Number(r[3]),a:void 0===r[4]?1:Number(r[4])}):{h:0,s:0,v:0,a:1}},O=function(e){var r=e.toString(16);return r.length<2?"0"+r:r},I=function(e){var r=e.r,t=e.g,o=e.b,n=e.a,a=Math.max(r,t,o),l=a-Math.min(r,t,o),u=l?a===r?(t-o)/l:a===t?2+(o-r)/l:4+(r-t)/l:0;return{h:index_module_p(60*(u<0?u+6:u)),s:index_module_p(a?l/a*100:0),v:index_module_p(a/255*100),a:n}},z=react_default.a.memo((function(r){var t=r.hue,o=r.onChange,n=index_module_m(["react-colorful__hue",r.className]);return react_default.a.createElement("div",{className:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({h:360*e.left})},onKey:function(e){o({h:index_module_f(t+360*e.left,0,360)})},"aria-label":"Hue","aria-valuetext":index_module_p(t)},react_default.a.createElement(index_module_g,{className:"react-colorful__hue-pointer",left:t/360,color:index_module_H({h:t,s:100,v:100,a:1})})))})),B=react_default.a.memo((function(r){var t=r.hsva,o=r.onChange,n={backgroundColor:index_module_H({h:t.h,s:100,v:100,a:1})};return react_default.a.createElement("div",{className:"react-colorful__saturation",style:n},react_default.a.createElement(index_module_h,{onMove:function(e){o({s:100*e.left,v:100-100*e.top})},onKey:function(e){o({s:index_module_f(t.s+100*e.left,0,100),v:index_module_f(t.v-100*e.top,0,100)})},"aria-label":"Color","aria-valuetext":"Saturation "+index_module_p(t.s)+"%, Brightness "+index_module_p(t.v)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__saturation-pointer",top:1-t.v/100,left:t.s/100,color:index_module_H(t)})))})),K=function(e,r){if(e===r)return!0;for(var t in e)if(e[t]!==r[t])return!1;return!0},A=function(e,r){return e.replace(/\s/g,"")===r.replace(/\s/g,"")};function D(e,r,l){var u=index_module_i(l),c=Object(react.useState)((function(){return e.toHsva(r)})),s=c[0],f=c[1],v=Object(react.useRef)({color:r,hsva:s});Object(react.useEffect)((function(){if(!e.equal(r,v.current.color)){var t=e.toHsva(r);v.current={hsva:t,color:r},f(t)}}),[r,e]),Object(react.useEffect)((function(){var r;K(s,v.current.hsva)||e.equal(r=e.fromHsva(s),v.current.color)||(v.current={hsva:s,color:r},u(r))}),[s,e,u]);var d=Object(react.useCallback)((function(e){f((function(r){return Object.assign({},r,e)}))}),[]);return[s,d]}var L,_ColorPicker,_fallbackColor,T=function(){index_module_c((function(){if("undefined"!=typeof document&&!L){(L=document.createElement("style")).innerHTML='.react-colorful{position:relative;display:flex;flex-direction:column;width:200px;height:200px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;cursor:default}.react-colorful__saturation{position:relative;flex-grow:1;border-bottom:12px solid #000;border-radius:8px 8px 0 0;background-image:linear-gradient(0deg,#000,transparent),linear-gradient(90deg,#fff,hsla(0,0%,100%,0))}.react-colorful__alpha-gradient,.react-colorful__pointer-fill{content:"";position:absolute;left:0;top:0;right:0;bottom:0;pointer-events:none;border-radius:inherit}.react-colorful__alpha-gradient,.react-colorful__saturation{box-shadow:inset 0 0 0 1px rgba(0,0,0,.05)}.react-colorful__alpha,.react-colorful__hue{position:relative;height:24px}.react-colorful__hue{background:linear-gradient(90deg,red 0,#ff0 17%,#0f0 33%,#0ff 50%,#00f 67%,#f0f 83%,red)}.react-colorful__last-control{border-radius:0 0 8px 8px}.react-colorful__interactive{position:absolute;left:0;top:0;right:0;bottom:0;border-radius:inherit;outline:none;touch-action:none}.react-colorful__pointer{position:absolute;z-index:1;box-sizing:border-box;width:28px;height:28px;transform:translate(-50%,-50%);background-color:#fff;border:2px solid #fff;border-radius:50%;box-shadow:0 2px 4px rgba(0,0,0,.2)}.react-colorful__interactive:focus .react-colorful__pointer{transform:translate(-50%,-50%) scale(1.1)}.react-colorful__alpha,.react-colorful__alpha-pointer{background-color:#fff;background-image:url(\'data:image/svg+xml;charset=utf-8,\')}.react-colorful__saturation-pointer{z-index:3}.react-colorful__hue-pointer{z-index:2}';var e=index_module_s||__webpack_require__.nc;e&&L.setAttribute("nonce",e),document.head.appendChild(L)}}),[])},X=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v,className:"react-colorful__last-control"}))},Y={defaultColor:"000",toHsva:function(e){return I(index_module_b(e))},fromHsva:function(e){return t=(r=index_module_w(e)).g,o=r.b,"#"+O(r.r)+O(t)+O(o);var r,t,o},equal:function(e,r){return e.toLowerCase()===r.toLowerCase()||K(index_module_b(e),index_module_b(r))}},P=function(r){var t=r.className,o=r.hsva,n=r.onChange,a={backgroundImage:"linear-gradient(90deg, "+index_module_N(Object.assign({},o,{a:0}))+", "+index_module_N(Object.assign({},o,{a:1}))+")"},l=index_module_m(["react-colorful__alpha",t]);return react_default.a.createElement("div",{className:l},react_default.a.createElement("div",{className:"react-colorful__alpha-gradient",style:a}),react_default.a.createElement(index_module_h,{onMove:function(e){n({a:e.left})},onKey:function(e){n({a:index_module_f(o.a+e.left)})},"aria-label":"Alpha","aria-valuetext":index_module_p(100*o.a)+"%"},react_default.a.createElement(index_module_g,{className:"react-colorful__alpha-pointer",left:o.a,color:index_module_N(o)})))},R=function(r){var t=r.className,o=r.colorModel,n=r.color,a=void 0===n?o.defaultColor:n,c=r.onChange,i=index_module_u(r,["className","colorModel","color","onChange"]);T();var s=D(o,a,c),f=s[0],v=s[1],d=index_module_m(["react-colorful",t]);return react_default.a.createElement("div",index_module_l({},i,{className:d}),react_default.a.createElement(B,{hsva:f,onChange:v}),react_default.a.createElement(z,{hue:f.h,onChange:v}),react_default.a.createElement(P,{hsva:f,onChange:v,className:"react-colorful__last-control"}))},Q={defaultColor:"hsla(0, 0%, 0%, 1)",toHsva:index_module_,fromHsva:index_module_N,equal:A},fe={defaultColor:"rgba(0, 0, 0, 1)",toHsva:q,fromHsva:function(e){var r=index_module_w(e);return"rgba("+r.r+", "+r.g+", "+r.b+", "+r.a+")"},equal:A},color_convert=__webpack_require__(1432),color_convert_default=__webpack_require__.n(color_convert),throttle=__webpack_require__(1435),throttle_default=__webpack_require__.n(throttle),esm=__webpack_require__(4),TooltipNote=__webpack_require__(652),lazy_WithTooltip=__webpack_require__(256),esm_form=__webpack_require__(125),icon=__webpack_require__(77);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.div({position:"relative",maxWidth:250}),PickerTooltip=Object(esm.styled)(lazy_WithTooltip.a)({position:"absolute",zIndex:1,top:4,left:4}),TooltipContent=esm.styled.div({width:200,margin:5,".react-colorful__saturation":{borderRadius:"4px 4px 0 0"},".react-colorful__hue":{boxShadow:"inset 0 0 0 1px rgb(0 0 0 / 5%)"},".react-colorful__last-control":{borderRadius:"0 0 4px 4px"}}),Note=Object(esm.styled)(TooltipNote.a)((function(_ref){return{fontFamily:_ref.theme.typography.fonts.base}})),Swatches=esm.styled.div({display:"grid",gridTemplateColumns:"repeat(9, 16px)",gap:6,padding:3,marginTop:5,width:200}),SwatchColor=esm.styled.div((function(_ref2){var theme=_ref2.theme;return{width:16,height:16,boxShadow:_ref2.active?"".concat(theme.appBorderColor," 0 0 0 1px inset, ").concat(theme.color.mediumdark,"50 0 0 0 4px"):"".concat(theme.appBorderColor," 0 0 0 1px inset"),borderRadius:theme.appBorderRadius}})),Color_Swatch=function Swatch(_ref3){var value=_ref3.value,active=_ref3.active,onClick=_ref3.onClick,style=_ref3.style,props=_objectWithoutProperties(_ref3,["value","active","onClick","style"]),backgroundImage="linear-gradient(".concat(value,", ").concat(value,"), ").concat('url(\'data:image/svg+xml;charset=utf-8,\')',", linear-gradient(#fff, #fff)");return react_default.a.createElement(SwatchColor,_extends({},props,{active:active,onClick:onClick,style:Object.assign({},style,{backgroundImage:backgroundImage})}))};Color_Swatch.displayName="Swatch";var ColorSpace,Input=Object(esm.styled)(esm_form.a.Input)((function(_ref4){return{width:"100%",paddingLeft:30,paddingRight:30,boxSizing:"border-box",fontFamily:_ref4.theme.typography.fonts.base}})),ToggleIcon=Object(esm.styled)(icon.a)((function(_ref5){return{position:"absolute",zIndex:1,top:6,right:7,width:20,height:20,padding:4,boxSizing:"border-box",cursor:"pointer",color:_ref5.theme.input.color}}));!function(ColorSpace){ColorSpace.RGB="rgb",ColorSpace.HSL="hsl",ColorSpace.HEX="hex"}(ColorSpace||(ColorSpace={}));var COLOR_SPACES=Object.values(ColorSpace),COLOR_REGEXP=/\(([0-9]+),\s*([0-9]+)%?,\s*([0-9]+)%?,?\s*([0-9.]+)?\)/,RGB_REGEXP=/^\s*rgba?\(([0-9]+),\s*([0-9]+),\s*([0-9]+),?\s*([0-9.]+)?\)\s*$/i,HSL_REGEXP=/^\s*hsla?\(([0-9]+),\s*([0-9]+)%,\s*([0-9]+)%,?\s*([0-9.]+)?\)\s*$/i,HEX_REGEXP=/^\s*#?([0-9a-f]{3}|[0-9a-f]{6})\s*$/i,SHORTHEX_REGEXP=/^\s*#?([0-9a-f]{3})\s*$/i,ColorPicker=(_defineProperty(_ColorPicker={},ColorSpace.HEX,(function(r){return react_default.a.createElement(X,index_module_l({},r,{colorModel:Y}))})),_defineProperty(_ColorPicker,ColorSpace.RGB,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:fe}))})),_defineProperty(_ColorPicker,ColorSpace.HSL,(function(r){return react_default.a.createElement(R,index_module_l({},r,{colorModel:Q}))})),_ColorPicker),fallbackColor=(_defineProperty(_fallbackColor={},ColorSpace.HEX,"transparent"),_defineProperty(_fallbackColor,ColorSpace.RGB,"rgba(0, 0, 0, 0)"),_defineProperty(_fallbackColor,ColorSpace.HSL,"hsla(0, 0%, 0%, 0)"),_fallbackColor),stringToArgs=function stringToArgs(value){var match=null==value?void 0:value.match(COLOR_REGEXP);if(!match)return[0,0,0,1];var _match=_slicedToArray(match,5),x=_match[1],y=_match[2],z=_match[3],_match$=_match[4];return[x,y,z,void 0===_match$?1:_match$].map(Number)},Color_parseValue=function parseValue(value){var _ref12;if(value){var valid=!0;if(RGB_REGEXP.test(value)){var _ref8,_stringToArgs2=_slicedToArray(stringToArgs(value),4),r=_stringToArgs2[0],g=_stringToArgs2[1],b=_stringToArgs2[2],a=_stringToArgs2[3],_ref7=_slicedToArray(color_convert_default.a.rgb.hsl([r,g,b])||[0,0,0],3),h=_ref7[0],s=_ref7[1],l=_ref7[2];return _defineProperty(_ref8={valid:valid,value:value,keyword:color_convert_default.a.rgb.keyword([r,g,b]),colorSpace:ColorSpace.RGB},ColorSpace.RGB,value),_defineProperty(_ref8,ColorSpace.HSL,"hsla(".concat(h,", ").concat(s,"%, ").concat(l,"%, ").concat(a,")")),_defineProperty(_ref8,ColorSpace.HEX,"#".concat(color_convert_default.a.rgb.hex([r,g,b]).toLowerCase())),_ref8}if(HSL_REGEXP.test(value)){var _ref11,_stringToArgs4=_slicedToArray(stringToArgs(value),4),_h=_stringToArgs4[0],_s2=_stringToArgs4[1],_l=_stringToArgs4[2],_a=_stringToArgs4[3],_ref10=_slicedToArray(color_convert_default.a.hsl.rgb([_h,_s2,_l])||[0,0,0],3),_r=_ref10[0],_g=_ref10[1],_b=_ref10[2];return _defineProperty(_ref11={valid:valid,value:value,keyword:color_convert_default.a.hsl.keyword([_h,_s2,_l]),colorSpace:ColorSpace.HSL},ColorSpace.RGB,"rgba(".concat(_r,", ").concat(_g,", ").concat(_b,", ").concat(_a,")")),_defineProperty(_ref11,ColorSpace.HSL,value),_defineProperty(_ref11,ColorSpace.HEX,"#".concat(color_convert_default.a.hsl.hex([_h,_s2,_l]).toLowerCase())),_ref11}var plain=value.replace("#",""),rgb=color_convert_default.a.keyword.rgb(plain)||color_convert_default.a.hex.rgb(plain),hsl=color_convert_default.a.rgb.hsl(rgb),mapped=value;if(/[^#a-f0-9]/i.test(value)?mapped=plain:HEX_REGEXP.test(value)&&(mapped="#".concat(plain)),mapped.startsWith("#"))valid=HEX_REGEXP.test(mapped);else try{color_convert_default.a.keyword.hex(mapped)}catch(e){valid=!1}return _defineProperty(_ref12={valid:valid,value:mapped,keyword:color_convert_default.a.rgb.keyword(rgb),colorSpace:ColorSpace.HEX},ColorSpace.RGB,"rgba(".concat(rgb[0],", ").concat(rgb[1],", ").concat(rgb[2],", 1)")),_defineProperty(_ref12,ColorSpace.HSL,"hsla(".concat(hsl[0],", ").concat(hsl[1],"%, ").concat(hsl[2],"%, 1)")),_defineProperty(_ref12,ColorSpace.HEX,mapped),_ref12}},Color_useColorInput=function useColorInput(initialValue,onChange){var _useState2=_slicedToArray(Object(react.useState)(initialValue||""),2),value=_useState2[0],setValue=_useState2[1],_useState4=_slicedToArray(Object(react.useState)((function(){return Color_parseValue(value)})),2),color=_useState4[0],setColor=_useState4[1],_useState6=_slicedToArray(Object(react.useState)((null==color?void 0:color.colorSpace)||ColorSpace.HEX),2),colorSpace=_useState6[0],setColorSpace=_useState6[1],realValue=Object(react.useMemo)((function(){return function getRealValue(value,color,colorSpace){if(!value||null==color||!color.valid)return fallbackColor[colorSpace];if(colorSpace!==ColorSpace.HEX)return(null==color?void 0:color[colorSpace])||fallbackColor[colorSpace];if(!color.hex.startsWith("#"))try{return"#".concat(color_convert_default.a.keyword.hex(color.hex))}catch(e){return fallbackColor.hex}var short=color.hex.match(SHORTHEX_REGEXP);if(!short)return HEX_REGEXP.test(color.hex)?color.hex:fallbackColor.hex;var _short$1$split2=_slicedToArray(short[1].split(""),3),r=_short$1$split2[0],g=_short$1$split2[1],b=_short$1$split2[2];return"#".concat(r).concat(r).concat(g).concat(g).concat(b).concat(b)}(value,color,colorSpace).toLowerCase()}),[value,color,colorSpace]),updateValue=Object(react.useCallback)((function(update){var parsed=Color_parseValue(update);setValue((null==parsed?void 0:parsed.value)||update||""),parsed&&(setColor(parsed),setColorSpace(parsed.colorSpace),onChange(parsed.value))}),[]),cycleColorSpace=Object(react.useCallback)((function(){var next=COLOR_SPACES.indexOf(colorSpace)+1;next>=COLOR_SPACES.length&&(next=0),setColorSpace(COLOR_SPACES[next]);var update=(null==color?void 0:color[COLOR_SPACES[next]])||"";setValue(update),onChange(update)}),[color,colorSpace]);return{value:value,realValue:realValue,updateValue:updateValue,color:color,colorSpace:colorSpace,cycleColorSpace:cycleColorSpace}},id=function id(value){return value.replace(/\s*/,"").toLowerCase()},Color_ColorControl=function ColorControl(_ref13){var initialValue=_ref13.value,onChange=_ref13.onChange,onFocus=_ref13.onFocus,onBlur=_ref13.onBlur,presetColors=_ref13.presetColors,startOpen=_ref13.startOpen,_useColorInput=Color_useColorInput(initialValue,throttle_default()(onChange,200)),value=_useColorInput.value,realValue=_useColorInput.realValue,updateValue=_useColorInput.updateValue,color=_useColorInput.color,colorSpace=_useColorInput.colorSpace,cycleColorSpace=_useColorInput.cycleColorSpace,_usePresets=function usePresets(presetColors,currentColor,colorSpace){var _useState8=_slicedToArray(Object(react.useState)(null!=currentColor&¤tColor.valid?[currentColor]:[]),2),selectedColors=_useState8[0],setSelectedColors=_useState8[1],presets=Object(react.useMemo)((function(){return(presetColors||[]).map((function(preset){return"string"==typeof preset?Color_parseValue(preset):preset.title?Object.assign({},Color_parseValue(preset.color),{keyword:preset.title}):Color_parseValue(preset.color)})).concat(selectedColors).filter(Boolean).slice(-27)}),[presetColors,selectedColors]),addPreset=Object(react.useCallback)((function(color){null!=color&&color.valid&&(presets.some((function(preset){return id(preset[colorSpace])===id(color[colorSpace])}))||setSelectedColors((function(arr){return arr.concat(color)})))}),[colorSpace,presets]);return{presets:presets,addPreset:addPreset}}(presetColors,color,colorSpace),presets=_usePresets.presets,addPreset=_usePresets.addPreset,Picker=ColorPicker[colorSpace];return react_default.a.createElement(Wrapper,null,react_default.a.createElement(PickerTooltip,{trigger:"click",startOpen:startOpen,closeOnClick:!0,onVisibilityChange:function onVisibilityChange(){return addPreset(color)},tooltip:react_default.a.createElement(TooltipContent,null,react_default.a.createElement(Picker,{color:"transparent"===realValue?"#000000":realValue,onChange:updateValue,onFocus:onFocus,onBlur:onBlur}),presets.length>0&&react_default.a.createElement(Swatches,null,presets.map((function(preset){return react_default.a.createElement(lazy_WithTooltip.a,{key:preset.value,hasChrome:!1,tooltip:react_default.a.createElement(Note,{note:preset.keyword||preset.value})},react_default.a.createElement(Color_Swatch,{value:preset[colorSpace],active:color&&id(preset[colorSpace])===id(color[colorSpace]),onClick:function onClick(){return updateValue(preset.value)}}))}))))},react_default.a.createElement(Color_Swatch,{value:realValue,style:{margin:4}})),react_default.a.createElement(Input,{value:value,onChange:function onChange(e){return updateValue(e.target.value)},onFocus:function onFocus(e){return e.target.select()},placeholder:"Choose color"}),react_default.a.createElement(ToggleIcon,{icon:"markup",onClick:cycleColorSpace}))};Color_ColorControl.displayName="ColorControl";__webpack_exports__.default=Color_ColorControl},1378:function(module,exports,__webpack_require__){const cssKeywords=__webpack_require__(1433),reverseKeywords={};for(const key of Object.keys(cssKeywords))reverseKeywords[cssKeywords[key]]=key;const convert={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};module.exports=convert;for(const model of Object.keys(convert)){if(!("channels"in convert[model]))throw new Error("missing channels property: "+model);if(!("labels"in convert[model]))throw new Error("missing channel labels property: "+model);if(convert[model].labels.length!==convert[model].channels)throw new Error("channel and label counts mismatch: "+model);const{channels:channels,labels:labels}=convert[model];delete convert[model].channels,delete convert[model].labels,Object.defineProperty(convert[model],"channels",{value:channels}),Object.defineProperty(convert[model],"labels",{value:labels})}convert.rgb.hsl=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,min=Math.min(r,g,b),max=Math.max(r,g,b),delta=max-min;let h,s;max===min?h=0:r===max?h=(g-b)/delta:g===max?h=2+(b-r)/delta:b===max&&(h=4+(r-g)/delta),h=Math.min(60*h,360),h<0&&(h+=360);const l=(min+max)/2;return s=max===min?0:l<=.5?delta/(max+min):delta/(2-max-min),[h,100*s,100*l]},convert.rgb.hsv=function(rgb){let rdif,gdif,bdif,h,s;const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,v=Math.max(r,g,b),diff=v-Math.min(r,g,b),diffc=function(c){return(v-c)/6/diff+.5};return 0===diff?(h=0,s=0):(s=diff/v,rdif=diffc(r),gdif=diffc(g),bdif=diffc(b),r===v?h=bdif-gdif:g===v?h=1/3+rdif-bdif:b===v&&(h=2/3+gdif-rdif),h<0?h+=1:h>1&&(h-=1)),[360*h,100*s,100*v]},convert.rgb.hwb=function(rgb){const r=rgb[0],g=rgb[1];let b=rgb[2];const h=convert.rgb.hsl(rgb)[0],w=1/255*Math.min(r,Math.min(g,b));return b=1-1/255*Math.max(r,Math.max(g,b)),[h,100*w,100*b]},convert.rgb.cmyk=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,k=Math.min(1-r,1-g,1-b);return[100*((1-r-k)/(1-k)||0),100*((1-g-k)/(1-k)||0),100*((1-b-k)/(1-k)||0),100*k]},convert.rgb.keyword=function(rgb){const reversed=reverseKeywords[rgb];if(reversed)return reversed;let currentClosestKeyword,currentClosestDistance=1/0;for(const keyword of Object.keys(cssKeywords)){const value=cssKeywords[keyword],distance=(y=value,((x=rgb)[0]-y[0])**2+(x[1]-y[1])**2+(x[2]-y[2])**2);distance.04045?((r+.055)/1.055)**2.4:r/12.92,g=g>.04045?((g+.055)/1.055)**2.4:g/12.92,b=b>.04045?((b+.055)/1.055)**2.4:b/12.92;return[100*(.4124*r+.3576*g+.1805*b),100*(.2126*r+.7152*g+.0722*b),100*(.0193*r+.1192*g+.9505*b)]},convert.rgb.lab=function(rgb){const xyz=convert.rgb.xyz(rgb);let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.hsl.rgb=function(hsl){const h=hsl[0]/360,s=hsl[1]/100,l=hsl[2]/100;let t2,t3,val;if(0===s)return val=255*l,[val,val,val];t2=l<.5?l*(1+s):l+s-l*s;const t1=2*l-t2,rgb=[0,0,0];for(let i=0;i<3;i++)t3=h+1/3*-(i-1),t3<0&&t3++,t3>1&&t3--,val=6*t3<1?t1+6*(t2-t1)*t3:2*t3<1?t2:3*t3<2?t1+(t2-t1)*(2/3-t3)*6:t1,rgb[i]=255*val;return rgb},convert.hsl.hsv=function(hsl){const h=hsl[0];let s=hsl[1]/100,l=hsl[2]/100,smin=s;const lmin=Math.max(l,.01);l*=2,s*=l<=1?l:2-l,smin*=lmin<=1?lmin:2-lmin;return[h,100*(0===l?2*smin/(lmin+smin):2*s/(l+s)),100*((l+s)/2)]},convert.hsv.rgb=function(hsv){const h=hsv[0]/60,s=hsv[1]/100;let v=hsv[2]/100;const hi=Math.floor(h)%6,f=h-Math.floor(h),p=255*v*(1-s),q=255*v*(1-s*f),t=255*v*(1-s*(1-f));switch(v*=255,hi){case 0:return[v,t,p];case 1:return[q,v,p];case 2:return[p,v,t];case 3:return[p,q,v];case 4:return[t,p,v];case 5:return[v,p,q]}},convert.hsv.hsl=function(hsv){const h=hsv[0],s=hsv[1]/100,v=hsv[2]/100,vmin=Math.max(v,.01);let sl,l;l=(2-s)*v;const lmin=(2-s)*vmin;return sl=s*vmin,sl/=lmin<=1?lmin:2-lmin,sl=sl||0,l/=2,[h,100*sl,100*l]},convert.hwb.rgb=function(hwb){const h=hwb[0]/360;let wh=hwb[1]/100,bl=hwb[2]/100;const ratio=wh+bl;let f;ratio>1&&(wh/=ratio,bl/=ratio);const i=Math.floor(6*h),v=1-bl;f=6*h-i,0!=(1&i)&&(f=1-f);const n=wh+f*(v-wh);let r,g,b;switch(i){default:case 6:case 0:r=v,g=n,b=wh;break;case 1:r=n,g=v,b=wh;break;case 2:r=wh,g=v,b=n;break;case 3:r=wh,g=n,b=v;break;case 4:r=n,g=wh,b=v;break;case 5:r=v,g=wh,b=n}return[255*r,255*g,255*b]},convert.cmyk.rgb=function(cmyk){const c=cmyk[0]/100,m=cmyk[1]/100,y=cmyk[2]/100,k=cmyk[3]/100;return[255*(1-Math.min(1,c*(1-k)+k)),255*(1-Math.min(1,m*(1-k)+k)),255*(1-Math.min(1,y*(1-k)+k))]},convert.xyz.rgb=function(xyz){const x=xyz[0]/100,y=xyz[1]/100,z=xyz[2]/100;let r,g,b;return r=3.2406*x+-1.5372*y+-.4986*z,g=-.9689*x+1.8758*y+.0415*z,b=.0557*x+-.204*y+1.057*z,r=r>.0031308?1.055*r**(1/2.4)-.055:12.92*r,g=g>.0031308?1.055*g**(1/2.4)-.055:12.92*g,b=b>.0031308?1.055*b**(1/2.4)-.055:12.92*b,r=Math.min(Math.max(0,r),1),g=Math.min(Math.max(0,g),1),b=Math.min(Math.max(0,b),1),[255*r,255*g,255*b]},convert.xyz.lab=function(xyz){let x=xyz[0],y=xyz[1],z=xyz[2];x/=95.047,y/=100,z/=108.883,x=x>.008856?x**(1/3):7.787*x+16/116,y=y>.008856?y**(1/3):7.787*y+16/116,z=z>.008856?z**(1/3):7.787*z+16/116;return[116*y-16,500*(x-y),200*(y-z)]},convert.lab.xyz=function(lab){let x,y,z;y=(lab[0]+16)/116,x=lab[1]/500+y,z=y-lab[2]/200;const y2=y**3,x2=x**3,z2=z**3;return y=y2>.008856?y2:(y-16/116)/7.787,x=x2>.008856?x2:(x-16/116)/7.787,z=z2>.008856?z2:(z-16/116)/7.787,x*=95.047,y*=100,z*=108.883,[x,y,z]},convert.lab.lch=function(lab){const l=lab[0],a=lab[1],b=lab[2];let h;h=360*Math.atan2(b,a)/2/Math.PI,h<0&&(h+=360);return[l,Math.sqrt(a*a+b*b),h]},convert.lch.lab=function(lch){const l=lch[0],c=lch[1],hr=lch[2]/360*2*Math.PI;return[l,c*Math.cos(hr),c*Math.sin(hr)]},convert.rgb.ansi16=function(args,saturation=null){const[r,g,b]=args;let value=null===saturation?convert.rgb.hsv(args)[2]:saturation;if(value=Math.round(value/50),0===value)return 30;let ansi=30+(Math.round(b/255)<<2|Math.round(g/255)<<1|Math.round(r/255));return 2===value&&(ansi+=60),ansi},convert.hsv.ansi16=function(args){return convert.rgb.ansi16(convert.hsv.rgb(args),args[2])},convert.rgb.ansi256=function(args){const r=args[0],g=args[1],b=args[2];if(r===g&&g===b)return r<8?16:r>248?231:Math.round((r-8)/247*24)+232;return 16+36*Math.round(r/255*5)+6*Math.round(g/255*5)+Math.round(b/255*5)},convert.ansi16.rgb=function(args){let color=args%10;if(0===color||7===color)return args>50&&(color+=3.5),color=color/10.5*255,[color,color,color];const mult=.5*(1+~~(args>50));return[(1&color)*mult*255,(color>>1&1)*mult*255,(color>>2&1)*mult*255]},convert.ansi256.rgb=function(args){if(args>=232){const c=10*(args-232)+8;return[c,c,c]}let rem;args-=16;return[Math.floor(args/36)/5*255,Math.floor((rem=args%36)/6)/5*255,rem%6/5*255]},convert.rgb.hex=function(args){const string=(((255&Math.round(args[0]))<<16)+((255&Math.round(args[1]))<<8)+(255&Math.round(args[2]))).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.hex.rgb=function(args){const match=args.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!match)return[0,0,0];let colorString=match[0];3===match[0].length&&(colorString=colorString.split("").map(char=>char+char).join(""));const integer=parseInt(colorString,16);return[integer>>16&255,integer>>8&255,255&integer]},convert.rgb.hcg=function(rgb){const r=rgb[0]/255,g=rgb[1]/255,b=rgb[2]/255,max=Math.max(Math.max(r,g),b),min=Math.min(Math.min(r,g),b),chroma=max-min;let grayscale,hue;return grayscale=chroma<1?min/(1-chroma):0,hue=chroma<=0?0:max===r?(g-b)/chroma%6:max===g?2+(b-r)/chroma:4+(r-g)/chroma,hue/=6,hue%=1,[360*hue,100*chroma,100*grayscale]},convert.hsl.hcg=function(hsl){const s=hsl[1]/100,l=hsl[2]/100,c=l<.5?2*s*l:2*s*(1-l);let f=0;return c<1&&(f=(l-.5*c)/(1-c)),[hsl[0],100*c,100*f]},convert.hsv.hcg=function(hsv){const s=hsv[1]/100,v=hsv[2]/100,c=s*v;let f=0;return c<1&&(f=(v-c)/(1-c)),[hsv[0],100*c,100*f]},convert.hcg.rgb=function(hcg){const h=hcg[0]/360,c=hcg[1]/100,g=hcg[2]/100;if(0===c)return[255*g,255*g,255*g];const pure=[0,0,0],hi=h%1*6,v=hi%1,w=1-v;let mg=0;switch(Math.floor(hi)){case 0:pure[0]=1,pure[1]=v,pure[2]=0;break;case 1:pure[0]=w,pure[1]=1,pure[2]=0;break;case 2:pure[0]=0,pure[1]=1,pure[2]=v;break;case 3:pure[0]=0,pure[1]=w,pure[2]=1;break;case 4:pure[0]=v,pure[1]=0,pure[2]=1;break;default:pure[0]=1,pure[1]=0,pure[2]=w}return mg=(1-c)*g,[255*(c*pure[0]+mg),255*(c*pure[1]+mg),255*(c*pure[2]+mg)]},convert.hcg.hsv=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);let f=0;return v>0&&(f=c/v),[hcg[0],100*f,100*v]},convert.hcg.hsl=function(hcg){const c=hcg[1]/100,l=hcg[2]/100*(1-c)+.5*c;let s=0;return l>0&&l<.5?s=c/(2*l):l>=.5&&l<1&&(s=c/(2*(1-l))),[hcg[0],100*s,100*l]},convert.hcg.hwb=function(hcg){const c=hcg[1]/100,v=c+hcg[2]/100*(1-c);return[hcg[0],100*(v-c),100*(1-v)]},convert.hwb.hcg=function(hwb){const w=hwb[1]/100,v=1-hwb[2]/100,c=v-w;let g=0;return c<1&&(g=(v-c)/(1-c)),[hwb[0],100*c,100*g]},convert.apple.rgb=function(apple){return[apple[0]/65535*255,apple[1]/65535*255,apple[2]/65535*255]},convert.rgb.apple=function(rgb){return[rgb[0]/255*65535,rgb[1]/255*65535,rgb[2]/255*65535]},convert.gray.rgb=function(args){return[args[0]/100*255,args[0]/100*255,args[0]/100*255]},convert.gray.hsl=function(args){return[0,0,args[0]]},convert.gray.hsv=convert.gray.hsl,convert.gray.hwb=function(gray){return[0,100,gray[0]]},convert.gray.cmyk=function(gray){return[0,0,0,gray[0]]},convert.gray.lab=function(gray){return[gray[0],0,0]},convert.gray.hex=function(gray){const val=255&Math.round(gray[0]/100*255),string=((val<<16)+(val<<8)+val).toString(16).toUpperCase();return"000000".substring(string.length)+string},convert.rgb.gray=function(rgb){return[(rgb[0]+rgb[1]+rgb[2])/3/255*100]}},1432:function(module,exports,__webpack_require__){const conversions=__webpack_require__(1378),route=__webpack_require__(1434),convert={};Object.keys(conversions).forEach(fromModel=>{convert[fromModel]={},Object.defineProperty(convert[fromModel],"channels",{value:conversions[fromModel].channels}),Object.defineProperty(convert[fromModel],"labels",{value:conversions[fromModel].labels});const routes=route(fromModel);Object.keys(routes).forEach(toModel=>{const fn=routes[toModel];convert[fromModel][toModel]=function wrapRounded(fn){const wrappedFn=function(...args){const arg0=args[0];if(null==arg0)return arg0;arg0.length>1&&(args=arg0);const result=fn(args);if("object"==typeof result)for(let len=result.length,i=0;i1&&(args=arg0),fn(args))};return"conversion"in fn&&(wrappedFn.conversion=fn.conversion),wrappedFn}(fn)})}),module.exports=convert},1433:function(module,exports,__webpack_require__){"use strict";module.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}},1434:function(module,exports,__webpack_require__){const conversions=__webpack_require__(1378);function deriveBFS(fromModel){const graph=function buildGraph(){const graph={},models=Object.keys(conversions);for(let len=models.length,i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Note=__webpack_require__(4).styled.div((function(_ref){var theme=_ref.theme;return{padding:"2px 6px",lineHeight:"16px",fontSize:10,fontWeight:theme.typography.weight.bold,color:theme.color.lightest,boxShadow:"0 0 5px 0 rgba(0, 0, 0, 0.3)",borderRadius:4,whiteSpace:"nowrap",pointerEvents:"none",zIndex:-1,background:"rgba(0, 0, 0, 0.4)",margin:6}})),TooltipNote=function TooltipNote(_ref2){var note=_ref2.note,props=_objectWithoutProperties(_ref2,["note"]);return react__WEBPACK_IMPORTED_MODULE_3___default.a.createElement(Note,props,note)};TooltipNote.displayName="TooltipNote"}}]); \ No newline at end of file diff --git a/docs/6.65191dcd8662a31a69c8.manager.bundle.js b/docs/6.65191dcd8662a31a69c8.manager.bundle.js deleted file mode 100644 index 238e5113b..000000000 --- a/docs/6.65191dcd8662a31a69c8.manager.bundle.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! For license information please see 6.65191dcd8662a31a69c8.manager.bundle.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{2266:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent}));__webpack_require__(12),__webpack_require__(67),__webpack_require__(23),__webpack_require__(106),__webpack_require__(15),__webpack_require__(1235),__webpack_require__(30),__webpack_require__(145),__webpack_require__(144),__webpack_require__(187),__webpack_require__(164);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(2289),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_ref){var _ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,extensions=_ref.extensions,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["options","extensions","className","children"]),osTargetRef=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef(),osInstance=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef();return react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){return osInstance.current=overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default()(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",_extends({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}OverlayScrollbarsComponent.displayName="OverlayScrollbarsComponent",__webpack_exports__.default=OverlayScrollbarsComponent},2289:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(window,document,undefined){"use strict";var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){"scrollLeft"===prop||"scrollTop"===prop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]="scrollLeft"===key||"scrollTop"===key?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES_s?val===undefined?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollLeft;el.scrollLeft=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollTop;el.scrollTop=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend:extend,inArray:inArray,isEmptyObject:isEmptyObject,isPlainObject:isPlainObject,each:each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,msie=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua.substring(msie+5,ua.indexOf(".",msie)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNameViewportNativeScrollbarsInvisible="os-viewport-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid="os-viewport-native-scrollbars-overlaid",_classNameTextInherit="os-text-inherit",_classNameScrollbarTrackOff="os-scrollbar-track-off",_classNameScrollbarHandleOff="os-scrollbar-handle-off",_classNameScrollbarUnusable="os-scrollbar-unusable",_classNameScrollbarAutoHidden="os-scrollbar-auto-hidden",_classNameScrollbarCornerResize="os-scrollbar-corner-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(" "),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?"auto"===force?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css("float"),css.float=_isRTL?"right":"left",css.width="auto",_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css.float=float,css.width="100%",_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update("auto"):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update("sync")&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off("load",updateOnLoadCallback);_updateOnLoadElms=undefined,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=["x","left","l"],coordinatesYAxisProps=["y","top","t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=["x","y","xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":"")+"100%").replace(/px/g,"").replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin.top,margin.right,margin.bottom,margin.left]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||"y"==settingsAxis,y:settingsScroll.y==strNever||"x"==settingsAxis};elementOffset.top-=settingsMargin[0],elementOffset.left-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset.left-viewportOffset.left+viewportScroll.l),y:MATH.round(elementOffset.top-viewportOffset.top+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize.width+settingsMargin[3]+settingsMargin[1],h:rawElementSize.height+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing.scrollLeft=easing[0]||easing.x,specialEasing.scrollTop=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement.scrollLeft(finalScroll.scrollLeft),doScrollTop&&_viewportElement.scrollTop(finalScroll.scrollTop),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w","width"),changePropertyName("h","height"),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv("os-resize-observer",generateDiv({c:"os-resize-observer-item",dir:"ltr"},generateDiv("os-resize-observer-item",generateDiv("os-resize-observer-item-final"))+generateDiv("os-resize-observer-item",generateDiv({c:"os-resize-observer-item-final",style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement.scrollLeft(3333333).scrollTop(3333333),shrinkElement.scrollLeft(3333333).scrollTop(3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,"",[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on("scroll",onScroll),shrinkElement.on("scroll",onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS.width=3333333,expandChildCSS.height=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined;if(attachEvent)targetElement.prepend(generateDiv("os-resize-observer")),findFirst(targetElement,".os-resize-observer")[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,"os-resize-observer"),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css.left=0,css.right="auto",scrollLeftValue=3333333):(css.left="auto",css.right=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement.scrollLeft(scrollLeftValue).scrollTop(3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,"scroll",(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0]).__overlayScrollbarsRO__;resizeObserverObj&&(resizeObserverObj.disconnect(),delete element.__overlayScrollbarsRO__)}else remove(targetElement.children(".os-resize-observer").eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type;if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget.closest!=TYPES_f)return!0;if(null!==mutationTarget.closest(".os-resize-observer")||null!==mutationTarget.closest(".os-scrollbar")||null!==mutationTarget.closest(".os-scrollbar-corner"))return!1}return!0}(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update("auto"))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(" ").concat(oldMutationVal.split(" ").filter((function(name){return name.match(hostClassNameRegex)}))).join(" "),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||"auto")),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,"mousemove touchmove".split(" ")[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,["mouseenter","mouseleave"],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css("min-width")),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css("min-height")),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(" "):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css["min-width"]="",css["min-height"]="",css.width="auto",_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css.width=_widthAutoCache?"auto":"100%",css["min-width"]="100%",css.height="auto",_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css.width=width,css.height=height,_textareaCoverElement.css(css),css["min-width"]=minWidth,css["min-height"]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<42&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,42)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement.scrollLeft(),y:_viewportElement.scrollTop()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+" "+_classNameThemeNone),addClass(_hostElement,className!==undefined&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv("os-content-glue")),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv("os-size-auto-observer")),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css("height",_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger("scroll"),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger("scroll")),displayIsHidden=displayIsHidden===undefined?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost("padding-");try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?"left":"right",isRTLRight=_isRTL?"right":"left",widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css("float"))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css("width");_contentGlueElement.css("width","auto");var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css("width",tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css("width",tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css("width",tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost("border-","-width",!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost("margin-"),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css("float",isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,"margin-",[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,"",paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-")):(setTopRightBottomLeft(paddingElementCSS,""),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-",paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS.height="auto":(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.height="100%"),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS.width="auto",contentGlueElementCSS["max-width"]="100%"):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.width="100%",contentElementCSS.float="",contentGlueElementCSS["max-width"]=""),widthAuto?(contentGlueElementCSS.width="auto",contentElementCSS.width=VENDORS._cssPropertyValue("width","max-content intrinsic")||"auto",contentElementCSS.float=isRTLRight):contentGlueElementCSS.width="",contentGlueElementCSS.height=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:"",sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css("bottom"):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,""),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS.bottom=wasHeightAuto?"":resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?"":resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS.width=contentGlueSize.w,contentGlueElementCSS.height=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS.width="100%"),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS.float="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax="scroll"+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:"",arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:"",arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS["margin-"+isRTLRight]=contentElementCSS["border-"+isRTLRight]="",setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?"bottom":isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS["margin-"+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]:"",contentElementCSS["border-"+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS["margin-"+strDirection]=contentElementCSS["border-"+strDirection]="",arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h="",arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS.width=hideOverflow.y?arrangeContent.w:"",contentArrangeElementCSS.height=hideOverflow.x?arrangeContent.h:"",_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv("os-content-arrange")),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]="",(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?"bottom":isRTLLeft,reset=function(){viewportElementCSS[strDirection]="",_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]="scroll",ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]="",reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS["padding-top"]=_nativeScrollbarMinSize.x,viewportElementCSS["margin-top"]=-_nativeScrollbarMinSize.x,viewportElementCSS["padding-"+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS["margin-"+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS["padding-top"]=viewportElementCSS["margin-top"]=viewportElementCSS["padding-"+isRTLRight]=viewportElementCSS["margin-"+isRTLRight]="",viewportElementCSS["padding-"+isRTLLeft]=viewportElementCSS["margin-"+isRTLLeft]="",hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=""),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display="",elementStyle.webkitTransform=""}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css("float"),posLeftWithoutFloat=MATH.round(_contentElement.css("float","").css("left","").position().left);_contentElement.css("float",floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS.left=posLeftWithoutFloat)}else contentElementCSS.left="";if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement.scrollLeft(0),heightAuto&&_hostElement.scrollTop(0),_viewportElement.scrollLeft(currScroll.x).scrollTop(currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css("min-width",_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css("min-height",_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off("load",updateOnLoadCallback).on("load",updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+" "+_classNameTextInherit,textareaClass=_isTextarea?" "+_classNameTextInherit:"",adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(" "),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass("os-content"+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass("os-viewport"+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass("os-padding"+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(" "):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,"os-html")):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS.width=_targetElement.css("width"),hostElementCSS.height=_targetElement.css("height")),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,".os-content"),_viewportElement=findFirst(_hostElement,".os-viewport"),_paddingElement=findFirst(_hostElement,".os-padding"),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,"os-html"),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update("auto"),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,["keydown","keyup"],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,["scroll","drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement.scrollLeft(_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement.scrollTop(0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=["width","min-width","max-width","margin-left","margin-right","left","right","font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=["padding-left","padding-right","border-leftwidth","border-rightwidth"],affectingPropsY=["height","min-height","max-height","margin-top","margin-bottom","top","bottom","line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=["padding-top","padding-bottom","border-topwidth","border-bottomwidth"],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,"active"),removeClass(scrollbarVars._track,"active"),removeClass(scrollbarVars._scrollbar,"active"),mouseDownScroll=undefined,mouseDownOffset=undefined,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","selectstart"],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,"mousedown touchstart",(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,["mousedown touchstart","mouseenter","mouseleave"],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,"mousedown touchstart",(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement.scrollLeft():_viewportElement.scrollTop(),currentScroll=scrollOrTransition===undefined||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative["scroll"+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpMain=new RegExp("\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*"),regExpValidate=new RegExp("^(\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*)+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,"");return strResult};i"+(content||"")+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"]("."+className.replace(/\s/g,".")).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split("."),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr}).globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN}(global,global.document,void 0)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]); \ No newline at end of file diff --git a/docs/6.737e778b.iframe.bundle.js b/docs/6.737e778b.iframe.bundle.js deleted file mode 100644 index a40404f69..000000000 --- a/docs/6.737e778b.iframe.bundle.js +++ /dev/null @@ -1,3 +0,0 @@ -/*! For license information please see 6.737e778b.iframe.bundle.js.LICENSE.txt */ -(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{2960:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent}));__webpack_require__(81),__webpack_require__(510),__webpack_require__(94),__webpack_require__(714),__webpack_require__(64),__webpack_require__(3058),__webpack_require__(392),__webpack_require__(717),__webpack_require__(1604),__webpack_require__(1603),__webpack_require__(1013);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(3059),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_ref){var _ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,extensions=_ref.extensions,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["options","extensions","className","children"]),osTargetRef=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef(),osInstance=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef();return react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){return osInstance.current=overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default()(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",_extends({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}OverlayScrollbarsComponent.displayName="OverlayScrollbarsComponent",__webpack_exports__.default=OverlayScrollbarsComponent},3058:function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(141),global=__webpack_require__(58),isForced=__webpack_require__(512),inheritIfRequired=__webpack_require__(1015),defineProperty=__webpack_require__(142).f,getOwnPropertyNames=__webpack_require__(511).f,isRegExp=__webpack_require__(1018),getFlags=__webpack_require__(1014),stickyHelpers=__webpack_require__(1607),redefine=__webpack_require__(173),fails=__webpack_require__(54),setInternalState=__webpack_require__(266).set,setSpecies=__webpack_require__(1016),MATCH=__webpack_require__(59)("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y;if(DESCRIPTORS&&isForced("RegExp",!CORRECT_NEW||UNSUPPORTED_Y||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})))){for(var RegExpWrapper=function RegExp(pattern,flags){var sticky,thisIsRegExp=this instanceof RegExpWrapper,patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags;if(!thisIsRegExp&&patternIsRegExp&&pattern.constructor===RegExpWrapper&&flagsAreUndefined)return pattern;CORRECT_NEW?patternIsRegExp&&!flagsAreUndefined&&(pattern=pattern.source):pattern instanceof RegExpWrapper&&(flagsAreUndefined&&(flags=getFlags.call(pattern)),pattern=pattern.source),UNSUPPORTED_Y&&(sticky=!!flags&&flags.indexOf("y")>-1)&&(flags=flags.replace(/y/g,""));var result=inheritIfRequired(CORRECT_NEW?new NativeRegExp(pattern,flags):NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper);return UNSUPPORTED_Y&&sticky&&setInternalState(result,{sticky:sticky}),result},proxy=function(key){key in RegExpWrapper||defineProperty(RegExpWrapper,key,{configurable:!0,get:function(){return NativeRegExp[key]},set:function(it){NativeRegExp[key]=it}})},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxy(keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,redefine(global,"RegExp",RegExpWrapper)}setSpecies("RegExp")},3059:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(window,document,undefined){"use strict";var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){"scrollLeft"===prop||"scrollTop"===prop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]="scrollLeft"===key||"scrollTop"===key?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES_s?val===undefined?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollLeft;el.scrollLeft=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollTop;el.scrollTop=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend:extend,inArray:inArray,isEmptyObject:isEmptyObject,isPlainObject:isPlainObject,each:each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,msie=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua.substring(msie+5,ua.indexOf(".",msie)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNameViewportNativeScrollbarsInvisible="os-viewport-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid="os-viewport-native-scrollbars-overlaid",_classNameTextInherit="os-text-inherit",_classNameScrollbarTrackOff="os-scrollbar-track-off",_classNameScrollbarHandleOff="os-scrollbar-handle-off",_classNameScrollbarUnusable="os-scrollbar-unusable",_classNameScrollbarAutoHidden="os-scrollbar-auto-hidden",_classNameScrollbarCornerResize="os-scrollbar-corner-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(" "),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?"auto"===force?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css("float"),css.float=_isRTL?"right":"left",css.width="auto",_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css.float=float,css.width="100%",_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update("auto"):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update("sync")&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off("load",updateOnLoadCallback);_updateOnLoadElms=undefined,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=["x","left","l"],coordinatesYAxisProps=["y","top","t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=["x","y","xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":"")+"100%").replace(/px/g,"").replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin.top,margin.right,margin.bottom,margin.left]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||"y"==settingsAxis,y:settingsScroll.y==strNever||"x"==settingsAxis};elementOffset.top-=settingsMargin[0],elementOffset.left-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset.left-viewportOffset.left+viewportScroll.l),y:MATH.round(elementOffset.top-viewportOffset.top+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize.width+settingsMargin[3]+settingsMargin[1],h:rawElementSize.height+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing.scrollLeft=easing[0]||easing.x,specialEasing.scrollTop=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement.scrollLeft(finalScroll.scrollLeft),doScrollTop&&_viewportElement.scrollTop(finalScroll.scrollTop),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w","width"),changePropertyName("h","height"),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv("os-resize-observer",generateDiv({c:"os-resize-observer-item",dir:"ltr"},generateDiv("os-resize-observer-item",generateDiv("os-resize-observer-item-final"))+generateDiv("os-resize-observer-item",generateDiv({c:"os-resize-observer-item-final",style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement.scrollLeft(3333333).scrollTop(3333333),shrinkElement.scrollLeft(3333333).scrollTop(3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,"",[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on("scroll",onScroll),shrinkElement.on("scroll",onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS.width=3333333,expandChildCSS.height=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined;if(attachEvent)targetElement.prepend(generateDiv("os-resize-observer")),findFirst(targetElement,".os-resize-observer")[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,"os-resize-observer"),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css.left=0,css.right="auto",scrollLeftValue=3333333):(css.left="auto",css.right=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement.scrollLeft(scrollLeftValue).scrollTop(3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,"scroll",(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0]).__overlayScrollbarsRO__;resizeObserverObj&&(resizeObserverObj.disconnect(),delete element.__overlayScrollbarsRO__)}else remove(targetElement.children(".os-resize-observer").eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type;if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget.closest!=TYPES_f)return!0;if(null!==mutationTarget.closest(".os-resize-observer")||null!==mutationTarget.closest(".os-scrollbar")||null!==mutationTarget.closest(".os-scrollbar-corner"))return!1}return!0}(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update("auto"))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(" ").concat(oldMutationVal.split(" ").filter((function(name){return name.match(hostClassNameRegex)}))).join(" "),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||"auto")),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,"mousemove touchmove".split(" ")[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,["mouseenter","mouseleave"],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css("min-width")),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css("min-height")),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(" "):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css["min-width"]="",css["min-height"]="",css.width="auto",_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css.width=_widthAutoCache?"auto":"100%",css["min-width"]="100%",css.height="auto",_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css.width=width,css.height=height,_textareaCoverElement.css(css),css["min-width"]=minWidth,css["min-height"]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<42&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,42)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement.scrollLeft(),y:_viewportElement.scrollTop()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+" "+_classNameThemeNone),addClass(_hostElement,className!==undefined&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv("os-content-glue")),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv("os-size-auto-observer")),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css("height",_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger("scroll"),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger("scroll")),displayIsHidden=displayIsHidden===undefined?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost("padding-");try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?"left":"right",isRTLRight=_isRTL?"right":"left",widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css("float"))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css("width");_contentGlueElement.css("width","auto");var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css("width",tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css("width",tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css("width",tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost("border-","-width",!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost("margin-"),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css("float",isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,"margin-",[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,"",paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-")):(setTopRightBottomLeft(paddingElementCSS,""),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-",paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS.height="auto":(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.height="100%"),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS.width="auto",contentGlueElementCSS["max-width"]="100%"):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.width="100%",contentElementCSS.float="",contentGlueElementCSS["max-width"]=""),widthAuto?(contentGlueElementCSS.width="auto",contentElementCSS.width=VENDORS._cssPropertyValue("width","max-content intrinsic")||"auto",contentElementCSS.float=isRTLRight):contentGlueElementCSS.width="",contentGlueElementCSS.height=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:"",sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css("bottom"):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,""),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS.bottom=wasHeightAuto?"":resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?"":resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS.width=contentGlueSize.w,contentGlueElementCSS.height=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS.width="100%"),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS.float="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax="scroll"+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:"",arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:"",arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS["margin-"+isRTLRight]=contentElementCSS["border-"+isRTLRight]="",setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?"bottom":isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS["margin-"+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]:"",contentElementCSS["border-"+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS["margin-"+strDirection]=contentElementCSS["border-"+strDirection]="",arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h="",arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS.width=hideOverflow.y?arrangeContent.w:"",contentArrangeElementCSS.height=hideOverflow.x?arrangeContent.h:"",_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv("os-content-arrange")),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]="",(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?"bottom":isRTLLeft,reset=function(){viewportElementCSS[strDirection]="",_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]="scroll",ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]="",reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS["padding-top"]=_nativeScrollbarMinSize.x,viewportElementCSS["margin-top"]=-_nativeScrollbarMinSize.x,viewportElementCSS["padding-"+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS["margin-"+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS["padding-top"]=viewportElementCSS["margin-top"]=viewportElementCSS["padding-"+isRTLRight]=viewportElementCSS["margin-"+isRTLRight]="",viewportElementCSS["padding-"+isRTLLeft]=viewportElementCSS["margin-"+isRTLLeft]="",hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=""),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display="",elementStyle.webkitTransform=""}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css("float"),posLeftWithoutFloat=MATH.round(_contentElement.css("float","").css("left","").position().left);_contentElement.css("float",floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS.left=posLeftWithoutFloat)}else contentElementCSS.left="";if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement.scrollLeft(0),heightAuto&&_hostElement.scrollTop(0),_viewportElement.scrollLeft(currScroll.x).scrollTop(currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css("min-width",_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css("min-height",_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off("load",updateOnLoadCallback).on("load",updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+" "+_classNameTextInherit,textareaClass=_isTextarea?" "+_classNameTextInherit:"",adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(" "),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass("os-content"+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass("os-viewport"+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass("os-padding"+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(" "):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,"os-html")):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS.width=_targetElement.css("width"),hostElementCSS.height=_targetElement.css("height")),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,".os-content"),_viewportElement=findFirst(_hostElement,".os-viewport"),_paddingElement=findFirst(_hostElement,".os-padding"),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,"os-html"),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update("auto"),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,["keydown","keyup"],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,["scroll","drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement.scrollLeft(_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement.scrollTop(0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=["width","min-width","max-width","margin-left","margin-right","left","right","font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=["padding-left","padding-right","border-leftwidth","border-rightwidth"],affectingPropsY=["height","min-height","max-height","margin-top","margin-bottom","top","bottom","line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=["padding-top","padding-bottom","border-topwidth","border-bottomwidth"],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,"active"),removeClass(scrollbarVars._track,"active"),removeClass(scrollbarVars._scrollbar,"active"),mouseDownScroll=undefined,mouseDownOffset=undefined,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","selectstart"],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,"mousedown touchstart",(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,["mousedown touchstart","mouseenter","mouseleave"],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,"mousedown touchstart",(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement.scrollLeft():_viewportElement.scrollTop(),currentScroll=scrollOrTransition===undefined||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative["scroll"+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpMain=new RegExp("\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*"),regExpValidate=new RegExp("^(\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*)+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,"");return strResult};i"+(content||"")+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"]("."+className.replace(/\s/g,".")).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split("."),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr}).globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN}(global,global.document,void 0)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]); -//# sourceMappingURL=6.737e778b.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/6.737e778b.iframe.bundle.js.map b/docs/6.737e778b.iframe.bundle.js.map deleted file mode 100644 index 6581a7d37..000000000 --- a/docs/6.737e778b.iframe.bundle.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"6.737e778b.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/docs/6.a1b58f7c.iframe.bundle.js b/docs/6.a1b58f7c.iframe.bundle.js new file mode 100644 index 000000000..95b687f26 --- /dev/null +++ b/docs/6.a1b58f7c.iframe.bundle.js @@ -0,0 +1,3 @@ +/*! For license information please see 6.a1b58f7c.iframe.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{1334:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent}));__webpack_require__(27),__webpack_require__(23),__webpack_require__(15),__webpack_require__(113),__webpack_require__(7),__webpack_require__(1428),__webpack_require__(41),__webpack_require__(137),__webpack_require__(194),__webpack_require__(83),__webpack_require__(112);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(1429),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_ref){var _ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,extensions=_ref.extensions,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["options","extensions","className","children"]),osTargetRef=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef(),osInstance=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef();return react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){return osInstance.current=overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default()(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",_extends({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}OverlayScrollbarsComponent.displayName="OverlayScrollbarsComponent",__webpack_exports__.default=OverlayScrollbarsComponent},1428:function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(84),global=__webpack_require__(45),isForced=__webpack_require__(281),inheritIfRequired=__webpack_require__(444),createNonEnumerableProperty=__webpack_require__(165),defineProperty=__webpack_require__(107).f,getOwnPropertyNames=__webpack_require__(234).f,isRegExp=__webpack_require__(443),toString=__webpack_require__(87),getFlags=__webpack_require__(441),stickyHelpers=__webpack_require__(442),redefine=__webpack_require__(119),fails=__webpack_require__(54),has=__webpack_require__(92),enforceInternalState=__webpack_require__(135).enforce,setSpecies=__webpack_require__(445),wellKnownSymbol=__webpack_require__(63),UNSUPPORTED_DOT_ALL=__webpack_require__(653),UNSUPPORTED_NCG=__webpack_require__(654),MATCH=wellKnownSymbol("match"),NativeRegExp=global.RegExp,RegExpPrototype=NativeRegExp.prototype,IS_NCG=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,re1=/a/g,re2=/a/g,CORRECT_NEW=new NativeRegExp(re1)!==re1,UNSUPPORTED_Y=stickyHelpers.UNSUPPORTED_Y,BASE_FORCED=DESCRIPTORS&&(!CORRECT_NEW||UNSUPPORTED_Y||UNSUPPORTED_DOT_ALL||UNSUPPORTED_NCG||fails((function(){return re2[MATCH]=!1,NativeRegExp(re1)!=re1||NativeRegExp(re2)==re2||"/a/i"!=NativeRegExp(re1,"i")})));if(isForced("RegExp",BASE_FORCED)){for(var RegExpWrapper=function RegExp(pattern,flags){var rawFlags,dotAll,sticky,handled,result,state,thisIsRegExp=this instanceof RegExpWrapper,patternIsRegExp=isRegExp(pattern),flagsAreUndefined=void 0===flags,groups=[],rawPattern=pattern;if(!thisIsRegExp&&patternIsRegExp&&flagsAreUndefined&&pattern.constructor===RegExpWrapper)return pattern;if((patternIsRegExp||pattern instanceof RegExpWrapper)&&(pattern=pattern.source,flagsAreUndefined&&(flags="flags"in rawPattern?rawPattern.flags:getFlags.call(rawPattern))),pattern=void 0===pattern?"":toString(pattern),flags=void 0===flags?"":toString(flags),rawPattern=pattern,UNSUPPORTED_DOT_ALL&&"dotAll"in re1&&(dotAll=!!flags&&flags.indexOf("s")>-1)&&(flags=flags.replace(/s/g,"")),rawFlags=flags,UNSUPPORTED_Y&&"sticky"in re1&&(sticky=!!flags&&flags.indexOf("y")>-1)&&(flags=flags.replace(/y/g,"")),UNSUPPORTED_NCG&&(pattern=(handled=function(string){for(var chr,length=string.length,index=0,result="",named=[],names={},brackets=!1,ncg=!1,groupid=0,groupname="";index<=length;index++){if("\\"===(chr=string.charAt(index)))chr+=string.charAt(++index);else if("]"===chr)brackets=!1;else if(!brackets)switch(!0){case"["===chr:brackets=!0;break;case"("===chr:IS_NCG.test(string.slice(index+1))&&(index+=2,ncg=!0),result+=chr,groupid++;continue;case">"===chr&&ncg:if(""===groupname||has(names,groupname))throw new SyntaxError("Invalid capture group name");names[groupname]=!0,named.push([groupname,groupid]),ncg=!1,groupname="";continue}ncg?groupname+=chr:result+=chr}return[result,named]}(pattern))[0],groups=handled[1]),result=inheritIfRequired(NativeRegExp(pattern,flags),thisIsRegExp?this:RegExpPrototype,RegExpWrapper),(dotAll||sticky||groups.length)&&(state=enforceInternalState(result),dotAll&&(state.dotAll=!0,state.raw=RegExpWrapper(function(string){for(var chr,length=string.length,index=0,result="",brackets=!1;index<=length;index++)"\\"!==(chr=string.charAt(index))?brackets||"."!==chr?("["===chr?brackets=!0:"]"===chr&&(brackets=!1),result+=chr):result+="[\\s\\S]":result+=chr+string.charAt(++index);return result}(pattern),rawFlags)),sticky&&(state.sticky=!0),groups.length&&(state.groups=groups)),pattern!==rawPattern)try{createNonEnumerableProperty(result,"source",""===rawPattern?"(?:)":rawPattern)}catch(error){}return result},proxy=function(key){key in RegExpWrapper||defineProperty(RegExpWrapper,key,{configurable:!0,get:function(){return NativeRegExp[key]},set:function(it){NativeRegExp[key]=it}})},keys=getOwnPropertyNames(NativeRegExp),index=0;keys.length>index;)proxy(keys[index++]);RegExpPrototype.constructor=RegExpWrapper,RegExpWrapper.prototype=RegExpPrototype,redefine(global,"RegExp",RegExpWrapper)}setSpecies("RegExp")},1429:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(window,document,undefined){"use strict";var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){"scrollLeft"===prop||"scrollTop"===prop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]="scrollLeft"===key||"scrollTop"===key?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES_s?val===undefined?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollLeft;el.scrollLeft=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollTop;el.scrollTop=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend:extend,inArray:inArray,isEmptyObject:isEmptyObject,isPlainObject:isPlainObject,each:each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,msie=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua.substring(msie+5,ua.indexOf(".",msie)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNameViewportNativeScrollbarsInvisible="os-viewport-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid="os-viewport-native-scrollbars-overlaid",_classNameTextInherit="os-text-inherit",_classNameScrollbarTrackOff="os-scrollbar-track-off",_classNameScrollbarHandleOff="os-scrollbar-handle-off",_classNameScrollbarUnusable="os-scrollbar-unusable",_classNameScrollbarAutoHidden="os-scrollbar-auto-hidden",_classNameScrollbarCornerResize="os-scrollbar-corner-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(" "),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?"auto"===force?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css("float"),css.float=_isRTL?"right":"left",css.width="auto",_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css.float=float,css.width="100%",_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update("auto"):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update("sync")&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off("load",updateOnLoadCallback);_updateOnLoadElms=undefined,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=["x","left","l"],coordinatesYAxisProps=["y","top","t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=["x","y","xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":"")+"100%").replace(/px/g,"").replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin.top,margin.right,margin.bottom,margin.left]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||"y"==settingsAxis,y:settingsScroll.y==strNever||"x"==settingsAxis};elementOffset.top-=settingsMargin[0],elementOffset.left-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset.left-viewportOffset.left+viewportScroll.l),y:MATH.round(elementOffset.top-viewportOffset.top+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize.width+settingsMargin[3]+settingsMargin[1],h:rawElementSize.height+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing.scrollLeft=easing[0]||easing.x,specialEasing.scrollTop=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement.scrollLeft(finalScroll.scrollLeft),doScrollTop&&_viewportElement.scrollTop(finalScroll.scrollTop),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w","width"),changePropertyName("h","height"),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv("os-resize-observer",generateDiv({c:"os-resize-observer-item",dir:"ltr"},generateDiv("os-resize-observer-item",generateDiv("os-resize-observer-item-final"))+generateDiv("os-resize-observer-item",generateDiv({c:"os-resize-observer-item-final",style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement.scrollLeft(3333333).scrollTop(3333333),shrinkElement.scrollLeft(3333333).scrollTop(3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,"",[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on("scroll",onScroll),shrinkElement.on("scroll",onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS.width=3333333,expandChildCSS.height=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined;if(attachEvent)targetElement.prepend(generateDiv("os-resize-observer")),findFirst(targetElement,".os-resize-observer")[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,"os-resize-observer"),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css.left=0,css.right="auto",scrollLeftValue=3333333):(css.left="auto",css.right=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement.scrollLeft(scrollLeftValue).scrollTop(3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,"scroll",(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0]).__overlayScrollbarsRO__;resizeObserverObj&&(resizeObserverObj.disconnect(),delete element.__overlayScrollbarsRO__)}else remove(targetElement.children(".os-resize-observer").eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type;if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget.closest!=TYPES_f)return!0;if(null!==mutationTarget.closest(".os-resize-observer")||null!==mutationTarget.closest(".os-scrollbar")||null!==mutationTarget.closest(".os-scrollbar-corner"))return!1}return!0}(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update("auto"))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(" ").concat(oldMutationVal.split(" ").filter((function(name){return name.match(hostClassNameRegex)}))).join(" "),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||"auto")),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,"mousemove touchmove".split(" ")[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,["mouseenter","mouseleave"],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css("min-width")),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css("min-height")),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(" "):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css["min-width"]="",css["min-height"]="",css.width="auto",_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css.width=_widthAutoCache?"auto":"100%",css["min-width"]="100%",css.height="auto",_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css.width=width,css.height=height,_textareaCoverElement.css(css),css["min-width"]=minWidth,css["min-height"]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<42&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,42)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement.scrollLeft(),y:_viewportElement.scrollTop()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+" "+_classNameThemeNone),addClass(_hostElement,className!==undefined&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv("os-content-glue")),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv("os-size-auto-observer")),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css("height",_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger("scroll"),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger("scroll")),displayIsHidden=displayIsHidden===undefined?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost("padding-");try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?"left":"right",isRTLRight=_isRTL?"right":"left",widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css("float"))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css("width");_contentGlueElement.css("width","auto");var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css("width",tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css("width",tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css("width",tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost("border-","-width",!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost("margin-"),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css("float",isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,"margin-",[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,"",paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-")):(setTopRightBottomLeft(paddingElementCSS,""),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-",paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS.height="auto":(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.height="100%"),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS.width="auto",contentGlueElementCSS["max-width"]="100%"):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.width="100%",contentElementCSS.float="",contentGlueElementCSS["max-width"]=""),widthAuto?(contentGlueElementCSS.width="auto",contentElementCSS.width=VENDORS._cssPropertyValue("width","max-content intrinsic")||"auto",contentElementCSS.float=isRTLRight):contentGlueElementCSS.width="",contentGlueElementCSS.height=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:"",sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css("bottom"):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,""),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS.bottom=wasHeightAuto?"":resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?"":resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS.width=contentGlueSize.w,contentGlueElementCSS.height=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS.width="100%"),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS.float="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax="scroll"+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:"",arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:"",arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS["margin-"+isRTLRight]=contentElementCSS["border-"+isRTLRight]="",setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?"bottom":isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS["margin-"+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]:"",contentElementCSS["border-"+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS["margin-"+strDirection]=contentElementCSS["border-"+strDirection]="",arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h="",arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS.width=hideOverflow.y?arrangeContent.w:"",contentArrangeElementCSS.height=hideOverflow.x?arrangeContent.h:"",_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv("os-content-arrange")),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]="",(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?"bottom":isRTLLeft,reset=function(){viewportElementCSS[strDirection]="",_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]="scroll",ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]="",reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS["padding-top"]=_nativeScrollbarMinSize.x,viewportElementCSS["margin-top"]=-_nativeScrollbarMinSize.x,viewportElementCSS["padding-"+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS["margin-"+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS["padding-top"]=viewportElementCSS["margin-top"]=viewportElementCSS["padding-"+isRTLRight]=viewportElementCSS["margin-"+isRTLRight]="",viewportElementCSS["padding-"+isRTLLeft]=viewportElementCSS["margin-"+isRTLLeft]="",hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=""),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display="",elementStyle.webkitTransform=""}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css("float"),posLeftWithoutFloat=MATH.round(_contentElement.css("float","").css("left","").position().left);_contentElement.css("float",floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS.left=posLeftWithoutFloat)}else contentElementCSS.left="";if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement.scrollLeft(0),heightAuto&&_hostElement.scrollTop(0),_viewportElement.scrollLeft(currScroll.x).scrollTop(currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css("min-width",_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css("min-height",_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off("load",updateOnLoadCallback).on("load",updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+" "+_classNameTextInherit,textareaClass=_isTextarea?" "+_classNameTextInherit:"",adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(" "),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass("os-content"+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass("os-viewport"+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass("os-padding"+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(" "):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,"os-html")):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS.width=_targetElement.css("width"),hostElementCSS.height=_targetElement.css("height")),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,".os-content"),_viewportElement=findFirst(_hostElement,".os-viewport"),_paddingElement=findFirst(_hostElement,".os-padding"),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,"os-html"),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update("auto"),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,["keydown","keyup"],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,["scroll","drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement.scrollLeft(_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement.scrollTop(0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=["width","min-width","max-width","margin-left","margin-right","left","right","font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=["padding-left","padding-right","border-leftwidth","border-rightwidth"],affectingPropsY=["height","min-height","max-height","margin-top","margin-bottom","top","bottom","line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=["padding-top","padding-bottom","border-topwidth","border-bottomwidth"],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,"active"),removeClass(scrollbarVars._track,"active"),removeClass(scrollbarVars._scrollbar,"active"),mouseDownScroll=undefined,mouseDownOffset=undefined,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","selectstart"],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,"mousedown touchstart",(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,["mousedown touchstart","mouseenter","mouseleave"],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,"mousedown touchstart",(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement.scrollLeft():_viewportElement.scrollTop(),currentScroll=scrollOrTransition===undefined||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative["scroll"+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpMain=new RegExp("\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*"),regExpValidate=new RegExp("^(\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*)+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,"");return strResult};i"+(content||"")+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"]("."+className.replace(/\s/g,".")).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split("."),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr}).globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN}(global,global.document,void 0)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]); +//# sourceMappingURL=6.a1b58f7c.iframe.bundle.js.map \ No newline at end of file diff --git a/docs/6.65191dcd8662a31a69c8.manager.bundle.js.LICENSE.txt b/docs/6.a1b58f7c.iframe.bundle.js.LICENSE.txt similarity index 100% rename from docs/6.65191dcd8662a31a69c8.manager.bundle.js.LICENSE.txt rename to docs/6.a1b58f7c.iframe.bundle.js.LICENSE.txt diff --git a/docs/6.a1b58f7c.iframe.bundle.js.map b/docs/6.a1b58f7c.iframe.bundle.js.map new file mode 100644 index 000000000..147755c0a --- /dev/null +++ b/docs/6.a1b58f7c.iframe.bundle.js.map @@ -0,0 +1 @@ +{"version":3,"file":"6.a1b58f7c.iframe.bundle.js","sources":[],"mappings":";A","sourceRoot":""} \ No newline at end of file diff --git a/docs/6.aef2ad40265b39a4ac62.manager.bundle.js b/docs/6.aef2ad40265b39a4ac62.manager.bundle.js new file mode 100644 index 000000000..d9e5bb55a --- /dev/null +++ b/docs/6.aef2ad40265b39a4ac62.manager.bundle.js @@ -0,0 +1,2 @@ +/*! For license information please see 6.aef2ad40265b39a4ac62.manager.bundle.js.LICENSE.txt */ +(window.webpackJsonp=window.webpackJsonp||[]).push([[6],{2266:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"OverlayScrollbarsComponent",(function(){return OverlayScrollbarsComponent}));__webpack_require__(12),__webpack_require__(32),__webpack_require__(25),__webpack_require__(66),__webpack_require__(15),__webpack_require__(339),__webpack_require__(19),__webpack_require__(78),__webpack_require__(42),__webpack_require__(63),__webpack_require__(74);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(2289),overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var OverlayScrollbarsComponent=function OverlayScrollbarsComponent(_ref){var _ref$options=_ref.options,options=void 0===_ref$options?{}:_ref$options,extensions=_ref.extensions,className=_ref.className,children=_ref.children,rest=_objectWithoutProperties(_ref,["options","extensions","className","children"]),osTargetRef=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef(),osInstance=react__WEBPACK_IMPORTED_MODULE_11___default.a.useRef();return react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){return osInstance.current=overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default()(osTargetRef.current,options,extensions),mergeHostClassNames(osInstance.current,className),function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&(osInstance.current.destroy(),osInstance.current=null)}}),[]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&osInstance.current.options(options)}),[options]),react__WEBPACK_IMPORTED_MODULE_11___default.a.useEffect((function(){overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance.current)&&mergeHostClassNames(osInstance.current,className)}),[className]),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",_extends({className:"os-host"},rest,{ref:osTargetRef}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-resize-observer-host"}),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-padding"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-viewport"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-content"},children))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-horizontal "},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar os-scrollbar-vertical"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-track"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-handle"}))),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("div",{className:"os-scrollbar-corner"}))};function mergeHostClassNames(osInstance,className){if(overlayscrollbars__WEBPACK_IMPORTED_MODULE_12___default.a.valid(osInstance)){var host=osInstance.getElements().host,regex=new RegExp("(^os-host([-_].+|)$)|".concat(osInstance.options().className.replace(/\s/g,"$|"),"$"),"g"),osClassNames=host.className.split(" ").filter((function(name){return name.match(regex)})).join(" ");host.className="".concat(osClassNames," ").concat(className||"")}}OverlayScrollbarsComponent.displayName="OverlayScrollbarsComponent",__webpack_exports__.default=OverlayScrollbarsComponent},2289:function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__,global;global="undefined"!=typeof window?window:this,void 0===(__WEBPACK_AMD_DEFINE_RESULT__=function(){return function(window,document,undefined){"use strict";var _targets,_easingsMath,TYPES_o="object",TYPES_f="function",TYPES_a="array",TYPES_s="string",TYPES_b="boolean",TYPES_n="number",TYPES_u="undefined",TYPES_z="null",LEXICON={c:"class",s:"style",i:"id",l:"length",p:"prototype",ti:"tabindex",oH:"offsetHeight",cH:"clientHeight",sH:"scrollHeight",oW:"offsetWidth",cW:"clientWidth",sW:"scrollWidth",hOP:"hasOwnProperty",bCR:"getBoundingClientRect"},VENDORS=function(){var jsCache={},cssCache={},cssPrefixes=["-webkit-","-moz-","-o-","-ms-"],jsPrefixes=["WebKit","Moz","O","MS"];function firstLetterToUpper(str){return str.charAt(0).toUpperCase()+str.slice(1)}return{_cssPrefixes:cssPrefixes,_jsPrefixes:jsPrefixes,_cssProperty:function(name){var result=cssCache[name];if(cssCache[LEXICON.hOP](name))return result;for(var resultPossibilities,v,currVendorWithoutDashes,uppercasedName=firstLetterToUpper(name),elmStyle=document.createElement("div")[LEXICON.s],i=0;i0&&length-1 in obj)}function stripAndCollapse(value){return(value.match(_rnothtmlwhite)||[]).join(" ")}function matches(elem,selector){for(var nodeList=(elem.parentNode||document).querySelectorAll(selector)||[],i=nodeList[LEXICON.l];i--;)if(nodeList[i]==elem)return!0;return!1}function insertAdjacentElement(el,strategy,child){if(COMPATIBILITY.isA(child))for(var i=0;i0?(nextAnim=animObj.q[0],animate(animObj.el,nextAnim.props,nextAnim.duration,nextAnim.easing,nextAnim.complete,!0)):(index=inArray(animObj,_animations))>-1&&_animations.splice(index,1)}function setAnimationValue(el,prop,value){"scrollLeft"===prop||"scrollTop"===prop?el[prop]=value:setCSSVal(el,prop,value)}function animate(el,props,options,easing,complete,guaranteedNext){var key,animObj,progress,step,specialEasing,duration,hasOptions=isPlainObject(options),from={},to={},i=0;for(hasOptions?(easing=options.easing,options.start,progress=options.progress,step=options.step,specialEasing=options.specialEasing,complete=options.complete,duration=options.duration):duration=options,specialEasing=specialEasing||{},duration=duration||400,easing=easing||"swing",guaranteedNext=guaranteedNext||!1;i<_animations[LEXICON.l];i++)if(_animations[i].el===el){animObj=_animations[i];break}for(key in animObj||(animObj={el:el,q:[]},_animations.push(animObj)),props)from[key]="scrollLeft"===key||"scrollTop"===key?el[key]:FakejQuery(el).css(key);for(key in from)from[key]!==props[key]&&props[key]!==undefined&&(to[key]=props[key]);if(isEmptyObject(to))guaranteedNext&&startNextAnimationInQ(animObj);else{var timeNow,end,percent,fromVal,toVal,easedVal,timeStart,frame,elapsed,qPos=guaranteedNext?0:inArray(qObj,animObj.q),qObj={props:to,duration:hasOptions?options:duration,easing:easing,complete:complete};if(-1===qPos&&(qPos=animObj.q[LEXICON.l],animObj.q.push(qObj)),0===qPos)if(duration>0)timeStart=COMPATIBILITY.now(),frame=function(){for(key in timeNow=COMPATIBILITY.now(),elapsed=timeNow-timeStart,end=qObj.stop||elapsed>=duration,percent=1-(MATH.max(0,timeStart+duration-timeNow)/duration||0),to)fromVal=parseFloat(from[key]),toVal=parseFloat(to[key]),easedVal=(toVal-fromVal)*EASING[specialEasing[key]||easing](percent,percent*duration,0,1,duration)+fromVal,setAnimationValue(el,key,easedVal),isFunction(step)&&step(easedVal,{elem:el,prop:key,start:fromVal,now:easedVal,end:toVal,pos:percent,options:{easing:easing,speacialEasing:specialEasing,duration:duration,complete:complete,step:step},startTime:timeStart});isFunction(progress)&&progress({},percent,MATH.max(0,duration-elapsed)),end?(startNextAnimationInQ(animObj),isFunction(complete)&&complete()):qObj.frame=COMPATIBILITY.rAF()(frame)},qObj.frame=COMPATIBILITY.rAF()(frame);else{for(key in to)setAnimationValue(el,key,to[key]);startNextAnimationInQ(animObj)}}}function elementIsVisible(el){return!!(el[LEXICON.oW]||el[LEXICON.oH]||el.getClientRects()[LEXICON.l])}function FakejQuery(selector){if(0===arguments[LEXICON.l])return this;var elms,el,base=new FakejQuery,elements=selector,i=0;if(_type(selector)==TYPES_s)for(elements=[],"<"===selector.charAt(0)?((el=document.createElement("div")).innerHTML=selector,elms=el.children):elms=document.querySelectorAll(selector);i0;)deepest=deepest.childNodes[0];for(i=0;this[LEXICON.l]-i;deepest.firstChild===this[0]&&i++)deepest.appendChild(this[i]);var nextSibling=previousSibling?previousSibling.nextSibling:parent.firstChild;return parent.insertBefore(wrapper,nextSibling),this},wrapInner:function(wrapperHTML){return this.each((function(){var el=FakejQuery(this),contents=el.contents();contents[LEXICON.l]?contents.wrapAll(wrapperHTML):el.append(wrapperHTML)}))},wrap:function(wrapperHTML){return this.each((function(){FakejQuery(this).wrapAll(wrapperHTML)}))},css:function(styles,val){var el,key,cptStyle,getCptStyle=window.getComputedStyle;return _type(styles)==TYPES_s?val===undefined?(el=this[0],cptStyle=getCptStyle?getCptStyle(el,null):el.currentStyle[styles],getCptStyle?null!=cptStyle?cptStyle.getPropertyValue(styles):el[LEXICON.s][styles]:cptStyle):this.each((function(){setCSSVal(this,styles,val)})):this.each((function(){for(key in styles)setCSSVal(this,key,styles[key])}))},hasClass:function(className){for(var elem,classList,i=0,classNamePrepared=" "+className+" ";elem=this[i++];){if((classList=elem.classList)&&classList.contains(className))return!0;if(1===elem.nodeType&&(" "+stripAndCollapse(elem.className+"")+" ").indexOf(classNamePrepared)>-1)return!0}return!1},addClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.add(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)cur.indexOf(" "+clazz+" ")<0&&(cur+=clazz+" ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},removeClass:function(className){var classes,elem,cur,curValue,clazz,finalValue,supportClassList,elmClassList,i=0,v=0;if(className)for(classes=className.match(_rnothtmlwhite)||[];elem=this[i++];)if(elmClassList=elem.classList,supportClassList===undefined&&(supportClassList=elmClassList!==undefined),supportClassList)for(;clazz=classes[v++];)elmClassList.remove(clazz);else if(curValue=elem.className+"",cur=1===elem.nodeType&&" "+stripAndCollapse(curValue)+" "){for(;clazz=classes[v++];)for(;cur.indexOf(" "+clazz+" ")>-1;)cur=cur.replace(" "+clazz+" "," ");curValue!==(finalValue=stripAndCollapse(cur))&&(elem.className=finalValue)}return this},hide:function(){return this.each((function(){this[LEXICON.s].display="none"}))},show:function(){return this.each((function(){this[LEXICON.s].display="block"}))},attr:function(attrName,value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.getAttribute(attrName);el.setAttribute(attrName,value)}return this},removeAttr:function(attrName){return this.each((function(){this.removeAttribute(attrName)}))},offset:function(){var rect=this[0][LEXICON.bCR](),scrollLeft=window.pageXOffset||document.documentElement.scrollLeft,scrollTop=window.pageYOffset||document.documentElement.scrollTop;return{top:rect.top+scrollTop,left:rect.left+scrollLeft}},position:function(){var el=this[0];return{top:el.offsetTop,left:el.offsetLeft}},scrollLeft:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollLeft;el.scrollLeft=value}return this},scrollTop:function(value){for(var el,i=0;el=this[i++];){if(value===undefined)return el.scrollTop;el.scrollTop=value}return this},val:function(value){var el=this[0];return value?(el.value=value,this):el.value},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(index){return FakejQuery(this[index>=0?index:this[LEXICON.l]+index])},find:function(selector){var i,children=[];return this.each((function(){var ch=this.querySelectorAll(selector);for(i=0;i0){if((qObj=animObj.q[0]).stop=!0,COMPATIBILITY.cAF()(qObj.frame),animObj.q.splice(0,1),jumpToEnd)for(key in qObj.props)setAnimationValue(el,key,qObj.props[key]);clearQ?animObj.q=[]:startNextAnimationInQ(animObj,!1)}break}}(this,clearQ,jump)}))}},extend(FakejQuery,{extend:extend,inArray:inArray,isEmptyObject:isEmptyObject,isPlainObject:isPlainObject,each:each}),FakejQuery}(),INSTANCES=(_targets=[],function(target,instance){var argLen=arguments[LEXICON.l];if(argLen<1)return _targets;if(instance)target.__overlayScrollbars__=instance,_targets.push(target);else{var index=COMPATIBILITY.inA(target,_targets);if(index>-1){if(!(argLen>1))return _targets[index].__overlayScrollbars__;delete target.__overlayScrollbars__,_targets.splice(index,1)}}}),PLUGIN=function(){var _plugin,_pluginsGlobals,_pluginsAutoUpdateLoop,type,possibleTemplateTypes,booleanTrueTemplate,booleanFalseTemplate,callbackTemplate,optionsDefaultsAndTemplate,convert,_pluginsExtensions=[],_pluginsOptions=(type=COMPATIBILITY.type,possibleTemplateTypes=[TYPES_b,TYPES_n,TYPES_s,TYPES_a,TYPES_o,TYPES_f,TYPES_z],optionsDefaultsAndTemplate={className:["os-theme-dark",[TYPES_z,TYPES_s]],resize:["none","n:none b:both h:horizontal v:vertical"],sizeAutoCapable:booleanTrueTemplate=[!0,TYPES_b],clipAlways:booleanTrueTemplate,normalizeRTL:booleanTrueTemplate,paddingAbsolute:booleanFalseTemplate=[!1,TYPES_b],autoUpdate:[null,[TYPES_z,TYPES_b]],autoUpdateInterval:[33,TYPES_n],updateOnLoad:[["img"],[TYPES_s,TYPES_a,TYPES_z]],nativeScrollbarsOverlaid:{showNativeScrollbars:booleanFalseTemplate,initialize:booleanTrueTemplate},overflowBehavior:{x:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"],y:["scroll","v-h:visible-hidden v-s:visible-scroll s:scroll h:hidden"]},scrollbars:{visibility:["auto","v:visible h:hidden a:auto"],autoHide:["never","n:never s:scroll l:leave m:move"],autoHideDelay:[800,TYPES_n],dragScrolling:booleanTrueTemplate,clickScrolling:booleanFalseTemplate,touchSupport:booleanTrueTemplate,snapHandle:booleanFalseTemplate},textarea:{dynWidth:booleanFalseTemplate,dynHeight:booleanFalseTemplate,inheritedAttrs:[["style","class"],[TYPES_s,TYPES_a,TYPES_z]]},callbacks:{onInitialized:callbackTemplate=[null,[TYPES_z,TYPES_f]],onInitializationWithdrawn:callbackTemplate,onDestroyed:callbackTemplate,onScrollStart:callbackTemplate,onScroll:callbackTemplate,onScrollStop:callbackTemplate,onOverflowChanged:callbackTemplate,onOverflowAmountChanged:callbackTemplate,onDirectionChanged:callbackTemplate,onContentSizeChanged:callbackTemplate,onHostSizeChanged:callbackTemplate,onUpdated:callbackTemplate}},{_defaults:(convert=function(template){var recursive=function(obj){var key,val,valType;for(key in obj)obj[LEXICON.hOP](key)&&(val=obj[key],(valType=type(val))==TYPES_a?obj[key]=val[template?1:0]:valType==TYPES_o&&(obj[key]=recursive(val)));return obj};return recursive(FRAMEWORK.extend(!0,{},optionsDefaultsAndTemplate))})(),_template:convert(!0),_validate:function(obj,template,writeErrors,diffObj){var validatedOptions={},validatedOptionsPrepared={},objectCopy=FRAMEWORK.extend(!0,{},obj),inArray=FRAMEWORK.inArray,isEmptyObj=FRAMEWORK.isEmptyObject,checkObjectProps=function(data,template,diffData,validatedOptions,validatedOptionsPrepared,prevPropName){for(var prop in template)if(template[LEXICON.hOP](prop)&&data[LEXICON.hOP](prop)){var restrictedStringValuesSplit,restrictedStringValuesPossibilitiesSplit,isRestrictedValue,mainPossibility,currType,i,v,j,isValid=!1,isDiff=!1,templateValue=template[prop],templateValueType=type(templateValue),templateIsComplex=templateValueType==TYPES_o,templateTypes=COMPATIBILITY.isA(templateValue)?templateValue:[templateValue],dataDiffValue=diffData[prop],dataValue=data[prop],dataValueType=type(dataValue),propPrefix=prevPropName?prevPropName+".":"",error='The option "'+propPrefix+prop+"\" wasn't set, because",errorPossibleTypes=[],errorRestrictedStrings=[];if(dataDiffValue=dataDiffValue===undefined?{}:dataDiffValue,templateIsComplex&&dataValueType==TYPES_o)validatedOptions[prop]={},validatedOptionsPrepared[prop]={},checkObjectProps(dataValue,templateValue,dataDiffValue,validatedOptions[prop],validatedOptionsPrepared[prop],propPrefix+prop),FRAMEWORK.each([data,validatedOptions,validatedOptionsPrepared],(function(index,value){isEmptyObj(value[prop])&&delete value[prop]}));else if(!templateIsComplex){for(i=0;i0?"\r\nValid strings are: [ "+errorRestrictedStrings.join(", ").split(":").join(", ")+" ].":"")),delete data[prop]}}};return checkObjectProps(objectCopy,template,diffObj||{},validatedOptions,validatedOptionsPrepared),!isEmptyObj(objectCopy)&&writeErrors&&console.warn("The following options are discarded due to invalidity:\r\n"+window.JSON.stringify(objectCopy,null,2)),{_default:validatedOptions,_prepared:validatedOptionsPrepared}}});function initOverlayScrollbarsStatics(){_pluginsGlobals||(_pluginsGlobals=new OverlayScrollbarsGlobals(_pluginsOptions._defaults)),_pluginsAutoUpdateLoop||(_pluginsAutoUpdateLoop=new OverlayScrollbarsAutoUpdateLoop(_pluginsGlobals))}function OverlayScrollbarsGlobals(defaultOptions){var _base=this,bodyElement=FRAMEWORK("body"),scrollbarDummyElement=FRAMEWORK('
'),scrollbarDummyElement0=scrollbarDummyElement[0],dummyContainerChild=FRAMEWORK(scrollbarDummyElement.children("div").eq(0));bodyElement.append(scrollbarDummyElement),scrollbarDummyElement.hide().show();var nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement0),nativeScrollbarIsOverlaid={x:0===nativeScrollbarSize.x,y:0===nativeScrollbarSize.y},msie=function(){var result,ua=window.navigator.userAgent,msie=ua.indexOf("MSIE "),trident=ua.indexOf("Trident/"),edge=ua.indexOf("Edge/"),rv=ua.indexOf("rv:"),parseIntFunc=parseInt;return msie>0?result=parseIntFunc(ua.substring(msie+5,ua.indexOf(".",msie)),10):trident>0?result=parseIntFunc(ua.substring(rv+3,ua.indexOf(".",rv)),10):edge>0&&(result=parseIntFunc(ua.substring(edge+5,ua.indexOf(".",edge)),10)),result}();function calcNativeScrollbarSize(measureElement){return{x:measureElement[LEXICON.oH]-measureElement[LEXICON.cH],y:measureElement[LEXICON.oW]-measureElement[LEXICON.cW]}}FRAMEWORK.extend(_base,{defaultOptions:defaultOptions,msie:msie,autoUpdateLoop:!1,autoUpdateRecommended:!COMPATIBILITY.mO(),nativeScrollbarSize:nativeScrollbarSize,nativeScrollbarIsOverlaid:nativeScrollbarIsOverlaid,nativeScrollbarStyling:function(){var result=!1;scrollbarDummyElement.addClass("os-viewport-native-scrollbars-invisible");try{result="none"===scrollbarDummyElement.css("scrollbar-width")&&(msie>9||!msie)||"none"===window.getComputedStyle(scrollbarDummyElement0,"::-webkit-scrollbar").getPropertyValue("display")}catch(ex){}return result}(),overlayScrollbarDummySize:{x:30,y:30},cssCalc:VENDORS._cssPropertyValue("width","calc","(1px)")||null,restrictedMeasuring:function(){scrollbarDummyElement.css("overflow","hidden");var scrollSize_w=scrollbarDummyElement0[LEXICON.sW],scrollSize_h=scrollbarDummyElement0[LEXICON.sH];scrollbarDummyElement.css("overflow","visible");var scrollSize2_w=scrollbarDummyElement0[LEXICON.sW],scrollSize2_h=scrollbarDummyElement0[LEXICON.sH];return scrollSize_w-scrollSize2_w!=0||scrollSize_h-scrollSize2_h!=0}(),rtlScrollBehavior:function(){scrollbarDummyElement.css({"overflow-y":"hidden","overflow-x":"scroll",direction:"rtl"}).scrollLeft(0);var dummyContainerOffset=scrollbarDummyElement.offset(),dummyContainerChildOffset=dummyContainerChild.offset();scrollbarDummyElement.scrollLeft(-999);var dummyContainerChildOffsetAfterScroll=dummyContainerChild.offset();return{i:dummyContainerOffset.left===dummyContainerChildOffset.left,n:dummyContainerChildOffset.left!==dummyContainerChildOffsetAfterScroll.left}}(),supportTransform:!!VENDORS._cssProperty("transform"),supportTransition:!!VENDORS._cssProperty("transition"),supportPassiveEvents:function(){var supportsPassive=!1;try{window.addEventListener("test",null,Object.defineProperty({},"passive",{get:function(){supportsPassive=!0}}))}catch(e){}return supportsPassive}(),supportResizeObserver:!!COMPATIBILITY.rO(),supportMutationObserver:!!COMPATIBILITY.mO()}),scrollbarDummyElement.removeAttr(LEXICON.s).remove(),function(){if(!nativeScrollbarIsOverlaid.x||!nativeScrollbarIsOverlaid.y){var abs=MATH.abs,windowWidth=COMPATIBILITY.wW(),windowHeight=COMPATIBILITY.wH(),windowDpr=getWindowDPR();FRAMEWORK(window).on("resize",(function(){if(INSTANCES().length>0){var newW=COMPATIBILITY.wW(),newH=COMPATIBILITY.wH(),deltaW=newW-windowWidth,deltaH=newH-windowHeight;if(0===deltaW&&0===deltaH)return;var newScrollbarSize,deltaWRatio=MATH.round(newW/(windowWidth/100)),deltaHRatio=MATH.round(newH/(windowHeight/100)),absDeltaW=abs(deltaW),absDeltaH=abs(deltaH),absDeltaWRatio=abs(deltaWRatio),absDeltaHRatio=abs(deltaHRatio),newDPR=getWindowDPR(),deltaIsBigger=absDeltaW>2&&absDeltaH>2,difference=!function differenceIsBiggerThanOne(valOne,valTwo){var absValOne=abs(valOne),absValTwo=abs(valTwo);return!(absValOne===absValTwo||absValOne+1===absValTwo||absValOne-1===absValTwo)}(absDeltaWRatio,absDeltaHRatio),isZoom=deltaIsBigger&&difference&&newDPR!==windowDpr&&windowDpr>0,oldScrollbarSize=_base.nativeScrollbarSize;isZoom&&(bodyElement.append(scrollbarDummyElement),newScrollbarSize=_base.nativeScrollbarSize=calcNativeScrollbarSize(scrollbarDummyElement[0]),scrollbarDummyElement.remove(),oldScrollbarSize.x===newScrollbarSize.x&&oldScrollbarSize.y===newScrollbarSize.y||FRAMEWORK.each(INSTANCES(),(function(){INSTANCES(this)&&INSTANCES(this).update("zoom")}))),windowWidth=newW,windowHeight=newH,windowDpr=newDPR}}))}function getWindowDPR(){var dDPI=window.screen.deviceXDPI||0,sDPI=window.screen.logicalXDPI||1;return window.devicePixelRatio||dDPI/sDPI}}()}function OverlayScrollbarsAutoUpdateLoop(globals){var _loopID,_inArray=FRAMEWORK.inArray,_getNow=COMPATIBILITY.now,_strLength=LEXICON.l,_loopingInstances=[],_loopingInstancesIntervalCache=[],_loopIsActive=!1,_loopInterval=33,_loopTimeOld=_getNow(),loop=function(){if(_loopingInstances[_strLength]>0&&_loopIsActive){_loopID=COMPATIBILITY.rAF()((function(){loop()}));var lowestInterval,instance,instanceOptions,instanceAutoUpdateAllowed,instanceAutoUpdateInterval,now,timeNew=_getNow(),timeDelta=timeNew-_loopTimeOld;if(timeDelta>_loopInterval){_loopTimeOld=timeNew-timeDelta%_loopInterval,lowestInterval=33;for(var i=0;i<_loopingInstances[_strLength];i++)(instance=_loopingInstances[i])!==undefined&&(instanceAutoUpdateAllowed=(instanceOptions=instance.options()).autoUpdate,instanceAutoUpdateInterval=MATH.max(1,instanceOptions.autoUpdateInterval),now=_getNow(),(!0===instanceAutoUpdateAllowed||null===instanceAutoUpdateAllowed)&&now-_loopingInstancesIntervalCache[i]>instanceAutoUpdateInterval&&(instance.update("auto"),_loopingInstancesIntervalCache[i]=new Date(now+=instanceAutoUpdateInterval)),lowestInterval=MATH.max(1,MATH.min(lowestInterval,instanceAutoUpdateInterval)));_loopInterval=lowestInterval}}else _loopInterval=33};this.add=function(instance){-1===_inArray(instance,_loopingInstances)&&(_loopingInstances.push(instance),_loopingInstancesIntervalCache.push(_getNow()),_loopingInstances[_strLength]>0&&!_loopIsActive&&(_loopIsActive=!0,globals.autoUpdateLoop=_loopIsActive,loop()))},this.remove=function(instance){var index=_inArray(instance,_loopingInstances);index>-1&&(_loopingInstancesIntervalCache.splice(index,1),_loopingInstances.splice(index,1),0===_loopingInstances[_strLength]&&_loopIsActive&&(_loopIsActive=!1,globals.autoUpdateLoop=_loopIsActive,_loopID!==undefined&&(COMPATIBILITY.cAF()(_loopID),_loopID=-1)))}}function OverlayScrollbarsInstance(pluginTargetElement,options,extensions,globals,autoUpdateLoop){var type=COMPATIBILITY.type,inArray=FRAMEWORK.inArray,each=FRAMEWORK.each,_base=new _plugin,_frameworkProto=FRAMEWORK[LEXICON.p];if(isHTMLElement(pluginTargetElement)){if(INSTANCES(pluginTargetElement)){var inst=INSTANCES(pluginTargetElement);return inst.options(options),inst}var _nativeScrollbarIsOverlaid,_overlayScrollbarDummySize,_rtlScrollBehavior,_autoUpdateRecommended,_msieVersion,_nativeScrollbarStyling,_cssCalc,_nativeScrollbarSize,_supportTransition,_supportTransform,_supportPassiveEvents,_supportResizeObserver,_supportMutationObserver,_initialized,_destroyed,_isTextarea,_isBody,_documentMixed,_domExists,_isBorderBox,_sizeAutoObserverAdded,_paddingX,_paddingY,_borderX,_borderY,_marginX,_marginY,_isRTL,_sleeping,_defaultOptions,_currentOptions,_currentPreparedOptions,_lastUpdateTime,_swallowedUpdateTimeout,_windowElement,_documentElement,_htmlElement,_bodyElement,_targetElement,_hostElement,_sizeAutoObserverElement,_sizeObserverElement,_paddingElement,_viewportElement,_contentElement,_contentArrangeElement,_contentGlueElement,_textareaCoverElement,_scrollbarCornerElement,_scrollbarHorizontalElement,_scrollbarHorizontalTrackElement,_scrollbarHorizontalHandleElement,_scrollbarVerticalElement,_scrollbarVerticalTrackElement,_scrollbarVerticalHandleElement,_windowElementNative,_documentElementNative,_targetElementNative,_hostElementNative,_sizeAutoObserverElementNative,_sizeObserverElementNative,_paddingElementNative,_viewportElementNative,_contentElementNative,_hostSizeCache,_contentScrollSizeCache,_arrangeContentSizeCache,_hasOverflowCache,_hideOverflowCache,_widthAutoCache,_heightAutoCache,_cssBoxSizingCache,_cssPaddingCache,_cssBorderCache,_cssMarginCache,_cssDirectionCache,_cssDirectionDetectedCache,_paddingAbsoluteCache,_clipAlwaysCache,_contentGlueSizeCache,_overflowBehaviorCache,_overflowAmountCache,_ignoreOverlayScrollbarHidingCache,_autoUpdateCache,_sizeAutoCapableCache,_contentElementScrollSizeChangeDetectedCache,_hostElementSizeChangeDetectedCache,_scrollbarsVisibilityCache,_scrollbarsAutoHideCache,_scrollbarsClickScrollingCache,_scrollbarsDragScrollingCache,_resizeCache,_normalizeRTLCache,_classNameCache,_oldClassName,_textareaAutoWrappingCache,_textareaInfoCache,_textareaSizeCache,_textareaDynHeightCache,_textareaDynWidthCache,_bodyMinSizeCache,_mutationObserverHost,_mutationObserverContent,_mutationObserverHostCallback,_mutationObserverContentCallback,_mutationObserversConnected,_textareaHasFocus,_scrollbarsAutoHideTimeoutId,_scrollbarsAutoHideMoveTimeoutId,_scrollbarsAutoHideDelay,_scrollbarsAutoHideNever,_scrollbarsAutoHideScroll,_scrollbarsAutoHideMove,_scrollbarsAutoHideLeave,_scrollbarsHandleHovered,_scrollbarsHandlesDefineScrollPos,_resizeNone,_resizeBoth,_resizeHorizontal,_resizeVertical,_contentBorderSize={},_scrollHorizontalInfo={},_scrollVerticalInfo={},_viewportSize={},_nativeScrollbarMinSize={},_strTransitionEndEvent="transitionend webkitTransitionEnd oTransitionEnd",_classNameHostElement="os-host",_classNameHostElementForeign=_classNameHostElement+"-foreign",_classNameHostTextareaElement=_classNameHostElement+"-textarea",_classNameHostScrollbarHorizontalHidden=_classNameHostElement+"-scrollbar-horizontal-hidden",_classNameHostScrollbarVerticalHidden=_classNameHostElement+"-scrollbar-vertical-hidden",_classNameHostTransition=_classNameHostElement+"-transition",_classNameHostRTL=_classNameHostElement+"-rtl",_classNameHostResizeDisabled=_classNameHostElement+"-resize-disabled",_classNameHostScrolling=_classNameHostElement+"-scrolling",_classNameHostOverflow=_classNameHostElement+"-overflow",_classNameHostOverflowX=(_classNameHostOverflow=_classNameHostElement+"-overflow")+"-x",_classNameHostOverflowY=_classNameHostOverflow+"-y",_classNameTextareaElement="os-textarea",_classNameTextareaCoverElement=_classNameTextareaElement+"-cover",_classNameViewportNativeScrollbarsInvisible="os-viewport-native-scrollbars-invisible",_classNameViewportNativeScrollbarsOverlaid="os-viewport-native-scrollbars-overlaid",_classNameTextInherit="os-text-inherit",_classNameScrollbarTrackOff="os-scrollbar-track-off",_classNameScrollbarHandleOff="os-scrollbar-handle-off",_classNameScrollbarUnusable="os-scrollbar-unusable",_classNameScrollbarAutoHidden="os-scrollbar-auto-hidden",_classNameScrollbarCornerResize="os-scrollbar-corner-resize",_classNameScrollbarCornerResizeB=_classNameScrollbarCornerResize+"-both",_classNameScrollbarCornerResizeH=_classNameScrollbarCornerResize+"-horizontal",_classNameScrollbarCornerResizeV=_classNameScrollbarCornerResize+"-vertical",_classNameDragging="os-dragging",_classNameThemeNone="os-theme-none",_classNamesDynamicDestroy=[_classNameViewportNativeScrollbarsInvisible,_classNameViewportNativeScrollbarsOverlaid,_classNameScrollbarTrackOff,_classNameScrollbarHandleOff,_classNameScrollbarUnusable,_classNameScrollbarAutoHidden,_classNameScrollbarCornerResize,_classNameScrollbarCornerResizeB,_classNameScrollbarCornerResizeH,_classNameScrollbarCornerResizeV,_classNameDragging].join(" "),_callbacksInitQeueue=[],_viewportAttrsFromTarget=[LEXICON.ti],_extensions={},_swallowedUpdateHints={},_updateOnLoadElms=[],_updateAutoCache={},_mutationObserverAttrsTextarea=["wrap","cols","rows"],_mutationObserverAttrsHost=[LEXICON.i,LEXICON.c,LEXICON.s,"open"].concat(_viewportAttrsFromTarget),_destroyEvents=[];return _base.sleep=function(){_sleeping=!0},_base.update=function(force){var attrsChanged,contentSizeC,doUpdateAuto,mutHost,mutContent;if(!_destroyed)return type(force)==TYPES_s?"auto"===force?(attrsChanged=function meaningfulAttrsChanged(){if(!_sleeping&&!_mutationObserversConnected){var elem,curr,cache,changedAttrs=[],checks=[{_elem:_hostElement,_attrs:_mutationObserverAttrsHost.concat(":visible")},{_elem:_isTextarea?_targetElement:undefined,_attrs:_mutationObserverAttrsTextarea}];return each(checks,(function(index,check){(elem=check._elem)&&each(check._attrs,(function(index,attr){curr=":"===attr.charAt(0)?elem.is(attr):elem.attr(attr),cache=_updateAutoCache[attr],checkCache(curr,cache)&&changedAttrs.push(attr),_updateAutoCache[attr]=curr}))})),updateViewportAttrsFromTarget(changedAttrs),changedAttrs[LEXICON.l]>0}}(),contentSizeC=function updateAutoContentSizeChanged(){if(_sleeping)return!1;var float,bodyMinSizeC,changed,contentElementScrollSize,contentMeasureElement=getContentMeasureElement(),textareaValueLength=_isTextarea&&_widthAutoCache&&!_textareaAutoWrappingCache?_targetElement.val().length:0,setCSS=!_mutationObserversConnected&&_widthAutoCache&&!_isTextarea,css={};return setCSS&&(float=_contentElement.css("float"),css.float=_isRTL?"right":"left",css.width="auto",_contentElement.css(css)),contentElementScrollSize={w:contentMeasureElement[LEXICON.sW]+textareaValueLength,h:contentMeasureElement[LEXICON.sH]+textareaValueLength},setCSS&&(css.float=float,css.width="100%",_contentElement.css(css)),bodyMinSizeC=bodyMinSizeChanged(),changed=checkCache(contentElementScrollSize,_contentElementScrollSizeChangeDetectedCache),_contentElementScrollSizeChangeDetectedCache=contentElementScrollSize,changed||bodyMinSizeC}(),(doUpdateAuto=attrsChanged||contentSizeC)&&update({_contentSizeChanged:contentSizeC,_changedOptions:_initialized?undefined:_currentPreparedOptions})):"sync"===force?_mutationObserversConnected?(mutHost=_mutationObserverHostCallback(_mutationObserverHost.takeRecords()),mutContent=_mutationObserverContentCallback(_mutationObserverContent.takeRecords())):mutHost=_base.update("auto"):"zoom"===force&&update({_hostSizeChanged:!0,_contentSizeChanged:!0}):(force=_sleeping||force,_sleeping=!1,_base.update("sync")&&!force||update({_force:force})),updateElementsOnLoad(),doUpdateAuto||mutHost||mutContent},_base.options=function(newOptions,value){var changedOps,option={};if(FRAMEWORK.isEmptyObject(newOptions)||!FRAMEWORK.isPlainObject(newOptions)){if(type(newOptions)!=TYPES_s)return _currentOptions;if(!(arguments.length>1))return getObjectPropVal(_currentOptions,newOptions);setObjectPropVal(option,newOptions,value),changedOps=setOptions(option)}else changedOps=setOptions(newOptions);FRAMEWORK.isEmptyObject(changedOps)||update({_changedOptions:changedOps})},_base.destroy=function(){if(!_destroyed){for(var extName in autoUpdateLoop.remove(_base),disconnectMutationObservers(),setupResizeObserver(_sizeObserverElement),setupResizeObserver(_sizeAutoObserverElement),_extensions)_base.removeExt(extName);for(;_destroyEvents[LEXICON.l]>0;)_destroyEvents.pop()();setupHostMouseTouchEvents(!0),_contentGlueElement&&remove(_contentGlueElement),_contentArrangeElement&&remove(_contentArrangeElement),_sizeAutoObserverAdded&&remove(_sizeAutoObserverElement),setupScrollbarsDOM(!0),setupScrollbarCornerDOM(!0),setupStructureDOM(!0);for(var i=0;i<_updateOnLoadElms[LEXICON.l];i++)FRAMEWORK(_updateOnLoadElms[i]).off("load",updateOnLoadCallback);_updateOnLoadElms=undefined,_destroyed=!0,_sleeping=!0,INSTANCES(pluginTargetElement,0),dispatchCallback("onDestroyed")}},_base.scroll=function(coordinates,duration,easing,complete){if(0===arguments.length||coordinates===undefined){var infoX=_scrollHorizontalInfo,infoY=_scrollVerticalInfo,normalizeInvert=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.i,normalizeNegate=_normalizeRTLCache&&_isRTL&&_rtlScrollBehavior.n,scrollX=infoX._currentScroll,scrollXRatio=infoX._currentScrollRatio,maxScrollX=infoX._maxScroll;return scrollXRatio=normalizeInvert?1-scrollXRatio:scrollXRatio,scrollX=normalizeInvert?maxScrollX-scrollX:scrollX,maxScrollX*=normalizeNegate?-1:1,{position:{x:scrollX*=normalizeNegate?-1:1,y:infoY._currentScroll},ratio:{x:scrollXRatio,y:infoY._currentScrollRatio},max:{x:maxScrollX,y:infoY._maxScroll},handleOffset:{x:infoX._handleOffset,y:infoY._handleOffset},handleLength:{x:infoX._handleLength,y:infoY._handleLength},handleLengthRatio:{x:infoX._handleLengthRatio,y:infoY._handleLengthRatio},trackLength:{x:infoX._trackLength,y:infoY._trackLength},snappedHandleOffset:{x:infoX._snappedHandleOffset,y:infoY._snappedHandleOffset},isRTL:_isRTL,isRTLNormalized:_normalizeRTLCache}}_base.update("sync");var i,doScrollLeft,doScrollTop,animationOptions,settingsAxis,settingsScroll,settingsBlock,settingsMargin,finalElement,normalizeRTL=_normalizeRTLCache,coordinatesXAxisProps=["x","left","l"],coordinatesYAxisProps=["y","top","t"],coordinatesOperators=["+=","-=","*=","/="],durationIsObject=type(duration)==TYPES_o,completeCallback=durationIsObject?duration.complete:complete,finalScroll={},specialEasing={},strEnd="end",strBegin="begin",strCenter="center",strNearest="nearest",strAlways="always",strNever="never",strIfNeeded="ifneeded",strLength=LEXICON.l,elementObjSettingsAxisValues=["x","y","xy","yx"],elementObjSettingsBlockValues=[strBegin,strEnd,strCenter,strNearest],elementObjSettingsScrollValues=[strAlways,strNever,strIfNeeded],coordinatesIsElementObj=coordinates[LEXICON.hOP]("el"),possibleElement=coordinatesIsElementObj?coordinates.el:coordinates,possibleElementIsJQuery=!!(possibleElement instanceof FRAMEWORK||JQUERY)&&possibleElement instanceof JQUERY,possibleElementIsHTMLElement=!possibleElementIsJQuery&&isHTMLElement(possibleElement),updateScrollbarInfos=function(){doScrollLeft&&refreshScrollbarHandleOffset(!0),doScrollTop&&refreshScrollbarHandleOffset(!1)},proxyCompleteCallback=type(completeCallback)!=TYPES_f?undefined:function(){updateScrollbarInfos(),completeCallback()};function checkSettingsStringValue(currValue,allowedValues){for(i=0;i2&&(possibleOperator=rawScroll.substr(0,2),inArray(possibleOperator,coordinatesOperators)>-1&&(operator=possibleOperator)),rawScroll=(rawScroll=operator?rawScroll.substr(2):rawScroll).replace(/min/g,0).replace(//g,(normalizeShortcuts?"-":"")+"100%").replace(/px/g,"").replace(/%/g," * "+maxScroll*(isRTLisX&&_rtlScrollBehavior.n?-1:1)/100).replace(/vw/g," * "+_viewportSize.w).replace(/vh/g," * "+_viewportSize.h),amount=parseToZeroOrNumber(isNaN(rawScroll)?parseToZeroOrNumber(evalFunc(rawScroll),!0).toFixed():rawScroll)):amount=rawScroll,amount!==undefined&&!isNaN(amount)&&type(amount)==TYPES_n){var normalizeIsRTLisX=normalizeRTL&&isRTLisX,operatorCurrScroll=currScroll*(normalizeIsRTLisX&&_rtlScrollBehavior.n?-1:1),invert=normalizeIsRTLisX&&_rtlScrollBehavior.i,negate=normalizeIsRTLisX&&_rtlScrollBehavior.n;switch(operatorCurrScroll=invert?maxScroll-operatorCurrScroll:operatorCurrScroll,operator){case"+=":finalValue=operatorCurrScroll+amount;break;case"-=":finalValue=operatorCurrScroll-amount;break;case"*=":finalValue=operatorCurrScroll*amount;break;case"/=":finalValue=operatorCurrScroll/amount;break;default:finalValue=amount}finalValue=invert?maxScroll-finalValue:finalValue,finalValue*=negate?-1:1,finalValue=isRTLisX&&_rtlScrollBehavior.n?MATH.min(0,MATH.max(maxScroll,finalValue)):MATH.max(0,MATH.min(maxScroll,finalValue))}return finalValue===currScroll?undefined:finalValue}function getPerAxisValue(value,valueInternalType,defaultValue,allowedValues){var valueArrLength,valueArrItem,resultDefault=[defaultValue,defaultValue],valueType=type(value);if(valueType==valueInternalType)value=[value,value];else if(valueType==TYPES_a){if((valueArrLength=value[strLength])>2||valueArrLength<1)value=resultDefault;else for(1===valueArrLength&&(value[1]=defaultValue),i=0;i0){margin=marginType==TYPES_n||marginType==TYPES_b?generateMargin([margin,margin,margin,margin]):marginType==TYPES_a?2===(marginLength=margin[strLength])?generateMargin([margin[0],margin[1],margin[0],margin[1]]):marginLength>=4?generateMargin(margin):marginDefault:marginType==TYPES_o?generateMargin([margin.top,margin.right,margin.bottom,margin.left]):marginDefault,settingsAxis=checkSettingsStringValue(axis,elementObjSettingsAxisValues)?axis:"xy",settingsScroll=getPerAxisValue(scroll,TYPES_s,strAlways,elementObjSettingsScrollValues),settingsBlock=getPerAxisValue(block,TYPES_s,strBegin,elementObjSettingsBlockValues),settingsMargin=margin;var viewportScroll={l:_scrollHorizontalInfo._currentScroll,t:_scrollVerticalInfo._currentScroll},viewportOffset=_paddingElement.offset(),elementOffset=finalElement.offset(),doNotScroll={x:settingsScroll.x==strNever||"y"==settingsAxis,y:settingsScroll.y==strNever||"x"==settingsAxis};elementOffset.top-=settingsMargin[0],elementOffset.left-=settingsMargin[3];var elementScrollCoordinates={x:MATH.round(elementOffset.left-viewportOffset.left+viewportScroll.l),y:MATH.round(elementOffset.top-viewportOffset.top+viewportScroll.t)};if(_isRTL&&(_rtlScrollBehavior.n||_rtlScrollBehavior.i||(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+viewportScroll.l)),_rtlScrollBehavior.n&&normalizeRTL&&(elementScrollCoordinates.x*=-1),_rtlScrollBehavior.i&&normalizeRTL&&(elementScrollCoordinates.x=MATH.round(viewportOffset.left-elementOffset.left+(_scrollHorizontalInfo._maxScroll-viewportScroll.l)))),settingsBlock.x!=strBegin||settingsBlock.y!=strBegin||settingsScroll.x==strIfNeeded||settingsScroll.y==strIfNeeded||_isRTL){var measuringElm=finalElement[0],rawElementSize=_supportTransform?measuringElm[LEXICON.bCR]():{width:measuringElm[LEXICON.oW],height:measuringElm[LEXICON.oH]},elementSize={w:rawElementSize.width+settingsMargin[3]+settingsMargin[1],h:rawElementSize.height+settingsMargin[0]+settingsMargin[2]},finalizeBlock=function(isX){var vars=getScrollbarVars(isX),wh=vars._w_h,lt=vars._left_top,xy=vars._x_y,blockIsEnd=settingsBlock[xy]==(isX&&_isRTL?strBegin:strEnd),blockIsCenter=settingsBlock[xy]==strCenter,blockIsNearest=settingsBlock[xy]==strNearest,scrollNever=settingsScroll[xy]==strNever,scrollIfNeeded=settingsScroll[xy]==strIfNeeded,vpSize=_viewportSize[wh],vpOffset=viewportOffset[lt],elSize=elementSize[wh],elOffset=elementOffset[lt],divide=blockIsCenter?2:1,elementCenterOffset=elOffset+elSize/2,viewportCenterOffset=vpOffset+vpSize/2,isInView=elSize<=vpSize&&elOffset>=vpOffset&&elOffset+elSize<=vpOffset+vpSize;scrollNever?doNotScroll[xy]=!0:doNotScroll[xy]||((blockIsNearest||scrollIfNeeded)&&(doNotScroll[xy]=!!scrollIfNeeded&&isInView,blockIsEnd=elSizeviewportCenterOffset:elementCenterOffset0||durationIsObject)?durationIsObject?(duration.complete=proxyCompleteCallback,_viewportElement.animate(finalScroll,duration)):(animationOptions={duration:duration,complete:proxyCompleteCallback},COMPATIBILITY.isA(easing)||FRAMEWORK.isPlainObject(easing)?(specialEasing.scrollLeft=easing[0]||easing.x,specialEasing.scrollTop=easing[1]||easing.y,animationOptions.specialEasing=specialEasing):animationOptions.easing=easing,_viewportElement.animate(finalScroll,animationOptions)):(doScrollLeft&&_viewportElement.scrollLeft(finalScroll.scrollLeft),doScrollTop&&_viewportElement.scrollTop(finalScroll.scrollTop),updateScrollbarInfos())},_base.scrollStop=function(param1,param2,param3){return _viewportElement.stop(param1,param2,param3),_base},_base.getElements=function(elementName){var obj={target:_targetElementNative,host:_hostElementNative,padding:_paddingElementNative,viewport:_viewportElementNative,content:_contentElementNative,scrollbarHorizontal:{scrollbar:_scrollbarHorizontalElement[0],track:_scrollbarHorizontalTrackElement[0],handle:_scrollbarHorizontalHandleElement[0]},scrollbarVertical:{scrollbar:_scrollbarVerticalElement[0],track:_scrollbarVerticalTrackElement[0],handle:_scrollbarVerticalHandleElement[0]},scrollbarCorner:_scrollbarCornerElement[0]};return type(elementName)==TYPES_s?getObjectPropVal(obj,elementName):obj},_base.getState=function(stateProperty){function prepare(obj){if(!FRAMEWORK.isPlainObject(obj))return obj;var extended=extendDeep({},obj),changePropertyName=function(from,to){extended[LEXICON.hOP](from)&&(extended[to]=extended[from],delete extended[from])};return changePropertyName("w","width"),changePropertyName("h","height"),delete extended.c,extended}var obj={destroyed:!!prepare(_destroyed),sleeping:!!prepare(_sleeping),autoUpdate:prepare(!_mutationObserversConnected),widthAuto:prepare(_widthAutoCache),heightAuto:prepare(_heightAutoCache),padding:prepare(_cssPaddingCache),overflowAmount:prepare(_overflowAmountCache),hideOverflow:prepare(_hideOverflowCache),hasOverflow:prepare(_hasOverflowCache),contentScrollSize:prepare(_contentScrollSizeCache),viewportSize:prepare(_viewportSize),hostSize:prepare(_hostSizeCache),documentMixed:prepare(_documentMixed)};return type(stateProperty)==TYPES_s?getObjectPropVal(obj,stateProperty):obj},_base.ext=function(extName){var result,privateMethods="added removed on contract".split(" "),i=0;if(type(extName)==TYPES_s){if(_extensions[LEXICON.hOP](extName))for(result=extendDeep({},_extensions[extName]);i9||!_autoUpdateRecommended){targetElement.prepend(generateDiv("os-resize-observer",generateDiv({c:"os-resize-observer-item",dir:"ltr"},generateDiv("os-resize-observer-item",generateDiv("os-resize-observer-item-final"))+generateDiv("os-resize-observer-item",generateDiv({c:"os-resize-observer-item-final",style:"width: 200%; height: 200%"})))));var isDirty,rAFId,currWidth,currHeight,observerElement=targetElement[0].childNodes[0].childNodes[0],shrinkElement=FRAMEWORK(observerElement.childNodes[1]),expandElement=FRAMEWORK(observerElement.childNodes[0]),expandElementChild=FRAMEWORK(expandElement[0].childNodes[0]),widthCache=observerElement[LEXICON.oW],heightCache=observerElement[LEXICON.oH],nativeScrollbarSize=globals.nativeScrollbarSize,reset=function(){expandElement.scrollLeft(3333333).scrollTop(3333333),shrinkElement.scrollLeft(3333333).scrollTop(3333333)},onResized=function(){rAFId=0,isDirty&&(widthCache=currWidth,heightCache=currHeight,callback())},onScroll=function(event){return currWidth=observerElement[LEXICON.oW],currHeight=observerElement[LEXICON.oH],isDirty=currWidth!=widthCache||currHeight!=heightCache,event&&isDirty&&!rAFId?(COMPATIBILITY.cAF()(rAFId),rAFId=COMPATIBILITY.rAF()(onResized)):event||onResized(),reset(),event&&(COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)),!1},expandChildCSS={},observerElementCSS={};setTopRightBottomLeft(observerElementCSS,"",[-2*(nativeScrollbarSize.y+1),-2*nativeScrollbarSize.x,-2*nativeScrollbarSize.y,-2*(nativeScrollbarSize.x+1)]),FRAMEWORK(observerElement).css(observerElementCSS),expandElement.on("scroll",onScroll),shrinkElement.on("scroll",onScroll),targetElement.on(strAnimationStartEvent,(function(){onScroll(!1)})),expandChildCSS.width=3333333,expandChildCSS.height=3333333,expandElementChild.css(expandChildCSS),reset()}else{var attachEvent=_documentElementNative.attachEvent,isIE=_msieVersion!==undefined;if(attachEvent)targetElement.prepend(generateDiv("os-resize-observer")),findFirst(targetElement,".os-resize-observer")[0].attachEvent("onresize",callback);else{var obj=_documentElementNative.createElement(TYPES_o);obj.setAttribute(LEXICON.ti,"-1"),obj.setAttribute(LEXICON.c,"os-resize-observer"),obj.onload=function(){var wnd=this.contentDocument.defaultView;wnd.addEventListener("resize",callback),wnd.document.documentElement.style.display="none"},obj.type="text/html",isIE&&targetElement.prepend(obj),obj.data="about:blank",isIE||targetElement.prepend(obj),targetElement.on(strAnimationStartEvent,callback)}}if(targetElement[0]===_sizeObserverElementNative){var directionChanged=function(){var dir=_hostElement.css("direction"),css={},scrollLeftValue=0,result=!1;return dir!==_cssDirectionDetectedCache&&("ltr"===dir?(css.left=0,css.right="auto",scrollLeftValue=3333333):(css.left="auto",css.right=0,scrollLeftValue=_rtlScrollBehavior.n?-3333333:_rtlScrollBehavior.i?0:3333333),_sizeObserverElement.children().eq(0).css(css),_sizeObserverElement.scrollLeft(scrollLeftValue).scrollTop(3333333),_cssDirectionDetectedCache=dir,result=!0),result};directionChanged(),addDestroyEventListener(targetElement,"scroll",(function(event){return directionChanged()&&update(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1}))}}else if(_supportResizeObserver){var element,resizeObserverObj=(element=targetElement.contents()[0]).__overlayScrollbarsRO__;resizeObserverObj&&(resizeObserverObj.disconnect(),delete element.__overlayScrollbarsRO__)}else remove(targetElement.children(".os-resize-observer").eq(0))}}function createMutationObservers(){if(_supportMutationObserver){var mutationTarget,mutationAttrName,mutationIsClass,oldMutationVal,newClassVal,hostClassNameRegex,contentTimeout,now,sizeAuto,action,mutationObserver=COMPATIBILITY.mO(),contentLastUpdate=COMPATIBILITY.now();_mutationObserverContentCallback=function(mutations){var doUpdate=!1;return _initialized&&!_sleeping&&(each(mutations,(function(){return!(doUpdate=function isUnknownMutation(mutation){var attributeName=mutation.attributeName,mutationTarget=mutation.target,mutationType=mutation.type;if(mutationTarget===_contentElementNative)return null===attributeName;if("attributes"===mutationType&&(attributeName===LEXICON.c||attributeName===LEXICON.s)&&!_isTextarea){if(attributeName===LEXICON.c&&FRAMEWORK(mutationTarget).hasClass(_classNameHostElement))return hostClassNamesChanged(mutation.oldValue,mutationTarget.className);if(typeof mutationTarget.closest!=TYPES_f)return!0;if(null!==mutationTarget.closest(".os-resize-observer")||null!==mutationTarget.closest(".os-scrollbar")||null!==mutationTarget.closest(".os-scrollbar-corner"))return!1}return!0}(this))})),doUpdate&&(now=COMPATIBILITY.now(),sizeAuto=_heightAutoCache||_widthAutoCache,action=function(){_destroyed||(contentLastUpdate=now,_isTextarea&&textareaUpdate(),sizeAuto?update():_base.update("auto"))},clearTimeout(contentTimeout),now-contentLastUpdate>11||!sizeAuto?action():contentTimeout=setTimeout(action,11))),doUpdate},_mutationObserverHost=new mutationObserver(_mutationObserverHostCallback=function(mutations){var mutation,doUpdate=!1,doUpdateForce=!1,mutatedAttrs=[];return _initialized&&!_sleeping&&(each(mutations,(function(){mutationTarget=(mutation=this).target,mutationAttrName=mutation.attributeName,mutationIsClass=mutationAttrName===LEXICON.c,oldMutationVal=mutation.oldValue,newClassVal=mutationTarget.className,_domExists&&mutationIsClass&&!doUpdateForce&&oldMutationVal.indexOf(_classNameHostElementForeign)>-1&&newClassVal.indexOf(_classNameHostElementForeign)<0&&(hostClassNameRegex=createHostClassNameRegExp(!0),_hostElementNative.className=newClassVal.split(" ").concat(oldMutationVal.split(" ").filter((function(name){return name.match(hostClassNameRegex)}))).join(" "),doUpdate=doUpdateForce=!0),doUpdate||(doUpdate=mutationIsClass?hostClassNamesChanged(oldMutationVal,newClassVal):mutationAttrName!==LEXICON.s||oldMutationVal!==mutationTarget[LEXICON.s].cssText),mutatedAttrs.push(mutationAttrName)})),updateViewportAttrsFromTarget(mutatedAttrs),doUpdate&&_base.update(doUpdateForce||"auto")),doUpdate}),_mutationObserverContent=new mutationObserver(_mutationObserverContentCallback)}}function connectMutationObservers(){_supportMutationObserver&&!_mutationObserversConnected&&(_mutationObserverHost.observe(_hostElementNative,{attributes:!0,attributeOldValue:!0,attributeFilter:_mutationObserverAttrsHost}),_mutationObserverContent.observe(_isTextarea?_targetElementNative:_contentElementNative,{attributes:!0,attributeOldValue:!0,subtree:!_isTextarea,childList:!_isTextarea,characterData:!_isTextarea,attributeFilter:_isTextarea?_mutationObserverAttrsTextarea:_mutationObserverAttrsHost}),_mutationObserversConnected=!0)}function disconnectMutationObservers(){_supportMutationObserver&&_mutationObserversConnected&&(_mutationObserverHost.disconnect(),_mutationObserverContent.disconnect(),_mutationObserversConnected=!1)}function hostOnResized(){if(!_sleeping){var changed,hostSize={w:_sizeObserverElementNative[LEXICON.sW],h:_sizeObserverElementNative[LEXICON.sH]};changed=checkCache(hostSize,_hostElementSizeChangeDetectedCache),_hostElementSizeChangeDetectedCache=hostSize,changed&&update({_hostSizeChanged:!0})}}function hostOnMouseEnter(){_scrollbarsAutoHideLeave&&refreshScrollbarsAutoHide(!0)}function hostOnMouseLeave(){_scrollbarsAutoHideLeave&&!_bodyElement.hasClass(_classNameDragging)&&refreshScrollbarsAutoHide(!1)}function hostOnMouseMove(){_scrollbarsAutoHideMove&&(refreshScrollbarsAutoHide(!0),clearTimeout(_scrollbarsAutoHideMoveTimeoutId),_scrollbarsAutoHideMoveTimeoutId=setTimeout((function(){_scrollbarsAutoHideMove&&!_destroyed&&refreshScrollbarsAutoHide(!1)}),100))}function documentOnSelectStart(event){return COMPATIBILITY.prvD(event),!1}function updateOnLoadCallback(event){var elm=FRAMEWORK(event.target);eachUpdateOnLoad((function(i,updateOnLoadSelector){elm.is(updateOnLoadSelector)&&update({_contentSizeChanged:!0})}))}function setupHostMouseTouchEvents(destroy){destroy||setupHostMouseTouchEvents(!0),setupResponsiveEventListener(_hostElement,"mousemove touchmove".split(" ")[0],hostOnMouseMove,!_scrollbarsAutoHideMove||destroy,!0),setupResponsiveEventListener(_hostElement,["mouseenter","mouseleave"],[hostOnMouseEnter,hostOnMouseLeave],!_scrollbarsAutoHideLeave||destroy,!0),_initialized||destroy||_hostElement.one("mouseover",hostOnMouseEnter)}function bodyMinSizeChanged(){var bodyMinSize={};return _isBody&&_contentArrangeElement&&(bodyMinSize.w=parseToZeroOrNumber(_contentArrangeElement.css("min-width")),bodyMinSize.h=parseToZeroOrNumber(_contentArrangeElement.css("min-height")),bodyMinSize.c=checkCache(bodyMinSize,_bodyMinSizeCache),bodyMinSize.f=!0),_bodyMinSizeCache=bodyMinSize,!!bodyMinSize.c}function hostClassNamesChanged(oldClassNames,newClassNames){var i,regex,currClasses=typeof newClassNames==TYPES_s?newClassNames.split(" "):[],diff=function getArrayDifferences(a1,a2){var i,k,a=[],diff=[];for(i=0;i-1&&diff.splice(idx,1),diff[LEXICON.l]>0)for(regex=createHostClassNameRegExp(!0,!0),i=0;i-1){var targetAttr=_targetElement.attr(attr);type(targetAttr)==TYPES_s?_viewportElement.attr(attr,targetAttr):_viewportElement.removeAttr(attr)}}))}function textareaUpdate(){if(!_sleeping){var origWidth,width,origHeight,height,wrapAttrOff=!_textareaAutoWrappingCache,minWidth=_viewportSize.w,minHeight=_viewportSize.h,css={},doMeasure=_widthAutoCache||wrapAttrOff;return css["min-width"]="",css["min-height"]="",css.width="auto",_targetElement.css(css),origWidth=_targetElementNative[LEXICON.oW],width=doMeasure?MATH.max(origWidth,_targetElementNative[LEXICON.sW]-1):1,css.width=_widthAutoCache?"auto":"100%",css["min-width"]="100%",css.height="auto",_targetElement.css(css),origHeight=_targetElementNative[LEXICON.oH],height=MATH.max(origHeight,_targetElementNative[LEXICON.sH]-1),css.width=width,css.height=height,_textareaCoverElement.css(css),css["min-width"]=minWidth,css["min-height"]=minHeight,_targetElement.css(css),{_originalWidth:origWidth,_originalHeight:origHeight,_dynamicWidth:width,_dynamicHeight:height}}}function update(updateHints){clearTimeout(_swallowedUpdateTimeout),updateHints=updateHints||{},_swallowedUpdateHints._hostSizeChanged|=updateHints._hostSizeChanged,_swallowedUpdateHints._contentSizeChanged|=updateHints._contentSizeChanged,_swallowedUpdateHints._force|=updateHints._force;var displayIsHidden,now=COMPATIBILITY.now(),hostSizeChanged=!!_swallowedUpdateHints._hostSizeChanged,contentSizeChanged=!!_swallowedUpdateHints._contentSizeChanged,force=!!_swallowedUpdateHints._force,changedOptions=updateHints._changedOptions,swallow=_initialized&&!_destroyed&&!force&&!changedOptions&&now-_lastUpdateTime<42&&!_heightAutoCache&&!_widthAutoCache;if(swallow&&(_swallowedUpdateTimeout=setTimeout(update,42)),!(_destroyed||swallow||_sleeping&&!changedOptions||_initialized&&!force&&(displayIsHidden=_hostElement.is(":hidden"))||"inline"===_hostElement.css("display"))){_lastUpdateTime=now,_swallowedUpdateHints={},!_nativeScrollbarStyling||_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y?_nativeScrollbarSize=extendDeep({},globals.nativeScrollbarSize):(_nativeScrollbarSize.x=0,_nativeScrollbarSize.y=0),_nativeScrollbarMinSize={x:3*(_nativeScrollbarSize.x+(_nativeScrollbarIsOverlaid.x?0:3)),y:3*(_nativeScrollbarSize.y+(_nativeScrollbarIsOverlaid.y?0:3))},changedOptions=changedOptions||{};var checkCacheAutoForce=function(){return checkCache.apply(this,[].slice.call(arguments).concat([force]))},currScroll={x:_viewportElement.scrollLeft(),y:_viewportElement.scrollTop()},currentPreparedOptionsScrollbars=_currentPreparedOptions.scrollbars,currentPreparedOptionsTextarea=_currentPreparedOptions.textarea,scrollbarsVisibility=currentPreparedOptionsScrollbars.visibility,scrollbarsVisibilityChanged=checkCacheAutoForce(scrollbarsVisibility,_scrollbarsVisibilityCache),scrollbarsAutoHide=currentPreparedOptionsScrollbars.autoHide,scrollbarsAutoHideChanged=checkCacheAutoForce(scrollbarsAutoHide,_scrollbarsAutoHideCache),scrollbarsClickScrolling=currentPreparedOptionsScrollbars.clickScrolling,scrollbarsClickScrollingChanged=checkCacheAutoForce(scrollbarsClickScrolling,_scrollbarsClickScrollingCache),scrollbarsDragScrolling=currentPreparedOptionsScrollbars.dragScrolling,scrollbarsDragScrollingChanged=checkCacheAutoForce(scrollbarsDragScrolling,_scrollbarsDragScrollingCache),className=_currentPreparedOptions.className,classNameChanged=checkCacheAutoForce(className,_classNameCache),resize=_currentPreparedOptions.resize,resizeChanged=checkCacheAutoForce(resize,_resizeCache)&&!_isBody,paddingAbsolute=_currentPreparedOptions.paddingAbsolute,paddingAbsoluteChanged=checkCacheAutoForce(paddingAbsolute,_paddingAbsoluteCache),clipAlways=_currentPreparedOptions.clipAlways,clipAlwaysChanged=checkCacheAutoForce(clipAlways,_clipAlwaysCache),sizeAutoCapable=_currentPreparedOptions.sizeAutoCapable&&!_isBody,sizeAutoCapableChanged=checkCacheAutoForce(sizeAutoCapable,_sizeAutoCapableCache),ignoreOverlayScrollbarHiding=_currentPreparedOptions.nativeScrollbarsOverlaid.showNativeScrollbars,ignoreOverlayScrollbarHidingChanged=checkCacheAutoForce(ignoreOverlayScrollbarHiding,_ignoreOverlayScrollbarHidingCache),autoUpdate=_currentPreparedOptions.autoUpdate,autoUpdateChanged=checkCacheAutoForce(autoUpdate,_autoUpdateCache),overflowBehavior=_currentPreparedOptions.overflowBehavior,overflowBehaviorChanged=checkCacheAutoForce(overflowBehavior,_overflowBehaviorCache,force),textareaDynWidth=currentPreparedOptionsTextarea.dynWidth,textareaDynWidthChanged=checkCacheAutoForce(_textareaDynWidthCache,textareaDynWidth),textareaDynHeight=currentPreparedOptionsTextarea.dynHeight,textareaDynHeightChanged=checkCacheAutoForce(_textareaDynHeightCache,textareaDynHeight);if(_scrollbarsAutoHideNever="n"===scrollbarsAutoHide,_scrollbarsAutoHideScroll="s"===scrollbarsAutoHide,_scrollbarsAutoHideMove="m"===scrollbarsAutoHide,_scrollbarsAutoHideLeave="l"===scrollbarsAutoHide,_scrollbarsAutoHideDelay=currentPreparedOptionsScrollbars.autoHideDelay,_oldClassName=_classNameCache,_resizeNone="n"===resize,_resizeBoth="b"===resize,_resizeHorizontal="h"===resize,_resizeVertical="v"===resize,_normalizeRTLCache=_currentPreparedOptions.normalizeRTL,ignoreOverlayScrollbarHiding=ignoreOverlayScrollbarHiding&&_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y,_scrollbarsVisibilityCache=scrollbarsVisibility,_scrollbarsAutoHideCache=scrollbarsAutoHide,_scrollbarsClickScrollingCache=scrollbarsClickScrolling,_scrollbarsDragScrollingCache=scrollbarsDragScrolling,_classNameCache=className,_resizeCache=resize,_paddingAbsoluteCache=paddingAbsolute,_clipAlwaysCache=clipAlways,_sizeAutoCapableCache=sizeAutoCapable,_ignoreOverlayScrollbarHidingCache=ignoreOverlayScrollbarHiding,_autoUpdateCache=autoUpdate,_overflowBehaviorCache=extendDeep({},overflowBehavior),_textareaDynWidthCache=textareaDynWidth,_textareaDynHeightCache=textareaDynHeight,_hasOverflowCache=_hasOverflowCache||{x:!1,y:!1},classNameChanged&&(removeClass(_hostElement,_oldClassName+" "+_classNameThemeNone),addClass(_hostElement,className!==undefined&&null!==className&&className.length>0?className:_classNameThemeNone)),autoUpdateChanged&&(!0===autoUpdate||null===autoUpdate&&_autoUpdateRecommended?(disconnectMutationObservers(),autoUpdateLoop.add(_base)):(autoUpdateLoop.remove(_base),connectMutationObservers())),sizeAutoCapableChanged)if(sizeAutoCapable)if(_contentGlueElement?_contentGlueElement.show():(_contentGlueElement=FRAMEWORK(generateDiv("os-content-glue")),_paddingElement.before(_contentGlueElement)),_sizeAutoObserverAdded)_sizeAutoObserverElement.show();else{_sizeAutoObserverElement=FRAMEWORK(generateDiv("os-size-auto-observer")),_sizeAutoObserverElementNative=_sizeAutoObserverElement[0],_contentGlueElement.before(_sizeAutoObserverElement);var oldSize={w:-1,h:-1};setupResizeObserver(_sizeAutoObserverElement,(function(){var newSize={w:_sizeAutoObserverElementNative[LEXICON.oW],h:_sizeAutoObserverElementNative[LEXICON.oH]};checkCache(newSize,oldSize)&&(_initialized&&_heightAutoCache&&newSize.h>0||_widthAutoCache&&newSize.w>0||_initialized&&!_heightAutoCache&&0===newSize.h||!_widthAutoCache&&0===newSize.w)&&update(),oldSize=newSize})),_sizeAutoObserverAdded=!0,null!==_cssCalc&&_sizeAutoObserverElement.css("height",_cssCalc+"(100% + 1px)")}else _sizeAutoObserverAdded&&_sizeAutoObserverElement.hide(),_contentGlueElement&&_contentGlueElement.hide();force&&(_sizeObserverElement.find("*").trigger("scroll"),_sizeAutoObserverAdded&&_sizeAutoObserverElement.find("*").trigger("scroll")),displayIsHidden=displayIsHidden===undefined?_hostElement.is(":hidden"):displayIsHidden;var sizeAutoObserverElementBCRect,textareaAutoWrapping=!!_isTextarea&&"off"!==_targetElement.attr("wrap"),textareaAutoWrappingChanged=checkCacheAutoForce(textareaAutoWrapping,_textareaAutoWrappingCache),cssDirection=_hostElement.css("direction"),cssDirectionChanged=checkCacheAutoForce(cssDirection,_cssDirectionCache),boxSizing=_hostElement.css("box-sizing"),boxSizingChanged=checkCacheAutoForce(boxSizing,_cssBoxSizingCache),padding=getTopRightBottomLeftHost("padding-");try{sizeAutoObserverElementBCRect=_sizeAutoObserverAdded?_sizeAutoObserverElementNative[LEXICON.bCR]():null}catch(ex){return}_isBorderBox="border-box"===boxSizing;var isRTLLeft=(_isRTL="rtl"===cssDirection)?"left":"right",isRTLRight=_isRTL?"right":"left",widthAutoResizeDetection=!1,widthAutoObserverDetection=!(!_sizeAutoObserverAdded||"none"===_hostElement.css("float"))&&0===MATH.round(sizeAutoObserverElementBCRect.right-sizeAutoObserverElementBCRect.left)&&(!!paddingAbsolute||_hostElementNative[LEXICON.cW]-_paddingX>0);if(sizeAutoCapable&&!widthAutoObserverDetection){var tmpCurrHostWidth=_hostElementNative[LEXICON.oW],tmpCurrContentGlueWidth=_contentGlueElement.css("width");_contentGlueElement.css("width","auto");var tmpNewHostWidth=_hostElementNative[LEXICON.oW];_contentGlueElement.css("width",tmpCurrContentGlueWidth),(widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)||(_contentGlueElement.css("width",tmpCurrHostWidth+1),tmpNewHostWidth=_hostElementNative[LEXICON.oW],_contentGlueElement.css("width",tmpCurrContentGlueWidth),widthAutoResizeDetection=tmpCurrHostWidth!==tmpNewHostWidth)}var widthAuto=(widthAutoObserverDetection||widthAutoResizeDetection)&&sizeAutoCapable&&!displayIsHidden,widthAutoChanged=checkCacheAutoForce(widthAuto,_widthAutoCache),wasWidthAuto=!widthAuto&&_widthAutoCache,heightAuto=!(!_sizeAutoObserverAdded||!sizeAutoCapable||displayIsHidden)&&0===MATH.round(sizeAutoObserverElementBCRect.bottom-sizeAutoObserverElementBCRect.top),heightAutoChanged=checkCacheAutoForce(heightAuto,_heightAutoCache),wasHeightAuto=!heightAuto&&_heightAutoCache,border=getTopRightBottomLeftHost("border-","-width",!(widthAuto&&_isBorderBox||!_isBorderBox),!(heightAuto&&_isBorderBox||!_isBorderBox)),margin=getTopRightBottomLeftHost("margin-"),contentElementCSS={},contentGlueElementCSS={},getHostSize=function(){return{w:_hostElementNative[LEXICON.cW],h:_hostElementNative[LEXICON.cH]}},getViewportSize=function(){return{w:_paddingElementNative[LEXICON.oW]+MATH.max(0,_contentElementNative[LEXICON.cW]-_contentElementNative[LEXICON.sW]),h:_paddingElementNative[LEXICON.oH]+MATH.max(0,_contentElementNative[LEXICON.cH]-_contentElementNative[LEXICON.sH])}},paddingAbsoluteX=_paddingX=padding.l+padding.r,paddingAbsoluteY=_paddingY=padding.t+padding.b;if(paddingAbsoluteX*=paddingAbsolute?1:0,paddingAbsoluteY*=paddingAbsolute?1:0,padding.c=checkCacheAutoForce(padding,_cssPaddingCache),_borderX=border.l+border.r,_borderY=border.t+border.b,border.c=checkCacheAutoForce(border,_cssBorderCache),_marginX=margin.l+margin.r,_marginY=margin.t+margin.b,margin.c=checkCacheAutoForce(margin,_cssMarginCache),_textareaAutoWrappingCache=textareaAutoWrapping,_cssDirectionCache=cssDirection,_cssBoxSizingCache=boxSizing,_widthAutoCache=widthAuto,_heightAutoCache=heightAuto,_cssPaddingCache=padding,_cssBorderCache=border,_cssMarginCache=margin,cssDirectionChanged&&_sizeAutoObserverAdded&&_sizeAutoObserverElement.css("float",isRTLRight),padding.c||cssDirectionChanged||paddingAbsoluteChanged||widthAutoChanged||heightAutoChanged||boxSizingChanged||sizeAutoCapableChanged){var paddingElementCSS={},textareaCSS={},paddingValues=[padding.t,padding.r,padding.b,padding.l];setTopRightBottomLeft(contentGlueElementCSS,"margin-",[-padding.t,-padding.r,-padding.b,-padding.l]),paddingAbsolute?(setTopRightBottomLeft(paddingElementCSS,"",paddingValues),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-")):(setTopRightBottomLeft(paddingElementCSS,""),setTopRightBottomLeft(_isTextarea?textareaCSS:contentElementCSS,"padding-",paddingValues)),_paddingElement.css(paddingElementCSS),_targetElement.css(textareaCSS)}_viewportSize=getViewportSize();var textareaSize=!!_isTextarea&&textareaUpdate(),textareaSizeChanged=_isTextarea&&checkCacheAutoForce(textareaSize,_textareaSizeCache),textareaDynOrigSize=_isTextarea&&textareaSize?{w:textareaDynWidth?textareaSize._dynamicWidth:textareaSize._originalWidth,h:textareaDynHeight?textareaSize._dynamicHeight:textareaSize._originalHeight}:{};if(_textareaSizeCache=textareaSize,heightAuto&&(heightAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c)?contentElementCSS.height="auto":(heightAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.height="100%"),widthAuto&&(widthAutoChanged||paddingAbsoluteChanged||boxSizingChanged||padding.c||border.c||cssDirectionChanged)?(contentElementCSS.width="auto",contentGlueElementCSS["max-width"]="100%"):(widthAutoChanged||paddingAbsoluteChanged)&&(contentElementCSS.width="100%",contentElementCSS.float="",contentGlueElementCSS["max-width"]=""),widthAuto?(contentGlueElementCSS.width="auto",contentElementCSS.width=VENDORS._cssPropertyValue("width","max-content intrinsic")||"auto",contentElementCSS.float=isRTLRight):contentGlueElementCSS.width="",contentGlueElementCSS.height=heightAuto?textareaDynOrigSize.h||_contentElementNative[LEXICON.cH]:"",sizeAutoCapable&&_contentGlueElement.css(contentGlueElementCSS),_contentElement.css(contentElementCSS),contentElementCSS={},contentGlueElementCSS={},hostSizeChanged||contentSizeChanged||textareaSizeChanged||cssDirectionChanged||boxSizingChanged||paddingAbsoluteChanged||widthAutoChanged||widthAuto||heightAutoChanged||heightAuto||ignoreOverlayScrollbarHidingChanged||overflowBehaviorChanged||clipAlwaysChanged||resizeChanged||scrollbarsVisibilityChanged||scrollbarsAutoHideChanged||scrollbarsDragScrollingChanged||scrollbarsClickScrollingChanged||textareaDynWidthChanged||textareaDynHeightChanged||textareaAutoWrappingChanged){if(!_nativeScrollbarStyling){var viewportElementResetCSS={},resetXTmp=_hasOverflowCache.y&&_hideOverflowCache.ys&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.y?_viewportElement.css(isRTLLeft):-_nativeScrollbarSize.y:0,resetBottomTmp=_hasOverflowCache.x&&_hideOverflowCache.xs&&!ignoreOverlayScrollbarHiding?_nativeScrollbarIsOverlaid.x?_viewportElement.css("bottom"):-_nativeScrollbarSize.x:0;setTopRightBottomLeft(viewportElementResetCSS,""),_viewportElement.css(viewportElementResetCSS)}var contentMeasureElement=getContentMeasureElement(),contentSize={w:textareaDynOrigSize.w||contentMeasureElement[LEXICON.cW],h:textareaDynOrigSize.h||contentMeasureElement[LEXICON.cH]},scrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};_nativeScrollbarStyling||(viewportElementResetCSS.bottom=wasHeightAuto?"":resetBottomTmp,viewportElementResetCSS[isRTLLeft]=wasWidthAuto?"":resetXTmp,_viewportElement.css(viewportElementResetCSS)),_viewportSize=getViewportSize();var hostSize=getHostSize(),hostAbsoluteRectSize={w:hostSize.w-_marginX-_borderX-(_isBorderBox?0:_paddingX),h:hostSize.h-_marginY-_borderY-(_isBorderBox?0:_paddingY)},contentGlueSize={w:MATH.max((widthAuto?contentSize.w:scrollSize.w)+paddingAbsoluteX,hostAbsoluteRectSize.w),h:MATH.max((heightAuto?contentSize.h:scrollSize.h)+paddingAbsoluteY,hostAbsoluteRectSize.h)};if(contentGlueSize.c=checkCacheAutoForce(contentGlueSize,_contentGlueSizeCache),_contentGlueSizeCache=contentGlueSize,sizeAutoCapable){(contentGlueSize.c||heightAuto||widthAuto)&&(contentGlueElementCSS.width=contentGlueSize.w,contentGlueElementCSS.height=contentGlueSize.h,_isTextarea||(contentSize={w:contentMeasureElement[LEXICON.cW],h:contentMeasureElement[LEXICON.cH]}));var textareaCoverCSS={},setContentGlueElementCSSfunction=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),wh=scrollbarVars._w_h,strWH=scrollbarVars._width_height,autoSize=horizontal?widthAuto:heightAuto,borderSize=horizontal?_borderX:_borderY,paddingSize=horizontal?_paddingX:_paddingY,marginSize=horizontal?_marginX:_marginY,viewportSize=_viewportSize[wh]-borderSize-marginSize-(_isBorderBox?0:paddingSize);(!autoSize||!autoSize&&border.c)&&(contentGlueElementCSS[strWH]=hostAbsoluteRectSize[wh]-1),!(autoSize&&contentSize[wh]0&&(contentGlueElementCSS[strWH]=MATH.max(1,contentGlueElementCSS[strWH]))};setContentGlueElementCSSfunction(!0),setContentGlueElementCSSfunction(!1),_isTextarea&&_textareaCoverElement.css(textareaCoverCSS),_contentGlueElement.css(contentGlueElementCSS)}widthAuto&&(contentElementCSS.width="100%"),!widthAuto||_isBorderBox||_mutationObserversConnected||(contentElementCSS.float="none"),_contentElement.css(contentElementCSS),contentElementCSS={};var contentScrollSize={w:contentMeasureElement[LEXICON.sW],h:contentMeasureElement[LEXICON.sH]};contentScrollSize.c=contentSizeChanged=checkCacheAutoForce(contentScrollSize,_contentScrollSizeCache),_contentScrollSizeCache=contentScrollSize,_viewportSize=getViewportSize(),hostSizeChanged=checkCacheAutoForce(hostSize=getHostSize(),_hostSizeCache),_hostSizeCache=hostSize;var hideOverflowForceTextarea=_isTextarea&&(0===_viewportSize.w||0===_viewportSize.h),previousOverflowAmount=_overflowAmountCache,overflowBehaviorIsVS={},overflowBehaviorIsVH={},overflowBehaviorIsS={},overflowAmount={},hasOverflow={},hideOverflow={},canScroll={},viewportRect=_paddingElementNative[LEXICON.bCR](),setOverflowVariables=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),xyI=getScrollbarVars(!horizontal)._x_y,xy=scrollbarVars._x_y,wh=scrollbarVars._w_h,widthHeight=scrollbarVars._width_height,scrollMax="scroll"+scrollbarVars._Left_Top+"Max",fractionalOverflowAmount=viewportRect[widthHeight]?MATH.abs(viewportRect[widthHeight]-_viewportSize[wh]):0,checkFractionalOverflowAmount=previousOverflowAmount&&previousOverflowAmount[xy]>0&&0===_viewportElementNative[scrollMax];overflowBehaviorIsVS[xy]="v-s"===overflowBehavior[xy],overflowBehaviorIsVH[xy]="v-h"===overflowBehavior[xy],overflowBehaviorIsS[xy]="s"===overflowBehavior[xy],overflowAmount[xy]=MATH.max(0,MATH.round(100*(contentScrollSize[wh]-_viewportSize[wh]))/100),overflowAmount[xy]*=hideOverflowForceTextarea||checkFractionalOverflowAmount&&fractionalOverflowAmount>0&&fractionalOverflowAmount<1?0:1,hasOverflow[xy]=overflowAmount[xy]>0,hideOverflow[xy]=overflowBehaviorIsVS[xy]||overflowBehaviorIsVH[xy]?hasOverflow[xyI]&&!overflowBehaviorIsVS[xyI]&&!overflowBehaviorIsVH[xyI]:hasOverflow[xy],hideOverflow[xy+"s"]=!!hideOverflow[xy]&&(overflowBehaviorIsS[xy]||overflowBehaviorIsVS[xy]),canScroll[xy]=hasOverflow[xy]&&hideOverflow[xy+"s"]};if(setOverflowVariables(!0),setOverflowVariables(!1),overflowAmount.c=checkCacheAutoForce(overflowAmount,_overflowAmountCache),_overflowAmountCache=overflowAmount,hasOverflow.c=checkCacheAutoForce(hasOverflow,_hasOverflowCache),_hasOverflowCache=hasOverflow,hideOverflow.c=checkCacheAutoForce(hideOverflow,_hideOverflowCache),_hideOverflowCache=hideOverflow,_nativeScrollbarIsOverlaid.x||_nativeScrollbarIsOverlaid.y){var setContentElementCSS,contentArrangeElementCSS={},arrangeContent={},arrangeChanged=force;(hasOverflow.x||hasOverflow.y)&&(arrangeContent.w=_nativeScrollbarIsOverlaid.y&&hasOverflow.y?contentScrollSize.w+_overlayScrollbarDummySize.y:"",arrangeContent.h=_nativeScrollbarIsOverlaid.x&&hasOverflow.x?contentScrollSize.h+_overlayScrollbarDummySize.x:"",arrangeChanged=checkCacheAutoForce(arrangeContent,_arrangeContentSizeCache),_arrangeContentSizeCache=arrangeContent),(hasOverflow.c||hideOverflow.c||contentScrollSize.c||cssDirectionChanged||widthAutoChanged||heightAutoChanged||widthAuto||heightAuto||ignoreOverlayScrollbarHidingChanged)&&(contentElementCSS["margin-"+isRTLRight]=contentElementCSS["border-"+isRTLRight]="",setContentElementCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,strDirection=horizontal?"bottom":isRTLLeft,invertedAutoSize=horizontal?heightAuto:widthAuto;_nativeScrollbarIsOverlaid[xy]&&hasOverflow[xy]&&hideOverflow[xy+"s"]?(contentElementCSS["margin-"+strDirection]=invertedAutoSize?ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]:"",contentElementCSS["border-"+strDirection]=horizontal&&invertedAutoSize||ignoreOverlayScrollbarHiding?"":_overlayScrollbarDummySize[xy]+"px solid transparent"):(arrangeContent[scrollbarVarsInverted._w_h]=contentElementCSS["margin-"+strDirection]=contentElementCSS["border-"+strDirection]="",arrangeChanged=!0)},_nativeScrollbarStyling?addRemoveClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible,!ignoreOverlayScrollbarHiding):(setContentElementCSS(!0),setContentElementCSS(!1))),ignoreOverlayScrollbarHiding&&(arrangeContent.w=arrangeContent.h="",arrangeChanged=!0),arrangeChanged&&!_nativeScrollbarStyling&&(contentArrangeElementCSS.width=hideOverflow.y?arrangeContent.w:"",contentArrangeElementCSS.height=hideOverflow.x?arrangeContent.h:"",_contentArrangeElement||(_contentArrangeElement=FRAMEWORK(generateDiv("os-content-arrange")),_viewportElement.prepend(_contentArrangeElement)),_contentArrangeElement.css(contentArrangeElementCSS)),_contentElement.css(contentElementCSS)}var setViewportCSS,viewportElementCSS={};if(paddingElementCSS={},(hostSizeChanged||hasOverflow.c||hideOverflow.c||contentScrollSize.c||overflowBehaviorChanged||boxSizingChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged||clipAlwaysChanged||heightAutoChanged)&&(viewportElementCSS[isRTLRight]="",(setViewportCSS=function(horizontal){var scrollbarVars=getScrollbarVars(horizontal),scrollbarVarsInverted=getScrollbarVars(!horizontal),xy=scrollbarVars._x_y,XY=scrollbarVars._X_Y,strDirection=horizontal?"bottom":isRTLLeft,reset=function(){viewportElementCSS[strDirection]="",_contentBorderSize[scrollbarVarsInverted._w_h]=0};hasOverflow[xy]&&hideOverflow[xy+"s"]?(viewportElementCSS["overflow"+XY]="scroll",ignoreOverlayScrollbarHiding||_nativeScrollbarStyling?reset():(viewportElementCSS[strDirection]=-(_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[xy]:_nativeScrollbarSize[xy]),_contentBorderSize[scrollbarVarsInverted._w_h]=_nativeScrollbarIsOverlaid[xy]?_overlayScrollbarDummySize[scrollbarVarsInverted._x_y]:0)):(viewportElementCSS["overflow"+XY]="",reset())})(!0),setViewportCSS(!1),!_nativeScrollbarStyling&&(_viewportSize.h<_nativeScrollbarMinSize.x||_viewportSize.w<_nativeScrollbarMinSize.y)&&(hasOverflow.x&&hideOverflow.x&&!_nativeScrollbarIsOverlaid.x||hasOverflow.y&&hideOverflow.y&&!_nativeScrollbarIsOverlaid.y)?(viewportElementCSS["padding-top"]=_nativeScrollbarMinSize.x,viewportElementCSS["margin-top"]=-_nativeScrollbarMinSize.x,viewportElementCSS["padding-"+isRTLRight]=_nativeScrollbarMinSize.y,viewportElementCSS["margin-"+isRTLRight]=-_nativeScrollbarMinSize.y):viewportElementCSS["padding-top"]=viewportElementCSS["margin-top"]=viewportElementCSS["padding-"+isRTLRight]=viewportElementCSS["margin-"+isRTLRight]="",viewportElementCSS["padding-"+isRTLLeft]=viewportElementCSS["margin-"+isRTLLeft]="",hasOverflow.x&&hideOverflow.x||hasOverflow.y&&hideOverflow.y||hideOverflowForceTextarea?_isTextarea&&hideOverflowForceTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]="hidden"):(!clipAlways||overflowBehaviorIsVH.x||overflowBehaviorIsVS.x||overflowBehaviorIsVH.y||overflowBehaviorIsVS.y)&&(_isTextarea&&(paddingElementCSS["overflow-x"]=paddingElementCSS["overflow-y"]=""),viewportElementCSS["overflow-x"]=viewportElementCSS["overflow-y"]="visible"),_paddingElement.css(paddingElementCSS),_viewportElement.css(viewportElementCSS),viewportElementCSS={},(hasOverflow.c||boxSizingChanged||widthAutoChanged||heightAutoChanged)&&(!_nativeScrollbarIsOverlaid.x||!_nativeScrollbarIsOverlaid.y))){var elementStyle=_contentElementNative[LEXICON.s];elementStyle.webkitTransform="scale(1)",elementStyle.display="run-in",_contentElementNative[LEXICON.oH],elementStyle.display="",elementStyle.webkitTransform=""}if(contentElementCSS={},cssDirectionChanged||widthAutoChanged||heightAutoChanged)if(_isRTL&&widthAuto){var floatTmp=_contentElement.css("float"),posLeftWithoutFloat=MATH.round(_contentElement.css("float","").css("left","").position().left);_contentElement.css("float",floatTmp),posLeftWithoutFloat!==MATH.round(_contentElement.position().left)&&(contentElementCSS.left=posLeftWithoutFloat)}else contentElementCSS.left="";if(_contentElement.css(contentElementCSS),_isTextarea&&contentSizeChanged){var textareaInfo=function getTextareaInfo(){var textareaCursorPosition=_targetElementNative.selectionStart;if(textareaCursorPosition!==undefined){var rowCols,i,textareaValue=_targetElement.val(),textareaLength=textareaValue[LEXICON.l],textareaRowSplit=textareaValue.split("\n"),textareaLastRow=textareaRowSplit[LEXICON.l],textareaCurrentCursorRowSplit=textareaValue.substr(0,textareaCursorPosition).split("\n"),widestRow=0,textareaLastCol=0,cursorRow=textareaCurrentCursorRowSplit[LEXICON.l],cursorCol=textareaCurrentCursorRowSplit[textareaCurrentCursorRowSplit[LEXICON.l]-1][LEXICON.l];for(i=0;itextareaLastCol&&(widestRow=i+1,textareaLastCol=rowCols);return{_cursorRow:cursorRow,_cursorColumn:cursorCol,_rows:textareaLastRow,_columns:textareaLastCol,_widestRow:widestRow,_cursorPosition:textareaCursorPosition,_cursorMax:textareaLength}}}();if(textareaInfo){var textareaRowsChanged=_textareaInfoCache===undefined||textareaInfo._rows!==_textareaInfoCache._rows,cursorRow=textareaInfo._cursorRow,cursorCol=textareaInfo._cursorColumn,widestRow=textareaInfo._widestRow,lastRow=textareaInfo._rows,lastCol=textareaInfo._columns,cursorIsLastPosition=textareaInfo._cursorPosition>=textareaInfo._cursorMax&&_textareaHasFocus,textareaScrollAmount={x:textareaAutoWrapping||cursorCol!==lastCol||cursorRow!==widestRow?-1:_overflowAmountCache.x,y:(textareaAutoWrapping?cursorIsLastPosition||textareaRowsChanged&&previousOverflowAmount&&currScroll.y===previousOverflowAmount.y:(cursorIsLastPosition||textareaRowsChanged)&&cursorRow===lastRow)?_overflowAmountCache.y:-1};currScroll.x=textareaScrollAmount.x>-1?_isRTL&&_normalizeRTLCache&&_rtlScrollBehavior.i?0:textareaScrollAmount.x:currScroll.x,currScroll.y=textareaScrollAmount.y>-1?textareaScrollAmount.y:currScroll.y}_textareaInfoCache=textareaInfo}_isRTL&&_rtlScrollBehavior.i&&_nativeScrollbarIsOverlaid.y&&hasOverflow.x&&_normalizeRTLCache&&(currScroll.x+=_contentBorderSize.w||0),widthAuto&&_hostElement.scrollLeft(0),heightAuto&&_hostElement.scrollTop(0),_viewportElement.scrollLeft(currScroll.x).scrollTop(currScroll.y);var scrollbarsVisibilityVisible="v"===scrollbarsVisibility,scrollbarsVisibilityHidden="h"===scrollbarsVisibility,scrollbarsVisibilityAuto="a"===scrollbarsVisibility,refreshScrollbarsVisibility=function(showX,showY){showY=showY===undefined?showX:showY,refreshScrollbarAppearance(!0,showX,canScroll.x),refreshScrollbarAppearance(!1,showY,canScroll.y)};addRemoveClass(_hostElement,_classNameHostOverflow,hideOverflow.x||hideOverflow.y),addRemoveClass(_hostElement,_classNameHostOverflowX,hideOverflow.x),addRemoveClass(_hostElement,_classNameHostOverflowY,hideOverflow.y),cssDirectionChanged&&!_isBody&&addRemoveClass(_hostElement,_classNameHostRTL,_isRTL),_isBody&&addClass(_hostElement,_classNameHostResizeDisabled),resizeChanged&&(addRemoveClass(_hostElement,_classNameHostResizeDisabled,_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResize,!_resizeNone),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeB,_resizeBoth),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeH,_resizeHorizontal),addRemoveClass(_scrollbarCornerElement,_classNameScrollbarCornerResizeV,_resizeVertical)),(scrollbarsVisibilityChanged||overflowBehaviorChanged||hideOverflow.c||hasOverflow.c||ignoreOverlayScrollbarHidingChanged)&&(ignoreOverlayScrollbarHiding?ignoreOverlayScrollbarHidingChanged&&(removeClass(_hostElement,_classNameHostScrolling),ignoreOverlayScrollbarHiding&&refreshScrollbarsVisibility(!1)):scrollbarsVisibilityAuto?refreshScrollbarsVisibility(canScroll.x,canScroll.y):scrollbarsVisibilityVisible?refreshScrollbarsVisibility(!0):scrollbarsVisibilityHidden&&refreshScrollbarsVisibility(!1)),(scrollbarsAutoHideChanged||ignoreOverlayScrollbarHidingChanged)&&(setupHostMouseTouchEvents(!_scrollbarsAutoHideLeave&&!_scrollbarsAutoHideMove),refreshScrollbarsAutoHide(_scrollbarsAutoHideNever,!_scrollbarsAutoHideNever)),(hostSizeChanged||overflowAmount.c||heightAutoChanged||widthAutoChanged||resizeChanged||boxSizingChanged||paddingAbsoluteChanged||ignoreOverlayScrollbarHidingChanged||cssDirectionChanged)&&(refreshScrollbarHandleLength(!0),refreshScrollbarHandleOffset(!0),refreshScrollbarHandleLength(!1),refreshScrollbarHandleOffset(!1)),scrollbarsClickScrollingChanged&&refreshScrollbarsInteractive(!0,scrollbarsClickScrolling),scrollbarsDragScrollingChanged&&refreshScrollbarsInteractive(!1,scrollbarsDragScrolling),dispatchCallback("onDirectionChanged",{isRTL:_isRTL,dir:cssDirection},cssDirectionChanged),dispatchCallback("onHostSizeChanged",{width:_hostSizeCache.w,height:_hostSizeCache.h},hostSizeChanged),dispatchCallback("onContentSizeChanged",{width:_contentScrollSizeCache.w,height:_contentScrollSizeCache.h},contentSizeChanged),dispatchCallback("onOverflowChanged",{x:hasOverflow.x,y:hasOverflow.y,xScrollable:hideOverflow.xs,yScrollable:hideOverflow.ys,clipped:hideOverflow.x||hideOverflow.y},hasOverflow.c||hideOverflow.c),dispatchCallback("onOverflowAmountChanged",{x:overflowAmount.x,y:overflowAmount.y},overflowAmount.c)}_isBody&&_bodyMinSizeCache&&(_hasOverflowCache.c||_bodyMinSizeCache.c)&&(_bodyMinSizeCache.f||bodyMinSizeChanged(),_nativeScrollbarIsOverlaid.y&&_hasOverflowCache.x&&_contentElement.css("min-width",_bodyMinSizeCache.w+_overlayScrollbarDummySize.y),_nativeScrollbarIsOverlaid.x&&_hasOverflowCache.y&&_contentElement.css("min-height",_bodyMinSizeCache.h+_overlayScrollbarDummySize.x),_bodyMinSizeCache.c=!1),_initialized&&changedOptions.updateOnLoad&&updateElementsOnLoad(),dispatchCallback("onUpdated",{forced:force})}}function updateElementsOnLoad(){_isTextarea||eachUpdateOnLoad((function(i,updateOnLoadSelector){_contentElement.find(updateOnLoadSelector).each((function(i,el){COMPATIBILITY.inA(el,_updateOnLoadElms)<0&&(_updateOnLoadElms.push(el),FRAMEWORK(el).off("load",updateOnLoadCallback).on("load",updateOnLoadCallback))}))}))}function setOptions(newOptions){var validatedOpts=_pluginsOptions._validate(newOptions,_pluginsOptions._template,!0,_currentOptions);return _currentOptions=extendDeep({},_currentOptions,validatedOpts._default),_currentPreparedOptions=extendDeep({},_currentPreparedOptions,validatedOpts._prepared),validatedOpts._prepared}function setupStructureDOM(destroy){var classNameTextareaElementFull=_classNameTextareaElement+" "+_classNameTextInherit,textareaClass=_isTextarea?" "+_classNameTextInherit:"",adoptAttrs=_currentPreparedOptions.textarea.inheritedAttrs,adoptAttrsMap={},applyAdoptedAttrs=function(){var applyAdoptedAttrsElm=destroy?_targetElement:_hostElement;each(adoptAttrsMap,(function(key,value){type(value)==TYPES_s&&(key==LEXICON.c?applyAdoptedAttrsElm.addClass(value):applyAdoptedAttrsElm.attr(key,value))}))},hostElementClassNames=[_classNameHostElement,_classNameHostElementForeign,_classNameHostTextareaElement,_classNameHostResizeDisabled,_classNameHostRTL,_classNameHostScrollbarHorizontalHidden,_classNameHostScrollbarVerticalHidden,_classNameHostTransition,_classNameHostScrolling,_classNameHostOverflow,_classNameHostOverflowX,_classNameHostOverflowY,_classNameThemeNone,_classNameTextareaElement,_classNameTextInherit,_classNameCache].join(" "),hostElementCSS={};_hostElement=_hostElement||(_isTextarea?_domExists?_targetElement.parent().parent().parent().parent():FRAMEWORK(generateDiv(_classNameHostTextareaElement)):_targetElement),_contentElement=_contentElement||selectOrGenerateDivByClass("os-content"+textareaClass),_viewportElement=_viewportElement||selectOrGenerateDivByClass("os-viewport"+textareaClass),_paddingElement=_paddingElement||selectOrGenerateDivByClass("os-padding"+textareaClass),_sizeObserverElement=_sizeObserverElement||selectOrGenerateDivByClass("os-resize-observer-host"),_textareaCoverElement=_textareaCoverElement||(_isTextarea?selectOrGenerateDivByClass(_classNameTextareaCoverElement):undefined),_domExists&&addClass(_hostElement,_classNameHostElementForeign),destroy&&removeClass(_hostElement,hostElementClassNames),adoptAttrs=type(adoptAttrs)==TYPES_s?adoptAttrs.split(" "):adoptAttrs,COMPATIBILITY.isA(adoptAttrs)&&_isTextarea&&each(adoptAttrs,(function(i,v){type(v)==TYPES_s&&(adoptAttrsMap[v]=destroy?_hostElement.attr(v):_targetElement.attr(v))})),destroy?(_domExists&&_initialized?(_sizeObserverElement.children().remove(),each([_paddingElement,_viewportElement,_contentElement,_textareaCoverElement],(function(i,elm){elm&&removeClass(elm.removeAttr(LEXICON.s),_classNamesDynamicDestroy)})),addClass(_hostElement,_isTextarea?_classNameHostTextareaElement:_classNameHostElement)):(remove(_sizeObserverElement),_contentElement.contents().unwrap().unwrap().unwrap(),_isTextarea&&(_targetElement.unwrap(),remove(_hostElement),remove(_textareaCoverElement),applyAdoptedAttrs())),_isTextarea&&_targetElement.removeAttr(LEXICON.s),_isBody&&removeClass(_htmlElement,"os-html")):(_isTextarea&&(_currentPreparedOptions.sizeAutoCapable||(hostElementCSS.width=_targetElement.css("width"),hostElementCSS.height=_targetElement.css("height")),_domExists||_targetElement.addClass(_classNameTextInherit).wrap(_hostElement),_hostElement=_targetElement.parent().css(hostElementCSS)),_domExists||(addClass(_targetElement,_isTextarea?classNameTextareaElementFull:_classNameHostElement),_hostElement.wrapInner(_contentElement).wrapInner(_viewportElement).wrapInner(_paddingElement).prepend(_sizeObserverElement),_contentElement=findFirst(_hostElement,".os-content"),_viewportElement=findFirst(_hostElement,".os-viewport"),_paddingElement=findFirst(_hostElement,".os-padding"),_isTextarea&&(_contentElement.prepend(_textareaCoverElement),applyAdoptedAttrs())),_nativeScrollbarStyling&&addClass(_viewportElement,_classNameViewportNativeScrollbarsInvisible),_nativeScrollbarIsOverlaid.x&&_nativeScrollbarIsOverlaid.y&&addClass(_viewportElement,_classNameViewportNativeScrollbarsOverlaid),_isBody&&addClass(_htmlElement,"os-html"),_sizeObserverElementNative=_sizeObserverElement[0],_hostElementNative=_hostElement[0],_paddingElementNative=_paddingElement[0],_viewportElementNative=_viewportElement[0],_contentElementNative=_contentElement[0],updateViewportAttrsFromTarget())}function setupStructureEvents(){var textareaUpdateIntervalID,scrollStopTimeoutId,textareaKeyDownRestrictedKeyCodes=[112,113,114,115,116,117,118,119,120,121,123,33,34,37,38,39,40,16,17,18,19,20,144],textareaKeyDownKeyCodesList=[];function updateTextarea(doClearInterval){textareaUpdate(),_base.update("auto"),doClearInterval&&_autoUpdateRecommended&&clearInterval(textareaUpdateIntervalID)}_isTextarea?(_msieVersion>9||!_autoUpdateRecommended?addDestroyEventListener(_targetElement,"input",updateTextarea):addDestroyEventListener(_targetElement,["keydown","keyup"],[function textareaOnKeyDown(event){var keyCode=event.keyCode;inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(textareaKeyDownKeyCodesList[LEXICON.l]||(updateTextarea(),textareaUpdateIntervalID=setInterval(updateTextarea,1e3/60)),inArray(keyCode,textareaKeyDownKeyCodesList)<0&&textareaKeyDownKeyCodesList.push(keyCode))},function textareaOnKeyUp(event){var keyCode=event.keyCode,index=inArray(keyCode,textareaKeyDownKeyCodesList);inArray(keyCode,textareaKeyDownRestrictedKeyCodes)<0&&(index>-1&&textareaKeyDownKeyCodesList.splice(index,1),textareaKeyDownKeyCodesList[LEXICON.l]||updateTextarea(!0))}]),addDestroyEventListener(_targetElement,["scroll","drop","focus","focusout"],[function textareaOnScroll(event){return _targetElement.scrollLeft(_rtlScrollBehavior.i&&_normalizeRTLCache?9999999:0),_targetElement.scrollTop(0),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event),!1},function textareaOnDrop(event){setTimeout((function(){_destroyed||updateTextarea()}),50)},function textareaOnFocus(){_textareaHasFocus=!0,addClass(_hostElement,"focus")},function textareaOnFocusout(){_textareaHasFocus=!1,textareaKeyDownKeyCodesList=[],removeClass(_hostElement,"focus"),updateTextarea(!0)}])):addDestroyEventListener(_contentElement,_strTransitionEndEvent,(function contentOnTransitionEnd(event){!0!==_autoUpdateCache&&function isSizeAffectingCSSProperty(propertyName){if(!_initialized)return!0;var affectingPropsX=["width","min-width","max-width","margin-left","margin-right","left","right","font-weight","word-spacing","flex-grow","flex-shrink","flex-basis"],affectingPropsXContentBox=["padding-left","padding-right","border-leftwidth","border-rightwidth"],affectingPropsY=["height","min-height","max-height","margin-top","margin-bottom","top","bottom","line-height","flex-grow","flex-shrink","flex-basis"],affectingPropsYContentBox=["padding-top","padding-bottom","border-topwidth","border-bottomwidth"],checkX="s"===_overflowBehaviorCache.x||"v-s"===_overflowBehaviorCache.x,sizeIsAffected=!1,checkPropertyName=function(arr,name){for(var i=0;i-1&&increaseTrackScrollAmount()}function documentKeyUp(event){inArray(event.keyCode,increaseDecreaseScrollAmountKeyCodes)>-1&&decreaseTrackScrollAmount()}function onMouseTouchDownContinue(event){var isTouchEvent=(event.originalEvent||event).touches!==undefined;return!(_sleeping||_destroyed||nativeOverlayScrollbarsAreActive()||!_scrollbarsDragScrollingCache||isTouchEvent&&!getPreparedScrollbarsOption("touchSupport"))&&(1===COMPATIBILITY.mBtn(event)||isTouchEvent)}function documentDragMove(event){if(onMouseTouchDownContinue(event)){var trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollDelta=scrollbarVarsInfo._maxScroll*((getPointerPosition(event)-mouseDownOffset)*mouseDownInvertedScale/(trackLength-handleLength));scrollDelta=isFinite(scrollDelta)?scrollDelta:0,_isRTL&&isHorizontal&&!_rtlScrollBehavior.i&&(scrollDelta*=-1),_viewportElement[scroll](MATH.round(mouseDownScroll+scrollDelta)),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,mouseDownScroll+scrollDelta),_supportPassiveEvents||COMPATIBILITY.prvD(event)}else documentMouseTouchUp(event)}function documentMouseTouchUp(event){if(event=event||event.originalEvent,setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentDragMove,documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart],!0),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!0,{_capture:!0})})),_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,!0),_scrollbarsHandlesDefineScrollPos=!1,removeClass(_bodyElement,_classNameDragging),removeClass(scrollbarVars._handle,"active"),removeClass(scrollbarVars._track,"active"),removeClass(scrollbarVars._scrollbar,"active"),mouseDownScroll=undefined,mouseDownOffset=undefined,mouseDownInvertedScale=1,decreaseTrackScrollAmount(),trackTimeout!==undefined&&(_base.scrollStop(),clearTimeout(trackTimeout),trackTimeout=undefined),event){var rect=_hostElementNative[LEXICON.bCR]();event.clientX>=rect.left&&event.clientX<=rect.right&&event.clientY>=rect.top&&event.clientY<=rect.bottom||hostOnMouseLeave(),(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}}function onHandleMouseTouchDownAction(event){mouseDownScroll=_viewportElement[scroll](),mouseDownScroll=isNaN(mouseDownScroll)?0:mouseDownScroll,(_isRTL&&isHorizontal&&!_rtlScrollBehavior.n||!_isRTL)&&(mouseDownScroll=mouseDownScroll<0?0:mouseDownScroll),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=getPointerPosition(event),_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._handle,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mousemove touchmove","mouseup touchend touchcancel","selectstart"],[documentDragMove,documentMouseTouchUp,documentOnSelectStart]),COMPATIBILITY.rAF()((function(){setupResponsiveEventListener(_documentElement,"click",stopClickEventPropagation,!1,{_capture:!0})})),!_msieVersion&&_documentMixed||COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}addDestroyEventListener(scrollbarVars._handle,"mousedown touchstart",(function onHandleMouseTouchDown(event){onMouseTouchDownContinue(event)&&onHandleMouseTouchDownAction(event)})),addDestroyEventListener(scrollbarVars._track,["mousedown touchstart","mouseenter","mouseleave"],[function onTrackMouseTouchDown(event){if(onMouseTouchDownContinue(event)){var decreaseScroll,handleToViewportRatio=scrollbarVars._info._handleLength/Math.round(MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h])*scrollbarVars._info._trackLength),scrollDistance=MATH.round(_viewportSize[scrollbarVars._w_h]*handleToViewportRatio),scrollBaseDuration=270*handleToViewportRatio,scrollFirstIterationDelay=400*handleToViewportRatio,trackOffset=scrollbarVars._track.offset()[scrollbarVars._left_top],ctrlKey=event.ctrlKey,instantScroll=event.shiftKey,instantScrollTransition=instantScroll&&ctrlKey,isFirstIteration=!0,scrollActionFinsished=function(transition){_scrollbarsHandlesDefineScrollPos&&refreshScrollbarHandleOffset(isHorizontal,transition)},scrollActionInstantFinished=function(){scrollActionFinsished(),onHandleMouseTouchDownAction(event)},scrollAction=function(){if(!_destroyed){var mouseOffset=(mouseDownOffset-trackOffset)*mouseDownInvertedScale,handleOffset=scrollbarVarsInfo._handleOffset,trackLength=scrollbarVarsInfo._trackLength,handleLength=scrollbarVarsInfo._handleLength,scrollRange=scrollbarVarsInfo._maxScroll,currScroll=scrollbarVarsInfo._currentScroll,scrollDuration=scrollBaseDuration*scrollDurationFactor,timeoutDelay=isFirstIteration?MATH.max(scrollFirstIterationDelay,scrollDuration):scrollDuration,instantScrollPosition=scrollRange*((mouseOffset-handleLength/2)/(trackLength-handleLength)),rtlIsNormal=_isRTL&&isHorizontal&&(!_rtlScrollBehavior.i&&!_rtlScrollBehavior.n||_normalizeRTLCache),decreaseScrollCondition=rtlIsNormal?handleOffsetmouseOffset,scrollObj={},animationObj={easing:"linear",step:function(now){_scrollbarsHandlesDefineScrollPos&&(_viewportElement[scroll](now),refreshScrollbarHandleOffset(isHorizontal,now))}};instantScrollPosition=isFinite(instantScrollPosition)?instantScrollPosition:0,instantScrollPosition=_isRTL&&isHorizontal&&!_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScroll?(_viewportElement[scroll](instantScrollPosition),instantScrollTransition?(instantScrollPosition=_viewportElement[scroll](),_viewportElement[scroll](currScroll),instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.i?scrollRange-instantScrollPosition:instantScrollPosition,instantScrollPosition=rtlIsNormal&&_rtlScrollBehavior.n?-instantScrollPosition:instantScrollPosition,scrollObj[xy]=instantScrollPosition,_base.scroll(scrollObj,extendDeep(animationObj,{duration:130,complete:scrollActionInstantFinished}))):scrollActionInstantFinished()):(decreaseScroll=isFirstIteration?decreaseScrollCondition:decreaseScroll,(rtlIsNormal?decreaseScroll?handleOffset+handleLength>=mouseOffset:handleOffset<=mouseOffset:decreaseScroll?handleOffset<=mouseOffset:handleOffset+handleLength>=mouseOffset)?(clearTimeout(trackTimeout),_base.scrollStop(),trackTimeout=undefined,scrollActionFinsished(!0)):(trackTimeout=setTimeout(scrollAction,timeoutDelay),scrollObj[xy]=(decreaseScroll?"-=":"+=")+scrollDistance,_base.scroll(scrollObj,extendDeep(animationObj,{duration:scrollDuration}))),isFirstIteration=!1)}};ctrlKey&&increaseTrackScrollAmount(),mouseDownInvertedScale=getHostElementInvertedScale()[xy],mouseDownOffset=COMPATIBILITY.page(event)[xy],_scrollbarsHandlesDefineScrollPos=!getPreparedScrollbarsOption("snapHandle"),addClass(_bodyElement,_classNameDragging),addClass(scrollbarVars._track,"active"),addClass(scrollbarVars._scrollbar,"active"),setupResponsiveEventListener(_documentElement,["mouseup touchend touchcancel","keydown","keyup","selectstart"],[documentMouseTouchUp,documentKeyDown,documentKeyUp,documentOnSelectStart]),scrollAction(),COMPATIBILITY.prvD(event),COMPATIBILITY.stpP(event)}},function onTrackMouseTouchEnter(event){_scrollbarsHandleHovered=!0,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!0)},function onTrackMouseTouchLeave(event){_scrollbarsHandleHovered=!1,(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove)&&refreshScrollbarsAutoHide(!1)}]),addDestroyEventListener(scrollbarVars._scrollbar,"mousedown touchstart",(function onScrollbarMouseTouchDown(event){COMPATIBILITY.stpP(event)})),_supportTransition&&addDestroyEventListener(scrollbarVars._scrollbar,_strTransitionEndEvent,(function(event){event.target===scrollbarVars._scrollbar[0]&&(refreshScrollbarHandleLength(isHorizontal),refreshScrollbarHandleOffset(isHorizontal))}))}function refreshScrollbarAppearance(isHorizontal,shallBeVisible,canScroll){var scrollbarElement=isHorizontal?_scrollbarHorizontalElement:_scrollbarVerticalElement;addRemoveClass(_hostElement,isHorizontal?_classNameHostScrollbarHorizontalHidden:_classNameHostScrollbarVerticalHidden,!shallBeVisible),addRemoveClass(scrollbarElement,_classNameScrollbarUnusable,!canScroll)}function refreshScrollbarsAutoHide(shallBeVisible,delayfree){if(clearTimeout(_scrollbarsAutoHideTimeoutId),shallBeVisible)removeClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),removeClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden);else{var anyActive,hide=function(){_scrollbarsHandleHovered||_destroyed||(!(anyActive=_scrollbarHorizontalHandleElement.hasClass("active")||_scrollbarVerticalHandleElement.hasClass("active"))&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarHorizontalElement,_classNameScrollbarAutoHidden),!anyActive&&(_scrollbarsAutoHideScroll||_scrollbarsAutoHideMove||_scrollbarsAutoHideLeave)&&addClass(_scrollbarVerticalElement,_classNameScrollbarAutoHidden))};_scrollbarsAutoHideDelay>0&&!0!==delayfree?_scrollbarsAutoHideTimeoutId=setTimeout(hide,_scrollbarsAutoHideDelay):hide()}}function refreshScrollbarHandleLength(isHorizontal){var handleCSS={},scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,handleRatio=MATH.min(1,_viewportSize[scrollbarVars._w_h]/_contentScrollSizeCache[scrollbarVars._w_h]);handleCSS[scrollbarVars._width_height]=MATH.floor(100*handleRatio*1e6)/1e6+"%",nativeOverlayScrollbarsAreActive()||scrollbarVars._handle.css(handleCSS),scrollbarVarsInfo._handleLength=scrollbarVars._handle[0]["offset"+scrollbarVars._Width_Height],scrollbarVarsInfo._handleLengthRatio=handleRatio}function refreshScrollbarHandleOffset(isHorizontal,scrollOrTransition){var transformOffset,translateValue,transition=type(scrollOrTransition)==TYPES_b,isRTLisHorizontal=_isRTL&&isHorizontal,scrollbarVars=getScrollbarVars(isHorizontal),scrollbarVarsInfo=scrollbarVars._info,strTransform=VENDORS._cssProperty("transform"),strTransition=VENDORS._cssProperty("transition"),nativeScroll=isHorizontal?_viewportElement.scrollLeft():_viewportElement.scrollTop(),currentScroll=scrollOrTransition===undefined||transition?nativeScroll:scrollOrTransition,handleLength=scrollbarVarsInfo._handleLength,trackLength=scrollbarVars._track[0]["offset"+scrollbarVars._Width_Height],handleTrackDiff=trackLength-handleLength,handleCSS={},maxScroll=(_viewportElementNative["scroll"+scrollbarVars._Width_Height]-_viewportElementNative["client"+scrollbarVars._Width_Height])*(_rtlScrollBehavior.n&&isRTLisHorizontal?-1:1),getScrollRatio=function(base){return isNaN(base/maxScroll)?0:MATH.max(0,MATH.min(1,base/maxScroll))},getHandleOffset=function(scrollRatio){var offset=handleTrackDiff*scrollRatio;return offset=isNaN(offset)?0:offset,offset=isRTLisHorizontal&&!_rtlScrollBehavior.i?trackLength-handleLength-offset:offset,offset=MATH.max(0,offset)},scrollRatio=getScrollRatio(nativeScroll),handleOffset=getHandleOffset(getScrollRatio(currentScroll)),snappedHandleOffset=getHandleOffset(scrollRatio);scrollbarVarsInfo._maxScroll=maxScroll,scrollbarVarsInfo._currentScroll=nativeScroll,scrollbarVarsInfo._currentScrollRatio=scrollRatio,_supportTransform?(transformOffset=isRTLisHorizontal?-(trackLength-handleLength-handleOffset):handleOffset,translateValue=isHorizontal?"translate("+transformOffset+"px, 0)":"translate(0, "+transformOffset+"px)",handleCSS[strTransform]=translateValue,_supportTransition&&(handleCSS[strTransition]=transition&&MATH.abs(handleOffset-scrollbarVarsInfo._handleOffset)>1?function getCSSTransitionString(element){var transitionStr=VENDORS._cssProperty("transition"),assembledValue=element.css(transitionStr);if(assembledValue)return assembledValue;for(var strResult,valueArray,j,regExpMain=new RegExp("\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*"),regExpValidate=new RegExp("^(\\s*(([^,(]+(\\(.+?\\))?)+)[\\s,]*)+$"),properties="property duration timing-function delay".split(" "),result=[],i=0,splitCssStyleByComma=function(str){if(strResult=[],!str.match(regExpValidate))return str;for(;str.match(regExpMain);)strResult.push(RegExp.$1),str=str.replace(regExpMain,"");return strResult};i"+(content||"")+""}function selectOrGenerateDivByClass(className,selectParentOrOnlyChildren){var onlyChildren=type(selectParentOrOnlyChildren)==TYPES_b,selectParent=onlyChildren?_hostElement:selectParentOrOnlyChildren||_hostElement;return _domExists&&!selectParent[LEXICON.l]?null:_domExists?selectParent[onlyChildren?"children":"find"]("."+className.replace(/\s/g,".")).eq(0):FRAMEWORK(generateDiv(className))}function getObjectPropVal(obj,path){for(var val,splits=path.split("."),i=0;i0&&(optsIsPlainObj?FRAMEWORK.each(pluginTargetElements,(function(i,v){(inst=v)!==undefined&&arr.push(OverlayScrollbarsInstance(inst,options,extensions,_pluginsGlobals,_pluginsAutoUpdateLoop))})):FRAMEWORK.each(pluginTargetElements,(function(i,v){inst=INSTANCES(v),("!"===options&&_plugin.valid(inst)||COMPATIBILITY.type(options)==TYPES_f&&options(v,inst)||options===undefined)&&arr.push(inst)})),result=1===arr[LEXICON.l]?arr[0]:arr),result):optsIsPlainObj||!options?result:arr}).globals=function(){initOverlayScrollbarsStatics();var globals=FRAMEWORK.extend(!0,{},_pluginsGlobals);return delete globals.msie,globals},_plugin.defaultOptions=function(newDefaultOptions){initOverlayScrollbarsStatics();var currDefaultOptions=_pluginsGlobals.defaultOptions;if(newDefaultOptions===undefined)return FRAMEWORK.extend(!0,{},currDefaultOptions);_pluginsGlobals.defaultOptions=FRAMEWORK.extend(!0,{},currDefaultOptions,_pluginsOptions._validate(newDefaultOptions,_pluginsOptions._template,!0,currDefaultOptions)._default)},_plugin.valid=function(osInstance){return osInstance instanceof _plugin&&!osInstance.getState().destroyed},_plugin.extension=function(extensionName,extension,defaultOptions){var extNameTypeString=COMPATIBILITY.type(extensionName)==TYPES_s,argLen=arguments[LEXICON.l],i=0;if(argLen<1||!extNameTypeString)return FRAMEWORK.extend(!0,{length:_pluginsExtensions[LEXICON.l]},_pluginsExtensions);if(extNameTypeString)if(COMPATIBILITY.type(extension)==TYPES_f)_pluginsExtensions.push({name:extensionName,extensionFactory:extension,defaultOptions:defaultOptions});else for(;i<_pluginsExtensions[LEXICON.l];i++)if(_pluginsExtensions[i].name===extensionName){if(!(argLen>1))return FRAMEWORK.extend(!0,{},_pluginsExtensions[i]);_pluginsExtensions.splice(i,1)}},_plugin}();return JQUERY&&JQUERY.fn&&(JQUERY.fn.overlayScrollbars=function(options,extensions){return JQUERY.isPlainObject(options)?(JQUERY.each(this,(function(){PLUGIN(this,options,extensions)})),this):PLUGIN(this,options)}),PLUGIN}(global,global.document,void 0)}.call(exports,__webpack_require__,exports,module))||(module.exports=__WEBPACK_AMD_DEFINE_RESULT__)}}]); \ No newline at end of file diff --git a/docs/6.737e778b.iframe.bundle.js.LICENSE.txt b/docs/6.aef2ad40265b39a4ac62.manager.bundle.js.LICENSE.txt similarity index 100% rename from docs/6.737e778b.iframe.bundle.js.LICENSE.txt rename to docs/6.aef2ad40265b39a4ac62.manager.bundle.js.LICENSE.txt diff --git a/docs/7.f52a4ec021635df787f6.manager.bundle.js b/docs/7.99ad32c0d2827d012563.manager.bundle.js similarity index 99% rename from docs/7.f52a4ec021635df787f6.manager.bundle.js rename to docs/7.99ad32c0d2827d012563.manager.bundle.js index 51e68d6b0..982c46e08 100644 --- a/docs/7.f52a4ec021635df787f6.manager.bundle.js +++ b/docs/7.99ad32c0d2827d012563.manager.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{2265:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));var _templateObject,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(66);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.d)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.darker,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.a,{styles:getScrollAreaStyles})};GlobalScrollAreaStyles.displayName="GlobalScrollAreaStyles",__webpack_exports__.default=GlobalScrollAreaStyles}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{2265:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));var _templateObject,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(57);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.d)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.darker,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.a,{styles:getScrollAreaStyles})};GlobalScrollAreaStyles.displayName="GlobalScrollAreaStyles",__webpack_exports__.default=GlobalScrollAreaStyles}}]); \ No newline at end of file diff --git a/docs/7.d19ead30.iframe.bundle.js b/docs/7.f1755798.iframe.bundle.js similarity index 98% rename from docs/7.d19ead30.iframe.bundle.js rename to docs/7.f1755798.iframe.bundle.js index a11160c63..980053be9 100644 --- a/docs/7.d19ead30.iframe.bundle.js +++ b/docs/7.f1755798.iframe.bundle.js @@ -1 +1 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{2959:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));var _templateObject,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(128);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.d)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.darker,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.a,{styles:getScrollAreaStyles})};GlobalScrollAreaStyles.displayName="GlobalScrollAreaStyles",__webpack_exports__.default=GlobalScrollAreaStyles}}]); \ No newline at end of file +(window.webpackJsonp=window.webpackJsonp||[]).push([[7],{1333:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"getScrollAreaStyles",(function(){return getScrollAreaStyles}));var _templateObject,react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),_storybook_theming__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(104);var hsResizeObserverDummyAnimation=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.d)(_templateObject||(_templateObject=function _taggedTemplateLiteral(strings,raw){return raw||(raw=strings.slice(0)),Object.freeze(Object.defineProperties(strings,{raw:{value:Object.freeze(raw)}}))}(["0%{z-index:0}to{z-index:-1}"]))),getScrollAreaStyles=function getScrollAreaStyles(theme){return{"html.os-html, html.os-html>.os-host":{display:"block",overflow:"hidden",boxSizing:"border-box",height:"100%!important",width:"100%!important",minWidth:"100%!important",minHeight:"100%!important",margin:"0!important",position:"absolute!important"},"html.os-html>.os-host>.os-padding":{position:"absolute"},"body.os-dragging, body.os-dragging *":{cursor:"default"},".os-host, .os-host-textarea":{position:"relative",overflow:"visible!important",flexDirection:"column",flexWrap:"nowrap",justifyContent:"flex-start",alignContent:"flex-start",alignItems:"flex-start"},".os-host-flexbox":{overflow:"hidden!important",display:"flex"},".os-host-flexbox>.os-size-auto-observer":{height:"inherit!important"},".os-host-flexbox>.os-content-glue":{flexGrow:1,flexShrink:0},".os-host-flexbox>.os-size-auto-observer, .os-host-flexbox>.os-content-glue":{minHeight:0,minWidth:0,flexGrow:0,flexShrink:1,flexBasis:"auto"},"#os-dummy-scrollbar-size":{position:"fixed",opacity:0,visibility:"hidden",overflow:"scroll",height:500,width:500},"#os-dummy-scrollbar-size>div":{width:"200%",height:"200%",margin:10},"#os-dummy-scrollbar-size, .os-viewport":{},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size, .os-viewport-native-scrollbars-invisible.os-viewport":{scrollbarWidth:"none!important"},".os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar, .os-viewport-native-scrollbars-invisible#os-dummy-scrollbar-size::-webkit-scrollbar-corner, .os-viewport-native-scrollbars-invisible.os-viewport::-webkit-scrollbar-corner":{display:"none!important",width:"0!important",height:"0!important",visibility:"hidden!important",background:"0 0!important"},".os-content-glue":{boxSizing:"inherit",maxHeight:"100%",maxWidth:"100%",width:"100%",pointerEvents:"none"},".os-padding":{boxSizing:"inherit",direction:"inherit",position:"absolute",overflow:"visible",padding:0,margin:0,left:0,top:0,bottom:0,right:0,width:"auto!important",height:"auto!important",zIndex:1},".os-host-overflow>.os-padding":{overflow:"hidden"},".os-viewport":{direction:"inherit!important",boxSizing:"inherit!important",resize:"none!important",outline:"0!important",position:"absolute",overflow:"hidden",top:0,left:0,bottom:0,right:0,padding:0,margin:0},".os-content-arrange":{position:"absolute",zIndex:-1,minHeight:1,minWidth:1,pointerEvents:"none"},".os-content":{direction:"inherit",boxSizing:"border-box!important",position:"relative",display:"block",height:"100%",width:"100%",visibility:"visible"},".os-content:before, .os-content:after":{content:"''",display:"table",width:0,height:0,lineHeight:0,fontSize:0},".os-content>.os-textarea":{boxSizing:"border-box!important",direction:"inherit!important",background:"0 0!important",outline:"0 transparent!important",overflow:"hidden!important",position:"absolute!important",display:"block!important",top:"0!important",left:"0!important",margin:"0!important",borderRadius:"0!important",float:"none!important",filter:"none!important",border:"0!important",resize:"none!important",transform:"none!important",maxWidth:"none!important",maxHeight:"none!important",boxShadow:"none!important",perspective:"none!important",opacity:"1!important",zIndex:"1!important",clip:"auto!important",verticalAlign:"baseline!important",padding:0},".os-host-rtl>.os-padding>.os-viewport>.os-content>.os-textarea":{right:"0!important"},".os-content>.os-textarea-cover":{zIndex:-1,pointerEvents:"none"},".os-content>.os-textarea[wrap=off]":{whiteSpace:"pre!important",margin:"0!important"},".os-text-inherit":{fontFamily:"inherit",fontSize:"inherit",fontWeight:"inherit",fontStyle:"inherit",fontVariant:"inherit",textTransform:"inherit",textDecoration:"inherit",textIndent:"inherit",textAlign:"inherit",textShadow:"inherit",textOverflow:"inherit",letterSpacing:"inherit",wordSpacing:"inherit",lineHeight:"inherit",unicodeBidi:"inherit",direction:"inherit",color:"inherit",cursor:"text"},".os-resize-observer, .os-resize-observer-host":{boxSizing:"inherit",display:"block",opacity:0,position:"absolute",top:0,left:0,height:"100%",width:"100%",overflow:"hidden",pointerEvents:"none",zIndex:-1},".os-resize-observer-host":{padding:"inherit",border:"inherit",borderColor:"transparent",borderStyle:"solid",boxSizing:"border-box"},".os-resize-observer-host:after":{content:"''"},".os-resize-observer-host>.os-resize-observer, .os-resize-observer-host:after":{height:"200%",width:"200%",padding:"inherit",border:"inherit",margin:0,display:"block",boxSizing:"content-box"},".os-resize-observer.observed, object.os-resize-observer":{boxSizing:"border-box!important"},".os-size-auto-observer":{boxSizing:"inherit!important",height:"100%",width:"inherit",maxWidth:1,position:"relative",float:"left",maxHeight:1,overflow:"hidden",zIndex:-1,padding:0,margin:0,pointerEvents:"none",flexGrow:"inherit",flexShrink:0,flexBasis:0},".os-size-auto-observer>.os-resize-observer":{width:"1000%",height:"1000%",minHeight:1,minWidth:1},".os-resize-observer-item":{position:"absolute",top:0,right:0,bottom:0,left:0,overflow:"hidden",zIndex:-1,opacity:0,direction:"ltr!important",flex:"none!important"},".os-resize-observer-item-final":{position:"absolute",left:0,top:0,transition:"none!important",flex:"none!important"},".os-resize-observer":{animationDuration:".001s",animationName:"".concat(hsResizeObserverDummyAnimation)},".os-host-transition>.os-scrollbar, .os-host-transition>.os-scrollbar-corner":{transition:"opacity .3s,visibility .3s,top .3s,right .3s,bottom .3s,left .3s"},"html.os-html>.os-host>.os-scrollbar":{position:"absolute",zIndex:999999},".os-scrollbar, .os-scrollbar-corner":{position:"absolute",opacity:1,zIndex:1},".os-scrollbar-corner":{bottom:0,right:0,height:10,width:10,backgroundColor:"transparent"},".os-scrollbar":{pointerEvents:"none",padding:2,boxSizing:"border-box",background:0},".os-scrollbar-track":{pointerEvents:"auto",position:"relative",height:"100%",width:"100%",padding:"0!important",border:"0!important"},".os-scrollbar-handle":{pointerEvents:"auto",position:"absolute",width:"100%",height:"100%"},".os-scrollbar-handle-off, .os-scrollbar-track-off":{pointerEvents:"none"},".os-scrollbar.os-scrollbar-unusable, .os-scrollbar.os-scrollbar-unusable *":{pointerEvents:"none!important"},".os-scrollbar.os-scrollbar-unusable .os-scrollbar-handle":{opacity:"0!important"},".os-scrollbar-horizontal":{bottom:0,left:0,right:10,height:10},".os-scrollbar-vertical":{top:0,right:0,bottom:10,width:10},".os-host-rtl>.os-scrollbar-horizontal":{right:0},".os-host-rtl>.os-scrollbar-vertical":{right:"auto",left:0},".os-host-rtl>.os-scrollbar-corner":{right:"auto",left:0},".os-scrollbar-auto-hidden, .os-padding+.os-scrollbar-corner, .os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-corner, .os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal, .os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-corner, .os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical+.os-scrollbar-corner, .os-scrollbar-horizontal+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner, .os-scrollbar-horizontal.os-scrollbar-auto-hidden+.os-scrollbar-vertical.os-scrollbar-auto-hidden+.os-scrollbar-corner":{opacity:0,visibility:"hidden",pointerEvents:"none"},".os-scrollbar-corner-resize-both":{cursor:"nwse-resize"},".os-host-rtl>.os-scrollbar-corner-resize-both":{cursor:"nesw-resize"},".os-scrollbar-corner-resize-horizontal":{cursor:"ew-resize"},".os-scrollbar-corner-resize-vertical":{cursor:"ns-resize"},".os-dragging .os-scrollbar-corner.os-scrollbar-corner-resize":{cursor:"default"},".os-host-resize-disabled.os-host-scrollbar-horizontal-hidden>.os-scrollbar-vertical":{top:0,bottom:0},".os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal, .os-host-rtl.os-host-resize-disabled.os-host-scrollbar-vertical-hidden>.os-scrollbar-horizontal":{right:0,left:0},".os-scrollbar:hover, .os-scrollbar-corner.os-scrollbar-corner-resize":{opacity:"1!important",visibility:"visible!important"},".os-scrollbar-corner.os-scrollbar-corner-resize":{backgroundImage:"linear-gradient(135deg, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 50%, rgba(0,0,0,0.4) 100%)",backgroundRepeat:"no-repeat",backgroundPosition:"100% 100%",pointerEvents:"auto!important"},".os-host-rtl>.os-scrollbar-corner.os-scrollbar-corner-resize":{transform:"scale(-1,1)"},".os-host-overflow":{overflow:"hidden!important"},".os-theme-dark.os-host-rtl>.os-scrollbar-horizontal":{left:10,right:0},".os-scrollbar.os-scrollbar-unusable":{background:0},".os-scrollbar>.os-scrollbar-track":{background:0},".os-scrollbar-horizontal>.os-scrollbar-track>.os-scrollbar-handle":{minWidth:30},".os-scrollbar-vertical>.os-scrollbar-track>.os-scrollbar-handle":{minHeight:30},".os-theme-dark.os-host-transition>.os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{transition:"background-color .3s"},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle, .os-scrollbar>.os-scrollbar-track":{borderRadius:10},".os-scrollbar>.os-scrollbar-track>.os-scrollbar-handle":{background:theme.color.darker,opacity:.5},".os-scrollbar:hover>.os-scrollbar-track>.os-scrollbar-handle":{opacity:.6},".os-scrollbar-horizontal .os-scrollbar-handle:before, .os-scrollbar-vertical .os-scrollbar-handle:before":{content:"''",position:"absolute",left:0,right:0,top:0,bottom:0,display:"block"},".os-theme-dark.os-host-scrollbar-horizontal-hidden>.os-scrollbar-horizontal .os-scrollbar-handle:before, .os-theme-dark.os-host-scrollbar-vertical-hidden>.os-scrollbar-vertical .os-scrollbar-handle:before":{display:"none"},".os-scrollbar-horizontal .os-scrollbar-handle:before":{top:-6,bottom:-2},".os-scrollbar-vertical .os-scrollbar-handle:before":{left:-6,right:-2},".os-host-rtl.os-scrollbar-vertical .os-scrollbar-handle:before":{right:-6,left:-2}}},GlobalScrollAreaStyles=function GlobalScrollAreaStyles(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(_storybook_theming__WEBPACK_IMPORTED_MODULE_1__.a,{styles:getScrollAreaStyles})};GlobalScrollAreaStyles.displayName="GlobalScrollAreaStyles",__webpack_exports__.default=GlobalScrollAreaStyles}}]); \ No newline at end of file diff --git a/docs/iframe.html b/docs/iframe.html index 0d1a7fb2a..9db397e8b 100644 --- a/docs/iframe.html +++ b/docs/iframe.html @@ -245,4 +245,4 @@ - window['FRAMEWORK_OPTIONS'] = {}; \ No newline at end of file + window['FRAMEWORK_OPTIONS'] = {}; \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index 9ef5ae11e..0fc5272dd 100644 --- a/docs/index.html +++ b/docs/index.html @@ -52,4 +52,4 @@ - window['DOCS_MODE'] = false; \ No newline at end of file + window['DOCS_MODE'] = false; \ No newline at end of file diff --git a/docs/main.5a5ec758.iframe.bundle.js b/docs/main.5a5ec758.iframe.bundle.js deleted file mode 100644 index 1efba5587..000000000 --- a/docs/main.5a5ec758.iframe.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1011:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return usePrevious}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);function usePrevious(value){var ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){ref.current=value}),[value]),ref.current}},1012:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2662);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},108:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2645);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},130:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(664),__webpack_require__(24),__webpack_require__(488),__webpack_require__(489),__webpack_require__(490),__webpack_require__(491),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),react_dom=__webpack_require__(56),react_dom_default=__webpack_require__.n(react_dom),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames),components_button=__webpack_require__(21);__webpack_require__(2837);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _defineProperties(target,props){for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Inline=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_5__.a)((function Inline(_ref,ref){var as=_ref.as,space=_ref.space,_ref$align=_ref.align,align=void 0===_ref$align?"left":_ref$align,_ref$alignY=_ref.alignY,alignY=void 0===_ref$alignY?"center":_ref$alignY,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["as","space","align","alignY","children","exceptionallySetClassName"]);return react__WEBPACK_IMPORTED_MODULE_4__.createElement(_box__WEBPACK_IMPORTED_MODULE_7__.a,null,react__WEBPACK_IMPORTED_MODULE_4__.createElement(_box__WEBPACK_IMPORTED_MODULE_7__.a,_extends({},props,{as:as,display:"flex",flexWrap:"wrap",className:[exceptionallySetClassName,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_6__.a)(_inline_module_css__WEBPACK_IMPORTED_MODULE_8___default.a,"space",space)],ref:ref,alignItems:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_6__.b)(alignY,(function(alignY){return"top"===alignY?"flexStart":"bottom"===alignY?"flexEnd":"center"})),justifyContent:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_6__.b)(align,(function(align){return"left"===align?"flexStart":"right"===align?"flexEnd":"center"}))}),children))}))},21:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames),tooltip_tooltip=__webpack_require__(2955);__webpack_require__(2827);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var button_Button=react_default.a.forwardRef((function Button(_ref,ref){var _ref$type=_ref.type,type=void 0===_ref$type?"button":_ref$type,variant=_ref.variant,_ref$size=_ref.size,size=void 0===_ref$size?"default":_ref$size,_ref$loading=_ref.loading,loading=void 0!==_ref$loading&&_ref$loading,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,tooltip=_ref.tooltip,onClick=_ref.onClick,children=_ref.children,props=_objectWithoutProperties(_ref,["type","variant","size","loading","disabled","tooltip","onClick","children"]),className=classnames_default()("reactist_button",variant?"reactist_button--".concat(variant):null,"default"!==size?"reactist_button--".concat(size):null,{"reactist_button--loading":loading},props.className),button=react_default.a.createElement("button",_extends({},props,{ref:ref,type:type,className:className,"aria-disabled":disabled||loading,onClick:disabled||loading?void 0:onClick}),children);return tooltip?react_default.a.createElement(tooltip_tooltip.a,{content:tooltip},button):button}));button_Button.displayName="Button",button_Button.defaultProps={size:"default",loading:!1,disabled:!1};try{button_Button.displayName="Button",button_Button.__docgenInfo={description:"",displayName:"Button",props:{loading:{defaultValue:{value:"false"},description:"Loading style. When true it disables the button, but it also adds a visual indication of\nsome in-progress operation going on.",name:"loading",required:!1,type:{name:"boolean | undefined"}},variant:{defaultValue:null,description:"Controls visually how the button shows up from a predefined set of kinds of buttons.",name:"variant",required:!1,type:{name:'"primary" | "secondary" | "danger" | "link" | undefined'}},size:{defaultValue:{value:"default"},description:"The size of the button. If not provided it shows up in a normal size.",name:"size",required:!1,type:{name:'"default" | "small" | "large" | undefined'}},tooltip:{defaultValue:null,description:"Tooltip that is displayed on hover.\n\nThis replaces `title` which is not supported for these buttons to avoid confusion.",name:"tooltip",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button/button.tsx#Button"]={docgenInfo:button_Button.__docgenInfo,name:"Button",path:"src/components/button/button.tsx#Button"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=button_Button},2636:function(module,exports,__webpack_require__){var content=__webpack_require__(2637);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2637:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story {\n margin: 0 40px 0 40px;\n padding: 20px;\n background-color: white;\n}\n","",{version:3,sources:["webpack://stories/components/styles/story.less"],names:[],mappings:"AAAA;EACI,qBAAA;EACA,aAAA;EACA,uBAAA;AACJ",sourcesContent:[".story {\n margin: 0 40px 0 40px;\n padding: 20px;\n background-color: white;\n\n // checkered background\n // @gray: whitesmoke;\n // background-image: linear-gradient(45deg, @gray 25%, transparent 25%), linear-gradient(-45deg, @gray 25%, transparent 25%), linear-gradient(45deg, transparent 75%, @gray 75%), linear-gradient(-45deg, transparent 75%, @gray 75%);\n // background-size: 20px 20px;\n // background-position: 0 0, 0 10px, 10px -10px, -10px 0px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2639:function(module,exports,__webpack_require__){"use strict";(function(module){(0,__webpack_require__(1090).configure)([__webpack_require__(2640),__webpack_require__(2688)],module,!1)}).call(this,__webpack_require__(277)(module))},2640:function(module,exports,__webpack_require__){var map={"./hooks/use-previous/use-previous.stories.mdx":2641,"./new-components/box/box.stories.tsx":2643,"./new-components/checkbox-field/checkbox-field.stories.tsx":2937,"./new-components/columns/columns.stories.tsx":2669,"./new-components/heading/heading.stories.tsx":2673,"./new-components/hidden/hidden.stories.tsx":2947,"./new-components/inline/inline.stories.tsx":2675,"./new-components/password-field/password-field.stories.tsx":2933,"./new-components/select-field/select-field.stories.tsx":2948,"./new-components/stack/stack.stories.tsx":2682,"./new-components/switch-field/switch-field.stories.tsx":2949,"./new-components/tabs/tabs.stories.mdx":2950,"./new-components/text-field/text-field.stories.tsx":2951,"./new-components/text/text.stories.tsx":2687};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=2640},2641:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(22),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(14),_use_previous__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(1011);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.e,{title:"Hooks/usePrevious",component:_use_previous__WEBPACK_IMPORTED_MODULE_7__.a,mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h1",{id:"useprevious"},"usePrevious"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"usePrevious")," tracks the change of the given value - when a given value has been changed\nfrom a previous call, it will return the value prior to the change."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre",className:"language-TypeScript"},"import { usePrevious } from '@doist/reactist'\n\nconst [x, setX] = useState(1)\nconst prevX = usePrevious(x)\n\nsetX(2)\n\nconsole.log(x) // -> 2\nconsole.log(prevX) // -> 1\n")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Hooks/usePrevious",component:_use_previous__WEBPACK_IMPORTED_MODULE_7__.a,includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},2643:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return InteractivePropsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"PaddingStory",(function(){return PaddingStory})),__webpack_require__.d(__webpack_exports__,"MarginStory",(function(){return MarginStory}));__webpack_require__(2644),__webpack_require__(153),__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3),_box__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(51),_inline__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(205),_stack__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(34),_text__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(48),_heading__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(36);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i) {\n return (\n \n \n
One
\n
Two
\n
Three
\n
\n
\n )\n}'}},InteractivePropsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:'function ResponsiveStory() {\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n
One
\n
Two
\n
Three
\n \n
\n \n \n \n \n \n \n \n
\n \n )\n}'}},ResponsiveStory.parameters),PaddingStory.parameters=_objectSpread({storySource:{source:'function PaddingStory({ padding }: { padding: Space }) {\n return (\n \n The transparent bordered box has padding\n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},PaddingStory.parameters),MarginStory.parameters=_objectSpread({storySource:{source:'function MarginStory({ margin }: { margin: Space }) {\n return (\n \n The shaded box has margin\n \n When margin is negative, you will see the outer bordered box appear to be inside the\n shaded box.\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},MarginStory.parameters);try{InteractivePropsStory.displayName="InteractivePropsStory",InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'"absolute" | "fixed" | "relative" | "static" | "sticky" | readonly [BoxPosition, BoxPosition] | readonly [BoxPosition, BoxPosition, BoxPosition] | Readonly<...> | undefined'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'"none" | "block" | "flex" | "inline" | "inlineBlock" | "inlineFlex" | readonly [BoxDisplay, BoxDisplay] | readonly [BoxDisplay, BoxDisplay, BoxDisplay] | Readonly<...> | undefined'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'"column" | "row" | readonly [BoxFlexDirection, BoxFlexDirection] | readonly [BoxFlexDirection, BoxFlexDirection, BoxFlexDirection] | Readonly<...> | undefined'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'"nowrap" | "wrap" | undefined'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:"0 | 1 | undefined"}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:"0 | undefined"}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'"center" | "flexEnd" | "flexStart" | "baseline" | readonly [BoxAlignItems, BoxAlignItems] | readonly [BoxAlignItems, BoxAlignItems, BoxAlignItems] | Readonly<...> | undefined'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'"center" | "flexEnd" | "flexStart" | "spaceBetween" | readonly [BoxJustifyContent, BoxJustifyContent] | readonly [BoxJustifyContent, BoxJustifyContent, BoxJustifyContent] | Readonly<...> | undefined'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'"hidden" | "visible" | "auto" | "scroll" | undefined'}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:'"full" | undefined'}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:'"full" | undefined'}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/box/box.stories.tsx#InteractivePropsStory"]={docgenInfo:InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/box/box.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{PaddingStory.displayName="PaddingStory",PaddingStory.__docgenInfo={description:"",displayName:"PaddingStory",props:{padding:{defaultValue:null,description:"",name:"padding",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"xsmall"'},{value:'"medium"'},{value:'"xlarge"'},{value:'"xxlarge"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/box/box.stories.tsx#PaddingStory"]={docgenInfo:PaddingStory.__docgenInfo,name:"PaddingStory",path:"src/new-components/box/box.stories.tsx#PaddingStory"})}catch(__react_docgen_typescript_loader_error){}try{MarginStory.displayName="MarginStory",MarginStory.__docgenInfo={description:"",displayName:"MarginStory",props:{margin:{defaultValue:null,description:"",name:"margin",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"xsmall"'},{value:'"medium"'},{value:'"xlarge"'},{value:'"xxlarge"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/box/box.stories.tsx#MarginStory"]={docgenInfo:MarginStory.__docgenInfo,name:"MarginStory",path:"src/new-components/box/box.stories.tsx#MarginStory"})}catch(__react_docgen_typescript_loader_error){}},2645:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._34n6lzh1{box-sizing:border-box;border:0;margin:0;padding:0;font-size:var(--reactist-font-size-body);font-family:inherit;vertical-align:baseline;background-color:transparent}._34n6lzh1[hidden]{display:none!important}._4O18_OS-{position:absolute}._28SfqXxQ{position:fixed}._25hgucpJ{position:relative}._1z9gRRgL{position:-webkit-sticky;position:sticky}@media (min-width:768px){._165GB3d9{position:absolute}._35BfHjzS{position:fixed}.ToWL2vUd{position:relative}._3Y7tS7ZB{position:-webkit-sticky;position:sticky}}@media (min-width:992px){._1cIKCESH{position:absolute}._2UnmU33s{position:fixed}.Yvv9o15g{position:relative}._1ulmDxJK{position:-webkit-sticky;position:sticky}}._3metZFs3{display:block}.OtqwlC-g{display:flex}.ScnLRsqQ{display:inline}._3p4d3SOr{display:inline-block}._3Wbf3h8F{display:inline-flex}.vZcMBze5{display:none}@media (min-width:768px){.xnym6zKT{display:block}._3lk6GIUC{display:flex}._2lsDHRFI{display:inline}._3_tat_7q{display:inline-block}._2zp0Ysn_{display:inline-flex}._22HipJxo{display:none}}@media (min-width:992px){.egzVdgM-{display:block}._3O-rsskG{display:flex}._2e2_Bdle{display:inline}._1BndqY98{display:inline-block}._3lKbMoNn{display:inline-flex}._2-eAy5iF{display:none}}._1LICbbGA{min-width:0}._11C3KbpS{min-width:220px}._2i8CQCsg{min-width:400px}._2mvYxIBO{min-width:660px}.tUeYcld-{max-width:940px}._3xFf8yMo{min-width:1280px}._1kI7x4VB{max-width:220px}.eLup45J2{max-width:400px}._3Q3oh0wq{max-width:660px}._1m4kNCjr{max-width:940px}.rKzeZFfP{max-width:1280px}._V9SUtJ4{max-width:100%}._1cIxSJgN{flex-direction:column}._3d82rg2O{flex-direction:row}@media (min-width:768px){._2BCIaaSu{flex-direction:column}._1KZ73hzW{flex-direction:row}}@media (min-width:992px){.AlBpSaFt{flex-direction:column}.szQspntj{flex-direction:row}}._2R_eNJAR{flex-wrap:wrap}._1A8QKWzr{flex-wrap:nowrap}._1BY1l_eA{flex-shrink:0}._2JTESmuO{flex-grow:0}._1IIXp_yM{flex-grow:1}._3Aw6MW6G{align-items:flex-start}._3J7hgDFf{align-items:center}._1PQDcZy6{align-items:flex-end}._3-zKDOwm{align-items:baseline}@media (min-width:768px){._3166iR2s{align-items:flex-start}.QCePjapg{align-items:center}.jjkOQC8r{align-items:flex-end}._14CBNMJQ{align-items:baseline}}@media (min-width:992px){.A0DebJu_{align-items:flex-start}._1isnu434{align-items:center}._3VslwRNK{align-items:flex-end}._1eGXZce8{align-items:baseline}}._2pEU8SQC{justify-content:flex-start}._1mRUNYls{justify-content:center}._3EDR-URW{justify-content:flex-end}.IXOituOK{justify-content:space-between}@media (min-width:768px){._2d7kRHd7{justify-content:flex-start}._1UzfR6Vf{justify-content:center}._2ImQNbDg{justify-content:flex-end}._16UkMMI6{justify-content:space-between}}@media (min-width:992px){._3cyvD1f5{justify-content:flex-start}._1HcMvcsu{justify-content:center}._33m1Ctuk{justify-content:flex-end}._2bJ7PwH5{justify-content:space-between}}._2VHbvrHg{overflow:hidden}.C08q82uW{overflow:auto}._3jPsBi7a{overflow:visible}._36PWUusV{overflow:scroll}._32U3_pi2{width:100%}._1AR6jtYl{height:100%}.acHew4QS{background-color:var(--reactist-bg-default)}._27wTWuhR{background-color:var(--reactist-bg-aside)}._13n6zG49{background-color:var(--reactist-bg-highlight)}._3xE7o7Lc{background-color:var(--reactist-bg-selected)}._1s36b_gH{border-radius:var(--reactist-border-radius-small)}._1SIaqDBP{border-radius:var(--reactist-border-radius-large)}._1-QIwmSO{border:1px solid var(--reactist-framework-border)}",""]),exports.locals={box:"_34n6lzh1","position-absolute":"_4O18_OS-","position-fixed":"_28SfqXxQ","position-relative":"_25hgucpJ","position-sticky":"_1z9gRRgL","tablet-position-absolute":"_165GB3d9","tablet-position-fixed":"_35BfHjzS","tablet-position-relative":"ToWL2vUd","tablet-position-sticky":"_3Y7tS7ZB","desktop-position-absolute":"_1cIKCESH","desktop-position-fixed":"_2UnmU33s","desktop-position-relative":"Yvv9o15g","desktop-position-sticky":"_1ulmDxJK","display-block":"_3metZFs3","display-flex":"OtqwlC-g","display-inline":"ScnLRsqQ","display-inlineBlock":"_3p4d3SOr","display-inlineFlex":"_3Wbf3h8F","display-none":"vZcMBze5","tablet-display-block":"xnym6zKT","tablet-display-flex":"_3lk6GIUC","tablet-display-inline":"_2lsDHRFI","tablet-display-inlineBlock":"_3_tat_7q","tablet-display-inlineFlex":"_2zp0Ysn_","tablet-display-none":"_22HipJxo","desktop-display-block":"egzVdgM-","desktop-display-flex":"_3O-rsskG","desktop-display-inline":"_2e2_Bdle","desktop-display-inlineBlock":"_1BndqY98","desktop-display-inlineFlex":"_3lKbMoNn","desktop-display-none":"_2-eAy5iF","minWidth-0":"_1LICbbGA","minWidth-xsmall":"_11C3KbpS","minWidth-small":"_2i8CQCsg","minWidth-medium":"_2mvYxIBO","minWidth-large":"tUeYcld-","minWidth-xlarge":"_3xFf8yMo","maxWidth-xsmall":"_1kI7x4VB","maxWidth-small":"eLup45J2","maxWidth-medium":"_3Q3oh0wq","maxWidth-large":"_1m4kNCjr","maxWidth-xlarge":"rKzeZFfP","maxWidth-full":"_V9SUtJ4","flexDirection-column":"_1cIxSJgN","flexDirection-row":"_3d82rg2O","tablet-flexDirection-column":"_2BCIaaSu","tablet-flexDirection-row":"_1KZ73hzW","desktop-flexDirection-column":"AlBpSaFt","desktop-flexDirection-row":"szQspntj","flexWrap-wrap":"_2R_eNJAR","flexWrap-nowrap":"_1A8QKWzr","flexShrink-0":"_1BY1l_eA","flexGrow-0":"_2JTESmuO","flexGrow-1":"_1IIXp_yM","alignItems-flexStart":"_3Aw6MW6G","alignItems-center":"_3J7hgDFf","alignItems-flexEnd":"_1PQDcZy6","alignItems-baseline":"_3-zKDOwm","tablet-alignItems-flexStart":"_3166iR2s","tablet-alignItems-center":"QCePjapg","tablet-alignItems-flexEnd":"jjkOQC8r","tablet-alignItems-baseline":"_14CBNMJQ","desktop-alignItems-flexStart":"A0DebJu_","desktop-alignItems-center":"_1isnu434","desktop-alignItems-flexEnd":"_3VslwRNK","desktop-alignItems-baseline":"_1eGXZce8","justifyContent-flexStart":"_2pEU8SQC","justifyContent-center":"_1mRUNYls","justifyContent-flexEnd":"_3EDR-URW","justifyContent-spaceBetween":"IXOituOK","tablet-justifyContent-flexStart":"_2d7kRHd7","tablet-justifyContent-center":"_1UzfR6Vf","tablet-justifyContent-flexEnd":"_2ImQNbDg","tablet-justifyContent-spaceBetween":"_16UkMMI6","desktop-justifyContent-flexStart":"_3cyvD1f5","desktop-justifyContent-center":"_1HcMvcsu","desktop-justifyContent-flexEnd":"_33m1Ctuk","desktop-justifyContent-spaceBetween":"_2bJ7PwH5","overflow-hidden":"_2VHbvrHg","overflow-auto":"C08q82uW","overflow-visible":"_3jPsBi7a","overflow-scroll":"_36PWUusV","width-full":"_32U3_pi2","height-full":"_1AR6jtYl","bg-default":"acHew4QS","bg-aside":"_27wTWuhR","bg-highlight":"_13n6zG49","bg-selected":"_3xE7o7Lc","borderRadius-standard":"_1s36b_gH","borderRadius-full":"_1SIaqDBP","border-standard":"_1-QIwmSO"},module.exports=exports},2646:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._37PoF4Jf{padding-top:var(--reactist-spacing-xsmall)}._3cS38W36{padding-top:var(--reactist-spacing-small)}._2gIxtZlm{padding-top:var(--reactist-spacing-medium)}._3gGn2Ofz{padding-top:var(--reactist-spacing-large)}._2WG6QMMn{padding-top:var(--reactist-spacing-xlarge)}.hxJ6w3B8{padding-top:var(--reactist-spacing-xxlarge)}@media (min-width:768px){.XZwT2WMR{padding-top:var(--reactist-spacing-xsmall)}._3FhVEENA{padding-top:var(--reactist-spacing-small)}.ijls2XcC{padding-top:var(--reactist-spacing-medium)}._3lJzwpfO{padding-top:var(--reactist-spacing-large)}.qfLFeSh6{padding-top:var(--reactist-spacing-xlarge)}._2oughCEx{padding-top:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._2EMgDg14{padding-top:var(--reactist-spacing-xsmall)}._3NCndykL{padding-top:var(--reactist-spacing-small)}._2A7cPy_6{padding-top:var(--reactist-spacing-medium)}._3N-vMEjD{padding-top:var(--reactist-spacing-large)}._1eYpDcLP{padding-top:var(--reactist-spacing-xlarge)}._3PQ5mnms{padding-top:var(--reactist-spacing-xxlarge)}}._2V7PNCmm{padding-right:var(--reactist-spacing-xsmall)}._3AE3p2-n{padding-right:var(--reactist-spacing-small)}._2FVEUD8O{padding-right:var(--reactist-spacing-medium)}.UHB6w90T{padding-right:var(--reactist-spacing-large)}._3v6Sez5u{padding-right:var(--reactist-spacing-xlarge)}._268fG3vy{padding-right:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._3m_CxKdn{padding-right:var(--reactist-spacing-xsmall)}._2qWZZU_u{padding-right:var(--reactist-spacing-small)}.flWTp8Mh{padding-right:var(--reactist-spacing-medium)}._2ZynUo6x{padding-right:var(--reactist-spacing-large)}._3qSWbPfK{padding-right:var(--reactist-spacing-xlarge)}._2MYsGWU9{padding-right:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3nVE2PpR{padding-right:var(--reactist-spacing-xsmall)}._3XJ7yA45{padding-right:var(--reactist-spacing-small)}._2947_gJc{padding-right:var(--reactist-spacing-medium)}._3G7IvIGI{padding-right:var(--reactist-spacing-large)}._249gwEjJ{padding-right:var(--reactist-spacing-xlarge)}._36yKlFub{padding-right:var(--reactist-spacing-xxlarge)}}._1ditaqCq{padding-bottom:var(--reactist-spacing-xsmall)}.MRCRaOWe{padding-bottom:var(--reactist-spacing-small)}.KoY7Oin6{padding-bottom:var(--reactist-spacing-medium)}._3t9twW2c{padding-bottom:var(--reactist-spacing-large)}._3es4Yt5f{padding-bottom:var(--reactist-spacing-xlarge)}.vMCqilRw{padding-bottom:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1UW42Raj{padding-bottom:var(--reactist-spacing-xsmall)}._2vl2ugBk{padding-bottom:var(--reactist-spacing-small)}._1wpQcEzg{padding-bottom:var(--reactist-spacing-medium)}._2mERt9xt{padding-bottom:var(--reactist-spacing-large)}.a5ZaVHzr{padding-bottom:var(--reactist-spacing-xlarge)}._1O57Fgar{padding-bottom:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3JaG2S5t{padding-bottom:var(--reactist-spacing-xsmall)}._2TPsqVHm{padding-bottom:var(--reactist-spacing-small)}._22oRlhAY{padding-bottom:var(--reactist-spacing-medium)}._1XD7TfYf{padding-bottom:var(--reactist-spacing-large)}.kFUXoQRu{padding-bottom:var(--reactist-spacing-xlarge)}._3L6o6csz{padding-bottom:var(--reactist-spacing-xxlarge)}}._3SMipyD1{padding-left:var(--reactist-spacing-xsmall)}._3LB8K5Zf{padding-left:var(--reactist-spacing-small)}._3pxFvBZs{padding-left:var(--reactist-spacing-medium)}._1ThFwWOW{padding-left:var(--reactist-spacing-large)}._1kWqxncf{padding-left:var(--reactist-spacing-xlarge)}._1S4UZubw{padding-left:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1yZiGh_h{padding-left:var(--reactist-spacing-xsmall)}.WkSpvbEE{padding-left:var(--reactist-spacing-small)}._2a_l_BX9{padding-left:var(--reactist-spacing-medium)}.V0zP7kjo{padding-left:var(--reactist-spacing-large)}._1fqXx4Qm{padding-left:var(--reactist-spacing-xlarge)}._2roIYNws{padding-left:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._1Ph0zT71{padding-left:var(--reactist-spacing-xsmall)}._3zkUen6M{padding-left:var(--reactist-spacing-small)}.rbF2_zNe{padding-left:var(--reactist-spacing-medium)}._2u6oBYeY{padding-left:var(--reactist-spacing-large)}.Mm78E9Om{padding-left:var(--reactist-spacing-xlarge)}._1dQOZcsI{padding-left:var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"paddingTop-xsmall":"_37PoF4Jf","paddingTop-small":"_3cS38W36","paddingTop-medium":"_2gIxtZlm","paddingTop-large":"_3gGn2Ofz","paddingTop-xlarge":"_2WG6QMMn","paddingTop-xxlarge":"hxJ6w3B8","tablet-paddingTop-xsmall":"XZwT2WMR","tablet-paddingTop-small":"_3FhVEENA","tablet-paddingTop-medium":"ijls2XcC","tablet-paddingTop-large":"_3lJzwpfO","tablet-paddingTop-xlarge":"qfLFeSh6","tablet-paddingTop-xxlarge":"_2oughCEx","desktop-paddingTop-xsmall":"_2EMgDg14","desktop-paddingTop-small":"_3NCndykL","desktop-paddingTop-medium":"_2A7cPy_6","desktop-paddingTop-large":"_3N-vMEjD","desktop-paddingTop-xlarge":"_1eYpDcLP","desktop-paddingTop-xxlarge":"_3PQ5mnms","paddingRight-xsmall":"_2V7PNCmm","paddingRight-small":"_3AE3p2-n","paddingRight-medium":"_2FVEUD8O","paddingRight-large":"UHB6w90T","paddingRight-xlarge":"_3v6Sez5u","paddingRight-xxlarge":"_268fG3vy","tablet-paddingRight-xsmall":"_3m_CxKdn","tablet-paddingRight-small":"_2qWZZU_u","tablet-paddingRight-medium":"flWTp8Mh","tablet-paddingRight-large":"_2ZynUo6x","tablet-paddingRight-xlarge":"_3qSWbPfK","tablet-paddingRight-xxlarge":"_2MYsGWU9","desktop-paddingRight-xsmall":"_3nVE2PpR","desktop-paddingRight-small":"_3XJ7yA45","desktop-paddingRight-medium":"_2947_gJc","desktop-paddingRight-large":"_3G7IvIGI","desktop-paddingRight-xlarge":"_249gwEjJ","desktop-paddingRight-xxlarge":"_36yKlFub","paddingBottom-xsmall":"_1ditaqCq","paddingBottom-small":"MRCRaOWe","paddingBottom-medium":"KoY7Oin6","paddingBottom-large":"_3t9twW2c","paddingBottom-xlarge":"_3es4Yt5f","paddingBottom-xxlarge":"vMCqilRw","tablet-paddingBottom-xsmall":"_1UW42Raj","tablet-paddingBottom-small":"_2vl2ugBk","tablet-paddingBottom-medium":"_1wpQcEzg","tablet-paddingBottom-large":"_2mERt9xt","tablet-paddingBottom-xlarge":"a5ZaVHzr","tablet-paddingBottom-xxlarge":"_1O57Fgar","desktop-paddingBottom-xsmall":"_3JaG2S5t","desktop-paddingBottom-small":"_2TPsqVHm","desktop-paddingBottom-medium":"_22oRlhAY","desktop-paddingBottom-large":"_1XD7TfYf","desktop-paddingBottom-xlarge":"kFUXoQRu","desktop-paddingBottom-xxlarge":"_3L6o6csz","paddingLeft-xsmall":"_3SMipyD1","paddingLeft-small":"_3LB8K5Zf","paddingLeft-medium":"_3pxFvBZs","paddingLeft-large":"_1ThFwWOW","paddingLeft-xlarge":"_1kWqxncf","paddingLeft-xxlarge":"_1S4UZubw","tablet-paddingLeft-xsmall":"_1yZiGh_h","tablet-paddingLeft-small":"WkSpvbEE","tablet-paddingLeft-medium":"_2a_l_BX9","tablet-paddingLeft-large":"V0zP7kjo","tablet-paddingLeft-xlarge":"_1fqXx4Qm","tablet-paddingLeft-xxlarge":"_2roIYNws","desktop-paddingLeft-xsmall":"_1Ph0zT71","desktop-paddingLeft-small":"_3zkUen6M","desktop-paddingLeft-medium":"rbF2_zNe","desktop-paddingLeft-large":"_2u6oBYeY","desktop-paddingLeft-xlarge":"Mm78E9Om","desktop-paddingLeft-xxlarge":"_1dQOZcsI"},module.exports=exports},2647:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._1emsB4WA{margin-top:var(--reactist-spacing-xsmall)}._2J7cMqGi{margin-top:var(--reactist-spacing-small)}._2QAwUG-O{margin-top:var(--reactist-spacing-medium)}._1hUkzmOe{margin-top:var(--reactist-spacing-large)}._2ZXXRI4M{margin-top:var(--reactist-spacing-xlarge)}._1yintsUZ{margin-top:var(--reactist-spacing-xxlarge)}._3zsxWMnb{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2q9YZrNS{margin-top:calc(var(--reactist-spacing-small)*-1)}._3sBRhCNv{margin-top:calc(var(--reactist-spacing-medium)*-1)}._3C4A_Y_V{margin-top:calc(var(--reactist-spacing-large)*-1)}._8dbkmzoK{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._2N12DjQM{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){._2SMhHarO{margin-top:var(--reactist-spacing-xsmall)}.PH0kl-tf{margin-top:var(--reactist-spacing-small)}._2xGJHEww{margin-top:var(--reactist-spacing-medium)}._25OQPhco{margin-top:var(--reactist-spacing-large)}._2LpM6NKt{margin-top:var(--reactist-spacing-xlarge)}._1VYT0Hhd{margin-top:var(--reactist-spacing-xxlarge)}._3BJOAGsR{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2TUqzeu9{margin-top:calc(var(--reactist-spacing-small)*-1)}.CLVxeaNg{margin-top:calc(var(--reactist-spacing-medium)*-1)}.ypwaemIi{margin-top:calc(var(--reactist-spacing-large)*-1)}._3WY141hT{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._10GeI19F{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){._27ekuIwn{margin-top:var(--reactist-spacing-xsmall)}.QxkeMaKy{margin-top:var(--reactist-spacing-small)}.A-Ngfa5i{margin-top:var(--reactist-spacing-medium)}._2PrihO-N{margin-top:var(--reactist-spacing-large)}._3_L5gFS1{margin-top:var(--reactist-spacing-xlarge)}._1r9jrEFS{margin-top:var(--reactist-spacing-xxlarge)}._3af0kbj9{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2rLAwkGr{margin-top:calc(var(--reactist-spacing-small)*-1)}._1jufhOhq{margin-top:calc(var(--reactist-spacing-medium)*-1)}._3lAIaRrd{margin-top:calc(var(--reactist-spacing-large)*-1)}._11CckePq{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._2uXfuEtS{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}}._3VQzbmJX{margin-right:var(--reactist-spacing-xsmall)}._1dEi1DUY{margin-right:var(--reactist-spacing-small)}.A8rysjmE{margin-right:var(--reactist-spacing-medium)}.PWggVFhM{margin-right:var(--reactist-spacing-large)}._1InVWXaT{margin-right:var(--reactist-spacing-xlarge)}._2JSwW6g-{margin-right:var(--reactist-spacing-xxlarge)}._1K7nRAEh{margin-right:calc(var(--reactist-spacing-xsmall)*-1)}._1Y-H6mP7{margin-right:calc(var(--reactist-spacing-small)*-1)}._1IqT2P8g{margin-right:calc(var(--reactist-spacing-medium)*-1)}._3Mt6km7k{margin-right:calc(var(--reactist-spacing-large)*-1)}._1SN6-mED{margin-right:calc(var(--reactist-spacing-xlarge)*-1)}._23GoFgk4{margin-right:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){._34PM8pB_{margin-right:var(--reactist-spacing-xsmall)}._1sTvqvCb{margin-right:var(--reactist-spacing-small)}._2RvVjYtx{margin-right:var(--reactist-spacing-medium)}._2-c_epN3{margin-right:var(--reactist-spacing-large)}._3ypF-Qjv{margin-right:var(--reactist-spacing-xlarge)}._27REH0q6{margin-right:var(--reactist-spacing-xxlarge)}._2N5eUvTy{margin-right:calc(var(--reactist-spacing-xsmall)*-1)}._1B5oq0ln{margin-right:calc(var(--reactist-spacing-small)*-1)}._3YZnbcAW{margin-right:calc(var(--reactist-spacing-medium)*-1)}._2RTKDWwe{margin-right:calc(var(--reactist-spacing-large)*-1)}._12KGHCEB{margin-right:calc(var(--reactist-spacing-xlarge)*-1)}._-7PB7-Lt{margin-right:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){._1ubQsi9M{margin-right:var(--reactist-spacing-xsmall)}._2oez860k{margin-right:var(--reactist-spacing-small)}._5cCgRUvJ{margin-right:var(--reactist-spacing-medium)}._1J6e__aO{margin-right:var(--reactist-spacing-large)}._3RPQf1zx{margin-right:var(--reactist-spacing-xlarge)}._1Uwkw65a{margin-right:var(--reactist-spacing-xxlarge)}._1F0a8xFJ{margin-right:calc(var(--reactist-spacing-xsmall)*-1)}._2zeiR8w2{margin-right:calc(var(--reactist-spacing-small)*-1)}._24stxPZ3{margin-right:calc(var(--reactist-spacing-medium)*-1)}._1TTACvpQ{margin-right:calc(var(--reactist-spacing-large)*-1)}._3SO5f5X2{margin-right:calc(var(--reactist-spacing-xlarge)*-1)}.kr_SmhIK{margin-right:calc(var(--reactist-spacing-xxlarge)*-1)}}.mokrM-4L{margin-bottom:var(--reactist-spacing-xsmall)}._2Fz1ihpU{margin-bottom:var(--reactist-spacing-small)}._1zYqs84J{margin-bottom:var(--reactist-spacing-medium)}._30l-EL_7{margin-bottom:var(--reactist-spacing-large)}._3JUkH4iL{margin-bottom:var(--reactist-spacing-xlarge)}._3o8DfvCm{margin-bottom:var(--reactist-spacing-xxlarge)}._19LwIdQZ{margin-bottom:calc(var(--reactist-spacing-xsmall)*-1)}._1wkZa7Nv{margin-bottom:calc(var(--reactist-spacing-small)*-1)}._15ux_WIM{margin-bottom:calc(var(--reactist-spacing-medium)*-1)}._1xeBZ5uY{margin-bottom:calc(var(--reactist-spacing-large)*-1)}._3M7dGsBb{margin-bottom:calc(var(--reactist-spacing-xlarge)*-1)}._3xM_DHx3{margin-bottom:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){.aQZNSnYH{margin-bottom:var(--reactist-spacing-xsmall)}.CaQZlGcF{margin-bottom:var(--reactist-spacing-small)}._1TvSVpiQ{margin-bottom:var(--reactist-spacing-medium)}._2FU8clks{margin-bottom:var(--reactist-spacing-large)}._1Lll8NE5{margin-bottom:var(--reactist-spacing-xlarge)}._219LYTO6{margin-bottom:var(--reactist-spacing-xxlarge)}._74Pnksea{margin-bottom:calc(var(--reactist-spacing-xsmall)*-1)}.uog2aCjN{margin-bottom:calc(var(--reactist-spacing-small)*-1)}._3CRKF1bT{margin-bottom:calc(var(--reactist-spacing-medium)*-1)}._2UcDJ3zL{margin-bottom:calc(var(--reactist-spacing-large)*-1)}._2CQf_8Ja{margin-bottom:calc(var(--reactist-spacing-xlarge)*-1)}._1Fn_mX7r{margin-bottom:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){.cMZteGSP{margin-bottom:var(--reactist-spacing-xsmall)}._302YRk_s{margin-bottom:var(--reactist-spacing-small)}.a5SLhA8h{margin-bottom:var(--reactist-spacing-medium)}._1jJYFMpE{margin-bottom:var(--reactist-spacing-large)}._2VH0jzpO{margin-bottom:var(--reactist-spacing-xlarge)}._34W1FCkE{margin-bottom:var(--reactist-spacing-xxlarge)}._3TO6-rpf{margin-bottom:calc(var(--reactist-spacing-xsmall)*-1)}._1njTBEO5{margin-bottom:calc(var(--reactist-spacing-small)*-1)}._3O8NQb9I{margin-bottom:calc(var(--reactist-spacing-medium)*-1)}.tPTZYgH3{margin-bottom:calc(var(--reactist-spacing-large)*-1)}._2yeb-Y-8{margin-bottom:calc(var(--reactist-spacing-xlarge)*-1)}._3jKh5ffF{margin-bottom:calc(var(--reactist-spacing-xxlarge)*-1)}}._3D5GWbXE{margin-left:var(--reactist-spacing-xsmall)}._3iypvYrg{margin-left:var(--reactist-spacing-small)}._1YlqwPym{margin-left:var(--reactist-spacing-medium)}._22o1sovn{margin-left:var(--reactist-spacing-large)}._1MLXh3lW{margin-left:var(--reactist-spacing-xlarge)}._2lwkfQiH{margin-left:var(--reactist-spacing-xxlarge)}._14YCoxft{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}.ewcnIPqd{margin-left:calc(var(--reactist-spacing-small)*-1)}._2g1OVDe8{margin-left:calc(var(--reactist-spacing-medium)*-1)}._2ddA4m0W{margin-left:calc(var(--reactist-spacing-large)*-1)}._1GZwUWJN{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._31-qNiMv{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){._3BKnNzUJ{margin-left:var(--reactist-spacing-xsmall)}._38oD_Jwb{margin-left:var(--reactist-spacing-small)}._16zyVxt4{margin-left:var(--reactist-spacing-medium)}._3gFPvRUF{margin-left:var(--reactist-spacing-large)}._2e_oL8V0{margin-left:var(--reactist-spacing-xlarge)}.Y5R1Zk3t{margin-left:var(--reactist-spacing-xxlarge)}._2Z7o0xJV{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._2IAsx91P{margin-left:calc(var(--reactist-spacing-small)*-1)}._1prIBzP1{margin-left:calc(var(--reactist-spacing-medium)*-1)}.yBuaqMBN{margin-left:calc(var(--reactist-spacing-large)*-1)}._2gj-03xG{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._1tpj1o6k{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){.Qr1HV5zM{margin-left:var(--reactist-spacing-xsmall)}.WJax_2dc{margin-left:var(--reactist-spacing-small)}._281azCe0{margin-left:var(--reactist-spacing-medium)}._2kTX0YwB{margin-left:var(--reactist-spacing-large)}.EQX8jGWW{margin-left:var(--reactist-spacing-xlarge)}._94dEeX2M{margin-left:var(--reactist-spacing-xxlarge)}._3Ps_CZcp{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._2h2uHZkI{margin-left:calc(var(--reactist-spacing-small)*-1)}.ccCTloTg{margin-left:calc(var(--reactist-spacing-medium)*-1)}._16UyxR0i{margin-left:calc(var(--reactist-spacing-large)*-1)}._1ONy15Is{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}.OfjFZfgK{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}}",""]),exports.locals={"marginTop-xsmall":"_1emsB4WA","marginTop-small":"_2J7cMqGi","marginTop-medium":"_2QAwUG-O","marginTop-large":"_1hUkzmOe","marginTop-xlarge":"_2ZXXRI4M","marginTop-xxlarge":"_1yintsUZ","marginTop--xsmall":"_3zsxWMnb","marginTop--small":"_2q9YZrNS","marginTop--medium":"_3sBRhCNv","marginTop--large":"_3C4A_Y_V","marginTop--xlarge":"_8dbkmzoK","marginTop--xxlarge":"_2N12DjQM","tablet-marginTop-xsmall":"_2SMhHarO","tablet-marginTop-small":"PH0kl-tf","tablet-marginTop-medium":"_2xGJHEww","tablet-marginTop-large":"_25OQPhco","tablet-marginTop-xlarge":"_2LpM6NKt","tablet-marginTop-xxlarge":"_1VYT0Hhd","tablet-marginTop--xsmall":"_3BJOAGsR","tablet-marginTop--small":"_2TUqzeu9","tablet-marginTop--medium":"CLVxeaNg","tablet-marginTop--large":"ypwaemIi","tablet-marginTop--xlarge":"_3WY141hT","tablet-marginTop--xxlarge":"_10GeI19F","desktop-marginTop-xsmall":"_27ekuIwn","desktop-marginTop-small":"QxkeMaKy","desktop-marginTop-medium":"A-Ngfa5i","desktop-marginTop-large":"_2PrihO-N","desktop-marginTop-xlarge":"_3_L5gFS1","desktop-marginTop-xxlarge":"_1r9jrEFS","desktop-marginTop--xsmall":"_3af0kbj9","desktop-marginTop--small":"_2rLAwkGr","desktop-marginTop--medium":"_1jufhOhq","desktop-marginTop--large":"_3lAIaRrd","desktop-marginTop--xlarge":"_11CckePq","desktop-marginTop--xxlarge":"_2uXfuEtS","marginRight-xsmall":"_3VQzbmJX","marginRight-small":"_1dEi1DUY","marginRight-medium":"A8rysjmE","marginRight-large":"PWggVFhM","marginRight-xlarge":"_1InVWXaT","marginRight-xxlarge":"_2JSwW6g-","marginRight--xsmall":"_1K7nRAEh","marginRight--small":"_1Y-H6mP7","marginRight--medium":"_1IqT2P8g","marginRight--large":"_3Mt6km7k","marginRight--xlarge":"_1SN6-mED","marginRight--xxlarge":"_23GoFgk4","tablet-marginRight-xsmall":"_34PM8pB_","tablet-marginRight-small":"_1sTvqvCb","tablet-marginRight-medium":"_2RvVjYtx","tablet-marginRight-large":"_2-c_epN3","tablet-marginRight-xlarge":"_3ypF-Qjv","tablet-marginRight-xxlarge":"_27REH0q6","tablet-marginRight--xsmall":"_2N5eUvTy","tablet-marginRight--small":"_1B5oq0ln","tablet-marginRight--medium":"_3YZnbcAW","tablet-marginRight--large":"_2RTKDWwe","tablet-marginRight--xlarge":"_12KGHCEB","tablet-marginRight--xxlarge":"_-7PB7-Lt","desktop-marginRight-xsmall":"_1ubQsi9M","desktop-marginRight-small":"_2oez860k","desktop-marginRight-medium":"_5cCgRUvJ","desktop-marginRight-large":"_1J6e__aO","desktop-marginRight-xlarge":"_3RPQf1zx","desktop-marginRight-xxlarge":"_1Uwkw65a","desktop-marginRight--xsmall":"_1F0a8xFJ","desktop-marginRight--small":"_2zeiR8w2","desktop-marginRight--medium":"_24stxPZ3","desktop-marginRight--large":"_1TTACvpQ","desktop-marginRight--xlarge":"_3SO5f5X2","desktop-marginRight--xxlarge":"kr_SmhIK","marginBottom-xsmall":"mokrM-4L","marginBottom-small":"_2Fz1ihpU","marginBottom-medium":"_1zYqs84J","marginBottom-large":"_30l-EL_7","marginBottom-xlarge":"_3JUkH4iL","marginBottom-xxlarge":"_3o8DfvCm","marginBottom--xsmall":"_19LwIdQZ","marginBottom--small":"_1wkZa7Nv","marginBottom--medium":"_15ux_WIM","marginBottom--large":"_1xeBZ5uY","marginBottom--xlarge":"_3M7dGsBb","marginBottom--xxlarge":"_3xM_DHx3","tablet-marginBottom-xsmall":"aQZNSnYH","tablet-marginBottom-small":"CaQZlGcF","tablet-marginBottom-medium":"_1TvSVpiQ","tablet-marginBottom-large":"_2FU8clks","tablet-marginBottom-xlarge":"_1Lll8NE5","tablet-marginBottom-xxlarge":"_219LYTO6","tablet-marginBottom--xsmall":"_74Pnksea","tablet-marginBottom--small":"uog2aCjN","tablet-marginBottom--medium":"_3CRKF1bT","tablet-marginBottom--large":"_2UcDJ3zL","tablet-marginBottom--xlarge":"_2CQf_8Ja","tablet-marginBottom--xxlarge":"_1Fn_mX7r","desktop-marginBottom-xsmall":"cMZteGSP","desktop-marginBottom-small":"_302YRk_s","desktop-marginBottom-medium":"a5SLhA8h","desktop-marginBottom-large":"_1jJYFMpE","desktop-marginBottom-xlarge":"_2VH0jzpO","desktop-marginBottom-xxlarge":"_34W1FCkE","desktop-marginBottom--xsmall":"_3TO6-rpf","desktop-marginBottom--small":"_1njTBEO5","desktop-marginBottom--medium":"_3O8NQb9I","desktop-marginBottom--large":"tPTZYgH3","desktop-marginBottom--xlarge":"_2yeb-Y-8","desktop-marginBottom--xxlarge":"_3jKh5ffF","marginLeft-xsmall":"_3D5GWbXE","marginLeft-small":"_3iypvYrg","marginLeft-medium":"_1YlqwPym","marginLeft-large":"_22o1sovn","marginLeft-xlarge":"_1MLXh3lW","marginLeft-xxlarge":"_2lwkfQiH","marginLeft--xsmall":"_14YCoxft","marginLeft--small":"ewcnIPqd","marginLeft--medium":"_2g1OVDe8","marginLeft--large":"_2ddA4m0W","marginLeft--xlarge":"_1GZwUWJN","marginLeft--xxlarge":"_31-qNiMv","tablet-marginLeft-xsmall":"_3BKnNzUJ","tablet-marginLeft-small":"_38oD_Jwb","tablet-marginLeft-medium":"_16zyVxt4","tablet-marginLeft-large":"_3gFPvRUF","tablet-marginLeft-xlarge":"_2e_oL8V0","tablet-marginLeft-xxlarge":"Y5R1Zk3t","tablet-marginLeft--xsmall":"_2Z7o0xJV","tablet-marginLeft--small":"_2IAsx91P","tablet-marginLeft--medium":"_1prIBzP1","tablet-marginLeft--large":"yBuaqMBN","tablet-marginLeft--xlarge":"_2gj-03xG","tablet-marginLeft--xxlarge":"_1tpj1o6k","desktop-marginLeft-xsmall":"Qr1HV5zM","desktop-marginLeft-small":"WJax_2dc","desktop-marginLeft-medium":"_281azCe0","desktop-marginLeft-large":"_2kTX0YwB","desktop-marginLeft-xlarge":"EQX8jGWW","desktop-marginLeft-xxlarge":"_94dEeX2M","desktop-marginLeft--xsmall":"_3Ps_CZcp","desktop-marginLeft--small":"_2h2uHZkI","desktop-marginLeft--medium":"ccCTloTg","desktop-marginLeft--large":"_16UyxR0i","desktop-marginLeft--xlarge":"_1ONy15Is","desktop-marginLeft--xxlarge":"OfjFZfgK"},module.exports=exports},265:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(154),__webpack_require__(1524);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames);__webpack_require__(986),__webpack_require__(484),__webpack_require__(2748);function getInitials(name){if(!name)return"";var seed=name.trim().split(" "),firstInitial=seed[0],lastInitial=seed[seed.length-1],initials=firstInitial[0];return firstInitial[0]!==lastInitial[0]&&(initials+=lastInitial[0]),initials.toUpperCase()}__webpack_require__(2745);var AVATAR_COLORS=["#fcc652","#e9952c","#e16b2d","#d84b40","#e8435a","#e5198a","#ad3889","#86389c","#a8a8a8","#98be2f","#5d9d50","#5f9f85","#5bbcb6","#32a3bf","#2bafeb","#2d88c3","#3863cc","#5e5e5e"],AVATAR_SIZES=["xxs","xs","s","m","l","xl","xxl","xxxl"];function Avatar(_ref){var email,maxIndex,seed,user=_ref.user,avatarUrl=_ref.avatarUrl,_ref$size=_ref.size,size=void 0===_ref$size?"l":_ref$size,className=_ref.className,_ref$colorList=_ref.colorList,colorList=void 0===_ref$colorList?AVATAR_COLORS:_ref$colorList,userInitials=getInitials(user.name)||getInitials(user.email),avatarSize=size&&AVATAR_SIZES.includes(size)?size:"l",avatarClass=classnames_default()("reactist_avatar reactist_avatar_size--".concat(avatarSize),className),style=avatarUrl?{backgroundImage:"url(".concat(avatarUrl,")"),textIndent:"-9999px"}:{backgroundColor:colorList[(email=user.email,maxIndex=colorList.length,seed=email.split("@")[0],(seed.charCodeAt(0)+seed.charCodeAt(seed.length-1)||0)%maxIndex)]};return react_default.a.createElement("div",{className:avatarClass,style:style},userInitials)}Avatar.displayName="Avatar",Avatar.displayName="Avatar";try{Avatar.displayName="Avatar",Avatar.__docgenInfo={description:"",displayName:"Avatar",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | undefined"}},colorList:{defaultValue:null,description:"",name:"colorList",required:!1,type:{name:"string[] | undefined"}},size:{defaultValue:{value:"l"},description:"",name:"size",required:!1,type:{name:'"l" | "xxs" | "xs" | "s" | "m" | "xl" | "xxl" | "xxxl" | undefined'}},avatarUrl:{defaultValue:null,description:"",name:"avatarUrl",required:!1,type:{name:"string | undefined"}},user:{defaultValue:null,description:"",name:"user",required:!0,type:{name:"{ name?: string | undefined; email: string; }"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/avatar/avatar.tsx#Avatar"]={docgenInfo:Avatar.__docgenInfo,name:"Avatar",path:"src/components/avatar/avatar.tsx#Avatar"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=Avatar},2659:function(module,exports,__webpack_require__){var content=__webpack_require__(2660);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2660:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,":root {\n /*\n * breakpoints\n *\n * Unfortunately CSS custom properties are not available in media queries. So these are not\n * being used right now (although all uses of the hardcoded value are annotated with the names.\n *\n * We could manage these as pre-processor variables, but that would leave the question about how\n * is going to be possible to customize these values from consumer apps.\n *\n * See https://stackoverflow.com/q/40722882/621809\n * Possible solution: https://www.npmjs.com/package/postcss-media-variables\n */\n --reactist-breakpoint-tablet: 768px;\n --reactist-breakpoint-desktop: 992px;\n /* spacing sizes */\n --reactist-spacing-xsmall: 4px;\n --reactist-spacing-small: 8px;\n --reactist-spacing-medium: 12px;\n --reactist-spacing-large: 16px;\n --reactist-spacing-xlarge: 24px;\n --reactist-spacing-xxlarge: 32px;\n /* font sizes */\n --reactist-font-size-caption: 12px;\n --reactist-font-size-copy: 13px;\n --reactist-font-size-body: 14px;\n --reactist-font-size-subtitle: 16px;\n --reactist-font-size-header: 20px;\n --reactist-font-size-header-large: 24px;\n --reactist-font-size-header-xlarge: 32px;\n /* font weight */\n --reactist-font-weight-regular: 400;\n --reactist-font-weight-medium: 500;\n --reactist-font-weight-strong: 700;\n /* border and separator colors */\n --reactist-framework-separator: #e6e6e6;\n --reactist-framework-border: #d6d6d6;\n --reactist-framework-border-focus: rgba(0, 0, 0, 0.4);\n --reactist-framework-border-alpha: rgba(0, 0, 0, 0.15);\n /* border-radius */\n --reactist-border-radius-small: 5px;\n --reactist-border-radius-large: 10px;\n /* background color */\n --reactist-bg-default: #ffffff;\n --reactist-bg-brand: #d1453b;\n --reactist-bg-aside: #fafafa;\n --reactist-bg-highlight: #f2f2f2;\n --reactist-bg-selected: #e6e6e6;\n /* colors */\n --reactist-framework-fill-accent: #e0edff;\n --reactist-framework-fill-aside: #fafafa;\n --reactist-framework-fill-background: #fafafa;\n --reactist-framework-fill-base: #ffffff;\n --reactist-framework-fill-crater: #f2f2f2;\n --reactist-framework-fill-crest: #e6e6e6;\n --reactist-framework-fill-elevated: #ffffff;\n --reactist-framework-fill-selected: #ececec;\n --reactist-framework-fill-highlight: #f2f2f2;\n --reactist-framework-fill-ledge: #e0e0e0;\n --reactist-framework-fill-peak: #3d3d3d;\n --reactist-framework-fill-pinnacle: #ebebeb;\n --reactist-framework-fill-ridge: #f2f2f2;\n --reactist-framework-fill-summit: #d6d6d6;\n --reactist-content-primary: rgba(0, 0, 0, 0.88);\n --reactist-content-secondary: rgba(0, 0, 0, 0.56);\n --reactist-content-tertiary: rgba(0, 0, 0, 0.4);\n --reactist-content-quaternary: rgba(0, 0, 0, 0.24);\n --reactist-content-light-on-dark: #ffffff;\n --reactist-chromatic-fill-red: #d1453b;\n --reactist-chromatic-fill-orange: #eb8d13;\n --reactist-chromatic-fill-green: #058527;\n --reactist-chromatic-fill-teal: #007e9e;\n --reactist-chromatic-fill-blue: #246fe0;\n --reactist-chromatic-fill-purple: #692fc2;\n --reactist-chromatic-fill-charcoal: #525252;\n --reactist-chromatic-fill-grey: #808080;\n --reactist-chromatic-fill-midnight: #4c5b70;\n --reactist-chromatic-content-red: #d1453b;\n --reactist-chromatic-content-orange: #eb8d13;\n --reactist-chromatic-content-green: #058527;\n --reactist-chromatic-content-green-background: rgba(5, 133, 39, 0.05);\n --reactist-chromatic-content-green-background-highlight: rgba(5, 133, 39, 0.1);\n --reactist-chromatic-content-teal: #007e9e;\n --reactist-chromatic-content-blue: #246fe0;\n --reactist-chromatic-content-purple: #692fc2;\n --reactist-chromatic-content-charcoal: #525252;\n --reactist-chromatic-content-grey: #808080;\n --reactist-chromatic-highlight-blue: #585d64;\n --reactist-chromatic-highlight-green: #d8ebdd;\n --reactist-chromatic-highlight-red: #fcf2f2;\n /* component-specific */\n --reactist-switch-checked: var(--reactist-chromatic-content-green);\n /* alerts */\n --reactist-alert-tone-info-icon: #1d438c;\n --reactist-alert-tone-info-border: var(--reactist-chromatic-content-blue);\n --reactist-alert-tone-info-background: rgba(36, 111, 224, 0.1);\n --reactist-alert-tone-positive-icon: #035017;\n --reactist-alert-tone-positive-border: var(--reactist-chromatic-content-green);\n --reactist-alert-tone-positive-background: rgba(5, 133, 39, 0.1);\n --reactist-alert-tone-caution-icon: #5e3704;\n --reactist-alert-tone-caution-border: var(--reactist-chromatic-content-orange);\n --reactist-alert-tone-caution-background: rgba(235, 141, 19, 0.2);\n --reactist-alert-tone-critical-icon: #b03d32;\n --reactist-alert-tone-critical-border: var(--reactist-chromatic-content-red);\n --reactist-alert-tone-critical-background: rgba(209, 69, 59, 0.1);\n}\n","",{version:3,sources:["webpack://src/new-components/default-styles.less"],names:[],mappings:"AAAA;EACE;;;;;;;;;;;MAWI;EACF,mCAAA;EACA,oCAAA;EACF,kBAAkB;EAEhB,8BAAA;EACA,6BAAA;EACA,+BAAA;EACA,8BAAA;EACA,+BAAA;EACA,gCAAA;EAAF,eAAe;EAGb,kCAAA;EACA,+BAAA;EACA,+BAAA;EACA,mCAAA;EACA,iCAAA;EACA,uCAAA;EACA,wCAAA;EADF,gBAAgB;EAId,mCAAA;EACA,kCAAA;EACA,kCAAA;EAFF,gCAAgC;EAK9B,uCAAA;EACA,oCAAA;EACA,qDAAA;EACA,sDAAA;EAHF,kBAAkB;EAMhB,mCAAA;EACA,oCAAA;EAJF,qBAAqB;EAOnB,8BAAA;EACA,4BAAA;EACA,4BAAA;EACA,gCAAA;EACA,+BAAA;EALF,WAAW;EAQT,yCAAA;EACA,wCAAA;EACA,6CAAA;EACA,uCAAA;EACA,yCAAA;EACA,wCAAA;EACA,2CAAA;EACA,2CAAA;EACA,4CAAA;EACA,wCAAA;EACA,uCAAA;EACA,2CAAA;EACA,wCAAA;EACA,yCAAA;EAEA,+CAAA;EACA,iDAAA;EACA,+CAAA;EACA,kDAAA;EACA,yCAAA;EAEA,sCAAA;EACA,yCAAA;EACA,wCAAA;EACA,uCAAA;EACA,uCAAA;EACA,yCAAA;EACA,2CAAA;EACA,uCAAA;EACA,2CAAA;EAEA,yCAAA;EACA,4CAAA;EACA,2CAAA;EACA,qEAAA;EACA,8EAAA;EACA,0CAAA;EACA,0CAAA;EACA,4CAAA;EACA,8CAAA;EACA,0CAAA;EAEA,4CAAA;EACA,6CAAA;EACA,2CAAA;EAVF,uBAAuB;EAarB,kEAAA;EAXF,WAAW;EAcT,wCAAA;EACA,yEAAA;EACA,8DAAA;EAEA,4CAAA;EACA,8EAAA;EACA,gEAAA;EAEA,2CAAA;EACA,8EAAA;EACA,iEAAA;EAEA,4CAAA;EACA,4EAAA;EACA,iEAAA;AAfJ",sourcesContent:[":root {\n /*\n * breakpoints\n *\n * Unfortunately CSS custom properties are not available in media queries. So these are not\n * being used right now (although all uses of the hardcoded value are annotated with the names.\n *\n * We could manage these as pre-processor variables, but that would leave the question about how\n * is going to be possible to customize these values from consumer apps.\n *\n * See https://stackoverflow.com/q/40722882/621809\n * Possible solution: https://www.npmjs.com/package/postcss-media-variables\n */\n --reactist-breakpoint-tablet: 768px;\n --reactist-breakpoint-desktop: 992px;\n\n /* spacing sizes */\n --reactist-spacing-xsmall: 4px;\n --reactist-spacing-small: 8px;\n --reactist-spacing-medium: 12px;\n --reactist-spacing-large: 16px;\n --reactist-spacing-xlarge: 24px;\n --reactist-spacing-xxlarge: 32px;\n\n /* font sizes */\n --reactist-font-size-caption: 12px;\n --reactist-font-size-copy: 13px;\n --reactist-font-size-body: 14px;\n --reactist-font-size-subtitle: 16px;\n --reactist-font-size-header: 20px;\n --reactist-font-size-header-large: 24px;\n --reactist-font-size-header-xlarge: 32px;\n\n /* font weight */\n --reactist-font-weight-regular: 400;\n --reactist-font-weight-medium: 500;\n --reactist-font-weight-strong: 700;\n\n /* border and separator colors */\n --reactist-framework-separator: rgb(230, 230, 230);\n --reactist-framework-border: rgb(214, 214, 214);\n --reactist-framework-border-focus: rgba(0, 0, 0, 0.4);\n --reactist-framework-border-alpha: rgba(0, 0, 0, 0.15);\n\n /* border-radius */\n --reactist-border-radius-small: 5px;\n --reactist-border-radius-large: 10px;\n\n /* background color */\n --reactist-bg-default: rgb(255, 255, 255);\n --reactist-bg-brand: rgb(209, 69, 59);\n --reactist-bg-aside: rgb(250, 250, 250);\n --reactist-bg-highlight: rgb(242, 242, 242);\n --reactist-bg-selected: rgb(230, 230, 230);\n\n /* colors */\n --reactist-framework-fill-accent: rgb(224, 237, 255);\n --reactist-framework-fill-aside: rgb(250, 250, 250);\n --reactist-framework-fill-background: rgb(250, 250, 250);\n --reactist-framework-fill-base: rgb(255, 255, 255);\n --reactist-framework-fill-crater: rgb(242, 242, 242);\n --reactist-framework-fill-crest: rgb(230, 230, 230);\n --reactist-framework-fill-elevated: rgb(255, 255, 255);\n --reactist-framework-fill-selected: rgb(236, 236, 236);\n --reactist-framework-fill-highlight: rgb(242, 242, 242);\n --reactist-framework-fill-ledge: rgb(224, 224, 224);\n --reactist-framework-fill-peak: rgb(61, 61, 61);\n --reactist-framework-fill-pinnacle: rgb(235, 235, 235);\n --reactist-framework-fill-ridge: rgb(242, 242, 242);\n --reactist-framework-fill-summit: rgb(214, 214, 214);\n\n --reactist-content-primary: rgba(0, 0, 0, 0.88);\n --reactist-content-secondary: rgba(0, 0, 0, 0.56);\n --reactist-content-tertiary: rgba(0, 0, 0, 0.4);\n --reactist-content-quaternary: rgba(0, 0, 0, 0.24);\n --reactist-content-light-on-dark: rgb(255, 255, 255);\n\n --reactist-chromatic-fill-red: rgb(209, 69, 59);\n --reactist-chromatic-fill-orange: rgb(235, 141, 19);\n --reactist-chromatic-fill-green: rgb(5, 133, 39);\n --reactist-chromatic-fill-teal: rgb(0, 126, 158);\n --reactist-chromatic-fill-blue: rgb(36, 111, 224);\n --reactist-chromatic-fill-purple: rgb(105, 47, 194);\n --reactist-chromatic-fill-charcoal: rgb(82, 82, 82);\n --reactist-chromatic-fill-grey: rgb(128, 128, 128);\n --reactist-chromatic-fill-midnight: rgb(76, 91, 112);\n\n --reactist-chromatic-content-red: rgb(209, 69, 59);\n --reactist-chromatic-content-orange: rgb(235, 141, 19);\n --reactist-chromatic-content-green: rgb(5, 133, 39);\n --reactist-chromatic-content-green-background: rgba(5, 133, 39, 0.05);\n --reactist-chromatic-content-green-background-highlight: rgba(5, 133, 39, 0.1);\n --reactist-chromatic-content-teal: rgb(0, 126, 158);\n --reactist-chromatic-content-blue: rgb(36, 111, 224);\n --reactist-chromatic-content-purple: rgb(105, 47, 194);\n --reactist-chromatic-content-charcoal: rgb(82, 82, 82);\n --reactist-chromatic-content-grey: rgb(128, 128, 128);\n\n --reactist-chromatic-highlight-blue: rgb(88, 93, 100);\n --reactist-chromatic-highlight-green: rgb(216, 235, 221);\n --reactist-chromatic-highlight-red: rgb(252, 242, 242);\n\n /* component-specific */\n --reactist-switch-checked: var(--reactist-chromatic-content-green);\n\n /* alerts */\n --reactist-alert-tone-info-icon: #1d438c;\n --reactist-alert-tone-info-border: var(--reactist-chromatic-content-blue);\n --reactist-alert-tone-info-background: rgba(36, 111, 224, 0.1);\n\n --reactist-alert-tone-positive-icon: #035017;\n --reactist-alert-tone-positive-border: var(--reactist-chromatic-content-green);\n --reactist-alert-tone-positive-background: rgba(5, 133, 39, 0.1);\n\n --reactist-alert-tone-caution-icon: #5e3704;\n --reactist-alert-tone-caution-border: var(--reactist-chromatic-content-orange);\n --reactist-alert-tone-caution-background: rgba(235, 141, 19, 0.2);\n\n --reactist-alert-tone-critical-icon: #b03d32;\n --reactist-alert-tone-critical-border: var(--reactist-chromatic-content-red);\n --reactist-alert-tone-critical-background: rgba(209, 69, 59, 0.1);\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2661:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._3b1oRRUM>:not(:first-child){margin-top:var(--reactist-spacing-xsmall)}.mbc3LUo1>:not(:first-child){margin-top:var(--reactist-spacing-small)}.TErpU7nP>:not(:first-child){margin-top:var(--reactist-spacing-medium)}._19PQeR--\x3e:not(:first-child){margin-top:var(--reactist-spacing-large)}._3BKTI-j7>:not(:first-child){margin-top:var(--reactist-spacing-xlarge)}._1QQfSO-y>:not(:first-child){margin-top:var(--reactist-spacing-xxlarge)}@media (min-width:768px){.rQVejOPW>:not(:first-child){margin-top:var(--reactist-spacing-xsmall)}.eCh5FkgK>:not(:first-child){margin-top:var(--reactist-spacing-small)}._29GNHdPc>:not(:first-child){margin-top:var(--reactist-spacing-medium)}._1sChkByM>:not(:first-child){margin-top:var(--reactist-spacing-large)}._2KfFWNg1>:not(:first-child){margin-top:var(--reactist-spacing-xlarge)}._3kgDZO8U>:not(:first-child){margin-top:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3SK4ZSq7>:not(:first-child){margin-top:var(--reactist-spacing-xsmall)}.L2TBoAaZ>:not(:first-child){margin-top:var(--reactist-spacing-small)}.qG_1ntRy>:not(:first-child){margin-top:var(--reactist-spacing-medium)}._2j6trIBI>:not(:first-child){margin-top:var(--reactist-spacing-large)}._12-ygMAC>:not(:first-child){margin-top:var(--reactist-spacing-xlarge)}._1YzVvjNw>:not(:first-child){margin-top:var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"space-xsmall":"_3b1oRRUM","space-small":"mbc3LUo1","space-medium":"TErpU7nP","space-large":"_19PQeR--","space-xlarge":"_3BKTI-j7","space-xxlarge":"_1QQfSO-y","tablet-space-xsmall":"rQVejOPW","tablet-space-small":"eCh5FkgK","tablet-space-medium":"_29GNHdPc","tablet-space-large":"_1sChkByM","tablet-space-xlarge":"_2KfFWNg1","tablet-space-xxlarge":"_3kgDZO8U","desktop-space-xsmall":"_3SK4ZSq7","desktop-space-small":"L2TBoAaZ","desktop-space-medium":"qG_1ntRy","desktop-space-large":"_2j6trIBI","desktop-space-xlarge":"_12-ygMAC","desktop-space-xxlarge":"_1YzVvjNw"},module.exports=exports},2662:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._3Rf-23qb{border:none;border-bottom:1px solid var(--reactist-framework-separator)}._1Jue_n_H{border-color:var(--reactist-framework-border-focus)}",""]),exports.locals={divider:"_3Rf-23qb","weight-strong":"_1Jue_n_H"},module.exports=exports},2664:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,".eMdJaLwo{color:var(--reactist-content-primary);font-weight:var(--reactist-font-weight-strong)}._3iAwnzzO{font-weight:var(--reactist-font-weight-regular)}._3p8-J0VZ{color:var(--reactist-content-secondary)}._1Qasvyzb{color:var(--reactist-chromatic-content-red)}h1.eMdJaLwo{font-size:var(--reactist-font-size-header)}h1._1-yjZY8K{font-size:var(--reactist-font-size-header-xlarge)}h1._3M5sPjXF{font-size:var(--reactist-font-size-header-large)}h1._1_j4Pm2D,h2.eMdJaLwo{font-size:var(--reactist-font-size-subtitle)}h2._1-yjZY8K{font-size:var(--reactist-font-size-header-large)}h2._3M5sPjXF{font-size:var(--reactist-font-size-header)}h2._1_j4Pm2D,h3.eMdJaLwo{font-size:var(--reactist-font-size-body)}h3._1-yjZY8K{font-size:var(--reactist-font-size-header)}h3._3M5sPjXF{font-size:var(--reactist-font-size-subtitle)}h3._1_j4Pm2D{font-size:var(--reactist-font-size-caption)}h4.eMdJaLwo,h5.eMdJaLwo,h6.eMdJaLwo{font-size:var(--reactist-font-size-body)}h4._1-yjZY8K,h5._1-yjZY8K,h6._1-yjZY8K{font-size:var(--reactist-font-size-header)}h4._3M5sPjXF,h5._3M5sPjXF,h6._3M5sPjXF{font-size:var(--reactist-font-size-subtitle)}._1Uy0Yp-U{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._2yqCSry4{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}._1UgXSTeE{-webkit-line-clamp:2}._1njU6r08{-webkit-line-clamp:3}._2wNi7jvQ{-webkit-line-clamp:4}._2wo2NW21{-webkit-line-clamp:5}",""]),exports.locals={heading:"eMdJaLwo","weight-light":"_3iAwnzzO","tone-secondary":"_3p8-J0VZ","tone-danger":"_1Qasvyzb","size-largest":"_1-yjZY8K","size-larger":"_3M5sPjXF","size-smaller":"_1_j4Pm2D","line-clamp-1":"_1Uy0Yp-U",lineClamp:"_2yqCSry4","line-clamp-2":"_1UgXSTeE","line-clamp-3":"_1njU6r08","line-clamp-4":"_2wNi7jvQ","line-clamp-5":"_2wo2NW21"},module.exports=exports},2665:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._3Eg84Gxm{font-size:var(--reactist-font-size-body);font-weight:var(--reactist-font-weight-regular);color:var(--reactist-content-primary)}._2vPa3hY9{font-size:var(--reactist-font-size-caption)}.KNXgq0Xg{font-size:var(--reactist-font-size-copy)}._2n06t_D7{font-size:var(--reactist-font-size-body)}._3VDhACkJ{font-size:var(--reactist-font-size-subtitle)}._2zYtK3m_{font-weight:var(--reactist-font-weight-medium)}.ol0zG77d{font-weight:var(--reactist-font-weight-strong)}.zPORrfzj{color:var(--reactist-content-secondary)}._2lgSOyOF{color:var(--reactist-chromatic-content-red)}._16YsJq7Y{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FfDzE8ee{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}._1_gxWVG9{-webkit-line-clamp:2}._3QzI87wT{-webkit-line-clamp:3}._2tMJfik8{-webkit-line-clamp:4}._3LyjhixI{-webkit-line-clamp:5}",""]),exports.locals={text:"_3Eg84Gxm","size-caption":"_2vPa3hY9","size-copy":"KNXgq0Xg","size-body":"_2n06t_D7","size-subtitle":"_3VDhACkJ","weight-semibold":"_2zYtK3m_","weight-bold":"ol0zG77d","tone-secondary":"zPORrfzj","tone-danger":"_2lgSOyOF","line-clamp-1":"_16YsJq7Y",lineClamp:"FfDzE8ee","line-clamp-2":"_1_gxWVG9","line-clamp-3":"_3QzI87wT","line-clamp-4":"_2tMJfik8","line-clamp-5":"_3LyjhixI"},module.exports=exports},2666:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._3PBgCLuk{margin:calc(var(--reactist-spacing-xsmall)*-1) 0 0 calc(var(--reactist-spacing-xsmall)*-1)}._3PBgCLuk>*{margin:var(--reactist-spacing-xsmall) 0 0 var(--reactist-spacing-xsmall)}._1EQqWgsX{margin:calc(var(--reactist-spacing-small)*-1) 0 0 calc(var(--reactist-spacing-small)*-1)}._1EQqWgsX>*{margin:var(--reactist-spacing-small) 0 0 var(--reactist-spacing-small)}._12U1xEUI{margin:calc(var(--reactist-spacing-medium)*-1) 0 0 calc(var(--reactist-spacing-medium)*-1)}._12U1xEUI>*{margin:var(--reactist-spacing-medium) 0 0 var(--reactist-spacing-medium)}._3Vq15WCN{margin:calc(var(--reactist-spacing-large)*-1) 0 0 calc(var(--reactist-spacing-large)*-1)}._3Vq15WCN>*{margin:var(--reactist-spacing-large) 0 0 var(--reactist-spacing-large)}._1qMcBSA4{margin:calc(var(--reactist-spacing-xlarge)*-1) 0 0 calc(var(--reactist-spacing-xlarge)*-1)}._1qMcBSA4>*{margin:var(--reactist-spacing-xlarge) 0 0 var(--reactist-spacing-xlarge)}._2Ya091P2{margin:calc(var(--reactist-spacing-xxlarge)*-1) 0 0 calc(var(--reactist-spacing-xxlarge)*-1)}._2Ya091P2>*{margin:var(--reactist-spacing-xxlarge) 0 0 var(--reactist-spacing-xxlarge)}@media (min-width:768px){._3BnTN3GQ{margin:calc(var(--reactist-spacing-xsmall)*-1) 0 0 calc(var(--reactist-spacing-xsmall)*-1)}._3BnTN3GQ>*{margin:var(--reactist-spacing-xsmall) 0 0 var(--reactist-spacing-xsmall)}._2md5L24y{margin:calc(var(--reactist-spacing-small)*-1) 0 0 calc(var(--reactist-spacing-small)*-1)}._2md5L24y>*{margin:var(--reactist-spacing-small) 0 0 var(--reactist-spacing-small)}._3ysAA2oN{margin:calc(var(--reactist-spacing-medium)*-1) 0 0 calc(var(--reactist-spacing-medium)*-1)}._3ysAA2oN>*{margin:var(--reactist-spacing-medium) 0 0 var(--reactist-spacing-medium)}._2KoqN92B{margin:calc(var(--reactist-spacing-large)*-1) 0 0 calc(var(--reactist-spacing-large)*-1)}._2KoqN92B>*{margin:var(--reactist-spacing-large) 0 0 var(--reactist-spacing-large)}._2nHdneYv{margin:calc(var(--reactist-spacing-xlarge)*-1) 0 0 calc(var(--reactist-spacing-xlarge)*-1)}._2nHdneYv>*{margin:var(--reactist-spacing-xlarge) 0 0 var(--reactist-spacing-xlarge)}.BI8mwh9K{margin:calc(var(--reactist-spacing-xxlarge)*-1) 0 0 calc(var(--reactist-spacing-xxlarge)*-1)}.BI8mwh9K>*{margin:var(--reactist-spacing-xxlarge) 0 0 var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3xos_1Ec{margin:calc(var(--reactist-spacing-xsmall)*-1) 0 0 calc(var(--reactist-spacing-xsmall)*-1)}._3xos_1Ec>*{margin:var(--reactist-spacing-xsmall) 0 0 var(--reactist-spacing-xsmall)}._1ZYtlaQe{margin:calc(var(--reactist-spacing-small)*-1) 0 0 calc(var(--reactist-spacing-small)*-1)}._1ZYtlaQe>*{margin:var(--reactist-spacing-small) 0 0 var(--reactist-spacing-small)}.YdLlurS5{margin:calc(var(--reactist-spacing-medium)*-1) 0 0 calc(var(--reactist-spacing-medium)*-1)}.YdLlurS5>*{margin:var(--reactist-spacing-medium) 0 0 var(--reactist-spacing-medium)}.yxsHB9YW{margin:calc(var(--reactist-spacing-large)*-1) 0 0 calc(var(--reactist-spacing-large)*-1)}.yxsHB9YW>*{margin:var(--reactist-spacing-large) 0 0 var(--reactist-spacing-large)}.SFaqC2zl{margin:calc(var(--reactist-spacing-xlarge)*-1) 0 0 calc(var(--reactist-spacing-xlarge)*-1)}.SFaqC2zl>*{margin:var(--reactist-spacing-xlarge) 0 0 var(--reactist-spacing-xlarge)}._2IDfe2UJ{margin:calc(var(--reactist-spacing-xxlarge)*-1) 0 0 calc(var(--reactist-spacing-xxlarge)*-1)}._2IDfe2UJ>*{margin:var(--reactist-spacing-xxlarge) 0 0 var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"space-xsmall":"_3PBgCLuk","space-small":"_1EQqWgsX","space-medium":"_12U1xEUI","space-large":"_3Vq15WCN","space-xlarge":"_1qMcBSA4","space-xxlarge":"_2Ya091P2","tablet-space-xsmall":"_3BnTN3GQ","tablet-space-small":"_2md5L24y","tablet-space-medium":"_3ysAA2oN","tablet-space-large":"_2KoqN92B","tablet-space-xlarge":"_2nHdneYv","tablet-space-xxlarge":"BI8mwh9K","desktop-space-xsmall":"_3xos_1Ec","desktop-space-small":"_1ZYtlaQe","desktop-space-medium":"YdLlurS5","desktop-space-large":"yxsHB9YW","desktop-space-xlarge":"SFaqC2zl","desktop-space-xxlarge":"_2IDfe2UJ"},module.exports=exports},2667:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._1bQVLu_c,._1bQVLu_c *{cursor:pointer}._1bQVLu_c.SK3Nm9ZP,._1bQVLu_c.SK3Nm9ZP *{cursor:not-allowed}._1bQVLu_c.SK3Nm9ZP{opacity:.5}._1bQVLu_c svg{color:var(--reactist-content-secondary);border-radius:5px}._1bQVLu_c._2Lq39YAM svg{color:var(--reactist-switch-checked)}",""]),exports.locals={container:"_1bQVLu_c",disabled:"SK3Nm9ZP",checked:"_2Lq39YAM"},module.exports=exports},2668:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._1XTE1OGJ{width:1px;height:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}",""]),exports.locals={hiddenVisually:"_1XTE1OGJ"},module.exports=exports},2669:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"AlignmentStory",(function(){return AlignmentStory})),__webpack_require__.d(__webpack_exports__,"WidthsStory",(function(){return WidthsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"FlexChildStory",(function(){return FlexChildStory})),__webpack_require__.d(__webpack_exports__,"NestedColumnsStory",(function(){return NestedColumnsStory}));__webpack_require__(183),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(3),_stack__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(34),_box__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(51),_columns__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(8);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i) {\n return (\n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},AlignmentStory.parameters),WidthsStory.parameters=_objectSpread({storySource:{source:'function WidthsStory({ space }: PartialProps) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},WidthsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:"function ResponsiveStory(args: PartialProps) {\n return (\n <>\n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n )\n}"}},ResponsiveStory.parameters),FlexChildStory.parameters=_objectSpread({storySource:{source:'function FlexChildStory(args: PartialProps) {\n return (\n \n \n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n )\n}'}},FlexChildStory.parameters),NestedColumnsStory.parameters=_objectSpread({storySource:{source:'function NestedColumnsStory(args: PartialProps) {\n return (\n \n \n \n \n \n\n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n\n \n \n \n \n \n )\n}'}},NestedColumnsStory.parameters);try{AlignmentStory.displayName="AlignmentStory",AlignmentStory.__docgenInfo={description:"",displayName:"AlignmentStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#AlignmentStory"]={docgenInfo:AlignmentStory.__docgenInfo,name:"AlignmentStory",path:"src/new-components/columns/columns.stories.tsx#AlignmentStory"})}catch(__react_docgen_typescript_loader_error){}try{WidthsStory.displayName="WidthsStory",WidthsStory.__docgenInfo={description:"",displayName:"WidthsStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#WidthsStory"]={docgenInfo:WidthsStory.__docgenInfo,name:"WidthsStory",path:"src/new-components/columns/columns.stories.tsx#WidthsStory"})}catch(__react_docgen_typescript_loader_error){}try{ResponsiveStory.displayName="ResponsiveStory",ResponsiveStory.__docgenInfo={description:"",displayName:"ResponsiveStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#ResponsiveStory"]={docgenInfo:ResponsiveStory.__docgenInfo,name:"ResponsiveStory",path:"src/new-components/columns/columns.stories.tsx#ResponsiveStory"})}catch(__react_docgen_typescript_loader_error){}try{FlexChildStory.displayName="FlexChildStory",FlexChildStory.__docgenInfo={description:"",displayName:"FlexChildStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#FlexChildStory"]={docgenInfo:FlexChildStory.__docgenInfo,name:"FlexChildStory",path:"src/new-components/columns/columns.stories.tsx#FlexChildStory"})}catch(__react_docgen_typescript_loader_error){}try{NestedColumnsStory.displayName="NestedColumnsStory",NestedColumnsStory.__docgenInfo={description:"",displayName:"NestedColumnsStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#NestedColumnsStory"]={docgenInfo:NestedColumnsStory.__docgenInfo,name:"NestedColumnsStory",path:"src/new-components/columns/columns.stories.tsx#NestedColumnsStory"})}catch(__react_docgen_typescript_loader_error){}},2672:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._2L5zGsYJ{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._2L5zGsYJ>._3QBzbLDq{padding-left:var(--reactist-spacing-xsmall)}.SPcToWBT{margin-left:calc(var(--reactist-spacing-small)*-1)}.SPcToWBT>._3QBzbLDq{padding-left:var(--reactist-spacing-small)}._34KmL1aL{margin-left:calc(var(--reactist-spacing-medium)*-1)}._34KmL1aL>._3QBzbLDq{padding-left:var(--reactist-spacing-medium)}._3-IO4Ua9{margin-left:calc(var(--reactist-spacing-large)*-1)}._3-IO4Ua9>._3QBzbLDq{padding-left:var(--reactist-spacing-large)}._3c3sKQuS{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._3c3sKQuS>._3QBzbLDq{padding-left:var(--reactist-spacing-xlarge)}._1LF97wKT{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}._1LF97wKT>._3QBzbLDq{padding-left:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1geI5sQZ{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._1geI5sQZ>._3QBzbLDq{padding-left:var(--reactist-spacing-xsmall)}._2x39uRmC{margin-left:calc(var(--reactist-spacing-small)*-1)}._2x39uRmC>._3QBzbLDq{padding-left:var(--reactist-spacing-small)}._1wj9bZXt{margin-left:calc(var(--reactist-spacing-medium)*-1)}._1wj9bZXt>._3QBzbLDq{padding-left:var(--reactist-spacing-medium)}._2xPtCUIx{margin-left:calc(var(--reactist-spacing-large)*-1)}._2xPtCUIx>._3QBzbLDq{padding-left:var(--reactist-spacing-large)}.hV0FeHTP{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}.hV0FeHTP>._3QBzbLDq{padding-left:var(--reactist-spacing-xlarge)}._2tXjCbOw{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}._2tXjCbOw>._3QBzbLDq{padding-left:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._264WtIQZ{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}.hq9g6RX7>._3QBzbLDq{padding-left:var(--reactist-spacing-xsmall)}.hq9g6RX7{margin-left:calc(var(--reactist-spacing-small)*-1)}.hq9g6RX7>._3QBzbLDq{padding-left:var(--reactist-spacing-small)}.Qqka4eXS{margin-left:calc(var(--reactist-spacing-medium)*-1)}.Qqka4eXS>._3QBzbLDq{padding-left:var(--reactist-spacing-medium)}._1dQPZ4Mc{margin-left:calc(var(--reactist-spacing-large)*-1)}._1dQPZ4Mc>._3QBzbLDq{padding-left:var(--reactist-spacing-large)}._1DozdJT1{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._1DozdJT1>._3QBzbLDq{padding-left:var(--reactist-spacing-xlarge)}._2vjJqslP{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}._2vjJqslP>._3QBzbLDq{padding-left:var(--reactist-spacing-xxlarge)}}.bfhlTd94{width:100%}._1CFc-5RN{flex:0 0 50%}._3xfjmaWI{flex:0 0 33.33333%}._2VQkmkcm{flex:0 0 66.66667%}._1FULVP2z{flex:0 0 25%}._3cdnxheZ{flex:0 0 75%}._3jkZjr5Y{flex:0 0 20%}._25dhGRvr{flex:0 0 40%}._2lN2kQ8T{flex:0 0 60%}._365V5wtc{flex:0 0 80%}._2L5zGsYJ{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2L5zGsYJ>*{margin-top:var(--reactist-spacing-xsmall)}.SPcToWBT{margin-top:calc(var(--reactist-spacing-small)*-1)}.SPcToWBT>*{margin-top:var(--reactist-spacing-small)}._34KmL1aL{margin-top:calc(var(--reactist-spacing-medium)*-1)}._34KmL1aL>*{margin-top:var(--reactist-spacing-medium)}._3-IO4Ua9{margin-top:calc(var(--reactist-spacing-large)*-1)}._3-IO4Ua9>*{margin-top:var(--reactist-spacing-large)}._3c3sKQuS{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._3c3sKQuS>*{margin-top:var(--reactist-spacing-xlarge)}._1LF97wKT{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}._1LF97wKT>*{margin-top:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1geI5sQZ{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._3BzLxo2T>*{margin-top:var(--reactist-spacing-xsmall)}._2x39uRmC{margin-top:calc(var(--reactist-spacing-small)*-1)}._2x39uRmC>*{margin-top:var(--reactist-spacing-small)}._1wj9bZXt{margin-top:calc(var(--reactist-spacing-medium)*-1)}._1wj9bZXt>*{margin-top:var(--reactist-spacing-medium)}._2xPtCUIx{margin-top:calc(var(--reactist-spacing-large)*-1)}._2xPtCUIx>*{margin-top:var(--reactist-spacing-large)}.hV0FeHTP{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}.hV0FeHTP>*{margin-top:var(--reactist-spacing-xlarge)}._2tXjCbOw{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}._2tXjCbOw>*{margin-top:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._264WtIQZ{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._264WtIQZ>*{margin-top:var(--reactist-spacing-xsmall)}.hq9g6RX7{margin-top:calc(var(--reactist-spacing-small)*-1)}.hq9g6RX7>*{margin-top:var(--reactist-spacing-small)}.Qqka4eXS{margin-top:calc(var(--reactist-spacing-medium)*-1)}.Qqka4eXS>*{margin-top:var(--reactist-spacing-medium)}._1dQPZ4Mc{margin-top:calc(var(--reactist-spacing-large)*-1)}._1dQPZ4Mc>*{margin-top:var(--reactist-spacing-large)}._1DozdJT1{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._1DozdJT1>*{margin-top:var(--reactist-spacing-xlarge)}._2vjJqslP{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}._2vjJqslP>*{margin-top:var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"space-xsmall":"_2L5zGsYJ",column:"_3QBzbLDq","space-small":"SPcToWBT","space-medium":"_34KmL1aL","space-large":"_3-IO4Ua9","space-xlarge":"_3c3sKQuS","space-xxlarge":"_1LF97wKT","tablet-space-xsmall":"_1geI5sQZ","tablet-space-small":"_2x39uRmC","tablet-space-medium":"_1wj9bZXt","tablet-space-large":"_2xPtCUIx","tablet-space-xlarge":"hV0FeHTP","tablet-space-xxlarge":"_2tXjCbOw","desktop-space-xsmall":"_264WtIQZ","desktop-space-small":"hq9g6RX7","desktop-space-medium":"Qqka4eXS","desktop-space-large":"_1dQPZ4Mc","desktop-space-xlarge":"_1DozdJT1","desktop-space-xxlarge":"_2vjJqslP","columnWidth-auto":"bfhlTd94","columnWidth-1-2":"_1CFc-5RN","columnWidth-1-3":"_3xfjmaWI","columnWidth-2-3":"_2VQkmkcm","columnWidth-1-4":"_1FULVP2z","columnWidth-3-4":"_3cdnxheZ","columnWidth-1-5":"_3jkZjr5Y","columnWidth-2-5":"_25dhGRvr","columnWidth-3-5":"_2lN2kQ8T","columnWidth-4-5":"_365V5wtc","tablet-tablet-space-xsmall":"_3BzLxo2T"},module.exports=exports},2673:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"HeadingStory",(function(){return HeadingStory})),__webpack_require__.d(__webpack_exports__,"TruncatedHeadingStory",(function(){return TruncatedHeadingStory})),__webpack_require__.d(__webpack_exports__,"HeadingPlaygroundStory",(function(){return HeadingPlaygroundStory}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_stack__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(34),_heading__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(36),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/Heading",component:_heading__WEBPACK_IMPORTED_MODULE_12__.a,argTypes:{level:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["1","2","3","4","5","6"],"1"),size:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.i)(["largest","larger","smaller"]),weight:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["regular","light"],"regular"),lineClamp:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)([1,2,3,4,5],1),children:{control:{type:"text"},defaultValue:"Lorem ipsum dolor, sit amet consectetur adipisicing elit"},tone:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["normal","secondary","danger"],"normal")}};var HeadingStory=function HeadingStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{dividers:!0,space:"medium"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"largest"},"Heading level 1, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"larger"},"Heading level 1, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1},"Heading level 1"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"smaller"},"Heading level 1, smaller")),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,size:"largest"},"Heading level 2, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,size:"larger"},"Heading level 2, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2},"Heading level 2"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,size:"smaller"},"Heading level 2, smaller")),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3,size:"largest"},"Heading level 3, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3,size:"larger"},"Heading level 3, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3},"Heading level 3"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3,size:"smaller"},"Heading level 3, smaller")),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:4,size:"largest"},"Heading level 4 / 5 / 6, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:4,size:"larger"},"Heading level 4 / 5 / 6, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:4},"Heading level 4 / 5 / 6"))))};HeadingStory.displayName="HeadingStory",HeadingStory.argTypes={level:{control:!1},size:{control:!1},weight:{control:!1},lineClamp:{control:!1},children:{control:!1},tone:{control:!1}};var TruncatedHeadingStory=function TruncatedHeadingStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"largest",lineClamp:1},"This is a long title which we will use demonstrate truncating content. When this overflows and begins to drop to a new line, its overflowing content will be replaced by ellipses."),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,lineClamp:2},"Now we have a subtitle which we will use to demostrate truncating to multiple lines. Sometimes we need to provide more context yet still remain skimmable to users, and subtitles are a good way to do this. As it’s much longer now we can allow a second line to be displayed before truncating it at two lines."))};TruncatedHeadingStory.displayName="TruncatedHeadingStory",TruncatedHeadingStory.argTypes={level:{control:!1},size:{control:!1},weight:{control:!1},lineClamp:{control:!1},children:{control:!1},tone:{control:!1}};var HeadingPlaygroundStory=function HeadingPlaygroundStory(_ref){var children=_ref.children,args=_objectWithoutProperties(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story playground"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,args,children))};HeadingPlaygroundStory.displayName="HeadingPlaygroundStory",HeadingStory.parameters=_objectSpread({storySource:{source:'function HeadingStory() {\n return (\n
\n \n \n \n Heading level 1, largest\n \n \n Heading level 1, larger\n \n Heading level 1\n \n Heading level 1, smaller\n \n \n\n \n \n Heading level 2, largest\n \n \n Heading level 2, larger\n \n Heading level 2\n \n Heading level 2, smaller\n \n \n\n \n \n Heading level 3, largest\n \n \n Heading level 3, larger\n \n Heading level 3\n \n Heading level 3, smaller\n \n \n\n \n \n Heading level 4 / 5 / 6, largest\n \n \n Heading level 4 / 5 / 6, larger\n \n Heading level 4 / 5 / 6\n \n \n
\n )\n}'}},HeadingStory.parameters),TruncatedHeadingStory.parameters=_objectSpread({storySource:{source:'function TruncatedHeadingStory() {\n return (\n
\n \n This is a long title which we will use demonstrate truncating content. When this\n overflows and begins to drop to a new line, its overflowing content will be replaced\n by ellipses.\n \n \n Now we have a subtitle which we will use to demostrate truncating to multiple lines.\n Sometimes we need to provide more context yet still remain skimmable to users, and\n subtitles are a good way to do this. As it’s much longer now we can allow a\n second line to be displayed before truncating it at two lines.\n \n
\n )\n}'}},TruncatedHeadingStory.parameters),HeadingPlaygroundStory.parameters=_objectSpread({storySource:{source:'function HeadingPlaygroundStory({\n children,\n ...args\n}: React.ComponentProps) {\n return (\n
\n {children}\n
\n )\n}'}},HeadingPlaygroundStory.parameters);try{HeadingPlaygroundStory.displayName="HeadingPlaygroundStory",HeadingPlaygroundStory.__docgenInfo={description:"",displayName:"HeadingPlaygroundStory",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"smaller" | "larger" | "largest" | undefined'}},exceptionallySetClassName:{defaultValue:null,description:"",name:"exceptionallySetClassName",required:!1,type:{name:"string | undefined"}},level:{defaultValue:null,description:"",name:"level",required:!0,type:{name:"HeadingLevel"}},weight:{defaultValue:null,description:"",name:"weight",required:!1,type:{name:'"regular" | "light" | undefined'}},tone:{defaultValue:null,description:"",name:"tone",required:!1,type:{name:'"secondary" | "danger" | "normal" | undefined'}},lineClamp:{defaultValue:null,description:"",name:"lineClamp",required:!1,type:{name:'1 | 2 | 5 | "1" | 3 | "2" | 4 | "3" | "4" | "5" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/heading/heading.stories.tsx#HeadingPlaygroundStory"]={docgenInfo:HeadingPlaygroundStory.__docgenInfo,name:"HeadingPlaygroundStory",path:"src/new-components/heading/heading.stories.tsx#HeadingPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2674:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"@media print{._2msVAKLp{display:none}}",""]),exports.locals={hiddenOnPrint:"_2msVAKLp"},module.exports=exports},2675:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return InteractivePropsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"NestedStackStory",(function(){return NestedStackStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3),_stack__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(34),_heading__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(36),_inline__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(205);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i) {\n return (\n \n {renderInlineContent()}\n \n )\n}'}},InteractivePropsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:"function ResponsiveStory() {\n return (\n <>\n \n \n \n \n {renderInlineContent()}\n \n \n \n \n {renderInlineContent()}\n \n \n \n \n )\n}"}},ResponsiveStory.parameters),NestedStackStory.parameters=_objectSpread({storySource:{source:'function NestedStackStory({ space }: PartialProps) {\n return (\n <>\n \n Parent stack with space=“{space ?? \'none\'}”\n {renderInlineContent()}\n {renderInlineContent()}\n \n \n )\n}'}},NestedStackStory.parameters);try{InteractivePropsStory.displayName="InteractivePropsStory",InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center"] | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center", "top" | "bottom" | "center"] | Readonly<...> | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/inline/inline.stories.tsx#InteractivePropsStory"]={docgenInfo:InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/inline/inline.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{NestedStackStory.displayName="NestedStackStory",NestedStackStory.__docgenInfo={description:"",displayName:"NestedStackStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center"] | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center", "top" | "bottom" | "center"] | Readonly<...> | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/inline/inline.stories.tsx#NestedStackStory"]={docgenInfo:NestedStackStory.__docgenInfo,name:"NestedStackStory",path:"src/new-components/inline/inline.stories.tsx#NestedStackStory"})}catch(__react_docgen_typescript_loader_error){}},2676:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._2HLiIZcL input{padding-right:0;box-shadow:none!important;border:none}._2HLiIZcL button{outline:none;line-height:0;align-self:stretch;margin:2px;border:none;border-radius:3px;background:none;color:var(--reactist-content-secondary);cursor:pointer}._2HLiIZcL button:focus,._2HLiIZcL button:hover{color:var(--reactist-content-primary);background-color:var(--reactist-bg-selected)}",""]),exports.locals={inputWrapper:"_2HLiIZcL"},module.exports=exports},2677:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._1SDzTpJO{border-radius:var(--reactist-border-radius-small);border:1px solid var(--reactist-framework-border);overflow:clip}._1SDzTpJO:focus-within{border-color:var(--reactist-framework-border-focus)}._1SDzTpJO input{color:var(--reactist-content-primary);flex:1;outline:none;box-sizing:border-box;width:100%;background:transparent;border:none;--tmp-desired-height:30px;--tmp-line-height-increase:4px;--tmp-vertical-padding:calc((var(--tmp-desired-height) - var(--reactist-font-size-body) - var(--tmp-line-height-increase))/2);font-size:var(--reactist-font-size-body);line-height:calc(var(--reactist-font-size-body) + 4px);padding:var(--tmp-vertical-padding) 10px;margin:0}",""]),exports.locals={inputWrapper:"_1SDzTpJO"},module.exports=exports},2678:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._1cLJxWaH{font-weight:var(--reactist-font-weight-strong)}._2vgabN3M{color:var(--reactist-content-secondary)}.pGcYpWI_{text-align:right}",""]),exports.locals={primaryLabel:"_1cLJxWaH",secondaryLabel:"_2vgabN3M",auxiliaryLabel:"pGcYpWI_"},module.exports=exports},2679:function(module,exports,__webpack_require__){var content=__webpack_require__(2680);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2680:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_tooltip {\n font-size: 0.81rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.6;\n text-align: center;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 100%;\n padding: 5px 10px;\n background-color: #333333;\n color: white;\n border: none;\n border-radius: 3px;\n z-index: 1000;\n}\n","",{version:3,sources:["webpack://src/components/tooltip/tooltip.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAIA;EC2CI,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ED5CA,kBAAA;EACA,uBAAA;EACA,gBAAA;EACA,eAAA;EACA,iBAAA;EACA,yBAAA;EACA,YAAA;EACA,YAAA;EACA,kBAAA;EACA,aAAA;AAAJ",sourcesContent:["@import '../styles/constants.less';\n\n@tooltip_background: @color_almost_black;\n\n.reactist_tooltip {\n .smaller_text();\n text-align: center;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 100%;\n padding: 5px 10px;\n background-color: @tooltip_background;\n color: white;\n border: none;\n border-radius: 3px;\n z-index: @z-index-tooltip;\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2681:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._37qME_zw{width:100%;position:relative}._37qME_zw svg{position:absolute;right:10px;top:8px;bottom:8px;color:var(--reactist-content-secondary)}._37qME_zw select{position:relative;z-index:1;--tmp-desired-height:32px;--tmp-line-height-increase:4px;--tmp-vertical-padding:calc((var(--tmp-desired-height) - var(--reactist-font-size-body) - var(--tmp-line-height-increase))/2);padding:var(--tmp-vertical-padding) 10px;padding-right:30px;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;color:var(--reactist-content-primary);background:none;border-radius:var(--reactist-border-radius-small);border:1px solid var(--reactist-framework-border);font-size:var(--reactist-font-size-body);line-height:calc(var(--reactist-font-size-body) + 4px);margin:0}._37qME_zw option{background-color:var(--reactist-bg-aside)}._37qME_zw select:focus{border-color:var(--reactist-framework-border-focus)}",""]),exports.locals={selectWrapper:"_37qME_zw"},module.exports=exports},2682:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return InteractivePropsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"NestedStacksStory",(function(){return NestedStacksStory}));__webpack_require__(183),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(37),__webpack_require__(22);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3),_heading__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(36),_stack__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(34);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i & { itemCount: number }) {\n return (\n \n \n {times(itemCount).map((i) => (\n \n ))}\n \n \n )\n}"}},InteractivePropsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:"function ResponsiveStory({ itemCount }: { itemCount: number }) {\n return (\n <>\n \n \n \n {times(itemCount).map((i) => (\n \n ))}\n \n \n \n )\n}"}},ResponsiveStory.parameters),NestedStacksStory.parameters=_objectSpread({storySource:{source:'function NestedStacksStory(args: PartialProps) {\n return (\n \n \n Parent stack with space=“{args.space ?? \'none\'}”\n \n \n Nested stack with space=“xsmall”\n \n \n \n \n \n Nested stack with space=“xsmall”\n \n \n \n \n \n \n )\n}'}},NestedStacksStory.parameters);try{InteractivePropsStory.displayName="InteractivePropsStory",InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{space:{defaultValue:null,description:"Space between items",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"Align items horizontally",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},dividers:{defaultValue:null,description:"Add dividers if `true`, or specify the weight of the dividers to add",name:"dividers",required:!1,type:{name:'boolean | "strong" | "regular" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}},itemCount:{defaultValue:null,description:"",name:"itemCount",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/stack/stack.stories.tsx#InteractivePropsStory"]={docgenInfo:InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/stack/stack.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{ResponsiveStory.displayName="ResponsiveStory",ResponsiveStory.__docgenInfo={description:"",displayName:"ResponsiveStory",props:{itemCount:{defaultValue:null,description:"",name:"itemCount",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/stack/stack.stories.tsx#ResponsiveStory"]={docgenInfo:ResponsiveStory.__docgenInfo,name:"ResponsiveStory",path:"src/new-components/stack/stack.stories.tsx#ResponsiveStory"})}catch(__react_docgen_typescript_loader_error){}try{NestedStacksStory.displayName="NestedStacksStory",NestedStacksStory.__docgenInfo={description:"",displayName:"NestedStacksStory",props:{space:{defaultValue:null,description:"Space between items",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"Align items horizontally",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | readonly [ColumnsHorizontalAlignment, ColumnsHorizontalAlignment, ColumnsHorizontalAlignment] | Readonly<...> | undefined'}},dividers:{defaultValue:null,description:"Add dividers if `true`, or specify the weight of the dividers to add",name:"dividers",required:!1,type:{name:'boolean | "strong" | "regular" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/stack/stack.stories.tsx#NestedStacksStory"]={docgenInfo:NestedStacksStory.__docgenInfo,name:"NestedStacksStory",path:"src/new-components/stack/stack.stories.tsx#NestedStacksStory"})}catch(__react_docgen_typescript_loader_error){}},2683:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._1HWPb20W,._1HWPb20W *{cursor:pointer}._1HWPb20W._1wFBFmoi,._1HWPb20W._1wFBFmoi *{cursor:not-allowed}._1HWPb20W._1wFBFmoi.sSsYK9JZ .dLU5fWlo,._1HWPb20W._1wFBFmoi ._3YKFZRYo{opacity:.5}.dLU5fWlo{--tmp-switch-width:32px;--tmp-switch-height:18px;--tmp-inner-padding:3px;--tmp-handle-size:calc(var(--tmp-switch-height) - 2*var(--tmp-inner-padding));--tmp-slide-length:calc(var(--tmp-switch-width) - var(--tmp-handle-size) - var(--tmp-inner-padding));width:var(--tmp-switch-width);height:var(--tmp-switch-height);min-height:auto;border-radius:calc(var(--tmp-switch-height)/2);background-color:var(--reactist-framework-fill-summit);cursor:pointer}._1_dy86Q5{position:absolute;display:block;padding:0;top:var(--tmp-inner-padding);left:var(--tmp-inner-padding);width:var(--tmp-handle-size);height:var(--tmp-handle-size);border-radius:50%;background:var(--reactist-bg-default);transition:left .28s cubic-bezier(.4,0,.2,1)}.sSsYK9JZ .dLU5fWlo{background-color:var(--reactist-switch-checked)}.sSsYK9JZ .dLU5fWlo ._1_dy86Q5{left:var(--tmp-slide-length)}",""]),exports.locals={container:"_1HWPb20W",disabled:"_1wFBFmoi",checked:"sSsYK9JZ",toggle:"dLU5fWlo",label:"_3YKFZRYo",handle:"_1_dy86Q5"},module.exports=exports},2686:function(module,exports,__webpack_require__){(exports=__webpack_require__(102)(!1)).push([module.i,"._289DS8rQ{box-sizing:border-box;border:none;border-radius:var(--reactist-border-radius-small);background:none;cursor:pointer;--reactist-tab-primary-background:var(--reactist-chromatic-fill-blue);--reactist-tab-primary-foreground:var(--reactist-content-light-on-dark);--reactist-tab-primary-unselected:var(--reactist-chromatic-content-blue);--reactist-tab-secondary-background:var(--reactist-framework-fill-selected);--reactist-tab-secondary-foreground:var(--reactist-chromatic-content-blue);--reactist-tab-secondary-unselected:var(--reactist-chromatic-content-blue);--reactist-tab-tertiary-background:var(--reactist-chromatic-fill-grey);--reactist-tab-tertiary-foreground:var(--reactist-content-light-on-dark);--reactist-tab-tertiary-unselected:var(--reactist-content-tertiary)}._3Ytmjeyq{padding:0 var(--reactist-spacing-medium);font-size:var(--reactist-font-size-body);line-height:32px;border-radius:20px}._3Ytmjeyq._3ZdrtO5X{color:var(--reactist-tab-primary-unselected)}._3Ytmjeyq._3ZdrtO5X[aria-selected=true]{background-color:var(--reactist-tab-primary-background);color:var(--reactist-tab-primary-foreground)}._3Ytmjeyq._3Ox2oJ8s{color:var(--reactist-tab-secondary-unselected)}._3Ytmjeyq._3Ox2oJ8s[aria-selected=true]{background-color:var(--reactist-tab-secondary-background);color:var(--reactist-tab-secondary-foreground)}._3Ytmjeyq._2XRtul2Y{color:var(--reactist-tab-tertiary-unselected)}._3Ytmjeyq._2XRtul2Y[aria-selected=true]{background-color:var(--reactist-tab-tertiary-background);color:var(--reactist-tab-tertiary-foreground)}._1saS74uL{padding:var(--reactist-spacing-xsmall);color:var(--reactist-content-secondary);font-size:var(--reactist-font-size-subtitle);font-weight:var(--reactist-font-weight-strong)}._1saS74uL[aria-selected=true]{color:var(--reactist-content-primary)}",""]),exports.locals={tab:"_289DS8rQ","tab-normal":"_3Ytmjeyq","tab-primary":"_3ZdrtO5X","tab-secondary":"_3Ox2oJ8s","tab-tertiary":"_2XRtul2Y","tab-plain":"_1saS74uL"},module.exports=exports},2687:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"TextStory",(function(){return TextStory})),__webpack_require__.d(__webpack_exports__,"TruncatedTextStory",(function(){return TruncatedTextStory})),__webpack_require__.d(__webpack_exports__,"TextPlaygroundStory",(function(){return TextPlaygroundStory}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_stack__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(34),_text__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(48),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/Text",component:_text__WEBPACK_IMPORTED_MODULE_12__.a,argTypes:{size:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["caption","copy","body","subtitle"],"body"),weight:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["regular","semibold","bold"],"regular"),lineClamp:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)([1,2,3,4,5],1),children:{control:{type:"text"},defaultValue:"Lorem ipsum dolor sit amet consectetur, adipisicing elit"},tone:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["normal","secondary","danger"],"normal")}};var TextStory=function TextStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"medium"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",weight:"regular"},"Subtitle Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",tone:"secondary"},"Subtitle Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",tone:"danger"},"Subtitle Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",weight:"semibold"},"Subtitle Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",weight:"bold"},"Subtitle Bold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",weight:"regular"},"Body Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",tone:"secondary"},"Body Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",tone:"danger"},"Body Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",weight:"semibold"},"Body Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",weight:"bold"},"Body Bold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",weight:"regular"},"Copy Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",tone:"secondary"},"Copy Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",tone:"danger"},"Copy Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",weight:"semibold"},"Copy Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",weight:"bold"},"Copy Bold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",weight:"regular"},"Caption Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",tone:"secondary"},"Caption Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",tone:"danger"},"Caption Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",weight:"semibold"},"Caption Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",weight:"bold"},"Caption Bold")))};TextStory.displayName="TextStory";var TruncatedTextStory=function TruncatedTextStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"medium"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{lineClamp:1},"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus! Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a."),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{lineClamp:4},"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus! Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a.")))};TruncatedTextStory.displayName="TruncatedTextStory";var TextPlaygroundStory=function TextPlaygroundStory(_ref){var children=_ref.children,args=_objectWithoutProperties(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story playground"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,args,children))};TextPlaygroundStory.displayName="TextPlaygroundStory",TextStory.parameters=_objectSpread({storySource:{source:'function TextStory() {\n return (\n
\n \n \n Subtitle Regular\n \n \n Subtitle Secondary\n \n \n Subtitle Danger\n \n \n Subtitle Semibold\n \n \n Subtitle Bold\n \n\n \n Body Regular\n \n \n Body Secondary\n \n \n Body Danger\n \n \n Body Semibold\n \n \n Body Bold\n \n\n \n Copy Regular\n \n \n Copy Secondary\n \n \n Copy Danger\n \n \n Copy Semibold\n \n \n Copy Bold\n \n\n \n Caption Regular\n \n \n Caption Secondary\n \n \n Caption Danger\n \n \n Caption Semibold\n \n \n Caption Bold\n \n \n
\n )\n}'}},TextStory.parameters),TruncatedTextStory.parameters=_objectSpread({storySource:{source:'function TruncatedTextStory() {\n return (\n
\n \n \n Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque\n recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus!\n Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum\n eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur\n tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla\n consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et\n ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque\n quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis\n temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis\n dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a.\n \n\n \n Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque\n recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus!\n Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum\n eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur\n tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla\n consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et\n ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque\n quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis\n temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis\n dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a.\n \n \n
\n )\n}'}},TruncatedTextStory.parameters),TextPlaygroundStory.parameters=_objectSpread({storySource:{source:'function TextPlaygroundStory({ children, ...args }: React.ComponentProps) {\n return (\n
\n {children}\n
\n )\n}'}},TextPlaygroundStory.parameters);try{TextPlaygroundStory.displayName="TextPlaygroundStory",TextPlaygroundStory.__docgenInfo={description:"",displayName:"TextPlaygroundStory",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"body" | "caption" | "copy" | "subtitle" | undefined'}},weight:{defaultValue:null,description:"",name:"weight",required:!1,type:{name:'"regular" | "semibold" | "bold" | undefined'}},tone:{defaultValue:null,description:"",name:"tone",required:!1,type:{name:'"secondary" | "danger" | "normal" | undefined'}},lineClamp:{defaultValue:null,description:"",name:"lineClamp",required:!1,type:{name:'1 | 2 | 5 | "1" | 3 | "2" | 4 | "3" | "4" | "5" | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/text/text.stories.tsx#TextPlaygroundStory"]={docgenInfo:TextPlaygroundStory.__docgenInfo,name:"TextPlaygroundStory",path:"src/new-components/text/text.stories.tsx#TextPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2688:function(module,exports,__webpack_require__){var map={"./components/Avatar.stories.tsx":2689,"./components/Button.stories.tsx":2952,"./components/Checkbox.stories.tsx":2938,"./components/ColorPicker.stories.tsx":2939,"./components/Dropdown.stories.tsx":2839,"./components/ErrorMessage.stories.tsx":2940,"./components/Icon.stories.tsx":2934,"./components/Input.stories.tsx":2941,"./components/KeyCapturer.stories.mdx":2849,"./components/KeyboardShortcut.stories.tsx":2850,"./components/Loading.stories.tsx":2942,"./components/Menu.stories.tsx":2953,"./components/Modal.stories.mdx":2943,"./components/Notification.stories.tsx":2954,"./components/ProgressBar.stories.tsx":2944,"./components/RangeInput.stories.tsx":2945,"./components/Select.stories.tsx":2946,"./components/Time.stories.tsx":2935,"./components/Tip.stories.tsx":2921,"./components/Tooltip.stories.tsx":2924,"./components/color.stories.tsx":2927,"./reactist/Reactist.stories.mdx":2930};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=2688},2689:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InitialsAvatarStory",(function(){return InitialsAvatarStory})),__webpack_require__.d(__webpack_exports__,"CustomColorAvatarStory",(function(){return CustomColorAvatarStory})),__webpack_require__.d(__webpack_exports__,"PictureAvatarStory",(function(){return PictureAvatarStory})),__webpack_require__.d(__webpack_exports__,"AvatarPlaygroundStory",(function(){return AvatarPlaygroundStory}));__webpack_require__(183),__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(2690);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__),_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(704),_src_components_avatar__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(265);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n {exampleData.map((data, index) => (\n \n ))}\n
\n)'}},InitialsAvatarStory.parameters),CustomColorAvatarStory.parameters=_objectSpread({storySource:{source:"() => (\n
\n {exampleData.map((data, index) => (\n \n ))}\n
\n)"}},CustomColorAvatarStory.parameters),PictureAvatarStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n {exampleData.map((data, index) => (\n \n ))}\n
\n)'}},PictureAvatarStory.parameters),AvatarPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n return (\n
\n \n
\n )\n}'}},AvatarPlaygroundStory.parameters);try{AvatarPlaygroundStory.displayName="AvatarPlaygroundStory",AvatarPlaygroundStory.__docgenInfo={description:"",displayName:"AvatarPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Avatar.stories.tsx#AvatarPlaygroundStory"]={docgenInfo:AvatarPlaygroundStory.__docgenInfo,name:"AvatarPlaygroundStory",path:"stories/components/Avatar.stories.tsx#AvatarPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2690:function(module,exports,__webpack_require__){var content=__webpack_require__(2691);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2691:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.avatars .reactist_avatar {\n display: inline-block;\n margin-right: 10px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/avatar_story.less"],names:[],mappings:"AAAA;EACI,qBAAA;EACA,kBAAA;AACJ",sourcesContent:[".story.avatars .reactist_avatar {\n display: inline-block;\n margin-right: 10px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2745:function(module,exports,__webpack_require__){var content=__webpack_require__(2746);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2746:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_avatar {\n flex-shrink: 0;\n background-position: center;\n color: white;\n text-align: center;\n border-radius: 50%;\n}\n.reactist_avatar_size--xxs {\n width: 16px;\n height: 16px;\n line-height: 16px;\n background-size: 16px;\n font-size: calc(16px / 2);\n}\n.reactist_avatar_size--xs {\n width: 20px;\n height: 20px;\n line-height: 20px;\n background-size: 20px;\n font-size: calc(20px / 2);\n}\n.reactist_avatar_size--s {\n width: 30px;\n height: 30px;\n line-height: 30px;\n background-size: 30px;\n font-size: calc(30px / 2);\n}\n.reactist_avatar_size--m {\n width: 32px;\n height: 32px;\n line-height: 32px;\n background-size: 32px;\n font-size: calc(32px / 2);\n}\n.reactist_avatar_size--l {\n width: 34px;\n height: 34px;\n line-height: 34px;\n background-size: 34px;\n font-size: calc(34px / 2);\n}\n.reactist_avatar_size--xl {\n width: 48px;\n height: 48px;\n line-height: 48px;\n background-size: 48px;\n font-size: calc(48px / 2);\n}\n.reactist_avatar_size--xxl {\n width: 70px;\n height: 70px;\n line-height: 70px;\n background-size: 70px;\n font-size: calc(70px / 2);\n}\n.reactist_avatar_size--xxxl {\n width: 100px;\n height: 100px;\n line-height: 100px;\n background-size: 100px;\n font-size: calc(100px / 2);\n}\n","",{version:3,sources:["webpack://src/components/avatar/avatar.less"],names:[],mappings:"AAQA;EACI,cAAA;EACA,2BAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;AAPJ;AAUQ;EAfJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAQJ;AAMQ;EAlBJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAeJ;AAEQ;EArBJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAsBJ;AAFQ;EAxBJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AA6BJ;AANQ;EA3BJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAoCJ;AAVQ;EA9BJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AA2CJ;AAdQ;EAjCJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAkDJ;AAlBQ;EApCJ,YAAA;EACA,aAAA;EACA,kBAAA;EACA,sBAAA;EACA,0BAAA;AAyDJ",sourcesContent:[".reactist_avatar_size(@size) {\n width: @size;\n height: @size;\n line-height: @size;\n background-size: @size;\n font-size: calc(@size / 2);\n}\n\n.reactist_avatar {\n flex-shrink: 0;\n background-position: center;\n color: white;\n text-align: center;\n border-radius: 50%;\n\n &_size {\n &--xxs {\n .reactist_avatar_size(16px);\n }\n &--xs {\n .reactist_avatar_size(20px);\n }\n &--s {\n .reactist_avatar_size(30px);\n }\n &--m {\n .reactist_avatar_size(32px);\n }\n &--l {\n .reactist_avatar_size(34px);\n }\n &--xl {\n .reactist_avatar_size(48px);\n }\n &--xxl {\n .reactist_avatar_size(70px);\n }\n &--xxxl {\n .reactist_avatar_size(100px);\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2825:function(module,exports,__webpack_require__){var content=__webpack_require__(2826);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2826:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story .reactist_button {\n display: inline;\n margin: 0 10px 0 0;\n}\n.story.playground .reactist_button,\np .reactist_button--link {\n margin: 0 !important;\n}\n.alternate_branding > .reactist_button {\n background-color: #dd4b39;\n}\n.alternate_branding > .reactist_button:not(.reactist_button--loading):not(.reactist_button--secondary):not([disabled]):hover {\n background-color: #c23321;\n}\n.alternate_branding > .reactist_button:not(.reactist_button--loading):not(.reactist_button--secondary):disabled {\n background-color: #e47365;\n}\n.alternate_branding > .reactist_button.reactist_button--secondary {\n background-color: white;\n border: 1px solid #dd4b39;\n color: #dd4b39;\n}\n","",{version:3,sources:["webpack://stories/components/styles/button_story.less"],names:[],mappings:"AAAA;EACI,eAAA;EACA,kBAAA;AACJ;AACA;;EAEI,oBAAA;AACJ;AAOI;EACI,yBAAA;AALR;AAOQ;EACI,yBAAA;AALZ;AAQQ;EACI,yBAAA;AANZ;AASQ;EACI,uBAAA;EACA,yBAAA;EACA,cAAA;AAPZ",sourcesContent:[".story .reactist_button {\n display: inline;\n margin: 0 10px 0 0;\n}\n.story.playground .reactist_button,\np .reactist_button--link {\n margin: 0 !important;\n}\n\n.alternate_branding {\n @primary-color: #dd4b39;\n @primary-color-lighter: lighten(#dd4b39, 10%);\n @primary-color-darker: darken(#dd4b39, 10%);\n // alternate button styles\n & > .reactist_button {\n background-color: @primary-color;\n\n &:not(.reactist_button--loading):not(.reactist_button--secondary):not([disabled]):hover {\n background-color: @primary-color-darker;\n }\n\n &:not(.reactist_button--loading):not(.reactist_button--secondary):disabled {\n background-color: @primary-color-lighter;\n }\n\n &.reactist_button--secondary {\n background-color: white;\n border: 1px solid @primary-color;\n color: @primary-color;\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2827:function(module,exports,__webpack_require__){var content=__webpack_require__(2828);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2828:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(40),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(993),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(2829),___CSS_LOADER_EXPORT___=___CSS_LOADER_API_IMPORT___(!0),___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);___CSS_LOADER_EXPORT___.push([module.i,".reactist_button {\n cursor: pointer;\n user-select: none;\n color: inherit;\n border: none;\n background-color: transparent;\n padding: 0;\n}\n.reactist_button[aria-disabled='true'] {\n opacity: 0.4;\n cursor: not-allowed;\n}\n.reactist_button--small {\n font-size: 0.81rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.6;\n}\n.reactist_button--primary,\n.reactist_button--secondary,\n.reactist_button--danger {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n box-sizing: border-box;\n padding: 5px 15px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 3px;\n}\n.reactist_button--primary.reactist_button--small,\n.reactist_button--secondary.reactist_button--small,\n.reactist_button--danger.reactist_button--small {\n padding: 5px 10px;\n}\n.reactist_button--primary.reactist_button--large,\n.reactist_button--secondary.reactist_button--large,\n.reactist_button--danger.reactist_button--large {\n padding: 10px 15px;\n}\n.reactist_button--primary {\n background-color: #3f82ef;\n color: white;\n}\n.reactist_button--primary:not([disabled]):hover {\n background-color: #3b7be2;\n}\n.reactist_button--danger {\n background-color: #de4c4a;\n color: white;\n}\n.reactist_button--danger:not([disabled]):hover {\n background-color: #cf2826;\n}\n.reactist_button--secondary {\n background-color: white;\n color: #202020;\n border-color: #dcdcdc;\n}\n.reactist_button--secondary:not([disabled]):hover {\n background-color: #f9f9f9;\n}\n.reactist_button--link {\n color: #3f82ef;\n text-decoration: none;\n}\n.reactist_button--link:disabled {\n color: #808080;\n}\n.reactist_button--link:not(:disabled):hover {\n text-decoration: underline;\n}\n.reactist_button--link:not(.reactist_button--link--small):not(.reactist_button--link--large) {\n font-size: inherit;\n}\n.reactist_button--primary.reactist_button--loading,\n.reactist_button--secondary.reactist_button--loading,\n.reactist_button--danger.reactist_button--loading {\n cursor: progress !important;\n}\n.reactist_button--primary.reactist_button--loading:after,\n.reactist_button--secondary.reactist_button--loading:after,\n.reactist_button--danger.reactist_button--loading:after {\n background-repeat: no-repeat;\n background-size: 15px;\n content: '';\n display: inline-block;\n height: 15px;\n margin-left: 12px;\n vertical-align: middle;\n width: 15px;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n animation-name: reactistRotateRight;\n animation-timing-function: linear;\n color: #ffffff;\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");\n}\n.reactist_button--secondary.reactist_button--loading {\n border-color: #dcdcdc;\n background-color: #dcdcdc;\n color: #808080;\n}\n@keyframes reactistRotateRight {\n from {\n transform: rotate(0deg);\n transform-origin: center center;\n }\n to {\n transform: rotate(360deg);\n transform-origin: center center;\n }\n}\n","",{version:3,sources:["webpack://src/components/button/button.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;EACI,eAAA;EACA,iBAAA;EACA,cAAA;EACA,YAAA;EACA,6BAAA;EACA,UAAA;AADJ;AAGI;EACI,YAAA;EACA,mBAAA;AADR;AAII;ECgCA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADjCJ;AAEI;;;ECoBA,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDnBI,sBAAA;EACA,iBAAA;EACA,oCAAA;EACA,kBAAA;AAGR;AAFQ;;;EACI,iBAAA;AAMZ;AAJQ;;;EACI,kBAAA;AAQZ;AAJI;EACI,yBAAA;EACA,YAAA;AAMR;AAJQ;EACI,yBAAA;AAMZ;AAFI;EACI,yBAAA;EACA,YAAA;AAIR;AAFQ;EACI,yBAAA;AAIZ;AAAI;EACI,uBAAA;EACA,cAAA;EACA,qBAAA;AAER;AAAQ;EACI,yBAAA;AAEZ;AAEI;EACI,cAAA;EACA,qBAAA;AAAR;AAEQ;EACI,cAAA;AAAZ;AAGQ;EACI,0BAAA;AADZ;AAIQ;EACI,kBAAA;AAFZ;AAUQ;;;EACI,2BAAA;AANZ;AAOY;;;EACI,4BAAA;EACA,qBAAA;EACA,WAAA;EACA,qBAAA;EACA,YAAA;EACA,iBAAA;EACA,sBAAA;EACA,WAAA;EACA,sBAAA;EACA,mCAAA;EACA,mCAAA;EACA,iCAAA;EACA,cAAA;EACA,yDAAA;AAHhB;AAUI;EACI,qBAAA;EACA,yBAAA;EACA,cAAA;AARR;AAaA;EACI;IACI,uBAAA;IACA,+BAAA;EAXN;EAcE;IACI,yBAAA;IACA,+BAAA;EAZN;AACF",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_button {\n cursor: pointer;\n user-select: none;\n color: inherit;\n border: none;\n background-color: transparent;\n padding: 0;\n\n &[aria-disabled='true'] {\n opacity: 0.4;\n cursor: not-allowed;\n }\n\n &--small {\n .smaller_text();\n }\n\n &--primary,\n &--secondary,\n &--danger {\n .normal_text();\n box-sizing: border-box;\n padding: 5px 15px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 3px;\n &.reactist_button--small {\n padding: 5px 10px;\n }\n &.reactist_button--large {\n padding: 10px 15px;\n }\n }\n\n &--primary {\n background-color: @primary_color;\n color: white;\n\n &:not([disabled]):hover {\n background-color: @primary_color_darker;\n }\n }\n\n &--danger {\n background-color: @color_red;\n color: white;\n\n &:not([disabled]):hover {\n background-color: darken(@color_red, 10%);\n }\n }\n\n &--secondary {\n background-color: white;\n color: @primary_font_color;\n border-color: @color_border_grey;\n\n &:not([disabled]):hover {\n background-color: @color_grey_9;\n }\n }\n\n &--link {\n color: @primary_color;\n text-decoration: none;\n\n &:disabled {\n color: @secondary_font_color;\n }\n\n &:not(:disabled):hover {\n text-decoration: underline;\n }\n\n &:not(&--small):not(&--large) {\n font-size: inherit;\n }\n }\n\n // loading-like buttons are only supported for the primary, secondary and danger variants\n &--primary,\n &--secondary,\n &--danger {\n &.reactist_button--loading {\n cursor: progress !important;\n &:after {\n background-repeat: no-repeat;\n background-size: 15px;\n content: '';\n display: inline-block;\n height: 15px;\n margin-left: 12px;\n vertical-align: middle;\n width: 15px;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n animation-name: reactistRotateRight;\n animation-timing-function: linear;\n color: #ffffff;\n background-image: url('../icons/spinner.svg');\n }\n }\n }\n\n // we treat secondary buttons differently because the loading indicator is white\n // TODO: make the loading indicator color adaptable from the outside using SVG currentColor\n &--secondary.reactist_button--loading {\n border-color: @color_border_grey;\n background-color: @color_border_grey;\n color: @secondary_font_color;\n }\n}\n\n// Animation used by the busy state of a button\n@keyframes reactistRotateRight {\n from {\n transform: rotate(0deg);\n transform-origin: center center;\n }\n\n to {\n transform: rotate(360deg);\n transform-origin: center center;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2829:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/spinner.0a24d9f7.svg';"},2830:function(module,exports,__webpack_require__){var content=__webpack_require__(2831);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2831:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_checkbox {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n}\n.reactist_checkbox:hover {\n cursor: pointer;\n}\n.reactist_checkbox .reactist_checkbox--input {\n margin-right: 10px;\n}\n","",{version:3,sources:["webpack://src/components/checkbox/checkbox.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADrCJ;AADI;EACI,eAAA;AAGR;AANA;EAOQ,kBAAA;AAER",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_checkbox {\n .normal_text();\n &:hover {\n cursor: pointer;\n }\n\n .reactist_checkbox--input {\n margin-right: 10px;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2835:function(module,exports,__webpack_require__){var content=__webpack_require__(2836);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2836:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_color_picker .color_trigger {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n cursor: pointer;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yNSAxMC42NDZsMi42NDYgMi42NDcgMi42NDctMi42NDdhLjUuNSAwIDAgMSAuNzA3LjcwOEwxMi42MDQgMTRhMSAxIDAgMCAxLTEuNDE1IDBsLTIuNjQ2LTIuNjQ2YS41LjUgMCAwIDEgLjcwNy0uNzA4eiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n background-size: 24px;\n}\n.reactist_color_picker .color_trigger--inner_ring {\n background-color: rgba(0, 0, 0, 0.1);\n width: 14px;\n height: 14px;\n border-radius: 50%;\n visibility: hidden;\n}\n.reactist_color_picker .color_trigger:hover .color_trigger--inner_ring {\n visibility: visible;\n}\n.reactist_color_picker .color_trigger.small {\n height: 18px;\n width: 18px;\n}\n.reactist_color_picker .color_trigger.small .color_trigger--inner_ring {\n width: 12px;\n height: 12px;\n}\n.reactist_color_picker .color_item {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 4px;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n cursor: pointer;\n}\n.reactist_color_picker .color_item--inner_ring {\n background-color: transparent;\n border: 2px solid white;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n visibility: hidden;\n}\n.reactist_color_picker .color_item:hover .color_item--inner_ring {\n visibility: visible;\n}\n.reactist_color_picker .color_item.active {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTAuOTc0IDE0Ljc3MWw0LjE2LTcuMjA0YS40OTkuNDk5IDAgMSAxIC44NjMuNDk5bC00LjQ3IDcuNzQ0YS40OTkuNDk5IDAgMCAxLS43MzUuMTQ3LjUwMi41MDIgMCAwIDEtLjA2MS0uMDQ4bC0zLjM2Ni0zLjE0YS40OTkuNDk5IDAgMSAxIC42OC0uNzI5bDIuOTI5IDIuNzMxeiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n}\n.reactist_color_picker .color_options {\n padding: 6px;\n display: flex;\n flex-wrap: wrap;\n width: 164px;\n position: relative;\n}\n.reactist_color_picker .with_arrow:after,\n.reactist_color_picker .with_arrow:before {\n visibility: hidden;\n}\n","",{version:3,sources:["webpack://src/components/color-picker/color-picker.less"],names:[],mappings:"AAEA;EAEQ,cAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,eAAA;EAEA,yYAAA;EACA,2BAAA;EACA,4BAAA;EACA,qBAAA;AAHR;AAKQ;EACI,oCAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;AAHZ;AAKQ;EAEQ,mBAAA;AAJhB;AAQQ;EACI,YAAA;EACA,WAAA;AANZ;AAIQ;EAKQ,WAAA;EACA,YAAA;AANhB;AA7BA;EAyCQ,cAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,eAAA;AATR;AAWQ;EACI,6BAAA;EACA,uBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,kBAAA;AATZ;AAWQ;EAEQ,mBAAA;AAVhB;AAcQ;EACI,6bAAA;EACA,2BAAA;EACA,4BAAA;AAZZ;AAxDA;EAyEQ,YAAA;EACA,aAAA;EACA,eAAA;EACA,YAAA;EACA,kBAAA;AAdR;AA/DA;;EAkFQ,kBAAA;AAfR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_color_picker {\n .color_trigger {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n cursor: pointer;\n\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yNSAxMC42NDZsMi42NDYgMi42NDcgMi42NDctMi42NDdhLjUuNSAwIDAgMSAuNzA3LjcwOEwxMi42MDQgMTRhMSAxIDAgMCAxLTEuNDE1IDBsLTIuNjQ2LTIuNjQ2YS41LjUgMCAwIDEgLjcwNy0uNzA4eiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n background-size: 24px;\n\n &--inner_ring {\n background-color: rgba(0, 0, 0, 0.1);\n width: 14px;\n height: 14px;\n border-radius: 50%;\n visibility: hidden;\n }\n &:hover {\n .color_trigger--inner_ring {\n visibility: visible;\n }\n }\n\n &.small {\n height: 18px;\n width: 18px;\n\n .color_trigger--inner_ring {\n width: 12px;\n height: 12px;\n }\n }\n }\n\n .color_item {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 4px;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n cursor: pointer;\n\n &--inner_ring {\n background-color: transparent;\n border: 2px solid white;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n visibility: hidden;\n }\n &:hover {\n .color_item--inner_ring {\n visibility: visible;\n }\n }\n\n &.active {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTAuOTc0IDE0Ljc3MWw0LjE2LTcuMjA0YS40OTkuNDk5IDAgMSAxIC44NjMuNDk5bC00LjQ3IDcuNzQ0YS40OTkuNDk5IDAgMCAxLS43MzUuMTQ3LjUwMi41MDIgMCAwIDEtLjA2MS0uMDQ4bC0zLjM2Ni0zLjE0YS40OTkuNDk5IDAgMSAxIC42OC0uNzI5bDIuOTI5IDIuNzMxeiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n }\n }\n\n .color_options {\n padding: 6px;\n display: flex;\n flex-wrap: wrap;\n width: 164px; // 4 * 32 + 3 * 8 + 2 * 6\n position: relative;\n }\n\n .with_arrow:after,\n .with_arrow:before {\n visibility: hidden;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2837:function(module,exports,__webpack_require__){var content=__webpack_require__(2838);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2838:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_dropdown .trigger {\n cursor: pointer;\n display: block;\n}\n.reactist_dropdown .body {\n border-radius: 3px;\n border: 1px solid #dcdcdc;\n overflow: hidden;\n box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);\n z-index: 1;\n background-color: #fff;\n}\n.reactist_dropdown hr {\n border: none;\n height: 1px;\n background-color: #dcdcdc;\n margin: 0 5px;\n}\n.reactist_dropdown .with_arrow:after,\n.reactist_dropdown .with_arrow:before {\n z-index: 1;\n content: '';\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 6px;\n right: 14px;\n}\n.reactist_dropdown .with_arrow:after {\n top: -11px;\n border-color: transparent transparent #fff transparent;\n}\n.reactist_dropdown .with_arrow:before {\n top: -12px;\n border-color: transparent transparent #dcdcdc transparent;\n}\n.reactist_dropdown .with_arrow.top:after {\n top: -1px;\n border-color: #fff transparent transparent transparent;\n}\n.reactist_dropdown .with_arrow.top:before {\n top: -1px;\n right: 13px;\n border-width: 7px;\n border-color: #dcdcdc transparent transparent transparent;\n}\n","",{version:3,sources:["webpack://src/components/dropdown/dropdown.less"],names:[],mappings:"AAEA;EAEQ,eAAA;EACA,cAAA;AAFR;AADA;EAOQ,kBAAA;EACA,yBAAA;EACA,gBAAA;EACA,2CAAA;EACA,UAAA;EACA,sBAAA;AAHR;AATA;EAgBQ,YAAA;EACA,WAAA;EACA,yBAAA;EACA,aAAA;AAJR;AAfA;;EAwBQ,UAAA;EACA,WAAA;EACA,cAAA;EACA,kBAAA;EACA,QAAA;EACA,SAAA;EACA,mBAAA;EACA,iBAAA;EACA,WAAA;AALR;AA3BA;EAoCQ,UAAA;EACA,sDAAA;AANR;AA/BA;EAyCQ,UAAA;EACA,yDAAA;AAPR;AAnCA;EA8CQ,SAAA;EACA,sDAAA;AARR;AAvCA;EAmDQ,SAAA;EACA,WAAA;EACA,iBAAA;EACA,yDAAA;AATR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_dropdown {\n .trigger {\n cursor: pointer;\n display: block;\n }\n\n .body {\n border-radius: 3px;\n border: 1px solid @color_border_grey;\n overflow: hidden;\n box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);\n z-index: 1;\n background-color: #fff;\n }\n\n hr {\n border: none;\n height: 1px;\n background-color: @color_border_grey;\n margin: 0 5px;\n }\n\n .with_arrow:after,\n .with_arrow:before {\n z-index: 1;\n content: '';\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 6px;\n right: 14px;\n }\n\n .with_arrow:after {\n top: -11px;\n border-color: transparent transparent #fff transparent;\n }\n\n .with_arrow:before {\n top: -12px;\n border-color: transparent transparent @color_border_grey transparent;\n }\n\n .with_arrow.top:after {\n top: -1px;\n border-color: #fff transparent transparent transparent;\n }\n\n .with_arrow.top:before {\n top: -1px;\n right: 13px;\n border-width: 7px;\n border-color: @color_border_grey transparent transparent transparent;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2839:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"DropdownStory",(function(){return DropdownStory})),__webpack_require__.d(__webpack_exports__,"InteractiveDropdownStory",(function(){return InteractiveDropdownStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__),_src_components_dropdown__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(130),_src_components_button__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(21);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n \n \n \n \n \n
\n

Dropdown Content

\n
    \n
  • You can add anything
  • \n
  • you want to a dropdown
  • \n
  • (e.g. lists and headings)
  • \n
\n
\n
\n
\n
\n)'}},DropdownStory.parameters),InteractiveDropdownStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n \n \n \n \n \n
\n

Wow this is interactive

\n
    \n
  • Click outside
  • \n
  • to close this
  • \n
\n
\n
\n
\n
\n)'}},InteractiveDropdownStory.parameters)},2840:function(module,exports,__webpack_require__){var content=__webpack_require__(2841);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2841:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(40),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(993),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(2842),___CSS_LOADER_EXPORT___=___CSS_LOADER_API_IMPORT___(!0),___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);___CSS_LOADER_EXPORT___.push([module.i,".reactist_error_message {\n padding: 10px 10px 0 10px;\n margin-bottom: 10px;\n background-color: #f8d9d8;\n border: 1px solid #de4c4a;\n}\n.reactist_error_message p {\n font-size: 0.875rem;\n color: #de4c4a;\n font-weight: 400;\n line-height: 1.7;\n margin: 0 0 10px 0;\n}\n.reactist_error_message .dismiss_icon {\n height: 20px;\n width: 20px;\n background-repeat: no-repeat;\n background-position: center;\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");\n float: right;\n position: relative;\n top: -30px;\n}\n.reactist_error_message .dismiss_icon:hover {\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://src/components/error-message/error-message.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;EACI,yBAAA;EACA,mBAAA;EACA,yBAAA;EACA,yBAAA;AADJ;AAHA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDhCI,kBAAA;AAER;AAVA;EAYQ,YAAA;EACA,WAAA;EACA,4BAAA;EACA,2BAAA;EACA,yDAAA;EACA,YAAA;EACA,kBAAA;EACA,UAAA;AACR;AAAQ;EACI,eAAA;AAEZ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_error_message {\n padding: 10px 10px 0 10px;\n margin-bottom: 10px;\n background-color: lighten(@color_red, 33%);\n border: 1px solid @color_red;\n\n p {\n .normal_text(@color: @color_red);\n margin: 0 0 10px 0;\n }\n\n .dismiss_icon {\n height: 20px;\n width: 20px;\n background-repeat: no-repeat;\n background-position: center;\n background-image: url('../icons/close_red.svg');\n float: right;\n position: relative;\n top: -30px;\n &:hover {\n cursor: pointer;\n }\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2842:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/close_red.d30aacaf.svg';"},2843:function(module,exports,__webpack_require__){var content=__webpack_require__(2844);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2844:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_icon {\n flex: 0 0 auto;\n display: block;\n width: 40px;\n height: 40px;\n background-size: 25px;\n background-position: center;\n background-repeat: no-repeat;\n}\n.reactist_icon.disabled {\n opacity: 0.4;\n}\n.reactist_icon--component {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n","",{version:3,sources:["webpack://src/components/icon/icon.less"],names:[],mappings:"AAAA;EACI,cAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,qBAAA;EACA,2BAAA;EACA,4BAAA;AACJ;AACI;EACI,YAAA;AACR;AAEI;EACI,aAAA;EACA,mBAAA;EACA,uBAAA;AAAR",sourcesContent:[".reactist_icon {\n flex: 0 0 auto;\n display: block;\n width: 40px;\n height: 40px;\n background-size: 25px;\n background-position: center;\n background-repeat: no-repeat;\n\n &.disabled {\n opacity: 0.4;\n }\n\n &--component {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2845:function(module,exports,__webpack_require__){var content=__webpack_require__(2846);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2846:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story-info {\n color: #565d6b;\n font-size: 14px;\n line-height: 1.5;\n margin-bottom: 50px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/input_story.less"],names:[],mappings:"AAAA;EACI,cAAA;EACA,eAAA;EACA,gBAAA;EACA,mBAAA;AACJ",sourcesContent:[".story-info {\n color: rgb(86, 93, 107);\n font-size: 14px;\n line-height: 1.5;\n margin-bottom: 50px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2847:function(module,exports,__webpack_require__){var content=__webpack_require__(2848);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2848:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_input {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n box-sizing: border-box;\n width: 100%;\n display: block;\n outline: none;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n padding: 5px 10px;\n margin: 0;\n}\n.reactist_input:focus {\n border-color: #3f82ef;\n}\n.reactist_input:disabled {\n background-color: #fafafa;\n}\n","",{version:3,sources:["webpack://src/components/input/input.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDtCA,sBAAA;EACA,WAAA;EACA,cAAA;EACA,aAAA;EACA,yBAAA;EACA,kBAAA;EACA,iBAAA;EACA,SAAA;AAEJ;AAAI;EACI,qBAAA;AAER;AAAI;EACI,yBAAA;AAER",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_input {\n .normal_text();\n box-sizing: border-box;\n width: 100%;\n display: block;\n outline: none;\n border: 1px solid @color_border_grey;\n border-radius: 3px;\n padding: 5px 10px;\n margin: 0;\n\n &:focus {\n border-color: @primary_color;\n }\n &:disabled {\n background-color: @color_grey_11;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2849:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(22),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(14);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.e,{title:"Components/KeyCapturer",mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h1",{id:"component-documentation"},"Component Documentation"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"documentation"},"Documentation"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Use this component to wrap anything you want to handle key events for (e.g. an input)."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"You can specify the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"eventName")," to capture (defaults to ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onKeyDown"),")."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Check the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"SUPPORTED_KEYS")," map to see which keys are supported and supply the respective ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"on\\${Key}")," prop (i.e. ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onEnter")," or ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onArrowDown"),"). Note that the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onEnter")," handler will not fire when used in an IME composition session to prevent interference with the user's input."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"If you want the default behaviour to be preserved (i.e. only want to hook into the event instead of replacing it) set the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"propagate\\${Key}")," prop (e.g. ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"propagateBackspace"),")."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Example of an ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"strong"},""))," handling normal keystrokes by acting on ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onChange")," as well as on enter and backspace presses with dedicated handlers. By propagating the backspace key users are still able to delete the last typed character while you can also implement additional logic on top."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"\n \n\n")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Components/KeyCapturer",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},2850:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"KeyboardShortcutPlaygroundStory",(function(){return KeyboardShortcutPlaygroundStory}));__webpack_require__(986),__webpack_require__(484),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(704),_src_components_keyboard_shortcut__WEBPACK_IMPORTED_MODULE_14__=(__webpack_require__(2851),__webpack_require__(506));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_exports__.default={title:"Components/KeyboardShortcut"};var KeyboardShortcutPlaygroundStory=function KeyboardShortcutPlaygroundStory(args){var shortcut=args.shortcut.length>1?args.shortcut:args.shortcut[0]||"";return react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("pre",null,react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("code",null,"",react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("br",null),"  ","string"==typeof shortcut?shortcut:react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_11___default.a.Fragment,null,"{",JSON.stringify(shortcut),"}"),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("br",null),"")),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("p",null,react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("strong",null,"On macOS:"),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_src_components_keyboard_shortcut__WEBPACK_IMPORTED_MODULE_14__.a,{isMac:!0},shortcut)),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("p",null,react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("strong",null,"Elsewhere:"),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_src_components_keyboard_shortcut__WEBPACK_IMPORTED_MODULE_14__.a,{isMac:!1},shortcut)))};KeyboardShortcutPlaygroundStory.displayName="KeyboardShortcutPlaygroundStory",KeyboardShortcutPlaygroundStory.args={shortcut:Object(_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_12__.a)("Shortcut","Cmd + Alt + Shift + E, q").split(/\s*,\s*/)},KeyboardShortcutPlaygroundStory.argTypes={shortcut:{control:{type:"text"}}},KeyboardShortcutPlaygroundStory.parameters=function _objectSpread(target){for(var i=1;i {\n const shortcut = args.shortcut.length > 1 ? args.shortcut : args.shortcut[0] || ''\n\n return (\n
\n
\n                \n                    <KeyboardShortcut>\n                    
\n   \n {typeof shortcut === 'string' ? (\n shortcut\n ) : (\n <>\n {'{'}\n {JSON.stringify(shortcut)}\n {'}'}\n \n )}\n
\n </KeyboardShortcut>\n
\n
\n

\n On macOS:\n {shortcut}\n

\n

\n Elsewhere:\n {shortcut}\n

\n
\n )\n}"}},KeyboardShortcutPlaygroundStory.parameters);try{KeyboardShortcutPlaygroundStory.displayName="KeyboardShortcutPlaygroundStory",KeyboardShortcutPlaygroundStory.__docgenInfo={description:"",displayName:"KeyboardShortcutPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/KeyboardShortcut.stories.tsx#KeyboardShortcutPlaygroundStory"]={docgenInfo:KeyboardShortcutPlaygroundStory.__docgenInfo,name:"KeyboardShortcutPlaygroundStory",path:"stories/components/KeyboardShortcut.stories.tsx#KeyboardShortcutPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2851:function(module,exports,__webpack_require__){var content=__webpack_require__(2852);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2852:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_keyboard_shortcut {\n font: 11px Menlo, monospace;\n}\n.reactist_keyboard_shortcut > kbd > kbd {\n display: inline-block;\n padding: 3px 5px;\n margin: 0 2px;\n line-height: normal;\n line-height: 10px;\n color: #202020;\n vertical-align: middle;\n background-color: #fafafa;\n border: 1px solid #dcdcdc;\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 #dcdcdc;\n}\n","",{version:3,sources:["webpack://src/components/keyboard-shortcut/keyboard-shortcut.less"],names:[],mappings:"AAEA;EACI,2BAAA;AADJ;AAAA;EAGQ,qBAAA;EACA,gBAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;EACA,sBAAA;EACA,yBAAA;EACA,yBAAA;EACA,kBAAA;EACA,kCAAA;AAAR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_keyboard_shortcut {\n font: 11px Menlo, monospace;\n > kbd > kbd {\n display: inline-block;\n padding: 3px 5px;\n margin: 0 2px;\n line-height: normal;\n line-height: 10px;\n color: @primary_font_color;\n vertical-align: middle;\n background-color: @color_grey_11;\n border: 1px solid @color_border_grey;\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 @color_border_grey;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2854:function(module,exports,__webpack_require__){var content=__webpack_require__(2855);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2855:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.loading .spinner--white {\n background-color: #3f82ef;\n}\n","",{version:3,sources:["webpack://stories/components/styles/loading_story.less"],names:[],mappings:"AAAA;EAEQ,yBAAA;AAAR",sourcesContent:[".story.loading {\n .spinner--white {\n background-color: #3f82ef;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2856:function(module,exports,__webpack_require__){var content=__webpack_require__(2857);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2857:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,"@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.reactist_loading {\n display: flex;\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n flex: 1 1 auto;\n}\n.reactist_loading .reactist_loading--spinner svg {\n animation-name: spinner;\n animation-duration: 1.2s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n}\n","",{version:3,sources:["webpack://src/components/styles/animations.less","webpack://src/components/loading/loading.less"],names:[],mappings:"AAAA;EACI;IACI,UAAA;ECCN;EDCE;IACI,UAAA;ECCN;AACF;ADEA;EACI;IACI,uBAAA;ECAN;EDEE;IACI,yBAAA;ECAN;AACF;AAbA;EACI,aAAA;EACA,mBAAA;EACA,qBAAA;EACA,qBAAA;EACA,uBAAA;EACA,cAAA;AAeJ;AArBA;EASQ,uBAAA;EACA,wBAAA;EACA,mCAAA;EACA,iCAAA;AAeR",sourcesContent:["@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n","@import '../styles/animations.less';\n\n.reactist_loading {\n display: flex;\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n flex: 1 1 auto;\n\n .reactist_loading--spinner svg {\n animation-name: spinner;\n animation-duration: 1.2s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2858:function(module,exports,__webpack_require__){var content=__webpack_require__(2859);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2859:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story {\n font-family: Arial;\n}\n.story button[aria-haspopup='menu'] svg {\n fill: currentcolor;\n width: 0.65em;\n height: 0.65em;\n margin-left: 0.5em;\n}\n.story ul {\n list-style: none;\n padding: 0;\n}\n.story .item_box {\n min-width: 300px;\n display: flex;\n border: 1px solid grey;\n padding: 4px 10px;\n margin: 4px 0;\n user-select: none;\n}\n.story .item_box:hover {\n background-color: #efefef;\n}\n.story .item_box.menu_open {\n background-color: #cfcfcf;\n}\n.story .item_box .item_name {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.story .menu_item_icon {\n padding-right: 10px;\n}\n.story .menu_item_label {\n flex: 1;\n}\n","",{version:3,sources:["webpack://stories/components/styles/menu_story.less"],names:[],mappings:"AAAA;EACI,kBAAA;AACJ;AAFA;EAIQ,kBAAA;EACA,aAAA;EACA,cAAA;EACA,kBAAA;AACR;AARA;EAUQ,gBAAA;EACA,UAAA;AACR;AAZA;EAcQ,gBAAA;EACA,aAAA;EACA,sBAAA;EACA,iBAAA;EACA,aAAA;EACA,iBAAA;AACR;AAAQ;EACI,yBAAA;AAEZ;AAAQ;EACI,yBAAA;AAEZ;AA1BA;EA2BY,OAAA;EACA,aAAA;EACA,mBAAA;AAEZ;AA/BA;EAkCQ,mBAAA;AAAR;AAlCA;EAsCQ,OAAA;AADR",sourcesContent:[".story {\n font-family: Arial;\n\n button[aria-haspopup='menu'] svg {\n fill: currentcolor;\n width: 0.65em;\n height: 0.65em;\n margin-left: 0.5em;\n }\n ul {\n list-style: none;\n padding: 0;\n }\n .item_box {\n min-width: 300px;\n display: flex;\n border: 1px solid grey;\n padding: 4px 10px;\n margin: 4px 0;\n user-select: none;\n &:hover {\n background-color: #efefef;\n }\n &.menu_open {\n background-color: #cfcfcf;\n }\n .item_name {\n flex: 1;\n display: flex;\n align-items: center;\n }\n }\n\n .menu_item_icon {\n padding-right: 10px;\n }\n\n .menu_item_label {\n flex: 1;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2895:function(module,exports,__webpack_require__){var content=__webpack_require__(2896);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2896:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_menulist[role='menu'] {\n display: block;\n white-space: nowrap;\n background: hsla(0, 0%, 100%, 0.99);\n outline: none;\n font-size: 0.81rem;\n padding: 4px 0;\n min-width: 180px;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n}\n.reactist_menulist[role='menu'] [role='menuitem'],\n.reactist_menulist[role='menu'] .reactist_menugroup__label {\n user-select: none;\n outline: none;\n text-align: left;\n display: flex;\n align-items: center;\n padding: 5px 10px;\n color: inherit;\n border: none;\n background-color: transparent;\n}\n.reactist_menulist[role='menu'] .reactist_menugroup__label {\n color: #808080;\n font-size: 0.75rem;\n}\n.reactist_menulist[role='menu'] .reactist_submenu_button {\n padding-right: 16px;\n}\n.reactist_menulist[role='menu'] .reactist_submenu_button::after {\n content: '';\n position: absolute;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent #808080;\n display: block;\n width: 0;\n right: 6px;\n}\n.reactist_menulist[role='menu'] [role='menuitem'] {\n width: 100%;\n box-sizing: border-box;\n}\n.reactist_menulist[role='menu'] [role='menuitem']:focus,\n.reactist_menulist[role='menu'] [role='menuitem'][aria-expanded='true'] {\n color: #202020;\n background-color: #ececec;\n}\n.reactist_menulist[role='menu'] [role='menuitem'][aria-disabled='true'],\n.reactist_menulist[role='menu'] [role='menuitem']:disabled {\n color: #808080;\n pointer-events: none;\n}\n.reactist_menulist[role='menu'] a[role='menuitem'] {\n cursor: default;\n text-decoration: none;\n}\n.reactist_menulist[role='menu'] a[role='menuitem']:hover {\n text-decoration: none;\n}\n.reactist_menulist[role='menu'] [role='menu'] {\n margin-top: -5px;\n}\n.reactist_menulist[role='menu'] hr {\n border: none;\n height: 1px;\n background-color: #dcdcdc;\n margin: 4px 0;\n}\n","",{version:3,sources:["webpack://src/components/menu/menu.less"],names:[],mappings:"AAEA;EACI,cAAA;EACA,mBAAA;EACA,mCAAA;EACA,aAAA;EACA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,yBAAA;EACA,kBAAA;AADJ;AARA;;EAaQ,iBAAA;EACA,aAAA;EACA,gBAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;EACA,YAAA;EACA,6BAAA;AADR;AApBA;EAyBQ,cAAA;EACA,kBAAA;AAFR;AAxBA;EA8BQ,mBAAA;AAHR;AA3BA;EAkCQ,WAAA;EACA,kBAAA;EACA,mBAAA;EACA,2BAAA;EACA,iCAAA;EACA,cAAA;EACA,QAAA;EACA,UAAA;AAJR;AArCA;EA6CQ,WAAA;EACA,sBAAA;AALR;AAMQ;;EAEI,cAAA;EACA,yBAAA;AAJZ;AAMQ;;EAEI,cAAA;EACA,oBAAA;AAJZ;AAnDA;EA4DQ,eAAA;EACA,qBAAA;AANR;AAOQ;EACI,qBAAA;AALZ;AA1DA;EAqEQ,gBAAA;AARR;AA7DA;EAyEQ,YAAA;EACA,WAAA;EACA,yBAAA;EACA,aAAA;AATR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_menulist[role='menu'] {\n display: block;\n white-space: nowrap;\n background: hsla(0, 100%, 100%, 0.99);\n outline: none;\n font-size: @smaller_font_size;\n padding: 4px 0;\n min-width: 180px;\n border: 1px solid @color_border_grey;\n border-radius: 3px;\n\n [role='menuitem'],\n .reactist_menugroup__label {\n user-select: none;\n outline: none;\n text-align: left;\n display: flex;\n align-items: center;\n padding: 5px 10px;\n color: inherit;\n border: none;\n background-color: transparent;\n }\n\n .reactist_menugroup__label {\n color: @secondary_font_color;\n font-size: @tiny_font_size;\n }\n\n .reactist_submenu_button {\n padding-right: 16px;\n }\n\n .reactist_submenu_button::after {\n content: '';\n position: absolute;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent @secondary_font_color;\n display: block;\n width: 0;\n right: 6px;\n }\n\n [role='menuitem'] {\n width: 100%;\n box-sizing: border-box;\n &:focus,\n &[aria-expanded='true'] {\n color: @primary_font_color;\n background-color: @color_grey_10;\n }\n &[aria-disabled='true'],\n &:disabled {\n color: @secondary_font_color;\n pointer-events: none;\n }\n }\n\n a[role='menuitem'] {\n cursor: default;\n text-decoration: none;\n &:hover {\n text-decoration: none;\n }\n }\n\n // sub-menus need to be shifted a bit towards the top to be aligned with its menu item\n [role='menu'] {\n margin-top: -5px;\n }\n\n hr {\n border: none;\n height: 1px;\n background-color: @color_border_grey;\n margin: 4px 0;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2897:function(module,exports,__webpack_require__){var content=__webpack_require__(2898);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2898:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,"[id^='story--'][id$='modal--playground'] .reactist_overlay {\n position: inherit;\n}\n","",{version:3,sources:["webpack://stories/components/styles/modal_story.less"],names:[],mappings:"AAKQ;EACI,iBAAA;AAJZ",sourcesContent:["// We don't want the modal playground to be fixed and in the centre for the docs tab\n// The selector targets just the suffix of the story's id in case we change our\n// stories' hierarchy in the future\n[id^='story--'][id$='modal--playground'] {\n .reactist {\n &_overlay {\n position: inherit;\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2899:function(module,exports,__webpack_require__){var content=__webpack_require__(2900);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2900:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,"@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.reactist_overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n background: rgba(0, 0, 0, 0.7);\n overflow: auto;\n animation: fadein 0.25s;\n}\n.reactist_overlay_inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 40px 0;\n width: 100%;\n}\n.reactist_modal_box {\n display: flex;\n flex-direction: column;\n overflow: auto;\n overflow-x: hidden;\n width: 580px;\n border-radius: 3px;\n box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);\n}\n.reactist_modal_box.medium {\n width: 680px;\n}\n.reactist_modal_box.large {\n width: 60%;\n max-width: 1000px;\n}\n@media only screen and (max-width: 992px) {\n .reactist_modal_box.large {\n width: calc(100% - 80px);\n }\n}\n@media only screen and (max-width: 992px) {\n .reactist_modal_box {\n width: calc(100% - 80px);\n max-width: 580px;\n }\n}\n.reactist_modal_box__header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n background-color: #f9f9f9;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom: 1px solid #fafafa;\n}\n.reactist_modal_box__header p {\n margin: 0 0 0 25px;\n padding: 10px 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.7;\n}\n.reactist_modal_box__header .title {\n font-size: 1rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.8;\n display: block;\n margin-top: 5px;\n}\n.reactist_modal_box__header .subtitle {\n font-size: 0.81rem;\n color: #808080;\n font-weight: 400;\n line-height: 1.6;\n display: block;\n margin-top: 5px;\n}\n.reactist_modal_box__header a {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n margin-left: auto;\n margin-right: 8px;\n}\n.reactist_modal_box__body {\n flex-grow: 1;\n overflow: auto;\n padding: 20px 25px 25px 25px;\n background-color: white;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n}\n.reactist_modal_box__body.plain {\n padding: 0;\n}\n.reactist_modal_box__body .dialog {\n overflow: auto;\n}\n.reactist_modal_box__body .dialog .reactist_icon {\n width: 42px;\n float: left;\n margin-right: 20px;\n}\n.reactist_modal_box__body .dialog .reactist_icon > * {\n max-height: 42px;\n max-width: 100%;\n}\n.reactist_modal_box__body .dialog .content {\n float: right;\n width: calc(100% - 62px);\n}\n.reactist_modal_box__body .dialog .content h1 {\n margin: 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.7;\n line-height: 1;\n}\n.reactist_modal_box__body:after {\n clear: both;\n content: '';\n display: block;\n}\n.reactist_modal_box__body .close {\n float: right;\n}\n.reactist_modal_box__actions {\n display: flex;\n flex-shrink: 0;\n justify-content: flex-end;\n padding: 20px 25px;\n background-color: white;\n border-top: 1px solid #ececec;\n}\n.reactist_modal_box__actions button {\n margin-left: 10px;\n}\n","",{version:3,sources:["webpack://src/components/styles/animations.less","webpack://src/components/modal/modal.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAAA;EACI;IACI,UAAA;ECCN;EDCE;IACI,UAAA;ECCN;AACF;ADEA;EACI;IACI,uBAAA;ECAN;EDEE;IACI,yBAAA;ECAN;AACF;AAXI;EACI,eAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,UAAA;EACA,aAAA;EACA,uBAAA;EACA,8BAAA;EACA,cAAA;EACA,uBAAA;AAaR;AAXQ;EACI,aAAA;EACA,sBAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,WAAA;AAaZ;AATI;EACI,aAAA;EACA,sBAAA;EACA,cAAA;EACA,kBAAA;EACA,YAAA;EACA,kBAAA;EACA,+CAAA;AAWR;AATQ;EACI,YAAA;AAWZ;AARQ;EACI,UAAA;EACA,iBAAA;AAUZ;AARY;EAAA;IACI,wBAAA;EAWd;AACF;AARQ;EAAA;IACI,wBAAA;IACA,gBAAA;EAWV;AACF;AARI;EACI,aAAA;EACA,cAAA;EACA,mBAAA;EACA,yBAAA;EACA,2BAAA;EACA,4BAAA;EACA,gCAAA;AAUR;AAjBI;EAUQ,kBAAA;EACA,eAAA;EC3BR,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADsCJ;AAzBI;ECxBA,eAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDsCQ,cAAA;EACA,eAAA;AAeZ;AAjCI;ECRA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ED4BQ,cAAA;EACA,eAAA;AAiBZ;AAzCI;EA4BQ,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,iBAAA;AAgBZ;AAZI;EACI,YAAA;EACA,cAAA;EACA,4BAAA;EACA,uBAAA;EC1DJ,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADyEJ;AAfQ;EACI,UAAA;AAiBZ;AAzBI;EAYQ,cAAA;AAgBZ;AA5BI;EAeY,WAAA;EACA,WAAA;EACA,kBAAA;AAgBhB;AAdgB;EACI,gBAAA;EACA,eAAA;AAgBpB;AArCI;EA0BY,YAAA;EAEA,wBAAA;AAahB;AAzCI;EAgCgB,SAAA;ECtFhB,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDqFgB,cAAA;AAepB;AATQ;EACI,WAAA;EACA,WAAA;EACA,cAAA;AAWZ;AAtDI;EA+CQ,YAAA;AAUZ;AANI;EACI,aAAA;EACA,cAAA;EACA,yBAAA;EACA,kBAAA;EACA,uBAAA;EACA,6BAAA;AAQR;AAdI;EASQ,iBAAA;AAQZ",sourcesContent:["@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n","@import '../styles/constants.less';\n@import '../styles/animations.less';\n\n.reactist {\n &_overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n background: rgba(0, 0, 0, 0.7);\n overflow: auto;\n animation: fadein 0.25s;\n\n &_inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 40px 0;\n width: 100%;\n }\n }\n\n &_modal_box {\n display: flex;\n flex-direction: column;\n overflow: auto;\n overflow-x: hidden;\n width: 580px;\n border-radius: 3px;\n box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);\n\n &.medium {\n width: 680px;\n }\n\n &.large {\n width: 60%;\n max-width: 1000px;\n\n @media @small_screen {\n width: calc(~'100% - 80px'); // 40px on each side (incl. top via padding)\n }\n }\n\n @media @small_screen {\n width: calc(~'100% - 80px'); // 40px on each side (incl. top via padding)\n max-width: 580px;\n }\n }\n\n &_modal_box__header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n background-color: @color_grey_9;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom: 1px solid @color_grey_11;\n\n p {\n margin: 0 0 0 25px;\n padding: 10px 0;\n .normal_text(@weight: @bold);\n }\n\n .title {\n .heading_two_text();\n display: block;\n margin-top: 5px;\n }\n\n .subtitle {\n .smaller_text(@color: @secondary_font_color);\n display: block;\n margin-top: 5px;\n }\n\n a {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n margin-left: auto;\n margin-right: 8px;\n }\n }\n\n &_modal_box__body {\n flex-grow: 1;\n overflow: auto;\n padding: 20px 25px 25px 25px;\n background-color: white;\n .normal_text();\n\n &.plain {\n padding: 0;\n }\n\n .dialog {\n overflow: auto; // contain the floating elements correctly\n\n .reactist_icon {\n width: 42px;\n float: left;\n margin-right: 20px;\n\n & > * {\n max-height: 42px;\n max-width: 100%;\n }\n }\n\n .content {\n float: right;\n // modal size minus the (icon + margin)\n width: calc(~'100% - 62px');\n\n // when used as dialog this can be used as header inside the modal body\n h1 {\n margin: 0;\n .normal_text(@weight: @bold);\n line-height: 1;\n }\n }\n }\n\n // used to clear the floating icon while still enabling scrolling\n &:after {\n clear: both;\n content: '';\n display: block;\n }\n\n .close {\n float: right;\n }\n }\n\n &_modal_box__actions {\n display: flex;\n flex-shrink: 0;\n justify-content: flex-end;\n padding: 20px 25px;\n background-color: white;\n border-top: 1px solid @color_grey_10;\n\n button {\n margin-left: 10px;\n }\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2901:function(module,exports,__webpack_require__){var content=__webpack_require__(2902);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2902:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".notification-story-notification-dot {\n box-sizing: border-box;\n display: flex;\n width: 22px;\n padding-top: 4px;\n}\n.notification-story-notification-dot:before {\n content: '';\n display: block;\n background-color: #70bc1c;\n width: 8px;\n height: 8px;\n border-radius: 8px;\n}\n.notification-story-notification-container {\n width: 360px;\n max-width: none;\n}\n.notification-story-content {\n margin-left: 10px;\n}\n.notification-story-text {\n text-align: left;\n margin: 0 0 4px 0;\n color: #808080;\n}\n.notification-story-heading {\n text-align: left;\n display: flex;\n justify-content: space-between;\n margin: 0;\n color: #de4c4a;\n}\n.notification-story-avatar-container {\n margin-right: 12px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/notification_story.less"],names:[],mappings:"AAEA;EACI,sBAAA;EACA,aAAA;EACA,WAAA;EACA,gBAAA;AADJ;AAGI;EACI,WAAA;EACA,cAAA;EACA,yBAAA;EACA,UAAA;EACA,WAAA;EACA,kBAAA;AADR;AAKA;EACI,YAAA;EACA,eAAA;AAHJ;AAMA;EACI,iBAAA;AAJJ;AAOA;EACI,gBAAA;EACA,iBAAA;EACA,cAAA;AALJ;AAQA;EACI,gBAAA;EACA,aAAA;EACA,8BAAA;EACA,SAAA;EACA,cAAA;AANJ;AASA;EACI,kBAAA;AAPJ",sourcesContent:["@import '../../../src/components/styles/constants.less';\n\n.notification-story-notification-dot {\n box-sizing: border-box;\n display: flex;\n width: 22px;\n padding-top: 4px;\n\n &:before {\n content: '';\n display: block;\n background-color: @color_green;\n width: 8px;\n height: 8px;\n border-radius: 8px;\n }\n}\n\n.notification-story-notification-container {\n width: 360px;\n max-width: none;\n}\n\n.notification-story-content {\n margin-left: 10px;\n}\n\n.notification-story-text {\n text-align: left;\n margin: 0 0 4px 0;\n color: @secondary_font_color;\n}\n\n.notification-story-heading {\n text-align: left;\n display: flex;\n justify-content: space-between;\n margin: 0;\n color: @color_red;\n}\n\n.notification-story-avatar-container {\n margin-right: 12px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2903:function(module,exports,__webpack_require__){var content=__webpack_require__(2904);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2904:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist-notification {\n display: flex;\n position: relative;\n font-size: 0.875rem;\n}\n.reactist-notification:not(.reactist-notification--with-button) {\n box-sizing: border-box;\n justify-content: space-between;\n align-items: flex-start;\n padding: 10px 14px;\n border: 1px solid #dcdcdc;\n border-radius: 5px;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n background: #fff;\n}\n.reactist-notification__button,\n.reactist-notification__close-button {\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n transition-property: background-color;\n transition-duration: 300ms;\n background: #fff;\n}\n.reactist-notification__button:hover,\n.reactist-notification__close-button:hover {\n background: #ececec;\n}\n.reactist-notification__button {\n box-sizing: border-box;\n justify-content: space-between;\n align-items: flex-start;\n padding: 10px 14px;\n border: 1px solid #dcdcdc;\n border-radius: 5px;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n background: #fff;\n display: flex;\n flex: 1;\n}\n.reactist-notification__button:hover + .reactist-notification__close-button {\n background: #ececec;\n}\n.reactist-notification__close-button {\n position: absolute;\n top: 8px;\n right: 8px;\n border-radius: 5px;\n}\n.reactist-notification__close-button > * {\n display: block;\n}\n.reactist-notification__icon-content-group {\n display: flex;\n flex: 1;\n}\n.reactist-notification--with-close-button .reactist-notification__icon-content-group {\n padding-right: 24px;\n}\n.reactist-notification__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n.reactist-notification__title {\n margin: 0 0 3px 0;\n font-size: 0.875rem;\n text-align: left;\n}\n.reactist-notification__subtitle {\n font-size: 0.81rem;\n margin: 0;\n}\n","",{version:3,sources:["webpack://src/components/notification/notification.less"],names:[],mappings:"AAaA;EACI,aAAA;EACA,kBAAA;EACA,mBAAA;AAZJ;AAcI;EAfA,sBAAA;EACA,8BAAA;EACA,uBAAA;EACA,kBAAA;EACA,yBAAA;EACA,kBAAA;EACA,2CAAA;EACA,gBAAA;AAIJ;AASA;;EAEI,SAAA;EACA,UAAA;EACA,SAAA;EACA,eAAA;EACA,qCAAA;EACA,0BAAA;EACA,gBAAA;AAPJ;AASI;;EACI,mBAAA;AANR;AAUA;EAnCI,sBAAA;EACA,8BAAA;EACA,uBAAA;EACA,kBAAA;EACA,yBAAA;EACA,kBAAA;EACA,2CAAA;EACA,gBAAA;EA8BA,aAAA;EACA,OAAA;AADJ;AAGI;EACI,mBAAA;AADR;AAKA;EACI,kBAAA;EACA,QAAA;EACA,UAAA;EACA,kBAAA;AAHJ;AADA;EAOQ,cAAA;AAHR;AAOA;EACI,aAAA;EACA,OAAA;AALJ;AAQA;EAEQ,mBAAA;AAPR;AAWA;EACI,aAAA;EACA,sBAAA;EACA,uBAAA;AATJ;AAYA;EACI,iBAAA;EACA,mBAAA;EACA,gBAAA;AAVJ;AAaA;EACI,kBAAA;EACA,SAAA;AAXJ",sourcesContent:["@import '../styles/constants.less';\n\n.container-style() {\n box-sizing: border-box;\n justify-content: space-between;\n align-items: flex-start;\n padding: 10px 14px;\n border: 1px solid @color_border_grey;\n border-radius: @default-radius;\n box-shadow: @default-box-shadow;\n background: #fff;\n}\n\n.reactist-notification {\n display: flex;\n position: relative;\n font-size: @normal_font_size;\n\n &:not(.reactist-notification--with-button) {\n .container-style();\n }\n}\n\n.reactist-notification__button,\n.reactist-notification__close-button {\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n transition-property: background-color;\n transition-duration: @standard-timing;\n background: #fff;\n\n &:hover {\n background: @color_grey_10;\n }\n}\n\n.reactist-notification__button {\n .container-style();\n display: flex;\n flex: 1;\n\n &:hover + .reactist-notification__close-button {\n background: @color_grey_10;\n }\n}\n\n.reactist-notification__close-button {\n position: absolute;\n top: 8px;\n right: 8px;\n border-radius: @default-radius;\n\n > * {\n display: block;\n }\n}\n\n.reactist-notification__icon-content-group {\n display: flex;\n flex: 1;\n}\n\n.reactist-notification--with-close-button {\n .reactist-notification__icon-content-group {\n padding-right: 24px;\n }\n}\n\n.reactist-notification__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n\n.reactist-notification__title {\n margin: 0 0 3px 0;\n font-size: @normal_font_size;\n text-align: left;\n}\n\n.reactist-notification__subtitle {\n font-size: @smaller_font_size;\n margin: 0;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2905:function(module,exports,__webpack_require__){var content=__webpack_require__(2906);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2906:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_tip {\n width: 250px;\n padding: 10px 20px;\n}\n.reactist_tip__container {\n width: 20px;\n height: 20px;\n}\n.reactist_tip--title {\n margin: 0 0 10px 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.7;\n}\n.reactist_tip--message {\n margin: 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n}\n","",{version:3,sources:["webpack://src/components/tip/tip.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;EAMI,YAAA;EACA,kBAAA;AANJ;AAAI;EACI,WAAA;EACA,YAAA;AAER;AAII;EACI,kBAAA;EC2BJ,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;AD5BJ;AACI;EACI,SAAA;ECuBJ,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADrBJ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_tip {\n &__container {\n width: 20px;\n height: 20px;\n }\n\n width: 250px;\n padding: 10px 20px;\n\n &--title {\n margin: 0 0 10px 0;\n .normal_text(@weight: @bold);\n }\n &--message {\n margin: 0;\n .normal_text();\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2907:function(module,exports,__webpack_require__){var content=__webpack_require__(2908);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2908:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_progress_bar {\n margin: 10px 0;\n}\n","",{version:3,sources:["webpack://stories/components/styles/progressbar_story.less"],names:[],mappings:"AAAA;EACI,cAAA;AACJ",sourcesContent:[".reactist_progress_bar {\n margin: 10px 0;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2909:function(module,exports,__webpack_require__){var content=__webpack_require__(2910);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2910:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_progress_bar {\n height: 4px;\n border-radius: 3px;\n background-color: #ececec;\n width: 100%;\n}\n.reactist_progress_bar .inner {\n height: inherit;\n border-radius: 4px;\n background-color: #70bc1c;\n}\n","",{version:3,sources:["webpack://src/components/progress-bar/progress-bar.less"],names:[],mappings:"AAEA;EACI,WAAA;EACA,kBAAA;EACA,yBAAA;EACA,WAAA;AADJ;AAHA;EAOQ,eAAA;EACA,kBAAA;EACA,yBAAA;AADR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_progress_bar {\n height: 4px;\n border-radius: 3px;\n background-color: @color_grey_10;\n width: 100%;\n\n .inner {\n height: inherit;\n border-radius: 4px;\n background-color: @color_green;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2911:function(module,exports,__webpack_require__){var content=__webpack_require__(2912);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2912:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(40),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(993),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(2913),___CSS_LOADER_URL_IMPORT_1___=__webpack_require__(2914),___CSS_LOADER_EXPORT___=___CSS_LOADER_API_IMPORT___(!0),___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___),___CSS_LOADER_URL_REPLACEMENT_1___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);___CSS_LOADER_EXPORT___.push([module.i,".reactist_range_input .range_btn {\n height: 30px;\n width: 30px;\n background-size: 20px;\n display: inline-block;\n background-position: center;\n background-repeat: no-repeat;\n}\n.reactist_range_input .range_btn.plus {\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");\n}\n.reactist_range_input .range_btn.minus {\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_1___+");\n}\n.reactist_range_input .range_btn:hover {\n cursor: pointer;\n}\n.reactist_range_input input[type='range'] {\n -webkit-appearance: none;\n width: 200px;\n height: 30px;\n}\n.reactist_range_input input[type='range']:focus {\n outline: none;\n}\n.reactist_range_input input[type='range']::-webkit-slider-runnable-track {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #808080;\n}\n.reactist_range_input input[type='range']::-webkit-slider-thumb {\n box-sizing: border-box;\n border: 1px solid #3f82ef;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: white;\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -9px;\n}\n.reactist_range_input input[type='range']:focus::-webkit-slider-runnable-track {\n background: #8d8d8d;\n}\n.reactist_range_input input[type='range']::-moz-range-track {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #808080;\n}\n.reactist_range_input input[type='range']::-moz-range-thumb {\n box-sizing: border-box;\n border: 1px solid #3f82ef;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: white;\n cursor: pointer;\n}\n.reactist_range_input input[type='range']::-ms-track {\n background: transparent;\n border-color: transparent;\n border-width: 20px 0;\n color: transparent;\n}\n.reactist_range_input input[type='range']::-ms-fill-lower {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #737373;\n}\n.reactist_range_input input[type='range']::-ms-fill-upper {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #808080;\n}\n.reactist_range_input input[type='range']::-ms-thumb {\n box-sizing: border-box;\n border: 1px solid #3f82ef;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: white;\n cursor: pointer;\n}\n.reactist_range_input input[type='range']:focus::-ms-fill-lower {\n background: #808080;\n}\n.reactist_range_input input[type='range']:focus::-ms-fill-upper {\n background: #8d8d8d;\n}\n","",{version:3,sources:["webpack://src/components/range-input/range-input.less"],names:[],mappings:"AAEA;EAKQ,YAAA;EACA,WAAA;EACA,qBAAA;EACA,qBAAA;EACA,2BAAA;EACA,4BAAA;AALR;AAMQ;EACI,yDAAA;AAJZ;AAMQ;EACI,yDAAA;AAJZ;AAMQ;EACI,eAAA;AAJZ;AAdA;EAuDQ,wBAAA;EACA,YAAA;EACA,YAAA;AAtCR;AAwCQ;EACI,aAAA;AAtCZ;AAyCQ;EAzBA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EAwBI,mBAAA;AApCZ;AAuCQ;EAvBA,sBAAA;EACA,yBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,iBAAA;EACA,eAAA;EAmBI,wBAAA;EACA,gBAAA;AA/BZ;AAkCQ;EACI,mBAAA;AAhCZ;AAmCQ;EAxCA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EAuCI,mBAAA;AA9BZ;AAgCQ;EArCA,sBAAA;EACA,yBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,iBAAA;EACA,eAAA;AAQR;AA2BQ;EACI,uBAAA;EACA,yBAAA;EACA,oBAAA;EACA,kBAAA;AAzBZ;AA4BQ;EAvDA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EAsDI,mBAAA;AAvBZ;AAyBQ;EA3DA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EA0DI,mBAAA;AApBZ;AAsBQ;EAxDA,sBAAA;EACA,yBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,iBAAA;EACA,eAAA;AAqCR;AAgBQ;EACI,mBAAA;AAdZ;AAgBQ;EACI,mBAAA;AAdZ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_range_input {\n @range-height: 30px;\n @button-size: 20px;\n\n .range_btn {\n height: @range-height;\n width: @range-height;\n background-size: @button-size;\n display: inline-block;\n background-position: center;\n background-repeat: no-repeat;\n &.plus {\n background-image: url('../icons/plus.svg');\n }\n &.minus {\n background-image: url('../icons/minus.svg');\n }\n &:hover {\n cursor: pointer;\n }\n }\n\n // https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/\n @track-color: @secondary_font_color;\n @thumb-color: white;\n\n @thumb-radius: 50%;\n @thumb-height: @button-size;\n @thumb-width: @button-size;\n @thumb-border-width: 1px;\n @thumb-border-color: @primary_color;\n\n @track-width: 200px;\n @track-height: 2px;\n\n @contrast: 5%;\n\n .track() {\n width: @track-width;\n height: @track-height;\n cursor: pointer;\n animate: 0.2s;\n }\n\n .thumb() {\n box-sizing: border-box;\n border: @thumb-border-width solid @thumb-border-color;\n height: @thumb-height;\n width: @thumb-width;\n border-radius: @thumb-radius;\n background: @thumb-color;\n cursor: pointer;\n }\n\n input[type='range'] {\n -webkit-appearance: none;\n width: @track-width;\n height: @range-height;\n\n &:focus {\n outline: none;\n }\n\n &::-webkit-slider-runnable-track {\n .track();\n background: @track-color;\n }\n\n &::-webkit-slider-thumb {\n .thumb();\n -webkit-appearance: none;\n margin-top: (@track-height / 2) - (@thumb-height / 2);\n }\n\n &:focus::-webkit-slider-runnable-track {\n background: lighten(@track-color, @contrast);\n }\n\n &::-moz-range-track {\n .track();\n background: @track-color;\n }\n &::-moz-range-thumb {\n .thumb();\n }\n\n &::-ms-track {\n background: transparent;\n border-color: transparent;\n border-width: @thumb-width 0;\n color: transparent;\n }\n\n &::-ms-fill-lower {\n .track();\n background: darken(@track-color, @contrast);\n }\n &::-ms-fill-upper {\n .track();\n background: @track-color;\n }\n &::-ms-thumb {\n .thumb();\n }\n &:focus::-ms-fill-lower {\n background: @track-color;\n }\n &:focus::-ms-fill-upper {\n background: lighten(@track-color, @contrast);\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2913:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/plus.daa8a941.svg';"},2914:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/minus.c999e684.svg';"},2915:function(module,exports,__webpack_require__){var content=__webpack_require__(2916);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2916:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_select {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n background-color: white;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n padding: 5px 25px 5px 10px;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDggMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJub256ZXJvIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgb3BhY2l0eT0iLjgiPgogICAgPHBhdGggZD0iTTEgM2wzLTMgMyAzTTEgN2wzIDMgMy0zIi8+CiAgPC9nPgo8L3N2Zz4K');\n background-position: calc(100% - 11px) center;\n background-repeat: no-repeat;\n background-size: 8px 11px;\n}\n.reactist_select.disabled {\n background-color: #fafafa;\n}\n.reactist_select:focus {\n outline: none;\n border: 1px solid #3f82ef;\n}\n","",{version:3,sources:["webpack://src/components/select/select.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDtCA,uBAAA;EACA,yBAAA;EACA,kBAAA;EAGA,qBAAA;EACA,wBAAA;EACA,gBAAA;EACA,SAAA;EACA,0BAAA;EACA,+XAAA;EACA,6CAAA;EACA,4BAAA;EACA,yBAAA;AAAJ;AAEI;EACI,yBAAA;AAAR;AAEI;EACI,aAAA;EACA,yBAAA;AAAR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_select {\n .normal_text();\n background-color: white;\n border: 1px solid @color_border_grey;\n border-radius: 3px;\n\n // nuke the browser styles\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n padding: 5px 25px 5px 10px;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDggMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJub256ZXJvIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgb3BhY2l0eT0iLjgiPgogICAgPHBhdGggZD0iTTEgM2wzLTMgMyAzTTEgN2wzIDMgMy0zIi8+CiAgPC9nPgo8L3N2Zz4K');\n background-position: calc(~'100% - 11px') center;\n background-repeat: no-repeat;\n background-size: 8px 11px;\n\n &.disabled {\n background-color: @color_grey_11;\n }\n &:focus {\n outline: none;\n border: 1px solid @primary_color;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2917:function(module,exports,__webpack_require__){var content=__webpack_require__(2918);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2918:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.time div span {\n display: inline-block;\n width: 160px;\n text-align: right;\n font-weight: 600;\n margin-right: 16px;\n}\n.story.time div time {\n text-align: left;\n}\n","",{version:3,sources:["webpack://stories/components/styles/time_story.less"],names:[],mappings:"AAAA;EAEQ,qBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;EACA,kBAAA;AAAR;AANA;EASQ,gBAAA;AAAR",sourcesContent:[".story.time div {\n span {\n display: inline-block;\n width: 160px;\n text-align: right;\n font-weight: 600;\n margin-right: 16px;\n }\n time {\n text-align: left;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2919:function(module,exports,__webpack_require__){var content=__webpack_require__(2920);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2920:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_time {\n font-size: 0.75rem;\n color: #808080;\n font-weight: 400;\n line-height: 1.8;\n}\n.reactist_tooltip .reactist_time:hover {\n text-decoration: underline;\n}\n","",{version:3,sources:["webpack://src/components/time/time.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqDI,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADrDJ;AACA;EACI,0BAAA;AACJ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_time {\n .tiny_text();\n}\n\n.reactist_tooltip .reactist_time:hover {\n text-decoration: underline;\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2921:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"TipStory",(function(){return TipStory})),__webpack_require__.d(__webpack_exports__,"TipPlaygroundStory",(function(){return TipPlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(2922);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_src_components_tip__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(391);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n

Tip

\n \n
\n)'}},TipStory.parameters),TipPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},TipPlaygroundStory.parameters);try{TipPlaygroundStory.displayName="TipPlaygroundStory",TipPlaygroundStory.__docgenInfo={description:"",displayName:"TipPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Tip.stories.tsx#TipPlaygroundStory"]={docgenInfo:TipPlaygroundStory.__docgenInfo,name:"TipPlaygroundStory",path:"stories/components/Tip.stories.tsx#TipPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2922:function(module,exports,__webpack_require__){var content=__webpack_require__(2923);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2923:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.tip .reactist_tip__container {\n margin-left: 250px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/tip_story.less"],names:[],mappings:"AAAA;EAEQ,kBAAA;AAAR",sourcesContent:[".story.tip {\n .reactist_tip__container {\n margin-left: 250px; // width of the tip\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2924:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"TooltipPlaygroundStory",(function(){return TooltipPlaygroundStory}));__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(2925);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),_src_components_tooltip__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(2955),_src_components_button__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(21);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i {\n return (\n
\n \n \n \n \n
\n )\n}'}},TooltipPlaygroundStory.parameters);try{TooltipPlaygroundStory.displayName="TooltipPlaygroundStory",TooltipPlaygroundStory.__docgenInfo={description:"",displayName:"TooltipPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Tooltip.stories.tsx#TooltipPlaygroundStory"]={docgenInfo:TooltipPlaygroundStory.__docgenInfo,name:"TooltipPlaygroundStory",path:"stories/components/Tooltip.stories.tsx#TooltipPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2925:function(module,exports,__webpack_require__){var content=__webpack_require__(2926);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2926:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.tooltip input,\n.story.tooltip button {\n display: block;\n text-align: center;\n}\n.story.tooltip input {\n margin: 0 auto;\n width: 400px;\n}\n.story.tooltip button {\n width: 250px;\n margin: 100px auto;\n padding: 100px 10px;\n border: 1px solid black;\n background-color: palegreen;\n}\n.story.tooltip button:hover,\n.story.tooltip button:focus {\n background-color: lightblue;\n}\n","",{version:3,sources:["webpack://stories/components/styles/tooltip_story.less"],names:[],mappings:"AAAA;;EAGQ,cAAA;EACA,kBAAA;AAAR;AAJA;EAOQ,cAAA;EACA,YAAA;AAAR;AARA;EAWQ,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,uBAAA;EACA,2BAAA;AAAR;AACQ;;EAEI,2BAAA;AACZ",sourcesContent:[".story.tooltip {\n input,\n button {\n display: block;\n text-align: center;\n }\n input {\n margin: 0 auto;\n width: 400px;\n }\n button {\n width: 250px;\n margin: 100px auto;\n padding: 100px 10px;\n border: 1px solid black;\n background-color: palegreen;\n &:hover,\n &:focus {\n background-color: lightblue;\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2927:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Colors",(function(){return Colors}));__webpack_require__(183),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(8),_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(34),_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(36),_src_new_components_box__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(51);__webpack_require__(2928);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_exports__.default={title:"Design tokens/Colors"};var frameworkFillColors=["--reactist-framework-fill-accent","--reactist-framework-fill-aside","--reactist-framework-fill-background","--reactist-framework-fill-base","--reactist-framework-fill-crater","--reactist-framework-fill-crest","--reactist-framework-fill-elevated","--reactist-framework-fill-selected","--reactist-framework-fill-highlight","--reactist-framework-fill-ledge","--reactist-framework-fill-peak","--reactist-framework-fill-pinnacle","--reactist-framework-fill-ridge","--reactist-framework-fill-summit"],frameworkSeparatorColors=["--reactist-framework-separator"],frameworkBorderColors=["--reactist-framework-border","--reactist-framework-border-focus","--reactist-framework-border-alpha"],contentColors=["--reactist-content-primary","--reactist-content-secondary","--reactist-content-tertiary","--reactist-content-quaternary","--reactist-content-light-on-dark"],chromaticFillColors=["--reactist-chromatic-fill-red","--reactist-chromatic-fill-orange","--reactist-chromatic-fill-green","--reactist-chromatic-fill-teal","--reactist-chromatic-fill-blue","--reactist-chromatic-fill-purple","--reactist-chromatic-fill-charcoal","--reactist-chromatic-fill-grey","--reactist-chromatic-fill-midnight"],chromaticContentColors=["--reactist-chromatic-content-red","--reactist-chromatic-content-orange","--reactist-chromatic-content-green","--reactist-chromatic-content-green-background","--reactist-chromatic-content-green-background-highlight","--reactist-chromatic-content-teal","--reactist-chromatic-content-blue","--reactist-chromatic-content-purple","--reactist-chromatic-content-charcoal","--reactist-chromatic-content-grey"],chromaticHighlightColors=["--reactist-chromatic-highlight-blue","--reactist-chromatic-highlight-green","--reactist-chromatic-highlight-red"];function Swatch(_ref){var color=_ref.color;return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__.b,{key:color,alignY:"center",space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__.a,{width:"content"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_box__WEBPACK_IMPORTED_MODULE_14__.a,{style:{background:"var(".concat(color,")")},className:"color_swatch"})),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__.a,null,react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("code",{className:"color_swatch__css_variable"},color)))}Swatch.displayName="Swatch";var Colors=function Colors(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"xlarge",className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:1,size:"larger"},"Framework"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Framework-Fill"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},frameworkFillColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Framework-Separator"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},frameworkSeparatorColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Framework-Border"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},frameworkBorderColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:1,size:"larger"},"Content"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},contentColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:1,size:"larger"},"Chromatic"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Chromatic-Fill"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},chromaticFillColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Chromatic-Content"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},chromaticContentColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Chromatic-Highlight"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},chromaticHighlightColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))))};Colors.displayName="Colors",Colors.parameters=function _objectSpread(target){for(var i=1;i\n \n Framework\n \n\n Framework-Fill\n \n {frameworkFillColors.map((color) => (\n \n ))}\n \n\n Framework-Separator\n \n {frameworkSeparatorColors.map((color) => (\n \n ))}\n \n\n Framework-Border\n \n {frameworkBorderColors.map((color) => (\n \n ))}\n \n\n \n Content\n \n \n {contentColors.map((color) => (\n \n ))}\n \n\n \n Chromatic\n \n\n Chromatic-Fill\n \n {chromaticFillColors.map((color) => (\n \n ))}\n \n\n Chromatic-Content\n \n {chromaticContentColors.map((color) => (\n \n ))}\n \n\n Chromatic-Highlight\n \n {chromaticHighlightColors.map((color) => (\n \n ))}\n \n \n )\n}'}},Colors.parameters)},2928:function(module,exports,__webpack_require__){var content=__webpack_require__(2929);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(41)(content,options);content.locals&&(module.exports=content.locals)},2929:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(40)(!0);___CSS_LOADER_EXPORT___.push([module.i,".color_swatch {\n width: 32px;\n height: 32px;\n border: 1px solid var(--reactist-framework-border);\n border-radius: var(--reactist-border-radius-small);\n}\n.color_swatch__css_variable {\n padding: 4px;\n border-radius: var(--reactist-border-radius-small);\n border: 1px solid var(--reactist-framework-border);\n background: var(--reactist-framework-fill-background);\n}\n","",{version:3,sources:["webpack://stories/components/styles/color-story.less"],names:[],mappings:"AAAA;EACI,WAAA;EACA,YAAA;EACA,kDAAA;EACA,kDAAA;AACJ;AAEA;EACI,YAAA;EACA,kDAAA;EACA,kDAAA;EACA,qDAAA;AAAJ",sourcesContent:[".color_swatch {\n width: 32px;\n height: 32px;\n border: 1px solid var(--reactist-framework-border);\n border-radius: var(--reactist-border-radius-small);\n}\n\n.color_swatch__css_variable {\n padding: 4px;\n border-radius: var(--reactist-border-radius-small);\n border: 1px solid var(--reactist-framework-border);\n background: var(--reactist-framework-fill-background);\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},2930:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(22),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(14);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.e,{title:"Reactist",mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"welcome"},"Welcome"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Open source React components made with ❤️ by Doist."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"how-to-use"},"How to use"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"You can add Reactist to your project by installing it from npm:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm install @doist/reactist"),"\nIf you prefer to include static files, download the latest tarball from the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("a",{parentName:"p",href:"https://github.com/Doist/reactist/packages/60435",target:"_blank",rel:"nofollow noopener noreferrer"},"package page")," and include the following files in your project:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"/dist/reactist.cjs.production.min.js"),"\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"/styles/reactist.css")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"A detailed explanation and examples on how to use each component can be accessed by clicking on the component name on the left."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"development"},"Development"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"First clone the repository to your local machine by running:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"git clone git@github.com:Doist/reactist.git"),"\nWe identified two major modes of development for Reactist. First, running an interactive storybook and see the changes you make to a component in an isolated environment. This is especially helpful when developing new components. And second, improving existing components in real-life applications."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h4",{id:"storybook"},"Storybook"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"For the first development mode run:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm run storybook"),"\nThis boots up a development server with hot reloading on http://localhost:6006. You can iterate on the components in the existing stories or add a completely new one."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h4",{id:"inside-your-application"},"Inside your application"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"For the second development mode you can leverage\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm link"),"\nFirst run:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm run start"),"\nthis will update the build artifacts whenever you change something.\nIn your real application you need to first delete the current ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("em",{parentName:"p"},"@doist/reactist")," dependency and then link to your local one."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"cd ~/your-app\n# delete current reactist dependency\nrm -rf ./node_modules/@doist/reactist\n\n# link local reactist version\nnpm link ../reactist\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"The relative path to reactist may need to be changed to match your local environment."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"To undo the changes and switch back to the reactist version from npm do the following:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"cd ~/your-app\n# first remove linked reactist dependency\nrm -rf ./node_modules/@doist/reactist\n\n# re-install reactist from npm (-E avoids updating the version / package-lock.json)\nnpm install -E @doist/reactist\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h3",{id:"development-tips-and-tricks"},"Development tips and tricks"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Independent of the development you operate in to produce a new build (e.g. before submitting a PR) run:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run build\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"Note:")," This will ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"not")," update the docs. In case you want to update the docs you need to run:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run build-storybook\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"You can run our eslint checks with"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run check\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"It is mandatory to fix all linting errors before you make a pull request."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"Tip:")," You can fix most of the errors automatically by running:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run check -- --fix\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"testing"},"Testing"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Tests are executed with jest or by running:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run test\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"During development you may find it beneficial to continuously execute the tests. This works by running:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run test-watch\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"This also prints the current test coverage."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"MacOS users might need to upgrade watchman with"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"brew install watchman\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"when experiencing troubles with the watch mode. See this issue for details: ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("a",{parentName:"p",href:"https://github.com/facebook/jest/issues/1767",target:"_blank",rel:"nofollow noopener noreferrer"},"https://github.com/facebook/jest/issues/1767")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Reactist",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},2933:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return password_field_stories_InteractivePropsStory}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),useForkRef=(__webpack_require__(166),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(154),__webpack_require__(184),__webpack_require__(43)),tooltip=__webpack_require__(2955),base_field=__webpack_require__(2978),box=__webpack_require__(51),common_helpers=__webpack_require__(295);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var password_field_PasswordField=react.forwardRef((function PasswordField(_ref,ref){var label=_ref.label,secondaryLabel=_ref.secondaryLabel,auxiliaryLabel=_ref.auxiliaryLabel,hint=_ref.hint,maxWidth=_ref.maxWidth,_ref$togglePasswordLa=_ref.togglePasswordLabel,togglePasswordLabel=void 0===_ref$togglePasswordLa?"Toggle password visibility":_ref$togglePasswordLa,hidden=_ref.hidden,ariaDescribedBy=_ref["aria-describedby"],props=_objectWithoutProperties(_ref,["label","secondaryLabel","auxiliaryLabel","hint","maxWidth","togglePasswordLabel","hidden","aria-describedby"]),id=Object(common_helpers.a)(props.id),internalRef=react.useRef(null),inputRef=Object(useForkRef.a)(internalRef,ref),_React$useState2=_slicedToArray(react.useState(!1),2),isPasswordVisible=_React$useState2[0],setPasswordVisible=_React$useState2[1];function togglePasswordVisibility(){var _internalRef$current;setPasswordVisible((function(v){return!v})),null===(_internalRef$current=internalRef.current)||void 0===_internalRef$current||_internalRef$current.focus()}return react.createElement(base_field.a,{id:id,label:label,secondaryLabel:secondaryLabel,auxiliaryLabel:auxiliaryLabel,hint:hint,maxWidth:maxWidth,hidden:hidden,"aria-describedby":ariaDescribedBy},(function(extraProps){return react.createElement(box.a,{display:"flex",alignItems:"center",className:[password_field_module_default.a.inputWrapper,text_field_module_default.a.inputWrapper]},react.createElement("input",password_field_extends({},props,extraProps,{ref:inputRef,type:isPasswordVisible?"text":"password"})),react.createElement(tooltip.a,{content:togglePasswordLabel},react.createElement("button",{type:"button",onClick:togglePasswordVisibility,"aria-label":togglePasswordLabel,tabIndex:-1},isPasswordVisible?react.createElement(PasswordVisibleIcon,{"aria-hidden":!0}):react.createElement(PasswordHiddenIcon,{"aria-hidden":!0}))))}))}));try{password_field_PasswordField.displayName="PasswordField",password_field_PasswordField.__docgenInfo={description:"",displayName:"PasswordField",props:{maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},togglePasswordLabel:{defaultValue:{value:"Toggle password visibility"},description:"",name:"togglePasswordLabel",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/password-field/password-field.tsx#PasswordField"]={docgenInfo:password_field_PasswordField.__docgenInfo,name:"PasswordField",path:"src/new-components/password-field/password-field.tsx#PasswordField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function password_field_stories_extends(){return(password_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/PasswordField",component:password_field_PasswordField};function preventDefault(event){event.preventDefault()}var password_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,auxiliaryLabel=_ref.auxiliaryLabel,props=password_field_stories_objectWithoutProperties(_ref,["label","auxiliaryLabel"]);return react.createElement(password_field_PasswordField,password_field_stories_extends({},props,{label:label,auxiliaryLabel:auxiliaryLabel?react.createElement("a",{href:"#",onClick:preventDefault},auxiliaryLabel):void 0}))};password_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",password_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Password"},secondaryLabel:{control:{type:"text"},defaultValue:"optional"},auxiliaryLabel:{control:{type:"text"},defaultValue:"Forgot your password?"},hint:{control:{type:"text"},defaultValue:"Must be at least 100 characters long, and it should include each letter of the alphabet"},placeholder:{control:{type:"text"},defaultValue:"Type your password"},maxWidth:Object(storybook_helper.i)(["xsmall","small","medium","large","xlarge"],"small")},password_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return (\n \n {auxiliaryLabel}\n \n ) : undefined\n }\n />\n )\n}'}},password_field_stories_InteractivePropsStory.parameters);try{password_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",password_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},togglePasswordLabel:{defaultValue:null,description:"",name:"togglePasswordLabel",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/password-field/password-field.stories.tsx#InteractivePropsStory"]={docgenInfo:password_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/password-field/password-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},2934:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"IconStory",(function(){return Icon_stories_IconStory})),__webpack_require__.d(__webpack_exports__,"IconPlaygroundStory",(function(){return Icon_stories_IconPlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(488),__webpack_require__(489),__webpack_require__(490),__webpack_require__(491),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames),tooltip_tooltip=__webpack_require__(2955),prop_types=__webpack_require__(5),prop_types_default=__webpack_require__.n(prop_types),ThreeDotsIcon_svg_ThreeDotsIcon=function ThreeDotsIcon(_ref){var _ref$color=_ref.color,color=void 0===_ref$color?"#A5A5A5":_ref$color;return react_default.a.createElement("svg",{width:"26px",height:"26px",viewBox:"0 0 26 26"},react_default.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},react_default.a.createElement("circle",{fill:color,cx:"19",cy:"13",r:"2"}),react_default.a.createElement("circle",{fill:color,cx:"13",cy:"13",r:"2"}),react_default.a.createElement("circle",{fill:color,cx:"7",cy:"13",r:"2"})))};ThreeDotsIcon_svg_ThreeDotsIcon.displayName="ThreeDotsIcon",ThreeDotsIcon_svg_ThreeDotsIcon.propTypes={color:prop_types_default.a.string};var ThreeDotsIcon_svg=ThreeDotsIcon_svg_ThreeDotsIcon;try{ThreeDotsIconsvg.displayName="ThreeDotsIconsvg",ThreeDotsIconsvg.__docgenInfo={description:"",displayName:"ThreeDotsIconsvg",props:{color:{defaultValue:{value:"#A5A5A5"},description:"",name:"color",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/icons/ThreeDotsIcon.svg.tsx#ThreeDotsIconsvg"]={docgenInfo:ThreeDotsIconsvg.__docgenInfo,name:"ThreeDotsIconsvg",path:"src/components/icons/ThreeDotsIcon.svg.tsx#ThreeDotsIconsvg"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(2843);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i void) | undefined"}},disabled:{defaultValue:{value:"false"},description:"Whether hte icon is disabled. Disabled icons can't be clicked and displayed with less opacity.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"Additional css class that is applied to the icon",name:"className",required:!1,type:{name:"string | undefined"}},image:{defaultValue:null,description:"URL to the image that should be displayed as icon.",name:"image",required:!1,type:{name:"string | undefined"}},hoveredImage:{defaultValue:null,description:"Optional URL to the image that should be displayed when the icon is hovered.",name:"hoveredImage",required:!1,type:{name:"string | undefined"}},icon:{defaultValue:null,description:"Icon component to render, defaults to three dots.",name:"icon",required:!1,type:{name:"ReactNode"}},tooltip:{defaultValue:null,description:"Text of the tooltip of the icon.",name:"tooltip",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/icon/icon.tsx#Icon"]={docgenInfo:icon_Icon.__docgenInfo,name:"Icon",path:"src/components/icon/icon.tsx#Icon"})}catch(__react_docgen_typescript_loader_error){}var components_icon=icon_Icon,CloseIcon_svg=__webpack_require__(296);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n \n \n \n \n } />\n } disabled />\n \n \n \n
\n)'}},Icon_stories_IconStory.parameters),Icon_stories_IconPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},Icon_stories_IconPlaygroundStory.parameters);try{Icon_stories_IconPlaygroundStory.displayName="IconPlaygroundStory",Icon_stories_IconPlaygroundStory.__docgenInfo={description:"",displayName:"IconPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Icon.stories.tsx#IconPlaygroundStory"]={docgenInfo:Icon_stories_IconPlaygroundStory.__docgenInfo,name:"IconPlaygroundStory",path:"stories/components/Icon.stories.tsx#IconPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2935:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"NoHoverEffectStory",(function(){return Time_stories_NoHoverEffectStory})),__webpack_require__.d(__webpack_exports__,"ExpandTimeStory",(function(){return Time_stories_ExpandTimeStory})),__webpack_require__.d(__webpack_exports__,"FullyExpandTimeStory",(function(){return Time_stories_FullyExpandTimeStory})),__webpack_require__.d(__webpack_exports__,"TooltipTimeStory",(function(){return Time_stories_TooltipTimeStory})),__webpack_require__.d(__webpack_exports__,"TranslatedTimeStory",(function(){return Time_stories_TranslatedTimeStory})),__webpack_require__.d(__webpack_exports__,"TimePlaygroundStory",(function(){return Time_stories_TimePlaygroundStory}));__webpack_require__(183),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(2917);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),dayjs_min=__webpack_require__(140),dayjs_min_default=__webpack_require__.n(dayjs_min),tooltip=(__webpack_require__(664),__webpack_require__(488),__webpack_require__(489),__webpack_require__(490),__webpack_require__(491),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(2955)),localizedFormat=(__webpack_require__(280),__webpack_require__(1601)),localizedFormat_default=__webpack_require__.n(localizedFormat);dayjs_min_default.a.extend(localizedFormat_default.a);var TimeUtils={SHORT_FORMAT_CURRENT_YEAR:"L",SHORT_FORMAT_PAST_YEAR:"LL",LONG_FORMAT:"LL, LT",timeAgo:function timeAgo(timestamp){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_config$locale=config.locale,locale=void 0===_config$locale?"en":_config$locale,_config$shortFormatCu=config.shortFormatCurrentYear,shortFormatCurrentYear=void 0===_config$shortFormatCu?this.SHORT_FORMAT_CURRENT_YEAR:_config$shortFormatCu,_config$shortFormatPa=config.shortFormatPastYear,shortFormatPastYear=void 0===_config$shortFormatPa?this.SHORT_FORMAT_PAST_YEAR:_config$shortFormatPa,_config$daysSuffix=config.daysSuffix,daysSuffix=void 0===_config$daysSuffix?"d":_config$daysSuffix,_config$hoursSuffix=config.hoursSuffix,hoursSuffix=void 0===_config$hoursSuffix?"h":_config$hoursSuffix,_config$minutesSuffix=config.minutesSuffix,minutesSuffix=void 0===_config$minutesSuffix?"m":_config$minutesSuffix,_config$momentsAgo=config.momentsAgo,momentsAgo=void 0===_config$momentsAgo?"moments ago":_config$momentsAgo,now=dayjs_min_default()(),date=dayjs_min_default()(1e3*timestamp);date.locale(locale);var diffMinutes=now.diff(date,"minute"),diffHours=now.diff(date,"hour"),diffDays=now.diff(date,"day");return diffDays>1?date.isSame(now,"year")?date.format(shortFormatCurrentYear):date.format(shortFormatPastYear):1===diffDays?"".concat(diffDays).concat(daysSuffix):diffHours>0&&diffHours<=23?"".concat(diffHours).concat(hoursSuffix):diffMinutes>0&&diffMinutes<=59?"".concat(diffMinutes).concat(minutesSuffix):momentsAgo},formatTime:function formatTime(timestamp){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_config$locale2=config.locale,locale=void 0===_config$locale2?"en":_config$locale2,_config$shortFormatCu2=config.shortFormatCurrentYear,shortFormatCurrentYear=void 0===_config$shortFormatCu2?this.SHORT_FORMAT_CURRENT_YEAR:_config$shortFormatCu2,_config$shortFormatPa2=config.shortFormatPastYear,shortFormatPastYear=void 0===_config$shortFormatPa2?this.SHORT_FORMAT_PAST_YEAR:_config$shortFormatPa2,date=dayjs_min_default()(1e3*timestamp);return date.locale(locale),date.isSame(dayjs_min_default()(),"year")?date.format(shortFormatCurrentYear):date.format(shortFormatPastYear)},formatTimeLong:function formatTimeLong(timestamp){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_config$locale3=config.locale,locale=void 0===_config$locale3?"en":_config$locale3,_config$longFormat=config.longFormat,longFormat=void 0===_config$longFormat?this.LONG_FORMAT:_config$longFormat,date=dayjs_min_default()(1e3*timestamp);return date.locale(locale),date.format(longFormat)}};__webpack_require__(2919);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i (\n
\n

Normal Time (no hover effect)

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_NoHoverEffectStory.parameters),Time_stories_ExpandTimeStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n

Expanding time on hover

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_ExpandTimeStory.parameters),Time_stories_FullyExpandTimeStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n

Fully expanding time on hover

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_FullyExpandTimeStory.parameters),Time_stories_TooltipTimeStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n

Show full time in tooltip on hover

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_TooltipTimeStory.parameters),Time_stories_TranslatedTimeStory.parameters=_objectSpread({storySource:{source:"() => {\n const i18nConfig = {\n locale: 'de',\n hoursSuffix: 'Std',\n minutesSuffix: 'min',\n momentsAgo: 'Gerade eben',\n }\n\n return (\n
\n

Translated times

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n )\n}"}},Time_stories_TranslatedTimeStory.parameters),Time_stories_TimePlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n
\n)'}},Time_stories_TimePlaygroundStory.parameters);try{Time_stories_TimePlaygroundStory.displayName="TimePlaygroundStory",Time_stories_TimePlaygroundStory.__docgenInfo={description:"",displayName:"TimePlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Time.stories.tsx#TimePlaygroundStory"]={docgenInfo:Time_stories_TimePlaygroundStory.__docgenInfo,name:"TimePlaygroundStory",path:"stories/components/Time.stories.tsx#TimePlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2936:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,"decorators",(function(){return decorators})),__webpack_require__.d(preview_namespaceObject,"parameters",(function(){return parameters}));__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(24);var client_api=__webpack_require__(2987),esm=__webpack_require__(11),decorators=(__webpack_require__(0),__webpack_require__(2636),[function(Story){return Story()}]),parameters={options:{storySort:{method:"alphabetical",order:["Reactist","Design tokens","Design system","Hooks","Components"]}},decorators:decorators};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.a.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return Object(client_api.b)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(client_api.c)(loader,!1)}));case"parameters":return Object(client_api.d)(function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var svgPath={checked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z",unchecked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z",mixed:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2 7H8a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2z",filled:"M6 4H18C19.1046 4 20 4.89543 20 6V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V6C4 4.89543 4.89543 4 6 4Z"};function CheckboxIcon(_ref2){var checked=_ref2.checked,indeterminate=_ref2.indeterminate,disabled=_ref2.disabled,props=_objectWithoutProperties(_ref2,["checked","indeterminate","disabled"]),pathKey=function getPathKey(_ref){var checked=_ref.checked,indeterminate=_ref.indeterminate,disabled=_ref.disabled;return indeterminate?"mixed":checked?"checked":disabled?"filled":"unchecked"}({checked:checked,indeterminate:indeterminate,disabled:disabled});return react.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},props),react.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:svgPath[pathKey]}))}CheckboxIcon.displayName="CheckboxIcon";try{CheckboxIcon.displayName="CheckboxIcon",CheckboxIcon.__docgenInfo={description:"",displayName:"CheckboxIcon",props:{checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"boolean | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-icon.tsx#CheckboxIcon"]={docgenInfo:CheckboxIcon.__docgenInfo,name:"CheckboxIcon",path:"src/new-components/checkbox-field/checkbox-icon.tsx#CheckboxIcon"})}catch(__react_docgen_typescript_loader_error){}var checkbox_field_module=__webpack_require__(708),checkbox_field_module_default=__webpack_require__.n(checkbox_field_module);function checkbox_field_extends(){return(checkbox_field_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var checkbox_field_CheckboxField=react.forwardRef((function CheckboxField(_ref,ref){var _ref2,_props$checked,_props$checked2,label=_ref.label,disabled=_ref.disabled,indeterminate=_ref.indeterminate,defaultChecked=_ref.defaultChecked,_onChange=_ref.onChange,props=checkbox_field_objectWithoutProperties(_ref,["label","disabled","indeterminate","defaultChecked","onChange"]),isControlledComponent="boolean"==typeof props.checked;"boolean"!=typeof indeterminate||isControlledComponent||(console.warn("Cannot use indeterminate on an uncontrolled checkbox"),indeterminate=void 0),label||props["aria-label"]||props["aria-labelledby"]||console.warn("A Checkbox needs a label");var _React$useState2=_slicedToArray(react.useState(null!==(_ref2=null!==(_props$checked=props.checked)&&void 0!==_props$checked?_props$checked:defaultChecked)&&void 0!==_ref2&&_ref2),2),checkedState=_React$useState2[0],setChecked=_React$useState2[1],isChecked=null!==(_props$checked2=props.checked)&&void 0!==_props$checked2?_props$checked2:checkedState,internalRef=react.useRef(null),combinedRef=Object(useForkRef.a)(internalRef,ref);return react.useEffect((function setIndeterminate(){internalRef.current&&"boolean"==typeof indeterminate&&(internalRef.current.indeterminate=indeterminate)}),[indeterminate]),react.createElement(box.a,{as:"label",display:"flex",alignItems:"center",className:[checkbox_field_module_default.a.container,disabled?checkbox_field_module_default.a.disabled:null,isChecked?checkbox_field_module_default.a.checked:null,"focus-marker-enabled-within"]},react.createElement(hidden_visually.a,null,react.createElement("input",checkbox_field_extends({},props,{ref:combinedRef,type:"checkbox",checked:isChecked,disabled:disabled,onChange:function onChange(event){null==_onChange||_onChange(event),event.defaultPrevented||setChecked(event.currentTarget.checked)}}))),react.createElement(CheckboxIcon,{"aria-hidden":!0,checked:isChecked,indeterminate:indeterminate,disabled:disabled}),label?react.createElement("span",null,label):null)}));try{checkbox_field_CheckboxField.displayName="CheckboxField",checkbox_field_CheckboxField.__docgenInfo={description:"",displayName:"CheckboxField",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-field.tsx#CheckboxField"]={docgenInfo:checkbox_field_CheckboxField.__docgenInfo,name:"CheckboxField",path:"src/new-components/checkbox-field/checkbox-field.tsx#CheckboxField"})}catch(__react_docgen_typescript_loader_error){}var stack=__webpack_require__(34),text_text=__webpack_require__(48),inline=__webpack_require__(205);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/CheckboxField",component:checkbox_field_CheckboxField};var checkbox_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,props=checkbox_field_stories_objectWithoutProperties(_ref,["label"]);return react.createElement(checkbox_field_CheckboxField,checkbox_field_stories_extends({},props,{label:label||"Default label"}))};checkbox_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",checkbox_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Show unread badge"},disabled:{control:{type:"boolean"},defaultValue:!1},indeterminate:{control:!1}};var checkbox_field_stories_IndeterminateCheckboxStory=function IndeterminateCheckboxStory(props){var _React$useState2=checkbox_field_stories_slicedToArray(react.useState([!1,!0,!1,!1,!1]),2),state=_React$useState2[0],setState=_React$useState2[1],checkedCount=state.filter(Boolean).length,indeterminate=checkedCount>0&&checkedCount) {\n return \n}"}},checkbox_field_stories_InteractivePropsStory.parameters),checkbox_field_stories_IndeterminateCheckboxStory.parameters=_objectSpread({storySource:{source:'function IndeterminateCheckboxStory(props: PartialProps) {\n const [state, setState] = React.useState([false, true, false, false, false])\n const checkedCount = state.filter(Boolean).length\n const indeterminate = checkedCount > 0 && checkedCount < state.length\n\n return (\n \n {\n const { checked } = event.currentTarget\n setState((state) => state.map(() => checked))\n }}\n indeterminate={indeterminate}\n label={`Check/uncheck all (${checkedCount} / ${state.length})`}\n />\n\n \n {state.map((checked, index) => (\n {\n const { checked } = event.currentTarget\n setState((state) => {\n const newState = [...state]\n newState[index] = checked\n return newState\n })\n }}\n />\n ))}\n \n\n \n Mark some (but not all) numbered checkboxes to see the one at the top as\n indeterminate.\n \n \n )\n}'}},checkbox_field_stories_IndeterminateCheckboxStory.parameters);try{checkbox_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",checkbox_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-field.stories.tsx#InteractivePropsStory"]={docgenInfo:checkbox_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/checkbox-field/checkbox-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{checkbox_field_stories_IndeterminateCheckboxStory.displayName="IndeterminateCheckboxStory",checkbox_field_stories_IndeterminateCheckboxStory.__docgenInfo={description:"",displayName:"IndeterminateCheckboxStory",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-field.stories.tsx#IndeterminateCheckboxStory"]={docgenInfo:checkbox_field_stories_IndeterminateCheckboxStory.__docgenInfo,name:"IndeterminateCheckboxStory",path:"src/new-components/checkbox-field/checkbox-field.stories.tsx#IndeterminateCheckboxStory"})}catch(__react_docgen_typescript_loader_error){}},2938:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CheckboxStory",(function(){return Checkbox_stories_CheckboxStory})),__webpack_require__.d(__webpack_exports__,"CheckboxPlaygroundStory",(function(){return Checkbox_stories_CheckboxPlaygroundStory}));__webpack_require__(166),__webpack_require__(9),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(154),__webpack_require__(184),__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);__webpack_require__(2830);function Checkbox(_ref){var label=_ref.label,disabled=_ref.disabled,_ref$checked=_ref.checked,checked=void 0!==_ref$checked&&_ref$checked,onChange=_ref.onChange;return react_default.a.createElement("label",{className:"reactist_checkbox"},react_default.a.createElement("input",{className:"reactist_checkbox--input",value:label,checked:checked,disabled:disabled,onChange:disabled||!onChange?void 0:function(event){return onChange(event.target.checked)},type:"checkbox"}),label)}Checkbox.displayName="Checkbox",Checkbox.displayName="Checkbox";try{Checkbox.displayName="Checkbox",Checkbox.__docgenInfo={description:"",displayName:"Checkbox",props:{checked:{defaultValue:{value:"false"},description:"",name:"checked",required:!1,type:{name:"boolean | undefined"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((checked: boolean) => void) | undefined"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/checkbox/checkbox.tsx#Checkbox"]={docgenInfo:Checkbox.__docgenInfo,name:"Checkbox",path:"src/components/checkbox/checkbox.tsx#Checkbox"})}catch(__react_docgen_typescript_loader_error){}var components_checkbox=Checkbox;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [checked, setChecked] = useState(false)\n\n const handleCheck = () => {\n setChecked((prev: boolean) => !prev)\n }\n\n return (\n
\n

Checkbox

\n \n
\n )\n}'}},Checkbox_stories_CheckboxStory.parameters),Checkbox_stories_CheckboxPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n const [checked, setChecked] = useState(false)\n\n const handleCheck = () => {\n setChecked((prev: boolean) => !prev)\n }\n return (\n
\n \n
\n )\n}'}},Checkbox_stories_CheckboxPlaygroundStory.parameters);try{Checkbox_stories_CheckboxPlaygroundStory.displayName="CheckboxPlaygroundStory",Checkbox_stories_CheckboxPlaygroundStory.__docgenInfo={description:"",displayName:"CheckboxPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Checkbox.stories.tsx#CheckboxPlaygroundStory"]={docgenInfo:Checkbox_stories_CheckboxPlaygroundStory.__docgenInfo,name:"CheckboxPlaygroundStory",path:"stories/components/Checkbox.stories.tsx#CheckboxPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2939:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorPickersStory",(function(){return ColorPicker_stories_ColorPickersStory})),__webpack_require__.d(__webpack_exports__,"CustomColorPickersStory",(function(){return ColorPicker_stories_CustomColorPickersStory})),__webpack_require__.d(__webpack_exports__,"NamedColorPickersStory",(function(){return ColorPicker_stories_NamedColorPickersStory})),__webpack_require__.d(__webpack_exports__,"SmallColorPickerStory",(function(){return ColorPicker_stories_SmallColorPickerStory}));__webpack_require__(166),__webpack_require__(9),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(154),__webpack_require__(184),__webpack_require__(24),__webpack_require__(13),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(2832),__webpack_require__(1492),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames),dropdown=__webpack_require__(130),tooltip_tooltip=__webpack_require__(2955),COLORS=(__webpack_require__(2835),["#606060","#4A90E2","#03B3B2","#008299","#82BA00","#D24726","#AC193D","#DC4FAD","#3BD5FB","#74E8D3","#FFCC00","#FB886E","#CCCCCC"]),_isNamedColor=function _isNamedColor(color){return"string"!=typeof color};function ColorPicker(_ref){var backgroundColor,_ref$color=_ref.color,color=void 0===_ref$color?0:_ref$color,small=_ref.small,onChange=_ref.onChange,_ref$colorList=_ref.colorList,colorList=void 0===_ref$colorList?COLORS:_ref$colorList;return react_default.a.createElement(dropdown.a.Box,{right:!0,className:"reactist_color_picker"},react_default.a.createElement(dropdown.a.Trigger,null,(backgroundColor=function _getColor(colorList,colorIndex){return colorList[colorIndex>=colorList.length?0:colorIndex]}(colorList,color),react_default.a.createElement("span",{className:classnames_default()("color_trigger",{small:small}),style:{backgroundColor:_isNamedColor(backgroundColor)?backgroundColor.color:backgroundColor}},react_default.a.createElement("span",{className:"color_trigger--inner_ring"})))),react_default.a.createElement(dropdown.a.Body,null,react_default.a.createElement("div",{className:"color_options"},colorList.reduce((function(items,currentColor,currentIndex){return items.push(react_default.a.createElement(ColorItem,{isActive:color>=colorList.length?0===currentIndex:currentIndex===color,key:currentIndex,color:_isNamedColor(currentColor)?currentColor.color:currentColor,colorIndex:currentIndex,onClick:onChange,tooltip:_isNamedColor(currentColor)?currentColor.name:null})),items}),[]))))}function ColorItem(_ref2){var color=_ref2.color,colorIndex=_ref2.colorIndex,isActive=_ref2.isActive,_onClick=_ref2.onClick,tooltip=_ref2.tooltip,item=react_default.a.createElement("span",{className:"reactist color_item"+(isActive?" active":""),style:{backgroundColor:color},onClick:function onClick(){return null==_onClick?void 0:_onClick(colorIndex)}},react_default.a.createElement("span",{className:"color_item--inner_ring"}));return tooltip?react_default.a.createElement(tooltip_tooltip.a,{content:tooltip},item):item}ColorPicker.displayName="ColorPicker",ColorPicker.displayName="ColorPicker",ColorItem.displayName="ColorItem";try{ColorPicker.displayName="ColorPicker",ColorPicker.__docgenInfo={description:"",displayName:"ColorPicker",props:{small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean | undefined"}},color:{defaultValue:{value:"0"},description:"",name:"color",required:!1,type:{name:"number | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((color: number) => void) | undefined"}},colorList:{defaultValue:null,description:"",name:"colorList",required:!1,type:{name:"(string | NamedColor)[] | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/color-picker/color-picker.tsx#ColorPicker"]={docgenInfo:ColorPicker.__docgenInfo,name:"ColorPicker",path:"src/components/color-picker/color-picker.tsx#ColorPicker"})}catch(__react_docgen_typescript_loader_error){}try{ColorItem.displayName="ColorItem",ColorItem.__docgenInfo={description:"",displayName:"ColorItem",props:{color:{defaultValue:null,description:"",name:"color",required:!0,type:{name:"string"}},colorIndex:{defaultValue:null,description:"",name:"colorIndex",required:!0,type:{name:"number"}},isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean | undefined"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((colorIndex: number) => void) | undefined"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/color-picker/color-picker.tsx#ColorItem"]={docgenInfo:ColorItem.__docgenInfo,name:"ColorItem",path:"src/components/color-picker/color-picker.tsx#ColorItem"})}catch(__react_docgen_typescript_loader_error){}var components_color_picker=ColorPicker;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Color Picker

\n \n
\n )\n}'}},ColorPicker_stories_ColorPickersStory.parameters),ColorPicker_stories_CustomColorPickersStory.parameters=_objectSpread({storySource:{source:"() => {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Custom Colors Color Picker

\n \n
\n )\n}"}},ColorPicker_stories_CustomColorPickersStory.parameters),ColorPicker_stories_NamedColorPickersStory.parameters=_objectSpread({storySource:{source:"() => {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Named Colors Color Picker

\n \n
\n )\n}"}},ColorPicker_stories_NamedColorPickersStory.parameters),ColorPicker_stories_SmallColorPickerStory.parameters=_objectSpread({storySource:{source:'() => {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Small Color Picker

\n \n
\n )\n}'}},ColorPicker_stories_SmallColorPickerStory.parameters)},2940:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ErrorMessageStory",(function(){return ErrorMessage_stories_ErrorMessageStory})),__webpack_require__.d(__webpack_exports__,"ErrorMessagePlaygroundStory",(function(){return ErrorMessage_stories_ErrorMessagePlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);__webpack_require__(664),__webpack_require__(488),__webpack_require__(489),__webpack_require__(490),__webpack_require__(491),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(2840);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i0}},{key:"render",value:function render(){var message=this.props.message;return!(!this.state.visible||!this._isValidMessage(message))&&react_default.a.createElement("div",{className:"reactist_error_message"},react_default.a.createElement("p",null,message),react_default.a.createElement("div",{onClick:this._hide,className:"dismiss_icon"}))}}]),ErrorMessage}(react_default.a.Component);_defineProperty(error_message_ErrorMessage,"displayName",void 0),_defineProperty(error_message_ErrorMessage,"defaultProps",void 0),error_message_ErrorMessage.displayName="ErrorMessage",error_message_ErrorMessage.defaultProps={timeout:2500};try{error_message_ErrorMessage.displayName="ErrorMessage",error_message_ErrorMessage.__docgenInfo={description:"",displayName:"ErrorMessage",props:{timeout:{defaultValue:{value:"2500"},description:"",name:"timeout",required:!1,type:{name:"number | undefined"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(() => void) | undefined"}},message:{defaultValue:null,description:"",name:"message",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/error-message/error-message.tsx#ErrorMessage"]={docgenInfo:error_message_ErrorMessage.__docgenInfo,name:"ErrorMessage",path:"src/components/error-message/error-message.tsx#ErrorMessage"})}catch(__react_docgen_typescript_loader_error){}var components_error_message=error_message_ErrorMessage;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n \n
\n)'}},ErrorMessage_stories_ErrorMessageStory.parameters),ErrorMessage_stories_ErrorMessagePlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},ErrorMessage_stories_ErrorMessagePlaygroundStory.parameters);try{ErrorMessage_stories_ErrorMessagePlaygroundStory.displayName="ErrorMessagePlaygroundStory",ErrorMessage_stories_ErrorMessagePlaygroundStory.__docgenInfo={description:"",displayName:"ErrorMessagePlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/ErrorMessage.stories.tsx#ErrorMessagePlaygroundStory"]={docgenInfo:ErrorMessage_stories_ErrorMessagePlaygroundStory.__docgenInfo,name:"ErrorMessagePlaygroundStory",path:"stories/components/ErrorMessage.stories.tsx#ErrorMessagePlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2941:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InputStory",(function(){return Input_stories_InputStory})),__webpack_require__.d(__webpack_exports__,"InputPlaygroundStory",(function(){return Input_stories_InputPlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(22),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames);__webpack_require__(2847);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i void) | RefObject | null | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/input/input.tsx#Input"]={docgenInfo:Input.__docgenInfo,name:"Input",path:"src/components/input/input.tsx#Input"})}catch(__react_docgen_typescript_loader_error){}var components_input=Input;__webpack_require__(2845);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i")," element which justs add a class name to give it is unique style. All properties you pass to it (e.g. *value* or *onChange*) are directly applied onto the underlying ",react_default.a.createElement("code",null,"")," element.")),react_default.a.createElement(components_input,{placeholder:"Simple input wrapper"}))};Input_stories_InputStory.displayName="InputStory";var Input_stories_InputPlaygroundStory=function InputPlaygroundStory(args){return react_default.a.createElement("section",{className:"story"},react_default.a.createElement(components_input,args))};Input_stories_InputPlaygroundStory.displayName="InputPlaygroundStory",Input_stories_InputPlaygroundStory.args={placeholder:"Simple input wrapper",disabled:!1},Input_stories_InputPlaygroundStory.argTypes={placeholder:{control:{type:"text"}},disabled:{control:{type:"boolean"}},className:{control:{type:null}}},Input_stories_InputStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n
\n

\n This component is a dumb wrapper around the\n <input /> element which justs add a class name to give it is\n unique style. All properties you pass to it (e.g. *value* or *onChange*) are\n directly applied onto the underlying <input /> element.\n

\n
\n \n
\n)'}},Input_stories_InputStory.parameters),Input_stories_InputPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},Input_stories_InputPlaygroundStory.parameters);try{Input_stories_InputPlaygroundStory.displayName="InputPlaygroundStory",Input_stories_InputPlaygroundStory.__docgenInfo={description:"",displayName:"InputPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Input.stories.tsx#InputPlaygroundStory"]={docgenInfo:Input_stories_InputPlaygroundStory.__docgenInfo,name:"InputPlaygroundStory",path:"stories/components/Input.stories.tsx#InputPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2942:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"LoadingStory",(function(){return Loading_stories_LoadingStory})),__webpack_require__.d(__webpack_exports__,"LoadingPlaygroundStory",(function(){return Loading_stories_LoadingPlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames);__webpack_require__(2856);function Loading(_ref){var className=_ref.className,_ref$spinnerColor=_ref.spinnerColor,spinnerColor=void 0===_ref$spinnerColor?"#3F82EF":_ref$spinnerColor,_ref$bgColor=_ref.bgColor,bgColor=void 0===_ref$bgColor?"#D9E6FB":_ref$bgColor,_ref$size=_ref.size,size=void 0===_ref$size?24:_ref$size,_ref$ariaLabel=_ref["aria-label"],ariaLabel=void 0===_ref$ariaLabel?"Loading":_ref$ariaLabel;return react_default.a.createElement("div",{className:classnames_default()("reactist_loading",className),"aria-label":ariaLabel,"aria-live":"assertive",role:"alert"},react_default.a.createElement("span",{className:"reactist_loading--spinner"},react_default.a.createElement("svg",{width:size,height:size,viewBox:"0 0 24 24"},react_default.a.createElement("g",{fill:"none",fillRule:"nonzero"},react_default.a.createElement("path",{fill:spinnerColor,d:"M17.945 3.958A9.955 9.955 0 0 0 12 2c-2.19 0-4.217.705-5.865 1.9L5.131 2.16A11.945 11.945 0 0 1 12 0c2.59 0 4.99.82 6.95 2.217l-1.005 1.741z"}),react_default.a.createElement("path",{fill:bgColor,d:"M5.13 2.16L6.136 3.9A9.987 9.987 0 0 0 2 12c0 5.523 4.477 10 10 10s10-4.477 10-10a9.986 9.986 0 0 0-4.055-8.042l1.006-1.741A11.985 11.985 0 0 1 24 12c0 6.627-5.373 12-12 12S0 18.627 0 12c0-4.073 2.029-7.671 5.13-9.84z"})))))}Loading.displayName="Loading",Loading.displayName="Loading";try{Loading.displayName="Loading",Loading.__docgenInfo={description:"",displayName:"Loading",props:{className:{defaultValue:null,description:"Additional css class that is applied to Loading.",name:"className",required:!1,type:{name:"string | undefined"}},spinnerColor:{defaultValue:{value:"#3F82EF"},description:"Hex code of the spinner color.",name:"spinnerColor",required:!1,type:{name:"string | undefined"}},bgColor:{defaultValue:{value:"#D9E6FB"},description:"Hex code of the background color.",name:"bgColor",required:!1,type:{name:"string | undefined"}},size:{defaultValue:{value:"24"},description:"Circle diameter in pixels.",name:"size",required:!1,type:{name:"string | number | undefined"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loading/loading.tsx#Loading"]={docgenInfo:Loading.__docgenInfo,name:"Loading",path:"src/components/loading/loading.tsx#Loading"})}catch(__react_docgen_typescript_loader_error){}var components_loading=Loading;__webpack_require__(2854);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n

Loading

\n \n
\n)'}},Loading_stories_LoadingStory.parameters),Loading_stories_LoadingPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},Loading_stories_LoadingPlaygroundStory.parameters);try{Loading_stories_LoadingPlaygroundStory.displayName="LoadingPlaygroundStory",Loading_stories_LoadingPlaygroundStory.__docgenInfo={description:"",displayName:"LoadingPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Loading.stories.tsx#LoadingPlaygroundStory"]={docgenInfo:Loading_stories_LoadingPlaygroundStory.__docgenInfo,name:"LoadingPlaygroundStory",path:"stories/components/Loading.stories.tsx#LoadingPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2943:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"renderModal",(function(){return renderModal})),__webpack_require__.d(__webpack_exports__,"getStory",(function(){return getStory})),__webpack_require__.d(__webpack_exports__,"WithPlaygroundTemplate",(function(){return WithPlaygroundTemplate})),__webpack_require__.d(__webpack_exports__,"ModalTemplate",(function(){return ModalTemplate})),__webpack_require__.d(__webpack_exports__,"WithActionsTemplate",(function(){return WithActionsTemplate})),__webpack_require__.d(__webpack_exports__,"ScrollableText",(function(){return ScrollableText})),__webpack_require__.d(__webpack_exports__,"PlainMediumText",(function(){return PlainMediumText})),__webpack_require__.d(__webpack_exports__,"playground",(function(){return playground})),__webpack_require__.d(__webpack_exports__,"modalHeader",(function(){return modalHeader})),__webpack_require__.d(__webpack_exports__,"modalHeaderAndBody",(function(){return modalHeaderAndBody})),__webpack_require__.d(__webpack_exports__,"modalHeaderBodyWithActions",(function(){return modalHeaderBodyWithActions})),__webpack_require__.d(__webpack_exports__,"modalScrollableBody",(function(){return modalScrollableBody})),__webpack_require__.d(__webpack_exports__,"plainMediumModal",(function(){return plainMediumModal}));__webpack_require__(969),__webpack_require__(22),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(1),blocks=__webpack_require__(14),react_dom=__webpack_require__(56),react_dom_default=__webpack_require__.n(react_dom),react_markdown=__webpack_require__(705),react_markdown_default=__webpack_require__.n(react_markdown),classnames=(__webpack_require__(280),__webpack_require__(183),__webpack_require__(24),__webpack_require__(488),__webpack_require__(489),__webpack_require__(490),__webpack_require__(491),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames),CloseIcon_svg=__webpack_require__(296);__webpack_require__(2899);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal/modal.tsx#Modal.Header"]={docgenInfo:Modal.Header.__docgenInfo,name:"Modal.Header",path:"src/components/modal/modal.tsx#Modal.Header"})}catch(__react_docgen_typescript_loader_error){}try{Modal.Body.displayName="Modal.Body",Modal.Body.__docgenInfo={description:"",displayName:"Modal.Body",props:{icon:{defaultValue:null,description:"Display an icon (or basically any component) on the right hand side of the Modal.Body.",name:"icon",required:!1,type:{name:"ReactNode"}},plain:{defaultValue:null,description:"Applies less styles on the body (e.g. no padding)",name:"plain",required:!1,type:{name:"boolean | undefined"}},style:{defaultValue:null,description:"Sometimes a class name is not enough so you can use this to set the style directly.",name:"style",required:!1,type:{name:"CSSProperties | undefined"}},className:{defaultValue:null,description:"Additionall css class applied to the Modal.Body.",name:"className",required:!1,type:{name:"string | undefined"}},showCloseIcon:{defaultValue:{value:"false"},description:"Render a close icon in the top right corner of the Modal.Body.\nRecommended to use when no Modal.Header is used.",name:"showCloseIcon",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal/modal.tsx#Modal.Body"]={docgenInfo:Modal.Body.__docgenInfo,name:"Modal.Body",path:"src/components/modal/modal.tsx#Modal.Body"})}catch(__react_docgen_typescript_loader_error){}try{Modal.Actions.displayName="Modal.Actions",Modal.Actions.__docgenInfo={description:"",displayName:"Modal.Actions",props:{children:{defaultValue:null,description:"Children to render inside the Modal.Actions. They can have an optional `close` property (boolean).\nWhen that is supplied and set to true it will close the modal after the onClick function",name:"children",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal/modal.tsx#Modal.Actions"]={docgenInfo:Modal.Actions.__docgenInfo,name:"Modal.Actions",path:"src/components/modal/modal.tsx#Modal.Actions"})}catch(__react_docgen_typescript_loader_error){}var components_modal={Box:modal_Box,Header:modal_Header,Body:modal_Body,Actions:modal_Actions},components_button=__webpack_require__(21);__webpack_require__(2897);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function renderModal(modal){react_dom_default.a.render(modal,document.getElementById("modal_box"))}function getStory(text,modal,title){return Object(esm.b)("section",{className:"story"},Object(esm.b)("p",null,title),Object(esm.b)("div",{id:"modal_box"}),Object(esm.b)(components_button.a,{variant:"primary",onClick:function onClick(){return renderModal(modal)},mdxType:"Button"},text))}function WithPlaygroundTemplate(args){var title=args.title,subtitle=args.subtitle,plain=args.plain,medium=args.medium,large=args.large,showCloseIcon=args.showCloseIcon,closeOnOverlayClick=args.closeOnOverlayClick;return Object(esm.b)("section",null,Object(esm.b)(components_modal.Box,{large:large,medium:medium,closeOnOverlayClick:closeOnOverlayClick},Object(esm.b)(components_modal.Header,{title:title,subtitle:subtitle}),Object(esm.b)(components_modal.Body,{plain:plain,showCloseIcon:showCloseIcon},"Some Content"),Object(esm.b)(components_modal.Actions,null,Object(esm.b)(components_button.a,{variant:"secondary",mdxType:"Button"},"Action 1"),Object(esm.b)(components_button.a,{variant:"primary",mdxType:"Button"},"Action 2"))))}function ModalTemplate(args){var title=args.title,subtitle=args.subtitle,body=args.body,buttonTitle=args.buttonTitle,buttonText=args.buttonText,medium=args.medium,plain=args.plain,large=args.large,showCloseIcon=args.showCloseIcon,closeOnOverlayClick=args.closeOnOverlayClick;return getStory(buttonText,Object(esm.b)(components_modal.Box,{large:large,medium:medium,closeOnOverlayClick:closeOnOverlayClick},Object(esm.b)(components_modal.Header,{title:title,subtitle:subtitle}),Object(esm.b)(components_modal.Body,{plain:plain,showCloseIcon:showCloseIcon},Object(esm.b)(react_markdown_default.a,{children:body,mdxType:"ReactMarkdown"}))),buttonTitle)}function WithActionsTemplate(){return getStory("Click me to launch a Modal with Header, Body and Actions",Object(esm.b)(components_modal.Box,{closeOnOverlayClick:!0},Object(esm.b)(components_modal.Header,{title:"Header of Modal",subtitle:"This is a smaller description"}),Object(esm.b)(components_modal.Body,null,"The Body of a Modal can contain whatever you like! Like this very long Lorem Ipsum",Object(esm.b)("br",null),"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."),Object(esm.b)(components_modal.Actions,null,Object(esm.b)(components_button.a,{variant:"secondary",mdxType:"Button"},"Does nothing"),Object(esm.b)(components_button.a,{variant:"primary",close:!0,mdxType:"Button"},"Close the Modal"))),"Header, Body and Actions")}getStory.displayName="getStory",WithPlaygroundTemplate.displayName="WithPlaygroundTemplate";var ScrollableText="The Body of a Modal can contain whatever you like! Like this very long Lorem Ipsum\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.",PlainMediumText="The Body of a Modal can contain whatever you like! Like this very long Lorem Ipsum\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.",layoutProps={renderModal:renderModal,getStory:getStory,WithPlaygroundTemplate:WithPlaygroundTemplate,ModalTemplate:ModalTemplate,WithActionsTemplate:WithActionsTemplate,ScrollableText:ScrollableText,PlainMediumText:PlainMediumText};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(esm.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(esm.b)(blocks.e,{title:"Components/Modal",component:components_modal,argTypes:{title:{name:"title",description:"The modal's title",control:{type:"text"},table:{type:{summary:"string"}}},subtitle:{name:"subtitle",description:"The modal's subtitle",control:{type:"text"},table:{type:{summary:"string"}}},showCloseIcon:{name:"showCloseIcon",description:"The modal's close icon",control:{type:"boolean"},table:{type:{summary:"boolean"}}},medium:{name:"medium",description:"Medium sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},large:{name:"large",description:"Large sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},plain:{name:"plain",description:"A plain modal without styles",control:{type:"boolean"},table:{type:{summary:"boolean"}}}},mdxType:"Meta"}),Object(esm.b)("h1",{id:"component-documentation"},"Component Documentation"),Object(esm.b)("h3",{id:"how-to-use"},"How to use"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal")," component consists of four subcomponents ",Object(esm.b)("em",{parentName:"p"},"Box, Header, Body, Actions")," which are exported as keys of the Modal object. Hence, to use a Modal your code should look like this:"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},"import { Modal } from 'reactist';\n...\n\n ...\n ...\n ...\n\n")),Object(esm.b)("p",null,"The Modal is always attached to an element with the id ",Object(esm.b)("strong",{parentName:"p"},"modal_box"),". You need to add this somewhere in your component hierarchy in order for the Modal to work correctly. It is sufficient to add this once near the top of your component hierarchy."),Object(esm.b)("h3",{id:"modal-box"},"Modal Box"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Box")," component simply acts as a container for the Modal and is responsible for rendering the dark overlay and all children components. You can pass it an optional ",Object(esm.b)("em",{parentName:"p"},"className")," property to apply additional styles."),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Box")," accepts an optional property ",Object(esm.b)("em",{parentName:"p"},"closeOnOverlayClick")," when set to ",Object(esm.b)("strong",{parentName:"p"},"true")," a click on the overlay will close the modal. Defaults to ",Object(esm.b)("strong",{parentName:"p"},"false"),"."),Object(esm.b)("h3",{id:"modal-header"},"Modal Header"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Header")," component shows the Header of the Modal. It always show a close icon on the right side to close the Modal. It can display arbitrary content you pass to it as children. However, the recommended usage pattern is to supply the ",Object(esm.b)("em",{parentName:"p"},"title")," and ",Object(esm.b)("em",{parentName:"p"},"subtitle")," (string) properties. This displays nicely formatted headings inside the Header."),Object(esm.b)("p",null,"Nevertheless, the ",Object(esm.b)("strong",{parentName:"p"},"Modal.Header")," will look the same whether you go for option 1 or option 2:"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},"// Option 1\nA Fancy Title;\n\n// Option 2\n;\n")),Object(esm.b)("h3",{id:"modal-body"},"Modal Body"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"In the simplest case the ",Object(esm.b)("strong",{parentName:"p"},"Modal.Body")," just wraps all its children. However, it can be used to implement a more complex Dialog (i.e. if you do not want to render a Header). You can specify the ",Object(esm.b)("em",{parentName:"p"},"icon")," property (any node, e.g. an ",Object(esm.b)("em",{parentName:"p"},"<","img /",">")," or your custom ",Object(esm.b)("em",{parentName:"p"},"<","Icon /",">")," component) which will be displayed on the left side of the Dialog's Body. When you set the ",Object(esm.b)("em",{parentName:"p"},"showCloseIcon")," property to ",Object(esm.b)("strong",{parentName:"p"},"true")," the Body will display a close icon to dismiss the Dialog again. This should only be used when no Header is used."),Object(esm.b)("h3",{id:"modal-actions"},"Modal Actions"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Actions")," displays an action bar on the bottom of the Modal. It works best with the Reactist Buttons. If you set the ",Object(esm.b)("em",{parentName:"p"},"close")," property to ",Object(esm.b)("strong",{parentName:"p"},"true")," on any of the supplied children it's ",Object(esm.b)("em",{parentName:"p"},"onClick")," function will close the modal."),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},'\n \n\n')),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Playground",args:{plain:!1,showCloseIcon:!1,large:!1,medium:!1,title:"Header of Modal",subtitle:"This is a smaller description"},mdxType:"Story"},WithPlaygroundTemplate.bind({}))),Object(esm.b)(blocks.b,{story:"Playground",mdxType:"ArgsTable"}),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal header",args:{title:"Header of Modal",buttonTitle:"Header Only",buttonText:"Click me to launch a Modal with Header"},mdxType:"Story"},ModalTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal header and body",args:{body:"The Body of a Modal can contain whatever you like!",title:"Header of Modal",subtitle:"This is a smaller description",buttonTitle:"Header and Body",buttonText:"Click me to launch a Modal with Header and Body"},mdxType:"Story"},ModalTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal header body with actions",mdxType:"Story"},WithActionsTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal scrollable body",args:{body:ScrollableText,title:"Header of modal with scrollable body",buttonTitle:"Scrollable Body",buttonText:"Click me to launch a Modal with Scrollable Body"},table:{type:{summary:"string"},defaultValue:{summary:"Hello"}},mdxType:"Story"},ModalTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Plain medium modal",args:{body:PlainMediumText,title:"Header of Modal",buttonTitle:"Header, Body and Actions",buttonText:"Click me to launch a medium-sized Modal with Header and plain Body",medium:!0,plain:!0},mdxType:"Story"},ModalTemplate.bind({}))))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var playground=WithPlaygroundTemplate.bind({});playground.storyName="Playground",playground.args={plain:!1,showCloseIcon:!1,large:!1,medium:!1,title:"Header of Modal",subtitle:"This is a smaller description"},playground.parameters=Object.assign({storySource:{source:"WithPlaygroundTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalHeader=ModalTemplate.bind({});modalHeader.storyName="Modal header",modalHeader.args={title:"Header of Modal",buttonTitle:"Header Only",buttonText:"Click me to launch a Modal with Header"},modalHeader.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalHeaderAndBody=ModalTemplate.bind({});modalHeaderAndBody.storyName="Modal header and body",modalHeaderAndBody.args={body:"The Body of a Modal can contain whatever you like!",title:"Header of Modal",subtitle:"This is a smaller description",buttonTitle:"Header and Body",buttonText:"Click me to launch a Modal with Header and Body"},modalHeaderAndBody.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalHeaderBodyWithActions=WithActionsTemplate.bind({});modalHeaderBodyWithActions.storyName="Modal header body with actions",modalHeaderBodyWithActions.parameters=Object.assign({storySource:{source:"WithActionsTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalScrollableBody=ModalTemplate.bind({});modalScrollableBody.storyName="Modal scrollable body",modalScrollableBody.args={body:ScrollableText,title:"Header of modal with scrollable body",buttonTitle:"Scrollable Body",buttonText:"Click me to launch a Modal with Scrollable Body"},modalScrollableBody.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var plainMediumModal=ModalTemplate.bind({});plainMediumModal.storyName="Plain medium modal",plainMediumModal.args={body:PlainMediumText,title:"Header of Modal",buttonTitle:"Header, Body and Actions",buttonText:"Click me to launch a medium-sized Modal with Header and plain Body",medium:!0,plain:!0},plainMediumModal.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var componentMeta={title:"Components/Modal",component:components_modal,argTypes:{title:{name:"title",description:"The modal's title",control:{type:"text"},table:{type:{summary:"string"}}},subtitle:{name:"subtitle",description:"The modal's subtitle",control:{type:"text"},table:{type:{summary:"string"}}},showCloseIcon:{name:"showCloseIcon",description:"The modal's close icon",control:{type:"boolean"},table:{type:{summary:"boolean"}}},medium:{name:"medium",description:"Medium sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},large:{name:"large",description:"Large sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},plain:{name:"plain",description:"A plain modal without styles",control:{type:"boolean"},table:{type:{summary:"boolean"}}}},includeStories:["playground","modalHeader","modalHeaderAndBody","modalHeaderBodyWithActions","modalScrollableBody","plainMediumModal"]},mdxStoryNameToKey={Playground:"playground","Modal header":"modalHeader","Modal header and body":"modalHeaderAndBody","Modal header body with actions":"modalHeaderBodyWithActions","Modal scrollable body":"modalScrollableBody","Plain medium modal":"plainMediumModal"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(esm.b)(blocks.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.b)(MDXContent,null))}});__webpack_exports__.default=componentMeta},2944:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ProgressBarStory",(function(){return ProgressBar_stories_ProgressBarStory})),__webpack_require__.d(__webpack_exports__,"ProgressBarPlaygroundStory",(function(){return ProgressBar_stories_ProgressBarPlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(2907);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames);__webpack_require__(2909);function ProgressBar(_ref){var _ref$fillPercentage=_ref.fillPercentage,fillPercentage=void 0===_ref$fillPercentage?0:_ref$fillPercentage,className=_ref.className,finalClassName=classnames_default()("reactist_progress_bar",className),width=fillPercentage<0?0:fillPercentage>100?100:fillPercentage;return react_default.a.createElement("div",{className:finalClassName},react_default.a.createElement("div",{className:"inner",style:{width:"".concat(width,"%")}}))}ProgressBar.displayName="ProgressBar",ProgressBar.displayName="ProgressBar";try{ProgressBar.displayName="ProgressBar",ProgressBar.__docgenInfo={description:"",displayName:"ProgressBar",props:{className:{defaultValue:null,description:"Additional css class applied to the progress bar.",name:"className",required:!1,type:{name:"string | undefined"}},fillPercentage:{defaultValue:{value:"0"},description:"How much of the progress bar should be filled. Number between 0 and 100 inclusive.",name:"fillPercentage",required:!1,type:{name:"number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/progress-bar/progress-bar.tsx#ProgressBar"]={docgenInfo:ProgressBar.__docgenInfo,name:"ProgressBar",path:"src/components/progress-bar/progress-bar.tsx#ProgressBar"})}catch(__react_docgen_typescript_loader_error){}var components_progress_bar=ProgressBar;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n

Progress Bars

\n \n \n \n \n \n
\n)'}},ProgressBar_stories_ProgressBarStory.parameters),ProgressBar_stories_ProgressBarPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},ProgressBar_stories_ProgressBarPlaygroundStory.parameters);try{ProgressBar_stories_ProgressBarPlaygroundStory.displayName="ProgressBarPlaygroundStory",ProgressBar_stories_ProgressBarPlaygroundStory.__docgenInfo={description:"",displayName:"ProgressBarPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/ProgressBar.stories.tsx#ProgressBarPlaygroundStory"]={docgenInfo:ProgressBar_stories_ProgressBarPlaygroundStory.__docgenInfo,name:"ProgressBarPlaygroundStory",path:"stories/components/ProgressBar.stories.tsx#ProgressBarPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2945:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"RangeInputStory",(function(){return RangeInput_stories_RangeInputStory})),__webpack_require__.d(__webpack_exports__,"RangeInputPlaygroundStory",(function(){return RangeInput_stories_RangeInputPlaygroundStory}));__webpack_require__(166),__webpack_require__(9),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(154),__webpack_require__(184),__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(967),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames);__webpack_require__(2911);function RangeInput(_ref){var _ref$value=_ref.value,value=void 0===_ref$value?0:_ref$value,_ref$min=_ref.min,min=void 0===_ref$min?0:_ref$min,_ref$max=_ref.max,max=void 0===_ref$max?100:_ref$max,_ref$stepSize=_ref.stepSize,stepSize=void 0===_ref$stepSize?1:_ref$stepSize,onPlus=_ref.onPlus,onMinus=_ref.onMinus,_onChange=_ref.onChange,className=_ref.className;"function"!=typeof onPlus&&(onPlus=_onChange),"function"!=typeof onMinus&&(onMinus=_onChange);var rangeInputClassName=classnames_default()("reactist_range_input",className);return react_default.a.createElement("div",{className:rangeInputClassName},react_default.a.createElement("span",{className:"range_btn minus",onClick:function onClick(){return value>min&&onMinus&&onMinus(value-stepSize)}}),react_default.a.createElement("input",{value:value,className:"range_slider",type:"range",min:min,max:max,step:stepSize,onChange:function onChange(event){return null==_onChange?void 0:_onChange(parseInt(event.target.value))}}),react_default.a.createElement("span",{className:"range_btn plus",onClick:function onClick(){return value void) | undefined"}},onMinus:{defaultValue:null,description:"Optional function that is called when minus button is clicked. If not supplied onChange will be called with the next value.",name:"onMinus",required:!1,type:{name:"((value: number) => void) | undefined"}},onChange:{defaultValue:null,description:"Callback function that is called whenever the range input value changes. When onPlus or onMinus is supplied this will not be called for button clicks.",name:"onChange",required:!1,type:{name:"((value: number) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/range-input/range-input.tsx#RangeInput"]={docgenInfo:RangeInput.__docgenInfo,name:"RangeInput",path:"src/components/range-input/range-input.tsx#RangeInput"})}catch(__react_docgen_typescript_loader_error){}var components_range_input=RangeInput;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [value, setValue] = useState(50)\n\n const handleChange = (val) => {\n setValue(val)\n }\n\n return (\n
\n

RangeInput

\n \n
\n )\n}'}},RangeInput_stories_RangeInputStory.parameters),RangeInput_stories_RangeInputPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n const [value, setValue] = useState(50)\n\n const handleChange = (val) => {\n setValue(val)\n }\n\n return (\n
\n

Current Value: {value}

\n \n
\n )\n}'}},RangeInput_stories_RangeInputPlaygroundStory.parameters);try{RangeInput_stories_RangeInputPlaygroundStory.displayName="RangeInputPlaygroundStory",RangeInput_stories_RangeInputPlaygroundStory.__docgenInfo={description:"",displayName:"RangeInputPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/RangeInput.stories.tsx#RangeInputPlaygroundStory"]={docgenInfo:RangeInput_stories_RangeInputPlaygroundStory.__docgenInfo,name:"RangeInputPlaygroundStory",path:"stories/components/RangeInput.stories.tsx#RangeInputPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2946:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SelectStory",(function(){return Select_stories_SelectStory})),__webpack_require__.d(__webpack_exports__,"SelectPlaygroundStory",(function(){return Select_stories_SelectPlaygroundStory}));__webpack_require__(166),__webpack_require__(9),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(154),__webpack_require__(184),__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(183),__webpack_require__(37),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames);__webpack_require__(2915);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Select(_ref){var value=_ref.value,_ref$options=_ref.options,options=void 0===_ref$options?[]:_ref$options,_onChange=_ref.onChange,_ref$disabled=_ref.disabled,disabled=void 0===_ref$disabled||_ref$disabled,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,defaultValue=_ref.defaultValue,otherProps=_objectWithoutProperties(_ref,["value","options","onChange","disabled","className","defaultValue"]),selectClassName=classnames_default()("reactist_select",{disabled:disabled},className);return react_default.a.createElement("select",_extends({className:selectClassName,value:value,onChange:function onChange(event){return _onChange?_onChange(event.target.value):void 0},disabled:disabled,defaultValue:defaultValue},otherProps),null==options?void 0:options.map((function(option){return react_default.a.createElement("option",{key:option.key||option.value,value:option.value,disabled:option.disabled},option.text)})))}Select.displayName="Select",Select.displayName="Select",Select.defaultProps={options:[],disabled:!1};try{Select.displayName="Select",Select.__docgenInfo={description:"",displayName:"Select",props:{className:{defaultValue:{value:""},description:"",name:"className",required:!1,type:{name:"string | undefined"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean | undefined"}},value:{defaultValue:null,description:"Currently selected value.",name:"value",required:!1,type:{name:"string | number | undefined"}},onChange:{defaultValue:null,description:"Callback for the change event. Will be called with the next value (not the full event).",name:"onChange",required:!1,type:{name:"((value: string) => void) | undefined"}},options:{defaultValue:{value:"[]"},description:"Options that are rendered in the select.",name:"options",required:!1,type:{name:"Option[] | undefined"}},defaultValue:{defaultValue:null,description:"Value to initially be set",name:"defaultValue",required:!1,type:{name:"string | number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/select/select.tsx#Select"]={docgenInfo:Select.__docgenInfo,name:"Select",path:"src/components/select/select.tsx#Select"})}catch(__react_docgen_typescript_loader_error){}var components_select=Select;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [value, setValue] = useState(options[0].value)\n\n const handleChange = (val) => {\n setValue(val)\n }\n\n return (\n
\n \n
\n )\n}'}},Select_stories_SelectPlaygroundStory.parameters);try{Select_stories_SelectPlaygroundStory.displayName="SelectPlaygroundStory",Select_stories_SelectPlaygroundStory.__docgenInfo={description:"",displayName:"SelectPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Select.stories.tsx#SelectPlaygroundStory"]={docgenInfo:Select_stories_SelectPlaygroundStory.__docgenInfo,name:"SelectPlaygroundStory",path:"stories/components/Select.stories.tsx#SelectPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2947:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return hidden_stories_ResponsiveStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),stack=__webpack_require__(34),box=(__webpack_require__(37),__webpack_require__(22),__webpack_require__(51)),hidden_module=__webpack_require__(1595),hidden_module_default=__webpack_require__.n(hidden_module),polymorphism=__webpack_require__(86);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var hidden_Hidden=Object(polymorphism.a)((function Hidden(_ref,ref){var _ref$display=_ref.display,display=void 0===_ref$display?"block":_ref$display,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["display","children","exceptionallySetClassName"]),hiddenOnPrint="print"in props&&props.print,hiddenOnDesktop="above"in props,hiddenOnMobile="below"in props,hiddenOnTablet="below"in props&&"desktop"===props.below||"above"in props&&"mobile"===props.above;return hiddenOnDesktop&&hiddenOnMobile&&console.warn(' should receive either above="…" or below="…" but not both'),hiddenOnDesktop||hiddenOnMobile||hiddenOnPrint||console.warn(" did not receive any criteria to hide itself"),"above"in props&&delete props.above,"below"in props&&delete props.below,"print"in props&&delete props.print,react.createElement(box.a,_extends({},props,{ref:ref,className:[exceptionallySetClassName,hiddenOnPrint?hidden_module_default.a.hiddenOnPrint:null],display:hiddenOnDesktop&&hiddenOnMobile?"none":{mobile:hiddenOnMobile?"none":display,tablet:hiddenOnTablet?"none":display,desktop:hiddenOnDesktop?"none":display}}),children)}));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_exports__.default={title:"Design system/Hidden",component:hidden_Hidden};var hidden_stories_ResponsiveStory=function ResponsiveStory(){return react.createElement(react.Fragment,null,react.createElement(storybook_helper.b,null),react.createElement(stack.a,{space:"medium"},react.createElement(storybook_helper.a,{label:"Always visible 📱💻🖥"}),react.createElement(hidden_Hidden,{above:"mobile"},react.createElement(storybook_helper.a,{label:"Visible only on mobile 📱",height:30})),react.createElement(hidden_Hidden,{below:"desktop"},react.createElement(storybook_helper.a,{label:"Visible only on desktop 🖥",height:75})),react.createElement(hidden_Hidden,{below:"tablet"},react.createElement(storybook_helper.a,{label:"Visible in tablet and desktop 💻🖥",height:60})),react.createElement(hidden_Hidden,{above:"tablet"},react.createElement(storybook_helper.a,{label:"Visible in mobile and tablet 📱💻",height:45})),react.createElement(hidden_Hidden,{above:"tablet"},react.createElement(storybook_helper.a,{label:"Does not make sense"}))))};hidden_stories_ResponsiveStory.parameters=function _objectSpread(target){for(var i=1;i\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n )\n}'}},hidden_stories_ResponsiveStory.parameters)},2948:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return select_field_stories_InteractivePropsStory}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),base_field=__webpack_require__(2978),box=__webpack_require__(51),select_field_module=__webpack_require__(1597),select_field_module_default=__webpack_require__.n(select_field_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var select_field_SelectField=react.forwardRef((function SelectField(_ref,ref){var id=_ref.id,label=_ref.label,secondaryLabel=_ref.secondaryLabel,auxiliaryLabel=_ref.auxiliaryLabel,hint=_ref.hint,maxWidth=_ref.maxWidth,children=_ref.children,hidden=_ref.hidden,ariaDescribedBy=_ref["aria-describedby"],props=_objectWithoutProperties(_ref,["id","label","secondaryLabel","auxiliaryLabel","hint","maxWidth","children","hidden","aria-describedby"]);return react.createElement(base_field.a,{id:id,label:label,secondaryLabel:secondaryLabel,auxiliaryLabel:auxiliaryLabel,hint:hint,maxWidth:maxWidth,hidden:hidden,"aria-describedby":ariaDescribedBy},(function(extraProps){return react.createElement(box.a,{className:select_field_module_default.a.selectWrapper},react.createElement("select",_extends({},props,extraProps,{ref:ref}),children),react.createElement(SelectChevron,{"aria-hidden":!0}))}))}));function SelectChevron(props){return react.createElement("svg",_extends({width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},props),react.createElement("path",{d:"M11.646 5.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 1 1 .708-.708L8 9.293l3.646-3.647z",fill:"currentColor"}))}SelectChevron.displayName="SelectChevron";try{select_field_SelectField.displayName="SelectField",select_field_SelectField.__docgenInfo={description:"",displayName:"SelectField",props:{maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/select-field/select-field.tsx#SelectField"]={docgenInfo:select_field_SelectField.__docgenInfo,name:"SelectField",path:"src/new-components/select-field/select-field.tsx#SelectField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function select_field_stories_extends(){return(select_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/SelectField",component:select_field_SelectField};function preventDefault(event){event.preventDefault()}var select_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,auxiliaryLabel=_ref.auxiliaryLabel,props=select_field_stories_objectWithoutProperties(_ref,["label","auxiliaryLabel"]);return react.createElement(select_field_SelectField,select_field_stories_extends({},props,{label:label,auxiliaryLabel:auxiliaryLabel?react.createElement("a",{href:"#",onClick:preventDefault},auxiliaryLabel):void 0,defaultValue:"-"}),react.createElement("option",{value:"-",disabled:!0},"Select theme"),react.createElement("optgroup",{label:"Light themes"},react.createElement("option",{value:"default"},"Default theme"),react.createElement("option",{value:"bright"},"Extra bright")),react.createElement("optgroup",{label:"Dark themes"},react.createElement("option",{value:"contrast"},"High contrast"),react.createElement("option",{value:"dark"},"Dark mode")))};select_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",select_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Theme"},secondaryLabel:{control:{type:"text"},defaultValue:"optional"},auxiliaryLabel:{control:{type:"text"},defaultValue:"Need help?"},hint:{control:{type:"text"},defaultValue:"The theme you select will be applied immediately. If you upgrade to premium you will have more themes to choose from."},maxWidth:Object(storybook_helper.i)(["xsmall","small","medium","large","xlarge"],"small")},select_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return (\n \n {auxiliaryLabel}\n \n ) : undefined\n }\n defaultValue="-"\n >\n \n \n \n \n \n \n \n \n \n \n )\n}'}},select_field_stories_InteractivePropsStory.parameters);try{select_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",select_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/select-field/select-field.stories.tsx#InteractivePropsStory"]={docgenInfo:select_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/select-field/select-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},2949:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return switch_field_stories_InteractivePropsStory}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),box=(__webpack_require__(166),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(154),__webpack_require__(184),__webpack_require__(51)),stack=__webpack_require__(34),hidden_visually=__webpack_require__(2977),base_field=__webpack_require__(2978),common_helpers=__webpack_require__(295),switch_field_module=__webpack_require__(333),switch_field_module_default=__webpack_require__.n(switch_field_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var switch_field_SwitchField=react.forwardRef((function SwitchField(_ref,ref){var _ref2,_props$checked,_props$checked2,label=_ref.label,hint=_ref.hint,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,hidden=_ref.hidden,defaultChecked=_ref.defaultChecked,originalId=_ref.id,originalAriaDescribedBy=_ref["aria-describedby"],_onChange=_ref.onChange,props=_objectWithoutProperties(_ref,["label","hint","disabled","hidden","defaultChecked","id","aria-describedby","onChange"]),id=Object(common_helpers.a)(originalId),hintId=Object(common_helpers.a)(),ariaDescribedBy=null!=originalAriaDescribedBy?originalAriaDescribedBy:hint?hintId:void 0,_React$useState2=_slicedToArray(react.useState(null!==(_ref2=null!==(_props$checked=props.checked)&&void 0!==_props$checked?_props$checked:defaultChecked)&&void 0!==_ref2&&_ref2),2),checkedState=_React$useState2[0],setChecked=_React$useState2[1],isChecked=null!==(_props$checked2=props.checked)&&void 0!==_props$checked2?_props$checked2:checkedState;return react.createElement(stack.a,{space:"small",hidden:hidden},react.createElement(box.a,{className:[switch_field_module_default.a.container,disabled?switch_field_module_default.a.disabled:null,isChecked?switch_field_module_default.a.checked:null],as:"label",display:"flex",alignItems:"center"},react.createElement(box.a,{position:"relative",display:"inlineBlock",overflow:"visible",marginRight:"small",flexShrink:0,className:switch_field_module_default.a.toggle},react.createElement(hidden_visually.a,null,react.createElement("input",_extends({},props,{id:id,type:"checkbox",disabled:disabled,"aria-describedby":ariaDescribedBy,ref:ref,checked:isChecked,onChange:function onChange(event){null==_onChange||_onChange(event),event.defaultPrevented||setChecked(event.currentTarget.checked)}}))),react.createElement("span",{className:switch_field_module_default.a.handle})),react.createElement("span",{className:switch_field_module_default.a.label},label)),hint?react.createElement(base_field.b,{id:hintId},hint):null)}));try{switch_field_SwitchField.displayName="SwitchField",switch_field_SwitchField.__docgenInfo={description:"",displayName:"SwitchField",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/switch-field/switch-field.tsx#SwitchField"]={docgenInfo:switch_field_SwitchField.__docgenInfo,name:"SwitchField",path:"src/new-components/switch-field/switch-field.tsx#SwitchField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function switch_field_stories_extends(){return(switch_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/SwitchField",component:switch_field_SwitchField};var switch_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,props=switch_field_stories_objectWithoutProperties(_ref,["label"]);return react.createElement(switch_field_SwitchField,switch_field_stories_extends({},props,{label:label||"Default label"}))};switch_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",switch_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Show unread badge"},hint:{control:{type:"text"},defaultValue:"Show an icon badge to indicate that there are new threads and messages."},disabled:{control:{type:"boolean"},defaultValue:!1}},switch_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return \n}"}},switch_field_stories_InteractivePropsStory.parameters);try{switch_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",switch_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/switch-field/switch-field.stories.tsx#InteractivePropsStory"]={docgenInfo:switch_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/switch-field/switch-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},295:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useId}));__webpack_require__(280);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),uid=0;function generateElementId(prefix){var num=function uniqueId(){return uid++}();return"".concat(prefix,"-").concat(num)}function useId(providedId){var ref=react__WEBPACK_IMPORTED_MODULE_1__.useRef(null!=providedId?providedId:null);return ref.current||(ref.current=generateElementId("element")),ref.current}},2950:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Template",(function(){return tabs_stories_Template})),__webpack_require__.d(__webpack_exports__,"mainDemo",(function(){return mainDemo})),__webpack_require__.d(__webpack_exports__,"primaryColor",(function(){return primaryColor})),__webpack_require__.d(__webpack_exports__,"secondaryColor",(function(){return secondaryColor})),__webpack_require__.d(__webpack_exports__,"tertiaryColor",(function(){return tertiaryColor})),__webpack_require__.d(__webpack_exports__,"plainVariant",(function(){return plainVariant})),__webpack_require__.d(__webpack_exports__,"usingTheTabAwareSlotComponent",(function(){return tabs_stories_usingTheTabAwareSlotComponent})),__webpack_require__.d(__webpack_exports__,"multipleTabListInstances",(function(){return tabs_stories_multipleTabListInstances}));__webpack_require__(969),__webpack_require__(22),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9);var react=__webpack_require__(0),esm=__webpack_require__(1),blocks=__webpack_require__(14),classnames=(__webpack_require__(280),__webpack_require__(2684),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(166),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(184),__webpack_require__(153),__webpack_require__(154),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames),TabState=__webpack_require__(2979),Tab=__webpack_require__(2980),TabList=__webpack_require__(2981),TabPanel=__webpack_require__(2982),inline=__webpack_require__(205),use_previous=__webpack_require__(1011),tabs_module=__webpack_require__(711),tabs_module_default=__webpack_require__.n(tabs_module);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){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 _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){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 _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i` group.",displayName:"Tabs",props:{children:{defaultValue:null,description:"The `` component must be composed from a `` and corresponding `` components",name:"children",required:!0,type:{name:"ReactNode"}},color:{defaultValue:{value:"primary"},description:"Determines the primary colour of the tabs",name:"color",required:!1,type:{name:'"primary" | "secondary" | "tertiary" | undefined'}},variant:{defaultValue:{value:"normal"},description:"Determines the style of the tabs",name:"variant",required:!1,type:{name:'"normal" | "plain" | undefined'}},selectedId:{defaultValue:null,description:"The id of the selected tab",name:"selectedId",required:!1,type:{name:"string | null | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#Tabs"]={docgenInfo:Tabs.__docgenInfo,name:"Tabs",path:"src/new-components/tabs/tabs.tsx#Tabs"})}catch(__react_docgen_typescript_loader_error){}try{tabs_TabList.displayName="TabList",tabs_TabList.__docgenInfo={description:"A component used to group `` elements together.",displayName:"TabList",props:{"aria-label":{defaultValue:null,description:"Labels the tab list for assistive technologies. This must be provided if `aria-labelledby` is omitted.",name:"aria-label",required:!0,type:{name:"string"}},children:{defaultValue:null,description:"A list of `` elements",name:"children",required:!0,type:{name:"ReactNode"}},space:{defaultValue:{value:"medium"},description:"Controls the spacing between tabs",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},"aria-labelledby":{defaultValue:null,description:"One or more element IDs used to label the tab list for assistive technologies. Required if\n`aria-label` is omitted.",name:"aria-labelledby",required:!0,type:{name:"string"}},"aria-hidden":{defaultValue:null,description:"For cases where multiple instances of the tab list exists, the duplicates may be marked as aria-hidden",name:"aria-hidden",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#TabList"]={docgenInfo:tabs_TabList.__docgenInfo,name:"TabList",path:"src/new-components/tabs/tabs.tsx#TabList"})}catch(__react_docgen_typescript_loader_error){}try{tabs_Tab.displayName="Tab",tabs_Tab.__docgenInfo={description:"Represents the individual tab elements within the group. Each `` must have a corresponding `` component.",displayName:"Tab",props:{children:{defaultValue:null,description:"The content to render inside of the tab button",name:"children",required:!0,type:{name:"ReactNode"}},id:{defaultValue:null,description:"The tab's identifier. This must match its corresponding ``'s id",name:"id",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#Tab"]={docgenInfo:tabs_Tab.__docgenInfo,name:"Tab",path:"src/new-components/tabs/tabs.tsx#Tab"})}catch(__react_docgen_typescript_loader_error){}try{tabs_TabPanel.displayName="TabPanel",tabs_TabPanel.__docgenInfo={description:"Used to define the content to be rendered when a tab is active. Each `` must have a corresponding `` component.",displayName:"TabPanel",props:{children:{defaultValue:null,description:"The content to be rendered inside the tab",name:"children",required:!0,type:{name:"ReactNode"}},id:{defaultValue:null,description:"The tabPanel's identifier. This must match its corresponding ``'s id",name:"id",required:!0,type:{name:"string"}},render:{defaultValue:{value:"always"},description:"By default, the tab panel's content is always rendered even when they are not active. This behaviour can be changed to\n'active', which renders only when the tab is active, and 'lazy', meaning while inactive tab panels will not be rendered\ninitially, they will remain mounted once they are active until the entire Tabs tree is unmounted.",name:"render",required:!1,type:{name:'"always" | "active" | "lazy" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#TabPanel"]={docgenInfo:tabs_TabPanel.__docgenInfo,name:"TabPanel",path:"src/new-components/tabs/tabs.tsx#TabPanel"})}catch(__react_docgen_typescript_loader_error){}try{TabAwareSlot.displayName="TabAwareSlot",TabAwareSlot.__docgenInfo={description:"Allows content to be rendered based on the current tab being selected while outside of the TabPanel\ncomponent. Can be placed freely within the main `` component.",displayName:"TabAwareSlot",props:{children:{defaultValue:null,description:"Render prop used to provide the content to be rendered inside the slot. The render prop will be\ncalled with the current `selectedId`",name:"children",required:!0,type:{name:"(provided: { selectedId?: string | null | undefined; }) => ReactElement ReactElement Component)> | null) | (new (props: any) => Component<...>)> | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#TabAwareSlot"]={docgenInfo:TabAwareSlot.__docgenInfo,name:"TabAwareSlot",path:"src/new-components/tabs/tabs.tsx#TabAwareSlot"})}catch(__react_docgen_typescript_loader_error){}var box=__webpack_require__(51),text_text=__webpack_require__(48),columns=__webpack_require__(8);function tabs_stories_extends(){return(tabs_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var tabs_stories_Template=function Template(_ref){var color=_ref.color,variant=_ref.variant,space=_ref.space,selectedId=_ref.selectedId,render=_ref.render,ariaLabel=_ref["aria-label"],ariaLabelledby=_ref["aria-labelledby"];return Object(esm.b)(Tabs,{color:color,variant:variant,selectedId:selectedId,mdxType:"Tabs"},Object(esm.b)(tabs_TabList,{"aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,space:space,mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3")),Object(esm.b)(tabs_TabPanel,{id:"tab1",render:render,mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2",render:render,mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3",render:render,mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 3"))))};tabs_stories_Template.displayName="Template";var layoutProps={Template:tabs_stories_Template};function MDXContent(_ref2){var components=_ref2.components,props=tabs_stories_objectWithoutProperties(_ref2,["components"]);return Object(esm.b)("wrapper",tabs_stories_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(esm.b)(blocks.e,{title:"Design system/Tabs",component:Tabs,mdxType:"Meta"}),Object(esm.b)("h1",{id:"tabs"},"Tabs"),Object(esm.b)("p",null,"A set of components that allow tabs to be rendered, which controls the visibility of their corresponding tab panels.\nThis component is powered by ",Object(esm.b)("a",{parentName:"p",href:"https://reakit.io/docs/tab",target:"_blank",rel:"nofollow noopener noreferrer"},"Reakit's Tab component"),". For more details of its expected\nbehaviour, see ",Object(esm.b)("a",{parentName:"p",href:"https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role",target:"_blank",rel:"nofollow noopener noreferrer"},"ARIA: tab role"),"."),Object(esm.b)("p",null,"🎨 ",Object(esm.b)("a",{parentName:"p",href:"https://www.figma.com/file/LYlWNzvhMDh907l07mPPQk/Product-Web?node-id=4693%3A175143",target:"_blank",rel:"nofollow noopener noreferrer"},"Figma")),Object(esm.b)(blocks.c,{mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Main demo for Tabs"},argTypes:{selectedId:{options:["tab1","tab2","tab3",null,void 0],control:{type:"inline-radio"}},variant:{options:["normal","plain"],control:{type:"inline-radio"}},color:{options:["primary","secondary","tertiary"],control:{type:"inline-radio"}},space:{options:["xsmall","small","medium","large","xlarge","xxlarge"],control:{type:"inline-radio"}},render:{options:["always","active","lazy"],control:{type:"inline-radio"}}},name:"Main demo",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h2",{id:"tabs-1"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:Tabs,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:Tabs,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tablist"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:tabs_TabList,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:tabs_TabList,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tab"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:tabs_Tab,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:tabs_Tab,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tabpanel"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:tabs_TabPanel,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:tabs_TabPanel,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tabawareslot"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:TabAwareSlot,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:TabAwareSlot,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"colors"},"Colors"),Object(esm.b)("p",null,"The following CSS custom properties are available so that the tabs' colors can be customized:"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},"--reactist-tab-primary-background\n--reactist-tab-primary-foreground\n--reactist-tab-primary-unselected\n\n--reactist-tab-secondary-background\n--reactist-tab-secondary-foreground\n--reactist-tab-secondary-unselected\n\n--reactist-tab-tertiary-background\n--reactist-tab-tertiary-foreground\n--reactist-tab-tertiary-unselected\n")),Object(esm.b)("h2",{id:"stories"},"Stories"),Object(esm.b)("h3",{id:"primary-color"},"Primary color"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with primary color style"},name:"Primary color",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"secondary-color"},"Secondary color"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with secondary color style",color:"secondary"},name:"Secondary color",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"tertiary-color"},"Tertiary color"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with tertiary color style",color:"tertiary"},name:"Tertiary color",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"plain-variant"},"Plain variant"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with plain variant style",variant:"plain"},name:"Plain variant",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"using-the-tabawareslot-component"},"Using the ",Object(esm.b)("inlineCode",{parentName:"h3"},"")," component"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Using the TabAwareSlot component",mdxType:"Story"},Object(esm.b)(Tabs,{mdxType:"Tabs"},Object(esm.b)(columns.b,{mdxType:"Columns"},Object(esm.b)(columns.a,{width:"content",mdxType:"Column"},Object(esm.b)(tabs_TabList,{"aria-label":"TabAwareSlot example tabs",mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3"))),Object(esm.b)(columns.a,{mdxType:"Column"},Object(esm.b)(TabAwareSlot,{mdxType:"TabAwareSlot"},(function(_ref3){var selectedId=_ref3.selectedId;return Object(esm.b)(box.a,{height:"full",display:"flex",alignItems:"center",justifyContent:"flexEnd",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Currently showing the ",selectedId," tab"))})))),Object(esm.b)(tabs_TabPanel,{id:"tab1",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 3")))))),Object(esm.b)("h3",{id:"multiple-tablist-instances"},"Multiple ",Object(esm.b)("inlineCode",{parentName:"h3"},"")," instances"),Object(esm.b)("p",null,"As long as they exist within the same ",Object(esm.b)("inlineCode",{parentName:"p"},"")," component tree, multiple ",Object(esm.b)("inlineCode",{parentName:"p"},"")," instances can be rendered."),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Multiple TabList instances",mdxType:"Story"},Object(esm.b)(Tabs,{mdxType:"Tabs"},Object(esm.b)(tabs_TabList,{"aria-label":"Multiple tablist example tabs",mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3")),Object(esm.b)(tabs_TabPanel,{id:"tab1",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 3"))),Object(esm.b)(tabs_TabList,{"aria-hidden":!0,mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3"))))))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var mainDemo=tabs_stories_Template.bind({});mainDemo.storyName="Main demo",mainDemo.argTypes={selectedId:{options:["tab1","tab2","tab3",null,void 0],control:{type:"inline-radio"}},variant:{options:["normal","plain"],control:{type:"inline-radio"}},color:{options:["primary","secondary","tertiary"],control:{type:"inline-radio"}},space:{options:["xsmall","small","medium","large","xlarge","xxlarge"],control:{type:"inline-radio"}},render:{options:["always","active","lazy"],control:{type:"inline-radio"}}},mainDemo.args={"aria-label":"Main demo for Tabs"},mainDemo.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var primaryColor=tabs_stories_Template.bind({});primaryColor.storyName="Primary color",primaryColor.args={"aria-label":"Tabs with primary color style"},primaryColor.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var secondaryColor=tabs_stories_Template.bind({});secondaryColor.storyName="Secondary color",secondaryColor.args={"aria-label":"Tabs with secondary color style",color:"secondary"},secondaryColor.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var tertiaryColor=tabs_stories_Template.bind({});tertiaryColor.storyName="Tertiary color",tertiaryColor.args={"aria-label":"Tabs with tertiary color style",color:"tertiary"},tertiaryColor.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var plainVariant=tabs_stories_Template.bind({});plainVariant.storyName="Plain variant",plainVariant.args={"aria-label":"Tabs with plain variant style",variant:"plain"},plainVariant.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var tabs_stories_usingTheTabAwareSlotComponent=function usingTheTabAwareSlotComponent(){return Object(esm.b)(Tabs,null,Object(esm.b)(columns.b,null,Object(esm.b)(columns.a,{width:"content"},Object(esm.b)(tabs_TabList,{"aria-label":"TabAwareSlot example tabs"},Object(esm.b)(tabs_Tab,{id:"tab1"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3"},"Tab 3"))),Object(esm.b)(columns.a,null,Object(esm.b)(TabAwareSlot,null,(function(_ref4){var selectedId=_ref4.selectedId;return Object(esm.b)(box.a,{height:"full",display:"flex",alignItems:"center",justifyContent:"flexEnd"},Object(esm.b)(text_text.a,null,"Currently showing the ",selectedId," tab"))})))),Object(esm.b)(tabs_TabPanel,{id:"tab1"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 3"))))};tabs_stories_usingTheTabAwareSlotComponent.displayName="usingTheTabAwareSlotComponent",tabs_stories_usingTheTabAwareSlotComponent.storyName="Using the TabAwareSlot component",tabs_stories_usingTheTabAwareSlotComponent.parameters=Object.assign({storySource:{source:'\n \n \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n \n {({\n selectedId\n }) => \n Currently showing the {selectedId} tab\n }\n \n \n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var tabs_stories_multipleTabListInstances=function multipleTabListInstances(){return Object(esm.b)(Tabs,null,Object(esm.b)(tabs_TabList,{"aria-label":"Multiple tablist example tabs"},Object(esm.b)(tabs_Tab,{id:"tab1"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3"},"Tab 3")),Object(esm.b)(tabs_TabPanel,{id:"tab1"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 3"))),Object(esm.b)(tabs_TabList,{"aria-hidden":!0},Object(esm.b)(tabs_Tab,{id:"tab1"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3"},"Tab 3")))};tabs_stories_multipleTabListInstances.displayName="multipleTabListInstances",tabs_stories_multipleTabListInstances.storyName="Multiple TabList instances",tabs_stories_multipleTabListInstances.parameters=Object.assign({storySource:{source:'\n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n \n Tab 1\n Tab 2\n Tab 3\n \n '}},{docs:{source:{type:"code"}}});var componentMeta={title:"Design system/Tabs",component:Tabs,includeStories:["mainDemo","primaryColor","secondaryColor","tertiaryColor","plainVariant","usingTheTabAwareSlotComponent","multipleTabListInstances"]},mdxStoryNameToKey={"Main demo":"mainDemo","Primary color":"primaryColor","Secondary color":"secondaryColor","Tertiary color":"tertiaryColor","Plain variant":"plainVariant","Using the TabAwareSlot component":"usingTheTabAwareSlotComponent","Multiple TabList instances":"multipleTabListInstances"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(esm.b)(blocks.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.b)(MDXContent,null))}});__webpack_exports__.default=componentMeta},2951:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return text_field_stories_InteractivePropsStory}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),base_field=__webpack_require__(2978),box=__webpack_require__(51),text_field_module=__webpack_require__(700),text_field_module_default=__webpack_require__.n(text_field_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var text_field_TextField=react.forwardRef((function TextField(_ref,ref){var id=_ref.id,label=_ref.label,secondaryLabel=_ref.secondaryLabel,auxiliaryLabel=_ref.auxiliaryLabel,hint=_ref.hint,_ref$type=_ref.type,type=void 0===_ref$type?"text":_ref$type,maxWidth=_ref.maxWidth,hidden=_ref.hidden,ariaDescribedBy=_ref["aria-describedby"],props=_objectWithoutProperties(_ref,["id","label","secondaryLabel","auxiliaryLabel","hint","type","maxWidth","hidden","aria-describedby"]);return react.createElement(base_field.a,{id:id,label:label,secondaryLabel:secondaryLabel,auxiliaryLabel:auxiliaryLabel,hint:hint,maxWidth:maxWidth,hidden:hidden,"aria-describedby":ariaDescribedBy},(function(extraProps){return react.createElement(box.a,{className:text_field_module_default.a.inputWrapper},react.createElement("input",_extends({},props,extraProps,{type:type,ref:ref})))}))}));try{text_field_TextField.displayName="TextField",text_field_TextField.__docgenInfo={description:"",displayName:"TextField",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:'"text" | "tel" | "url" | "email" | "search" | undefined'}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/text-field/text-field.tsx#TextField"]={docgenInfo:text_field_TextField.__docgenInfo,name:"TextField",path:"src/new-components/text-field/text-field.tsx#TextField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function text_field_stories_extends(){return(text_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/TextField",component:text_field_TextField};function preventDefault(event){event.preventDefault()}var text_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,auxiliaryLabel=_ref.auxiliaryLabel,props=text_field_stories_objectWithoutProperties(_ref,["label","auxiliaryLabel"]);return react.createElement(text_field_TextField,text_field_stories_extends({},props,{label:label,auxiliaryLabel:auxiliaryLabel?react.createElement("a",{href:"#",onClick:preventDefault},auxiliaryLabel):void 0}))};text_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",text_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Your name"},secondaryLabel:{control:{type:"text"},defaultValue:"optional"},auxiliaryLabel:{control:{type:"text"},defaultValue:"Need help?"},hint:{control:{type:"text"},defaultValue:"We need your name for billing and shipping purposes. Make sure to enter it correctly."},placeholder:{control:{type:"text"},defaultValue:"Enter your name as it appears in your ID"},maxWidth:Object(storybook_helper.i)(["xsmall","small","medium","large","xlarge"],"small")},text_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return (\n \n {auxiliaryLabel}\n \n ) : undefined\n }\n />\n )\n}'}},text_field_stories_InteractivePropsStory.parameters);try{text_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",text_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:'"text" | "tel" | "url" | "email" | "search" | undefined'}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "full" | "xsmall" | "medium" | "xlarge" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/text-field/text-field.stories.tsx#InteractivePropsStory"]={docgenInfo:text_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/text-field/text-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},2952:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"StandardButtonsStory",(function(){return Button_stories_StandardButtonsStory})),__webpack_require__.d(__webpack_exports__,"SmallButtonsStory",(function(){return Button_stories_SmallButtonsStory})),__webpack_require__.d(__webpack_exports__,"LargeButtonsStory",(function(){return Button_stories_LargeButtonsStory})),__webpack_require__.d(__webpack_exports__,"DisabledButtonsStory",(function(){return Button_stories_DisabledButtonsStory})),__webpack_require__.d(__webpack_exports__,"LoadingButtonsStory",(function(){return Button_stories_LoadingButtonsStory})),__webpack_require__.d(__webpack_exports__,"AlternateBrandingButtonsStory",(function(){return Button_stories_AlternateBrandingButtonsStory})),__webpack_require__.d(__webpack_exports__,"ButtonPlaygroundStory",(function(){return Button_stories_ButtonPlaygroundStory}));__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),react_markdown=__webpack_require__(705),react_markdown_default=__webpack_require__.n(react_markdown),components_button=(__webpack_require__(2825),__webpack_require__(21));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i .reactist_button {\n background-color: @primary-color;\n\n &--primary:not([disabled]):hover {\n background-color: @primary-color-darker;\n }\n\n &:not(.reactist_button--loading):not(.reactist_button--secondary)&:disabled {\n background-color: @primary-color-lighter;\n }\n\n &.reactist_button--secondary {\n background-color: white;\n border: 1px solid @primary-color;\n color: @primary-color;\n }\n }\n }\n"}),react_default.a.createElement("br",null),react_default.a.createElement(components_button.a,{variant:"primary"},"Primary Button"),react_default.a.createElement(components_button.a,{variant:"secondary"},"Secondary Button"))};Button_stories_AlternateBrandingButtonsStory.displayName="AlternateBrandingButtonsStory";var Button_stories_ButtonPlaygroundStory=function ButtonPlaygroundStory(args){return react_default.a.createElement("section",{className:"story playground"},react_default.a.createElement(components_button.a,args,"Button Text"))};Button_stories_ButtonPlaygroundStory.displayName="ButtonPlaygroundStory",Button_stories_ButtonPlaygroundStory.args={variant:"primary",size:"default",disabled:!1,loading:!1,tooltip:""},Button_stories_ButtonPlaygroundStory.argTypes={disabled:"boolean",loading:"boolean",variant:{type:"select",options:["(none)","primary","secondary","danger","link"]},size:{type:"select",options:["default","small","large"]}},Button_stories_StandardButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n

\n You can and it works as\n you'd expect.\n

\n
\n )\n}'}},Button_stories_StandardButtonsStory.parameters),Button_stories_SmallButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n
\n )\n}'}},Button_stories_SmallButtonsStory.parameters),Button_stories_LargeButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n
\n )\n}'}},Button_stories_LargeButtonsStory.parameters),Button_stories_DisabledButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n
\n )\n}'}},Button_stories_DisabledButtonsStory.parameters),Button_stories_LoadingButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n

\n Note: loading has no effect on link or plain buttons. Use{\' \'}\n disabled instead.\n

\n
\n )\n}'}},Button_stories_LoadingButtonsStory.parameters),Button_stories_AlternateBrandingButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n

\n If you want your buttons to have a different color scheme you need to import a\n .css file and overwrite the following rules:\n

\n \n
\n \n \n
\n )\n}'}},Button_stories_AlternateBrandingButtonsStory.parameters),Button_stories_ButtonPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n return (\n
\n \n
\n )\n}'}},Button_stories_ButtonPlaygroundStory.parameters);try{Button_stories_ButtonPlaygroundStory.displayName="ButtonPlaygroundStory",Button_stories_ButtonPlaygroundStory.__docgenInfo={description:"",displayName:"ButtonPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Button.stories.tsx#ButtonPlaygroundStory"]={docgenInfo:Button_stories_ButtonPlaygroundStory.__docgenInfo,name:"ButtonPlaygroundStory",path:"stories/components/Button.stories.tsx#ButtonPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2953:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SimpleMenuExample",(function(){return Menu_stories_SimpleMenuExample})),__webpack_require__.d(__webpack_exports__,"OverflowMenuExample",(function(){return Menu_stories_OverflowMenuExample}));__webpack_require__(154),__webpack_require__(280),__webpack_require__(183),__webpack_require__(166),__webpack_require__(9),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(153),__webpack_require__(184),__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(2858);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(63),classnames=(__webpack_require__(37),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames),polymorphism=__webpack_require__(86),MenuState=__webpack_require__(2988),Menu_MenuButton=__webpack_require__(2986),Menu=__webpack_require__(2985),Menu_MenuItem=__webpack_require__(2983),MenuGroup=__webpack_require__(2984),PopoverBackdrop=__webpack_require__(2989);__webpack_require__(2895);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MenuContext=react.createContext({});function menu_Menu(_ref){var children=_ref.children,onItemSelect=_ref.onItemSelect,props=_objectWithoutProperties(_ref,["children","onItemSelect"]),state=MenuState.a(_objectSpread({loop:!0},props)),handleItemSelect=react.useCallback((function handleItemSelect(value){onItemSelect&&onItemSelect(value)}),[onItemSelect]),value=react.useMemo((function(){return _objectSpread(_objectSpread({},state),{},{handleItemSelect:handleItemSelect})}),[state,handleItemSelect]);return react.createElement(MenuContext.Provider,{value:value},children)}menu_Menu.displayName="Menu";var menu_MenuButton=Object(polymorphism.a)((function MenuButton(_ref2,ref){var exceptionallySetClassName=_ref2.exceptionallySetClassName,props=_objectWithoutProperties(_ref2,["exceptionallySetClassName"]),_React$useContext=react.useContext(MenuContext),state=(_React$useContext.handleItemSelect,_objectWithoutProperties(_React$useContext,["handleItemSelect"]));return react.createElement(Menu_MenuButton.a,_extends({},props,state,{ref:ref,className:classnames_default()("reactist_menubutton",exceptionallySetClassName)}))})),BACKDROP_STYLE={width:"100%",height:"100%",position:"fixed",top:0,left:0};function MenuBackdrop(_ref3){var baseId=_ref3.baseId,visible=_ref3.visible,animated=_ref3.animated,animating=_ref3.animating,stopAnimation=_ref3.stopAnimation,modal=_ref3.modal,children=_ref3.children;return react.createElement(PopoverBackdrop.a,{baseId:baseId,visible:visible,animated:animated,animating:animating,stopAnimation:stopAnimation,modal:modal,style:BACKDROP_STYLE},children)}MenuBackdrop.displayName="MenuBackdrop";var menu_MenuList=Object(polymorphism.a)((function MenuList(_ref4,ref){var exceptionallySetClassName=_ref4.exceptionallySetClassName,props=_objectWithoutProperties(_ref4,["exceptionallySetClassName"]),_React$useContext2=react.useContext(MenuContext),state=(_React$useContext2.handleItemSelect,_objectWithoutProperties(_React$useContext2,["handleItemSelect"]));return state.visible?react.createElement(MenuBackdrop,state,react.createElement(Menu.a,_extends({},props,state,{ref:ref,className:classnames_default()("reactist_menulist",exceptionallySetClassName)}))):null})),menu_MenuItem=Object(polymorphism.a)((function MenuItem(_ref5,ref){var value=_ref5.value,children=_ref5.children,onSelect=_ref5.onSelect,_ref5$hideOnSelect=_ref5.hideOnSelect,hideOnSelect=void 0===_ref5$hideOnSelect||_ref5$hideOnSelect,onClick=_ref5.onClick,exceptionallySetClassName=_ref5.exceptionallySetClassName,props=_objectWithoutProperties(_ref5,["value","children","onSelect","hideOnSelect","onClick","exceptionallySetClassName"]),_React$useContext3=react.useContext(MenuContext),handleItemSelect=_React$useContext3.handleItemSelect,state=_objectWithoutProperties(_React$useContext3,["handleItemSelect"]),hide=state.hide,handleClick=react.useCallback((function handleClick(event){null==onClick||onClick(event);var shouldClose=!1!==(onSelect&&!event.defaultPrevented?onSelect():void 0)&&hideOnSelect;handleItemSelect(value),shouldClose&&hide()}),[onSelect,onClick,handleItemSelect,hideOnSelect,hide,value]);return react.createElement(Menu_MenuItem.a,_extends({},props,state,{ref:ref,onClick:handleClick,className:exceptionallySetClassName}),children)})),menu_SubMenu=react.forwardRef((function SubMenu(_ref6,ref){var children=_ref6.children,onItemSelect=_ref6.onItemSelect,props=_objectWithoutProperties(_ref6,["children","onItemSelect"]),_React$useContext4=react.useContext(MenuContext),parentMenuItemSelect=_React$useContext4.handleItemSelect,state=_objectWithoutProperties(_React$useContext4,["handleItemSelect"]),parentMenuHide=state.hide,handleSubItemSelect=react.useCallback((function handleSubItemSelect(value){onItemSelect&&onItemSelect(value),parentMenuItemSelect(value),parentMenuHide()}),[parentMenuHide,parentMenuItemSelect,onItemSelect]),_React$Children$toArr2=_slicedToArray(react.Children.toArray(children),2),button=_React$Children$toArr2[0],list=_React$Children$toArr2[1];return react.createElement(Menu_MenuItem.a,_extends({},state,props,{ref:ref}),(function(buttonProps){return react.createElement(menu_Menu,{onItemSelect:handleSubItemSelect},react.cloneElement(button,_objectSpread(_objectSpread({},buttonProps),{},{className:classnames_default()(buttonProps.className,"reactist_submenu_button")})),list)}))})),menu_MenuGroup=Object(polymorphism.a)((function MenuGroud(_ref7,ref){var label=_ref7.label,children=_ref7.children,exceptionallySetClassName=_ref7.exceptionallySetClassName,props=_objectWithoutProperties(_ref7,["label","children","exceptionallySetClassName"]),_React$useContext5=react.useContext(MenuContext),state=(_React$useContext5.handleItemSelect,_objectWithoutProperties(_React$useContext5,["handleItemSelect"]));return react.createElement(MenuGroup.a,_extends({ref:ref},props,state,{className:exceptionallySetClassName}),label?react.createElement("div",{role:"presentation",className:"reactist_menugroup__label"},label):null,children)}));try{menu_Menu.displayName="Menu",menu_Menu.__docgenInfo={description:"Wrapper component to control a menu. It does not render anything, only providing the state\nmanagement for the menu components inside it.",displayName:"Menu",props:{baseId:{defaultValue:null,description:"ID that will serve as a base for all the items IDs.",name:"baseId",required:!1,type:{name:"string | undefined"}},animated:{defaultValue:null,description:"If `true`, `animating` will be set to `true` when `visible` is updated.\nIt'll wait for `stopAnimation` to be called or a CSS transition ends.\nIf `animated` is set to a `number`, `stopAnimation` will be called only\nafter the same number of milliseconds have passed.",name:"animated",required:!1,type:{name:"number | boolean | undefined"}},modal:{defaultValue:null,description:"Toggles Dialog's `modal` state.\n - Non-modal: `preventBodyScroll` doesn't work and focus is free.\n - Modal: `preventBodyScroll` is automatically enabled, focus is\ntrapped within the dialog and the dialog is rendered within a `Portal`\nby default.",name:"modal",required:!1,type:{name:"boolean | undefined"}},placement:{defaultValue:null,description:"Actual `placement`.",name:"placement",required:!1,type:{name:'"auto-start" | "auto" | "auto-end" | "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined'}},wrap:{defaultValue:{value:"false"},description:"**Has effect only on two-dimensional composites**. If enabled, moving to\nthe next item from the last one in a row or column will focus the first\nitem in the next row or column and vice-versa.\n - `true` wraps between rows and columns.\n - `horizontal` wraps only between rows.\n - `vertical` wraps only between columns.\n - If `loop` matches the value of `wrap`, it'll wrap between the last\nitem in the last row or column and the first item in the first row or\ncolumn and vice-versa.",name:"wrap",required:!1,type:{name:'boolean | "horizontal" | "vertical" | undefined'}},unstable_virtual:{defaultValue:{value:"false"},description:"If enabled, the composite element will act as an\n[aria-activedescendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant)\ncontainer instead of\n[roving tabindex](https://www.w3.org/TR/wai-aria-practices/#kbd_roving_tabindex).\nDOM focus will remain on the composite while its items receive virtual focus.",name:"unstable_virtual",required:!1,type:{name:"boolean | undefined"}},rtl:{defaultValue:{value:"false"},description:'Determines how `next` and `previous` functions will behave. If `rtl` is\nset to `true`, they will be inverted. This only affects the composite\nwidget behavior. You still need to set `dir="rtl"` on HTML/CSS.',name:"rtl",required:!1,type:{name:"boolean | undefined"}},orientation:{defaultValue:{value:"undefined"},description:"Defines the orientation of the composite widget. If the composite has a\nsingle row or column (one-dimensional), the `orientation` value determines\nwhich arrow keys can be used to move focus:\n - `undefined`: all arrow keys work.\n - `horizontal`: only left and right arrow keys work.\n - `vertical`: only up and down arrow keys work.\n\nIt doesn't have any effect on two-dimensional composites.",name:"orientation",required:!1,type:{name:'"horizontal" | "vertical" | undefined'}},currentId:{defaultValue:{value:"undefined"},description:'The current focused item `id`.\n - `undefined` will automatically focus the first enabled composite item.\n - `null` will focus the base composite element and users will be able to\nnavigate out of it using arrow keys.\n - If `currentId` is initially set to `null`, the base composite element\nitself will have focus and users will be able to navigate to it using\narrow keys.\n@example // First enabled item has initial focus\nuseCompositeState();\n// Base composite element has initial focus\nuseCompositeState({ currentId: null });\n// Specific composite item element has initial focus\nuseCompositeState({ currentId: "item-id" });',name:"currentId",required:!1,type:{name:"string | null | undefined"}},loop:{defaultValue:{value:"false"},description:"On one-dimensional composites:\n - `true` loops from the last item to the first item and vice-versa.\n - `horizontal` loops only if `orientation` is `horizontal` or not set.\n - `vertical` loops only if `orientation` is `vertical` or not set.\n - If `currentId` is initially set to `null`, the composite element will\nbe focused in between the last and first items.\n\nOn two-dimensional composites:\n - `true` loops from the last row/column item to the first item in the\nsame row/column and vice-versa. If it's the last item in the last row, it\nmoves to the first item in the first row and vice-versa.\n - `horizontal` loops only from the last row item to the first item in\nthe same row.\n - `vertical` loops only from the last column item to the first item in\nthe column row.\n - If `currentId` is initially set to `null`, vertical loop will have no\neffect as moving down from the last row or up from the first row will\nfocus the composite element.\n - If `wrap` matches the value of `loop`, it'll wrap between the last\nitem in the last row or column and the first item in the first row or\ncolumn and vice-versa.",name:"loop",required:!1,type:{name:'boolean | "horizontal" | "vertical" | undefined'}},shift:{defaultValue:{value:"false"},description:"**Has effect only on two-dimensional composites**. If enabled, moving up\nor down when there's no next item or the next item is disabled will shift\nto the item right before it.",name:"shift",required:!1,type:{name:"boolean | undefined"}},unstable_includesBaseElement:{defaultValue:{value:"false"},description:"@private",name:"unstable_includesBaseElement",required:!1,type:{name:"boolean | undefined"}},unstable_values:{defaultValue:null,description:"Stores the values of radios and checkboxes within the menu.",name:"unstable_values",required:!1,type:{name:"Record | undefined"}},unstable_fixed:{defaultValue:null,description:"Whether or not the popover should have `position` set to `fixed`.",name:"unstable_fixed",required:!1,type:{name:"boolean | undefined"}},unstable_flip:{defaultValue:null,description:"Flip the popover's placement when it starts to overlap its reference\nelement.",name:"unstable_flip",required:!1,type:{name:"boolean | undefined"}},unstable_offset:{defaultValue:null,description:"Offset between the reference and the popover: [main axis, alt axis]. Should not be combined with `gutter`.",name:"unstable_offset",required:!1,type:{name:"[ReactText, ReactText] | undefined"}},gutter:{defaultValue:null,description:"Offset between the reference and the popover on the main axis. Should not be combined with `unstable_offset`.",name:"gutter",required:!1,type:{name:"number | undefined"}},unstable_preventOverflow:{defaultValue:null,description:"Prevents popover from being positioned outside the boundary.",name:"unstable_preventOverflow",required:!1,type:{name:"boolean | undefined"}},children:{defaultValue:null,description:"The `Menu` must contain a `MenuList` that defines the menu options. It must also contain a\n`MenuButton` that triggers the menu to be opened or closed.",name:"children",required:!0,type:{name:"ReactNode"}},onItemSelect:{defaultValue:null,description:"An optional callback that will be called back whenever a menu item is selected. It receives\nthe `value` of the selected `MenuItem`.\n\nIf you pass down this callback, it is recommended that you properly memoize it so it does not\nchange on every render.",name:"onItemSelect",required:!1,type:{name:"((value: string | null | undefined) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/menu/menu.tsx#Menu"]={docgenInfo:menu_Menu.__docgenInfo,name:"Menu",path:"src/components/menu/menu.tsx#Menu"})}catch(__react_docgen_typescript_loader_error){}try{menu_SubMenu.displayName="SubMenu",menu_SubMenu.__docgenInfo={description:'This component can be rendered alongside other `MenuItem` inside a `MenuList` in order to have\na sub-menu.\n\nIts children are expected to have the structure of a first level menu (a `MenuButton` and a\n`MenuList`).\n\n```jsx\n\n\n More options\n \n \n \n \n\n```\n\nThe `MenuButton` will become a menu item in the current menu items list, and it will lead to\nopening a sub-menu with the menu items list below it.',displayName:"SubMenu",props:{children:{defaultValue:null,description:"The `Menu` must contain a `MenuList` that defines the menu options. It must also contain a\n`MenuButton` that triggers the menu to be opened or closed.",name:"children",required:!0,type:{name:"ReactNode"}},onItemSelect:{defaultValue:null,description:"An optional callback that will be called back whenever a menu item is selected. It receives\nthe `value` of the selected `MenuItem`.\n\nIf you pass down this callback, it is recommended that you properly memoize it so it does not\nchange on every render.",name:"onItemSelect",required:!1,type:{name:"((value: string | null | undefined) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/menu/menu.tsx#SubMenu"]={docgenInfo:menu_SubMenu.__docgenInfo,name:"SubMenu",path:"src/components/menu/menu.tsx#SubMenu"})}catch(__react_docgen_typescript_loader_error){}var keyboard_shortcut=__webpack_require__(506),components_button=__webpack_require__(21);function Menu_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function Menu_stories_objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [flag, setFlag] = React.useState(false)\n return (\n
\n

Some menu examples

\n \n \n Simple menu \n \n \n Edit\n Duplicate\n Remove\n \n \n \n \n With sub-menu \n \n \n \n Reactist on Github\n \n About Reactist…\n Check for updates…\n
\n \n Preferences\n \n Settings\n Extensions\n
\n Notifications\n
\n
\n
\n
\n \n \n With extra features \n \n \n \n \n ✏️\n \n Edit\n \n \n \n 👯‍♀️\n \n Duplicate\n Cmd + D\n \n {\n action(flag ? 'Toggle off' : 'Toggle on')(flag ? '👎' : '👍')\n setFlag((f) => !f)\n return false // This prevents the menu from closing\n }}\n >\n \n {flag ? '👍' : '👎'}\n \n Toggle thumbs up or down\n \n
\n \n Remove first\n Remove completed\n \n Remove all (disabled)\n \n \n
\n
\n
\n )\n}"}},Menu_stories_SimpleMenuExample.parameters),Menu_stories_OverflowMenuExample.parameters=Menu_stories_objectSpread({storySource:{source:'() => {\n return (\n
\n

A list of items with an overflow options menu

\n

\n This example is meant to be expanded with future features we plan to support (such\n as allowing to control the visible state of the menu from outside, and allow it to\n be used as a context menu).\n

\n
    \n {items.map((item, index) => (\n \n ))}\n
\n
\n )\n}'}},Menu_stories_OverflowMenuExample.parameters)},2954:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"StandardNotificationStory",(function(){return Notification_stories_StandardNotificationStory})),__webpack_require__.d(__webpack_exports__,"NonClickableNotificationStory",(function(){return Notification_stories_NonClickableNotificationStory})),__webpack_require__.d(__webpack_exports__,"CustomContentNotificationStory",(function(){return Notification_stories_CustomContentNotificationStory})),__webpack_require__.d(__webpack_exports__,"NotificationPlaygroundStory",(function(){return Notification_stories_NotificationPlaygroundStory}));__webpack_require__(22),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(63),avatar=__webpack_require__(265),tip=__webpack_require__(391),classnames=(__webpack_require__(37),__webpack_require__(26)),classnames_default=__webpack_require__.n(classnames),CloseIcon_svg=__webpack_require__(296);__webpack_require__(2903);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Notification(_ref){var id=_ref.id,icon=_ref.icon,title=_ref.title,subtitle=_ref.subtitle,children=_ref.children,customCloseButton=_ref.customCloseButton,onClick=_ref.onClick,onClose=_ref.onClose,_ref$closeAltText=_ref.closeAltText,closeAltText=void 0===_ref$closeAltText?"Close":_ref$closeAltText,className=_ref.className,rest=_objectWithoutProperties(_ref,["id","icon","title","subtitle","children","customCloseButton","onClick","onClose","closeAltText","className"]),titleId=title?"".concat(id,"-title"):null,titleIdAttribute=titleId?{id:titleId}:null,subtitleId=subtitle?"".concat(id,"-subtitle"):null,subtitleIdAttribute=subtitleId?{id:subtitleId}:null,contentId=children?"".concat(id,"-content"):null,contentIdAttribute=children?{id:"".concat(id,"-content")}:null,ariaLabelledBy=contentId?{"aria-labelledby":contentId}:titleId?{"aria-labelledby":titleId}:null,ariaDescribedBy=subtitleId&&!children?{"aria-describedby":subtitleId}:null,notificationContent=react_default.a.createElement("div",_extends({className:"reactist-notification__content"},contentIdAttribute),null!=children?children:react_default.a.createElement(react_default.a.Fragment,null,title?react_default.a.createElement("h3",_extends({className:"reactist-notification__title"},titleIdAttribute),title):null,subtitle?react_default.a.createElement("p",_extends({className:"reactist-notification__subtitle"},subtitleIdAttribute),subtitle):null)),notificationBody=react_default.a.createElement("div",{className:"reactist-notification__icon-content-group"},null!=icon?icon:null,notificationContent);return react_default.a.createElement("div",_extends({id:id,role:"dialog",className:classnames_default()("reactist-notification",className,{"reactist-notification--with-button":Boolean(onClick),"reactist-notification--with-close-button":Boolean(onClose)})},ariaLabelledBy,ariaDescribedBy,rest),onClick?react_default.a.createElement("button",{className:"reactist-notification__button",onClick:onClick},notificationBody):notificationBody,onClose?react_default.a.createElement("button",{className:"reactist-notification__close-button",onClick:onClose,"aria-label":closeAltText},null!=customCloseButton?customCloseButton:react_default.a.createElement(CloseIcon_svg.a,null)):null)}Notification.displayName="Notification";try{Notification.displayName="Notification",Notification.__docgenInfo={description:"",displayName:"Notification",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ReactNode"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string | ({} & string) | (ReactElement ReactElement Component)> | null) | (new (props: any) => Component<...>)> & string) | (ReactNodeArray & string) | (ReactPortal & string) | undefined"}},subtitle:{defaultValue:null,description:"",name:"subtitle",required:!1,type:{name:"ReactNode"}},customCloseButton:{defaultValue:null,description:"",name:"customCloseButton",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(((event: MouseEvent) => void) & ((event: MouseEvent) => void)) | undefined"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"((event: MouseEvent) => void) | undefined"}},closeAltText:{defaultValue:{value:"Close"},description:"",name:"closeAltText",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/notification/notification.tsx#Notification"]={docgenInfo:Notification.__docgenInfo,name:"Notification",path:"src/components/notification/notification.tsx#Notification"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(2901);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\n return (\n
\n

Standard Notification

\n }\n title="You have a new message!"\n subtitle="Click here to view."\n onClose={action(\'onClose\')}\n onClick={action(\'onClick\')}\n />\n
\n )\n}'}},Notification_stories_StandardNotificationStory.parameters),Notification_stories_NonClickableNotificationStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n

Non-clickable Notification

\n \n
\n )\n}'}},Notification_stories_NonClickableNotificationStory.parameters),Notification_stories_CustomContentNotificationStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n

Custom Content Notification

\n }\n onClose={action(\'onClose\')}\n className="notification-story-notification-container"\n >\n
\n

You received a message from Brock

\n

\n Better not leave him hanging\n \n

\n
\n \n
\n )\n}'}},Notification_stories_CustomContentNotificationStory.parameters),Notification_stories_NotificationPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n const onClose = args.onClose ? action(\'onClose\') : undefined\n const onClick = args.onClick ? action(\'onClick\') : undefined\n const icon = args.icon ? (\n
\n \n
\n ) : null\n const children = args.children ? (\n
\n

\n If children is provided, then{\' \'}\n it will be rendered instead of the title and subtitle\n

\n
\n ) : null\n\n return (\n
\n \n {children}\n \n
\n )\n}'}},Notification_stories_NotificationPlaygroundStory.parameters);try{Notification_stories_NotificationPlaygroundStory.displayName="NotificationPlaygroundStory",Notification_stories_NotificationPlaygroundStory.__docgenInfo={description:"",displayName:"NotificationPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Notification.stories.tsx#NotificationPlaygroundStory"]={docgenInfo:Notification_stories_NotificationPlaygroundStory.__docgenInfo,name:"NotificationPlaygroundStory",path:"stories/components/Notification.stories.tsx#NotificationPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},2955:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Tooltip}));__webpack_require__(664),__webpack_require__(24),__webpack_require__(13),__webpack_require__(9),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(37),__webpack_require__(22);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__),classnames__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(26),classnames__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_13__),reakit_Tooltip__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(2956),reakit_Tooltip__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(2957),reakit_Tooltip__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(2958);__webpack_require__(2679);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i void) | undefined"}},unstable_popoverRef:{defaultValue:null,description:"The popover element.\n@private",name:"unstable_popoverRef",required:!1,type:{name:"RefObject | undefined"}},unstable_popoverStyles:{defaultValue:null,description:"Popover styles.\n@private",name:"unstable_popoverStyles",required:!1,type:{name:"CSSProperties | undefined"}},unstable_system:{defaultValue:null,description:"Options passed to `reakit-system-*`\n@private",name:"unstable_system",required:!1,type:{name:"any"}},unstable_portal:{defaultValue:null,description:"Whether or not the tooltip should be rendered within `Portal`.",name:"unstable_portal",required:!1,type:{name:"boolean | undefined"}},wrapElement:{defaultValue:null,description:"Function returned by the hook to wrap the element to which html props\nwill be passed.",name:"wrapElement",required:!1,type:{name:"((element: ReactNode) => ReactNode) | undefined"}},content:{defaultValue:null,description:"",name:"content",required:!0,type:{name:"string | number | boolean | {} | ReactElement ReactElement Component)> | null) | (new (props: any) => Component<...>)> | ... 4 more ... | undefined"}},position:{defaultValue:{value:"top"},description:"",name:"position",required:!1,type:{name:'"auto-start" | "auto" | "auto-end" | "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined'}},gapSize:{defaultValue:{value:"3"},description:"",name:"gapSize",required:!1,type:{name:"number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tooltip/tooltip.tsx#Tooltip"]={docgenInfo:Tooltip.__docgenInfo,name:"Tooltip",path:"src/components/tooltip/tooltip.tsx#Tooltip"})}catch(__react_docgen_typescript_loader_error){}},296:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),CloseIcon=function CloseIcon(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fill:"gray",fillRule:"evenodd",d:"M11.293 12L5.146 5.854a.5.5 0 1 1 .708-.708L12 11.293l6.146-6.147a.5.5 0 0 1 .708.708L12.707 12l6.147 6.146a.5.5 0 0 1-.708.708L12 12.707l-6.146 6.147a.5.5 0 0 1-.708-.708L11.293 12z"}))};CloseIcon.displayName="CloseIcon",__webpack_exports__.a=CloseIcon},2977:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return HiddenVisually}));__webpack_require__(22);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(86),_box__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(51),_hidden_visually_module_css__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(1594),_hidden_visually_module_css__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_hidden_visually_module_css__WEBPACK_IMPORTED_MODULE_4__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/base-field/base-field.tsx#BaseField"]={docgenInfo:BaseField.__docgenInfo,name:"BaseField",path:"src/new-components/base-field/base-field.tsx#BaseField"})}catch(__react_docgen_typescript_loader_error){}try{FieldHint.displayName="FieldHint",FieldHint.__docgenInfo={description:"",displayName:"FieldHint",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/base-field/base-field.tsx#FieldHint"]={docgenInfo:FieldHint.__docgenInfo,name:"FieldHint",path:"src/new-components/base-field/base-field.tsx#FieldHint"})}catch(__react_docgen_typescript_loader_error){}},3:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"f",(function(){return select})),__webpack_require__.d(__webpack_exports__,"i",(function(){return selectWithNone})),__webpack_require__.d(__webpack_exports__,"h",(function(){return selectSize})),__webpack_require__.d(__webpack_exports__,"g",(function(){return selectCount})),__webpack_require__.d(__webpack_exports__,"j",(function(){return times})),__webpack_require__.d(__webpack_exports__,"e",(function(){return reusableBoxProps})),__webpack_require__.d(__webpack_exports__,"d",(function(){return disableResponsiveProps})),__webpack_require__.d(__webpack_exports__,"c",(function(){return Wrapper})),__webpack_require__.d(__webpack_exports__,"b",(function(){return ResponsiveWidthRef})),__webpack_require__.d(__webpack_exports__,"a",(function(){return Placeholder}));__webpack_require__(280),__webpack_require__(183),__webpack_require__(1492),__webpack_require__(13),__webpack_require__(166),__webpack_require__(9),__webpack_require__(103),__webpack_require__(84),__webpack_require__(104),__webpack_require__(105),__webpack_require__(92),__webpack_require__(106),__webpack_require__(184),__webpack_require__(153),__webpack_require__(154),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(0),_box__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(51),_heading__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(36),_stack__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(34);__webpack_require__(2659);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:"none";return{control:{type:"select"},options:["none"].concat(_toConsumableArray(options)),defaultValue:defaultValue,mapping:{none:void 0}}}function selectSize(){var defaultValue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"none";return selectWithNone(["xsmall","small","medium","large","xlarge","xxlarge"],defaultValue)}function selectCount(label){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return{control:{type:"number",min:1},name:label,defaultValue:defaultValue}}function times(count){return Array.apply(null,Array(count)).map((function(_x,i){return i}))}function reusableBoxProps(){return{maxWidth:selectWithNone(["xsmall","small","medium","large","xlarge","full"]),padding:selectSize(),paddingX:selectSize(),paddingY:selectSize(),paddingTop:selectSize(),paddingRight:selectSize(),paddingBottom:selectSize(),paddingLeft:selectSize()}}var disableResponsiveProps=Object.keys(reusableBoxProps()).reduce((function(accumulator,key){return _objectSpread(_objectSpread({},accumulator),{},_defineProperty({},key,{control:!1}))}),{});function Wrapper(_ref){var title=_ref.title,children=_ref.children,_ref$border=_ref.border,border=void 0!==_ref$border&&_ref$border;return react__WEBPACK_IMPORTED_MODULE_22__.createElement(_stack__WEBPACK_IMPORTED_MODULE_25__.a,{space:"small"},title?react__WEBPACK_IMPORTED_MODULE_22__.createElement(_heading__WEBPACK_IMPORTED_MODULE_24__.a,{level:"2"},title):null,react__WEBPACK_IMPORTED_MODULE_22__.createElement(_box__WEBPACK_IMPORTED_MODULE_23__.a,{width:"full",style:border?{border:"1px dotted black"}:void 0},children))}function ResponsiveWidthRef(){return react__WEBPACK_IMPORTED_MODULE_22__.createElement(react__WEBPACK_IMPORTED_MODULE_22__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{height:"36px"}}),react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{position:"fixed",top:0,left:0}},react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{width:"992px",height:"20px",backgroundColor:"#ccc"}},"desktop min width"),react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{width:"768px",height:"20px",backgroundColor:"#ddd"}},"tablet min width")))}function Placeholder(_ref2){var label=_ref2.label,_ref2$width=_ref2.width,width=void 0===_ref2$width?"100%":_ref2$width,_ref2$height=_ref2.height,height=void 0===_ref2$height?"30px":_ref2$height;return react__WEBPACK_IMPORTED_MODULE_22__.createElement(_box__WEBPACK_IMPORTED_MODULE_23__.a,{style:{backgroundColor:"lightgreen",border:"1px solid green",width:width,height:height},display:"flex",alignItems:"center",padding:"medium"},label)}Wrapper.displayName="Wrapper",Placeholder.displayName="Placeholder";try{selectSize.displayName="selectSize",selectSize.__docgenInfo={description:"",displayName:"selectSize",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#selectSize"]={docgenInfo:selectSize.__docgenInfo,name:"selectSize",path:"src/new-components/storybook-helper.tsx#selectSize"})}catch(__react_docgen_typescript_loader_error){}try{times.displayName="times",times.__docgenInfo={description:"",displayName:"times",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#times"]={docgenInfo:times.__docgenInfo,name:"times",path:"src/new-components/storybook-helper.tsx#times"})}catch(__react_docgen_typescript_loader_error){}try{Wrapper.displayName="Wrapper",Wrapper.__docgenInfo={description:"",displayName:"Wrapper",props:{title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"ReactNode"}},border:{defaultValue:{value:"false"},description:"",name:"border",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#Wrapper"]={docgenInfo:Wrapper.__docgenInfo,name:"Wrapper",path:"src/new-components/storybook-helper.tsx#Wrapper"})}catch(__react_docgen_typescript_loader_error){}try{Placeholder.displayName="Placeholder",Placeholder.__docgenInfo={description:"",displayName:"Placeholder",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#Placeholder"]={docgenInfo:Placeholder.__docgenInfo,name:"Placeholder",path:"src/new-components/storybook-helper.tsx#Placeholder"})}catch(__react_docgen_typescript_loader_error){}},331:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2664);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},332:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2665);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},333:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2683);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},34:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return stack_Stack}));__webpack_require__(183),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22);var react=__webpack_require__(0),react_keyed_flatten_children=__webpack_require__(1591),react_keyed_flatten_children_default=__webpack_require__.n(react_keyed_flatten_children),polymorphism=__webpack_require__(86),responsive_props=__webpack_require__(19),box=__webpack_require__(51),divider_module=__webpack_require__(1012),divider_module_default=__webpack_require__.n(divider_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Divider(_ref){var _ref$weight=_ref.weight,weight=void 0===_ref$weight?"regular":_ref$weight,props=_objectWithoutProperties(_ref,["weight"]);return react.createElement(box.a,_extends({as:"hr",className:[divider_module_default.a.divider,"regular"!==weight?Object(responsive_props.a)(divider_module_default.a,"weight",weight):null]},props))}Divider.displayName="Divider";try{Divider.displayName="Divider",Divider.__docgenInfo={description:"",displayName:"Divider",props:{weight:{defaultValue:{value:"regular"},description:"",name:"weight",required:!1,type:{name:'"strong" | "regular" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/divider/divider.tsx#Divider"]={docgenInfo:Divider.__docgenInfo,name:"Divider",path:"src/new-components/divider/divider.tsx#Divider"})}catch(__react_docgen_typescript_loader_error){}var stack_module=__webpack_require__(1592),stack_module_default=__webpack_require__.n(stack_module);function stack_extends(){return(stack_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var stack_Stack=Object(polymorphism.a)((function Stack(_ref,ref){var as=_ref.as,space=_ref.space,_ref$align=_ref.align,align=void 0===_ref$align?"left":_ref$align,_ref$dividers=_ref.dividers,dividers=void 0!==_ref$dividers&&_ref$dividers,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=stack_objectWithoutProperties(_ref,["as","space","align","dividers","children","exceptionallySetClassName"]),alignProps="left"===align?void 0:{width:"full",flexDirection:"column",display:"flex",alignItems:Object(responsive_props.b)(align,(function(align){return"left"===align?"flexStart":"right"===align?"flexEnd":"center"}))};return react.createElement(box.a,stack_extends({},props,alignProps,{as:as,className:[exceptionallySetClassName,Object(responsive_props.a)(stack_module_default.a,"space",space)],ref:ref}),dividers?react.Children.map(react_keyed_flatten_children_default()(children),(function(child,index){return index>0?react.createElement(react.Fragment,null,react.createElement(Divider,{weight:"string"==typeof dividers?dividers:void 0}),child):child})):children)}))},36:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Heading}));__webpack_require__(967),__webpack_require__(84),__webpack_require__(1494),__webpack_require__(1496),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22);var react__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(0),_responsive_props__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(19),_box__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(51),_heading_module_css__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(331),_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(_heading_module_css__WEBPACK_IMPORTED_MODULE_11__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Heading=react__WEBPACK_IMPORTED_MODULE_8__.forwardRef((function Heading(_ref,ref){var level=_ref.level,_ref$weight=_ref.weight,weight=void 0===_ref$weight?"regular":_ref$weight,size=_ref.size,_ref$tone=_ref.tone,tone=void 0===_ref$tone?"normal":_ref$tone,children=_ref.children,lineClamp=_ref.lineClamp,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["level","weight","size","tone","children","lineClamp","exceptionallySetClassName"]),headingElementName="h".concat(level),lineClampMultipleLines="string"==typeof lineClamp?parseInt(lineClamp,10)>1:(lineClamp||0)>1;return react__WEBPACK_IMPORTED_MODULE_8__.createElement(_box__WEBPACK_IMPORTED_MODULE_10__.a,_extends({},props,{className:[exceptionallySetClassName,_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a.heading,"regular"!==weight?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"weight",weight):null,"normal"!==tone?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"tone",tone):null,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"size",size),lineClampMultipleLines?_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a.lineClamp:null,lineClamp?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"line-clamp",lineClamp.toString()):null],as:headingElementName,ref:ref}),children)}));try{Heading.displayName="Heading",Heading.__docgenInfo={description:"",displayName:"Heading",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"smaller" | "larger" | "largest" | undefined'}},exceptionallySetClassName:{defaultValue:null,description:"",name:"exceptionallySetClassName",required:!1,type:{name:"string | undefined"}},level:{defaultValue:null,description:"",name:"level",required:!0,type:{name:"HeadingLevel"}},weight:{defaultValue:{value:"regular"},description:"",name:"weight",required:!1,type:{name:'"regular" | "light" | undefined'}},tone:{defaultValue:{value:"normal"},description:"",name:"tone",required:!1,type:{name:'"secondary" | "danger" | "normal" | undefined'}},lineClamp:{defaultValue:null,description:"",name:"lineClamp",required:!1,type:{name:'1 | 2 | 5 | "1" | 3 | "2" | 4 | "3" | "4" | "5" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/heading/heading.tsx#Heading"]={docgenInfo:Heading.__docgenInfo,name:"Heading",path:"src/new-components/heading/heading.tsx#Heading"})}catch(__react_docgen_typescript_loader_error){}},391:function(module,__webpack_exports__,__webpack_require__){"use strict";var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames),ThinQuestionMarkIcon_svg_ThinQuestionMark=function ThinQuestionMark(){return react_default.a.createElement("svg",{width:"18px",height:"18px",viewBox:"0 0 18 18"},react_default.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},react_default.a.createElement("g",{fill:"#979797"},react_default.a.createElement("path",{d:"M9,17 C13.418278,17 17,13.418278 17,9 C17,4.581722 13.418278,1 9,1 C4.581722,1 1,4.581722 1,9 C1,13.418278 4.581722,17 9,17 Z M9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9705627,18 9,18 Z",fillRule:"nonzero"}),react_default.a.createElement("path",{d:"M5.625,6.671875 L6.9609375,6.671875 C7.046875,5.5546875 7.796875,4.859375 8.9765625,4.859375 C10.140625,4.859375 10.890625,5.5703125 10.890625,6.5390625 C10.890625,7.375 10.5390625,7.8671875 9.6328125,8.421875 C8.5625,9.0625 8.0625,9.765625 8.0703125,10.796875 L8.0703125,11.515625 L9.4375,11.515625 L9.4375,11.0078125 C9.4375,10.1875 9.71875,9.75 10.7109375,9.1640625 C11.7109375,8.5625 12.34375,7.6953125 12.34375,6.46875 C12.34375,4.859375 11,3.640625 9.03125,3.640625 C6.8359375,3.640625 5.7109375,4.984375 5.625,6.671875 Z M8.859375,15.140625 C9.4921875,15.140625 9.9375,14.6875 9.9375,14.0546875 C9.9375,13.4140625 9.4921875,12.9609375 8.859375,12.9609375 C8.2265625,12.9609375 7.7734375,13.4140625 7.7734375,14.0546875 C7.7734375,14.6875 8.2265625,15.140625 8.859375,15.140625 Z"}))))};ThinQuestionMarkIcon_svg_ThinQuestionMark.displayName="ThinQuestionMark";var ThinQuestionMarkIcon_svg=ThinQuestionMarkIcon_svg_ThinQuestionMark,dropdown=__webpack_require__(130);__webpack_require__(2905);function Tip(_ref){var title=_ref.title,message=_ref.message,top=_ref.top,className=_ref.className,tipClass=classnames_default()("reactist_tip__container",className);return react_default.a.createElement(dropdown.a.Box,{top:top,className:tipClass},react_default.a.createElement(dropdown.a.Trigger,null,react_default.a.createElement(ThinQuestionMarkIcon_svg,null)),react_default.a.createElement(dropdown.a.Body,null,react_default.a.createElement("div",{className:"reactist_tip"},react_default.a.createElement("p",{className:"reactist_tip--title"},title),react_default.a.createElement("p",{className:"reactist_tip--message"},message))))}Tip.displayName="Tip",Tip.displayName="Tip",Tip.defaultProps={top:!1};try{Tip.displayName="Tip",Tip.__docgenInfo={description:"",displayName:"Tip",props:{className:{defaultValue:null,description:"Additional css class that is applied to the Tip.",name:"className",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"Title of the tip.",name:"title",required:!1,type:{name:"ReactNode"}},message:{defaultValue:null,description:"Message of the tip.",name:"message",required:!1,type:{name:"ReactNode"}},top:{defaultValue:{value:"false"},description:"Whether the tip content should be displayed to the top or not. Maps to the Dropdown.Box top property.",name:"top",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tip/tip.tsx#Tip"]={docgenInfo:Tip.__docgenInfo,name:"Tip",path:"src/components/tip/tip.tsx#Tip"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=Tip},48:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Text}));__webpack_require__(967),__webpack_require__(84),__webpack_require__(1494),__webpack_require__(1496),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22);var react__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(0),_responsive_props__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(19),_box__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(51),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(86),_text_module_css__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(332),_text_module_css__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(_text_module_css__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Text=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_11__.a)((function Text(_ref,ref){var _ref$as=_ref.as,as=void 0===_ref$as?"span":_ref$as,_ref$size=_ref.size,size=void 0===_ref$size?"body":_ref$size,_ref$weight=_ref.weight,weight=void 0===_ref$weight?"regular":_ref$weight,_ref$tone=_ref.tone,tone=void 0===_ref$tone?"normal":_ref$tone,children=_ref.children,lineClamp=_ref.lineClamp,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["as","size","weight","tone","children","lineClamp","exceptionallySetClassName"]),lineClampMultipleLines="string"==typeof lineClamp?parseInt(lineClamp,10)>1:(lineClamp||0)>1;return react__WEBPACK_IMPORTED_MODULE_8__.createElement(_box__WEBPACK_IMPORTED_MODULE_10__.a,_extends({},props,{as:as,className:[exceptionallySetClassName,_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a.text,"body"!==size?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"size",size):null,"regular"!==weight?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"weight",weight):null,"normal"!==tone?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"tone",tone):null,lineClampMultipleLines?_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a.lineClamp:null,lineClamp?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"line-clamp",lineClamp.toString()):null],paddingRight:lineClamp?"xsmall":void 0,ref:ref}),children)}))},506:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(153),__webpack_require__(1497),__webpack_require__(484),__webpack_require__(183),__webpack_require__(986),__webpack_require__(1524),__webpack_require__(2853),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22);var react=__webpack_require__(0),classnames=__webpack_require__(26),classnames_default=__webpack_require__.n(classnames);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var globalTranslateKey=function globalTranslateKey(key){return key};function translateKeyMac(key){switch(key.toLowerCase()){case"cmd":case"mod":return"⌘";case"control":case"ctrl":return"⌃";case"alt":return"⌥";case"shift":return"⇧";case"space":return"␣";default:return key}}function KeyboardShortcut(_ref){var _navigator$platform$t,_navigator$platform,children=_ref.children,className=_ref.className,_ref$translateKey=_ref.translateKey,translateKey=void 0===_ref$translateKey?globalTranslateKey:_ref$translateKey,_ref$isMac=_ref.isMac,isMac=void 0===_ref$isMac?null!==(_navigator$platform$t=null===(_navigator$platform=navigator.platform)||void 0===_navigator$platform?void 0:_navigator$platform.toUpperCase().includes("MAC"))&&void 0!==_navigator$platform$t&&_navigator$platform$t:_ref$isMac,props=_objectWithoutProperties(_ref,["children","className","translateKey","isMac"]),shortcuts="string"==typeof children?[children]:children;return react.createElement("span",_extends({className:classnames_default()("reactist_keyboard_shortcut",className,{"reactist_keyboard_shortcut--macos":isMac})},props),shortcuts.map((function(shortcut,i){return react.createElement(react.Fragment,{key:i},0===i?null:", ",react.createElement("kbd",null,function parseKeys(shortcut,isMac,translateKey){var t=isMac?translateKeyMac:translateKey,_hasModifiers=function hasModifiers(str){return/\b(mod|cmd|ctrl|control|alt|shift)\b/i.test(str)}(shortcut);return isMac||(shortcut=shortcut.replace(/\b(mod|cmd)\b/i,"ctrl")),shortcut.split(/\s*\+\s*/).map((function mapIndividualKey(str){return function isSpecialKey(str){return/^(mod|cmd|ctrl|control|alt|shift|space|super)$/i.test(str)}(str)?function capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1).toLowerCase()}(t(str)):_hasModifiers&&1===str.length?str.toUpperCase():str}))}(shortcut,isMac,translateKey).map((function(key,j){return react.createElement("kbd",{key:j},key)}))))})))}KeyboardShortcut.setTranslateKey=function(tr){globalTranslateKey=tr},KeyboardShortcut.displayName="KeyboardShortcut";try{KeyboardShortcut.displayName="KeyboardShortcut",KeyboardShortcut.__docgenInfo={description:"",displayName:"KeyboardShortcut",props:{children:{defaultValue:null,description:"The shortcut to be represented as markup. It supports an intuitive syntax where you can\ncombine modifiers (cmd, ctrl, shift, alt) with single keys all concatenated with plus signs.\nYou can also pass various shortcuts as an array, which will be depicted separated by commas.",name:"children",required:!0,type:{name:"string | string[]"}},translateKey:{defaultValue:null,description:"A function that allows you to change how some key names are represented. This may be useful,\nfor instance, to translate modifier names that are expressed differently in other languages\n(e.g. `Ctrl` is named `Strg` in German).\n\nIt defaults to a global version that leaves the key as is. You can pass your version as a\nprop, or you can also set your own version of this global default one, so you don't need to\npass your own on each invocation of this component.\n\n```js\nimport { KeyboardShortcut } from '@doist/reactist'\nKeyboardShortcut.setTranslateKey = key => { ... }\n```\n\nNote: When the component detects the macOS operating system it bypasses key translation for\nmost modifiers and uses macOS-specific symbols. See the `isMac` prop for details.",name:"translateKey",required:!1,type:{name:"((key: string) => string) | undefined"}},isMac:{defaultValue:{value:"navigator.platform?.toUpperCase().includes('MAC') ?? false"},description:"This prop is not meant to be passed. The component will automatically initialize it to `true`\nif it detects that the current browser / operating system is on macOS, in which case modifier\nkeys are represented using macOS' notation (e.g. ⌘ ⌃ ⌥ ⇧).\n\nThough it is discouraged, if you don't want this special treatment in macOS, you can pass\n`isMac={false}` in all invocations of this component.",name:"isMac",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/keyboard-shortcut/keyboard-shortcut.tsx#KeyboardShortcut"]={docgenInfo:KeyboardShortcut.__docgenInfo,name:"KeyboardShortcut",path:"src/components/keyboard-shortcut/keyboard-shortcut.tsx#KeyboardShortcut"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=KeyboardShortcut},508:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2646);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},509:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2647);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},51:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Box}));__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(24),__webpack_require__(27),__webpack_require__(28),__webpack_require__(29),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),classnames__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(26),classnames__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(86),_responsive_props__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(19),_box_module_css__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(108),_box_module_css__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(_box_module_css__WEBPACK_IMPORTED_MODULE_14__),_padding_module_css__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(508),_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(_padding_module_css__WEBPACK_IMPORTED_MODULE_15__),_margin_module_css__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(509),_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(_margin_module_css__WEBPACK_IMPORTED_MODULE_16__);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Box=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_12__.a)((function Box(_ref,ref){var _ref2,_ref3,_ref4,_ref5,_ref6,_ref7,_ref8,_ref9,_ref$as=_ref.as,component=void 0===_ref$as?"div":_ref$as,_ref$position=_ref.position,position=void 0===_ref$position?"static":_ref$position,_ref$display=_ref.display,display=void 0===_ref$display?"block":_ref$display,_ref$flexDirection=_ref.flexDirection,flexDirection=void 0===_ref$flexDirection?"row":_ref$flexDirection,flexWrap=_ref.flexWrap,flexGrow=_ref.flexGrow,flexShrink=_ref.flexShrink,alignItems=_ref.alignItems,justifyContent=_ref.justifyContent,overflow=_ref.overflow,width=_ref.width,height=_ref.height,background=_ref.background,border=_ref.border,borderRadius=_ref.borderRadius,minWidth=_ref.minWidth,maxWidth=_ref.maxWidth,padding=_ref.padding,paddingY=_ref.paddingY,paddingX=_ref.paddingX,paddingTop=_ref.paddingTop,paddingRight=_ref.paddingRight,paddingBottom=_ref.paddingBottom,paddingLeft=_ref.paddingLeft,margin=_ref.margin,marginY=_ref.marginY,marginX=_ref.marginX,marginTop=_ref.marginTop,marginRight=_ref.marginRight,marginBottom=_ref.marginBottom,marginLeft=_ref.marginLeft,className=_ref.className,children=_ref.children,props=_objectWithoutProperties(_ref,["as","position","display","flexDirection","flexWrap","flexGrow","flexShrink","alignItems","justifyContent","overflow","width","height","background","border","borderRadius","minWidth","maxWidth","padding","paddingY","paddingX","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginY","marginX","marginTop","marginRight","marginBottom","marginLeft","className","children"]),resolvedPaddingTop=null!==(_ref2=null!=paddingTop?paddingTop:paddingY)&&void 0!==_ref2?_ref2:padding,resolvedPaddingRight=null!==(_ref3=null!=paddingRight?paddingRight:paddingX)&&void 0!==_ref3?_ref3:padding,resolvedPaddingBottom=null!==(_ref4=null!=paddingBottom?paddingBottom:paddingY)&&void 0!==_ref4?_ref4:padding,resolvedPaddingLeft=null!==(_ref5=null!=paddingLeft?paddingLeft:paddingX)&&void 0!==_ref5?_ref5:padding,resolvedMarginTop=null!==(_ref6=null!=marginTop?marginTop:marginY)&&void 0!==_ref6?_ref6:margin,resolvedMarginRight=null!==(_ref7=null!=marginRight?marginRight:marginX)&&void 0!==_ref7?_ref7:margin,resolvedMarginBottom=null!==(_ref8=null!=marginBottom?marginBottom:marginY)&&void 0!==_ref8?_ref8:margin,resolvedMarginLeft=null!==(_ref9=null!=marginLeft?marginLeft:marginX)&&void 0!==_ref9?_ref9:margin,omitFlex="string"==typeof display&&"flex"!==display&&"inlineFlex"!==display;return react__WEBPACK_IMPORTED_MODULE_10__.createElement(component,_objectSpread(_objectSpread({},props),{},{className:classnames__WEBPACK_IMPORTED_MODULE_11___default()(className,_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a.box,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"display",display),"static"!==position?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"position",position):null,null!=minWidth?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"minWidth",String(minWidth)):null,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"maxWidth",maxWidth),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingTop",resolvedPaddingTop),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingRight",resolvedPaddingRight),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingBottom",resolvedPaddingBottom),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingLeft",resolvedPaddingLeft),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginTop",resolvedMarginTop),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginRight",resolvedMarginRight),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginBottom",resolvedMarginBottom),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginLeft",resolvedMarginLeft),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexDirection",flexDirection),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexWrap",flexWrap),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"alignItems",alignItems),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"justifyContent",justifyContent),null!=flexShrink?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexShrink",String(flexShrink)):null,null!=flexGrow?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexGrow",String(flexGrow)):null,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"overflow",overflow),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"width",width),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"height",height),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"bg",background),"none"!==borderRadius?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"borderRadius",borderRadius):null,"none"!==border?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"border",border):null)||void 0,ref:ref}),children)}))},700:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2677);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},708:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2667);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},709:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2672);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},710:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2678);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},711:function(module,exports,__webpack_require__){var api=__webpack_require__(101),content=__webpack_require__(2686);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},8:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Column})),__webpack_require__.d(__webpack_exports__,"b",(function(){return Columns}));__webpack_require__(1497),__webpack_require__(484),__webpack_require__(13),__webpack_require__(37),__webpack_require__(9),__webpack_require__(22);var react__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(0),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(86),_responsive_props__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(19),_box__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(51),_columns_module_css__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(709),_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(_columns_module_css__WEBPACK_IMPORTED_MODULE_10__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Column=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_7__.a)((function Column(_ref,ref){var _ref$width=_ref.width,width=void 0===_ref$width?"auto":_ref$width,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["width","children","exceptionallySetClassName"]);return react__WEBPACK_IMPORTED_MODULE_6__.createElement(_box__WEBPACK_IMPORTED_MODULE_9__.a,_extends({},props,{className:[exceptionallySetClassName,_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default.a.column,"content"!==width?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.a)(_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default.a,"columnWidth",width.replace("/","-")):null],minWidth:0,width:"content"!==width?"full":void 0,flexShrink:"content"===width?0:void 0,ref:ref}),children)})),Columns=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_7__.a)((function Columns(_ref2,ref){var space=_ref2.space,_ref2$align=_ref2.align,align=void 0===_ref2$align?"left":_ref2$align,_ref2$alignY=_ref2.alignY,alignY=void 0===_ref2$alignY?"top":_ref2$alignY,collapseBelow=_ref2.collapseBelow,children=_ref2.children,exceptionallySetClassName=_ref2.exceptionallySetClassName,props=_objectWithoutProperties(_ref2,["space","align","alignY","collapseBelow","children","exceptionallySetClassName"]);return react__WEBPACK_IMPORTED_MODULE_6__.createElement(_box__WEBPACK_IMPORTED_MODULE_9__.a,_extends({},props,{className:[exceptionallySetClassName,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.a)(_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default.a,"space",space)],flexDirection:"desktop"===collapseBelow?{mobile:"column",tablet:"column",desktop:"row"}:"tablet"===collapseBelow?{mobile:"column",tablet:"row"}:"row",display:"flex",alignItems:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.b)(alignY,(function(alignY){return"top"===alignY?"flexStart":"bottom"===alignY?"flexEnd":alignY})),justifyContent:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.b)(align,(function(align){return"left"===align?"flexStart":"right"===align?"flexEnd":align})),flexGrow:1,ref:ref}),children)}))},86:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return polymorphicComponent}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);function polymorphicComponent(render){return react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(render)}}},[[1633,2,3]]]); \ No newline at end of file diff --git a/docs/main.85a8a73725144dea1b4f.manager.bundle.js b/docs/main.85a8a73725144dea1b4f.manager.bundle.js new file mode 100644 index 000000000..a58f09031 --- /dev/null +++ b/docs/main.85a8a73725144dea1b4f.manager.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1252:function(module,exports,__webpack_require__){__webpack_require__(1253),__webpack_require__(2263),__webpack_require__(571),__webpack_require__(2062),__webpack_require__(2065),__webpack_require__(2264),__webpack_require__(2262),module.exports=__webpack_require__(2259)},1354:function(module,exports){},1436:function(module,exports){},1697:function(module,exports){},2259:function(module,exports,__webpack_require__){"use strict";__webpack_require__(49).addons.setConfig({refs:{}})},2263:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var esm=__webpack_require__(122),create=__webpack_require__(1213),theme=Object(create.create)({base:"light",brandTitle:"Reactist",brandUrl:"https://github.com/Doist/reactist"});esm.c.setConfig({theme:theme})}},[[1252,2,3]]]); \ No newline at end of file diff --git a/docs/main.c08f6a69.iframe.bundle.js b/docs/main.c08f6a69.iframe.bundle.js new file mode 100644 index 000000000..ac52cfa19 --- /dev/null +++ b/docs/main.c08f6a69.iframe.bundle.js @@ -0,0 +1 @@ +(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{106:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(317),__webpack_require__(33),__webpack_require__(259),__webpack_require__(100),__webpack_require__(260),__webpack_require__(261),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),react_dom=__webpack_require__(64),react_dom_default=__webpack_require__.n(react_dom),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames),components_button=__webpack_require__(31);__webpack_require__(1244);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _defineProperties(target,props){for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Column=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_7__.a)((function Column(_ref,ref){var _ref$width=_ref.width,width=void 0===_ref$width?"auto":_ref$width,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["width","children","exceptionallySetClassName"]);return react__WEBPACK_IMPORTED_MODULE_6__.createElement(_box__WEBPACK_IMPORTED_MODULE_9__.a,_extends({},props,{className:[exceptionallySetClassName,_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default.a.column,"content"!==width?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.a)(_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default.a,"columnWidth",width.replace("/","-")):null],minWidth:0,width:"content"!==width?"full":void 0,flexShrink:"content"===width?0:void 0,ref:ref}),children)})),Columns=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_7__.a)((function Columns(_ref2,ref){var space=_ref2.space,_ref2$align=_ref2.align,align=void 0===_ref2$align?"left":_ref2$align,_ref2$alignY=_ref2.alignY,alignY=void 0===_ref2$alignY?"top":_ref2$alignY,collapseBelow=_ref2.collapseBelow,children=_ref2.children,exceptionallySetClassName=_ref2.exceptionallySetClassName,props=_objectWithoutProperties(_ref2,["space","align","alignY","collapseBelow","children","exceptionallySetClassName"]);return react__WEBPACK_IMPORTED_MODULE_6__.createElement(_box__WEBPACK_IMPORTED_MODULE_9__.a,_extends({},props,{className:[exceptionallySetClassName,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.a)(_columns_module_css__WEBPACK_IMPORTED_MODULE_10___default.a,"space",space)],flexDirection:"desktop"===collapseBelow?{mobile:"column",tablet:"column",desktop:"row"}:"tablet"===collapseBelow?{mobile:"column",tablet:"row"}:"row",display:"flex",alignItems:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.b)(alignY,(function(alignY){return"top"===alignY?"flexStart":"bottom"===alignY?"flexEnd":alignY})),justifyContent:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_8__.b)(align,(function(align){return"left"===align?"flexStart":"right"===align?"flexEnd":align})),flexGrow:1,ref:ref}),children)}))},1117:function(module,exports,__webpack_require__){var content=__webpack_require__(1118);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1118:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story {\n margin: 0 40px 0 40px;\n padding: 20px;\n background-color: white;\n}\n","",{version:3,sources:["webpack://stories/components/styles/story.less"],names:[],mappings:"AAAA;EACI,qBAAA;EACA,aAAA;EACA,uBAAA;AACJ",sourcesContent:[".story {\n margin: 0 40px 0 40px;\n padding: 20px;\n background-color: white;\n\n // checkered background\n // @gray: whitesmoke;\n // background-image: linear-gradient(45deg, @gray 25%, transparent 25%), linear-gradient(-45deg, @gray 25%, transparent 25%), linear-gradient(45deg, transparent 75%, @gray 75%), linear-gradient(-45deg, transparent 75%, @gray 75%);\n // background-size: 20px 20px;\n // background-position: 0 0, 0 10px, 10px -10px, -10px 0px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1120:function(module,exports,__webpack_require__){"use strict";(function(module){(0,__webpack_require__(513).configure)([__webpack_require__(1121),__webpack_require__(1152)],module,!1)}).call(this,__webpack_require__(311)(module))},1121:function(module,exports,__webpack_require__){var map={"./hooks/use-previous/use-previous.stories.mdx":1122,"./new-components/box/box.stories.tsx":1123,"./new-components/checkbox-field/checkbox-field.stories.tsx":1310,"./new-components/columns/columns.stories.tsx":1137,"./new-components/heading/heading.stories.tsx":1139,"./new-components/hidden/hidden.stories.tsx":1320,"./new-components/inline/inline.stories.tsx":1141,"./new-components/password-field/password-field.stories.tsx":1306,"./new-components/select-field/select-field.stories.tsx":1321,"./new-components/stack/stack.stories.tsx":1148,"./new-components/switch-field/switch-field.stories.tsx":1322,"./new-components/tabs/tabs.stories.mdx":1323,"./new-components/text-field/text-field.stories.tsx":1324,"./new-components/text/text.stories.tsx":1151};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1121},1122:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(8),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(17),_use_previous__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(438);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.e,{title:"Hooks/usePrevious",component:_use_previous__WEBPACK_IMPORTED_MODULE_7__.a,mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h1",{id:"useprevious"},"usePrevious"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"usePrevious")," tracks the change of the given value - when a given value has been changed\nfrom a previous call, it will return the value prior to the change."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre",className:"language-TypeScript"},"import { usePrevious } from '@doist/reactist'\n\nconst [x, setX] = useState(1)\nconst prevX = usePrevious(x)\n\nsetX(2)\n\nconsole.log(x) // -> 2\nconsole.log(prevX) // -> 1\n")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Hooks/usePrevious",component:_use_previous__WEBPACK_IMPORTED_MODULE_7__.a,includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},1123:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return InteractivePropsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"PaddingStory",(function(){return PaddingStory})),__webpack_require__.d(__webpack_exports__,"MarginStory",(function(){return MarginStory}));__webpack_require__(209),__webpack_require__(66),__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3),_box__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(60),_inline__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(151),_stack__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(40),_text__WEBPACK_IMPORTED_MODULE_17__=__webpack_require__(57),_heading__WEBPACK_IMPORTED_MODULE_18__=__webpack_require__(44);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i) {\n return (\n \n \n
One
\n
Two
\n
Three
\n
\n
\n )\n}'}},InteractivePropsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:'function ResponsiveStory() {\n return (\n <>\n \n \n \n \n \n \n \n \n \n \n \n
One
\n
Two
\n
Three
\n \n
\n \n \n \n \n \n \n \n
\n \n )\n}'}},ResponsiveStory.parameters),PaddingStory.parameters=_objectSpread({storySource:{source:'function PaddingStory({ padding }: { padding: Space }) {\n return (\n \n The transparent bordered box has padding\n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},PaddingStory.parameters),MarginStory.parameters=_objectSpread({storySource:{source:'function MarginStory({ margin }: { margin: Space }) {\n return (\n \n The shaded box has margin\n \n When margin is negative, you will see the outer bordered box appear to be inside the\n shaded box.\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},MarginStory.parameters);try{InteractivePropsStory.displayName="InteractivePropsStory",InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{position:{defaultValue:null,description:"",name:"position",required:!1,type:{name:'"absolute" | "fixed" | "relative" | "static" | "sticky" | readonly [BoxPosition, BoxPosition] | readonly [BoxPosition, BoxPosition, BoxPosition] | Readonly<...> | undefined'}},display:{defaultValue:null,description:"",name:"display",required:!1,type:{name:'"none" | "inline" | "block" | "flex" | "inlineBlock" | "inlineFlex" | readonly [BoxDisplay, BoxDisplay] | readonly [BoxDisplay, BoxDisplay, BoxDisplay] | Readonly<...> | undefined'}},flexDirection:{defaultValue:null,description:"",name:"flexDirection",required:!1,type:{name:'"column" | "row" | readonly [BoxFlexDirection, BoxFlexDirection] | readonly [BoxFlexDirection, BoxFlexDirection, BoxFlexDirection] | Readonly<...> | undefined'}},flexWrap:{defaultValue:null,description:"",name:"flexWrap",required:!1,type:{name:'"nowrap" | "wrap" | undefined'}},flexGrow:{defaultValue:null,description:"",name:"flexGrow",required:!1,type:{name:"0 | 1 | undefined"}},flexShrink:{defaultValue:null,description:"",name:"flexShrink",required:!1,type:{name:"0 | undefined"}},alignItems:{defaultValue:null,description:"",name:"alignItems",required:!1,type:{name:'"center" | "flexEnd" | "flexStart" | "baseline" | readonly [BoxAlignItems, BoxAlignItems] | readonly [BoxAlignItems, BoxAlignItems, BoxAlignItems] | Readonly<...> | undefined'}},justifyContent:{defaultValue:null,description:"",name:"justifyContent",required:!1,type:{name:'"center" | "flexEnd" | "flexStart" | "spaceBetween" | readonly [BoxJustifyContent, BoxJustifyContent] | readonly [BoxJustifyContent, BoxJustifyContent, BoxJustifyContent] | Readonly<...> | undefined'}},overflow:{defaultValue:null,description:"",name:"overflow",required:!1,type:{name:'"hidden" | "visible" | "auto" | "scroll" | undefined'}},width:{defaultValue:null,description:"",name:"width",required:!1,type:{name:'"full" | undefined'}},height:{defaultValue:null,description:"",name:"height",required:!1,type:{name:'"full" | undefined'}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"ClassValue"}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},margin:{defaultValue:null,description:"",name:"margin",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginX:{defaultValue:null,description:"",name:"marginX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginY:{defaultValue:null,description:"",name:"marginY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginTop:{defaultValue:null,description:"",name:"marginTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginRight:{defaultValue:null,description:"",name:"marginRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginBottom:{defaultValue:null,description:"",name:"marginBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},marginLeft:{defaultValue:null,description:"",name:"marginLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | "-xsmall" | "-small" | "-medium" | "-large" | "-xlarge" | "-xxlarge" | readonly [SpaceWithNegatives, SpaceWithNegatives] | readonly [...] | Readonly<...> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/box/box.stories.tsx#InteractivePropsStory"]={docgenInfo:InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/box/box.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{PaddingStory.displayName="PaddingStory",PaddingStory.__docgenInfo={description:"",displayName:"PaddingStory",props:{padding:{defaultValue:null,description:"",name:"padding",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"xsmall"'},{value:'"medium"'},{value:'"xlarge"'},{value:'"xxlarge"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/box/box.stories.tsx#PaddingStory"]={docgenInfo:PaddingStory.__docgenInfo,name:"PaddingStory",path:"src/new-components/box/box.stories.tsx#PaddingStory"})}catch(__react_docgen_typescript_loader_error){}try{MarginStory.displayName="MarginStory",MarginStory.__docgenInfo={description:"",displayName:"MarginStory",props:{margin:{defaultValue:null,description:"",name:"margin",required:!0,type:{name:"enum",value:[{value:'"small"'},{value:'"large"'},{value:'"xsmall"'},{value:'"medium"'},{value:'"xlarge"'},{value:'"xxlarge"'}]}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/box/box.stories.tsx#MarginStory"]={docgenInfo:MarginStory.__docgenInfo,name:"MarginStory",path:"src/new-components/box/box.stories.tsx#MarginStory"})}catch(__react_docgen_typescript_loader_error){}},1124:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._34n6lzh1{box-sizing:border-box;border:0;margin:0;padding:0;font-size:var(--reactist-font-size-body);font-family:inherit;vertical-align:baseline;background-color:transparent}._34n6lzh1[hidden]{display:none!important}._4O18_OS-{position:absolute}._28SfqXxQ{position:fixed}._25hgucpJ{position:relative}._1z9gRRgL{position:-webkit-sticky;position:sticky}@media (min-width:768px){._165GB3d9{position:absolute}._35BfHjzS{position:fixed}.ToWL2vUd{position:relative}._3Y7tS7ZB{position:-webkit-sticky;position:sticky}}@media (min-width:992px){._1cIKCESH{position:absolute}._2UnmU33s{position:fixed}.Yvv9o15g{position:relative}._1ulmDxJK{position:-webkit-sticky;position:sticky}}._3metZFs3{display:block}.OtqwlC-g{display:flex}.ScnLRsqQ{display:inline}._3p4d3SOr{display:inline-block}._3Wbf3h8F{display:inline-flex}.vZcMBze5{display:none}@media (min-width:768px){.xnym6zKT{display:block}._3lk6GIUC{display:flex}._2lsDHRFI{display:inline}._3_tat_7q{display:inline-block}._2zp0Ysn_{display:inline-flex}._22HipJxo{display:none}}@media (min-width:992px){.egzVdgM-{display:block}._3O-rsskG{display:flex}._2e2_Bdle{display:inline}._1BndqY98{display:inline-block}._3lKbMoNn{display:inline-flex}._2-eAy5iF{display:none}}._1LICbbGA{min-width:0}._11C3KbpS{min-width:220px}._2i8CQCsg{min-width:400px}._2mvYxIBO{min-width:660px}.tUeYcld-{max-width:940px}._3xFf8yMo{min-width:1280px}._1kI7x4VB{max-width:220px}.eLup45J2{max-width:400px}._3Q3oh0wq{max-width:660px}._1m4kNCjr{max-width:940px}.rKzeZFfP{max-width:1280px}._V9SUtJ4{max-width:100%}._1cIxSJgN{flex-direction:column}._3d82rg2O{flex-direction:row}@media (min-width:768px){._2BCIaaSu{flex-direction:column}._1KZ73hzW{flex-direction:row}}@media (min-width:992px){.AlBpSaFt{flex-direction:column}.szQspntj{flex-direction:row}}._2R_eNJAR{flex-wrap:wrap}._1A8QKWzr{flex-wrap:nowrap}._1BY1l_eA{flex-shrink:0}._2JTESmuO{flex-grow:0}._1IIXp_yM{flex-grow:1}._3Aw6MW6G{align-items:flex-start}._3J7hgDFf{align-items:center}._1PQDcZy6{align-items:flex-end}._3-zKDOwm{align-items:baseline}@media (min-width:768px){._3166iR2s{align-items:flex-start}.QCePjapg{align-items:center}.jjkOQC8r{align-items:flex-end}._14CBNMJQ{align-items:baseline}}@media (min-width:992px){.A0DebJu_{align-items:flex-start}._1isnu434{align-items:center}._3VslwRNK{align-items:flex-end}._1eGXZce8{align-items:baseline}}._2pEU8SQC{justify-content:flex-start}._1mRUNYls{justify-content:center}._3EDR-URW{justify-content:flex-end}.IXOituOK{justify-content:space-between}@media (min-width:768px){._2d7kRHd7{justify-content:flex-start}._1UzfR6Vf{justify-content:center}._2ImQNbDg{justify-content:flex-end}._16UkMMI6{justify-content:space-between}}@media (min-width:992px){._3cyvD1f5{justify-content:flex-start}._1HcMvcsu{justify-content:center}._33m1Ctuk{justify-content:flex-end}._2bJ7PwH5{justify-content:space-between}}._2VHbvrHg{overflow:hidden}.C08q82uW{overflow:auto}._3jPsBi7a{overflow:visible}._36PWUusV{overflow:scroll}._32U3_pi2{width:100%}._1AR6jtYl{height:100%}.acHew4QS{background-color:var(--reactist-bg-default)}._27wTWuhR{background-color:var(--reactist-bg-aside)}._13n6zG49{background-color:var(--reactist-bg-highlight)}._3xE7o7Lc{background-color:var(--reactist-bg-selected)}._1s36b_gH{border-radius:var(--reactist-border-radius-small)}._1SIaqDBP{border-radius:var(--reactist-border-radius-large)}._1-QIwmSO{border:1px solid var(--reactist-framework-border)}",""]),exports.locals={box:"_34n6lzh1","position-absolute":"_4O18_OS-","position-fixed":"_28SfqXxQ","position-relative":"_25hgucpJ","position-sticky":"_1z9gRRgL","tablet-position-absolute":"_165GB3d9","tablet-position-fixed":"_35BfHjzS","tablet-position-relative":"ToWL2vUd","tablet-position-sticky":"_3Y7tS7ZB","desktop-position-absolute":"_1cIKCESH","desktop-position-fixed":"_2UnmU33s","desktop-position-relative":"Yvv9o15g","desktop-position-sticky":"_1ulmDxJK","display-block":"_3metZFs3","display-flex":"OtqwlC-g","display-inline":"ScnLRsqQ","display-inlineBlock":"_3p4d3SOr","display-inlineFlex":"_3Wbf3h8F","display-none":"vZcMBze5","tablet-display-block":"xnym6zKT","tablet-display-flex":"_3lk6GIUC","tablet-display-inline":"_2lsDHRFI","tablet-display-inlineBlock":"_3_tat_7q","tablet-display-inlineFlex":"_2zp0Ysn_","tablet-display-none":"_22HipJxo","desktop-display-block":"egzVdgM-","desktop-display-flex":"_3O-rsskG","desktop-display-inline":"_2e2_Bdle","desktop-display-inlineBlock":"_1BndqY98","desktop-display-inlineFlex":"_3lKbMoNn","desktop-display-none":"_2-eAy5iF","minWidth-0":"_1LICbbGA","minWidth-xsmall":"_11C3KbpS","minWidth-small":"_2i8CQCsg","minWidth-medium":"_2mvYxIBO","minWidth-large":"tUeYcld-","minWidth-xlarge":"_3xFf8yMo","maxWidth-xsmall":"_1kI7x4VB","maxWidth-small":"eLup45J2","maxWidth-medium":"_3Q3oh0wq","maxWidth-large":"_1m4kNCjr","maxWidth-xlarge":"rKzeZFfP","maxWidth-full":"_V9SUtJ4","flexDirection-column":"_1cIxSJgN","flexDirection-row":"_3d82rg2O","tablet-flexDirection-column":"_2BCIaaSu","tablet-flexDirection-row":"_1KZ73hzW","desktop-flexDirection-column":"AlBpSaFt","desktop-flexDirection-row":"szQspntj","flexWrap-wrap":"_2R_eNJAR","flexWrap-nowrap":"_1A8QKWzr","flexShrink-0":"_1BY1l_eA","flexGrow-0":"_2JTESmuO","flexGrow-1":"_1IIXp_yM","alignItems-flexStart":"_3Aw6MW6G","alignItems-center":"_3J7hgDFf","alignItems-flexEnd":"_1PQDcZy6","alignItems-baseline":"_3-zKDOwm","tablet-alignItems-flexStart":"_3166iR2s","tablet-alignItems-center":"QCePjapg","tablet-alignItems-flexEnd":"jjkOQC8r","tablet-alignItems-baseline":"_14CBNMJQ","desktop-alignItems-flexStart":"A0DebJu_","desktop-alignItems-center":"_1isnu434","desktop-alignItems-flexEnd":"_3VslwRNK","desktop-alignItems-baseline":"_1eGXZce8","justifyContent-flexStart":"_2pEU8SQC","justifyContent-center":"_1mRUNYls","justifyContent-flexEnd":"_3EDR-URW","justifyContent-spaceBetween":"IXOituOK","tablet-justifyContent-flexStart":"_2d7kRHd7","tablet-justifyContent-center":"_1UzfR6Vf","tablet-justifyContent-flexEnd":"_2ImQNbDg","tablet-justifyContent-spaceBetween":"_16UkMMI6","desktop-justifyContent-flexStart":"_3cyvD1f5","desktop-justifyContent-center":"_1HcMvcsu","desktop-justifyContent-flexEnd":"_33m1Ctuk","desktop-justifyContent-spaceBetween":"_2bJ7PwH5","overflow-hidden":"_2VHbvrHg","overflow-auto":"C08q82uW","overflow-visible":"_3jPsBi7a","overflow-scroll":"_36PWUusV","width-full":"_32U3_pi2","height-full":"_1AR6jtYl","bg-default":"acHew4QS","bg-aside":"_27wTWuhR","bg-highlight":"_13n6zG49","bg-selected":"_3xE7o7Lc","borderRadius-standard":"_1s36b_gH","borderRadius-full":"_1SIaqDBP","border-standard":"_1-QIwmSO"},module.exports=exports},1125:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._37PoF4Jf{padding-top:var(--reactist-spacing-xsmall)}._3cS38W36{padding-top:var(--reactist-spacing-small)}._2gIxtZlm{padding-top:var(--reactist-spacing-medium)}._3gGn2Ofz{padding-top:var(--reactist-spacing-large)}._2WG6QMMn{padding-top:var(--reactist-spacing-xlarge)}.hxJ6w3B8{padding-top:var(--reactist-spacing-xxlarge)}@media (min-width:768px){.XZwT2WMR{padding-top:var(--reactist-spacing-xsmall)}._3FhVEENA{padding-top:var(--reactist-spacing-small)}.ijls2XcC{padding-top:var(--reactist-spacing-medium)}._3lJzwpfO{padding-top:var(--reactist-spacing-large)}.qfLFeSh6{padding-top:var(--reactist-spacing-xlarge)}._2oughCEx{padding-top:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._2EMgDg14{padding-top:var(--reactist-spacing-xsmall)}._3NCndykL{padding-top:var(--reactist-spacing-small)}._2A7cPy_6{padding-top:var(--reactist-spacing-medium)}._3N-vMEjD{padding-top:var(--reactist-spacing-large)}._1eYpDcLP{padding-top:var(--reactist-spacing-xlarge)}._3PQ5mnms{padding-top:var(--reactist-spacing-xxlarge)}}._2V7PNCmm{padding-right:var(--reactist-spacing-xsmall)}._3AE3p2-n{padding-right:var(--reactist-spacing-small)}._2FVEUD8O{padding-right:var(--reactist-spacing-medium)}.UHB6w90T{padding-right:var(--reactist-spacing-large)}._3v6Sez5u{padding-right:var(--reactist-spacing-xlarge)}._268fG3vy{padding-right:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._3m_CxKdn{padding-right:var(--reactist-spacing-xsmall)}._2qWZZU_u{padding-right:var(--reactist-spacing-small)}.flWTp8Mh{padding-right:var(--reactist-spacing-medium)}._2ZynUo6x{padding-right:var(--reactist-spacing-large)}._3qSWbPfK{padding-right:var(--reactist-spacing-xlarge)}._2MYsGWU9{padding-right:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3nVE2PpR{padding-right:var(--reactist-spacing-xsmall)}._3XJ7yA45{padding-right:var(--reactist-spacing-small)}._2947_gJc{padding-right:var(--reactist-spacing-medium)}._3G7IvIGI{padding-right:var(--reactist-spacing-large)}._249gwEjJ{padding-right:var(--reactist-spacing-xlarge)}._36yKlFub{padding-right:var(--reactist-spacing-xxlarge)}}._1ditaqCq{padding-bottom:var(--reactist-spacing-xsmall)}.MRCRaOWe{padding-bottom:var(--reactist-spacing-small)}.KoY7Oin6{padding-bottom:var(--reactist-spacing-medium)}._3t9twW2c{padding-bottom:var(--reactist-spacing-large)}._3es4Yt5f{padding-bottom:var(--reactist-spacing-xlarge)}.vMCqilRw{padding-bottom:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1UW42Raj{padding-bottom:var(--reactist-spacing-xsmall)}._2vl2ugBk{padding-bottom:var(--reactist-spacing-small)}._1wpQcEzg{padding-bottom:var(--reactist-spacing-medium)}._2mERt9xt{padding-bottom:var(--reactist-spacing-large)}.a5ZaVHzr{padding-bottom:var(--reactist-spacing-xlarge)}._1O57Fgar{padding-bottom:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3JaG2S5t{padding-bottom:var(--reactist-spacing-xsmall)}._2TPsqVHm{padding-bottom:var(--reactist-spacing-small)}._22oRlhAY{padding-bottom:var(--reactist-spacing-medium)}._1XD7TfYf{padding-bottom:var(--reactist-spacing-large)}.kFUXoQRu{padding-bottom:var(--reactist-spacing-xlarge)}._3L6o6csz{padding-bottom:var(--reactist-spacing-xxlarge)}}._3SMipyD1{padding-left:var(--reactist-spacing-xsmall)}._3LB8K5Zf{padding-left:var(--reactist-spacing-small)}._3pxFvBZs{padding-left:var(--reactist-spacing-medium)}._1ThFwWOW{padding-left:var(--reactist-spacing-large)}._1kWqxncf{padding-left:var(--reactist-spacing-xlarge)}._1S4UZubw{padding-left:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1yZiGh_h{padding-left:var(--reactist-spacing-xsmall)}.WkSpvbEE{padding-left:var(--reactist-spacing-small)}._2a_l_BX9{padding-left:var(--reactist-spacing-medium)}.V0zP7kjo{padding-left:var(--reactist-spacing-large)}._1fqXx4Qm{padding-left:var(--reactist-spacing-xlarge)}._2roIYNws{padding-left:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._1Ph0zT71{padding-left:var(--reactist-spacing-xsmall)}._3zkUen6M{padding-left:var(--reactist-spacing-small)}.rbF2_zNe{padding-left:var(--reactist-spacing-medium)}._2u6oBYeY{padding-left:var(--reactist-spacing-large)}.Mm78E9Om{padding-left:var(--reactist-spacing-xlarge)}._1dQOZcsI{padding-left:var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"paddingTop-xsmall":"_37PoF4Jf","paddingTop-small":"_3cS38W36","paddingTop-medium":"_2gIxtZlm","paddingTop-large":"_3gGn2Ofz","paddingTop-xlarge":"_2WG6QMMn","paddingTop-xxlarge":"hxJ6w3B8","tablet-paddingTop-xsmall":"XZwT2WMR","tablet-paddingTop-small":"_3FhVEENA","tablet-paddingTop-medium":"ijls2XcC","tablet-paddingTop-large":"_3lJzwpfO","tablet-paddingTop-xlarge":"qfLFeSh6","tablet-paddingTop-xxlarge":"_2oughCEx","desktop-paddingTop-xsmall":"_2EMgDg14","desktop-paddingTop-small":"_3NCndykL","desktop-paddingTop-medium":"_2A7cPy_6","desktop-paddingTop-large":"_3N-vMEjD","desktop-paddingTop-xlarge":"_1eYpDcLP","desktop-paddingTop-xxlarge":"_3PQ5mnms","paddingRight-xsmall":"_2V7PNCmm","paddingRight-small":"_3AE3p2-n","paddingRight-medium":"_2FVEUD8O","paddingRight-large":"UHB6w90T","paddingRight-xlarge":"_3v6Sez5u","paddingRight-xxlarge":"_268fG3vy","tablet-paddingRight-xsmall":"_3m_CxKdn","tablet-paddingRight-small":"_2qWZZU_u","tablet-paddingRight-medium":"flWTp8Mh","tablet-paddingRight-large":"_2ZynUo6x","tablet-paddingRight-xlarge":"_3qSWbPfK","tablet-paddingRight-xxlarge":"_2MYsGWU9","desktop-paddingRight-xsmall":"_3nVE2PpR","desktop-paddingRight-small":"_3XJ7yA45","desktop-paddingRight-medium":"_2947_gJc","desktop-paddingRight-large":"_3G7IvIGI","desktop-paddingRight-xlarge":"_249gwEjJ","desktop-paddingRight-xxlarge":"_36yKlFub","paddingBottom-xsmall":"_1ditaqCq","paddingBottom-small":"MRCRaOWe","paddingBottom-medium":"KoY7Oin6","paddingBottom-large":"_3t9twW2c","paddingBottom-xlarge":"_3es4Yt5f","paddingBottom-xxlarge":"vMCqilRw","tablet-paddingBottom-xsmall":"_1UW42Raj","tablet-paddingBottom-small":"_2vl2ugBk","tablet-paddingBottom-medium":"_1wpQcEzg","tablet-paddingBottom-large":"_2mERt9xt","tablet-paddingBottom-xlarge":"a5ZaVHzr","tablet-paddingBottom-xxlarge":"_1O57Fgar","desktop-paddingBottom-xsmall":"_3JaG2S5t","desktop-paddingBottom-small":"_2TPsqVHm","desktop-paddingBottom-medium":"_22oRlhAY","desktop-paddingBottom-large":"_1XD7TfYf","desktop-paddingBottom-xlarge":"kFUXoQRu","desktop-paddingBottom-xxlarge":"_3L6o6csz","paddingLeft-xsmall":"_3SMipyD1","paddingLeft-small":"_3LB8K5Zf","paddingLeft-medium":"_3pxFvBZs","paddingLeft-large":"_1ThFwWOW","paddingLeft-xlarge":"_1kWqxncf","paddingLeft-xxlarge":"_1S4UZubw","tablet-paddingLeft-xsmall":"_1yZiGh_h","tablet-paddingLeft-small":"WkSpvbEE","tablet-paddingLeft-medium":"_2a_l_BX9","tablet-paddingLeft-large":"V0zP7kjo","tablet-paddingLeft-xlarge":"_1fqXx4Qm","tablet-paddingLeft-xxlarge":"_2roIYNws","desktop-paddingLeft-xsmall":"_1Ph0zT71","desktop-paddingLeft-small":"_3zkUen6M","desktop-paddingLeft-medium":"rbF2_zNe","desktop-paddingLeft-large":"_2u6oBYeY","desktop-paddingLeft-xlarge":"Mm78E9Om","desktop-paddingLeft-xxlarge":"_1dQOZcsI"},module.exports=exports},1126:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._1emsB4WA{margin-top:var(--reactist-spacing-xsmall)}._2J7cMqGi{margin-top:var(--reactist-spacing-small)}._2QAwUG-O{margin-top:var(--reactist-spacing-medium)}._1hUkzmOe{margin-top:var(--reactist-spacing-large)}._2ZXXRI4M{margin-top:var(--reactist-spacing-xlarge)}._1yintsUZ{margin-top:var(--reactist-spacing-xxlarge)}._3zsxWMnb{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2q9YZrNS{margin-top:calc(var(--reactist-spacing-small)*-1)}._3sBRhCNv{margin-top:calc(var(--reactist-spacing-medium)*-1)}._3C4A_Y_V{margin-top:calc(var(--reactist-spacing-large)*-1)}._8dbkmzoK{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._2N12DjQM{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){._2SMhHarO{margin-top:var(--reactist-spacing-xsmall)}.PH0kl-tf{margin-top:var(--reactist-spacing-small)}._2xGJHEww{margin-top:var(--reactist-spacing-medium)}._25OQPhco{margin-top:var(--reactist-spacing-large)}._2LpM6NKt{margin-top:var(--reactist-spacing-xlarge)}._1VYT0Hhd{margin-top:var(--reactist-spacing-xxlarge)}._3BJOAGsR{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2TUqzeu9{margin-top:calc(var(--reactist-spacing-small)*-1)}.CLVxeaNg{margin-top:calc(var(--reactist-spacing-medium)*-1)}.ypwaemIi{margin-top:calc(var(--reactist-spacing-large)*-1)}._3WY141hT{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._10GeI19F{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){._27ekuIwn{margin-top:var(--reactist-spacing-xsmall)}.QxkeMaKy{margin-top:var(--reactist-spacing-small)}.A-Ngfa5i{margin-top:var(--reactist-spacing-medium)}._2PrihO-N{margin-top:var(--reactist-spacing-large)}._3_L5gFS1{margin-top:var(--reactist-spacing-xlarge)}._1r9jrEFS{margin-top:var(--reactist-spacing-xxlarge)}._3af0kbj9{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2rLAwkGr{margin-top:calc(var(--reactist-spacing-small)*-1)}._1jufhOhq{margin-top:calc(var(--reactist-spacing-medium)*-1)}._3lAIaRrd{margin-top:calc(var(--reactist-spacing-large)*-1)}._11CckePq{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._2uXfuEtS{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}}._3VQzbmJX{margin-right:var(--reactist-spacing-xsmall)}._1dEi1DUY{margin-right:var(--reactist-spacing-small)}.A8rysjmE{margin-right:var(--reactist-spacing-medium)}.PWggVFhM{margin-right:var(--reactist-spacing-large)}._1InVWXaT{margin-right:var(--reactist-spacing-xlarge)}._2JSwW6g-{margin-right:var(--reactist-spacing-xxlarge)}._1K7nRAEh{margin-right:calc(var(--reactist-spacing-xsmall)*-1)}._1Y-H6mP7{margin-right:calc(var(--reactist-spacing-small)*-1)}._1IqT2P8g{margin-right:calc(var(--reactist-spacing-medium)*-1)}._3Mt6km7k{margin-right:calc(var(--reactist-spacing-large)*-1)}._1SN6-mED{margin-right:calc(var(--reactist-spacing-xlarge)*-1)}._23GoFgk4{margin-right:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){._34PM8pB_{margin-right:var(--reactist-spacing-xsmall)}._1sTvqvCb{margin-right:var(--reactist-spacing-small)}._2RvVjYtx{margin-right:var(--reactist-spacing-medium)}._2-c_epN3{margin-right:var(--reactist-spacing-large)}._3ypF-Qjv{margin-right:var(--reactist-spacing-xlarge)}._27REH0q6{margin-right:var(--reactist-spacing-xxlarge)}._2N5eUvTy{margin-right:calc(var(--reactist-spacing-xsmall)*-1)}._1B5oq0ln{margin-right:calc(var(--reactist-spacing-small)*-1)}._3YZnbcAW{margin-right:calc(var(--reactist-spacing-medium)*-1)}._2RTKDWwe{margin-right:calc(var(--reactist-spacing-large)*-1)}._12KGHCEB{margin-right:calc(var(--reactist-spacing-xlarge)*-1)}._-7PB7-Lt{margin-right:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){._1ubQsi9M{margin-right:var(--reactist-spacing-xsmall)}._2oez860k{margin-right:var(--reactist-spacing-small)}._5cCgRUvJ{margin-right:var(--reactist-spacing-medium)}._1J6e__aO{margin-right:var(--reactist-spacing-large)}._3RPQf1zx{margin-right:var(--reactist-spacing-xlarge)}._1Uwkw65a{margin-right:var(--reactist-spacing-xxlarge)}._1F0a8xFJ{margin-right:calc(var(--reactist-spacing-xsmall)*-1)}._2zeiR8w2{margin-right:calc(var(--reactist-spacing-small)*-1)}._24stxPZ3{margin-right:calc(var(--reactist-spacing-medium)*-1)}._1TTACvpQ{margin-right:calc(var(--reactist-spacing-large)*-1)}._3SO5f5X2{margin-right:calc(var(--reactist-spacing-xlarge)*-1)}.kr_SmhIK{margin-right:calc(var(--reactist-spacing-xxlarge)*-1)}}.mokrM-4L{margin-bottom:var(--reactist-spacing-xsmall)}._2Fz1ihpU{margin-bottom:var(--reactist-spacing-small)}._1zYqs84J{margin-bottom:var(--reactist-spacing-medium)}._30l-EL_7{margin-bottom:var(--reactist-spacing-large)}._3JUkH4iL{margin-bottom:var(--reactist-spacing-xlarge)}._3o8DfvCm{margin-bottom:var(--reactist-spacing-xxlarge)}._19LwIdQZ{margin-bottom:calc(var(--reactist-spacing-xsmall)*-1)}._1wkZa7Nv{margin-bottom:calc(var(--reactist-spacing-small)*-1)}._15ux_WIM{margin-bottom:calc(var(--reactist-spacing-medium)*-1)}._1xeBZ5uY{margin-bottom:calc(var(--reactist-spacing-large)*-1)}._3M7dGsBb{margin-bottom:calc(var(--reactist-spacing-xlarge)*-1)}._3xM_DHx3{margin-bottom:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){.aQZNSnYH{margin-bottom:var(--reactist-spacing-xsmall)}.CaQZlGcF{margin-bottom:var(--reactist-spacing-small)}._1TvSVpiQ{margin-bottom:var(--reactist-spacing-medium)}._2FU8clks{margin-bottom:var(--reactist-spacing-large)}._1Lll8NE5{margin-bottom:var(--reactist-spacing-xlarge)}._219LYTO6{margin-bottom:var(--reactist-spacing-xxlarge)}._74Pnksea{margin-bottom:calc(var(--reactist-spacing-xsmall)*-1)}.uog2aCjN{margin-bottom:calc(var(--reactist-spacing-small)*-1)}._3CRKF1bT{margin-bottom:calc(var(--reactist-spacing-medium)*-1)}._2UcDJ3zL{margin-bottom:calc(var(--reactist-spacing-large)*-1)}._2CQf_8Ja{margin-bottom:calc(var(--reactist-spacing-xlarge)*-1)}._1Fn_mX7r{margin-bottom:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){.cMZteGSP{margin-bottom:var(--reactist-spacing-xsmall)}._302YRk_s{margin-bottom:var(--reactist-spacing-small)}.a5SLhA8h{margin-bottom:var(--reactist-spacing-medium)}._1jJYFMpE{margin-bottom:var(--reactist-spacing-large)}._2VH0jzpO{margin-bottom:var(--reactist-spacing-xlarge)}._34W1FCkE{margin-bottom:var(--reactist-spacing-xxlarge)}._3TO6-rpf{margin-bottom:calc(var(--reactist-spacing-xsmall)*-1)}._1njTBEO5{margin-bottom:calc(var(--reactist-spacing-small)*-1)}._3O8NQb9I{margin-bottom:calc(var(--reactist-spacing-medium)*-1)}.tPTZYgH3{margin-bottom:calc(var(--reactist-spacing-large)*-1)}._2yeb-Y-8{margin-bottom:calc(var(--reactist-spacing-xlarge)*-1)}._3jKh5ffF{margin-bottom:calc(var(--reactist-spacing-xxlarge)*-1)}}._3D5GWbXE{margin-left:var(--reactist-spacing-xsmall)}._3iypvYrg{margin-left:var(--reactist-spacing-small)}._1YlqwPym{margin-left:var(--reactist-spacing-medium)}._22o1sovn{margin-left:var(--reactist-spacing-large)}._1MLXh3lW{margin-left:var(--reactist-spacing-xlarge)}._2lwkfQiH{margin-left:var(--reactist-spacing-xxlarge)}._14YCoxft{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}.ewcnIPqd{margin-left:calc(var(--reactist-spacing-small)*-1)}._2g1OVDe8{margin-left:calc(var(--reactist-spacing-medium)*-1)}._2ddA4m0W{margin-left:calc(var(--reactist-spacing-large)*-1)}._1GZwUWJN{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._31-qNiMv{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}@media (min-width:768px){._3BKnNzUJ{margin-left:var(--reactist-spacing-xsmall)}._38oD_Jwb{margin-left:var(--reactist-spacing-small)}._16zyVxt4{margin-left:var(--reactist-spacing-medium)}._3gFPvRUF{margin-left:var(--reactist-spacing-large)}._2e_oL8V0{margin-left:var(--reactist-spacing-xlarge)}.Y5R1Zk3t{margin-left:var(--reactist-spacing-xxlarge)}._2Z7o0xJV{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._2IAsx91P{margin-left:calc(var(--reactist-spacing-small)*-1)}._1prIBzP1{margin-left:calc(var(--reactist-spacing-medium)*-1)}.yBuaqMBN{margin-left:calc(var(--reactist-spacing-large)*-1)}._2gj-03xG{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._1tpj1o6k{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}}@media (min-width:992px){.Qr1HV5zM{margin-left:var(--reactist-spacing-xsmall)}.WJax_2dc{margin-left:var(--reactist-spacing-small)}._281azCe0{margin-left:var(--reactist-spacing-medium)}._2kTX0YwB{margin-left:var(--reactist-spacing-large)}.EQX8jGWW{margin-left:var(--reactist-spacing-xlarge)}._94dEeX2M{margin-left:var(--reactist-spacing-xxlarge)}._3Ps_CZcp{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._2h2uHZkI{margin-left:calc(var(--reactist-spacing-small)*-1)}.ccCTloTg{margin-left:calc(var(--reactist-spacing-medium)*-1)}._16UyxR0i{margin-left:calc(var(--reactist-spacing-large)*-1)}._1ONy15Is{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}.OfjFZfgK{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}}",""]),exports.locals={"marginTop-xsmall":"_1emsB4WA","marginTop-small":"_2J7cMqGi","marginTop-medium":"_2QAwUG-O","marginTop-large":"_1hUkzmOe","marginTop-xlarge":"_2ZXXRI4M","marginTop-xxlarge":"_1yintsUZ","marginTop--xsmall":"_3zsxWMnb","marginTop--small":"_2q9YZrNS","marginTop--medium":"_3sBRhCNv","marginTop--large":"_3C4A_Y_V","marginTop--xlarge":"_8dbkmzoK","marginTop--xxlarge":"_2N12DjQM","tablet-marginTop-xsmall":"_2SMhHarO","tablet-marginTop-small":"PH0kl-tf","tablet-marginTop-medium":"_2xGJHEww","tablet-marginTop-large":"_25OQPhco","tablet-marginTop-xlarge":"_2LpM6NKt","tablet-marginTop-xxlarge":"_1VYT0Hhd","tablet-marginTop--xsmall":"_3BJOAGsR","tablet-marginTop--small":"_2TUqzeu9","tablet-marginTop--medium":"CLVxeaNg","tablet-marginTop--large":"ypwaemIi","tablet-marginTop--xlarge":"_3WY141hT","tablet-marginTop--xxlarge":"_10GeI19F","desktop-marginTop-xsmall":"_27ekuIwn","desktop-marginTop-small":"QxkeMaKy","desktop-marginTop-medium":"A-Ngfa5i","desktop-marginTop-large":"_2PrihO-N","desktop-marginTop-xlarge":"_3_L5gFS1","desktop-marginTop-xxlarge":"_1r9jrEFS","desktop-marginTop--xsmall":"_3af0kbj9","desktop-marginTop--small":"_2rLAwkGr","desktop-marginTop--medium":"_1jufhOhq","desktop-marginTop--large":"_3lAIaRrd","desktop-marginTop--xlarge":"_11CckePq","desktop-marginTop--xxlarge":"_2uXfuEtS","marginRight-xsmall":"_3VQzbmJX","marginRight-small":"_1dEi1DUY","marginRight-medium":"A8rysjmE","marginRight-large":"PWggVFhM","marginRight-xlarge":"_1InVWXaT","marginRight-xxlarge":"_2JSwW6g-","marginRight--xsmall":"_1K7nRAEh","marginRight--small":"_1Y-H6mP7","marginRight--medium":"_1IqT2P8g","marginRight--large":"_3Mt6km7k","marginRight--xlarge":"_1SN6-mED","marginRight--xxlarge":"_23GoFgk4","tablet-marginRight-xsmall":"_34PM8pB_","tablet-marginRight-small":"_1sTvqvCb","tablet-marginRight-medium":"_2RvVjYtx","tablet-marginRight-large":"_2-c_epN3","tablet-marginRight-xlarge":"_3ypF-Qjv","tablet-marginRight-xxlarge":"_27REH0q6","tablet-marginRight--xsmall":"_2N5eUvTy","tablet-marginRight--small":"_1B5oq0ln","tablet-marginRight--medium":"_3YZnbcAW","tablet-marginRight--large":"_2RTKDWwe","tablet-marginRight--xlarge":"_12KGHCEB","tablet-marginRight--xxlarge":"_-7PB7-Lt","desktop-marginRight-xsmall":"_1ubQsi9M","desktop-marginRight-small":"_2oez860k","desktop-marginRight-medium":"_5cCgRUvJ","desktop-marginRight-large":"_1J6e__aO","desktop-marginRight-xlarge":"_3RPQf1zx","desktop-marginRight-xxlarge":"_1Uwkw65a","desktop-marginRight--xsmall":"_1F0a8xFJ","desktop-marginRight--small":"_2zeiR8w2","desktop-marginRight--medium":"_24stxPZ3","desktop-marginRight--large":"_1TTACvpQ","desktop-marginRight--xlarge":"_3SO5f5X2","desktop-marginRight--xxlarge":"kr_SmhIK","marginBottom-xsmall":"mokrM-4L","marginBottom-small":"_2Fz1ihpU","marginBottom-medium":"_1zYqs84J","marginBottom-large":"_30l-EL_7","marginBottom-xlarge":"_3JUkH4iL","marginBottom-xxlarge":"_3o8DfvCm","marginBottom--xsmall":"_19LwIdQZ","marginBottom--small":"_1wkZa7Nv","marginBottom--medium":"_15ux_WIM","marginBottom--large":"_1xeBZ5uY","marginBottom--xlarge":"_3M7dGsBb","marginBottom--xxlarge":"_3xM_DHx3","tablet-marginBottom-xsmall":"aQZNSnYH","tablet-marginBottom-small":"CaQZlGcF","tablet-marginBottom-medium":"_1TvSVpiQ","tablet-marginBottom-large":"_2FU8clks","tablet-marginBottom-xlarge":"_1Lll8NE5","tablet-marginBottom-xxlarge":"_219LYTO6","tablet-marginBottom--xsmall":"_74Pnksea","tablet-marginBottom--small":"uog2aCjN","tablet-marginBottom--medium":"_3CRKF1bT","tablet-marginBottom--large":"_2UcDJ3zL","tablet-marginBottom--xlarge":"_2CQf_8Ja","tablet-marginBottom--xxlarge":"_1Fn_mX7r","desktop-marginBottom-xsmall":"cMZteGSP","desktop-marginBottom-small":"_302YRk_s","desktop-marginBottom-medium":"a5SLhA8h","desktop-marginBottom-large":"_1jJYFMpE","desktop-marginBottom-xlarge":"_2VH0jzpO","desktop-marginBottom-xxlarge":"_34W1FCkE","desktop-marginBottom--xsmall":"_3TO6-rpf","desktop-marginBottom--small":"_1njTBEO5","desktop-marginBottom--medium":"_3O8NQb9I","desktop-marginBottom--large":"tPTZYgH3","desktop-marginBottom--xlarge":"_2yeb-Y-8","desktop-marginBottom--xxlarge":"_3jKh5ffF","marginLeft-xsmall":"_3D5GWbXE","marginLeft-small":"_3iypvYrg","marginLeft-medium":"_1YlqwPym","marginLeft-large":"_22o1sovn","marginLeft-xlarge":"_1MLXh3lW","marginLeft-xxlarge":"_2lwkfQiH","marginLeft--xsmall":"_14YCoxft","marginLeft--small":"ewcnIPqd","marginLeft--medium":"_2g1OVDe8","marginLeft--large":"_2ddA4m0W","marginLeft--xlarge":"_1GZwUWJN","marginLeft--xxlarge":"_31-qNiMv","tablet-marginLeft-xsmall":"_3BKnNzUJ","tablet-marginLeft-small":"_38oD_Jwb","tablet-marginLeft-medium":"_16zyVxt4","tablet-marginLeft-large":"_3gFPvRUF","tablet-marginLeft-xlarge":"_2e_oL8V0","tablet-marginLeft-xxlarge":"Y5R1Zk3t","tablet-marginLeft--xsmall":"_2Z7o0xJV","tablet-marginLeft--small":"_2IAsx91P","tablet-marginLeft--medium":"_1prIBzP1","tablet-marginLeft--large":"yBuaqMBN","tablet-marginLeft--xlarge":"_2gj-03xG","tablet-marginLeft--xxlarge":"_1tpj1o6k","desktop-marginLeft-xsmall":"Qr1HV5zM","desktop-marginLeft-small":"WJax_2dc","desktop-marginLeft-medium":"_281azCe0","desktop-marginLeft-large":"_2kTX0YwB","desktop-marginLeft-xlarge":"EQX8jGWW","desktop-marginLeft-xxlarge":"_94dEeX2M","desktop-marginLeft--xsmall":"_3Ps_CZcp","desktop-marginLeft--small":"_2h2uHZkI","desktop-marginLeft--medium":"ccCTloTg","desktop-marginLeft--large":"_16UyxR0i","desktop-marginLeft--xlarge":"_1ONy15Is","desktop-marginLeft--xxlarge":"OfjFZfgK"},module.exports=exports},1127:function(module,exports,__webpack_require__){var content=__webpack_require__(1128);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1128:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,":root {\n /*\n * breakpoints\n *\n * Unfortunately CSS custom properties are not available in media queries. So these are not\n * being used right now (although all uses of the hardcoded value are annotated with the names.\n *\n * We could manage these as pre-processor variables, but that would leave the question about how\n * is going to be possible to customize these values from consumer apps.\n *\n * See https://stackoverflow.com/q/40722882/621809\n * Possible solution: https://www.npmjs.com/package/postcss-media-variables\n */\n --reactist-breakpoint-tablet: 768px;\n --reactist-breakpoint-desktop: 992px;\n /* spacing sizes */\n --reactist-spacing-xsmall: 4px;\n --reactist-spacing-small: 8px;\n --reactist-spacing-medium: 12px;\n --reactist-spacing-large: 16px;\n --reactist-spacing-xlarge: 24px;\n --reactist-spacing-xxlarge: 32px;\n /* font sizes */\n --reactist-font-size-caption: 12px;\n --reactist-font-size-copy: 13px;\n --reactist-font-size-body: 14px;\n --reactist-font-size-subtitle: 16px;\n --reactist-font-size-header: 20px;\n --reactist-font-size-header-large: 24px;\n --reactist-font-size-header-xlarge: 32px;\n /* font weight */\n --reactist-font-weight-regular: 400;\n --reactist-font-weight-medium: 500;\n --reactist-font-weight-strong: 700;\n /* border and separator colors */\n --reactist-framework-separator: #e6e6e6;\n --reactist-framework-border: #d6d6d6;\n --reactist-framework-border-focus: rgba(0, 0, 0, 0.4);\n --reactist-framework-border-alpha: rgba(0, 0, 0, 0.15);\n /* border-radius */\n --reactist-border-radius-small: 5px;\n --reactist-border-radius-large: 10px;\n /* background color */\n --reactist-bg-default: #ffffff;\n --reactist-bg-brand: #d1453b;\n --reactist-bg-aside: #fafafa;\n --reactist-bg-highlight: #f2f2f2;\n --reactist-bg-selected: #e6e6e6;\n /* colors */\n --reactist-framework-fill-accent: #e0edff;\n --reactist-framework-fill-aside: #fafafa;\n --reactist-framework-fill-background: #fafafa;\n --reactist-framework-fill-base: #ffffff;\n --reactist-framework-fill-crater: #f2f2f2;\n --reactist-framework-fill-crest: #e6e6e6;\n --reactist-framework-fill-elevated: #ffffff;\n --reactist-framework-fill-selected: #ececec;\n --reactist-framework-fill-highlight: #f2f2f2;\n --reactist-framework-fill-ledge: #e0e0e0;\n --reactist-framework-fill-peak: #3d3d3d;\n --reactist-framework-fill-pinnacle: #ebebeb;\n --reactist-framework-fill-ridge: #f2f2f2;\n --reactist-framework-fill-summit: #d6d6d6;\n --reactist-content-primary: rgba(0, 0, 0, 0.88);\n --reactist-content-secondary: rgba(0, 0, 0, 0.56);\n --reactist-content-tertiary: rgba(0, 0, 0, 0.4);\n --reactist-content-quaternary: rgba(0, 0, 0, 0.24);\n --reactist-content-light-on-dark: #ffffff;\n --reactist-chromatic-fill-red: #d1453b;\n --reactist-chromatic-fill-orange: #eb8d13;\n --reactist-chromatic-fill-green: #058527;\n --reactist-chromatic-fill-teal: #007e9e;\n --reactist-chromatic-fill-blue: #246fe0;\n --reactist-chromatic-fill-purple: #692fc2;\n --reactist-chromatic-fill-charcoal: #525252;\n --reactist-chromatic-fill-grey: #808080;\n --reactist-chromatic-fill-midnight: #4c5b70;\n --reactist-chromatic-content-red: #d1453b;\n --reactist-chromatic-content-orange: #eb8d13;\n --reactist-chromatic-content-green: #058527;\n --reactist-chromatic-content-green-background: rgba(5, 133, 39, 0.05);\n --reactist-chromatic-content-green-background-highlight: rgba(5, 133, 39, 0.1);\n --reactist-chromatic-content-teal: #007e9e;\n --reactist-chromatic-content-blue: #246fe0;\n --reactist-chromatic-content-purple: #692fc2;\n --reactist-chromatic-content-charcoal: #525252;\n --reactist-chromatic-content-grey: #808080;\n --reactist-chromatic-highlight-blue: #585d64;\n --reactist-chromatic-highlight-green: #d8ebdd;\n --reactist-chromatic-highlight-red: #fcf2f2;\n /* component-specific */\n --reactist-switch-checked: var(--reactist-chromatic-content-green);\n /* alerts */\n --reactist-alert-tone-info-icon: #1d438c;\n --reactist-alert-tone-info-border: var(--reactist-chromatic-content-blue);\n --reactist-alert-tone-info-background: rgba(36, 111, 224, 0.1);\n --reactist-alert-tone-positive-icon: #035017;\n --reactist-alert-tone-positive-border: var(--reactist-chromatic-content-green);\n --reactist-alert-tone-positive-background: rgba(5, 133, 39, 0.1);\n --reactist-alert-tone-caution-icon: #5e3704;\n --reactist-alert-tone-caution-border: var(--reactist-chromatic-content-orange);\n --reactist-alert-tone-caution-background: rgba(235, 141, 19, 0.2);\n --reactist-alert-tone-critical-icon: #b03d32;\n --reactist-alert-tone-critical-border: var(--reactist-chromatic-content-red);\n --reactist-alert-tone-critical-background: rgba(209, 69, 59, 0.1);\n}\n","",{version:3,sources:["webpack://src/new-components/default-styles.less"],names:[],mappings:"AAAA;EACE;;;;;;;;;;;MAWI;EACF,mCAAA;EACA,oCAAA;EACF,kBAAkB;EAEhB,8BAAA;EACA,6BAAA;EACA,+BAAA;EACA,8BAAA;EACA,+BAAA;EACA,gCAAA;EAAF,eAAe;EAGb,kCAAA;EACA,+BAAA;EACA,+BAAA;EACA,mCAAA;EACA,iCAAA;EACA,uCAAA;EACA,wCAAA;EADF,gBAAgB;EAId,mCAAA;EACA,kCAAA;EACA,kCAAA;EAFF,gCAAgC;EAK9B,uCAAA;EACA,oCAAA;EACA,qDAAA;EACA,sDAAA;EAHF,kBAAkB;EAMhB,mCAAA;EACA,oCAAA;EAJF,qBAAqB;EAOnB,8BAAA;EACA,4BAAA;EACA,4BAAA;EACA,gCAAA;EACA,+BAAA;EALF,WAAW;EAQT,yCAAA;EACA,wCAAA;EACA,6CAAA;EACA,uCAAA;EACA,yCAAA;EACA,wCAAA;EACA,2CAAA;EACA,2CAAA;EACA,4CAAA;EACA,wCAAA;EACA,uCAAA;EACA,2CAAA;EACA,wCAAA;EACA,yCAAA;EAEA,+CAAA;EACA,iDAAA;EACA,+CAAA;EACA,kDAAA;EACA,yCAAA;EAEA,sCAAA;EACA,yCAAA;EACA,wCAAA;EACA,uCAAA;EACA,uCAAA;EACA,yCAAA;EACA,2CAAA;EACA,uCAAA;EACA,2CAAA;EAEA,yCAAA;EACA,4CAAA;EACA,2CAAA;EACA,qEAAA;EACA,8EAAA;EACA,0CAAA;EACA,0CAAA;EACA,4CAAA;EACA,8CAAA;EACA,0CAAA;EAEA,4CAAA;EACA,6CAAA;EACA,2CAAA;EAVF,uBAAuB;EAarB,kEAAA;EAXF,WAAW;EAcT,wCAAA;EACA,yEAAA;EACA,8DAAA;EAEA,4CAAA;EACA,8EAAA;EACA,gEAAA;EAEA,2CAAA;EACA,8EAAA;EACA,iEAAA;EAEA,4CAAA;EACA,4EAAA;EACA,iEAAA;AAfJ",sourcesContent:[":root {\n /*\n * breakpoints\n *\n * Unfortunately CSS custom properties are not available in media queries. So these are not\n * being used right now (although all uses of the hardcoded value are annotated with the names.\n *\n * We could manage these as pre-processor variables, but that would leave the question about how\n * is going to be possible to customize these values from consumer apps.\n *\n * See https://stackoverflow.com/q/40722882/621809\n * Possible solution: https://www.npmjs.com/package/postcss-media-variables\n */\n --reactist-breakpoint-tablet: 768px;\n --reactist-breakpoint-desktop: 992px;\n\n /* spacing sizes */\n --reactist-spacing-xsmall: 4px;\n --reactist-spacing-small: 8px;\n --reactist-spacing-medium: 12px;\n --reactist-spacing-large: 16px;\n --reactist-spacing-xlarge: 24px;\n --reactist-spacing-xxlarge: 32px;\n\n /* font sizes */\n --reactist-font-size-caption: 12px;\n --reactist-font-size-copy: 13px;\n --reactist-font-size-body: 14px;\n --reactist-font-size-subtitle: 16px;\n --reactist-font-size-header: 20px;\n --reactist-font-size-header-large: 24px;\n --reactist-font-size-header-xlarge: 32px;\n\n /* font weight */\n --reactist-font-weight-regular: 400;\n --reactist-font-weight-medium: 500;\n --reactist-font-weight-strong: 700;\n\n /* border and separator colors */\n --reactist-framework-separator: rgb(230, 230, 230);\n --reactist-framework-border: rgb(214, 214, 214);\n --reactist-framework-border-focus: rgba(0, 0, 0, 0.4);\n --reactist-framework-border-alpha: rgba(0, 0, 0, 0.15);\n\n /* border-radius */\n --reactist-border-radius-small: 5px;\n --reactist-border-radius-large: 10px;\n\n /* background color */\n --reactist-bg-default: rgb(255, 255, 255);\n --reactist-bg-brand: rgb(209, 69, 59);\n --reactist-bg-aside: rgb(250, 250, 250);\n --reactist-bg-highlight: rgb(242, 242, 242);\n --reactist-bg-selected: rgb(230, 230, 230);\n\n /* colors */\n --reactist-framework-fill-accent: rgb(224, 237, 255);\n --reactist-framework-fill-aside: rgb(250, 250, 250);\n --reactist-framework-fill-background: rgb(250, 250, 250);\n --reactist-framework-fill-base: rgb(255, 255, 255);\n --reactist-framework-fill-crater: rgb(242, 242, 242);\n --reactist-framework-fill-crest: rgb(230, 230, 230);\n --reactist-framework-fill-elevated: rgb(255, 255, 255);\n --reactist-framework-fill-selected: rgb(236, 236, 236);\n --reactist-framework-fill-highlight: rgb(242, 242, 242);\n --reactist-framework-fill-ledge: rgb(224, 224, 224);\n --reactist-framework-fill-peak: rgb(61, 61, 61);\n --reactist-framework-fill-pinnacle: rgb(235, 235, 235);\n --reactist-framework-fill-ridge: rgb(242, 242, 242);\n --reactist-framework-fill-summit: rgb(214, 214, 214);\n\n --reactist-content-primary: rgba(0, 0, 0, 0.88);\n --reactist-content-secondary: rgba(0, 0, 0, 0.56);\n --reactist-content-tertiary: rgba(0, 0, 0, 0.4);\n --reactist-content-quaternary: rgba(0, 0, 0, 0.24);\n --reactist-content-light-on-dark: rgb(255, 255, 255);\n\n --reactist-chromatic-fill-red: rgb(209, 69, 59);\n --reactist-chromatic-fill-orange: rgb(235, 141, 19);\n --reactist-chromatic-fill-green: rgb(5, 133, 39);\n --reactist-chromatic-fill-teal: rgb(0, 126, 158);\n --reactist-chromatic-fill-blue: rgb(36, 111, 224);\n --reactist-chromatic-fill-purple: rgb(105, 47, 194);\n --reactist-chromatic-fill-charcoal: rgb(82, 82, 82);\n --reactist-chromatic-fill-grey: rgb(128, 128, 128);\n --reactist-chromatic-fill-midnight: rgb(76, 91, 112);\n\n --reactist-chromatic-content-red: rgb(209, 69, 59);\n --reactist-chromatic-content-orange: rgb(235, 141, 19);\n --reactist-chromatic-content-green: rgb(5, 133, 39);\n --reactist-chromatic-content-green-background: rgba(5, 133, 39, 0.05);\n --reactist-chromatic-content-green-background-highlight: rgba(5, 133, 39, 0.1);\n --reactist-chromatic-content-teal: rgb(0, 126, 158);\n --reactist-chromatic-content-blue: rgb(36, 111, 224);\n --reactist-chromatic-content-purple: rgb(105, 47, 194);\n --reactist-chromatic-content-charcoal: rgb(82, 82, 82);\n --reactist-chromatic-content-grey: rgb(128, 128, 128);\n\n --reactist-chromatic-highlight-blue: rgb(88, 93, 100);\n --reactist-chromatic-highlight-green: rgb(216, 235, 221);\n --reactist-chromatic-highlight-red: rgb(252, 242, 242);\n\n /* component-specific */\n --reactist-switch-checked: var(--reactist-chromatic-content-green);\n\n /* alerts */\n --reactist-alert-tone-info-icon: #1d438c;\n --reactist-alert-tone-info-border: var(--reactist-chromatic-content-blue);\n --reactist-alert-tone-info-background: rgba(36, 111, 224, 0.1);\n\n --reactist-alert-tone-positive-icon: #035017;\n --reactist-alert-tone-positive-border: var(--reactist-chromatic-content-green);\n --reactist-alert-tone-positive-background: rgba(5, 133, 39, 0.1);\n\n --reactist-alert-tone-caution-icon: #5e3704;\n --reactist-alert-tone-caution-border: var(--reactist-chromatic-content-orange);\n --reactist-alert-tone-caution-background: rgba(235, 141, 19, 0.2);\n\n --reactist-alert-tone-critical-icon: #b03d32;\n --reactist-alert-tone-critical-border: var(--reactist-chromatic-content-red);\n --reactist-alert-tone-critical-background: rgba(209, 69, 59, 0.1);\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1129:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._3b1oRRUM>:not(:first-child){margin-top:var(--reactist-spacing-xsmall)}.mbc3LUo1>:not(:first-child){margin-top:var(--reactist-spacing-small)}.TErpU7nP>:not(:first-child){margin-top:var(--reactist-spacing-medium)}._19PQeR--\x3e:not(:first-child){margin-top:var(--reactist-spacing-large)}._3BKTI-j7>:not(:first-child){margin-top:var(--reactist-spacing-xlarge)}._1QQfSO-y>:not(:first-child){margin-top:var(--reactist-spacing-xxlarge)}@media (min-width:768px){.rQVejOPW>:not(:first-child){margin-top:var(--reactist-spacing-xsmall)}.eCh5FkgK>:not(:first-child){margin-top:var(--reactist-spacing-small)}._29GNHdPc>:not(:first-child){margin-top:var(--reactist-spacing-medium)}._1sChkByM>:not(:first-child){margin-top:var(--reactist-spacing-large)}._2KfFWNg1>:not(:first-child){margin-top:var(--reactist-spacing-xlarge)}._3kgDZO8U>:not(:first-child){margin-top:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3SK4ZSq7>:not(:first-child){margin-top:var(--reactist-spacing-xsmall)}.L2TBoAaZ>:not(:first-child){margin-top:var(--reactist-spacing-small)}.qG_1ntRy>:not(:first-child){margin-top:var(--reactist-spacing-medium)}._2j6trIBI>:not(:first-child){margin-top:var(--reactist-spacing-large)}._12-ygMAC>:not(:first-child){margin-top:var(--reactist-spacing-xlarge)}._1YzVvjNw>:not(:first-child){margin-top:var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"space-xsmall":"_3b1oRRUM","space-small":"mbc3LUo1","space-medium":"TErpU7nP","space-large":"_19PQeR--","space-xlarge":"_3BKTI-j7","space-xxlarge":"_1QQfSO-y","tablet-space-xsmall":"rQVejOPW","tablet-space-small":"eCh5FkgK","tablet-space-medium":"_29GNHdPc","tablet-space-large":"_1sChkByM","tablet-space-xlarge":"_2KfFWNg1","tablet-space-xxlarge":"_3kgDZO8U","desktop-space-xsmall":"_3SK4ZSq7","desktop-space-small":"L2TBoAaZ","desktop-space-medium":"qG_1ntRy","desktop-space-large":"_2j6trIBI","desktop-space-xlarge":"_12-ygMAC","desktop-space-xxlarge":"_1YzVvjNw"},module.exports=exports},1130:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._3Rf-23qb{border:none;border-bottom:1px solid var(--reactist-framework-separator)}._1Jue_n_H{border-color:var(--reactist-framework-border-focus)}",""]),exports.locals={divider:"_3Rf-23qb","weight-strong":"_1Jue_n_H"},module.exports=exports},1132:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,".eMdJaLwo{color:var(--reactist-content-primary);font-weight:var(--reactist-font-weight-strong)}._3iAwnzzO{font-weight:var(--reactist-font-weight-regular)}._3p8-J0VZ{color:var(--reactist-content-secondary)}._1Qasvyzb{color:var(--reactist-chromatic-content-red)}h1.eMdJaLwo{font-size:var(--reactist-font-size-header)}h1._1-yjZY8K{font-size:var(--reactist-font-size-header-xlarge)}h1._3M5sPjXF{font-size:var(--reactist-font-size-header-large)}h1._1_j4Pm2D,h2.eMdJaLwo{font-size:var(--reactist-font-size-subtitle)}h2._1-yjZY8K{font-size:var(--reactist-font-size-header-large)}h2._3M5sPjXF{font-size:var(--reactist-font-size-header)}h2._1_j4Pm2D,h3.eMdJaLwo{font-size:var(--reactist-font-size-body)}h3._1-yjZY8K{font-size:var(--reactist-font-size-header)}h3._3M5sPjXF{font-size:var(--reactist-font-size-subtitle)}h3._1_j4Pm2D{font-size:var(--reactist-font-size-caption)}h4.eMdJaLwo,h5.eMdJaLwo,h6.eMdJaLwo{font-size:var(--reactist-font-size-body)}h4._1-yjZY8K,h5._1-yjZY8K,h6._1-yjZY8K{font-size:var(--reactist-font-size-header)}h4._3M5sPjXF,h5._3M5sPjXF,h6._3M5sPjXF{font-size:var(--reactist-font-size-subtitle)}._1Uy0Yp-U{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}._2yqCSry4{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}._1UgXSTeE{-webkit-line-clamp:2}._1njU6r08{-webkit-line-clamp:3}._2wNi7jvQ{-webkit-line-clamp:4}._2wo2NW21{-webkit-line-clamp:5}",""]),exports.locals={heading:"eMdJaLwo","weight-light":"_3iAwnzzO","tone-secondary":"_3p8-J0VZ","tone-danger":"_1Qasvyzb","size-largest":"_1-yjZY8K","size-larger":"_3M5sPjXF","size-smaller":"_1_j4Pm2D","line-clamp-1":"_1Uy0Yp-U",lineClamp:"_2yqCSry4","line-clamp-2":"_1UgXSTeE","line-clamp-3":"_1njU6r08","line-clamp-4":"_2wNi7jvQ","line-clamp-5":"_2wo2NW21"},module.exports=exports},1133:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._3Eg84Gxm{font-size:var(--reactist-font-size-body);font-weight:var(--reactist-font-weight-regular);color:var(--reactist-content-primary)}._2vPa3hY9{font-size:var(--reactist-font-size-caption)}.KNXgq0Xg{font-size:var(--reactist-font-size-copy)}._2n06t_D7{font-size:var(--reactist-font-size-body)}._3VDhACkJ{font-size:var(--reactist-font-size-subtitle)}._2zYtK3m_{font-weight:var(--reactist-font-weight-medium)}.ol0zG77d{font-weight:var(--reactist-font-weight-strong)}.zPORrfzj{color:var(--reactist-content-secondary)}._2lgSOyOF{color:var(--reactist-chromatic-content-red)}._16YsJq7Y{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.FfDzE8ee{display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden}._1_gxWVG9{-webkit-line-clamp:2}._3QzI87wT{-webkit-line-clamp:3}._2tMJfik8{-webkit-line-clamp:4}._3LyjhixI{-webkit-line-clamp:5}",""]),exports.locals={text:"_3Eg84Gxm","size-caption":"_2vPa3hY9","size-copy":"KNXgq0Xg","size-body":"_2n06t_D7","size-subtitle":"_3VDhACkJ","weight-semibold":"_2zYtK3m_","weight-bold":"ol0zG77d","tone-secondary":"zPORrfzj","tone-danger":"_2lgSOyOF","line-clamp-1":"_16YsJq7Y",lineClamp:"FfDzE8ee","line-clamp-2":"_1_gxWVG9","line-clamp-3":"_3QzI87wT","line-clamp-4":"_2tMJfik8","line-clamp-5":"_3LyjhixI"},module.exports=exports},1134:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._3PBgCLuk{margin:calc(var(--reactist-spacing-xsmall)*-1) 0 0 calc(var(--reactist-spacing-xsmall)*-1)}._3PBgCLuk>*{margin:var(--reactist-spacing-xsmall) 0 0 var(--reactist-spacing-xsmall)}._1EQqWgsX{margin:calc(var(--reactist-spacing-small)*-1) 0 0 calc(var(--reactist-spacing-small)*-1)}._1EQqWgsX>*{margin:var(--reactist-spacing-small) 0 0 var(--reactist-spacing-small)}._12U1xEUI{margin:calc(var(--reactist-spacing-medium)*-1) 0 0 calc(var(--reactist-spacing-medium)*-1)}._12U1xEUI>*{margin:var(--reactist-spacing-medium) 0 0 var(--reactist-spacing-medium)}._3Vq15WCN{margin:calc(var(--reactist-spacing-large)*-1) 0 0 calc(var(--reactist-spacing-large)*-1)}._3Vq15WCN>*{margin:var(--reactist-spacing-large) 0 0 var(--reactist-spacing-large)}._1qMcBSA4{margin:calc(var(--reactist-spacing-xlarge)*-1) 0 0 calc(var(--reactist-spacing-xlarge)*-1)}._1qMcBSA4>*{margin:var(--reactist-spacing-xlarge) 0 0 var(--reactist-spacing-xlarge)}._2Ya091P2{margin:calc(var(--reactist-spacing-xxlarge)*-1) 0 0 calc(var(--reactist-spacing-xxlarge)*-1)}._2Ya091P2>*{margin:var(--reactist-spacing-xxlarge) 0 0 var(--reactist-spacing-xxlarge)}@media (min-width:768px){._3BnTN3GQ{margin:calc(var(--reactist-spacing-xsmall)*-1) 0 0 calc(var(--reactist-spacing-xsmall)*-1)}._3BnTN3GQ>*{margin:var(--reactist-spacing-xsmall) 0 0 var(--reactist-spacing-xsmall)}._2md5L24y{margin:calc(var(--reactist-spacing-small)*-1) 0 0 calc(var(--reactist-spacing-small)*-1)}._2md5L24y>*{margin:var(--reactist-spacing-small) 0 0 var(--reactist-spacing-small)}._3ysAA2oN{margin:calc(var(--reactist-spacing-medium)*-1) 0 0 calc(var(--reactist-spacing-medium)*-1)}._3ysAA2oN>*{margin:var(--reactist-spacing-medium) 0 0 var(--reactist-spacing-medium)}._2KoqN92B{margin:calc(var(--reactist-spacing-large)*-1) 0 0 calc(var(--reactist-spacing-large)*-1)}._2KoqN92B>*{margin:var(--reactist-spacing-large) 0 0 var(--reactist-spacing-large)}._2nHdneYv{margin:calc(var(--reactist-spacing-xlarge)*-1) 0 0 calc(var(--reactist-spacing-xlarge)*-1)}._2nHdneYv>*{margin:var(--reactist-spacing-xlarge) 0 0 var(--reactist-spacing-xlarge)}.BI8mwh9K{margin:calc(var(--reactist-spacing-xxlarge)*-1) 0 0 calc(var(--reactist-spacing-xxlarge)*-1)}.BI8mwh9K>*{margin:var(--reactist-spacing-xxlarge) 0 0 var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._3xos_1Ec{margin:calc(var(--reactist-spacing-xsmall)*-1) 0 0 calc(var(--reactist-spacing-xsmall)*-1)}._3xos_1Ec>*{margin:var(--reactist-spacing-xsmall) 0 0 var(--reactist-spacing-xsmall)}._1ZYtlaQe{margin:calc(var(--reactist-spacing-small)*-1) 0 0 calc(var(--reactist-spacing-small)*-1)}._1ZYtlaQe>*{margin:var(--reactist-spacing-small) 0 0 var(--reactist-spacing-small)}.YdLlurS5{margin:calc(var(--reactist-spacing-medium)*-1) 0 0 calc(var(--reactist-spacing-medium)*-1)}.YdLlurS5>*{margin:var(--reactist-spacing-medium) 0 0 var(--reactist-spacing-medium)}.yxsHB9YW{margin:calc(var(--reactist-spacing-large)*-1) 0 0 calc(var(--reactist-spacing-large)*-1)}.yxsHB9YW>*{margin:var(--reactist-spacing-large) 0 0 var(--reactist-spacing-large)}.SFaqC2zl{margin:calc(var(--reactist-spacing-xlarge)*-1) 0 0 calc(var(--reactist-spacing-xlarge)*-1)}.SFaqC2zl>*{margin:var(--reactist-spacing-xlarge) 0 0 var(--reactist-spacing-xlarge)}._2IDfe2UJ{margin:calc(var(--reactist-spacing-xxlarge)*-1) 0 0 calc(var(--reactist-spacing-xxlarge)*-1)}._2IDfe2UJ>*{margin:var(--reactist-spacing-xxlarge) 0 0 var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"space-xsmall":"_3PBgCLuk","space-small":"_1EQqWgsX","space-medium":"_12U1xEUI","space-large":"_3Vq15WCN","space-xlarge":"_1qMcBSA4","space-xxlarge":"_2Ya091P2","tablet-space-xsmall":"_3BnTN3GQ","tablet-space-small":"_2md5L24y","tablet-space-medium":"_3ysAA2oN","tablet-space-large":"_2KoqN92B","tablet-space-xlarge":"_2nHdneYv","tablet-space-xxlarge":"BI8mwh9K","desktop-space-xsmall":"_3xos_1Ec","desktop-space-small":"_1ZYtlaQe","desktop-space-medium":"YdLlurS5","desktop-space-large":"yxsHB9YW","desktop-space-xlarge":"SFaqC2zl","desktop-space-xxlarge":"_2IDfe2UJ"},module.exports=exports},1135:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._1bQVLu_c,._1bQVLu_c *{cursor:pointer}._1bQVLu_c.SK3Nm9ZP,._1bQVLu_c.SK3Nm9ZP *{cursor:not-allowed}._1bQVLu_c.SK3Nm9ZP{opacity:.5}._1bQVLu_c svg{color:var(--reactist-content-secondary);border-radius:5px}._1bQVLu_c._2Lq39YAM svg{color:var(--reactist-switch-checked)}",""]),exports.locals={container:"_1bQVLu_c",disabled:"SK3Nm9ZP",checked:"_2Lq39YAM"},module.exports=exports},1136:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._1XTE1OGJ{width:1px;height:1px;clip:rect(1px,1px,1px,1px);white-space:nowrap}",""]),exports.locals={hiddenVisually:"_1XTE1OGJ"},module.exports=exports},1137:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"AlignmentStory",(function(){return AlignmentStory})),__webpack_require__.d(__webpack_exports__,"WidthsStory",(function(){return WidthsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"FlexChildStory",(function(){return FlexChildStory})),__webpack_require__.d(__webpack_exports__,"NestedColumnsStory",(function(){return NestedColumnsStory}));__webpack_require__(20),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(3),_stack__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(40),_box__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(60),_columns__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(11);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i) {\n return (\n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},AlignmentStory.parameters),WidthsStory.parameters=_objectSpread({storySource:{source:'function WidthsStory({ space }: PartialProps) {\n return (\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n )\n}'}},WidthsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:"function ResponsiveStory(args: PartialProps) {\n return (\n <>\n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n \n )\n}"}},ResponsiveStory.parameters),FlexChildStory.parameters=_objectSpread({storySource:{source:'function FlexChildStory(args: PartialProps) {\n return (\n \n \n \n \n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n \n )\n}'}},FlexChildStory.parameters),NestedColumnsStory.parameters=_objectSpread({storySource:{source:'function NestedColumnsStory(args: PartialProps) {\n return (\n \n \n \n \n \n\n \n \n {times(5).map((i) => (\n \n \n \n ))}\n \n \n\n \n \n \n \n \n )\n}'}},NestedColumnsStory.parameters);try{AlignmentStory.displayName="AlignmentStory",AlignmentStory.__docgenInfo={description:"",displayName:"AlignmentStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#AlignmentStory"]={docgenInfo:AlignmentStory.__docgenInfo,name:"AlignmentStory",path:"src/new-components/columns/columns.stories.tsx#AlignmentStory"})}catch(__react_docgen_typescript_loader_error){}try{WidthsStory.displayName="WidthsStory",WidthsStory.__docgenInfo={description:"",displayName:"WidthsStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#WidthsStory"]={docgenInfo:WidthsStory.__docgenInfo,name:"WidthsStory",path:"src/new-components/columns/columns.stories.tsx#WidthsStory"})}catch(__react_docgen_typescript_loader_error){}try{ResponsiveStory.displayName="ResponsiveStory",ResponsiveStory.__docgenInfo={description:"",displayName:"ResponsiveStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#ResponsiveStory"]={docgenInfo:ResponsiveStory.__docgenInfo,name:"ResponsiveStory",path:"src/new-components/columns/columns.stories.tsx#ResponsiveStory"})}catch(__react_docgen_typescript_loader_error){}try{FlexChildStory.displayName="FlexChildStory",FlexChildStory.__docgenInfo={description:"",displayName:"FlexChildStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#FlexChildStory"]={docgenInfo:FlexChildStory.__docgenInfo,name:"FlexChildStory",path:"src/new-components/columns/columns.stories.tsx#FlexChildStory"})}catch(__react_docgen_typescript_loader_error){}try{NestedColumnsStory.displayName="NestedColumnsStory",NestedColumnsStory.__docgenInfo={description:"",displayName:"NestedColumnsStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | "baseline" | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment] | readonly [ColumnsVerticalAlignment, ColumnsVerticalAlignment, ColumnsVerticalAlignment] | Readonly<...> | undefined'}},collapseBelow:{defaultValue:null,description:"",name:"collapseBelow",required:!1,type:{name:'"mobile" | "tablet" | "desktop" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/columns/columns.stories.tsx#NestedColumnsStory"]={docgenInfo:NestedColumnsStory.__docgenInfo,name:"NestedColumnsStory",path:"src/new-components/columns/columns.stories.tsx#NestedColumnsStory"})}catch(__react_docgen_typescript_loader_error){}},1138:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._2L5zGsYJ{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._2L5zGsYJ>._3QBzbLDq{padding-left:var(--reactist-spacing-xsmall)}.SPcToWBT{margin-left:calc(var(--reactist-spacing-small)*-1)}.SPcToWBT>._3QBzbLDq{padding-left:var(--reactist-spacing-small)}._34KmL1aL{margin-left:calc(var(--reactist-spacing-medium)*-1)}._34KmL1aL>._3QBzbLDq{padding-left:var(--reactist-spacing-medium)}._3-IO4Ua9{margin-left:calc(var(--reactist-spacing-large)*-1)}._3-IO4Ua9>._3QBzbLDq{padding-left:var(--reactist-spacing-large)}._3c3sKQuS{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._3c3sKQuS>._3QBzbLDq{padding-left:var(--reactist-spacing-xlarge)}._1LF97wKT{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}._1LF97wKT>._3QBzbLDq{padding-left:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1geI5sQZ{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}._1geI5sQZ>._3QBzbLDq{padding-left:var(--reactist-spacing-xsmall)}._2x39uRmC{margin-left:calc(var(--reactist-spacing-small)*-1)}._2x39uRmC>._3QBzbLDq{padding-left:var(--reactist-spacing-small)}._1wj9bZXt{margin-left:calc(var(--reactist-spacing-medium)*-1)}._1wj9bZXt>._3QBzbLDq{padding-left:var(--reactist-spacing-medium)}._2xPtCUIx{margin-left:calc(var(--reactist-spacing-large)*-1)}._2xPtCUIx>._3QBzbLDq{padding-left:var(--reactist-spacing-large)}.hV0FeHTP{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}.hV0FeHTP>._3QBzbLDq{padding-left:var(--reactist-spacing-xlarge)}._2tXjCbOw{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}._2tXjCbOw>._3QBzbLDq{padding-left:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._264WtIQZ{margin-left:calc(var(--reactist-spacing-xsmall)*-1)}.hq9g6RX7>._3QBzbLDq{padding-left:var(--reactist-spacing-xsmall)}.hq9g6RX7{margin-left:calc(var(--reactist-spacing-small)*-1)}.hq9g6RX7>._3QBzbLDq{padding-left:var(--reactist-spacing-small)}.Qqka4eXS{margin-left:calc(var(--reactist-spacing-medium)*-1)}.Qqka4eXS>._3QBzbLDq{padding-left:var(--reactist-spacing-medium)}._1dQPZ4Mc{margin-left:calc(var(--reactist-spacing-large)*-1)}._1dQPZ4Mc>._3QBzbLDq{padding-left:var(--reactist-spacing-large)}._1DozdJT1{margin-left:calc(var(--reactist-spacing-xlarge)*-1)}._1DozdJT1>._3QBzbLDq{padding-left:var(--reactist-spacing-xlarge)}._2vjJqslP{margin-left:calc(var(--reactist-spacing-xxlarge)*-1)}._2vjJqslP>._3QBzbLDq{padding-left:var(--reactist-spacing-xxlarge)}}.bfhlTd94{width:100%}._1CFc-5RN{flex:0 0 50%}._3xfjmaWI{flex:0 0 33.33333%}._2VQkmkcm{flex:0 0 66.66667%}._1FULVP2z{flex:0 0 25%}._3cdnxheZ{flex:0 0 75%}._3jkZjr5Y{flex:0 0 20%}._25dhGRvr{flex:0 0 40%}._2lN2kQ8T{flex:0 0 60%}._365V5wtc{flex:0 0 80%}._2L5zGsYJ{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._2L5zGsYJ>*{margin-top:var(--reactist-spacing-xsmall)}.SPcToWBT{margin-top:calc(var(--reactist-spacing-small)*-1)}.SPcToWBT>*{margin-top:var(--reactist-spacing-small)}._34KmL1aL{margin-top:calc(var(--reactist-spacing-medium)*-1)}._34KmL1aL>*{margin-top:var(--reactist-spacing-medium)}._3-IO4Ua9{margin-top:calc(var(--reactist-spacing-large)*-1)}._3-IO4Ua9>*{margin-top:var(--reactist-spacing-large)}._3c3sKQuS{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._3c3sKQuS>*{margin-top:var(--reactist-spacing-xlarge)}._1LF97wKT{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}._1LF97wKT>*{margin-top:var(--reactist-spacing-xxlarge)}@media (min-width:768px){._1geI5sQZ{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._3BzLxo2T>*{margin-top:var(--reactist-spacing-xsmall)}._2x39uRmC{margin-top:calc(var(--reactist-spacing-small)*-1)}._2x39uRmC>*{margin-top:var(--reactist-spacing-small)}._1wj9bZXt{margin-top:calc(var(--reactist-spacing-medium)*-1)}._1wj9bZXt>*{margin-top:var(--reactist-spacing-medium)}._2xPtCUIx{margin-top:calc(var(--reactist-spacing-large)*-1)}._2xPtCUIx>*{margin-top:var(--reactist-spacing-large)}.hV0FeHTP{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}.hV0FeHTP>*{margin-top:var(--reactist-spacing-xlarge)}._2tXjCbOw{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}._2tXjCbOw>*{margin-top:var(--reactist-spacing-xxlarge)}}@media (min-width:992px){._264WtIQZ{margin-top:calc(var(--reactist-spacing-xsmall)*-1)}._264WtIQZ>*{margin-top:var(--reactist-spacing-xsmall)}.hq9g6RX7{margin-top:calc(var(--reactist-spacing-small)*-1)}.hq9g6RX7>*{margin-top:var(--reactist-spacing-small)}.Qqka4eXS{margin-top:calc(var(--reactist-spacing-medium)*-1)}.Qqka4eXS>*{margin-top:var(--reactist-spacing-medium)}._1dQPZ4Mc{margin-top:calc(var(--reactist-spacing-large)*-1)}._1dQPZ4Mc>*{margin-top:var(--reactist-spacing-large)}._1DozdJT1{margin-top:calc(var(--reactist-spacing-xlarge)*-1)}._1DozdJT1>*{margin-top:var(--reactist-spacing-xlarge)}._2vjJqslP{margin-top:calc(var(--reactist-spacing-xxlarge)*-1)}._2vjJqslP>*{margin-top:var(--reactist-spacing-xxlarge)}}",""]),exports.locals={"space-xsmall":"_2L5zGsYJ",column:"_3QBzbLDq","space-small":"SPcToWBT","space-medium":"_34KmL1aL","space-large":"_3-IO4Ua9","space-xlarge":"_3c3sKQuS","space-xxlarge":"_1LF97wKT","tablet-space-xsmall":"_1geI5sQZ","tablet-space-small":"_2x39uRmC","tablet-space-medium":"_1wj9bZXt","tablet-space-large":"_2xPtCUIx","tablet-space-xlarge":"hV0FeHTP","tablet-space-xxlarge":"_2tXjCbOw","desktop-space-xsmall":"_264WtIQZ","desktop-space-small":"hq9g6RX7","desktop-space-medium":"Qqka4eXS","desktop-space-large":"_1dQPZ4Mc","desktop-space-xlarge":"_1DozdJT1","desktop-space-xxlarge":"_2vjJqslP","columnWidth-auto":"bfhlTd94","columnWidth-1-2":"_1CFc-5RN","columnWidth-1-3":"_3xfjmaWI","columnWidth-2-3":"_2VQkmkcm","columnWidth-1-4":"_1FULVP2z","columnWidth-3-4":"_3cdnxheZ","columnWidth-1-5":"_3jkZjr5Y","columnWidth-2-5":"_25dhGRvr","columnWidth-3-5":"_2lN2kQ8T","columnWidth-4-5":"_365V5wtc","tablet-tablet-space-xsmall":"_3BzLxo2T"},module.exports=exports},1139:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"HeadingStory",(function(){return HeadingStory})),__webpack_require__.d(__webpack_exports__,"TruncatedHeadingStory",(function(){return TruncatedHeadingStory})),__webpack_require__.d(__webpack_exports__,"HeadingPlaygroundStory",(function(){return HeadingPlaygroundStory}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_stack__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(40),_heading__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(44),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/Heading",component:_heading__WEBPACK_IMPORTED_MODULE_12__.a,argTypes:{level:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["1","2","3","4","5","6"],"1"),size:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.i)(["largest","larger","smaller"]),weight:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["regular","light"],"regular"),lineClamp:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)([1,2,3,4,5],1),children:{control:{type:"text"},defaultValue:"Lorem ipsum dolor, sit amet consectetur adipisicing elit"},tone:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["normal","secondary","danger"],"normal")}};var HeadingStory=function HeadingStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{dividers:!0,space:"medium"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"largest"},"Heading level 1, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"larger"},"Heading level 1, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1},"Heading level 1"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"smaller"},"Heading level 1, smaller")),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,size:"largest"},"Heading level 2, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,size:"larger"},"Heading level 2, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2},"Heading level 2"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,size:"smaller"},"Heading level 2, smaller")),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3,size:"largest"},"Heading level 3, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3,size:"larger"},"Heading level 3, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3},"Heading level 3"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:3,size:"smaller"},"Heading level 3, smaller")),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:4,size:"largest"},"Heading level 4 / 5 / 6, largest"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:4,size:"larger"},"Heading level 4 / 5 / 6, larger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:4},"Heading level 4 / 5 / 6"))))};HeadingStory.displayName="HeadingStory",HeadingStory.argTypes={level:{control:!1},size:{control:!1},weight:{control:!1},lineClamp:{control:!1},children:{control:!1},tone:{control:!1}};var TruncatedHeadingStory=function TruncatedHeadingStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:1,size:"largest",lineClamp:1},"This is a long title which we will use demonstrate truncating content. When this overflows and begins to drop to a new line, its overflowing content will be replaced by ellipses."),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,{level:2,lineClamp:2},"Now we have a subtitle which we will use to demostrate truncating to multiple lines. Sometimes we need to provide more context yet still remain skimmable to users, and subtitles are a good way to do this. As it’s much longer now we can allow a second line to be displayed before truncating it at two lines."))};TruncatedHeadingStory.displayName="TruncatedHeadingStory",TruncatedHeadingStory.argTypes={level:{control:!1},size:{control:!1},weight:{control:!1},lineClamp:{control:!1},children:{control:!1},tone:{control:!1}};var HeadingPlaygroundStory=function HeadingPlaygroundStory(_ref){var children=_ref.children,args=_objectWithoutProperties(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story playground"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_heading__WEBPACK_IMPORTED_MODULE_12__.a,args,children))};HeadingPlaygroundStory.displayName="HeadingPlaygroundStory",HeadingStory.parameters=_objectSpread({storySource:{source:'function HeadingStory() {\n return (\n
\n \n \n \n Heading level 1, largest\n \n \n Heading level 1, larger\n \n Heading level 1\n \n Heading level 1, smaller\n \n \n\n \n \n Heading level 2, largest\n \n \n Heading level 2, larger\n \n Heading level 2\n \n Heading level 2, smaller\n \n \n\n \n \n Heading level 3, largest\n \n \n Heading level 3, larger\n \n Heading level 3\n \n Heading level 3, smaller\n \n \n\n \n \n Heading level 4 / 5 / 6, largest\n \n \n Heading level 4 / 5 / 6, larger\n \n Heading level 4 / 5 / 6\n \n \n
\n )\n}'}},HeadingStory.parameters),TruncatedHeadingStory.parameters=_objectSpread({storySource:{source:'function TruncatedHeadingStory() {\n return (\n
\n \n This is a long title which we will use demonstrate truncating content. When this\n overflows and begins to drop to a new line, its overflowing content will be replaced\n by ellipses.\n \n \n Now we have a subtitle which we will use to demostrate truncating to multiple lines.\n Sometimes we need to provide more context yet still remain skimmable to users, and\n subtitles are a good way to do this. As it’s much longer now we can allow a\n second line to be displayed before truncating it at two lines.\n \n
\n )\n}'}},TruncatedHeadingStory.parameters),HeadingPlaygroundStory.parameters=_objectSpread({storySource:{source:'function HeadingPlaygroundStory({\n children,\n ...args\n}: React.ComponentProps) {\n return (\n
\n {children}\n
\n )\n}'}},HeadingPlaygroundStory.parameters);try{HeadingPlaygroundStory.displayName="HeadingPlaygroundStory",HeadingPlaygroundStory.__docgenInfo={description:"",displayName:"HeadingPlaygroundStory",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"smaller" | "larger" | "largest" | undefined'}},exceptionallySetClassName:{defaultValue:null,description:"",name:"exceptionallySetClassName",required:!1,type:{name:"string | undefined"}},weight:{defaultValue:null,description:"",name:"weight",required:!1,type:{name:'"regular" | "light" | undefined'}},tone:{defaultValue:null,description:"",name:"tone",required:!1,type:{name:'"secondary" | "danger" | "normal" | undefined'}},lineClamp:{defaultValue:null,description:"",name:"lineClamp",required:!1,type:{name:'1 | 2 | 5 | 3 | 4 | "1" | "2" | "3" | "4" | "5" | undefined'}},level:{defaultValue:null,description:"",name:"level",required:!0,type:{name:"HeadingLevel"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/heading/heading.stories.tsx#HeadingPlaygroundStory"]={docgenInfo:HeadingPlaygroundStory.__docgenInfo,name:"HeadingPlaygroundStory",path:"src/new-components/heading/heading.stories.tsx#HeadingPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1140:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"@media print{._2msVAKLp{display:none}}",""]),exports.locals={hiddenOnPrint:"_2msVAKLp"},module.exports=exports},1141:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return InteractivePropsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"NestedStackStory",(function(){return NestedStackStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(3),_stack__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(40),_heading__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(44),_inline__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(151);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i) {\n return (\n \n {renderInlineContent()}\n \n )\n}'}},InteractivePropsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:"function ResponsiveStory() {\n return (\n <>\n \n \n \n \n {renderInlineContent()}\n \n \n \n \n {renderInlineContent()}\n \n \n \n \n )\n}"}},ResponsiveStory.parameters),NestedStackStory.parameters=_objectSpread({storySource:{source:'function NestedStackStory({ space }: PartialProps) {\n return (\n <>\n \n Parent stack with space=“{space ?? \'none\'}”\n {renderInlineContent()}\n {renderInlineContent()}\n \n \n )\n}'}},NestedStackStory.parameters);try{InteractivePropsStory.displayName="InteractivePropsStory",InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center"] | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center", "top" | "bottom" | "center"] | Readonly<...> | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/inline/inline.stories.tsx#InteractivePropsStory"]={docgenInfo:InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/inline/inline.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{NestedStackStory.displayName="NestedStackStory",NestedStackStory.__docgenInfo={description:"",displayName:"NestedStackStory",props:{space:{defaultValue:null,description:"",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},alignY:{defaultValue:null,description:"",name:"alignY",required:!1,type:{name:'"top" | "bottom" | "center" | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center"] | readonly ["top" | "bottom" | "center", "top" | "bottom" | "center", "top" | "bottom" | "center"] | Readonly<...> | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/inline/inline.stories.tsx#NestedStackStory"]={docgenInfo:NestedStackStory.__docgenInfo,name:"NestedStackStory",path:"src/new-components/inline/inline.stories.tsx#NestedStackStory"})}catch(__react_docgen_typescript_loader_error){}},1142:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._2HLiIZcL input{padding-right:0;box-shadow:none!important;border:none}._2HLiIZcL button{outline:none;line-height:0;align-self:stretch;margin:2px;border:none;border-radius:3px;background:none;color:var(--reactist-content-secondary);cursor:pointer}._2HLiIZcL button:focus,._2HLiIZcL button:hover{color:var(--reactist-content-primary);background-color:var(--reactist-bg-selected)}",""]),exports.locals={inputWrapper:"_2HLiIZcL"},module.exports=exports},1143:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._1SDzTpJO{border-radius:var(--reactist-border-radius-small);border:1px solid var(--reactist-framework-border);overflow:clip}._1SDzTpJO:focus-within{border-color:var(--reactist-framework-border-focus)}._1SDzTpJO input{color:var(--reactist-content-primary);flex:1;outline:none;box-sizing:border-box;width:100%;background:transparent;border:none;--tmp-desired-height:30px;--tmp-line-height-increase:4px;--tmp-vertical-padding:calc((var(--tmp-desired-height) - var(--reactist-font-size-body) - var(--tmp-line-height-increase))/2);font-size:var(--reactist-font-size-body);line-height:calc(var(--reactist-font-size-body) + 4px);padding:var(--tmp-vertical-padding) 10px;margin:0}",""]),exports.locals={inputWrapper:"_1SDzTpJO"},module.exports=exports},1144:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._1cLJxWaH{font-weight:var(--reactist-font-weight-strong)}._2vgabN3M{color:var(--reactist-content-secondary)}.pGcYpWI_{text-align:right}",""]),exports.locals={primaryLabel:"_1cLJxWaH",secondaryLabel:"_2vgabN3M",auxiliaryLabel:"pGcYpWI_"},module.exports=exports},1145:function(module,exports,__webpack_require__){var content=__webpack_require__(1146);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1146:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_tooltip {\n font-size: 0.81rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.6;\n text-align: center;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 100%;\n padding: 5px 10px;\n background-color: #333333;\n color: white;\n border: none;\n border-radius: 3px;\n z-index: 1000;\n}\n","",{version:3,sources:["webpack://src/components/tooltip/tooltip.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAIA;EC2CI,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ED5CA,kBAAA;EACA,uBAAA;EACA,gBAAA;EACA,eAAA;EACA,iBAAA;EACA,yBAAA;EACA,YAAA;EACA,YAAA;EACA,kBAAA;EACA,aAAA;AAAJ",sourcesContent:["@import '../styles/constants.less';\n\n@tooltip_background: @color_almost_black;\n\n.reactist_tooltip {\n .smaller_text();\n text-align: center;\n text-overflow: ellipsis;\n overflow: hidden;\n max-width: 100%;\n padding: 5px 10px;\n background-color: @tooltip_background;\n color: white;\n border: none;\n border-radius: 3px;\n z-index: @z-index-tooltip;\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1147:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._37qME_zw{width:100%;position:relative}._37qME_zw svg{position:absolute;right:10px;top:8px;bottom:8px;color:var(--reactist-content-secondary)}._37qME_zw select{position:relative;z-index:1;--tmp-desired-height:32px;--tmp-line-height-increase:4px;--tmp-vertical-padding:calc((var(--tmp-desired-height) - var(--reactist-font-size-body) - var(--tmp-line-height-increase))/2);padding:var(--tmp-vertical-padding) 10px;padding-right:30px;-webkit-appearance:none;-moz-appearance:none;appearance:none;box-sizing:border-box;width:100%;color:var(--reactist-content-primary);background:none;border-radius:var(--reactist-border-radius-small);border:1px solid var(--reactist-framework-border);font-size:var(--reactist-font-size-body);line-height:calc(var(--reactist-font-size-body) + 4px);margin:0}._37qME_zw option{background-color:var(--reactist-bg-aside)}._37qME_zw select:focus{border-color:var(--reactist-framework-border-focus)}",""]),exports.locals={selectWrapper:"_37qME_zw"},module.exports=exports},1148:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return InteractivePropsStory})),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return ResponsiveStory})),__webpack_require__.d(__webpack_exports__,"NestedStacksStory",(function(){return NestedStacksStory}));__webpack_require__(20),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(15),__webpack_require__(8);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3),_heading__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(44),_stack__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(40);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i & { itemCount: number }) {\n return (\n \n \n {times(itemCount).map((i) => (\n \n ))}\n \n \n )\n}"}},InteractivePropsStory.parameters),ResponsiveStory.parameters=_objectSpread({storySource:{source:"function ResponsiveStory({ itemCount }: { itemCount: number }) {\n return (\n <>\n \n \n \n {times(itemCount).map((i) => (\n \n ))}\n \n \n \n )\n}"}},ResponsiveStory.parameters),NestedStacksStory.parameters=_objectSpread({storySource:{source:'function NestedStacksStory(args: PartialProps) {\n return (\n \n \n Parent stack with space=“{args.space ?? \'none\'}”\n \n \n Nested stack with space=“xsmall”\n \n \n \n \n \n Nested stack with space=“xsmall”\n \n \n \n \n \n \n )\n}'}},NestedStacksStory.parameters);try{InteractivePropsStory.displayName="InteractivePropsStory",InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{space:{defaultValue:null,description:"Space between items",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"Align items horizontally",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},dividers:{defaultValue:null,description:"Add dividers if `true`, or specify the weight of the dividers to add",name:"dividers",required:!1,type:{name:'boolean | "strong" | "regular" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}},itemCount:{defaultValue:null,description:"",name:"itemCount",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/stack/stack.stories.tsx#InteractivePropsStory"]={docgenInfo:InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/stack/stack.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{ResponsiveStory.displayName="ResponsiveStory",ResponsiveStory.__docgenInfo={description:"",displayName:"ResponsiveStory",props:{itemCount:{defaultValue:null,description:"",name:"itemCount",required:!0,type:{name:"number"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/stack/stack.stories.tsx#ResponsiveStory"]={docgenInfo:ResponsiveStory.__docgenInfo,name:"ResponsiveStory",path:"src/new-components/stack/stack.stories.tsx#ResponsiveStory"})}catch(__react_docgen_typescript_loader_error){}try{NestedStacksStory.displayName="NestedStacksStory",NestedStacksStory.__docgenInfo={description:"",displayName:"NestedStacksStory",props:{space:{defaultValue:null,description:"Space between items",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},align:{defaultValue:null,description:"Align items horizontally",name:"align",required:!1,type:{name:'"right" | "left" | "center" | readonly ["right" | "left" | "center", "right" | "left" | "center"] | readonly ["right" | "left" | "center", "right" | "left" | "center", "right" | "left" | "center"] | Readonly<...> | undefined'}},dividers:{defaultValue:null,description:"Add dividers if `true`, or specify the weight of the dividers to add",name:"dividers",required:!1,type:{name:'boolean | "strong" | "regular" | undefined'}},minWidth:{defaultValue:null,description:"",name:"minWidth",required:!1,type:{name:'0 | "small" | "large" | "xsmall" | "medium" | "xlarge" | undefined'}},maxWidth:{defaultValue:null,description:"",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},background:{defaultValue:null,description:"",name:"background",required:!1,type:{name:'"default" | "aside" | "highlight" | "selected" | undefined'}},borderRadius:{defaultValue:null,description:"",name:"borderRadius",required:!1,type:{name:'"none" | "full" | "standard" | undefined'}},border:{defaultValue:null,description:"",name:"border",required:!1,type:{name:'"none" | "standard" | undefined'}},padding:{defaultValue:null,description:"",name:"padding",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingX:{defaultValue:null,description:"",name:"paddingX",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingY:{defaultValue:null,description:"",name:"paddingY",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingTop:{defaultValue:null,description:"",name:"paddingTop",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingRight:{defaultValue:null,description:"",name:"paddingRight",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingBottom:{defaultValue:null,description:"",name:"paddingBottom",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},paddingLeft:{defaultValue:null,description:"",name:"paddingLeft",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/stack/stack.stories.tsx#NestedStacksStory"]={docgenInfo:NestedStacksStory.__docgenInfo,name:"NestedStacksStory",path:"src/new-components/stack/stack.stories.tsx#NestedStacksStory"})}catch(__react_docgen_typescript_loader_error){}},1149:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._1HWPb20W,._1HWPb20W *{cursor:pointer}._1HWPb20W._1wFBFmoi,._1HWPb20W._1wFBFmoi *{cursor:not-allowed}._1HWPb20W._1wFBFmoi.sSsYK9JZ .dLU5fWlo,._1HWPb20W._1wFBFmoi ._3YKFZRYo{opacity:.5}.dLU5fWlo{--tmp-switch-width:32px;--tmp-switch-height:18px;--tmp-inner-padding:3px;--tmp-handle-size:calc(var(--tmp-switch-height) - 2*var(--tmp-inner-padding));--tmp-slide-length:calc(var(--tmp-switch-width) - var(--tmp-handle-size) - var(--tmp-inner-padding));width:var(--tmp-switch-width);height:var(--tmp-switch-height);min-height:auto;border-radius:calc(var(--tmp-switch-height)/2);background-color:var(--reactist-framework-fill-summit);cursor:pointer}._1_dy86Q5{position:absolute;display:block;padding:0;top:var(--tmp-inner-padding);left:var(--tmp-inner-padding);width:var(--tmp-handle-size);height:var(--tmp-handle-size);border-radius:50%;background:var(--reactist-bg-default);transition:left .28s cubic-bezier(.4,0,.2,1)}.sSsYK9JZ .dLU5fWlo{background-color:var(--reactist-switch-checked)}.sSsYK9JZ .dLU5fWlo ._1_dy86Q5{left:var(--tmp-slide-length)}",""]),exports.locals={container:"_1HWPb20W",disabled:"_1wFBFmoi",checked:"sSsYK9JZ",toggle:"dLU5fWlo",label:"_3YKFZRYo",handle:"_1_dy86Q5"},module.exports=exports},1150:function(module,exports,__webpack_require__){(exports=__webpack_require__(89)(!1)).push([module.i,"._289DS8rQ{box-sizing:border-box;border:none;border-radius:var(--reactist-border-radius-small);background:none;cursor:pointer;--reactist-tab-primary-background:var(--reactist-chromatic-fill-blue);--reactist-tab-primary-foreground:var(--reactist-content-light-on-dark);--reactist-tab-primary-unselected:var(--reactist-chromatic-content-blue);--reactist-tab-secondary-background:var(--reactist-framework-fill-selected);--reactist-tab-secondary-foreground:var(--reactist-chromatic-content-blue);--reactist-tab-secondary-unselected:var(--reactist-chromatic-content-blue);--reactist-tab-tertiary-background:var(--reactist-chromatic-fill-grey);--reactist-tab-tertiary-foreground:var(--reactist-content-light-on-dark);--reactist-tab-tertiary-unselected:var(--reactist-content-tertiary)}._3Ytmjeyq{padding:0 var(--reactist-spacing-medium);font-size:var(--reactist-font-size-body);line-height:32px;border-radius:20px}._3Ytmjeyq._3ZdrtO5X{color:var(--reactist-tab-primary-unselected)}._3Ytmjeyq._3ZdrtO5X[aria-selected=true]{background-color:var(--reactist-tab-primary-background);color:var(--reactist-tab-primary-foreground)}._3Ytmjeyq._3Ox2oJ8s{color:var(--reactist-tab-secondary-unselected)}._3Ytmjeyq._3Ox2oJ8s[aria-selected=true]{background-color:var(--reactist-tab-secondary-background);color:var(--reactist-tab-secondary-foreground)}._3Ytmjeyq._2XRtul2Y{color:var(--reactist-tab-tertiary-unselected)}._3Ytmjeyq._2XRtul2Y[aria-selected=true]{background-color:var(--reactist-tab-tertiary-background);color:var(--reactist-tab-tertiary-foreground)}._1saS74uL{padding:var(--reactist-spacing-xsmall);color:var(--reactist-content-secondary);font-size:var(--reactist-font-size-subtitle);font-weight:var(--reactist-font-weight-strong)}._1saS74uL[aria-selected=true]{color:var(--reactist-content-primary)}",""]),exports.locals={tab:"_289DS8rQ","tab-normal":"_3Ytmjeyq","tab-primary":"_3ZdrtO5X","tab-secondary":"_3Ox2oJ8s","tab-tertiary":"_2XRtul2Y","tab-plain":"_1saS74uL"},module.exports=exports},1151:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"TextStory",(function(){return TextStory})),__webpack_require__.d(__webpack_exports__,"TruncatedTextStory",(function(){return TruncatedTextStory})),__webpack_require__.d(__webpack_exports__,"TextPlaygroundStory",(function(){return TextPlaygroundStory}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_stack__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(40),_text__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(57),_storybook_helper__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(3);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/Text",component:_text__WEBPACK_IMPORTED_MODULE_12__.a,argTypes:{size:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["caption","copy","body","subtitle"],"body"),weight:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["regular","semibold","bold"],"regular"),lineClamp:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)([1,2,3,4,5],1),children:{control:{type:"text"},defaultValue:"Lorem ipsum dolor sit amet consectetur, adipisicing elit"},tone:Object(_storybook_helper__WEBPACK_IMPORTED_MODULE_13__.f)(["normal","secondary","danger"],"normal")}};var TextStory=function TextStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"medium"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",weight:"regular"},"Subtitle Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",tone:"secondary"},"Subtitle Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",tone:"danger"},"Subtitle Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",weight:"semibold"},"Subtitle Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"subtitle",weight:"bold"},"Subtitle Bold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",weight:"regular"},"Body Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",tone:"secondary"},"Body Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",tone:"danger"},"Body Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",weight:"semibold"},"Body Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"body",weight:"bold"},"Body Bold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",weight:"regular"},"Copy Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",tone:"secondary"},"Copy Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",tone:"danger"},"Copy Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",weight:"semibold"},"Copy Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"copy",weight:"bold"},"Copy Bold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",weight:"regular"},"Caption Regular"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",tone:"secondary"},"Caption Secondary"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",tone:"danger"},"Caption Danger"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",weight:"semibold"},"Caption Semibold"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{size:"caption",weight:"bold"},"Caption Bold")))};TextStory.displayName="TextStory";var TruncatedTextStory=function TruncatedTextStory(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_stack__WEBPACK_IMPORTED_MODULE_11__.a,{space:"medium"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{lineClamp:1},"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus! Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a."),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,{lineClamp:4},"Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus! Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a.")))};TruncatedTextStory.displayName="TruncatedTextStory";var TextPlaygroundStory=function TextPlaygroundStory(_ref){var children=_ref.children,args=_objectWithoutProperties(_ref,["children"]);return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("section",{className:"story playground"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_text__WEBPACK_IMPORTED_MODULE_12__.a,args,children))};TextPlaygroundStory.displayName="TextPlaygroundStory",TextStory.parameters=_objectSpread({storySource:{source:'function TextStory() {\n return (\n
\n \n \n Subtitle Regular\n \n \n Subtitle Secondary\n \n \n Subtitle Danger\n \n \n Subtitle Semibold\n \n \n Subtitle Bold\n \n\n \n Body Regular\n \n \n Body Secondary\n \n \n Body Danger\n \n \n Body Semibold\n \n \n Body Bold\n \n\n \n Copy Regular\n \n \n Copy Secondary\n \n \n Copy Danger\n \n \n Copy Semibold\n \n \n Copy Bold\n \n\n \n Caption Regular\n \n \n Caption Secondary\n \n \n Caption Danger\n \n \n Caption Semibold\n \n \n Caption Bold\n \n \n
\n )\n}'}},TextStory.parameters),TruncatedTextStory.parameters=_objectSpread({storySource:{source:'function TruncatedTextStory() {\n return (\n
\n \n \n Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque\n recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus!\n Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum\n eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur\n tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla\n consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et\n ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque\n quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis\n temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis\n dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a.\n \n\n \n Lorem ipsum dolor sit, amet consectetur adipisicing elit. Provident cumque\n recusandae quibusdam, veniam cum illo? Inventore, doloremque necessitatibus!\n Sequi porro alias mollitia, temporibus quidem, aut modi tempora placeat laborum\n eos sapiente necessitatibus autem ipsum officia rerum distinctio consectetur\n tenetur qui! Perspiciatis ab corporis, itaque alias ex optio voluptatum nulla\n consequatur aut explicabo dolorem rerum ratione magnam. Mollitia dignissimos et\n ad commodi quasi molestias fugiat repellendus, magni distinctio voluptate neque\n quos esse asperiores iure excepturi eligendi eaque veniam voluptas blanditiis\n temporibus, omnis laborum quidem autem totam. Iure, numquam. Totam facilis\n dolorum, consequatur, eligendi est dolores modi dolore maiores ipsum magnam a.\n \n \n
\n )\n}'}},TruncatedTextStory.parameters),TextPlaygroundStory.parameters=_objectSpread({storySource:{source:'function TextPlaygroundStory({ children, ...args }: React.ComponentProps) {\n return (\n
\n {children}\n
\n )\n}'}},TextPlaygroundStory.parameters);try{TextPlaygroundStory.displayName="TextPlaygroundStory",TextPlaygroundStory.__docgenInfo={description:"",displayName:"TextPlaygroundStory",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"body" | "caption" | "copy" | "subtitle" | undefined'}},weight:{defaultValue:null,description:"",name:"weight",required:!1,type:{name:'"regular" | "semibold" | "bold" | undefined'}},tone:{defaultValue:null,description:"",name:"tone",required:!1,type:{name:'"secondary" | "danger" | "normal" | undefined'}},lineClamp:{defaultValue:null,description:"",name:"lineClamp",required:!1,type:{name:'1 | 2 | 5 | 3 | 4 | "1" | "2" | "3" | "4" | "5" | undefined'}},as:{defaultValue:null,description:"Used to instruct this component what React element to render as. It can be both a string\nrepresenting a HTML tag name, or a React component.\n\nWhen using this prop, the component you apply it to will also recognize in its props types\nall the props from the component or HTML element you are rendering it as.\n\nSome uses for this feature:\n\n- Using some of our layout components, while at the same time being able to set them to use\n semantic HTML elements needed for accessibility purposes (e.g. `nav`, `main`, etc).\n- Using a design system link component, but have it internally use a client-side router link\n implemented via a React component (e.g. react-router's `Link`).\n\nKeep in mind that not all compositions of this kind may work well, especially when composing\nwith another React component and not with a HTML tag name. In particular, if the components\nbeing composed have opposing concerns of clashing features (e.g. they have contradicting\nstyles applied to them) things may not go well. In those cases prefer to nest them instead.\n@see PolymorphicComponent",name:"as",required:!1,type:{name:'"symbol" | "object" | "select" | "s" | "text" | "title" | "form" | "slot" | "style" | "button" | "link" | "small" | "pattern" | "a" | "abbr" | "address" | "area" | "article" | "aside" | ... 158 more ... | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/text/text.stories.tsx#TextPlaygroundStory"]={docgenInfo:TextPlaygroundStory.__docgenInfo,name:"TextPlaygroundStory",path:"src/new-components/text/text.stories.tsx#TextPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1152:function(module,exports,__webpack_require__){var map={"./components/Avatar.stories.tsx":1153,"./components/Button.stories.tsx":1325,"./components/Checkbox.stories.tsx":1311,"./components/ColorPicker.stories.tsx":1312,"./components/Dropdown.stories.tsx":1246,"./components/ErrorMessage.stories.tsx":1313,"./components/Icon.stories.tsx":1307,"./components/Input.stories.tsx":1314,"./components/KeyCapturer.stories.mdx":1256,"./components/KeyboardShortcut.stories.tsx":1257,"./components/Loading.stories.tsx":1315,"./components/Menu.stories.tsx":1326,"./components/Modal.stories.mdx":1316,"./components/Notification.stories.tsx":1327,"./components/ProgressBar.stories.tsx":1317,"./components/RangeInput.stories.tsx":1318,"./components/Select.stories.tsx":1319,"./components/Time.stories.tsx":1308,"./components/Tip.stories.tsx":1294,"./components/Tooltip.stories.tsx":1297,"./components/color.stories.tsx":1300,"./reactist/Reactist.stories.mdx":1303};function webpackContext(req){var id=webpackContextResolve(req);return __webpack_require__(id)}function webpackContextResolve(req){if(!__webpack_require__.o(map,req)){var e=new Error("Cannot find module '"+req+"'");throw e.code="MODULE_NOT_FOUND",e}return map[req]}webpackContext.keys=function webpackContextKeys(){return Object.keys(map)},webpackContext.resolve=webpackContextResolve,module.exports=webpackContext,webpackContext.id=1152},1153:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InitialsAvatarStory",(function(){return InitialsAvatarStory})),__webpack_require__.d(__webpack_exports__,"CustomColorAvatarStory",(function(){return CustomColorAvatarStory})),__webpack_require__.d(__webpack_exports__,"PictureAvatarStory",(function(){return PictureAvatarStory})),__webpack_require__.d(__webpack_exports__,"AvatarPlaygroundStory",(function(){return AvatarPlaygroundStory}));__webpack_require__(20),__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(1154);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__),_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(347),_src_components_avatar__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(179);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n {exampleData.map((data, index) => (\n \n ))}\n
\n)'}},InitialsAvatarStory.parameters),CustomColorAvatarStory.parameters=_objectSpread({storySource:{source:"() => (\n
\n {exampleData.map((data, index) => (\n \n ))}\n
\n)"}},CustomColorAvatarStory.parameters),PictureAvatarStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n {exampleData.map((data, index) => (\n \n ))}\n
\n)'}},PictureAvatarStory.parameters),AvatarPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n return (\n
\n \n
\n )\n}'}},AvatarPlaygroundStory.parameters);try{AvatarPlaygroundStory.displayName="AvatarPlaygroundStory",AvatarPlaygroundStory.__docgenInfo={description:"",displayName:"AvatarPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Avatar.stories.tsx#AvatarPlaygroundStory"]={docgenInfo:AvatarPlaygroundStory.__docgenInfo,name:"AvatarPlaygroundStory",path:"stories/components/Avatar.stories.tsx#AvatarPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1154:function(module,exports,__webpack_require__){var content=__webpack_require__(1155);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1155:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.avatars .reactist_avatar {\n display: inline-block;\n margin-right: 10px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/avatar_story.less"],names:[],mappings:"AAAA;EACI,qBAAA;EACA,kBAAA;AACJ",sourcesContent:[".story.avatars .reactist_avatar {\n display: inline-block;\n margin-right: 10px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1160:function(module,exports,__webpack_require__){var content=__webpack_require__(1161);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1161:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_avatar {\n flex-shrink: 0;\n background-position: center;\n color: white;\n text-align: center;\n border-radius: 50%;\n}\n.reactist_avatar_size--xxs {\n width: 16px;\n height: 16px;\n line-height: 16px;\n background-size: 16px;\n font-size: calc(16px / 2);\n}\n.reactist_avatar_size--xs {\n width: 20px;\n height: 20px;\n line-height: 20px;\n background-size: 20px;\n font-size: calc(20px / 2);\n}\n.reactist_avatar_size--s {\n width: 30px;\n height: 30px;\n line-height: 30px;\n background-size: 30px;\n font-size: calc(30px / 2);\n}\n.reactist_avatar_size--m {\n width: 32px;\n height: 32px;\n line-height: 32px;\n background-size: 32px;\n font-size: calc(32px / 2);\n}\n.reactist_avatar_size--l {\n width: 34px;\n height: 34px;\n line-height: 34px;\n background-size: 34px;\n font-size: calc(34px / 2);\n}\n.reactist_avatar_size--xl {\n width: 48px;\n height: 48px;\n line-height: 48px;\n background-size: 48px;\n font-size: calc(48px / 2);\n}\n.reactist_avatar_size--xxl {\n width: 70px;\n height: 70px;\n line-height: 70px;\n background-size: 70px;\n font-size: calc(70px / 2);\n}\n.reactist_avatar_size--xxxl {\n width: 100px;\n height: 100px;\n line-height: 100px;\n background-size: 100px;\n font-size: calc(100px / 2);\n}\n","",{version:3,sources:["webpack://src/components/avatar/avatar.less"],names:[],mappings:"AAQA;EACI,cAAA;EACA,2BAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;AAPJ;AAUQ;EAfJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAQJ;AAMQ;EAlBJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAeJ;AAEQ;EArBJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAsBJ;AAFQ;EAxBJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AA6BJ;AANQ;EA3BJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAoCJ;AAVQ;EA9BJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AA2CJ;AAdQ;EAjCJ,WAAA;EACA,YAAA;EACA,iBAAA;EACA,qBAAA;EACA,yBAAA;AAkDJ;AAlBQ;EApCJ,YAAA;EACA,aAAA;EACA,kBAAA;EACA,sBAAA;EACA,0BAAA;AAyDJ",sourcesContent:[".reactist_avatar_size(@size) {\n width: @size;\n height: @size;\n line-height: @size;\n background-size: @size;\n font-size: calc(@size / 2);\n}\n\n.reactist_avatar {\n flex-shrink: 0;\n background-position: center;\n color: white;\n text-align: center;\n border-radius: 50%;\n\n &_size {\n &--xxs {\n .reactist_avatar_size(16px);\n }\n &--xs {\n .reactist_avatar_size(20px);\n }\n &--s {\n .reactist_avatar_size(30px);\n }\n &--m {\n .reactist_avatar_size(32px);\n }\n &--l {\n .reactist_avatar_size(34px);\n }\n &--xl {\n .reactist_avatar_size(48px);\n }\n &--xxl {\n .reactist_avatar_size(70px);\n }\n &--xxxl {\n .reactist_avatar_size(100px);\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1235:function(module,exports,__webpack_require__){var content=__webpack_require__(1236);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1236:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story .reactist_button {\n display: inline;\n margin: 0 10px 0 0;\n}\n.story.playground .reactist_button,\np .reactist_button--link {\n margin: 0 !important;\n}\n.alternate_branding > .reactist_button {\n background-color: #dd4b39;\n}\n.alternate_branding > .reactist_button:not(.reactist_button--loading):not(.reactist_button--secondary):not([disabled]):hover {\n background-color: #c23321;\n}\n.alternate_branding > .reactist_button:not(.reactist_button--loading):not(.reactist_button--secondary):disabled {\n background-color: #e47365;\n}\n.alternate_branding > .reactist_button.reactist_button--secondary {\n background-color: white;\n border: 1px solid #dd4b39;\n color: #dd4b39;\n}\n","",{version:3,sources:["webpack://stories/components/styles/button_story.less"],names:[],mappings:"AAAA;EACI,eAAA;EACA,kBAAA;AACJ;AACA;;EAEI,oBAAA;AACJ;AAOI;EACI,yBAAA;AALR;AAOQ;EACI,yBAAA;AALZ;AAQQ;EACI,yBAAA;AANZ;AASQ;EACI,uBAAA;EACA,yBAAA;EACA,cAAA;AAPZ",sourcesContent:[".story .reactist_button {\n display: inline;\n margin: 0 10px 0 0;\n}\n.story.playground .reactist_button,\np .reactist_button--link {\n margin: 0 !important;\n}\n\n.alternate_branding {\n @primary-color: #dd4b39;\n @primary-color-lighter: lighten(#dd4b39, 10%);\n @primary-color-darker: darken(#dd4b39, 10%);\n // alternate button styles\n & > .reactist_button {\n background-color: @primary-color;\n\n &:not(.reactist_button--loading):not(.reactist_button--secondary):not([disabled]):hover {\n background-color: @primary-color-darker;\n }\n\n &:not(.reactist_button--loading):not(.reactist_button--secondary):disabled {\n background-color: @primary-color-lighter;\n }\n\n &.reactist_button--secondary {\n background-color: white;\n border: 1px solid @primary-color;\n color: @primary-color;\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1237:function(module,exports,__webpack_require__){var content=__webpack_require__(1238);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1238:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(50),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(431),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(1239),___CSS_LOADER_EXPORT___=___CSS_LOADER_API_IMPORT___(!0),___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);___CSS_LOADER_EXPORT___.push([module.i,".reactist_button {\n cursor: pointer;\n user-select: none;\n color: inherit;\n border: none;\n background-color: transparent;\n padding: 0;\n}\n.reactist_button[aria-disabled='true'] {\n opacity: 0.4;\n cursor: not-allowed;\n}\n.reactist_button--small {\n font-size: 0.81rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.6;\n}\n.reactist_button--primary,\n.reactist_button--secondary,\n.reactist_button--danger {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n box-sizing: border-box;\n padding: 5px 15px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 3px;\n}\n.reactist_button--primary.reactist_button--small,\n.reactist_button--secondary.reactist_button--small,\n.reactist_button--danger.reactist_button--small {\n padding: 5px 10px;\n}\n.reactist_button--primary.reactist_button--large,\n.reactist_button--secondary.reactist_button--large,\n.reactist_button--danger.reactist_button--large {\n padding: 10px 15px;\n}\n.reactist_button--primary {\n background-color: #3f82ef;\n color: white;\n}\n.reactist_button--primary:not([disabled]):hover {\n background-color: #3b7be2;\n}\n.reactist_button--danger {\n background-color: #de4c4a;\n color: white;\n}\n.reactist_button--danger:not([disabled]):hover {\n background-color: #cf2826;\n}\n.reactist_button--secondary {\n background-color: white;\n color: #202020;\n border-color: #dcdcdc;\n}\n.reactist_button--secondary:not([disabled]):hover {\n background-color: #f9f9f9;\n}\n.reactist_button--link {\n color: #3f82ef;\n text-decoration: none;\n}\n.reactist_button--link:disabled {\n color: #808080;\n}\n.reactist_button--link:not(:disabled):hover {\n text-decoration: underline;\n}\n.reactist_button--link:not(.reactist_button--link--small):not(.reactist_button--link--large) {\n font-size: inherit;\n}\n.reactist_button--primary.reactist_button--loading,\n.reactist_button--secondary.reactist_button--loading,\n.reactist_button--danger.reactist_button--loading {\n cursor: progress !important;\n}\n.reactist_button--primary.reactist_button--loading:after,\n.reactist_button--secondary.reactist_button--loading:after,\n.reactist_button--danger.reactist_button--loading:after {\n background-repeat: no-repeat;\n background-size: 15px;\n content: '';\n display: inline-block;\n height: 15px;\n margin-left: 12px;\n vertical-align: middle;\n width: 15px;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n animation-name: reactistRotateRight;\n animation-timing-function: linear;\n color: #ffffff;\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");\n}\n.reactist_button--secondary.reactist_button--loading {\n border-color: #dcdcdc;\n background-color: #dcdcdc;\n color: #808080;\n}\n@keyframes reactistRotateRight {\n from {\n transform: rotate(0deg);\n transform-origin: center center;\n }\n to {\n transform: rotate(360deg);\n transform-origin: center center;\n }\n}\n","",{version:3,sources:["webpack://src/components/button/button.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;EACI,eAAA;EACA,iBAAA;EACA,cAAA;EACA,YAAA;EACA,6BAAA;EACA,UAAA;AADJ;AAGI;EACI,YAAA;EACA,mBAAA;AADR;AAII;ECgCA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADjCJ;AAEI;;;ECoBA,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDnBI,sBAAA;EACA,iBAAA;EACA,oCAAA;EACA,kBAAA;AAGR;AAFQ;;;EACI,iBAAA;AAMZ;AAJQ;;;EACI,kBAAA;AAQZ;AAJI;EACI,yBAAA;EACA,YAAA;AAMR;AAJQ;EACI,yBAAA;AAMZ;AAFI;EACI,yBAAA;EACA,YAAA;AAIR;AAFQ;EACI,yBAAA;AAIZ;AAAI;EACI,uBAAA;EACA,cAAA;EACA,qBAAA;AAER;AAAQ;EACI,yBAAA;AAEZ;AAEI;EACI,cAAA;EACA,qBAAA;AAAR;AAEQ;EACI,cAAA;AAAZ;AAGQ;EACI,0BAAA;AADZ;AAIQ;EACI,kBAAA;AAFZ;AAUQ;;;EACI,2BAAA;AANZ;AAOY;;;EACI,4BAAA;EACA,qBAAA;EACA,WAAA;EACA,qBAAA;EACA,YAAA;EACA,iBAAA;EACA,sBAAA;EACA,WAAA;EACA,sBAAA;EACA,mCAAA;EACA,mCAAA;EACA,iCAAA;EACA,cAAA;EACA,yDAAA;AAHhB;AAUI;EACI,qBAAA;EACA,yBAAA;EACA,cAAA;AARR;AAaA;EACI;IACI,uBAAA;IACA,+BAAA;EAXN;EAcE;IACI,yBAAA;IACA,+BAAA;EAZN;AACF",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_button {\n cursor: pointer;\n user-select: none;\n color: inherit;\n border: none;\n background-color: transparent;\n padding: 0;\n\n &[aria-disabled='true'] {\n opacity: 0.4;\n cursor: not-allowed;\n }\n\n &--small {\n .smaller_text();\n }\n\n &--primary,\n &--secondary,\n &--danger {\n .normal_text();\n box-sizing: border-box;\n padding: 5px 15px;\n border: 1px solid rgba(0, 0, 0, 0.1);\n border-radius: 3px;\n &.reactist_button--small {\n padding: 5px 10px;\n }\n &.reactist_button--large {\n padding: 10px 15px;\n }\n }\n\n &--primary {\n background-color: @primary_color;\n color: white;\n\n &:not([disabled]):hover {\n background-color: @primary_color_darker;\n }\n }\n\n &--danger {\n background-color: @color_red;\n color: white;\n\n &:not([disabled]):hover {\n background-color: darken(@color_red, 10%);\n }\n }\n\n &--secondary {\n background-color: white;\n color: @primary_font_color;\n border-color: @color_border_grey;\n\n &:not([disabled]):hover {\n background-color: @color_grey_9;\n }\n }\n\n &--link {\n color: @primary_color;\n text-decoration: none;\n\n &:disabled {\n color: @secondary_font_color;\n }\n\n &:not(:disabled):hover {\n text-decoration: underline;\n }\n\n &:not(&--small):not(&--large) {\n font-size: inherit;\n }\n }\n\n // loading-like buttons are only supported for the primary, secondary and danger variants\n &--primary,\n &--secondary,\n &--danger {\n &.reactist_button--loading {\n cursor: progress !important;\n &:after {\n background-repeat: no-repeat;\n background-size: 15px;\n content: '';\n display: inline-block;\n height: 15px;\n margin-left: 12px;\n vertical-align: middle;\n width: 15px;\n animation-duration: 1s;\n animation-iteration-count: infinite;\n animation-name: reactistRotateRight;\n animation-timing-function: linear;\n color: #ffffff;\n background-image: url('../icons/spinner.svg');\n }\n }\n }\n\n // we treat secondary buttons differently because the loading indicator is white\n // TODO: make the loading indicator color adaptable from the outside using SVG currentColor\n &--secondary.reactist_button--loading {\n border-color: @color_border_grey;\n background-color: @color_border_grey;\n color: @secondary_font_color;\n }\n}\n\n// Animation used by the busy state of a button\n@keyframes reactistRotateRight {\n from {\n transform: rotate(0deg);\n transform-origin: center center;\n }\n\n to {\n transform: rotate(360deg);\n transform-origin: center center;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1239:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/spinner.0a24d9f7.svg';"},1240:function(module,exports,__webpack_require__){var content=__webpack_require__(1241);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1241:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_checkbox {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n}\n.reactist_checkbox:hover {\n cursor: pointer;\n}\n.reactist_checkbox .reactist_checkbox--input {\n margin-right: 10px;\n}\n","",{version:3,sources:["webpack://src/components/checkbox/checkbox.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADrCJ;AADI;EACI,eAAA;AAGR;AANA;EAOQ,kBAAA;AAER",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_checkbox {\n .normal_text();\n &:hover {\n cursor: pointer;\n }\n\n .reactist_checkbox--input {\n margin-right: 10px;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1242:function(module,exports,__webpack_require__){var content=__webpack_require__(1243);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1243:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_color_picker .color_trigger {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n cursor: pointer;\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yNSAxMC42NDZsMi42NDYgMi42NDcgMi42NDctMi42NDdhLjUuNSAwIDAgMSAuNzA3LjcwOEwxMi42MDQgMTRhMSAxIDAgMCAxLTEuNDE1IDBsLTIuNjQ2LTIuNjQ2YS41LjUgMCAwIDEgLjcwNy0uNzA4eiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n background-size: 24px;\n}\n.reactist_color_picker .color_trigger--inner_ring {\n background-color: rgba(0, 0, 0, 0.1);\n width: 14px;\n height: 14px;\n border-radius: 50%;\n visibility: hidden;\n}\n.reactist_color_picker .color_trigger:hover .color_trigger--inner_ring {\n visibility: visible;\n}\n.reactist_color_picker .color_trigger.small {\n height: 18px;\n width: 18px;\n}\n.reactist_color_picker .color_trigger.small .color_trigger--inner_ring {\n width: 12px;\n height: 12px;\n}\n.reactist_color_picker .color_item {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 4px;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n cursor: pointer;\n}\n.reactist_color_picker .color_item--inner_ring {\n background-color: transparent;\n border: 2px solid white;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n visibility: hidden;\n}\n.reactist_color_picker .color_item:hover .color_item--inner_ring {\n visibility: visible;\n}\n.reactist_color_picker .color_item.active {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTAuOTc0IDE0Ljc3MWw0LjE2LTcuMjA0YS40OTkuNDk5IDAgMSAxIC44NjMuNDk5bC00LjQ3IDcuNzQ0YS40OTkuNDk5IDAgMCAxLS43MzUuMTQ3LjUwMi41MDIgMCAwIDEtLjA2MS0uMDQ4bC0zLjM2Ni0zLjE0YS40OTkuNDk5IDAgMSAxIC42OC0uNzI5bDIuOTI5IDIuNzMxeiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n}\n.reactist_color_picker .color_options {\n padding: 6px;\n display: flex;\n flex-wrap: wrap;\n width: 164px;\n position: relative;\n}\n.reactist_color_picker .with_arrow:after,\n.reactist_color_picker .with_arrow:before {\n visibility: hidden;\n}\n","",{version:3,sources:["webpack://src/components/color-picker/color-picker.less"],names:[],mappings:"AAEA;EAEQ,cAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,eAAA;EAEA,yYAAA;EACA,2BAAA;EACA,4BAAA;EACA,qBAAA;AAHR;AAKQ;EACI,oCAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,kBAAA;AAHZ;AAKQ;EAEQ,mBAAA;AAJhB;AAQQ;EACI,YAAA;EACA,WAAA;AANZ;AAIQ;EAKQ,WAAA;EACA,YAAA;AANhB;AA7BA;EAyCQ,cAAA;EACA,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,WAAA;EACA,YAAA;EACA,kBAAA;EACA,eAAA;AATR;AAWQ;EACI,6BAAA;EACA,uBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,kBAAA;AATZ;AAWQ;EAEQ,mBAAA;AAVhB;AAcQ;EACI,6bAAA;EACA,2BAAA;EACA,4BAAA;AAZZ;AAxDA;EAyEQ,YAAA;EACA,aAAA;EACA,eAAA;EACA,YAAA;EACA,kBAAA;AAdR;AA/DA;;EAkFQ,kBAAA;AAfR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_color_picker {\n .color_trigger {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n cursor: pointer;\n\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNOS4yNSAxMC42NDZsMi42NDYgMi42NDcgMi42NDctMi42NDdhLjUuNSAwIDAgMSAuNzA3LjcwOEwxMi42MDQgMTRhMSAxIDAgMCAxLTEuNDE1IDBsLTIuNjQ2LTIuNjQ2YS41LjUgMCAwIDEgLjcwNy0uNzA4eiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n background-size: 24px;\n\n &--inner_ring {\n background-color: rgba(0, 0, 0, 0.1);\n width: 14px;\n height: 14px;\n border-radius: 50%;\n visibility: hidden;\n }\n &:hover {\n .color_trigger--inner_ring {\n visibility: visible;\n }\n }\n\n &.small {\n height: 18px;\n width: 18px;\n\n .color_trigger--inner_ring {\n width: 12px;\n height: 12px;\n }\n }\n }\n\n .color_item {\n flex: 0 0 auto;\n display: flex;\n align-items: center;\n justify-content: center;\n margin: 4px;\n width: 32px;\n height: 32px;\n border-radius: 50%;\n cursor: pointer;\n\n &--inner_ring {\n background-color: transparent;\n border: 2px solid white;\n height: 24px;\n width: 24px;\n border-radius: 50%;\n visibility: hidden;\n }\n &:hover {\n .color_item--inner_ring {\n visibility: visible;\n }\n }\n\n &.active {\n background-image: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIyNCIgaGVpZ2h0PSIyNCIgdmlld0JveD0iMCAwIDI0IDI0Ij4gICAgPHBhdGggZmlsbD0iI0ZGRiIgZmlsbC1ydWxlPSJldmVub2RkIiBkPSJNMTAuOTc0IDE0Ljc3MWw0LjE2LTcuMjA0YS40OTkuNDk5IDAgMSAxIC44NjMuNDk5bC00LjQ3IDcuNzQ0YS40OTkuNDk5IDAgMCAxLS43MzUuMTQ3LjUwMi41MDIgMCAwIDEtLjA2MS0uMDQ4bC0zLjM2Ni0zLjE0YS40OTkuNDk5IDAgMSAxIC42OC0uNzI5bDIuOTI5IDIuNzMxeiIvPjwvc3ZnPg==);\n background-position: center;\n background-repeat: no-repeat;\n }\n }\n\n .color_options {\n padding: 6px;\n display: flex;\n flex-wrap: wrap;\n width: 164px; // 4 * 32 + 3 * 8 + 2 * 6\n position: relative;\n }\n\n .with_arrow:after,\n .with_arrow:before {\n visibility: hidden;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1244:function(module,exports,__webpack_require__){var content=__webpack_require__(1245);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1245:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_dropdown .trigger {\n cursor: pointer;\n display: block;\n}\n.reactist_dropdown .body {\n border-radius: 3px;\n border: 1px solid #dcdcdc;\n overflow: hidden;\n box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);\n z-index: 1;\n background-color: #fff;\n}\n.reactist_dropdown hr {\n border: none;\n height: 1px;\n background-color: #dcdcdc;\n margin: 0 5px;\n}\n.reactist_dropdown .with_arrow:after,\n.reactist_dropdown .with_arrow:before {\n z-index: 1;\n content: '';\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 6px;\n right: 14px;\n}\n.reactist_dropdown .with_arrow:after {\n top: -11px;\n border-color: transparent transparent #fff transparent;\n}\n.reactist_dropdown .with_arrow:before {\n top: -12px;\n border-color: transparent transparent #dcdcdc transparent;\n}\n.reactist_dropdown .with_arrow.top:after {\n top: -1px;\n border-color: #fff transparent transparent transparent;\n}\n.reactist_dropdown .with_arrow.top:before {\n top: -1px;\n right: 13px;\n border-width: 7px;\n border-color: #dcdcdc transparent transparent transparent;\n}\n","",{version:3,sources:["webpack://src/components/dropdown/dropdown.less"],names:[],mappings:"AAEA;EAEQ,eAAA;EACA,cAAA;AAFR;AADA;EAOQ,kBAAA;EACA,yBAAA;EACA,gBAAA;EACA,2CAAA;EACA,UAAA;EACA,sBAAA;AAHR;AATA;EAgBQ,YAAA;EACA,WAAA;EACA,yBAAA;EACA,aAAA;AAJR;AAfA;;EAwBQ,UAAA;EACA,WAAA;EACA,cAAA;EACA,kBAAA;EACA,QAAA;EACA,SAAA;EACA,mBAAA;EACA,iBAAA;EACA,WAAA;AALR;AA3BA;EAoCQ,UAAA;EACA,sDAAA;AANR;AA/BA;EAyCQ,UAAA;EACA,yDAAA;AAPR;AAnCA;EA8CQ,SAAA;EACA,sDAAA;AARR;AAvCA;EAmDQ,SAAA;EACA,WAAA;EACA,iBAAA;EACA,yDAAA;AATR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_dropdown {\n .trigger {\n cursor: pointer;\n display: block;\n }\n\n .body {\n border-radius: 3px;\n border: 1px solid @color_border_grey;\n overflow: hidden;\n box-shadow: 0 1px 8px 0 rgba(0, 0, 0, 0.08);\n z-index: 1;\n background-color: #fff;\n }\n\n hr {\n border: none;\n height: 1px;\n background-color: @color_border_grey;\n margin: 0 5px;\n }\n\n .with_arrow:after,\n .with_arrow:before {\n z-index: 1;\n content: '';\n display: block;\n position: absolute;\n width: 0;\n height: 0;\n border-style: solid;\n border-width: 6px;\n right: 14px;\n }\n\n .with_arrow:after {\n top: -11px;\n border-color: transparent transparent #fff transparent;\n }\n\n .with_arrow:before {\n top: -12px;\n border-color: transparent transparent @color_border_grey transparent;\n }\n\n .with_arrow.top:after {\n top: -1px;\n border-color: #fff transparent transparent transparent;\n }\n\n .with_arrow.top:before {\n top: -1px;\n right: 13px;\n border-width: 7px;\n border-color: @color_border_grey transparent transparent transparent;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1246:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"DropdownStory",(function(){return DropdownStory})),__webpack_require__.d(__webpack_exports__,"InteractiveDropdownStory",(function(){return InteractiveDropdownStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_9___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_9__),_src_components_dropdown__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(106),_src_components_button__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(31);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n \n \n \n \n \n
\n

Dropdown Content

\n
    \n
  • You can add anything
  • \n
  • you want to a dropdown
  • \n
  • (e.g. lists and headings)
  • \n
\n
\n
\n
\n
\n)'}},DropdownStory.parameters),InteractiveDropdownStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n \n \n \n \n \n
\n

Wow this is interactive

\n
    \n
  • Click outside
  • \n
  • to close this
  • \n
\n
\n
\n
\n
\n)'}},InteractiveDropdownStory.parameters)},1247:function(module,exports,__webpack_require__){var content=__webpack_require__(1248);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1248:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(50),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(431),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(1249),___CSS_LOADER_EXPORT___=___CSS_LOADER_API_IMPORT___(!0),___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___);___CSS_LOADER_EXPORT___.push([module.i,".reactist_error_message {\n padding: 10px 10px 0 10px;\n margin-bottom: 10px;\n background-color: #f8d9d8;\n border: 1px solid #de4c4a;\n}\n.reactist_error_message p {\n font-size: 0.875rem;\n color: #de4c4a;\n font-weight: 400;\n line-height: 1.7;\n margin: 0 0 10px 0;\n}\n.reactist_error_message .dismiss_icon {\n height: 20px;\n width: 20px;\n background-repeat: no-repeat;\n background-position: center;\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");\n float: right;\n position: relative;\n top: -30px;\n}\n.reactist_error_message .dismiss_icon:hover {\n cursor: pointer;\n}\n","",{version:3,sources:["webpack://src/components/error-message/error-message.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;EACI,yBAAA;EACA,mBAAA;EACA,yBAAA;EACA,yBAAA;AADJ;AAHA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDhCI,kBAAA;AAER;AAVA;EAYQ,YAAA;EACA,WAAA;EACA,4BAAA;EACA,2BAAA;EACA,yDAAA;EACA,YAAA;EACA,kBAAA;EACA,UAAA;AACR;AAAQ;EACI,eAAA;AAEZ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_error_message {\n padding: 10px 10px 0 10px;\n margin-bottom: 10px;\n background-color: lighten(@color_red, 33%);\n border: 1px solid @color_red;\n\n p {\n .normal_text(@color: @color_red);\n margin: 0 0 10px 0;\n }\n\n .dismiss_icon {\n height: 20px;\n width: 20px;\n background-repeat: no-repeat;\n background-position: center;\n background-image: url('../icons/close_red.svg');\n float: right;\n position: relative;\n top: -30px;\n &:hover {\n cursor: pointer;\n }\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1249:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/close_red.d30aacaf.svg';"},1250:function(module,exports,__webpack_require__){var content=__webpack_require__(1251);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1251:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_icon {\n flex: 0 0 auto;\n display: block;\n width: 40px;\n height: 40px;\n background-size: 25px;\n background-position: center;\n background-repeat: no-repeat;\n}\n.reactist_icon.disabled {\n opacity: 0.4;\n}\n.reactist_icon--component {\n display: flex;\n align-items: center;\n justify-content: center;\n}\n","",{version:3,sources:["webpack://src/components/icon/icon.less"],names:[],mappings:"AAAA;EACI,cAAA;EACA,cAAA;EACA,WAAA;EACA,YAAA;EACA,qBAAA;EACA,2BAAA;EACA,4BAAA;AACJ;AACI;EACI,YAAA;AACR;AAEI;EACI,aAAA;EACA,mBAAA;EACA,uBAAA;AAAR",sourcesContent:[".reactist_icon {\n flex: 0 0 auto;\n display: block;\n width: 40px;\n height: 40px;\n background-size: 25px;\n background-position: center;\n background-repeat: no-repeat;\n\n &.disabled {\n opacity: 0.4;\n }\n\n &--component {\n display: flex;\n align-items: center;\n justify-content: center;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1252:function(module,exports,__webpack_require__){var content=__webpack_require__(1253);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1253:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story-info {\n color: #565d6b;\n font-size: 14px;\n line-height: 1.5;\n margin-bottom: 50px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/input_story.less"],names:[],mappings:"AAAA;EACI,cAAA;EACA,eAAA;EACA,gBAAA;EACA,mBAAA;AACJ",sourcesContent:[".story-info {\n color: rgb(86, 93, 107);\n font-size: 14px;\n line-height: 1.5;\n margin-bottom: 50px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1254:function(module,exports,__webpack_require__){var content=__webpack_require__(1255);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1255:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_input {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n box-sizing: border-box;\n width: 100%;\n display: block;\n outline: none;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n padding: 5px 10px;\n margin: 0;\n}\n.reactist_input:focus {\n border-color: #3f82ef;\n}\n.reactist_input:disabled {\n background-color: #fafafa;\n}\n","",{version:3,sources:["webpack://src/components/input/input.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDtCA,sBAAA;EACA,WAAA;EACA,cAAA;EACA,aAAA;EACA,yBAAA;EACA,kBAAA;EACA,iBAAA;EACA,SAAA;AAEJ;AAAI;EACI,qBAAA;AAER;AAAI;EACI,yBAAA;AAER",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_input {\n .normal_text();\n box-sizing: border-box;\n width: 100%;\n display: block;\n outline: none;\n border: 1px solid @color_border_grey;\n border-radius: 3px;\n padding: 5px 10px;\n margin: 0;\n\n &:focus {\n border-color: @primary_color;\n }\n &:disabled {\n background-color: @color_grey_11;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1256:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(8),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(17);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.e,{title:"Components/KeyCapturer",mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h1",{id:"component-documentation"},"Component Documentation"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"documentation"},"Documentation"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Use this component to wrap anything you want to handle key events for (e.g. an input)."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"You can specify the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"eventName")," to capture (defaults to ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onKeyDown"),")."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Check the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"SUPPORTED_KEYS")," map to see which keys are supported and supply the respective ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"on\\${Key}")," prop (i.e. ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onEnter")," or ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onArrowDown"),"). Note that the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onEnter")," handler will not fire when used in an IME composition session to prevent interference with the user's input."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"If you want the default behaviour to be preserved (i.e. only want to hook into the event instead of replacing it) set the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"propagate\\${Key}")," prop (e.g. ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"propagateBackspace"),")."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Example of an ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"strong"},""))," handling normal keystrokes by acting on ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"onChange")," as well as on enter and backspace presses with dedicated handlers. By propagating the backspace key users are still able to delete the last typed character while you can also implement additional logic on top."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"\n \n\n")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Components/KeyCapturer",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},1257:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"KeyboardShortcutPlaygroundStory",(function(){return KeyboardShortcutPlaygroundStory}));__webpack_require__(112),__webpack_require__(41),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(347),_src_components_keyboard_shortcut__WEBPACK_IMPORTED_MODULE_14__=(__webpack_require__(1258),__webpack_require__(276));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_exports__.default={title:"Components/KeyboardShortcut"};var KeyboardShortcutPlaygroundStory=function KeyboardShortcutPlaygroundStory(args){var shortcut=args.shortcut.length>1?args.shortcut:args.shortcut[0]||"";return react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("section",{className:"story"},react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("pre",null,react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("code",null,"",react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("br",null),"  ","string"==typeof shortcut?shortcut:react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_11___default.a.Fragment,null,"{",JSON.stringify(shortcut),"}"),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("br",null),"")),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("p",null,react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("strong",null,"On macOS:"),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_src_components_keyboard_shortcut__WEBPACK_IMPORTED_MODULE_14__.a,{isMac:!0},shortcut)),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("p",null,react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement("strong",null,"Elsewhere:"),react__WEBPACK_IMPORTED_MODULE_11___default.a.createElement(_src_components_keyboard_shortcut__WEBPACK_IMPORTED_MODULE_14__.a,{isMac:!1},shortcut)))};KeyboardShortcutPlaygroundStory.displayName="KeyboardShortcutPlaygroundStory",KeyboardShortcutPlaygroundStory.args={shortcut:Object(_storybook_addon_knobs__WEBPACK_IMPORTED_MODULE_12__.a)("Shortcut","Cmd + Alt + Shift + E, q").split(/\s*,\s*/)},KeyboardShortcutPlaygroundStory.argTypes={shortcut:{control:{type:"text"}}},KeyboardShortcutPlaygroundStory.parameters=function _objectSpread(target){for(var i=1;i {\n const shortcut = args.shortcut.length > 1 ? args.shortcut : args.shortcut[0] || ''\n\n return (\n
\n
\n                \n                    <KeyboardShortcut>\n                    
\n   \n {typeof shortcut === 'string' ? (\n shortcut\n ) : (\n <>\n {'{'}\n {JSON.stringify(shortcut)}\n {'}'}\n \n )}\n
\n </KeyboardShortcut>\n
\n
\n

\n On macOS:\n {shortcut}\n

\n

\n Elsewhere:\n {shortcut}\n

\n
\n )\n}"}},KeyboardShortcutPlaygroundStory.parameters);try{KeyboardShortcutPlaygroundStory.displayName="KeyboardShortcutPlaygroundStory",KeyboardShortcutPlaygroundStory.__docgenInfo={description:"",displayName:"KeyboardShortcutPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/KeyboardShortcut.stories.tsx#KeyboardShortcutPlaygroundStory"]={docgenInfo:KeyboardShortcutPlaygroundStory.__docgenInfo,name:"KeyboardShortcutPlaygroundStory",path:"stories/components/KeyboardShortcut.stories.tsx#KeyboardShortcutPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1258:function(module,exports,__webpack_require__){var content=__webpack_require__(1259);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1259:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_keyboard_shortcut {\n font: 11px Menlo, monospace;\n}\n.reactist_keyboard_shortcut > kbd > kbd {\n display: inline-block;\n padding: 3px 5px;\n margin: 0 2px;\n line-height: normal;\n line-height: 10px;\n color: #202020;\n vertical-align: middle;\n background-color: #fafafa;\n border: 1px solid #dcdcdc;\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 #dcdcdc;\n}\n","",{version:3,sources:["webpack://src/components/keyboard-shortcut/keyboard-shortcut.less"],names:[],mappings:"AAEA;EACI,2BAAA;AADJ;AAAA;EAGQ,qBAAA;EACA,gBAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;EACA,sBAAA;EACA,yBAAA;EACA,yBAAA;EACA,kBAAA;EACA,kCAAA;AAAR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_keyboard_shortcut {\n font: 11px Menlo, monospace;\n > kbd > kbd {\n display: inline-block;\n padding: 3px 5px;\n margin: 0 2px;\n line-height: normal;\n line-height: 10px;\n color: @primary_font_color;\n vertical-align: middle;\n background-color: @color_grey_11;\n border: 1px solid @color_border_grey;\n border-radius: 6px;\n box-shadow: inset 0 -1px 0 @color_border_grey;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1260:function(module,exports,__webpack_require__){var content=__webpack_require__(1261);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1261:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.loading .spinner--white {\n background-color: #3f82ef;\n}\n","",{version:3,sources:["webpack://stories/components/styles/loading_story.less"],names:[],mappings:"AAAA;EAEQ,yBAAA;AAAR",sourcesContent:[".story.loading {\n .spinner--white {\n background-color: #3f82ef;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1262:function(module,exports,__webpack_require__){var content=__webpack_require__(1263);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1263:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,"@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.reactist_loading {\n display: flex;\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n flex: 1 1 auto;\n}\n.reactist_loading .reactist_loading--spinner svg {\n animation-name: spinner;\n animation-duration: 1.2s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n}\n","",{version:3,sources:["webpack://src/components/styles/animations.less","webpack://src/components/loading/loading.less"],names:[],mappings:"AAAA;EACI;IACI,UAAA;ECCN;EDCE;IACI,UAAA;ECCN;AACF;ADEA;EACI;IACI,uBAAA;ECAN;EDEE;IACI,yBAAA;ECAN;AACF;AAbA;EACI,aAAA;EACA,mBAAA;EACA,qBAAA;EACA,qBAAA;EACA,uBAAA;EACA,cAAA;AAeJ;AArBA;EASQ,uBAAA;EACA,wBAAA;EACA,mCAAA;EACA,iCAAA;AAeR",sourcesContent:["@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n","@import '../styles/animations.less';\n\n.reactist_loading {\n display: flex;\n align-items: center;\n justify-items: center;\n align-content: center;\n justify-content: center;\n flex: 1 1 auto;\n\n .reactist_loading--spinner svg {\n animation-name: spinner;\n animation-duration: 1.2s;\n animation-iteration-count: infinite;\n animation-timing-function: linear;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1264:function(module,exports,__webpack_require__){var content=__webpack_require__(1265);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1265:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story {\n font-family: Arial;\n}\n.story button[aria-haspopup='menu'] svg {\n fill: currentcolor;\n width: 0.65em;\n height: 0.65em;\n margin-left: 0.5em;\n}\n.story ul {\n list-style: none;\n padding: 0;\n}\n.story .item_box {\n min-width: 300px;\n display: flex;\n border: 1px solid grey;\n padding: 4px 10px;\n margin: 4px 0;\n user-select: none;\n}\n.story .item_box:hover {\n background-color: #efefef;\n}\n.story .item_box.menu_open {\n background-color: #cfcfcf;\n}\n.story .item_box .item_name {\n flex: 1;\n display: flex;\n align-items: center;\n}\n.story .menu_item_icon {\n padding-right: 10px;\n}\n.story .menu_item_label {\n flex: 1;\n}\n","",{version:3,sources:["webpack://stories/components/styles/menu_story.less"],names:[],mappings:"AAAA;EACI,kBAAA;AACJ;AAFA;EAIQ,kBAAA;EACA,aAAA;EACA,cAAA;EACA,kBAAA;AACR;AARA;EAUQ,gBAAA;EACA,UAAA;AACR;AAZA;EAcQ,gBAAA;EACA,aAAA;EACA,sBAAA;EACA,iBAAA;EACA,aAAA;EACA,iBAAA;AACR;AAAQ;EACI,yBAAA;AAEZ;AAAQ;EACI,yBAAA;AAEZ;AA1BA;EA2BY,OAAA;EACA,aAAA;EACA,mBAAA;AAEZ;AA/BA;EAkCQ,mBAAA;AAAR;AAlCA;EAsCQ,OAAA;AADR",sourcesContent:[".story {\n font-family: Arial;\n\n button[aria-haspopup='menu'] svg {\n fill: currentcolor;\n width: 0.65em;\n height: 0.65em;\n margin-left: 0.5em;\n }\n ul {\n list-style: none;\n padding: 0;\n }\n .item_box {\n min-width: 300px;\n display: flex;\n border: 1px solid grey;\n padding: 4px 10px;\n margin: 4px 0;\n user-select: none;\n &:hover {\n background-color: #efefef;\n }\n &.menu_open {\n background-color: #cfcfcf;\n }\n .item_name {\n flex: 1;\n display: flex;\n align-items: center;\n }\n }\n\n .menu_item_icon {\n padding-right: 10px;\n }\n\n .menu_item_label {\n flex: 1;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1268:function(module,exports,__webpack_require__){var content=__webpack_require__(1269);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1269:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_menulist[role='menu'] {\n display: block;\n white-space: nowrap;\n background: hsla(0, 0%, 100%, 0.99);\n outline: none;\n font-size: 0.81rem;\n padding: 4px 0;\n min-width: 180px;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n}\n.reactist_menulist[role='menu'] [role='menuitem'],\n.reactist_menulist[role='menu'] .reactist_menugroup__label {\n user-select: none;\n outline: none;\n text-align: left;\n display: flex;\n align-items: center;\n padding: 5px 10px;\n color: inherit;\n border: none;\n background-color: transparent;\n}\n.reactist_menulist[role='menu'] .reactist_menugroup__label {\n color: #808080;\n font-size: 0.75rem;\n}\n.reactist_menulist[role='menu'] .reactist_submenu_button {\n padding-right: 16px;\n}\n.reactist_menulist[role='menu'] .reactist_submenu_button::after {\n content: '';\n position: absolute;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent #808080;\n display: block;\n width: 0;\n right: 6px;\n}\n.reactist_menulist[role='menu'] [role='menuitem'] {\n width: 100%;\n box-sizing: border-box;\n}\n.reactist_menulist[role='menu'] [role='menuitem']:focus,\n.reactist_menulist[role='menu'] [role='menuitem'][aria-expanded='true'] {\n color: #202020;\n background-color: #ececec;\n}\n.reactist_menulist[role='menu'] [role='menuitem'][aria-disabled='true'],\n.reactist_menulist[role='menu'] [role='menuitem']:disabled {\n color: #808080;\n pointer-events: none;\n}\n.reactist_menulist[role='menu'] a[role='menuitem'] {\n cursor: default;\n text-decoration: none;\n}\n.reactist_menulist[role='menu'] a[role='menuitem']:hover {\n text-decoration: none;\n}\n.reactist_menulist[role='menu'] [role='menu'] {\n margin-top: -5px;\n}\n.reactist_menulist[role='menu'] hr {\n border: none;\n height: 1px;\n background-color: #dcdcdc;\n margin: 4px 0;\n}\n","",{version:3,sources:["webpack://src/components/menu/menu.less"],names:[],mappings:"AAEA;EACI,cAAA;EACA,mBAAA;EACA,mCAAA;EACA,aAAA;EACA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,yBAAA;EACA,kBAAA;AADJ;AARA;;EAaQ,iBAAA;EACA,aAAA;EACA,gBAAA;EACA,aAAA;EACA,mBAAA;EACA,iBAAA;EACA,cAAA;EACA,YAAA;EACA,6BAAA;AADR;AApBA;EAyBQ,cAAA;EACA,kBAAA;AAFR;AAxBA;EA8BQ,mBAAA;AAHR;AA3BA;EAkCQ,WAAA;EACA,kBAAA;EACA,mBAAA;EACA,2BAAA;EACA,iCAAA;EACA,cAAA;EACA,QAAA;EACA,UAAA;AAJR;AArCA;EA6CQ,WAAA;EACA,sBAAA;AALR;AAMQ;;EAEI,cAAA;EACA,yBAAA;AAJZ;AAMQ;;EAEI,cAAA;EACA,oBAAA;AAJZ;AAnDA;EA4DQ,eAAA;EACA,qBAAA;AANR;AAOQ;EACI,qBAAA;AALZ;AA1DA;EAqEQ,gBAAA;AARR;AA7DA;EAyEQ,YAAA;EACA,WAAA;EACA,yBAAA;EACA,aAAA;AATR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_menulist[role='menu'] {\n display: block;\n white-space: nowrap;\n background: hsla(0, 100%, 100%, 0.99);\n outline: none;\n font-size: @smaller_font_size;\n padding: 4px 0;\n min-width: 180px;\n border: 1px solid @color_border_grey;\n border-radius: 3px;\n\n [role='menuitem'],\n .reactist_menugroup__label {\n user-select: none;\n outline: none;\n text-align: left;\n display: flex;\n align-items: center;\n padding: 5px 10px;\n color: inherit;\n border: none;\n background-color: transparent;\n }\n\n .reactist_menugroup__label {\n color: @secondary_font_color;\n font-size: @tiny_font_size;\n }\n\n .reactist_submenu_button {\n padding-right: 16px;\n }\n\n .reactist_submenu_button::after {\n content: '';\n position: absolute;\n border-style: solid;\n border-width: 4px 0 4px 6px;\n border-color: transparent @secondary_font_color;\n display: block;\n width: 0;\n right: 6px;\n }\n\n [role='menuitem'] {\n width: 100%;\n box-sizing: border-box;\n &:focus,\n &[aria-expanded='true'] {\n color: @primary_font_color;\n background-color: @color_grey_10;\n }\n &[aria-disabled='true'],\n &:disabled {\n color: @secondary_font_color;\n pointer-events: none;\n }\n }\n\n a[role='menuitem'] {\n cursor: default;\n text-decoration: none;\n &:hover {\n text-decoration: none;\n }\n }\n\n // sub-menus need to be shifted a bit towards the top to be aligned with its menu item\n [role='menu'] {\n margin-top: -5px;\n }\n\n hr {\n border: none;\n height: 1px;\n background-color: @color_border_grey;\n margin: 4px 0;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1270:function(module,exports,__webpack_require__){var content=__webpack_require__(1271);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1271:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,"[id^='story--'][id$='modal--playground'] .reactist_overlay {\n position: inherit;\n}\n","",{version:3,sources:["webpack://stories/components/styles/modal_story.less"],names:[],mappings:"AAKQ;EACI,iBAAA;AAJZ",sourcesContent:["// We don't want the modal playground to be fixed and in the centre for the docs tab\n// The selector targets just the suffix of the story's id in case we change our\n// stories' hierarchy in the future\n[id^='story--'][id$='modal--playground'] {\n .reactist {\n &_overlay {\n position: inherit;\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1272:function(module,exports,__webpack_require__){var content=__webpack_require__(1273);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1273:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,"@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n.reactist_overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n background: rgba(0, 0, 0, 0.7);\n overflow: auto;\n animation: fadein 0.25s;\n}\n.reactist_overlay_inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 40px 0;\n width: 100%;\n}\n.reactist_modal_box {\n display: flex;\n flex-direction: column;\n overflow: auto;\n overflow-x: hidden;\n width: 580px;\n border-radius: 3px;\n box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);\n}\n.reactist_modal_box.medium {\n width: 680px;\n}\n.reactist_modal_box.large {\n width: 60%;\n max-width: 1000px;\n}\n@media only screen and (max-width: 992px) {\n .reactist_modal_box.large {\n width: calc(100% - 80px);\n }\n}\n@media only screen and (max-width: 992px) {\n .reactist_modal_box {\n width: calc(100% - 80px);\n max-width: 580px;\n }\n}\n.reactist_modal_box__header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n background-color: #f9f9f9;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom: 1px solid #fafafa;\n}\n.reactist_modal_box__header p {\n margin: 0 0 0 25px;\n padding: 10px 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.7;\n}\n.reactist_modal_box__header .title {\n font-size: 1rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.8;\n display: block;\n margin-top: 5px;\n}\n.reactist_modal_box__header .subtitle {\n font-size: 0.81rem;\n color: #808080;\n font-weight: 400;\n line-height: 1.6;\n display: block;\n margin-top: 5px;\n}\n.reactist_modal_box__header a {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n margin-left: auto;\n margin-right: 8px;\n}\n.reactist_modal_box__body {\n flex-grow: 1;\n overflow: auto;\n padding: 20px 25px 25px 25px;\n background-color: white;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n}\n.reactist_modal_box__body.plain {\n padding: 0;\n}\n.reactist_modal_box__body .dialog {\n overflow: auto;\n}\n.reactist_modal_box__body .dialog .reactist_icon {\n width: 42px;\n float: left;\n margin-right: 20px;\n}\n.reactist_modal_box__body .dialog .reactist_icon > * {\n max-height: 42px;\n max-width: 100%;\n}\n.reactist_modal_box__body .dialog .content {\n float: right;\n width: calc(100% - 62px);\n}\n.reactist_modal_box__body .dialog .content h1 {\n margin: 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.7;\n line-height: 1;\n}\n.reactist_modal_box__body:after {\n clear: both;\n content: '';\n display: block;\n}\n.reactist_modal_box__body .close {\n float: right;\n}\n.reactist_modal_box__actions {\n display: flex;\n flex-shrink: 0;\n justify-content: flex-end;\n padding: 20px 25px;\n background-color: white;\n border-top: 1px solid #ececec;\n}\n.reactist_modal_box__actions button {\n margin-left: 10px;\n}\n","",{version:3,sources:["webpack://src/components/styles/animations.less","webpack://src/components/modal/modal.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAAA;EACI;IACI,UAAA;ECCN;EDCE;IACI,UAAA;ECCN;AACF;ADEA;EACI;IACI,uBAAA;ECAN;EDEE;IACI,yBAAA;ECAN;AACF;AAXI;EACI,eAAA;EACA,MAAA;EACA,QAAA;EACA,SAAA;EACA,OAAA;EACA,UAAA;EACA,aAAA;EACA,uBAAA;EACA,8BAAA;EACA,cAAA;EACA,uBAAA;AAaR;AAXQ;EACI,aAAA;EACA,sBAAA;EACA,mBAAA;EACA,uBAAA;EACA,cAAA;EACA,WAAA;AAaZ;AATI;EACI,aAAA;EACA,sBAAA;EACA,cAAA;EACA,kBAAA;EACA,YAAA;EACA,kBAAA;EACA,+CAAA;AAWR;AATQ;EACI,YAAA;AAWZ;AARQ;EACI,UAAA;EACA,iBAAA;AAUZ;AARY;EAAA;IACI,wBAAA;EAWd;AACF;AARQ;EAAA;IACI,wBAAA;IACA,gBAAA;EAWV;AACF;AARI;EACI,aAAA;EACA,cAAA;EACA,mBAAA;EACA,yBAAA;EACA,2BAAA;EACA,4BAAA;EACA,gCAAA;AAUR;AAjBI;EAUQ,kBAAA;EACA,eAAA;EC3BR,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADsCJ;AAzBI;ECxBA,eAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDsCQ,cAAA;EACA,eAAA;AAeZ;AAjCI;ECRA,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ED4BQ,cAAA;EACA,eAAA;AAiBZ;AAzCI;EA4BQ,aAAA;EACA,mBAAA;EACA,uBAAA;EACA,WAAA;EACA,YAAA;EACA,iBAAA;EACA,iBAAA;AAgBZ;AAZI;EACI,YAAA;EACA,cAAA;EACA,4BAAA;EACA,uBAAA;EC1DJ,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADyEJ;AAfQ;EACI,UAAA;AAiBZ;AAzBI;EAYQ,cAAA;AAgBZ;AA5BI;EAeY,WAAA;EACA,WAAA;EACA,kBAAA;AAgBhB;AAdgB;EACI,gBAAA;EACA,eAAA;AAgBpB;AArCI;EA0BY,YAAA;EAEA,wBAAA;AAahB;AAzCI;EAgCgB,SAAA;ECtFhB,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDqFgB,cAAA;AAepB;AATQ;EACI,WAAA;EACA,WAAA;EACA,cAAA;AAWZ;AAtDI;EA+CQ,YAAA;AAUZ;AANI;EACI,aAAA;EACA,cAAA;EACA,yBAAA;EACA,kBAAA;EACA,uBAAA;EACA,6BAAA;AAQR;AAdI;EASQ,iBAAA;AAQZ",sourcesContent:["@keyframes fadein {\n from {\n opacity: 0;\n }\n to {\n opacity: 1;\n }\n}\n\n@keyframes spinner {\n 0% {\n transform: rotate(0deg);\n }\n 100% {\n transform: rotate(360deg);\n }\n}\n","@import '../styles/constants.less';\n@import '../styles/animations.less';\n\n.reactist {\n &_overlay {\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n z-index: 2;\n display: flex;\n justify-content: center;\n background: rgba(0, 0, 0, 0.7);\n overflow: auto;\n animation: fadein 0.25s;\n\n &_inner {\n display: flex;\n flex-direction: column;\n align-items: center;\n justify-content: center;\n margin: 40px 0;\n width: 100%;\n }\n }\n\n &_modal_box {\n display: flex;\n flex-direction: column;\n overflow: auto;\n overflow-x: hidden;\n width: 580px;\n border-radius: 3px;\n box-shadow: 0px 2px 8px 0px rgba(0, 0, 0, 0.16);\n\n &.medium {\n width: 680px;\n }\n\n &.large {\n width: 60%;\n max-width: 1000px;\n\n @media @small_screen {\n width: calc(~'100% - 80px'); // 40px on each side (incl. top via padding)\n }\n }\n\n @media @small_screen {\n width: calc(~'100% - 80px'); // 40px on each side (incl. top via padding)\n max-width: 580px;\n }\n }\n\n &_modal_box__header {\n display: flex;\n flex-shrink: 0;\n align-items: center;\n background-color: @color_grey_9;\n border-top-left-radius: 4px;\n border-top-right-radius: 4px;\n border-bottom: 1px solid @color_grey_11;\n\n p {\n margin: 0 0 0 25px;\n padding: 10px 0;\n .normal_text(@weight: @bold);\n }\n\n .title {\n .heading_two_text();\n display: block;\n margin-top: 5px;\n }\n\n .subtitle {\n .smaller_text(@color: @secondary_font_color);\n display: block;\n margin-top: 5px;\n }\n\n a {\n display: flex;\n align-items: center;\n justify-content: center;\n width: 46px;\n height: 46px;\n margin-left: auto;\n margin-right: 8px;\n }\n }\n\n &_modal_box__body {\n flex-grow: 1;\n overflow: auto;\n padding: 20px 25px 25px 25px;\n background-color: white;\n .normal_text();\n\n &.plain {\n padding: 0;\n }\n\n .dialog {\n overflow: auto; // contain the floating elements correctly\n\n .reactist_icon {\n width: 42px;\n float: left;\n margin-right: 20px;\n\n & > * {\n max-height: 42px;\n max-width: 100%;\n }\n }\n\n .content {\n float: right;\n // modal size minus the (icon + margin)\n width: calc(~'100% - 62px');\n\n // when used as dialog this can be used as header inside the modal body\n h1 {\n margin: 0;\n .normal_text(@weight: @bold);\n line-height: 1;\n }\n }\n }\n\n // used to clear the floating icon while still enabling scrolling\n &:after {\n clear: both;\n content: '';\n display: block;\n }\n\n .close {\n float: right;\n }\n }\n\n &_modal_box__actions {\n display: flex;\n flex-shrink: 0;\n justify-content: flex-end;\n padding: 20px 25px;\n background-color: white;\n border-top: 1px solid @color_grey_10;\n\n button {\n margin-left: 10px;\n }\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1274:function(module,exports,__webpack_require__){var content=__webpack_require__(1275);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1275:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".notification-story-notification-dot {\n box-sizing: border-box;\n display: flex;\n width: 22px;\n padding-top: 4px;\n}\n.notification-story-notification-dot:before {\n content: '';\n display: block;\n background-color: #70bc1c;\n width: 8px;\n height: 8px;\n border-radius: 8px;\n}\n.notification-story-notification-container {\n width: 360px;\n max-width: none;\n}\n.notification-story-content {\n margin-left: 10px;\n}\n.notification-story-text {\n text-align: left;\n margin: 0 0 4px 0;\n color: #808080;\n}\n.notification-story-heading {\n text-align: left;\n display: flex;\n justify-content: space-between;\n margin: 0;\n color: #de4c4a;\n}\n.notification-story-avatar-container {\n margin-right: 12px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/notification_story.less"],names:[],mappings:"AAEA;EACI,sBAAA;EACA,aAAA;EACA,WAAA;EACA,gBAAA;AADJ;AAGI;EACI,WAAA;EACA,cAAA;EACA,yBAAA;EACA,UAAA;EACA,WAAA;EACA,kBAAA;AADR;AAKA;EACI,YAAA;EACA,eAAA;AAHJ;AAMA;EACI,iBAAA;AAJJ;AAOA;EACI,gBAAA;EACA,iBAAA;EACA,cAAA;AALJ;AAQA;EACI,gBAAA;EACA,aAAA;EACA,8BAAA;EACA,SAAA;EACA,cAAA;AANJ;AASA;EACI,kBAAA;AAPJ",sourcesContent:["@import '../../../src/components/styles/constants.less';\n\n.notification-story-notification-dot {\n box-sizing: border-box;\n display: flex;\n width: 22px;\n padding-top: 4px;\n\n &:before {\n content: '';\n display: block;\n background-color: @color_green;\n width: 8px;\n height: 8px;\n border-radius: 8px;\n }\n}\n\n.notification-story-notification-container {\n width: 360px;\n max-width: none;\n}\n\n.notification-story-content {\n margin-left: 10px;\n}\n\n.notification-story-text {\n text-align: left;\n margin: 0 0 4px 0;\n color: @secondary_font_color;\n}\n\n.notification-story-heading {\n text-align: left;\n display: flex;\n justify-content: space-between;\n margin: 0;\n color: @color_red;\n}\n\n.notification-story-avatar-container {\n margin-right: 12px;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1276:function(module,exports,__webpack_require__){var content=__webpack_require__(1277);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1277:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist-notification {\n display: flex;\n position: relative;\n font-size: 0.875rem;\n}\n.reactist-notification:not(.reactist-notification--with-button) {\n box-sizing: border-box;\n justify-content: space-between;\n align-items: flex-start;\n padding: 10px 14px;\n border: 1px solid #dcdcdc;\n border-radius: 5px;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n background: #fff;\n}\n.reactist-notification__button,\n.reactist-notification__close-button {\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n transition-property: background-color;\n transition-duration: 300ms;\n background: #fff;\n}\n.reactist-notification__button:hover,\n.reactist-notification__close-button:hover {\n background: #ececec;\n}\n.reactist-notification__button {\n box-sizing: border-box;\n justify-content: space-between;\n align-items: flex-start;\n padding: 10px 14px;\n border: 1px solid #dcdcdc;\n border-radius: 5px;\n box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n background: #fff;\n display: flex;\n flex: 1;\n}\n.reactist-notification__button:hover + .reactist-notification__close-button {\n background: #ececec;\n}\n.reactist-notification__close-button {\n position: absolute;\n top: 8px;\n right: 8px;\n border-radius: 5px;\n}\n.reactist-notification__close-button > * {\n display: block;\n}\n.reactist-notification__icon-content-group {\n display: flex;\n flex: 1;\n}\n.reactist-notification--with-close-button .reactist-notification__icon-content-group {\n padding-right: 24px;\n}\n.reactist-notification__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n.reactist-notification__title {\n margin: 0 0 3px 0;\n font-size: 0.875rem;\n text-align: left;\n}\n.reactist-notification__subtitle {\n font-size: 0.81rem;\n margin: 0;\n}\n","",{version:3,sources:["webpack://src/components/notification/notification.less"],names:[],mappings:"AAaA;EACI,aAAA;EACA,kBAAA;EACA,mBAAA;AAZJ;AAcI;EAfA,sBAAA;EACA,8BAAA;EACA,uBAAA;EACA,kBAAA;EACA,yBAAA;EACA,kBAAA;EACA,2CAAA;EACA,gBAAA;AAIJ;AASA;;EAEI,SAAA;EACA,UAAA;EACA,SAAA;EACA,eAAA;EACA,qCAAA;EACA,0BAAA;EACA,gBAAA;AAPJ;AASI;;EACI,mBAAA;AANR;AAUA;EAnCI,sBAAA;EACA,8BAAA;EACA,uBAAA;EACA,kBAAA;EACA,yBAAA;EACA,kBAAA;EACA,2CAAA;EACA,gBAAA;EA8BA,aAAA;EACA,OAAA;AADJ;AAGI;EACI,mBAAA;AADR;AAKA;EACI,kBAAA;EACA,QAAA;EACA,UAAA;EACA,kBAAA;AAHJ;AADA;EAOQ,cAAA;AAHR;AAOA;EACI,aAAA;EACA,OAAA;AALJ;AAQA;EAEQ,mBAAA;AAPR;AAWA;EACI,aAAA;EACA,sBAAA;EACA,uBAAA;AATJ;AAYA;EACI,iBAAA;EACA,mBAAA;EACA,gBAAA;AAVJ;AAaA;EACI,kBAAA;EACA,SAAA;AAXJ",sourcesContent:["@import '../styles/constants.less';\n\n.container-style() {\n box-sizing: border-box;\n justify-content: space-between;\n align-items: flex-start;\n padding: 10px 14px;\n border: 1px solid @color_border_grey;\n border-radius: @default-radius;\n box-shadow: @default-box-shadow;\n background: #fff;\n}\n\n.reactist-notification {\n display: flex;\n position: relative;\n font-size: @normal_font_size;\n\n &:not(.reactist-notification--with-button) {\n .container-style();\n }\n}\n\n.reactist-notification__button,\n.reactist-notification__close-button {\n border: 0;\n padding: 0;\n margin: 0;\n cursor: pointer;\n transition-property: background-color;\n transition-duration: @standard-timing;\n background: #fff;\n\n &:hover {\n background: @color_grey_10;\n }\n}\n\n.reactist-notification__button {\n .container-style();\n display: flex;\n flex: 1;\n\n &:hover + .reactist-notification__close-button {\n background: @color_grey_10;\n }\n}\n\n.reactist-notification__close-button {\n position: absolute;\n top: 8px;\n right: 8px;\n border-radius: @default-radius;\n\n > * {\n display: block;\n }\n}\n\n.reactist-notification__icon-content-group {\n display: flex;\n flex: 1;\n}\n\n.reactist-notification--with-close-button {\n .reactist-notification__icon-content-group {\n padding-right: 24px;\n }\n}\n\n.reactist-notification__content {\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n}\n\n.reactist-notification__title {\n margin: 0 0 3px 0;\n font-size: @normal_font_size;\n text-align: left;\n}\n\n.reactist-notification__subtitle {\n font-size: @smaller_font_size;\n margin: 0;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1278:function(module,exports,__webpack_require__){var content=__webpack_require__(1279);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1279:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_tip {\n width: 250px;\n padding: 10px 20px;\n}\n.reactist_tip__container {\n width: 20px;\n height: 20px;\n}\n.reactist_tip--title {\n margin: 0 0 10px 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 700;\n line-height: 1.7;\n}\n.reactist_tip--message {\n margin: 0;\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n}\n","",{version:3,sources:["webpack://src/components/tip/tip.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;EAMI,YAAA;EACA,kBAAA;AANJ;AAAI;EACI,WAAA;EACA,YAAA;AAER;AAII;EACI,kBAAA;EC2BJ,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;AD5BJ;AACI;EACI,SAAA;ECuBJ,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADrBJ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_tip {\n &__container {\n width: 20px;\n height: 20px;\n }\n\n width: 250px;\n padding: 10px 20px;\n\n &--title {\n margin: 0 0 10px 0;\n .normal_text(@weight: @bold);\n }\n &--message {\n margin: 0;\n .normal_text();\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1280:function(module,exports,__webpack_require__){var content=__webpack_require__(1281);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1281:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_progress_bar {\n margin: 10px 0;\n}\n","",{version:3,sources:["webpack://stories/components/styles/progressbar_story.less"],names:[],mappings:"AAAA;EACI,cAAA;AACJ",sourcesContent:[".reactist_progress_bar {\n margin: 10px 0;\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1282:function(module,exports,__webpack_require__){var content=__webpack_require__(1283);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1283:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_progress_bar {\n height: 4px;\n border-radius: 3px;\n background-color: #ececec;\n width: 100%;\n}\n.reactist_progress_bar .inner {\n height: inherit;\n border-radius: 4px;\n background-color: #70bc1c;\n}\n","",{version:3,sources:["webpack://src/components/progress-bar/progress-bar.less"],names:[],mappings:"AAEA;EACI,WAAA;EACA,kBAAA;EACA,yBAAA;EACA,WAAA;AADJ;AAHA;EAOQ,eAAA;EACA,kBAAA;EACA,yBAAA;AADR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_progress_bar {\n height: 4px;\n border-radius: 3px;\n background-color: @color_grey_10;\n width: 100%;\n\n .inner {\n height: inherit;\n border-radius: 4px;\n background-color: @color_green;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1284:function(module,exports,__webpack_require__){var content=__webpack_require__(1285);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1285:function(module,exports,__webpack_require__){var ___CSS_LOADER_API_IMPORT___=__webpack_require__(50),___CSS_LOADER_GET_URL_IMPORT___=__webpack_require__(431),___CSS_LOADER_URL_IMPORT_0___=__webpack_require__(1286),___CSS_LOADER_URL_IMPORT_1___=__webpack_require__(1287),___CSS_LOADER_EXPORT___=___CSS_LOADER_API_IMPORT___(!0),___CSS_LOADER_URL_REPLACEMENT_0___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_0___),___CSS_LOADER_URL_REPLACEMENT_1___=___CSS_LOADER_GET_URL_IMPORT___(___CSS_LOADER_URL_IMPORT_1___);___CSS_LOADER_EXPORT___.push([module.i,".reactist_range_input .range_btn {\n height: 30px;\n width: 30px;\n background-size: 20px;\n display: inline-block;\n background-position: center;\n background-repeat: no-repeat;\n}\n.reactist_range_input .range_btn.plus {\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_0___+");\n}\n.reactist_range_input .range_btn.minus {\n background-image: url("+___CSS_LOADER_URL_REPLACEMENT_1___+");\n}\n.reactist_range_input .range_btn:hover {\n cursor: pointer;\n}\n.reactist_range_input input[type='range'] {\n -webkit-appearance: none;\n width: 200px;\n height: 30px;\n}\n.reactist_range_input input[type='range']:focus {\n outline: none;\n}\n.reactist_range_input input[type='range']::-webkit-slider-runnable-track {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #808080;\n}\n.reactist_range_input input[type='range']::-webkit-slider-thumb {\n box-sizing: border-box;\n border: 1px solid #3f82ef;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: white;\n cursor: pointer;\n -webkit-appearance: none;\n margin-top: -9px;\n}\n.reactist_range_input input[type='range']:focus::-webkit-slider-runnable-track {\n background: #8d8d8d;\n}\n.reactist_range_input input[type='range']::-moz-range-track {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #808080;\n}\n.reactist_range_input input[type='range']::-moz-range-thumb {\n box-sizing: border-box;\n border: 1px solid #3f82ef;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: white;\n cursor: pointer;\n}\n.reactist_range_input input[type='range']::-ms-track {\n background: transparent;\n border-color: transparent;\n border-width: 20px 0;\n color: transparent;\n}\n.reactist_range_input input[type='range']::-ms-fill-lower {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #737373;\n}\n.reactist_range_input input[type='range']::-ms-fill-upper {\n width: 200px;\n height: 2px;\n cursor: pointer;\n animate: 0.2s;\n background: #808080;\n}\n.reactist_range_input input[type='range']::-ms-thumb {\n box-sizing: border-box;\n border: 1px solid #3f82ef;\n height: 20px;\n width: 20px;\n border-radius: 50%;\n background: white;\n cursor: pointer;\n}\n.reactist_range_input input[type='range']:focus::-ms-fill-lower {\n background: #808080;\n}\n.reactist_range_input input[type='range']:focus::-ms-fill-upper {\n background: #8d8d8d;\n}\n","",{version:3,sources:["webpack://src/components/range-input/range-input.less"],names:[],mappings:"AAEA;EAKQ,YAAA;EACA,WAAA;EACA,qBAAA;EACA,qBAAA;EACA,2BAAA;EACA,4BAAA;AALR;AAMQ;EACI,yDAAA;AAJZ;AAMQ;EACI,yDAAA;AAJZ;AAMQ;EACI,eAAA;AAJZ;AAdA;EAuDQ,wBAAA;EACA,YAAA;EACA,YAAA;AAtCR;AAwCQ;EACI,aAAA;AAtCZ;AAyCQ;EAzBA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EAwBI,mBAAA;AApCZ;AAuCQ;EAvBA,sBAAA;EACA,yBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,iBAAA;EACA,eAAA;EAmBI,wBAAA;EACA,gBAAA;AA/BZ;AAkCQ;EACI,mBAAA;AAhCZ;AAmCQ;EAxCA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EAuCI,mBAAA;AA9BZ;AAgCQ;EArCA,sBAAA;EACA,yBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,iBAAA;EACA,eAAA;AAQR;AA2BQ;EACI,uBAAA;EACA,yBAAA;EACA,oBAAA;EACA,kBAAA;AAzBZ;AA4BQ;EAvDA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EAsDI,mBAAA;AAvBZ;AAyBQ;EA3DA,YAAA;EACA,WAAA;EACA,eAAA;EACA,aAAA;EA0DI,mBAAA;AApBZ;AAsBQ;EAxDA,sBAAA;EACA,yBAAA;EACA,YAAA;EACA,WAAA;EACA,kBAAA;EACA,iBAAA;EACA,eAAA;AAqCR;AAgBQ;EACI,mBAAA;AAdZ;AAgBQ;EACI,mBAAA;AAdZ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_range_input {\n @range-height: 30px;\n @button-size: 20px;\n\n .range_btn {\n height: @range-height;\n width: @range-height;\n background-size: @button-size;\n display: inline-block;\n background-position: center;\n background-repeat: no-repeat;\n &.plus {\n background-image: url('../icons/plus.svg');\n }\n &.minus {\n background-image: url('../icons/minus.svg');\n }\n &:hover {\n cursor: pointer;\n }\n }\n\n // https://css-tricks.com/styling-cross-browser-compatible-range-inputs-css/\n @track-color: @secondary_font_color;\n @thumb-color: white;\n\n @thumb-radius: 50%;\n @thumb-height: @button-size;\n @thumb-width: @button-size;\n @thumb-border-width: 1px;\n @thumb-border-color: @primary_color;\n\n @track-width: 200px;\n @track-height: 2px;\n\n @contrast: 5%;\n\n .track() {\n width: @track-width;\n height: @track-height;\n cursor: pointer;\n animate: 0.2s;\n }\n\n .thumb() {\n box-sizing: border-box;\n border: @thumb-border-width solid @thumb-border-color;\n height: @thumb-height;\n width: @thumb-width;\n border-radius: @thumb-radius;\n background: @thumb-color;\n cursor: pointer;\n }\n\n input[type='range'] {\n -webkit-appearance: none;\n width: @track-width;\n height: @range-height;\n\n &:focus {\n outline: none;\n }\n\n &::-webkit-slider-runnable-track {\n .track();\n background: @track-color;\n }\n\n &::-webkit-slider-thumb {\n .thumb();\n -webkit-appearance: none;\n margin-top: (@track-height / 2) - (@thumb-height / 2);\n }\n\n &:focus::-webkit-slider-runnable-track {\n background: lighten(@track-color, @contrast);\n }\n\n &::-moz-range-track {\n .track();\n background: @track-color;\n }\n &::-moz-range-thumb {\n .thumb();\n }\n\n &::-ms-track {\n background: transparent;\n border-color: transparent;\n border-width: @thumb-width 0;\n color: transparent;\n }\n\n &::-ms-fill-lower {\n .track();\n background: darken(@track-color, @contrast);\n }\n &::-ms-fill-upper {\n .track();\n background: @track-color;\n }\n &::-ms-thumb {\n .thumb();\n }\n &:focus::-ms-fill-lower {\n background: @track-color;\n }\n &:focus::-ms-fill-upper {\n background: lighten(@track-color, @contrast);\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1286:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/plus.daa8a941.svg';"},1287:function(module,exports){module.exports="data:image/svg+xml,export default __webpack_public_path__ + 'static/media/minus.c999e684.svg';"},1288:function(module,exports,__webpack_require__){var content=__webpack_require__(1289);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1289:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_select {\n font-size: 0.875rem;\n color: #202020;\n font-weight: 400;\n line-height: 1.7;\n background-color: white;\n border: 1px solid #dcdcdc;\n border-radius: 3px;\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n padding: 5px 25px 5px 10px;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDggMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJub256ZXJvIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgb3BhY2l0eT0iLjgiPgogICAgPHBhdGggZD0iTTEgM2wzLTMgMyAzTTEgN2wzIDMgMy0zIi8+CiAgPC9nPgo8L3N2Zz4K');\n background-position: calc(100% - 11px) center;\n background-repeat: no-repeat;\n background-size: 8px 11px;\n}\n.reactist_select.disabled {\n background-color: #fafafa;\n}\n.reactist_select:focus {\n outline: none;\n border: 1px solid #3f82ef;\n}\n","",{version:3,sources:["webpack://src/components/select/select.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqCI,mBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;EDtCA,uBAAA;EACA,yBAAA;EACA,kBAAA;EAGA,qBAAA;EACA,wBAAA;EACA,gBAAA;EACA,SAAA;EACA,0BAAA;EACA,+XAAA;EACA,6CAAA;EACA,4BAAA;EACA,yBAAA;AAAJ;AAEI;EACI,yBAAA;AAAR;AAEI;EACI,aAAA;EACA,yBAAA;AAAR",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_select {\n .normal_text();\n background-color: white;\n border: 1px solid @color_border_grey;\n border-radius: 3px;\n\n // nuke the browser styles\n -moz-appearance: none;\n -webkit-appearance: none;\n appearance: none;\n margin: 0;\n padding: 5px 25px 5px 10px;\n background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iOCIgaGVpZ2h0PSIxMCIgdmlld0JveD0iMCAwIDggMTAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+CiAgPGcgZmlsbD0ibm9uZSIgZmlsbC1ydWxlPSJub256ZXJvIiBzdHJva2U9IiMwMDAiIHN0cm9rZS1saW5lY2FwPSJyb3VuZCIgc3Ryb2tlLWxpbmVqb2luPSJyb3VuZCIgb3BhY2l0eT0iLjgiPgogICAgPHBhdGggZD0iTTEgM2wzLTMgMyAzTTEgN2wzIDMgMy0zIi8+CiAgPC9nPgo8L3N2Zz4K');\n background-position: calc(~'100% - 11px') center;\n background-repeat: no-repeat;\n background-size: 8px 11px;\n\n &.disabled {\n background-color: @color_grey_11;\n }\n &:focus {\n outline: none;\n border: 1px solid @primary_color;\n }\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1290:function(module,exports,__webpack_require__){var content=__webpack_require__(1291);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1291:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.time div span {\n display: inline-block;\n width: 160px;\n text-align: right;\n font-weight: 600;\n margin-right: 16px;\n}\n.story.time div time {\n text-align: left;\n}\n","",{version:3,sources:["webpack://stories/components/styles/time_story.less"],names:[],mappings:"AAAA;EAEQ,qBAAA;EACA,YAAA;EACA,iBAAA;EACA,gBAAA;EACA,kBAAA;AAAR;AANA;EASQ,gBAAA;AAAR",sourcesContent:[".story.time div {\n span {\n display: inline-block;\n width: 160px;\n text-align: right;\n font-weight: 600;\n margin-right: 16px;\n }\n time {\n text-align: left;\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1292:function(module,exports,__webpack_require__){var content=__webpack_require__(1293);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1293:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".reactist_time {\n font-size: 0.75rem;\n color: #808080;\n font-weight: 400;\n line-height: 1.8;\n}\n.reactist_tooltip .reactist_time:hover {\n text-decoration: underline;\n}\n","",{version:3,sources:["webpack://src/components/time/time.less","webpack://src/components/styles/constants.less"],names:[],mappings:"AAEA;ECqDI,kBAAA;EACA,cAAA;EACA,gBAAA;EACA,gBAAA;ADrDJ;AACA;EACI,0BAAA;AACJ",sourcesContent:["@import '../styles/constants.less';\n\n.reactist_time {\n .tiny_text();\n}\n\n.reactist_tooltip .reactist_time:hover {\n text-decoration: underline;\n}\n","// Colors /////////////////////////////////////////////////////////////////////\n@primary_color: #3f82ef;\n@primary_color_lighter: #e7f3fd;\n@primary_color_darker: #3b7be2;\n@primary_font_color: #202020;\n@secondary_font_color: #808080;\n@color_grey_5: #b3b3b3;\n@color_grey_9: #f9f9f9;\n@color_grey_10: #ececec;\n@color_grey_11: #fafafa;\n@color_border_grey: #dcdcdc;\n@color_almost_black: #333333;\n@color_red: #de4c4a;\n@color_green: #70bc1c;\n\n// Typography /////////////////////////////////////////////////////////////////\n// weights\n@normal: 400;\n@semi_bold: 600;\n@bold: 700;\n\n// font sizes\n@normal_font_size: 0.875rem;\n@smaller_font_size: 0.81rem;\n@tiny_font_size: 0.75rem;\n@heading_one_font_size: 1.25rem;\n@heading_two_font_size: 1rem;\n@subheading_font_size: 0.69rem;\n\n// heading two text\n.heading_two_text(@color: @primary_font_color, @weight: @bold) {\n font-size: @heading_two_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// normal text\n.normal_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @normal_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.7;\n}\n\n// smaller text\n.smaller_text(@color: @primary_font_color, @weight: @normal) {\n font-size: @smaller_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.6;\n}\n\n// tiny text\n.tiny_text(@color: @secondary_font_color, @weight: @normal) {\n font-size: @tiny_font_size;\n color: @color;\n font-weight: @weight;\n line-height: 1.8;\n}\n\n// Border radius ////////////////////////////////////////////////////////////////////\n@default-radius: 5px;\n\n// Box shadow ////////////////////////////////////////////////////////////////////\n@default-box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.08);\n\n// Z-Index ////////////////////////////////////////////////////////////////////\n@z-index-tooltip: 1000;\n\n// Break points ///////////////////////////////////////////////////////////////\n@small_screen: ~'only screen and (max-width: 992px)';\n\n// Transition timing ///////////////////////////////////////////////////////////////\n@standard-timing: 300ms;\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1294:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"TipStory",(function(){return TipStory})),__webpack_require__.d(__webpack_exports__,"TipPlaygroundStory",(function(){return TipPlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(1295);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_src_components_tip__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(233);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n

Tip

\n \n
\n)'}},TipStory.parameters),TipPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},TipPlaygroundStory.parameters);try{TipPlaygroundStory.displayName="TipPlaygroundStory",TipPlaygroundStory.__docgenInfo={description:"",displayName:"TipPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Tip.stories.tsx#TipPlaygroundStory"]={docgenInfo:TipPlaygroundStory.__docgenInfo,name:"TipPlaygroundStory",path:"stories/components/Tip.stories.tsx#TipPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1295:function(module,exports,__webpack_require__){var content=__webpack_require__(1296);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1296:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.tip .reactist_tip__container {\n margin-left: 250px;\n}\n","",{version:3,sources:["webpack://stories/components/styles/tip_story.less"],names:[],mappings:"AAAA;EAEQ,kBAAA;AAAR",sourcesContent:[".story.tip {\n .reactist_tip__container {\n margin-left: 250px; // width of the tip\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1297:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"TooltipPlaygroundStory",(function(){return TooltipPlaygroundStory}));__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(1298);var react__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_11__),_src_components_tooltip__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(1328),_src_components_button__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(31);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i {\n return (\n
\n \n \n \n \n
\n )\n}'}},TooltipPlaygroundStory.parameters);try{TooltipPlaygroundStory.displayName="TooltipPlaygroundStory",TooltipPlaygroundStory.__docgenInfo={description:"",displayName:"TooltipPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Tooltip.stories.tsx#TooltipPlaygroundStory"]={docgenInfo:TooltipPlaygroundStory.__docgenInfo,name:"TooltipPlaygroundStory",path:"stories/components/Tooltip.stories.tsx#TooltipPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1298:function(module,exports,__webpack_require__){var content=__webpack_require__(1299);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1299:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".story.tooltip input,\n.story.tooltip button {\n display: block;\n text-align: center;\n}\n.story.tooltip input {\n margin: 0 auto;\n width: 400px;\n}\n.story.tooltip button {\n width: 250px;\n margin: 100px auto;\n padding: 100px 10px;\n border: 1px solid black;\n background-color: palegreen;\n}\n.story.tooltip button:hover,\n.story.tooltip button:focus {\n background-color: lightblue;\n}\n","",{version:3,sources:["webpack://stories/components/styles/tooltip_story.less"],names:[],mappings:"AAAA;;EAGQ,cAAA;EACA,kBAAA;AAAR;AAJA;EAOQ,cAAA;EACA,YAAA;AAAR;AARA;EAWQ,YAAA;EACA,kBAAA;EACA,mBAAA;EACA,uBAAA;EACA,2BAAA;AAAR;AACQ;;EAEI,2BAAA;AACZ",sourcesContent:[".story.tooltip {\n input,\n button {\n display: block;\n text-align: center;\n }\n input {\n margin: 0 auto;\n width: 400px;\n }\n button {\n width: 250px;\n margin: 100px auto;\n padding: 100px 10px;\n border: 1px solid black;\n background-color: palegreen;\n &:hover,\n &:focus {\n background-color: lightblue;\n }\n }\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1300:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Colors",(function(){return Colors}));__webpack_require__(20),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_10___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_10__),_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(11),_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(40),_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(44),_src_new_components_box__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(60);__webpack_require__(1301);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_exports__.default={title:"Design tokens/Colors"};var frameworkFillColors=["--reactist-framework-fill-accent","--reactist-framework-fill-aside","--reactist-framework-fill-background","--reactist-framework-fill-base","--reactist-framework-fill-crater","--reactist-framework-fill-crest","--reactist-framework-fill-elevated","--reactist-framework-fill-selected","--reactist-framework-fill-highlight","--reactist-framework-fill-ledge","--reactist-framework-fill-peak","--reactist-framework-fill-pinnacle","--reactist-framework-fill-ridge","--reactist-framework-fill-summit"],frameworkSeparatorColors=["--reactist-framework-separator"],frameworkBorderColors=["--reactist-framework-border","--reactist-framework-border-focus","--reactist-framework-border-alpha"],contentColors=["--reactist-content-primary","--reactist-content-secondary","--reactist-content-tertiary","--reactist-content-quaternary","--reactist-content-light-on-dark"],chromaticFillColors=["--reactist-chromatic-fill-red","--reactist-chromatic-fill-orange","--reactist-chromatic-fill-green","--reactist-chromatic-fill-teal","--reactist-chromatic-fill-blue","--reactist-chromatic-fill-purple","--reactist-chromatic-fill-charcoal","--reactist-chromatic-fill-grey","--reactist-chromatic-fill-midnight"],chromaticContentColors=["--reactist-chromatic-content-red","--reactist-chromatic-content-orange","--reactist-chromatic-content-green","--reactist-chromatic-content-green-background","--reactist-chromatic-content-green-background-highlight","--reactist-chromatic-content-teal","--reactist-chromatic-content-blue","--reactist-chromatic-content-purple","--reactist-chromatic-content-charcoal","--reactist-chromatic-content-grey"],chromaticHighlightColors=["--reactist-chromatic-highlight-blue","--reactist-chromatic-highlight-green","--reactist-chromatic-highlight-red"];function Swatch(_ref){var color=_ref.color;return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__.b,{key:color,alignY:"center",space:"small"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__.a,{width:"content"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_box__WEBPACK_IMPORTED_MODULE_14__.a,{style:{background:"var(".concat(color,")")},className:"color_swatch"})),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_columns__WEBPACK_IMPORTED_MODULE_11__.a,null,react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement("code",{className:"color_swatch__css_variable"},color)))}Swatch.displayName="Swatch";var Colors=function Colors(){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"xlarge",className:"story"},react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:1,size:"larger"},"Framework"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Framework-Fill"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},frameworkFillColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Framework-Separator"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},frameworkSeparatorColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Framework-Border"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},frameworkBorderColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:1,size:"larger"},"Content"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},contentColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:1,size:"larger"},"Chromatic"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Chromatic-Fill"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},chromaticFillColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Chromatic-Content"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},chromaticContentColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_heading__WEBPACK_IMPORTED_MODULE_13__.a,{level:2},"Chromatic-Highlight"),react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(_src_new_components_stack__WEBPACK_IMPORTED_MODULE_12__.a,{space:"small"},chromaticHighlightColors.map((function(color){return react__WEBPACK_IMPORTED_MODULE_10___default.a.createElement(Swatch,{color:color,key:color})}))))};Colors.displayName="Colors",Colors.parameters=function _objectSpread(target){for(var i=1;i\n \n Framework\n \n\n Framework-Fill\n \n {frameworkFillColors.map((color) => (\n \n ))}\n \n\n Framework-Separator\n \n {frameworkSeparatorColors.map((color) => (\n \n ))}\n \n\n Framework-Border\n \n {frameworkBorderColors.map((color) => (\n \n ))}\n \n\n \n Content\n \n \n {contentColors.map((color) => (\n \n ))}\n \n\n \n Chromatic\n \n\n Chromatic-Fill\n \n {chromaticFillColors.map((color) => (\n \n ))}\n \n\n Chromatic-Content\n \n {chromaticContentColors.map((color) => (\n \n ))}\n \n\n Chromatic-Highlight\n \n {chromaticHighlightColors.map((color) => (\n \n ))}\n \n \n )\n}'}},Colors.parameters)},1301:function(module,exports,__webpack_require__){var content=__webpack_require__(1302);"string"==typeof content&&(content=[[module.i,content,""]]);var options={hmr:!0,transform:void 0,insertInto:void 0};__webpack_require__(51)(content,options);content.locals&&(module.exports=content.locals)},1302:function(module,exports,__webpack_require__){var ___CSS_LOADER_EXPORT___=__webpack_require__(50)(!0);___CSS_LOADER_EXPORT___.push([module.i,".color_swatch {\n width: 32px;\n height: 32px;\n border: 1px solid var(--reactist-framework-border);\n border-radius: var(--reactist-border-radius-small);\n}\n.color_swatch__css_variable {\n padding: 4px;\n border-radius: var(--reactist-border-radius-small);\n border: 1px solid var(--reactist-framework-border);\n background: var(--reactist-framework-fill-background);\n}\n","",{version:3,sources:["webpack://stories/components/styles/color-story.less"],names:[],mappings:"AAAA;EACI,WAAA;EACA,YAAA;EACA,kDAAA;EACA,kDAAA;AACJ;AAEA;EACI,YAAA;EACA,kDAAA;EACA,kDAAA;EACA,qDAAA;AAAJ",sourcesContent:[".color_swatch {\n width: 32px;\n height: 32px;\n border: 1px solid var(--reactist-framework-border);\n border-radius: var(--reactist-border-radius-small);\n}\n\n.color_swatch__css_variable {\n padding: 4px;\n border-radius: var(--reactist-border-radius-small);\n border: 1px solid var(--reactist-framework-border);\n background: var(--reactist-framework-fill-background);\n}\n"],sourceRoot:""}]),module.exports=___CSS_LOADER_EXPORT___},1303:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"__page",(function(){return __page}));__webpack_require__(8),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(0);var _mdx_js_react__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(1),_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(17);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var layoutProps={};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.e,{title:"Reactist",mdxType:"Meta"}),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"welcome"},"Welcome"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Open source React components made with ❤️ by Doist."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"how-to-use"},"How to use"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"You can add Reactist to your project by installing it from npm:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm install @doist/reactist"),"\nIf you prefer to include static files, download the latest tarball from the ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("a",{parentName:"p",href:"https://github.com/Doist/reactist/packages/60435",target:"_blank",rel:"nofollow noopener noreferrer"},"package page")," and include the following files in your project:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"/dist/reactist.cjs.production.min.js"),"\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"/styles/reactist.css")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"A detailed explanation and examples on how to use each component can be accessed by clicking on the component name on the left."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"development"},"Development"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"First clone the repository to your local machine by running:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"git clone git@github.com:Doist/reactist.git"),"\nWe identified two major modes of development for Reactist. First, running an interactive storybook and see the changes you make to a component in an isolated environment. This is especially helpful when developing new components. And second, improving existing components in real-life applications."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h4",{id:"storybook"},"Storybook"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"For the first development mode run:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm run storybook"),"\nThis boots up a development server with hot reloading on http://localhost:6006. You can iterate on the components in the existing stories or add a completely new one."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h4",{id:"inside-your-application"},"Inside your application"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"For the second development mode you can leverage\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm link"),"\nFirst run:\n",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("inlineCode",{parentName:"p"},"npm run start"),"\nthis will update the build artifacts whenever you change something.\nIn your real application you need to first delete the current ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("em",{parentName:"p"},"@doist/reactist")," dependency and then link to your local one."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"cd ~/your-app\n# delete current reactist dependency\nrm -rf ./node_modules/@doist/reactist\n\n# link local reactist version\nnpm link ../reactist\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"The relative path to reactist may need to be changed to match your local environment."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"To undo the changes and switch back to the reactist version from npm do the following:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"cd ~/your-app\n# first remove linked reactist dependency\nrm -rf ./node_modules/@doist/reactist\n\n# re-install reactist from npm (-E avoids updating the version / package-lock.json)\nnpm install -E @doist/reactist\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h3",{id:"development-tips-and-tricks"},"Development tips and tricks"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Independent of the development you operate in to produce a new build (e.g. before submitting a PR) run:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run build\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"Note:")," This will ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"not")," update the docs. In case you want to update the docs you need to run:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run build-storybook\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"You can run our eslint checks with"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run check\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"It is mandatory to fix all linting errors before you make a pull request."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("strong",{parentName:"p"},"Tip:")," You can fix most of the errors automatically by running:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run check -- --fix\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("h2",{id:"testing"},"Testing"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"Tests are executed with jest or by running:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run test\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"During development you may find it beneficial to continuously execute the tests. This works by running:"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"npm run test-watch\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"This also prints the current test coverage."),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"MacOS users might need to upgrade watchman with"),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("pre",null,Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("code",{parentName:"pre"},"brew install watchman\n")),Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("p",null,"when experiencing troubles with the watch mode. See this issue for details: ",Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)("a",{parentName:"p",href:"https://github.com/facebook/jest/issues/1767",target:"_blank",rel:"nofollow noopener noreferrer"},"https://github.com/facebook/jest/issues/1767")))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var __page=function __page(){throw new Error("Docs-only story")};__page.parameters={docsOnly:!0};var componentMeta={title:"Reactist",includeStories:["__page"]},mdxStoryNameToKey={};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(_storybook_addon_docs_blocks__WEBPACK_IMPORTED_MODULE_6__.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(_mdx_js_react__WEBPACK_IMPORTED_MODULE_5__.b)(MDXContent,null))}}),__webpack_exports__.default=componentMeta},1306:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return password_field_stories_InteractivePropsStory}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),useForkRef=(__webpack_require__(124),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(12),__webpack_require__(99),__webpack_require__(52)),tooltip=__webpack_require__(1328),base_field=__webpack_require__(1352),box=__webpack_require__(60),common_helpers=__webpack_require__(192);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var password_field_PasswordField=react.forwardRef((function PasswordField(_ref,ref){var label=_ref.label,secondaryLabel=_ref.secondaryLabel,auxiliaryLabel=_ref.auxiliaryLabel,hint=_ref.hint,maxWidth=_ref.maxWidth,_ref$togglePasswordLa=_ref.togglePasswordLabel,togglePasswordLabel=void 0===_ref$togglePasswordLa?"Toggle password visibility":_ref$togglePasswordLa,hidden=_ref.hidden,ariaDescribedBy=_ref["aria-describedby"],props=_objectWithoutProperties(_ref,["label","secondaryLabel","auxiliaryLabel","hint","maxWidth","togglePasswordLabel","hidden","aria-describedby"]),id=Object(common_helpers.a)(props.id),internalRef=react.useRef(null),inputRef=Object(useForkRef.a)(internalRef,ref),_React$useState2=_slicedToArray(react.useState(!1),2),isPasswordVisible=_React$useState2[0],setPasswordVisible=_React$useState2[1];function togglePasswordVisibility(){var _internalRef$current;setPasswordVisible((function(v){return!v})),null===(_internalRef$current=internalRef.current)||void 0===_internalRef$current||_internalRef$current.focus()}return react.createElement(base_field.a,{id:id,label:label,secondaryLabel:secondaryLabel,auxiliaryLabel:auxiliaryLabel,hint:hint,maxWidth:maxWidth,hidden:hidden,"aria-describedby":ariaDescribedBy},(function(extraProps){return react.createElement(box.a,{display:"flex",alignItems:"center",className:[password_field_module_default.a.inputWrapper,text_field_module_default.a.inputWrapper]},react.createElement("input",password_field_extends({},props,extraProps,{ref:inputRef,type:isPasswordVisible?"text":"password"})),react.createElement(tooltip.a,{content:togglePasswordLabel},react.createElement("button",{type:"button",onClick:togglePasswordVisibility,"aria-label":togglePasswordLabel,tabIndex:-1},isPasswordVisible?react.createElement(PasswordVisibleIcon,{"aria-hidden":!0}):react.createElement(PasswordHiddenIcon,{"aria-hidden":!0}))))}))}));try{password_field_PasswordField.displayName="PasswordField",password_field_PasswordField.__docgenInfo={description:"",displayName:"PasswordField",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},togglePasswordLabel:{defaultValue:{value:"Toggle password visibility"},description:"",name:"togglePasswordLabel",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/password-field/password-field.tsx#PasswordField"]={docgenInfo:password_field_PasswordField.__docgenInfo,name:"PasswordField",path:"src/new-components/password-field/password-field.tsx#PasswordField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function password_field_stories_extends(){return(password_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/PasswordField",component:password_field_PasswordField};function preventDefault(event){event.preventDefault()}var password_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,auxiliaryLabel=_ref.auxiliaryLabel,props=password_field_stories_objectWithoutProperties(_ref,["label","auxiliaryLabel"]);return react.createElement(password_field_PasswordField,password_field_stories_extends({},props,{label:label,auxiliaryLabel:auxiliaryLabel?react.createElement("a",{href:"#",onClick:preventDefault},auxiliaryLabel):void 0}))};password_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",password_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Password"},secondaryLabel:{control:{type:"text"},defaultValue:"optional"},auxiliaryLabel:{control:{type:"text"},defaultValue:"Forgot your password?"},hint:{control:{type:"text"},defaultValue:"Must be at least 100 characters long, and it should include each letter of the alphabet"},placeholder:{control:{type:"text"},defaultValue:"Type your password"},maxWidth:Object(storybook_helper.i)(["xsmall","small","medium","large","xlarge"],"small")},password_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return (\n \n {auxiliaryLabel}\n \n ) : undefined\n }\n />\n )\n}'}},password_field_stories_InteractivePropsStory.parameters);try{password_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",password_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}},togglePasswordLabel:{defaultValue:null,description:"",name:"togglePasswordLabel",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/password-field/password-field.stories.tsx#InteractivePropsStory"]={docgenInfo:password_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/password-field/password-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},1307:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"IconStory",(function(){return Icon_stories_IconStory})),__webpack_require__.d(__webpack_exports__,"IconPlaygroundStory",(function(){return Icon_stories_IconPlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(259),__webpack_require__(100),__webpack_require__(260),__webpack_require__(261),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames),tooltip_tooltip=__webpack_require__(1328),prop_types=__webpack_require__(5),prop_types_default=__webpack_require__.n(prop_types),ThreeDotsIcon_svg_ThreeDotsIcon=function ThreeDotsIcon(_ref){var _ref$color=_ref.color,color=void 0===_ref$color?"#A5A5A5":_ref$color;return react_default.a.createElement("svg",{width:"26px",height:"26px",viewBox:"0 0 26 26"},react_default.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},react_default.a.createElement("circle",{fill:color,cx:"19",cy:"13",r:"2"}),react_default.a.createElement("circle",{fill:color,cx:"13",cy:"13",r:"2"}),react_default.a.createElement("circle",{fill:color,cx:"7",cy:"13",r:"2"})))};ThreeDotsIcon_svg_ThreeDotsIcon.displayName="ThreeDotsIcon",ThreeDotsIcon_svg_ThreeDotsIcon.propTypes={color:prop_types_default.a.string};var ThreeDotsIcon_svg=ThreeDotsIcon_svg_ThreeDotsIcon;try{ThreeDotsIconsvg.displayName="ThreeDotsIconsvg",ThreeDotsIconsvg.__docgenInfo={description:"",displayName:"ThreeDotsIconsvg",props:{color:{defaultValue:{value:"#A5A5A5"},description:"",name:"color",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/icons/ThreeDotsIcon.svg.tsx#ThreeDotsIconsvg"]={docgenInfo:ThreeDotsIconsvg.__docgenInfo,name:"ThreeDotsIconsvg",path:"src/components/icons/ThreeDotsIcon.svg.tsx#ThreeDotsIconsvg"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(1250);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i void) | undefined"}},disabled:{defaultValue:{value:"false"},description:"Whether hte icon is disabled. Disabled icons can't be clicked and displayed with less opacity.",name:"disabled",required:!1,type:{name:"boolean | undefined"}},className:{defaultValue:null,description:"Additional css class that is applied to the icon",name:"className",required:!1,type:{name:"string | undefined"}},image:{defaultValue:null,description:"URL to the image that should be displayed as icon.",name:"image",required:!1,type:{name:"string | undefined"}},hoveredImage:{defaultValue:null,description:"Optional URL to the image that should be displayed when the icon is hovered.",name:"hoveredImage",required:!1,type:{name:"string | undefined"}},icon:{defaultValue:null,description:"Icon component to render, defaults to three dots.",name:"icon",required:!1,type:{name:"ReactNode"}},tooltip:{defaultValue:null,description:"Text of the tooltip of the icon.",name:"tooltip",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/icon/icon.tsx#Icon"]={docgenInfo:icon_Icon.__docgenInfo,name:"Icon",path:"src/components/icon/icon.tsx#Icon"})}catch(__react_docgen_typescript_loader_error){}var components_icon=icon_Icon,CloseIcon_svg=__webpack_require__(193);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n \n \n \n \n } />\n } disabled />\n \n \n \n
\n)'}},Icon_stories_IconStory.parameters),Icon_stories_IconPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},Icon_stories_IconPlaygroundStory.parameters);try{Icon_stories_IconPlaygroundStory.displayName="IconPlaygroundStory",Icon_stories_IconPlaygroundStory.__docgenInfo={description:"",displayName:"IconPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Icon.stories.tsx#IconPlaygroundStory"]={docgenInfo:Icon_stories_IconPlaygroundStory.__docgenInfo,name:"IconPlaygroundStory",path:"stories/components/Icon.stories.tsx#IconPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1308:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"NoHoverEffectStory",(function(){return Time_stories_NoHoverEffectStory})),__webpack_require__.d(__webpack_exports__,"ExpandTimeStory",(function(){return Time_stories_ExpandTimeStory})),__webpack_require__.d(__webpack_exports__,"FullyExpandTimeStory",(function(){return Time_stories_FullyExpandTimeStory})),__webpack_require__.d(__webpack_exports__,"TooltipTimeStory",(function(){return Time_stories_TooltipTimeStory})),__webpack_require__.d(__webpack_exports__,"TranslatedTimeStory",(function(){return Time_stories_TranslatedTimeStory})),__webpack_require__.d(__webpack_exports__,"TimePlaygroundStory",(function(){return Time_stories_TimePlaygroundStory}));__webpack_require__(20),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(1290);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),dayjs_min=__webpack_require__(111),dayjs_min_default=__webpack_require__.n(dayjs_min),tooltip=(__webpack_require__(317),__webpack_require__(259),__webpack_require__(100),__webpack_require__(260),__webpack_require__(261),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(1328)),localizedFormat=(__webpack_require__(27),__webpack_require__(650)),localizedFormat_default=__webpack_require__.n(localizedFormat);dayjs_min_default.a.extend(localizedFormat_default.a);var TimeUtils={SHORT_FORMAT_CURRENT_YEAR:"L",SHORT_FORMAT_PAST_YEAR:"LL",LONG_FORMAT:"LL, LT",timeAgo:function timeAgo(timestamp){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_config$locale=config.locale,locale=void 0===_config$locale?"en":_config$locale,_config$shortFormatCu=config.shortFormatCurrentYear,shortFormatCurrentYear=void 0===_config$shortFormatCu?this.SHORT_FORMAT_CURRENT_YEAR:_config$shortFormatCu,_config$shortFormatPa=config.shortFormatPastYear,shortFormatPastYear=void 0===_config$shortFormatPa?this.SHORT_FORMAT_PAST_YEAR:_config$shortFormatPa,_config$daysSuffix=config.daysSuffix,daysSuffix=void 0===_config$daysSuffix?"d":_config$daysSuffix,_config$hoursSuffix=config.hoursSuffix,hoursSuffix=void 0===_config$hoursSuffix?"h":_config$hoursSuffix,_config$minutesSuffix=config.minutesSuffix,minutesSuffix=void 0===_config$minutesSuffix?"m":_config$minutesSuffix,_config$momentsAgo=config.momentsAgo,momentsAgo=void 0===_config$momentsAgo?"moments ago":_config$momentsAgo,now=dayjs_min_default()(),date=dayjs_min_default()(1e3*timestamp);date.locale(locale);var diffMinutes=now.diff(date,"minute"),diffHours=now.diff(date,"hour"),diffDays=now.diff(date,"day");return diffDays>1?date.isSame(now,"year")?date.format(shortFormatCurrentYear):date.format(shortFormatPastYear):1===diffDays?"".concat(diffDays).concat(daysSuffix):diffHours>0&&diffHours<=23?"".concat(diffHours).concat(hoursSuffix):diffMinutes>0&&diffMinutes<=59?"".concat(diffMinutes).concat(minutesSuffix):momentsAgo},formatTime:function formatTime(timestamp){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_config$locale2=config.locale,locale=void 0===_config$locale2?"en":_config$locale2,_config$shortFormatCu2=config.shortFormatCurrentYear,shortFormatCurrentYear=void 0===_config$shortFormatCu2?this.SHORT_FORMAT_CURRENT_YEAR:_config$shortFormatCu2,_config$shortFormatPa2=config.shortFormatPastYear,shortFormatPastYear=void 0===_config$shortFormatPa2?this.SHORT_FORMAT_PAST_YEAR:_config$shortFormatPa2,date=dayjs_min_default()(1e3*timestamp);return date.locale(locale),date.isSame(dayjs_min_default()(),"year")?date.format(shortFormatCurrentYear):date.format(shortFormatPastYear)},formatTimeLong:function formatTimeLong(timestamp){var config=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},_config$locale3=config.locale,locale=void 0===_config$locale3?"en":_config$locale3,_config$longFormat=config.longFormat,longFormat=void 0===_config$longFormat?this.LONG_FORMAT:_config$longFormat,date=dayjs_min_default()(1e3*timestamp);return date.locale(locale),date.format(longFormat)}};__webpack_require__(1292);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i (\n
\n

Normal Time (no hover effect)

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_NoHoverEffectStory.parameters),Time_stories_ExpandTimeStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n

Expanding time on hover

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_ExpandTimeStory.parameters),Time_stories_FullyExpandTimeStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n

Fully expanding time on hover

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_FullyExpandTimeStory.parameters),Time_stories_TooltipTimeStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n

Show full time in tooltip on hover

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n)'}},Time_stories_TooltipTimeStory.parameters),Time_stories_TranslatedTimeStory.parameters=_objectSpread({storySource:{source:"() => {\n const i18nConfig = {\n locale: 'de',\n hoursSuffix: 'Std',\n minutesSuffix: 'min',\n momentsAgo: 'Gerade eben',\n }\n\n return (\n
\n

Translated times

\n {exampleTimes.map((time, index) => (\n
\n {time.title}\n
\n ))}\n
\n )\n}"}},Time_stories_TranslatedTimeStory.parameters),Time_stories_TimePlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n
\n)'}},Time_stories_TimePlaygroundStory.parameters);try{Time_stories_TimePlaygroundStory.displayName="TimePlaygroundStory",Time_stories_TimePlaygroundStory.__docgenInfo={description:"",displayName:"TimePlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Time.stories.tsx#TimePlaygroundStory"]={docgenInfo:Time_stories_TimePlaygroundStory.__docgenInfo,name:"TimePlaygroundStory",path:"stories/components/Time.stories.tsx#TimePlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1309:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var preview_namespaceObject={};__webpack_require__.r(preview_namespaceObject),__webpack_require__.d(preview_namespaceObject,"decorators",(function(){return decorators})),__webpack_require__.d(preview_namespaceObject,"parameters",(function(){return parameters}));__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(33);var client_api=__webpack_require__(1361),esm=__webpack_require__(14),decorators=(__webpack_require__(0),__webpack_require__(1117),[function(Story){return Story()}]),parameters={options:{storySort:{method:"alphabetical",order:["Reactist","Design tokens","Design system","Hooks","Components"]}},decorators:decorators};function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}Object.keys(preview_namespaceObject).forEach((function(key){var value=preview_namespaceObject[key];switch(key){case"args":case"argTypes":return esm.a.warn("Invalid args/argTypes in config, ignoring.",JSON.stringify(value));case"decorators":return value.forEach((function(decorator){return Object(client_api.b)(decorator,!1)}));case"loaders":return value.forEach((function(loader){return Object(client_api.c)(loader,!1)}));case"parameters":return Object(client_api.d)(function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var svgPath={checked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2.457 4.293l-5.293 5.293-1.793-1.793a1 1 0 1 0-1.414 1.414l2.5 2.5a1 1 0 0 0 1.414 0l6-6a1 1 0 1 0-1.414-1.414z",unchecked:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm0 1H6a1 1 0 0 0-1 1v12a1 1 0 0 0 1 1h12a1 1 0 0 0 1-1V6a1 1 0 0 0-1-1z",mixed:"M18 4a2 2 0 0 1 2 2v12a2 2 0 0 1-2 2H6a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2h12zm-2 7H8a1 1 0 0 0 0 2h8a1 1 0 0 0 0-2z",filled:"M6 4H18C19.1046 4 20 4.89543 20 6V18C20 19.1046 19.1046 20 18 20H6C4.89543 20 4 19.1046 4 18V6C4 4.89543 4.89543 4 6 4Z"};function CheckboxIcon(_ref2){var checked=_ref2.checked,indeterminate=_ref2.indeterminate,disabled=_ref2.disabled,props=_objectWithoutProperties(_ref2,["checked","indeterminate","disabled"]),pathKey=function getPathKey(_ref){var checked=_ref.checked,indeterminate=_ref.indeterminate,disabled=_ref.disabled;return indeterminate?"mixed":checked?"checked":disabled?"filled":"unchecked"}({checked:checked,indeterminate:indeterminate,disabled:disabled});return react.createElement("svg",_extends({xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24"},props),react.createElement("path",{fill:"currentColor",fillRule:"nonzero",d:svgPath[pathKey]}))}CheckboxIcon.displayName="CheckboxIcon";try{CheckboxIcon.displayName="CheckboxIcon",CheckboxIcon.__docgenInfo={description:"",displayName:"CheckboxIcon",props:{checked:{defaultValue:null,description:"",name:"checked",required:!1,type:{name:"boolean | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-icon.tsx#CheckboxIcon"]={docgenInfo:CheckboxIcon.__docgenInfo,name:"CheckboxIcon",path:"src/new-components/checkbox-field/checkbox-icon.tsx#CheckboxIcon"})}catch(__react_docgen_typescript_loader_error){}var checkbox_field_module=__webpack_require__(350),checkbox_field_module_default=__webpack_require__.n(checkbox_field_module);function checkbox_field_extends(){return(checkbox_field_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var checkbox_field_CheckboxField=react.forwardRef((function CheckboxField(_ref,ref){var _ref2,_props$checked,_props$checked2,label=_ref.label,disabled=_ref.disabled,indeterminate=_ref.indeterminate,defaultChecked=_ref.defaultChecked,_onChange=_ref.onChange,props=checkbox_field_objectWithoutProperties(_ref,["label","disabled","indeterminate","defaultChecked","onChange"]),isControlledComponent="boolean"==typeof props.checked;"boolean"!=typeof indeterminate||isControlledComponent||(console.warn("Cannot use indeterminate on an uncontrolled checkbox"),indeterminate=void 0),label||props["aria-label"]||props["aria-labelledby"]||console.warn("A Checkbox needs a label");var _React$useState2=_slicedToArray(react.useState(null!==(_ref2=null!==(_props$checked=props.checked)&&void 0!==_props$checked?_props$checked:defaultChecked)&&void 0!==_ref2&&_ref2),2),checkedState=_React$useState2[0],setChecked=_React$useState2[1],isChecked=null!==(_props$checked2=props.checked)&&void 0!==_props$checked2?_props$checked2:checkedState,internalRef=react.useRef(null),combinedRef=Object(useForkRef.a)(internalRef,ref);return react.useEffect((function setIndeterminate(){internalRef.current&&"boolean"==typeof indeterminate&&(internalRef.current.indeterminate=indeterminate)}),[indeterminate]),react.createElement(box.a,{as:"label",display:"flex",alignItems:"center",className:[checkbox_field_module_default.a.container,disabled?checkbox_field_module_default.a.disabled:null,isChecked?checkbox_field_module_default.a.checked:null,"focus-marker-enabled-within"]},react.createElement(hidden_visually.a,null,react.createElement("input",checkbox_field_extends({},props,{ref:combinedRef,type:"checkbox",checked:isChecked,disabled:disabled,onChange:function onChange(event){null==_onChange||_onChange(event),event.defaultPrevented||setChecked(event.currentTarget.checked)}}))),react.createElement(CheckboxIcon,{"aria-hidden":!0,checked:isChecked,indeterminate:indeterminate,disabled:disabled}),label?react.createElement("span",null,label):null)}));try{checkbox_field_CheckboxField.displayName="CheckboxField",checkbox_field_CheckboxField.__docgenInfo={description:"",displayName:"CheckboxField",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-field.tsx#CheckboxField"]={docgenInfo:checkbox_field_CheckboxField.__docgenInfo,name:"CheckboxField",path:"src/new-components/checkbox-field/checkbox-field.tsx#CheckboxField"})}catch(__react_docgen_typescript_loader_error){}var stack=__webpack_require__(40),text_text=__webpack_require__(57),inline=__webpack_require__(151);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/CheckboxField",component:checkbox_field_CheckboxField};var checkbox_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,props=checkbox_field_stories_objectWithoutProperties(_ref,["label"]);return react.createElement(checkbox_field_CheckboxField,checkbox_field_stories_extends({},props,{label:label||"Default label"}))};checkbox_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",checkbox_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Show unread badge"},disabled:{control:{type:"boolean"},defaultValue:!1},indeterminate:{control:!1}};var checkbox_field_stories_IndeterminateCheckboxStory=function IndeterminateCheckboxStory(props){var _React$useState2=checkbox_field_stories_slicedToArray(react.useState([!1,!0,!1,!1,!1]),2),state=_React$useState2[0],setState=_React$useState2[1],checkedCount=state.filter(Boolean).length,indeterminate=checkedCount>0&&checkedCount) {\n return \n}"}},checkbox_field_stories_InteractivePropsStory.parameters),checkbox_field_stories_IndeterminateCheckboxStory.parameters=_objectSpread({storySource:{source:'function IndeterminateCheckboxStory(props: PartialProps) {\n const [state, setState] = React.useState([false, true, false, false, false])\n const checkedCount = state.filter(Boolean).length\n const indeterminate = checkedCount > 0 && checkedCount < state.length\n\n return (\n \n {\n const { checked } = event.currentTarget\n setState((state) => state.map(() => checked))\n }}\n indeterminate={indeterminate}\n label={`Check/uncheck all (${checkedCount} / ${state.length})`}\n />\n\n \n {state.map((checked, index) => (\n {\n const { checked } = event.currentTarget\n setState((state) => {\n const newState = [...state]\n newState[index] = checked\n return newState\n })\n }}\n />\n ))}\n \n\n \n Mark some (but not all) numbered checkboxes to see the one at the top as\n indeterminate.\n \n \n )\n}'}},checkbox_field_stories_IndeterminateCheckboxStory.parameters);try{checkbox_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",checkbox_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-field.stories.tsx#InteractivePropsStory"]={docgenInfo:checkbox_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/checkbox-field/checkbox-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}try{checkbox_field_stories_IndeterminateCheckboxStory.displayName="IndeterminateCheckboxStory",checkbox_field_stories_IndeterminateCheckboxStory.__docgenInfo={description:"",displayName:"IndeterminateCheckboxStory",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | undefined"}},indeterminate:{defaultValue:null,description:"",name:"indeterminate",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/checkbox-field/checkbox-field.stories.tsx#IndeterminateCheckboxStory"]={docgenInfo:checkbox_field_stories_IndeterminateCheckboxStory.__docgenInfo,name:"IndeterminateCheckboxStory",path:"src/new-components/checkbox-field/checkbox-field.stories.tsx#IndeterminateCheckboxStory"})}catch(__react_docgen_typescript_loader_error){}},1311:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CheckboxStory",(function(){return Checkbox_stories_CheckboxStory})),__webpack_require__.d(__webpack_exports__,"CheckboxPlaygroundStory",(function(){return Checkbox_stories_CheckboxPlaygroundStory}));__webpack_require__(124),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(12),__webpack_require__(99),__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);__webpack_require__(1240);function Checkbox(_ref){var label=_ref.label,disabled=_ref.disabled,_ref$checked=_ref.checked,checked=void 0!==_ref$checked&&_ref$checked,onChange=_ref.onChange;return react_default.a.createElement("label",{className:"reactist_checkbox"},react_default.a.createElement("input",{className:"reactist_checkbox--input",value:label,checked:checked,disabled:disabled,onChange:disabled||!onChange?void 0:function(event){return onChange(event.target.checked)},type:"checkbox"}),label)}Checkbox.displayName="Checkbox",Checkbox.displayName="Checkbox";try{Checkbox.displayName="Checkbox",Checkbox.__docgenInfo={description:"",displayName:"Checkbox",props:{checked:{defaultValue:{value:"false"},description:"",name:"checked",required:!1,type:{name:"boolean | undefined"}},disabled:{defaultValue:null,description:"",name:"disabled",required:!1,type:{name:"boolean | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((checked: boolean) => void) | undefined"}},label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"string | number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/checkbox/checkbox.tsx#Checkbox"]={docgenInfo:Checkbox.__docgenInfo,name:"Checkbox",path:"src/components/checkbox/checkbox.tsx#Checkbox"})}catch(__react_docgen_typescript_loader_error){}var components_checkbox=Checkbox;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [checked, setChecked] = useState(false)\n\n const handleCheck = () => {\n setChecked((prev: boolean) => !prev)\n }\n\n return (\n
\n

Checkbox

\n \n
\n )\n}'}},Checkbox_stories_CheckboxStory.parameters),Checkbox_stories_CheckboxPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n const [checked, setChecked] = useState(false)\n\n const handleCheck = () => {\n setChecked((prev: boolean) => !prev)\n }\n return (\n
\n \n
\n )\n}'}},Checkbox_stories_CheckboxPlaygroundStory.parameters);try{Checkbox_stories_CheckboxPlaygroundStory.displayName="CheckboxPlaygroundStory",Checkbox_stories_CheckboxPlaygroundStory.__docgenInfo={description:"",displayName:"CheckboxPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Checkbox.stories.tsx#CheckboxPlaygroundStory"]={docgenInfo:Checkbox_stories_CheckboxPlaygroundStory.__docgenInfo,name:"CheckboxPlaygroundStory",path:"stories/components/Checkbox.stories.tsx#CheckboxPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1312:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ColorPickersStory",(function(){return ColorPicker_stories_ColorPickersStory})),__webpack_require__.d(__webpack_exports__,"CustomColorPickersStory",(function(){return ColorPicker_stories_CustomColorPickersStory})),__webpack_require__.d(__webpack_exports__,"NamedColorPickersStory",(function(){return ColorPicker_stories_NamedColorPickersStory})),__webpack_require__.d(__webpack_exports__,"SmallColorPickerStory",(function(){return ColorPicker_stories_SmallColorPickerStory}));__webpack_require__(124),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(12),__webpack_require__(99),__webpack_require__(33),__webpack_require__(7),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(568),__webpack_require__(108),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames),dropdown=__webpack_require__(106),tooltip_tooltip=__webpack_require__(1328),COLORS=(__webpack_require__(1242),["#606060","#4A90E2","#03B3B2","#008299","#82BA00","#D24726","#AC193D","#DC4FAD","#3BD5FB","#74E8D3","#FFCC00","#FB886E","#CCCCCC"]),_isNamedColor=function _isNamedColor(color){return"string"!=typeof color};function ColorPicker(_ref){var backgroundColor,_ref$color=_ref.color,color=void 0===_ref$color?0:_ref$color,small=_ref.small,onChange=_ref.onChange,_ref$colorList=_ref.colorList,colorList=void 0===_ref$colorList?COLORS:_ref$colorList;return react_default.a.createElement(dropdown.a.Box,{right:!0,className:"reactist_color_picker"},react_default.a.createElement(dropdown.a.Trigger,null,(backgroundColor=function _getColor(colorList,colorIndex){return colorList[colorIndex>=colorList.length?0:colorIndex]}(colorList,color),react_default.a.createElement("span",{className:classnames_default()("color_trigger",{small:small}),style:{backgroundColor:_isNamedColor(backgroundColor)?backgroundColor.color:backgroundColor}},react_default.a.createElement("span",{className:"color_trigger--inner_ring"})))),react_default.a.createElement(dropdown.a.Body,null,react_default.a.createElement("div",{className:"color_options"},colorList.reduce((function(items,currentColor,currentIndex){return items.push(react_default.a.createElement(ColorItem,{isActive:color>=colorList.length?0===currentIndex:currentIndex===color,key:currentIndex,color:_isNamedColor(currentColor)?currentColor.color:currentColor,colorIndex:currentIndex,onClick:onChange,tooltip:_isNamedColor(currentColor)?currentColor.name:null})),items}),[]))))}function ColorItem(_ref2){var color=_ref2.color,colorIndex=_ref2.colorIndex,isActive=_ref2.isActive,_onClick=_ref2.onClick,tooltip=_ref2.tooltip,item=react_default.a.createElement("span",{className:"reactist color_item"+(isActive?" active":""),style:{backgroundColor:color},onClick:function onClick(){return null==_onClick?void 0:_onClick(colorIndex)}},react_default.a.createElement("span",{className:"color_item--inner_ring"}));return tooltip?react_default.a.createElement(tooltip_tooltip.a,{content:tooltip},item):item}ColorPicker.displayName="ColorPicker",ColorPicker.displayName="ColorPicker",ColorItem.displayName="ColorItem";try{ColorPicker.displayName="ColorPicker",ColorPicker.__docgenInfo={description:"",displayName:"ColorPicker",props:{small:{defaultValue:null,description:"",name:"small",required:!1,type:{name:"boolean | undefined"}},color:{defaultValue:{value:"0"},description:"",name:"color",required:!1,type:{name:"number | undefined"}},onChange:{defaultValue:null,description:"",name:"onChange",required:!1,type:{name:"((color: number) => void) | undefined"}},colorList:{defaultValue:null,description:"",name:"colorList",required:!1,type:{name:"(string | NamedColor)[] | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/color-picker/color-picker.tsx#ColorPicker"]={docgenInfo:ColorPicker.__docgenInfo,name:"ColorPicker",path:"src/components/color-picker/color-picker.tsx#ColorPicker"})}catch(__react_docgen_typescript_loader_error){}try{ColorItem.displayName="ColorItem",ColorItem.__docgenInfo={description:"",displayName:"ColorItem",props:{color:{defaultValue:null,description:"",name:"color",required:!0,type:{name:"string"}},colorIndex:{defaultValue:null,description:"",name:"colorIndex",required:!0,type:{name:"number"}},isActive:{defaultValue:null,description:"",name:"isActive",required:!1,type:{name:"boolean | undefined"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"((colorIndex: number) => void) | undefined"}},tooltip:{defaultValue:null,description:"",name:"tooltip",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/color-picker/color-picker.tsx#ColorItem"]={docgenInfo:ColorItem.__docgenInfo,name:"ColorItem",path:"src/components/color-picker/color-picker.tsx#ColorItem"})}catch(__react_docgen_typescript_loader_error){}var components_color_picker=ColorPicker;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Color Picker

\n \n
\n )\n}'}},ColorPicker_stories_ColorPickersStory.parameters),ColorPicker_stories_CustomColorPickersStory.parameters=_objectSpread({storySource:{source:"() => {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Custom Colors Color Picker

\n \n
\n )\n}"}},ColorPicker_stories_CustomColorPickersStory.parameters),ColorPicker_stories_NamedColorPickersStory.parameters=_objectSpread({storySource:{source:"() => {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Named Colors Color Picker

\n \n
\n )\n}"}},ColorPicker_stories_NamedColorPickersStory.parameters),ColorPicker_stories_SmallColorPickerStory.parameters=_objectSpread({storySource:{source:'() => {\n const [color, setColor] = useState(0)\n\n const handleChange = (color) => {\n setColor(color)\n }\n\n return (\n
\n

Small Color Picker

\n \n
\n )\n}'}},ColorPicker_stories_SmallColorPickerStory.parameters)},1313:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ErrorMessageStory",(function(){return ErrorMessage_stories_ErrorMessageStory})),__webpack_require__.d(__webpack_exports__,"ErrorMessagePlaygroundStory",(function(){return ErrorMessage_stories_ErrorMessagePlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react);__webpack_require__(317),__webpack_require__(259),__webpack_require__(100),__webpack_require__(260),__webpack_require__(261),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(1247);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _defineProperties(target,props){for(var i=0;i0}},{key:"render",value:function render(){var message=this.props.message;return!(!this.state.visible||!this._isValidMessage(message))&&react_default.a.createElement("div",{className:"reactist_error_message"},react_default.a.createElement("p",null,message),react_default.a.createElement("div",{onClick:this._hide,className:"dismiss_icon"}))}}]),ErrorMessage}(react_default.a.Component);_defineProperty(error_message_ErrorMessage,"displayName",void 0),_defineProperty(error_message_ErrorMessage,"defaultProps",void 0),error_message_ErrorMessage.displayName="ErrorMessage",error_message_ErrorMessage.defaultProps={timeout:2500};try{error_message_ErrorMessage.displayName="ErrorMessage",error_message_ErrorMessage.__docgenInfo={description:"",displayName:"ErrorMessage",props:{timeout:{defaultValue:{value:"2500"},description:"",name:"timeout",required:!1,type:{name:"number | undefined"}},onHide:{defaultValue:null,description:"",name:"onHide",required:!1,type:{name:"(() => void) | undefined"}},message:{defaultValue:null,description:"",name:"message",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/error-message/error-message.tsx#ErrorMessage"]={docgenInfo:error_message_ErrorMessage.__docgenInfo,name:"ErrorMessage",path:"src/components/error-message/error-message.tsx#ErrorMessage"})}catch(__react_docgen_typescript_loader_error){}var components_error_message=error_message_ErrorMessage;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n \n
\n)'}},ErrorMessage_stories_ErrorMessageStory.parameters),ErrorMessage_stories_ErrorMessagePlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},ErrorMessage_stories_ErrorMessagePlaygroundStory.parameters);try{ErrorMessage_stories_ErrorMessagePlaygroundStory.displayName="ErrorMessagePlaygroundStory",ErrorMessage_stories_ErrorMessagePlaygroundStory.__docgenInfo={description:"",displayName:"ErrorMessagePlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/ErrorMessage.stories.tsx#ErrorMessagePlaygroundStory"]={docgenInfo:ErrorMessage_stories_ErrorMessagePlaygroundStory.__docgenInfo,name:"ErrorMessagePlaygroundStory",path:"stories/components/ErrorMessage.stories.tsx#ErrorMessagePlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1314:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InputStory",(function(){return Input_stories_InputStory})),__webpack_require__.d(__webpack_exports__,"InputPlaygroundStory",(function(){return Input_stories_InputPlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(8),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames);__webpack_require__(1254);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i void) | RefObject | null | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/input/input.tsx#Input"]={docgenInfo:Input.__docgenInfo,name:"Input",path:"src/components/input/input.tsx#Input"})}catch(__react_docgen_typescript_loader_error){}var components_input=Input;__webpack_require__(1252);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i")," element which justs add a class name to give it is unique style. All properties you pass to it (e.g. *value* or *onChange*) are directly applied onto the underlying ",react_default.a.createElement("code",null,"")," element.")),react_default.a.createElement(components_input,{placeholder:"Simple input wrapper"}))};Input_stories_InputStory.displayName="InputStory";var Input_stories_InputPlaygroundStory=function InputPlaygroundStory(args){return react_default.a.createElement("section",{className:"story"},react_default.a.createElement(components_input,args))};Input_stories_InputPlaygroundStory.displayName="InputPlaygroundStory",Input_stories_InputPlaygroundStory.args={placeholder:"Simple input wrapper",disabled:!1},Input_stories_InputPlaygroundStory.argTypes={placeholder:{control:{type:"text"}},disabled:{control:{type:"boolean"}},className:{control:{type:null}}},Input_stories_InputStory.parameters=_objectSpread({storySource:{source:'() => (\n
\n
\n

\n This component is a dumb wrapper around the\n <input /> element which justs add a class name to give it is\n unique style. All properties you pass to it (e.g. *value* or *onChange*) are\n directly applied onto the underlying <input /> element.\n

\n
\n \n
\n)'}},Input_stories_InputStory.parameters),Input_stories_InputPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},Input_stories_InputPlaygroundStory.parameters);try{Input_stories_InputPlaygroundStory.displayName="InputPlaygroundStory",Input_stories_InputPlaygroundStory.__docgenInfo={description:"",displayName:"InputPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Input.stories.tsx#InputPlaygroundStory"]={docgenInfo:Input_stories_InputPlaygroundStory.__docgenInfo,name:"InputPlaygroundStory",path:"stories/components/Input.stories.tsx#InputPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1315:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"LoadingStory",(function(){return Loading_stories_LoadingStory})),__webpack_require__.d(__webpack_exports__,"LoadingPlaygroundStory",(function(){return Loading_stories_LoadingPlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames);__webpack_require__(1262);function Loading(_ref){var className=_ref.className,_ref$spinnerColor=_ref.spinnerColor,spinnerColor=void 0===_ref$spinnerColor?"#3F82EF":_ref$spinnerColor,_ref$bgColor=_ref.bgColor,bgColor=void 0===_ref$bgColor?"#D9E6FB":_ref$bgColor,_ref$size=_ref.size,size=void 0===_ref$size?24:_ref$size,_ref$ariaLabel=_ref["aria-label"],ariaLabel=void 0===_ref$ariaLabel?"Loading":_ref$ariaLabel;return react_default.a.createElement("div",{className:classnames_default()("reactist_loading",className),"aria-label":ariaLabel,"aria-live":"assertive",role:"alert"},react_default.a.createElement("span",{className:"reactist_loading--spinner"},react_default.a.createElement("svg",{width:size,height:size,viewBox:"0 0 24 24"},react_default.a.createElement("g",{fill:"none",fillRule:"nonzero"},react_default.a.createElement("path",{fill:spinnerColor,d:"M17.945 3.958A9.955 9.955 0 0 0 12 2c-2.19 0-4.217.705-5.865 1.9L5.131 2.16A11.945 11.945 0 0 1 12 0c2.59 0 4.99.82 6.95 2.217l-1.005 1.741z"}),react_default.a.createElement("path",{fill:bgColor,d:"M5.13 2.16L6.136 3.9A9.987 9.987 0 0 0 2 12c0 5.523 4.477 10 10 10s10-4.477 10-10a9.986 9.986 0 0 0-4.055-8.042l1.006-1.741A11.985 11.985 0 0 1 24 12c0 6.627-5.373 12-12 12S0 18.627 0 12c0-4.073 2.029-7.671 5.13-9.84z"})))))}Loading.displayName="Loading",Loading.displayName="Loading";try{Loading.displayName="Loading",Loading.__docgenInfo={description:"",displayName:"Loading",props:{className:{defaultValue:null,description:"Additional css class that is applied to Loading.",name:"className",required:!1,type:{name:"string | undefined"}},spinnerColor:{defaultValue:{value:"#3F82EF"},description:"Hex code of the spinner color.",name:"spinnerColor",required:!1,type:{name:"string | undefined"}},bgColor:{defaultValue:{value:"#D9E6FB"},description:"Hex code of the background color.",name:"bgColor",required:!1,type:{name:"string | undefined"}},size:{defaultValue:{value:"24"},description:"Circle diameter in pixels.",name:"size",required:!1,type:{name:"string | number | undefined"}},"aria-label":{defaultValue:null,description:"",name:"aria-label",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/loading/loading.tsx#Loading"]={docgenInfo:Loading.__docgenInfo,name:"Loading",path:"src/components/loading/loading.tsx#Loading"})}catch(__react_docgen_typescript_loader_error){}var components_loading=Loading;__webpack_require__(1260);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n

Loading

\n \n
\n)'}},Loading_stories_LoadingStory.parameters),Loading_stories_LoadingPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},Loading_stories_LoadingPlaygroundStory.parameters);try{Loading_stories_LoadingPlaygroundStory.displayName="LoadingPlaygroundStory",Loading_stories_LoadingPlaygroundStory.__docgenInfo={description:"",displayName:"LoadingPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Loading.stories.tsx#LoadingPlaygroundStory"]={docgenInfo:Loading_stories_LoadingPlaygroundStory.__docgenInfo,name:"LoadingPlaygroundStory",path:"stories/components/Loading.stories.tsx#LoadingPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1316:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"renderModal",(function(){return renderModal})),__webpack_require__.d(__webpack_exports__,"getStory",(function(){return getStory})),__webpack_require__.d(__webpack_exports__,"WithPlaygroundTemplate",(function(){return WithPlaygroundTemplate})),__webpack_require__.d(__webpack_exports__,"ModalTemplate",(function(){return ModalTemplate})),__webpack_require__.d(__webpack_exports__,"WithActionsTemplate",(function(){return WithActionsTemplate})),__webpack_require__.d(__webpack_exports__,"ScrollableText",(function(){return ScrollableText})),__webpack_require__.d(__webpack_exports__,"PlainMediumText",(function(){return PlainMediumText})),__webpack_require__.d(__webpack_exports__,"playground",(function(){return playground})),__webpack_require__.d(__webpack_exports__,"modalHeader",(function(){return modalHeader})),__webpack_require__.d(__webpack_exports__,"modalHeaderAndBody",(function(){return modalHeaderAndBody})),__webpack_require__.d(__webpack_exports__,"modalHeaderBodyWithActions",(function(){return modalHeaderBodyWithActions})),__webpack_require__.d(__webpack_exports__,"modalScrollableBody",(function(){return modalScrollableBody})),__webpack_require__.d(__webpack_exports__,"plainMediumModal",(function(){return plainMediumModal}));__webpack_require__(424),__webpack_require__(8),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(1),blocks=__webpack_require__(17),react_dom=__webpack_require__(64),react_dom_default=__webpack_require__.n(react_dom),react_markdown=__webpack_require__(348),react_markdown_default=__webpack_require__.n(react_markdown),classnames=(__webpack_require__(27),__webpack_require__(20),__webpack_require__(33),__webpack_require__(259),__webpack_require__(100),__webpack_require__(260),__webpack_require__(261),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames),CloseIcon_svg=__webpack_require__(193);__webpack_require__(1272);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function _classCallCheck(instance,Constructor){if(!(instance instanceof Constructor))throw new TypeError("Cannot call a class as a function")}function _defineProperties(target,props){for(var i=0;i void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal/modal.tsx#Modal.Header"]={docgenInfo:Modal.Header.__docgenInfo,name:"Modal.Header",path:"src/components/modal/modal.tsx#Modal.Header"})}catch(__react_docgen_typescript_loader_error){}try{Modal.Body.displayName="Modal.Body",Modal.Body.__docgenInfo={description:"",displayName:"Modal.Body",props:{icon:{defaultValue:null,description:"Display an icon (or basically any component) on the right hand side of the Modal.Body.",name:"icon",required:!1,type:{name:"ReactNode"}},plain:{defaultValue:null,description:"Applies less styles on the body (e.g. no padding)",name:"plain",required:!1,type:{name:"boolean | undefined"}},style:{defaultValue:null,description:"Sometimes a class name is not enough so you can use this to set the style directly.",name:"style",required:!1,type:{name:"CSSProperties | undefined"}},className:{defaultValue:null,description:"Additionall css class applied to the Modal.Body.",name:"className",required:!1,type:{name:"string | undefined"}},showCloseIcon:{defaultValue:{value:"false"},description:"Render a close icon in the top right corner of the Modal.Body.\nRecommended to use when no Modal.Header is used.",name:"showCloseIcon",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal/modal.tsx#Modal.Body"]={docgenInfo:Modal.Body.__docgenInfo,name:"Modal.Body",path:"src/components/modal/modal.tsx#Modal.Body"})}catch(__react_docgen_typescript_loader_error){}try{Modal.Actions.displayName="Modal.Actions",Modal.Actions.__docgenInfo={description:"",displayName:"Modal.Actions",props:{children:{defaultValue:null,description:"Children to render inside the Modal.Actions. They can have an optional `close` property (boolean).\nWhen that is supplied and set to true it will close the modal after the onClick function",name:"children",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/modal/modal.tsx#Modal.Actions"]={docgenInfo:Modal.Actions.__docgenInfo,name:"Modal.Actions",path:"src/components/modal/modal.tsx#Modal.Actions"})}catch(__react_docgen_typescript_loader_error){}var components_modal={Box:modal_Box,Header:modal_Header,Body:modal_Body,Actions:modal_Actions},components_button=__webpack_require__(31);__webpack_require__(1270);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function renderModal(modal){react_dom_default.a.render(modal,document.getElementById("modal_box"))}function getStory(text,modal,title){return Object(esm.b)("section",{className:"story"},Object(esm.b)("p",null,title),Object(esm.b)("div",{id:"modal_box"}),Object(esm.b)(components_button.a,{variant:"primary",onClick:function onClick(){return renderModal(modal)},mdxType:"Button"},text))}function WithPlaygroundTemplate(args){var title=args.title,subtitle=args.subtitle,plain=args.plain,medium=args.medium,large=args.large,showCloseIcon=args.showCloseIcon,closeOnOverlayClick=args.closeOnOverlayClick;return Object(esm.b)("section",null,Object(esm.b)(components_modal.Box,{large:large,medium:medium,closeOnOverlayClick:closeOnOverlayClick},Object(esm.b)(components_modal.Header,{title:title,subtitle:subtitle}),Object(esm.b)(components_modal.Body,{plain:plain,showCloseIcon:showCloseIcon},"Some Content"),Object(esm.b)(components_modal.Actions,null,Object(esm.b)(components_button.a,{variant:"secondary",mdxType:"Button"},"Action 1"),Object(esm.b)(components_button.a,{variant:"primary",mdxType:"Button"},"Action 2"))))}function ModalTemplate(args){var title=args.title,subtitle=args.subtitle,body=args.body,buttonTitle=args.buttonTitle,buttonText=args.buttonText,medium=args.medium,plain=args.plain,large=args.large,showCloseIcon=args.showCloseIcon,closeOnOverlayClick=args.closeOnOverlayClick;return getStory(buttonText,Object(esm.b)(components_modal.Box,{large:large,medium:medium,closeOnOverlayClick:closeOnOverlayClick},Object(esm.b)(components_modal.Header,{title:title,subtitle:subtitle}),Object(esm.b)(components_modal.Body,{plain:plain,showCloseIcon:showCloseIcon},Object(esm.b)(react_markdown_default.a,{children:body,mdxType:"ReactMarkdown"}))),buttonTitle)}function WithActionsTemplate(){return getStory("Click me to launch a Modal with Header, Body and Actions",Object(esm.b)(components_modal.Box,{closeOnOverlayClick:!0},Object(esm.b)(components_modal.Header,{title:"Header of Modal",subtitle:"This is a smaller description"}),Object(esm.b)(components_modal.Body,null,"The Body of a Modal can contain whatever you like! Like this very long Lorem Ipsum",Object(esm.b)("br",null),"Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem Ipsum has been the industrys standard dummy text ever since the 1500s, when an unknown printer took a galley of type and scrambled it to make a type specimen book. It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum."),Object(esm.b)(components_modal.Actions,null,Object(esm.b)(components_button.a,{variant:"secondary",mdxType:"Button"},"Does nothing"),Object(esm.b)(components_button.a,{variant:"primary",close:!0,mdxType:"Button"},"Close the Modal"))),"Header, Body and Actions")}getStory.displayName="getStory",WithPlaygroundTemplate.displayName="WithPlaygroundTemplate";var ScrollableText="The Body of a Modal can contain whatever you like! Like this very long Lorem Ipsum\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.",PlainMediumText="The Body of a Modal can contain whatever you like! Like this very long Lorem Ipsum\n Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem\n Ipsum has been the industrys standard dummy text ever since the 1500s, when an\n unknown printer took a galley of type and scrambled it to make a type specimen book.\n It has survived not only five centuries, but also the leap into electronic\n typesetting, remaining essentially unchanged. It was popularised in the 1960s with\n the release of Letraset sheets containing Lorem Ipsum passages, and more recently\n with desktop publishing software like Aldus PageMaker including versions of Lorem\n Ipsum.",layoutProps={renderModal:renderModal,getStory:getStory,WithPlaygroundTemplate:WithPlaygroundTemplate,ModalTemplate:ModalTemplate,WithActionsTemplate:WithActionsTemplate,ScrollableText:ScrollableText,PlainMediumText:PlainMediumText};function MDXContent(_ref){var components=_ref.components,props=_objectWithoutProperties(_ref,["components"]);return Object(esm.b)("wrapper",_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(esm.b)(blocks.e,{title:"Components/Modal",component:components_modal,argTypes:{title:{name:"title",description:"The modal's title",control:{type:"text"},table:{type:{summary:"string"}}},subtitle:{name:"subtitle",description:"The modal's subtitle",control:{type:"text"},table:{type:{summary:"string"}}},showCloseIcon:{name:"showCloseIcon",description:"The modal's close icon",control:{type:"boolean"},table:{type:{summary:"boolean"}}},medium:{name:"medium",description:"Medium sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},large:{name:"large",description:"Large sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},plain:{name:"plain",description:"A plain modal without styles",control:{type:"boolean"},table:{type:{summary:"boolean"}}}},mdxType:"Meta"}),Object(esm.b)("h1",{id:"component-documentation"},"Component Documentation"),Object(esm.b)("h3",{id:"how-to-use"},"How to use"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal")," component consists of four subcomponents ",Object(esm.b)("em",{parentName:"p"},"Box, Header, Body, Actions")," which are exported as keys of the Modal object. Hence, to use a Modal your code should look like this:"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},"import { Modal } from 'reactist';\n...\n\n ...\n ...\n ...\n\n")),Object(esm.b)("p",null,"The Modal is always attached to an element with the id ",Object(esm.b)("strong",{parentName:"p"},"modal_box"),". You need to add this somewhere in your component hierarchy in order for the Modal to work correctly. It is sufficient to add this once near the top of your component hierarchy."),Object(esm.b)("h3",{id:"modal-box"},"Modal Box"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Box")," component simply acts as a container for the Modal and is responsible for rendering the dark overlay and all children components. You can pass it an optional ",Object(esm.b)("em",{parentName:"p"},"className")," property to apply additional styles."),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Box")," accepts an optional property ",Object(esm.b)("em",{parentName:"p"},"closeOnOverlayClick")," when set to ",Object(esm.b)("strong",{parentName:"p"},"true")," a click on the overlay will close the modal. Defaults to ",Object(esm.b)("strong",{parentName:"p"},"false"),"."),Object(esm.b)("h3",{id:"modal-header"},"Modal Header"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Header")," component shows the Header of the Modal. It always show a close icon on the right side to close the Modal. It can display arbitrary content you pass to it as children. However, the recommended usage pattern is to supply the ",Object(esm.b)("em",{parentName:"p"},"title")," and ",Object(esm.b)("em",{parentName:"p"},"subtitle")," (string) properties. This displays nicely formatted headings inside the Header."),Object(esm.b)("p",null,"Nevertheless, the ",Object(esm.b)("strong",{parentName:"p"},"Modal.Header")," will look the same whether you go for option 1 or option 2:"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},"// Option 1\nA Fancy Title;\n\n// Option 2\n;\n")),Object(esm.b)("h3",{id:"modal-body"},"Modal Body"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"In the simplest case the ",Object(esm.b)("strong",{parentName:"p"},"Modal.Body")," just wraps all its children. However, it can be used to implement a more complex Dialog (i.e. if you do not want to render a Header). You can specify the ",Object(esm.b)("em",{parentName:"p"},"icon")," property (any node, e.g. an ",Object(esm.b)("em",{parentName:"p"},"<","img /",">")," or your custom ",Object(esm.b)("em",{parentName:"p"},"<","Icon /",">")," component) which will be displayed on the left side of the Dialog's Body. When you set the ",Object(esm.b)("em",{parentName:"p"},"showCloseIcon")," property to ",Object(esm.b)("strong",{parentName:"p"},"true")," the Body will display a close icon to dismiss the Dialog again. This should only be used when no Header is used."),Object(esm.b)("h3",{id:"modal-actions"},"Modal Actions"),Object(esm.b)("hr",null),Object(esm.b)("p",null,"The ",Object(esm.b)("strong",{parentName:"p"},"Modal.Actions")," displays an action bar on the bottom of the Modal. It works best with the Reactist Buttons. If you set the ",Object(esm.b)("em",{parentName:"p"},"close")," property to ",Object(esm.b)("strong",{parentName:"p"},"true")," on any of the supplied children it's ",Object(esm.b)("em",{parentName:"p"},"onClick")," function will close the modal."),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},'\n \n\n')),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Playground",args:{plain:!1,showCloseIcon:!1,large:!1,medium:!1,title:"Header of Modal",subtitle:"This is a smaller description"},mdxType:"Story"},WithPlaygroundTemplate.bind({}))),Object(esm.b)(blocks.b,{story:"Playground",mdxType:"ArgsTable"}),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal header",args:{title:"Header of Modal",buttonTitle:"Header Only",buttonText:"Click me to launch a Modal with Header"},mdxType:"Story"},ModalTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal header and body",args:{body:"The Body of a Modal can contain whatever you like!",title:"Header of Modal",subtitle:"This is a smaller description",buttonTitle:"Header and Body",buttonText:"Click me to launch a Modal with Header and Body"},mdxType:"Story"},ModalTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal header body with actions",mdxType:"Story"},WithActionsTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Modal scrollable body",args:{body:ScrollableText,title:"Header of modal with scrollable body",buttonTitle:"Scrollable Body",buttonText:"Click me to launch a Modal with Scrollable Body"},table:{type:{summary:"string"},defaultValue:{summary:"Hello"}},mdxType:"Story"},ModalTemplate.bind({}))),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Plain medium modal",args:{body:PlainMediumText,title:"Header of Modal",buttonTitle:"Header, Body and Actions",buttonText:"Click me to launch a medium-sized Modal with Header and plain Body",medium:!0,plain:!0},mdxType:"Story"},ModalTemplate.bind({}))))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var playground=WithPlaygroundTemplate.bind({});playground.storyName="Playground",playground.args={plain:!1,showCloseIcon:!1,large:!1,medium:!1,title:"Header of Modal",subtitle:"This is a smaller description"},playground.parameters=Object.assign({storySource:{source:"WithPlaygroundTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalHeader=ModalTemplate.bind({});modalHeader.storyName="Modal header",modalHeader.args={title:"Header of Modal",buttonTitle:"Header Only",buttonText:"Click me to launch a Modal with Header"},modalHeader.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalHeaderAndBody=ModalTemplate.bind({});modalHeaderAndBody.storyName="Modal header and body",modalHeaderAndBody.args={body:"The Body of a Modal can contain whatever you like!",title:"Header of Modal",subtitle:"This is a smaller description",buttonTitle:"Header and Body",buttonText:"Click me to launch a Modal with Header and Body"},modalHeaderAndBody.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalHeaderBodyWithActions=WithActionsTemplate.bind({});modalHeaderBodyWithActions.storyName="Modal header body with actions",modalHeaderBodyWithActions.parameters=Object.assign({storySource:{source:"WithActionsTemplate.bind({})"}},{docs:{source:{type:"code"}}});var modalScrollableBody=ModalTemplate.bind({});modalScrollableBody.storyName="Modal scrollable body",modalScrollableBody.args={body:ScrollableText,title:"Header of modal with scrollable body",buttonTitle:"Scrollable Body",buttonText:"Click me to launch a Modal with Scrollable Body"},modalScrollableBody.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var plainMediumModal=ModalTemplate.bind({});plainMediumModal.storyName="Plain medium modal",plainMediumModal.args={body:PlainMediumText,title:"Header of Modal",buttonTitle:"Header, Body and Actions",buttonText:"Click me to launch a medium-sized Modal with Header and plain Body",medium:!0,plain:!0},plainMediumModal.parameters=Object.assign({storySource:{source:"ModalTemplate.bind({})"}},{docs:{source:{type:"code"}}});var componentMeta={title:"Components/Modal",component:components_modal,argTypes:{title:{name:"title",description:"The modal's title",control:{type:"text"},table:{type:{summary:"string"}}},subtitle:{name:"subtitle",description:"The modal's subtitle",control:{type:"text"},table:{type:{summary:"string"}}},showCloseIcon:{name:"showCloseIcon",description:"The modal's close icon",control:{type:"boolean"},table:{type:{summary:"boolean"}}},medium:{name:"medium",description:"Medium sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},large:{name:"large",description:"Large sized modal",control:{type:"boolean"},table:{type:{summary:"boolean"}}},plain:{name:"plain",description:"A plain modal without styles",control:{type:"boolean"},table:{type:{summary:"boolean"}}}},includeStories:["playground","modalHeader","modalHeaderAndBody","modalHeaderBodyWithActions","modalScrollableBody","plainMediumModal"]},mdxStoryNameToKey={Playground:"playground","Modal header":"modalHeader","Modal header and body":"modalHeaderAndBody","Modal header body with actions":"modalHeaderBodyWithActions","Modal scrollable body":"modalScrollableBody","Plain medium modal":"plainMediumModal"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(esm.b)(blocks.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.b)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1317:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ProgressBarStory",(function(){return ProgressBar_stories_ProgressBarStory})),__webpack_require__.d(__webpack_exports__,"ProgressBarPlaygroundStory",(function(){return ProgressBar_stories_ProgressBarPlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(1280);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames);__webpack_require__(1282);function ProgressBar(_ref){var _ref$fillPercentage=_ref.fillPercentage,fillPercentage=void 0===_ref$fillPercentage?0:_ref$fillPercentage,className=_ref.className,finalClassName=classnames_default()("reactist_progress_bar",className),width=fillPercentage<0?0:fillPercentage>100?100:fillPercentage;return react_default.a.createElement("div",{className:finalClassName},react_default.a.createElement("div",{className:"inner",style:{width:"".concat(width,"%")}}))}ProgressBar.displayName="ProgressBar",ProgressBar.displayName="ProgressBar";try{ProgressBar.displayName="ProgressBar",ProgressBar.__docgenInfo={description:"",displayName:"ProgressBar",props:{className:{defaultValue:null,description:"Additional css class applied to the progress bar.",name:"className",required:!1,type:{name:"string | undefined"}},fillPercentage:{defaultValue:{value:"0"},description:"How much of the progress bar should be filled. Number between 0 and 100 inclusive.",name:"fillPercentage",required:!1,type:{name:"number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/progress-bar/progress-bar.tsx#ProgressBar"]={docgenInfo:ProgressBar.__docgenInfo,name:"ProgressBar",path:"src/components/progress-bar/progress-bar.tsx#ProgressBar"})}catch(__react_docgen_typescript_loader_error){}var components_progress_bar=ProgressBar;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i (\n
\n

Progress Bars

\n \n \n \n \n \n
\n)'}},ProgressBar_stories_ProgressBarStory.parameters),ProgressBar_stories_ProgressBarPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => (\n
\n \n
\n)'}},ProgressBar_stories_ProgressBarPlaygroundStory.parameters);try{ProgressBar_stories_ProgressBarPlaygroundStory.displayName="ProgressBarPlaygroundStory",ProgressBar_stories_ProgressBarPlaygroundStory.__docgenInfo={description:"",displayName:"ProgressBarPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/ProgressBar.stories.tsx#ProgressBarPlaygroundStory"]={docgenInfo:ProgressBar_stories_ProgressBarPlaygroundStory.__docgenInfo,name:"ProgressBarPlaygroundStory",path:"stories/components/ProgressBar.stories.tsx#ProgressBarPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1318:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"RangeInputStory",(function(){return RangeInput_stories_RangeInputStory})),__webpack_require__.d(__webpack_exports__,"RangeInputPlaygroundStory",(function(){return RangeInput_stories_RangeInputPlaygroundStory}));__webpack_require__(124),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(12),__webpack_require__(99),__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(423),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames);__webpack_require__(1284);function RangeInput(_ref){var _ref$value=_ref.value,value=void 0===_ref$value?0:_ref$value,_ref$min=_ref.min,min=void 0===_ref$min?0:_ref$min,_ref$max=_ref.max,max=void 0===_ref$max?100:_ref$max,_ref$stepSize=_ref.stepSize,stepSize=void 0===_ref$stepSize?1:_ref$stepSize,onPlus=_ref.onPlus,onMinus=_ref.onMinus,_onChange=_ref.onChange,className=_ref.className;"function"!=typeof onPlus&&(onPlus=_onChange),"function"!=typeof onMinus&&(onMinus=_onChange);var rangeInputClassName=classnames_default()("reactist_range_input",className);return react_default.a.createElement("div",{className:rangeInputClassName},react_default.a.createElement("span",{className:"range_btn minus",onClick:function onClick(){return value>min&&onMinus&&onMinus(value-stepSize)}}),react_default.a.createElement("input",{value:value,className:"range_slider",type:"range",min:min,max:max,step:stepSize,onChange:function onChange(event){return null==_onChange?void 0:_onChange(parseInt(event.target.value))}}),react_default.a.createElement("span",{className:"range_btn plus",onClick:function onClick(){return value void) | undefined"}},onMinus:{defaultValue:null,description:"Optional function that is called when minus button is clicked. If not supplied onChange will be called with the next value.",name:"onMinus",required:!1,type:{name:"((value: number) => void) | undefined"}},onChange:{defaultValue:null,description:"Callback function that is called whenever the range input value changes. When onPlus or onMinus is supplied this will not be called for button clicks.",name:"onChange",required:!1,type:{name:"((value: number) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/range-input/range-input.tsx#RangeInput"]={docgenInfo:RangeInput.__docgenInfo,name:"RangeInput",path:"src/components/range-input/range-input.tsx#RangeInput"})}catch(__react_docgen_typescript_loader_error){}var components_range_input=RangeInput;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [value, setValue] = useState(50)\n\n const handleChange = (val) => {\n setValue(val)\n }\n\n return (\n
\n

RangeInput

\n \n
\n )\n}'}},RangeInput_stories_RangeInputStory.parameters),RangeInput_stories_RangeInputPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n const [value, setValue] = useState(50)\n\n const handleChange = (val) => {\n setValue(val)\n }\n\n return (\n
\n

Current Value: {value}

\n \n
\n )\n}'}},RangeInput_stories_RangeInputPlaygroundStory.parameters);try{RangeInput_stories_RangeInputPlaygroundStory.displayName="RangeInputPlaygroundStory",RangeInput_stories_RangeInputPlaygroundStory.__docgenInfo={description:"",displayName:"RangeInputPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/RangeInput.stories.tsx#RangeInputPlaygroundStory"]={docgenInfo:RangeInput_stories_RangeInputPlaygroundStory.__docgenInfo,name:"RangeInputPlaygroundStory",path:"stories/components/RangeInput.stories.tsx#RangeInputPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1319:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SelectStory",(function(){return Select_stories_SelectStory})),__webpack_require__.d(__webpack_exports__,"SelectPlaygroundStory",(function(){return Select_stories_SelectPlaygroundStory}));__webpack_require__(124),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(12),__webpack_require__(99),__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=(__webpack_require__(20),__webpack_require__(15),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames);__webpack_require__(1288);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Select(_ref){var value=_ref.value,_ref$options=_ref.options,options=void 0===_ref$options?[]:_ref$options,_onChange=_ref.onChange,_ref$disabled=_ref.disabled,disabled=void 0===_ref$disabled||_ref$disabled,_ref$className=_ref.className,className=void 0===_ref$className?"":_ref$className,defaultValue=_ref.defaultValue,otherProps=_objectWithoutProperties(_ref,["value","options","onChange","disabled","className","defaultValue"]),selectClassName=classnames_default()("reactist_select",{disabled:disabled},className);return react_default.a.createElement("select",_extends({className:selectClassName,value:value,onChange:function onChange(event){return _onChange?_onChange(event.target.value):void 0},disabled:disabled,defaultValue:defaultValue},otherProps),null==options?void 0:options.map((function(option){return react_default.a.createElement("option",{key:option.key||option.value,value:option.value,disabled:option.disabled},option.text)})))}Select.displayName="Select",Select.displayName="Select",Select.defaultProps={options:[],disabled:!1};try{Select.displayName="Select",Select.__docgenInfo={description:"",displayName:"Select",props:{className:{defaultValue:{value:""},description:"",name:"className",required:!1,type:{name:"string | undefined"}},disabled:{defaultValue:{value:"false"},description:"",name:"disabled",required:!1,type:{name:"boolean | undefined"}},value:{defaultValue:null,description:"Currently selected value.",name:"value",required:!1,type:{name:"string | number | undefined"}},onChange:{defaultValue:null,description:"Callback for the change event. Will be called with the next value (not the full event).",name:"onChange",required:!1,type:{name:"((value: string) => void) | undefined"}},options:{defaultValue:{value:"[]"},description:"Options that are rendered in the select.",name:"options",required:!1,type:{name:"Option[] | undefined"}},defaultValue:{defaultValue:null,description:"Value to initially be set",name:"defaultValue",required:!1,type:{name:"string | number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/select/select.tsx#Select"]={docgenInfo:Select.__docgenInfo,name:"Select",path:"src/components/select/select.tsx#Select"})}catch(__react_docgen_typescript_loader_error){}var components_select=Select;function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [value, setValue] = useState(options[0].value)\n\n const handleChange = (val) => {\n setValue(val)\n }\n\n return (\n
\n \n
\n )\n}'}},Select_stories_SelectPlaygroundStory.parameters);try{Select_stories_SelectPlaygroundStory.displayName="SelectPlaygroundStory",Select_stories_SelectPlaygroundStory.__docgenInfo={description:"",displayName:"SelectPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Select.stories.tsx#SelectPlaygroundStory"]={docgenInfo:Select_stories_SelectPlaygroundStory.__docgenInfo,name:"SelectPlaygroundStory",path:"stories/components/Select.stories.tsx#SelectPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1320:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"ResponsiveStory",(function(){return hidden_stories_ResponsiveStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),stack=__webpack_require__(40),box=(__webpack_require__(15),__webpack_require__(8),__webpack_require__(60)),hidden_module=__webpack_require__(645),hidden_module_default=__webpack_require__.n(hidden_module),polymorphism=__webpack_require__(82);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var hidden_Hidden=Object(polymorphism.a)((function Hidden(_ref,ref){var _ref$display=_ref.display,display=void 0===_ref$display?"block":_ref$display,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["display","children","exceptionallySetClassName"]),hiddenOnPrint="print"in props&&props.print,hiddenOnDesktop="above"in props,hiddenOnMobile="below"in props,hiddenOnTablet="below"in props&&"desktop"===props.below||"above"in props&&"mobile"===props.above;return hiddenOnDesktop&&hiddenOnMobile&&console.warn(' should receive either above="…" or below="…" but not both'),hiddenOnDesktop||hiddenOnMobile||hiddenOnPrint||console.warn(" did not receive any criteria to hide itself"),"above"in props&&delete props.above,"below"in props&&delete props.below,"print"in props&&delete props.print,react.createElement(box.a,_extends({},props,{ref:ref,className:[exceptionallySetClassName,hiddenOnPrint?hidden_module_default.a.hiddenOnPrint:null],display:hiddenOnDesktop&&hiddenOnMobile?"none":{mobile:hiddenOnMobile?"none":display,tablet:hiddenOnTablet?"none":display,desktop:hiddenOnDesktop?"none":display}}),children)}));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}__webpack_exports__.default={title:"Design system/Hidden",component:hidden_Hidden};var hidden_stories_ResponsiveStory=function ResponsiveStory(){return react.createElement(react.Fragment,null,react.createElement(storybook_helper.b,null),react.createElement(stack.a,{space:"medium"},react.createElement(storybook_helper.a,{label:"Always visible 📱💻🖥"}),react.createElement(hidden_Hidden,{above:"mobile"},react.createElement(storybook_helper.a,{label:"Visible only on mobile 📱",height:30})),react.createElement(hidden_Hidden,{below:"desktop"},react.createElement(storybook_helper.a,{label:"Visible only on desktop 🖥",height:75})),react.createElement(hidden_Hidden,{below:"tablet"},react.createElement(storybook_helper.a,{label:"Visible in tablet and desktop 💻🖥",height:60})),react.createElement(hidden_Hidden,{above:"tablet"},react.createElement(storybook_helper.a,{label:"Visible in mobile and tablet 📱💻",height:45})),react.createElement(hidden_Hidden,{above:"tablet"},react.createElement(storybook_helper.a,{label:"Does not make sense"}))))};hidden_stories_ResponsiveStory.parameters=function _objectSpread(target){for(var i=1;i\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n\n \n \n \n \n \n )\n}'}},hidden_stories_ResponsiveStory.parameters)},1321:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return select_field_stories_InteractivePropsStory}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),base_field=__webpack_require__(1352),box=__webpack_require__(60),select_field_module=__webpack_require__(647),select_field_module_default=__webpack_require__.n(select_field_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var select_field_SelectField=react.forwardRef((function SelectField(_ref,ref){var id=_ref.id,label=_ref.label,secondaryLabel=_ref.secondaryLabel,auxiliaryLabel=_ref.auxiliaryLabel,hint=_ref.hint,maxWidth=_ref.maxWidth,children=_ref.children,hidden=_ref.hidden,ariaDescribedBy=_ref["aria-describedby"],props=_objectWithoutProperties(_ref,["id","label","secondaryLabel","auxiliaryLabel","hint","maxWidth","children","hidden","aria-describedby"]);return react.createElement(base_field.a,{id:id,label:label,secondaryLabel:secondaryLabel,auxiliaryLabel:auxiliaryLabel,hint:hint,maxWidth:maxWidth,hidden:hidden,"aria-describedby":ariaDescribedBy},(function(extraProps){return react.createElement(box.a,{className:select_field_module_default.a.selectWrapper},react.createElement("select",_extends({},props,extraProps,{ref:ref}),children),react.createElement(SelectChevron,{"aria-hidden":!0}))}))}));function SelectChevron(props){return react.createElement("svg",_extends({width:"16",height:"16",fill:"none",xmlns:"http://www.w3.org/2000/svg"},props),react.createElement("path",{d:"M11.646 5.646a.5.5 0 0 1 .708.708l-4 4a.5.5 0 0 1-.708 0l-4-4a.5.5 0 1 1 .708-.708L8 9.293l3.646-3.647z",fill:"currentColor"}))}SelectChevron.displayName="SelectChevron";try{select_field_SelectField.displayName="SelectField",select_field_SelectField.__docgenInfo={description:"",displayName:"SelectField",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/select-field/select-field.tsx#SelectField"]={docgenInfo:select_field_SelectField.__docgenInfo,name:"SelectField",path:"src/new-components/select-field/select-field.tsx#SelectField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function select_field_stories_extends(){return(select_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/SelectField",component:select_field_SelectField};function preventDefault(event){event.preventDefault()}var select_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,auxiliaryLabel=_ref.auxiliaryLabel,props=select_field_stories_objectWithoutProperties(_ref,["label","auxiliaryLabel"]);return react.createElement(select_field_SelectField,select_field_stories_extends({},props,{label:label,auxiliaryLabel:auxiliaryLabel?react.createElement("a",{href:"#",onClick:preventDefault},auxiliaryLabel):void 0,defaultValue:"-"}),react.createElement("option",{value:"-",disabled:!0},"Select theme"),react.createElement("optgroup",{label:"Light themes"},react.createElement("option",{value:"default"},"Default theme"),react.createElement("option",{value:"bright"},"Extra bright")),react.createElement("optgroup",{label:"Dark themes"},react.createElement("option",{value:"contrast"},"High contrast"),react.createElement("option",{value:"dark"},"Dark mode")))};select_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",select_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Theme"},secondaryLabel:{control:{type:"text"},defaultValue:"optional"},auxiliaryLabel:{control:{type:"text"},defaultValue:"Need help?"},hint:{control:{type:"text"},defaultValue:"The theme you select will be applied immediately. If you upgrade to premium you will have more themes to choose from."},maxWidth:Object(storybook_helper.i)(["xsmall","small","medium","large","xlarge"],"small")},select_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return (\n \n {auxiliaryLabel}\n \n ) : undefined\n }\n defaultValue="-"\n >\n \n \n \n \n \n \n \n \n \n \n )\n}'}},select_field_stories_InteractivePropsStory.parameters);try{select_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",select_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/select-field/select-field.stories.tsx#InteractivePropsStory"]={docgenInfo:select_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/select-field/select-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},1322:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return switch_field_stories_InteractivePropsStory}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),box=(__webpack_require__(124),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(12),__webpack_require__(99),__webpack_require__(60)),stack=__webpack_require__(40),hidden_visually=__webpack_require__(1351),base_field=__webpack_require__(1352),common_helpers=__webpack_require__(192),switch_field_module=__webpack_require__(208),switch_field_module_default=__webpack_require__.n(switch_field_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var switch_field_SwitchField=react.forwardRef((function SwitchField(_ref,ref){var _ref2,_props$checked,_props$checked2,label=_ref.label,hint=_ref.hint,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,hidden=_ref.hidden,defaultChecked=_ref.defaultChecked,originalId=_ref.id,originalAriaDescribedBy=_ref["aria-describedby"],_onChange=_ref.onChange,props=_objectWithoutProperties(_ref,["label","hint","disabled","hidden","defaultChecked","id","aria-describedby","onChange"]),id=Object(common_helpers.a)(originalId),hintId=Object(common_helpers.a)(),ariaDescribedBy=null!=originalAriaDescribedBy?originalAriaDescribedBy:hint?hintId:void 0,_React$useState2=_slicedToArray(react.useState(null!==(_ref2=null!==(_props$checked=props.checked)&&void 0!==_props$checked?_props$checked:defaultChecked)&&void 0!==_ref2&&_ref2),2),checkedState=_React$useState2[0],setChecked=_React$useState2[1],isChecked=null!==(_props$checked2=props.checked)&&void 0!==_props$checked2?_props$checked2:checkedState;return react.createElement(stack.a,{space:"small",hidden:hidden},react.createElement(box.a,{className:[switch_field_module_default.a.container,disabled?switch_field_module_default.a.disabled:null,isChecked?switch_field_module_default.a.checked:null],as:"label",display:"flex",alignItems:"center"},react.createElement(box.a,{position:"relative",display:"inlineBlock",overflow:"visible",marginRight:"small",flexShrink:0,className:switch_field_module_default.a.toggle},react.createElement(hidden_visually.a,null,react.createElement("input",_extends({},props,{id:id,type:"checkbox",disabled:disabled,"aria-describedby":ariaDescribedBy,ref:ref,checked:isChecked,onChange:function onChange(event){null==_onChange||_onChange(event),event.defaultPrevented||setChecked(event.currentTarget.checked)}}))),react.createElement("span",{className:switch_field_module_default.a.handle})),react.createElement("span",{className:switch_field_module_default.a.label},label)),hint?react.createElement(base_field.b,{id:hintId},hint):null)}));try{switch_field_SwitchField.displayName="SwitchField",switch_field_SwitchField.__docgenInfo={description:"",displayName:"SwitchField",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/switch-field/switch-field.tsx#SwitchField"]={docgenInfo:switch_field_SwitchField.__docgenInfo,name:"SwitchField",path:"src/new-components/switch-field/switch-field.tsx#SwitchField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function switch_field_stories_extends(){return(switch_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/SwitchField",component:switch_field_SwitchField};var switch_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,props=switch_field_stories_objectWithoutProperties(_ref,["label"]);return react.createElement(switch_field_SwitchField,switch_field_stories_extends({},props,{label:label||"Default label"}))};switch_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",switch_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Show unread badge"},hint:{control:{type:"text"},defaultValue:"Show an icon badge to indicate that there are new threads and messages."},disabled:{control:{type:"boolean"},defaultValue:!1}},switch_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return \n}"}},switch_field_stories_InteractivePropsStory.parameters);try{switch_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",switch_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/switch-field/switch-field.stories.tsx#InteractivePropsStory"]={docgenInfo:switch_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/switch-field/switch-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},1323:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"Template",(function(){return tabs_stories_Template})),__webpack_require__.d(__webpack_exports__,"mainDemo",(function(){return mainDemo})),__webpack_require__.d(__webpack_exports__,"primaryColor",(function(){return primaryColor})),__webpack_require__.d(__webpack_exports__,"secondaryColor",(function(){return secondaryColor})),__webpack_require__.d(__webpack_exports__,"tertiaryColor",(function(){return tertiaryColor})),__webpack_require__.d(__webpack_exports__,"plainVariant",(function(){return plainVariant})),__webpack_require__.d(__webpack_exports__,"usingTheTabAwareSlotComponent",(function(){return tabs_stories_usingTheTabAwareSlotComponent})),__webpack_require__.d(__webpack_exports__,"multipleTabListInstances",(function(){return tabs_stories_multipleTabListInstances}));__webpack_require__(424),__webpack_require__(8),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10);var react=__webpack_require__(0),esm=__webpack_require__(1),blocks=__webpack_require__(17),classnames=(__webpack_require__(27),__webpack_require__(195),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(124),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(99),__webpack_require__(66),__webpack_require__(12),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames),TabState=__webpack_require__(1353),Tab=__webpack_require__(1354),TabList=__webpack_require__(1355),TabPanel=__webpack_require__(1356),inline=__webpack_require__(151),use_previous=__webpack_require__(438),tabs_module=__webpack_require__(353),tabs_module_default=__webpack_require__.n(tabs_module);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){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 _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){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 _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i` group.",displayName:"Tabs",props:{children:{defaultValue:null,description:"The `` component must be composed from a `` and corresponding `` components",name:"children",required:!0,type:{name:"ReactNode"}},color:{defaultValue:{value:"primary"},description:"Determines the primary colour of the tabs",name:"color",required:!1,type:{name:'"primary" | "secondary" | "tertiary" | undefined'}},variant:{defaultValue:{value:"normal"},description:"Determines the style of the tabs",name:"variant",required:!1,type:{name:'"normal" | "plain" | undefined'}},selectedId:{defaultValue:null,description:"The id of the selected tab",name:"selectedId",required:!1,type:{name:"string | null | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#Tabs"]={docgenInfo:Tabs.__docgenInfo,name:"Tabs",path:"src/new-components/tabs/tabs.tsx#Tabs"})}catch(__react_docgen_typescript_loader_error){}try{tabs_TabList.displayName="TabList",tabs_TabList.__docgenInfo={description:"A component used to group `` elements together.",displayName:"TabList",props:{"aria-label":{defaultValue:null,description:"Labels the tab list for assistive technologies. This must be provided if `aria-labelledby` is omitted.",name:"aria-label",required:!0,type:{name:"string"}},children:{defaultValue:null,description:"A list of `` elements",name:"children",required:!0,type:{name:"ReactNode"}},space:{defaultValue:{value:"medium"},description:"Controls the spacing between tabs",name:"space",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "xxlarge" | readonly [Space, Space] | readonly [Space, Space, Space] | Readonly<{ mobile?: "small" | "large" | ... 4 more ... | undefined; tablet?: "small" | ... 5 more ... | undefined; desktop?: "small" | ... 5 more ... | undefined; }> | undefined'}},"aria-labelledby":{defaultValue:null,description:"One or more element IDs used to label the tab list for assistive technologies. Required if\n`aria-label` is omitted.",name:"aria-labelledby",required:!0,type:{name:"string"}},"aria-hidden":{defaultValue:null,description:"For cases where multiple instances of the tab list exists, the duplicates may be marked as aria-hidden",name:"aria-hidden",required:!0,type:{name:"boolean"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#TabList"]={docgenInfo:tabs_TabList.__docgenInfo,name:"TabList",path:"src/new-components/tabs/tabs.tsx#TabList"})}catch(__react_docgen_typescript_loader_error){}try{tabs_Tab.displayName="Tab",tabs_Tab.__docgenInfo={description:"Represents the individual tab elements within the group. Each `` must have a corresponding `` component.",displayName:"Tab",props:{children:{defaultValue:null,description:"The content to render inside of the tab button",name:"children",required:!0,type:{name:"ReactNode"}},id:{defaultValue:null,description:"The tab's identifier. This must match its corresponding ``'s id",name:"id",required:!0,type:{name:"string"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#Tab"]={docgenInfo:tabs_Tab.__docgenInfo,name:"Tab",path:"src/new-components/tabs/tabs.tsx#Tab"})}catch(__react_docgen_typescript_loader_error){}try{tabs_TabPanel.displayName="TabPanel",tabs_TabPanel.__docgenInfo={description:"Used to define the content to be rendered when a tab is active. Each `` must have a corresponding `` component.",displayName:"TabPanel",props:{children:{defaultValue:null,description:"The content to be rendered inside the tab",name:"children",required:!0,type:{name:"ReactNode"}},id:{defaultValue:null,description:"The tabPanel's identifier. This must match its corresponding ``'s id",name:"id",required:!0,type:{name:"string"}},render:{defaultValue:{value:"always"},description:"By default, the tab panel's content is always rendered even when they are not active. This behaviour can be changed to\n'active', which renders only when the tab is active, and 'lazy', meaning while inactive tab panels will not be rendered\ninitially, they will remain mounted once they are active until the entire Tabs tree is unmounted.",name:"render",required:!1,type:{name:'"always" | "active" | "lazy" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#TabPanel"]={docgenInfo:tabs_TabPanel.__docgenInfo,name:"TabPanel",path:"src/new-components/tabs/tabs.tsx#TabPanel"})}catch(__react_docgen_typescript_loader_error){}try{TabAwareSlot.displayName="TabAwareSlot",TabAwareSlot.__docgenInfo={description:"Allows content to be rendered based on the current tab being selected while outside of the TabPanel\ncomponent. Can be placed freely within the main `` component.",displayName:"TabAwareSlot",props:{children:{defaultValue:null,description:"Render prop used to provide the content to be rendered inside the slot. The render prop will be\ncalled with the current `selectedId`",name:"children",required:!0,type:{name:"(provided: { selectedId?: string | null | undefined; }) => ReactElement ReactElement Component)> | null) | (new (props: any) => Component<...>)> | null"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/tabs/tabs.tsx#TabAwareSlot"]={docgenInfo:TabAwareSlot.__docgenInfo,name:"TabAwareSlot",path:"src/new-components/tabs/tabs.tsx#TabAwareSlot"})}catch(__react_docgen_typescript_loader_error){}var box=__webpack_require__(60),text_text=__webpack_require__(57),columns=__webpack_require__(11);function tabs_stories_extends(){return(tabs_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var tabs_stories_Template=function Template(_ref){var color=_ref.color,variant=_ref.variant,space=_ref.space,selectedId=_ref.selectedId,render=_ref.render,ariaLabel=_ref["aria-label"],ariaLabelledby=_ref["aria-labelledby"];return Object(esm.b)(Tabs,{color:color,variant:variant,selectedId:selectedId,mdxType:"Tabs"},Object(esm.b)(tabs_TabList,{"aria-label":ariaLabel,"aria-labelledby":ariaLabelledby,space:space,mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3")),Object(esm.b)(tabs_TabPanel,{id:"tab1",render:render,mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2",render:render,mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3",render:render,mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 3"))))};tabs_stories_Template.displayName="Template";var layoutProps={Template:tabs_stories_Template};function MDXContent(_ref2){var components=_ref2.components,props=tabs_stories_objectWithoutProperties(_ref2,["components"]);return Object(esm.b)("wrapper",tabs_stories_extends({},layoutProps,props,{components:components,mdxType:"MDXLayout"}),Object(esm.b)(blocks.e,{title:"Design system/Tabs",component:Tabs,mdxType:"Meta"}),Object(esm.b)("h1",{id:"tabs"},"Tabs"),Object(esm.b)("p",null,"A set of components that allow tabs to be rendered, which controls the visibility of their corresponding tab panels.\nThis component is powered by ",Object(esm.b)("a",{parentName:"p",href:"https://reakit.io/docs/tab",target:"_blank",rel:"nofollow noopener noreferrer"},"Reakit's Tab component"),". For more details of its expected\nbehaviour, see ",Object(esm.b)("a",{parentName:"p",href:"https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Roles/Tab_Role",target:"_blank",rel:"nofollow noopener noreferrer"},"ARIA: tab role"),"."),Object(esm.b)("p",null,"🎨 ",Object(esm.b)("a",{parentName:"p",href:"https://www.figma.com/file/LYlWNzvhMDh907l07mPPQk/Product-Web?node-id=4693%3A175143",target:"_blank",rel:"nofollow noopener noreferrer"},"Figma")),Object(esm.b)(blocks.c,{mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Main demo for Tabs"},argTypes:{selectedId:{options:["tab1","tab2","tab3",null,void 0],control:{type:"inline-radio"}},variant:{options:["normal","plain"],control:{type:"inline-radio"}},color:{options:["primary","secondary","tertiary"],control:{type:"inline-radio"}},space:{options:["xsmall","small","medium","large","xlarge","xxlarge"],control:{type:"inline-radio"}},render:{options:["always","active","lazy"],control:{type:"inline-radio"}}},name:"Main demo",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h2",{id:"tabs-1"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:Tabs,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:Tabs,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tablist"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:tabs_TabList,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:tabs_TabList,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tab"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:tabs_Tab,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:tabs_Tab,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tabpanel"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:tabs_TabPanel,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:tabs_TabPanel,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"tabawareslot"},Object(esm.b)("inlineCode",{parentName:"h2"},"")),Object(esm.b)(blocks.d,{of:TabAwareSlot,mdxType:"Description"}),Object(esm.b)(blocks.b,{of:TabAwareSlot,mdxType:"ArgsTable"}),Object(esm.b)("h2",{id:"colors"},"Colors"),Object(esm.b)("p",null,"The following CSS custom properties are available so that the tabs' colors can be customized:"),Object(esm.b)("pre",null,Object(esm.b)("code",{parentName:"pre"},"--reactist-tab-primary-background\n--reactist-tab-primary-foreground\n--reactist-tab-primary-unselected\n\n--reactist-tab-secondary-background\n--reactist-tab-secondary-foreground\n--reactist-tab-secondary-unselected\n\n--reactist-tab-tertiary-background\n--reactist-tab-tertiary-foreground\n--reactist-tab-tertiary-unselected\n")),Object(esm.b)("h2",{id:"stories"},"Stories"),Object(esm.b)("h3",{id:"primary-color"},"Primary color"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with primary color style"},name:"Primary color",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"secondary-color"},"Secondary color"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with secondary color style",color:"secondary"},name:"Secondary color",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"tertiary-color"},"Tertiary color"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with tertiary color style",color:"tertiary"},name:"Tertiary color",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"plain-variant"},"Plain variant"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},args:{"aria-label":"Tabs with plain variant style",variant:"plain"},name:"Plain variant",mdxType:"Story"},tabs_stories_Template.bind({}))),Object(esm.b)("h3",{id:"using-the-tabawareslot-component"},"Using the ",Object(esm.b)("inlineCode",{parentName:"h3"},"")," component"),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Using the TabAwareSlot component",mdxType:"Story"},Object(esm.b)(Tabs,{mdxType:"Tabs"},Object(esm.b)(columns.b,{mdxType:"Columns"},Object(esm.b)(columns.a,{width:"content",mdxType:"Column"},Object(esm.b)(tabs_TabList,{"aria-label":"TabAwareSlot example tabs",mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3"))),Object(esm.b)(columns.a,{mdxType:"Column"},Object(esm.b)(TabAwareSlot,{mdxType:"TabAwareSlot"},(function(_ref3){var selectedId=_ref3.selectedId;return Object(esm.b)(box.a,{height:"full",display:"flex",alignItems:"center",justifyContent:"flexEnd",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Currently showing the ",selectedId," tab"))})))),Object(esm.b)(tabs_TabPanel,{id:"tab1",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 3")))))),Object(esm.b)("h3",{id:"multiple-tablist-instances"},"Multiple ",Object(esm.b)("inlineCode",{parentName:"h3"},"")," instances"),Object(esm.b)("p",null,"As long as they exist within the same ",Object(esm.b)("inlineCode",{parentName:"p"},"")," component tree, multiple ",Object(esm.b)("inlineCode",{parentName:"p"},"")," instances can be rendered."),Object(esm.b)(blocks.c,{withToolbar:!0,mdxType:"Canvas"},Object(esm.b)(blocks.f,{parameters:{docs:{source:{type:"code"}}},name:"Multiple TabList instances",mdxType:"Story"},Object(esm.b)(Tabs,{mdxType:"Tabs"},Object(esm.b)(tabs_TabList,{"aria-label":"Multiple tablist example tabs",mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3")),Object(esm.b)(tabs_TabPanel,{id:"tab1",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3",mdxType:"TabPanel"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge",mdxType:"Box"},Object(esm.b)(text_text.a,{mdxType:"Text"},"Content of tab 3"))),Object(esm.b)(tabs_TabList,{"aria-hidden":!0,mdxType:"TabList"},Object(esm.b)(tabs_Tab,{id:"tab1",mdxType:"Tab"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2",mdxType:"Tab"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3",mdxType:"Tab"},"Tab 3"))))))}MDXContent.displayName="MDXContent",MDXContent.isMDXComponent=!0;var mainDemo=tabs_stories_Template.bind({});mainDemo.storyName="Main demo",mainDemo.argTypes={selectedId:{options:["tab1","tab2","tab3",null,void 0],control:{type:"inline-radio"}},variant:{options:["normal","plain"],control:{type:"inline-radio"}},color:{options:["primary","secondary","tertiary"],control:{type:"inline-radio"}},space:{options:["xsmall","small","medium","large","xlarge","xxlarge"],control:{type:"inline-radio"}},render:{options:["always","active","lazy"],control:{type:"inline-radio"}}},mainDemo.args={"aria-label":"Main demo for Tabs"},mainDemo.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var primaryColor=tabs_stories_Template.bind({});primaryColor.storyName="Primary color",primaryColor.args={"aria-label":"Tabs with primary color style"},primaryColor.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var secondaryColor=tabs_stories_Template.bind({});secondaryColor.storyName="Secondary color",secondaryColor.args={"aria-label":"Tabs with secondary color style",color:"secondary"},secondaryColor.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var tertiaryColor=tabs_stories_Template.bind({});tertiaryColor.storyName="Tertiary color",tertiaryColor.args={"aria-label":"Tabs with tertiary color style",color:"tertiary"},tertiaryColor.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var plainVariant=tabs_stories_Template.bind({});plainVariant.storyName="Plain variant",plainVariant.args={"aria-label":"Tabs with plain variant style",variant:"plain"},plainVariant.parameters=Object.assign({storySource:{source:'({\n color,\n variant,\n space,\n selectedId,\n render,\n \'aria-label\': ariaLabel,\n \'aria-labelledby\': ariaLabelledby\n}) => \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var tabs_stories_usingTheTabAwareSlotComponent=function usingTheTabAwareSlotComponent(){return Object(esm.b)(Tabs,null,Object(esm.b)(columns.b,null,Object(esm.b)(columns.a,{width:"content"},Object(esm.b)(tabs_TabList,{"aria-label":"TabAwareSlot example tabs"},Object(esm.b)(tabs_Tab,{id:"tab1"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3"},"Tab 3"))),Object(esm.b)(columns.a,null,Object(esm.b)(TabAwareSlot,null,(function(_ref4){var selectedId=_ref4.selectedId;return Object(esm.b)(box.a,{height:"full",display:"flex",alignItems:"center",justifyContent:"flexEnd"},Object(esm.b)(text_text.a,null,"Currently showing the ",selectedId," tab"))})))),Object(esm.b)(tabs_TabPanel,{id:"tab1"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 3"))))};tabs_stories_usingTheTabAwareSlotComponent.displayName="usingTheTabAwareSlotComponent",tabs_stories_usingTheTabAwareSlotComponent.storyName="Using the TabAwareSlot component",tabs_stories_usingTheTabAwareSlotComponent.parameters=Object.assign({storySource:{source:'\n \n \n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n \n {({\n selectedId\n }) => \n Currently showing the {selectedId} tab\n }\n \n \n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n '}},{docs:{source:{type:"code"}}});var tabs_stories_multipleTabListInstances=function multipleTabListInstances(){return Object(esm.b)(Tabs,null,Object(esm.b)(tabs_TabList,{"aria-label":"Multiple tablist example tabs"},Object(esm.b)(tabs_Tab,{id:"tab1"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3"},"Tab 3")),Object(esm.b)(tabs_TabPanel,{id:"tab1"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 1"))),Object(esm.b)(tabs_TabPanel,{id:"tab2"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 2"))),Object(esm.b)(tabs_TabPanel,{id:"tab3"},Object(esm.b)(box.a,{paddingX:"small",paddingY:"xlarge"},Object(esm.b)(text_text.a,null,"Content of tab 3"))),Object(esm.b)(tabs_TabList,{"aria-hidden":!0},Object(esm.b)(tabs_Tab,{id:"tab1"},"Tab 1"),Object(esm.b)(tabs_Tab,{id:"tab2"},"Tab 2"),Object(esm.b)(tabs_Tab,{id:"tab3"},"Tab 3")))};tabs_stories_multipleTabListInstances.displayName="multipleTabListInstances",tabs_stories_multipleTabListInstances.storyName="Multiple TabList instances",tabs_stories_multipleTabListInstances.parameters=Object.assign({storySource:{source:'\n \n Tab 1\n Tab 2\n Tab 3\n \n \n \n Content of tab 1\n \n \n \n \n Content of tab 2\n \n \n \n \n Content of tab 3\n \n \n \n Tab 1\n Tab 2\n Tab 3\n \n '}},{docs:{source:{type:"code"}}});var componentMeta={title:"Design system/Tabs",component:Tabs,includeStories:["mainDemo","primaryColor","secondaryColor","tertiaryColor","plainVariant","usingTheTabAwareSlotComponent","multipleTabListInstances"]},mdxStoryNameToKey={"Main demo":"mainDemo","Primary color":"primaryColor","Secondary color":"secondaryColor","Tertiary color":"tertiaryColor","Plain variant":"plainVariant","Using the TabAwareSlot component":"usingTheTabAwareSlotComponent","Multiple TabList instances":"multipleTabListInstances"};componentMeta.parameters=componentMeta.parameters||{},componentMeta.parameters.docs=Object.assign({},componentMeta.parameters.docs||{},{page:function page(){return Object(esm.b)(blocks.a,{mdxStoryNameToKey:mdxStoryNameToKey,mdxComponentMeta:componentMeta},Object(esm.b)(MDXContent,null))}});__webpack_exports__.default=componentMeta},1324:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"InteractivePropsStory",(function(){return text_field_stories_InteractivePropsStory}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),storybook_helper=__webpack_require__(3),base_field=__webpack_require__(1352),box=__webpack_require__(60),text_field_module=__webpack_require__(342),text_field_module_default=__webpack_require__.n(text_field_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var text_field_TextField=react.forwardRef((function TextField(_ref,ref){var id=_ref.id,label=_ref.label,secondaryLabel=_ref.secondaryLabel,auxiliaryLabel=_ref.auxiliaryLabel,hint=_ref.hint,_ref$type=_ref.type,type=void 0===_ref$type?"text":_ref$type,maxWidth=_ref.maxWidth,hidden=_ref.hidden,ariaDescribedBy=_ref["aria-describedby"],props=_objectWithoutProperties(_ref,["id","label","secondaryLabel","auxiliaryLabel","hint","type","maxWidth","hidden","aria-describedby"]);return react.createElement(base_field.a,{id:id,label:label,secondaryLabel:secondaryLabel,auxiliaryLabel:auxiliaryLabel,hint:hint,maxWidth:maxWidth,hidden:hidden,"aria-describedby":ariaDescribedBy},(function(extraProps){return react.createElement(box.a,{className:text_field_module_default.a.inputWrapper},react.createElement("input",_extends({},props,extraProps,{type:type,ref:ref})))}))}));try{text_field_TextField.displayName="TextField",text_field_TextField.__docgenInfo={description:"",displayName:"TextField",props:{type:{defaultValue:{value:"text"},description:"",name:"type",required:!1,type:{name:'"text" | "tel" | "url" | "email" | "search" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!0,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/text-field/text-field.tsx#TextField"]={docgenInfo:text_field_TextField.__docgenInfo,name:"TextField",path:"src/new-components/text-field/text-field.tsx#TextField"})}catch(__react_docgen_typescript_loader_error){}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _defineProperty(obj,key,value){return key in obj?Object.defineProperty(obj,key,{value:value,enumerable:!0,configurable:!0,writable:!0}):obj[key]=value,obj}function text_field_stories_extends(){return(text_field_stories_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}__webpack_exports__.default={title:"Design system/TextField",component:text_field_TextField};function preventDefault(event){event.preventDefault()}var text_field_stories_InteractivePropsStory=function InteractivePropsStory(_ref){var label=_ref.label,auxiliaryLabel=_ref.auxiliaryLabel,props=text_field_stories_objectWithoutProperties(_ref,["label","auxiliaryLabel"]);return react.createElement(text_field_TextField,text_field_stories_extends({},props,{label:label,auxiliaryLabel:auxiliaryLabel?react.createElement("a",{href:"#",onClick:preventDefault},auxiliaryLabel):void 0}))};text_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",text_field_stories_InteractivePropsStory.argTypes={label:{control:{type:"text"},defaultValue:"Your name"},secondaryLabel:{control:{type:"text"},defaultValue:"optional"},auxiliaryLabel:{control:{type:"text"},defaultValue:"Need help?"},hint:{control:{type:"text"},defaultValue:"We need your name for billing and shipping purposes. Make sure to enter it correctly."},placeholder:{control:{type:"text"},defaultValue:"Enter your name as it appears in your ID"},maxWidth:Object(storybook_helper.i)(["xsmall","small","medium","large","xlarge"],"small")},text_field_stories_InteractivePropsStory.parameters=function _objectSpread(target){for(var i=1;i) {\n return (\n \n {auxiliaryLabel}\n \n ) : undefined\n }\n />\n )\n}'}},text_field_stories_InteractivePropsStory.parameters);try{text_field_stories_InteractivePropsStory.displayName="InteractivePropsStory",text_field_stories_InteractivePropsStory.__docgenInfo={description:"",displayName:"InteractivePropsStory",props:{type:{defaultValue:null,description:"",name:"type",required:!1,type:{name:'"text" | "tel" | "url" | "email" | "search" | undefined'}},label:{defaultValue:null,description:"The main label for this field element.\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see secondaryLabel\n@see auxiliaryLabel",name:"label",required:!1,type:{name:"ReactNode"}},secondaryLabel:{defaultValue:null,description:"An optional secondary label for this field element. It is combined with the `label` to\nform the field's entire accessible name (unless the field label is overriden by using\n`aria-label` or `aria-labelledby`).\n\nAvoid providing interactive elements in the label. Prefer `auxiliaryLabel` for that.\n@see label\n@see auxiliaryLabel",name:"secondaryLabel",required:!1,type:{name:"ReactNode"}},auxiliaryLabel:{defaultValue:null,description:"An optional extra element to be placed to the right of the main and secondary labels.\n\nThis extra element is not included in the accessible name of the field element. Its only\npurpose is either visual, or functional (if you include interactive elements in it).\n@see label\n@see secondaryLabel",name:"auxiliaryLabel",required:!1,type:{name:"ReactNode"}},hint:{defaultValue:null,description:"A hint or help-like content associated as the accessible description of the field. It is\ngenerally rendered below it, and with a visual style that reduces its prominence (i.e.\nas secondary text).",name:"hint",required:!1,type:{name:"ReactNode"}},maxWidth:{defaultValue:null,description:"The maximum width that the input field can expand to.",name:"maxWidth",required:!1,type:{name:'"small" | "large" | "xsmall" | "medium" | "xlarge" | "full" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/text-field/text-field.stories.tsx#InteractivePropsStory"]={docgenInfo:text_field_stories_InteractivePropsStory.__docgenInfo,name:"InteractivePropsStory",path:"src/new-components/text-field/text-field.stories.tsx#InteractivePropsStory"})}catch(__react_docgen_typescript_loader_error){}},1325:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"StandardButtonsStory",(function(){return Button_stories_StandardButtonsStory})),__webpack_require__.d(__webpack_exports__,"SmallButtonsStory",(function(){return Button_stories_SmallButtonsStory})),__webpack_require__.d(__webpack_exports__,"LargeButtonsStory",(function(){return Button_stories_LargeButtonsStory})),__webpack_require__.d(__webpack_exports__,"DisabledButtonsStory",(function(){return Button_stories_DisabledButtonsStory})),__webpack_require__.d(__webpack_exports__,"LoadingButtonsStory",(function(){return Button_stories_LoadingButtonsStory})),__webpack_require__.d(__webpack_exports__,"AlternateBrandingButtonsStory",(function(){return Button_stories_AlternateBrandingButtonsStory})),__webpack_require__.d(__webpack_exports__,"ButtonPlaygroundStory",(function(){return Button_stories_ButtonPlaygroundStory}));__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),react_markdown=__webpack_require__(348),react_markdown_default=__webpack_require__.n(react_markdown),components_button=(__webpack_require__(1235),__webpack_require__(31));function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i .reactist_button {\n background-color: @primary-color;\n\n &--primary:not([disabled]):hover {\n background-color: @primary-color-darker;\n }\n\n &:not(.reactist_button--loading):not(.reactist_button--secondary)&:disabled {\n background-color: @primary-color-lighter;\n }\n\n &.reactist_button--secondary {\n background-color: white;\n border: 1px solid @primary-color;\n color: @primary-color;\n }\n }\n }\n"}),react_default.a.createElement("br",null),react_default.a.createElement(components_button.a,{variant:"primary"},"Primary Button"),react_default.a.createElement(components_button.a,{variant:"secondary"},"Secondary Button"))};Button_stories_AlternateBrandingButtonsStory.displayName="AlternateBrandingButtonsStory";var Button_stories_ButtonPlaygroundStory=function ButtonPlaygroundStory(args){return react_default.a.createElement("section",{className:"story playground"},react_default.a.createElement(components_button.a,args,"Button Text"))};Button_stories_ButtonPlaygroundStory.displayName="ButtonPlaygroundStory",Button_stories_ButtonPlaygroundStory.args={variant:"primary",size:"default",disabled:!1,loading:!1,tooltip:""},Button_stories_ButtonPlaygroundStory.argTypes={disabled:"boolean",loading:"boolean",variant:{type:"select",options:["(none)","primary","secondary","danger","link"]},size:{type:"select",options:["default","small","large"]}},Button_stories_StandardButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n

\n You can and it works as\n you'd expect.\n

\n
\n )\n}'}},Button_stories_StandardButtonsStory.parameters),Button_stories_SmallButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n
\n )\n}'}},Button_stories_SmallButtonsStory.parameters),Button_stories_LargeButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n
\n )\n}'}},Button_stories_LargeButtonsStory.parameters),Button_stories_DisabledButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n \n \n
\n )\n}'}},Button_stories_DisabledButtonsStory.parameters),Button_stories_LoadingButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n \n \n \n

\n Note: loading has no effect on link or plain buttons. Use{\' \'}\n disabled instead.\n

\n
\n )\n}'}},Button_stories_LoadingButtonsStory.parameters),Button_stories_AlternateBrandingButtonsStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n

\n If you want your buttons to have a different color scheme you need to import a\n .css file and overwrite the following rules:\n

\n \n
\n \n \n
\n )\n}'}},Button_stories_AlternateBrandingButtonsStory.parameters),Button_stories_ButtonPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n return (\n
\n \n
\n )\n}'}},Button_stories_ButtonPlaygroundStory.parameters);try{Button_stories_ButtonPlaygroundStory.displayName="ButtonPlaygroundStory",Button_stories_ButtonPlaygroundStory.__docgenInfo={description:"",displayName:"ButtonPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Button.stories.tsx#ButtonPlaygroundStory"]={docgenInfo:Button_stories_ButtonPlaygroundStory.__docgenInfo,name:"ButtonPlaygroundStory",path:"stories/components/Button.stories.tsx#ButtonPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1326:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"SimpleMenuExample",(function(){return Menu_stories_SimpleMenuExample})),__webpack_require__.d(__webpack_exports__,"OverflowMenuExample",(function(){return Menu_stories_OverflowMenuExample}));__webpack_require__(12),__webpack_require__(27),__webpack_require__(20),__webpack_require__(124),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(66),__webpack_require__(99),__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(1264);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(70),classnames=(__webpack_require__(15),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames),polymorphism=__webpack_require__(82),MenuState=__webpack_require__(1362),Menu_MenuButton=__webpack_require__(1360),Menu=__webpack_require__(1359),Menu_MenuItem=__webpack_require__(1357),MenuGroup=__webpack_require__(1358),PopoverBackdrop=__webpack_require__(1363);__webpack_require__(1268);function _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||function _unsupportedIterableToArray(o,minLen){if(!o)return;if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);"Object"===n&&o.constructor&&(n=o.constructor.name);if("Map"===n||"Set"===n)return Array.from(o);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return _arrayLikeToArray(o,minLen)}(arr,i)||function _nonIterableRest(){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 _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MenuContext=react.createContext({});function menu_Menu(_ref){var children=_ref.children,onItemSelect=_ref.onItemSelect,props=_objectWithoutProperties(_ref,["children","onItemSelect"]),state=MenuState.a(_objectSpread({loop:!0},props)),handleItemSelect=react.useCallback((function handleItemSelect(value){onItemSelect&&onItemSelect(value)}),[onItemSelect]),value=react.useMemo((function(){return _objectSpread(_objectSpread({},state),{},{handleItemSelect:handleItemSelect})}),[state,handleItemSelect]);return react.createElement(MenuContext.Provider,{value:value},children)}menu_Menu.displayName="Menu";var menu_MenuButton=Object(polymorphism.a)((function MenuButton(_ref2,ref){var exceptionallySetClassName=_ref2.exceptionallySetClassName,props=_objectWithoutProperties(_ref2,["exceptionallySetClassName"]),_React$useContext=react.useContext(MenuContext),state=(_React$useContext.handleItemSelect,_objectWithoutProperties(_React$useContext,["handleItemSelect"]));return react.createElement(Menu_MenuButton.a,_extends({},props,state,{ref:ref,className:classnames_default()("reactist_menubutton",exceptionallySetClassName)}))})),BACKDROP_STYLE={width:"100%",height:"100%",position:"fixed",top:0,left:0};function MenuBackdrop(_ref3){var baseId=_ref3.baseId,visible=_ref3.visible,animated=_ref3.animated,animating=_ref3.animating,stopAnimation=_ref3.stopAnimation,modal=_ref3.modal,children=_ref3.children;return react.createElement(PopoverBackdrop.a,{baseId:baseId,visible:visible,animated:animated,animating:animating,stopAnimation:stopAnimation,modal:modal,style:BACKDROP_STYLE},children)}MenuBackdrop.displayName="MenuBackdrop";var menu_MenuList=Object(polymorphism.a)((function MenuList(_ref4,ref){var exceptionallySetClassName=_ref4.exceptionallySetClassName,props=_objectWithoutProperties(_ref4,["exceptionallySetClassName"]),_React$useContext2=react.useContext(MenuContext),state=(_React$useContext2.handleItemSelect,_objectWithoutProperties(_React$useContext2,["handleItemSelect"]));return state.visible?react.createElement(MenuBackdrop,state,react.createElement(Menu.a,_extends({},props,state,{ref:ref,className:classnames_default()("reactist_menulist",exceptionallySetClassName)}))):null})),menu_MenuItem=Object(polymorphism.a)((function MenuItem(_ref5,ref){var value=_ref5.value,children=_ref5.children,onSelect=_ref5.onSelect,_ref5$hideOnSelect=_ref5.hideOnSelect,hideOnSelect=void 0===_ref5$hideOnSelect||_ref5$hideOnSelect,onClick=_ref5.onClick,exceptionallySetClassName=_ref5.exceptionallySetClassName,props=_objectWithoutProperties(_ref5,["value","children","onSelect","hideOnSelect","onClick","exceptionallySetClassName"]),_React$useContext3=react.useContext(MenuContext),handleItemSelect=_React$useContext3.handleItemSelect,state=_objectWithoutProperties(_React$useContext3,["handleItemSelect"]),hide=state.hide,handleClick=react.useCallback((function handleClick(event){null==onClick||onClick(event);var shouldClose=!1!==(onSelect&&!event.defaultPrevented?onSelect():void 0)&&hideOnSelect;handleItemSelect(value),shouldClose&&hide()}),[onSelect,onClick,handleItemSelect,hideOnSelect,hide,value]);return react.createElement(Menu_MenuItem.a,_extends({},props,state,{ref:ref,onClick:handleClick,className:exceptionallySetClassName}),children)})),menu_SubMenu=react.forwardRef((function SubMenu(_ref6,ref){var children=_ref6.children,onItemSelect=_ref6.onItemSelect,props=_objectWithoutProperties(_ref6,["children","onItemSelect"]),_React$useContext4=react.useContext(MenuContext),parentMenuItemSelect=_React$useContext4.handleItemSelect,state=_objectWithoutProperties(_React$useContext4,["handleItemSelect"]),parentMenuHide=state.hide,handleSubItemSelect=react.useCallback((function handleSubItemSelect(value){onItemSelect&&onItemSelect(value),parentMenuItemSelect(value),parentMenuHide()}),[parentMenuHide,parentMenuItemSelect,onItemSelect]),_React$Children$toArr2=_slicedToArray(react.Children.toArray(children),2),button=_React$Children$toArr2[0],list=_React$Children$toArr2[1];return react.createElement(Menu_MenuItem.a,_extends({},state,props,{ref:ref}),(function(buttonProps){return react.createElement(menu_Menu,{onItemSelect:handleSubItemSelect},react.cloneElement(button,_objectSpread(_objectSpread({},buttonProps),{},{className:classnames_default()(buttonProps.className,"reactist_submenu_button")})),list)}))})),menu_MenuGroup=Object(polymorphism.a)((function MenuGroud(_ref7,ref){var label=_ref7.label,children=_ref7.children,exceptionallySetClassName=_ref7.exceptionallySetClassName,props=_objectWithoutProperties(_ref7,["label","children","exceptionallySetClassName"]),_React$useContext5=react.useContext(MenuContext),state=(_React$useContext5.handleItemSelect,_objectWithoutProperties(_React$useContext5,["handleItemSelect"]));return react.createElement(MenuGroup.a,_extends({ref:ref},props,state,{className:exceptionallySetClassName}),label?react.createElement("div",{role:"presentation",className:"reactist_menugroup__label"},label):null,children)}));try{menu_Menu.displayName="Menu",menu_Menu.__docgenInfo={description:"Wrapper component to control a menu. It does not render anything, only providing the state\nmanagement for the menu components inside it.",displayName:"Menu",props:{baseId:{defaultValue:null,description:"ID that will serve as a base for all the items IDs.",name:"baseId",required:!1,type:{name:"string | undefined"}},animated:{defaultValue:null,description:"If `true`, `animating` will be set to `true` when `visible` is updated.\nIt'll wait for `stopAnimation` to be called or a CSS transition ends.\nIf `animated` is set to a `number`, `stopAnimation` will be called only\nafter the same number of milliseconds have passed.",name:"animated",required:!1,type:{name:"number | boolean | undefined"}},modal:{defaultValue:null,description:"Toggles Dialog's `modal` state.\n - Non-modal: `preventBodyScroll` doesn't work and focus is free.\n - Modal: `preventBodyScroll` is automatically enabled, focus is\ntrapped within the dialog and the dialog is rendered within a `Portal`\nby default.",name:"modal",required:!1,type:{name:"boolean | undefined"}},placement:{defaultValue:null,description:"Actual `placement`.",name:"placement",required:!1,type:{name:'"auto-start" | "auto" | "auto-end" | "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined'}},wrap:{defaultValue:{value:"false"},description:"**Has effect only on two-dimensional composites**. If enabled, moving to\nthe next item from the last one in a row or column will focus the first\nitem in the next row or column and vice-versa.\n - `true` wraps between rows and columns.\n - `horizontal` wraps only between rows.\n - `vertical` wraps only between columns.\n - If `loop` matches the value of `wrap`, it'll wrap between the last\nitem in the last row or column and the first item in the first row or\ncolumn and vice-versa.",name:"wrap",required:!1,type:{name:'boolean | "horizontal" | "vertical" | undefined'}},unstable_virtual:{defaultValue:{value:"false"},description:"If enabled, the composite element will act as an\n[aria-activedescendant](https://www.w3.org/TR/wai-aria-practices-1.1/#kbd_focus_activedescendant)\ncontainer instead of\n[roving tabindex](https://www.w3.org/TR/wai-aria-practices/#kbd_roving_tabindex).\nDOM focus will remain on the composite while its items receive virtual focus.",name:"unstable_virtual",required:!1,type:{name:"boolean | undefined"}},rtl:{defaultValue:{value:"false"},description:'Determines how `next` and `previous` functions will behave. If `rtl` is\nset to `true`, they will be inverted. This only affects the composite\nwidget behavior. You still need to set `dir="rtl"` on HTML/CSS.',name:"rtl",required:!1,type:{name:"boolean | undefined"}},orientation:{defaultValue:{value:"undefined"},description:"Defines the orientation of the composite widget. If the composite has a\nsingle row or column (one-dimensional), the `orientation` value determines\nwhich arrow keys can be used to move focus:\n - `undefined`: all arrow keys work.\n - `horizontal`: only left and right arrow keys work.\n - `vertical`: only up and down arrow keys work.\n\nIt doesn't have any effect on two-dimensional composites.",name:"orientation",required:!1,type:{name:'"horizontal" | "vertical" | undefined'}},currentId:{defaultValue:{value:"undefined"},description:'The current focused item `id`.\n - `undefined` will automatically focus the first enabled composite item.\n - `null` will focus the base composite element and users will be able to\nnavigate out of it using arrow keys.\n - If `currentId` is initially set to `null`, the base composite element\nitself will have focus and users will be able to navigate to it using\narrow keys.\n@example // First enabled item has initial focus\nuseCompositeState();\n// Base composite element has initial focus\nuseCompositeState({ currentId: null });\n// Specific composite item element has initial focus\nuseCompositeState({ currentId: "item-id" });',name:"currentId",required:!1,type:{name:"string | null | undefined"}},loop:{defaultValue:{value:"false"},description:"On one-dimensional composites:\n - `true` loops from the last item to the first item and vice-versa.\n - `horizontal` loops only if `orientation` is `horizontal` or not set.\n - `vertical` loops only if `orientation` is `vertical` or not set.\n - If `currentId` is initially set to `null`, the composite element will\nbe focused in between the last and first items.\n\nOn two-dimensional composites:\n - `true` loops from the last row/column item to the first item in the\nsame row/column and vice-versa. If it's the last item in the last row, it\nmoves to the first item in the first row and vice-versa.\n - `horizontal` loops only from the last row item to the first item in\nthe same row.\n - `vertical` loops only from the last column item to the first item in\nthe column row.\n - If `currentId` is initially set to `null`, vertical loop will have no\neffect as moving down from the last row or up from the first row will\nfocus the composite element.\n - If `wrap` matches the value of `loop`, it'll wrap between the last\nitem in the last row or column and the first item in the first row or\ncolumn and vice-versa.",name:"loop",required:!1,type:{name:'boolean | "horizontal" | "vertical" | undefined'}},shift:{defaultValue:{value:"false"},description:"**Has effect only on two-dimensional composites**. If enabled, moving up\nor down when there's no next item or the next item is disabled will shift\nto the item right before it.",name:"shift",required:!1,type:{name:"boolean | undefined"}},unstable_includesBaseElement:{defaultValue:{value:"false"},description:"@private",name:"unstable_includesBaseElement",required:!1,type:{name:"boolean | undefined"}},unstable_values:{defaultValue:null,description:"Stores the values of radios and checkboxes within the menu.",name:"unstable_values",required:!1,type:{name:"Record | undefined"}},unstable_fixed:{defaultValue:null,description:"Whether or not the popover should have `position` set to `fixed`.",name:"unstable_fixed",required:!1,type:{name:"boolean | undefined"}},unstable_flip:{defaultValue:null,description:"Flip the popover's placement when it starts to overlap its reference\nelement.",name:"unstable_flip",required:!1,type:{name:"boolean | undefined"}},unstable_offset:{defaultValue:null,description:"Offset between the reference and the popover: [main axis, alt axis]. Should not be combined with `gutter`.",name:"unstable_offset",required:!1,type:{name:"[ReactText, ReactText] | undefined"}},gutter:{defaultValue:null,description:"Offset between the reference and the popover on the main axis. Should not be combined with `unstable_offset`.",name:"gutter",required:!1,type:{name:"number | undefined"}},unstable_preventOverflow:{defaultValue:null,description:"Prevents popover from being positioned outside the boundary.",name:"unstable_preventOverflow",required:!1,type:{name:"boolean | undefined"}},children:{defaultValue:null,description:"The `Menu` must contain a `MenuList` that defines the menu options. It must also contain a\n`MenuButton` that triggers the menu to be opened or closed.",name:"children",required:!0,type:{name:"ReactNode"}},onItemSelect:{defaultValue:null,description:"An optional callback that will be called back whenever a menu item is selected. It receives\nthe `value` of the selected `MenuItem`.\n\nIf you pass down this callback, it is recommended that you properly memoize it so it does not\nchange on every render.",name:"onItemSelect",required:!1,type:{name:"((value: string | null | undefined) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/menu/menu.tsx#Menu"]={docgenInfo:menu_Menu.__docgenInfo,name:"Menu",path:"src/components/menu/menu.tsx#Menu"})}catch(__react_docgen_typescript_loader_error){}try{menu_SubMenu.displayName="SubMenu",menu_SubMenu.__docgenInfo={description:'This component can be rendered alongside other `MenuItem` inside a `MenuList` in order to have\na sub-menu.\n\nIts children are expected to have the structure of a first level menu (a `MenuButton` and a\n`MenuList`).\n\n```jsx\n\n\n More options\n \n \n \n \n\n```\n\nThe `MenuButton` will become a menu item in the current menu items list, and it will lead to\nopening a sub-menu with the menu items list below it.',displayName:"SubMenu",props:{children:{defaultValue:null,description:"The `Menu` must contain a `MenuList` that defines the menu options. It must also contain a\n`MenuButton` that triggers the menu to be opened or closed.",name:"children",required:!0,type:{name:"ReactNode"}},onItemSelect:{defaultValue:null,description:"An optional callback that will be called back whenever a menu item is selected. It receives\nthe `value` of the selected `MenuItem`.\n\nIf you pass down this callback, it is recommended that you properly memoize it so it does not\nchange on every render.",name:"onItemSelect",required:!1,type:{name:"((value: string | null | undefined) => void) | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/menu/menu.tsx#SubMenu"]={docgenInfo:menu_SubMenu.__docgenInfo,name:"SubMenu",path:"src/components/menu/menu.tsx#SubMenu"})}catch(__react_docgen_typescript_loader_error){}var keyboard_shortcut=__webpack_require__(276),components_button=__webpack_require__(31);function Menu_stories_ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function Menu_stories_objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i {\n const [flag, setFlag] = React.useState(false)\n return (\n
\n

Some menu examples

\n \n \n Simple menu \n \n \n Edit\n Duplicate\n Remove\n \n \n \n \n With sub-menu \n \n \n \n Reactist on Github\n \n About Reactist…\n Check for updates…\n
\n \n Preferences\n \n Settings\n Extensions\n
\n Notifications\n
\n
\n
\n
\n \n \n With extra features \n \n \n \n \n ✏️\n \n Edit\n \n \n \n 👯‍♀️\n \n Duplicate\n Cmd + D\n \n {\n action(flag ? 'Toggle off' : 'Toggle on')(flag ? '👎' : '👍')\n setFlag((f) => !f)\n return false // This prevents the menu from closing\n }}\n >\n \n {flag ? '👍' : '👎'}\n \n Toggle thumbs up or down\n \n
\n \n Remove first\n Remove completed\n \n Remove all (disabled)\n \n \n
\n
\n
\n )\n}"}},Menu_stories_SimpleMenuExample.parameters),Menu_stories_OverflowMenuExample.parameters=Menu_stories_objectSpread({storySource:{source:'() => {\n return (\n
\n

A list of items with an overflow options menu

\n

\n This example is meant to be expanded with future features we plan to support (such\n as allowing to control the visible state of the menu from outside, and allow it to\n be used as a context menu).\n

\n
    \n {items.map((item, index) => (\n \n ))}\n
\n
\n )\n}'}},Menu_stories_OverflowMenuExample.parameters)},1327:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"StandardNotificationStory",(function(){return Notification_stories_StandardNotificationStory})),__webpack_require__.d(__webpack_exports__,"NonClickableNotificationStory",(function(){return Notification_stories_NonClickableNotificationStory})),__webpack_require__.d(__webpack_exports__,"CustomContentNotificationStory",(function(){return Notification_stories_CustomContentNotificationStory})),__webpack_require__.d(__webpack_exports__,"NotificationPlaygroundStory",(function(){return Notification_stories_NotificationPlaygroundStory}));__webpack_require__(8),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(70),avatar=__webpack_require__(179),tip=__webpack_require__(233),classnames=(__webpack_require__(15),__webpack_require__(35)),classnames_default=__webpack_require__.n(classnames),CloseIcon_svg=__webpack_require__(193);__webpack_require__(1276);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Notification(_ref){var id=_ref.id,icon=_ref.icon,title=_ref.title,subtitle=_ref.subtitle,children=_ref.children,customCloseButton=_ref.customCloseButton,onClick=_ref.onClick,onClose=_ref.onClose,_ref$closeAltText=_ref.closeAltText,closeAltText=void 0===_ref$closeAltText?"Close":_ref$closeAltText,className=_ref.className,rest=_objectWithoutProperties(_ref,["id","icon","title","subtitle","children","customCloseButton","onClick","onClose","closeAltText","className"]),titleId=title?"".concat(id,"-title"):null,titleIdAttribute=titleId?{id:titleId}:null,subtitleId=subtitle?"".concat(id,"-subtitle"):null,subtitleIdAttribute=subtitleId?{id:subtitleId}:null,contentId=children?"".concat(id,"-content"):null,contentIdAttribute=children?{id:"".concat(id,"-content")}:null,ariaLabelledBy=contentId?{"aria-labelledby":contentId}:titleId?{"aria-labelledby":titleId}:null,ariaDescribedBy=subtitleId&&!children?{"aria-describedby":subtitleId}:null,notificationContent=react_default.a.createElement("div",_extends({className:"reactist-notification__content"},contentIdAttribute),null!=children?children:react_default.a.createElement(react_default.a.Fragment,null,title?react_default.a.createElement("h3",_extends({className:"reactist-notification__title"},titleIdAttribute),title):null,subtitle?react_default.a.createElement("p",_extends({className:"reactist-notification__subtitle"},subtitleIdAttribute),subtitle):null)),notificationBody=react_default.a.createElement("div",{className:"reactist-notification__icon-content-group"},null!=icon?icon:null,notificationContent);return react_default.a.createElement("div",_extends({id:id,role:"dialog",className:classnames_default()("reactist-notification",className,{"reactist-notification--with-button":Boolean(onClick),"reactist-notification--with-close-button":Boolean(onClose)})},ariaLabelledBy,ariaDescribedBy,rest),onClick?react_default.a.createElement("button",{className:"reactist-notification__button",onClick:onClick},notificationBody):notificationBody,onClose?react_default.a.createElement("button",{className:"reactist-notification__close-button",onClick:onClose,"aria-label":closeAltText},null!=customCloseButton?customCloseButton:react_default.a.createElement(CloseIcon_svg.a,null)):null)}Notification.displayName="Notification";try{Notification.displayName="Notification",Notification.__docgenInfo={description:"",displayName:"Notification",props:{id:{defaultValue:null,description:"",name:"id",required:!1,type:{name:"string"}},icon:{defaultValue:null,description:"",name:"icon",required:!1,type:{name:"ReactNode"}},title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"string | ({} & string) | (ReactElement ReactElement Component)> | null) | (new (props: any) => Component<...>)> & string) | (ReactNodeArray & string) | (ReactPortal & string) | undefined"}},subtitle:{defaultValue:null,description:"",name:"subtitle",required:!1,type:{name:"ReactNode"}},customCloseButton:{defaultValue:null,description:"",name:"customCloseButton",required:!1,type:{name:"ReactNode"}},onClick:{defaultValue:null,description:"",name:"onClick",required:!1,type:{name:"(((event: MouseEvent) => void) & ((event: MouseEvent) => void)) | undefined"}},onClose:{defaultValue:null,description:"",name:"onClose",required:!1,type:{name:"((event: MouseEvent) => void) | undefined"}},closeAltText:{defaultValue:{value:"Close"},description:"",name:"closeAltText",required:!1,type:{name:"string | undefined"}},className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/notification/notification.tsx#Notification"]={docgenInfo:Notification.__docgenInfo,name:"Notification",path:"src/components/notification/notification.tsx#Notification"})}catch(__react_docgen_typescript_loader_error){}__webpack_require__(1274);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i {\n return (\n
\n

Standard Notification

\n }\n title="You have a new message!"\n subtitle="Click here to view."\n onClose={action(\'onClose\')}\n onClick={action(\'onClick\')}\n />\n
\n )\n}'}},Notification_stories_StandardNotificationStory.parameters),Notification_stories_NonClickableNotificationStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n

Non-clickable Notification

\n \n
\n )\n}'}},Notification_stories_NonClickableNotificationStory.parameters),Notification_stories_CustomContentNotificationStory.parameters=_objectSpread({storySource:{source:'() => {\n return (\n
\n

Custom Content Notification

\n }\n onClose={action(\'onClose\')}\n className="notification-story-notification-container"\n >\n
\n

You received a message from Brock

\n

\n Better not leave him hanging\n \n

\n
\n \n
\n )\n}'}},Notification_stories_CustomContentNotificationStory.parameters),Notification_stories_NotificationPlaygroundStory.parameters=_objectSpread({storySource:{source:'(args) => {\n const onClose = args.onClose ? action(\'onClose\') : undefined\n const onClick = args.onClick ? action(\'onClick\') : undefined\n const icon = args.icon ? (\n
\n \n
\n ) : null\n const children = args.children ? (\n
\n

\n If children is provided, then{\' \'}\n it will be rendered instead of the title and subtitle\n

\n
\n ) : null\n\n return (\n
\n \n {children}\n \n
\n )\n}'}},Notification_stories_NotificationPlaygroundStory.parameters);try{Notification_stories_NotificationPlaygroundStory.displayName="NotificationPlaygroundStory",Notification_stories_NotificationPlaygroundStory.__docgenInfo={description:"",displayName:"NotificationPlaygroundStory",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["stories/components/Notification.stories.tsx#NotificationPlaygroundStory"]={docgenInfo:Notification_stories_NotificationPlaygroundStory.__docgenInfo,name:"NotificationPlaygroundStory",path:"stories/components/Notification.stories.tsx#NotificationPlaygroundStory"})}catch(__react_docgen_typescript_loader_error){}},1328:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Tooltip}));__webpack_require__(317),__webpack_require__(33),__webpack_require__(7),__webpack_require__(10),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38),__webpack_require__(15),__webpack_require__(8);var react__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_12__),classnames__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(35),classnames__WEBPACK_IMPORTED_MODULE_13___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_13__),reakit_Tooltip__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(1329),reakit_Tooltip__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(1330),reakit_Tooltip__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(1331);__webpack_require__(1145);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i void) | undefined"}},unstable_popoverRef:{defaultValue:null,description:"The popover element.\n@private",name:"unstable_popoverRef",required:!1,type:{name:"RefObject | undefined"}},unstable_popoverStyles:{defaultValue:null,description:"Popover styles.\n@private",name:"unstable_popoverStyles",required:!1,type:{name:"CSSProperties | undefined"}},unstable_system:{defaultValue:null,description:"Options passed to `reakit-system-*`\n@private",name:"unstable_system",required:!1,type:{name:"any"}},unstable_portal:{defaultValue:null,description:"Whether or not the tooltip should be rendered within `Portal`.",name:"unstable_portal",required:!1,type:{name:"boolean | undefined"}},wrapElement:{defaultValue:null,description:"Function returned by the hook to wrap the element to which html props\nwill be passed.",name:"wrapElement",required:!1,type:{name:"((element: ReactNode) => ReactNode) | undefined"}},content:{defaultValue:null,description:"",name:"content",required:!0,type:{name:"string | number | boolean | {} | ReactElement ReactElement Component)> | null) | (new (props: any) => Component<...>)> | ... 4 more ... | undefined"}},position:{defaultValue:{value:"top"},description:"",name:"position",required:!1,type:{name:'"auto-start" | "auto" | "auto-end" | "top-start" | "top" | "top-end" | "right-start" | "right" | "right-end" | "bottom-end" | "bottom" | "bottom-start" | "left-end" | "left" | "left-start" | undefined'}},gapSize:{defaultValue:{value:"3"},description:"",name:"gapSize",required:!1,type:{name:"number | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tooltip/tooltip.tsx#Tooltip"]={docgenInfo:Tooltip.__docgenInfo,name:"Tooltip",path:"src/components/tooltip/tooltip.tsx#Tooltip"})}catch(__react_docgen_typescript_loader_error){}},1351:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return HiddenVisually}));__webpack_require__(8);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(82),_box__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(60),_hidden_visually_module_css__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(644),_hidden_visually_module_css__WEBPACK_IMPORTED_MODULE_4___default=__webpack_require__.n(_hidden_visually_module_css__WEBPACK_IMPORTED_MODULE_4__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/base-field/base-field.tsx#BaseField"]={docgenInfo:BaseField.__docgenInfo,name:"BaseField",path:"src/new-components/base-field/base-field.tsx#BaseField"})}catch(__react_docgen_typescript_loader_error){}try{FieldHint.displayName="FieldHint",FieldHint.__docgenInfo={description:"",displayName:"FieldHint",props:{id:{defaultValue:null,description:"",name:"id",required:!0,type:{name:"string"}},hidden:{defaultValue:null,description:"",name:"hidden",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/base-field/base-field.tsx#FieldHint"]={docgenInfo:FieldHint.__docgenInfo,name:"FieldHint",path:"src/new-components/base-field/base-field.tsx#FieldHint"})}catch(__react_docgen_typescript_loader_error){}},151:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Inline}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8);var react__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(0),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(82),_responsive_props__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(29),_box__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(60),_inline_module_css__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(643),_inline_module_css__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(_inline_module_css__WEBPACK_IMPORTED_MODULE_8__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Inline=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_5__.a)((function Inline(_ref,ref){var as=_ref.as,space=_ref.space,_ref$align=_ref.align,align=void 0===_ref$align?"left":_ref$align,_ref$alignY=_ref.alignY,alignY=void 0===_ref$alignY?"center":_ref$alignY,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["as","space","align","alignY","children","exceptionallySetClassName"]);return react__WEBPACK_IMPORTED_MODULE_4__.createElement(_box__WEBPACK_IMPORTED_MODULE_7__.a,null,react__WEBPACK_IMPORTED_MODULE_4__.createElement(_box__WEBPACK_IMPORTED_MODULE_7__.a,_extends({},props,{as:as,display:"flex",flexWrap:"wrap",className:[exceptionallySetClassName,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_6__.a)(_inline_module_css__WEBPACK_IMPORTED_MODULE_8___default.a,"space",space)],ref:ref,alignItems:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_6__.b)(alignY,(function(alignY){return"top"===alignY?"flexStart":"bottom"===alignY?"flexEnd":"center"})),justifyContent:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_6__.b)(align,(function(align){return"left"===align?"flexStart":"right"===align?"flexEnd":"center"}))}),children))}))},179:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(12),__webpack_require__(110);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames);__webpack_require__(112),__webpack_require__(41),__webpack_require__(355);function getInitials(name){if(!name)return"";var seed=name.trim().split(" "),firstInitial=seed[0],lastInitial=seed[seed.length-1],initials=firstInitial[0];return firstInitial[0]!==lastInitial[0]&&(initials+=lastInitial[0]),initials.toUpperCase()}__webpack_require__(1160);var AVATAR_COLORS=["#fcc652","#e9952c","#e16b2d","#d84b40","#e8435a","#e5198a","#ad3889","#86389c","#a8a8a8","#98be2f","#5d9d50","#5f9f85","#5bbcb6","#32a3bf","#2bafeb","#2d88c3","#3863cc","#5e5e5e"],AVATAR_SIZES=["xxs","xs","s","m","l","xl","xxl","xxxl"];function Avatar(_ref){var email,maxIndex,seed,user=_ref.user,avatarUrl=_ref.avatarUrl,_ref$size=_ref.size,size=void 0===_ref$size?"l":_ref$size,className=_ref.className,_ref$colorList=_ref.colorList,colorList=void 0===_ref$colorList?AVATAR_COLORS:_ref$colorList,userInitials=getInitials(user.name)||getInitials(user.email),avatarSize=size&&AVATAR_SIZES.includes(size)?size:"l",avatarClass=classnames_default()("reactist_avatar reactist_avatar_size--".concat(avatarSize),className),style=avatarUrl?{backgroundImage:"url(".concat(avatarUrl,")"),textIndent:"-9999px"}:{backgroundColor:colorList[(email=user.email,maxIndex=colorList.length,seed=email.split("@")[0],(seed.charCodeAt(0)+seed.charCodeAt(seed.length-1)||0)%maxIndex)]};return react_default.a.createElement("div",{className:avatarClass,style:style},userInitials)}Avatar.displayName="Avatar",Avatar.displayName="Avatar";try{Avatar.displayName="Avatar",Avatar.__docgenInfo={description:"",displayName:"Avatar",props:{className:{defaultValue:null,description:"",name:"className",required:!1,type:{name:"string | undefined"}},colorList:{defaultValue:null,description:"",name:"colorList",required:!1,type:{name:"string[] | undefined"}},size:{defaultValue:{value:"l"},description:"",name:"size",required:!1,type:{name:'"l" | "xxs" | "xs" | "s" | "m" | "xl" | "xxl" | "xxxl" | undefined'}},avatarUrl:{defaultValue:null,description:"",name:"avatarUrl",required:!1,type:{name:"string | undefined"}},user:{defaultValue:null,description:"",name:"user",required:!0,type:{name:"{ name?: string | undefined; email: string; }"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/avatar/avatar.tsx#Avatar"]={docgenInfo:Avatar.__docgenInfo,name:"Avatar",path:"src/components/avatar/avatar.tsx#Avatar"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=Avatar},192:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useId}));__webpack_require__(27);var react__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(0),uid=0;function generateElementId(prefix){var num=function uniqueId(){return uid++}();return"".concat(prefix,"-").concat(num)}function useId(providedId){var ref=react__WEBPACK_IMPORTED_MODULE_1__.useRef(null!=providedId?providedId:null);return ref.current||(ref.current=generateElementId("element")),ref.current}},193:function(module,__webpack_exports__,__webpack_require__){"use strict";var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_0___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_0__),CloseIcon=function CloseIcon(){return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("svg",{width:"24",height:"24",viewBox:"0 0 24 24"},react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement("path",{fill:"gray",fillRule:"evenodd",d:"M11.293 12L5.146 5.854a.5.5 0 1 1 .708-.708L12 11.293l6.146-6.147a.5.5 0 0 1 .708.708L12.707 12l6.147 6.146a.5.5 0 0 1-.708.708L12 12.707l-6.146 6.147a.5.5 0 0 1-.708-.708L11.293 12z"}))};CloseIcon.displayName="CloseIcon",__webpack_exports__.a=CloseIcon},206:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1132);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},207:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1133);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},208:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1149);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},233:function(module,__webpack_exports__,__webpack_require__){"use strict";var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames),ThinQuestionMarkIcon_svg_ThinQuestionMark=function ThinQuestionMark(){return react_default.a.createElement("svg",{width:"18px",height:"18px",viewBox:"0 0 18 18"},react_default.a.createElement("g",{stroke:"none",strokeWidth:"1",fill:"none",fillRule:"evenodd"},react_default.a.createElement("g",{fill:"#979797"},react_default.a.createElement("path",{d:"M9,17 C13.418278,17 17,13.418278 17,9 C17,4.581722 13.418278,1 9,1 C4.581722,1 1,4.581722 1,9 C1,13.418278 4.581722,17 9,17 Z M9,18 C4.02943725,18 0,13.9705627 0,9 C0,4.02943725 4.02943725,0 9,0 C13.9705627,0 18,4.02943725 18,9 C18,13.9705627 13.9705627,18 9,18 Z",fillRule:"nonzero"}),react_default.a.createElement("path",{d:"M5.625,6.671875 L6.9609375,6.671875 C7.046875,5.5546875 7.796875,4.859375 8.9765625,4.859375 C10.140625,4.859375 10.890625,5.5703125 10.890625,6.5390625 C10.890625,7.375 10.5390625,7.8671875 9.6328125,8.421875 C8.5625,9.0625 8.0625,9.765625 8.0703125,10.796875 L8.0703125,11.515625 L9.4375,11.515625 L9.4375,11.0078125 C9.4375,10.1875 9.71875,9.75 10.7109375,9.1640625 C11.7109375,8.5625 12.34375,7.6953125 12.34375,6.46875 C12.34375,4.859375 11,3.640625 9.03125,3.640625 C6.8359375,3.640625 5.7109375,4.984375 5.625,6.671875 Z M8.859375,15.140625 C9.4921875,15.140625 9.9375,14.6875 9.9375,14.0546875 C9.9375,13.4140625 9.4921875,12.9609375 8.859375,12.9609375 C8.2265625,12.9609375 7.7734375,13.4140625 7.7734375,14.0546875 C7.7734375,14.6875 8.2265625,15.140625 8.859375,15.140625 Z"}))))};ThinQuestionMarkIcon_svg_ThinQuestionMark.displayName="ThinQuestionMark";var ThinQuestionMarkIcon_svg=ThinQuestionMarkIcon_svg_ThinQuestionMark,dropdown=__webpack_require__(106);__webpack_require__(1278);function Tip(_ref){var title=_ref.title,message=_ref.message,top=_ref.top,className=_ref.className,tipClass=classnames_default()("reactist_tip__container",className);return react_default.a.createElement(dropdown.a.Box,{top:top,className:tipClass},react_default.a.createElement(dropdown.a.Trigger,null,react_default.a.createElement(ThinQuestionMarkIcon_svg,null)),react_default.a.createElement(dropdown.a.Body,null,react_default.a.createElement("div",{className:"reactist_tip"},react_default.a.createElement("p",{className:"reactist_tip--title"},title),react_default.a.createElement("p",{className:"reactist_tip--message"},message))))}Tip.displayName="Tip",Tip.displayName="Tip",Tip.defaultProps={top:!1};try{Tip.displayName="Tip",Tip.__docgenInfo={description:"",displayName:"Tip",props:{className:{defaultValue:null,description:"Additional css class that is applied to the Tip.",name:"className",required:!1,type:{name:"string | undefined"}},title:{defaultValue:null,description:"Title of the tip.",name:"title",required:!1,type:{name:"ReactNode"}},message:{defaultValue:null,description:"Message of the tip.",name:"message",required:!1,type:{name:"ReactNode"}},top:{defaultValue:{value:"false"},description:"Whether the tip content should be displayed to the top or not. Maps to the Dropdown.Box top property.",name:"top",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/tip/tip.tsx#Tip"]={docgenInfo:Tip.__docgenInfo,name:"Tip",path:"src/components/tip/tip.tsx#Tip"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=Tip},276:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(66),__webpack_require__(83),__webpack_require__(41),__webpack_require__(20),__webpack_require__(112),__webpack_require__(110),__webpack_require__(123),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8);var react=__webpack_require__(0),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var globalTranslateKey=function globalTranslateKey(key){return key};function translateKeyMac(key){switch(key.toLowerCase()){case"cmd":case"mod":return"⌘";case"control":case"ctrl":return"⌃";case"alt":return"⌥";case"shift":return"⇧";case"space":return"␣";default:return key}}function KeyboardShortcut(_ref){var _navigator$platform$t,_navigator$platform,children=_ref.children,className=_ref.className,_ref$translateKey=_ref.translateKey,translateKey=void 0===_ref$translateKey?globalTranslateKey:_ref$translateKey,_ref$isMac=_ref.isMac,isMac=void 0===_ref$isMac?null!==(_navigator$platform$t=null===(_navigator$platform=navigator.platform)||void 0===_navigator$platform?void 0:_navigator$platform.toUpperCase().includes("MAC"))&&void 0!==_navigator$platform$t&&_navigator$platform$t:_ref$isMac,props=_objectWithoutProperties(_ref,["children","className","translateKey","isMac"]),shortcuts="string"==typeof children?[children]:children;return react.createElement("span",_extends({className:classnames_default()("reactist_keyboard_shortcut",className,{"reactist_keyboard_shortcut--macos":isMac})},props),shortcuts.map((function(shortcut,i){return react.createElement(react.Fragment,{key:i},0===i?null:", ",react.createElement("kbd",null,function parseKeys(shortcut,isMac,translateKey){var t=isMac?translateKeyMac:translateKey,_hasModifiers=function hasModifiers(str){return/\b(mod|cmd|ctrl|control|alt|shift)\b/i.test(str)}(shortcut);return isMac||(shortcut=shortcut.replace(/\b(mod|cmd)\b/i,"ctrl")),shortcut.split(/\s*\+\s*/).map((function mapIndividualKey(str){return function isSpecialKey(str){return/^(mod|cmd|ctrl|control|alt|shift|space|super)$/i.test(str)}(str)?function capitalize(str){return str.charAt(0).toUpperCase()+str.slice(1).toLowerCase()}(t(str)):_hasModifiers&&1===str.length?str.toUpperCase():str}))}(shortcut,isMac,translateKey).map((function(key,j){return react.createElement("kbd",{key:j},key)}))))})))}KeyboardShortcut.setTranslateKey=function(tr){globalTranslateKey=tr},KeyboardShortcut.displayName="KeyboardShortcut";try{KeyboardShortcut.displayName="KeyboardShortcut",KeyboardShortcut.__docgenInfo={description:"",displayName:"KeyboardShortcut",props:{children:{defaultValue:null,description:"The shortcut to be represented as markup. It supports an intuitive syntax where you can\ncombine modifiers (cmd, ctrl, shift, alt) with single keys all concatenated with plus signs.\nYou can also pass various shortcuts as an array, which will be depicted separated by commas.",name:"children",required:!0,type:{name:"string | string[]"}},translateKey:{defaultValue:null,description:"A function that allows you to change how some key names are represented. This may be useful,\nfor instance, to translate modifier names that are expressed differently in other languages\n(e.g. `Ctrl` is named `Strg` in German).\n\nIt defaults to a global version that leaves the key as is. You can pass your version as a\nprop, or you can also set your own version of this global default one, so you don't need to\npass your own on each invocation of this component.\n\n```js\nimport { KeyboardShortcut } from '@doist/reactist'\nKeyboardShortcut.setTranslateKey = key => { ... }\n```\n\nNote: When the component detects the macOS operating system it bypasses key translation for\nmost modifiers and uses macOS-specific symbols. See the `isMac` prop for details.",name:"translateKey",required:!1,type:{name:"((key: string) => string) | undefined"}},isMac:{defaultValue:{value:"navigator.platform?.toUpperCase().includes('MAC') ?? false"},description:"This prop is not meant to be passed. The component will automatically initialize it to `true`\nif it detects that the current browser / operating system is on macOS, in which case modifier\nkeys are represented using macOS' notation (e.g. ⌘ ⌃ ⌥ ⇧).\n\nThough it is discouraged, if you don't want this special treatment in macOS, you can pass\n`isMac={false}` in all invocations of this component.",name:"isMac",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/keyboard-shortcut/keyboard-shortcut.tsx#KeyboardShortcut"]={docgenInfo:KeyboardShortcut.__docgenInfo,name:"KeyboardShortcut",path:"src/components/keyboard-shortcut/keyboard-shortcut.tsx#KeyboardShortcut"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=KeyboardShortcut},278:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1125);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},279:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1126);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},29:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return getClassNames})),__webpack_require__.d(__webpack_exports__,"b",(function(){return mapResponsiveProp}));__webpack_require__(124),__webpack_require__(27),__webpack_require__(181),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49);function _typeof(obj){return(_typeof="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function _typeof(obj){return typeof obj}:function _typeof(obj){return obj&&"function"==typeof Symbol&&obj.constructor===Symbol&&obj!==Symbol.prototype?"symbol":typeof obj})(obj)}function isResponsivePropArray(responsiveProp){return Array.isArray(responsiveProp)}function getClassNames(styles,property,value){if(!value)return null;var classList=[];return isResponsivePropArray(value)&&(value={mobile:value[0],tablet:value[1],desktop:value[2]}),"string"==typeof value?classList.push(styles["".concat(property,"-").concat(value)]):(value.mobile&&classList.push(styles["".concat(property,"-").concat(value.mobile)]),value.tablet&&classList.push(styles["tablet-".concat(property,"-").concat(value.tablet)]),value.desktop&&classList.push(styles["desktop-".concat(property,"-").concat(value.desktop)])),classList}function mapResponsiveProp(fromValue,mapper){if(fromValue)return"object"!==_typeof(fromValue)?mapper(fromValue):(isResponsivePropArray(fromValue)&&(fromValue={mobile:fromValue[0],tablet:fromValue[1],desktop:fromValue[2]}),{mobile:fromValue.mobile?mapper(fromValue.mobile):void 0,tablet:fromValue.tablet?mapper(fromValue.tablet):void 0,desktop:fromValue.desktop?mapper(fromValue.desktop):void 0})}},3:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"f",(function(){return select})),__webpack_require__.d(__webpack_exports__,"i",(function(){return selectWithNone})),__webpack_require__.d(__webpack_exports__,"h",(function(){return selectSize})),__webpack_require__.d(__webpack_exports__,"g",(function(){return selectCount})),__webpack_require__.d(__webpack_exports__,"j",(function(){return times})),__webpack_require__.d(__webpack_exports__,"e",(function(){return reusableBoxProps})),__webpack_require__.d(__webpack_exports__,"d",(function(){return disableResponsiveProps})),__webpack_require__.d(__webpack_exports__,"c",(function(){return Wrapper})),__webpack_require__.d(__webpack_exports__,"b",(function(){return ResponsiveWidthRef})),__webpack_require__.d(__webpack_exports__,"a",(function(){return Placeholder}));__webpack_require__(27),__webpack_require__(20),__webpack_require__(108),__webpack_require__(7),__webpack_require__(124),__webpack_require__(10),__webpack_require__(42),__webpack_require__(22),__webpack_require__(68),__webpack_require__(46),__webpack_require__(47),__webpack_require__(49),__webpack_require__(99),__webpack_require__(66),__webpack_require__(12),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_22__=__webpack_require__(0),_box__WEBPACK_IMPORTED_MODULE_23__=__webpack_require__(60),_heading__WEBPACK_IMPORTED_MODULE_24__=__webpack_require__(44),_stack__WEBPACK_IMPORTED_MODULE_25__=__webpack_require__(40);__webpack_require__(1127);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i1&&void 0!==arguments[1]?arguments[1]:"none";return{control:{type:"select"},options:["none"].concat(_toConsumableArray(options)),defaultValue:defaultValue,mapping:{none:void 0}}}function selectSize(){var defaultValue=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"none";return selectWithNone(["xsmall","small","medium","large","xlarge","xxlarge"],defaultValue)}function selectCount(label){var defaultValue=arguments.length>1&&void 0!==arguments[1]?arguments[1]:5;return{control:{type:"number",min:1},name:label,defaultValue:defaultValue}}function times(count){return Array.apply(null,Array(count)).map((function(_x,i){return i}))}function reusableBoxProps(){return{maxWidth:selectWithNone(["xsmall","small","medium","large","xlarge","full"]),padding:selectSize(),paddingX:selectSize(),paddingY:selectSize(),paddingTop:selectSize(),paddingRight:selectSize(),paddingBottom:selectSize(),paddingLeft:selectSize()}}var disableResponsiveProps=Object.keys(reusableBoxProps()).reduce((function(accumulator,key){return _objectSpread(_objectSpread({},accumulator),{},_defineProperty({},key,{control:!1}))}),{});function Wrapper(_ref){var title=_ref.title,children=_ref.children,_ref$border=_ref.border,border=void 0!==_ref$border&&_ref$border;return react__WEBPACK_IMPORTED_MODULE_22__.createElement(_stack__WEBPACK_IMPORTED_MODULE_25__.a,{space:"small"},title?react__WEBPACK_IMPORTED_MODULE_22__.createElement(_heading__WEBPACK_IMPORTED_MODULE_24__.a,{level:"2"},title):null,react__WEBPACK_IMPORTED_MODULE_22__.createElement(_box__WEBPACK_IMPORTED_MODULE_23__.a,{width:"full",style:border?{border:"1px dotted black"}:void 0},children))}function ResponsiveWidthRef(){return react__WEBPACK_IMPORTED_MODULE_22__.createElement(react__WEBPACK_IMPORTED_MODULE_22__.Fragment,null,react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{height:"36px"}}),react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{position:"fixed",top:0,left:0}},react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{width:"992px",height:"20px",backgroundColor:"#ccc"}},"desktop min width"),react__WEBPACK_IMPORTED_MODULE_22__.createElement("div",{style:{width:"768px",height:"20px",backgroundColor:"#ddd"}},"tablet min width")))}function Placeholder(_ref2){var label=_ref2.label,_ref2$width=_ref2.width,width=void 0===_ref2$width?"100%":_ref2$width,_ref2$height=_ref2.height,height=void 0===_ref2$height?"30px":_ref2$height;return react__WEBPACK_IMPORTED_MODULE_22__.createElement(_box__WEBPACK_IMPORTED_MODULE_23__.a,{style:{backgroundColor:"lightgreen",border:"1px solid green",width:width,height:height},display:"flex",alignItems:"center",padding:"medium"},label)}Wrapper.displayName="Wrapper",Placeholder.displayName="Placeholder";try{selectSize.displayName="selectSize",selectSize.__docgenInfo={description:"",displayName:"selectSize",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#selectSize"]={docgenInfo:selectSize.__docgenInfo,name:"selectSize",path:"src/new-components/storybook-helper.tsx#selectSize"})}catch(__react_docgen_typescript_loader_error){}try{times.displayName="times",times.__docgenInfo={description:"",displayName:"times",props:{}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#times"]={docgenInfo:times.__docgenInfo,name:"times",path:"src/new-components/storybook-helper.tsx#times"})}catch(__react_docgen_typescript_loader_error){}try{Wrapper.displayName="Wrapper",Wrapper.__docgenInfo={description:"",displayName:"Wrapper",props:{title:{defaultValue:null,description:"",name:"title",required:!1,type:{name:"ReactNode"}},border:{defaultValue:{value:"false"},description:"",name:"border",required:!1,type:{name:"boolean | undefined"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#Wrapper"]={docgenInfo:Wrapper.__docgenInfo,name:"Wrapper",path:"src/new-components/storybook-helper.tsx#Wrapper"})}catch(__react_docgen_typescript_loader_error){}try{Placeholder.displayName="Placeholder",Placeholder.__docgenInfo={description:"",displayName:"Placeholder",props:{label:{defaultValue:null,description:"",name:"label",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/storybook-helper.tsx#Placeholder"]={docgenInfo:Placeholder.__docgenInfo,name:"Placeholder",path:"src/new-components/storybook-helper.tsx#Placeholder"})}catch(__react_docgen_typescript_loader_error){}},31:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),classnames=__webpack_require__(35),classnames_default=__webpack_require__.n(classnames),tooltip_tooltip=__webpack_require__(1328);__webpack_require__(1237);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var button_Button=react_default.a.forwardRef((function Button(_ref,ref){var _ref$type=_ref.type,type=void 0===_ref$type?"button":_ref$type,variant=_ref.variant,_ref$size=_ref.size,size=void 0===_ref$size?"default":_ref$size,_ref$loading=_ref.loading,loading=void 0!==_ref$loading&&_ref$loading,_ref$disabled=_ref.disabled,disabled=void 0!==_ref$disabled&&_ref$disabled,tooltip=_ref.tooltip,onClick=_ref.onClick,children=_ref.children,props=_objectWithoutProperties(_ref,["type","variant","size","loading","disabled","tooltip","onClick","children"]),className=classnames_default()("reactist_button",variant?"reactist_button--".concat(variant):null,"default"!==size?"reactist_button--".concat(size):null,{"reactist_button--loading":loading},props.className),button=react_default.a.createElement("button",_extends({},props,{ref:ref,type:type,className:className,"aria-disabled":disabled||loading,onClick:disabled||loading?void 0:onClick}),children);return tooltip?react_default.a.createElement(tooltip_tooltip.a,{content:tooltip},button):button}));button_Button.displayName="Button",button_Button.defaultProps={size:"default",loading:!1,disabled:!1};try{button_Button.displayName="Button",button_Button.__docgenInfo={description:"",displayName:"Button",props:{loading:{defaultValue:{value:"false"},description:"Loading style. When true it disables the button, but it also adds a visual indication of\nsome in-progress operation going on.",name:"loading",required:!1,type:{name:"boolean | undefined"}},variant:{defaultValue:null,description:"Controls visually how the button shows up from a predefined set of kinds of buttons.",name:"variant",required:!1,type:{name:'"primary" | "secondary" | "danger" | "link" | undefined'}},size:{defaultValue:{value:"default"},description:"The size of the button. If not provided it shows up in a normal size.",name:"size",required:!1,type:{name:'"default" | "small" | "large" | undefined'}},tooltip:{defaultValue:null,description:"Tooltip that is displayed on hover.\n\nThis replaces `title` which is not supported for these buttons to avoid confusion.",name:"tooltip",required:!1,type:{name:"ReactNode"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/components/button/button.tsx#Button"]={docgenInfo:button_Button.__docgenInfo,name:"Button",path:"src/components/button/button.tsx#Button"})}catch(__react_docgen_typescript_loader_error){}__webpack_exports__.a=button_Button},342:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1143);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},350:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1135);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},351:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1138);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},352:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1144);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},353:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1150);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},40:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return stack_Stack}));__webpack_require__(20),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8);var react=__webpack_require__(0),react_keyed_flatten_children=__webpack_require__(641),react_keyed_flatten_children_default=__webpack_require__.n(react_keyed_flatten_children),polymorphism=__webpack_require__(82),responsive_props=__webpack_require__(29),box=__webpack_require__(60),divider_module=__webpack_require__(439),divider_module_default=__webpack_require__.n(divider_module);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function Divider(_ref){var _ref$weight=_ref.weight,weight=void 0===_ref$weight?"regular":_ref$weight,props=_objectWithoutProperties(_ref,["weight"]);return react.createElement(box.a,_extends({as:"hr",className:[divider_module_default.a.divider,"regular"!==weight?Object(responsive_props.a)(divider_module_default.a,"weight",weight):null]},props))}Divider.displayName="Divider";try{Divider.displayName="Divider",Divider.__docgenInfo={description:"",displayName:"Divider",props:{weight:{defaultValue:{value:"regular"},description:"",name:"weight",required:!1,type:{name:'"strong" | "regular" | undefined'}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/divider/divider.tsx#Divider"]={docgenInfo:Divider.__docgenInfo,name:"Divider",path:"src/new-components/divider/divider.tsx#Divider"})}catch(__react_docgen_typescript_loader_error){}var stack_module=__webpack_require__(642),stack_module_default=__webpack_require__.n(stack_module);function stack_extends(){return(stack_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var stack_Stack=Object(polymorphism.a)((function Stack(_ref,ref){var as=_ref.as,space=_ref.space,_ref$align=_ref.align,align=void 0===_ref$align?"left":_ref$align,_ref$dividers=_ref.dividers,dividers=void 0!==_ref$dividers&&_ref$dividers,children=_ref.children,exceptionallySetClassName=_ref.exceptionallySetClassName,props=stack_objectWithoutProperties(_ref,["as","space","align","dividers","children","exceptionallySetClassName"]),alignProps="left"===align?void 0:{width:"full",flexDirection:"column",display:"flex",alignItems:Object(responsive_props.b)(align,(function(align){return"left"===align?"flexStart":"right"===align?"flexEnd":"center"}))};return react.createElement(box.a,stack_extends({},props,alignProps,{as:as,className:[exceptionallySetClassName,Object(responsive_props.a)(stack_module_default.a,"space",space)],ref:ref}),dividers?react.Children.map(react_keyed_flatten_children_default()(children),(function(child,index){return index>0?react.createElement(react.Fragment,null,react.createElement(Divider,{weight:"string"==typeof dividers?dividers:void 0}),child):child})):children)}))},438:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return usePrevious}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);function usePrevious(value){var ref=react__WEBPACK_IMPORTED_MODULE_0__.useRef(null);return react__WEBPACK_IMPORTED_MODULE_0__.useEffect((function(){ref.current=value}),[value]),ref.current}},439:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1130);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},44:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Heading}));__webpack_require__(423),__webpack_require__(22),__webpack_require__(137),__webpack_require__(591),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8);var react__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(0),_responsive_props__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(29),_box__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(60),_heading_module_css__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(206),_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(_heading_module_css__WEBPACK_IMPORTED_MODULE_11__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Heading=react__WEBPACK_IMPORTED_MODULE_8__.forwardRef((function Heading(_ref,ref){var level=_ref.level,_ref$weight=_ref.weight,weight=void 0===_ref$weight?"regular":_ref$weight,size=_ref.size,_ref$tone=_ref.tone,tone=void 0===_ref$tone?"normal":_ref$tone,children=_ref.children,lineClamp=_ref.lineClamp,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["level","weight","size","tone","children","lineClamp","exceptionallySetClassName"]),headingElementName="h".concat(level),lineClampMultipleLines="string"==typeof lineClamp?parseInt(lineClamp,10)>1:(lineClamp||0)>1;return react__WEBPACK_IMPORTED_MODULE_8__.createElement(_box__WEBPACK_IMPORTED_MODULE_10__.a,_extends({},props,{className:[exceptionallySetClassName,_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a.heading,"regular"!==weight?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"weight",weight):null,"normal"!==tone?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"tone",tone):null,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"size",size),lineClampMultipleLines?_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a.lineClamp:null,lineClamp?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_heading_module_css__WEBPACK_IMPORTED_MODULE_11___default.a,"line-clamp",lineClamp.toString()):null],as:headingElementName,ref:ref}),children)}));try{Heading.displayName="Heading",Heading.__docgenInfo={description:"",displayName:"Heading",props:{size:{defaultValue:null,description:"",name:"size",required:!1,type:{name:'"smaller" | "larger" | "largest" | undefined'}},exceptionallySetClassName:{defaultValue:null,description:"",name:"exceptionallySetClassName",required:!1,type:{name:"string | undefined"}},weight:{defaultValue:{value:"regular"},description:"",name:"weight",required:!1,type:{name:'"regular" | "light" | undefined'}},tone:{defaultValue:{value:"normal"},description:"",name:"tone",required:!1,type:{name:'"secondary" | "danger" | "normal" | undefined'}},lineClamp:{defaultValue:null,description:"",name:"lineClamp",required:!1,type:{name:'1 | 2 | 5 | 3 | 4 | "1" | "2" | "3" | "4" | "5" | undefined'}},level:{defaultValue:null,description:"",name:"level",required:!0,type:{name:"HeadingLevel"}}}},"undefined"!=typeof STORYBOOK_REACT_CLASSES&&(STORYBOOK_REACT_CLASSES["src/new-components/heading/heading.tsx#Heading"]={docgenInfo:Heading.__docgenInfo,name:"Heading",path:"src/new-components/heading/heading.tsx#Heading"})}catch(__react_docgen_typescript_loader_error){}},57:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Text}));__webpack_require__(423),__webpack_require__(22),__webpack_require__(137),__webpack_require__(591),__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(8);var react__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(0),_responsive_props__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(29),_box__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(60),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(82),_text_module_css__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(207),_text_module_css__WEBPACK_IMPORTED_MODULE_12___default=__webpack_require__.n(_text_module_css__WEBPACK_IMPORTED_MODULE_12__);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Text=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_11__.a)((function Text(_ref,ref){var _ref$as=_ref.as,as=void 0===_ref$as?"span":_ref$as,_ref$size=_ref.size,size=void 0===_ref$size?"body":_ref$size,_ref$weight=_ref.weight,weight=void 0===_ref$weight?"regular":_ref$weight,_ref$tone=_ref.tone,tone=void 0===_ref$tone?"normal":_ref$tone,children=_ref.children,lineClamp=_ref.lineClamp,exceptionallySetClassName=_ref.exceptionallySetClassName,props=_objectWithoutProperties(_ref,["as","size","weight","tone","children","lineClamp","exceptionallySetClassName"]),lineClampMultipleLines="string"==typeof lineClamp?parseInt(lineClamp,10)>1:(lineClamp||0)>1;return react__WEBPACK_IMPORTED_MODULE_8__.createElement(_box__WEBPACK_IMPORTED_MODULE_10__.a,_extends({},props,{as:as,className:[exceptionallySetClassName,_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a.text,"body"!==size?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"size",size):null,"regular"!==weight?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"weight",weight):null,"normal"!==tone?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"tone",tone):null,lineClampMultipleLines?_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a.lineClamp:null,lineClamp?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_9__.a)(_text_module_css__WEBPACK_IMPORTED_MODULE_12___default.a,"line-clamp",lineClamp.toString()):null],paddingRight:lineClamp?"xsmall":void 0,ref:ref}),children)}))},60:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Box}));__webpack_require__(7),__webpack_require__(15),__webpack_require__(10),__webpack_require__(33),__webpack_require__(23),__webpack_require__(36),__webpack_require__(18),__webpack_require__(19),__webpack_require__(37),__webpack_require__(38);var react__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(0),classnames__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(35),classnames__WEBPACK_IMPORTED_MODULE_11___default=__webpack_require__.n(classnames__WEBPACK_IMPORTED_MODULE_11__),_utils_polymorphism__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(82),_responsive_props__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(29),_box_module_css__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(91),_box_module_css__WEBPACK_IMPORTED_MODULE_14___default=__webpack_require__.n(_box_module_css__WEBPACK_IMPORTED_MODULE_14__),_padding_module_css__WEBPACK_IMPORTED_MODULE_15__=__webpack_require__(278),_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default=__webpack_require__.n(_padding_module_css__WEBPACK_IMPORTED_MODULE_15__),_margin_module_css__WEBPACK_IMPORTED_MODULE_16__=__webpack_require__(279),_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default=__webpack_require__.n(_margin_module_css__WEBPACK_IMPORTED_MODULE_16__);function ownKeys(object,enumerableOnly){var keys=Object.keys(object);if(Object.getOwnPropertySymbols){var symbols=Object.getOwnPropertySymbols(object);enumerableOnly&&(symbols=symbols.filter((function(sym){return Object.getOwnPropertyDescriptor(object,sym).enumerable}))),keys.push.apply(keys,symbols)}return keys}function _objectSpread(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Box=Object(_utils_polymorphism__WEBPACK_IMPORTED_MODULE_12__.a)((function Box(_ref,ref){var _ref2,_ref3,_ref4,_ref5,_ref6,_ref7,_ref8,_ref9,_ref$as=_ref.as,component=void 0===_ref$as?"div":_ref$as,_ref$position=_ref.position,position=void 0===_ref$position?"static":_ref$position,_ref$display=_ref.display,display=void 0===_ref$display?"block":_ref$display,_ref$flexDirection=_ref.flexDirection,flexDirection=void 0===_ref$flexDirection?"row":_ref$flexDirection,flexWrap=_ref.flexWrap,flexGrow=_ref.flexGrow,flexShrink=_ref.flexShrink,alignItems=_ref.alignItems,justifyContent=_ref.justifyContent,overflow=_ref.overflow,width=_ref.width,height=_ref.height,background=_ref.background,border=_ref.border,borderRadius=_ref.borderRadius,minWidth=_ref.minWidth,maxWidth=_ref.maxWidth,padding=_ref.padding,paddingY=_ref.paddingY,paddingX=_ref.paddingX,paddingTop=_ref.paddingTop,paddingRight=_ref.paddingRight,paddingBottom=_ref.paddingBottom,paddingLeft=_ref.paddingLeft,margin=_ref.margin,marginY=_ref.marginY,marginX=_ref.marginX,marginTop=_ref.marginTop,marginRight=_ref.marginRight,marginBottom=_ref.marginBottom,marginLeft=_ref.marginLeft,className=_ref.className,children=_ref.children,props=_objectWithoutProperties(_ref,["as","position","display","flexDirection","flexWrap","flexGrow","flexShrink","alignItems","justifyContent","overflow","width","height","background","border","borderRadius","minWidth","maxWidth","padding","paddingY","paddingX","paddingTop","paddingRight","paddingBottom","paddingLeft","margin","marginY","marginX","marginTop","marginRight","marginBottom","marginLeft","className","children"]),resolvedPaddingTop=null!==(_ref2=null!=paddingTop?paddingTop:paddingY)&&void 0!==_ref2?_ref2:padding,resolvedPaddingRight=null!==(_ref3=null!=paddingRight?paddingRight:paddingX)&&void 0!==_ref3?_ref3:padding,resolvedPaddingBottom=null!==(_ref4=null!=paddingBottom?paddingBottom:paddingY)&&void 0!==_ref4?_ref4:padding,resolvedPaddingLeft=null!==(_ref5=null!=paddingLeft?paddingLeft:paddingX)&&void 0!==_ref5?_ref5:padding,resolvedMarginTop=null!==(_ref6=null!=marginTop?marginTop:marginY)&&void 0!==_ref6?_ref6:margin,resolvedMarginRight=null!==(_ref7=null!=marginRight?marginRight:marginX)&&void 0!==_ref7?_ref7:margin,resolvedMarginBottom=null!==(_ref8=null!=marginBottom?marginBottom:marginY)&&void 0!==_ref8?_ref8:margin,resolvedMarginLeft=null!==(_ref9=null!=marginLeft?marginLeft:marginX)&&void 0!==_ref9?_ref9:margin,omitFlex="string"==typeof display&&"flex"!==display&&"inlineFlex"!==display;return react__WEBPACK_IMPORTED_MODULE_10__.createElement(component,_objectSpread(_objectSpread({},props),{},{className:classnames__WEBPACK_IMPORTED_MODULE_11___default()(className,_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a.box,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"display",display),"static"!==position?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"position",position):null,null!=minWidth?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"minWidth",String(minWidth)):null,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"maxWidth",maxWidth),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingTop",resolvedPaddingTop),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingRight",resolvedPaddingRight),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingBottom",resolvedPaddingBottom),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_padding_module_css__WEBPACK_IMPORTED_MODULE_15___default.a,"paddingLeft",resolvedPaddingLeft),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginTop",resolvedMarginTop),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginRight",resolvedMarginRight),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginBottom",resolvedMarginBottom),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_margin_module_css__WEBPACK_IMPORTED_MODULE_16___default.a,"marginLeft",resolvedMarginLeft),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexDirection",flexDirection),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexWrap",flexWrap),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"alignItems",alignItems),omitFlex?null:Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"justifyContent",justifyContent),null!=flexShrink?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexShrink",String(flexShrink)):null,null!=flexGrow?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"flexGrow",String(flexGrow)):null,Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"overflow",overflow),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"width",width),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"height",height),Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"bg",background),"none"!==borderRadius?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"borderRadius",borderRadius):null,"none"!==border?Object(_responsive_props__WEBPACK_IMPORTED_MODULE_13__.a)(_box_module_css__WEBPACK_IMPORTED_MODULE_14___default.a,"border",border):null)||void 0,ref:ref}),children)}))},642:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1129);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},643:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1134);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},644:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1136);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},645:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1140);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},646:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1142);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},647:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1147);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},678:function(module,exports,__webpack_require__){__webpack_require__(679),__webpack_require__(921),__webpack_require__(922),__webpack_require__(1305),__webpack_require__(1304),__webpack_require__(1309),module.exports=__webpack_require__(1120)},779:function(module,exports){},82:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return polymorphicComponent}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);function polymorphicComponent(render){return react__WEBPACK_IMPORTED_MODULE_0__.forwardRef(render)}},861:function(module,exports){},91:function(module,exports,__webpack_require__){var api=__webpack_require__(88),content=__webpack_require__(1124);"string"==typeof(content=content.__esModule?content.default:content)&&(content=[[module.i,content,""]]);var options={insert:"head",singleton:!1};api(content,options);module.exports=content.locals||{}},922:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);__webpack_require__(513)},949:function(module,exports){}},[[678,2,3]]]); \ No newline at end of file diff --git a/docs/main.ecf76ec7b279514afee2.manager.bundle.js b/docs/main.ecf76ec7b279514afee2.manager.bundle.js deleted file mode 100644 index 7b743fa1a..000000000 --- a/docs/main.ecf76ec7b279514afee2.manager.bundle.js +++ /dev/null @@ -1 +0,0 @@ -(window.webpackJsonp=window.webpackJsonp||[]).push([[1],{1252:function(module,exports,__webpack_require__){__webpack_require__(1253),__webpack_require__(2263),__webpack_require__(2260),__webpack_require__(2062),__webpack_require__(2065),__webpack_require__(2264),__webpack_require__(2262),module.exports=__webpack_require__(2259)},1354:function(module,exports){},1436:function(module,exports){},1697:function(module,exports){},2259:function(module,exports,__webpack_require__){"use strict";__webpack_require__(49).addons.setConfig({refs:{}})},2263:function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.r(__webpack_exports__);var esm=__webpack_require__(122),create=__webpack_require__(1213),theme=Object(create.create)({base:"light",brandTitle:"Reactist",brandUrl:"https://github.com/Doist/reactist"});esm.c.setConfig({theme:theme})}},[[1252,2,3]]]); \ No newline at end of file diff --git a/docs/runtime~main.024ed10dc6d33032191e.manager.bundle.js b/docs/runtime~main.6dbce2f737d5c28a9451.manager.bundle.js similarity index 95% rename from docs/runtime~main.024ed10dc6d33032191e.manager.bundle.js rename to docs/runtime~main.6dbce2f737d5c28a9451.manager.bundle.js index 9a3d29b02..3198f26e5 100644 --- a/docs/runtime~main.024ed10dc6d33032191e.manager.bundle.js +++ b/docs/runtime~main.6dbce2f737d5c28a9451.manager.bundle.js @@ -1 +1 @@ -!function(modules){function webpackJsonpCallback(data){for(var moduleId,chunkId,chunkIds=data[0],moreModules=data[1],executeModules=data[2],i=0,resolves=[];i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var MDXContext=react__WEBPACK_IMPORTED_MODULE_0___default.a.createContext({}),useMDXComponents=function useMDXComponents(components){var contextComponents=react__WEBPACK_IMPORTED_MODULE_0___default.a.useContext(MDXContext),allComponents=contextComponents;return components&&(allComponents=function isFunction(obj){return"function"==typeof obj}(components)?components(contextComponents):_objectSpread2(_objectSpread2({},contextComponents),components)),allComponents},MDXProvider=function MDXProvider(props){var allComponents=useMDXComponents(props.components);return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(MDXContext.Provider,{value:allComponents},props.children)},DEFAULTS={inlineCode:"code",wrapper:function wrapper(_ref){var children=_ref.children;return react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(react__WEBPACK_IMPORTED_MODULE_0___default.a.Fragment,{},children)}},MDXCreateElement=react__WEBPACK_IMPORTED_MODULE_0___default.a.forwardRef((function(props,ref){var propComponents=props.components,mdxType=props.mdxType,originalType=props.originalType,parentName=props.parentName,etc=_objectWithoutProperties(props,["components","mdxType","originalType","parentName"]),components=useMDXComponents(propComponents),type=mdxType,Component=components["".concat(parentName,".").concat(type)]||components[type]||DEFAULTS[type]||originalType;return propComponents?react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_objectSpread2(_objectSpread2({ref:ref},etc),{},{components:propComponents})):react__WEBPACK_IMPORTED_MODULE_0___default.a.createElement(Component,_objectSpread2({ref:ref},etc))}));function createElement(type,props){var args=arguments,mdxType=props&&props.mdxType;if("string"==typeof type||mdxType){var argsLength=args.length,createElementArgArray=new Array(argsLength);createElementArgArray[0]=MDXCreateElement;var newProps={};for(var key in props)hasOwnProperty.call(props,key)&&(newProps[key]=props[key]);newProps.originalType=type,newProps.mdxType="string"==typeof type?type:mdxType,createElementArgArray[1]=newProps;for(var i=2;i=0||(target[key]=source[key]);return target}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(it=o[Symbol.iterator]()).next.bind(it)}__webpack_require__.d(__webpack_exports__,"a",(function(){return _objectWithoutPropertiesLoose})),__webpack_require__.d(__webpack_exports__,"b",(function(){return _objectSpread2})),__webpack_require__.d(__webpack_exports__,"c",(function(){return _createForOfIteratorHelperLoose}))},,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"styled",(function(){return styled})),__webpack_require__.d(__webpack_exports__,"ignoreSsrWarning",(function(){return ignoreSsrWarning}));var _emotion_styled__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(651),styled=(__webpack_require__(104),__webpack_require__(434),__webpack_require__(226),_emotion_styled__WEBPACK_IMPORTED_MODULE_0__.a),ignoreSsrWarning="/* emotion-disable-server-rendering-unsafe-selector-warning-please-do-not-use-this-the-warning-exists-for-a-reason */"},function(module,exports,__webpack_require__){module.exports=__webpack_require__(1089)()},function(module,exports,__webpack_require__){(function(global){var win;win="undefined"!=typeof window?window:void 0!==global?global:"undefined"!=typeof self?self:{},module.exports=win}).call(this,__webpack_require__(118))},function(module,exports,__webpack_require__){var $=__webpack_require__(24),toObject=__webpack_require__(128),nativeKeys=__webpack_require__(250);$({target:"Object",stat:!0,forced:__webpack_require__(54)((function(){nativeKeys(1)}))},{keys:function keys(it){return nativeKeys(toObject(it))}})},function(module,exports,__webpack_require__){var $=__webpack_require__(24),assign=__webpack_require__(517);$({target:"Object",stat:!0,forced:Object.assign!==assign},{assign:assign})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return curriedDarken})),__webpack_require__.d(__webpack_exports__,"b",(function(){return curriedLighten})),__webpack_require__.d(__webpack_exports__,"c",(function(){return curriedOpacify})),__webpack_require__.d(__webpack_exports__,"d",(function(){return rgba})),__webpack_require__.d(__webpack_exports__,"e",(function(){return curriedTransparentize}));var esm_extends=__webpack_require__(62);var inheritsLoose=__webpack_require__(326);function _getPrototypeOf(o){return(_getPrototypeOf=Object.setPrototypeOf?Object.getPrototypeOf:function _getPrototypeOf(o){return o.__proto__||Object.getPrototypeOf(o)})(o)}var setPrototypeOf=__webpack_require__(227);function _isNativeReflectConstruct(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(e){return!1}}function construct_construct(Parent,args,Class){return(construct_construct=_isNativeReflectConstruct()?Reflect.construct:function _construct(Parent,args,Class){var a=[null];a.push.apply(a,args);var instance=new(Function.bind.apply(Parent,a));return Class&&Object(setPrototypeOf.a)(instance,Class.prototype),instance}).apply(null,arguments)}function wrapNativeSuper_wrapNativeSuper(Class){var _cache="function"==typeof Map?new Map:void 0;return(wrapNativeSuper_wrapNativeSuper=function _wrapNativeSuper(Class){if(null===Class||!function _isNativeFunction(fn){return-1!==Function.toString.call(fn).indexOf("[native code]")}(Class))return Class;if("function"!=typeof Class)throw new TypeError("Super expression must either be null or a function");if(void 0!==_cache){if(_cache.has(Class))return _cache.get(Class);_cache.set(Class,Wrapper)}function Wrapper(){return construct_construct(Class,arguments,_getPrototypeOf(this).constructor)}return Wrapper.prototype=Object.create(Class.prototype,{constructor:{value:Wrapper,enumerable:!1,writable:!0,configurable:!0}}),Object(setPrototypeOf.a)(Wrapper,Class)})(Class)}var polished_esm_PolishedError=function(_Error){function PolishedError(code){return function _assertThisInitialized(self){if(void 0===self)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return self}(_Error.call(this,"An error occurred. See https://github.com/styled-components/polished/blob/main/src/internalHelpers/errors.md#"+code+" for more information.")||this)}return Object(inheritsLoose.a)(PolishedError,_Error),PolishedError}(wrapNativeSuper_wrapNativeSuper(Error));function colorToInt(color){return Math.round(255*color)}function convertToInt(red,green,blue){return colorToInt(red)+","+colorToInt(green)+","+colorToInt(blue)}function hslToRgb(hue,saturation,lightness,convert){if(void 0===convert&&(convert=convertToInt),0===saturation)return convert(lightness,lightness,lightness);var huePrime=(hue%360+360)%360/60,chroma=(1-Math.abs(2*lightness-1))*saturation,secondComponent=chroma*(1-Math.abs(huePrime%2-1)),red=0,green=0,blue=0;huePrime>=0&&huePrime<1?(red=chroma,green=secondComponent):huePrime>=1&&huePrime<2?(red=secondComponent,green=chroma):huePrime>=2&&huePrime<3?(green=chroma,blue=secondComponent):huePrime>=3&&huePrime<4?(green=secondComponent,blue=chroma):huePrime>=4&&huePrime<5?(red=secondComponent,blue=chroma):huePrime>=5&&huePrime<6&&(red=chroma,blue=secondComponent);var lightnessModification=lightness-chroma/2;return convert(red+lightnessModification,green+lightnessModification,blue+lightnessModification)}var namedColorMap={aliceblue:"f0f8ff",antiquewhite:"faebd7",aqua:"00ffff",aquamarine:"7fffd4",azure:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"000",blanchedalmond:"ffebcd",blue:"0000ff",blueviolet:"8a2be2",brown:"a52a2a",burlywood:"deb887",cadetblue:"5f9ea0",chartreuse:"7fff00",chocolate:"d2691e",coral:"ff7f50",cornflowerblue:"6495ed",cornsilk:"fff8dc",crimson:"dc143c",cyan:"00ffff",darkblue:"00008b",darkcyan:"008b8b",darkgoldenrod:"b8860b",darkgray:"a9a9a9",darkgreen:"006400",darkgrey:"a9a9a9",darkkhaki:"bdb76b",darkmagenta:"8b008b",darkolivegreen:"556b2f",darkorange:"ff8c00",darkorchid:"9932cc",darkred:"8b0000",darksalmon:"e9967a",darkseagreen:"8fbc8f",darkslateblue:"483d8b",darkslategray:"2f4f4f",darkslategrey:"2f4f4f",darkturquoise:"00ced1",darkviolet:"9400d3",deeppink:"ff1493",deepskyblue:"00bfff",dimgray:"696969",dimgrey:"696969",dodgerblue:"1e90ff",firebrick:"b22222",floralwhite:"fffaf0",forestgreen:"228b22",fuchsia:"ff00ff",gainsboro:"dcdcdc",ghostwhite:"f8f8ff",gold:"ffd700",goldenrod:"daa520",gray:"808080",green:"008000",greenyellow:"adff2f",grey:"808080",honeydew:"f0fff0",hotpink:"ff69b4",indianred:"cd5c5c",indigo:"4b0082",ivory:"fffff0",khaki:"f0e68c",lavender:"e6e6fa",lavenderblush:"fff0f5",lawngreen:"7cfc00",lemonchiffon:"fffacd",lightblue:"add8e6",lightcoral:"f08080",lightcyan:"e0ffff",lightgoldenrodyellow:"fafad2",lightgray:"d3d3d3",lightgreen:"90ee90",lightgrey:"d3d3d3",lightpink:"ffb6c1",lightsalmon:"ffa07a",lightseagreen:"20b2aa",lightskyblue:"87cefa",lightslategray:"789",lightslategrey:"789",lightsteelblue:"b0c4de",lightyellow:"ffffe0",lime:"0f0",limegreen:"32cd32",linen:"faf0e6",magenta:"f0f",maroon:"800000",mediumaquamarine:"66cdaa",mediumblue:"0000cd",mediumorchid:"ba55d3",mediumpurple:"9370db",mediumseagreen:"3cb371",mediumslateblue:"7b68ee",mediumspringgreen:"00fa9a",mediumturquoise:"48d1cc",mediumvioletred:"c71585",midnightblue:"191970",mintcream:"f5fffa",mistyrose:"ffe4e1",moccasin:"ffe4b5",navajowhite:"ffdead",navy:"000080",oldlace:"fdf5e6",olive:"808000",olivedrab:"6b8e23",orange:"ffa500",orangered:"ff4500",orchid:"da70d6",palegoldenrod:"eee8aa",palegreen:"98fb98",paleturquoise:"afeeee",palevioletred:"db7093",papayawhip:"ffefd5",peachpuff:"ffdab9",peru:"cd853f",pink:"ffc0cb",plum:"dda0dd",powderblue:"b0e0e6",purple:"800080",rebeccapurple:"639",red:"f00",rosybrown:"bc8f8f",royalblue:"4169e1",saddlebrown:"8b4513",salmon:"fa8072",sandybrown:"f4a460",seagreen:"2e8b57",seashell:"fff5ee",sienna:"a0522d",silver:"c0c0c0",skyblue:"87ceeb",slateblue:"6a5acd",slategray:"708090",slategrey:"708090",snow:"fffafa",springgreen:"00ff7f",steelblue:"4682b4",tan:"d2b48c",teal:"008080",thistle:"d8bfd8",tomato:"ff6347",turquoise:"40e0d0",violet:"ee82ee",wheat:"f5deb3",white:"fff",whitesmoke:"f5f5f5",yellow:"ff0",yellowgreen:"9acd32"};var hexRegex=/^#[a-fA-F0-9]{6}$/,hexRgbaRegex=/^#[a-fA-F0-9]{8}$/,reducedHexRegex=/^#[a-fA-F0-9]{3}$/,reducedRgbaHexRegex=/^#[a-fA-F0-9]{4}$/,rgbRegex=/^rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)$/i,rgbaRegex=/^rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i,hslRegex=/^hsl\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*\)$/i,hslaRegex=/^hsla\(\s*(\d{0,3}[.]?[0-9]+)\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*(\d{1,3}[.]?[0-9]?)%\s*,\s*([-+]?[0-9]*[.]?[0-9]+)\s*\)$/i;function parseToRgb(color){if("string"!=typeof color)throw new polished_esm_PolishedError(3);var normalizedColor=function nameToHex(color){if("string"!=typeof color)return color;var normalizedColorName=color.toLowerCase();return namedColorMap[normalizedColorName]?"#"+namedColorMap[normalizedColorName]:color}(color);if(normalizedColor.match(hexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16)};if(normalizedColor.match(hexRgbaRegex)){var alpha=parseFloat((parseInt(""+normalizedColor[7]+normalizedColor[8],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[2],16),green:parseInt(""+normalizedColor[3]+normalizedColor[4],16),blue:parseInt(""+normalizedColor[5]+normalizedColor[6],16),alpha:alpha}}if(normalizedColor.match(reducedHexRegex))return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16)};if(normalizedColor.match(reducedRgbaHexRegex)){var _alpha=parseFloat((parseInt(""+normalizedColor[4]+normalizedColor[4],16)/255).toFixed(2));return{red:parseInt(""+normalizedColor[1]+normalizedColor[1],16),green:parseInt(""+normalizedColor[2]+normalizedColor[2],16),blue:parseInt(""+normalizedColor[3]+normalizedColor[3],16),alpha:_alpha}}var rgbMatched=rgbRegex.exec(normalizedColor);if(rgbMatched)return{red:parseInt(""+rgbMatched[1],10),green:parseInt(""+rgbMatched[2],10),blue:parseInt(""+rgbMatched[3],10)};var rgbaMatched=rgbaRegex.exec(normalizedColor);if(rgbaMatched)return{red:parseInt(""+rgbaMatched[1],10),green:parseInt(""+rgbaMatched[2],10),blue:parseInt(""+rgbaMatched[3],10),alpha:parseFloat(""+rgbaMatched[4])};var hslMatched=hslRegex.exec(normalizedColor);if(hslMatched){var rgbColorString="rgb("+hslToRgb(parseInt(""+hslMatched[1],10),parseInt(""+hslMatched[2],10)/100,parseInt(""+hslMatched[3],10)/100)+")",hslRgbMatched=rgbRegex.exec(rgbColorString);if(!hslRgbMatched)throw new polished_esm_PolishedError(4,normalizedColor,rgbColorString);return{red:parseInt(""+hslRgbMatched[1],10),green:parseInt(""+hslRgbMatched[2],10),blue:parseInt(""+hslRgbMatched[3],10)}}var hslaMatched=hslaRegex.exec(normalizedColor);if(hslaMatched){var _rgbColorString="rgb("+hslToRgb(parseInt(""+hslaMatched[1],10),parseInt(""+hslaMatched[2],10)/100,parseInt(""+hslaMatched[3],10)/100)+")",_hslRgbMatched=rgbRegex.exec(_rgbColorString);if(!_hslRgbMatched)throw new polished_esm_PolishedError(4,normalizedColor,_rgbColorString);return{red:parseInt(""+_hslRgbMatched[1],10),green:parseInt(""+_hslRgbMatched[2],10),blue:parseInt(""+_hslRgbMatched[3],10),alpha:parseFloat(""+hslaMatched[4])}}throw new polished_esm_PolishedError(5)}function parseToHsl(color){return function rgbToHsl(color){var hue,red=color.red/255,green=color.green/255,blue=color.blue/255,max=Math.max(red,green,blue),min=Math.min(red,green,blue),lightness=(max+min)/2;if(max===min)return void 0!==color.alpha?{hue:0,saturation:0,lightness:lightness,alpha:color.alpha}:{hue:0,saturation:0,lightness:lightness};var delta=max-min,saturation=lightness>.5?delta/(2-max-min):delta/(max+min);switch(max){case red:hue=(green-blue)/delta+(green=1?hslToHex(value,saturation,lightness):"rgba("+hslToRgb(value,saturation,lightness)+","+alpha+")";if("object"==typeof value&&void 0===saturation&&void 0===lightness&&void 0===alpha)return value.alpha>=1?hslToHex(value.hue,value.saturation,value.lightness):"rgba("+hslToRgb(value.hue,value.saturation,value.lightness)+","+value.alpha+")";throw new polished_esm_PolishedError(2)}function rgb(value,green,blue){if("number"==typeof value&&"number"==typeof green&&"number"==typeof blue)return reduceHexValue("#"+numberToHex(value)+numberToHex(green)+numberToHex(blue));if("object"==typeof value&&void 0===green&&void 0===blue)return reduceHexValue("#"+numberToHex(value.red)+numberToHex(value.green)+numberToHex(value.blue));throw new polished_esm_PolishedError(6)}function rgba(firstValue,secondValue,thirdValue,fourthValue){if("string"==typeof firstValue&&"number"==typeof secondValue){var rgbValue=parseToRgb(firstValue);return"rgba("+rgbValue.red+","+rgbValue.green+","+rgbValue.blue+","+secondValue+")"}if("number"==typeof firstValue&&"number"==typeof secondValue&&"number"==typeof thirdValue&&"number"==typeof fourthValue)return fourthValue>=1?rgb(firstValue,secondValue,thirdValue):"rgba("+firstValue+","+secondValue+","+thirdValue+","+fourthValue+")";if("object"==typeof firstValue&&void 0===secondValue&&void 0===thirdValue&&void 0===fourthValue)return firstValue.alpha>=1?rgb(firstValue.red,firstValue.green,firstValue.blue):"rgba("+firstValue.red+","+firstValue.green+","+firstValue.blue+","+firstValue.alpha+")";throw new polished_esm_PolishedError(7)}function toColorString(color){if("object"!=typeof color)throw new polished_esm_PolishedError(8);if(function isRgba(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&"number"==typeof color.alpha}(color))return rgba(color);if(function isRgb(color){return"number"==typeof color.red&&"number"==typeof color.green&&"number"==typeof color.blue&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return rgb(color);if(function isHsla(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&"number"==typeof color.alpha}(color))return hsla(color);if(function isHsl(color){return"number"==typeof color.hue&&"number"==typeof color.saturation&&"number"==typeof color.lightness&&("number"!=typeof color.alpha||void 0===color.alpha)}(color))return hsl(color);throw new polished_esm_PolishedError(8)}function curry(f){return function curried(f,length,acc){return function fn(){var combined=acc.concat(Array.prototype.slice.call(arguments));return combined.length>=length?f.apply(this,combined):curried(f,length,combined)}}(f,f.length,[])}function guard(lowerBoundary,upperBoundary,value){return Math.max(lowerBoundary,Math.min(upperBoundary,value))}function darken(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{lightness:guard(0,1,hslColor.lightness-parseFloat(amount))}))}var curriedDarken=curry(darken);function lighten(amount,color){if("transparent"===color)return color;var hslColor=parseToHsl(color);return toColorString(Object(esm_extends.a)({},hslColor,{lightness:guard(0,1,hslColor.lightness+parseFloat(amount))}))}var curriedLighten=curry(lighten);function opacify(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba(Object(esm_extends.a)({},parsedColor,{alpha:guard(0,1,(100*alpha+100*parseFloat(amount))/100)}))}var curriedOpacify=curry(opacify);function transparentize(amount,color){if("transparent"===color)return color;var parsedColor=parseToRgb(color),alpha="number"==typeof parsedColor.alpha?parsedColor.alpha:1;return rgba(Object(esm_extends.a)({},parsedColor,{alpha:guard(0,1,+(100*alpha-100*parseFloat(amount)).toFixed(2)/100)}))}var curriedTransparentize=curry(transparentize)},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),global=__webpack_require__(45),getBuiltIn=__webpack_require__(170),IS_PURE=__webpack_require__(180),DESCRIPTORS=__webpack_require__(84),NATIVE_SYMBOL=__webpack_require__(369),fails=__webpack_require__(54),has=__webpack_require__(92),isArray=__webpack_require__(247),isObject=__webpack_require__(69),isSymbol=__webpack_require__(243),anObject=__webpack_require__(72),toObject=__webpack_require__(128),toIndexedObject=__webpack_require__(139),toPropertyKey=__webpack_require__(290),$toString=__webpack_require__(87),createPropertyDescriptor=__webpack_require__(215),nativeObjectCreate=__webpack_require__(171),objectKeys=__webpack_require__(250),getOwnPropertyNamesModule=__webpack_require__(234),getOwnPropertyNamesExternal=__webpack_require__(382),getOwnPropertySymbolsModule=__webpack_require__(377),getOwnPropertyDescriptorModule=__webpack_require__(169),definePropertyModule=__webpack_require__(107),propertyIsEnumerableModule=__webpack_require__(289),createNonEnumerableProperty=__webpack_require__(165),redefine=__webpack_require__(119),shared=__webpack_require__(291),sharedKey=__webpack_require__(293),hiddenKeys=__webpack_require__(246),uid=__webpack_require__(292),wellKnownSymbol=__webpack_require__(63),wrappedWellKnownSymbolModule=__webpack_require__(507),defineWellKnownSymbol=__webpack_require__(73),setToStringTag=__webpack_require__(154),InternalStateModule=__webpack_require__(135),$forEach=__webpack_require__(172).forEach,HIDDEN=sharedKey("hidden"),TO_PRIMITIVE=wellKnownSymbol("toPrimitive"),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Symbol"),ObjectPrototype=Object.prototype,$Symbol=global.Symbol,$stringify=getBuiltIn("JSON","stringify"),nativeGetOwnPropertyDescriptor=getOwnPropertyDescriptorModule.f,nativeDefineProperty=definePropertyModule.f,nativeGetOwnPropertyNames=getOwnPropertyNamesExternal.f,nativePropertyIsEnumerable=propertyIsEnumerableModule.f,AllSymbols=shared("symbols"),ObjectPrototypeSymbols=shared("op-symbols"),StringToSymbolRegistry=shared("string-to-symbol-registry"),SymbolToStringRegistry=shared("symbol-to-string-registry"),WellKnownSymbolsStore=shared("wks"),QObject=global.QObject,USE_SETTER=!QObject||!QObject.prototype||!QObject.prototype.findChild,setSymbolDescriptor=DESCRIPTORS&&fails((function(){return 7!=nativeObjectCreate(nativeDefineProperty({},"a",{get:function(){return nativeDefineProperty(this,"a",{value:7}).a}})).a}))?function(O,P,Attributes){var ObjectPrototypeDescriptor=nativeGetOwnPropertyDescriptor(ObjectPrototype,P);ObjectPrototypeDescriptor&&delete ObjectPrototype[P],nativeDefineProperty(O,P,Attributes),ObjectPrototypeDescriptor&&O!==ObjectPrototype&&nativeDefineProperty(ObjectPrototype,P,ObjectPrototypeDescriptor)}:nativeDefineProperty,wrap=function(tag,description){var symbol=AllSymbols[tag]=nativeObjectCreate($Symbol.prototype);return setInternalState(symbol,{type:"Symbol",tag:tag,description:description}),DESCRIPTORS||(symbol.description=description),symbol},$defineProperty=function defineProperty(O,P,Attributes){O===ObjectPrototype&&$defineProperty(ObjectPrototypeSymbols,P,Attributes),anObject(O);var key=toPropertyKey(P);return anObject(Attributes),has(AllSymbols,key)?(Attributes.enumerable?(has(O,HIDDEN)&&O[HIDDEN][key]&&(O[HIDDEN][key]=!1),Attributes=nativeObjectCreate(Attributes,{enumerable:createPropertyDescriptor(0,!1)})):(has(O,HIDDEN)||nativeDefineProperty(O,HIDDEN,createPropertyDescriptor(1,{})),O[HIDDEN][key]=!0),setSymbolDescriptor(O,key,Attributes)):nativeDefineProperty(O,key,Attributes)},$defineProperties=function defineProperties(O,Properties){anObject(O);var properties=toIndexedObject(Properties),keys=objectKeys(properties).concat($getOwnPropertySymbols(properties));return $forEach(keys,(function(key){DESCRIPTORS&&!$propertyIsEnumerable.call(properties,key)||$defineProperty(O,key,properties[key])})),O},$propertyIsEnumerable=function propertyIsEnumerable(V){var P=toPropertyKey(V),enumerable=nativePropertyIsEnumerable.call(this,P);return!(this===ObjectPrototype&&has(AllSymbols,P)&&!has(ObjectPrototypeSymbols,P))&&(!(enumerable||!has(this,P)||!has(AllSymbols,P)||has(this,HIDDEN)&&this[HIDDEN][P])||enumerable)},$getOwnPropertyDescriptor=function getOwnPropertyDescriptor(O,P){var it=toIndexedObject(O),key=toPropertyKey(P);if(it!==ObjectPrototype||!has(AllSymbols,key)||has(ObjectPrototypeSymbols,key)){var descriptor=nativeGetOwnPropertyDescriptor(it,key);return!descriptor||!has(AllSymbols,key)||has(it,HIDDEN)&&it[HIDDEN][key]||(descriptor.enumerable=!0),descriptor}},$getOwnPropertyNames=function getOwnPropertyNames(O){var names=nativeGetOwnPropertyNames(toIndexedObject(O)),result=[];return $forEach(names,(function(key){has(AllSymbols,key)||has(hiddenKeys,key)||result.push(key)})),result},$getOwnPropertySymbols=function getOwnPropertySymbols(O){var IS_OBJECT_PROTOTYPE=O===ObjectPrototype,names=nativeGetOwnPropertyNames(IS_OBJECT_PROTOTYPE?ObjectPrototypeSymbols:toIndexedObject(O)),result=[];return $forEach(names,(function(key){!has(AllSymbols,key)||IS_OBJECT_PROTOTYPE&&!has(ObjectPrototype,key)||result.push(AllSymbols[key])})),result};(NATIVE_SYMBOL||(redefine(($Symbol=function Symbol(){if(this instanceof $Symbol)throw TypeError("Symbol is not a constructor");var description=arguments.length&&void 0!==arguments[0]?$toString(arguments[0]):void 0,tag=uid(description),setter=function(value){this===ObjectPrototype&&setter.call(ObjectPrototypeSymbols,value),has(this,HIDDEN)&&has(this[HIDDEN],tag)&&(this[HIDDEN][tag]=!1),setSymbolDescriptor(this,tag,createPropertyDescriptor(1,value))};return DESCRIPTORS&&USE_SETTER&&setSymbolDescriptor(ObjectPrototype,tag,{configurable:!0,set:setter}),wrap(tag,description)}).prototype,"toString",(function toString(){return getInternalState(this).tag})),redefine($Symbol,"withoutSetter",(function(description){return wrap(uid(description),description)})),propertyIsEnumerableModule.f=$propertyIsEnumerable,definePropertyModule.f=$defineProperty,getOwnPropertyDescriptorModule.f=$getOwnPropertyDescriptor,getOwnPropertyNamesModule.f=getOwnPropertyNamesExternal.f=$getOwnPropertyNames,getOwnPropertySymbolsModule.f=$getOwnPropertySymbols,wrappedWellKnownSymbolModule.f=function(name){return wrap(wellKnownSymbol(name),name)},DESCRIPTORS&&(nativeDefineProperty($Symbol.prototype,"description",{configurable:!0,get:function description(){return getInternalState(this).description}}),IS_PURE||redefine(ObjectPrototype,"propertyIsEnumerable",$propertyIsEnumerable,{unsafe:!0}))),$({global:!0,wrap:!0,forced:!NATIVE_SYMBOL,sham:!NATIVE_SYMBOL},{Symbol:$Symbol}),$forEach(objectKeys(WellKnownSymbolsStore),(function(name){defineWellKnownSymbol(name)})),$({target:"Symbol",stat:!0,forced:!NATIVE_SYMBOL},{for:function(key){var string=$toString(key);if(has(StringToSymbolRegistry,string))return StringToSymbolRegistry[string];var symbol=$Symbol(string);return StringToSymbolRegistry[string]=symbol,SymbolToStringRegistry[symbol]=string,symbol},keyFor:function keyFor(sym){if(!isSymbol(sym))throw TypeError(sym+" is not a symbol");if(has(SymbolToStringRegistry,sym))return SymbolToStringRegistry[sym]},useSetter:function(){USE_SETTER=!0},useSimple:function(){USE_SETTER=!1}}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL,sham:!DESCRIPTORS},{create:function create(O,Properties){return void 0===Properties?nativeObjectCreate(O):$defineProperties(nativeObjectCreate(O),Properties)},defineProperty:$defineProperty,defineProperties:$defineProperties,getOwnPropertyDescriptor:$getOwnPropertyDescriptor}),$({target:"Object",stat:!0,forced:!NATIVE_SYMBOL},{getOwnPropertyNames:$getOwnPropertyNames,getOwnPropertySymbols:$getOwnPropertySymbols}),$({target:"Object",stat:!0,forced:fails((function(){getOwnPropertySymbolsModule.f(1)}))},{getOwnPropertySymbols:function getOwnPropertySymbols(it){return getOwnPropertySymbolsModule.f(toObject(it))}}),$stringify)&&$({target:"JSON",stat:!0,forced:!NATIVE_SYMBOL||fails((function(){var symbol=$Symbol();return"[null]"!=$stringify([symbol])||"{}"!=$stringify({a:symbol})||"{}"!=$stringify(Object(symbol))}))},{stringify:function stringify(it,replacer,space){for(var $replacer,args=[it],index=1;arguments.length>index;)args.push(arguments[index++]);if($replacer=replacer,(isObject(replacer)||void 0!==it)&&!isSymbol(it))return isArray(replacer)||(replacer=function(key,value){if("function"==typeof $replacer&&(value=$replacer.call(this,key,value)),!isSymbol(value))return value}),args[1]=replacer,$stringify.apply(null,args)}});$Symbol.prototype[TO_PRIMITIVE]||createNonEnumerableProperty($Symbol.prototype,TO_PRIMITIVE,$Symbol.prototype.valueOf),setToStringTag($Symbol,"Symbol"),hiddenKeys[HIDDEN]=!0},,function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(84),defineProperty=__webpack_require__(107).f,FunctionPrototype=Function.prototype,FunctionPrototypeToString=FunctionPrototype.toString,nameRE=/^\s*function ([^ (]*)/;DESCRIPTORS&&!("name"in FunctionPrototype)&&defineProperty(FunctionPrototype,"name",{configurable:!0,get:function(){try{return FunctionPrototypeToString.call(this).match(nameRE)[1]}catch(error){return""}}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useLiveRef}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),_useIsomorphicEffect_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(39);function useLiveRef(value){var ref=Object(react__WEBPACK_IMPORTED_MODULE_0__.useRef)(value);return Object(_useIsomorphicEffect_js__WEBPACK_IMPORTED_MODULE_1__.a)((function(){ref.current=value})),ref}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return logger})),__webpack_require__.d(__webpack_exports__,"b",(function(){return once})),__webpack_require__.d(__webpack_exports__,"c",(function(){return pretty}));__webpack_require__(27),__webpack_require__(47),__webpack_require__(22),__webpack_require__(41),__webpack_require__(252),__webpack_require__(46),__webpack_require__(83),__webpack_require__(49);var global__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(6),levels={trace:1,debug:2,info:3,warn:4,error:5,silent:10},currentLogLevelString=global__WEBPACK_IMPORTED_MODULE_8__.LOGLEVEL,currentLogLevelNumber=levels[currentLogLevelString]||levels.info,logger={trace:function trace(message){for(var _len=arguments.length,rest=new Array(_len>1?_len-1:0),_key=1;_key<_len;_key++)rest[_key-1]=arguments[_key];return currentLogLevelNumber<=levels.trace&&global__WEBPACK_IMPORTED_MODULE_8__.console.trace.apply(global__WEBPACK_IMPORTED_MODULE_8__.console,[message].concat(rest))},debug:function debug(message){for(var _len2=arguments.length,rest=new Array(_len2>1?_len2-1:0),_key2=1;_key2<_len2;_key2++)rest[_key2-1]=arguments[_key2];return currentLogLevelNumber<=levels.debug&&global__WEBPACK_IMPORTED_MODULE_8__.console.debug.apply(global__WEBPACK_IMPORTED_MODULE_8__.console,[message].concat(rest))},info:function info(message){for(var _len3=arguments.length,rest=new Array(_len3>1?_len3-1:0),_key3=1;_key3<_len3;_key3++)rest[_key3-1]=arguments[_key3];return currentLogLevelNumber<=levels.info&&global__WEBPACK_IMPORTED_MODULE_8__.console.info.apply(global__WEBPACK_IMPORTED_MODULE_8__.console,[message].concat(rest))},warn:function warn(message){for(var _len4=arguments.length,rest=new Array(_len4>1?_len4-1:0),_key4=1;_key4<_len4;_key4++)rest[_key4-1]=arguments[_key4];return currentLogLevelNumber<=levels.warn&&global__WEBPACK_IMPORTED_MODULE_8__.console.warn.apply(global__WEBPACK_IMPORTED_MODULE_8__.console,[message].concat(rest))},error:function error(message){for(var _len5=arguments.length,rest=new Array(_len5>1?_len5-1:0),_key5=1;_key5<_len5;_key5++)rest[_key5-1]=arguments[_key5];return currentLogLevelNumber<=levels.error&&global__WEBPACK_IMPORTED_MODULE_8__.console.error.apply(global__WEBPACK_IMPORTED_MODULE_8__.console,[message].concat(rest))},log:function log(message){for(var _len6=arguments.length,rest=new Array(_len6>1?_len6-1:0),_key6=1;_key6<_len6;_key6++)rest[_key6-1]=arguments[_key6];return currentLogLevelNumber1?_len7-1:0),_key7=1;_key7<_len7;_key7++)rest[_key7-1]=arguments[_key7];return logger[type].apply(logger,[message].concat(rest))}}};once.clear=function(){return logged.clear()},once.trace=once("trace"),once.debug=once("debug"),once.info=once("info"),once.warn=once("warn"),once.error=once("error"),once.log=once("log");var pretty=function pretty(type){return function(){for(var argArray=[],_len8=arguments.length,args=new Array(_len8),_key8=0;_key8<_len8;_key8++)args[_key8]=arguments[_key8];if(args.length){var reResultArray,startTagRe=//gi,endTagRe=/<\/span>/gi;for(argArray.push(args[0].replace(startTagRe,"%c").replace(endTagRe,"%c"));reResultArray=startTagRe.exec(args[0]);)argArray.push(reResultArray[2]),argArray.push("");for(var j=1;j1?arguments[1]:void 0)}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return color})),__webpack_require__.d(__webpack_exports__,"a",(function(){return background})),__webpack_require__.d(__webpack_exports__,"c",(function(){return typography}));__webpack_require__(113);var color={primary:"#FF4785",secondary:"#1EA7FD",tertiary:"#FAFBFC",ancillary:"#22a699",orange:"#FC521F",gold:"#FFAE00",green:"#66BF3C",seafoam:"#37D5D3",purple:"#6F2CAC",ultraviolet:"#2A0481",lightest:"#FFFFFF",lighter:"#F8F8F8",light:"#F3F3F3",mediumlight:"#EEEEEE",medium:"#DDDDDD",mediumdark:"#999999",dark:"#666666",darker:"#444444",darkest:"#333333",border:"rgba(0,0,0,.1)",positive:"#66BF3C",negative:"#FF4400",warning:"#E69D00",critical:"#FFFFFF",defaultText:"#333333",inverseText:"#FFFFFF"},background={app:"#F6F9FC",bar:"#FFFFFF",content:color.lightest,gridCellSize:10,hoverable:"rgba(0,0,0,.05)",positive:"#E1FFD4",negative:"#FEDED2",warning:"#FFF5CF",critical:"#FF4400"},typography={fonts:{base:['"Nunito Sans"',"-apple-system",'".SFNSText-Regular"','"San Francisco"',"BlinkMacSystemFont",'"Segoe UI"','"Helvetica Neue"',"Helvetica","Arial","sans-serif"].join(", "),mono:['"Operator Mono"','"Fira Code Retina"','"Fira Code"','"FiraCode-Retina"','"Andale Mono"','"Lucida Console"',"Consolas","Monaco","monospace"].join(", ")},weight:{regular:400,bold:700,black:900},size:{s1:12,s2:14,s3:16,m1:20,m2:24,m3:28,l1:32,l2:40,l3:48,code:90}}},function(module,__webpack_exports__,__webpack_require__){"use strict";var _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(270);__webpack_require__.d(__webpack_exports__,"a",(function(){return _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__.a})),__webpack_require__.d(__webpack_exports__,"b",(function(){return _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__.b})),__webpack_require__.d(__webpack_exports__,"c",(function(){return _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__.c})),__webpack_require__.d(__webpack_exports__,"d",(function(){return _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__.d})),__webpack_require__.d(__webpack_exports__,"e",(function(){return _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__.g})),__webpack_require__.d(__webpack_exports__,"f",(function(){return _dist_esm_blocks__WEBPACK_IMPORTED_MODULE_0__.h}))},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),forEach=__webpack_require__(526);$({target:"Array",proto:!0,forced:[].forEach!=forEach},{forEach:forEach})},function(module,exports,__webpack_require__){var global=__webpack_require__(45),DOMIterables=__webpack_require__(509),forEach=__webpack_require__(526),createNonEnumerableProperty=__webpack_require__(165);for(var COLLECTION_NAME in DOMIterables){var Collection=global[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;if(CollectionPrototype&&CollectionPrototype.forEach!==forEach)try{createNonEnumerableProperty(CollectionPrototype,"forEach",forEach)}catch(error){CollectionPrototype.forEach=forEach}}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),$map=__webpack_require__(172).map;$({target:"Array",proto:!0,forced:!__webpack_require__(249)("map")},{map:function map(callbackfn){return $map(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";var $SyntaxError=SyntaxError,$Function=Function,$TypeError=TypeError,getEvalledConstructor=function(expressionSyntax){try{return $Function('"use strict"; return ('+expressionSyntax+").constructor;")()}catch(e){}},$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__(120)(),getProto=Object.getPrototypeOf||function(x){return x.__proto__},needsEval={},TypedArray="undefined"==typeof Uint8Array?void 0:getProto(Uint8Array),INTRINSICS={"%AggregateError%":"undefined"==typeof AggregateError?void 0:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayIteratorPrototype%":hasSymbols?getProto([][Symbol.iterator]()):void 0,"%AsyncFromSyncIteratorPrototype%":void 0,"%AsyncFunction%":needsEval,"%AsyncGenerator%":needsEval,"%AsyncGeneratorFunction%":needsEval,"%AsyncIteratorPrototype%":needsEval,"%Atomics%":"undefined"==typeof Atomics?void 0:Atomics,"%BigInt%":"undefined"==typeof BigInt?void 0:BigInt,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?void 0:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":"undefined"==typeof Float32Array?void 0:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?void 0:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?void 0:FinalizationRegistry,"%Function%":$Function,"%GeneratorFunction%":needsEval,"%Int8Array%":"undefined"==typeof Int8Array?void 0:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?void 0:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?void 0:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":hasSymbols?getProto(getProto([][Symbol.iterator]())):void 0,"%JSON%":"object"==typeof JSON?JSON:void 0,"%Map%":"undefined"==typeof Map?void 0:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&hasSymbols?getProto((new Map)[Symbol.iterator]()):void 0,"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?void 0:Promise,"%Proxy%":"undefined"==typeof Proxy?void 0:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":"undefined"==typeof Reflect?void 0:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?void 0:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&hasSymbols?getProto((new Set)[Symbol.iterator]()):void 0,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?void 0:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":hasSymbols?getProto(""[Symbol.iterator]()):void 0,"%Symbol%":hasSymbols?Symbol:void 0,"%SyntaxError%":$SyntaxError,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypeError%":$TypeError,"%Uint8Array%":"undefined"==typeof Uint8Array?void 0:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?void 0:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?void 0:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?void 0:Uint32Array,"%URIError%":URIError,"%WeakMap%":"undefined"==typeof WeakMap?void 0:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?void 0:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?void 0:WeakSet},LEGACY_ALIASES={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},bind=__webpack_require__(211),hasOwn=__webpack_require__(85),$concat=bind.call(Function.call,Array.prototype.concat),$spliceApply=bind.call(Function.apply,Array.prototype.splice),$replace=bind.call(Function.call,String.prototype.replace),$strSlice=bind.call(Function.call,String.prototype.slice),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function stringToPath(string){var first=$strSlice(string,0,1),last=$strSlice(string,-1);if("%"===first&&"%"!==last)throw new $SyntaxError("invalid intrinsic syntax, expected closing `%`");if("%"===last&&"%"!==first)throw new $SyntaxError("invalid intrinsic syntax, expected opening `%`");var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result},getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){var alias,intrinsicName=name;if(hasOwn(LEGACY_ALIASES,intrinsicName)&&(intrinsicName="%"+(alias=LEGACY_ALIASES[intrinsicName])[0]+"%"),hasOwn(INTRINSICS,intrinsicName)){var value=INTRINSICS[intrinsicName];if(value===needsEval&&(value=function doEval(name){var value;if("%AsyncFunction%"===name)value=getEvalledConstructor("async function () {}");else if("%GeneratorFunction%"===name)value=getEvalledConstructor("function* () {}");else if("%AsyncGeneratorFunction%"===name)value=getEvalledConstructor("async function* () {}");else if("%AsyncGenerator%"===name){var fn=doEval("%AsyncGeneratorFunction%");fn&&(value=fn.prototype)}else if("%AsyncIteratorPrototype%"===name){var gen=doEval("%AsyncGenerator%");gen&&(value=getProto(gen.prototype))}return INTRINSICS[name]=value,value}(intrinsicName)),void 0===value&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return{alias:alias,name:intrinsicName,value:value}}throw new $SyntaxError("intrinsic "+name+" does not exist!")};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new $TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new $TypeError('"allowMissing" argument must be a boolean');var parts=stringToPath(name),intrinsicBaseName=parts.length>0?parts[0]:"",intrinsic=getBaseIntrinsic("%"+intrinsicBaseName+"%",allowMissing),intrinsicRealName=intrinsic.name,value=intrinsic.value,skipFurtherCaching=!1,alias=intrinsic.alias;alias&&(intrinsicBaseName=alias[0],$spliceApply(parts,$concat([0,1],alias)));for(var i=1,isOwn=!0;i=parts.length){var desc=$gOPD(value,part);value=(isOwn=!!desc)&&"get"in desc&&!("originalValue"in desc.get)?desc.get:value[part]}else isOwn=hasOwn(value,part),value=value[part];isOwn&&!skipFurtherCaching&&(INTRINSICS[intrinsicRealName]=value)}}return value}},function(module,exports,__webpack_require__){var TO_STRING_TAG_SUPPORT=__webpack_require__(379),redefine=__webpack_require__(119),toString=__webpack_require__(897);TO_STRING_TAG_SUPPORT||redefine(Object.prototype,"toString",toString,{unsafe:!0})},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),$filter=__webpack_require__(172).filter;$({target:"Array",proto:!0,forced:!__webpack_require__(249)("filter")},{filter:function filter(callbackfn){return $filter(this,callbackfn,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){var global=__webpack_require__(45),getOwnPropertyDescriptor=__webpack_require__(169).f,createNonEnumerableProperty=__webpack_require__(165),redefine=__webpack_require__(119),setGlobal=__webpack_require__(371),copyConstructorProperties=__webpack_require__(503),isForced=__webpack_require__(281);module.exports=function(options,source){var target,key,targetProperty,sourceProperty,descriptor,TARGET=options.target,GLOBAL=options.global,STATIC=options.stat;if(target=GLOBAL?global:STATIC?global[TARGET]||setGlobal(TARGET,{}):(global[TARGET]||{}).prototype)for(key in source){if(sourceProperty=source[key],targetProperty=options.noTargetGet?(descriptor=getOwnPropertyDescriptor(target,key))&&descriptor.value:target[key],!isForced(GLOBAL?key:TARGET+(STATIC?".":"#")+key,options.forced)&&void 0!==targetProperty){if(typeof sourceProperty==typeof targetProperty)continue;copyConstructorProperties(sourceProperty,targetProperty)}(options.sham||targetProperty&&targetProperty.sham)&&createNonEnumerableProperty(sourceProperty,"sham",!0),redefine(target,key,sourceProperty,options)}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return createHook}));var react=__webpack_require__(0),SystemContext=__webpack_require__(185);function useToken(token,defaultValue){Object(react.useDebugValue)(token);var context=Object(react.useContext)(SystemContext.a);return null!=context[token]?context[token]:defaultValue}var _rollupPluginBabelHelpers_0c84a174=__webpack_require__(105);var shallowEqual=__webpack_require__(48);function createHook(options){var _options$useState,_composedHooks$,composedHooks=function toArray(arg){return Array.isArray(arg)?arg:void 0!==arg?[arg]:[]}(options.compose),__useOptions=function __useOptions(hookOptions,htmlProps){if(options.useOptions&&(hookOptions=options.useOptions(hookOptions,htmlProps)),options.name&&(hookOptions=function useOptions(name,options,htmlProps){void 0===options&&(options={}),void 0===htmlProps&&(htmlProps={});var hookName="use"+name+"Options";Object(react.useDebugValue)(hookName);var useHook=useToken(hookName);return useHook?Object(_rollupPluginBabelHelpers_0c84a174.a)(Object(_rollupPluginBabelHelpers_0c84a174.a)({},options),useHook(options,htmlProps)):options}(options.name,hookOptions,htmlProps)),options.compose)for(var _step,_iterator=Object(_rollupPluginBabelHelpers_0c84a174.c)(composedHooks);!(_step=_iterator()).done;){hookOptions=_step.value.__useOptions(hookOptions,htmlProps)}return hookOptions},useHook=function useHook(hookOptions,htmlProps,unstable_ignoreUseOptions){if(void 0===hookOptions&&(hookOptions={}),void 0===htmlProps&&(htmlProps={}),void 0===unstable_ignoreUseOptions&&(unstable_ignoreUseOptions=!1),unstable_ignoreUseOptions||(hookOptions=__useOptions(hookOptions,htmlProps)),options.useProps&&(htmlProps=options.useProps(hookOptions,htmlProps)),options.name&&(htmlProps=function useProps(name,options,htmlProps){void 0===options&&(options={}),void 0===htmlProps&&(htmlProps={});var hookName="use"+name+"Props";Object(react.useDebugValue)(hookName);var useHook=useToken(hookName);return useHook?useHook(options,htmlProps):htmlProps}(options.name,hookOptions,htmlProps)),options.compose)if(options.useComposeOptions&&(hookOptions=options.useComposeOptions(hookOptions,htmlProps)),options.useComposeProps)htmlProps=options.useComposeProps(hookOptions,htmlProps);else for(var _step2,_iterator2=Object(_rollupPluginBabelHelpers_0c84a174.c)(composedHooks);!(_step2=_iterator2()).done;){htmlProps=(0,_step2.value)(hookOptions,htmlProps,!0)}var finalHTMLProps={},definedHTMLProps=htmlProps||{};for(var prop in definedHTMLProps)void 0!==definedHTMLProps[prop]&&(finalHTMLProps[prop]=definedHTMLProps[prop]);return finalHTMLProps};useHook.__useOptions=__useOptions;var composedKeys=composedHooks.reduce((function(keys,hook){return keys.push.apply(keys,hook.__keys||[]),keys}),[]);return useHook.__keys=[].concat(composedKeys,(null===(_options$useState=options.useState)||void 0===_options$useState?void 0:_options$useState.__keys)||[],options.keys||[]),useHook.unstable_propsAreEqual=options.propsAreEqual||(null===(_composedHooks$=composedHooks[0])||void 0===_composedHooks$?void 0:_composedHooks$.unstable_propsAreEqual)||shallowEqual.a,useHook}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return createComponent}));var react=__webpack_require__(0),_rollupPluginBabelHelpers_0c84a174=__webpack_require__(105),useCreateElement=__webpack_require__(115),_rollupPluginBabelHelpers_1f0bf8c2=__webpack_require__(163),isObject=__webpack_require__(178);function isPlainObject(arg){var _proto$constructor;if(!Object(isObject.a)(arg))return!1;var proto=Object.getPrototypeOf(arg);return null==proto||(null===(_proto$constructor=proto.constructor)||void 0===_proto$constructor?void 0:_proto$constructor.toString())===Object.toString()}function splitProps(props,keys){if(!isPlainObject(props.state)&&keys)return function __deprecatedSplitProps(props,keys){for(var picked={},omitted={},_i=0,_propsKeys=Object.keys(props);_i<_propsKeys.length;_i++){var key=_propsKeys[_i];keys.indexOf(key)>=0?picked[key]=props[key]:omitted[key]=props[key]}return[picked,omitted]}(props,keys);props.state;var restProps=Object(_rollupPluginBabelHelpers_1f0bf8c2.a)(props,["state"]);return[props.state,restProps]}var shallowEqual=__webpack_require__(48);function normalizePropsAreEqual(propsAreEqual){return"normalizePropsAreEqualInner"===propsAreEqual.name?propsAreEqual:function normalizePropsAreEqualInner(prev,next){return isPlainObject(prev.state)&&isPlainObject(next.state)?propsAreEqual(Object(_rollupPluginBabelHelpers_1f0bf8c2.b)(Object(_rollupPluginBabelHelpers_1f0bf8c2.b)({},prev.state),prev),Object(_rollupPluginBabelHelpers_1f0bf8c2.b)(Object(_rollupPluginBabelHelpers_1f0bf8c2.b)({},next.state),next)):propsAreEqual(prev,next)}}function createComponent(_ref){var type=_ref.as,useHook=_ref.useHook,shouldMemo=_ref.memo,_ref$propsAreEqual=_ref.propsAreEqual,propsAreEqual=void 0===_ref$propsAreEqual?null==useHook?void 0:useHook.unstable_propsAreEqual:_ref$propsAreEqual,_ref$keys=_ref.keys,keys=void 0===_ref$keys?(null==useHook?void 0:useHook.__keys)||[]:_ref$keys,_ref$useCreateElement=_ref.useCreateElement,useCreateElement$1=void 0===_ref$useCreateElement?useCreateElement.a:_ref$useCreateElement,Comp=function Comp(_ref2,ref){var _ref2$as=_ref2.as,as=void 0===_ref2$as?type:_ref2$as,props=Object(_rollupPluginBabelHelpers_0c84a174.b)(_ref2,["as"]);if(useHook){var _as$render,_splitProps=splitProps(props,keys),_options=_splitProps[0],htmlProps=_splitProps[1],_useHook=useHook(_options,Object(_rollupPluginBabelHelpers_0c84a174.a)({ref:ref},htmlProps)),wrapElement=_useHook.wrapElement,elementProps=Object(_rollupPluginBabelHelpers_0c84a174.b)(_useHook,["wrapElement"]),asKeys=(null===(_as$render=as.render)||void 0===_as$render?void 0:_as$render.__keys)||as.__keys,asOptions=asKeys&&splitProps(props,asKeys)[0],allProps=isPlainObject(props.state)&&"string"!=typeof as?Object(_rollupPluginBabelHelpers_0c84a174.a)({state:props.state},elementProps):asOptions?Object(_rollupPluginBabelHelpers_0c84a174.a)(Object(_rollupPluginBabelHelpers_0c84a174.a)({},elementProps),asOptions):elementProps,_element=useCreateElement$1(as,allProps);return wrapElement?wrapElement(_element):_element}return useCreateElement$1(as,Object(_rollupPluginBabelHelpers_0c84a174.a)({ref:ref},props))};return Comp=function forwardRef(component){return Object(react.forwardRef)(component)}(Comp),shouldMemo&&(Comp=function memo(component,propsAreEqual){return Object(react.memo)(component,propsAreEqual)}(Comp,propsAreEqual&&normalizePropsAreEqual(propsAreEqual))),Comp.__keys=keys,Comp.unstable_propsAreEqual=normalizePropsAreEqual(propsAreEqual||shallowEqual.a),Comp}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),fails=__webpack_require__(54),isArray=__webpack_require__(247),isObject=__webpack_require__(69),toObject=__webpack_require__(128),toLength=__webpack_require__(122),createProperty=__webpack_require__(248),arraySpeciesCreate=__webpack_require__(378),arrayMethodHasSpeciesSupport=__webpack_require__(249),wellKnownSymbol=__webpack_require__(63),V8_VERSION=__webpack_require__(244),IS_CONCAT_SPREADABLE=wellKnownSymbol("isConcatSpreadable"),IS_CONCAT_SPREADABLE_SUPPORT=V8_VERSION>=51||!fails((function(){var array=[];return array[IS_CONCAT_SPREADABLE]=!1,array.concat()[0]!==array})),SPECIES_SUPPORT=arrayMethodHasSpeciesSupport("concat"),isConcatSpreadable=function(O){if(!isObject(O))return!1;var spreadable=O[IS_CONCAT_SPREADABLE];return void 0!==spreadable?!!spreadable:isArray(O)};$({target:"Array",proto:!0,forced:!IS_CONCAT_SPREADABLE_SUPPORT||!SPECIES_SUPPORT},{concat:function concat(arg){var i,k,length,len,E,O=toObject(this),A=arraySpeciesCreate(O,0),n=0;for(i=-1,length=arguments.length;i9007199254740991)throw TypeError("Maximum allowed index exceeded");for(k=0;k=9007199254740991)throw TypeError("Maximum allowed index exceeded");createProperty(A,n++,E)}return A.length=n,A}})},function(module,exports,__webpack_require__){"use strict";var $TypeError=TypeError,$gOPD=Object.getOwnPropertyDescriptor;if($gOPD)try{$gOPD({},"")}catch(e){$gOPD=null}var throwTypeError=function(){throw new $TypeError},ThrowTypeError=$gOPD?function(){try{return throwTypeError}catch(calleeThrows){try{return $gOPD(arguments,"callee").get}catch(gOPDthrows){return throwTypeError}}}():throwTypeError,hasSymbols=__webpack_require__(120)(),getProto=Object.getPrototypeOf||function(x){return x.__proto__},asyncGenIterator=void 0,TypedArray="undefined"==typeof Uint8Array?void 0:getProto(Uint8Array),INTRINSICS={"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer,"%ArrayBufferPrototype%":"undefined"==typeof ArrayBuffer?void 0:ArrayBuffer.prototype,"%ArrayIteratorPrototype%":hasSymbols?getProto([][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%":asyncGenIterator&&hasSymbols&&Symbol.asyncIterator?asyncGenIterator[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%":hasSymbols?getProto(getProto([][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&&hasSymbols?getProto((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&&hasSymbols?getProto((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%":hasSymbols?getProto(""[Symbol.iterator]()):void 0,"%StringPrototype%":String.prototype,"%Symbol%":hasSymbols?Symbol:void 0,"%SymbolPrototype%":hasSymbols?Symbol.prototype:void 0,"%SyntaxError%":SyntaxError,"%SyntaxErrorPrototype%":SyntaxError.prototype,"%ThrowTypeError%":ThrowTypeError,"%TypedArray%":TypedArray,"%TypedArrayPrototype%":TypedArray?TypedArray.prototype:void 0,"%TypeError%":$TypeError,"%TypeErrorPrototype%":$TypeError.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},$replace=__webpack_require__(211).call(Function.call,String.prototype.replace),rePropName=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=function stringToPath(string){var result=[];return $replace(string,rePropName,(function(match,number,quote,subString){result[result.length]=quote?$replace(subString,reEscapeChar,"$1"):number||match})),result},getBaseIntrinsic=function getBaseIntrinsic(name,allowMissing){if(!(name in INTRINSICS))throw new SyntaxError("intrinsic "+name+" does not exist!");if(void 0===INTRINSICS[name]&&!allowMissing)throw new $TypeError("intrinsic "+name+" exists, but is not available. Please file an issue!");return INTRINSICS[name]};module.exports=function GetIntrinsic(name,allowMissing){if("string"!=typeof name||0===name.length)throw new TypeError("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof allowMissing)throw new TypeError('"allowMissing" argument must be a boolean');for(var parts=stringToPath(name),value=getBaseIntrinsic("%"+(parts.length>0?parts[0]:"")+"%",allowMissing),i=1;i=parts.length){var desc=$gOPD(value,parts[i]);if(!allowMissing&&!(parts[i]in value))throw new $TypeError("base intrinsic for "+name+" exists, but the property is not available.");value=desc?desc.get||desc.value:value[parts[i]]}else value=value[parts[i]];return value}},,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return headerCommon})),__webpack_require__.d(__webpack_exports__,"a",(function(){return codeCommon})),__webpack_require__.d(__webpack_exports__,"d",(function(){return withReset})),__webpack_require__.d(__webpack_exports__,"c",(function(){return withMargin}));var polished__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(9),headerCommon=function headerCommon(_ref){return{margin:"20px 0 8px",padding:0,cursor:"text",position:"relative",color:_ref.theme.color.defaultText,"&:first-of-type":{marginTop:0,paddingTop:0},"&:hover a.anchor":{textDecoration:"none"},"& tt, & code":{fontSize:"inherit"}}},codeCommon=function codeCommon(_ref2){var theme=_ref2.theme;return{lineHeight:1,margin:"0 2px",padding:"3px 5px",whiteSpace:"nowrap",borderRadius:3,fontSize:theme.typography.size.s2-1,border:"light"===theme.base?"1px solid ".concat(theme.color.mediumlight):"1px solid ".concat(theme.color.darker),color:"light"===theme.base?Object(polished__WEBPACK_IMPORTED_MODULE_0__.e)(.1,theme.color.defaultText):Object(polished__WEBPACK_IMPORTED_MODULE_0__.e)(.3,theme.color.defaultText),backgroundColor:"light"===theme.base?theme.color.lighter:theme.color.border}},withReset=function withReset(_ref3){var theme=_ref3.theme;return{fontFamily:theme.typography.fonts.base,fontSize:theme.typography.size.s3,margin:0,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)",WebkitOverflowScrolling:"touch"}},withMargin={margin:"16px 0"}},,function(module,__webpack_exports__,__webpack_require__){"use strict";var events;__webpack_require__.r(__webpack_exports__),__webpack_require__.d(__webpack_exports__,"CHANNEL_CREATED",(function(){return CHANNEL_CREATED})),__webpack_require__.d(__webpack_exports__,"STORY_SPECIFIED",(function(){return STORY_SPECIFIED})),__webpack_require__.d(__webpack_exports__,"SET_STORIES",(function(){return SET_STORIES})),__webpack_require__.d(__webpack_exports__,"SET_CURRENT_STORY",(function(){return SET_CURRENT_STORY})),__webpack_require__.d(__webpack_exports__,"CURRENT_STORY_WAS_SET",(function(){return CURRENT_STORY_WAS_SET})),__webpack_require__.d(__webpack_exports__,"FORCE_RE_RENDER",(function(){return FORCE_RE_RENDER})),__webpack_require__.d(__webpack_exports__,"STORY_CHANGED",(function(){return STORY_CHANGED})),__webpack_require__.d(__webpack_exports__,"STORY_UNCHANGED",(function(){return STORY_UNCHANGED})),__webpack_require__.d(__webpack_exports__,"STORY_RENDERED",(function(){return STORY_RENDERED})),__webpack_require__.d(__webpack_exports__,"STORY_MISSING",(function(){return STORY_MISSING})),__webpack_require__.d(__webpack_exports__,"STORY_ERRORED",(function(){return STORY_ERRORED})),__webpack_require__.d(__webpack_exports__,"STORY_THREW_EXCEPTION",(function(){return STORY_THREW_EXCEPTION})),__webpack_require__.d(__webpack_exports__,"UPDATE_STORY_ARGS",(function(){return UPDATE_STORY_ARGS})),__webpack_require__.d(__webpack_exports__,"STORY_ARGS_UPDATED",(function(){return STORY_ARGS_UPDATED})),__webpack_require__.d(__webpack_exports__,"RESET_STORY_ARGS",(function(){return RESET_STORY_ARGS})),__webpack_require__.d(__webpack_exports__,"UPDATE_GLOBALS",(function(){return UPDATE_GLOBALS})),__webpack_require__.d(__webpack_exports__,"GLOBALS_UPDATED",(function(){return GLOBALS_UPDATED})),__webpack_require__.d(__webpack_exports__,"REGISTER_SUBSCRIPTION",(function(){return REGISTER_SUBSCRIPTION})),__webpack_require__.d(__webpack_exports__,"PREVIEW_KEYDOWN",(function(){return PREVIEW_KEYDOWN})),__webpack_require__.d(__webpack_exports__,"SELECT_STORY",(function(){return SELECT_STORY})),__webpack_require__.d(__webpack_exports__,"STORIES_COLLAPSE_ALL",(function(){return STORIES_COLLAPSE_ALL})),__webpack_require__.d(__webpack_exports__,"STORIES_EXPAND_ALL",(function(){return STORIES_EXPAND_ALL})),__webpack_require__.d(__webpack_exports__,"DOCS_RENDERED",(function(){return DOCS_RENDERED})),__webpack_require__.d(__webpack_exports__,"SHARED_STATE_CHANGED",(function(){return SHARED_STATE_CHANGED})),__webpack_require__.d(__webpack_exports__,"SHARED_STATE_SET",(function(){return SHARED_STATE_SET})),__webpack_require__.d(__webpack_exports__,"NAVIGATE_URL",(function(){return NAVIGATE_URL})),function(events){events.CHANNEL_CREATED="channelCreated",events.STORY_SPECIFIED="storySpecified",events.SET_STORIES="setStories",events.SET_CURRENT_STORY="setCurrentStory",events.CURRENT_STORY_WAS_SET="currentStoryWasSet",events.FORCE_RE_RENDER="forceReRender",events.STORY_CHANGED="storyChanged",events.STORY_UNCHANGED="storyUnchanged",events.STORY_RENDERED="storyRendered",events.STORY_MISSING="storyMissing",events.STORY_ERRORED="storyErrored",events.STORY_THREW_EXCEPTION="storyThrewException",events.UPDATE_STORY_ARGS="updateStoryArgs",events.STORY_ARGS_UPDATED="storyArgsUpdated",events.RESET_STORY_ARGS="resetStoryArgs",events.UPDATE_GLOBALS="updateGlobals",events.GLOBALS_UPDATED="globalsUpdated",events.REGISTER_SUBSCRIPTION="registerSubscription",events.PREVIEW_KEYDOWN="previewKeydown",events.SELECT_STORY="selectStory",events.STORIES_COLLAPSE_ALL="storiesCollapseAll",events.STORIES_EXPAND_ALL="storiesExpandAll",events.DOCS_RENDERED="docsRendered",events.SHARED_STATE_CHANGED="sharedStateChanged",events.SHARED_STATE_SET="sharedStateSet",events.NAVIGATE_URL="navigateUrl"}(events||(events={})),__webpack_exports__.default=events;var CHANNEL_CREATED=events.CHANNEL_CREATED,STORY_SPECIFIED=events.STORY_SPECIFIED,SET_STORIES=events.SET_STORIES,SET_CURRENT_STORY=events.SET_CURRENT_STORY,CURRENT_STORY_WAS_SET=events.CURRENT_STORY_WAS_SET,FORCE_RE_RENDER=events.FORCE_RE_RENDER,STORY_CHANGED=events.STORY_CHANGED,STORY_UNCHANGED=events.STORY_UNCHANGED,STORY_RENDERED=events.STORY_RENDERED,STORY_MISSING=events.STORY_MISSING,STORY_ERRORED=events.STORY_ERRORED,STORY_THREW_EXCEPTION=events.STORY_THREW_EXCEPTION,UPDATE_STORY_ARGS=events.UPDATE_STORY_ARGS,STORY_ARGS_UPDATED=events.STORY_ARGS_UPDATED,RESET_STORY_ARGS=events.RESET_STORY_ARGS,UPDATE_GLOBALS=events.UPDATE_GLOBALS,GLOBALS_UPDATED=events.GLOBALS_UPDATED,REGISTER_SUBSCRIPTION=events.REGISTER_SUBSCRIPTION,PREVIEW_KEYDOWN=events.PREVIEW_KEYDOWN,SELECT_STORY=events.SELECT_STORY,STORIES_COLLAPSE_ALL=events.STORIES_COLLAPSE_ALL,STORIES_EXPAND_ALL=events.STORIES_EXPAND_ALL,DOCS_RENDERED=events.DOCS_RENDERED,SHARED_STATE_CHANGED=events.SHARED_STATE_CHANGED,SHARED_STATE_SET=events.SHARED_STATE_SET,NAVIGATE_URL=events.NAVIGATE_URL},function(module,exports,__webpack_require__){var $=__webpack_require__(24),DESCRIPTORS=__webpack_require__(84);$({target:"Object",stat:!0,forced:!DESCRIPTORS,sham:!DESCRIPTORS},{defineProperty:__webpack_require__(107).f})},function(module,__webpack_exports__,__webpack_require__){"use strict";function getDocument(element){return element?element.ownerDocument||element:document}__webpack_require__.d(__webpack_exports__,"a",(function(){return getDocument}))},function(module,exports,__webpack_require__){var __WEBPACK_AMD_DEFINE_RESULT__;!function(){"use strict";var hasOwn={}.hasOwnProperty;function classNames(){for(var classes=[],i=0;iindex;)void 0!==(descriptor=getOwnPropertyDescriptor(O,key=keys[index++]))&&createProperty(result,key,descriptor);return result}})},function(module,exports,__webpack_require__){var $=__webpack_require__(24),DESCRIPTORS=__webpack_require__(84);$({target:"Object",stat:!0,forced:!DESCRIPTORS,sham:!DESCRIPTORS},{defineProperties:__webpack_require__(381)})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useIsomorphicEffect}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),useIsomorphicEffect=__webpack_require__(58).a?react__WEBPACK_IMPORTED_MODULE_0__.useLayoutEffect:react__WEBPACK_IMPORTED_MODULE_0__.useEffect},,function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),exec=__webpack_require__(298);$({target:"RegExp",proto:!0,forced:/./.exec!==exec},{exec:exec})},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),DESCRIPTORS=__webpack_require__(84),global=__webpack_require__(45),has=__webpack_require__(92),isObject=__webpack_require__(69),defineProperty=__webpack_require__(107).f,copyConstructorProperties=__webpack_require__(503),NativeSymbol=global.Symbol;if(DESCRIPTORS&&"function"==typeof NativeSymbol&&(!("description"in NativeSymbol.prototype)||void 0!==NativeSymbol().description)){var EmptyStringDescriptionStore={},SymbolWrapper=function Symbol(){var description=arguments.length<1||void 0===arguments[0]?void 0:String(arguments[0]),result=this instanceof SymbolWrapper?new NativeSymbol(description):void 0===description?NativeSymbol():NativeSymbol(description);return""===description&&(EmptyStringDescriptionStore[result]=!0),result};copyConstructorProperties(SymbolWrapper,NativeSymbol);var symbolPrototype=SymbolWrapper.prototype=NativeSymbol.prototype;symbolPrototype.constructor=SymbolWrapper;var symbolToString=symbolPrototype.toString,native="Symbol(test)"==String(NativeSymbol("test")),regexp=/^Symbol\((.*)\)[^)]+$/;defineProperty(symbolPrototype,"description",{configurable:!0,get:function description(){var symbol=isObject(this)?this.valueOf():this,string=symbolToString.call(symbol);if(has(EmptyStringDescriptionStore,symbol))return"";var desc=native?string.slice(7,-1):string.replace(regexp,"$1");return""===desc?void 0:desc}}),$({global:!0,forced:!0},{Symbol:SymbolWrapper})}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"resetComponents",(function(){return resetComponents}));__webpack_require__(18),__webpack_require__(7),__webpack_require__(19);var react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),_typography_DocumentFormatting__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(157),_blocks__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(559);__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"ArgsTable")&&__webpack_require__.d(__webpack_exports__,"ArgsTable",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.ArgsTable})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"ArgsTableError")&&__webpack_require__.d(__webpack_exports__,"ArgsTableError",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.ArgsTableError})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"Description")&&__webpack_require__.d(__webpack_exports__,"Description",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.Description})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"DocsContent")&&__webpack_require__.d(__webpack_exports__,"DocsContent",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.DocsContent})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"DocsWrapper")&&__webpack_require__.d(__webpack_exports__,"DocsWrapper",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.DocsWrapper})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"Preview")&&__webpack_require__.d(__webpack_exports__,"Preview",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.Preview})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"Source")&&__webpack_require__.d(__webpack_exports__,"Source",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.Source})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"SourceError")&&__webpack_require__.d(__webpack_exports__,"SourceError",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.SourceError})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"Story")&&__webpack_require__.d(__webpack_exports__,"Story",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.Story})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"Subtitle")&&__webpack_require__.d(__webpack_exports__,"Subtitle",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.Subtitle})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"TabbedArgsTable")&&__webpack_require__.d(__webpack_exports__,"TabbedArgsTable",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.TabbedArgsTable})),__webpack_require__.o(_blocks__WEBPACK_IMPORTED_MODULE_5__,"Title")&&__webpack_require__.d(__webpack_exports__,"Title",(function(){return _blocks__WEBPACK_IMPORTED_MODULE_5__.Title}));var _controls__WEBPACK_IMPORTED_MODULE_6__=__webpack_require__(329);__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"ArgsTable")&&__webpack_require__.d(__webpack_exports__,"ArgsTable",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.ArgsTable})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"ArgsTableError")&&__webpack_require__.d(__webpack_exports__,"ArgsTableError",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.ArgsTableError})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"Description")&&__webpack_require__.d(__webpack_exports__,"Description",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.Description})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"DocsContent")&&__webpack_require__.d(__webpack_exports__,"DocsContent",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.DocsContent})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"DocsWrapper")&&__webpack_require__.d(__webpack_exports__,"DocsWrapper",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.DocsWrapper})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"Preview")&&__webpack_require__.d(__webpack_exports__,"Preview",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.Preview})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"Source")&&__webpack_require__.d(__webpack_exports__,"Source",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.Source})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"SourceError")&&__webpack_require__.d(__webpack_exports__,"SourceError",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.SourceError})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"Story")&&__webpack_require__.d(__webpack_exports__,"Story",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.Story})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"Subtitle")&&__webpack_require__.d(__webpack_exports__,"Subtitle",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.Subtitle})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"TabbedArgsTable")&&__webpack_require__.d(__webpack_exports__,"TabbedArgsTable",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.TabbedArgsTable})),__webpack_require__.o(_controls__WEBPACK_IMPORTED_MODULE_6__,"Title")&&__webpack_require__.d(__webpack_exports__,"Title",(function(){return _controls__WEBPACK_IMPORTED_MODULE_6__.Title}));var resetComponents={};Object.keys(_typography_DocumentFormatting__WEBPACK_IMPORTED_MODULE_4__.e).forEach((function(key){resetComponents[key]=function(props){return Object(react__WEBPACK_IMPORTED_MODULE_3__.createElement)(key,props)}}))},,function(module,exports,__webpack_require__){(function(global){var check=function(it){return it&&it.Math==Math&&it};module.exports=check("object"==typeof globalThis&&globalThis)||check("object"==typeof window&&window)||check("object"==typeof self&&self)||check("object"==typeof global&&global)||function(){return this}()||Function("return this")()}).call(this,__webpack_require__(118))},function(module,exports,__webpack_require__){"use strict";var charAt=__webpack_require__(387).charAt,toString=__webpack_require__(87),InternalStateModule=__webpack_require__(135),defineIterator=__webpack_require__(383),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("String Iterator");defineIterator(String,"String",(function(iterated){setInternalState(this,{type:"String Iterator",string:toString(iterated),index:0})}),(function next(){var point,state=getInternalState(this),string=state.string,index=state.index;return index>=string.length?{value:void 0,done:!0}:(point=charAt(string,index),state.index+=point.length,{value:point,done:!1})}))},function(module,exports,__webpack_require__){"use strict";var toIndexedObject=__webpack_require__(139),addToUnscopables=__webpack_require__(294),Iterators=__webpack_require__(251),InternalStateModule=__webpack_require__(135),defineIterator=__webpack_require__(383),setInternalState=InternalStateModule.set,getInternalState=InternalStateModule.getterFor("Array Iterator");module.exports=defineIterator(Array,"Array",(function(iterated,kind){setInternalState(this,{type:"Array Iterator",target:toIndexedObject(iterated),index:0,kind:kind})}),(function(){var state=getInternalState(this),target=state.target,kind=state.kind,index=state.index++;return!target||index>=target.length?(state.target=void 0,{value:void 0,done:!0}):"keys"==kind?{value:index,done:!1}:"values"==kind?{value:target[index],done:!1}:{value:[index,target[index]],done:!1}}),"values"),Iterators.Arguments=Iterators.Array,addToUnscopables("keys"),addToUnscopables("values"),addToUnscopables("entries")},function(module,__webpack_exports__,__webpack_require__){"use strict";function shallowEqual(objA,objB){if(objA===objB)return!0;if(!objA)return!1;if(!objB)return!1;if("object"!=typeof objA)return!1;if("object"!=typeof objB)return!1;var aKeys=Object.keys(objA),bKeys=Object.keys(objB),length=aKeys.length;if(bKeys.length!==length)return!1;for(var _i=0,_aKeys=aKeys;_i<_aKeys.length;_i++){var key=_aKeys[_i];if(objA[key]!==objB[key])return!1}return!0}__webpack_require__.d(__webpack_exports__,"a",(function(){return shallowEqual}))},function(module,exports,__webpack_require__){var global=__webpack_require__(45),DOMIterables=__webpack_require__(509),ArrayIteratorMethods=__webpack_require__(47),createNonEnumerableProperty=__webpack_require__(165),wellKnownSymbol=__webpack_require__(63),ITERATOR=wellKnownSymbol("iterator"),TO_STRING_TAG=wellKnownSymbol("toStringTag"),ArrayValues=ArrayIteratorMethods.values;for(var COLLECTION_NAME in DOMIterables){var Collection=global[COLLECTION_NAME],CollectionPrototype=Collection&&Collection.prototype;if(CollectionPrototype){if(CollectionPrototype[ITERATOR]!==ArrayValues)try{createNonEnumerableProperty(CollectionPrototype,ITERATOR,ArrayValues)}catch(error){CollectionPrototype[ITERATOR]=ArrayValues}if(CollectionPrototype[TO_STRING_TAG]||createNonEnumerableProperty(CollectionPrototype,TO_STRING_TAG,COLLECTION_NAME),DOMIterables[COLLECTION_NAME])for(var METHOD_NAME in ArrayIteratorMethods)if(CollectionPrototype[METHOD_NAME]!==ArrayIteratorMethods[METHOD_NAME])try{createNonEnumerableProperty(CollectionPrototype,METHOD_NAME,ArrayIteratorMethods[METHOD_NAME])}catch(error){CollectionPrototype[METHOD_NAME]=ArrayIteratorMethods[METHOD_NAME]}}}},function(module,exports,__webpack_require__){"use strict";module.exports=function(useSourceMap){var list=[];return list.toString=function toString(){return this.map((function(item){var content=function cssWithMappingToString(item,useSourceMap){var content=item[1]||"",cssMapping=item[3];if(!cssMapping)return content;if(useSourceMap&&"function"==typeof btoa){var sourceMapping=function toComment(sourceMap){var base64=btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))),data="sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(base64);return"/*# ".concat(data," */")}(cssMapping),sourceURLs=cssMapping.sources.map((function(source){return"/*# sourceURL=".concat(cssMapping.sourceRoot||"").concat(source," */")}));return[content].concat(sourceURLs).concat([sourceMapping]).join("\n")}return[content].join("\n")}(item,useSourceMap);return item[2]?"@media ".concat(item[2]," {").concat(content,"}"):content})).join("")},list.i=function(modules,mediaQuery,dedupe){"string"==typeof modules&&(modules=[[null,modules,""]]);var alreadyImportedModules={};if(dedupe)for(var i=0;i=0&&stylesInsertedAtTop.splice(idx,1)}function createStyleElement(options){var style=document.createElement("style");if(void 0===options.attrs.type&&(options.attrs.type="text/css"),void 0===options.attrs.nonce){var nonce=function getNonce(){0;return __webpack_require__.nc}();nonce&&(options.attrs.nonce=nonce)}return addAttrs(style,options.attrs),insertStyleElement(options,style),style}function addAttrs(el,attrs){Object.keys(attrs).forEach((function(key){el.setAttribute(key,attrs[key])}))}function addStyle(obj,options){var style,update,remove,result;if(options.transform&&obj.css){if(!(result="function"==typeof options.transform?options.transform(obj.css):options.transform.default(obj.css)))return function(){};obj.css=result}if(options.singleton){var styleIndex=singletonCounter++;style=singleton||(singleton=createStyleElement(options)),update=applyToSingletonTag.bind(null,style,styleIndex,!1),remove=applyToSingletonTag.bind(null,style,styleIndex,!0)}else obj.sourceMap&&"function"==typeof URL&&"function"==typeof URL.createObjectURL&&"function"==typeof URL.revokeObjectURL&&"function"==typeof Blob&&"function"==typeof btoa?(style=function createLinkElement(options){var link=document.createElement("link");return void 0===options.attrs.type&&(options.attrs.type="text/css"),options.attrs.rel="stylesheet",addAttrs(link,options.attrs),insertStyleElement(options,link),link}(options),update=updateLink.bind(null,style,options),remove=function(){removeStyleElement(style),style.href&&URL.revokeObjectURL(style.href)}):(style=createStyleElement(options),update=applyToTag.bind(null,style),remove=function(){removeStyleElement(style)});return update(obj),function updateStyle(newObj){if(newObj){if(newObj.css===obj.css&&newObj.media===obj.media&&newObj.sourceMap===obj.sourceMap)return;update(obj=newObj)}else remove()}}module.exports=function(list,options){if("undefined"!=typeof DEBUG&&DEBUG&&"object"!=typeof document)throw new Error("The style-loader cannot be used in a non-browser environment");(options=options||{}).attrs="object"==typeof options.attrs?options.attrs:{},options.singleton||"boolean"==typeof options.singleton||(options.singleton=isOldIE()),options.insertInto||(options.insertInto="head"),options.insertAt||(options.insertAt="bottom");var styles=listToStyles(list,options);return addStylesToDom(styles,options),function update(newList){for(var mayRemove=[],i=0;i90}function isTooLongForDefaultValueSummary(value){return value.length>50}function createSummaryValue(summary,detail){return summary===detail?{summary:summary}:{summary:summary,detail:detail}}},,function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useRole}));var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(26),reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(25),reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(48),useRole=Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__.a)({name:"Role",keys:["unstable_system"],propsAreEqual:function propsAreEqual(prev,next){var prevSystem=prev.unstable_system,prevProps=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.a)(prev,["unstable_system"]),nextSystem=next.unstable_system,nextProps=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.a)(next,["unstable_system"]);return!(prevSystem!==nextSystem&&!Object(reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__.a)(prevSystem,nextSystem))&&Object(reakit_utils_shallowEqual__WEBPACK_IMPORTED_MODULE_3__.a)(prevProps,nextProps)}});Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__.a)({as:"div",useHook:useRole})},function(module,__webpack_exports__,__webpack_require__){"use strict";function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i-1?callBind(intrinsic):intrinsic}},function(module,exports,__webpack_require__){var isObject=__webpack_require__(69);module.exports=function(it){if(!isObject(it))throw TypeError(String(it)+" is not an object");return it}},function(module,exports,__webpack_require__){var path=__webpack_require__(508),has=__webpack_require__(92),wrappedWellKnownSymbolModule=__webpack_require__(507),defineProperty=__webpack_require__(107).f;module.exports=function(NAME){var Symbol=path.Symbol||(path.Symbol={});has(Symbol,NAME)||defineProperty(Symbol,NAME,{value:wrappedWellKnownSymbolModule.f(NAME)})}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__(0),__webpack_require__(178)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return hasFocusWithin}));var _getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(56),_contains_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(97);function hasFocusWithin(element){var activeElement=Object(_getActiveElement_js__WEBPACK_IMPORTED_MODULE_0__.a)(element);if(!activeElement)return!1;if(Object(_contains_js__WEBPACK_IMPORTED_MODULE_1__.a)(element,activeElement))return!0;var activeDescendant=activeElement.getAttribute("aria-activedescendant");return!!activeDescendant&&(activeDescendant===element.id||!!element.querySelector("#"+activeDescendant))}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return getClosestFocusable})),__webpack_require__.d(__webpack_exports__,"b",(function(){return getFirstTabbableIn})),__webpack_require__.d(__webpack_exports__,"c",(function(){return getLastTabbableIn})),__webpack_require__.d(__webpack_exports__,"d",(function(){return isTabbable}));var _matches_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(345),_closest_js__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(188),selector=(__webpack_require__(56),"input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])");function isFocusable(element){return Object(_matches_js__WEBPACK_IMPORTED_MODULE_0__.a)(element,selector)&&function isVisible(element){var htmlElement=element;return htmlElement.offsetWidth>0||htmlElement.offsetHeight>0||element.getClientRects().length>0}(element)}function isTabbable(element){return isFocusable(element)&&!function hasNegativeTabIndex(element){return parseInt(element.getAttribute("tabindex")||"0",10)<0}(element)}function getAllTabbableIn(container,fallbackToFocusable){var allFocusable=Array.from(container.querySelectorAll(selector)),allTabbable=allFocusable.filter(isTabbable);return isTabbable(container)&&allTabbable.unshift(container),!allTabbable.length&&fallbackToFocusable?allFocusable:allTabbable}function getFirstTabbableIn(container,fallbackToFocusable){return getAllTabbableIn(container,fallbackToFocusable)[0]||null}function getLastTabbableIn(container,fallbackToFocusable){var allTabbable=getAllTabbableIn(container,fallbackToFocusable);return allTabbable[allTabbable.length-1]||null}function getClosestFocusable(element){for(;element&&!isFocusable(element);)element=Object(_closest_js__WEBPACK_IMPORTED_MODULE_1__.a)(element,selector);return element}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Icons}));__webpack_require__(15),__webpack_require__(20),__webpack_require__(7);var react=__webpack_require__(0),react_default=__webpack_require__.n(react),esm=__webpack_require__(4),icon_icons={mobile:"M648 64h-272c-66.274 0-120 53.726-120 120v656c0 66.274 53.726 120 120 120h272c66.274 0 120-53.726 120-120v-656c0-66.274-53.726-120-120-120zM376 144h272c22.056 0 40 17.944 40 40v495.968h-352v-495.968c0-22.056 17.946-40 40-40zM648 880h-272c-22.054 0-40-17.944-40-40v-80.032h352v80.032c0 22.056-17.944 40-40 40zM544.034 819.962c0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.672 14.33-31.998 32-31.998 17.674-0 32.004 14.326 32.004 31.998z",watch:"M736.172 108.030c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20 0 11.046 8.956 20 20 20h408.282c11.044 0 20-8.954 20-20zM736.172 50.37c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20s8.956 20 20 20h408.282c11.044 0 20-8.956 20-20zM736.172 973.692c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20s8.956 20 20 20h408.282c11.044 0 20-8.956 20-20zM736.172 916.030c0-11.044-8.956-20-20-20h-408.282c-11.044 0-20 8.956-20 20 0 11.046 8.956 20 20 20h408.282c11.044 0 20-8.954 20-20zM717.53 228c18.904 0 34.286 15.14 34.286 33.75v500.502c0 18.61-15.38 33.75-34.286 33.75h-411.43c-18.904 0-34.286-15.14-34.286-33.75v-500.502c0-18.61 15.38-33.75 34.286-33.75h411.43zM717.53 148h-411.43c-63.118 0-114.286 50.928-114.286 113.75v500.502c0 62.822 51.166 113.75 114.286 113.75h411.43c63.118 0 114.286-50.926 114.286-113.75v-500.502c-0.002-62.822-51.168-113.75-114.286-113.75v0zM680.036 511.53c0 22.090-17.91 40-40 40h-128.004c-5.384 0-10.508-1.078-15.196-3.006-0.124-0.048-0.254-0.086-0.376-0.132-0.61-0.262-1.188-0.57-1.782-0.86-0.572-0.276-1.16-0.528-1.718-0.828-0.204-0.112-0.39-0.246-0.594-0.364-0.918-0.514-1.832-1.050-2.704-1.64-0.086-0.058-0.164-0.128-0.254-0.188-10.492-7.21-17.382-19.284-17.382-32.98v-151.5c0-22.094 17.91-40 40.004-40 22.088 0 40 17.906 40 40v111.498h88c22.094-0.002 40.002 17.91 40.006 40z",tablet:"M200.022 927.988h624.018c1.38 0 2.746-0.072 4.090-0.208 20.168-2.050 35.91-19.080 35.91-39.792v-751.916c0-22.092-17.91-40-40-40h-624.018c-22.098 0-40 17.908-40 40v751.916c0 22.094 17.906 40 40 40zM512.002 878.206c-17.674 0-32.004-14.328-32.004-31.998 0-17.678 14.33-32.002 32.004-32.002 17.67 0 32 14.324 32 32.002 0 17.67-14.33 31.998-32 31.998zM240.022 176.078h544.018v591.902h-544.018v-591.902z",browser:"M920.004 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.048-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c-0-22.094-17.906-40-40-40zM368 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM272 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM176 177.78c17.674 0 32.004 14.328 32.004 31.998 0 17.676-14.33 32.002-32.004 32.002-17.67 0-32-14.326-32-32.002 0-17.67 14.33-31.998 32-31.998zM880.004 815.996h-736.008v-527.988h736.008v527.988z",sidebar:"M920.032 127.858h-816c-22.092 0-40 17.908-40 40v688c0 22.092 17.908 40 40 40h316.578c1.13 0.096 2.266 0.172 3.422 0.172s2.292-0.078 3.424-0.172h492.576c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40zM144.032 207.858h240v608h-240v-608zM880.032 815.858h-416v-608h416v608zM198.734 288.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 416.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32zM198.734 544.030c0-17.674 14.328-32 32.002-32h66.396c17.672 0 32 14.326 32 32 0 17.676-14.324 32-32 32h-66.398c-17.674 0-32-14.326-32-32z",sidebaralt:"M64 167.944v688c0 22.092 17.908 40 40 40h816c22.092 0 40-17.908 40-40v-688c0-22.092-17.908-40-40-40h-816c-22.092 0-40 17.908-40 40zM880 815.944h-240v-608h240v608zM144 207.944h416v608h-416v-608zM793.296 320.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32zM793.296 448.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32zM793.296 576.118h-66.398c-17.676 0-32-14.324-32-32 0-17.674 14.328-32 32-32h66.396c17.674 0 32.002 14.326 32.002 32 0 17.672-14.324 32-32 32z",bottombar:"M85 121h854c24 0 42 18 42 41v700c0 23-18 41-42 41H608a44 44 0 0 1-7 0H85c-24 0-42-18-42-41V162c0-23 18-41 42-41zm41 535v165h772V656H126zm0-82h772V202H126v372zm185 197h-69c-19 0-34-14-34-32s15-33 34-33h69c19 0 34 15 34 33s-15 32-34 32zm236 0h-70c-18 0-33-14-33-32s15-33 33-33h70c18 0 33 15 33 33s-15 32-33 32zm235 0h-70c-18 0-33-14-33-32s15-33 33-33h70c18 0 33 15 33 33s-15 32-33 32z",useralt:"M533 960a850 850 0 0 0 386-92v-19c0-117-242-223-306-234-20-3-21-58-21-58s59-58 72-137c35 0 56-84 21-113 2-31 45-243-173-243S337 276 338 307c-34 29-13 113 22 113 13 79 72 137 72 137s-1 55-21 58c-64 11-301 115-306 231a855 855 0 0 0 428 114z",user:"M814 805a525 525 0 00-217-116c-17-3-17-50-17-50s50-49 61-116c29 0 48-71 18-96 1-26 38-206-147-206S364 401 365 427c-30 25-11 96 18 96 11 67 61 116 61 116s0 47-17 50c-39 6-154 53-217 116a418 418 0 015-590 418 418 0 01594 0 418 418 0 015 590M512 0a512 512 0 100 1024A512 512 0 00512 0",useradd:"M87 859c-30-12-59-27-87-43 5-105 221-200 279-210 19-3 19-53 19-53s-54-53-65-125c-32 0-51-76-20-103-1-28-40-221 158-221 199 0 160 193 158 221 32 27 12 103-19 103-12 72-66 125-66 125s1 50 19 53c59 10 279 107 279 213v18a781 781 0 0 1-655 22zm892-565h-91v-90a45 45 0 1 0-91 0v90h-91a45 45 0 1 0 0 91h91v91a45 45 0 1 0 91 0v-91h91a45 45 0 1 0 0-91z",users:"M360 128c193 0 155 182 154 208 31 25 12 97-19 97-11 67-64 118-64 118s1 47 19 50c57 9 271 100 271 200v16a771 771 0 0 1-637 21c-29-11-57-25-84-40 4-99 215-189 271-197 18-3 18-50 18-50s-52-51-63-118c-31 0-50-72-19-97-1-26-40-208 153-208zm416 66c133 0 107 125 106 144 21 17 8 66-13 66-8 47-44 81-44 81s0 33 12 34c40 6 187 69 187 138v46c-80 27-163 41-249 41l-9-1c-16-31-44-61-83-90a546 546 0 0 0-111-64c47-38 117-66 143-70 12-1 12-34 12-34s-36-34-43-81c-21 0-34-49-13-66-1-19-27-144 105-144z",profile:"M761 631c0-13-10-23-22-23H285c-12 0-22 10-22 23 0 12 10 23 22 23h454c12 0 22-11 22-23zm0 100c0-12-10-22-22-22H285c-12 0-22 10-22 22 0 13 10 23 22 23h454c12 0 22-10 22-23zm0 101c0-13-10-23-22-23H285c-12 0-22 10-22 23s10 23 22 23h454c12 0 22-10 22-23zM832 0c59 0 107 49 107 109v807c-1 60-49 108-107 108H130c-25 0-45-20-45-46V46a45 45 0 0 1 45-46h702zm0 91H174v842h658c10 0 18-9 18-18V110c0-10-8-19-18-19zM384 532l-39-20c2-49 100-93 126-97 8-1 8-25 8-25s-24-24-29-57c-14 0-23-35-9-48-1-13-18-102 71-102s72 89 71 102c14 13 5 48-9 48-5 33-29 57-29 57s0 24 8 25c27 4 126 49 126 98v8a346 346 0 0 1-295 11z",bookmark:"M772 1012L511 761l-260 251a49 49 0 0 1-52 10c-18-7-29-24-29-43V132c0-25 21-46 47-46h588c26 0 47 21 47 46v847c0 19-11 36-29 43a49 49 0 0 1-51-10z",bookmarkhollow:"M772 1012L511 761l-260 251a49 49 0 0 1-52 10c-18-7-29-24-29-43V132c0-25 21-46 47-46h588c26 0 47 21 47 46v847c0 19-11 36-29 43a49 49 0 0 1-51-10zM545 664l213 205V181H265v688l213-205c9-9 21-14 33-14s24 5 34 14z",book:"M896.054 159.774c-0.122-52.914-43.048-95.774-95.992-95.774h-632.004c-1.754 0-3.468 0.154-5.164 0.372-19.644 2.54-34.836 19.292-34.836 39.628v816c0 22.094 17.91 40 40 40h632.004c52.642 0 95.368-42.378 95.968-94.88h0.036v-705.332l-0.012-0.014zM368.062 144h80v271.922l-11.728-11.718c-15.62-15.606-40.924-15.606-56.542 0l-11.728 11.718v-271.922zM816.036 864.204c-0.1 8.712-7.268 15.796-15.972 15.796h-592.004v-736h80.004v368.426c0 16.176 9.742 30.758 24.684 36.954 14.944 6.192 32.146 2.778 43.586-8.656l51.728-51.68 51.728 51.68c7.652 7.644 17.876 11.708 28.28 11.708 5.156 0 10.356-1 15.306-3.050 14.944-6.196 24.684-20.778 24.684-36.954v-368.428h272c8.796 0 15.972 7.16 15.992 15.958l-0.016 704.246z",repository:"M856.020 159.804c-0.122-52.916-43.048-95.774-95.992-95.774h-591.968c-1.754 0-3.468 0.154-5.164 0.37-19.644 2.54-34.836 19.292-34.836 39.63v784.584c0 22.094 17.91 40 40 40h151.972v63.594c0 10.876 6.548 20.682 16.598 24.844 10.046 4.164 21.612 1.87 29.304-5.818l34.78-34.748 34.78 34.748c5.144 5.14 12.020 7.87 19.014 7.87 3.466 0 6.962-0.672 10.292-2.052 10.048-4.164 16.598-13.968 16.598-24.844v-63.594h278.63c52.642 0 95.368-42.38 95.968-94.882h0.036v-673.916l-0.012-0.012zM776.020 159.988l-0.014 504.628h-519.974v-520.584h503.996c8.796-0 15.972 7.158 15.992 15.956zM760.028 848.616h-278.63v-56h-161.366v56h-111.972v-104h567.944l-0.002 88.204c-0.102 8.71-7.27 15.796-15.974 15.796zM320.032 240.396c0-17.67 14.328-31.998 31.998-31.998s32.002 14.326 32.002 31.998c0 17.674-14.332 32-32.002 32-17.672-0.002-31.998-14.326-31.998-32zM320.032 349.79c0-17.67 14.328-31.998 31.998-31.998s32.002 14.328 32.002 31.998c0 17.676-14.332 32-32.002 32-17.672 0-31.998-14.324-31.998-32zM320.032 459.188c0-17.67 14.328-32 31.998-32s32.002 14.328 32.002 32c0 17.674-14.332 31.998-32.002 31.998-17.672 0-31.998-14.324-31.998-31.998zM384.032 568.582c0 17.674-14.332 31.998-32.002 31.998s-31.998-14.324-31.998-31.998c0-17.67 14.328-32 31.998-32 17.67 0.002 32.002 14.33 32.002 32z",star:"M763.972 919.5c-6.368 0-12.758-1.518-18.61-4.596l-233.358-122.688-233.37 122.688c-13.476 7.090-29.808 5.904-42.124-3.042-12.318-8.95-18.486-24.118-15.912-39.124l44.57-259.856-188.792-184.028c-10.904-10.626-14.828-26.524-10.124-41.004s17.222-25.034 32.292-27.222l260.906-37.912 116.686-236.42c6.738-13.652 20.644-22.296 35.87-22.296v0c15.226 0 29.13 8.644 35.87 22.298l116.674 236.418 260.906 37.912c15.068 2.19 27.586 12.742 32.292 27.222s0.782 30.376-10.124 41.004l-188.792 184.028 44.24 257.93c0.62 2.796 0.946 5.704 0.946 8.688 0 22.054-17.848 39.942-39.888 40-0.054 0-0.106 0-0.158 0z",starhollow:"M763.972 919.5c-6.368 0-12.758-1.518-18.61-4.596l-233.358-122.688-233.37 122.688c-13.476 7.090-29.808 5.904-42.124-3.042-12.318-8.95-18.486-24.118-15.912-39.124l44.57-259.856-188.792-184.028c-10.904-10.626-14.828-26.524-10.124-41.004s17.222-25.034 32.292-27.222l260.906-37.912 116.686-236.42c6.738-13.652 20.644-22.296 35.87-22.296v0c15.226 0 29.13 8.644 35.87 22.298l116.674 236.418 260.906 37.912c15.068 2.19 27.586 12.742 32.292 27.222s0.782 30.376-10.124 41.004l-188.792 184.028 44.24 257.93c0.62 2.796 0.946 5.704 0.946 8.688 0 22.054-17.848 39.942-39.888 40-0.054 0-0.106 0-0.158 0zM190.256 428.144l145.812 142.13c9.428 9.192 13.73 22.432 11.504 35.406l-34.424 200.7 180.244-94.758c11.654-6.13 25.576-6.126 37.226 0l180.232 94.756-34.422-200.698c-2.226-12.974 2.076-26.214 11.504-35.406l145.812-142.13-201.51-29.282c-13.030-1.892-24.292-10.076-30.118-21.882l-90.114-182.596-90.122 182.598c-5.826 11.804-17.090 19.988-30.118 21.88l-201.506 29.282z",circle:"M1024 512A512 512 0 110 512a512 512 0 011024 0z",circlehollow:"M1024 512A512 512 0 100 512a512 512 0 001024 0zM215 809a418 418 0 010-594 418 418 0 01594 0 418 418 0 010 594 418 418 0 01-594 0z",heart:"M895.032 194.328c-20.906-21.070-46.492-37.316-76.682-48.938-30.104-11.71-63.986-17.39-101.474-17.39-19.55 0-38.744 2.882-57.584 9.094-18.472 6.062-36.584 14.242-54.072 24.246-17.476 9.828-34.056 21.276-49.916 33.898-16.038 12.8-30.456 25.572-43.346 38.664-13.52-13.092-28.026-25.864-43.616-38.664-15.684-12.624-32.080-24.070-49.382-33.898-17.214-10.004-35.414-18.184-54.704-24.246-19.104-6.21-38.568-9.094-58.034-9.094-37.126 0-70.56 5.68-100.48 17.39-29.732 11.622-55.328 27.868-76.328 48.938-20.994 21.094-37.214 46.962-48.478 77.328-11.174 30.544-16.942 64.5-16.942 101.812 0 21.628 3.068 43.078 9.19 64.53 6.308 21.096 14.416 41.986 24.876 61.642 10.446 19.656 22.702 38.488 36.584 56.59 13.88 18.124 28.388 34.516 43.344 49.58l305.766 305.112c8.466 7.558 18.11 11.444 28.204 11.444 10.726 0 19.914-3.884 27.308-11.444l305.934-304.226c14.78-14.772 29.382-31.368 43.166-49.378 14.058-18.212 26.314-37.222 37.042-57.23 10.9-19.924 19.192-40.638 25.406-62 6.218-21.188 9.198-42.61 9.198-64.618 0-37.312-5.592-71.268-16.582-101.812-11.264-30.366-27.22-56.236-48.398-77.33z",hearthollow:"M716.876 208c27.708 0 52.092 4.020 72.47 11.948l0.132 0.052 0.13 0.050c19.866 7.644 35.774 17.664 48.632 30.624l0.166 0.168 0.17 0.168c12.586 12.536 22.304 28.27 29.706 48.094 7.782 21.786 11.726 46.798 11.726 74.364 0 14.658-1.95 28.426-5.958 42.086l-0.028 0.092-0.026 0.092c-4.866 16.72-11.006 31.752-18.776 45.952l-0.162 0.298-0.16 0.296c-8.81 16.434-18.58 31.532-29.864 46.148l-0.204 0.264c-11.316 14.786-23.48 28.708-36.154 41.378l-277.122 275.574-276.94-276.35c-13.32-13.43-25.248-27.074-36.488-41.75-11.386-14.848-21.284-30.136-29.444-45.49-7.206-13.54-13.494-29.17-18.7-46.472-4.030-14.264-5.988-28.044-5.988-42.116 0-27.36 4.042-52.314 12.016-74.176 7.214-19.378 17.344-35.708 30.066-48.492 12.998-13.042 28.958-23.148 48.826-30.914 20.436-8 43.764-11.886 71.32-11.886 11.536 0 22.738 1.742 33.298 5.174l0.374 0.122 0.376 0.12c13.116 4.122 26.066 9.874 38.494 17.094l0.34 0.2 0.344 0.196c12.736 7.234 25.308 15.876 38.43 26.412 14.486 11.906 27.060 23.048 38.428 34.056l56.994 55.192 55.662-56.532c10.324-10.484 22.18-21.040 36.242-32.264 13.382-10.646 26.216-19.38 39.228-26.698l0.256-0.144 0.254-0.144c13.008-7.442 26.228-13.386 39.294-17.676l0.050-0.016 0.050-0.018c10.354-3.414 20.998-5.076 32.54-5.076zM716.876 128c-19.55 0-38.744 2.882-57.584 9.094-18.472 6.062-36.584 14.242-54.072 24.246-17.476 9.828-34.056 21.276-49.916 33.898-16.038 12.8-30.456 25.572-43.346 38.664-13.52-13.092-28.026-25.864-43.616-38.664-15.684-12.624-32.080-24.070-49.382-33.898-17.214-10.004-35.414-18.184-54.704-24.246-19.104-6.21-38.568-9.094-58.034-9.094-37.126 0-70.56 5.68-100.48 17.39-29.732 11.622-55.328 27.868-76.328 48.938-20.994 21.094-37.214 46.962-48.478 77.328-11.174 30.544-16.942 64.5-16.942 101.812 0 21.628 3.068 43.078 9.19 64.53 6.308 21.096 14.416 41.986 24.876 61.642 10.446 19.656 22.702 38.488 36.584 56.59 13.88 18.124 28.388 34.516 43.344 49.58l305.766 305.112c8.466 7.558 18.11 11.444 28.204 11.444 10.726 0 19.914-3.884 27.308-11.444l305.934-304.226c14.78-14.772 29.382-31.368 43.166-49.378 14.058-18.212 26.314-37.222 37.042-57.23 10.9-19.924 19.192-40.638 25.406-62 6.218-21.188 9.198-42.61 9.198-64.618 0-37.312-5.592-71.268-16.582-101.812-11.262-30.366-27.216-56.234-48.396-77.328-20.906-21.070-46.492-37.316-76.682-48.938-30.106-11.712-63.988-17.392-101.476-17.392v0z",facehappy:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm248 493.7c15.2 0 28.7 7.5 37 19l2.6 3.9a46 46 0 015.8 18l.3 4.9c0 6.6-1.4 13-4 18.7l-2.1 4.1A329 329 0 01232 663l-5.5-9.3a46 46 0 01-2-41.2l2-4.2v-.2a45.6 45.6 0 0176.7-4l2.5 4a237.9 237.9 0 00410 7.7l4.5-7.7a46 46 0 0139.7-22.9zM329.7 292.6a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",facesad:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm1.1 449.2a329 329 0 01281.1 157.7l5.5 9.2a46 46 0 012 41.3l-2 4.1v.3a45.6 45.6 0 01-76.7 4l-2.6-4a238 238 0 00-410-7.7l-4.5 7.7a46 46 0 01-76.6 4l-2.6-4a46 46 0 01-5.9-18l-.2-5c0-6.6 1.4-12.9 4-18.6l2.1-4.2a329 329 0 01286.4-166.8zm-183.4-248a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",faceneutral:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm248 521.2a45.7 45.7 0 014.7 91.2l-4.7.2H266.3a45.7 45.7 0 01-4.7-91.2l4.7-.2H760zm-430.3-320a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2zm365.2 0a73.1 73.1 0 110 146.2 73.1 73.1 0 010-146.2z",lock:"M896.032 915.53v-467.498c0-19.102-13.402-35.052-31.31-39.026-0.21-0.046-0.414-0.12-0.628-0.162-0.444-0.090-0.904-0.13-1.354-0.208-2.186-0.37-4.416-0.606-6.708-0.606h-55.902l0.002-55.85h0.020c0-159.14-129.010-288.15-288.15-288.15-159.128 0-288.13 128.992-288.15 288.118v55.884h-54.852c-20.71 0-37.746 15.742-39.792 35.91-0.136 1.344-0.208 2.708-0.208 4.090v463.332c-0.618 2.792-0.968 5.688-0.968 8.668 0 22.094 17.91 40 40 40h688.27c22.092 0 40-17.91 40-40-0.002-1.524-0.104-3.024-0.27-4.502zM209 488.032h607.032v392h-607.032v-392zM303.85 352.182c0-114.776 93.376-208.15 208.15-208.15 114.59 0 207.842 93.074 208.142 207.596 0 0.084-0.012 0.164-0.012 0.248v56.156h-416.284l0.004-55.85zM552.164 691.858l-0.002 58.188c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40v-57.974c-14.704-11.726-24.134-29.782-24.134-50.048 0-35.346 28.654-64 64-64s64 28.654 64 64c0 20.142-9.318 38.104-23.868 49.836z",unlock:"M896.032 915.53v-467.498c0-1.988-0.194-3.926-0.472-5.834-0.11-0.744-0.192-1.498-0.34-2.226-1.524-7.44-5.136-14.1-10.164-19.408-0.252-0.266-0.48-0.554-0.738-0.814-0.496-0.494-1.036-0.944-1.554-1.412-0.43-0.386-0.84-0.8-1.288-1.17-0.292-0.24-0.608-0.446-0.904-0.676-2.506-1.954-5.244-3.616-8.176-4.934-0.744-0.334-1.504-0.632-2.27-0.922-4.39-1.656-9.124-2.604-14.094-2.604h-552.184l0.002-55.85c0-114.776 93.376-208.15 208.15-208.15 86.038 0 160.034 52.474 191.7 127.096 0.012 0.028 0.030 0.044 0.042 0.072 5.978 14.566 20.284 24.832 37.006 24.832 22.090 0 40-17.906 40-40 0-4.71-0.86-9.21-2.354-13.41-0.182-0.694-0.42-1.438-0.782-2.292-43.666-103.582-146.14-176.296-265.612-176.296-159.128 0-288.13 128.994-288.15 288.12v55.882h-54.85c-20.71 0-37.746 15.742-39.792 35.91-0.136 1.344-0.208 2.708-0.208 4.090v463.332c-0.618 2.794-0.968 5.688-0.968 8.668 0 22.094 17.91 40 40 40h688.27c22.092 0 40-17.91 40-40-0.002-1.528-0.104-3.028-0.27-4.506zM209 488.032h607.032v392h-607.032v-392zM552.164 691.86l-0.002 58.186c0.004 22.088-17.906 39.996-39.996 40-22.094 0-40.004-17.908-40-40v-57.976c-14.702-11.726-24.134-29.782-24.134-50.048 0-35.346 28.654-64 64-64s64 28.654 64 64c0 20.142-9.318 38.102-23.868 49.838z",key:"M768.032 320.032c0 35.346-28.654 64-64 64s-64-28.654-64-64 28.654-64 64-64 64 28.654 64 64zM960.032 353.092c0 159.062-128.946 288.010-288.008 288.010-35.306 0-69.124-6.368-100.38-17.996l-27.736 27.738-0.002 54.464c0 0.016 0.002 0.028 0.002 0.040 0 11.046-4.478 21.046-11.716 28.29-6.334 6.332-14.784 10.55-24.196 11.508-1.346 0.136-2.708 0.208-4.090 0.208h-71.748l-0.002 71.96c0 0.012 0.002 0.040 0.002 0.040 0 11.046-4.478 21.046-11.716 28.286-6.334 6.336-14.784 10.554-24.196 11.508-1.346 0.136-2.708 0.208-4.090 0.208h-71.996l-0.002 62.684c0 22.094-17.908 40-40 40-0.022 0-0.042 0-0.062 0-0.022 0-0.042 0-0.064 0h-175.996c-13.76 0-25.888-6.95-33.086-17.524-4.362-6.406-6.916-14.14-6.916-22.476v-112c0-0.664 0.066-1.308 0.1-1.964 0.032-0.618 0.034-1.234 0.092-1.852 0.11-1.148 0.288-2.278 0.492-3.398 0.024-0.128 0.034-0.258 0.058-0.386 1.614-8.378 5.848-15.808 11.808-21.446l325.456-325.458c-11.642-31.274-18.020-65.11-18.020-100.44 0-159.060 128.946-288.006 288.006-288.006 159.060-0.004 288.006 128.942 288.006 288.002zM880.032 353.092c0-114.696-93.312-208.006-208.008-208.006s-208.006 93.31-208.006 208.006c0 43.208 13.246 83.376 35.884 116.668l-57.36 57.362c-0.136-0.184-0.27-0.368-0.408-0.546l-298.102 298.106-0.002 55.356h96.124v-62.684c0-0.708 0.070-1.394 0.106-2.094 0.036-0.664 0.036-1.336 0.102-1.992 0.132-1.316 0.334-2.61 0.592-3.882 0.006-0.028 0.008-0.058 0.014-0.090 0.258-1.262 0.58-2.5 0.956-3.714 0.012-0.040 0.018-0.078 0.030-0.118 4.676-15.032 17.976-26.262 34.114-27.902 1.344-0.136 2.708-0.208 4.090-0.208h71.998v-67.64c-0.156-1.434-0.248-2.882-0.248-4.36 0-22.094 17.908-40 40-40h71.998v-30.692c0-0.148 0.020-0.29 0.022-0.438 0.008-10.226 3.912-20.45 11.714-28.254l55.99-55.988c1.982-1.984 4.124-3.71 6.38-5.188l18.68-18.684c33.030 22.090 72.702 34.992 115.332 34.992 114.694-0 208.008-93.314 208.008-208.010z",arrowleftalt:"M107.854 539.924l282.834 283.272c15.594 15.65 40.92 15.692 56.568 0.1 15.648-15.594 15.694-40.92 0.1-56.568l-214.838-215.040h655.412c22.092 0 40-17.908 40-40s-17.908-40-40-40h-655l214.75-214.61c15.64-15.602 15.672-40.928 0.070-56.568-7.814-7.834-18.066-11.752-28.32-11.75-10.22 0-20.442 3.892-28.25 11.68l-283.242 282.93c-15.634 15.594-15.672 40.91-0.084 56.554z",arrowrightalt:"M916.266 483.792l-282.834-283.272c-15.594-15.65-40.92-15.692-56.568-0.1-15.648 15.594-15.694 40.92-0.1 56.568l214.838 215.040h-655.412c-22.092 0-40 17.908-40 40s17.908 40 40 40h655l-214.748 214.61c-15.64 15.602-15.672 40.928-0.070 56.568 7.814 7.834 18.066 11.752 28.32 11.75 10.22 0 20.442-3.892 28.25-11.68l283.242-282.93c15.632-15.596 15.67-40.91 0.082-56.554z",sync:"M135.6 442.5a41 41 0 0130 12l94.9 94.6c16 16 16 42 0 58s-42.1 16-58.2 0l-30.1-30a341.9 341.9 0 0095 178.6c65.3 65 152 101 244.3 101 92.3 0 179-36 244.3-101a345 345 0 0066.8-93.6 41.1 41.1 0 0174.3 35v.2l-.1.2-5.2 10.3a427.8 427.8 0 01-380 230.9A427.5 427.5 0 0190.1 585.8l-20 20c-16 16-42 16-58.2 0a41 41 0 010-58l93.6-93.3a41 41 0 0130-12zm376-357.2c208.9 0 382.8 149.5 420.1 347.1l22-22c16.1-16 42.2-16 58.2 0s16 42 0 58l-93.5 93.4a41 41 0 01-30 12 41 41 0 01-30-12L763.5 467a41 41 0 010-58c16-16 42.1-16 58.2 0l26.8 26.8a342 342 0 00-92.7-167.6c-65.3-65-152-101-244.3-101-92.3 0-179 36-244.2 101a345.2 345.2 0 00-66.9 93.6 41.1 41.1 0 01-74.3-35v-.2l.2-.2c.7-1.7.2-.8 5.1-10.3A427.8 427.8 0 01511.5 85.3z",reply:"M679.496 431.738c-0.414-0.062-0.834-0.102-1.266-0.102h-477.482l171.506-171.504c15.622-15.622 15.622-40.95-0.002-56.57-15.62-15.624-40.948-15.624-56.568 0l-239.734 239.732c-0.958 0.956-1.868 1.958-2.724 3.006-0.328 0.402-1.884 2.482-2.324 3.138-0.36 0.54-1.696 2.77-2.008 3.352-0.308 0.58-1.424 2.936-1.676 3.544-0.036 0.086-0.468 1.268-0.648 1.774-0.23 0.636-0.474 1.266-0.672 1.918-0.186 0.612-0.818 3.13-0.95 3.788-0.148 0.748-0.522 3.318-0.574 3.862-0.262 2.642-0.262 5.3 0 7.942 0.044 0.448 0.412 3.032 0.58 3.874 0.112 0.556 0.74 3.088 0.958 3.808 0.158 0.524 1.036 2.992 1.328 3.7 0.192 0.458 1.298 2.828 1.688 3.552 0.208 0.386 0.446 0.75 0.666 1.126 0.436 0.752 1.844 2.888 2.084 3.224 0.52 0.724 4.262 5.074 4.29 5.098l239.718 239.72c15.62 15.618 40.948 15.618 56.57 0 15.62-15.624 15.622-40.948 0-56.57l-171.516-171.514h471.296c114.52 0.084 207.688 93.124 207.988 207.594 0 0.084-0.012 0.164-0.012 0.248v95.876c-0.004 22.094 17.906 40.002 40 40 22.090-0.002 40-17.91 39.996-39.998l0.004-95.57h0.020c0-156.594-124.914-284.012-280.536-288.048z",undo:"M230 301h480a240 240 0 1 1 0 481H235c-23 0-42-20-42-43 0-24 19-43 42-43h475a155 155 0 0 0 0-310H228l3 3 65 65a45 45 0 0 1-65 64L90 376a45 45 0 0 1 0-64l142-142a45 45 0 1 1 64 65l-63 62-3 4z",transfer:"M916.25 348.726l-125 124.688c-7.808 7.79-18.032 11.68-28.25 11.68-10.254 0.002-20.506-3.918-28.32-11.75-15.602-15.64-15.57-40.966 0.070-56.568l56.508-56.368h-655.258c-22.092 0-40-17.908-40-40s17.908-40 40-40h655.672l-57.006-57.206c-15.594-15.646-15.548-40.972 0.1-56.566s40.972-15.55 56.568 0.098l125 125.438c15.588 15.644 15.548 40.958-0.084 56.554zM107.666 731.892l125 125.438c15.596 15.648 40.92 15.692 56.568 0.098s15.694-40.92 0.1-56.566l-57.006-57.206h655.672c22.092 0 40-17.908 40-40s-17.908-40-40-40h-655.258l56.508-56.368c15.64-15.602 15.672-40.928 0.070-56.568-7.814-7.832-18.066-11.752-28.32-11.75-10.218 0-20.442 3.89-28.25 11.68l-125 124.688c-15.632 15.596-15.672 40.91-0.084 56.554z",redirect:"M913.852 702.796c-15.594-15.648-40.922-15.694-56.57-0.1l-57.204 57.006v-451.424c0-0.372-0.028-0.736-0.074-1.098-0.458-99.016-80.86-179.15-179.988-179.15-99.412 0-180 80.592-180 180 0 0.084 0.004 0.166 0.004 0.248h-0.004v343.504h-0.006c0 0.082 0.006 0.164 0.006 0.248 0 55.14-44.86 100-100 100s-100-44.86-100-100c0-0.084 0.006-0.166 0.006-0.248h-0.002v-483.752c0-22.092-17.91-40-40-40s-40.004 17.908-40.004 40v483.752c0 0.018 0.002 0.036 0.002 0.054 0 0.064-0.002 0.128-0.002 0.194 0 99.408 80.59 180 180 180 99.412 0 180-80.592 180-180 0-0.084-0.004-0.166-0.004-0.248h0.004v-343.504h0.008c0-0.082-0.008-0.164-0.008-0.248 0-55.138 44.86-100 100-100s100 44.862 100 100c0 0.084-0.008 0.166-0.008 0.248h0.070v451.008l-56.368-56.506c-15.602-15.642-40.93-15.67-56.566-0.070-7.836 7.814-11.754 18.066-11.754 28.32 0 10.218 3.894 20.442 11.68 28.252l124.692 125c15.594 15.632 40.91 15.67 56.554 0.084l125.434-125c15.652-15.598 15.692-40.92 0.102-56.57z",expand:"M84.5 981l184.3.3a41.9 41.9 0 10.2-83.7l-83.5-.2 246.9-246.9a41.9 41.9 0 00-59.3-59.2L126.6 837.9v-82.7A41.9 41.9 0 0043 755l-.2 184a41.9 41.9 0 0041.8 42M43 84.4l-.3 184.3a41.9 41.9 0 1083.8.2l.1-83.5 246.9 246.9a41.9 41.9 0 0059.2-59.2L186.3 126.6h82.6A41.9 41.9 0 00269 43l-184-.2a41.9 41.9 0 00-41.9 41.8M939.5 43l-184.3-.3a41.9 41.9 0 10-.2 83.8l83.5.1-246.9 246.9a41.9 41.9 0 0059.3 59.2l246.5-246.5v82.6a41.9 41.9 0 0083.7.1l.2-184c0-23-18.7-41.9-41.8-41.9M981 939.4l.3-184.3a41.9 41.9 0 10-83.8-.1l-.1 83.4-246.9-246.9a41.9 41.9 0 10-59.2 59.3l246.5 246.5h-82.6a41.9 41.9 0 00-.1 83.7l184 .3a41.9 41.9 0 0041.9-41.9",expandalt:"M479.7 13.4L205.4 287.6a45.7 45.7 0 1064.7 64.7l242-242 241.8 241.9a45.7 45.7 0 1064.7-64.7L544.4 13.4a45.6 45.6 0 00-64.7 0M512 1024a45.6 45.6 0 01-32.3-13.4L205.4 736.5a45.7 45.7 0 1164.7-64.7l241.8 241.8 242-241.9a45.7 45.7 0 1164.7 64.7l-274.3 274.2c-9 9-20.7 13.4-32.4 13.4",collapse:"M479.7 411L205.4 136.6a45.7 45.7 0 1164.7-64.6L512 314 753.9 72.2a45.7 45.7 0 1164.7 64.6L544.4 411a45.6 45.6 0 01-64.7 0M512 598.3a45.6 45.6 0 00-32.3 13.4L205.4 885.8a45.7 45.7 0 1064.7 64.7l241.8-241.8 242 242a45.7 45.7 0 1064.7-64.7L544.3 611.7c-9-8.9-20.7-13.4-32.4-13.4",grow:"M541.146 448.384c-1.694-0.216-3.408-0.37-5.162-0.37h-367.968c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v368.032c0 22.094 17.91 40 40 40h367.968c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-368.036c0-20.34-15.192-37.094-34.838-39.632zM208.016 816.046v-288.032h287.968v288.032h-287.968zM736.032 856.046c0 22.090-17.908 40-40 40-22.090 0-40-17.908-40-40v-487.902l-488.016 0.002c-22.090 0-40-17.91-40-40s17.908-40.002 40-40.002h528.016c1.754 0 3.468 0.152 5.162 0.37 19.646 2.538 34.838 19.292 34.838 39.63v527.902zM896.032 168.030v688.004c-0.002 22.088-17.91 39.996-40 39.996s-40.002-17.908-40.002-40c0 0 0.002-304.026 0.002-304.040v-343.96h-343.96c-0.014 0-304.040 0.002-304.040 0.002-22.090 0-40-17.91-40-40s17.908-40.002 40-40.002h688c1.754 0 3.468 0.152 5.162 0.37 19.646 2.536 34.838 19.29 34.838 39.63z",arrowleft:"M257.93 511.976c0-10.236 3.902-20.47 11.71-28.282l344.098-344.158c15.622-15.624 40.946-15.624 56.57-0.006 15.622 15.622 15.624 40.948 0.004 56.568l-315.82 315.876 315.868 315.922c15.618 15.624 15.618 40.952-0.004 56.568-15.622 15.62-40.95 15.618-56.57-0.006l-344.146-344.202c-7.808-7.81-11.71-18.044-11.71-28.28z",arrowup:"M512.024 256c10.236 0 20.47 3.904 28.282 11.712l344.154 344.098c15.624 15.62 15.624 40.946 0.006 56.57-15.622 15.622-40.948 15.624-56.568 0.004l-315.876-315.82-315.922 315.868c-15.624 15.618-40.952 15.618-56.568-0.004-15.62-15.624-15.618-40.95 0.006-56.57l344.204-344.144c7.81-7.81 18.046-11.714 28.282-11.714z",arrowdown:"M511.976 768.002c-10.236 0-20.47-3.904-28.282-11.712l-344.154-344.098c-15.624-15.62-15.624-40.946-0.006-56.57 15.622-15.622 40.948-15.624 56.568-0.004l315.876 315.82 315.922-315.868c15.624-15.618 40.952-15.616 56.568 0.004 15.62 15.624 15.618 40.95-0.006 56.57l-344.204 344.144c-7.81 7.81-18.046 11.714-28.282 11.714z",arrowright:"M768.072 514.022c0 10.236-3.904 20.47-11.712 28.282l-344.098 344.156c-15.62 15.624-40.946 15.624-56.568 0.006-15.622-15.622-15.624-40.948-0.006-56.568l315.82-315.876-315.868-315.922c-15.618-15.624-15.618-40.952 0.004-56.568 15.624-15.62 40.95-15.618 56.57 0.006l344.144 344.204c7.81 7.81 11.714 18.044 11.714 28.28z",chevrondown:"M511.976 833c-10.236 0-20.47-3.904-28.282-11.712l-471.934-471.874c-15.624-15.62-15.624-40.946-0.006-56.57 15.622-15.622 40.948-15.624 56.568-0.004l443.652 443.598 443.61-443.556c15.624-15.618 40.952-15.616 56.568 0.004 15.62 15.624 15.618 40.95-0.006 56.57l-471.89 471.832c-7.808 7.808-18.044 11.712-28.28 11.712z",back:"M512 932.6c-112.3 0-218-43.8-297.4-123.2A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4A417.8 417.8 0 01512 932.6zm0 91.4A512 512 0 10512 0a512 512 0 000 1024zM232.7 542.5l142.8 143.3a45.7 45.7 0 0064.8-64.5L375 555.9h383.7a45.7 45.7 0 000-91.4H375.6l64.6-64.4a45.7 45.7 0 10-64.6-64.8L232.8 477.8a45.7 45.7 0 00-.1 64.6z",download:"M543.8 791.3a45.7 45.7 0 01-64.6 0l-142.5-143a45.6 45.6 0 010-64.6 45.7 45.7 0 0164.7 0l64.5 64.7V265.2a45.7 45.7 0 1191.4 0v383.6l65.4-65.1a45.7 45.7 0 1164.5 64.8L543.8 791.3zM1024 512A512 512 0 110 512a512 512 0 011024 0zm-91.4 0c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512z",upload:"M480.2 232.7a45.7 45.7 0 0164.6 0l142.5 143a45.6 45.6 0 010 64.6 45.7 45.7 0 01-64.7 0L558 375.5v383.2a45.7 45.7 0 11-91.4 0V375.2l-65.4 65.1a45.7 45.7 0 11-64.5-64.8l143.4-142.8zM0 512a512 512 0 111024 0A512 512 0 010 512zm91.4 0c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512z",proceed:"M791.3 480.2L648.5 336.8a45.7 45.7 0 10-64.8 64.5l65.1 65.4H265.2a45.7 45.7 0 100 91.4h383.2l-64.6 64.5a45.7 45.7 0 0064.6 64.7l142.8-142.5a45.7 45.7 0 00.1-64.6M512 0a512 512 0 100 1024A512 512 0 00512 0m0 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4A417.8 417.8 0 01512 932.6c-112.3 0-218-43.8-297.4-123.2A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4",info:"M874.04 149.96c199.95 199.95 199.95 524.14 0 724.08-199.95 199.95-524.13 199.95-724.08 0-199.95-199.95-199.95-524.13 0-724.08 199.95-199.95 524.13-199.95 724.08 0zM512 91.43c-112.34 0-217.95 43.75-297.39 123.18-79.43 79.44-123.18 185.05-123.18 297.4 0 112.33 43.75 217.94 123.18 297.38 79.44 79.43 185.05 123.18 297.4 123.18 112.33 0 217.94-43.75 297.38-123.18C888.82 729.95 932.57 624.34 932.57 512c0-112.34-43.75-217.95-123.18-297.39C729.95 135.18 624.34 91.43 512 91.43zm1.14 318.96a45.73 45.73 0 00-45.11 38.3l-.6 7.42v274.28a45.71 45.71 0 0090.83 7.42l.6-7.42V456.11a45.72 45.72 0 00-45.72-45.72zm0-162.25a45.72 45.72 0 100 91.44 45.72 45.72 0 000-91.44z",question:"M874.04 149.96c199.95 199.95 199.95 524.13 0 724.08-199.95 199.95-524.13 199.95-724.08 0-199.95-199.95-199.95-524.13 0-724.08 199.95-199.95 524.13-199.95 724.08 0zM512 91.43c-112.34 0-217.95 43.75-297.39 123.18-79.43 79.44-123.18 185.05-123.18 297.4 0 112.33 43.75 217.95 123.18 297.38 79.44 79.43 185.05 123.18 297.4 123.18 112.33 0 217.94-43.75 297.38-123.18C888.82 729.96 932.57 624.34 932.57 512c0-112.34-43.75-217.95-123.18-297.39C729.95 135.18 624.34 91.43 512 91.43zm1.14 640.9a45.72 45.72 0 100 91.43 45.72 45.72 0 000-91.44zm-1.14-549c-111.3 0-201.52 90.22-201.52 201.52a45.71 45.71 0 0090.84 7.41l.6-7.47c.03-60.68 49.4-110.03 110.08-110.03 60.7 0 110.1 49.38 110.1 110.09 0 60.7-49.4 110.09-110.1 110.09v.17a45.68 45.68 0 00-44.57 45.65v100.58a45.7 45.7 0 1091.42 0v-60.46c88.7-21.12 154.67-100.87 154.67-196.03 0-111.3-90.22-201.52-201.52-201.52z",support:"M512 932.57c-87.57 0-171.05-26.59-241.23-75.93l106-106a273.98 273.98 0 00135.26 35.62c46.7 0 93.41-11.88 135.22-35.6l105.98 105.98c-70.19 49.34-153.66 75.93-241.23 75.93m-344.64-661.8l105.97 105.98c-47.44 83.63-47.43 186.86.02 270.49L167.36 753.22C118.02 683.04 91.43 599.56 91.43 512c0-87.57 26.59-171.05 75.93-241.23m585.87-103.41L647.29 273.3a273.95 273.95 0 00-135.26-35.61c-46.74 0-93.47 11.9-135.3 35.63L270.77 167.36C340.96 118.02 424.43 91.43 512 91.43s171.05 26.59 241.23 75.93m-370.5 473.91c-71.3-71.3-71.3-187.3 0-258.6a181.7 181.7 0 01129.3-53.55h.02c48.83 0 94.74 19.02 129.28 53.56 71.29 71.29 71.29 187.3 0 258.6a181.66 181.66 0 01-129.3 53.55 181.67 181.67 0 01-129.3-53.56m473.91 111.95L750.68 647.27c47.48-83.65 47.48-186.91.02-270.56l105.94-105.94c49.34 70.18 75.93 153.66 75.93 241.23s-26.59 171.04-75.93 241.22m17.4-603.26c-199.95-199.95-524.13-199.95-724.08 0-199.95 199.95-199.95 524.13 0 724.08 199.95 199.95 524.13 199.95 724.08 0 199.95-199.95 199.95-524.13 0-724.08",alert:"M511.998 623.846c-22.090 0-40-17.906-40-40v-208c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v208c0 22.094-17.914 40-40.004 40v0zM511.998 743.846c22.090 0 40.004-17.906 40.004-40v0c0-22.090-17.914-40-40.004-40v0c-22.090 0-40 17.91-40 40v0c0 22.094 17.91 40 40 40v0zM512.142 211.808l-340.074 589.028h680.148l-340.074-589.028zM512.142 92.51c14.5 0 29 9.526 40 28.58l398.638 690.462c22 38.106 4 69.282-40 69.282h-797.278c-44 0-62-31.176-40-69.282l398.638-690.462c11.002-19.052 25.502-28.58 40.002-28.58v0z",bell:"M901.344 760.018l-57.644-77.648c-7.906-7.906-11.77-38.284-11.71-48.646h0.042v-200.588h-0.364c-6.878-148.106-114.428-269.902-255.792-298.528 0.208-2.1 0.318-4.228 0.318-6.384 0-35.452-28.738-64.194-64.194-64.194-35.458 0-64.194 28.742-64.194 64.194 0 2.19 0.112 4.352 0.326 6.486-141.128 28.802-248.446 150.488-255.316 298.426h-0.364v200.588h0.042c0.058 10.362-3.804 40.74-11.71 48.646l-57.644 77.648c-8.802 8.802-16.35 18.978-16.35 32.208 0 22.092 17.908 40 40 40h255.876c-0.814 5.412-1.28 10.936-1.28 16.576 0 61.43 49.794 111.23 111.23 111.23 61.432 0 111.228-49.8 111.228-111.23 0-5.638-0.464-11.164-1.282-16.576h255.128c22.092 0 40-17.908 40-40 0.004-13.23-7.542-23.404-16.346-32.208zM272.732 436.848c2.862-61.602 29.032-119.104 73.69-161.91 44.786-42.93 103.628-66.62 165.692-66.706h0.26c62.062 0.086 120.906 23.776 165.692 66.706 44.658 42.806 70.828 100.308 73.69 161.91l0.278 5.962v149.384h-479.58v-149.384l0.278-5.962zM543.846 848.8c0 17.22-14.010 31.23-31.228 31.23-17.22 0-31.23-14.010-31.23-31.23 0-6.096 1.784-11.768 4.82-16.576h52.818c3.038 4.81 4.82 10.482 4.82 16.576zM512.484 752.226h-283.922l14.572-19.63c12.064-14.542 20.078-33.27 24.982-58.158 0.146-0.742 0.276-1.496 0.416-2.244h487.42c0.138 0.748 0.268 1.5 0.414 2.244 4.904 24.888 12.918 43.616 24.982 58.158l14.572 19.63h-283.436z",rss:"M256.094 865.048c0 53.020-42.972 96-96 96-53.020 0-96-42.98-96-96 0-53.016 42.98-96 96-96s96 42.984 96 96zM510.020 918.352c-0.018-0.172-0.042-0.344-0.050-0.52-0.054-0.676-0.124-1.34-0.214-2.004-10.582-105.644-57.866-200.46-128.894-271.536v0c-71.074-71.054-165.906-118.352-271.564-128.934-0.664-0.090-1.33-0.16-2.006-0.214-0.174-0.016-0.348-0.040-0.52-0.054-0.254-0.024-0.5-0.024-0.742-0.008-0.64-0.032-1.278-0.098-1.922-0.098-22.098 0-40 17.908-40 40 0 20.582 15.542 37.516 35.536 39.738 0.042 0.004 0.066 0.036 0.106 0.040 84.82 8.098 163.514 45.024 224.542 106.042v0c61.036 61.036 97.964 139.738 106.070 224.574 0.004 0.040 0.036 0.070 0.042 0.106 2.222 19.988 19.156 35.536 39.736 35.536 22.092 0 40-17.902 40-40 0-0.644-0.066-1.282-0.098-1.922 0-0.246 0-0.492-0.022-0.746zM734.688 918.45c-0.004-0.090-0.018-0.186-0.024-0.276-0.040-0.544-0.058-1.102-0.124-1.638-10.972-167.816-83.558-318.804-195.33-430.616h0.002c-111.812-111.788-262.81-184.384-430.644-195.36-0.542-0.060-1.094-0.084-1.642-0.122-0.092-0.008-0.182-0.016-0.272-0.022-0.020-0.002-0.042 0.004-0.054 0.004-0.836-0.052-1.664-0.124-2.512-0.124-22.092 0-40 17.908-40 40 0 21.036 16.246 38.24 36.874 39.842 0.046 0.008 0.078 0.038 0.128 0.042 66.876 4.086 131.786 19.292 193.406 45.358 70.472 29.81 133.78 72.494 188.166 126.874v0c54.394 54.396 97.090 117.71 126.902 188.204 26.064 61.624 41.274 126.532 45.362 193.408 0.004 0.052 0.036 0.080 0.042 0.13 1.604 20.624 18.802 36.87 39.844 36.87 22.090 0 40-17.904 40-40 0-0.85-0.074-1.678-0.126-2.514-0.002-0.024 0.006-0.040 0.002-0.060zM959.126 920.556c-0.002-0.094 0.008-0.164 0.004-0.262-10.342-231.204-108.314-439.604-261.486-592.796v-0.002c-153.2-153.19-361.61-251.174-592.828-261.518-0.096-0.004-0.168 0.006-0.262 0.004-0.176-0.004-0.348-0.030-0.524-0.030-22.098 0-40 17.91-40 40 0 20.988 16.168 38.164 36.716 39.834 0.184 0.042 0.356 0.086 0.566 0.098 97.040 4.314 191.186 25.538 280.376 63.258 97.14 41.090 184.406 99.928 259.368 174.876v0c74.96 74.964 133.81 162.24 174.908 259.398 37.718 89.19 58.946 183.336 63.26 280.376 0.010 0.208 0.052 0.38 0.096 0.562 1.67 20.552 18.848 36.72 39.834 36.72 22.092 0 40-17.906 40-40-0-0.17-0.024-0.342-0.028-0.518z",edit:"M948.56 263.376c12.704-12.708 15.072-31.836 7.11-46.936-1.84-3.524-4.232-6.832-7.192-9.792-0.286-0.286-0.594-0.528-0.886-0.8l-129.318-128.634c-0.048-0.048-0.088-0.106-0.138-0.154-7.812-7.812-18.050-11.716-28.292-11.714-10.242-0.004-20.484 3.902-28.296 11.714-0.064 0.066-0.12 0.136-0.184 0.204l-636.168 636.168c-5.868 5.134-10.21 11.958-12.298 19.748l-47.606 177.664c-3.7 13.804 0.248 28.534 10.352 38.638 7.602 7.6 17.816 11.714 28.288 11.714 3.452 0 6.93-0.446 10.352-1.364l177.664-47.606c7.296-1.956 13.732-5.904 18.74-11.216l521.486-521.484c1.126-0.904 2.222-1.87 3.268-2.914 1.042-1.044 2.006-2.138 2.91-3.264l107.75-107.748c0.836-0.71 1.668-1.432 2.458-2.224zM806.9 291.66l-73.592-73.202 56.61-56.61 73.594 73.2-56.612 56.612zM281.566 816.996l-73.4-73.4 468.572-468.568 73.594 73.202-468.766 468.766zM160.496 864.628l11.742-43.822 32.080 32.080-43.822 11.742z",paintbrush:"M946.58 293.66c12.704-12.708 15.072-31.836 7.108-46.938-1.838-3.524-4.23-6.83-7.19-9.79-0.282-0.282-0.588-0.52-0.876-0.792l-129.338-128.654c-0.046-0.046-0.084-0.098-0.13-0.144-7.814-7.812-18.056-11.718-28.296-11.714-10.24 0-20.48 3.906-28.292 11.714-0.064 0.066-0.12 0.138-0.184 0.206l-557.048 557.048c-2.194 2.192-4.042 4.59-5.622 7.11-70.624 87.486-17.922 195.43-174.738 239.554 0 0 64.758 18.11 144.33 18.11 74.374 0 161.678-15.824 221.23-77.020 0.394-0.364 0.808-0.696 1.192-1.078l1.734-1.734c0.852-0.798 1.678-1.578 2.504-2.426 0.348-0.356 0.668-0.728 1.010-1.086l168.756-168.756c1.126-0.906 2.224-1.872 3.272-2.918 1.044-1.044 2.008-2.14 2.914-3.266l375.212-375.212c0.834-0.706 1.664-1.424 2.452-2.214zM537.462 589.402l-73.594-73.206 324.068-324.064 73.594 73.2-324.068 324.070zM388.178 667.684c-13.288-13.632-28.584-23.974-44.78-31.016l63.902-63.902 73.596 73.204-64.246 64.248c-6.498-15.23-15.964-29.698-28.472-42.534zM229.848 791.928c8.294-30.346 14.852-54.332 32.416-73.862 0.83-0.864 2.664-2.702 4.26-4.286 8.030-6.792 17.534-8.246 24.198-8.246 14.386 0 29.026 6.554 40.162 17.98 19.592 20.106 21.934 49.238 5.596 66.874l-1.712 1.712c-0.798 0.752-1.612 1.524-2.462 2.354l-0.86 0.84-0.834 0.864c-30.666 31.79-75.914 45.424-118.104 50.542 7.53-18.888 12.598-37.426 17.34-54.772z",close:"M150 150a512 512 0 11724 724 512 512 0 01-724-724zm69.3 64.2A418.5 418.5 0 0095.9 512a418.5 418.5 0 00123.4 297.8A418.5 418.5 0 00517 933.2 418.5 418.5 0 00815 809.8 418.5 418.5 0 00938.4 512 418.5 418.5 0 00815 214.2 418.5 418.5 0 00517 90.8a418.5 418.5 0 00-297.8 123.4zM655 304a46 46 0 0165 65L577 512l143 143a46 46 0 11-65 65L512 577 369 720a46 46 0 11-65-65l143-143-143-143a46 46 0 0165-65l143 143 143-143z",closeAlt:"M586.7 512L936 861.4a52.8 52.8 0 0 1-74.6 74.7L512 586.7 162.6 936A52.8 52.8 0 0 1 88 861.4L437.3 512 88 162.6A52.8 52.8 0 1 1 162.6 88L512 437.3 861.4 88a52.8 52.8 0 1 1 74.7 74.7L586.7 512z",trash:"M919.5 225.208h-215.5v-120.080c0-20.344-15.192-37.096-34.836-39.632-1.696-0.216-3.41-0.372-5.164-0.372h-304.004c-1.754 0-3.468 0.152-5.164 0.372-19.644 2.54-34.836 19.292-34.836 39.628v120.084h-215.996c-22.090 0-40 17.912-40 40.002 0 22.092 17.91 40 40 40h27.216l53.916 615.914h0.214c0 22.092 17.91 40 40 40h573.372c22.094 0 40-17.91 40-40h0.148l53.916-615.914h26.716c22.090 0 40-17.91 40-40s-17.908-40.002-39.998-40.002zM399.996 145.126h224.004v80.082h-224.004v-80.082zM762.062 881.124h-500.124l-50.414-575.912h600.954l-50.416 575.912zM632.004 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40zM311.996 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40zM472 697.124v-240c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 240.002c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.906-40-40z",cross:"M1013.286 955.716l-443.72-443.716 443.718-443.718c15.622-15.622 15.62-40.948-0.004-56.566-15.618-15.622-40.942-15.622-56.562 0l-443.716 443.718-443.72-443.718c-15.62-15.624-40.946-15.622-56.566 0-15.622 15.62-15.622 40.944 0 56.566l443.722 443.718-443.722 443.722c-15.622 15.618-15.62 40.942 0 56.56s40.948 15.622 56.566 0l443.72-443.718 443.722 443.718c15.618 15.624 40.942 15.622 56.56 0 15.62-15.618 15.622-40.944 0.002-56.566z",delete:"M874 150A512 512 0 10150 874 512 512 0 00874 150zm-659.4 64.6A417.8 417.8 0 01512 91.4c97 0 188.9 32.6 263.3 92.6L184 775.3A417.4 417.4 0 0191.4 512c0-112.4 43.7-218 123.2-297.4zm594.8 594.8A417.8 417.8 0 01512 932.6c-97 0-189-32.7-263.3-92.6L840 248.7A417.4 417.4 0 01932.6 512c0 112.3-43.8 218-123.2 297.4z",add:"M512-.2a512 512 0 110 1024 512 512 0 010-1024zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 511.8c0 112.4 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.4c112.3 0 218-43.8 297.4-123.2a417.8 417.8 0 00123.2-297.4c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.2zm1.1 129.2a45.7 45.7 0 0145.7 45.7v201.1H760a45.7 45.7 0 010 91.5H558.8v201.1a45.7 45.7 0 11-91.4 0V558.7H266.3a45.7 45.7 0 110-91.5h201.1V266.1a45.7 45.7 0 0145.7-45.7z",subtract:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm4 94A418 418 0 0094 515a418 418 0 00422 422 418 418 0 00421-422A418 418 0 00516 94zm244 372a46 46 0 010 92H264a46 46 0 110-92z",plus:"M921.002 473h-368.008v-368.004c0.002-22.090-17.906-39.996-39.996-39.996-22.088 0-39.998 17.91-39.998 40v368h-368.002c-22.094 0-40 17.908-39.998 40-0.002 22.090 17.904 39.996 39.996 39.996l368.004-0.002v368.010c0 22.094 17.908 40 40 39.996 22.090 0.004 39.996-17.902 39.996-39.996v-368.010h368.010c22.090 0.002 39.994-17.906 39.994-39.996-0-22.088-17.908-39.998-39.998-39.998z",document:"M764 1c12 0 24 4 32 13l129 132c9 8 13 20 13 31v802c0 24-20 44-45 44H131c-25 0-45-20-45-44V45c0-24 20-44 45-44h633zm-48 89H175v844h674l-1-707h-87c-22 0-40-15-44-36v-8l-1-93zm-16 584a45 45 0 0 1 8 89H324a45 45 0 0 1-8-88l8-1h376zm0-187a45 45 0 0 1 8 89l-8 1H324a45 45 0 0 1-8-89l8-1h376zm0-186a45 45 0 0 1 8 88l-8 1H324a45 45 0 0 1-8-89h384z",folder:"M571 274h327c23 0 41 18 41 41v488c0 22-18 40-41 40H126c-23 0-41-18-41-40V242c0-34 27-61 61-61h317c18 0 35 7 47 21l61 72zm-119-8H170v492h684V359H531l-79-93z",component:"M171 469h298V171H246c-42 0-75 33-75 75v223zm0 86v223c0 42 33 75 75 75h223V555H171zm682-86V246c0-42-33-75-75-75H555v298h298zm0 86H555v298h223c42 0 75-33 75-75V555zM256 85h512c94 0 171 77 171 171v512c0 94-77 171-171 171H256c-94 0-171-77-171-171V256c0-94 77-171 171-171z",calendar:"M920.036 160.030h-112.004v-72c0-22.092-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.004h-432v-72c0-22.092-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.004h-112.004c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c0-22.094-17.908-40-40-40zM356.032 848.026h-212.004v-142.662h212.004v142.662zM356.032 665.364h-212.004v-162.664h212.004v162.664zM356.032 462.7h-212.004v-142.662h212.004v142.662zM628.032 848.026h-232v-142.662h232v142.662zM628.032 665.364h-232v-162.664h232v162.664zM628.032 462.7h-232v-142.662h232v142.662zM880.036 848.026h-212.004v-142.662h212.004v142.662zM880.036 665.364h-212.004v-162.664h212.004v162.664zM880.036 462.7h-212.004v-142.662h212.004v142.662z",graphline:"M820.536 489.23c-15.624 15.618-40.954 15.618-56.57 0l-42.006-42.002-169.898 169.9c-7.822 7.82-18.076 11.722-28.326 11.712-10.248 0.008-20.496-3.894-28.314-11.712l-96.178-96.182-140.67 140.674c-15.624 15.622-40.954 15.618-56.57-0.004-15.624-15.618-15.624-40.946 0-56.566l168.946-168.946c7.812-7.816 18.058-11.72 28.3-11.716 10.238-0.002 20.476 3.904 28.29 11.716l96.204 96.204 168.91-168.91c0.33-0.356 0.626-0.73 0.972-1.076 7.824-7.824 18.084-11.726 28.34-11.712 10.252-0.012 20.508 3.892 28.332 11.714 0.346 0.346 0.64 0.72 0.972 1.074l69.266 69.266c15.62 15.618 15.616 40.942 0 56.566zM880 144h-736v736h736v-736zM920 64c22.092 0 40 17.908 40 40v816c0 22.092-17.908 40-40 40h-816c-22.092 0-40-17.908-40-40v-816c0-22.092 17.908-40 40-40h816z",docchart:"M919.938 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c0-22.094-17.906-40-40-40zM395.934 470.67h232v162.664h-232v-162.664zM355.934 633.334h-212.004v-162.664h212.004v162.664zM395.934 430.67v-142.662h232v142.662h-232zM667.934 470.67h212.004v162.664h-212.004v-162.664zM667.934 430.67v-142.662h212.004v142.662h-212.004zM355.934 288.008v142.662h-212.004v-142.662h212.004zM143.93 673.334h212.004v142.662h-212.004v-142.662zM395.934 673.334h232v142.662h-232v-142.662zM667.934 673.334h212.004v142.662h-212.004v-142.662z",doclist:"M919.938 128h-816.008c-1.38 0-2.746 0.070-4.090 0.208-20.168 2.046-35.91 19.080-35.91 39.792v688c0 22.090 17.91 40 40 40h816.008c22.098 0 40-17.91 40-40v-688c-0-22.094-17.906-40-40-40zM143.93 288.008h736.008v527.988h-736.008v-527.988zM248 400.004c0-22.090 17.91-40 40-40h448c22.094 0 40 17.906 40 40 0 22.090-17.906 40-40 40h-448c-22.090 0-40-17.91-40-40zM776 552.002c0 22.094-17.906 40-40 40h-448c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40h448c22.094 0 40 17.91 40 40zM776 704c0 22.094-17.906 40-40 40h-448c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40h448c22.094 0 40 17.91 40 40z",category:"M925.224 256.37c-1.694-0.216-3.408-0.37-5.162-0.37h-816c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v624c0 22.094 17.91 40 40 40h816c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-624.004c0-20.342-15.19-37.096-34.838-39.632zM144.062 880v-544h736v544h-736zM896.11 180c0 11.044-8.954 20-20 20h-728.032c-11.046 0-20-8.956-20-20v0c0-11.046 8.954-20 20-20h728.032c11.046 0 20 8.954 20 20v0zM832.094 84c0 11.044-8.954 20-20 20h-600c-11.046 0-20-8.956-20-20v0c0-11.046 8.954-20 20-20h600c11.046 0 20 8.954 20 20v0z",grid:"M437.162 552.368c-1.694-0.216-3.408-0.37-5.162-0.37h-263.978c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v264.040c0 22.094 17.91 40 40 40h263.978c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-264.044c0-20.34-15.19-37.094-34.838-39.632zM208.022 816.038v-184.040h183.978v184.040h-183.978zM437.162 128.4c-1.694-0.216-3.408-0.37-5.162-0.37h-263.978c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v263.968c0 22.094 17.91 40 40 40h263.978c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-263.972c0-20.342-15.19-37.096-34.838-39.632zM208.022 392v-183.968h183.978v183.968h-183.978zM861.212 552.368c-1.694-0.216-3.408-0.37-5.162-0.37h-264.050c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v264.040c0 22.094 17.91 40 40 40h264.048c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-264.044c0.002-20.34-15.19-37.094-34.836-39.632zM632 816.038v-184.040h184.048v184.040h-184.048zM861.212 128.4c-1.694-0.216-3.408-0.37-5.162-0.37h-264.050c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.292-34.838 39.63v263.968c0 22.094 17.91 40 40 40h264.048c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.924 1.2-1.862 1.722-2.838 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-263.972c0.002-20.342-15.19-37.096-34.836-39.632zM632 392v-183.968h184.048v183.968h-184.048z",copy:"M960.132 210.186c0-0.444-0.050-0.874-0.066-1.312-0.024-0.684-0.044-1.366-0.104-2.046-0.060-0.74-0.158-1.468-0.26-2.198-0.080-0.564-0.156-1.128-0.258-1.692-0.146-0.792-0.328-1.566-0.518-2.34-0.124-0.508-0.244-1.014-0.39-1.518-0.224-0.784-0.488-1.548-0.76-2.312-0.176-0.49-0.344-0.98-0.538-1.466-0.302-0.754-0.642-1.486-0.988-2.216-0.224-0.472-0.436-0.946-0.68-1.41-0.398-0.762-0.838-1.496-1.284-2.228-0.242-0.396-0.466-0.798-0.722-1.19-0.608-0.924-1.262-1.81-1.942-2.678-0.132-0.168-0.248-0.346-0.382-0.512-0.98-1.212-2.028-2.364-3.14-3.454l-104.020-104.9c-3.714-3.714-7.988-6.518-12.542-8.464-0.088-0.040-0.174-0.084-0.262-0.122-0.994-0.418-2.006-0.774-3.024-1.108-0.242-0.080-0.474-0.176-0.72-0.252-0.942-0.288-1.894-0.516-2.854-0.732-0.334-0.076-0.658-0.176-0.996-0.244-0.998-0.2-2.004-0.336-3.010-0.458-0.306-0.038-0.606-0.1-0.912-0.13-1.322-0.13-2.65-0.204-3.976-0.204h-391.784c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v145.516h-279.874c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v628.28c0 22.094 17.91 40 40 40h496.118c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 2.084-3.466 2.128-3.548 2.992-5.612 4.704-12.010 4.704-18.808 0 0 0 0 0-0.004v-145.518h279.874c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 2.084-3.466 2.128-3.548 2.992-5.612 4.704-12.010 4.704-18.808 0 0 0 0 0-0.004v-521.828c0.008-0.23-0.016-0.458-0.014-0.688 0.002-0.202 0.028-0.39 0.028-0.584zM144.124 878.792v-548.278h311.752v65.186c0 22.090 17.91 40 40 40h64.366v443.092h-416.118zM640.244 693.278v-296.31c0.006-0.23-0.018-0.458-0.014-0.688 0.004-0.196 0.030-0.382 0.030-0.578 0-0.444-0.052-0.874-0.066-1.312-0.024-0.684-0.044-1.366-0.104-2.046-0.062-0.74-0.16-1.468-0.262-2.198-0.078-0.564-0.152-1.128-0.258-1.692-0.144-0.792-0.324-1.566-0.516-2.34-0.124-0.508-0.246-1.014-0.39-1.518-0.226-0.784-0.488-1.548-0.76-2.312-0.174-0.49-0.342-0.98-0.538-1.466-0.302-0.754-0.64-1.486-0.988-2.216-0.222-0.472-0.438-0.946-0.68-1.41-0.398-0.762-0.838-1.496-1.284-2.228-0.242-0.396-0.466-0.798-0.724-1.19-0.606-0.924-1.262-1.81-1.942-2.678-0.13-0.168-0.246-0.346-0.382-0.512-0.978-1.212-2.028-2.364-3.138-3.454l-104.020-104.9c-3.714-3.714-7.988-6.518-12.542-8.464-0.088-0.040-0.172-0.084-0.262-0.122-0.994-0.418-2.004-0.774-3.024-1.108-0.242-0.080-0.476-0.176-0.72-0.252-0.942-0.288-1.896-0.516-2.854-0.732-0.334-0.076-0.658-0.176-0.996-0.244-0.998-0.2-2.004-0.336-3.012-0.458-0.304-0.038-0.602-0.1-0.91-0.13-1.322-0.13-2.648-0.204-3.976-0.204h-31.916v-105.516h311.752v65.186c0 22.090 17.91 40 40 40h64.366v443.092h-239.87z",certificate:"M832.032 384.032c0-176.728-143.266-320-320-320s-320 143.272-320 320c0 104.662 50.25 197.584 127.938 255.966v311.5c0 16.174 9.74 30.756 24.682 36.952 4.954 2.052 10.152 3.050 15.31 3.050 10.402 0 20.626-4.060 28.276-11.702l123.726-123.58 123.772 123.332c11.452 11.412 28.644 14.804 43.574 8.608 14.93-6.2 24.66-20.776 24.66-36.942v-311.124c77.756-58.376 128.062-151.342 128.062-256.060zM272.032 384.032c0-64.106 24.964-124.374 70.292-169.706 45.33-45.33 105.6-70.294 169.708-70.294s124.376 24.964 169.708 70.294c45.33 45.332 70.292 105.6 70.292 169.706s-24.964 124.376-70.292 169.704c-45.33 45.33-105.6 70.294-169.708 70.294s-124.376-24.964-169.708-70.294c-45.328-45.328-70.292-105.598-70.292-169.704zM623.968 854.89l-83.804-83.508c-15.622-15.564-40.898-15.552-56.502 0.034l-83.694 83.594v-171.17c34.878 13.042 72.632 20.192 112.062 20.192 39.382 0 77.094-7.13 111.938-20.142v171z",print:"M925.922 304.496c-1.698-0.218-3.41-0.37-5.166-0.37h-88.64v-93.548c0.006-0.21-0.016-0.422-0.014-0.634 0.004-0.212 0.036-0.416 0.036-0.63 0-0.478-0.054-0.942-0.074-1.416-0.024-0.636-0.042-1.27-0.094-1.906-0.066-0.776-0.168-1.54-0.276-2.302-0.074-0.534-0.146-1.066-0.242-1.596-0.15-0.82-0.338-1.624-0.538-2.424-0.12-0.48-0.23-0.958-0.37-1.436-0.234-0.812-0.506-1.608-0.792-2.398-0.164-0.462-0.322-0.924-0.504-1.38-0.318-0.788-0.668-1.552-1.036-2.316-0.208-0.436-0.406-0.88-0.628-1.312-0.424-0.802-0.88-1.574-1.352-2.344-0.218-0.358-0.422-0.724-0.656-1.078-0.636-0.972-1.324-1.91-2.042-2.82-0.098-0.124-0.182-0.252-0.282-0.376-0.988-1.224-2.048-2.388-3.172-3.488l-104.004-104.882c-3.696-3.696-7.948-6.486-12.466-8.432-0.122-0.050-0.224-0.11-0.344-0.16-0.974-0.41-1.966-0.756-2.962-1.084-0.262-0.086-0.512-0.19-0.78-0.272-0.926-0.284-1.87-0.506-2.812-0.722-0.346-0.080-0.684-0.182-1.034-0.252-0.988-0.198-1.988-0.334-2.988-0.456-0.31-0.040-0.618-0.102-0.93-0.134-1.324-0.132-2.652-0.204-3.978-0.204h-455.67c-1.754 0-3.468 0.152-5.162 0.37-19.646 2.538-34.838 19.29-34.838 39.63v200h-87.356c-1.754 0-3.468 0.152-5.164 0.37-19.644 2.538-34.836 19.29-34.836 39.63v320c0 22.094 17.91 40 40 40h87.368v216c0 22.094 17.91 40 40 40h560.006c13.81 0 25.982-6.996 33.17-17.636 0.102-0.146 0.184-0.306 0.282-0.458 0.612-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.080-0.17 0.124-0.254 2.994-5.612 4.704-12.008 4.704-18.808 0 0 0 0 0-0.004v-216h88.624c13.808 0 25.982-6.996 33.168-17.636 0.104-0.148 0.186-0.308 0.286-0.458 0.612-0.922 1.198-1.862 1.72-2.836 0.046-0.082 0.082-0.172 0.124-0.256 2.994-5.61 4.702-12.008 4.702-18.806 0 0 0 0 0-0.004v-320c0-20.344-15.186-37.096-34.834-39.636zM272.116 144.128h375.634v65.186c0 1.38 0.070 2.746 0.208 4.090 2.048 20.168 19.080 35.91 39.792 35.91h64.366v54.812h-480v-159.998zM272.124 880.126v-327.998h480.006v327.998zM880.756 384.128v239.998h-48.624v-111.998c0-20.34-15.19-37.092-34.836-39.63-1.694-0.218-565.17-0.372-565.17-0.372-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v112h-47.368v-239.998zM664.124 608.126c22.092 0 40 17.908 40 40s-17.908 40-40 40h-304c-22.092 0-40-17.908-40-40s17.908-40 40-40h304zM704.124 784.126c0 22.092-17.908 40-40 40h-304c-22.092 0-40-17.908-40-40s17.908-40 40-40h304c22.092 0 40 17.908 40 40z",listunordered:"M961 233c0 22.090-17.908 40-40 40h-607.996c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h607.996c22.092 0 40 17.912 40 40.002v0zM961 793c0-22.090-17.908-40.002-40-40.002h-607.996c-22.092 0-40 17.912-40 40.002v0c0 22.092 17.91 40 40 40h607.996c22.092 0 40-17.91 40-40v0zM961 606.332c0-22.090-17.908-40-40-40h-607.996c-22.092 0-40 17.91-40 40v0c0 22.094 17.91 40 40 40h607.996c22.092 0 40-17.91 40-40v0zM961 419.668c0-22.090-17.908-40.004-40-40.004h-607.996c-22.092 0-40 17.914-40 40.004v0c0 22.090 17.91 40 40 40h607.996c22.092-0 40-17.91 40-40v0zM129 168.998c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zM129 728.998c-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64-28.654-64-64-64zM129 542.332c-35.346 0-64 28.652-64 64 0 35.344 28.654 64 64 64s64-28.656 64-64c0-35.348-28.654-64-64-64zM129 355.664c-35.346 0-64 28.656-64 64 0 35.348 28.654 64 64 64s64-28.652 64-64c0-35.344-28.654-64-64-64z",graphbar:"M324.832 513c22.090 0 40 17.91 40 40v304c0 22.090-17.906 40-40 40v0c-22.090 0-40-17.906-40-40v-304c0-22.090 17.91-40 40-40v0zM884.832 128.998c-22.090 0-40 17.906-40 40v688.002c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-688.002c0-22.094-17.91-40-40-40v0zM698.164 256.998c-22.090 0-40 17.91-40 40v560.002c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-560.002c0-22.090-17.91-40-40-40v0zM511.5 384.998c-22.090 0-40.004 17.91-40.004 40v432.002c0 22.094 17.914 40 40.004 40v0c22.090 0 40-17.91 40-40v-432.002c0-22.090-17.91-40-40-40v0zM139.168 641c-22.090 0-40 17.91-40 40v176c0 22.094 17.91 40 40 40v0c22.094 0 40-17.91 40-40v-176c0-22.090-17.91-40-40-40v0z",menu:"M960 232c0 22.092-17.908 40-40.002 40h-815.996c-22.092 0-40-17.908-40-40v0c0-22.090 17.908-40 40-40h815.998c22.092 0 40 17.91 40 40v0zM768 416c0 22.090-17.908 40-40 40h-624c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h624c22.092 0.002 40 17.914 40 40.002v0zM832 608c0 22.092-17.906 40.002-40 40.002h-688c-22.090 0-40-17.91-40-40.002v0c0-22.090 17.908-40 40-40h688c22.094 0 40 17.912 40 40v0zM576 792c0 22.094-17.91 40-40.002 40h-431.998c-22.090 0-40-17.906-40-40v0c0-22.094 17.908-40.002 40-40.002h432c22.094 0.002 40 17.912 40 40.002v0z",filter:"M962.030 168.032c0 22.092-17.908 40-40.002 40h-815.996c-22.092 0-40-17.908-40-40v0c0-22.090 17.908-40 40-40h815.998c22.092 0 40 17.908 40 40v0zM770 544.034c0 22.090-17.908 40-40 40h-432c-22.090 0-40-17.908-40-40v0c0-22.090 17.908-40.002 40-40.002h432c22.090 0 40 17.912 40 40.002v0zM642.030 728.032c0 22.094-17.91 40-40.002 40h-175.998c-22.090 0-40-17.906-40-40v0c0-22.094 17.908-40.002 40-40.002h176c22.094 0.002 40 17.91 40 40.002v0zM866 352.030c0 22.092-17.906 40.002-40 40.002h-624c-22.090 0-40-17.91-40-40.002v0c0-22.090 17.908-40 40-40h624c22.092 0 40 17.91 40 40v0zM512.030 928.034c22.090 0 40.004-17.906 40.004-40v0c0-22.090-17.914-40-40.004-40v0c-22.090 0-40 17.91-40 40v0c0 22.092 17.91 40 40 40v0z",ellipsis:"M184 393c66.274 0 120 53.73 120 120s-53.726 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120zM512 393c66.272 0 120 53.73 120 120s-53.728 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120zM840 393c66.272 0 120 53.73 120 120s-53.728 120-120 120c-66.286 0-120-53.73-120-120s53.714-120 120-120z",cog:"M512 288a224 224 0 0 0 0 448h2a225 225 0 0 0 52-7 47 47 0 0 0-23-90 130 130 0 0 1-31 3 131 131 0 1 1 127-101v1a47 47 0 1 0 91 19 224 224 0 0 0-218-273zM409 0c-67 14-131 40-186 77v98c0 13-6 25-15 33-8 9-20 15-33 15H77C40 278 14 341 0 409l69 68c9 10 14 22 13 34 1 13-4 25-13 34L0 614c14 68 41 132 78 188h97c13 0 25 6 33 15 9 8 15 20 15 33v97c55 37 119 63 187 77l68-69a46 46 0 0 1 36-13c11 0 23 4 32 13l69 69c68-14 131-40 186-77v-98c0-13 6-25 15-34 8-8 20-14 33-14h98c37-56 63-119 77-186l-69-70c-10-9-14-21-14-34 0-12 4-24 14-34l69-69c-14-67-40-129-77-184h-98c-13 0-25-6-33-15-9-8-15-20-15-33V77C746 40 683 14 615 0l-69 69a46 46 0 0 1-35 14c-11 0-23-5-33-14L409 0zm-28 103l32 32c26 26 61 41 98 41h3c37 0 72-15 98-41l32-31c22 7 43 16 64 26v46c0 37 15 73 42 99 26 27 62 42 99 42h45c11 20 19 41 26 63l-31 31c-26 27-41 63-41 100 0 38 15 74 41 100l32 32c-8 22-17 44-27 65h-45c-37 0-73 15-99 42-27 26-42 62-42 99v44c-21 11-42 20-65 27l-31-31c-26-26-61-41-98-41h-3c-37 0-72 15-98 41l-32 32c-22-8-44-17-65-28v-43c0-37-15-73-42-99-26-27-62-42-99-42h-44c-11-21-20-44-28-67l32-31c26-26 41-62 40-100 1-37-14-73-40-100l-31-30c7-23 16-44 26-65h45c37 0 73-15 99-42 27-26 42-62 42-99v-45c21-10 43-19 65-27z",wrench:"M959.438 274.25c0-22.090-17.914-40-40.004-40-11.16 0-21.242 4.582-28.496 11.954l-60.152 60.148c-15.622 15.622-40.946 15.618-56.566-0.004l-56.57-56.566c-15.622-15.622-15.622-40.95 0-56.57l59.55-59.546c7.75-7.292 12.614-17.618 12.614-29.102 0-22.090-17.914-40-40.004-40-1.598 0-3.164 0.122-4.71 0.304-0.012 0-0.020-0.008-0.032-0.004-94.958 11.586-168.504 92.492-168.504 190.574 0 23.528 4.238 46.058 11.98 66.886l-503.078 503.074c-1.496 1.496-2.8 3.102-4.012 4.758-10.914 13.676-17.454 30.992-17.454 49.848 0 44.188 35.818 79.996 79.996 79.996 18.906 0 36.27-6.574 49.964-17.54 1.614-1.188 3.18-2.464 4.64-3.926l503.078-503.078c20.828 7.742 43.36 11.98 66.882 11.98 97.988 0 178.828-73.402 190.54-168.222v-0.012c0.2-1.628 0.338-3.272 0.338-4.952zM151.996 912c-22.090 0-40-17.906-40-40 0-22.090 17.91-40 40-40s40.004 17.91 40.004 40c0 22.094-17.914 40-40.004 40z",nut:"M512 286a229 229 0 0 0-233 226c0 124 104 225 233 225h2a240 240 0 0 0 54-7c21-5 35-24 35-45a48 48 0 0 0-59-45 139 139 0 0 1-32 3c-75 0-136-59-136-131 0-73 61-132 136-132a134 134 0 0 1 132 161v1l-2 9c0 26 22 47 49 47a48 48 0 0 0 47-37c4-16 6-33 6-49 0-125-104-226-232-226m0-286c-16 0-33 4-47 12L90 223a91 91 0 0 0-47 79v420c0 33 18 63 47 79l375 211a96 96 0 0 0 94 0l375-211c29-16 47-46 47-79V302c0-33-18-63-47-79L559 12c-14-8-31-12-47-12m0 91l375 211v420L512 933 137 722V302L512 91",camera:"M925.164 208.372c-1.694-0.218-3.408-0.372-5.162-0.372h-471.968v-39.962c0-20.344-15.192-37.096-34.836-39.63-1.696-0.218-3.41-0.374-5.164-0.374h-176.004c-1.754 0-3.468 0.152-5.164 0.374-19.644 2.538-34.836 19.29-34.836 39.626v39.966h-88.032c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.536-34.838 19.29-34.838 39.628v528c0 22.094 17.91 40 40 40h816.004c13.808 0 25.98-6.996 33.168-17.636 0.102-0.148 0.184-0.308 0.282-0.46 0.612-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.61 4.704-12.008 4.704-18.808v-528.004c-0-20.342-15.192-37.096-34.838-39.63zM880.002 736h-736.004v-448h736.004v448zM512 402.522c60.368 0 109.478 49.112 109.478 109.478s-49.112 109.478-109.478 109.478-109.478-49.112-109.478-109.478 49.11-109.478 109.478-109.478zM512 322.522c-104.644 0-189.478 84.832-189.478 189.478 0 104.644 84.834 189.478 189.478 189.478 104.646 0 189.478-84.834 189.478-189.478 0-104.646-84.832-189.478-189.478-189.478v0z",eye:"M1008.714 490.522c-9.002-12.594-223.276-308.808-496.684-308.808-273.444 0-487.682 296.214-496.684 308.808l-15.316 21.49 15.316 21.466c9.002 12.618 223.24 308.808 496.684 308.808 273.408 0 487.682-296.19 496.684-308.808l15.316-21.466-15.316-21.49zM807.68 631.688c-46 39.142-92.558 70.064-138.382 91.904-53.874 25.676-106.786 38.694-157.266 38.694-50.49 0-103.406-13.018-157.282-38.696-45.826-21.838-92.382-52.758-138.378-91.902-53.708-45.706-94.302-92.122-116.61-119.672 22.36-27.602 63.028-74.094 116.612-119.696 45.996-39.146 92.554-70.068 138.378-91.908 53.876-25.678 106.792-38.698 157.28-38.698 50.48 0 103.39 13.020 157.264 38.696 45.824 21.842 92.382 52.764 138.382 91.91 53.602 45.614 94.264 92.098 116.624 119.696-22.306 27.544-62.898 73.954-116.622 119.672zM692.032 512.036c0 99.41-80.588 180-180 180s-180-80.59-180-180c0-99.406 80.588-179.998 180-179.998s180 80.59 180 179.998z",eyeclose:"M75.744 948.314c-15.62-15.62-15.62-40.948 0-56.564l816-816c15.626-15.624 40.95-15.624 56.57 0 15.624 15.62 15.626 40.946 0.004 56.57l-816 815.994c-15.62 15.62-40.95 15.62-56.572 0zM332.032 512.034c0 20.104 3.296 39.434 9.376 57.484l228.104-228.106c-18.050-6.080-37.38-9.376-57.48-9.376-99.412-0.004-180 80.588-180 179.996zM692.032 512.034c0-20.1-3.3-39.432-9.38-57.484l-228.106 228.11c18.052 6.080 37.384 9.376 57.488 9.376 99.412 0 180-80.59 180-180zM1008.716 490.522c-4.98-6.968-72.86-100.8-178.81-183.22l-57.040 57.040c11.624 8.8 23.24 18.128 34.814 27.98 53.6 45.614 94.264 92.1 116.624 119.696-22.304 27.544-62.896 73.954-116.62 119.672-46 39.14-92.56 70.064-138.384 91.904-53.872 25.676-106.786 38.694-157.266 38.694-37.448 0-76.234-7.18-115.76-21.36l-61.486 61.49c54.786 24.22 114.45 39.87 177.248 39.87 273.41 0 487.684-296.19 496.686-308.808l15.316-21.468-15.316-21.49zM216.372 631.69c-53.708-45.706-94.3-92.12-116.61-119.672 22.36-27.6 63.028-74.094 116.612-119.696 46-39.146 92.554-70.068 138.38-91.908 53.874-25.68 106.79-38.7 157.28-38.7 37.46 0 76.264 7.188 115.8 21.38l61.484-61.484c-54.796-24.236-114.474-39.896-177.286-39.896-273.446 0-487.684 296.214-496.686 308.808l-15.316 21.49 15.314 21.466c4.98 6.984 72.866 100.84 178.84 183.26l57.040-57.040c-11.64-8.806-23.264-18.144-34.854-28.008z",photo:"M920 64h-816c-22.092 0-40 17.91-40 40v816c0 22.094 17.908 40 40 40h816c22.092 0 40-17.906 40-40v-816c0-22.090-17.908-40-40-40zM880 144v449.782l-235.39-235.392c-7.502-7.5-17.676-11.714-28.286-11.714s-20.784 4.214-28.286 11.716l-169.804 169.804-40.958-40.958c-15.622-15.622-40.95-15.622-56.57 0l-176.708 176.708v-519.946h736.002zM144 880v-102.914l204.992-204.994 215.972 215.974c7.81 7.81 18.048 11.714 28.286 11.714s20.474-3.904 28.286-11.714c15.62-15.622 15.62-40.95 0-56.57l-146.732-146.73 141.522-141.524 263.676 263.68v173.078h-736.002zM356.174 400.542c52.466 0 95-42.536 95-95s-42.534-95-95-95-95 42.536-95 95 42.534 95 95 95zM356.174 250.542c30.326 0 55 24.672 55 55s-24.674 55-55 55-55-24.672-55-55 24.674-55 55-55z",video:"M926.050 273.364c-9.556 0-20.574 3.8-32.278 11.812l-189.738 129.894v-151.068c0-20.342-15.192-37.094-34.838-39.63-1.694-0.218-3.408-0.372-5.162-0.372h-560.002c-1.754 0-3.468 0.152-5.162 0.372-19.646 2.538-34.838 19.29-34.838 39.628v496.002c0 22.092 17.91 40 40 40h560.004c13.808 0 25.98-6.998 33.168-17.638 0.102-0.148 0.184-0.308 0.282-0.458 0.612-0.922 1.2-1.862 1.722-2.836 0.046-0.082 0.080-0.172 0.124-0.254 2.994-5.612 4.704-12.010 4.704-18.81v-151.066l189.738 129.886c11.706 8.012 22.718 11.812 32.278 11.812 20.092 0 33.736-16.806 33.736-46.622v-384.032c0-29.816-13.644-46.62-33.738-46.62zM624.036 720h-480.004v-415.998h480.004v415.998zM879.788 632.3l-175.728-120.296 175.728-120.302v240.598zM240.688 663.534c-22.090 0-40-17.906-40-40v0c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v0c0 22.092-17.914 40-40.004 40v0z",speaker:"M692.070 580.856c18.156-18.156 28.152-42.266 28.152-67.89-0.008-25.622-10.002-49.726-28.148-67.872-8.476-8.478-18.308-15.188-29-19.922-0.222-0.098-0.408-0.22-0.566-0.364-13.294-6.5-22.476-20.116-22.476-35.914 0-22.090 17.91-40 40-40 5.774 0 11.246 1.248 16.204 3.45 0.016 0.006 0.026 0.008 0.040 0.016 19.292 8.656 37.036 20.832 52.368 36.164 33.254 33.254 51.574 77.446 51.58 124.43 0.006 46.996-18.31 91.204-51.58 124.472-15.064 15.062-32.45 27.074-51.344 35.7-0.154 0.070-0.286 0.112-0.434 0.176-5.124 2.382-10.812 3.75-16.832 3.75-22.090 0-40-17.906-40-40 0-16.196 9.644-30.112 23.488-36.402 0.156-0.11 0.32-0.216 0.516-0.304 10.314-4.712 19.81-11.268 28.032-19.49zM861.778 275.386c-47.824-47.824-107.946-79.588-173.204-92.242-0.356-0.078-0.712-0.146-1.072-0.214-0.060-0.012-0.124-0.026-0.186-0.038-0.506-0.096-0.976-0.162-1.422-0.208-1.918-0.282-3.868-0.476-5.864-0.476-22.090 0-40 17.91-40 40 0 19.024 13.292 34.91 31.084 38.968 0.352 0.128 0.728 0.244 1.162 0.326 48.7 9.268 95.226 32.748 132.934 70.452 99.972 99.972 100.054 261.984-0.002 362.040-37.684 37.684-84.152 61.14-132.788 70.426-0.084 0.016-0.144 0.046-0.224 0.066-18.338 3.644-32.166 19.816-32.166 39.222 0 22.094 17.91 40 40 40 2.776 0 5.484-0.286 8.102-0.822 0.094-0.018 0.172-0.018 0.27-0.038 65.32-12.626 125.496-44.406 173.376-92.286 131.008-131.008 131.008-344.172 0-475.176zM525.988 159.516v704.968c0 22.090-17.906 40-40 40-12.73 0-24.046-5.966-31.374-15.234l-51.056-61.722v0.216l-122.14-147.666h-177.386c-22.090 0-40-17.906-40-40v0 0-256c0-5.22 1.030-10.194 2.85-14.766 0.104-0.266 0.184-0.542 0.294-0.804 0.39-0.924 0.844-1.812 1.3-2.702 0.134-0.26 0.242-0.538 0.382-0.794 0.246-0.456 0.54-0.878 0.804-1.324 6.972-11.726 19.734-19.61 34.368-19.61h177.386l173.13-209.238c7.324-9.316 18.67-15.324 31.44-15.324 22.092-0 40.002 17.91 40.002 40zM445.988 270.826l-126.708 153.252h-175.248v176h175.248l19.832 23.998h0.17l106.708 129.112v-482.362z",phone:"M742.52 960c-76.266 0-163.184-32.364-258.338-96.194-73.798-49.504-136.41-106.904-175.938-146.34-43.282-43.222-105.612-111.376-156.842-190.682-66.576-103.062-95.348-196.038-85.518-276.344 8.952-73.326 50.674-134.292 120.664-176.304 10.95-6.63 23.76-10.134 37.054-10.134 32.752 0 71.124 23.354 120.764 73.494 36.434 36.802 70.108 79.22 89.472 106.644 46.698 66.176 60.686 107.352 48.286 142.136-12.638 35.538-35.534 55.704-52.25 70.428-5.662 5.006-9.95 8.854-13.070 12.262 4.040 7.542 11.744 19.868 26.054 37.476 42.388 52.076 90.548 89.024 111.972 100.874 3.308-2.96 7.11-7.168 12.352-13.152 14.87-16.81 35.062-39.636 70.482-52.28 7.978-2.842 16.498-4.276 25.35-4.276 44.172 0 108.804 44.078 155.246 81.056 45.834 36.494 103.292 90.498 127.104 132.612 22.602 39.596 14.982 68.64 4.596 86.006-48.138 80.296-119.862 122.718-207.44 122.718zM224.758 144.53c-47.558 29.426-73.566 67.28-79.468 115.618-7.494 61.224 17.17 136.326 73.308 223.226 49.902 77.252 112.994 144.35 146.16 177.472 30.296 30.222 91.906 88.17 163.988 136.524 81.738 54.83 153.662 82.63 213.772 82.63 58.618 0 103.506-26.526 137.138-81.076-0.47-1.536-1.532-4.062-3.854-8.132-14.584-25.794-57.006-69.202-105.642-108.156-58.776-47.074-96.708-63.894-106.756-64.982-15.348 5.826-25.020 16.758-36.178 29.372-12.542 14.318-28.31 32.316-55.476 41.528l-6.25 2.12h-6.598c-8.704 0-31.826 0-86.73-43.378-32.196-25.438-64.65-57.534-91.38-90.374-35.712-43.942-51.41-77.764-46.674-100.548l0.55-2.642 0.9-2.546c9.19-26 26.284-41.118 41.364-54.458 12.726-11.208 23.698-20.874 29.494-36.378-0.606-4.398-5.076-23.488-37.948-70.072-15.882-22.494-45.746-60.376-77.614-93.084-39.93-40.986-60.106-50.546-66.106-52.664z",flag:"M168 960.060c-22.092 0-40-17.908-40-40v-816.36c0-22.092 17.908-40 40-40h687.698c16.178 0 30.764 9.746 36.956 24.694 6.192 14.946 2.77 32.15-8.67 43.59l-188.918 188.922 189.218 189.216c11.44 11.442 14.862 28.646 8.67 43.592-6.192 14.948-20.776 24.694-36.956 24.694h-647.998v341.654c0 22.090-17.908 39.998-40 39.998zM208 498.406h551.428l-149.218-149.216c-15.622-15.622-15.622-40.95 0-56.568l148.918-148.922h-551.128v354.706z",pin:"M512 959.916c-13.36 0-25.84-6.672-33.262-17.782l-242.080-362.324c-0.12-0.176-0.236-0.356-0.354-0.536-36.394-54.5-55.63-118.042-55.63-183.804 0-182.696 148.632-331.324 331.326-331.324 182.696 0 331.328 148.628 331.328 331.324 0 60.71-16.554 119.98-47.906 171.652-0.758 1.528-1.618 3.016-2.578 4.45l-5.786 8.664c-0.054 0.082-0.112 0.164-0.168 0.246-0.042 0.070-0.104 0.16-0.148 0.23l-241.484 361.426c-7.422 11.106-19.898 17.778-33.258 17.778zM303.458 535.784l0.026 0.040c0.038 0.054 0.158 0.238 0.194 0.292l208.324 311.796 212.374-317.86c0.376-0.696 0.778-1.382 1.198-2.062 24.7-39.708 37.758-85.532 37.758-132.52 0-138.582-112.746-251.324-251.328-251.324s-251.326 112.742-251.326 251.324c0 50.054 14.674 98.39 42.432 139.782 0.114 0.176 0.232 0.356 0.348 0.532zM512 304.4c49.98 0 90.64 40.66 90.64 90.64 0 49.976-40.66 90.636-90.64 90.636s-90.64-40.66-90.64-90.636c0-49.98 40.66-90.64 90.64-90.64zM512 224.4c-94.242 0-170.64 76.398-170.64 170.64s76.398 170.636 170.64 170.636 170.64-76.394 170.64-170.636-76.398-170.64-170.64-170.64v0z",compass:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm242.4 178.1a22.9 22.9 0 012.9 28.9L574.9 571.7l-3.2 3.2-273.3 182.4a22.9 22.9 0 01-31.7-31.7l181-271.6c1.7-2.5 3.8-4.6 6.3-6.3l271.6-181c9-6 21.1-4.9 28.8 2.8zM483.2 483.3l-115 172.4 172.5-115-57.5-57.4z",globe:"M533.6 1.6a144.2 144.2 0 00-43.2 0A511.7 511.7 0 000 512.6 511.7 511.7 0 00512 1024c282.8 0 512-229 512-511.4a511.7 511.7 0 00-490.4-511zM930 467H749c-3.6-105.7-20-204.7-47.2-282.5a494.4 494.4 0 00-24.2-58.2 419.3 419.3 0 01131.8 89.3A416.7 416.7 0 01930.2 467zM512 931.5c-75.3 0-137.3-163.3-145.4-373.3h290.8c-8.1 210-70.1 373.3-145.4 373.3zM366.5 467c7.4-200.2 63.7-358.5 134-374.3a406.8 406.8 0 0123 0c70.3 15.9 126.6 174.1 134 374.3h-291zM214.6 215.5A420.7 420.7 0 01346.4 126c-8.7 17.7-16.9 37.1-24.2 58.2-27.1 78-43.6 177-47.2 282.5H94a416.7 416.7 0 01120.7-251.3zM93.9 558.2H275c3.8 104.8 20.2 203 47 280.3a488.6 488.6 0 0025.8 61 420.4 420.4 0 01-133.3-89.9A416.7 416.7 0 0193.9 558.2zm715.5 251.4a420.4 420.4 0 01-133.3 90c9.3-18.4 18-38.8 25.7-61.1 27-77.4 43.3-175.5 47-280.3h181.3a416.7 416.7 0 01-120.7 251.4z",location:"M1024 512a512 512 0 10-512.1 512C643 1024 774 974 874 874s150-231 150-362zM809.4 809.4a417.4 417.4 0 01-251.7 120.7v-153a45.7 45.7 0 00-91.5 0v153a417 417 0 01-251.6-120.7A417.7 417.7 0 0194 557.7h153a45.7 45.7 0 000-91.5h-153a417.3 417.3 0 01120.7-251.6A417.5 417.5 0 01466.2 93.8v153a45.7 45.7 0 0091.4 0v-153a417.4 417.4 0 01251.8 120.7A417.5 417.5 0 01930 466.2H777a45.7 45.7 0 000 91.4h153a417.3 417.3 0 01-120.7 251.7v.1z",search:"M218 670a318 318 0 0 1 0-451 316 316 0 0 1 451 0 318 318 0 0 1 0 451 316 316 0 0 1-451 0m750 240L756 698a402 402 0 1 0-59 60l212 212c16 16 42 16 59 0 16-17 16-43 0-60",zoom:"M220 670a316 316 0 0 1 0-450 316 316 0 0 1 450 0 316 316 0 0 1 0 450 316 316 0 0 1-450 0zm749 240L757 698a402 402 0 1 0-59 59l212 212a42 42 0 0 0 59-59zM487 604a42 42 0 0 1-84 0V487H286a42 42 0 1 1 0-84h117V286a42 42 0 1 1 84 0v117h117a42 42 0 0 1 0 84H487v117z",zoomout:"M757 698a402 402 0 1 0-59 59l212 212a42 42 0 0 0 59-59L757 698zM126 445a316 316 0 0 1 319-319 316 316 0 0 1 318 319 316 316 0 0 1-318 318 316 316 0 0 1-319-318zm160 42a42 42 0 1 1 0-84h318a42 42 0 0 1 0 84H286z",zoomreset:"M148 560a318 318 0 0 0 522 110 316 316 0 0 0 0-450 316 316 0 0 0-450 0c-11 11-21 22-30 34v4h47c25 0 46 21 46 46s-21 45-46 45H90c-13 0-25-6-33-14-9-9-14-20-14-33V156c0-25 20-45 45-45s45 20 45 45v32l1 1a401 401 0 0 1 623 509l212 212a42 42 0 0 1-59 59L698 757A401 401 0 0 1 65 570a42 42 0 0 1 83-10z",timer:"M571.5 0a42.7 42.7 0 010 85.3h-16.7l-.2 53.1a441.6 441.6 0 01221.2 84.9l44.7-44.6a42.7 42.7 0 0160.3 60.3l-41.5 41.5a443.8 443.8 0 11-370-142l.1-53.2H452A42.7 42.7 0 01452 0h119.5zM512 221.7a356 356 0 00-253.5 105 356 356 0 00-105 253.5 356 356 0 00105 253.5 356 356 0 00253.5 105 356 356 0 00253.5-105 356.2 356.2 0 00105-253.5 356 356 0 00-105-253.5 356 356 0 00-253.5-105zm-.1 52.7a42.7 42.7 0 0142.6 42.6v206.6a68.2 68.2 0 0125.3 47.3l.2 5.8a68.2 68.2 0 11-110.8-53.4V317a42.7 42.7 0 0142.7-42.6z",time:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 91.4c-112.3 0-218 43.8-297.4 123.2A417.8 417.8 0 0091.4 512c0 112.3 43.8 218 123.2 297.4A417.8 417.8 0 00512 932.6c112.3 0 218-43.8 297.4-123.2A417.8 417.8 0 00932.6 512c0-112.3-43.8-218-123.2-297.4A417.8 417.8 0 00512 91.4zm0 54.9a45.7 45.7 0 0145.7 45.7v280H759a45.7 45.7 0 010 91.4H512c-6.1 0-12-1.2-17.4-3.4l-.4-.2-2-1c-.7-.3-1.4-.5-2-.9l-.7-.4-3-1.9-.4-.2c-12-8.2-19.8-22-19.8-37.7V192a45.7 45.7 0 0145.7-45.7z",lightning:"M320.022 1022.644c-7.408 0-14.852-2.052-21.44-6.238-15.292-9.714-22.144-28.494-16.706-45.774l115.186-365.908-214.552-52.57c-14.714-3.606-26.128-15.214-29.486-29.988-3.356-14.772 1.92-30.174 13.632-39.786l576-472.662c14.458-11.864 35.208-12.126 49.962-0.626 14.752 11.496 19.568 31.682 11.594 48.602l-171.202 363.256 208.648 51.756c14.29 3.544 25.476 14.652 29.124 28.914s-0.834 29.376-11.668 39.344l-512 471.112c-7.586 6.984-17.308 10.568-27.092 10.568zM279.236 493.49l178.314 43.69c10.74 2.632 19.912 9.59 25.336 19.226s6.62 21.086 3.298 31.636l-83.030 263.76 347.066-319.352-183.82-45.596c-11.63-2.884-21.356-10.832-26.498-21.656-5.144-10.822-5.164-23.382-0.054-34.22l116.31-246.788-376.922 309.3z",lightningoff:"M310 374L76 150a37 37 0 0 1 0-54c15-14 41-14 56 0l816 778c16 15 16 39 0 54a41 41 0 0 1-56 0L666 712l-57-54-242-230-57-54zm-32 28l57 54-44 38 115 29 78 76-75 254 169-165 57 54-279 271c-8 7-17 11-26 11-7 0-14-2-20-6a41 41 0 0 1-16-46l109-367-203-52c-14-4-25-16-28-30-4-15 1-31 13-40l93-81zm124-108L731 9c13-12 33-12 47-1 14 12 19 32 11 49L627 421l198 52c13 4 24 15 27 29 4 14-1 29-11 39l-89 87-56-54 42-41-118-31-80-76 109-242-190 165-57-55z",dashboard:"M512 85.3a512 512 0 01361 875c-99.5-44-225-70.4-361.6-70.4-136.1 0-261.4 26.2-360.8 70A512 512 0 01512 85.4zm0 91.5c-112.4 0-218 43.7-297.4 123.1A417.8 417.8 0 0091.4 597.3c0 93 30 181.5 85.5 254.2 101-34.8 215.3-53 334.5-53 119.6 0 234.2 18.3 335.5 53.4a417.3 417.3 0 0085.7-254.6c0-112.3-43.8-218-123.2-297.4a417.5 417.5 0 00-275-122.6l-22.4-.5zm219.7 115.7a45.7 45.7 0 0116.7 62.4L580.4 646c6.5 17.1 6.7 36.6-.6 54.3l-4.3 8.7A73.1 73.1 0 11501.3 600l168-291a45.7 45.7 0 0162.4-16.6z",hourglass:"M511.926 801.946c-22.090 0-40-17.906-40-40v0c0-22.090 17.91-40 40-40v0c22.090 0 40.004 17.91 40.004 40v0c0 22.094-17.914 40-40.004 40v0zM831.682 915.242c0.192 1.582 0.318 3.186 0.318 4.82 0 22.090-17.908 40-40 40h-560c-22.092 0-40-17.914-40-40 0-2.438 0.252-4.812 0.67-7.128 2.36-53.636 18.034-105.7 45.852-151.554 0.734-1.476 1.562-2.912 2.492-4.296l5.582-8.364c0.054-0.080 0.11-0.158 0.164-0.238 0.042-0.068 0.098-0.156 0.144-0.222l157.704-236.036-158.5-237.228c-0.116-0.17-0.23-0.342-0.34-0.516-32.842-49.178-51.11-105.994-53.368-165.044-0.238-1.762-0.402-3.546-0.402-5.374 0-22.090 17.908-40 40-40h560c22.092 0 40 17.914 40 40 0 2.056-0.204 4.064-0.504 6.038-2.194 54.020-17.886 106.48-45.894 152.648-0.734 1.472-1.562 2.91-2.492 4.294l-5.582 8.366c-0.054 0.078-0.11 0.156-0.164 0.236-0.042 0.068-0.098 0.154-0.144 0.222l-157.734 236.082 158.468 237.182c0.116 0.168 0.23 0.344 0.34 0.516 32.946 49.33 51.226 106.346 53.39 165.596zM749.958 144.060h-475.99c6.138 31.304 18.384 61.124 36.354 87.916 0.118 0.17 0.23 0.344 0.342 0.514l0.024 0.038c0.036 0.054 0.15 0.23 0.186 0.284l54.286 81.25h293.596l58.196-87.1c0.366-0.67 0.75-1.334 1.154-1.99 15.492-24.916 26.228-52.324 31.852-80.912zM497.528 512.178l-0.032 0.046 14.426 21.592 93.378-139.756h-186.692l78.92 118.118zM305.96 799.156c-15.498 24.91-26.234 52.318-31.856 80.906h476.052c-6.138-31.304-18.384-61.122-36.354-87.918-0.118-0.168-0.23-0.344-0.342-0.512l-0.024-0.040c-0.036-0.050-0.15-0.23-0.186-0.282l-140.242-209.902-28.98 43.374c-7.166 10.72-19.21 17.162-32.11 17.162-12.896 0-24.942-6.442-32.11-17.166l-28.76-43.044-143.938 215.428c-0.36 0.674-0.744 1.338-1.15 1.994z",play:"M878.78 477.856l-591.884-341.722c-9.464-5.464-18.426-8.050-26.386-8.048-19.516 0.002-33.002 15.546-33.002 42.338v683.446c0 26.792 13.482 42.338 33.002 42.338 7.96 0 16.924-2.586 26.386-8.048l591.884-341.722c32.664-18.864 32.664-49.724 0-68.582z",stop:"M1024 512A512 512 0 100 512a512 512 0 001024 0zM215 809a418 418 0 010-594 418 418 0 01594 0 418 418 0 010 594 418 418 0 01-594 0zm471-78H338c-25 0-45-20-45-45V338c0-25 20-45 45-45h348c25 0 45 20 45 45v348c0 25-20 45-45 45z",email:"M960.032 268.004c0.748-10.040-2.246-20.364-9.226-28.684-5.984-7.132-13.938-11.62-22.394-13.394-0.13-0.026-0.268-0.066-0.396-0.092-1.082-0.22-2.172-0.376-3.272-0.5-0.25-0.032-0.492-0.080-0.742-0.102-1.028-0.096-2.052-0.136-3.090-0.156-0.292-0.002-0.582-0.042-0.876-0.042h-816.008c-21.416 0-38.848 16.844-39.898 38-0.034 0.628-0.092 1.256-0.096 1.89 0 0.034-0.006 0.074-0.006 0.114 0 0.050 0.008 0.102 0.008 0.152v495.692c0 0.054-0.008 0.106-0.008 0.156 0 22.090 17.91 40 40 40h816.004c13.808 0 25.98-6.996 33.17-17.636 0.1-0.148 0.182-0.312 0.28-0.458 0.606-0.93 1.196-1.868 1.722-2.84 0.046-0.082 0.080-0.172 0.124-0.258 2.992-5.604 4.704-12.008 4.704-18.804v0 0-493.038zM144.032 350.156l339.946 281.188c6.568 6.434 14.918 10.168 23.564 11.122 0.16 0.024 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058s0.996-0.042 1.492-0.058c0.842-0.028 1.68-0.058 2.518-0.14 0.16-0.016 0.32-0.042 0.48-0.066 8.646-0.958 16.996-4.688 23.564-11.122l339.946-281.206v370.894h-736v-370.876zM215.066 305.030h593.91l-296.946 245.422-296.964-245.422z",comment:"M288 378.668h448c22.094 0 40 17.906 40 40 0 22.090-17.906 40-40 40h-448c-22.090 0-40-17.91-40-40s17.91-40 40-40zM736 565.334h-448c-22.090 0-40 17.91-40 40 0 22.094 17.91 40 40 40h448c22.094 0 40-17.906 40-40 0-22.090-17.906-40-40-40zM960 232.004v560c0 6.804-1.714 13.196-4.704 18.812-0.042 0.082-0.078 0.172-0.124 0.254-0.524 0.976-1.11 1.914-1.722 2.836-0.098 0.152-0.18 0.314-0.282 0.458-7.188 10.64-19.36 17.636-33.168 17.636h-519.766l-114.292 114.286c-8.036 8.046-18.644 11.91-29.18 11.67-0.292 0.008-0.582 0.046-0.876 0.046-22.090 0-40-17.91-40-40v-86.004h-111.886c-22.090 0-40-17.906-40-40v0-560c0-20.34 15.192-37.094 34.84-39.632 1.692-0.214 3.406-0.368 5.16-0.368h816c1.754 0 3.468 0.154 5.164 0.368 19.644 2.542 34.836 19.296 34.836 39.638zM880 272h-736v480h736v-480z",requestchange:"M925.164 193.396c-1.696-0.214-3.41-0.368-5.164-0.368h-816c-1.754 0-3.468 0.152-5.16 0.368-19.648 2.54-34.84 19.292-34.84 39.632v560c0 22.094 17.91 40 40 40h111.886v86.004c0 22.090 17.91 40 40 40 0.292 0 0.582-0.040 0.876-0.046 10.536 0.238 21.144-3.624 29.18-11.67l114.292-114.286h519.766c13.808 0 25.98-6.996 33.168-17.636 0.102-0.144 0.184-0.304 0.282-0.458 0.614-0.922 1.2-1.86 1.722-2.836 0.046-0.082 0.082-0.172 0.124-0.254 2.988-5.618 4.704-12.008 4.704-18.812v0-560c-0-20.346-15.192-37.098-34.836-39.638zM880 753.028h-736v-480h736v480zM756.334 484.17l-125-125.436c-15.594-15.65-40.92-15.692-56.568-0.1-15.648 15.594-15.694 40.92-0.1 56.568l57.004 57.204h-335.67c-22.092 0-40 17.908-40 40s17.908 40 40 40h335.258l-56.508 56.368c-15.64 15.602-15.672 40.928-0.070 56.57 7.814 7.832 18.066 11.752 28.32 11.75 10.22 0 20.442-3.892 28.25-11.68l125-124.688c15.634-15.596 15.672-40.912 0.084-56.556z",link:"M743.52 529.234c5.616-5.616 83.048-83.046 88.462-88.46 30.944-32.778 47.97-75.636 47.97-120.792 0-47.048-18.304-91.26-51.542-124.484-33.228-33.22-77.43-51.516-124.458-51.516-45.024 0-87.792 16.94-120.536 47.72l-104.458 104.456c-30.792 32.738-47.734 75.512-47.734 120.548 0 41.916 14.576 81.544 41.248 113.196 3.264 3.876 6.666 7.664 10.292 11.29 4.258 4.258 8.704 8.262 13.304 12.022 0.054 0.080 0.096 0.152 0.148 0.232 9.572 7.308 15.778 18.804 15.778 31.776 0 22.094-17.914 40-40.004 40-8.542 0-16.442-2.696-22.938-7.26-2.746-1.93-20.622-17.43-30.35-28.050-0.008-0.010-0.018-0.018-0.026-0.028-4.992-5.432-13.234-15.23-18.552-22.65s-16.556-25.872-17.036-26.736c-0.7-1.262-2.974-5.526-3.422-6.39-0.69-1.334-6.118-12.67-6.114-12.67-14.342-31.96-22.332-67.4-22.332-104.728 0-60.826 21.198-116.648 56.58-160.544 0.252-0.314 4.61-5.594 6.594-7.866 0.304-0.35 5.038-5.636 7.16-7.874 0.252-0.268 105.86-105.874 106.128-106.126 45.902-43.584 107.958-70.314 176.264-70.314 141.382 0 255.998 114.5 255.998 256 0 68.516-26.882 130.688-70.652 176.61-0.144 0.148-109.854 109.546-112.090 111.528-0.958 0.848-5.072 4.352-5.072 4.352-6.448 5.434-13.132 10.592-20.1 15.378 0.412-6.836 0.644-13.702 0.644-20.6 0-26.46-3.108-52.206-8.918-76.918l-0.236-1.102zM616.144 767.82c35.382-43.896 56.58-99.718 56.58-160.544 0-37.328-7.99-72.768-22.332-104.728 0.004 0 0.006-0.002 0.010-0.004-0.258-0.576-0.538-1.14-0.8-1.714-0.686-1.498-2.894-6.112-3.296-6.93-0.668-1.344-2.952-5.732-3.386-6.604-3.48-6.982-8.708-15.126-9.49-16.366-0.498-0.792-0.996-1.58-1.502-2.364-0.834-1.29-15.364-22.066-26.656-34.466-0.008-0.010-0.018-0.018-0.026-0.028-7.056-8.448-24.932-24.198-30.35-28.050-6.47-4.602-14.396-7.26-22.938-7.26-22.090 0-40.004 17.906-40.004 40 0 12.97 6.206 24.466 15.778 31.776 0.052 0.080 0.094 0.152 0.148 0.232 4.602 3.76 20.334 19.434 23.598 23.31 26.672 31.65 41.248 71.28 41.248 113.196 0 45.038-16.944 87.81-47.734 120.548l-104.458 104.456c-32.742 30.782-75.512 47.72-120.536 47.72-47.028 0-91.228-18.294-124.458-51.516-33.236-33.224-51.542-77.436-51.542-124.484 0-45.154 17.028-88.014 47.97-120.792 5.414-5.414 40.812-40.812 68.958-68.958 7.176-7.176 13.888-13.886 19.504-19.502v-0.002c-0.356-1.562-0.246-1.096-0.246-1.096-5.81-24.712-8.918-50.458-8.918-76.918 0-6.898 0.232-13.764 0.644-20.6-6.966 4.788-20.1 15.33-20.1 15.33-0.734 0.62-9.518 8.388-11.68 10.45-0.16 0.154-105.338 105.33-105.482 105.478-43.77 45.922-70.652 108.094-70.652 176.61 0 141.5 114.616 256 255.998 256 68.306 0 130.362-26.73 176.264-70.314 0.27-0.254 105.876-105.86 106.128-106.126 0.004-0.002 13.506-15.426 13.758-15.74z",paperclip:"M824.25 369.354c68.146-70.452 67.478-182.784-2.094-252.354-70.296-70.296-184.266-70.296-254.558 0-0.014 0.012-0.028 0.026-0.042 0.042-0.004 0.002-0.006 0.004-0.010 0.008l-433.144 433.142c-0.036 0.036-0.074 0.068-0.11 0.106-0.054 0.052-0.106 0.11-0.16 0.162l-2.668 2.67c-0.286 0.286-0.528 0.596-0.8 0.888-43.028 44.88-66.664 103.616-66.664 165.986 0 64.106 24.962 124.376 70.292 169.704 45.328 45.33 105.598 70.292 169.706 70.292 50.612 0 98.822-15.57 139.186-44.428 4.932-1.952 9.556-4.906 13.544-8.894l16.802-16.802c0.056-0.056 0.116-0.112 0.172-0.168 0.038-0.038 0.074-0.076 0.112-0.116l289.010-289.014c15.622-15.618 15.62-40.942 0-56.56s-40.948-15.62-56.566 0l-289.124 289.122c-62.482 62.484-163.792 62.484-226.274 0-62.484-62.482-62.484-163.79 0-226.272h-0.002l433.134-433.12c0.058-0.060 0.112-0.122 0.172-0.18 38.99-38.99 102.43-38.99 141.42 0 38.992 38.99 38.99 102.432 0 141.422-0.058 0.060-0.122 0.114-0.18 0.17l0.006 0.006-280.536 280.534c-0.002-0.002-0.002-0.004-0.004-0.006l-79.978 79.98c-0.010 0.010-0.016 0.020-0.028 0.028-0.008 0.012-0.018 0.018-0.028 0.028l-0.064 0.062c-15.622 15.624-40.944 15.624-56.562 0-15.624-15.62-15.624-40.944-0.002-56.566l0.062-0.062c0.010-0.010 0.018-0.020 0.028-0.028 0.008-0.012 0.020-0.018 0.028-0.028l79.98-79.978c-0.002-0.002-0.004-0.002-0.006-0.004l136.508-136.512c15.622-15.62 15.62-40.944-0.002-56.562-15.618-15.62-40.946-15.62-56.564 0l-219.342 219.344c-1.284 1.284-2.42 2.652-3.494 4.052-40.4 47.148-38.316 118.184 6.322 162.824 44.64 44.638 115.674 46.722 162.82 6.324 1.402-1.072 2.772-2.21 4.054-3.494l2.83-2.832c0.002 0 0.002 0 0.002 0s0 0 0 0l360.54-360.54c0.058-0.056 0.12-0.114 0.18-0.172 0.050-0.050 0.098-0.106 0.15-0.158l0.994-0.994c0.34-0.338 0.63-0.702 0.952-1.052z",box:"M960.016 408.080c0-0.672-0.046-1.342-0.078-2.014-0.032-0.594-0.044-1.19-0.102-1.782-0.068-0.726-0.186-1.448-0.294-2.17-0.080-0.54-0.144-1.080-0.248-1.616-0.138-0.724-0.326-1.442-0.506-2.16-0.134-0.534-0.252-1.070-0.408-1.6-0.196-0.662-0.436-1.314-0.668-1.968-0.204-0.582-0.396-1.166-0.628-1.74-0.226-0.56-0.494-1.11-0.75-1.662-0.3-0.656-0.598-1.312-0.934-1.954-0.242-0.454-0.514-0.894-0.774-1.342-0.414-0.716-0.83-1.43-1.292-2.124-0.256-0.382-0.538-0.752-0.806-1.128-0.514-0.716-1.036-1.428-1.602-2.116-0.090-0.11-0.162-0.226-0.254-0.336-0.244-0.292-0.516-0.542-0.768-0.826-0.534-0.6-1.068-1.198-1.644-1.772-0.48-0.478-0.982-0.924-1.48-1.376-0.354-0.316-0.674-0.658-1.040-0.964l-405.788-335.666c-6.568-6.436-14.918-10.166-23.564-11.124-0.16-0.022-0.32-0.050-0.48-0.066-0.838-0.082-1.676-0.11-2.518-0.14-0.496-0.020-0.994-0.058-1.492-0.058s-0.996 0.040-1.492 0.058c-0.842 0.028-1.68 0.058-2.518 0.14-0.16 0.016-0.32 0.044-0.48 0.066-8.646 0.956-16.996 4.688-23.564 11.124l-405.662 335.542c-7.13 5.982-11.616 13.93-13.392 22.382-0.032 0.14-0.070 0.278-0.1 0.42-0.212 1.072-0.37 2.152-0.494 3.238-0.032 0.258-0.078 0.51-0.106 0.77-0.086 0.89-0.114 1.786-0.138 2.68-0.014 0.39-0.052 0.78-0.054 1.17 0 0.040-0.006 0.074-0.006 0.114v204.856c-0.958 12.434 3.854 25.128 14.134 33.754l405.662 335.54c6.568 6.438 14.918 10.168 23.564 11.124 0.16 0.020 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058 0.054 0 0.11-0.008 0.162-0.008 0.042 0 0.084 0.008 0.126 0.008 0.342 0 0.672-0.042 1.012-0.050 0.062-0.004 0.126-0.008 0.192-0.008 0.134-0.004 0.27-0.020 0.402-0.024 10.602-0.422 20.136-4.938 27.054-12.046l404.526-334.624c0.084-0.066 0.166-0.136 0.248-0.204l0.12-0.098c0.17-0.144 0.314-0.304 0.48-0.45 0.814-0.704 1.614-1.43 2.37-2.2 0.296-0.3 0.562-0.624 0.85-0.934 0.602-0.652 1.2-1.308 1.756-2 0.3-0.372 0.566-0.758 0.852-1.136 0.504-0.672 1.002-1.344 1.462-2.046 0.242-0.368 0.458-0.75 0.686-1.124 0.458-0.754 0.908-1.508 1.316-2.292 0.164-0.312 0.304-0.636 0.46-0.954 0.426-0.872 0.832-1.746 1.196-2.652 0.092-0.23 0.168-0.464 0.256-0.696 0.376-0.996 0.728-2 1.026-3.032 0.042-0.148 0.074-0.296 0.114-0.442 0.306-1.102 0.578-2.218 0.79-3.356 0.016-0.082 0.024-0.164 0.038-0.246 0.212-1.184 0.382-2.378 0.49-3.598v0c0.1-1.156 0.176-2.32 0.176-3.5v-204.86c0.024-0.318 0.022-0.638 0.040-0.958 0.026-0.668 0.074-1.338 0.074-2.008zM143.89 493.202l328.14 271.42v103.902l-328.14-271.18v-104.142zM552.032 764.402l327.868-271.212v103.88l-327.868 270.972v-103.64zM511.898 122.66l345.348 285.42-345.348 285.42-345.374-285.42 345.374-285.42z",structure:"M954.324 833.3c0.208-0.558 0.388-1.128 0.586-1.692 0.3-0.868 0.608-1.734 0.882-2.61 0.234-0.746 0.444-1.5 0.66-2.25 0.212-0.734 0.432-1.464 0.624-2.204 0.204-0.766 0.378-1.54 0.562-2.308 0.18-0.766 0.366-1.528 0.528-2.292 0.146-0.692 0.272-1.386 0.402-2.082 0.168-0.89 0.332-1.778 0.476-2.668 0.090-0.566 0.164-1.136 0.244-1.704 0.148-1.058 0.29-2.118 0.404-3.18 0.042-0.422 0.080-0.852 0.12-1.274 0.118-1.23 0.212-2.46 0.282-3.696 0.018-0.304 0.030-0.606 0.042-0.906 0.062-1.36 0.098-2.718 0.104-4.082 0-0.114 0.008-0.226 0.008-0.34 0-0.128-0.010-0.258-0.010-0.39-0.006-1.368-0.042-2.734-0.104-4.102-0.014-0.296-0.030-0.594-0.044-0.89-0.070-1.246-0.166-2.492-0.284-3.738-0.042-0.434-0.084-0.864-0.128-1.292-0.116-1.050-0.25-2.098-0.4-3.144-0.088-0.628-0.18-1.258-0.282-1.882-0.13-0.8-0.276-1.598-0.428-2.394-0.162-0.868-0.332-1.73-0.518-2.594-0.116-0.524-0.24-1.046-0.364-1.57-0.264-1.128-0.542-2.25-0.846-3.36-0.070-0.254-0.144-0.504-0.214-0.754-11.38-40.382-48.464-69.996-92.488-69.996-3.066 0-6.096 0.16-9.088 0.442l-264.576-458.262c21.080-29.698 24.3-70.13 4.9-103.732-12.596-21.816-32.458-36.812-54.764-43.724-0.062-0.020-0.124-0.036-0.186-0.054-1.394-0.43-2.798-0.83-4.21-1.196-0.296-0.076-0.596-0.142-0.894-0.216-1.208-0.3-2.422-0.586-3.642-0.84-0.384-0.082-0.774-0.148-1.16-0.224-1.168-0.228-2.338-0.444-3.514-0.626-0.384-0.060-0.776-0.112-1.162-0.168-1.208-0.174-2.416-0.332-3.63-0.46-0.35-0.038-0.7-0.066-1.048-0.1-1.27-0.12-2.54-0.218-3.814-0.29-0.32-0.018-0.642-0.032-0.964-0.044-1.294-0.058-2.594-0.094-3.892-0.1-0.166 0-0.328-0.012-0.492-0.012-0.19 0-0.376 0.014-0.564 0.014-1.21 0.008-2.42 0.040-3.63 0.092-0.494 0.022-0.986 0.046-1.478 0.074-0.992 0.060-1.986 0.136-2.978 0.226-0.722 0.064-1.442 0.134-2.16 0.214-0.696 0.080-1.392 0.17-2.090 0.266-1.014 0.136-2.026 0.286-3.032 0.452-0.352 0.060-0.704 0.124-1.054 0.19-44.97 8.028-79.122 47.302-79.122 94.582 0 20.756 6.602 39.958 17.79 55.67l-264.58 458.26c-2.954-0.274-5.94-0.434-8.962-0.434-53.078 0-96.11 43.032-96.11 96.11 0 53.082 43.032 96.11 96.11 96.11 38.8 0 72.208-23.004 87.386-56.11l529.202-0.004c0.138 0.304 0.292 0.606 0.436 0.91 0.226 0.48 0.456 0.958 0.69 1.434 0.474 0.968 0.966 1.93 1.476 2.882 0.214 0.402 0.432 0.8 0.65 1.2 0.314 0.566 0.604 1.14 0.93 1.708 0.284 0.488 0.59 0.958 0.88 1.442 0.122 0.2 0.244 0.398 0.37 0.602 27.086 44.372 84.766 59.278 130.040 33.136 18.864-10.89 32.624-27.214 40.478-45.852 0.054-0.132 0.104-0.266 0.158-0.398 0.518-1.248 1.020-2.506 1.486-3.776zM238.414 744.282l264.542-458.204c0.424 0.042 0.85 0.064 1.276 0.098 0.668 0.056 1.334 0.112 2.004 0.152 0.652 0.040 1.306 0.066 1.96 0.092 1.122 0.046 2.244 0.076 3.368 0.084 0.146 0.002 0.292 0.012 0.438 0.012 0.168 0 0.334-0.012 0.502-0.014 1.436-0.004 2.874-0.040 4.31-0.108 0.088-0.006 0.176-0.010 0.262-0.014 1.376-0.070 2.75-0.168 4.124-0.296l264.596 458.298c-3.48 4.894-6.514 10.122-9.042 15.636h-529.226c-2.546-5.55-5.602-10.814-9.114-15.736z",cpu:"M392.016 672.016h240.032c22.092 0 40-17.908 40-40v-240.032c0-22.092-17.908-40-40-40h-240.032c-22.092 0-40 17.908-40 40v240.032c0 22.092 17.908 40 40 40zM432.016 431.984h160.032v160.032h-160.032v-160.032zM864.032 424h71.98c22.094 0 40.004-17.906 40.004-40 0-22.092-17.906-40-40-40h-71.984v-143.968c0-22.092-17.908-40-40-40h-144v-72.012c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.016h-176v-72.012c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v72.016h-144c-22.092 0-40 17.908-40 40v143.968h-71.984c-22.094 0-40 17.908-40 40s17.91 40 40 40h71.984v176h-71.984c-22.094 0-40 17.908-40 40s17.91 40 40 40h71.984v144.030c0 22.092 17.908 40 40 40h144v71.954c0 22.094 17.906 40 40 40s40-17.91 40-40v-71.954h176v71.954c0 22.094 17.906 40 40 40s40-17.91 40-40v-71.954h144c22.092 0 40-17.908 40-40v-144.030h71.98c22.094 0 40.004-17.906 40.004-40 0-22.092-17.906-40-40-40h-71.984v-176zM784.032 784.032h-143.692c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-127.382c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-127.382c-0.104 0-0.204-0.016-0.308-0.016s-0.206 0.016-0.308 0.016h-143.696v-544h544v544z",memory:"M320.032 416.032v-152.968c0-22.094 17.91-40 40-40 22.094 0 40 17.91 40 40.004v152.964c0 22.090-17.906 40-40 40s-40-17.908-40-40zM512 456.032c22.094 0 40-17.91 40-40v-152.964c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v152.968c0 22.092 17.908 40 40 40zM664.032 456.032c22.094 0 40-17.91 40-40v-82.996c0-22.094-17.906-40.004-40-40.004-22.090 0-40 17.906-40 40v83c0 22.092 17.906 40 40 40zM864.018 316.616v603.418c0 0.004 0 0.004 0 0.004 0 6.798-1.71 13.198-4.704 18.808-0.044 0.084-0.078 0.172-0.124 0.254-0.524 0.976-1.112 1.914-1.722 2.836-0.098 0.15-0.18 0.312-0.282 0.46-7.188 10.638-19.36 17.634-33.168 17.634h-623.99c-22.090 0-40-17.908-40-40v-343.574c-0.002-0.142-0.022-0.282-0.022-0.426 0-0.142 0.020-0.282 0.022-0.426v-471.574c0-20.34 15.192-37.092 34.838-39.63 1.694-0.216 3.408-0.37 5.162-0.37l411.254 0.052c10.594-0.286 21.282 3.58 29.368 11.668l211.672 212.206c7.906 7.908 11.792 18.298 11.696 28.66zM240.026 144.034v391.998h543.99v-203.27l-188.252-188.728h-355.738zM784.016 880.032v-264h-543.99v264h543.99z",database:"M895.95 221.364c-3.414-87.32-173.972-157.672-383.918-157.672s-380.504 70.352-383.918 157.672h-0.082v578.328c0 88.552 171.918 160.338 384 160.338s384-71.786 384-160.338v-578.328h-0.082zM798.412 430.578c-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-92.9c70.29 37.478 179.654 61.566 302.5 61.566s232.21-24.088 302.5-61.566v92.9c-2.476 3.266-7.416 8.522-16.12 14.874zM814.532 514.464v93.24c-2.474 3.266-7.416 8.522-16.12 14.874-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-93.24c70.29 37.48 179.654 61.566 302.5 61.566s232.21-24.086 302.5-61.566zM225.652 209.146c15.6-11.386 37.69-22.346 63.88-31.696 60.984-21.77 140.002-33.758 222.498-33.758s161.514 11.988 222.498 33.758c26.192 9.348 48.282 20.308 63.882 31.696 8.704 6.352 13.646 11.608 16.12 14.874v0.026c-2.474 3.266-7.416 8.522-16.12 14.874-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.706-6.352-13.646-11.608-16.122-14.874v-0.026c2.476-3.268 7.418-8.524 16.122-14.874zM798.412 814.578c-15.6 11.386-37.69 22.346-63.882 31.696-60.984 21.77-140.002 33.758-222.498 33.758s-161.514-11.988-222.498-33.758c-26.192-9.348-48.282-20.308-63.88-31.696-8.714-6.36-13.66-11.62-16.13-14.886h0.010v-93.228c70.29 37.48 179.654 61.566 302.5 61.566s232.21-24.086 302.5-61.566v93.228h0.010c-2.474 3.266-7.42 8.526-16.132 14.886z",power:"M320 118.3a45.7 45.7 0 0122.5 85.6 384.6 384.6 0 00-120.8 93.4A380.9 380.9 0 00128 548.6c0 102.5 39.9 199 112.4 271.5A381.5 381.5 0 00512 932.5c102.5 0 199-39.9 271.5-112.4a381.5 381.5 0 00112.4-271.5c0-98.1-36.5-190.6-103.1-262l-2-2-9.4-9.5a384.2 384.2 0 00-100-71.2 45.6 45.6 0 0139.6-82.2l.6.3h.2l.1.1h.1l2 1 4 2 1.9 1 3.5 1.9a480.6 480.6 0 0144.9 27l2 1.3v-.3.1a475.4 475.4 0 11-545.3 6.2l3.6-2.6v.1a471.4 471.4 0 0151.7-31.7l3.7-2 1.4-.7.3-.2 6.4-3.1.1-.1h.1l.7-.3c5.2-2.1 11-3.4 17-3.4zM511.8 0c25 0 45.3 20 45.7 45v421.3a45.7 45.7 0 01-91.4.7V45.7A45.7 45.7 0 01511.9 0z",outbox:"M960.062 616v304c0 1.382-0.070 2.746-0.208 4.090-2.046 20.172-19.080 35.91-39.792 35.91h-816c-22.090 0-40-17.906-40-40v-304c0-22.090 17.91-40 40-40s40 17.91 40 40v264h736v-264c0-22.090 17.91-40 40-40s40 17.912 40 40zM664.732 200.168l-124.41-124.41c-0.014-0.014-0.024-0.028-0.038-0.042-3.57-3.57-7.664-6.284-12.018-8.222-5.316-2.368-11.028-3.54-16.742-3.47-0.14-0.002-0.276-0.020-0.414-0.020-13.552 0-25.512 6.756-32.748 17.072l-119.1 119.092c-15.622 15.62-15.618 40.948 0.002 56.57 15.622 15.62 40.95 15.62 56.568 0l55.276-55.276v462.54c0 22.094 17.912 40 40.002 40 22.092 0 40-17.91 40-40v-464.314l57.052 57.052c15.622 15.624 40.948 15.62 56.568 0 15.628-15.624 15.628-40.952 0.002-56.572z",share:"M896.006 920c0 22.090-17.91 40-40 40h-688.006c-22.090 0-40-17.906-40-40v-549.922c-0.838-3.224-1.33-6.588-1.33-10.072 0-22.090 17.908-40.004 40-40.004h178.66c22.092 0.004 40 17.914 40 40.004 0 22.088-17.908 40-40 40h-137.33v479.996h607.998v-479.996h-138.658c-22.090 0-40-17.912-40-40 0-22.090 17.906-40.004 40-40.004h178.658c22.090 0 40 17.91 40 40v559.844c0 0.050 0.008 0.102 0.008 0.154zM665.622 200.168l-124.452-124.45c-8.042-8.042-18.65-11.912-29.186-11.674-1.612-0.034-3.222 0-4.828 0.16-0.558 0.054-1.098 0.16-1.648 0.238-0.742 0.104-1.484 0.192-2.218 0.338-0.656 0.13-1.29 0.31-1.934 0.472-0.622 0.154-1.244 0.292-1.86 0.476-0.64 0.196-1.258 0.436-1.886 0.66-0.602 0.216-1.208 0.414-1.802 0.66-0.598 0.248-1.17 0.54-1.754 0.814-0.598 0.282-1.202 0.546-1.788 0.86-0.578 0.312-1.13 0.664-1.694 1-0.552 0.332-1.116 0.644-1.654 1.006-0.67 0.448-1.3 0.942-1.942 1.426-0.394 0.302-0.806 0.576-1.196 0.894-1.046 0.858-2.052 1.768-3.008 2.726l-124.398 124.39c-15.622 15.62-15.618 40.948 0.002 56.57 15.622 15.62 40.95 15.62 56.568 0l56.164-56.166v439.426c0 22.094 17.912 40 40.002 40 22.092 0 40-17.91 40-40v-441.202l57.942 57.942c15.622 15.624 40.948 15.62 56.568 0 15.626-15.618 15.626-40.946 0.002-56.566z",button:"M644.634 802.32c-4.558 5.434-10.254 9.328-16.446 11.672l0.008 0.024-45.628 16.606 27.54 75.66c7.554 20.756-3.148 43.71-23.906 51.266s-43.714-3.146-51.27-23.906l-27.54-75.656-47.63 17.29c-6.020 1.956-12.586 2.518-19.254 1.342-21.75-3.836-36.282-24.582-32.45-46.34l30.57-173.328c2.55-14.476 12.61-25.714 25.458-30.508 0.292-0.118 0.586-0.23 0.878-0.34 0.238-0.084 0.476-0.168 0.718-0.246 12.942-4.624 27.91-2.492 39.196 6.98l134.824 113.13c16.932 14.2 19.144 39.432 4.932 56.354zM960.002 664v-368.082c0-22.092-17.908-40-40-40h-816c-22.092 0-40 17.908-40 40l-0.292 368.238c0 22.092 17.908 40 40 40h240.292c22.092 0 40-17.908 40-40s-17.908-40-40-40h-200.292l0.292-288.238h736v288.082h-200c-22.092 0-40 17.908-40 40s17.908 40 40 40h240c22.092 0 40-17.908 40-40z",form:"M948.362 178.828l-471.082 470.086c-0.24 0.25-0.45 0.52-0.698 0.77-7.82 7.82-18.070 11.722-28.32 11.712-10.25 0.010-20.504-3.892-28.324-11.712-0.262-0.262-0.48-0.546-0.734-0.812l-221.736-221.738c-15.624-15.622-15.624-40.95 0-56.566 15.618-15.622 40.946-15.624 56.57 0l194.224 194.222 443.53-442.528c15.622-15.618 40.95-15.618 56.57 0 15.62 15.62 15.62 40.946 0 56.566zM98.372 128.448c-18.926 0-34.266 15.342-34.266 34.268v699.032c0 18.926 15.34 34.266 34.266 34.266h699.032c18.926 0 34.266-15.34 34.266-34.266v-430.588c0 0 0.002-1.184 0.002-1.788 0-22.090-17.914-40-40.004-40s-40 17.91-40 40c0 0.288 0.002 386.64 0.002 386.64h-607.562v-607.564h600.002c22.090-0.002 40.002-17.906 40.002-40 0-22.090-17.914-40-40.004-40z",check:"M948.598 199.75c-15.622-15.618-40.95-15.618-56.57 0l-535.644 535.644-224.060-224.062c-15.624-15.624-40.954-15.62-56.57 0-15.624 15.62-15.624 40.948 0 56.568l251.574 251.574c0.252 0.266 0.472 0.55 0.734 0.812 7.82 7.82 18.072 11.724 28.322 11.714 10.25 0.010 20.502-3.894 28.322-11.714 0.248-0.248 0.456-0.518 0.698-0.77l563.196-563.202c15.618-15.618 15.618-40.94-0.002-56.564z",batchaccept:"M684 277L271 772l-1 1a40 40 0 0 1-56 5l-1-1L14 610a40 40 0 1 1 52-61l169 142 387-465a40 40 0 0 1 62 51zm340 234c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0-216c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0 432c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40z",batchdeny:"M1024 512c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0-216c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zm0 432c0-22-18-40-40-40H808a40 40 0 0 0 0 80h176c22 0 40-18 40-40zM625 236c16 15 16 41 0 56L406 512l220 220a40 40 0 1 1-57 57L349 568 129 788a40 40 0 1 1-57-56l220-220L73 292a40 40 0 0 1 56-57l220 220 219-219c16-16 41-16 57 0z",home:"M948.12 483.624l-407.814-407.754c-7.812-7.808-18.046-11.712-28.282-11.712-10.238 0-20.472 3.904-28.282 11.712l-407.92 407.86c-15.624 15.622-15.624 40.948-0.006 56.57s40.944 15.622 56.568 0.004l19.616-19.612v366.708c0 22.090 17.91 40 40 40h190.696c0.416 0.014 0.82 0.062 1.238 0.062 11.054 0 21.060-4.484 28.3-11.734 7.266-7.244 11.766-17.262 11.766-28.332 0-0.418-0.050-0.822-0.062-1.238v-263.204h176.060v263.934c0 22.090 17.91 40 40 40l191.876 0.124c2.292 0 4.524-0.236 6.708-0.608 0.45-0.074 0.91-0.116 1.356-0.206 0.21-0.044 0.414-0.116 0.628-0.162 17.906-3.972 31.308-19.924 31.308-39.026v-366.492l19.682 19.68c15.622 15.62 40.948 15.616 56.568-0.006s15.618-40.948-0.004-56.568zM791.876 448.272v398.71l-111.874-0.074v-263.876c0-0.020-0.002-0.042-0.002-0.062 0-0.006 0-0.014 0-0.022 0-22.090-17.91-40-40-40h-254.002c-0.556 0-1.1 0.060-1.65 0.084-0.14-0.002-0.274-0.022-0.414-0.022-22.090 0-40 17.91-40 40v264.382h-111.934v-399.392c0-2.286-0.234-4.512-0.604-6.694l280.626-280.584 280.514 280.472c-0.412 2.302-0.66 4.658-0.66 7.078z",admin:"M919.596 847.534h-88.414v-467.716l88.75-0.044c13.688-0.132 26.958-7.25 34.294-19.96 11.044-19.13 4.49-43.596-14.642-54.64l-407.904-235.676c-0.44-0.254-0.894-0.45-1.34-0.684-0.542-0.29-1.084-0.578-1.638-0.84-0.696-0.328-1.4-0.62-2.108-0.904-0.478-0.194-0.954-0.388-1.44-0.56-0.78-0.282-1.564-0.524-2.352-0.754-0.442-0.126-0.878-0.256-1.324-0.37-0.808-0.206-1.618-0.376-2.43-0.528-0.468-0.088-0.934-0.174-1.404-0.246-0.768-0.116-1.534-0.204-2.302-0.274-0.554-0.052-1.108-0.096-1.664-0.124-0.672-0.034-1.34-0.044-2.012-0.044-0.67 0-1.338 0.012-2.010 0.044-0.556 0.030-1.11 0.072-1.664 0.124-0.77 0.070-1.536 0.158-2.302 0.274-0.468 0.072-0.938 0.158-1.402 0.246-0.814 0.152-1.624 0.322-2.432 0.528-0.444 0.114-0.882 0.242-1.322 0.37-0.79 0.23-1.574 0.472-2.356 0.754-0.484 0.172-0.958 0.368-1.438 0.56-0.708 0.286-1.41 0.576-2.11 0.904-0.554 0.262-1.094 0.55-1.636 0.84-0.446 0.234-0.9 0.43-1.34 0.684l-407.906 235.672c-19.128 11.044-25.686 35.51-14.64 54.64 7.34 12.71 20.606 19.828 34.292 19.96v0.044h89.842v467.716h-89.474c-22.090 0-40 17.91-40 40s17.91 40 40 40h128.276c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h183.602c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h183.602c0.402 0.012 0.794 0.060 1.2 0.060s0.796-0.048 1.2-0.060h313.154c22.098 0 40-17.91 40-40-0.006-22.090-17.914-39.996-40.006-39.996zM751.182 847.534h-105.94v-467.716h105.94v467.716zM252.93 299.816l258.736-149.486 258.738 149.486h-517.474zM565.242 379.816v467.716h-106v-467.716h106zM273.242 379.816h106v467.716h-106v-467.716z",paragraph:"M728.032 96.032h-116.98c-0.026 0-0.050-0.004-0.076-0.004s-0.050 0.004-0.076 0.004h-199.848c-0.026 0-0.050-0.004-0.076-0.004s-0.050 0.004-0.076 0.004h-31.924c-123.712 0-224 100.292-224 224 0 121.032 95.994 219.628 216 223.842v344.158c0 22.092 17.91 40 40 40 22.086 0 40-17.908 40-40v-712h120v712c0 22.092 17.91 40 40 40 22.086 0 40-17.908 40-40v-712h77.056c22.094 0 40-17.91 40-40 0-22.092-17.91-40-40-40z",basket:"M632.254 695.604v-112.016c-0.004-22.092 17.906-40.002 40-40.002 22.090 0.002 40 17.908 40 40.002l-0.004 112.018c0.004 22.088-17.906 39.996-39.996 39.998-22.094 0.002-40.004-17.904-40-40zM352.246 735.604c22.090-0.002 40-17.91 39.996-39.998l0.004-112.018c0-22.094-17.91-40-40-40.002-22.094 0-40.004 17.91-40 40.002v112.016c-0.004 22.096 17.906 40.002 40 40zM512.25 735.604c22.090-0.002 40-17.91 39.996-39.998l0.004-112.018c0-22.094-17.91-40-40-40.002-22.094 0-40.004 17.91-40 40.002v112.016c-0.004 22.096 17.906 40.002 40 40zM950.3 397.424c-7.596-8.686-18.574-13.67-30.114-13.67h-313.284c0.87 5.196 1.346 10.524 1.346 15.966 0 24.608-9.27 47.044-24.494 64.034h290.684l-47.318 351.376-629.908-0.030-47.502-351.346h291.034c-15.224-16.988-24.494-39.426-24.494-64.034 0-5.444 0.476-10.772 1.346-15.966h-313.66c-11.542 0-22.524 4.986-30.12 13.678-7.596 8.694-11.066 20.242-9.52 31.682l51.614 381.742 0.050 0.042c5.832 47.424 46.222 84.158 95.222 84.172l0.054 0.034 601.816-0.034c0.042 0 0.082 0.002 0.124 0.002 49.414 0 90.090-37.34 95.396-85.336l51.258-380.64c1.54-11.44-1.934-22.984-9.53-31.672zM805.492 105.34c-15.622-15.622-40.95-15.624-56.572 0.004l-230.684 230.684c-2.052-0.2-4.132-0.306-6.236-0.306-35.346 0-64 28.654-64 64s28.654 64 64 64 64-28.654 64-64c0-2.652-0.18-5.262-0.494-7.83l229.986-229.98c15.622-15.624 15.616-40.95-0-56.572z",credit:"M376.188 672.062h-112.124c-22.092 0-40-17.908-40-40s17.908-40 40-40h112.124c22.092 0 40 17.908 40 40s-17.908 40-40 40zM960 232.002v560c0 6.8-1.708 13.2-4.704 18.81-0.044 0.082-0.078 0.172-0.124 0.254-0.524 0.974-1.112 1.914-1.722 2.836-0.098 0.15-0.18 0.31-0.282 0.458-7.188 10.64-19.36 17.638-33.168 17.638h-816c-22.090 0-40-17.908-40-40v-559.998c0-20.34 15.192-37.092 34.838-39.628 1.694-0.218 3.408-0.372 5.162-0.372h816c1.754 0 3.468 0.152 5.162 0.372 19.646 2.536 34.838 19.288 34.838 39.63zM144 272.002v80.030h736v-80.030h-736zM880 751.998v-239.966h-736v239.966h736z",shield:"M875.146 148.994c-0.064-0.040-0.116-0.094-0.184-0.132-92.714-52.39-221.036-84.83-362.846-84.83-138.512 0-270.346 34.356-362.51 84.618-0.606 0.33-1.138 0.658-1.608 0.986-11.954 6.918-20.016 19.81-20.016 34.614v451.4c0 12.7 5.938 23.996 15.166 31.32l340.538 281.676c6.568 6.434 14.918 10.168 23.564 11.122 0.16 0.024 0.32 0.050 0.48 0.066 0.838 0.082 1.676 0.114 2.518 0.14 0.496 0.020 0.994 0.058 1.492 0.058s0.996-0.040 1.492-0.058c0.842-0.032 1.68-0.058 2.518-0.14 0.16-0.016 0.32-0.042 0.48-0.066 8.646-0.958 16.996-4.688 23.564-11.122l339.36-280.718c10.326-7.23 17.094-19.2 17.094-32.762v-450.918c0.002-15.254-8.54-28.506-21.102-35.254zM207.984 208.212c36.292-18.168 77.668-32.854 123.356-43.722 57.062-13.576 117.884-20.458 180.778-20.458s123.714 6.882 180.778 20.458c30.186 7.182 58.474 16.040 84.674 26.456l-490.846 490.848-78.738-65.070v-408.512zM511.742 867.75l-163.078-134.77 467.586-467.584v350.69l-304.508 251.664z",beaker:"M848.64 790.56l-208.638-361.374v-252.062h24c22.092 0 40-17.908 40-40s-17.908-40-40-40h-304.002c-22.092 0-40 17.908-40 40s17.908 40 40 40h24v252.066l-208.636 361.37c-44 76.208-8 138.564 80 138.564h513.278c87.998 0 123.998-62.354 79.998-138.564zM464 177.124h96.002l-0.070 273.376 63.872 110.628h-223.678c35.932-62.268 63.872-110.684 63.876-110.692v-273.312zM768.64 849.124h-513.278c-8.28 0-14.186-0.976-17.968-2 1.004-3.792 3.112-9.394 7.25-16.564 0 0 54.598-94.614 109.316-189.436l316.026-0.002 109.374 189.44c4.138 7.168 6.246 12.77 7.25 16.562-3.784 1.024-9.69 2-17.97 2z",thumbsup:"M256.972 768.004c0-8.67-3.156-16.158-9.484-22.534-6.332-6.34-13.836-9.484-22.504-9.458-8.682 0-16.188 3.172-22.516 9.458-6.33 6.344-9.488 13.84-9.488 22.534 0 8.692 3.158 16.186 9.488 22.532 6.328 6.286 13.834 9.458 22.516 9.458 8.668 0.028 16.172-3.118 22.504-9.458 6.328-6.376 9.484-13.868 9.484-22.532zM832.948 480.010c0-17.004-6.478-31.908-19.468-44.734-13.014-12.82-27.834-19.25-44.512-19.276h-175.97c0-19.328 7.98-45.904 24.004-79.724 15.968-33.826 23.978-60.568 23.978-80.256 0-32.646-5.332-56.808-15.994-72.48-10.664-15.664-31.988-23.484-63.98-23.484-8.696 8.64-15.012 22.828-19.032 42.486-4.020 19.69-9.102 40.606-15.254 62.752-6.168 22.172-16.080 40.382-29.762 54.738-7.344 7.68-20.168 22.832-38.5 45.496-1.326 1.67-5.164 6.65-11.512 15.010-6.342 8.342-11.594 15.178-15.762 20.508-4.156 5.308-9.91 12.386-17.252 21.218-7.328 8.862-14 16.186-19.988 22.038-5.986 5.794-12.412 11.73-19.26 17.744-6.852 5.984-13.508 10.5-19.99 13.48-6.478 3.010-12.4 4.484-17.756 4.512h-15.982v320.010h15.982c4.332 0 9.596 0.492 15.774 1.504 6.168 1.012 11.676 2.080 16.488 3.258 4.812 1.144 11.154 2.98 19.002 5.466 7.862 2.512 13.702 4.424 17.502 5.74 3.812 1.31 9.732 3.422 17.756 6.238 8.026 2.842 12.866 4.586 14.506 5.272 70.324 24.334 127.304 36.504 170.996 36.504h60.482c64.006 0 96.024-27.836 96.024-83.478 0-8.664-0.848-18.016-2.514-27.996 10.004-5.334 17.936-14.084 23.758-26.276 5.824-12.172 8.724-24.416 8.778-36.746 0-12.366-3.008-23.844-9.024-34.51 17.664-16.682 26.524-36.496 26.524-59.496 0-8.308-1.696-17.554-5.032-27.72-3.336-10.202-7.492-18.104-12.468-23.762 10.636-0.328 19.55-8.15 26.714-23.486 7.192-15.34 10.744-28.82 10.744-40.496v-0.054zM896.984 479.516c0 29.638-8.204 56.816-24.5 81.506 2.98 10.994 4.484 22.476 4.484 34.482 0 25.674-6.344 49.68-19.004 71.99 1.012 7 1.506 14.164 1.506 21.488 0 33.688-10.008 63.354-29.968 89.026 0.326 46.32-13.834 82.904-42.518 109.756-28.682 26.848-66.522 40.246-113.496 40.246h-64.528c-31.99 0-63.542-3.746-94.742-11.268-31.168-7.492-67.246-18.402-108.23-32.758-38.662-13.312-61.656-19.956-68.984-19.956h-143.996c-17.664 0-32.742-6.292-45.252-18.784-12.508-12.5-18.756-27.588-18.756-45.254v-319.982c0-17.666 6.248-32.728 18.756-45.226 12.51-12.52 27.588-18.784 45.252-18.784h136.998c12.002-8.010 34.818-33.822 68.478-77.484 19.33-24.99 37.168-46.344 53.508-64.008 7.996-8.314 13.918-22.586 17.744-42.766 3.828-20.178 8.912-41.232 15.256-63.24 6.36-21.984 16.68-40.002 30.994-53.998 13.002-12.362 28.012-18.514 45.018-18.514 27.998 0 53.152 5.414 75.464 16.242 22.31 10.828 39.316 27.748 50.964 50.77 11.704 23.002 17.5 53.978 17.5 92.962 0 31.008-7.984 63-23.98 96.028h88.014c34.67 0 64.634 12.628 89.956 37.98 25.346 25.346 38.008 55.144 38.008 89.49l0.054 0.056z",mirror:"M857 127.778h-688c-22.092 0-40 17.91-40 40v688c0 22.090 17.908 40 40 40h688c22.094 0 40-17.91 40-40v-688c0-22.092-17.906-40-40-40zM817 815.778h-608v-1.086l606.914-606.914h1.086v608z",switchalt:"M923.946 63.418h-631.232c-20.268 0-36.7 16.432-36.7 36.7v155.286h-155.284c-20.268 0-36.7 16.432-36.7 36.7v631.23c0 20.268 16.43 36.7 36.7 36.7h631.23c20.272 0 36.7-16.432 36.7-36.7v-155.286h155.286c20.272 0 36.7-16.432 36.7-36.7v-631.23c-0.002-20.268-16.43-36.7-36.7-36.7zM688.66 880.032h-544.628v-544.628h111.984v395.946c0 20.268 16.43 36.7 36.7 36.7h395.944v111.982zM688.66 688.046h-352.644v-352.644h352.644v352.644zM880.644 688.046h-111.984v-395.946c0-20.268-16.428-36.7-36.7-36.7h-395.944v-111.984h544.628v544.63z",commit:"M984.032 472h-186.808c-19.474-140.12-139.74-248-285.222-248s-265.748 107.88-285.222 248h-186.746c-22.092 0-40 17.912-40 40.002 0 22.092 17.91 40 40 40h186.746c19.476 140.122 139.74 247.998 285.222 247.998s265.746-107.876 285.222-247.998h186.808c22.092 0 40-17.91 40-40s-17.908-40.002-40-40.002zM512 720c-114.692 0-208-93.308-208-208s93.308-208 208-208 208 93.308 208 208-93.308 208-208 208z",branch:"M861.968 312.032c0-66.168-53.832-120-120-120s-120 53.832-120 120c0 50.55 31.436 93.87 75.77 111.516-5.384 20.352-15.71 39.68-29.844 54.92-28.828 31.092-72.202 46.858-128.91 46.858-77.162 0-129.12 26.162-162.984 55.12V297.15c46.556-16.512 80-60.974 80-113.12 0-66.168-53.832-120-120-120s-120 53.832-120 120c0 52.146 33.444 96.608 80 113.12v429.762c-46.556 16.512-80 60.974-80 113.12 0 66.168 53.832 120 120 120s120-53.832 120-120c0-50.926-31.902-94.514-76.758-111.908 5.222-26.17 16.578-51.154 32.558-70.432 28.8-34.746 71.592-52.364 127.184-52.364 99.498 0 156.922-39.408 187.574-72.466 27.402-29.554 45.708-67.194 52.48-106.716 48.078-15.66 82.93-60.882 82.93-114.114zM336 144.032c22.056 0 40 17.944 40 40s-17.944 40-40 40-40-17.944-40-40 17.944-40 40-40zm0 736c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40zm405.968-528c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.942 40-40 40z",merge:"M776.306 456.032c-51.602 0-95.696 32.744-112.612 78.542-69.674-6.072-141.482-31.012-197.386-69.306-46.266-31.69-100.392-85.728-111.792-168.92 45.4-17.12 77.79-60.998 77.79-112.314 0-66.168-53.832-120-120-120s-120 53.832-120 120c0 52.146 33.444 96.608 80 113.12v429.762c-46.556 16.512-80 60.974-80 113.12 0 66.168 53.832 120 120 120s120-53.832 120-120c0-52.146-33.444-96.608-80-113.12V471.444c19.622 21.888 42.618 41.898 68.792 59.828 68.422 46.868 156.64 77.042 241.646 83.462 16.14 47.23 60.932 81.3 113.56 81.3 66.168 0 120-53.832 120-120s-53.83-120.002-119.998-120.002zm-464-312c22.056 0 40 17.944 40 40s-17.944 40-40 40-40-17.944-40-40 17.942-40 40-40zm0 736c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40zm464-264c-22.056 0-40-17.944-40-40s17.944-40 40-40 40 17.944 40 40-17.944 40-40 40z",pullrequest:"M631 157c104 1 171 52 171 166v397a123 123 0 1 1-82 0V323c0-63-27-83-90-84h-24l22 23a41 41 0 1 1-58 58l-93-93a41 41 0 0 1 1-58l93-93a41 41 0 1 1 58 58l-23 23h25zM222 314a123 123 0 1 1 82 0v406a123 123 0 1 1-82 0V314zm41 564a41 41 0 1 0 0-82 41 41 0 0 0 0 82zm0-639a41 41 0 1 0 0-83 41 41 0 0 0 0 83zm498 639a41 41 0 1 0 0-82 41 41 0 0 0 0 82z",chromatic:"M512 0a512 512 0 110 1024A512 512 0 01512 0zM368 452v284a144 144 0 00274 59c-10-4-20-8-29-14l-111-64c-6-3-10-10-10-16V523l-124-71zm454 89c-8 7-17 13-26 18L551 701l81 46 1 1a144 144 0 00189-207zm-493-89l-81 47h-1a143 143 0 00-52 196 144 144 0 00137 71c-2-10-3-21-3-32V452zm375-195l-12 1c2 10 3 21 3 32v128c0 7-4 13-10 17l-154 88v144l245-142 2-1a144 144 0 00-74-267zm-384 0c-51 0-99 28-125 72-28 49-25 109 7 154 8-7 17-13 26-18l111-64a20 20 0 0120 0l153 88 124-71-244-141-1-1c-22-12-46-19-71-19zm192-111c-57 0-107 33-130 83 10 4 19 8 29 14l245 141v-96c-2-79-66-142-144-142z",twitter:"M960 233.114c-32.946 14.616-68.41 24.5-105.598 28.942 37.954-22.762 67.098-58.774 80.856-101.688-35.52 21.054-74.894 36.368-116.726 44.598-33.542-35.724-81.316-58.038-134.204-58.038-101.496 0-183.796 82.292-183.796 183.814 0 14.424 1.628 28.45 4.758 41.89-152.75-7.668-288.22-80.872-378.876-192.072-15.822 27.15-24.898 58.706-24.898 92.42 0 63.776 32.458 120.034 81.782 153.010-30.116-0.944-58.458-9.212-83.262-22.982-0.028 0.75-0.028 1.546-0.028 2.324 0 89.070 63.356 163.334 147.438 180.256-15.426 4.186-31.664 6.426-48.442 6.426-11.836 0-23.35-1.146-34.574-3.28 23.406 73.006 91.286 126.16 171.726 127.632-62.914 49.324-142.18 78.696-228.314 78.696-14.828 0-29.448-0.876-43.842-2.568 81.33 52.138 177.96 82.574 281.786 82.574 338.11 0 523-280.104 523-523.014 0-7.986-0.164-15.914-0.542-23.778 35.952-25.96 67.124-58.318 91.756-95.162z",google:"M799.094 79.996c0 0-200.938 0-267.936 0-120.126 0-233.188 91.004-233.188 196.434 0 107.692 81.904 194.624 204.124 194.624 8.496 0 16.75-0.148 24.812-0.74-7.942 15.186-13.594 32.286-13.594 50.022 0 29.974 16.094 54.226 36.466 74.042-15.376 0-30.248 0.438-46.438 0.438-148.782 0.036-263.312 94.784-263.312 193.056 0 96.758 125.534 157.312 274.312 157.312 169.656 0 263.312-96.25 263.312-193.024 0-77.6-22.908-124.062-93.686-174.156-24.216-17.128-70.534-58.812-70.534-83.32 0-28.69 8.19-42.868 51.406-76.624 44.346-34.63 75.688-83.302 75.688-139.944 0-67.372-30-133.058-86.374-154.746h85l59.942-43.374zM701.504 735.438c2.092 8.992 3.276 18.226 3.276 27.624 0 78.226-50.374 139.304-194.934 139.304-102.874 0-177.124-65.078-177.124-143.304 0-76.622 92.122-140.434 194.934-139.32 24.004 0.254 46.376 4.136 66.69 10.702 55.812 38.834 95.874 60.808 107.158 104.994zM536.844 443.782c-69-2.094-134.624-77.212-146.564-167.876-11.874-90.664 34.378-160.030 103.442-157.97 68.996 2.060 134.594 74.818 146.53 165.432 11.906 90.696-34.408 162.508-103.408 160.414z",gdrive:"M465.926 641.356l-149.328 258.708h494.074l149.328-258.708h-494.074zM917.704 567.988l-256.33-444.048h-298.686l256.356 444.048h298.66zM320.236 197.442l-256.236 443.914 149.36 258.708 256.23-443.914-149.354-258.708z",youtube:"M704.010 511.988c0-12.332-5.038-21.358-15.042-26.992l-255.982-159.99c-10.344-6.666-21.178-6.998-32.51-1.008-10.988 5.984-16.492 15.312-16.492 28.002v320c0 12.69 5.504 22.018 16.492 28.002 5.332 2.678 10.516 3.996 15.506 3.996 6.668 0 12.334-1.644 17.004-4.98l255.982-160.014c10.004-5.69 15.042-14.684 15.042-26.992v-0.024zM960 511.988c0 31.99-0.164 56.98-0.488 75.032-0.334 17.99-1.754 40.738-4.27 68.25-2.516 27.504-6.262 52.058-11.27 73.742-5.332 24.338-16.84 44.85-34.504 61.496-17.64 16.63-38.306 26.308-61.96 28.988-73.992 8.342-185.824 12.526-335.508 12.526-149.668 0-261.5-4.184-335.5-12.526-23.662-2.656-44.414-12.302-62.242-28.988-17.834-16.678-29.412-37.182-34.744-61.496-4.672-21.684-8.258-46.238-10.756-73.742-2.508-27.512-3.928-50.26-4.254-68.25-0.342-18.050-0.504-43.042-0.504-75.032 0-31.998 0.162-57.010 0.504-75.008 0.326-18.022 1.746-40.768 4.254-68.28 2.498-27.474 6.262-52.082 11.252-73.744 5.34-24.336 16.842-44.842 34.504-61.496 17.648-16.654 38.324-26.332 61.986-29.010 74-8.312 185.832-12.472 335.5-12.472 149.684 0 261.516 4.16 335.508 12.472 23.654 2.678 44.406 12.356 62.232 29.010 17.826 16.678 29.422 37.16 34.73 61.496 4.702 21.662 8.256 46.27 10.772 73.744 2.516 27.512 3.936 50.258 4.27 68.28 0.324 17.998 0.488 43.010 0.488 75.008z",facebook:"M582.52 960h-167.88v-448h-112v-154.396l112-0.052-0.166-90.948c-0.036-125.974 34.12-202.604 182.484-202.604h123.542v154.424h-77.19c-57.782 0-60.566 21.56-60.566 61.85l-0.218 77.278h138.854l-16.376 154.394-122.36 0.052-0.124 448.002z",medium:"M0 0v1024h1024v-1024h-1024zM850.708 242.614l-54.918 52.655c-3.858 2.965-6.321 7.581-6.321 12.772 0 0.933 0.080 1.847 0.232 2.736l-0.014-0.095v386.883c-0.139 0.794-0.219 1.708-0.219 2.641 0 5.191 2.462 9.807 6.283 12.744l0.038 0.028 53.637 52.655v11.558h-269.774v-11.558l55.559-53.936c5.461-5.456 5.461-7.068 5.461-15.413v-312.719l-154.477 392.344h-20.874l-179.851-392.344v262.947c-0.209 1.465-0.329 3.156-0.329 4.875 0 9.848 3.924 18.78 10.293 25.317l-0.008-0.008 72.258 87.649v11.558h-204.895v-11.558l72.263-87.649c6.070-6.284 9.81-14.852 9.81-24.293 0-2.081-0.182-4.12-0.53-6.101l0.031 0.21v-304.044c0.086-0.804 0.135-1.737 0.135-2.682 0-7.844-3.389-14.896-8.782-19.773l-0.023-0.021-64.234-77.378v-11.558h199.438l154.157 338.083 135.53-338.083h190.123v11.558z",graphql:"M576 849a85 85 0 0 0-125-2L253 733l1-3h517l2 5-197 114zM451 177l2 2-258 448-3-1V398a85 85 0 0 0 61-107l198-114zm321 114a85 85 0 0 0 61 107v228l-3 1-258-448 2-2 198 114zM254 689a85 85 0 0 0-24-42l259-447a86 86 0 0 0 47 0l259 448a85 85 0 0 0-24 41H254zm643-54c-7-4-15-7-23-9V398a86 86 0 1 0-82-142L595 142a85 85 0 1 0-165 0L233 256a85 85 0 1 0-82 142v228a85 85 0 1 0 82 142l197 114a85 85 0 1 0 164-2l196-114a86 86 0 1 0 107-131z",redux:"M359.016 943.608c-23.82 5.948-47.642 8.322-71.512 8.322-88.208 0-168.084-36.982-207.444-96.534-52.432-79.882-70.296-249.182 102.538-374.356 3.586 19.078 10.746 45.292 15.492 60.834-22.656 16.652-58.39 50.064-81.046 95.324-32.19 63.184-28.61 126.404 9.54 184.798 26.194 39.304 67.926 63.176 121.564 70.34 65.598 8.332 131.154-3.582 194.332-36.94 92.998-48.898 155.014-107.282 195.49-187.162-10.702-10.75-17.818-26.248-19.074-44.15-1.168-36.942 27.45-67.922 64.388-69.132h2.418c35.73 0 65.55 28.61 66.714 64.384 1.206 35.73-24.986 65.546-59.548 69.132-65.6 134.686-181.254 225.312-333.852 255.14zM902.646 540.622c-90.59-106.072-224.11-164.488-376.708-164.488h-19.072c-10.744-21.444-33.402-35.752-58.388-35.752h-2.418c-36.944 1.186-65.548 32.192-64.392 69.13 1.216 35.774 30.99 64.394 66.81 64.394h2.328c26.242-1.208 48.894-17.892 58.434-40.542h21.45c90.624 0 176.46 26.234 253.968 77.482 59.55 39.36 102.49 90.576 126.356 152.596 20.24 50.052 19.074 98.952-2.42 140.64-33.356 63.228-89.37 97.794-163.292 97.794-47.69 0-92.998-14.33-116.822-25.082-13.118 11.958-36.984 31.028-53.64 42.944 51.226 23.87 103.7 36.94 153.762 36.94 114.446 0 199.070-63.132 231.268-126.362 34.562-69.13 32.188-188.326-57.224-289.694zM297.046 708.706c1.21 35.828 30.984 64.394 66.764 64.394h2.368c36.992-1.168 65.556-32.15 64.39-69.132-1.162-35.732-30.984-64.394-66.758-64.394h-2.376c-2.418 0-5.958 0-8.332 1.208-48.89-81.090-69.132-169.27-62.014-264.648 4.792-71.528 28.616-133.516 70.346-184.766 34.568-44.106 101.326-65.57 146.598-66.758 126.402-2.396 180.044 154.968 183.576 218.144 15.542 3.584 41.734 11.936 59.644 17.892-14.328-193.118-133.526-293.266-247.97-293.266-107.28 0-206.236 77.484-245.552 191.932-54.848 152.596-19.070 299.212 47.644 414.826-5.912 8.374-9.494 21.498-8.328 34.568z",github:"M214.6 809.4A417.8 417.8 0 0191.4 512c0-112.3 43.8-218 123.2-297.4A417.8 417.8 0 01512 91.4c112.3 0 218 43.8 297.4 123.2A417.8 417.8 0 01932.6 512c0 112.3-43.8 218-123.2 297.4-49 49-108 84.3-172.2 104.3v-74.4c0-39.5-13.6-68.6-40.7-87.2a354 354 0 0091.9-19.6c15.8-5.6 30-12.2 42.6-19.9a177.8 177.8 0 0036.3-29.8 175 175 0 0029.1-41.7 228 228 0 0018.6-55.9c4.6-21.7 6.9-45.6 6.9-71.7 0-50.7-16.5-93.8-49.5-129.4 15-39.2 13.4-81.8-4.9-127.9l-12.2-1.4c-8.5-1-23.8 2.6-45.8 10.8-22 8.1-46.8 21.5-74.3 40.1a450.9 450.9 0 00-121-16.1 442 442 0 00-120.5 16.1 419.6 419.6 0 00-49.3-29.1c-15.5-7.7-27.9-13-37.2-15.7a127.6 127.6 0 00-41.4-5.6c-2.3.3-4 .6-4.9 1-18.3 46.3-20 89-4.9 127.8a183.5 183.5 0 00-49.5 129.4c0 26.1 2.3 50 6.9 71.7a228.3 228.3 0 0018.6 56 175 175 0 0029.1 41.6 177.9 177.9 0 0036.3 29.8 223.4 223.4 0 0042.6 19.9A353.2 353.2 0 00432 752c-26.8 18.3-40.2 47.3-40.2 87.2v75.9a418.4 418.4 0 01-177-105.8M512 0a512 512 0 100 1024A512 512 0 00512 0",bitbucket:"M362.3 395l53 276.5h195.4l34-198.4h283l-74.4 457a30 30 0 01-29.7 25.3H210.7a41 41 0 01-40-34.2l-127.6-775a30 30 0 0130-34.9l877.8.2a30 30 0 0130 34.8L940.5 395H362.3z",gitlab:"M186.9 75a18.7 18.7 0 0135.6 0l108.8 333.4h361.4L512 961.8 331.3 408.4H78.1zM78.1 408.5L512 961.8 36.8 618.2a37.1 37.1 0 01-13.6-41.6L78 408.4zm867.8 0l55 168.2c5 15.3-.5 32.1-13.7 41.6L512 961.8l434-553.4zM837.1 75l108.8 333.3H692.7L801.5 75a18.7 18.7 0 0135.6 0z",discord:"M371 147c-14 0-126 3-245 91 0 0-126 227-126 507 0 0 74 126 268 132l58-71c-111-34-153-103-153-103l24 15 4 2 8 4a668 668 0 0 0 420 68 629 629 0 0 0 228-89s-44 71-159 103l58 71c194-7 268-133 268-132 0-280-126-507-126-507-126-94-246-91-246-91l-12 14a576 576 0 0 1 218 110 729 729 0 0 0-441-81l-15 1c-31 4-105 14-199 56-33 14-52 24-52 24s72-69 230-114l-9-10h-1zm-23 323c50 0 91 43 90 97 0 53-40 96-90 96-49 0-89-43-89-96 0-54 39-97 89-97zm321 0c49 0 89 43 89 97 0 53-39 96-89 96s-90-43-90-96c0-54 40-97 90-97z",contrast:"M368 713h79l266-266v-79L368 713zm192 0h153V560L560 713zm98-402h-79L311 579v79l347-347zm-192 0H311v155l155-155zm467 402V91H311v128h452c23 0 42 19 42 42v452h128zM713 933V805H261c-23 0-42-19-42-42V311H91v622h622zM982 0c23 0 42 19 42 42v721c0 23-19 42-42 42H805v177c0 23-19 42-42 42H42c-23 0-42-19-42-42V261c0-23 19-42 42-42h177V42c0-23 19-42 42-42h721z",unfold:"M512 645l8 1c21 4 37 22 37 44v181l52-52 6-6a45 45 0 0 1 58 69l-129 129-7 5a45 45 0 0 1-57-5L351 882l-5-6a45 45 0 0 1 5-57l7-6c17-12 41-10 57 6l52 52V690l1-8c4-21 22-37 44-37zM337 275a45 45 0 1 1 0 90H229l91 102h382l91-102H685a45 45 0 1 1 0-90h208c39 0 59 46 34 75L782 512l145 162c25 29 5 75-34 75H685a45 45 0 1 1 0-90h108l-91-102H320l-91 102h108a45 45 0 1 1 0 90H129c-38 0-59-46-33-75l144-162L96 350c-24-27-8-69 26-74l7-1h208zM537 8l7 6 129 129a45 45 0 0 1-58 68l-6-5-52-52v181c0 22-16 40-37 44h-8c-22 0-40-15-44-36l-1-8V153l-52 53a45 45 0 0 1-57 5l-7-5a45 45 0 0 1-5-57l5-6L480 14c16-16 40-18 57-6z",sharealt:"M130 85h332a45 45 0 0 1 8 89l-8 1H175v674h674V557a45 45 0 0 1 89-8l1 8v337c0 22-16 40-37 44l-8 1H130c-22 0-40-16-44-37l-1-8V130c0-22 16-40 37-44l8-1h332-332zm555 0h210l5 1-6-1a45 45 0 0 1 32 13l-5-4 3 3 2 1a46 46 0 0 1 12 24v2l1 5v209a45 45 0 0 1-89 8l-1-8V238L544 544a45 45 0 0 1-57 5l-7-5a45 45 0 0 1 0-64l306-305H685a45 45 0 0 1-8-89l8-1h209-209z",accessibility:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm0 89.6a422.4 422.4 0 100 844.8 422.4 422.4 0 000-844.8zm262.2 250a40.9 40.9 0 01-27.5 49.3l-169.1 50.7c-8.2 2.7-15.1 11-13.7 20.5 1.3 27.4 1.5 76.5 7 98.4 12.9 59 82.4 214.4 91 233.6a56 56 0 014.9 19 40 40 0 01-40 40c-18 0-30.3-12.7-38.2-28.4A34096 34096 0 01510.9 664l-77.7 165.7-1.3 2.1a40 40 0 01-69.3-39.7c8.6-19 78-174.5 90.8-233.6 5.5-21.9 6-71 7.3-98.4a21 21 0 00-13.7-20.5l-169.1-50.7a40.7 40.7 0 01-27.5-50.7c6.9-20.5 30.2-30.1 50.9-24.6 0 0 154.6 49.3 209.6 49.3s213.8-50.7 213.8-50.7c20.6-5.5 44 6.8 49.5 27.4zm-264-171.2a76.7 76.7 0 110 153.4c-42.6 0-77-34.2-77-76.7 0-41 34.4-76.7 77-76.7z",accessibilityalt:"M512 0a512 512 0 110 1024A512 512 0 01512 0zm262.2 339.6c-5.5-20.6-28.9-32.9-49.5-27.4 0 0-158.8 50.7-213.8 50.7s-209.6-49.3-209.6-49.3c-20.7-5.5-44 4-51 24.6A40.7 40.7 0 00278 389l169 50.7a21 21 0 0113.8 20.5c-1.3 27.4-1.8 76.5-7.3 98.4-12.9 59.1-82.2 214.5-90.8 233.6a40 40 0 1070.6 37.5L511 664a34096 34096 0 0077.7 158.7c7.9 15.7 20.2 28.4 38.2 28.4a40 40 0 0040-40 56 56 0 00-4.8-19c-8.7-19.2-78.2-174.5-91.1-233.6-5.5-21.9-5.7-71-7-98.4-1.4-9.6 5.5-17.8 13.7-20.5l169.1-50.7a40.9 40.9 0 0027.5-49.3zm-264-171.2c-42.6 0-77 35.6-77 76.7a76.7 76.7 0 0077 76.7 76.7 76.7 0 100-153.4z",markup:"M1010.6 479.7L736.4 205.4a45.7 45.7 0 10-64.7 64.6l242 242L671.7 754a45.7 45.7 0 1064.7 64.6l274.1-274.2a45.6 45.6 0 000-64.6M0 511.9c0-11.7 4.5-23.4 13.4-32.3l274.1-274.2a45.7 45.7 0 1164.7 64.6L110.4 512l241.9 241.9a45.7 45.7 0 01-64.7 64.6L13.4 544.2C4.4 535.3 0 523.6 0 512",outline:"M180.1 714.3V844h129.6v94.8h-180c-24.2 0-44-19.5-44.4-43.7V714.3h94.8zM619.3 844v94.8H404.7v-94.8h214.6zm319.4-129.6v180c0 24.2-19.5 44-43.7 44.4H714.3v-94.8H844V714.3h94.8zm0-309.6v214.6h-94.8V404.7h94.8zm-758.6 0v214.6H85.3V404.7h94.8zm331.9 34a73.2 73.2 0 110 146.4 73.2 73.2 0 010-146.3zM894.2 85.4c24.3 0 44 19.5 44.5 43.7V309.7h-94.8V180H714.3V85.3h180zm-584.5 0v94.8H180v129.6H85.3v-180c0-24.2 19.5-44 43.7-44.4H309.7zm309.6 0v94.8H404.7V85.3h214.6z"},Svg=esm.styled.svg({shapeRendering:"inherit",transform:"translate3d(0,0,0)"},(function(_ref){return _ref.inline?{display:"inline-block"}:{display:"block"}}));function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}Svg.displayName="Svg";var Path=esm.styled.path({fill:"currentColor"}),Icons=react_default.a.memo((function(_ref){var icon=_ref.icon,symbol=_ref.symbol,props=_objectWithoutProperties(_ref,["icon","symbol"]);return react_default.a.createElement(Svg,_extends({viewBox:"0 0 1024 1024"},props),symbol?react_default.a.createElement("use",{xlinkHref:"#icon--".concat(symbol)}):react_default.a.createElement(Path,{d:icon_icons[icon]}))}))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return flatten})),__webpack_require__.d(__webpack_exports__,"b",(function(){return groupItems})),__webpack_require__.d(__webpack_exports__,"c",(function(){return reverse}));var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2);function groupItems(items){for(var _step,groups=[[]],_loop=function _loop(){var item=_step.value,group=groups.find((function(g){return!g[0]||g[0].groupId===item.groupId}));group?group.push(item):groups.push([item])},_iterator=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.c)(items);!(_step=_iterator()).done;)_loop();return groups}function flatten(grid){for(var _step,flattened=[],_iterator=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.c)(grid);!(_step=_iterator()).done;){var row=_step.value;flattened.push.apply(flattened,row)}return flattened}function reverse(array){return array.slice().reverse()}},function(module,exports,__webpack_require__){"use strict";var keys=__webpack_require__(687),hasSymbols="function"==typeof Symbol&&"symbol"==typeof Symbol("foo"),toStr=Object.prototype.toString,concat=Array.prototype.concat,origDefineProperty=Object.defineProperty,supportsDescriptors=origDefineProperty&&function(){var obj={};try{for(var _ in origDefineProperty(obj,"x",{enumerable:!1,value:obj}),obj)return!1;return obj.x===obj}catch(e){return!1}}(),defineProperty=function(object,name,value,predicate){var fn;(!(name in object)||"function"==typeof(fn=predicate)&&"[object Function]"===toStr.call(fn)&&predicate())&&(supportsDescriptors?origDefineProperty(object,name,{configurable:!0,enumerable:!1,value:value,writable:!0}):object[name]=value)},defineProperties=function(object,map){var predicates=arguments.length>2?arguments[2]:{},props=keys(map);hasSymbols&&(props=concat.call(props,Object.getOwnPropertySymbols(map)));for(var i=0;i=nextSourcePosition&&(accumulatedResult+=S.slice(nextSourcePosition,position)+replacement,nextSourcePosition=position+matched.length)}return accumulatedResult+S.slice(nextSourcePosition)}]}),!!fails((function(){var re=/./;return re.exec=function(){var result=[];return result.groups={a:"7"},result},"7"!=="".replace(re,"$")}))||!REPLACE_KEEPS_$0||REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE)},function(module,exports,__webpack_require__){var fails=__webpack_require__(54);module.exports=!fails((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},function(module,exports,__webpack_require__){"use strict";var bind=__webpack_require__(211);module.exports=bind.call(Function.call,Object.prototype.hasOwnProperty)},function(module,exports,__webpack_require__){"use strict";module.exports=function markdownLineEnding(code){return code<-2}},function(module,exports,__webpack_require__){var isSymbol=__webpack_require__(243);module.exports=function(argument){if(isSymbol(argument))throw TypeError("Cannot convert a Symbol value to a string");return String(argument)}},function(module,exports,__webpack_require__){"use strict";var isOldIE=function isOldIE(){var memo;return function memorize(){return void 0===memo&&(memo=Boolean(window&&document&&document.all&&!window.atob)),memo}}(),getTarget=function getTarget(){var memo={};return function memorize(target){if(void 0===memo[target]){var styleTarget=document.querySelector(target);if(window.HTMLIFrameElement&&styleTarget instanceof window.HTMLIFrameElement)try{styleTarget=styleTarget.contentDocument.head}catch(e){styleTarget=null}memo[target]=styleTarget}return memo[target]}}(),stylesInDom=[];function getIndexByIdentifier(identifier){for(var result=-1,i=0;i\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,"")};exports.sanitize=sanitize;var sanitizeSafe=function sanitizeSafe(string,part){var sanitized=sanitize(string);if(""===sanitized)throw new Error("Invalid ".concat(part," '").concat(string,"', must include alphanumeric characters"));return sanitized};exports.toId=function toId(kind,name){return"".concat(sanitizeSafe(kind,"kind"),"--").concat(sanitizeSafe(name,"name"))};function matches(storyKey,arrayOrRegex){return Array.isArray(arrayOrRegex)?arrayOrRegex.includes(storyKey):storyKey.match(arrayOrRegex)}exports.storyNameFromExport=function storyNameFromExport(key){return(0,_startCase.default)(key)};exports.parseKind=function parseKind(kind,_ref2){var rootSeparator=_ref2.rootSeparator,groupSeparator=_ref2.groupSeparator,_kind$split2=_slicedToArray(kind.split(rootSeparator,2),2),root=_kind$split2[0],remainder=_kind$split2[1];return{root:remainder?root:null,groups:(remainder||kind).split(groupSeparator).filter((function(i){return!!i}))}}},function(module,__webpack_exports__,__webpack_require__){"use strict";function contains(parent,child){return parent===child||parent.contains(child)}__webpack_require__.d(__webpack_exports__,"a",(function(){return contains}))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return manager})),__webpack_require__.d(__webpack_exports__,"b",(function(){return registerKnobs}));__webpack_require__(12);var public_api=__webpack_require__(103),hooks=__webpack_require__(556),esm=__webpack_require__(32),debounce=__webpack_require__(593),debounce_default=__webpack_require__.n(debounce),global_window=(__webpack_require__(27),__webpack_require__(110),__webpack_require__(20),__webpack_require__(108),__webpack_require__(354),__webpack_require__(8),__webpack_require__(136),__webpack_require__(41),__webpack_require__(123),__webpack_require__(83),__webpack_require__(6)),escape_html=__webpack_require__(648),escape_html_default=__webpack_require__.n(escape_html),lib=(__webpack_require__(388),__webpack_require__(146)),queryparams_getQueryParams=function getQueryParams(){return global_window.document&&global_window.document.location&&global_window.document.location.search?Object(lib.parse)(global_window.document.location.search,{ignoreQueryPrefix:!0}):{}};__webpack_require__(18),__webpack_require__(15),__webpack_require__(421),__webpack_require__(7),__webpack_require__(19);function _defineProperties(target,props){for(var i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}function KnobManager_defineProperties(target,props){for(var i=0;iarr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i0&&void 0!==arguments[0]?arguments[0]:+new Date,channel=public_api.a.getChannel();channel.emit(shared.d,{knobs:registerKnobs_knobStore.getAll(),timestamp:timestamp})}var resetAndForceUpdate=function resetAndForceUpdate(){registerKnobs_knobStore.markAllUnused(),forceReRender()},debouncedResetAndForceUpdate=debounce_default()(resetAndForceUpdate,325);function knobChanged(change){var name=change.name,value=change.value,knobOptions=registerKnobs_knobStore.get(name);knobOptions.value=value,manager.options.disableForceUpdate||knobOptions.disableForceUpdate||(manager.options.disableDebounce||knobOptions.disableDebounce?resetAndForceUpdate():debouncedResetAndForceUpdate())}function knobClicked(clicked){var knobOptions=registerKnobs_knobStore.get(clicked.name);knobOptions.callback&&!1!==knobOptions.callback()&&forceReRender()}function resetKnobs(){registerKnobs_knobStore.reset(),setPaneKnobs(!1)}function resetKnobsAndForceReRender(){registerKnobs_knobStore.reset(),forceReRender(),setPaneKnobs(!1)}function disconnectCallbacks(){var channel=public_api.a.getChannel();channel.removeListener(shared.a,knobChanged),channel.removeListener(shared.b,knobClicked),channel.removeListener(esm.STORY_CHANGED,resetKnobs),channel.removeListener(shared.c,resetKnobsAndForceReRender),registerKnobs_knobStore.unsubscribe(setPaneKnobs)}function connectCallbacks(){var channel=public_api.a.getChannel();return channel.on(shared.a,knobChanged),channel.on(shared.b,knobClicked),channel.on(esm.STORY_CHANGED,resetKnobs),channel.on(shared.c,resetKnobsAndForceReRender),registerKnobs_knobStore.subscribe(setPaneKnobs),disconnectCallbacks}function registerKnobs(){Object(hooks.c)(connectCallbacks,[])}},function(module,exports,__webpack_require__){var $=__webpack_require__(24),from=__webpack_require__(527);$({target:"Array",stat:!0,forced:!__webpack_require__(394)((function(iterable){Array.from(iterable)}))},{from:from})},function(module,exports,__webpack_require__){var $=__webpack_require__(24),fails=__webpack_require__(54),toObject=__webpack_require__(128),nativeGetPrototypeOf=__webpack_require__(384),CORRECT_PROTOTYPE_GETTER=__webpack_require__(512);$({target:"Object",stat:!0,forced:fails((function(){nativeGetPrototypeOf(1)})),sham:!CORRECT_PROTOTYPE_GETTER},{getPrototypeOf:function getPrototypeOf(it){return nativeGetPrototypeOf(toObject(it))}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return unstable_IdContext}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0);function generateRandomString(prefix){return void 0===prefix&&(prefix="id"),(prefix?prefix+"-":"")+Math.random().toString(32).substr(2,6)}var unstable_IdContext=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)(generateRandomString)},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useTabbable}));var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(26),reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(25),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(52),reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__=__webpack_require__(80),reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__=(__webpack_require__(74),__webpack_require__(13)),reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(39),reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__=__webpack_require__(75),reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__=__webpack_require__(95),reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_11__=__webpack_require__(56),reakit_utils_canUseDOM__WEBPACK_IMPORTED_MODULE_12__=__webpack_require__(58),reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_13__=__webpack_require__(76),_Role_Role_js__WEBPACK_IMPORTED_MODULE_14__=__webpack_require__(61);function isUA(string){return!!reakit_utils_canUseDOM__WEBPACK_IMPORTED_MODULE_12__.a&&-1!==window.navigator.userAgent.indexOf(string)}var isSafariOrFirefoxOnMac=isUA("Mac")&&!isUA("Chrome")&&(isUA("Safari")||isUA("Firefox"));function focusIfNeeded(element){Object(reakit_utils_hasFocusWithin__WEBPACK_IMPORTED_MODULE_9__.a)(element)||element.focus()}function getTabIndex(trulyDisabled,nativeTabbable,supportsDisabled,htmlTabIndex){return trulyDisabled?nativeTabbable&&!supportsDisabled?-1:void 0:nativeTabbable?htmlTabIndex:htmlTabIndex||0}function useDisableEvent(htmlEventRef,disabled){return Object(react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((function(event){var _htmlEventRef$current;null===(_htmlEventRef$current=htmlEventRef.current)||void 0===_htmlEventRef$current||_htmlEventRef$current.call(htmlEventRef,event),event.defaultPrevented||disabled&&(event.stopPropagation(),event.preventDefault())}),[htmlEventRef,disabled])}var useTabbable=Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__.a)({name:"Tabbable",compose:_Role_Role_js__WEBPACK_IMPORTED_MODULE_14__.a,keys:["disabled","focusable"],useOptions:function useOptions(options,_ref){var disabled=_ref.disabled;return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.b)({disabled:disabled},options)},useProps:function useProps(options,_ref2){var htmlRef=_ref2.ref,htmlTabIndex=_ref2.tabIndex,htmlOnClickCapture=_ref2.onClickCapture,htmlOnMouseDownCapture=_ref2.onMouseDownCapture,htmlOnMouseDown=_ref2.onMouseDown,htmlOnKeyPressCapture=_ref2.onKeyPressCapture,htmlStyle=_ref2.style,htmlProps=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.a)(_ref2,["ref","tabIndex","onClickCapture","onMouseDownCapture","onMouseDown","onKeyPressCapture","style"]),ref=Object(react__WEBPACK_IMPORTED_MODULE_3__.useRef)(null),onClickCaptureRef=Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__.a)(htmlOnClickCapture),onMouseDownCaptureRef=Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__.a)(htmlOnMouseDownCapture),onMouseDownRef=Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__.a)(htmlOnMouseDown),onKeyPressCaptureRef=Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_7__.a)(htmlOnKeyPressCapture),trulyDisabled=!!options.disabled&&!options.focusable,_React$useState2=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(!0),nativeTabbable=_React$useState2[0],setNativeTabbable=_React$useState2[1],_React$useState3=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(!0),supportsDisabled=_React$useState3[0],setSupportsDisabled=_React$useState3[1],style=options.disabled?Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.b)({pointerEvents:"none"},htmlStyle):htmlStyle,focusOnMouseDown=function useFocusOnMouseDown(){if(isSafariOrFirefoxOnMac){var _React$useState=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(null),tabbable=_React$useState[0],scheduleFocus=_React$useState[1];return Object(react__WEBPACK_IMPORTED_MODULE_3__.useEffect)((function(){tabbable&&(focusIfNeeded(tabbable),scheduleFocus(null))}),[tabbable]),Object(react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((function(event){var element=event.currentTarget;if(!Object(reakit_utils_isPortalEvent__WEBPACK_IMPORTED_MODULE_10__.a)(event)&&Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_5__.a)(element)){var activeElement=Object(reakit_utils_getActiveElement__WEBPACK_IMPORTED_MODULE_11__.a)(element);if(activeElement){var activeElementIsBody="BODY"===activeElement.tagName,focusableAncestor=Object(reakit_utils_tabbable__WEBPACK_IMPORTED_MODULE_13__.a)(element.parentElement);if(activeElement===focusableAncestor||activeElementIsBody&&!focusableAncestor)scheduleFocus(element);else if(focusableAncestor){focusableAncestor.addEventListener("focusin",(function onFocus(){return scheduleFocus(element)}),{once:!0})}else{activeElement.addEventListener("blur",(function onBlur(){return focusIfNeeded(element)}),{once:!0})}}}}),[])}}();Object(reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_8__.a)((function(){var tabbable=ref.current;tabbable&&(function isNativeTabbable(element){return"BUTTON"===element.tagName||"INPUT"===element.tagName||"SELECT"===element.tagName||"TEXTAREA"===element.tagName||"A"===element.tagName}(tabbable)||setNativeTabbable(!1),function supportsDisabledAttribute(element){return"BUTTON"===element.tagName||"INPUT"===element.tagName||"SELECT"===element.tagName||"TEXTAREA"===element.tagName}(tabbable)||setSupportsDisabled(!1))}),[]);var onClickCapture=useDisableEvent(onClickCaptureRef,options.disabled),onMouseDownCapture=useDisableEvent(onMouseDownCaptureRef,options.disabled),onKeyPressCapture=useDisableEvent(onKeyPressCaptureRef,options.disabled),onMouseDown=Object(react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((function(event){var _onMouseDownRef$curre;null===(_onMouseDownRef$curre=onMouseDownRef.current)||void 0===_onMouseDownRef$curre||_onMouseDownRef$curre.call(onMouseDownRef,event),event.defaultPrevented||null==focusOnMouseDown||focusOnMouseDown(event)}),[options.disabled,focusOnMouseDown]);return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.b)({ref:Object(reakit_utils_useForkRef__WEBPACK_IMPORTED_MODULE_4__.a)(ref,htmlRef),style:style,tabIndex:getTabIndex(trulyDisabled,nativeTabbable,supportsDisabled,htmlTabIndex),disabled:!(!trulyDisabled||!supportsDisabled)||void 0,"aria-disabled":!!options.disabled||void 0,onClickCapture:onClickCapture,onMouseDownCapture:onMouseDownCapture,onMouseDown:onMouseDown,onKeyPressCapture:onKeyPressCapture},htmlProps)}});Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__.a)({as:"div",useHook:useTabbable})},function(module,__webpack_exports__,__webpack_require__){"use strict";var _index__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(148);__webpack_exports__.a=_index__WEBPACK_IMPORTED_MODULE_0__.a},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return ThemeContext})),__webpack_require__.d(__webpack_exports__,"e",(function(){return emotion_element_57a3a7a3_browser_esm_withEmotionCache})),__webpack_require__.d(__webpack_exports__,"c",(function(){return css_browser_esm})),__webpack_require__.d(__webpack_exports__,"a",(function(){return Global})),__webpack_require__.d(__webpack_exports__,"d",(function(){return core_browser_esm_keyframes}));var inheritsLoose=__webpack_require__(326),react=__webpack_require__(0);var StyleSheet=function(){function StyleSheet(options){this.isSpeedy=void 0===options.speedy||options.speedy,this.tags=[],this.ctr=0,this.nonce=options.nonce,this.key=options.key,this.container=options.container,this.before=null}var _proto=StyleSheet.prototype;return _proto.insert=function insert(rule){if(this.ctr%(this.isSpeedy?65e3:1)==0){var before,_tag=function createStyleElement(options){var tag=document.createElement("style");return tag.setAttribute("data-emotion",options.key),void 0!==options.nonce&&tag.setAttribute("nonce",options.nonce),tag.appendChild(document.createTextNode("")),tag}(this);before=0===this.tags.length?this.before:this.tags[this.tags.length-1].nextSibling,this.container.insertBefore(_tag,before),this.tags.push(_tag)}var tag=this.tags[this.tags.length-1];if(this.isSpeedy){var sheet=function sheetForTag(tag){if(tag.sheet)return tag.sheet;for(var i=0;ih&&(h=(c=c.trim()).charCodeAt(0)),h){case 38:return c.replace(F,"$1"+d.trim());case 58:return d.trim()+c.replace(F,"$1"+d.trim());default:if(0<1*e&&0b.charCodeAt(8))break;case 115:a=a.replace(b,"-webkit-"+b)+";"+a;break;case 207:case 102:a=a.replace(b,"-webkit-"+(102e.charCodeAt(0)&&(e=e.trim()),e=[e],0q)&&(t=(f=f.replace(" ",":")).length),0=0||(target[key]=source[key]);return target}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=o.length?{done:!0}:{done:!1,value:o[i++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}return(it=o[Symbol.iterator]()).next.bind(it)}__webpack_require__.d(__webpack_exports__,"a",(function(){return _objectSpread2})),__webpack_require__.d(__webpack_exports__,"b",(function(){return _objectWithoutPropertiesLoose})),__webpack_require__.d(__webpack_exports__,"c",(function(){return _createForOfIteratorHelperLoose}))},,function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(84),IE8_DOM_DEFINE=__webpack_require__(501),anObject=__webpack_require__(72),toPropertyKey=__webpack_require__(290),$defineProperty=Object.defineProperty;exports.f=DESCRIPTORS?$defineProperty:function defineProperty(O,P,Attributes){if(anObject(O),P=toPropertyKey(P),anObject(Attributes),IE8_DOM_DEFINE)try{return $defineProperty(O,P,Attributes)}catch(error){}if("get"in Attributes||"set"in Attributes)throw TypeError("Accessors not supported");return"value"in Attributes&&(O[P]=Attributes.value),O}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),$reduce=__webpack_require__(951).left,arrayMethodIsStrict=__webpack_require__(219),CHROME_VERSION=__webpack_require__(244),IS_NODE=__webpack_require__(301);$({target:"Array",proto:!0,forced:!arrayMethodIsStrict("reduce")||!IS_NODE&&CHROME_VERSION>79&&CHROME_VERSION<83},{reduce:function reduce(callbackfn){return $reduce(this,callbackfn,arguments.length,arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){"use strict";var GetIntrinsic=__webpack_require__(28),callBind=__webpack_require__(359),$indexOf=callBind(GetIntrinsic("String.prototype.indexOf"));module.exports=function callBoundIntrinsic(name,allowMissing){var intrinsic=GetIntrinsic(name,!!allowMissing);return"function"==typeof intrinsic&&$indexOf(name,".prototype.")?callBind(intrinsic):intrinsic}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),$includes=__webpack_require__(374).includes,addToUnscopables=__webpack_require__(294);$({target:"Array",proto:!0},{includes:function includes(el){return $includes(this,el,arguments.length>1?arguments[1]:void 0)}}),addToUnscopables("includes")},function(module,exports,__webpack_require__){module.exports=function(){"use strict";var t="millisecond",e="second",n="minute",r="hour",i="day",s="week",u="month",o="quarter",a="year",h=/^(\d{4})-?(\d{1,2})-?(\d{0,2})[^0-9]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?.?(\d{1,3})?$/,f=/\[([^\]]+)]|Y{2,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=function(t,e,n){var r=String(t);return!r||r.length>=e?t:""+Array(e+1-r.length).join(n)+t},d={s:c,z:function(t){var e=-t.utcOffset(),n=Math.abs(e),r=Math.floor(n/60),i=n%60;return(e<=0?"+":"-")+c(r,2,"0")+":"+c(i,2,"0")},m:function(t,e){var n=12*(e.year()-t.year())+(e.month()-t.month()),r=t.clone().add(n,u),i=e-r<0,s=t.clone().add(n+(i?-1:1),u);return Number(-(n+(e-r)/(i?r-s:s-r))||0)},a:function(t){return t<0?Math.ceil(t)||0:Math.floor(t)},p:function(h){return{M:u,y:a,w:s,d:i,D:"date",h:r,m:n,s:e,ms:t,Q:o}[h]||String(h||"").toLowerCase().replace(/s$/,"")},u:function(t){return void 0===t}},$={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_")},l="en",m={};m[l]=$;var y=function(t){return t instanceof v},M=function(t,e,n){var r;if(!t)return l;if("string"==typeof t)m[t]&&(r=t),e&&(m[t]=e,r=t);else{var i=t.name;m[i]=t,r=i}return!n&&r&&(l=r),r||!n&&l},g=function(t,e){if(y(t))return t.clone();var n="object"==typeof e?e:{};return n.date=t,n.args=arguments,new v(n)},D=d;D.l=M,D.i=y,D.w=function(t,e){return g(t,{locale:e.$L,utc:e.$u,$offset:e.$offset})};var v=function(){function c(t){this.$L=this.$L||M(t.locale,null,!0),this.parse(t)}var d=c.prototype;return d.parse=function(t){this.$d=function(t){var e=t.date,n=t.utc;if(null===e)return new Date(NaN);if(D.u(e))return new Date;if(e instanceof Date)return new Date(e);if("string"==typeof e&&!/Z$/i.test(e)){var r=e.match(h);if(r)return n?new Date(Date.UTC(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)):new Date(r[1],r[2]-1,r[3]||1,r[4]||0,r[5]||0,r[6]||0,r[7]||0)}return new Date(e)}(t),this.init()},d.init=function(){var t=this.$d;this.$y=t.getFullYear(),this.$M=t.getMonth(),this.$D=t.getDate(),this.$W=t.getDay(),this.$H=t.getHours(),this.$m=t.getMinutes(),this.$s=t.getSeconds(),this.$ms=t.getMilliseconds()},d.$utils=function(){return D},d.isValid=function(){return!("Invalid Date"===this.$d.toString())},d.isSame=function(t,e){var n=g(t);return this.startOf(e)<=n&&n<=this.endOf(e)},d.isAfter=function(t,e){return g(t)1||"".split(/.?/).length?function(separator,limit){var string=toString(requireObjectCoercible(this)),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(void 0===separator)return[string];if(!isRegExp(separator))return nativeSplit.call(string,separator,lim);for(var match,lastIndex,lastLength,output=[],flags=(separator.ignoreCase?"i":"")+(separator.multiline?"m":"")+(separator.unicode?"u":"")+(separator.sticky?"y":""),lastLastIndex=0,separatorCopy=new RegExp(separator.source,flags+"g");(match=regexpExec.call(separatorCopy,string))&&!((lastIndex=separatorCopy.lastIndex)>lastLastIndex&&(output.push(string.slice(lastLastIndex,match.index)),match.length>1&&match.index=lim));)separatorCopy.lastIndex===match.index&&separatorCopy.lastIndex++;return lastLastIndex===string.length?!lastLength&&separatorCopy.test("")||output.push(""):output.push(string.slice(lastLastIndex)),output.length>lim?output.slice(0,lim):output}:"0".split(void 0,0).length?function(separator,limit){return void 0===separator&&0===limit?[]:nativeSplit.call(this,separator,limit)}:nativeSplit,[function split(separator,limit){var O=requireObjectCoercible(this),splitter=null==separator?void 0:separator[SPLIT];return void 0!==splitter?splitter.call(separator,O,limit):internalSplit.call(toString(O),separator,limit)},function(string,limit){var rx=anObject(this),S=toString(string),res=maybeCallNative(internalSplit,rx,S,limit,internalSplit!==nativeSplit);if(res.done)return res.value;var C=speciesConstructor(rx,RegExp),unicodeMatching=rx.unicode,flags=(rx.ignoreCase?"i":"")+(rx.multiline?"m":"")+(rx.unicode?"u":"")+(UNSUPPORTED_Y?"g":"y"),splitter=new C(UNSUPPORTED_Y?"^(?:"+rx.source+")":rx,flags),lim=void 0===limit?4294967295:limit>>>0;if(0===lim)return[];if(0===S.length)return null===callRegExpExec(splitter,S)?[S]:[];for(var p=0,q=0,A=[];q0?min(toInteger(argument),9007199254740991):0}},function(module,exports,__webpack_require__){"use strict";var $=__webpack_require__(24),notARegExp=__webpack_require__(390),requireObjectCoercible=__webpack_require__(121),toString=__webpack_require__(87);$({target:"String",proto:!0,forced:!__webpack_require__(391)("includes")},{includes:function includes(searchString){return!!~toString(requireObjectCoercible(this)).indexOf(toString(notARegExp(searchString)),arguments.length>1?arguments[1]:void 0)}})},function(module,exports,__webpack_require__){__webpack_require__(24)({target:"Array",stat:!0},{isArray:__webpack_require__(247)})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Form}));__webpack_require__(8);var esm=__webpack_require__(4),react=(__webpack_require__(15),__webpack_require__(7),__webpack_require__(210),__webpack_require__(0)),react_default=__webpack_require__.n(react);function _objectWithoutProperties(source,excluded){if(null==source)return{};var key,i,target=function _objectWithoutPropertiesLoose(source,excluded){if(null==source)return{};var key,i,target={},sourceKeys=Object.keys(source);for(i=0;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var Wrapper=esm.styled.label((function(_ref){var theme=_ref.theme;return{display:"flex",borderBottom:"1px solid ".concat(theme.appBorderColor),margin:"0 15px",padding:"8px 0","&:last-child":{marginBottom:"3rem"}}})),Label=esm.styled.span((function(_ref2){return{minWidth:100,fontWeight:_ref2.theme.typography.weight.bold,marginRight:15,display:"flex",justifyContent:"flex-start",alignItems:"center",lineHeight:"16px"}})),field_Field=function Field(_ref3){var label=_ref3.label,children=_ref3.children,props=_objectWithoutProperties(_ref3,["label","children"]);return react_default.a.createElement(Wrapper,props,label?react_default.a.createElement(Label,null,react_default.a.createElement("span",null,label)):null,children)};field_Field.displayName="Field",field_Field.defaultProps={label:void 0};var esm_extends=__webpack_require__(62),objectWithoutPropertiesLoose=__webpack_require__(567),use_isomorphic_layout_effect_browser_esm=react.useLayoutEffect,use_latest_esm=function useLatest(value){var ref=Object(react.useRef)(value);return use_isomorphic_layout_effect_browser_esm((function(){ref.current=value})),ref},updateRef=function updateRef(ref,value){"function"!=typeof ref?ref.current=value:ref(value)},use_composed_ref_esm=function useComposedRef(libRef,userRef){var prevUserRef=Object(react.useRef)();return Object(react.useCallback)((function(instance){libRef.current=instance,prevUserRef.current&&updateRef(prevUserRef.current,null),prevUserRef.current=userRef,userRef&&updateRef(userRef,instance)}),[userRef])},HIDDEN_TEXTAREA_STYLE={"min-height":"0","max-height":"none",height:"0",visibility:"hidden",overflow:"hidden",position:"absolute","z-index":"-1000",top:"0",right:"0"},forceHiddenStyles=function forceHiddenStyles(node){Object.keys(HIDDEN_TEXTAREA_STYLE).forEach((function(key){node.style.setProperty(key,HIDDEN_TEXTAREA_STYLE[key],"important")}))},hiddenTextarea=null;var noop=function noop(){},SIZING_STYLE=["borderBottomWidth","borderLeftWidth","borderRightWidth","borderTopWidth","boxSizing","fontFamily","fontSize","fontStyle","fontWeight","letterSpacing","lineHeight","paddingBottom","paddingLeft","paddingRight","paddingTop","tabSize","textIndent","textRendering","textTransform","width"],isIE=!!document.documentElement.currentStyle,react_textarea_autosize_browser_esm_TextareaAutosize=function TextareaAutosize(_ref,userRef){var cacheMeasurements=_ref.cacheMeasurements,maxRows=_ref.maxRows,minRows=_ref.minRows,_ref$onChange=_ref.onChange,onChange=void 0===_ref$onChange?noop:_ref$onChange,_ref$onHeightChange=_ref.onHeightChange,onHeightChange=void 0===_ref$onHeightChange?noop:_ref$onHeightChange,props=Object(objectWithoutPropertiesLoose.a)(_ref,["cacheMeasurements","maxRows","minRows","onChange","onHeightChange"]);var isControlled=void 0!==props.value,libRef=Object(react.useRef)(null),ref=use_composed_ref_esm(libRef,userRef),heightRef=Object(react.useRef)(0),measurementsCacheRef=Object(react.useRef)(),resizeTextarea=function resizeTextarea(){var node=libRef.current,nodeSizingData=cacheMeasurements&&measurementsCacheRef.current?measurementsCacheRef.current:function getSizingData(node){var style=window.getComputedStyle(node);if(null===style)return null;var sizingStyle=function pick(props,obj){return props.reduce((function(acc,prop){return acc[prop]=obj[prop],acc}),{})}(SIZING_STYLE,style),boxSizing=sizingStyle.boxSizing;return""===boxSizing?null:(isIE&&"border-box"===boxSizing&&(sizingStyle.width=parseFloat(sizingStyle.width)+parseFloat(sizingStyle.borderRightWidth)+parseFloat(sizingStyle.borderLeftWidth)+parseFloat(sizingStyle.paddingRight)+parseFloat(sizingStyle.paddingLeft)+"px"),{sizingStyle:sizingStyle,paddingSize:parseFloat(sizingStyle.paddingBottom)+parseFloat(sizingStyle.paddingTop),borderSize:parseFloat(sizingStyle.borderBottomWidth)+parseFloat(sizingStyle.borderTopWidth)})}(node);if(nodeSizingData){measurementsCacheRef.current=nodeSizingData;var _calculateNodeHeight=function calculateNodeHeight(sizingData,value,minRows,maxRows){void 0===minRows&&(minRows=1),void 0===maxRows&&(maxRows=1/0),hiddenTextarea||((hiddenTextarea=document.createElement("textarea")).setAttribute("tab-index","-1"),hiddenTextarea.setAttribute("aria-hidden","true"),forceHiddenStyles(hiddenTextarea)),null===hiddenTextarea.parentNode&&document.body.appendChild(hiddenTextarea);var paddingSize=sizingData.paddingSize,borderSize=sizingData.borderSize,sizingStyle=sizingData.sizingStyle,boxSizing=sizingStyle.boxSizing;Object.keys(sizingStyle).forEach((function(_key){var key=_key;hiddenTextarea.style[key]=sizingStyle[key]})),forceHiddenStyles(hiddenTextarea),hiddenTextarea.value=value;var height=function getHeight(node,sizingData){var height=node.scrollHeight;return"border-box"===sizingData.sizingStyle.boxSizing?height+sizingData.borderSize:height-sizingData.paddingSize}(hiddenTextarea,sizingData);hiddenTextarea.value="x";var rowHeight=hiddenTextarea.scrollHeight-paddingSize,minHeight=rowHeight*minRows;"border-box"===boxSizing&&(minHeight=minHeight+paddingSize+borderSize),height=Math.max(minHeight,height);var maxHeight=rowHeight*maxRows;return"border-box"===boxSizing&&(maxHeight=maxHeight+paddingSize+borderSize),[height=Math.min(maxHeight,height),rowHeight]}(nodeSizingData,node.value||node.placeholder||"x",minRows,maxRows),height=_calculateNodeHeight[0],rowHeight=_calculateNodeHeight[1];heightRef.current!==height&&(heightRef.current=height,node.style.setProperty("height",height+"px","important"),onHeightChange(height,{rowHeight:rowHeight}))}};return Object(react.useLayoutEffect)(resizeTextarea),function useWindowResizeListener(listener){var latestListener=use_latest_esm(listener);Object(react.useLayoutEffect)((function(){var handler=function handler(event){latestListener.current(event)};return window.addEventListener("resize",handler),function(){window.removeEventListener("resize",handler)}}),[])}(resizeTextarea),Object(react.createElement)("textarea",Object(esm_extends.a)({},props,{onChange:function handleChange(event){isControlled||resizeTextarea(),onChange(event)},ref:ref}))},react_textarea_autosize_browser_esm=Object(react.forwardRef)(react_textarea_autosize_browser_esm_TextareaAutosize),Button=__webpack_require__(328);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var styleResets={appearance:"none",border:"0 none",boxSizing:"inherit",display:" block",margin:" 0",background:"transparent",padding:0,fontSize:"inherit",position:"relative"},styles=function styles(_ref){var theme=_ref.theme;return Object.assign({},styleResets,{transition:"box-shadow 200ms ease-out, opacity 200ms ease-out",color:theme.input.color||"inherit",background:theme.input.background,boxShadow:"".concat(theme.input.border," 0 0 0 1px inset"),borderRadius:theme.input.borderRadius,fontSize:theme.typography.size.s2-1,lineHeight:"20px",padding:"6px 10px","&:focus":{boxShadow:"".concat(theme.color.secondary," 0 0 0 1px inset"),outline:"none"},"&[disabled]":{cursor:"not-allowed",opacity:.5},"&:-webkit-autofill":{WebkitBoxShadow:"0 0 0 3em ".concat(theme.color.lightest," inset")},"::placeholder":{color:theme.color.mediumdark}})},sizes=function sizes(_ref2){switch(_ref2.size){case"100%":return{width:"100%"};case"flex":return{flex:1};case"auto":default:return{display:"inline"}}},alignment=function alignment(_ref3){switch(_ref3.align){case"end":return{textAlign:"right"};case"center":return{textAlign:"center"};case"start":default:return{textAlign:"left"}}},validation=function validation(_ref4){var valid=_ref4.valid,theme=_ref4.theme;switch(valid){case"valid":return{boxShadow:"".concat(theme.color.positive," 0 0 0 1px inset !important")};case"error":return{boxShadow:"".concat(theme.color.negative," 0 0 0 1px inset !important")};case"warn":return{boxShadow:"".concat(theme.color.warning," 0 0 0 1px inset")};case void 0:case null:default:return{}}},Input=Object.assign(Object(esm.styled)(Object(react.forwardRef)((function(_ref5,ref){_ref5.size,_ref5.valid,_ref5.align;var props=input_objectWithoutProperties(_ref5,["size","valid","align"]);return react_default.a.createElement("input",_extends({},props,{ref:ref}))})))(styles,sizes,alignment,validation,{minHeight:32}),{displayName:"Input"}),Select=Object.assign(Object(esm.styled)(Object(react.forwardRef)((function(_ref6,ref){_ref6.size,_ref6.valid,_ref6.align;var props=input_objectWithoutProperties(_ref6,["size","valid","align"]);return react_default.a.createElement("select",_extends({},props,{ref:ref}))})))(styles,sizes,validation,{height:32,userSelect:"none",paddingRight:20,appearance:"menulist"}),{displayName:"Select"}),Textarea=Object.assign(Object(esm.styled)(Object(react.forwardRef)((function(_ref7,ref){_ref7.size,_ref7.valid,_ref7.align;var props=input_objectWithoutProperties(_ref7,["size","valid","align"]);return react_default.a.createElement(react_textarea_autosize_browser_esm,_extends({},props,{ref:ref}))})))(styles,sizes,alignment,validation,(function(_ref8){var _ref8$height=_ref8.height;return{overflow:"visible",maxHeight:void 0===_ref8$height?400:_ref8$height}})),{displayName:"Textarea"}),ButtonStyled=Object(esm.styled)(Object(react.forwardRef)((function(_ref9,ref){_ref9.size,_ref9.valid,_ref9.align;var props=input_objectWithoutProperties(_ref9,["size","valid","align"]);return react_default.a.createElement(Button.a,_extends({},props,{ref:ref}))})))(sizes,validation,{userSelect:"none",overflow:"visible",zIndex:2,"&:hover":{transform:"none"}}),input_Button=Object.assign(Object(react.forwardRef)((function(props,ref){return react_default.a.createElement(ButtonStyled,_extends({},props,{tertiary:!0,small:!0,inForm:!0,ref:ref}))})),{displayName:"Button"}),Form=Object.assign(esm.styled.form({boxSizing:"border-box",width:"100%"}),{Field:field_Field,Input:Input,Select:Select,Textarea:Textarea,Button:input_Button})},function(module,__webpack_exports__,__webpack_require__){"use strict";var TypeSystem;__webpack_require__.d(__webpack_exports__,"a",(function(){return TypeSystem})),__webpack_require__.d(__webpack_exports__,"f",(function(){return str})),__webpack_require__.d(__webpack_exports__,"e",(function(){return hasDocgen})),__webpack_require__.d(__webpack_exports__,"d",(function(){return getDocgenSection})),__webpack_require__.d(__webpack_exports__,"c",(function(){return extractDocgenProps_extractComponentProps})),__webpack_require__.d(__webpack_exports__,"b",(function(){return extractComponentDescription})),function(TypeSystem){TypeSystem.JAVASCRIPT="JavaScript",TypeSystem.FLOW="Flow",TypeSystem.TYPESCRIPT="TypeScript",TypeSystem.UNKNOWN="Unknown"}(TypeSystem||(TypeSystem={}));__webpack_require__(354);var BLACKLIST=["null","undefined"];function isDefaultValueBlacklisted(value){return BLACKLIST.some((function(x){return x===value}))}var str=function str(obj){if(!obj)return"";if("string"==typeof obj)return obj;throw new Error("Description: expected string, got: ".concat(JSON.stringify(obj)))};__webpack_require__(10),__webpack_require__(42),__webpack_require__(7);function hasDocgen(component){return!!component.__docgenInfo}function getDocgenSection(component,section){return hasDocgen(component)?component.__docgenInfo[section]:null}__webpack_require__(23),__webpack_require__(20),__webpack_require__(12),__webpack_require__(8),__webpack_require__(27),__webpack_require__(110),__webpack_require__(113),__webpack_require__(41),__webpack_require__(123),__webpack_require__(83);var doctrine=__webpack_require__(632),doctrine_default=__webpack_require__.n(doctrine);function containsJsDoc(value){return null!=value&&value.includes("@")}function parse(content,tags){var ast;try{ast=doctrine_default.a.parse(content,{tags:tags,sloppy:!0})}catch(e){throw console.error(e),new Error("Cannot parse JSDoc tags.")}return ast}var DEFAULT_OPTIONS={tags:["param","arg","argument","returns","ignore"]};function extractJsDocTags(ast){for(var extractedTags={params:null,returns:null,ignore:!1},i=0;i0}(docgenSection)?Array.isArray(docgenSection)?function extractComponentSectionArray(docgenSection){var typeSystem=extractDocgenProps_getTypeSystem(docgenSection[0]),createPropDef=createPropDef_getPropDefFactory(typeSystem);return docgenSection.map((function(item){var _item$type,sanitizedItem=item;return null!==(_item$type=item.type)&&void 0!==_item$type&&_item$type.elements&&(sanitizedItem=Object.assign({},item,{type:Object.assign({},item.type,{value:item.type.elements})})),extractProp(sanitizedItem.name,sanitizedItem,typeSystem,createPropDef)}))}(docgenSection):function extractComponentSectionObject(docgenSection){var docgenPropsKeys=Object.keys(docgenSection),typeSystem=extractDocgenProps_getTypeSystem(docgenSection[docgenPropsKeys[0]]),createPropDef=createPropDef_getPropDefFactory(typeSystem);return docgenPropsKeys.map((function(propName){var docgenInfo=docgenSection[propName];return null!=docgenInfo?extractProp(propName,docgenInfo,typeSystem,createPropDef):null})).filter(Boolean)}(docgenSection):[]};function extractProp(propName,docgenInfo,typeSystem,createPropDef){var jsDocParsingResult=function parseJsDoc(value){var options=arguments.length>1&&void 0!==arguments[1]?arguments[1]:DEFAULT_OPTIONS;if(!containsJsDoc(value))return{includesJsDoc:!1,ignore:!1};var jsDocAst=parse(value,options.tags),extractedTags=extractJsDocTags(jsDocAst);return extractedTags.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:jsDocAst.description,extractedTags:extractedTags}}(docgenInfo.description);return jsDocParsingResult.includesJsDoc&&jsDocParsingResult.ignore?null:{propDef:createPropDef(propName,docgenInfo,jsDocParsingResult),jsDocTags:jsDocParsingResult.extractedTags,docgenInfo:docgenInfo,typeSystem:typeSystem}}function extractComponentDescription(component){return null!=component&&function getDocgenDescription(component){return hasDocgen(component)&&str(component.__docgenInfo.description)}(component)}},function(module,exports,__webpack_require__){"use strict";var $TypeError=__webpack_require__(28)("%TypeError%"),inspect=__webpack_require__(288),IsPropertyKey=__webpack_require__(168),Type=__webpack_require__(67);module.exports=function Get(O,P){if("Object"!==Type(O))throw new $TypeError("Assertion failed: Type(O) is not Object");if(!IsPropertyKey(P))throw new $TypeError("Assertion failed: IsPropertyKey(P) is not true, got "+inspect(P));return O[P]}},function(module,exports,__webpack_require__){var requireObjectCoercible=__webpack_require__(121);module.exports=function(argument){return Object(requireObjectCoercible(argument))}},function(module,exports,__webpack_require__){"use strict";var Internal,OwnPromiseCapability,PromiseWrapper,nativeThen,$=__webpack_require__(24),IS_PURE=__webpack_require__(180),global=__webpack_require__(45),getBuiltIn=__webpack_require__(170),NativePromise=__webpack_require__(965),redefine=__webpack_require__(119),redefineAll=__webpack_require__(253),setPrototypeOf=__webpack_require__(295),setToStringTag=__webpack_require__(154),setSpecies=__webpack_require__(445),isObject=__webpack_require__(69),aFunction=__webpack_require__(198),anInstance=__webpack_require__(220),inspectSource=__webpack_require__(373),iterate=__webpack_require__(303),checkCorrectnessOfIteration=__webpack_require__(394),speciesConstructor=__webpack_require__(521),task=__webpack_require__(396).set,microtask=__webpack_require__(966),promiseResolve=__webpack_require__(969),hostReportErrors=__webpack_require__(970),newPromiseCapabilityModule=__webpack_require__(532),perform=__webpack_require__(971),InternalStateModule=__webpack_require__(135),isForced=__webpack_require__(281),wellKnownSymbol=__webpack_require__(63),IS_BROWSER=__webpack_require__(972),IS_NODE=__webpack_require__(301),V8_VERSION=__webpack_require__(244),SPECIES=wellKnownSymbol("species"),PROMISE="Promise",getInternalState=InternalStateModule.get,setInternalState=InternalStateModule.set,getInternalPromiseState=InternalStateModule.getterFor(PROMISE),NativePromisePrototype=NativePromise&&NativePromise.prototype,PromiseConstructor=NativePromise,PromiseConstructorPrototype=NativePromisePrototype,TypeError=global.TypeError,document=global.document,process=global.process,newPromiseCapability=newPromiseCapabilityModule.f,newGenericPromiseCapability=newPromiseCapability,DISPATCH_EVENT=!!(document&&document.createEvent&&global.dispatchEvent),NATIVE_REJECTION_EVENT="function"==typeof PromiseRejectionEvent,SUBCLASSING=!1,FORCED=isForced(PROMISE,(function(){var PROMISE_CONSTRUCTOR_SOURCE=inspectSource(PromiseConstructor),GLOBAL_CORE_JS_PROMISE=PROMISE_CONSTRUCTOR_SOURCE!==String(PromiseConstructor);if(!GLOBAL_CORE_JS_PROMISE&&66===V8_VERSION)return!0;if(IS_PURE&&!PromiseConstructorPrototype.finally)return!0;if(V8_VERSION>=51&&/native code/.test(PROMISE_CONSTRUCTOR_SOURCE))return!1;var promise=new PromiseConstructor((function(resolve){resolve(1)})),FakePromise=function(exec){exec((function(){}),(function(){}))};return(promise.constructor={})[SPECIES]=FakePromise,!(SUBCLASSING=promise.then((function(){}))instanceof FakePromise)||!GLOBAL_CORE_JS_PROMISE&&IS_BROWSER&&!NATIVE_REJECTION_EVENT})),INCORRECT_ITERATION=FORCED||!checkCorrectnessOfIteration((function(iterable){PromiseConstructor.all(iterable).catch((function(){}))})),isThenable=function(it){var then;return!(!isObject(it)||"function"!=typeof(then=it.then))&&then},notify=function(state,isReject){if(!state.notified){state.notified=!0;var chain=state.reactions;microtask((function(){for(var value=state.value,ok=1==state.state,index=0;chain.length>index;){var result,then,exited,reaction=chain[index++],handler=ok?reaction.ok:reaction.fail,resolve=reaction.resolve,reject=reaction.reject,domain=reaction.domain;try{handler?(ok||(2===state.rejection&&onHandleUnhandled(state),state.rejection=1),!0===handler?result=value:(domain&&domain.enter(),result=handler(value),domain&&(domain.exit(),exited=!0)),result===reaction.promise?reject(TypeError("Promise-chain cycle")):(then=isThenable(result))?then.call(result,resolve,reject):resolve(result)):reject(value)}catch(error){domain&&!exited&&domain.exit(),reject(error)}}state.reactions=[],state.notified=!1,isReject&&!state.rejection&&onUnhandled(state)}))}},dispatchEvent=function(name,promise,reason){var event,handler;DISPATCH_EVENT?((event=document.createEvent("Event")).promise=promise,event.reason=reason,event.initEvent(name,!1,!0),global.dispatchEvent(event)):event={promise:promise,reason:reason},!NATIVE_REJECTION_EVENT&&(handler=global["on"+name])?handler(event):"unhandledrejection"===name&&hostReportErrors("Unhandled promise rejection",reason)},onUnhandled=function(state){task.call(global,(function(){var result,promise=state.facade,value=state.value;if(isUnhandled(state)&&(result=perform((function(){IS_NODE?process.emit("unhandledRejection",value,promise):dispatchEvent("unhandledrejection",promise,value)})),state.rejection=IS_NODE||isUnhandled(state)?2:1,result.error))throw result.value}))},isUnhandled=function(state){return 1!==state.rejection&&!state.parent},onHandleUnhandled=function(state){task.call(global,(function(){var promise=state.facade;IS_NODE?process.emit("rejectionHandled",promise):dispatchEvent("rejectionhandled",promise,state.value)}))},bind=function(fn,state,unwrap){return function(value){fn(state,value,unwrap)}},internalReject=function(state,value,unwrap){state.done||(state.done=!0,unwrap&&(state=unwrap),state.value=value,state.state=2,notify(state,!0))},internalResolve=function(state,value,unwrap){if(!state.done){state.done=!0,unwrap&&(state=unwrap);try{if(state.facade===value)throw TypeError("Promise can't be resolved itself");var then=isThenable(value);then?microtask((function(){var wrapper={done:!1};try{then.call(value,bind(internalResolve,wrapper,state),bind(internalReject,wrapper,state))}catch(error){internalReject(wrapper,error,state)}})):(state.value=value,state.state=1,notify(state,!1))}catch(error){internalReject({done:!1},error,state)}}};if(FORCED&&(PromiseConstructorPrototype=(PromiseConstructor=function Promise(executor){anInstance(this,PromiseConstructor,PROMISE),aFunction(executor),Internal.call(this);var state=getInternalState(this);try{executor(bind(internalResolve,state),bind(internalReject,state))}catch(error){internalReject(state,error)}}).prototype,(Internal=function Promise(executor){setInternalState(this,{type:PROMISE,done:!1,notified:!1,parent:!1,reactions:[],rejection:!1,state:0,value:void 0})}).prototype=redefineAll(PromiseConstructorPrototype,{then:function then(onFulfilled,onRejected){var state=getInternalPromiseState(this),reaction=newPromiseCapability(speciesConstructor(this,PromiseConstructor));return reaction.ok="function"!=typeof onFulfilled||onFulfilled,reaction.fail="function"==typeof onRejected&&onRejected,reaction.domain=IS_NODE?process.domain:void 0,state.parent=!0,state.reactions.push(reaction),0!=state.state&¬ify(state,!1),reaction.promise},catch:function(onRejected){return this.then(void 0,onRejected)}}),OwnPromiseCapability=function(){var promise=new Internal,state=getInternalState(promise);this.promise=promise,this.resolve=bind(internalResolve,state),this.reject=bind(internalReject,state)},newPromiseCapabilityModule.f=newPromiseCapability=function(C){return C===PromiseConstructor||C===PromiseWrapper?new OwnPromiseCapability(C):newGenericPromiseCapability(C)},!IS_PURE&&"function"==typeof NativePromise&&NativePromisePrototype!==Object.prototype)){nativeThen=NativePromisePrototype.then,SUBCLASSING||(redefine(NativePromisePrototype,"then",(function then(onFulfilled,onRejected){var that=this;return new PromiseConstructor((function(resolve,reject){nativeThen.call(that,resolve,reject)})).then(onFulfilled,onRejected)}),{unsafe:!0}),redefine(NativePromisePrototype,"catch",PromiseConstructorPrototype.catch,{unsafe:!0}));try{delete NativePromisePrototype.constructor}catch(error){}setPrototypeOf&&setPrototypeOf(NativePromisePrototype,PromiseConstructorPrototype)}$({global:!0,wrap:!0,forced:FORCED},{Promise:PromiseConstructor}),setToStringTag(PromiseConstructor,PROMISE,!1,!0),setSpecies(PROMISE),PromiseWrapper=getBuiltIn(PROMISE),$({target:PROMISE,stat:!0,forced:FORCED},{reject:function reject(r){var capability=newPromiseCapability(this);return capability.reject.call(void 0,r),capability.promise}}),$({target:PROMISE,stat:!0,forced:IS_PURE||FORCED},{resolve:function resolve(x){return promiseResolve(IS_PURE&&this===PromiseWrapper?PromiseConstructor:this,x)}}),$({target:PROMISE,stat:!0,forced:INCORRECT_ITERATION},{all:function all(iterable){var C=this,capability=newPromiseCapability(C),resolve=capability.resolve,reject=capability.reject,result=perform((function(){var $promiseResolve=aFunction(C.resolve),values=[],counter=0,remaining=1;iterate(iterable,(function(promise){var index=counter++,alreadyCalled=!1;values.push(void 0),remaining++,$promiseResolve.call(C,promise).then((function(value){alreadyCalled||(alreadyCalled=!0,values[index]=value,--remaining||resolve(values))}),reject)})),--remaining||resolve(values)}));return result.error&&reject(result.value),capability.promise},race:function race(iterable){var C=this,capability=newPromiseCapability(C),reject=capability.reject,result=perform((function(){var $promiseResolve=aFunction(C.resolve);iterate(iterable,(function(promise){$promiseResolve.call(C,promise).then(capability.resolve,reject)}))}));return result.error&&reject(result.value),capability.promise}})},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return useClickable}));var _rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(2),reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(26),reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(25),react__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(0),reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(80),reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__=(__webpack_require__(74),__webpack_require__(13)),reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__=__webpack_require__(55),_Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(102);var useClickable=Object(reakit_system_createHook__WEBPACK_IMPORTED_MODULE_2__.a)({name:"Clickable",compose:_Tabbable_Tabbable_js__WEBPACK_IMPORTED_MODULE_8__.a,keys:["unstable_clickOnEnter","unstable_clickOnSpace"],useOptions:function useOptions(_ref){var _ref$unstable_clickOn=_ref.unstable_clickOnEnter,unstable_clickOnEnter=void 0===_ref$unstable_clickOn||_ref$unstable_clickOn,_ref$unstable_clickOn2=_ref.unstable_clickOnSpace,unstable_clickOnSpace=void 0===_ref$unstable_clickOn2||_ref$unstable_clickOn2,options=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.a)(_ref,["unstable_clickOnEnter","unstable_clickOnSpace"]);return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.b)({unstable_clickOnEnter:unstable_clickOnEnter,unstable_clickOnSpace:unstable_clickOnSpace},options)},useProps:function useProps(options,_ref2){var htmlOnKeyDown=_ref2.onKeyDown,htmlOnKeyUp=_ref2.onKeyUp,htmlProps=Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.a)(_ref2,["onKeyDown","onKeyUp"]),_React$useState=Object(react__WEBPACK_IMPORTED_MODULE_3__.useState)(!1),active=_React$useState[0],setActive=_React$useState[1],onKeyDownRef=Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__.a)(htmlOnKeyDown),onKeyUpRef=Object(reakit_utils_useLiveRef__WEBPACK_IMPORTED_MODULE_6__.a)(htmlOnKeyUp),onKeyDown=Object(react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((function(event){var _onKeyDownRef$current;if(null===(_onKeyDownRef$current=onKeyDownRef.current)||void 0===_onKeyDownRef$current||_onKeyDownRef$current.call(onKeyDownRef,event),!event.defaultPrevented&&!options.disabled&&!event.metaKey&&Object(reakit_utils_isSelfTarget__WEBPACK_IMPORTED_MODULE_7__.a)(event)){var isEnter=options.unstable_clickOnEnter&&"Enter"===event.key,isSpace=options.unstable_clickOnSpace&&" "===event.key;if(isEnter||isSpace){if(function isNativeClick(event){var element=event.currentTarget;return!!event.isTrusted&&(Object(reakit_utils_isButton__WEBPACK_IMPORTED_MODULE_4__.a)(element)||"INPUT"===element.tagName||"TEXTAREA"===element.tagName||"A"===element.tagName||"SELECT"===element.tagName)}(event))return;event.preventDefault(),isEnter?event.currentTarget.click():isSpace&&setActive(!0)}}}),[options.disabled,options.unstable_clickOnEnter,options.unstable_clickOnSpace]),onKeyUp=Object(react__WEBPACK_IMPORTED_MODULE_3__.useCallback)((function(event){var _onKeyUpRef$current;if(null===(_onKeyUpRef$current=onKeyUpRef.current)||void 0===_onKeyUpRef$current||_onKeyUpRef$current.call(onKeyUpRef,event),!event.defaultPrevented&&!options.disabled&&!event.metaKey){var isSpace=options.unstable_clickOnSpace&&" "===event.key;active&&isSpace&&(setActive(!1),event.currentTarget.click())}}),[options.disabled,options.unstable_clickOnSpace,active]);return Object(_rollupPluginBabelHelpers_1f0bf8c2_js__WEBPACK_IMPORTED_MODULE_0__.b)({"data-active":active||void 0,onKeyDown:onKeyDown,onKeyUp:onKeyUp},htmlProps)}});Object(reakit_system_createComponent__WEBPACK_IMPORTED_MODULE_1__.a)({as:"button",memo:!0,useHook:useClickable})},function(module,__webpack_exports__,__webpack_require__){"use strict";function userFocus(element){element.userFocus=!0,element.focus(),element.userFocus=!1}function hasUserFocus(element){return!!element.userFocus}function setUserFocus(element,value){element.userFocus=value}__webpack_require__.d(__webpack_exports__,"a",(function(){return hasUserFocus})),__webpack_require__.d(__webpack_exports__,"b",(function(){return setUserFocus})),__webpack_require__.d(__webpack_exports__,"c",(function(){return userFocus}))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"b",(function(){return TabButton})),__webpack_require__.d(__webpack_exports__,"a",(function(){return IconButton}));__webpack_require__(15),__webpack_require__(7);var react__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(0),react__WEBPACK_IMPORTED_MODULE_2___default=__webpack_require__.n(react__WEBPACK_IMPORTED_MODULE_2__),_storybook_theming__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(4),_storybook_theming__WEBPACK_IMPORTED_MODULE_4__=__webpack_require__(226);function _extends(){return(_extends=Object.assign||function(target){for(var i=1;i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var ButtonOrLink=function ButtonOrLink(_ref){var children=_ref.children,restProps=_objectWithoutProperties(_ref,["children"]);return null!=restProps.href?react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("a",restProps,children):react__WEBPACK_IMPORTED_MODULE_2___default.a.createElement("button",_extends({type:"button"},restProps),children)},TabButton=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_3__.styled)(ButtonOrLink,{shouldForwardProp:_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.a})({whiteSpace:"normal",display:"inline-flex",overflow:"hidden",verticalAlign:"top",justifyContent:"center",alignItems:"center",textAlign:"center",textDecoration:"none","&:empty":{display:"none"}},(function(_ref2){return{padding:"0 15px",transition:"color 0.2s linear, border-bottom-color 0.2s linear",height:40,lineHeight:"12px",cursor:"pointer",background:"transparent",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",fontWeight:"bold",fontSize:13,"&:focus":{outline:"0 none",borderBottomColor:_ref2.theme.color.secondary}}}),(function(_ref3){var active=_ref3.active,textColor=_ref3.textColor,theme=_ref3.theme;return active?{color:textColor||theme.barSelectedColor,borderBottomColor:theme.barSelectedColor}:{color:textColor||theme.color.mediumdark,borderBottomColor:"transparent"}}));TabButton.displayName="TabButton";var IconButton=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_3__.styled)(ButtonOrLink,{shouldForwardProp:_storybook_theming__WEBPACK_IMPORTED_MODULE_4__.a})((function(_ref4){return{display:"inline-flex",justifyContent:"center",alignItems:"center",height:40,background:"none",color:"inherit",padding:0,cursor:"pointer",border:"0 solid transparent",borderTop:"3px solid transparent",borderBottom:"3px solid transparent",transition:"color 0.2s linear, border-bottom-color 0.2s linear","&:hover, &:focus":{outline:"0 none",color:_ref4.theme.color.secondary},"& > svg":{width:15}}}),(function(_ref5){var active=_ref5.active,theme=_ref5.theme;return active?{outline:"0 none",borderBottomColor:theme.color.secondary}:{}}));IconButton.displayName="IconButton"},function(module,exports,__webpack_require__){"use strict";function dedent(templ){for(var values=[],_i=1;_i=0||(target[key]=source[key]);return target}(source,excluded);if(Object.getOwnPropertySymbols){var sourceSymbolKeys=Object.getOwnPropertySymbols(source);for(i=0;i=0||Object.prototype.propertyIsEnumerable.call(source,key)&&(target[key]=source[key])}return target}var H1=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h1(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.b,(function(_ref){var theme=_ref.theme;return{fontSize:"".concat(theme.typography.size.l1,"px"),fontWeight:theme.typography.weight.black}})),H2=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h2(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.b,(function(_ref2){var theme=_ref2.theme;return{fontSize:"".concat(theme.typography.size.m2,"px"),paddingBottom:4,borderBottom:"1px solid ".concat(theme.appBorderColor)}})),H3=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h3(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.b,(function(_ref3){var theme=_ref3.theme;return{fontSize:"".concat(theme.typography.size.m1,"px")}})),H4=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h4(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.b,(function(_ref4){var theme=_ref4.theme;return{fontSize:"".concat(theme.typography.size.s3,"px")}})),H5=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h5(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.b,(function(_ref5){var theme=_ref5.theme;return{fontSize:"".concat(theme.typography.size.s2,"px")}})),H6=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.h6(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.b,(function(_ref6){var theme=_ref6.theme;return{fontSize:"".concat(theme.typography.size.s2,"px"),color:theme.color.dark}})),Pre=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.pre(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.c,(function(_ref7){return{fontFamily:_ref7.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",lineHeight:"18px",padding:"11px 1rem",whiteSpace:"pre-wrap",color:"inherit",borderRadius:3,margin:"1rem 0","&:not(.prismjs)":{background:"transparent",border:"none",borderRadius:0,padding:0,margin:0},"& pre, &.prismjs":{padding:15,margin:0,whiteSpace:"pre-wrap",color:"inherit",fontSize:"13px",lineHeight:"19px",code:{color:"inherit",fontSize:"inherit"}},"& code":{whiteSpace:"pre"},"& code, & tt":{border:"none"}}})),Link=function Link(_ref8){var input=_ref8.href,children=_ref8.children,props=_objectWithoutProperties(_ref8,["href","children"]),isStorybookPath=/^\//.test(input),isAnchorUrl=/^#.*/.test(input),href=isStorybookPath?"?path=".concat(input):input,target=isAnchorUrl?"_self":"_top";return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement("a",_extends({href:href,target:target},props),children)};Link.displayName="Link";var A=Object(_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled)(Link)(_shared__WEBPACK_IMPORTED_MODULE_10__.d,(function(_ref9){return{fontSize:"inherit",lineHeight:"24px",color:_ref9.theme.color.secondary,textDecoration:"none","&.absent":{color:"#cc0000"},"&.anchor":{display:"block",paddingLeft:30,marginLeft:-30,cursor:"pointer",position:"absolute",top:0,left:0,bottom:0}}})),HR=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.hr((function(_ref10){var theme=_ref10.theme;return{border:"0 none",borderTop:"1px solid ".concat(theme.appBorderColor),height:4,padding:0}})),DL=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.dl(_shared__WEBPACK_IMPORTED_MODULE_10__.d,Object.assign({},_shared__WEBPACK_IMPORTED_MODULE_10__.c,{padding:0,"& dt":{fontSize:"14px",fontWeight:"bold",fontStyle:"italic",padding:0,margin:"16px 0 4px"},"& dt:first-of-type":{padding:0},"& dt > :first-of-type":{marginTop:0},"& dt > :last-child":{marginBottom:0},"& dd":{margin:"0 0 16px",padding:"0 15px"},"& dd > :first-of-type":{marginTop:0},"& dd > :last-child":{marginBottom:0}})),Blockquote=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.blockquote(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.c,(function(_ref11){var theme=_ref11.theme;return{borderLeft:"4px solid ".concat(theme.color.medium),padding:"0 15px",color:theme.color.dark,"& > :first-of-type":{marginTop:0},"& > :last-child":{marginBottom:0}}})),Table=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.table(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.c,(function(_ref12){var theme=_ref12.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",padding:0,borderCollapse:"collapse","& tr":{borderTop:"1px solid ".concat(theme.appBorderColor),backgroundColor:theme.appContentBg,margin:0,padding:0},"& tr:nth-of-type(2n)":{backgroundColor:"dark"===theme.base?theme.color.darker:theme.color.lighter},"& tr th":{fontWeight:"bold",color:theme.color.defaultText,border:"1px solid ".concat(theme.appBorderColor),margin:0,padding:"6px 13px"},"& tr td":{border:"1px solid ".concat(theme.appBorderColor),color:theme.color.defaultText,margin:0,padding:"6px 13px"},"& tr th :first-of-type, & tr td :first-of-type":{marginTop:0},"& tr th :last-child, & tr td :last-child":{marginBottom:0}}})),Img=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.img({maxWidth:"100%"}),Div=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.div(_shared__WEBPACK_IMPORTED_MODULE_10__.d),Span=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.span(_shared__WEBPACK_IMPORTED_MODULE_10__.d,(function(_ref13){var theme=_ref13.theme;return{"&.frame":{display:"block",overflow:"hidden","& > span":{border:"1px solid ".concat(theme.color.medium),display:"block",float:"left",overflow:"hidden",margin:"13px 0 0",padding:7,width:"auto"},"& span img":{display:"block",float:"left"},"& span span":{clear:"both",color:theme.color.darkest,display:"block",padding:"5px 0 0"}},"&.align-center":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"center"},"& span img":{margin:"0 auto",textAlign:"center"}},"&.align-right":{display:"block",overflow:"hidden",clear:"both","& > span":{display:"block",overflow:"hidden",margin:"13px 0 0",textAlign:"right"},"& span img":{margin:0,textAlign:"right"}},"&.float-left":{display:"block",marginRight:13,overflow:"hidden",float:"left","& span":{margin:"13px 0 0"}},"&.float-right":{display:"block",marginLeft:13,overflow:"hidden",float:"right","& > span":{display:"block",overflow:"hidden",margin:"13px auto 0",textAlign:"right"}}}})),listCommon={paddingLeft:30,"& :first-of-type":{marginTop:0},"& :last-child":{marginBottom:0}},LI=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.li(_shared__WEBPACK_IMPORTED_MODULE_10__.d,(function(_ref14){var theme=_ref14.theme;return{fontSize:theme.typography.size.s2,color:theme.color.defaultText,lineHeight:"24px","& + li":{marginTop:".25em"},"& ul, & ol":{marginTop:".25em",marginBottom:0},"& code":Object(_shared__WEBPACK_IMPORTED_MODULE_10__.a)({theme:theme})}})),UL=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.ul(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.c,Object.assign({},listCommon,{listStyle:"disc"})),OL=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.ol(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.c,Object.assign({},listCommon,{listStyle:"decimal"})),P=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.p(_shared__WEBPACK_IMPORTED_MODULE_10__.d,_shared__WEBPACK_IMPORTED_MODULE_10__.c,(function(_ref15){var theme=_ref15.theme;return{fontSize:theme.typography.size.s2,lineHeight:"24px",color:theme.color.defaultText,"& code":Object(_shared__WEBPACK_IMPORTED_MODULE_10__.a)({theme:theme})}})),DefaultCodeBlock=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.code((function(_ref16){return{fontFamily:_ref16.theme.typography.fonts.mono,WebkitFontSmoothing:"antialiased",MozOsxFontSmoothing:"grayscale",display:"inline-block",paddingLeft:2,paddingRight:2,verticalAlign:"baseline",color:"inherit"}}),_shared__WEBPACK_IMPORTED_MODULE_10__.a),Code=function Code(_ref17){var className=_ref17.className,props=_objectWithoutProperties(_ref17,["className"]),language=(className||"").match(/lang-(\S+)/);return language?react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(_syntaxhighlighter_lazy_syntaxhighlighter__WEBPACK_IMPORTED_MODULE_11__.a,_extends({bordered:!0,copyable:!0,language:language[1],format:!1},props)):react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(DefaultCodeBlock,_extends({},props,{className:className}))};Code.displayName="Code";var TT=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.title(_shared__WEBPACK_IMPORTED_MODULE_10__.a),ResetWrapper=_storybook_theming__WEBPACK_IMPORTED_MODULE_9__.styled.div(_shared__WEBPACK_IMPORTED_MODULE_10__.d),nameSpaceClassNames=function nameSpaceClassNames(_ref18,key){var props=Object.assign({},_ref18),classes=[props.class,props.className];return delete props.class,props.className=["sbdocs","sbdocs-".concat(key)].concat(classes).filter(Boolean).join(" "),props},components={h1:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(H1,nameSpaceClassNames(props,"h1"))},h2:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(H2,nameSpaceClassNames(props,"h2"))},h3:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(H3,nameSpaceClassNames(props,"h3"))},h4:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(H4,nameSpaceClassNames(props,"h4"))},h5:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(H5,nameSpaceClassNames(props,"h5"))},h6:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(H6,nameSpaceClassNames(props,"h6"))},pre:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Pre,nameSpaceClassNames(props,"pre"))},a:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(A,nameSpaceClassNames(props,"a"))},hr:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(HR,nameSpaceClassNames(props,"hr"))},dl:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(DL,nameSpaceClassNames(props,"dl"))},blockquote:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Blockquote,nameSpaceClassNames(props,"blockquote"))},table:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Table,nameSpaceClassNames(props,"table"))},img:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Img,nameSpaceClassNames(props,"img"))},div:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Div,nameSpaceClassNames(props,"div"))},span:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Span,nameSpaceClassNames(props,"span"))},li:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(LI,nameSpaceClassNames(props,"li"))},ul:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(UL,nameSpaceClassNames(props,"ul"))},ol:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(OL,nameSpaceClassNames(props,"ol"))},p:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(P,nameSpaceClassNames(props,"p"))},code:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(Code,nameSpaceClassNames(props,"code"))},tt:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(TT,nameSpaceClassNames(props,"tt"))},resetwrapper:function(props){return react__WEBPACK_IMPORTED_MODULE_8___default.a.createElement(ResetWrapper,nameSpaceClassNames(props,"resetwrapper"))}}},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return Portal}));var react__WEBPACK_IMPORTED_MODULE_0__=__webpack_require__(0),reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_1__=__webpack_require__(39),reakit_utils_canUseDOM__WEBPACK_IMPORTED_MODULE_2__=__webpack_require__(58),react_dom__WEBPACK_IMPORTED_MODULE_3__=__webpack_require__(64);function getBodyElement(){return reakit_utils_canUseDOM__WEBPACK_IMPORTED_MODULE_2__.a?document.body:null}var PortalContext=Object(react__WEBPACK_IMPORTED_MODULE_0__.createContext)(getBodyElement());function Portal(_ref){var children=_ref.children,context=Object(react__WEBPACK_IMPORTED_MODULE_0__.useContext)(PortalContext)||getBodyElement(),hostNode=Object(react__WEBPACK_IMPORTED_MODULE_0__.useState)((function(){if(reakit_utils_canUseDOM__WEBPACK_IMPORTED_MODULE_2__.a){var element=document.createElement("div");return element.className=Portal.__className,element}return null}))[0];return Object(reakit_utils_useIsomorphicEffect__WEBPACK_IMPORTED_MODULE_1__.a)((function(){if(hostNode&&context)return context.appendChild(hostNode),function(){context.removeChild(hostNode)}}),[hostNode,context]),hostNode?Object(react_dom__WEBPACK_IMPORTED_MODULE_3__.createPortal)(Object(react__WEBPACK_IMPORTED_MODULE_0__.createElement)(PortalContext.Provider,{value:hostNode},children),hostNode):null}Portal.__className="__reakit-portal",Portal.__selector="."+Portal.__className},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return MENU_KEYS})),__webpack_require__.d(__webpack_exports__,"b",(function(){return MENU_BAR_KEYS})),__webpack_require__.d(__webpack_exports__,"c",(function(){return MENU_BUTTON_KEYS})),__webpack_require__.d(__webpack_exports__,"d",(function(){return MENU_GROUP_KEYS})),__webpack_require__.d(__webpack_exports__,"e",(function(){return MENU_ITEM_KEYS}));var MENU_KEYS=[].concat(["baseId","unstable_idCountRef","unstable_virtual","rtl","orientation","items","groups","currentId","loop","wrap","shift","unstable_moves","unstable_hasActiveWidget","unstable_includesBaseElement","unstable_values","setBaseId","registerItem","unregisterItem","registerGroup","unregisterGroup","move","next","previous","up","down","first","last","sort","unstable_setVirtual","setRTL","setOrientation","setCurrentId","setLoop","setWrap","setShift","reset","unstable_setIncludesBaseElement","unstable_setHasActiveWidget","unstable_setValue"],["visible","animated","animating","show","hide","toggle","setVisible","setAnimated","stopAnimation","modal","unstable_disclosureRef","setModal","unstable_referenceRef","unstable_popoverRef","unstable_arrowRef","unstable_popoverStyles","unstable_arrowStyles","unstable_originalPlacement","unstable_update","placement","place"]),MENU_BAR_KEYS=MENU_KEYS,MENU_BUTTON_KEYS=MENU_BAR_KEYS,MENU_GROUP_KEYS=MENU_BUTTON_KEYS,MENU_ITEM_KEYS=MENU_GROUP_KEYS;[].concat(MENU_ITEM_KEYS,["name"])},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return combineParameters}));__webpack_require__(181),__webpack_require__(23),__webpack_require__(18),__webpack_require__(20),__webpack_require__(108),__webpack_require__(136),__webpack_require__(7),__webpack_require__(19);var lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_8__=__webpack_require__(147),lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_8___default=__webpack_require__.n(lodash_isPlainObject__WEBPACK_IMPORTED_MODULE_8__);function _toConsumableArray(arr){return function _arrayWithoutHoles(arr){if(Array.isArray(arr))return _arrayLikeToArray(arr)}(arr)||function _iterableToArray(iter){if("undefined"!=typeof Symbol&&Symbol.iterator in Object(iter))return Array.from(iter)}(arr)||_unsupportedIterableToArray(arr)||function _nonIterableSpread(){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 _slicedToArray(arr,i){return function _arrayWithHoles(arr){if(Array.isArray(arr))return arr}(arr)||function _iterableToArrayLimit(arr,i){if("undefined"==typeof Symbol||!(Symbol.iterator in Object(arr)))return;var _arr=[],_n=!0,_d=!1,_e=void 0;try{for(var _s,_i=arr[Symbol.iterator]();!(_n=(_s=_i.next()).done)&&(_arr.push(_s.value),!i||_arr.length!==i);_n=!0);}catch(err){_d=!0,_e=err}finally{try{_n||null==_i.return||_i.return()}finally{if(_d)throw _e}}return _arr}(arr,i)||_unsupportedIterableToArray(arr,i)||function _nonIterableRest(){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 _unsupportedIterableToArray(o,minLen){if(o){if("string"==typeof o)return _arrayLikeToArray(o,minLen);var n=Object.prototype.toString.call(o).slice(8,-1);return"Object"===n&&o.constructor&&(n=o.constructor.name),"Map"===n||"Set"===n?Array.from(o):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_arrayLikeToArray(o,minLen):void 0}}function _arrayLikeToArray(arr,len){(null==len||len>arr.length)&&(len=arr.length);for(var i=0,arr2=new Array(len);i=4;++i,len-=4)k=1540483477*(65535&(k=255&str.charCodeAt(i)|(255&str.charCodeAt(++i))<<8|(255&str.charCodeAt(++i))<<16|(255&str.charCodeAt(++i))<<24))+(59797*(k>>>16)<<16),h=1540483477*(65535&(k^=k>>>24))+(59797*(k>>>16)<<16)^1540483477*(65535&h)+(59797*(h>>>16)<<16);switch(len){case 3:h^=(255&str.charCodeAt(i+2))<<16;case 2:h^=(255&str.charCodeAt(i+1))<<8;case 1:h=1540483477*(65535&(h^=255&str.charCodeAt(i)))+(59797*(h>>>16)<<16)}return(((h=1540483477*(65535&(h^=h>>>13))+(59797*(h>>>16)<<16))^h>>>15)>>>0).toString(36)},unitless_browser_esm={animationIterationCount:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1},memoize_browser_esm=__webpack_require__(339),hyphenateRegex=/[A-Z]|^ms/g,animationRegex=/_EMO_([^_]+?)_([^]*?)_EMO_/g,isCustomProperty=function isCustomProperty(property){return 45===property.charCodeAt(1)},isProcessableValue=function isProcessableValue(value){return null!=value&&"boolean"!=typeof value},processStyleName=Object(memoize_browser_esm.a)((function(styleName){return isCustomProperty(styleName)?styleName:styleName.replace(hyphenateRegex,"-$&").toLowerCase()})),serialize_browser_esm_processStyleValue=function processStyleValue(key,value){switch(key){case"animation":case"animationName":if("string"==typeof value)return value.replace(animationRegex,(function(match,p1,p2){return cursor={name:p1,styles:p2,next:cursor},p1}))}return 1===unitless_browser_esm[key]||isCustomProperty(key)||"number"!=typeof value||0===value?value:value+"px"};function handleInterpolation(mergedProps,registered,interpolation,couldBeSelectorInterpolation){if(null==interpolation)return"";if(void 0!==interpolation.__emotion_styles)return interpolation;switch(typeof interpolation){case"boolean":return"";case"object":if(1===interpolation.anim)return cursor={name:interpolation.name,styles:interpolation.styles,next:cursor},interpolation.name;if(void 0!==interpolation.styles){var next=interpolation.next;if(void 0!==next)for(;void 0!==next;)cursor={name:next.name,styles:next.styles,next:cursor},next=next.next;return interpolation.styles+";"}return function createStringFromObject(mergedProps,registered,obj){var string="";if(Array.isArray(obj))for(var i=0;i=0||(target[key]=source[key]);return target}__webpack_require__.d(__webpack_exports__,"a",(function(){return _objectWithoutPropertiesLoose})),__webpack_require__.d(__webpack_exports__,"b",(function(){return _objectSpread2}))},function(module,__webpack_exports__,__webpack_require__){"use strict";__webpack_require__.d(__webpack_exports__,"a",(function(){return globalState}));var globalState={currentTooltipId:null,listeners:new Set,subscribe:function subscribe(listener){var _this=this;return this.listeners.add(listener),function(){_this.listeners.delete(listener)}},show:function show(id){this.currentTooltipId=id,this.listeners.forEach((function(listener){return listener(id)}))},hide:function hide(id){this.currentTooltipId===id&&(this.currentTooltipId=null,this.listeners.forEach((function(listener){return listener(null)})))}}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(84),definePropertyModule=__webpack_require__(107),createPropertyDescriptor=__webpack_require__(215);module.exports=DESCRIPTORS?function(object,key,value){return definePropertyModule.f(object,key,createPropertyDescriptor(1,value))}:function(object,key,value){return object[key]=value,object}},function(module,exports){module.exports=function isObject(value){var type=typeof value;return null!=value&&("object"==type||"function"==type)}},function(module,exports,__webpack_require__){"use strict";module.exports=__webpack_require__(285)},function(module,exports,__webpack_require__){"use strict";module.exports=function IsPropertyKey(argument){return"string"==typeof argument||"symbol"==typeof argument}},function(module,exports,__webpack_require__){var DESCRIPTORS=__webpack_require__(84),propertyIsEnumerableModule=__webpack_require__(289),createPropertyDescriptor=__webpack_require__(215),toIndexedObject=__webpack_require__(139),toPropertyKey=__webpack_require__(290),has=__webpack_require__(92),IE8_DOM_DEFINE=__webpack_require__(501),$getOwnPropertyDescriptor=Object.getOwnPropertyDescriptor;exports.f=DESCRIPTORS?$getOwnPropertyDescriptor:function getOwnPropertyDescriptor(O,P){if(O=toIndexedObject(O),P=toPropertyKey(P),IE8_DOM_DEFINE)try{return $getOwnPropertyDescriptor(O,P)}catch(error){}if(has(O,P))return createPropertyDescriptor(!propertyIsEnumerableModule.f.call(O,P),O[P])}},function(module,exports,__webpack_require__){var global=__webpack_require__(45),aFunction=function(variable){return"function"==typeof variable?variable:void 0};module.exports=function(namespace,method){return arguments.length<2?aFunction(global[namespace]):global[namespace]&&global[namespace][method]}},function(module,exports,__webpack_require__){var activeXDocument,anObject=__webpack_require__(72),defineProperties=__webpack_require__(381),enumBugKeys=__webpack_require__(376),hiddenKeys=__webpack_require__(246),html=__webpack_require__(506),documentCreateElement=__webpack_require__(372),sharedKey=__webpack_require__(293),IE_PROTO=sharedKey("IE_PROTO"),EmptyConstructor=function(){},scriptTag=function(content){return"