(self.webpackChunkwebpackWcBlocksFrontendJsonp=self.webpackChunkwebpackWcBlocksFrontendJsonp||[]).push([[763],{7551:(e,t,n)=>{"use strict";n.d(t,{A:()=>E});var r=n(7731),o=n(6087),i=n(9019),s=n.n(i),a=n(8468),l=n(4040),c=n.n(l),u=n(9491),p=n(2833),d=n(145);const f=(0,o.createElement)("div",{className:"event-catcher"}),h=({eventHandlers:e,child:t,childrenWithPopover:n})=>(0,o.cloneElement)((0,o.createElement)("span",{className:"disabled-element-wrapper"},(0,o.cloneElement)(f,e),(0,o.cloneElement)(t,{children:n}),","),e),m=({child:e,eventHandlers:t,childrenWithPopover:n})=>(0,o.cloneElement)(e,{...t,children:n}),g=(e,t,n)=>{if(1!==o.Children.count(e))return;const r=o.Children.only(e);"function"==typeof r.props[t]&&r.props[t](n)},v=function({children:e,position:t,text:n,shortcut:r}){const[i,s]=(0,o.useState)(!1),[l,c]=(0,o.useState)(!1),f=(0,u.useDebounce)(c,700),v=t=>{g(e,"onMouseDown",t),document.addEventListener("mouseup",w),s(!0)},y=t=>{g(e,"onMouseUp",t),document.removeEventListener("mouseup",w),s(!1)},b=e=>"mouseUp"===e?y:"mouseDown"===e?v:void 0,w=b("mouseUp"),x=(t,n)=>r=>{if(g(e,t,r),r.currentTarget.disabled)return;if("focus"===r.type&&i)return;f.cancel();const o=(0,a.includes)(["focus","mouseenter"],r.type);o!==l&&(n?f(o):c(o))},k=()=>{f.cancel(),document.removeEventListener("mouseup",w)};if((0,o.useEffect)((()=>k),[]),1!==o.Children.count(e))return e;const E={onMouseEnter:x("onMouseEnter",!0),onMouseLeave:x("onMouseLeave"),onClick:x("onClick"),onFocus:x("onFocus"),onBlur:x("onBlur"),onMouseDown:b("mouseDown")},S=o.Children.only(e),{children:T,disabled:C}=S.props,A=C?h:m,I=(({grandchildren:e,isOver:t,position:n,text:r,shortcut:i})=>(0,o.concatChildren)(e,t&&(0,o.createElement)(p.A,{focusOnMount:!1,position:n,className:"components-tooltip","aria-hidden":"true",animate:!1,noArrow:!0},r,(0,o.createElement)(d.A,{className:"components-tooltip__shortcut",shortcut:i}))))({grandchildren:T,isOver:l,position:t,text:n,shortcut:r});return A({child:S,eventHandlers:E,childrenWithPopover:I})};var y=n(5573),b=n(1506);const w=function({icon:e=null,size:t=24,...n}){if("string"==typeof e)return(0,o.createElement)(b.A,(0,r.A)({icon:e},n));if((0,o.isValidElement)(e)&&b.A===e.type)return(0,o.cloneElement)(e,{...n});if("function"==typeof e)return e.prototype instanceof o.Component?(0,o.createElement)(e,{size:t,...n}):e({size:t,...n});if(e&&("svg"===e.type||e.type===y.SVG)){const r={width:t,height:t,...e.props,...n};return(0,o.createElement)(y.SVG,r)}return(0,o.isValidElement)(e)?(0,o.cloneElement)(e,{size:t,...n}):e};var x=n(4967);const k=["onMouseDown","onClick"],E=(0,o.forwardRef)((function(e,t){const{href:n,target:i,isSmall:l,isPressed:u,isBusy:p,isDestructive:d,className:f,disabled:h,icon:m,iconPosition:g="left",iconSize:y,showTooltip:b,tooltipPosition:E,shortcut:S,label:T,children:C,text:A,variant:I,__experimentalIsFocusable:O,describedBy:L,..._}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:r,isLink:o,variant:i,...s}){let a=i;var l,u,p,d,f;return t&&(null!==(l=a)&&void 0!==l||(a="primary")),r&&(null!==(u=a)&&void 0!==u||(a="tertiary")),n&&(null!==(p=a)&&void 0!==p||(a="secondary")),e&&(c()("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"'}),null!==(d=a)&&void 0!==d||(a="secondary")),o&&(null!==(f=a)&&void 0!==f||(a="link")),{...s,variant:a}}(e),P=s()("components-button",f,{"is-secondary":"secondary"===I,"is-primary":"primary"===I,"is-small":l,"is-tertiary":"tertiary"===I,"is-pressed":u,"is-busy":p,"is-link":"link"===I,"is-destructive":d,"has-text":!!m&&!!C,"has-icon":!!m}),M=h&&!O,D=void 0===n||M?"button":"a",R="a"===D?{href:n,target:i}:{type:"button",disabled:M,"aria-pressed":u};if(h&&O){R["aria-disabled"]=!0;for(const e of k)_[e]=e=>{e.stopPropagation(),e.preventDefault()}}const N=!M&&(b&&T||S||!!T&&(!C||(0,a.isArray)(C)&&!C.length)&&!1!==b),F=L?(0,a.uniqueId)():null,j=_["aria-describedby"]||F,B=(0,o.createElement)(D,(0,r.A)({},R,_,{className:P,"aria-label":_["aria-label"]||T,"aria-describedby":j,ref:t}),m&&"left"===g&&(0,o.createElement)(w,{icon:m,size:y}),A&&(0,o.createElement)(o.Fragment,null,A),m&&"right"===g&&(0,o.createElement)(w,{icon:m,size:y}),C);return N?(0,o.createElement)(o.Fragment,null,(0,o.createElement)(v,{text:L||T,shortcut:S,position:E},B),L&&(0,o.createElement)(x.A,null,(0,o.createElement)("span",{id:F},L))):(0,o.createElement)(o.Fragment,null,B,L&&(0,o.createElement)(x.A,null,(0,o.createElement)("span",{id:F},L)))}))},1506:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>i}),!/^(1|258|493|507)$/.test(n.j))var r=n(7731);var o=n(6087);const i=/^(1|258|493|507)$/.test(n.j)?null:function({icon:e,className:t,...n}){const i=["dashicon","dashicons","dashicons-"+e,t].filter(Boolean).join(" ");return(0,o.createElement)("span",(0,r.A)({className:i},n))}},8001:(e,t,n)=>{"use strict";n.d(t,{A:()=>A});var r=n(6087),o=n(8468),i=n(9019),s=n.n(i),a=n(7723),l=n(9491),c=n(8558),u=n(923),p=n.n(u),d=n(3931),f=n(7551),h=n(4967);function m({value:e,status:t,title:n,displayTransform:i,isBorderless:c=!1,disabled:u=!1,onClickRemove:p=o.noop,onMouseEnter:g,onMouseLeave:v,messages:y,termPosition:b,termsCount:w}){const x=(0,l.useInstanceId)(m),k=s()("components-form-token-field__token",{"is-error":"error"===t,"is-success":"success"===t,"is-validating":"validating"===t,"is-borderless":c,"is-disabled":u}),E=i(e),S=(0,a.sprintf)( /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */ /* translators: 1: term name, 2: term position in a set of terms, 3: total term set count. */ (0,a.__)("%1$s (%2$s of %3$s)"),E,b,w);return(0,r.createElement)("span",{className:k,onMouseEnter:g,onMouseLeave:v,title:n},(0,r.createElement)("span",{className:"components-form-token-field__token-text",id:`components-form-token-field__token-text-${x}`},(0,r.createElement)(h.A,{as:"span"},S),(0,r.createElement)("span",{"aria-hidden":"true"},E)),(0,r.createElement)(f.A,{className:"components-form-token-field__remove-token",icon:d.A,onClick:!u&&(()=>p({value:e})),label:y.remove,"aria-describedby":`components-form-token-field__token-text-${x}`}))}var g=n(7731);class v extends r.Component{constructor(){super(...arguments),this.onChange=this.onChange.bind(this),this.bindInput=this.bindInput.bind(this)}focus(){this.input.focus()}hasFocus(){return this.input===this.input.ownerDocument.activeElement}bindInput(e){this.input=e}onChange(e){this.props.onChange({value:e.target.value})}render(){const{value:e,isExpanded:t,instanceId:n,selectedSuggestionIndex:o,className:i,...a}=this.props,l=e?e.length+1:0;return(0,r.createElement)("input",(0,g.A)({ref:this.bindInput,id:`components-form-token-input-${n}`,type:"text"},a,{value:e||"",onChange:this.onChange,size:l,className:s()(i,"components-form-token-field__input"),autoComplete:"off",role:"combobox","aria-expanded":t,"aria-autocomplete":"list","aria-owns":t?`components-form-token-suggestions-${n}`:void 0,"aria-activedescendant":-1!==o?`components-form-token-suggestions-${n}-${o}`:void 0,"aria-describedby":`components-form-token-suggestions-howto-${n}`}))}}const y=v;var b=n(4648),w=n.n(b);class x extends r.Component{constructor(){super(...arguments),this.handleMouseDown=this.handleMouseDown.bind(this),this.bindList=this.bindList.bind(this)}componentDidUpdate(){this.props.selectedIndex>-1&&this.props.scrollIntoView&&this.list.children[this.props.selectedIndex]&&(this.scrollingIntoView=!0,w()(this.list.children[this.props.selectedIndex],this.list,{onlyScrollIfNeeded:!0}),this.props.setTimeout((()=>{this.scrollingIntoView=!1}),100))}bindList(e){this.list=e}handleHover(e){return()=>{this.scrollingIntoView||this.props.onHover(e)}}handleClick(e){return()=>{this.props.onSelect(e)}}handleMouseDown(e){e.preventDefault()}computeSuggestionMatch(e){const t=this.props.displayTransform(this.props.match||"").toLocaleLowerCase();if(0===t.length)return null;const n=(e=this.props.displayTransform(e)).toLocaleLowerCase().indexOf(t);return{suggestionBeforeMatch:e.substring(0,n),suggestionMatch:e.substring(n,n+t.length),suggestionAfterMatch:e.substring(n+t.length)}}render(){return(0,r.createElement)("ul",{ref:this.bindList,className:"components-form-token-field__suggestions-list",id:`components-form-token-suggestions-${this.props.instanceId}`,role:"listbox"},(0,o.map)(this.props.suggestions,((e,t)=>{const n=this.computeSuggestionMatch(e),o=s()("components-form-token-field__suggestion",{"is-selected":t===this.props.selectedIndex});return(0,r.createElement)("li",{id:`components-form-token-suggestions-${this.props.instanceId}-${t}`,role:"option",className:o,key:null!=e&&e.value?e.value:this.props.displayTransform(e),onMouseDown:this.handleMouseDown,onClick:this.handleClick(e),onMouseEnter:this.handleHover(e),"aria-selected":t===this.props.selectedIndex},n?(0,r.createElement)("span",{"aria-label":this.props.displayTransform(e)},n.suggestionBeforeMatch,(0,r.createElement)("strong",{className:"components-form-token-field__suggestion-match"},n.suggestionMatch),n.suggestionAfterMatch):this.props.displayTransform(e))})))}}x.defaultProps={match:"",onHover:()=>{},onSelect:()=>{},suggestions:Object.freeze([])};const k=(0,l.withSafeTimeout)(x);var E=n(195);const S=(0,l.createHigherOrderComponent)((e=>t=>(0,r.createElement)(e,(0,g.A)({},t,{speak:E.speak,debouncedSpeak:(0,l.useDebounce)(E.speak,500)}))),"withSpokenMessages"),T={incompleteTokenValue:"",inputOffsetFromEnd:0,isActive:!1,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1};class C extends r.Component{constructor(){super(...arguments),this.state=T,this.onKeyDown=this.onKeyDown.bind(this),this.onKeyPress=this.onKeyPress.bind(this),this.onFocus=this.onFocus.bind(this),this.onBlur=this.onBlur.bind(this),this.deleteTokenBeforeInput=this.deleteTokenBeforeInput.bind(this),this.deleteTokenAfterInput=this.deleteTokenAfterInput.bind(this),this.addCurrentToken=this.addCurrentToken.bind(this),this.onContainerTouched=this.onContainerTouched.bind(this),this.renderToken=this.renderToken.bind(this),this.onTokenClickRemove=this.onTokenClickRemove.bind(this),this.onSuggestionHovered=this.onSuggestionHovered.bind(this),this.onSuggestionSelected=this.onSuggestionSelected.bind(this),this.onInputChange=this.onInputChange.bind(this),this.bindInput=this.bindInput.bind(this),this.bindTokensAndInput=this.bindTokensAndInput.bind(this),this.updateSuggestions=this.updateSuggestions.bind(this)}componentDidUpdate(e){this.state.isActive&&!this.input.hasFocus()&&this.input.focus();const{suggestions:t,value:n}=this.props,r=!p()(t,e.suggestions);(r||n!==e.value)&&this.updateSuggestions(r)}static getDerivedStateFromProps(e,t){return e.disabled&&t.isActive?{isActive:!1,incompleteTokenValue:""}:null}bindInput(e){this.input=e}bindTokensAndInput(e){this.tokensAndInput=e}onFocus(e){const{__experimentalExpandOnFocus:t}=this.props;this.input.hasFocus()||e.target===this.tokensAndInput?this.setState({isActive:!0,isExpanded:!!t||this.state.isExpanded}):this.setState({isActive:!1}),"function"==typeof this.props.onFocus&&this.props.onFocus(e)}onBlur(){this.inputHasValidValue()?this.setState({isActive:!1}):this.setState(T)}onKeyDown(e){let t=!1;switch(e.keyCode){case c.BACKSPACE:t=this.handleDeleteKey(this.deleteTokenBeforeInput);break;case c.ENTER:t=this.addCurrentToken();break;case c.LEFT:t=this.handleLeftArrowKey();break;case c.UP:t=this.handleUpArrowKey();break;case c.RIGHT:t=this.handleRightArrowKey();break;case c.DOWN:t=this.handleDownArrowKey();break;case c.DELETE:t=this.handleDeleteKey(this.deleteTokenAfterInput);break;case c.SPACE:this.props.tokenizeOnSpace&&(t=this.addCurrentToken());break;case c.ESCAPE:t=this.handleEscapeKey(e),e.stopPropagation()}t&&e.preventDefault()}onKeyPress(e){let t=!1;44===e.charCode&&(t=this.handleCommaKey()),t&&e.preventDefault()}onContainerTouched(e){e.target===this.tokensAndInput&&this.state.isActive&&e.preventDefault()}onTokenClickRemove(e){this.deleteToken(e.value),this.input.focus()}onSuggestionHovered(e){const t=this.getMatchingSuggestions().indexOf(e);t>=0&&this.setState({selectedSuggestionIndex:t,selectedSuggestionScroll:!1})}onSuggestionSelected(e){this.addNewToken(e)}onInputChange(e){const t=e.value,n=this.props.tokenizeOnSpace?/[ ,\t]+/:/[,\t]+/,r=t.split(n),i=(0,o.last)(r)||"";r.length>1&&this.addNewTokens(r.slice(0,-1)),this.setState({incompleteTokenValue:i},this.updateSuggestions),this.props.onInputChange(i)}handleDeleteKey(e){let t=!1;return this.input.hasFocus()&&this.isInputEmpty()&&(e(),t=!0),t}handleLeftArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputBeforePreviousToken(),e=!0),e}handleRightArrowKey(){let e=!1;return this.isInputEmpty()&&(this.moveInputAfterNextToken(),e=!0),e}handleUpArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(0===e.selectedSuggestionIndex?this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length:e.selectedSuggestionIndex)-1,selectedSuggestionScroll:!0}))),!0}handleDownArrowKey(){return this.setState(((e,t)=>({selectedSuggestionIndex:(e.selectedSuggestionIndex+1)%this.getMatchingSuggestions(e.incompleteTokenValue,t.suggestions,t.value,t.maxSuggestions,t.saveTransform).length,selectedSuggestionScroll:!0}))),!0}handleEscapeKey(e){return this.setState({incompleteTokenValue:e.target.value,isExpanded:!1,selectedSuggestionIndex:-1,selectedSuggestionScroll:!1}),!0}handleCommaKey(){return this.inputHasValidValue()&&this.addNewToken(this.state.incompleteTokenValue),!0}moveInputToIndex(e){this.setState(((t,n)=>({inputOffsetFromEnd:n.value.length-Math.max(e,-1)-1})))}moveInputBeforePreviousToken(){this.setState(((e,t)=>({inputOffsetFromEnd:Math.min(e.inputOffsetFromEnd+1,t.value.length)})))}moveInputAfterNextToken(){this.setState((e=>({inputOffsetFromEnd:Math.max(e.inputOffsetFromEnd-1,0)})))}deleteTokenBeforeInput(){const e=this.getIndexOfInput()-1;e>-1&&this.deleteToken(this.props.value[e])}deleteTokenAfterInput(){const e=this.getIndexOfInput();e!this.valueContainsToken(e))));if(t.length>0){const e=(0,o.clone)(this.props.value);e.splice.apply(e,[this.getIndexOfInput(),0].concat(t)),this.props.onChange(e)}}addNewToken(e){const{__experimentalExpandOnFocus:t,__experimentalValidateInput:n}=this.props;n(e)?(this.addNewTokens([e]),this.props.speak(this.props.messages.added,"assertive"),this.setState({incompleteTokenValue:"",selectedSuggestionIndex:-1,selectedSuggestionScroll:!1,isExpanded:!t}),this.state.isActive&&this.input.focus()):this.props.speak(this.props.messages.__experimentalInvalid,"assertive")}deleteToken(e){const t=this.props.value.filter((t=>this.getTokenValue(t)!==this.getTokenValue(e)));this.props.onChange(t),this.props.speak(this.props.messages.removed,"assertive")}getTokenValue(e){return"object"==typeof e?e.value:e}getMatchingSuggestions(e=this.state.incompleteTokenValue,t=this.props.suggestions,n=this.props.value,r=this.props.maxSuggestions,i=this.props.saveTransform){let s=i(e);const a=[],l=[];return 0===s.length?t=(0,o.difference)(t,n):(s=s.toLocaleLowerCase(),(0,o.each)(t,(e=>{const t=e.toLocaleLowerCase().indexOf(s);-1===n.indexOf(e)&&(0===t?a.push(e):t>0&&l.push(e))})),t=a.concat(l)),(0,o.take)(t,r)}getSelectedSuggestion(){if(-1!==this.state.selectedSuggestionIndex)return this.getMatchingSuggestions()[this.state.selectedSuggestionIndex]}valueContainsToken(e){return(0,o.some)(this.props.value,(t=>this.getTokenValue(e)===this.getTokenValue(t)))}getIndexOfInput(){return this.props.value.length-this.state.inputOffsetFromEnd}isInputEmpty(){return 0===this.state.incompleteTokenValue.length}inputHasValidValue(){return this.props.saveTransform(this.state.incompleteTokenValue).length>0}updateSuggestions(e=!0){const{__experimentalExpandOnFocus:t}=this.props,{incompleteTokenValue:n}=this.state,r=n.trim().length>1,o=this.getMatchingSuggestions(n),i=o.length>0,s={isExpanded:t||r&&i};if(e&&(s.selectedSuggestionIndex=-1,s.selectedSuggestionScroll=!1),this.setState(s),r){const{debouncedSpeak:e}=this.props;e(i?(0,a.sprintf)( /* translators: %d: number of results. */ /* translators: %d: number of results. */ (0,a._n)("%d result found, use up and down arrow keys to navigate.","%d results found, use up and down arrow keys to navigate.",o.length),o.length):(0,a.__)("No results."),"assertive")}}renderTokensAndInput(){const e=(0,o.map)(this.props.value,this.renderToken);return e.splice(this.getIndexOfInput(),0,this.renderInput()),e}renderToken(e,t,n){const o=this.getTokenValue(e),i=e.status?e.status:void 0,s=t+1,a=n.length;return(0,r.createElement)(m,{key:"token-"+o,value:o,status:i,title:e.title,displayTransform:this.props.displayTransform,onClickRemove:this.onTokenClickRemove,isBorderless:e.isBorderless||this.props.isBorderless,onMouseEnter:e.onMouseEnter,onMouseLeave:e.onMouseLeave,disabled:"error"!==i&&this.props.disabled,messages:this.props.messages,termsCount:a,termPosition:s})}renderInput(){const{autoCapitalize:e,autoComplete:t,maxLength:n,placeholder:o,value:i,instanceId:s}=this.props;let a={instanceId:s,autoCapitalize:e,autoComplete:t,placeholder:0===i.length?o:"",ref:this.bindInput,key:"input",disabled:this.props.disabled,value:this.state.incompleteTokenValue,onBlur:this.onBlur,isExpanded:this.state.isExpanded,selectedSuggestionIndex:this.state.selectedSuggestionIndex};return n&&i.length>=n||(a={...a,onChange:this.onInputChange}),(0,r.createElement)(y,a)}render(){const{disabled:e,label:t=(0,a.__)("Add item"),instanceId:n,className:o,__experimentalShowHowTo:i}=this.props,{isExpanded:l}=this.state,c=s()(o,"components-form-token-field__input-container",{"is-active":this.state.isActive,"is-disabled":e});let u={className:"components-form-token-field",tabIndex:"-1"};const p=this.getMatchingSuggestions();return e||(u=Object.assign({},u,{onKeyDown:this.onKeyDown,onKeyPress:this.onKeyPress,onFocus:this.onFocus})),(0,r.createElement)("div",u,(0,r.createElement)("label",{htmlFor:`components-form-token-input-${n}`,className:"components-form-token-field__label"},t),(0,r.createElement)("div",{ref:this.bindTokensAndInput,className:c,tabIndex:"-1",onMouseDown:this.onContainerTouched,onTouchStart:this.onContainerTouched},this.renderTokensAndInput(),l&&(0,r.createElement)(k,{instanceId:n,match:this.props.saveTransform(this.state.incompleteTokenValue),displayTransform:this.props.displayTransform,suggestions:p,selectedIndex:this.state.selectedSuggestionIndex,scrollIntoView:this.state.selectedSuggestionScroll,onHover:this.onSuggestionHovered,onSelect:this.onSuggestionSelected})),i&&(0,r.createElement)("p",{id:`components-form-token-suggestions-howto-${n}`,className:"components-form-token-field__help"},this.props.tokenizeOnSpace?(0,a.__)("Separate with commas, spaces, or the Enter key."):(0,a.__)("Separate with commas or the Enter key.")))}}C.defaultProps={suggestions:Object.freeze([]),maxSuggestions:100,value:Object.freeze([]),displayTransform:o.identity,saveTransform:e=>e.trim(),onChange:()=>{},onInputChange:()=>{},isBorderless:!1,disabled:!1,tokenizeOnSpace:!1,messages:{added:(0,a.__)("Item added."),removed:(0,a.__)("Item removed."),remove:(0,a.__)("Remove item"),__experimentalInvalid:(0,a.__)("Invalid item")},__experimentalExpandOnFocus:!1,__experimentalValidateInput:()=>!0,__experimentalShowHowTo:!0};const A=S((0,l.withInstanceId)(C))},2833:(e,t,n)=>{"use strict";n.d(t,{A:()=>j});var r=n(7731),o=n(6087),i=n(9019),s=n.n(i),a=n(8107),l=n(4040),c=n.n(l),u=n(9491),p=n(5573);const d=(0,o.createElement)(p.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,o.createElement)(p.Path,{d:"M13 11.8l6.1-6.3-1-1-6.1 6.2-6.1-6.2-1 1 6.1 6.3-6.5 6.7 1 1 6.5-6.6 6.5 6.6 1-1z"}));var f=n(7723);function h(e,t,n){const{defaultView:r}=t,{frameElement:o}=r;if(!o||t===n.ownerDocument)return e;const i=o.getBoundingClientRect();return new r.DOMRect(e.left+i.left,e.top+i.top,e.width,e.height)}var m=n(7551);let g=0;function v(e){const t=document.scrollingElement||document.body;e&&(g=t.scrollTop);const n=e?"add":"remove";t.classList[n]("lockscroll"),document.documentElement.classList[n]("lockscroll"),e||(t.scrollTop=g)}let y=0;function b(){return(0,o.useEffect)((()=>(0===y&&v(!0),++y,()=>{1===y&&v(!1),--y})),[]),null}var w=n(1502),x=n(5366),k=n(8468),E=n(8772);class S extends o.Component{constructor(){super(...arguments),this.isUnmounted=!1,this.bindNode=this.bindNode.bind(this)}componentDidMount(){const{registerSlot:e}=this.props;e(this.props.name,this)}componentWillUnmount(){const{unregisterSlot:e}=this.props;this.isUnmounted=!0,e(this.props.name,this)}componentDidUpdate(e){const{name:t,unregisterSlot:n,registerSlot:r}=this.props;e.name!==t&&(n(e.name),r(t,this))}bindNode(e){this.node=e}forceUpdate(){this.isUnmounted||super.forceUpdate()}render(){const{children:e,name:t,fillProps:n={},getFills:r}=this.props,i=(0,k.map)(r(t,this),(e=>{const t=(0,k.isFunction)(e.children)?e.children(n):e.children;return o.Children.map(t,((e,t)=>{if(!e||(0,k.isString)(e))return e;const n=e.key||t;return(0,o.cloneElement)(e,{key:n})}))})).filter((0,k.negate)(o.isEmptyElement));return(0,o.createElement)(o.Fragment,null,(0,k.isFunction)(e)?e(i):i)}}const T=e=>(0,o.createElement)(E.A.Consumer,null,(({registerSlot:t,unregisterSlot:n,getFills:i})=>(0,o.createElement)(S,(0,r.A)({},e,{registerSlot:t,unregisterSlot:n,getFills:i}))));var C=n(9745),A=n(6154);const I=(0,o.forwardRef)((function({name:e,fillProps:t={},as:n="div",...i},s){const a=(0,o.useContext)(A.A),l=(0,o.useRef)();return(0,o.useLayoutEffect)((()=>(a.registerSlot(e,l,t),()=>{a.unregisterSlot(e,l)})),[a.registerSlot,a.unregisterSlot,e]),(0,o.useLayoutEffect)((()=>{a.updateSlot(e,t)})),(0,o.createElement)(n,(0,r.A)({ref:(0,u.useMergeRefs)([s,l])},i))}));function O(e){return(0,o.createElement)(o.Fragment,null,(0,o.createElement)(x.A,e),(0,o.createElement)(C.A,e))}const L=(0,o.forwardRef)((({bubblesVirtually:e,...t},n)=>e?(0,o.createElement)(I,(0,r.A)({},t,{ref:n})):(0,o.createElement)(T,t)));function _(e){return"appear"===e?"top":"left"}const P="Popover";function M(e,t){const{paddingTop:n,paddingBottom:r,paddingLeft:o,paddingRight:i}=(s=t).ownerDocument.defaultView.getComputedStyle(s);var s;const a=n?parseInt(n,10):0,l=r?parseInt(r,10):0,c=o?parseInt(o,10):0,u=i?parseInt(i,10):0;return{x:e.left+c,y:e.top+a,width:e.width-c-u,height:e.height-a-l,left:e.left+c,right:e.right-u,top:e.top+a,bottom:e.bottom-l}}function D(e,t,n){n?e.getAttribute(t)!==n&&e.setAttribute(t,n):e.hasAttribute(t)&&e.removeAttribute(t)}function R(e,t,n=""){e.style[t]!==n&&(e.style[t]=n)}function N(e,t,n){n?e.classList.contains(t)||e.classList.add(t):e.classList.contains(t)&&e.classList.remove(t)}const F=(0,o.forwardRef)((({headerTitle:e,onClose:t,children:n,className:i,noArrow:l=!0,isAlternate:p,position:g="bottom right",range:v,focusOnMount:y="firstElement",anchorRef:x,shouldAnchorIncludePadding:k,anchorRect:E,getAnchorRect:S,expandOnMobile:T,animate:C=!0,onClickOutside:A,onFocusOutside:I,__unstableStickyBoundaryElement:L,__unstableSlotName:F=P,__unstableObserveElement:j,__unstableBoundaryParent:B,__unstableForcePosition:V,__unstableForceXAlignment:H,...z},W)=>{const $=(0,o.useRef)(null),U=(0,o.useRef)(null),K=(0,o.useRef)(),q=(0,u.useViewportMatch)("medium","<"),[G,X]=(0,o.useState)(),Y=(0,w.A)(F),Z=T&&q,[J,Q]=(0,u.useResizeObserver)();l=Z||l,(0,o.useLayoutEffect)((()=>{if(Z)return N(K.current,"is-without-arrow",l),N(K.current,"is-alternate",p),D(K.current,"data-x-axis"),D(K.current,"data-y-axis"),R(K.current,"top"),R(K.current,"left"),R(U.current,"maxHeight"),void R(U.current,"maxWidth");const e=()=>{if(!K.current||!U.current)return;let e=function(e,t,n,r=!1,o,i){if(t)return t;if(n){if(!e.current)return;const t=n(e.current);return h(t,t.ownerDocument||e.current.ownerDocument,i)}if(!1!==r){if(!(r&&window.Range&&window.Element&&window.DOMRect))return;if("function"==typeof(null==r?void 0:r.cloneRange))return h((0,a.getRectangleFromRange)(r),r.endContainer.ownerDocument,i);if("function"==typeof(null==r?void 0:r.getBoundingClientRect)){const e=h(r.getBoundingClientRect(),r.ownerDocument,i);return o?e:M(e,r)}const{top:e,bottom:t}=r,n=e.getBoundingClientRect(),s=t.getBoundingClientRect(),l=h(new window.DOMRect(n.left,n.top,n.width,s.bottom-n.top),e.ownerDocument,i);return o?l:M(l,r)}if(!e.current)return;const{parentNode:s}=e.current,l=s.getBoundingClientRect();return o?l:M(l,s)}($,E,S,x,k,K.current);if(!e)return;const{offsetParent:t,ownerDocument:n}=K.current;let r,o=0;if(t&&t!==n.body){const n=t.getBoundingClientRect();o=n.top,e=new window.DOMRect(e.left-n.left,e.top-n.top,e.width,e.height)}var i;B&&(r=null===(i=K.current.closest(".popover-slot"))||void 0===i?void 0:i.parentNode);const s=Q.height?Q:U.current.getBoundingClientRect(),{popoverTop:c,popoverLeft:u,xAxis:d,yAxis:m,contentHeight:v,contentWidth:y}=function(e,t,n="top",r,o,i,s,a,l){const[c,u="center",p]=n.split(" "),d=function(e,t,n,r,o,i,s,a){const{height:l}=t;if(o){const t=o.getBoundingClientRect().top+l-s;if(e.top<=t)return{yAxis:n,popoverTop:Math.min(e.bottom,t)}}let c=e.top+e.height/2;"bottom"===r?c=e.bottom:"top"===r&&(c=e.top);const u={popoverTop:c,contentHeight:(c-l/2>0?l/2:c)+(c+l/2>window.innerHeight?window.innerHeight-c:l/2)},p={popoverTop:e.top,contentHeight:e.top-10-l>0?l:e.top-10},d={popoverTop:e.bottom,contentHeight:e.bottom+10+l>window.innerHeight?window.innerHeight-10-e.bottom:l};let f,h=n,m=null;if(!o&&!a)if("middle"===n&&u.contentHeight===l)h="middle";else if("top"===n&&p.contentHeight===l)h="top";else if("bottom"===n&&d.contentHeight===l)h="bottom";else{h=p.contentHeight>d.contentHeight?"top":"bottom";const e="top"===h?p.contentHeight:d.contentHeight;m=e!==l?e:null}return f="middle"===h?u.popoverTop:"top"===h?p.popoverTop:d.popoverTop,{yAxis:h,popoverTop:f,contentHeight:m}}(e,t,c,p,r,0,i,a),h=function(e,t,n,r,o,i,s,a,l){const{width:c}=t;"left"===n&&(0,f.isRTL)()?n="right":"right"===n&&(0,f.isRTL)()&&(n="left"),"left"===r&&(0,f.isRTL)()?r="right":"right"===r&&(0,f.isRTL)()&&(r="left");const u=Math.round(e.left+e.width/2),p={popoverLeft:u,contentWidth:(u-c/2>0?c/2:u)+(u+c/2>window.innerWidth?window.innerWidth-u:c/2)};let d=e.left;"right"===r?d=e.right:"middle"===i||l||(d=u);let h=e.right;"left"===r?h=e.left:"middle"===i||l||(h=u);const m={popoverLeft:d,contentWidth:d-c>0?c:d},g={popoverLeft:h,contentWidth:h+c>window.innerWidth?window.innerWidth-h:c};let v,y=n,b=null;if(!o&&!a)if("center"===n&&p.contentWidth===c)y="center";else if("left"===n&&m.contentWidth===c)y="left";else if("right"===n&&g.contentWidth===c)y="right";else{y=m.contentWidth>g.contentWidth?"left":"right";const e="left"===y?m.contentWidth:g.contentWidth;c>window.innerWidth&&(b=window.innerWidth),e!==c&&(y="center",p.popoverLeft=window.innerWidth/2)}if(v="center"===y?p.popoverLeft:"left"===y?m.popoverLeft:g.popoverLeft,s){const e=s.getBoundingClientRect();v=Math.min(v,e.right-c),(0,f.isRTL)()||(v=Math.max(v,0))}return{xAxis:y,popoverLeft:v,contentWidth:b}}(e,t,u,p,r,d.yAxis,s,a,l);return{...h,...d}}(e,s,g,L,K.current,o,r,V,H);"number"==typeof c&&"number"==typeof u&&(R(K.current,"top",c+"px"),R(K.current,"left",u+"px")),N(K.current,"is-without-arrow",l||"center"===d&&"middle"===m),N(K.current,"is-alternate",p),D(K.current,"data-x-axis",d),D(K.current,"data-y-axis",m),R(U.current,"maxHeight","number"==typeof v?v+"px":""),R(U.current,"maxWidth","number"==typeof y?y+"px":""),X(({left:"right",right:"left"}[d]||"center")+" "+({top:"bottom",bottom:"top"}[m]||"middle"))};e();const{ownerDocument:t}=K.current,{defaultView:n}=t,r=n.setInterval(e,500);let o;const i=()=>{n.cancelAnimationFrame(o),o=n.requestAnimationFrame(e)};n.addEventListener("click",i),n.addEventListener("resize",e),n.addEventListener("scroll",e,!0);const s=function(e){if(e)return e.endContainer?e.endContainer.ownerDocument:e.top?e.top.ownerDocument:e.ownerDocument}(x);let c;return s&&s!==t&&(s.defaultView.addEventListener("resize",e),s.defaultView.addEventListener("scroll",e,!0)),j&&(c=new n.MutationObserver(e),c.observe(j,{attributes:!0})),()=>{n.clearInterval(r),n.removeEventListener("resize",e),n.removeEventListener("scroll",e,!0),n.removeEventListener("click",i),n.cancelAnimationFrame(o),s&&s!==t&&(s.defaultView.removeEventListener("resize",e),s.defaultView.removeEventListener("scroll",e,!0)),c&&c.disconnect()}}),[Z,E,S,x,k,g,Q,L,j,B]);const ee=(e,n)=>{if("focus-outside"===e&&I)I(n);else if("focus-outside"===e&&A){const e=new window.MouseEvent("click");Object.defineProperty(e,"target",{get:()=>n.relatedTarget}),c()("Popover onClickOutside prop",{since:"5.3",alternative:"onFocusOutside"}),A(e)}else t&&t()},[te,ne]=(0,u.__experimentalUseDialog)({focusOnMount:y,__unstableOnClose:ee,onClose:ee}),re=(0,u.useMergeRefs)([K,te,W]),oe=Boolean(C&&G)&&function(e){if("loading"===e.type)return s()("components-animate__loading");const{type:t,origin:n=_(t)}=e;if("appear"===t){const[e,t="center"]=n.split(" ");return s()("components-animate__appear",{["is-from-"+t]:"center"!==t,["is-from-"+e]:"middle"!==e})}return"slide-in"===t?s()("components-animate__slide-in","is-from-"+n):void 0}({type:"appear",origin:G});let ie=(0,o.createElement)("div",(0,r.A)({className:s()("components-popover",i,oe,{"is-expanded":Z,"is-without-arrow":l,"is-alternate":p})},z,{ref:re},ne,{tabIndex:"-1"}),Z&&(0,o.createElement)(b,null),Z&&(0,o.createElement)("div",{className:"components-popover__header"},(0,o.createElement)("span",{className:"components-popover__header-title"},e),(0,o.createElement)(m.A,{className:"components-popover__close",icon:d,onClick:t})),(0,o.createElement)("div",{ref:U,className:"components-popover__content"},(0,o.createElement)("div",{style:{position:"relative"}},J,n)));return Y.ref&&(ie=(0,o.createElement)(O,{name:F},ie)),x||E?ie:(0,o.createElement)("span",{ref:$},ie)}));F.Slot=(0,o.forwardRef)((function({name:e=P},t){return(0,o.createElement)(L,{bubblesVirtually:!0,name:e,className:"popover-slot",ref:t})}));const j=F},145:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087),o=n(8468);const i=/^(1|258|493|507)$/.test(n.j)?null:function({shortcut:e,className:t}){if(!e)return null;let n,i;return(0,o.isString)(e)&&(n=e),(0,o.isObject)(e)&&(n=e.display,i=e.ariaLabel),(0,r.createElement)("span",{className:t,"aria-label":i},n)}},9745:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6087);if(!/^(1|258|493|507)$/.test(n.j))var o=n(1502);function i(){const[,e]=(0,r.useState)({}),t=(0,r.useRef)(!0);return(0,r.useEffect)((()=>()=>{t.current=!1}),[]),()=>{t.current&&e({})}}function s({name:e,children:t}){const n=(0,o.A)(e),s=(0,r.useRef)({rerender:i()});return(0,r.useEffect)((()=>(n.registerFill(s),()=>{n.unregisterFill(s)})),[n.registerFill,n.unregisterFill]),n.ref&&n.ref.current?("function"==typeof t&&(t=t(n.fillProps)),(0,r.createPortal)(t,n.ref.current)):null}},6154:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);n(979);const o=(0,r.createContext)({slots:{},fills:{},registerSlot:()=>{"undefined"!=typeof process&&process.env},updateSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{}}),i=/^(1|258|493|507)$/.test(n.j)?null:o},1502:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);if(!/^(1|258|493|507)$/.test(n.j))var o=n(6154);function i(e){const t=(0,r.useContext)(o.A),n=t.slots[e]||{},i=t.fills[e],s=(0,r.useMemo)((()=>i||[]),[i]);return{...n,updateSlot:(0,r.useCallback)((n=>{t.updateSlot(e,n)}),[e,t.updateSlot]),unregisterSlot:(0,r.useCallback)((n=>{t.unregisterSlot(e,n)}),[e,t.unregisterSlot]),fills:s,registerFill:(0,r.useCallback)((n=>{t.registerFill(e,n)}),[e,t.registerFill]),unregisterFill:(0,r.useCallback)((n=>{t.unregisterFill(e,n)}),[e,t.unregisterFill])}}},8772:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});const r=(0,n(6087).createContext)({registerSlot:()=>{},unregisterSlot:()=>{},registerFill:()=>{},unregisterFill:()=>{},getSlot:()=>{},getFills:()=>{},subscribe:()=>{}}),o=/^(1|258|493|507)$/.test(n.j)?null:r},5366:(e,t,n)=>{"use strict";if(n.d(t,{A:()=>c}),!/^(1|258|493|507)$/.test(n.j))var r=n(7731);var o=n(6087),i=n(8468);if(!/^(1|258|493|507)$/.test(n.j))var s=n(8772);if(!/^(1|258|493|507)$/.test(n.j))var a=n(8069);function l({name:e,children:t,registerFill:n,unregisterFill:r}){const s=(0,a.A)(e),l=(0,o.useRef)({name:e,children:t});return(0,o.useLayoutEffect)((()=>(n(e,l.current),()=>r(e,l.current))),[]),(0,o.useLayoutEffect)((()=>{l.current.children=t,s&&s.forceUpdate()}),[t]),(0,o.useLayoutEffect)((()=>{e!==l.current.name&&(r(l.current.name,l.current),l.current.name=e,n(e,l.current))}),[e]),s&&s.node?((0,i.isFunction)(t)&&(t=t(s.props.fillProps)),(0,o.createPortal)(t,s.node)):null}const c=/^(1|258|493|507)$/.test(n.j)?null:e=>(0,o.createElement)(s.A.Consumer,null,(({registerFill:t,unregisterFill:n})=>(0,o.createElement)(l,(0,r.A)({},e,{registerFill:t,unregisterFill:n}))))},8069:(e,t,n)=>{"use strict";n.d(t,{A:()=>i});var r=n(6087);if(!/^(1|258|493|507)$/.test(n.j))var o=n(8772);const i=/^(1|258|493|507)$/.test(n.j)?null:e=>{const{getSlot:t,subscribe:n}=(0,r.useContext)(o.A),[i,s]=(0,r.useState)(t(e));return(0,r.useEffect)((()=>(s(t(e)),n((()=>{s(t(e))})))),[e]),i}},4967:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(9019),o=n.n(r),i=n(6087);const s=(0,i.forwardRef)((function({as:e="div",className:t,...n},r){return function({as:e="div",...t}){return"function"==typeof t.children?t.children(t):(0,i.createElement)(e,t)}({as:e,className:o()("components-visually-hidden",t),...n,ref:r})}))},3931:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(6087),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),s=/^(1|258|493|507)$/.test(n.j)?null:i},7104:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(6087);const o=(0,r.forwardRef)((function({icon:e,size:t=24,...n},o){return(0,r.cloneElement)(e,{width:t,height:t,...n,ref:o})}))},224:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{viewBox:"0 0 24 24",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)(o.Path,{d:"M17.5 11.6L12 16l-5.5-4.4.9-1.2L12 14l4.5-3.6 1 1.2z"})),s=/^(1|258|493|507)$/.test(n.j)?null:i},8098:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M12 13.06l3.712 3.713 1.061-1.06L13.061 12l3.712-3.712-1.06-1.06L12 10.938 8.288 7.227l-1.061 1.06L10.939 12l-3.712 3.712 1.06 1.061L12 13.061z"})),s=/^(507|819)$/.test(n.j)?i:null},7850:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,r.createElement)(o.Path,{d:"M13 5c-3.3 0-6 2.7-6 6 0 1.4.5 2.7 1.3 3.7l-3.8 3.8 1.1 1.1 3.8-3.8c1 .8 2.3 1.3 3.7 1.3 3.3 0 6-2.7 6-6S16.3 5 13 5zm0 10.5c-2.5 0-4.5-2-4.5-4.5s2-4.5 4.5-4.5 4.5 2 4.5 4.5-2 4.5-4.5 4.5z"})),s=1==n.j?i:null},3588:(e,t,n)=>{"use strict";n.d(t,{A:()=>s});var r=n(1609),o=n(5573);const i=(0,r.createElement)(o.SVG,{xmlns:"http://www.w3.org/2000/svg",viewBox:"-2 -2 24 24"},(0,r.createElement)(o.Path,{d:"M10 2c4.42 0 8 3.58 8 8s-3.58 8-8 8-8-3.58-8-8 3.58-8 8-8zm1.13 9.38l.35-6.46H8.52l.35 6.46h2.26zm-.09 3.36c.24-.23.37-.55.37-.96 0-.42-.12-.74-.36-.97s-.59-.35-1.06-.35-.82.12-1.07.35-.37.55-.37.97c0 .41.13.73.38.96.26.23.61.34 1.06.34s.8-.11 1.05-.34z"})),s=1==n.j?i:null},9019:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t{"use strict";var r=n(5618);e.exports=function(e,t,n){n=n||{},9===t.nodeType&&(t=r.getWindow(t));var o=n.allowHorizontalScroll,i=n.onlyScrollIfNeeded,s=n.alignWithTop,a=n.alignWithLeft,l=n.offsetTop||0,c=n.offsetLeft||0,u=n.offsetBottom||0,p=n.offsetRight||0;o=void 0===o||o;var d=r.isWindow(t),f=r.offset(e),h=r.outerHeight(e),m=r.outerWidth(e),g=void 0,v=void 0,y=void 0,b=void 0,w=void 0,x=void 0,k=void 0,E=void 0,S=void 0,T=void 0;d?(k=t,T=r.height(k),S=r.width(k),E={left:r.scrollLeft(k),top:r.scrollTop(k)},w={left:f.left-E.left-c,top:f.top-E.top-l},x={left:f.left+m-(E.left+S)+p,top:f.top+h-(E.top+T)+u},b=E):(g=r.offset(t),v=t.clientHeight,y=t.clientWidth,b={left:t.scrollLeft,top:t.scrollTop},w={left:f.left-(g.left+(parseFloat(r.css(t,"borderLeftWidth"))||0))-c,top:f.top-(g.top+(parseFloat(r.css(t,"borderTopWidth"))||0))-l},x={left:f.left+m-(g.left+y+(parseFloat(r.css(t,"borderRightWidth"))||0))+p,top:f.top+h-(g.top+v+(parseFloat(r.css(t,"borderBottomWidth"))||0))+u}),w.top<0||x.top>0?!0===s?r.scrollTop(t,b.top+w.top):!1===s?r.scrollTop(t,b.top+x.top):w.top<0?r.scrollTop(t,b.top+w.top):r.scrollTop(t,b.top+x.top):i||((s=void 0===s||!!s)?r.scrollTop(t,b.top+w.top):r.scrollTop(t,b.top+x.top)),o&&(w.left<0||x.left>0?!0===a?r.scrollLeft(t,b.left+w.left):!1===a?r.scrollLeft(t,b.left+x.left):w.left<0?r.scrollLeft(t,b.left+w.left):r.scrollLeft(t,b.left+x.left):i||((a=void 0===a||!!a)?r.scrollLeft(t,b.left+w.left):r.scrollLeft(t,b.left+x.left)))}},4648:(e,t,n)=>{"use strict";e.exports=n(2881)},5618:e=>{"use strict";var t=Object.assign||function(e){for(var t=1;t{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},4772:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(7333),s=n(3010);o(n(3010),t);var a={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=a),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:a,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new s.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new s.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new s.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new s.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new s.Text(""),t=new s.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new s.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},3010:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function __(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(__.prototype=t.prototype,new __)}),i=this&&this.__assign||function(){return i=Object.assign||function(e){for(var t,n=1,r=arguments.length;n0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(a);t.NodeWithChildren=d;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(d);t.CDATA=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=s.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(d);t.Document=h;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?s.ElementType.Script:"style"===t?s.ElementType.Style:s.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(d);function g(e){return(0,s.isTag)(e)}function v(e){return e.type===s.ElementType.CDATA}function y(e){return e.type===s.ElementType.Text}function b(e){return e.type===s.ElementType.Comment}function w(e){return e.type===s.ElementType.Directive}function x(e){return e.type===s.ElementType.Root}function k(e,t){var n;if(void 0===t&&(t=!1),y(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(g(e)){var r=t?E(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(v(e)){r=t?E(e.children):[];var s=new f(r);r.forEach((function(e){return e.parent=s})),n=s}else if(x(e)){r=t?E(e.children):[];var a=new h(r);r.forEach((function(e){return e.parent=a})),e["x-mode"]&&(a["x-mode"]=e["x-mode"]),n=a}else{if(!w(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new p(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function E(e){for(var t=e.map((function(e){return k(e,!0)})),n=1;n{"use strict";if(n.d(t,{a:()=>i}),/^(1|819)$/.test(n.j))var r=n(8932);if(/^(1|819)$/.test(n.j))var o=n(24);function i(e,t){return void 0===t&&(t={}),(0,o.W)(e,(0,r.Cl)({delimiter:"."},t))}},458:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,i;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;for(o of t.entries())if(!e(o[1],n.get(o[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(t[o]!==n[o])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(i=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,i[o]))return!1;for(o=r;0!=o--;){var s=i[o];if(!e(t[s],n[s]))return!1}return!0}return t!=t&&n!=n}},5621:(e,t)=>{t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussainBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"]},1283:e=>{var t="html",n="head",r="body",o=/<([a-zA-Z]+[0-9]?)/,i=//i,s=//i,a=function(){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},l=function(){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},c="object"==typeof window&&window.DOMParser;if("function"==typeof c){var u=new c;a=l=function(e,t){return t&&(e="<"+t+">"+e+""),u.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();a=function(e,t){return t?(p.documentElement.querySelector(t).innerHTML=e,p):(p.documentElement.innerHTML=e,p)}}var d,f="object"==typeof document?document.createElement("template"):{};f.content&&(d=function(e){return f.innerHTML=e,f.content.childNodes}),e.exports=function(e){var c,u,p,f,h=e.match(o);switch(h&&h[1]&&(c=h[1].toLowerCase()),c){case t:return u=l(e),i.test(e)||(p=u.querySelector(n))&&p.parentNode.removeChild(p),s.test(e)||(p=u.querySelector(r))&&p.parentNode.removeChild(p),u.querySelectorAll(t);case n:case r:return f=(u=a(e)).querySelectorAll(c),s.test(e)&&i.test(e)?f[0].parentNode.childNodes:f;default:return d?d(e):(p=a(e,r).querySelector(r)).childNodes}}},7312:(e,t,n)=>{var r=n(1283),o=n(3076).formatDOM,i=/<(![a-zA-Z\s]+)>/;e.exports=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(""===e)return[];var t,n=e.match(i);return n&&n[1]&&(t=n[1]),o(r(e),null,t)}},3076:(e,t,n)=>{for(var r,o=n(4772),i=n(5621).CASE_SENSITIVE_TAG_NAMES,s=o.Comment,a=o.Element,l=o.ProcessingInstruction,c=o.Text,u={},p=0,d=i.length;p{var r=n(5112),o=n(2316),i=n(7312);i="function"==typeof i.default?i.default:i;var s={lowerCaseAttributeNames:!1};function a(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return""===e?[]:r(i(e,(t=t||{}).htmlparser2||s),t)}a.domToReact=r,a.htmlToDOM=i,a.attributesToProps=o,a.Element=n(4772).Element,e.exports=a,e.exports.default=a},2316:(e,t,n)=>{var r=n(516),o=n(4874);function i(e){return r.possibleStandardNames[e]}e.exports=function(e){var t,n,s,a,l,c={},u=(e=e||{}).type&&{reset:!0,submit:!0}[e.type];for(t in e)if(s=e[t],r.isCustomAttribute(t))c[t]=s;else if(a=i(n=t.toLowerCase()))switch(l=r.getPropertyInfo(a),"checked"!==a&&"value"!==a||u||(a=i("default"+n)),c[a]=s,l&&l.type){case r.BOOLEAN:c[a]=!0;break;case r.OVERLOADED_BOOLEAN:""===s&&(c[a]=!0)}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(c[t]=s);return o.setStyleProp(e.style,c),c}},5112:(e,t,n)=>{var r=n(1609),o=n(2316),i=n(4874),s=i.setStyleProp,a=i.canTextBeChildOfNode;function l(e){return i.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&i.isCustomComponent(e.name,e.attribs)}e.exports=function e(t,n){for(var i,c,u,p,d,f=(n=n||{}).library||r,h=f.cloneElement,m=f.createElement,g=f.isValidElement,v=[],y="function"==typeof n.replace,b=n.trim,w=0,x=t.length;w1&&(u=h(u,{key:u.key||w})),v.push(u);else if("text"!==i.type){switch(p=i.attribs,l(i)?s(p.style,p):p&&(p=o(p)),d=null,i.type){case"script":case"style":i.children[0]&&(p.dangerouslySetInnerHTML={__html:i.children[0].data});break;case"tag":"textarea"===i.name&&i.children[0]?p.defaultValue=i.children[0].data:i.children&&i.children.length&&(d=e(i.children,n));break;default:continue}x>1&&(p.key=w),v.push(m(i.name,p,d))}else{if((c=!i.data.trim().length)&&i.parent&&!a(i.parent))continue;if(b&&c)continue;v.push(i.data)}return 1===v.length?v[0]:v}},4874:(e,t,n)=>{var r=n(1609),o=n(7256).default,i={reactCompat:!0},s=r.version.split(".")[0]>=16,a=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]);e.exports={PRESERVE_CUSTOM_ATTRIBUTES:s,invertObject:function(e,t){if(!e||"object"!=typeof e)throw new TypeError("First argument must be an object");var n,r,o="function"==typeof t,i={},s={};for(n in e)r=e[n],o&&(i=t(n,r))&&2===i.length?s[i[0]]=i[1]:"string"==typeof r&&(s[r]=n);return s},isCustomComponent:function(e,t){if(-1===e.indexOf("-"))return t&&"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}},setStyleProp:function(e,t){if(null!=e)try{t.style=o(e,i)}catch(e){t.style={}}},canTextBeChildOfNode:function(e){return!a.has(e.name)},elementsWithNoTextChildren:a}},6488:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,s=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,a=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var p=1,d=1;function f(e){var t=e.match(n);t&&(p+=t.length);var r=e.lastIndexOf("\n");d=~r?e.length-r:d+e.length}function h(){var e={line:p,column:d};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:p,column:d},this.source=l.source}m.prototype.content=e;var g=[];function v(t){var n=new Error(l.source+":"+p+":"+d+": "+t);if(n.reason=t,n.filename=l.source,n.line=p,n.column=d,n.source=e,!l.silent)throw n;g.push(n)}function y(t){var n=t.exec(e);if(n){var r=n[0];return f(r),e=e.slice(r.length),n}}function b(){y(r)}function w(e){var t;for(e=e||[];t=x();)!1!==t&&e.push(t);return e}function x(){var t=h();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return v("End of comment missing");var r=e.slice(2,n-2);return d+=2,f(r),e=e.slice(n),d+=2,t({type:"comment",comment:r})}}function k(){var e=h(),n=y(o);if(n){if(x(),!y(i))return v("property missing ':'");var r=y(s),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return y(a),l}}return b(),function(){var e,t=[];for(w(t);e=k();)!1!==e&&(t.push(e),w(t));return t}()}},2851:(e,t,n)=>{"use strict";function r(e){return e.toLowerCase()}n.d(t,{g:()=>r})},24:(e,t,n)=>{"use strict";if(n.d(t,{W:()=>s}),/^(1|819)$/.test(n.j))var r=n(2851);var o=/^(1|819)$/.test(n.j)?[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g]:null,i=/[^A-Z0-9]+/gi;function s(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,s=void 0===n?o:n,l=t.stripRegexp,c=void 0===l?i:l,u=t.transform,p=void 0===u?r.g:u,d=t.delimiter,f=void 0===d?" ":d,h=a(a(e,s,"$1\0$2"),c,"\0"),m=0,g=h.length;"\0"===h.charAt(m);)m++;for(;"\0"===h.charAt(g-1);)g--;return h.slice(m,g).split("\0").map(p).join(f)}function a(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}},1194:(e,t,n)=>{"use strict";if(n.d(t,{c:()=>i}),/^(1|819)$/.test(n.j))var r=n(8932);if(/^(1|819)$/.test(n.j))var o=n(3058);function i(e,t){return void 0===t&&(t={}),(0,o.a)(e,(0,r.Cl)({delimiter:"-"},t))}},516:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},7256:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};t.__esModule=!0;var o=r(n(2863)),i=n(8988);t.default=function(e,t){var n={};return e&&"string"==typeof e?((0,o.default)(e,(function(e,r){e&&r&&(n[(0,i.camelCase)(e,t)]=r)})),n):n}},8988:(e,t)=>{"use strict";t.__esModule=!0,t.camelCase=void 0;var n=/^--[a-zA-Z0-9-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,s=/^-(ms)-/,a=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(s,l):e.replace(i,l)).replace(r,a))}},2863:(e,t,n)=>{var r=n(6488);e.exports=function(e,t){var n,o=null;if(!e||"string"!=typeof e)return o;for(var i,s,a=r(e),l="function"==typeof t,c=0,u=a.length;c{"use strict";n.d(t,{YQ:()=>o,d7:()=>a});var r=n(1609);function o(e,t,n){var o=this,i=(0,r.useRef)(null),s=(0,r.useRef)(0),a=(0,r.useRef)(null),l=(0,r.useRef)([]),c=(0,r.useRef)(),u=(0,r.useRef)(),p=(0,r.useRef)(e),d=(0,r.useRef)(!0);(0,r.useEffect)((function(){p.current=e}),[e]);var f=!t&&0!==t&&"undefined"!=typeof window;if("function"!=typeof e)throw new TypeError("Expected a function");t=+t||0;var h=!!(n=n||{}).leading,m=!("trailing"in n)||!!n.trailing,g="maxWait"in n,v=g?Math.max(+n.maxWait||0,t):null;(0,r.useEffect)((function(){return d.current=!0,function(){d.current=!1}}),[]);var y=(0,r.useMemo)((function(){var e=function(e){var t=l.current,n=c.current;return l.current=c.current=null,s.current=e,u.current=p.current.apply(n,t)},n=function(e,t){f&&cancelAnimationFrame(a.current),a.current=f?requestAnimationFrame(e):setTimeout(e,t)},r=function(e){if(!d.current)return!1;var n=e-i.current;return!i.current||n>=t||n<0||g&&e-s.current>=v},y=function(t){return a.current=null,m&&l.current?e(t):(l.current=c.current=null,u.current)},b=function e(){var o=Date.now();if(r(o))return y(o);if(d.current){var a=t-(o-i.current),l=g?Math.min(a,v-(o-s.current)):a;n(e,l)}},w=function(){var p=Date.now(),f=r(p);if(l.current=[].slice.call(arguments),c.current=o,i.current=p,f){if(!a.current&&d.current)return s.current=i.current,n(b,t),h?e(i.current):u.current;if(g)return n(b,t),e(i.current)}return a.current||n(b,t),u.current};return w.cancel=function(){a.current&&(f?cancelAnimationFrame(a.current):clearTimeout(a.current)),s.current=0,l.current=i.current=c.current=a.current=null},w.isPending=function(){return!!a.current},w.flush=function(){return a.current?y(Date.now()):u.current},w}),[h,g,t,v,m,f]);return y}function i(e,t){return e===t}function s(e){return"function"==typeof e?function(){return e}:e}function a(e,t,n){var a,l,c=n&&n.equalityFn||i,u=(a=(0,r.useState)(s(e)),l=a[1],[a[0],(0,r.useCallback)((function(e){return l(s(e))}),[])]),p=u[0],d=u[1],f=o((0,r.useCallback)((function(e){return d(e)}),[d]),t,n),h=(0,r.useRef)(e);return c(h.current,e)||(f(e),h.current=e),[p,f]}},4018:(e,t,n)=>{"use strict";function r(e){return r="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},r(e)}function o(e,t,n){return(t=function(e){var t=function(e,t){if("object"!==r(e)||null===e)return e;var n=e[Symbol.toPrimitive];if(void 0!==n){var o=n.call(e,"string");if("object"!==r(o))return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===r(t)?t:String(t)}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}n.d(t,{A:()=>o})},7731:(e,t,n)=>{"use strict";function r(){return r=Object.assign?Object.assign.bind():function(e){for(var t=1;tr})},851:(e,t,n)=>{"use strict";function r(e){var t,n,o="";if("string"==typeof e||"number"==typeof e)o+=e;else if("object"==typeof e)if(Array.isArray(e)){var i=e.length;for(t=0;to});const o=function(){for(var e,t,n=0,o="",i=arguments.length;n{"use strict";n.d(t,{di:()=>u});var r=function(e){return function(t,n,r){return e(t,n,r)*r}},o=function(e,t){if(e)throw Error("Invalid sort config: "+t)},i=function(e){var t=e||{},n=t.asc,i=t.desc,s=n?1:-1,a=n||i;return o(!a,"Expected `asc` or `desc` property"),o(n&&i,"Ambiguous object with `asc` and `desc` config properties"),{order:s,sortBy:a,comparer:e.comparer&&r(e.comparer)}};function s(e,t,n){if(void 0===e||!0===e)return function(e,r){return t(e,r,n)};if("string"==typeof e)return o(e.includes("."),"String syntax not allowed for nested properties."),function(r,o){return t(r[e],o[e],n)};if("function"==typeof e)return function(r,o){return t(e(r),e(o),n)};if(Array.isArray(e)){var r=function(e){return function t(n,r,o,s,a,l,c){var u,p;if("string"==typeof n)u=l[n],p=c[n];else{if("function"!=typeof n){var d=i(n);return t(d.sortBy,r,o,d.order,d.comparer||e,l,c)}u=n(l),p=n(c)}var f=a(u,p,s);return(0===f||null==u&&null==p)&&r.length>o?t(r[o],r,o+1,s,a,l,c):f}}(t);return function(o,i){return r(e[0],e,1,n,t,o,i)}}var a=i(e);return s(a.sortBy,a.comparer||t,a.order)}var a=function(e,t,n,r){return Array.isArray(t)?(Array.isArray(n)&&n.length<2&&(n=n[0]),t.sort(s(n,r,e))):t};function l(e){var t=r(e.comparer);return function(n){var r=Array.isArray(n)&&!e.inPlaceSorting?n.slice():n;return{asc:function(e){return a(1,r,e,t)},desc:function(e){return a(-1,r,e,t)},by:function(e){return a(1,r,e,t)}}}}var c=function(e,t,n){return null==e?n:null==t?-n:typeof e!=typeof t?typeof et?1:0},u=l({comparer:c});l({comparer:c,inPlaceSorting:!0})},4332:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>o});var r=n(5106);r.domToReact,r.htmlToDOM,r.attributesToProps,r.Element;const o=819==n.j?r:null},8932:(e,t,n)=>{"use strict";n.d(t,{Cl:()=>r});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n