web-input-material 0.0.451 → 0.0.452

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -302,7 +302,7 @@ var r={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-r
302
302
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
303
303
  * THE SOFTWARE.
304
304
  */
305
- var r=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var n=this;this.cancel(e);var r=requestAnimationFrame((function(r){n.rafIDs.delete(e),t(r)}));this.rafIDs.set(e,r)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,n){e.cancel(n)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,n){e.push(n)})),e},e}()},,,,,,,,,,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(2),a=n(123),l=o.memo((function(e){const{children:t,...n}=e;return r.jsxs("div",{className:"mdc-slider__track",children:[r.jsx("div",{className:"mdc-slider__track--inactive"}),r.jsx("div",{className:"mdc-slider__track--active",children:r.jsx("div",{...n,className:"mdc-slider__track--active_fill"})}),t]})})),u=o.memo((function({tickMarks:e}){return r.jsx("div",{className:"mdc-slider__tick-marks",children:e.map(((e,t)=>r.jsx("div",{className:e.className},t)))})})),s=o.memo(o.forwardRef((function(e,t){return r.jsxs("div",{className:"mdc-slider__thumb",ref:t,children:[e.children,r.jsx("div",{className:"mdc-slider__thumb-knob"})]})}))),c=e=>{const t=Number(e);return"number"!=typeof t||isNaN(t)?void 0:t},d=i.createComponent((function(e,t){const{rootEl:n,setInputsRef:d,setThumbRef:f,tickMarks:p,trackActiveEl:_}=(e=>{const t=o.useRef([]),n=o.useRef([]),{foundation:r,...l}=i.useFoundation({props:e,elements:{rootEl:!0,trackActiveEl:!0},foundation:({rootEl:e,trackActiveEl:t,emit:n})=>new a.MDCSliderFoundation({hasClass:t=>e.hasClass(t),addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),addThumbClass:(e,t)=>{var n;null==(n=u(t))||n.classList.add(e)},removeThumbClass:(e,t)=>{var n;null==(n=u(t))||n.classList.remove(e)},getAttribute:t=>e.getProp(t),getInputValue:e=>{var t;return(null==(t=s(e))?void 0:t.value)??"1"},setInputValue:(e,t)=>{const n=s(t);return void 0!==n?n.value=e:e},getInputAttribute:(e,t)=>{const n=s(t);return n?n.getAttribute(e):null},setInputAttribute:(e,t,n)=>{var r;null==(r=s(n))||r.setAttribute(e,t)},removeInputAttribute:(e,t)=>{var n;null==(n=s(t))||n.removeAttribute(e)},focusInput:e=>{var t;null==(t=s(e))||t.focus()},isInputFocused:e=>s(e)===document.activeElement,shouldHideFocusStylesForPointerEvents:()=>!1,getThumbKnobWidth:e=>{const t=u(e);return t?t.querySelector(`.${a.cssClasses.THUMB_KNOB}`).getBoundingClientRect().width:i.emptyClientRect.width},getThumbBoundingClientRect:e=>{var t;return(null==(t=u(e))?void 0:t.getBoundingClientRect())??i.emptyClientRect},getBoundingClientRect:()=>e.ref?e.ref.getBoundingClientRect():i.emptyClientRect,getValueIndicatorContainerWidth:e=>{const t=u(e);return t?t.querySelector(`.${a.cssClasses.VALUE_INDICATOR_CONTAINER}`).getBoundingClientRect().width:i.emptyClientRect.width},isRTL:()=>!!e.ref&&"rtl"===getComputedStyle(e.ref).direction,setThumbStyleProperty:(e,t,n)=>{var r;null==(r=u(n))||r.style.setProperty(e,t)},removeThumbStyleProperty:(e,t)=>{var n;null==(n=u(t))||n.style.removeProperty(e)},setTrackActiveStyleProperty:(e,n)=>{t.setStyle(e,n)},removeTrackActiveStyleProperty:e=>{t.setStyle(e,null)},setValueIndicatorText:(e,t)=>{const n=u(t);return n&&(n.querySelector(`.${a.cssClasses.VALUE_INDICATOR_TEXT}`).textContent=String(e)),""},getValueToAriaValueTextFn:()=>null,updateTickMarks:t=>{var n,r;let o=null==(n=e.ref)?void 0:n.querySelector(`.${a.cssClasses.TICK_MARKS_CONTAINER}`);if(!o){o=document.createElement("div"),o.classList.add(a.cssClasses.TICK_MARKS_CONTAINER);const t=null==(r=e.ref)?void 0:r.querySelector(`.${a.cssClasses.TRACK}`);t&&t.appendChild(o)}if(t.length!==o.children.length){for(;o.firstChild;)o.removeChild(o.firstChild);f(t)}else p(o,t)},setPointerCapture:t=>{var n;null==(n=e.ref)||n.setPointerCapture(t)},emitChangeEvent:(e,t)=>{2===t?n("onChange",{value:e,thumb:t}):1===t&&n("onChangeValueStart",{value:e,thumb:t})},emitInputEvent:(e,t)=>{2===t?n("onInput",{value:e,thumb:t}):1===t&&n("onInputValueStart",{value:e,thumb:t})},registerEventHandler:(t,n)=>{e.addEventListener(t,n)},deregisterEventHandler:(t,n)=>{e.removeEventListener(t,n)},registerThumbEventHandler:(e,t,n)=>{var r;null==(r=u(e))||r.addEventListener(t,n)},deregisterThumbEventHandler:(e,t,n)=>{var r;null==(r=u(e))||r.removeEventListener(t,n)},registerInputEventHandler:(e,t,n)=>{var r;null==(r=s(e))||r.addEventListener(t,n)},deregisterInputEventHandler:(e,t,n)=>{var r;null==(r=s(e))||r.removeEventListener(t,n)},registerBodyEventHandler:(e,t)=>{document.body.addEventListener(e,t)},deregisterBodyEventHandler:(e,t)=>{document.body.removeEventListener(e,t)},registerWindowEventHandler:(e,t)=>{window.addEventListener(e,t)},deregisterWindowEventHandler:(e,t)=>{window.removeEventListener(e,t)}})}),u=e=>{var n,r;return e===a.Thumb.END?null==(n=t.current)?void 0:n[t.current.length-1]:null==(r=t.current)?void 0:r[0]},s=e=>{var t,r;return e===a.Thumb.END?null==(t=n.current)?void 0:t[n.current.length-1]:null==(r=n.current)?void 0:r[0]},[c,d]=o.useState([]),f=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]===a.TickMark.ACTIVE?a.cssClasses.TICK_MARK_ACTIVE:a.cssClasses.TICK_MARK_INACTIVE;t.push({className:r})}d(t)},p=(e,t)=>{const n=Array.from(e.children);for(let e=0;e<n.length;e++)t[e]===a.TickMark.ACTIVE?(n[e].classList.add(a.cssClasses.TICK_MARK_ACTIVE),n[e].classList.remove(a.cssClasses.TICK_MARK_INACTIVE)):(n[e].classList.add(a.cssClasses.TICK_MARK_INACTIVE),n[e].classList.remove(a.cssClasses.TICK_MARK_ACTIVE))};return o.useEffect((()=>{r.layout()}),[r]),o.useEffect((()=>{void 0!==e.range&&(r.isRange=e.range)}),[e.range,r]),o.useEffect((()=>{let t=void 0!==e.value?Number(e.value):r.getValue();const n=r.getMin(),o=r.getMax();t<n&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${n}`),t=n),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),r.setValue(t)}),[e.value,r]),o.useEffect((()=>{if(e.range){let t=void 0!==e.valueStart?Number(e.valueStart):r.getValueStart();const n=r.getMin(),o=r.getMax();t<n&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${n}`),t=n),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),r.setValueStart(t)}}),[e.range,e.valueStart,r]),o.useEffect((()=>{void 0!==e.disabled&&r.setDisabled(e.disabled)}),[e.disabled,r]),o.useEffect((()=>{void 0!==e.discrete&&(r.isDiscrete=e.discrete),e.discrete&&0===r.getStep()&&r.setStep(1)}),[e.discrete,r]),o.useEffect((()=>{void 0!==e.minRange&&r.setMinRange(Number(e.minRange))}),[e.minRange,r]),o.useEffect((()=>{const t=r.hasTickMarks;void 0!==e.displayMarkers&&e.displayMarkers!==t&&(r.hasTickMarks=e.displayMarkers,r.setHasTickMarks(e.displayMarkers))}),[e.displayMarkers,r]),o.useEffect((()=>{const e=r.handleDown.bind(r);r.handleDown=t=>{e(t)}}),[r]),{setInputsRef:(e,t)=>{n.current[e]=t||void 0},setThumbRef:(e,n)=>{t.current[e]=n||void 0},tickMarks:c,...l}})(e),{children:h,disabled:m,discrete:v,displayMarkers:y,max:g=100,min:b=0,minRange:E,onChange:O,onChangeValueStart:T,onInput:P,onInputValueStart:A,range:w,step:C,value:S,valueStart:D,...M}=e,I=i.useClassNames(e,["mdc-slider",{"mdc-slider--discrete":v,"mdc-slider--tick-marks":y&&v,"mdc-slider--disabled":m,"mdc-slider--range":w}]);return y&&!v&&console.warn("The 'displayMarkers' prop on rmwc Slider will\n only work in conjunction with the 'discrete' prop"),r.jsxs(i.Tag,{className:I,tabIndex:0,tag:"div",element:n,"data-min-range":E,ref:t,children:[w&&r.jsx("input",{...M,"aria-label":"Slider start value","aria-valuemax":c(g),"aria-valuenow":D,className:"mdc-slider__input",disabled:m,max:c(g),min:c(b),name:"rangeStart",onChange:T,onInput:A,ref:e=>d(0,e),step:C,type:"range",value:D}),r.jsx("input",{"aria-label":"Slider value","aria-valuemax":c(g),"aria-valuenow":S,className:"mdc-slider__input",disabled:m,max:c(g),min:c(b),name:"rangeEnd",...M,ref:e=>d(1,e),step:C,type:"range",value:S}),r.jsx(l,{..._.props({}),children:y&&r.jsx(u,{tickMarks:p})}),w&&r.jsx(s,{ref:e=>f(0,e),children:v&&r.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:r.jsx("div",{className:"mdc-slider__value-indicator",children:r.jsx("span",{className:"mdc-slider__value-indicator-text",children:D})})})}),r.jsx(s,{ref:e=>f(1,e),children:v&&r.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:r.jsx("div",{className:"mdc-slider__value-indicator",children:r.jsx("span",{className:"mdc-slider__value-indicator-text",children:S})})})}),h]})}));t.Slider=d},,,,,,,,function(e,t,n){n.r(t),n.d(t,{MDCSlider:function(){return A},MDCSliderFoundation:function(){return T},Thumb:function(){return l},TickMark:function(){return a},attributes:function(){return m},cssClasses:function(){return _},events:function(){return v},numbers:function(){return h},strings:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var a,l,u,s=n(4),c=n(44),d=n(16),f=n(20),p=n(19),_={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active",TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_CONTAINER:"mdc-slider__value-indicator-container",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"},h={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},m={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},v={CHANGE:"MDCSlider:change",INPUT:"MDCSlider:input"},y={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"},g=n(92),b=n(53),E=n(3);!function(e){e[e.ACTIVE=0]="ACTIVE",e[e.INACTIVE=1]="INACTIVE"}(a||(a={})),function(e){e[e.START=1]="START",e[e.END=2]="END"}(l||(l={})),function(e){e.SLIDER_UPDATE="slider_update"}(u||(u={}));var O=void 0!==window,T=function(e){function t(n){var r=e.call(this,i(i({},t.defaultAdapter),n))||this;return r.initialStylesRemoved=!1,r.isDisabled=!1,r.isDiscrete=!1,r.step=h.STEP_SIZE,r.minRange=h.MIN_RANGE,r.hasTickMarks=!1,r.isRange=!1,r.thumb=null,r.downEventClientX=null,r.startThumbKnobWidth=0,r.endThumbKnobWidth=0,r.animFrame=new g.K,r}return o(t,e),Object.defineProperty(t,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this;this.isDisabled=this.adapter.hasClass(_.DISABLED),this.isDiscrete=this.adapter.hasClass(_.DISCRETE),this.hasTickMarks=this.adapter.hasClass(_.TICK_MARKS),this.isRange=this.adapter.hasClass(_.RANGE);var t=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_MIN,this.isRange?l.START:l.END),m.INPUT_MIN),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_MAX,l.END),m.INPUT_MAX),r=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_VALUE,l.END),m.INPUT_VALUE),o=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_VALUE,l.START),m.INPUT_VALUE):t,i=this.adapter.getInputAttribute(m.INPUT_STEP,l.END),a=i?this.convertAttributeValueToNumber(i,m.INPUT_STEP):this.step,u=this.adapter.getAttribute(m.DATA_MIN_RANGE),s=u?this.convertAttributeValueToNumber(u,m.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:t,max:n,value:r,valueStart:o,step:a,minRange:s}),this.min=t,this.max=n,this.value=r,this.valueStart=o,this.step=a,this.minRange=s,this.numDecimalPlaces=P(this.step),this.valueBeforeDownEvent=r,this.valueStartBeforeDownEvent=o,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){e.handleInputChange(l.START)},this.inputEndChangeListener=function(){e.handleInputChange(l.END)},this.inputStartFocusListener=function(){e.handleInputFocus(l.START)},this.inputEndFocusListener=function(){e.handleInputFocus(l.END)},this.inputStartBlurListener=function(){e.handleInputBlur(l.START)},this.inputEndBlurListener=function(){e.handleInputBlur(l.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},t.prototype.destroy=function(){this.deregisterEventHandlers()},t.prototype.setMin=function(e){this.min=e,this.isRange||(this.valueStart=e),this.updateUI()},t.prototype.setMax=function(e){this.max=e,this.updateUI()},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.getValue=function(){return this.value},t.prototype.setValue=function(e){if(this.isRange&&e<this.valueStart+this.minRange)throw new Error("end thumb value ("+e+") must be >= start thumb value ("+this.valueStart+") + min range ("+this.minRange+")");this.updateValue(e,l.END)},t.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},t.prototype.setValueStart=function(e){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&e>this.value-this.minRange)throw new Error("start thumb value ("+e+") must be <= end thumb value ("+this.value+") - min range ("+this.minRange+")");this.updateValue(e,l.START)},t.prototype.setStep=function(e){this.step=e,this.numDecimalPlaces=P(e),this.updateUI()},t.prototype.setMinRange=function(e){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(e<0)throw new Error("`minRange` must be non-negative. Current value: "+e);if(this.value-this.valueStart<e)throw new Error("start thumb value ("+this.valueStart+") and end thumb value ("+this.value+") must differ by at least "+e+".");this.minRange=e},t.prototype.setIsDiscrete=function(e){this.isDiscrete=e,this.updateValueIndicatorUI(),this.updateTickMarksUI()},t.prototype.getStep=function(){return this.step},t.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},t.prototype.setHasTickMarks=function(e){this.hasTickMarks=e,this.updateTickMarksUI()},t.prototype.getDisabled=function(){return this.isDisabled},t.prototype.setDisabled=function(e){this.isDisabled=e,e?(this.adapter.addClass(_.DISABLED),this.isRange&&this.adapter.setInputAttribute(m.INPUT_DISABLED,"",l.START),this.adapter.setInputAttribute(m.INPUT_DISABLED,"",l.END)):(this.adapter.removeClass(_.DISABLED),this.isRange&&this.adapter.removeInputAttribute(m.INPUT_DISABLED,l.START),this.adapter.removeInputAttribute(m.INPUT_DISABLED,l.END))},t.prototype.getIsRange=function(){return this.isRange},t.prototype.layout=function(e){var t=(void 0===e?{}:e).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(l.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(l.END)),t||this.updateUI()},t.prototype.handleResize=function(){this.layout()},t.prototype.handleDown=function(e){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX;this.downEventClientX=t;var n=this.mapClientXOnSliderScale(t);this.thumb=this.getThumbFromDownEvent(t,n),null!==this.thumb&&(this.handleDragStart(e,n,this.thumb),this.updateValue(n,this.thumb,{emitInputEvent:!0}))}},t.prototype.handleMove=function(e){if(!this.isDisabled){e.preventDefault();var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX,n=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(t),null!==this.thumb){var r=this.mapClientXOnSliderScale(t);n||(this.handleDragStart(e,r,this.thumb),this.adapter.emitDragStartEvent(r,this.thumb)),this.updateValue(r,this.thumb,{emitInputEvent:!0})}}},t.prototype.handleUp=function(){var e,t;if(!this.isDisabled&&null!==this.thumb){(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&this.handleInputBlur(this.thumb);var n=this.thumb===l.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,r=this.thumb===l.START?this.valueStart:this.value;n!==r&&this.adapter.emitChangeEvent(r,this.thumb),this.adapter.emitDragEndEvent(r,this.thumb),this.thumb=null}},t.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,l.START),this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,l.END))},t.prototype.handleThumbMouseleave=function(){var e,t;this.isDiscrete&&this.isRange&&(!(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&(this.adapter.isInputFocused(l.START)||this.adapter.isInputFocused(l.END))||this.thumb||(this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,l.START),this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,l.END)))},t.prototype.handleMousedownOrTouchstart=function(e){var t=this,n="mousedown"===e.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(n,this.moveListener);var r=function(){t.handleUp(),t.adapter.deregisterBodyEventHandler(n,t.moveListener),t.adapter.deregisterEventHandler("mouseup",r),t.adapter.deregisterEventHandler("touchend",r)};this.adapter.registerBodyEventHandler("mouseup",r),this.adapter.registerBodyEventHandler("touchend",r),this.handleDown(e)},t.prototype.handlePointerdown=function(e){0===e.button&&(null!=e.pointerId&&this.adapter.setPointerCapture(e.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(e))},t.prototype.handleInputChange=function(e){var t=Number(this.adapter.getInputValue(e));e===l.START?this.setValueStart(t):this.setValue(t),this.adapter.emitChangeEvent(e===l.START?this.valueStart:this.value,e),this.adapter.emitInputEvent(e===l.START?this.valueStart:this.value,e)},t.prototype.handleInputFocus=function(e){if(this.adapter.addThumbClass(_.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===l.START?l.END:l.START;this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,t)}},t.prototype.handleInputBlur=function(e){if(this.adapter.removeThumbClass(_.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===l.START?l.END:l.START;this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,t)}},t.prototype.handleDragStart=function(e,t,n){var r,o;this.adapter.emitDragStartEvent(t,n),this.adapter.focusInput(n),(null===(o=(r=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===o?void 0:o.call(r))&&this.handleInputFocus(n),e.preventDefault()},t.prototype.getThumbFromDownEvent=function(e,t){if(!this.isRange)return l.END;var n=this.adapter.getThumbBoundingClientRect(l.START),r=this.adapter.getThumbBoundingClientRect(l.END),o=e>=n.left&&e<=n.right,i=e>=r.left&&e<=r.right;return o&&i?null:o?l.START:i?l.END:t<this.valueStart?l.START:t>this.value?l.END:t-this.valueStart<=this.value-t?l.START:l.END},t.prototype.getThumbFromMoveEvent=function(e){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-e)<h.THUMB_UPDATE_MIN_PX?this.thumb:e<this.downEventClientX?this.adapter.isRTL()?l.END:l.START:this.adapter.isRTL()?l.START:l.END},t.prototype.updateUI=function(e){e?this.updateThumbAndInputAttributes(e):(this.updateThumbAndInputAttributes(l.START),this.updateThumbAndInputAttributes(l.END)),this.updateThumbAndTrackUI(e),this.updateValueIndicatorUI(e),this.updateTickMarksUI()},t.prototype.updateThumbAndInputAttributes=function(e){if(e){var t=this.isRange&&e===l.START?this.valueStart:this.value,n=String(t);this.adapter.setInputAttribute(m.INPUT_VALUE,n,e),this.isRange&&e===l.START?this.adapter.setInputAttribute(m.INPUT_MIN,String(t+this.minRange),l.END):this.isRange&&e===l.END&&this.adapter.setInputAttribute(m.INPUT_MAX,String(t-this.minRange),l.START),this.adapter.getInputValue(e)!==n&&this.adapter.setInputValue(n,e);var r=this.adapter.getValueToAriaValueTextFn();r&&this.adapter.setInputAttribute(m.ARIA_VALUETEXT,r(t,e),e)}},t.prototype.updateValueIndicatorUI=function(e){if(this.isDiscrete){var t=this.isRange&&e===l.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(t,e===l.START?l.START:l.END),!e&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,l.START)}},t.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var e=(this.valueStart-this.min)/this.step,t=(this.value-this.valueStart)/this.step+1,n=(this.max-this.value)/this.step,r=Array.from({length:e}).fill(a.INACTIVE),o=Array.from({length:t}).fill(a.ACTIVE),i=Array.from({length:n}).fill(a.INACTIVE);this.adapter.updateTickMarks(r.concat(o).concat(i))}},t.prototype.mapClientXOnSliderScale=function(e){var t=(e-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(t=1-t);var n=this.min+t*(this.max-this.min);return n===this.max||n===this.min?n:Number(this.quantize(n).toFixed(this.numDecimalPlaces))},t.prototype.quantize=function(e){var t=Math.round((e-this.min)/this.step);return this.min+t*this.step},t.prototype.updateValue=function(e,t,n){var r=(void 0===n?{}:n).emitInputEvent;if(e=this.clampValue(e,t),this.isRange&&t===l.START){if(this.valueStart===e)return;this.valueStart=e}else{if(this.value===e)return;this.value=e}this.updateUI(t),r&&this.adapter.emitInputEvent(t===l.START?this.valueStart:this.value,t)},t.prototype.clampValue=function(e,t){return e=Math.min(Math.max(e,this.min),this.max),this.isRange&&t===l.START&&e>this.value-this.minRange?this.value-this.minRange:this.isRange&&t===l.END&&e<this.valueStart+this.minRange?this.valueStart+this.minRange:e},t.prototype.updateThumbAndTrackUI=function(e){var t=this,n=this.max,r=this.min,o=(this.value-this.valueStart)/(n-r),i=o*this.rect.width,a=this.adapter.isRTL(),s=O?(0,b.getCorrectPropertyName)(window,"transform"):"transform";if(this.isRange){var c=this.adapter.isRTL()?(n-this.value)/(n-r)*this.rect.width:(this.valueStart-r)/(n-r)*this.rect.width,d=c+i;this.animFrame.request(u.SLIDER_UPDATE,(function(){!a&&e===l.START||a&&e!==l.START?(t.adapter.setTrackActiveStyleProperty("transform-origin","right"),t.adapter.setTrackActiveStyleProperty("left","auto"),t.adapter.setTrackActiveStyleProperty("right",t.rect.width-d+"px")):(t.adapter.setTrackActiveStyleProperty("transform-origin","left"),t.adapter.setTrackActiveStyleProperty("right","auto"),t.adapter.setTrackActiveStyleProperty("left",c+"px")),t.adapter.setTrackActiveStyleProperty(s,"scaleX("+o+")");var n=a?d:c,r=t.adapter.isRTL()?c:d;e!==l.START&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(s,"translateX("+n+"px)",l.START),t.alignValueIndicator(l.START,n)),e!==l.END&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(s,"translateX("+r+"px)",l.END),t.alignValueIndicator(l.END,r)),t.removeInitialStyles(a),t.updateOverlappingThumbsUI(n,r,e)}))}else this.animFrame.request(u.SLIDER_UPDATE,(function(){var e=a?t.rect.width-i:i;t.adapter.setThumbStyleProperty(s,"translateX("+e+"px)",l.END),t.alignValueIndicator(l.END,e),t.adapter.setTrackActiveStyleProperty(s,"scaleX("+o+")"),t.removeInitialStyles(a)}))},t.prototype.alignValueIndicator=function(e,t){if(this.isDiscrete){var n=this.adapter.getThumbBoundingClientRect(e).width/2,r=this.adapter.getValueIndicatorContainerWidth(e),o=this.adapter.getBoundingClientRect().width;r/2>t+n?(this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_LEFT,n+"px",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):r/2>o-t+n?(this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_RIGHT,n+"px",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):(this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",e))}},t.prototype.removeInitialStyles=function(e){if(!this.initialStylesRemoved){var t=e?"right":"left";this.adapter.removeThumbStyleProperty(t,l.END),this.isRange&&this.adapter.removeThumbStyleProperty(t,l.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},t.prototype.resetTrackAndThumbAnimation=function(){var e=this;if(this.isDiscrete){var t=O?(0,b.getCorrectPropertyName)(window,"transition"):"transition",n="none 0s ease 0s";this.adapter.setThumbStyleProperty(t,n,l.END),this.isRange&&this.adapter.setThumbStyleProperty(t,n,l.START),this.adapter.setTrackActiveStyleProperty(t,n),requestAnimationFrame((function(){e.adapter.removeThumbStyleProperty(t,l.END),e.adapter.removeTrackActiveStyleProperty(t),e.isRange&&e.adapter.removeThumbStyleProperty(t,l.START)}))}},t.prototype.updateOverlappingThumbsUI=function(e,t,n){var r=!1;if(this.adapter.isRTL()){var o=e-this.startThumbKnobWidth/2;r=t+this.endThumbKnobWidth/2>=o}else{r=e+this.startThumbKnobWidth/2>=t-this.endThumbKnobWidth/2}r?(this.adapter.addThumbClass(_.THUMB_TOP,n||l.END),this.adapter.removeThumbClass(_.THUMB_TOP,n===l.START?l.END:l.START)):(this.adapter.removeThumbClass(_.THUMB_TOP,l.START),this.adapter.removeThumbClass(_.THUMB_TOP,l.END))},t.prototype.convertAttributeValueToNumber=function(e,t){if(null===e)throw new Error("MDCSliderFoundation: `"+t+"` must be non-null.");var n=Number(e);if(isNaN(n))throw new Error("MDCSliderFoundation: `"+t+"` value is `"+e+"`, but must be a number.");return n},t.prototype.validateProperties=function(e){var t=e.min,n=e.max,r=e.value,o=e.valueStart,i=e.step,a=e.minRange;if(t>=n)throw new Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+t+", max: "+n+"]");if(i<=0)throw new Error("MDCSliderFoundation: step must be a positive number. Current step: "+i);if(this.isRange){if(r<t||r>n||o<t||o>n)throw new Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+o+", end value: "+r+", min: "+t+", max: "+n+"]");if(o>r)throw new Error("MDCSliderFoundation: start value must be <= end value. Current values: [start value: "+o+", end value: "+r+"]");if(a<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. Current min range: "+a);if(r-o<a)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+a+". Current values: [start value: "+o+", end value: "+r+"]");var l=(o-t)/i,u=(r-t)/i;if(!Number.isInteger(parseFloat(l.toFixed(6)))||!Number.isInteger(parseFloat(u.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the step value ("+i+"). Current values: [start value: "+o+", end value: "+r+", min: "+t+"]")}else{if(r<t||r>n)throw new Error("MDCSliderFoundation: value must be in [min, max] range. Current values: [value: "+r+", min: "+t+", max: "+n+"]");u=(r-t)/i;if(!Number.isInteger(parseFloat(u.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the step value ("+i+"). Current value: "+r)}},t.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(l.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(l.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(l.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(l.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(l.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(l.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(l.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(l.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(l.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(l.END,"blur",this.inputEndBlurListener)},t.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(l.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(l.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(l.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(l.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(l.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(l.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(l.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(l.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(l.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(l.END,"blur",this.inputEndBlurListener)},t.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},t.SUPPORTS_POINTER_EVENTS=O&&Boolean(window.PointerEvent)&&!(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),t}(E.I);function P(e){var t=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(e));if(!t)return 0;var n=t[1]||"",r=t[2]||0;return Math.max(0,("0"===n?0:n.length)-Number(r))}
305
+ var r=function(){function e(){this.rafIDs=new Map}return e.prototype.request=function(e,t){var n=this;this.cancel(e);var r=requestAnimationFrame((function(r){n.rafIDs.delete(e),t(r)}));this.rafIDs.set(e,r)},e.prototype.cancel=function(e){var t=this.rafIDs.get(e);t&&(cancelAnimationFrame(t),this.rafIDs.delete(e))},e.prototype.cancelAll=function(){var e=this;this.rafIDs.forEach((function(t,n){e.cancel(n)}))},e.prototype.getQueue=function(){var e=[];return this.rafIDs.forEach((function(t,n){e.push(n)})),e},e}()},,,,,,,,,,,,,,,,,,,,,,function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(2),a=n(123),l=o.memo((function(e){const{children:t,...n}=e;return r.jsxs("div",{className:"mdc-slider__track",children:[r.jsx("div",{className:"mdc-slider__track--inactive"}),r.jsx("div",{className:"mdc-slider__track--active",children:r.jsx("div",{...n,className:"mdc-slider__track--active_fill"})}),t]})})),u=o.memo((function({tickMarks:e}){return r.jsx("div",{className:"mdc-slider__tick-marks",children:e.map(((e,t)=>r.jsx("div",{className:e.className},t)))})})),s=o.memo(o.forwardRef((function(e,t){return r.jsxs("div",{className:"mdc-slider__thumb",ref:t,children:[e.children,r.jsx("div",{className:"mdc-slider__thumb-knob"})]})}))),c=e=>{const t=Number(e);return"number"!=typeof t||isNaN(t)?void 0:t},d=i.createComponent((function(e,t){const{rootEl:n,setInputsRef:d,setThumbRef:f,tickMarks:p,trackActiveEl:_}=(e=>{const t=o.useRef([]),n=o.useRef([]),{foundation:r,...l}=i.useFoundation({props:e,elements:{rootEl:!0,trackActiveEl:!0},foundation:({rootEl:e,trackActiveEl:t,emit:n})=>new a.MDCSliderFoundation({hasClass:t=>e.hasClass(t),addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),addThumbClass:(e,t)=>{var n;null==(n=u(t))||n.classList.add(e)},removeThumbClass:(e,t)=>{var n;null==(n=u(t))||n.classList.remove(e)},getAttribute:t=>e.getProp(t),getInputValue:e=>{var t;return(null==(t=s(e))?void 0:t.value)??"1"},setInputValue:(e,t)=>{const n=s(t);return void 0!==n?n.value=e:e},getInputAttribute:(e,t)=>{const n=s(t);return n?n.getAttribute(e):null},setInputAttribute:(e,t,n)=>{var r;null==(r=s(n))||r.setAttribute(e,t)},removeInputAttribute:(e,t)=>{var n;null==(n=s(t))||n.removeAttribute(e)},focusInput:e=>{var t;null==(t=s(e))||t.focus()},isInputFocused:e=>s(e)===document.activeElement,shouldHideFocusStylesForPointerEvents:()=>!1,getThumbKnobWidth:e=>{const t=u(e);return t?t.querySelector(`.${a.cssClasses.THUMB_KNOB}`).getBoundingClientRect().width:i.emptyClientRect.width},getThumbBoundingClientRect:e=>{var t;return(null==(t=u(e))?void 0:t.getBoundingClientRect())??i.emptyClientRect},getBoundingClientRect:()=>e.ref?e.ref.getBoundingClientRect():i.emptyClientRect,getValueIndicatorContainerWidth:e=>{const t=u(e);return t?t.querySelector(`.${a.cssClasses.VALUE_INDICATOR_CONTAINER}`).getBoundingClientRect().width:i.emptyClientRect.width},isRTL:()=>!!e.ref&&"rtl"===getComputedStyle(e.ref).direction,setThumbStyleProperty:(e,t,n)=>{var r;null==(r=u(n))||r.style.setProperty(e,t)},removeThumbStyleProperty:(e,t)=>{var n;null==(n=u(t))||n.style.removeProperty(e)},setTrackActiveStyleProperty:(e,n)=>{t.setStyle(e,n)},removeTrackActiveStyleProperty:e=>{t.setStyle(e,null)},setValueIndicatorText:(e,t)=>{const n=u(t);return n&&(n.querySelector(`.${a.cssClasses.VALUE_INDICATOR_TEXT}`).textContent=String(e)),""},getValueToAriaValueTextFn:()=>null,updateTickMarks:t=>{var n,r;let o=null==(n=e.ref)?void 0:n.querySelector(`.${a.cssClasses.TICK_MARKS_CONTAINER}`);if(!o){o=document.createElement("div"),o.classList.add(a.cssClasses.TICK_MARKS_CONTAINER);const t=null==(r=e.ref)?void 0:r.querySelector(`.${a.cssClasses.TRACK}`);t&&t.appendChild(o)}if(t.length!==o.children.length){for(;o.firstChild;)o.removeChild(o.firstChild);f(t)}else p(o,t)},setPointerCapture:t=>{var n;null==(n=e.ref)||n.setPointerCapture(t)},emitChangeEvent:(e,t)=>{2===t?n("onChange",{value:e,thumb:t}):1===t&&n("onChangeValueStart",{value:e,thumb:t})},emitInputEvent:(e,t)=>{2===t?n("onInput",{value:e,thumb:t}):1===t&&n("onInputValueStart",{value:e,thumb:t})},registerEventHandler:(t,n)=>{e.addEventListener(t,n)},deregisterEventHandler:(t,n)=>{e.removeEventListener(t,n)},registerThumbEventHandler:(e,t,n)=>{var r;null==(r=u(e))||r.addEventListener(t,n)},deregisterThumbEventHandler:(e,t,n)=>{var r;null==(r=u(e))||r.removeEventListener(t,n)},registerInputEventHandler:(e,t,n)=>{var r;null==(r=s(e))||r.addEventListener(t,n)},deregisterInputEventHandler:(e,t,n)=>{var r;null==(r=s(e))||r.removeEventListener(t,n)},registerBodyEventHandler:(e,t)=>{document.body.addEventListener(e,t)},deregisterBodyEventHandler:(e,t)=>{document.body.removeEventListener(e,t)},registerWindowEventHandler:(e,t)=>{window.addEventListener(e,t)},deregisterWindowEventHandler:(e,t)=>{window.removeEventListener(e,t)}})}),u=e=>{var n,r;return e===a.Thumb.END?null==(n=t.current)?void 0:n[t.current.length-1]:null==(r=t.current)?void 0:r[0]},s=e=>{var t,r;return e===a.Thumb.END?null==(t=n.current)?void 0:t[n.current.length-1]:null==(r=n.current)?void 0:r[0]},[c,d]=o.useState([]),f=e=>{const t=[];for(let n=0;n<e.length;n++){const r=e[n]===a.TickMark.ACTIVE?a.cssClasses.TICK_MARK_ACTIVE:a.cssClasses.TICK_MARK_INACTIVE;t.push({className:r})}d(t)},p=(e,t)=>{const n=Array.from(e.children);for(let e=0;e<n.length;e++)t[e]===a.TickMark.ACTIVE?(n[e].classList.add(a.cssClasses.TICK_MARK_ACTIVE),n[e].classList.remove(a.cssClasses.TICK_MARK_INACTIVE)):(n[e].classList.add(a.cssClasses.TICK_MARK_INACTIVE),n[e].classList.remove(a.cssClasses.TICK_MARK_ACTIVE))};return o.useEffect((()=>{r.layout()}),[r]),o.useEffect((()=>{void 0!==e.range&&(r.isRange=e.range)}),[e.range,r]),o.useEffect((()=>{let t=void 0!==e.value?Number(e.value):r.getValue();const n=r.getMin(),o=r.getMax();t<n&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${n}`),t=n),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),r.setValue(t)}),[e.value,r]),o.useEffect((()=>{if(e.range){let t=void 0!==e.valueStart?Number(e.valueStart):r.getValueStart();const n=r.getMin(),o=r.getMax();t<n&&(console.warn(`Attempted to set slider to ${t} which is less than min: ${n}`),t=n),t>o&&(console.warn(`Attempted to set slider to ${t} which is greater than max: ${o}`),t=o),r.setValueStart(t)}}),[e.range,e.valueStart,r]),o.useEffect((()=>{void 0!==e.disabled&&r.setDisabled(e.disabled)}),[e.disabled,r]),o.useEffect((()=>{void 0!==e.discrete&&(r.isDiscrete=e.discrete),e.discrete&&0===r.getStep()&&r.setStep(1)}),[e.discrete,r]),o.useEffect((()=>{void 0!==e.minRange&&r.setMinRange(Number(e.minRange))}),[e.minRange,r]),o.useEffect((()=>{const t=r.hasTickMarks;void 0!==e.displayMarkers&&e.displayMarkers!==t&&(r.hasTickMarks=e.displayMarkers,r.setHasTickMarks(e.displayMarkers))}),[e.displayMarkers,r]),o.useEffect((()=>{const e=r.handleDown.bind(r);r.handleDown=t=>{e(t)}}),[r]),{setInputsRef:(e,t)=>{n.current[e]=t||void 0},setThumbRef:(e,n)=>{t.current[e]=n||void 0},tickMarks:c,...l}})(e),{children:h,disabled:m,discrete:v,displayMarkers:y,max:g=100,min:b=0,minRange:E,onChange:O,onChangeValueStart:T,onInput:P,onInputValueStart:A,range:w,step:C,value:S,valueStart:D,...M}=e,I=i.useClassNames(e,["mdc-slider",{"mdc-slider--discrete":v,"mdc-slider--tick-marks":y&&v,"mdc-slider--disabled":m,"mdc-slider--range":w}]);return y&&!v&&console.warn("The 'displayMarkers' prop on rmwc Slider will\n only work in conjunction with the 'discrete' prop"),r.jsxs(i.Tag,{className:I,tabIndex:0,tag:"div",element:n,"data-min-range":E,ref:t,children:[w&&r.jsx("input",{...M,"aria-label":"Slider start value","aria-valuemax":c(g),"aria-valuenow":D,className:"mdc-slider__input",disabled:m,max:c(g),min:c(b),name:"rangeStart",onChange:T,onInput:A,ref:e=>d(0,e),step:C,type:"range",value:D}),r.jsx("input",{"aria-label":"Slider value","aria-valuemax":c(g),"aria-valuenow":S,className:"mdc-slider__input",disabled:m,max:c(g),min:c(b),name:"rangeEnd",...M,ref:e=>d(1,e),step:C,type:"range",value:S}),r.jsx(l,{..._.props({}),children:y&&r.jsx(u,{tickMarks:p})}),w&&r.jsx(s,{ref:e=>f(0,e),children:v&&r.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:r.jsx("div",{className:"mdc-slider__value-indicator",children:r.jsx("span",{className:"mdc-slider__value-indicator-text",children:D})})})}),r.jsx(s,{ref:e=>f(1,e),children:v&&r.jsx("div",{className:"mdc-slider__value-indicator-container","aria-hidden":"true",children:r.jsx("div",{className:"mdc-slider__value-indicator",children:r.jsx("span",{className:"mdc-slider__value-indicator-text",children:S})})})}),h]})}));t.Slider=d},,,,,,,,,function(e,t,n){n.r(t),n.d(t,{MDCSlider:function(){return A},MDCSliderFoundation:function(){return T},Thumb:function(){return l},TickMark:function(){return a},attributes:function(){return m},cssClasses:function(){return _},events:function(){return v},numbers:function(){return h},strings:function(){return y}});var r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)};function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},i.apply(this,arguments)};Object.create;Object.create;"function"==typeof SuppressedError&&SuppressedError;var a,l,u,s=n(4),c=n(44),d=n(16),f=n(20),p=n(19),_={DISABLED:"mdc-slider--disabled",DISCRETE:"mdc-slider--discrete",INPUT:"mdc-slider__input",RANGE:"mdc-slider--range",THUMB:"mdc-slider__thumb",THUMB_FOCUSED:"mdc-slider__thumb--focused",THUMB_KNOB:"mdc-slider__thumb-knob",THUMB_TOP:"mdc-slider__thumb--top",THUMB_WITH_INDICATOR:"mdc-slider__thumb--with-indicator",TICK_MARKS:"mdc-slider--tick-marks",TICK_MARKS_CONTAINER:"mdc-slider__tick-marks",TICK_MARK_ACTIVE:"mdc-slider__tick-mark--active",TICK_MARK_INACTIVE:"mdc-slider__tick-mark--inactive",TRACK:"mdc-slider__track",TRACK_ACTIVE:"mdc-slider__track--active_fill",VALUE_INDICATOR_CONTAINER:"mdc-slider__value-indicator-container",VALUE_INDICATOR_TEXT:"mdc-slider__value-indicator-text"},h={STEP_SIZE:1,MIN_RANGE:0,THUMB_UPDATE_MIN_PX:5},m={ARIA_VALUETEXT:"aria-valuetext",INPUT_DISABLED:"disabled",INPUT_MIN:"min",INPUT_MAX:"max",INPUT_VALUE:"value",INPUT_STEP:"step",DATA_MIN_RANGE:"data-min-range"},v={CHANGE:"MDCSlider:change",INPUT:"MDCSlider:input"},y={VAR_VALUE_INDICATOR_CARET_LEFT:"--slider-value-indicator-caret-left",VAR_VALUE_INDICATOR_CARET_RIGHT:"--slider-value-indicator-caret-right",VAR_VALUE_INDICATOR_CARET_TRANSFORM:"--slider-value-indicator-caret-transform",VAR_VALUE_INDICATOR_CONTAINER_LEFT:"--slider-value-indicator-container-left",VAR_VALUE_INDICATOR_CONTAINER_RIGHT:"--slider-value-indicator-container-right",VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM:"--slider-value-indicator-container-transform"},g=n(92),b=n(53),E=n(3);!function(e){e[e.ACTIVE=0]="ACTIVE",e[e.INACTIVE=1]="INACTIVE"}(a||(a={})),function(e){e[e.START=1]="START",e[e.END=2]="END"}(l||(l={})),function(e){e.SLIDER_UPDATE="slider_update"}(u||(u={}));var O=void 0!==window,T=function(e){function t(n){var r=e.call(this,i(i({},t.defaultAdapter),n))||this;return r.initialStylesRemoved=!1,r.isDisabled=!1,r.isDiscrete=!1,r.step=h.STEP_SIZE,r.minRange=h.MIN_RANGE,r.hasTickMarks=!1,r.isRange=!1,r.thumb=null,r.downEventClientX=null,r.startThumbKnobWidth=0,r.endThumbKnobWidth=0,r.animFrame=new g.K,r}return o(t,e),Object.defineProperty(t,"defaultAdapter",{get:function(){return{hasClass:function(){return!1},addClass:function(){},removeClass:function(){},addThumbClass:function(){},removeThumbClass:function(){},getAttribute:function(){return null},getInputValue:function(){return""},setInputValue:function(){},getInputAttribute:function(){return null},setInputAttribute:function(){return null},removeInputAttribute:function(){return null},focusInput:function(){},isInputFocused:function(){return!1},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(){return 0},getValueIndicatorContainerWidth:function(){return 0},getThumbBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},getBoundingClientRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},isRTL:function(){return!1},setThumbStyleProperty:function(){},removeThumbStyleProperty:function(){},setTrackActiveStyleProperty:function(){},removeTrackActiveStyleProperty:function(){},setValueIndicatorText:function(){},getValueToAriaValueTextFn:function(){return null},updateTickMarks:function(){},setPointerCapture:function(){},emitChangeEvent:function(){},emitInputEvent:function(){},emitDragStartEvent:function(){},emitDragEndEvent:function(){},registerEventHandler:function(){},deregisterEventHandler:function(){},registerThumbEventHandler:function(){},deregisterThumbEventHandler:function(){},registerInputEventHandler:function(){},deregisterInputEventHandler:function(){},registerBodyEventHandler:function(){},deregisterBodyEventHandler:function(){},registerWindowEventHandler:function(){},deregisterWindowEventHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this;this.isDisabled=this.adapter.hasClass(_.DISABLED),this.isDiscrete=this.adapter.hasClass(_.DISCRETE),this.hasTickMarks=this.adapter.hasClass(_.TICK_MARKS),this.isRange=this.adapter.hasClass(_.RANGE);var t=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_MIN,this.isRange?l.START:l.END),m.INPUT_MIN),n=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_MAX,l.END),m.INPUT_MAX),r=this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_VALUE,l.END),m.INPUT_VALUE),o=this.isRange?this.convertAttributeValueToNumber(this.adapter.getInputAttribute(m.INPUT_VALUE,l.START),m.INPUT_VALUE):t,i=this.adapter.getInputAttribute(m.INPUT_STEP,l.END),a=i?this.convertAttributeValueToNumber(i,m.INPUT_STEP):this.step,u=this.adapter.getAttribute(m.DATA_MIN_RANGE),s=u?this.convertAttributeValueToNumber(u,m.DATA_MIN_RANGE):this.minRange;this.validateProperties({min:t,max:n,value:r,valueStart:o,step:a,minRange:s}),this.min=t,this.max=n,this.value=r,this.valueStart=o,this.step=a,this.minRange=s,this.numDecimalPlaces=P(this.step),this.valueBeforeDownEvent=r,this.valueStartBeforeDownEvent=o,this.mousedownOrTouchstartListener=this.handleMousedownOrTouchstart.bind(this),this.moveListener=this.handleMove.bind(this),this.pointerdownListener=this.handlePointerdown.bind(this),this.pointerupListener=this.handlePointerup.bind(this),this.thumbMouseenterListener=this.handleThumbMouseenter.bind(this),this.thumbMouseleaveListener=this.handleThumbMouseleave.bind(this),this.inputStartChangeListener=function(){e.handleInputChange(l.START)},this.inputEndChangeListener=function(){e.handleInputChange(l.END)},this.inputStartFocusListener=function(){e.handleInputFocus(l.START)},this.inputEndFocusListener=function(){e.handleInputFocus(l.END)},this.inputStartBlurListener=function(){e.handleInputBlur(l.START)},this.inputEndBlurListener=function(){e.handleInputBlur(l.END)},this.resizeListener=this.handleResize.bind(this),this.registerEventHandlers()},t.prototype.destroy=function(){this.deregisterEventHandlers()},t.prototype.setMin=function(e){this.min=e,this.isRange||(this.valueStart=e),this.updateUI()},t.prototype.setMax=function(e){this.max=e,this.updateUI()},t.prototype.getMin=function(){return this.min},t.prototype.getMax=function(){return this.max},t.prototype.getValue=function(){return this.value},t.prototype.setValue=function(e){if(this.isRange&&e<this.valueStart+this.minRange)throw new Error("end thumb value ("+e+") must be >= start thumb value ("+this.valueStart+") + min range ("+this.minRange+")");this.updateValue(e,l.END)},t.prototype.getValueStart=function(){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");return this.valueStart},t.prototype.setValueStart=function(e){if(!this.isRange)throw new Error("`valueStart` is only applicable for range sliders.");if(this.isRange&&e>this.value-this.minRange)throw new Error("start thumb value ("+e+") must be <= end thumb value ("+this.value+") - min range ("+this.minRange+")");this.updateValue(e,l.START)},t.prototype.setStep=function(e){this.step=e,this.numDecimalPlaces=P(e),this.updateUI()},t.prototype.setMinRange=function(e){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");if(e<0)throw new Error("`minRange` must be non-negative. Current value: "+e);if(this.value-this.valueStart<e)throw new Error("start thumb value ("+this.valueStart+") and end thumb value ("+this.value+") must differ by at least "+e+".");this.minRange=e},t.prototype.setIsDiscrete=function(e){this.isDiscrete=e,this.updateValueIndicatorUI(),this.updateTickMarksUI()},t.prototype.getStep=function(){return this.step},t.prototype.getMinRange=function(){if(!this.isRange)throw new Error("`minRange` is only applicable for range sliders.");return this.minRange},t.prototype.setHasTickMarks=function(e){this.hasTickMarks=e,this.updateTickMarksUI()},t.prototype.getDisabled=function(){return this.isDisabled},t.prototype.setDisabled=function(e){this.isDisabled=e,e?(this.adapter.addClass(_.DISABLED),this.isRange&&this.adapter.setInputAttribute(m.INPUT_DISABLED,"",l.START),this.adapter.setInputAttribute(m.INPUT_DISABLED,"",l.END)):(this.adapter.removeClass(_.DISABLED),this.isRange&&this.adapter.removeInputAttribute(m.INPUT_DISABLED,l.START),this.adapter.removeInputAttribute(m.INPUT_DISABLED,l.END))},t.prototype.getIsRange=function(){return this.isRange},t.prototype.layout=function(e){var t=(void 0===e?{}:e).skipUpdateUI;this.rect=this.adapter.getBoundingClientRect(),this.isRange&&(this.startThumbKnobWidth=this.adapter.getThumbKnobWidth(l.START),this.endThumbKnobWidth=this.adapter.getThumbKnobWidth(l.END)),t||this.updateUI()},t.prototype.handleResize=function(){this.layout()},t.prototype.handleDown=function(e){if(!this.isDisabled){this.valueStartBeforeDownEvent=this.valueStart,this.valueBeforeDownEvent=this.value;var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX;this.downEventClientX=t;var n=this.mapClientXOnSliderScale(t);this.thumb=this.getThumbFromDownEvent(t,n),null!==this.thumb&&(this.handleDragStart(e,n,this.thumb),this.updateValue(n,this.thumb,{emitInputEvent:!0}))}},t.prototype.handleMove=function(e){if(!this.isDisabled){e.preventDefault();var t=null!=e.clientX?e.clientX:e.targetTouches[0].clientX,n=null!=this.thumb;if(this.thumb=this.getThumbFromMoveEvent(t),null!==this.thumb){var r=this.mapClientXOnSliderScale(t);n||(this.handleDragStart(e,r,this.thumb),this.adapter.emitDragStartEvent(r,this.thumb)),this.updateValue(r,this.thumb,{emitInputEvent:!0})}}},t.prototype.handleUp=function(){var e,t;if(!this.isDisabled&&null!==this.thumb){(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&this.handleInputBlur(this.thumb);var n=this.thumb===l.START?this.valueStartBeforeDownEvent:this.valueBeforeDownEvent,r=this.thumb===l.START?this.valueStart:this.value;n!==r&&this.adapter.emitChangeEvent(r,this.thumb),this.adapter.emitDragEndEvent(r,this.thumb),this.thumb=null}},t.prototype.handleThumbMouseenter=function(){this.isDiscrete&&this.isRange&&(this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,l.START),this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,l.END))},t.prototype.handleThumbMouseleave=function(){var e,t;this.isDiscrete&&this.isRange&&(!(null===(t=(e=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===t?void 0:t.call(e))&&(this.adapter.isInputFocused(l.START)||this.adapter.isInputFocused(l.END))||this.thumb||(this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,l.START),this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,l.END)))},t.prototype.handleMousedownOrTouchstart=function(e){var t=this,n="mousedown"===e.type?"mousemove":"touchmove";this.adapter.registerBodyEventHandler(n,this.moveListener);var r=function(){t.handleUp(),t.adapter.deregisterBodyEventHandler(n,t.moveListener),t.adapter.deregisterEventHandler("mouseup",r),t.adapter.deregisterEventHandler("touchend",r)};this.adapter.registerBodyEventHandler("mouseup",r),this.adapter.registerBodyEventHandler("touchend",r),this.handleDown(e)},t.prototype.handlePointerdown=function(e){0===e.button&&(null!=e.pointerId&&this.adapter.setPointerCapture(e.pointerId),this.adapter.registerEventHandler("pointermove",this.moveListener),this.handleDown(e))},t.prototype.handleInputChange=function(e){var t=Number(this.adapter.getInputValue(e));e===l.START?this.setValueStart(t):this.setValue(t),this.adapter.emitChangeEvent(e===l.START?this.valueStart:this.value,e),this.adapter.emitInputEvent(e===l.START?this.valueStart:this.value,e)},t.prototype.handleInputFocus=function(e){if(this.adapter.addThumbClass(_.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===l.START?l.END:l.START;this.adapter.addThumbClass(_.THUMB_WITH_INDICATOR,t)}},t.prototype.handleInputBlur=function(e){if(this.adapter.removeThumbClass(_.THUMB_FOCUSED,e),this.isDiscrete&&(this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,e),this.isRange)){var t=e===l.START?l.END:l.START;this.adapter.removeThumbClass(_.THUMB_WITH_INDICATOR,t)}},t.prototype.handleDragStart=function(e,t,n){var r,o;this.adapter.emitDragStartEvent(t,n),this.adapter.focusInput(n),(null===(o=(r=this.adapter).shouldHideFocusStylesForPointerEvents)||void 0===o?void 0:o.call(r))&&this.handleInputFocus(n),e.preventDefault()},t.prototype.getThumbFromDownEvent=function(e,t){if(!this.isRange)return l.END;var n=this.adapter.getThumbBoundingClientRect(l.START),r=this.adapter.getThumbBoundingClientRect(l.END),o=e>=n.left&&e<=n.right,i=e>=r.left&&e<=r.right;return o&&i?null:o?l.START:i?l.END:t<this.valueStart?l.START:t>this.value?l.END:t-this.valueStart<=this.value-t?l.START:l.END},t.prototype.getThumbFromMoveEvent=function(e){if(null!==this.thumb)return this.thumb;if(null===this.downEventClientX)throw new Error("`downEventClientX` is null after move event.");return Math.abs(this.downEventClientX-e)<h.THUMB_UPDATE_MIN_PX?this.thumb:e<this.downEventClientX?this.adapter.isRTL()?l.END:l.START:this.adapter.isRTL()?l.START:l.END},t.prototype.updateUI=function(e){e?this.updateThumbAndInputAttributes(e):(this.updateThumbAndInputAttributes(l.START),this.updateThumbAndInputAttributes(l.END)),this.updateThumbAndTrackUI(e),this.updateValueIndicatorUI(e),this.updateTickMarksUI()},t.prototype.updateThumbAndInputAttributes=function(e){if(e){var t=this.isRange&&e===l.START?this.valueStart:this.value,n=String(t);this.adapter.setInputAttribute(m.INPUT_VALUE,n,e),this.isRange&&e===l.START?this.adapter.setInputAttribute(m.INPUT_MIN,String(t+this.minRange),l.END):this.isRange&&e===l.END&&this.adapter.setInputAttribute(m.INPUT_MAX,String(t-this.minRange),l.START),this.adapter.getInputValue(e)!==n&&this.adapter.setInputValue(n,e);var r=this.adapter.getValueToAriaValueTextFn();r&&this.adapter.setInputAttribute(m.ARIA_VALUETEXT,r(t,e),e)}},t.prototype.updateValueIndicatorUI=function(e){if(this.isDiscrete){var t=this.isRange&&e===l.START?this.valueStart:this.value;this.adapter.setValueIndicatorText(t,e===l.START?l.START:l.END),!e&&this.isRange&&this.adapter.setValueIndicatorText(this.valueStart,l.START)}},t.prototype.updateTickMarksUI=function(){if(this.isDiscrete&&this.hasTickMarks){var e=(this.valueStart-this.min)/this.step,t=(this.value-this.valueStart)/this.step+1,n=(this.max-this.value)/this.step,r=Array.from({length:e}).fill(a.INACTIVE),o=Array.from({length:t}).fill(a.ACTIVE),i=Array.from({length:n}).fill(a.INACTIVE);this.adapter.updateTickMarks(r.concat(o).concat(i))}},t.prototype.mapClientXOnSliderScale=function(e){var t=(e-this.rect.left)/this.rect.width;this.adapter.isRTL()&&(t=1-t);var n=this.min+t*(this.max-this.min);return n===this.max||n===this.min?n:Number(this.quantize(n).toFixed(this.numDecimalPlaces))},t.prototype.quantize=function(e){var t=Math.round((e-this.min)/this.step);return this.min+t*this.step},t.prototype.updateValue=function(e,t,n){var r=(void 0===n?{}:n).emitInputEvent;if(e=this.clampValue(e,t),this.isRange&&t===l.START){if(this.valueStart===e)return;this.valueStart=e}else{if(this.value===e)return;this.value=e}this.updateUI(t),r&&this.adapter.emitInputEvent(t===l.START?this.valueStart:this.value,t)},t.prototype.clampValue=function(e,t){return e=Math.min(Math.max(e,this.min),this.max),this.isRange&&t===l.START&&e>this.value-this.minRange?this.value-this.minRange:this.isRange&&t===l.END&&e<this.valueStart+this.minRange?this.valueStart+this.minRange:e},t.prototype.updateThumbAndTrackUI=function(e){var t=this,n=this.max,r=this.min,o=(this.value-this.valueStart)/(n-r),i=o*this.rect.width,a=this.adapter.isRTL(),s=O?(0,b.getCorrectPropertyName)(window,"transform"):"transform";if(this.isRange){var c=this.adapter.isRTL()?(n-this.value)/(n-r)*this.rect.width:(this.valueStart-r)/(n-r)*this.rect.width,d=c+i;this.animFrame.request(u.SLIDER_UPDATE,(function(){!a&&e===l.START||a&&e!==l.START?(t.adapter.setTrackActiveStyleProperty("transform-origin","right"),t.adapter.setTrackActiveStyleProperty("left","auto"),t.adapter.setTrackActiveStyleProperty("right",t.rect.width-d+"px")):(t.adapter.setTrackActiveStyleProperty("transform-origin","left"),t.adapter.setTrackActiveStyleProperty("right","auto"),t.adapter.setTrackActiveStyleProperty("left",c+"px")),t.adapter.setTrackActiveStyleProperty(s,"scaleX("+o+")");var n=a?d:c,r=t.adapter.isRTL()?c:d;e!==l.START&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(s,"translateX("+n+"px)",l.START),t.alignValueIndicator(l.START,n)),e!==l.END&&e&&t.initialStylesRemoved||(t.adapter.setThumbStyleProperty(s,"translateX("+r+"px)",l.END),t.alignValueIndicator(l.END,r)),t.removeInitialStyles(a),t.updateOverlappingThumbsUI(n,r,e)}))}else this.animFrame.request(u.SLIDER_UPDATE,(function(){var e=a?t.rect.width-i:i;t.adapter.setThumbStyleProperty(s,"translateX("+e+"px)",l.END),t.alignValueIndicator(l.END,e),t.adapter.setTrackActiveStyleProperty(s,"scaleX("+o+")"),t.removeInitialStyles(a)}))},t.prototype.alignValueIndicator=function(e,t){if(this.isDiscrete){var n=this.adapter.getThumbBoundingClientRect(e).width/2,r=this.adapter.getValueIndicatorContainerWidth(e),o=this.adapter.getBoundingClientRect().width;r/2>t+n?(this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_LEFT,n+"px",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"0",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):r/2>o-t+n?(this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_LEFT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_RIGHT,n+"px",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(50%)",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"0",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"none",e)):(this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_LEFT,"50%",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CARET_TRANSFORM,"translateX(-50%)",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_LEFT,"50%",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_RIGHT,"auto",e),this.adapter.setThumbStyleProperty(y.VAR_VALUE_INDICATOR_CONTAINER_TRANSFORM,"translateX(-50%)",e))}},t.prototype.removeInitialStyles=function(e){if(!this.initialStylesRemoved){var t=e?"right":"left";this.adapter.removeThumbStyleProperty(t,l.END),this.isRange&&this.adapter.removeThumbStyleProperty(t,l.START),this.initialStylesRemoved=!0,this.resetTrackAndThumbAnimation()}},t.prototype.resetTrackAndThumbAnimation=function(){var e=this;if(this.isDiscrete){var t=O?(0,b.getCorrectPropertyName)(window,"transition"):"transition",n="none 0s ease 0s";this.adapter.setThumbStyleProperty(t,n,l.END),this.isRange&&this.adapter.setThumbStyleProperty(t,n,l.START),this.adapter.setTrackActiveStyleProperty(t,n),requestAnimationFrame((function(){e.adapter.removeThumbStyleProperty(t,l.END),e.adapter.removeTrackActiveStyleProperty(t),e.isRange&&e.adapter.removeThumbStyleProperty(t,l.START)}))}},t.prototype.updateOverlappingThumbsUI=function(e,t,n){var r=!1;if(this.adapter.isRTL()){var o=e-this.startThumbKnobWidth/2;r=t+this.endThumbKnobWidth/2>=o}else{r=e+this.startThumbKnobWidth/2>=t-this.endThumbKnobWidth/2}r?(this.adapter.addThumbClass(_.THUMB_TOP,n||l.END),this.adapter.removeThumbClass(_.THUMB_TOP,n===l.START?l.END:l.START)):(this.adapter.removeThumbClass(_.THUMB_TOP,l.START),this.adapter.removeThumbClass(_.THUMB_TOP,l.END))},t.prototype.convertAttributeValueToNumber=function(e,t){if(null===e)throw new Error("MDCSliderFoundation: `"+t+"` must be non-null.");var n=Number(e);if(isNaN(n))throw new Error("MDCSliderFoundation: `"+t+"` value is `"+e+"`, but must be a number.");return n},t.prototype.validateProperties=function(e){var t=e.min,n=e.max,r=e.value,o=e.valueStart,i=e.step,a=e.minRange;if(t>=n)throw new Error("MDCSliderFoundation: min must be strictly less than max. Current: [min: "+t+", max: "+n+"]");if(i<=0)throw new Error("MDCSliderFoundation: step must be a positive number. Current step: "+i);if(this.isRange){if(r<t||r>n||o<t||o>n)throw new Error("MDCSliderFoundation: values must be in [min, max] range. Current values: [start value: "+o+", end value: "+r+", min: "+t+", max: "+n+"]");if(o>r)throw new Error("MDCSliderFoundation: start value must be <= end value. Current values: [start value: "+o+", end value: "+r+"]");if(a<0)throw new Error("MDCSliderFoundation: minimum range must be non-negative. Current min range: "+a);if(r-o<a)throw new Error("MDCSliderFoundation: start value and end value must differ by at least "+a+". Current values: [start value: "+o+", end value: "+r+"]");var l=(o-t)/i,u=(r-t)/i;if(!Number.isInteger(parseFloat(l.toFixed(6)))||!Number.isInteger(parseFloat(u.toFixed(6))))throw new Error("MDCSliderFoundation: Slider values must be valid based on the step value ("+i+"). Current values: [start value: "+o+", end value: "+r+", min: "+t+"]")}else{if(r<t||r>n)throw new Error("MDCSliderFoundation: value must be in [min, max] range. Current values: [value: "+r+", min: "+t+", max: "+n+"]");u=(r-t)/i;if(!Number.isInteger(parseFloat(u.toFixed(6))))throw new Error("MDCSliderFoundation: Slider value must be valid based on the step value ("+i+"). Current value: "+r)}},t.prototype.registerEventHandlers=function(){this.adapter.registerWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.registerEventHandler("pointerdown",this.pointerdownListener),this.adapter.registerEventHandler("pointerup",this.pointerupListener)):(this.adapter.registerEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.registerEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.registerThumbEventHandler(l.START,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(l.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(l.START,"change",this.inputStartChangeListener),this.adapter.registerInputEventHandler(l.START,"focus",this.inputStartFocusListener),this.adapter.registerInputEventHandler(l.START,"blur",this.inputStartBlurListener)),this.adapter.registerThumbEventHandler(l.END,"mouseenter",this.thumbMouseenterListener),this.adapter.registerThumbEventHandler(l.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.registerInputEventHandler(l.END,"change",this.inputEndChangeListener),this.adapter.registerInputEventHandler(l.END,"focus",this.inputEndFocusListener),this.adapter.registerInputEventHandler(l.END,"blur",this.inputEndBlurListener)},t.prototype.deregisterEventHandlers=function(){this.adapter.deregisterWindowEventHandler("resize",this.resizeListener),t.SUPPORTS_POINTER_EVENTS?(this.adapter.deregisterEventHandler("pointerdown",this.pointerdownListener),this.adapter.deregisterEventHandler("pointerup",this.pointerupListener)):(this.adapter.deregisterEventHandler("mousedown",this.mousedownOrTouchstartListener),this.adapter.deregisterEventHandler("touchstart",this.mousedownOrTouchstartListener)),this.isRange&&(this.adapter.deregisterThumbEventHandler(l.START,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(l.START,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(l.START,"change",this.inputStartChangeListener),this.adapter.deregisterInputEventHandler(l.START,"focus",this.inputStartFocusListener),this.adapter.deregisterInputEventHandler(l.START,"blur",this.inputStartBlurListener)),this.adapter.deregisterThumbEventHandler(l.END,"mouseenter",this.thumbMouseenterListener),this.adapter.deregisterThumbEventHandler(l.END,"mouseleave",this.thumbMouseleaveListener),this.adapter.deregisterInputEventHandler(l.END,"change",this.inputEndChangeListener),this.adapter.deregisterInputEventHandler(l.END,"focus",this.inputEndFocusListener),this.adapter.deregisterInputEventHandler(l.END,"blur",this.inputEndBlurListener)},t.prototype.handlePointerup=function(){this.handleUp(),this.adapter.deregisterEventHandler("pointermove",this.moveListener)},t.SUPPORTS_POINTER_EVENTS=O&&Boolean(window.PointerEvent)&&!(["iPad Simulator","iPhone Simulator","iPod Simulator","iPad","iPhone","iPod"].includes(navigator.platform)||navigator.userAgent.includes("Mac")&&"ontouchend"in document),t}(E.I);function P(e){var t=/(?:\.(\d+))?(?:[eE]([+\-]?\d+))?$/.exec(String(e));if(!t)return 0;var n=t[1]||"",r=t[2]||0;return Math.max(0,("0"===n?0:n.length)-Number(r))}
306
306
  /**
307
307
  * @license
308
308
  * Copyright 2020 Google Inc.
@@ -325,4 +325,4 @@ var r=function(){function e(){this.rafIDs=new Map}return e.prototype.request=fun
325
325
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
326
326
  * THE SOFTWARE.
327
327
  */
328
- var A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.skipInitialUIUpdate=!1,t.valueToAriaValueTextFn=null,t}return o(t,e),t.attachTo=function(e,n){return void 0===n&&(n={}),new t(e,void 0,n)},t.prototype.getDefaultFoundation=function(){var e=this;return new T({hasClass:function(t){return e.root.classList.contains(t)},addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},addThumbClass:function(t,n){e.getThumbEl(n).classList.add(t)},removeThumbClass:function(t,n){e.getThumbEl(n).classList.remove(t)},getAttribute:function(t){return e.root.getAttribute(t)},getInputValue:function(t){return e.getInput(t).value},setInputValue:function(t,n){e.getInput(n).value=t},getInputAttribute:function(t,n){return e.getInput(n).getAttribute(t)},setInputAttribute:function(t,n,r){e.getInput(r).setAttribute(t,n)},removeInputAttribute:function(t,n){e.getInput(n).removeAttribute(t)},focusInput:function(t){e.getInput(t).focus()},isInputFocused:function(t){return e.getInput(t)===document.activeElement},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(t){return e.getThumbEl(t).querySelector("."+_.THUMB_KNOB).getBoundingClientRect().width},getThumbBoundingClientRect:function(t){return e.getThumbEl(t).getBoundingClientRect()},getBoundingClientRect:function(){return e.root.getBoundingClientRect()},getValueIndicatorContainerWidth:function(t){return e.getThumbEl(t).querySelector("."+_.VALUE_INDICATOR_CONTAINER).getBoundingClientRect().width},isRTL:function(){return"rtl"===getComputedStyle(e.root).direction},setThumbStyleProperty:function(t,n,r){e.getThumbEl(r).style.setProperty(t,n)},removeThumbStyleProperty:function(t,n){e.getThumbEl(n).style.removeProperty(t)},setTrackActiveStyleProperty:function(t,n){e.trackActive.style.setProperty(t,n)},removeTrackActiveStyleProperty:function(t){e.trackActive.style.removeProperty(t)},setValueIndicatorText:function(t,n){e.getThumbEl(n).querySelector("."+_.VALUE_INDICATOR_TEXT).textContent=String(t)},getValueToAriaValueTextFn:function(){return e.valueToAriaValueTextFn},updateTickMarks:function(t){var n=e.root.querySelector("."+_.TICK_MARKS_CONTAINER);n||((n=document.createElement("div")).classList.add(_.TICK_MARKS_CONTAINER),e.root.querySelector("."+_.TRACK).appendChild(n));if(t.length!==n.children.length){for(;n.firstChild;)n.removeChild(n.firstChild);e.addTickMarks(n,t)}else e.updateTickMarks(n,t)},setPointerCapture:function(t){e.root.setPointerCapture(t)},emitChangeEvent:function(t,n){e.emit(v.CHANGE,{value:t,thumb:n})},emitInputEvent:function(t,n){e.emit(v.INPUT,{value:t,thumb:n})},emitDragStartEvent:function(t,n){e.getRipple(n).activate()},emitDragEndEvent:function(t,n){e.getRipple(n).deactivate()},registerEventHandler:function(t,n){e.listen(t,n)},deregisterEventHandler:function(t,n){e.unlisten(t,n)},registerThumbEventHandler:function(t,n,r){e.getThumbEl(t).addEventListener(n,r)},deregisterThumbEventHandler:function(t,n,r){e.getThumbEl(t).removeEventListener(n,r)},registerInputEventHandler:function(t,n,r){e.getInput(t).addEventListener(n,r)},deregisterInputEventHandler:function(t,n,r){e.getInput(t).removeEventListener(n,r)},registerBodyEventHandler:function(e,t){document.body.addEventListener(e,t)},deregisterBodyEventHandler:function(e,t){document.body.removeEventListener(e,t)},registerWindowEventHandler:function(e,t){window.addEventListener(e,t)},deregisterWindowEventHandler:function(e,t){window.removeEventListener(e,t)}})},t.prototype.initialize=function(e){var t=(void 0===e?{}:e).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+_.INPUT)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+_.THUMB)),this.trackActive=this.root.querySelector("."+_.TRACK_ACTIVE),this.ripples=this.createRipples(),t&&(this.skipInitialUIUpdate=!0)},t.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getValueStart=function(){return this.foundation.getValueStart()},t.prototype.setValueStart=function(e){this.foundation.setValueStart(e)},t.prototype.getValue=function(){return this.foundation.getValue()},t.prototype.setValue=function(e){this.foundation.setValue(e)},t.prototype.getDisabled=function(){return this.foundation.getDisabled()},t.prototype.setDisabled=function(e){this.foundation.setDisabled(e)},t.prototype.setValueToAriaValueTextFn=function(e){this.valueToAriaValueTextFn=e},t.prototype.getThumbEl=function(e){return e===l.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},t.prototype.getInput=function(e){return e===l.END?this.inputs[this.inputs.length-1]:this.inputs[0]},t.prototype.getRipple=function(e){return e===l.END?this.ripples[this.ripples.length-1]:this.ripples[0]},t.prototype.addTickMarks=function(e,t){for(var n=document.createDocumentFragment(),r=0;r<t.length;r++){var o=document.createElement("div"),i=t[r]===a.ACTIVE?_.TICK_MARK_ACTIVE:_.TICK_MARK_INACTIVE;o.classList.add(i),n.appendChild(o)}e.appendChild(n)},t.prototype.updateTickMarks=function(e,t){for(var n=Array.from(e.children),r=0;r<n.length;r++)t[r]===a.ACTIVE?(n[r].classList.add(_.TICK_MARK_ACTIVE),n[r].classList.remove(_.TICK_MARK_INACTIVE)):(n[r].classList.add(_.TICK_MARK_INACTIVE),n[r].classList.remove(_.TICK_MARK_ACTIVE))},t.prototype.createRipples=function(){for(var e=[],t=[].slice.call(this.root.querySelectorAll("."+_.THUMB)),n=function(n){var o=t[n],a=r.inputs[n],l=i(i({},f.N.createAdapter(r)),{addClass:function(e){o.classList.add(e)},computeBoundingRect:function(){return o.getBoundingClientRect()},deregisterInteractionHandler:function(e,t){a.removeEventListener(e,t)},isSurfaceActive:function(){return(0,d.cK)(a,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,t){a.addEventListener(e,t,(0,c.E)())},removeClass:function(e){o.classList.remove(e)},updateCssVariable:function(e,t){o.style.setProperty(e,t)}}),u=new f.N(o,new p.E(l));u.unbounded=!0,e.push(u)},r=this,o=0;o<t.length;o++)n(o);return e},t}(s.O)},,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;t=function(__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__51__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_4028__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u;if(module=__nested_webpack_require_4028__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_4028__.g||null===__nested_webpack_require_4028__.g?{}:__nested_webpack_require_4028__.g;module.exports=(e=__nested_webpack_require_4028__(2),t=__nested_webpack_require_4028__(12),r=__nested_webpack_require_4028__(3),n=__nested_webpack_require_4028__(5),i=__nested_webpack_require_4028__(6),o=__nested_webpack_require_4028__(0),s=__nested_webpack_require_4028__(4),a=__nested_webpack_require_4028__(13),l=__nested_webpack_require_4028__(14),p=__nested_webpack_require_4028__(15),c=__nested_webpack_require_4028__(16),u=__nested_webpack_require_4028__(17),function(){var d=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=o},function(e){e.exports=t},function(e){e.exports=n},function(e){e.exports=i},function(e,t,n){var r=n(0),o=n.n(r),i=n(1),a=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:a.string},e),function(t,n){if("string"==typeof n){var r,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var l=(0,i.camelCaseToDelimited)(n);a.observedAttributes&&!a.observedAttributes.includes(l)&&a.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,i.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,n)&&(r=a.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(n):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyAliases[n]=e.alias))}}}},function(e,t,n){n.d(t,{api:function(){return w}});var r,o,i,a,l=n(4),u=n.n(l),s=n(8),c=n.n(s),d=n(0),f=n.n(d),p=n(3),_=n.n(p),h=n(9),m=n.n(h),v=(n(10),n(5)),y=n.n(v),g=n(1),b=n(2),E=n(6);function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return T(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var P="undefined"==typeof HTMLElement?function(){}:HTMLElement,A=(r=(0,E.default)({type:b.boolean,writeAttribute:!0}),a=function(e){function t(){var n;return(n=e.call(this)||this).batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parent=null,n.rootInstance=null,n.scope=f()({},g.UTILITY_SCOPE),n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,c()(n,"isRoot",i,n),n.root=void 0,n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.root=n,n.defineGetterAndSetterInterface(),n}_()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},n.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,g.timeout)((function(){n.batchedAttributeUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("attributeChanged")}))):this.render("attributeChanged")},n.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,g.timeout)((function(){e.render("connected")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=O(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=O(e.value.values());!(n=r()).done;)(0,n.value)();this.slots={}},n.defineGetterAndSetterInterface=function(){for(var e,t=this,n=function(){var n=e.value;Object.prototype.hasOwnProperty.call(t,n)&&t.setPropertyValue(n,t[n]),Object.defineProperty(t,n,{configurable:!0,get:function(){return t.getPropertyValue(n)},set:function(e){t.setPropertyValue(n,e),t.triggerPropertySpecificRendering(n,e)}})},r=O((0,g.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var n,r,o=null!=(n=this.instance)&&null!=(n=n.current)&&n.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(r=this.instance)&&null!=(r=r.current)&&r.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,g.timeout)((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),(0,g.timeout)((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()}))):(n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("propertyChanged"),n.triggerOutputEvents())})));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},n.applyBinding=function(e,t){var n=this;if(e.getAttributeNames)for(var r,o=function(){var o=r.value,i="";if(o.startsWith("data-bind-")?i=o.substring(10):o.startsWith("bind-")&&(i=o.substring(5)),i){var a=e.getAttribute(o);if(null===a)return 0;if(i.startsWith("attribute-")||i.startsWith("property-")){var l=(0,g.evaluate)(a,t,!1,!0,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),l.result):e[(0,g.delimitedToCamelCase)(i.substring(9))]=l.result}else if(i.startsWith("on-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var u=n.domNodeEventBindings.get(e);if(i=(0,g.delimitedToCamelCase)(i.substring(3)),null!=u&&u.has(i)){var s=u.get(i);s&&s()}t=f()({console:console,event:void 0,parameters:void 0},t);var c=(0,g.compile)(a,t,!0,!0,e);if(c.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,c.error);else{var d=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.event=r[0],t.parameters=r;try{c.templateFunction.apply(c,c.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+c.scopeNames.join('", "')+'": '+(0,g.represent)(t))}};e.addEventListener(i,d),null==u||u.set(i,(function(){e.removeEventListener(i,d),u.delete(i),0===u.size&&n.domNodeEventBindings.delete(e)}))}}}},i=O(e.getAttributeNames());!(r=i()).done;)o()},n.applyBindings=function(e,t,n){for(void 0===n&&(n=!0);e;){var r;null==(r=e.attributes)||!r.length||!n&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},n.compileDomNodeTemplate=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=f()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&e.nodeName.toLowerCase().includes("-"))return n.map;if(n.unsafe){var r=e.innerHTML;if(!r&&e.template&&(r=e.template),this.self.hasCode(r)){var o,i=(0,g.compile)("`"+r+"`",t);null==(o=n.map)||o.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:r,templateFunction:i.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var u="a"===l?e.getAttribute("href"):e.textContent;u&&this.self.hasCode(u)&&(a=u.replace(/&nbsp;/g," ").trim())}var s=[];if(a){var c,d=(0,g.compile)("`"+a+"`",t);null==(c=n.map)||c.set(e,{children:s,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var p=e.firstChild;p;)n.filter&&!n.filter(p)||s.push(this.compileDomNodeTemplate(p,t,f()({},n,{ignoreComponents:n.ignoreNestedComponents}))),p=p.nextSibling}return n.map},n.evaluateDomNodeTemplate=function(e,t,n){var r,o;if(void 0===t&&(t={}),void 0===n&&(n={}),null!=(r=(n=f()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map)&&r.has(e)||this.compileDomNodeTemplate(e,t,n),null!=(o=n.map)&&o.has(e)){var i=n.map.get(e),a=i.error,l=i.scopeNames,u=i.templateFunction;if(a)console.warn("Error occurred during compiling node content: "+a);else{var s=null;try{s=u.apply(void 0,l.map((function(e){return t[e]})))}catch(a){console.warn('Error occurred when "'+this.self._name+'" is running "'+u+'": with bound names "'+l.join('", "')+'": "'+a+'". Rendering node:',e)}null!==s&&(n.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(n.unsafe||n.ignoreComponents&&e.nodeName.toLowerCase().includes("-")))for(var c=e.firstChild;c;)n.filter&&!n.filter(c)||this.evaluateDomNodeTemplate(c,t,f()({},n,{applyBindings:!1,ignoreComponents:n.ignoreNestedComponents})),c=c.nextSibling;return n.applyBindings&&this.applyBindings(e,t),n.map},t.replaceDomNodes=function(e,n){for(var r,o=O([].concat(n).reverse());!(r=o()).done;){var i,a=r.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.trim())||e.after(a)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,n=[];e.firstChild;)n.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),n},n.determineRootBinding=function(){for(var e=this.parentNode;e;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var n,r=e,o=new Map,i=O(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return(0,g.convertPlainObjectToMap)(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,u()(y().mark((function t(){var r,o,i,a,l=arguments;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length,o=new Array(r),i=0;i<r;i++)o[i]=l[i];return t.next=3,e.reflectEventToProperties(n,o);case 3:(a=t.sent)&&(o[0]=a),e.forwardEvent(n,o);case 6:case"end":return t.stop()}}),t)})))))},r=0,o=Object.keys(this.self.eventToPropertyMapping);r<o.length;r++)n();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var n=function(){var n=o[r],i=n[0],a=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![b.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e&&t.reflectEventToProperties(i,r),t.forwardEvent(i,r)})))},r=0,o=Object.entries(this.self.propertyTypes);r<o.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=O(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},n.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,g.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},n.applySlots=function(e,t){for(var n=this,r=0,o=Array.from(e.querySelectorAll("slot"));r<o.length;r++){var i=o[r],a=i.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,u=O(this.slots.default);!(l=u()).done;){var s=l.value;this.evaluateDomNodeTemplate(s,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.grabSlotContent(e)}));else this.slots[a]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},n.grabSlotContent=function(e){var t,n,r;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(null==(n=e.firstElementChild)||!n.hasAttribute("data-no-template")||"false"===(null==(r=e.firstElementChild)?void 0:r.getAttribute("data-no-template")))){var o,i,a=e.firstElementChild.value;null==(o=e.classList)||o.remove("web-component-template");var l=e.cloneNode();return null==(i=e.classList)||i.add("web-component-template"),l.innerHTML="",l.template=a,l}return this.self.cloneSlots?e.cloneNode(!0):e},n.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,n=Array.from(this.querySelectorAll("[slot]"));t<n.length;t++){for(var r,o=n[t],i=o.parentNode,a=!0;i;){if(i.nodeName.includes("-")){i===this&&(a=!1);break}i=i.parentNode}if(!a){var l=null==(r=o.getAttribute("slot"))?void 0:r.trim();this.slots[null!=l?l:o.nodeName.toLowerCase()]=this.grabSlotContent(o)}}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},n.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=f()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var n=t[e],r=n[0],o=n[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=r)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r,o=n[t],i=o[0],a=o[1];if(this.setExternalPropertyValue(i,a),this.isConnected){var l=(0,g.camelCaseToDelimited)(i);if(null!=(r=this.self._propertiesToReflectAsAttributes)&&r.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case b.boolean:case"boolean":a?""!==this.getAttribute(l)&&this.setAttribute(l,""):this.hasAttribute(l)&&this.removeAttribute(l);break;case b.func:case"function":break;case"json":if(a){var u=JSON.stringify(a);if(u&&this.getAttribute(l)!==u){this.setAttribute(l,u);break}}this.hasAttribute(l)&&this.removeAttribute(l);break;case b.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(l)&&this.removeAttribute(l);else{var s=String(a);this.getAttribute(l)!==s&&this.setAttribute(l,s)}break;case b.string:case"string":a?this.getAttribute(l)!==a&&this.setAttribute(l,a):this.hasAttribute(l)&&this.removeAttribute(l);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.shape:case b.exact:case b.symbol:default:if(a){var c=(0,g.represent)(a);if(c&&this.getAttribute(l)!==c){this.setAttribute(l,c);break}}this.hasAttribute(l)&&this.removeAttribute(l)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var r,o=O(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,l=O(this.self.controllableProperties);!(a=l()).done;){var u=a.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},n.reflectEventToProperties=function(){var e=u()(y().mark((function e(t,n){var r,o,i,a,l,u,s,c,d,p,_,h,m,v,b,E;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,g.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in l&&(0,g.isFunction)(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:u=e.t0,i=!0,Array.isArray(u)?(o=u[0],this.reflectProperties(o),(0,g.extend)(!0,this.internalProperties,u[1])):null===u?i=!1:"object"==typeof u&&(o=u,this.reflectProperties(u));case 16:if(!i&&n.length>0&&(0,g.isObject)(n[0])){if(c=n[0],"persist"in n[0]&&(0,g.isFunction)(n[0].persist))for(c={},d=0,p=Object.keys(this.self.propertyTypes);d<p.length;d++)for(_=p[d],h=O([_].concat(null!==(v=this.getPropertyAlias(_))&&void 0!==v?v:[]));!(m=h()).done;)b=m.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,b)?n[0].currentTarget[b]:this.getPropertyValue(b))!==this.externalProperties[b]&&(c[b]=E);else[null,void 0].includes(null==(s=c.detail)?void 0:s.value)||(c=f()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",o);case 20:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),o=r?e.substring(1):e,i=(0,g.delimitedToCamelCase)(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var l=this.self.propertyTypes[i];if(r){if(t){var u=(0,g.evaluate)(t,f()({},g.UTILITY_SCOPE),!1,!0,this);u.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+u.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,u.result),this.setExternalPropertyValue(i,u.result))}}else switch(l){case b.boolean:case"boolean":var s=![null,"false"].includes(t);this.setInternalPropertyValue(i,s),this.setExternalPropertyValue(i,s);break;case b.func:case"function":var c,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(g.UTILITY_SCOPE_NAMES);if(t){var _=(0,g.compile)(t,p);d=_.error,c=_.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(i,(function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n.outputEventNames.has(i)&&n.reflectEventToProperties(i,o);var l=void 0;if(!d)try{var u;l=null==(u=c)?void 0:u.call.apply(u,[n,o[0],o[0],o[0],o[0],o[0],o[0],o].concat(g.UTILITY_SCOPE_VALUES))}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+p.join('", "')+'" set to "'+(0,g.represent)(o)+'": '+n+'. Set property to "undefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),l})),d||this.setExternalPropertyValue(i,c);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,g.represent)(d));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,(0,g.copy)(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case b.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,m);break;case b.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.oneOf:case b.oneOfType:case b.shape:case b.exact:case b.symbol:default:if(t){var v=(0,g.evaluate)(t,{},!1,!0,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(i,v.result),this.setExternalPropertyValue(i,(0,g.copy)(v.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,g.timeout)((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,g.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=f()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[(0,g.lowerCase)(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},n.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,g.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return console.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var n=document.createElement("div");return n.innerHTML=t.result,this.applySlots(n,f()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(P),a.applyRootBinding=!0,a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:b.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,o=a,i=m()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),w={component:A,register:function(e){void 0===e&&(e=(0,g.camelCaseToDelimited)(A._name)),customElements.define(e,A)}};t.default=A},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,n){n.d(t,{api:function(){return b}});var r=n(0),o=n.n(r),i=n(4),a=n.n(i),l=n(3),u=n.n(l),s=n(5),c=n.n(s),d=n(1),f=n(2),p=n(11),_=n.n(p),h=n(12),m=n(13);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return y(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var g=function(e){function t(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=e.call.apply(e,[this].concat(o))||this).compiledSlots={},n.preparedSlots={},n.reactRoot=null,n.rootReactInstance=null,n.self=t,n.wrapMemorizingWrapper=null,n.isWrapped=!1,n.reflectInstanceProperties=function(){var e;null!=(e=n.instance)&&e.current&&n.instance.current.properties&&n.reflectProperties(n.instance.current.properties)},n}u()(t,e);var n=t.prototype;return n.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},n.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},n.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},n.render=function(){var e=a()(c().mark((function e(t){var n,r,i,a=this;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=3;break}return e.abrupt("return");case 3:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(r=this.firstChild;r;)i=r.nextSibling,this.removeChild(r),r=i;return this.reactRoot||(this.reactRoot=(0,m.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),e.next=12,new Promise((function(e){(0,h.flushSync)((function(){var t;null==(t=a.reactRoot)||t.render((0,p.createElement)(a.self.content,a.internalProperties)),e()}))}));case 12:if(null==(n=this.instance)||!n.current){e.next=16;break}this.reflectInstanceProperties(),e.next=18;break;case 16:return e.next=18,(0,d.timeout)(this.reflectInstanceProperties);case 18:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=(0,d.copy)(t,1),n)),this.setInternalPropertyValue(e,(0,d.copy)(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=f.NullSymbol:void 0===n&&(n=f.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},n.preCompileDomNodes=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!1),1===(e=e.filter((function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()}))).length)return this.preCompileDomNode(e[0],t,n);for(var r,o=1,i=[],a=v(e);!(r=a()).done;){var l=r.value,u=this.preCompileDomNode(l,t,n,o.toString());i.push(u),o+=1}return n?function(e){return function(){for(var t,n=[],r=v(i);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,p.createElement)(p.Fragment,{children:n})}}:i},n.preCompileDomNode=function(e,t,n,r){var i=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){var a=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,r);return function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.length>0?n[0]:null;return a(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var l="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=r&&l?(0,p.createElement)(p.Fragment,{children:l,key:r}):l||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var s,c={},f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=r),s=e.constructor.content):(c.key=r,s=e.tagName.toLowerCase());for(var _,h=Object.keys(t),m={},y=function(){var n,r=_.value,o=e.getAttribute(r);if(null===o)return 0;var a=!1,l="";if(r.startsWith("data-bind-")?l=r.substring(10):r.startsWith("bind-")&&(l=r.substring(5)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=(0,d.compile)(o,h),s=u.error,p=u.originalScopeNames,v=u.templateFunction;if(s)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,s),0;"attributes"===l||"properties"===l?a=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:p,templateFunction:v.bind(i)}}else if(l.startsWith("on-")){l=(0,d.delimitedToCamelCase)(l),Object.prototype.hasOwnProperty.call(t,"event")||(h=[].concat(h,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(h=[].concat(h,["parameters"]));var y=(0,d.compile)(o,h,!0),g=y.error,b=y.originalScopeNames,E=y.scopeNames,O=y.templateFunction;if(g)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,g),0;var T=O.bind(i);o=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{T.apply(void 0,b.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+r+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+E.join('", "')+'": '+(0,d.represent)(t))}}}else l=r;var P={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(P,l)&&(l=P[l]),l=(0,d.delimitedToCamelCase)(l),null!=(n=o)&&n.originalScopeNames?m[a?"":l]=o:f||(c[l]=o)},g=v(e.getAttributeNames());!(_=g()).done;)y();if(!f){var b=Array.from(e.childNodes);b.length&&(c.children=this.preCompileDomNodes(b,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},c),a=0,l=Object.entries(m);a<l.length;a++){var u=l[a],d=u[0],_=u[1],h=_.originalScopeNames,v=_.templateFunction.apply(void 0,h.map((function(e){return n[e]})));""===d?r=o()({},r,v):r[d]=v}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):f?(r=o()({},e.internalProperties,r),n=o()({},r,n,{parent:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=i.evaluatePreCompiledDomNodes(r.children,n)),(0,p.createElement)(s,r)}},n.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var n,r=[],o=v(e);!(n=o()).done;){var i=(0,n.value)(t);i&&r.push(i)}return r},n.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],o()({},this.scope,{parent:this}),[f.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[f.func,"function"].includes(this.self.propertyTypes.children)))},n.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},n.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},n.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,p.forwardRef)((function(t,n){return(0,p.useImperativeHandle)(n,(function(){return{properties:t}})),(0,p.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,p.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){(0,d.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,p.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=v(["isRoot","isTrusted","__composed"]);!(n=r()).done;){var o=n.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(n(7).default);g.attachWebComponentAdapterIfNotExists=!0,g.content="div",g.react=_(),g._name="ReactWebComponent";var b={component:g,register:function(e){void 0===e&&(e=(0,d.camelCaseToDelimited)(g._name)),customElements.define(e,g)}};t.default=g}],f={};function _(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,_),n.exports}_.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return _.d(t,{a:t}),t},_.d=function(e,t){for(var n in t)_.o(t,n)&&!_.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},_.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};_.r(h),_.d(h,{ReactWeb:function(){return T},Web:function(){return w},reactWebAPI:function(){return P},webAPI:function(){return A},wrapAsWebComponent:function(){return C}});var m=_(0),v=_.n(m),y=_(3),g=_.n(y),b=_(1),E=_(14),O=_(7),T=E.default,P=E.api,A=O.api,w=O.default,C=function(e,t,n){var r,o,i;void 0===t&&(t="NoName"),void 0===n&&(n={});var a=e._name||(null==(r=e.___types)||null==(r=r.name)?void 0:r.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var l=e.propTypes||{},u=n.propertyAliases||e.propertyAliases||{},s=(0,b.unique)(Object.keys(l).concat(Object.keys(u)).concat(Object.values(u))),c=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(T.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(T.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var d=0,f=T.propertiesToReflectAsAttributes;d<f.length;d++){var p=f[d];c.set(p,T.propertyTypes[p])}else if("object"==typeof c)for(var _=0,h=T.propertiesToReflectAsAttributes;_<h.length;_++){var m=h[_];c[m]=T.propertyTypes[m]}var y=s.map((function(e){return(0,b.camelCaseToDelimited)(e)})),E=function(t){function r(){for(var o,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return(o=t.call.apply(t,[this].concat(a))||this).self=r,o.internalProperties=n.internalProperties?v()({},n.internalProperties):e.internalProperties?v()({},e.internalProperties):{},o}return g()(r,t),r}(T);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=T.observedAttributes.concat(y).concat(y.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?v()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?v()({},e.eventToPropertyMapping):{},E.propertyAliases=v()({},T.propertyAliases,u),E.propertiesToReflectAsAttributes=c,E.propertyTypes=v()({},T.propertyTypes,l),E.renderProperties=null!==(o=null!==(i=n.renderProperties)&&void 0!==i?i:e.renderProperties)&&void 0!==o?o:T.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,b.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return h.default=C,h}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},function(module,__unused_webpack_exports,__nested_webpack_require_45951__){var __dirname="/",e,r,t,n,i,o,u,a;if(module=__nested_webpack_require_45951__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_45951__.g||null===__nested_webpack_require_45951__.g?{}:__nested_webpack_require_45951__.g;module.exports=(e=__nested_webpack_require_45951__(2),r=__nested_webpack_require_45951__(7),t=__nested_webpack_require_45951__(8),n=__nested_webpack_require_45951__(9),i=__nested_webpack_require_45951__(3),o=__nested_webpack_require_45951__(4),u=__nested_webpack_require_45951__(10),a=__nested_webpack_require_45951__(11),function(){var l=[function(e){e.exports=a},function(t){t.exports=e},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=t},function(e,t,n){n.d(t,{WrapTooltip:function(){return c}});var r=n(1),o=n.n(r),i=n(2),a=n(12),l=n(6),u=n(0),s=!l.Tooltip||Boolean(l.Tooltip.isDummy),c=function(e){var t=e.children,n=e.options;if("string"==typeof n)return s?(0,u.jsx)("div",{className:"generic-tooltip",title:n,children:t}):(0,u.jsx)(l.Tooltip,{overlay:(0,u.jsx)(a.Typography,{use:"caption",children:n}),children:(0,u.jsx)("div",{className:"generic-tooltip",children:t})});if((0,i.isObject)(n)){if("string"==typeof n.overlay){if(s)return(0,u.jsx)("div",{className:"generic-tooltip",title:n.overlay,children:t});n=o()({},n,{overlay:(0,u.jsx)(a.Typography,{use:"caption",children:n.overlay})})}return s?(0,u.jsx)("div",{className:"generic-tooltip",children:t}):(0,u.jsx)(l.Tooltip,o()({},n,{children:(0,u.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,u.jsx)(u.Fragment,{children:t})}},function(e){e.exports=u},,,,,,function(e){e.exports=n},function(e,t,n){n.d(t,{WrapThemeProvider:function(){return i}});var r=n(4),o=n(0),i=function(e){var t=e.children,n=e.configuration,i=e.wrap;return n?(0,o.jsx)(r.ThemeProvider,{options:n,wrap:!1!==i,children:t}):t}},function(e,t,n){n.d(t,{g:function(){return i}});var r=n(3),o=n(0),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(r.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e){e.exports=r}],s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return l[e](n,n.exports,c),n.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};c.r(d),c.d(d,{WrapConfigurations:function(){return T},createWrapConfigurationsComponent:function(){return P}});var f=c(1),p=c.n(f),_=c(15),h=c.n(_),m=c(3),v=c(4),y=c(14),g=c(13),b=c(5),E=c(0),O=["strict","theme","themeConfiguration","tooltip","wrap"],T=function(e){var t=e.children,n=e.strict,r=e.themeConfiguration,o=e.tooltip,i=e.wrap;return(0,E.jsx)(y.g,{strict:Boolean(n),children:(0,E.jsx)(b.WrapTooltip,{options:o,children:(0,E.jsx)(g.WrapThemeProvider,{configuration:r,wrap:i,children:t})})})};function P(e,t){void 0===t&&(t={});var n=function(n,r){var o=n.strict,i=n.theme,a=n.themeConfiguration,l=n.tooltip,u=n.wrap,s=h()(n,O),c=(0,E.jsx)(e,p()({},p()({},s,!1===t.withReference?{}:r?{ref:r}:{},t.withThemeWrapper&&i?{theme:i}:{})));return(0,E.jsx)(T,{strict:o,themeConfiguration:a,tooltip:l,wrap:u,children:t.withThemeWrapper&&i?(0,E.jsx)(v.Theme,{use:i,wrap:u,children:c}):c})};return t.withReference?(0,m.forwardRef)(n):n}return d.default=T,d}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__51__}],__webpack_module_cache__={};function __nested_webpack_require_50081__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__nested_webpack_require_50081__),n.loaded=!0,n.exports}__nested_webpack_require_50081__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_50081__.d(t,{a:t}),t},__nested_webpack_require_50081__.d=function(e,t){for(var n in t)__nested_webpack_require_50081__.o(t,n)&&!__nested_webpack_require_50081__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_50081__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_50081__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_50081__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_50081__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};__nested_webpack_require_50081__.r(__nested_webpack_exports__),__nested_webpack_require_50081__.d(__nested_webpack_exports__,{SliderInput:function(){return _SliderInput}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_50081__(2),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_50081__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_50081__(0),clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_50081__.n(clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__),react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_50081__(18),react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4___default=__nested_webpack_require_50081__.n(react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_50081__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_3___default=__nested_webpack_require_50081__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_3__),_rmwc_slider__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_50081__(51),_rmwc_slider__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_50081__.n(_rmwc_slider__WEBPACK_IMPORTED_MODULE_2__),_SliderInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_3___default()((0,react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4__.createWrapConfigurationsComponent)(_rmwc_slider__WEBPACK_IMPORTED_MODULE_2__.Slider),"SliderInput",{eventToPropertyMapping:{onChange:function(e,t){return _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},t.externalProperties,{value:e.detail.value})},onInput:function(e){return[{value:e.detail.value},{value:e.detail.value}]}},propTypes:{disabled:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.boolean,discrete:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.boolean,displayMarkers:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.boolean,max:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number,min:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number,step:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number,theme:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.string,themeConfiguration:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.object,onChange:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.func,onInput:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.func,value:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number}});return __nested_webpack_exports__.default=_SliderInput,__nested_webpack_exports__}()},module.exports=t(__webpack_require__(9),__webpack_require__(14),__webpack_require__(38),__webpack_require__(39),__webpack_require__(40),__webpack_require__(13),__webpack_require__(0),__webpack_require__(37),__webpack_require__(1),__webpack_require__(8),__webpack_require__(11),__webpack_require__(12),__webpack_require__(5),__webpack_require__(52),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(115))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__=__webpack_require__(133);return __webpack_exports__}()}));
328
+ var A=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.skipInitialUIUpdate=!1,t.valueToAriaValueTextFn=null,t}return o(t,e),t.attachTo=function(e,n){return void 0===n&&(n={}),new t(e,void 0,n)},t.prototype.getDefaultFoundation=function(){var e=this;return new T({hasClass:function(t){return e.root.classList.contains(t)},addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},addThumbClass:function(t,n){e.getThumbEl(n).classList.add(t)},removeThumbClass:function(t,n){e.getThumbEl(n).classList.remove(t)},getAttribute:function(t){return e.root.getAttribute(t)},getInputValue:function(t){return e.getInput(t).value},setInputValue:function(t,n){e.getInput(n).value=t},getInputAttribute:function(t,n){return e.getInput(n).getAttribute(t)},setInputAttribute:function(t,n,r){e.getInput(r).setAttribute(t,n)},removeInputAttribute:function(t,n){e.getInput(n).removeAttribute(t)},focusInput:function(t){e.getInput(t).focus()},isInputFocused:function(t){return e.getInput(t)===document.activeElement},shouldHideFocusStylesForPointerEvents:function(){return!1},getThumbKnobWidth:function(t){return e.getThumbEl(t).querySelector("."+_.THUMB_KNOB).getBoundingClientRect().width},getThumbBoundingClientRect:function(t){return e.getThumbEl(t).getBoundingClientRect()},getBoundingClientRect:function(){return e.root.getBoundingClientRect()},getValueIndicatorContainerWidth:function(t){return e.getThumbEl(t).querySelector("."+_.VALUE_INDICATOR_CONTAINER).getBoundingClientRect().width},isRTL:function(){return"rtl"===getComputedStyle(e.root).direction},setThumbStyleProperty:function(t,n,r){e.getThumbEl(r).style.setProperty(t,n)},removeThumbStyleProperty:function(t,n){e.getThumbEl(n).style.removeProperty(t)},setTrackActiveStyleProperty:function(t,n){e.trackActive.style.setProperty(t,n)},removeTrackActiveStyleProperty:function(t){e.trackActive.style.removeProperty(t)},setValueIndicatorText:function(t,n){e.getThumbEl(n).querySelector("."+_.VALUE_INDICATOR_TEXT).textContent=String(t)},getValueToAriaValueTextFn:function(){return e.valueToAriaValueTextFn},updateTickMarks:function(t){var n=e.root.querySelector("."+_.TICK_MARKS_CONTAINER);n||((n=document.createElement("div")).classList.add(_.TICK_MARKS_CONTAINER),e.root.querySelector("."+_.TRACK).appendChild(n));if(t.length!==n.children.length){for(;n.firstChild;)n.removeChild(n.firstChild);e.addTickMarks(n,t)}else e.updateTickMarks(n,t)},setPointerCapture:function(t){e.root.setPointerCapture(t)},emitChangeEvent:function(t,n){e.emit(v.CHANGE,{value:t,thumb:n})},emitInputEvent:function(t,n){e.emit(v.INPUT,{value:t,thumb:n})},emitDragStartEvent:function(t,n){e.getRipple(n).activate()},emitDragEndEvent:function(t,n){e.getRipple(n).deactivate()},registerEventHandler:function(t,n){e.listen(t,n)},deregisterEventHandler:function(t,n){e.unlisten(t,n)},registerThumbEventHandler:function(t,n,r){e.getThumbEl(t).addEventListener(n,r)},deregisterThumbEventHandler:function(t,n,r){e.getThumbEl(t).removeEventListener(n,r)},registerInputEventHandler:function(t,n,r){e.getInput(t).addEventListener(n,r)},deregisterInputEventHandler:function(t,n,r){e.getInput(t).removeEventListener(n,r)},registerBodyEventHandler:function(e,t){document.body.addEventListener(e,t)},deregisterBodyEventHandler:function(e,t){document.body.removeEventListener(e,t)},registerWindowEventHandler:function(e,t){window.addEventListener(e,t)},deregisterWindowEventHandler:function(e,t){window.removeEventListener(e,t)}})},t.prototype.initialize=function(e){var t=(void 0===e?{}:e).skipInitialUIUpdate;this.inputs=[].slice.call(this.root.querySelectorAll("."+_.INPUT)),this.thumbs=[].slice.call(this.root.querySelectorAll("."+_.THUMB)),this.trackActive=this.root.querySelector("."+_.TRACK_ACTIVE),this.ripples=this.createRipples(),t&&(this.skipInitialUIUpdate=!0)},t.prototype.initialSyncWithDOM=function(){this.foundation.layout({skipUpdateUI:this.skipInitialUIUpdate})},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getValueStart=function(){return this.foundation.getValueStart()},t.prototype.setValueStart=function(e){this.foundation.setValueStart(e)},t.prototype.getValue=function(){return this.foundation.getValue()},t.prototype.setValue=function(e){this.foundation.setValue(e)},t.prototype.getDisabled=function(){return this.foundation.getDisabled()},t.prototype.setDisabled=function(e){this.foundation.setDisabled(e)},t.prototype.setValueToAriaValueTextFn=function(e){this.valueToAriaValueTextFn=e},t.prototype.getThumbEl=function(e){return e===l.END?this.thumbs[this.thumbs.length-1]:this.thumbs[0]},t.prototype.getInput=function(e){return e===l.END?this.inputs[this.inputs.length-1]:this.inputs[0]},t.prototype.getRipple=function(e){return e===l.END?this.ripples[this.ripples.length-1]:this.ripples[0]},t.prototype.addTickMarks=function(e,t){for(var n=document.createDocumentFragment(),r=0;r<t.length;r++){var o=document.createElement("div"),i=t[r]===a.ACTIVE?_.TICK_MARK_ACTIVE:_.TICK_MARK_INACTIVE;o.classList.add(i),n.appendChild(o)}e.appendChild(n)},t.prototype.updateTickMarks=function(e,t){for(var n=Array.from(e.children),r=0;r<n.length;r++)t[r]===a.ACTIVE?(n[r].classList.add(_.TICK_MARK_ACTIVE),n[r].classList.remove(_.TICK_MARK_INACTIVE)):(n[r].classList.add(_.TICK_MARK_INACTIVE),n[r].classList.remove(_.TICK_MARK_ACTIVE))},t.prototype.createRipples=function(){for(var e=[],t=[].slice.call(this.root.querySelectorAll("."+_.THUMB)),n=function(n){var o=t[n],a=r.inputs[n],l=i(i({},f.N.createAdapter(r)),{addClass:function(e){o.classList.add(e)},computeBoundingRect:function(){return o.getBoundingClientRect()},deregisterInteractionHandler:function(e,t){a.removeEventListener(e,t)},isSurfaceActive:function(){return(0,d.cK)(a,":active")},isUnbounded:function(){return!0},registerInteractionHandler:function(e,t){a.addEventListener(e,t,(0,c.E)())},removeClass:function(e){o.classList.remove(e)},updateCssVariable:function(e,t){o.style.setProperty(e,t)}}),u=new f.N(o,new p.E(l));u.unbounded=!0,e.push(u)},r=this,o=0;o<t.length;o++)n(o);return e},t}(s.O)},,,,,,,,,,function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",t;if(module=__webpack_require__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__webpack_require__.g||null===__webpack_require__.g?{}:__webpack_require__.g;t=function(__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__55__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_4028__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u;if(module=__nested_webpack_require_4028__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_4028__.g||null===__nested_webpack_require_4028__.g?{}:__nested_webpack_require_4028__.g;module.exports=(e=__nested_webpack_require_4028__(2),t=__nested_webpack_require_4028__(12),r=__nested_webpack_require_4028__(3),n=__nested_webpack_require_4028__(5),i=__nested_webpack_require_4028__(6),o=__nested_webpack_require_4028__(0),s=__nested_webpack_require_4028__(4),a=__nested_webpack_require_4028__(13),l=__nested_webpack_require_4028__(14),p=__nested_webpack_require_4028__(15),c=__nested_webpack_require_4028__(16),u=__nested_webpack_require_4028__(17),function(){var d=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=o},function(e){e.exports=t},function(e){e.exports=n},function(e){e.exports=i},function(e,t,n){var r=n(0),o=n.n(r),i=n(1),a=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:a.string},e),function(t,n){if("string"==typeof n){var r,a=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var l=(0,i.camelCaseToDelimited)(n);a.observedAttributes&&!a.observedAttributes.includes(l)&&a.observedAttributes.push(l)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?o()({},a.propertyTypes):{}),!a.propertyTypes||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?(0,i.copy)(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(n)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(n)||"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,n)&&(r=a.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(n):a.normalizePropertyTypeList&&(a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes))),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(n,r),"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?o()({},a.propertyAliases):{}),!a.propertyAliases||!e.update&&Object.prototype.hasOwnProperty.call(a,n)||(a.propertyAliases[n]=e.alias))}}}},function(e,t,n){n.d(t,{api:function(){return w}});var r,o,i,a,l=n(4),u=n.n(l),s=n(8),c=n.n(s),d=n(0),f=n.n(d),p=n(3),_=n.n(p),h=n(9),m=n.n(h),v=(n(10),n(5)),y=n.n(v),g=n(1),b=n(2),E=n(6);function O(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return T(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?T(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function T(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var P="undefined"==typeof HTMLElement?function(){}:HTMLElement,A=(r=(0,E.default)({type:b.boolean,writeAttribute:!0}),a=function(e){function t(){var n;return(n=e.call(this)||this).batchAttributeUpdates=!0,n.batchPropertyUpdates=!0,n.batchUpdates=!0,n.batchedAttributeUpdateRunning=!0,n.batchedPropertyUpdateRunning=!0,n.batchedUpdateRunning=!0,n.parent=null,n.rootInstance=null,n.scope=f()({},g.UTILITY_SCOPE),n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,c()(n,"isRoot",i,n),n.root=void 0,n.runDomConnectionAndRenderingInSameEventQueue=!1,n.self=t,n.slots={},n.self=n.constructor,n.self._propertiesToReflectAsAttributes||(n.self._propertiesToReflectAsAttributes=n.self.normalizePropertyTypeList(n.self.propertiesToReflectAsAttributes)),n.generateAliasIndex(),n.root=n,n.defineGetterAndSetterInterface(),n}_()(t,e);var n=t.prototype;return n.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},n.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,g.timeout)((function(){n.batchedAttributeUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("attributeChanged")}))):this.render("attributeChanged")},n.connectedCallback=function(){var e=this;try{this.isConnected=!0}catch(e){}this.parent=this,this.rootInstance=this,this.attachEventHandler(),this.self.determineRootBinding&&this.determineRootBinding(),this.self.applyRootBinding&&this.isRoot&&(this.determineRenderScope(),this.applyBinding(this,this.scope)),this.batchedAttributeUpdateRunning=!1,this.batchedPropertyUpdateRunning=!1,this.batchedUpdateRunning=!1,this.grabGivenSlots(),this.reflectExternalProperties(this.externalProperties),this.runDomConnectionAndRenderingInSameEventQueue?this.render("connected"):(0,g.timeout)((function(){e.render("connected")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=O(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=O(e.value.values());!(n=r()).done;)(0,n.value)();this.slots={}},n.defineGetterAndSetterInterface=function(){for(var e,t=this,n=function(){var n=e.value;Object.prototype.hasOwnProperty.call(t,n)&&t.setPropertyValue(n,t[n]),Object.defineProperty(t,n,{configurable:!0,get:function(){return t.getPropertyValue(n)},set:function(e){t.setPropertyValue(n,e),t.triggerPropertySpecificRendering(n,e)}})},r=O((0,g.unique)(Object.keys(this.self.propertyTypes).concat(this.self._propertyAliasIndex?Object.keys(this.self._propertyAliasIndex):[])));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return this.self._propertyAliasIndex&&Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},n.getPropertyValue=function(e){var n,r,o=null!=(n=this.instance)&&null!=(n=n.current)&&n.properties&&(Object.prototype.hasOwnProperty.call(!t.propertyTypes,e)||Object.prototype.hasOwnProperty.call(this.instance.current.properties,e))?this.instance.current.properties[e]:this.externalProperties[e];return null!=(r=this.instance)&&null!=(r=r.current)&&r.state&&Object.prototype.hasOwnProperty.call(this.instance.current.state,e)?this.instance.current.state[e]:o},n.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},n.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},n.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,(0,g.timeout)((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),(0,g.timeout)((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()}))):(n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("propertyChanged"),n.triggerOutputEvents())})));else{var r=this.isStateProperty(e);this.render(r?"preStatePropertyChanged":"propertyChanged"),void 0!==t&&r&&(this.setInternalPropertyValue(e,void 0),this.render("postStatePropertyChanged")),this.triggerOutputEvents()}},n.applyBinding=function(e,t){var n=this;if(e.getAttributeNames)for(var r,o=function(){var o=r.value,i="";if(o.startsWith("data-bind-")?i=o.substring(10):o.startsWith("bind-")&&(i=o.substring(5)),i){var a=e.getAttribute(o);if(null===a)return 0;if(i.startsWith("attribute-")||i.startsWith("property-")){var l=(0,g.evaluate)(a,t,!1,!0,e);if(l.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,l.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),l.result):e[(0,g.delimitedToCamelCase)(i.substring(9))]=l.result}else if(i.startsWith("on-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var u=n.domNodeEventBindings.get(e);if(i=(0,g.delimitedToCamelCase)(i.substring(3)),null!=u&&u.has(i)){var s=u.get(i);s&&s()}t=f()({console:console,event:void 0,parameters:void 0},t);var c=(0,g.compile)(a,t,!0,!0,e);if(c.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,c.error);else{var d=function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];t.event=r[0],t.parameters=r;try{c.templateFunction.apply(c,c.originalScopeNames.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+o+'" on node:',e,'Given expression "'+a+'" could not be evaluated with given scope names "'+c.scopeNames.join('", "')+'": '+(0,g.represent)(t))}};e.addEventListener(i,d),null==u||u.set(i,(function(){e.removeEventListener(i,d),u.delete(i),0===u.size&&n.domNodeEventBindings.delete(e)}))}}}},i=O(e.getAttributeNames());!(r=i()).done;)o()},n.applyBindings=function(e,t,n){for(void 0===n&&(n=!0);e;){var r;null==(r=e.attributes)||!r.length||!n&&e.getAttribute("slot")||this.applyBinding(e,t),e.nodeName.toLowerCase().includes("-")||this.applyBindings(e.firstChild,t),e=e.nextSibling}},n.compileDomNodeTemplate=function(e,t,n){if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=f()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&e.nodeName.toLowerCase().includes("-"))return n.map;if(n.unsafe){var r=e.innerHTML;if(!r&&e.template&&(r=e.template),this.self.hasCode(r)){var o,i=(0,g.compile)("`"+r+"`",t);null==(o=n.map)||o.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:r,templateFunction:i.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var u="a"===l?e.getAttribute("href"):e.textContent;u&&this.self.hasCode(u)&&(a=u.replace(/&nbsp;/g," ").trim())}var s=[];if(a){var c,d=(0,g.compile)("`"+a+"`",t);null==(c=n.map)||c.set(e,{children:s,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var p=e.firstChild;p;)n.filter&&!n.filter(p)||s.push(this.compileDomNodeTemplate(p,t,f()({},n,{ignoreComponents:n.ignoreNestedComponents}))),p=p.nextSibling}return n.map},n.evaluateDomNodeTemplate=function(e,t,n){var r,o;if(void 0===t&&(t={}),void 0===n&&(n={}),null!=(r=(n=f()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map)&&r.has(e)||this.compileDomNodeTemplate(e,t,n),null!=(o=n.map)&&o.has(e)){var i=n.map.get(e),a=i.error,l=i.scopeNames,u=i.templateFunction;if(a)console.warn("Error occurred during compiling node content: "+a);else{var s=null;try{s=u.apply(void 0,l.map((function(e){return t[e]})))}catch(a){console.warn('Error occurred when "'+this.self._name+'" is running "'+u+'": with bound names "'+l.join('", "')+'": "'+a+'". Rendering node:',e)}null!==s&&(n.unsafe?e.innerHTML=s:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",s):e.textContent=s)}}if(!(n.unsafe||n.ignoreComponents&&e.nodeName.toLowerCase().includes("-")))for(var c=e.firstChild;c;)n.filter&&!n.filter(c)||this.evaluateDomNodeTemplate(c,t,f()({},n,{applyBindings:!1,ignoreComponents:n.ignoreNestedComponents})),c=c.nextSibling;return n.applyBindings&&this.applyBindings(e,t),n.map},t.replaceDomNodes=function(e,n){for(var r,o=O([].concat(n).reverse());!(r=o()).done;){var i,a=r.value;t.trimSlots&&a.nodeType===Node.TEXT_NODE&&""===(null==(i=a.nodeValue)?void 0:i.trim())||e.after(a)}e.remove()},t.unwrapDomNode=function(e){for(var t=e.parentNode,n=[];e.firstChild;)n.push(e.firstChild),t.insertBefore(e.firstChild,e);return t.removeChild(e),n},n.determineRootBinding=function(){for(var e=this.parentNode;e;)(e instanceof t||e.nodeName.includes("-")||null===e.parentNode&&"[object ShadowRoot]"===e.toString())&&(this.rootInstance===this?(this.parent=e,this.rootInstance=e,this.setPropertyValue("isRoot",!1)):this.rootInstance=e),e=e.parentNode},t.hasCode=function(e){return"string"==typeof e&&e.includes("${")&&e.includes("}")&&/\${[\s\S]+}/.test(e)},t.normalizePropertyTypeList=function(e){if("string"==typeof e&&(e=[e]),Array.isArray(e)){for(var n,r=e,o=new Map,i=O(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return(0,g.convertPlainObjectToMap)(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){var e=this;if(!this.self.eventToPropertyMapping)return!1;for(var t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,u()(y().mark((function t(){var r,o,i,a,l=arguments;return y().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=l.length,o=new Array(r),i=0;i<r;i++)o[i]=l[i];return t.next=3,e.reflectEventToProperties(n,o);case 3:(a=t.sent)&&(o[0]=a),e.forwardEvent(n,o);case 6:case"end":return t.stop()}}),t)})))))},r=0,o=Object.keys(this.self.eventToPropertyMapping);r<o.length;r++)n();return t},n.attachImplicitDefinedOutputEventHandler=function(e){var t=this;void 0===e&&(e=!0);for(var n=function(){var n=o[r],i=n[0],a=n[1];Object.prototype.hasOwnProperty.call(t.internalProperties,i)||![b.func,"function"].includes(a)||t.self.renderProperties.includes(i)||(t.outputEventNames.add(i),t.setInternalPropertyValue(i,(function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];e&&t.reflectEventToProperties(i,r),t.forwardEvent(i,r)})))},r=0,o=Object.entries(this.self.propertyTypes);r<o.length;r++)n()},n.triggerOutputEvents=function(){for(var e,t=O(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},n.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=(0,g.lowerCase)(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},n.applySlots=function(e,t){for(var n=this,r=0,o=Array.from(e.querySelectorAll("slot"));r<o.length;r++){var i=o[r],a=i.getAttribute("name");if(null===a||"default"===a)if(this.slots.default){if(this.self.renderSlots){if(this.self.evaluateSlots)for(var l,u=O(this.slots.default);!(l=u()).done;){var s=l.value;this.evaluateDomNodeTemplate(s,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.grabSlotContent(e)}));else this.slots[a]?this.self.renderSlots&&(this.self.evaluateSlots&&this.evaluateDomNodeTemplate(this.slots[a],t),this.self.replaceDomNodes(i,this.slots[a])):this.slots[a]=this.grabSlotContent(this.self.unwrapDomNode(i).filter((function(e){return"#text"!==e.nodeName.toLowerCase()}))[0])}},n.grabSlotContent=function(e){var t,n,r;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(null==(n=e.firstElementChild)||!n.hasAttribute("data-no-template")||"false"===(null==(r=e.firstElementChild)?void 0:r.getAttribute("data-no-template")))){var o,i,a=e.firstElementChild.value;null==(o=e.classList)||o.remove("web-component-template");var l=e.cloneNode();return null==(i=e.classList)||i.add("web-component-template"),l.innerHTML="",l.template=a,l}return this.self.cloneSlots?e.cloneNode(!0):e},n.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,n=Array.from(this.querySelectorAll("[slot]"));t<n.length;t++){for(var r,o=n[t],i=o.parentNode,a=!0;i;){if(i.nodeName.includes("-")){i===this&&(a=!1);break}i=i.parentNode}if(!a){var l=null==(r=o.getAttribute("slot"))?void 0:r.trim();this.slots[null!=l?l:o.nodeName.toLowerCase()]=this.grabSlotContent(o)}}this.slots.default?this.slots.default=[this.slots.default]:this.childNodes.length>0?this.slots.default=Array.from(this.childNodes).map((function(t){return e.grabSlotContent(t)})):this.slots.default=[]},n.isStateProperty=function(e){var t;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(this.instance.current.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},n.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=f()({},this.self.propertyAliases);for(var e=0,t=Object.entries(this.self._propertyAliasIndex);e<t.length;e++){var n=t[e],r=n[0],o=n[1];Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,o)||(this.self._propertyAliasIndex[o]=r)}}},n.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r,o=n[t],i=o[0],a=o[1];if(this.setExternalPropertyValue(i,a),this.isConnected){var l=(0,g.camelCaseToDelimited)(i);if(null!=(r=this.self._propertiesToReflectAsAttributes)&&r.has(i))switch(this.self._propertiesToReflectAsAttributes.get(i)){case b.boolean:case"boolean":a?""!==this.getAttribute(l)&&this.setAttribute(l,""):this.hasAttribute(l)&&this.removeAttribute(l);break;case b.func:case"function":break;case"json":if(a){var u=JSON.stringify(a);if(u&&this.getAttribute(l)!==u){this.setAttribute(l,u);break}}this.hasAttribute(l)&&this.removeAttribute(l);break;case b.number:case"number":if("number"!=typeof a||isNaN(a))this.hasAttribute(l)&&this.removeAttribute(l);else{var s=String(a);this.getAttribute(l)!==s&&this.setAttribute(l,s)}break;case b.string:case"string":a?this.getAttribute(l)!==a&&this.setAttribute(l,a):this.hasAttribute(l)&&this.removeAttribute(l);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.shape:case b.exact:case b.symbol:default:if(a){var c=(0,g.represent)(a);if(c&&this.getAttribute(l)!==c){this.setAttribute(l,c);break}}this.hasAttribute(l)&&this.removeAttribute(l)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var r,o=O(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(this.internalProperties,i)&&this.setInternalPropertyValue(i,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(delete this.internalProperties.model.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var a,l=O(this.self.controllableProperties);!(a=l()).done;){var u=a.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},n.reflectEventToProperties=function(){var e=u()(y().mark((function e(t,n){var r,o,i,a,l,u,s,c,d,p,_,h,m,v,b,E;return y().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(r=this.batchUpdates,this.batchUpdates=!1,o=null,i=!1,!(this.self.eventToPropertyMapping&&Object.prototype.hasOwnProperty.call(this.self.eventToPropertyMapping,t)&&(0,g.isFunction)(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in l&&(0,g.isFunction)(l.then))){e.next=12;break}return e.next=9,l;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=l;case 13:u=e.t0,i=!0,Array.isArray(u)?(o=u[0],this.reflectProperties(o),(0,g.extend)(!0,this.internalProperties,u[1])):null===u?i=!1:"object"==typeof u&&(o=u,this.reflectProperties(u));case 16:if(!i&&n.length>0&&(0,g.isObject)(n[0])){if(c=n[0],"persist"in n[0]&&(0,g.isFunction)(n[0].persist))for(c={},d=0,p=Object.keys(this.self.propertyTypes);d<p.length;d++)for(_=p[d],h=O([_].concat(null!==(v=this.getPropertyAlias(_))&&void 0!==v?v:[]));!(m=h()).done;)b=m.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,b)?n[0].currentTarget[b]:this.getPropertyValue(b))!==this.externalProperties[b]&&(c[b]=E);else[null,void 0].includes(null==(s=c.detail)?void 0:s.value)||(c=f()({},c.detail));o=c,this.reflectProperties(c)}return this.triggerRender("propertyReflected"),this.batchUpdates=r,e.abrupt("return",o);case 20:case"end":return e.stop()}}),e,this)})));return function(t,n){return e.apply(this,arguments)}}(),n.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),o=r?e.substring(1):e,i=(0,g.delimitedToCamelCase)(o),a=this.getPropertyAlias(i);if(a&&Object.prototype.hasOwnProperty.call(this.self.propertyTypes,a)&&(i=a),Object.prototype.hasOwnProperty.call(this.self.propertyTypes,i)){var l=this.self.propertyTypes[i];if(r){if(t){var u=(0,g.evaluate)(t,f()({},g.UTILITY_SCOPE),!1,!0,this);u.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+u.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,u.result),this.setExternalPropertyValue(i,u.result))}}else switch(l){case b.boolean:case"boolean":var s=![null,"false"].includes(t);this.setInternalPropertyValue(i,s),this.setExternalPropertyValue(i,s);break;case b.func:case"function":var c,d=null,p=["data","event","firstArgument","firstParameter","options","scope","parameters"].concat(g.UTILITY_SCOPE_NAMES);if(t){var _=(0,g.compile)(t,p);d=_.error,c=_.templateFunction,d&&console.warn('Failed to compile given handler "'+e+'": '+d+".")}this.setInternalPropertyValue(i,(function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];n.outputEventNames.has(i)&&n.reflectEventToProperties(i,o);var l=void 0;if(!d)try{var u;l=null==(u=c)?void 0:u.call.apply(u,[n,o[0],o[0],o[0],o[0],o[0],o[0],o].concat(g.UTILITY_SCOPE_VALUES))}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+p.join('", "')+'" set to "'+(0,g.represent)(o)+'": '+n+'. Set property to "undefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),l})),d||this.setExternalPropertyValue(i,c);break;case"json":if(t){var h;try{h=JSON.parse(t)}catch(d){console.warn('Error occurred during parsing given json attribute "'+e+'": '+(0,g.represent)(d));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,(0,g.copy)(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case b.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var m=parseFloat(t);isNaN(m)&&(m=void 0),this.setInternalPropertyValue(i,m),this.setExternalPropertyValue(i,m);break;case b.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case b.any:case b.array:case b.arrayOf:case b.element:case b.elementType:case b.instanceOf:case b.node:case b.object:case"object":case b.objectOf:case b.oneOf:case b.oneOfType:case b.shape:case b.exact:case b.symbol:default:if(t){var v=(0,g.evaluate)(t,{},!1,!0,this);if(v.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',v.error);break}this.setInternalPropertyValue(i,v.result),this.setExternalPropertyValue(i,(0,g.copy)(v.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},n.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,(0,g.timeout)((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},n.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow((0,g.isObject)(this.self.shadowDOM)?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=f()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[(0,g.lowerCase)(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},n.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),!this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}})))return Promise.resolve();var t=(0,g.evaluate)("`"+this.self.content+"`",this.scope);if(t.error)return console.warn("Failed to process template: "+t.error),Promise.resolve();this.applyShadowRootIfNotExisting();var n=document.createElement("div");return n.innerHTML=t.result,this.applySlots(n,f()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots),Promise.resolve()},t}(P),a.applyRootBinding=!0,a.content="<slot>Please provide a template to transclude.</slot>",a.determineRootBinding=!0,a.shadowDOM=null,a.observedAttributes=[],a.controllableProperties=[],a.eventToPropertyMapping={},a.propertyAliases={},a.propertyTypes={onClick:b.func},a.propertiesToReflectAsAttributes=[],a.renderProperties=["children"],a.cloneSlots=!1,a.evaluateSlots=!1,a.renderSlots=!0,a.trimSlots=!0,a.renderUnsafe=!1,a._name="BaseWeb",a._propertyAliasIndex=void 0,a._propertiesToReflectAsAttributes=void 0,o=a,i=m()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),w={component:A,register:function(e){void 0===e&&(e=(0,g.camelCaseToDelimited)(A._name)),customElements.define(e,A)}};t.default=A},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=s},function(e){e.exports=a},function(e){e.exports=l},function(e,t,n){n.d(t,{api:function(){return b}});var r=n(0),o=n.n(r),i=n(4),a=n.n(i),l=n(3),u=n.n(l),s=n(5),c=n.n(s),d=n(1),f=n(2),p=n(11),_=n.n(p),h=n(12),m=n(13);function v(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(n)return(n=n.call(e)).next.bind(n);if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return y(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?y(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0;return function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}function y(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var g=function(e){function t(){for(var n,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(n=e.call.apply(e,[this].concat(o))||this).compiledSlots={},n.preparedSlots={},n.reactRoot=null,n.rootReactInstance=null,n.self=t,n.wrapMemorizingWrapper=null,n.isWrapped=!1,n.reflectInstanceProperties=function(){var e;null!=(e=n.instance)&&e.current&&n.instance.current.properties&&n.reflectProperties(n.instance.current.properties)},n}u()(t,e);var n=t.prototype;return n.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},n.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},n.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},n.render=function(){var e=a()(c().mark((function e(t){var n,r,i,a=this;return c().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===t&&(t="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:t,scope:this.scope}}))){e.next=3;break}return e.abrupt("return");case 3:if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(o()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(r=this.firstChild;r;)i=r.nextSibling,this.removeChild(r),r=i;return this.reactRoot||(this.reactRoot=(0,m.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),e.next=12,new Promise((function(e){(0,h.flushSync)((function(){var t;null==(t=a.reactRoot)||t.render((0,p.createElement)(a.self.content,a.internalProperties)),e()}))}));case 12:if(null==(n=this.instance)||!n.current){e.next=16;break}this.reflectInstanceProperties(),e.next=18;break;case 16:return e.next=18,(0,d.timeout)(this.reflectInstanceProperties);case 18:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=(0,d.copy)(t,1),n)),this.setInternalPropertyValue(e,(0,d.copy)(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=f.NullSymbol:void 0===n&&(n=f.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},n.preCompileDomNodes=function(e,t,n){if(void 0===t&&(t={}),void 0===n&&(n=!1),1===(e=e.filter((function(e){return e.nodeType!==Node.TEXT_NODE||"string"==typeof e.nodeValue&&""!==e.nodeValue.trim()}))).length)return this.preCompileDomNode(e[0],t,n);for(var r,o=1,i=[],a=v(e);!(r=a()).done;){var l=r.value,u=this.preCompileDomNode(l,t,n,o.toString());i.push(u),o+=1}return n?function(e){return function(){for(var t,n=[],r=v(i);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,p.createElement)(p.Fragment,{children:n})}}:i},n.preCompileDomNode=function(e,t,n,r){var i=this;if(void 0===t&&(t={}),void 0===n&&(n=!1),n){var a=this.preCompileDomNode(e,o()({},t,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,r);return function(e){return function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=n.length>0?n[0]:null;return a(o()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:n}))}}}if(e.nodeType===Node.TEXT_NODE){var l="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=r&&l?(0,p.createElement)(p.Fragment,{children:l,key:r}):l||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var s,c={},f=this.self.isReactComponent(e);f?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(c,"key")&&(c.key=r),s=e.constructor.content):(c.key=r,s=e.tagName.toLowerCase());for(var _,h=Object.keys(t),m={},y=function(){var n,r=_.value,o=e.getAttribute(r);if(null===o)return 0;var a=!1,l="";if(r.startsWith("data-bind-")?l=r.substring(10):r.startsWith("bind-")&&(l=r.substring(5)),l.startsWith("attribute-")||"attributes"===l||l.startsWith("property-")||"properties"===l){var u=(0,d.compile)(o,h),s=u.error,p=u.originalScopeNames,v=u.templateFunction;if(s)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,s),0;"attributes"===l||"properties"===l?a=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:p,templateFunction:v.bind(i)}}else if(l.startsWith("on-")){l=(0,d.delimitedToCamelCase)(l),Object.prototype.hasOwnProperty.call(t,"event")||(h=[].concat(h,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(h=[].concat(h,["parameters"]));var y=(0,d.compile)(o,h,!0),g=y.error,b=y.originalScopeNames,E=y.scopeNames,O=y.templateFunction;if(g)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,g),0;var T=O.bind(i);o=function(){for(var n=arguments.length,i=new Array(n),a=0;a<n;a++)i[a]=arguments[a];t.event=i[0],t.parameters=i;try{T.apply(void 0,b.map((function(e){return t[e]})))}catch(t){console.warn('Error occurred during processing given event binding "'+r+'" on node: ',e,'Given expression "'+o+'" could not be evaluated with given scope names "'+E.join('", "')+'": '+(0,d.represent)(t))}}}else l=r;var P={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(P,l)&&(l=P[l]),l=(0,d.delimitedToCamelCase)(l),null!=(n=o)&&n.originalScopeNames?m[a?"":l]=o:f||(c[l]=o)},g=v(e.getAttributeNames());!(_=g()).done;)y();if(!f){var b=Array.from(e.childNodes);b.length&&(c.children=this.preCompileDomNodes(b,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},c),a=0,l=Object.entries(m);a<l.length;a++){var u=l[a],d=u[0],_=u[1],h=_.originalScopeNames,v=_.templateFunction.apply(void 0,h.map((function(e){return n[e]})));""===d?r=o()({},r,v):r[d]=v}return Object.prototype.hasOwnProperty.call(r,"innerHTML")&&(r.dangerouslySetInnerHTML={__html:r.innerHTML},delete r.children,delete r.innerHTML),Object.prototype.hasOwnProperty.call(r,"textContent")?(r.children=r.textContent,delete r.textContent):f?(r=o()({},e.internalProperties,r),n=o()({},r,n,{parent:e}),e.evaluateSlots(n),e.prepareProperties(r)):r.children&&(r.children=i.evaluatePreCompiledDomNodes(r.children,n)),(0,p.createElement)(s,r)}},n.evaluatePreCompiledDomNodes=function(e,t){if(void 0===t&&(t={}),!Array.isArray(e))return e(t);if(1===e.length)return e[0](t);for(var n,r=[],o=v(e);!(n=o()).done;){var i=(0,n.value)(t);i&&r.push(i)}return r},n.preCompileSlots=function(){for(var e in this.slots)this.slots[e]&&"default"!==e&&(this.compiledSlots[e]=this.preCompileDomNode(this.slots[e],o()({},this.scope,{parent:this}),[f.func,"function"].includes(this.self.propertyTypes[e])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[f.func,"function"].includes(this.self.propertyTypes.children)))},n.evaluateSlots=function(e){for(var t in this.preparedSlots={},this.compiledSlots)Object.prototype.hasOwnProperty.call(this.compiledSlots,t)&&("children"===t?this.preparedSlots.children=this.evaluatePreCompiledDomNodes(this.compiledSlots[t],e):this.preparedSlots[t]=this.compiledSlots[t](e))},t.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},n.determineRootBinding=function(){e.prototype.determineRootBinding.call(this);for(var t=this.parentNode;t;){if(this.self.isReactComponent(t)){this.rootReactInstance=t;break}t=t.parentNode}},n.applyComponentWrapper=function(){if("string"!=typeof this.self.content&&!this.isWrapped){this.isWrapped=!0;var e=this.self.content.wrapped||this.self.content;this.self.content.webComponentAdapterWrapped?this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e):this.self.attachWebComponentAdapterIfNotExists?(this.self.content.displayName||(this.self.content.displayName=this.self._name),this.self.content=(0,p.forwardRef)((function(t,n){return(0,p.useImperativeHandle)(n,(function(){return{properties:t}})),(0,p.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,p.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,p.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){(0,d.extend)(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,p.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=v(["isRoot","isTrusted","__composed"]);!(n=r()).done;){var o=n.value;Object.prototype.hasOwnProperty.call(t,o)&&(Object.prototype.hasOwnProperty.call(e.content,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.propTypes,o)||Object.prototype.hasOwnProperty.call(e.content,"wrapped")&&Object.prototype.hasOwnProperty.call(e.content.wrapped,"propTypes")&&!Object.prototype.hasOwnProperty.call(e.content.wrapped.propTypes,o))&&delete t[o]}},t}(n(7).default);g.attachWebComponentAdapterIfNotExists=!0,g.content="div",g.react=_(),g._name="ReactWebComponent";var b={component:g,register:function(e){void 0===e&&(e=(0,d.camelCaseToDelimited)(g._name)),customElements.define(e,g)}};t.default=g}],f={};function _(e){var t=f[e];if(void 0!==t)return t.exports;var n=f[e]={exports:{}};return d[e](n,n.exports,_),n.exports}_.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return _.d(t,{a:t}),t},_.d=function(e,t){for(var n in t)_.o(t,n)&&!_.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},_.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},_.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var h={};_.r(h),_.d(h,{ReactWeb:function(){return T},Web:function(){return w},reactWebAPI:function(){return P},webAPI:function(){return A},wrapAsWebComponent:function(){return C}});var m=_(0),v=_.n(m),y=_(3),g=_.n(y),b=_(1),E=_(14),O=_(7),T=E.default,P=E.api,A=O.api,w=O.default,C=function(e,t,n){var r,o,i;void 0===t&&(t="NoName"),void 0===n&&(n={});var a=e._name||(null==(r=e.___types)||null==(r=r.name)?void 0:r.name)||t.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");n.propTypes&&(e.propTypes=n.propTypes);var l=e.propTypes||{},u=n.propertyAliases||e.propertyAliases||{},s=(0,b.unique)(Object.keys(l).concat(Object.keys(u)).concat(Object.values(u))),c=n.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(T.propertiesToReflectAsAttributes)if(Array.isArray(c))c=[].concat(T.propertiesToReflectAsAttributes,c);else if(c instanceof Map)for(var d=0,f=T.propertiesToReflectAsAttributes;d<f.length;d++){var p=f[d];c.set(p,T.propertyTypes[p])}else if("object"==typeof c)for(var _=0,h=T.propertiesToReflectAsAttributes;_<h.length;_++){var m=h[_];c[m]=T.propertyTypes[m]}var y=s.map((function(e){return(0,b.camelCaseToDelimited)(e)})),E=function(t){function r(){for(var o,i=arguments.length,a=new Array(i),l=0;l<i;l++)a[l]=arguments[l];return(o=t.call.apply(t,[this].concat(a))||this).self=r,o.internalProperties=n.internalProperties?v()({},n.internalProperties):e.internalProperties?v()({},e.internalProperties):{},o}return g()(r,t),r}(T);return E.attachWebComponentAdapterIfNotExists="boolean"!=typeof n.attachWebComponentAdapterIfNotExists||n.attachWebComponentAdapterIfNotExists,E.content=e,E.observedAttributes=T.observedAttributes.concat(y).concat(y.map((function(e){return"-"+e}))),E.controllableProperties=e.controllableProperties||n.controllableProperties||[],E.eventToPropertyMapping=null===n.eventToPropertyMapping?n.eventToPropertyMapping:n.eventToPropertyMapping?v()({},n.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?v()({},e.eventToPropertyMapping):{},E.propertyAliases=v()({},T.propertyAliases,u),E.propertiesToReflectAsAttributes=c,E.propertyTypes=v()({},T.propertyTypes,l),E.renderProperties=null!==(o=null!==(i=n.renderProperties)&&void 0!==i?i:e.renderProperties)&&void 0!==o?o:T.renderProperties,E._name=a,{component:E,register:function(e){void 0===e&&(e=(0,b.camelCaseToDelimited)(a)),customElements.define(e,E)}}};return h.default=C,h}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__2__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__3__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__4__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__5__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__6__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__7__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__8__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__9__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__10__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__14__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__15__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__16__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__17__},function(module,__unused_webpack_exports,__nested_webpack_require_45951__){var __dirname="/",e,r,t,n,i,o,u,a;if(module=__nested_webpack_require_45951__.nmd(module),null!==module&&"undefined"!==eval("typeof require")&&null!==eval("require")&&"main"in eval("require")&&"undefined"!==eval("typeof require.main")&&null!==eval("require.main")){var ORIGINAL_MAIN_MODULE=module;module!==eval("require.main")&&"paths"in module&&"paths"in eval("require.main")&&null!=__dirname&&(module.paths=eval("require.main.paths").concat(module.paths.filter((function(path){return eval("require.main.paths").includes(path)}))))}if(null==window)var window=void 0===__nested_webpack_require_45951__.g||null===__nested_webpack_require_45951__.g?{}:__nested_webpack_require_45951__.g;module.exports=(e=__nested_webpack_require_45951__(2),r=__nested_webpack_require_45951__(7),t=__nested_webpack_require_45951__(8),n=__nested_webpack_require_45951__(9),i=__nested_webpack_require_45951__(3),o=__nested_webpack_require_45951__(4),u=__nested_webpack_require_45951__(10),a=__nested_webpack_require_45951__(11),function(){var l=[function(t){t.exports=e},function(e){e.exports=a},function(e){e.exports=i},function(e){e.exports=o},,function(e){e.exports=t},function(e,t,n){n.d(t,{WrapTooltip:function(){return c}});var r=n(0),o=n.n(r),i=n(2),a=n(11),l=n(13),u=n(1),s=!l.Tooltip||Boolean(l.Tooltip.isDummy),c=function(e){var t=e.children,n=e.options;if("string"==typeof n)return s?(0,u.jsx)("div",{className:"generic-tooltip",title:n,children:t}):(0,u.jsx)(l.Tooltip,{overlay:(0,u.jsx)(a.Typography,{use:"caption",children:n}),children:(0,u.jsx)("div",{className:"generic-tooltip",children:t})});if((0,i.isObject)(n)){if("string"==typeof n.overlay){if(s)return(0,u.jsx)("div",{className:"generic-tooltip",title:n.overlay,children:t});n=o()({},n,{overlay:(0,u.jsx)(a.Typography,{use:"caption",children:n.overlay})})}return s?(0,u.jsx)("div",{className:"generic-tooltip",children:t}):(0,u.jsx)(l.Tooltip,o()({},n,{children:(0,u.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,u.jsx)(u.Fragment,{children:t})}},,,,,function(e){e.exports=n},function(e,t,n){n.d(t,{WrapThemeProvider:function(){return i}});var r=n(5),o=n(1),i=function(e){var t=e.children,n=e.configuration,i=e.wrap;return n?(0,o.jsx)(r.ThemeProvider,{options:n,wrap:!1!==i,children:t}):t}},function(e){e.exports=u},,function(e,t,n){n.d(t,{g:function(){return i}});var r=n(3),o=n(1),i=function(e){var t=e.children;return e.strict?(0,o.jsx)(r.StrictMode,{children:t}):(0,o.jsx)(o.Fragment,{children:t})}},function(e){e.exports=r}],s={};function c(e){var t=s[e];if(void 0!==t)return t.exports;var n=s[e]={exports:{}};return l[e](n,n.exports,c),n.exports}c.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return c.d(t,{a:t}),t},c.d=function(e,t){for(var n in t)c.o(t,n)&&!c.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},c.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},c.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var d={};c.r(d),c.d(d,{WrapConfigurations:function(){return T},createWrapConfigurationsComponent:function(){return P}});var f=c(0),p=c.n(f),_=c(16),h=c.n(_),m=c(3),v=c(5),y=c(15),g=c(12),b=c(6),E=c(1),O=["strict","theme","themeConfiguration","tooltip","wrap"],T=function(e){var t=e.children,n=e.strict,r=e.themeConfiguration,o=e.tooltip,i=e.wrap;return(0,E.jsx)(y.g,{strict:Boolean(n),children:(0,E.jsx)(b.WrapTooltip,{options:o,children:(0,E.jsx)(g.WrapThemeProvider,{configuration:r,wrap:i,children:t})})})};function P(e,t){void 0===t&&(t={});var n=function(n,r){var o=n.strict,i=n.theme,a=n.themeConfiguration,l=n.tooltip,u=n.wrap,s=h()(n,O),c=(0,E.jsx)(e,p()({},p()({},s,!1===t.withReference?{}:r?{ref:r}:{},t.withThemeWrapper&&i?{theme:i}:{})));return(0,E.jsx)(T,{strict:o,themeConfiguration:a,tooltip:l,wrap:u,children:t.withThemeWrapper&&i?(0,E.jsx)(v.Theme,{use:i,wrap:u,children:c}):c})};return t.withReference?(0,m.forwardRef)(n):n}return d.default=T,d}())},,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__55__}],__webpack_module_cache__={};function __nested_webpack_require_50087__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__nested_webpack_require_50087__),n.loaded=!0,n.exports}__nested_webpack_require_50087__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_50087__.d(t,{a:t}),t},__nested_webpack_require_50087__.d=function(e,t){for(var n in t)__nested_webpack_require_50087__.o(t,n)&&!__nested_webpack_require_50087__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_50087__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__nested_webpack_require_50087__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_50087__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_50087__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};__nested_webpack_require_50087__.r(__nested_webpack_exports__),__nested_webpack_require_50087__.d(__nested_webpack_exports__,{SliderInput:function(){return _SliderInput}});var _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_50087__(2),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_50087__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0__),clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_50087__(0),clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_50087__.n(clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__),react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_50087__(18),react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4___default=__nested_webpack_require_50087__.n(react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4__),web_component_wrapper__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_50087__(1),web_component_wrapper__WEBPACK_IMPORTED_MODULE_3___default=__nested_webpack_require_50087__.n(web_component_wrapper__WEBPACK_IMPORTED_MODULE_3__),_rmwc_slider__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_50087__(55),_rmwc_slider__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_50087__.n(_rmwc_slider__WEBPACK_IMPORTED_MODULE_2__),_SliderInput=web_component_wrapper__WEBPACK_IMPORTED_MODULE_3___default()((0,react_input_material_dist_components_WrapConfigurations__WEBPACK_IMPORTED_MODULE_4__.createWrapConfigurationsComponent)(_rmwc_slider__WEBPACK_IMPORTED_MODULE_2__.Slider),"SliderInput",{eventToPropertyMapping:{onChange:function(e,t){return _babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_0___default()({},t.externalProperties,{value:e.detail.value})},onInput:function(e){return[{value:e.detail.value},{value:e.detail.value}]}},propTypes:{disabled:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.boolean,discrete:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.boolean,displayMarkers:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.boolean,max:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number,min:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number,step:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number,theme:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.string,themeConfiguration:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.object,onChange:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.func,onInput:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.func,value:clientnode_dist_property_types__WEBPACK_IMPORTED_MODULE_1__.number}});return __nested_webpack_exports__.default=_SliderInput,__nested_webpack_exports__}()},module.exports=t(__webpack_require__(9),__webpack_require__(14),__webpack_require__(38),__webpack_require__(39),__webpack_require__(40),__webpack_require__(13),__webpack_require__(0),__webpack_require__(37),__webpack_require__(1),__webpack_require__(8),__webpack_require__(11),__webpack_require__(12),__webpack_require__(5),__webpack_require__(52),__webpack_require__(30),__webpack_require__(31),__webpack_require__(32),__webpack_require__(114))}],__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var n=__webpack_module_cache__[e]={id:e,loaded:!1,exports:{}};return __webpack_modules__[e].call(n.exports,n,n.exports,__webpack_require__),n.loaded=!0,n.exports}__webpack_require__.d=function(e,t){for(var n in t)__webpack_require__.o(t,n)&&!__webpack_require__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__webpack_require__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__webpack_require__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __webpack_exports__=__webpack_require__(133);return __webpack_exports__}()}));