1(self.webpackChunkmondoin_mobile_ui=self.webpackChunkmondoin_mobile_ui||[]).push([[4354],{844354:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>w});var o,n,a=r(667294),i=r.n(a),l=r(875593),c=r(161469),u=r(590325),s=r(556261),f=r(45697),p=r.n(f),m=r(198349),d=r(635181),h=r(260520),b=r(566251);function y(e){return y="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},y(e)}function g(){return g=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)Object.prototype.hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},g.apply(this,arguments)}function v(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,o.key,o)}}function C(e,t){return C=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},C(e,t)}function j(e){var t=function(){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}}();return function(){var r,o=x(e);if(t){var n=x(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return _(this,r)}}function _(e,t){if(t&&("object"===y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}function x(e){return x=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},x(e)}var w=(0,s.D2)((function(){return{root:{display:"flex",alignItems:"center"},textRoot:{padding:"0px 0px 0px 15px",position:"relative",width:"80px"}}}),{withTheme:!0})((n=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&C(e,t)}(a,e);var t,r,o,n=j(a);function a(e){var t;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,a),(t=n.call(this,e))._formatedValue=function(){return"".concat(t.state.value," %")},t._formatColor=function(e){return e&&""!==e.value?"hsv"===e.type?"hsl(".concat(e.value.h,",").concat(e.value.s,"%,").concat(e.value.v,"%"):e.value:t.props.theme.palette.primary1Color},t._formatMargin=function(e){return e?"".concat(e["margin-top"]," ").concat(e["margin-right"]," ").concat(e["margin-bottom"]," ").concat(e["margin-left"]):null},t._formatPadding=function(e){return e?"".concat(e["padding-top"]," ").concat(e["padding-right"]," ").concat(e["padding-bottom"]," ").concat(e["padding-left"]):null},t.handleChange=function(e){t.setState({value:e},(function(){return t.updateValues(t.props)}))},t.state={value:parseInt(e.value,10)||0},t}return t=a,(r=[{key:"updateValues",value:function(e){if(e.form){var t=this.state.value||0,r=this.isValid(e);e.form.setElementProperties(e.relax.element.id,{valid:r,invalid:!r,value:r&&t||""}),e.form.setProperty(e.relax.element.id,e.name||"percent_"+e.relax.element.id,t)}}},{key:"render",value:function(){var e=this,t=this.props,r=t.relax,o=t.styleClassMap,n=t.Element,a=t.minimum,l=t.maximum,u=t.railColor,s=t.railHeight,f=t.handleSize,p=t.activeRailColor,d=t.handleBgColor,b=t.handleBorderColor,y=t.handlePosition,v=t.showText,C=t.classes,j=this.state.value;return i().createElement(n,g({htmlTag:"div"},r,{settings:m.Z,className:o.element}),i().createElement("div",{className:C.root},i().createElement(c.default,{className:o.slider,railStyle:{backgroundColor:this._formatColor(u),height:s},trackStyle:{backgroundColor:this._formatColor(p),height:s},handleStyle:{borderColor:this._formatColor(b),height:f,width:f,backgroundColor:this._formatColor(d),margin:this._formatMargin(y),padding:this._formatPadding(y)},min:a,max:l,value:j,onChange:function(t){return e.handleChange(t)}
1,"aria-labelledby":"percentage-slider"}),v&&i().createElement(h.default,{className:o.textField,classes:{root:C.textRoot},type:"text",value:this._formatedValue()})))}}])&&v(t.prototype,r),o&&v(t,o),Object.defineProperty(t,"prototype",{writable:!1}),a}(l.Z),n.propTypes={name:p().string,styleClassMap:p().object,required:p().bool,showText:p().bool,value:p().oneOfType([p().number,p().string]),classes:p().object,railColor:p().object,handleBgColor:p().object,handleBorderColor:p().object,handlePosition:p().object,activeRailColor:p().object,minimum:p().number,maximum:p().number,railHeight:p().string,handleSize:p().string,relax:p().object.isRequired,Element:p().func.isRequired,form:p().object,theme:p().object},n.propsSchema=u.Z,n.settings=m.Z,n.style=d.Z,n.defaultProps=b.Z,o=n))||o}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.