web-input-material 0.0.428 → 0.0.430
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.
- package/components/CircularSpinner.bundle.js +8 -8
- package/components/CircularSpinner.js +1 -1
- package/components/FileInput.bundle.js +14 -14
- package/components/FileInput.js +1 -1
- package/components/FileInput.ts +11 -8
- package/components/GenericAnimate.bundle.js +6 -6
- package/components/GenericAnimate.js +1 -1
- package/components/GenericInputs.bundle.js +14 -14
- package/components/GenericInputs.js +1 -1
- package/components/RequireableCheckbox.bundle.js +22 -22
- package/components/RequireableCheckbox.js +1 -1
- package/components/SliderInput.bundle.js +10 -10
- package/components/SliderInput.js +1 -1
- package/components/Tabs.bundle.js +12 -12
- package/components/Tabs.js +1 -1
- package/components/TextInput.bundle.js +14 -14
- package/components/TextInput.js +1 -1
- package/index.bundle.js +23 -23
- package/index.js +1 -1
- package/package.json +1 -1
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Copyright (c) 2018 Jed Watson.
|
|
4
4
|
Licensed under the MIT License (MIT), see
|
|
5
5
|
http://jedwatson.github.io/classnames
|
|
6
|
-
*/l=u,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}l.exports?(t.default=t,l.exports=t):window.classNames=t}();const c=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(u.exports),d={portalElement:null,setPortalElement:null},f=o.createContext(d),p=e=>e.replace(/(-[a-z])/g,(e=>e.toUpperCase().replace("-",""))),h=e=>e.replace(/(^[a-z]+|[A-Z][a-z]*|\d+)/g,(e=>"-"+e.toLowerCase())).slice(1),m=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e)).map((e=>`mdc-theme--${h(e)}`)),v=o.forwardRef((function({tag:e="div",theme:t,element:n,...o},i){const a=n?n.props(o):o,s=n?_(i,n.reactRef):i;return r.jsx(e,{...a,ref:s})})),_=(...e)=>t=>{for(const n of e)"function"==typeof n?n(t):n&&"current"in n&&(n.current=t)},g=(e,t)=>{"function"==typeof e?e(t):e&&"current"in e&&(e.current=t)};function y(e){const t=o.forwardRef(e),n=(e,t)=>r.jsx(r.Fragment,{});return n.displayName=e.constructor.name||"RMWCComponent",t.displayName=n.displayName,t}const b={blur:"onBlur",cancel:"onCancel",click:"onClick",close:"onClose",contextmenu:"onContextMenu",copy:"onCopy",cut:"onCut",auxclick:"onAuxClick",doubleclick:"onDoubleClick",dragend:"onDragEnd",dragstart:"onDragStart",drop:"onDrop",focus:"onFocus",input:"onInput",invalid:"onInvalid",keydown:"onKeyDown",keypress:"onKeyPress",keyup:"onKeyUp",mousedown:"onMouseDown",mouseup:"onMouseUp",paste:"onPaste",pause:"onPause",play:"onPlay",pointercancel:"onPointerCancel",pointerdown:"onPointerDown",pointerup:"onPointerUp",ratechange:"onRateChange",reset:"onReset",seeked:"onSeeked",submit:"onSubmit",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchstart:"onTouchStart",volumechange:"onVolumeChange",abort:"onAbort",animationend:"onAnimationEnd",animationiteration:"onAnimationIteration",animationstart:"onAnimationStart",canplay:"onCanPlay",canplaythrough:"onCanPlayThrough",drag:"onDrag",dragenter:"onDragEnter",dragexit:"onDragExit",dragleave:"onDragLeave",dragover:"onDragOver",durationchange:"onDurationChange",emptied:"onEmptied",encrypted:"onEncrypted",ended:"onEnded",error:"onError",gotpointercapture:"onGotPointerCapture",load:"onLoad",loadeddata:"onLoadedData",loadedmetadata:"onLoadedMetadata",loadstart:"onLoadStart",lostpointercapture:"onLostPointerCapture",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseover:"onMouseOver",playing:"onPlaying",pointermove:"onPointerMove",pointerout:"onPointerOut",pointerover:"onPointerOver",progress:"onProgress",scroll:"onScroll",seeking:"onSeeking",stalled:"onStalled",suspend:"onSuspend",timeupdate:"onTimeUpdate",toggle:"onToggle",touchmove:"onTouchMove",transitionend:"onTransitionEnd",waiting:"onWaiting",wheel:"onWheel",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",pointerenter:"onPointerEnter",pointerleave:"onPointerLeave",change:"onChange",select:"onSelect",beforeinput:"onBeforeInput",compositionend:"onCompositionEnd",compositionstart:"onCompositionStart",compositionupdate:"onCompositionUpdate"},E=e=>b[e]||e;class x{constructor(e){this._classes=new Set,this._events={},this._style={},this._props={},this._onChange=null,this.reactRef=o.createRef(),this._onChange=e,this.onChange=this.onChange.bind(this),this.addClass=this.addClass.bind(this),this.removeClass=this.removeClass.bind(this),this.hasClass=this.hasClass.bind(this),this.setProp=this.setProp.bind(this),this.getProp=this.getProp.bind(this),this.removeProp=this.removeProp.bind(this),this.setStyle=this.setStyle.bind(this),this.addEventListener=this.addEventListener.bind(this),this.removeEventListener=this.removeEventListener.bind(this)}onChange(){this._onChange&&this._onChange()}destroy(){this._onChange=null,this._events={},this._style={},this._props={},this._classes=new Set}addClass(e){this._classes.has(e)||(this._classes.add(e),this.onChange())}removeClass(e){this._classes.has(e)&&(this._classes.delete(e),this.onChange())}hasClass(e){return this._classes.has(e)}setProp(e,t,n=!1){this._props[e]!==t&&(this._props[e]=t,!n&&this.onChange())}getProp(e){return this._props[e]}removeProp(e){void 0!==this._props[e]&&(delete this._props[e],this.onChange())}props(e){const{className:t="",style:n={}}=e,r=Object.entries(e).reduce(((e,[t,n])=>{const r=this._events[t];if("function"==typeof n&&"function"==typeof r){const o=e=>(r(e),n(e));e[t]=o}return e}),{...this._events}),o=c(t,[...this._classes]),i={...this._style,...n};return{...e,...this._props,...r,style:i,className:o}}setStyle(e,t){e=e.startsWith("--")?e:p(e),this._style[e]!==t&&(this._style[e]=t,this.onChange())}addEventListener(e,t){const n=E(e);this._events[n]!==t&&(this._events[n]=t,this.onChange())}removeEventListener(e,t){const n=E(e);this._events[n]&&(delete this._events[n],this.onChange())}get ref(){return this.reactRef.current}}const C="rmwcPortal";const T=a.focusTrap.FocusTrap;const I=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect;let S=!1,A=0;function O(){return++A}const w=o.useId,L=e=>{if(void 0!==w){let t=w();return e??t}let t=e??(S?O():null),[n,r]=o.useState(t);return I((()=>{null===n&&r(O())}),[]),o.useEffect((()=>{!1===S&&(S=!0)}),[]),e??n??void 0},P=(e,t)=>(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t);class N{constructor(){this.events_={}}on(e,t){this.events_=this.events_||{},this.events_[e]=this.events_[e]||[],this.events_[e].push(t)}off(e,t){this.events_=this.events_||{},e in this.events_&&this.events_[e].splice(this.events_[e].indexOf(t),1)}trigger(e,...t){if(this.events_=this.events_||{},e in this.events_)for(var n=0;n<this.events_[e].length;n++)this.events_[e][n].apply(this,Array.prototype.slice.call(arguments,1))}}const k=o.createContext(!1),R=o.createContext(!1),D=(e,t=1,n=1)=>{window.requestAnimationFrame((()=>{n>=t?e():D(e,t,n+1)}))},M=s;t.ArrayEmitter=class extends N{constructor(){super(...arguments),this.array=[]}push(...e){const t=this.array.push(...e);return this.trigger("change"),t}empty(){this.array.length=0,this.trigger("change")}remove(e){const t=this.array.indexOf(e);return t>-1&&(this.array.splice(t,1),this.trigger("change"),!0)}},t.DataTableContext=k,t.DataTableHeadContext=R,t.EventEmitter=N,t.FoundationElement=x,t.Portal=e=>{const t=o.useContext(f),n=null==t?void 0:t.setPortalElement,i=o.useCallback((e=>{null!==e&&n&&n(e)}),[n]);return r.jsx("div",{ref:i,id:C,...e})},t.PortalChild=function({children:e,renderTo:t,menuSurfaceDomPositionRef:n}){const[a,s]=o.useState(),{portalElement:l}=o.useContext(f);return o.useEffect((()=>{let e;!0===t&&l?e=l:!0===t?(e=(null==document?void 0:document.getElementById(C))??void 0,e||console.warn('No default Portal found. Did you forget to include it in the root of your app? `import { Portal } from "@rmwc/base";`')):"string"==typeof t?(e=(null==document?void 0:document.querySelector(t))??void 0,e||console.warn(`The selector you provided for renderToPortal "${t}" didn't find any elements.`)):t instanceof Element&&(e=t),e!==a&&s(e)}),[t,a,l]),t?a?r.jsx("div",{ref:n,children:i.createPortal(e,a)}):null:r.jsx(r.Fragment,{children:e})},t.PortalContext=f,t.PortalProvider=({children:e})=>{const[t,n]=o.useState(null);return r.jsx(f.Provider,{value:{portalElement:t,setPortalElement:n},children:e})},t.RMWC_VERSION=M,t.Tag=v,t.classNames=c,t.closest=(e,t)=>{if(e instanceof Element){if(e&&e.closest)return e.closest(t);{let n=e;for(;n;){if(P(n,t))return n;n=n.parentElement}}}return null},t.createComponent=y,t.createMemoComponent=function(e){const t=y(e);return o.memo(t)},t.debounce=function(e,t){var n;return function(){var r=this,o=arguments;null!==n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,o)}),t)}},t.deprecationWarning=e=>{},t.emptyClientRect={bottom:0,height:0,left:0,right:0,top:0,width:0},t.eventsMap=b,t.focusTrapFactory=(e,t)=>new T(e,t),t.getDisplayName=e=>{var t,n,r;const o=Array.isArray(e)?e[0]:e;return(null==(t=null==o?void 0:o.type)?void 0:t.displayName)||(null==(n=null==o?void 0:o.constructor)?void 0:n.displayName)||(null==o?void 0:o.displayName)||(null==o?void 0:o.name)||(null==(r=null==o?void 0:o.constructor)?void 0:r.name)||"Unknown"},t.handleDeprecations=(e,t,n)=>{e={...e};for(const n in t){const r=t[n];let o,i=e=>e;Array.isArray(r)?(o=r[0],i=r[1]):o=r,void 0!==e[n]&&(""===o||(e[o]=i(e[n]),e[o]!==e[n]&&(e[n],e[o])),delete e[n])}return e},t.handleRef=g,t.matches=P,t.mergeRefs=_,t.parseThemeOptions=m,t.portalContextDefaultValues=d,t.raf=D,t.randomId=e=>`${e}-${(Math.random()+Math.random()+1).toString(36).substring(2)}`,t.toCamel=p,t.toDashCase=h,t.triggerWindowResize=()=>{window.dispatchEvent(new Event("resize"))},t.useClassNames=(e,t)=>c(e.className,...e.theme?m(e.theme):[],..."function"==typeof t?t(e):t),t.useFoundation=({foundation:e,props:t,elements:n,api:r})=>{const[,i]=o.useReducer((e=>e+1),0),a=o.useRef(t);a.current=t;const s=o.useMemo((()=>Object.keys(n).reduce(((e,t)=>(e[t]=new x((()=>{i()})),e)),{})),[]),l=o.useMemo((()=>{const t=e({...s,getProps:()=>a.current,emit:(...e)=>(e=>(t,n,r=!1)=>{let o;o=new CustomEvent(t,{detail:n,bubbles:r}),Object.defineProperty(o,"target",{value:n,writable:!1}),Object.defineProperty(o,"currentTarget",{value:n,writable:!1});const i=t;return e[i]&&e[i](o),o})(a.current)(...e)});return r&&g(a.current.apiRef,r({foundation:t,...s})),t}),[]);return o.useEffect((()=>{const e=l;return e.init(),r&&g(a.current.apiRef,r({foundation:e,...s})),g(a.current.foundationRef,e),()=>{e.destroy(),g(a.current.apiRef,null),g(a.current.foundationRef,null),Object.values(s).map((e=>e.destroy())),a.current={}}}),[l,s]),{foundation:l,...s}},t.useId=(e,t)=>{const n=L(t.label);return t.id?t.id:`${e}-${n}`},t.withTheme=e=>{const t=({theme:t,className:n,...o})=>{if(t){const i=c(n,m(t));return r.jsx(e,{className:i,...o})}return r.jsx(e,{className:n,...o})};return t.displayName="withTheme",t},t.wrapChild=e=>{const t=o.Children.only(e.children);return o.cloneElement(t,{...e,...t.props,className:c(e.className,t.props.className),style:{...t.props.style,...e.style}})}},function(e,t,n){n.d(t,{I:function(){return r}});
|
|
6
|
+
*/l=u,function(){var e={}.hasOwnProperty;function t(){for(var e="",t=0;t<arguments.length;t++){var o=arguments[t];o&&(e=r(e,n(o)))}return e}function n(n){if("string"==typeof n||"number"==typeof n)return n;if("object"!=typeof n)return"";if(Array.isArray(n))return t.apply(null,n);if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]"))return n.toString();var o="";for(var i in n)e.call(n,i)&&n[i]&&(o=r(o,i));return o}function r(e,t){return t?e?e+" "+t:e+t:e}l.exports?(t.default=t,l.exports=t):window.classNames=t}();const c=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}(u.exports),d={portalElement:null,setPortalElement:null},f=o.createContext(d),p=e=>e.replace(/(-[a-z])/g,(e=>e.toUpperCase().replace("-",""))),h=e=>e.replace(/(^[a-z]+|[A-Z][a-z]*|\d+)/g,(e=>"-"+e.toLowerCase())).slice(1),_=e=>(Array.isArray(e)?e:[e]).filter((e=>!!e)).map((e=>`mdc-theme--${h(e)}`)),m=o.forwardRef((function({tag:e="div",theme:t,element:n,...o},i){const a=n?n.props(o):o,s=n?v(i,n.reactRef):i;return r.jsx(e,{...a,ref:s})})),v=(...e)=>t=>{for(const n of e)"function"==typeof n?n(t):n&&"current"in n&&(n.current=t)},g=(e,t)=>{"function"==typeof e?e(t):e&&"current"in e&&(e.current=t)};function b(e){const t=o.forwardRef(e),n=(e,t)=>r.jsx(r.Fragment,{});return n.displayName=e.constructor.name||"RMWCComponent",t.displayName=n.displayName,t}const y={blur:"onBlur",cancel:"onCancel",click:"onClick",close:"onClose",contextmenu:"onContextMenu",copy:"onCopy",cut:"onCut",auxclick:"onAuxClick",doubleclick:"onDoubleClick",dragend:"onDragEnd",dragstart:"onDragStart",drop:"onDrop",focus:"onFocus",input:"onInput",invalid:"onInvalid",keydown:"onKeyDown",keypress:"onKeyPress",keyup:"onKeyUp",mousedown:"onMouseDown",mouseup:"onMouseUp",paste:"onPaste",pause:"onPause",play:"onPlay",pointercancel:"onPointerCancel",pointerdown:"onPointerDown",pointerup:"onPointerUp",ratechange:"onRateChange",reset:"onReset",seeked:"onSeeked",submit:"onSubmit",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchstart:"onTouchStart",volumechange:"onVolumeChange",abort:"onAbort",animationend:"onAnimationEnd",animationiteration:"onAnimationIteration",animationstart:"onAnimationStart",canplay:"onCanPlay",canplaythrough:"onCanPlayThrough",drag:"onDrag",dragenter:"onDragEnter",dragexit:"onDragExit",dragleave:"onDragLeave",dragover:"onDragOver",durationchange:"onDurationChange",emptied:"onEmptied",encrypted:"onEncrypted",ended:"onEnded",error:"onError",gotpointercapture:"onGotPointerCapture",load:"onLoad",loadeddata:"onLoadedData",loadedmetadata:"onLoadedMetadata",loadstart:"onLoadStart",lostpointercapture:"onLostPointerCapture",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseover:"onMouseOver",playing:"onPlaying",pointermove:"onPointerMove",pointerout:"onPointerOut",pointerover:"onPointerOver",progress:"onProgress",scroll:"onScroll",seeking:"onSeeking",stalled:"onStalled",suspend:"onSuspend",timeupdate:"onTimeUpdate",toggle:"onToggle",touchmove:"onTouchMove",transitionend:"onTransitionEnd",waiting:"onWaiting",wheel:"onWheel",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",pointerenter:"onPointerEnter",pointerleave:"onPointerLeave",change:"onChange",select:"onSelect",beforeinput:"onBeforeInput",compositionend:"onCompositionEnd",compositionstart:"onCompositionStart",compositionupdate:"onCompositionUpdate"},E=e=>y[e]||e;class x{constructor(e){this._classes=new Set,this._events={},this._style={},this._props={},this._onChange=null,this.reactRef=o.createRef(),this._onChange=e,this.onChange=this.onChange.bind(this),this.addClass=this.addClass.bind(this),this.removeClass=this.removeClass.bind(this),this.hasClass=this.hasClass.bind(this),this.setProp=this.setProp.bind(this),this.getProp=this.getProp.bind(this),this.removeProp=this.removeProp.bind(this),this.setStyle=this.setStyle.bind(this),this.addEventListener=this.addEventListener.bind(this),this.removeEventListener=this.removeEventListener.bind(this)}onChange(){this._onChange&&this._onChange()}destroy(){this._onChange=null,this._events={},this._style={},this._props={},this._classes=new Set}addClass(e){this._classes.has(e)||(this._classes.add(e),this.onChange())}removeClass(e){this._classes.has(e)&&(this._classes.delete(e),this.onChange())}hasClass(e){return this._classes.has(e)}setProp(e,t,n=!1){this._props[e]!==t&&(this._props[e]=t,!n&&this.onChange())}getProp(e){return this._props[e]}removeProp(e){void 0!==this._props[e]&&(delete this._props[e],this.onChange())}props(e){const{className:t="",style:n={}}=e,r=Object.entries(e).reduce(((e,[t,n])=>{const r=this._events[t];if("function"==typeof n&&"function"==typeof r){const o=e=>(r(e),n(e));e[t]=o}return e}),{...this._events}),o=c(t,[...this._classes]),i={...this._style,...n};return{...e,...this._props,...r,style:i,className:o}}setStyle(e,t){e=e.startsWith("--")?e:p(e),this._style[e]!==t&&(this._style[e]=t,this.onChange())}addEventListener(e,t){const n=E(e);this._events[n]!==t&&(this._events[n]=t,this.onChange())}removeEventListener(e,t){const n=E(e);this._events[n]&&(delete this._events[n],this.onChange())}get ref(){return this.reactRef.current}}const T="rmwcPortal";const C=a.focusTrap.FocusTrap;const A=typeof window<"u"&&window.document&&window.document.createElement?o.useLayoutEffect:o.useEffect;let w=!1,I=0;function S(){return++I}const O=o.useId,L=e=>{if(void 0!==O){let t=O();return e??t}let t=e??(w?S():null),[n,r]=o.useState(t);return A((()=>{null===n&&r(S())}),[]),o.useEffect((()=>{!1===w&&(w=!0)}),[]),e??n??void 0},P=(e,t)=>(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t);class N{constructor(){this.events_={}}on(e,t){this.events_=this.events_||{},this.events_[e]=this.events_[e]||[],this.events_[e].push(t)}off(e,t){this.events_=this.events_||{},e in this.events_&&this.events_[e].splice(this.events_[e].indexOf(t),1)}trigger(e,...t){if(this.events_=this.events_||{},e in this.events_)for(var n=0;n<this.events_[e].length;n++)this.events_[e][n].apply(this,Array.prototype.slice.call(arguments,1))}}const k=o.createContext(!1),R=o.createContext(!1),D=(e,t=1,n=1)=>{window.requestAnimationFrame((()=>{n>=t?e():D(e,t,n+1)}))},M=s;t.ArrayEmitter=class extends N{constructor(){super(...arguments),this.array=[]}push(...e){const t=this.array.push(...e);return this.trigger("change"),t}empty(){this.array.length=0,this.trigger("change")}remove(e){const t=this.array.indexOf(e);return t>-1&&(this.array.splice(t,1),this.trigger("change"),!0)}},t.DataTableContext=k,t.DataTableHeadContext=R,t.EventEmitter=N,t.FoundationElement=x,t.Portal=e=>{const t=o.useContext(f),n=null==t?void 0:t.setPortalElement,i=o.useCallback((e=>{null!==e&&n&&n(e)}),[n]);return r.jsx("div",{ref:i,id:T,...e})},t.PortalChild=function({children:e,renderTo:t,menuSurfaceDomPositionRef:n}){const[a,s]=o.useState(),{portalElement:l}=o.useContext(f);return o.useEffect((()=>{let e;!0===t&&l?e=l:!0===t?(e=(null==document?void 0:document.getElementById(T))??void 0,e||console.warn('No default Portal found. Did you forget to include it in the root of your app? `import { Portal } from "@rmwc/base";`')):"string"==typeof t?(e=(null==document?void 0:document.querySelector(t))??void 0,e||console.warn(`The selector you provided for renderToPortal "${t}" didn't find any elements.`)):t instanceof Element&&(e=t),e!==a&&s(e)}),[t,a,l]),t?a?r.jsx("div",{ref:n,children:i.createPortal(e,a)}):null:r.jsx(r.Fragment,{children:e})},t.PortalContext=f,t.PortalProvider=({children:e})=>{const[t,n]=o.useState(null);return r.jsx(f.Provider,{value:{portalElement:t,setPortalElement:n},children:e})},t.RMWC_VERSION=M,t.Tag=m,t.classNames=c,t.closest=(e,t)=>{if(e instanceof Element){if(e&&e.closest)return e.closest(t);{let n=e;for(;n;){if(P(n,t))return n;n=n.parentElement}}}return null},t.createComponent=b,t.createMemoComponent=function(e){const t=b(e);return o.memo(t)},t.debounce=function(e,t){var n;return function(){var r=this,o=arguments;null!==n&&clearTimeout(n),n=setTimeout((function(){n=null,e.apply(r,o)}),t)}},t.deprecationWarning=e=>{},t.emptyClientRect={bottom:0,height:0,left:0,right:0,top:0,width:0},t.eventsMap=y,t.focusTrapFactory=(e,t)=>new C(e,t),t.getDisplayName=e=>{var t,n,r;const o=Array.isArray(e)?e[0]:e;return(null==(t=null==o?void 0:o.type)?void 0:t.displayName)||(null==(n=null==o?void 0:o.constructor)?void 0:n.displayName)||(null==o?void 0:o.displayName)||(null==o?void 0:o.name)||(null==(r=null==o?void 0:o.constructor)?void 0:r.name)||"Unknown"},t.handleDeprecations=(e,t,n)=>{e={...e};for(const n in t){const r=t[n];let o,i=e=>e;Array.isArray(r)?(o=r[0],i=r[1]):o=r,void 0!==e[n]&&(""===o||(e[o]=i(e[n]),e[o]!==e[n]&&(e[n],e[o])),delete e[n])}return e},t.handleRef=g,t.matches=P,t.mergeRefs=v,t.parseThemeOptions=_,t.portalContextDefaultValues=d,t.raf=D,t.randomId=e=>`${e}-${(Math.random()+Math.random()+1).toString(36).substring(2)}`,t.toCamel=p,t.toDashCase=h,t.triggerWindowResize=()=>{window.dispatchEvent(new Event("resize"))},t.useClassNames=(e,t)=>c(e.className,...e.theme?_(e.theme):[],..."function"==typeof t?t(e):t),t.useFoundation=({foundation:e,props:t,elements:n,api:r})=>{const[,i]=o.useReducer((e=>e+1),0),a=o.useRef(t);a.current=t;const s=o.useMemo((()=>Object.keys(n).reduce(((e,t)=>(e[t]=new x((()=>{i()})),e)),{})),[]),l=o.useMemo((()=>{const t=e({...s,getProps:()=>a.current,emit:(...e)=>(e=>(t,n,r=!1)=>{let o;o=new CustomEvent(t,{detail:n,bubbles:r}),Object.defineProperty(o,"target",{value:n,writable:!1}),Object.defineProperty(o,"currentTarget",{value:n,writable:!1});const i=t;return e[i]&&e[i](o),o})(a.current)(...e)});return r&&g(a.current.apiRef,r({foundation:t,...s})),t}),[]);return o.useEffect((()=>{const e=l;return e.init(),r&&g(a.current.apiRef,r({foundation:e,...s})),g(a.current.foundationRef,e),()=>{e.destroy(),g(a.current.apiRef,null),g(a.current.foundationRef,null),Object.values(s).map((e=>e.destroy())),a.current={}}}),[l,s]),{foundation:l,...s}},t.useId=(e,t)=>{const n=L(t.label);return t.id?t.id:`${e}-${n}`},t.withTheme=e=>{const t=({theme:t,className:n,...o})=>{if(t){const i=c(n,_(t));return r.jsx(e,{className:i,...o})}return r.jsx(e,{className:n,...o})};return t.displayName="withTheme",t},t.wrapChild=e=>{const t=o.Children.only(e.children);return o.cloneElement(t,{...e,...t.props,className:c(e.className,t.props.className),style:{...t.props.style,...e.style}})}},function(e,t,n){n.d(t,{I:function(){return r}});
|
|
7
7
|
/**
|
|
8
8
|
* @license
|
|
9
9
|
* Copyright 2016 Google Inc.
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
27
27
|
* THE SOFTWARE.
|
|
28
28
|
*/
|
|
29
|
-
var r=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,n){n.d(t,{O:function(){return i}});var r=n(2),o=n(4),i=function(){function e(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];this.root=e,this.initialize.apply(this,(0,r.fX)([],(0,r.zs)(n))),this.foundation=void 0===t?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return e.attachTo=function(t){return new e(t,new o.I({}))},e.prototype.initialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation.destroy()},e.prototype.listen=function(e,t,n){this.root.addEventListener(e,t,n)},e.prototype.unlisten=function(e,t,n){this.root.removeEventListener(e,t,n)},e.prototype.emit=function(e,t,n){var r;void 0===n&&(n=!1),"function"==typeof CustomEvent?r=new CustomEvent(e,{bubbles:n,detail:t}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,n,!1,t),this.root.dispatchEvent(r)},e}()},function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(6);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(51)},function(e,t,n){var r=n(6),o=n(25);e.exports=function(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function s(e){t(a,o,i,s,l,"next",e)}function l(e){t(a,o,i,s,l,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(26)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=function(e,t){return function(n){"function"==typeof e?e(n):e&&"current"in e&&(e.current=n),"function"==typeof t?t(n):t&&"current"in t&&(t.current=n)}};Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const o=n(1),i=n(0),a=n(3),s=n(16),l=n(85),u=i.createContext({});function c(e){const{children:t,className:n,primary:s,accent:c,unbounded:d,surface:f,foundationRef:p,...h}=e,{rootEl:m,surfaceEl:v}=(e=>{const t=i.useRef(!1),{foundation:n,...r}=a.useFoundation({props:e,elements:{rootEl:!0,surfaceEl:!0},foundation:({rootEl:e,surfaceEl:t,getProps:n})=>new l.MDCRippleFoundation({addClass:e=>{t.addClass(e)},browserSupportsCssVars:()=>l.util.supportsCssVariables(window),computeBoundingRect:()=>e.ref?e.ref.getBoundingClientRect():a.emptyClientRect,containsEventTarget:t=>!!e.ref&&e.ref.contains(t),deregisterDocumentInteractionHandler:(e,t)=>document.documentElement.removeEventListener(e,t),deregisterInteractionHandler:(e,t)=>{},deregisterResizeHandler:e=>window.removeEventListener("resize",e),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset}),isSurfaceActive:()=>!!e.ref&&a.matches(e.ref,":active"),isSurfaceDisabled:()=>!!n().disabled,removeClass:e=>{t.removeClass(e)},isUnbounded:()=>!!n().unbounded,registerDocumentInteractionHandler:(e,t)=>document.documentElement.addEventListener(e,t,{passive:!0}),registerInteractionHandler:(e,t)=>{},registerResizeHandler:e=>window.addEventListener("resize",e),updateCssVariable:(e,n)=>t.setStyle(e,n)})}),{rootEl:o}=r,s=i.useCallback((e=>{e.persist(),n.activate(e)}),[n]),u=i.useCallback((e=>{e.persist(),n.deactivate()}),[n]),{onFocus:c}=e,d=i.useCallback((e=>{null==c||c(e),n.handleFocus()}),[n,c]),{onBlur:f}=e,p=i.useCallback((e=>{null==f||f(e),n.handleBlur()}),[n,f]),{onMouseDown:h}=e,m=i.useCallback((e=>{null==h||h(e),t.current||s(e),t.current=!1}),[h,s]),{onMouseUp:v}=e,_=i.useCallback((e=>{null==v||v(e),u(e)}),[v,u]),{onTouchStart:g}=e,y=i.useCallback((e=>{t.current=!0,null==g||g(e),s(e)}),[g,s]),{onTouchEnd:b}=e,E=i.useCallback((e=>{null==b||b(e),u(e)}),[b,u]),{onKeyDown:x}=e,C=i.useCallback((e=>{null==x||x(e),s(e)}),[x,s]),{onKeyUp:T}=e,I=i.useCallback((e=>{null==T||T(e),u(e)}),[T,u]);return o.setProp("onFocus",d,!0),o.setProp("onBlur",p,!0),o.setProp("onMouseDown",m,!0),o.setProp("onMouseUp",_,!0),o.setProp("onTouchStart",y,!0),o.setProp("onTouchEnd",E,!0),o.setProp("onKeyDown",C,!0),o.setProp("onKeyUp",I,!0),i.useEffect((()=>{n.setUnbounded(!!e.unbounded)}),[e.unbounded,n]),i.useEffect((()=>{e.disabled&&n.handleBlur()}),[e.disabled,n]),{...r}})(e),_=i.Children.only(t);if(!i.isValidElement(_))return null;const g=d?{"data-mdc-ripple-is-unbounded":!0}:{},y=!f||!d?v.props({style:_.props.style}):{};let b=a.classNames(n!==_.props.className&&n,y.className,_.props.className,{"mdc-ripple-surface":"boolean"==typeof f?f:void 0===f,"mdc-ripple-surface--primary":s,"rmwc-ripple-surface--primary":s,"mdc-ripple-surface--accent":c,"rmwc-ripple-surface--accent":c});h.disabled&&(b=b.replace("mdc-ripple-upgraded--background-focused",""));const E=i.cloneElement(_,{ref:r(_.ref,m.reactRef),..._.props,...g,...m.props({...h,style:_.props.style,...y,className:b})});return o.jsx(u.Provider,{value:v.props({style:_.props.style}),children:E})}t.Ripple=c,t.RippleSurface=({className:e,...t})=>o.jsx(u.Consumer,{children:n=>o.jsx("div",{...t,...n,className:`${e} ${n.className||""}`})}),t.withRipple=({unbounded:e,accent:t,surface:n}={})=>r=>{const a=i.forwardRef((({ripple:i,...a},l)=>{const u=s.useProviderContext(),d="object"!=typeof(i=i??u.ripple)?{}:i;return i?o.jsx(c,{...a,accent:d.accent||t,unbounded:d.unbounded||e,surface:d.surface||n,children:o.jsx(r,{...a,ref:l})}):o.jsx(r,{...a,ref:l})}));return a.displayName=`withRipple(${r.displayName||r.constructor.name||"Unknown"})`,a}},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,n,r;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;module.exports=(e=__webpack_require__(8),n=__webpack_require__(23),r=__webpack_require__(35),function(){var t={0:function(t){t.exports=e},9:function(e){e.exports=n},10:function(e){e.exports=r}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,i),r.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){i.r(a),i.d(a,{DummyTypes:function(){return p},NullSymbol:function(){return l},PropertyTypes:function(){return h},RealTypes:function(){return c},UndefinedSymbol:function(){return u},ValidationError:function(){return f},any:function(){return m},array:function(){return v},arrayOf:function(){return _},bool:function(){return g},boolean:function(){return y},createDummy:function(){return d},element:function(){return b},elementType:function(){return E},exact:function(){return x},func:function(){return C},instanceOf:function(){return T},node:function(){return I},number:function(){return S},object:function(){return A},objectOf:function(){return O},oneOf:function(){return w},oneOfType:function(){return L},shape:function(){return P},string:function(){return N},symbol:function(){return k}});var e=i(0),t=i.n(e),n=i(9),r=i.n(n),o=i(10),s=i.n(o),l=Symbol("null"),u=Symbol("undefined"),c={any:s().any,array:s().array,arrayOf:s().arrayOf,bool:s().bool,boolean:s().bool,element:s().element,elementType:s().elementType,exact:s().exact,func:s().func,instanceOf:s().instanceOf,node:s().node,number:s().number,object:s().object,objectOf:s().objectOf,oneOf:s().oneOf,oneOfType:s().oneOfType,shape:s().shape,string:s().string,symbol:s().symbol},d=function(e){void 0===e&&(e=null);var t=function(){return e};return t.isRequired=function(){return null},t},f=function(e){function n(){var t;return(t=e.call(this,"return null")||this).message="DummyErrorMessage",t}return t()(n,e),n}(r()(Function)),p={any:d(),array:d(),arrayOf:d(new f),bool:d(),boolean:d(),element:d(),elementType:d(new f),exact:d(),func:d(),instanceOf:d(new f),node:d(),number:d(),object:d(),objectOf:d(new f),oneOf:d(new f),oneOfType:d(new f),shape:d(new f),string:d(),symbol:d()},h=["debug","dev","development"].includes("production".trim().toLowerCase())?c:p,m=h.any,v=h.array,_=h.arrayOf,g=h.bool,y=h.bool,b=h.element,E=h.elementType,x=h.exact,C=h.func,T=h.instanceOf,I=h.node,S=h.number,A=h.object,O=h.objectOf,w=h.oneOf,L=h.oneOfType,P=h.shape,N=h.string,k=h.symbol;a.default=h}(),a}())},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i={ripple:!0,tooltip:{align:"top",showArrow:!1,activateOn:["hover","focus"],enterDelay:0,leaveDelay:0},typography:{},icon:{icon:"",basename:"material-icons",prefix:"",strategy:"auto",render:void 0}},a=o.createContext(i);t.ProviderContext=a,t.RMWCProvider=({children:e,...t})=>r.jsx(a.Provider,{value:{...i,...t},children:e}),t.useProviderContext=()=>o.useContext(a)},function(e,t,n){
|
|
29
|
+
var r=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.defineProperty(e,"cssClasses",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"strings",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"numbers",{get:function(){return{}},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{}},enumerable:!1,configurable:!0}),e.prototype.init=function(){},e.prototype.destroy=function(){},e}()},function(e,t,n){n.d(t,{O:function(){return i}});var r=n(2),o=n(4),i=function(){function e(e,t){for(var n=[],o=2;o<arguments.length;o++)n[o-2]=arguments[o];this.root=e,this.initialize.apply(this,(0,r.fX)([],(0,r.zs)(n))),this.foundation=void 0===t?this.getDefaultFoundation():t,this.foundation.init(),this.initialSyncWithDOM()}return e.attachTo=function(t){return new e(t,new o.I({}))},e.prototype.initialize=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},e.prototype.getDefaultFoundation=function(){throw new Error("Subclasses must override getDefaultFoundation to return a properly configured foundation class")},e.prototype.initialSyncWithDOM=function(){},e.prototype.destroy=function(){this.foundation.destroy()},e.prototype.listen=function(e,t,n){this.root.addEventListener(e,t,n)},e.prototype.unlisten=function(e,t,n){this.root.removeEventListener(e,t,n)},e.prototype.emit=function(e,t,n){var r;void 0===n&&(n=!1),"function"==typeof CustomEvent?r=new CustomEvent(e,{bubbles:n,detail:t}):(r=document.createEvent("CustomEvent")).initCustomEvent(e,n,!1,t),this.root.dispatchEvent(r)},e}()},function(e){function t(n,r){return e.exports=t=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n,r)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(n){return e.exports=t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(6);e.exports=function(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,r(e,t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(){return e.exports=t=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},e.exports.__esModule=!0,e.exports.default=e.exports,t.apply(this,arguments)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(51)},function(e,t,n){var r=n(6),o=n(25);e.exports=function(e,t,n){if(o())return Reflect.construct.apply(null,arguments);var i=[null];i.push.apply(i,t);var a=new(e.bind.apply(e,i));return n&&r(a,n.prototype),a},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(e,t,n,r,o,i,a){try{var s=e[i](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,o)}e.exports=function(e){return function(){var n=this,r=arguments;return new Promise((function(o,i){var a=e.apply(n,r);function s(e){t(a,o,i,s,l,"next",e)}function l(e){t(a,o,i,s,l,"throw",e)}s(void 0)}))}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(26)();e.exports=r;try{regeneratorRuntime=r}catch(e){"object"==typeof globalThis?globalThis.regeneratorRuntime=r:Function("r","regeneratorRuntime = r")(r)}},function(e,t,n){var r=function(e,t){return function(n){"function"==typeof e?e(n):e&&"current"in e&&(e.current=n),"function"==typeof t?t(n):t&&"current"in t&&(t.current=n)}};Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const o=n(1),i=n(0),a=n(3),s=n(16),l=n(85),u=i.createContext({});function c(e){const{children:t,className:n,primary:s,accent:c,unbounded:d,surface:f,foundationRef:p,...h}=e,{rootEl:_,surfaceEl:m}=(e=>{const t=i.useRef(!1),{foundation:n,...r}=a.useFoundation({props:e,elements:{rootEl:!0,surfaceEl:!0},foundation:({rootEl:e,surfaceEl:t,getProps:n})=>new l.MDCRippleFoundation({addClass:e=>{t.addClass(e)},browserSupportsCssVars:()=>l.util.supportsCssVariables(window),computeBoundingRect:()=>e.ref?e.ref.getBoundingClientRect():a.emptyClientRect,containsEventTarget:t=>!!e.ref&&e.ref.contains(t),deregisterDocumentInteractionHandler:(e,t)=>document.documentElement.removeEventListener(e,t),deregisterInteractionHandler:(e,t)=>{},deregisterResizeHandler:e=>window.removeEventListener("resize",e),getWindowPageOffset:()=>({x:window.pageXOffset,y:window.pageYOffset}),isSurfaceActive:()=>!!e.ref&&a.matches(e.ref,":active"),isSurfaceDisabled:()=>!!n().disabled,removeClass:e=>{t.removeClass(e)},isUnbounded:()=>!!n().unbounded,registerDocumentInteractionHandler:(e,t)=>document.documentElement.addEventListener(e,t,{passive:!0}),registerInteractionHandler:(e,t)=>{},registerResizeHandler:e=>window.addEventListener("resize",e),updateCssVariable:(e,n)=>t.setStyle(e,n)})}),{rootEl:o}=r,s=i.useCallback((e=>{e.persist(),n.activate(e)}),[n]),u=i.useCallback((e=>{e.persist(),n.deactivate()}),[n]),{onFocus:c}=e,d=i.useCallback((e=>{null==c||c(e),n.handleFocus()}),[n,c]),{onBlur:f}=e,p=i.useCallback((e=>{null==f||f(e),n.handleBlur()}),[n,f]),{onMouseDown:h}=e,_=i.useCallback((e=>{null==h||h(e),t.current||s(e),t.current=!1}),[h,s]),{onMouseUp:m}=e,v=i.useCallback((e=>{null==m||m(e),u(e)}),[m,u]),{onTouchStart:g}=e,b=i.useCallback((e=>{t.current=!0,null==g||g(e),s(e)}),[g,s]),{onTouchEnd:y}=e,E=i.useCallback((e=>{null==y||y(e),u(e)}),[y,u]),{onKeyDown:x}=e,T=i.useCallback((e=>{null==x||x(e),s(e)}),[x,s]),{onKeyUp:C}=e,A=i.useCallback((e=>{null==C||C(e),u(e)}),[C,u]);return o.setProp("onFocus",d,!0),o.setProp("onBlur",p,!0),o.setProp("onMouseDown",_,!0),o.setProp("onMouseUp",v,!0),o.setProp("onTouchStart",b,!0),o.setProp("onTouchEnd",E,!0),o.setProp("onKeyDown",T,!0),o.setProp("onKeyUp",A,!0),i.useEffect((()=>{n.setUnbounded(!!e.unbounded)}),[e.unbounded,n]),i.useEffect((()=>{e.disabled&&n.handleBlur()}),[e.disabled,n]),{...r}})(e),v=i.Children.only(t);if(!i.isValidElement(v))return null;const g=d?{"data-mdc-ripple-is-unbounded":!0}:{},b=!f||!d?m.props({style:v.props.style}):{};let y=a.classNames(n!==v.props.className&&n,b.className,v.props.className,{"mdc-ripple-surface":"boolean"==typeof f?f:void 0===f,"mdc-ripple-surface--primary":s,"rmwc-ripple-surface--primary":s,"mdc-ripple-surface--accent":c,"rmwc-ripple-surface--accent":c});h.disabled&&(y=y.replace("mdc-ripple-upgraded--background-focused",""));const E=i.cloneElement(v,{ref:r(v.ref,_.reactRef),...v.props,...g,..._.props({...h,style:v.props.style,...b,className:y})});return o.jsx(u.Provider,{value:m.props({style:v.props.style}),children:E})}t.Ripple=c,t.RippleSurface=({className:e,...t})=>o.jsx(u.Consumer,{children:n=>o.jsx("div",{...t,...n,className:`${e} ${n.className||""}`})}),t.withRipple=({unbounded:e,accent:t,surface:n}={})=>r=>{const a=i.forwardRef((({ripple:i,...a},l)=>{const u=s.useProviderContext(),d="object"!=typeof(i=i??u.ripple)?{}:i;return i?o.jsx(c,{...a,accent:d.accent||t,unbounded:d.unbounded||e,surface:d.surface||n,children:o.jsx(r,{...a,ref:l})}):o.jsx(r,{...a,ref:l})}));return a.displayName=`withRipple(${r.displayName||r.constructor.name||"Unknown"})`,a}},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,n,r;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;module.exports=(e=__webpack_require__(8),n=__webpack_require__(23),r=__webpack_require__(35),function(){var t={0:function(t){t.exports=e},9:function(e){e.exports=n},10:function(e){e.exports=r}},o={};function i(e){var n=o[e];if(void 0!==n)return n.exports;var r=o[e]={exports:{}};return t[e](r,r.exports,i),r.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){i.r(a),i.d(a,{DummyTypes:function(){return p},NullSymbol:function(){return l},PropertyTypes:function(){return h},RealTypes:function(){return c},UndefinedSymbol:function(){return u},ValidationError:function(){return f},any:function(){return _},array:function(){return m},arrayOf:function(){return v},bool:function(){return g},boolean:function(){return b},createDummy:function(){return d},element:function(){return y},elementType:function(){return E},exact:function(){return x},func:function(){return T},instanceOf:function(){return C},node:function(){return A},number:function(){return w},object:function(){return I},objectOf:function(){return S},oneOf:function(){return O},oneOfType:function(){return L},shape:function(){return P},string:function(){return N},symbol:function(){return k}});var e=i(0),t=i.n(e),n=i(9),r=i.n(n),o=i(10),s=i.n(o),l=Symbol("null"),u=Symbol("undefined"),c={any:s().any,array:s().array,arrayOf:s().arrayOf,bool:s().bool,boolean:s().bool,element:s().element,elementType:s().elementType,exact:s().exact,func:s().func,instanceOf:s().instanceOf,node:s().node,number:s().number,object:s().object,objectOf:s().objectOf,oneOf:s().oneOf,oneOfType:s().oneOfType,shape:s().shape,string:s().string,symbol:s().symbol},d=function(e){void 0===e&&(e=null);var t=function(){return e};return t.isRequired=function(){return null},t},f=function(e){function n(){var t;return(t=e.call(this,"return null")||this).message="DummyErrorMessage",t}return t()(n,e),n}(r()(Function)),p={any:d(),array:d(),arrayOf:d(new f),bool:d(),boolean:d(),element:d(),elementType:d(new f),exact:d(),func:d(),instanceOf:d(new f),node:d(),number:d(),object:d(),objectOf:d(new f),oneOf:d(new f),oneOfType:d(new f),shape:d(new f),string:d(),symbol:d()},h=["debug","dev","development"].includes("production".trim().toLowerCase())?c:p,_=h.any,m=h.array,v=h.arrayOf,g=h.bool,b=h.bool,y=h.element,E=h.elementType,x=h.exact,T=h.func,C=h.instanceOf,A=h.node,w=h.number,I=h.object,S=h.objectOf,O=h.oneOf,L=h.oneOfType,P=h.shape,N=h.string,k=h.symbol;a.default=h}(),a}())},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i={ripple:!0,tooltip:{align:"top",showArrow:!1,activateOn:["hover","focus"],enterDelay:0,leaveDelay:0},typography:{},icon:{icon:"",basename:"material-icons",prefix:"",strategy:"auto",render:void 0}},a=o.createContext(i);t.ProviderContext=a,t.RMWCProvider=({children:e,...t})=>r.jsx(a.Provider,{value:{...i,...t},children:e}),t.useProviderContext=()=>o.useContext(a)},function(e,t,n){
|
|
30
30
|
/**
|
|
31
31
|
* @license
|
|
32
32
|
* Copyright 2018 Google Inc.
|
|
@@ -49,7 +49,7 @@ var r=function(){function e(e){void 0===e&&(e={}),this.adapter=e}return Object.d
|
|
|
49
49
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
50
50
|
* THE SOFTWARE.
|
|
51
51
|
*/
|
|
52
|
-
function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))return n;n=n.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}function i(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var r=n.scrollWidth;return document.documentElement.removeChild(n),r}n.d(t,{cK:function(){return o},et:function(){return i},kp:function(){return r}})},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(16),a=n(3),s=(e,t,n)=>"auto"===(t=t||n||"auto")?(e=>"string"==typeof e&&e.includes("/")?"url":o.isValidElement(e)?"component":"ligature")(e):t,l={ligature:({content:e,...t})=>r.jsx(c,{...t,children:e}),className:({content:e,...t})=>r.jsx(c,{...t}),url:({content:e,...t})=>r.jsx(c,{...t,style:{...t.style,backgroundImage:`url(${e})`}}),component:({content:e,...t})=>{if("svg"===e.type){const{children:n,...o}=e.props;return r.jsx(c,{...o,...t,tag:"svg",children:n})}return r.jsx(c,{...t,children:e})},auto:void 0},u=e=>o.isValidElement(e)||e&&"object"!=typeof e?{icon:e}:e,c=o.forwardRef((function(e,t){return r.jsx(a.Tag,{tag:"i",...e,ref:t})})),d=a.createComponent((function({icon:e,...t},n){const r=i.useProviderContext(),{icon:c,strategy:d,prefix:f,basename:p,render:h,size:m,...v}={...u(e)},{basename:_=null,prefix:g=null,strategy:y=null,render:b=null}=r.icon||{},E=c,x=s(E,d||null,y||null),C=void 0===p?_:p,T="className"===x&&"string"==typeof c?`${String(f||g)}${c}`:null;let I=!!x&&l[x]||null;if("custom"===x&&(I=h||b),!I)return console.error(`Icon: rendering not implemented for ${String(x)}.`),null;const S=I({...t,...v,ref:n,content:E,className:a.classNames("rmwc-icon",`rmwc-icon--${x}`,C,t.className,v.className,T,{[`rmwc-icon--size-${m||""}`]:!!m})});if(!o.isValidElement(S))return null;const A=a.getDisplayName(S.props.children);return A.includes("Avatar")||A.includes("Icon")?o.cloneElement(S.props.children,{...S.props.children.props,...S.props,ref:n,children:S.props.children.props.children,className:a.classNames(S.props.className,S.props.children.props.className)}):S}));d.displayName="Icon",t.Icon=d,t.getIconStrategy=s},function(e,t,n){n.d(t,{E:function(){return c}});var r=n(2),o=n(4),i=n(56),a=n(44),s=["touchstart","pointerdown","mousedown","keydown"],l=["touchend","pointerup","mouseup","contextmenu"],u=[],c=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.activationAnimationHasEnded=!1,o.activationTimer=0,o.fgDeactivationRemovalTimer=0,o.fgScale="0",o.frame={width:0,height:0},o.initialSize=0,o.layoutFrame=0,o.maxRadius=0,o.unboundedCoords={left:0,top:0},o.activationState=o.defaultActivationState(),o.activationTimerCallback=function(){o.activationAnimationHasEnded=!0,o.runDeactivationUXLogicIfReady()},o.activateHandler=function(e){o.activateImpl(e)},o.deactivateHandler=function(){o.deactivateImpl()},o.focusHandler=function(){o.handleFocus()},o.blurHandler=function(){o.handleBlur()},o.resizeHandler=function(){o.layout()},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return i.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=t.cssClasses,o=r.ROOT,i=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(i),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(r),e.adapter.removeClass(o),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,n;if(e){try{for(var o=(0,r.Ju)(s),i=o.next();!i.done;i=o.next()){var a=i.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,n;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=(0,r.Ju)(l),i=o.next();!i.done;i=o.next()){var a=i.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=(0,r.Ju)(s),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=(0,r.Ju)(l),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterDocumentInteractionHandler(i,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,n=t.strings;Object.keys(n).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==e&&r.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&u.length>0&&u.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(u.push(e.target),this.registerDeactivationHandlers(e)),n.wasElementMadeActive=this.checkElementMadeActive(e),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){u=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive(e),n.wasElementMadeActive&&t.animateActivation()),n.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,i=t.cssClasses,a=i.FG_DEACTIVATION,s=i.FG_ACTIVATION,l=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",c="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),f=d.startPoint,p=d.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(r,u),this.adapter.updateCssVariable(o,c),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),l)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,a.getNormalizedEventCoords)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,a=r.isActivated;(o||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(n)}),i.nL.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var n=(0,r.Cl)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(n)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var r=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,o=e.VAR_TOP,i=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(i,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(o.I)},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",r;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;r=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__nested_webpack_exports__,__nested_webpack_require_2324__){__nested_webpack_require_2324__.r(__nested_webpack_exports__),__nested_webpack_require_2324__.d(__nested_webpack_exports__,{$:function(){return $},BoundTools:function(){return BoundTools},CloseEventNames:function(){return CloseEventNames},ConsoleOutputMethods:function(){return ConsoleOutputMethods},DEFAULT_ENCODING:function(){return DEFAULT_ENCODING},IgnoreNullAndUndefinedSymbol:function(){return IgnoreNullAndUndefinedSymbol},Lock:function(){return Lock},Semaphore:function(){return Semaphore},Tools:function(){return Tools},ValueCopySymbol:function(){return ValueCopySymbol},augment$:function(){return augment$},currentImport:function(){return currentImport},currentRequire:function(){return currentRequire},determine$:function(){return determine$},determineGlobalContext:function(){return determineGlobalContext},globalContext:function(){return globalContext},optionalRequire:function(){return optionalRequire},setGlobalContext:function(){return setGlobalContext}});var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_2324__(0),_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_2324__(2),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_2324__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_2324__(4),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_2324__(5),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_2324__(6),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default=__nested_webpack_require_2324__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__),_ref,_globalContext$fetch,_optionalRequire;function _createForOfIteratorHelperLoose(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=_unsupportedIterableToArray(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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.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)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}module=__nested_webpack_require_2324__.hmd(module);var DEFAULT_ENCODING="utf8",CloseEventNames=["close","exit","SIGINT","SIGTERM","SIGQUIT","uncaughtException"],ConsoleOutputMethods=["debug","error","info","log","warn"],ValueCopySymbol=Symbol.for("clientnodeValue"),IgnoreNullAndUndefinedSymbol=Symbol.for("clientnodeIgnoreNullAndUndefined"),determineGlobalContext=function(){return"undefined"==typeof globalThis?void 0===window?void 0===__nested_webpack_require_2324__.g?module:__nested_webpack_require_2324__.g.window?__nested_webpack_require_2324__.g.window:__nested_webpack_require_2324__.g:window:globalThis},globalContext=determineGlobalContext(),setGlobalContext=function(e){globalContext=e},currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}};globalContext.fetch=null!==(_ref=null!==(_globalContext$fetch=globalContext.fetch)&&void 0!==_globalContext$fetch?_globalContext$fetch:null==(_optionalRequire=optionalRequire("node-fetch"))?void 0:_optionalRequire.default)&&void 0!==_ref?_ref:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return currentImport("node-fetch").then((function(e){var n;return null==e?void 0:(n=e).default.apply(n,t)}))};var _ref3=optionalRequire("fs")||{},_ref3$mkdirSync=_ref3.mkdirSync,mkdirSync=void 0===_ref3$mkdirSync?null:_ref3$mkdirSync,_ref3$readdirSync=_ref3.readdirSync,readdirSync=void 0===_ref3$readdirSync?null:_ref3$readdirSync,_ref3$readFileSync=_ref3.readFileSync,readFileSync=void 0===_ref3$readFileSync?null:_ref3$readFileSync,_ref3$statSync=_ref3.statSync,statSync=void 0===_ref3$statSync?null:_ref3$statSync,_ref3$writeFileSync=_ref3.writeFileSync,writeFileSync=void 0===_ref3$writeFileSync?null:_ref3$writeFileSync,_ref4=optionalRequire("fs/promises")||{},_ref4$mkdir=_ref4.mkdir,mkdir=void 0===_ref4$mkdir?null:_ref4$mkdir,_ref4$readdir=_ref4.readdir,readdir=void 0===_ref4$readdir?null:_ref4$readdir,_ref4$readFile=_ref4.readFile,readFile=void 0===_ref4$readFile?null:_ref4$readFile,_ref4$stat=_ref4.stat,stat=void 0===_ref4$stat?null:_ref4$stat,_ref4$writeFile=_ref4.writeFile,writeFile=void 0===_ref4$writeFile?null:_ref4$writeFile,_ref5=optionalRequire("path")||{},_ref5$basename=_ref5.basename,basename=void 0===_ref5$basename?null:_ref5$basename,_ref5$join=_ref5.join,join=void 0===_ref5$join?null:_ref5$join,_ref5$resolve=_ref5.resolve,resolve=void 0===_ref5$resolve?null:_ref5$resolve,determine$=function(){var e=function(){};if(globalContext.$&&null!==globalContext.$)e=globalContext.$;else{if(!globalContext.$&&globalContext.document)try{e=__nested_webpack_require_2324__(7)}catch(e){}if(null==e||"object"==typeof e&&0===Object.keys(e).length){var t,n=null!=(t=globalContext.document)&&t.querySelectorAll?globalContext.document.querySelectorAll.bind(globalContext.document):function(){return null};(e=function(t){var r=null;if("string"==typeof t?r=n(t):Array.isArray(t)?r=t:("object"==typeof HTMLElement&&t instanceof HTMLElement||1===(null==t?void 0:t.nodeType)&&"string"==typeof(null==t?void 0:t.nodeName))&&(r=[t]),r){if(e.fn)for(var o=0,i=Object.entries(e.fn);o<i.length;o++){var a=i[o],s=a[0],l=a[1];r[s]=l.bind(r)}return r.jquery="clientnode",r}return Tools.isFunction(t)&&globalContext.document&&globalContext.document.addEventListener("DOMContentLoaded",t),t}).fn={}}}return e.global||(e.global=globalContext),e.global.window&&(!e.document&&e.global.window.document&&(e.document=e.global.window.document),!e.location&&e.global.window.location&&(e.location=e.global.window.location)),e},$=determine$(),Lock=function(){function e(e){void 0===e&&(e={}),this.locks=void 0,this.locks=e}var t=e.prototype;return t.acquire=function(e,t,n){var r=this;return void 0===n&&(n=!1),new Promise((function(o){var i=function(e){var i,a;t&&(a=t(e));var s=function(t){return n&&r.release(e),o(t),t};return null!=(i=a)&&i.then?a.then(s):(s(e),a)};Object.prototype.hasOwnProperty.call(r.locks,e)?r.locks[e].push(i):(r.locks[e]=[],i(e))}))},t.release=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){var n;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,t)){e.next=9;break}if(void 0!==(n=this.locks[t].shift())){e.next=6;break}delete this.locks[t],e.next=9;break;case 6:return e.next=8,n(t);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),e}(),Semaphore=function(){function e(e){void 0===e&&(e=2),this.queue=[],this.numberOfResources=void 0,this.numberOfFreeResources=void 0,this.numberOfResources=e,this.numberOfFreeResources=e}var t=e.prototype;return t.acquire=function(){var e=this;return new Promise((function(t){e.numberOfFreeResources<=0?e.queue.push(t):(e.numberOfFreeResources-=1,t(e.numberOfFreeResources))}))},t.release=function(){var e=this.queue.pop();void 0===e?this.numberOfFreeResources+=1:e(this.numberOfFreeResources)},e}(),Tools=function(){function Tools(e){var t=this;this.$domNode=null,this.options=void 0,this.stringNormalizeDomNodeSelector=function(e){var n="";return t.options.domNodeSelectorPrefix&&(n=t.options.domNodeSelectorPrefix+" "),e.startsWith(n)||e.trim().startsWith("<")||(e=n+e),e.trim()},this.sendToExternalURL=function(e,n,r,o){void 0===r&&(r="post"),void 0===o&&(o=!0);var i=$("<iframe>").attr("name",t.options.name.charAt(0).toLowerCase()+t.options.name.substring(1)+""+(new Date).getTime()).hide();return t.$domNode&&t.$domNode.append(i),Tools.sendToIFrame(i,e,n,r,o),i},this._bindEventHelper=function(e,n,r){void 0===n&&(n=!1),r||(r=n?"off":"on");var o=$(e[0]);if("object"===Tools.determineType(e[1])&&!n){for(var i=0,a=Object.entries(e[1]);i<a.length;i++){var s=a[i],l=s[0],u=s[1];t[r](o,l,u)}return o}return 0===(e=Tools.arrayMake(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[r].apply(o,e)},e&&(this.$domNode=e),this.options=Tools._defaultOptions,$.global.console||($.global.console={});for(var n,r=_createForOfIteratorHelperLoose(ConsoleOutputMethods);!(n=r()).done;){var o=n.value;o in $.global.console||($.global.console[o]=Tools.noop)}}var _proto3=Tools.prototype,e;return _proto3.destructor=function(){var e;return null!=(e=$.fn)&&e.off&&this.off("*"),this},_proto3.initialize=function(e){return void 0===e&&(e={}),this.options=Tools.extend(!0,{},Tools._defaultOptions,e),this.options.domNodeSelectorPrefix=Tools.stringFormat(this.options.domNodeSelectorPrefix,Tools.stringCamelCaseToDelimited(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},Tools.controller=function(e,t,n){void 0===n&&(n=null),"function"==typeof e&&((e=new e(n))instanceof Tools||(e=Tools.extend(!0,new Tools,e)));var r,o=Tools.arrayMake(t);if(o.length&&"string"==typeof o[0]&&o[0]in e)return Tools.isFunction(e[o[0]])?(r=e)[o[0]].apply(r,o.slice(1)):e[o[0]];if(0===o.length||"object"==typeof o[0]){var i,a,s=(i=e).initialize.apply(i,o),l=e.options.name||e.constructor.name;return null!=(a=n)&&a.data&&!n.data(l)&&n.data(l,e),s}if(o.length&&"string"==typeof o[0])throw new Error('Method "'+o[0]+'" does not exist on $-extended dom node "'+e+'".')},Tools.dateTimeFormat=function(e,t,n,r){void 0===e&&(e="full"),void 0===t&&(t=new Date),void 0===n&&(n={}),void 0===r&&(r=Tools.locales),"number"==typeof t&&(t*=1e3);var o=new Date(t);if(["full","long","medium","short"].includes(e))return new Intl.DateTimeFormat([].concat(r,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:e,timeStyle:e},n)).format(o);for(var i,a={},s=_createForOfIteratorHelperLoose(["full","long","medium","short"]);!(i=s()).done;){var l=i.value;a[l+"Literals"]=[];var u=new Intl.DateTimeFormat([].concat(r,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:l,timeStyle:l},n));a[l]=u.format(o);for(var c,d=_createForOfIteratorHelperLoose(u.formatToParts(o));!(c=d()).done;){var f=c.value;"literal"===f.type?a[l+"Literals"].push(f.value):a[""+l+Tools.stringCapitalize(f.type)]=f.value}}var p=Tools.stringEvaluate("`"+e+"`",a);if(p.error)throw new Error(p.error);return p.result.replace(/\s/g," ")},Tools.isNumeric=function(e){var t=Tools.determineType(e);return["number","string"].includes(t)&&!isNaN(e-parseFloat(e))},Tools.isWindow=function(e){return![null,void 0].includes(e)&&"object"==typeof e&&e===(null==e?void 0:e.window)},Tools.isArrayLike=function(e){var t;try{t=Boolean(e)&&e.length}catch(e){return!1}var n=Tools.determineType(e);if("function"===n||Tools.isWindow(e))return!1;if("array"===n||0===t)return!0;if("number"==typeof t&&t>0)try{return e[t-1],!0}catch(e){}return!1},Tools.isAnyMatching=function(e,t){for(var n,r=_createForOfIteratorHelperLoose(t);!(n=r()).done;){var o=n.value;if("string"==typeof o){if(o===e)return!0}else if(o.test(e))return!0}return!1},Tools.isObject=function(e){return null!==e&&"object"==typeof e},Tools.isPlainObject=function(e){return null!==e&&"object"==typeof e&&Tools.plainObjectPrototypes.includes(Object.getPrototypeOf(e))},Tools.isSet=function(e){return"set"===Tools.determineType(e)},Tools.isMap=function(e){return"map"===Tools.determineType(e)},Tools.isProxy=function(e){return Boolean(e.__target__)},Tools.isFunction=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))},_proto3.log=function(e,t,n,r){if(void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r="info"),this.options.logging||t||["error","critical"].includes(r)){for(var o,i=arguments.length,a=new Array(i>4?i-4:0),s=4;s<i;s++)a[s-4]=arguments[s];if(n?o=e:"string"==typeof e?o=this.options.name+" ("+r+"): "+Tools.stringFormat.apply(Tools,[e].concat(a)):Tools.isNumeric(e)||"boolean"==typeof e?o=this.options.name+" ("+r+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,t,!0),this.log("'--------------------------------------------'")),o)if($.global.console&&r in $.global.console&&$.global.console[r]!==Tools.noop)$.global.console[r](o);else{var l;null!=(l=$.global.window)&&l.alert&&$.global.window.alert(o)}}},_proto3.info=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!1,!1,"info"].concat(n))},_proto3.debug=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!1,!1,"debug"].concat(n))},_proto3.error=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!0,!1,"error"].concat(n))},_proto3.critical=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!0,!1,"warn"].concat(n))},_proto3.warn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!1,!1,"warn"].concat(n))},Tools.show=function(e,t,n){void 0===t&&(t=3),void 0===n&&(n=0);var r="";if("object"===Tools.determineType(e)){for(var o=0,i=Object.entries(e);o<i.length;o++){var a=i[o],s=a[0],l=a[1];r+=s.toString()+": ",r+=n<=t?Tools.show(l,t,n+1):""+l,r+="\n"}return r.trim()}return(r=(""+e).trim())+' (Type: "'+Tools.determineType(e)+'")'},Tools.deleteCookie=function(e){$.document&&($.document.cookie=e+"=; Max-Age=-99999999;")},Tools.getCookie=function(e){if($.document){for(var t,n=e+"=",r=_createForOfIteratorHelperLoose(decodeURIComponent($.document.cookie).split(";"));!(t=r()).done;){for(var o=t.value;o.startsWith(" ");)o=o.substring(1);if(o.startsWith(n))return o.substring(n.length,o.length)}return""}return null},Tools.setCookie=function(e,t,n){if(void 0===n&&(n={}),$.document){var r,o=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({domain:"",httpOnly:!1,minimal:!1,numberOfDaysUntilExpiration:365,path:"/",sameSite:"Lax",secure:!0},n),i=new Date;i.setTime(i.getTime()+24*o.numberOfDaysUntilExpiration*60*60*1e3),""===o.domain&&null!=(r=$.location)&&r.hostname&&(o.domain=$.location.hostname);var a=e+"="+t+(o.minimal?"":';Expires="'+i.toUTCString()+";Path="+o.path+";Domain="+o.domain+(o.sameSite?";SameSite="+o.sameSite:"")+(o.secure?";Secure":"")+(o.httpOnly?";HttpOnly":""));return $.document.cookie=a,!0}return!1},Tools.isEquivalentDOM=function(e,t,n){if(void 0===n&&(n=!1),e===t)return!0;if(e&&t){for(var r=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:t},i={first:$("<dummy>"),second:$("<dummy>")},a=0,s=Object.entries(o);a<s.length;a++){var l=s[a],u=l[0],c=l[1];if("string"==typeof c&&(n||c.startsWith("<")&&c.endsWith(">")&&c.length>=3||r.test(c)))i[u]=$("<div>"+c+"</div>");else try{var d=$(c).clone();if(!d.length)return!1;i[u]=$("<div>").append(d)}catch(e){return!1}}if(i.first.length&&i.first.length===i.second.length){i.first=i.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,i.second=i.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var f=0,p=0,h=i.first;p<h.length;p++){if(!h[p].isEqualNode(i.second[f]))return!1;f+=1}return!0}}return!1},_proto3.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var t=Tools.extend({bottom:0,left:0,right:0,top:0},e),n=this.$domNode;if($.global.window&&null!=n&&n.length&&n[0]&&"getBoundingClientRect"in n[0]){var r=$($.global.window),o=n[0].getBoundingClientRect();if(o){if(o.top&&o.top+t.top<0)return"above";if(o.left+t.left<0)return"left";var i=r.height();if("number"==typeof i&&i<o.bottom+t.bottom)return"below";var a=r.width();if("number"==typeof a&&a<o.right+t.right)return"right"}}return"in"},Tools.generateDirectiveSelector=function(e){var t=Tools.stringCamelCaseToDelimited(e);return t+", ."+t+", ["+t+"], [data-"+t+"], [x-"+t+"]"+(t.includes("-")?", ["+t.replace(/-/g,"\\:")+"], ["+t.replace(/-/g,"_")+"]":"")},_proto3.removeDirective=function(e){if(null===this.$domNode)return null;var t=Tools.stringCamelCaseToDelimited(e);return this.$domNode.removeClass(t).removeAttr(t).removeAttr("data-"+t).removeAttr("x-"+t).removeAttr(t.replace("-",":")).removeAttr(t.replace("-","_"))},_proto3.renderJavaScriptDependentVisibility=function(){!Tools._javaScriptDependentContentHandled&&$.document&&"filter"in $&&"hide"in $&&"show"in $&&($(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),$(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),Tools._javaScriptDependentContentHandled=!0)},Tools.getNormalizedDirectiveName=function(e){for(var t,n=_createForOfIteratorHelperLoose(["-",":","_"]);!(t=n()).done;){for(var r,o=t.value,i=!1,a=_createForOfIteratorHelperLoose(["data"+o,"x"+o]);!(r=a()).done;){var s=r.value;if(e.startsWith(s)){e=e.substring(s.length),i=!0;break}}if(i)break}for(var l,u=_createForOfIteratorHelperLoose(["-",":","_"]);!(l=u()).done;){var c=l.value;e=Tools.stringDelimitedToCamelCase(e,c)}return e},_proto3.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var t=Tools.stringCamelCaseToDelimited(e),n=0,r=[t,"data-"+t,"x-"+t,t.replace("-","\\:")];n<r.length;n++){var o=r[n],i=this.$domNode.attr(o);if("string"==typeof i)return i}return null},_proto3.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},Tools.getDomNodeName=function(e){var t=/^<?([a-zA-Z]+).*>?.*/.exec(e);return t?t[1]:null},_proto3.grabDomNodes=function(e,t){var n=this,r={};if(e)if(t)for(var o=$(t),i=0,a=Object.entries(e);i<a.length;i++){var s=a[i],l=s[0],u=s[1];r[l]=o.find(u)}else for(var c=0,d=Object.entries(e);c<d.length;c++){var f=d[c],p=f[0],h=f[1],m=/, */.exec(h);m&&(e[p]+=h.split(m[0]).map((function(e){return", "+n.stringNormalizeDomNodeSelector(e)})).join("")),r[p]=$(this.stringNormalizeDomNodeSelector(e[p]))}return this.options.domNodeSelectorPrefix&&(r.parent=$(this.options.domNodeSelectorPrefix)),$.global.window&&(r.window=$($.global.window),$.document&&(r.document=$($.document))),r},Tools.isolateScope=function(e,t){for(var n in void 0===t&&(t=[]),e)t.includes(n.charAt(0))||["constructor","prototype","this"].includes(n)||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=void 0);return e},Tools.determineUniqueScopeName=function(e,t,n,r){if(void 0===e&&(e="callback"),void 0===t&&(t=""),void 0===n&&(n=$.global),void 0===r&&(r=""),r.length&&!(r in n))return r;for(var o=e+t;(o=e+""+Math.round(Math.random()*Math.pow(10,10))+t)in n;);return o},Tools.getParameterNames=function(e){var t=("string"==typeof e?e:e.toString()).replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,"");if(t.startsWith("class"))return Tools.getParameterNames("function "+t.replace(/.*(constructor\([^)]+\))/m,"$1"));var n=/^function\s*[^(]*\(\s*([^)]*)\)/m.exec(t);null===n&&(n=/^[^(]*\(\s*([^)]*)\) *=>.*/m.exec(t)),null===n&&(n=/([^= ]+) *=>.*/m.exec(t));var r=[];if(n&&n.length>1&&n[1].trim().length){for(var o,i=_createForOfIteratorHelperLoose(n[1].split(","));!(o=i()).done;){var a=o.value;r.push(a.replace(/=.+$/g,"").trim())}return r}return r},Tools.identity=function(e){return e},Tools.invertArrayFilter=function(e){return function(t){if(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=e.apply(void 0,[t].concat(r)),a=[];if(i.length)for(var s,l=_createForOfIteratorHelperLoose(t);!(s=l()).done;){var u=s.value;i.includes(u)||a.push(u)}else a=t;return a}return t}},Tools.timeout=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,o,i=Tools.noop,a=0,s=!1,l=0,u=t;l<u.length;l++){var c=u[l];"number"!=typeof c||isNaN(c)?"boolean"==typeof c?s=c:Tools.isFunction(c)&&(i=c):a=c}var d=new Promise((function(e,t){r=t,o=e})),f=function(){var e;(e=i).call.apply(e,[d].concat(t)),o(!1)},p=2147483647;if(a<=p)d.timeoutID=setTimeout(f,a);else{var h=Math.floor(a/p),m=a%p;!function e(){h>0?(h-=1,d.timeoutID=setTimeout(e,p)):d.timeoutID=setTimeout(f,m)}()}return d.clear=function(){d.timeoutID&&(clearTimeout(d.timeoutID),(s?r:o)(!0))},d},Tools.debounce=function(e,t){void 0===t&&(t=600);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,s=!1,l=null,u=new Promise((function(e,t){i=e,a=t}));return function(){for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];if(o=o.concat(r||[]),s)return l=o,u;s=!0;var d=u,f=i,p=a,h=e.apply(void 0,o);return null!=h&&h.then?h.then((function(e){return f(e)}),(function(e){return p(e)})):f(h),u=new Promise((function(n,r){i=n,a=r,Tools.timeout(t,(function(){if(s=!1,l){var t=e.apply(void 0,l);l=null,null!=t&&t.then?t.then((function(e){return n(e)}),(function(e){return r(e)})):n(t),u=new Promise((function(e,t){i=e,a=t}))}}))})),d}},_proto3.fireEvent=function(e,t,n){var r;void 0===t&&(t=!1),void 0===n&&(n=this);for(var o="on"+Tools.stringCapitalize(e),i=n,a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];return t||(o in i?i[o].apply(i,s):"_"+o in i&&i["_"+o].apply(i,s)),!i.options||!(o in i.options)||i.options[o]===Tools.noop||(r=i.options[o]).call.apply(r,[this].concat(s))},_proto3.on=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._bindEventHelper(t,!1)},_proto3.off=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._bindEventHelper(t,!0)},Tools.addDynamicGetterAndSetter=function(e,t,n,r,o,i){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r={}),void 0===o&&(o=!0),void 0===i&&(i=[Object]),o&&"object"==typeof e)if(Array.isArray(e))for(var a,s=0,l=_createForOfIteratorHelperLoose(e);!(a=l()).done;){var u=a.value;e[s]=Tools.addDynamicGetterAndSetter(u,t,n,r,o),s+=1}else if(Tools.isMap(e))for(var c,d=_createForOfIteratorHelperLoose(e);!(c=d()).done;){var f=c.value,p=f[0],h=f[1];e.set(p,Tools.addDynamicGetterAndSetter(h,t,n,r,o))}else if(Tools.isSet(e)){for(var m,v=[],_=_createForOfIteratorHelperLoose(e);!(m=_()).done;){var g=m.value;e.delete(g),v.push(Tools.addDynamicGetterAndSetter(g,t,n,r,o))}for(var y=0,b=v;y<b.length;y++){var E=b[y];e.add(E)}}else if(null!==e)for(var x=0,C=Object.entries(e);x<C.length;x++){var T=C[x],I=T[0],S=T[1];e[I]=Tools.addDynamicGetterAndSetter(S,t,n,r,o)}if(t||n)for(var A,O,w=function(){var o=O.value;if(null!==e&&"object"==typeof e&&e instanceof o){var i=Tools.getProxyHandler(e,r),a=Tools.getProxyHandler(e,r);t&&(a.get=function(n,r){return"__target__"===r?e:"__revoke__"===r?function(){return u(),e}:"function"==typeof e[r]?e[r]:t(i.get(l,r),r,e)}),n&&(a.set=function(t,r,o){return i.set(l,r,n(r,o,e))});var s=Proxy.revocable({},a),l=s.proxy,u=s.revoke;return{v:l}}},L=_createForOfIteratorHelperLoose(i);!(O=L()).done;)if(A=w())return A.v;return e},Tools.convertCircularObjectToJSON=function(e,t,n){void 0===t&&(t=function(e){return null!=e?e:"__circularReference__"}),void 0===n&&(n=0);var r=new Map;return function(e){return JSON.stringify(e,(function e(n,o){if(null!==o&&"object"==typeof o){var i,a;if(r.has(o))return t(null!==(i=r.get(o))&&void 0!==i?i:null,n,o,r);if(r.set(o,null),Array.isArray(o)){a=[];for(var s,l=_createForOfIteratorHelperLoose(o);!(s=l()).done;){var u=s.value;a.push(e(null,u))}}else{a={};for(var c=0,d=Object.entries(o);c<d.length;c++){var f=d[c],p=f[0],h=f[1];a[p]=e(p,h)}}return r.set(o,a),a}return o}),n)}(e)},Tools.convertMapToPlainObject=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isMap(e)){for(var n,r={},o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value,a=i[0],s=i[1];t&&(s=Tools.convertMapToPlainObject(s,t)),["number","string"].includes(typeof a)&&(r[""+a]=s)}return r}if(t)if(Tools.isPlainObject(e))for(var l=0,u=Object.entries(e);l<u.length;l++){var c=u[l],d=c[0],f=c[1];e[d]=Tools.convertMapToPlainObject(f,t)}else if(Array.isArray(e))for(var p=0,h=0,m=e;h<m.length;h++){var v=m[h];e[p]=Tools.convertMapToPlainObject(v,t),p+=1}else if(Tools.isSet(e)){for(var _,g=[],y=_createForOfIteratorHelperLoose(e);!(_=y()).done;){var b=_.value;e.delete(b),g.push(Tools.convertMapToPlainObject(b,t))}for(var E=0,x=g;E<x.length;E++){var C=x[E];e.add(C)}}}return e},Tools.convertPlainObjectToMap=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isPlainObject(e)){for(var n=new Map,r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];t&&(e[a]=Tools.convertPlainObjectToMap(s,t)),n.set(a,e[a])}return n}if(t)if(Array.isArray(e))for(var l=0,u=0,c=e;u<c.length;u++){var d=c[u];e[l]=Tools.convertPlainObjectToMap(d,t),l+=1}else if(Tools.isMap(e))for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,m=h[0],v=h[1];e.set(m,Tools.convertPlainObjectToMap(v,t))}else if(Tools.isSet(e)){for(var _,g=[],y=_createForOfIteratorHelperLoose(e);!(_=y()).done;){var b=_.value;e.delete(b),g.push(Tools.convertPlainObjectToMap(b,t))}for(var E=0,x=g;E<x.length;E++){var C=x[E];e.add(C)}}}return e},Tools.convertSubstringInPlainObject=function(e,t,n){for(var r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];Tools.isPlainObject(s)?e[a]=Tools.convertSubstringInPlainObject(s,t,n):"string"==typeof s&&(e[a]=s.replace(t,n))}return e},Tools.copy=function(e,t,n,r,o,i,a){if(void 0===t&&(t=-1),void 0===n&&(n=ValueCopySymbol),void 0===r&&(r=null),void 0===o&&(o=!1),void 0===i&&(i=[]),void 0===a&&(a=0),null!==e&&"object"==typeof e)if(r){if(e===r)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var s=i.indexOf(e);if(-1!==s)return i[s];i.push(e)}var l=function(e){if(-1!==t&&t<a+1)return n===ValueCopySymbol?e:n;var r=Tools.copy(e,t,n,null,o,i,a+1);return o||[void 0,null].includes(e)||"object"!=typeof e||i.push(e),r};if(Array.isArray(e))for(var u,c=_createForOfIteratorHelperLoose(e);!(u=c()).done;){var d=u.value;r.push(l(d))}else if(e instanceof Map)for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,m=h[0],v=h[1];r.set(m,l(v))}else if(e instanceof Set)for(var _,g=_createForOfIteratorHelperLoose(e);!(_=g()).done;){var y=_.value;r.add(l(y))}else for(var b=0,E=Object.entries(e);b<E.length;b++){var x=E[b],C=x[0],T=x[1];try{r[C]=l(T)}catch(e){throw new Error('Failed to copy property value object "'+C+'": '+Tools.represent(e))}}}else if(e){if(Array.isArray(e))return Tools.copy(e,t,n,[],o,i,a);if(e instanceof Map)return Tools.copy(e,t,n,new Map,o,i,a);if(e instanceof Set)return Tools.copy(e,t,n,new Set,o,i,a);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var I=/[^/]*$/.exec(e.toString());return(r=new RegExp(e.source,I?I[0]:void 0)).lastIndex=e.lastIndex,r}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):Tools.copy(e,t,n,{},o,i,a)}return r||e},Tools.determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var t=typeof e;if(["function","object"].includes(t)&&e.toString){var n=Tools.classToTypeMapping.toString.call(e);if(Object.prototype.hasOwnProperty.call(Tools.classToTypeMapping,n))return Tools.classToTypeMapping[n]}return t},Tools.equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&Tools.isFunction(firstValue)&&Tools.isFunction(secondValue)||firstValue===secondValue||Tools.numberIsNotANumber(firstValue)&&Tools.numberIsNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&eval("Buffer").isBuffer&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var t=[],n=0,r=[firstValue,secondValue];n<r.length;n++){var o=r[n],i=new FileReader;i.onload=function(n){null===n.target?t.push(null):t.push(n.target.result),2===t.length&&(t[0]===t[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+Tools.represent(t[0])+") !== Blob("+Tools.represent(t[1])+")"))},i.readAsDataURL(o)}}));if(Tools.isPlainObject(firstValue)&&Tools.isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||Tools.determineType(firstValue)===Tools.determineType(secondValue)&&["map","set"].includes(Tools.determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i22=0,_arr6=[[firstValue,secondValue],[secondValue,firstValue]];_i22<_arr6.length;_i22++){var _arr6$_i=_arr6[_i22],first=_arr6$_i[0],second=_arr6$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=Tools.isMap(first);if(firstIsMap&&(!Tools.isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=Tools.isSet(first);if(firstIsSet&&(!Tools.isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr7[_i23];if(0!==options.deep){var t=Tools.equals(e,second[index],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!t)return{v:!1};var n=index,r=function(e){var t;return"string"==typeof e?"["+n+"]"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=t&&t.then&&promises.push(t.then(r)),"string"==typeof t)return{v:r(t)}}index+=1},_ret2,_i23=0,_arr7=first;_i23<_arr7.length;_i23++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step23.value,t=e[0],n=e[1];if(0!==options.deep){var r=Tools.equals(n,second.get(t),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!r)return{v:!1};var o=function(e){var n;return"string"==typeof e?"get("+Tools.represent(t)+")"+(null!==(n={"[":"",">":" "}[e[0]])&&void 0!==n?n:".")+e:e};if(null!=r&&r.then&&promises.push(r.then(o)),"string"==typeof r)return{v:o(r)}}},_ret3,_iterator23=_createForOfIteratorHelperLoose(first),_step23;!(_step23=_iterator23()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step24.value;if(0!==options.deep){for(var t,n=!1,r=[],o=_createForOfIteratorHelperLoose(second);!(t=o()).done;){var i=t.value,a=Tools.equals(e,i,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if("boolean"==typeof a){if(a){n=!0;break}}else r.push(a)}var s=function(t){return!!t||!!options.returnReasonIfNotEqual&&">>> {-> "+Tools.represent(e)+" not found}"};return n?0:(r.length&&promises.push(new Promise((function(e){Promise.all(r).then((function(t){return e(s(t.some(Tools.identity)))}),Tools.noop)}))),{v:s(!1)})}},_ret4,_iterator24=_createForOfIteratorHelperLoose(first),_step24;!(_step24=_iterator24()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries13[_i24],t=e[0],n=e[1];if(options.properties&&!options.properties.includes(t))return 0;for(var r,o=!1,i=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(r=i()).done;){var a=r.value;if(t.toString().startsWith(a)){o=!0;break}}if(o)return 0;if(0!==options.deep){var s=Tools.equals(n,second[t],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!s)return{v:!1};var l=function(e){var n;return"string"==typeof e?t+(null!==(n={"[":"",">":" "}[e[0]])&&void 0!==n?n:".")+e:e};if(null!=s&&s.then&&promises.push(s.then(l)),"string"==typeof s)return{v:l(s)}}},_ret5,_i24=0,_Object$entries13=Object.entries(first);_i24<_Object$entries13.length&&(_ret5=_loop5(),0!==_ret5);_i24++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(t){for(var n,r=_createForOfIteratorHelperLoose(t);!(n=r()).done;){var o=n.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),Tools.noop)}))}return!!options.returnReasonIfNotEqual&&">>> "+Tools.represent(firstValue)+" !== "+Tools.represent(secondValue)},Tools.evaluateDynamicData=function(e,t,n,r,o){if(void 0===t&&(t={}),void 0===n&&(n="self"),void 0===r&&(r="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;n in t||(t[n]=e);var i=function(e,n){void 0===n&&(n=r);var i=Tools.stringEvaluate(e,t,n===o);if(i.error)throw new Error(i.error);return i.result},a=function e(t){if(null!==t&&"object"==typeof t){if(Tools.isProxy(t)){for(var n=0,a=[r,o];n<a.length;n++){var s=a[n];if(Object.prototype.hasOwnProperty.call(t,s))return t[s]}t=t.__target__}for(var l=0,u=Object.entries(t);l<u.length;l++){var c=u[l],d=c[0],f=c[1];if([r,o].includes(d))return"undefined"==typeof Proxy?e(i(f)):f;t[d]=e(f)}}return t};if(t.resolve=a,null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,r))return i(e[r]);if(Object.prototype.hasOwnProperty.call(e,o))return i(e[o],o)}return function e(t){if(null!==t&&"object"==typeof t)for(var n=0,r=Object.entries(t);n<r.length;n++){var o=r[n],i=o[0],a=o[1];if("__target__"!==i&&null!==a&&["function","undefined"].includes(typeof a)){var s=a.__target__;void 0!==s&&(t[i]=s),e(a)}}return t}(a(function e(t){if("object"!=typeof t||null===t||"undefined"==typeof Proxy)return t;for(var n=0,s=Object.entries(t);n<s.length;n++){var l=s[n],u=l[0],c=l[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var d=c;if(e(d),Object.prototype.hasOwnProperty.call(d,r)||Object.prototype.hasOwnProperty.call(d,o)){var f=d;t[u]=new Proxy(d,{get:function(e,t){if("__target__"===t)return e;if("hasOwnProperty"===t)return e[t];for(var n=0,s=[r,o];n<s.length;n++){var l=s[n];if(t===l&&"string"==typeof e[t])return a(i(e[t],l))}var u=a(e);if("toString"===t){var c=i(u);return c[t].bind(c)}if("string"!=typeof t){var d,f=i(u);return null!=(d=f[t])&&d.bind?f[t].bind(f):f[t]}for(var p=0,h=[r,o];p<h.length;p++){var m=h[p];if(Object.prototype.hasOwnProperty.call(e,m))return i(u,m)[t]}return u[t]},ownKeys:function(e){for(var t=0,n=[r,o];t<n.length;t++){var s=n[t];if(Object.prototype.hasOwnProperty.call(e,s))return Object.getOwnPropertyNames(a(i(e[s],s)))}return Object.getOwnPropertyNames(e)}}),t[u].__target__||(t[u].__target__=f)}}}return t}(e)))},Tools.removeKeysInEvaluation=function(e,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0],a=o[1];!t.includes(i)&&t.some((function(t){return Object.prototype.hasOwnProperty.call(e,t)}))?delete e[i]:Tools.isPlainObject(a)&&Tools.removeKeysInEvaluation(a,t)}return e},Tools.extend=function(e,t){for(var n=!1,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a,s=o;e===IgnoreNullAndUndefinedSymbol||"boolean"==typeof e?(n=e,a=t):(a=e,null!==t&&"object"==typeof t?s=[t].concat(s):void 0!==t&&(a=t));for(var l,u=function(e,t){return t===e?e:n&&t&&(Tools.isPlainObject(t)||Tools.isMap(t))?(r=Tools.isMap(t)?e&&Tools.isMap(e)?e:new Map:e&&Tools.isPlainObject(e)?e:{},Tools.extend(n,r,t)):t;var r},c=_createForOfIteratorHelperLoose(s);!(l=c()).done;){var d=l.value,f=typeof a,p=typeof d;if(Tools.isMap(a)&&(f+=" Map"),Tools.isMap(d)&&(p+=" Map"),f===p&&a!==d)if(Tools.isMap(a)&&Tools.isMap(d))for(var h,m=_createForOfIteratorHelperLoose(d);!(h=m()).done;){var v=h.value,_=v[0],g=v[1];a.set(_,u(a.get(_),g))}else if(null===a||Array.isArray(a)||"object"!=typeof a||null===d||Array.isArray(d)||"object"!=typeof d)a=d;else for(var y=0,b=Object.entries(d);y<b.length;y++){var E=b[y],x=E[0],C=E[1];n===IgnoreNullAndUndefinedSymbol&&[null,void 0].includes(C)||(a[x]=u(a[x],C))}else a=d}return a},Tools.getSubstructure=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=".");for(var o,i=[],a=_createForOfIteratorHelperLoose([].concat(t));!(o=a()).done;){var s=o.value;if("string"==typeof s)for(var l,u=_createForOfIteratorHelperLoose(s.split(r));!(l=u()).done;){var c=l.value;if(c){var d=c.match(/(.*?)(\[[0-9]+\])/g);if(d)for(var f,p=_createForOfIteratorHelperLoose(d);!(f=p()).done;){var h=f.value,m=/(.*?)(\[[0-9]+\])/.exec(h),v=m[1],_=m[2];v&&i.push(v),i.push(_.substring(1,_.length-1))}else i.push(c)}}else i=i.concat(s)}for(var g,y=e,b=_createForOfIteratorHelperLoose(i);!(g=b()).done;){var E=g.value;if(null!==y&&"object"==typeof y){if("string"==typeof E&&Object.prototype.hasOwnProperty.call(y,E))y=y[E];else if(Tools.isFunction(E))y=E(y);else if(!n)return}else if(!n)return}return y},Tools.getProxyHandler=function(e,t){return void 0===t&&(t={}),t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({delete:"[]",get:"[]",has:"[]",set:"[]"},t),{deleteProperty:function(n,r){return"[]"!==t.delete||"string"!=typeof r?e[t.delete](r):(delete e[r],!0)},get:function(n,r){return"[]"===t.get&&"string"==typeof r?e[r]:e[t.get](r)},has:function(n,r){return"[]"===t.has?r in e:e[t.has](r)},set:function(n,r,o){return"[]"!==t.set||"string"!=typeof r?e[t.set](r,o):(e[r]=o,!0)}}},Tools.mask=function(e,t){if(!0===(t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({exclude:!1,include:!0},t)).exclude||!1===t.include||"object"!=typeof e)return{};var n={};if(Tools.isPlainObject(t.include))for(var r=0,o=Object.entries(t.include);r<o.length;r++){var i=o[r],a=i[0],s=i[1];Object.prototype.hasOwnProperty.call(e,a)&&(!0===s?n[a]=e[a]:Tools.isPlainObject(s)&&"object"==typeof e[a]&&(n[a]=Tools.mask(e[a],{include:s})))}else n=e;if(Tools.isPlainObject(t.exclude)){for(var l=!1,u=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},n),c=0,d=Object.entries(t.exclude);c<d.length;c++){var f=d[c],p=f[0],h=f[1];if(Object.prototype.hasOwnProperty.call(u,p))if(!0===h)l=!0,delete u[p];else if(Tools.isPlainObject(h)&&"object"==typeof u[p]){var m=u[p];u[p]=Tools.mask(u[p],{exclude:h}),u[p]!==m&&(l=!0)}}l&&(n=u)}return n},Tools.modifyObject=function(e,t,n,r,o,i,a,s,l){if(void 0===n&&(n="__remove__"),void 0===r&&(r="__prepend__"),void 0===o&&(o="__append__"),void 0===i&&(i="__"),void 0===a&&(a="__"),void 0===s&&(s=null),void 0===l&&(l=null),Tools.isMap(t)&&Tools.isMap(e))for(var u,c=_createForOfIteratorHelperLoose(t);!(u=c()).done;){var d=u.value,f=d[0],p=d[1];e.has(f)&&Tools.modifyObject(e.get(f),p,n,r,o,i,a,t,f)}else if(null!==t&&"object"==typeof t&&null!==e&&"object"==typeof e)for(var h=0,m=Object.entries(t);h<m.length;h++){var v=m[h],_=v[0],g=v[1],y=NaN;if(Array.isArray(e)&&_.startsWith(i)&&_.endsWith(a)&&((y=parseInt(_.substring(i.length,_.length-a.length),10))<0||y>=e.length)&&(y=NaN),[n,r,o].includes(_)||!isNaN(y)){if(Array.isArray(e))if(_===n)for(var b,E=_createForOfIteratorHelperLoose([].concat(g));!(b=E()).done;){var x=b.value;"string"==typeof x&&x.startsWith(i)&&x.endsWith(a)?e.splice(parseInt(x.substring(i.length,x.length-a.length),10),1):e.includes(x)?e.splice(e.indexOf(x),1):"number"==typeof x&&x<e.length&&e.splice(x,1)}else _===o?e=e.concat(g):_===r?e=[].concat(g).concat(e):null!==e[y]&&"object"==typeof e[y]&&null!==g&&"object"==typeof g?Tools.extend(!0,Tools.modifyObject(e[y],g,n,r,o,i,a),e[y],g):e[y]=g;else if(_===n)for(var C,T=_createForOfIteratorHelperLoose([].concat(g));!(C=T()).done;){var I=C.value;"string"==typeof I&&Object.prototype.hasOwnProperty.call(e,I)&&delete e[I]}delete t[_],s&&"string"==typeof l&&delete s[l]}else null!==e&&Object.prototype.hasOwnProperty.call(e,_)&&(e[_]=Tools.modifyObject(e[_],g,n,r,o,i,a,t,_))}return e},Tools.normalizeDateTime=function(e,t){void 0===e&&(e=null);var n=Boolean(t);if(null===e)return new Date;if("string"==typeof e){if(/^.*(?:(?:[0-9]{1,4}[^0-9]){2}|[0-9]{1,4}[^0-9.]).*$/.test(e))return Tools.stringInterpretDateTime(e,n);var r=parseFloat(e);""+r===e&&(e=r)}if("number"==typeof e)return[null,void 0].includes(t)&&(n=!0),new Date(1e3*(e+(n?0:60*(new Date).getTimezoneOffset())));var o=new Date(e);return isNaN(o.getDate())?null:o},Tools.removeKeyPrefixes=function(e,t){void 0===t&&(t="#");var n=[].concat(t);if(Array.isArray(e))for(var r,o=0,i=_createForOfIteratorHelperLoose(e.slice());!(r=i()).done;){var a=r.value,s=!1;if("string"==typeof a){for(var l,u=_createForOfIteratorHelperLoose(n);!(l=u()).done;){var c=l.value;if(a.startsWith(c+":")){e.splice(o,1),s=!0;break}}if(s)continue}e[o]=Tools.removeKeyPrefixes(a,n),o+=1}else if(Tools.isSet(e))for(var d,f=_createForOfIteratorHelperLoose(new Set(e));!(d=f()).done;){var p=d.value,h=!1;if("string"==typeof p){for(var m,v=_createForOfIteratorHelperLoose(n);!(m=v()).done;){var _=m.value;if(p.startsWith(_+":")){e.delete(p),h=!0;break}}if(h)continue}Tools.removeKeyPrefixes(p,n)}else if(Tools.isMap(e))for(var g,y=_createForOfIteratorHelperLoose(new Map(e));!(g=y()).done;){var b=g.value,E=b[0],x=b[1],C=!1;if("string"==typeof E){for(var T,I=_createForOfIteratorHelperLoose(n);!(T=I()).done;){var S=T.value,A=Tools.stringEscapeRegularExpressions(S);if(new RegExp("^"+A+"[0-9]*$").test(E)){e.delete(E),C=!0;break}}if(C)continue}e.set(E,Tools.removeKeyPrefixes(x,n))}else if(null!==e&&"object"==typeof e)for(var O=0,w=Object.entries(Object.assign({},e));O<w.length;O++){for(var L,P=w[O],N=P[0],k=P[1],R=!1,D=_createForOfIteratorHelperLoose(n);!(L=D()).done;){var M=L.value,F=Tools.stringEscapeRegularExpressions(M);if(new RegExp("^"+F+"[0-9]*$").test(N)){delete e[N],R=!0;break}}R||(e[N]=Tools.removeKeyPrefixes(k,n))}return e},Tools.represent=function(e,t,n,r,o){if(void 0===t&&(t=" "),void 0===n&&(n=""),void 0===r&&(r="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return""+r;if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+n)+'"';if(Tools.isNumeric(e)||"boolean"==typeof e)return""+e;if(Array.isArray(e)){for(var i,a="[",s=!1,l=_createForOfIteratorHelperLoose(e);!(i=l()).done;){var u=i.value;s&&(a+=","),a+="\n"+n+t+Tools.represent(u,t,""+n+t,r,o-1),s=!0}return s&&(a+="\n"+n),a+"]"}if(Tools.isMap(e)){for(var c,d="",f=!1,p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var h=c.value,m=h[0],v=h[1];f&&(d+=",\n"+n+t),d+=Tools.represent(m,t,""+n+t,r,o-1)+" -> "+Tools.represent(v,t,""+n+t,r,o-1),f=!0}return f||(d="EmptyMap"),d}if(Tools.isSet(e)){for(var _,g="{",y=!1,b=_createForOfIteratorHelperLoose(e);!(_=b()).done;){var E=_.value;y&&(g+=","),g+="\n"+n+t+Tools.represent(E,t,""+n+t,r,o-1),y=!0}return y?g+="\n"+n+"}":g="EmptySet",g}if(Tools.isFunction(e))return"__function__";for(var x,C="{",T=!1,I=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(x=I()).done;){var S=x.value;T&&(C+=","),C+="\n"+n+t+S+": "+Tools.represent(e[S],t,""+n+t,r,o-1),T=!0}return T&&(C+="\n"+n),C+"}"},Tools.sort=function(e){var t=[];if(Array.isArray(e))for(var n=0;n<e.length;n++)t.push(n);else if("object"==typeof e)if(Tools.isMap(e))for(var r,o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var i=r.value;t.push(i[0])}else if(null!==e)for(var a=0,s=Object.keys(e);a<s.length;a++){var l=s[a];t.push(l)}return t.sort()},Tools.unwrapProxy=function(e,t){if(void 0===t&&(t=new Set),null!==e&&"object"==typeof e){if(t.has(e))return e;try{Tools.isFunction(e.__revoke__)&&(Tools.isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(t){return e}finally{t.add(e)}if(Array.isArray(e))for(var n,r=0,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value;e[r]=Tools.unwrapProxy(i,t),r+=1}else if(Tools.isMap(e))for(var a,s=_createForOfIteratorHelperLoose(e);!(a=s()).done;){var l=a.value,u=l[0],c=l[1];e.set(u,Tools.unwrapProxy(c,t))}else if(Tools.isSet(e)){for(var d,f=[],p=_createForOfIteratorHelperLoose(e);!(d=p()).done;){var h=d.value;e.delete(h),f.push(Tools.unwrapProxy(h,t))}for(var m=0,v=f;m<v.length;m++){var _=v[m];e.add(_)}}else for(var g=0,y=Object.entries(e);g<y.length;g++){var b=y[g],E=b[0],x=b[1];e[E]=Tools.unwrapProxy(x,t)}}return e},Tools.arrayAggregatePropertyIfEqual=function(e,t,n){void 0===n&&(n="");var r=n;if(Array.isArray(e)&&e.length&&Object.prototype.hasOwnProperty.call(e[0],t)){r=e[0][t];for(var o,i=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(o=i()).done;)if(o.value[t]!==r)return n}return r},Tools.arrayDeleteEmptyItems=function(e,t){void 0===t&&(t=[]);for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){for(var i=n.value,a=!0,s=0,l=Object.entries(i);s<l.length;s++){var u=l[s],c=u[0],d=u[1];if(!["",null,void 0].includes(d)&&(!t.length||Tools.arrayMake(t).includes(c))){a=!1;break}}a||r.push(i)}return r},Tools.arrayExtract=function(e,t){for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){for(var i,a=n.value,s={},l=_createForOfIteratorHelperLoose(Tools.arrayMake(t));!(i=l()).done;){var u=i.value;Object.prototype.hasOwnProperty.call(a,u)&&(s[u]=a[u])}r.push(s)}return r},Tools.arrayExtractIfMatches=function(e,t){if(!t)return Tools.arrayMake(e);for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){var i=n.value;("string"==typeof t?new RegExp(t):t).test(i)&&r.push(i)}return r},Tools.arrayExtractIfPropertyExists=function(e,t){if(e&&t){for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){for(var i=n.value,a=!1,s=0,l=Object.entries(i);s<l.length;s++){var u=l[s],c=u[0],d=u[1];if(c===t&&![null,void 0].includes(d)){a=!0;break}}a&&r.push(i)}return r}return e},Tools.arrayExtractIfPropertyMatches=function(e,t){if(e&&t){for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){var i=n.value,a=!0;for(var s in t)if(!t[s]||!("string"==typeof t[s]?new RegExp(t[s]):t[s]).test(i[s])){a=!1;break}a&&r.push(i)}return r}return e},Tools.arrayIntersect=function(e,t,n,r){void 0===n&&(n=[]),void 0===r&&(r=!0);var o=[];t=Tools.arrayMake(t);for(var i,a=function(e,t,n,o,i,a){if(a?i&&(n=o):o=n,t[o]!==e[n]&&(r||![null,void 0].includes(t[o])||![null,void 0].includes(e[n])))return!1},s=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(i=s()).done;){var l=i.value;if(Tools.isPlainObject(l))for(var u=0,c=t;u<c.length;u++){var d=c[u],f=!0,p=void 0,h=Array.isArray(n);if(Tools.isPlainObject(n)||h&&n.length?p=!0:(p=!1,n=l),Array.isArray(n))for(var m,v=0,_=_createForOfIteratorHelperLoose(n);!(m=_()).done;){if(!1===a(l,d,v,m.value,h,p)){f=!1;break}v+=1}else for(var g=0,y=Object.entries(n);g<y.length;g++){var b=y[g];if(!1===a(l,d,b[0],b[1],h,p)){f=!1;break}}if(f){o.push(l);break}}else t.includes(l)&&o.push(l)}return o},Tools.arrayMake=function(e){var t=[];return[null,void 0].includes(e)||(Tools.isArrayLike(Object(e))?Tools.arrayMerge(t,"string"==typeof e?[e]:e):t.push(e)),t},Tools.arrayMakeRange=function(e,t,n){var r,o;if(void 0===t&&(t=1),void 0===n&&(n=!1),1===(e=[].concat(e)).length)r=0,o=parseInt(""+e[0],10);else{if(2!==e.length)return e;r=parseInt(""+e[0],10),o=parseInt(""+e[1],10)}if(o<r)return[];for(var i=[r];r<=o-t;)r+=t,(!n||r<=o-t)&&i.push(r);return i},Tools.arrayMerge=function(e,t){Array.isArray(t)||(t=Array.prototype.slice.call(t));for(var n,r=_createForOfIteratorHelperLoose(t);!(n=r()).done;){var o=n.value;e.push(o)}return e},Tools.arrayPaginate=function(e){void 0===e&&(e={});var t=e,n=t.boundaryCount,r=void 0===n?1:n,o=t.disabled,i=void 0!==o&&o,a=t.hideNextButton,s=void 0!==a&&a,l=t.hidePrevButton,u=void 0!==l&&l,c=t.page,d=void 0===c?1:c,f=t.pageSize,p=void 0===f?5:f,h=t.showFirstButton,m=void 0!==h&&h,v=t.showLastButton,_=void 0!==v&&v,g=t.siblingCount,y=void 0===g?4:g,b=t.total,E=void 0===b?100:b,x="number"!=typeof p||isNaN(p)?E:Math.ceil(E/p),C=Tools.arrayMakeRange([1,Math.min(r,x)]),T=Tools.arrayMakeRange([Math.max(x-r+1,r+1),x]),I=Math.max(Math.min(d-y,x-r-2*y-1),r+2),S=Math.min(Math.max(d+y,r+2*y+2),T.length>0?T[0]-2:x-1);return[].concat(m?["first"]:[],u?[]:["previous"],C,I>r+2?["start-ellipsis"]:r+1<x-r?[r+1]:[],Tools.arrayMakeRange([I,S]),S<x-r-1?["end-ellipsis"]:x-r>r?[x-r]:[],T,s?[]:["next"],_?["last"]:[]).map((function(e){var t;return"number"==typeof e?{disabled:i,page:e,selected:e===d,type:"page"}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({disabled:i||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?d>=x:d<=1),selected:!1,type:e},e.endsWith("-ellipsis")?{}:{page:(null!==(t={first:1,last:x}[e])&&void 0!==t?t:"next"===e)?Math.min(d+1,x):Math.max(d-1,1)})}))},Tools.arrayPermutate=function(e){var t=[];return function e(n,r){if(void 0===r&&(r=[]),0===n.length)t.push(r);else for(var o=0;o<n.length;o++){var i=n.slice();e(i,r.concat(i.splice(o,1)))}}(e),t},Tools.arrayPermutateLength=function(e,t){void 0===t&&(t=1);var n=[];if(0===e.length)return n;for(var r=function e(t,r,o){if(0!==t)for(var i=0;i<r.length;i++)e(t-1,r.slice(i+1),o.concat([r[i]]));else o.length>0&&(n[n.length]=o)},o=t;o<e.length;o++)r(o,e,[]);return n.push(e),n},Tools.arraySumUpProperty=function(e,t){var n=0;if(Array.isArray(e)&&e.length)for(var r,o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(i,t)&&(n+=parseFloat(i[t]||0))}return n},Tools.arrayAppendAdd=function(e,t,n,r){return void 0===r&&(r=!0),Object.prototype.hasOwnProperty.call(e,n)?r&&e[n].includes(t)||e[n].push(t):e[n]=[t],e},Tools.arrayRemove=function(e,t,n){void 0===n&&(n=!1);var r=e.indexOf(t);if(-1===r){if(n)throw new Error("Given target doesn't exists in given list.")}else e.splice(r,1);return e},Tools.arraySortTopological=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0],a=o[1];if(e[i]=[].concat(a),a.length>0)for(var s,l=_createForOfIteratorHelperLoose(Tools.arrayMake(a));!(s=l()).done;){var u=s.value;t.push([i,u])}else t.push([i])}for(var c=[],d=0,f=t;d<f.length;d++)for(var p,h=_createForOfIteratorHelperLoose(f[d]);!(p=h()).done;){var m=p.value;c.includes(m)||c.push(m)}for(var v=[],_=function e(n,r){if(0!==r.length&&r.includes(n))throw new Error('Cyclic dependency found. "'+n+'" is dependent of itself.\nDependency chain: "'+r.join('" -> "')+'" => "'+n+'".');var o=c.indexOf(n);if(-1!==o){var i;c[o]=null;for(var a=0,s=t;a<s.length;a++){var l=s[a];l[0]===n&&(i=i||r.concat([n]),e(l[1],i))}v.push(n)}},g=0;g<c.length;g++){var y=c[g];if(y){c[g]=null;for(var b,E=_createForOfIteratorHelperLoose(t);!(b=E()).done;){var x=b.value;x[0]===y&&_(x[1],[y])}v.push(y)}}return v},Tools.arrayUnique=function(e){for(var t,n=[],r=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(t=r()).done;){var o=t.value;n.includes(o)||n.push(o)}return n},Tools.stringEscapeRegularExpressions=function(e,t){if(void 0===t&&(t=[]),1===e.length&&!Tools.specialRegexSequences.includes(e))return e;t.includes("\\")||e.replace(/\\/g,"\\\\");for(var n,r=_createForOfIteratorHelperLoose(Tools.specialRegexSequences);!(n=r()).done;){var o=n.value;t.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},Tools.stringConvertToValidVariableName=function(e,t){return void 0===t&&(t="0-9a-zA-Z_$"),["class","default"].includes(e)?"_"+e:e.toString().replace(/^[^a-zA-Z_$]+/,"").replace(new RegExp("[^"+t+"]+([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()}))},Tools.stringEncodeURIComponent=function(e,t){return void 0===t&&(t=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")},Tools.stringAddSeparatorToPath=function(e,t){return void 0===t&&(t="/"),(e=e.trim()).substr(-1)!==t&&e.length?e+t:e},Tools.stringHasPathPrefix=function(e,t,n){var r;return void 0===e&&(e="/admin"),void 0===t&&(t=(null==(r=$.location)?void 0:r.pathname)||""),void 0===n&&(n="/"),"string"==typeof e&&(e.endsWith(n)||(e+=n),t===e.substring(0,e.length-n.length)||t.startsWith(e))},Tools.stringGetDomainName=function(e,t){var n,r;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||""),void 0===t&&(t=(null==(r=$.location)?void 0:r.hostname)||"");var o=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(e);return o&&o.length>2&&o[1]&&o[2]?o[2]:t},Tools.stringGetPortNumber=function(e,t){var n,r,o;void 0===e&&(e=(null==(r=$.location)?void 0:r.href)||""),void 0===t&&(t=null!=(o=$.location)&&o.port?parseInt($.location.port):null);var i=/^(?:[a-z]*:?\/\/[^/]+?)?(?:[^/]+?):([0-9]+)/i.exec(e);return i&&i.length>1?parseInt(i[1],10):null!==t?t:null!=(n=$.location)&&n.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===Tools.stringGetProtocolName(e)?443:80},Tools.stringGetProtocolName=function(e,t){var n,r;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||""),void 0===t&&(t=(null==(r=$.location)?void 0:r.protocol)&&$.location.protocol.substring(0,$.location.protocol.length-1)||"");var o=/^([a-z]+):\/\//i.exec(e);return o&&o.length>1&&o[1]?o[1]:t},Tools.stringGetURLParameter=function(e,t,n,r,o,i,a){var s,l,u;void 0===e&&(e=null),void 0===t&&(t=!1),void 0===n&&(n=null),void 0===r&&(r="$"),void 0===o&&(o="!"),void 0===i&&(i=null),void 0===a&&(a=null!==(l=null==(u=$.location)?void 0:u.hash)&&void 0!==l?l:"");var c=null!==(s=a)&&void 0!==s?s:"#",d="";if(i)d=i;else if(o&&c.startsWith(o)){var f,p=c.indexOf("#");-1===p?(f=c.substring(o.length),c=""):(f=c.substring(o.length,p),c=c.substring(p));var h=f.indexOf("?");-1!==h&&(d=f.substring(h))}else $.location&&(d=$.location.search||"");var m=n||d,v="&"===m;if(v||"#"===m){var _="";try{_=decodeURIComponent(c)}catch(e){}var g=_.indexOf(r);-1===g?m="":(m=_.substring(g)).startsWith(r)&&(m=m.substring(r.length))}else m.startsWith("?")&&(m=m.substring(1));var y=m?m.split("&"):[];d=d.substring(1),v&&d&&(y=y.concat(d.split("&")));for(var b,E=[],x=_createForOfIteratorHelperLoose(y);!(b=x()).done;){var C=b.value,T=C.split("="),I=void 0;try{I=decodeURIComponent(T[0])}catch(e){I=""}try{C=decodeURIComponent(T[1])}catch(e){C=""}E.push(I),t?Object.prototype.hasOwnProperty.call(E,I)&&Array.isArray(E[I])?E[I].push(C):E[I]=[C]:E[I]=C}return e?Object.prototype.hasOwnProperty.call(E,e)?E[e]:null:E},Tools.stringServiceURLEquals=function(e,t){var n;void 0===t&&(t=(null==(n=$.location)?void 0:n.href)||"");var r=Tools.stringGetDomainName(e,""),o=Tools.stringGetProtocolName(e,""),i=Tools.stringGetPortNumber(e);return!(""!==r&&r!==Tools.stringGetDomainName(t)||""!==o&&o!==Tools.stringGetProtocolName(t)||null!==i&&i!==Tools.stringGetPortNumber(t))},Tools.stringNormalizeURL=function(e){return"string"==typeof e?(e=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim()).startsWith("http")?e:"http://"+e:""},Tools.stringRepresentURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},Tools.stringCamelCaseToDelimited=function(e,t,n){void 0===t&&(t="-"),void 0===n&&(n=null),n||(n=Tools.abbreviations);var r=Tools.stringMaskForRegularExpression(t);if(n.length){for(var o,i="",a=_createForOfIteratorHelperLoose(n);!(o=a()).done;)i&&(i+="|"),i+=o.value.toUpperCase();e=e.replace(new RegExp("("+i+")("+i+")","g"),"$1"+t+"$2")}return(e=e.replace(new RegExp("([^"+r+"])([A-Z][a-z]+)","g"),"$1"+t+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+t+"$2").toLowerCase()},Tools.stringCapitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},Tools.stringCompressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},Tools.stringDecodeHTMLEntities=function(e){if($.document){var t=$.document.createElement("textarea");return t.innerHTML=e,t.value}return null},Tools.stringDelimitedToCamelCase=function(e,t,n,r,o){void 0===t&&(t="-"),void 0===n&&(n=null),void 0===r&&(r=!1),void 0===o&&(o=!1);var i,a=Tools.stringMaskForRegularExpression(t);if(n||(n=Tools.abbreviations),r)i=n.join("|");else{i="";for(var s,l=_createForOfIteratorHelperLoose(n);!(s=l()).done;){var u=s.value;i&&(i+="|"),i+=Tools.stringCapitalize(u)+"|"+u}}var c=e.startsWith(t);return c&&(e=e.substring(t.length)),e=e.replace(new RegExp("("+a+")("+i+")("+a+"|$)","g"),(function(e,t,n,r){return t+n.toUpperCase()+r})),o&&(a="(?:"+a+")+"),e=e.replace(new RegExp(a+"([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()})),c&&(e=t+e),e},Tools.stringCompile=function(e,t,n){var r,o;void 0===t&&(t=[]),void 0===n&&(n=!1);for(var i,a={error:null,originalScopeNames:Array.isArray(t)?t:"string"==typeof t?[t]:Object.keys(t),scopeNameMapping:{},scopeNames:[],templateFunction:function(){return null}},s=_createForOfIteratorHelperLoose(a.originalScopeNames);!(i=s()).done;){var l=i.value,u=Tools.stringConvertToValidVariableName(l);a.scopeNameMapping[l]=u,a.scopeNames.push(u)}if(0!==Tools.maximalSupportedInternetExplorerVersion)if(null!=(r=$.global.Babel)&&r.transform)e=null==(o=$.global.Babel)?void 0:o.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var c="####",d="`"===(e=e.replace(/\\\$/g,c).replace(/^`\$\{([\s\S]+)\}`$/,"String($1)").replace(/^`([^']+)`$/,"'$1'").replace(/^`([^"]+)`$/,'"$1"')).charAt(0)?"'":e.charAt(0);e=e.replace(/\$\{((([^{]*{[^}]*}[^}]*})|[^{}]+)+)\}/g,d+"+($1)+"+d).replace(/^`([\s\S]+)`$/,d+"$1"+d).replace(/\n+/g,"").replace(new RegExp(c,"g"),"\\$")}try{a.templateFunction=_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Function,a.scopeNames.concat([(n?"":"return ")+e]))}catch(t){a.error='Given expression "'+e+'" could not be compiled with given scope names "'+a.scopeNames.join('", "')+'": '+Tools.represent(t)}return a},Tools.stringEvaluate=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=!1);var o=Tools.stringCompile(e,t,n),i=o.error,a=o.originalScopeNames,s=o.scopeNames,l=o.templateFunction,u={compileError:null,error:null,result:null,runtimeError:null};if(i)return u.compileError=u.error=i,u;try{u.result=(r?l.bind(r):l).apply(void 0,a.map((function(e){return t[e]})))}catch(i){u.error=u.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+s.join('", "')+'": '+Tools.represent(i)}return u},Tools.stringFindNormalizedMatchRange=function(e,t,n,r){void 0===n&&(n=function(e){return(""+e).toLowerCase()}),void 0===r&&(r=["<",">"]);var o=n(t),i=n(e),a="string"==typeof e?e:i;if(i&&o)for(var s=!1,l=0;l<a.length;l+=1)if(s)a.charAt(l)===r[1]&&(s=!1);else if(Array.isArray(r)&&a.charAt(l)===r[0])s=!0;else if(n(a.substring(l)).startsWith(o)){if(1===o.length)return[l,l+1];for(var u=a.length;u>l;u-=1)if(!n(a.substring(l,u)).startsWith(o))return[l,u+1]}return null},Tools.stringFixKnownEncodingErrors=function(e){for(var t=0,n=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});t<n.length;t++){var r=n[t],o=r[0],i=r[1];e=e.replace(new RegExp(o,"g"),i)}return e},Tools.stringFormat=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.unshift(e);for(var o=0,i=0,a=n;i<a.length;i++){var s=a[i];e=e.replace(new RegExp("\\{"+o+"\\}","gm"),""+s),o+=1}return e},Tools.stringGetEditDistance=function(e,t){for(var n=Array(t.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),r=0;r<=e.length;r++)n[0][r]=r;for(var o=0;o<=t.length;o++)n[o][0]=o;for(var i=1;i<=t.length;i++)for(var a=1;a<=e.length;a++){var s=e[a-1]===t[i-1]?0:1;n[i][a]=Math.min(n[i][a-1]+1,n[i-1][a]+1,n[i-1][a-1]+s)}return n[t.length][e.length]},Tools.stringMaskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},Tools.stringInterpretDateTime=function(e,t){var n=Boolean(t),r="[0-2][0-9]:[0-6][0-9]",o="^[0-9]{4}-[01][0-9]-[0-3][0-9](?<time>(?:T"+r+"(?::[0-6][0-9](?:\\.[0-9]+)?)?(?<dateTimeTimezone>Z|(?:[+-]"+r+"))?)|(?<dateTimezone>Z|(?:[+-]"+r+")))?$",i=e.match(new RegExp(o,"i"));if(i){var a,s,l,u,c,d=new Date(e);return isNaN(d.getDate())?null:(null!==(a=null==(s=i.groups)?void 0:s.dateTimeTimezone)&&void 0!==a?a:null==(l=i.groups)?void 0:l.dateTimezone)?d:([null,void 0].includes(t)&&(n=!1),n?null!=(c=i.groups)&&c.time?new Date(d.getTime()-60*(new Date).getTimezoneOffset()*1e3):d:null!=(u=i.groups)&&u.time?d:new Date(d.getTime()+60*(new Date).getTimezoneOffset()*1e3))}if(e=e.replace(/^(-?)-*0*([1-9][0-9]*)$/,"$1$2"),""+parseInt(e)===e)return[null,void 0].includes(t)&&(n=!0),new Date(1e3*(parseInt(e)+(n?0:60*(new Date).getTimezoneOffset())));if(!Tools._dateTimePatternCache.length)for(var f,p="(?:0?[0-9])|(?:[1-5][0-9])|(?:60)",h="(?<second>"+p+")",m="(?<minute>"+p+")",v="(?<hour>(?:0?[0-9])|(?:1[0-9])|(?:2[0-4]))",_="(?<day>(?:0?[1-9])|(?:[1-2][0-9])|(?:3[01]))",g="(?<month>(?:0?[1-9])|(?:1[0-2]))",y="(?<year>(?:0?[1-9])|(?:[1-9][0-9]+))",b={},E=_createForOfIteratorHelperLoose(["t"," "]);!(f=E()).done;)for(var x,C=f.value,T=_createForOfIteratorHelperLoose([":","/","-"," "]);!(x=T()).done;)for(var I=x.value,S=0,A=[v+(I+"+")+m,v+(I+"+")+m+I+"+"+h,v+(I+"+")+m+I+"+"+h+I+"+(?<millisecond>(?:0{0,3}[0-9])|(?:0{0,2}[1-9]{2})|(?:0?[1-9]{3})|(?:1[1-9]{3}))",v];S<A.length;S++)for(var O=A[S],w=0,L=[{delimiter:["/","-"," "],pattern:[g+"${delimiter}"+_+"${delimiter}"+y,g+"${delimiter}"+_+" +"+y,y+"${delimiter}"+g+"${delimiter}"+_,y+" +"+g+"${delimiter}"+_,g+"${delimiter}"+_+"${delimiter}"+y+C+"+"+O,g+"${delimiter}"+_+" +"+y+C+"+"+O,O+(C+"+")+g+"${delimiter}"+_+"${delimiter}"+y,O+(C+"+")+g+"${delimiter}"+_+" +"+y,y+"${delimiter}"+g+"${delimiter}"+_+C+"+"+O,y+" +"+g+"${delimiter}"+_+C+"+"+O,O+(C+"+")+y+"${delimiter}"+g+"${delimiter}"+_,O+(C+"+")+y+" +"+g+"${delimiter}"+_]},{delimiter:"\\.",pattern:[_+"${delimiter}"+g+"${delimiter}"+y,_+"${delimiter}"+g+" +"+y,y+"${delimiter}"+_+"${delimiter}"+g,y+" +"+_+"${delimiter}"+g,_+"${delimiter}"+g+"${delimiter}"+y+C+"+"+O,_+"${delimiter}"+g+" +"+y+C+"+"+O,O+(C+"+")+_+"${delimiter}"+g+"${delimiter}"+y,O+(C+"+")+_+"${delimiter}"+g+" +"+y,y+"${delimiter}"+_+"${delimiter}"+g+C+"+"+O,y+" +"+_+"${delimiter}"+g+C+"+"+O,O+(C+"+")+y+"${delimiter}"+_+"${delimiter}"+g,O+(C+"+")+y+" +"+_+"${delimiter}"+g]},{pattern:O}];w<L.length;w++)for(var P,N=L[w],k=_createForOfIteratorHelperLoose([].concat(Object.prototype.hasOwnProperty.call(N,"delimiter")?N.delimiter:"-"));!(P=k()).done;)for(var R,D=P.value,M=_createForOfIteratorHelperLoose([].concat(N.pattern));!(R=M()).done;){var F=R.value;(F=Tools.stringEvaluate("`^"+F+"$`",{delimiter:D+"+"}).result)&&!Object.prototype.hasOwnProperty.call(b,F)&&(b[F]=!0,Tools._dateTimePatternCache.push(new RegExp(F)))}e=(e=e.toLowerCase()).replace(/([^0-9a-z])[^0-9a-z]+/g,"$1");for(var j=1,B=0,U=[["jan","january?","janvier"],["feb","february?","février"],["m(?:a|ae|ä)r","m(?:a|ae|ä)r(?:ch|s|z)"],["ap[rv]","a[pv]ril"],["ma[iy]"],["ju[ein]","jui?n[ei]?"],["jul","jul[iy]","juillet"],["aug","august","août"],["sep","septemb(?:er|re)"],["o[ck]t","o[ck]tob(?:er|re)"],["nov","novemb(?:er|re)"],["de[cz]","d[eé][cz]emb(?:er|re)"]];B<U.length;B++){for(var V,H=!1,$=_createForOfIteratorHelperLoose(U[B]);!(V=$()).done;){var q=V.value,W=new RegExp("(^|[^a-z])"+q+"([^a-z]|$)");if(W.test(e)){e=e.replace(W,"$1"+j+"$2"),H=!0;break}}if(H)break;j+=1}e=Tools.stringSliceWeekday(e);var z=/(.+)\+(.+)$/,K=z.exec(e);K&&(e=e.replace(z,"$1"));for(var G,X=_createForOfIteratorHelperLoose(["","Uhr","o'clock"]);!(G=X()).done;){var Y=G.value;e=e.replace(Y,"")}e=e.trim();for(var Q,J,Z=function(){var t=J.value,r=null;try{r=e.match(t)}catch(e){}if(r){var o=function(e,t){var n;return void 0===t&&(t=0),null!=(n=r)&&n.groups&&e in r.groups?parseInt(r.groups[e],10):t},i=[o("year",1970),o("month",1)-1,o("day",1),o("hour"),o("minute"),o("second"),o("millisecond")],a=null;if(K){var s=Tools.stringInterpretDateTime(K[2],!0);s&&(a=new Date(Date.UTC.apply(Date,i)-s.getTime()))}return a||(a=n?new Date(Date.UTC.apply(Date,i)):_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Date,i)),isNaN(a.getDate())?{v:null}:{v:a}}},ee=_createForOfIteratorHelperLoose(Tools._dateTimePatternCache);!(J=ee()).done;)if(Q=Z())return Q.v;return null},Tools.stringLowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},Tools.stringMark=function(e,t,n){if(void 0===n&&(n={}),"string"==typeof e&&null!=t&&t.length){n=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:["<",">"]},n),e=e.trim();for(var r,o=[],i=[].concat(t),a=0,s=_createForOfIteratorHelperLoose(i);!(r=s()).done;){var l=r.value;i[a]=n.normalizer(l).trim(),a+=1}for(var u=e,c=0;;){for(var d,f=null,p=null,h=_createForOfIteratorHelperLoose(i);!(d=h()).done;){var m=d.value;(p=Tools.stringFindNormalizedMatchRange(u,m,n.normalizer,n.skipTagDelimitedParts))&&(!f||p[0]<f[0])&&(f=p)}if(!f){u.length&&o.push(u);break}f[0]>0&&o.push(e.substring(c,c+f[0])),o.push("string"==typeof n.marker?Tools.stringFormat(n.marker,e.substring(c+f[0],c+f[1])):n.marker(e.substring(c+f[0],c+f[1]),o)),c+=f[1],u=e.substring(c)}return"string"==typeof n.marker?o.join(""):o}return e},Tools.stringNormalizePhoneNumber=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e||"number"==typeof e){var n=(""+e).trim();if(n=n.replace(/^[^0-9]*\+/,"00"),t)return n.replace(/[^0-9]+/g,"");var r="(?:[ /\\-]+)";n=(n=n.replace(new RegExp("^(.+?)"+r+"?\\(0\\)"+r+"?(.+)$"),"$1-$2")).replace(new RegExp("^(.+?)"+r+"?\\((.+)\\)"+r+"?(.+)$"),"$1-$2-$3");var o=new RegExp("^(00[0-9]+)"+r+"([0-9]+)"+r+"(.+)$");if(o.test(n))n=n.replace(o,(function(e,t,n,r){return t+"-"+n+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(r)}));else{var i=function(e,t,n){return t.replace(/ +/,"")+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(n)};n=(o=/^([0-9 ]+)[/-](.+)$/).test(n)?n.replace(o,i):n.replace(new RegExp("^([0-9]+)"+r+"(.+)$"),i)}return n.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},Tools.stringNormalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?(""+e).trim().replace(/[^0-9]+/g,""):""},Tools.stringParseEncodedObject=function stringParseEncodedObject(serializedObject,scope,name){var _Tools$stringEvaluate;void 0===scope&&(scope={}),void 0===name&&(name="scope"),serializedObject.endsWith(".json")&&Tools.isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=Tools.stringEvaluate(serializedObject,(_Tools$stringEvaluate={},_Tools$stringEvaluate[name]=scope,_Tools$stringEvaluate));return"object"==typeof result.result?result.result:null},Tools.stringRepresentPhoneNumber=function(e){if(["number","string"].includes(Tools.determineType(e))&&e){var t=(""+e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(t=(t=t.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,t,n,r){return t+(n.length%2==0?n.replace(/([0-9]{2})/g,"$1 "):n.replace(/^([0-9]{3})([0-9]+)$/,(function(e,t,n){return t+" "+n.replace(/([0-9]{2})/g,"$1 ").trim()}))+r).trim()})).trim()}return""},Tools.stringSliceAllExceptNumberAndLastSeperator=function(e){var t=/^(.*[0-9].*)-([0-9]+)$/;return t.test(e)?e.replace(t,(function(e,t,n){return t.replace(/[^0-9]+/g,"")+"-"+n})):e.replace(/[^0-9]+/g,"")},Tools.stringSliceWeekday=function(e){var t=/[a-z]{2}\.+ *([^ ].*)$/i;return t.exec(e)?e.replace(t,"$1"):e},Tools.numberGetUTCTimestamp=function(e,t){void 0===t&&(t=!1);var n=[null,void 0].includes(e)?new Date:new Date(e);return Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds())/(t?1:1e3)},Tools.numberIsNotANumber=function(e){return"number"===Tools.determineType(e)&&isNaN(e)},Tools.numberRound=function(e,t){return void 0===t&&(t=0),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberCeil=function(e,t){return void 0===t&&(t=0),Math.ceil(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberFloor=function(e,t){return void 0===t&&(t=0),Math.floor(e*Math.pow(10,t))/Math.pow(10,t)},Tools.checkReachability=(e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n){var r,o,i,a,s;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n={}),r=Tools.extend(!0,{expectedIntermediateStatusCodes:[],options:{},pollIntervallInSeconds:.1,statusCodes:200,timeoutInSeconds:10,wait:!1},n),o=[].concat(r.statusCodes),i=[].concat(r.expectedIntermediateStatusCodes),a=function(e,t){return Boolean(null!==e&&"object"==typeof e&&"status"in e&&t.includes(e.status))},s=function(e){if(!a(e,o))throw new Error("Given status code "+e.status+" differs from "+o.join(", ")+".");return e},!r.wait){e.next=8;break}return e.abrupt("return",new Promise((function(e,n){var o=!1,l=Tools.timeout(1e3*r.timeoutInSeconds),u=function(e){return o||(d=Tools.timeout(1e3*r.pollIntervallInSeconds,c)).catch(Tools.noop),e},c=function(){var o=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function o(){var c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,globalContext.fetch(t,r.options);case 3:c=o.sent,o.next=9;break;case 6:return o.prev=6,o.t0=o.catch(0),o.abrupt("return",u(o.t0));case 9:o.prev=9,e(s(c)),l.clear(),o.next=20;break;case 14:if(o.prev=14,o.t1=o.catch(9),!a(c,i)){o.next=18;break}return o.abrupt("return",u(o.t1));case 18:n(o.t1),l.clear();case 20:return o.abrupt("return",c);case 21:case"end":return o.stop()}}),o,null,[[0,6],[9,14]])})));return function(){return o.apply(this,arguments)}}(),d=Tools.timeout(c);l.then((function(){o=!0,d.clear(),n(new Error("Timeout of "+r.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 8:return e.t0=s,e.next=11,globalContext.fetch(t,r.options);case 11:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 13:case"end":return e.stop()}}),e)}))),function(t,n){return e.apply(this,arguments)}),Tools.checkUnreachability=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n){var r,o,i;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n={}),r=Tools.extend(!0,{wait:!1,timeoutInSeconds:10,pollIntervallInSeconds:.1,statusCodes:[],options:{}},n),o=function(e){var n=[].concat(r.statusCodes);if(n.length){if(null!==e&&"object"==typeof e&&"status"in e&&n.includes(e.status))throw new Error('Given url "'+t+'" is reachable and responses with status code "'+e.status+'".');return new Error('Given status code is not "'+n.join(", ")+'".')}return null},!r.wait){e.next=5;break}return e.abrupt("return",new Promise((function(e,n){var i=!1,a=function(){var n=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function n(){var u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,globalContext.fetch(t,r.options);case 3:if(u=n.sent,!i){n.next=6;break}return n.abrupt("return",u);case 6:if(!(c=o(u))){n.next=11;break}return l.clear(),e(c),n.abrupt("return",c);case 11:(s=Tools.timeout(1e3*r.pollIntervallInSeconds,a)).catch(Tools.noop),n.next=20;break;case 15:return n.prev=15,n.t0=n.catch(0),l.clear(),e(n.t0),n.abrupt("return",n.t0);case 20:return n.abrupt("return",null);case 21:case"end":return n.stop()}}),n,null,[[0,15]])})));return function(){return n.apply(this,arguments)}}(),s=Tools.timeout(a),l=Tools.timeout(1e3*r.timeoutInSeconds);l.then((function(){i=!0,s.clear(),n(new Error("Timeout of "+r.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 5:return e.prev=5,e.t0=o,e.next=9,globalContext.fetch(t,r.options);case 9:if(e.t1=e.sent,!(i=(0,e.t0)(e.t1))){e.next=13;break}return e.abrupt("return",i);case 13:e.next=18;break;case 15:return e.prev=15,e.t2=e.catch(5),e.abrupt("return",e.t2);case 18:throw new Error('Given url "'+t+'" is reachable.');case 19:case"end":return e.stop()}}),e,null,[[5,15]])})));return function(t,n){return e.apply(this,arguments)}}(),Tools.sendToIFrame=function(e,t,n,r,o){void 0===r&&(r="post"),void 0===o&&(o=!1);for(var i=$("string"==typeof e?'iframe[name"'+e+'"]':e),a=$("<form>").attr({action:t,method:r,target:i.attr("name")}),s=0,l=Object.entries(n);s<l.length;s++){var u=l[s],c=u[0],d=u[1];a.append($("<input>").attr({name:c,type:"hidden",value:d}))}return o&&i.on("load",(function(){return i.remove()})),a.insertAfter(i),a[0].submit(),a.remove(),i},Tools.copyDirectoryRecursive=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n,r,o,i){var a,s,l,u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=Tools.noop),void 0===o&&(o={encoding:null,flag:"r"}),void 0===i&&(i={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),t=resolve(t),e.next=6,Tools.isDirectory(n);case 6:if(!e.sent){e.next=8;break}n=resolve(n,basename(t));case 8:return e.prev=8,e.next=11,mkdir(n);case 11:e.next=17;break;case 13:if(e.prev=13,e.t0=e.catch(8),"EEXIST"===e.t0.code){e.next=17;break}throw e.t0;case 17:return e.t1=_createForOfIteratorHelperLoose,e.next=20,Tools.walkDirectoryRecursively(t,r);case 20:e.t2=e.sent,a=(0,e.t1)(e.t2);case 22:if((s=a()).done){e.next=41;break}if(u=s.value,c=join(n,u.path.substring(t.length)),null==(l=u.stats)||!l.isDirectory()){e.next=37;break}return e.prev=26,e.next=29,mkdir(c);case 29:e.next=35;break;case 31:if(e.prev=31,e.t3=e.catch(26),"EEXIST"===e.t3.code){e.next=35;break}throw e.t3;case 35:e.next=39;break;case 37:return e.next=39,Tools.copyFile(u.path,c,o,i);case 39:e.next=22;break;case 41:return e.abrupt("return",n);case 42:case"end":return e.stop()}}),e,null,[[8,13],[26,31]])})));return function(t,n,r,o,i){return e.apply(this,arguments)}}(),Tools.copyDirectoryRecursiveSync=function(e,t,n,r,o){void 0===n&&(n=Tools.noop),void 0===r&&(r={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e=resolve(e),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e)));try{mkdirSync(t)}catch(e){if("EEXIST"!==e.code)throw e}for(var i,a=_createForOfIteratorHelperLoose(Tools.walkDirectoryRecursivelySync(e,n));!(i=a()).done;){var s,l=i.value,u=join(t,l.path.substring(e.length));if(null!=(s=l.stats)&&s.isDirectory())try{mkdirSync(u)}catch(e){if("EEXIST"!==e.code)throw e}else Tools.copyFileSync(l.path,u,r,o)}return t},Tools.copyFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n,r,o){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e.next=4,Tools.isDirectory(n);case 4:if(!e.sent){e.next=6;break}n=resolve(n,basename(t));case 6:return e.t0=writeFile,e.t1=n,e.next=10,readFile(t,r);case 10:return e.t2=e.sent,e.t3=o,e.next=14,(0,e.t0)(e.t1,e.t2,e.t3);case 14:return e.abrupt("return",n);case 15:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),Tools.copyFileSync=function(e,t,n,r){return void 0===n&&(n={encoding:null,flag:"r"}),void 0===r&&(r={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e))),writeFileSync(t,readFileSync(e,n),r),t},Tools.isDirectory=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isDirectory());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isDirectorySync=function(e){try{return statSync(e).isDirectory()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.isFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isFile());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isFileSync=function(e){try{return statSync(e).isFile()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.walkDirectoryRecursively=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n,r){var o,i,a,s,l,u,c,d,f,p,h,m;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=null),void 0===r&&(r=DEFAULT_ENCODING),o=[],e.t0=_createForOfIteratorHelperLoose,e.next=6,readdir(t,"string"==typeof r?{encoding:r,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},r,{withFileTypes:!0}));case 6:e.t1=e.sent,i=(0,e.t0)(e.t1);case 8:if((a=i()).done){e.next=24;break}return s=a.value,l=resolve(t,s.name),u={directoryPath:t,directoryEntry:s,error:null,name:s.name,path:l,stats:null},e.prev=12,e.next=15,stat(l);case 15:u.stats=e.sent,e.next=21;break;case 18:e.prev=18,e.t2=e.catch(12),u.error=e.t2;case 21:o.push(u);case 22:e.next=8;break;case 24:n&&o.sort((function(e,t){var n,r,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(r=t.stats)&&r.isDirectory()?1:0})),c=[],d=0,f=o;case 27:if(!(d<f.length)){e.next=48;break}if(h=f[d],c.push(h),null!==(m=n?n(h):void 0)){e.next=33;break}return e.abrupt("break",48);case 33:if("object"!=typeof m||!("then"in m)){e.next=37;break}return e.next=36,m;case 36:m=e.sent;case 37:if(null!==m){e.next=39;break}return e.abrupt("break",48);case 39:if(!1===m||null==(p=h.stats)||!p.isDirectory()){e.next=45;break}return e.t3=c,e.next=43,Tools.walkDirectoryRecursively(h.path,n,r);case 43:e.t4=e.sent,c=e.t3.concat.call(e.t3,e.t4);case 45:d++,e.next=27;break;case 48:return e.abrupt("return",c);case 49:case"end":return e.stop()}}),e,null,[[12,18]])})));return function(t,n,r){return e.apply(this,arguments)}}(),Tools.walkDirectoryRecursivelySync=function(e,t,n){void 0===t&&(t=Tools.noop),void 0===n&&(n=DEFAULT_ENCODING);for(var r,o=[],i=_createForOfIteratorHelperLoose(readdirSync(e,"string"==typeof n?{encoding:n,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},n,{withFileTypes:!0})));!(r=i()).done;){var a=r.value,s=resolve(e,a.name),l={directoryPath:e,directoryEntry:a,error:null,name:a.name,path:s,stats:null};try{l.stats=statSync(s)}catch(e){l.error=e}o.push(l)}var u=[];if(t){o.sort((function(e,t){var n,r,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(r=t.stats)&&r.isDirectory()?1:0}));for(var c,d=_createForOfIteratorHelperLoose(o);!(c=d()).done;){var f,p=c.value;u.push(p);var h=t(p);if(null===h)break;!1!==h&&null!=(f=p.stats)&&f.isDirectory()&&(u=u.concat(Tools.walkDirectoryRecursivelySync(p.path,t,n)))}}return u},Tools.getProcessCloseHandler=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=Tools.noop);var o=!1;return function(i){if(o)o=!0;else{o=!0;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if("number"!=typeof i||0===i)r(),e({reason:n,parameters:s});else{var u=new Error("Task exited with error code "+i);u.returnCode=i,u.parameters=s,t(u)}}}},Tools.handleChildProcess=function(e){return e.stdout&&e.stdout.pipe(process.stdout),e.stderr&&e.stderr.pipe(process.stderr),e.on("close",(function(e){0!==e&&console.error("Task exited with error code "+e)})),e},_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(Tools,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(t,n){var r=$(n),o=r.attr(e);o?r.attr(e,(o.split(" ").sort()||[]).join(" ")):r.is("[class]")&&r.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(t,n){var r=$(n),o=r.attr(e);o?r.attr(e,Tools.stringCompressStyleValue((Tools.stringCompressStyleValue(o).split(";").sort()||[]).map((function(e){return e.trim()})).join(";"))):r.is("[style]")&&r.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},t=this.$domNode;if(null!=t&&t.length){var n,r;if(null!=(n=$.global.window)&&n.getComputedStyle&&(r=$.global.window.getComputedStyle(t[0],null))){if("length"in r)for(var o=0;o<r.length;o+=1)e[Tools.stringDelimitedToCamelCase(r[o])]=r.getPropertyValue(r[o]);else for(var i=0,a=Object.entries(r);i<a.length;i++){var s=a[i],l=s[0],u=s[1];e[Tools.stringDelimitedToCamelCase(l)]=u||r.getPropertyValue(l)}return e}if(r=t[0].style)for(var c in r)"function"!=typeof r[c]&&(e[c]=r[c])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}]),Tools}();Tools.abbreviations=["html","id","url","us","de","api","href"],Tools.animationEndEventNames="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",Tools.classToTypeMapping={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},Tools.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},Tools.locales=[],Tools.maximalSupportedInternetExplorerVersion=function(){if(!$.document)return 0;var e,t=$.document.createElement("div");for(e=0;e<10&&(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",0!==t.getElementsByTagName("i").length);e++);if(0===e&&$.global.window.navigator){if(-1!==$.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![$.global.window.navigator.userAgent.indexOf("Trident"),$.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}return e}(),Tools.noop=$.noop?$.noop:function(){},Tools.plainObjectPrototypes=[Object.prototype],Tools.specialRegexSequences=["-","[","]","(",")","^","$","*","+",".","{","}"],Tools.transitionEndEventNames="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",Tools._dateTimePatternCache=[],Tools._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"},Tools._javaScriptDependentContentHandled=!1;var BoundTools=function(e){function t(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.call.apply(e,[this,n].concat(i))||this).$domNode=void 0,r.self=t,r.$domNode=n,r}return _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default()(t,e),t}(Tools);__nested_webpack_exports__.default=Tools;var augment$=function(e){if(($=e).global||($.global=globalContext),$.global.window&&(!$.document&&$.global.window.document&&($.document=$.global.window.document),!$.location&&$.global.window.location&&($.location=$.global.window.location)),$.fn&&($.fn.Tools=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tools.controller(Tools,t,this)}),$.Tools=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tools.controller(Tools,t)},$.Tools.class=Tools,$.fn){var t=$.fn.prop;$.fn.prop=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(r.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===r.length)return this[0][e];if(1===r.length)return this[0][e]=r[0],this}return t.call.apply(t,[this,e].concat(r))}}};augment$($),$.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},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){if(void 0===__WEBPACK_EXTERNAL_MODULE__7__){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__7__}],__webpack_module_cache__={};function __nested_webpack_require_90442__(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](n,n.exports,__nested_webpack_require_90442__),n.loaded=!0,n.exports}__nested_webpack_require_90442__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_90442__.d(t,{a:t}),t},__nested_webpack_require_90442__.d=function(e,t){for(var n in t)__nested_webpack_require_90442__.o(t,n)&&!__nested_webpack_require_90442__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_90442__.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_90442__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__nested_webpack_require_90442__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_90442__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __nested_webpack_exports__=__nested_webpack_require_90442__(1);return __nested_webpack_exports__}()},module.exports=r(__webpack_require__(8),__webpack_require__(11),__webpack_require__(9),__webpack_require__(28),__webpack_require__(12),__webpack_require__(13),function(){try{return __webpack_require__(53)}catch(e){}}())},function(e,t,n){n.d(t,{N:function(){return u}});var r=n(2),o=n(5),i=n(46),a=n(17),s=n(19),l=n(44),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return(0,r.C6)(t,e),t.attachTo=function(e,n){void 0===n&&(n={isUnbounded:void 0});var r=new t(e);return void 0!==n.isUnbounded&&(r.unbounded=n.isUnbounded),r},t.createAdapter=function(e){return{addClass:function(t){return e.root.classList.add(t)},browserSupportsCssVars:function(){return l.supportsCssVariables(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(t){return e.root.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,(0,i.E)())},deregisterInteractionHandler:function(t,n){return e.root.removeEventListener(t,n,(0,i.E)())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,a.cK)(e.root,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,(0,i.E)())},registerInteractionHandler:function(t,n){return e.root.addEventListener(t,n,(0,i.E)())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root.classList.remove(t)},updateCssVariable:function(t,n){return e.root.style.setProperty(t,n)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(e){this.isUnbounded=Boolean(e),this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new s.E(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},t}(o.O)},function(e,t){
|
|
52
|
+
function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))return n;n=n.parentElement}return null}function o(e,t){return(e.matches||e.webkitMatchesSelector||e.msMatchesSelector).call(e,t)}function i(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var r=n.scrollWidth;return document.documentElement.removeChild(n),r}n.d(t,{cK:function(){return o},et:function(){return i},kp:function(){return r}})},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(16),a=n(3),s=(e,t,n)=>"auto"===(t=t||n||"auto")?(e=>"string"==typeof e&&e.includes("/")?"url":o.isValidElement(e)?"component":"ligature")(e):t,l={ligature:({content:e,...t})=>r.jsx(c,{...t,children:e}),className:({content:e,...t})=>r.jsx(c,{...t}),url:({content:e,...t})=>r.jsx(c,{...t,style:{...t.style,backgroundImage:`url(${e})`}}),component:({content:e,...t})=>{if("svg"===e.type){const{children:n,...o}=e.props;return r.jsx(c,{...o,...t,tag:"svg",children:n})}return r.jsx(c,{...t,children:e})},auto:void 0},u=e=>o.isValidElement(e)||e&&"object"!=typeof e?{icon:e}:e,c=o.forwardRef((function(e,t){return r.jsx(a.Tag,{tag:"i",...e,ref:t})})),d=a.createComponent((function({icon:e,...t},n){const r=i.useProviderContext(),{icon:c,strategy:d,prefix:f,basename:p,render:h,size:_,...m}={...u(e)},{basename:v=null,prefix:g=null,strategy:b=null,render:y=null}=r.icon||{},E=c,x=s(E,d||null,b||null),T=void 0===p?v:p,C="className"===x&&"string"==typeof c?`${String(f||g)}${c}`:null;let A=!!x&&l[x]||null;if("custom"===x&&(A=h||y),!A)return console.error(`Icon: rendering not implemented for ${String(x)}.`),null;const w=A({...t,...m,ref:n,content:E,className:a.classNames("rmwc-icon",`rmwc-icon--${x}`,T,t.className,m.className,C,{[`rmwc-icon--size-${_||""}`]:!!_})});if(!o.isValidElement(w))return null;const I=a.getDisplayName(w.props.children);return I.includes("Avatar")||I.includes("Icon")?o.cloneElement(w.props.children,{...w.props.children.props,...w.props,ref:n,children:w.props.children.props.children,className:a.classNames(w.props.className,w.props.children.props.className)}):w}));d.displayName="Icon",t.Icon=d,t.getIconStrategy=s},function(e,t,n){n.d(t,{E:function(){return c}});var r=n(2),o=n(4),i=n(56),a=n(44),s=["touchstart","pointerdown","mousedown","keydown"],l=["touchend","pointerup","mouseup","contextmenu"],u=[],c=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.activationAnimationHasEnded=!1,o.activationTimer=0,o.fgDeactivationRemovalTimer=0,o.fgScale="0",o.frame={width:0,height:0},o.initialSize=0,o.layoutFrame=0,o.maxRadius=0,o.unboundedCoords={left:0,top:0},o.activationState=o.defaultActivationState(),o.activationTimerCallback=function(){o.activationAnimationHasEnded=!0,o.runDeactivationUXLogicIfReady()},o.activateHandler=function(e){o.activateImpl(e)},o.deactivateHandler=function(){o.deactivateImpl()},o.focusHandler=function(){o.handleFocus()},o.blurHandler=function(){o.handleBlur()},o.resizeHandler=function(){o.layout()},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return i.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},browserSupportsCssVars:function(){return!0},computeBoundingRect:function(){return{top:0,right:0,bottom:0,left:0,width:0,height:0}},containsEventTarget:function(){return!0},deregisterDocumentInteractionHandler:function(){},deregisterInteractionHandler:function(){},deregisterResizeHandler:function(){},getWindowPageOffset:function(){return{x:0,y:0}},isSurfaceActive:function(){return!0},isSurfaceDisabled:function(){return!0},isUnbounded:function(){return!0},registerDocumentInteractionHandler:function(){},registerInteractionHandler:function(){},registerResizeHandler:function(){},removeClass:function(){},updateCssVariable:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this,n=this.supportsPressRipple();if(this.registerRootHandlers(n),n){var r=t.cssClasses,o=r.ROOT,i=r.UNBOUNDED;requestAnimationFrame((function(){e.adapter.addClass(o),e.adapter.isUnbounded()&&(e.adapter.addClass(i),e.layoutInternal())}))}},t.prototype.destroy=function(){var e=this;if(this.supportsPressRipple()){this.activationTimer&&(clearTimeout(this.activationTimer),this.activationTimer=0,this.adapter.removeClass(t.cssClasses.FG_ACTIVATION)),this.fgDeactivationRemovalTimer&&(clearTimeout(this.fgDeactivationRemovalTimer),this.fgDeactivationRemovalTimer=0,this.adapter.removeClass(t.cssClasses.FG_DEACTIVATION));var n=t.cssClasses,r=n.ROOT,o=n.UNBOUNDED;requestAnimationFrame((function(){e.adapter.removeClass(r),e.adapter.removeClass(o),e.removeCssVars()}))}this.deregisterRootHandlers(),this.deregisterDeactivationHandlers()},t.prototype.activate=function(e){this.activateImpl(e)},t.prototype.deactivate=function(){this.deactivateImpl()},t.prototype.layout=function(){var e=this;this.layoutFrame&&cancelAnimationFrame(this.layoutFrame),this.layoutFrame=requestAnimationFrame((function(){e.layoutInternal(),e.layoutFrame=0}))},t.prototype.setUnbounded=function(e){var n=t.cssClasses.UNBOUNDED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleFocus=function(){var e=this;requestAnimationFrame((function(){return e.adapter.addClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.handleBlur=function(){var e=this;requestAnimationFrame((function(){return e.adapter.removeClass(t.cssClasses.BG_FOCUSED)}))},t.prototype.supportsPressRipple=function(){return this.adapter.browserSupportsCssVars()},t.prototype.defaultActivationState=function(){return{activationEvent:void 0,hasDeactivationUXRun:!1,isActivated:!1,isProgrammatic:!1,wasActivatedByPointer:!1,wasElementMadeActive:!1}},t.prototype.registerRootHandlers=function(e){var t,n;if(e){try{for(var o=(0,r.Ju)(s),i=o.next();!i.done;i=o.next()){var a=i.value;this.adapter.registerInteractionHandler(a,this.activateHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}this.adapter.isUnbounded()&&this.adapter.registerResizeHandler(this.resizeHandler)}this.adapter.registerInteractionHandler("focus",this.focusHandler),this.adapter.registerInteractionHandler("blur",this.blurHandler)},t.prototype.registerDeactivationHandlers=function(e){var t,n;if("keydown"===e.type)this.adapter.registerInteractionHandler("keyup",this.deactivateHandler);else try{for(var o=(0,r.Ju)(l),i=o.next();!i.done;i=o.next()){var a=i.value;this.adapter.registerDocumentInteractionHandler(a,this.deactivateHandler)}}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}},t.prototype.deregisterRootHandlers=function(){var e,t;try{for(var n=(0,r.Ju)(s),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.activateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}this.adapter.deregisterInteractionHandler("focus",this.focusHandler),this.adapter.deregisterInteractionHandler("blur",this.blurHandler),this.adapter.isUnbounded()&&this.adapter.deregisterResizeHandler(this.resizeHandler)},t.prototype.deregisterDeactivationHandlers=function(){var e,t;this.adapter.deregisterInteractionHandler("keyup",this.deactivateHandler);try{for(var n=(0,r.Ju)(l),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterDocumentInteractionHandler(i,this.deactivateHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.removeCssVars=function(){var e=this,n=t.strings;Object.keys(n).forEach((function(t){0===t.indexOf("VAR_")&&e.adapter.updateCssVariable(n[t],null)}))},t.prototype.activateImpl=function(e){var t=this;if(!this.adapter.isSurfaceDisabled()){var n=this.activationState;if(!n.isActivated){var r=this.previousActivationEvent;if(!(r&&void 0!==e&&r.type!==e.type))n.isActivated=!0,n.isProgrammatic=void 0===e,n.activationEvent=e,n.wasActivatedByPointer=!n.isProgrammatic&&(void 0!==e&&("mousedown"===e.type||"touchstart"===e.type||"pointerdown"===e.type)),void 0!==e&&u.length>0&&u.some((function(e){return t.adapter.containsEventTarget(e)}))?this.resetActivationState():(void 0!==e&&(u.push(e.target),this.registerDeactivationHandlers(e)),n.wasElementMadeActive=this.checkElementMadeActive(e),n.wasElementMadeActive&&this.animateActivation(),requestAnimationFrame((function(){u=[],n.wasElementMadeActive||void 0===e||" "!==e.key&&32!==e.keyCode||(n.wasElementMadeActive=t.checkElementMadeActive(e),n.wasElementMadeActive&&t.animateActivation()),n.wasElementMadeActive||(t.activationState=t.defaultActivationState())})))}}},t.prototype.checkElementMadeActive=function(e){return void 0===e||"keydown"!==e.type||this.adapter.isSurfaceActive()},t.prototype.animateActivation=function(){var e=this,n=t.strings,r=n.VAR_FG_TRANSLATE_START,o=n.VAR_FG_TRANSLATE_END,i=t.cssClasses,a=i.FG_DEACTIVATION,s=i.FG_ACTIVATION,l=t.numbers.DEACTIVATION_TIMEOUT_MS;this.layoutInternal();var u="",c="";if(!this.adapter.isUnbounded()){var d=this.getFgTranslationCoordinates(),f=d.startPoint,p=d.endPoint;u=f.x+"px, "+f.y+"px",c=p.x+"px, "+p.y+"px"}this.adapter.updateCssVariable(r,u),this.adapter.updateCssVariable(o,c),clearTimeout(this.activationTimer),clearTimeout(this.fgDeactivationRemovalTimer),this.rmBoundedActivationClasses(),this.adapter.removeClass(a),this.adapter.computeBoundingRect(),this.adapter.addClass(s),this.activationTimer=setTimeout((function(){e.activationTimerCallback()}),l)},t.prototype.getFgTranslationCoordinates=function(){var e,t=this.activationState,n=t.activationEvent;return{startPoint:e={x:(e=t.wasActivatedByPointer?(0,a.getNormalizedEventCoords)(n,this.adapter.getWindowPageOffset(),this.adapter.computeBoundingRect()):{x:this.frame.width/2,y:this.frame.height/2}).x-this.initialSize/2,y:e.y-this.initialSize/2},endPoint:{x:this.frame.width/2-this.initialSize/2,y:this.frame.height/2-this.initialSize/2}}},t.prototype.runDeactivationUXLogicIfReady=function(){var e=this,n=t.cssClasses.FG_DEACTIVATION,r=this.activationState,o=r.hasDeactivationUXRun,a=r.isActivated;(o||!a)&&this.activationAnimationHasEnded&&(this.rmBoundedActivationClasses(),this.adapter.addClass(n),this.fgDeactivationRemovalTimer=setTimeout((function(){e.adapter.removeClass(n)}),i.nL.FG_DEACTIVATION_MS))},t.prototype.rmBoundedActivationClasses=function(){var e=t.cssClasses.FG_ACTIVATION;this.adapter.removeClass(e),this.activationAnimationHasEnded=!1,this.adapter.computeBoundingRect()},t.prototype.resetActivationState=function(){var e=this;this.previousActivationEvent=this.activationState.activationEvent,this.activationState=this.defaultActivationState(),setTimeout((function(){return e.previousActivationEvent=void 0}),t.numbers.TAP_DELAY_MS)},t.prototype.deactivateImpl=function(){var e=this,t=this.activationState;if(t.isActivated){var n=(0,r.Cl)({},t);t.isProgrammatic?(requestAnimationFrame((function(){e.animateDeactivation(n)})),this.resetActivationState()):(this.deregisterDeactivationHandlers(),requestAnimationFrame((function(){e.activationState.hasDeactivationUXRun=!0,e.animateDeactivation(n),e.resetActivationState()})))}},t.prototype.animateDeactivation=function(e){var t=e.wasActivatedByPointer,n=e.wasElementMadeActive;(t||n)&&this.runDeactivationUXLogicIfReady()},t.prototype.layoutInternal=function(){var e=this;this.frame=this.adapter.computeBoundingRect();var n=Math.max(this.frame.height,this.frame.width);this.maxRadius=this.adapter.isUnbounded()?n:Math.sqrt(Math.pow(e.frame.width,2)+Math.pow(e.frame.height,2))+t.numbers.PADDING;var r=Math.floor(n*t.numbers.INITIAL_ORIGIN_SCALE);this.adapter.isUnbounded()&&r%2!=0?this.initialSize=r-1:this.initialSize=r,this.fgScale=""+this.maxRadius/this.initialSize,this.updateLayoutCssVars()},t.prototype.updateLayoutCssVars=function(){var e=t.strings,n=e.VAR_FG_SIZE,r=e.VAR_LEFT,o=e.VAR_TOP,i=e.VAR_FG_SCALE;this.adapter.updateCssVariable(n,this.initialSize+"px"),this.adapter.updateCssVariable(i,this.fgScale),this.adapter.isUnbounded()&&(this.unboundedCoords={left:Math.round(this.frame.width/2-this.initialSize/2),top:Math.round(this.frame.height/2-this.initialSize/2)},this.adapter.updateCssVariable(r,this.unboundedCoords.left+"px"),this.adapter.updateCssVariable(o,this.unboundedCoords.top+"px"))},t}(o.I)},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",r;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;r=function(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__nested_webpack_exports__,__nested_webpack_require_2324__){__nested_webpack_require_2324__.r(__nested_webpack_exports__),__nested_webpack_require_2324__.d(__nested_webpack_exports__,{$:function(){return $},BoundTools:function(){return BoundTools},CloseEventNames:function(){return CloseEventNames},ConsoleOutputMethods:function(){return ConsoleOutputMethods},DEFAULT_ENCODING:function(){return DEFAULT_ENCODING},IgnoreNullAndUndefinedSymbol:function(){return IgnoreNullAndUndefinedSymbol},Lock:function(){return Lock},Semaphore:function(){return Semaphore},Tools:function(){return Tools},ValueCopySymbol:function(){return ValueCopySymbol},augment$:function(){return augment$},currentImport:function(){return currentImport},currentRequire:function(){return currentRequire},determine$:function(){return determine$},determineGlobalContext:function(){return determineGlobalContext},globalContext:function(){return globalContext},optionalRequire:function(){return optionalRequire},setGlobalContext:function(){return setGlobalContext}});var _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__=__nested_webpack_require_2324__(0),_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0__),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__=__nested_webpack_require_2324__(2),_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1__),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__=__nested_webpack_require_2324__(3),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2__),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__=__nested_webpack_require_2324__(4),_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3__),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__=__nested_webpack_require_2324__(5),_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default=__nested_webpack_require_2324__.n(_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4__),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__=__nested_webpack_require_2324__(6),_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default=__nested_webpack_require_2324__.n(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5__),_ref,_globalContext$fetch,_optionalRequire;function _createForOfIteratorHelperLoose(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=_unsupportedIterableToArray(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 _unsupportedIterableToArray(e,t){if(e){if("string"==typeof e)return _arrayLikeToArray(e,t);var n=Object.prototype.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)?_arrayLikeToArray(e,t):void 0}}function _arrayLikeToArray(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}module=__nested_webpack_require_2324__.hmd(module);var DEFAULT_ENCODING="utf8",CloseEventNames=["close","exit","SIGINT","SIGTERM","SIGQUIT","uncaughtException"],ConsoleOutputMethods=["debug","error","info","log","warn"],ValueCopySymbol=Symbol.for("clientnodeValue"),IgnoreNullAndUndefinedSymbol=Symbol.for("clientnodeIgnoreNullAndUndefined"),determineGlobalContext=function(){return"undefined"==typeof globalThis?void 0===window?void 0===__nested_webpack_require_2324__.g?module:__nested_webpack_require_2324__.g.window?__nested_webpack_require_2324__.g.window:__nested_webpack_require_2324__.g:window:globalThis},globalContext=determineGlobalContext(),setGlobalContext=function(e){globalContext=e},currentRequire=eval("typeof require === 'undefined' ? null : require"),currentOptionalImport=null;try{currentOptionalImport=eval("typeof import === 'undefined' ? null : import")}catch(e){}var currentImport=currentOptionalImport,optionalRequire=function(e){try{return currentRequire?currentRequire(e):null}catch(e){return null}};globalContext.fetch=null!==(_ref=null!==(_globalContext$fetch=globalContext.fetch)&&void 0!==_globalContext$fetch?_globalContext$fetch:null==(_optionalRequire=optionalRequire("node-fetch"))?void 0:_optionalRequire.default)&&void 0!==_ref?_ref:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return currentImport("node-fetch").then((function(e){var n;return null==e?void 0:(n=e).default.apply(n,t)}))};var _ref3=optionalRequire("fs")||{},_ref3$mkdirSync=_ref3.mkdirSync,mkdirSync=void 0===_ref3$mkdirSync?null:_ref3$mkdirSync,_ref3$readdirSync=_ref3.readdirSync,readdirSync=void 0===_ref3$readdirSync?null:_ref3$readdirSync,_ref3$readFileSync=_ref3.readFileSync,readFileSync=void 0===_ref3$readFileSync?null:_ref3$readFileSync,_ref3$statSync=_ref3.statSync,statSync=void 0===_ref3$statSync?null:_ref3$statSync,_ref3$writeFileSync=_ref3.writeFileSync,writeFileSync=void 0===_ref3$writeFileSync?null:_ref3$writeFileSync,_ref4=optionalRequire("fs/promises")||{},_ref4$mkdir=_ref4.mkdir,mkdir=void 0===_ref4$mkdir?null:_ref4$mkdir,_ref4$readdir=_ref4.readdir,readdir=void 0===_ref4$readdir?null:_ref4$readdir,_ref4$readFile=_ref4.readFile,readFile=void 0===_ref4$readFile?null:_ref4$readFile,_ref4$stat=_ref4.stat,stat=void 0===_ref4$stat?null:_ref4$stat,_ref4$writeFile=_ref4.writeFile,writeFile=void 0===_ref4$writeFile?null:_ref4$writeFile,_ref5=optionalRequire("path")||{},_ref5$basename=_ref5.basename,basename=void 0===_ref5$basename?null:_ref5$basename,_ref5$join=_ref5.join,join=void 0===_ref5$join?null:_ref5$join,_ref5$resolve=_ref5.resolve,resolve=void 0===_ref5$resolve?null:_ref5$resolve,determine$=function(){var e=function(){};if(globalContext.$&&null!==globalContext.$)e=globalContext.$;else{if(!globalContext.$&&globalContext.document)try{e=__nested_webpack_require_2324__(7)}catch(e){}if(null==e||"object"==typeof e&&0===Object.keys(e).length){var t,n=null!=(t=globalContext.document)&&t.querySelectorAll?globalContext.document.querySelectorAll.bind(globalContext.document):function(){return null};(e=function(t){var r=null;if("string"==typeof t?r=n(t):Array.isArray(t)?r=t:("object"==typeof HTMLElement&&t instanceof HTMLElement||1===(null==t?void 0:t.nodeType)&&"string"==typeof(null==t?void 0:t.nodeName))&&(r=[t]),r){if(e.fn)for(var o=0,i=Object.entries(e.fn);o<i.length;o++){var a=i[o],s=a[0],l=a[1];r[s]=l.bind(r)}return r.jquery="clientnode",r}return Tools.isFunction(t)&&globalContext.document&&globalContext.document.addEventListener("DOMContentLoaded",t),t}).fn={}}}return e.global||(e.global=globalContext),e.global.window&&(!e.document&&e.global.window.document&&(e.document=e.global.window.document),!e.location&&e.global.window.location&&(e.location=e.global.window.location)),e},$=determine$(),Lock=function(){function e(e){void 0===e&&(e={}),this.locks=void 0,this.locks=e}var t=e.prototype;return t.acquire=function(e,t,n){var r=this;return void 0===n&&(n=!1),new Promise((function(o){var i=function(e){var i,a;t&&(a=t(e));var s=function(t){return n&&r.release(e),o(t),t};return null!=(i=a)&&i.then?a.then(s):(s(e),a)};Object.prototype.hasOwnProperty.call(r.locks,e)?r.locks[e].push(i):(r.locks[e]=[],i(e))}))},t.release=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){var n;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(!Object.prototype.hasOwnProperty.call(this.locks,t)){e.next=9;break}if(void 0!==(n=this.locks[t].shift())){e.next=6;break}delete this.locks[t],e.next=9;break;case 6:return e.next=8,n(t);case 8:return e.abrupt("return",e.sent);case 9:case"end":return e.stop()}}),e,this)})));return function(t){return e.apply(this,arguments)}}(),e}(),Semaphore=function(){function e(e){void 0===e&&(e=2),this.queue=[],this.numberOfResources=void 0,this.numberOfFreeResources=void 0,this.numberOfResources=e,this.numberOfFreeResources=e}var t=e.prototype;return t.acquire=function(){var e=this;return new Promise((function(t){e.numberOfFreeResources<=0?e.queue.push(t):(e.numberOfFreeResources-=1,t(e.numberOfFreeResources))}))},t.release=function(){var e=this.queue.pop();void 0===e?this.numberOfFreeResources+=1:e(this.numberOfFreeResources)},e}(),Tools=function(){function Tools(e){var t=this;this.$domNode=null,this.options=void 0,this.stringNormalizeDomNodeSelector=function(e){var n="";return t.options.domNodeSelectorPrefix&&(n=t.options.domNodeSelectorPrefix+" "),e.startsWith(n)||e.trim().startsWith("<")||(e=n+e),e.trim()},this.sendToExternalURL=function(e,n,r,o){void 0===r&&(r="post"),void 0===o&&(o=!0);var i=$("<iframe>").attr("name",t.options.name.charAt(0).toLowerCase()+t.options.name.substring(1)+""+(new Date).getTime()).hide();return t.$domNode&&t.$domNode.append(i),Tools.sendToIFrame(i,e,n,r,o),i},this._bindEventHelper=function(e,n,r){void 0===n&&(n=!1),r||(r=n?"off":"on");var o=$(e[0]);if("object"===Tools.determineType(e[1])&&!n){for(var i=0,a=Object.entries(e[1]);i<a.length;i++){var s=a[i],l=s[0],u=s[1];t[r](o,l,u)}return o}return 0===(e=Tools.arrayMake(e).slice(1)).length&&e.push(""),e[0].includes(".")||(e[0]+="."+t.options.name),o[r].apply(o,e)},e&&(this.$domNode=e),this.options=Tools._defaultOptions,$.global.console||($.global.console={});for(var n,r=_createForOfIteratorHelperLoose(ConsoleOutputMethods);!(n=r()).done;){var o=n.value;o in $.global.console||($.global.console[o]=Tools.noop)}}var _proto3=Tools.prototype,e;return _proto3.destructor=function(){var e;return null!=(e=$.fn)&&e.off&&this.off("*"),this},_proto3.initialize=function(e){return void 0===e&&(e={}),this.options=Tools.extend(!0,{},Tools._defaultOptions,e),this.options.domNodeSelectorPrefix=Tools.stringFormat(this.options.domNodeSelectorPrefix,Tools.stringCamelCaseToDelimited(null===this.options.domNodeSelectorInfix?"":this.options.domNodeSelectorInfix||this.options.name)),this.renderJavaScriptDependentVisibility(),this},Tools.controller=function(e,t,n){void 0===n&&(n=null),"function"==typeof e&&((e=new e(n))instanceof Tools||(e=Tools.extend(!0,new Tools,e)));var r,o=Tools.arrayMake(t);if(o.length&&"string"==typeof o[0]&&o[0]in e)return Tools.isFunction(e[o[0]])?(r=e)[o[0]].apply(r,o.slice(1)):e[o[0]];if(0===o.length||"object"==typeof o[0]){var i,a,s=(i=e).initialize.apply(i,o),l=e.options.name||e.constructor.name;return null!=(a=n)&&a.data&&!n.data(l)&&n.data(l,e),s}if(o.length&&"string"==typeof o[0])throw new Error('Method "'+o[0]+'" does not exist on $-extended dom node "'+e+'".')},Tools.dateTimeFormat=function(e,t,n,r){void 0===e&&(e="full"),void 0===t&&(t=new Date),void 0===n&&(n={}),void 0===r&&(r=Tools.locales),"number"==typeof t&&(t*=1e3);var o=new Date(t);if(["full","long","medium","short"].includes(e))return new Intl.DateTimeFormat([].concat(r,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:e,timeStyle:e},n)).format(o);for(var i,a={},s=_createForOfIteratorHelperLoose(["full","long","medium","short"]);!(i=s()).done;){var l=i.value;a[l+"Literals"]=[];var u=new Intl.DateTimeFormat([].concat(r,"en-US"),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({dateStyle:l,timeStyle:l},n));a[l]=u.format(o);for(var c,d=_createForOfIteratorHelperLoose(u.formatToParts(o));!(c=d()).done;){var f=c.value;"literal"===f.type?a[l+"Literals"].push(f.value):a[""+l+Tools.stringCapitalize(f.type)]=f.value}}var p=Tools.stringEvaluate("`"+e+"`",a);if(p.error)throw new Error(p.error);return p.result.replace(/\s/g," ")},Tools.isNumeric=function(e){var t=Tools.determineType(e);return["number","string"].includes(t)&&!isNaN(e-parseFloat(e))},Tools.isWindow=function(e){return![null,void 0].includes(e)&&"object"==typeof e&&e===(null==e?void 0:e.window)},Tools.isArrayLike=function(e){var t;try{t=Boolean(e)&&e.length}catch(e){return!1}var n=Tools.determineType(e);if("function"===n||Tools.isWindow(e))return!1;if("array"===n||0===t)return!0;if("number"==typeof t&&t>0)try{return e[t-1],!0}catch(e){}return!1},Tools.isAnyMatching=function(e,t){for(var n,r=_createForOfIteratorHelperLoose(t);!(n=r()).done;){var o=n.value;if("string"==typeof o){if(o===e)return!0}else if(o.test(e))return!0}return!1},Tools.isObject=function(e){return null!==e&&"object"==typeof e},Tools.isPlainObject=function(e){return null!==e&&"object"==typeof e&&Tools.plainObjectPrototypes.includes(Object.getPrototypeOf(e))},Tools.isSet=function(e){return"set"===Tools.determineType(e)},Tools.isMap=function(e){return"map"===Tools.determineType(e)},Tools.isProxy=function(e){return Boolean(e.__target__)},Tools.isFunction=function(e){return Boolean(e)&&["[object AsyncFunction]","[object Function]"].includes({}.toString.call(e))},_proto3.log=function(e,t,n,r){if(void 0===t&&(t=!1),void 0===n&&(n=!1),void 0===r&&(r="info"),this.options.logging||t||["error","critical"].includes(r)){for(var o,i=arguments.length,a=new Array(i>4?i-4:0),s=4;s<i;s++)a[s-4]=arguments[s];if(n?o=e:"string"==typeof e?o=this.options.name+" ("+r+"): "+Tools.stringFormat.apply(Tools,[e].concat(a)):Tools.isNumeric(e)||"boolean"==typeof e?o=this.options.name+" ("+r+"): "+e.toString():(this.log(",--------------------------------------------,"),this.log(e,t,!0),this.log("'--------------------------------------------'")),o)if($.global.console&&r in $.global.console&&$.global.console[r]!==Tools.noop)$.global.console[r](o);else{var l;null!=(l=$.global.window)&&l.alert&&$.global.window.alert(o)}}},_proto3.info=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!1,!1,"info"].concat(n))},_proto3.debug=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!1,!1,"debug"].concat(n))},_proto3.error=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!0,!1,"error"].concat(n))},_proto3.critical=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!0,!1,"warn"].concat(n))},_proto3.warn=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];this.log.apply(this,[e,!1,!1,"warn"].concat(n))},Tools.show=function(e,t,n){void 0===t&&(t=3),void 0===n&&(n=0);var r="";if("object"===Tools.determineType(e)){for(var o=0,i=Object.entries(e);o<i.length;o++){var a=i[o],s=a[0],l=a[1];r+=s.toString()+": ",r+=n<=t?Tools.show(l,t,n+1):""+l,r+="\n"}return r.trim()}return(r=(""+e).trim())+' (Type: "'+Tools.determineType(e)+'")'},Tools.deleteCookie=function(e){$.document&&($.document.cookie=e+"=; Max-Age=-99999999;")},Tools.getCookie=function(e){if($.document){for(var t,n=e+"=",r=_createForOfIteratorHelperLoose(decodeURIComponent($.document.cookie).split(";"));!(t=r()).done;){for(var o=t.value;o.startsWith(" ");)o=o.substring(1);if(o.startsWith(n))return o.substring(n.length,o.length)}return""}return null},Tools.setCookie=function(e,t,n){if(void 0===n&&(n={}),$.document){var r,o=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({domain:"",httpOnly:!1,minimal:!1,numberOfDaysUntilExpiration:365,path:"/",sameSite:"Lax",secure:!0},n),i=new Date;i.setTime(i.getTime()+24*o.numberOfDaysUntilExpiration*60*60*1e3),""===o.domain&&null!=(r=$.location)&&r.hostname&&(o.domain=$.location.hostname);var a=e+"="+t+(o.minimal?"":';Expires="'+i.toUTCString()+";Path="+o.path+";Domain="+o.domain+(o.sameSite?";SameSite="+o.sameSite:"")+(o.secure?";Secure":"")+(o.httpOnly?";HttpOnly":""));return $.document.cookie=a,!0}return!1},Tools.isEquivalentDOM=function(e,t,n){if(void 0===n&&(n=!1),e===t)return!0;if(e&&t){for(var r=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,o={first:e,second:t},i={first:$("<dummy>"),second:$("<dummy>")},a=0,s=Object.entries(o);a<s.length;a++){var l=s[a],u=l[0],c=l[1];if("string"==typeof c&&(n||c.startsWith("<")&&c.endsWith(">")&&c.length>=3||r.test(c)))i[u]=$("<div>"+c+"</div>");else try{var d=$(c).clone();if(!d.length)return!1;i[u]=$("<div>").append(d)}catch(e){return!1}}if(i.first.length&&i.first.length===i.second.length){i.first=i.first.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode,i.second=i.second.Tools("normalizedClassNames").$domNode.Tools("normalizedStyles").$domNode;for(var f=0,p=0,h=i.first;p<h.length;p++){if(!h[p].isEqualNode(i.second[f]))return!1;f+=1}return!0}}return!1},_proto3.getPositionRelativeToViewport=function(e){void 0===e&&(e={});var t=Tools.extend({bottom:0,left:0,right:0,top:0},e),n=this.$domNode;if($.global.window&&null!=n&&n.length&&n[0]&&"getBoundingClientRect"in n[0]){var r=$($.global.window),o=n[0].getBoundingClientRect();if(o){if(o.top&&o.top+t.top<0)return"above";if(o.left+t.left<0)return"left";var i=r.height();if("number"==typeof i&&i<o.bottom+t.bottom)return"below";var a=r.width();if("number"==typeof a&&a<o.right+t.right)return"right"}}return"in"},Tools.generateDirectiveSelector=function(e){var t=Tools.stringCamelCaseToDelimited(e);return t+", ."+t+", ["+t+"], [data-"+t+"], [x-"+t+"]"+(t.includes("-")?", ["+t.replace(/-/g,"\\:")+"], ["+t.replace(/-/g,"_")+"]":"")},_proto3.removeDirective=function(e){if(null===this.$domNode)return null;var t=Tools.stringCamelCaseToDelimited(e);return this.$domNode.removeClass(t).removeAttr(t).removeAttr("data-"+t).removeAttr("x-"+t).removeAttr(t.replace("-",":")).removeAttr(t.replace("-","_"))},_proto3.renderJavaScriptDependentVisibility=function(){!Tools._javaScriptDependentContentHandled&&$.document&&"filter"in $&&"hide"in $&&"show"in $&&($(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.hideJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentHide")})).data("javaScriptDependentContentHide",!0).hide(),$(this.options.domNodeSelectorPrefix+" "+this.options.domNodes.showJavaScriptEnabled).filter((function(e,t){return!$(t).data("javaScriptDependentContentShow")})).data("javaScriptDependentContentShow",!0).show(),Tools._javaScriptDependentContentHandled=!0)},Tools.getNormalizedDirectiveName=function(e){for(var t,n=_createForOfIteratorHelperLoose(["-",":","_"]);!(t=n()).done;){for(var r,o=t.value,i=!1,a=_createForOfIteratorHelperLoose(["data"+o,"x"+o]);!(r=a()).done;){var s=r.value;if(e.startsWith(s)){e=e.substring(s.length),i=!0;break}}if(i)break}for(var l,u=_createForOfIteratorHelperLoose(["-",":","_"]);!(l=u()).done;){var c=l.value;e=Tools.stringDelimitedToCamelCase(e,c)}return e},_proto3.getDirectiveValue=function(e){if(null===this.$domNode)return null;for(var t=Tools.stringCamelCaseToDelimited(e),n=0,r=[t,"data-"+t,"x-"+t,t.replace("-","\\:")];n<r.length;n++){var o=r[n],i=this.$domNode.attr(o);if("string"==typeof i)return i}return null},_proto3.sliceDomNodeSelectorPrefix=function(e){return this.options.domNodeSelectorPrefix&&e.startsWith(this.options.domNodeSelectorPrefix)?e.substring(this.options.domNodeSelectorPrefix.length).trim():e},Tools.getDomNodeName=function(e){var t=/^<?([a-zA-Z]+).*>?.*/.exec(e);return t?t[1]:null},_proto3.grabDomNodes=function(e,t){var n=this,r={};if(e)if(t)for(var o=$(t),i=0,a=Object.entries(e);i<a.length;i++){var s=a[i],l=s[0],u=s[1];r[l]=o.find(u)}else for(var c=0,d=Object.entries(e);c<d.length;c++){var f=d[c],p=f[0],h=f[1],_=/, */.exec(h);_&&(e[p]+=h.split(_[0]).map((function(e){return", "+n.stringNormalizeDomNodeSelector(e)})).join("")),r[p]=$(this.stringNormalizeDomNodeSelector(e[p]))}return this.options.domNodeSelectorPrefix&&(r.parent=$(this.options.domNodeSelectorPrefix)),$.global.window&&(r.window=$($.global.window),$.document&&(r.document=$($.document))),r},Tools.isolateScope=function(e,t){for(var n in void 0===t&&(t=[]),e)t.includes(n.charAt(0))||["constructor","prototype","this"].includes(n)||Object.prototype.hasOwnProperty.call(e,n)||(e[n]=void 0);return e},Tools.determineUniqueScopeName=function(e,t,n,r){if(void 0===e&&(e="callback"),void 0===t&&(t=""),void 0===n&&(n=$.global),void 0===r&&(r=""),r.length&&!(r in n))return r;for(var o=e+t;(o=e+""+Math.round(Math.random()*Math.pow(10,10))+t)in n;);return o},Tools.getParameterNames=function(e){var t=("string"==typeof e?e:e.toString()).replace(/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,"");if(t.startsWith("class"))return Tools.getParameterNames("function "+t.replace(/.*(constructor\([^)]+\))/m,"$1"));var n=/^function\s*[^(]*\(\s*([^)]*)\)/m.exec(t);null===n&&(n=/^[^(]*\(\s*([^)]*)\) *=>.*/m.exec(t)),null===n&&(n=/([^= ]+) *=>.*/m.exec(t));var r=[];if(n&&n.length>1&&n[1].trim().length){for(var o,i=_createForOfIteratorHelperLoose(n[1].split(","));!(o=i()).done;){var a=o.value;r.push(a.replace(/=.+$/g,"").trim())}return r}return r},Tools.identity=function(e){return e},Tools.invertArrayFilter=function(e){return function(t){if(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];var i=e.apply(void 0,[t].concat(r)),a=[];if(i.length)for(var s,l=_createForOfIteratorHelperLoose(t);!(s=l()).done;){var u=s.value;i.includes(u)||a.push(u)}else a=t;return a}return t}},Tools.timeout=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];for(var r,o,i=Tools.noop,a=0,s=!1,l=0,u=t;l<u.length;l++){var c=u[l];"number"!=typeof c||isNaN(c)?"boolean"==typeof c?s=c:Tools.isFunction(c)&&(i=c):a=c}var d=new Promise((function(e,t){r=t,o=e})),f=function(){var e;(e=i).call.apply(e,[d].concat(t)),o(!1)},p=2147483647;if(a<=p)d.timeoutID=setTimeout(f,a);else{var h=Math.floor(a/p),_=a%p;!function e(){h>0?(h-=1,d.timeoutID=setTimeout(e,p)):d.timeoutID=setTimeout(f,_)}()}return d.clear=function(){d.timeoutID&&(clearTimeout(d.timeoutID),(s?r:o)(!0))},d},Tools.debounce=function(e,t){void 0===t&&(t=600);for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var i,a,s=!1,l=null,u=new Promise((function(e,t){i=e,a=t}));return function(){for(var n=arguments.length,o=new Array(n),c=0;c<n;c++)o[c]=arguments[c];if(o=o.concat(r||[]),s)return l=o,u;s=!0;var d=u,f=i,p=a,h=e.apply(void 0,o);return null!=h&&h.then?h.then((function(e){return f(e)}),(function(e){return p(e)})):f(h),u=new Promise((function(n,r){i=n,a=r,Tools.timeout(t,(function(){if(s=!1,l){var t=e.apply(void 0,l);l=null,null!=t&&t.then?t.then((function(e){return n(e)}),(function(e){return r(e)})):n(t),u=new Promise((function(e,t){i=e,a=t}))}}))})),d}},_proto3.fireEvent=function(e,t,n){var r;void 0===t&&(t=!1),void 0===n&&(n=this);for(var o="on"+Tools.stringCapitalize(e),i=n,a=arguments.length,s=new Array(a>3?a-3:0),l=3;l<a;l++)s[l-3]=arguments[l];return t||(o in i?i[o].apply(i,s):"_"+o in i&&i["_"+o].apply(i,s)),!i.options||!(o in i.options)||i.options[o]===Tools.noop||(r=i.options[o]).call.apply(r,[this].concat(s))},_proto3.on=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._bindEventHelper(t,!1)},_proto3.off=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return this._bindEventHelper(t,!0)},Tools.addDynamicGetterAndSetter=function(e,t,n,r,o,i){if(void 0===t&&(t=null),void 0===n&&(n=null),void 0===r&&(r={}),void 0===o&&(o=!0),void 0===i&&(i=[Object]),o&&"object"==typeof e)if(Array.isArray(e))for(var a,s=0,l=_createForOfIteratorHelperLoose(e);!(a=l()).done;){var u=a.value;e[s]=Tools.addDynamicGetterAndSetter(u,t,n,r,o),s+=1}else if(Tools.isMap(e))for(var c,d=_createForOfIteratorHelperLoose(e);!(c=d()).done;){var f=c.value,p=f[0],h=f[1];e.set(p,Tools.addDynamicGetterAndSetter(h,t,n,r,o))}else if(Tools.isSet(e)){for(var _,m=[],v=_createForOfIteratorHelperLoose(e);!(_=v()).done;){var g=_.value;e.delete(g),m.push(Tools.addDynamicGetterAndSetter(g,t,n,r,o))}for(var b=0,y=m;b<y.length;b++){var E=y[b];e.add(E)}}else if(null!==e)for(var x=0,T=Object.entries(e);x<T.length;x++){var C=T[x],A=C[0],w=C[1];e[A]=Tools.addDynamicGetterAndSetter(w,t,n,r,o)}if(t||n)for(var I,S,O=function(){var o=S.value;if(null!==e&&"object"==typeof e&&e instanceof o){var i=Tools.getProxyHandler(e,r),a=Tools.getProxyHandler(e,r);t&&(a.get=function(n,r){return"__target__"===r?e:"__revoke__"===r?function(){return u(),e}:"function"==typeof e[r]?e[r]:t(i.get(l,r),r,e)}),n&&(a.set=function(t,r,o){return i.set(l,r,n(r,o,e))});var s=Proxy.revocable({},a),l=s.proxy,u=s.revoke;return{v:l}}},L=_createForOfIteratorHelperLoose(i);!(S=L()).done;)if(I=O())return I.v;return e},Tools.convertCircularObjectToJSON=function(e,t,n){void 0===t&&(t=function(e){return null!=e?e:"__circularReference__"}),void 0===n&&(n=0);var r=new Map;return function(e){return JSON.stringify(e,(function e(n,o){if(null!==o&&"object"==typeof o){var i,a;if(r.has(o))return t(null!==(i=r.get(o))&&void 0!==i?i:null,n,o,r);if(r.set(o,null),Array.isArray(o)){a=[];for(var s,l=_createForOfIteratorHelperLoose(o);!(s=l()).done;){var u=s.value;a.push(e(null,u))}}else{a={};for(var c=0,d=Object.entries(o);c<d.length;c++){var f=d[c],p=f[0],h=f[1];a[p]=e(p,h)}}return r.set(o,a),a}return o}),n)}(e)},Tools.convertMapToPlainObject=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isMap(e)){for(var n,r={},o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value,a=i[0],s=i[1];t&&(s=Tools.convertMapToPlainObject(s,t)),["number","string"].includes(typeof a)&&(r[""+a]=s)}return r}if(t)if(Tools.isPlainObject(e))for(var l=0,u=Object.entries(e);l<u.length;l++){var c=u[l],d=c[0],f=c[1];e[d]=Tools.convertMapToPlainObject(f,t)}else if(Array.isArray(e))for(var p=0,h=0,_=e;h<_.length;h++){var m=_[h];e[p]=Tools.convertMapToPlainObject(m,t),p+=1}else if(Tools.isSet(e)){for(var v,g=[],b=_createForOfIteratorHelperLoose(e);!(v=b()).done;){var y=v.value;e.delete(y),g.push(Tools.convertMapToPlainObject(y,t))}for(var E=0,x=g;E<x.length;E++){var T=x[E];e.add(T)}}}return e},Tools.convertPlainObjectToMap=function(e,t){if(void 0===t&&(t=!0),"object"==typeof e){if(Tools.isPlainObject(e)){for(var n=new Map,r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];t&&(e[a]=Tools.convertPlainObjectToMap(s,t)),n.set(a,e[a])}return n}if(t)if(Array.isArray(e))for(var l=0,u=0,c=e;u<c.length;u++){var d=c[u];e[l]=Tools.convertPlainObjectToMap(d,t),l+=1}else if(Tools.isMap(e))for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,_=h[0],m=h[1];e.set(_,Tools.convertPlainObjectToMap(m,t))}else if(Tools.isSet(e)){for(var v,g=[],b=_createForOfIteratorHelperLoose(e);!(v=b()).done;){var y=v.value;e.delete(y),g.push(Tools.convertPlainObjectToMap(y,t))}for(var E=0,x=g;E<x.length;E++){var T=x[E];e.add(T)}}}return e},Tools.convertSubstringInPlainObject=function(e,t,n){for(var r=0,o=Object.entries(e);r<o.length;r++){var i=o[r],a=i[0],s=i[1];Tools.isPlainObject(s)?e[a]=Tools.convertSubstringInPlainObject(s,t,n):"string"==typeof s&&(e[a]=s.replace(t,n))}return e},Tools.copy=function(e,t,n,r,o,i,a){if(void 0===t&&(t=-1),void 0===n&&(n=ValueCopySymbol),void 0===r&&(r=null),void 0===o&&(o=!1),void 0===i&&(i=[]),void 0===a&&(a=0),null!==e&&"object"==typeof e)if(r){if(e===r)throw new Error("Can't copy because source and destination are identical.");if(!o&&![void 0,null].includes(e)){var s=i.indexOf(e);if(-1!==s)return i[s];i.push(e)}var l=function(e){if(-1!==t&&t<a+1)return n===ValueCopySymbol?e:n;var r=Tools.copy(e,t,n,null,o,i,a+1);return o||[void 0,null].includes(e)||"object"!=typeof e||i.push(e),r};if(Array.isArray(e))for(var u,c=_createForOfIteratorHelperLoose(e);!(u=c()).done;){var d=u.value;r.push(l(d))}else if(e instanceof Map)for(var f,p=_createForOfIteratorHelperLoose(e);!(f=p()).done;){var h=f.value,_=h[0],m=h[1];r.set(_,l(m))}else if(e instanceof Set)for(var v,g=_createForOfIteratorHelperLoose(e);!(v=g()).done;){var b=v.value;r.add(l(b))}else for(var y=0,E=Object.entries(e);y<E.length;y++){var x=E[y],T=x[0],C=x[1];try{r[T]=l(C)}catch(e){throw new Error('Failed to copy property value object "'+T+'": '+Tools.represent(e))}}}else if(e){if(Array.isArray(e))return Tools.copy(e,t,n,[],o,i,a);if(e instanceof Map)return Tools.copy(e,t,n,new Map,o,i,a);if(e instanceof Set)return Tools.copy(e,t,n,new Set,o,i,a);if(e instanceof Date)return new Date(e.getTime());if(e instanceof RegExp){var A=/[^/]*$/.exec(e.toString());return(r=new RegExp(e.source,A?A[0]:void 0)).lastIndex=e.lastIndex,r}return"undefined"!=typeof Blob&&e instanceof Blob?e.slice(0,e.size,e.type):Tools.copy(e,t,n,{},o,i,a)}return r||e},Tools.determineType=function(e){if(void 0===e&&(e=void 0),[null,void 0].includes(e))return""+e;var t=typeof e;if(["function","object"].includes(t)&&e.toString){var n=Tools.classToTypeMapping.toString.call(e);if(Object.prototype.hasOwnProperty.call(Tools.classToTypeMapping,n))return Tools.classToTypeMapping[n]}return t},Tools.equals=function equals(firstValue,secondValue,givenOptions){void 0===givenOptions&&(givenOptions={});var options=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({compareBlobs:!1,deep:-1,exceptionPrefixes:[],ignoreFunctions:!0,properties:null,returnReasonIfNotEqual:!1},givenOptions);if(options.ignoreFunctions&&Tools.isFunction(firstValue)&&Tools.isFunction(secondValue)||firstValue===secondValue||Tools.numberIsNotANumber(firstValue)&&Tools.numberIsNotANumber(secondValue)||firstValue instanceof RegExp&&secondValue instanceof RegExp&&firstValue.toString()===secondValue.toString()||firstValue instanceof Date&&secondValue instanceof Date&&(isNaN(firstValue.getTime())&&isNaN(secondValue.getTime())||!isNaN(firstValue.getTime())&&!isNaN(secondValue.getTime())&&firstValue.getTime()===secondValue.getTime())||options.compareBlobs&&"undefined"!==eval("typeof Buffer")&&eval("Buffer").isBuffer&&firstValue instanceof eval("Buffer")&&secondValue instanceof eval("Buffer")&&firstValue.toString("base64")===secondValue.toString("base64"))return!0;if(options.compareBlobs&&"undefined"!=typeof Blob&&firstValue instanceof Blob&&secondValue instanceof Blob)return new Promise((function(e){for(var t=[],n=0,r=[firstValue,secondValue];n<r.length;n++){var o=r[n],i=new FileReader;i.onload=function(n){null===n.target?t.push(null):t.push(n.target.result),2===t.length&&(t[0]===t[1]?e(!0):e(!!options.returnReasonIfNotEqual&&">>> Blob("+Tools.represent(t[0])+") !== Blob("+Tools.represent(t[1])+")"))},i.readAsDataURL(o)}}));if(Tools.isPlainObject(firstValue)&&Tools.isPlainObject(secondValue)&&!(firstValue instanceof RegExp||secondValue instanceof RegExp)||Array.isArray(firstValue)&&Array.isArray(secondValue)&&firstValue.length===secondValue.length||Tools.determineType(firstValue)===Tools.determineType(secondValue)&&["map","set"].includes(Tools.determineType(firstValue))&&firstValue.size===secondValue.size){for(var promises=[],_i22=0,_arr6=[[firstValue,secondValue],[secondValue,firstValue]];_i22<_arr6.length;_i22++){var _arr6$_i=_arr6[_i22],first=_arr6$_i[0],second=_arr6$_i[1],firstIsArray=Array.isArray(first);if(firstIsArray&&(!Array.isArray(second)||first.length!==second.length))return!!options.returnReasonIfNotEqual&&".length";var firstIsMap=Tools.isMap(first);if(firstIsMap&&(!Tools.isMap(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";var firstIsSet=Tools.isSet(first);if(firstIsSet&&(!Tools.isSet(second)||first.size!==second.size))return!!options.returnReasonIfNotEqual&&".size";if(firstIsArray){for(var index=0,_loop2=function(){var e=_arr7[_i23];if(0!==options.deep){var t=Tools.equals(e,second[index],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!t)return{v:!1};var n=index,r=function(e){var t;return"string"==typeof e?"["+n+"]"+(null!==(t={"[":"",">":" "}[e[0]])&&void 0!==t?t:".")+e:e};if(null!=t&&t.then&&promises.push(t.then(r)),"string"==typeof t)return{v:r(t)}}index+=1},_ret2,_i23=0,_arr7=first;_i23<_arr7.length;_i23++)if(_ret2=_loop2(),_ret2)return _ret2.v}else if(firstIsMap){for(var _loop3=function(){var e=_step23.value,t=e[0],n=e[1];if(0!==options.deep){var r=Tools.equals(n,second.get(t),_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!r)return{v:!1};var o=function(e){var n;return"string"==typeof e?"get("+Tools.represent(t)+")"+(null!==(n={"[":"",">":" "}[e[0]])&&void 0!==n?n:".")+e:e};if(null!=r&&r.then&&promises.push(r.then(o)),"string"==typeof r)return{v:o(r)}}},_ret3,_iterator23=_createForOfIteratorHelperLoose(first),_step23;!(_step23=_iterator23()).done;)if(_ret3=_loop3(),_ret3)return _ret3.v}else if(firstIsSet){for(var _loop4=function(){var e=_step24.value;if(0!==options.deep){for(var t,n=!1,r=[],o=_createForOfIteratorHelperLoose(second);!(t=o()).done;){var i=t.value,a=Tools.equals(e,i,_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if("boolean"==typeof a){if(a){n=!0;break}}else r.push(a)}var s=function(t){return!!t||!!options.returnReasonIfNotEqual&&">>> {-> "+Tools.represent(e)+" not found}"};return n?0:(r.length&&promises.push(new Promise((function(e){Promise.all(r).then((function(t){return e(s(t.some(Tools.identity)))}),Tools.noop)}))),{v:s(!1)})}},_ret4,_iterator24=_createForOfIteratorHelperLoose(first),_step24;!(_step24=_iterator24()).done;)if(_ret4=_loop4(),0!==_ret4&&_ret4)return _ret4.v}else for(var _loop5=function(){var e=_Object$entries13[_i24],t=e[0],n=e[1];if(options.properties&&!options.properties.includes(t))return 0;for(var r,o=!1,i=_createForOfIteratorHelperLoose(options.exceptionPrefixes);!(r=i()).done;){var a=r.value;if(t.toString().startsWith(a)){o=!0;break}}if(o)return 0;if(0!==options.deep){var s=Tools.equals(n,second[t],_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},options,{deep:options.deep-1}));if(!s)return{v:!1};var l=function(e){var n;return"string"==typeof e?t+(null!==(n={"[":"",">":" "}[e[0]])&&void 0!==n?n:".")+e:e};if(null!=s&&s.then&&promises.push(s.then(l)),"string"==typeof s)return{v:l(s)}}},_ret5,_i24=0,_Object$entries13=Object.entries(first);_i24<_Object$entries13.length&&(_ret5=_loop5(),0!==_ret5);_i24++)if(_ret5)return _ret5.v}return!promises.length||new Promise((function(e){Promise.all(promises).then((function(t){for(var n,r=_createForOfIteratorHelperLoose(t);!(n=r()).done;){var o=n.value;if(!o||"string"==typeof o){e(o);break}}e(!0)}),Tools.noop)}))}return!!options.returnReasonIfNotEqual&&">>> "+Tools.represent(firstValue)+" !== "+Tools.represent(secondValue)},Tools.evaluateDynamicData=function(e,t,n,r,o){if(void 0===t&&(t={}),void 0===n&&(n="self"),void 0===r&&(r="__evaluate__"),void 0===o&&(o="__execute__"),"object"!=typeof e||null===e)return e;n in t||(t[n]=e);var i=function(e,n){void 0===n&&(n=r);var i=Tools.stringEvaluate(e,t,n===o);if(i.error)throw new Error(i.error);return i.result},a=function e(t){if(null!==t&&"object"==typeof t){if(Tools.isProxy(t)){for(var n=0,a=[r,o];n<a.length;n++){var s=a[n];if(Object.prototype.hasOwnProperty.call(t,s))return t[s]}t=t.__target__}for(var l=0,u=Object.entries(t);l<u.length;l++){var c=u[l],d=c[0],f=c[1];if([r,o].includes(d))return"undefined"==typeof Proxy?e(i(f)):f;t[d]=e(f)}}return t};if(t.resolve=a,null!==e&&"object"==typeof e){if(Object.prototype.hasOwnProperty.call(e,r))return i(e[r]);if(Object.prototype.hasOwnProperty.call(e,o))return i(e[o],o)}return function e(t){if(null!==t&&"object"==typeof t)for(var n=0,r=Object.entries(t);n<r.length;n++){var o=r[n],i=o[0],a=o[1];if("__target__"!==i&&null!==a&&["function","undefined"].includes(typeof a)){var s=a.__target__;void 0!==s&&(t[i]=s),e(a)}}return t}(a(function e(t){if("object"!=typeof t||null===t||"undefined"==typeof Proxy)return t;for(var n=0,s=Object.entries(t);n<s.length;n++){var l=s[n],u=l[0],c=l[1];if("__target__"!==u&&null!==c&&"object"==typeof c){var d=c;if(e(d),Object.prototype.hasOwnProperty.call(d,r)||Object.prototype.hasOwnProperty.call(d,o)){var f=d;t[u]=new Proxy(d,{get:function(e,t){if("__target__"===t)return e;if("hasOwnProperty"===t)return e[t];for(var n=0,s=[r,o];n<s.length;n++){var l=s[n];if(t===l&&"string"==typeof e[t])return a(i(e[t],l))}var u=a(e);if("toString"===t){var c=i(u);return c[t].bind(c)}if("string"!=typeof t){var d,f=i(u);return null!=(d=f[t])&&d.bind?f[t].bind(f):f[t]}for(var p=0,h=[r,o];p<h.length;p++){var _=h[p];if(Object.prototype.hasOwnProperty.call(e,_))return i(u,_)[t]}return u[t]},ownKeys:function(e){for(var t=0,n=[r,o];t<n.length;t++){var s=n[t];if(Object.prototype.hasOwnProperty.call(e,s))return Object.getOwnPropertyNames(a(i(e[s],s)))}return Object.getOwnPropertyNames(e)}}),t[u].__target__||(t[u].__target__=f)}}}return t}(e)))},Tools.removeKeysInEvaluation=function(e,t){void 0===t&&(t=["__evaluate__","__execute__"]);for(var n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0],a=o[1];!t.includes(i)&&t.some((function(t){return Object.prototype.hasOwnProperty.call(e,t)}))?delete e[i]:Tools.isPlainObject(a)&&Tools.removeKeysInEvaluation(a,t)}return e},Tools.extend=function(e,t){for(var n=!1,r=arguments.length,o=new Array(r>2?r-2:0),i=2;i<r;i++)o[i-2]=arguments[i];var a,s=o;e===IgnoreNullAndUndefinedSymbol||"boolean"==typeof e?(n=e,a=t):(a=e,null!==t&&"object"==typeof t?s=[t].concat(s):void 0!==t&&(a=t));for(var l,u=function(e,t){return t===e?e:n&&t&&(Tools.isPlainObject(t)||Tools.isMap(t))?(r=Tools.isMap(t)?e&&Tools.isMap(e)?e:new Map:e&&Tools.isPlainObject(e)?e:{},Tools.extend(n,r,t)):t;var r},c=_createForOfIteratorHelperLoose(s);!(l=c()).done;){var d=l.value,f=typeof a,p=typeof d;if(Tools.isMap(a)&&(f+=" Map"),Tools.isMap(d)&&(p+=" Map"),f===p&&a!==d)if(Tools.isMap(a)&&Tools.isMap(d))for(var h,_=_createForOfIteratorHelperLoose(d);!(h=_()).done;){var m=h.value,v=m[0],g=m[1];a.set(v,u(a.get(v),g))}else if(null===a||Array.isArray(a)||"object"!=typeof a||null===d||Array.isArray(d)||"object"!=typeof d)a=d;else for(var b=0,y=Object.entries(d);b<y.length;b++){var E=y[b],x=E[0],T=E[1];n===IgnoreNullAndUndefinedSymbol&&[null,void 0].includes(T)||(a[x]=u(a[x],T))}else a=d}return a},Tools.getSubstructure=function(e,t,n,r){void 0===n&&(n=!0),void 0===r&&(r=".");for(var o,i=[],a=_createForOfIteratorHelperLoose([].concat(t));!(o=a()).done;){var s=o.value;if("string"==typeof s)for(var l,u=_createForOfIteratorHelperLoose(s.split(r));!(l=u()).done;){var c=l.value;if(c){var d=c.match(/(.*?)(\[[0-9]+\])/g);if(d)for(var f,p=_createForOfIteratorHelperLoose(d);!(f=p()).done;){var h=f.value,_=/(.*?)(\[[0-9]+\])/.exec(h),m=_[1],v=_[2];m&&i.push(m),i.push(v.substring(1,v.length-1))}else i.push(c)}}else i=i.concat(s)}for(var g,b=e,y=_createForOfIteratorHelperLoose(i);!(g=y()).done;){var E=g.value;if(null!==b&&"object"==typeof b){if("string"==typeof E&&Object.prototype.hasOwnProperty.call(b,E))b=b[E];else if(Tools.isFunction(E))b=E(b);else if(!n)return}else if(!n)return}return b},Tools.getProxyHandler=function(e,t){return void 0===t&&(t={}),t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({delete:"[]",get:"[]",has:"[]",set:"[]"},t),{deleteProperty:function(n,r){return"[]"!==t.delete||"string"!=typeof r?e[t.delete](r):(delete e[r],!0)},get:function(n,r){return"[]"===t.get&&"string"==typeof r?e[r]:e[t.get](r)},has:function(n,r){return"[]"===t.has?r in e:e[t.has](r)},set:function(n,r,o){return"[]"!==t.set||"string"!=typeof r?e[t.set](r,o):(e[r]=o,!0)}}},Tools.mask=function(e,t){if(!0===(t=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({exclude:!1,include:!0},t)).exclude||!1===t.include||"object"!=typeof e)return{};var n={};if(Tools.isPlainObject(t.include))for(var r=0,o=Object.entries(t.include);r<o.length;r++){var i=o[r],a=i[0],s=i[1];Object.prototype.hasOwnProperty.call(e,a)&&(!0===s?n[a]=e[a]:Tools.isPlainObject(s)&&"object"==typeof e[a]&&(n[a]=Tools.mask(e[a],{include:s})))}else n=e;if(Tools.isPlainObject(t.exclude)){for(var l=!1,u=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},n),c=0,d=Object.entries(t.exclude);c<d.length;c++){var f=d[c],p=f[0],h=f[1];if(Object.prototype.hasOwnProperty.call(u,p))if(!0===h)l=!0,delete u[p];else if(Tools.isPlainObject(h)&&"object"==typeof u[p]){var _=u[p];u[p]=Tools.mask(u[p],{exclude:h}),u[p]!==_&&(l=!0)}}l&&(n=u)}return n},Tools.modifyObject=function(e,t,n,r,o,i,a,s,l){if(void 0===n&&(n="__remove__"),void 0===r&&(r="__prepend__"),void 0===o&&(o="__append__"),void 0===i&&(i="__"),void 0===a&&(a="__"),void 0===s&&(s=null),void 0===l&&(l=null),Tools.isMap(t)&&Tools.isMap(e))for(var u,c=_createForOfIteratorHelperLoose(t);!(u=c()).done;){var d=u.value,f=d[0],p=d[1];e.has(f)&&Tools.modifyObject(e.get(f),p,n,r,o,i,a,t,f)}else if(null!==t&&"object"==typeof t&&null!==e&&"object"==typeof e)for(var h=0,_=Object.entries(t);h<_.length;h++){var m=_[h],v=m[0],g=m[1],b=NaN;if(Array.isArray(e)&&v.startsWith(i)&&v.endsWith(a)&&((b=parseInt(v.substring(i.length,v.length-a.length),10))<0||b>=e.length)&&(b=NaN),[n,r,o].includes(v)||!isNaN(b)){if(Array.isArray(e))if(v===n)for(var y,E=_createForOfIteratorHelperLoose([].concat(g));!(y=E()).done;){var x=y.value;"string"==typeof x&&x.startsWith(i)&&x.endsWith(a)?e.splice(parseInt(x.substring(i.length,x.length-a.length),10),1):e.includes(x)?e.splice(e.indexOf(x),1):"number"==typeof x&&x<e.length&&e.splice(x,1)}else v===o?e=e.concat(g):v===r?e=[].concat(g).concat(e):null!==e[b]&&"object"==typeof e[b]&&null!==g&&"object"==typeof g?Tools.extend(!0,Tools.modifyObject(e[b],g,n,r,o,i,a),e[b],g):e[b]=g;else if(v===n)for(var T,C=_createForOfIteratorHelperLoose([].concat(g));!(T=C()).done;){var A=T.value;"string"==typeof A&&Object.prototype.hasOwnProperty.call(e,A)&&delete e[A]}delete t[v],s&&"string"==typeof l&&delete s[l]}else null!==e&&Object.prototype.hasOwnProperty.call(e,v)&&(e[v]=Tools.modifyObject(e[v],g,n,r,o,i,a,t,v))}return e},Tools.normalizeDateTime=function(e,t){void 0===e&&(e=null);var n=Boolean(t);if(null===e)return new Date;if("string"==typeof e){if(/^.*(?:(?:[0-9]{1,4}[^0-9]){2}|[0-9]{1,4}[^0-9.]).*$/.test(e))return Tools.stringInterpretDateTime(e,n);var r=parseFloat(e);""+r===e&&(e=r)}if("number"==typeof e)return[null,void 0].includes(t)&&(n=!0),new Date(1e3*(e+(n?0:60*(new Date).getTimezoneOffset())));var o=new Date(e);return isNaN(o.getDate())?null:o},Tools.removeKeyPrefixes=function(e,t){void 0===t&&(t="#");var n=[].concat(t);if(Array.isArray(e))for(var r,o=0,i=_createForOfIteratorHelperLoose(e.slice());!(r=i()).done;){var a=r.value,s=!1;if("string"==typeof a){for(var l,u=_createForOfIteratorHelperLoose(n);!(l=u()).done;){var c=l.value;if(a.startsWith(c+":")){e.splice(o,1),s=!0;break}}if(s)continue}e[o]=Tools.removeKeyPrefixes(a,n),o+=1}else if(Tools.isSet(e))for(var d,f=_createForOfIteratorHelperLoose(new Set(e));!(d=f()).done;){var p=d.value,h=!1;if("string"==typeof p){for(var _,m=_createForOfIteratorHelperLoose(n);!(_=m()).done;){var v=_.value;if(p.startsWith(v+":")){e.delete(p),h=!0;break}}if(h)continue}Tools.removeKeyPrefixes(p,n)}else if(Tools.isMap(e))for(var g,b=_createForOfIteratorHelperLoose(new Map(e));!(g=b()).done;){var y=g.value,E=y[0],x=y[1],T=!1;if("string"==typeof E){for(var C,A=_createForOfIteratorHelperLoose(n);!(C=A()).done;){var w=C.value,I=Tools.stringEscapeRegularExpressions(w);if(new RegExp("^"+I+"[0-9]*$").test(E)){e.delete(E),T=!0;break}}if(T)continue}e.set(E,Tools.removeKeyPrefixes(x,n))}else if(null!==e&&"object"==typeof e)for(var S=0,O=Object.entries(Object.assign({},e));S<O.length;S++){for(var L,P=O[S],N=P[0],k=P[1],R=!1,D=_createForOfIteratorHelperLoose(n);!(L=D()).done;){var M=L.value,j=Tools.stringEscapeRegularExpressions(M);if(new RegExp("^"+j+"[0-9]*$").test(N)){delete e[N],R=!0;break}}R||(e[N]=Tools.removeKeyPrefixes(k,n))}return e},Tools.represent=function(e,t,n,r,o){if(void 0===t&&(t=" "),void 0===n&&(n=""),void 0===r&&(r="__maximum_number_of_levels_reached__"),void 0===o&&(o=8),0===o)return""+r;if(null===e)return"null";if(void 0===e)return"undefined";if("string"==typeof e)return'"'+e.replace(/\n/g,"\n"+n)+'"';if(Tools.isNumeric(e)||"boolean"==typeof e)return""+e;if(Array.isArray(e)){for(var i,a="[",s=!1,l=_createForOfIteratorHelperLoose(e);!(i=l()).done;){var u=i.value;s&&(a+=","),a+="\n"+n+t+Tools.represent(u,t,""+n+t,r,o-1),s=!0}return s&&(a+="\n"+n),a+"]"}if(Tools.isMap(e)){for(var c,d="",f=!1,p=_createForOfIteratorHelperLoose(e);!(c=p()).done;){var h=c.value,_=h[0],m=h[1];f&&(d+=",\n"+n+t),d+=Tools.represent(_,t,""+n+t,r,o-1)+" -> "+Tools.represent(m,t,""+n+t,r,o-1),f=!0}return f||(d="EmptyMap"),d}if(Tools.isSet(e)){for(var v,g="{",b=!1,y=_createForOfIteratorHelperLoose(e);!(v=y()).done;){var E=v.value;b&&(g+=","),g+="\n"+n+t+Tools.represent(E,t,""+n+t,r,o-1),b=!0}return b?g+="\n"+n+"}":g="EmptySet",g}if(Tools.isFunction(e))return"__function__";for(var x,T="{",C=!1,A=_createForOfIteratorHelperLoose(Object.getOwnPropertyNames(e).sort());!(x=A()).done;){var w=x.value;C&&(T+=","),T+="\n"+n+t+w+": "+Tools.represent(e[w],t,""+n+t,r,o-1),C=!0}return C&&(T+="\n"+n),T+"}"},Tools.sort=function(e){var t=[];if(Array.isArray(e))for(var n=0;n<e.length;n++)t.push(n);else if("object"==typeof e)if(Tools.isMap(e))for(var r,o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var i=r.value;t.push(i[0])}else if(null!==e)for(var a=0,s=Object.keys(e);a<s.length;a++){var l=s[a];t.push(l)}return t.sort()},Tools.unwrapProxy=function(e,t){if(void 0===t&&(t=new Set),null!==e&&"object"==typeof e){if(t.has(e))return e;try{Tools.isFunction(e.__revoke__)&&(Tools.isProxy(e)&&(e=e.__target__),e.__revoke__())}catch(t){return e}finally{t.add(e)}if(Array.isArray(e))for(var n,r=0,o=_createForOfIteratorHelperLoose(e);!(n=o()).done;){var i=n.value;e[r]=Tools.unwrapProxy(i,t),r+=1}else if(Tools.isMap(e))for(var a,s=_createForOfIteratorHelperLoose(e);!(a=s()).done;){var l=a.value,u=l[0],c=l[1];e.set(u,Tools.unwrapProxy(c,t))}else if(Tools.isSet(e)){for(var d,f=[],p=_createForOfIteratorHelperLoose(e);!(d=p()).done;){var h=d.value;e.delete(h),f.push(Tools.unwrapProxy(h,t))}for(var _=0,m=f;_<m.length;_++){var v=m[_];e.add(v)}}else for(var g=0,b=Object.entries(e);g<b.length;g++){var y=b[g],E=y[0],x=y[1];e[E]=Tools.unwrapProxy(x,t)}}return e},Tools.arrayAggregatePropertyIfEqual=function(e,t,n){void 0===n&&(n="");var r=n;if(Array.isArray(e)&&e.length&&Object.prototype.hasOwnProperty.call(e[0],t)){r=e[0][t];for(var o,i=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(o=i()).done;)if(o.value[t]!==r)return n}return r},Tools.arrayDeleteEmptyItems=function(e,t){void 0===t&&(t=[]);for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){for(var i=n.value,a=!0,s=0,l=Object.entries(i);s<l.length;s++){var u=l[s],c=u[0],d=u[1];if(!["",null,void 0].includes(d)&&(!t.length||Tools.arrayMake(t).includes(c))){a=!1;break}}a||r.push(i)}return r},Tools.arrayExtract=function(e,t){for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){for(var i,a=n.value,s={},l=_createForOfIteratorHelperLoose(Tools.arrayMake(t));!(i=l()).done;){var u=i.value;Object.prototype.hasOwnProperty.call(a,u)&&(s[u]=a[u])}r.push(s)}return r},Tools.arrayExtractIfMatches=function(e,t){if(!t)return Tools.arrayMake(e);for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){var i=n.value;("string"==typeof t?new RegExp(t):t).test(i)&&r.push(i)}return r},Tools.arrayExtractIfPropertyExists=function(e,t){if(e&&t){for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){for(var i=n.value,a=!1,s=0,l=Object.entries(i);s<l.length;s++){var u=l[s],c=u[0],d=u[1];if(c===t&&![null,void 0].includes(d)){a=!0;break}}a&&r.push(i)}return r}return e},Tools.arrayExtractIfPropertyMatches=function(e,t){if(e&&t){for(var n,r=[],o=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(n=o()).done;){var i=n.value,a=!0;for(var s in t)if(!t[s]||!("string"==typeof t[s]?new RegExp(t[s]):t[s]).test(i[s])){a=!1;break}a&&r.push(i)}return r}return e},Tools.arrayIntersect=function(e,t,n,r){void 0===n&&(n=[]),void 0===r&&(r=!0);var o=[];t=Tools.arrayMake(t);for(var i,a=function(e,t,n,o,i,a){if(a?i&&(n=o):o=n,t[o]!==e[n]&&(r||![null,void 0].includes(t[o])||![null,void 0].includes(e[n])))return!1},s=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(i=s()).done;){var l=i.value;if(Tools.isPlainObject(l))for(var u=0,c=t;u<c.length;u++){var d=c[u],f=!0,p=void 0,h=Array.isArray(n);if(Tools.isPlainObject(n)||h&&n.length?p=!0:(p=!1,n=l),Array.isArray(n))for(var _,m=0,v=_createForOfIteratorHelperLoose(n);!(_=v()).done;){if(!1===a(l,d,m,_.value,h,p)){f=!1;break}m+=1}else for(var g=0,b=Object.entries(n);g<b.length;g++){var y=b[g];if(!1===a(l,d,y[0],y[1],h,p)){f=!1;break}}if(f){o.push(l);break}}else t.includes(l)&&o.push(l)}return o},Tools.arrayMake=function(e){var t=[];return[null,void 0].includes(e)||(Tools.isArrayLike(Object(e))?Tools.arrayMerge(t,"string"==typeof e?[e]:e):t.push(e)),t},Tools.arrayMakeRange=function(e,t,n){var r,o;if(void 0===t&&(t=1),void 0===n&&(n=!1),1===(e=[].concat(e)).length)r=0,o=parseInt(""+e[0],10);else{if(2!==e.length)return e;r=parseInt(""+e[0],10),o=parseInt(""+e[1],10)}if(o<r)return[];for(var i=[r];r<=o-t;)r+=t,(!n||r<=o-t)&&i.push(r);return i},Tools.arrayMerge=function(e,t){Array.isArray(t)||(t=Array.prototype.slice.call(t));for(var n,r=_createForOfIteratorHelperLoose(t);!(n=r()).done;){var o=n.value;e.push(o)}return e},Tools.arrayPaginate=function(e){void 0===e&&(e={});var t=e,n=t.boundaryCount,r=void 0===n?1:n,o=t.disabled,i=void 0!==o&&o,a=t.hideNextButton,s=void 0!==a&&a,l=t.hidePrevButton,u=void 0!==l&&l,c=t.page,d=void 0===c?1:c,f=t.pageSize,p=void 0===f?5:f,h=t.showFirstButton,_=void 0!==h&&h,m=t.showLastButton,v=void 0!==m&&m,g=t.siblingCount,b=void 0===g?4:g,y=t.total,E=void 0===y?100:y,x="number"!=typeof p||isNaN(p)?E:Math.ceil(E/p),T=Tools.arrayMakeRange([1,Math.min(r,x)]),C=Tools.arrayMakeRange([Math.max(x-r+1,r+1),x]),A=Math.max(Math.min(d-b,x-r-2*b-1),r+2),w=Math.min(Math.max(d+b,r+2*b+2),C.length>0?C[0]-2:x-1);return[].concat(_?["first"]:[],u?[]:["previous"],T,A>r+2?["start-ellipsis"]:r+1<x-r?[r+1]:[],Tools.arrayMakeRange([A,w]),w<x-r-1?["end-ellipsis"]:x-r>r?[x-r]:[],C,s?[]:["next"],v?["last"]:[]).map((function(e){var t;return"number"==typeof e?{disabled:i,page:e,selected:e===d,type:"page"}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({disabled:i||-1===e.indexOf("ellipsis")&&("next"===e||"last"===e?d>=x:d<=1),selected:!1,type:e},e.endsWith("-ellipsis")?{}:{page:(null!==(t={first:1,last:x}[e])&&void 0!==t?t:"next"===e)?Math.min(d+1,x):Math.max(d-1,1)})}))},Tools.arrayPermutate=function(e){var t=[];return function e(n,r){if(void 0===r&&(r=[]),0===n.length)t.push(r);else for(var o=0;o<n.length;o++){var i=n.slice();e(i,r.concat(i.splice(o,1)))}}(e),t},Tools.arrayPermutateLength=function(e,t){void 0===t&&(t=1);var n=[];if(0===e.length)return n;for(var r=function e(t,r,o){if(0!==t)for(var i=0;i<r.length;i++)e(t-1,r.slice(i+1),o.concat([r[i]]));else o.length>0&&(n[n.length]=o)},o=t;o<e.length;o++)r(o,e,[]);return n.push(e),n},Tools.arraySumUpProperty=function(e,t){var n=0;if(Array.isArray(e)&&e.length)for(var r,o=_createForOfIteratorHelperLoose(e);!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(i,t)&&(n+=parseFloat(i[t]||0))}return n},Tools.arrayAppendAdd=function(e,t,n,r){return void 0===r&&(r=!0),Object.prototype.hasOwnProperty.call(e,n)?r&&e[n].includes(t)||e[n].push(t):e[n]=[t],e},Tools.arrayRemove=function(e,t,n){void 0===n&&(n=!1);var r=e.indexOf(t);if(-1===r){if(n)throw new Error("Given target doesn't exists in given list.")}else e.splice(r,1);return e},Tools.arraySortTopological=function(e){for(var t=[],n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0],a=o[1];if(e[i]=[].concat(a),a.length>0)for(var s,l=_createForOfIteratorHelperLoose(Tools.arrayMake(a));!(s=l()).done;){var u=s.value;t.push([i,u])}else t.push([i])}for(var c=[],d=0,f=t;d<f.length;d++)for(var p,h=_createForOfIteratorHelperLoose(f[d]);!(p=h()).done;){var _=p.value;c.includes(_)||c.push(_)}for(var m=[],v=function e(n,r){if(0!==r.length&&r.includes(n))throw new Error('Cyclic dependency found. "'+n+'" is dependent of itself.\nDependency chain: "'+r.join('" -> "')+'" => "'+n+'".');var o=c.indexOf(n);if(-1!==o){var i;c[o]=null;for(var a=0,s=t;a<s.length;a++){var l=s[a];l[0]===n&&(i=i||r.concat([n]),e(l[1],i))}m.push(n)}},g=0;g<c.length;g++){var b=c[g];if(b){c[g]=null;for(var y,E=_createForOfIteratorHelperLoose(t);!(y=E()).done;){var x=y.value;x[0]===b&&v(x[1],[b])}m.push(b)}}return m},Tools.arrayUnique=function(e){for(var t,n=[],r=_createForOfIteratorHelperLoose(Tools.arrayMake(e));!(t=r()).done;){var o=t.value;n.includes(o)||n.push(o)}return n},Tools.stringEscapeRegularExpressions=function(e,t){if(void 0===t&&(t=[]),1===e.length&&!Tools.specialRegexSequences.includes(e))return e;t.includes("\\")||e.replace(/\\/g,"\\\\");for(var n,r=_createForOfIteratorHelperLoose(Tools.specialRegexSequences);!(n=r()).done;){var o=n.value;t.includes(o)||(e=e.replace(new RegExp("\\"+o,"g"),"\\"+o))}return e},Tools.stringConvertToValidVariableName=function(e,t){return void 0===t&&(t="0-9a-zA-Z_$"),["class","default"].includes(e)?"_"+e:e.toString().replace(/^[^a-zA-Z_$]+/,"").replace(new RegExp("[^"+t+"]+([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()}))},Tools.stringEncodeURIComponent=function(e,t){return void 0===t&&(t=!1),encodeURIComponent(e).replace(/%40/gi,"@").replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,t?"%20":"+")},Tools.stringAddSeparatorToPath=function(e,t){return void 0===t&&(t="/"),(e=e.trim()).substr(-1)!==t&&e.length?e+t:e},Tools.stringHasPathPrefix=function(e,t,n){var r;return void 0===e&&(e="/admin"),void 0===t&&(t=(null==(r=$.location)?void 0:r.pathname)||""),void 0===n&&(n="/"),"string"==typeof e&&(e.endsWith(n)||(e+=n),t===e.substring(0,e.length-n.length)||t.startsWith(e))},Tools.stringGetDomainName=function(e,t){var n,r;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||""),void 0===t&&(t=(null==(r=$.location)?void 0:r.hostname)||"");var o=/^([a-z]*:?\/\/)?([^/]+?)(?::[0-9]+)?(?:\/.*|$)/i.exec(e);return o&&o.length>2&&o[1]&&o[2]?o[2]:t},Tools.stringGetPortNumber=function(e,t){var n,r,o;void 0===e&&(e=(null==(r=$.location)?void 0:r.href)||""),void 0===t&&(t=null!=(o=$.location)&&o.port?parseInt($.location.port):null);var i=/^(?:[a-z]*:?\/\/[^/]+?)?(?:[^/]+?):([0-9]+)/i.exec(e);return i&&i.length>1?parseInt(i[1],10):null!==t?t:null!=(n=$.location)&&n.port&&parseInt($.location.port,10)?parseInt($.location.port,10):"https"===Tools.stringGetProtocolName(e)?443:80},Tools.stringGetProtocolName=function(e,t){var n,r;void 0===e&&(e=(null==(n=$.location)?void 0:n.href)||""),void 0===t&&(t=(null==(r=$.location)?void 0:r.protocol)&&$.location.protocol.substring(0,$.location.protocol.length-1)||"");var o=/^([a-z]+):\/\//i.exec(e);return o&&o.length>1&&o[1]?o[1]:t},Tools.stringGetURLParameter=function(e,t,n,r,o,i,a){var s,l,u;void 0===e&&(e=null),void 0===t&&(t=!1),void 0===n&&(n=null),void 0===r&&(r="$"),void 0===o&&(o="!"),void 0===i&&(i=null),void 0===a&&(a=null!==(l=null==(u=$.location)?void 0:u.hash)&&void 0!==l?l:"");var c=null!==(s=a)&&void 0!==s?s:"#",d="";if(i)d=i;else if(o&&c.startsWith(o)){var f,p=c.indexOf("#");-1===p?(f=c.substring(o.length),c=""):(f=c.substring(o.length,p),c=c.substring(p));var h=f.indexOf("?");-1!==h&&(d=f.substring(h))}else $.location&&(d=$.location.search||"");var _=n||d,m="&"===_;if(m||"#"===_){var v="";try{v=decodeURIComponent(c)}catch(e){}var g=v.indexOf(r);-1===g?_="":(_=v.substring(g)).startsWith(r)&&(_=_.substring(r.length))}else _.startsWith("?")&&(_=_.substring(1));var b=_?_.split("&"):[];d=d.substring(1),m&&d&&(b=b.concat(d.split("&")));for(var y,E=[],x=_createForOfIteratorHelperLoose(b);!(y=x()).done;){var T=y.value,C=T.split("="),A=void 0;try{A=decodeURIComponent(C[0])}catch(e){A=""}try{T=decodeURIComponent(C[1])}catch(e){T=""}E.push(A),t?Object.prototype.hasOwnProperty.call(E,A)&&Array.isArray(E[A])?E[A].push(T):E[A]=[T]:E[A]=T}return e?Object.prototype.hasOwnProperty.call(E,e)?E[e]:null:E},Tools.stringServiceURLEquals=function(e,t){var n;void 0===t&&(t=(null==(n=$.location)?void 0:n.href)||"");var r=Tools.stringGetDomainName(e,""),o=Tools.stringGetProtocolName(e,""),i=Tools.stringGetPortNumber(e);return!(""!==r&&r!==Tools.stringGetDomainName(t)||""!==o&&o!==Tools.stringGetProtocolName(t)||null!==i&&i!==Tools.stringGetPortNumber(t))},Tools.stringNormalizeURL=function(e){return"string"==typeof e?(e=e.replace(/^:?\/+/,"").replace(/\/+$/,"").trim()).startsWith("http")?e:"http://"+e:""},Tools.stringRepresentURL=function(e){return"string"==typeof e?e.replace(/^(https?)?:?\/+/,"").replace(/\/+$/,"").trim():""},Tools.stringCamelCaseToDelimited=function(e,t,n){void 0===t&&(t="-"),void 0===n&&(n=null),n||(n=Tools.abbreviations);var r=Tools.stringMaskForRegularExpression(t);if(n.length){for(var o,i="",a=_createForOfIteratorHelperLoose(n);!(o=a()).done;)i&&(i+="|"),i+=o.value.toUpperCase();e=e.replace(new RegExp("("+i+")("+i+")","g"),"$1"+t+"$2")}return(e=e.replace(new RegExp("([^"+r+"])([A-Z][a-z]+)","g"),"$1"+t+"$2")).replace(/([a-z0-9])([A-Z])/g,"$1"+t+"$2").toLowerCase()},Tools.stringCapitalize=function(e){return e.charAt(0).toUpperCase()+e.substring(1)},Tools.stringCompressStyleValue=function(e){return e.replace(/ *([:;]) */g,"$1").replace(/ +/g," ").replace(/^;+/,"").replace(/;+$/,"").trim()},Tools.stringDecodeHTMLEntities=function(e){if($.document){var t=$.document.createElement("textarea");return t.innerHTML=e,t.value}return null},Tools.stringDelimitedToCamelCase=function(e,t,n,r,o){void 0===t&&(t="-"),void 0===n&&(n=null),void 0===r&&(r=!1),void 0===o&&(o=!1);var i,a=Tools.stringMaskForRegularExpression(t);if(n||(n=Tools.abbreviations),r)i=n.join("|");else{i="";for(var s,l=_createForOfIteratorHelperLoose(n);!(s=l()).done;){var u=s.value;i&&(i+="|"),i+=Tools.stringCapitalize(u)+"|"+u}}var c=e.startsWith(t);return c&&(e=e.substring(t.length)),e=e.replace(new RegExp("("+a+")("+i+")("+a+"|$)","g"),(function(e,t,n,r){return t+n.toUpperCase()+r})),o&&(a="(?:"+a+")+"),e=e.replace(new RegExp(a+"([a-zA-Z0-9])","g"),(function(e,t){return t.toUpperCase()})),c&&(e=t+e),e},Tools.stringCompile=function(e,t,n){var r,o;void 0===t&&(t=[]),void 0===n&&(n=!1);for(var i,a={error:null,originalScopeNames:Array.isArray(t)?t:"string"==typeof t?[t]:Object.keys(t),scopeNameMapping:{},scopeNames:[],templateFunction:function(){return null}},s=_createForOfIteratorHelperLoose(a.originalScopeNames);!(i=s()).done;){var l=i.value,u=Tools.stringConvertToValidVariableName(l);a.scopeNameMapping[l]=u,a.scopeNames.push(u)}if(0!==Tools.maximalSupportedInternetExplorerVersion)if(null!=(r=$.global.Babel)&&r.transform)e=null==(o=$.global.Babel)?void 0:o.transform("("+e+")",{plugins:["transform-template-literals"]}).code;else if(e.startsWith("`")&&e.endsWith("`")){var c="####",d="`"===(e=e.replace(/\\\$/g,c).replace(/^`\$\{([\s\S]+)\}`$/,"String($1)").replace(/^`([^']+)`$/,"'$1'").replace(/^`([^"]+)`$/,'"$1"')).charAt(0)?"'":e.charAt(0);e=e.replace(/\$\{((([^{]*{[^}]*}[^}]*})|[^{}]+)+)\}/g,d+"+($1)+"+d).replace(/^`([\s\S]+)`$/,d+"$1"+d).replace(/\n+/g,"").replace(new RegExp(c,"g"),"\\$")}try{a.templateFunction=_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Function,a.scopeNames.concat([(n?"":"return ")+e]))}catch(t){a.error='Given expression "'+e+'" could not be compiled with given scope names "'+a.scopeNames.join('", "')+'": '+Tools.represent(t)}return a},Tools.stringEvaluate=function(e,t,n,r){void 0===t&&(t={}),void 0===n&&(n=!1);var o=Tools.stringCompile(e,t,n),i=o.error,a=o.originalScopeNames,s=o.scopeNames,l=o.templateFunction,u={compileError:null,error:null,result:null,runtimeError:null};if(i)return u.compileError=u.error=i,u;try{u.result=(r?l.bind(r):l).apply(void 0,a.map((function(e){return t[e]})))}catch(i){u.error=u.runtimeError='Given expression "'+e+'" could not be evaluated with given scope names "'+s.join('", "')+'": '+Tools.represent(i)}return u},Tools.stringFindNormalizedMatchRange=function(e,t,n,r){void 0===n&&(n=function(e){return(""+e).toLowerCase()}),void 0===r&&(r=["<",">"]);var o=n(t),i=n(e),a="string"==typeof e?e:i;if(i&&o)for(var s=!1,l=0;l<a.length;l+=1)if(s)a.charAt(l)===r[1]&&(s=!1);else if(Array.isArray(r)&&a.charAt(l)===r[0])s=!0;else if(n(a.substring(l)).startsWith(o)){if(1===o.length)return[l,l+1];for(var u=a.length;u>l;u-=1)if(!n(a.substring(l,u)).startsWith(o))return[l,u+1]}return null},Tools.stringFixKnownEncodingErrors=function(e){for(var t=0,n=Object.entries({"Ã\\x84":"Ä","Ã\\x96":"Ö","Ã\\x9c":"Ü","ä":"ä","ö":"ö","ü":"ü","Ã\\x9f":"ß","\\x96":"-"});t<n.length;t++){var r=n[t],o=r[0],i=r[1];e=e.replace(new RegExp(o,"g"),i)}return e},Tools.stringFormat=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];n.unshift(e);for(var o=0,i=0,a=n;i<a.length;i++){var s=a[i];e=e.replace(new RegExp("\\{"+o+"\\}","gm"),""+s),o+=1}return e},Tools.stringGetEditDistance=function(e,t){for(var n=Array(t.length+1).fill(null).map((function(){return Array(e.length+1).fill(null)})),r=0;r<=e.length;r++)n[0][r]=r;for(var o=0;o<=t.length;o++)n[o][0]=o;for(var i=1;i<=t.length;i++)for(var a=1;a<=e.length;a++){var s=e[a-1]===t[i-1]?0:1;n[i][a]=Math.min(n[i][a-1]+1,n[i-1][a]+1,n[i-1][a-1]+s)}return n[t.length][e.length]},Tools.stringMaskForRegularExpression=function(e){return e.replace(/([\\|.*$^+[\]()?\-{}])/g,"\\$1")},Tools.stringInterpretDateTime=function(e,t){var n=Boolean(t),r="[0-2][0-9]:[0-6][0-9]",o="^[0-9]{4}-[01][0-9]-[0-3][0-9](?<time>(?:T"+r+"(?::[0-6][0-9](?:\\.[0-9]+)?)?(?<dateTimeTimezone>Z|(?:[+-]"+r+"))?)|(?<dateTimezone>Z|(?:[+-]"+r+")))?$",i=e.match(new RegExp(o,"i"));if(i){var a,s,l,u,c,d=new Date(e);return isNaN(d.getDate())?null:(null!==(a=null==(s=i.groups)?void 0:s.dateTimeTimezone)&&void 0!==a?a:null==(l=i.groups)?void 0:l.dateTimezone)?d:([null,void 0].includes(t)&&(n=!1),n?null!=(c=i.groups)&&c.time?new Date(d.getTime()-60*(new Date).getTimezoneOffset()*1e3):d:null!=(u=i.groups)&&u.time?d:new Date(d.getTime()+60*(new Date).getTimezoneOffset()*1e3))}if(e=e.replace(/^(-?)-*0*([1-9][0-9]*)$/,"$1$2"),""+parseInt(e)===e)return[null,void 0].includes(t)&&(n=!0),new Date(1e3*(parseInt(e)+(n?0:60*(new Date).getTimezoneOffset())));if(!Tools._dateTimePatternCache.length)for(var f,p="(?:0?[0-9])|(?:[1-5][0-9])|(?:60)",h="(?<second>"+p+")",_="(?<minute>"+p+")",m="(?<hour>(?:0?[0-9])|(?:1[0-9])|(?:2[0-4]))",v="(?<day>(?:0?[1-9])|(?:[1-2][0-9])|(?:3[01]))",g="(?<month>(?:0?[1-9])|(?:1[0-2]))",b="(?<year>(?:0?[1-9])|(?:[1-9][0-9]+))",y={},E=_createForOfIteratorHelperLoose(["t"," "]);!(f=E()).done;)for(var x,T=f.value,C=_createForOfIteratorHelperLoose([":","/","-"," "]);!(x=C()).done;)for(var A=x.value,w=0,I=[m+(A+"+")+_,m+(A+"+")+_+A+"+"+h,m+(A+"+")+_+A+"+"+h+A+"+(?<millisecond>(?:0{0,3}[0-9])|(?:0{0,2}[1-9]{2})|(?:0?[1-9]{3})|(?:1[1-9]{3}))",m];w<I.length;w++)for(var S=I[w],O=0,L=[{delimiter:["/","-"," "],pattern:[g+"${delimiter}"+v+"${delimiter}"+b,g+"${delimiter}"+v+" +"+b,b+"${delimiter}"+g+"${delimiter}"+v,b+" +"+g+"${delimiter}"+v,g+"${delimiter}"+v+"${delimiter}"+b+T+"+"+S,g+"${delimiter}"+v+" +"+b+T+"+"+S,S+(T+"+")+g+"${delimiter}"+v+"${delimiter}"+b,S+(T+"+")+g+"${delimiter}"+v+" +"+b,b+"${delimiter}"+g+"${delimiter}"+v+T+"+"+S,b+" +"+g+"${delimiter}"+v+T+"+"+S,S+(T+"+")+b+"${delimiter}"+g+"${delimiter}"+v,S+(T+"+")+b+" +"+g+"${delimiter}"+v]},{delimiter:"\\.",pattern:[v+"${delimiter}"+g+"${delimiter}"+b,v+"${delimiter}"+g+" +"+b,b+"${delimiter}"+v+"${delimiter}"+g,b+" +"+v+"${delimiter}"+g,v+"${delimiter}"+g+"${delimiter}"+b+T+"+"+S,v+"${delimiter}"+g+" +"+b+T+"+"+S,S+(T+"+")+v+"${delimiter}"+g+"${delimiter}"+b,S+(T+"+")+v+"${delimiter}"+g+" +"+b,b+"${delimiter}"+v+"${delimiter}"+g+T+"+"+S,b+" +"+v+"${delimiter}"+g+T+"+"+S,S+(T+"+")+b+"${delimiter}"+v+"${delimiter}"+g,S+(T+"+")+b+" +"+v+"${delimiter}"+g]},{pattern:S}];O<L.length;O++)for(var P,N=L[O],k=_createForOfIteratorHelperLoose([].concat(Object.prototype.hasOwnProperty.call(N,"delimiter")?N.delimiter:"-"));!(P=k()).done;)for(var R,D=P.value,M=_createForOfIteratorHelperLoose([].concat(N.pattern));!(R=M()).done;){var j=R.value;(j=Tools.stringEvaluate("`^"+j+"$`",{delimiter:D+"+"}).result)&&!Object.prototype.hasOwnProperty.call(y,j)&&(y[j]=!0,Tools._dateTimePatternCache.push(new RegExp(j)))}e=(e=e.toLowerCase()).replace(/([^0-9a-z])[^0-9a-z]+/g,"$1");for(var F=1,B=0,U=[["jan","january?","janvier"],["feb","february?","février"],["m(?:a|ae|ä)r","m(?:a|ae|ä)r(?:ch|s|z)"],["ap[rv]","a[pv]ril"],["ma[iy]"],["ju[ein]","jui?n[ei]?"],["jul","jul[iy]","juillet"],["aug","august","août"],["sep","septemb(?:er|re)"],["o[ck]t","o[ck]tob(?:er|re)"],["nov","novemb(?:er|re)"],["de[cz]","d[eé][cz]emb(?:er|re)"]];B<U.length;B++){for(var q,V=!1,H=_createForOfIteratorHelperLoose(U[B]);!(q=H()).done;){var W=q.value,$=new RegExp("(^|[^a-z])"+W+"([^a-z]|$)");if($.test(e)){e=e.replace($,"$1"+F+"$2"),V=!0;break}}if(V)break;F+=1}e=Tools.stringSliceWeekday(e);var z=/(.+)\+(.+)$/,K=z.exec(e);K&&(e=e.replace(z,"$1"));for(var X,G=_createForOfIteratorHelperLoose(["","Uhr","o'clock"]);!(X=G()).done;){var Y=X.value;e=e.replace(Y,"")}e=e.trim();for(var Q,J,Z=function(){var t=J.value,r=null;try{r=e.match(t)}catch(e){}if(r){var o=function(e,t){var n;return void 0===t&&(t=0),null!=(n=r)&&n.groups&&e in r.groups?parseInt(r.groups[e],10):t},i=[o("year",1970),o("month",1)-1,o("day",1),o("hour"),o("minute"),o("second"),o("millisecond")],a=null;if(K){var s=Tools.stringInterpretDateTime(K[2],!0);s&&(a=new Date(Date.UTC.apply(Date,i)-s.getTime()))}return a||(a=n?new Date(Date.UTC.apply(Date,i)):_babel_runtime_helpers_construct__WEBPACK_IMPORTED_MODULE_1___default()(Date,i)),isNaN(a.getDate())?{v:null}:{v:a}}},ee=_createForOfIteratorHelperLoose(Tools._dateTimePatternCache);!(J=ee()).done;)if(Q=Z())return Q.v;return null},Tools.stringLowerCase=function(e){return e.charAt(0).toLowerCase()+e.substring(1)},Tools.stringMark=function(e,t,n){if(void 0===n&&(n={}),"string"==typeof e&&null!=t&&t.length){n=_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({marker:'<span class="tools-mark">{1}</span>',normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:["<",">"]},n),e=e.trim();for(var r,o=[],i=[].concat(t),a=0,s=_createForOfIteratorHelperLoose(i);!(r=s()).done;){var l=r.value;i[a]=n.normalizer(l).trim(),a+=1}for(var u=e,c=0;;){for(var d,f=null,p=null,h=_createForOfIteratorHelperLoose(i);!(d=h()).done;){var _=d.value;(p=Tools.stringFindNormalizedMatchRange(u,_,n.normalizer,n.skipTagDelimitedParts))&&(!f||p[0]<f[0])&&(f=p)}if(!f){u.length&&o.push(u);break}f[0]>0&&o.push(e.substring(c,c+f[0])),o.push("string"==typeof n.marker?Tools.stringFormat(n.marker,e.substring(c+f[0],c+f[1])):n.marker(e.substring(c+f[0],c+f[1]),o)),c+=f[1],u=e.substring(c)}return"string"==typeof n.marker?o.join(""):o}return e},Tools.stringNormalizePhoneNumber=function(e,t){if(void 0===t&&(t=!0),"string"==typeof e||"number"==typeof e){var n=(""+e).trim();if(n=n.replace(/^[^0-9]*\+/,"00"),t)return n.replace(/[^0-9]+/g,"");var r="(?:[ /\\-]+)";n=(n=n.replace(new RegExp("^(.+?)"+r+"?\\(0\\)"+r+"?(.+)$"),"$1-$2")).replace(new RegExp("^(.+?)"+r+"?\\((.+)\\)"+r+"?(.+)$"),"$1-$2-$3");var o=new RegExp("^(00[0-9]+)"+r+"([0-9]+)"+r+"(.+)$");if(o.test(n))n=n.replace(o,(function(e,t,n,r){return t+"-"+n+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(r)}));else{var i=function(e,t,n){return t.replace(/ +/,"")+"-"+Tools.stringSliceAllExceptNumberAndLastSeperator(n)};n=(o=/^([0-9 ]+)[/-](.+)$/).test(n)?n.replace(o,i):n.replace(new RegExp("^([0-9]+)"+r+"(.+)$"),i)}return n.replace(/[^0-9-]+/g,"").replace(/^-+$/,"")}return""},Tools.stringNormalizeZipCode=function(e){return"string"==typeof e||"number"==typeof e?(""+e).trim().replace(/[^0-9]+/g,""):""},Tools.stringParseEncodedObject=function stringParseEncodedObject(serializedObject,scope,name){var _Tools$stringEvaluate;void 0===scope&&(scope={}),void 0===name&&(name="scope"),serializedObject.endsWith(".json")&&Tools.isFileSync(serializedObject)&&(serializedObject=readFileSync(serializedObject,{encoding:DEFAULT_ENCODING})),serializedObject=serializedObject.trim(),serializedObject.startsWith("{")||(serializedObject=eval("Buffer").from(serializedObject,"base64").toString(DEFAULT_ENCODING));var result=Tools.stringEvaluate(serializedObject,(_Tools$stringEvaluate={},_Tools$stringEvaluate[name]=scope,_Tools$stringEvaluate));return"object"==typeof result.result?result.result:null},Tools.stringRepresentPhoneNumber=function(e){if(["number","string"].includes(Tools.determineType(e))&&e){var t=(""+e).replace(/^(00|\+)([0-9]+)-([0-9-]+)$/,"+$2 (0) $3");return(t=(t=t.replace(/^0([1-9][0-9-]+)$/,"+49 (0) $1")).replace(/^([^-]+)-([0-9-]+)$/,"$1 / $2")).replace(/^(.*?)([0-9]+)(-?[0-9]*)$/,(function(e,t,n,r){return t+(n.length%2==0?n.replace(/([0-9]{2})/g,"$1 "):n.replace(/^([0-9]{3})([0-9]+)$/,(function(e,t,n){return t+" "+n.replace(/([0-9]{2})/g,"$1 ").trim()}))+r).trim()})).trim()}return""},Tools.stringSliceAllExceptNumberAndLastSeperator=function(e){var t=/^(.*[0-9].*)-([0-9]+)$/;return t.test(e)?e.replace(t,(function(e,t,n){return t.replace(/[^0-9]+/g,"")+"-"+n})):e.replace(/[^0-9]+/g,"")},Tools.stringSliceWeekday=function(e){var t=/[a-z]{2}\.+ *([^ ].*)$/i;return t.exec(e)?e.replace(t,"$1"):e},Tools.numberGetUTCTimestamp=function(e,t){void 0===t&&(t=!1);var n=[null,void 0].includes(e)?new Date:new Date(e);return Date.UTC(n.getUTCFullYear(),n.getUTCMonth(),n.getUTCDate(),n.getUTCHours(),n.getUTCMinutes(),n.getUTCSeconds(),n.getUTCMilliseconds())/(t?1:1e3)},Tools.numberIsNotANumber=function(e){return"number"===Tools.determineType(e)&&isNaN(e)},Tools.numberRound=function(e,t){return void 0===t&&(t=0),Math.round(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberCeil=function(e,t){return void 0===t&&(t=0),Math.ceil(e*Math.pow(10,t))/Math.pow(10,t)},Tools.numberFloor=function(e,t){return void 0===t&&(t=0),Math.floor(e*Math.pow(10,t))/Math.pow(10,t)},Tools.checkReachability=(e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n){var r,o,i,a,s;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n={}),r=Tools.extend(!0,{expectedIntermediateStatusCodes:[],options:{},pollIntervallInSeconds:.1,statusCodes:200,timeoutInSeconds:10,wait:!1},n),o=[].concat(r.statusCodes),i=[].concat(r.expectedIntermediateStatusCodes),a=function(e,t){return Boolean(null!==e&&"object"==typeof e&&"status"in e&&t.includes(e.status))},s=function(e){if(!a(e,o))throw new Error("Given status code "+e.status+" differs from "+o.join(", ")+".");return e},!r.wait){e.next=8;break}return e.abrupt("return",new Promise((function(e,n){var o=!1,l=Tools.timeout(1e3*r.timeoutInSeconds),u=function(e){return o||(d=Tools.timeout(1e3*r.pollIntervallInSeconds,c)).catch(Tools.noop),e},c=function(){var o=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function o(){var c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.prev=0,o.next=3,globalContext.fetch(t,r.options);case 3:c=o.sent,o.next=9;break;case 6:return o.prev=6,o.t0=o.catch(0),o.abrupt("return",u(o.t0));case 9:o.prev=9,e(s(c)),l.clear(),o.next=20;break;case 14:if(o.prev=14,o.t1=o.catch(9),!a(c,i)){o.next=18;break}return o.abrupt("return",u(o.t1));case 18:n(o.t1),l.clear();case 20:return o.abrupt("return",c);case 21:case"end":return o.stop()}}),o,null,[[0,6],[9,14]])})));return function(){return o.apply(this,arguments)}}(),d=Tools.timeout(c);l.then((function(){o=!0,d.clear(),n(new Error("Timeout of "+r.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 8:return e.t0=s,e.next=11,globalContext.fetch(t,r.options);case 11:return e.t1=e.sent,e.abrupt("return",(0,e.t0)(e.t1));case 13:case"end":return e.stop()}}),e)}))),function(t,n){return e.apply(this,arguments)}),Tools.checkUnreachability=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n){var r,o,i;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(void 0===n&&(n={}),r=Tools.extend(!0,{wait:!1,timeoutInSeconds:10,pollIntervallInSeconds:.1,statusCodes:[],options:{}},n),o=function(e){var n=[].concat(r.statusCodes);if(n.length){if(null!==e&&"object"==typeof e&&"status"in e&&n.includes(e.status))throw new Error('Given url "'+t+'" is reachable and responses with status code "'+e.status+'".');return new Error('Given status code is not "'+n.join(", ")+'".')}return null},!r.wait){e.next=5;break}return e.abrupt("return",new Promise((function(e,n){var i=!1,a=function(){var n=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function n(){var u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(n){for(;;)switch(n.prev=n.next){case 0:return n.prev=0,n.next=3,globalContext.fetch(t,r.options);case 3:if(u=n.sent,!i){n.next=6;break}return n.abrupt("return",u);case 6:if(!(c=o(u))){n.next=11;break}return l.clear(),e(c),n.abrupt("return",c);case 11:(s=Tools.timeout(1e3*r.pollIntervallInSeconds,a)).catch(Tools.noop),n.next=20;break;case 15:return n.prev=15,n.t0=n.catch(0),l.clear(),e(n.t0),n.abrupt("return",n.t0);case 20:return n.abrupt("return",null);case 21:case"end":return n.stop()}}),n,null,[[0,15]])})));return function(){return n.apply(this,arguments)}}(),s=Tools.timeout(a),l=Tools.timeout(1e3*r.timeoutInSeconds);l.then((function(){i=!0,s.clear(),n(new Error("Timeout of "+r.timeoutInSeconds+" seconds reached."))}),Tools.noop)})));case 5:return e.prev=5,e.t0=o,e.next=9,globalContext.fetch(t,r.options);case 9:if(e.t1=e.sent,!(i=(0,e.t0)(e.t1))){e.next=13;break}return e.abrupt("return",i);case 13:e.next=18;break;case 15:return e.prev=15,e.t2=e.catch(5),e.abrupt("return",e.t2);case 18:throw new Error('Given url "'+t+'" is reachable.');case 19:case"end":return e.stop()}}),e,null,[[5,15]])})));return function(t,n){return e.apply(this,arguments)}}(),Tools.sendToIFrame=function(e,t,n,r,o){void 0===r&&(r="post"),void 0===o&&(o=!1);for(var i=$("string"==typeof e?'iframe[name"'+e+'"]':e),a=$("<form>").attr({action:t,method:r,target:i.attr("name")}),s=0,l=Object.entries(n);s<l.length;s++){var u=l[s],c=u[0],d=u[1];a.append($("<input>").attr({name:c,type:"hidden",value:d}))}return o&&i.on("load",(function(){return i.remove()})),a.insertAfter(i),a[0].submit(),a.remove(),i},Tools.copyDirectoryRecursive=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n,r,o,i){var a,s,l,u,c;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r=Tools.noop),void 0===o&&(o={encoding:null,flag:"r"}),void 0===i&&(i={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),t=resolve(t),e.next=6,Tools.isDirectory(n);case 6:if(!e.sent){e.next=8;break}n=resolve(n,basename(t));case 8:return e.prev=8,e.next=11,mkdir(n);case 11:e.next=17;break;case 13:if(e.prev=13,e.t0=e.catch(8),"EEXIST"===e.t0.code){e.next=17;break}throw e.t0;case 17:return e.t1=_createForOfIteratorHelperLoose,e.next=20,Tools.walkDirectoryRecursively(t,r);case 20:e.t2=e.sent,a=(0,e.t1)(e.t2);case 22:if((s=a()).done){e.next=41;break}if(u=s.value,c=join(n,u.path.substring(t.length)),null==(l=u.stats)||!l.isDirectory()){e.next=37;break}return e.prev=26,e.next=29,mkdir(c);case 29:e.next=35;break;case 31:if(e.prev=31,e.t3=e.catch(26),"EEXIST"===e.t3.code){e.next=35;break}throw e.t3;case 35:e.next=39;break;case 37:return e.next=39,Tools.copyFile(u.path,c,o,i);case 39:e.next=22;break;case 41:return e.abrupt("return",n);case 42:case"end":return e.stop()}}),e,null,[[8,13],[26,31]])})));return function(t,n,r,o,i){return e.apply(this,arguments)}}(),Tools.copyDirectoryRecursiveSync=function(e,t,n,r,o){void 0===n&&(n=Tools.noop),void 0===r&&(r={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e=resolve(e),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e)));try{mkdirSync(t)}catch(e){if("EEXIST"!==e.code)throw e}for(var i,a=_createForOfIteratorHelperLoose(Tools.walkDirectoryRecursivelySync(e,n));!(i=a()).done;){var s,l=i.value,u=join(t,l.path.substring(e.length));if(null!=(s=l.stats)&&s.isDirectory())try{mkdirSync(u)}catch(e){if("EEXIST"!==e.code)throw e}else Tools.copyFileSync(l.path,u,r,o)}return t},Tools.copyFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n,r,o){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===r&&(r={encoding:null,flag:"r"}),void 0===o&&(o={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),e.next=4,Tools.isDirectory(n);case 4:if(!e.sent){e.next=6;break}n=resolve(n,basename(t));case 6:return e.t0=writeFile,e.t1=n,e.next=10,readFile(t,r);case 10:return e.t2=e.sent,e.t3=o,e.next=14,(0,e.t0)(e.t1,e.t2,e.t3);case 14:return e.abrupt("return",n);case 15:case"end":return e.stop()}}),e)})));return function(t,n,r,o){return e.apply(this,arguments)}}(),Tools.copyFileSync=function(e,t,n,r){return void 0===n&&(n={encoding:null,flag:"r"}),void 0===r&&(r={encoding:DEFAULT_ENCODING,flag:"w",mode:438}),Tools.isDirectorySync(t)&&(t=resolve(t,basename(e))),writeFileSync(t,readFileSync(e,n),r),t},Tools.isDirectory=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isDirectory());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isDirectorySync=function(e){try{return statSync(e).isDirectory()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.isFile=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t){return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.prev=0,e.next=3,stat(t);case 3:return e.abrupt("return",e.sent.isFile());case 6:if(e.prev=6,e.t0=e.catch(0),!Object.prototype.hasOwnProperty.call(e.t0,"code")||!["ENOENT","ENOTDIR"].includes(e.t0.code)){e.next=10;break}return e.abrupt("return",!1);case 10:throw e.t0;case 11:case"end":return e.stop()}}),e,null,[[0,6]])})));return function(t){return e.apply(this,arguments)}}(),Tools.isFileSync=function(e){try{return statSync(e).isFile()}catch(e){if(Object.prototype.hasOwnProperty.call(e,"code")&&["ENOENT","ENOTDIR"].includes(e.code))return!1;throw e}},Tools.walkDirectoryRecursively=function(){var e=_babel_runtime_helpers_asyncToGenerator__WEBPACK_IMPORTED_MODULE_4___default()(_babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().mark((function e(t,n,r){var o,i,a,s,l,u,c,d,f,p,h,_;return _babel_runtime_regenerator__WEBPACK_IMPORTED_MODULE_5___default().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return void 0===n&&(n=null),void 0===r&&(r=DEFAULT_ENCODING),o=[],e.t0=_createForOfIteratorHelperLoose,e.next=6,readdir(t,"string"==typeof r?{encoding:r,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},r,{withFileTypes:!0}));case 6:e.t1=e.sent,i=(0,e.t0)(e.t1);case 8:if((a=i()).done){e.next=24;break}return s=a.value,l=resolve(t,s.name),u={directoryPath:t,directoryEntry:s,error:null,name:s.name,path:l,stats:null},e.prev=12,e.next=15,stat(l);case 15:u.stats=e.sent,e.next=21;break;case 18:e.prev=18,e.t2=e.catch(12),u.error=e.t2;case 21:o.push(u);case 22:e.next=8;break;case 24:n&&o.sort((function(e,t){var n,r,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(r=t.stats)&&r.isDirectory()?1:0})),c=[],d=0,f=o;case 27:if(!(d<f.length)){e.next=48;break}if(h=f[d],c.push(h),null!==(_=n?n(h):void 0)){e.next=33;break}return e.abrupt("break",48);case 33:if("object"!=typeof _||!("then"in _)){e.next=37;break}return e.next=36,_;case 36:_=e.sent;case 37:if(null!==_){e.next=39;break}return e.abrupt("break",48);case 39:if(!1===_||null==(p=h.stats)||!p.isDirectory()){e.next=45;break}return e.t3=c,e.next=43,Tools.walkDirectoryRecursively(h.path,n,r);case 43:e.t4=e.sent,c=e.t3.concat.call(e.t3,e.t4);case 45:d++,e.next=27;break;case 48:return e.abrupt("return",c);case 49:case"end":return e.stop()}}),e,null,[[12,18]])})));return function(t,n,r){return e.apply(this,arguments)}}(),Tools.walkDirectoryRecursivelySync=function(e,t,n){void 0===t&&(t=Tools.noop),void 0===n&&(n=DEFAULT_ENCODING);for(var r,o=[],i=_createForOfIteratorHelperLoose(readdirSync(e,"string"==typeof n?{encoding:n,withFileTypes:!0}:_babel_runtime_helpers_extends__WEBPACK_IMPORTED_MODULE_2___default()({},n,{withFileTypes:!0})));!(r=i()).done;){var a=r.value,s=resolve(e,a.name),l={directoryPath:e,directoryEntry:a,error:null,name:a.name,path:s,stats:null};try{l.stats=statSync(s)}catch(e){l.error=e}o.push(l)}var u=[];if(t){o.sort((function(e,t){var n,r,o;return null!=(n=e.stats)&&n.isDirectory()?null!=(o=t.stats)&&o.isDirectory()?0:-1:null!=(r=t.stats)&&r.isDirectory()?1:0}));for(var c,d=_createForOfIteratorHelperLoose(o);!(c=d()).done;){var f,p=c.value;u.push(p);var h=t(p);if(null===h)break;!1!==h&&null!=(f=p.stats)&&f.isDirectory()&&(u=u.concat(Tools.walkDirectoryRecursivelySync(p.path,t,n)))}}return u},Tools.getProcessCloseHandler=function(e,t,n,r){void 0===n&&(n=null),void 0===r&&(r=Tools.noop);var o=!1;return function(i){if(o)o=!0;else{o=!0;for(var a=arguments.length,s=new Array(a>1?a-1:0),l=1;l<a;l++)s[l-1]=arguments[l];if("number"!=typeof i||0===i)r(),e({reason:n,parameters:s});else{var u=new Error("Task exited with error code "+i);u.returnCode=i,u.parameters=s,t(u)}}}},Tools.handleChildProcess=function(e){return e.stdout&&e.stdout.pipe(process.stdout),e.stderr&&e.stderr.pipe(process.stderr),e.on("close",(function(e){0!==e&&console.error("Task exited with error code "+e)})),e},_babel_runtime_helpers_createClass__WEBPACK_IMPORTED_MODULE_3___default()(Tools,[{key:"normalizedClassNames",get:function(){if(this.$domNode){var e="class";this.$domNode.find("*").addBack().each((function(t,n){var r=$(n),o=r.attr(e);o?r.attr(e,(o.split(" ").sort()||[]).join(" ")):r.is("[class]")&&r.removeAttr(e)}))}return this}},{key:"normalizedStyles",get:function(){if(this.$domNode){var e="style";this.$domNode.find("*").addBack().each((function(t,n){var r=$(n),o=r.attr(e);o?r.attr(e,Tools.stringCompressStyleValue((Tools.stringCompressStyleValue(o).split(";").sort()||[]).map((function(e){return e.trim()})).join(";"))):r.is("[style]")&&r.removeAttr(e)}))}return this}},{key:"style",get:function(){var e={},t=this.$domNode;if(null!=t&&t.length){var n,r;if(null!=(n=$.global.window)&&n.getComputedStyle&&(r=$.global.window.getComputedStyle(t[0],null))){if("length"in r)for(var o=0;o<r.length;o+=1)e[Tools.stringDelimitedToCamelCase(r[o])]=r.getPropertyValue(r[o]);else for(var i=0,a=Object.entries(r);i<a.length;i++){var s=a[i],l=s[0],u=s[1];e[Tools.stringDelimitedToCamelCase(l)]=u||r.getPropertyValue(l)}return e}if(r=t[0].style)for(var c in r)"function"!=typeof r[c]&&(e[c]=r[c])}return e}},{key:"text",get:function(){return this.$domNode?this.$domNode.clone().children().remove().end().text():""}}]),Tools}();Tools.abbreviations=["html","id","url","us","de","api","href"],Tools.animationEndEventNames="animationend webkitAnimationEnd oAnimationEnd MSAnimationEnd",Tools.classToTypeMapping={"[object Array]":"array","[object Boolean]":"boolean","[object Date]":"date","[object Error]":"error","[object Function]":"function","[object Map]":"map","[object Number]":"number","[object Object]":"object","[object RegExp]":"regexp","[object Set]":"set","[object String]":"string"},Tools.keyCode={BACKSPACE:8,COMMA:188,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,F1:112,F2:113,F3:114,F4:115,F5:116,F6:117,F7:118,F8:119,F9:120,F10:121,F11:122,F12:123,HOME:36,LEFT:37,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SPACE:32,TAB:9,UP:38},Tools.locales=[],Tools.maximalSupportedInternetExplorerVersion=function(){if(!$.document)return 0;var e,t=$.document.createElement("div");for(e=0;e<10&&(t.innerHTML="\x3c!--[if gt IE "+e+"]><i></i><![endif]--\x3e",0!==t.getElementsByTagName("i").length);e++);if(0===e&&$.global.window.navigator){if(-1!==$.global.window.navigator.appVersion.indexOf("MSIE 10"))return 10;if(![$.global.window.navigator.userAgent.indexOf("Trident"),$.global.window.navigator.userAgent.indexOf("rv:11")].includes(-1))return 11}return e}(),Tools.noop=$.noop?$.noop:function(){},Tools.plainObjectPrototypes=[Object.prototype],Tools.specialRegexSequences=["-","[","]","(",")","^","$","*","+",".","{","}"],Tools.transitionEndEventNames="transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",Tools._dateTimePatternCache=[],Tools._defaultOptions={domNodes:{hideJavaScriptEnabled:".tools-hidden-on-javascript-enabled",showJavaScriptEnabled:".tools-visible-on-javascript-enabled"},domNodeSelectorInfix:"",domNodeSelectorPrefix:"body",logging:!1,name:"Tools"},Tools._javaScriptDependentContentHandled=!1;var BoundTools=function(e){function t(n){for(var r,o=arguments.length,i=new Array(o>1?o-1:0),a=1;a<o;a++)i[a-1]=arguments[a];return(r=e.call.apply(e,[this,n].concat(i))||this).$domNode=void 0,r.self=t,r.$domNode=n,r}return _babel_runtime_helpers_inheritsLoose__WEBPACK_IMPORTED_MODULE_0___default()(t,e),t}(Tools);__nested_webpack_exports__.default=Tools;var augment$=function(e){if(($=e).global||($.global=globalContext),$.global.window&&(!$.document&&$.global.window.document&&($.document=$.global.window.document),!$.location&&$.global.window.location&&($.location=$.global.window.location)),$.fn&&($.fn.Tools=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tools.controller(Tools,t,this)}),$.Tools=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return Tools.controller(Tools,t)},$.Tools.class=Tools,$.fn){var t=$.fn.prop;$.fn.prop=function(e){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];if(r.length<2&&this.length&&["#text","#comment"].includes(this[0].nodeName.toLowerCase())&&e in this[0]){if(0===r.length)return this[0][e];if(1===r.length)return this[0][e]=r[0],this}return t.call.apply(t,[this,e].concat(r))}}};augment$($),$.readyException=function(e){if("string"!=typeof e||"canceled"!==e)throw e}},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){if(void 0===__WEBPACK_EXTERNAL_MODULE__7__){var t=new Error("Cannot find module 'undefined'");throw t.code="MODULE_NOT_FOUND",t}e.exports=__WEBPACK_EXTERNAL_MODULE__7__}],__webpack_module_cache__={};function __nested_webpack_require_90442__(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](n,n.exports,__nested_webpack_require_90442__),n.loaded=!0,n.exports}__nested_webpack_require_90442__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_90442__.d(t,{a:t}),t},__nested_webpack_require_90442__.d=function(e,t){for(var n in t)__nested_webpack_require_90442__.o(t,n)&&!__nested_webpack_require_90442__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_90442__.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_90442__.hmd=function(e){return(e=Object.create(e)).children||(e.children=[]),Object.defineProperty(e,"exports",{enumerable:!0,set:function(){throw new Error("ES Modules may not assign module.exports or exports.*, Use ESM export syntax, instead: "+e.id)}}),e},__nested_webpack_require_90442__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_90442__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var __nested_webpack_exports__=__nested_webpack_require_90442__(1);return __nested_webpack_exports__}()},module.exports=r(__webpack_require__(8),__webpack_require__(11),__webpack_require__(9),__webpack_require__(28),__webpack_require__(12),__webpack_require__(13),function(){try{return __webpack_require__(53)}catch(e){}}())},function(e,t,n){n.d(t,{N:function(){return u}});var r=n(2),o=n(5),i=n(46),a=n(17),s=n(19),l=n(44),u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.disabled=!1,t}return(0,r.C6)(t,e),t.attachTo=function(e,n){void 0===n&&(n={isUnbounded:void 0});var r=new t(e);return void 0!==n.isUnbounded&&(r.unbounded=n.isUnbounded),r},t.createAdapter=function(e){return{addClass:function(t){return e.root.classList.add(t)},browserSupportsCssVars:function(){return l.supportsCssVariables(window)},computeBoundingRect:function(){return e.root.getBoundingClientRect()},containsEventTarget:function(t){return e.root.contains(t)},deregisterDocumentInteractionHandler:function(e,t){return document.documentElement.removeEventListener(e,t,(0,i.E)())},deregisterInteractionHandler:function(t,n){return e.root.removeEventListener(t,n,(0,i.E)())},deregisterResizeHandler:function(e){return window.removeEventListener("resize",e)},getWindowPageOffset:function(){return{x:window.pageXOffset,y:window.pageYOffset}},isSurfaceActive:function(){return(0,a.cK)(e.root,":active")},isSurfaceDisabled:function(){return Boolean(e.disabled)},isUnbounded:function(){return Boolean(e.unbounded)},registerDocumentInteractionHandler:function(e,t){return document.documentElement.addEventListener(e,t,(0,i.E)())},registerInteractionHandler:function(t,n){return e.root.addEventListener(t,n,(0,i.E)())},registerResizeHandler:function(e){return window.addEventListener("resize",e)},removeClass:function(t){return e.root.classList.remove(t)},updateCssVariable:function(t,n){return e.root.style.setProperty(t,n)}}},Object.defineProperty(t.prototype,"unbounded",{get:function(){return Boolean(this.isUnbounded)},set:function(e){this.isUnbounded=Boolean(e),this.setUnbounded()},enumerable:!1,configurable:!0}),t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.layout=function(){this.foundation.layout()},t.prototype.getDefaultFoundation=function(){return new s.E(t.createAdapter(this))},t.prototype.initialSyncWithDOM=function(){var e=this.root;this.isUnbounded="mdcRippleIsUnbounded"in e.dataset},t.prototype.setUnbounded=function(){this.foundation.setUnbounded(Boolean(this.isUnbounded))},t}(o.O)},function(e,t){
|
|
53
53
|
/**
|
|
54
54
|
* @license React
|
|
55
55
|
* scheduler.production.min.js
|
|
@@ -59,8 +59,8 @@ function r(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(o(n,t))retur
|
|
|
59
59
|
* This source code is licensed under the MIT license found in the
|
|
60
60
|
* LICENSE file in the root directory of this source tree.
|
|
61
61
|
*/
|
|
62
|
-
function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,
|
|
63
|
-
e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof
|
|
62
|
+
function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<i(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,a=o>>>1;r<a;){var s=2*(r+1)-1,l=e[s],u=s+1,c=e[u];if(0>i(l,n))u<o&&0>i(c,l)?(e[r]=c,e[u]=n,r=u):(e[r]=l,e[s]=n,r=s);else{if(!(u<o&&0>i(c,n)))break e;e[r]=c,e[u]=n,r=u}}}return t}function i(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var a=performance;t.unstable_now=function(){return a.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var u=[],c=[],d=1,f=null,p=3,h=!1,_=!1,m=!1,v="function"==typeof setTimeout?setTimeout:null,g="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function y(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(u,t)}t=r(c)}}function E(e){if(m=!1,y(e),!_)if(null!==r(u))_=!0,k(x);else{var t=r(c);null!==t&&R(E,t.startTime-e)}}function x(e,n){_=!1,m&&(m=!1,g(w),w=-1),h=!0;var i=p;try{for(y(n),f=r(u);null!==f&&(!(f.expirationTime>n)||e&&!O());){var a=f.callback;if("function"==typeof a){f.callback=null,p=f.priorityLevel;var s=a(f.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?f.callback=s:f===r(u)&&o(u),y(n)}else o(u);f=r(u)}if(null!==f)var l=!0;else{var d=r(c);null!==d&&R(E,d.startTime-n),l=!1}return l}finally{f=null,p=i,h=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var T,C=!1,A=null,w=-1,I=5,S=-1;function O(){return!(t.unstable_now()-S<I)}function L(){if(null!==A){var e=t.unstable_now();S=e;var n=!0;try{n=A(!0,e)}finally{n?T():(C=!1,A=null)}}else C=!1}if("function"==typeof b)T=function(){b(L)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,N=P.port2;P.port1.onmessage=L,T=function(){N.postMessage(null)}}else T=function(){v(L,0)};function k(e){A=e,C||(C=!0,T())}function R(e,n){w=v((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){_||h||(_=!0,k(x))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):I=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(u)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,i){var a=t.unstable_now();switch("object"==typeof i&&null!==i?i="number"==typeof(i=i.delay)&&0<i?a+i:a:i=a,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:o,priorityLevel:e,startTime:i,expirationTime:s=i+s,sortIndex:-1},i>a?(e.sortIndex=i,n(c,e),null===r(u)&&e===r(c)&&(m?(g(w),w=-1):m=!0,R(E,i-a))):(e.sortIndex=s,n(u,e),_||h||(_=!0,k(x))),e},t.unstable_shouldYield=O,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},function(e,t,n){var r=n(24),o=n(6),i=n(27),a=n(11);function s(t){var n="function"==typeof Map?new Map:void 0;return e.exports=s=function(e){if(null===e||!i(e))return e;if("function"!=typeof e)throw new TypeError("Super expression must either be null or a function");if(void 0!==n){if(n.has(e))return n.get(e);n.set(e,t)}function t(){return a(e,arguments,r(this).constructor)}return t.prototype=Object.create(e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),o(t,e)},e.exports.__esModule=!0,e.exports.default=e.exports,s(t)}e.exports=s,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(n){return e.exports=t=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},e.exports.__esModule=!0,e.exports.default=e.exports,t(n)}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){function t(){try{var n=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(n){}return(e.exports=t=function(){return!!n},e.exports.__esModule=!0,e.exports.default=e.exports)()}e.exports=t,e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(7).default;function o(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
63
|
+
e.exports=o=function(){return n},e.exports.__esModule=!0,e.exports.default=e.exports;var t,n={},i=Object.prototype,a=i.hasOwnProperty,s=Object.defineProperty||function(e,t,n){e[t]=n.value},l="function"==typeof Symbol?Symbol:{},u=l.iterator||"@@iterator",c=l.asyncIterator||"@@asyncIterator",d=l.toStringTag||"@@toStringTag";function f(e,t,n){return Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{f({},"")}catch(t){f=function(e,t,n){return e[t]=n}}function p(e,t,n,r){var o=t&&t.prototype instanceof y?t:y,i=Object.create(o.prototype),a=new k(r||[]);return s(i,"_invoke",{value:O(e,n,a)}),i}function h(e,t,n){try{return{type:"normal",arg:e.call(t,n)}}catch(e){return{type:"throw",arg:e}}}n.wrap=p;var _="suspendedStart",m="suspendedYield",v="executing",g="completed",b={};function y(){}function E(){}function x(){}var T={};f(T,u,(function(){return this}));var C=Object.getPrototypeOf,A=C&&C(C(R([])));A&&A!==i&&a.call(A,u)&&(T=A);var w=x.prototype=y.prototype=Object.create(T);function I(e){["next","throw","return"].forEach((function(t){f(e,t,(function(e){return this._invoke(t,e)}))}))}function S(e,t){function n(o,i,s,l){var u=h(e[o],e,i);if("throw"!==u.type){var c=u.arg,d=c.value;return d&&"object"==r(d)&&a.call(d,"__await")?t.resolve(d.__await).then((function(e){n("next",e,s,l)}),(function(e){n("throw",e,s,l)})):t.resolve(d).then((function(e){c.value=e,s(c)}),(function(e){return n("throw",e,s,l)}))}l(u.arg)}var o;s(this,"_invoke",{value:function(e,r){function i(){return new t((function(t,o){n(e,r,t,o)}))}return o=o?o.then(i,i):i()}})}function O(e,n,r){var o=_;return function(i,a){if(o===v)throw new Error("Generator is already running");if(o===g){if("throw"===i)throw a;return{value:t,done:!0}}for(r.method=i,r.arg=a;;){var s=r.delegate;if(s){var l=L(s,r);if(l){if(l===b)continue;return l}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if(o===_)throw o=g,r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);o=v;var u=h(e,n,r);if("normal"===u.type){if(o=r.done?g:m,u.arg===b)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(o=g,r.method="throw",r.arg=u.arg)}}}function L(e,n){var r=n.method,o=e.iterator[r];if(o===t)return n.delegate=null,"throw"===r&&e.iterator.return&&(n.method="return",n.arg=t,L(e,n),"throw"===n.method)||"return"!==r&&(n.method="throw",n.arg=new TypeError("The iterator does not provide a '"+r+"' method")),b;var i=h(o,e.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,b;var a=i.arg;return a?a.done?(n[e.resultName]=a.value,n.next=e.nextLoc,"return"!==n.method&&(n.method="next",n.arg=t),n.delegate=null,b):a:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,b)}function P(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function N(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function k(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(P,this),this.reset(!0)}function R(e){if(e||""===e){var n=e[u];if(n)return n.call(e);if("function"==typeof e.next)return e;if(!isNaN(e.length)){var o=-1,i=function n(){for(;++o<e.length;)if(a.call(e,o))return n.value=e[o],n.done=!1,n;return n.value=t,n.done=!0,n};return i.next=i}}throw new TypeError(r(e)+" is not iterable")}return E.prototype=x,s(w,"constructor",{value:x,configurable:!0}),s(x,"constructor",{value:E,configurable:!0}),E.displayName=f(x,d,"GeneratorFunction"),n.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===E||"GeneratorFunction"===(t.displayName||t.name))},n.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,x):(e.__proto__=x,f(e,d,"GeneratorFunction")),e.prototype=Object.create(w),e},n.awrap=function(e){return{__await:e}},I(S.prototype),f(S.prototype,c,(function(){return this})),n.AsyncIterator=S,n.async=function(e,t,r,o,i){void 0===i&&(i=Promise);var a=new S(p(e,t,r,o),i);return n.isGeneratorFunction(t)?a:a.next().then((function(e){return e.done?e.value:a.next()}))},I(w),f(w,d,"Generator"),f(w,u,(function(){return this})),f(w,"toString",(function(){return"[object Generator]"})),n.keys=function(e){var t=Object(e),n=[];for(var r in t)n.push(r);return n.reverse(),function e(){for(;n.length;){var r=n.pop();if(r in t)return e.value=r,e.done=!1,e}return e.done=!0,e}},n.values=R,k.prototype={constructor:k,reset:function(e){if(this.prev=0,this.next=0,this.sent=this._sent=t,this.done=!1,this.delegate=null,this.method="next",this.arg=t,this.tryEntries.forEach(N),!e)for(var n in this)"t"===n.charAt(0)&&a.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=t)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(e){if(this.done)throw e;var n=this;function r(r,o){return s.type="throw",s.arg=e,n.next=r,o&&(n.method="next",n.arg=t),!!o}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],s=i.completion;if("root"===i.tryLoc)return r("end");if(i.tryLoc<=this.prev){var l=a.call(i,"catchLoc"),u=a.call(i,"finallyLoc");if(l&&u){if(this.prev<i.catchLoc)return r(i.catchLoc,!0);if(this.prev<i.finallyLoc)return r(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return r(i.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return r(i.finallyLoc)}}}},abrupt:function(e,t){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&a.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var o=r;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,b):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),b},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.finallyLoc===e)return this.complete(n.completion,n.afterLoc),N(n),b}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var n=this.tryEntries[t];if(n.tryLoc===e){var r=n.completion;if("throw"===r.type){var o=r.arg;N(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(e,n,r){return this.delegate={iterator:R(e),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=t),b}},n}e.exports=o,e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=function(e){try{return-1!==Function.toString.call(e).indexOf("[native code]")}catch(t){return"function"==typeof e}},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(29);function o(e,t){for(var n=0;n<t.length;n++){var o=t[n];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,r(o.key),o)}}e.exports=function(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(7).default,o=n(30);e.exports=function(e){var t=o(e,"string");return"symbol"==r(t)?t:String(t)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){var r=n(7).default;e.exports=function(e,t){if("object"!=r(e)||!e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,t||"default");if("object"!=r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=function(e,t,n,r){n&&Object.defineProperty(e,t,{enumerable:n.enumerable,configurable:n.configurable,writable:n.writable,value:n.initializer?n.initializer.call(r):void 0})},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=function(e,t,n,r,o){var i={};return Object.keys(r).forEach((function(e){i[e]=r[e]})),i.enumerable=!!i.enumerable,i.configurable=!!i.configurable,("value"in i||i.initializer)&&(i.writable=!0),i=n.slice().reverse().reduce((function(n,r){return r(e,t,n)||n}),i),o&&void 0!==i.initializer&&(i.value=i.initializer?i.initializer.call(o):void 0,i.initializer=void 0),void 0===i.initializer&&(Object.defineProperty(e,t,i),i=null),i},e.exports.__esModule=!0,e.exports.default=e.exports},function(e){e.exports=function(e,t){throw new Error("Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.")},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){e.exports=n(36)()},function(e,t,n){var r=n(37);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},function(e){e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},function(e){
|
|
64
64
|
/**
|
|
65
65
|
* @license
|
|
66
66
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -176,7 +176,7 @@ var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(
|
|
|
176
176
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
177
177
|
* THE SOFTWARE.
|
|
178
178
|
*/
|
|
179
|
-
Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigationEvent=t.normalizeKey=t.KEY=void 0,t.KEY={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"};var r=new Set;r.add(t.KEY.BACKSPACE),r.add(t.KEY.ENTER),r.add(t.KEY.SPACEBAR),r.add(t.KEY.PAGE_UP),r.add(t.KEY.PAGE_DOWN),r.add(t.KEY.END),r.add(t.KEY.HOME),r.add(t.KEY.ARROW_LEFT),r.add(t.KEY.ARROW_UP),r.add(t.KEY.ARROW_RIGHT),r.add(t.KEY.ARROW_DOWN),r.add(t.KEY.DELETE),r.add(t.KEY.ESCAPE),r.add(t.KEY.TAB);var o=8,i=13,a=32,s=33,l=34,u=35,c=36,d=37,f=38,p=39,h=40,
|
|
179
|
+
Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigationEvent=t.normalizeKey=t.KEY=void 0,t.KEY={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"};var r=new Set;r.add(t.KEY.BACKSPACE),r.add(t.KEY.ENTER),r.add(t.KEY.SPACEBAR),r.add(t.KEY.PAGE_UP),r.add(t.KEY.PAGE_DOWN),r.add(t.KEY.END),r.add(t.KEY.HOME),r.add(t.KEY.ARROW_LEFT),r.add(t.KEY.ARROW_UP),r.add(t.KEY.ARROW_RIGHT),r.add(t.KEY.ARROW_DOWN),r.add(t.KEY.DELETE),r.add(t.KEY.ESCAPE),r.add(t.KEY.TAB);var o=8,i=13,a=32,s=33,l=34,u=35,c=36,d=37,f=38,p=39,h=40,_=46,m=27,v=9,g=new Map;g.set(o,t.KEY.BACKSPACE),g.set(i,t.KEY.ENTER),g.set(a,t.KEY.SPACEBAR),g.set(s,t.KEY.PAGE_UP),g.set(l,t.KEY.PAGE_DOWN),g.set(u,t.KEY.END),g.set(c,t.KEY.HOME),g.set(d,t.KEY.ARROW_LEFT),g.set(f,t.KEY.ARROW_UP),g.set(p,t.KEY.ARROW_RIGHT),g.set(h,t.KEY.ARROW_DOWN),g.set(_,t.KEY.DELETE),g.set(m,t.KEY.ESCAPE),g.set(v,t.KEY.TAB);var b=new Set;function y(e){var n=e.key;if(r.has(n))return n;var o=g.get(e.keyCode);return o||t.KEY.UNKNOWN}b.add(t.KEY.PAGE_UP),b.add(t.KEY.PAGE_DOWN),b.add(t.KEY.END),b.add(t.KEY.HOME),b.add(t.KEY.ARROW_LEFT),b.add(t.KEY.ARROW_UP),b.add(t.KEY.ARROW_RIGHT),b.add(t.KEY.ARROW_DOWN),t.normalizeKey=y,t.isNavigationEvent=function(e){return b.has(y(e))}},"./packages/mdc-dom/ponyfill.ts":
|
|
180
180
|
/*!**************************************!*\
|
|
181
181
|
!*** ./packages/mdc-dom/ponyfill.ts ***!
|
|
182
182
|
\**************************************/
|
|
@@ -203,7 +203,7 @@ Object.defineProperty(t,"__esModule",{value:!0}),t.isNavigationEvent=t.normalize
|
|
|
203
203
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
204
204
|
* THE SOFTWARE.
|
|
205
205
|
*/
|
|
206
|
-
Object.defineProperty(t,"__esModule",{value:!0}),t.estimateScrollWidth=t.matches=t.closest=void 0,t.closest=function(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(r(n,t))return n;n=n.parentElement}return null},t.matches=r,t.estimateScrollWidth=function(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var r=n.scrollWidth;return document.documentElement.removeChild(n),r}}})},e.exports=t()},function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",transparent:"#ffffff",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},s=e=>a[e]||e,l=e=>{4===e.length&&(e+=e.slice(1));const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:0,g:0,b:0}},u=(e,t,n)=>{let r=[e,t,n].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*r[0]+.7152*r[1]+.0722*r[2]},c=(e,t)=>(u(e[0],e[1],e[2])+.05)/(u(t[0],t[1],t[2])+.05),d=e=>(e=s(e),l(e)),f=e=>{const{r:t,g:n,b:r}=d(e);return!(c([255,255,255],[t,n,r])>3)},p={"--mdc-theme-primary":[["--mdc-theme-on-primary",0]],"--mdc-theme-surface":[["--mdc-theme-on-surface",0]],"--mdc-theme-secondary":[["--mdc-theme-on-secondary",0]],"--mdc-theme-background":[["--mdc-theme-text-primary-on-background",0],["--mdc-theme-text-secondary-on-background",1],["--mdc-theme-text-hint-on-background",2],["--mdc-theme-text-disabled-on-background",2],["--mdc-theme-text-icon-on-background",2]]},h=["rgba(0, 0, 0, 0.87)","rgba(0, 0, 0, 0.54)","rgba(0, 0, 0, 0.38)"],
|
|
206
|
+
Object.defineProperty(t,"__esModule",{value:!0}),t.estimateScrollWidth=t.matches=t.closest=void 0,t.closest=function(e,t){if(e.closest)return e.closest(t);for(var n=e;n;){if(r(n,t))return n;n=n.parentElement}return null},t.matches=r,t.estimateScrollWidth=function(e){var t=e;if(null!==t.offsetParent)return t.scrollWidth;var n=t.cloneNode(!0);n.style.setProperty("position","absolute"),n.style.setProperty("transform","translate(-9999px, -9999px)"),document.documentElement.appendChild(n);var r=n.scrollWidth;return document.documentElement.removeChild(n),r}}})},e.exports=t()},function(e){e.exports=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o},e.exports.__esModule=!0,e.exports.default=e.exports},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a={aliceblue:"#f0f8ff",antiquewhite:"#faebd7",aqua:"#00ffff",aquamarine:"#7fffd4",azure:"#f0ffff",beige:"#f5f5dc",bisque:"#ffe4c4",black:"#000000",blanchedalmond:"#ffebcd",blue:"#0000ff",blueviolet:"#8a2be2",brown:"#a52a2a",burlywood:"#deb887",cadetblue:"#5f9ea0",chartreuse:"#7fff00",chocolate:"#d2691e",coral:"#ff7f50",cornflowerblue:"#6495ed",cornsilk:"#fff8dc",crimson:"#dc143c",cyan:"#00ffff",darkblue:"#00008b",darkcyan:"#008b8b",darkgoldenrod:"#b8860b",darkgray:"#a9a9a9",darkgreen:"#006400",darkkhaki:"#bdb76b",darkmagenta:"#8b008b",darkolivegreen:"#556b2f",darkorange:"#ff8c00",darkorchid:"#9932cc",darkred:"#8b0000",darksalmon:"#e9967a",darkseagreen:"#8fbc8f",darkslateblue:"#483d8b",darkslategray:"#2f4f4f",darkturquoise:"#00ced1",darkviolet:"#9400d3",deeppink:"#ff1493",deepskyblue:"#00bfff",dimgray:"#696969",dodgerblue:"#1e90ff",firebrick:"#b22222",floralwhite:"#fffaf0",forestgreen:"#228b22",fuchsia:"#ff00ff",gainsboro:"#dcdcdc",ghostwhite:"#f8f8ff",gold:"#ffd700",goldenrod:"#daa520",gray:"#808080",green:"#008000",greenyellow:"#adff2f",honeydew:"#f0fff0",hotpink:"#ff69b4","indianred ":"#cd5c5c",indigo:"#4b0082",ivory:"#fffff0",khaki:"#f0e68c",lavender:"#e6e6fa",lavenderblush:"#fff0f5",lawngreen:"#7cfc00",lemonchiffon:"#fffacd",lightblue:"#add8e6",lightcoral:"#f08080",lightcyan:"#e0ffff",lightgoldenrodyellow:"#fafad2",lightgrey:"#d3d3d3",lightgreen:"#90ee90",lightpink:"#ffb6c1",lightsalmon:"#ffa07a",lightseagreen:"#20b2aa",lightskyblue:"#87cefa",lightslategray:"#778899",lightsteelblue:"#b0c4de",lightyellow:"#ffffe0",lime:"#00ff00",limegreen:"#32cd32",linen:"#faf0e6",magenta:"#ff00ff",maroon:"#800000",mediumaquamarine:"#66cdaa",mediumblue:"#0000cd",mediumorchid:"#ba55d3",mediumpurple:"#9370d8",mediumseagreen:"#3cb371",mediumslateblue:"#7b68ee",mediumspringgreen:"#00fa9a",mediumturquoise:"#48d1cc",mediumvioletred:"#c71585",midnightblue:"#191970",mintcream:"#f5fffa",mistyrose:"#ffe4e1",moccasin:"#ffe4b5",navajowhite:"#ffdead",navy:"#000080",oldlace:"#fdf5e6",olive:"#808000",olivedrab:"#6b8e23",orange:"#ffa500",orangered:"#ff4500",orchid:"#da70d6",palegoldenrod:"#eee8aa",palegreen:"#98fb98",paleturquoise:"#afeeee",palevioletred:"#d87093",papayawhip:"#ffefd5",peachpuff:"#ffdab9",peru:"#cd853f",pink:"#ffc0cb",plum:"#dda0dd",powderblue:"#b0e0e6",purple:"#800080",red:"#ff0000",rosybrown:"#bc8f8f",royalblue:"#4169e1",saddlebrown:"#8b4513",salmon:"#fa8072",sandybrown:"#f4a460",seagreen:"#2e8b57",seashell:"#fff5ee",sienna:"#a0522d",silver:"#c0c0c0",skyblue:"#87ceeb",slateblue:"#6a5acd",slategray:"#708090",snow:"#fffafa",springgreen:"#00ff7f",steelblue:"#4682b4",tan:"#d2b48c",teal:"#008080",thistle:"#d8bfd8",tomato:"#ff6347",transparent:"#ffffff",turquoise:"#40e0d0",violet:"#ee82ee",wheat:"#f5deb3",white:"#ffffff",whitesmoke:"#f5f5f5",yellow:"#ffff00",yellowgreen:"#9acd32"},s=e=>a[e]||e,l=e=>{4===e.length&&(e+=e.slice(1));const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:{r:0,g:0,b:0}},u=(e,t,n)=>{let r=[e,t,n].map((function(e){return(e/=255)<=.03928?e/12.92:Math.pow((e+.055)/1.055,2.4)}));return.2126*r[0]+.7152*r[1]+.0722*r[2]},c=(e,t)=>(u(e[0],e[1],e[2])+.05)/(u(t[0],t[1],t[2])+.05),d=e=>(e=s(e),l(e)),f=e=>{const{r:t,g:n,b:r}=d(e);return!(c([255,255,255],[t,n,r])>3)},p={"--mdc-theme-primary":[["--mdc-theme-on-primary",0]],"--mdc-theme-surface":[["--mdc-theme-on-surface",0]],"--mdc-theme-secondary":[["--mdc-theme-on-secondary",0]],"--mdc-theme-background":[["--mdc-theme-text-primary-on-background",0],["--mdc-theme-text-secondary-on-background",1],["--mdc-theme-text-hint-on-background",2],["--mdc-theme-text-disabled-on-background",2],["--mdc-theme-text-icon-on-background",2]]},h=["rgba(0, 0, 0, 0.87)","rgba(0, 0, 0, 0.54)","rgba(0, 0, 0, 0.38)"],_=["rgba(255, 255, 255, 1)","rgba(255, 255, 255, 0.7)","rgba(255, 255, 255, 0.5)"],m=e=>({...Object.keys(p).reduce(((t,n)=>{if(e[n]){const r=f(e[n])?h:_;p[n].forEach((e=>{t[e[0]]=r[e[1]]}))}return t}),{}),...e}),v=i.createComponent((function(e,t){const{use:n,wrap:o,...a}=e,s=i.useClassNames(e,[i.parseThemeOptions(n).join(" ")]);return o?i.wrapChild({...a,ref:t,className:s}):r.jsx(i.Tag,{tag:"span",theme:n,...a,ref:t,className:s})})),g=i.createComponent((function(e,t){var n,a;const s=JSON.stringify(e.options),l=o.useMemo((()=>{const t=Object.keys(e.options).reduce(((t,n)=>{const r=e.options[n];return t[n=n.startsWith("--")?n:`--mdc-theme-${i.toDashCase(n)}`]=r,t}),{});return m(t)}),[s]),{options:u,style:c={},wrap:d,...f}=e,p=i.useClassNames(e,[d&&"object"==typeof f.children&&(null==(a=null==(n=f.children)?void 0:n.props)?void 0:a.className)]),h={...c,...l};return d&&f.children?i.wrapChild({...f,style:h,ref:t}):r.jsx(i.Tag,{...f,style:h,className:p,ref:t})}));t.Theme=v,t.ThemeProvider=g,t.contrast=c,t.getAutoColorsForTheme=m,t.getRgb=d,t.hexToRgb=l,t.isLight=f,t.luminance=u,t.nameToHex=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(16),a={headline1:"h1",headline2:"h2",headline3:"h3",headline4:"h4",headline5:"h5",headline6:"h6",subtitle1:"h6",subtitle2:"h6",body1:"p",body2:"p",caption:"span",button:"span",overline:"span"},s=o.createComponent((function(e,t){const{use:n,...s}=e,l=i.useProviderContext().typography,u=(null==l?void 0:l[n])||(null==l?void 0:l.defaultTag)||a[n],c=o.useClassNames(e,[{[`mdc-typography--${e.use}`]:e.use}]);return r.jsx(o.Tag,{tag:u,...s,ref:t,className:c})}));t.Typography=s},function(e,t,n){n.d(t,{Jv:function(){return r},OK:function(){return o},P$:function(){return a},Y7:function(){return i},nL:function(){return s}});
|
|
207
207
|
/**
|
|
208
208
|
* @license
|
|
209
209
|
* Copyright 2018 Google Inc.
|
|
@@ -272,7 +272,7 @@ var r,o;n.d(t,{$z:function(){return a},P$:function(){return l},PY:function(){ret
|
|
|
272
272
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
273
273
|
* THE SOFTWARE.
|
|
274
274
|
*/
|
|
275
|
-
function r(e){return void 0===e&&(e=window),!!function(e){void 0===e&&(e=window);var t=!1;try{var n={get passive(){return t=!0,!1}},r=function(){};e.document.addEventListener("test",r,n),e.document.removeEventListener("test",r,n)}catch(e){t=!1}return t}(e)&&{passive:!0}}n.d(t,{E:function(){return r}})},function(e,t,n){n.d(t,{O:function(){return a}});var r=n(2),o=n(4),i=n(42),a=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.isSurfaceOpen=!1,o.isQuickOpen=!1,o.isHoistedElement=!1,o.isFixedPosition=!1,o.isHorizontallyCenteredOnViewport=!1,o.maxHeight=0,o.openBottomBias=0,o.openAnimationEndTimerId=0,o.closeAnimationEndTimerId=0,o.animationRequestId=0,o.anchorCorner=i.OK.TOP_START,o.originCorner=i.OK.TOP_START,o.anchorMargin={top:0,right:0,bottom:0,left:0},o.position={x:0,y:0},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return i.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return i.OK},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyClosing:function(){},notifyOpen:function(){},notifyOpening:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter.hasClass(n))throw new Error(n+" class required in root element.");this.adapter.hasClass(r)&&(this.isSurfaceOpen=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},t.prototype.setAnchorCorner=function(e){this.anchorCorner=e},t.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^i.Jv.RIGHT},t.prototype.setAnchorMargin=function(e){this.anchorMargin.top=e.top||0,this.anchorMargin.right=e.right||0,this.anchorMargin.bottom=e.bottom||0,this.anchorMargin.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition=e},t.prototype.isFixed=function(){return this.isFixedPosition},t.prototype.setAbsolutePosition=function(e,t){this.position.x=this.isFinite(e)?e:0,this.position.y=this.isFinite(t)?t:0},t.prototype.setIsHorizontallyCenteredOnViewport=function(e){this.isHorizontallyCenteredOnViewport=e},t.prototype.setQuickOpen=function(e){this.isQuickOpen=e},t.prototype.setMaxHeight=function(e){this.maxHeight=e},t.prototype.setOpenBottomBias=function(e){this.openBottomBias=e},t.prototype.isOpen=function(){return this.isSurfaceOpen},t.prototype.open=function(){var e=this;this.isSurfaceOpen||(this.adapter.notifyOpening(),this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(t.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){e.dimensions=e.adapter.getInnerDimensions(),e.autoposition(),e.adapter.addClass(t.cssClasses.OPEN),e.openAnimationEndTimerId=setTimeout((function(){e.openAnimationEndTimerId=0,e.adapter.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter.notifyOpen()}),i.nL.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},t.prototype.close=function(e){var n=this;if(void 0===e&&(e=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,e||this.maybeRestoreFocus(),this.adapter.removeClass(t.cssClasses.OPEN),this.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){n.adapter.removeClass(t.cssClasses.OPEN),n.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout((function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(t.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()}),i.nL.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,e||this.maybeRestoreFocus()}},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode;("Escape"===e.key||27===t)&&this.close()},t.prototype.autoposition=function(){var e;this.measurements=this.getAutoLayoutmeasurements();var n=this.getoriginCorner(),r=this.getMenuSurfaceMaxHeight(n),o=this.hasBit(n,i.Jv.BOTTOM)?"bottom":"top",a=this.hasBit(n,i.Jv.RIGHT)?"right":"left",s=this.getHorizontalOriginOffset(n),l=this.getVerticalOriginOffset(n),u=this.measurements,c=u.anchorSize,d=u.surfaceSize,f=((e={})[a]=s,e[o]=l,e);c.width/d.width>i.nL.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(a="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(f),this.adapter.setTransformOrigin(a+" "+o),this.adapter.setPosition(f),this.adapter.setMaxHeight(r?r+"px":""),this.hasBit(n,i.Jv.BOTTOM)||this.adapter.addClass(t.cssClasses.IS_OPEN_BELOW)},t.prototype.getAutoLayoutmeasurements=function(){var e=this.adapter.getAnchorDimensions(),t=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),r=this.adapter.getWindowScroll();return e||(e={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getoriginCorner=function(){var e,n,r=this.originCorner,o=this.measurements,a=o.viewportDistance,s=o.anchorSize,l=o.surfaceSize,u=t.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,i.Jv.BOTTOM)?(e=a.top-u+this.anchorMargin.bottom,n=a.bottom-u-this.anchorMargin.bottom):(e=a.top-u+this.anchorMargin.top,n=a.bottom-u+s.height-this.anchorMargin.top),!(n-l.height>0)&&e>n+this.openBottomBias&&(r=this.setBit(r,i.Jv.BOTTOM));var c,d,f=this.adapter.isRtl(),p=this.hasBit(this.anchorCorner,i.Jv.FLIP_RTL),h=this.hasBit(this.anchorCorner,i.Jv.RIGHT)||this.hasBit(r,i.Jv.RIGHT),
|
|
275
|
+
function r(e){return void 0===e&&(e=window),!!function(e){void 0===e&&(e=window);var t=!1;try{var n={get passive(){return t=!0,!1}},r=function(){};e.document.addEventListener("test",r,n),e.document.removeEventListener("test",r,n)}catch(e){t=!1}return t}(e)&&{passive:!0}}n.d(t,{E:function(){return r}})},function(e,t,n){n.d(t,{O:function(){return a}});var r=n(2),o=n(4),i=n(42),a=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.isSurfaceOpen=!1,o.isQuickOpen=!1,o.isHoistedElement=!1,o.isFixedPosition=!1,o.isHorizontallyCenteredOnViewport=!1,o.maxHeight=0,o.openBottomBias=0,o.openAnimationEndTimerId=0,o.closeAnimationEndTimerId=0,o.animationRequestId=0,o.anchorCorner=i.OK.TOP_START,o.originCorner=i.OK.TOP_START,o.anchorMargin={top:0,right:0,bottom:0,left:0},o.position={x:0,y:0},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return i.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return i.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"Corner",{get:function(){return i.OK},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},hasAnchor:function(){return!1},isElementInContainer:function(){return!1},isFocused:function(){return!1},isRtl:function(){return!1},getInnerDimensions:function(){return{height:0,width:0}},getAnchorDimensions:function(){return null},getWindowDimensions:function(){return{height:0,width:0}},getBodyDimensions:function(){return{height:0,width:0}},getWindowScroll:function(){return{x:0,y:0}},setPosition:function(){},setMaxHeight:function(){},setTransformOrigin:function(){},saveFocus:function(){},restoreFocus:function(){},notifyClose:function(){},notifyClosing:function(){},notifyOpen:function(){},notifyOpening:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=t.cssClasses,n=e.ROOT,r=e.OPEN;if(!this.adapter.hasClass(n))throw new Error(n+" class required in root element.");this.adapter.hasClass(r)&&(this.isSurfaceOpen=!0)},t.prototype.destroy=function(){clearTimeout(this.openAnimationEndTimerId),clearTimeout(this.closeAnimationEndTimerId),cancelAnimationFrame(this.animationRequestId)},t.prototype.setAnchorCorner=function(e){this.anchorCorner=e},t.prototype.flipCornerHorizontally=function(){this.originCorner=this.originCorner^i.Jv.RIGHT},t.prototype.setAnchorMargin=function(e){this.anchorMargin.top=e.top||0,this.anchorMargin.right=e.right||0,this.anchorMargin.bottom=e.bottom||0,this.anchorMargin.left=e.left||0},t.prototype.setIsHoisted=function(e){this.isHoistedElement=e},t.prototype.setFixedPosition=function(e){this.isFixedPosition=e},t.prototype.isFixed=function(){return this.isFixedPosition},t.prototype.setAbsolutePosition=function(e,t){this.position.x=this.isFinite(e)?e:0,this.position.y=this.isFinite(t)?t:0},t.prototype.setIsHorizontallyCenteredOnViewport=function(e){this.isHorizontallyCenteredOnViewport=e},t.prototype.setQuickOpen=function(e){this.isQuickOpen=e},t.prototype.setMaxHeight=function(e){this.maxHeight=e},t.prototype.setOpenBottomBias=function(e){this.openBottomBias=e},t.prototype.isOpen=function(){return this.isSurfaceOpen},t.prototype.open=function(){var e=this;this.isSurfaceOpen||(this.adapter.notifyOpening(),this.adapter.saveFocus(),this.isQuickOpen?(this.isSurfaceOpen=!0,this.adapter.addClass(t.cssClasses.OPEN),this.dimensions=this.adapter.getInnerDimensions(),this.autoposition(),this.adapter.notifyOpen()):(this.adapter.addClass(t.cssClasses.ANIMATING_OPEN),this.animationRequestId=requestAnimationFrame((function(){e.dimensions=e.adapter.getInnerDimensions(),e.autoposition(),e.adapter.addClass(t.cssClasses.OPEN),e.openAnimationEndTimerId=setTimeout((function(){e.openAnimationEndTimerId=0,e.adapter.removeClass(t.cssClasses.ANIMATING_OPEN),e.adapter.notifyOpen()}),i.nL.TRANSITION_OPEN_DURATION)})),this.isSurfaceOpen=!0))},t.prototype.close=function(e){var n=this;if(void 0===e&&(e=!1),this.isSurfaceOpen){if(this.adapter.notifyClosing(),this.isQuickOpen)return this.isSurfaceOpen=!1,e||this.maybeRestoreFocus(),this.adapter.removeClass(t.cssClasses.OPEN),this.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),void this.adapter.notifyClose();this.adapter.addClass(t.cssClasses.ANIMATING_CLOSED),requestAnimationFrame((function(){n.adapter.removeClass(t.cssClasses.OPEN),n.adapter.removeClass(t.cssClasses.IS_OPEN_BELOW),n.closeAnimationEndTimerId=setTimeout((function(){n.closeAnimationEndTimerId=0,n.adapter.removeClass(t.cssClasses.ANIMATING_CLOSED),n.adapter.notifyClose()}),i.nL.TRANSITION_CLOSE_DURATION)})),this.isSurfaceOpen=!1,e||this.maybeRestoreFocus()}},t.prototype.handleBodyClick=function(e){var t=e.target;this.adapter.isElementInContainer(t)||this.close()},t.prototype.handleKeydown=function(e){var t=e.keyCode;("Escape"===e.key||27===t)&&this.close()},t.prototype.autoposition=function(){var e;this.measurements=this.getAutoLayoutmeasurements();var n=this.getoriginCorner(),r=this.getMenuSurfaceMaxHeight(n),o=this.hasBit(n,i.Jv.BOTTOM)?"bottom":"top",a=this.hasBit(n,i.Jv.RIGHT)?"right":"left",s=this.getHorizontalOriginOffset(n),l=this.getVerticalOriginOffset(n),u=this.measurements,c=u.anchorSize,d=u.surfaceSize,f=((e={})[a]=s,e[o]=l,e);c.width/d.width>i.nL.ANCHOR_TO_MENU_SURFACE_WIDTH_RATIO&&(a="center"),(this.isHoistedElement||this.isFixedPosition)&&this.adjustPositionForHoistedElement(f),this.adapter.setTransformOrigin(a+" "+o),this.adapter.setPosition(f),this.adapter.setMaxHeight(r?r+"px":""),this.hasBit(n,i.Jv.BOTTOM)||this.adapter.addClass(t.cssClasses.IS_OPEN_BELOW)},t.prototype.getAutoLayoutmeasurements=function(){var e=this.adapter.getAnchorDimensions(),t=this.adapter.getBodyDimensions(),n=this.adapter.getWindowDimensions(),r=this.adapter.getWindowScroll();return e||(e={top:this.position.y,right:this.position.x,bottom:this.position.y,left:this.position.x,width:0,height:0}),{anchorSize:e,bodySize:t,surfaceSize:this.dimensions,viewportDistance:{top:e.top,right:n.width-e.right,bottom:n.height-e.bottom,left:e.left},viewportSize:n,windowScroll:r}},t.prototype.getoriginCorner=function(){var e,n,r=this.originCorner,o=this.measurements,a=o.viewportDistance,s=o.anchorSize,l=o.surfaceSize,u=t.numbers.MARGIN_TO_EDGE;this.hasBit(this.anchorCorner,i.Jv.BOTTOM)?(e=a.top-u+this.anchorMargin.bottom,n=a.bottom-u-this.anchorMargin.bottom):(e=a.top-u+this.anchorMargin.top,n=a.bottom-u+s.height-this.anchorMargin.top),!(n-l.height>0)&&e>n+this.openBottomBias&&(r=this.setBit(r,i.Jv.BOTTOM));var c,d,f=this.adapter.isRtl(),p=this.hasBit(this.anchorCorner,i.Jv.FLIP_RTL),h=this.hasBit(this.anchorCorner,i.Jv.RIGHT)||this.hasBit(r,i.Jv.RIGHT),_=!1;(_=f&&p?!h:h)?(c=a.left+s.width+this.anchorMargin.right,d=a.right-this.anchorMargin.right):(c=a.left+this.anchorMargin.left,d=a.right+s.width-this.anchorMargin.left);var m=c-l.width>0,v=d-l.width>0,g=this.hasBit(r,i.Jv.FLIP_RTL)&&this.hasBit(r,i.Jv.RIGHT);return v&&g&&f||!m&&g?r=this.unsetBit(r,i.Jv.RIGHT):(m&&_&&f||m&&!_&&h||!v&&c>=d)&&(r=this.setBit(r,i.Jv.RIGHT)),r},t.prototype.getMenuSurfaceMaxHeight=function(e){if(this.maxHeight>0)return this.maxHeight;var n=this.measurements.viewportDistance,r=0,o=this.hasBit(e,i.Jv.BOTTOM),a=this.hasBit(this.anchorCorner,i.Jv.BOTTOM),s=t.numbers.MARGIN_TO_EDGE;return o?(r=n.top+this.anchorMargin.top-s,a||(r+=this.measurements.anchorSize.height)):(r=n.bottom-this.anchorMargin.bottom+this.measurements.anchorSize.height-s,a&&(r-=this.measurements.anchorSize.height)),r},t.prototype.getHorizontalOriginOffset=function(e){var t=this.measurements.anchorSize,n=this.hasBit(e,i.Jv.RIGHT),r=this.hasBit(this.anchorCorner,i.Jv.RIGHT);if(n){var o=r?t.width-this.anchorMargin.left:this.anchorMargin.right;return this.isHoistedElement||this.isFixedPosition?o-(this.measurements.viewportSize.width-this.measurements.bodySize.width):o}return r?t.width-this.anchorMargin.right:this.anchorMargin.left},t.prototype.getVerticalOriginOffset=function(e){var t=this.measurements.anchorSize,n=this.hasBit(e,i.Jv.BOTTOM),r=this.hasBit(this.anchorCorner,i.Jv.BOTTOM);return n?r?t.height-this.anchorMargin.top:-this.anchorMargin.bottom:r?t.height+this.anchorMargin.bottom:this.anchorMargin.top},t.prototype.adjustPositionForHoistedElement=function(e){var t,n,o=this.measurements,i=o.windowScroll,a=o.viewportDistance,s=o.surfaceSize,l=o.viewportSize,u=Object.keys(e);try{for(var c=(0,r.Ju)(u),d=c.next();!d.done;d=c.next()){var f=d.value,p=e[f]||0;!this.isHorizontallyCenteredOnViewport||"left"!==f&&"right"!==f?(p+=a[f],this.isFixedPosition||("top"===f?p+=i.y:"bottom"===f?p-=i.y:"left"===f?p+=i.x:p-=i.x),e[f]=p):e[f]=(l.width-s.width)/2}}catch(e){t={error:e}}finally{try{d&&!d.done&&(n=c.return)&&n.call(c)}finally{if(t)throw t.error}}},t.prototype.maybeRestoreFocus=function(){var e=this,t=this.adapter.isFocused(),n=this.adapter.getOwnerDocument?this.adapter.getOwnerDocument():document,r=n.activeElement&&this.adapter.isElementInContainer(n.activeElement);(t||r)&&setTimeout((function(){e.adapter.restoreFocus()}),i.nL.TOUCH_EVENT_WAIT_MS)},t.prototype.hasBit=function(e,t){return Boolean(e&t)},t.prototype.setBit=function(e,t){return e|t},t.prototype.unsetBit=function(e,t){return e^t},t.prototype.isFinite=function(e){return"number"==typeof e&&isFinite(e)},t}(o.I)},function(e,t,n){n.d(t,{P$:function(){return i},Y7:function(){return o},hf:function(){return r},nL:function(){return a}});
|
|
276
276
|
/**
|
|
277
277
|
* @license
|
|
278
278
|
* Copyright 2018 Google Inc.
|
|
@@ -315,7 +315,7 @@ var r=n(0),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object
|
|
|
315
315
|
* This source code is licensed under the MIT license found in the
|
|
316
316
|
* LICENSE file in the root directory of this source tree.
|
|
317
317
|
*/
|
|
318
|
-
var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},
|
|
318
|
+
var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),i=Symbol.for("react.strict_mode"),a=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),p=Symbol.iterator;var h={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},_=Object.assign,m={};function v(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}function g(){}function b(e,t,n){this.props=e,this.context=t,this.refs=m,this.updater=n||h}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},g.prototype=v.prototype;var y=b.prototype=new g;y.constructor=b,_(y,v.prototype),y.isPureReactComponent=!0;var E=Array.isArray,x=Object.prototype.hasOwnProperty,T={current:null},C={key:!0,ref:!0,__self:!0,__source:!0};function A(e,t,r){var o,i={},a=null,s=null;if(null!=t)for(o in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(a=""+t.key),t)x.call(t,o)&&!C.hasOwnProperty(o)&&(i[o]=t[o]);var l=arguments.length-2;if(1===l)i.children=r;else if(1<l){for(var u=Array(l),c=0;c<l;c++)u[c]=arguments[c+2];i.children=u}if(e&&e.defaultProps)for(o in l=e.defaultProps)void 0===i[o]&&(i[o]=l[o]);return{$$typeof:n,type:e,key:a,ref:s,props:i,_owner:T.current}}function w(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var I=/\/+/g;function S(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function O(e,t,o,i,a){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return a=a(l=e),e=""===i?"."+S(l,0):i,E(a)?(o="",null!=e&&(o=e.replace(I,"$&/")+"/"),O(a,t,o,"",(function(e){return e}))):null!=a&&(w(a)&&(a=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(a,o+(!a.key||l&&l.key===a.key?"":(""+a.key).replace(I,"$&/")+"/")+e)),t.push(a)),1;if(l=0,i=""===i?".":i+":",E(e))for(var u=0;u<e.length;u++){var c=i+S(s=e[u],u);l+=O(s,t,o,c,a)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),u=0;!(s=e.next()).done;)l+=O(s=s.value,t,o,c=i+S(s,u++),a);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function L(e,t,n){if(null==e)return e;var r=[],o=0;return O(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var N={current:null},k={transition:null},R={ReactCurrentDispatcher:N,ReactCurrentBatchConfig:k,ReactCurrentOwner:T};t.Children={map:L,forEach:function(e,t,n){L(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return L(e,(function(){t++})),t},toArray:function(e){return L(e,(function(e){return e}))||[]},only:function(e){if(!w(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=o,t.Profiler=a,t.PureComponent=b,t.StrictMode=i,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=R,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=_({},e.props),i=e.key,a=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(a=t.ref,s=T.current),void 0!==t.key&&(i=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(u in t)x.call(t,u)&&!C.hasOwnProperty(u)&&(o[u]=void 0===t[u]&&void 0!==l?l[u]:t[u])}var u=arguments.length-2;if(1===u)o.children=r;else if(1<u){l=Array(u);for(var c=0;c<u;c++)l[c]=arguments[c+2];o.children=l}return{$$typeof:n,type:e.type,key:i,ref:a,props:o,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=A,t.createFactory=function(e){var t=A.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:u,render:e}},t.isValidElement=w,t.lazy=function(e){return{$$typeof:f,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=k.transition;k.transition={};try{e()}finally{k.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return N.current.useCallback(e,t)},t.useContext=function(e){return N.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return N.current.useDeferredValue(e)},t.useEffect=function(e,t){return N.current.useEffect(e,t)},t.useId=function(){return N.current.useId()},t.useImperativeHandle=function(e,t,n){return N.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return N.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return N.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return N.current.useMemo(e,t)},t.useReducer=function(e,t,n){return N.current.useReducer(e,t,n)},t.useRef=function(e){return N.current.useRef(e)},t.useState=function(e){return N.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return N.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return N.current.useTransition()},t.version="18.2.0"},function(e,t,n){
|
|
319
319
|
/**
|
|
320
320
|
* @license React
|
|
321
321
|
* react-dom.production.min.js
|
|
@@ -325,7 +325,7 @@ var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("rea
|
|
|
325
325
|
* This source code is licensed under the MIT license found in the
|
|
326
326
|
* LICENSE file in the root directory of this source tree.
|
|
327
327
|
*/
|
|
328
|
-
var r=n(0),o=n(52);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!(void 0===window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function m(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new m(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new m(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new m(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new m(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new m(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new m(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)}));var _=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function y(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(_,g);v[t]=new m(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(_,g);v[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(_,g);v[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)}));var b=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),x=Symbol.for("react.portal"),C=Symbol.for("react.fragment"),T=Symbol.for("react.strict_mode"),I=Symbol.for("react.profiler"),S=Symbol.for("react.provider"),A=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),w=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var k=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var M,F=Object.assign;function j(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var B=!1;function U(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function V(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function H(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case C:return"Fragment";case x:return"Portal";case I:return"Profiler";case T:return"StrictMode";case w:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case A:return(e.displayName||"Context")+".Consumer";case S:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:H(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return H(e(t))}catch(e){}}return null}function $(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return H(t);case 8:return t===T?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function q(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function z(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function X(e,t){var n=t.checked;return F({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=q(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function J(e,t){Q(e,t);var n=q(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,q(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+q(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return F({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:q(n)}}function ie(e,t){var n=q(t.value),r=q(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var _e=F({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(_e[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var be=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Ce=null,Te=null;function Ie(e){if(e=bo(e)){if("function"!=typeof xe)throw Error(i(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function Se(e){Ce?Te?Te.push(e):Te=[e]:Ce=e}function Ae(){if(Ce){var e=Ce,t=Te;if(Te=Ce=null,Ie(e),t)for(e=0;e<t.length;e++)Ie(t[e])}}function Oe(e,t){return e(t)}function we(){}var Le=!1;function Pe(e,t,n){if(Le)return e(t,n);Le=!0;try{return Oe(e,t,n)}finally{Le=!1,(null!==Ce||null!==Te)&&(we(),Ae())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var ke=!1;if(c)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){ke=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ce){ke=!1}function De(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Me=!1,Fe=null,je=!1,Be=null,Ue={onError:function(e){Me=!0,Fe=e}};function Ve(e,t,n,r,o,i,a,s,l){Me=!1,Fe=null,De.apply(Ue,arguments)}function He(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function $e(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function qe(e){if(He(e)!==e)throw Error(i(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=He(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return qe(o),e;if(a===r)return qe(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?ze(e):null}function ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=ze(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,Ge=o.unstable_cancelCallback,Xe=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function _t(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var yt=0;function bt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Et,xt,Ct,Tt,It,St=!1,At=[],Ot=null,wt=null,Lt=null,Pt=new Map,Nt=new Map,kt=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dt(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":wt=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=bo(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Ft(e){var t=yo(e.target);if(null!==t){var n=He(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=$e(n)))return e.blockedOn=t,void It(e.priority,(function(){Ct(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Xt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=bo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);be=r,n.target.dispatchEvent(r),be=null,t.shift()}return!0}function Bt(e,t,n){jt(e)&&n.delete(t)}function Ut(){St=!1,null!==Ot&&jt(Ot)&&(Ot=null),null!==wt&&jt(wt)&&(wt=null),null!==Lt&&jt(Lt)&&(Lt=null),Pt.forEach(Bt),Nt.forEach(Bt)}function Vt(e,t){e.blockedOn===t&&(e.blockedOn=null,St||(St=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function Ht(e){function t(t){return Vt(t,e)}if(0<At.length){Vt(At[0],e);for(var n=1;n<At.length;n++){var r=At[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Vt(Ot,e),null!==wt&&Vt(wt,e),null!==Lt&&Vt(Lt,e),Pt.forEach(t),Nt.forEach(t),n=0;n<kt.length;n++)(r=kt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<kt.length&&null===(n=kt[0]).blockedOn;)Ft(n),null===n.blockedOn&&kt.shift()}var $t=b.ReactCurrentBatchConfig,qt=!0;function Wt(e,t,n,r){var o=yt,i=$t.transition;$t.transition=null;try{yt=1,Kt(e,t,n,r)}finally{yt=o,$t.transition=i}}function zt(e,t,n,r){var o=yt,i=$t.transition;$t.transition=null;try{yt=4,Kt(e,t,n,r)}finally{yt=o,$t.transition=i}}function Kt(e,t,n,r){if(qt){var o=Xt(e,t,n,r);if(null===o)qr(e,t,r,Gt,n),Dt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Ot=Mt(Ot,e,t,n,r,o),!0;case"dragenter":return wt=Mt(wt,e,t,n,r,o),!0;case"mouseover":return Lt=Mt(Lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,Mt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Mt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var i=bo(o);if(null!==i&&Et(i),null===(i=Xt(e,t,n,r))&&qr(e,t,r,Gt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else qr(e,t,r,null,n)}}var Gt=null;function Xt(e,t,n,r){if(Gt=null,null!==(e=yo(e=Ee(r))))if(null===(t=He(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=$e(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return F(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=F({},un,{view:0,detail:0}),fn=on(dn),pn=F({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:In,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),mn=on(F({},pn,{dataTransfer:0})),vn=on(F({},dn,{relatedTarget:0})),_n=on(F({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=F({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=on(gn),bn=on(F({},un,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Cn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Tn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Cn[e])&&!!t[e]}function In(){return Tn}var Sn=F({},dn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:In,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),An=on(Sn),On=on(F({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),wn=on(F({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:In})),Ln=on(F({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=F({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Pn),kn=[9,13,27,32],Rn=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var Mn=c&&"TextEvent"in window&&!Dn,Fn=c&&(!Rn||Dn&&8<Dn&&11>=Dn),jn=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1;var $n={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function qn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!$n[e.type]:"textarea"===t}function Wn(e,t,n,r){Se(r),0<(t=zr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zn=null,Kn=null;function Gn(e){jr(e,0)}function Xn(e){if(K(Eo(e)))return e}function Yn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){zn&&(zn.detachEvent("onpropertychange",nr),Kn=zn=null)}function nr(e){if("value"===e.propertyName&&Xn(Kn)){var t=[];Wn(t,Kn,e,Ee(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(zn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Kn)}function ir(e,t){if("click"===e)return Xn(t)}function ar(e,t){if("input"===e||"change"===e)return Xn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=c&&"documentMode"in document&&11>=document.documentMode,vr=null,_r=null,gr=null,yr=!1;function br(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==vr||vr!==G(r)||("selectionStart"in(r=vr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&lr(gr,r)||(gr=r,0<(r=zr(_r,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=vr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Cr={},Tr={};function Ir(e){if(Cr[e])return Cr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Tr)return Cr[e]=n[t];return e}c&&(Tr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var Sr=Ir("animationend"),Ar=Ir("animationiteration"),Or=Ir("animationstart"),wr=Ir("transitionend"),Lr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Lr.set(e,t),l(t,[e])}for(var kr=0;kr<Pr.length;kr++){var Rr=Pr[kr];Nr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Nr(Sr,"onAnimationEnd"),Nr(Ar,"onAnimationIteration"),Nr(Or,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(wr,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function Fr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,u){if(Ve.apply(this,arguments),Me){if(!Me)throw Error(i(198));var c=Fe;Me=!1,Fe=null,je||(je=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function jr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;Fr(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;Fr(o,s,u),i=l}}}if(je)throw e=Be,je=!1,Be=null,e}function Br(e,t){var n=t[vo];void 0===n&&(n=t[vo]=new Set);var r=e+"__bubble";n.has(r)||($r(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),$r(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Vr]){e[Vr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Ur("selectionchange",!1,t))}}function $r(e,t,n,r){switch(Yt(t)){case 1:var o=Wt;break;case 4:o=zt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!ke||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function qr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=yo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,o=Ee(n),a=[];e:{var s=Lr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=An;break;case"focusin":u="focus",l=vn;break;case"focusout":u="blur",l=vn;break;case"beforeblur":case"afterblur":l=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=wn;break;case Sr:case Ar:case Or:l=_n;break;case wr:l=Ln;break;case"scroll":l=fn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=On}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var m=(p=h).stateNode;if(5===p.tag&&null!==m&&(p=m,null!==f&&(null!=(m=Ne(h,f))&&c.push(Wr(h,m,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===be||!(u=n.relatedTarget||n.fromElement)||!yo(u)&&!u[mo])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?yo(u):null)&&(u!==(d=He(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,m="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=On,m="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:Eo(l),p=null==u?s:Eo(u),(s=new c(m,h+"leave",l,n,o)).target=d,s.relatedTarget=p,m=null,yo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,m=c),d=m,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Kr(p))h++;for(p=0,m=f;m;m=Kr(m))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)f=Kr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Kr(c),f=Kr(f)}c=null}else c=null;null!==l&&Gr(a,s,l,c,!1),null!==u&&null!==d&&Gr(a,d,u,c,!0)}if("select"===(l=(s=r?Eo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var v=Yn;else if(qn(s))if(Qn)v=ar;else{v=or;var _=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(v=ir);switch(v&&(v=v(e,r))?Wn(a,v,n,o):(_&&_(e,s,r),"focusout"===e&&(_=s._wrapperState)&&_.controlled&&"number"===s.type&&ee(s,"number",s.value)),_=r?Eo(r):window,e){case"focusin":(qn(_)||"true"===_.contentEditable)&&(vr=_,_r=r,gr=null);break;case"focusout":gr=_r=vr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,br(a,n,o);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":br(a,n,o)}var g;if(Rn)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Hn?Un(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Fn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Hn&&(g=en()):(Jt="value"in(Qt=o)?Qt.value:Qt.textContent,Hn=!0)),0<(_=zr(r,y)).length&&(y=new bn(y,e,null,n,o),a.push({event:y,listeners:_}),g?y.data=g:null!==(g=Vn(n))&&(y.data=g))),(g=Mn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:(Bn=!0,jn);case"textInput":return(e=t.data)===jn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Rn&&Un(e,t)?(e=en(),Zt=Jt=Qt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Fn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=zr(r,"onBeforeInput")).length&&(o=new bn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}jr(a,t)}))}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift(Wr(e,i,o)),null!=(i=Ne(e,t))&&r.push(Wr(e,i,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Ne(n,i))&&a.unshift(Wr(n,l,s)):o||null!=(l=Ne(n,i))&&a.push(Wr(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Xr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Yr,"")}function Jr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Ht(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Ht(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,mo="__reactContainer$"+fo,vo="__reactEvents$"+fo,_o="__reactListeners$"+fo,go="__reactHandles$"+fo;function yo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[mo]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function bo(e){return!(e=e[po]||e[mo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Eo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xo(e){return e[ho]||null}var Co=[],To=-1;function Io(e){return{current:e}}function So(e){0>To||(e.current=Co[To],Co[To]=null,To--)}function Ao(e,t){To++,Co[To]=e.current,e.current=t}var Oo={},wo=Io(Oo),Lo=Io(!1),Po=Oo;function No(e,t){var n=e.type.contextTypes;if(!n)return Oo;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ko(e){return null!=(e=e.childContextTypes)}function Ro(){So(Lo),So(wo)}function Do(e,t,n){if(wo.current!==Oo)throw Error(i(168));Ao(wo,t),Ao(Lo,n)}function Mo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,$(e)||"Unknown",o));return F({},n,r)}function Fo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Oo,Po=wo.current,Ao(wo,e),Ao(Lo,Lo.current),!0}function jo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Mo(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,So(Lo),So(wo),Ao(wo,e)):So(Lo),Ao(Lo,n)}var Bo=null,Uo=!1,Vo=!1;function Ho(e){null===Bo?Bo=[e]:Bo.push(e)}function $o(){if(!Vo&&null!==Bo){Vo=!0;var e=0,t=yt;try{var n=Bo;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,Uo=!1}catch(t){throw null!==Bo&&(Bo=Bo.slice(e+1)),Ke(Ze,$o),t}finally{yt=t,Vo=!1}}return null}var qo=[],Wo=0,zo=null,Ko=0,Go=[],Xo=0,Yo=null,Qo=1,Jo="";function Zo(e,t){qo[Wo++]=Ko,qo[Wo++]=zo,zo=e,Ko=t}function ei(e,t,n){Go[Xo++]=Qo,Go[Xo++]=Jo,Go[Xo++]=Yo,Yo=e;var r=Qo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Qo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===zo;)zo=qo[--Wo],qo[Wo]=null,Ko=qo[--Wo],qo[Wo]=null;for(;e===Yo;)Yo=Go[--Xo],Go[Xo]=null,Jo=Go[--Xo],Go[Xo]=null,Qo=Go[--Xo],Go[Xo]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Nu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function mi(e){null===ai?ai=[e]:ai.push(e)}var vi=b.ReactCurrentBatchConfig;function _i(e,t){if(e&&e.defaultProps){for(var n in t=F({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=Io(null),yi=null,bi=null,Ei=null;function xi(){Ei=bi=yi=null}function Ci(e){var t=gi.current;So(gi),e._currentValue=t}function Ti(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ii(e,t){yi=e,Ei=bi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(bs=!0),e.firstContext=null)}function Si(e){var t=e._currentValue;if(Ei!==e)if(e={context:e,memoizedValue:t,next:null},null===bi){if(null===yi)throw Error(i(308));bi=e,yi.dependencies={lanes:0,firstContext:e}}else bi=bi.next=e;return t}var Ai=null;function Oi(e){null===Ai?Ai=[e]:Ai.push(e)}function wi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Oi(t)):(n.next=o.next,o.next=n),t.interleaved=n,Li(e,r)}function Li(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ki(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ri(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&wl)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Li(e,n)}return null===(o=r.interleaved)?(t.next=t,Oi(r)):(t.next=o.next,o.next=t),r.interleaved=t,Li(e,n)}function Mi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function Fi(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function ji(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,m=s;switch(f=t,p=n,m.tag){case 1:if("function"==typeof(h=m.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=m.payload)?h.call(p,d,f):h))break e;d=F({},d,f);break e;case 2:Pi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);Fl|=a,e.lanes=a,e.memoizedState=d}}function Bi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Ui=(new r.Component).refs;function Vi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:F({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Hi={isMounted:function(e){return!!(e=e._reactInternals)&&He(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Ri(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(ru(t,e,o,r),Mi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Ri(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(ru(t,e,o,r),Mi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Ri(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Di(e,o,r))&&(ru(t,e,r,n),Mi(t,e,r))}};function $i(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function qi(e,t,n){var r=!1,o=Oo,i=t.contextType;return"object"==typeof i&&null!==i?i=Si(i):(o=ko(t)?Po:wo.current,i=(r=null!=(r=t.contextTypes))?No(e,o):Oo),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Hi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function Wi(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Hi.enqueueReplaceState(t,t.state,null)}function zi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ui,Ni(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=Si(i):(i=ko(t)?Po:wo.current,o.context=No(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(Vi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Hi.enqueueReplaceState(o,o.state,null),ji(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ki(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Ui&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Gi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xi(e){return(0,e._init)(e._payload)}function Yi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=ju(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===C?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===N&&Xi(i)===t.type)?((r=o(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Du(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Mu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=ju(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Du(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case x:return(t=Bu(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Mu(t,e.mode,n,null)).return=e,t;Gi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case N:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||D(n))return null!==o?null:d(e,t,n,r,null);Gi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||D(r))return d(t,e=e.get(n)||null,r,o,null);Gi(t,r)}return null}function m(o,i,s,l){for(var u=null,c=null,d=i,m=i=0,v=null;null!==d&&m<s.length;m++){d.index>m?(v=d,d=null):v=d.sibling;var _=p(o,d,s[m],l);if(null===_){null===d&&(d=v);break}e&&d&&null===_.alternate&&t(o,d),i=a(_,i,m),null===c?u=_:c.sibling=_,c=_,d=v}if(m===s.length)return n(o,d),ii&&Zo(o,m),u;if(null===d){for(;m<s.length;m++)null!==(d=f(o,s[m],l))&&(i=a(d,i,m),null===c?u=d:c.sibling=d,c=d);return ii&&Zo(o,m),u}for(d=r(o,d);m<s.length;m++)null!==(v=h(d,o,m,s[m],l))&&(e&&null!==v.alternate&&d.delete(null===v.key?m:v.key),i=a(v,i,m),null===c?u=v:c.sibling=v,c=v);return e&&d.forEach((function(e){return t(o,e)})),ii&&Zo(o,m),u}function v(o,s,l,u){var c=D(l);if("function"!=typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,m=s,v=s=0,_=null,g=l.next();null!==m&&!g.done;v++,g=l.next()){m.index>v?(_=m,m=null):_=m.sibling;var y=p(o,m,g.value,u);if(null===y){null===m&&(m=_);break}e&&m&&null===y.alternate&&t(o,m),s=a(y,s,v),null===d?c=y:d.sibling=y,d=y,m=_}if(g.done)return n(o,m),ii&&Zo(o,v),c;if(null===m){for(;!g.done;v++,g=l.next())null!==(g=f(o,g.value,u))&&(s=a(g,s,v),null===d?c=g:d.sibling=g,d=g);return ii&&Zo(o,v),c}for(m=r(o,m);!g.done;v++,g=l.next())null!==(g=h(m,o,v,g.value,u))&&(e&&null!==g.alternate&&m.delete(null===g.key?v:g.key),s=a(g,s,v),null===d?c=g:d.sibling=g,d=g);return e&&m.forEach((function(e){return t(o,e)})),ii&&Zo(o,v),c}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===C&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case E:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===C){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&Xi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Ki(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===C?((i=Mu(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Du(a.type,a.key,a.props,null,r.mode,l)).ref=Ki(r,i,a),l.return=r,r=l)}return s(r);case x:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Bu(a,r.mode,l)).return=r,r=i}return s(r);case N:return e(r,i,(c=a._init)(a._payload),l)}if(te(a))return m(r,i,a,l);if(D(a))return v(r,i,a,l);Gi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=ju(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Qi=Yi(!0),Ji=Yi(!1),Zi={},ea=Io(Zi),ta=Io(Zi),na=Io(Zi);function ra(e){if(e===Zi)throw Error(i(174));return e}function oa(e,t){switch(Ao(na,t),Ao(ta,e),Ao(ea,Zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}So(ea),Ao(ea,t)}function ia(){So(ea),So(ta),So(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Ao(ta,e),Ao(ea,n))}function sa(e){ta.current===e&&(So(ea),So(ta))}var la=Io(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function da(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var fa=b.ReactCurrentDispatcher,pa=b.ReactCurrentBatchConfig,ha=0,ma=null,va=null,_a=null,ga=!1,ya=!1,ba=0,Ea=0;function xa(){throw Error(i(321))}function Ca(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ta(e,t,n,r,o,a){if(ha=a,ma=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),ya){a=0;do{if(ya=!1,ba=0,25<=a)throw Error(i(301));a+=1,_a=va=null,t.updateQueue=null,fa.current=us,e=n(r,o)}while(ya)}if(fa.current=as,t=null!==va&&null!==va.next,ha=0,_a=va=ma=null,ga=!1,t)throw Error(i(300));return e}function Ia(){var e=0!==ba;return ba=0,e}function Sa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===_a?ma.memoizedState=_a=e:_a=_a.next=e,_a}function Aa(){if(null===va){var e=ma.alternate;e=null!==e?e.memoizedState:null}else e=va.next;var t=null===_a?ma.memoizedState:_a.next;if(null!==t)_a=t,va=e;else{if(null===e)throw Error(i(310));e={memoizedState:(va=e).memoizedState,baseState:va.baseState,baseQueue:va.baseQueue,queue:va.queue,next:null},null===_a?ma.memoizedState=_a=e:_a=_a.next=e}return _a}function Oa(e,t){return"function"==typeof t?t(e):t}function wa(e){var t=Aa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=va,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((ha&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,ma.lanes|=d,Fl|=d}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(bs=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,ma.lanes|=a,Fl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function La(e){var t=Aa(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(bs=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Pa(){}function Na(e,t){var n=ma,r=Aa(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,bs=!0),r=r.queue,qa(Da.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==_a&&1&_a.memoizedState.tag){if(n.flags|=2048,Ba(9,Ra.bind(null,n,r,o,t),void 0,null),null===Ll)throw Error(i(349));0!=(30&ha)||ka(n,t,o)}return o}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&Fa(e)}function Da(e,t,n){return n((function(){Ma(t)&&Fa(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function Fa(e){var t=Li(e,1);null!==t&&ru(t,e,1,-1)}function ja(e){var t=Sa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Oa,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,ma,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=ma.updateQueue)?(t={lastEffect:null,stores:null},ma.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ua(){return Aa().memoizedState}function Va(e,t,n,r){var o=Sa();ma.flags|=e,o.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Ha(e,t,n,r){var o=Aa();r=void 0===r?null:r;var i=void 0;if(null!==va){var a=va.memoizedState;if(i=a.destroy,null!==r&&Ca(r,a.deps))return void(o.memoizedState=Ba(t,n,i,r))}ma.flags|=e,o.memoizedState=Ba(1|t,n,i,r)}function $a(e,t){return Va(8390656,8,e,t)}function qa(e,t){return Ha(2048,8,e,t)}function Wa(e,t){return Ha(4,2,e,t)}function za(e,t){return Ha(4,4,e,t)}function Ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ga(e,t,n){return n=null!=n?n.concat([e]):null,Ha(4,4,Ka.bind(null,t,e),n)}function Xa(){}function Ya(e,t){var n=Aa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ca(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qa(e,t){var n=Aa();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ca(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ja(e,t,n){return 0==(21&ha)?(e.baseState&&(e.baseState=!1,bs=!0),e.memoizedState=n):(sr(n,t)||(n=mt(),ma.lanes|=n,Fl|=n,e.baseState=!0),t)}function Za(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{yt=n,pa.transition=r}}function es(){return Aa().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=wi(e,t,n,r))){ru(n,e,r,tu()),is(n,t,r)}}function ns(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Oi(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=wi(e,t,o,r))&&(ru(n,e,r,o=tu()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===ma||null!==t&&t===ma}function os(e,t){ya=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var as={readContext:Si,useCallback:xa,useContext:xa,useEffect:xa,useImperativeHandle:xa,useInsertionEffect:xa,useLayoutEffect:xa,useMemo:xa,useReducer:xa,useRef:xa,useState:xa,useDebugValue:xa,useDeferredValue:xa,useTransition:xa,useMutableSource:xa,useSyncExternalStore:xa,useId:xa,unstable_isNewReconciler:!1},ss={readContext:Si,useCallback:function(e,t){return Sa().memoizedState=[e,void 0===t?null:t],e},useContext:Si,useEffect:$a,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Va(4194308,4,Ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Va(4194308,4,e,t)},useInsertionEffect:function(e,t){return Va(4,2,e,t)},useMemo:function(e,t){var n=Sa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Sa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,ma,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Sa().memoizedState=e},useState:ja,useDebugValue:Xa,useDeferredValue:function(e){return Sa().memoizedState=e},useTransition:function(){var e=ja(!1),t=e[0];return e=Za.bind(null,e[1]),Sa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=ma,o=Sa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ll)throw Error(i(349));0!=(30&ha)||ka(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,$a(Da.bind(null,r,a,e),[e]),r.flags|=2048,Ba(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=Sa(),t=Ll.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=ba++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ea++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:Si,useCallback:Ya,useContext:Si,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Wa,useLayoutEffect:za,useMemo:Qa,useReducer:wa,useRef:Ua,useState:function(){return wa(Oa)},useDebugValue:Xa,useDeferredValue:function(e){return Ja(Aa(),va.memoizedState,e)},useTransition:function(){return[wa(Oa)[0],Aa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1},us={readContext:Si,useCallback:Ya,useContext:Si,useEffect:qa,useImperativeHandle:Ga,useInsertionEffect:Wa,useLayoutEffect:za,useMemo:Qa,useReducer:La,useRef:Ua,useState:function(){return La(Oa)},useDebugValue:Xa,useDeferredValue:function(e){var t=Aa();return null===va?t.memoizedState=e:Ja(t,va.memoizedState,e)},useTransition:function(){return[La(Oa)[0],Aa().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=V(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Ri(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Wl||(Wl=!0,zl=r),fs(0,t)},n}function ms(e,t,n){(n=Ri(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function vs(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Su.bind(null,e,t,n),t.then(e,e))}function _s(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ri(-1,1)).tag=2,Di(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var ys=b.ReactCurrentOwner,bs=!1;function Es(e,t,n,r){t.child=null===e?Ji(t,null,n,r):Qi(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var i=t.ref;return Ii(t,o),r=Ta(e,t,n,r,i,o),n=Ia(),null===e||bs?(ii&&n&&ti(t),t.flags|=1,Es(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function Cs(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||ku(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Du(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Ts(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return Ws(e,t,o)}return t.flags|=1,(e=Ru(i,r)).ref=t.ref,e.return=t,t.child=e}function Ts(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(bs=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,Ws(e,t,o);0!=(131072&e.flags)&&(bs=!0)}}return As(e,t,n,r,o)}function Is(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Ao(Rl,kl),kl|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Ao(Rl,kl),kl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Ao(Rl,kl),kl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Ao(Rl,kl),kl|=r;return Es(e,t,o,n),t.child}function Ss(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function As(e,t,n,r,o){var i=ko(n)?Po:wo.current;return i=No(t,i),Ii(t,o),n=Ta(e,t,n,r,i,o),r=Ia(),null===e||bs?(ii&&r&&ti(t),t.flags|=1,Es(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,Ws(e,t,o))}function Os(e,t,n,r,o){if(ko(n)){var i=!0;Fo(t)}else i=!1;if(Ii(t,o),null===t.stateNode)qs(e,t),qi(t,n,r),zi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=Si(u):u=No(t,u=ko(n)?Po:wo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&Wi(t,a,r,u),Pi=!1;var f=t.memoizedState;a.state=f,ji(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Lo.current||Pi?("function"==typeof c&&(Vi(t,n,c,r),l=t.memoizedState),(s=Pi||$i(t,n,s,r,f,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ki(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:_i(t.type,s),a.props=u,d=t.pendingProps,f=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=Si(l):l=No(t,l=ko(n)?Po:wo.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&Wi(t,a,r,l),Pi=!1,f=t.memoizedState,a.state=f,ji(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||Lo.current||Pi?("function"==typeof p&&(Vi(t,n,p,r),h=t.memoizedState),(u=Pi||$i(t,n,u,r,f,h,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return ws(e,t,n,r,i,o)}function ws(e,t,n,r,o,i){Ss(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&jo(t,n,!1),Ws(e,t,i);r=t.stateNode,ys.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,s,i)):Es(e,t,s,i),t.memoizedState=r.state,o&&jo(t,n,!0),t.child}function Ls(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),oa(e,t.containerInfo)}function Ps(e,t,n,r,o){return hi(),mi(o),t.flags|=256,Es(e,t,n,r),t.child}var Ns,ks,Rs,Ds,Ms={dehydrated:null,treeContext:null,retryLane:0};function Fs(e){return{baseLanes:e,cachePool:null,transitions:null}}function js(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Ao(la,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=Fu(l,o,0,null),e=Mu(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Fs(n),t.memoizedState=Ms,e):Bs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=Fu({mode:"visible",children:r.children},o,0,null),(a=Mu(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Qi(t,e.child,null,s),t.child.memoizedState=Fs(s),t.memoizedState=Ms,a);if(0==(1&t.mode))return Us(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Us(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=0!=(s&e.childLanes),bs||l){if(null!==(r=Ll)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Li(e,o),ru(r,e,o,-1))}return vu(),Us(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ou.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Go[Xo++]=Qo,Go[Xo++]=Jo,Go[Xo++]=Yo,Qo=e.id,Jo=e.overflow,Yo=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Ru(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Ru(r,s):(s=Mu(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?Fs(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ms,o}return e=(s=e.child).sibling,o=Ru(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Bs(e,t){return(t=Fu({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&mi(r),Qi(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ti(e.return,t,n)}function Hs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function $s(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Es(e,t,r.children,n),0!=(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vs(e,n,t);else if(19===e.tag)Vs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Ao(la,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hs(t,!0,n,null,i);break;case"together":Hs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function qs(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Ws(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Fl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function zs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ks(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Gs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ks(t),null;case 1:case 17:return ko(t.type)&&Ro(),Ks(t),null;case 3:return r=t.stateNode,ia(),So(Lo),So(wo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ai&&(su(ai),ai=null))),ks(e,t),Ks(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ks(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!=(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Dr.length;o++)Br(Dr[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":oe(r,a),Br("invalid",r)}for(var l in ge(n,a),o=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":z(r),Z(r,a,!0);break;case"textarea":z(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Br("cancel",e),Br("close",e),o=r;break;case"iframe":case"object":case"embed":Br("load",e),o=r;break;case"video":case"audio":for(o=0;o<Dr.length;o++)Br(Dr[o],e);o=r;break;case"source":Br("error",e),o=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),o=r;break;case"details":Br("toggle",e),o=r;break;case"input":Y(e,r),o=X(e,r),Br("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=F({},r,{value:void 0}),Br("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Br("invalid",e)}for(a in ge(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?ve(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Br("scroll",e):null!=c&&y(e,a,c,l))}switch(n){case"input":z(e),Z(e,r,!1);break;case"textarea":z(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+q(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ks(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ks(t),null;case 13:if(So(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!=(1&t.mode)&&0==(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ks(t),a=!1}else null!==ai&&(su(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&la.current)?0===Dl&&(Dl=3):vu())),null!==t.updateQueue&&(t.flags|=4),Ks(t),null);case 4:return ia(),ks(e,t),null===e&&Hr(t.stateNode.containerInfo),Ks(t),null;case 10:return Ci(t.type._context),Ks(t),null;case 19:if(So(la),null===(a=t.memoizedState))return Ks(t),null;if(r=0!=(128&t.flags),null===(l=a.rendering))if(r)zs(a,!1);else{if(0!==Dl||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ua(e))){for(t.flags|=128,zs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Ao(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>$l&&(t.flags|=128,r=!0,zs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),zs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ks(t),null}else 2*Qe()-a.renderingStartTime>$l&&1073741824!==n&&(t.flags|=128,r=!0,zs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=la.current,Ao(la,r?1&n|2:1&n),t):(Ks(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&kl)&&(Ks(t),6&t.subtreeFlags&&(t.flags|=8192)):Ks(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Xs(e,t){switch(ni(t),t.tag){case 1:return ko(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),So(Lo),So(wo),da(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(So(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return So(la),null;case 4:return ia(),null;case 10:return Ci(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ks=function(){},Rs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=X(e,o),r=X(e,r),a=[];break;case"select":o=F({},o,{value:void 0}),r=F({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ge(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Qs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Zs=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Iu(e,t,n)}else n.current=null}function tl(e,t,n){try{n()}catch(n){Iu(e,t,n)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[vo],delete t[_o],delete t[go])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Qs||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Ht(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Qs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Iu(n,t,e)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,pl(e,t,n),Qs=r):pl(e,t,n);break;default:pl(e,t,n)}}function ml(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var r=wu.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function vl(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));hl(a,s,o),dl=null,fl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Iu(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)_l(t,e),t=t.sibling}function _l(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(vl(t,e),gl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(t){Iu(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Iu(e,e.return,t)}}break;case 1:vl(t,e),gl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(vl(t,e),gl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Iu(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(o,a),ye(l,s);var c=ye(l,a);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?ve(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):y(o,d,f,c)}switch(l){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){Iu(e,e.return,t)}}break;case 6:if(vl(t,e),gl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Iu(e,e.return,t)}}break;case 3:if(vl(t,e),gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Ht(t.containerInfo)}catch(t){Iu(e,e.return,t)}break;case 4:default:vl(t,e),gl(e);break;case 13:vl(t,e),gl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Hl=Qe())),4&r&&ml(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(c=Qs)||d,vl(t,e),Qs=c):vl(t,e),gl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Zs=e,d=e.child;null!==d;){for(f=Zs=d;null!==Zs;){switch(h=(p=Zs).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var m=p.stateNode;if("function"==typeof m.componentWillUnmount){r=p,n=p.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Iu(r,n,e)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Zs=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=me("display",s))}catch(t){Iu(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Iu(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:vl(t,e),gl(e),4&r&&ml(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ul(e,ll(e),a);break;default:throw Error(i(161))}}catch(t){Iu(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function yl(e,t,n){Zs=e,bl(e,t,n)}function bl(e,t,n){for(var r=0!=(1&e.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ys;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ys;var u=Qs;if(Ys=a,(Qs=l)&&!u)for(Zs=o;null!==Zs;)l=(a=Zs).child,22===a.tag&&null!==a.memoizedState?Cl(o):null!==l?(l.return=a,Zs=l):Cl(o);for(;null!==i;)Zs=i,bl(i,t,n),i=i.sibling;Zs=o,Ys=s,Qs=u}El(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Zs=i):El(e)}}function El(e){for(;null!==Zs;){var t=Zs;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:_i(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Ht(f)}}}break;default:throw Error(i(163))}Qs||512&t.flags&&il(t)}catch(e){Iu(t,t.return,e)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function xl(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Cl(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(e){Iu(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Iu(t,o,e)}}var i=t.return;try{il(t)}catch(e){Iu(t,i,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Iu(t,a,e)}}}catch(e){Iu(t,t.return,e)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Tl,Il=Math.ceil,Sl=b.ReactCurrentDispatcher,Al=b.ReactCurrentOwner,Ol=b.ReactCurrentBatchConfig,wl=0,Ll=null,Pl=null,Nl=0,kl=0,Rl=Io(0),Dl=0,Ml=null,Fl=0,jl=0,Bl=0,Ul=null,Vl=null,Hl=0,$l=1/0,ql=null,Wl=!1,zl=null,Kl=null,Gl=!1,Xl=null,Yl=0,Ql=0,Jl=null,Zl=-1,eu=0;function tu(){return 0!=(6&wl)?Qe():-1!==Zl?Zl:Zl=Qe()}function nu(e){return 0==(1&e.mode)?1:0!=(2&wl)&&0!==Nl?Nl&-Nl:null!==vi.transition?(0===eu&&(eu=mt()),eu):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function ru(e,t,n,r){if(50<Ql)throw Ql=0,Jl=null,Error(i(185));_t(e,n,r),0!=(2&wl)&&e===Ll||(e===Ll&&(0==(2&wl)&&(jl|=n),4===Dl&&lu(e,Nl)),ou(e,r),1===n&&0===wl&&0==(1&t.mode)&&($l=Qe()+500,Uo&&$o()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!=(s&n)&&0==(s&r)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Ll?Nl:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Uo=!0,Ho(e)}(uu.bind(null,e)):Ho(uu.bind(null,e)),ao((function(){0==(6&wl)&&$o()})),n=null;else{switch(bt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Lu(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(Zl=-1,eu=0,0!=(6&wl))throw Error(i(327));var n=e.callbackNode;if(Cu()&&e.callbackNode!==n)return null;var r=ft(e,e===Ll?Nl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=_u(e,r);else{t=r;var o=wl;wl|=2;var a=mu();for(Ll===e&&Nl===t||(ql=null,$l=Qe()+500,pu(e,t));;)try{yu();break}catch(t){hu(e,t)}xi(),Sl.current=a,wl=o,null!==Pl?t=0:(Ll=null,Nl=0,t=Dl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=au(e,o))),1===t)throw n=Ml,pu(e,0),lu(e,r),ou(e,Qe()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=_u(e,r))&&(0!==(a=ht(e))&&(r=a,t=au(e,a))),1===t))throw n=Ml,pu(e,0),lu(e,r),ou(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xu(e,Vl,ql);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Hl+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xu.bind(null,e,Vl,ql),t);break}xu(e,Vl,ql);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Il(r/1960))-r)){e.timeoutHandle=ro(xu.bind(null,e,Vl,ql),r);break}xu(e,Vl,ql);break;default:throw Error(i(329))}}}return ou(e,Qe()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=Ul;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=_u(e,t))&&(t=Vl,Vl=n,null!==t&&su(t)),e}function su(e){null===Vl?Vl=e:Vl.push.apply(Vl,e)}function lu(e,t){for(t&=~Bl,t&=~jl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&wl))throw Error(i(327));Cu();var t=ft(e,0);if(0==(1&t))return ou(e,Qe()),null;var n=_u(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Ml,pu(e,0),lu(e,t),ou(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,Vl,ql),ou(e,Qe()),null}function cu(e,t){var n=wl;wl|=1;try{return e(t)}finally{0===(wl=n)&&($l=Qe()+500,Uo&&$o())}}function du(e){null!==Xl&&0===Xl.tag&&0==(6&wl)&&Cu();var t=wl;wl|=1;var n=Ol.transition,r=yt;try{if(Ol.transition=null,yt=1,e)return e()}finally{yt=r,Ol.transition=n,0==(6&(wl=t))&&$o()}}function fu(){kl=Rl.current,So(Rl)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ro();break;case 3:ia(),So(Lo),So(wo),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:So(la);break;case 10:Ci(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Ll=e,Pl=e=Ru(e.current,null),Nl=kl=t,Dl=0,Ml=null,Bl=jl=Fl=0,Vl=Ul=null,null!==Ai){for(t=0;t<Ai.length;t++)if(null!==(r=(n=Ai[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ai=null}return e}function hu(e,t){for(;;){var n=Pl;try{if(xi(),fa.current=as,ga){for(var r=ma.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ga=!1}if(ha=0,_a=va=ma=null,ya=!1,ba=0,Al.current=null,null===n||null===n.return){Dl=1,Ml=t,Pl=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Nl,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=_s(s);if(null!==h){h.flags&=-257,gs(h,s,l,0,t),1&h.mode&&vs(a,c,t),u=c;var m=(t=h).updateQueue;if(null===m){var v=new Set;v.add(u),t.updateQueue=v}else m.add(u);break e}if(0==(1&t)){vs(a,c,t),vu();break e}u=Error(i(426))}else if(ii&&1&l.mode){var _=_s(s);if(null!==_){0==(65536&_.flags)&&(_.flags|=256),gs(_,s,l,0,t),mi(cs(u,l));break e}}a=u=cs(u,l),4!==Dl&&(Dl=2),null===Ul?Ul=[a]:Ul.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,hs(0,u,t));break e;case 1:l=u;var g=a.type,y=a.stateNode;if(0==(128&a.flags)&&("function"==typeof g.getDerivedStateFromError||null!==y&&"function"==typeof y.componentDidCatch&&(null===Kl||!Kl.has(y)))){a.flags|=65536,t&=-t,a.lanes|=t,Fi(a,ms(a,l,t));break e}}a=a.return}while(null!==a)}Eu(n)}catch(e){t=e,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function mu(){var e=Sl.current;return Sl.current=as,null===e?as:e}function vu(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Ll||0==(268435455&Fl)&&0==(268435455&jl)||lu(Ll,Nl)}function _u(e,t){var n=wl;wl|=2;var r=mu();for(Ll===e&&Nl===t||(ql=null,pu(e,t));;)try{gu();break}catch(t){hu(e,t)}if(xi(),wl=n,Sl.current=r,null!==Pl)throw Error(i(261));return Ll=null,Nl=0,Dl}function gu(){for(;null!==Pl;)bu(Pl)}function yu(){for(;null!==Pl&&!Xe();)bu(Pl)}function bu(e){var t=Tl(e.alternate,e,kl);e.memoizedProps=e.pendingProps,null===t?Eu(e):Pl=t,Al.current=null}function Eu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Gs(n,t,kl)))return void(Pl=n)}else{if(null!==(n=Xs(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Dl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Dl&&(Dl=5)}function xu(e,t,n){var r=yt,o=Ol.transition;try{Ol.transition=null,yt=1,function(e,t,n,r){do{Cu()}while(null!==Xl);if(0!=(6&wl))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Ll&&(Pl=Ll=null,Nl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Gl||(Gl=!0,Lu(tt,(function(){return Cu(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Ol.transition,Ol.transition=null;var s=yt;yt=1;var l=wl;wl|=4,Al.current=null,function(e,t){if(eo=qt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===a&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},qt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var m=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var v=m.memoizedProps,_=m.memoizedState,g=t.stateNode,y=g.getSnapshotBeforeUpdate(t.elementType===t.type?v:_i(t.type,v),_);g.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var b=t.stateNode.containerInfo;1===b.nodeType?b.textContent="":9===b.nodeType&&b.documentElement&&b.removeChild(b.documentElement);break;default:throw Error(i(163))}}catch(e){Iu(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}m=nl,nl=!1}(e,n),_l(n,e),hr(to),qt=!!eo,to=eo=null,e.current=n,yl(n,e,o),Ye(),wl=l,yt=s,Ol.transition=a}else e.current=n;if(Gl&&(Gl=!1,Xl=e,Yl=o),a=e.pendingLanes,0===a&&(Kl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),ou(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if(Wl)throw Wl=!1,e=zl,zl=null,e;0!=(1&Yl)&&0!==e.tag&&Cu(),a=e.pendingLanes,0!=(1&a)?e===Jl?Ql++:(Ql=0,Jl=e):Ql=0,$o()}(e,t,n,r)}finally{Ol.transition=o,yt=r}return null}function Cu(){if(null!==Xl){var e=bt(Yl),t=Ol.transition,n=yt;try{if(Ol.transition=null,yt=16>e?16:e,null===Xl)var r=!1;else{if(e=Xl,Xl=null,Yl=0,0!=(6&wl))throw Error(i(331));var o=wl;for(wl|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(0!=(16&Zs.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Zs=c;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zs=f;else for(;null!==Zs;){var p=(d=Zs).sibling,h=d.return;if(al(d),d===c){Zs=null;break}if(null!==p){p.return=h,Zs=p;break}Zs=h}}}var m=a.alternate;if(null!==m){var v=m.child;if(null!==v){m.child=null;do{var _=v.sibling;v.sibling=null,v=_}while(null!==v)}}Zs=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(0!=(2048&(a=Zs).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var g=a.sibling;if(null!==g){g.return=a.return,Zs=g;break e}Zs=a.return}}var y=e.current;for(Zs=y;null!==Zs;){var b=(s=Zs).child;if(0!=(2064&s.subtreeFlags)&&null!==b)b.return=s,Zs=b;else e:for(s=y;null!==Zs;){if(0!=(2048&(l=Zs).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(e){Iu(l,l.return,e)}if(l===s){Zs=null;break e}var E=l.sibling;if(null!==E){E.return=l.return,Zs=E;break e}Zs=l.return}}if(wl=o,$o(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{yt=n,Ol.transition=t}}return!1}function Tu(e,t,n){e=Di(e,t=hs(0,t=cs(n,t),1),1),t=tu(),null!==e&&(_t(e,1,t),ou(e,t))}function Iu(e,t,n){if(3===e.tag)Tu(e,e,n);else for(;null!==t;){if(3===t.tag){Tu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Di(t,e=ms(t,e=cs(n,e),1),1),e=tu(),null!==t&&(_t(t,1,e),ou(t,e));break}}t=t.return}}function Su(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ll===e&&(Nl&n)===n&&(4===Dl||3===Dl&&(130023424&Nl)===Nl&&500>Qe()-Hl?pu(e,0):Bl|=n),ou(e,t)}function Au(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Li(e,t))&&(_t(e,t,n),ou(e,n))}function Ou(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Au(e,n)}function wu(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Au(e,n)}function Lu(e,t){return Ke(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nu(e,t,n,r){return new Pu(e,t,n,r)}function ku(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Nu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Du(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)ku(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case C:return Mu(n.children,o,a,t);case T:s=8,o|=8;break;case I:return(e=Nu(12,n,t,2|o)).elementType=I,e.lanes=a,e;case w:return(e=Nu(13,n,t,o)).elementType=w,e.lanes=a,e;case L:return(e=Nu(19,n,t,o)).elementType=L,e.lanes=a,e;case k:return Fu(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case S:s=10;break e;case A:s=9;break e;case O:s=11;break e;case P:s=14;break e;case N:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Nu(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Mu(e,t,n,r){return(e=Nu(7,e,r,t)).lanes=n,e}function Fu(e,t,n,r){return(e=Nu(22,e,r,t)).elementType=k,e.lanes=n,e.stateNode={isHidden:!1},e}function ju(e,t,n){return(e=Nu(6,e,null,t)).lanes=n,e}function Bu(e,t,n){return(t=Nu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vu(e,t,n,r,o,i,a,s,l){return e=new Uu(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Nu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(i),e}function Hu(e){if(!e)return Oo;e:{if(He(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ko(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(ko(n))return Mo(e,n,t)}return t}function $u(e,t,n,r,o,i,a,s,l){return(e=Vu(n,r,!0,e,0,i,0,s,l)).context=Hu(null),n=e.current,(i=Ri(r=tu(),o=nu(n))).callback=null!=t?t:null,Di(n,i,o),e.current.lanes=o,_t(e,o,r),ou(e,r),e}function qu(e,t,n,r){var o=t.current,i=tu(),a=nu(o);return n=Hu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ri(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Di(o,t,a))&&(ru(e,o,a,i),Mi(e,o,a)),a}function Wu(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function zu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){zu(e,t),(e=e.alternate)&&zu(e,t)}Tl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Lo.current)bs=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return bs=!1,function(e,t,n){switch(t.tag){case 3:Ls(t),hi();break;case 5:aa(t);break;case 1:ko(t.type)&&Fo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Ao(gi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Ao(la,1&la.current),t.flags|=128,null):0!=(n&t.child.childLanes)?js(e,t,n):(Ao(la,1&la.current),null!==(e=Ws(e,t,n))?e.sibling:null);Ao(la,1&la.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return $s(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Ao(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,Is(e,t,n)}return Ws(e,t,n)}(e,t,n);bs=0!=(131072&e.flags)}else bs=!1,ii&&0!=(1048576&t.flags)&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;qs(e,t),e=t.pendingProps;var o=No(t,wo.current);Ii(t,n),o=Ta(null,t,r,e,o,n);var a=Ia();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ko(r)?(a=!0,Fo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t),o.updater=Hi,t.stateNode=o,o._reactInternals=t,zi(t,r,e,n),t=ws(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),Es(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(qs(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return ku(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===P)return 14}return 2}(r),e=_i(r,e),o){case 0:t=As(null,t,r,e,n);break e;case 1:t=Os(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Cs(null,t,r,_i(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,As(e,t,r,o=t.elementType===r?o:_i(r,o),n);case 1:return r=t.type,o=t.pendingProps,Os(e,t,r,o=t.elementType===r?o:_i(r,o),n);case 3:e:{if(Ls(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,ki(e,t),ji(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Ps(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=Ws(e,t,n);break e}Es(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),Ss(e,t),Es(e,t,s,n),t.child;case 6:return null===e&&ci(t),null;case 13:return js(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):Es(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:_i(r,o),n);case 7:return Es(e,t,t.pendingProps,n),t.child;case 8:case 12:return Es(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Ao(gi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Lo.current){t=Ws(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Ri(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ti(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ti(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Es(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ii(t,n),r=r(o=Si(o)),t.flags|=1,Es(e,t,r,n),t.child;case 14:return o=_i(r=t.type,t.pendingProps),Cs(e,t,r,o=_i(r.type,o),n);case 15:return Ts(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:_i(r,o),qs(e,t),t.tag=1,ko(r)?(e=!0,Fo(t)):e=!1,Ii(t,n),qi(t,r,o),zi(t,r,o,n),ws(null,t,r,!0,e,n);case 19:return $s(e,t,n);case 22:return Is(e,t,n)}throw Error(i(156,t.tag))};var Gu="function"==typeof reportError?reportError:function(e){console.error(e)};function Xu(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=Wu(a);s.call(e)}}qu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=Wu(a);i.call(e)}}var a=$u(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[mo]=a.current,Hr(8===e.nodeType?e.parentNode:e),du(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=Wu(l);s.call(e)}}var l=Vu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=l,e[mo]=l.current,Hr(8===e.nodeType?e.parentNode:e),du((function(){qu(t,l,n,r)})),l}(n,t,e,o,r);return Wu(a)}Yu.prototype.render=Xu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));qu(e,t,null,null)},Yu.prototype.unmount=Xu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){qu(null,e,null,null)})),t[mo]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Tt();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kt.length&&0!==t&&t<kt[n].priority;n++);kt.splice(n,0,e),0===n&&Ft(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),ou(t,Qe()),0==(6&wl)&&($l=Qe()+500,$o()))}break;case 13:du((function(){var t=Li(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Ku(e,1)}},xt=function(e){if(13===e.tag){var t=Li(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},Ct=function(e){if(13===e.tag){var t=nu(e),n=Li(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},Tt=function(){return yt},It=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(i(90));K(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=cu,we=du;var tc={usingClientEntryPoint:!1,Events:[bo,Eo,xo,Se,Ae,cu]},nc={findFiberByHostInstance:yo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:b.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(i(299));var n=!1,r="",o=Gu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Vu(e,1,!1,null,0,n,0,r,o),e[mo]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Xu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Ju(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Gu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=$u(t,null,e,1,null!=n?n:null,o,0,a,s),e[mo]=t.current,Hr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yu(t)},t.render=function(e,t,n){if(!Ju(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(i(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[mo]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ju(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},function(e,t,n){e.exports=n(22)},function(){},function(e,t,n){var r=n(10);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},function(e,t,n){n.r(t),n.d(t,{getCorrectEventName:function(){return s},getCorrectPropertyName:function(){return a}});
|
|
328
|
+
var r=n(0),o=n(52);function i(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var a=new Set,s={};function l(e,t){u(e,t),u(e+"Capture",t)}function u(e,t){for(s[e]=t,e=0;e<t.length;e++)a.add(t[e])}var c=!(void 0===window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,f=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},h={};function _(e,t,n,r,o,i,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=i,this.removeEmptyString=a}var m={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){m[e]=new _(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];m[t]=new _(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){m[e]=new _(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){m[e]=new _(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){m[e]=new _(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){m[e]=new _(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){m[e]=new _(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){m[e]=new _(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){m[e]=new _(e,5,!1,e.toLowerCase(),null,!1,!1)}));var v=/[\-:]([a-z])/g;function g(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=m.hasOwnProperty(t)?m[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!d.call(h,e)||!d.call(p,e)&&(f.test(e)?h[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(v,g);m[t]=new _(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(v,g);m[t]=new _(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(v,g);m[t]=new _(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){m[e]=new _(e,1,!1,e.toLowerCase(),null,!1,!1)})),m.xlinkHref=new _("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){m[e]=new _(e,1,!1,e.toLowerCase(),null,!0,!0)}));var y=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,E=Symbol.for("react.element"),x=Symbol.for("react.portal"),T=Symbol.for("react.fragment"),C=Symbol.for("react.strict_mode"),A=Symbol.for("react.profiler"),w=Symbol.for("react.provider"),I=Symbol.for("react.context"),S=Symbol.for("react.forward_ref"),O=Symbol.for("react.suspense"),L=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),N=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var k=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var R=Symbol.iterator;function D(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=R&&e[R]||e["@@iterator"])?e:null}var M,j=Object.assign;function F(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var B=!1;function U(e,t){if(!e||B)return"";B=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),i=r.stack.split("\n"),a=o.length-1,s=i.length-1;1<=a&&0<=s&&o[a]!==i[s];)s--;for(;1<=a&&0<=s;a--,s--)if(o[a]!==i[s]){if(1!==a||1!==s)do{if(a--,0>--s||o[a]!==i[s]){var l="\n"+o[a].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=a&&0<=s);break}}}finally{B=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?F(e):""}function q(e){switch(e.tag){case 5:return F(e.type);case 16:return F("Lazy");case 13:return F("Suspense");case 19:return F("SuspenseList");case 0:case 2:case 15:return e=U(e.type,!1);case 11:return e=U(e.type.render,!1);case 1:return e=U(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case T:return"Fragment";case x:return"Portal";case A:return"Profiler";case C:return"StrictMode";case O:return"Suspense";case L:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case I:return(e.displayName||"Context")+".Consumer";case w:return(e._context.displayName||"Context")+".Provider";case S:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case N:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===C?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function W(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function $(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function z(e){e._valueTracker||(e._valueTracker=function(e){var t=$(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,i=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,i.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function K(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=$(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function X(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function G(e,t){var n=t.checked;return j({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Y(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=W(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function Q(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function J(e,t){Q(e,t);var n=W(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,W(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function Z(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&X(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+W(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(i(91));return j({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(i(92));if(te(n)){if(1<n.length)throw Error(i(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:W(n)}}function ie(e,t){var n=W(t.value),r=W(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ae(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ue,ce,de=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ue=ue||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ue.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function fe(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},he=["Webkit","ms","Moz","O"];function _e(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function me(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=_e(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){he.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ve=j({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ge(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(i(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(i(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(i(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(i(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var ye=null;function Ee(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var xe=null,Te=null,Ce=null;function Ae(e){if(e=yo(e)){if("function"!=typeof xe)throw Error(i(280));var t=e.stateNode;t&&(t=xo(t),xe(e.stateNode,e.type,t))}}function we(e){Te?Ce?Ce.push(e):Ce=[e]:Te=e}function Ie(){if(Te){var e=Te,t=Ce;if(Ce=Te=null,Ae(e),t)for(e=0;e<t.length;e++)Ae(t[e])}}function Se(e,t){return e(t)}function Oe(){}var Le=!1;function Pe(e,t,n){if(Le)return e(t,n);Le=!0;try{return Se(e,t,n)}finally{Le=!1,(null!==Te||null!==Ce)&&(Oe(),Ie())}}function Ne(e,t){var n=e.stateNode;if(null===n)return null;var r=xo(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(i(231,t,typeof n));return n}var ke=!1;if(c)try{var Re={};Object.defineProperty(Re,"passive",{get:function(){ke=!0}}),window.addEventListener("test",Re,Re),window.removeEventListener("test",Re,Re)}catch(ce){ke=!1}function De(e,t,n,r,o,i,a,s,l){var u=Array.prototype.slice.call(arguments,3);try{t.apply(n,u)}catch(e){this.onError(e)}}var Me=!1,je=null,Fe=!1,Be=null,Ue={onError:function(e){Me=!0,je=e}};function qe(e,t,n,r,o,i,a,s,l){Me=!1,je=null,De.apply(Ue,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&(null!==(e=e.alternate)&&(t=e.memoizedState)),null!==t)return t.dehydrated}return null}function We(e){if(Ve(e)!==e)throw Error(i(188))}function $e(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(i(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var a=o.alternate;if(null===a){if(null!==(r=o.return)){n=r;continue}break}if(o.child===a.child){for(a=o.child;a;){if(a===n)return We(o),e;if(a===r)return We(o),t;a=a.sibling}throw Error(i(188))}if(n.return!==r.return)n=o,r=a;else{for(var s=!1,l=o.child;l;){if(l===n){s=!0,n=o,r=a;break}if(l===r){s=!0,r=o,n=a;break}l=l.sibling}if(!s){for(l=a.child;l;){if(l===n){s=!0,n=a,r=o;break}if(l===r){s=!0,r=a,n=o;break}l=l.sibling}if(!s)throw Error(i(189))}}if(n.alternate!==r)throw Error(i(190))}if(3!==n.tag)throw Error(i(188));return n.stateNode.current===n?e:t}(e))?ze(e):null}function ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=ze(e);if(null!==t)return t;e=e.sibling}return null}var Ke=o.unstable_scheduleCallback,Xe=o.unstable_cancelCallback,Ge=o.unstable_shouldYield,Ye=o.unstable_requestPaint,Qe=o.unstable_now,Je=o.unstable_getCurrentPriorityLevel,Ze=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,it=null;var at=Math.clz32?Math.clz32:function(e){return e>>>=0,0===e?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2;var ut=64,ct=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ft(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,i=e.pingedLanes,a=268435455&n;if(0!==a){var s=a&~o;0!==s?r=dt(s):0!==(i&=a)&&(r=dt(i))}else 0!==(a=n&~o)?r=dt(a):0!==i&&(r=dt(i));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(i=t&-t)||16===o&&0!=(4194240&i)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-at(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function ht(e){return 0!==(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function _t(){var e=ut;return 0==(4194240&(ut<<=1))&&(ut=64),e}function mt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-at(t)]=n}function gt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-at(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function yt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var Et,xt,Tt,Ct,At,wt=!1,It=[],St=null,Ot=null,Lt=null,Pt=new Map,Nt=new Map,kt=[],Rt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Dt(e,t){switch(e){case"focusin":case"focusout":St=null;break;case"dragenter":case"dragleave":Ot=null;break;case"mouseover":case"mouseout":Lt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Nt.delete(t.pointerId)}}function Mt(e,t,n,r,o,i){return null===e||e.nativeEvent!==i?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:i,targetContainers:[o]},null!==t&&(null!==(t=yo(t))&&xt(t)),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function jt(e){var t=bo(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void At(e.priority,(function(){Tt(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function Ft(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Gt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yo(n))&&xt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);ye=r,n.target.dispatchEvent(r),ye=null,t.shift()}return!0}function Bt(e,t,n){Ft(e)&&n.delete(t)}function Ut(){wt=!1,null!==St&&Ft(St)&&(St=null),null!==Ot&&Ft(Ot)&&(Ot=null),null!==Lt&&Ft(Lt)&&(Lt=null),Pt.forEach(Bt),Nt.forEach(Bt)}function qt(e,t){e.blockedOn===t&&(e.blockedOn=null,wt||(wt=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,Ut)))}function Vt(e){function t(t){return qt(t,e)}if(0<It.length){qt(It[0],e);for(var n=1;n<It.length;n++){var r=It[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==St&&qt(St,e),null!==Ot&&qt(Ot,e),null!==Lt&&qt(Lt,e),Pt.forEach(t),Nt.forEach(t),n=0;n<kt.length;n++)(r=kt[n]).blockedOn===e&&(r.blockedOn=null);for(;0<kt.length&&null===(n=kt[0]).blockedOn;)jt(n),null===n.blockedOn&&kt.shift()}var Ht=y.ReactCurrentBatchConfig,Wt=!0;function $t(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=1,Kt(e,t,n,r)}finally{bt=o,Ht.transition=i}}function zt(e,t,n,r){var o=bt,i=Ht.transition;Ht.transition=null;try{bt=4,Kt(e,t,n,r)}finally{bt=o,Ht.transition=i}}function Kt(e,t,n,r){if(Wt){var o=Gt(e,t,n,r);if(null===o)Wr(e,t,r,Xt,n),Dt(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return St=Mt(St,e,t,n,r,o),!0;case"dragenter":return Ot=Mt(Ot,e,t,n,r,o),!0;case"mouseover":return Lt=Mt(Lt,e,t,n,r,o),!0;case"pointerover":var i=o.pointerId;return Pt.set(i,Mt(Pt.get(i)||null,e,t,n,r,o)),!0;case"gotpointercapture":return i=o.pointerId,Nt.set(i,Mt(Nt.get(i)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Dt(e,r),4&t&&-1<Rt.indexOf(e)){for(;null!==o;){var i=yo(o);if(null!==i&&Et(i),null===(i=Gt(e,t,n,r))&&Wr(e,t,r,Xt,n),i===o)break;o=i}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Xt=null;function Gt(e,t,n,r){if(Xt=null,null!==(e=bo(e=Ee(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Xt=e,null}function Yt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Je()){case Ze:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Qt=null,Jt=null,Zt=null;function en(){if(Zt)return Zt;var e,t,n=Jt,r=n.length,o="value"in Qt?Qt.value:Qt.textContent,i=o.length;for(e=0;e<r&&n[e]===o[e];e++);var a=r-e;for(t=1;t<=a&&n[r-t]===o[i-t];t++);return Zt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,i){for(var a in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=i,this.currentTarget=null,e)e.hasOwnProperty(a)&&(t=e[a],this[a]=t?t(o):o[a]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return j(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,sn,ln,un={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(un),dn=j({},un,{view:0,detail:0}),fn=on(dn),pn=j({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:An,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(an=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=an=0,ln=e),an)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),hn=on(pn),_n=on(j({},pn,{dataTransfer:0})),mn=on(j({},dn,{relatedTarget:0})),vn=on(j({},un,{animationName:0,elapsedTime:0,pseudoElement:0})),gn=j({},un,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(gn),yn=on(j({},un,{data:0})),En={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},xn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Tn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Cn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Tn[e])&&!!t[e]}function An(){return Cn}var wn=j({},dn,{key:function(e){if(e.key){var t=En[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?xn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:An,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),In=on(wn),Sn=on(j({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),On=on(j({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:An})),Ln=on(j({},un,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=j({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Nn=on(Pn),kn=[9,13,27,32],Rn=c&&"CompositionEvent"in window,Dn=null;c&&"documentMode"in document&&(Dn=document.documentMode);var Mn=c&&"TextEvent"in window&&!Dn,jn=c&&(!Rn||Dn&&8<Dn&&11>=Dn),Fn=String.fromCharCode(32),Bn=!1;function Un(e,t){switch(e){case"keyup":return-1!==kn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function qn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1;var Hn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Hn[e.type]:"textarea"===t}function $n(e,t,n,r){we(r),0<(t=zr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var zn=null,Kn=null;function Xn(e){Fr(e,0)}function Gn(e){if(K(Eo(e)))return e}function Yn(e,t){if("change"===e)return t}var Qn=!1;if(c){var Jn;if(c){var Zn="oninput"in document;if(!Zn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Zn="function"==typeof er.oninput}Jn=Zn}else Jn=!1;Qn=Jn&&(!document.documentMode||9<document.documentMode)}function tr(){zn&&(zn.detachEvent("onpropertychange",nr),Kn=zn=null)}function nr(e){if("value"===e.propertyName&&Gn(Kn)){var t=[];$n(t,Kn,e,Ee(e)),Pe(Xn,t)}}function rr(e,t,n){"focusin"===e?(tr(),Kn=n,(zn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function or(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Gn(Kn)}function ir(e,t){if("click"===e)return Gn(t)}function ar(e,t){if("input"===e||"change"===e)return Gn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!d.call(t,o)||!sr(e[o],t[o]))return!1}return!0}function ur(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function cr(e,t){var n,r=ur(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=ur(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function fr(){for(var e=window,t=X();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=X((e=t.contentWindow).document)}return t}function pr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=fr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&pr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,i=Math.min(r.start,o);r=void 0===r.end?i:Math.min(r.end,o),!e.extend&&i>r&&(o=r,r=i,i=o),o=cr(n,i);var a=cr(n,r);o&&a&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==a.node||e.focusOffset!==a.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),i>r?(e.addRange(t),e.extend(a.node,a.offset)):(t.setEnd(a.node,a.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var _r=c&&"documentMode"in document&&11>=document.documentMode,mr=null,vr=null,gr=null,br=!1;function yr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;br||null==mr||mr!==X(r)||("selectionStart"in(r=mr)&&pr(r)?r={start:r.selectionStart,end:r.selectionEnd}:r={anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},gr&&lr(gr,r)||(gr=r,0<(r=zr(vr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=mr)))}function Er(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var xr={animationend:Er("Animation","AnimationEnd"),animationiteration:Er("Animation","AnimationIteration"),animationstart:Er("Animation","AnimationStart"),transitionend:Er("Transition","TransitionEnd")},Tr={},Cr={};function Ar(e){if(Tr[e])return Tr[e];if(!xr[e])return e;var t,n=xr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Cr)return Tr[e]=n[t];return e}c&&(Cr=document.createElement("div").style,"AnimationEvent"in window||(delete xr.animationend.animation,delete xr.animationiteration.animation,delete xr.animationstart.animation),"TransitionEvent"in window||delete xr.transitionend.transition);var wr=Ar("animationend"),Ir=Ar("animationiteration"),Sr=Ar("animationstart"),Or=Ar("transitionend"),Lr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Nr(e,t){Lr.set(e,t),l(t,[e])}for(var kr=0;kr<Pr.length;kr++){var Rr=Pr[kr];Nr(Rr.toLowerCase(),"on"+(Rr[0].toUpperCase()+Rr.slice(1)))}Nr(wr,"onAnimationEnd"),Nr(Ir,"onAnimationIteration"),Nr(Sr,"onAnimationStart"),Nr("dblclick","onDoubleClick"),Nr("focusin","onFocus"),Nr("focusout","onBlur"),Nr(Or,"onTransitionEnd"),u("onMouseEnter",["mouseout","mouseover"]),u("onMouseLeave",["mouseout","mouseover"]),u("onPointerEnter",["pointerout","pointerover"]),u("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Dr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Mr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Dr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,a,s,l,u){if(qe.apply(this,arguments),Me){if(!Me)throw Error(i(198));var c=je;Me=!1,je=null,Fe||(Fe=!0,Be=c)}}(r,t,void 0,e),e.currentTarget=null}function Fr(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var i=void 0;if(t)for(var a=r.length-1;0<=a;a--){var s=r[a],l=s.instance,u=s.currentTarget;if(s=s.listener,l!==i&&o.isPropagationStopped())break e;jr(o,s,u),i=l}else for(a=0;a<r.length;a++){if(l=(s=r[a]).instance,u=s.currentTarget,s=s.listener,l!==i&&o.isPropagationStopped())break e;jr(o,s,u),i=l}}}if(Fe)throw e=Be,Fe=!1,Be=null,e}function Br(e,t){var n=t[mo];void 0===n&&(n=t[mo]=new Set);var r=e+"__bubble";n.has(r)||(Hr(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Hr(n,e,r,t)}var qr="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[qr]){e[qr]=!0,a.forEach((function(t){"selectionchange"!==t&&(Mr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[qr]||(t[qr]=!0,Ur("selectionchange",!1,t))}}function Hr(e,t,n,r){switch(Yt(t)){case 1:var o=$t;break;case 4:o=zt;break;default:o=Kt}n=o.bind(null,t,n,e),o=void 0,!ke||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var i=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var a=r.tag;if(3===a||4===a){var s=r.stateNode.containerInfo;if(s===o||8===s.nodeType&&s.parentNode===o)break;if(4===a)for(a=r.return;null!==a;){var l=a.tag;if((3===l||4===l)&&((l=a.stateNode.containerInfo)===o||8===l.nodeType&&l.parentNode===o))return;a=a.return}for(;null!==s;){if(null===(a=bo(s)))return;if(5===(l=a.tag)||6===l){r=i=a;continue e}s=s.parentNode}}r=r.return}Pe((function(){var r=i,o=Ee(n),a=[];e:{var s=Lr.get(e);if(void 0!==s){var l=cn,u=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=In;break;case"focusin":u="focus",l=mn;break;case"focusout":u="blur",l=mn;break;case"beforeblur":case"afterblur":l=mn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=hn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=_n;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=On;break;case wr:case Ir:case Sr:l=vn;break;case Or:l=Ln;break;case"scroll":l=fn;break;case"wheel":l=Nn;break;case"copy":case"cut":case"paste":l=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=Sn}var c=0!=(4&t),d=!c&&"scroll"===e,f=c?null!==s?s+"Capture":null:s;c=[];for(var p,h=r;null!==h;){var _=(p=h).stateNode;if(5===p.tag&&null!==_&&(p=_,null!==f&&(null!=(_=Ne(h,f))&&c.push($r(h,_,p)))),d)break;h=h.return}0<c.length&&(s=new l(s,u,null,n,o),a.push({event:s,listeners:c}))}}if(0==(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===ye||!(u=n.relatedTarget||n.fromElement)||!bo(u)&&!u[_o])&&(l||s)&&(s=o.window===o?o:(s=o.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(u=(u=n.relatedTarget||n.toElement)?bo(u):null)&&(u!==(d=Ve(u))||5!==u.tag&&6!==u.tag)&&(u=null)):(l=null,u=r),l!==u)){if(c=hn,_="onMouseLeave",f="onMouseEnter",h="mouse","pointerout"!==e&&"pointerover"!==e||(c=Sn,_="onPointerLeave",f="onPointerEnter",h="pointer"),d=null==l?s:Eo(l),p=null==u?s:Eo(u),(s=new c(_,h+"leave",l,n,o)).target=d,s.relatedTarget=p,_=null,bo(o)===r&&((c=new c(f,h+"enter",u,n,o)).target=p,c.relatedTarget=d,_=c),d=_,l&&u)e:{for(f=u,h=0,p=c=l;p;p=Kr(p))h++;for(p=0,_=f;_;_=Kr(_))p++;for(;0<h-p;)c=Kr(c),h--;for(;0<p-h;)f=Kr(f),p--;for(;h--;){if(c===f||null!==f&&c===f.alternate)break e;c=Kr(c),f=Kr(f)}c=null}else c=null;null!==l&&Xr(a,s,l,c,!1),null!==u&&null!==d&&Xr(a,d,u,c,!0)}if("select"===(l=(s=r?Eo(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var m=Yn;else if(Wn(s))if(Qn)m=ar;else{m=or;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(m=ir);switch(m&&(m=m(e,r))?$n(a,m,n,o):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?Eo(r):window,e){case"focusin":(Wn(v)||"true"===v.contentEditable)&&(mr=v,vr=r,gr=null);break;case"focusout":gr=vr=mr=null;break;case"mousedown":br=!0;break;case"contextmenu":case"mouseup":case"dragend":br=!1,yr(a,n,o);break;case"selectionchange":if(_r)break;case"keydown":case"keyup":yr(a,n,o)}var g;if(Rn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Vn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(jn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Vn&&(g=en()):(Jt="value"in(Qt=o)?Qt.value:Qt.textContent,Vn=!0)),0<(v=zr(r,b)).length&&(b=new yn(b,e,null,n,o),a.push({event:b,listeners:v}),g?b.data=g:null!==(g=qn(n))&&(b.data=g))),(g=Mn?function(e,t){switch(e){case"compositionend":return qn(t);case"keypress":return 32!==t.which?null:(Bn=!0,Fn);case"textInput":return(e=t.data)===Fn&&Bn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Rn&&Un(e,t)?(e=en(),Zt=Jt=Qt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&(0<(r=zr(r,"onBeforeInput")).length&&(o=new yn("onBeforeInput","beforeinput",null,n,o),a.push({event:o,listeners:r}),o.data=g))}Fr(a,t)}))}function $r(e,t,n){return{instance:e,listener:t,currentTarget:n}}function zr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,i=o.stateNode;5===o.tag&&null!==i&&(o=i,null!=(i=Ne(e,n))&&r.unshift($r(e,i,o)),null!=(i=Ne(e,t))&&r.push($r(e,i,o))),e=e.return}return r}function Kr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Xr(e,t,n,r,o){for(var i=t._reactName,a=[];null!==n&&n!==r;){var s=n,l=s.alternate,u=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==u&&(s=u,o?null!=(l=Ne(n,i))&&a.unshift($r(n,l,s)):o||null!=(l=Ne(n,i))&&a.push($r(n,l,s))),n=n.return}0!==a.length&&e.push({event:t,listeners:a})}var Gr=/\r\n?/g,Yr=/\u0000|\uFFFD/g;function Qr(e){return("string"==typeof e?e:""+e).replace(Gr,"\n").replace(Yr,"")}function Jr(e,t,n){if(t=Qr(t),Qr(e)!==t&&n)throw Error(i(425))}function Zr(){}var eo=null,to=null;function no(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ro="function"==typeof setTimeout?setTimeout:void 0,oo="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,ao="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(so)}:ro;function so(e){setTimeout((function(){throw e}))}function lo(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Vt(t)}function uo(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function co(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var fo=Math.random().toString(36).slice(2),po="__reactFiber$"+fo,ho="__reactProps$"+fo,_o="__reactContainer$"+fo,mo="__reactEvents$"+fo,vo="__reactListeners$"+fo,go="__reactHandles$"+fo;function bo(e){var t=e[po];if(t)return t;for(var n=e.parentNode;n;){if(t=n[_o]||n[po]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=co(e);null!==e;){if(n=e[po])return n;e=co(e)}return t}n=(e=n).parentNode}return null}function yo(e){return!(e=e[po]||e[_o])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Eo(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(i(33))}function xo(e){return e[ho]||null}var To=[],Co=-1;function Ao(e){return{current:e}}function wo(e){0>Co||(e.current=To[Co],To[Co]=null,Co--)}function Io(e,t){Co++,To[Co]=e.current,e.current=t}var So={},Oo=Ao(So),Lo=Ao(!1),Po=So;function No(e,t){var n=e.type.contextTypes;if(!n)return So;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,i={};for(o in n)i[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=i),i}function ko(e){return null!=(e=e.childContextTypes)}function Ro(){wo(Lo),wo(Oo)}function Do(e,t,n){if(Oo.current!==So)throw Error(i(168));Io(Oo,t),Io(Lo,n)}function Mo(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(i(108,H(e)||"Unknown",o));return j({},n,r)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||So,Po=Oo.current,Io(Oo,e),Io(Lo,Lo.current),!0}function Fo(e,t,n){var r=e.stateNode;if(!r)throw Error(i(169));n?(e=Mo(e,t,Po),r.__reactInternalMemoizedMergedChildContext=e,wo(Lo),wo(Oo),Io(Oo,e)):wo(Lo),Io(Lo,n)}var Bo=null,Uo=!1,qo=!1;function Vo(e){null===Bo?Bo=[e]:Bo.push(e)}function Ho(){if(!qo&&null!==Bo){qo=!0;var e=0,t=bt;try{var n=Bo;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}Bo=null,Uo=!1}catch(t){throw null!==Bo&&(Bo=Bo.slice(e+1)),Ke(Ze,Ho),t}finally{bt=t,qo=!1}}return null}var Wo=[],$o=0,zo=null,Ko=0,Xo=[],Go=0,Yo=null,Qo=1,Jo="";function Zo(e,t){Wo[$o++]=Ko,Wo[$o++]=zo,zo=e,Ko=t}function ei(e,t,n){Xo[Go++]=Qo,Xo[Go++]=Jo,Xo[Go++]=Yo,Yo=e;var r=Qo;e=Jo;var o=32-at(r)-1;r&=~(1<<o),n+=1;var i=32-at(t)+o;if(30<i){var a=o-o%5;i=(r&(1<<a)-1).toString(32),r>>=a,o-=a,Qo=1<<32-at(t)+o|n<<o|r,Jo=i+e}else Qo=1<<i|n<<o|r,Jo=e}function ti(e){null!==e.return&&(Zo(e,1),ei(e,1,0))}function ni(e){for(;e===zo;)zo=Wo[--$o],Wo[$o]=null,Ko=Wo[--$o],Wo[$o]=null;for(;e===Yo;)Yo=Xo[--Go],Xo[Go]=null,Jo=Xo[--Go],Xo[Go]=null,Qo=Xo[--Go],Xo[Go]=null}var ri=null,oi=null,ii=!1,ai=null;function si(e,t){var n=Nu(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function li(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,ri=e,oi=uo(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,ri=e,oi=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yo?{id:Qo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Nu(18,null,null,0)).stateNode=t,n.return=e,e.child=n,ri=e,oi=null,!0);default:return!1}}function ui(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function ci(e){if(ii){var t=oi;if(t){var n=t;if(!li(e,t)){if(ui(e))throw Error(i(418));t=uo(n.nextSibling);var r=ri;t&&li(e,t)?si(r,n):(e.flags=-4097&e.flags|2,ii=!1,ri=e)}}else{if(ui(e))throw Error(i(418));e.flags=-4097&e.flags|2,ii=!1,ri=e}}}function di(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;ri=e}function fi(e){if(e!==ri)return!1;if(!ii)return di(e),ii=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!no(e.type,e.memoizedProps)),t&&(t=oi)){if(ui(e))throw pi(),Error(i(418));for(;t;)si(e,t),t=uo(t.nextSibling)}if(di(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(i(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){oi=uo(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}oi=null}}else oi=ri?uo(e.stateNode.nextSibling):null;return!0}function pi(){for(var e=oi;e;)e=uo(e.nextSibling)}function hi(){oi=ri=null,ii=!1}function _i(e){null===ai?ai=[e]:ai.push(e)}var mi=y.ReactCurrentBatchConfig;function vi(e,t){if(e&&e.defaultProps){for(var n in t=j({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var gi=Ao(null),bi=null,yi=null,Ei=null;function xi(){Ei=yi=bi=null}function Ti(e){var t=gi.current;wo(gi),e._currentValue=t}function Ci(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ai(e,t){bi=e,Ei=yi=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(ys=!0),e.firstContext=null)}function wi(e){var t=e._currentValue;if(Ei!==e)if(e={context:e,memoizedValue:t,next:null},null===yi){if(null===bi)throw Error(i(308));yi=e,bi.dependencies={lanes:0,firstContext:e}}else yi=yi.next=e;return t}var Ii=null;function Si(e){null===Ii?Ii=[e]:Ii.push(e)}function Oi(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Si(t)):(n.next=o.next,o.next=n),t.interleaved=n,Li(e,r)}function Li(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Pi=!1;function Ni(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function ki(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Ri(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Di(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Ol)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,Li(e,n)}return null===(o=r.interleaved)?(t.next=t,Si(r)):(t.next=o.next,o.next=t),r.interleaved=t,Li(e,n)}function Mi(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}function ji(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,i=null;if(null!==(n=n.firstBaseUpdate)){do{var a={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===i?o=i=a:i=i.next=a,n=n.next}while(null!==n);null===i?o=i=t:i=i.next=t}else o=i=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:i,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Fi(e,t,n,r){var o=e.updateQueue;Pi=!1;var i=o.firstBaseUpdate,a=o.lastBaseUpdate,s=o.shared.pending;if(null!==s){o.shared.pending=null;var l=s,u=l.next;l.next=null,null===a?i=u:a.next=u,a=l;var c=e.alternate;null!==c&&((s=(c=c.updateQueue).lastBaseUpdate)!==a&&(null===s?c.firstBaseUpdate=u:s.next=u,c.lastBaseUpdate=l))}if(null!==i){var d=o.baseState;for(a=0,c=u=l=null,s=i;;){var f=s.lane,p=s.eventTime;if((r&f)===f){null!==c&&(c=c.next={eventTime:p,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var h=e,_=s;switch(f=t,p=n,_.tag){case 1:if("function"==typeof(h=_.payload)){d=h.call(p,d,f);break e}d=h;break e;case 3:h.flags=-65537&h.flags|128;case 0:if(null==(f="function"==typeof(h=_.payload)?h.call(p,d,f):h))break e;d=j({},d,f);break e;case 2:Pi=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(f=o.effects)?o.effects=[s]:f.push(s))}else p={eventTime:p,lane:f,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===c?(u=c=p,l=d):c=c.next=p,a|=f;if(null===(s=s.next)){if(null===(s=o.shared.pending))break;s=(f=s).next,f.next=null,o.lastBaseUpdate=f,o.shared.pending=null}}if(null===c&&(l=d),o.baseState=l,o.firstBaseUpdate=u,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{a|=o.lane,o=o.next}while(o!==t)}else null===i&&(o.shared.lanes=0);jl|=a,e.lanes=a,e.memoizedState=d}}function Bi(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(i(191,o));o.call(r)}}}var Ui=(new r.Component).refs;function qi(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:j({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Vi={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Ri(r,o);i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(ru(t,e,o,r),Mi(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=tu(),o=nu(e),i=Ri(r,o);i.tag=1,i.payload=t,null!=n&&(i.callback=n),null!==(t=Di(e,i,o))&&(ru(t,e,o,r),Mi(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=tu(),r=nu(e),o=Ri(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Di(e,o,r))&&(ru(t,e,r,n),Mi(t,e,r))}};function Hi(e,t,n,r,o,i,a){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,i,a):!t.prototype||!t.prototype.isPureReactComponent||(!lr(n,r)||!lr(o,i))}function Wi(e,t,n){var r=!1,o=So,i=t.contextType;return"object"==typeof i&&null!==i?i=wi(i):(o=ko(t)?Po:Oo.current,i=(r=null!=(r=t.contextTypes))?No(e,o):So),t=new t(n,i),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Vi,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=i),t}function $i(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Vi.enqueueReplaceState(t,t.state,null)}function zi(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ui,Ni(e);var i=t.contextType;"object"==typeof i&&null!==i?o.context=wi(i):(i=ko(t)?Po:Oo.current,o.context=No(e,i)),o.state=e.memoizedState,"function"==typeof(i=t.getDerivedStateFromProps)&&(qi(e,t,i,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Vi.enqueueReplaceState(o,o.state,null),Fi(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ki(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(i(309));var r=n.stateNode}if(!r)throw Error(i(147,e));var o=r,a=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===a?t.ref:(t=function(e){var t=o.refs;t===Ui&&(t=o.refs={}),null===e?delete t[a]:t[a]=e},t._stringRef=a,t)}if("string"!=typeof e)throw Error(i(284));if(!n._owner)throw Error(i(290,e))}return e}function Xi(e,t){throw e=Object.prototype.toString.call(t),Error(i(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Gi(e){return(0,e._init)(e._payload)}function Yi(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Ru(e,t)).index=0,e.sibling=null,e}function a(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Fu(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function u(e,t,n,r){var i=n.type;return i===T?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===i||"object"==typeof i&&null!==i&&i.$$typeof===N&&Gi(i)===t.type)?((r=o(t,n.props)).ref=Ki(e,t,n),r.return=e,r):((r=Du(n.type,n.key,n.props,null,e.mode,r)).ref=Ki(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=Bu(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function d(e,t,n,r,i){return null===t||7!==t.tag?((t=Mu(n,e.mode,r,i)).return=e,t):((t=o(t,n)).return=e,t)}function f(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Fu(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case E:return(n=Du(t.type,t.key,t.props,null,e.mode,n)).ref=Ki(e,null,t),n.return=e,n;case x:return(t=Bu(t,e.mode,n)).return=e,t;case N:return f(e,(0,t._init)(t._payload),n)}if(te(t)||D(t))return(t=Mu(t,e.mode,n,null)).return=e,t;Xi(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case E:return n.key===o?u(e,t,n,r):null;case x:return n.key===o?c(e,t,n,r):null;case N:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||D(n))return null!==o?null:d(e,t,n,r,null);Xi(e,n)}return null}function h(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case E:return u(t,e=e.get(null===r.key?n:r.key)||null,r,o);case x:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case N:return h(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||D(r))return d(t,e=e.get(n)||null,r,o,null);Xi(t,r)}return null}function _(o,i,s,l){for(var u=null,c=null,d=i,_=i=0,m=null;null!==d&&_<s.length;_++){d.index>_?(m=d,d=null):m=d.sibling;var v=p(o,d,s[_],l);if(null===v){null===d&&(d=m);break}e&&d&&null===v.alternate&&t(o,d),i=a(v,i,_),null===c?u=v:c.sibling=v,c=v,d=m}if(_===s.length)return n(o,d),ii&&Zo(o,_),u;if(null===d){for(;_<s.length;_++)null!==(d=f(o,s[_],l))&&(i=a(d,i,_),null===c?u=d:c.sibling=d,c=d);return ii&&Zo(o,_),u}for(d=r(o,d);_<s.length;_++)null!==(m=h(d,o,_,s[_],l))&&(e&&null!==m.alternate&&d.delete(null===m.key?_:m.key),i=a(m,i,_),null===c?u=m:c.sibling=m,c=m);return e&&d.forEach((function(e){return t(o,e)})),ii&&Zo(o,_),u}function m(o,s,l,u){var c=D(l);if("function"!=typeof c)throw Error(i(150));if(null==(l=c.call(l)))throw Error(i(151));for(var d=c=null,_=s,m=s=0,v=null,g=l.next();null!==_&&!g.done;m++,g=l.next()){_.index>m?(v=_,_=null):v=_.sibling;var b=p(o,_,g.value,u);if(null===b){null===_&&(_=v);break}e&&_&&null===b.alternate&&t(o,_),s=a(b,s,m),null===d?c=b:d.sibling=b,d=b,_=v}if(g.done)return n(o,_),ii&&Zo(o,m),c;if(null===_){for(;!g.done;m++,g=l.next())null!==(g=f(o,g.value,u))&&(s=a(g,s,m),null===d?c=g:d.sibling=g,d=g);return ii&&Zo(o,m),c}for(_=r(o,_);!g.done;m++,g=l.next())null!==(g=h(_,o,m,g.value,u))&&(e&&null!==g.alternate&&_.delete(null===g.key?m:g.key),s=a(g,s,m),null===d?c=g:d.sibling=g,d=g);return e&&_.forEach((function(e){return t(o,e)})),ii&&Zo(o,m),c}return function e(r,i,a,l){if("object"==typeof a&&null!==a&&a.type===T&&null===a.key&&(a=a.props.children),"object"==typeof a&&null!==a){switch(a.$$typeof){case E:e:{for(var u=a.key,c=i;null!==c;){if(c.key===u){if((u=a.type)===T){if(7===c.tag){n(r,c.sibling),(i=o(c,a.props.children)).return=r,r=i;break e}}else if(c.elementType===u||"object"==typeof u&&null!==u&&u.$$typeof===N&&Gi(u)===c.type){n(r,c.sibling),(i=o(c,a.props)).ref=Ki(r,c,a),i.return=r,r=i;break e}n(r,c);break}t(r,c),c=c.sibling}a.type===T?((i=Mu(a.props.children,r.mode,l,a.key)).return=r,r=i):((l=Du(a.type,a.key,a.props,null,r.mode,l)).ref=Ki(r,i,a),l.return=r,r=l)}return s(r);case x:e:{for(c=a.key;null!==i;){if(i.key===c){if(4===i.tag&&i.stateNode.containerInfo===a.containerInfo&&i.stateNode.implementation===a.implementation){n(r,i.sibling),(i=o(i,a.children||[])).return=r,r=i;break e}n(r,i);break}t(r,i),i=i.sibling}(i=Bu(a,r.mode,l)).return=r,r=i}return s(r);case N:return e(r,i,(c=a._init)(a._payload),l)}if(te(a))return _(r,i,a,l);if(D(a))return m(r,i,a,l);Xi(r,a)}return"string"==typeof a&&""!==a||"number"==typeof a?(a=""+a,null!==i&&6===i.tag?(n(r,i.sibling),(i=o(i,a)).return=r,r=i):(n(r,i),(i=Fu(a,r.mode,l)).return=r,r=i),s(r)):n(r,i)}}var Qi=Yi(!0),Ji=Yi(!1),Zi={},ea=Ao(Zi),ta=Ao(Zi),na=Ao(Zi);function ra(e){if(e===Zi)throw Error(i(174));return e}function oa(e,t){switch(Io(na,t),Io(ta,e),Io(ea,Zi),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}wo(ea),Io(ea,t)}function ia(){wo(ea),wo(ta),wo(na)}function aa(e){ra(na.current);var t=ra(ea.current),n=le(t,e.type);t!==n&&(Io(ta,e),Io(ea,n))}function sa(e){ta.current===e&&(wo(ea),wo(ta))}var la=Ao(0);function ua(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var ca=[];function da(){for(var e=0;e<ca.length;e++)ca[e]._workInProgressVersionPrimary=null;ca.length=0}var fa=y.ReactCurrentDispatcher,pa=y.ReactCurrentBatchConfig,ha=0,_a=null,ma=null,va=null,ga=!1,ba=!1,ya=0,Ea=0;function xa(){throw Error(i(321))}function Ta(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function Ca(e,t,n,r,o,a){if(ha=a,_a=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,fa.current=null===e||null===e.memoizedState?ss:ls,e=n(r,o),ba){a=0;do{if(ba=!1,ya=0,25<=a)throw Error(i(301));a+=1,va=ma=null,t.updateQueue=null,fa.current=us,e=n(r,o)}while(ba)}if(fa.current=as,t=null!==ma&&null!==ma.next,ha=0,va=ma=_a=null,ga=!1,t)throw Error(i(300));return e}function Aa(){var e=0!==ya;return ya=0,e}function wa(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===va?_a.memoizedState=va=e:va=va.next=e,va}function Ia(){if(null===ma){var e=_a.alternate;e=null!==e?e.memoizedState:null}else e=ma.next;var t=null===va?_a.memoizedState:va.next;if(null!==t)va=t,ma=e;else{if(null===e)throw Error(i(310));e={memoizedState:(ma=e).memoizedState,baseState:ma.baseState,baseQueue:ma.baseQueue,queue:ma.queue,next:null},null===va?_a.memoizedState=va=e:va=va.next=e}return va}function Sa(e,t){return"function"==typeof t?t(e):t}function Oa(e){var t=Ia(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=ma,o=r.baseQueue,a=n.pending;if(null!==a){if(null!==o){var s=o.next;o.next=a.next,a.next=s}r.baseQueue=o=a,n.pending=null}if(null!==o){a=o.next,r=r.baseState;var l=s=null,u=null,c=a;do{var d=c.lane;if((ha&d)===d)null!==u&&(u=u.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var f={lane:d,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===u?(l=u=f,s=r):u=u.next=f,_a.lanes|=d,jl|=d}c=c.next}while(null!==c&&c!==a);null===u?s=r:u.next=l,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=u,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{a=o.lane,_a.lanes|=a,jl|=a,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function La(e){var t=Ia(),n=t.queue;if(null===n)throw Error(i(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,a=t.memoizedState;if(null!==o){n.pending=null;var s=o=o.next;do{a=e(a,s.action),s=s.next}while(s!==o);sr(a,t.memoizedState)||(ys=!0),t.memoizedState=a,null===t.baseQueue&&(t.baseState=a),n.lastRenderedState=a}return[a,r]}function Pa(){}function Na(e,t){var n=_a,r=Ia(),o=t(),a=!sr(r.memoizedState,o);if(a&&(r.memoizedState=o,ys=!0),r=r.queue,Wa(Da.bind(null,n,r,e),[e]),r.getSnapshot!==t||a||null!==va&&1&va.memoizedState.tag){if(n.flags|=2048,Ba(9,Ra.bind(null,n,r,o,t),void 0,null),null===Ll)throw Error(i(349));0!=(30&ha)||ka(n,t,o)}return o}function ka(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=_a.updateQueue)?(t={lastEffect:null,stores:null},_a.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Ra(e,t,n,r){t.value=n,t.getSnapshot=r,Ma(t)&&ja(e)}function Da(e,t,n){return n((function(){Ma(t)&&ja(e)}))}function Ma(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function ja(e){var t=Li(e,1);null!==t&&ru(t,e,1,-1)}function Fa(e){var t=wa();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Sa,lastRenderedState:e},t.queue=e,e=e.dispatch=ns.bind(null,_a,e),[t.memoizedState,e]}function Ba(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=_a.updateQueue)?(t={lastEffect:null,stores:null},_a.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ua(){return Ia().memoizedState}function qa(e,t,n,r){var o=wa();_a.flags|=e,o.memoizedState=Ba(1|t,n,void 0,void 0===r?null:r)}function Va(e,t,n,r){var o=Ia();r=void 0===r?null:r;var i=void 0;if(null!==ma){var a=ma.memoizedState;if(i=a.destroy,null!==r&&Ta(r,a.deps))return void(o.memoizedState=Ba(t,n,i,r))}_a.flags|=e,o.memoizedState=Ba(1|t,n,i,r)}function Ha(e,t){return qa(8390656,8,e,t)}function Wa(e,t){return Va(2048,8,e,t)}function $a(e,t){return Va(4,2,e,t)}function za(e,t){return Va(4,4,e,t)}function Ka(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Xa(e,t,n){return n=null!=n?n.concat([e]):null,Va(4,4,Ka.bind(null,t,e),n)}function Ga(){}function Ya(e,t){var n=Ia();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ta(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Qa(e,t){var n=Ia();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ta(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ja(e,t,n){return 0==(21&ha)?(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n):(sr(n,t)||(n=_t(),_a.lanes|=n,jl|=n,e.baseState=!0),t)}function Za(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=pa.transition;pa.transition={};try{e(!1),t()}finally{bt=n,pa.transition=r}}function es(){return Ia().memoizedState}function ts(e,t,n){var r=nu(e);if(n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},rs(e))os(t,n);else if(null!==(n=Oi(e,t,n,r))){ru(n,e,r,tu()),is(n,t,r)}}function ns(e,t,n){var r=nu(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(rs(e))os(t,o);else{var i=e.alternate;if(0===e.lanes&&(null===i||0===i.lanes)&&null!==(i=t.lastRenderedReducer))try{var a=t.lastRenderedState,s=i(a,n);if(o.hasEagerState=!0,o.eagerState=s,sr(s,a)){var l=t.interleaved;return null===l?(o.next=o,Si(t)):(o.next=l.next,l.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Oi(e,t,o,r))&&(ru(n,e,r,o=tu()),is(n,t,r))}}function rs(e){var t=e.alternate;return e===_a||null!==t&&t===_a}function os(e,t){ba=ga=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function is(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,gt(e,n)}}var as={readContext:wi,useCallback:xa,useContext:xa,useEffect:xa,useImperativeHandle:xa,useInsertionEffect:xa,useLayoutEffect:xa,useMemo:xa,useReducer:xa,useRef:xa,useState:xa,useDebugValue:xa,useDeferredValue:xa,useTransition:xa,useMutableSource:xa,useSyncExternalStore:xa,useId:xa,unstable_isNewReconciler:!1},ss={readContext:wi,useCallback:function(e,t){return wa().memoizedState=[e,void 0===t?null:t],e},useContext:wi,useEffect:Ha,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,qa(4194308,4,Ka.bind(null,t,e),n)},useLayoutEffect:function(e,t){return qa(4194308,4,e,t)},useInsertionEffect:function(e,t){return qa(4,2,e,t)},useMemo:function(e,t){var n=wa();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=wa();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=ts.bind(null,_a,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},wa().memoizedState=e},useState:Fa,useDebugValue:Ga,useDeferredValue:function(e){return wa().memoizedState=e},useTransition:function(){var e=Fa(!1),t=e[0];return e=Za.bind(null,e[1]),wa().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=_a,o=wa();if(ii){if(void 0===n)throw Error(i(407));n=n()}else{if(n=t(),null===Ll)throw Error(i(349));0!=(30&ha)||ka(r,t,n)}o.memoizedState=n;var a={value:n,getSnapshot:t};return o.queue=a,Ha(Da.bind(null,r,a,e),[e]),r.flags|=2048,Ba(9,Ra.bind(null,r,a,n,t),void 0,null),n},useId:function(){var e=wa(),t=Ll.identifierPrefix;if(ii){var n=Jo;t=":"+t+"R"+(n=(Qo&~(1<<32-at(Qo)-1)).toString(32)+n),0<(n=ya++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=Ea++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},ls={readContext:wi,useCallback:Ya,useContext:wi,useEffect:Wa,useImperativeHandle:Xa,useInsertionEffect:$a,useLayoutEffect:za,useMemo:Qa,useReducer:Oa,useRef:Ua,useState:function(){return Oa(Sa)},useDebugValue:Ga,useDeferredValue:function(e){return Ja(Ia(),ma.memoizedState,e)},useTransition:function(){return[Oa(Sa)[0],Ia().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1},us={readContext:wi,useCallback:Ya,useContext:wi,useEffect:Wa,useImperativeHandle:Xa,useInsertionEffect:$a,useLayoutEffect:za,useMemo:Qa,useReducer:La,useRef:Ua,useState:function(){return La(Sa)},useDebugValue:Ga,useDeferredValue:function(e){var t=Ia();return null===ma?t.memoizedState=e:Ja(t,ma.memoizedState,e)},useTransition:function(){return[La(Sa)[0],Ia().memoizedState]},useMutableSource:Pa,useSyncExternalStore:Na,useId:es,unstable_isNewReconciler:!1};function cs(e,t){try{var n="",r=t;do{n+=q(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function ds(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function fs(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ps="function"==typeof WeakMap?WeakMap:Map;function hs(e,t,n){(n=Ri(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){$l||($l=!0,zl=r),fs(0,t)},n}function _s(e,t,n){(n=Ri(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){fs(0,t)}}var i=e.stateNode;return null!==i&&"function"==typeof i.componentDidCatch&&(n.callback=function(){fs(0,t),"function"!=typeof r&&(null===Kl?Kl=new Set([this]):Kl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ps;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=wu.bind(null,e,t,n),t.then(e,e))}function vs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function gs(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Ri(-1,1)).tag=2,Di(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var bs=y.ReactCurrentOwner,ys=!1;function Es(e,t,n,r){t.child=null===e?Ji(t,null,n,r):Qi(t,e.child,n,r)}function xs(e,t,n,r,o){n=n.render;var i=t.ref;return Ai(t,o),r=Ca(e,t,n,r,i,o),n=Aa(),null===e||ys?(ii&&n&&ti(t),t.flags|=1,Es(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$s(e,t,o))}function Ts(e,t,n,r,o){if(null===e){var i=n.type;return"function"!=typeof i||ku(i)||void 0!==i.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Du(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=i,Cs(e,t,i,r,o))}if(i=e.child,0==(e.lanes&o)){var a=i.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(a,r)&&e.ref===t.ref)return $s(e,t,o)}return t.flags|=1,(e=Ru(i,r)).ref=t.ref,e.return=t,t.child=e}function Cs(e,t,n,r,o){if(null!==e){var i=e.memoizedProps;if(lr(i,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=i,0==(e.lanes&o))return t.lanes=e.lanes,$s(e,t,o);0!=(131072&e.flags)&&(ys=!0)}}return Is(e,t,n,r,o)}function As(e,t,n){var r=t.pendingProps,o=r.children,i=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Io(Rl,kl),kl|=n;else{if(0==(1073741824&n))return e=null!==i?i.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Io(Rl,kl),kl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==i?i.baseLanes:n,Io(Rl,kl),kl|=r}else null!==i?(r=i.baseLanes|n,t.memoizedState=null):r=n,Io(Rl,kl),kl|=r;return Es(e,t,o,n),t.child}function ws(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Is(e,t,n,r,o){var i=ko(n)?Po:Oo.current;return i=No(t,i),Ai(t,o),n=Ca(e,t,n,r,i,o),r=Aa(),null===e||ys?(ii&&r&&ti(t),t.flags|=1,Es(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,$s(e,t,o))}function Ss(e,t,n,r,o){if(ko(n)){var i=!0;jo(t)}else i=!1;if(Ai(t,o),null===t.stateNode)Ws(e,t),Wi(t,n,r),zi(t,n,r,o),r=!0;else if(null===e){var a=t.stateNode,s=t.memoizedProps;a.props=s;var l=a.context,u=n.contextType;"object"==typeof u&&null!==u?u=wi(u):u=No(t,u=ko(n)?Po:Oo.current);var c=n.getDerivedStateFromProps,d="function"==typeof c||"function"==typeof a.getSnapshotBeforeUpdate;d||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==r||l!==u)&&$i(t,a,r,u),Pi=!1;var f=t.memoizedState;a.state=f,Fi(t,r,a,o),l=t.memoizedState,s!==r||f!==l||Lo.current||Pi?("function"==typeof c&&(qi(t,n,c,r),l=t.memoizedState),(s=Pi||Hi(t,n,s,r,f,l,u))?(d||"function"!=typeof a.UNSAFE_componentWillMount&&"function"!=typeof a.componentWillMount||("function"==typeof a.componentWillMount&&a.componentWillMount(),"function"==typeof a.UNSAFE_componentWillMount&&a.UNSAFE_componentWillMount()),"function"==typeof a.componentDidMount&&(t.flags|=4194308)):("function"==typeof a.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),a.props=r,a.state=l,a.context=u,r=s):("function"==typeof a.componentDidMount&&(t.flags|=4194308),r=!1)}else{a=t.stateNode,ki(e,t),s=t.memoizedProps,u=t.type===t.elementType?s:vi(t.type,s),a.props=u,d=t.pendingProps,f=a.context,"object"==typeof(l=n.contextType)&&null!==l?l=wi(l):l=No(t,l=ko(n)?Po:Oo.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof a.getSnapshotBeforeUpdate)||"function"!=typeof a.UNSAFE_componentWillReceiveProps&&"function"!=typeof a.componentWillReceiveProps||(s!==d||f!==l)&&$i(t,a,r,l),Pi=!1,f=t.memoizedState,a.state=f,Fi(t,r,a,o);var h=t.memoizedState;s!==d||f!==h||Lo.current||Pi?("function"==typeof p&&(qi(t,n,p,r),h=t.memoizedState),(u=Pi||Hi(t,n,u,r,f,h,l)||!1)?(c||"function"!=typeof a.UNSAFE_componentWillUpdate&&"function"!=typeof a.componentWillUpdate||("function"==typeof a.componentWillUpdate&&a.componentWillUpdate(r,h,l),"function"==typeof a.UNSAFE_componentWillUpdate&&a.UNSAFE_componentWillUpdate(r,h,l)),"function"==typeof a.componentDidUpdate&&(t.flags|=4),"function"==typeof a.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=h),a.props=r,a.state=h,a.context=l,r=u):("function"!=typeof a.componentDidUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=4),"function"!=typeof a.getSnapshotBeforeUpdate||s===e.memoizedProps&&f===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,i,o)}function Os(e,t,n,r,o,i){ws(e,t);var a=0!=(128&t.flags);if(!r&&!a)return o&&Fo(t,n,!1),$s(e,t,i);r=t.stateNode,bs.current=t;var s=a&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&a?(t.child=Qi(t,e.child,null,i),t.child=Qi(t,null,s,i)):Es(e,t,s,i),t.memoizedState=r.state,o&&Fo(t,n,!0),t.child}function Ls(e){var t=e.stateNode;t.pendingContext?Do(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Do(0,t.context,!1),oa(e,t.containerInfo)}function Ps(e,t,n,r,o){return hi(),_i(o),t.flags|=256,Es(e,t,n,r),t.child}var Ns,ks,Rs,Ds,Ms={dehydrated:null,treeContext:null,retryLane:0};function js(e){return{baseLanes:e,cachePool:null,transitions:null}}function Fs(e,t,n){var r,o=t.pendingProps,a=la.current,s=!1,l=0!=(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&0!=(2&a)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(a|=1),Io(la,1&a),null===e)return ci(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(l=o.children,e=o.fallback,s?(o=t.mode,s=t.child,l={mode:"hidden",children:l},0==(1&o)&&null!==s?(s.childLanes=0,s.pendingProps=l):s=ju(l,o,0,null),e=Mu(e,o,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=js(n),t.memoizedState=Ms,e):Bs(t,l));if(null!==(a=e.memoizedState)&&null!==(r=a.dehydrated))return function(e,t,n,r,o,a,s){if(n)return 256&t.flags?(t.flags&=-257,Us(e,t,s,r=ds(Error(i(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(a=r.fallback,o=t.mode,r=ju({mode:"visible",children:r.children},o,0,null),(a=Mu(a,o,s,null)).flags|=2,r.return=t,a.return=t,r.sibling=a,t.child=r,0!=(1&t.mode)&&Qi(t,e.child,null,s),t.child.memoizedState=js(s),t.memoizedState=Ms,a);if(0==(1&t.mode))return Us(e,t,s,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var l=r.dgst;return r=l,Us(e,t,s,r=ds(a=Error(i(419)),r,void 0))}if(l=0!=(s&e.childLanes),ys||l){if(null!==(r=Ll)){switch(s&-s){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|s))?0:o)&&o!==a.retryLane&&(a.retryLane=o,Li(e,o),ru(r,e,o,-1))}return mu(),Us(e,t,s,r=ds(Error(i(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Su.bind(null,e),o._reactRetry=t,null):(e=a.treeContext,oi=uo(o.nextSibling),ri=t,ii=!0,ai=null,null!==e&&(Xo[Go++]=Qo,Xo[Go++]=Jo,Xo[Go++]=Yo,Qo=e.id,Jo=e.overflow,Yo=t),t=Bs(t,r.children),t.flags|=4096,t)}(e,t,l,o,r,a,n);if(s){s=o.fallback,l=t.mode,r=(a=e.child).sibling;var u={mode:"hidden",children:o.children};return 0==(1&l)&&t.child!==a?((o=t.child).childLanes=0,o.pendingProps=u,t.deletions=null):(o=Ru(a,u)).subtreeFlags=14680064&a.subtreeFlags,null!==r?s=Ru(r,s):(s=Mu(s,l,n,null)).flags|=2,s.return=t,o.return=t,o.sibling=s,t.child=o,o=s,s=t.child,l=null===(l=e.child.memoizedState)?js(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Ms,o}return e=(s=e.child).sibling,o=Ru(s,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function Bs(e,t){return(t=ju({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Us(e,t,n,r){return null!==r&&_i(r),Qi(t,e.child,null,n),(e=Bs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function qs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Ci(e.return,t,n)}function Vs(e,t,n,r,o){var i=e.memoizedState;null===i?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=r,i.tail=n,i.tailMode=o)}function Hs(e,t,n){var r=t.pendingProps,o=r.revealOrder,i=r.tail;if(Es(e,t,r.children,n),0!=(2&(r=la.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&qs(e,n,t);else if(19===e.tag)qs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Io(la,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ua(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Vs(t,!1,o,n,i);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ua(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Vs(t,!0,n,null,i);break;case"together":Vs(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Ws(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function $s(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),jl|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(i(153));if(null!==t.child){for(n=Ru(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ru(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function zs(e,t){if(!ii)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Ks(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Xs(e,t,n){var r=t.pendingProps;switch(ni(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ks(t),null;case 1:case 17:return ko(t.type)&&Ro(),Ks(t),null;case 3:return r=t.stateNode,ia(),wo(Lo),wo(Oo),da(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(fi(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==ai&&(su(ai),ai=null))),ks(e,t),Ks(t),null;case 5:sa(t);var o=ra(na.current);if(n=t.type,null!==e&&null!=t.stateNode)Rs(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(i(166));return Ks(t),null}if(e=ra(ea.current),fi(t)){r=t.stateNode,n=t.type;var a=t.memoizedProps;switch(r[po]=t,r[ho]=a,e=0!=(1&t.mode),n){case"dialog":Br("cancel",r),Br("close",r);break;case"iframe":case"object":case"embed":Br("load",r);break;case"video":case"audio":for(o=0;o<Dr.length;o++)Br(Dr[o],r);break;case"source":Br("error",r);break;case"img":case"image":case"link":Br("error",r),Br("load",r);break;case"details":Br("toggle",r);break;case"input":Y(r,a),Br("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!a.multiple},Br("invalid",r);break;case"textarea":oe(r,a),Br("invalid",r)}for(var l in ge(n,a),o=null,a)if(a.hasOwnProperty(l)){var u=a[l];"children"===l?"string"==typeof u?r.textContent!==u&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,u,e),o=["children",u]):"number"==typeof u&&r.textContent!==""+u&&(!0!==a.suppressHydrationWarning&&Jr(r.textContent,u,e),o=["children",""+u]):s.hasOwnProperty(l)&&null!=u&&"onScroll"===l&&Br("scroll",r)}switch(n){case"input":z(r),Z(r,a,!0);break;case"textarea":z(r),ae(r);break;case"select":case"option":break;default:"function"==typeof a.onClick&&(r.onclick=Zr)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[po]=t,e[ho]=r,Ns(e,t,!1,!1),t.stateNode=e;e:{switch(l=be(n,r),n){case"dialog":Br("cancel",e),Br("close",e),o=r;break;case"iframe":case"object":case"embed":Br("load",e),o=r;break;case"video":case"audio":for(o=0;o<Dr.length;o++)Br(Dr[o],e);o=r;break;case"source":Br("error",e),o=r;break;case"img":case"image":case"link":Br("error",e),Br("load",e),o=r;break;case"details":Br("toggle",e),o=r;break;case"input":Y(e,r),o=G(e,r),Br("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=j({},r,{value:void 0}),Br("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),Br("invalid",e)}for(a in ge(n,o),u=o)if(u.hasOwnProperty(a)){var c=u[a];"style"===a?me(e,c):"dangerouslySetInnerHTML"===a?null!=(c=c?c.__html:void 0)&&de(e,c):"children"===a?"string"==typeof c?("textarea"!==n||""!==c)&&fe(e,c):"number"==typeof c&&fe(e,""+c):"suppressContentEditableWarning"!==a&&"suppressHydrationWarning"!==a&&"autoFocus"!==a&&(s.hasOwnProperty(a)?null!=c&&"onScroll"===a&&Br("scroll",e):null!=c&&b(e,a,c,l))}switch(n){case"input":z(e),Z(e,r,!1);break;case"textarea":z(e),ae(e);break;case"option":null!=r.value&&e.setAttribute("value",""+W(r.value));break;case"select":e.multiple=!!r.multiple,null!=(a=r.value)?ne(e,!!r.multiple,a,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=Zr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Ks(t),null;case 6:if(e&&null!=t.stateNode)Ds(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(i(166));if(n=ra(na.current),ra(ea.current),fi(t)){if(r=t.stateNode,n=t.memoizedProps,r[po]=t,(a=r.nodeValue!==n)&&null!==(e=ri))switch(e.tag){case 3:Jr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&e.mode))}a&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[po]=t,t.stateNode=r}return Ks(t),null;case 13:if(wo(la),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ii&&null!==oi&&0!=(1&t.mode)&&0==(128&t.flags))pi(),hi(),t.flags|=98560,a=!1;else if(a=fi(t),null!==r&&null!==r.dehydrated){if(null===e){if(!a)throw Error(i(318));if(!(a=null!==(a=t.memoizedState)?a.dehydrated:null))throw Error(i(317));a[po]=t}else hi(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Ks(t),a=!1}else null!==ai&&(su(ai),ai=null),a=!0;if(!a)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!==(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&la.current)?0===Dl&&(Dl=3):mu())),null!==t.updateQueue&&(t.flags|=4),Ks(t),null);case 4:return ia(),ks(e,t),null===e&&Vr(t.stateNode.containerInfo),Ks(t),null;case 10:return Ti(t.type._context),Ks(t),null;case 19:if(wo(la),null===(a=t.memoizedState))return Ks(t),null;if(r=0!=(128&t.flags),null===(l=a.rendering))if(r)zs(a,!1);else{if(0!==Dl||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(l=ua(e))){for(t.flags|=128,zs(a,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(a=n).flags&=14680066,null===(l=a.alternate)?(a.childLanes=0,a.lanes=e,a.child=null,a.subtreeFlags=0,a.memoizedProps=null,a.memoizedState=null,a.updateQueue=null,a.dependencies=null,a.stateNode=null):(a.childLanes=l.childLanes,a.lanes=l.lanes,a.child=l.child,a.subtreeFlags=0,a.deletions=null,a.memoizedProps=l.memoizedProps,a.memoizedState=l.memoizedState,a.updateQueue=l.updateQueue,a.type=l.type,e=l.dependencies,a.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Io(la,1&la.current|2),t.child}e=e.sibling}null!==a.tail&&Qe()>Hl&&(t.flags|=128,r=!0,zs(a,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ua(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),zs(a,!0),null===a.tail&&"hidden"===a.tailMode&&!l.alternate&&!ii)return Ks(t),null}else 2*Qe()-a.renderingStartTime>Hl&&1073741824!==n&&(t.flags|=128,r=!0,zs(a,!1),t.lanes=4194304);a.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=a.last)?n.sibling=l:t.child=l,a.last=l)}return null!==a.tail?(t=a.tail,a.rendering=t,a.tail=t.sibling,a.renderingStartTime=Qe(),t.sibling=null,n=la.current,Io(la,r?1&n|2:1&n),t):(Ks(t),null);case 22:case 23:return fu(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&kl)&&(Ks(t),6&t.subtreeFlags&&(t.flags|=8192)):Ks(t),null;case 24:case 25:return null}throw Error(i(156,t.tag))}function Gs(e,t){switch(ni(t),t.tag){case 1:return ko(t.type)&&Ro(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ia(),wo(Lo),wo(Oo),da(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return sa(t),null;case 13:if(wo(la),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(i(340));hi()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return wo(la),null;case 4:return ia(),null;case 10:return Ti(t.type._context),null;case 22:case 23:return fu(),null;default:return null}}Ns=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},ks=function(){},Rs=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,ra(ea.current);var i,a=null;switch(n){case"input":o=G(e,o),r=G(e,r),a=[];break;case"select":o=j({},o,{value:void 0}),r=j({},r,{value:void 0}),a=[];break;case"textarea":o=re(e,o),r=re(e,r),a=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=Zr)}for(c in ge(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var l=o[c];for(i in l)l.hasOwnProperty(i)&&(n||(n={}),n[i]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(s.hasOwnProperty(c)?a||(a=[]):(a=a||[]).push(c,null));for(c in r){var u=r[c];if(l=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&u!==l&&(null!=u||null!=l))if("style"===c)if(l){for(i in l)!l.hasOwnProperty(i)||u&&u.hasOwnProperty(i)||(n||(n={}),n[i]="");for(i in u)u.hasOwnProperty(i)&&l[i]!==u[i]&&(n||(n={}),n[i]=u[i])}else n||(a||(a=[]),a.push(c,n)),n=u;else"dangerouslySetInnerHTML"===c?(u=u?u.__html:void 0,l=l?l.__html:void 0,null!=u&&l!==u&&(a=a||[]).push(c,u)):"children"===c?"string"!=typeof u&&"number"!=typeof u||(a=a||[]).push(c,""+u):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(s.hasOwnProperty(c)?(null!=u&&"onScroll"===c&&Br("scroll",e),a||l===u||(a=[])):(a=a||[]).push(c,u))}n&&(a=a||[]).push("style",n);var c=a;(t.updateQueue=c)&&(t.flags|=4)}},Ds=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Qs=!1,Js="function"==typeof WeakSet?WeakSet:Set,Zs=null;function el(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Au(e,t,n)}else n.current=null}function tl(e,t,n){try{n()}catch(n){Au(e,t,n)}}var nl=!1;function rl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var i=o.destroy;o.destroy=void 0,void 0!==i&&tl(t,n,i)}o=o.next}while(o!==r)}}function ol(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&(null!==(t=e.stateNode)&&(delete t[po],delete t[ho],delete t[mo],delete t[vo],delete t[go])),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function sl(e){return 5===e.tag||3===e.tag||4===e.tag}function ll(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||sl(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ul(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Zr));else if(4!==r&&null!==(e=e.child))for(ul(e,t,n),e=e.sibling;null!==e;)ul(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var dl=null,fl=!1;function pl(e,t,n){for(n=n.child;null!==n;)hl(e,t,n),n=n.sibling}function hl(e,t,n){if(it&&"function"==typeof it.onCommitFiberUnmount)try{it.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Qs||el(n,t);case 6:var r=dl,o=fl;dl=null,pl(e,t,n),fl=o,null!==(dl=r)&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):dl.removeChild(n.stateNode));break;case 18:null!==dl&&(fl?(e=dl,n=n.stateNode,8===e.nodeType?lo(e.parentNode,n):1===e.nodeType&&lo(e,n),Vt(e)):lo(dl,n.stateNode));break;case 4:r=dl,o=fl,dl=n.stateNode.containerInfo,fl=!0,pl(e,t,n),dl=r,fl=o;break;case 0:case 11:case 14:case 15:if(!Qs&&(null!==(r=n.updateQueue)&&null!==(r=r.lastEffect))){o=r=r.next;do{var i=o,a=i.destroy;i=i.tag,void 0!==a&&(0!=(2&i)||0!=(4&i))&&tl(n,t,a),o=o.next}while(o!==r)}pl(e,t,n);break;case 1:if(!Qs&&(el(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Au(n,t,e)}pl(e,t,n);break;case 21:pl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,pl(e,t,n),Qs=r):pl(e,t,n);break;default:pl(e,t,n)}}function _l(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Js),t.forEach((function(t){var r=Ou.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var a=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:dl=l.stateNode,fl=!1;break e;case 3:case 4:dl=l.stateNode.containerInfo,fl=!0;break e}l=l.return}if(null===dl)throw Error(i(160));hl(a,s,o),dl=null,fl=!1;var u=o.alternate;null!==u&&(u.return=null),o.return=null}catch(e){Au(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)vl(t,e),t=t.sibling}function vl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),gl(e),4&r){try{rl(3,e,e.return),ol(3,e)}catch(t){Au(e,e.return,t)}try{rl(5,e,e.return)}catch(t){Au(e,e.return,t)}}break;case 1:ml(t,e),gl(e),512&r&&null!==n&&el(n,n.return);break;case 5:if(ml(t,e),gl(e),512&r&&null!==n&&el(n,n.return),32&e.flags){var o=e.stateNode;try{fe(o,"")}catch(t){Au(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var a=e.memoizedProps,s=null!==n?n.memoizedProps:a,l=e.type,u=e.updateQueue;if(e.updateQueue=null,null!==u)try{"input"===l&&"radio"===a.type&&null!=a.name&&Q(o,a),be(l,s);var c=be(l,a);for(s=0;s<u.length;s+=2){var d=u[s],f=u[s+1];"style"===d?me(o,f):"dangerouslySetInnerHTML"===d?de(o,f):"children"===d?fe(o,f):b(o,d,f,c)}switch(l){case"input":J(o,a);break;case"textarea":ie(o,a);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!a.multiple;var h=a.value;null!=h?ne(o,!!a.multiple,h,!1):p!==!!a.multiple&&(null!=a.defaultValue?ne(o,!!a.multiple,a.defaultValue,!0):ne(o,!!a.multiple,a.multiple?[]:"",!1))}o[ho]=a}catch(t){Au(e,e.return,t)}}break;case 6:if(ml(t,e),gl(e),4&r){if(null===e.stateNode)throw Error(i(162));o=e.stateNode,a=e.memoizedProps;try{o.nodeValue=a}catch(t){Au(e,e.return,t)}}break;case 3:if(ml(t,e),gl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Au(e,e.return,t)}break;case 4:default:ml(t,e),gl(e);break;case 13:ml(t,e),gl(e),8192&(o=e.child).flags&&(a=null!==o.memoizedState,o.stateNode.isHidden=a,!a||null!==o.alternate&&null!==o.alternate.memoizedState||(Vl=Qe())),4&r&&_l(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(c=Qs)||d,ml(t,e),Qs=c):ml(t,e),gl(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!d&&0!=(1&e.mode))for(Zs=e,d=e.child;null!==d;){for(f=Zs=d;null!==Zs;){switch(h=(p=Zs).child,p.tag){case 0:case 11:case 14:case 15:rl(4,p,p.return);break;case 1:el(p,p.return);var _=p.stateNode;if("function"==typeof _.componentWillUnmount){r=p,n=p.return;try{t=r,_.props=t.memoizedProps,_.state=t.memoizedState,_.componentWillUnmount()}catch(e){Au(r,n,e)}}break;case 5:el(p,p.return);break;case 22:if(null!==p.memoizedState){xl(f);continue}}null!==h?(h.return=p,Zs=h):xl(f)}d=d.sibling}e:for(d=null,f=e;;){if(5===f.tag){if(null===d){d=f;try{o=f.stateNode,c?"function"==typeof(a=o.style).setProperty?a.setProperty("display","none","important"):a.display="none":(l=f.stateNode,s=null!=(u=f.memoizedProps.style)&&u.hasOwnProperty("display")?u.display:null,l.style.display=_e("display",s))}catch(t){Au(e,e.return,t)}}}else if(6===f.tag){if(null===d)try{f.stateNode.nodeValue=c?"":f.memoizedProps}catch(t){Au(e,e.return,t)}}else if((22!==f.tag&&23!==f.tag||null===f.memoizedState||f===e)&&null!==f.child){f.child.return=f,f=f.child;continue}if(f===e)break e;for(;null===f.sibling;){if(null===f.return||f.return===e)break e;d===f&&(d=null),f=f.return}d===f&&(d=null),f.sibling.return=f.return,f=f.sibling}}break;case 19:ml(t,e),gl(e),4&r&&_l(e);case 21:}}function gl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(sl(n)){var r=n;break e}n=n.return}throw Error(i(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(fe(o,""),r.flags&=-33),cl(e,ll(e),o);break;case 3:case 4:var a=r.stateNode.containerInfo;ul(e,ll(e),a);break;default:throw Error(i(161))}}catch(t){Au(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Zs=e,yl(e,t,n)}function yl(e,t,n){for(var r=0!=(1&e.mode);null!==Zs;){var o=Zs,i=o.child;if(22===o.tag&&r){var a=null!==o.memoizedState||Ys;if(!a){var s=o.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ys;var u=Qs;if(Ys=a,(Qs=l)&&!u)for(Zs=o;null!==Zs;)l=(a=Zs).child,22===a.tag&&null!==a.memoizedState?Tl(o):null!==l?(l.return=a,Zs=l):Tl(o);for(;null!==i;)Zs=i,yl(i,t,n),i=i.sibling;Zs=o,Ys=s,Qs=u}El(e)}else 0!=(8772&o.subtreeFlags)&&null!==i?(i.return=o,Zs=i):El(e)}}function El(e){for(;null!==Zs;){var t=Zs;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Qs||ol(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:vi(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var a=t.updateQueue;null!==a&&Bi(t,a,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Bi(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var u=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":u.autoFocus&&n.focus();break;case"img":u.src&&(n.src=u.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var d=c.memoizedState;if(null!==d){var f=d.dehydrated;null!==f&&Vt(f)}}}break;default:throw Error(i(163))}Qs||512&t.flags&&il(t)}catch(e){Au(t,t.return,e)}}if(t===e){Zs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Zs=n;break}Zs=t.return}}function xl(e){for(;null!==Zs;){var t=Zs;if(t===e){Zs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Zs=n;break}Zs=t.return}}function Tl(e){for(;null!==Zs;){var t=Zs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{ol(4,t)}catch(e){Au(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Au(t,o,e)}}var i=t.return;try{il(t)}catch(e){Au(t,i,e)}break;case 5:var a=t.return;try{il(t)}catch(e){Au(t,a,e)}}}catch(e){Au(t,t.return,e)}if(t===e){Zs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Zs=s;break}Zs=t.return}}var Cl,Al=Math.ceil,wl=y.ReactCurrentDispatcher,Il=y.ReactCurrentOwner,Sl=y.ReactCurrentBatchConfig,Ol=0,Ll=null,Pl=null,Nl=0,kl=0,Rl=Ao(0),Dl=0,Ml=null,jl=0,Fl=0,Bl=0,Ul=null,ql=null,Vl=0,Hl=1/0,Wl=null,$l=!1,zl=null,Kl=null,Xl=!1,Gl=null,Yl=0,Ql=0,Jl=null,Zl=-1,eu=0;function tu(){return 0!=(6&Ol)?Qe():-1!==Zl?Zl:Zl=Qe()}function nu(e){return 0==(1&e.mode)?1:0!=(2&Ol)&&0!==Nl?Nl&-Nl:null!==mi.transition?(0===eu&&(eu=_t()),eu):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Yt(e.type)}function ru(e,t,n,r){if(50<Ql)throw Ql=0,Jl=null,Error(i(185));vt(e,n,r),0!=(2&Ol)&&e===Ll||(e===Ll&&(0==(2&Ol)&&(Fl|=n),4===Dl&&lu(e,Nl)),ou(e,r),1===n&&0===Ol&&0==(1&t.mode)&&(Hl=Qe()+500,Uo&&Ho()))}function ou(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,i=e.pendingLanes;0<i;){var a=31-at(i),s=1<<a,l=o[a];-1===l?0!=(s&n)&&0==(s&r)||(o[a]=pt(s,t)):l<=t&&(e.expiredLanes|=s),i&=~s}}(e,t);var r=ft(e,e===Ll?Nl:0);if(0===r)null!==n&&Xe(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Xe(n),1===t)0===e.tag?function(e){Uo=!0,Vo(e)}(uu.bind(null,e)):Vo(uu.bind(null,e)),ao((function(){0==(6&Ol)&&Ho()})),n=null;else{switch(yt(r)){case 1:n=Ze;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Lu(n,iu.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function iu(e,t){if(Zl=-1,eu=0,0!=(6&Ol))throw Error(i(327));var n=e.callbackNode;if(Tu()&&e.callbackNode!==n)return null;var r=ft(e,e===Ll?Nl:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=vu(e,r);else{t=r;var o=Ol;Ol|=2;var a=_u();for(Ll===e&&Nl===t||(Wl=null,Hl=Qe()+500,pu(e,t));;)try{bu();break}catch(t){hu(e,t)}xi(),wl.current=a,Ol=o,null!==Pl?t=0:(Ll=null,Nl=0,t=Dl)}if(0!==t){if(2===t&&(0!==(o=ht(e))&&(r=o,t=au(e,o))),1===t)throw n=Ml,pu(e,0),lu(e,r),ou(e,Qe()),n;if(6===t)lu(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],i=o.getSnapshot;o=o.value;try{if(!sr(i(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=vu(e,r))&&(0!==(a=ht(e))&&(r=a,t=au(e,a))),1===t))throw n=Ml,pu(e,0),lu(e,r),ou(e,Qe()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(i(345));case 2:case 5:xu(e,ql,Wl);break;case 3:if(lu(e,r),(130023424&r)===r&&10<(t=Vl+500-Qe())){if(0!==ft(e,0))break;if(((o=e.suspendedLanes)&r)!==r){tu(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=ro(xu.bind(null,e,ql,Wl),t);break}xu(e,ql,Wl);break;case 4:if(lu(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var s=31-at(r);a=1<<s,(s=t[s])>o&&(o=s),r&=~a}if(r=o,10<(r=(120>(r=Qe()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Al(r/1960))-r)){e.timeoutHandle=ro(xu.bind(null,e,ql,Wl),r);break}xu(e,ql,Wl);break;default:throw Error(i(329))}}}return ou(e,Qe()),e.callbackNode===n?iu.bind(null,e):null}function au(e,t){var n=Ul;return e.current.memoizedState.isDehydrated&&(pu(e,t).flags|=256),2!==(e=vu(e,t))&&(t=ql,ql=n,null!==t&&su(t)),e}function su(e){null===ql?ql=e:ql.push.apply(ql,e)}function lu(e,t){for(t&=~Bl,t&=~Fl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-at(t),r=1<<n;e[n]=-1,t&=~r}}function uu(e){if(0!=(6&Ol))throw Error(i(327));Tu();var t=ft(e,0);if(0==(1&t))return ou(e,Qe()),null;var n=vu(e,t);if(0!==e.tag&&2===n){var r=ht(e);0!==r&&(t=r,n=au(e,r))}if(1===n)throw n=Ml,pu(e,0),lu(e,t),ou(e,Qe()),n;if(6===n)throw Error(i(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,xu(e,ql,Wl),ou(e,Qe()),null}function cu(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Hl=Qe()+500,Uo&&Ho())}}function du(e){null!==Gl&&0===Gl.tag&&0==(6&Ol)&&Tu();var t=Ol;Ol|=1;var n=Sl.transition,r=bt;try{if(Sl.transition=null,bt=1,e)return e()}finally{bt=r,Sl.transition=n,0==(6&(Ol=t))&&Ho()}}function fu(){kl=Rl.current,wo(Rl)}function pu(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,oo(n)),null!==Pl)for(n=Pl.return;null!==n;){var r=n;switch(ni(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ro();break;case 3:ia(),wo(Lo),wo(Oo),da();break;case 5:sa(r);break;case 4:ia();break;case 13:case 19:wo(la);break;case 10:Ti(r.type._context);break;case 22:case 23:fu()}n=n.return}if(Ll=e,Pl=e=Ru(e.current,null),Nl=kl=t,Dl=0,Ml=null,Bl=Fl=jl=0,ql=Ul=null,null!==Ii){for(t=0;t<Ii.length;t++)if(null!==(r=(n=Ii[t]).interleaved)){n.interleaved=null;var o=r.next,i=n.pending;if(null!==i){var a=i.next;i.next=o,r.next=a}n.pending=r}Ii=null}return e}function hu(e,t){for(;;){var n=Pl;try{if(xi(),fa.current=as,ga){for(var r=_a.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}ga=!1}if(ha=0,va=ma=_a=null,ba=!1,ya=0,Il.current=null,null===n||null===n.return){Dl=1,Ml=t,Pl=null;break}e:{var a=e,s=n.return,l=n,u=t;if(t=Nl,l.flags|=32768,null!==u&&"object"==typeof u&&"function"==typeof u.then){var c=u,d=l,f=d.tag;if(0==(1&d.mode)&&(0===f||11===f||15===f)){var p=d.alternate;p?(d.updateQueue=p.updateQueue,d.memoizedState=p.memoizedState,d.lanes=p.lanes):(d.updateQueue=null,d.memoizedState=null)}var h=vs(s);if(null!==h){h.flags&=-257,gs(h,s,l,0,t),1&h.mode&&ms(a,c,t),u=c;var _=(t=h).updateQueue;if(null===_){var m=new Set;m.add(u),t.updateQueue=m}else _.add(u);break e}if(0==(1&t)){ms(a,c,t),mu();break e}u=Error(i(426))}else if(ii&&1&l.mode){var v=vs(s);if(null!==v){0==(65536&v.flags)&&(v.flags|=256),gs(v,s,l,0,t),_i(cs(u,l));break e}}a=u=cs(u,l),4!==Dl&&(Dl=2),null===Ul?Ul=[a]:Ul.push(a),a=s;do{switch(a.tag){case 3:a.flags|=65536,t&=-t,a.lanes|=t,ji(a,hs(0,u,t));break e;case 1:l=u;var g=a.type,b=a.stateNode;if(0==(128&a.flags)&&("function"==typeof g.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Kl||!Kl.has(b)))){a.flags|=65536,t&=-t,a.lanes|=t,ji(a,_s(a,l,t));break e}}a=a.return}while(null!==a)}Eu(n)}catch(e){t=e,Pl===n&&null!==n&&(Pl=n=n.return);continue}break}}function _u(){var e=wl.current;return wl.current=as,null===e?as:e}function mu(){0!==Dl&&3!==Dl&&2!==Dl||(Dl=4),null===Ll||0==(268435455&jl)&&0==(268435455&Fl)||lu(Ll,Nl)}function vu(e,t){var n=Ol;Ol|=2;var r=_u();for(Ll===e&&Nl===t||(Wl=null,pu(e,t));;)try{gu();break}catch(t){hu(e,t)}if(xi(),Ol=n,wl.current=r,null!==Pl)throw Error(i(261));return Ll=null,Nl=0,Dl}function gu(){for(;null!==Pl;)yu(Pl)}function bu(){for(;null!==Pl&&!Ge();)yu(Pl)}function yu(e){var t=Cl(e.alternate,e,kl);e.memoizedProps=e.pendingProps,null===t?Eu(e):Pl=t,Il.current=null}function Eu(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Xs(n,t,kl)))return void(Pl=n)}else{if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Pl=n);if(null===e)return Dl=6,void(Pl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Pl=t);Pl=t=e}while(null!==t);0===Dl&&(Dl=5)}function xu(e,t,n){var r=bt,o=Sl.transition;try{Sl.transition=null,bt=1,function(e,t,n,r){do{Tu()}while(null!==Gl);if(0!=(6&Ol))throw Error(i(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(i(177));e.callbackNode=null,e.callbackPriority=0;var a=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-at(n),i=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~i}}(e,a),e===Ll&&(Pl=Ll=null,Nl=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Xl||(Xl=!0,Lu(tt,(function(){return Tu(),null}))),a=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||a){a=Sl.transition,Sl.transition=null;var s=bt;bt=1;var l=Ol;Ol|=4,Il.current=null,function(e,t){if(eo=Wt,pr(e=fr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,a=r.focusNode;r=r.focusOffset;try{n.nodeType,a.nodeType}catch(e){n=null;break e}var s=0,l=-1,u=-1,c=0,d=0,f=e,p=null;t:for(;;){for(var h;f!==n||0!==o&&3!==f.nodeType||(l=s+o),f!==a||0!==r&&3!==f.nodeType||(u=s+r),3===f.nodeType&&(s+=f.nodeValue.length),null!==(h=f.firstChild);)p=f,f=h;for(;;){if(f===e)break t;if(p===n&&++c===o&&(l=s),p===a&&++d===r&&(u=s),null!==(h=f.nextSibling))break;p=(f=p).parentNode}f=h}n=-1===l||-1===u?null:{start:l,end:u}}else n=null}n=n||{start:0,end:0}}else n=null;for(to={focusedElem:e,selectionRange:n},Wt=!1,Zs=t;null!==Zs;)if(e=(t=Zs).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,Zs=e;else for(;null!==Zs;){t=Zs;try{var _=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==_){var m=_.memoizedProps,v=_.memoizedState,g=t.stateNode,b=g.getSnapshotBeforeUpdate(t.elementType===t.type?m:vi(t.type,m),v);g.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var y=t.stateNode.containerInfo;1===y.nodeType?y.textContent="":9===y.nodeType&&y.documentElement&&y.removeChild(y.documentElement);break;default:throw Error(i(163))}}catch(e){Au(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Zs=e;break}Zs=t.return}_=nl,nl=!1}(e,n),vl(n,e),hr(to),Wt=!!eo,to=eo=null,e.current=n,bl(n,e,o),Ye(),Ol=l,bt=s,Sl.transition=a}else e.current=n;if(Xl&&(Xl=!1,Gl=e,Yl=o),a=e.pendingLanes,0===a&&(Kl=null),function(e){if(it&&"function"==typeof it.onCommitFiberRoot)try{it.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),ou(e,Qe()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)o=t[n],r(o.value,{componentStack:o.stack,digest:o.digest});if($l)throw $l=!1,e=zl,zl=null,e;0!=(1&Yl)&&0!==e.tag&&Tu(),a=e.pendingLanes,0!=(1&a)?e===Jl?Ql++:(Ql=0,Jl=e):Ql=0,Ho()}(e,t,n,r)}finally{Sl.transition=o,bt=r}return null}function Tu(){if(null!==Gl){var e=yt(Yl),t=Sl.transition,n=bt;try{if(Sl.transition=null,bt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Yl=0,0!=(6&Ol))throw Error(i(331));var o=Ol;for(Ol|=4,Zs=e.current;null!==Zs;){var a=Zs,s=a.child;if(0!=(16&Zs.flags)){var l=a.deletions;if(null!==l){for(var u=0;u<l.length;u++){var c=l[u];for(Zs=c;null!==Zs;){var d=Zs;switch(d.tag){case 0:case 11:case 15:rl(8,d,a)}var f=d.child;if(null!==f)f.return=d,Zs=f;else for(;null!==Zs;){var p=(d=Zs).sibling,h=d.return;if(al(d),d===c){Zs=null;break}if(null!==p){p.return=h,Zs=p;break}Zs=h}}}var _=a.alternate;if(null!==_){var m=_.child;if(null!==m){_.child=null;do{var v=m.sibling;m.sibling=null,m=v}while(null!==m)}}Zs=a}}if(0!=(2064&a.subtreeFlags)&&null!==s)s.return=a,Zs=s;else e:for(;null!==Zs;){if(0!=(2048&(a=Zs).flags))switch(a.tag){case 0:case 11:case 15:rl(9,a,a.return)}var g=a.sibling;if(null!==g){g.return=a.return,Zs=g;break e}Zs=a.return}}var b=e.current;for(Zs=b;null!==Zs;){var y=(s=Zs).child;if(0!=(2064&s.subtreeFlags)&&null!==y)y.return=s,Zs=y;else e:for(s=b;null!==Zs;){if(0!=(2048&(l=Zs).flags))try{switch(l.tag){case 0:case 11:case 15:ol(9,l)}}catch(e){Au(l,l.return,e)}if(l===s){Zs=null;break e}var E=l.sibling;if(null!==E){E.return=l.return,Zs=E;break e}Zs=l.return}}if(Ol=o,Ho(),it&&"function"==typeof it.onPostCommitFiberRoot)try{it.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Sl.transition=t}}return!1}function Cu(e,t,n){e=Di(e,t=hs(0,t=cs(n,t),1),1),t=tu(),null!==e&&(vt(e,1,t),ou(e,t))}function Au(e,t,n){if(3===e.tag)Cu(e,e,n);else for(;null!==t;){if(3===t.tag){Cu(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Kl||!Kl.has(r))){t=Di(t,e=_s(t,e=cs(n,e),1),1),e=tu(),null!==t&&(vt(t,1,e),ou(t,e));break}}t=t.return}}function wu(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=tu(),e.pingedLanes|=e.suspendedLanes&n,Ll===e&&(Nl&n)===n&&(4===Dl||3===Dl&&(130023424&Nl)===Nl&&500>Qe()-Vl?pu(e,0):Bl|=n),ou(e,t)}function Iu(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=tu();null!==(e=Li(e,t))&&(vt(e,t,n),ou(e,n))}function Su(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Iu(e,n)}function Ou(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(i(314))}null!==r&&r.delete(t),Iu(e,n)}function Lu(e,t){return Ke(e,t)}function Pu(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Nu(e,t,n,r){return new Pu(e,t,n,r)}function ku(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ru(e,t){var n=e.alternate;return null===n?((n=Nu(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Du(e,t,n,r,o,a){var s=2;if(r=e,"function"==typeof e)ku(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case T:return Mu(n.children,o,a,t);case C:s=8,o|=8;break;case A:return(e=Nu(12,n,t,2|o)).elementType=A,e.lanes=a,e;case O:return(e=Nu(13,n,t,o)).elementType=O,e.lanes=a,e;case L:return(e=Nu(19,n,t,o)).elementType=L,e.lanes=a,e;case k:return ju(n,o,a,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case w:s=10;break e;case I:s=9;break e;case S:s=11;break e;case P:s=14;break e;case N:s=16,r=null;break e}throw Error(i(130,null==e?e:typeof e,""))}return(t=Nu(s,n,t,o)).elementType=e,t.type=r,t.lanes=a,t}function Mu(e,t,n,r){return(e=Nu(7,e,r,t)).lanes=n,e}function ju(e,t,n,r){return(e=Nu(22,e,r,t)).elementType=k,e.lanes=n,e.stateNode={isHidden:!1},e}function Fu(e,t,n){return(e=Nu(6,e,null,t)).lanes=n,e}function Bu(e,t,n){return(t=Nu(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Uu(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=mt(0),this.expirationTimes=mt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=mt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function qu(e,t,n,r,o,i,a,s,l){return e=new Uu(e,t,n,s,l),1===t?(t=1,!0===i&&(t|=8)):t=0,i=Nu(3,null,null,t),e.current=i,i.stateNode=e,i.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Ni(i),e}function Vu(e){if(!e)return So;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(i(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(ko(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(i(171))}if(1===e.tag){var n=e.type;if(ko(n))return Mo(e,n,t)}return t}function Hu(e,t,n,r,o,i,a,s,l){return(e=qu(n,r,!0,e,0,i,0,s,l)).context=Vu(null),n=e.current,(i=Ri(r=tu(),o=nu(n))).callback=null!=t?t:null,Di(n,i,o),e.current.lanes=o,vt(e,o,r),ou(e,r),e}function Wu(e,t,n,r){var o=t.current,i=tu(),a=nu(o);return n=Vu(n),null===t.context?t.context=n:t.pendingContext=n,(t=Ri(i,a)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Di(o,t,a))&&(ru(e,o,a,i),Mi(e,o,a)),a}function $u(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function zu(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ku(e,t){zu(e,t),(e=e.alternate)&&zu(e,t)}Cl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Lo.current)ys=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:Ls(t),hi();break;case 5:aa(t);break;case 1:ko(t.type)&&jo(t);break;case 4:oa(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Io(gi,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Io(la,1&la.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Fs(e,t,n):(Io(la,1&la.current),null!==(e=$s(e,t,n))?e.sibling:null);Io(la,1&la.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Hs(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Io(la,la.current),r)break;return null;case 22:case 23:return t.lanes=0,As(e,t,n)}return $s(e,t,n)}(e,t,n);ys=0!=(131072&e.flags)}else ys=!1,ii&&0!=(1048576&t.flags)&&ei(t,Ko,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Ws(e,t),e=t.pendingProps;var o=No(t,Oo.current);Ai(t,n),o=Ca(null,t,r,e,o,n);var a=Aa();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,ko(r)?(a=!0,jo(t)):a=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Ni(t),o.updater=Vi,t.stateNode=o,o._reactInternals=t,zi(t,r,e,n),t=Os(null,t,r,!0,a,n)):(t.tag=0,ii&&a&&ti(t),Es(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Ws(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return ku(e)?1:0;if(null!=e){if((e=e.$$typeof)===S)return 11;if(e===P)return 14}return 2}(r),e=vi(r,e),o){case 0:t=Is(null,t,r,e,n);break e;case 1:t=Ss(null,t,r,e,n);break e;case 11:t=xs(null,t,r,e,n);break e;case 14:t=Ts(null,t,r,vi(r.type,e),n);break e}throw Error(i(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Is(e,t,r,o=t.elementType===r?o:vi(r,o),n);case 1:return r=t.type,o=t.pendingProps,Ss(e,t,r,o=t.elementType===r?o:vi(r,o),n);case 3:e:{if(Ls(t),null===e)throw Error(i(387));r=t.pendingProps,o=(a=t.memoizedState).element,ki(e,t),Fi(t,r,null,n);var s=t.memoizedState;if(r=s.element,a.isDehydrated){if(a={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=a,t.memoizedState=a,256&t.flags){t=Ps(e,t,r,n,o=cs(Error(i(423)),t));break e}if(r!==o){t=Ps(e,t,r,n,o=cs(Error(i(424)),t));break e}for(oi=uo(t.stateNode.containerInfo.firstChild),ri=t,ii=!0,ai=null,n=Ji(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(hi(),r===o){t=$s(e,t,n);break e}Es(e,t,r,n)}t=t.child}return t;case 5:return aa(t),null===e&&ci(t),r=t.type,o=t.pendingProps,a=null!==e?e.memoizedProps:null,s=o.children,no(r,o)?s=null:null!==a&&no(r,a)&&(t.flags|=32),ws(e,t),Es(e,t,s,n),t.child;case 6:return null===e&&ci(t),null;case 13:return Fs(e,t,n);case 4:return oa(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Qi(t,null,r,n):Es(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,xs(e,t,r,o=t.elementType===r?o:vi(r,o),n);case 7:return Es(e,t,t.pendingProps,n),t.child;case 8:case 12:return Es(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,a=t.memoizedProps,s=o.value,Io(gi,r._currentValue),r._currentValue=s,null!==a)if(sr(a.value,s)){if(a.children===o.children&&!Lo.current){t=$s(e,t,n);break e}}else for(null!==(a=t.child)&&(a.return=t);null!==a;){var l=a.dependencies;if(null!==l){s=a.child;for(var u=l.firstContext;null!==u;){if(u.context===r){if(1===a.tag){(u=Ri(-1,n&-n)).tag=2;var c=a.updateQueue;if(null!==c){var d=(c=c.shared).pending;null===d?u.next=u:(u.next=d.next,d.next=u),c.pending=u}}a.lanes|=n,null!==(u=a.alternate)&&(u.lanes|=n),Ci(a.return,n,t),l.lanes|=n;break}u=u.next}}else if(10===a.tag)s=a.type===t.type?null:a.child;else if(18===a.tag){if(null===(s=a.return))throw Error(i(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Ci(s,n,t),s=a.sibling}else s=a.child;if(null!==s)s.return=a;else for(s=a;null!==s;){if(s===t){s=null;break}if(null!==(a=s.sibling)){a.return=s.return,s=a;break}s=s.return}a=s}Es(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ai(t,n),r=r(o=wi(o)),t.flags|=1,Es(e,t,r,n),t.child;case 14:return o=vi(r=t.type,t.pendingProps),Ts(e,t,r,o=vi(r.type,o),n);case 15:return Cs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:vi(r,o),Ws(e,t),t.tag=1,ko(r)?(e=!0,jo(t)):e=!1,Ai(t,n),Wi(t,r,o),zi(t,r,o,n),Os(null,t,r,!0,e,n);case 19:return Hs(e,t,n);case 22:return As(e,t,n)}throw Error(i(156,t.tag))};var Xu="function"==typeof reportError?reportError:function(e){console.error(e)};function Gu(e){this._internalRoot=e}function Yu(e){this._internalRoot=e}function Qu(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Ju(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Zu(){}function ec(e,t,n,r,o){var i=n._reactRootContainer;if(i){var a=i;if("function"==typeof o){var s=o;o=function(){var e=$u(a);s.call(e)}}Wu(t,a,e,o)}else a=function(e,t,n,r,o){if(o){if("function"==typeof r){var i=r;r=function(){var e=$u(a);i.call(e)}}var a=Hu(t,r,e,0,null,!1,0,"",Zu);return e._reactRootContainer=a,e[_o]=a.current,Vr(8===e.nodeType?e.parentNode:e),du(),a}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var s=r;r=function(){var e=$u(l);s.call(e)}}var l=qu(e,0,!1,null,0,!1,0,"",Zu);return e._reactRootContainer=l,e[_o]=l.current,Vr(8===e.nodeType?e.parentNode:e),du((function(){Wu(t,l,n,r)})),l}(n,t,e,o,r);return $u(a)}Yu.prototype.render=Gu.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(i(409));Wu(e,t,null,null)},Yu.prototype.unmount=Gu.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;du((function(){Wu(null,e,null,null)})),t[_o]=null}},Yu.prototype.unstable_scheduleHydration=function(e){if(e){var t=Ct();e={blockedOn:null,target:e,priority:t};for(var n=0;n<kt.length&&0!==t&&t<kt[n].priority;n++);kt.splice(n,0,e),0===n&&jt(e)}},Et=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(gt(t,1|n),ou(t,Qe()),0==(6&Ol)&&(Hl=Qe()+500,Ho()))}break;case 13:du((function(){var t=Li(e,1);if(null!==t){var n=tu();ru(t,e,1,n)}})),Ku(e,1)}},xt=function(e){if(13===e.tag){var t=Li(e,134217728);if(null!==t)ru(t,e,134217728,tu());Ku(e,134217728)}},Tt=function(e){if(13===e.tag){var t=nu(e),n=Li(e,t);if(null!==n)ru(n,e,t,tu());Ku(e,t)}},Ct=function(){return bt},At=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},xe=function(e,t,n){switch(t){case"input":if(J(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=xo(r);if(!o)throw Error(i(90));K(r),J(r,o)}}}break;case"textarea":ie(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Se=cu,Oe=du;var tc={usingClientEntryPoint:!1,Events:[yo,Eo,xo,we,Ie,cu]},nc={findFiberByHostInstance:bo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},rc={bundleType:nc.bundleType,version:nc.version,rendererPackageName:nc.rendererPackageName,rendererConfig:nc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:y.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=$e(e))?null:e.stateNode},findFiberByHostInstance:nc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var oc=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!oc.isDisabled&&oc.supportsFiber)try{ot=oc.inject(rc),it=oc}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=tc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qu(t))throw Error(i(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:x,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qu(e))throw Error(i(299));var n=!1,r="",o=Xu;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=qu(e,1,!1,null,0,n,0,r,o),e[_o]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Gu(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(i(188));throw e=Object.keys(e).join(","),Error(i(268,e))}return e=null===(e=$e(t))?null:e.stateNode},t.flushSync=function(e){return du(e)},t.hydrate=function(e,t,n){if(!Ju(t))throw Error(i(200));return ec(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qu(e))throw Error(i(405));var r=null!=n&&n.hydratedSources||null,o=!1,a="",s=Xu;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(a=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Hu(t,null,e,1,null!=n?n:null,o,0,a,s),e[_o]=t.current,Vr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Yu(t)},t.render=function(e,t,n){if(!Ju(t))throw Error(i(200));return ec(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Ju(e))throw Error(i(40));return!!e._reactRootContainer&&(du((function(){ec(null,null,e,!1,(function(){e._reactRootContainer=null,e[_o]=null}))})),!0)},t.unstable_batchedUpdates=cu,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Ju(n))throw Error(i(200));if(null==e||void 0===e._reactInternals)throw Error(i(38));return ec(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},function(e,t,n){e.exports=n(22)},function(){},function(e,t,n){var r=n(10);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},function(e,t,n){n.r(t),n.d(t,{getCorrectEventName:function(){return s},getCorrectPropertyName:function(){return a}});
|
|
329
329
|
/**
|
|
330
330
|
* @license
|
|
331
331
|
* Copyright 2016 Google Inc.
|
|
@@ -371,7 +371,7 @@ var r={animation:{prefixed:"-webkit-animation",standard:"animation"},transform:{
|
|
|
371
371
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
372
372
|
* THE SOFTWARE.
|
|
373
373
|
*/
|
|
374
|
-
var r={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},o={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},i={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(86),a=o.createComponent((function(e,t){var n;n=e,o.useFoundation({props:n,elements:{},foundation:()=>new i.MDCFormFieldFoundation({registerInteractionHandler:(e,t)=>{},deregisterInteractionHandler:(e,t)=>{},activateInputRipple:()=>{},deactivateInputRipple:()=>{}})});const{alignEnd:a,foundationRef:s,noWrap:l,spaceBetween:u,...c}=e,d=o.useClassNames(e,["mdc-form-field",{"mdc-form-field--align-end":a,"mdc-form-field--nowrap":l,"mdc-form-field--space-between":u}]);return r.jsx(o.Tag,{...c,ref:t,className:d})}));t.FormField=a},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(59),a=n(3),s=n(90),l=n(91),u=n(92),c={bottomEnd:"BOTTOM_END",bottomLeft:"BOTTOM_LEFT",bottomRight:"BOTTOM_RIGHT",bottomStart:"BOTTOM_START",topEnd:"TOP_END",topLeft:"TOP_LEFT",topRight:"TOP_RIGHT",topStart:"TOP_START"},d=(e,t)=>{const[n,r]=o.useState(e.open),i=o.useRef(null),u=o.useRef(null),d=o.useRef(null),f=o.useRef(null),{foundation:p,...h}=a.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e,rootEl:t})=>({setAnchorCorner:t=>e.setAnchorCorner(t),setAnchorElement:e=>d.current=e,setOpen:e=>r(e),getSurfaceElement:()=>t.ref}),foundation:({rootEl:e,getProps:t,emit:n})=>{const o=e=>{p.handleBodyClick(e)},i=()=>{document.body.removeEventListener("click",o),document.body.removeEventListener("touchstart",o)},c=new s.MDCMenuSurfaceFoundation({addClass:t=>{e.addClass(t)},removeClass:t=>{e.removeClass(t)},hasClass:t=>"mdc-menu-surface"===t||e.hasClass(t),hasAnchor:()=>!!d.current,notifyClose:()=>{i(),r(!1)},notifyClosing:()=>n(s.MDCMenuSurfaceFoundation.strings.CLOSING_EVENT,{}),notifyOpen:()=>{n("onOpen",{}),setTimeout((()=>{document.body.addEventListener("click",o),document.body.addEventListener("touchstart",o)}),150)},notifyOpening:()=>n(s.MDCMenuSurfaceFoundation.strings.OPENING_EVENT,{}),isElementInContainer:t=>e.ref===t||!!e.ref&&e.ref.contains(t),isRtl:()=>!!e.ref&&"rtl"===getComputedStyle(e.ref).getPropertyValue("direction"),setTransformOrigin:t=>{const n=`${l.getCorrectPropertyName(window,"transform")}-origin`;e.setStyle(n,t)},isFocused:()=>document.activeElement===e.ref,saveFocus:()=>{u.current=document.activeElement},restoreFocus:()=>{e.ref&&e.ref.contains(document.activeElement)&&u.current&&u.current.focus&&u.current.focus()},getInnerDimensions:()=>({width:e.ref?e.ref.offsetWidth:0,height:e.ref?e.ref.offsetHeight:0}),getAnchorDimensions:()=>{var e;return(null==(e=d.current)?void 0:e.getBoundingClientRect())||a.emptyClientRect},getWindowDimensions:()=>({width:window.innerWidth,height:window.innerHeight}),getBodyDimensions:()=>({width:document.body.clientWidth,height:document.body.clientHeight}),getWindowScroll:()=>({x:window.pageXOffset,y:window.pageYOffset}),setPosition:t=>{e.setStyle("left",void 0!==t.left?t.left:null),e.setStyle("right",void 0!==t.right?t.right:null),e.setStyle("top",void 0!==t.top?t.top:null),e.setStyle("bottom",void 0!==t.bottom?t.bottom:null)},setMaxHeight:t=>{e.setStyle("maxHeight",t)}}),h=c.close.bind(c);c.close=(e=!1)=>{n("onClose",{}),f.current=window.setTimeout((()=>{t().open||h(e)}))};const m=c.destroy.bind(c);return c.destroy=()=>{i(),m()},c}}),{rootEl:m}=h,{onKeyDown:v}=e,_=o.useCallback((e=>{null==v||v(e),p.handleKeydown(e)}),[v,p]);return m.setProp("onKeyDown",_,!0),o.useEffect((()=>{p.setFixedPosition(!!e.fixed)}),[e.fixed,p]),o.useEffect((()=>{const e=(null==t?void 0:t.current)||m.ref;if(e){const t=a.closest(e,`.${s.MDCMenuSurfaceFoundation.cssClasses.ANCHOR}`);t&&(d.current=t)}}),[t,m.ref]),o.useEffect((()=>{e.renderToPortal?p.setIsHoisted(!0):p.setIsHoisted(!1);const t=e.renderToPortal?()=>{try{p.autoposition()}catch{}}:()=>{};return a.raf((()=>{p.isOpen()})),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[e.renderToPortal,p]),o.useEffect((()=>{const t=e.anchorCorner&&(e=>s.MDCMenuSurfaceFoundation.Corner[c[e]])(e.anchorCorner);if(void 0!==t){p.setAnchorCorner(t),p.dimensions=p.adapter.getInnerDimensions();try{p.autoposition()}catch{}}}),[e.anchorCorner,p]),o.useEffect((()=>{if(n){const e=m.ref?m.ref.querySelectorAll(s.MDCMenuSurfaceFoundation.strings.FOCUSABLE_ELEMENTS):[];i.current=e.length>0?e[0]:null,p.open()}else p.isOpen()&&p.close()}),[n,p,m.ref]),o.useEffect((()=>{r(!!e.open)}),[e.open]),o.useEffect((()=>()=>{f.current&&window.clearTimeout(f.current)}),[]),{...h}},f=a.createComponent((function(e,t){const{children:n,open:i,anchorCorner:s,onOpen:l,onClose:u,renderToPortal:c,fixed:f,apiRef:p,foundationRef:h,...m}=e,v=o.useRef(null),{rootEl:_}=d(e,v),g=a.useClassNames(e,["mdc-menu-surface",{"mdc-menu-surface--fixed":f}]);return r.jsx(r.Fragment,{children:r.jsx(a.PortalChild,{renderTo:c,menuSurfaceDomPositionRef:v,children:r.jsx(a.Tag,{...m,element:_,className:g,ref:t,children:n})})})})),p=a.createComponent((function(e,t){const n=a.useClassNames(e,["mdc-menu-surface--anchor"]);return r.jsx(a.Tag,{...e,className:n,ref:t})})),h=a.createComponent((function(e,t){const n=a.useClassNames(e,["mdc-list mdc-menu__items"]);return r.jsx(i.List,{role:"menu",...e,className:n,ref:t})}));h.displayName="MenuItems";const m=a.createComponent((function(e,t){return r.jsx(i.ListItem,{role:"menuitem",tabIndex:0,...e,ref:t})})),v=e=>"MenuItems"===a.getDisplayName(e),_=a.createComponent((function(e,t){const{children:n,focusOnOpen:i,onSelect:s,foundationRef:l,...c}=e,{rootEl:d,setListApi:p,setMenuSurfaceApi:m}=(e=>{const t=o.useRef(),n=o.useRef(),r=o.useCallback((()=>{var e;return(null==(e=n.current)?void 0:e.listElements())||[]}),[]),{foundation:i,...s}=a.useFoundation({props:{...e,apiRef:void 0},elements:{rootEl:!0},foundation:({emit:e})=>new u.MDCMenuFoundation({addClassToElementAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.addClassToElementIndex(...e)},removeClassFromElementAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.removeClassFromElementAtIndex(...e)},addAttributeToElementAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.setAttributeForElementIndex(...e)},removeAttributeFromElementAtIndex:(e,t)=>{r()[e].removeAttribute(t)},elementContainsClass:(e,t)=>e.classList.contains(t),closeSurface:()=>{var e;null==(e=t.current)||e.setOpen(!1)},getElementIndex:e=>r().indexOf(e),notifySelected:t=>e("onSelect",{index:t.index,item:r()[t.index]}),getMenuItemCount:()=>{var e;return(null==(e=n.current)?void 0:e.getListItemCount())||0},focusItemAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.focusItemAtIndex(...e)},focusListRoot:()=>{var e;return null==(e=n.current)?void 0:e.focusRoot()}})}),{rootEl:l}=s,{onClick:c}=e,d=o.useCallback((e=>{null==c||c(e);const t=a.closest(e.target,".mdc-deprecated-list-item");t&&i.handleItemAction(t)}),[i,c]),{onKeyDown:f}=e,p=o.useCallback((e=>{null==f||f(e),i.handleKeydown(e),13===e.which&&e.target instanceof Element&&n.current&&e.target.classList.contains(n.current.getClasses())&&i.handleItemAction(e.target)}),[i,f]),{onOpen:h,focusOnOpen:m}=e,v=o.useCallback((e=>{const t=r();(m||void 0===m)&&t.length>0&&!t.some((e=>e===document.activeElement))&&t[0].focus(),null==h||h(e)}),[h,m,r]);l.setProp("onKeyDown",p,!0),l.setProp("onClick",d,!0),l.setProp("onOpen",v,!0);const _=n.current&&t.current&&e.apiRef;return o.useEffect((()=>{n.current&&t.current&&e.apiRef&&e.apiRef({...n.current,...t.current,items:r})}),[_,r]),{setListApi:e=>{n.current=e},setMenuSurfaceApi:e=>{t.current=e},...s}})(e),_=(o.Children.map(n,v)||[]).every((e=>!1===e)),g={apiRef:p};return r.jsx(f,{...d.props(c),className:a.classNames("mdc-menu",c.className),apiRef:m,ref:t,children:_?r.jsx(h,{...g,children:n}):o.Children.map(n,(e=>v(e)?o.cloneElement(e,{...o.isValidElement(e)?e.props:{},...g}):e))})})),g=e=>function(t){const[n,i]=o.useState(!!t.open);o.useEffect((()=>{void 0!==t.open&&t.open!==n&&i(!!t.open)}),[t.open,n]);const{handle:a,onClose:s,children:l,rootProps:u={},open:c,foundationRef:d,...f}=t,h=o.cloneElement(a,{...a.props,onClick:e=>{i(!n),a.props.onClick&&a.props.onClick(e)}}),m=e;return r.jsxs(p,{...u,children:[r.jsx(m,{...f,onClose:e=>{i(!!c||!1),null==s||s(e)},open:n,children:l}),h]})},y=g(_),b=g(f);t.Menu=_,t.MenuItem=m,t.MenuItems=h,t.MenuSurface=f,t.MenuSurfaceAnchor=p,t.SimpleMenu=y,t.SimpleMenuSurface=b},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(89),s=n(14),l=n(18);const u=function(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}(o),c=e=>{if(!e)return!1;const t=e.getAttribute("tabindex");return!!(t&&Number(t)>=0)&&(e.focus(),!0)},d=(e,t)=>{if(!e)return null;const n=t?e.previousElementSibling:e.nextElementSibling;return null===n?d(e.parentElement,t):n},f=class extends o.Component{constructor(e){super(e),this.childContainer=null,this.root=null,this.rafId=null,this.timerId=null,this.state={open:!!this.props.defaultOpen||!!this.props.open,childrenStyle:{}},this.handleClick=this.handleClick.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.handleFocus=this.handleFocus.bind(this)}static getDerivedStateFromProps(e,t){return void 0!==e.open&&e.open!==t.open?{...t,open:e.open}:t}componentDidMount(){this.syncOpenState()}componentDidUpdate(e,t){t.open!==this.state.open&&this.syncOpenState()}componentWillUnmount(){this.rafId&&window.cancelAnimationFrame(this.rafId),this.timerId&&window.clearTimeout(this.timerId)}syncOpenState(){const{onOpen:e,onClose:t}=this.props,n={maxHeight:this.childContainer?`${this.childContainer.offsetHeight}px`:"0px"};this.setState({childrenStyle:n},(()=>{this.state.open?(e&&e(),this.timerId=window.setTimeout((()=>{this.state.open&&this.setState({childrenStyle:{maxHeight:"none"}})}),300)):(t&&t(),this.rafId=window.requestAnimationFrame((()=>{this.setState({childrenStyle:{}})})))}))}correctFocus(e){this.rafId=window.requestAnimationFrame((()=>{if(!this.state.open&&this.root&&this.root.contains(document.activeElement)){const t=d(this.root,e);if(c(t))return;if(t){const e=t.querySelectorAll("[tabindex]");for(let t=0;t<e.length&&!c(e[t]);t++);}}}))}toggleOpen(e){this.setState({open:e})}handleClick(e){const{handle:t}=this.props;t.props.onClick&&t.props.onClick(e),this.toggleOpen(!this.state.open)}handleKeydown(e){const{handle:t}=this.props;switch(t.props.onKeyDown&&t.props.onKeyDown(e),e.key){case"Enter":return void this.toggleOpen(!this.state.open);case"ArrowRight":return void this.toggleOpen(!0);case"ArrowUp":case"ArrowDown":case"Tab":const t=e.shiftKey||"ArrowUp"===e.key;return void this.correctFocus(t);case"ArrowLeft":return void this.toggleOpen(!1)}}handleFocus(e){if(!this.state.open&&this.root&&this.childContainer&&this.childContainer.contains(document.activeElement)){const e=this.root.querySelector(".rmwc-collapsible-list__handle .mdc-deprecated-list-item");e&&e.focus()}}render(){const{children:e,handle:t,onOpen:n,onClose:a,open:s,defaultOpen:l,className:u,...c}=this.props,{open:d,childrenStyle:f}=this.state;return r.jsxs(i.Tag,{...c,onFocus:this.handleFocus,ref:e=>this.root=e,className:i.classNames("rmwc-collapsible-list",u,{"rmwc-collapsible-list--open":d}),children:[r.jsx("div",{className:"rmwc-collapsible-list__handle",children:o.cloneElement(t,{...t.props,onClick:this.handleClick,onKeyDown:this.handleKeydown})}),r.jsx("div",{className:"rmwc-collapsible-list__children",style:f,children:r.jsx("div",{className:"rmwc-collapsible-list__children-inner",ref:e=>this.childContainer=e,children:e})})]})}};f.displayName="CollapsibleList";let p=f;const h=e=>{const t=o.useCallback((e=>e?[].slice.call(e.querySelectorAll(`.${a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS]}`)):[]),[]),[n,r]=o.useState({}),[s,l]=o.useState(void 0),{foundation:u,...c}=i.useFoundation({props:e,api:({rootEl:e,foundation:n})=>{const r=n.adapter;return{listElements:()=>t(e.ref),focusRoot:()=>null==e?void 0:e.ref.focus(),getClasses:()=>a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS],addClassToElementIndex:r.addClassForElementIndex,removeClassFromElementAtIndex:r.removeClassForElementIndex,setAttributeForElementIndex:r.setAttributeForElementIndex,getListItemCount:r.getListItemCount,focusItemAtIndex:r.focusItemAtIndex,selectedIndex:a.MDCListFoundation.numbers.UNSET_INDEX,setSelectedIndex:e=>n.setSelectedIndex(e)}},elements:{rootEl:!0},foundation:({rootEl:e,emit:n})=>new a.MDCListFoundation({getListItemCount:()=>t(e.ref).length,getFocusedElementIndex:()=>t(e.ref).indexOf(document.activeElement),getAttributeForElementIndex:(n,r)=>t(e.ref)[n].getAttribute(r),listItemAtIndexHasClass:(n,r)=>{const o=t(e.ref)[n];return!(null==o||!o.classList.contains(a.deprecatedClassNameMap[r]))},setAttributeForElementIndex:(n,r,o)=>{"tabindex"===r&&(r="tabIndex");const i=t(e.ref)[n];i&&i.setAttribute(r,String(o))},addClassForElementIndex:(e,t)=>{r((n=>n[e]&&n[e].indexOf(t)>-1?n:n[e]&&-1===n[e].indexOf(t)?{...n,[e]:[...n[e],t]}:{...n,[e]:[t]}))},removeClassForElementIndex:(e,t)=>{r((n=>n[e]&&n[e].indexOf(t)>-1?{...n,[e]:n[e].filter((e=>e!==t))}:n))},focusItemAtIndex:n=>{const r=t(e.ref)[n];r&&r.focus()},setTabIndexForListItemChildren:(n,r)=>{const o=t(e.ref)[n];[].slice.call(o.querySelectorAll(a.MDCListFoundation.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX)).forEach((e=>e.setAttribute("tabindex",String(r))))},hasCheckboxAtIndex:n=>!!t(e.ref)[n].querySelector(a.MDCListFoundation.strings.CHECKBOX_SELECTOR),hasRadioAtIndex:n=>!!t(e.ref)[n].querySelector(a.MDCListFoundation.strings.RADIO_SELECTOR),isCheckboxCheckedAtIndex:n=>{const r=t(e.ref)[n].querySelector(a.MDCListFoundation.strings.CHECKBOX_SELECTOR);return!!r&&r.checked},setCheckedCheckboxOrRadioAtIndex:(n,r)=>{const o=t(e.ref)[n].querySelector(a.MDCListFoundation.strings.CHECKBOX_RADIO_SELECTOR);if(o){o.checked=r;const e=document.createEvent("Event");e.initEvent("change",!0,!0),o.dispatchEvent(e)}},notifyAction:e=>n("onAction",{index:e}),notifySelectionChange:e=>n(a.strings.SELECTION_CHANGE_EVENT,{changedIndices:e},!0),isFocusInsideList:()=>{var t;return!(null==(t=e.ref)||!t.contains(document.activeElement))},isRootFocused:()=>document.activeElement===e.ref,getPrimaryTextAtIndex:n=>(e=>{const t=e.querySelector(`.${a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_PRIMARY_TEXT_CLASS]}`);if(t)return(null==t?void 0:t.textContent)??"";const n=e.querySelector(`.${a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_TEXT_CLASS]}`);return n&&n.textContent||""})(t(e.ref)[n])})}),{rootEl:d}=c,f=o.useCallback((e=>{let n=e.target,r=-1;for(;n&&!n.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS])&&!n.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.ROOT]);)n=n.parentElement;return n&&n.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS])&&(r=t(d.ref).indexOf(n)),r}),[t,d.ref]),{onClick:p}=e,h=o.useCallback((e=>{null==p||p(e);const t=f(e),n=!i.matches(e.target,a.MDCListFoundation.strings.CHECKBOX_RADIO_SELECTOR);u.handleClick(t,n)}),[f,u,p]),{onKeyDown:m}=e,v=o.useCallback((e=>{null==m||m(e);const t=f(e);t>=0&&u.handleKeydown(e,e.target instanceof Element&&e.target.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS]),t)}),[f,u,m]),{onFocus:_}=e,g=o.useCallback((e=>{null==_||_(e),u.handleFocusIn(f(e))}),[f,u,_]),{onBlur:y}=e,b=o.useCallback((e=>{null==y||y(e),u.handleFocusOut(f(e))}),[f,u,y]);d.setProp("onClick",h,!0),d.setProp("onKeyDown",v,!0),d.setProp("onFocus",g,!0),d.setProp("onBlur",b,!0);const E=o.useCallback((()=>{if(e.role)return l(e.role);if(!d.ref)return;const t=!!e.selectedIndex||!!d.ref.querySelector(`\n .${a.MDCListFoundation.cssClasses.LIST_ITEM_ACTIVATED_CLASS},\n .${a.MDCListFoundation.cssClasses.LIST_ITEM_SELECTED_CLASS}\n `),n=!!d.ref.querySelector(a.MDCListFoundation.strings.CHECKBOX_SELECTOR),r=!!d.ref.querySelector(a.MDCListFoundation.strings.RADIO_SELECTOR);return n?l("group"):r?l("radiogroup"):t?l("listbox"):void 0}),[e.role,e.selectedIndex,d.ref]);return o.useEffect((()=>{u.layout(),E()}),[u,E]),o.useEffect((()=>{u.setWrapFocus(e.wrapFocus||void 0===e.wrapFocus)}),[u,e.wrapFocus]),o.useEffect((()=>{u.setVerticalOrientation(e.vertical||void 0===e.vertical)}),[u,e.vertical]),o.useEffect((()=>{void 0!==e.selectedIndex&&u.setSelectedIndex(e.selectedIndex)}),[u,e.selectedIndex]),o.useEffect((()=>{s&&u.setSingleSelection("listbox"===s)}),[u,s]),{...c,listItemClasses:n,setEnabled:(e,t)=>{u.setEnabled(e,t)},role:s}},m=u.createContext({getClassName:e=>[],setEnabled:(e,t)=>{}}),v=i.createComponent((function(e,t){const{dense:n,twoLine:a,avatarList:s,apiRef:l,nonInteractive:u,onAction:c,foundationRef:d,wrapFocus:f,vertical:p,selectedIndex:v,children:_,...g}=e,{rootEl:y,listItemClasses:b,setEnabled:E,role:x}=h(e),C={getClassName:e=>b[e]||[],setEnabled:E},T=i.useClassNames(e,["mdc-deprecated-list",{"mdc-deprecated-list--dense":n,"mdc-deprecated-list--two-line":a,"mdc-deprecated-list--avatar-list":s,"mdc-deprecated-list--non-interactive":u}]);return r.jsx(m.Provider,{value:C,children:r.jsx(i.Tag,{tag:"ul",...g,element:y,role:x,className:T,ref:t,children:["group","radiogroup","listbox"].some((e=>e===x))?o.Children.map(_,(e=>(e=>"ListItem"===i.getDisplayName(e))(e)?o.cloneElement(e,{..."group"===x?{role:"checkbox"}:"radiogroup"===x?{role:"radio"}:"listbox"===x?{role:"option"}:{},...o.isValidElement(e)?e.props:{}}):e)):_})})})),_=s.withRipple({surface:!1})(i.createComponent((function(e,t){const n=o.createRef(),a=t?i.mergeRefs(t,n):n,l=o.useContext(m),[u,c]=o.useState(-1),d=o.useCallback((()=>{const e=f(n.current);return e?e.indexOf(n.current):-1}),[n]),f=e=>{var t;return e?[].slice.call(null==(t=e.parentNode)?void 0:t.querySelectorAll(".mdc-deprecated-list-item")):[]};o.useEffect((()=>{n.current&&-1===u&&c(d())}),[n,u,d]),o.useEffect((()=>{u>-1&&void 0!==e.disabled&&l.setEnabled(u,!e.disabled)}),[u,e.disabled,l]);const{selected:p,activated:h,disabled:v,..._}=e,g=i.useClassNames(e,["mdc-deprecated-list-item",{"mdc-deprecated-list-item--selected":e.selected,"mdc-deprecated-list-item--activated":e.activated,"mdc-deprecated-list-item--disabled":e.disabled}]);return r.jsxs(i.Tag,{tag:"li",tabIndex:0,..._,className:g,ref:a,children:[r.jsx(s.RippleSurface,{className:"mdc-deprecated-list-item__ripple"}),_.children]})})));_.displayName="ListItem";const g=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__text"]);return r.jsx(i.Tag,{tag:"span",...e,ref:t,className:n})})),y=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__primary-text"]);return r.jsx(i.Tag,{tag:"span",...e,ref:t,className:n})})),b=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__secondary-text"]);return r.jsx(i.Tag,{tag:"span",...e,ref:t,className:n})})),E=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__graphic"]);return r.jsx(l.Icon,{...e,"aria-hidden":"true",ref:t,className:n})})),x=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__meta"]);if(e.icon)return r.jsx(l.Icon,{...e,"aria-hidden":"true",ref:t,className:n});if(o.isValidElement(e.children)){const{children:t,...r}=e;return o.cloneElement(e.children,{...r,...e.children.props,className:i.classNames(n,e.children.props.className)})}return r.jsx(i.Tag,{...e,ref:t,className:n})})),C=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-group"]);return r.jsx(i.Tag,{...e,ref:t,className:n,role:"group"})})),T=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-group__subheader"]);return r.jsx(i.Tag,{...e,ref:t,className:n})})),I=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-divider"]);return r.jsx(i.Tag,{tag:"li",role:"separator",...e,ref:t,className:n})})),S=i.createComponent((({text:e,secondaryText:t,graphic:n,metaIcon:o,meta:i,children:a,...l},u)=>{const c=e&&void 0!==t?r.jsx(y,{children:e}):e,d=void 0!==t?r.jsx(b,{children:t}):null;return r.jsxs(_,{...l,ref:u,children:[r.jsx(s.RippleSurface,{className:"mdc-deprecated-list-item__ripple"}),void 0!==n&&r.jsx(E,{icon:n}),null!==d?r.jsxs(g,{children:[c,d]}):c,(!!i||!!o)&&r.jsx(x,{icon:o,children:i}),a]})}));t.CollapsibleList=p,t.List=v,t.ListDivider=I,t.ListGroup=C,t.ListGroupSubheader=T,t.ListItem=_,t.ListItemGraphic=E,t.ListItemMeta=x,t.ListItemPrimaryText=y,t.ListItemSecondaryText=b,t.ListItemText=g,t.SimpleListItem=S},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(93),a=n(0),s=o.createComponent((function(e,t){const{rootEl:n}=(e=>{const{foundation:t,...n}=o.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e})=>({getWidth(){return e.getWidth()},setRequired(t){return e.setRequired(t)}}),foundation:({rootEl:e})=>new i.MDCFloatingLabelFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),getWidth:()=>{var t;return(null==(t=e.ref)?void 0:t.scrollWidth)||0},registerInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterInteractionHandler:(t,n)=>e.removeEventListener(t,n)})});return a.useEffect((()=>{t.shake(!!e.shake)}),[e.shake,t]),a.useEffect((()=>{t.float(!!e.float)}),[e.float,t]),{foundation:t,...n}})(e),{shake:s,float:l,apiRef:u,...c}=e;return r.jsx("label",{...n.props({...c,className:"mdc-floating-label"}),ref:o.mergeRefs(n.reactRef,t)})}));t.FloatingLabel=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(94),i=n(3),a=n(0),s=i.createComponent((function(e,t){const{active:n,center:s,...l}=e,{rootEl:u}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},foundation:({rootEl:e})=>new o.MDCLineRippleFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),hasClass:t=>e.hasClass(t),setStyle:(t,n)=>e.setStyle(t,n),registerEventHandler:(t,n)=>e.addEventListener(t,n),deregisterEventHandler:(t,n)=>e.removeEventListener(t,n)})}),{rootEl:r}=n;return a.useEffect((()=>{e.active?t.activate():t.deactivate()}),[e.active,t]),a.useEffect((()=>{"number"==typeof e.center&&t.setRippleCenter(e.center)}),[e.center,t]),r.setProp("onTransitionEnd",(e=>t.handleTransitionEnd(e)),!0),{foundation:t,...n}})(e);return r.jsx(i.Tag,{...l,tag:"span",element:u,className:"mdc-line-ripple",ref:t})}));t.LineRipple=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(95),a=n(3),s=a.createComponent((function(e,t){const{children:n,...s}=e,{rootEl:c,notchedEl:d}=(e=>{const{foundation:t,...n}=a.useFoundation({props:e,elements:{rootEl:!0,notchedEl:!0},foundation:({rootEl:e,notchedEl:t})=>new i.MDCNotchedOutlineFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),setNotchWidthProperty:e=>t.setStyle("width",e+"px"),removeNotchWidthProperty:()=>t.setStyle("width","")})}),{rootEl:r}=n,s=o.useRef();return o.useEffect((()=>{e.notch?t.notch(e.notch):t.closeNotch()}),[e.notch,t]),o.useEffect((()=>{var e;s.current=(null==(e=r.ref)?void 0:e.querySelector(".mdc-floating-label"))||void 0;const t=s.current;t?(t.style.transitionDuration="0s",r.addClass(i.MDCNotchedOutlineFoundation.cssClasses.OUTLINE_UPGRADED),requestAnimationFrame((()=>{t&&(t.style.transitionDuration="")}))):r.addClass(i.MDCNotchedOutlineFoundation.cssClasses.NO_LABEL)}),[r]),{foundation:t,...n}})(e);return r.jsxs(a.Tag,{...s,element:c,className:"mdc-notched-outline",ref:t,children:[r.jsx(l,{}),r.jsx("div",{...d.props({className:"mdc-notched-outline__notch"}),ref:d.reactRef,children:n}),r.jsx(u,{})]})})),l=o.memo((function(){return r.jsx("div",{className:"mdc-notched-outline__leading"})})),u=o.memo((function(){return r.jsx("div",{className:"mdc-notched-outline__trailing"})}));t.NotchedOutline=s},function(e,t,n){n.d(t,{Y:function(){return m}});var r=n(2),o=n(4),i=n(82),a=n(43),s=["input","button","textarea","select"],l=function(e){var t=e.target;if(t){var n=(""+t.tagName).toLowerCase();-1===s.indexOf(n)&&e.preventDefault()}};function u(e,t){var n,r=e.nextChar,o=e.focusItemAtIndex,i=e.sortedIndexByFirstChar,s=e.focusedItemIndex,l=e.skipFocus,u=e.isItemAtIndexDisabled;return clearTimeout(t.bufferClearTimeout),t.bufferClearTimeout=setTimeout((function(){d(t)}),a.nL.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),t.typeaheadBuffer=t.typeaheadBuffer+r,n=1===t.typeaheadBuffer.length?function(e,t,n,r){var o=r.typeaheadBuffer[0],i=e.get(o);if(!i)return-1;if(o===r.currentFirstChar&&i[r.sortedIndexCursor].index===t){r.sortedIndexCursor=(r.sortedIndexCursor+1)%i.length;var a=i[r.sortedIndexCursor].index;if(!n(a))return a}r.currentFirstChar=o;var s,l=-1;for(s=0;s<i.length;s++)if(!n(i[s].index)){l=s;break}for(;s<i.length;s++)if(i[s].index>t&&!n(i[s].index)){l=s;break}if(-1!==l)return r.sortedIndexCursor=l,i[r.sortedIndexCursor].index;return-1}(i,s,u,t):function(e,t,n){var r=n.typeaheadBuffer[0],o=e.get(r);if(!o)return-1;var i=o[n.sortedIndexCursor];if(0===i.text.lastIndexOf(n.typeaheadBuffer,0)&&!t(i.index))return i.index;var a=(n.sortedIndexCursor+1)%o.length,s=-1;for(;a!==n.sortedIndexCursor;){var l=o[a],u=0===l.text.lastIndexOf(n.typeaheadBuffer,0),c=!t(l.index);if(u&&c){s=a;break}a=(a+1)%o.length}if(-1!==s)return n.sortedIndexCursor=s,o[n.sortedIndexCursor].index;return-1}(i,u,t),-1===n||l||o(n),n}function c(e){return e.typeaheadBuffer.length>0}function d(e){e.typeaheadBuffer=""}function f(e,t){var n=e.event,r=e.isTargetListItem,o=e.focusedItemIndex,a=e.focusItemAtIndex,s=e.sortedIndexByFirstChar,d=e.isItemAtIndexDisabled,f="ArrowLeft"===(0,i.l5)(n),p="ArrowUp"===(0,i.l5)(n),h="ArrowRight"===(0,i.l5)(n),m="ArrowDown"===(0,i.l5)(n),v="Home"===(0,i.l5)(n),_="End"===(0,i.l5)(n),g="Enter"===(0,i.l5)(n),y="Spacebar"===(0,i.l5)(n);return n.altKey||n.ctrlKey||n.metaKey||f||p||h||m||v||_||g?-1:y||1!==n.key.length?y?(r&&l(n),r&&c(t)?u({focusItemAtIndex:a,focusedItemIndex:o,nextChar:" ",sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:d},t):-1):-1:(l(n),u({focusItemAtIndex:a,focusedItemIndex:o,nextChar:n.key.toLowerCase(),sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:d},t))}var p=["Alt","Control","Meta","Shift"];function h(e){var t=new Set(e?p.filter((function(t){return e.getModifierState(t)})):[]);return function(e){return e.every((function(e){return t.has(e)}))&&e.length===t.size}}var m=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.wrapFocus=!1,o.isVertical=!0,o.isSingleSelectionList=!1,o.areDisabledItemsFocusable=!0,o.selectedIndex=a.nL.UNSET_INDEX,o.focusedItemIndex=a.nL.UNSET_INDEX,o.useActivatedClass=!1,o.useSelectedAttr=!1,o.ariaCurrentAttrValue=null,o.isCheckboxList=!1,o.isRadioList=!1,o.lastSelectedIndex=null,o.hasTypeahead=!1,o.typeaheadState={bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""},o.sortedIndexByFirstChar=new Map,o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return a.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return a.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return a.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},notifySelectionChange:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!1,configurable:!0}),t.prototype.layout=function(){0!==this.adapter.getListItemCount()&&(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))},t.prototype.getFocusedItemIndex=function(){return this.focusedItemIndex},t.prototype.setWrapFocus=function(e){this.wrapFocus=e},t.prototype.setVerticalOrientation=function(e){this.isVertical=e},t.prototype.setSingleSelection=function(e){this.isSingleSelectionList=e,e&&(this.maybeInitializeSingleSelection(),this.selectedIndex=this.getSelectedIndexFromDOM())},t.prototype.setDisabledItemsFocusable=function(e){this.areDisabledItemsFocusable=e},t.prototype.maybeInitializeSingleSelection=function(){var e=this.getSelectedIndexFromDOM();e!==a.nL.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(e,a.Y7.LIST_ITEM_ACTIVATED_CLASS)&&this.setUseActivatedClass(!0),this.isSingleSelectionList=!0,this.selectedIndex=e)},t.prototype.getSelectedIndexFromDOM=function(){for(var e=a.nL.UNSET_INDEX,t=this.adapter.getListItemCount(),n=0;n<t;n++){var r=this.adapter.listItemAtIndexHasClass(n,a.Y7.LIST_ITEM_SELECTED_CLASS),o=this.adapter.listItemAtIndexHasClass(n,a.Y7.LIST_ITEM_ACTIVATED_CLASS);if(r||o){e=n;break}}return e},t.prototype.setHasTypeahead=function(e){this.hasTypeahead=e,e&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex())},t.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&c(this.typeaheadState)},t.prototype.setUseActivatedClass=function(e){this.useActivatedClass=e},t.prototype.setUseSelectedAttribute=function(e){this.useSelectedAttr=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex},t.prototype.setSelectedIndex=function(e,t){void 0===t&&(t={}),this.isIndexValid(e)&&(this.isCheckboxList?this.setCheckboxAtIndex(e,t):this.isRadioList?this.setRadioAtIndex(e,t):this.setSingleSelectionAtIndex(e,t))},t.prototype.handleFocusIn=function(e){e>=0&&(this.focusedItemIndex=e,this.adapter.setAttributeForElementIndex(e,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(e,"0"))},t.prototype.handleFocusOut=function(e){var t=this;e>=0&&(this.adapter.setAttributeForElementIndex(e,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(e,"-1")),setTimeout((function(){t.adapter.isFocusInsideList()||t.setTabindexToFirstSelectedOrFocusedItem()}),0)},t.prototype.isIndexDisabled=function(e){return this.adapter.listItemAtIndexHasClass(e,a.Y7.LIST_ITEM_DISABLED_CLASS)},t.prototype.handleKeydown=function(e,t,n){var r,o=this,s="ArrowLeft"===(0,i.l5)(e),u="ArrowUp"===(0,i.l5)(e),c="ArrowRight"===(0,i.l5)(e),d="ArrowDown"===(0,i.l5)(e),p="Home"===(0,i.l5)(e),m="End"===(0,i.l5)(e),v="Enter"===(0,i.l5)(e),_="Spacebar"===(0,i.l5)(e),g=this.isVertical&&d||!this.isVertical&&c,y=this.isVertical&&u||!this.isVertical&&s,b="A"===e.key||"a"===e.key,E=h(e);if(this.adapter.isRootFocused()){if((y||m)&&E([]))e.preventDefault(),this.focusLastElement();else if((g||p)&&E([]))e.preventDefault(),this.focusFirstElement();else if(y&&E(["Shift"])&&this.isCheckboxList){e.preventDefault(),-1!==(C=this.focusLastElement())&&this.setSelectedIndexOnAction(C,!1)}else if(g&&E(["Shift"])&&this.isCheckboxList){e.preventDefault(),-1!==(C=this.focusFirstElement())&&this.setSelectedIndexOnAction(C,!1)}this.hasTypeahead&&f({event:e,focusItemAtIndex:function(e){o.focusItemAtIndex(e)},focusedItemIndex:-1,isTargetListItem:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(e){return o.isIndexDisabled(e)}},this.typeaheadState)}else{var x=this.adapter.getFocusedElementIndex();if(!(-1===x&&(x=n)<0)){if(g&&E([]))l(e),this.focusNextElement(x);else if(y&&E([]))l(e),this.focusPrevElement(x);else if(g&&E(["Shift"])&&this.isCheckboxList){l(e),-1!==(C=this.focusNextElement(x))&&this.setSelectedIndexOnAction(C,!1)}else if(y&&E(["Shift"])&&this.isCheckboxList){var C;l(e),-1!==(C=this.focusPrevElement(x))&&this.setSelectedIndexOnAction(C,!1)}else if(p&&E([]))l(e),this.focusFirstElement();else if(m&&E([]))l(e),this.focusLastElement();else if(p&&E(["Control","Shift"])&&this.isCheckboxList){if(l(e),this.isIndexDisabled(x))return;this.focusFirstElement(),this.toggleCheckboxRange(0,x,x)}else if(m&&E(["Control","Shift"])&&this.isCheckboxList){if(l(e),this.isIndexDisabled(x))return;this.focusLastElement(),this.toggleCheckboxRange(x,this.adapter.getListItemCount()-1,x)}else if(b&&E(["Control"])&&this.isCheckboxList)e.preventDefault(),this.checkboxListToggleAll(this.selectedIndex===a.nL.UNSET_INDEX?[]:this.selectedIndex,!0);else if((v||_)&&E([])){if(t){if((T=e.target)&&"A"===T.tagName&&v)return;if(l(e),this.isIndexDisabled(x))return;this.isTypeaheadInProgress()||(this.isSelectableList()&&this.setSelectedIndexOnAction(x,!1),this.adapter.notifyAction(x))}}else if((v||_)&&E(["Shift"])&&this.isCheckboxList){var T;if((T=e.target)&&"A"===T.tagName&&v)return;if(l(e),this.isIndexDisabled(x))return;this.isTypeaheadInProgress()||(this.toggleCheckboxRange(null!==(r=this.lastSelectedIndex)&&void 0!==r?r:x,x,x),this.adapter.notifyAction(x))}if(this.hasTypeahead)f({event:e,focusItemAtIndex:function(e){o.focusItemAtIndex(e)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(e){return o.isIndexDisabled(e)}},this.typeaheadState)}}},t.prototype.handleClick=function(e,t,n){var r,o=h(n);e!==a.nL.UNSET_INDEX&&(this.isIndexDisabled(e)||(o([])?(this.isSelectableList()&&this.setSelectedIndexOnAction(e,t),this.adapter.notifyAction(e)):this.isCheckboxList&&o(["Shift"])&&(this.toggleCheckboxRange(null!==(r=this.lastSelectedIndex)&&void 0!==r?r:e,e,e),this.adapter.notifyAction(e))))},t.prototype.focusNextElement=function(e){var t=this.adapter.getListItemCount(),n=e,r=null;do{if(++n>=t){if(!this.wrapFocus)return e;n=0}if(n===r)return-1;r=null!=r?r:n}while(!this.areDisabledItemsFocusable&&this.isIndexDisabled(n));return this.focusItemAtIndex(n),n},t.prototype.focusPrevElement=function(e){var t=this.adapter.getListItemCount(),n=e,r=null;do{if(--n<0){if(!this.wrapFocus)return e;n=t-1}if(n===r)return-1;r=null!=r?r:n}while(!this.areDisabledItemsFocusable&&this.isIndexDisabled(n));return this.focusItemAtIndex(n),n},t.prototype.focusFirstElement=function(){return this.focusNextElement(-1)},t.prototype.focusLastElement=function(){return this.focusPrevElement(this.adapter.getListItemCount())},t.prototype.focusInitialElement=function(){var e=this.getFirstSelectedOrFocusedItemIndex();return this.focusItemAtIndex(e),e},t.prototype.setEnabled=function(e,t){this.isIndexValid(e,!1)&&(t?(this.adapter.removeClassForElementIndex(e,a.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(e,a.P$.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(e,a.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(e,a.P$.ARIA_DISABLED,"true")))},t.prototype.setSingleSelectionAtIndex=function(e,t){if(void 0===t&&(t={}),this.selectedIndex!==e||t.forceUpdate){var n=a.Y7.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass&&(n=a.Y7.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex!==a.nL.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex,n),this.setAriaForSingleSelectionAtIndex(e),this.setTabindexAtIndex(e),e!==a.nL.UNSET_INDEX&&this.adapter.addClassForElementIndex(e,n),this.selectedIndex=e,t.isUserInteraction&&!t.forceUpdate&&this.adapter.notifySelectionChange([e])}},t.prototype.setAriaForSingleSelectionAtIndex=function(e){this.selectedIndex===a.nL.UNSET_INDEX&&(this.ariaCurrentAttrValue=this.adapter.getAttributeForElementIndex(e,a.P$.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue,n=t?a.P$.ARIA_CURRENT:a.P$.ARIA_SELECTED;if(this.selectedIndex!==a.nL.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,n,"false"),e!==a.nL.UNSET_INDEX){var r=t?this.ariaCurrentAttrValue:"true";this.adapter.setAttributeForElementIndex(e,n,r)}},t.prototype.getSelectionAttribute=function(){return this.useSelectedAttr?a.P$.ARIA_SELECTED:a.P$.ARIA_CHECKED},t.prototype.setRadioAtIndex=function(e,t){void 0===t&&(t={});var n=this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(e,!0),(this.selectedIndex!==e||t.forceUpdate)&&(this.selectedIndex!==a.nL.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,n,"false"),this.adapter.setAttributeForElementIndex(e,n,"true"),this.selectedIndex=e,t.isUserInteraction&&!t.forceUpdate&&this.adapter.notifySelectionChange([e]))},t.prototype.setCheckboxAtIndex=function(e,t){void 0===t&&(t={});for(var n=this.selectedIndex,r=t.isUserInteraction?new Set(n===a.nL.UNSET_INDEX?[]:n):null,o=this.getSelectionAttribute(),i=[],s=0;s<this.adapter.getListItemCount();s++){var l=null==r?void 0:r.has(s),u=e.indexOf(s)>=0;u!==l&&i.push(s),this.adapter.setCheckedCheckboxOrRadioAtIndex(s,u),this.adapter.setAttributeForElementIndex(s,o,u?"true":"false")}this.selectedIndex=e,t.isUserInteraction&&i.length&&this.adapter.notifySelectionChange(i)},t.prototype.toggleCheckboxRange=function(e,t,n){this.lastSelectedIndex=n;for(var o=new Set(this.selectedIndex===a.nL.UNSET_INDEX?[]:this.selectedIndex),i=!(null==o?void 0:o.has(n)),s=(0,r.zs)([e,t].sort(),2),l=s[0],u=s[1],c=this.getSelectionAttribute(),d=[],f=l;f<=u;f++){if(!this.isIndexDisabled(f))i!==o.has(f)&&(d.push(f),this.adapter.setCheckedCheckboxOrRadioAtIndex(f,i),this.adapter.setAttributeForElementIndex(f,c,""+i),i?o.add(f):o.delete(f))}d.length&&(this.selectedIndex=(0,r.fX)([],(0,r.zs)(o)),this.adapter.notifySelectionChange(d))},t.prototype.setTabindexAtIndex=function(e){this.focusedItemIndex===a.nL.UNSET_INDEX&&0!==e?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex>=0&&this.focusedItemIndex!==e&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1"),this.selectedIndex instanceof Array||this.selectedIndex===e||this.adapter.setAttributeForElementIndex(this.selectedIndex,"tabindex","-1"),e!==a.nL.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(e,"tabindex","0")},t.prototype.isSelectableList=function(){return this.isSingleSelectionList||this.isCheckboxList||this.isRadioList},t.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var e=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(e)},t.prototype.getFirstSelectedOrFocusedItemIndex=function(){return this.isSelectableList()?"number"==typeof this.selectedIndex&&this.selectedIndex!==a.nL.UNSET_INDEX?this.selectedIndex:this.selectedIndex instanceof Array&&this.selectedIndex.length>0?this.selectedIndex.reduce((function(e,t){return Math.min(e,t)})):0:Math.max(this.focusedItemIndex,0)},t.prototype.isIndexValid=function(e,t){var n=this;if(void 0===t&&(t=!0),e instanceof Array){if(!this.isCheckboxList&&t)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===e.length||e.some((function(e){return n.isIndexInRange(e)}))}if("number"==typeof e){if(this.isCheckboxList&&t)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return this.isIndexInRange(e)||this.isSingleSelectionList&&e===a.nL.UNSET_INDEX}return!1},t.prototype.isIndexInRange=function(e){var t=this.adapter.getListItemCount();return e>=0&&e<t},t.prototype.setSelectedIndexOnAction=function(e,t){this.lastSelectedIndex=e,this.isCheckboxList?(this.toggleCheckboxAtIndex(e,t),this.adapter.notifySelectionChange([e])):this.setSelectedIndex(e,{isUserInteraction:!0})},t.prototype.toggleCheckboxAtIndex=function(e,t){var n,r=this.getSelectionAttribute(),o=this.adapter.isCheckboxCheckedAtIndex(e);t?n=o:(n=!o,this.adapter.setCheckedCheckboxOrRadioAtIndex(e,n)),this.adapter.setAttributeForElementIndex(e,r,n?"true":"false");var i=this.selectedIndex===a.nL.UNSET_INDEX?[]:this.selectedIndex.slice();n?i.push(e):i=i.filter((function(t){return t!==e})),this.selectedIndex=i},t.prototype.focusItemAtIndex=function(e){this.adapter.focusItemAtIndex(e),this.focusedItemIndex=e},t.prototype.checkboxListToggleAll=function(e,t){var n=this.adapter.getListItemCount();if(e.length===n)this.setCheckboxAtIndex([],{isUserInteraction:t});else{for(var r=[],o=0;o<n;o++)(!this.isIndexDisabled(o)||e.indexOf(o)>-1)&&r.push(o);this.setCheckboxAtIndex(r,{isUserInteraction:t})}},t.prototype.typeaheadMatchItem=function(e,t,n){var r=this;return void 0===n&&(n=!1),u({focusItemAtIndex:function(e){r.focusItemAtIndex(e)},focusedItemIndex:t||this.focusedItemIndex,nextChar:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:n,isItemAtIndexDisabled:function(e){return r.isIndexDisabled(e)}},this.typeaheadState)},t.prototype.typeaheadInitSortedIndex=function(){return function(e,t){for(var n=new Map,r=0;r<e;r++){var o=t(r).trim();if(o){var i=o[0].toLowerCase();n.has(i)||n.set(i,[]),n.get(i).push({text:o.toLowerCase(),index:r})}}return n.forEach((function(e){e.sort((function(e,t){return e.index-t.index}))})),n}(this.adapter.getListItemCount(),this.adapter.getPrimaryTextAtIndex)},t.prototype.clearTypeaheadBuffer=function(){d(this.typeaheadState)},t}(o.I)},function(e,t,n){n.d(t,{$:function(){return s}});var r=n(2),o=n(5),i=n(17),a=n(65),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.shake=function(e){this.foundation.shake(e)},t.prototype.float=function(e){this.foundation.float(e)},t.prototype.setRequired=function(e){this.foundation.setRequired(e)},t.prototype.getWidth=function(){return this.foundation.getWidth()},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},getWidth:function(){return(0,i.et)(e.root)},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)}};return new a.K(t)},t}(o.O)},function(e,t,n){n.d(t,{K:function(){return a}});var r=n(2),o=n(4),i=n(78),a=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.shakeAnimationEndHandler=function(){o.handleShakeAnimationEnd()},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.Y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},t.prototype.getWidth=function(){return this.adapter.getWidth()},t.prototype.shake=function(e){var n=t.cssClasses.LABEL_SHAKE;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.float=function(e){var n=t.cssClasses,r=n.LABEL_FLOAT_ABOVE,o=n.LABEL_SHAKE;e?this.adapter.addClass(r):(this.adapter.removeClass(r),this.adapter.removeClass(o))},t.prototype.setRequired=function(e){var n=t.cssClasses.LABEL_REQUIRED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleShakeAnimationEnd=function(){var e=t.cssClasses.LABEL_SHAKE;this.adapter.removeClass(e)},t}(o.I)},function(e,t,n){n.d(t,{l:function(){return a}});var r=n(2),o=n(5),i=n(79),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.setRippleCenter=function(e){this.foundation.setRippleCenter(e)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},setStyle:function(t,n){return e.root.style.setProperty(t,n)},registerEventHandler:function(t,n){return e.listen(t,n)},deregisterEventHandler:function(t,n){return e.unlisten(t,n)}};return new i.C(t)},t}(o.O)},function(e,t,n){n.d(t,{i:function(){return l}});var r=n(2),o=n(5),i=n(65),a=n(68),s=n(81),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){this.notchElement=this.root.querySelector(a.P$.NOTCH_ELEMENT_SELECTOR);var e=this.root.querySelector("."+i.K.cssClasses.ROOT);e?(e.style.transitionDuration="0s",this.root.classList.add(a.Y7.OUTLINE_UPGRADED),requestAnimationFrame((function(){e.style.transitionDuration=""}))):this.root.classList.add(a.Y7.NO_LABEL)},t.prototype.notch=function(e){this.foundation.notch(e)},t.prototype.closeNotch=function(){this.foundation.closeNotch()},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},setNotchWidthProperty:function(t){e.notchElement.style.setProperty("width",t+"px")},removeNotchWidthProperty:function(){e.notchElement.style.removeProperty("width")}};return new s.z(t)},t}(o.O)},function(e,t,n){n.d(t,{P$:function(){return r},Y7:function(){return i},nL:function(){return o}});
|
|
374
|
+
var r={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-ripple-upgraded--foreground-activation",FG_DEACTIVATION:"mdc-ripple-upgraded--foreground-deactivation",ROOT:"mdc-ripple-upgraded",UNBOUNDED:"mdc-ripple-upgraded--unbounded"},o={VAR_FG_SCALE:"--mdc-ripple-fg-scale",VAR_FG_SIZE:"--mdc-ripple-fg-size",VAR_FG_TRANSLATE_END:"--mdc-ripple-fg-translate-end",VAR_FG_TRANSLATE_START:"--mdc-ripple-fg-translate-start",VAR_LEFT:"--mdc-ripple-left",VAR_TOP:"--mdc-ripple-top"},i={DEACTIVATION_TIMEOUT_MS:225,FG_DEACTIVATION_MS:150,INITIAL_ORIGIN_SCALE:.6,PADDING:10,TAP_DELAY_MS:300}},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(86),a=o.createComponent((function(e,t){var n;n=e,o.useFoundation({props:n,elements:{},foundation:()=>new i.MDCFormFieldFoundation({registerInteractionHandler:(e,t)=>{},deregisterInteractionHandler:(e,t)=>{},activateInputRipple:()=>{},deactivateInputRipple:()=>{}})});const{alignEnd:a,foundationRef:s,noWrap:l,spaceBetween:u,...c}=e,d=o.useClassNames(e,["mdc-form-field",{"mdc-form-field--align-end":a,"mdc-form-field--nowrap":l,"mdc-form-field--space-between":u}]);return r.jsx(o.Tag,{...c,ref:t,className:d})}));t.FormField=a},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(59),a=n(3),s=n(90),l=n(91),u=n(92),c={bottomEnd:"BOTTOM_END",bottomLeft:"BOTTOM_LEFT",bottomRight:"BOTTOM_RIGHT",bottomStart:"BOTTOM_START",topEnd:"TOP_END",topLeft:"TOP_LEFT",topRight:"TOP_RIGHT",topStart:"TOP_START"},d=(e,t)=>{const[n,r]=o.useState(e.open),i=o.useRef(null),u=o.useRef(null),d=o.useRef(null),f=o.useRef(null),{foundation:p,...h}=a.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e,rootEl:t})=>({setAnchorCorner:t=>e.setAnchorCorner(t),setAnchorElement:e=>d.current=e,setOpen:e=>r(e),getSurfaceElement:()=>t.ref}),foundation:({rootEl:e,getProps:t,emit:n})=>{const o=e=>{p.handleBodyClick(e)},i=()=>{document.body.removeEventListener("click",o),document.body.removeEventListener("touchstart",o)},c=new s.MDCMenuSurfaceFoundation({addClass:t=>{e.addClass(t)},removeClass:t=>{e.removeClass(t)},hasClass:t=>"mdc-menu-surface"===t||e.hasClass(t),hasAnchor:()=>!!d.current,notifyClose:()=>{i(),r(!1)},notifyClosing:()=>n(s.MDCMenuSurfaceFoundation.strings.CLOSING_EVENT,{}),notifyOpen:()=>{n("onOpen",{}),setTimeout((()=>{document.body.addEventListener("click",o),document.body.addEventListener("touchstart",o)}),150)},notifyOpening:()=>n(s.MDCMenuSurfaceFoundation.strings.OPENING_EVENT,{}),isElementInContainer:t=>e.ref===t||!!e.ref&&e.ref.contains(t),isRtl:()=>!!e.ref&&"rtl"===getComputedStyle(e.ref).getPropertyValue("direction"),setTransformOrigin:t=>{const n=`${l.getCorrectPropertyName(window,"transform")}-origin`;e.setStyle(n,t)},isFocused:()=>document.activeElement===e.ref,saveFocus:()=>{u.current=document.activeElement},restoreFocus:()=>{e.ref&&e.ref.contains(document.activeElement)&&u.current&&u.current.focus&&u.current.focus()},getInnerDimensions:()=>({width:e.ref?e.ref.offsetWidth:0,height:e.ref?e.ref.offsetHeight:0}),getAnchorDimensions:()=>{var e;return(null==(e=d.current)?void 0:e.getBoundingClientRect())||a.emptyClientRect},getWindowDimensions:()=>({width:window.innerWidth,height:window.innerHeight}),getBodyDimensions:()=>({width:document.body.clientWidth,height:document.body.clientHeight}),getWindowScroll:()=>({x:window.pageXOffset,y:window.pageYOffset}),setPosition:t=>{e.setStyle("left",void 0!==t.left?t.left:null),e.setStyle("right",void 0!==t.right?t.right:null),e.setStyle("top",void 0!==t.top?t.top:null),e.setStyle("bottom",void 0!==t.bottom?t.bottom:null)},setMaxHeight:t=>{e.setStyle("maxHeight",t)}}),h=c.close.bind(c);c.close=(e=!1)=>{n("onClose",{}),f.current=window.setTimeout((()=>{t().open||h(e)}))};const _=c.destroy.bind(c);return c.destroy=()=>{i(),_()},c}}),{rootEl:_}=h,{onKeyDown:m}=e,v=o.useCallback((e=>{null==m||m(e),p.handleKeydown(e)}),[m,p]);return _.setProp("onKeyDown",v,!0),o.useEffect((()=>{p.setFixedPosition(!!e.fixed)}),[e.fixed,p]),o.useEffect((()=>{const e=(null==t?void 0:t.current)||_.ref;if(e){const t=a.closest(e,`.${s.MDCMenuSurfaceFoundation.cssClasses.ANCHOR}`);t&&(d.current=t)}}),[t,_.ref]),o.useEffect((()=>{e.renderToPortal?p.setIsHoisted(!0):p.setIsHoisted(!1);const t=e.renderToPortal?()=>{try{p.autoposition()}catch{}}:()=>{};return a.raf((()=>{p.isOpen()})),window.addEventListener("resize",t),()=>{window.removeEventListener("resize",t)}}),[e.renderToPortal,p]),o.useEffect((()=>{const t=e.anchorCorner&&(e=>s.MDCMenuSurfaceFoundation.Corner[c[e]])(e.anchorCorner);if(void 0!==t){p.setAnchorCorner(t),p.dimensions=p.adapter.getInnerDimensions();try{p.autoposition()}catch{}}}),[e.anchorCorner,p]),o.useEffect((()=>{if(n){const e=_.ref?_.ref.querySelectorAll(s.MDCMenuSurfaceFoundation.strings.FOCUSABLE_ELEMENTS):[];i.current=e.length>0?e[0]:null,p.open()}else p.isOpen()&&p.close()}),[n,p,_.ref]),o.useEffect((()=>{r(!!e.open)}),[e.open]),o.useEffect((()=>()=>{f.current&&window.clearTimeout(f.current)}),[]),{...h}},f=a.createComponent((function(e,t){const{children:n,open:i,anchorCorner:s,onOpen:l,onClose:u,renderToPortal:c,fixed:f,apiRef:p,foundationRef:h,..._}=e,m=o.useRef(null),{rootEl:v}=d(e,m),g=a.useClassNames(e,["mdc-menu-surface",{"mdc-menu-surface--fixed":f}]);return r.jsx(r.Fragment,{children:r.jsx(a.PortalChild,{renderTo:c,menuSurfaceDomPositionRef:m,children:r.jsx(a.Tag,{..._,element:v,className:g,ref:t,children:n})})})})),p=a.createComponent((function(e,t){const n=a.useClassNames(e,["mdc-menu-surface--anchor"]);return r.jsx(a.Tag,{...e,className:n,ref:t})})),h=a.createComponent((function(e,t){const n=a.useClassNames(e,["mdc-list mdc-menu__items"]);return r.jsx(i.List,{role:"menu",...e,className:n,ref:t})}));h.displayName="MenuItems";const _=a.createComponent((function(e,t){return r.jsx(i.ListItem,{role:"menuitem",tabIndex:0,...e,ref:t})})),m=e=>"MenuItems"===a.getDisplayName(e),v=a.createComponent((function(e,t){const{children:n,focusOnOpen:i,onSelect:s,foundationRef:l,...c}=e,{rootEl:d,setListApi:p,setMenuSurfaceApi:_}=(e=>{const t=o.useRef(),n=o.useRef(),r=o.useCallback((()=>{var e;return(null==(e=n.current)?void 0:e.listElements())||[]}),[]),{foundation:i,...s}=a.useFoundation({props:{...e,apiRef:void 0},elements:{rootEl:!0},foundation:({emit:e})=>new u.MDCMenuFoundation({addClassToElementAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.addClassToElementIndex(...e)},removeClassFromElementAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.removeClassFromElementAtIndex(...e)},addAttributeToElementAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.setAttributeForElementIndex(...e)},removeAttributeFromElementAtIndex:(e,t)=>{r()[e].removeAttribute(t)},elementContainsClass:(e,t)=>e.classList.contains(t),closeSurface:()=>{var e;null==(e=t.current)||e.setOpen(!1)},getElementIndex:e=>r().indexOf(e),notifySelected:t=>e("onSelect",{index:t.index,item:r()[t.index]}),getMenuItemCount:()=>{var e;return(null==(e=n.current)?void 0:e.getListItemCount())||0},focusItemAtIndex:(...e)=>{var t;return null==(t=n.current)?void 0:t.focusItemAtIndex(...e)},focusListRoot:()=>{var e;return null==(e=n.current)?void 0:e.focusRoot()}})}),{rootEl:l}=s,{onClick:c}=e,d=o.useCallback((e=>{null==c||c(e);const t=a.closest(e.target,".mdc-deprecated-list-item");t&&i.handleItemAction(t)}),[i,c]),{onKeyDown:f}=e,p=o.useCallback((e=>{null==f||f(e),i.handleKeydown(e),13===e.which&&e.target instanceof Element&&n.current&&e.target.classList.contains(n.current.getClasses())&&i.handleItemAction(e.target)}),[i,f]),{onOpen:h,focusOnOpen:_}=e,m=o.useCallback((e=>{const t=r();(_||void 0===_)&&t.length>0&&!t.some((e=>e===document.activeElement))&&t[0].focus(),null==h||h(e)}),[h,_,r]);l.setProp("onKeyDown",p,!0),l.setProp("onClick",d,!0),l.setProp("onOpen",m,!0);const v=n.current&&t.current&&e.apiRef;return o.useEffect((()=>{n.current&&t.current&&e.apiRef&&e.apiRef({...n.current,...t.current,items:r})}),[v,r]),{setListApi:e=>{n.current=e},setMenuSurfaceApi:e=>{t.current=e},...s}})(e),v=(o.Children.map(n,m)||[]).every((e=>!1===e)),g={apiRef:p};return r.jsx(f,{...d.props(c),className:a.classNames("mdc-menu",c.className),apiRef:_,ref:t,children:v?r.jsx(h,{...g,children:n}):o.Children.map(n,(e=>m(e)?o.cloneElement(e,{...o.isValidElement(e)?e.props:{},...g}):e))})})),g=e=>function(t){const[n,i]=o.useState(!!t.open);o.useEffect((()=>{void 0!==t.open&&t.open!==n&&i(!!t.open)}),[t.open,n]);const{handle:a,onClose:s,children:l,rootProps:u={},open:c,foundationRef:d,...f}=t,h=o.cloneElement(a,{...a.props,onClick:e=>{i(!n),a.props.onClick&&a.props.onClick(e)}}),_=e;return r.jsxs(p,{...u,children:[r.jsx(_,{...f,onClose:e=>{i(!!c||!1),null==s||s(e)},open:n,children:l}),h]})},b=g(v),y=g(f);t.Menu=v,t.MenuItem=_,t.MenuItems=h,t.MenuSurface=f,t.MenuSurfaceAnchor=p,t.SimpleMenu=b,t.SimpleMenuSurface=y},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(89),s=n(14),l=n(18);const u=function(e){const t=Object.create(null,{[Symbol.toStringTag]:{value:"Module"}});if(e)for(const n in e)if("default"!==n){const r=Object.getOwnPropertyDescriptor(e,n);Object.defineProperty(t,n,r.get?r:{enumerable:!0,get:()=>e[n]})}return t.default=e,Object.freeze(t)}(o),c=e=>{if(!e)return!1;const t=e.getAttribute("tabindex");return!!(t&&Number(t)>=0)&&(e.focus(),!0)},d=(e,t)=>{if(!e)return null;const n=t?e.previousElementSibling:e.nextElementSibling;return null===n?d(e.parentElement,t):n},f=class extends o.Component{constructor(e){super(e),this.childContainer=null,this.root=null,this.rafId=null,this.timerId=null,this.state={open:!!this.props.defaultOpen||!!this.props.open,childrenStyle:{}},this.handleClick=this.handleClick.bind(this),this.handleKeydown=this.handleKeydown.bind(this),this.handleFocus=this.handleFocus.bind(this)}static getDerivedStateFromProps(e,t){return void 0!==e.open&&e.open!==t.open?{...t,open:e.open}:t}componentDidMount(){this.syncOpenState()}componentDidUpdate(e,t){t.open!==this.state.open&&this.syncOpenState()}componentWillUnmount(){this.rafId&&window.cancelAnimationFrame(this.rafId),this.timerId&&window.clearTimeout(this.timerId)}syncOpenState(){const{onOpen:e,onClose:t}=this.props,n={maxHeight:this.childContainer?`${this.childContainer.offsetHeight}px`:"0px"};this.setState({childrenStyle:n},(()=>{this.state.open?(e&&e(),this.timerId=window.setTimeout((()=>{this.state.open&&this.setState({childrenStyle:{maxHeight:"none"}})}),300)):(t&&t(),this.rafId=window.requestAnimationFrame((()=>{this.setState({childrenStyle:{}})})))}))}correctFocus(e){this.rafId=window.requestAnimationFrame((()=>{if(!this.state.open&&this.root&&this.root.contains(document.activeElement)){const t=d(this.root,e);if(c(t))return;if(t){const e=t.querySelectorAll("[tabindex]");for(let t=0;t<e.length&&!c(e[t]);t++);}}}))}toggleOpen(e){this.setState({open:e})}handleClick(e){const{handle:t}=this.props;t.props.onClick&&t.props.onClick(e),this.toggleOpen(!this.state.open)}handleKeydown(e){const{handle:t}=this.props;switch(t.props.onKeyDown&&t.props.onKeyDown(e),e.key){case"Enter":return void this.toggleOpen(!this.state.open);case"ArrowRight":return void this.toggleOpen(!0);case"ArrowUp":case"ArrowDown":case"Tab":const t=e.shiftKey||"ArrowUp"===e.key;return void this.correctFocus(t);case"ArrowLeft":return void this.toggleOpen(!1)}}handleFocus(e){if(!this.state.open&&this.root&&this.childContainer&&this.childContainer.contains(document.activeElement)){const e=this.root.querySelector(".rmwc-collapsible-list__handle .mdc-deprecated-list-item");e&&e.focus()}}render(){const{children:e,handle:t,onOpen:n,onClose:a,open:s,defaultOpen:l,className:u,...c}=this.props,{open:d,childrenStyle:f}=this.state;return r.jsxs(i.Tag,{...c,onFocus:this.handleFocus,ref:e=>this.root=e,className:i.classNames("rmwc-collapsible-list",u,{"rmwc-collapsible-list--open":d}),children:[r.jsx("div",{className:"rmwc-collapsible-list__handle",children:o.cloneElement(t,{...t.props,onClick:this.handleClick,onKeyDown:this.handleKeydown})}),r.jsx("div",{className:"rmwc-collapsible-list__children",style:f,children:r.jsx("div",{className:"rmwc-collapsible-list__children-inner",ref:e=>this.childContainer=e,children:e})})]})}};f.displayName="CollapsibleList";let p=f;const h=e=>{const t=o.useCallback((e=>e?[].slice.call(e.querySelectorAll(`.${a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS]}`)):[]),[]),[n,r]=o.useState({}),[s,l]=o.useState(void 0),{foundation:u,...c}=i.useFoundation({props:e,api:({rootEl:e,foundation:n})=>{const r=n.adapter;return{listElements:()=>t(e.ref),focusRoot:()=>null==e?void 0:e.ref.focus(),getClasses:()=>a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS],addClassToElementIndex:r.addClassForElementIndex,removeClassFromElementAtIndex:r.removeClassForElementIndex,setAttributeForElementIndex:r.setAttributeForElementIndex,getListItemCount:r.getListItemCount,focusItemAtIndex:r.focusItemAtIndex,selectedIndex:a.MDCListFoundation.numbers.UNSET_INDEX,setSelectedIndex:e=>n.setSelectedIndex(e)}},elements:{rootEl:!0},foundation:({rootEl:e,emit:n})=>new a.MDCListFoundation({getListItemCount:()=>t(e.ref).length,getFocusedElementIndex:()=>t(e.ref).indexOf(document.activeElement),getAttributeForElementIndex:(n,r)=>t(e.ref)[n].getAttribute(r),listItemAtIndexHasClass:(n,r)=>{const o=t(e.ref)[n];return!(null==o||!o.classList.contains(a.deprecatedClassNameMap[r]))},setAttributeForElementIndex:(n,r,o)=>{"tabindex"===r&&(r="tabIndex");const i=t(e.ref)[n];i&&i.setAttribute(r,String(o))},addClassForElementIndex:(e,t)=>{r((n=>n[e]&&n[e].indexOf(t)>-1?n:n[e]&&-1===n[e].indexOf(t)?{...n,[e]:[...n[e],t]}:{...n,[e]:[t]}))},removeClassForElementIndex:(e,t)=>{r((n=>n[e]&&n[e].indexOf(t)>-1?{...n,[e]:n[e].filter((e=>e!==t))}:n))},focusItemAtIndex:n=>{const r=t(e.ref)[n];r&&r.focus()},setTabIndexForListItemChildren:(n,r)=>{const o=t(e.ref)[n];[].slice.call(o.querySelectorAll(a.MDCListFoundation.strings.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX)).forEach((e=>e.setAttribute("tabindex",String(r))))},hasCheckboxAtIndex:n=>!!t(e.ref)[n].querySelector(a.MDCListFoundation.strings.CHECKBOX_SELECTOR),hasRadioAtIndex:n=>!!t(e.ref)[n].querySelector(a.MDCListFoundation.strings.RADIO_SELECTOR),isCheckboxCheckedAtIndex:n=>{const r=t(e.ref)[n].querySelector(a.MDCListFoundation.strings.CHECKBOX_SELECTOR);return!!r&&r.checked},setCheckedCheckboxOrRadioAtIndex:(n,r)=>{const o=t(e.ref)[n].querySelector(a.MDCListFoundation.strings.CHECKBOX_RADIO_SELECTOR);if(o){o.checked=r;const e=document.createEvent("Event");e.initEvent("change",!0,!0),o.dispatchEvent(e)}},notifyAction:e=>n("onAction",{index:e}),notifySelectionChange:e=>n(a.strings.SELECTION_CHANGE_EVENT,{changedIndices:e},!0),isFocusInsideList:()=>{var t;return!(null==(t=e.ref)||!t.contains(document.activeElement))},isRootFocused:()=>document.activeElement===e.ref,getPrimaryTextAtIndex:n=>(e=>{const t=e.querySelector(`.${a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_PRIMARY_TEXT_CLASS]}`);if(t)return(null==t?void 0:t.textContent)??"";const n=e.querySelector(`.${a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_TEXT_CLASS]}`);return n&&n.textContent||""})(t(e.ref)[n])})}),{rootEl:d}=c,f=o.useCallback((e=>{let n=e.target,r=-1;for(;n&&!n.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS])&&!n.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.ROOT]);)n=n.parentElement;return n&&n.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS])&&(r=t(d.ref).indexOf(n)),r}),[t,d.ref]),{onClick:p}=e,h=o.useCallback((e=>{null==p||p(e);const t=f(e),n=!i.matches(e.target,a.MDCListFoundation.strings.CHECKBOX_RADIO_SELECTOR);u.handleClick(t,n)}),[f,u,p]),{onKeyDown:_}=e,m=o.useCallback((e=>{null==_||_(e);const t=f(e);t>=0&&u.handleKeydown(e,e.target instanceof Element&&e.target.classList.contains(a.deprecatedClassNameMap[a.MDCListFoundation.cssClasses.LIST_ITEM_CLASS]),t)}),[f,u,_]),{onFocus:v}=e,g=o.useCallback((e=>{null==v||v(e),u.handleFocusIn(f(e))}),[f,u,v]),{onBlur:b}=e,y=o.useCallback((e=>{null==b||b(e),u.handleFocusOut(f(e))}),[f,u,b]);d.setProp("onClick",h,!0),d.setProp("onKeyDown",m,!0),d.setProp("onFocus",g,!0),d.setProp("onBlur",y,!0);const E=o.useCallback((()=>{if(e.role)return l(e.role);if(!d.ref)return;const t=!!e.selectedIndex||!!d.ref.querySelector(`\n .${a.MDCListFoundation.cssClasses.LIST_ITEM_ACTIVATED_CLASS},\n .${a.MDCListFoundation.cssClasses.LIST_ITEM_SELECTED_CLASS}\n `),n=!!d.ref.querySelector(a.MDCListFoundation.strings.CHECKBOX_SELECTOR),r=!!d.ref.querySelector(a.MDCListFoundation.strings.RADIO_SELECTOR);return n?l("group"):r?l("radiogroup"):t?l("listbox"):void 0}),[e.role,e.selectedIndex,d.ref]);return o.useEffect((()=>{u.layout(),E()}),[u,E]),o.useEffect((()=>{u.setWrapFocus(e.wrapFocus||void 0===e.wrapFocus)}),[u,e.wrapFocus]),o.useEffect((()=>{u.setVerticalOrientation(e.vertical||void 0===e.vertical)}),[u,e.vertical]),o.useEffect((()=>{void 0!==e.selectedIndex&&u.setSelectedIndex(e.selectedIndex)}),[u,e.selectedIndex]),o.useEffect((()=>{s&&u.setSingleSelection("listbox"===s)}),[u,s]),{...c,listItemClasses:n,setEnabled:(e,t)=>{u.setEnabled(e,t)},role:s}},_=u.createContext({getClassName:e=>[],setEnabled:(e,t)=>{}}),m=i.createComponent((function(e,t){const{dense:n,twoLine:a,avatarList:s,apiRef:l,nonInteractive:u,onAction:c,foundationRef:d,wrapFocus:f,vertical:p,selectedIndex:m,children:v,...g}=e,{rootEl:b,listItemClasses:y,setEnabled:E,role:x}=h(e),T={getClassName:e=>y[e]||[],setEnabled:E},C=i.useClassNames(e,["mdc-deprecated-list",{"mdc-deprecated-list--dense":n,"mdc-deprecated-list--two-line":a,"mdc-deprecated-list--avatar-list":s,"mdc-deprecated-list--non-interactive":u}]);return r.jsx(_.Provider,{value:T,children:r.jsx(i.Tag,{tag:"ul",...g,element:b,role:x,className:C,ref:t,children:["group","radiogroup","listbox"].some((e=>e===x))?o.Children.map(v,(e=>(e=>"ListItem"===i.getDisplayName(e))(e)?o.cloneElement(e,{..."group"===x?{role:"checkbox"}:"radiogroup"===x?{role:"radio"}:"listbox"===x?{role:"option"}:{},...o.isValidElement(e)?e.props:{}}):e)):v})})})),v=s.withRipple({surface:!1})(i.createComponent((function(e,t){const n=o.createRef(),a=t?i.mergeRefs(t,n):n,l=o.useContext(_),[u,c]=o.useState(-1),d=o.useCallback((()=>{const e=f(n.current);return e?e.indexOf(n.current):-1}),[n]),f=e=>{var t;return e?[].slice.call(null==(t=e.parentNode)?void 0:t.querySelectorAll(".mdc-deprecated-list-item")):[]};o.useEffect((()=>{n.current&&-1===u&&c(d())}),[n,u,d]),o.useEffect((()=>{u>-1&&void 0!==e.disabled&&l.setEnabled(u,!e.disabled)}),[u,e.disabled,l]);const{selected:p,activated:h,disabled:m,...v}=e,g=i.useClassNames(e,["mdc-deprecated-list-item",{"mdc-deprecated-list-item--selected":e.selected,"mdc-deprecated-list-item--activated":e.activated,"mdc-deprecated-list-item--disabled":e.disabled}]);return r.jsxs(i.Tag,{tag:"li",tabIndex:0,...v,className:g,ref:a,children:[r.jsx(s.RippleSurface,{className:"mdc-deprecated-list-item__ripple"}),v.children]})})));v.displayName="ListItem";const g=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__text"]);return r.jsx(i.Tag,{tag:"span",...e,ref:t,className:n})})),b=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__primary-text"]);return r.jsx(i.Tag,{tag:"span",...e,ref:t,className:n})})),y=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__secondary-text"]);return r.jsx(i.Tag,{tag:"span",...e,ref:t,className:n})})),E=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__graphic"]);return r.jsx(l.Icon,{...e,"aria-hidden":"true",ref:t,className:n})})),x=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-item__meta"]);if(e.icon)return r.jsx(l.Icon,{...e,"aria-hidden":"true",ref:t,className:n});if(o.isValidElement(e.children)){const{children:t,...r}=e;return o.cloneElement(e.children,{...r,...e.children.props,className:i.classNames(n,e.children.props.className)})}return r.jsx(i.Tag,{...e,ref:t,className:n})})),T=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-group"]);return r.jsx(i.Tag,{...e,ref:t,className:n,role:"group"})})),C=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-group__subheader"]);return r.jsx(i.Tag,{...e,ref:t,className:n})})),A=i.createComponent((function(e,t){const n=i.useClassNames(e,["mdc-deprecated-list-divider"]);return r.jsx(i.Tag,{tag:"li",role:"separator",...e,ref:t,className:n})})),w=i.createComponent((({text:e,secondaryText:t,graphic:n,metaIcon:o,meta:i,children:a,...l},u)=>{const c=e&&void 0!==t?r.jsx(b,{children:e}):e,d=void 0!==t?r.jsx(y,{children:t}):null;return r.jsxs(v,{...l,ref:u,children:[r.jsx(s.RippleSurface,{className:"mdc-deprecated-list-item__ripple"}),void 0!==n&&r.jsx(E,{icon:n}),null!==d?r.jsxs(g,{children:[c,d]}):c,(!!i||!!o)&&r.jsx(x,{icon:o,children:i}),a]})}));t.CollapsibleList=p,t.List=m,t.ListDivider=A,t.ListGroup=T,t.ListGroupSubheader=C,t.ListItem=v,t.ListItemGraphic=E,t.ListItemMeta=x,t.ListItemPrimaryText=b,t.ListItemSecondaryText=y,t.ListItemText=g,t.SimpleListItem=w},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(93),a=n(0),s=o.createComponent((function(e,t){const{rootEl:n}=(e=>{const{foundation:t,...n}=o.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e})=>({getWidth(){return e.getWidth()},setRequired(t){return e.setRequired(t)}}),foundation:({rootEl:e})=>new i.MDCFloatingLabelFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),getWidth:()=>{var t;return(null==(t=e.ref)?void 0:t.scrollWidth)||0},registerInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterInteractionHandler:(t,n)=>e.removeEventListener(t,n)})});return a.useEffect((()=>{t.shake(!!e.shake)}),[e.shake,t]),a.useEffect((()=>{t.float(!!e.float)}),[e.float,t]),{foundation:t,...n}})(e),{shake:s,float:l,apiRef:u,...c}=e;return r.jsx("label",{...n.props({...c,className:"mdc-floating-label"}),ref:o.mergeRefs(n.reactRef,t)})}));t.FloatingLabel=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(94),i=n(3),a=n(0),s=i.createComponent((function(e,t){const{active:n,center:s,...l}=e,{rootEl:u}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},foundation:({rootEl:e})=>new o.MDCLineRippleFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),hasClass:t=>e.hasClass(t),setStyle:(t,n)=>e.setStyle(t,n),registerEventHandler:(t,n)=>e.addEventListener(t,n),deregisterEventHandler:(t,n)=>e.removeEventListener(t,n)})}),{rootEl:r}=n;return a.useEffect((()=>{e.active?t.activate():t.deactivate()}),[e.active,t]),a.useEffect((()=>{"number"==typeof e.center&&t.setRippleCenter(e.center)}),[e.center,t]),r.setProp("onTransitionEnd",(e=>t.handleTransitionEnd(e)),!0),{foundation:t,...n}})(e);return r.jsx(i.Tag,{...l,tag:"span",element:u,className:"mdc-line-ripple",ref:t})}));t.LineRipple=s},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(95),a=n(3),s=a.createComponent((function(e,t){const{children:n,...s}=e,{rootEl:c,notchedEl:d}=(e=>{const{foundation:t,...n}=a.useFoundation({props:e,elements:{rootEl:!0,notchedEl:!0},foundation:({rootEl:e,notchedEl:t})=>new i.MDCNotchedOutlineFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),setNotchWidthProperty:e=>t.setStyle("width",e+"px"),removeNotchWidthProperty:()=>t.setStyle("width","")})}),{rootEl:r}=n,s=o.useRef();return o.useEffect((()=>{e.notch?t.notch(e.notch):t.closeNotch()}),[e.notch,t]),o.useEffect((()=>{var e;s.current=(null==(e=r.ref)?void 0:e.querySelector(".mdc-floating-label"))||void 0;const t=s.current;t?(t.style.transitionDuration="0s",r.addClass(i.MDCNotchedOutlineFoundation.cssClasses.OUTLINE_UPGRADED),requestAnimationFrame((()=>{t&&(t.style.transitionDuration="")}))):r.addClass(i.MDCNotchedOutlineFoundation.cssClasses.NO_LABEL)}),[r]),{foundation:t,...n}})(e);return r.jsxs(a.Tag,{...s,element:c,className:"mdc-notched-outline",ref:t,children:[r.jsx(l,{}),r.jsx("div",{...d.props({className:"mdc-notched-outline__notch"}),ref:d.reactRef,children:n}),r.jsx(u,{})]})})),l=o.memo((function(){return r.jsx("div",{className:"mdc-notched-outline__leading"})})),u=o.memo((function(){return r.jsx("div",{className:"mdc-notched-outline__trailing"})}));t.NotchedOutline=s},function(e,t,n){n.d(t,{Y:function(){return _}});var r=n(2),o=n(4),i=n(82),a=n(43),s=["input","button","textarea","select"],l=function(e){var t=e.target;if(t){var n=(""+t.tagName).toLowerCase();-1===s.indexOf(n)&&e.preventDefault()}};function u(e,t){var n,r=e.nextChar,o=e.focusItemAtIndex,i=e.sortedIndexByFirstChar,s=e.focusedItemIndex,l=e.skipFocus,u=e.isItemAtIndexDisabled;return clearTimeout(t.bufferClearTimeout),t.bufferClearTimeout=setTimeout((function(){d(t)}),a.nL.TYPEAHEAD_BUFFER_CLEAR_TIMEOUT_MS),t.typeaheadBuffer=t.typeaheadBuffer+r,n=1===t.typeaheadBuffer.length?function(e,t,n,r){var o=r.typeaheadBuffer[0],i=e.get(o);if(!i)return-1;if(o===r.currentFirstChar&&i[r.sortedIndexCursor].index===t){r.sortedIndexCursor=(r.sortedIndexCursor+1)%i.length;var a=i[r.sortedIndexCursor].index;if(!n(a))return a}r.currentFirstChar=o;var s,l=-1;for(s=0;s<i.length;s++)if(!n(i[s].index)){l=s;break}for(;s<i.length;s++)if(i[s].index>t&&!n(i[s].index)){l=s;break}if(-1!==l)return r.sortedIndexCursor=l,i[r.sortedIndexCursor].index;return-1}(i,s,u,t):function(e,t,n){var r=n.typeaheadBuffer[0],o=e.get(r);if(!o)return-1;var i=o[n.sortedIndexCursor];if(0===i.text.lastIndexOf(n.typeaheadBuffer,0)&&!t(i.index))return i.index;var a=(n.sortedIndexCursor+1)%o.length,s=-1;for(;a!==n.sortedIndexCursor;){var l=o[a],u=0===l.text.lastIndexOf(n.typeaheadBuffer,0),c=!t(l.index);if(u&&c){s=a;break}a=(a+1)%o.length}if(-1!==s)return n.sortedIndexCursor=s,o[n.sortedIndexCursor].index;return-1}(i,u,t),-1===n||l||o(n),n}function c(e){return e.typeaheadBuffer.length>0}function d(e){e.typeaheadBuffer=""}function f(e,t){var n=e.event,r=e.isTargetListItem,o=e.focusedItemIndex,a=e.focusItemAtIndex,s=e.sortedIndexByFirstChar,d=e.isItemAtIndexDisabled,f="ArrowLeft"===(0,i.l5)(n),p="ArrowUp"===(0,i.l5)(n),h="ArrowRight"===(0,i.l5)(n),_="ArrowDown"===(0,i.l5)(n),m="Home"===(0,i.l5)(n),v="End"===(0,i.l5)(n),g="Enter"===(0,i.l5)(n),b="Spacebar"===(0,i.l5)(n);return n.altKey||n.ctrlKey||n.metaKey||f||p||h||_||m||v||g?-1:b||1!==n.key.length?b?(r&&l(n),r&&c(t)?u({focusItemAtIndex:a,focusedItemIndex:o,nextChar:" ",sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:d},t):-1):-1:(l(n),u({focusItemAtIndex:a,focusedItemIndex:o,nextChar:n.key.toLowerCase(),sortedIndexByFirstChar:s,skipFocus:!1,isItemAtIndexDisabled:d},t))}var p=["Alt","Control","Meta","Shift"];function h(e){var t=new Set(e?p.filter((function(t){return e.getModifierState(t)})):[]);return function(e){return e.every((function(e){return t.has(e)}))&&e.length===t.size}}var _=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.wrapFocus=!1,o.isVertical=!0,o.isSingleSelectionList=!1,o.areDisabledItemsFocusable=!0,o.selectedIndex=a.nL.UNSET_INDEX,o.focusedItemIndex=a.nL.UNSET_INDEX,o.useActivatedClass=!1,o.useSelectedAttr=!1,o.ariaCurrentAttrValue=null,o.isCheckboxList=!1,o.isRadioList=!1,o.lastSelectedIndex=null,o.hasTypeahead=!1,o.typeaheadState={bufferClearTimeout:0,currentFirstChar:"",sortedIndexCursor:0,typeaheadBuffer:""},o.sortedIndexByFirstChar=new Map,o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return a.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return a.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return a.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassForElementIndex:function(){},focusItemAtIndex:function(){},getAttributeForElementIndex:function(){return null},getFocusedElementIndex:function(){return 0},getListItemCount:function(){return 0},hasCheckboxAtIndex:function(){return!1},hasRadioAtIndex:function(){return!1},isCheckboxCheckedAtIndex:function(){return!1},isFocusInsideList:function(){return!1},isRootFocused:function(){return!1},listItemAtIndexHasClass:function(){return!1},notifyAction:function(){},notifySelectionChange:function(){},removeClassForElementIndex:function(){},setAttributeForElementIndex:function(){},setCheckedCheckboxOrRadioAtIndex:function(){},setTabIndexForListItemChildren:function(){},getPrimaryTextAtIndex:function(){return""}}},enumerable:!1,configurable:!0}),t.prototype.layout=function(){0!==this.adapter.getListItemCount()&&(this.adapter.hasCheckboxAtIndex(0)?this.isCheckboxList=!0:this.adapter.hasRadioAtIndex(0)?this.isRadioList=!0:this.maybeInitializeSingleSelection(),this.hasTypeahead&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex()))},t.prototype.getFocusedItemIndex=function(){return this.focusedItemIndex},t.prototype.setWrapFocus=function(e){this.wrapFocus=e},t.prototype.setVerticalOrientation=function(e){this.isVertical=e},t.prototype.setSingleSelection=function(e){this.isSingleSelectionList=e,e&&(this.maybeInitializeSingleSelection(),this.selectedIndex=this.getSelectedIndexFromDOM())},t.prototype.setDisabledItemsFocusable=function(e){this.areDisabledItemsFocusable=e},t.prototype.maybeInitializeSingleSelection=function(){var e=this.getSelectedIndexFromDOM();e!==a.nL.UNSET_INDEX&&(this.adapter.listItemAtIndexHasClass(e,a.Y7.LIST_ITEM_ACTIVATED_CLASS)&&this.setUseActivatedClass(!0),this.isSingleSelectionList=!0,this.selectedIndex=e)},t.prototype.getSelectedIndexFromDOM=function(){for(var e=a.nL.UNSET_INDEX,t=this.adapter.getListItemCount(),n=0;n<t;n++){var r=this.adapter.listItemAtIndexHasClass(n,a.Y7.LIST_ITEM_SELECTED_CLASS),o=this.adapter.listItemAtIndexHasClass(n,a.Y7.LIST_ITEM_ACTIVATED_CLASS);if(r||o){e=n;break}}return e},t.prototype.setHasTypeahead=function(e){this.hasTypeahead=e,e&&(this.sortedIndexByFirstChar=this.typeaheadInitSortedIndex())},t.prototype.isTypeaheadInProgress=function(){return this.hasTypeahead&&c(this.typeaheadState)},t.prototype.setUseActivatedClass=function(e){this.useActivatedClass=e},t.prototype.setUseSelectedAttribute=function(e){this.useSelectedAttr=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex},t.prototype.setSelectedIndex=function(e,t){void 0===t&&(t={}),this.isIndexValid(e)&&(this.isCheckboxList?this.setCheckboxAtIndex(e,t):this.isRadioList?this.setRadioAtIndex(e,t):this.setSingleSelectionAtIndex(e,t))},t.prototype.handleFocusIn=function(e){e>=0&&(this.focusedItemIndex=e,this.adapter.setAttributeForElementIndex(e,"tabindex","0"),this.adapter.setTabIndexForListItemChildren(e,"0"))},t.prototype.handleFocusOut=function(e){var t=this;e>=0&&(this.adapter.setAttributeForElementIndex(e,"tabindex","-1"),this.adapter.setTabIndexForListItemChildren(e,"-1")),setTimeout((function(){t.adapter.isFocusInsideList()||t.setTabindexToFirstSelectedOrFocusedItem()}),0)},t.prototype.isIndexDisabled=function(e){return this.adapter.listItemAtIndexHasClass(e,a.Y7.LIST_ITEM_DISABLED_CLASS)},t.prototype.handleKeydown=function(e,t,n){var r,o=this,s="ArrowLeft"===(0,i.l5)(e),u="ArrowUp"===(0,i.l5)(e),c="ArrowRight"===(0,i.l5)(e),d="ArrowDown"===(0,i.l5)(e),p="Home"===(0,i.l5)(e),_="End"===(0,i.l5)(e),m="Enter"===(0,i.l5)(e),v="Spacebar"===(0,i.l5)(e),g=this.isVertical&&d||!this.isVertical&&c,b=this.isVertical&&u||!this.isVertical&&s,y="A"===e.key||"a"===e.key,E=h(e);if(this.adapter.isRootFocused()){if((b||_)&&E([]))e.preventDefault(),this.focusLastElement();else if((g||p)&&E([]))e.preventDefault(),this.focusFirstElement();else if(b&&E(["Shift"])&&this.isCheckboxList){e.preventDefault(),-1!==(T=this.focusLastElement())&&this.setSelectedIndexOnAction(T,!1)}else if(g&&E(["Shift"])&&this.isCheckboxList){e.preventDefault(),-1!==(T=this.focusFirstElement())&&this.setSelectedIndexOnAction(T,!1)}this.hasTypeahead&&f({event:e,focusItemAtIndex:function(e){o.focusItemAtIndex(e)},focusedItemIndex:-1,isTargetListItem:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(e){return o.isIndexDisabled(e)}},this.typeaheadState)}else{var x=this.adapter.getFocusedElementIndex();if(!(-1===x&&(x=n)<0)){if(g&&E([]))l(e),this.focusNextElement(x);else if(b&&E([]))l(e),this.focusPrevElement(x);else if(g&&E(["Shift"])&&this.isCheckboxList){l(e),-1!==(T=this.focusNextElement(x))&&this.setSelectedIndexOnAction(T,!1)}else if(b&&E(["Shift"])&&this.isCheckboxList){var T;l(e),-1!==(T=this.focusPrevElement(x))&&this.setSelectedIndexOnAction(T,!1)}else if(p&&E([]))l(e),this.focusFirstElement();else if(_&&E([]))l(e),this.focusLastElement();else if(p&&E(["Control","Shift"])&&this.isCheckboxList){if(l(e),this.isIndexDisabled(x))return;this.focusFirstElement(),this.toggleCheckboxRange(0,x,x)}else if(_&&E(["Control","Shift"])&&this.isCheckboxList){if(l(e),this.isIndexDisabled(x))return;this.focusLastElement(),this.toggleCheckboxRange(x,this.adapter.getListItemCount()-1,x)}else if(y&&E(["Control"])&&this.isCheckboxList)e.preventDefault(),this.checkboxListToggleAll(this.selectedIndex===a.nL.UNSET_INDEX?[]:this.selectedIndex,!0);else if((m||v)&&E([])){if(t){if((C=e.target)&&"A"===C.tagName&&m)return;if(l(e),this.isIndexDisabled(x))return;this.isTypeaheadInProgress()||(this.isSelectableList()&&this.setSelectedIndexOnAction(x,!1),this.adapter.notifyAction(x))}}else if((m||v)&&E(["Shift"])&&this.isCheckboxList){var C;if((C=e.target)&&"A"===C.tagName&&m)return;if(l(e),this.isIndexDisabled(x))return;this.isTypeaheadInProgress()||(this.toggleCheckboxRange(null!==(r=this.lastSelectedIndex)&&void 0!==r?r:x,x,x),this.adapter.notifyAction(x))}if(this.hasTypeahead)f({event:e,focusItemAtIndex:function(e){o.focusItemAtIndex(e)},focusedItemIndex:this.focusedItemIndex,isTargetListItem:t,sortedIndexByFirstChar:this.sortedIndexByFirstChar,isItemAtIndexDisabled:function(e){return o.isIndexDisabled(e)}},this.typeaheadState)}}},t.prototype.handleClick=function(e,t,n){var r,o=h(n);e!==a.nL.UNSET_INDEX&&(this.isIndexDisabled(e)||(o([])?(this.isSelectableList()&&this.setSelectedIndexOnAction(e,t),this.adapter.notifyAction(e)):this.isCheckboxList&&o(["Shift"])&&(this.toggleCheckboxRange(null!==(r=this.lastSelectedIndex)&&void 0!==r?r:e,e,e),this.adapter.notifyAction(e))))},t.prototype.focusNextElement=function(e){var t=this.adapter.getListItemCount(),n=e,r=null;do{if(++n>=t){if(!this.wrapFocus)return e;n=0}if(n===r)return-1;r=null!=r?r:n}while(!this.areDisabledItemsFocusable&&this.isIndexDisabled(n));return this.focusItemAtIndex(n),n},t.prototype.focusPrevElement=function(e){var t=this.adapter.getListItemCount(),n=e,r=null;do{if(--n<0){if(!this.wrapFocus)return e;n=t-1}if(n===r)return-1;r=null!=r?r:n}while(!this.areDisabledItemsFocusable&&this.isIndexDisabled(n));return this.focusItemAtIndex(n),n},t.prototype.focusFirstElement=function(){return this.focusNextElement(-1)},t.prototype.focusLastElement=function(){return this.focusPrevElement(this.adapter.getListItemCount())},t.prototype.focusInitialElement=function(){var e=this.getFirstSelectedOrFocusedItemIndex();return this.focusItemAtIndex(e),e},t.prototype.setEnabled=function(e,t){this.isIndexValid(e,!1)&&(t?(this.adapter.removeClassForElementIndex(e,a.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(e,a.P$.ARIA_DISABLED,"false")):(this.adapter.addClassForElementIndex(e,a.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.setAttributeForElementIndex(e,a.P$.ARIA_DISABLED,"true")))},t.prototype.setSingleSelectionAtIndex=function(e,t){if(void 0===t&&(t={}),this.selectedIndex!==e||t.forceUpdate){var n=a.Y7.LIST_ITEM_SELECTED_CLASS;this.useActivatedClass&&(n=a.Y7.LIST_ITEM_ACTIVATED_CLASS),this.selectedIndex!==a.nL.UNSET_INDEX&&this.adapter.removeClassForElementIndex(this.selectedIndex,n),this.setAriaForSingleSelectionAtIndex(e),this.setTabindexAtIndex(e),e!==a.nL.UNSET_INDEX&&this.adapter.addClassForElementIndex(e,n),this.selectedIndex=e,t.isUserInteraction&&!t.forceUpdate&&this.adapter.notifySelectionChange([e])}},t.prototype.setAriaForSingleSelectionAtIndex=function(e){this.selectedIndex===a.nL.UNSET_INDEX&&(this.ariaCurrentAttrValue=this.adapter.getAttributeForElementIndex(e,a.P$.ARIA_CURRENT));var t=null!==this.ariaCurrentAttrValue,n=t?a.P$.ARIA_CURRENT:a.P$.ARIA_SELECTED;if(this.selectedIndex!==a.nL.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,n,"false"),e!==a.nL.UNSET_INDEX){var r=t?this.ariaCurrentAttrValue:"true";this.adapter.setAttributeForElementIndex(e,n,r)}},t.prototype.getSelectionAttribute=function(){return this.useSelectedAttr?a.P$.ARIA_SELECTED:a.P$.ARIA_CHECKED},t.prototype.setRadioAtIndex=function(e,t){void 0===t&&(t={});var n=this.getSelectionAttribute();this.adapter.setCheckedCheckboxOrRadioAtIndex(e,!0),(this.selectedIndex!==e||t.forceUpdate)&&(this.selectedIndex!==a.nL.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(this.selectedIndex,n,"false"),this.adapter.setAttributeForElementIndex(e,n,"true"),this.selectedIndex=e,t.isUserInteraction&&!t.forceUpdate&&this.adapter.notifySelectionChange([e]))},t.prototype.setCheckboxAtIndex=function(e,t){void 0===t&&(t={});for(var n=this.selectedIndex,r=t.isUserInteraction?new Set(n===a.nL.UNSET_INDEX?[]:n):null,o=this.getSelectionAttribute(),i=[],s=0;s<this.adapter.getListItemCount();s++){var l=null==r?void 0:r.has(s),u=e.indexOf(s)>=0;u!==l&&i.push(s),this.adapter.setCheckedCheckboxOrRadioAtIndex(s,u),this.adapter.setAttributeForElementIndex(s,o,u?"true":"false")}this.selectedIndex=e,t.isUserInteraction&&i.length&&this.adapter.notifySelectionChange(i)},t.prototype.toggleCheckboxRange=function(e,t,n){this.lastSelectedIndex=n;for(var o=new Set(this.selectedIndex===a.nL.UNSET_INDEX?[]:this.selectedIndex),i=!(null==o?void 0:o.has(n)),s=(0,r.zs)([e,t].sort(),2),l=s[0],u=s[1],c=this.getSelectionAttribute(),d=[],f=l;f<=u;f++){if(!this.isIndexDisabled(f))i!==o.has(f)&&(d.push(f),this.adapter.setCheckedCheckboxOrRadioAtIndex(f,i),this.adapter.setAttributeForElementIndex(f,c,""+i),i?o.add(f):o.delete(f))}d.length&&(this.selectedIndex=(0,r.fX)([],(0,r.zs)(o)),this.adapter.notifySelectionChange(d))},t.prototype.setTabindexAtIndex=function(e){this.focusedItemIndex===a.nL.UNSET_INDEX&&0!==e?this.adapter.setAttributeForElementIndex(0,"tabindex","-1"):this.focusedItemIndex>=0&&this.focusedItemIndex!==e&&this.adapter.setAttributeForElementIndex(this.focusedItemIndex,"tabindex","-1"),this.selectedIndex instanceof Array||this.selectedIndex===e||this.adapter.setAttributeForElementIndex(this.selectedIndex,"tabindex","-1"),e!==a.nL.UNSET_INDEX&&this.adapter.setAttributeForElementIndex(e,"tabindex","0")},t.prototype.isSelectableList=function(){return this.isSingleSelectionList||this.isCheckboxList||this.isRadioList},t.prototype.setTabindexToFirstSelectedOrFocusedItem=function(){var e=this.getFirstSelectedOrFocusedItemIndex();this.setTabindexAtIndex(e)},t.prototype.getFirstSelectedOrFocusedItemIndex=function(){return this.isSelectableList()?"number"==typeof this.selectedIndex&&this.selectedIndex!==a.nL.UNSET_INDEX?this.selectedIndex:this.selectedIndex instanceof Array&&this.selectedIndex.length>0?this.selectedIndex.reduce((function(e,t){return Math.min(e,t)})):0:Math.max(this.focusedItemIndex,0)},t.prototype.isIndexValid=function(e,t){var n=this;if(void 0===t&&(t=!0),e instanceof Array){if(!this.isCheckboxList&&t)throw new Error("MDCListFoundation: Array of index is only supported for checkbox based list");return 0===e.length||e.some((function(e){return n.isIndexInRange(e)}))}if("number"==typeof e){if(this.isCheckboxList&&t)throw new Error("MDCListFoundation: Expected array of index for checkbox based list but got number: "+e);return this.isIndexInRange(e)||this.isSingleSelectionList&&e===a.nL.UNSET_INDEX}return!1},t.prototype.isIndexInRange=function(e){var t=this.adapter.getListItemCount();return e>=0&&e<t},t.prototype.setSelectedIndexOnAction=function(e,t){this.lastSelectedIndex=e,this.isCheckboxList?(this.toggleCheckboxAtIndex(e,t),this.adapter.notifySelectionChange([e])):this.setSelectedIndex(e,{isUserInteraction:!0})},t.prototype.toggleCheckboxAtIndex=function(e,t){var n,r=this.getSelectionAttribute(),o=this.adapter.isCheckboxCheckedAtIndex(e);t?n=o:(n=!o,this.adapter.setCheckedCheckboxOrRadioAtIndex(e,n)),this.adapter.setAttributeForElementIndex(e,r,n?"true":"false");var i=this.selectedIndex===a.nL.UNSET_INDEX?[]:this.selectedIndex.slice();n?i.push(e):i=i.filter((function(t){return t!==e})),this.selectedIndex=i},t.prototype.focusItemAtIndex=function(e){this.adapter.focusItemAtIndex(e),this.focusedItemIndex=e},t.prototype.checkboxListToggleAll=function(e,t){var n=this.adapter.getListItemCount();if(e.length===n)this.setCheckboxAtIndex([],{isUserInteraction:t});else{for(var r=[],o=0;o<n;o++)(!this.isIndexDisabled(o)||e.indexOf(o)>-1)&&r.push(o);this.setCheckboxAtIndex(r,{isUserInteraction:t})}},t.prototype.typeaheadMatchItem=function(e,t,n){var r=this;return void 0===n&&(n=!1),u({focusItemAtIndex:function(e){r.focusItemAtIndex(e)},focusedItemIndex:t||this.focusedItemIndex,nextChar:e,sortedIndexByFirstChar:this.sortedIndexByFirstChar,skipFocus:n,isItemAtIndexDisabled:function(e){return r.isIndexDisabled(e)}},this.typeaheadState)},t.prototype.typeaheadInitSortedIndex=function(){return function(e,t){for(var n=new Map,r=0;r<e;r++){var o=t(r).trim();if(o){var i=o[0].toLowerCase();n.has(i)||n.set(i,[]),n.get(i).push({text:o.toLowerCase(),index:r})}}return n.forEach((function(e){e.sort((function(e,t){return e.index-t.index}))})),n}(this.adapter.getListItemCount(),this.adapter.getPrimaryTextAtIndex)},t.prototype.clearTypeaheadBuffer=function(){d(this.typeaheadState)},t}(o.I)},function(e,t,n){n.d(t,{$:function(){return s}});var r=n(2),o=n(5),i=n(17),a=n(65),s=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.shake=function(e){this.foundation.shake(e)},t.prototype.float=function(e){this.foundation.float(e)},t.prototype.setRequired=function(e){this.foundation.setRequired(e)},t.prototype.getWidth=function(){return this.foundation.getWidth()},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},getWidth:function(){return(0,i.et)(e.root)},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)}};return new a.K(t)},t}(o.O)},function(e,t,n){n.d(t,{K:function(){return a}});var r=n(2),o=n(4),i=n(78),a=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.shakeAnimationEndHandler=function(){o.handleShakeAnimationEnd()},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return i.Y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},getWidth:function(){return 0},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("animationend",this.shakeAnimationEndHandler)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("animationend",this.shakeAnimationEndHandler)},t.prototype.getWidth=function(){return this.adapter.getWidth()},t.prototype.shake=function(e){var n=t.cssClasses.LABEL_SHAKE;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.float=function(e){var n=t.cssClasses,r=n.LABEL_FLOAT_ABOVE,o=n.LABEL_SHAKE;e?this.adapter.addClass(r):(this.adapter.removeClass(r),this.adapter.removeClass(o))},t.prototype.setRequired=function(e){var n=t.cssClasses.LABEL_REQUIRED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.handleShakeAnimationEnd=function(){var e=t.cssClasses.LABEL_SHAKE;this.adapter.removeClass(e)},t}(o.I)},function(e,t,n){n.d(t,{l:function(){return a}});var r=n(2),o=n(5),i=n(79),a=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.activate=function(){this.foundation.activate()},t.prototype.deactivate=function(){this.foundation.deactivate()},t.prototype.setRippleCenter=function(e){this.foundation.setRippleCenter(e)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},setStyle:function(t,n){return e.root.style.setProperty(t,n)},registerEventHandler:function(t,n){return e.listen(t,n)},deregisterEventHandler:function(t,n){return e.unlisten(t,n)}};return new i.C(t)},t}(o.O)},function(e,t,n){n.d(t,{i:function(){return l}});var r=n(2),o=n(5),i=n(65),a=n(68),s=n(81),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){this.notchElement=this.root.querySelector(a.P$.NOTCH_ELEMENT_SELECTOR);var e=this.root.querySelector("."+i.K.cssClasses.ROOT);e?(e.style.transitionDuration="0s",this.root.classList.add(a.Y7.OUTLINE_UPGRADED),requestAnimationFrame((function(){e.style.transitionDuration=""}))):this.root.classList.add(a.Y7.NO_LABEL)},t.prototype.notch=function(e){this.foundation.notch(e)},t.prototype.closeNotch=function(){this.foundation.closeNotch()},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},setNotchWidthProperty:function(t){e.notchElement.style.setProperty("width",t+"px")},removeNotchWidthProperty:function(){e.notchElement.style.removeProperty("width")}};return new s.z(t)},t}(o.O)},function(e,t,n){n.d(t,{P$:function(){return r},Y7:function(){return i},nL:function(){return o}});
|
|
375
375
|
/**
|
|
376
376
|
* @license
|
|
377
377
|
* Copyright 2018 Google Inc.
|
|
@@ -394,7 +394,7 @@ var r={BG_FOCUSED:"mdc-ripple-upgraded--background-focused",FG_ACTIVATION:"mdc-r
|
|
|
394
394
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
395
395
|
* THE SOFTWARE.
|
|
396
396
|
*/
|
|
397
|
-
var r={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},o={NOTCH_ELEMENT_PADDING:8},i={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"}},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,r,n,t,i;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;module.exports=(e=__webpack_require__(9),r=__webpack_require__(15),n=__webpack_require__(0),t=__webpack_require__(87),i=__webpack_require__(1),function(){var o=[,function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e){e.exports=i}],a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return o[e](n,n.exports,s),n.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return function(){s.r(l),s.d(l,{GenericAnimate:function(){return c},GenericAnimateInner:function(){return u},default:function(){return d}});var e=s(1),t=s.n(e),n=s(2),r=s(3),o=s(4),i=s(5),a={"generic-animate":"generic-animate","generic-animate__list-wrapper":"generic-animate__list-wrapper","generic-animate__wrapper":"generic-animate__wrapper","generic-animate-appear":"generic-animate-appear","generic-animate-enter":"generic-animate-enter","generic-animate-exit-active":"generic-animate-exit-active","generic-animate-appear-active":"generic-animate-appear-active","generic-animate-enter-active":"generic-animate-enter-active","generic-animate-exit":"generic-animate-exit","generic-animate-exit-done":"generic-animate-exit-done"},u=function(e,n){return(0,i.jsx)(o.CSSTransition,t()({appear:!0,classNames:a["generic-animate"],in:!0,timeout:200,unmountOnExit:!0},e,{children:"string"==typeof e.children?(0,i.jsx)("span",{className:a["generic-animate__wrapper"],ref:n,children:e.children}):Array.isArray(e.children)?(0,i.jsx)("div",{className:a["generic-animate__list-wrapper"],ref:n,children:e.children}):e.children}))},c=(0,r.memo)((0,r.forwardRef)(u));c.wrapped=u,c.webComponentAdapterWrapped="react",c.propTypes={appear:n.boolean,classNames:n.string,in:n.boolean,timeout:n.number};var d=c}(),l}())},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(84),a=n(0),s={xsmall:24,small:24,medium:32,large:48,xlarge:48},l={24:12,32:16,48:24},u={24:8.75,32:12.5,48:18},c={24:54.978,32:78.54,48:113.097},d={24:27.489,32:39.27,48:56.549},f={24:2.5,32:3,48:4},p={24:2,32:2.4,48:3.2},h=o.createComponent((function(e,t){const{closed:n,size:h="small",max:m=1,min:v=0,progress:_,label:g,...y}=e,{rootEl:b,determinateCircleEl:E}=(e=>{const{foundation:t,...n}=o.useFoundation({props:e,elements:{rootEl:!0,determinateCircleEl:!0},foundation:({rootEl:e,determinateCircleEl:t})=>new i.MDCCircularProgressFoundation({addClass:t=>e.addClass(t),getDeterminateCircleAttribute:e=>{var n;return null==(n=t.ref)?void 0:n.getAttribute(e)},hasClass:t=>e.hasClass(t),removeClass:t=>e.removeClass(t),removeAttribute:t=>e.removeProp(t),setAttribute:(t,n)=>{e.setProp(t,n)},setDeterminateCircleAttribute:(e,n)=>{var r;return null==(r=t.ref)?void 0:r.setAttribute(e,n)}})}),[r,s]=a.useState(void 0);return a.useEffect((()=>{t.setProgress(e.progress||0);const n=void 0!==e.progress;n!==r&&(t.setDeterminate(n),s(n))}),[e.progress,r,t]),a.useEffect((()=>{e.closed?t.close():t.open()}),[e.closed,t]),{foundation:t,...n}})(e),x=o.useClassNames(e,["mdc-circular-progress",`rmwc-circular-progress--${h}`,{"mdc-circular-progress--closed":n}]),C=void 0!==_,T="number"==typeof h,I=s[T?"medium":h],S=T?{...y.style,fontSize:`${h}px`,width:`${h}px`,height:`${h}px`}:{...y.style},A=e=>e<v?0:e>m?1:(e-v)/(m-v),O=e=>({cx:l[e],cy:l[e],r:u[e],strokeDasharray:c[e],strokeDashoffset:d[e],strokeWidth:f[e]});return r.jsx(o.Tag,{"aria-valuenow":_,"aria-valuemin":v,"aria-valuemax":m,"aria-label":g,...y,style:S,className:x,element:b,ref:t,role:"progressbar",children:C?r.jsx("div",{className:"mdc-circular-progress__determinate-container",children:r.jsxs("svg",{className:"mdc-circular-progress__determinate-circle-graphic",viewBox:`0 0 ${I} ${I}`,children:[r.jsx("circle",{className:"mdc-circular-progress__determinate-track",cx:I/2,cy:I/2,r:I/2.4,strokeWidth:"4"}),r.jsx(o.Tag,{tag:"circle",className:"mdc-circular-progress__determinate-circle",style:(w=I,void 0!==_?{strokeDasharray:2*Math.PI*(w/2.4)*A(_)+", 666.66%",width:`${w}px`,height:`${w}px`}:void 0),cx:I/2,cy:I/2,r:I/2.4,element:E,strokeDashoffset:"113.097",strokeWidth:"4"})]})}):r.jsx("div",{className:"mdc-circular-progress__indeterminate-container",children:r.jsxs("div",{className:"mdc-circular-progress__spinner-layer",children:[r.jsx("div",{className:"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left",children:r.jsx("svg",{className:"mdc-circular-progress__indeterminate-circle-graphic",viewBox:`0 0 ${I} ${I}`,children:r.jsx("circle",{...O(I)})})}),r.jsx("div",{className:"mdc-circular-progress__gap-patch",children:r.jsx("svg",{className:"mdc-circular-progress__indeterminate-circle-graphic",viewBox:`0 0 ${I} ${I}`,children:r.jsx("circle",{...O(I),strokeWidth:p[I]})})}),r.jsx("div",{className:"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right",children:r.jsx("svg",{className:"mdc-circular-progress__indeterminate-circle-graphic",viewBox:`0 0 ${I} ${I}`,children:r.jsx("circle",{...O(I)})})})]})})});var w}));t.CircularProgress=h},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(18),s=n(14),l=n(88),u=i.createComponent((function({...e},t){return e.onIcon?r.jsx(c,{...e,ref:t}):r.jsx(d,{...e,ref:t})})),c=i.createComponent((function(e,t){const{icon:n,onIcon:a,foundationRef:s,...u}=e,{isOn:c,rootEl:d}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},foundation:({rootEl:e,emit:t})=>new l.MDCIconButtonToggleFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),hasClass:t=>e.hasClass(t),setAttr:(t,n)=>e.setProp(t,n),notifyChange:e=>t("onChange",e)})}),{rootEl:r}=n,a=void 0!==e.checked?e.checked:t.isOn();return o.useEffect((()=>{a!==t.isOn()&&t.toggle(a)}),[t,a]),r.setProp("onClick",(n=>{var r;null==(r=e.onClick)||r.call(e,n),t.handleClick()}),!0),{isOn:a,foundation:t,...n}})(e);return r.jsxs(f,{"aria-pressed":c,...d.props(u),tag:"button",ref:t,children:[r.jsx("div",{className:"mdc-icon-button__ripple"}),r.jsx(p,{icon:n}),r.jsx(p,{icon:a,on:!0})]})})),d=s.withRipple({surface:!1,unbounded:!0})(i.createComponent((function(e,t){const{checked:n,label:o,foundationRef:s,children:l,icon:u,...c}=e,d=i.useClassNames(e,["mdc-icon-button",{"mdc-icon-button--on":n}]);return r.jsxs(i.Tag,{tag:"button",role:"button",tabIndex:0,"aria-label":o,...c,className:d,ref:t,children:[r.jsx("div",{className:"mdc-icon-button__ripple"}),r.jsx(a.Icon,{icon:u,...c,tag:"i"})]})}))),f=s.withRipple({surface:!1,unbounded:!0})(i.createComponent((function(e,t){const{checked:n,...o}=e,a=i.useClassNames(e,["mdc-icon-button",{"mdc-icon-button--on":n}]);return r.jsx(i.Tag,{tag:"button",role:"button",tabIndex:0,...o,className:a,ref:t})}))),p=o.memo((function(e){const{on:t,...n}=e,o=i.useClassNames(e,["mdc-icon-button__icon",{"mdc-icon-button__icon--on":e.on}]);return r.jsx(a.Icon,{...n,className:o})}));t.IconButton=u},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(60),s=n(61),l=n(62),u=n(58),c=n(59),d=n(14),f=n(96),p=n(18),h=e=>{const[t,n]=o.useState(),[r,a]=o.useState(!1),[s,l]=o.useState(0),[u,c]=o.useState(!1),[d,p]=o.useState(!1),[h,m]=o.useState(""),v=o.useRef(-1),_=o.useRef(),g=o.useRef(),y=o.useRef(null),b=o.useRef(),E=o.useRef(),x=o.useRef(!1),{foundation:C,...T}=i.useFoundation({props:e,elements:{rootEl:!0,anchorEl:!0},foundation:({rootEl:e,anchorEl:t,getProps:r,emit:o})=>{const i=()=>!r().enhanced,s=new f.MDCSelectFoundation({...(()=>{const e=()=>{var e,t;return(i()?Array.apply(null,null==(e=E.current)?void 0:e.options):null==(t=g.current)?void 0:t.items())||[]},n=e=>e.getAttribute("data-value")||e.getAttribute("value")||"";return{setSelectedText:e=>m(e),openMenu:()=>{p(!0)},closeMenu:()=>{p(!1)},getAnchorElement:()=>y.current,setMenuAnchorElement:e=>(e=>{y.current=e})(e),setMenuAnchorCorner:e=>{var t;return null==(t=g.current)?void 0:t.setAnchorCorner(e)},setMenuWrapFocus:e=>{},focusMenuItemAtIndex:e=>{var t;return null==(t=g.current)?void 0:t.focusItemAtIndex(e)},getMenuItemCount:()=>e().length,getMenuItemValues:()=>e().map(n)||[],getMenuItemTextAtIndex:t=>e()[t].textContent,isSelectAnchorFocused:()=>!(!t.ref||t.ref!==document.activeElement),getSelectAnchorAttr:e=>t.getProp(e),setSelectAnchorAttr:(e,n)=>{if("tabindex"===e){if(i())return;e="tabIndex"}return t.setProp(e,n)},removeSelectAnchorAttr:e=>{var t;null==(t=y.current)||t.removeAttribute(e)},addMenuClass:e=>{var t,n,r;return null==(r=null==(n=null==(t=g.current)?void 0:t.getSurfaceElement())?void 0:n.querySelector(".mdc-deprecated-list-item--activated"))?void 0:r.classList.add(e)},removeMenuClass:e=>{var t,n,r;return null==(r=null==(n=null==(t=g.current)?void 0:t.getSurfaceElement())?void 0:n.querySelector(".mdc-deprecated-list-item--activated"))?void 0:r.classList.remove(e)},getSelectedIndex:()=>i()&&void 0!==E.current?E.current.selectedOptions[0].index:v.current,setSelectedIndex:e=>v}})(),addClass:t=>{e.addClass(t)},removeClass:t=>{e.removeClass(t)},hasClass:t=>e.hasClass(t),isRtl:()=>e.ref&&"rtl"===window.getComputedStyle(e.ref).getPropertyValue("direction"),setRippleCenter:e=>{l(e)},activateBottomLine:()=>a(!0),deactivateBottomLine:()=>a(!1),notifyChange:e=>{x.current||o("onChange",{index:v.current,value:e},!0)},hasOutline:()=>!!r().outlined,notchOutline:e=>{n(e)},closeOutline:()=>{n(void 0)},hasLabel:()=>!!r().label,floatLabel:e=>{c(e)},getLabelWidth:()=>{var e;return(null==(e=_.current)?void 0:e.getWidth())||0},setLabelRequired:e=>{var t;return null==(t=_.current)?void 0:t.setRequired(e)}},{leadingIcon:b.current&&b.current.getFoundation()||void 0}),u=s.adapter;s.layout=()=>{(()=>{const e=s.getValue();if(u.hasLabel()){const t=!!r().placeholder||e.length>0||v.current>-1,n=u.hasClass(f.cssClasses.FOCUSED),o=t||n,i=u.hasClass(f.cssClasses.REQUIRED);s.notchOutline(o),u.floatLabel(o),u.setLabelRequired(i)}})()},Object.defineProperty(s,"menuItemValues",{get:()=>u.getMenuItemValues()});const d=s.init.bind(s);return s.init=()=>{x.current=!0,d();const e=String(r().placeholder||"");!s.getValue()&&e&&u.setSelectedText(e),x.current=!1},s}}),{rootEl:I}=T,{onFocus:S}=e,A=o.useCallback((e=>{null==S||S(e),C.handleFocus()}),[S,C]),{onBlur:O}=e,w=o.useCallback((e=>{null==O||O(e),C.handleBlur()}),[O,C]),{onChange:L}=e,P=o.useCallback((e=>{null==L||L(e),C.handleChange()}),[L,C]),N=o.useCallback((e=>{var t,n;if(null!=(t=I.ref)&&t.querySelector(".mdc-select--disabled"))return;if(null!=(n=I.ref)&&n.querySelector(".mdc-menu-surface--open"))return void C.handleMenuClosed();const r=(e=>{const t=e.target.getBoundingClientRect();return e.clientX-t.left})(e);I.ref&&I.ref.focus(),C.handleClick(r)}),[C,I.ref]),{onKeyDown:k}=e,R=o.useCallback((e=>{null==k||k(e),C.handleKeydown(e)}),[C,k]),D=o.useCallback((e=>{v.current=e,C.handleMenuItemAction(e)}),[C]),M=o.useCallback((()=>{C.handleMenuOpened()}),[C]),F=o.useCallback((()=>{p(!1),C.handleMenuClosed()}),[C]),j=C.getValue(),B=e.value??(-1===v.current?e.defaultValue:void 0),U=Array.isArray(e.options)?e.options.length:Object.values(e.options||{}).length;return o.useEffect((()=>{if(x.current=!0,void 0!==B&&B!==j){const e=C.menuItemValues.indexOf(B);if(v.current=e,C.setValue(B||""),C.menuItemValues.includes(B)){const t=C.adapter.getMenuItemTextAtIndex(e);m(t)}}i.raf((()=>{x.current=!1}))}),[B,j,U,C]),o.useEffect((()=>{C.setDisabled(!!e.disabled)}),[C,e.disabled]),o.useEffect((()=>{var e;I.ref&&(null==(e=g.current)||e.setAnchorElement(I.ref))}),[I.ref]),{notchWidth:t,menuOpen:d,lineRippleActive:r,lineRippleCenter:s,floatLabel:u,selectedIndex:v.current,selectedTextContent:h,setFloatingLabel:e=>{_.current=e},setMenu:e=>{g.current=e},setLeadingIcon:e=>{b.current=e},setNativeControl:e=>{E.current=e},handleFocus:A,handleBlur:w,handleClick:N,handleChange:P,handleKeydown:R,handleMenuClosed:F,handleMenuOpened:M,handleMenuSelected:D,...T}},m=function(e){const{apiRef:t,...n}=e,{rootEl:o}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e})=>({getFoundation:()=>e}),foundation:({rootEl:e,emit:t})=>new f.MDCSelectIconFoundation({getAttr:t=>e.getProp(t),setAttr:(t,n)=>e.setProp(t,n),removeAttr:t=>e.removeProp(t),setContent:t=>{e.ref&&(e.ref.textContent=t)},registerInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterInteractionHandler:(t,n)=>e.removeEventListener(t,n),notifyIconAction:()=>t("onClick",{},!0)})});return{...n}})(e),a=i.useClassNames(e,["mdc-select__icon"]);return r.jsx(p.Icon,{...o.props({...n,className:a})})},v=e=>Array.isArray(e)&&e[0]&&"object"==typeof e[0]?e.map((e=>{if("object"!=typeof e)throw new Error(`Encountered non object for Select ${e}`);return{...e,options:v(e.options)}})):Array.isArray(e)?e.map((e=>({value:e,label:e}))):"object"==typeof e?Object.keys(e).map((t=>({value:t,label:e[t]}))):e,_=()=>r.jsxs("span",{className:"mdc-select__dropdown-icon",children:[r.jsx(p.Icon,{className:"mdc-select__dropdown-icon-inactive",icon:"arrow_drop_down"}),r.jsx(p.Icon,{className:"mdc-select__dropdown-icon-active",icon:"arrow_drop_up"})]});function g(e){const{selectOptions:t,placeholder:n="",children:o,elementRef:i,open:a,label:s,...l}=e,u=({label:e,option:t,index:n})=>r.jsx("option",{...t,value:t.value,children:e},n),c=!e.value&&!e.defaultValue;return r.jsxs("select",{tabIndex:0,...l,ref:i,className:"rmwc-select__native-control"+(l.className?` ${l.className}`:""),children:[(void 0!==e.placeholder||c)&&r.jsx("option",{value:"",disabled:c,children:n}),!!t&&t.map((({label:e,options:t,...n},o)=>t?r.jsx("optgroup",{label:e,children:t.map((({label:e,...t},n)=>u({label:e,option:t,index:n})))},o):u({label:e,option:n,index:o}))),o]})}const y=d.withRipple({surface:!1})(o.forwardRef((function(e,t){return r.jsx(i.Tag,{ref:t,...e})}))),b=o.forwardRef(((e,t)=>{const{selectOptions:n,menuApiRef:o,value:a,placeholder:s,children:l,selectedIndex:d,...f}=e;let p=0;const h=i.useClassNames(e,["mdc-select__menu"]),m=({label:e,option:t})=>(p+=1,r.jsx(u.MenuItem,{activated:void 0!==a?t.value===a:p-1===d,...t,"data-value":t.value,children:r.jsx("span",{className:"mdc-deprecated-list-item__text",children:e})},`${e}-${t.value}`));return r.jsxs(u.Menu,{...f,ref:t,apiRef:o,className:h,focusOnOpen:!0,children:[!!e.placeholder&&r.jsx(u.MenuItem,{selected:p-1===d,"data-value":"",theme:"textDisabledOnBackground",children:r.jsx("span",{className:"mdc-deprecated-list-item__text",children:s})}),n.map((({label:e,options:t,...o},i)=>t?r.jsxs(c.ListGroup,{children:[e&&r.jsx(c.ListGroupSubheader,{theme:"textDisabledOnBackground",children:e}),r.jsx(u.MenuItems,{children:t.map((({label:e,...t})=>m({label:e,option:t})))}),i<n.length-1&&r.jsx(c.ListDivider,{})]},i):m({label:e,option:o}))),l]})})),E=({enhanced:e,children:t})=>e?r.jsx(u.MenuSurfaceAnchor,{children:t}):r.jsx(r.Fragment,{children:t}),x=i.createComponent((function(e,t){const{placeholder:n,children:u,value:c,outlined:d,label:f="",options:p=[],rootProps:x={},enhanced:T,icon:I,onChange:S,onFocus:A,onBlur:O,onKeyDown:w,invalid:L,inputRef:P,helpText:N,foundationRef:k,...R}=e,D=v(p),{rootEl:M,anchorEl:F,notchWidth:j,menuOpen:B,selectedTextContent:U,lineRippleActive:V,lineRippleCenter:H,floatLabel:$,setFloatingLabel:q,setNativeControl:W,setLeadingIcon:z,selectedIndex:K,setMenu:G,handleFocus:X,handleBlur:Y,handleClick:Q,handleChange:J,handleKeydown:Z,handleMenuClosed:ee,handleMenuOpened:te,handleMenuSelected:ne}=h(e),re=i.useId("select",e),oe=i.useClassNames(e,["mdc-select","rmwc-select__default-width",{"mdc-select--outlined":!!d,"mdc-select--filled":!d,"mdc-select--required":!!e.required,"mdc-select--invalid":!!L,"mdc-select--with-leading-icon":!!I,"mdc-select--no-label":!f}]),ie="object"==typeof T?T:{},ae=void 0!==c?void 0:e.defaultValue||"",se=r.jsx(a.FloatingLabel,{float:$,apiRef:q,htmlFor:re,children:f});return r.jsxs(E,{enhanced:T,children:[r.jsxs(i.Tag,{...x,element:M,ref:t,className:oe,children:[r.jsxs(y,{className:"mdc-select__anchor",role:"button","aria-haspopup":"listbox",element:F,onFocus:X,onBlur:Y,onClick:Q,onKeyDown:Z,onChange:J,tabIndex:T?void 0:-1,children:[!!I&&r.jsx(m,{apiRef:z,icon:I}),d?r.jsx(l.NotchedOutline,{notch:j,children:se}):r.jsxs(r.Fragment,{children:[r.jsx(s.LineRipple,{active:V,center:H}),se]}),r.jsx("span",{className:"mdc-select__selected-text-container",children:r.jsx("span",{className:"mdc-select__selected-text",children:U})}),r.jsx(_,{}),!T&&r.jsx(g,{...R,id:re,value:c,children:u,defaultValue:ae,placeholder:n,selectOptions:D,elementRef:W,onFocus:X,onBlur:e=>{Y(e),ee()},onChange:e=>{ne(e.currentTarget.selectedIndex)}})]}),T&&r.jsx(b,{...R,...ie,ref:t,anchorCorner:"bottomStart",defaultValue:ae,placeholder:n,open:B,onClose:ee,onOpen:te,onSelect:e=>{ne(e.detail.index)},selectOptions:D,value:c,selectedIndex:K,menuApiRef:G,children:u})]}),(()=>{if(!N)return null;const e="object"==typeof N&&!o.isValidElement(N);return N&&e?r.jsx(C,{...N}):r.jsx(C,{children:N})})()]})})),C=i.createComponent((function(e,t){const{persistent:n,validationMsg:o,...a}=e,s=i.useClassNames(e,["mdc-select-helper-text",{"mdc-select-helper-text--persistent":n,"mdc-select-helper-text--validation-msg":o}]);return r.jsx(i.Tag,{tag:"p",...a,className:s,ref:t})}));t.Select=x,t.SelectHelperText=C},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(60),s=n(18),l=n(61),u=n(62),c=n(14),d=n(97),f=e=>{const[t,n]=o.useState(!1),[r,a]=o.useState(0),[s,l]=o.useState(),[u,c]=o.useState(!1),[f,p]=o.useState(!1),h=o.useRef(),m=e=>{h.current=e},v=o.useRef(),_=o.useRef(),g=o.useRef(),{content:y}=(e=>{const[t,n]=o.useState(),{foundation:r,...a}=i.useFoundation({props:e,api:({foundation:e})=>({getFoundation:()=>e}),elements:{},foundation:()=>new d.MDCTextFieldCharacterCounterFoundation({setContent:e=>{n(e)}})});return{content:t,...a}})({apiRef:e.characterCount?m:void 0}),{foundation:b,...E}=i.useFoundation({props:e,elements:{rootEl:!0,inputEl:!0},foundation:({rootEl:e,inputEl:t,getProps:r})=>new d.MDCTextFieldFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),hasClass:t=>e.hasClass(t),registerTextFieldInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterTextFieldInteractionHandler:(t,n)=>e.removeEventListener(t,n),registerValidationAttributeChangeHandler:e=>{if(t.ref){const n=new MutationObserver((t=>e((e=>e.map((e=>e.attributeName)))(t)))),r=t.ref,o={attributes:!0};return r&&n.observe(r,o),n}return{}},deregisterValidationAttributeChangeHandler:e=>{e&&e.disconnect()},isFocused:()=>document.activeElement===t.ref,registerInputInteractionHandler:(e,n)=>t.addEventListener(e,n),deregisterInputInteractionHandler:(e,n)=>t.removeEventListener(e,n),getNativeInput:()=>t.ref,shakeLabel:e=>c(e),floatLabel:e=>{p(r().floatLabel??e)},hasLabel:()=>!!r().label,getLabelWidth:()=>{var e;return(null==(e=g.current)?void 0:e.getWidth())||0},activateLineRipple:()=>{n(!0)},deactivateLineRipple:()=>{n(!1)},setLineRippleTransformOrigin:e=>{a(e)},notchOutline:e=>{l(e)},closeOutline:()=>{r().floatLabel??l(void 0)},hasOutline:()=>!!r().outlined},{characterCounter:h.current?h.current.getFoundation():void 0,helperText:void 0,leadingIcon:v.current?v.current.getFoundation():void 0,trailingIcon:_.current?_.current.getFoundation():void 0})}),x=b.getValue();return o.useEffect((()=>{void 0!==e.value&&e.value!==x&&b.setValue(String(e.value))}),[e.value,b,x]),o.useEffect((()=>{void 0!==e.floatLabel&&(b.notchOutline(e.floatLabel),b.adapter.floatLabel(e.floatLabel))}),[b,e.floatLabel]),{shakeLabel:u,floatLabel:f,notchWidth:s,lineRippleActive:t,lineRippleCenter:r,setCharacterCounter:m,setLeadingIcon:e=>v.current=e,setTrailingIcon:e=>_.current=e,setFloatingLabel:e=>g.current=e,characterCountContent:y,...E}},p=i.createComponent((function(e,t){const{label:n,style:s,outlined:c,align:d,invalid:p,disabled:b,helpText:E,children:x,textarea:C,fullwidth:T,inputRef:I,characterCount:S,icon:A,trailingIcon:O,rootProps:w={},foundationRef:L,ripple:P,prefix:N,suffix:k,resizeable:R,floatLabel:D,...M}=e,{rootEl:F,inputEl:j,shakeLabel:B,floatLabel:U,notchWidth:V,lineRippleActive:H,lineRippleCenter:$,setLeadingIcon:q,setTrailingIcon:W,setFloatingLabel:z,characterCountContent:K}=f(e),G=i.useId("textfield",e)+"-label",X=i.useClassNames(e,["mdc-text-field","mdc-text-field--upgraded",{"mdc-text-field--filled":!c,"mdc-text-field--textarea":C,"mdc-text-field--outlined":c,"mdc-text-field--invalid":p,"mdc-text-field--disabled":b,"mdc-text-field--with-leading-icon":!!A,"mdc-text-field--with-trailing-icon":!!O,"mdc-text-field--no-label":!n,"mdc-text-field--end-aligned":"end"===d,"mdc-text-field--with-internal-counter":C&&S,"rmwc-text-field--fullwidth":T}]),Y=(e,t)=>r.jsx(y,{apiRef:e=>{"leading"===t?q(e):W(e)},position:t,tabIndex:"trailing"===t?0:void 0,icon:e}),Q=n?r.jsx(a.FloatingLabel,{shake:B,float:U,apiRef:z,id:G,children:n}):null,J=S?r.jsx("div",{className:"mdc-text-field-character-counter",children:K}):null,Z=R?r.jsxs("span",{className:"mdc-text-field__resizer",children:[r.jsx(i.Tag,{...M,element:j,className:"mdc-text-field__input",disabled:b,tag:"textarea",ref:i.mergeRefs(t,I)}),J]}):r.jsxs(r.Fragment,{children:[r.jsx(i.Tag,{...M,element:j,className:"mdc-text-field__input",disabled:b,tag:"textarea",ref:i.mergeRefs(t,I)}),J]});return r.jsxs(r.Fragment,{children:[r.jsxs(m,{...w,element:F,style:s,className:X,ref:t,"aria-labelledby":G,children:[!!A&&Y(A,"leading"),x,r.jsx(h,{}),!!N&&!C&&r.jsx(v,{prefix:N}),C?Z:r.jsx(i.Tag,{...M,element:j,className:"mdc-text-field__input",disabled:b,tag:"input",ref:i.mergeRefs(t,I)}),!!k&&!C&&r.jsx(_,{suffix:k}),c?r.jsxs(r.Fragment,{children:[r.jsx(u.NotchedOutline,{notch:V,children:Q}),!!O&&Y(O,"trailing")]}):r.jsxs(r.Fragment,{children:[Q,!!O&&Y(O,"trailing"),r.jsx(l.LineRipple,{active:H,center:$})]})]}),(e=>{if(!(E||S&&!C))return null;const t="object"==typeof E&&!o.isValidElement(E);return r.jsxs("div",{className:"mdc-text-field-helper-line",children:[E&&t?r.jsx(g,{...E}):r.jsx(g,{children:E}),!C&&e]})})(J)]})})),h=o.memo((function(){return r.jsx("span",{className:"mdc-text-field__ripple"})})),m=c.withRipple({surface:!1})(o.forwardRef((function(e,t){return r.jsx(i.Tag,{...e,tag:"label",ref:t})}))),v=o.memo((function({prefix:e}){return r.jsx("span",{className:"mdc-text-field__affix mdc-text-field__affix--prefix",children:e})})),_=o.memo((function({suffix:e}){return r.jsx("span",{className:"mdc-text-field__affix mdc-text-field__affix--suffix",children:e})})),g=i.createComponent((function(e,t){const{persistent:n,validationMsg:o,...a}=e,s=i.useClassNames(e,["mdc-text-field-helper-text",{"mdc-text-field-helper-text--persistent":n,"mdc-text-field-helper-text--validation-msg":o}]);return r.jsx(i.Tag,{tag:"div",...a,className:s,ref:t})})),y=function(e){const{apiRef:t,position:n,...o}=e,{rootEl:a}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e})=>({getFoundation:()=>e}),foundation:({rootEl:e,emit:t})=>new d.MDCTextFieldIconFoundation({getAttr:t=>e.getProp(t),setAttr:(t,n)=>e.setProp(t,n),removeAttr:t=>e.removeProp(t),setContent:t=>{e.setProp("icon",t)},registerInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterInteractionHandler:(t,n)=>e.removeEventListener(t,n),notifyIconAction:()=>t("onClick",{},!0)})});return{...n}})(e),l=i.useClassNames(e,["mdc-text-field__icon",{"mdc-text-field__icon--trailing":"trailing"===n,"mdc-text-field__icon--leading":"leading"===n}]);return r.jsx(s.Icon,{...a.props({...o,className:l})})};y.displayName="TextFieldIcon",t.TextField=p,t.TextFieldHelperText=g},function(e,t,n){n.d(t,{f:function(){return l}});var r=n(2),o=n(5),i=n(17),a=n(43),s=n(63),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"vertical",{set:function(e){this.foundation.setVerticalOrientation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listElements",{get:function(){return Array.from(this.root.querySelectorAll("."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wrapFocus",{set:function(e){this.foundation.setWrapFocus(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTypeahead",{set:function(e){this.foundation.setHasTypeahead(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"singleSelection",{set:function(e){this.foundation.setSingleSelection(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabledItemsFocusable",{set:function(e){this.foundation.setDisabledItemsFocusable(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(e){this.foundation.setSelectedIndex(e)},enumerable:!1,configurable:!0}),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){this.isEvolutionEnabled=a.iP in this.root.dataset,this.isEvolutionEnabled?this.classNameMap=a.$z:(0,i.cK)(this.root,a.P$.DEPRECATED_SELECTOR)?this.classNameMap=a.PY:this.classNameMap=Object.values(a.Y7).reduce((function(e,t){return e[t]=t,e}),{}),this.handleClick=this.handleClickEvent.bind(this),this.handleKeydown=this.handleKeydownEvent.bind(this),this.focusInEventListener=this.handleFocusInEvent.bind(this),this.focusOutEventListener=this.handleFocusOutEvent.bind(this),this.listen("keydown",this.handleKeydown),this.listen("click",this.handleClick),this.listen("focusin",this.focusInEventListener),this.listen("focusout",this.focusOutEventListener),this.layout(),this.initializeListType(),this.ensureFocusable()},t.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten("click",this.handleClick),this.unlisten("focusin",this.focusInEventListener),this.unlisten("focusout",this.focusOutEventListener)},t.prototype.layout=function(){var e=this.root.getAttribute(a.P$.ARIA_ORIENTATION);this.vertical=e!==a.P$.ARIA_ORIENTATION_HORIZONTAL;var t="."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+":not([tabindex])",n=a.P$.FOCUSABLE_CHILD_ELEMENTS,r=this.root.querySelectorAll(t);r.length&&Array.prototype.forEach.call(r,(function(e){e.setAttribute("tabindex","-1")}));var o=this.root.querySelectorAll(n);o.length&&Array.prototype.forEach.call(o,(function(e){e.setAttribute("tabindex","-1")})),this.isEvolutionEnabled&&this.foundation.setUseSelectedAttribute(!0),this.foundation.layout()},t.prototype.getPrimaryText=function(e){var t,n=e.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_PRIMARY_TEXT_CLASS]);if(this.isEvolutionEnabled||n)return null!==(t=null==n?void 0:n.textContent)&&void 0!==t?t:"";var r=e.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_TEXT_CLASS]);return r&&r.textContent||""},t.prototype.initializeListType=function(){var e=this;if(this.isInteractive=(0,i.cK)(this.root,a.P$.ARIA_INTERACTIVE_ROLES_SELECTOR),this.isEvolutionEnabled&&this.isInteractive){var t=Array.from(this.root.querySelectorAll(a.P$.SELECTED_ITEM_SELECTOR),(function(t){return e.listElements.indexOf(t)}));(0,i.cK)(this.root,a.P$.ARIA_MULTI_SELECTABLE_SELECTOR)?this.selectedIndex=t:t.length>0&&(this.selectedIndex=t[0])}else{var n=this.root.querySelectorAll(a.P$.ARIA_ROLE_CHECKBOX_SELECTOR),r=this.root.querySelector(a.P$.ARIA_CHECKED_RADIO_SELECTOR);if(n.length){var o=this.root.querySelectorAll(a.P$.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=Array.from(o,(function(t){return e.listElements.indexOf(t)}))}else r&&(this.selectedIndex=this.listElements.indexOf(r))}},t.prototype.setEnabled=function(e,t){this.foundation.setEnabled(e,t)},t.prototype.typeaheadMatchItem=function(e,t){return this.foundation.typeaheadMatchItem(e,t,!0)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClassForElementIndex:function(t,n){var r=e.listElements[t];r&&r.classList.add(e.classNameMap[n])},focusItemAtIndex:function(t){var n=e.listElements[t];n&&n.focus()},getAttributeForElementIndex:function(t,n){return e.listElements[t].getAttribute(n)},getFocusedElementIndex:function(){return e.listElements.indexOf(document.activeElement)},getListItemCount:function(){return e.listElements.length},getPrimaryTextAtIndex:function(t){return e.getPrimaryText(e.listElements[t])},hasCheckboxAtIndex:function(t){return!!e.listElements[t].querySelector(a.P$.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!e.listElements[t].querySelector(a.P$.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){return e.listElements[t].querySelector(a.P$.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return e.root!==document.activeElement&&e.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===e.root},listItemAtIndexHasClass:function(t,n){return e.listElements[t].classList.contains(e.classNameMap[n])},notifyAction:function(t){e.emit(a.P$.ACTION_EVENT,{index:t},!0)},notifySelectionChange:function(t){e.emit(a.P$.SELECTION_CHANGE_EVENT,{changedIndices:t},!0)},removeClassForElementIndex:function(t,n){var r=e.listElements[t];r&&r.classList.remove(e.classNameMap[n])},setAttributeForElementIndex:function(t,n,r){var o=e.listElements[t];o&&o.setAttribute(n,r)},setCheckedCheckboxOrRadioAtIndex:function(t,n){var r=e.listElements[t].querySelector(a.P$.CHECKBOX_RADIO_SELECTOR);r.checked=n;var o=document.createEvent("Event");o.initEvent("change",!0,!0),r.dispatchEvent(o)},setTabIndexForListItemChildren:function(t,n){var r=e.listElements[t],o=a.P$.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;Array.prototype.forEach.call(r.querySelectorAll(o),(function(e){e.setAttribute("tabindex",n)}))}};return new s.Y(t)},t.prototype.ensureFocusable=function(){if(this.isEvolutionEnabled&&this.isInteractive&&!this.root.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+'[tabindex="0"]')){var e=this.initialFocusIndex();-1!==e&&(this.listElements[e].tabIndex=0)}},t.prototype.initialFocusIndex=function(){if(this.selectedIndex instanceof Array&&this.selectedIndex.length>0)return this.selectedIndex[0];if("number"==typeof this.selectedIndex&&this.selectedIndex!==a.nL.UNSET_INDEX)return this.selectedIndex;var e=this.root.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+":not(."+this.classNameMap[a.Y7.LIST_ITEM_DISABLED_CLASS]+")");return null===e?-1:this.getListItemIndex(e)},t.prototype.getListItemIndex=function(e){var t=(0,i.kp)(e,"."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+", ."+this.classNameMap[a.Y7.ROOT]);return t&&(0,i.cK)(t,"."+this.classNameMap[a.Y7.LIST_ITEM_CLASS])?this.listElements.indexOf(t):-1},t.prototype.handleFocusInEvent=function(e){var t=this.getListItemIndex(e.target);this.foundation.handleFocusIn(t)},t.prototype.handleFocusOutEvent=function(e){var t=this.getListItemIndex(e.target);this.foundation.handleFocusOut(t)},t.prototype.handleKeydownEvent=function(e){var t=this.getListItemIndex(e.target),n=e.target;this.foundation.handleKeydown(e,n.classList.contains(this.classNameMap[a.Y7.LIST_ITEM_CLASS]),t)},t.prototype.handleClickEvent=function(e){var t=this.getListItemIndex(e.target),n=e.target,r=!(0,i.cK)(n,a.P$.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(t,r,e)},t}(o.O)},function(e,t,n){n.d(t,{X:function(){return l}});var r=n(2),o=n(5),i=n(42),a=n(47),s=n(55),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this,t=this.root.parentElement;this.anchorElement=t&&t.classList.contains(i.Y7.ANCHOR)?t:null,this.root.classList.contains(i.Y7.FIXED)&&this.setFixedPosition(!0),this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleBodyClick=function(t){e.foundation.handleBodyClick(t)},this.registerBodyClickListener=function(){document.body.addEventListener("click",e.handleBodyClick,{capture:!0})},this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",e.handleBodyClick,{capture:!0})},this.listen("keydown",this.handleKeydown),this.listen(i.P$.OPENED_EVENT,this.registerBodyClickListener),this.listen(i.P$.CLOSED_EVENT,this.deregisterBodyClickListener)},t.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten(i.P$.OPENED_EVENT,this.registerBodyClickListener),this.unlisten(i.P$.CLOSED_EVENT,this.deregisterBodyClickListener),e.prototype.destroy.call(this)},t.prototype.isOpen=function(){return this.foundation.isOpen()},t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(e){void 0===e&&(e=!1),this.foundation.close(e)},Object.defineProperty(t.prototype,"quickOpen",{set:function(e){this.foundation.setQuickOpen(e)},enumerable:!1,configurable:!0}),t.prototype.setIsHoisted=function(e){this.foundation.setIsHoisted(e)},t.prototype.setMenuSurfaceAnchorElement=function(e){this.anchorElement=e},t.prototype.setFixedPosition=function(e){e?this.root.classList.add(i.Y7.FIXED):this.root.classList.remove(i.Y7.FIXED),this.foundation.setFixedPosition(e)},t.prototype.setAbsolutePosition=function(e,t){this.foundation.setAbsolutePosition(e,t),this.setIsHoisted(!0)},t.prototype.setAnchorCorner=function(e){this.foundation.setAnchorCorner(e)},t.prototype.setAnchorMargin=function(e){this.foundation.setAnchorMargin(e)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},hasAnchor:function(){return!!e.anchorElement},notifyClose:function(){return e.emit(a.O.strings.CLOSED_EVENT,{})},notifyClosing:function(){e.emit(a.O.strings.CLOSING_EVENT,{})},notifyOpen:function(){return e.emit(a.O.strings.OPENED_EVENT,{})},notifyOpening:function(){return e.emit(a.O.strings.OPENING_EVENT,{})},isElementInContainer:function(t){return e.root.contains(t)},isRtl:function(){return"rtl"===getComputedStyle(e.root).getPropertyValue("direction")},setTransformOrigin:function(t){var n=(0,s.getCorrectPropertyName)(window,"transform")+"-origin";e.root.style.setProperty(n,t)},isFocused:function(){return document.activeElement===e.root},saveFocus:function(){e.previousFocus=document.activeElement},restoreFocus:function(){e.root.contains(document.activeElement)&&e.previousFocus&&e.previousFocus.focus&&e.previousFocus.focus()},getInnerDimensions:function(){return{width:e.root.offsetWidth,height:e.root.offsetHeight}},getAnchorDimensions:function(){return e.anchorElement?e.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(t){var n=e.root;n.style.left="left"in t?t.left+"px":"",n.style.right="right"in t?t.right+"px":"",n.style.top="top"in t?t.top+"px":"",n.style.bottom="bottom"in t?t.bottom+"px":""},setMaxHeight:function(t){e.root.style.maxHeight=t}};return new a.O(t)},t}(o.O)},function(e,t,n){n.d(t,{C:function(){return p}});var r=n(2),o=n(5),i=n(17),a=n(74),s=n(43),l=n(63),u=n(75),c=n(47),d=n(48),f=n(77),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t){void 0===e&&(e=function(e){return new u.X(e)}),void 0===t&&(t=function(e){return new a.f(e)}),this.menuSurfaceFactory=e,this.listFactory=t},t.prototype.initialSyncWithDOM=function(){var e=this;this.menuSurface=this.menuSurfaceFactory(this.root);var t=this.root.querySelector(d.P$.LIST_SELECTOR);t?(this.list=this.listFactory(t),this.list.wrapFocus=!0):this.list=null,this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleItemAction=function(t){e.foundation.handleItemAction(e.items[t.detail.index])},this.handleMenuSurfaceOpened=function(){e.foundation.handleMenuSurfaceOpened()},this.menuSurface.listen(c.O.strings.OPENED_EVENT,this.handleMenuSurfaceOpened),this.listen("keydown",this.handleKeydown),this.listen(l.Y.strings.ACTION_EVENT,this.handleItemAction)},t.prototype.destroy=function(){this.list&&this.list.destroy(),this.menuSurface.destroy(),this.menuSurface.unlisten(c.O.strings.OPENED_EVENT,this.handleMenuSurfaceOpened),this.unlisten("keydown",this.handleKeydown),this.unlisten(l.Y.strings.ACTION_EVENT,this.handleItemAction),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"open",{get:function(){return this.menuSurface.isOpen()},set:function(e){e?this.menuSurface.open():this.menuSurface.close()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wrapFocus",{get:function(){return!!this.list&&this.list.wrapFocus},set:function(e){this.list&&(this.list.wrapFocus=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTypeahead",{set:function(e){this.list&&(this.list.hasTypeahead=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeaheadInProgress",{get:function(){return!!this.list&&this.list.typeaheadInProgress},enumerable:!1,configurable:!0}),t.prototype.typeaheadMatchItem=function(e,t){return this.list?this.list.typeaheadMatchItem(e,t):-1},t.prototype.layout=function(){this.list&&this.list.layout()},Object.defineProperty(t.prototype,"items",{get:function(){return this.list?this.list.listElements:[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"singleSelection",{set:function(e){this.list&&(this.list.singleSelection=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.list?this.list.selectedIndex:s.nL.UNSET_INDEX},set:function(e){this.list&&(this.list.selectedIndex=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quickOpen",{set:function(e){this.menuSurface.quickOpen=e},enumerable:!1,configurable:!0}),t.prototype.setDefaultFocusState=function(e){this.foundation.setDefaultFocusState(e)},t.prototype.setAnchorCorner=function(e){this.menuSurface.setAnchorCorner(e)},t.prototype.setAnchorMargin=function(e){this.menuSurface.setAnchorMargin(e)},t.prototype.setSelectedIndex=function(e){this.foundation.setSelectedIndex(e)},t.prototype.setEnabled=function(e,t){this.foundation.setEnabled(e,t)},t.prototype.getOptionByIndex=function(e){return e<this.items.length?this.items[e]:null},t.prototype.getPrimaryTextAtIndex=function(e){var t=this.getOptionByIndex(e);return t&&this.list&&this.list.getPrimaryText(t)||""},t.prototype.setFixedPosition=function(e){this.menuSurface.setFixedPosition(e)},t.prototype.setIsHoisted=function(e){this.menuSurface.setIsHoisted(e)},t.prototype.setAbsolutePosition=function(e,t){this.menuSurface.setAbsolutePosition(e,t)},t.prototype.setAnchorElement=function(e){this.menuSurface.anchorElement=e},t.prototype.getDefaultFoundation=function(){var e=this,t={addClassToElementAtIndex:function(t,n){e.items[t].classList.add(n)},removeClassFromElementAtIndex:function(t,n){e.items[t].classList.remove(n)},addAttributeToElementAtIndex:function(t,n,r){e.items[t].setAttribute(n,r)},removeAttributeFromElementAtIndex:function(t,n){e.items[t].removeAttribute(n)},getAttributeFromElementAtIndex:function(t,n){return e.items[t].getAttribute(n)},elementContainsClass:function(e,t){return e.classList.contains(t)},closeSurface:function(t){e.menuSurface.close(t)},getElementIndex:function(t){return e.items.indexOf(t)},notifySelected:function(t){e.emit(d.P$.SELECTED_EVENT,{index:t.index,item:e.items[t.index]})},getMenuItemCount:function(){return e.items.length},focusItemAtIndex:function(t){e.items[t].focus()},focusListRoot:function(){e.root.querySelector(d.P$.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(t){return!!(0,i.kp)(e.items[t],"."+d.Y7.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(t){var n=(0,i.kp)(e.items[t],"."+d.Y7.MENU_SELECTION_GROUP).querySelector("."+d.Y7.MENU_SELECTED_LIST_ITEM);return n?e.items.indexOf(n):-1}};return new f.d(t)},t}(o.O)},function(e,t,n){n.d(t,{d:function(){return l}});var r=n(2),o=n(4),i=n(43),a=n(47),s=n(48),l=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.closeAnimationEndTimerId=0,o.defaultFocusState=s.hf.LIST_ROOT,o.selectedIndex=-1,o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return s.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},getAttributeFromElementAtIndex:function(){return null},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this.closeAnimationEndTimerId&&clearTimeout(this.closeAnimationEndTimerId),this.adapter.closeSurface()},t.prototype.handleKeydown=function(e){var t=e.key,n=e.keyCode;("Tab"===t||9===n)&&this.adapter.closeSurface(!0)},t.prototype.handleItemAction=function(e){var t=this,n=this.adapter.getElementIndex(e);if(!(n<0)){this.adapter.notifySelected({index:n});var r="true"===this.adapter.getAttributeFromElementAtIndex(n,s.P$.SKIP_RESTORE_FOCUS);this.adapter.closeSurface(r),this.closeAnimationEndTimerId=setTimeout((function(){var n=t.adapter.getElementIndex(e);n>=0&&t.adapter.isSelectableItemAtIndex(n)&&t.setSelectedIndex(n)}),a.O.numbers.TRANSITION_CLOSE_DURATION)}},t.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState){case s.hf.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case s.hf.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case s.hf.NONE:break;default:this.adapter.focusListRoot()}},t.prototype.setDefaultFocusState=function(e){this.defaultFocusState=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex},t.prototype.setSelectedIndex=function(e){if(this.validatedIndex(e),!this.adapter.isSelectableItemAtIndex(e))throw new Error("MDCMenuFoundation: No selection group at specified index.");var t=this.adapter.getSelectedSiblingOfItemAtIndex(e);t>=0&&(this.adapter.removeAttributeFromElementAtIndex(t,s.P$.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(t,s.Y7.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(e,s.Y7.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(e,s.P$.ARIA_CHECKED_ATTR,"true"),this.selectedIndex=e},t.prototype.setEnabled=function(e,t){this.validatedIndex(e),t?(this.adapter.removeClassFromElementAtIndex(e,i.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(e,s.P$.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(e,i.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(e,s.P$.ARIA_DISABLED_ATTR,"true"))},t.prototype.validatedIndex=function(e){var t=this.adapter.getMenuItemCount();if(!(e>=0&&e<t))throw new Error("MDCMenuFoundation: No list item at specified index.")},t}(o.I)},function(e,t,n){n.d(t,{Y:function(){return r}});
|
|
397
|
+
var r={NOTCH_ELEMENT_SELECTOR:".mdc-notched-outline__notch"},o={NOTCH_ELEMENT_PADDING:8},i={NO_LABEL:"mdc-notched-outline--no-label",OUTLINE_NOTCHED:"mdc-notched-outline--notched",OUTLINE_UPGRADED:"mdc-notched-outline--upgraded"}},function(module,__unused_webpack_exports,__webpack_require__){var __dirname="/",e,r,n,t,i;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;module.exports=(e=__webpack_require__(9),r=__webpack_require__(15),n=__webpack_require__(0),t=__webpack_require__(87),i=__webpack_require__(1),function(){var o=[,function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e){e.exports=i}],a={};function s(e){var t=a[e];if(void 0!==t)return t.exports;var n=a[e]={exports:{}};return o[e](n,n.exports,s),n.exports}s.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return s.d(t,{a:t}),t},s.d=function(e,t){for(var n in t)s.o(t,n)&&!s.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},s.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},s.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var l={};return function(){s.r(l),s.d(l,{GenericAnimate:function(){return c},GenericAnimateInner:function(){return u},default:function(){return d}});var e=s(1),t=s.n(e),n=s(2),r=s(3),o=s(4),i=s(5),a={"generic-animate":"generic-animate","generic-animate__list-wrapper":"generic-animate__list-wrapper","generic-animate__wrapper":"generic-animate__wrapper","generic-animate-appear":"generic-animate-appear","generic-animate-enter":"generic-animate-enter","generic-animate-exit-active":"generic-animate-exit-active","generic-animate-appear-active":"generic-animate-appear-active","generic-animate-enter-active":"generic-animate-enter-active","generic-animate-exit":"generic-animate-exit","generic-animate-exit-done":"generic-animate-exit-done"},u=function(e,n){return(0,i.jsx)(o.CSSTransition,t()({appear:!0,classNames:a["generic-animate"],in:!0,timeout:200,unmountOnExit:!0},e,{children:"string"==typeof e.children?(0,i.jsx)("span",{className:a["generic-animate__wrapper"],ref:n,children:e.children}):Array.isArray(e.children)?(0,i.jsx)("div",{className:a["generic-animate__list-wrapper"],ref:n,children:e.children}):e.children}))},c=(0,r.memo)((0,r.forwardRef)(u));c.wrapped=u,c.webComponentAdapterWrapped="react",c.propTypes={appear:n.boolean,classNames:n.string,in:n.boolean,timeout:n.number};var d=c}(),l}())},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(3),i=n(84),a=n(0),s={xsmall:24,small:24,medium:32,large:48,xlarge:48},l={24:12,32:16,48:24},u={24:8.75,32:12.5,48:18},c={24:54.978,32:78.54,48:113.097},d={24:27.489,32:39.27,48:56.549},f={24:2.5,32:3,48:4},p={24:2,32:2.4,48:3.2},h=o.createComponent((function(e,t){const{closed:n,size:h="small",max:_=1,min:m=0,progress:v,label:g,...b}=e,{rootEl:y,determinateCircleEl:E}=(e=>{const{foundation:t,...n}=o.useFoundation({props:e,elements:{rootEl:!0,determinateCircleEl:!0},foundation:({rootEl:e,determinateCircleEl:t})=>new i.MDCCircularProgressFoundation({addClass:t=>e.addClass(t),getDeterminateCircleAttribute:e=>{var n;return null==(n=t.ref)?void 0:n.getAttribute(e)},hasClass:t=>e.hasClass(t),removeClass:t=>e.removeClass(t),removeAttribute:t=>e.removeProp(t),setAttribute:(t,n)=>{e.setProp(t,n)},setDeterminateCircleAttribute:(e,n)=>{var r;return null==(r=t.ref)?void 0:r.setAttribute(e,n)}})}),[r,s]=a.useState(void 0);return a.useEffect((()=>{t.setProgress(e.progress||0);const n=void 0!==e.progress;n!==r&&(t.setDeterminate(n),s(n))}),[e.progress,r,t]),a.useEffect((()=>{e.closed?t.close():t.open()}),[e.closed,t]),{foundation:t,...n}})(e),x=o.useClassNames(e,["mdc-circular-progress",`rmwc-circular-progress--${h}`,{"mdc-circular-progress--closed":n}]),T=void 0!==v,C="number"==typeof h,A=s[C?"medium":h],w=C?{...b.style,fontSize:`${h}px`,width:`${h}px`,height:`${h}px`}:{...b.style},I=e=>e<m?0:e>_?1:(e-m)/(_-m),S=e=>({cx:l[e],cy:l[e],r:u[e],strokeDasharray:c[e],strokeDashoffset:d[e],strokeWidth:f[e]});return r.jsx(o.Tag,{"aria-valuenow":v,"aria-valuemin":m,"aria-valuemax":_,"aria-label":g,...b,style:w,className:x,element:y,ref:t,role:"progressbar",children:T?r.jsx("div",{className:"mdc-circular-progress__determinate-container",children:r.jsxs("svg",{className:"mdc-circular-progress__determinate-circle-graphic",viewBox:`0 0 ${A} ${A}`,children:[r.jsx("circle",{className:"mdc-circular-progress__determinate-track",cx:A/2,cy:A/2,r:A/2.4,strokeWidth:"4"}),r.jsx(o.Tag,{tag:"circle",className:"mdc-circular-progress__determinate-circle",style:(O=A,void 0!==v?{strokeDasharray:2*Math.PI*(O/2.4)*I(v)+", 666.66%",width:`${O}px`,height:`${O}px`}:void 0),cx:A/2,cy:A/2,r:A/2.4,element:E,strokeDashoffset:"113.097",strokeWidth:"4"})]})}):r.jsx("div",{className:"mdc-circular-progress__indeterminate-container",children:r.jsxs("div",{className:"mdc-circular-progress__spinner-layer",children:[r.jsx("div",{className:"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-left",children:r.jsx("svg",{className:"mdc-circular-progress__indeterminate-circle-graphic",viewBox:`0 0 ${A} ${A}`,children:r.jsx("circle",{...S(A)})})}),r.jsx("div",{className:"mdc-circular-progress__gap-patch",children:r.jsx("svg",{className:"mdc-circular-progress__indeterminate-circle-graphic",viewBox:`0 0 ${A} ${A}`,children:r.jsx("circle",{...S(A),strokeWidth:p[A]})})}),r.jsx("div",{className:"mdc-circular-progress__circle-clipper mdc-circular-progress__circle-right",children:r.jsx("svg",{className:"mdc-circular-progress__indeterminate-circle-graphic",viewBox:`0 0 ${A} ${A}`,children:r.jsx("circle",{...S(A)})})})]})})});var O}));t.CircularProgress=h},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(18),s=n(14),l=n(88),u=i.createComponent((function({...e},t){return e.onIcon?r.jsx(c,{...e,ref:t}):r.jsx(d,{...e,ref:t})})),c=i.createComponent((function(e,t){const{icon:n,onIcon:a,foundationRef:s,...u}=e,{isOn:c,rootEl:d}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},foundation:({rootEl:e,emit:t})=>new l.MDCIconButtonToggleFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),hasClass:t=>e.hasClass(t),setAttr:(t,n)=>e.setProp(t,n),notifyChange:e=>t("onChange",e)})}),{rootEl:r}=n,a=void 0!==e.checked?e.checked:t.isOn();return o.useEffect((()=>{a!==t.isOn()&&t.toggle(a)}),[t,a]),r.setProp("onClick",(n=>{var r;null==(r=e.onClick)||r.call(e,n),t.handleClick()}),!0),{isOn:a,foundation:t,...n}})(e);return r.jsxs(f,{"aria-pressed":c,...d.props(u),tag:"button",ref:t,children:[r.jsx("div",{className:"mdc-icon-button__ripple"}),r.jsx(p,{icon:n}),r.jsx(p,{icon:a,on:!0})]})})),d=s.withRipple({surface:!1,unbounded:!0})(i.createComponent((function(e,t){const{checked:n,label:o,foundationRef:s,children:l,icon:u,...c}=e,d=i.useClassNames(e,["mdc-icon-button",{"mdc-icon-button--on":n}]);return r.jsxs(i.Tag,{tag:"button",role:"button",tabIndex:0,"aria-label":o,...c,className:d,ref:t,children:[r.jsx("div",{className:"mdc-icon-button__ripple"}),r.jsx(a.Icon,{icon:u,...c,tag:"i"})]})}))),f=s.withRipple({surface:!1,unbounded:!0})(i.createComponent((function(e,t){const{checked:n,...o}=e,a=i.useClassNames(e,["mdc-icon-button",{"mdc-icon-button--on":n}]);return r.jsx(i.Tag,{tag:"button",role:"button",tabIndex:0,...o,className:a,ref:t})}))),p=o.memo((function(e){const{on:t,...n}=e,o=i.useClassNames(e,["mdc-icon-button__icon",{"mdc-icon-button__icon--on":e.on}]);return r.jsx(a.Icon,{...n,className:o})}));t.IconButton=u},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(60),s=n(61),l=n(62),u=n(58),c=n(59),d=n(14),f=n(96),p=n(18),h=e=>{const[t,n]=o.useState(),[r,a]=o.useState(!1),[s,l]=o.useState(0),[u,c]=o.useState(!1),[d,p]=o.useState(!1),[h,_]=o.useState(""),m=o.useRef(-1),v=o.useRef(),g=o.useRef(),b=o.useRef(null),y=o.useRef(),E=o.useRef(),x=o.useRef(!1),{foundation:T,...C}=i.useFoundation({props:e,elements:{rootEl:!0,anchorEl:!0},foundation:({rootEl:e,anchorEl:t,getProps:r,emit:o})=>{const i=()=>!r().enhanced,s=new f.MDCSelectFoundation({...(()=>{const e=()=>{var e,t;return(i()?Array.apply(null,null==(e=E.current)?void 0:e.options):null==(t=g.current)?void 0:t.items())||[]},n=e=>e.getAttribute("data-value")||e.getAttribute("value")||"";return{setSelectedText:e=>_(e),openMenu:()=>{p(!0)},closeMenu:()=>{p(!1)},getAnchorElement:()=>b.current,setMenuAnchorElement:e=>(e=>{b.current=e})(e),setMenuAnchorCorner:e=>{var t;return null==(t=g.current)?void 0:t.setAnchorCorner(e)},setMenuWrapFocus:e=>{},focusMenuItemAtIndex:e=>{var t;return null==(t=g.current)?void 0:t.focusItemAtIndex(e)},getMenuItemCount:()=>e().length,getMenuItemValues:()=>e().map(n)||[],getMenuItemTextAtIndex:t=>e()[t].textContent,isSelectAnchorFocused:()=>!(!t.ref||t.ref!==document.activeElement),getSelectAnchorAttr:e=>t.getProp(e),setSelectAnchorAttr:(e,n)=>{if("tabindex"===e){if(i())return;e="tabIndex"}return t.setProp(e,n)},removeSelectAnchorAttr:e=>{var t;null==(t=b.current)||t.removeAttribute(e)},addMenuClass:e=>{var t,n,r;return null==(r=null==(n=null==(t=g.current)?void 0:t.getSurfaceElement())?void 0:n.querySelector(".mdc-deprecated-list-item--activated"))?void 0:r.classList.add(e)},removeMenuClass:e=>{var t,n,r;return null==(r=null==(n=null==(t=g.current)?void 0:t.getSurfaceElement())?void 0:n.querySelector(".mdc-deprecated-list-item--activated"))?void 0:r.classList.remove(e)},getSelectedIndex:()=>i()&&void 0!==E.current?E.current.selectedOptions[0].index:m.current,setSelectedIndex:e=>m}})(),addClass:t=>{e.addClass(t)},removeClass:t=>{e.removeClass(t)},hasClass:t=>e.hasClass(t),isRtl:()=>e.ref&&"rtl"===window.getComputedStyle(e.ref).getPropertyValue("direction"),setRippleCenter:e=>{l(e)},activateBottomLine:()=>a(!0),deactivateBottomLine:()=>a(!1),notifyChange:e=>{x.current||o("onChange",{index:m.current,value:e},!0)},hasOutline:()=>!!r().outlined,notchOutline:e=>{n(e)},closeOutline:()=>{n(void 0)},hasLabel:()=>!!r().label,floatLabel:e=>{c(e)},getLabelWidth:()=>{var e;return(null==(e=v.current)?void 0:e.getWidth())||0},setLabelRequired:e=>{var t;return null==(t=v.current)?void 0:t.setRequired(e)}},{leadingIcon:y.current&&y.current.getFoundation()||void 0}),u=s.adapter;s.layout=()=>{(()=>{const e=s.getValue();if(u.hasLabel()){const t=!!r().placeholder||e.length>0||m.current>-1,n=u.hasClass(f.cssClasses.FOCUSED),o=t||n,i=u.hasClass(f.cssClasses.REQUIRED);s.notchOutline(o),u.floatLabel(o),u.setLabelRequired(i)}})()},Object.defineProperty(s,"menuItemValues",{get:()=>u.getMenuItemValues()});const d=s.init.bind(s);return s.init=()=>{x.current=!0,d();const e=String(r().placeholder||"");!s.getValue()&&e&&u.setSelectedText(e),x.current=!1},s}}),{rootEl:A}=C,{onFocus:w}=e,I=o.useCallback((e=>{null==w||w(e),T.handleFocus()}),[w,T]),{onBlur:S}=e,O=o.useCallback((e=>{null==S||S(e),T.handleBlur()}),[S,T]),{onChange:L}=e,P=o.useCallback((e=>{null==L||L(e),T.handleChange()}),[L,T]),N=o.useCallback((e=>{var t,n;if(null!=(t=A.ref)&&t.querySelector(".mdc-select--disabled"))return;if(null!=(n=A.ref)&&n.querySelector(".mdc-menu-surface--open"))return void T.handleMenuClosed();const r=(e=>{const t=e.target.getBoundingClientRect();return e.clientX-t.left})(e);A.ref&&A.ref.focus(),T.handleClick(r)}),[T,A.ref]),{onKeyDown:k}=e,R=o.useCallback((e=>{null==k||k(e),T.handleKeydown(e)}),[T,k]),D=o.useCallback((e=>{m.current=e,T.handleMenuItemAction(e)}),[T]),M=o.useCallback((()=>{T.handleMenuOpened()}),[T]),j=o.useCallback((()=>{p(!1),T.handleMenuClosed()}),[T]),F=T.getValue(),B=e.value??(-1===m.current?e.defaultValue:void 0),U=Array.isArray(e.options)?e.options.length:Object.values(e.options||{}).length;return o.useEffect((()=>{if(x.current=!0,void 0!==B&&B!==F){const e=T.menuItemValues.indexOf(B);if(m.current=e,T.setValue(B||""),T.menuItemValues.includes(B)){const t=T.adapter.getMenuItemTextAtIndex(e);_(t)}}i.raf((()=>{x.current=!1}))}),[B,F,U,T]),o.useEffect((()=>{T.setDisabled(!!e.disabled)}),[T,e.disabled]),o.useEffect((()=>{var e;A.ref&&(null==(e=g.current)||e.setAnchorElement(A.ref))}),[A.ref]),{notchWidth:t,menuOpen:d,lineRippleActive:r,lineRippleCenter:s,floatLabel:u,selectedIndex:m.current,selectedTextContent:h,setFloatingLabel:e=>{v.current=e},setMenu:e=>{g.current=e},setLeadingIcon:e=>{y.current=e},setNativeControl:e=>{E.current=e},handleFocus:I,handleBlur:O,handleClick:N,handleChange:P,handleKeydown:R,handleMenuClosed:j,handleMenuOpened:M,handleMenuSelected:D,...C}},_=function(e){const{apiRef:t,...n}=e,{rootEl:o}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e})=>({getFoundation:()=>e}),foundation:({rootEl:e,emit:t})=>new f.MDCSelectIconFoundation({getAttr:t=>e.getProp(t),setAttr:(t,n)=>e.setProp(t,n),removeAttr:t=>e.removeProp(t),setContent:t=>{e.ref&&(e.ref.textContent=t)},registerInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterInteractionHandler:(t,n)=>e.removeEventListener(t,n),notifyIconAction:()=>t("onClick",{},!0)})});return{...n}})(e),a=i.useClassNames(e,["mdc-select__icon"]);return r.jsx(p.Icon,{...o.props({...n,className:a})})},m=e=>Array.isArray(e)&&e[0]&&"object"==typeof e[0]?e.map((e=>{if("object"!=typeof e)throw new Error(`Encountered non object for Select ${e}`);return{...e,options:m(e.options)}})):Array.isArray(e)?e.map((e=>({value:e,label:e}))):"object"==typeof e?Object.keys(e).map((t=>({value:t,label:e[t]}))):e,v=()=>r.jsxs("span",{className:"mdc-select__dropdown-icon",children:[r.jsx(p.Icon,{className:"mdc-select__dropdown-icon-inactive",icon:"arrow_drop_down"}),r.jsx(p.Icon,{className:"mdc-select__dropdown-icon-active",icon:"arrow_drop_up"})]});function g(e){const{selectOptions:t,placeholder:n="",children:o,elementRef:i,open:a,label:s,...l}=e,u=({label:e,option:t,index:n})=>r.jsx("option",{...t,value:t.value,children:e},n),c=!e.value&&!e.defaultValue;return r.jsxs("select",{tabIndex:0,...l,ref:i,className:"rmwc-select__native-control"+(l.className?` ${l.className}`:""),children:[(void 0!==e.placeholder||c)&&r.jsx("option",{value:"",disabled:c,children:n}),!!t&&t.map((({label:e,options:t,...n},o)=>t?r.jsx("optgroup",{label:e,children:t.map((({label:e,...t},n)=>u({label:e,option:t,index:n})))},o):u({label:e,option:n,index:o}))),o]})}const b=d.withRipple({surface:!1})(o.forwardRef((function(e,t){return r.jsx(i.Tag,{ref:t,...e})}))),y=o.forwardRef(((e,t)=>{const{selectOptions:n,menuApiRef:o,value:a,placeholder:s,children:l,selectedIndex:d,...f}=e;let p=0;const h=i.useClassNames(e,["mdc-select__menu"]),_=({label:e,option:t})=>(p+=1,r.jsx(u.MenuItem,{activated:void 0!==a?t.value===a:p-1===d,...t,"data-value":t.value,children:r.jsx("span",{className:"mdc-deprecated-list-item__text",children:e})},`${e}-${t.value}`));return r.jsxs(u.Menu,{...f,ref:t,apiRef:o,className:h,focusOnOpen:!0,children:[!!e.placeholder&&r.jsx(u.MenuItem,{selected:p-1===d,"data-value":"",theme:"textDisabledOnBackground",children:r.jsx("span",{className:"mdc-deprecated-list-item__text",children:s})}),n.map((({label:e,options:t,...o},i)=>t?r.jsxs(c.ListGroup,{children:[e&&r.jsx(c.ListGroupSubheader,{theme:"textDisabledOnBackground",children:e}),r.jsx(u.MenuItems,{children:t.map((({label:e,...t})=>_({label:e,option:t})))}),i<n.length-1&&r.jsx(c.ListDivider,{})]},i):_({label:e,option:o}))),l]})})),E=({enhanced:e,children:t})=>e?r.jsx(u.MenuSurfaceAnchor,{children:t}):r.jsx(r.Fragment,{children:t}),x=i.createComponent((function(e,t){const{placeholder:n,children:u,value:c,outlined:d,label:f="",options:p=[],rootProps:x={},enhanced:C,icon:A,onChange:w,onFocus:I,onBlur:S,onKeyDown:O,invalid:L,inputRef:P,helpText:N,foundationRef:k,...R}=e,D=m(p),{rootEl:M,anchorEl:j,notchWidth:F,menuOpen:B,selectedTextContent:U,lineRippleActive:q,lineRippleCenter:V,floatLabel:H,setFloatingLabel:W,setNativeControl:$,setLeadingIcon:z,selectedIndex:K,setMenu:X,handleFocus:G,handleBlur:Y,handleClick:Q,handleChange:J,handleKeydown:Z,handleMenuClosed:ee,handleMenuOpened:te,handleMenuSelected:ne}=h(e),re=i.useId("select",e),oe=i.useClassNames(e,["mdc-select","rmwc-select__default-width",{"mdc-select--outlined":!!d,"mdc-select--filled":!d,"mdc-select--required":!!e.required,"mdc-select--invalid":!!L,"mdc-select--with-leading-icon":!!A,"mdc-select--no-label":!f}]),ie="object"==typeof C?C:{},ae=void 0!==c?void 0:e.defaultValue||"",se=r.jsx(a.FloatingLabel,{float:H,apiRef:W,htmlFor:re,children:f});return r.jsxs(E,{enhanced:C,children:[r.jsxs(i.Tag,{...x,element:M,ref:t,className:oe,children:[r.jsxs(b,{className:"mdc-select__anchor",role:"button","aria-haspopup":"listbox",element:j,onFocus:G,onBlur:Y,onClick:Q,onKeyDown:Z,onChange:J,tabIndex:C?void 0:-1,children:[!!A&&r.jsx(_,{apiRef:z,icon:A}),d?r.jsx(l.NotchedOutline,{notch:F,children:se}):r.jsxs(r.Fragment,{children:[r.jsx(s.LineRipple,{active:q,center:V}),se]}),r.jsx("span",{className:"mdc-select__selected-text-container",children:r.jsx("span",{className:"mdc-select__selected-text",children:U})}),r.jsx(v,{}),!C&&r.jsx(g,{...R,id:re,value:c,children:u,defaultValue:ae,placeholder:n,selectOptions:D,elementRef:$,onFocus:G,onBlur:e=>{Y(e),ee()},onChange:e=>{ne(e.currentTarget.selectedIndex)}})]}),C&&r.jsx(y,{...R,...ie,ref:t,anchorCorner:"bottomStart",defaultValue:ae,placeholder:n,open:B,onClose:ee,onOpen:te,onSelect:e=>{ne(e.detail.index)},selectOptions:D,value:c,selectedIndex:K,menuApiRef:X,children:u})]}),(()=>{if(!N)return null;const e="object"==typeof N&&!o.isValidElement(N);return N&&e?r.jsx(T,{...N}):r.jsx(T,{children:N})})()]})})),T=i.createComponent((function(e,t){const{persistent:n,validationMsg:o,...a}=e,s=i.useClassNames(e,["mdc-select-helper-text",{"mdc-select-helper-text--persistent":n,"mdc-select-helper-text--validation-msg":o}]);return r.jsx(i.Tag,{tag:"p",...a,className:s,ref:t})}));t.Select=x,t.SelectHelperText=T},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(3),a=n(60),s=n(18),l=n(61),u=n(62),c=n(14),d=n(97),f=e=>{const[t,n]=o.useState(!1),[r,a]=o.useState(0),[s,l]=o.useState(),[u,c]=o.useState(!1),[f,p]=o.useState(!1),h=o.useRef(),_=e=>{h.current=e},m=o.useRef(),v=o.useRef(),g=o.useRef(),{content:b}=(e=>{const[t,n]=o.useState(),{foundation:r,...a}=i.useFoundation({props:e,api:({foundation:e})=>({getFoundation:()=>e}),elements:{},foundation:()=>new d.MDCTextFieldCharacterCounterFoundation({setContent:e=>{n(e)}})});return{content:t,...a}})({apiRef:e.characterCount?_:void 0}),{foundation:y,...E}=i.useFoundation({props:e,elements:{rootEl:!0,inputEl:!0},foundation:({rootEl:e,inputEl:t,getProps:r})=>new d.MDCTextFieldFoundation({addClass:t=>e.addClass(t),removeClass:t=>e.removeClass(t),hasClass:t=>e.hasClass(t),registerTextFieldInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterTextFieldInteractionHandler:(t,n)=>e.removeEventListener(t,n),registerValidationAttributeChangeHandler:e=>{if(t.ref){const n=new MutationObserver((t=>e((e=>e.map((e=>e.attributeName)))(t)))),r=t.ref,o={attributes:!0};return r&&n.observe(r,o),n}return{}},deregisterValidationAttributeChangeHandler:e=>{e&&e.disconnect()},isFocused:()=>document.activeElement===t.ref,registerInputInteractionHandler:(e,n)=>t.addEventListener(e,n),deregisterInputInteractionHandler:(e,n)=>t.removeEventListener(e,n),getNativeInput:()=>t.ref,shakeLabel:e=>c(e),floatLabel:e=>{p(r().floatLabel??e)},hasLabel:()=>!!r().label,getLabelWidth:()=>{var e;return(null==(e=g.current)?void 0:e.getWidth())||0},activateLineRipple:()=>{n(!0)},deactivateLineRipple:()=>{n(!1)},setLineRippleTransformOrigin:e=>{a(e)},notchOutline:e=>{l(e)},closeOutline:()=>{r().floatLabel??l(void 0)},hasOutline:()=>!!r().outlined},{characterCounter:h.current?h.current.getFoundation():void 0,helperText:void 0,leadingIcon:m.current?m.current.getFoundation():void 0,trailingIcon:v.current?v.current.getFoundation():void 0})}),x=y.getValue();return o.useEffect((()=>{void 0!==e.value&&e.value!==x&&y.setValue(String(e.value))}),[e.value,y,x]),o.useEffect((()=>{void 0!==e.floatLabel&&(y.notchOutline(e.floatLabel),y.adapter.floatLabel(e.floatLabel))}),[y,e.floatLabel]),{shakeLabel:u,floatLabel:f,notchWidth:s,lineRippleActive:t,lineRippleCenter:r,setCharacterCounter:_,setLeadingIcon:e=>m.current=e,setTrailingIcon:e=>v.current=e,setFloatingLabel:e=>g.current=e,characterCountContent:b,...E}},p=i.createComponent((function(e,t){const{label:n,style:s,outlined:c,align:d,invalid:p,disabled:y,helpText:E,children:x,textarea:T,fullwidth:C,inputRef:A,characterCount:w,icon:I,trailingIcon:S,rootProps:O={},foundationRef:L,ripple:P,prefix:N,suffix:k,resizeable:R,floatLabel:D,...M}=e,{rootEl:j,inputEl:F,shakeLabel:B,floatLabel:U,notchWidth:q,lineRippleActive:V,lineRippleCenter:H,setLeadingIcon:W,setTrailingIcon:$,setFloatingLabel:z,characterCountContent:K}=f(e),X=i.useId("textfield",e)+"-label",G=i.useClassNames(e,["mdc-text-field","mdc-text-field--upgraded",{"mdc-text-field--filled":!c,"mdc-text-field--textarea":T,"mdc-text-field--outlined":c,"mdc-text-field--invalid":p,"mdc-text-field--disabled":y,"mdc-text-field--with-leading-icon":!!I,"mdc-text-field--with-trailing-icon":!!S,"mdc-text-field--no-label":!n,"mdc-text-field--end-aligned":"end"===d,"mdc-text-field--with-internal-counter":T&&w,"rmwc-text-field--fullwidth":C}]),Y=(e,t)=>r.jsx(b,{apiRef:e=>{"leading"===t?W(e):$(e)},position:t,tabIndex:"trailing"===t?0:void 0,icon:e}),Q=n?r.jsx(a.FloatingLabel,{shake:B,float:U,apiRef:z,id:X,children:n}):null,J=w?r.jsx("div",{className:"mdc-text-field-character-counter",children:K}):null,Z=R?r.jsxs("span",{className:"mdc-text-field__resizer",children:[r.jsx(i.Tag,{...M,element:F,className:"mdc-text-field__input",disabled:y,tag:"textarea",ref:i.mergeRefs(t,A)}),J]}):r.jsxs(r.Fragment,{children:[r.jsx(i.Tag,{...M,element:F,className:"mdc-text-field__input",disabled:y,tag:"textarea",ref:i.mergeRefs(t,A)}),J]});return r.jsxs(r.Fragment,{children:[r.jsxs(_,{...O,element:j,style:s,className:G,ref:t,"aria-labelledby":X,children:[!!I&&Y(I,"leading"),x,r.jsx(h,{}),!!N&&!T&&r.jsx(m,{prefix:N}),T?Z:r.jsx(i.Tag,{...M,element:F,className:"mdc-text-field__input",disabled:y,tag:"input",ref:i.mergeRefs(t,A)}),!!k&&!T&&r.jsx(v,{suffix:k}),c?r.jsxs(r.Fragment,{children:[r.jsx(u.NotchedOutline,{notch:q,children:Q}),!!S&&Y(S,"trailing")]}):r.jsxs(r.Fragment,{children:[Q,!!S&&Y(S,"trailing"),r.jsx(l.LineRipple,{active:V,center:H})]})]}),(e=>{if(!(E||w&&!T))return null;const t="object"==typeof E&&!o.isValidElement(E);return r.jsxs("div",{className:"mdc-text-field-helper-line",children:[E&&t?r.jsx(g,{...E}):r.jsx(g,{children:E}),!T&&e]})})(J)]})})),h=o.memo((function(){return r.jsx("span",{className:"mdc-text-field__ripple"})})),_=c.withRipple({surface:!1})(o.forwardRef((function(e,t){return r.jsx(i.Tag,{...e,tag:"label",ref:t})}))),m=o.memo((function({prefix:e}){return r.jsx("span",{className:"mdc-text-field__affix mdc-text-field__affix--prefix",children:e})})),v=o.memo((function({suffix:e}){return r.jsx("span",{className:"mdc-text-field__affix mdc-text-field__affix--suffix",children:e})})),g=i.createComponent((function(e,t){const{persistent:n,validationMsg:o,...a}=e,s=i.useClassNames(e,["mdc-text-field-helper-text",{"mdc-text-field-helper-text--persistent":n,"mdc-text-field-helper-text--validation-msg":o}]);return r.jsx(i.Tag,{tag:"div",...a,className:s,ref:t})})),b=function(e){const{apiRef:t,position:n,...o}=e,{rootEl:a}=(e=>{const{foundation:t,...n}=i.useFoundation({props:e,elements:{rootEl:!0},api:({foundation:e})=>({getFoundation:()=>e}),foundation:({rootEl:e,emit:t})=>new d.MDCTextFieldIconFoundation({getAttr:t=>e.getProp(t),setAttr:(t,n)=>e.setProp(t,n),removeAttr:t=>e.removeProp(t),setContent:t=>{e.setProp("icon",t)},registerInteractionHandler:(t,n)=>e.addEventListener(t,n),deregisterInteractionHandler:(t,n)=>e.removeEventListener(t,n),notifyIconAction:()=>t("onClick",{},!0)})});return{...n}})(e),l=i.useClassNames(e,["mdc-text-field__icon",{"mdc-text-field__icon--trailing":"trailing"===n,"mdc-text-field__icon--leading":"leading"===n}]);return r.jsx(s.Icon,{...a.props({...o,className:l})})};b.displayName="TextFieldIcon",t.TextField=p,t.TextFieldHelperText=g},function(e,t,n){n.d(t,{f:function(){return l}});var r=n(2),o=n(5),i=n(17),a=n(43),s=n(63),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),Object.defineProperty(t.prototype,"vertical",{set:function(e){this.foundation.setVerticalOrientation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"listElements",{get:function(){return Array.from(this.root.querySelectorAll("."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]))},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wrapFocus",{set:function(e){this.foundation.setWrapFocus(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeaheadInProgress",{get:function(){return this.foundation.isTypeaheadInProgress()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTypeahead",{set:function(e){this.foundation.setHasTypeahead(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"singleSelection",{set:function(e){this.foundation.setSingleSelection(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabledItemsFocusable",{set:function(e){this.foundation.setDisabledItemsFocusable(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(e){this.foundation.setSelectedIndex(e)},enumerable:!1,configurable:!0}),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){this.isEvolutionEnabled=a.iP in this.root.dataset,this.isEvolutionEnabled?this.classNameMap=a.$z:(0,i.cK)(this.root,a.P$.DEPRECATED_SELECTOR)?this.classNameMap=a.PY:this.classNameMap=Object.values(a.Y7).reduce((function(e,t){return e[t]=t,e}),{}),this.handleClick=this.handleClickEvent.bind(this),this.handleKeydown=this.handleKeydownEvent.bind(this),this.focusInEventListener=this.handleFocusInEvent.bind(this),this.focusOutEventListener=this.handleFocusOutEvent.bind(this),this.listen("keydown",this.handleKeydown),this.listen("click",this.handleClick),this.listen("focusin",this.focusInEventListener),this.listen("focusout",this.focusOutEventListener),this.layout(),this.initializeListType(),this.ensureFocusable()},t.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten("click",this.handleClick),this.unlisten("focusin",this.focusInEventListener),this.unlisten("focusout",this.focusOutEventListener)},t.prototype.layout=function(){var e=this.root.getAttribute(a.P$.ARIA_ORIENTATION);this.vertical=e!==a.P$.ARIA_ORIENTATION_HORIZONTAL;var t="."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+":not([tabindex])",n=a.P$.FOCUSABLE_CHILD_ELEMENTS,r=this.root.querySelectorAll(t);r.length&&Array.prototype.forEach.call(r,(function(e){e.setAttribute("tabindex","-1")}));var o=this.root.querySelectorAll(n);o.length&&Array.prototype.forEach.call(o,(function(e){e.setAttribute("tabindex","-1")})),this.isEvolutionEnabled&&this.foundation.setUseSelectedAttribute(!0),this.foundation.layout()},t.prototype.getPrimaryText=function(e){var t,n=e.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_PRIMARY_TEXT_CLASS]);if(this.isEvolutionEnabled||n)return null!==(t=null==n?void 0:n.textContent)&&void 0!==t?t:"";var r=e.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_TEXT_CLASS]);return r&&r.textContent||""},t.prototype.initializeListType=function(){var e=this;if(this.isInteractive=(0,i.cK)(this.root,a.P$.ARIA_INTERACTIVE_ROLES_SELECTOR),this.isEvolutionEnabled&&this.isInteractive){var t=Array.from(this.root.querySelectorAll(a.P$.SELECTED_ITEM_SELECTOR),(function(t){return e.listElements.indexOf(t)}));(0,i.cK)(this.root,a.P$.ARIA_MULTI_SELECTABLE_SELECTOR)?this.selectedIndex=t:t.length>0&&(this.selectedIndex=t[0])}else{var n=this.root.querySelectorAll(a.P$.ARIA_ROLE_CHECKBOX_SELECTOR),r=this.root.querySelector(a.P$.ARIA_CHECKED_RADIO_SELECTOR);if(n.length){var o=this.root.querySelectorAll(a.P$.ARIA_CHECKED_CHECKBOX_SELECTOR);this.selectedIndex=Array.from(o,(function(t){return e.listElements.indexOf(t)}))}else r&&(this.selectedIndex=this.listElements.indexOf(r))}},t.prototype.setEnabled=function(e,t){this.foundation.setEnabled(e,t)},t.prototype.typeaheadMatchItem=function(e,t){return this.foundation.typeaheadMatchItem(e,t,!0)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClassForElementIndex:function(t,n){var r=e.listElements[t];r&&r.classList.add(e.classNameMap[n])},focusItemAtIndex:function(t){var n=e.listElements[t];n&&n.focus()},getAttributeForElementIndex:function(t,n){return e.listElements[t].getAttribute(n)},getFocusedElementIndex:function(){return e.listElements.indexOf(document.activeElement)},getListItemCount:function(){return e.listElements.length},getPrimaryTextAtIndex:function(t){return e.getPrimaryText(e.listElements[t])},hasCheckboxAtIndex:function(t){return!!e.listElements[t].querySelector(a.P$.CHECKBOX_SELECTOR)},hasRadioAtIndex:function(t){return!!e.listElements[t].querySelector(a.P$.RADIO_SELECTOR)},isCheckboxCheckedAtIndex:function(t){return e.listElements[t].querySelector(a.P$.CHECKBOX_SELECTOR).checked},isFocusInsideList:function(){return e.root!==document.activeElement&&e.root.contains(document.activeElement)},isRootFocused:function(){return document.activeElement===e.root},listItemAtIndexHasClass:function(t,n){return e.listElements[t].classList.contains(e.classNameMap[n])},notifyAction:function(t){e.emit(a.P$.ACTION_EVENT,{index:t},!0)},notifySelectionChange:function(t){e.emit(a.P$.SELECTION_CHANGE_EVENT,{changedIndices:t},!0)},removeClassForElementIndex:function(t,n){var r=e.listElements[t];r&&r.classList.remove(e.classNameMap[n])},setAttributeForElementIndex:function(t,n,r){var o=e.listElements[t];o&&o.setAttribute(n,r)},setCheckedCheckboxOrRadioAtIndex:function(t,n){var r=e.listElements[t].querySelector(a.P$.CHECKBOX_RADIO_SELECTOR);r.checked=n;var o=document.createEvent("Event");o.initEvent("change",!0,!0),r.dispatchEvent(o)},setTabIndexForListItemChildren:function(t,n){var r=e.listElements[t],o=a.P$.CHILD_ELEMENTS_TO_TOGGLE_TABINDEX;Array.prototype.forEach.call(r.querySelectorAll(o),(function(e){e.setAttribute("tabindex",n)}))}};return new s.Y(t)},t.prototype.ensureFocusable=function(){if(this.isEvolutionEnabled&&this.isInteractive&&!this.root.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+'[tabindex="0"]')){var e=this.initialFocusIndex();-1!==e&&(this.listElements[e].tabIndex=0)}},t.prototype.initialFocusIndex=function(){if(this.selectedIndex instanceof Array&&this.selectedIndex.length>0)return this.selectedIndex[0];if("number"==typeof this.selectedIndex&&this.selectedIndex!==a.nL.UNSET_INDEX)return this.selectedIndex;var e=this.root.querySelector("."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+":not(."+this.classNameMap[a.Y7.LIST_ITEM_DISABLED_CLASS]+")");return null===e?-1:this.getListItemIndex(e)},t.prototype.getListItemIndex=function(e){var t=(0,i.kp)(e,"."+this.classNameMap[a.Y7.LIST_ITEM_CLASS]+", ."+this.classNameMap[a.Y7.ROOT]);return t&&(0,i.cK)(t,"."+this.classNameMap[a.Y7.LIST_ITEM_CLASS])?this.listElements.indexOf(t):-1},t.prototype.handleFocusInEvent=function(e){var t=this.getListItemIndex(e.target);this.foundation.handleFocusIn(t)},t.prototype.handleFocusOutEvent=function(e){var t=this.getListItemIndex(e.target);this.foundation.handleFocusOut(t)},t.prototype.handleKeydownEvent=function(e){var t=this.getListItemIndex(e.target),n=e.target;this.foundation.handleKeydown(e,n.classList.contains(this.classNameMap[a.Y7.LIST_ITEM_CLASS]),t)},t.prototype.handleClickEvent=function(e){var t=this.getListItemIndex(e.target),n=e.target,r=!(0,i.cK)(n,a.P$.CHECKBOX_RADIO_SELECTOR);this.foundation.handleClick(t,r,e)},t}(o.O)},function(e,t,n){n.d(t,{X:function(){return l}});var r=n(2),o=n(5),i=n(42),a=n(47),s=n(55),l=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this,t=this.root.parentElement;this.anchorElement=t&&t.classList.contains(i.Y7.ANCHOR)?t:null,this.root.classList.contains(i.Y7.FIXED)&&this.setFixedPosition(!0),this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleBodyClick=function(t){e.foundation.handleBodyClick(t)},this.registerBodyClickListener=function(){document.body.addEventListener("click",e.handleBodyClick,{capture:!0})},this.deregisterBodyClickListener=function(){document.body.removeEventListener("click",e.handleBodyClick,{capture:!0})},this.listen("keydown",this.handleKeydown),this.listen(i.P$.OPENED_EVENT,this.registerBodyClickListener),this.listen(i.P$.CLOSED_EVENT,this.deregisterBodyClickListener)},t.prototype.destroy=function(){this.unlisten("keydown",this.handleKeydown),this.unlisten(i.P$.OPENED_EVENT,this.registerBodyClickListener),this.unlisten(i.P$.CLOSED_EVENT,this.deregisterBodyClickListener),e.prototype.destroy.call(this)},t.prototype.isOpen=function(){return this.foundation.isOpen()},t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(e){void 0===e&&(e=!1),this.foundation.close(e)},Object.defineProperty(t.prototype,"quickOpen",{set:function(e){this.foundation.setQuickOpen(e)},enumerable:!1,configurable:!0}),t.prototype.setIsHoisted=function(e){this.foundation.setIsHoisted(e)},t.prototype.setMenuSurfaceAnchorElement=function(e){this.anchorElement=e},t.prototype.setFixedPosition=function(e){e?this.root.classList.add(i.Y7.FIXED):this.root.classList.remove(i.Y7.FIXED),this.foundation.setFixedPosition(e)},t.prototype.setAbsolutePosition=function(e,t){this.foundation.setAbsolutePosition(e,t),this.setIsHoisted(!0)},t.prototype.setAnchorCorner=function(e){this.foundation.setAnchorCorner(e)},t.prototype.setAnchorMargin=function(e){this.foundation.setAnchorMargin(e)},t.prototype.getDefaultFoundation=function(){var e=this,t={addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},hasAnchor:function(){return!!e.anchorElement},notifyClose:function(){return e.emit(a.O.strings.CLOSED_EVENT,{})},notifyClosing:function(){e.emit(a.O.strings.CLOSING_EVENT,{})},notifyOpen:function(){return e.emit(a.O.strings.OPENED_EVENT,{})},notifyOpening:function(){return e.emit(a.O.strings.OPENING_EVENT,{})},isElementInContainer:function(t){return e.root.contains(t)},isRtl:function(){return"rtl"===getComputedStyle(e.root).getPropertyValue("direction")},setTransformOrigin:function(t){var n=(0,s.getCorrectPropertyName)(window,"transform")+"-origin";e.root.style.setProperty(n,t)},isFocused:function(){return document.activeElement===e.root},saveFocus:function(){e.previousFocus=document.activeElement},restoreFocus:function(){e.root.contains(document.activeElement)&&e.previousFocus&&e.previousFocus.focus&&e.previousFocus.focus()},getInnerDimensions:function(){return{width:e.root.offsetWidth,height:e.root.offsetHeight}},getAnchorDimensions:function(){return e.anchorElement?e.anchorElement.getBoundingClientRect():null},getWindowDimensions:function(){return{width:window.innerWidth,height:window.innerHeight}},getBodyDimensions:function(){return{width:document.body.clientWidth,height:document.body.clientHeight}},getWindowScroll:function(){return{x:window.pageXOffset,y:window.pageYOffset}},setPosition:function(t){var n=e.root;n.style.left="left"in t?t.left+"px":"",n.style.right="right"in t?t.right+"px":"",n.style.top="top"in t?t.top+"px":"",n.style.bottom="bottom"in t?t.bottom+"px":""},setMaxHeight:function(t){e.root.style.maxHeight=t}};return new a.O(t)},t}(o.O)},function(e,t,n){n.d(t,{C:function(){return p}});var r=n(2),o=n(5),i=n(17),a=n(74),s=n(43),l=n(63),u=n(75),c=n(47),d=n(48),f=n(77),p=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t){void 0===e&&(e=function(e){return new u.X(e)}),void 0===t&&(t=function(e){return new a.f(e)}),this.menuSurfaceFactory=e,this.listFactory=t},t.prototype.initialSyncWithDOM=function(){var e=this;this.menuSurface=this.menuSurfaceFactory(this.root);var t=this.root.querySelector(d.P$.LIST_SELECTOR);t?(this.list=this.listFactory(t),this.list.wrapFocus=!0):this.list=null,this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleItemAction=function(t){e.foundation.handleItemAction(e.items[t.detail.index])},this.handleMenuSurfaceOpened=function(){e.foundation.handleMenuSurfaceOpened()},this.menuSurface.listen(c.O.strings.OPENED_EVENT,this.handleMenuSurfaceOpened),this.listen("keydown",this.handleKeydown),this.listen(l.Y.strings.ACTION_EVENT,this.handleItemAction)},t.prototype.destroy=function(){this.list&&this.list.destroy(),this.menuSurface.destroy(),this.menuSurface.unlisten(c.O.strings.OPENED_EVENT,this.handleMenuSurfaceOpened),this.unlisten("keydown",this.handleKeydown),this.unlisten(l.Y.strings.ACTION_EVENT,this.handleItemAction),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"open",{get:function(){return this.menuSurface.isOpen()},set:function(e){e?this.menuSurface.open():this.menuSurface.close()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"wrapFocus",{get:function(){return!!this.list&&this.list.wrapFocus},set:function(e){this.list&&(this.list.wrapFocus=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"hasTypeahead",{set:function(e){this.list&&(this.list.hasTypeahead=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"typeaheadInProgress",{get:function(){return!!this.list&&this.list.typeaheadInProgress},enumerable:!1,configurable:!0}),t.prototype.typeaheadMatchItem=function(e,t){return this.list?this.list.typeaheadMatchItem(e,t):-1},t.prototype.layout=function(){this.list&&this.list.layout()},Object.defineProperty(t.prototype,"items",{get:function(){return this.list?this.list.listElements:[]},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"singleSelection",{set:function(e){this.list&&(this.list.singleSelection=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.list?this.list.selectedIndex:s.nL.UNSET_INDEX},set:function(e){this.list&&(this.list.selectedIndex=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"quickOpen",{set:function(e){this.menuSurface.quickOpen=e},enumerable:!1,configurable:!0}),t.prototype.setDefaultFocusState=function(e){this.foundation.setDefaultFocusState(e)},t.prototype.setAnchorCorner=function(e){this.menuSurface.setAnchorCorner(e)},t.prototype.setAnchorMargin=function(e){this.menuSurface.setAnchorMargin(e)},t.prototype.setSelectedIndex=function(e){this.foundation.setSelectedIndex(e)},t.prototype.setEnabled=function(e,t){this.foundation.setEnabled(e,t)},t.prototype.getOptionByIndex=function(e){return e<this.items.length?this.items[e]:null},t.prototype.getPrimaryTextAtIndex=function(e){var t=this.getOptionByIndex(e);return t&&this.list&&this.list.getPrimaryText(t)||""},t.prototype.setFixedPosition=function(e){this.menuSurface.setFixedPosition(e)},t.prototype.setIsHoisted=function(e){this.menuSurface.setIsHoisted(e)},t.prototype.setAbsolutePosition=function(e,t){this.menuSurface.setAbsolutePosition(e,t)},t.prototype.setAnchorElement=function(e){this.menuSurface.anchorElement=e},t.prototype.getDefaultFoundation=function(){var e=this,t={addClassToElementAtIndex:function(t,n){e.items[t].classList.add(n)},removeClassFromElementAtIndex:function(t,n){e.items[t].classList.remove(n)},addAttributeToElementAtIndex:function(t,n,r){e.items[t].setAttribute(n,r)},removeAttributeFromElementAtIndex:function(t,n){e.items[t].removeAttribute(n)},getAttributeFromElementAtIndex:function(t,n){return e.items[t].getAttribute(n)},elementContainsClass:function(e,t){return e.classList.contains(t)},closeSurface:function(t){e.menuSurface.close(t)},getElementIndex:function(t){return e.items.indexOf(t)},notifySelected:function(t){e.emit(d.P$.SELECTED_EVENT,{index:t.index,item:e.items[t.index]})},getMenuItemCount:function(){return e.items.length},focusItemAtIndex:function(t){e.items[t].focus()},focusListRoot:function(){e.root.querySelector(d.P$.LIST_SELECTOR).focus()},isSelectableItemAtIndex:function(t){return!!(0,i.kp)(e.items[t],"."+d.Y7.MENU_SELECTION_GROUP)},getSelectedSiblingOfItemAtIndex:function(t){var n=(0,i.kp)(e.items[t],"."+d.Y7.MENU_SELECTION_GROUP).querySelector("."+d.Y7.MENU_SELECTED_LIST_ITEM);return n?e.items.indexOf(n):-1}};return new f.d(t)},t}(o.O)},function(e,t,n){n.d(t,{d:function(){return l}});var r=n(2),o=n(4),i=n(43),a=n(47),s=n(48),l=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.closeAnimationEndTimerId=0,o.defaultFocusState=s.hf.LIST_ROOT,o.selectedIndex=-1,o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s.Y7},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s.P$},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return s.nL},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClassToElementAtIndex:function(){},removeClassFromElementAtIndex:function(){},addAttributeToElementAtIndex:function(){},removeAttributeFromElementAtIndex:function(){},getAttributeFromElementAtIndex:function(){return null},elementContainsClass:function(){return!1},closeSurface:function(){},getElementIndex:function(){return-1},notifySelected:function(){},getMenuItemCount:function(){return 0},focusItemAtIndex:function(){},focusListRoot:function(){},getSelectedSiblingOfItemAtIndex:function(){return-1},isSelectableItemAtIndex:function(){return!1}}},enumerable:!1,configurable:!0}),t.prototype.destroy=function(){this.closeAnimationEndTimerId&&clearTimeout(this.closeAnimationEndTimerId),this.adapter.closeSurface()},t.prototype.handleKeydown=function(e){var t=e.key,n=e.keyCode;("Tab"===t||9===n)&&this.adapter.closeSurface(!0)},t.prototype.handleItemAction=function(e){var t=this,n=this.adapter.getElementIndex(e);if(!(n<0)){this.adapter.notifySelected({index:n});var r="true"===this.adapter.getAttributeFromElementAtIndex(n,s.P$.SKIP_RESTORE_FOCUS);this.adapter.closeSurface(r),this.closeAnimationEndTimerId=setTimeout((function(){var n=t.adapter.getElementIndex(e);n>=0&&t.adapter.isSelectableItemAtIndex(n)&&t.setSelectedIndex(n)}),a.O.numbers.TRANSITION_CLOSE_DURATION)}},t.prototype.handleMenuSurfaceOpened=function(){switch(this.defaultFocusState){case s.hf.FIRST_ITEM:this.adapter.focusItemAtIndex(0);break;case s.hf.LAST_ITEM:this.adapter.focusItemAtIndex(this.adapter.getMenuItemCount()-1);break;case s.hf.NONE:break;default:this.adapter.focusListRoot()}},t.prototype.setDefaultFocusState=function(e){this.defaultFocusState=e},t.prototype.getSelectedIndex=function(){return this.selectedIndex},t.prototype.setSelectedIndex=function(e){if(this.validatedIndex(e),!this.adapter.isSelectableItemAtIndex(e))throw new Error("MDCMenuFoundation: No selection group at specified index.");var t=this.adapter.getSelectedSiblingOfItemAtIndex(e);t>=0&&(this.adapter.removeAttributeFromElementAtIndex(t,s.P$.ARIA_CHECKED_ATTR),this.adapter.removeClassFromElementAtIndex(t,s.Y7.MENU_SELECTED_LIST_ITEM)),this.adapter.addClassToElementAtIndex(e,s.Y7.MENU_SELECTED_LIST_ITEM),this.adapter.addAttributeToElementAtIndex(e,s.P$.ARIA_CHECKED_ATTR,"true"),this.selectedIndex=e},t.prototype.setEnabled=function(e,t){this.validatedIndex(e),t?(this.adapter.removeClassFromElementAtIndex(e,i.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(e,s.P$.ARIA_DISABLED_ATTR,"false")):(this.adapter.addClassToElementAtIndex(e,i.Y7.LIST_ITEM_DISABLED_CLASS),this.adapter.addAttributeToElementAtIndex(e,s.P$.ARIA_DISABLED_ATTR,"true"))},t.prototype.validatedIndex=function(e){var t=this.adapter.getMenuItemCount();if(!(e>=0&&e<t))throw new Error("MDCMenuFoundation: No list item at specified index.")},t}(o.I)},function(e,t,n){n.d(t,{Y:function(){return r}});
|
|
398
398
|
/**
|
|
399
399
|
* @license
|
|
400
400
|
* Copyright 2016 Google Inc.
|
|
@@ -463,7 +463,7 @@ var r={LINE_RIPPLE_ACTIVE:"mdc-line-ripple--active",LINE_RIPPLE_DEACTIVATING:"md
|
|
|
463
463
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
464
464
|
* THE SOFTWARE.
|
|
465
465
|
*/
|
|
466
|
-
var r={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},o=new Set;o.add(r.BACKSPACE),o.add(r.ENTER),o.add(r.SPACEBAR),o.add(r.PAGE_UP),o.add(r.PAGE_DOWN),o.add(r.END),o.add(r.HOME),o.add(r.ARROW_LEFT),o.add(r.ARROW_UP),o.add(r.ARROW_RIGHT),o.add(r.ARROW_DOWN),o.add(r.DELETE),o.add(r.ESCAPE),o.add(r.TAB);var i=8,a=13,s=32,l=33,u=34,c=35,d=36,f=37,p=38,h=39,
|
|
466
|
+
var r={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar",PAGE_UP:"PageUp",PAGE_DOWN:"PageDown",END:"End",HOME:"Home",ARROW_LEFT:"ArrowLeft",ARROW_UP:"ArrowUp",ARROW_RIGHT:"ArrowRight",ARROW_DOWN:"ArrowDown",DELETE:"Delete",ESCAPE:"Escape",TAB:"Tab"},o=new Set;o.add(r.BACKSPACE),o.add(r.ENTER),o.add(r.SPACEBAR),o.add(r.PAGE_UP),o.add(r.PAGE_DOWN),o.add(r.END),o.add(r.HOME),o.add(r.ARROW_LEFT),o.add(r.ARROW_UP),o.add(r.ARROW_RIGHT),o.add(r.ARROW_DOWN),o.add(r.DELETE),o.add(r.ESCAPE),o.add(r.TAB);var i=8,a=13,s=32,l=33,u=34,c=35,d=36,f=37,p=38,h=39,_=40,m=46,v=27,g=9,b=new Map;b.set(i,r.BACKSPACE),b.set(a,r.ENTER),b.set(s,r.SPACEBAR),b.set(l,r.PAGE_UP),b.set(u,r.PAGE_DOWN),b.set(c,r.END),b.set(d,r.HOME),b.set(f,r.ARROW_LEFT),b.set(p,r.ARROW_UP),b.set(h,r.ARROW_RIGHT),b.set(_,r.ARROW_DOWN),b.set(m,r.DELETE),b.set(v,r.ESCAPE),b.set(g,r.TAB);var y=new Set;function E(e){var t=e.key;if(o.has(t))return t;var n=b.get(e.keyCode);return n||r.UNKNOWN}y.add(r.PAGE_UP),y.add(r.PAGE_DOWN),y.add(r.END),y.add(r.HOME),y.add(r.ARROW_LEFT),y.add(r.ARROW_UP),y.add(r.ARROW_RIGHT),y.add(r.ARROW_DOWN)},function(e,t,n){n.d(t,{K:function(){return r}});
|
|
467
467
|
/**
|
|
468
468
|
* @license
|
|
469
469
|
* Copyright 2020 Google Inc.
|
|
@@ -486,4 +486,4 @@ var r={UNKNOWN:"Unknown",BACKSPACE:"Backspace",ENTER:"Enter",SPACEBAR:"Spacebar"
|
|
|
486
486
|
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
|
487
487
|
* THE SOFTWARE.
|
|
488
488
|
*/
|
|
489
|
-
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){n.r(t),n.d(t,{MDCCircularProgress:function(){return u},MDCCircularProgressFoundation:function(){return l},cssClasses:function(){return a},strings:function(){return s}});var r=n(2),o=n(5),i=n(4),a={INDETERMINATE_CLASS:"mdc-circular-progress--indeterminate",CLOSED_CLASS:"mdc-circular-progress--closed"},s={ARIA_HIDDEN:"aria-hidden",ARIA_VALUENOW:"aria-valuenow",DETERMINATE_CIRCLE_SELECTOR:".mdc-circular-progress__determinate-circle",RADIUS:"r",STROKE_DASHOFFSET:"stroke-dashoffset"},l=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getDeterminateCircleAttribute:function(){return null},hasClass:function(){return!1},removeClass:function(){},removeAttribute:function(){},setAttribute:function(){},setDeterminateCircleAttribute:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.closed=this.adapter.hasClass(a.CLOSED_CLASS),this.determinate=!this.adapter.hasClass(a.INDETERMINATE_CLASS),this.progress=0,this.determinate&&this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString()),this.radius=Number(this.adapter.getDeterminateCircleAttribute(s.RADIUS))},t.prototype.setDeterminate=function(e){this.determinate=e,this.determinate?(this.adapter.removeClass(a.INDETERMINATE_CLASS),this.setProgress(this.progress)):(this.adapter.addClass(a.INDETERMINATE_CLASS),this.adapter.removeAttribute(s.ARIA_VALUENOW))},t.prototype.isDeterminate=function(){return this.determinate},t.prototype.setProgress=function(e){if(this.progress=e,this.determinate){var t=(1-this.progress)*(2*Math.PI*this.radius);this.adapter.setDeterminateCircleAttribute(s.STROKE_DASHOFFSET,""+t),this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString())}},t.prototype.getProgress=function(){return this.progress},t.prototype.open=function(){this.closed=!1,this.adapter.removeClass(a.CLOSED_CLASS),this.adapter.removeAttribute(s.ARIA_HIDDEN)},t.prototype.close=function(){this.closed=!0,this.adapter.addClass(a.CLOSED_CLASS),this.adapter.setAttribute(s.ARIA_HIDDEN,"true")},t.prototype.isClosed=function(){return this.closed},t}(i.I),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.initialize=function(){this.determinateCircle=this.root.querySelector(l.strings.DETERMINATE_CIRCLE_SELECTOR)},t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"determinate",{set:function(e){this.foundation.setDeterminate(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{set:function(e){this.foundation.setProgress(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClosed",{get:function(){return this.foundation.isClosed()},enumerable:!1,configurable:!0}),t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(){this.foundation.close()},t.prototype.getDefaultFoundation=function(){var e=this;return new l({addClass:function(t){e.root.classList.add(t)},getDeterminateCircleAttribute:function(t){return e.determinateCircle.getAttribute(t)},hasClass:function(t){return e.root.classList.contains(t)},removeClass:function(t){e.root.classList.remove(t)},removeAttribute:function(t){e.root.removeAttribute(t)},setAttribute:function(t,n){e.root.setAttribute(t,n)},setDeterminateCircleAttribute:function(t,n){e.determinateCircle.setAttribute(t,n)}})},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCRipple:function(){return o.N},MDCRippleFoundation:function(){return a.E},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$},util:function(){return r}});var r=n(44),o=n(21),i=n(56),a=n(19)},function(e,t,n){n.r(t),n.d(t,{MDCFormField:function(){return u},MDCFormFieldFoundation:function(){return l},cssClasses:function(){return a},strings:function(){return s}});var r=n(2),o=n(5),i=n(4),a={ROOT:"mdc-form-field"},s={LABEL_SELECTOR:".mdc-form-field > label"},l=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.click=function(){o.handleClick()},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},t.prototype.handleClick=function(){var e=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){e.adapter.deactivateInputRipple()}))},t}(i.I),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.labelEl=function(){var e=l.strings.LABEL_SELECTOR;return this.root.querySelector(e)},t.prototype.getDefaultFoundation=function(){var e=this;return new l({activateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.activate()},deactivateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.deactivate()},deregisterInteractionHandler:function(t,n){var r=e.labelEl();r&&r.removeEventListener(t,n)},registerInteractionHandler:function(t,n){var r=e.labelEl();r&&r.addEventListener(t,n)}})},t}(o.O)},function(e,t,n){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}n.r(t),n.d(t,{CSSTransition:function(){return C},ReplaceTransition:function(){return k},SwitchTransition:function(){return U},Transition:function(){return b},TransitionGroup:function(){return w},config:function(){return c}});var l=n(0),u=n(10),c={disabled:!1},d=l.createContext(null),f=function(e){return e.scrollTop},p="unmounted",h="exited",m="entering",v="entered",_="exiting",g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=h,r.appearStatus=m):o=v:o=t.unmountOnExit||t.mountOnEnter?p:h,r.state={status:o},r.nextCallback=null,r}a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:h}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==m&&n!==v&&(t=m):n!==m&&n!==v||(t=_)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===m){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this);n&&f(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:p})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[u.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||c.disabled?this.safeSetState({status:v},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:m},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:v},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.findDOMNode(this);t&&!c.disabled?(this.props.onExit(r),this.safeSetState({status:_},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,o(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(d.Provider,{value:null},"function"==typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function y(){}g.contextType=d,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:y,onEntering:y,onEntered:y,onExit:y,onExiting:y,onExited:y},g.UNMOUNTED=p,g.EXITED=h,g.ENTERING=m,g.ENTERED=v,g.EXITING=_;var b=g,E=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=s(n.className,r):n.setAttribute("class",s(n.className&&n.className.baseVal||"",r)));var n,r}))},x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}a(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&f(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&E(e,r),o&&E(e,o),i&&E(e,i)},n.render=function(){var e=this.props,t=(e.classNames,o(e,["classNames"]));return l.createElement(b,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);x.defaultProps={classNames:""},x.propTypes={};var C=x;function T(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function I(e,t,n){return null!=n[t]?n[t]:e.props[t]}function S(e,t,n){var r=T(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,l.isValidElement)(a)){var s=i in t,u=i in r,c=t[i],d=(0,l.isValidElement)(c)&&!c.props.in;!u||s&&!d?u||!s||d?u&&s&&(0,l.isValidElement)(c)&&(o[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:I(a,"exit",e),enter:I(a,"enter",e)})):o[i]=(0,l.cloneElement)(a,{in:!1}):o[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:I(a,"exit",e),enter:I(a,"enter",e)})}})),o}var A=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},O=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,T(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:I(e,"appear",n),enter:I(e,"enter",n),exit:I(e,"exit",n)})}))):S(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=T(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=r({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=this.state.contextValue,a=A(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?l.createElement(d.Provider,{value:i},a):l.createElement(d.Provider,{value:i},l.createElement(t,r,a))},t}(l.Component);O.propTypes={},O.defaultProps={component:"div",childFactory:function(e){return e}};var w=O,L=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}a(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=l.Children.toArray(o)[t];if(i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]){var a=i.props.nodeRef?void 0:u.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=o(e,["children","in"]),i=l.Children.toArray(t),a=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,l.createElement(w,r,n?l.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):l.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(l.Component);L.propTypes={};var P,N,k=L;var R="out-in",D="in-out",M=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},F=((P={})[R]=function(e){var t=e.current,n=e.changeState;return l.cloneElement(t,{in:!1,onExited:M(t,"onExited",(function(){n(m,null)}))})},P[D]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,l.cloneElement(r,{in:!0,onEntered:M(r,"onEntered",(function(){n(m)}))})]},P),j=((N={})[R]=function(e){var t=e.children,n=e.changeState;return l.cloneElement(t,{in:!0,onEntered:M(t,"onEntered",(function(){n(v,l.cloneElement(t,{in:!0}))}))})},N[D]=function(e){var t=e.current,n=e.children,r=e.changeState;return[l.cloneElement(t,{in:!1,onExited:M(t,"onExited",(function(){r(v,l.cloneElement(n,{in:!0}))}))}),l.cloneElement(n,{in:!0})]},N),B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:v,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===m&&e.mode===D?{status:m}:!t.current||(n=t.current,r=e.children,n===r||l.isValidElement(n)&&l.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:l.cloneElement(e.children,{in:!0})}:{status:_};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,s={children:n,current:a,changeState:this.changeState,status:i};switch(i){case m:e=j[r](s);break;case _:e=F[r](s);break;case v:e=a}return l.createElement(d.Provider,{value:{isMounting:!this.appeared}},e)},t}(l.Component);B.propTypes={},B.defaultProps={mode:R};var U=B},function(e,t,n){n.r(t),n.d(t,{MDCIconButtonToggle:function(){return d},MDCIconButtonToggleFoundation:function(){return u},cssClasses:function(){return s},strings:function(){return l}});var r=n(2),o=n(5),i=n(21),a=n(4),s={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},l={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"},u=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.hasToggledAriaLabel=!1,o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this.adapter.getAttr(l.DATA_ARIA_LABEL_ON),t=this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);if(e&&t){if(null!==this.adapter.getAttr(l.ARIA_PRESSED))throw new Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(l.ARIA_PRESSED,String(this.isOn()))},t.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},t.prototype.isOn=function(){return this.adapter.hasClass(s.ICON_BUTTON_ON)},t.prototype.toggle=function(e){if(void 0===e&&(e=!this.isOn()),e?this.adapter.addClass(s.ICON_BUTTON_ON):this.adapter.removeClass(s.ICON_BUTTON_ON),this.hasToggledAriaLabel){var t=e?this.adapter.getAttr(l.DATA_ARIA_LABEL_ON):this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(l.ARIA_LABEL,t||"")}else this.adapter.setAttr(l.ARIA_PRESSED,""+e)},t}(a.I),c=u.strings,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rippleComponent=t.createRipple(),t}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.listen("click",this.handleClick)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),e.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this;return new u({addClass:function(t){return e.root.classList.add(t)},hasClass:function(t){return e.root.classList.contains(t)},notifyChange:function(t){e.emit(c.CHANGE_EVENT,t)},removeClass:function(t){return e.root.classList.remove(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)}})},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(e){this.foundation.toggle(e)},enumerable:!1,configurable:!0}),t.prototype.createRipple=function(){var e=new i.N(this.root);return e.unbounded=!0,e},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCList:function(){return r.f},MDCListFoundation:function(){return i.Y},cssClasses:function(){return o.Y7},deprecatedClassNameMap:function(){return o.PY},evolutionAttribute:function(){return o.iP},evolutionClassNameMap:function(){return o.$z},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(74),o=n(43),i=n(63)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return o.OK},CornerBit:function(){return o.Jv},MDCMenuSurface:function(){return r.X},MDCMenuSurfaceFoundation:function(){return i.O},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(75),o=n(42),i=n(47)},function(e,t,n){n.r(t),n.d(t,{AnimationFrame:function(){return o.K},getCorrectEventName:function(){return r.getCorrectEventName},getCorrectPropertyName:function(){return r.getCorrectPropertyName},util:function(){return r}});var r=n(55),o=n(83)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return r.OK},DefaultFocusState:function(){return i.hf},MDCMenu:function(){return o.C},MDCMenuFoundation:function(){return a.d},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$}});var r=n(42),o=n(76),i=n(48),a=n(77)},function(e,t,n){n.r(t),n.d(t,{MDCFloatingLabel:function(){return r.$},MDCFloatingLabelFoundation:function(){return i.K},cssClasses:function(){return o.Y}});var r=n(64),o=n(78),i=n(65)},function(e,t,n){n.r(t),n.d(t,{MDCLineRipple:function(){return r.l},MDCLineRippleFoundation:function(){return i.C},cssClasses:function(){return o.Y}});var r=n(66),o=n(80),i=n(79)},function(e,t,n){n.r(t),n.d(t,{MDCNotchedOutline:function(){return r.i},MDCNotchedOutlineFoundation:function(){return i.z},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(67),o=n(68),i=n(81)},function(e,t,n){n.r(t),n.d(t,{MDCSelect:function(){return A},MDCSelectFoundation:function(){return g},MDCSelectHelperText:function(){return x},MDCSelectHelperTextFoundation:function(){return E},MDCSelectIcon:function(){return S},MDCSelectIconFoundation:function(){return I},cssClasses:function(){return p},helperTextCssClasses:function(){return b},helperTextStrings:function(){return y},iconStrings:function(){return C},numbers:function(){return m},strings:function(){return h}});var r=n(2),o=n(5),i=n(64),a=n(66),s=n(42),l=n(76),u=n(48),c=n(67),d=n(21),f=n(19),p={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},h={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},m={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},v=n(4),_=n(82),g=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.disabled=!1,i.isMenuOpen=!1,i.useDefaultValidation=!0,i.customValidity=!0,i.lastSelectedIndex=m.UNSET_INDEX,i.clickDebounceTimeout=0,i.recentlyClicked=!1,i.leadingIcon=o.leadingIcon,i.helperText=o.helperText,i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return m},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),t.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},t.prototype.setSelectedIndex=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e>=this.adapter.getMenuItemCount()||(e===m.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(e).trim()),this.adapter.setSelectedIndex(e),t&&this.adapter.closeMenu(),n||this.lastSelectedIndex===e||this.handleChange(),this.lastSelectedIndex=e)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var n=this.adapter.getMenuItemValues().indexOf(e);this.setSelectedIndex(n,!1,t)},t.prototype.getValue=function(){var e=this.adapter.getSelectedIndex(),t=this.adapter.getMenuItemValues();return e!==m.UNSET_INDEX?t[e]:""},t.prototype.getDisabled=function(){return this.disabled},t.prototype.setDisabled=function(e){this.disabled=e,this.disabled?(this.adapter.addClass(p.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(p.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},t.prototype.openMenu=function(){this.adapter.addClass(p.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.layout=function(){if(this.adapter.hasLabel()){var e=this.getValue().length>0,t=this.adapter.hasClass(p.FOCUSED),n=e||t,r=this.adapter.hasClass(p.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(r)}},t.prototype.layoutOptions=function(){var e=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(e,!1,!0)},t.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var e=this.getSelectedIndex(),t=e>=0?e:0;this.adapter.focusMenuItemAtIndex(t)}},t.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},t.prototype.handleMenuClosed=function(){this.adapter.removeClass(p.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},t.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.handleMenuItemAction=function(e){this.setSelectedIndex(e,!0)},t.prototype.handleFocus=function(){this.adapter.addClass(p.FOCUSED),this.layout(),this.adapter.activateBottomLine()},t.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},t.prototype.handleClick=function(e){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(e),this.openMenu()))},t.prototype.handleKeydown=function(e){if(!this.isMenuOpen&&this.adapter.hasClass(p.FOCUSED)){var t=(0,_.l5)(e)===_._.ENTER,n=(0,_.l5)(e)===_._.SPACEBAR,r=(0,_.l5)(e)===_._.ARROW_UP,o=(0,_.l5)(e)===_._.ARROW_DOWN;if(!(e.ctrlKey||e.metaKey)&&(!n&&e.key&&1===e.key.length||n&&this.adapter.isTypeaheadInProgress())){var i=n?" ":e.key,a=this.adapter.typeaheadMatchItem(i,this.getSelectedIndex());return a>=0&&this.setSelectedIndex(a),void e.preventDefault()}(t||n||r||o)&&(this.openMenu(),e.preventDefault())}},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()){var t=this.adapter.hasClass(p.FOCUSED);if(e){var n=m.LABEL_SCALE,r=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(r)}else t||this.adapter.closeOutline()}},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},t.prototype.setUseDefaultValidation=function(e){this.useDefaultValidation=e},t.prototype.setValid=function(e){this.useDefaultValidation||(this.customValidity=e),this.adapter.setSelectAnchorAttr("aria-invalid",(!e).toString()),e?(this.adapter.removeClass(p.INVALID),this.adapter.removeMenuClass(p.MENU_INVALID)):(this.adapter.addClass(p.INVALID),this.adapter.addMenuClass(p.MENU_INVALID)),this.syncHelperTextValidity(e)},t.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(p.REQUIRED)&&!this.adapter.hasClass(p.DISABLED)?this.getSelectedIndex()!==m.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},t.prototype.setRequired=function(e){e?this.adapter.addClass(p.REQUIRED):this.adapter.removeClass(p.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",e.toString()),this.adapter.setLabelRequired(e)},t.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},t.prototype.init=function(){var e=this.adapter.getAnchorElement();e&&(this.adapter.setMenuAnchorElement(e),this.adapter.setMenuAnchorCorner(s.OK.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(p.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(p.INVALID)),this.layout(),this.layoutOptions()},t.prototype.blur=function(){this.adapter.removeClass(p.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.syncHelperTextValidity=function(e){if(this.helperText){this.helperText.setValidity(e);var t=this.helperText.isVisible(),n=this.helperText.getId();t&&n?this.adapter.setSelectAnchorAttr(h.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(h.ARIA_DESCRIBEDBY)}},t.prototype.setClickDebounceTimeout=function(){var e=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){e.recentlyClicked=!1}),m.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},t}(v.I),y={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},b={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},E=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.getId=function(){return this.adapter.getAttr("id")},t.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(y.ARIA_HIDDEN)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.setValidation=function(e){e?this.adapter.addClass(b.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(b.HELPER_TEXT_VALIDATION_MSG)},t.prototype.setValidationMsgPersistent=function(e){e?this.adapter.addClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.getIsValidation=function(){return this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG)},t.prototype.getIsValidationMsgPersistent=function(){return this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.setValidity=function(e){if(this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG)){var t=this.adapter.hasClass(b.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);if(!e||t)return this.showToScreenReader(),void(e?this.adapter.removeAttr(y.ROLE):this.adapter.setAttr(y.ROLE,"alert"));this.adapter.removeAttr(y.ROLE),this.hide()}},t.prototype.showToScreenReader=function(){this.adapter.removeAttr(y.ARIA_HIDDEN)},t.prototype.hide=function(){this.adapter.setAttr(y.ARIA_HIDDEN,"true")},t}(v.I),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new E({addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t}})},t}(o.O),C={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},T=["click","keydown"],I=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.savedTabIndex=null,o.interactionHandler=function(e){o.handleInteraction(e)},o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return C},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=(0,r.Ju)(T),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.registerInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.destroy=function(){var e,t;try{for(var n=(0,r.Ju)(T),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.setDisabled=function(e){this.savedTabIndex&&(e?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",C.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter.notifyIconAction()},t}(v.I),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new I({getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)},notifyIconAction:function(){return e.emit(I.strings.ICON_EVENT,{},!0)}})},t}(o.O),A=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t,n,r,o,s){if(void 0===e&&(e=function(e){return new i.$(e)}),void 0===t&&(t=function(e){return new a.l(e)}),void 0===n&&(n=function(e){return new c.i(e)}),void 0===r&&(r=function(e){return new l.C(e)}),void 0===o&&(o=function(e){return new S(e)}),void 0===s&&(s=function(e){return new x(e)}),this.selectAnchor=this.root.querySelector(h.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(h.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(h.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw new Error("MDCSelect: Missing required element: The following selector must be present: '"+h.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(h.ARIA_CONTROLS)){var u=document.getElementById(this.selectAnchor.getAttribute(h.ARIA_CONTROLS));u&&(this.helperText=s(u))}this.menuSetup(r);var d=this.root.querySelector(h.LABEL_SELECTOR);this.label=d?e(d):null;var f=this.root.querySelector(h.LINE_RIPPLE_SELECTOR);this.lineRipple=f?t(f):null;var m=this.root.querySelector(h.OUTLINE_SELECTOR);this.outline=m?n(m):null;var v=this.root.querySelector(h.LEADING_ICON_SELECTOR);v&&(this.leadingIcon=o(v)),this.root.classList.contains(p.OUTLINED)||(this.ripple=this.createRipple())},t.prototype.initialSyncWithDOM=function(){var e=this;if(this.handleFocus=function(){e.foundation.handleFocus()},this.handleBlur=function(){e.foundation.handleBlur()},this.handleClick=function(t){e.selectAnchor.focus(),e.foundation.handleClick(e.getNormalizedXCoordinate(t))},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleMenuItemAction=function(t){e.foundation.handleMenuItemAction(t.detail.index)},this.handleMenuOpened=function(){e.foundation.handleMenuOpened()},this.handleMenuClosed=function(){e.foundation.handleMenuClosed()},this.handleMenuClosing=function(){e.foundation.handleMenuClosing()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(s.P$.CLOSING_EVENT,this.handleMenuClosing),this.menu.listen(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value)return this.foundation.setValue(this.hiddenInput.value,!0),void this.foundation.layout();this.hiddenInput.value=this.value}},t.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(e){this.foundation.setValue(e)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e,t){void 0===t&&(t=!1),this.foundation.setValue(e,t)},Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(e){this.foundation.setSelectedIndex(e,!0)},enumerable:!1,configurable:!0}),t.prototype.setSelectedIndex=function(e,t){void 0===t&&(t=!1),this.foundation.setSelectedIndex(e,!0,t)},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(e){this.foundation.setDisabled(e),this.hiddenInput&&(this.hiddenInput.disabled=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconAriaLabel",{set:function(e){this.foundation.setLeadingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconContent",{set:function(e){this.foundation.setLeadingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"helperTextContent",{set:function(e){this.foundation.setHelperTextContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useDefaultValidation",{set:function(e){this.foundation.setUseDefaultValidation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(e){this.foundation.setValid(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(e){this.foundation.setRequired(e)},enumerable:!1,configurable:!0}),t.prototype.layout=function(){this.foundation.layout()},t.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""})),this.hiddenInput&&(this.hiddenInput.value=this.value)},t.prototype.getDefaultFoundation=function(){var e=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new g(e,this.getFoundationMap())},t.prototype.menuSetup=function(e){this.menuElement=this.root.querySelector(h.MENU_SELECTOR),this.menu=e(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""}))},t.prototype.createRipple=function(){var e=this,t=(0,r.Cl)((0,r.Cl)({},d.N.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(t,n){e.selectAnchor.addEventListener(t,n)},deregisterInteractionHandler:function(t,n){e.selectAnchor.removeEventListener(t,n)}});return new d.N(this.selectAnchor,new f.E(t))},t.prototype.getSelectAdapterMethods=function(){var e=this;return{getMenuItemAttr:function(e,t){return e.getAttribute(t)},setSelectedText:function(t){e.selectedText.textContent=t},isSelectAnchorFocused:function(){return document.activeElement===e.selectAnchor},getSelectAnchorAttr:function(t){return e.selectAnchor.getAttribute(t)},setSelectAnchorAttr:function(t,n){e.selectAnchor.setAttribute(t,n)},removeSelectAnchorAttr:function(t){e.selectAnchor.removeAttribute(t)},addMenuClass:function(t){e.menuElement.classList.add(t)},removeMenuClass:function(t){e.menuElement.classList.remove(t)},openMenu:function(){e.menu.open=!0},closeMenu:function(){e.menu.open=!1},getAnchorElement:function(){return e.root.querySelector(h.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(t){e.menu.setAnchorElement(t)},setMenuAnchorCorner:function(t){e.menu.setAnchorCorner(t)},setMenuWrapFocus:function(t){e.menu.wrapFocus=t},getSelectedIndex:function(){var t=e.menu.selectedIndex;return t instanceof Array?t[0]:t},setSelectedIndex:function(t){e.menu.selectedIndex=t},focusMenuItemAtIndex:function(t){e.menu.items[t].focus()},getMenuItemCount:function(){return e.menu.items.length},getMenuItemValues:function(){return e.menuItemValues},getMenuItemTextAtIndex:function(t){return e.menu.getPrimaryTextAtIndex(t)},isTypeaheadInProgress:function(){return e.menu.typeaheadInProgress},typeaheadMatchItem:function(t,n){return e.menu.typeaheadMatchItem(t,n)}}},t.prototype.getCommonAdapterMethods=function(){var e=this;return{addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},setRippleCenter:function(t){e.lineRipple&&e.lineRipple.setRippleCenter(t)},activateBottomLine:function(){e.lineRipple&&e.lineRipple.activate()},deactivateBottomLine:function(){e.lineRipple&&e.lineRipple.deactivate()},notifyChange:function(t){e.hiddenInput&&(e.hiddenInput.value=t);var n=e.selectedIndex;e.emit(h.CHANGE_EVENT,{value:t,index:n},!0)}}},t.prototype.getOutlineAdapterMethods=function(){var e=this;return{hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)},closeOutline:function(){e.outline&&e.outline.closeNotch()}}},t.prototype.getLabelAdapterMethods=function(){var e=this;return{hasLabel:function(){return!!e.label},floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},t.prototype.getNormalizedXCoordinate=function(e){var t=e.target.getBoundingClientRect();return(this.isTouchEvent(e)?e.touches[0].clientX:e.clientX)-t.left},t.prototype.isTouchEvent=function(e){return Boolean(e.touches)},t.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{ALWAYS_FLOAT_TYPES:function(){return E},MDCTextField:function(){return R},MDCTextFieldCharacterCounter:function(){return v},MDCTextFieldCharacterCounterFoundation:function(){return m},MDCTextFieldFoundation:function(){return T},MDCTextFieldHelperText:function(){return O},MDCTextFieldHelperTextFoundation:function(){return A},MDCTextFieldIcon:function(){return k},MDCTextFieldIconFoundation:function(){return N},VALIDATION_ATTR_WHITELIST:function(){return b},characterCountCssClasses:function(){return p},characterCountStrings:function(){return h},cssClasses:function(){return g},helperTextCssClasses:function(){return I},helperTextStrings:function(){return S},iconCssClasses:function(){return L},iconStrings:function(){return w},numbers:function(){return y},strings:function(){return _}});var r=n(2),o=n(5),i=n(46),a=n(17),s=n(64),l=n(66),u=n(67),c=n(21),d=n(19),f=n(4),p={ROOT:"mdc-text-field-character-counter"},h={ROOT_SELECTOR:"."+p.ROOT},m=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.setCounterValue=function(e,t){e=Math.min(e,t),this.adapter.setContent(e+" / "+t)},t}(f.I),v=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new m({setContent:function(t){e.root.textContent=t}})},t}(o.O),_={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},g={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},y={LABEL_SCALE:.75},b=["pattern","min","max","required","step","minlength","maxlength"],E=["color","date","datetime-local","month","range","time","week"],x=["mousedown","touchstart"],C=["click","keydown"],T=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.isFocused=!1,i.receivedUserInput=!1,i.valid=!0,i.useNativeValidation=!0,i.validateOnValueChange=!0,i.helperText=o.helperText,i.characterCounter=o.characterCounter,i.leadingIcon=o.leadingIcon,i.trailingIcon=o.trailingIcon,i.inputFocusHandler=function(){i.activateFocus()},i.inputBlurHandler=function(){i.deactivateFocus()},i.inputInputHandler=function(){i.handleInput()},i.setPointerXOffset=function(e){i.setTransformOrigin(e)},i.textFieldInteractionHandler=function(){i.handleTextFieldInteraction()},i.validationAttributeChangeHandler=function(e){i.handleValidationAttributeChange(e)},i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return g},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldAlwaysFloat",{get:function(){var e=this.getNativeInput().type;return E.indexOf(e)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t,n,o;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var i=(0,r.Ju)(x),a=i.next();!a.done;a=i.next()){var s=a.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var l=(0,r.Ju)(C),u=l.next();!u.done;u=l.next()){s=u.value;this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},t.prototype.destroy=function(){var e,t,n,o;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var i=(0,r.Ju)(x),a=i.next();!a.done;a=i.next()){var s=a.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var l=(0,r.Ju)(C),u=l.next();!u.done;u=l.next()){s=u.value;this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},t.prototype.handleTextFieldInteraction=function(){var e=this.adapter.getNativeInput();e&&e.disabled||(this.receivedUserInput=!0)},t.prototype.handleValidationAttributeChange=function(e){var t=this;e.some((function(e){return b.indexOf(e)>-1&&(t.styleValidity(!0),t.adapter.setLabelRequired(t.getNativeInput().required),!0)})),e.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(e){var t=this.adapter.getLabelWidth()*y.LABEL_SCALE;this.adapter.notchOutline(t)}else this.adapter.closeOutline()},t.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},t.prototype.setTransformOrigin=function(e){if(!this.isDisabled()&&!this.adapter.hasOutline()){var t=e.touches,n=t?t[0]:e,r=n.target.getBoundingClientRect(),o=n.clientX-r.left;this.adapter.setLineRippleTransformOrigin(o)}},t.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},t.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},t.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var e=this.isValid();this.styleValidity(e),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},t.prototype.getValue=function(){return this.getNativeInput().value},t.prototype.setValue=function(e){if(this.getValue()!==e&&(this.getNativeInput().value=e),this.setcharacterCounter(e.length),this.validateOnValueChange){var t=this.isValid();this.styleValidity(t)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},t.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},t.prototype.setValid=function(e){this.valid=e,this.styleValidity(e);var t=!e&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(t)},t.prototype.setValidateOnValueChange=function(e){this.validateOnValueChange=e},t.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},t.prototype.setUseNativeValidation=function(e){this.useNativeValidation=e},t.prototype.isDisabled=function(){return this.getNativeInput().disabled},t.prototype.setDisabled=function(e){this.getNativeInput().disabled=e,this.styleDisabled(e)},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.setTrailingIconAriaLabel=function(e){this.trailingIcon&&this.trailingIcon.setAriaLabel(e)},t.prototype.setTrailingIconContent=function(e){this.trailingIcon&&this.trailingIcon.setContent(e)},t.prototype.setcharacterCounter=function(e){if(this.characterCounter){var t=this.getNativeInput().maxLength;if(-1===t)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(e,t)}},t.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},t.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},t.prototype.styleValidity=function(e){var n=t.cssClasses.INVALID;if(e?this.adapter.removeClass(n):this.adapter.addClass(n),this.helperText){if(this.helperText.setValidity(e),!this.helperText.isValidation())return;var r=this.helperText.isVisible(),o=this.helperText.getId();r&&o?this.adapter.setInputAttr(_.ARIA_DESCRIBEDBY,o):this.adapter.removeInputAttr(_.ARIA_DESCRIBEDBY)}},t.prototype.styleFocused=function(e){var n=t.cssClasses.FOCUSED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.styleDisabled=function(e){var n=t.cssClasses,r=n.DISABLED,o=n.INVALID;e?(this.adapter.addClass(r),this.adapter.removeClass(o)):this.adapter.removeClass(r),this.leadingIcon&&this.leadingIcon.setDisabled(e),this.trailingIcon&&this.trailingIcon.setDisabled(e)},t.prototype.styleFloating=function(e){var n=t.cssClasses.LABEL_FLOATING;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},t}(f.I),I={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},S={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+I.ROOT},A=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return I},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return S},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.getId=function(){return this.adapter.getAttr("id")},t.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(S.ARIA_HIDDEN)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.isPersistent=function(){return this.adapter.hasClass(I.HELPER_TEXT_PERSISTENT)},t.prototype.setPersistent=function(e){e?this.adapter.addClass(I.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(I.HELPER_TEXT_PERSISTENT)},t.prototype.isValidation=function(){return this.adapter.hasClass(I.HELPER_TEXT_VALIDATION_MSG)},t.prototype.setValidation=function(e){e?this.adapter.addClass(I.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(I.HELPER_TEXT_VALIDATION_MSG)},t.prototype.showToScreenReader=function(){this.adapter.removeAttr(S.ARIA_HIDDEN)},t.prototype.setValidity=function(e){var t=this.adapter.hasClass(I.HELPER_TEXT_PERSISTENT),n=this.adapter.hasClass(I.HELPER_TEXT_VALIDATION_MSG)&&!e;n?(this.showToScreenReader(),"alert"===this.adapter.getAttr(S.ROLE)?this.refreshAlertRole():this.adapter.setAttr(S.ROLE,"alert")):this.adapter.removeAttr(S.ROLE),t||n||this.hide()},t.prototype.hide=function(){this.adapter.setAttr(S.ARIA_HIDDEN,"true")},t.prototype.refreshAlertRole=function(){var e=this;this.adapter.removeAttr(S.ROLE),requestAnimationFrame((function(){e.adapter.setAttr(S.ROLE,"alert")}))},t}(f.I),O=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new A({addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t}})},t}(o.O),w={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},L={ROOT:"mdc-text-field__icon"},P=["click","keydown"],N=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.savedTabIndex=null,o.interactionHandler=function(e){o.handleInteraction(e)},o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return L},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=(0,r.Ju)(P),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.registerInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.destroy=function(){var e,t;try{for(var n=(0,r.Ju)(P),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.setDisabled=function(e){this.savedTabIndex&&(e?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",w.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&(e.preventDefault(),this.adapter.notifyIconAction())},t}(f.I),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new N({getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)},notifyIconAction:function(){return e.emit(N.strings.ICON_EVENT,{},!0)}})},t}(o.O),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t,n,r,o,i,a){void 0===e&&(e=function(e,t){return new c.N(e,t)}),void 0===t&&(t=function(e){return new l.l(e)}),void 0===n&&(n=function(e){return new O(e)}),void 0===r&&(r=function(e){return new v(e)}),void 0===o&&(o=function(e){return new k(e)}),void 0===i&&(i=function(e){return new s.$(e)}),void 0===a&&(a=function(e){return new u.i(e)}),this.input=this.root.querySelector(_.INPUT_SELECTOR);var d=this.root.querySelector(_.LABEL_SELECTOR);this.label=d?i(d):null;var f=this.root.querySelector(_.LINE_RIPPLE_SELECTOR);this.lineRipple=f?t(f):null;var p=this.root.querySelector(_.OUTLINE_SELECTOR);this.outline=p?a(p):null;var h=A.strings,y=this.root.nextElementSibling,b=y&&y.classList.contains(g.HELPER_LINE),E=b&&y&&y.querySelector(h.ROOT_SELECTOR);this.helperText=E?n(E):null;var x=m.strings,C=this.root.querySelector(x.ROOT_SELECTOR);!C&&b&&y&&(C=y.querySelector(x.ROOT_SELECTOR)),this.characterCounter=C?r(C):null;var T=this.root.querySelector(_.LEADING_ICON_SELECTOR);this.leadingIcon=T?o(T):null;var I=this.root.querySelector(_.TRAILING_ICON_SELECTOR);this.trailingIcon=I?o(I):null,this.prefix=this.root.querySelector(_.PREFIX_SELECTOR),this.suffix=this.root.querySelector(_.SUFFIX_SELECTOR),this.ripple=this.createRipple(e)},t.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple&&this.lineRipple.destroy(),this.helperText&&this.helperText.destroy(),this.characterCounter&&this.characterCounter.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.trailingIcon&&this.trailingIcon.destroy(),this.label&&this.label.destroy(),this.outline&&this.outline.destroy(),e.prototype.destroy.call(this)},t.prototype.initialSyncWithDOM=function(){this.disabled=this.input.disabled},Object.defineProperty(t.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(e){this.foundation.setValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(e){this.foundation.setDisabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(e){this.foundation.setValid(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this.input.required},set:function(e){this.input.required=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pattern",{get:function(){return this.input.pattern},set:function(e){this.input.pattern=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minLength",{get:function(){return this.input.minLength},set:function(e){this.input.minLength=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.input.maxLength},set:function(e){e<0?this.input.removeAttribute("maxLength"):this.input.maxLength=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this.input.min},set:function(e){this.input.min=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this.input.max},set:function(e){this.input.max=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"step",{get:function(){return this.input.step},set:function(e){this.input.step=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"helperTextContent",{set:function(e){this.foundation.setHelperTextContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconAriaLabel",{set:function(e){this.foundation.setLeadingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconContent",{set:function(e){this.foundation.setLeadingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trailingIconAriaLabel",{set:function(e){this.foundation.setTrailingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trailingIconContent",{set:function(e){this.foundation.setTrailingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useNativeValidation",{set:function(e){this.foundation.setUseNativeValidation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"prefixText",{get:function(){return this.prefix?this.prefix.textContent:null},set:function(e){this.prefix&&(this.prefix.textContent=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suffixText",{get:function(){return this.suffix?this.suffix.textContent:null},set:function(e){this.suffix&&(this.suffix.textContent=e)},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.input.focus()},t.prototype.layout=function(){var e=this.foundation.shouldFloat;this.foundation.notchOutline(e)},t.prototype.getDefaultFoundation=function(){var e=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods());return new T(e,this.getFoundationMap())},t.prototype.getRootAdapterMethods=function(){var e=this;return{addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},registerTextFieldInteractionHandler:function(t,n){e.listen(t,n)},deregisterTextFieldInteractionHandler:function(t,n){e.unlisten(t,n)},registerValidationAttributeChangeHandler:function(t){var n=new MutationObserver((function(e){return t(function(e){return e.map((function(e){return e.attributeName})).filter((function(e){return e}))}(e))}));return n.observe(e.input,{attributes:!0}),n},deregisterValidationAttributeChangeHandler:function(e){e.disconnect()}}},t.prototype.getInputAdapterMethods=function(){var e=this;return{getNativeInput:function(){return e.input},setInputAttr:function(t,n){e.input.setAttribute(t,n)},removeInputAttr:function(t){e.input.removeAttribute(t)},isFocused:function(){return document.activeElement===e.input},registerInputInteractionHandler:function(t,n){e.input.addEventListener(t,n,(0,i.E)())},deregisterInputInteractionHandler:function(t,n){e.input.removeEventListener(t,n,(0,i.E)())}}},t.prototype.getLabelAdapterMethods=function(){var e=this;return{floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},hasLabel:function(){return Boolean(e.label)},shakeLabel:function(t){e.label&&e.label.shake(t)},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},t.prototype.getLineRippleAdapterMethods=function(){var e=this;return{activateLineRipple:function(){e.lineRipple&&e.lineRipple.activate()},deactivateLineRipple:function(){e.lineRipple&&e.lineRipple.deactivate()},setLineRippleTransformOrigin:function(t){e.lineRipple&&e.lineRipple.setRippleCenter(t)}}},t.prototype.getOutlineAdapterMethods=function(){var e=this;return{closeOutline:function(){e.outline&&e.outline.closeNotch()},hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)}}},t.prototype.getFoundationMap=function(){return{characterCounter:this.characterCounter?this.characterCounter.foundationForTextField:void 0,helperText:this.helperText?this.helperText.foundationForTextField:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForTextField:void 0,trailingIcon:this.trailingIcon?this.trailingIcon.foundationForTextField:void 0}},t.prototype.createRipple=function(e){var t=this,n=this.root.classList.contains(g.TEXTAREA),o=this.root.classList.contains(g.OUTLINED);if(n||o)return null;var s=(0,r.Cl)((0,r.Cl)({},c.N.createAdapter(this)),{isSurfaceActive:function(){return a.cK(t.input,":active")},registerInteractionHandler:function(e,n){t.input.addEventListener(e,n,(0,i.E)())},deregisterInteractionHandler:function(e,n){t.input.removeEventListener(e,n,(0,i.E)())}});return e(this.root,new d.E(s))},t}(o.O)},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(14),i=n(99),a=n(71),s=n(3),l=s.createComponent((function(e,t){const{outlined:n,...o}=e,i=s.useClassNames(e,["mdc-card",{"mdc-card--outlined":n}]);return r.jsx(s.Tag,{...o,ref:t,className:i})})),u=s.createComponent((function(e,t){const{square:n,sixteenByNine:o,...i}=e,a=s.useClassNames(e,["mdc-card__media",{"mdc-card__media--square":n,"mdc-card__media--16-9":o}]);return r.jsx(s.Tag,{tag:"section",...i,ref:t,className:a})})),c=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__media-content"]);return r.jsx(s.Tag,{...e,ref:t,className:n})})),d=o.withRipple({surface:!1})(s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__primary-action"]),{children:o,...i}=e;return r.jsxs(s.Tag,{...i,ref:t,className:n,children:[o,r.jsx("div",{className:"mdc-card__ripple"})]})}))),f=s.createComponent((function(e,t){const{fullBleed:n,...o}=e,i=s.useClassNames(e,["mdc-card__actions",{"mdc-card__actions--full-bleed":n}]);return r.jsx(s.Tag,{tag:"div",...o,ref:t,className:i})})),p=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action-buttons"]);return r.jsx(s.Tag,{...e,ref:t,className:n})})),h=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action-icons"]);return r.jsx(s.Tag,{...e,ref:t,className:n})})),m=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action","mdc-card__action--icon","mdc-icon-button--display-flex"]);return r.jsx(a.IconButton,{...e,ref:t,className:n})})),v=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action","mdc-card__action--button"]);return r.jsx(i.Button,{...e,ref:t,className:n})}));t.Card=l,t.CardActionButton=v,t.CardActionButtons=p,t.CardActionIcon=m,t.CardActionIcons=h,t.CardActions=f,t.CardMedia=u,t.CardMediaContent=c,t.CardPrimaryAction=d},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(14),a=n(18),s=n(100),l=n(3),u=i.withRipple({surface:!1})(l.createComponent((function(e,t){const{dense:n,raised:o,unelevated:i,outlined:a,danger:u,icon:h,label:m,trailingIcon:v,children:_,touch:g,...y}=e,b=s.useIsWrappedTouchTarget(g),E=l.useClassNames(e,["mdc-button",{"mdc-button--dense":n,"mdc-button--raised":o,"mdc-button--unelevated":i,"mdc-button--outlined":a,"mdc-button--touch":b}]);if(u){const e=y.style||{},t={"--mdc-theme-primary":"var(--mdc-theme-error)","--mdc-theme-on-primary":"var(--mdc-theme-on-error)"};y.style={...t,...e}}return r.jsxs(l.Tag,{tag:"button",...y,ref:t,className:E,children:[r.jsx(f,{}),r.jsx(c,{}),r.jsx(d,{}),!!h&&r.jsx(p,{icon:h}),r.jsxs("span",{className:"mdc-button__label",children:[m,_]}),!!v&&r.jsx(p,{icon:v})]})}))),c=o.memo((function(){return r.jsx("div",{className:"mdc-button__touch"})})),d=o.memo((function(){return r.jsx("div",{className:"mdc-button__focus-ring"})})),f=o.memo((function(){return r.jsx("div",{className:"mdc-button__ripple"})})),p=l.createMemoComponent((function(e,t){const n=l.useClassNames(e,["mdc-button__icon"]);return r.jsx(a.Icon,{...e,className:n,ref:t})}));t.Button=u},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(14),a=n(3),s=o.createContext(!1),l=i.withRipple({surface:!1})(a.createComponent((function(e,t){const{children:n,...o}=e,i=a.useClassNames(e,["mdc-touch-target-wrapper"]);return r.jsx(a.Tag,{tag:"div",...o,ref:t,className:i,children:r.jsx(s.Provider,{value:!0,children:n})})})));t.TouchTargetWrapper=l,t.useIsWrappedTouchTarget=e=>o.useContext(s)||e||!1},function(e){e.exports=function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[0]-680876936|0)<<7|n>>>25)+r|0)&r|~n&o)+t[1]-389564586|0)<<12|i>>>20)+n|0)&n|~i&r)+t[2]+606105819|0)<<17|o>>>15)+i|0)&i|~o&n)+t[3]-1044525330|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[4]-176418897|0)<<7|n>>>25)+r|0)&r|~n&o)+t[5]+1200080426|0)<<12|i>>>20)+n|0)&n|~i&r)+t[6]-1473231341|0)<<17|o>>>15)+i|0)&i|~o&n)+t[7]-45705983|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[8]+1770035416|0)<<7|n>>>25)+r|0)&r|~n&o)+t[9]-1958414417|0)<<12|i>>>20)+n|0)&n|~i&r)+t[10]-42063|0)<<17|o>>>15)+i|0)&i|~o&n)+t[11]-1990404162|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[12]+1804603682|0)<<7|n>>>25)+r|0)&r|~n&o)+t[13]-40341101|0)<<12|i>>>20)+n|0)&n|~i&r)+t[14]-1502002290|0)<<17|o>>>15)+i|0)&i|~o&n)+t[15]+1236535329|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[1]-165796510|0)<<5|n>>>27)+r|0)&o|r&~o)+t[6]-1069501632|0)<<9|i>>>23)+n|0)&r|n&~r)+t[11]+643717713|0)<<14|o>>>18)+i|0)&n|i&~n)+t[0]-373897302|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[5]-701558691|0)<<5|n>>>27)+r|0)&o|r&~o)+t[10]+38016083|0)<<9|i>>>23)+n|0)&r|n&~r)+t[15]-660478335|0)<<14|o>>>18)+i|0)&n|i&~n)+t[4]-405537848|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[9]+568446438|0)<<5|n>>>27)+r|0)&o|r&~o)+t[14]-1019803690|0)<<9|i>>>23)+n|0)&r|n&~r)+t[3]-187363961|0)<<14|o>>>18)+i|0)&n|i&~n)+t[8]+1163531501|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[13]-1444681467|0)<<5|n>>>27)+r|0)&o|r&~o)+t[2]-51403784|0)<<9|i>>>23)+n|0)&r|n&~r)+t[7]+1735328473|0)<<14|o>>>18)+i|0)&n|i&~n)+t[12]-1926607734|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[5]-378558|0)<<4|n>>>28)+r|0)^r^o)+t[8]-2022574463|0)<<11|i>>>21)+n|0)^n^r)+t[11]+1839030562|0)<<16|o>>>16)+i|0)^i^n)+t[14]-35309556|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[1]-1530992060|0)<<4|n>>>28)+r|0)^r^o)+t[4]+1272893353|0)<<11|i>>>21)+n|0)^n^r)+t[7]-155497632|0)<<16|o>>>16)+i|0)^i^n)+t[10]-1094730640|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[13]+681279174|0)<<4|n>>>28)+r|0)^r^o)+t[0]-358537222|0)<<11|i>>>21)+n|0)^n^r)+t[3]-722521979|0)<<16|o>>>16)+i|0)^i^n)+t[6]+76029189|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[9]-640364487|0)<<4|n>>>28)+r|0)^r^o)+t[12]-421815835|0)<<11|i>>>21)+n|0)^n^r)+t[15]+530742520|0)<<16|o>>>16)+i|0)^i^n)+t[2]-995338651|0)<<23|r>>>9)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[0]-198630844|0)<<6|n>>>26)+r|0)|~o))+t[7]+1126891415|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[14]-1416354905|0)<<15|o>>>17)+i|0)|~n))+t[5]-57434055|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[12]+1700485571|0)<<6|n>>>26)+r|0)|~o))+t[3]-1894986606|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[10]-1051523|0)<<15|o>>>17)+i|0)|~n))+t[1]-2054922799|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[8]+1873313359|0)<<6|n>>>26)+r|0)|~o))+t[15]-30611744|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[6]-1560198380|0)<<15|o>>>17)+i|0)|~n))+t[13]+1309151649|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[4]-145523070|0)<<6|n>>>26)+r|0)|~o))+t[11]-1120210379|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[2]+718787259|0)<<15|o>>>17)+i|0)|~n))+t[9]-343485551|0)<<21|r>>>11)+o|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=o+e[2]|0,e[3]=i+e[3]|0}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function o(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function i(e){var t,o,i,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)n(c,r(e.substring(t-64,t)));for(o=(e=e.substring(t-64)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<o;t+=1)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(n(c,i),t=0;t<16;t+=1)i[t]=0;return a=(a=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,i[14]=s,i[15]=l,n(c,i),c}function a(e){var t,r,i,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)n(c,o(e.subarray(t-64,t)));for(r=(e=t-64<u?e.subarray(t-64):new Uint8Array(0)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)i[t>>2]|=e[t]<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(n(c,i),t=0;t<16;t+=1)i[t]=0;return a=(a=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,i[14]=s,i[15]=l,n(c,i),c}function s(e){var n,r="";for(n=0;n<4;n+=1)r+=t[e>>8*n+4&15]+t[e>>8*n&15];return r}function l(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function u(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e,t){var n,r=e.length,o=new ArrayBuffer(r),i=new Uint8Array(o);for(n=0;n<r;n+=1)i[n]=e.charCodeAt(n);return t?i:o}function d(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function f(e,t,n){var r=new Uint8Array(e.byteLength+t.byteLength);return r.set(new Uint8Array(e)),r.set(new Uint8Array(t),e.byteLength),n?r:r.buffer}function p(e){var t,n=[],r=e.length;for(t=0;t<r-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function h(){this.reset()}return l(i("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var o,i,a,s,l=this.byteLength,u=t(n,l),c=l;return r!==e&&(c=t(r,l)),u>c?new ArrayBuffer(0):(o=c-u,i=new ArrayBuffer(o),a=new Uint8Array(i),s=new Uint8Array(this,u,o),a.set(s),i)}}(),h.prototype.append=function(e){return this.appendBinary(u(e)),this},h.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,o=this._buff.length;for(t=64;t<=o;t+=64)n(this._hash,r(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},h.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<o;t+=1)i[t>>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=l(this._hash),e&&(n=p(n)),this.reset(),n},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},h.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(e,t){var r,o,i,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=(r=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(r[2],16),i=parseInt(r[1],16)||0,e[14]=o,e[15]=i,n(this._hash,e)},h.hash=function(e,t){return h.hashBinary(u(e),t)},h.hashBinary=function(e,t){var n=l(i(e));return t?p(n):n},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(e){var t,r=f(this._buff.buffer,e,!0),i=r.length;for(this._length+=e.byteLength,t=64;t<=i;t+=64)n(this._hash,o(r.subarray(t-64,t)));return this._buff=t-64<i?new Uint8Array(r.buffer.slice(t-64)):new Uint8Array(0),this},h.ArrayBuffer.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<o;t+=1)i[t>>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=l(this._hash),e&&(n=p(n)),this.reset(),n},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var e=h.prototype.getState.call(this);return e.buff=d(e.buff),e},h.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),h.prototype.setState.call(this,e)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(e,t){var n=l(a(new Uint8Array(e)));return t?p(n):n},h}()},,,,,,,function(e,t,n){function r(e,t){return new Promise((function(n,r){var o=new Image;t&&(o.crossOrigin=t),o.onload=function(){n(o)},o.onerror=r,o.src=e}))}function o(e){var t=document.createElement("canvas");return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,e.width,e.height),t}function i(e,t){e=e||[],"string"==typeof(t=t||{})&&(t={type:t});try{return new Blob(e,t)}catch(o){if("TypeError"!==o.name)throw o;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}function a(e){return("undefined"!=typeof URL?URL:webkitURL).createObjectURL(e)}function s(e){return("undefined"!=typeof URL?URL:webkitURL).revokeObjectURL(e)}function l(e){return new Promise((function(t,n){var r=new FileReader,o="function"==typeof r.readAsBinaryString;r.onloadend=function(){var e=r.result||"";if(o)return t(e);t(y(e))},r.onerror=n,o?r.readAsBinaryString(e):r.readAsArrayBuffer(e)}))}function u(e,t){var n=[b(atob(e))];return t?i(n,{type:t}):i(n)}function c(e,t){return u(btoa(e),t)}function d(e){return l(e).then(btoa)}function f(e){var t=e.match(/data:([^;]+)/)[1],n=e.replace(/^[^,]+,/,"");return i([b(atob(n))],{type:t})}function p(e){return d(e).then((function(t){return"data:"+e.type+";base64,"+t}))}function h(e,t,n,i){return t=t||"image/png",r(e,n).then(o).then((function(e){return e.toDataURL(t,i)}))}function m(e,t,n){return"function"==typeof e.toBlob?new Promise((function(r){e.toBlob(r,t,n)})):Promise.resolve(f(e.toDataURL(t,n)))}function v(e,t,n,i){return t=t||"image/png",r(e,n).then(o).then((function(e){return m(e,t,i)}))}function _(e,t){return i([e],t)}function g(e){return new Promise((function(t,n){var r=new FileReader;r.onloadend=function(){var e=r.result||new ArrayBuffer(0);t(e)},r.onerror=n,r.readAsArrayBuffer(e)}))}function y(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,o=-1;++o<r;)t+=String.fromCharCode(n[o]);return t}function b(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=-1;++o<t;)r[o]=e.charCodeAt(o);return n}n.r(t),n.d(t,{arrayBufferToBinaryString:function(){return y},arrayBufferToBlob:function(){return _},base64StringToBlob:function(){return u},binaryStringToArrayBuffer:function(){return b},binaryStringToBlob:function(){return c},blobToArrayBuffer:function(){return g},blobToBase64String:function(){return d},blobToBinaryString:function(){return l},blobToDataURL:function(){return p},canvasToBlob:function(){return m},createBlob:function(){return i},createObjectURL:function(){return a},dataURLToBlob:function(){return f},imgSrcToBlob:function(){return v},imgSrcToDataURL:function(){return h},revokeObjectURL:function(){return s}})},,,,,,,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__0__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__48__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__49__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__32__,__WEBPACK_EXTERNAL_MODULE__33__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__50__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_6321__){var __dirname="/",e,t,r,n,i,o,s,a,l,p,c,u,d;if(module=__nested_webpack_require_6321__.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_6321__.g||null===__nested_webpack_require_6321__.g?{}:__nested_webpack_require_6321__.g;module.exports=(e=__nested_webpack_require_6321__(2),t=__nested_webpack_require_6321__(12),r=__nested_webpack_require_6321__(4),n=__nested_webpack_require_6321__(0),i=__nested_webpack_require_6321__(3),o=__nested_webpack_require_6321__(13),s=__nested_webpack_require_6321__(14),a=__nested_webpack_require_6321__(5),l=__nested_webpack_require_6321__(15),p=__nested_webpack_require_6321__(16),c=__nested_webpack_require_6321__(17),u=__nested_webpack_require_6321__(18),d=__nested_webpack_require_6321__(6),function(){var f=[function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=t},function(e,t,n){var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:s.string},e),function(t,n){if("string"==typeof n){var r,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var s=a().stringCamelCaseToDelimited(n);i.observedAttributes.includes(s)||i.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?o()({},i.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,n)||(i.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?a().copy(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(n)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(n)||null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,n)&&(r=i.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(n):i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes)),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(n,r),null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?o()({},i.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,n)||(i.propertyAliases[n]=e.alias))}}}},function(e,t,n){n.d(t,{api:function(){return w}});var r,o,i,a,s=n(6),l=n.n(s),u=n(0),c=n.n(u),d=n(7),f=n.n(d),p=n(8),h=n.n(p),m=n(3),v=n.n(m),_=n(9),g=n.n(_),y=(n(10),n(11)),b=n.n(y),E=n(1),x=n.n(E),C=n(2),T=n(4);function I(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 S(e,t);var n=Object.prototype.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)?S(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 S(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var A="undefined"==typeof HTMLElement?function(){}:HTMLElement,O=(r=(0,T.default)({type:C.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={Tools:x()},n.domNodeEventBindings=new Map,n.domNodeTemplateCache=new Map,n.externalProperties={},n.ignoreAttributeUpdateObservations=!1,n.internalProperties={},n.outputEventNames=new Set,n.instance=null,f()(n,"isRoot",i,h()(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=h()(n),n.defineGetterAndSetterInterface(),n}v()(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,x().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"):x().timeout((function(){return e.render("connected")}))},n.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=I(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=I(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=I(x().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=r()).done;)n()},n.getPropertyAlias=function(e){return 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,x().timeout((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),x().timeout((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})).then(x().noop,x().noop)):(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 s=x().stringEvaluate(a,t,!1,e);if(s.error)return console.warn('Error occurred during processing given attribute binding "'+o+'" on node:',e,s.error),0;i.startsWith("attribute-")?e.setAttribute(i.substring(10),s.result):e[x().stringDelimitedToCamelCase(i.substring(9))]=s.result}else if(i.startsWith("on-")){n.domNodeEventBindings.has(e)||n.domNodeEventBindings.set(e,new Map);var l=n.domNodeEventBindings.get(e);i=x().stringDelimitedToCamelCase(i.substring(3)),l.has(i)&&l.get(i)(),t=c()({event:void 0,parameters:void 0},t);var u=x().stringCompile(a,t,!0);if(u.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,u.error);else{var d=u.templateFunction.bind(e),f=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{d.apply(void 0,u.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 "'+u.scopeNames.join('", "')+'": '+x().represent(t))}};e.addEventListener(i,f),l.set(i,(function(){e.removeEventListener(i,f),l.delete(i),0===l.size&&n.domNodeEventBindings.delete(e)}))}}}},i=I(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){var r;if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=c()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-"))return n.map;if(n.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=x().stringCompile("`"+o+"`",t);n.map.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction})}}else{var a,s=e.nodeName.toLowerCase();if(["a","#text"].includes(s)){var l="a"===s?e.getAttribute("href"):e.textContent;this.self.hasCode(l)&&(a=l.replace(/ /g," ").trim())}var u=[];if(a){var d=x().stringCompile("`"+a+"`",t);n.map.set(e,{children:u,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)n.filter&&!n.filter(f)||u.push(this.compileDomNodeTemplate(f,t,c()({},n,{ignoreComponents:n.ignoreNestedComponents}))),f=f.nextSibling}return n.map},n.evaluateDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t={}),void 0===n&&(n={}),(n=c()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map.has(e)||this.compileDomNodeTemplate(e,t,n),n.map.has(e)){var o=n.map.get(e),i=o.error,a=o.scopeNames,s=o.templateFunction;if(i)console.warn("Error occurred during compiling node content: "+i);else{var l=null;try{l=s.apply(void 0,a.map((function(e){return t[e]})))}catch(i){console.warn('Error occurred when "'+this.self._name+'" is running "'+s+'": with bound names "'+a.join('", "')+'": "'+i+'". Rendering node:',e)}null!==l&&(n.unsafe?e.innerHTML=l:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",l):e.textContent=l)}}if(!(n.unsafe||n.ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-")))for(var u=e.firstChild;u;)n.filter&&!n.filter(u)||this.evaluateDomNodeTemplate(u,t,c()({},n,{applyBindings:!1,ignoreComponents:n.ignoreNestedComponents})),u=u.nextSibling;return n.applyBindings&&this.applyBindings(e,t),n.map},t.replaceDomNodes=function(e,n){for(var r,o=I([].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;){var n;(e instanceof t||(null==(n=e.nodeName)?void 0:n.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=I(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return x().convertPlainObjectToMap(e)},n.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},n.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,l()(b().mark((function t(){var r,o,i,a,s=arguments;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,o=new Array(r),i=0;i<r;i++)o[i]=s[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)||![C.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=I(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=x().stringLowerCase(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 s,l=I(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(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;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var n,r,o=e.firstElementChild.value;null==(n=e.classList)||n.remove("web-component-template");var i=e.cloneNode();return null==(r=e.classList)||r.add("web-component-template"),i.innerHTML="",i.template=o,i}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=n[t],o=r.parentNode,i=!0;o;){if(o.nodeName.includes("-")){o===this&&(i=!1);break}o=o.parentNode}i||(this.slots[r.getAttribute&&r.getAttribute("slot")&&r.getAttribute("slot").trim()?r.getAttribute("slot").trim():r.nodeName.toLowerCase()]=this.grabSlotContent(r))}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,n;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(n=n.current)?void 0:n.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=c()({},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=n[t],o=r[0],i=r[1];if(this.setExternalPropertyValue(o,i),this.isConnected){var a=x().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case C.boolean:case"boolean":i?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case C.func:case"function":break;case"json":if(i){var s=JSON.stringify(i);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case C.number:case"number":if("number"!=typeof i||isNaN(i))this.hasAttribute(a)&&this.removeAttribute(a);else{var l=""+i;this.getAttribute(a)!==l&&this.setAttribute(a,l)}break;case C.string:case"string":i?this.getAttribute(a)!==i&&this.setAttribute(a,i):this.hasAttribute(a)&&this.removeAttribute(a);break;case C.any:case C.array:case C.arrayOf:case C.element:case C.elementType:case C.instanceOf:case C.node:case C.object:case"object":case C.objectOf:case C.shape:case C.exact:case C.symbol:default:if(i){var u=x().represent(i);if(u&&this.getAttribute(a)!==u){this.setAttribute(a,u);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},n.reflectProperties=function(e){var t,n,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,i=I(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=i()).done;){var a=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,a)&&this.setInternalPropertyValue(a,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(r=this.internalProperties.model)||delete r.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,l=I(this.self.controllableProperties);!(s=l()).done;){var u=s.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},n.reflectEventToProperties=function(){var e=l()(b().mark((function e(t,n){var r,o,i,a,s,l,u,d,f,p,h,m,v,_,g,y;return b().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)&&x().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((s=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in s&&x().isFunction(s.then))){e.next=12;break}return e.next=9,s;case 9:e.t0=e.sent,e.next=13;break;case 12:e.t0=s;case 13:l=e.t0,i=!0,Array.isArray(l)?(o=l[0],this.reflectProperties(o),x().extend(!0,this.internalProperties,l[1])):null===l?i=!1:"object"==typeof l&&(o=l,this.reflectProperties(l));case 16:if(!i&&n.length>0&&null!==n[0]&&"object"==typeof n[0]){if(d=n[0],"persist"in n[0]&&x().isFunction(n[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],m=I([h].concat(null!==(_=this.getPropertyAlias(h))&&void 0!==_?_:[]));!(v=m()).done;)g=v.value,(y=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,g)?n[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(d[g]=y);else[null,void 0].includes(null==(u=d.detail)?void 0:u.value)||(d=c()({},d.detail));o=d,this.reflectProperties(d)}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=x().stringDelimitedToCamelCase(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 s=this.self.propertyTypes[i];if(r){if(t){var l=x().stringEvaluate(t,{Tools:x()},!1,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case C.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(i,u),this.setExternalPropertyValue(i,u);break;case C.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=x().stringCompile(t,f);d=p.error,c=p.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 s=void 0;if(!d)try{s=c.call(n,o[0],o[0],o[0],o[0],o[0],o[0],o,x())}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+x().represent(o)+'": '+n+'. Set property to "undedefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),s})),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+'": '+x().represent(d));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,x().copy(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case C.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 C.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case C.any:case C.array:case C.arrayOf:case C.element:case C.elementType:case C.instanceOf:case C.node:case C.object:case"object":case C.objectOf:case C.oneOf:case C.oneOfType:case C.shape:case C.exact:case C.symbol:default:if(t){var v=x().stringEvaluate(t,{},!1,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,x().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,x().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(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},n.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=c()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[x().stringLowerCase(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}}))){var t=x().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var n=document.createElement("div");n.innerHTML=t.result,this.applySlots(n,c()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(A),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:C.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=g()(o.prototype,"isRoot",[r],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),o),w={component:O,register:function(e){return void 0===e&&(e=x().stringCamelCaseToDelimited(O._name)),customElements.define(e,O)}};t.default=O},function(e){e.exports=a},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=c},function(e){e.exports=u},function(e){e.exports=d},function(e){e.exports=i},function(e){e.exports=o},function(e){e.exports=s},function(e,t,n){n.d(t,{api:function(){return _}});var r=n(0),o=n.n(r),i=n(3),a=n.n(i),s=n(1),l=n.n(s),u=n(2),c=n(12),d=n.n(c),f=n(13),p=n(14);function h(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 m(e,t);var n=Object.prototype.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)?m(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 m(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var v=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}a()(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(e){var t,n=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){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(var r=this.firstChild;r;){var i=r.nextSibling;this.removeChild(r),r=i}this.reactRoot||(this.reactRoot=(0,p.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,f.flushSync)((function(){return n.reactRoot.render((0,c.createElement)(n.self.content,n.internalProperties))})),null!=(t=this.instance)&&t.current?this.reflectInstanceProperties():l().timeout(this.reflectInstanceProperties)}},n.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=l().copy(t,1),n)),this.setInternalPropertyValue(e,l().copy(t,1))},n.setInternalPropertyValue=function(t,n){null===n?n=u.NullSymbol:void 0===n&&(n=u.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=h(e);!(r=a()).done;){var s=r.value,l=this.preCompileDomNode(s,t,n,o.toString());l&&(i.push(l),o+=1)}return n?function(e){return function(){for(var t,n=[],r=h(i);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,c.createElement)(c.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 s="string"==typeof e.nodeValue?e.nodeValue.trim():"",u=r&&s?(0,c.createElement)(c.Fragment,{children:s,key:r}):s||null;return function(){return u}}if(!e.getAttributeNames)return function(){return null};var d,f={},p=this.self.isReactComponent(e);p?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),r&&!Object.prototype.hasOwnProperty.call(f,"key")&&(f.key=r),d=e.constructor.content):(f.key=r,d=e.tagName.toLowerCase());for(var m,v=Object.keys(t),_={},g=function(){var n,r=m.value,o=e.getAttribute(r);if(null===o)return 0;var a=!1,s="";if(r.startsWith("data-bind-")?s=r.substring(10):r.startsWith("bind-")&&(s=r.substring(5)),s.startsWith("attribute-")||"attributes"===s||s.startsWith("property-")||"properties"===s){var u=l().stringCompile(o,v),c=u.error,d=u.originalScopeNames,h=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,c),0;"attributes"===s||"properties"===s?a=!0:s=s.startsWith("attribute-")?s.substring(10):s.substring(9),o={originalScopeNames:d,templateFunction:h.bind(i)}}else if(s.startsWith("on-")){s=l().stringDelimitedToCamelCase(s),Object.prototype.hasOwnProperty.call(t,"event")||(v=[].concat(v,["event"])),Object.prototype.hasOwnProperty.call(t,"parameters")||(v=[].concat(v,["parameters"]));var g=l().stringCompile(o,v,!0),y=g.error,b=g.originalScopeNames,E=g.scopeNames,x=g.templateFunction;if(y)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,y),0;var C=x.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{C.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('", "')+'": '+l().represent(t))}}}else s=r;var T={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(T,s)&&(s=T[s]),s=l().stringDelimitedToCamelCase(s),null!=(n=o)&&n.originalScopeNames?_[a?"":s]=o:p||(f[s]=o)},y=h(e.getAttributeNames());!(m=y()).done;)g();if(!p){var b=Array.from(e.childNodes);b.length&&(f.children=this.preCompileDomNodes(b,t))}return function(n){(n=o()({},t,n)).scope=n;for(var r=o()({},f),a=0,s=Object.entries(_);a<s.length;a++){var l=s[a],u=l[0],h=l[1],m=h.originalScopeNames,v=h.templateFunction.apply(void 0,m.map((function(e){return n[e]})));""===u?r=o()({},r,v):r[u]=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):p?(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,c.createElement)(d,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=h(e);!(n=o()).done;){var i=(0,n.value)(t);i&&r.push(i)}return r},n.preCompileSlots=function(){var e;for(var t in this.slots)Object.prototype.hasOwnProperty.call(this.slots,t)&&"default"!==t&&(this.compiledSlots[t]=this.preCompileDomNode(this.slots[t],o()({},this.scope,{parent:this}),[u.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[t])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,o()({},this.scope,{parent:this}),[u.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.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&&(!1===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,c.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,c.forwardRef)((function(t,n){return(0,c.useImperativeHandle)(n,(function(){return{properties:t}})),(0,c.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,c.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,c.memo)(this.self.content),this.self.content.wrapped=e)}},n.prepareProperties=function(e){l().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,c.createRef)(),e.ref=this.instance)},t.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=h(["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(5).default);v.attachWebComponentAdapterIfNotExists=!0,v.content="div",v.react=d(),v._name="ReactWebComponent";var _={component:v,register:function(e){return void 0===e&&(e=l().stringCamelCaseToDelimited(v._name)),customElements.define(e,v)}};t.default=v}],h={};function m(e){var t=h[e];if(void 0!==t)return t.exports;var n=h[e]={exports:{}};return f[e](n,n.exports,m),n.exports}m.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return m.d(t,{a:t}),t},m.d=function(e,t){for(var n in t)m.o(t,n)&&!m.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},m.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},m.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var v={};return function(){m.r(v),m.d(v,{ReactWeb:function(){return l},Web:function(){return d},reactWebAPI:function(){return u},webAPI:function(){return c},wrapAsWebComponent:function(){return f}});var e=m(0),t=m.n(e),n=m(3),r=m.n(n),o=m(1),i=m.n(o),a=m(15),s=m(5),l=a.default,u=a.api,c=s.api,d=s.default,f=function(e,n,o){var a,s,u;void 0===n&&(n="NoName"),void 0===o&&(o={});var c=e._name||(null==(a=e.___types)||null==(a=a.name)?void 0:a.name)||n.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},p=i().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(l.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(l.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var m=0,v=l.propertiesToReflectAsAttributes;m<v.length;m++){var _=v[m];h.set(_,l.propertyTypes[_])}else if(null!==h&&"object"==typeof h)for(var g=0,y=l.propertiesToReflectAsAttributes;g<y.length;g++){var b=y[g];h[b]=l.propertyTypes[b]}var E=p.map((function(e){return i().stringCamelCaseToDelimited(e)})),x=function(n){function i(){for(var r,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(r=n.call.apply(n,[this].concat(s))||this).self=i,r.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},r}return r()(i,n),i}(l);return x.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,x.content=e,x.observedAttributes=l.observedAttributes.concat(E).concat(E.map((function(e){return"-"+e}))),x.controllableProperties=e.controllableProperties||o.controllableProperties||[],x.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},x.propertyAliases=t()({},l.propertyAliases,f),x.propertiesToReflectAsAttributes=h,x.propertyTypes=t()({},l.propertyTypes,d),x.renderProperties=null!==(s=null!==(u=o.renderProperties)&&void 0!==u?u:e.renderProperties)&&void 0!==s?s:l.renderProperties,x._name=c,{component:x,register:function(e){return void 0===e&&(e=i().stringCamelCaseToDelimited(c)),customElements.define(e,x)}}};v.default=f}(),v}())},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(e){e.exports=__WEBPACK_EXTERNAL_MODULE__18__},,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__32__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__33__},function(module,__unused_webpack_exports,__nested_webpack_require_48816__){var __dirname="/",e,t,n,r,i,o,a,l,u,s,c,d,m,p,f,v,g,b,y,h,x,S,w,T,I,_,j,P;if(module=__nested_webpack_require_48816__.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_48816__.g||null===__nested_webpack_require_48816__.g?{}:__nested_webpack_require_48816__.g;module.exports=(e=__nested_webpack_require_48816__(5),t=__nested_webpack_require_48816__(2),n=__nested_webpack_require_48816__(7),r=__nested_webpack_require_48816__(6),i=__nested_webpack_require_48816__(48),o=__nested_webpack_require_48816__(20),a=__nested_webpack_require_48816__(22),l=__nested_webpack_require_48816__(23),u=__nested_webpack_require_48816__(24),s=__nested_webpack_require_48816__(25),c=__nested_webpack_require_48816__(26),d=__nested_webpack_require_48816__(27),m=__nested_webpack_require_48816__(8),p=__nested_webpack_require_48816__(9),f=__nested_webpack_require_48816__(28),v=__nested_webpack_require_48816__(29),g=__nested_webpack_require_48816__(49),b=__nested_webpack_require_48816__(4),y=__nested_webpack_require_48816__(0),h=__nested_webpack_require_48816__(3),x=__nested_webpack_require_48816__(30),S=__nested_webpack_require_48816__(21),w=__nested_webpack_require_48816__(10),T=__nested_webpack_require_48816__(31),I=__nested_webpack_require_48816__(32),_=__nested_webpack_require_48816__(33),j=__nested_webpack_require_48816__(11),P=__nested_webpack_require_48816__(50),function(){var E,C,A=[function(e){e.exports=j},function(e){e.exports=t},function(e){e.exports=h},function(e){e.exports=b},function(e){e.exports=m},function(e,t,n){n.d(t,{WrapTooltip:function(){return u}});var r=n(1),o=n.n(r),i=n(12),a=n(6),s=n(0),l=!a.Tooltip||a.Tooltip.isDummy,u=function(e){var t=e.children,n=e.options;if("string"==typeof n)return l?(0,s.jsx)("div",{className:"generic-tooltip",title:n,children:t}):(0,s.jsx)(a.Tooltip,{overlay:(0,s.jsx)(i.Typography,{use:"caption",children:n}),children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})});if(null!==n&&"object"==typeof n){if("string"==typeof n.overlay){if(l)return(0,s.jsx)("div",{className:"generic-tooltip",title:n.overlay,children:t});n=o()({},n,{overlay:(0,s.jsx)(i.Typography,{use:"caption",children:n.overlay})})}return l?(0,s.jsx)("div",{className:"generic-tooltip",children:t}):(0,s.jsx)(a.Tooltip,o()({},n,{children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,s.jsx)(s.Fragment,{children:t})};t.default=u},function(e){e.exports=w},function(e,t,n){n.d(t,{WrapConfigurations:function(){return s}}),n(1),n(15),n(2),n(4);var r=n(14),o=n(13),i=n(5),a=n(0),s=function(e){var t=e.children,n=e.strict,s=e.themeConfiguration,l=e.tooltip,u=e.wrap;return(0,a.jsx)(r.g,{strict:Boolean(n),children:(0,a.jsx)(i.WrapTooltip,{options:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:u,children:t})})})};t.default=s},function(e){e.exports=y},function(e,t,n){n.d(t,{defaultFileInputModelState:function(){return I},defaultFileInputProperties:function(){return O},defaultFileNameInputProperties:function(){return A},defaultInputModelState:function(){return y},defaultInputProperties:function(){return E},fileInputPropertyTypes:function(){return T},fileInputRenderProperties:function(){return x},inputPropertyTypes:function(){return _},textInputRenderProperties:function(){return g}});var r=n(1),o=n.n(r),i=n(3),a=n.n(i),s=n(8),l={name:s.string,declaration:s.string,description:s.string,default:s.any,selection:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.number,s.string])),s.number,(0,s.objectOf)((0,s.oneOfType)([s.number,s.string])),s.string])),(0,s.objectOf)((0,s.oneOfType)([s.number,s.string]))]),type:s.string,value:s.any},u={dirty:(0,s.oneOfType)([s.boolean,s.symbol]),pristine:(0,s.oneOfType)([s.boolean,s.symbol]),touched:(0,s.oneOfType)([s.boolean,s.symbol]),untouched:(0,s.oneOfType)([s.boolean,s.symbol]),focused:(0,s.oneOfType)([s.boolean,s.symbol]),visited:(0,s.oneOfType)([s.boolean,s.symbol]),invalid:(0,s.oneOfType)([s.boolean,s.symbol]),invalidRequired:(0,s.oneOfType)([s.boolean,s.symbol]),valid:(0,s.oneOfType)([s.boolean,s.symbol])},c=o()({},l,{emptyEqualsNull:s.boolean,trim:s.boolean,invertedPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),pattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximum:(0,s.oneOfType)([s.number,s.string]),minimum:(0,s.oneOfType)([s.number,s.string]),maximumLength:s.number,minimumLength:s.number,mutable:s.boolean,writable:s.boolean,state:(0,s.shape)(u)}),d=o()({},l,u,{className:s.string,styles:s.object,themeConfiguration:s.object,disabled:s.boolean,enforceUncontrolled:s.boolean,initialValue:s.any,inputProperties:s.object,model:(0,s.shape)(c),onChange:s.func,onChangeValue:s.func,onChangeShowDeclaration:s.func,onChangeState:s.func,onClick:s.func,onFocus:s.func,onTouch:s.func,required:s.boolean,requiredText:s.string,ripple:(0,s.oneOfType)([s.boolean,s.object]),rootProps:s.object,showDeclaration:(0,s.oneOfType)([s.boolean,s.symbol]),showInitialValidationState:s.boolean,showValidationState:s.boolean,tooltip:s.any}),f={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},p={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:-1,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:o()({},f),trim:!0,type:"string"},h={enforceUncontrolled:!1,model:o()({},p),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},m=(o()({},d,u,{checked:s.boolean,id:s.string}),o()({},p,{default:!1,type:"boolean",value:!1})),v=(o()({},h,{default:!1,model:o()({},m),requiredText:"Please check this field."}),o()({},u,{invalidMaximum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidInvertedPattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidPattern:(0,s.oneOfType)([s.boolean,s.symbol])})),_=o()({},d,v,{align:s.string,children:s.func,cursor:(0,s.oneOfType)([(0,s.shape)({end:s.number.isRequired,start:s.number.isRequired}),s.symbol]),editor:s.string,editorIsActive:(0,s.oneOfType)([s.boolean,s.symbol]),hidden:(0,s.oneOfType)([s.boolean,s.symbol]),icon:(0,s.oneOfType)([s.string,s.object]),inputProps:s.object,invertedPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedPatternText:s.string,labels:(0,s.oneOfType)([(0,s.arrayOf)((0,s.arrayOf)(s.string)),(0,s.arrayOf)(s.string),s.object]),maximum:(0,s.oneOfType)([s.number,s.string]),maximumLengthText:s.string,maximumText:s.string,minimum:(0,s.oneOfType)([s.number,s.string]),minimumLengthText:s.string,minimumText:s.string,onBlur:s.func,onChangeEditorIsActive:s.func,onKeyDown:s.func,onKeyUp:s.func,onSelect:s.func,onSelectionChange:s.func,outlined:s.boolean,pattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),patternText:s.string,placeholder:s.string,representation:(0,s.oneOfType)([s.string,s.symbol]),rows:s.number,searchSelection:s.boolean,selectableEditor:s.boolean,step:s.number,suggestionCreator:s.func,suggestSelection:s.boolean,trailingIcon:s.any,transformer:s.object}),g=["children","suggestionCreator"],y=o()({},f,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),b=o()({},p,{state:y}),E=o()({},h,{cursor:{end:0,start:0},editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},b),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1}),x=["children","generateFileNameInputProperties"],C=o()({},u,{invalidContentTypePattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidInvertedContentTypePattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidName:(0,s.oneOfType)([s.boolean,s.symbol])}),T=o()({},d,C,{children:s.func,contentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedContentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximumSizeText:s.string,minimumSizeText:s.string,deleteButton:(0,s.oneOfType)([s.object,s.string]),downloadButton:(0,s.oneOfType)([s.object,s.string]),editButton:(0,s.oneOfType)([s.object,s.string]),newButton:(0,s.oneOfType)([s.object,s.string]),encoding:s.string,generateFileNameInputProperties:s.func,onBlur:s.func,outlined:s.boolean}),I=o()({},f,{invalidContentTypePattern:!1,invalidInvertedContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1}),S=o()({},p,{contentTypePattern:/^.+\/.+$/,invertedContentTypePattern:void 0,fileName:o()({},b,{maximumLength:1024,name:"Name",pattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:I}),A=o()({},E,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',required:!0});delete A.model;var O=o()({},h,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: "${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: "${[].concat(invertedContentTypePattern).join("\\", \\"")}".',maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:a().identity,media:{sixteenByNine:!0},model:o()({},S),sourceToBlobOptions:{endings:"transparent",type:"text/plain"},hashingConfiguration:{binaryString:!1,prefix:"",readChunkSizeInByte:2097152}}),w=(o()({},d,v,{children:s.func,createItem:s.func,createPrototype:s.func,maximumNumber:s.number,minimumNumber:s.number}),o()({},p,{state:o()({},p.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"}));o()({},h,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:o()({},w)}),o()({},_,{value:(0,s.shape)({end:(0,s.oneOfType)([s.number,s.string,(0,s.shape)(_)]),start:(0,s.oneOfType)([s.number,s.string,(0,s.shape)(_)])})}),o()({},f),o()({},b,{description:"End",name:"end"}),o()({},b,{description:"Start",name:"start"})},function(e,t,n){n.d(t,{deriveMissingPropertiesFromState:function(){return c},determineInitialRepresentation:function(){return m},determineInitialValue:function(){return v},determineValidationState:function(){return _},formatValue:function(){return T},getConsolidatedProperties:function(){return y},getLabelAndValues:function(){return b},getValueFromSelection:function(){return E},mapPropertiesIntoModel:function(){return g},normalizeSelection:function(){return x},parseValue:function(){return C},renderMessage:function(){return f},translateKnownSymbols:function(){return h},triggerCallbackIfExists:function(){return p},wrapStateSetter:function(){return d}});var r=n(1),o=n.n(r),i=n(3),a=n.n(i),s=n(8);function l(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 u(e,t);var n=Object.prototype.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)?u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=o()({},e.model.state):e.model.state={};for(var n=0,r=Object.entries(t.modelState);n<r.length;n++){var i=r[n],a=i[0],s=i[1];void 0===e.model.state[a]&&(e.model.state[a]=s)}return e},d=function(e,t){return function(n){var r="function"==typeof n?n(t):n;a().equals(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},f=function(e,t){if("string"!=typeof e)return"";var n=a().stringEvaluate("`"+e+"`",t);return n.error?(console.warn("Given message template could not be proceed:",n.error),""):n.result},p=function(e,t,n){void 0===n&&(n=!0);for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];t="on"+a().stringCapitalize(t),e[t]&&(n?e[t].apply(e,o):a().timeout((function(){return e[t].apply(e,o)})))},h=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0],l=o[1];l===s.UndefinedSymbol?t[i]=void 0:l===s.NullSymbol?t[i]=null:t[i]=a().copy(e[i])}return t};function m(e,t,n,r,i){if("string"==typeof e.representation)return e.representation;if(null!==n){var s,u=function(e,t){if(t)for(var n,r=l(t);!(n=r()).done;){var o=n.value;if(a().equals(null==o?void 0:o.value,e))return o.label||""+e}return null}(n,i);return"string"==typeof u?u:T(o()({},e,{type:e.type||(null==(s=e.model)?void 0:s.type)||t.model.type}),n,r)}return""}var v=function(e,t,n){var r,o;return void 0!==n?n:void 0!==e.value?e.value:void 0!==(null==(r=e.model)?void 0:r.value)?e.model.value:void 0!==e.initialValue?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?a().copy(e.model.default):void 0!==t?t:null},_=function(e,t,n){void 0===n&&(n={});var r=!1;n=o()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},n),e.model.state=e.model.state||{};for(var i=0,a=Object.entries(n);i<a.length;i++){var s=a[i],l=s[0],u=s[1],c=t[l];e.model.state[l]=u(),r=r||c!==t[l]}return r&&(e.model.state.invalid=Object.keys(n).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),r},g=function(e,t){var n=a().extend(!0,{model:a().copy(t)},e);n.disabled&&(n.model.mutable=!1,delete n.disabled),n.invertedPattern&&(n.model.invertedPattern=n.invertedPattern,delete n.invertedPattern),n.pattern&&(n.model.pattern=n.pattern,delete n.pattern),n.required&&(n.model.nullable=!1,delete n.required),"text"===n.type&&(n.type="string");for(var r,o=l(Object.keys(n.model).concat("value"));!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(n,i)&&void 0!==n[i]&&(n.model[i]=n[i])}for(var s in n.model.state)Object.prototype.hasOwnProperty.call(n,s)&&void 0!==n[s]&&(n.model.state[s]=n[s]);return void 0===n.model.value&&(n.model.value=a().copy(n.model.default)),n},y=function(e){var t=o()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t};function b(e){if(Array.isArray(e)){for(var t,n=[],r=[],o=l(e);!(t=o()).done;){var i=t.value;"string"==typeof(null==i?void 0:i.label)&&(n.push(i.label),r.push(i.value))}return[n,r]}return[[],[]]}function E(e,t){if(Array.isArray(t))for(var n,r=l(t);!(n=r()).done;){var o=n.value;if("string"==typeof(null==o?void 0:o.label)&&o.label===e)return o.value;if(["number","string"].includes(typeof(null==o?void 0:o.value))&&""+o.value===e)return o.value}return null}function x(e,t){if(e||(e=t,t=void 0),!e)return e;var n=null!==t&&"object"==typeof t,r=function(e,r){if(n)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var o,i=l(t);!(o=i()).done;){var a=o.value,s=a[0],u=a[1];if(s===e)return u}else if("number"==typeof r&&r<t.length)return t[r]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},i=!1;if(Array.isArray(e)){if(i=!0,e.length){var a=[],s=0;if(Array.isArray(e[0]))for(var u=0,c=e;u<c.length;u++){var d,f=c[u],p=f[0],h=f[1];a.push({label:null!==(d=r(p,s))&&void 0!==d?d:h,value:p}),s+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var m,v=l(e);!(m=v()).done;){var _,g=m.value;a.push(o()({},g,{label:null!==(_=r(g.value,s))&&void 0!==_?_:g.label})),s+=1}else for(var y=0,b=e;y<b.length;y++){var E,x=b[y];a.push({label:null!==(E=r(x,s))&&void 0!==E?E:x,value:x}),s+=1}e=a}}else{for(var C=[],T=0,I=Object.keys(e);T<I.length;T++){var S,A=I[T];C.push({label:null!==(S=r(A))&&void 0!==S?S:e[A],value:A})}e=C}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var O,w=new Map,L=0,P=l(t);!(O=P()).done;){var N=O.value[0];w.set(N,L),L+=1}e=e.sort((function(e,t){var n,r,o=e.value,i=t.value;return(null!==(n=w.get(o))&&void 0!==n?n:0)-(null!==(r=w.get(i))&&void 0!==r?r:0)}))}else i||(e=e.sort((function(e,t){var n=e.label,r=t.label;return n.localeCompare(r)})));return e}var C=function(e,t,n){var r;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var o=t;return![null,void 0].includes(t)&&null!=(r=n[e.model.type])&&r.parse&&(o=n[e.model.type].parse(t,n,e)),"number"==typeof o&&isNaN(o)?null:o};function T(e,t,n,r){var o;void 0===r&&(r=!0);var i=r?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(o=n[e.type||e.model.type])?void 0:o.format;if(a){var s,l,u=(null==(s=a[i])?void 0:s.transform)||(null==(l=a.final)?void 0:l.transform);if(u)return u(t,n,e)}return String(t)}},function(e,t,n){n.d(t,{TextInput:function(){return te},default:function(){return ne}});var r,o,i,a=n(1),s=n.n(a),l=n(3),u=n.n(l),c=n(2),d=n(19),f=n.n(d),p=n(18),h=n(22),m=n(20),v=n(21),_=n(23),g=n(24),y=n(25),b=n(4),E=n(7),x=n(5),C=n(10),T=n(9),I=n(16),S=n.n(I),A=n(17),O=n.n(A),w=n(6),L=n.n(w),P=n(26),N=!(void 0===window),k=N&&P.Editor?P.Editor:L(),R=N?null==(r=n(27))?void 0:r.default:null,D=N?null==(o=n(28))?void 0:o.default:null,M=N?null==(i=n(29))?void 0:i.default:null,F={"text-input":"text-input","mdc-text-field-helper-text":"mdc-text-field-helper-text","text-input--custom":"text-input--custom",ace_editor:"ace_editor","tox-tinymce":"tox-tinymce","text-input__editor__label":"text-input__editor__label","text-input__suggestions":"text-input__suggestions","text-input__suggestions--pending":"text-input__suggestions--pending","text-input__suggestions__suggestion":"text-input__suggestions__suggestion","text-input__suggestions__suggestion__mark":"text-input__suggestions__suggestion__mark"},j="/ace-builds/src-min-noconflict/",B={basePath:j,modePath:j,themePath:j,workerPath:j,useWorker:!1},U=(0,c.lazy)(S()(O().mark((function e(){var t,r,o,i,a,s,l;return O().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.t.bind(n,30,23));case 2:for(t=e.sent,r=t.config,o=0,i=Object.entries(B);o<i.length;o++)a=i[o],s=a[0],l=a[1],r.set(s,l);return e.next=7,Promise.resolve().then(n.t.bind(n,31,23));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))),V="/tinymce/",H={base_url:V,skin_url:V+"skins/ui/oxide",theme_url:V+"themes/silver/theme.min.js",allow_conditional_comments:!1,allow_script_urls:!1,body_class:"mdc-text-field__input",branding:!1,cache_suffix:"?version=1708968957.622",contextmenu:[],document_base_url:"/",element_format:"xhtml",entity_encoding:"raw",fix_list_elements:!0,hidden_input:!1,icon:"material",invalid_elements:"em",invalid_styles:"color font-size line-height",keep_styles:!1,menubar:!1,plugins:["fullscreen","link","code","nonbreaking","searchreplace","visualblocks"],relative_urls:!1,remove_script_host:!1,remove_trailing_brs:!0,schema:"html5",toolbar1:"\n cut copy paste |\n undo redo removeformat |\n styleselect formatselect fontselect fontsizeselect |\n searchreplace visualblocks fullscreen code\n ".trim(),toolbar2:"\n alignleft aligncenter alignright alignjustify outdent indent |\n link nonbreaking bullist numlist bold italic underline strikethrough\n ".trim(),trim:!0};function $(e,t){return(0,C.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&Boolean(e.model.invertedPattern)&&[].concat(e.model.invertedPattern).some((function(t){return new RegExp(t).test(e.model.value)}))},invalidPattern:function(){return"string"==typeof e.model.value&&Boolean(e.model.pattern)&&[].concat(e.model.pattern).some((function(t){return!new RegExp(t).test(e.model.value)}))}})}function q(e){"Enter"===e.code&&e.stopPropagation()}function W(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every((function(t){return e.includes(t)})))}var z=function(e){return e===1/0?"Infinitely far in the future":e===-1/0?"Infinitely early in the past":isFinite(e)?null:""},K=function(e){return new Date(Math.round(1e3*e)).toISOString()},G=function(e){return e instanceof Date?e.getTime()/1e3:e},X={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,t){var n,r,o,i=t.currency.format,a=null!==(n=null==i||null==(r=i.final.options)?void 0:r.currency)&&void 0!==n?n:"USD";return e===1/0?"Infinity "+a:e===-1/0?"- Infinity "+a:isNaN(e)?"unknown":new Intl.NumberFormat(te.locales,s()({style:"currency"},null!==(o=null==i?void 0:i.final.options)&&void 0!==o?o:{})).format(e)}}},parse:function(e,t,n){return t.float.parse?t.float.parse(e,t,n):NaN},type:"text"},datetime:{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t.datetime.parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=K(e);return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=G(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3)}return isNaN(e)&&(e=0),n?K(e):e},type:"datetime-local"},"datetime-local":{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t["datetime-local"].parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=K(e+60*(new Date).getTimezoneOffset());return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=G(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3-60*(new Date).getTimezoneOffset())}return isNaN(e)&&(e=0),n?K(e):e}},date:{format:{final:{transform:function(e,t,n){var r=t.datetime.format.final.transform(e,t,n),o=r.indexOf("T");return-1===o?r:r.substring(0,o)}}},parse:function(e,t,n){return t.datetime.parse(e,t,n)},useISOString:!0},"date-local":{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t["datetime-local"].parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;e-=60*(new Date).getTimezoneOffset();var o=K(e);return o.substring(0,o.lastIndexOf("T"))}}},parse:function(e,t,n){return(e=t.datetime.parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n))%(24*Math.pow(60,2))==0&&(e+=60*(new Date).getTimezoneOffset()),t.date.useISOString?K(e):e},type:"date"},time:{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t.datetime.parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=K(e),i=o.indexOf("T");return-1===i?o:(o=o.substring(i+1,o.length-1),n.step&&n.step>=60&&n.step%60==0?o.substring(0,o.lastIndexOf(":")):o)}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=G(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o,i){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(n)+(r?parseFloat(o):0))})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?K(e):e}},"time-local":{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t["time-local"].parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=new Date(1e3*e),i=o.getHours(),a=o.getMinutes(),l=(i<10?"0":"")+String(i)+":"+(a<10?"0":"")+String(a);if(!(n.step&&n.step>=60&&n.step%60==0)){var u=o.getSeconds();return l+":"+(u<10?"0":"")+String(u)}return l}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=G(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o,i){var a=new Date(0);return a.setHours(parseInt(t)),a.setMinutes(parseInt(n)),r&&a.setSeconds(parseInt(o)),String(a.getTime()/1e3)})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?K(e):e},type:"time"},float:{format:{final:{transform:function(e,t){var n=t.float.format;return n?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(te.locales,n.final.options||{}).format(e):""+e}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseFloat("de-DE"===te.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,t){var n,r=t.integer.format;return new Intl.NumberFormat(te.locales,s()({maximumFractionDigits:0},null!==(n=null==r?void 0:r.final.options)&&void 0!==n?n:{})).format(e)}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseInt("de-DE"===te.locales[0]?e.replace(/[,.]/g,""):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}},Y=n(0);function Q(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 J(e,t);var n=Object.prototype.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)?J(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 J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Z=!1,ee=function(e,t){var n,r,o,i,a,l,d,T,I,S=(0,c.useId)(),A=null!==(n=e.id)&&void 0!==n?n:S;(0,c.useEffect)((function(){if(Ke||be.selectionIsUnstable)if(Ge.editorIsActive){var e,t;null!=(e=ie.current)&&null!=(e=e.editor)&&e.selection?(ie.current.editor.textInput.focus(),V(ie.current),be.selectionIsUnstable&&Ee(s()({},be,{selectionIsUnstable:!1}))):null!=(t=ce.current)&&t.selection&&(ce.current.focus(!1),z(ce.current),be.selectionIsUnstable&&Ee(s()({},be,{selectionIsUnstable:!1})))}else le.current&&(le.current.setSelectionRange(Ge.cursor.start,Ge.cursor.end),be.selectionIsUnstable&&Ee(s()({},be,{selectionIsUnstable:!1})))})),(0,c.useEffect)((function(){if(le.current){var e={},t=[];Ge.valid?(t.push("ariaErrormessage"),t.push("ariaInvalid")):(e.ariaErrormessage=A+"-error-message",e.ariaInvalid="true"),rt?("search"!==le.current.getAttribute("type")&&(e.role="searchbox"),e.ariaAutocomplete=Ge.searchSelection?"inline":"list"):(t.push("searchbox"),t.push("ariaAutocomplete")),Ge.showDeclaration?e.ariaDescribedby=A+"-declaration":t.push("ariaDescribedby");for(var n=s()({},e,Ge.inputProps||{}),r=0,o=Object.entries(n);r<o.length;r++){var i=o[r],a=i[0],l=i[1],c=u().stringCamelCaseToDelimited(a);"boolean"==typeof l?l?le.current.setAttribute(c,""):le.current.removeAttribute(c):le.current.setAttribute(c,String(l))}for(var d=0,f=t;d<f.length;d++){var p=f[d],h=u().stringCamelCaseToDelimited(p);le.current.hasAttribute(h)&&le.current.removeAttribute(h)}}})),(0,c.useEffect)((function(){if(ct){var e,t=null==(e=he.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){t.hasAttribute("aria-expanded")||t.setAttribute("aria-expanded","false");var n=t.querySelector(".mdc-select__dropdown-icon-active");n&&!n.hasAttribute("aria-hidden")&&n.setAttribute("aria-hidden","true");var r=t.querySelector(".mdc-select__dropdown-icon-inactive");r&&!r.hasAttribute("aria-hidden")&&r.setAttribute("aria-hidden","true")}}})),(0,c.useEffect)((function(){if(ct){var e,t=null==(e=he.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){var n=function(e){Ge.disabled&&e.stopPropagation()};return t.addEventListener("keydown",n,!0),function(){t.removeEventListener("keydown",n,!0)}}}})),(0,c.useEffect)((function(){Ge.triggerInitialPropertiesConsolidation&&G(new Event("genericInitialPropertiesConsolidation"))}),[]);var O=function(e){if("clear_preset"===e){var t=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),X((0,C.parseValue)(Ge,Ge.default,te.transformer)))},n=u().equals(Ge.value,Ge.default);return{icon:(0,Y.jsx)(f(),{in:!n,children:R&&!R.isDummy&&M?(0,Y.jsx)(R,{animation:M,reverse:!0}):(0,Y.jsx)(m.Icon,{icon:"clear"})}),"aria-hidden":n?"true":"false",onClick:t,onKeyDown:t,tabIndex:n?-1:0,strategy:"component",tooltip:"Clear input"}}if("password_preset"===e){var r=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),Te((function(t){return void 0===t&&(t=Ge.hidden),Ge.hidden=!t,G(e),Ge.hidden})))};return{icon:R&&!R.isDummy&&D?(0,Y.jsx)(R,{animation:D,reverse:!Ge.hidden}):Ge.hidden?"lock_open":"lock",onClick:r,onKeyDown:r,strategy:"component",tooltip:(Ge.hidden?"Show":"Hide")+" password"}}return e&&("string"==typeof e&&(e={icon:e}),Object.prototype.hasOwnProperty.call(e,"onClick")||(e.tabIndex=-1,e["aria-hidden"]=!0)),e},w=function(e){var t,n;return"string"===e.type?e.hidden?"password":rt?"search":"text":null!==(t=null==(n=Re[e.type])?void 0:n.type)&&void 0!==t?t:e.type},L=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=!0),"boolean"==typeof t?n?(0,Y.jsx)(f(),{in:t,children:e}):t?e:"":n?(0,Y.jsx)(f(),s()({},t,{children:e})):t.in?e:""},P=function(e){var t;if("object"==typeof e&&null!=(t=e)&&t.tooltip){var n=e.tooltip;delete(e=s()({},e)).tooltip;var r=s()({},e);e.strategy="component",e.icon=(0,Y.jsx)(x.default,{options:n,children:(0,Y.jsx)(m.Icon,{icon:r})})}return e},N=function(e,t,n){if(!Ge.value)return 0;var r="text-input-selection-indicator",o=" "+r+'="###"';t.setAttribute(r,"###");var i=e.innerHTML.replace(/(<\/p>)/gi,"$1\n");t.removeAttribute(r);var a=i.indexOf(o)+37;return n+i.indexOf(">",a)+1-37},j=function(e,t){return"string"==typeof Ge.value||Ge.value?t>0?e+Ge.value.split("\n").slice(0,t).map((function(e){return 1+e.length})).reduce((function(e,t){return e+t})):e:0},B=function(e){var t={column:0,row:0};if("string"==typeof Ge.value)for(var n,r=Q(Ge.value.split("\n"));!(n=r()).done;){var o=n.value;if(!(o.length<e)){t.column=e;break}e-=1+o.length,t.row+=1}return t},V=function(e){var t=e.editor.selection.getRange(),n=B(Ge.cursor.end);t.setEnd(n.row,n.column);var r=B(Ge.cursor.start);t.setStart(r.row,r.column),e.editor.selection.setRange(t)},z=function(e){for(var t={end:"###text-input-selection-indicator-end###",start:"###text-input-selection-indicator-start###"},n={end:Ge.cursor.end+t.start.length,start:Ge.cursor.start},r=["start","end"],o=Ge.representation,i=0,a=r;i<a.length;i++){var s=a[i];o=o.substring(0,n[s])+t[s]+o.substring(n[s])}e.getBody().innerHTML=o;for(var l,c=document.createTreeWalker(e.getBody(),NodeFilter.SHOW_TEXT,null),d=e.dom.createRng(),f={};l=c.nextNode();)for(var p,h=Q(r);!(p=h()).done;){var m=p.value;if(l.nodeValue){var v=l.nodeValue.indexOf(t[m]);v>-1&&(l.nodeValue=l.nodeValue.replace(t[m],""),f[m]=[l,v])}}for(var _=0,g=r;_<g.length;_++){var y=g[_];f[y]&&d["set"+u().stringCapitalize(y)].apply(d,f[y])}f.end&&f.start&&e.selection.setRng(d)},K=function(e){var t=(0,C.getConsolidatedProperties)(function(e){var t=(0,C.mapPropertiesIntoModel)(e,te.defaultProperties.model);return t.model.value=(0,C.parseValue)(t,t.model.value,Re),$(t,t.model.state),t}(e));return t.selection||"boolean"!==t.type||(t.selection=[{label:"No",value:!1},{label:"Yes",value:!0}]),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,C.formatValue)(t,t.value,Re,!t.focused),t.focused&&t.representation!==t.value&&["password","text"].includes(w(t))&&(Ke=!0)),t},G=function(e){u().extend(!0,Ge,K(Ge)),(0,C.triggerCallbackIfExists)(Ge,"change",We,Ge,e)},X=function(e,t,n){var r;if(void 0===n&&(n=-1),Ae(!0),null!==e&&"object"==typeof e){var o=e.target||e.detail;Ge.value=o?void 0===o.value?null:o.value:e}else Ge.value=e;var i=function(){return qe((function(e){if(!ze&&e.representation===Ge.representation&&!Ge.suggestionCreator&&-1===n)return e;var t=s()({},e,{representation:Ge.representation});if(!We&&u().equals(e.value,Ge.value))return t;t.value=Ge.value;var o=!1;return e.modelState.pristine&&(Ge.dirty=!0,Ge.pristine=!1,o=!0),G(r),$(Ge,e.modelState)&&(o=!0),(0,C.triggerCallbackIfExists)(Ge,"changeValue",We,Ge.value,r,Ge),o&&(t.modelState=Ge.model.state,(0,C.triggerCallbackIfExists)(Ge,"changeState",We,Ge.model.state,r,Ge)),(ct||-1!==n)&&(0,C.triggerCallbackIfExists)(Ge,"select",We,r,Ge),t}))};if(Ge.representation=-1!==n?tt[n]:"string"==typeof Ge.value?Ge.value:(0,C.formatValue)(Ge,Ge.value,Re),rt)if(Ge.suggestionCreator){var a=new AbortController,l=function(e){if(!a.signal.aborted){if(Fe((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===n){var t=(0,C.getValueFromSelection)(Ge.representation,(0,C.normalizeSelection)(e));null!==t||Ge.searchSelection?Ge.value=t:Ge.value=(0,C.parseValue)(Ge,Ge.representation,Re)}i()}},c=Ge.suggestionCreator({abortController:a,properties:Ge,query:Ge.representation});null!=c&&c.then?(Fe((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),a})),qe((function(e){return s()({},e,{representation:Ge.representation})})),c.then(l,u().noop)):l(c)}else{if(-1===n){var d=(0,C.getValueFromSelection)(Ge.representation,je);null!==d||Ge.searchSelection?Ge.value=d:Ge.value=(0,C.parseValue)(Ge,Ge.representation,Re)}i()}else Ge.value=(0,C.parseValue)(Ge,Ge.value,Re),i()},J=function(e){re(e),(0,C.triggerCallbackIfExists)(Ge,"click",We,e,Ge),oe(e)},ee=function(e){(0,C.triggerCallbackIfExists)(Ge,"focus",We,e,Ge),oe(e)},ne=function(e){e.code&&(re(e),(0,C.triggerCallbackIfExists)(Ge,"keyUp",We,e,Ge))},re=function(e){!function(e){var t,n,r,o,i=null==(t=ie.current)||null==(t=t.editor)||null==(t=t.selection)?void 0:t.getRange(),a=null==(n=ce.current)||null==(n=n.selection)?void 0:n.getRng(),s=null==(r=le.current)?void 0:r.selectionEnd,l=null==(o=le.current)?void 0:o.selectionStart;if(i)ge({end:j(i.end.column,"number"==typeof i.end.row?i.end.row:"string"==typeof Ge.value?Ge.value.split("\n").length-1:0),start:j(i.start.column,"number"==typeof i.start.row?i.start.row:"string"==typeof Ge.value?Ge.value.split("\n").length-1:0)});else if(a)ge({end:N(ce.current.getBody(),ce.current.selection.getEnd(),a.endOffset),start:N(ce.current.getBody(),ce.current.selection.getStart(),a.startOffset)});else if("number"==typeof s&&"number"==typeof l){var u,c=1===(null==e||null==(u=e.key)?void 0:u.length)?1:"Backspace"===(null==e?void 0:e.key)&&Ge.representation.length>l?-1:0;ge({end:s+c,start:l+c})}}(e),(0,C.triggerCallbackIfExists)(Ge,"selectionChange",We,e,Ge)},oe=function(e){return qe((function(t){var n=!1;t.modelState.focused||(Ge.focused=!0,n=!0),t.modelState.untouched&&(Ge.touched=!0,Ge.untouched=!1,n=!0);var r=t;return n&&(G(e),r=s()({},t,{modelState:Ge.model.state}),(0,C.triggerCallbackIfExists)(Ge,"changeState",We,Ge.model.state,e,Ge)),(0,C.triggerCallbackIfExists)(Ge,"touch",We,e,Ge),r}))},ie=(0,c.useRef)(null),ae=(0,c.useRef)(null),se=(0,c.useRef)(null),le=(0,c.useRef)(null),ue=(0,c.useRef)(null),ce=(0,c.useRef)(null),de=(0,c.useRef)(null),fe=(0,c.useRef)(null),pe=(0,c.useRef)(null),he=(0,c.useRef)(null),me=(0,C.translateKnownSymbols)(e),ve=(0,c.useState)({end:0,start:0}),_e=ve[0],ge=ve[1],ye=(0,c.useState)({editorIsActive:!1,selectionIsUnstable:!1}),be=ye[0],Ee=ye[1],xe=(0,c.useState)(),Ce=xe[0],Te=xe[1],Ie=(0,c.useState)(!1),Se=Ie[0],Ae=Ie[1],Oe=(0,c.useState)(!1),we=Oe[0],Le=Oe[1],Pe=(0,C.determineInitialValue)(me,null==(r=te.defaultProperties.model)?void 0:r.default);Pe instanceof Date&&(Pe=Pe.getTime()/1e3);var Ne=u().extend(!0,u().copy(te.defaultProperties),me),ke=Ne.type||(null==(o=Ne.model)?void 0:o.type)||"string",Re=Ne.transformer?s()({},te.transformer,((i={})[ke]=u().extend(!0,u().copy(te.transformer[ke])||{},Ne.transformer),i)):te.transformer,De=(0,c.useState)(),Me=De[0],Fe=De[1];(Ne.selection||null!=(a=Ne.model)&&a.selection)&&(Me=Ne.selection||(null==(l=Ne.model)?void 0:l.selection));var je=Me instanceof AbortController?[]:(0,C.normalizeSelection)(Me,Ne.labels),Be=Me instanceof AbortController?[[],[]]:(0,C.getLabelAndValues)(je),Ue=Be[0],Ve=Be[1],He=(0,c.useState)((function(){return{modelState:s()({},te.defaultModelState),representation:(0,C.determineInitialRepresentation)(Ne,te.defaultProperties,Pe,Re,je),value:Pe}})),$e=He[0],qe=He[1],We=!Ne.enforceUncontrolled&&(void 0!==(null==(d=me.model)?void 0:d.value)||void 0!==me.value)&&Boolean(me.onChange||me.onChangeValue),ze=We&&void 0!==me.representation,Ke=!1;null!==Ne.cursor&&"object"==typeof Ne.cursor||(Ne.cursor={}),void 0===Ne.cursor.end&&(Ne.cursor.end=_e.end),void 0===Ne.cursor.start&&(Ne.cursor.start=_e.start),void 0===Ne.editorIsActive&&(Ne.editorIsActive=be.editorIsActive),void 0===Ne.hidden&&(Ne.hidden=Ce),void 0===Ne.representation&&(Ne.representation=$e.representation),void 0===Ne.showDeclaration&&(Ne.showDeclaration=we),(0,C.deriveMissingPropertiesFromState)(Ne,$e),void 0===Ne.value?void 0===Ne.representation&&void 0===Ne.model.value&&(Ne.representation=$e.representation):ze||Ne.value===$e.value||(Ne.representation=void 0);var Ge=K(Ne);void 0===Ge.hidden&&(Ge.hidden=null==(T=Ge.name)?void 0:T.startsWith("password")),u().equals(Ge.cursor,_e)||ge(Ge.cursor),Ge.editorIsActive!==be.editorIsActive&&Ee(s()({},be,{editorIsActive:Ge.editorIsActive})),Ge.hidden!==Ce&&Te(Ge.hidden),Ge.showDeclaration!==we&&Le(Ge.showDeclaration);var Xe={modelState:Ge.model.state,representation:Ge.representation,value:Ge.value};(We||u().equals(Ge.value,$e.value)&&Ge.representation===$e.representation)&&u().equals(Ge.model.state,$e.modelState)||qe(Xe),We&&(qe=(0,C.wrapStateSetter)(qe,Xe)),(0,c.useImperativeHandle)(t,(function(){for(var e,t={modelState:Ge.model.state},n=Q(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=n()).done;){var r=e.value;Object.prototype.hasOwnProperty.call(me,r)||(t[r]=Ge[r])}return ze||(t.representation=Ge.representation),We||(t.value=Ge.value),{properties:Ge,references:{codeEditorReference:ie,codeEditorInputReference:ae,foundationReference:se,inputReference:le,richTextEditorInputReference:ue,richTextEditorInstance:ce,richTextEditorReference:de,suggestionMenuAPIReference:fe,suggestionMenuFoundationReference:pe,wrapperReference:he},state:t}}));var Ye={id:A,onFocus:function(e){Ae(!0),ee(e)},placeholder:Ge.placeholder},Qe={disabled:Ge.disabled,helpText:{children:(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(f(),{in:Ge.selectableEditor&&"string"===Ge.type&&"plain"!==Ge.editor,children:(0,Y.jsx)(v.IconButton,{icon:{"aria-label":Ge.editorIsActive?"plain":Ge.editor.startsWith("code")?"code":"richtext",icon:Ge.editorIsActive?"subject":Ge.editor.startsWith("code")?"code":"text_format",onClick:function(e){e&&(e.preventDefault(),e.stopPropagation()),Ee((function(t){var n=t.editorIsActive;return Ge.editorIsActive=!n,G(e),(0,C.triggerCallbackIfExists)(Ge,"changeEditorIsActive",We,Ge.editorIsActive,e,Ge),{editorIsActive:Ge.editorIsActive,selectionIsUnstable:!0}}))}}})}),(0,Y.jsx)(f(),{in:Boolean(Ge.declaration),children:(0,Y.jsx)(v.IconButton,{"aria-expanded":Ge.showDeclaration?"true":"false","aria-label":"declaration",checked:Ge.showDeclaration,icon:"more_horiz",onIcon:"more_vert",onChange:function(e){Le((function(t){return Ge.showDeclaration=!t,G(e),(0,C.triggerCallbackIfExists)(Ge,"changeShowDeclaration",We,Ge.showDeclaration,e,Ge),Ge.showDeclaration}))}})}),(0,Y.jsx)(f(),{id:A+"-declaration",in:Ge.showDeclaration,children:Ge.declaration}),(0,Y.jsx)(f(),{in:!Ge.showDeclaration&&Ge.invalid&&Ge.showValidationState&&(Ge.showInitialValidationState||Ge.visited),children:(0,Y.jsx)(b.Theme,{use:"error",wrap:!0,children:(0,Y.jsx)("span",{id:A+"-error-message",children:(0,C.renderMessage)(Ge.invalidMaximum&&Ge.maximumText||Ge.invalidMaximumLength&&Ge.maximumLengthText||Ge.invalidMinimum&&Ge.minimumText||Ge.invalidMinimumLength&&Ge.minimumLengthText||Ge.invalidInvertedPattern&&Ge.invertedPatternText||Ge.invalidPattern&&Ge.patternText||Ge.invalidRequired&&Ge.requiredText,s()({formatValue:function(e){return(0,C.formatValue)(Ge,e,Re)}},Ge))})})})]}),persistent:Boolean(Ge.declaration)},invalid:Ge.invalid&&Ge.showValidationState&&(Ge.showInitialValidationState||Ge.visited),label:Ge.description||Ge.name,outlined:Ge.outlined};Ge.icon&&(Qe.icon=P(O(Ge.icon)));var Je=s()({},H,{content_style:Ge.disabled?"body {opacity: .38}":"",placeholder:Ge.placeholder,readonly:Boolean(Ge.disabled),setup:function(e){ce.current=e,ce.current.on("init",(function(){ce.current&&(Z=!0,Ge.editorIsActive&&be.selectionIsUnstable&&(ce.current.focus(!1),z(ce.current),Ee(s()({},be,{selectionIsUnstable:!1}))))}))}});Ge.editor.endsWith("raw)")?(Je.toolbar1="cut copy paste | undo redo removeformat | code | fullscreen",delete Je.toolbar2):Ge.editor.endsWith("simple)")?(Je.toolbar1="cut copy paste | undo redo removeformat | bold italic underline strikethrough subscript superscript | fullscreen",delete Je.toolbar2):Ge.editor.endsWith("normal)")&&(Je.toolbar1="cut copy paste | undo redo removeformat | styleselect formatselect | searchreplace visualblocks fullscreen code");var Ze=!Ge.selection&&"string"===Ge.type&&Ge.editorIsActive&&(Ge.editor.startsWith("code")||Ge.editor.startsWith("richtext(")),et=[],tt=[],nt=[],rt=Boolean(Ge.suggestionCreator||Ue.length&&(Ge.searchSelection||Ge.suggestSelection));if(rt&&Ue.length){Ge.suggestSelection=!Ge.searchSelection;for(var ot,it=0,at=Q(Ue);!(ot=at()).done;){var st=ot.value;if(u().isFunction(Ge.children)){var lt=Ge.children({index:it,normalizedSelection:je,properties:Ge,query:Ge.representation,suggestion:st,value:Ve[it]});lt&&(et.push((0,Y.jsx)(_.MenuItem,{className:F["text-input__suggestions__suggestion"],children:lt},it)),tt.push(st),nt.push(Ve[it]))}else if(!Ge.representation||Ge.suggestionCreator||W(st,Ge.representation)){var ut;et.push((0,Y.jsx)(_.MenuItem,{className:F["text-input__suggestions__suggestion"],children:u().stringMark(st,(null==(ut=Ge.representation)?void 0:ut.split(" "))||"",{marker:function(e){return(0,Y.jsx)("span",{className:F["text-input__suggestions__suggestion__mark"],children:e})},normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:null}).map((function(e,t){return(0,Y.jsx)("span",{children:e},t)}))},it)),tt.push(st),nt.push(Ve[it])}it+=1}}var ct=(Boolean(je)||Boolean(Ge.labels))&&!rt,dt={};return"number"===Ge.type?(dt.step=Ge.step,Ge.maximum!==1/0&&(dt.max=Ge.maximum),Ge.minimum!==-1/0&&(dt.min=Ge.minimum)):"string"===Ge.type?(Ge.maximumLength>=0&&Ge.maximumLength!==1/0&&(dt.maxLength=Ge.maximumLength),Ge.minimumLength>0&&(dt.minLength=Ge.minimumLength),"plain"!==Ge.editor&&(dt.rows=Ge.rows)):["date","date-local","datetime","datetime-local","time","time-local"].includes(Ge.type)&&(dt.step=Ge.step,Ge.maximum!==1/0&&(dt.max=(0,C.formatValue)(Ge,Ge.maximum,Re)),Ge.minimum!==-1/0&&(dt.min=(0,C.formatValue)(Ge,Ge.minimum,Re))),(0,Y.jsx)(E.default,{strict:te.strict,themeConfiguration:Ge.themeConfiguration,tooltip:Ge.tooltip,children:(0,Y.jsxs)("div",s()({className:[F["text-input"]].concat(Ze?F["text-input--custom"]:[],null!==(I=Ge.className)&&void 0!==I?I:[]).join(" "),onBlur:function(e){return qe((function(t){var n;if(e.relatedTarget&&null!=(n=he.current)&&n.contains(e.relatedTarget))return t;Ae(!1);var r=!1,o=!1;if(t.modelState.focused&&(Ge.focused=!1,r=!0,o=!0),t.modelState.visited||(Ge.visited=!0,r=!0,o=!0),!rt||Ge.suggestSelection){var i=(0,C.getValueFromSelection)(Ge.representation,je);null===i?(Ge.value=(0,C.parseValue)(Ge,Ge.value,Re),Ge.representation=(0,C.formatValue)(Ge,Ge.value,Re)):Ge.value=i}return u().equals(t.value,Ge.value)&&t.representation===Ge.representation||(r=!0),r&&G(e),u().equals(t.value,Ge.value)||(0,C.triggerCallbackIfExists)(Ge,"changeValue",We,Ge.value,e,Ge),o&&(0,C.triggerCallbackIfExists)(Ge,"changeState",We,Ge.model.state,e,Ge),(0,C.triggerCallbackIfExists)(Ge,"blur",We,e,Ge),r?{modelState:Ge.model.state,representation:Ge.representation,value:Ge.value}:t}))},onKeyDown:function(e){var t;!Ge.disabled&&rt&&"ArrowDown"===e.code&&e.target===le.current&&(null==(t=fe.current)||t.focusItemAtIndex(0)),(ct||"string"===Ge.type&&"plain"!==Ge.editor)&&q(e),(0,C.triggerCallbackIfExists)(Ge,"keyDown",We,e,Ge)},ref:he,style:Ge.styles},rt?{role:"search"}:{},{children:[L((0,Y.jsx)(g.Select,s()({},Ye,Qe,{enhanced:!0,foundationRef:se,inputRef:le,onChange:X,onKeyDown:function(e){Ge.disabled||"Tab"===e.code||e.preventDefault()},options:je,rootProps:s()({name:Ge.name,onClick:J},Ge.rootProps),value:""+Ge.value},Ge.inputProperties)),ct),L([(0,Y.jsx)(h.FormField,{className:["mdc-text-field"].concat(Ge.disabled?"mdc-text-field--disabled":[],"mdc-text-field--textarea").join(" "),onKeyDown:q,children:(0,Y.jsxs)("label",{children:[(0,Y.jsx)("span",{className:[F["text-input__editor__label"]].concat("mdc-floating-label","mdc-floating-label--float-above").join(" "),children:(0,Y.jsx)(b.Theme,{use:Ge.invalid&&Ge.showValidationState&&(Ge.showInitialValidationState||Ge.visited)?"error":void 0,children:(Ge.description||Ge.name)+(Ge.required?"*":"")})}),Ge.editor.startsWith("code")?(0,Y.jsx)(c.Suspense,{fallback:(0,Y.jsx)(p.CircularProgress,{size:"large"}),children:(0,Y.jsx)(U,s()({},Ye,{className:"mdc-text-field__input",mode:Ge.editor.startsWith("code(")&&Ge.editor.endsWith(")")?Ge.editor.substring(5,Ge.editor.length-1):"javascript",name:Ge.name,onChange:X,onCursorChange:re,onSelectionChange:re,ref:function(e){var t;ie.current=e,null!=(t=ie.current)&&null!=(t=t.editor)&&null!=(t=t.container)&&t.querySelector("textarea")&&(ae.current=ie.current.editor.container.querySelector("textarea")),ie.current&&Ge.editorIsActive&&be.selectionIsUnstable&&(ie.current.editor.textInput.focus(),V(ie.current),Ee(s()({},be,{selectionIsUnstable:!1})))},setOptions:{maxLines:Ge.rows,minLines:Ge.rows,readOnly:Ge.disabled,tabSize:4,useWorker:!1},theme:"github",value:Ge.representation},Ge.inputProperties))}):(0,Y.jsx)(k,s()({},Ye,{disabled:Ge.disabled,init:Je,onClick:J,onEditorChange:X,onKeyUp:ne,ref:function(e){de.current=e},textareaName:Ge.name,tinymceScriptSrc:H.base_url+"tinymce.min.js",value:Ge.representation},Ge.inputProperties))]})},"advanced-editor-form-field"),(0,Y.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,Y.jsx)("p",{className:"mdc-text-field-helper-text mdc-text-field-helper-text--persistent",id:A+"-error-message",children:Qe.helpText.children})},"advanced-editor-helper-line")],Ze,Z||Ge.editor.startsWith("code")),L((0,Y.jsxs)("div",{children:[rt?(0,Y.jsx)(_.MenuSurfaceAnchor,{onKeyDown:q,children:Me instanceof AbortController?(0,Y.jsx)(_.MenuSurface,{anchorCorner:"bottomLeft",className:F["text-input__suggestions"]+" "+F["text-input__suggestions--pending"],open:!0,children:(0,Y.jsx)(p.CircularProgress,{size:"large"})}):(0,Y.jsx)(_.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){fe.current=e},className:F["text-input__suggestions"],focusOnOpen:!1,foundationRef:pe,onFocus:ee,onSelect:function(e){X(nt[e.detail.index],void 0,e.detail.index),Ae(!1)},open:Boolean(tt.length)&&Se&&!(1===tt.length&&tt[0]===Ge.representation),children:et})}):"",(0,Y.jsx)(y.TextField,s()({},Ye,Qe,dt,{align:Ge.align,characterCount:"number"==typeof Ge.maximumLength&&!isNaN(Ge.maximumLength)&&Ge.maximumLength>=0,foundationRef:se,inputRef:le,onChange:X,ripple:Ge.ripple,rootProps:s()({name:Ge.name,onClick:J,onKeyUp:ne,tabIndex:Ge.disabled?"0":"-1"},Ge.rootProps),textarea:"string"===Ge.type&&"plain"!==Ge.editor,trailingIcon:P(O(Ge.trailingIcon)),type:w(Ge),value:Ge.representation},Ge.inputProperties))]}),!(Ze||ct),Z||Ge.editor.startsWith("code"))]}))})};ee.displayName="TextInput";var te=(0,c.memo)((0,c.forwardRef)(ee));te.wrapped=ee,te.webComponentAdapterWrapped="react",te.defaultModelState=T.defaultInputModelState,te.defaultProperties=s()({},T.defaultInputProperties,{cursor:void 0,model:s()({},T.defaultInputProperties.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),te.locales=u().locales,te.propTypes=T.inputPropertyTypes,te.renderProperties=T.textInputRenderProperties,te.strict=!1,te.transformer=X;var ne=te},function(e){e.exports=p},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(2),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=n},function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=o},function(e){e.exports=S},function(e){e.exports=l},function(e){e.exports=u},function(e){e.exports=a},function(e){e.exports=s},function(e){e.exports=c},function(e){e.exports=d},function(e){e.exports=f},function(e){e.exports=T},function(e){e.exports=I},function(e){e.exports=_},function(e){e.exports=v},function(e){e.exports=x},function(e){e.exports=g},,function(e){e.exports=P},function(e){e.exports=i}],O={};function L(e){var t=O[e];if(void 0!==t)return t.exports;var n=O[e]={exports:{}};return A[e](n,n.exports,L),n.exports}L.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return L.d(t,{a:t}),t},C=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},L.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);L.r(n);var r={};E=E||[null,C({}),C([]),C(C)];for(var o=2&t&&e;"object"==typeof o&&!~E.indexOf(o);o=C(o))Object.getOwnPropertyNames(o).forEach((function(t){r[t]=function(){return e[t]}}));return r.default=function(){return e},L.d(n,r),n},L.d=function(e,t){for(var n in t)L.o(t,n)&&!L.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},L.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},L.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var N={};return function(){L.r(N),L.d(N,{CSS_CLASS_NAMES:function(){return y},FileInput:function(){return D},FileInputInner:function(){return R},IMAGE_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return b},REPRESENTABLE_TEXT_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return x},TEXT_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return E},VIDEO_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return C},default:function(){return M},deriveBase64String:function(){return A},determineRepresentationType:function(){return I},determineValidationState:function(){return S},preserveStaticFileBaseNameInputGenerator:function(){return T},readBinaryDataIntoText:function(){return O}});var e=L(16),t=L.n(e),n=L(1),r=L.n(n),o=L(17),i=L.n(o),a=L(32),s=L(3),l=L.n(s),u=L(2),c=L(34),d=L(35),f=L(18),p=L(4),h=L(12),m=L(11),v=L(7),_=L(10),g=L(9),y={"file-input":"file-input","mdc-typography--headline6":"mdc-typography--headline6","mdc-typography--subtitle2":"mdc-typography--subtitle2","file-input__info":"file-input__info","file-input__info__body":"file-input__info__body","file-input__download":"file-input__download","text-input":"text-input","mdc-text-field":"mdc-text-field","file-input__iframe-wrapper":"file-input__iframe-wrapper","file-input__text-representation":"file-input__text-representation","file-input__iframe-wrapper--padding":"file-input__iframe-wrapper--padding","file-input__native":"file-input__native"},b=/^image\/(?:p?jpe?g|png|svg(?:\+xml)?|vnd\.microsoft\.icon|gif|tiff|webp|vnd\.wap\.wbmp|x-(?:icon|jng|ms-bmp))$/i,E=/^(?:application\/(?:json|xml))|(?:text\/(?:plain|x-ndpb[wy]html|javascript|x?html?|xml|(?:(?:x-)?(?:csv|python-script))))$/i,x=/^text\/plain$/i,C=/^video\/(?:(?:x-)?(?:x-)?webm|3gpp|mp2t|mp4|mpeg|quicktime|(?:x-)?flv|(?:x-)?m4v|(?:x-)mng|x-ms-as|x-ms-wmv|x-msvideo)|(?:application\/(?:x-)?shockwave-flash)$/i,T=function(e,t){var n,o=t.name,i=t.value;return r()({},e,{disabled:!0,value:o+(null!=i&&null!=(n=i.name)&&n.includes(".")?i.name.substring(i.name.lastIndexOf(".")).toLowerCase():"")})},I=function(e){return e=e.replace(/; *charset=.+$/,""),E.test(e)?x.test(e)?"renderableText":"text":b.test(e)?"image":C.test(e)?"video":"binary"},S=function(e,t,n){return(0,_.determineValidationState)(e,n,{invalidMaximumSize:function(){var t;return"number"==typeof e.model.maximumSize&&e.model.maximumSize<((null==(t=e.model.value)||null==(t=t.blob)?void 0:t.size)||0)},invalidMinimumSize:function(){var t;return"number"==typeof e.model.minimumSize&&e.model.minimumSize>((null==(t=e.model.value)||null==(t=t.blob)?void 0:t.size)||0)},invalidName:function(){return t},invalidContentTypePattern:function(){var t;return Boolean(e.model.contentTypePattern)&&"string"==typeof(null==(t=e.model.value)||null==(t=t.blob)?void 0:t.type)&&[].concat(e.model.contentTypePattern).some((function(t){return"string"==typeof t&&!new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&!t.test(e.model.value.blob.type)}))},invalidInvertedContentTypePattern:function(){var t;return Boolean(e.model.invertedContentTypePattern)&&"string"==typeof(null==(t=e.model.value)||null==(t=t.blob)?void 0:t.type)&&[].concat(e.model.invertedContentTypePattern).some((function(t){return"string"==typeof t&&new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&t.test(e.model.value.blob.type)}))}})},A=function(e){return e.blob?(0,a.blobToBase64String)(e.blob):e.source?Promise.resolve(Buffer.from(e.source).toString("base64")):Promise.reject(new Error("Base 64 string could not be determined."))},O=function(e,t){return void 0===t&&(t="utf-8"),new Promise((function(n,r){var o=new FileReader;o.onload=function(e){var r=e.target.result;r.length&&t.endsWith("-sig")&&65279===r.charCodeAt(0)&&(r=r.slice(1)),r=r.replace(/\r\n/g,"\n"),n(r)},o.onabort=function(){return r(new Error("abort"))},o.onerror=function(){return r(new Error)},o.readAsText(e,t.endsWith("-sig")?t.substring(0,t.length-4):t)}))},w=L(19),P=L.n(w),k=L(0),R=function(e,n){var o,s,b,E,x,C,T,w,L,N=(0,u.useId)(),R=null!==(o=e.id)&&void 0!==o?o:N,M=function(e){var t=(0,_.mapPropertiesIntoModel)(e,D.defaultProperties.model);return S(t,!1,t.model.state),(0,_.getConsolidatedProperties)(t)},F=function(e){var t;null!=(t=$.current)&&t.properties&&(J.model.fileName=$.current.properties.model);var n=M(J);delete J.model.value,delete J.value,J.styles=l().copy(J.styles),l().extend(!0,J,n),(0,_.triggerCallbackIfExists)(J,"change",Q,J,e)},j=function e(t,n,o,i){if(void 0===i&&(i=!1),J.model.mutable&&J.model.writable){if(t&&H.current&&t.target===H.current){var a;if(null==(a=(n=t).target.files)||!a.length)return;var s,u=n.target.files[0];J.value={blob:u,name:u.name},J.value.name=(null==(s=J.generateFileNameInputProperties(r()({disabled:J.disabled,value:u.name},g.defaultFileNameInputProperties,{model:J.model.fileName,onChangeValue:e,default:J.value.name}),J))?void 0:s.value)||u.name}Y((function(e){var o;if(void 0===t?J.value=null:"string"==typeof t?J.value=r()({},e.value,{name:t}):"string"!=typeof t.source&&"string"!=typeof t.url||(J.value=i?r()({},e.value,t):t),l().equals(e.value,J.value))return e;var a=!1,s=r()({},e,{value:J.value});return e.modelState.pristine&&(J.dirty=!0,J.pristine=!1,a=!0),F(n),S(J,(null==(o=$.current)||null==(o=o.properties)?void 0:o.invalid)||!1,e.modelState)&&(a=!0),(0,_.triggerCallbackIfExists)(J,"changeValue",Q,J.value,n,J),a&&(s.modelState=J.model.state,(0,_.triggerCallbackIfExists)(J,"changeState",Q,J.model.state,n,J)),i&&(s.attachBlobProperty=!0),s}))}},B=function(e){return Y((function(t){var n=!1;t.modelState.focused||(J.focused=!0,n=!0),t.modelState.untouched&&(J.touched=!0,J.untouched=!1,n=!0);var o=t;return n&&(F(e),o=r()({},t,{modelState:J.model.state}),(0,_.triggerCallbackIfExists)(J,"changeState",Q,J.model.state,e,J)),(0,_.triggerCallbackIfExists)(J,"touch",Q,e,J),o}))},U=(0,u.useRef)(null),V=(0,u.useRef)(null),H=(0,u.useRef)(null),$=(0,u.useRef)(null),q=(0,u.useRef)(null),W=(0,_.translateKnownSymbols)(e),z=(0,_.determineInitialValue)(W,D.defaultProperties.model.default),K=l().extend(!0,l().copy(D.defaultProperties),W),G=(0,u.useState)({attachBlobProperty:!1,modelState:r()({},D.defaultModelState),value:z}),X=G[0],Y=G[1],Q=!K.enforceUncontrolled&&(void 0!==(null==(s=W.model)?void 0:s.value)||void 0!==W.value)&&Boolean(W.onChange||W.onChangeValue);(0,_.deriveMissingPropertiesFromState)(K,X);var J=M(K);X.attachBlobProperty&&X.value&&(J.value=l().extend(!0,X.value,J.value));var Z={attachBlobProperty:!1,modelState:J.model.state,value:J.value};!X.attachBlobProperty&&(Q||l().equals(J.value,X.value))&&l().equals(J.model.state,X.modelState)||Y(Z),Q&&(Y=(0,_.wrapStateSetter)(Y,Z)),(0,u.useImperativeHandle)(n,(function(){return{properties:J,references:{deleteButtonReference:U,downloadLinkReference:V,fileInputReference:H,nameInputReference:$,uploadButtonReference:q},state:r()({modelState:J.model.state},Q?{}:{value:J.value})}})),(0,u.useEffect)((function(){t()(i().mark((function e(){var t,n,r,o,s,l,u,d,f,p,h,m,v,_,g,y,b,E,x,C,T,I,S;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={},null==(t=J.value)||!t.source){e.next=16;break}if(J.value.blob){e.next=6;break}null!=(s=J.value.url)&&s.startsWith("data:")?n.blob=(0,a.dataURLToBlob)(J.value.source):J.sourceToBlobOptions&&(n.blob=new Blob([J.value.source],J.sourceToBlobOptions)),e.next=13;break;case 6:if(J.value.url){e.next=13;break}return u=(null==(l=J.value.blob)?void 0:l.type)||"text/plain",e.t0="data:"+u+";charset="+J.encoding+";base64,",e.next=11,A(J.value);case 11:e.t1=e.sent,n.url=e.t0+e.t1;case 13:null!=(r=J.value)&&r.hash||(n.hash=(null!==(o=J.hashingConfiguration.prefix)&&void 0!==o?o:"")+(0,c.hash)(J.value.source)),e.next=53;break;case 16:if(!(null!=(d=J.value)&&d.blob&&J.value.blob instanceof Blob)){e.next=23;break}return m=null==(v=J.value)?void 0:v.blob,e.next=20,"text"===ee?O(m,J.encoding):A(J.value);case 20:n.source=e.sent,e.next=37;break;case 23:if(null==(f=J.value)||!f.url||"text"!==ee){e.next=37;break}if(null==(_=J.value.url)||!_.startsWith("data:")){e.next=28;break}e.t2=(0,a.dataURLToBlob)(J.value.url),e.next=31;break;case 28:return e.next=30,fetch(J.value.url);case 30:e.t2=e.sent.blob();case 31:return e.next=33,e.t2;case 33:return m=e.sent,e.next=36,O(m,J.encoding);case 36:n.source=e.sent;case 37:if(null!=(p=J.value)&&p.hash||!(m||null!=(h=J.value)&&h.url)){e.next=53;break}if(m||null==(g=J.value)||!g.url){e.next=44;break}return e.next=41,fetch(J.value.url);case 41:return e.next=43,e.sent.blob();case 43:m=e.sent;case 44:return E=0,x=null!==(y=J.hashingConfiguration.readChunkSizeInByte)&&void 0!==y?y:2097152,C=Math.ceil(m.size/x),T=new c.ArrayBuffer,I=new FileReader,e.next=51,new Promise((function(e,t){I.onload=function(t){console.debug("Read chunk "+(E+1)+" of "+C+"."),T.append(t.target.result),++E<C?n():e(T.end(J.hashingConfiguration.binaryString))},I.onerror=function(e){t(e)};var n=function(){var e=E*x,t=e+x>=m.size?m.size:e+x;I.readAsArrayBuffer(m.slice(e,t))};n()}));case 51:S=e.sent,n.hash=(null!==(b=J.hashingConfiguration.prefix)&&void 0!==b?b:"")+S;case 53:Object.keys(n).length>0&&j(n,void 0,0,!0);case 54:case"end":return e.stop()}}),e)})))().catch(console.warn)})),(0,u.useEffect)((function(){J.triggerInitialPropertiesConsolidation&&F()}),[]);var ee=null!=(b=J.value)&&null!=(b=b.blob)&&b.type?I(J.value.blob.type):"binary",te=J.invalid&&J.showValidationState&&(J.showInitialValidationState||J.visited),ne=J.triggerInitialPropertiesConsolidation;return(0,k.jsx)(v.WrapConfigurations,{strict:D.strict,themeConfiguration:J.themeConfiguration,tooltip:J.tooltip,children:(0,k.jsxs)(d.Card,{className:[y["file-input"]].concat(null!==(E=J.className)&&void 0!==E?E:[]).join(" "),onBlur:function(e){return Y((function(t){var n=!1;return t.modelState.focused&&(J.focused=!1,n=!0),t.modelState.visited||(J.visited=!0,n=!0),n&&(F(e),(0,_.triggerCallbackIfExists)(J,"changeState",Q,J.model.state,e,J)),(0,_.triggerCallbackIfExists)(J,"blur",Q,e,J),n?r()({},t,{modelState:J.model.state}):t}))},onClick:function(e){(0,_.triggerCallbackIfExists)(J,"click",Q,e,J),B(e)},onFocus:function(e){(0,_.triggerCallbackIfExists)(J,"focus",Q,e,J),B(e)},style:J.styles,children:[(0,k.jsxs)(d.CardPrimaryAction,{children:[null!=(x=J.value)&&x.url?"image"===ee?(0,k.jsx)(d.CardMedia,r()({},J.media,{style:{backgroundImage:"url("+J.value.url+")"}})):"video"===ee?(0,k.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,children:(0,k.jsx)("source",{src:J.value.url,type:J.value.blob.type})}):"renderableText"===ee?(0,k.jsx)("div",{className:[y["file-input__iframe-wrapper"]].concat(["text/html","text/plain"].includes(J.value.blob.type)?y["file-input__iframe-wrapper--padding"]:[]).join(" "),children:(0,k.jsx)("iframe",{frameBorder:"no",scrolling:"no",src:J.value.url})}):null!=(C=J.value)&&C.source&&"text"===ee?(0,k.jsx)("pre",{className:y["file-input__text-representation"],children:J.value.source}):"":null!=(T=J.value)&&T.blob&&J.value.blob instanceof Blob?(0,k.jsx)(f.CircularProgress,{size:"large"}):"",(0,k.jsxs)("div",{className:y["file-input__info"],children:[(0,k.jsx)(h.Typography,{tag:"h2",use:"headline6",children:te?(0,k.jsx)(p.Theme,{use:"error",children:J.description?J.description:J.name}):J.description?J.description:J.name}),(0,k.jsx)(P(),{in:te||Boolean(J.declaration),children:(0,k.jsxs)("div",{className:y["file-input__info__body"],children:[J.declaration?(0,k.jsx)(h.Typography,{style:{marginTop:"-1rem"},tag:"h3",theme:"textSecondaryOnBackground",use:"subtitle2",children:te?(0,k.jsx)(p.Theme,{use:"error",children:J.declaration}):J.declaration}):"",(0,k.jsx)(p.Theme,{use:"error",wrap:!0,children:(0,k.jsx)("span",{id:R+"-error-message",children:(0,_.renderMessage)(J.invalidContentTypePattern&&J.contentTypePatternText||J.invalidInvertedContentTypePattern&&J.invalidMaximumSize&&J.maximumSizeText||J.invalidMinimumSize&&J.minimumSizeText||J.invertedContentTypePatternText||J.invalidRequired&&J.requiredText,J)})})]})}),J.value?(0,k.jsx)(m.default,r()({ref:$},J.generateFileNameInputProperties(r()({disabled:J.disabled,value:null==(w=J.value)?void 0:w.name},g.defaultFileNameInputProperties,{default:J.value.name,model:J.model.fileName,onChangeValue:j,triggerInitialPropertiesConsolidation:ne}),J))):"",J.children?J.children({declaration:J.declaration,invalid:te,properties:J,value:J.value}):""]}),(0,k.jsx)("input",{disabled:J.disabled,className:y["file-input__native"],id:R,name:J.name,onChange:j,ref:H,type:"file"})]}),!J.disabled||J.value?(0,k.jsx)(d.CardActions,{children:(0,k.jsxs)(d.CardActionButtons,{children:[J.disabled?"":(0,k.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=H.current)?void 0:e.click()},ref:q,ripple:J.ripple,children:J.value?J.editButton:J.newButton}),J.value?(0,k.jsxs)(k.Fragment,{children:[J.disabled?"":(0,k.jsx)(d.CardActionButton,{onClick:function(){return j()},ref:U,ripple:J.ripple,children:J.deleteButton}),J.value.url?(0,k.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=V.current)?void 0:e.click()},ripple:J.ripple,children:(0,k.jsx)("a",r()({className:y["file-input__download"],download:J.value.name,href:J.value.url,ref:V,target:"_blank"},null!=(L=J.value.blob)&&L.type?{type:J.value.blob.type}:{},{children:J.downloadButton}))}):""]}):""]})}):""]})})};R.displayName="FileInput";var D=(0,u.memo)((0,u.forwardRef)(R));D.wrapped=R,D.webComponentAdapterWrapped="react",D.defaultModelState=g.defaultFileInputModelState,D.defaultProperties=r()({},g.defaultFileInputProperties,{model:r()({},g.defaultFileInputProperties.model,{state:void 0,value:void 0}),value:void 0}),D.propTypes=g.fileInputPropertyTypes,D.renderProperties=g.fileInputRenderProperties,D.strict=!1;var M=D}(),N}())},,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__48__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__49__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__50__}],__webpack_module_cache__={};function __nested_webpack_require_117475__(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_117475__),n.loaded=!0,n.exports}__nested_webpack_require_117475__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_117475__.d(t,{a:t}),t},__nested_webpack_require_117475__.d=function(e,t){for(var n in t)__nested_webpack_require_117475__.o(t,n)&&!__nested_webpack_require_117475__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_117475__.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_117475__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_117475__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_117475__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_117475__.r(__nested_webpack_exports__),__nested_webpack_require_117475__.d(__nested_webpack_exports__,{FileInput:function(){return o}});var e=__nested_webpack_require_117475__(0),t=__nested_webpack_require_117475__(34),n=__nested_webpack_require_117475__.n(t),r=__nested_webpack_require_117475__(1),o=__nested_webpack_require_117475__.n(r)()(n(),"FileInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,invalid:e.boolean,invalidMaximumSize:e.boolean,invalidMinimumSize:e.boolean,invalidMimeTypePattern:e.boolean,invalidNamePattern:e.boolean,invalidRequired:e.boolean,name:e.string,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,valid:e.boolean,visited:e.boolean}});__nested_webpack_exports__.default=o}(),__nested_webpack_exports__}()},module.exports=t(__webpack_require__(15),__webpack_require__(12),__webpack_require__(9),__webpack_require__(39),__webpack_require__(13),__webpack_require__(98),__webpack_require__(70),__webpack_require__(57),__webpack_require__(18),__webpack_require__(71),__webpack_require__(58),__webpack_require__(72),__webpack_require__(73),__webpack_require__(40),__webpack_require__(41),__webpack_require__(45),__webpack_require__(45),__webpack_require__(108),__webpack_require__(20),__webpack_require__(0),__webpack_require__(45),__webpack_require__(69),__webpack_require__(45),__webpack_require__(45),__webpack_require__(45),__webpack_require__(45),__webpack_require__(1),__webpack_require__(101),__webpack_require__(8),__webpack_require__(10),__webpack_require__(54),__webpack_require__(31),__webpack_require__(32),__webpack_require__(33),__webpack_require__(34))}],__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__(115);return __webpack_exports__}()}));
|
|
489
|
+
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){n.r(t),n.d(t,{MDCCircularProgress:function(){return u},MDCCircularProgressFoundation:function(){return l},cssClasses:function(){return a},strings:function(){return s}});var r=n(2),o=n(5),i=n(4),a={INDETERMINATE_CLASS:"mdc-circular-progress--indeterminate",CLOSED_CLASS:"mdc-circular-progress--closed"},s={ARIA_HIDDEN:"aria-hidden",ARIA_VALUENOW:"aria-valuenow",DETERMINATE_CIRCLE_SELECTOR:".mdc-circular-progress__determinate-circle",RADIUS:"r",STROKE_DASHOFFSET:"stroke-dashoffset"},l=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},getDeterminateCircleAttribute:function(){return null},hasClass:function(){return!1},removeClass:function(){},removeAttribute:function(){},setAttribute:function(){},setDeterminateCircleAttribute:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.closed=this.adapter.hasClass(a.CLOSED_CLASS),this.determinate=!this.adapter.hasClass(a.INDETERMINATE_CLASS),this.progress=0,this.determinate&&this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString()),this.radius=Number(this.adapter.getDeterminateCircleAttribute(s.RADIUS))},t.prototype.setDeterminate=function(e){this.determinate=e,this.determinate?(this.adapter.removeClass(a.INDETERMINATE_CLASS),this.setProgress(this.progress)):(this.adapter.addClass(a.INDETERMINATE_CLASS),this.adapter.removeAttribute(s.ARIA_VALUENOW))},t.prototype.isDeterminate=function(){return this.determinate},t.prototype.setProgress=function(e){if(this.progress=e,this.determinate){var t=(1-this.progress)*(2*Math.PI*this.radius);this.adapter.setDeterminateCircleAttribute(s.STROKE_DASHOFFSET,""+t),this.adapter.setAttribute(s.ARIA_VALUENOW,this.progress.toString())}},t.prototype.getProgress=function(){return this.progress},t.prototype.open=function(){this.closed=!1,this.adapter.removeClass(a.CLOSED_CLASS),this.adapter.removeAttribute(s.ARIA_HIDDEN)},t.prototype.close=function(){this.closed=!0,this.adapter.addClass(a.CLOSED_CLASS),this.adapter.setAttribute(s.ARIA_HIDDEN,"true")},t.prototype.isClosed=function(){return this.closed},t}(i.I),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.prototype.initialize=function(){this.determinateCircle=this.root.querySelector(l.strings.DETERMINATE_CIRCLE_SELECTOR)},t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"determinate",{set:function(e){this.foundation.setDeterminate(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"progress",{set:function(e){this.foundation.setProgress(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"isClosed",{get:function(){return this.foundation.isClosed()},enumerable:!1,configurable:!0}),t.prototype.open=function(){this.foundation.open()},t.prototype.close=function(){this.foundation.close()},t.prototype.getDefaultFoundation=function(){var e=this;return new l({addClass:function(t){e.root.classList.add(t)},getDeterminateCircleAttribute:function(t){return e.determinateCircle.getAttribute(t)},hasClass:function(t){return e.root.classList.contains(t)},removeClass:function(t){e.root.classList.remove(t)},removeAttribute:function(t){e.root.removeAttribute(t)},setAttribute:function(t,n){e.root.setAttribute(t,n)},setDeterminateCircleAttribute:function(t,n){e.determinateCircle.setAttribute(t,n)}})},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCRipple:function(){return o.N},MDCRippleFoundation:function(){return a.E},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$},util:function(){return r}});var r=n(44),o=n(21),i=n(56),a=n(19)},function(e,t,n){n.r(t),n.d(t,{MDCFormField:function(){return u},MDCFormFieldFoundation:function(){return l},cssClasses:function(){return a},strings:function(){return s}});var r=n(2),o=n(5),i=n(4),a={ROOT:"mdc-form-field"},s={LABEL_SELECTOR:".mdc-form-field > label"},l=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.click=function(){o.handleClick()},o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return a},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{activateInputRipple:function(){},deactivateInputRipple:function(){},deregisterInteractionHandler:function(){},registerInteractionHandler:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){this.adapter.registerInteractionHandler("click",this.click)},t.prototype.destroy=function(){this.adapter.deregisterInteractionHandler("click",this.click)},t.prototype.handleClick=function(){var e=this;this.adapter.activateInputRipple(),requestAnimationFrame((function(){e.adapter.deactivateInputRipple()}))},t}(i.I),u=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.labelEl=function(){var e=l.strings.LABEL_SELECTOR;return this.root.querySelector(e)},t.prototype.getDefaultFoundation=function(){var e=this;return new l({activateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.activate()},deactivateInputRipple:function(){e.input&&e.input.ripple&&e.input.ripple.deactivate()},deregisterInteractionHandler:function(t,n){var r=e.labelEl();r&&r.removeEventListener(t,n)},registerInteractionHandler:function(t,n){var r=e.labelEl();r&&r.addEventListener(t,n)}})},t}(o.O)},function(e,t,n){function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(this,arguments)}function o(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],t.indexOf(n)>=0||(o[n]=e[n]);return o}function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function a(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}function s(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}n.r(t),n.d(t,{CSSTransition:function(){return T},ReplaceTransition:function(){return k},SwitchTransition:function(){return U},Transition:function(){return y},TransitionGroup:function(){return O},config:function(){return c}});var l=n(0),u=n(10),c={disabled:!1},d=l.createContext(null),f=function(e){return e.scrollTop},p="unmounted",h="exited",_="entering",m="entered",v="exiting",g=function(e){function t(t,n){var r;r=e.call(this,t,n)||this;var o,i=n&&!n.isMounting?t.enter:t.appear;return r.appearStatus=null,t.in?i?(o=h,r.appearStatus=_):o=m:o=t.unmountOnExit||t.mountOnEnter?p:h,r.state={status:o},r.nextCallback=null,r}a(t,e),t.getDerivedStateFromProps=function(e,t){return e.in&&t.status===p?{status:h}:null};var n=t.prototype;return n.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},n.componentDidUpdate=function(e){var t=null;if(e!==this.props){var n=this.state.status;this.props.in?n!==_&&n!==m&&(t=_):n!==_&&n!==m||(t=v)}this.updateStatus(!1,t)},n.componentWillUnmount=function(){this.cancelNextCallback()},n.getTimeouts=function(){var e,t,n,r=this.props.timeout;return e=t=n=r,null!=r&&"number"!=typeof r&&(e=r.exit,t=r.enter,n=void 0!==r.appear?r.appear:t),{exit:e,enter:t,appear:n}},n.updateStatus=function(e,t){if(void 0===e&&(e=!1),null!==t)if(this.cancelNextCallback(),t===_){if(this.props.unmountOnExit||this.props.mountOnEnter){var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this);n&&f(n)}this.performEnter(e)}else this.performExit();else this.props.unmountOnExit&&this.state.status===h&&this.setState({status:p})},n.performEnter=function(e){var t=this,n=this.props.enter,r=this.context?this.context.isMounting:e,o=this.props.nodeRef?[r]:[u.findDOMNode(this),r],i=o[0],a=o[1],s=this.getTimeouts(),l=r?s.appear:s.enter;!e&&!n||c.disabled?this.safeSetState({status:m},(function(){t.props.onEntered(i)})):(this.props.onEnter(i,a),this.safeSetState({status:_},(function(){t.props.onEntering(i,a),t.onTransitionEnd(l,(function(){t.safeSetState({status:m},(function(){t.props.onEntered(i,a)}))}))})))},n.performExit=function(){var e=this,t=this.props.exit,n=this.getTimeouts(),r=this.props.nodeRef?void 0:u.findDOMNode(this);t&&!c.disabled?(this.props.onExit(r),this.safeSetState({status:v},(function(){e.props.onExiting(r),e.onTransitionEnd(n.exit,(function(){e.safeSetState({status:h},(function(){e.props.onExited(r)}))}))}))):this.safeSetState({status:h},(function(){e.props.onExited(r)}))},n.cancelNextCallback=function(){null!==this.nextCallback&&(this.nextCallback.cancel(),this.nextCallback=null)},n.safeSetState=function(e,t){t=this.setNextCallback(t),this.setState(e,t)},n.setNextCallback=function(e){var t=this,n=!0;return this.nextCallback=function(r){n&&(n=!1,t.nextCallback=null,e(r))},this.nextCallback.cancel=function(){n=!1},this.nextCallback},n.onTransitionEnd=function(e,t){this.setNextCallback(t);var n=this.props.nodeRef?this.props.nodeRef.current:u.findDOMNode(this),r=null==e&&!this.props.addEndListener;if(n&&!r){if(this.props.addEndListener){var o=this.props.nodeRef?[this.nextCallback]:[n,this.nextCallback],i=o[0],a=o[1];this.props.addEndListener(i,a)}null!=e&&setTimeout(this.nextCallback,e)}else setTimeout(this.nextCallback,0)},n.render=function(){var e=this.state.status;if(e===p)return null;var t=this.props,n=t.children,r=(t.in,t.mountOnEnter,t.unmountOnExit,t.appear,t.enter,t.exit,t.timeout,t.addEndListener,t.onEnter,t.onEntering,t.onEntered,t.onExit,t.onExiting,t.onExited,t.nodeRef,o(t,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]));return l.createElement(d.Provider,{value:null},"function"==typeof n?n(e,r):l.cloneElement(l.Children.only(n),r))},t}(l.Component);function b(){}g.contextType=d,g.propTypes={},g.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:b,onEntering:b,onEntered:b,onExit:b,onExiting:b,onExited:b},g.UNMOUNTED=p,g.EXITED=h,g.ENTERING=_,g.ENTERED=m,g.EXITING=v;var y=g,E=function(e,t){return e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.remove(r):"string"==typeof n.className?n.className=s(n.className,r):n.setAttribute("class",s(n.className&&n.className.baseVal||"",r)));var n,r}))},x=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).appliedClasses={appear:{},enter:{},exit:{}},t.onEnter=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1];t.removeClasses(o,"exit"),t.addClass(o,i?"appear":"enter","base"),t.props.onEnter&&t.props.onEnter(e,n)},t.onEntering=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.addClass(o,i,"active"),t.props.onEntering&&t.props.onEntering(e,n)},t.onEntered=function(e,n){var r=t.resolveArguments(e,n),o=r[0],i=r[1]?"appear":"enter";t.removeClasses(o,i),t.addClass(o,i,"done"),t.props.onEntered&&t.props.onEntered(e,n)},t.onExit=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"appear"),t.removeClasses(n,"enter"),t.addClass(n,"exit","base"),t.props.onExit&&t.props.onExit(e)},t.onExiting=function(e){var n=t.resolveArguments(e)[0];t.addClass(n,"exit","active"),t.props.onExiting&&t.props.onExiting(e)},t.onExited=function(e){var n=t.resolveArguments(e)[0];t.removeClasses(n,"exit"),t.addClass(n,"exit","done"),t.props.onExited&&t.props.onExited(e)},t.resolveArguments=function(e,n){return t.props.nodeRef?[t.props.nodeRef.current,e]:[e,n]},t.getClassNames=function(e){var n=t.props.classNames,r="string"==typeof n,o=r?""+(r&&n?n+"-":"")+e:n[e];return{baseClassName:o,activeClassName:r?o+"-active":n[e+"Active"],doneClassName:r?o+"-done":n[e+"Done"]}},t}a(t,e);var n=t.prototype;return n.addClass=function(e,t,n){var r=this.getClassNames(t)[n+"ClassName"],o=this.getClassNames("enter").doneClassName;"appear"===t&&"done"===n&&o&&(r+=" "+o),"active"===n&&e&&f(e),r&&(this.appliedClasses[t][n]=r,function(e,t){e&&t&&t.split(" ").forEach((function(t){return r=t,void((n=e).classList?n.classList.add(r):function(e,t){return e.classList?!!t&&e.classList.contains(t):-1!==(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")}(n,r)||("string"==typeof n.className?n.className=n.className+" "+r:n.setAttribute("class",(n.className&&n.className.baseVal||"")+" "+r)));var n,r}))}(e,r))},n.removeClasses=function(e,t){var n=this.appliedClasses[t],r=n.base,o=n.active,i=n.done;this.appliedClasses[t]={},r&&E(e,r),o&&E(e,o),i&&E(e,i)},n.render=function(){var e=this.props,t=(e.classNames,o(e,["classNames"]));return l.createElement(y,r({},t,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t}(l.Component);x.defaultProps={classNames:""},x.propTypes={};var T=x;function C(e,t){var n=Object.create(null);return e&&l.Children.map(e,(function(e){return e})).forEach((function(e){n[e.key]=function(e){return t&&(0,l.isValidElement)(e)?t(e):e}(e)})),n}function A(e,t,n){return null!=n[t]?n[t]:e.props[t]}function w(e,t,n){var r=C(e.children),o=function(e,t){function n(n){return n in t?t[n]:e[n]}e=e||{},t=t||{};var r,o=Object.create(null),i=[];for(var a in e)a in t?i.length&&(o[a]=i,i=[]):i.push(a);var s={};for(var l in t){if(o[l])for(r=0;r<o[l].length;r++){var u=o[l][r];s[o[l][r]]=n(u)}s[l]=n(l)}for(r=0;r<i.length;r++)s[i[r]]=n(i[r]);return s}(t,r);return Object.keys(o).forEach((function(i){var a=o[i];if((0,l.isValidElement)(a)){var s=i in t,u=i in r,c=t[i],d=(0,l.isValidElement)(c)&&!c.props.in;!u||s&&!d?u||!s||d?u&&s&&(0,l.isValidElement)(c)&&(o[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:c.props.in,exit:A(a,"exit",e),enter:A(a,"enter",e)})):o[i]=(0,l.cloneElement)(a,{in:!1}):o[i]=(0,l.cloneElement)(a,{onExited:n.bind(null,a),in:!0,exit:A(a,"exit",e),enter:A(a,"enter",e)})}})),o}var I=Object.values||function(e){return Object.keys(e).map((function(t){return e[t]}))},S=function(e){function t(t,n){var r,o=(r=e.call(this,t,n)||this).handleExited.bind(function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(r));return r.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},r}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},n.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(e,t){var n,r,o=t.children,i=t.handleExited;return{children:t.firstRender?(n=e,r=i,C(n.children,(function(e){return(0,l.cloneElement)(e,{onExited:r.bind(null,e),in:!0,appear:A(e,"appear",n),enter:A(e,"enter",n),exit:A(e,"exit",n)})}))):w(e,o,i),firstRender:!1}},n.handleExited=function(e,t){var n=C(this.props.children);e.key in n||(e.props.onExited&&e.props.onExited(t),this.mounted&&this.setState((function(t){var n=r({},t.children);return delete n[e.key],{children:n}})))},n.render=function(){var e=this.props,t=e.component,n=e.childFactory,r=o(e,["component","childFactory"]),i=this.state.contextValue,a=I(this.state.children).map(n);return delete r.appear,delete r.enter,delete r.exit,null===t?l.createElement(d.Provider,{value:i},a):l.createElement(d.Provider,{value:i},l.createElement(t,r,a))},t}(l.Component);S.propTypes={},S.defaultProps={component:"div",childFactory:function(e){return e}};var O=S,L=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).handleEnter=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEnter",0,n)},t.handleEntering=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntering",0,n)},t.handleEntered=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onEntered",0,n)},t.handleExit=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExit",1,n)},t.handleExiting=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExiting",1,n)},t.handleExited=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return t.handleLifecycle("onExited",1,n)},t}a(t,e);var n=t.prototype;return n.handleLifecycle=function(e,t,n){var r,o=this.props.children,i=l.Children.toArray(o)[t];if(i.props[e]&&(r=i.props)[e].apply(r,n),this.props[e]){var a=i.props.nodeRef?void 0:u.findDOMNode(this);this.props[e](a)}},n.render=function(){var e=this.props,t=e.children,n=e.in,r=o(e,["children","in"]),i=l.Children.toArray(t),a=i[0],s=i[1];return delete r.onEnter,delete r.onEntering,delete r.onEntered,delete r.onExit,delete r.onExiting,delete r.onExited,l.createElement(O,r,n?l.cloneElement(a,{key:"first",onEnter:this.handleEnter,onEntering:this.handleEntering,onEntered:this.handleEntered}):l.cloneElement(s,{key:"second",onEnter:this.handleExit,onEntering:this.handleExiting,onEntered:this.handleExited}))},t}(l.Component);L.propTypes={};var P,N,k=L;var R="out-in",D="in-out",M=function(e,t,n){return function(){var r;e.props[t]&&(r=e.props)[t].apply(r,arguments),n()}},j=((P={})[R]=function(e){var t=e.current,n=e.changeState;return l.cloneElement(t,{in:!1,onExited:M(t,"onExited",(function(){n(_,null)}))})},P[D]=function(e){var t=e.current,n=e.changeState,r=e.children;return[t,l.cloneElement(r,{in:!0,onEntered:M(r,"onEntered",(function(){n(_)}))})]},P),F=((N={})[R]=function(e){var t=e.children,n=e.changeState;return l.cloneElement(t,{in:!0,onEntered:M(t,"onEntered",(function(){n(m,l.cloneElement(t,{in:!0}))}))})},N[D]=function(e){var t=e.current,n=e.children,r=e.changeState;return[l.cloneElement(t,{in:!1,onExited:M(t,"onExited",(function(){r(m,l.cloneElement(n,{in:!0}))}))}),l.cloneElement(n,{in:!0})]},N),B=function(e){function t(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state={status:m,current:null},t.appeared=!1,t.changeState=function(e,n){void 0===n&&(n=t.state.current),t.setState({status:e,current:n})},t}a(t,e);var n=t.prototype;return n.componentDidMount=function(){this.appeared=!0},t.getDerivedStateFromProps=function(e,t){return null==e.children?{current:null}:t.status===_&&e.mode===D?{status:_}:!t.current||(n=t.current,r=e.children,n===r||l.isValidElement(n)&&l.isValidElement(r)&&null!=n.key&&n.key===r.key)?{current:l.cloneElement(e.children,{in:!0})}:{status:v};var n,r},n.render=function(){var e,t=this.props,n=t.children,r=t.mode,o=this.state,i=o.status,a=o.current,s={children:n,current:a,changeState:this.changeState,status:i};switch(i){case _:e=F[r](s);break;case v:e=j[r](s);break;case m:e=a}return l.createElement(d.Provider,{value:{isMounting:!this.appeared}},e)},t}(l.Component);B.propTypes={},B.defaultProps={mode:R};var U=B},function(e,t,n){n.r(t),n.d(t,{MDCIconButtonToggle:function(){return d},MDCIconButtonToggleFoundation:function(){return u},cssClasses:function(){return s},strings:function(){return l}});var r=n(2),o=n(5),i=n(21),a=n(4),s={ICON_BUTTON_ON:"mdc-icon-button--on",ROOT:"mdc-icon-button"},l={ARIA_LABEL:"aria-label",ARIA_PRESSED:"aria-pressed",DATA_ARIA_LABEL_OFF:"data-aria-label-off",DATA_ARIA_LABEL_ON:"data-aria-label-on",CHANGE_EVENT:"MDCIconButtonToggle:change"},u=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.hasToggledAriaLabel=!1,o}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return l},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},hasClass:function(){return!1},notifyChange:function(){},removeClass:function(){},getAttr:function(){return null},setAttr:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e=this.adapter.getAttr(l.DATA_ARIA_LABEL_ON),t=this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);if(e&&t){if(null!==this.adapter.getAttr(l.ARIA_PRESSED))throw new Error("MDCIconButtonToggleFoundation: Button should not set `aria-pressed` if it has a toggled aria label.");this.hasToggledAriaLabel=!0}else this.adapter.setAttr(l.ARIA_PRESSED,String(this.isOn()))},t.prototype.handleClick=function(){this.toggle(),this.adapter.notifyChange({isOn:this.isOn()})},t.prototype.isOn=function(){return this.adapter.hasClass(s.ICON_BUTTON_ON)},t.prototype.toggle=function(e){if(void 0===e&&(e=!this.isOn()),e?this.adapter.addClass(s.ICON_BUTTON_ON):this.adapter.removeClass(s.ICON_BUTTON_ON),this.hasToggledAriaLabel){var t=e?this.adapter.getAttr(l.DATA_ARIA_LABEL_ON):this.adapter.getAttr(l.DATA_ARIA_LABEL_OFF);this.adapter.setAttr(l.ARIA_LABEL,t||"")}else this.adapter.setAttr(l.ARIA_PRESSED,""+e)},t}(a.I),c=u.strings,d=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.rippleComponent=t.createRipple(),t}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialSyncWithDOM=function(){var e=this;this.handleClick=function(){e.foundation.handleClick()},this.listen("click",this.handleClick)},t.prototype.destroy=function(){this.unlisten("click",this.handleClick),this.ripple.destroy(),e.prototype.destroy.call(this)},t.prototype.getDefaultFoundation=function(){var e=this;return new u({addClass:function(t){return e.root.classList.add(t)},hasClass:function(t){return e.root.classList.contains(t)},notifyChange:function(t){e.emit(c.CHANGE_EVENT,t)},removeClass:function(t){return e.root.classList.remove(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)}})},Object.defineProperty(t.prototype,"ripple",{get:function(){return this.rippleComponent},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"on",{get:function(){return this.foundation.isOn()},set:function(e){this.foundation.toggle(e)},enumerable:!1,configurable:!0}),t.prototype.createRipple=function(){var e=new i.N(this.root);return e.unbounded=!0,e},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{MDCList:function(){return r.f},MDCListFoundation:function(){return i.Y},cssClasses:function(){return o.Y7},deprecatedClassNameMap:function(){return o.PY},evolutionAttribute:function(){return o.iP},evolutionClassNameMap:function(){return o.$z},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(74),o=n(43),i=n(63)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return o.OK},CornerBit:function(){return o.Jv},MDCMenuSurface:function(){return r.X},MDCMenuSurfaceFoundation:function(){return i.O},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(75),o=n(42),i=n(47)},function(e,t,n){n.r(t),n.d(t,{AnimationFrame:function(){return o.K},getCorrectEventName:function(){return r.getCorrectEventName},getCorrectPropertyName:function(){return r.getCorrectPropertyName},util:function(){return r}});var r=n(55),o=n(83)},function(e,t,n){n.r(t),n.d(t,{Corner:function(){return r.OK},DefaultFocusState:function(){return i.hf},MDCMenu:function(){return o.C},MDCMenuFoundation:function(){return a.d},cssClasses:function(){return i.Y7},numbers:function(){return i.nL},strings:function(){return i.P$}});var r=n(42),o=n(76),i=n(48),a=n(77)},function(e,t,n){n.r(t),n.d(t,{MDCFloatingLabel:function(){return r.$},MDCFloatingLabelFoundation:function(){return i.K},cssClasses:function(){return o.Y}});var r=n(64),o=n(78),i=n(65)},function(e,t,n){n.r(t),n.d(t,{MDCLineRipple:function(){return r.l},MDCLineRippleFoundation:function(){return i.C},cssClasses:function(){return o.Y}});var r=n(66),o=n(80),i=n(79)},function(e,t,n){n.r(t),n.d(t,{MDCNotchedOutline:function(){return r.i},MDCNotchedOutlineFoundation:function(){return i.z},cssClasses:function(){return o.Y7},numbers:function(){return o.nL},strings:function(){return o.P$}});var r=n(67),o=n(68),i=n(81)},function(e,t,n){n.r(t),n.d(t,{MDCSelect:function(){return I},MDCSelectFoundation:function(){return g},MDCSelectHelperText:function(){return x},MDCSelectHelperTextFoundation:function(){return E},MDCSelectIcon:function(){return w},MDCSelectIconFoundation:function(){return A},cssClasses:function(){return p},helperTextCssClasses:function(){return y},helperTextStrings:function(){return b},iconStrings:function(){return T},numbers:function(){return _},strings:function(){return h}});var r=n(2),o=n(5),i=n(64),a=n(66),s=n(42),l=n(76),u=n(48),c=n(67),d=n(21),f=n(19),p={ACTIVATED:"mdc-select--activated",DISABLED:"mdc-select--disabled",FOCUSED:"mdc-select--focused",INVALID:"mdc-select--invalid",MENU_INVALID:"mdc-select__menu--invalid",OUTLINED:"mdc-select--outlined",REQUIRED:"mdc-select--required",ROOT:"mdc-select",WITH_LEADING_ICON:"mdc-select--with-leading-icon"},h={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",ARIA_SELECTED_ATTR:"aria-selected",CHANGE_EVENT:"MDCSelect:change",HIDDEN_INPUT_SELECTOR:'input[type="hidden"]',LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-select__icon",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",MENU_SELECTOR:".mdc-select__menu",OUTLINE_SELECTOR:".mdc-notched-outline",SELECTED_TEXT_SELECTOR:".mdc-select__selected-text",SELECT_ANCHOR_SELECTOR:".mdc-select__anchor",VALUE_ATTR:"data-value"},_={LABEL_SCALE:.75,UNSET_INDEX:-1,CLICK_DEBOUNCE_TIMEOUT_MS:330},m=n(4),v=n(82),g=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.disabled=!1,i.isMenuOpen=!1,i.useDefaultValidation=!0,i.customValidity=!0,i.lastSelectedIndex=_.UNSET_INDEX,i.clickDebounceTimeout=0,i.recentlyClicked=!1,i.leadingIcon=o.leadingIcon,i.helperText=o.helperText,i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return _},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},activateBottomLine:function(){},deactivateBottomLine:function(){},getSelectedIndex:function(){return-1},setSelectedIndex:function(){},hasLabel:function(){return!1},floatLabel:function(){},getLabelWidth:function(){return 0},setLabelRequired:function(){},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){},setRippleCenter:function(){},notifyChange:function(){},setSelectedText:function(){},isSelectAnchorFocused:function(){return!1},getSelectAnchorAttr:function(){return""},setSelectAnchorAttr:function(){},removeSelectAnchorAttr:function(){},addMenuClass:function(){},removeMenuClass:function(){},openMenu:function(){},closeMenu:function(){},getAnchorElement:function(){return null},setMenuAnchorElement:function(){},setMenuAnchorCorner:function(){},setMenuWrapFocus:function(){},focusMenuItemAtIndex:function(){},getMenuItemCount:function(){return 0},getMenuItemValues:function(){return[]},getMenuItemTextAtIndex:function(){return""},isTypeaheadInProgress:function(){return!1},typeaheadMatchItem:function(){return-1}}},enumerable:!1,configurable:!0}),t.prototype.getSelectedIndex=function(){return this.adapter.getSelectedIndex()},t.prototype.setSelectedIndex=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1),e>=this.adapter.getMenuItemCount()||(e===_.UNSET_INDEX?this.adapter.setSelectedText(""):this.adapter.setSelectedText(this.adapter.getMenuItemTextAtIndex(e).trim()),this.adapter.setSelectedIndex(e),t&&this.adapter.closeMenu(),n||this.lastSelectedIndex===e||this.handleChange(),this.lastSelectedIndex=e)},t.prototype.setValue=function(e,t){void 0===t&&(t=!1);var n=this.adapter.getMenuItemValues().indexOf(e);this.setSelectedIndex(n,!1,t)},t.prototype.getValue=function(){var e=this.adapter.getSelectedIndex(),t=this.adapter.getMenuItemValues();return e!==_.UNSET_INDEX?t[e]:""},t.prototype.getDisabled=function(){return this.disabled},t.prototype.setDisabled=function(e){this.disabled=e,this.disabled?(this.adapter.addClass(p.DISABLED),this.adapter.closeMenu()):this.adapter.removeClass(p.DISABLED),this.leadingIcon&&this.leadingIcon.setDisabled(this.disabled),this.disabled?this.adapter.removeSelectAnchorAttr("tabindex"):this.adapter.setSelectAnchorAttr("tabindex","0"),this.adapter.setSelectAnchorAttr("aria-disabled",this.disabled.toString())},t.prototype.openMenu=function(){this.adapter.addClass(p.ACTIVATED),this.adapter.openMenu(),this.isMenuOpen=!0,this.adapter.setSelectAnchorAttr("aria-expanded","true")},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.layout=function(){if(this.adapter.hasLabel()){var e=this.getValue().length>0,t=this.adapter.hasClass(p.FOCUSED),n=e||t,r=this.adapter.hasClass(p.REQUIRED);this.notchOutline(n),this.adapter.floatLabel(n),this.adapter.setLabelRequired(r)}},t.prototype.layoutOptions=function(){var e=this.adapter.getMenuItemValues().indexOf(this.getValue());this.setSelectedIndex(e,!1,!0)},t.prototype.handleMenuOpened=function(){if(0!==this.adapter.getMenuItemValues().length){var e=this.getSelectedIndex(),t=e>=0?e:0;this.adapter.focusMenuItemAtIndex(t)}},t.prototype.handleMenuClosing=function(){this.adapter.setSelectAnchorAttr("aria-expanded","false")},t.prototype.handleMenuClosed=function(){this.adapter.removeClass(p.ACTIVATED),this.isMenuOpen=!1,this.adapter.isSelectAnchorFocused()||this.blur()},t.prototype.handleChange=function(){this.layout(),this.adapter.notifyChange(this.getValue()),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.handleMenuItemAction=function(e){this.setSelectedIndex(e,!0)},t.prototype.handleFocus=function(){this.adapter.addClass(p.FOCUSED),this.layout(),this.adapter.activateBottomLine()},t.prototype.handleBlur=function(){this.isMenuOpen||this.blur()},t.prototype.handleClick=function(e){this.disabled||this.recentlyClicked||(this.setClickDebounceTimeout(),this.isMenuOpen?this.adapter.closeMenu():(this.adapter.setRippleCenter(e),this.openMenu()))},t.prototype.handleKeydown=function(e){if(!this.isMenuOpen&&this.adapter.hasClass(p.FOCUSED)){var t=(0,v.l5)(e)===v._.ENTER,n=(0,v.l5)(e)===v._.SPACEBAR,r=(0,v.l5)(e)===v._.ARROW_UP,o=(0,v.l5)(e)===v._.ARROW_DOWN;if(!(e.ctrlKey||e.metaKey)&&(!n&&e.key&&1===e.key.length||n&&this.adapter.isTypeaheadInProgress())){var i=n?" ":e.key,a=this.adapter.typeaheadMatchItem(i,this.getSelectedIndex());return a>=0&&this.setSelectedIndex(a),void e.preventDefault()}(t||n||r||o)&&(this.openMenu(),e.preventDefault())}},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()){var t=this.adapter.hasClass(p.FOCUSED);if(e){var n=_.LABEL_SCALE,r=this.adapter.getLabelWidth()*n;this.adapter.notchOutline(r)}else t||this.adapter.closeOutline()}},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.getUseDefaultValidation=function(){return this.useDefaultValidation},t.prototype.setUseDefaultValidation=function(e){this.useDefaultValidation=e},t.prototype.setValid=function(e){this.useDefaultValidation||(this.customValidity=e),this.adapter.setSelectAnchorAttr("aria-invalid",(!e).toString()),e?(this.adapter.removeClass(p.INVALID),this.adapter.removeMenuClass(p.MENU_INVALID)):(this.adapter.addClass(p.INVALID),this.adapter.addMenuClass(p.MENU_INVALID)),this.syncHelperTextValidity(e)},t.prototype.isValid=function(){return this.useDefaultValidation&&this.adapter.hasClass(p.REQUIRED)&&!this.adapter.hasClass(p.DISABLED)?this.getSelectedIndex()!==_.UNSET_INDEX&&(0!==this.getSelectedIndex()||Boolean(this.getValue())):this.customValidity},t.prototype.setRequired=function(e){e?this.adapter.addClass(p.REQUIRED):this.adapter.removeClass(p.REQUIRED),this.adapter.setSelectAnchorAttr("aria-required",e.toString()),this.adapter.setLabelRequired(e)},t.prototype.getRequired=function(){return"true"===this.adapter.getSelectAnchorAttr("aria-required")},t.prototype.init=function(){var e=this.adapter.getAnchorElement();e&&(this.adapter.setMenuAnchorElement(e),this.adapter.setMenuAnchorCorner(s.OK.BOTTOM_START)),this.adapter.setMenuWrapFocus(!1),this.setDisabled(this.adapter.hasClass(p.DISABLED)),this.syncHelperTextValidity(!this.adapter.hasClass(p.INVALID)),this.layout(),this.layoutOptions()},t.prototype.blur=function(){this.adapter.removeClass(p.FOCUSED),this.layout(),this.adapter.deactivateBottomLine(),this.adapter.hasClass(p.REQUIRED)&&this.useDefaultValidation&&this.setValid(this.isValid())},t.prototype.syncHelperTextValidity=function(e){if(this.helperText){this.helperText.setValidity(e);var t=this.helperText.isVisible(),n=this.helperText.getId();t&&n?this.adapter.setSelectAnchorAttr(h.ARIA_DESCRIBEDBY,n):this.adapter.removeSelectAnchorAttr(h.ARIA_DESCRIBEDBY)}},t.prototype.setClickDebounceTimeout=function(){var e=this;clearTimeout(this.clickDebounceTimeout),this.clickDebounceTimeout=setTimeout((function(){e.recentlyClicked=!1}),_.CLICK_DEBOUNCE_TIMEOUT_MS),this.recentlyClicked=!0},t}(m.I),b={ARIA_HIDDEN:"aria-hidden",ROLE:"role"},y={HELPER_TEXT_VALIDATION_MSG:"mdc-select-helper-text--validation-msg",HELPER_TEXT_VALIDATION_MSG_PERSISTENT:"mdc-select-helper-text--validation-msg-persistent"},E=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return y},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},setAttr:function(){},getAttr:function(){return null},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.getId=function(){return this.adapter.getAttr("id")},t.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(b.ARIA_HIDDEN)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.setValidation=function(e){e?this.adapter.addClass(y.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(y.HELPER_TEXT_VALIDATION_MSG)},t.prototype.setValidationMsgPersistent=function(e){e?this.adapter.addClass(y.HELPER_TEXT_VALIDATION_MSG_PERSISTENT):this.adapter.removeClass(y.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.getIsValidation=function(){return this.adapter.hasClass(y.HELPER_TEXT_VALIDATION_MSG)},t.prototype.getIsValidationMsgPersistent=function(){return this.adapter.hasClass(y.HELPER_TEXT_VALIDATION_MSG_PERSISTENT)},t.prototype.setValidity=function(e){if(this.adapter.hasClass(y.HELPER_TEXT_VALIDATION_MSG)){var t=this.adapter.hasClass(y.HELPER_TEXT_VALIDATION_MSG_PERSISTENT);if(!e||t)return this.showToScreenReader(),void(e?this.adapter.removeAttr(b.ROLE):this.adapter.setAttr(b.ROLE,"alert"));this.adapter.removeAttr(b.ROLE),this.hide()}},t.prototype.showToScreenReader=function(){this.adapter.removeAttr(b.ARIA_HIDDEN)},t.prototype.hide=function(){this.adapter.setAttr(b.ARIA_HIDDEN,"true")},t}(m.I),x=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new E({addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t}})},t}(o.O),T={ICON_EVENT:"MDCSelect:icon",ICON_ROLE:"button"},C=["click","keydown"],A=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.savedTabIndex=null,o.interactionHandler=function(e){o.handleInteraction(e)},o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return T},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=(0,r.Ju)(C),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.registerInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.destroy=function(){var e,t;try{for(var n=(0,r.Ju)(C),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.setDisabled=function(e){this.savedTabIndex&&(e?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",T.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&this.adapter.notifyIconAction()},t}(m.I),w=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForSelect",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new A({getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)},notifyIconAction:function(){return e.emit(A.strings.ICON_EVENT,{},!0)}})},t}(o.O),I=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t,n,r,o,s){if(void 0===e&&(e=function(e){return new i.$(e)}),void 0===t&&(t=function(e){return new a.l(e)}),void 0===n&&(n=function(e){return new c.i(e)}),void 0===r&&(r=function(e){return new l.C(e)}),void 0===o&&(o=function(e){return new w(e)}),void 0===s&&(s=function(e){return new x(e)}),this.selectAnchor=this.root.querySelector(h.SELECT_ANCHOR_SELECTOR),this.selectedText=this.root.querySelector(h.SELECTED_TEXT_SELECTOR),this.hiddenInput=this.root.querySelector(h.HIDDEN_INPUT_SELECTOR),!this.selectedText)throw new Error("MDCSelect: Missing required element: The following selector must be present: '"+h.SELECTED_TEXT_SELECTOR+"'");if(this.selectAnchor.hasAttribute(h.ARIA_CONTROLS)){var u=document.getElementById(this.selectAnchor.getAttribute(h.ARIA_CONTROLS));u&&(this.helperText=s(u))}this.menuSetup(r);var d=this.root.querySelector(h.LABEL_SELECTOR);this.label=d?e(d):null;var f=this.root.querySelector(h.LINE_RIPPLE_SELECTOR);this.lineRipple=f?t(f):null;var _=this.root.querySelector(h.OUTLINE_SELECTOR);this.outline=_?n(_):null;var m=this.root.querySelector(h.LEADING_ICON_SELECTOR);m&&(this.leadingIcon=o(m)),this.root.classList.contains(p.OUTLINED)||(this.ripple=this.createRipple())},t.prototype.initialSyncWithDOM=function(){var e=this;if(this.handleFocus=function(){e.foundation.handleFocus()},this.handleBlur=function(){e.foundation.handleBlur()},this.handleClick=function(t){e.selectAnchor.focus(),e.foundation.handleClick(e.getNormalizedXCoordinate(t))},this.handleKeydown=function(t){e.foundation.handleKeydown(t)},this.handleMenuItemAction=function(t){e.foundation.handleMenuItemAction(t.detail.index)},this.handleMenuOpened=function(){e.foundation.handleMenuOpened()},this.handleMenuClosed=function(){e.foundation.handleMenuClosed()},this.handleMenuClosing=function(){e.foundation.handleMenuClosing()},this.selectAnchor.addEventListener("focus",this.handleFocus),this.selectAnchor.addEventListener("blur",this.handleBlur),this.selectAnchor.addEventListener("click",this.handleClick),this.selectAnchor.addEventListener("keydown",this.handleKeydown),this.menu.listen(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.listen(s.P$.CLOSING_EVENT,this.handleMenuClosing),this.menu.listen(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.listen(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.hiddenInput){if(this.hiddenInput.value)return this.foundation.setValue(this.hiddenInput.value,!0),void this.foundation.layout();this.hiddenInput.value=this.value}},t.prototype.destroy=function(){this.selectAnchor.removeEventListener("focus",this.handleFocus),this.selectAnchor.removeEventListener("blur",this.handleBlur),this.selectAnchor.removeEventListener("keydown",this.handleKeydown),this.selectAnchor.removeEventListener("click",this.handleClick),this.menu.unlisten(s.P$.CLOSED_EVENT,this.handleMenuClosed),this.menu.unlisten(s.P$.OPENED_EVENT,this.handleMenuOpened),this.menu.unlisten(u.P$.SELECTED_EVENT,this.handleMenuItemAction),this.menu.destroy(),this.ripple&&this.ripple.destroy(),this.outline&&this.outline.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.helperText&&this.helperText.destroy(),e.prototype.destroy.call(this)},Object.defineProperty(t.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(e){this.foundation.setValue(e)},enumerable:!1,configurable:!0}),t.prototype.setValue=function(e,t){void 0===t&&(t=!1),this.foundation.setValue(e,t)},Object.defineProperty(t.prototype,"selectedIndex",{get:function(){return this.foundation.getSelectedIndex()},set:function(e){this.foundation.setSelectedIndex(e,!0)},enumerable:!1,configurable:!0}),t.prototype.setSelectedIndex=function(e,t){void 0===t&&(t=!1),this.foundation.setSelectedIndex(e,!0,t)},Object.defineProperty(t.prototype,"disabled",{get:function(){return this.foundation.getDisabled()},set:function(e){this.foundation.setDisabled(e),this.hiddenInput&&(this.hiddenInput.disabled=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconAriaLabel",{set:function(e){this.foundation.setLeadingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconContent",{set:function(e){this.foundation.setLeadingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"helperTextContent",{set:function(e){this.foundation.setHelperTextContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useDefaultValidation",{set:function(e){this.foundation.setUseDefaultValidation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(e){this.foundation.setValid(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this.foundation.getRequired()},set:function(e){this.foundation.setRequired(e)},enumerable:!1,configurable:!0}),t.prototype.layout=function(){this.foundation.layout()},t.prototype.layoutOptions=function(){this.foundation.layoutOptions(),this.menu.layout(),this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""})),this.hiddenInput&&(this.hiddenInput.value=this.value)},t.prototype.getDefaultFoundation=function(){var e=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.getSelectAdapterMethods()),this.getCommonAdapterMethods()),this.getOutlineAdapterMethods()),this.getLabelAdapterMethods());return new g(e,this.getFoundationMap())},t.prototype.menuSetup=function(e){this.menuElement=this.root.querySelector(h.MENU_SELECTOR),this.menu=e(this.menuElement),this.menu.hasTypeahead=!0,this.menu.singleSelection=!0,this.menuItemValues=this.menu.items.map((function(e){return e.getAttribute(h.VALUE_ATTR)||""}))},t.prototype.createRipple=function(){var e=this,t=(0,r.Cl)((0,r.Cl)({},d.N.createAdapter({root:this.selectAnchor})),{registerInteractionHandler:function(t,n){e.selectAnchor.addEventListener(t,n)},deregisterInteractionHandler:function(t,n){e.selectAnchor.removeEventListener(t,n)}});return new d.N(this.selectAnchor,new f.E(t))},t.prototype.getSelectAdapterMethods=function(){var e=this;return{getMenuItemAttr:function(e,t){return e.getAttribute(t)},setSelectedText:function(t){e.selectedText.textContent=t},isSelectAnchorFocused:function(){return document.activeElement===e.selectAnchor},getSelectAnchorAttr:function(t){return e.selectAnchor.getAttribute(t)},setSelectAnchorAttr:function(t,n){e.selectAnchor.setAttribute(t,n)},removeSelectAnchorAttr:function(t){e.selectAnchor.removeAttribute(t)},addMenuClass:function(t){e.menuElement.classList.add(t)},removeMenuClass:function(t){e.menuElement.classList.remove(t)},openMenu:function(){e.menu.open=!0},closeMenu:function(){e.menu.open=!1},getAnchorElement:function(){return e.root.querySelector(h.SELECT_ANCHOR_SELECTOR)},setMenuAnchorElement:function(t){e.menu.setAnchorElement(t)},setMenuAnchorCorner:function(t){e.menu.setAnchorCorner(t)},setMenuWrapFocus:function(t){e.menu.wrapFocus=t},getSelectedIndex:function(){var t=e.menu.selectedIndex;return t instanceof Array?t[0]:t},setSelectedIndex:function(t){e.menu.selectedIndex=t},focusMenuItemAtIndex:function(t){e.menu.items[t].focus()},getMenuItemCount:function(){return e.menu.items.length},getMenuItemValues:function(){return e.menuItemValues},getMenuItemTextAtIndex:function(t){return e.menu.getPrimaryTextAtIndex(t)},isTypeaheadInProgress:function(){return e.menu.typeaheadInProgress},typeaheadMatchItem:function(t,n){return e.menu.typeaheadMatchItem(t,n)}}},t.prototype.getCommonAdapterMethods=function(){var e=this;return{addClass:function(t){e.root.classList.add(t)},removeClass:function(t){e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},setRippleCenter:function(t){e.lineRipple&&e.lineRipple.setRippleCenter(t)},activateBottomLine:function(){e.lineRipple&&e.lineRipple.activate()},deactivateBottomLine:function(){e.lineRipple&&e.lineRipple.deactivate()},notifyChange:function(t){e.hiddenInput&&(e.hiddenInput.value=t);var n=e.selectedIndex;e.emit(h.CHANGE_EVENT,{value:t,index:n},!0)}}},t.prototype.getOutlineAdapterMethods=function(){var e=this;return{hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)},closeOutline:function(){e.outline&&e.outline.closeNotch()}}},t.prototype.getLabelAdapterMethods=function(){var e=this;return{hasLabel:function(){return!!e.label},floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},t.prototype.getNormalizedXCoordinate=function(e){var t=e.target.getBoundingClientRect();return(this.isTouchEvent(e)?e.touches[0].clientX:e.clientX)-t.left},t.prototype.isTouchEvent=function(e){return Boolean(e.touches)},t.prototype.getFoundationMap=function(){return{helperText:this.helperText?this.helperText.foundationForSelect:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForSelect:void 0}},t}(o.O)},function(e,t,n){n.r(t),n.d(t,{ALWAYS_FLOAT_TYPES:function(){return E},MDCTextField:function(){return R},MDCTextFieldCharacterCounter:function(){return m},MDCTextFieldCharacterCounterFoundation:function(){return _},MDCTextFieldFoundation:function(){return C},MDCTextFieldHelperText:function(){return S},MDCTextFieldHelperTextFoundation:function(){return I},MDCTextFieldIcon:function(){return k},MDCTextFieldIconFoundation:function(){return N},VALIDATION_ATTR_WHITELIST:function(){return y},characterCountCssClasses:function(){return p},characterCountStrings:function(){return h},cssClasses:function(){return g},helperTextCssClasses:function(){return A},helperTextStrings:function(){return w},iconCssClasses:function(){return L},iconStrings:function(){return O},numbers:function(){return b},strings:function(){return v}});var r=n(2),o=n(5),i=n(46),a=n(17),s=n(64),l=n(66),u=n(67),c=n(21),d=n(19),f=n(4),p={ROOT:"mdc-text-field-character-counter"},h={ROOT_SELECTOR:"."+p.ROOT},_=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return p},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return h},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.setCounterValue=function(e,t){e=Math.min(e,t),this.adapter.setContent(e+" / "+t)},t}(f.I),m=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new _({setContent:function(t){e.root.textContent=t}})},t}(o.O),v={ARIA_CONTROLS:"aria-controls",ARIA_DESCRIBEDBY:"aria-describedby",INPUT_SELECTOR:".mdc-text-field__input",LABEL_SELECTOR:".mdc-floating-label",LEADING_ICON_SELECTOR:".mdc-text-field__icon--leading",LINE_RIPPLE_SELECTOR:".mdc-line-ripple",OUTLINE_SELECTOR:".mdc-notched-outline",PREFIX_SELECTOR:".mdc-text-field__affix--prefix",SUFFIX_SELECTOR:".mdc-text-field__affix--suffix",TRAILING_ICON_SELECTOR:".mdc-text-field__icon--trailing"},g={DISABLED:"mdc-text-field--disabled",FOCUSED:"mdc-text-field--focused",HELPER_LINE:"mdc-text-field-helper-line",INVALID:"mdc-text-field--invalid",LABEL_FLOATING:"mdc-text-field--label-floating",NO_LABEL:"mdc-text-field--no-label",OUTLINED:"mdc-text-field--outlined",ROOT:"mdc-text-field",TEXTAREA:"mdc-text-field--textarea",WITH_LEADING_ICON:"mdc-text-field--with-leading-icon",WITH_TRAILING_ICON:"mdc-text-field--with-trailing-icon",WITH_INTERNAL_COUNTER:"mdc-text-field--with-internal-counter"},b={LABEL_SCALE:.75},y=["pattern","min","max","required","step","minlength","maxlength"],E=["color","date","datetime-local","month","range","time","week"],x=["mousedown","touchstart"],T=["click","keydown"],C=function(e){function t(n,o){void 0===o&&(o={});var i=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return i.isFocused=!1,i.receivedUserInput=!1,i.valid=!0,i.useNativeValidation=!0,i.validateOnValueChange=!0,i.helperText=o.helperText,i.characterCounter=o.characterCounter,i.leadingIcon=o.leadingIcon,i.trailingIcon=o.trailingIcon,i.inputFocusHandler=function(){i.activateFocus()},i.inputBlurHandler=function(){i.deactivateFocus()},i.inputInputHandler=function(){i.handleInput()},i.setPointerXOffset=function(e){i.setTransformOrigin(e)},i.textFieldInteractionHandler=function(){i.handleTextFieldInteraction()},i.validationAttributeChangeHandler=function(e){i.handleValidationAttributeChange(e)},i}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return g},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return v},enumerable:!1,configurable:!0}),Object.defineProperty(t,"numbers",{get:function(){return b},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldAlwaysFloat",{get:function(){var e=this.getNativeInput().type;return E.indexOf(e)>=0},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldFloat",{get:function(){return this.shouldAlwaysFloat||this.isFocused||!!this.getValue()||this.isBadInput()},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"shouldShake",{get:function(){return!this.isFocused&&!this.isValid()&&!!this.getValue()},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!0},setInputAttr:function(){},removeInputAttr:function(){},registerTextFieldInteractionHandler:function(){},deregisterTextFieldInteractionHandler:function(){},registerInputInteractionHandler:function(){},deregisterInputInteractionHandler:function(){},registerValidationAttributeChangeHandler:function(){return new MutationObserver((function(){}))},deregisterValidationAttributeChangeHandler:function(){},getNativeInput:function(){return null},isFocused:function(){return!1},activateLineRipple:function(){},deactivateLineRipple:function(){},setLineRippleTransformOrigin:function(){},shakeLabel:function(){},floatLabel:function(){},setLabelRequired:function(){},hasLabel:function(){return!1},getLabelWidth:function(){return 0},hasOutline:function(){return!1},notchOutline:function(){},closeOutline:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t,n,o;this.adapter.hasLabel()&&this.getNativeInput().required&&this.adapter.setLabelRequired(!0),this.adapter.isFocused()?this.inputFocusHandler():this.adapter.hasLabel()&&this.shouldFloat&&(this.notchOutline(!0),this.adapter.floatLabel(!0),this.styleFloating(!0)),this.adapter.registerInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.registerInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.registerInputInteractionHandler("input",this.inputInputHandler);try{for(var i=(0,r.Ju)(x),a=i.next();!a.done;a=i.next()){var s=a.value;this.adapter.registerInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var l=(0,r.Ju)(T),u=l.next();!u.done;u=l.next()){s=u.value;this.adapter.registerTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}this.validationObserver=this.adapter.registerValidationAttributeChangeHandler(this.validationAttributeChangeHandler),this.setcharacterCounter(this.getValue().length)},t.prototype.destroy=function(){var e,t,n,o;this.adapter.deregisterInputInteractionHandler("focus",this.inputFocusHandler),this.adapter.deregisterInputInteractionHandler("blur",this.inputBlurHandler),this.adapter.deregisterInputInteractionHandler("input",this.inputInputHandler);try{for(var i=(0,r.Ju)(x),a=i.next();!a.done;a=i.next()){var s=a.value;this.adapter.deregisterInputInteractionHandler(s,this.setPointerXOffset)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}try{for(var l=(0,r.Ju)(T),u=l.next();!u.done;u=l.next()){s=u.value;this.adapter.deregisterTextFieldInteractionHandler(s,this.textFieldInteractionHandler)}}catch(e){n={error:e}}finally{try{u&&!u.done&&(o=l.return)&&o.call(l)}finally{if(n)throw n.error}}this.adapter.deregisterValidationAttributeChangeHandler(this.validationObserver)},t.prototype.handleTextFieldInteraction=function(){var e=this.adapter.getNativeInput();e&&e.disabled||(this.receivedUserInput=!0)},t.prototype.handleValidationAttributeChange=function(e){var t=this;e.some((function(e){return y.indexOf(e)>-1&&(t.styleValidity(!0),t.adapter.setLabelRequired(t.getNativeInput().required),!0)})),e.indexOf("maxlength")>-1&&this.setcharacterCounter(this.getValue().length)},t.prototype.notchOutline=function(e){if(this.adapter.hasOutline()&&this.adapter.hasLabel())if(e){var t=this.adapter.getLabelWidth()*b.LABEL_SCALE;this.adapter.notchOutline(t)}else this.adapter.closeOutline()},t.prototype.activateFocus=function(){this.isFocused=!0,this.styleFocused(this.isFocused),this.adapter.activateLineRipple(),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),!this.helperText||!this.helperText.isPersistent()&&this.helperText.isValidation()&&this.valid||this.helperText.showToScreenReader()},t.prototype.setTransformOrigin=function(e){if(!this.isDisabled()&&!this.adapter.hasOutline()){var t=e.touches,n=t?t[0]:e,r=n.target.getBoundingClientRect(),o=n.clientX-r.left;this.adapter.setLineRippleTransformOrigin(o)}},t.prototype.handleInput=function(){this.autoCompleteFocus(),this.setcharacterCounter(this.getValue().length)},t.prototype.autoCompleteFocus=function(){this.receivedUserInput||this.activateFocus()},t.prototype.deactivateFocus=function(){this.isFocused=!1,this.adapter.deactivateLineRipple();var e=this.isValid();this.styleValidity(e),this.styleFocused(this.isFocused),this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.adapter.shakeLabel(this.shouldShake)),this.shouldFloat||(this.receivedUserInput=!1)},t.prototype.getValue=function(){return this.getNativeInput().value},t.prototype.setValue=function(e){if(this.getValue()!==e&&(this.getNativeInput().value=e),this.setcharacterCounter(e.length),this.validateOnValueChange){var t=this.isValid();this.styleValidity(t)}this.adapter.hasLabel()&&(this.notchOutline(this.shouldFloat),this.adapter.floatLabel(this.shouldFloat),this.styleFloating(this.shouldFloat),this.validateOnValueChange&&this.adapter.shakeLabel(this.shouldShake))},t.prototype.isValid=function(){return this.useNativeValidation?this.isNativeInputValid():this.valid},t.prototype.setValid=function(e){this.valid=e,this.styleValidity(e);var t=!e&&!this.isFocused&&!!this.getValue();this.adapter.hasLabel()&&this.adapter.shakeLabel(t)},t.prototype.setValidateOnValueChange=function(e){this.validateOnValueChange=e},t.prototype.getValidateOnValueChange=function(){return this.validateOnValueChange},t.prototype.setUseNativeValidation=function(e){this.useNativeValidation=e},t.prototype.isDisabled=function(){return this.getNativeInput().disabled},t.prototype.setDisabled=function(e){this.getNativeInput().disabled=e,this.styleDisabled(e)},t.prototype.setHelperTextContent=function(e){this.helperText&&this.helperText.setContent(e)},t.prototype.setLeadingIconAriaLabel=function(e){this.leadingIcon&&this.leadingIcon.setAriaLabel(e)},t.prototype.setLeadingIconContent=function(e){this.leadingIcon&&this.leadingIcon.setContent(e)},t.prototype.setTrailingIconAriaLabel=function(e){this.trailingIcon&&this.trailingIcon.setAriaLabel(e)},t.prototype.setTrailingIconContent=function(e){this.trailingIcon&&this.trailingIcon.setContent(e)},t.prototype.setcharacterCounter=function(e){if(this.characterCounter){var t=this.getNativeInput().maxLength;if(-1===t)throw new Error("MDCTextFieldFoundation: Expected maxlength html property on text input or textarea.");this.characterCounter.setCounterValue(e,t)}},t.prototype.isBadInput=function(){return this.getNativeInput().validity.badInput||!1},t.prototype.isNativeInputValid=function(){return this.getNativeInput().validity.valid},t.prototype.styleValidity=function(e){var n=t.cssClasses.INVALID;if(e?this.adapter.removeClass(n):this.adapter.addClass(n),this.helperText){if(this.helperText.setValidity(e),!this.helperText.isValidation())return;var r=this.helperText.isVisible(),o=this.helperText.getId();r&&o?this.adapter.setInputAttr(v.ARIA_DESCRIBEDBY,o):this.adapter.removeInputAttr(v.ARIA_DESCRIBEDBY)}},t.prototype.styleFocused=function(e){var n=t.cssClasses.FOCUSED;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.styleDisabled=function(e){var n=t.cssClasses,r=n.DISABLED,o=n.INVALID;e?(this.adapter.addClass(r),this.adapter.removeClass(o)):this.adapter.removeClass(r),this.leadingIcon&&this.leadingIcon.setDisabled(e),this.trailingIcon&&this.trailingIcon.setDisabled(e)},t.prototype.styleFloating=function(e){var n=t.cssClasses.LABEL_FLOATING;e?this.adapter.addClass(n):this.adapter.removeClass(n)},t.prototype.getNativeInput=function(){return(this.adapter?this.adapter.getNativeInput():null)||{disabled:!1,maxLength:-1,required:!1,type:"input",validity:{badInput:!1,valid:!0},value:""}},t}(f.I),A={HELPER_TEXT_PERSISTENT:"mdc-text-field-helper-text--persistent",HELPER_TEXT_VALIDATION_MSG:"mdc-text-field-helper-text--validation-msg",ROOT:"mdc-text-field-helper-text"},w={ARIA_HIDDEN:"aria-hidden",ROLE:"role",ROOT_SELECTOR:"."+A.ROOT},I=function(e){function t(n){return e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this}return(0,r.C6)(t,e),Object.defineProperty(t,"cssClasses",{get:function(){return A},enumerable:!1,configurable:!0}),Object.defineProperty(t,"strings",{get:function(){return w},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){}}},enumerable:!1,configurable:!0}),t.prototype.getId=function(){return this.adapter.getAttr("id")},t.prototype.isVisible=function(){return"true"!==this.adapter.getAttr(w.ARIA_HIDDEN)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.isPersistent=function(){return this.adapter.hasClass(A.HELPER_TEXT_PERSISTENT)},t.prototype.setPersistent=function(e){e?this.adapter.addClass(A.HELPER_TEXT_PERSISTENT):this.adapter.removeClass(A.HELPER_TEXT_PERSISTENT)},t.prototype.isValidation=function(){return this.adapter.hasClass(A.HELPER_TEXT_VALIDATION_MSG)},t.prototype.setValidation=function(e){e?this.adapter.addClass(A.HELPER_TEXT_VALIDATION_MSG):this.adapter.removeClass(A.HELPER_TEXT_VALIDATION_MSG)},t.prototype.showToScreenReader=function(){this.adapter.removeAttr(w.ARIA_HIDDEN)},t.prototype.setValidity=function(e){var t=this.adapter.hasClass(A.HELPER_TEXT_PERSISTENT),n=this.adapter.hasClass(A.HELPER_TEXT_VALIDATION_MSG)&&!e;n?(this.showToScreenReader(),"alert"===this.adapter.getAttr(w.ROLE)?this.refreshAlertRole():this.adapter.setAttr(w.ROLE,"alert")):this.adapter.removeAttr(w.ROLE),t||n||this.hide()},t.prototype.hide=function(){this.adapter.setAttr(w.ARIA_HIDDEN,"true")},t.prototype.refreshAlertRole=function(){var e=this;this.adapter.removeAttr(w.ROLE),requestAnimationFrame((function(){e.adapter.setAttr(w.ROLE,"alert")}))},t}(f.I),S=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new I({addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t}})},t}(o.O),O={ICON_EVENT:"MDCTextField:icon",ICON_ROLE:"button"},L={ROOT:"mdc-text-field__icon"},P=["click","keydown"],N=function(e){function t(n){var o=e.call(this,(0,r.Cl)((0,r.Cl)({},t.defaultAdapter),n))||this;return o.savedTabIndex=null,o.interactionHandler=function(e){o.handleInteraction(e)},o}return(0,r.C6)(t,e),Object.defineProperty(t,"strings",{get:function(){return O},enumerable:!1,configurable:!0}),Object.defineProperty(t,"cssClasses",{get:function(){return L},enumerable:!1,configurable:!0}),Object.defineProperty(t,"defaultAdapter",{get:function(){return{getAttr:function(){return null},setAttr:function(){},removeAttr:function(){},setContent:function(){},registerInteractionHandler:function(){},deregisterInteractionHandler:function(){},notifyIconAction:function(){}}},enumerable:!1,configurable:!0}),t.prototype.init=function(){var e,t;this.savedTabIndex=this.adapter.getAttr("tabindex");try{for(var n=(0,r.Ju)(P),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.registerInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.destroy=function(){var e,t;try{for(var n=(0,r.Ju)(P),o=n.next();!o.done;o=n.next()){var i=o.value;this.adapter.deregisterInteractionHandler(i,this.interactionHandler)}}catch(t){e={error:t}}finally{try{o&&!o.done&&(t=n.return)&&t.call(n)}finally{if(e)throw e.error}}},t.prototype.setDisabled=function(e){this.savedTabIndex&&(e?(this.adapter.setAttr("tabindex","-1"),this.adapter.removeAttr("role")):(this.adapter.setAttr("tabindex",this.savedTabIndex),this.adapter.setAttr("role",O.ICON_ROLE)))},t.prototype.setAriaLabel=function(e){this.adapter.setAttr("aria-label",e)},t.prototype.setContent=function(e){this.adapter.setContent(e)},t.prototype.handleInteraction=function(e){var t="Enter"===e.key||13===e.keyCode;("click"===e.type||t)&&(e.preventDefault(),this.adapter.notifyIconAction())},t}(f.I),k=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},Object.defineProperty(t.prototype,"foundationForTextField",{get:function(){return this.foundation},enumerable:!1,configurable:!0}),t.prototype.getDefaultFoundation=function(){var e=this;return new N({getAttr:function(t){return e.root.getAttribute(t)},setAttr:function(t,n){return e.root.setAttribute(t,n)},removeAttr:function(t){return e.root.removeAttribute(t)},setContent:function(t){e.root.textContent=t},registerInteractionHandler:function(t,n){return e.listen(t,n)},deregisterInteractionHandler:function(t,n){return e.unlisten(t,n)},notifyIconAction:function(){return e.emit(N.strings.ICON_EVENT,{},!0)}})},t}(o.O),R=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return(0,r.C6)(t,e),t.attachTo=function(e){return new t(e)},t.prototype.initialize=function(e,t,n,r,o,i,a){void 0===e&&(e=function(e,t){return new c.N(e,t)}),void 0===t&&(t=function(e){return new l.l(e)}),void 0===n&&(n=function(e){return new S(e)}),void 0===r&&(r=function(e){return new m(e)}),void 0===o&&(o=function(e){return new k(e)}),void 0===i&&(i=function(e){return new s.$(e)}),void 0===a&&(a=function(e){return new u.i(e)}),this.input=this.root.querySelector(v.INPUT_SELECTOR);var d=this.root.querySelector(v.LABEL_SELECTOR);this.label=d?i(d):null;var f=this.root.querySelector(v.LINE_RIPPLE_SELECTOR);this.lineRipple=f?t(f):null;var p=this.root.querySelector(v.OUTLINE_SELECTOR);this.outline=p?a(p):null;var h=I.strings,b=this.root.nextElementSibling,y=b&&b.classList.contains(g.HELPER_LINE),E=y&&b&&b.querySelector(h.ROOT_SELECTOR);this.helperText=E?n(E):null;var x=_.strings,T=this.root.querySelector(x.ROOT_SELECTOR);!T&&y&&b&&(T=b.querySelector(x.ROOT_SELECTOR)),this.characterCounter=T?r(T):null;var C=this.root.querySelector(v.LEADING_ICON_SELECTOR);this.leadingIcon=C?o(C):null;var A=this.root.querySelector(v.TRAILING_ICON_SELECTOR);this.trailingIcon=A?o(A):null,this.prefix=this.root.querySelector(v.PREFIX_SELECTOR),this.suffix=this.root.querySelector(v.SUFFIX_SELECTOR),this.ripple=this.createRipple(e)},t.prototype.destroy=function(){this.ripple&&this.ripple.destroy(),this.lineRipple&&this.lineRipple.destroy(),this.helperText&&this.helperText.destroy(),this.characterCounter&&this.characterCounter.destroy(),this.leadingIcon&&this.leadingIcon.destroy(),this.trailingIcon&&this.trailingIcon.destroy(),this.label&&this.label.destroy(),this.outline&&this.outline.destroy(),e.prototype.destroy.call(this)},t.prototype.initialSyncWithDOM=function(){this.disabled=this.input.disabled},Object.defineProperty(t.prototype,"value",{get:function(){return this.foundation.getValue()},set:function(e){this.foundation.setValue(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"disabled",{get:function(){return this.foundation.isDisabled()},set:function(e){this.foundation.setDisabled(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"valid",{get:function(){return this.foundation.isValid()},set:function(e){this.foundation.setValid(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"required",{get:function(){return this.input.required},set:function(e){this.input.required=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"pattern",{get:function(){return this.input.pattern},set:function(e){this.input.pattern=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"minLength",{get:function(){return this.input.minLength},set:function(e){this.input.minLength=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"maxLength",{get:function(){return this.input.maxLength},set:function(e){e<0?this.input.removeAttribute("maxLength"):this.input.maxLength=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"min",{get:function(){return this.input.min},set:function(e){this.input.min=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"max",{get:function(){return this.input.max},set:function(e){this.input.max=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"step",{get:function(){return this.input.step},set:function(e){this.input.step=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"helperTextContent",{set:function(e){this.foundation.setHelperTextContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconAriaLabel",{set:function(e){this.foundation.setLeadingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"leadingIconContent",{set:function(e){this.foundation.setLeadingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trailingIconAriaLabel",{set:function(e){this.foundation.setTrailingIconAriaLabel(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"trailingIconContent",{set:function(e){this.foundation.setTrailingIconContent(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"useNativeValidation",{set:function(e){this.foundation.setUseNativeValidation(e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"prefixText",{get:function(){return this.prefix?this.prefix.textContent:null},set:function(e){this.prefix&&(this.prefix.textContent=e)},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"suffixText",{get:function(){return this.suffix?this.suffix.textContent:null},set:function(e){this.suffix&&(this.suffix.textContent=e)},enumerable:!1,configurable:!0}),t.prototype.focus=function(){this.input.focus()},t.prototype.layout=function(){var e=this.foundation.shouldFloat;this.foundation.notchOutline(e)},t.prototype.getDefaultFoundation=function(){var e=(0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)((0,r.Cl)({},this.getRootAdapterMethods()),this.getInputAdapterMethods()),this.getLabelAdapterMethods()),this.getLineRippleAdapterMethods()),this.getOutlineAdapterMethods());return new C(e,this.getFoundationMap())},t.prototype.getRootAdapterMethods=function(){var e=this;return{addClass:function(t){return e.root.classList.add(t)},removeClass:function(t){return e.root.classList.remove(t)},hasClass:function(t){return e.root.classList.contains(t)},registerTextFieldInteractionHandler:function(t,n){e.listen(t,n)},deregisterTextFieldInteractionHandler:function(t,n){e.unlisten(t,n)},registerValidationAttributeChangeHandler:function(t){var n=new MutationObserver((function(e){return t(function(e){return e.map((function(e){return e.attributeName})).filter((function(e){return e}))}(e))}));return n.observe(e.input,{attributes:!0}),n},deregisterValidationAttributeChangeHandler:function(e){e.disconnect()}}},t.prototype.getInputAdapterMethods=function(){var e=this;return{getNativeInput:function(){return e.input},setInputAttr:function(t,n){e.input.setAttribute(t,n)},removeInputAttr:function(t){e.input.removeAttribute(t)},isFocused:function(){return document.activeElement===e.input},registerInputInteractionHandler:function(t,n){e.input.addEventListener(t,n,(0,i.E)())},deregisterInputInteractionHandler:function(t,n){e.input.removeEventListener(t,n,(0,i.E)())}}},t.prototype.getLabelAdapterMethods=function(){var e=this;return{floatLabel:function(t){e.label&&e.label.float(t)},getLabelWidth:function(){return e.label?e.label.getWidth():0},hasLabel:function(){return Boolean(e.label)},shakeLabel:function(t){e.label&&e.label.shake(t)},setLabelRequired:function(t){e.label&&e.label.setRequired(t)}}},t.prototype.getLineRippleAdapterMethods=function(){var e=this;return{activateLineRipple:function(){e.lineRipple&&e.lineRipple.activate()},deactivateLineRipple:function(){e.lineRipple&&e.lineRipple.deactivate()},setLineRippleTransformOrigin:function(t){e.lineRipple&&e.lineRipple.setRippleCenter(t)}}},t.prototype.getOutlineAdapterMethods=function(){var e=this;return{closeOutline:function(){e.outline&&e.outline.closeNotch()},hasOutline:function(){return Boolean(e.outline)},notchOutline:function(t){e.outline&&e.outline.notch(t)}}},t.prototype.getFoundationMap=function(){return{characterCounter:this.characterCounter?this.characterCounter.foundationForTextField:void 0,helperText:this.helperText?this.helperText.foundationForTextField:void 0,leadingIcon:this.leadingIcon?this.leadingIcon.foundationForTextField:void 0,trailingIcon:this.trailingIcon?this.trailingIcon.foundationForTextField:void 0}},t.prototype.createRipple=function(e){var t=this,n=this.root.classList.contains(g.TEXTAREA),o=this.root.classList.contains(g.OUTLINED);if(n||o)return null;var s=(0,r.Cl)((0,r.Cl)({},c.N.createAdapter(this)),{isSurfaceActive:function(){return a.cK(t.input,":active")},registerInteractionHandler:function(e,n){t.input.addEventListener(e,n,(0,i.E)())},deregisterInteractionHandler:function(e,n){t.input.removeEventListener(e,n,(0,i.E)())}});return e(this.root,new d.E(s))},t}(o.O)},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(14),i=n(99),a=n(71),s=n(3),l=s.createComponent((function(e,t){const{outlined:n,...o}=e,i=s.useClassNames(e,["mdc-card",{"mdc-card--outlined":n}]);return r.jsx(s.Tag,{...o,ref:t,className:i})})),u=s.createComponent((function(e,t){const{square:n,sixteenByNine:o,...i}=e,a=s.useClassNames(e,["mdc-card__media",{"mdc-card__media--square":n,"mdc-card__media--16-9":o}]);return r.jsx(s.Tag,{tag:"section",...i,ref:t,className:a})})),c=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__media-content"]);return r.jsx(s.Tag,{...e,ref:t,className:n})})),d=o.withRipple({surface:!1})(s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__primary-action"]),{children:o,...i}=e;return r.jsxs(s.Tag,{...i,ref:t,className:n,children:[o,r.jsx("div",{className:"mdc-card__ripple"})]})}))),f=s.createComponent((function(e,t){const{fullBleed:n,...o}=e,i=s.useClassNames(e,["mdc-card__actions",{"mdc-card__actions--full-bleed":n}]);return r.jsx(s.Tag,{tag:"div",...o,ref:t,className:i})})),p=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action-buttons"]);return r.jsx(s.Tag,{...e,ref:t,className:n})})),h=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action-icons"]);return r.jsx(s.Tag,{...e,ref:t,className:n})})),_=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action","mdc-card__action--icon","mdc-icon-button--display-flex"]);return r.jsx(a.IconButton,{...e,ref:t,className:n})})),m=s.createComponent((function(e,t){const n=s.useClassNames(e,["mdc-card__action","mdc-card__action--button"]);return r.jsx(i.Button,{...e,ref:t,className:n})}));t.Card=l,t.CardActionButton=m,t.CardActionButtons=p,t.CardActionIcon=_,t.CardActionIcons=h,t.CardActions=f,t.CardMedia=u,t.CardMediaContent=c,t.CardPrimaryAction=d},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(14),a=n(18),s=n(100),l=n(3),u=i.withRipple({surface:!1})(l.createComponent((function(e,t){const{dense:n,raised:o,unelevated:i,outlined:a,danger:u,icon:h,label:_,trailingIcon:m,children:v,touch:g,...b}=e,y=s.useIsWrappedTouchTarget(g),E=l.useClassNames(e,["mdc-button",{"mdc-button--dense":n,"mdc-button--raised":o,"mdc-button--unelevated":i,"mdc-button--outlined":a,"mdc-button--touch":y}]);if(u){const e=b.style||{},t={"--mdc-theme-primary":"var(--mdc-theme-error)","--mdc-theme-on-primary":"var(--mdc-theme-on-error)"};b.style={...t,...e}}return r.jsxs(l.Tag,{tag:"button",...b,ref:t,className:E,children:[r.jsx(f,{}),r.jsx(c,{}),r.jsx(d,{}),!!h&&r.jsx(p,{icon:h}),r.jsxs("span",{className:"mdc-button__label",children:[_,v]}),!!m&&r.jsx(p,{icon:m})]})}))),c=o.memo((function(){return r.jsx("div",{className:"mdc-button__touch"})})),d=o.memo((function(){return r.jsx("div",{className:"mdc-button__focus-ring"})})),f=o.memo((function(){return r.jsx("div",{className:"mdc-button__ripple"})})),p=l.createMemoComponent((function(e,t){const n=l.useClassNames(e,["mdc-button__icon"]);return r.jsx(a.Icon,{...e,className:n,ref:t})}));t.Button=u},function(e,t,n){Object.defineProperty(t,Symbol.toStringTag,{value:"Module"});const r=n(1),o=n(0),i=n(14),a=n(3),s=o.createContext(!1),l=i.withRipple({surface:!1})(a.createComponent((function(e,t){const{children:n,...o}=e,i=a.useClassNames(e,["mdc-touch-target-wrapper"]);return r.jsx(a.Tag,{tag:"div",...o,ref:t,className:i,children:r.jsx(s.Provider,{value:!0,children:n})})})));t.TouchTargetWrapper=l,t.useIsWrappedTouchTarget=e=>o.useContext(s)||e||!1},function(e){e.exports=function(e){var t=["0","1","2","3","4","5","6","7","8","9","a","b","c","d","e","f"];function n(e,t){var n=e[0],r=e[1],o=e[2],i=e[3];r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[0]-680876936|0)<<7|n>>>25)+r|0)&r|~n&o)+t[1]-389564586|0)<<12|i>>>20)+n|0)&n|~i&r)+t[2]+606105819|0)<<17|o>>>15)+i|0)&i|~o&n)+t[3]-1044525330|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[4]-176418897|0)<<7|n>>>25)+r|0)&r|~n&o)+t[5]+1200080426|0)<<12|i>>>20)+n|0)&n|~i&r)+t[6]-1473231341|0)<<17|o>>>15)+i|0)&i|~o&n)+t[7]-45705983|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[8]+1770035416|0)<<7|n>>>25)+r|0)&r|~n&o)+t[9]-1958414417|0)<<12|i>>>20)+n|0)&n|~i&r)+t[10]-42063|0)<<17|o>>>15)+i|0)&i|~o&n)+t[11]-1990404162|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&o|~r&i)+t[12]+1804603682|0)<<7|n>>>25)+r|0)&r|~n&o)+t[13]-40341101|0)<<12|i>>>20)+n|0)&n|~i&r)+t[14]-1502002290|0)<<17|o>>>15)+i|0)&i|~o&n)+t[15]+1236535329|0)<<22|r>>>10)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[1]-165796510|0)<<5|n>>>27)+r|0)&o|r&~o)+t[6]-1069501632|0)<<9|i>>>23)+n|0)&r|n&~r)+t[11]+643717713|0)<<14|o>>>18)+i|0)&n|i&~n)+t[0]-373897302|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[5]-701558691|0)<<5|n>>>27)+r|0)&o|r&~o)+t[10]+38016083|0)<<9|i>>>23)+n|0)&r|n&~r)+t[15]-660478335|0)<<14|o>>>18)+i|0)&n|i&~n)+t[4]-405537848|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[9]+568446438|0)<<5|n>>>27)+r|0)&o|r&~o)+t[14]-1019803690|0)<<9|i>>>23)+n|0)&r|n&~r)+t[3]-187363961|0)<<14|o>>>18)+i|0)&n|i&~n)+t[8]+1163531501|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r&i|o&~i)+t[13]-1444681467|0)<<5|n>>>27)+r|0)&o|r&~o)+t[2]-51403784|0)<<9|i>>>23)+n|0)&r|n&~r)+t[7]+1735328473|0)<<14|o>>>18)+i|0)&n|i&~n)+t[12]-1926607734|0)<<20|r>>>12)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[5]-378558|0)<<4|n>>>28)+r|0)^r^o)+t[8]-2022574463|0)<<11|i>>>21)+n|0)^n^r)+t[11]+1839030562|0)<<16|o>>>16)+i|0)^i^n)+t[14]-35309556|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[1]-1530992060|0)<<4|n>>>28)+r|0)^r^o)+t[4]+1272893353|0)<<11|i>>>21)+n|0)^n^r)+t[7]-155497632|0)<<16|o>>>16)+i|0)^i^n)+t[10]-1094730640|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[13]+681279174|0)<<4|n>>>28)+r|0)^r^o)+t[0]-358537222|0)<<11|i>>>21)+n|0)^n^r)+t[3]-722521979|0)<<16|o>>>16)+i|0)^i^n)+t[6]+76029189|0)<<23|r>>>9)+o|0,r=((r+=((o=((o+=((i=((i+=((n=((n+=(r^o^i)+t[9]-640364487|0)<<4|n>>>28)+r|0)^r^o)+t[12]-421815835|0)<<11|i>>>21)+n|0)^n^r)+t[15]+530742520|0)<<16|o>>>16)+i|0)^i^n)+t[2]-995338651|0)<<23|r>>>9)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[0]-198630844|0)<<6|n>>>26)+r|0)|~o))+t[7]+1126891415|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[14]-1416354905|0)<<15|o>>>17)+i|0)|~n))+t[5]-57434055|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[12]+1700485571|0)<<6|n>>>26)+r|0)|~o))+t[3]-1894986606|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[10]-1051523|0)<<15|o>>>17)+i|0)|~n))+t[1]-2054922799|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[8]+1873313359|0)<<6|n>>>26)+r|0)|~o))+t[15]-30611744|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[6]-1560198380|0)<<15|o>>>17)+i|0)|~n))+t[13]+1309151649|0)<<21|r>>>11)+o|0,r=((r+=((i=((i+=(r^((n=((n+=(o^(r|~i))+t[4]-145523070|0)<<6|n>>>26)+r|0)|~o))+t[11]-1120210379|0)<<10|i>>>22)+n|0)^((o=((o+=(n^(i|~r))+t[2]+718787259|0)<<15|o>>>17)+i|0)|~n))+t[9]-343485551|0)<<21|r>>>11)+o|0,e[0]=n+e[0]|0,e[1]=r+e[1]|0,e[2]=o+e[2]|0,e[3]=i+e[3]|0}function r(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e.charCodeAt(t)+(e.charCodeAt(t+1)<<8)+(e.charCodeAt(t+2)<<16)+(e.charCodeAt(t+3)<<24);return n}function o(e){var t,n=[];for(t=0;t<64;t+=4)n[t>>2]=e[t]+(e[t+1]<<8)+(e[t+2]<<16)+(e[t+3]<<24);return n}function i(e){var t,o,i,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)n(c,r(e.substring(t-64,t)));for(o=(e=e.substring(t-64)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<o;t+=1)i[t>>2]|=e.charCodeAt(t)<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(n(c,i),t=0;t<16;t+=1)i[t]=0;return a=(a=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,i[14]=s,i[15]=l,n(c,i),c}function a(e){var t,r,i,a,s,l,u=e.length,c=[1732584193,-271733879,-1732584194,271733878];for(t=64;t<=u;t+=64)n(c,o(e.subarray(t-64,t)));for(r=(e=t-64<u?e.subarray(t-64):new Uint8Array(0)).length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0],t=0;t<r;t+=1)i[t>>2]|=e[t]<<(t%4<<3);if(i[t>>2]|=128<<(t%4<<3),t>55)for(n(c,i),t=0;t<16;t+=1)i[t]=0;return a=(a=8*u).toString(16).match(/(.*?)(.{0,8})$/),s=parseInt(a[2],16),l=parseInt(a[1],16)||0,i[14]=s,i[15]=l,n(c,i),c}function s(e){var n,r="";for(n=0;n<4;n+=1)r+=t[e>>8*n+4&15]+t[e>>8*n&15];return r}function l(e){var t;for(t=0;t<e.length;t+=1)e[t]=s(e[t]);return e.join("")}function u(e){return/[\u0080-\uFFFF]/.test(e)&&(e=unescape(encodeURIComponent(e))),e}function c(e,t){var n,r=e.length,o=new ArrayBuffer(r),i=new Uint8Array(o);for(n=0;n<r;n+=1)i[n]=e.charCodeAt(n);return t?i:o}function d(e){return String.fromCharCode.apply(null,new Uint8Array(e))}function f(e,t,n){var r=new Uint8Array(e.byteLength+t.byteLength);return r.set(new Uint8Array(e)),r.set(new Uint8Array(t),e.byteLength),n?r:r.buffer}function p(e){var t,n=[],r=e.length;for(t=0;t<r-1;t+=2)n.push(parseInt(e.substr(t,2),16));return String.fromCharCode.apply(String,n)}function h(){this.reset()}return l(i("hello")),"undefined"==typeof ArrayBuffer||ArrayBuffer.prototype.slice||function(){function t(e,t){return(e=0|e||0)<0?Math.max(e+t,0):Math.min(e,t)}ArrayBuffer.prototype.slice=function(n,r){var o,i,a,s,l=this.byteLength,u=t(n,l),c=l;return r!==e&&(c=t(r,l)),u>c?new ArrayBuffer(0):(o=c-u,i=new ArrayBuffer(o),a=new Uint8Array(i),s=new Uint8Array(this,u,o),a.set(s),i)}}(),h.prototype.append=function(e){return this.appendBinary(u(e)),this},h.prototype.appendBinary=function(e){this._buff+=e,this._length+=e.length;var t,o=this._buff.length;for(t=64;t<=o;t+=64)n(this._hash,r(this._buff.substring(t-64,t)));return this._buff=this._buff.substring(t-64),this},h.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<o;t+=1)i[t>>2]|=r.charCodeAt(t)<<(t%4<<3);return this._finish(i,o),n=l(this._hash),e&&(n=p(n)),this.reset(),n},h.prototype.reset=function(){return this._buff="",this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.prototype.getState=function(){return{buff:this._buff,length:this._length,hash:this._hash.slice()}},h.prototype.setState=function(e){return this._buff=e.buff,this._length=e.length,this._hash=e.hash,this},h.prototype.destroy=function(){delete this._hash,delete this._buff,delete this._length},h.prototype._finish=function(e,t){var r,o,i,a=t;if(e[a>>2]|=128<<(a%4<<3),a>55)for(n(this._hash,e),a=0;a<16;a+=1)e[a]=0;r=(r=8*this._length).toString(16).match(/(.*?)(.{0,8})$/),o=parseInt(r[2],16),i=parseInt(r[1],16)||0,e[14]=o,e[15]=i,n(this._hash,e)},h.hash=function(e,t){return h.hashBinary(u(e),t)},h.hashBinary=function(e,t){var n=l(i(e));return t?p(n):n},h.ArrayBuffer=function(){this.reset()},h.ArrayBuffer.prototype.append=function(e){var t,r=f(this._buff.buffer,e,!0),i=r.length;for(this._length+=e.byteLength,t=64;t<=i;t+=64)n(this._hash,o(r.subarray(t-64,t)));return this._buff=t-64<i?new Uint8Array(r.buffer.slice(t-64)):new Uint8Array(0),this},h.ArrayBuffer.prototype.end=function(e){var t,n,r=this._buff,o=r.length,i=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0];for(t=0;t<o;t+=1)i[t>>2]|=r[t]<<(t%4<<3);return this._finish(i,o),n=l(this._hash),e&&(n=p(n)),this.reset(),n},h.ArrayBuffer.prototype.reset=function(){return this._buff=new Uint8Array(0),this._length=0,this._hash=[1732584193,-271733879,-1732584194,271733878],this},h.ArrayBuffer.prototype.getState=function(){var e=h.prototype.getState.call(this);return e.buff=d(e.buff),e},h.ArrayBuffer.prototype.setState=function(e){return e.buff=c(e.buff,!0),h.prototype.setState.call(this,e)},h.ArrayBuffer.prototype.destroy=h.prototype.destroy,h.ArrayBuffer.prototype._finish=h.prototype._finish,h.ArrayBuffer.hash=function(e,t){var n=l(a(new Uint8Array(e)));return t?p(n):n},h}()},,,,,,,function(e,t,n){function r(e,t){return new Promise((function(n,r){var o=new Image;t&&(o.crossOrigin=t),o.onload=function(){n(o)},o.onerror=r,o.src=e}))}function o(e){var t=document.createElement("canvas");return t.width=e.width,t.height=e.height,t.getContext("2d").drawImage(e,0,0,e.width,e.height,0,0,e.width,e.height),t}function i(e,t){e=e||[],"string"==typeof(t=t||{})&&(t={type:t});try{return new Blob(e,t)}catch(o){if("TypeError"!==o.name)throw o;for(var n=new("undefined"!=typeof BlobBuilder?BlobBuilder:"undefined"!=typeof MSBlobBuilder?MSBlobBuilder:"undefined"!=typeof MozBlobBuilder?MozBlobBuilder:WebKitBlobBuilder),r=0;r<e.length;r+=1)n.append(e[r]);return n.getBlob(t.type)}}function a(e){return("undefined"!=typeof URL?URL:webkitURL).createObjectURL(e)}function s(e){return("undefined"!=typeof URL?URL:webkitURL).revokeObjectURL(e)}function l(e){return new Promise((function(t,n){var r=new FileReader,o="function"==typeof r.readAsBinaryString;r.onloadend=function(){var e=r.result||"";if(o)return t(e);t(b(e))},r.onerror=n,o?r.readAsBinaryString(e):r.readAsArrayBuffer(e)}))}function u(e,t){var n=[y(atob(e))];return t?i(n,{type:t}):i(n)}function c(e,t){return u(btoa(e),t)}function d(e){return l(e).then(btoa)}function f(e){var t=e.match(/data:([^;]+)/)[1],n=e.replace(/^[^,]+,/,"");return i([y(atob(n))],{type:t})}function p(e){return d(e).then((function(t){return"data:"+e.type+";base64,"+t}))}function h(e,t,n,i){return t=t||"image/png",r(e,n).then(o).then((function(e){return e.toDataURL(t,i)}))}function _(e,t,n){return"function"==typeof e.toBlob?new Promise((function(r){e.toBlob(r,t,n)})):Promise.resolve(f(e.toDataURL(t,n)))}function m(e,t,n,i){return t=t||"image/png",r(e,n).then(o).then((function(e){return _(e,t,i)}))}function v(e,t){return i([e],t)}function g(e){return new Promise((function(t,n){var r=new FileReader;r.onloadend=function(){var e=r.result||new ArrayBuffer(0);t(e)},r.onerror=n,r.readAsArrayBuffer(e)}))}function b(e){for(var t="",n=new Uint8Array(e),r=n.byteLength,o=-1;++o<r;)t+=String.fromCharCode(n[o]);return t}function y(e){for(var t=e.length,n=new ArrayBuffer(t),r=new Uint8Array(n),o=-1;++o<t;)r[o]=e.charCodeAt(o);return n}n.r(t),n.d(t,{arrayBufferToBinaryString:function(){return b},arrayBufferToBlob:function(){return v},base64StringToBlob:function(){return u},binaryStringToArrayBuffer:function(){return y},binaryStringToBlob:function(){return c},blobToArrayBuffer:function(){return g},blobToBase64String:function(){return d},blobToBinaryString:function(){return l},blobToDataURL:function(){return p},canvasToBlob:function(){return _},createBlob:function(){return i},createObjectURL:function(){return a},dataURLToBlob:function(){return f},imgSrcToBlob:function(){return m},imgSrcToDataURL:function(){return h},revokeObjectURL:function(){return s}})},,,,,,,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__0__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__48__,__WEBPACK_EXTERNAL_MODULE__20__,__WEBPACK_EXTERNAL_MODULE__22__,__WEBPACK_EXTERNAL_MODULE__23__,__WEBPACK_EXTERNAL_MODULE__24__,__WEBPACK_EXTERNAL_MODULE__25__,__WEBPACK_EXTERNAL_MODULE__26__,__WEBPACK_EXTERNAL_MODULE__27__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__28__,__WEBPACK_EXTERNAL_MODULE__29__,__WEBPACK_EXTERNAL_MODULE__49__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__30__,__WEBPACK_EXTERNAL_MODULE__21__,__WEBPACK_EXTERNAL_MODULE__10__,__WEBPACK_EXTERNAL_MODULE__31__,__WEBPACK_EXTERNAL_MODULE__32__,__WEBPACK_EXTERNAL_MODULE__33__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__50__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__14__,__WEBPACK_EXTERNAL_MODULE__15__,__WEBPACK_EXTERNAL_MODULE__16__,__WEBPACK_EXTERNAL_MODULE__17__,__WEBPACK_EXTERNAL_MODULE__18__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(module,__unused_webpack_exports,__nested_webpack_require_6321__){var __dirname="/",t;if(module=__nested_webpack_require_6321__.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_6321__.g||null===__nested_webpack_require_6321__.g?{}:__nested_webpack_require_6321__.g;t=function t(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__1__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__1__},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(module,__unused_webpack_exports,__nested_webpack_require_3843__){var __dirname="/",t;if(module=__nested_webpack_require_3843__.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_3843__.g||null===__nested_webpack_require_3843__.g?{}:__nested_webpack_require_3843__.g;t=function t(__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__,__WEBPACK_EXTERNAL_MODULE__1__,__WEBPACK_EXTERNAL_MODULE__2__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__1__},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(module,__unused_webpack_exports,__nested_webpack_require_3532__){var __dirname="/",e,t,r;if(module=__nested_webpack_require_3532__.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_3532__.g||null===__nested_webpack_require_3532__.g?{}:__nested_webpack_require_3532__.g;module.exports=(e=__nested_webpack_require_3532__(0),t=__nested_webpack_require_3532__(1),r=__nested_webpack_require_3532__(2),function(){var n=[function(t){t.exports=e},function(e){e.exports=t},function(e){e.exports=r}],o={};function i(e){var t=o[e];if(void 0!==t)return t.exports;var r=o[e]={exports:{}};return n[e](r,r.exports,i),r.exports}i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,{a:t}),t},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var a={};return function(){i.r(a),i.d(a,{property:function(){return s}});var e=i(0),t=i.n(e),n=i(1),r=i.n(n),o=i(2);function s(e){return void 0===e&&(e={}),e=t()({readAttribute:!0,type:o.string},e),function(n,o){if("string"==typeof o){var i,a=n.self||n.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(a,"observedAttributes")||(a.observedAttributes=a.observedAttributes?[].concat(a.observedAttributes):[]);var s=r().stringCamelCaseToDelimited(o);a.observedAttributes.includes(s)||a.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(a,"propertyTypes")||(a.propertyTypes=a.propertyTypes?t()({},a.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,o)||(a.propertyTypes[o]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(a,"propertiesToReflectAsAttributes")||(a.propertiesToReflectAsAttributes=a.propertiesToReflectAsAttributes?r().copy(a.propertiesToReflectAsAttributes):[]),(e.update||a.propertiesToReflectAsAttributes instanceof Map&&!a.propertiesToReflectAsAttributes.has(o)||Array.isArray(a.propertiesToReflectAsAttributes)&&!a.propertiesToReflectAsAttributes.includes(o)||null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(a.propertiesToReflectAsAttributes,o))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&a.propertyTypes&&Object.prototype.hasOwnProperty.call(a.propertyTypes,o)&&(i=a.propertyTypes[o]):i=e.writeAttribute,void 0!==i&&(Array.isArray(a.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?a.propertiesToReflectAsAttributes.push(o):a.propertiesToReflectAsAttributes=a.normalizePropertyTypeList(a.propertiesToReflectAsAttributes)),a.propertiesToReflectAsAttributes instanceof Map&&a.propertiesToReflectAsAttributes.set(o,i),null!==a.propertiesToReflectAsAttributes&&"object"==typeof a.propertiesToReflectAsAttributes&&(a.propertiesToReflectAsAttributes[o]=i)))),e.alias&&(Object.prototype.hasOwnProperty.call(a,"propertyAliases")||(a.propertyAliases=a.propertyAliases?t()({},a.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(a,o)||(a.propertyAliases[o]=e.alias))}}}a.default=s}(),a}())}],__webpack_module_cache__={};function __nested_webpack_require_7180__(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_7180__),n.loaded=!0,n.exports}__nested_webpack_require_7180__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_7180__.d(t,{a:t}),t},__nested_webpack_require_7180__.d=function(e,t){for(var n in t)__nested_webpack_require_7180__.o(t,n)&&!__nested_webpack_require_7180__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_7180__.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_7180__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_7180__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_7180__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_7180__.r(__nested_webpack_exports__),__nested_webpack_require_7180__.d(__nested_webpack_exports__,{GenericHTMLElement:function(){return C},Web:function(){return A},api:function(){return w}});var e,t,n,r,o=__nested_webpack_require_7180__(4),i=__nested_webpack_require_7180__.n(o),a=__nested_webpack_require_7180__(0),s=__nested_webpack_require_7180__.n(a),l=__nested_webpack_require_7180__(5),u=__nested_webpack_require_7180__.n(l),c=__nested_webpack_require_7180__(6),d=__nested_webpack_require_7180__.n(c),f=__nested_webpack_require_7180__(3),p=__nested_webpack_require_7180__.n(f),h=__nested_webpack_require_7180__(7),_=__nested_webpack_require_7180__.n(h),m=(__nested_webpack_require_7180__(8),__nested_webpack_require_7180__(9)),v=__nested_webpack_require_7180__.n(m),g=__nested_webpack_require_7180__(1),b=__nested_webpack_require_7180__.n(g),y=__nested_webpack_require_7180__(2),E=__nested_webpack_require_7180__(14);function x(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=Object.prototype.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=new Array(t);n<t;n++)r[n]=e[n];return r}var C="undefined"==typeof HTMLElement?function(){}:HTMLElement,A=(e=__nested_webpack_require_7180__.n(E)()({type:y.boolean,writeAttribute:!0}),r=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope={Tools:b()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,u()(r,"isRoot",n,d()(r)),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=d()(r),r.defineGetterAndSetterInterface(),r}p()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},r.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,b().timeout((function(){n.batchedAttributeUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("attributeChanged")}))):this.render("attributeChanged")},r.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"):b().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=x(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=x(e.value.values());!(n=r()).done;)(0,n.value)();this.slots={}},r.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=x(b().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=r()).done;)n()},r.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.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},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},r.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,b().timeout((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),b().timeout((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})).then(b().noop,b().noop)):(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()}},r.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=b().stringEvaluate(a,t,!1,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[b().stringDelimitedToCamelCase(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);i=b().stringDelimitedToCamelCase(i.substring(3)),u.has(i)&&u.get(i)(),t=s()({event:void 0,parameters:void 0},t);var c=b().stringCompile(a,t,!0);if(c.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,c.error);else{var d=c.templateFunction.bind(e),f=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{d.apply(void 0,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('", "')+'": '+b().represent(t))}};e.addEventListener(i,f),u.set(i,(function(){e.removeEventListener(i,f),u.delete(i),0===u.size&&n.domNodeEventBindings.delete(e)}))}}}},i=x(e.getAttributeNames());!(r=i()).done;)o()},r.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}},r.compileDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=s()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-"))return n.map;if(n.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=b().stringCompile("`"+o+"`",t);n.map.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var u="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(u)&&(a=u.replace(/ /g," ").trim())}var c=[];if(a){var d=b().stringCompile("`"+a+"`",t);n.map.set(e,{children:c,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)n.filter&&!n.filter(f)||c.push(this.compileDomNodeTemplate(f,t,s()({},n,{ignoreComponents:n.ignoreNestedComponents}))),f=f.nextSibling}return n.map},r.evaluateDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t={}),void 0===n&&(n={}),(n=s()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map.has(e)||this.compileDomNodeTemplate(e,t,n),n.map.has(e)){var o=n.map.get(e),i=o.error,a=o.scopeNames,l=o.templateFunction;if(i)console.warn("Error occurred during compiling node content: "+i);else{var u=null;try{u=l.apply(void 0,a.map((function(e){return t[e]})))}catch(i){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+a.join('", "')+'": "'+i+'". Rendering node:',e)}null!==u&&(n.unsafe?e.innerHTML=u:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",u):e.textContent=u)}}if(!(n.unsafe||n.ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-")))for(var c=e.firstChild;c;)n.filter&&!n.filter(c)||this.evaluateDomNodeTemplate(c,t,s()({},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=x([].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},r.determineRootBinding=function(){for(var e=this.parentNode;e;){var n;(e instanceof t||(null==(n=e.nodeName)?void 0:n.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=x(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return b().convertPlainObjectToMap(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,i()(v().mark((function t(){var r,o,i,a,s=arguments;return v().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,o=new Array(r),i=0;i<r;i++)o[i]=s[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},r.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)||![y.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()},r.triggerOutputEvents=function(){for(var e,t=x(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=b().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.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 s,l=x(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(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])}},r.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var n,r,o=e.firstElementChild.value;null==(n=e.classList)||n.remove("web-component-template");var i=e.cloneNode();return null==(r=e.classList)||r.add("web-component-template"),i.innerHTML="",i.template=o,i}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,n=Array.from(this.querySelectorAll("[slot]"));t<n.length;t++){for(var r=n[t],o=r.parentNode,i=!0;o;){if(o.nodeName.includes("-")){o===this&&(i=!1);break}o=o.parentNode}i||(this.slots[r.getAttribute&&r.getAttribute("slot")&&r.getAttribute("slot").trim()?r.getAttribute("slot").trim():r.nodeName.toLowerCase()]=this.grabSlotContent(r))}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=[]},r.isStateProperty=function(e){var t,n;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(n=n.current)?void 0:n.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=s()({},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)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r=n[t],o=r[0],i=r[1];if(this.setExternalPropertyValue(o,i),this.isConnected){var a=b().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case y.boolean:case"boolean":i?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case y.func:case"function":break;case"json":if(i){var s=JSON.stringify(i);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case y.number:case"number":if("number"!=typeof i||isNaN(i))this.hasAttribute(a)&&this.removeAttribute(a);else{var l=""+i;this.getAttribute(a)!==l&&this.setAttribute(a,l)}break;case y.string:case"string":i?this.getAttribute(a)!==i&&this.setAttribute(a,i):this.hasAttribute(a)&&this.removeAttribute(a);break;case y.any:case y.array:case y.arrayOf:case y.element:case y.elementType:case y.instanceOf:case y.node:case y.object:case"object":case y.objectOf:case y.shape:case y.exact:case y.symbol:default:if(i){var u=b().represent(i);if(u&&this.getAttribute(a)!==u){this.setAttribute(a,u);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,n,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,i=x(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=i()).done;){var a=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,a)&&this.setInternalPropertyValue(a,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(r=this.internalProperties.model)||delete r.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,l=x(this.self.controllableProperties);!(s=l()).done;){var u=s.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.reflectEventToProperties=function(){var e=i()(v().mark((function e(t,n){var r,o,i,a,l,u,c,d,f,p,h,_,m,g,y,E;return v().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)&&b().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in l&&b().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),b().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&&null!==n[0]&&"object"==typeof n[0]){if(d=n[0],"persist"in n[0]&&b().isFunction(n[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],_=x([h].concat(null!==(g=this.getPropertyAlias(h))&&void 0!==g?g:[]));!(m=_()).done;)y=m.value,(E=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,y)?n[0].currentTarget[y]:this.getPropertyValue(y))!==this.externalProperties[y]&&(d[y]=E);else[null,void 0].includes(null==(c=d.detail)?void 0:c.value)||(d=s()({},d.detail));o=d,this.reflectProperties(d)}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)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),o=r?e.substring(1):e,i=b().stringDelimitedToCamelCase(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 s=this.self.propertyTypes[i];if(console.log("P",i,s),r){if(t){var l=b().stringEvaluate(t,{Tools:b()},!1,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case y.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(i,u),this.setExternalPropertyValue(i,u);break;case y.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=b().stringCompile(t,f);d=p.error,c=p.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 s=void 0;if(!d)try{s=c.call(n,o[0],o[0],o[0],o[0],o[0],o[0],o,b())}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+b().represent(o)+'": '+n+'. Set property to "undedefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),s})),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+'": '+b().represent(d));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,b().copy(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case y.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var _=parseFloat(t);isNaN(_)&&(_=void 0),this.setInternalPropertyValue(i,_),this.setExternalPropertyValue(i,_);break;case y.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case y.any:case y.array:case y.arrayOf:case y.element:case y.elementType:case y.instanceOf:case y.node:case y.object:case"object":case y.objectOf:case y.oneOf:case y.oneOfType:case y.shape:case y.exact:case y.symbol:default:if(t){var m=b().stringEvaluate(t,{},!1,this);if(m.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',m.error);break}this.setInternalPropertyValue(i,m.result),this.setExternalPropertyValue(i,b().copy(m.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,b().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=s()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[b().stringLowerCase(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=b().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var n=document.createElement("div");n.innerHTML=t.result,this.applySlots(n,s()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(C),r.applyRootBinding=!0,r.content="<slot>Please provide a template to transclude.</slot>",r.determineRootBinding=!0,r.shadowDOM=null,r.observedAttributes=[],r.controllableProperties=[],r.eventToPropertyMapping={},r.propertyAliases={},r.propertyTypes={onClick:y.func},r.propertiesToReflectAsAttributes=[],r.renderProperties=["children"],r.cloneSlots=!1,r.evaluateSlots=!1,r.renderSlots=!0,r.trimSlots=!0,r.renderUnsafe=!1,r._name="BaseWeb",r._propertyAliasIndex=void 0,r._propertiesToReflectAsAttributes=void 0,t=r,n=_()(t.prototype,"isRoot",[e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),t),w={component:A,register:function(e){return void 0===e&&(e=b().stringCamelCaseToDelimited(A._name)),customElements.define(e,A)}};__nested_webpack_exports__.default=A}(),__nested_webpack_exports__}()},module.exports=t(__nested_webpack_require_3843__(4),__nested_webpack_require_3843__(0),__nested_webpack_require_3843__(5),__nested_webpack_require_3843__(6),__nested_webpack_require_3843__(3),__nested_webpack_require_3843__(7),__nested_webpack_require_3843__(8),__nested_webpack_require_3843__(9),__nested_webpack_require_3843__(1),__nested_webpack_require_3843__(2))},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(module,__unused_webpack_exports,__nested_webpack_require_35490__){var __dirname="/",t;if(module=__nested_webpack_require_35490__.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_35490__.g||null===__nested_webpack_require_35490__.g?{}:__nested_webpack_require_35490__.g;t=function t(__WEBPACK_EXTERNAL_MODULE__0__,__WEBPACK_EXTERNAL_MODULE__3__,__WEBPACK_EXTERNAL_MODULE__1__,__WEBPACK_EXTERNAL_MODULE__2__,__WEBPACK_EXTERNAL_MODULE__11__,__WEBPACK_EXTERNAL_MODULE__12__,__WEBPACK_EXTERNAL_MODULE__13__,__WEBPACK_EXTERNAL_MODULE__4__,__WEBPACK_EXTERNAL_MODULE__5__,__WEBPACK_EXTERNAL_MODULE__6__,__WEBPACK_EXTERNAL_MODULE__7__,__WEBPACK_EXTERNAL_MODULE__8__,__WEBPACK_EXTERNAL_MODULE__9__){return function(){var __webpack_modules__=[function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__0__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__1__},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(module,__unused_webpack_exports,__nested_webpack_require_3840__){var __dirname="/",e,t,r,n,i,s,o,a,l,p;if(module=__nested_webpack_require_3840__.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_3840__.g||null===__nested_webpack_require_3840__.g?{}:__nested_webpack_require_3840__.g;module.exports=(e=__nested_webpack_require_3840__(4),t=__nested_webpack_require_3840__(0),r=__nested_webpack_require_3840__(5),n=__nested_webpack_require_3840__(6),i=__nested_webpack_require_3840__(3),s=__nested_webpack_require_3840__(7),o=__nested_webpack_require_3840__(8),a=__nested_webpack_require_3840__(9),l=__nested_webpack_require_3840__(1),p=__nested_webpack_require_3840__(2),function(){var u=[function(e){e.exports=t},function(e){e.exports=l},function(e){e.exports=p},function(e){e.exports=i},function(e,t,n){var r=n(0),o=n.n(r),i=n(1),a=n.n(i),s=n(2);t.default=function(e){return void 0===e&&(e={}),e=o()({readAttribute:!0,type:s.string},e),function(t,n){if("string"==typeof n){var r,i=t.self||t.constructor;if(e.readAttribute){Object.prototype.hasOwnProperty.call(i,"observedAttributes")||(i.observedAttributes=i.observedAttributes?[].concat(i.observedAttributes):[]);var s=a().stringCamelCaseToDelimited(n);i.observedAttributes.includes(s)||i.observedAttributes.push(s)}e.type&&(Object.prototype.hasOwnProperty.call(i,"propertyTypes")||(i.propertyTypes=i.propertyTypes?o()({},i.propertyTypes):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,n)||(i.propertyTypes[n]=e.type)),e.writeAttribute&&(Object.prototype.hasOwnProperty.call(i,"propertiesToReflectAsAttributes")||(i.propertiesToReflectAsAttributes=i.propertiesToReflectAsAttributes?a().copy(i.propertiesToReflectAsAttributes):[]),(e.update||i.propertiesToReflectAsAttributes instanceof Map&&!i.propertiesToReflectAsAttributes.has(n)||Array.isArray(i.propertiesToReflectAsAttributes)&&!i.propertiesToReflectAsAttributes.includes(n)||null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&!Object.prototype.hasOwnProperty.call(i.propertiesToReflectAsAttributes,n))&&("boolean"==typeof e.writeAttribute?!0===e.writeAttribute&&i.propertyTypes&&Object.prototype.hasOwnProperty.call(i.propertyTypes,n)&&(r=i.propertyTypes[n]):r=e.writeAttribute,void 0!==r&&(Array.isArray(i.propertiesToReflectAsAttributes)&&(!0===e.writeAttribute?i.propertiesToReflectAsAttributes.push(n):i.propertiesToReflectAsAttributes=i.normalizePropertyTypeList(i.propertiesToReflectAsAttributes)),i.propertiesToReflectAsAttributes instanceof Map&&i.propertiesToReflectAsAttributes.set(n,r),null!==i.propertiesToReflectAsAttributes&&"object"==typeof i.propertiesToReflectAsAttributes&&(i.propertiesToReflectAsAttributes[n]=r)))),e.alias&&(Object.prototype.hasOwnProperty.call(i,"propertyAliases")||(i.propertyAliases=i.propertyAliases?o()({},i.propertyAliases):{}),!e.update&&Object.prototype.hasOwnProperty.call(i,n)||(i.propertyAliases[n]=e.alias))}}}},,function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=n},function(e){e.exports=s},function(e){e.exports=o},function(e){e.exports=a}],c={};function d(e){var t=c[e];if(void 0!==t)return t.exports;var n=c[e]={exports:{}};return u[e](n,n.exports,d),n.exports}d.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return d.d(t,{a:t}),t},d.d=function(e,t){for(var n in t)d.o(t,n)&&!d.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},d.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},d.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var f={};return function(){d.r(f),d.d(f,{GenericHTMLElement:function(){return w},Web:function(){return I},api:function(){return S}});var e,t,n,r,o=d(6),i=d.n(o),a=d(0),s=d.n(a),l=d(7),u=d.n(l),c=d(8),p=d.n(c),h=d(3),_=d.n(h),m=d(9),v=d.n(m),g=(d(10),d(11)),b=d.n(g),y=d(1),E=d.n(y),x=d(2),T=d(4);function C(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 A(e,t);var n=Object.prototype.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)?A(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 A(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var w="undefined"==typeof HTMLElement?function(){}:HTMLElement,I=(e=(0,T.default)({type:x.boolean,writeAttribute:!0}),r=function(e){function t(){var r;return(r=e.call(this)||this).batchAttributeUpdates=!0,r.batchPropertyUpdates=!0,r.batchUpdates=!0,r.batchedAttributeUpdateRunning=!0,r.batchedPropertyUpdateRunning=!0,r.batchedUpdateRunning=!0,r.parent=null,r.rootInstance=null,r.scope={Tools:E()},r.domNodeEventBindings=new Map,r.domNodeTemplateCache=new Map,r.externalProperties={},r.ignoreAttributeUpdateObservations=!1,r.internalProperties={},r.outputEventNames=new Set,r.instance=null,u()(r,"isRoot",n,p()(r)),r.root=void 0,r.runDomConnectionAndRenderingInSameEventQueue=!1,r.self=t,r.slots={},r.self=r.constructor,r.self._propertiesToReflectAsAttributes||(r.self._propertiesToReflectAsAttributes=r.self.normalizePropertyTypeList(r.self.propertiesToReflectAsAttributes)),r.generateAliasIndex(),r.root=p()(r),r.defineGetterAndSetterInterface(),r}_()(t,e);var r=t.prototype;return r.attributeChangedCallback=function(e,t,n){this.ignoreAttributeUpdateObservations||t===n||this.onUpdateAttribute(e,n)},r.onUpdateAttribute=function(e,t){var n=this;this.evaluateStringOrNullAndSetAsProperty(e,t),this.batchAttributeUpdates?this.batchedAttributeUpdateRunning||this.batchedUpdateRunning||(this.batchedAttributeUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){n.batchedAttributeUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("attributeChanged")}))):this.render("attributeChanged")},r.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"):E().timeout((function(){return e.render("connected")}))},r.disconnectedCallback=function(){try{this.isConnected=!1}catch(e){}for(var e,t=C(this.domNodeEventBindings.values());!(e=t()).done;)for(var n,r=C(e.value.values());!(n=r()).done;)(0,n.value)();this.slots={}},r.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=C(E().arrayUnique(Object.keys(this.self.propertyTypes).concat(Object.keys(this.self._propertyAliasIndex))));!(e=r()).done;)n()},r.getPropertyAlias=function(e){return Object.prototype.hasOwnProperty.call(this.self._propertyAliasIndex,e)?this.self._propertyAliasIndex[e]:null},r.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},r.setExternalPropertyValue=function(e,t){this.externalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.externalProperties[n]=t)},r.setInternalPropertyValue=function(e,t){this.internalProperties[e]=t;var n=this.getPropertyAlias(e);n&&(this.internalProperties[n]=t)},r.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=t,n)),this.setInternalPropertyValue(e,t)},r.triggerPropertySpecificRendering=function(e,t){var n=this;if(this.batchPropertyUpdates)this.batchedPropertyUpdateRunning||this.batchedUpdateRunning||(this.batchedPropertyUpdateRunning=!0,this.batchedUpdateRunning=!0,E().timeout((function(){void 0!==t&&n.isStateProperty(e)?(n.render("preStatePropertyChanged"),E().timeout((function(){n.setInternalPropertyValue(e,void 0),n.batchedPropertyUpdateRunning=!1,n.batchedUpdateRunning=!1,n.render("postStatePropertyChanged"),n.triggerOutputEvents()})).then(E().noop,E().noop)):(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()}},r.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=E().stringEvaluate(a,t,!1,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[E().stringDelimitedToCamelCase(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);i=E().stringDelimitedToCamelCase(i.substring(3)),u.has(i)&&u.get(i)(),t=s()({event:void 0,parameters:void 0},t);var c=E().stringCompile(a,t,!0);if(c.error)console.warn('Error occurred during compiling given event binding "'+o+'" on node:',e,c.error);else{var d=c.templateFunction.bind(e),f=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{d.apply(void 0,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('", "')+'": '+E().represent(t))}};e.addEventListener(i,f),u.set(i,(function(){e.removeEventListener(i,f),u.delete(i),0===u.size&&n.domNodeEventBindings.delete(e)}))}}}},i=C(e.getAttributeNames());!(r=i()).done;)o()},r.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}},r.compileDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t=[]),void 0===n&&(n={}),(n=s()({ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-"))return n.map;if(n.unsafe){var o=e.innerHTML;if(!o&&e.template&&(o=e.template),this.self.hasCode(o)){var i=E().stringCompile("`"+o+"`",t);n.map.set(e,{children:[],error:i.error,scopeNames:i.scopeNames,template:o,templateFunction:i.templateFunction})}}else{var a,l=e.nodeName.toLowerCase();if(["a","#text"].includes(l)){var u="a"===l?e.getAttribute("href"):e.textContent;this.self.hasCode(u)&&(a=u.replace(/ /g," ").trim())}var c=[];if(a){var d=E().stringCompile("`"+a+"`",t);n.map.set(e,{children:c,error:d.error,scopeNames:d.scopeNames,template:a,templateFunction:d.templateFunction})}for(var f=e.firstChild;f;)n.filter&&!n.filter(f)||c.push(this.compileDomNodeTemplate(f,t,s()({},n,{ignoreComponents:n.ignoreNestedComponents}))),f=f.nextSibling}return n.map},r.evaluateDomNodeTemplate=function(e,t,n){var r;if(void 0===t&&(t={}),void 0===n&&(n={}),(n=s()({applyBindings:!0,ignoreComponents:!0,ignoreNestedComponents:!0,map:this.domNodeTemplateCache,unsafe:this.self.renderUnsafe},n)).map.has(e)||this.compileDomNodeTemplate(e,t,n),n.map.has(e)){var o=n.map.get(e),i=o.error,a=o.scopeNames,l=o.templateFunction;if(i)console.warn("Error occurred during compiling node content: "+i);else{var u=null;try{u=l.apply(void 0,a.map((function(e){return t[e]})))}catch(i){console.warn('Error occurred when "'+this.self._name+'" is running "'+l+'": with bound names "'+a.join('", "')+'": "'+i+'". Rendering node:',e)}null!==u&&(n.unsafe?e.innerHTML=u:"a"===e.nodeName.toLowerCase()?e.setAttribute("href",u):e.textContent=u)}}if(!(n.unsafe||n.ignoreComponents&&null!=(r=e.nodeName)&&r.toLowerCase().includes("-")))for(var c=e.firstChild;c;)n.filter&&!n.filter(c)||this.evaluateDomNodeTemplate(c,t,s()({},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=C([].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},r.determineRootBinding=function(){for(var e=this.parentNode;e;){var n;(e instanceof t||(null==(n=e.nodeName)?void 0:n.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=C(r);!(n=i()).done;){var a=n.value;Object.prototype.hasOwnProperty.call(t.propertyTypes,a)&&o.set(a,t.propertyTypes[a])}return o}return E().convertPlainObjectToMap(e)},r.attachEventHandler=function(){if(null!==this.self.eventToPropertyMapping){var e=this.attachExplicitDefinedOutputEventHandler();this.attachImplicitDefinedOutputEventHandler(!e)}},r.attachExplicitDefinedOutputEventHandler=function(){for(var e=this,t=!1,n=function(){var n=o[r];Object.prototype.hasOwnProperty.call(e.internalProperties,n)||(t=!0,e.outputEventNames.add(n),e.setInternalPropertyValue(n,i()(b().mark((function t(){var r,o,i,a,s=arguments;return b().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:for(r=s.length,o=new Array(r),i=0;i<r;i++)o[i]=s[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},r.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)||![x.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()},r.triggerOutputEvents=function(){for(var e,t=C(this.outputEventNames);!(e=t()).done;){var n=e.value;this.forwardEvent(n,[this.externalProperties])}},r.forwardEvent=function(e,t){return e.length>3&&e.startsWith("on")&&(e=E().stringLowerCase(e.substring(2))),this.dispatchEvent(new CustomEvent(e,{detail:{parameters:t}}))},r.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 s,l=C(this.slots.default);!(s=l()).done;){var u=s.value;this.evaluateDomNodeTemplate(u,t)}this.self.replaceDomNodes(i,this.slots.default)}}else this.slots.default=this.self.unwrapDomNode(i).map((function(e){return n.grabSlotContent(e)}));else Object.prototype.hasOwnProperty.call(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])}},r.grabSlotContent=function(e){var t;if("textarea"===(null==(t=e.firstElementChild)?void 0:t.nodeName.toLowerCase())&&(!e.firstElementChild.hasAttribute("data-no-template")||"false"===e.firstElementChild.getAttribute("data-no-template"))){var n,r,o=e.firstElementChild.value;null==(n=e.classList)||n.remove("web-component-template");var i=e.cloneNode();return null==(r=e.classList)||r.add("web-component-template"),i.innerHTML="",i.template=o,i}return this.self.cloneSlots?e.cloneNode(!0):e},r.grabGivenSlots=function(){var e=this;this.slots={};for(var t=0,n=Array.from(this.querySelectorAll("[slot]"));t<n.length;t++){for(var r=n[t],o=r.parentNode,i=!0;o;){if(o.nodeName.includes("-")){o===this&&(i=!1);break}o=o.parentNode}i||(this.slots[r.getAttribute&&r.getAttribute("slot")&&r.getAttribute("slot").trim()?r.getAttribute("slot").trim():r.nodeName.toLowerCase()]=this.grabSlotContent(r))}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=[]},r.isStateProperty=function(e){var t,n;return Boolean((null==(t=this.instance)||null==(t=t.current)?void 0:t.state)&&(Object.prototype.hasOwnProperty.call(null==(n=this.instance)||null==(n=n.current)?void 0:n.state,e)||this.instance.current.state.modelState&&Object.prototype.hasOwnProperty.call(this.instance.current.state.modelState,e)))},r.generateAliasIndex=function(){if(!this.self._propertyAliasIndex){this.self._propertyAliasIndex=s()({},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)}}},r.reflectExternalProperties=function(e){this.ignoreAttributeUpdateObservations=!0;for(var t=0,n=Object.entries(e);t<n.length;t++){var r=n[t],o=r[0],i=r[1];if(this.setExternalPropertyValue(o,i),this.isConnected){var a=E().stringCamelCaseToDelimited(o);if(this.self._propertiesToReflectAsAttributes.has(o))switch(this.self._propertiesToReflectAsAttributes.get(o)){case x.boolean:case"boolean":i?""!==this.getAttribute(a)&&this.setAttribute(a,""):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.func:case"function":break;case"json":if(i){var s=JSON.stringify(i);if(s&&this.getAttribute(a)!==s){this.setAttribute(a,s);break}}this.hasAttribute(a)&&this.removeAttribute(a);break;case x.number:case"number":if("number"!=typeof i||isNaN(i))this.hasAttribute(a)&&this.removeAttribute(a);else{var l=""+i;this.getAttribute(a)!==l&&this.setAttribute(a,l)}break;case x.string:case"string":i?this.getAttribute(a)!==i&&this.setAttribute(a,i):this.hasAttribute(a)&&this.removeAttribute(a);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.shape:case x.exact:case x.symbol:default:if(i){var u=E().represent(i);if(u&&this.getAttribute(a)!==u){this.setAttribute(a,u);break}}this.hasAttribute(a)&&this.removeAttribute(a)}}}this.ignoreAttributeUpdateObservations=!1},r.reflectProperties=function(e){var t,n,r;if(this.reflectExternalProperties(e),null!=(t=this.instance)&&null!=(t=t.current)&&t.state&&"object"==typeof this.instance.current.state)for(var o,i=C(Object.keys(this.instance.current.state).concat(this.instance.current.state.modelState?Object.keys(this.instance.current.state.modelState):[]));!(o=i()).done;){var a=o.value;Object.prototype.hasOwnProperty.call(this.internalProperties,a)&&this.setInternalPropertyValue(a,void 0)}null!=(n=this.internalProperties.model)&&n.state&&(null==(r=this.internalProperties.model)||delete r.state,this.setInternalPropertyValue("model",this.internalProperties.model));for(var s,l=C(this.self.controllableProperties);!(s=l()).done;){var u=s.value;Object.prototype.hasOwnProperty.call(e,u)&&this.setInternalPropertyValue(u,e[u])}},r.reflectEventToProperties=function(){var e=i()(b().mark((function e(t,n){var r,o,i,a,l,u,c,d,f,p,h,_,m,v,g,y;return b().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)&&E().isFunction(this.self.eventToPropertyMapping[t]))){e.next=16;break}if(!((l=(a=this.self.eventToPropertyMapping)[t].apply(a,n.concat([this])))&&"then"in l&&E().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),E().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&&null!==n[0]&&"object"==typeof n[0]){if(d=n[0],"persist"in n[0]&&E().isFunction(n[0].persist))for(d={},f=0,p=Object.keys(this.self.propertyTypes);f<p.length;f++)for(h=p[f],_=C([h].concat(null!==(v=this.getPropertyAlias(h))&&void 0!==v?v:[]));!(m=_()).done;)g=m.value,(y=n[0].currentTarget&&Object.prototype.hasOwnProperty.call(n[0].currentTarget,g)?n[0].currentTarget[g]:this.getPropertyValue(g))!==this.externalProperties[g]&&(d[g]=y);else[null,void 0].includes(null==(c=d.detail)?void 0:c.value)||(d=s()({},d.detail));o=d,this.reflectProperties(d)}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)}}(),r.evaluateStringOrNullAndSetAsProperty=function(e,t){var n=this,r=e.startsWith("-"),o=r?e.substring(1):e,i=E().stringDelimitedToCamelCase(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 s=this.self.propertyTypes[i];if(r){if(t){var l=E().stringEvaluate(t,{Tools:E()},!1,this);l.error?(console.warn('Failed to process pre-evaluation attribute "'+e+'": '+l.error+'. Will be set to "undefined".'),this.setInternalPropertyValue(i,void 0)):(this.setInternalPropertyValue(i,l.result),this.setExternalPropertyValue(i,l.result))}}else switch(s){case x.boolean:case"boolean":var u=![null,"false"].includes(t);this.setInternalPropertyValue(i,u),this.setExternalPropertyValue(i,u);break;case x.func:case"function":var c,d=null,f=["data","event","firstArgument","firstParameter","options","scope","parameters","Tools"];if(t){var p=E().stringCompile(t,f);d=p.error,c=p.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 s=void 0;if(!d)try{s=c.call(n,o[0],o[0],o[0],o[0],o[0],o[0],o,E())}catch(n){console.warn('Failed to evaluate function "'+e+'" with expression "'+t+'" and scope variables "'+f.join('", "')+'" set to "'+E().represent(o)+'": '+n+'. Set property to "undedefined".')}return n.self.renderProperties.includes(i)||n.forwardEvent(i,o),s})),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+'": '+E().represent(d));break}this.setInternalPropertyValue(i,h),this.setExternalPropertyValue(i,E().copy(h,1))}else this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null);break;case x.number:case"number":if(null===t){this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break}var _=parseFloat(t);isNaN(_)&&(_=void 0),this.setInternalPropertyValue(i,_),this.setExternalPropertyValue(i,_);break;case x.string:case"string":this.setInternalPropertyValue(i,t),this.setExternalPropertyValue(i,t);break;case x.any:case x.array:case x.arrayOf:case x.element:case x.elementType:case x.instanceOf:case x.node:case x.object:case"object":case x.objectOf:case x.oneOf:case x.oneOfType:case x.shape:case x.exact:case x.symbol:default:if(t){var m=E().stringEvaluate(t,{},!1,this);if(m.error){console.warn('Error occurred during processing given attribute configuration "'+e+'":',m.error);break}this.setInternalPropertyValue(i,m.result),this.setExternalPropertyValue(i,E().copy(m.result,1))}else this.hasAttribute(e)?(this.setInternalPropertyValue(i,!0),this.setExternalPropertyValue(i,!0)):(this.setInternalPropertyValue(i,null),this.setExternalPropertyValue(i,null))}}},r.triggerRender=function(e){var t=this;this.batchUpdates?this.batchedUpdateRunning||(this.batchedUpdateRunning=!0,E().timeout((function(){t.batchedUpdateRunning=!1,t.render(e)}))):this.render(e)},r.applyShadowRootIfNotExisting=function(){this.self.shadowDOM&&this.root===this&&(this.root=(!("attachShadow"in this)&&"ShadyDOM"in window?window.ShadyDOM.wrap(this):this).attachShadow(null!==this.self.shadowDOM&&"object"==typeof this.self.shadowDOM?this.self.shadowDOM:{mode:"open"}))},r.determineRenderScope=function(e){var t,n;void 0===e&&(e={}),this.scope=s()({},(null==(t=this.parent)?void 0:t.scope)||{},this.scope,this.internalProperties,((n={parent:this.parent,root:this.rootInstance,self:this})[E().stringLowerCase(this.self._name)||"instance"]=this,n),e),this.scope.scope=this.scope},r.render=function(e){if(void 0===e&&(e="unknown"),this.determineRenderScope(),this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){var t=E().stringEvaluate("`"+this.self.content+"`",this.scope);if(t.error)console.warn("Failed to process template: "+t.error);else{this.applyShadowRootIfNotExisting();var n=document.createElement("div");n.innerHTML=t.result,this.applySlots(n,s()({},this.scope,{parent:this})),this.root.innerHTML=n.innerHTML,this.applyBindings(this.root.firstChild,this.scope,this.self.renderSlots)}}},t}(w),r.applyRootBinding=!0,r.content="<slot>Please provide a template to transclude.</slot>",r.determineRootBinding=!0,r.shadowDOM=null,r.observedAttributes=[],r.controllableProperties=[],r.eventToPropertyMapping={},r.propertyAliases={},r.propertyTypes={onClick:x.func},r.propertiesToReflectAsAttributes=[],r.renderProperties=["children"],r.cloneSlots=!1,r.evaluateSlots=!1,r.renderSlots=!0,r.trimSlots=!0,r.renderUnsafe=!1,r._name="BaseWeb",r._propertyAliasIndex=void 0,r._propertiesToReflectAsAttributes=void 0,t=r,n=v()(t.prototype,"isRoot",[e],{configurable:!0,enumerable:!0,writable:!0,initializer:function(){return!0}}),t),S={component:I,register:function(e){return void 0===e&&(e=E().stringCamelCaseToDelimited(I._name)),customElements.define(e,I)}};f.default=I}(),f}())},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__11__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__12__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__13__}],__webpack_module_cache__={};function __nested_webpack_require_31838__(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_31838__),n.loaded=!0,n.exports}__nested_webpack_require_31838__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_31838__.d(t,{a:t}),t},__nested_webpack_require_31838__.d=function(e,t){for(var n in t)__nested_webpack_require_31838__.o(t,n)&&!__nested_webpack_require_31838__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_31838__.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_31838__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_31838__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_31838__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_31838__.r(__nested_webpack_exports__),__nested_webpack_require_31838__.d(__nested_webpack_exports__,{ReactWeb:function(){return h},api:function(){return _}});var e=__nested_webpack_require_31838__(0),t=__nested_webpack_require_31838__.n(e),n=__nested_webpack_require_31838__(3),r=__nested_webpack_require_31838__.n(n),o=__nested_webpack_require_31838__(1),i=__nested_webpack_require_31838__.n(o),a=__nested_webpack_require_31838__(2),s=__nested_webpack_require_31838__(11),l=__nested_webpack_require_31838__.n(s),u=__nested_webpack_require_31838__(12),c=__nested_webpack_require_31838__(13),d=__nested_webpack_require_31838__(10);function f(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 p(e,t);var n=Object.prototype.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)?p(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 p(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var h=function(e){function n(){for(var t,r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return(t=e.call.apply(e,[this].concat(o))||this).compiledSlots={},t.preparedSlots={},t.reactRoot=null,t.rootReactInstance=null,t.self=n,t.wrapMemorizingWrapper=null,t.isWrapped=!1,t.reflectInstanceProperties=function(){var e;null!=(e=t.instance)&&e.current&&t.instance.current.properties&&t.reflectProperties(t.instance.current.properties)},t}r()(n,e);var o=n.prototype;return o.connectedCallback=function(){this.applyComponentWrapper(),this.rootReactInstance=this,e.prototype.connectedCallback.call(this)},o.disconnectedCallback=function(){e.prototype.disconnectedCallback.call(this)},o.reflectExternalProperties=function(t){this.isRoot&&e.prototype.reflectExternalProperties.call(this,t)},o.render=function(e){var n,r=this;if(void 0===e&&(e="unknown"),this.rootReactInstance===this&&this.dispatchEvent(new CustomEvent("render",{detail:{reason:e,scope:this.scope}}))){if(this.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&this.preCompileSlots(),this.evaluateSlots(t()({},this.scope,{parent:this})),this.prepareProperties(this.internalProperties),this.applyShadowRootIfNotExisting(),this.root!==this)for(var o=this.firstChild;o;){var a=o.nextSibling;this.removeChild(o),o=a}this.reactRoot||(this.reactRoot=(0,c.createRoot)(this.root,{identifierPrefix:String(this.id||this.internalProperties.id||this.externalProperties.id||this.name||this.internalProperties.name||this.externalProperties.name)})),(0,u.flushSync)((function(){return r.reactRoot.render((0,s.createElement)(r.self.content,r.internalProperties))})),null!=(n=this.instance)&&n.current?this.reflectInstanceProperties():i().timeout(this.reflectInstanceProperties)}},o.setPropertyValue=function(e,t){var n;this.reflectProperties(((n={})[e]=i().copy(t,1),n)),this.setInternalPropertyValue(e,i().copy(t,1))},o.setInternalPropertyValue=function(t,n){null===n?n=a.NullSymbol:void 0===n&&(n=a.UndefinedSymbol),e.prototype.setInternalPropertyValue.call(this,t,n)},o.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=f(e);!(r=a()).done;){var l=r.value,u=this.preCompileDomNode(l,t,n,o.toString());u&&(i.push(u),o+=1)}return n?function(e){return function(){for(var t,n=[],r=f(i);!(t=r()).done;){var o=(0,t.value)(e);"function"==typeof o&&n.push(o.apply(void 0,arguments))}return(0,s.createElement)(s.Fragment,{children:n})}}:i},o.preCompileDomNode=function(e,n,r,o){var a=this;if(void 0===n&&(n={}),void 0===r&&(r=!1),r){var l=this.preCompileDomNode(e,t()({},n,{data:void 0,firstArgument:void 0,firstParameter:void 0,options:void 0,scope:void 0,parameters:void 0}),!1,o);return function(e){return function(){for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];var i=r.length>0?r[0]:null;return l(t()({},e,{data:i,firstArgument:i,firstParameter:i,options:i,scope:i,parameters:r}))}}}if(e.nodeType===Node.TEXT_NODE){var u="string"==typeof e.nodeValue?e.nodeValue.trim():"",c=o&&u?(0,s.createElement)(s.Fragment,{children:u,key:o}):u||null;return function(){return c}}if(!e.getAttributeNames)return function(){return null};var d,p={},h=this.self.isReactComponent(e);h?(e.determineRenderScope(),0===Object.keys(this.compiledSlots).length&&e.preCompileSlots(),o&&!Object.prototype.hasOwnProperty.call(p,"key")&&(p.key=o),d=e.constructor.content):(p.key=o,d=e.tagName.toLowerCase());for(var _,m=Object.keys(n),v={},g=function(){var t,r=_.value,o=e.getAttribute(r);if(null===o)return 0;var s=!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=i().stringCompile(o,m),c=u.error,d=u.originalScopeNames,f=u.templateFunction;if(c)return console.warn('Error occurred during compiling given attribute binding "'+r+'" on node:',e,c),0;"attributes"===l||"properties"===l?s=!0:l=l.startsWith("attribute-")?l.substring(10):l.substring(9),o={originalScopeNames:d,templateFunction:f.bind(a)}}else if(l.startsWith("on-")){l=i().stringDelimitedToCamelCase(l),Object.prototype.hasOwnProperty.call(n,"event")||(m=[].concat(m,["event"])),Object.prototype.hasOwnProperty.call(n,"parameters")||(m=[].concat(m,["parameters"]));var g=i().stringCompile(o,m,!0),b=g.error,y=g.originalScopeNames,E=g.scopeNames,x=g.templateFunction;if(b)return console.warn('Error occurred during compiling given event binding "'+r+'" on node:',e,b),0;var T=x.bind(a);o=function(){for(var t=arguments.length,a=new Array(t),s=0;s<t;s++)a[s]=arguments[s];n.event=a[0],n.parameters=a;try{T.apply(void 0,y.map((function(e){return n[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('", "')+'": '+i().represent(t))}}}else l=r;var C={class:"className",for:"htmlFor"};Object.prototype.hasOwnProperty.call(C,l)&&(l=C[l]),l=i().stringDelimitedToCamelCase(l),null!=(t=o)&&t.originalScopeNames?v[s?"":l]=o:h||(p[l]=o)},b=f(e.getAttributeNames());!(_=b()).done;)g();if(!h){var y=Array.from(e.childNodes);y.length&&(p.children=this.preCompileDomNodes(y,n))}return function(r){(r=t()({},n,r)).scope=r;for(var o=t()({},p),i=0,l=Object.entries(v);i<l.length;i++){var u=l[i],c=u[0],f=u[1],_=f.originalScopeNames,m=f.templateFunction.apply(void 0,_.map((function(e){return r[e]})));""===c?o=t()({},o,m):o[c]=m}return Object.prototype.hasOwnProperty.call(o,"innerHTML")&&(o.dangerouslySetInnerHTML={__html:o.innerHTML},delete o.children,delete o.innerHTML),Object.prototype.hasOwnProperty.call(o,"textContent")?(o.children=o.textContent,delete o.textContent):h?(o=t()({},e.internalProperties,o),r=t()({},o,r,{parent:e}),e.evaluateSlots(r),e.prepareProperties(o)):o.children&&(o.children=a.evaluatePreCompiledDomNodes(o.children,r)),(0,s.createElement)(d,o)}},o.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=f(e);!(n=o()).done;){var i=(0,n.value)(t);i&&r.push(i)}return r},o.preCompileSlots=function(){var e;for(var n in this.slots)Object.prototype.hasOwnProperty.call(this.slots,n)&&"default"!==n&&(this.compiledSlots[n]=this.preCompileDomNode(this.slots[n],t()({},this.scope,{parent:this}),[a.func,"function"].includes(this.self.propertyTypes&&this.self.propertyTypes[n])));this.slots.default&&this.slots.default.length>0&&(this.compiledSlots.children=this.preCompileDomNodes(this.slots.default,t()({},this.scope,{parent:this}),[a.func,"function"].includes(null==(e=this.self.propertyTypes)?void 0:e.children)))},o.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))},n.isReactComponent=function(e){var t=e.constructor;return"object"==typeof t.content&&(!1===t.attachWebComponentAdapterIfNotExists||"react"===t.content.webComponentAdapterWrapped)},o.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}},o.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,s.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,s.forwardRef)((function(t,n){return(0,s.useImperativeHandle)(n,(function(){return{properties:t}})),(0,s.createElement)(e,t)})),(this.wrapMemorizingWrapper||null===this.wrapMemorizingWrapper)&&(this.self.content=(0,s.memo)(this.self.content)),this.self.content.wrapped=e,this.self.content.webComponentAdapterWrapped="react"):this.wrapMemorizingWrapper&&(this.self.content=(0,s.memo)(this.self.content),this.self.content.wrapped=e)}},o.prepareProperties=function(e){i().extend(e,this.preparedSlots),this.self.removeKnownUnwantedPropertyKeys(this.self,e),e.ref||(this.instance=(0,s.createRef)(),e.ref=this.instance)},n.removeKnownUnwantedPropertyKeys=function(e,t){if("string"!=typeof e.content)for(var n,r=f(["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]}},n}(__nested_webpack_require_31838__.n(d)());h.attachWebComponentAdapterIfNotExists=!0,h.content="div",h.react=l(),h._name="ReactWebComponent";var _={component:h,register:function(e){return void 0===e&&(e=i().stringCamelCaseToDelimited(h._name)),customElements.define(e,h)}};__nested_webpack_exports__.default=h}(),__nested_webpack_exports__}()},module.exports=t(__nested_webpack_require_35490__(0),__nested_webpack_require_35490__(3),__nested_webpack_require_35490__(1),__nested_webpack_require_35490__(2),__nested_webpack_require_35490__(11),__nested_webpack_require_35490__(12),__nested_webpack_require_35490__(13),__nested_webpack_require_35490__(4),__nested_webpack_require_35490__(5),__nested_webpack_require_35490__(6),__nested_webpack_require_35490__(7),__nested_webpack_require_35490__(8),__nested_webpack_require_35490__(9))}],__webpack_module_cache__={};function __nested_webpack_require_77865__(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_77865__),n.loaded=!0,n.exports}__nested_webpack_require_77865__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_77865__.d(t,{a:t}),t},__nested_webpack_require_77865__.d=function(e,t){for(var n in t)__nested_webpack_require_77865__.o(t,n)&&!__nested_webpack_require_77865__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_77865__.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_77865__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_77865__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_77865__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_77865__.r(__nested_webpack_exports__),__nested_webpack_require_77865__.d(__nested_webpack_exports__,{ReactWeb:function(){return c},Web:function(){return p},reactWebAPI:function(){return d},webAPI:function(){return f},wrapAsWebComponent:function(){return h}});var e=__nested_webpack_require_77865__(0),t=__nested_webpack_require_77865__.n(e),n=__nested_webpack_require_77865__(3),r=__nested_webpack_require_77865__.n(n),o=__nested_webpack_require_77865__(1),i=__nested_webpack_require_77865__.n(o),a=__nested_webpack_require_77865__(15),s=__nested_webpack_require_77865__.n(a),l=__nested_webpack_require_77865__(10),u=__nested_webpack_require_77865__.n(l),c=s(),d=a.api,f=l.api,p=u(),h=function(e,n,o){var a,s,l;void 0===n&&(n="NoName"),void 0===o&&(o={});var u=e._name||(null==(a=e.___types)||null==(a=a.name)?void 0:a.name)||n.replace(/^(.*\/+)?([^/]+)\.tsx$/,"$2");o.propTypes&&(e.propTypes=o.propTypes);var d=e.propTypes||{},f=o.propertyAliases||e.propertyAliases||{},p=i().arrayUnique(Object.keys(d).concat(Object.keys(f)).concat(Object.values(f))),h=o.propertiesToReflectAsAttributes||e.propertiesToReflectAsAttributes||[];if(c.propertiesToReflectAsAttributes)if(Array.isArray(h))h=[].concat(c.propertiesToReflectAsAttributes,h);else if(h instanceof Map)for(var _=0,m=c.propertiesToReflectAsAttributes;_<m.length;_++){var v=m[_];h.set(v,c.propertyTypes[v])}else if(null!==h&&"object"==typeof h)for(var g=0,b=c.propertiesToReflectAsAttributes;g<b.length;g++){var y=b[g];h[y]=c.propertyTypes[y]}var E=p.map((function(e){return i().stringCamelCaseToDelimited(e)})),x=function(n){function i(){for(var r,a=arguments.length,s=new Array(a),l=0;l<a;l++)s[l]=arguments[l];return(r=n.call.apply(n,[this].concat(s))||this).self=i,r.internalProperties=o.internalProperties?t()({},o.internalProperties):e.internalProperties?t()({},e.internalProperties):{},r}return r()(i,n),i}(c);return x.attachWebComponentAdapterIfNotExists="boolean"!=typeof o.attachWebComponentAdapterIfNotExists||o.attachWebComponentAdapterIfNotExists,x.content=e,x.observedAttributes=c.observedAttributes.concat(E).concat(E.map((function(e){return"-"+e}))),x.controllableProperties=e.controllableProperties||o.controllableProperties||[],x.eventToPropertyMapping=null===o.eventToPropertyMapping?o.eventToPropertyMapping:o.eventToPropertyMapping?t()({},o.eventToPropertyMapping):null===e.eventToPropertyMapping?e.eventToPropertyMapping:e.eventToPropertyMapping?t()({},e.eventToPropertyMapping):{},x.propertyAliases=t()({},c.propertyAliases,f),x.propertiesToReflectAsAttributes=h,x.propertyTypes=t()({},c.propertyTypes,d),x.renderProperties=null!==(s=null!==(l=o.renderProperties)&&void 0!==l?l:e.renderProperties)&&void 0!==s?s:c.renderProperties,x._name=u,{component:x,register:function(e){return void 0===e&&(e=i().stringCamelCaseToDelimited(u)),customElements.define(e,x)}}};__nested_webpack_exports__.default=h}(),__nested_webpack_exports__}()},module.exports=t(__nested_webpack_require_6321__(2),__nested_webpack_require_6321__(12),__nested_webpack_require_6321__(4),__nested_webpack_require_6321__(0),__nested_webpack_require_6321__(3),__nested_webpack_require_6321__(13),__nested_webpack_require_6321__(14),__nested_webpack_require_6321__(5),__nested_webpack_require_6321__(15),__nested_webpack_require_6321__(16),__nested_webpack_require_6321__(17),__nested_webpack_require_6321__(18),__nested_webpack_require_6321__(6))},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(e){e.exports=__WEBPACK_EXTERNAL_MODULE__18__},,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__20__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__21__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__22__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__23__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__24__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__25__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__26__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__27__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__28__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__29__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__30__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__31__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__32__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__33__},function(module,__unused_webpack_exports,__nested_webpack_require_89002__){var __dirname="/",e,t,n,r,i,o,a,l,u,s,c,d,m,p,f,v,g,b,y,h,x,S,w,T,I,_,j,P;if(module=__nested_webpack_require_89002__.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_89002__.g||null===__nested_webpack_require_89002__.g?{}:__nested_webpack_require_89002__.g;module.exports=(e=__nested_webpack_require_89002__(5),t=__nested_webpack_require_89002__(2),n=__nested_webpack_require_89002__(7),r=__nested_webpack_require_89002__(6),i=__nested_webpack_require_89002__(48),o=__nested_webpack_require_89002__(20),a=__nested_webpack_require_89002__(22),l=__nested_webpack_require_89002__(23),u=__nested_webpack_require_89002__(24),s=__nested_webpack_require_89002__(25),c=__nested_webpack_require_89002__(26),d=__nested_webpack_require_89002__(27),m=__nested_webpack_require_89002__(8),p=__nested_webpack_require_89002__(9),f=__nested_webpack_require_89002__(28),v=__nested_webpack_require_89002__(29),g=__nested_webpack_require_89002__(49),b=__nested_webpack_require_89002__(4),y=__nested_webpack_require_89002__(0),h=__nested_webpack_require_89002__(3),x=__nested_webpack_require_89002__(30),S=__nested_webpack_require_89002__(21),w=__nested_webpack_require_89002__(10),T=__nested_webpack_require_89002__(31),I=__nested_webpack_require_89002__(32),_=__nested_webpack_require_89002__(33),j=__nested_webpack_require_89002__(11),P=__nested_webpack_require_89002__(50),function(){var E,C,A=[function(e){e.exports=j},function(e){e.exports=t},function(e){e.exports=h},function(e){e.exports=b},function(e){e.exports=m},function(e,t,n){n.d(t,{WrapTooltip:function(){return u}});var r=n(1),o=n.n(r),i=n(12),a=n(6),s=n(0),l=!a.Tooltip||a.Tooltip.isDummy,u=function(e){var t=e.children,n=e.options;if("string"==typeof n)return l?(0,s.jsx)("div",{className:"generic-tooltip",title:n,children:t}):(0,s.jsx)(a.Tooltip,{overlay:(0,s.jsx)(i.Typography,{use:"caption",children:n}),children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})});if(null!==n&&"object"==typeof n){if("string"==typeof n.overlay){if(l)return(0,s.jsx)("div",{className:"generic-tooltip",title:n.overlay,children:t});n=o()({},n,{overlay:(0,s.jsx)(i.Typography,{use:"caption",children:n.overlay})})}return l?(0,s.jsx)("div",{className:"generic-tooltip",children:t}):(0,s.jsx)(a.Tooltip,o()({},n,{children:(0,s.jsx)("div",{className:"generic-tooltip",children:t})}))}return(0,s.jsx)(s.Fragment,{children:t})};t.default=u},function(e){e.exports=w},function(e,t,n){n.d(t,{WrapConfigurations:function(){return s}}),n(1),n(15),n(2),n(4);var r=n(14),o=n(13),i=n(5),a=n(0),s=function(e){var t=e.children,n=e.strict,s=e.themeConfiguration,l=e.tooltip,u=e.wrap;return(0,a.jsx)(r.g,{strict:Boolean(n),children:(0,a.jsx)(i.WrapTooltip,{options:l,children:(0,a.jsx)(o.WrapThemeProvider,{configuration:s,wrap:u,children:t})})})};t.default=s},function(e){e.exports=y},function(e,t,n){n.d(t,{defaultFileInputModelState:function(){return I},defaultFileInputProperties:function(){return L},defaultFileNameInputProperties:function(){return O},defaultInputModelState:function(){return b},defaultInputProperties:function(){return E},fileInputPropertyTypes:function(){return w},fileInputRenderProperties:function(){return x},inputPropertyTypes:function(){return v},textInputRenderProperties:function(){return g}});var r=n(1),o=n.n(r),i=n(3),a=n.n(i),s=n(8),l={name:s.string,declaration:s.string,description:s.string,default:s.any,selection:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.number,s.string])),s.number,(0,s.objectOf)((0,s.oneOfType)([s.number,s.string])),s.string])),(0,s.objectOf)((0,s.oneOfType)([s.number,s.string]))]),type:s.string,value:s.any},u={dirty:(0,s.oneOfType)([s.boolean,s.symbol]),pristine:(0,s.oneOfType)([s.boolean,s.symbol]),touched:(0,s.oneOfType)([s.boolean,s.symbol]),untouched:(0,s.oneOfType)([s.boolean,s.symbol]),focused:(0,s.oneOfType)([s.boolean,s.symbol]),visited:(0,s.oneOfType)([s.boolean,s.symbol]),invalid:(0,s.oneOfType)([s.boolean,s.symbol]),invalidRequired:(0,s.oneOfType)([s.boolean,s.symbol]),valid:(0,s.oneOfType)([s.boolean,s.symbol])},c=o()({},l,{emptyEqualsNull:s.boolean,trim:s.boolean,invertedPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),pattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximum:(0,s.oneOfType)([s.number,s.string]),minimum:(0,s.oneOfType)([s.number,s.string]),maximumLength:s.number,minimumLength:s.number,mutable:s.boolean,writable:s.boolean,state:(0,s.shape)(u)}),d=o()({},l,u,{className:s.string,styles:s.object,themeConfiguration:s.object,disabled:s.boolean,enforceUncontrolled:s.boolean,initialValue:s.any,inputProperties:s.object,model:(0,s.shape)(c),onChange:s.func,onChangeValue:s.func,onChangeShowDeclaration:s.func,onChangeState:s.func,onClick:s.func,onFocus:s.func,onTouch:s.func,required:s.boolean,requiredText:s.string,ripple:(0,s.oneOfType)([s.boolean,s.object]),rootProps:s.object,showDeclaration:(0,s.oneOfType)([s.boolean,s.symbol]),showInitialValidationState:s.boolean,showValidationState:s.boolean,tooltip:s.any}),f={dirty:!1,pristine:!0,focused:!1,visited:!1,invalid:!1,invalidRequired:!1,valid:!0,touched:!1,untouched:!0},p={declaration:"",description:"",name:"NO_NAME_DEFINED",emptyEqualsNull:!0,pattern:void 0,invertedPattern:void 0,maximum:1/0,minimum:-1/0,maximumLength:-1,minimumLength:0,mutable:!0,writable:!0,nullable:!0,state:o()({},f),trim:!0,type:"string"},h={enforceUncontrolled:!1,model:o()({},p),triggerInitialPropertiesConsolidation:!1,showDeclaration:void 0,showInitialValidationState:!1,showValidationState:!0,requiredText:"Please fill this field."},_=(o()({},d,u,{checked:s.boolean,id:s.string}),o()({},p,{default:!1,type:"boolean",value:!1})),m=(o()({},h,{default:!1,model:o()({},_),requiredText:"Please check this field."}),o()({},u,{invalidMaximum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimum:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumLength:(0,s.oneOfType)([s.boolean,s.symbol]),invalidInvertedPattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidPattern:(0,s.oneOfType)([s.boolean,s.symbol])})),v=o()({},d,m,{align:s.string,children:s.func,cursor:(0,s.oneOfType)([(0,s.shape)({end:s.number.isRequired,start:s.number.isRequired}),s.symbol]),editor:s.string,editorIsActive:(0,s.oneOfType)([s.boolean,s.symbol]),hidden:(0,s.oneOfType)([s.boolean,s.symbol]),icon:(0,s.oneOfType)([s.string,s.object]),inputProps:s.object,invertedPattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedPatternText:s.string,labels:(0,s.oneOfType)([(0,s.arrayOf)((0,s.arrayOf)(s.string)),(0,s.arrayOf)(s.string),s.object]),maximum:(0,s.oneOfType)([s.number,s.string]),maximumLengthText:s.string,maximumText:s.string,minimum:(0,s.oneOfType)([s.number,s.string]),minimumLengthText:s.string,minimumText:s.string,onBlur:s.func,onChangeEditorIsActive:s.func,onKeyDown:s.func,onKeyUp:s.func,onSelect:s.func,onSelectionChange:s.func,outlined:s.boolean,pattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),patternText:s.string,placeholder:s.string,representation:(0,s.oneOfType)([s.string,s.symbol]),rows:s.number,searchSelection:s.boolean,selectableEditor:s.boolean,step:s.number,suggestionCreator:s.func,suggestSelection:s.boolean,trailingIcon:s.any,transformer:s.object}),g=["children","suggestionCreator"],b=o()({},f,{invalidMaximum:!1,invalidMinimum:!1,invalidMaximumLength:!1,invalidMinimumLength:!1,invalidInvertedPattern:!1,invalidPattern:!1}),y=o()({},p,{state:b}),E=o()({},h,{cursor:{end:0,start:0},editor:"plain",selectableEditor:!1,rows:4,invertedPatternText:'Your string should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',maximumLengthText:"Please type less or equal than ${maximumLength} symbols.",minimumLengthText:"Please type at least or equal ${minimumLength} symbols.",maximumText:"Please type less or equal than ${formatValue(maximum)}.",minimumText:"Please type at least or equal ${formatValue(minimum)}.",model:o()({},y),patternText:'Your string have to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',searchSelection:!1,suggestSelection:!1,step:1}),x=["children","generateFileNameInputProperties"],T={contentTypePattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedContentTypePattern:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximumSize:s.number,minimumSize:s.number},C=o()({},c,T,{fileName:(0,s.shape)(v)}),A=o()({},u,{invalidContentTypePattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidInvertedContentTypePattern:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMaximumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidMinimumSize:(0,s.oneOfType)([s.boolean,s.symbol]),invalidName:(0,s.oneOfType)([s.boolean,s.symbol])}),w=o()({},d,T,A,{children:s.func,contentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),invertedContentTypePatternText:(0,s.oneOfType)([(0,s.arrayOf)((0,s.oneOfType)([s.object,s.string])),s.object,s.string]),maximumSizeText:s.string,minimumSizeText:s.string,model:(0,s.shape)(C),deleteButton:(0,s.oneOfType)([s.object,s.string]),downloadButton:(0,s.oneOfType)([s.object,s.string]),editButton:(0,s.oneOfType)([s.object,s.string]),newButton:(0,s.oneOfType)([s.object,s.string]),encoding:s.string,generateFileNameInputProperties:s.func,onBlur:s.func,outlined:s.boolean}),I=o()({},f,{invalidContentTypePattern:!1,invalidInvertedContentTypePattern:!1,invalidMaximumSize:!1,invalidMinimumSize:!1,invalidName:!1}),S=o()({},p,{contentTypePattern:/^.+\/.+$/,invertedContentTypePattern:void 0,fileName:o()({},y,{maximumLength:1024,name:"Name",pattern:/^[^/]+$/}),maximumSize:1/0,minimumSize:0,state:I}),O=o()({},E,{emptyEqualsNull:!1,invertedPatternText:'Your file\'s name should not match the regular expression${[].concat(invertedPattern).length > 1 ? "s" : ""}: "${[].concat(invertedPattern).join("\\", \\"")}".',patternText:'Your file\'s name has to match the regular expression${[].concat(pattern).length > 1 ? "s" : ""}: "${[].concat(pattern).join("\\", \\"")}".',required:!0});delete O.model;var L=o()({},h,{contentTypePatternText:'Your file\'s mime-type has to match the regular expression${[].concat(contentTypePattern).length > 1 ? "s" : ""}: "${[].concat(contentTypePattern).join("\\", \\"")}".',invertedContentTypePatternText:'Your file\'s mime-type should not match the regular expression${[].concat(invertedContentTypePattern).length > 1 ? "s" : ""}: "${[].concat(invertedContentTypePattern).join("\\", \\"")}".',maximumSizeText:"Please provide a file with less or equal size than ${maximumSize} byte.",minimumSizeText:"Please provide a file with more or equal size than ${maximumSize} byte.",deleteButton:"delete",downloadButton:"download",editButton:"edit",newButton:"new",encoding:"utf-8",generateFileNameInputProperties:a().identity,media:{sixteenByNine:!0},model:o()({},S),sourceToBlobOptions:{endings:"transparent",type:"text/plain"},hashingConfiguration:{binaryString:!1,prefix:"",readChunkSizeInByte:2097152}}),P=(o()({},d,m,{children:s.func,createItem:s.func,createPrototype:s.func,maximumNumber:s.number,minimumNumber:s.number}),o()({},p,{state:o()({},p.state,{invalidMaximumNumber:!1,invalidMinimumNumber:!1}),maximumNumber:1/0,minimumNumber:0,type:"string[]"}));o()({},h,{addIcon:{icon:"add"},removeIcon:{icon:"clear"},createItem:function(e){return e.item},createPrototype:function(e){return e.item},model:o()({},P)}),o()({},v,{value:(0,s.shape)({end:(0,s.oneOfType)([s.number,s.string,(0,s.shape)(v)]),start:(0,s.oneOfType)([s.number,s.string,(0,s.shape)(v)])})}),o()({},f),o()({},y,{description:"End",name:"end"}),o()({},y,{description:"Start",name:"start"})},function(e,t,n){n.d(t,{deriveMissingPropertiesFromState:function(){return c},determineInitialRepresentation:function(){return _},determineInitialValue:function(){return m},determineValidationState:function(){return v},formatValue:function(){return C},getConsolidatedProperties:function(){return b},getLabelAndValues:function(){return y},getValueFromSelection:function(){return E},mapPropertiesIntoModel:function(){return g},normalizeSelection:function(){return x},parseValue:function(){return T},renderMessage:function(){return f},translateKnownSymbols:function(){return h},triggerCallbackIfExists:function(){return p},wrapStateSetter:function(){return d}});var r=n(1),o=n.n(r),i=n(3),a=n.n(i),s=n(8);function l(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 u(e,t);var n=Object.prototype.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)?u(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 u(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var c=function(e,t){void 0!==e.model.value&&void 0===e.value&&(e.value=e.model.value),void 0===e.value&&(e.value=t.value),e.model.state?e.model.state=o()({},e.model.state):e.model.state={};for(var n=0,r=Object.entries(t.modelState);n<r.length;n++){var i=r[n],a=i[0],s=i[1];void 0===e.model.state[a]&&(e.model.state[a]=s)}return e},d=function(e,t){return function(n){var r="function"==typeof n?n(t):n;a().equals(null==r?void 0:r.modelState,null==t?void 0:t.modelState)||e(r)}},f=function(e,t){if("string"!=typeof e)return"";var n=a().stringEvaluate("`"+e+"`",t);return n.error?(console.warn("Given message template could not be proceed:",n.error),""):n.result},p=function(e,t,n){void 0===n&&(n=!0);for(var r=arguments.length,o=new Array(r>3?r-3:0),i=3;i<r;i++)o[i-3]=arguments[i];t="on"+a().stringCapitalize(t),e[t]&&(n?e[t].apply(e,o):a().timeout((function(){return e[t].apply(e,o)})))},h=function(e){for(var t={},n=0,r=Object.entries(e);n<r.length;n++){var o=r[n],i=o[0],l=o[1];l===s.UndefinedSymbol?t[i]=void 0:l===s.NullSymbol?t[i]=null:t[i]=a().copy(e[i])}return t};function _(e,t,n,r,i){if("string"==typeof e.representation)return e.representation;if(null!==n){var s,u=function(e,t){if(t)for(var n,r=l(t);!(n=r()).done;){var o=n.value;if(a().equals(null==o?void 0:o.value,e))return o.label||""+e}return null}(n,i);return"string"==typeof u?u:C(o()({},e,{type:e.type||(null==(s=e.model)?void 0:s.type)||t.model.type}),n,r)}return""}var m=function(e,t,n){var r,o;return void 0!==n?n:void 0!==e.value?e.value:void 0!==(null==(r=e.model)?void 0:r.value)?e.model.value:void 0!==e.initialValue?a().copy(e.initialValue):void 0!==e.default?a().copy(e.default):void 0!==(null==(o=e.model)?void 0:o.default)?a().copy(e.model.default):void 0!==t?t:null},v=function(e,t,n){void 0===n&&(n={});var r=!1;n=o()({invalidRequired:function(){return!1===e.model.nullable&&"boolean"!==e.model.type&&!e.model.value&&0!==e.model.value||"boolean"===e.model.type&&!("boolean"==typeof e.model.value||["false","true"].includes(e.model.value))}},n),e.model.state=e.model.state||{};for(var i=0,a=Object.entries(n);i<a.length;i++){var s=a[i],l=s[0],u=s[1],c=t[l];e.model.state[l]=u(),r=r||c!==t[l]}return r&&(e.model.state.invalid=Object.keys(n).some((function(t){return e.model.state[t]})),e.model.state.valid=!e.model.state.invalid),r},g=function(e,t){var n=a().extend(!0,{model:a().copy(t)},e);n.disabled&&(n.model.mutable=!1,delete n.disabled),n.invertedPattern&&(n.model.invertedPattern=n.invertedPattern,delete n.invertedPattern),n.pattern&&(n.model.pattern=n.pattern,delete n.pattern),n.required&&(n.model.nullable=!1,delete n.required),"text"===n.type&&(n.type="string");for(var r,o=l(Object.keys(n.model).concat("value"));!(r=o()).done;){var i=r.value;Object.prototype.hasOwnProperty.call(n,i)&&void 0!==n[i]&&(n.model[i]=n[i])}for(var s in n.model.state)Object.prototype.hasOwnProperty.call(n,s)&&void 0!==n[s]&&(n.model.state[s]=n[s]);return void 0===n.model.value&&(n.model.value=a().copy(n.model.default)),n},b=function(e){var t=o()({},e,e.model||{},(e.model||{}).state||{});return t.disabled=!(t.mutable&&t.writable),delete t.mutable,delete t.writable,delete t.state,t.required=!t.nullable,delete t.nullable,t};function y(e){if(Array.isArray(e)){for(var t,n=[],r=[],o=l(e);!(t=o()).done;){var i=t.value;"string"==typeof(null==i?void 0:i.label)&&(n.push(i.label),r.push(i.value))}return[n,r]}return[[],[]]}function E(e,t){if(Array.isArray(t))for(var n,r=l(t);!(n=r()).done;){var o=n.value;if("string"==typeof(null==o?void 0:o.label)&&o.label===e)return o.value;if(["number","string"].includes(typeof(null==o?void 0:o.value))&&""+o.value===e)return o.value}return null}function x(e,t){if(e||(e=t,t=void 0),!e)return e;var n=null!==t&&"object"==typeof t,r=function(e,r){if(n)if(Array.isArray(t)){if(t.length)if(Array.isArray(t[0]))for(var o,i=l(t);!(o=i()).done;){var a=o.value,s=a[0],u=a[1];if(s===e)return u}else if("number"==typeof r&&r<t.length)return t[r]}else{if(!0===e&&t.true)return t.true;if(!1===e&&t.false)return t.false;if("string"==typeof e&&Object.prototype.hasOwnProperty.call(t,e))return t[e]}return null},i=!1;if(Array.isArray(e)){if(i=!0,e.length){var a=[],s=0;if(Array.isArray(e[0]))for(var u=0,c=e;u<c.length;u++){var d,f=c[u],p=f[0],h=f[1];a.push({label:null!==(d=r(p,s))&&void 0!==d?d:h,value:p}),s+=1}else if(null!==e[0]&&"object"==typeof e[0])for(var _,m=l(e);!(_=m()).done;){var v,g=_.value;a.push(o()({},g,{label:null!==(v=r(g.value,s))&&void 0!==v?v:g.label})),s+=1}else for(var b=0,y=e;b<y.length;b++){var E,x=y[b];a.push({label:null!==(E=r(x,s))&&void 0!==E?E:x,value:x}),s+=1}e=a}}else{for(var T=[],C=0,A=Object.keys(e);C<A.length;C++){var w,I=A[C];T.push({label:null!==(w=r(I))&&void 0!==w?w:e[I],value:I})}e=T}if(Array.isArray(t)&&t.length&&Array.isArray(t[0])){for(var S,O=new Map,L=0,P=l(t);!(S=P()).done;){var N=S.value[0];O.set(N,L),L+=1}e=e.sort((function(e,t){var n,r,o=e.value,i=t.value;return(null!==(n=O.get(o))&&void 0!==n?n:0)-(null!==(r=O.get(i))&&void 0!==r?r:0)}))}else i||(e=e.sort((function(e,t){var n=e.label,r=t.label;return n.localeCompare(r)})));return e}var T=function(e,t,n){var r;if(e.model.trim&&"string"==typeof t&&(t=t.trim().replace(/ +\n/g,"\\n")),e.model.emptyEqualsNull&&""===t)return null;var o=t;return![null,void 0].includes(t)&&null!=(r=n[e.model.type])&&r.parse&&(o=n[e.model.type].parse(t,n,e)),"number"==typeof o&&isNaN(o)?null:o};function C(e,t,n,r){var o;void 0===r&&(r=!0);var i=r?"final":"intermediate";if([null,void 0].includes(t)||"number"==typeof t&&isNaN(t))return"";var a=null==(o=n[e.type||e.model.type])?void 0:o.format;if(a){var s,l,u=(null==(s=a[i])?void 0:s.transform)||(null==(l=a.final)?void 0:l.transform);if(u)return u(t,n,e)}return String(t)}},function(e,t,n){n.d(t,{TextInput:function(){return te},default:function(){return ne}});var r,o,i,a=n(1),s=n.n(a),l=n(3),u=n.n(l),c=n(2),d=n(19),f=n.n(d),p=n(18),h=n(22),_=n(20),m=n(21),v=n(23),g=n(24),b=n(25),y=n(4),E=n(7),x=n(5),T=n(10),C=n(9),A=n(16),w=n.n(A),I=n(17),S=n.n(I),O=n(6),L=n.n(O),P=n(26),N=!(void 0===window),k=N&&P.Editor?P.Editor:L(),R=N?null==(r=n(27))?void 0:r.default:null,D=N?null==(o=n(28))?void 0:o.default:null,M=N?null==(i=n(29))?void 0:i.default:null,j={"text-input":"text-input","mdc-text-field-helper-text":"mdc-text-field-helper-text","text-input--custom":"text-input--custom",ace_editor:"ace_editor","tox-tinymce":"tox-tinymce","text-input__editor__label":"text-input__editor__label","text-input__suggestions":"text-input__suggestions","text-input__suggestions--pending":"text-input__suggestions--pending","text-input__suggestions__suggestion":"text-input__suggestions__suggestion","text-input__suggestions__suggestion__mark":"text-input__suggestions__suggestion__mark"},F="/ace-builds/src-min-noconflict/",B={basePath:F,modePath:F,themePath:F,workerPath:F,useWorker:!1},U=(0,c.lazy)(w()(S().mark((function e(){var t,r,o,i,a,s,l;return S().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:return e.next=2,Promise.resolve().then(n.t.bind(n,30,23));case 2:for(t=e.sent,r=t.config,o=0,i=Object.entries(B);o<i.length;o++)a=i[o],s=a[0],l=a[1],r.set(s,l);return e.next=7,Promise.resolve().then(n.t.bind(n,31,23));case 7:return e.abrupt("return",e.sent);case 8:case"end":return e.stop()}}),e)})))),q="/tinymce/",V={base_url:q,skin_url:q+"skins/ui/oxide",theme_url:q+"themes/silver/theme.min.js",allow_conditional_comments:!1,allow_script_urls:!1,body_class:"mdc-text-field__input",branding:!1,cache_suffix:"?version=1709028393.814",contextmenu:[],document_base_url:"/",element_format:"xhtml",entity_encoding:"raw",fix_list_elements:!0,hidden_input:!1,icon:"material",invalid_elements:"em",invalid_styles:"color font-size line-height",keep_styles:!1,menubar:!1,plugins:["fullscreen","link","code","nonbreaking","searchreplace","visualblocks"],relative_urls:!1,remove_script_host:!1,remove_trailing_brs:!0,schema:"html5",toolbar1:"\n cut copy paste |\n undo redo removeformat |\n styleselect formatselect fontselect fontsizeselect |\n searchreplace visualblocks fullscreen code\n ".trim(),toolbar2:"\n alignleft aligncenter alignright alignjustify outdent indent |\n link nonbreaking bullist numlist bold italic underline strikethrough\n ".trim(),trim:!0};function H(e,t){return(0,T.determineValidationState)(e,t,{invalidMaximum:function(){return"number"==typeof e.model.maximum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.maximum>=0&&e.model.maximum<e.model.value},invalidMinimum:function(){return"number"==typeof e.model.minimum&&"number"==typeof e.model.value&&!isNaN(e.model.value)&&e.model.value<e.model.minimum},invalidMaximumLength:function(){return"number"==typeof e.model.maximumLength&&"string"==typeof e.model.value&&e.model.maximumLength>=0&&e.model.maximumLength<e.model.value.length},invalidMinimumLength:function(){return"number"==typeof e.model.minimumLength&&"string"==typeof e.model.value&&e.model.value.length<e.model.minimumLength},invalidInvertedPattern:function(){return"string"==typeof e.model.value&&Boolean(e.model.invertedPattern)&&[].concat(e.model.invertedPattern).some((function(t){return new RegExp(t).test(e.model.value)}))},invalidPattern:function(){return"string"==typeof e.model.value&&Boolean(e.model.pattern)&&[].concat(e.model.pattern).some((function(t){return!new RegExp(t).test(e.model.value)}))}})}function W(e){"Enter"===e.code&&e.stopPropagation()}function $(e,t){return!!t&&(e=e.toLowerCase(),t.replace(/ +/g," ").toLowerCase().split(" ").every((function(t){return e.includes(t)})))}var z=function(e){return e===1/0?"Infinitely far in the future":e===-1/0?"Infinitely early in the past":isFinite(e)?null:""},K=function(e){return new Date(Math.round(1e3*e)).toISOString()},X=function(e){return e instanceof Date?e.getTime()/1e3:e},G={boolean:{parse:function(e){var t;return"boolean"==typeof e?e:null===(t=new Map([["false",!1],["true",!0],[0,!1],[1,!0]]).get(e))||void 0===t||t},type:"text"},currency:{format:{final:{options:{currency:"USD"},transform:function(e,t){var n,r,o,i=t.currency.format,a=null!==(n=null==i||null==(r=i.final.options)?void 0:r.currency)&&void 0!==n?n:"USD";return e===1/0?"Infinity "+a:e===-1/0?"- Infinity "+a:isNaN(e)?"unknown":new Intl.NumberFormat(te.locales,s()({style:"currency"},null!==(o=null==i?void 0:i.final.options)&&void 0!==o?o:{})).format(e)}}},parse:function(e,t,n){return t.float.parse?t.float.parse(e,t,n):NaN},type:"text"},datetime:{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t.datetime.parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=K(e);return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=X(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3)}return isNaN(e)&&(e=0),n?K(e):e},type:"datetime-local"},"datetime-local":{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t["datetime-local"].parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=K(e+60*(new Date).getTimezoneOffset());return o.substring(0,o.lastIndexOf("."))}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=X(e))){var r=Date.parse(e+":00.000Z"),o=isNaN(r);o&&(r=Date.parse(e+".000Z"),(o=isNaN(r))&&(r=Date.parse(e),e=isNaN(r)?parseFloat(e):r/1e3)),o||(e=r/1e3-60*(new Date).getTimezoneOffset())}return isNaN(e)&&(e=0),n?K(e):e}},date:{format:{final:{transform:function(e,t,n){var r=t.datetime.format.final.transform(e,t,n),o=r.indexOf("T");return-1===o?r:r.substring(0,o)}}},parse:function(e,t,n){return t.datetime.parse(e,t,n)},useISOString:!0},"date-local":{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t["datetime-local"].parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;e-=60*(new Date).getTimezoneOffset();var o=K(e);return o.substring(0,o.lastIndexOf("T"))}}},parse:function(e,t,n){return(e=t.datetime.parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n))%(24*Math.pow(60,2))==0&&(e+=60*(new Date).getTimezoneOffset()),t.date.useISOString?K(e):e},type:"date"},time:{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t.datetime.parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=K(e),i=o.indexOf("T");return-1===i?o:(o=o.substring(i+1,o.length-1),n.step&&n.step>=60&&n.step%60==0?o.substring(0,o.lastIndexOf(":")):o)}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=X(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o,i){return String(parseInt(t)*Math.pow(60,2)+60*parseInt(n)+(r?parseFloat(o):0))})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?K(e):e}},"time-local":{format:{final:{transform:function(e,t,n){"number"!=typeof e&&(e=t["time-local"].parse(e,s()({},t,{date:s()({},t.date,{useISOString:!1})}),n));var r=z(e);if("string"==typeof r)return r;var o=new Date(1e3*e),i=o.getHours(),a=o.getMinutes(),l=(i<10?"0":"")+String(i)+":"+(a<10?"0":"")+String(a);if(!(n.step&&n.step>=60&&n.step%60==0)){var u=o.getSeconds();return l+":"+(u<10?"0":"")+String(u)}return l}}},parse:function(e,t){var n=t.date.useISOString;if("string"==typeof(e=X(e))){var r=Date.parse(e);if(isNaN(r)){var o=parseFloat(e.replace(/^([0-9]{2}):([0-9]{2})(:([0-9]{2}(\.[0-9]+)?))?$/,(function(e,t,n,r,o,i){var a=new Date(0);return a.setHours(parseInt(t)),a.setMinutes(parseInt(n)),r&&a.setSeconds(parseInt(o)),String(a.getTime()/1e3)})));e=isNaN(o)?0:o}else e=r/1e3}return isNaN(e)&&(e=0),n?K(e):e},type:"time"},float:{format:{final:{transform:function(e,t){var n=t.float.format;return n?e===1/0?"Infinity":e===-1/0?"- Infinity":new Intl.NumberFormat(te.locales,n.final.options||{}).format(e):""+e}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseFloat("de-DE"===te.locales[0]?e.replace(/\./g,"").replace(/,/g,"."):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},integer:{format:{final:{transform:function(e,t){var n,r=t.integer.format;return new Intl.NumberFormat(te.locales,s()({maximumFractionDigits:0},null!==(n=null==r?void 0:r.final.options)&&void 0!==n?n:{})).format(e)}}},parse:function(e,t,n){var r=n.maximum,o=n.minimum;return"string"==typeof e&&(e=parseInt("de-DE"===te.locales[0]?e.replace(/[,.]/g,""):e)),("number"==typeof o&&o>=0&&e<0||"number"==typeof r&&r<=0&&e>0)&&(e*=-1),e},type:"text"},number:{parse:function(e){return"number"==typeof e?e:parseInt(e)}}},Y=n(0);function Q(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 J(e,t);var n=Object.prototype.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)?J(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 J(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var Z=!1,ee=function(e,t){var n,r,o,i,a,l,d,C,A,w=(0,c.useId)(),I=null!==(n=e.id)&&void 0!==n?n:w;(0,c.useEffect)((function(){if(Ke||ye.selectionIsUnstable)if(Xe.editorIsActive){var e,t;null!=(e=ie.current)&&null!=(e=e.editor)&&e.selection?(ie.current.editor.textInput.focus(),q(ie.current),ye.selectionIsUnstable&&Ee(s()({},ye,{selectionIsUnstable:!1}))):null!=(t=ce.current)&&t.selection&&(ce.current.focus(!1),z(ce.current),ye.selectionIsUnstable&&Ee(s()({},ye,{selectionIsUnstable:!1})))}else le.current&&(le.current.setSelectionRange(Xe.cursor.start,Xe.cursor.end),ye.selectionIsUnstable&&Ee(s()({},ye,{selectionIsUnstable:!1})))})),(0,c.useEffect)((function(){if(le.current){var e={},t=[];Xe.valid?(t.push("ariaErrormessage"),t.push("ariaInvalid")):(e.ariaErrormessage=I+"-error-message",e.ariaInvalid="true"),rt?("search"!==le.current.getAttribute("type")&&(e.role="searchbox"),e.ariaAutocomplete=Xe.searchSelection?"inline":"list"):(t.push("searchbox"),t.push("ariaAutocomplete")),Xe.showDeclaration?e.ariaDescribedby=I+"-declaration":t.push("ariaDescribedby");for(var n=s()({},e,Xe.inputProps||{}),r=0,o=Object.entries(n);r<o.length;r++){var i=o[r],a=i[0],l=i[1],c=u().stringCamelCaseToDelimited(a);"boolean"==typeof l?l?le.current.setAttribute(c,""):le.current.removeAttribute(c):le.current.setAttribute(c,String(l))}for(var d=0,f=t;d<f.length;d++){var p=f[d],h=u().stringCamelCaseToDelimited(p);le.current.hasAttribute(h)&&le.current.removeAttribute(h)}}})),(0,c.useEffect)((function(){if(ct){var e,t=null==(e=he.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){t.hasAttribute("aria-expanded")||t.setAttribute("aria-expanded","false");var n=t.querySelector(".mdc-select__dropdown-icon-active");n&&!n.hasAttribute("aria-hidden")&&n.setAttribute("aria-hidden","true");var r=t.querySelector(".mdc-select__dropdown-icon-inactive");r&&!r.hasAttribute("aria-hidden")&&r.setAttribute("aria-hidden","true")}}})),(0,c.useEffect)((function(){if(ct){var e,t=null==(e=he.current)?void 0:e.querySelector('[aria-haspopup="listbox"]');if(t){var n=function(e){Xe.disabled&&e.stopPropagation()};return t.addEventListener("keydown",n,!0),function(){t.removeEventListener("keydown",n,!0)}}}})),(0,c.useEffect)((function(){Xe.triggerInitialPropertiesConsolidation&&X(new Event("genericInitialPropertiesConsolidation"))}),[]);var S=function(e){if("clear_preset"===e){var t=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),G((0,T.parseValue)(Xe,Xe.default,te.transformer)))},n=u().equals(Xe.value,Xe.default);return{icon:(0,Y.jsx)(f(),{in:!n,children:R&&!R.isDummy&&M?(0,Y.jsx)(R,{animation:M,reverse:!0}):(0,Y.jsx)(_.Icon,{icon:"clear"})}),"aria-hidden":n?"true":"false",onClick:t,onKeyDown:t,tabIndex:n?-1:0,strategy:"component",tooltip:"Clear input"}}if("password_preset"===e){var r=function(e){e.code&&!["Enter","Space"].includes(e.code)||(e.preventDefault(),e.stopPropagation(),Ce((function(t){return void 0===t&&(t=Xe.hidden),Xe.hidden=!t,X(e),Xe.hidden})))};return{icon:R&&!R.isDummy&&D?(0,Y.jsx)(R,{animation:D,reverse:!Xe.hidden}):Xe.hidden?"lock_open":"lock",onClick:r,onKeyDown:r,strategy:"component",tooltip:(Xe.hidden?"Show":"Hide")+" password"}}return e&&("string"==typeof e&&(e={icon:e}),Object.prototype.hasOwnProperty.call(e,"onClick")||(e.tabIndex=-1,e["aria-hidden"]=!0)),e},O=function(e){var t,n;return"string"===e.type?e.hidden?"password":rt?"search":"text":null!==(t=null==(n=Re[e.type])?void 0:n.type)&&void 0!==t?t:e.type},L=function(e,t,n){return void 0===t&&(t={}),void 0===n&&(n=!0),"boolean"==typeof t?n?(0,Y.jsx)(f(),{in:t,children:e}):t?e:"":n?(0,Y.jsx)(f(),s()({},t,{children:e})):t.in?e:""},P=function(e){var t;if("object"==typeof e&&null!=(t=e)&&t.tooltip){var n=e.tooltip;delete(e=s()({},e)).tooltip;var r=s()({},e);e.strategy="component",e.icon=(0,Y.jsx)(x.default,{options:n,children:(0,Y.jsx)(_.Icon,{icon:r})})}return e},N=function(e,t,n){if(!Xe.value)return 0;var r="text-input-selection-indicator",o=" "+r+'="###"';t.setAttribute(r,"###");var i=e.innerHTML.replace(/(<\/p>)/gi,"$1\n");t.removeAttribute(r);var a=i.indexOf(o)+37;return n+i.indexOf(">",a)+1-37},F=function(e,t){return"string"==typeof Xe.value||Xe.value?t>0?e+Xe.value.split("\n").slice(0,t).map((function(e){return 1+e.length})).reduce((function(e,t){return e+t})):e:0},B=function(e){var t={column:0,row:0};if("string"==typeof Xe.value)for(var n,r=Q(Xe.value.split("\n"));!(n=r()).done;){var o=n.value;if(!(o.length<e)){t.column=e;break}e-=1+o.length,t.row+=1}return t},q=function(e){var t=e.editor.selection.getRange(),n=B(Xe.cursor.end);t.setEnd(n.row,n.column);var r=B(Xe.cursor.start);t.setStart(r.row,r.column),e.editor.selection.setRange(t)},z=function(e){for(var t={end:"###text-input-selection-indicator-end###",start:"###text-input-selection-indicator-start###"},n={end:Xe.cursor.end+t.start.length,start:Xe.cursor.start},r=["start","end"],o=Xe.representation,i=0,a=r;i<a.length;i++){var s=a[i];o=o.substring(0,n[s])+t[s]+o.substring(n[s])}e.getBody().innerHTML=o;for(var l,c=document.createTreeWalker(e.getBody(),NodeFilter.SHOW_TEXT,null),d=e.dom.createRng(),f={};l=c.nextNode();)for(var p,h=Q(r);!(p=h()).done;){var _=p.value;if(l.nodeValue){var m=l.nodeValue.indexOf(t[_]);m>-1&&(l.nodeValue=l.nodeValue.replace(t[_],""),f[_]=[l,m])}}for(var v=0,g=r;v<g.length;v++){var b=g[v];f[b]&&d["set"+u().stringCapitalize(b)].apply(d,f[b])}f.end&&f.start&&e.selection.setRng(d)},K=function(e){var t=(0,T.getConsolidatedProperties)(function(e){var t=(0,T.mapPropertiesIntoModel)(e,te.defaultProperties.model);return t.model.value=(0,T.parseValue)(t,t.model.value,Re),H(t,t.model.state),t}(e));return t.selection||"boolean"!==t.type||(t.selection=[{label:"No",value:!1},{label:"Yes",value:!0}]),t.selectableEditor||"plain"===t.editor||(t.editorIsActive=!0),"string"!=typeof t.representation&&(t.representation=(0,T.formatValue)(t,t.value,Re,!t.focused),t.focused&&t.representation!==t.value&&["password","text"].includes(O(t))&&(Ke=!0)),t},X=function(e){u().extend(!0,Xe,K(Xe)),(0,T.triggerCallbackIfExists)(Xe,"change",$e,Xe,e)},G=function(e,t,n){var r;if(void 0===n&&(n=-1),Ie(!0),null!==e&&"object"==typeof e){var o=e.target||e.detail;Xe.value=o?void 0===o.value?null:o.value:e}else Xe.value=e;var i=function(){return We((function(e){if(!ze&&e.representation===Xe.representation&&!Xe.suggestionCreator&&-1===n)return e;var t=s()({},e,{representation:Xe.representation});if(!$e&&u().equals(e.value,Xe.value))return t;t.value=Xe.value;var o=!1;return e.modelState.pristine&&(Xe.dirty=!0,Xe.pristine=!1,o=!0),X(r),H(Xe,e.modelState)&&(o=!0),(0,T.triggerCallbackIfExists)(Xe,"changeValue",$e,Xe.value,r,Xe),o&&(t.modelState=Xe.model.state,(0,T.triggerCallbackIfExists)(Xe,"changeState",$e,Xe.model.state,r,Xe)),(ct||-1!==n)&&(0,T.triggerCallbackIfExists)(Xe,"select",$e,r,Xe),t}))};if(Xe.representation=-1!==n?tt[n]:"string"==typeof Xe.value?Xe.value:(0,T.formatValue)(Xe,Xe.value,Re),rt)if(Xe.suggestionCreator){var a=new AbortController,l=function(e){if(!a.signal.aborted){if(je((function(t){return t instanceof AbortController&&!t.signal.aborted&&t.abort(),e})),-1===n){var t=(0,T.getValueFromSelection)(Xe.representation,(0,T.normalizeSelection)(e));null!==t||Xe.searchSelection?Xe.value=t:Xe.value=(0,T.parseValue)(Xe,Xe.representation,Re)}i()}},c=Xe.suggestionCreator({abortController:a,properties:Xe,query:Xe.representation});null!=c&&c.then?(je((function(e){return e instanceof AbortController&&!e.signal.aborted&&e.abort(),a})),We((function(e){return s()({},e,{representation:Xe.representation})})),c.then(l,u().noop)):l(c)}else{if(-1===n){var d=(0,T.getValueFromSelection)(Xe.representation,Fe);null!==d||Xe.searchSelection?Xe.value=d:Xe.value=(0,T.parseValue)(Xe,Xe.representation,Re)}i()}else Xe.value=(0,T.parseValue)(Xe,Xe.value,Re),i()},J=function(e){re(e),(0,T.triggerCallbackIfExists)(Xe,"click",$e,e,Xe),oe(e)},ee=function(e){(0,T.triggerCallbackIfExists)(Xe,"focus",$e,e,Xe),oe(e)},ne=function(e){e.code&&(re(e),(0,T.triggerCallbackIfExists)(Xe,"keyUp",$e,e,Xe))},re=function(e){!function(e){var t,n,r,o,i=null==(t=ie.current)||null==(t=t.editor)||null==(t=t.selection)?void 0:t.getRange(),a=null==(n=ce.current)||null==(n=n.selection)?void 0:n.getRng(),s=null==(r=le.current)?void 0:r.selectionEnd,l=null==(o=le.current)?void 0:o.selectionStart;if(i)ge({end:F(i.end.column,"number"==typeof i.end.row?i.end.row:"string"==typeof Xe.value?Xe.value.split("\n").length-1:0),start:F(i.start.column,"number"==typeof i.start.row?i.start.row:"string"==typeof Xe.value?Xe.value.split("\n").length-1:0)});else if(a)ge({end:N(ce.current.getBody(),ce.current.selection.getEnd(),a.endOffset),start:N(ce.current.getBody(),ce.current.selection.getStart(),a.startOffset)});else if("number"==typeof s&&"number"==typeof l){var u,c=1===(null==e||null==(u=e.key)?void 0:u.length)?1:"Backspace"===(null==e?void 0:e.key)&&Xe.representation.length>l?-1:0;ge({end:s+c,start:l+c})}}(e),(0,T.triggerCallbackIfExists)(Xe,"selectionChange",$e,e,Xe)},oe=function(e){return We((function(t){var n=!1;t.modelState.focused||(Xe.focused=!0,n=!0),t.modelState.untouched&&(Xe.touched=!0,Xe.untouched=!1,n=!0);var r=t;return n&&(X(e),r=s()({},t,{modelState:Xe.model.state}),(0,T.triggerCallbackIfExists)(Xe,"changeState",$e,Xe.model.state,e,Xe)),(0,T.triggerCallbackIfExists)(Xe,"touch",$e,e,Xe),r}))},ie=(0,c.useRef)(null),ae=(0,c.useRef)(null),se=(0,c.useRef)(null),le=(0,c.useRef)(null),ue=(0,c.useRef)(null),ce=(0,c.useRef)(null),de=(0,c.useRef)(null),fe=(0,c.useRef)(null),pe=(0,c.useRef)(null),he=(0,c.useRef)(null),_e=(0,T.translateKnownSymbols)(e),me=(0,c.useState)({end:0,start:0}),ve=me[0],ge=me[1],be=(0,c.useState)({editorIsActive:!1,selectionIsUnstable:!1}),ye=be[0],Ee=be[1],xe=(0,c.useState)(),Te=xe[0],Ce=xe[1],Ae=(0,c.useState)(!1),we=Ae[0],Ie=Ae[1],Se=(0,c.useState)(!1),Oe=Se[0],Le=Se[1],Pe=(0,T.determineInitialValue)(_e,null==(r=te.defaultProperties.model)?void 0:r.default);Pe instanceof Date&&(Pe=Pe.getTime()/1e3);var Ne=u().extend(!0,u().copy(te.defaultProperties),_e),ke=Ne.type||(null==(o=Ne.model)?void 0:o.type)||"string",Re=Ne.transformer?s()({},te.transformer,((i={})[ke]=u().extend(!0,u().copy(te.transformer[ke])||{},Ne.transformer),i)):te.transformer,De=(0,c.useState)(),Me=De[0],je=De[1];(Ne.selection||null!=(a=Ne.model)&&a.selection)&&(Me=Ne.selection||(null==(l=Ne.model)?void 0:l.selection));var Fe=Me instanceof AbortController?[]:(0,T.normalizeSelection)(Me,Ne.labels),Be=Me instanceof AbortController?[[],[]]:(0,T.getLabelAndValues)(Fe),Ue=Be[0],qe=Be[1],Ve=(0,c.useState)((function(){return{modelState:s()({},te.defaultModelState),representation:(0,T.determineInitialRepresentation)(Ne,te.defaultProperties,Pe,Re,Fe),value:Pe}})),He=Ve[0],We=Ve[1],$e=!Ne.enforceUncontrolled&&(void 0!==(null==(d=_e.model)?void 0:d.value)||void 0!==_e.value)&&Boolean(_e.onChange||_e.onChangeValue),ze=$e&&void 0!==_e.representation,Ke=!1;null!==Ne.cursor&&"object"==typeof Ne.cursor||(Ne.cursor={}),void 0===Ne.cursor.end&&(Ne.cursor.end=ve.end),void 0===Ne.cursor.start&&(Ne.cursor.start=ve.start),void 0===Ne.editorIsActive&&(Ne.editorIsActive=ye.editorIsActive),void 0===Ne.hidden&&(Ne.hidden=Te),void 0===Ne.representation&&(Ne.representation=He.representation),void 0===Ne.showDeclaration&&(Ne.showDeclaration=Oe),(0,T.deriveMissingPropertiesFromState)(Ne,He),void 0===Ne.value?void 0===Ne.representation&&void 0===Ne.model.value&&(Ne.representation=He.representation):ze||Ne.value===He.value||(Ne.representation=void 0);var Xe=K(Ne);void 0===Xe.hidden&&(Xe.hidden=null==(C=Xe.name)?void 0:C.startsWith("password")),u().equals(Xe.cursor,ve)||ge(Xe.cursor),Xe.editorIsActive!==ye.editorIsActive&&Ee(s()({},ye,{editorIsActive:Xe.editorIsActive})),Xe.hidden!==Te&&Ce(Xe.hidden),Xe.showDeclaration!==Oe&&Le(Xe.showDeclaration);var Ge={modelState:Xe.model.state,representation:Xe.representation,value:Xe.value};($e||u().equals(Xe.value,He.value)&&Xe.representation===He.representation)&&u().equals(Xe.model.state,He.modelState)||We(Ge),$e&&(We=(0,T.wrapStateSetter)(We,Ge)),(0,c.useImperativeHandle)(t,(function(){for(var e,t={modelState:Xe.model.state},n=Q(["cursor","editorIsActive","hidden","showDeclaration"]);!(e=n()).done;){var r=e.value;Object.prototype.hasOwnProperty.call(_e,r)||(t[r]=Xe[r])}return ze||(t.representation=Xe.representation),$e||(t.value=Xe.value),{properties:Xe,references:{codeEditorReference:ie,codeEditorInputReference:ae,foundationReference:se,inputReference:le,richTextEditorInputReference:ue,richTextEditorInstance:ce,richTextEditorReference:de,suggestionMenuAPIReference:fe,suggestionMenuFoundationReference:pe,wrapperReference:he},state:t}}));var Ye={id:I,onFocus:function(e){Ie(!0),ee(e)},placeholder:Xe.placeholder},Qe={disabled:Xe.disabled,helpText:{children:(0,Y.jsxs)(Y.Fragment,{children:[(0,Y.jsx)(f(),{in:Xe.selectableEditor&&"string"===Xe.type&&"plain"!==Xe.editor,children:(0,Y.jsx)(m.IconButton,{icon:{"aria-label":Xe.editorIsActive?"plain":Xe.editor.startsWith("code")?"code":"richtext",icon:Xe.editorIsActive?"subject":Xe.editor.startsWith("code")?"code":"text_format",onClick:function(e){e&&(e.preventDefault(),e.stopPropagation()),Ee((function(t){var n=t.editorIsActive;return Xe.editorIsActive=!n,X(e),(0,T.triggerCallbackIfExists)(Xe,"changeEditorIsActive",$e,Xe.editorIsActive,e,Xe),{editorIsActive:Xe.editorIsActive,selectionIsUnstable:!0}}))}}})}),(0,Y.jsx)(f(),{in:Boolean(Xe.declaration),children:(0,Y.jsx)(m.IconButton,{"aria-expanded":Xe.showDeclaration?"true":"false","aria-label":"declaration",checked:Xe.showDeclaration,icon:"more_horiz",onIcon:"more_vert",onChange:function(e){Le((function(t){return Xe.showDeclaration=!t,X(e),(0,T.triggerCallbackIfExists)(Xe,"changeShowDeclaration",$e,Xe.showDeclaration,e,Xe),Xe.showDeclaration}))}})}),(0,Y.jsx)(f(),{id:I+"-declaration",in:Xe.showDeclaration,children:Xe.declaration}),(0,Y.jsx)(f(),{in:!Xe.showDeclaration&&Xe.invalid&&Xe.showValidationState&&(Xe.showInitialValidationState||Xe.visited),children:(0,Y.jsx)(y.Theme,{use:"error",wrap:!0,children:(0,Y.jsx)("span",{id:I+"-error-message",children:(0,T.renderMessage)(Xe.invalidMaximum&&Xe.maximumText||Xe.invalidMaximumLength&&Xe.maximumLengthText||Xe.invalidMinimum&&Xe.minimumText||Xe.invalidMinimumLength&&Xe.minimumLengthText||Xe.invalidInvertedPattern&&Xe.invertedPatternText||Xe.invalidPattern&&Xe.patternText||Xe.invalidRequired&&Xe.requiredText,s()({formatValue:function(e){return(0,T.formatValue)(Xe,e,Re)}},Xe))})})})]}),persistent:Boolean(Xe.declaration)},invalid:Xe.invalid&&Xe.showValidationState&&(Xe.showInitialValidationState||Xe.visited),label:Xe.description||Xe.name,outlined:Xe.outlined};Xe.icon&&(Qe.icon=P(S(Xe.icon)));var Je=s()({},V,{content_style:Xe.disabled?"body {opacity: .38}":"",placeholder:Xe.placeholder,readonly:Boolean(Xe.disabled),setup:function(e){ce.current=e,ce.current.on("init",(function(){ce.current&&(Z=!0,Xe.editorIsActive&&ye.selectionIsUnstable&&(ce.current.focus(!1),z(ce.current),Ee(s()({},ye,{selectionIsUnstable:!1}))))}))}});Xe.editor.endsWith("raw)")?(Je.toolbar1="cut copy paste | undo redo removeformat | code | fullscreen",delete Je.toolbar2):Xe.editor.endsWith("simple)")?(Je.toolbar1="cut copy paste | undo redo removeformat | bold italic underline strikethrough subscript superscript | fullscreen",delete Je.toolbar2):Xe.editor.endsWith("normal)")&&(Je.toolbar1="cut copy paste | undo redo removeformat | styleselect formatselect | searchreplace visualblocks fullscreen code");var Ze=!Xe.selection&&"string"===Xe.type&&Xe.editorIsActive&&(Xe.editor.startsWith("code")||Xe.editor.startsWith("richtext(")),et=[],tt=[],nt=[],rt=Boolean(Xe.suggestionCreator||Ue.length&&(Xe.searchSelection||Xe.suggestSelection));if(rt&&Ue.length){Xe.suggestSelection=!Xe.searchSelection;for(var ot,it=0,at=Q(Ue);!(ot=at()).done;){var st=ot.value;if(u().isFunction(Xe.children)){var lt=Xe.children({index:it,normalizedSelection:Fe,properties:Xe,query:Xe.representation,suggestion:st,value:qe[it]});lt&&(et.push((0,Y.jsx)(v.MenuItem,{className:j["text-input__suggestions__suggestion"],children:lt},it)),tt.push(st),nt.push(qe[it]))}else if(!Xe.representation||Xe.suggestionCreator||$(st,Xe.representation)){var ut;et.push((0,Y.jsx)(v.MenuItem,{className:j["text-input__suggestions__suggestion"],children:u().stringMark(st,(null==(ut=Xe.representation)?void 0:ut.split(" "))||"",{marker:function(e){return(0,Y.jsx)("span",{className:j["text-input__suggestions__suggestion__mark"],children:e})},normalizer:function(e){return(""+e).toLowerCase()},skipTagDelimitedParts:null}).map((function(e,t){return(0,Y.jsx)("span",{children:e},t)}))},it)),tt.push(st),nt.push(qe[it])}it+=1}}var ct=(Boolean(Fe)||Boolean(Xe.labels))&&!rt,dt={};return"number"===Xe.type?(dt.step=Xe.step,Xe.maximum!==1/0&&(dt.max=Xe.maximum),Xe.minimum!==-1/0&&(dt.min=Xe.minimum)):"string"===Xe.type?(Xe.maximumLength>=0&&Xe.maximumLength!==1/0&&(dt.maxLength=Xe.maximumLength),Xe.minimumLength>0&&(dt.minLength=Xe.minimumLength),"plain"!==Xe.editor&&(dt.rows=Xe.rows)):["date","date-local","datetime","datetime-local","time","time-local"].includes(Xe.type)&&(dt.step=Xe.step,Xe.maximum!==1/0&&(dt.max=(0,T.formatValue)(Xe,Xe.maximum,Re)),Xe.minimum!==-1/0&&(dt.min=(0,T.formatValue)(Xe,Xe.minimum,Re))),(0,Y.jsx)(E.default,{strict:te.strict,themeConfiguration:Xe.themeConfiguration,tooltip:Xe.tooltip,children:(0,Y.jsxs)("div",s()({className:[j["text-input"]].concat(Ze?j["text-input--custom"]:[],null!==(A=Xe.className)&&void 0!==A?A:[]).join(" "),onBlur:function(e){return We((function(t){var n;if(e.relatedTarget&&null!=(n=he.current)&&n.contains(e.relatedTarget))return t;Ie(!1);var r=!1,o=!1;if(t.modelState.focused&&(Xe.focused=!1,r=!0,o=!0),t.modelState.visited||(Xe.visited=!0,r=!0,o=!0),!rt||Xe.suggestSelection){var i=(0,T.getValueFromSelection)(Xe.representation,Fe);null===i?(Xe.value=(0,T.parseValue)(Xe,Xe.value,Re),Xe.representation=(0,T.formatValue)(Xe,Xe.value,Re)):Xe.value=i}return u().equals(t.value,Xe.value)&&t.representation===Xe.representation||(r=!0),r&&X(e),u().equals(t.value,Xe.value)||(0,T.triggerCallbackIfExists)(Xe,"changeValue",$e,Xe.value,e,Xe),o&&(0,T.triggerCallbackIfExists)(Xe,"changeState",$e,Xe.model.state,e,Xe),(0,T.triggerCallbackIfExists)(Xe,"blur",$e,e,Xe),r?{modelState:Xe.model.state,representation:Xe.representation,value:Xe.value}:t}))},onKeyDown:function(e){var t;!Xe.disabled&&rt&&"ArrowDown"===e.code&&e.target===le.current&&(null==(t=fe.current)||t.focusItemAtIndex(0)),(ct||"string"===Xe.type&&"plain"!==Xe.editor)&&W(e),(0,T.triggerCallbackIfExists)(Xe,"keyDown",$e,e,Xe)},ref:he,style:Xe.styles},rt?{role:"search"}:{},{children:[L((0,Y.jsx)(g.Select,s()({},Ye,Qe,{enhanced:!0,foundationRef:se,inputRef:le,onChange:G,onKeyDown:function(e){Xe.disabled||"Tab"===e.code||e.preventDefault()},options:Fe,rootProps:s()({name:Xe.name,onClick:J},Xe.rootProps),value:""+Xe.value},Xe.inputProperties)),ct),L([(0,Y.jsx)(h.FormField,{className:["mdc-text-field"].concat(Xe.disabled?"mdc-text-field--disabled":[],"mdc-text-field--textarea").join(" "),onKeyDown:W,children:(0,Y.jsxs)("label",{children:[(0,Y.jsx)("span",{className:[j["text-input__editor__label"]].concat("mdc-floating-label","mdc-floating-label--float-above").join(" "),children:(0,Y.jsx)(y.Theme,{use:Xe.invalid&&Xe.showValidationState&&(Xe.showInitialValidationState||Xe.visited)?"error":void 0,children:(Xe.description||Xe.name)+(Xe.required?"*":"")})}),Xe.editor.startsWith("code")?(0,Y.jsx)(c.Suspense,{fallback:(0,Y.jsx)(p.CircularProgress,{size:"large"}),children:(0,Y.jsx)(U,s()({},Ye,{className:"mdc-text-field__input",mode:Xe.editor.startsWith("code(")&&Xe.editor.endsWith(")")?Xe.editor.substring(5,Xe.editor.length-1):"javascript",name:Xe.name,onChange:G,onCursorChange:re,onSelectionChange:re,ref:function(e){var t;ie.current=e,null!=(t=ie.current)&&null!=(t=t.editor)&&null!=(t=t.container)&&t.querySelector("textarea")&&(ae.current=ie.current.editor.container.querySelector("textarea")),ie.current&&Xe.editorIsActive&&ye.selectionIsUnstable&&(ie.current.editor.textInput.focus(),q(ie.current),Ee(s()({},ye,{selectionIsUnstable:!1})))},setOptions:{maxLines:Xe.rows,minLines:Xe.rows,readOnly:Xe.disabled,tabSize:4,useWorker:!1},theme:"github",value:Xe.representation},Xe.inputProperties))}):(0,Y.jsx)(k,s()({},Ye,{disabled:Xe.disabled,init:Je,onClick:J,onEditorChange:G,onKeyUp:ne,ref:function(e){de.current=e},textareaName:Xe.name,tinymceScriptSrc:V.base_url+"tinymce.min.js",value:Xe.representation},Xe.inputProperties))]})},"advanced-editor-form-field"),(0,Y.jsx)("div",{className:"mdc-text-field-helper-line",children:(0,Y.jsx)("p",{className:"mdc-text-field-helper-text mdc-text-field-helper-text--persistent",id:I+"-error-message",children:Qe.helpText.children})},"advanced-editor-helper-line")],Ze,Z||Xe.editor.startsWith("code")),L((0,Y.jsxs)("div",{children:[rt?(0,Y.jsx)(v.MenuSurfaceAnchor,{onKeyDown:W,children:Me instanceof AbortController?(0,Y.jsx)(v.MenuSurface,{anchorCorner:"bottomLeft",className:j["text-input__suggestions"]+" "+j["text-input__suggestions--pending"],open:!0,children:(0,Y.jsx)(p.CircularProgress,{size:"large"})}):(0,Y.jsx)(v.Menu,{anchorCorner:"bottomLeft",apiRef:function(e){fe.current=e},className:j["text-input__suggestions"],focusOnOpen:!1,foundationRef:pe,onFocus:ee,onSelect:function(e){G(nt[e.detail.index],void 0,e.detail.index),Ie(!1)},open:Boolean(tt.length)&&we&&!(1===tt.length&&tt[0]===Xe.representation),children:et})}):"",(0,Y.jsx)(b.TextField,s()({},Ye,Qe,dt,{align:Xe.align,characterCount:"number"==typeof Xe.maximumLength&&!isNaN(Xe.maximumLength)&&Xe.maximumLength>=0,foundationRef:se,inputRef:le,onChange:G,ripple:Xe.ripple,rootProps:s()({name:Xe.name,onClick:J,onKeyUp:ne,tabIndex:Xe.disabled?"0":"-1"},Xe.rootProps),textarea:"string"===Xe.type&&"plain"!==Xe.editor,trailingIcon:P(S(Xe.trailingIcon)),type:O(Xe),value:Xe.representation},Xe.inputProperties))]}),!(Ze||ct),Z||Xe.editor.startsWith("code"))]}))})};ee.displayName="TextInput";var te=(0,c.memo)((0,c.forwardRef)(ee));te.wrapped=ee,te.webComponentAdapterWrapped="react",te.defaultModelState=C.defaultInputModelState,te.defaultProperties=s()({},C.defaultInputProperties,{cursor:void 0,model:s()({},C.defaultInputProperties.model,{state:void 0,value:void 0}),representation:void 0,value:void 0}),te.locales=u().locales,te.propTypes=C.inputPropertyTypes,te.renderProperties=C.textInputRenderProperties,te.strict=!1,te.transformer=G;var ne=te},function(e){e.exports=p},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(2),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=n},function(t){t.exports=e},function(e){e.exports=r},function(e){e.exports=o},function(e){e.exports=S},function(e){e.exports=l},function(e){e.exports=u},function(e){e.exports=a},function(e){e.exports=s},function(e){e.exports=c},function(e){e.exports=d},function(e){e.exports=f},function(e){e.exports=T},function(e){e.exports=I},function(e){e.exports=_},function(e){e.exports=v},function(e){e.exports=x},function(e){e.exports=g},,function(e){e.exports=P},function(e){e.exports=i}],O={};function L(e){var t=O[e];if(void 0!==t)return t.exports;var n=O[e]={exports:{}};return A[e](n,n.exports,L),n.exports}L.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return L.d(t,{a:t}),t},C=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},L.t=function(e,t){if(1&t&&(e=this(e)),8&t)return e;if("object"==typeof e&&e){if(4&t&&e.__esModule)return e;if(16&t&&"function"==typeof e.then)return e}var n=Object.create(null);L.r(n);var r={};E=E||[null,C({}),C([]),C(C)];for(var o=2&t&&e;"object"==typeof o&&!~E.indexOf(o);o=C(o))Object.getOwnPropertyNames(o).forEach((function(t){r[t]=function(){return e[t]}}));return r.default=function(){return e},L.d(n,r),n},L.d=function(e,t){for(var n in t)L.o(t,n)&&!L.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},L.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},L.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})};var N={};return function(){L.r(N),L.d(N,{CSS_CLASS_NAMES:function(){return b},FileInput:function(){return D},FileInputInner:function(){return R},IMAGE_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return y},REPRESENTABLE_TEXT_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return x},TEXT_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return E},VIDEO_CONTENT_TYPE_REGULAR_EXPRESSION:function(){return T},default:function(){return M},deriveBase64String:function(){return I},determineRepresentationType:function(){return A},determineValidationState:function(){return w},preserveStaticFileBaseNameInputGenerator:function(){return C},readBinaryDataIntoText:function(){return S}});var e=L(16),t=L.n(e),n=L(1),r=L.n(n),o=L(17),i=L.n(o),a=L(32),s=L(3),l=L.n(s),u=L(2),c=L(34),d=L(35),f=L(18),p=L(4),h=L(12),_=L(11),m=L(7),v=L(10),g=L(9),b={"file-input":"file-input","mdc-typography--headline6":"mdc-typography--headline6","mdc-typography--subtitle2":"mdc-typography--subtitle2","file-input__info":"file-input__info","file-input__info__body":"file-input__info__body","file-input__download":"file-input__download","text-input":"text-input","mdc-text-field":"mdc-text-field","file-input__iframe-wrapper":"file-input__iframe-wrapper","file-input__text-representation":"file-input__text-representation","file-input__iframe-wrapper--padding":"file-input__iframe-wrapper--padding","file-input__native":"file-input__native"},y=/^image\/(?:p?jpe?g|png|svg(?:\+xml)?|vnd\.microsoft\.icon|gif|tiff|webp|vnd\.wap\.wbmp|x-(?:icon|jng|ms-bmp))$/i,E=/^(?:application\/(?:json|xml))|(?:text\/(?:plain|x-ndpb[wy]html|javascript|x?html?|xml|(?:(?:x-)?(?:csv|python-script))))$/i,x=/^text\/plain$/i,T=/^video\/(?:(?:x-)?(?:x-)?webm|3gpp|mp2t|mp4|mpeg|quicktime|(?:x-)?flv|(?:x-)?m4v|(?:x-)mng|x-ms-as|x-ms-wmv|x-msvideo)|(?:application\/(?:x-)?shockwave-flash)$/i,C=function(e,t){var n,o=t.name,i=t.value;return r()({},e,{disabled:!0,value:o+(null!=i&&null!=(n=i.name)&&n.includes(".")?i.name.substring(i.name.lastIndexOf(".")).toLowerCase():"")})},A=function(e){return e=e.replace(/; *charset=.+$/,""),E.test(e)?x.test(e)?"renderableText":"text":y.test(e)?"image":T.test(e)?"video":"binary"},w=function(e,t,n){return(0,v.determineValidationState)(e,n,{invalidMaximumSize:function(){var t;return"number"==typeof e.model.maximumSize&&e.model.maximumSize<((null==(t=e.model.value)||null==(t=t.blob)?void 0:t.size)||0)},invalidMinimumSize:function(){var t;return"number"==typeof e.model.minimumSize&&e.model.minimumSize>((null==(t=e.model.value)||null==(t=t.blob)?void 0:t.size)||0)},invalidName:function(){return t},invalidContentTypePattern:function(){var t;return Boolean(e.model.contentTypePattern)&&"string"==typeof(null==(t=e.model.value)||null==(t=t.blob)?void 0:t.type)&&[].concat(e.model.contentTypePattern).some((function(t){return"string"==typeof t&&!new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&!t.test(e.model.value.blob.type)}))},invalidInvertedContentTypePattern:function(){var t;return Boolean(e.model.invertedContentTypePattern)&&"string"==typeof(null==(t=e.model.value)||null==(t=t.blob)?void 0:t.type)&&[].concat(e.model.invertedContentTypePattern).some((function(t){return"string"==typeof t&&new RegExp(t).test(e.model.value.blob.type)||null!==t&&"object"==typeof t&&t.test(e.model.value.blob.type)}))}})},I=function(e){return e.blob?(0,a.blobToBase64String)(e.blob):e.source?Promise.resolve(Buffer.from(e.source).toString("base64")):Promise.reject(new Error("Base 64 string could not be determined."))},S=function(e,t){return void 0===t&&(t="utf-8"),new Promise((function(n,r){var o=new FileReader;o.onload=function(e){var r=e.target.result;r.length&&t.endsWith("-sig")&&65279===r.charCodeAt(0)&&(r=r.slice(1)),r=r.replace(/\r\n/g,"\n"),n(r)},o.onabort=function(){return r(new Error("abort"))},o.onerror=function(){return r(new Error)},o.readAsText(e,t.endsWith("-sig")?t.substring(0,t.length-4):t)}))},O=L(19),P=L.n(O),k=L(0),R=function(e,n){var o,s,y,E,x,T,C,O,L,N=(0,u.useId)(),R=null!==(o=e.id)&&void 0!==o?o:N,M=function(e){var t=(0,v.mapPropertiesIntoModel)(e,D.defaultProperties.model);return w(t,!1,t.model.state),(0,v.getConsolidatedProperties)(t)},j=function(e){var t;null!=(t=H.current)&&t.properties&&(J.model.fileName=H.current.properties.model);var n=M(J);delete J.model.value,delete J.value,J.styles=l().copy(J.styles),l().extend(!0,J,n),(0,v.triggerCallbackIfExists)(J,"change",Q,J,e)},F=function e(t,n,o,i){if(void 0===i&&(i=!1),J.model.mutable&&J.model.writable){if(t&&V.current&&t.target===V.current){var a;if(null==(a=(n=t).target.files)||!a.length)return;var s,u=n.target.files[0];J.value={blob:u,name:u.name},J.value.name=(null==(s=J.generateFileNameInputProperties(r()({disabled:J.disabled,value:u.name},g.defaultFileNameInputProperties,{model:J.model.fileName,onChangeValue:e,default:J.value.name}),J))?void 0:s.value)||u.name}Y((function(e){var o;if(void 0===t?J.value=null:"string"==typeof t?J.value=r()({},e.value,{name:t}):"string"!=typeof t.source&&"string"!=typeof t.url||(J.value=i?r()({},e.value,t):t),l().equals(e.value,J.value))return e;var a=!1,s=r()({},e,{value:J.value});return e.modelState.pristine&&(J.dirty=!0,J.pristine=!1,a=!0),j(n),w(J,(null==(o=H.current)||null==(o=o.properties)?void 0:o.invalid)||!1,e.modelState)&&(a=!0),(0,v.triggerCallbackIfExists)(J,"changeValue",Q,J.value,n,J),a&&(s.modelState=J.model.state,(0,v.triggerCallbackIfExists)(J,"changeState",Q,J.model.state,n,J)),i&&(s.attachBlobProperty=!0),s}))}},B=function(e){return Y((function(t){var n=!1;t.modelState.focused||(J.focused=!0,n=!0),t.modelState.untouched&&(J.touched=!0,J.untouched=!1,n=!0);var o=t;return n&&(j(e),o=r()({},t,{modelState:J.model.state}),(0,v.triggerCallbackIfExists)(J,"changeState",Q,J.model.state,e,J)),(0,v.triggerCallbackIfExists)(J,"touch",Q,e,J),o}))},U=(0,u.useRef)(null),q=(0,u.useRef)(null),V=(0,u.useRef)(null),H=(0,u.useRef)(null),W=(0,u.useRef)(null),$=(0,v.translateKnownSymbols)(e),z=(0,v.determineInitialValue)($,D.defaultProperties.model.default),K=l().extend(!0,l().copy(D.defaultProperties),$),X=(0,u.useState)({attachBlobProperty:!1,modelState:r()({},D.defaultModelState),value:z}),G=X[0],Y=X[1],Q=!K.enforceUncontrolled&&(void 0!==(null==(s=$.model)?void 0:s.value)||void 0!==$.value)&&Boolean($.onChange||$.onChangeValue);(0,v.deriveMissingPropertiesFromState)(K,G);var J=M(K);G.attachBlobProperty&&G.value&&(J.value=l().extend(!0,G.value,J.value));var Z={attachBlobProperty:!1,modelState:J.model.state,value:J.value};!G.attachBlobProperty&&(Q||l().equals(J.value,G.value))&&l().equals(J.model.state,G.modelState)||Y(Z),Q&&(Y=(0,v.wrapStateSetter)(Y,Z)),(0,u.useImperativeHandle)(n,(function(){return{properties:J,references:{deleteButtonReference:U,downloadLinkReference:q,fileInputReference:V,nameInputReference:H,uploadButtonReference:W},state:r()({modelState:J.model.state},Q?{}:{value:J.value})}})),(0,u.useEffect)((function(){t()(i().mark((function e(){var t,n,r,o,s,l,u,d,f,p,h,_,m,v,g,b,y,E,x,T,C,A,w;return i().wrap((function(e){for(;;)switch(e.prev=e.next){case 0:if(n={},null==(t=J.value)||!t.source){e.next=16;break}if(J.value.blob){e.next=6;break}null!=(s=J.value.url)&&s.startsWith("data:")?n.blob=(0,a.dataURLToBlob)(J.value.source):J.sourceToBlobOptions&&(n.blob=new Blob([J.value.source],J.sourceToBlobOptions)),e.next=13;break;case 6:if(J.value.url){e.next=13;break}return u=(null==(l=J.value.blob)?void 0:l.type)||"text/plain",e.t0="data:"+u+";charset="+J.encoding+";base64,",e.next=11,I(J.value);case 11:e.t1=e.sent,n.url=e.t0+e.t1;case 13:null!=(r=J.value)&&r.hash||(n.hash=(null!==(o=J.hashingConfiguration.prefix)&&void 0!==o?o:"")+(0,c.hash)(J.value.source)),e.next=53;break;case 16:if(!(null!=(d=J.value)&&d.blob&&J.value.blob instanceof Blob)){e.next=23;break}return _=null==(m=J.value)?void 0:m.blob,e.next=20,"text"===ee?S(_,J.encoding):I(J.value);case 20:n.source=e.sent,e.next=37;break;case 23:if(null==(f=J.value)||!f.url||"text"!==ee){e.next=37;break}if(null==(v=J.value.url)||!v.startsWith("data:")){e.next=28;break}e.t2=(0,a.dataURLToBlob)(J.value.url),e.next=31;break;case 28:return e.next=30,fetch(J.value.url);case 30:e.t2=e.sent.blob();case 31:return e.next=33,e.t2;case 33:return _=e.sent,e.next=36,S(_,J.encoding);case 36:n.source=e.sent;case 37:if(null!=(p=J.value)&&p.hash||!(_||null!=(h=J.value)&&h.url)){e.next=53;break}if(_||null==(g=J.value)||!g.url){e.next=44;break}return e.next=41,fetch(J.value.url);case 41:return e.next=43,e.sent.blob();case 43:_=e.sent;case 44:return E=0,x=null!==(b=J.hashingConfiguration.readChunkSizeInByte)&&void 0!==b?b:2097152,T=Math.ceil(_.size/x),C=new c.ArrayBuffer,A=new FileReader,e.next=51,new Promise((function(e,t){A.onload=function(t){console.debug("Read chunk "+(E+1)+" of "+T+"."),C.append(t.target.result),++E<T?n():e(C.end(J.hashingConfiguration.binaryString))},A.onerror=function(e){t(e)};var n=function(){var e=E*x,t=e+x>=_.size?_.size:e+x;A.readAsArrayBuffer(_.slice(e,t))};n()}));case 51:w=e.sent,n.hash=(null!==(y=J.hashingConfiguration.prefix)&&void 0!==y?y:"")+w;case 53:Object.keys(n).length>0&&F(n,void 0,0,!0);case 54:case"end":return e.stop()}}),e)})))().catch(console.warn)})),(0,u.useEffect)((function(){J.triggerInitialPropertiesConsolidation&&j()}),[]);var ee=null!=(y=J.value)&&null!=(y=y.blob)&&y.type?A(J.value.blob.type):"binary",te=J.invalid&&J.showValidationState&&(J.showInitialValidationState||J.visited),ne=J.triggerInitialPropertiesConsolidation;return(0,k.jsx)(m.WrapConfigurations,{strict:D.strict,themeConfiguration:J.themeConfiguration,tooltip:J.tooltip,children:(0,k.jsxs)(d.Card,{className:[b["file-input"]].concat(null!==(E=J.className)&&void 0!==E?E:[]).join(" "),onBlur:function(e){return Y((function(t){var n=!1;return t.modelState.focused&&(J.focused=!1,n=!0),t.modelState.visited||(J.visited=!0,n=!0),n&&(j(e),(0,v.triggerCallbackIfExists)(J,"changeState",Q,J.model.state,e,J)),(0,v.triggerCallbackIfExists)(J,"blur",Q,e,J),n?r()({},t,{modelState:J.model.state}):t}))},onClick:function(e){(0,v.triggerCallbackIfExists)(J,"click",Q,e,J),B(e)},onFocus:function(e){(0,v.triggerCallbackIfExists)(J,"focus",Q,e,J),B(e)},style:J.styles,children:[(0,k.jsxs)(d.CardPrimaryAction,{children:[null!=(x=J.value)&&x.url?"image"===ee?(0,k.jsx)(d.CardMedia,r()({},J.media,{style:{backgroundImage:"url("+J.value.url+")"}})):"video"===ee?(0,k.jsx)("video",{autoPlay:!0,loop:!0,muted:!0,children:(0,k.jsx)("source",{src:J.value.url,type:J.value.blob.type})}):"renderableText"===ee?(0,k.jsx)("div",{className:[b["file-input__iframe-wrapper"]].concat(["text/html","text/plain"].includes(J.value.blob.type)?b["file-input__iframe-wrapper--padding"]:[]).join(" "),children:(0,k.jsx)("iframe",{frameBorder:"no",scrolling:"no",src:J.value.url})}):null!=(T=J.value)&&T.source&&"text"===ee?(0,k.jsx)("pre",{className:b["file-input__text-representation"],children:J.value.source}):"":null!=(C=J.value)&&C.blob&&J.value.blob instanceof Blob?(0,k.jsx)(f.CircularProgress,{size:"large"}):"",(0,k.jsxs)("div",{className:b["file-input__info"],children:[(0,k.jsx)(h.Typography,{tag:"h2",use:"headline6",children:te?(0,k.jsx)(p.Theme,{use:"error",children:J.description?J.description:J.name}):J.description?J.description:J.name}),(0,k.jsx)(P(),{in:te||Boolean(J.declaration),children:(0,k.jsxs)("div",{className:b["file-input__info__body"],children:[J.declaration?(0,k.jsx)(h.Typography,{style:{marginTop:"-1rem"},tag:"h3",theme:"textSecondaryOnBackground",use:"subtitle2",children:te?(0,k.jsx)(p.Theme,{use:"error",children:J.declaration}):J.declaration}):"",(0,k.jsx)(p.Theme,{use:"error",wrap:!0,children:(0,k.jsx)("span",{id:R+"-error-message",children:(0,v.renderMessage)(J.invalidContentTypePattern&&J.contentTypePatternText||J.invalidInvertedContentTypePattern&&J.invalidMaximumSize&&J.maximumSizeText||J.invalidMinimumSize&&J.minimumSizeText||J.invertedContentTypePatternText||J.invalidRequired&&J.requiredText,J)})})]})}),J.value?(0,k.jsx)(_.default,r()({ref:H},J.generateFileNameInputProperties(r()({disabled:J.disabled,value:null==(O=J.value)?void 0:O.name},g.defaultFileNameInputProperties,{default:J.value.name,model:J.model.fileName,onChangeValue:F,triggerInitialPropertiesConsolidation:ne}),J))):"",J.children?J.children({declaration:J.declaration,invalid:te,properties:J,value:J.value}):""]}),(0,k.jsx)("input",{disabled:J.disabled,className:b["file-input__native"],id:R,name:J.name,onChange:F,ref:V,type:"file"})]}),!J.disabled||J.value?(0,k.jsx)(d.CardActions,{children:(0,k.jsxs)(d.CardActionButtons,{children:[J.disabled?"":(0,k.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=V.current)?void 0:e.click()},ref:W,ripple:J.ripple,children:J.value?J.editButton:J.newButton}),J.value?(0,k.jsxs)(k.Fragment,{children:[J.disabled?"":(0,k.jsx)(d.CardActionButton,{onClick:function(){return F()},ref:U,ripple:J.ripple,children:J.deleteButton}),J.value.url?(0,k.jsx)(d.CardActionButton,{onClick:function(){var e;return null==(e=q.current)?void 0:e.click()},ripple:J.ripple,children:(0,k.jsx)("a",r()({className:b["file-input__download"],download:J.value.name,href:J.value.url,ref:q,target:"_blank"},null!=(L=J.value.blob)&&L.type?{type:J.value.blob.type}:{},{children:J.downloadButton}))}):""]}):""]})}):""]})})};R.displayName="FileInput";var D=(0,u.memo)((0,u.forwardRef)(R));D.wrapped=R,D.webComponentAdapterWrapped="react",D.defaultModelState=g.defaultFileInputModelState,D.defaultProperties=r()({},g.defaultFileInputProperties,{model:r()({},g.defaultFileInputProperties.model,{state:void 0,value:void 0}),value:void 0}),D.propTypes=g.fileInputPropertyTypes,D.renderProperties=g.fileInputRenderProperties,D.strict=!1;var M=D}(),N}())},,,,,,,,,,,,,,function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__48__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__49__},function(e){e.exports=__WEBPACK_EXTERNAL_MODULE__50__}],__webpack_module_cache__={};function __nested_webpack_require_157994__(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_157994__),n.loaded=!0,n.exports}__nested_webpack_require_157994__.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return __nested_webpack_require_157994__.d(t,{a:t}),t},__nested_webpack_require_157994__.d=function(e,t){for(var n in t)__nested_webpack_require_157994__.o(t,n)&&!__nested_webpack_require_157994__.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},__nested_webpack_require_157994__.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_157994__.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},__nested_webpack_require_157994__.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},__nested_webpack_require_157994__.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e};var __nested_webpack_exports__={};return function(){__nested_webpack_require_157994__.r(__nested_webpack_exports__),__nested_webpack_require_157994__.d(__nested_webpack_exports__,{FileInput:function(){return o}});var e=__nested_webpack_require_157994__(0),t=__nested_webpack_require_157994__(34),n=__nested_webpack_require_157994__.n(t),r=__nested_webpack_require_157994__(1),o=__nested_webpack_require_157994__.n(r)()(n(),"FileInput",{eventToPropertyMapping:{onChange:!0},internalProperties:{enforceUncontrolled:!0},propertiesToReflectAsAttributes:{dirty:e.boolean,focused:e.boolean,pristine:e.boolean,touched:e.boolean,untouched:e.boolean,visited:e.boolean,valid:e.boolean,invalid:e.boolean,invalidMaximumSize:e.boolean,invalidMinimumSize:e.boolean,invalidContentTypePattern:e.boolean,invalidInvertedContentTypePattern:e.boolean,invalidName:e.boolean,invalidRequired:e.boolean,name:e.string}});__nested_webpack_exports__.default=o}(),__nested_webpack_exports__}()},module.exports=t(__webpack_require__(15),__webpack_require__(12),__webpack_require__(9),__webpack_require__(39),__webpack_require__(13),__webpack_require__(98),__webpack_require__(70),__webpack_require__(57),__webpack_require__(18),__webpack_require__(71),__webpack_require__(58),__webpack_require__(72),__webpack_require__(73),__webpack_require__(40),__webpack_require__(41),__webpack_require__(45),__webpack_require__(45),__webpack_require__(108),__webpack_require__(20),__webpack_require__(0),__webpack_require__(45),__webpack_require__(69),__webpack_require__(45),__webpack_require__(45),__webpack_require__(45),__webpack_require__(45),__webpack_require__(1),__webpack_require__(101),__webpack_require__(8),__webpack_require__(10),__webpack_require__(54),__webpack_require__(31),__webpack_require__(32),__webpack_require__(33),__webpack_require__(34))}],__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__(115);return __webpack_exports__}()}));
|