14 lines
39 KiB
JavaScript
14 lines
39 KiB
JavaScript
(window.webpackJsonp=window.webpackJsonp||[]).push([[28],{"0W35":function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var o=n("mrSG");o.__exportStar(n("OGHR"),t),o.__exportStar(n("O6kz"),t)},"1Kfe":function(e,t,n){e.exports={container:"container-3jqXx6VY",sectionTitle:"sectionTitle-14f4vHhw",separator:"separator-37206dUD",customButton:"customButton-1OVL2GM7"}},"4bOu":function(e,t,n){e.exports={colorPickerWrap:"colorPickerWrap-3CKoS76B",focused:"focused-1eNVgMcK",readonly:"readonly-3WKrZDDZ",disabled:"disabled-3JLIZoXG","size-small":"size-small-171myYWP","size-medium":"size-medium-vQ4tJKsY","size-large":"size-large-36sdciXs","font-size-small":"font-size-small-2MhPDpOT","font-size-medium":"font-size-medium-2FxxjPlX","font-size-large":"font-size-large-272pPq9L","border-none":"border-none-IfU-lwor",shadow:"shadow-2guXPu-j","border-thin":"border-thin-1PBFvGUv","border-thick":"border-thick-sfRUs3z9","intent-default":"intent-default-24Iojkmz","intent-success":"intent-success-2MeIS_Pu","intent-warning":"intent-warning-28gYd2KQ","intent-danger":"intent-danger-1bAU5SPR","intent-primary":"intent-primary-dbxJRTNV","corner-top-left":"corner-top-left-1YL_woIU","corner-top-right":"corner-top-right-2ch4nt0D","corner-bottom-right":"corner-bottom-right-yxUtJRuR","corner-bottom-left":"corner-bottom-left-RaqUovla",colorPicker:"colorPicker-3Y3x2ZTE",swatch:"swatch-1HdO4thS",placeholderContainer:"placeholderContainer-162UtvCf",placeholder:"placeholder-1EJtBXNo",white:"white-1wi9uYIx",opacitySwatch:"opacitySwatch-JY_FJG0h",colorLine:"colorLine-2ayGuwQX",thicknessContainer:"thicknessContainer-b-mOHnpg",thicknessTitle:"thicknessTitle-3PQDSIFb"}},"6ix9":function(e,t,n){e.exports={content:"content-jw-2aYgg",ie:"ie-2-BNrQbP",cell:"cell-hIDC3uV-",inner:"inner--hn7i_PK",first:"first-2n3flLMC",fill:"fill-1Pff_fQf",last:"last-3u0rzQsJ",top:"top-E6bk4zZh",offset:"offset-2t8eK615",grouped:"grouped-HUhXUUdM",separator:"separator-27YVz1Zr",groupSeparator:"groupSeparator-3LbEcdXc",big:"big-1ygh-FzO",adaptive:"adaptive-3nNVfvpI",checkableTitle:"checkableTitle-3xDSPDqb"}},"7MId":function(e,t,n){"use strict";var o=n("q1tI"),r=n.n(o),i=n("TSYQ"),s=n.n(i),a=n("mrSG"),c=n("Eyy1"),l=n("/3z9"),u=n("9dlw"),p=n("Oi2w"),h=(n("YFKU"),n("eJTA")),d=n("HGP3"),f=d.colorsPalette["color-white"],m=["ripe-red","tan-orange","banana-yellow","iguana-green","minty-green","sky-blue","tv-blue","deep-blue","grapes-purple","berry-pink"],v=[200,300,400,500,600,700,800,900].map((function(e){return"color-cold-gray-"+e}));v.unshift("color-white"),v.push("color-black"),m.forEach((function(e){v.push("color-"+e+"-500")}));var b=v.map((function(e){return d.colorsPalette[e]})),g=[];[100,200,300,400,700,900].forEach((function(e){m.forEach((function(t){g.push("color-"+t+"-"+e)}))}));var _=g.map((function(e){return d.colorsPalette[e]})),C=n("DXuF"),y=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onClick=function(){var e=t.props,n=e.color;(0,e.onSelect)(n)},t}return Object(a.__extends)(t,e),t.prototype.render=function(){
|
|
var e=this.props,t=e.color,n=e.selected;return o.createElement("div",{style:t?{color:t}:void 0,className:i(C.swatch,n&&C.selected,!t&&C.empty,String(t).toLowerCase()===f&&C.white),onClick:this._onClick})},t}(o.PureComponent),w=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onSelect=function(e){var n=t.props.onSelect;n&&n(e)},t}return Object(a.__extends)(t,e),t.prototype.render=function(){var e=this,t=this.props,n=t.colors,r=t.color,i=t.children;if(!n)return null;var s=r?Object(h.parseRgb)(String(r)):void 0;return o.createElement("div",{className:C.swatches},n.map((function(t,n){return o.createElement(y,{key:String(t)+n,color:t,selected:s&&Object(h.areEqualRgb)(s,Object(h.parseRgb)(String(t))),onSelect:e._onSelect})})),i)},t}(o.PureComponent),E=n("U1eG"),k=n("mwqF");function N(e){var t="Invalid RGB color: "+e;if(null===e)throw new Error(t);var n=e.match(/^#?([a-f0-9]{2})([a-f0-9]{2})([a-f0-9]{2})$/i);if(null===n)throw new Error(t);var o=n[1],r=n[2],i=n[3];if(!o||!r||!i)throw new Error(t);var s,a=parseInt(o,16)/255,c=parseInt(r,16)/255,l=parseInt(i,16)/255,u=Math.max(a,c,l),p=Math.min(a,c,l),h=u,d=u-p,f=0===u?0:d/u;if(u===p)s=0;else{switch(u){case a:s=(c-l)/d+(c<l?6:0);break;case c:s=(l-a)/d+2;break;case l:s=(a-c)/d+4;break;default:s=0}s/=6}return{h:s,s:f,v:h}}var O=n("PoSe"),S=n.n(O),x=n("lY1a"),P=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._container=null,t._refContainer=function(e){t._container=e},t._handlePosition=function(e){var n=t.props,o=n.hsv.h,r=n.onChange;if(r){var i=Object(c.ensureNotNull)(t._container).getBoundingClientRect(),s=e.clientX-i.left,a=e.clientY-i.top,l=s/i.width;l<0?l=0:l>1&&(l=1);var u=1-a/i.height;u<0?u=0:u>1&&(u=1),r({h:o,s:l,v:u})}},t._mouseDown=function(e){window.addEventListener("mouseup",t._mouseUp),window.addEventListener("mousemove",t._mouseMove)},t._mouseUp=function(e){window.removeEventListener("mousemove",t._mouseMove),window.removeEventListener("mouseup",t._mouseUp),t._handlePosition(e)},t._mouseMove=S()(t._handlePosition,100),t._handleTouch=function(e){t._handlePosition(e.nativeEvent.touches[0])},t}return Object(a.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.hsv,r=n.h,i=n.s,a=n.v,c="hsl("+360*r+", 100%, 50%)";return o.createElement("div",{className:s()(x.saturation,t),style:{backgroundColor:c},ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:x.pointer,style:{left:100*i+"%",top:100*(1-a)+"%"}}))},t}(o.PureComponent),I=n("jpE+"),j=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._container=null,t._refContainer=function(e){t._container=e},t._handlePosition=function(e){var n=t.props,o=n.hsv,r=o.s,i=o.v,s=n.onChange;if(s){var a=Object(c.ensureNotNull)(t._container).getBoundingClientRect(),l=e.clientY-a.top;l>=a.top&&(l=a.top-1);var u=l/a.height;u<0?u=0:u>1&&(u=1),s({h:u,s:r,v:i})}},t._mouseDown=function(e){window.addEventListener("mouseup",t._mouseUp),
|
|
window.addEventListener("mousemove",t._mouseMove)},t._mouseUp=function(e){window.removeEventListener("mousemove",t._mouseMove),window.removeEventListener("mouseup",t._mouseUp),t._handlePosition(e)},t._mouseMove=S()(t._handlePosition,100),t._handleTouch=function(e){t._handlePosition(e.nativeEvent.touches[0])},t}return Object(a.__extends)(t,e),t.prototype.render=function(){var e=this.props,t=e.className,n=e.hsv.h;return o.createElement("div",{className:s()(I.hue,t)},o.createElement("div",{className:I.pointerContainer,ref:this._refContainer,onMouseDown:this._mouseDown,onTouchStart:this._handleTouch,onTouchMove:this._handleTouch},o.createElement("div",{className:I.pointer,style:{top:100*n+"%"}})))},t}(o.PureComponent),M=n("uJfL"),T=window.t("Add",{context:"Color Picker"}),W=function(e){function t(t){var n=e.call(this,t)||this;n._handleHSV=function(e){var t=function(e){var t,n,o,r=e.h,i=e.s,s=e.v,a=Math.floor(6*r),c=6*r-a,l=s*(1-i),u=s*(1-c*i),p=s*(1-(1-c)*i);switch(a%6){case 0:t=s,n=p,o=l;break;case 1:t=u,n=s,o=l;break;case 2:t=l,n=s,o=p;break;case 3:t=l,n=u,o=s;break;case 4:t=p,n=l,o=s;break;case 5:t=s,n=l,o=u;break;default:t=0,n=0,o=0}return"#"+[255*t,255*n,255*o].map((function(e){return("0"+Math.round(e).toString(16)).replace(/.+?([a-f0-9]{2})$/i,"$1")})).join("")}(e)||"#000000";n.setState({color:t,inputColor:t.replace(/^#/,""),hsv:e}),n.props.onSelect(t)},n._handleInput=function(e){var t=e.currentTarget.value;try{var o=N(t),r="#"+t;n.setState({color:r,inputColor:t,hsv:o}),n.props.onSelect(r)}catch(i){n.setState({inputColor:t})}},n._handleAddColor=function(){return n.props.onAdd(n.state.color)};var o=t.color||"#000000";return n.state={color:o,inputColor:o.replace(/^#/,""),hsv:N(o)},n}return Object(a.__extends)(t,e),t.prototype.render=function(){var e=this.state,t=e.color,n=e.hsv,r=e.inputColor;return o.createElement("div",{className:M.container},o.createElement("div",{className:M.form},o.createElement("div",{className:M.swatch,style:{backgroundColor:t}}),o.createElement("div",{className:M.inputWrap},o.createElement("span",{className:M.inputHash},"#"),o.createElement("input",{type:"text",className:M.input,value:r,onChange:this._handleInput})),o.createElement("div",{className:M.buttonWrap},o.createElement(k.Button,{size:"s",onClick:this._handleAddColor},T))),o.createElement("div",{className:M.hueSaturationWrap},o.createElement(P,{className:M.saturation,hsv:n,onChange:this._handleHSV}),o.createElement(j,{className:M.hue,hsv:n,onChange:this._handleHSV})))},t}(o.PureComponent),D=n("1Kfe"),R=window.t("Add Custom Color",{context:"Color Picker"}),L=window.t("Opacity",{context:"Color Picker"}),F=function(e){function t(t){var n=e.call(this,t)||this;return n._handleAddColor=function(e){n.setState({isCustom:!1}),n._onToggleCustom(!1);var t=n.props.onAddColor;t&&t(e)},n._handleSelectColor=function(e){var t=n.props.onColorChange;t&&t(e)},n._handleCustomClick=function(){n.setState({isCustom:!0}),n._onToggleCustom(!0)},n._handleOpacity=function(e){var t=n.props.onOpacityChange;t&&t(e)},n.state={isCustom:!1},n}
|
|
return Object(a.__extends)(t,e),t.prototype.componentDidUpdate=function(e,t){e.selectOpacity!==this.props.selectOpacity&&this.props.menu&&this.props.menu.update()},t.prototype.render=function(){var e=this.props,t=e.color,n=e.opacity,r=e.selectCustom,i=e.selectOpacity,a=e.customColors,c="number"==typeof n?n:1;return this.state.isCustom?o.createElement(W,{color:t,onSelect:this._handleSelectColor,onAdd:this._handleAddColor}):o.createElement("div",{className:D.container},o.createElement(w,{colors:b,color:t,onSelect:this._handleSelectColor}),o.createElement(w,{colors:_,color:t,onSelect:this._handleSelectColor}),o.createElement("div",{className:D.separator}),o.createElement(w,{colors:a,color:t,onSelect:this._handleSelectColor},r&&o.createElement("div",{className:s()(D.customButton,"apply-common-tooltip"),onClick:this._handleCustomClick,title:R})),i&&o.createElement(o.Fragment,null,o.createElement("div",{className:D.sectionTitle},L),o.createElement(E.a,{color:t,opacity:c,onChange:this._handleOpacity})))},t.prototype._onToggleCustom=function(e){var t=this.props.onToggleCustom;t&&t(e)},t}(o.PureComponent),U=n("PN6A");function B(e){var t=e.button,n=e.children,i=e.className,s=e.onPopupClose,h=Object(a.__rest)(e,["button","children","className","onPopupClose"]),d=Object(o.useState)(!1),f=d[0],m=d[1],v=Object(o.useState)(!1),b=v[0],g=v[1],_=Object(p.a)(),C=_[0],y=_[1],w=Object(o.useRef)(null);return r.a.createElement("div",{className:i},r.a.createElement("div",{tabIndex:e.disabled?void 0:-1,ref:w,onClick:E,onFocus:y.onFocus,onBlur:y.onBlur,onKeyDown:k},"function"==typeof t?t(b,C):t),r.a.createElement(u.a,{isOpened:b,onClose:N,position:function(){var e=Object(c.ensureNotNull)(w.current).getBoundingClientRect();return{x:e.left,y:e.top+e.height}},doNotCloseOn:w.current,onKeyDown:k},r.a.createElement(U.a.Consumer,null,(function(e){return r.a.createElement(F,Object(a.__assign)({},h,{onToggleCustom:m,menu:e}))})),!f&&n));function E(){e.disabled||(g((function(e){return!e})),m(!1))}function k(e){switch(Object(l.hashFromEvent)(e)){case 27:b&&(e.preventDefault(),N())}}function N(){E(),Object(c.ensureNotNull)(w.current).focus(),s&&s()}}var G=n("Vdly"),z=n("FQhm");function A(){var e,t,n=Object(o.useState)(Object(G.getJSON)("pickerCustomColors",[])),r=n[0],i=n[1];e="add_new_custom_color",t=function(e){return i(V(e,r))},Object(o.useEffect)((function(){return z.subscribe(e,t,null),function(){z.unsubscribe(e,t,null)}}),[e,t]);var s=Object(o.useCallback)((function(e){var t=e?Object(h.parseRgb)(e):null;r.some((function(e){return null!==e&&null!==t&&Object(h.areEqualRgb)(Object(h.parseRgb)(e),t)}))||(z.emit("add_new_custom_color",e),Object(G.setJSON)("pickerCustomColors",V(e,r)))}),[r]);return[r,s]}function V(e,t){var n=t.slice();return n.push(e),n.length>29&&n.shift(),n}var q=n("Tmoa"),K=n("0W35"),J=n("95N5"),Y=Object(K.makeSwitchGroupItem)(function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._onChange=function(){t.props.onChange&&t.props.onChange(t.props.value)},t}return Object(a.__extends)(t,e),
|
|
t.prototype.render=function(){var e,t,n=this.props,r=n.name,s=n.checked,a=n.value,c=i(J.thicknessItem,((e={})[J.checked]=s,e)),l=i(J.bar,((t={})[J.checked]=s,t)),u={borderTopWidth:parseInt(a)};return o.createElement("div",{className:c},o.createElement("input",{type:"radio",className:J.radio,name:r,value:a,onChange:this._onChange,checked:s}),o.createElement("div",{className:l,style:u}," "))},t}(o.PureComponent));function Q(e){var t=e.name,n=e.values,r=e.selectedValues,i=e.onChange,s=n.map((function(e,t){return o.createElement(Y,{key:t,value:e.toString()})})),a=r.map((function(e){return e.toString()}));return o.createElement("div",{className:J.wrap},o.createElement(K.SwitchGroup,{name:t,onChange:function(e){i(parseInt(e))},values:a},s))}var X=n("85uA"),H=window.t("Thickness");function Z(e){return r.a.createElement("div",{className:X.thicknessContainer},r.a.createElement("div",{className:X.thicknessTitle},H),r.a.createElement(Q,{name:"color_picker_thickness_select",onChange:e.onChange,values:e.items,selectedValues:[e.value]}))}var $=n("4bOu");function ee(e){var t=e.className,n=e.selectOpacity,o=void 0===n?void 0!==e.opacity:n,i=e.thickness,a=e.color,c=e.disabled,l=e.opacity,u=void 0===l?1:l,p=e.onColorChange,h=e.onOpacityChange,d=e.onThicknessChange,f=e.thicknessItems,m=e.onPopupClose,v=A(),b=v[0],g=v[1];return r.a.createElement(B,{className:t,disabled:c,color:a,selectOpacity:o,opacity:u,selectCustom:!0,customColors:b,onColorChange:p,onOpacityChange:a?h:void 0,onAddColor:g,button:function(e,t){var n=e||t,o=n?"primary":"default";return r.a.createElement("div",{className:s()($.colorPickerWrap,$["intent-"+o],$["border-thin"],$["size-medium"],n&&$.highlight,n&&$.focused,c&&$.disabled),"data-role":"button","data-name":i?"color-with-thickness-select":"color-select"},r.a.createElement("div",{className:s()($.colorPicker,c&&$.disabled)},a?(l=te(a,u),p=u>=.95&&ne(a),r.a.createElement("div",{className:$.opacitySwatch},r.a.createElement("div",{style:{backgroundColor:l},className:s()($.swatch,p&&$.white)}))):r.a.createElement("div",{className:$.placeholderContainer},r.a.createElement("div",{className:$.placeholder})),i&&r.a.createElement("span",{className:s()($.colorLine,ne(a)&&$.white),style:{height:i,backgroundColor:te(a,u)}})),n&&r.a.createElement("span",{className:$.shadow}));var l,p},onPopupClose:m},i&&f&&r.a.createElement(Z,{value:i,items:f,onChange:function(e){d&&d(e)}}))}function te(e,t){return e?Object(q.generateColor)(e,Object(q.alphaToTransparency)(t)):"#000000"}function ne(e){return!!e&&e.toLowerCase()===f}n.d(t,"a",(function(){return ee}))},"85uA":function(e,t,n){e.exports={thicknessContainer:"thicknessContainer-1lrdH7bz",thicknessTitle:"thicknessTitle-2nZV_6CD"}},"8d0Q":function(e,t,n){"use strict";n.d(t,"b",(function(){return r})),n.d(t,"a",(function(){return i}));var o=n("q1tI");function r(){var e=Object(o.useState)(!1),t=e[0],n=e[1];return[t,{onMouseOver:function(e){i(e)&&n(!0)},onMouseOut:function(e){i(e)&&n(!1)}}]}function i(e){return!e.currentTarget.contains(e.relatedTarget)}},"95N5":function(e,t,n){e.exports={
|
|
wrap:"wrap-3KIz6IQG",thicknessItem:"thicknessItem-1D40arGe",checked:"checked-pDy7EtmX",radio:"radio-mk150mXO",bar:"bar-3l4jwcsX"}},ASyk:function(e,t,n){e.exports={"tablet-normal-breakpoint":"screen and (max-width: 768px)","small-height-breakpoint":"screen and (max-height: 360px)","tablet-small-breakpoint":"screen and (max-width: 419px)"}},DXuF:function(e,t,n){e.exports={swatches:"swatches-2NO2y7Xs",swatch:"swatch-CMyFZXry",empty:"empty-1lteEy1B",white:"white-RBcZELAh",selected:"selected-3mQR-gqr"}},E9Pn:function(e,t,n){},F0Qt:function(e){e.exports=JSON.parse('{"wrapper":"wrapper-21v50zE8","input":"input-24iGIobO","box":"box-3574HVnv","icon":"icon-2jsUbtec","noOutline":"noOutline-3VoWuntz","check":"check-382c8Fu1","dot":"dot-3gRd-7Qt"}')},O6kz:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.makeSwitchGroupItem=void 0;var o=n("mrSG"),r=n("q1tI"),i=n("17x9");t.makeSwitchGroupItem=function(e){var t;return(t=function(t){function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._onChange=function(t){e.context.switchGroupContext.getOnChange()(t)},e._onUpdate=function(t){t.includes(e.props.value)&&e.forceUpdate()},e}return o.__extends(n,t),n.prototype.componentDidMount=function(){this.context.switchGroupContext.subscribe(this._onUpdate)},n.prototype.render=function(){return r.createElement(e,o.__assign({},this.props,{name:this._getName(),onChange:this._onChange,checked:this._isChecked()}))},n.prototype.componentWillUnmount=function(){this.context.switchGroupContext.unsubscribe(this._onUpdate)},n.prototype._getName=function(){return this.context.switchGroupContext.getName()},n.prototype._isChecked=function(){return this.context.switchGroupContext.getValues().includes(this.props.value)},n}(r.PureComponent)).contextTypes={switchGroupContext:i.any.isRequired},t}},OGHR:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.SwitchGroup=void 0;var o=n("mrSG"),r=n("q1tI"),i=n("17x9"),s=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._subscriptions=new Set,t._getName=function(){return t.props.name},t._getValues=function(){return t.props.values},t._getOnChange=function(){return t.props.onChange},t._subscribe=function(e){t._subscriptions.add(e)},t._unsubscribe=function(e){t._subscriptions.delete(e)},t}return o.__extends(t,e),t.prototype.getChildContext=function(){return{switchGroupContext:{getName:this._getName,getValues:this._getValues,getOnChange:this._getOnChange,subscribe:this._subscribe,unsubscribe:this._unsubscribe}}},t.prototype.render=function(){return this.props.children},t.prototype.componentDidUpdate=function(e){this._notify(this._getUpdates(this.props.values,e.values))},t.prototype._notify=function(e){this._subscriptions.forEach((function(t){return t(e)}))},t.prototype._getUpdates=function(e,t){return o.__spreadArrays(t,e).filter((function(n){return t.includes(n)?!e.includes(n):e.includes(n)}))},t.childContextTypes={switchGroupContext:i.any.isRequired},t}(r.PureComponent);t.SwitchGroup=s},Oqo1:function(e,t,n){e.exports={
|
|
opacity:"opacity-2aYjtVUz",opacitySlider:"opacitySlider-2S5vLqQZ",opacitySliderGradient:"opacitySliderGradient-1uUWtQAG",pointer:"pointer-3pBhp8nL",dragged:"dragged-1FWLoCMd",opacityPointerWrap:"opacityPointerWrap-133eLPOE",opacityInputWrap:"opacityInputWrap-1okRhpq9",opacityInput:"opacityInput-1A9bqplo",opacityInputPercent:"opacityInputPercent-n0mDvs0P"}},"P4l+":function(e,t,n){},"Q+1u":function(e,t,n){"use strict";n.d(t,"a",(function(){return p}));var o=n("mrSG"),r=n("q1tI"),i=n("TSYQ"),s=n("Eyy1"),a=n("QpNh"),c=n("qFKp"),l=n("6ix9"),u=r.createContext(null),p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t._rows=new WeakMap,t._rowCount=1,t}return Object(o.__extends)(t,e),t.prototype.render=function(){return r.createElement(u.Provider,{value:this},r.createElement("div",{ref:this.props.reference,className:i(l.content,c.isIE&&l.ie)},this.props.children))},t.prototype.getRowIndex=function(e){var t=this._rows.get(e);return void 0===t&&(t=this._rowCount++,this._rows.set(e,t)),t},t}(r.PureComponent),h=r.createContext(0),d=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return Object(o.__extends)(t,e),t.prototype.render=function(){return r.createElement(h.Provider,{value:Object(s.ensureNotNull)(this.context).getRowIndex(this)},this.props.children)},t.contextType=u,t}(r.PureComponent);function f(e){return c.isIE?{msGridRow:e}:void 0}p.Row=d,p.Cell=function(e){var t=i(l.cell,e.offset&&l.offset,e.grouped&&l.grouped,"top"===e.verticalAlign&&l.top,"adaptive"===e.verticalAlign&&l.adaptive,e.checkableTitle&&l.checkableTitle,2===e.colSpan&&l.fill,"first"===e.placement&&2!==e.colSpan&&l.first,"last"===e.placement&&2!==e.colSpan&&l.last),n=Object(a.a)(e);return r.createElement(h.Consumer,null,(function(s){return r.createElement("div",Object(o.__assign)({},n,{className:t,style:f(s)}),r.createElement("div",{className:i(l.inner,e.className)},e.children))}))},p.Separator=function(e){return r.createElement(p.Row,null,r.createElement(h.Consumer,null,(function(e){return r.createElement("div",{className:i(l.cell,l.separator,l.fill),style:f(e)})})))},p.GroupSeparator=function(e){var t=e.size||0;return r.createElement(p.Row,null,r.createElement(h.Consumer,null,(function(e){return r.createElement("div",{className:i(l.cell,l.groupSeparator,l.fill,1===t&&l.big),style:f(e)})})))}},"R4+T":function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 16 8" width="16" height="8"><path fill="currentColor" d="M0 1.475l7.396 6.04.596.485.593-.49L16 1.39 14.807 0 7.393 6.122 8.58 6.12 1.186.08z"/></svg>'},U1eG:function(e,t,n){"use strict";n.d(t,"a",(function(){return l}));var o=n("mrSG"),r=n("q1tI"),i=n("TSYQ"),s=n("Eyy1"),a=n("Hr11"),c=n("Oqo1"),l=function(e){function t(t){var n=e.call(this,t)||this;return n._container=null,n._pointer=null,n._raf=null,n._refContainer=function(e){n._container=e},n._refPointer=function(e){n._pointer=e},n._handlePosition=function(e){null===n._raf&&(n._raf=requestAnimationFrame((function(){
|
|
var t=Object(s.ensureNotNull)(n._container),o=Object(s.ensureNotNull)(n._pointer),r=t.getBoundingClientRect(),i=o.offsetWidth,c=e.clientX-i/2-r.left,l=Object(a.clamp)(c/(r.width-i),0,1);n.setState({inputOpacity:Math.round(100*l).toString()}),n.props.onChange(l),n._raf=null})))},n._onSliderClick=function(e){n._handlePosition(e.nativeEvent),n._dragSubscribe()},n._mouseUp=function(e){n.setState({isPointerDragged:!1}),n._dragUnsubscribe(),n._handlePosition(e)},n._mouseMove=function(e){n.setState({isPointerDragged:!0}),n._handlePosition(e)},n._onTouchStart=function(e){n._handlePosition(e.nativeEvent.touches[0])},n._handleTouch=function(e){n.setState({isPointerDragged:!0}),n._handlePosition(e.nativeEvent.touches[0])},n._handleTouchEnd=function(){n.setState({isPointerDragged:!1})},n._handleInput=function(e){var t=e.currentTarget.value,o=Number(t)/100;n.setState({inputOpacity:t}),Number.isNaN(o)||o>1||n.props.onChange(o)},n.state={inputOpacity:Math.round(100*t.opacity).toString(),isPointerDragged:!1},n}return Object(o.__extends)(t,e),t.prototype.componentWillUnmount=function(){null!==this._raf&&(cancelAnimationFrame(this._raf),this._raf=null),this._dragUnsubscribe()},t.prototype.render=function(){var e=this.props,t=e.color,n=e.opacity,o=e.hideInput,s=this.state,a=s.inputOpacity,l=s.isPointerDragged,u={color:t||void 0};return r.createElement("div",{className:c.opacity},r.createElement("div",{className:c.opacitySlider,style:u,ref:this._refContainer,onMouseDown:this._onSliderClick,onTouchStart:this._onTouchStart,onTouchMove:this._handleTouch,onTouchEnd:this._handleTouchEnd},r.createElement("div",{className:c.opacitySliderGradient,style:{backgroundImage:"linear-gradient(90deg, transparent, "+t+")"}}),r.createElement("div",{className:c.opacityPointerWrap},r.createElement("div",{className:i(c.pointer,l&&c.dragged),style:{left:100*n+"%"},ref:this._refPointer}))),!o&&r.createElement("div",{className:c.opacityInputWrap},r.createElement("input",{type:"text",className:c.opacityInput,value:a,onChange:this._handleInput}),r.createElement("span",{className:c.opacityInputPercent},"%")))},t.prototype._dragSubscribe=function(){var e=Object(s.ensureNotNull)(this._container).ownerDocument;e&&(e.addEventListener("mouseup",this._mouseUp),e.addEventListener("mousemove",this._mouseMove))},t.prototype._dragUnsubscribe=function(){var e=Object(s.ensureNotNull)(this._container).ownerDocument;e&&(e.removeEventListener("mousemove",this._mouseMove),e.removeEventListener("mouseup",this._mouseUp))},t}(r.PureComponent)},WboT:function(e,t,n){"use strict";var o=n("mrSG"),r=n("q1tI"),i=n.n(r),s=(n("EsMY"),n("TSYQ")),a=n("kSQs"),c=n("Eyy1"),l=n("Ialn"),u=n("qFKp"),p=n("ZgM/"),h={attachment:{horizontal:"left",vertical:"bottom"},targetAttachment:{horizontal:"left",vertical:"top"}},d=function(e){function t(t){var n=e.call(this,t)||this;return n._input=null,n._buttons=null,n._innerLabel=null,n._container=null,n._onBlur=function(e){n.setState({focused:!1}),n.props.onBlur&&n.props.onBlur(e)},n._onFocus=function(e){n.setState({focused:!0}),
|
|
n.props.onFocus&&n.props.onFocus(e)},n._containerFocus=function(e){(!Modernizr.mobiletouch&&n._buttons&&n._buttons.contains(e.target)||n._innerLabel&&n._innerLabel.contains(e.target))&&Object(c.ensureNotNull)(n._input).focus()},n._setContainerRef=function(e){n._container=e,n.props.containerReference&&n.props.containerReference(e)},n._setInputRef=function(e){n._input=e,n.props.inputReference&&n.props.inputReference(e)},n._setButtonsRef=function(e){n._buttons=e},n._setInnerLabelRef=function(e){n._innerLabel=e},n.state={focused:!1},n}return Object(o.__extends)(t,e),t.prototype.componentDidMount=function(){this.props.onWheelNoPassive&&this._addPassiveListenerOnWheel(this.props.onWheelNoPassive)},t.prototype.componentDidUpdate=function(e){this.props.onWheelNoPassive!==e.onWheelNoPassive&&this._updatePassiveListenerOnWheel(e.onWheelNoPassive)},t.prototype.componentWillUnmount=function(){this.props.onWheelNoPassive&&this._removePassiveListenerOnWheel(this.props.onWheelNoPassive)},t.prototype.render=function(){var e;this.props.error?e=p.error:this.props.warning&&(e=p.warning);var t=this.props,n=t.borderStyle,o=void 0===n?"thick":n,i=t.fontSizeStyle,a=void 0===i?"large":i,c=s(p.inputWithErrorWrapper,"thick"===o&&p.thickBorder,this.props.className,this.state.focused&&!this.props.disabled&&p.focused,e,this.props.disabled&&p.disabled,this.props.readOnly&&p.readonly),h=s(p.innerInput,"large"===a&&p.largeFont,Object(l.isRtl)()&&!u.isChrome&&p.innerInputFix);return r.createElement("div",{className:c},r.createElement("div",{className:p.inputWithError,ref:this._setContainerRef,onMouseOver:this.props.onMouseOver,onMouseOut:this.props.onMouseOut,onClick:this.props.onClick,onFocus:this._containerFocus,onWheel:this.props.onWheel},r.createElement("div",{className:s(p.inputContainer,Object(l.isRtl)()&&!u.isChrome&&p.inputContainerFix)},this.props.innerLabel&&r.createElement("div",{className:p.innerLabel,tabIndex:-1,ref:this._setInnerLabelRef},this.props.innerLabel),r.createElement("div",{className:p.innerInputContainer},r.createElement("input",{name:this.props.name,ref:this._setInputRef,className:h,pattern:this.props.pattern,type:this.props.type||"text",value:this.props.value,placeholder:this.props.placeholder,readOnly:this.props.readOnly,disabled:this.props.disabled,inputMode:this.props.inputMode,onBlur:this._onBlur,onChange:this.props.onChange,onClick:this.props.onInputClick,onFocus:this._onFocus,onKeyDown:this.props.onKeyDown,onKeyUp:this.props.onKeyUp})),r.createElement("div",{className:p.iconBlock,tabIndex:-1,ref:this._setButtonsRef},this.props.button)),this.props.children),this._renderError())},t.prototype._renderError=function(){return void 0!==this.props.errorMessage?r.createElement(a.a,{root:"document",show:!0,isOpened:this.props.showErrorMessage,targetAttachment:h.targetAttachment,attachment:h.attachment,target:this._container||void 0,inheritWidthFromTarget:!0,customErrorClass:p.errorMessage,attachmentOffsetY:-4},[this.props.errorMessage]):void 0},t.prototype._updatePassiveListenerOnWheel=function(e){
|
|
e&&this._removePassiveListenerOnWheel(e),this.props.onWheelNoPassive&&this._addPassiveListenerOnWheel(this.props.onWheelNoPassive)},t.prototype._addPassiveListenerOnWheel=function(e){Object(c.ensureNotNull)(this._container).addEventListener("wheel",e,{passive:!1})},t.prototype._removePassiveListenerOnWheel=function(e){Object(c.ensureNotNull)(this._container).removeEventListener("wheel",e)},t}(r.PureComponent),f=n("Iivm"),m=n("R4+T"),v=n("uZsJ");function b(e){var t=s(v.control,v.controlIncrease),n=s(v.control,v.controlDecrease);return r.createElement("div",{className:s(v.controlWrapper,!e.visible&&v.hidden)},r.createElement("div",{className:t,onClick:e.increaseValue},r.createElement(f.Icon,{icon:m,className:v.increaseControlIcon})),r.createElement("div",{className:n,onClick:e.decreaseValue},r.createElement(f.Icon,{icon:m,className:v.decreaseControlIcon})))}var g=n("8d0Q"),_=n("Oi2w"),C=n("l9+T"),y=n("/3z9");n.d(t,"a",(function(){return k}));var w=[38],E=[40];function k(e){var t,n,r=Object(g.b)(),s=r[0],a=r[1],c=Object(_.a)(),l=c[0],u=c[1],p=Object(C.a)(u.onFocus,e.onFocus),h=Object(C.a)(u.onBlur,e.onBlur);return i.a.createElement(d,Object(o.__assign)({},a,{name:e.name,pattern:e.pattern,borderStyle:e.borderStyle,fontSizeStyle:e.fontSizeStyle,value:e.value,className:e.className,button:(t=e.button,n=e.forceShowControls,e.disabled?void 0:i.a.createElement(i.a.Fragment,null,t||i.a.createElement(b,{visible:!Modernizr.mobiletouch&&(n||l||s),increaseValue:f,decreaseValue:m}))),disabled:e.disabled,placeholder:e.placeholder,innerLabel:e.innerLabel,containerReference:e.containerReference,inputReference:e.inputReference,inputMode:e.inputMode,error:e.error,errorMessage:e.errorMessage,showErrorMessage:e.error&&s,onClick:e.onClick,onFocus:p,onBlur:h,onChange:e.onValueChange,onKeyDown:function(t){if(e.disabled||0!==Object(y.modifiersFromEvent)(t.nativeEvent))return;var n=w,o=E;e.controlDecKeyCodes&&(o=o.concat(e.controlDecKeyCodes));e.controlIncKeyCodes&&(n=n.concat(e.controlIncKeyCodes));(o.includes(t.keyCode)||n.includes(t.keyCode))&&(t.preventDefault(),e.onValueByStepChange(o.includes(t.keyCode)?-1:1));e.onKeyDown&&e.onKeyDown(t)},onWheelNoPassive:function(t){if(e.disabled)return;if(!l)return;t.preventDefault(),t.deltaY<0?e.onValueByStepChange(1):e.onValueByStepChange(-1)}}));function f(){e.disabled||e.onValueByStepChange(1)}function m(){e.disabled||e.onValueByStepChange(-1)}}},"ZgM/":function(e,t,n){e.exports={inputWithErrorWrapper:"inputWithErrorWrapper-3VldItns",disabled:"disabled-1H5pTmbC",thickBorder:"thickBorder-17UV-SuS",readonly:"readonly-3wmbSVwP",focused:"focused-3rk113Ah",innerInput:"innerInput-29Ku0bwF",error:"error-32uXEKXM",warning:"warning-1fcuxDP3",inputWithError:"inputWithError-1wKt_k8s",inputContainer:"inputContainer-2JfcvOzg",inputContainerFix:"inputContainerFix-3bYyvsOT",innerInputContainer:"innerInputContainer-FSOtBYl0",largeFont:"largeFont-1Tlrlf5g",innerInputFix:"innerInputFix-3nQEuMmn",errorMessage:"errorMessage-3U3e1ayv",iconBlock:"iconBlock-1uOkuIhU",innerLabel:"innerLabel-1oKvCwg6"}},
|
|
Zzxg:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.GroupedCheckbox=t.Checkbox=void 0;var o=n("mrSG"),r=n("q1tI"),i=n("TSYQ"),s=n("0W35"),a=n("vCF3"),c=n("qibD");n("E9Pn");var l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o.__extends(t,e),t.prototype.render=function(){var e,t,n=i(this.props.className,c.checkbox,((e={})[c.reverse]=Boolean(this.props.labelPositionReverse),e[c.baseline]=Boolean(this.props.labelAlignBaseline),e)),s=i(c.label,((t={})[c.disabled]=this.props.disabled,t)),l=null;return this.props.label&&(l=r.createElement("span",{className:s},this.props.label)),r.createElement("label",{className:n},r.createElement(a.CheckboxInput,o.__assign({},this.props)),l)},t.defaultProps={value:"on"},t}(r.PureComponent);t.Checkbox=l,t.GroupedCheckbox=s.makeSwitchGroupItem(l)},aJjg:function(e,t){e.exports='<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 11 9" width="11" height="9" fill="none"><path stroke-width="2" d="M0.999878 4L3.99988 7L9.99988 1"/></svg>'},fV0y:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),n("mrSG").__exportStar(n("Zzxg"),t)},"jpE+":function(e,t,n){e.exports={hue:"hue-2mlXxlkM",pointer:"pointer-3fNcCimp",pointerContainer:"pointerContainer-1T_sOwrr"}},lY1a:function(e,t,n){e.exports={saturation:"saturation-2SLmW8C-",pointer:"pointer-2fX2g8ap"}},nc0P:function(e,t,n){var o;!function(r){"use strict";var i,s="[big.js] ",a=s+"Invalid ",c=a+"decimal places",l={},u=/^-?(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i;function p(e,t,n,o){var r=e.c,i=e.e+t+1;if(i<r.length){if(1===n)o=r[i]>=5;else if(2===n)o=r[i]>5||5==r[i]&&(o||i<0||void 0!==r[i+1]||1&r[i-1]);else if(3===n)o=o||!!r[0];else if(o=!1,0!==n)throw Error("[big.js] Invalid rounding mode");if(i<1)r.length=1,o?(e.e=-t,r[0]=1):r[0]=e.e=0;else{if(r.length=i--,o)for(;++r[i]>9;)r[i]=0,i--||(++e.e,r.unshift(1));for(i=r.length;!r[--i];)r.pop()}}else if(n<0||n>3||n!==~~n)throw Error("[big.js] Invalid rounding mode");return e}function h(e,t,n,o){var r,i,s=e.constructor,l=!e.c[0];if(void 0!==n){if(n!==~~n||n<(3==t)||n>1e6)throw Error(3==t?a+"precision":c);for(n=o-(e=new s(e)).e,e.c.length>++o&&p(e,n,s.RM),2==t&&(o=e.e+n+1);e.c.length<o;)e.c.push(0)}if(r=e.e,n=(i=e.c.join("")).length,2!=t&&(1==t||3==t&&o<=r||r<=s.NE||r>=s.PE))i=i.charAt(0)+(n>1?"."+i.slice(1):"")+(r<0?"e":"e+")+r;else if(r<0){for(;++r;)i="0"+i;i="0."+i}else if(r>0)if(++r>n)for(r-=n;r--;)i+="0";else r<n&&(i=i.slice(0,r)+"."+i.slice(r));else n>1&&(i=i.charAt(0)+"."+i.slice(1));return e.s<0&&(!l||4==t)?"-"+i:i}l.abs=function(){var e=new this.constructor(this);return e.s=1,e},l.cmp=function(e){var t,n=this,o=n.c,r=(e=new n.constructor(e)).c,i=n.s,s=e.s,a=n.e,c=e.e;if(!o[0]||!r[0])return o[0]?i:r[0]?-s:0;if(i!=s)return i;if(t=i<0,a!=c)return a>c^t?1:-1;for(s=(a=o.length)<(c=r.length)?a:c,i=-1;++i<s;)if(o[i]!=r[i])return o[i]>r[i]^t?1:-1;return a==c?0:a>c^t?1:-1},l.div=function(e){var t=this,n=t.constructor,o=t.c,r=(e=new n(e)).c,i=t.s==e.s?1:-1,s=n.DP;if(s!==~~s||s<0||s>1e6)throw Error(c)
|
|
;if(!r[0])throw Error("[big.js] Division by zero");if(!o[0])return new n(0*i);var a,l,u,h,d,f=r.slice(),m=a=r.length,v=o.length,b=o.slice(0,a),g=b.length,_=e,C=_.c=[],y=0,w=s+(_.e=t.e-e.e)+1;for(_.s=i,i=w<0?0:w,f.unshift(0);g++<a;)b.push(0);do{for(u=0;u<10;u++){if(a!=(g=b.length))h=a>g?1:-1;else for(d=-1,h=0;++d<a;)if(r[d]!=b[d]){h=r[d]>b[d]?1:-1;break}if(!(h<0))break;for(l=g==a?r:f;g;){if(b[--g]<l[g]){for(d=g;d&&!b[--d];)b[d]=9;--b[d],b[g]+=10}b[g]-=l[g]}for(;!b[0];)b.shift()}C[y++]=h?u:++u,b[0]&&h?b[g]=o[m]||0:b=[o[m]]}while((m++<v||void 0!==b[0])&&i--);return C[0]||1==y||(C.shift(),_.e--),y>w&&p(_,s,n.RM,void 0!==b[0]),_},l.eq=function(e){return!this.cmp(e)},l.gt=function(e){return this.cmp(e)>0},l.gte=function(e){return this.cmp(e)>-1},l.lt=function(e){return this.cmp(e)<0},l.lte=function(e){return this.cmp(e)<1},l.minus=l.sub=function(e){var t,n,o,r,i=this,s=i.constructor,a=i.s,c=(e=new s(e)).s;if(a!=c)return e.s=-c,i.plus(e);var l=i.c.slice(),u=i.e,p=e.c,h=e.e;if(!l[0]||!p[0])return p[0]?(e.s=-c,e):new s(l[0]?i:0);if(a=u-h){for((r=a<0)?(a=-a,o=l):(h=u,o=p),o.reverse(),c=a;c--;)o.push(0);o.reverse()}else for(n=((r=l.length<p.length)?l:p).length,a=c=0;c<n;c++)if(l[c]!=p[c]){r=l[c]<p[c];break}if(r&&(o=l,l=p,p=o,e.s=-e.s),(c=(n=p.length)-(t=l.length))>0)for(;c--;)l[t++]=0;for(c=t;n>a;){if(l[--n]<p[n]){for(t=n;t&&!l[--t];)l[t]=9;--l[t],l[n]+=10}l[n]-=p[n]}for(;0===l[--c];)l.pop();for(;0===l[0];)l.shift(),--h;return l[0]||(e.s=1,l=[h=0]),e.c=l,e.e=h,e},l.mod=function(e){var t,n=this,o=n.constructor,r=n.s,i=(e=new o(e)).s;if(!e.c[0])throw Error("[big.js] Division by zero");return n.s=e.s=1,t=1==e.cmp(n),n.s=r,e.s=i,t?new o(n):(r=o.DP,i=o.RM,o.DP=o.RM=0,n=n.div(e),o.DP=r,o.RM=i,this.minus(n.times(e)))},l.plus=l.add=function(e){var t,n=this,o=n.constructor,r=n.s,i=(e=new o(e)).s;if(r!=i)return e.s=-i,n.minus(e);var s=n.e,a=n.c,c=e.e,l=e.c;if(!a[0]||!l[0])return l[0]?e:new o(a[0]?n:0*r);if(a=a.slice(),r=s-c){for(r>0?(c=s,t=l):(r=-r,t=a),t.reverse();r--;)t.push(0);t.reverse()}for(a.length-l.length<0&&(t=l,l=a,a=t),r=l.length,i=0;r;a[r]%=10)i=(a[--r]=a[r]+l[r]+i)/10|0;for(i&&(a.unshift(i),++c),r=a.length;0===a[--r];)a.pop();return e.c=a,e.e=c,e},l.pow=function(e){var t=this,n=new t.constructor(1),o=n,r=e<0;if(e!==~~e||e<-1e6||e>1e6)throw Error(a+"exponent");for(r&&(e=-e);1&e&&(o=o.times(t)),e>>=1;)t=t.times(t);return r?n.div(o):o},l.round=function(e,t){var n=this.constructor;if(void 0===e)e=0;else if(e!==~~e||e<-1e6||e>1e6)throw Error(c);return p(new n(this),e,void 0===t?n.RM:t)},l.sqrt=function(){var e,t,n,o=this,r=o.constructor,i=o.s,a=o.e,c=new r(.5);if(!o.c[0])return new r(o);if(i<0)throw Error(s+"No square root");0===(i=Math.sqrt(o+""))||i===1/0?((t=o.c.join("")).length+a&1||(t+="0"),a=((a+1)/2|0)-(a<0||1&a),e=new r(((i=Math.sqrt(t))==1/0?"1e":(i=i.toExponential()).slice(0,i.indexOf("e")+1))+a)):e=new r(i),a=e.e+(r.DP+=4);do{n=e,e=c.times(n.plus(o.div(n)))}while(n.c.slice(0,a).join("")!==e.c.slice(0,a).join(""));return p(e,r.DP-=4,r.RM)},l.times=l.mul=function(e){
|
|
var t,n=this,o=n.constructor,r=n.c,i=(e=new o(e)).c,s=r.length,a=i.length,c=n.e,l=e.e;if(e.s=n.s==e.s?1:-1,!r[0]||!i[0])return new o(0*e.s);for(e.e=c+l,s<a&&(t=r,r=i,i=t,l=s,s=a,a=l),t=new Array(l=s+a);l--;)t[l]=0;for(c=a;c--;){for(a=0,l=s+c;l>c;)a=t[l]+i[c]*r[l-c-1]+a,t[l--]=a%10,a=a/10|0;t[l]=(t[l]+a)%10}for(a?++e.e:t.shift(),c=t.length;!t[--c];)t.pop();return e.c=t,e},l.toExponential=function(e){return h(this,1,e,e)},l.toFixed=function(e){return h(this,2,e,this.e+e)},l.toPrecision=function(e){return h(this,3,e,e-1)},l.toString=function(){return h(this)},l.valueOf=l.toJSON=function(){return h(this,4)},(i=function e(){function t(n){var o=this;if(!(o instanceof t))return void 0===n?e():new t(n);n instanceof t?(o.s=n.s,o.e=n.e,o.c=n.c.slice()):function(e,t){var n,o,r;if(0===t&&1/t<0)t="-0";else if(!u.test(t+=""))throw Error(a+"number");e.s="-"==t.charAt(0)?(t=t.slice(1),-1):1,(n=t.indexOf("."))>-1&&(t=t.replace(".",""));(o=t.search(/e/i))>0?(n<0&&(n=o),n+=+t.slice(o+1),t=t.substring(0,o)):n<0&&(n=t.length);for(r=t.length,o=0;o<r&&"0"==t.charAt(o);)++o;if(o==r)e.c=[e.e=0];else{for(;r>0&&"0"==t.charAt(--r););for(e.e=n-o-1,e.c=[],n=0;o<=r;)e.c[n++]=+t.charAt(o++)}}(o,n),o.constructor=t}return t.prototype=l,t.DP=20,t.RM=1,t.NE=-7,t.PE=21,t.version="5.2.2",t}()).default=i.Big=i,void 0===(o=function(){return i}.call(t,n,t,e))||(e.exports=o)}()},qibD:function(e){e.exports=JSON.parse('{"checkbox":"checkbox-3xZUD-2M","reverse":"reverse-3xeTx96y","label":"label-cyItEVpF","baseline":"baseline-6TXKro4X"}')},uJfL:function(e,t,n){e.exports={container:"container-1-OmVBa-",form:"form-1PwJY7C7",swatch:"swatch-1yekatxU",inputWrap:"inputWrap-11zHN5-G",inputHash:"inputHash-2IZ-P-A4",input:"input-35LrVJJj",buttonWrap:"buttonWrap-37bmOXG9",hueSaturationWrap:"hueSaturationWrap-2qtz1WJa",saturation:"saturation-3duvfnxs",hue:"hue-31zIOKyJ"}},uZsJ:function(e,t,n){e.exports={controlWrapper:"controlWrapper-skuqZLfC",hidden:"hidden-3NLdXwWA",control:"control-1HTkHp6S",controlIncrease:"controlIncrease-2YFIq5Gk",controlDecrease:"controlDecrease-3RZJUOOQ",increaseControlIcon:"increaseControlIcon-1tvvZsEf",decreaseControlIcon:"decreaseControlIcon-O8mAFFIw"}},uhCe:function(e,t,n){"use strict";n.d(t,"a",(function(){return r}));var o=n("ASyk"),r={SmallHeight:o["small-height-breakpoint"],TabletSmall:o["tablet-small-breakpoint"],TabletNormal:o["tablet-normal-breakpoint"]}},vCF3:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CheckboxInput=void 0;var o=n("q1tI"),r=n("TSYQ"),i=n("Iivm"),s=n("aJjg"),a=n("F0Qt");n("P4l+"),t.CheckboxInput=function(e){var t,n=r(a.box,((t={})[a.check]=!Boolean(e.indeterminate),t[a.dot]=Boolean(e.indeterminate),t[a.noOutline]=-1===e.tabIndex,t));return o.createElement("div",{className:a.wrapper,title:e.title},o.createElement("input",{id:e.id,tabIndex:e.tabIndex,className:a.input,type:"checkbox",name:e.name,checked:e.checked,disabled:e.disabled,value:e.value,autoFocus:e.autoFocus,role:e.role,onChange:function(){e.onChange&&e.onChange(e.value)},ref:e.reference}),o.createElement("div",{className:n
|
|
},o.createElement(i.Icon,{icon:s,className:a.icon})))}}}]); |