| 1 |
(()=>{var e={920:(e,t,n)=>{"use strict";var r=n(69675),o=n(58859),a=n(14803),i=n(80507),s=n(72271)||i||a;e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new r("Side channel does not contain "+o(e))},delete:function(t){return!!e&&e.delete(t)},get:function(t){return e&&e.get(t)},has:function(t){return!!e&&e.has(t)},set:function(t,n){e||(e=s()),e.set(t,n)}};return t}},1254:(e,t,n)=>{"use strict";n.d(t,{$:()=>s});var r=n(12295),o=n(2056),a=n(8448),i=n(94323);class s extends i.Q{constructor(e){super(),this.config=e||{},this.queries=[],this.queriesMap={}}build(e,t,n){var a;const i=t.queryKey,s=null!=(a=t.queryHash)?a:(0,r.F$)(i,t);let l=this.get(s);return l||(l=new o.X({cache:this,logger:e.getLogger(),queryKey:i,queryHash:s,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(i)}),this.add(l)),l}add(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"added",query:e}))}remove(e){const t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter((t=>t!==e)),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"removed",query:e}))}clear(){a.j.batch((()=>{this.queries.forEach((e=>{this.remove(e)}))}))}get(e){return this.queriesMap[e]}getAll(){return this.queries}find(e,t){const[n]=(0,r.b_)(e,t);return void 0===n.exact&&(n.exact=!0),this.queries.find((e=>(0,r.MK)(n,e)))}findAll(e,t){const[n]=(0,r.b_)(e,t);return Object.keys(n).length>0?this.queries.filter((e=>(0,r.MK)(n,e))):this.queries}notify(e){a.j.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}onFocus(){a.j.batch((()=>{this.queries.forEach((e=>{e.onFocus()}))}))}onOnline(){a.j.batch((()=>{this.queries.forEach((e=>{e.onOnline()}))}))}}},1455:e=>{"use strict";e.exports=window.wp.apiFetch},1720:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.bodyOpenClassName=t.portalClassName=void 0;var r=Object.assign||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},o=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),a=n(51609),i=m(a),s=m(n(75795)),l=m(n(5556)),c=m(n(29090)),u=function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}(n(76462)),d=n(60834),p=m(d),f=n(71345);function m(e){return e&&e.__esModule?e:{default:e}}function h(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}var g=t.portalClassName="ReactModalPortal",b=t.bodyOpenClassName="ReactModal__Body--open",v=d.canUseDOM&&void 0!==s.default.createPortal,y=function(e){return document.createElement(e)},w=function(){return v?s.default.createPortal:s.default.unstable_renderSubtreeIntoContainer};function E(e){return e()}var x=function(e){function t(){var e,n,o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var a=arguments.length,l=Array(a),u=0;u<a;u++)l[u]=arguments[u];return n=o=h(this,(e=t.__proto__||Object.getPrototypeOf(t)).call.apply(e,[this].concat(l))),o.removePortal=function(){!v&&s.default.unmountComponentAtNode(o.node);var e=E(o.props.parentSelector);e&&e.contains(o.node)?e.removeChild(o.node):console.warn('React-Modal: "parentSelector" prop did not returned any DOM element. Make sure that the parent element is unmounted to avoid any memory leaks.')},o.portalRef=function(e){o.portal=e},o.renderPortal=function(e){var n=w()(o,i.default.createElement(c.default,r({defaultStyles:t.defaultStyles},e)),o.node);o.portalRef(n)},h(o,n)}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),o(t,[{key:"componentDidMount",value:function(){d.canUseDOM&&(v||(this.node=y("div")),this.node.className=this.props.portalClassName,E(this.props.parentSelector).appendChild(this.node),!v&&this.renderPortal(this.props))}},{key:"getSnapshotBeforeUpdate",value:function(e){return{prevParent:E(e.parentSelector),nextParent:E(this.props.parentSelector)}}},{key:"componentDidUpdate",value:function(e,t,n){if(d.canUseDOM){var r=this.props,o=r.isOpen,a=r.portalClassName;e.portalClassName!==a&&(this.node.className=a);var i=n.prevParent,s=n.nextParent;s!==i&&(i.removeChild(this.node),s.appendChild(this.node)),(e.isOpen||o)&&!v&&this.renderPortal(this.props)}}},{key:"componentWillUnmount",value:function(){if(d.canUseDOM&&this.node&&this.portal){var e=this.portal.state,t=Date.now(),n=e.isOpen&&this.props.closeTimeoutMS&&(e.closesAt||t+this.props.closeTimeoutMS);n?(e.beforeClose||this.portal.closeWithTimeout(),setTimeout(this.removePortal,n-t)):this.removePortal()}}},{key:"render",value:function(){return d.canUseDOM&&v?(!this.node&&v&&(this.node=y("div")),w()(i.default.createElement(c.default,r({ref:this.portalRef,defaultStyles:t.defaultStyles},this.props)),this.node)):null}}],[{key:"setAppElement",value:function(e){u.setElement(e)}}]),t}(a.Component);x.propTypes={isOpen:l.default.bool.isRequired,style:l.default.shape({content:l.default.object,overlay:l.default.object}),portalClassName:l.default.string,bodyOpenClassName:l.default.string,htmlOpenClassName:l.default.string,className:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),overlayClassName:l.default.oneOfType([l.default.string,l.default.shape({base:l.default.string.isRequired,afterOpen:l.default.string.isRequired,beforeClose:l.default.string.isRequired})]),appElement:l.default.oneOfType([l.default.instanceOf(p.default),l.default.instanceOf(d.SafeHTMLCollection),l.default.instanceOf(d.SafeNodeList),l.default.arrayOf(l.default.instanceOf(p.default))]),onAfterOpen:l.default.func,onRequestClose:l.default.func,closeTimeoutMS:l.default.number,ariaHideApp:l.default.bool,shouldFocusAfterRender:l.default.bool,shouldCloseOnOverlayClick:l.default.bool,shouldReturnFocusAfterClose:l.default.bool,preventScroll:l.default.bool,parentSelector:l.default.func,aria:l.default.object,data:l.default.object,role:l.default.string,contentLabel:l.default.string,shouldCloseOnEsc:l.default.bool,overlayRef:l.default.func,contentRef:l.default.func,id:l.default.string,overlayElement:l.default.func,contentElement:l.default.func},x.defaultProps={isOpen:!1,portalClassName:g,bodyOpenClassName:b,role:"dialog",ariaHideApp:!0,closeTimeoutMS:0,shouldFocusAfterRender:!0,shouldCloseOnEsc:!0,shouldCloseOnOverlayClick:!0,shouldReturnFocusAfterClose:!0,preventScroll:!1,parentSelector:function(){return document.body},overlayElement:function(e,t){return i.default.createElement("div",e,t)},contentElement:function(e,t){return i.default.createElement("div",e,t)}},x.defaultStyles={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(255, 255, 255, 0.75)"},content:{position:"absolute",top:"40px",left:"40px",right:"40px",bottom:"40px",border:"1px solid #ccc",background:"#fff",overflow:"auto",WebkitOverflowScrolling:"touch",borderRadius:"4px",outline:"none",padding:"20px"}},(0,f.polyfill)(x),t.default=x},2056:(e,t,n)=>{"use strict";n.d(t,{X:()=>l});var r=n(12295),o=n(52904),a=n(8448),i=n(94255),s=n(91931);class l extends s.k{constructor(e){super(),this.abortSignalConsumed=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.logger=e.logger||o.U,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?null!=r?r:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"loading",fetchStatus:"idle"}}(this.options),this.state=this.initialState,this.scheduleGc()}get meta(){return this.options.meta}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.cache.remove(this)}setData(e,t){const n=(0,r.pl)(this.state.data,e,this.options);return this.dispatch({data:n,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt,manual:null==t?void 0:t.manual}),n}setState(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})}cancel(e){var t;const n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(r.lQ).catch(r.lQ):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.initialState)}isActive(){return this.observers.some((e=>!1!==e.options.enabled))}isDisabled(){return this.getObserversCount()>0&&!this.isActive()}isStale(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some((e=>e.getCurrentResult().isStale))}isStaleByTime(e=0){return this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,r.j3)(this.state.dataUpdatedAt,e)}onFocus(){var e;const t=this.observers.find((e=>e.shouldFetchOnWindowFocus()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}onOnline(){var e;const t=this.observers.find((e=>e.shouldFetchOnReconnect()));t&&t.refetch({cancelRefetch:!1}),null==(e=this.retryer)||e.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.retryer&&(this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.scheduleGc()),this.cache.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.dispatch({type:"invalidate"})}fetch(e,t){var n,o;if("idle"!==this.state.fetchStatus)if(this.state.dataUpdatedAt&&null!=t&&t.cancelRefetch)this.cancel({silent:!0});else if(this.promise){var a;return null==(a=this.retryer)||a.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const s=(0,r.jY)(),l={queryKey:this.queryKey,pageParam:void 0,meta:this.meta},c=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>{if(s)return this.abortSignalConsumed=!0,s.signal}})};c(l);const u={fetchOptions:t,options:this.options,queryKey:this.queryKey,state:this.state,fetchFn:()=>this.options.queryFn?(this.abortSignalConsumed=!1,this.options.queryFn(l)):Promise.reject("Missing queryFn for queryKey '"+this.options.queryHash+"'")};var d;c(u),null==(n=this.options.behavior)||n.onFetch(u),this.revertState=this.state,("idle"===this.state.fetchStatus||this.state.fetchMeta!==(null==(o=u.fetchOptions)?void 0:o.meta))&&this.dispatch({type:"fetch",meta:null==(d=u.fetchOptions)?void 0:d.meta});const p=e=>{var t,n,r,o;(0,i.wm)(e)&&e.silent||this.dispatch({type:"error",error:e}),(0,i.wm)(e)||(null==(t=(n=this.cache.config).onError)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,this.state.data,e,this)),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1};return this.retryer=(0,i.II)({fn:u.fetchFn,abort:null==s?void 0:s.abort.bind(s),onSuccess:e=>{var t,n,r,o;void 0!==e?(this.setData(e),null==(t=(n=this.cache.config).onSuccess)||t.call(n,e,this),null==(r=(o=this.cache.config).onSettled)||r.call(o,e,this.state.error,this),this.isFetchingOptimistic||this.scheduleGc(),this.isFetchingOptimistic=!1):p(new Error(this.queryHash+" data is undefined"))},onError:p,onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:u.options.retry,retryDelay:u.options.retryDelay,networkMode:u.options.networkMode}),this.promise=this.retryer.promise,this.promise}dispatch(e){this.state=(t=>{var n,r;switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null!=(n=e.meta)?n:null,fetchStatus:(0,i.v_)(this.options.networkMode)?"fetching":"paused",...!t.dataUpdatedAt&&{error:null,status:"loading"}};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:null!=(r=e.dataUpdatedAt)?r:Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const o=e.error;return(0,i.wm)(o)&&o.revert&&this.revertState?{...this.revertState,fetchStatus:"idle"}:{...t,error:o,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:o,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),a.j.batch((()=>{this.observers.forEach((t=>{t.onQueryUpdate(e)})),this.cache.notify({query:this,type:"updated",action:e})}))}}},2657:(e,t,n)=>{"use strict";n.d(t,{q:()=>s});var r=n(8448),o=n(36801),a=n(12295),i=n(94323);class s extends i.Q{constructor(e){super(),this.config=e||{},this.mutations=[],this.mutationId=0}build(e,t,n){const r=new o.s({mutationCache:this,logger:e.getLogger(),mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0});return this.add(r),r}add(e){this.mutations.push(e),this.notify({type:"added",mutation:e})}remove(e){this.mutations=this.mutations.filter((t=>t!==e)),this.notify({type:"removed",mutation:e})}clear(){r.j.batch((()=>{this.mutations.forEach((e=>{this.remove(e)}))}))}getAll(){return this.mutations}find(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find((t=>(0,a.nJ)(e,t)))}findAll(e){return this.mutations.filter((t=>(0,a.nJ)(e,t)))}notify(e){r.j.batch((()=>{this.listeners.forEach((({listener:t})=>{t(e)}))}))}resumePausedMutations(){var e;return this.resuming=(null!=(e=this.resuming)?e:Promise.resolve()).then((()=>{const e=this.mutations.filter((e=>e.state.isPaused));return r.j.batch((()=>e.reduce(((e,t)=>e.then((()=>t.continue().catch(a.lQ)))),Promise.resolve())))})).then((()=>{this.resuming=void 0})),this.resuming}}},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function a(){}a.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,a,i){if(i!==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:a,resetWarningCache:o};return n.PropTypes=n,n}},3072:(e,t)=>{"use strict";var n="function"==typeof Symbol&&Symbol.for,r=n?Symbol.for("react.element"):60103,o=n?Symbol.for("react.portal"):60106,a=n?Symbol.for("react.fragment"):60107,i=n?Symbol.for("react.strict_mode"):60108,s=n?Symbol.for("react.profiler"):60114,l=n?Symbol.for("react.provider"):60109,c=n?Symbol.for("react.context"):60110,u=n?Symbol.for("react.async_mode"):60111,d=n?Symbol.for("react.concurrent_mode"):60111,p=n?Symbol.for("react.forward_ref"):60112,f=n?Symbol.for("react.suspense"):60113,m=n?Symbol.for("react.suspense_list"):60120,h=n?Symbol.for("react.memo"):60115,g=n?Symbol.for("react.lazy"):60116,b=n?Symbol.for("react.block"):60121,v=n?Symbol.for("react.fundamental"):60117,y=n?Symbol.for("react.responder"):60118,w=n?Symbol.for("react.scope"):60119;function E(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case r:switch(e=e.type){case u:case d:case a:case s:case i:case f:return e;default:switch(e=e&&e.$$typeof){case c:case p:case g:case h:case l:return e;default:return t}}case o:return t}}}function x(e){return E(e)===d}t.AsyncMode=u,t.ConcurrentMode=d,t.ContextConsumer=c,t.ContextProvider=l,t.Element=r,t.ForwardRef=p,t.Fragment=a,t.Lazy=g,t.Memo=h,t.Portal=o,t.Profiler=s,t.StrictMode=i,t.Suspense=f,t.isAsyncMode=function(e){return x(e)||E(e)===u},t.isConcurrentMode=x,t.isContextConsumer=function(e){return E(e)===c},t.isContextProvider=function(e){return E(e)===l},t.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===r},t.isForwardRef=function(e){return E(e)===p},t.isFragment=function(e){return E(e)===a},t.isLazy=function(e){return E(e)===g},t.isMemo=function(e){return E(e)===h},t.isPortal=function(e){return E(e)===o},t.isProfiler=function(e){return E(e)===s},t.isStrictMode=function(e){return E(e)===i},t.isSuspense=function(e){return E(e)===f},t.isValidElementType=function(e){return"string"==typeof e||"function"==typeof e||e===a||e===d||e===s||e===i||e===f||e===m||"object"==typeof e&&null!==e&&(e.$$typeof===g||e.$$typeof===h||e.$$typeof===l||e.$$typeof===c||e.$$typeof===p||e.$$typeof===v||e.$$typeof===y||e.$$typeof===w||e.$$typeof===b)},t.typeOf=E},4146:(e,t,n)=>{"use strict";var r=n(73404),o={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},a={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},s={};function l(e){return r.isMemo(e)?i:s[e.$$typeof]||o}s[r.ForwardRef]={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},s[r.Memo]=i;var c=Object.defineProperty,u=Object.getOwnPropertyNames,d=Object.getOwnPropertySymbols,p=Object.getOwnPropertyDescriptor,f=Object.getPrototypeOf,m=Object.prototype;e.exports=function e(t,n,r){if("string"!=typeof n){if(m){var o=f(n);o&&o!==m&&e(t,o,r)}var i=u(n);d&&(i=i.concat(d(n)));for(var s=l(t),h=l(n),g=0;g<i.length;++g){var b=i[g];if(!(a[b]||r&&r[b]||h&&h[b]||s&&s[b])){var v=p(n,b);try{c(t,b,v)}catch(e){}}}}return t}},4388:(e,t,n)=>{"use strict";n(51609)},5392:(e,t,n)=>{"use strict";n(82840)},5556:(e,t,n)=>{e.exports=n(2694)()},6188:e=>{"use strict";e.exports=Math.max},6549:e=>{"use strict";e.exports=Object.getOwnPropertyDescriptor},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},6995:(e,t,n)=>{"use strict";n(51609)},7176:(e,t,n)=>{"use strict";var r,o=n(73126),a=n(98176);try{r=[].__proto__===Array.prototype}catch(e){if(!e||"object"!=typeof e||!("code"in e)||"ERR_PROTO_ACCESS"!==e.code)throw e}var i=!!r&&a&&a(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;e.exports=i&&"function"==typeof i.get?o([i.get]):"function"==typeof l&&function(e){return l(null==e?e:s(e))}},7401:(e,t,n)=>{"use strict";n(51609)},8448:(e,t,n)=>{"use strict";n.d(t,{j:()=>o});var r=n(12295);const o=function(){let e=[],t=0,n=e=>{e()},o=e=>{e()};const a=o=>{t?e.push(o):(0,r.G6)((()=>{n(o)}))};return{batch:a=>{let i;t++;try{i=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&(0,r.G6)((()=>{o((()=>{t.forEach((e=>{n(e)}))}))}))})()}return i},batchCalls:e=>(...t)=>{a((()=>{e(...t)}))},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{o=e}}}()},8539:(e,t,n)=>{"use strict";n.d(t,{A:()=>l});var r=n(58168),o=n(51609),a=n(38969),i=n(52836),s=n(60405),l=(n(75795),n(27003),(0,o.forwardRef)((function(e,t){var n=(0,s.u)(e),l=(0,i.u)(n);return o.createElement(a.S,(0,r.A)({ref:t},l))})))},9417:(e,t,n)=>{"use strict";function r(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}n.d(t,{A:()=>r})},9771:e=>{"use strict";e.exports=function(){}},9957:(e,t,n)=>{"use strict";var r=Function.prototype.call,o=Object.prototype.hasOwnProperty,a=n(66743);e.exports=a.call(r,o)},10076:e=>{"use strict";e.exports=Function.prototype.call},10307:(e,t,n)=>{"use strict";n(51609)},11002:e=>{"use strict";e.exports=Function.prototype.apply},12295:(e,t,n)=>{"use strict";n.d(t,{Cp:()=>m,F$:()=>p,G6:()=>C,MK:()=>u,Od:()=>f,S$:()=>r,Zw:()=>a,b_:()=>c,f8:()=>b,gn:()=>i,j3:()=>s,jY:()=>A,lQ:()=>o,nJ:()=>d,pl:()=>S,vh:()=>l,yy:()=>x});const r="undefined"==typeof window||"Deno"in window;function o(){}function a(e,t){return"function"==typeof e?e(t):e}function i(e){return"number"==typeof e&&e>=0&&e!==1/0}function s(e,t){return Math.max(e+(t||0)-Date.now(),0)}function l(e,t,n){return E(e)?"function"==typeof t?{...n,queryKey:e,queryFn:t}:{...t,queryKey:e}:e}function c(e,t,n){return E(e)?[{...t,queryKey:e},n]:[e||{},t]}function u(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:a,queryKey:i,stale:s}=e;if(E(i))if(r){if(t.queryHash!==p(i,t.options))return!1}else if(!m(t.queryKey,i))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||void 0!==o&&o!==t.state.fetchStatus||a&&!a(t))}function d(e,t){const{exact:n,fetching:r,predicate:o,mutationKey:a}=e;if(E(a)){if(!t.options.mutationKey)return!1;if(n){if(f(t.options.mutationKey)!==f(a))return!1}else if(!m(t.options.mutationKey,a))return!1}return!("boolean"==typeof r&&"loading"===t.state.status!==r||o&&!o(t))}function p(e,t){return((null==t?void 0:t.queryKeyHashFn)||f)(e)}function f(e){return JSON.stringify(e,((e,t)=>y(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function m(e,t){return h(e,t)}function h(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!h(e[n],t[n])))}function g(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=v(e)&&v(t);if(r||y(e)&&y(t)){const o=r?e.length:Object.keys(e).length,a=r?t:Object.keys(t),i=a.length,s=r?[]:{};let l=0;for(let o=0;o<i;o++){const i=r?o:a[o];s[i]=g(e[i],t[i],n+1),s[i]===e[i]&&l++}return o===i&&l===o?e:s}return t}function b(e,t){if(e&&!t||t&&!e)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function v(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function y(e){if(!w(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!w(n)&&!!n.hasOwnProperty("isPrototypeOf")}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function E(e){return Array.isArray(e)}function x(e){return new Promise((t=>{setTimeout(t,e)}))}function C(e){x(0).then(e)}function A(){if("function"==typeof AbortController)return new AbortController}function S(e,t,n){return null!=n.isDataEqual&&n.isDataEqual(e,t)?e:"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?g(e,t):t}},13144:(e,t,n)=>{"use strict";var r=n(66743),o=n(11002),a=n(10076),i=n(47119);e.exports=i||r.call(a,o)},13224:(e,t,n)=>{"use strict";n(51609)},13761:(e,t,n)=>{"use strict";n(51609)},13998:(e,t,n)=>{"use strict";n(51609)},14126:(e,t,n)=>{"use strict";n(51609)},14468:(e,t,n)=>{"use strict";n(51609)},14548:(e,t,n)=>{"use strict";n(51609)},14803:(e,t,n)=>{"use strict";var r=n(58859),o=n(69675),a=function(e,t,n){for(var r,o=e;null!=(r=o.next);o=r)if(r.key===t)return o.next=r.next,n||(r.next=e.next,e.next=r),r};e.exports=function(){var e,t={assert:function(e){if(!t.has(e))throw new o("Side channel does not contain "+r(e))},delete:function(t){var n=e&&e.next,r=function(e,t){if(e)return a(e,t,!0)}(e,t);return r&&n&&n===r&&(e=void 0),!!r},get:function(t){return function(e,t){if(e){var n=a(e,t);return n&&n.value}}(e,t)},has:function(t){return function(e,t){return!!e&&!!a(e,t)}(e,t)},set:function(t,n){e||(e={next:void 0}),function(e,t,n){var r=a(e,t);r?r.value=n:e.next={key:t,next:e.next,value:n}}(e,t,n)}};return t}},18111:(e,t,n)=>{"use strict";n(51609),n(27723)},18537:e=>{"use strict";e.exports=window.wp.htmlEntities},19888:(e,t,n)=>{"use strict";e.exports=n(58493)},20312:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r,o=(r=n(1720))&&r.__esModule?r:{default:r};t.default=o.default,e.exports=t.default},20736:(e,t,n)=>{"use strict";n.d(t,{g:()=>a});var r=n(51609);const o=(0,r.createContext)(),a=()=>(0,r.useContext)(o)},20816:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(82284);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},20982:(e,t,n)=>{"use strict";n(51609)},21480:(e,t,n)=>{"use strict";n(51609)},22001:(e,t,n)=>{"use strict";n(51609)},23029:(e,t,n)=>{"use strict";function r(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}n.d(t,{A:()=>r})},24838:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){var e=document.getElementsByTagName("html")[0];for(var t in n)o(e,n[t]);var a=document.body;for(var i in r)o(a,r[i]);n={},r={}},t.log=function(){};var n={},r={};function o(e,t){e.classList.remove(t)}t.add=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]||(e[t]=0),e[t]+=1}(a,e),o.add(e)}));var o,a},t.remove=function(e,t){return o=e.classList,a="html"==e.nodeName.toLowerCase()?n:r,void t.split(" ").forEach((function(e){!function(e,t){e[t]&&(e[t]-=1)}(a,e),0===a[e]&&o.remove(e)}));var o,a}},27003:(e,t,n)=>{"use strict";n.d(t,{A:()=>r});var r=n(51609).useLayoutEffect},27723:e=>{"use strict";e.exports=window.wp.i18n},27791:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){a=[]},t.log=function(){},t.handleBlur=l,t.handleFocus=c,t.markForFocusLater=function(){a.push(document.activeElement)},t.returnFocus=function(){var e=arguments.length>0&&void 0!==arguments[0]&&arguments[0],t=null;try{return void(0!==a.length&&(t=a.pop()).focus({preventScroll:e}))}catch(e){console.warn(["You tried to return focus to",t,"but it is not in the DOM anymore"].join(" "))}},t.popWithoutFocus=function(){a.length>0&&a.pop()},t.setupScopedFocus=function(e){i=e,window.addEventListener?(window.addEventListener("blur",l,!1),document.addEventListener("focus",c,!0)):(window.attachEvent("onBlur",l),document.attachEvent("onFocus",c))},t.teardownScopedFocus=function(){i=null,window.addEventListener?(window.removeEventListener("blur",l),document.removeEventListener("focus",c)):(window.detachEvent("onBlur",l),document.detachEvent("onFocus",c))};var r,o=(r=n(42411))&&r.__esModule?r:{default:r},a=[],i=null,s=!1;function l(){s=!0}function c(){if(s){if(s=!1,!i)return;setTimeout((function(){i.contains(document.activeElement)||((0,o.default)(i)[0]||i).focus()}),0)}}},27800:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(43145);function o(e,t){if(e){if("string"==typeof e)return(0,r.A)(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?(0,r.A)(e,t):void 0}}},28346:(e,t,n)=>{"use strict";n(51609)},28989:(e,t)=>{"use strict";var n=60103,r=60106,o=60107,a=60108,i=60114,s=60109,l=60110,c=60112,u=60113,d=60120,p=60115,f=60116;if("function"==typeof Symbol&&Symbol.for){var m=Symbol.for;n=m("react.element"),r=m("react.portal"),o=m("react.fragment"),a=m("react.strict_mode"),i=m("react.profiler"),s=m("react.provider"),l=m("react.context"),c=m("react.forward_ref"),u=m("react.suspense"),d=m("react.suspense_list"),p=m("react.memo"),f=m("react.lazy"),m("react.block"),m("react.server.block"),m("react.fundamental"),m("react.debug_trace_mode"),m("react.legacy_hidden")}t.isContextConsumer=function(e){return function(e){if("object"==typeof e&&null!==e){var t=e.$$typeof;switch(t){case n:switch(e=e.type){case o:case i:case a:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case c:case f:case p:case s:return e;default:return t}}case r:return t}}}(e)===l}},29090:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});var r=Object.assign||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},o="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},a=function(){function e(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}return function(t,n,r){return n&&e(t.prototype,n),r&&e(t,r),t}}(),i=n(51609),s=g(n(5556)),l=h(n(27791)),c=g(n(57067)),u=h(n(76462)),d=h(n(24838)),p=n(60834),f=g(p),m=g(n(49628));function h(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t}function g(e){return e&&e.__esModule?e:{default:e}}n(77727);var b={overlay:"ReactModal__Overlay",content:"ReactModal__Content"},v=0,y=function(e){function t(e){!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);var n=function(e,t){if(!e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!t||"object"!=typeof t&&"function"!=typeof t?e:t}(this,(t.__proto__||Object.getPrototypeOf(t)).call(this,e));return n.setOverlayRef=function(e){n.overlay=e,n.props.overlayRef&&n.props.overlayRef(e)},n.setContentRef=function(e){n.content=e,n.props.contentRef&&n.props.contentRef(e)},n.afterClose=function(){var e=n.props,t=e.appElement,r=e.ariaHideApp,o=e.htmlOpenClassName,a=e.bodyOpenClassName,i=e.parentSelector,s=i&&i().ownerDocument||document;a&&d.remove(s.body,a),o&&d.remove(s.getElementsByTagName("html")[0],o),r&&v>0&&0==(v-=1)&&u.show(t),n.props.shouldFocusAfterRender&&(n.props.shouldReturnFocusAfterClose?(l.returnFocus(n.props.preventScroll),l.teardownScopedFocus()):l.popWithoutFocus()),n.props.onAfterClose&&n.props.onAfterClose(),m.default.deregister(n)},n.open=function(){n.beforeOpen(),n.state.afterOpen&&n.state.beforeClose?(clearTimeout(n.closeTimer),n.setState({beforeClose:!1})):(n.props.shouldFocusAfterRender&&(l.setupScopedFocus(n.node),l.markForFocusLater()),n.setState({isOpen:!0},(function(){n.openAnimationFrame=requestAnimationFrame((function(){n.setState({afterOpen:!0}),n.props.isOpen&&n.props.onAfterOpen&&n.props.onAfterOpen({overlayEl:n.overlay,contentEl:n.content})}))})))},n.close=function(){n.props.closeTimeoutMS>0?n.closeWithTimeout():n.closeWithoutTimeout()},n.focusContent=function(){return n.content&&!n.contentHasFocus()&&n.content.focus({preventScroll:!0})},n.closeWithTimeout=function(){var e=Date.now()+n.props.closeTimeoutMS;n.setState({beforeClose:!0,closesAt:e},(function(){n.closeTimer=setTimeout(n.closeWithoutTimeout,n.state.closesAt-Date.now())}))},n.closeWithoutTimeout=function(){n.setState({beforeClose:!1,isOpen:!1,afterOpen:!1,closesAt:null},n.afterClose)},n.handleKeyDown=function(e){(function(e){return"Tab"===e.code||9===e.keyCode})(e)&&(0,c.default)(n.content,e),n.props.shouldCloseOnEsc&&function(e){return"Escape"===e.code||27===e.keyCode}(e)&&(e.stopPropagation(),n.requestClose(e))},n.handleOverlayOnClick=function(e){null===n.shouldClose&&(n.shouldClose=!0),n.shouldClose&&n.props.shouldCloseOnOverlayClick&&(n.ownerHandlesClose()?n.requestClose(e):n.focusContent()),n.shouldClose=null},n.handleContentOnMouseUp=function(){n.shouldClose=!1},n.handleOverlayOnMouseDown=function(e){n.props.shouldCloseOnOverlayClick||e.target!=n.overlay||e.preventDefault()},n.handleContentOnClick=function(){n.shouldClose=!1},n.handleContentOnMouseDown=function(){n.shouldClose=!1},n.requestClose=function(e){return n.ownerHandlesClose()&&n.props.onRequestClose(e)},n.ownerHandlesClose=function(){return n.props.onRequestClose},n.shouldBeClosed=function(){return!n.state.isOpen&&!n.state.beforeClose},n.contentHasFocus=function(){return document.activeElement===n.content||n.content.contains(document.activeElement)},n.buildClassName=function(e,t){var r="object"===(void 0===t?"undefined":o(t))?t:{base:b[e],afterOpen:b[e]+"--after-open",beforeClose:b[e]+"--before-close"},a=r.base;return n.state.afterOpen&&(a=a+" "+r.afterOpen),n.state.beforeClose&&(a=a+" "+r.beforeClose),"string"==typeof t&&t?a+" "+t:a},n.attributesFromObject=function(e,t){return Object.keys(t).reduce((function(n,r){return n[e+"-"+r]=t[r],n}),{})},n.state={afterOpen:!1,beforeClose:!1},n.shouldClose=null,n.moveFromContentToOverlay=null,n}return function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function, not "+typeof t);e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,enumerable:!1,writable:!0,configurable:!0}}),t&&(Object.setPrototypeOf?Object.setPrototypeOf(e,t):e.__proto__=t)}(t,e),a(t,[{key:"componentDidMount",value:function(){this.props.isOpen&&this.open()}},{key:"componentDidUpdate",value:function(e,t){this.props.isOpen&&!e.isOpen?this.open():!this.props.isOpen&&e.isOpen&&this.close(),this.props.shouldFocusAfterRender&&this.state.isOpen&&!t.isOpen&&this.focusContent()}},{key:"componentWillUnmount",value:function(){this.state.isOpen&&this.afterClose(),clearTimeout(this.closeTimer),cancelAnimationFrame(this.openAnimationFrame)}},{key:"beforeOpen",value:function(){var e=this.props,t=e.appElement,n=e.ariaHideApp,r=e.htmlOpenClassName,o=e.bodyOpenClassName,a=e.parentSelector,i=a&&a().ownerDocument||document;o&&d.add(i.body,o),r&&d.add(i.getElementsByTagName("html")[0],r),n&&(v+=1,u.hide(t)),m.default.register(this)}},{key:"render",value:function(){var e=this.props,t=e.id,n=e.className,o=e.overlayClassName,a=e.defaultStyles,i=e.children,s=n?{}:a.content,l=o?{}:a.overlay;if(this.shouldBeClosed())return null;var c={ref:this.setOverlayRef,className:this.buildClassName("overlay",o),style:r({},l,this.props.style.overlay),onClick:this.handleOverlayOnClick,onMouseDown:this.handleOverlayOnMouseDown},u=r({id:t,ref:this.setContentRef,style:r({},s,this.props.style.content),className:this.buildClassName("content",n),tabIndex:"-1",onKeyDown:this.handleKeyDown,onMouseDown:this.handleContentOnMouseDown,onMouseUp:this.handleContentOnMouseUp,onClick:this.handleContentOnClick,role:this.props.role,"aria-label":this.props.contentLabel},this.attributesFromObject("aria",r({modal:!0},this.props.aria)),this.attributesFromObject("data",this.props.data||{}),{"data-testid":this.props.testId}),d=this.props.contentElement(u,i);return this.props.overlayElement(c,d)}}]),t}(i.Component);y.defaultProps={style:{overlay:{},content:{}},defaultStyles:{}},y.propTypes={isOpen:s.default.bool.isRequired,defaultStyles:s.default.shape({content:s.default.object,overlay:s.default.object}),style:s.default.shape({content:s.default.object,overlay:s.default.object}),className:s.default.oneOfType([s.default.string,s.default.object]),overlayClassName:s.default.oneOfType([s.default.string,s.default.object]),parentSelector:s.default.func,bodyOpenClassName:s.default.string,htmlOpenClassName:s.default.string,ariaHideApp:s.default.bool,appElement:s.default.oneOfType([s.default.instanceOf(f.default),s.default.instanceOf(p.SafeHTMLCollection),s.default.instanceOf(p.SafeNodeList),s.default.arrayOf(s.default.instanceOf(f.default))]),onAfterOpen:s.default.func,onAfterClose:s.default.func,onRequestClose:s.default.func,closeTimeoutMS:s.default.number,shouldFocusAfterRender:s.default.bool,shouldCloseOnOverlayClick:s.default.bool,shouldReturnFocusAfterClose:s.default.bool,preventScroll:s.default.bool,role:s.default.string,contentLabel:s.default.string,aria:s.default.object,data:s.default.object,children:s.default.node,shouldCloseOnEsc:s.default.bool,overlayRef:s.default.func,contentRef:s.default.func,id:s.default.string,overlayElement:s.default.func,contentElement:s.default.func,testId:s.default.string},t.default=y,e.exports=t.default},30041:(e,t,n)=>{"use strict";function r(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")})),r}n.d(t,{Rk:()=>r,SF:()=>o,sk:()=>a});var o=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},a=function(e,t,n){o(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var a=t;do{e.insert(t===a?"."+r:"",a,e.sheet,!0),a=a.next}while(void 0!==a)}}},30655:e=>{"use strict";var t=Object.defineProperty||!1;if(t)try{t({},"a",{value:1})}catch(e){t=!1}e.exports=t},31336:(e,t,n)=>{"use strict";n.d(t,{AH:()=>P,Y:()=>D,i7:()=>k});var r=n(51609),o=n(55655),a=n(30041),i={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function s(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var l=!1,c=/[A-Z]|^ms/g,u=/_EMO_([^_]+?)_([^]*?)_EMO_/g,d=function(e){return 45===e.charCodeAt(1)},p=function(e){return null!=e&&"boolean"!=typeof e},f=s((function(e){return d(e)?e:e.replace(c,"-$&").toLowerCase()})),m=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(u,(function(e,t,n){return b={name:t,styles:n,next:b},t}))}return 1===i[e]||d(e)||"number"!=typeof t||0===t?t:t+"px"},h="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function g(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var o=n;if(1===o.anim)return b={name:o.name,styles:o.styles,next:b},o.name;var a=n;if(void 0!==a.styles){var i=a.next;if(void 0!==i)for(;void 0!==i;)b={name:i.name,styles:i.styles,next:b},i=i.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=g(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i){var s=i;null!=t&&void 0!==t[s]?r+=a+"{"+t[s]+"}":p(s)&&(r+=f(a)+":"+m(a,s)+";")}else{if("NO_COMPONENT_SELECTOR"===a&&l)throw new Error(h);if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var c=g(e,t,i);switch(a){case"animation":case"animationName":r+=f(a)+":"+c+";";break;default:r+=a+"{"+c+"}"}}else for(var u=0;u<i.length;u++)p(i[u])&&(r+=f(a)+":"+m(a,i[u])+";")}}return r}(e,t,n);case"function":if(void 0!==e){var s=b,c=n(e);return b=s,g(e,t,c)}}var u=n;if(null==t)return u;var d=t[u];return void 0!==d?d:u}var b,v=/label:\s*([^\s;{]+)\s*(;|$)/g;function y(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";b=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=g(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=g(n,t,e[i]),r&&(o+=a[i]);v.lastIndex=0;for(var s,l="";null!==(s=v.exec(o));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+l;return{name:c,styles:o,next:b}}var w=!!r.useInsertionEffect&&r.useInsertionEffect,E=w||function(e){return e()},x=(w||r.useLayoutEffect,r.createContext("undefined"!=typeof HTMLElement?(0,o.A)({key:"css"}):null)),C=(x.Provider,function(e){return(0,r.forwardRef)((function(t,n){var o=(0,r.useContext)(x);return e(t,o,n)}))}),A=r.createContext({}),S={}.hasOwnProperty,O="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",I=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return(0,a.SF)(t,n,r),E((function(){return(0,a.sk)(t,n,r)})),null},q=C((function(e,t,n){var o=e.css;"string"==typeof o&&void 0!==t.registered[o]&&(o=t.registered[o]);var i=e[O],s=[o],l="";"string"==typeof e.className?l=(0,a.Rk)(t.registered,s,e.className):null!=e.className&&(l=e.className+" ");var c=y(s,void 0,r.useContext(A));l+=t.key+"-"+c.name;var u={};for(var d in e)S.call(e,d)&&"css"!==d&&d!==O&&(u[d]=e[d]);return u.className=l,n&&(u.ref=n),r.createElement(r.Fragment,null,r.createElement(I,{cache:t,serialized:c,isStringTag:"string"==typeof i}),r.createElement(i,u))})),D=(n(4146),function(e,t){var n=arguments;if(null==t||!S.call(t,"css"))return r.createElement.apply(void 0,n);var o=n.length,a=new Array(o);a[0]=q,a[1]=function(e,t){var n={};for(var r in t)S.call(t,r)&&(n[r]=t[r]);return n[O]=e,n}(e,t);for(var i=2;i<o;i++)a[i]=n[i];return r.createElement.apply(null,a)});function P(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return y(t)}var k=function(){var e=P.apply(void 0,arguments),t="animation-"+e.name;return{name:t,styles:"@keyframes "+t+"{"+e.styles+"}",anim:1,toString:function(){return"_EMO_"+this.name+"_"+this.styles+"_EMO_"}}}},34814:(e,t,n)=>{"use strict";n.d(t,{Bp:()=>c,Dc:()=>f,md:()=>h,IE:()=>l,t6:()=>g,S:()=>i,Ws:()=>d,sh:()=>p,uF:()=>y,ol:()=>w,i4:()=>v,mG:()=>u,qK:()=>b,su:()=>E,pk:()=>s,g1:()=>m});var r=n(1455),o=n.n(r);n(51609);const a="betterdocs_faq_category",i=({question:e,keywords:t=""})=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/v1/ai-faq",method:"POST",data:{question:e,keywords:t,nonce:betterdocs_admin.nonce}})),s=(e,t=a)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:`betterdocs/faq/category_search/?title=${e}&taxonomy=${t}`,method:"GET"})),l=(e,t,n=a)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/faq/delete_category",method:"POST",data:{term_id:e,with_all_post:t,taxonomy:n,nonce:betterdocs_admin.nonce}})),c=(e,t)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/faq/category_status",method:"POST",data:{term_id:e,status:t,nonce:betterdocs_admin.nonce}})),u=e=>{o().use(o().createNonceMiddleware(betterdocs_admin.nonce));const t=JSON.stringify(e);return o()({path:"betterdocs/faq/category_order",method:"POST",data:{faq_category_order:t,nonce:betterdocs_admin.nonce}})},d=async({queryKey:e})=>{const[t,n,r=a]=e;return o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:`wp/v2/betterdocs_faq?${r}=${n}&status=publish,draft&posts_per_page=-1`,method:"GET"})},p=async({queryKey:e})=>{const[t,n=a]=e;return o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:`betterdocs/faq/uncategorised?status=publish,draft&taxonomy=${n}`,method:"GET"})},f=(e,t=a)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/faq/create_post",method:"POST",data:{post_title:e?.post_title,post_content:e?.post_content,term_id:e?.term_id?e?.term_id:null,taxonomy:t,nonce:betterdocs_admin.nonce}})),m=(e,t=a)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/faq/update_post",method:"POST",data:{post_id:e?.post_id,post_title:e?.post_title,post_content:e?.post_content,term_id:e?.term_id,taxonomy:t,nonce:betterdocs_admin.nonce}})),h=e=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/faq/delete_post",method:"POST",data:{post_id:e,nonce:betterdocs_admin.nonce}})),g=(e,t)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:`wp/v2/betterdocs_faq/${e}`,method:"POST",data:{status:t,nonce:betterdocs_admin.nonce}})),b=(e,t)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:`betterdocs/faq/update_order_by_category?term_id=${e}&posts=${t}`,method:"POST",data:{nonce:betterdocs_admin.nonce}})),v=(e,t)=>(o().use(o().createNonceMiddleware(betterdocs_admin.nonce)),o()({path:"betterdocs/v1/faq-accordion-toggle",method:"POST",body:JSON.stringify({faq_id:e,nonce:betterdocs_admin.nonce,toggle:t})})),y=async()=>{try{o().use(o().createNonceMiddleware(betterdocs_admin.nonce));const e=await o()({path:"betterdocs/v1/settings"});if(!e||e.error)throw new Error("Failed to fetch settings data");return e}catch(e){throw console.error("Error fetching settings data:",e),e}},w=(e=16)=>{const t=document.getElementById("wpadminbar"),n=document.querySelector(".betterdocs-dashboard-header-top");return(t?.offsetHeight||32)+(n?.offsetHeight||0)+e},E=e=>{null!=e&&requestAnimationFrame((()=>{setTimeout((()=>{const t=document.querySelector(`[data-bd-expand-id="${e}"]`);if(!t)return;const n=t.getBoundingClientRect(),r=(e=>{let t=e.parentElement;for(;t&&t!==document.body&&t!==document.documentElement;){const e=getComputedStyle(t).overflowY;if(("auto"===e||"scroll"===e)&&t.scrollHeight>t.clientHeight)return t;t=t.parentElement}return null})(t);if(r){const e=r.getBoundingClientRect();if(n.top>=e.top&&n.bottom<=e.bottom)return;return void r.scrollTo({top:r.scrollTop+(n.top-e.top)-12,behavior:"smooth"})}const o=w();n.top>=o&&n.bottom<=window.innerHeight||window.scrollTo({top:window.scrollY+n.top-o,behavior:"smooth"})}),340)}))}},35345:e=>{"use strict";e.exports=URIError},36390:(e,t,n)=>{"use strict";n(51609)},36556:(e,t,n)=>{"use strict";var r=n(70453),o=n(73126),a=o([r("%String.prototype.indexOf%")]);e.exports=function(e,t){var n=r(e,!!t);return"function"==typeof n&&a(e,".prototype.")>-1?o([n]):n}},36801:(e,t,n)=>{"use strict";n.d(t,{s:()=>s});var r=n(52904),o=n(8448),a=n(91931),i=n(94255);class s extends a.k{constructor(e){super(),this.defaultOptions=e.defaultOptions,this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.logger=e.logger||r.U,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options={...this.defaultOptions,...e},this.updateCacheTime(this.options.cacheTime)}get meta(){return this.options.meta}setState(e){this.dispatch({type:"setState",state:e})}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.mutationCache.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.observers=this.observers.filter((t=>t!==e)),this.scheduleGc(),this.mutationCache.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.observers.length||("loading"===this.state.status?this.scheduleGc():this.mutationCache.remove(this))}continue(){var e,t;return null!=(e=null==(t=this.retryer)?void 0:t.continue())?e:this.execute()}async execute(){const e=()=>{var e;return this.retryer=(0,i.II)({fn:()=>this.options.mutationFn?this.options.mutationFn(this.state.variables):Promise.reject("No mutationFn found"),onFail:(e,t)=>{this.dispatch({type:"failed",failureCount:e,error:t})},onPause:()=>{this.dispatch({type:"pause"})},onContinue:()=>{this.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode}),this.retryer.promise},t="loading"===this.state.status;try{var n,r,o,a,s,l,c,u;if(!t){var d,p,f,m;this.dispatch({type:"loading",variables:this.options.variables}),await(null==(d=(p=this.mutationCache.config).onMutate)?void 0:d.call(p,this.state.variables,this));const e=await(null==(f=(m=this.options).onMutate)?void 0:f.call(m,this.state.variables));e!==this.state.context&&this.dispatch({type:"loading",context:e,variables:this.state.variables})}const i=await e();return await(null==(n=(r=this.mutationCache.config).onSuccess)?void 0:n.call(r,i,this.state.variables,this.state.context,this)),await(null==(o=(a=this.options).onSuccess)?void 0:o.call(a,i,this.state.variables,this.state.context)),await(null==(s=(l=this.mutationCache.config).onSettled)?void 0:s.call(l,i,null,this.state.variables,this.state.context,this)),await(null==(c=(u=this.options).onSettled)?void 0:c.call(u,i,null,this.state.variables,this.state.context)),this.dispatch({type:"success",data:i}),i}catch(e){try{var h,g,b,v,y,w,E,x;throw await(null==(h=(g=this.mutationCache.config).onError)?void 0:h.call(g,e,this.state.variables,this.state.context,this)),await(null==(b=(v=this.options).onError)?void 0:b.call(v,e,this.state.variables,this.state.context)),await(null==(y=(w=this.mutationCache.config).onSettled)?void 0:y.call(w,void 0,e,this.state.variables,this.state.context,this)),await(null==(E=(x=this.options).onSettled)?void 0:E.call(x,void 0,e,this.state.variables,this.state.context)),e}finally{this.dispatch({type:"error",error:e})}}}dispatch(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"loading":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:!(0,i.v_)(this.options.networkMode),status:"loading",variables:e.variables};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"};case"setState":return{...t,...e.state}}})(this.state),o.j.batch((()=>{this.observers.forEach((t=>{t.onMutationUpdate(e)})),this.mutationCache.notify({mutation:this,type:"updated",action:e})}))}}},37720:(e,t,n)=>{"use strict";var r=n(74765),o=n(920),a=Object.prototype.hasOwnProperty,i=Array.isArray,s=o(),l=function(e,t){return s.set(e,t),e},c=function(e){return s.has(e)},u=function(e){return s.get(e)},d=function(e,t){s.set(e,t)},p=function(){for(var e=[],t=0;t<256;++t)e[e.length]="%"+((t<16?"0":"")+t.toString(16)).toUpperCase();return e}(),f=function(e,t){for(var n=t&&t.plainObjects?{__proto__:null}:{},r=0;r<e.length;++r)void 0!==e[r]&&(n[r]=e[r]);return n},m=1024;e.exports={arrayToObject:f,assign:function(e,t){return Object.keys(t).reduce((function(e,n){return e[n]=t[n],e}),e)},combine:function(e,t,n,r){if(c(e)){var o=u(e)+1;return e[o]=t,d(e,o),e}var a=[].concat(e,t);return a.length>n?l(f(a,{plainObjects:r}),a.length-1):a},compact:function(e){for(var t=[{obj:{o:e},prop:"o"}],n=[],r=0;r<t.length;++r)for(var o=t[r],a=o.obj[o.prop],s=Object.keys(a),l=0;l<s.length;++l){var c=s[l],u=a[c];"object"==typeof u&&null!==u&&-1===n.indexOf(u)&&(t[t.length]={obj:a,prop:c},n[n.length]=u)}return function(e){for(;e.length>1;){var t=e.pop(),n=t.obj[t.prop];if(i(n)){for(var r=[],o=0;o<n.length;++o)void 0!==n[o]&&(r[r.length]=n[o]);t.obj[t.prop]=r}}}(t),e},decode:function(e,t,n){var r=e.replace(/\+/g," ");if("iso-8859-1"===n)return r.replace(/%[0-9a-f]{2}/gi,unescape);try{return decodeURIComponent(r)}catch(e){return r}},encode:function(e,t,n,o,a){if(0===e.length)return e;var i=e;if("symbol"==typeof e?i=Symbol.prototype.toString.call(e):"string"!=typeof e&&(i=String(e)),"iso-8859-1"===n)return escape(i).replace(/%u[0-9a-f]{4}/gi,(function(e){return"%26%23"+parseInt(e.slice(2),16)+"%3B"}));for(var s="",l=0;l<i.length;l+=m){for(var c=i.length>=m?i.slice(l,l+m):i,u=[],d=0;d<c.length;++d){var f=c.charCodeAt(d);45===f||46===f||95===f||126===f||f>=48&&f<=57||f>=65&&f<=90||f>=97&&f<=122||a===r.RFC1738&&(40===f||41===f)?u[u.length]=c.charAt(d):f<128?u[u.length]=p[f]:f<2048?u[u.length]=p[192|f>>6]+p[128|63&f]:f<55296||f>=57344?u[u.length]=p[224|f>>12]+p[128|f>>6&63]+p[128|63&f]:(d+=1,f=65536+((1023&f)<<10|1023&c.charCodeAt(d)),u[u.length]=p[240|f>>18]+p[128|f>>12&63]+p[128|f>>6&63]+p[128|63&f])}s+=u.join("")}return s},isBuffer:function(e){return!(!e||"object"!=typeof e||!(e.constructor&&e.constructor.isBuffer&&e.constructor.isBuffer(e)))},isOverflow:c,isRegExp:function(e){return"[object RegExp]"===Object.prototype.toString.call(e)},markOverflow:l,maybeMap:function(e,t){if(i(e)){for(var n=[],r=0;r<e.length;r+=1)n[n.length]=t(e[r]);return n}return t(e)},merge:function e(t,n,r){if(!n)return t;if("object"!=typeof n&&"function"!=typeof n){if(i(t)){var o=t.length;if(r&&"number"==typeof r.arrayLimit&&o>r.arrayLimit)return l(f(t.concat(n),r),o);t[o]=n}else{if(!t||"object"!=typeof t)return[t,n];if(c(t)){var s=u(t)+1;t[s]=n,d(t,s)}else{if(r&&r.strictMerge)return[t,n];(r&&(r.plainObjects||r.allowPrototypes)||!a.call(Object.prototype,n))&&(t[n]=!0)}}return t}if(!t||"object"!=typeof t){if(c(n)){for(var p=Object.keys(n),m=r&&r.plainObjects?{__proto__:null,0:t}:{0:t},h=0;h<p.length;h++)m[parseInt(p[h],10)+1]=n[p[h]];return l(m,u(n)+1)}var g=[t].concat(n);return r&&"number"==typeof r.arrayLimit&&g.length>r.arrayLimit?l(f(g,r),g.length-1):g}var b=t;return i(t)&&!i(n)&&(b=f(t,r)),i(t)&&i(n)?(n.forEach((function(n,o){if(a.call(t,o)){var i=t[o];i&&"object"==typeof i&&n&&"object"==typeof n?t[o]=e(i,n,r):t[t.length]=n}else t[o]=n})),t):Object.keys(n).reduce((function(t,o){var i=n[o];if(a.call(t,o)?t[o]=e(t[o],i,r):t[o]=i,c(n)&&!c(t)&&l(t,u(n)),c(t)){var s=parseInt(o,10);String(s)===o&&s>=0&&s>u(t)&&d(t,s)}return t}),b)}}},38969:(e,t,n)=>{"use strict";n.d(t,{S:()=>pe});var r=n(58168),o=n(89379),a=n(23029),i=n(92901),s=n(85501),l=n(52962),c=n(43145),u=n(27800);function d(e){return function(e){if(Array.isArray(e))return(0,c.A)(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||(0,u.A)(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}var p=n(51609),f=n(63538),m=n(31336),h=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function g(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((r=e[n])===(o=t[n])||h(r)&&h(o)))return!1;var r,o;return!0}for(var b=n(80045),v={name:"7pg0cj-a11yText",styles:"label:a11yText;z-index:9999;border:0;clip:rect(1px, 1px, 1px, 1px);height:1px;width:1px;position:absolute;overflow:hidden;padding:0;white-space:nowrap"},y=function(e){return(0,m.Y)("span",(0,r.A)({css:v},e))},w={guidance:function(e){var t=e.isSearchable,n=e.isMulti,r=e.tabSelectsValue,o=e.context,a=e.isInitialFocus;switch(o){case"menu":return"Use Up and Down to choose options, press Enter to select the currently focused option, press Escape to exit the menu".concat(r?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(e["aria-label"]||"Select"," is focused ").concat(t?",type to refine list":"",", press Down to open the menu, ").concat(n?" press left to focus selected values":""):"";case"value":return"Use left and right to toggle between focused values, press Backspace to remove the currently focused value";default:return""}},onChange:function(e){var t=e.action,n=e.label,r=void 0===n?"":n,o=e.labels,a=e.isDisabled;switch(t){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(r,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(o.length>1?"s":""," ").concat(o.join(","),", selected.");case"select-option":return"option ".concat(r,a?" is disabled. Select another option.":", selected.");default:return""}},onFocus:function(e){var t=e.context,n=e.focused,r=e.options,o=e.label,a=void 0===o?"":o,i=e.selectValue,s=e.isDisabled,l=e.isSelected,c=e.isAppleDevice,u=function(e,t){return e&&e.length?"".concat(e.indexOf(t)+1," of ").concat(e.length):""};if("value"===t&&i)return"value ".concat(a," focused, ").concat(u(i,n),".");if("menu"===t&&c){var d=s?" disabled":"",p="".concat(l?" selected":"").concat(d);return"".concat(a).concat(p,", ").concat(u(r,n),".")}return""},onFilter:function(e){var t=e.inputValue,n=e.resultsMessage;return"".concat(n).concat(t?" for search term "+t:"",".")}},E=function(e){var t=e.ariaSelection,n=e.focusedOption,r=e.focusedValue,a=e.focusableOptions,i=e.isFocused,s=e.selectValue,l=e.selectProps,c=e.id,u=e.isAppleDevice,d=l.ariaLiveMessages,f=l.getOptionLabel,h=l.inputValue,g=l.isMulti,b=l.isOptionDisabled,v=l.isSearchable,E=l.menuIsOpen,x=l.options,C=l.screenReaderStatus,A=l.tabSelectsValue,S=l.isLoading,O=l["aria-label"],I=l["aria-live"],q=(0,p.useMemo)((function(){return(0,o.A)((0,o.A)({},w),d||{})}),[d]),D=(0,p.useMemo)((function(){var e,n="";if(t&&q.onChange){var r=t.option,a=t.options,i=t.removedValue,l=t.removedValues,c=t.value,u=i||r||(e=c,Array.isArray(e)?null:e),d=u?f(u):"",p=a||l||void 0,m=p?p.map(f):[],h=(0,o.A)({isDisabled:u&&b(u,s),label:d,labels:m},t);n=q.onChange(h)}return n}),[t,q,b,s,f]),P=(0,p.useMemo)((function(){var e="",t=n||r,o=!!(n&&s&&s.includes(n));if(t&&q.onFocus){var i={focused:t,label:f(t),isDisabled:b(t,s),isSelected:o,options:a,context:t===n?"menu":"value",selectValue:s,isAppleDevice:u};e=q.onFocus(i)}return e}),[n,r,f,b,q,a,s,u]),k=(0,p.useMemo)((function(){var e="";if(E&&x.length&&!S&&q.onFilter){var t=C({count:a.length});e=q.onFilter({inputValue:h,resultsMessage:t})}return e}),[a,h,E,q,x,C,S]),_="initial-input-focus"===(null==t?void 0:t.action),R=(0,p.useMemo)((function(){var e="";if(q.guidance){var t=r?"value":E?"menu":"input";e=q.guidance({"aria-label":O,context:t,isDisabled:n&&b(n,s),isMulti:g,isSearchable:v,tabSelectsValue:A,isInitialFocus:_})}return e}),[O,n,r,g,b,v,E,q,s,A,_]),F=(0,m.Y)(p.Fragment,null,(0,m.Y)("span",{id:"aria-selection"},D),(0,m.Y)("span",{id:"aria-focused"},P),(0,m.Y)("span",{id:"aria-results"},k),(0,m.Y)("span",{id:"aria-guidance"},R));return(0,m.Y)(p.Fragment,null,(0,m.Y)(y,{id:c},_&&F),(0,m.Y)(y,{"aria-live":I,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},i&&!_&&F))},x=[{base:"A",letters:"AⒶAÀÁÂẦẤẪẨÃĀĂẰẮẴẲȦǠÄǞẢÅǺǍȀȂẠẬẶḀĄȺⱯ"},{base:"AA",letters:"Ꜳ"},{base:"AE",letters:"ÆǼǢ"},{base:"AO",letters:"Ꜵ"},{base:"AU",letters:"Ꜷ"},{base:"AV",letters:"ꜸꜺ"},{base:"AY",letters:"Ꜽ"},{base:"B",letters:"BⒷBḂḄḆɃƂƁ"},{base:"C",letters:"CⒸCĆĈĊČÇḈƇȻꜾ"},{base:"D",letters:"DⒹDḊĎḌḐḒḎĐƋƊƉꝹ"},{base:"DZ",letters:"DZDŽ"},{base:"Dz",letters:"DzDž"},{base:"E",letters:"EⒺEÈÉÊỀẾỄỂẼĒḔḖĔĖËẺĚȄȆẸỆȨḜĘḘḚƐƎ"},{base:"F",letters:"FⒻFḞƑꝻ"},{base:"G",letters:"GⒼGǴĜḠĞĠǦĢǤƓꞠꝽꝾ"},{base:"H",letters:"HⒽHĤḢḦȞḤḨḪĦⱧⱵꞍ"},{base:"I",letters:"IⒾIÌÍÎĨĪĬİÏḮỈǏȈȊỊĮḬƗ"},{base:"J",letters:"JⒿJĴɈ"},{base:"K",letters:"KⓀKḰǨḲĶḴƘⱩꝀꝂꝄꞢ"},{base:"L",letters:"LⓁLĿĹĽḶḸĻḼḺŁȽⱢⱠꝈꝆꞀ"},{base:"LJ",letters:"LJ"},{base:"Lj",letters:"Lj"},{base:"M",letters:"MⓂMḾṀṂⱮƜ"},{base:"N",letters:"NⓃNǸŃÑṄŇṆŅṊṈȠƝꞐꞤ"},{base:"NJ",letters:"NJ"},{base:"Nj",letters:"Nj"},{base:"O",letters:"OⓄOÒÓÔỒỐỖỔÕṌȬṎŌṐṒŎȮȰÖȪỎŐǑȌȎƠỜỚỠỞỢỌỘǪǬØǾƆƟꝊꝌ"},{base:"OI",letters:"Ƣ"},{base:"OO",letters:"Ꝏ"},{base:"OU",letters:"Ȣ"},{base:"P",letters:"PⓅPṔṖƤⱣꝐꝒꝔ"},{base:"Q",letters:"QⓆQꝖꝘɊ"},{base:"R",letters:"RⓇRŔṘŘȐȒṚṜŖṞɌⱤꝚꞦꞂ"},{base:"S",letters:"SⓈSẞŚṤŜṠŠṦṢṨȘŞⱾꞨꞄ"},{base:"T",letters:"TⓉTṪŤṬȚŢṰṮŦƬƮȾꞆ"},{base:"TZ",letters:"Ꜩ"},{base:"U",letters:"UⓊUÙÚÛŨṸŪṺŬÜǛǗǕǙỦŮŰǓȔȖƯỪỨỮỬỰỤṲŲṶṴɄ"},{base:"V",letters:"VⓋVṼṾƲꝞɅ"},{base:"VY",letters:"Ꝡ"},{base:"W",letters:"WⓌWẀẂŴẆẄẈⱲ"},{base:"X",letters:"XⓍXẊẌ"},{base:"Y",letters:"YⓎYỲÝŶỸȲẎŸỶỴƳɎỾ"},{base:"Z",letters:"ZⓏZŹẐŻŽẒẔƵȤⱿⱫꝢ"},{base:"a",letters:"aⓐaẚàáâầấẫẩãāăằắẵẳȧǡäǟảåǻǎȁȃạậặḁąⱥɐ"},{base:"aa",letters:"ꜳ"},{base:"ae",letters:"æǽǣ"},{base:"ao",letters:"ꜵ"},{base:"au",letters:"ꜷ"},{base:"av",letters:"ꜹꜻ"},{base:"ay",letters:"ꜽ"},{base:"b",letters:"bⓑbḃḅḇƀƃɓ"},{base:"c",letters:"cⓒcćĉċčçḉƈȼꜿↄ"},{base:"d",letters:"dⓓdḋďḍḑḓḏđƌɖɗꝺ"},{base:"dz",letters:"dzdž"},{base:"e",letters:"eⓔeèéêềếễểẽēḕḗĕėëẻěȅȇẹệȩḝęḙḛɇɛǝ"},{base:"f",letters:"fⓕfḟƒꝼ"},{base:"g",letters:"gⓖgǵĝḡğġǧģǥɠꞡᵹꝿ"},{base:"h",letters:"hⓗhĥḣḧȟḥḩḫẖħⱨⱶɥ"},{base:"hv",letters:"ƕ"},{base:"i",letters:"iⓘiìíîĩīĭïḯỉǐȉȋịįḭɨı"},{base:"j",letters:"jⓙjĵǰɉ"},{base:"k",letters:"kⓚkḱǩḳķḵƙⱪꝁꝃꝅꞣ"},{base:"l",letters:"lⓛlŀĺľḷḹļḽḻſłƚɫⱡꝉꞁꝇ"},{base:"lj",letters:"lj"},{base:"m",letters:"mⓜmḿṁṃɱɯ"},{base:"n",letters:"nⓝnǹńñṅňṇņṋṉƞɲʼnꞑꞥ"},{base:"nj",letters:"nj"},{base:"o",letters:"oⓞoòóôồốỗổõṍȭṏōṑṓŏȯȱöȫỏőǒȍȏơờớỡởợọộǫǭøǿɔꝋꝍɵ"},{base:"oi",letters:"ƣ"},{base:"ou",letters:"ȣ"},{base:"oo",letters:"ꝏ"},{base:"p",letters:"pⓟpṕṗƥᵽꝑꝓꝕ"},{base:"q",letters:"qⓠqɋꝗꝙ"},{base:"r",letters:"rⓡrŕṙřȑȓṛṝŗṟɍɽꝛꞧꞃ"},{base:"s",letters:"sⓢsßśṥŝṡšṧṣṩșşȿꞩꞅẛ"},{base:"t",letters:"tⓣtṫẗťṭțţṱṯŧƭʈⱦꞇ"},{base:"tz",letters:"ꜩ"},{base:"u",letters:"uⓤuùúûũṹūṻŭüǜǘǖǚủůűǔȕȗưừứữửựụṳųṷṵʉ"},{base:"v",letters:"vⓥvṽṿʋꝟʌ"},{base:"vy",letters:"ꝡ"},{base:"w",letters:"wⓦwẁẃŵẇẅẘẉⱳ"},{base:"x",letters:"xⓧxẋẍ"},{base:"y",letters:"yⓨyỳýŷỹȳẏÿỷẙỵƴɏỿ"},{base:"z",letters:"zⓩzźẑżžẓẕƶȥɀⱬꝣ"}],C=new RegExp("["+x.map((function(e){return e.letters})).join("")+"]","g"),A={},S=0;S<x.length;S++)for(var O=x[S],I=0;I<O.letters.length;I++)A[O.letters[I]]=O.base;var q=function(e){return e.replace(C,(function(e){return A[e]}))},D=function(e,t){void 0===t&&(t=g);var n=null;function r(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];if(n&&n.lastThis===this&&t(r,n.lastArgs))return n.lastResult;var a=e.apply(this,r);return n={lastResult:a,lastArgs:r,lastThis:this},a}return r.clear=function(){n=null},r}(q),P=function(e){return e.replace(/^\s+|\s+$/g,"")},k=function(e){return"".concat(e.label," ").concat(e.value)},_=["innerRef"];function R(e){var t=e.innerRef,n=(0,b.A)(e,_),o=(0,f.r)(n,"onExited","in","enter","exit","appear");return(0,m.Y)("input",(0,r.A)({ref:t},o,{css:(0,m.AH)({label:"dummyInput",background:0,border:0,caretColor:"transparent",fontSize:"inherit",gridArea:"1 / 1 / 2 / 3",outline:0,padding:0,width:1,color:"transparent",left:-100,opacity:0,position:"relative",transform:"scale(.01)"},"","")}))}var F=["boxSizing","height","overflow","paddingRight","position"],N={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function T(e){e.cancelable&&e.preventDefault()}function L(e){e.stopPropagation()}function M(){var e=this.scrollTop,t=this.scrollHeight,n=e+this.offsetHeight;0===e?this.scrollTop=1:n===t&&(this.scrollTop=e-1)}function B(){return"ontouchstart"in window||navigator.maxTouchPoints}var j=!("undefined"==typeof window||!window.document||!window.document.createElement),U=0,V={capture:!1,passive:!1},H=function(e){var t=e.target;return t.ownerDocument.activeElement&&t.ownerDocument.activeElement.blur()},G={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function z(e){var t=e.children,n=e.lockEnabled,r=e.captureEnabled,o=function(e){var t=e.isEnabled,n=e.onBottomArrive,r=e.onBottomLeave,o=e.onTopArrive,a=e.onTopLeave,i=(0,p.useRef)(!1),s=(0,p.useRef)(!1),l=(0,p.useRef)(0),c=(0,p.useRef)(null),u=(0,p.useCallback)((function(e,t){if(null!==c.current){var l=c.current,u=l.scrollTop,d=l.scrollHeight,p=l.clientHeight,f=c.current,m=t>0,h=d-p-u,g=!1;h>t&&i.current&&(r&&r(e),i.current=!1),m&&s.current&&(a&&a(e),s.current=!1),m&&t>h?(n&&!i.current&&n(e),f.scrollTop=d,g=!0,i.current=!0):!m&&-t>u&&(o&&!s.current&&o(e),f.scrollTop=0,g=!0,s.current=!0),g&&function(e){e.cancelable&&e.preventDefault(),e.stopPropagation()}(e)}}),[n,r,o,a]),d=(0,p.useCallback)((function(e){u(e,e.deltaY)}),[u]),m=(0,p.useCallback)((function(e){l.current=e.changedTouches[0].clientY}),[]),h=(0,p.useCallback)((function(e){var t=l.current-e.changedTouches[0].clientY;u(e,t)}),[u]),g=(0,p.useCallback)((function(e){if(e){var t=!!f.s&&{passive:!1};e.addEventListener("wheel",d,t),e.addEventListener("touchstart",m,t),e.addEventListener("touchmove",h,t)}}),[h,m,d]),b=(0,p.useCallback)((function(e){e&&(e.removeEventListener("wheel",d,!1),e.removeEventListener("touchstart",m,!1),e.removeEventListener("touchmove",h,!1))}),[h,m,d]);return(0,p.useEffect)((function(){if(t){var e=c.current;return g(e),function(){b(e)}}}),[t,g,b]),function(e){c.current=e}}({isEnabled:void 0===r||r,onBottomArrive:e.onBottomArrive,onBottomLeave:e.onBottomLeave,onTopArrive:e.onTopArrive,onTopLeave:e.onTopLeave}),a=function(e){var t=e.isEnabled,n=e.accountForScrollbars,r=void 0===n||n,o=(0,p.useRef)({}),a=(0,p.useRef)(null),i=(0,p.useCallback)((function(e){if(j){var t=document.body,n=t&&t.style;if(r&&F.forEach((function(e){var t=n&&n[e];o.current[e]=t})),r&&U<1){var a=parseInt(o.current.paddingRight,10)||0,i=document.body?document.body.clientWidth:0,s=window.innerWidth-i+a||0;Object.keys(N).forEach((function(e){var t=N[e];n&&(n[e]=t)})),n&&(n.paddingRight="".concat(s,"px"))}t&&B()&&(t.addEventListener("touchmove",T,V),e&&(e.addEventListener("touchstart",M,V),e.addEventListener("touchmove",L,V))),U+=1}}),[r]),s=(0,p.useCallback)((function(e){if(j){var t=document.body,n=t&&t.style;U=Math.max(U-1,0),r&&U<1&&F.forEach((function(e){var t=o.current[e];n&&(n[e]=t)})),t&&B()&&(t.removeEventListener("touchmove",T,V),e&&(e.removeEventListener("touchstart",M,V),e.removeEventListener("touchmove",L,V)))}}),[r]);return(0,p.useEffect)((function(){if(t){var e=a.current;return i(e),function(){s(e)}}}),[t,i,s]),function(e){a.current=e}}({isEnabled:n});return(0,m.Y)(p.Fragment,null,n&&(0,m.Y)("div",{onClick:H,css:G}),t((function(e){o(e),a(e)})))}var $={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},W=function(e){var t=e.name,n=e.onFocus;return(0,m.Y)("input",{required:!0,name:t,tabIndex:-1,"aria-hidden":"true",onFocus:n,css:$,value:"",onChange:function(){}})};function Q(e){var t;return"undefined"!=typeof window&&null!=window.navigator&&e.test((null===(t=window.navigator.userAgentData)||void 0===t?void 0:t.platform)||window.navigator.platform)}function Y(){return Q(/^Mac/i)}var K={clearIndicator:f.a,container:f.b,control:f.d,dropdownIndicator:f.e,group:f.g,groupHeading:f.f,indicatorsContainer:f.i,indicatorSeparator:f.h,input:f.j,loadingIndicator:f.l,loadingMessage:f.k,menu:f.m,menuList:f.n,menuPortal:f.o,multiValue:f.p,multiValueLabel:f.q,multiValueRemove:f.t,noOptionsMessage:f.u,option:f.v,placeholder:f.w,singleValue:f.x,valueContainer:f.y},Z={borderRadius:4,colors:{primary:"#2684FF",primary75:"#4C9AFF",primary50:"#B2D4FF",primary25:"#DEEBFF",danger:"#DE350B",dangerLight:"#FFBDAD",neutral0:"hsl(0, 0%, 100%)",neutral5:"hsl(0, 0%, 95%)",neutral10:"hsl(0, 0%, 90%)",neutral20:"hsl(0, 0%, 80%)",neutral30:"hsl(0, 0%, 70%)",neutral40:"hsl(0, 0%, 60%)",neutral50:"hsl(0, 0%, 50%)",neutral60:"hsl(0, 0%, 40%)",neutral70:"hsl(0, 0%, 30%)",neutral80:"hsl(0, 0%, 20%)",neutral90:"hsl(0, 0%, 10%)"},spacing:{baseUnit:4,controlHeight:38,menuGutter:8}},X={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:(0,f.z)(),captureMenuScroll:!(0,f.z)(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:function(e,t){if(e.data.__isNew__)return!0;var n=(0,o.A)({ignoreCase:!0,ignoreAccents:!0,stringify:k,trim:!0,matchFrom:"any"},undefined),r=n.ignoreCase,a=n.ignoreAccents,i=n.stringify,s=n.trim,l=n.matchFrom,c=s?P(t):t,u=s?P(i(e)):i(e);return r&&(c=c.toLowerCase(),u=u.toLowerCase()),a&&(c=D(c),u=q(u)),"start"===l?u.substr(0,c.length)===c:u.indexOf(c)>-1},formatGroupLabel:function(e){return e.label},getOptionLabel:function(e){return e.label},getOptionValue:function(e){return e.value},isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:function(e){return!!e.isDisabled},loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!(0,f.A)(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(e){var t=e.count;return"".concat(t," result").concat(1!==t?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function J(e,t,n,r){return{type:"option",data:t,isDisabled:se(e,t,n),isSelected:le(e,t,n),label:ae(e,t),value:ie(e,t),index:r}}function ee(e,t){return e.options.map((function(n,r){if("options"in n){var o=n.options.map((function(n,r){return J(e,n,t,r)})).filter((function(t){return re(e,t)}));return o.length>0?{type:"group",data:n,options:o,index:r}:void 0}var a=J(e,n,t,r);return re(e,a)?a:void 0})).filter(f.K)}function te(e){return e.reduce((function(e,t){return"group"===t.type?e.push.apply(e,d(t.options.map((function(e){return e.data})))):e.push(t.data),e}),[])}function ne(e,t){return e.reduce((function(e,n){return"group"===n.type?e.push.apply(e,d(n.options.map((function(e){return{data:e.data,id:"".concat(t,"-").concat(n.index,"-").concat(e.index)}})))):e.push({data:n.data,id:"".concat(t,"-").concat(n.index)}),e}),[])}function re(e,t){var n=e.inputValue,r=void 0===n?"":n,o=t.data,a=t.isSelected,i=t.label,s=t.value;return(!ue(e)||!a)&&ce(e,{label:i,value:s,data:o},r)}var oe=function(e,t){var n;return(null===(n=e.find((function(e){return e.data===t})))||void 0===n?void 0:n.id)||null},ae=function(e,t){return e.getOptionLabel(t)},ie=function(e,t){return e.getOptionValue(t)};function se(e,t,n){return"function"==typeof e.isOptionDisabled&&e.isOptionDisabled(t,n)}function le(e,t,n){if(n.indexOf(t)>-1)return!0;if("function"==typeof e.isOptionSelected)return e.isOptionSelected(t,n);var r=ie(e,t);return n.some((function(t){return ie(e,t)===r}))}function ce(e,t,n){return!e.filterOption||e.filterOption(t,n)}var ue=function(e){var t=e.hideSelectedOptions,n=e.isMulti;return void 0===t?n:t},de=1,pe=function(e){(0,s.A)(n,e);var t=(0,l.A)(n);function n(e){var r;if((0,a.A)(this,n),(r=t.call(this,e)).state={ariaSelection:null,focusedOption:null,focusedOptionId:null,focusableOptionsWithIds:[],focusedValue:null,inputIsHidden:!1,isFocused:!1,selectValue:[],clearFocusValueOnUpdate:!1,prevWasFocused:!1,inputIsHiddenAfterUpdate:void 0,prevProps:void 0,instancePrefix:"",isAppleDevice:!1},r.blockOptionHover=!1,r.isComposing=!1,r.commonProps=void 0,r.initialTouchX=0,r.initialTouchY=0,r.openAfterFocus=!1,r.scrollToFocusedOptionOnUpdate=!1,r.userIsDragging=void 0,r.controlRef=null,r.getControlRef=function(e){r.controlRef=e},r.focusedOptionRef=null,r.getFocusedOptionRef=function(e){r.focusedOptionRef=e},r.menuListRef=null,r.getMenuListRef=function(e){r.menuListRef=e},r.inputRef=null,r.getInputRef=function(e){r.inputRef=e},r.focus=r.focusInput,r.blur=r.blurInput,r.onChange=function(e,t){var n=r.props,o=n.onChange,a=n.name;t.name=a,r.ariaOnChange(e,t),o(e,t)},r.setValue=function(e,t,n){var o=r.props,a=o.closeMenuOnSelect,i=o.isMulti,s=o.inputValue;r.onInputChange("",{action:"set-value",prevInputValue:s}),a&&(r.setState({inputIsHiddenAfterUpdate:!i}),r.onMenuClose()),r.setState({clearFocusValueOnUpdate:!0}),r.onChange(e,{action:t,option:n})},r.selectOption=function(e){var t=r.props,n=t.blurInputOnSelect,o=t.isMulti,a=t.name,i=r.state.selectValue,s=o&&r.isOptionSelected(e,i),l=r.isOptionDisabled(e,i);if(s){var c=r.getOptionValue(e);r.setValue((0,f.B)(i.filter((function(e){return r.getOptionValue(e)!==c}))),"deselect-option",e)}else{if(l)return void r.ariaOnChange((0,f.C)(e),{action:"select-option",option:e,name:a});o?r.setValue((0,f.B)([].concat(d(i),[e])),"select-option",e):r.setValue((0,f.C)(e),"select-option")}n&&r.blurInput()},r.removeValue=function(e){var t=r.props.isMulti,n=r.state.selectValue,o=r.getOptionValue(e),a=n.filter((function(e){return r.getOptionValue(e)!==o})),i=(0,f.D)(t,a,a[0]||null);r.onChange(i,{action:"remove-value",removedValue:e}),r.focusInput()},r.clearValue=function(){var e=r.state.selectValue;r.onChange((0,f.D)(r.props.isMulti,[],null),{action:"clear",removedValues:e})},r.popValue=function(){var e=r.props.isMulti,t=r.state.selectValue,n=t[t.length-1],o=t.slice(0,t.length-1),a=(0,f.D)(e,o,o[0]||null);n&&r.onChange(a,{action:"pop-value",removedValue:n})},r.getFocusedOptionId=function(e){return oe(r.state.focusableOptionsWithIds,e)},r.getFocusableOptionsWithIds=function(){return ne(ee(r.props,r.state.selectValue),r.getElementId("option"))},r.getValue=function(){return r.state.selectValue},r.cx=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return f.E.apply(void 0,[r.props.classNamePrefix].concat(t))},r.getOptionLabel=function(e){return ae(r.props,e)},r.getOptionValue=function(e){return ie(r.props,e)},r.getStyles=function(e,t){var n=r.props.unstyled,o=K[e](t,n);o.boxSizing="border-box";var a=r.props.styles[e];return a?a(o,t):o},r.getClassNames=function(e,t){var n,o;return null===(n=(o=r.props.classNames)[e])||void 0===n?void 0:n.call(o,t)},r.getElementId=function(e){return"".concat(r.state.instancePrefix,"-").concat(e)},r.getComponents=function(){return(0,f.F)(r.props)},r.buildCategorizedOptions=function(){return ee(r.props,r.state.selectValue)},r.getCategorizedOptions=function(){return r.props.menuIsOpen?r.buildCategorizedOptions():[]},r.buildFocusableOptions=function(){return te(r.buildCategorizedOptions())},r.getFocusableOptions=function(){return r.props.menuIsOpen?r.buildFocusableOptions():[]},r.ariaOnChange=function(e,t){r.setState({ariaSelection:(0,o.A)({value:e},t)})},r.onMenuMouseDown=function(e){0===e.button&&(e.stopPropagation(),e.preventDefault(),r.focusInput())},r.onMenuMouseMove=function(e){r.blockOptionHover=!1},r.onControlMouseDown=function(e){if(!e.defaultPrevented){var t=r.props.openMenuOnClick;r.state.isFocused?r.props.menuIsOpen?"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&r.onMenuClose():t&&r.openMenu("first"):(t&&(r.openAfterFocus=!0),r.focusInput()),"INPUT"!==e.target.tagName&&"TEXTAREA"!==e.target.tagName&&e.preventDefault()}},r.onDropdownIndicatorMouseDown=function(e){if(!(e&&"mousedown"===e.type&&0!==e.button||r.props.isDisabled)){var t=r.props,n=t.isMulti,o=t.menuIsOpen;r.focusInput(),o?(r.setState({inputIsHiddenAfterUpdate:!n}),r.onMenuClose()):r.openMenu("first"),e.preventDefault()}},r.onClearIndicatorMouseDown=function(e){e&&"mousedown"===e.type&&0!==e.button||(r.clearValue(),e.preventDefault(),r.openAfterFocus=!1,"touchend"===e.type?r.focusInput():setTimeout((function(){return r.focusInput()})))},r.onScroll=function(e){"boolean"==typeof r.props.closeMenuOnScroll?e.target instanceof HTMLElement&&(0,f.G)(e.target)&&r.props.onMenuClose():"function"==typeof r.props.closeMenuOnScroll&&r.props.closeMenuOnScroll(e)&&r.props.onMenuClose()},r.onCompositionStart=function(){r.isComposing=!0},r.onCompositionEnd=function(){r.isComposing=!1},r.onTouchStart=function(e){var t=e.touches,n=t&&t.item(0);n&&(r.initialTouchX=n.clientX,r.initialTouchY=n.clientY,r.userIsDragging=!1)},r.onTouchMove=function(e){var t=e.touches,n=t&&t.item(0);if(n){var o=Math.abs(n.clientX-r.initialTouchX),a=Math.abs(n.clientY-r.initialTouchY);r.userIsDragging=o>5||a>5}},r.onTouchEnd=function(e){r.userIsDragging||(r.controlRef&&!r.controlRef.contains(e.target)&&r.menuListRef&&!r.menuListRef.contains(e.target)&&r.blurInput(),r.initialTouchX=0,r.initialTouchY=0)},r.onControlTouchEnd=function(e){r.userIsDragging||r.onControlMouseDown(e)},r.onClearIndicatorTouchEnd=function(e){r.userIsDragging||r.onClearIndicatorMouseDown(e)},r.onDropdownIndicatorTouchEnd=function(e){r.userIsDragging||r.onDropdownIndicatorMouseDown(e)},r.handleInputChange=function(e){var t=r.props.inputValue,n=e.currentTarget.value;r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange(n,{action:"input-change",prevInputValue:t}),r.props.menuIsOpen||r.onMenuOpen()},r.onInputFocus=function(e){r.props.onFocus&&r.props.onFocus(e),r.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(r.openAfterFocus||r.props.openMenuOnFocus)&&r.openMenu("first"),r.openAfterFocus=!1},r.onInputBlur=function(e){var t=r.props.inputValue;r.menuListRef&&r.menuListRef.contains(document.activeElement)?r.inputRef.focus():(r.props.onBlur&&r.props.onBlur(e),r.onInputChange("",{action:"input-blur",prevInputValue:t}),r.onMenuClose(),r.setState({focusedValue:null,isFocused:!1}))},r.onOptionHover=function(e){if(!r.blockOptionHover&&r.state.focusedOption!==e){var t=r.getFocusableOptions().indexOf(e);r.setState({focusedOption:e,focusedOptionId:t>-1?r.getFocusedOptionId(e):null})}},r.shouldHideSelectedOptions=function(){return ue(r.props)},r.onValueInputFocus=function(e){e.preventDefault(),e.stopPropagation(),r.focus()},r.onKeyDown=function(e){var t=r.props,n=t.isMulti,o=t.backspaceRemovesValue,a=t.escapeClearsValue,i=t.inputValue,s=t.isClearable,l=t.isDisabled,c=t.menuIsOpen,u=t.onKeyDown,d=t.tabSelectsValue,p=t.openMenuOnFocus,f=r.state,m=f.focusedOption,h=f.focusedValue,g=f.selectValue;if(!(l||"function"==typeof u&&(u(e),e.defaultPrevented))){switch(r.blockOptionHover=!0,e.key){case"ArrowLeft":if(!n||i)return;r.focusValue("previous");break;case"ArrowRight":if(!n||i)return;r.focusValue("next");break;case"Delete":case"Backspace":if(i)return;if(h)r.removeValue(h);else{if(!o)return;n?r.popValue():s&&r.clearValue()}break;case"Tab":if(r.isComposing)return;if(e.shiftKey||!c||!d||!m||p&&r.isOptionSelected(m,g))return;r.selectOption(m);break;case"Enter":if(229===e.keyCode)break;if(c){if(!m)return;if(r.isComposing)return;r.selectOption(m);break}return;case"Escape":c?(r.setState({inputIsHiddenAfterUpdate:!1}),r.onInputChange("",{action:"menu-close",prevInputValue:i}),r.onMenuClose()):s&&a&&r.clearValue();break;case" ":if(i)return;if(!c){r.openMenu("first");break}if(!m)return;r.selectOption(m);break;case"ArrowUp":c?r.focusOption("up"):r.openMenu("last");break;case"ArrowDown":c?r.focusOption("down"):r.openMenu("first");break;case"PageUp":if(!c)return;r.focusOption("pageup");break;case"PageDown":if(!c)return;r.focusOption("pagedown");break;case"Home":if(!c)return;r.focusOption("first");break;case"End":if(!c)return;r.focusOption("last");break;default:return}e.preventDefault()}},r.state.instancePrefix="react-select-"+(r.props.instanceId||++de),r.state.selectValue=(0,f.H)(e.value),e.menuIsOpen&&r.state.selectValue.length){var i=r.getFocusableOptionsWithIds(),s=r.buildFocusableOptions(),l=s.indexOf(r.state.selectValue[0]);r.state.focusableOptionsWithIds=i,r.state.focusedOption=s[l],r.state.focusedOptionId=oe(i,s[l])}return r}return(0,i.A)(n,[{key:"componentDidMount",value:function(){this.startListeningComposition(),this.startListeningToTouch(),this.props.closeMenuOnScroll&&document&&document.addEventListener&&document.addEventListener("scroll",this.onScroll,!0),this.props.autoFocus&&this.focusInput(),this.props.menuIsOpen&&this.state.focusedOption&&this.menuListRef&&this.focusedOptionRef&&(0,f.I)(this.menuListRef,this.focusedOptionRef),(Y()||Q(/^iPhone/i)||Q(/^iPad/i)||Y()&&navigator.maxTouchPoints>1)&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isDisabled,r=t.menuIsOpen,o=this.state.isFocused;(o&&!n&&e.isDisabled||o&&r&&!e.menuIsOpen)&&this.focusInput(),o&&n&&!e.isDisabled?this.setState({isFocused:!1},this.onMenuClose):o||n||!e.isDisabled||this.inputRef!==document.activeElement||this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&((0,f.I)(this.menuListRef,this.focusedOptionRef),this.scrollToFocusedOptionOnUpdate=!1)}},{key:"componentWillUnmount",value:function(){this.stopListeningComposition(),this.stopListeningToTouch(),document.removeEventListener("scroll",this.onScroll,!0)}},{key:"onMenuOpen",value:function(){this.props.onMenuOpen()}},{key:"onMenuClose",value:function(){this.onInputChange("",{action:"menu-close",prevInputValue:this.props.inputValue}),this.props.onMenuClose()}},{key:"onInputChange",value:function(e,t){this.props.onInputChange(e,t)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(e){var t=this,n=this.state,r=n.selectValue,o=n.isFocused,a=this.buildFocusableOptions(),i="first"===e?0:a.length-1;if(!this.props.isMulti){var s=a.indexOf(r[0]);s>-1&&(i=s)}this.scrollToFocusedOptionOnUpdate=!(o&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:a[i],focusedOptionId:this.getFocusedOptionId(a[i])},(function(){return t.onMenuOpen()}))}},{key:"focusValue",value:function(e){var t=this.state,n=t.selectValue,r=t.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var o=n.indexOf(r);r||(o=-1);var a=n.length-1,i=-1;if(n.length){switch(e){case"previous":i=0===o?0:-1===o?a:o-1;break;case"next":o>-1&&o<a&&(i=o+1)}this.setState({inputIsHidden:-1!==i,focusedValue:n[i]})}}}},{key:"focusOption",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"first",t=this.props.pageSize,n=this.state.focusedOption,r=this.getFocusableOptions();if(r.length){var o=0,a=r.indexOf(n);n||(a=-1),"up"===e?o=a>0?a-1:r.length-1:"down"===e?o=(a+1)%r.length:"pageup"===e?(o=a-t)<0&&(o=0):"pagedown"===e?(o=a+t)>r.length-1&&(o=r.length-1):"last"===e&&(o=r.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:r[o],focusedValue:null,focusedOptionId:this.getFocusedOptionId(r[o])})}}},{key:"getTheme",value:function(){return this.props.theme?"function"==typeof this.props.theme?this.props.theme(Z):(0,o.A)((0,o.A)({},Z),this.props.theme):Z}},{key:"getCommonProps",value:function(){var e=this.clearValue,t=this.cx,n=this.getStyles,r=this.getClassNames,o=this.getValue,a=this.selectOption,i=this.setValue,s=this.props,l=s.isMulti,c=s.isRtl,u=s.options;return{clearValue:e,cx:t,getStyles:n,getClassNames:r,getValue:o,hasValue:this.hasValue(),isMulti:l,isRtl:c,options:u,selectOption:a,selectProps:s,setValue:i,theme:this.getTheme()}}},{key:"hasValue",value:function(){return this.state.selectValue.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var e=this.props,t=e.isClearable,n=e.isMulti;return void 0===t?n:t}},{key:"isOptionDisabled",value:function(e,t){return se(this.props,e,t)}},{key:"isOptionSelected",value:function(e,t){return le(this.props,e,t)}},{key:"filterOption",value:function(e,t){return ce(this.props,e,t)}},{key:"formatOptionLabel",value:function(e,t){if("function"==typeof this.props.formatOptionLabel){var n=this.props.inputValue,r=this.state.selectValue;return this.props.formatOptionLabel(e,{context:t,inputValue:n,selectValue:r})}return this.getOptionLabel(e)}},{key:"formatGroupLabel",value:function(e){return this.props.formatGroupLabel(e)}},{key:"startListeningComposition",value:function(){document&&document.addEventListener&&(document.addEventListener("compositionstart",this.onCompositionStart,!1),document.addEventListener("compositionend",this.onCompositionEnd,!1))}},{key:"stopListeningComposition",value:function(){document&&document.removeEventListener&&(document.removeEventListener("compositionstart",this.onCompositionStart),document.removeEventListener("compositionend",this.onCompositionEnd))}},{key:"startListeningToTouch",value:function(){document&&document.addEventListener&&(document.addEventListener("touchstart",this.onTouchStart,!1),document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1))}},{key:"stopListeningToTouch",value:function(){document&&document.removeEventListener&&(document.removeEventListener("touchstart",this.onTouchStart),document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd))}},{key:"renderInput",value:function(){var e=this.props,t=e.isDisabled,n=e.isSearchable,a=e.inputId,i=e.inputValue,s=e.tabIndex,l=e.form,c=e.menuIsOpen,u=e.required,d=this.getComponents().Input,m=this.state,h=m.inputIsHidden,g=m.ariaSelection,b=this.commonProps,v=a||this.getElementId("input"),y=(0,o.A)((0,o.A)((0,o.A)({"aria-autocomplete":"list","aria-expanded":c,"aria-haspopup":!0,"aria-errormessage":this.props["aria-errormessage"],"aria-invalid":this.props["aria-invalid"],"aria-label":this.props["aria-label"],"aria-labelledby":this.props["aria-labelledby"],"aria-required":u,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},c&&{"aria-controls":this.getElementId("listbox")}),!n&&{"aria-readonly":!0}),this.hasValue()?"initial-input-focus"===(null==g?void 0:g.action)&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return n?p.createElement(d,(0,r.A)({},b,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:v,innerRef:this.getInputRef,isDisabled:t,isHidden:h,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:s,form:l,type:"text",value:i},y)):p.createElement(R,(0,r.A)({id:v,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:f.J,onFocus:this.onInputFocus,disabled:t,tabIndex:s,inputMode:"none",form:l,value:""},y))}},{key:"renderPlaceholderOrValue",value:function(){var e=this,t=this.getComponents(),n=t.MultiValue,o=t.MultiValueContainer,a=t.MultiValueLabel,i=t.MultiValueRemove,s=t.SingleValue,l=t.Placeholder,c=this.commonProps,u=this.props,d=u.controlShouldRenderValue,f=u.isDisabled,m=u.isMulti,h=u.inputValue,g=u.placeholder,b=this.state,v=b.selectValue,y=b.focusedValue,w=b.isFocused;if(!this.hasValue()||!d)return h?null:p.createElement(l,(0,r.A)({},c,{key:"placeholder",isDisabled:f,isFocused:w,innerProps:{id:this.getElementId("placeholder")}}),g);if(m)return v.map((function(t,s){var l=t===y,u="".concat(e.getOptionLabel(t),"-").concat(e.getOptionValue(t));return p.createElement(n,(0,r.A)({},c,{components:{Container:o,Label:a,Remove:i},isFocused:l,isDisabled:f,key:u,index:s,removeProps:{onClick:function(){return e.removeValue(t)},onTouchEnd:function(){return e.removeValue(t)},onMouseDown:function(e){e.preventDefault()}},data:t}),e.formatOptionLabel(t,"value"))}));if(h)return null;var E=v[0];return p.createElement(s,(0,r.A)({},c,{data:E,isDisabled:f}),this.formatOptionLabel(E,"value"))}},{key:"renderClearIndicator",value:function(){var e=this.getComponents().ClearIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;if(!this.isClearable()||!e||o||!this.hasValue()||a)return null;var s={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,(0,r.A)({},t,{innerProps:s,isFocused:i}))}},{key:"renderLoadingIndicator",value:function(){var e=this.getComponents().LoadingIndicator,t=this.commonProps,n=this.props,o=n.isDisabled,a=n.isLoading,i=this.state.isFocused;return e&&a?p.createElement(e,(0,r.A)({},t,{innerProps:{"aria-hidden":"true"},isDisabled:o,isFocused:i})):null}},{key:"renderIndicatorSeparator",value:function(){var e=this.getComponents(),t=e.DropdownIndicator,n=e.IndicatorSeparator;if(!t||!n)return null;var o=this.commonProps,a=this.props.isDisabled,i=this.state.isFocused;return p.createElement(n,(0,r.A)({},o,{isDisabled:a,isFocused:i}))}},{key:"renderDropdownIndicator",value:function(){var e=this.getComponents().DropdownIndicator;if(!e)return null;var t=this.commonProps,n=this.props.isDisabled,o=this.state.isFocused,a={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return p.createElement(e,(0,r.A)({},t,{innerProps:a,isDisabled:n,isFocused:o}))}},{key:"renderMenu",value:function(){var e=this,t=this.getComponents(),n=t.Group,o=t.GroupHeading,a=t.Menu,i=t.MenuList,s=t.MenuPortal,l=t.LoadingMessage,c=t.NoOptionsMessage,u=t.Option,d=this.commonProps,m=this.state.focusedOption,h=this.props,g=h.captureMenuScroll,b=h.inputValue,v=h.isLoading,y=h.loadingMessage,w=h.minMenuHeight,E=h.maxMenuHeight,x=h.menuIsOpen,C=h.menuPlacement,A=h.menuPosition,S=h.menuPortalTarget,O=h.menuShouldBlockScroll,I=h.menuShouldScrollIntoView,q=h.noOptionsMessage,D=h.onMenuScrollToTop,P=h.onMenuScrollToBottom;if(!x)return null;var k,_=function(t,n){var o=t.type,a=t.data,i=t.isDisabled,s=t.isSelected,l=t.label,c=t.value,f=m===a,h=i?void 0:function(){return e.onOptionHover(a)},g=i?void 0:function(){return e.selectOption(a)},b="".concat(e.getElementId("option"),"-").concat(n),v={id:b,onClick:g,onMouseMove:h,onMouseOver:h,tabIndex:-1,role:"option","aria-selected":e.state.isAppleDevice?void 0:s};return p.createElement(u,(0,r.A)({},d,{innerProps:v,data:a,isDisabled:i,isSelected:s,key:b,label:l,type:o,value:c,isFocused:f,innerRef:f?e.getFocusedOptionRef:void 0}),e.formatOptionLabel(t.data,"menu"))};if(this.hasOptions())k=this.getCategorizedOptions().map((function(t){if("group"===t.type){var a=t.data,i=t.options,s=t.index,l="".concat(e.getElementId("group"),"-").concat(s),c="".concat(l,"-heading");return p.createElement(n,(0,r.A)({},d,{key:l,data:a,options:i,Heading:o,headingProps:{id:c,data:t.data},label:e.formatGroupLabel(t.data)}),t.options.map((function(e){return _(e,"".concat(s,"-").concat(e.index))})))}if("option"===t.type)return _(t,"".concat(t.index))}));else if(v){var R=y({inputValue:b});if(null===R)return null;k=p.createElement(l,d,R)}else{var F=q({inputValue:b});if(null===F)return null;k=p.createElement(c,d,F)}var N={minMenuHeight:w,maxMenuHeight:E,menuPlacement:C,menuPosition:A,menuShouldScrollIntoView:I},T=p.createElement(f.M,(0,r.A)({},d,N),(function(t){var n=t.ref,o=t.placerProps,s=o.placement,l=o.maxHeight;return p.createElement(a,(0,r.A)({},d,N,{innerRef:n,innerProps:{onMouseDown:e.onMenuMouseDown,onMouseMove:e.onMenuMouseMove},isLoading:v,placement:s}),p.createElement(z,{captureEnabled:g,onTopArrive:D,onBottomArrive:P,lockEnabled:O},(function(t){return p.createElement(i,(0,r.A)({},d,{innerRef:function(n){e.getMenuListRef(n),t(n)},innerProps:{role:"listbox","aria-multiselectable":d.isMulti,id:e.getElementId("listbox")},isLoading:v,maxHeight:l,focusedOption:m}),k)})))}));return S||"fixed"===A?p.createElement(s,(0,r.A)({},d,{appendTo:S,controlElement:this.controlRef,menuPlacement:C,menuPosition:A}),T):T}},{key:"renderFormField",value:function(){var e=this,t=this.props,n=t.delimiter,r=t.isDisabled,o=t.isMulti,a=t.name,i=t.required,s=this.state.selectValue;if(i&&!this.hasValue()&&!r)return p.createElement(W,{name:a,onFocus:this.onValueInputFocus});if(a&&!r){if(o){if(n){var l=s.map((function(t){return e.getOptionValue(t)})).join(n);return p.createElement("input",{name:a,type:"hidden",value:l})}var c=s.length>0?s.map((function(t,n){return p.createElement("input",{key:"i-".concat(n),name:a,type:"hidden",value:e.getOptionValue(t)})})):p.createElement("input",{name:a,type:"hidden",value:""});return p.createElement("div",null,c)}var u=s[0]?this.getOptionValue(s[0]):"";return p.createElement("input",{name:a,type:"hidden",value:u})}}},{key:"renderLiveRegion",value:function(){var e=this.commonProps,t=this.state,n=t.ariaSelection,o=t.focusedOption,a=t.focusedValue,i=t.isFocused,s=t.selectValue,l=this.getFocusableOptions();return p.createElement(E,(0,r.A)({},e,{id:this.getElementId("live-region"),ariaSelection:n,focusedOption:o,focusedValue:a,isFocused:i,selectValue:s,focusableOptions:l,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var e=this.getComponents(),t=e.Control,n=e.IndicatorsContainer,o=e.SelectContainer,a=e.ValueContainer,i=this.props,s=i.className,l=i.id,c=i.isDisabled,u=i.menuIsOpen,d=this.state.isFocused,f=this.commonProps=this.getCommonProps();return p.createElement(o,(0,r.A)({},f,{className:s,innerProps:{id:l,onKeyDown:this.onKeyDown},isDisabled:c,isFocused:d}),this.renderLiveRegion(),p.createElement(t,(0,r.A)({},f,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:c,isFocused:d,menuIsOpen:u}),p.createElement(a,(0,r.A)({},f,{isDisabled:c}),this.renderPlaceholderOrValue(),this.renderInput()),p.createElement(n,(0,r.A)({},f,{isDisabled:c}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(e,t){var n=t.prevProps,r=t.clearFocusValueOnUpdate,a=t.inputIsHiddenAfterUpdate,i=t.ariaSelection,s=t.isFocused,l=t.prevWasFocused,c=t.instancePrefix,u=e.options,d=e.value,p=e.menuIsOpen,m=e.inputValue,h=e.isMulti,g=(0,f.H)(d),b={};if(n&&(d!==n.value||u!==n.options||p!==n.menuIsOpen||m!==n.inputValue)){var v=p?function(e,t){return te(ee(e,t))}(e,g):[],y=p?ne(ee(e,g),"".concat(c,"-option")):[],w=r?function(e,t){var n=e.focusedValue,r=e.selectValue.indexOf(n);if(r>-1){if(t.indexOf(n)>-1)return n;if(r<t.length)return t[r]}return null}(t,g):null,E=function(e,t){var n=e.focusedOption;return n&&t.indexOf(n)>-1?n:t[0]}(t,v);b={selectValue:g,focusedOption:E,focusedOptionId:oe(y,E),focusableOptionsWithIds:y,focusedValue:w,clearFocusValueOnUpdate:!1}}var x=null!=a&&e!==n?{inputIsHidden:a,inputIsHiddenAfterUpdate:void 0}:{},C=i,A=s&&l;return s&&!A&&(C={value:(0,f.D)(h,g,g[0]||null),options:g,action:"initial-input-focus"},A=!l),"initial-input-focus"===(null==i?void 0:i.action)&&(C=null),(0,o.A)((0,o.A)((0,o.A)({},b),x),{},{prevProps:e,ariaSelection:C,prevWasFocused:A})}}]),n}(p.Component);pe.defaultProps=X},39176:(e,t,n)=>{"use strict";n.d(t,{I:()=>I});var r=n(12295),o=n(8448),a=n(62517),i=n(94323),s=n(94255);class l extends i.Q{constructor(e,t){super(),this.client=e,this.options=t,this.trackedProps=new Set,this.selectError=null,this.bindMethods(),this.setOptions(t)}bindMethods(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.currentQuery.addObserver(this),c(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return u(this.currentQuery,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return u(this.currentQuery,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.clearStaleTimeout(),this.clearRefetchInterval(),this.currentQuery.removeObserver(this)}setOptions(e,t){const n=this.options,o=this.currentQuery;if(this.options=this.client.defaultQueryOptions(e),(0,r.f8)(n,this.options)||this.client.getQueryCache().notify({type:"observerOptionsUpdated",query:this.currentQuery,observer:this}),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();const a=this.hasListeners();a&&d(this.currentQuery,o,this.options,n)&&this.executeFetch(),this.updateResult(t),!a||this.currentQuery===o&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();const i=this.computeRefetchInterval();!a||this.currentQuery===o&&this.options.enabled===n.enabled&&i===this.currentRefetchInterval||this.updateRefetchInterval(i)}getOptimisticResult(e){const t=this.client.getQueryCache().build(this.client,e),n=this.createResult(t,e);return function(e,t,n){return!n.keepPreviousData&&(void 0!==n.placeholderData?t.isPlaceholderData:!(0,r.f8)(e.getCurrentResult(),t))}(this,n,e)&&(this.currentResult=n,this.currentResultOptions=this.options,this.currentResultState=this.currentQuery.state),n}getCurrentResult(){return this.currentResult}trackResult(e){const t={};return Object.keys(e).forEach((n=>{Object.defineProperty(t,n,{configurable:!1,enumerable:!0,get:()=>(this.trackedProps.add(n),e[n])})})),t}getCurrentQuery(){return this.currentQuery}remove(){this.client.getQueryCache().remove(this.currentQuery)}refetch({refetchPage:e,...t}={}){return this.fetch({...t,meta:{refetchPage:e}})}fetchOptimistic(e){const t=this.client.defaultQueryOptions(e),n=this.client.getQueryCache().build(this.client,t);return n.isFetchingOptimistic=!0,n.fetch().then((()=>this.createResult(n,t)))}fetch(e){var t;return this.executeFetch({...e,cancelRefetch:null==(t=e.cancelRefetch)||t}).then((()=>(this.updateResult(),this.currentResult)))}executeFetch(e){this.updateQuery();let t=this.currentQuery.fetch(this.options,e);return null!=e&&e.throwOnError||(t=t.catch(r.lQ)),t}updateStaleTimeout(){if(this.clearStaleTimeout(),r.S$||this.currentResult.isStale||!(0,r.gn)(this.options.staleTime))return;const e=(0,r.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout((()=>{this.currentResult.isStale||this.updateResult()}),e)}computeRefetchInterval(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e}updateRefetchInterval(e){this.clearRefetchInterval(),this.currentRefetchInterval=e,!r.S$&&!1!==this.options.enabled&&(0,r.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval((()=>{(this.options.refetchIntervalInBackground||a.m.isFocused())&&this.executeFetch()}),this.currentRefetchInterval))}updateTimers(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())}clearStaleTimeout(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)}clearRefetchInterval(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)}createResult(e,t){const n=this.currentQuery,o=this.options,a=this.currentResult,i=this.currentResultState,l=this.currentResultOptions,u=e!==n,f=u?e.state:this.currentQueryInitialState,m=u?this.currentResult:this.previousQueryResult,{state:h}=e;let g,{dataUpdatedAt:b,error:v,errorUpdatedAt:y,fetchStatus:w,status:E}=h,x=!1,C=!1;if(t._optimisticResults){const r=this.hasListeners(),a=!r&&c(e,t),i=r&&d(e,n,t,o);(a||i)&&(w=(0,s.v_)(e.options.networkMode)?"fetching":"paused",b||(E="loading")),"isRestoring"===t._optimisticResults&&(w="idle")}if(t.keepPreviousData&&!h.dataUpdatedAt&&null!=m&&m.isSuccess&&"error"!==E)g=m.data,b=m.dataUpdatedAt,E=m.status,x=!0;else if(t.select&&void 0!==h.data)if(a&&h.data===(null==i?void 0:i.data)&&t.select===this.selectFn)g=this.selectResult;else try{this.selectFn=t.select,g=t.select(h.data),g=(0,r.pl)(null==a?void 0:a.data,g,t),this.selectResult=g,this.selectError=null}catch(e){this.selectError=e}else g=h.data;if(void 0!==t.placeholderData&&void 0===g&&"loading"===E){let e;if(null!=a&&a.isPlaceholderData&&t.placeholderData===(null==l?void 0:l.placeholderData))e=a.data;else if(e="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.selectError=null}catch(e){this.selectError=e}void 0!==e&&(E="success",g=(0,r.pl)(null==a?void 0:a.data,e,t),C=!0)}this.selectError&&(v=this.selectError,g=this.selectResult,y=Date.now(),E="error");const A="fetching"===w,S="loading"===E,O="error"===E;return{status:E,fetchStatus:w,isLoading:S,isSuccess:"success"===E,isError:O,isInitialLoading:S&&A,data:g,dataUpdatedAt:b,error:v,errorUpdatedAt:y,failureCount:h.fetchFailureCount,failureReason:h.fetchFailureReason,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>f.dataUpdateCount||h.errorUpdateCount>f.errorUpdateCount,isFetching:A,isRefetching:A&&!S,isLoadingError:O&&0===h.dataUpdatedAt,isPaused:"paused"===w,isPlaceholderData:C,isPreviousData:x,isRefetchError:O&&0!==h.dataUpdatedAt,isStale:p(e,t),refetch:this.refetch,remove:this.remove}}updateResult(e){const t=this.currentResult,n=this.createResult(this.currentQuery,this.options);if(this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,(0,r.f8)(n,t))return;this.currentResult=n;const o={cache:!0};!1!==(null==e?void 0:e.listeners)&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.trackedProps.size)return!0;const r=new Set(null!=n?n:this.trackedProps);return this.options.useErrorBoundary&&r.add("error"),Object.keys(this.currentResult).some((e=>{const n=e;return this.currentResult[n]!==t[n]&&r.has(n)}))})()&&(o.listeners=!0),this.notify({...o,...e})}updateQuery(){const e=this.client.getQueryCache().build(this.client,this.options);if(e===this.currentQuery)return;const t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}onQueryUpdate(e){const t={};"success"===e.type?t.onSuccess=!e.manual:"error"!==e.type||(0,s.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()}notify(e){o.j.batch((()=>{var t,n,r,o;if(e.onSuccess)null==(t=(n=this.options).onSuccess)||t.call(n,this.currentResult.data),null==(r=(o=this.options).onSettled)||r.call(o,this.currentResult.data,null);else if(e.onError){var a,i,s,l;null==(a=(i=this.options).onError)||a.call(i,this.currentResult.error),null==(s=(l=this.options).onSettled)||s.call(l,void 0,this.currentResult.error)}e.listeners&&this.listeners.forEach((({listener:e})=>{e(this.currentResult)})),e.cache&&this.client.getQueryCache().notify({query:this.currentQuery,type:"observerResultsUpdated"})}))}}function c(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&u(e,t,t.refetchOnMount)}function u(e,t,n){if(!1!==t.enabled){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&p(e,t)}return!1}function d(e,t,n,r){return!1!==n.enabled&&(e!==t||!1===r.enabled)&&(!n.suspense||"error"!==e.state.status)&&p(e,n)}function p(e,t){return e.isStaleByTime(t.staleTime)}var f=n(51609),m=n(56266);const h=f.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),g=()=>f.useContext(h);var b=n(63064);const v=f.createContext(!1),y=()=>f.useContext(v);v.Provider;var w=n(42657);const E=(e,t)=>{(e.suspense||e.useErrorBoundary)&&(t.isReset()||(e.retryOnMount=!1))},x=e=>{f.useEffect((()=>{e.clearReset()}),[e])},C=({result:e,errorResetBoundary:t,useErrorBoundary:n,query:r})=>e.isError&&!t.isReset()&&!e.isFetching&&(0,w.G)(n,[e.error,r]),A=e=>{e.suspense&&("number"!=typeof e.staleTime&&(e.staleTime=1e3),"number"==typeof e.cacheTime&&(e.cacheTime=Math.max(e.cacheTime,1e3)))},S=(e,t,n)=>(null==e?void 0:e.suspense)&&((e,t)=>e.isLoading&&e.isFetching&&!t)(t,n),O=(e,t,n)=>t.fetchOptimistic(e).then((({data:t})=>{null==e.onSuccess||e.onSuccess(t),null==e.onSettled||e.onSettled(t,null)})).catch((t=>{n.clearReset(),null==e.onError||e.onError(t),null==e.onSettled||e.onSettled(void 0,t)}));function I(e,t,n){return function(e,t){const n=(0,b.jE)({context:e.context}),r=y(),a=g(),i=n.defaultQueryOptions(e);i._optimisticResults=r?"isRestoring":"optimistic",i.onError&&(i.onError=o.j.batchCalls(i.onError)),i.onSuccess&&(i.onSuccess=o.j.batchCalls(i.onSuccess)),i.onSettled&&(i.onSettled=o.j.batchCalls(i.onSettled)),A(i),E(i,a),x(a);const[s]=f.useState((()=>new t(n,i))),l=s.getOptimisticResult(i);if((0,m.r)(f.useCallback((e=>{const t=r?()=>{}:s.subscribe(o.j.batchCalls(e));return s.updateResult(),t}),[s,r]),(()=>s.getCurrentResult()),(()=>s.getCurrentResult())),f.useEffect((()=>{s.setOptions(i,{listeners:!1})}),[i,s]),S(i,l,r))throw O(i,s,a);if(C({result:l,errorResetBoundary:a,useErrorBoundary:i.useErrorBoundary,query:s.getCurrentQuery()}))throw l.error;return i.notifyOnChangeProps?l:s.trackResult(l)}((0,r.vh)(e,t,n),l)}},41237:e=>{"use strict";e.exports=EvalError},41333:e=>{"use strict";e.exports=function(){if("function"!=typeof Symbol||"function"!=typeof Object.getOwnPropertySymbols)return!1;if("symbol"==typeof Symbol.iterator)return!0;var e={},t=Symbol("test"),n=Object(t);if("string"==typeof t)return!1;if("[object Symbol]"!==Object.prototype.toString.call(t))return!1;if("[object Symbol]"!==Object.prototype.toString.call(n))return!1;for(var r in e[t]=42,e)return!1;if("function"==typeof Object.keys&&0!==Object.keys(e).length)return!1;if("function"==typeof Object.getOwnPropertyNames&&0!==Object.getOwnPropertyNames(e).length)return!1;var o=Object.getOwnPropertySymbols(e);if(1!==o.length||o[0]!==t)return!1;if(!Object.prototype.propertyIsEnumerable.call(e,t))return!1;if("function"==typeof Object.getOwnPropertyDescriptor){var a=Object.getOwnPropertyDescriptor(e,t);if(42!==a.value||!0!==a.enumerable)return!1}return!0}},41811:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=Number.isNaN||function(e){return"number"==typeof e&&e!=e};function o(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(!((o=e[n])===(a=t[n])||r(o)&&r(a)))return!1;var o,a;return!0}const a=function(e,t){var n;void 0===t&&(t=o);var r,a=[],i=!1;return function(){for(var o=[],s=0;s<arguments.length;s++)o[s]=arguments[s];return i&&n===this&&t(o,a)||(r=e.apply(this,o),i=!0,n=this,a=o),r}}},42411:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t){return[].slice.call(t.querySelectorAll("*"),0).reduce((function(t,n){return t.concat(n.shadowRoot?e(n.shadowRoot):[n])}),[]).filter(i)};var n="none",r="contents",o=/^(input|select|textarea|button|object|iframe)$/;function a(e){var t=e.offsetWidth<=0&&e.offsetHeight<=0;if(t&&!e.innerHTML)return!0;try{var o=window.getComputedStyle(e),a=o.getPropertyValue("display");return t?a!==r&&function(e,t){return"visible"!==t.getPropertyValue("overflow")||e.scrollWidth<=0&&e.scrollHeight<=0}(e,o):a===n}catch(e){return console.warn("Failed to inspect element style"),!1}}function i(e){var t=e.getAttribute("tabindex");null===t&&(t=void 0);var n=isNaN(t);return(n||t>=0)&&function(e,t){var n=e.nodeName.toLowerCase();return(o.test(n)&&!e.disabled||"a"===n&&e.href||t)&&function(e){for(var t=e,n=e.getRootNode&&e.getRootNode();t&&t!==document.body;){if(n&&t===n&&(t=n.host.parentNode),a(t))return!1;t=t.parentNode}return!0}(e)}(e,!n)}e.exports=t.default},42634:()=>{},42657:(e,t,n)=>{"use strict";function r(e,t){return"function"==typeof e?e(...t):!!e}n.d(t,{G:()=>r})},43145:(e,t,n)=>{"use strict";function r(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}n.d(t,{A:()=>r})},43223:(e,t,n)=>{"use strict";n.d(t,{D4:()=>v});var r=function(){return r=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},r.apply(this,arguments)};function o(e,t){for(var n={},o={},a=e.split("~~"),i=!1,s=0;a.length>s;s++){for(var l=a[s].split("~"),c=0;c<l.length;c+=2){var u=l[c],d=l[c+1],p="&"+u+";";n[p]=d,i&&(n["&"+u]=d),o[d]=p}i=!0}return t?{entities:r(r({},n),t.entities),characters:r(r({},o),t.characters)}:{entities:n,characters:o}}var a={xml:/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html4:/∉|&(?:nbsp|iexcl|cent|pound|curren|yen|brvbar|sect|uml|copy|ordf|laquo|not|shy|reg|macr|deg|plusmn|sup2|sup3|acute|micro|para|middot|cedil|sup1|ordm|raquo|frac14|frac12|frac34|iquest|Agrave|Aacute|Acirc|Atilde|Auml|Aring|AElig|Ccedil|Egrave|Eacute|Ecirc|Euml|Igrave|Iacute|Icirc|Iuml|ETH|Ntilde|Ograve|Oacute|Ocirc|Otilde|Ouml|times|Oslash|Ugrave|Uacute|Ucirc|Uuml|Yacute|THORN|szlig|agrave|aacute|acirc|atilde|auml|aring|aelig|ccedil|egrave|eacute|ecirc|euml|igrave|iacute|icirc|iuml|eth|ntilde|ograve|oacute|ocirc|otilde|ouml|divide|oslash|ugrave|uacute|ucirc|uuml|yacute|thorn|yuml|quot|amp|lt|gt|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g,html5:/·|℗|⋇|⪧|⩺|⋗|⦕|⩼|⪆|⥸|⋗|⋛|⪌|≷|≳|⪦|⩹|⋖|⋋|⋉|⥶|⩻|⦖|◃|⊴|◂|∉|⋹̸|⋵̸|∉|⋷|⋶|∌|∌|⋾|⋽|∥|⊠|⨱|⨰|&(?:AElig|AMP|Aacute|Acirc|Agrave|Aring|Atilde|Auml|COPY|Ccedil|ETH|Eacute|Ecirc|Egrave|Euml|GT|Iacute|Icirc|Igrave|Iuml|LT|Ntilde|Oacute|Ocirc|Ograve|Oslash|Otilde|Ouml|QUOT|REG|THORN|Uacute|Ucirc|Ugrave|Uuml|Yacute|aacute|acirc|acute|aelig|agrave|amp|aring|atilde|auml|brvbar|ccedil|cedil|cent|copy|curren|deg|divide|eacute|ecirc|egrave|eth|euml|frac12|frac14|frac34|gt|iacute|icirc|iexcl|igrave|iquest|iuml|laquo|lt|macr|micro|middot|nbsp|not|ntilde|oacute|ocirc|ograve|ordf|ordm|oslash|otilde|ouml|para|plusmn|pound|quot|raquo|reg|sect|shy|sup1|sup2|sup3|szlig|thorn|times|uacute|ucirc|ugrave|uml|uuml|yacute|yen|yuml|#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);?/g},i={};i.xml=o("lt~<~gt~>~quot~\"~apos~'~amp~&"),i.html4=o("apos~'~OElig~Œ~oelig~œ~Scaron~Š~scaron~š~Yuml~Ÿ~circ~ˆ~tilde~˜~ensp~ ~emsp~ ~thinsp~ ~zwnj~~zwj~~lrm~~rlm~~ndash~–~mdash~—~lsquo~‘~rsquo~’~sbquo~‚~ldquo~“~rdquo~”~bdquo~„~dagger~†~Dagger~‡~permil~‰~lsaquo~‹~rsaquo~›~euro~€~fnof~ƒ~Alpha~Α~Beta~Β~Gamma~Γ~Delta~Δ~Epsilon~Ε~Zeta~Ζ~Eta~Η~Theta~Θ~Iota~Ι~Kappa~Κ~Lambda~Λ~Mu~Μ~Nu~Ν~Xi~Ξ~Omicron~Ο~Pi~Π~Rho~Ρ~Sigma~Σ~Tau~Τ~Upsilon~Υ~Phi~Φ~Chi~Χ~Psi~Ψ~Omega~Ω~alpha~α~beta~β~gamma~γ~delta~δ~epsilon~ε~zeta~ζ~eta~η~theta~θ~iota~ι~kappa~κ~lambda~λ~mu~μ~nu~ν~xi~ξ~omicron~ο~pi~π~rho~ρ~sigmaf~ς~sigma~σ~tau~τ~upsilon~υ~phi~φ~chi~χ~psi~ψ~omega~ω~thetasym~ϑ~upsih~ϒ~piv~ϖ~bull~•~hellip~…~prime~′~Prime~″~oline~‾~frasl~⁄~weierp~℘~image~ℑ~real~ℜ~trade~™~alefsym~ℵ~larr~←~uarr~↑~rarr~→~darr~↓~harr~↔~crarr~↵~lArr~⇐~uArr~⇑~rArr~⇒~dArr~⇓~hArr~⇔~forall~∀~part~∂~exist~∃~empty~∅~nabla~∇~isin~∈~notin~∉~ni~∋~prod~∏~sum~∑~minus~−~lowast~∗~radic~√~prop~∝~infin~∞~ang~∠~and~∧~or~∨~cap~∩~cup~∪~int~∫~there4~∴~sim~∼~cong~≅~asymp~≈~ne~≠~equiv~≡~le~≤~ge~≥~sub~⊂~sup~⊃~nsub~⊄~sube~⊆~supe~⊇~oplus~⊕~otimes~⊗~perp~⊥~sdot~⋅~lceil~⌈~rceil~⌉~lfloor~⌊~rfloor~⌋~lang~〈~rang~〉~loz~◊~spades~♠~clubs~♣~hearts~♥~diams~♦~~nbsp~ ~iexcl~¡~cent~¢~pound~£~curren~¤~yen~¥~brvbar~¦~sect~§~uml~¨~copy~©~ordf~ª~laquo~«~not~¬~shy~~reg~®~macr~¯~deg~°~plusmn~±~sup2~²~sup3~³~acute~´~micro~µ~para~¶~middot~·~cedil~¸~sup1~¹~ordm~º~raquo~»~frac14~¼~frac12~½~frac34~¾~iquest~¿~Agrave~À~Aacute~Á~Acirc~Â~Atilde~Ã~Auml~Ä~Aring~Å~AElig~Æ~Ccedil~Ç~Egrave~È~Eacute~É~Ecirc~Ê~Euml~Ë~Igrave~Ì~Iacute~Í~Icirc~Î~Iuml~Ï~ETH~Ð~Ntilde~Ñ~Ograve~Ò~Oacute~Ó~Ocirc~Ô~Otilde~Õ~Ouml~Ö~times~×~Oslash~Ø~Ugrave~Ù~Uacute~Ú~Ucirc~Û~Uuml~Ü~Yacute~Ý~THORN~Þ~szlig~ß~agrave~à~aacute~á~acirc~â~atilde~ã~auml~ä~aring~å~aelig~æ~ccedil~ç~egrave~è~eacute~é~ecirc~ê~euml~ë~igrave~ì~iacute~í~icirc~î~iuml~ï~eth~ð~ntilde~ñ~ograve~ò~oacute~ó~ocirc~ô~otilde~õ~ouml~ö~divide~÷~oslash~ø~ugrave~ù~uacute~ú~ucirc~û~uuml~ü~yacute~ý~thorn~þ~yuml~ÿ~quot~\"~amp~&~lt~<~gt~>"),i.html5=o('Abreve~Ă~Acy~А~Afr~𝔄~Amacr~Ā~And~⩓~Aogon~Ą~Aopf~𝔸~ApplyFunction~~Ascr~𝒜~Assign~≔~Backslash~∖~Barv~⫧~Barwed~⌆~Bcy~Б~Because~∵~Bernoullis~ℬ~Bfr~𝔅~Bopf~𝔹~Breve~˘~Bscr~ℬ~Bumpeq~≎~CHcy~Ч~Cacute~Ć~Cap~⋒~CapitalDifferentialD~ⅅ~Cayleys~ℭ~Ccaron~Č~Ccirc~Ĉ~Cconint~∰~Cdot~Ċ~Cedilla~¸~CenterDot~·~Cfr~ℭ~CircleDot~⊙~CircleMinus~⊖~CirclePlus~⊕~CircleTimes~⊗~ClockwiseContourIntegral~∲~CloseCurlyDoubleQuote~”~CloseCurlyQuote~’~Colon~∷~Colone~⩴~Congruent~≡~Conint~∯~ContourIntegral~∮~Copf~ℂ~Coproduct~∐~CounterClockwiseContourIntegral~∳~Cross~⨯~Cscr~𝒞~Cup~⋓~CupCap~≍~DD~ⅅ~DDotrahd~⤑~DJcy~Ђ~DScy~Ѕ~DZcy~Џ~Darr~↡~Dashv~⫤~Dcaron~Ď~Dcy~Д~Del~∇~Dfr~𝔇~DiacriticalAcute~´~DiacriticalDot~˙~DiacriticalDoubleAcute~˝~DiacriticalGrave~`~DiacriticalTilde~˜~Diamond~⋄~DifferentialD~ⅆ~Dopf~𝔻~Dot~¨~DotDot~⃜~DotEqual~≐~DoubleContourIntegral~∯~DoubleDot~¨~DoubleDownArrow~⇓~DoubleLeftArrow~⇐~DoubleLeftRightArrow~⇔~DoubleLeftTee~⫤~DoubleLongLeftArrow~⟸~DoubleLongLeftRightArrow~⟺~DoubleLongRightArrow~⟹~DoubleRightArrow~⇒~DoubleRightTee~⊨~DoubleUpArrow~⇑~DoubleUpDownArrow~⇕~DoubleVerticalBar~∥~DownArrow~↓~DownArrowBar~⤓~DownArrowUpArrow~⇵~DownBreve~̑~DownLeftRightVector~⥐~DownLeftTeeVector~⥞~DownLeftVector~↽~DownLeftVectorBar~⥖~DownRightTeeVector~⥟~DownRightVector~⇁~DownRightVectorBar~⥗~DownTee~⊤~DownTeeArrow~↧~Downarrow~⇓~Dscr~𝒟~Dstrok~Đ~ENG~Ŋ~Ecaron~Ě~Ecy~Э~Edot~Ė~Efr~𝔈~Element~∈~Emacr~Ē~EmptySmallSquare~◻~EmptyVerySmallSquare~▫~Eogon~Ę~Eopf~𝔼~Equal~⩵~EqualTilde~≂~Equilibrium~⇌~Escr~ℰ~Esim~⩳~Exists~∃~ExponentialE~ⅇ~Fcy~Ф~Ffr~𝔉~FilledSmallSquare~◼~FilledVerySmallSquare~▪~Fopf~𝔽~ForAll~∀~Fouriertrf~ℱ~Fscr~ℱ~GJcy~Ѓ~Gammad~Ϝ~Gbreve~Ğ~Gcedil~Ģ~Gcirc~Ĝ~Gcy~Г~Gdot~Ġ~Gfr~𝔊~Gg~⋙~Gopf~𝔾~GreaterEqual~≥~GreaterEqualLess~⋛~GreaterFullEqual~≧~GreaterGreater~⪢~GreaterLess~≷~GreaterSlantEqual~⩾~GreaterTilde~≳~Gscr~𝒢~Gt~≫~HARDcy~Ъ~Hacek~ˇ~Hat~^~Hcirc~Ĥ~Hfr~ℌ~HilbertSpace~ℋ~Hopf~ℍ~HorizontalLine~─~Hscr~ℋ~Hstrok~Ħ~HumpDownHump~≎~HumpEqual~≏~IEcy~Е~IJlig~IJ~IOcy~Ё~Icy~И~Idot~İ~Ifr~ℑ~Im~ℑ~Imacr~Ī~ImaginaryI~ⅈ~Implies~⇒~Int~∬~Integral~∫~Intersection~⋂~InvisibleComma~~InvisibleTimes~~Iogon~Į~Iopf~𝕀~Iscr~ℐ~Itilde~Ĩ~Iukcy~І~Jcirc~Ĵ~Jcy~Й~Jfr~𝔍~Jopf~𝕁~Jscr~𝒥~Jsercy~Ј~Jukcy~Є~KHcy~Х~KJcy~Ќ~Kcedil~Ķ~Kcy~К~Kfr~𝔎~Kopf~𝕂~Kscr~𝒦~LJcy~Љ~Lacute~Ĺ~Lang~⟪~Laplacetrf~ℒ~Larr~↞~Lcaron~Ľ~Lcedil~Ļ~Lcy~Л~LeftAngleBracket~⟨~LeftArrow~←~LeftArrowBar~⇤~LeftArrowRightArrow~⇆~LeftCeiling~⌈~LeftDoubleBracket~⟦~LeftDownTeeVector~⥡~LeftDownVector~⇃~LeftDownVectorBar~⥙~LeftFloor~⌊~LeftRightArrow~↔~LeftRightVector~⥎~LeftTee~⊣~LeftTeeArrow~↤~LeftTeeVector~⥚~LeftTriangle~⊲~LeftTriangleBar~⧏~LeftTriangleEqual~⊴~LeftUpDownVector~⥑~LeftUpTeeVector~⥠~LeftUpVector~↿~LeftUpVectorBar~⥘~LeftVector~↼~LeftVectorBar~⥒~Leftarrow~⇐~Leftrightarrow~⇔~LessEqualGreater~⋚~LessFullEqual~≦~LessGreater~≶~LessLess~⪡~LessSlantEqual~⩽~LessTilde~≲~Lfr~𝔏~Ll~⋘~Lleftarrow~⇚~Lmidot~Ŀ~LongLeftArrow~⟵~LongLeftRightArrow~⟷~LongRightArrow~⟶~Longleftarrow~⟸~Longleftrightarrow~⟺~Longrightarrow~⟹~Lopf~𝕃~LowerLeftArrow~↙~LowerRightArrow~↘~Lscr~ℒ~Lsh~↰~Lstrok~Ł~Lt~≪~Map~⤅~Mcy~М~MediumSpace~ ~Mellintrf~ℳ~Mfr~𝔐~MinusPlus~∓~Mopf~𝕄~Mscr~ℳ~NJcy~Њ~Nacute~Ń~Ncaron~Ň~Ncedil~Ņ~Ncy~Н~NegativeMediumSpace~~NegativeThickSpace~~NegativeThinSpace~~NegativeVeryThinSpace~~NestedGreaterGreater~≫~NestedLessLess~≪~NewLine~\n~Nfr~𝔑~NoBreak~~NonBreakingSpace~ ~Nopf~ℕ~Not~⫬~NotCongruent~≢~NotCupCap~≭~NotDoubleVerticalBar~∦~NotElement~∉~NotEqual~≠~NotEqualTilde~≂̸~NotExists~∄~NotGreater~≯~NotGreaterEqual~≱~NotGreaterFullEqual~≧̸~NotGreaterGreater~≫̸~NotGreaterLess~≹~NotGreaterSlantEqual~⩾̸~NotGreaterTilde~≵~NotHumpDownHump~≎̸~NotHumpEqual~≏̸~NotLeftTriangle~⋪~NotLeftTriangleBar~⧏̸~NotLeftTriangleEqual~⋬~NotLess~≮~NotLessEqual~≰~NotLessGreater~≸~NotLessLess~≪̸~NotLessSlantEqual~⩽̸~NotLessTilde~≴~NotNestedGreaterGreater~⪢̸~NotNestedLessLess~⪡̸~NotPrecedes~⊀~NotPrecedesEqual~⪯̸~NotPrecedesSlantEqual~⋠~NotReverseElement~∌~NotRightTriangle~⋫~NotRightTriangleBar~⧐̸~NotRightTriangleEqual~⋭~NotSquareSubset~⊏̸~NotSquareSubsetEqual~⋢~NotSquareSuperset~⊐̸~NotSquareSupersetEqual~⋣~NotSubset~⊂⃒~NotSubsetEqual~⊈~NotSucceeds~⊁~NotSucceedsEqual~⪰̸~NotSucceedsSlantEqual~⋡~NotSucceedsTilde~≿̸~NotSuperset~⊃⃒~NotSupersetEqual~⊉~NotTilde~≁~NotTildeEqual~≄~NotTildeFullEqual~≇~NotTildeTilde~≉~NotVerticalBar~∤~Nscr~𝒩~Ocy~О~Odblac~Ő~Ofr~𝔒~Omacr~Ō~Oopf~𝕆~OpenCurlyDoubleQuote~“~OpenCurlyQuote~‘~Or~⩔~Oscr~𝒪~Otimes~⨷~OverBar~‾~OverBrace~⏞~OverBracket~⎴~OverParenthesis~⏜~PartialD~∂~Pcy~П~Pfr~𝔓~PlusMinus~±~Poincareplane~ℌ~Popf~ℙ~Pr~⪻~Precedes~≺~PrecedesEqual~⪯~PrecedesSlantEqual~≼~PrecedesTilde~≾~Product~∏~Proportion~∷~Proportional~∝~Pscr~𝒫~Qfr~𝔔~Qopf~ℚ~Qscr~𝒬~RBarr~⤐~Racute~Ŕ~Rang~⟫~Rarr~↠~Rarrtl~⤖~Rcaron~Ř~Rcedil~Ŗ~Rcy~Р~Re~ℜ~ReverseElement~∋~ReverseEquilibrium~⇋~ReverseUpEquilibrium~⥯~Rfr~ℜ~RightAngleBracket~⟩~RightArrow~→~RightArrowBar~⇥~RightArrowLeftArrow~⇄~RightCeiling~⌉~RightDoubleBracket~⟧~RightDownTeeVector~⥝~RightDownVector~⇂~RightDownVectorBar~⥕~RightFloor~⌋~RightTee~⊢~RightTeeArrow~↦~RightTeeVector~⥛~RightTriangle~⊳~RightTriangleBar~⧐~RightTriangleEqual~⊵~RightUpDownVector~⥏~RightUpTeeVector~⥜~RightUpVector~↾~RightUpVectorBar~⥔~RightVector~⇀~RightVectorBar~⥓~Rightarrow~⇒~Ropf~ℝ~RoundImplies~⥰~Rrightarrow~⇛~Rscr~ℛ~Rsh~↱~RuleDelayed~⧴~SHCHcy~Щ~SHcy~Ш~SOFTcy~Ь~Sacute~Ś~Sc~⪼~Scedil~Ş~Scirc~Ŝ~Scy~С~Sfr~𝔖~ShortDownArrow~↓~ShortLeftArrow~←~ShortRightArrow~→~ShortUpArrow~↑~SmallCircle~∘~Sopf~𝕊~Sqrt~√~Square~□~SquareIntersection~⊓~SquareSubset~⊏~SquareSubsetEqual~⊑~SquareSuperset~⊐~SquareSupersetEqual~⊒~SquareUnion~⊔~Sscr~𝒮~Star~⋆~Sub~⋐~Subset~⋐~SubsetEqual~⊆~Succeeds~≻~SucceedsEqual~⪰~SucceedsSlantEqual~≽~SucceedsTilde~≿~SuchThat~∋~Sum~∑~Sup~⋑~Superset~⊃~SupersetEqual~⊇~Supset~⋑~TRADE~™~TSHcy~Ћ~TScy~Ц~Tab~\t~Tcaron~Ť~Tcedil~Ţ~Tcy~Т~Tfr~𝔗~Therefore~∴~ThickSpace~ ~ThinSpace~ ~Tilde~∼~TildeEqual~≃~TildeFullEqual~≅~TildeTilde~≈~Topf~𝕋~TripleDot~⃛~Tscr~𝒯~Tstrok~Ŧ~Uarr~↟~Uarrocir~⥉~Ubrcy~Ў~Ubreve~Ŭ~Ucy~У~Udblac~Ű~Ufr~𝔘~Umacr~Ū~UnderBar~_~UnderBrace~⏟~UnderBracket~⎵~UnderParenthesis~⏝~Union~⋃~UnionPlus~⊎~Uogon~Ų~Uopf~𝕌~UpArrow~↑~UpArrowBar~⤒~UpArrowDownArrow~⇅~UpDownArrow~↕~UpEquilibrium~⥮~UpTee~⊥~UpTeeArrow~↥~Uparrow~⇑~Updownarrow~⇕~UpperLeftArrow~↖~UpperRightArrow~↗~Upsi~ϒ~Uring~Ů~Uscr~𝒰~Utilde~Ũ~VDash~⊫~Vbar~⫫~Vcy~В~Vdash~⊩~Vdashl~⫦~Vee~⋁~Verbar~‖~Vert~‖~VerticalBar~∣~VerticalLine~|~VerticalSeparator~❘~VerticalTilde~≀~VeryThinSpace~ ~Vfr~𝔙~Vopf~𝕍~Vscr~𝒱~Vvdash~⊪~Wcirc~Ŵ~Wedge~⋀~Wfr~𝔚~Wopf~𝕎~Wscr~𝒲~Xfr~𝔛~Xopf~𝕏~Xscr~𝒳~YAcy~Я~YIcy~Ї~YUcy~Ю~Ycirc~Ŷ~Ycy~Ы~Yfr~𝔜~Yopf~𝕐~Yscr~𝒴~ZHcy~Ж~Zacute~Ź~Zcaron~Ž~Zcy~З~Zdot~Ż~ZeroWidthSpace~~Zfr~ℨ~Zopf~ℤ~Zscr~𝒵~abreve~ă~ac~∾~acE~∾̳~acd~∿~acy~а~af~~afr~𝔞~aleph~ℵ~amacr~ā~amalg~⨿~andand~⩕~andd~⩜~andslope~⩘~andv~⩚~ange~⦤~angle~∠~angmsd~∡~angmsdaa~⦨~angmsdab~⦩~angmsdac~⦪~angmsdad~⦫~angmsdae~⦬~angmsdaf~⦭~angmsdag~⦮~angmsdah~⦯~angrt~∟~angrtvb~⊾~angrtvbd~⦝~angsph~∢~angst~Å~angzarr~⍼~aogon~ą~aopf~𝕒~ap~≈~apE~⩰~apacir~⩯~ape~≊~apid~≋~approx~≈~approxeq~≊~ascr~𝒶~ast~*~asympeq~≍~awconint~∳~awint~⨑~bNot~⫭~backcong~≌~backepsilon~϶~backprime~‵~backsim~∽~backsimeq~⋍~barvee~⊽~barwed~⌅~barwedge~⌅~bbrk~⎵~bbrktbrk~⎶~bcong~≌~bcy~б~becaus~∵~because~∵~bemptyv~⦰~bepsi~϶~bernou~ℬ~beth~ℶ~between~≬~bfr~𝔟~bigcap~⋂~bigcirc~◯~bigcup~⋃~bigodot~⨀~bigoplus~⨁~bigotimes~⨂~bigsqcup~⨆~bigstar~★~bigtriangledown~▽~bigtriangleup~△~biguplus~⨄~bigvee~⋁~bigwedge~⋀~bkarow~⤍~blacklozenge~⧫~blacksquare~▪~blacktriangle~▴~blacktriangledown~▾~blacktriangleleft~◂~blacktriangleright~▸~blank~␣~blk12~▒~blk14~░~blk34~▓~block~█~bne~=⃥~bnequiv~≡⃥~bnot~⌐~bopf~𝕓~bot~⊥~bottom~⊥~bowtie~⋈~boxDL~╗~boxDR~╔~boxDl~╖~boxDr~╓~boxH~═~boxHD~╦~boxHU~╩~boxHd~╤~boxHu~╧~boxUL~╝~boxUR~╚~boxUl~╜~boxUr~╙~boxV~║~boxVH~╬~boxVL~╣~boxVR~╠~boxVh~╫~boxVl~╢~boxVr~╟~boxbox~⧉~boxdL~╕~boxdR~╒~boxdl~┐~boxdr~┌~boxh~─~boxhD~╥~boxhU~╨~boxhd~┬~boxhu~┴~boxminus~⊟~boxplus~⊞~boxtimes~⊠~boxuL~╛~boxuR~╘~boxul~┘~boxur~└~boxv~│~boxvH~╪~boxvL~╡~boxvR~╞~boxvh~┼~boxvl~┤~boxvr~├~bprime~‵~breve~˘~bscr~𝒷~bsemi~⁏~bsim~∽~bsime~⋍~bsol~\\~bsolb~⧅~bsolhsub~⟈~bullet~•~bump~≎~bumpE~⪮~bumpe~≏~bumpeq~≏~cacute~ć~capand~⩄~capbrcup~⩉~capcap~⩋~capcup~⩇~capdot~⩀~caps~∩︀~caret~⁁~caron~ˇ~ccaps~⩍~ccaron~č~ccirc~ĉ~ccups~⩌~ccupssm~⩐~cdot~ċ~cemptyv~⦲~centerdot~·~cfr~𝔠~chcy~ч~check~✓~checkmark~✓~cir~○~cirE~⧃~circeq~≗~circlearrowleft~↺~circlearrowright~↻~circledR~®~circledS~Ⓢ~circledast~⊛~circledcirc~⊚~circleddash~⊝~cire~≗~cirfnint~⨐~cirmid~⫯~cirscir~⧂~clubsuit~♣~colon~:~colone~≔~coloneq~≔~comma~,~commat~@~comp~∁~compfn~∘~complement~∁~complexes~ℂ~congdot~⩭~conint~∮~copf~𝕔~coprod~∐~copysr~℗~cross~✗~cscr~𝒸~csub~⫏~csube~⫑~csup~⫐~csupe~⫒~ctdot~⋯~cudarrl~⤸~cudarrr~⤵~cuepr~⋞~cuesc~⋟~cularr~↶~cularrp~⤽~cupbrcap~⩈~cupcap~⩆~cupcup~⩊~cupdot~⊍~cupor~⩅~cups~∪︀~curarr~↷~curarrm~⤼~curlyeqprec~⋞~curlyeqsucc~⋟~curlyvee~⋎~curlywedge~⋏~curvearrowleft~↶~curvearrowright~↷~cuvee~⋎~cuwed~⋏~cwconint~∲~cwint~∱~cylcty~⌭~dHar~⥥~daleth~ℸ~dash~‐~dashv~⊣~dbkarow~⤏~dblac~˝~dcaron~ď~dcy~д~dd~ⅆ~ddagger~‡~ddarr~⇊~ddotseq~⩷~demptyv~⦱~dfisht~⥿~dfr~𝔡~dharl~⇃~dharr~⇂~diam~⋄~diamond~⋄~diamondsuit~♦~die~¨~digamma~ϝ~disin~⋲~div~÷~divideontimes~⋇~divonx~⋇~djcy~ђ~dlcorn~⌞~dlcrop~⌍~dollar~$~dopf~𝕕~dot~˙~doteq~≐~doteqdot~≑~dotminus~∸~dotplus~∔~dotsquare~⊡~doublebarwedge~⌆~downarrow~↓~downdownarrows~⇊~downharpoonleft~⇃~downharpoonright~⇂~drbkarow~⤐~drcorn~⌟~drcrop~⌌~dscr~𝒹~dscy~ѕ~dsol~⧶~dstrok~đ~dtdot~⋱~dtri~▿~dtrif~▾~duarr~⇵~duhar~⥯~dwangle~⦦~dzcy~џ~dzigrarr~⟿~eDDot~⩷~eDot~≑~easter~⩮~ecaron~ě~ecir~≖~ecolon~≕~ecy~э~edot~ė~ee~ⅇ~efDot~≒~efr~𝔢~eg~⪚~egs~⪖~egsdot~⪘~el~⪙~elinters~⏧~ell~ℓ~els~⪕~elsdot~⪗~emacr~ē~emptyset~∅~emptyv~∅~emsp13~ ~emsp14~ ~eng~ŋ~eogon~ę~eopf~𝕖~epar~⋕~eparsl~⧣~eplus~⩱~epsi~ε~epsiv~ϵ~eqcirc~≖~eqcolon~≕~eqsim~≂~eqslantgtr~⪖~eqslantless~⪕~equals~=~equest~≟~equivDD~⩸~eqvparsl~⧥~erDot~≓~erarr~⥱~escr~ℯ~esdot~≐~esim~≂~excl~!~expectation~ℰ~exponentiale~ⅇ~fallingdotseq~≒~fcy~ф~female~♀~ffilig~ffi~fflig~ff~ffllig~ffl~ffr~𝔣~filig~fi~fjlig~fj~flat~♭~fllig~fl~fltns~▱~fopf~𝕗~fork~⋔~forkv~⫙~fpartint~⨍~frac13~⅓~frac15~⅕~frac16~⅙~frac18~⅛~frac23~⅔~frac25~⅖~frac35~⅗~frac38~⅜~frac45~⅘~frac56~⅚~frac58~⅝~frac78~⅞~frown~⌢~fscr~𝒻~gE~≧~gEl~⪌~gacute~ǵ~gammad~ϝ~gap~⪆~gbreve~ğ~gcirc~ĝ~gcy~г~gdot~ġ~gel~⋛~geq~≥~geqq~≧~geqslant~⩾~ges~⩾~gescc~⪩~gesdot~⪀~gesdoto~⪂~gesdotol~⪄~gesl~⋛︀~gesles~⪔~gfr~𝔤~gg~≫~ggg~⋙~gimel~ℷ~gjcy~ѓ~gl~≷~glE~⪒~gla~⪥~glj~⪤~gnE~≩~gnap~⪊~gnapprox~⪊~gne~⪈~gneq~⪈~gneqq~≩~gnsim~⋧~gopf~𝕘~grave~`~gscr~ℊ~gsim~≳~gsime~⪎~gsiml~⪐~gtcc~⪧~gtcir~⩺~gtdot~⋗~gtlPar~⦕~gtquest~⩼~gtrapprox~⪆~gtrarr~⥸~gtrdot~⋗~gtreqless~⋛~gtreqqless~⪌~gtrless~≷~gtrsim~≳~gvertneqq~≩︀~gvnE~≩︀~hairsp~ ~half~½~hamilt~ℋ~hardcy~ъ~harrcir~⥈~harrw~↭~hbar~ℏ~hcirc~ĥ~heartsuit~♥~hercon~⊹~hfr~𝔥~hksearow~⤥~hkswarow~⤦~hoarr~⇿~homtht~∻~hookleftarrow~↩~hookrightarrow~↪~hopf~𝕙~horbar~―~hscr~𝒽~hslash~ℏ~hstrok~ħ~hybull~⁃~hyphen~‐~ic~~icy~и~iecy~е~iff~⇔~ifr~𝔦~ii~ⅈ~iiiint~⨌~iiint~∭~iinfin~⧜~iiota~℩~ijlig~ij~imacr~ī~imagline~ℐ~imagpart~ℑ~imath~ı~imof~⊷~imped~Ƶ~in~∈~incare~℅~infintie~⧝~inodot~ı~intcal~⊺~integers~ℤ~intercal~⊺~intlarhk~⨗~intprod~⨼~iocy~ё~iogon~į~iopf~𝕚~iprod~⨼~iscr~𝒾~isinE~⋹~isindot~⋵~isins~⋴~isinsv~⋳~isinv~∈~it~~itilde~ĩ~iukcy~і~jcirc~ĵ~jcy~й~jfr~𝔧~jmath~ȷ~jopf~𝕛~jscr~𝒿~jsercy~ј~jukcy~є~kappav~ϰ~kcedil~ķ~kcy~к~kfr~𝔨~kgreen~ĸ~khcy~х~kjcy~ќ~kopf~𝕜~kscr~𝓀~lAarr~⇚~lAtail~⤛~lBarr~⤎~lE~≦~lEg~⪋~lHar~⥢~lacute~ĺ~laemptyv~⦴~lagran~ℒ~langd~⦑~langle~⟨~lap~⪅~larrb~⇤~larrbfs~⤟~larrfs~⤝~larrhk~↩~larrlp~↫~larrpl~⤹~larrsim~⥳~larrtl~↢~lat~⪫~latail~⤙~late~⪭~lates~⪭︀~lbarr~⤌~lbbrk~❲~lbrace~{~lbrack~[~lbrke~⦋~lbrksld~⦏~lbrkslu~⦍~lcaron~ľ~lcedil~ļ~lcub~{~lcy~л~ldca~⤶~ldquor~„~ldrdhar~⥧~ldrushar~⥋~ldsh~↲~leftarrow~←~leftarrowtail~↢~leftharpoondown~↽~leftharpoonup~↼~leftleftarrows~⇇~leftrightarrow~↔~leftrightarrows~⇆~leftrightharpoons~⇋~leftrightsquigarrow~↭~leftthreetimes~⋋~leg~⋚~leq~≤~leqq~≦~leqslant~⩽~les~⩽~lescc~⪨~lesdot~⩿~lesdoto~⪁~lesdotor~⪃~lesg~⋚︀~lesges~⪓~lessapprox~⪅~lessdot~⋖~lesseqgtr~⋚~lesseqqgtr~⪋~lessgtr~≶~lesssim~≲~lfisht~⥼~lfr~𝔩~lg~≶~lgE~⪑~lhard~↽~lharu~↼~lharul~⥪~lhblk~▄~ljcy~љ~ll~≪~llarr~⇇~llcorner~⌞~llhard~⥫~lltri~◺~lmidot~ŀ~lmoust~⎰~lmoustache~⎰~lnE~≨~lnap~⪉~lnapprox~⪉~lne~⪇~lneq~⪇~lneqq~≨~lnsim~⋦~loang~⟬~loarr~⇽~lobrk~⟦~longleftarrow~⟵~longleftrightarrow~⟷~longmapsto~⟼~longrightarrow~⟶~looparrowleft~↫~looparrowright~↬~lopar~⦅~lopf~𝕝~loplus~⨭~lotimes~⨴~lowbar~_~lozenge~◊~lozf~⧫~lpar~(~lparlt~⦓~lrarr~⇆~lrcorner~⌟~lrhar~⇋~lrhard~⥭~lrtri~⊿~lscr~𝓁~lsh~↰~lsim~≲~lsime~⪍~lsimg~⪏~lsqb~[~lsquor~‚~lstrok~ł~ltcc~⪦~ltcir~⩹~ltdot~⋖~lthree~⋋~ltimes~⋉~ltlarr~⥶~ltquest~⩻~ltrPar~⦖~ltri~◃~ltrie~⊴~ltrif~◂~lurdshar~⥊~luruhar~⥦~lvertneqq~≨︀~lvnE~≨︀~mDDot~∺~male~♂~malt~✠~maltese~✠~map~↦~mapsto~↦~mapstodown~↧~mapstoleft~↤~mapstoup~↥~marker~▮~mcomma~⨩~mcy~м~measuredangle~∡~mfr~𝔪~mho~℧~mid~∣~midast~*~midcir~⫰~minusb~⊟~minusd~∸~minusdu~⨪~mlcp~⫛~mldr~…~mnplus~∓~models~⊧~mopf~𝕞~mp~∓~mscr~𝓂~mstpos~∾~multimap~⊸~mumap~⊸~nGg~⋙̸~nGt~≫⃒~nGtv~≫̸~nLeftarrow~⇍~nLeftrightarrow~⇎~nLl~⋘̸~nLt~≪⃒~nLtv~≪̸~nRightarrow~⇏~nVDash~⊯~nVdash~⊮~nacute~ń~nang~∠⃒~nap~≉~napE~⩰̸~napid~≋̸~napos~ʼn~napprox~≉~natur~♮~natural~♮~naturals~ℕ~nbump~≎̸~nbumpe~≏̸~ncap~⩃~ncaron~ň~ncedil~ņ~ncong~≇~ncongdot~⩭̸~ncup~⩂~ncy~н~neArr~⇗~nearhk~⤤~nearr~↗~nearrow~↗~nedot~≐̸~nequiv~≢~nesear~⤨~nesim~≂̸~nexist~∄~nexists~∄~nfr~𝔫~ngE~≧̸~nge~≱~ngeq~≱~ngeqq~≧̸~ngeqslant~⩾̸~nges~⩾̸~ngsim~≵~ngt~≯~ngtr~≯~nhArr~⇎~nharr~↮~nhpar~⫲~nis~⋼~nisd~⋺~niv~∋~njcy~њ~nlArr~⇍~nlE~≦̸~nlarr~↚~nldr~‥~nle~≰~nleftarrow~↚~nleftrightarrow~↮~nleq~≰~nleqq~≦̸~nleqslant~⩽̸~nles~⩽̸~nless~≮~nlsim~≴~nlt~≮~nltri~⋪~nltrie~⋬~nmid~∤~nopf~𝕟~notinE~⋹̸~notindot~⋵̸~notinva~∉~notinvb~⋷~notinvc~⋶~notni~∌~notniva~∌~notnivb~⋾~notnivc~⋽~npar~∦~nparallel~∦~nparsl~⫽⃥~npart~∂̸~npolint~⨔~npr~⊀~nprcue~⋠~npre~⪯̸~nprec~⊀~npreceq~⪯̸~nrArr~⇏~nrarr~↛~nrarrc~⤳̸~nrarrw~↝̸~nrightarrow~↛~nrtri~⋫~nrtrie~⋭~nsc~⊁~nsccue~⋡~nsce~⪰̸~nscr~𝓃~nshortmid~∤~nshortparallel~∦~nsim~≁~nsime~≄~nsimeq~≄~nsmid~∤~nspar~∦~nsqsube~⋢~nsqsupe~⋣~nsubE~⫅̸~nsube~⊈~nsubset~⊂⃒~nsubseteq~⊈~nsubseteqq~⫅̸~nsucc~⊁~nsucceq~⪰̸~nsup~⊅~nsupE~⫆̸~nsupe~⊉~nsupset~⊃⃒~nsupseteq~⊉~nsupseteqq~⫆̸~ntgl~≹~ntlg~≸~ntriangleleft~⋪~ntrianglelefteq~⋬~ntriangleright~⋫~ntrianglerighteq~⋭~num~#~numero~№~numsp~ ~nvDash~⊭~nvHarr~⤄~nvap~≍⃒~nvdash~⊬~nvge~≥⃒~nvgt~>⃒~nvinfin~⧞~nvlArr~⤂~nvle~≤⃒~nvlt~<⃒~nvltrie~⊴⃒~nvrArr~⤃~nvrtrie~⊵⃒~nvsim~∼⃒~nwArr~⇖~nwarhk~⤣~nwarr~↖~nwarrow~↖~nwnear~⤧~oS~Ⓢ~oast~⊛~ocir~⊚~ocy~о~odash~⊝~odblac~ő~odiv~⨸~odot~⊙~odsold~⦼~ofcir~⦿~ofr~𝔬~ogon~˛~ogt~⧁~ohbar~⦵~ohm~Ω~oint~∮~olarr~↺~olcir~⦾~olcross~⦻~olt~⧀~omacr~ō~omid~⦶~ominus~⊖~oopf~𝕠~opar~⦷~operp~⦹~orarr~↻~ord~⩝~order~ℴ~orderof~ℴ~origof~⊶~oror~⩖~orslope~⩗~orv~⩛~oscr~ℴ~osol~⊘~otimesas~⨶~ovbar~⌽~par~∥~parallel~∥~parsim~⫳~parsl~⫽~pcy~п~percnt~%~period~.~pertenk~‱~pfr~𝔭~phiv~ϕ~phmmat~ℳ~phone~☎~pitchfork~⋔~planck~ℏ~planckh~ℎ~plankv~ℏ~plus~+~plusacir~⨣~plusb~⊞~pluscir~⨢~plusdo~∔~plusdu~⨥~pluse~⩲~plussim~⨦~plustwo~⨧~pm~±~pointint~⨕~popf~𝕡~pr~≺~prE~⪳~prap~⪷~prcue~≼~pre~⪯~prec~≺~precapprox~⪷~preccurlyeq~≼~preceq~⪯~precnapprox~⪹~precneqq~⪵~precnsim~⋨~precsim~≾~primes~ℙ~prnE~⪵~prnap~⪹~prnsim~⋨~profalar~⌮~profline~⌒~profsurf~⌓~propto~∝~prsim~≾~prurel~⊰~pscr~𝓅~puncsp~ ~qfr~𝔮~qint~⨌~qopf~𝕢~qprime~⁗~qscr~𝓆~quaternions~ℍ~quatint~⨖~quest~?~questeq~≟~rAarr~⇛~rAtail~⤜~rBarr~⤏~rHar~⥤~race~∽̱~racute~ŕ~raemptyv~⦳~rangd~⦒~range~⦥~rangle~⟩~rarrap~⥵~rarrb~⇥~rarrbfs~⤠~rarrc~⤳~rarrfs~⤞~rarrhk~↪~rarrlp~↬~rarrpl~⥅~rarrsim~⥴~rarrtl~↣~rarrw~↝~ratail~⤚~ratio~∶~rationals~ℚ~rbarr~⤍~rbbrk~❳~rbrace~}~rbrack~]~rbrke~⦌~rbrksld~⦎~rbrkslu~⦐~rcaron~ř~rcedil~ŗ~rcub~}~rcy~р~rdca~⤷~rdldhar~⥩~rdquor~”~rdsh~↳~realine~ℛ~realpart~ℜ~reals~ℝ~rect~▭~rfisht~⥽~rfr~𝔯~rhard~⇁~rharu~⇀~rharul~⥬~rhov~ϱ~rightarrow~→~rightarrowtail~↣~rightharpoondown~⇁~rightharpoonup~⇀~rightleftarrows~⇄~rightleftharpoons~⇌~rightrightarrows~⇉~rightsquigarrow~↝~rightthreetimes~⋌~ring~˚~risingdotseq~≓~rlarr~⇄~rlhar~⇌~rmoust~⎱~rmoustache~⎱~rnmid~⫮~roang~⟭~roarr~⇾~robrk~⟧~ropar~⦆~ropf~𝕣~roplus~⨮~rotimes~⨵~rpar~)~rpargt~⦔~rppolint~⨒~rrarr~⇉~rscr~𝓇~rsh~↱~rsqb~]~rsquor~’~rthree~⋌~rtimes~⋊~rtri~▹~rtrie~⊵~rtrif~▸~rtriltri~⧎~ruluhar~⥨~rx~℞~sacute~ś~sc~≻~scE~⪴~scap~⪸~sccue~≽~sce~⪰~scedil~ş~scirc~ŝ~scnE~⪶~scnap~⪺~scnsim~⋩~scpolint~⨓~scsim~≿~scy~с~sdotb~⊡~sdote~⩦~seArr~⇘~searhk~⤥~searr~↘~searrow~↘~semi~;~seswar~⤩~setminus~∖~setmn~∖~sext~✶~sfr~𝔰~sfrown~⌢~sharp~♯~shchcy~щ~shcy~ш~shortmid~∣~shortparallel~∥~sigmav~ς~simdot~⩪~sime~≃~simeq~≃~simg~⪞~simgE~⪠~siml~⪝~simlE~⪟~simne~≆~simplus~⨤~simrarr~⥲~slarr~←~smallsetminus~∖~smashp~⨳~smeparsl~⧤~smid~∣~smile~⌣~smt~⪪~smte~⪬~smtes~⪬︀~softcy~ь~sol~/~solb~⧄~solbar~⌿~sopf~𝕤~spadesuit~♠~spar~∥~sqcap~⊓~sqcaps~⊓︀~sqcup~⊔~sqcups~⊔︀~sqsub~⊏~sqsube~⊑~sqsubset~⊏~sqsubseteq~⊑~sqsup~⊐~sqsupe~⊒~sqsupset~⊐~sqsupseteq~⊒~squ~□~square~□~squarf~▪~squf~▪~srarr~→~sscr~𝓈~ssetmn~∖~ssmile~⌣~sstarf~⋆~star~☆~starf~★~straightepsilon~ϵ~straightphi~ϕ~strns~¯~subE~⫅~subdot~⪽~subedot~⫃~submult~⫁~subnE~⫋~subne~⊊~subplus~⪿~subrarr~⥹~subset~⊂~subseteq~⊆~subseteqq~⫅~subsetneq~⊊~subsetneqq~⫋~subsim~⫇~subsub~⫕~subsup~⫓~succ~≻~succapprox~⪸~succcurlyeq~≽~succeq~⪰~succnapprox~⪺~succneqq~⪶~succnsim~⋩~succsim~≿~sung~♪~supE~⫆~supdot~⪾~supdsub~⫘~supedot~⫄~suphsol~⟉~suphsub~⫗~suplarr~⥻~supmult~⫂~supnE~⫌~supne~⊋~supplus~⫀~supset~⊃~supseteq~⊇~supseteqq~⫆~supsetneq~⊋~supsetneqq~⫌~supsim~⫈~supsub~⫔~supsup~⫖~swArr~⇙~swarhk~⤦~swarr~↙~swarrow~↙~swnwar~⤪~target~⌖~tbrk~⎴~tcaron~ť~tcedil~ţ~tcy~т~tdot~⃛~telrec~⌕~tfr~𝔱~therefore~∴~thetav~ϑ~thickapprox~≈~thicksim~∼~thkap~≈~thksim~∼~timesb~⊠~timesbar~⨱~timesd~⨰~tint~∭~toea~⤨~top~⊤~topbot~⌶~topcir~⫱~topf~𝕥~topfork~⫚~tosa~⤩~tprime~‴~triangle~▵~triangledown~▿~triangleleft~◃~trianglelefteq~⊴~triangleq~≜~triangleright~▹~trianglerighteq~⊵~tridot~◬~trie~≜~triminus~⨺~triplus~⨹~trisb~⧍~tritime~⨻~trpezium~⏢~tscr~𝓉~tscy~ц~tshcy~ћ~tstrok~ŧ~twixt~≬~twoheadleftarrow~↞~twoheadrightarrow~↠~uHar~⥣~ubrcy~ў~ubreve~ŭ~ucy~у~udarr~⇅~udblac~ű~udhar~⥮~ufisht~⥾~ufr~𝔲~uharl~↿~uharr~↾~uhblk~▀~ulcorn~⌜~ulcorner~⌜~ulcrop~⌏~ultri~◸~umacr~ū~uogon~ų~uopf~𝕦~uparrow~↑~updownarrow~↕~upharpoonleft~↿~upharpoonright~↾~uplus~⊎~upsi~υ~upuparrows~⇈~urcorn~⌝~urcorner~⌝~urcrop~⌎~uring~ů~urtri~◹~uscr~𝓊~utdot~⋰~utilde~ũ~utri~▵~utrif~▴~uuarr~⇈~uwangle~⦧~vArr~⇕~vBar~⫨~vBarv~⫩~vDash~⊨~vangrt~⦜~varepsilon~ϵ~varkappa~ϰ~varnothing~∅~varphi~ϕ~varpi~ϖ~varpropto~∝~varr~↕~varrho~ϱ~varsigma~ς~varsubsetneq~⊊︀~varsubsetneqq~⫋︀~varsupsetneq~⊋︀~varsupsetneqq~⫌︀~vartheta~ϑ~vartriangleleft~⊲~vartriangleright~⊳~vcy~в~vdash~⊢~vee~∨~veebar~⊻~veeeq~≚~vellip~⋮~verbar~|~vert~|~vfr~𝔳~vltri~⊲~vnsub~⊂⃒~vnsup~⊃⃒~vopf~𝕧~vprop~∝~vrtri~⊳~vscr~𝓋~vsubnE~⫋︀~vsubne~⊊︀~vsupnE~⫌︀~vsupne~⊋︀~vzigzag~⦚~wcirc~ŵ~wedbar~⩟~wedge~∧~wedgeq~≙~wfr~𝔴~wopf~𝕨~wp~℘~wr~≀~wreath~≀~wscr~𝓌~xcap~⋂~xcirc~◯~xcup~⋃~xdtri~▽~xfr~𝔵~xhArr~⟺~xharr~⟷~xlArr~⟸~xlarr~⟵~xmap~⟼~xnis~⋻~xodot~⨀~xopf~𝕩~xoplus~⨁~xotime~⨂~xrArr~⟹~xrarr~⟶~xscr~𝓍~xsqcup~⨆~xuplus~⨄~xutri~△~xvee~⋁~xwedge~⋀~yacy~я~ycirc~ŷ~ycy~ы~yfr~𝔶~yicy~ї~yopf~𝕪~yscr~𝓎~yucy~ю~zacute~ź~zcaron~ž~zcy~з~zdot~ż~zeetrf~ℨ~zfr~𝔷~zhcy~ж~zigrarr~⇝~zopf~𝕫~zscr~𝓏~~AMP~&~COPY~©~GT~>~LT~<~QUOT~"~REG~®',i.html4);var s={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376},l=String.fromCodePoint||function(e){return String.fromCharCode(Math.floor((e-65536)/1024)+55296,(e-65536)%1024+56320)},c=(String.prototype.codePointAt,function(){return c=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e},c.apply(this,arguments)}),u=c(c({},i),{all:i.html5}),d={scope:"body",level:"all"},p=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+);/g,f=/&(?:#\d+|#[xX][\da-fA-F]+|[0-9a-zA-Z]+)[;=]?/g,m={xml:{strict:p,attribute:f,body:a.xml},html4:{strict:p,attribute:f,body:a.html4},html5:{strict:p,attribute:f,body:a.html5}},h=c(c({},m),{all:m.html5}),g=String.fromCharCode,b=g(65533);function v(e,t){var n=void 0===t?d:t,r=n.level,o=void 0===r?"all":r,a=n.scope,i=void 0===a?"xml"===o?"strict":"body":a;if(!e)return"";var c=h[o][i],p=u[o].entities,f="attribute"===i,m="strict"===i;return e.replace(c,(function(e){return function(e,t,n,r){var o=e,a=e[e.length-1];if(n&&"="===a)o=e;else if(r&&";"!==a)o=e;else{var i=t[e];if(i)o=i;else if("&"===e[0]&&"#"===e[1]){var c=e[2],u="x"==c||"X"==c?parseInt(e.substr(3),16):parseInt(e.substr(2));o=u>=1114111?b:u>65535?l(u):g(s[u]||u)}}return o}(e,p,f,m)}))}},43626:(e,t,n)=>{"use strict";n.d(t,{t:()=>s});var r=n(94323),o=n(12295);const a=["online","offline"];class i extends r.Q{constructor(){super(),this.setup=e=>{if(!o.S$&&window.addEventListener){const t=()=>e();return a.forEach((e=>{window.addEventListener(e,t,!1)})),()=>{a.forEach((e=>{window.removeEventListener(e,t)}))}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setOnline(e):this.onOnline()}))}setOnline(e){this.online!==e&&(this.online=e,this.onOnline())}onOnline(){this.listeners.forEach((({listener:e})=>{e()}))}isOnline(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine}}const s=new i},43881:(e,t,n)=>{"use strict";n(51609),n(27723),n(18537),n(99571),n(20312),n(85368),n(34814),n(74316),n(20736),n(8539)},45475:(e,t,n)=>{"use strict";n(51609)},46005:(e,t,n)=>{"use strict";n.d(t,{Ay:()=>s});var r=n(52836),o=n(58168),a=n(51609),i=n(38969),s=(n(55655),n(75795),n(27003),(0,a.forwardRef)((function(e,t){var n=(0,r.u)(e);return a.createElement(i.S,(0,o.A)({ref:t},n))})))},47119:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect&&Reflect.apply},47508:(e,t,n)=>{"use strict";n(51609),n(86087),n(27723),n(18537),n(48997),n(74323)},48648:e=>{"use strict";e.exports="undefined"!=typeof Reflect&&Reflect.getPrototypeOf||null},48997:(e,t,n)=>{"use strict";n(51609)},49628:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.log=function(){console.log("portalOpenInstances ----------"),console.log(r.openInstances.length),r.openInstances.forEach((function(e){return console.log(e)})),console.log("end portalOpenInstances ----------")},t.resetState=function(){r=new n};var n=function e(){var t=this;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,e),this.register=function(e){-1===t.openInstances.indexOf(e)&&(t.openInstances.push(e),t.emit("register"))},this.deregister=function(e){var n=t.openInstances.indexOf(e);-1!==n&&(t.openInstances.splice(n,1),t.emit("deregister"))},this.subscribe=function(e){t.subscribers.push(e)},this.emit=function(e){t.subscribers.forEach((function(n){return n(e,t.openInstances.slice())}))},this.openInstances=[],this.subscribers=[]},r=new n;t.default=r},50411:(e,t,n)=>{var r;!function(){"use strict";var o=!("undefined"==typeof window||!window.document||!window.document.createElement),a={canUseDOM:o,canUseWorkers:"undefined"!=typeof Worker,canUseEventListeners:o&&!(!window.addEventListener&&!window.attachEvent),canUseViewport:o&&!!window.screen};void 0===(r=function(){return a}.call(t,n,t,e))||(e.exports=r)}()},50465:(e,t,n)=>{"use strict";n(51609)},51609:e=>{"use strict";e.exports=window.React},52836:(e,t,n)=>{"use strict";n.d(t,{u:()=>l});var r=n(89379),o=n(80296),a=n(80045),i=n(51609),s=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function l(e){var t=e.defaultInputValue,n=void 0===t?"":t,l=e.defaultMenuIsOpen,c=void 0!==l&&l,u=e.defaultValue,d=void 0===u?null:u,p=e.inputValue,f=e.menuIsOpen,m=e.onChange,h=e.onInputChange,g=e.onMenuClose,b=e.onMenuOpen,v=e.value,y=(0,a.A)(e,s),w=(0,i.useState)(void 0!==p?p:n),E=(0,o.A)(w,2),x=E[0],C=E[1],A=(0,i.useState)(void 0!==f?f:c),S=(0,o.A)(A,2),O=S[0],I=S[1],q=(0,i.useState)(void 0!==v?v:d),D=(0,o.A)(q,2),P=D[0],k=D[1],_=(0,i.useCallback)((function(e,t){"function"==typeof m&&m(e,t),k(e)}),[m]),R=(0,i.useCallback)((function(e,t){var n;"function"==typeof h&&(n=h(e,t)),C(void 0!==n?n:e)}),[h]),F=(0,i.useCallback)((function(){"function"==typeof b&&b(),I(!0)}),[b]),N=(0,i.useCallback)((function(){"function"==typeof g&&g(),I(!1)}),[g]),T=void 0!==p?p:x,L=void 0!==f?f:O,M=void 0!==v?v:P;return(0,r.A)((0,r.A)({},y),{},{inputValue:T,menuIsOpen:L,onChange:_,onInputChange:R,onMenuClose:N,onMenuOpen:F,value:M})}},52904:(e,t,n)=>{"use strict";n.d(t,{U:()=>r});const r=console},52962:(e,t,n)=>{"use strict";function r(e){return r=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},r(e)}function o(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch(e){}return(o=function(){return!!e})()}n.d(t,{A:()=>s});var a=n(82284),i=n(9417);function s(e){var t=o();return function(){var n,o=r(e);if(t){var s=r(this).constructor;n=Reflect.construct(o,arguments,s)}else n=o.apply(this,arguments);return function(e,t){if(t&&("object"==(0,a.A)(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return(0,i.A)(e)}(this,n)}}},53026:(e,t,n)=>{"use strict";var r=n(51609),o=n.n(r),a=(n(18111),n(74323));const i=()=>(0,r.createElement)("div",{className:"bd-faq-skeleton"},Array.from({length:5}).map(((e,t)=>(0,r.createElement)("div",{className:"bd-faq-skeleton__card",key:t},(0,r.createElement)("span",{className:"bd-faq-skeleton__grip"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__text"},(0,r.createElement)("span",{className:"bd-faq-skeleton__line bd-faq-skeleton__line--title"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__line bd-faq-skeleton__line--meta"})),(0,r.createElement)("span",{className:"bd-faq-skeleton__btn"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__icon"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__icon"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__toggle"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__icon"})))));var s=n(34814),l=(n(86087),n(27723)),c=n(99571);n(62930),n(47508),n(48997);var u=n(39176),d=n(65903);const p=(e,t)=>{const n=e.source.index,r=e.destination.index;let o=[...t],[a]=o.splice(n,1);return o.splice(r,0,a),o};var f=n(18537),m=n(63064),h=n(78465),g=n.n(h),b=n(46005);const v=()=>!!document.querySelector(".betterdocs-admin.betterdocs-dark-mode"),y=e=>e?{text:"#e6e8eb",bg:"#0c0f14",quoteBorder:"#3a4250",quoteText:"#aab0ba",codeBg:"#232a35",placeholder:"#6b7280"}:{text:"#1e1e1e",bg:"#ffffff",quoteBorder:"#ccc",quoteText:"#555",codeBg:"#f0f0f1",placeholder:"#757575"},w=e=>['body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",Arial,sans-serif;',`font-size:14px;line-height:1.65;color:${e.text};background:${e.bg};padding:14px 18px;margin:0;}`,"body p{margin:0 0 1em;}body p:last-child{margin-bottom:0;}",`body h1,body h2,body h3,body h4,body h5,body h6{color:${e.text};font-weight:600;line-height:1.3;margin:1.2em 0 .6em;}`,`body blockquote{border-left:4px solid ${e.quoteBorder};margin:1em 0;padding:.25em 1em;color:${e.quoteText};}`,`body code,body pre{font-family:Menlo,Consolas,Monaco,monospace;font-size:13px;background:${e.codeBg};border-radius:3px;}`,"body code{padding:1px 6px;}body pre{padding:12px 14px;}","body ul,body ol{padding-left:1.6em;}",`body[data-placeholder]:empty::before{content:attr(data-placeholder);color:${e.placeholder};}`].join(""),E=({aiValue:e=null,value:t,onChange:n,placeholder:o,onReady:a,resetKey:i})=>{const s=(0,r.useId)(),l=(0,r.useRef)(`betterdocs-faq-editor-${s.replace(/[^a-zA-Z0-9_-]/g,"")}`).current,c=(0,r.useRef)(n),u=(0,r.useRef)(a),d=(0,r.useRef)(!1),p=(0,r.useRef)(t||""),f=(0,r.useRef)(t||"");(0,r.useEffect)((()=>{f.current=t||""}),[t]);const m=()=>Boolean(window.wp&&window.wp.editor&&window.tinymce),[h,g]=(0,r.useState)(m);(0,r.useEffect)((()=>{if(h)return;const e=setInterval((()=>{m()&&(g(!0),clearInterval(e))}),150);return()=>clearInterval(e)}),[h]),(0,r.useEffect)((()=>{c.current=n}),[n]),(0,r.useEffect)((()=>{u.current=a}),[a]),(0,r.useEffect)((()=>{if(d.current||!window.wp||!window.wp.editor||!window.tinymce)return;d.current=!0;const e=e=>{"function"==typeof c.current&&c.current(e)};window.wp.editor.initialize(l,{tinymce:{wpautop:!0,toolbar1:"formatselect,bold,italic,underline,strikethrough,bullist,numlist,blockquote,alignleft,aligncenter,alignright,link,unlink,wp_more,wp_adv",toolbar2:"fontsizeselect,forecolor,backcolor,pastetext,removeformat,charmap,outdent,indent,undo,redo,code,wp_help",height:200,menubar:!1,branding:!1,content_style:w(y(v())),paste_data_images:!1,paste_as_text:!1,paste_remove_styles:!0,paste_remove_styles_if_webkit:!0,paste_strip_class_attributes:"all",paste_merge_formats:!0,paste_webkit_styles:"none",setup:function(t){t.on("init",(function(){if(p.current&&t.setContent(p.current),o&&t.getBody().setAttribute("data-placeholder",o),"function"==typeof u.current){try{t.getBody().blur();const e=t.getWin&&t.getWin();e&&"function"==typeof e.blur&&e.blur()}catch(e){}u.current()}})),t.on("change keyup paste input undo redo execcommand",(function(){e(t.getContent())}))}},quicktags:{buttons:"strong,em,link,block,del,ins,img,ul,ol,li,code,more,close"},mediaButtons:!0});const t=document.getElementById(l),n=()=>{const n=window.tinymce&&window.tinymce.get(l);n&&!n.isHidden()||e(t?t.value:"")};return t&&t.addEventListener("input",n),()=>{if(t&&t.removeEventListener("input",n),window.wp&&window.wp.editor)try{window.wp.editor.remove(l)}catch(e){}d.current=!1}}),[h]),(0,r.useEffect)((()=>{const e=new MutationObserver((()=>(e=>{const t=window.tinymce&&window.tinymce.get(e),n=t&&t.getDoc&&t.getDoc(),r=n&&(n.head||n.getElementsByTagName("head")[0]);if(!r)return;let o=n.getElementById("bd-faq-editor-theme");o||(o=n.createElement("style"),o.id="bd-faq-editor-theme",r.appendChild(o)),o.textContent=w(y(v()))})(l)));return e.observe(document.body,{attributes:!0,attributeFilter:["class"]}),()=>e.disconnect()}),[l,h]),(0,r.useEffect)((()=>{if(!e)return;const t=window.tinymce&&window.tinymce.get(l);if(t)return t.setContent(e),t.save(),void("function"==typeof c.current&&c.current(t.getContent()));const n=document.getElementById(l);n&&(n.value=e,"function"==typeof c.current&&c.current(e))}),[e,l]);const b=(0,r.useRef)(!0);return(0,r.useEffect)((()=>{if(b.current)return void(b.current=!1);const e=window.tinymce&&window.tinymce.get(l);if(e)e.setContent(f.current||""),e.save();else{const e=document.getElementById(l);e&&(e.value=f.current||"")}}),[i]),(0,r.createElement)("div",{className:"bd-faq-editor bd-faq-editor-wp"},(0,r.createElement)("textarea",{id:l,className:"bd-faq-editor-textarea wp-editor-area",defaultValue:t||"",placeholder:o,rows:8}))};var x,C,A=n(85368),S=n(94985);function O(){return O=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},O.apply(null,arguments)}const I=e=>r.createElement("svg",O({xmlns:"http://www.w3.org/2000/svg",width:18,height:18,fill:"none",viewBox:"0 0 16 16"},e),x||(x=r.createElement("g",{fill:"#fff",clipPath:"url(#betterdocs-icon-white_svg__a)"},r.createElement("path",{d:"M7.608 6.345h4.012a.72.72 0 0 0 .709-.732.72.72 0 0 0-.71-.73H7.609a.72.72 0 0 0-.71.73.716.716 0 0 0 .71.732M5.995 9.193h4.011c.392 0 .71-.327.71-.73a.72.72 0 0 0-.71-.732H5.995a.72.72 0 0 0-.71.731c0 .404.318.731.71.731M9.077 11.37a.72.72 0 0 0-.71-.731H4.356a.72.72 0 0 0-.71.73c0 .404.318.732.71.732h4.011c.392 0 .71-.328.71-.731"}),r.createElement("path",{d:"M14.58 8.008c-.025-.058-.057-.1-.09-.15l1.068-1.9a3.34 3.34 0 0 0 .008-3.303C14.988 1.622 13.952 1 12.786 1H7.943c-1.134 0-2.194.63-2.773 1.647L.441 11.042a3.34 3.34 0 0 0-.008 3.303C1.013 15.378 2.048 16 3.213 16h8.293c1.476 0 2.83-.773 3.612-2.059a4.5 4.5 0 0 0 .236-4.252zM4.437 14.445H3.214c-.62 0-1.166-.327-1.476-.882a1.78 1.78 0 0 1 .008-1.756l4.73-8.395a1.7 1.7 0 0 1 1.475-.874h4.843c.62 0 1.166.328 1.476.882.31.546.302 1.202-.008 1.756l-4.737 8.395a1.69 1.69 0 0 1-1.468.874zm9.417-1.336a2.74 2.74 0 0 1-2.34 1.336h-.742c.016-.033.04-.058.057-.092l2.764-4.9.424.9c.4.89.343 1.924-.163 2.756"}))),C||(C=r.createElement("defs",null,r.createElement("clipPath",{id:"betterdocs-icon-white_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 1h16v15H0z"})))));var q=n(20312),D=n.n(q);const P={overlay:{position:"fixed",top:0,left:0,right:0,bottom:0,backgroundColor:"rgba(35, 40, 45, 0.5)",zIndex:9990,padding:50,paddingTop:70,display:"flex",flexDirection:"column",overflow:"auto"},content:{width:"40rem",maxWidth:"90%",position:"static",height:"auto",overflow:"initial",margin:"auto"}},k=({open:e,setShowFaqAIModalForm:t,setFormFields:n,formFields:o})=>{const[a,i]=(0,r.useState)(o),[c,u]=(0,r.useState)(null),[d,p]=(0,r.useState)(null),[f,m]=(0,r.useState)(!1),[h,g]=(0,r.useState)(!1),[b,v]=(0,r.useState)(null);(0,r.useEffect)((()=>{(0,s.uF)().then((e=>{v(e)})).catch((function(e){console.log(e)}))}),[]);const y=()=>{p({title:""}),t(!1)},w=e=>e&&e?.ai_autowrite_api_key?e.ai_autowrite_api_key:"";return(0,r.createElement)(D(),{isOpen:e,className:"bd-faq-ctg-modal",onRequestClose:()=>y(),style:P},(0,r.createElement)("form",{className:b&&!w(b)?"disabled-input-field":"",onSubmit:async e=>{e.preventDefault();const t=document.getElementById("betterdocs-ai-title").value,n=document.getElementById("betterdocs-ai-keyword").value;try{m(!0),p(null);const e=await(0,s.S)({question:t,keywords:n}),r=e?.data?.answer||"";if(m(!1),!r)return g(!1),void p((0,l.__)("The AI returned no answer. Try again or rephrase your question.","betterdocs"));g(!0),i((e=>({...e,question:t,aiAnswer:r}))),u(r)}catch(e){m(!1),g(!1),p(`${e.message}`)}}},(0,r.createElement)("div",{className:"bd-faq-ctg-header"},(0,r.createElement)("span",{className:"bd-faq-stat-card__icon",style:{"--bd-icon-tint":"#7f56d9","--bd-icon-tint-rgb":"127, 86, 217"}},(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:17,height:17,viewBox:"0 0 32 32",fill:"none"},(0,r.createElement)("path",{d:"M15.8322 30.1765L8.97508 30.7708L9.56936 23.9136L23.8322 9.74219C24.0451 9.52448 24.2993 9.3515 24.58 9.23341C24.8606 9.11531 25.162 9.05447 25.4665 9.05447C25.771 9.05447 26.0724 9.11531 26.3531 9.23341C26.6337 9.3515 26.8879 9.52448 27.1008 9.74219L30.0037 12.6679C30.2176 12.8805 30.3874 13.1334 30.5033 13.4119C30.6192 13.6904 30.6788 13.9891 30.6788 14.2908C30.6788 14.5924 30.6192 14.8911 30.5033 15.1696C30.3874 15.4481 30.2176 15.701 30.0037 15.9136L15.8322 30.1765ZM1.92593 9.07933C1.12365 8.9399 1.12365 7.7879 1.92593 7.64848C3.34647 7.40124 4.6612 6.73658 5.70251 5.73923C6.74382 4.74188 7.46455 3.45703 7.77279 2.04848L7.82079 1.82676C7.99451 1.03591 9.12365 1.02905 9.30651 1.82219L9.36365 2.07819C9.68319 3.48048 10.4099 4.75709 11.4526 5.74772C12.4953 6.73834 13.8074 7.39881 15.2242 7.64619C16.0311 7.78333 16.0311 8.94219 15.2242 9.0839C13.8073 9.33071 12.4949 9.99066 11.4518 10.9809C10.4087 11.9711 9.68146 13.2474 9.36136 14.6496L9.30193 14.9079C9.12136 15.6988 7.99222 15.6942 7.81851 14.901L7.77279 14.6793C7.46424 13.2702 6.74284 11.9849 5.70064 10.9874C4.65845 9.99003 3.34273 9.32574 1.92136 9.07933H1.92593Z",stroke:"currentColor",strokeWidth:"2.28571",strokeLinecap:"round",strokeLinejoin:"round"}))),(0,r.createElement)("div",{className:"bd-faq-ctg-heading"},(0,r.createElement)("h3",{className:"bd-faq-ctg-title"},(0,l.__)("Write FAQ with BetterDocs AI","betterdocs")),(0,r.createElement)("p",{className:"bd-faq-ctg-subtitle"},(0,l.__)("Generate FAQs effortlessly with BetterDocs AI. Input your question and relevant keywords and let the system generate FAQs tailored to your needs.","betterdocs")))),(0,r.createElement)("div",{className:"bd-faq-ctg-body"},b&&!w(b)&&(0,r.createElement)("div",{id:"betterdocs-ai-message"},(0,r.createElement)("div",{className:"warning-message"},(0,r.createElement)("span",{className:"dashicons dashicons-warning"}),(0,r.createElement)("div",null,(0,l.__)("Please insert your","betterdocs")," ",(0,r.createElement)("a",{target:"_blank",href:"/wp-admin/admin.php?page=betterdocs-settings#betterdocs-ai"},(0,l.__)("OpenAI API Key","betterdocs"))," ",(0,l.__)('to use this "Write with AI" feature.',"betterdocs")))),d&&(0,r.createElement)("div",{id:"betterdocs-ai-error-message"},(0,r.createElement)("div",{className:"warning-message"},(0,r.createElement)("span",{className:"dashicons dashicons-warning"}),(0,r.createElement)("div",{className:"footer-message"},d))),(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label",htmlFor:"betterdocs-ai-title"},(0,l.__)("Question","betterdocs")),(0,r.createElement)("input",{type:"text",className:"bd-faq-input",placeholder:(0,l.__)("Insert your question to generate a relevant response.","betterdocs"),id:"betterdocs-ai-title",name:"betterdocs-ai-title",required:!0,value:o?.question,onChange:e=>n((t=>({...t,question:e.target.value.replace(/^\s+/,"")})))})),(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label",htmlFor:"betterdocs-ai-keyword"},(0,l.__)("Keywords","betterdocs")),(0,r.createElement)("input",{type:"text",className:"bd-faq-input",placeholder:(0,l.__)("Add keywords to generate precise and relevant FAQs (comma-separated).","betterdocs"),id:"betterdocs-ai-keyword",name:"betterdocs-ai-keyword",required:!0})),c&&(0,r.createElement)("div",{className:"bd-faq-cgt-field generated-answer"},(0,r.createElement)("label",{className:"bd-faq-label"},(0,l.__)("Generated FAQ","betterdocs")),(0,r.createElement)("div",{className:"betterdocs-ai-content-wrapper"},(0,r.createElement)("p",{className:"betterdocs-ai-content",dangerouslySetInnerHTML:{__html:c}})))),(0,r.createElement)("div",{className:"bd-faq-ctg-footer"},(0,r.createElement)("button",{type:"submit",className:"bd-faq-button "+(h?"button-ghost":"button-success"),disabled:f},(0,r.createElement)("span",{className:"bd-faq-text"},f?(0,l.__)("Generating…","betterdocs"):h?(0,l.__)("Regenerate FAQ","betterdocs"):(0,l.__)("Generate FAQ","betterdocs"))),h&&(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-success",onClick:()=>(n({...a,answer:a?.aiAnswer||a?.answer||""}),void y())},(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Keep","betterdocs"))))),(0,r.createElement)("button",{type:"button",className:"bd-faq-modal-close-button",onClick:()=>y()},(0,r.createElement)("svg",{width:"15",height:"14",viewBox:"0 0 15 14",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,r.createElement)("path",{d:"M1.69687 14L0.296875 12.6L5.89687 7L0.296875 1.4L1.69687 0L7.29688 5.6L12.8969 0L14.2969 1.4L8.69688 7L14.2969 12.6L12.8969 14L7.29688 8.4L1.69687 14Z",fill:"currentColor"}))))};var _=n(20736),R=n(74316);const F=({reFetchFaqList:e,createFaqAt:t,setCreateFaqAt:n,reFetchCategories:a,topLevel:i=!1,groups:d=[],onClose:p})=>{var h,g;const[v,y]=(0,r.useState)(!1),{bumpStats:w,setFocusTarget:x}=(0,_.g)(),{taxonomy:C}=(0,R.Iz)(),O=(0,m.jE)(),q=o().useRef(null),D=o().useRef(!1),P=(0,r.useCallback)((()=>{if(!i||D.current)return;if(!q.current)return;D.current=!0;const e=()=>{if(!q.current)return;const e=(0,s.ol)(),t=window.scrollY+q.current.getBoundingClientRect().top-e;window.scrollTo({top:t,behavior:"smooth"})};requestAnimationFrame(e),setTimeout(e,350)}),[i]);(0,r.useEffect)((()=>{if(!i)return;const e=setTimeout(P,800);return()=>clearTimeout(e)}),[i,P]);const[F,N]=(0,r.useState)(""),{data:T}=(0,u.I)(["faqGroupsForPicker",C],(()=>(0,s.pk)("",C)),{enabled:i}),L=i&&Array.isArray(T)&&T.length?T:d,M=[{value:"",label:(0,l.__)("Uncategorized","betterdocs")},...(L||[]).map((e=>({value:e?.id,label:(0,f.decodeEntities)(e?.name)})))],B=()=>{i?p?.():n(null)},[j,U]=(0,r.useState)({question:"",answer:"",aiAnswer:null}),[V,H]=(0,r.useState)({question:"",answer:""}),[G,z]=(0,r.useState)(null),[$,W]=(0,r.useState)(!1);return(0,r.useEffect)((()=>{(0,s.uF)().then((e=>{z(e)})).catch((function(e){console.log(e)}))}),[]),(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"bd-faq-create-new",ref:q},(0,r.createElement)("form",{onSubmit:n=>{if(n.preventDefault(),$)return;const r=(0,S.q)(j,{question:{required:{value:!0,message:(0,l.__)("Please insert your question here.","betterdocs")}},answer:{minLength:{value:9,stripHtml:!0,message:(0,l.__)("Answer must not be Empty.","betterdocs")}}});r.valid?r.valid&&(H({question:"",answer:""}),W(!0),(0,s.Dc)({term_id:i?F||null:t,post_title:j?.question,post_content:j?.answer},C).then((n=>{if(e(),a(),w(),n){var r;c.oR.success((0,l.__)("FAQ created.","betterdocs"));const e="object"==typeof n?null!==(r=n?.id)&&void 0!==r?r:n?.ID:n;i?F?x({groupId:F,faqId:e}):(O.invalidateQueries(["uncategorizedFaq",C]),x({groupId:"uncategorized",faqId:e})):t&&x({groupId:t,faqId:e})}})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})).finally((()=>{W(!1),B()}))):H(r.errors)}},(0,r.createElement)("div",{className:"bd-faq-create-new-body"},i&&(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label"},(0,l.__)("FAQ Group","betterdocs")),(0,r.createElement)(b.Ay,{className:"bd-faq-select",classNamePrefix:"bd-faq-select",isClearable:!1,options:M,value:M.find((e=>e.value===F))||M[0],onChange:e=>{var t;return N(null!==(t=e?.value)&&void 0!==t?t:"")},menuPortalTarget:"undefined"!=typeof document?document.body:null,menuPlacement:"auto",styles:{menuPortal:e=>({...e,zIndex:9999})},placeholder:(0,l.__)("Select a FAQ group…","betterdocs")})),(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label",required:!0},(0,l.__)("Question","betterdocs")),(0,r.createElement)("div",{className:"bd-faq-cgt-field-wrapper"},(0,r.createElement)("input",{type:"text",className:"bd-faq-input",name:"faq-question",value:j?.question,onChange:e=>U({...j,question:e.target.value.replace(/^\s+/,"")}),placeholder:(0,l.__)("Add New Question","betterdocs")}),G&&(null===(h=G?.enable_faq_write_with_ai)||void 0===h||h)&&(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-success bd-write-with-ai-button",onClick:e=>{y(!0)}},(0,r.createElement)(I,null),(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Write With AI","betterdocs")))),(0,r.createElement)(A.A,{error:V.question})),(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label",required:!0},(0,l.__)("Answer","betterdocs")),(0,r.createElement)(E,{value:j?.answer,aiValue:j?.aiAnswer,onChange:e=>{U({...j,answer:e})},placeholder:(0,l.__)("Write your Answer here.","betterdocs"),onReady:i?P:void 0}),(0,r.createElement)(A.A,{error:V.answer}))),(0,r.createElement)("div",{className:"bd-faq-create-new-footer"},(0,r.createElement)("div",{className:"bd-faq-button-group"},(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-ghost",onClick:()=>{B()}},(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Cancel","betterdocs"))),(0,r.createElement)("button",{type:"submit",className:"bd-faq-button button-success",disabled:$},(0,r.createElement)("span",{className:"bd-faq-text"},$?(0,l.__)("Creating…","betterdocs"):(0,l.__)("Create","betterdocs"))))))),v&&G&&(null===(g=G?.enable_faq_write_with_ai)||void 0===g||g)&&(0,r.createElement)(k,{open:!0,setFormFields:U,formFields:j,setShowFaqAIModalForm:y}))};var N,T,L,M,B,j;function U(){return U=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},U.apply(null,arguments)}const V=e=>r.createElement("svg",U({xmlns:"http://www.w3.org/2000/svg",width:15,height:15,fill:"currentColor",viewBox:"0 0 24 24"},e),N||(N=r.createElement("circle",{cx:9,cy:6,r:1.4})),T||(T=r.createElement("circle",{cx:9,cy:12,r:1.4})),L||(L=r.createElement("circle",{cx:9,cy:18,r:1.4})),M||(M=r.createElement("circle",{cx:15,cy:6,r:1.4})),B||(B=r.createElement("circle",{cx:15,cy:12,r:1.4})),j||(j=r.createElement("circle",{cx:15,cy:18,r:1.4})));var H;function G(){return G=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},G.apply(null,arguments)}const z=e=>r.createElement("svg",G({xmlns:"http://www.w3.org/2000/svg",fill:"none",stroke:"currentColor",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2,viewBox:"0 0 24 24"},e),H||(H=r.createElement("path",{d:"M3 6h18M8 6V4a2 2 0 0 1 2-2h4a2 2 0 0 1 2 2v2M19 6v14a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V6M10 11v6M14 11v6"})));var $;function W(){return W=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},W.apply(null,arguments)}const Q=e=>r.createElement("svg",W({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 491.996 491.996"},e),$||($=r.createElement("path",{d:"m484.132 124.986-16.116-16.228c-5.072-5.068-11.82-7.86-19.032-7.86-7.208 0-13.964 2.792-19.036 7.86l-183.84 183.848L62.056 108.554c-5.064-5.068-11.82-7.856-19.028-7.856s-13.968 2.788-19.036 7.856l-16.12 16.128c-10.496 10.488-10.496 27.572 0 38.06l219.136 219.924c5.064 5.064 11.812 8.632 19.084 8.632h.084c7.212 0 13.96-3.572 19.024-8.632l218.932-219.328c5.072-5.064 7.856-12.016 7.864-19.224 0-7.212-2.792-14.068-7.864-19.128"})));var Y,K,Z;function X(){return X=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},X.apply(null,arguments)}const J=e=>r.createElement("svg",X({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 512 512"},e),Y||(Y=r.createElement("path",{d:"M352.459 220c0-11.046-8.954-20-20-20h-206c-11.046 0-20 8.954-20 20s8.954 20 20 20h206c11.046 0 20-8.954 20-20M126.459 280c-11.046 0-20 8.954-20 20s8.954 20 20 20H251.57c11.046 0 20-8.954 20-20s-8.954-20-20-20z"})),K||(K=r.createElement("path",{d:"M173.459 472H106.57c-22.056 0-40-17.944-40-40V80c0-22.056 17.944-40 40-40h245.889c22.056 0 40 17.944 40 40v123c0 11.046 8.954 20 20 20s20-8.954 20-20V80c0-44.112-35.888-80-80-80H106.57c-44.112 0-80 35.888-80 80v352c0 44.112 35.888 80 80 80h66.889c11.046 0 20-8.954 20-20s-8.954-20-20-20"})),Z||(Z=r.createElement("path",{d:"M467.884 289.572c-23.394-23.394-61.458-23.395-84.837-.016l-109.803 109.56a20 20 0 0 0-5.01 8.345l-23.913 78.725a20 20 0 0 0 24.476 25.087l80.725-22.361a20 20 0 0 0 8.79-5.119l109.573-109.367c23.394-23.394 23.394-61.458-.001-84.854M333.776 451.768l-40.612 11.25 11.885-39.129 74.089-73.925 28.29 28.29zM439.615 346.13l-3.875 3.867-28.285-28.285 3.862-3.854c7.798-7.798 20.486-7.798 28.284 0s7.798 20.486.014 28.272M332.459 120h-206c-11.046 0-20 8.954-20 20s8.954 20 20 20h206c11.046 0 20-8.954 20-20s-8.954-20-20-20"})));var ee,te,ne,re,oe,ae,ie,se,le;function ce(){return ce=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ce.apply(null,arguments)}const ue=e=>r.createElement("svg",ce({xmlns:"http://www.w3.org/2000/svg",fill:"none","aria-hidden":"true",viewBox:"0 0 124 132"},e),ee||(ee=r.createElement("rect",{width:68,height:90,x:24,y:16,fill:"#fff",stroke:"#E2E5EA",strokeWidth:2,rx:10,transform:"rotate(-7 58 61)"})),te||(te=r.createElement("rect",{width:72,height:96,x:30,y:24,fill:"#fff",stroke:"#DDE1E6",strokeWidth:2,rx:11})),ne||(ne=r.createElement("rect",{width:44,height:6,x:44,y:46,fill:"#E4E7EC",rx:3})),re||(re=r.createElement("rect",{width:34,height:6,x:44,y:60,fill:"#E9ECF0",rx:3})),oe||(oe=r.createElement("rect",{width:40,height:6,x:44,y:74,fill:"#E9ECF0",rx:3})),ae||(ae=r.createElement("rect",{width:26,height:6,x:44,y:88,fill:"#EDEFF2",rx:3})),ie||(ie=r.createElement("circle",{cx:96,cy:34,r:18,fill:"var(--base-color-700)"})),se||(se=r.createElement("path",{stroke:"#fff",strokeLinecap:"round",strokeLinejoin:"round",strokeWidth:2.4,d:"M91 30a5 5 0 0 1 10 .5c0 3-5 4-5 7.5"})),le||(le=r.createElement("circle",{cx:96,cy:44,r:1.5,fill:"#fff"}))),de=()=>(0,r.createElement)("div",{className:"bd-empty-faq-category"},(0,r.createElement)("div",{className:"bd-faq-empty-icon"},(0,r.createElement)(ue,null)),(0,r.createElement)("h2",{className:"bd-faq-empty-title"},(0,l.__)("No FAQ Found!","betterdocs"))),pe=({count:e})=>{const t=Math.min(Math.max(Number(e)||3,1),10);return(0,r.createElement)("div",{className:"bd-faq-skeleton bd-faq-skeleton--faq"},Array.from({length:t}).map(((e,t)=>(0,r.createElement)("div",{className:"bd-faq-skeleton__card",key:t},(0,r.createElement)("span",{className:"bd-faq-skeleton__grip"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__text"},(0,r.createElement)("span",{className:"bd-faq-skeleton__line bd-faq-skeleton__line--title"})),(0,r.createElement)("span",{className:"bd-faq-skeleton__toggle"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__icon"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__icon"}),(0,r.createElement)("span",{className:"bd-faq-skeleton__icon"})))))};var fe=n(8539);const me=({categoriesLoading:e,allFaqCategories:t,reFetchCategories:n,reFetchFaqList:o,faq:a,faqExpanded:i,setFaqExpanded:d,setReFetchFaqForCategory:p,showFaqAIModalForm:m,setShowFaqAIModalForm:h,settings:g})=>{var b,v;const{taxonomy:y}=(0,R.Iz)(),{setFocusTarget:w}=(0,_.g)(),{data:x}=(0,u.I)(["faqGroupsForPicker",y],(()=>(0,s.pk)("",y))),[C,O]=(0,r.useState)({question:(0,f.decodeEntities)(a?.title?.rendered?a?.title?.rendered:a?.post_title?a?.post_title:""),answer:a?.content?.rendered?a?.content?.rendered:a?.post_content?a?.post_content:"",aiAnswer:null}),[q,D]=(0,r.useState)({default:{value:null,label:"Uncategorized"},cats:[]}),[P,F]=(0,r.useState)("not-set"),[N,T]=(0,r.useState)(!1),[L,M]=(0,r.useState)(!1),[B,j]=(0,r.useState)(0),[U,V]=(0,r.useState)(1==a?.meta?.faq_open_by_default);(0,r.useEffect)((()=>{i==(a?.id||a?.ID)&&(O({question:(0,f.decodeEntities)(a?.title?.rendered?a?.title?.rendered:a?.post_title?a?.post_title:""),answer:a?.content?.rendered?a?.content?.rendered:a?.post_content?a?.post_content:""}),j((e=>e+1)))}),[i]),(0,r.useEffect)((()=>{const e=Array.isArray(x)&&x.length?x:t;if(e?.length){let t;if(a?.betterdocs_faq_category){let n=e?.find((e=>e?.id==a?.betterdocs_faq_category[0]||e?.term_id==a?.betterdocs_faq_category[0]));t={value:n?.id||n?.term_id,label:(0,f.decodeEntities)(n?.name)}}else t={value:null,label:"Uncategorized"};let n=e?.map((e=>({value:e?.id||e?.term_id,label:(0,f.decodeEntities)(e?.name)})));D({default:t,cats:[...n]})}}),[x,t,a]);const[H,G]=(0,r.useState)({question:"",answer:""}),z=()=>{G({question:"",answer:""})},$=(e,t)=>{!N&&e?(T(!0),window.lastRequest=null,(0,s.pk)(e,y).then((e=>{t(e?.map((e=>({value:e?.id,label:e?.name}))))})).catch((e=>t([]))).finally((()=>{if(T(!1),window.lastRequest){const e=window.lastRequest;window.lastRequest=null,$(...e)}}))):window.lastRequest=[e,t]};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"bd-faq-create-new"},(0,r.createElement)("form",{onSubmit:e=>{if(e.preventDefault(),L)return;const t=(0,S.q)(C,{question:{required:{value:!0,message:(0,l.__)("Please insert your question here.","betterdocs")}},answer:{minLength:{value:9,stripHtml:!0,message:(0,l.__)("Answer must not be Empty.","betterdocs")}}});t.valid?t.valid&&(z(),M(!0),(0,s.g1)(P&&"not-set"!=P?{post_id:a?.id||a?.ID,post_title:C?.question,post_content:C?.answer,term_id:P}:{post_id:a?.id||a?.ID,post_title:C?.question,post_content:C?.answer},y).then((e=>{e&&c.oR.success((0,l.__)("FAQ updated.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})).finally((()=>{M(!1),n(),o(P),P&&"not-set"!=P&&(p(P),w({groupId:P,faqId:a?.id||a?.ID}))}))):G(t.errors)}},(0,r.createElement)("div",{className:"bd-faq-create-new-body"},q?.cats?.length?(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label"},(0,l.__)("FAQ Group","betterdocs")),(0,r.createElement)(fe.A,{cacheOptions:!0,className:"bd-faq-select",classNamePrefix:"bd-faq-select",defaultOptions:q?.cats,defaultValue:q?.default,isLoading:e,isClearable:!1,isSearchable:!0,name:"category",loadOptions:$,onChange:e=>(e=>{F(null==e?"not-set":e?.value)})(e),noOptionsMessage:()=>"No FAQ Group Found!",menuPortalTarget:document.body,menuPosition:"fixed",styles:{menuPortal:e=>({...e,zIndex:9999})}})):"",(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label",required:!0},(0,l.__)("Question","betterdocs")),(0,r.createElement)("div",{className:"bd-faq-cgt-field-wrapper"},(0,r.createElement)("input",{type:"text",className:"bd-faq-input",name:"faq-question",value:C?.question,onChange:e=>O({...C,question:e.target.value.replace(/^\s+/,"")}),placeholder:(0,l.__)("Add New Question","betterdocs")}),g&&(null===(b=g?.enable_faq_write_with_ai)||void 0===b||b)&&(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-success bd-write-with-ai-button",onClick:e=>{h(!0)}},(0,r.createElement)(I,null),(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Write With AI","betterdocs")))),(0,r.createElement)(A.A,{error:H.question})),(0,r.createElement)("div",{className:"bd-faq-cgt-field"},(0,r.createElement)("label",{className:"bd-faq-label",required:!0},(0,l.__)("Answer","betterdocs")),(0,r.createElement)(E,{value:C?.answer,aiValue:C?.aiAnswer,onChange:e=>{O({...C,answer:e.replace(/^\s+/,"")})},resetKey:B,placeholder:(0,l.__)("Write your Answer here.","betterdocs")}),(0,r.createElement)(A.A,{error:H.answer}))),(0,r.createElement)("div",{className:"bd-faq-create-new-footer"},(0,r.createElement)("div",{className:"bd-toggle-switcher-group"},(0,r.createElement)("p",null,(0,l.__)("Keep It Open By default","betterdocs")),(0,r.createElement)("label",{className:"bd-faq-toggler"},(0,r.createElement)("input",{type:"checkbox",checked:U,onChange:()=>{(e=>{V(!U),(0,s.i4)(e?.id||e?.ID,!U)})(a)},className:"checkbox"}),(0,r.createElement)("span",{className:"knobs"}),(0,r.createElement)("span",{className:"layer"}))),(0,r.createElement)("div",{className:"bd-faq-button-group"},(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-ghost",onClick:()=>(d(void 0),O({question:"",answer:""}),z(),void F("not-set"))},(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Cancel","betterdocs"))),(0,r.createElement)("button",{type:"submit",className:"bd-faq-button button-success",disabled:L},(0,r.createElement)("span",{className:"bd-faq-text"},L?(0,l.__)("Updating…","betterdocs"):(0,l.__)("Update","betterdocs"))))))),m&&g&&(null===(v=g?.enable_faq_write_with_ai)||void 0===v||v)&&(0,r.createElement)(k,{open:!0,setFormFields:O,formFields:C,setShowFaqAIModalForm:h}))};var he;function ge(){return ge=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ge.apply(null,arguments)}const be=e=>r.createElement("svg",ge({xmlns:"http://www.w3.org/2000/svg",xmlSpace:"preserve",viewBox:"0 0 352.8 352.8"},e),he||(he=r.createElement("path",{d:"M318.54 57.28h-47.65V15c0-8.28-6.72-15-15-15H34.26c-8.28 0-15 6.72-15 15v265.52c0 8.28 6.72 15 15 15h47.65v42.28c0 8.28 6.72 15 15 15h221.63c8.28 0 15-6.72 15-15V72.28c0-8.28-6.72-15-15-15M49.26 265.52V30h191.62v27.28H96.92c-8.28 0-15 6.72-15 15v193.24zm254.28 57.28H111.92V87.28h191.62z"})));var ve,ye;function we(){return we=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},we.apply(null,arguments)}const Ee=e=>r.createElement("svg",we({xmlns:"http://www.w3.org/2000/svg",width:14,height:14,fill:"none"},e),ve||(ve=r.createElement("g",{clipPath:"url(#magic_svg__a)"},r.createElement("path",{stroke:"#A0A8B2",strokeLinecap:"round",strokeLinejoin:"round",d:"m6.927 13.202-3 .26.26-2.999 6.24-6.201a1 1 0 0 1 1.43 0l1.27 1.28a1 1 0 0 1 0 1.42zM.843 3.973c-.351-.061-.351-.565 0-.626A3.18 3.18 0 0 0 3.401.897L3.422.8c.076-.346.57-.349.651-.002l.025.112a3.19 3.19 0 0 0 2.564 2.436c.353.06.353.567 0 .629a3.19 3.19 0 0 0-2.567 2.434l-.026.113c-.079.346-.573.344-.649-.003l-.02-.097a3.18 3.18 0 0 0-2.56-2.45z"}))),ye||(ye=r.createElement("defs",null,r.createElement("clipPath",{id:"magic_svg__a"},r.createElement("path",{fill:"#fff",d:"M0 0h14v14H0z"}))))),xe=({data:e,index:t,category:n,categoriesLoading:o,allFaqCategories:a,reFetchCategories:i,reFetchFaqList:u,setCreateFaqAt:p,faqExpanded:m,setFaqExpanded:h,setReFetchFaqForCategory:b,settings:v,order:y})=>{const[w,E]=(0,r.useState)(e?.status),[x,C]=(0,r.useState)(!1),{bumpStats:A,highlightFaqId:S,setHighlightFaqId:O}=(0,_.g)(),{taxonomy:I}=(0,R.Iz)(),[q,D]=(0,r.useState)(!1),P=null!=S&&String(S)===String(e?.id);(0,r.useEffect)((()=>{P&&(D(!0),(0,s.su)(`faq-${e?.id}`),O(null))}),[P]),(0,r.useEffect)((()=>{if(!q)return;const e=setTimeout((()=>D(!1)),2e3);return()=>clearTimeout(e)}),[q]),(0,r.useEffect)((()=>{E(e?.status)}),[e]),(0,r.useEffect)((()=>{void 0!==m&&p(null)}),[m]);const k=e=>{h(e?.id)},F=e=>{m===e?.id?h(void 0):(h(e?.id),(0,s.su)(`faq-${e?.id}`))};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.sx,{key:e?.id,draggableId:e?.id.toString(),index:t,isDragDisabled:"default"!==y},((t,d)=>{var p,y,S;return(0,r.createElement)("div",{className:"bd-faq"+(q?" bd-faq--highlight":""),"data-bd-expand-id":`faq-${e?.id}`,ref:t.innerRef,...t.draggableProps,style:(y=d.isDragging,S=t.draggableProps.style,{boxShadow:y&&"0 0 5px rgba(0, 0, 0, 0.5)",...S})},(0,r.createElement)("div",{className:"bd-faq-head"},(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-drag-button",...t.dragHandleProps},(0,r.createElement)(V,null)),(0,r.createElement)("div",{className:"bd-faq-title-wrap",onClick:()=>F(e),style:{cursor:"pointer"}},(0,r.createElement)("h3",{className:"bd-faq-title"},(0,f.decodeEntities)(e?.title?.rendered)),"draft"===w&&(0,r.createElement)("span",{className:"bd-faq-status-badge"},(0,l.__)("Drafted","betterdocs"))),(0,r.createElement)("label",{className:"bd-faq-toggler"},(0,r.createElement)("input",{type:"checkbox",checked:"publish"===w,onChange:()=>{return t=e?.id,void(0,s.t6)(t,"publish"===w?"draft":"publish").then((()=>{E("publish"===w?"draft":"publish"),i(),A(),"publish"===w?c.oR.error((0,l.__)("FAQ Disabled.","betterdocs")):c.oR.success((0,l.__)("FAQ Enabled.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}));var t},className:"checkbox"}),(0,r.createElement)("span",{className:"knobs"}),(0,r.createElement)("span",{className:"layer"})),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>k(e)},(0,r.createElement)(J,null)),v&&(null===(p=v?.enable_faq_write_with_ai)||void 0===p||p)&&(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button magic-icon",onClick:()=>{k(e),C(!0)}},(0,r.createElement)(Ee,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>{g().fire({title:(0,l.__)("Duplicate this FAQ?","betterdocs"),icon:"info",showConfirmButton:!0,showCancelButton:!0,confirmButtonText:(0,l.__)("Yes","betterdocs"),cancelButtonText:(0,l.__)("No","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((t=>{t.isConfirmed&&(0,s.Dc)({term_id:n,post_title:"Copy "+e?.title?.rendered,post_content:e?.content?.rendered},I).then((e=>{e&&(u(),i(),A(),c.oR.success((0,l.__)("FAQ duplicated.","betterdocs")))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}))}))}},(0,r.createElement)(be,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button delete-icon",onClick:()=>{return t=e?.id,void g().fire({title:(0,l.__)("Delete this FAQ?","betterdocs"),icon:"warning",showCancelButton:!0,confirmButtonText:(0,l.__)("Yes, delete it!","betterdocs"),cancelButtonText:(0,l.__)("Cancel","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((e=>{e.isConfirmed&&(0,s.md)(t).then((()=>{u(),i(),A(),c.oR.success((0,l.__)("FAQ deleted.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}))}));var t}},(0,r.createElement)(z,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-accordion-icon "+(m===e?.id?"active":""),onClick:()=>F(e)},(0,r.createElement)(Q,null))),(0,r.createElement)("div",{className:"bd-faq-body "+(m===e?.id?"active":"")},(0,r.createElement)("div",{className:"bd-faq-body-inner"},(0,r.createElement)(me,{categoriesLoading:o,allFaqCategories:a,reFetchCategories:i,faq:e,reFetchFaqList:u,faqExpanded:m,setFaqExpanded:h,setReFetchFaqForCategory:b,showFaqAIModalForm:x,setShowFaqAIModalForm:C,settings:v}))))})))},Ce=({category:e,order:t,allFaqCategories:n,changeFaqSort:o,reFetchFaqForCategory:a,createFaqAt:i,categoriesLoading:l,reFetchCategories:c,setCreateFaqAt:f,faqExpanded:m,setFaqExpanded:h,setReFetchFaqForCategory:g,setChangeFaqSort:b,setReFetchData:v})=>{const{taxonomy:y}=(0,R.Iz)(),{isLoading:w,data:E,refetch:x}=(0,u.I)(["allFaqList",e?.id,y],s.Ws),[C,A]=(0,r.useState)([]);return(0,r.useEffect)((()=>{x()}),[n]),(0,r.useEffect)((()=>{v({func:x})}),[E]),(0,r.useEffect)((()=>{if(!E?.length)return void A([]);if("a_to_z"===t)return void A([...E].sort(((e,t)=>{var n,r;return(null!==(n=e.title?.rendered)&&void 0!==n?n:"").localeCompare(null!==(r=t.title?.rendered)&&void 0!==r?r:"")})));if("z_to_a"===t)return void A([...E].sort(((e,t)=>{var n,r;return(null!==(n=t.title?.rendered)&&void 0!==n?n:"").localeCompare(null!==(r=e.title?.rendered)&&void 0!==r?r:"")})));if("most_recent"===t)return void A([...E].sort(((e,t)=>t.id-e.id)));if("least_recent"===t)return void A([...E].sort(((e,t)=>e.id-t.id)));const n=(e?.meta?._betterdocs_faq_order[0]||"").split(",").filter(Boolean).map(Number);if(n.length){const e=n.map((e=>E.find((t=>t.id===e)))).filter(Boolean),t=new Set(e.map((e=>e.id))),r=E.filter((e=>!t.has(e.id)));A([...e,...r])}else A(E)}),[E,t,e?.meta?._betterdocs_faq_order[0]]),(0,r.useEffect)((()=>{if(o?.destination?.droppableId==e?.id){let t=p(o,C);A(t),(0,s.qK)(e?.id,t?.map((e=>e?.id))?.toString()).then((()=>{c()})),b({})}}),[o]),(0,r.useEffect)((()=>{a&&a==e?.id&&(x(),g(null))}),[a]),(0,r.createElement)(d.gL,{droppableId:e?.id.toString(),type:"FAQ"},(o=>(0,r.createElement)("div",{...o.droppableProps,ref:o.innerRef,className:"bd-faq-list-droppable"},w?(0,r.createElement)(pe,{count:(Number(e?.count)||0)+(Number(e?.betterdocs_draft_count)||0)}):C?.length>0?C?.map(((o,a)=>(0,r.createElement)(xe,{key:o?.id,data:o,index:a,order:t,reFetchFaqList:x,category:e?.id,categoriesLoading:l,allFaqCategories:n,reFetchCategories:c,setCreateFaqAt:f,faqExpanded:m,setFaqExpanded:h,setReFetchFaqForCategory:g,settings:betterdocsFaq?.betterdocs_settings}))):i!==e?.id&&(0,r.createElement)(de,null),o.placeholder)))},Ae=({index:e,category:t,order:n,categoriesLoading:o,allFaqCategories:i,reFetchCategories:u,setFetchUncategorizedFaq:p,setUpdateCategory:h,categoryExpanded:b,setCategoryExpanded:v,setCreateFaqAt:y,createFaqAt:w,faqExpanded:E,setFaqExpanded:x,changeFaqSort:C,setChangeFaqSort:A,reFetchFaqForCategory:S,setReFetchFaqForCategory:O,setShowFaqAIModalForm:I,highlightGroupId:q})=>{const{taxonomy:D}=(0,R.Iz)(),{highlightFaqId:P,bumpStats:k}=(0,_.g)(),N=(0,m.jE)(),T=()=>{N.invalidateQueries({queryKey:["allFaqCategories"]}),N.invalidateQueries({queryKey:["uncategorizedFaq"]}),"function"==typeof k&&k()},[L,M]=(0,r.useState)(),[B,j]=(0,r.useState)(t?.meta?.status?.[0]),U=(0,r.useRef)(!1),[H,G]=(0,r.useState)(!1),$=null!=q&&String(q)===String(t?.id);(0,r.useEffect)((()=>{$&&(null!=P?v(t?.id):G(!0),(0,s.su)(`ctg-${t?.id}`))}),[$]),(0,r.useEffect)((()=>{if(!H)return;const e=setTimeout((()=>G(!1)),2e3);return()=>clearTimeout(e)}),[H]),(0,r.useEffect)((()=>{b!==w&&y(null)}),[b,w]),(0,r.useEffect)((()=>{j(t?.meta?.status[0])}),[t?.meta?.status[0]]);const W=e=>{b==e?(v(void 0),x(void 0),y(null)):(v(e),(0,s.su)(`ctg-${e}`))},Y=e=>{U.current||(U.current=!0,(0,s.Bp)(e,"1"===B?"0":"1").then((()=>{"1"===B?c.oR.error((0,l.__)("FAQ Group Disabled.","betterdocs")):c.oR.success((0,l.__)("FAQ Group Enabled.","betterdocs")),u()})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})).finally((()=>{U.current=!1})))};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)(d.sx,{key:t?.id,draggableId:t?.id.toString(),index:e,isDragDisabled:"default"!==n},((e,d)=>{return(0,r.createElement)("div",{className:"bd-faq-ctg"+(H?" bd-faq-ctg--highlight":""),"data-bd-expand-id":`ctg-${t?.id}`,ref:e.innerRef,...e.draggableProps,style:(p=d.isDragging,m=e.draggableProps.style,{boxShadow:p&&"0 0 5px rgba(0, 0, 0, 0.5)",...m})},(0,r.createElement)("div",{className:"bd-faq-ctg-head"},(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-ctg-drag-button",...e.dragHandleProps},(0,r.createElement)(V,null)),(0,r.createElement)("div",{className:"bd-faq-ctg-title-wrap",onClick:()=>W(t?.id),style:{cursor:"pointer"}},(0,r.createElement)("h3",{className:"bd-faq-ctg-title"},(0,f.decodeEntities)(t?.name)),void 0!==t?.count&&(0,r.createElement)("span",{className:"bd-faq-ctg-meta"},(0,r.createElement)("span",{className:"bd-faq-ctg-meta-count"},t?.betterdocs_draft_count>0?(0,l.sprintf)(/* translators: %d: number of published FAQs in this group. */ /* translators: %d: number of published FAQs in this group. */ |
| 4 |
(0,l._n)("%d draft","%d drafts",t?.betterdocs_draft_count,"betterdocs"),t?.betterdocs_draft_count))))),(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-secondary",onClick:()=>{return e=t?.id,y(e),x(void 0),v(e),void(0,s.su)(`ctg-${e}`);var e}},(0,r.createElement)("span",{className:"action-button-icon"},(0,r.createElement)(a.uI,null)),(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Add a New FAQ","betterdocs"))),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>h(t)},(0,r.createElement)(J,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button delete-icon",onClick:()=>{return e=t?.id,void g().fire({title:(0,l.__)("Delete this FAQ Group?","betterdocs"),icon:"warning",showConfirmButton:!0,showCancelButton:!0,confirmButtonText:(0,l.__)("Yes","betterdocs"),cancelButtonText:(0,l.__)("No","betterdocs"),input:"checkbox",inputValue:0,inputPlaceholder:(0,l.__)("Also delete all FAQs inside this FAQ Group","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((t=>{t?.isConfirmed&&(0==t?.value?(0,s.IE)(e,!1,D).then((()=>{T(),c.oR.success((0,l.__)("FAQ Group deleted.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})):(0,s.IE)(e,!0,D).then((()=>{T(),c.oR.success((0,l.__)("FAQ Group deleted with all FAQs.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})))}));var e}},(0,r.createElement)(z,null)),(0,r.createElement)("label",{className:"bd-faq-toggler",onClick:()=>Y(t?.id)},(0,r.createElement)("input",{type:"checkbox",checked:"1"===B,onChange:()=>Y(t?.id),className:"checkbox"}),(0,r.createElement)("span",{className:"knobs"}),(0,r.createElement)("span",{className:"layer"})),(0,r.createElement)("button",{type:"button",className:"bd-faq-accordion-icon "+(b==t?.id?"active":""),onClick:()=>W(t?.id)},(0,r.createElement)(Q,null))),(0,r.createElement)("div",{className:"bd-faq-category-body "+(b==t?.id?"active":"")},(0,r.createElement)("div",{className:"bd-faq-category-body-clip"},(0,r.createElement)("div",{className:"bd-faq-category-body-inner"},w===t?.id&&(0,r.createElement)(F,{reFetchFaqList:L?.func,createFaqAt:w,setCreateFaqAt:y,reFetchCategories:u,setShowFaqAIModalForm:I}),b==t?.id?(0,r.createElement)(Ce,{category:t,order:n,allFaqCategories:i,changeFaqSort:C,reFetchFaqForCategory:S,createFaqAt:w,categoriesLoading:o,reFetchCategories:u,setCreateFaqAt:y,faqExpanded:E,setFaqExpanded:x,setReFetchFaqForCategory:O,setChangeFaqSort:A,setReFetchData:M}):""))));var p,m})))},Se=({data:e,categoriesLoading:t,allFaqCategories:n,reFetchCategories:o,reFetchFaqList:a,setCreateFaqAt:i,faqExpanded:u,setFaqExpanded:d,setReFetchFaqForCategory:p,settings:f})=>{var h;const[b,v]=(0,r.useState)(e?.post_status),[y,w]=(0,r.useState)(!1),{bumpStats:E,highlightFaqId:x,setHighlightFaqId:C}=(0,_.g)(),{taxonomy:A}=(0,R.Iz)(),S=(0,m.jE)(),[O,I]=(0,r.useState)(!1),q=null!=x&&String(x)===String(e?.ID);(0,r.useEffect)((()=>{q&&(I(!0),(0,s.su)(`faq-${e?.ID}`),C(null))}),[q]),(0,r.useEffect)((()=>{if(!O)return;const e=setTimeout((()=>I(!1)),2e3);return()=>clearTimeout(e)}),[O]),(0,r.useEffect)((()=>{void 0!==u&&i(null)}),[u]);const D=e=>{d(e?.ID)},P=e=>{u===e?.ID?d(void 0):(d(e?.ID),(0,s.su)(`faq-${e?.ID}`))};return(0,r.createElement)("div",{className:"bd-faq"+(O?" bd-faq--highlight":""),"data-bd-expand-id":`faq-${e?.ID}`},(0,r.createElement)("div",{className:"bd-faq-head"},(0,r.createElement)("h3",{className:"bd-faq-title",onClick:()=>P(e)},e?.post_title),(0,r.createElement)("label",{className:"bd-faq-toggler",onClick:()=>{return t=e?.ID,void(0,s.t6)(t,"publish"===b?"draft":"publish").then((()=>{v("publish"===b?"draft":"publish"),o&&o(),E(),"publish"===b?c.oR.error((0,l.__)("FAQ Disabled.","betterdocs")):c.oR.success((0,l.__)("FAQ Enabled.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}));var t}},(0,r.createElement)("input",{type:"checkbox",checked:"publish"===b,className:"checkbox"}),(0,r.createElement)("span",{className:"knobs"}),(0,r.createElement)("span",{className:"layer"})),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>D(e)},(0,r.createElement)(J,null)),f&&(null===(h=f?.enable_faq_write_with_ai)||void 0===h||h)&&(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button magic-icon",onClick:()=>{D(e),w(!0)}},(0,r.createElement)(Ee,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>{g().fire({title:(0,l.__)("Duplicate this FAQ?","betterdocs"),icon:"info",showConfirmButton:!0,showCancelButton:!0,confirmButtonText:(0,l.__)("Yes","betterdocs"),cancelButtonText:(0,l.__)("No","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((t=>{t.isConfirmed&&(0,s.Dc)({term_id:null,post_title:"Copy "+e?.post_title,post_content:e?.post_content}).then((e=>{e&&(c.oR.success((0,l.__)("FAQ duplicated.","betterdocs")),a(),E())})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}))}))}},(0,r.createElement)(be,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button delete-icon",onClick:()=>{return t=e?.ID,void g().fire({title:(0,l.__)("Delete this FAQ?","betterdocs"),icon:"warning",showCancelButton:!0,confirmButtonText:(0,l.__)("Yes, delete it!","betterdocs"),cancelButtonText:(0,l.__)("Cancel","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((e=>{e.isConfirmed&&(0,s.md)(t).then((()=>{c.oR.success((0,l.__)("FAQ deleted.","betterdocs")),S.setQueryData(["uncategorizedFaq",A],(e=>(e||[]).filter((e=>e?.ID!==t)))),E()})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}))}));var t}},(0,r.createElement)(z,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-accordion-icon "+(u===e?.ID?"active":""),onClick:()=>{P(e)}},(0,r.createElement)(Q,null))),(0,r.createElement)("div",{className:"bd-faq-body "+(u===e?.ID?"active":"")},(0,r.createElement)("div",{className:"bd-faq-body-inner"},(0,r.createElement)(me,{faq:e,reFetchFaqList:t=>{t&&"not-set"!==t?S.setQueryData(["uncategorizedFaq",A],(t=>(t||[]).filter((t=>t?.ID!==e?.ID)))):"function"==typeof a&&a()},categoriesLoading:t,allFaqCategories:n,reFetchCategories:o,faqExpanded:u,setFaqExpanded:d,setReFetchFaqForCategory:p,showFaqAIModalForm:y,setShowFaqAIModalForm:w,settings:f}))))},Oe=({categoriesLoading:e,allFaqCategories:t,reFetchCategories:n,allUncategorizedFaq:o,setFetchUncategorizedFaq:a,categoryExpanded:i,setCategoryExpanded:c,setCreateFaqAt:u,faqExpanded:d,setFaqExpanded:p,setReFetchFaqForCategory:f,uncategorizedFaqLoading:m,uncategorizedFaqFetching:h,highlightGroupId:g})=>{const b="uncategorized"===g;(0,r.useEffect)((()=>{b&&(c("uncategorized"),a&&a(),(0,s.su)("ctg-uncategorized"))}),[b]);const v=()=>{"uncategorized"==i?c(void 0):(c("uncategorized"),a&&a())};return(0,r.createElement)("div",{className:"bd-faq-ctg","data-bd-expand-id":"ctg-uncategorized"},(0,r.createElement)("div",{className:"bd-faq-ctg-head"},(0,r.createElement)("div",{className:"bd-faq-ctg-title-wrap",onClick:()=>v(),style:{cursor:"pointer"}},(0,r.createElement)("h3",{className:"bd-faq-ctg-title"},(0,l.__)("Uncategorized","betterdocs")),o?.length>0&&(0,r.createElement)("span",{className:"bd-faq-ctg-meta"},(0,r.createElement)("span",{className:"bd-faq-ctg-meta-count"},`${o.length} `,1===o.length?(0,l.__)("question","betterdocs"):(0,l.__)("questions","betterdocs")))),(0,r.createElement)("button",{type:"button",className:"bd-faq-accordion-icon "+("uncategorized"==i?"active":""),onClick:()=>v()},(0,r.createElement)(Q,null))),(0,r.createElement)("div",{className:"bd-faq-category-body "+("uncategorized"==i?"active":"")},(0,r.createElement)("div",{style:{overflow:"hidden"}},(0,r.createElement)("div",{className:"bd-faq-category-body-inner"},"uncategorized"==i&&(m?(0,r.createElement)(pe,null):o?.map((o=>(0,r.createElement)(Se,{key:o?.ID,data:o,reFetchFaqList:a,categoriesLoading:e,allFaqCategories:t,reFetchCategories:n,setCreateFaqAt:u,faqExpanded:d,setFaqExpanded:p,setReFetchFaqForCategory:f,settings:betterdocsFaq?.betterdocs_settings}))))))))};o().memo((({isLoading:e,categoriesLoading:t,categoriesFetching:n,allFaqCategories:o,reFetchCategories:a,setUpdateCategory:l,setUncategorizedLoading:c,setUncategorizedEmpty:p,setShowFaqAIModalForm:f,perPage:m,currentPage:h,order:g,highlightGroupId:b})=>{const{isProduct:v,taxonomy:y}=(0,R.Iz)(),{isLoading:w,isFetching:E,data:x,refetch:C}=(0,u.I)(["uncategorizedFaq",y],s.sh,{}),A=w,[S,O]=(0,r.useState)(null),[I,q]=(0,r.useState)(void 0),[D,P]=(0,r.useState)(void 0),[k,_]=(0,r.useState)([]),[F,N]=(0,r.useState)({}),[T,L]=(0,r.useState)(null);return(0,r.useEffect)((()=>{if(!o?.length)return void _([]);const e=[...o];"default"===g&&e.sort(((e,t)=>{var n,r;return(null!==(n=e?.meta?.order[0])&&void 0!==n?n:0)-(null!==(r=t?.meta?.order[0])&&void 0!==r?r:0)})),_(e)}),[o,g]),(0,r.useEffect)((()=>{p(!x?.length)}),[x]),(0,r.useEffect)((()=>{c(A)}),[A]),(0,r.createElement)(r.Fragment,null,e?"":(0,r.createElement)(d.JY,{onDragEnd:e=>{if(e.destination&&"default"===g)if("category"==e.type){const t=((e,t,n,r)=>{const o=t.map((e=>({id:e?.id,current_position:e?.meta?.order[0]})));let a=[],i=1!=n?r*n+1-10:n;o?.splice(e?.destination?.index,0,...o?.splice(e?.source?.index,1));for(let e=0;e<o?.length;e++)a.push({...o[e],updated_position:i.toString()}),i++;return a})(e,k,h,m);(0,s.mG)(t),P(void 0),_(k.map((e=>({...e,meta:{...e?.meta,order:[t.find((t=>t?.id===e?.id))?.updated_position]}}))).sort((function(e,t){return e?.meta?.order[0]-t?.meta?.order[0]})))}else N(e)}},(0,r.createElement)("div",{className:"bd-faq-ctg-list"},(0,r.createElement)(d.gL,{droppableId:"bdCategoryList",type:"category"},(e=>(0,r.createElement)("div",{...e.droppableProps,ref:e.innerRef,className:"bd-faq-ctg-list-droppable"},t?(0,r.createElement)(i,null):k?.map(((e,n)=>(0,r.createElement)(Ae,{key:e.id,index:n,category:e,order:g,categoriesLoading:t,allFaqCategories:o,reFetchCategories:a,createFaqAt:S,setFetchUncategorizedFaq:C,setUpdateCategory:l,categoryExpanded:D,setCategoryExpanded:P,setCreateFaqAt:O,faqExpanded:I,setFaqExpanded:q,changeFaqSort:F,setChangeFaqSort:N,reFetchFaqForCategory:T,setReFetchFaqForCategory:L,setShowFaqAIModalForm:f,highlightGroupId:b}))),e.placeholder))),x?.length||A?(0,r.createElement)(Oe,{categoriesLoading:t,allFaqCategories:o,reFetchCategories:a,allUncategorizedFaq:x,setFetchUncategorizedFaq:C,categoryExpanded:D,setCategoryExpanded:P,setCreateFaqAt:O,faqExpanded:I,setFaqExpanded:q,setReFetchFaqForCategory:L,uncategorizedFaqLoading:A,uncategorizedFaqFetching:E,highlightGroupId:b}):"")))})),n(43881),n(1455),n(82840);const Ie=({data:e,index:t,category:n,categoriesLoading:o,allFaqCategories:a,reFetchCategories:i,reFetchFaqList:u,setCreateFaqAt:d,faqExpanded:p,setFaqExpanded:m,setReFetchFaqForCategory:h,settings:b})=>{var v;const{taxonomy:y}=(0,R.Iz)(),[w,E]=(0,r.useState)(e?.status),[x,C]=(0,r.useState)(!1);(0,r.useEffect)((()=>{E(e?.status)}),[e]),(0,r.useEffect)((()=>{void 0!==p&&d(null)}),[p]);const A=e=>{m(e?.id)},S=e=>{p===e?.id?m(void 0):(m(e?.id),(0,s.su)(`faq-${e?.id}`))};return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"bd-faq","data-bd-expand-id":`faq-${e?.id}`},(0,r.createElement)("div",{className:"bd-faq-head"},(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-drag-button"},(0,r.createElement)(V,null)),(0,r.createElement)("div",{className:"bd-faq-title-wrap",onClick:()=>S(e),style:{cursor:"pointer"}},(0,r.createElement)("h3",{className:"bd-faq-title"},(0,f.decodeEntities)(e?.title?.rendered)),"draft"===w&&(0,r.createElement)("span",{className:"bd-faq-status-badge"},(0,l.__)("Drafted","betterdocs"))),(0,r.createElement)("label",{className:"bd-faq-toggler"},(0,r.createElement)("input",{type:"checkbox",checked:"publish"===w,onChange:()=>{return t=e?.id,void(0,s.t6)(t,"publish"===w?"draft":"publish").then((()=>{E("publish"===w?"draft":"publish"),"publish"===w?c.oR.error((0,l.__)("FAQ Disabled.","betterdocs")):c.oR.success((0,l.__)("FAQ Enabled.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}));var t},className:"checkbox"}),(0,r.createElement)("span",{className:"knobs"}),(0,r.createElement)("span",{className:"layer"})),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>A(e)},(0,r.createElement)(J,null)),b&&(null===(v=b?.enable_faq_write_with_ai)||void 0===v||v)&&(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button magic-icon",onClick:()=>{A(e),C(!0)}},(0,r.createElement)(Ee,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>{g().fire({title:(0,l.__)("Duplicate this FAQ?","betterdocs"),icon:"info",showConfirmButton:!0,showCancelButton:!0,confirmButtonText:(0,l.__)("Yes","betterdocs"),cancelButtonText:(0,l.__)("No","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((t=>{t.isConfirmed&&(0,s.Dc)({term_id:n,post_title:"Copy "+e?.title?.rendered,post_content:e?.content?.rendered},y).then((e=>{e&&(u(),i(),c.oR.success((0,l.__)("FAQ duplicated.","betterdocs")))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}))}))}},(0,r.createElement)(be,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button delete-icon",onClick:()=>{return t=e?.id,void g().fire({title:(0,l.__)("Delete this FAQ?","betterdocs"),icon:"warning",showCancelButton:!0,confirmButtonText:(0,l.__)("Yes, delete it!","betterdocs"),cancelButtonText:(0,l.__)("Cancel","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((e=>{e.isConfirmed&&(0,s.md)(t).then((()=>{u(),i(),c.oR.success((0,l.__)("FAQ deleted.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)}))}));var t}},(0,r.createElement)(z,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-accordion-icon "+(p===e?.id?"active":""),onClick:()=>S(e)},(0,r.createElement)(Q,null))),(0,r.createElement)("div",{className:"bd-faq-body "+(p===e?.id?"active":"")},(0,r.createElement)("div",{className:"bd-faq-body-inner"},(0,r.createElement)(me,{categoriesLoading:o,allFaqCategories:a,reFetchCategories:i,faq:e,reFetchFaqList:u,faqExpanded:p,setFaqExpanded:m,setReFetchFaqForCategory:h,showFaqAIModalForm:x,setShowFaqAIModalForm:C,settings:b})))))},qe=({category:e,allFaqCategories:t,changeFaqSort:n,reFetchFaqForCategory:o,createFaqAt:a,categoriesLoading:i,reFetchCategories:l,setCreateFaqAt:c,faqExpanded:d,setFaqExpanded:f,setReFetchFaqForCategory:m,setChangeFaqSort:h,setReFetchData:g})=>{const{taxonomy:b}=(0,R.Iz)(),{isLoading:v,data:y,refetch:w}=(0,u.I)(["allFaqList",e?.term_id,b],s.Ws),[E,x]=(0,r.useState)([]);return(0,r.useEffect)((()=>{w()}),[t]),(0,r.useEffect)((()=>{g({func:w})}),[y]),(0,r.useEffect)((()=>{if(!y?.length)return void x([]);const t=Array.isArray(e?.matched_faqs)?e.matched_faqs.map(Number):[],n=t.length?y.filter((e=>t.includes(e?.id))):y;let r=[];if(e?.meta?._betterdocs_faq_order[0]&&(r=e?.meta?._betterdocs_faq_order[0].split(",").map((e=>Number(e)))),r.length){const e=r.map((e=>n.find((t=>t?.id===e)))).filter(Boolean),t=new Set(e.map((e=>e?.id))),o=n.filter((e=>!t.has(e?.id)));x([...e,...o])}else x(n)}),[y,e?.meta?._betterdocs_faq_order[0],e?.matched_faqs]),(0,r.useEffect)((()=>{if(n?.destination?.droppableId==e?.term_id){let t=p(n,E);x(t),(0,s.qK)(e?.term_id,t?.map((e=>e?.id))?.toString()).then((()=>{l()})),h({})}}),[n]),(0,r.useEffect)((()=>{o&&o==e?.term_id&&(w(),m(null))}),[o]),(0,r.createElement)("div",{className:"bd-faq-list-droppable"},v?(0,r.createElement)(pe,null):E?.length>0?E?.map(((n,o)=>(0,r.createElement)(Ie,{key:n?.id,data:n,index:o,reFetchFaqList:w,category:e?.term_id,categoriesLoading:i,allFaqCategories:t,reFetchCategories:l,setCreateFaqAt:c,faqExpanded:d,setFaqExpanded:f,setReFetchFaqForCategory:m,settings:betterdocsFaq?.betterdocs_settings}))):a!==e?.term_id&&(0,r.createElement)(de,null))},De=({category:e,categoriesLoading:t,allFaqCategories:n,reFetchCategories:o,setFetchUncategorizedFaq:i,setUpdateCategory:u,categoryExpanded:d,setCategoryExpanded:p,setCreateFaqAt:h,createFaqAt:b,faqExpanded:v,setFaqExpanded:y,changeFaqSort:w,setChangeFaqSort:E,reFetchFaqForCategory:x,setReFetchFaqForCategory:C,setShowFaqAIModalForm:A})=>{const[S,O]=(0,r.useState)(),[I,q]=(0,r.useState)(!0),D=(0,r.useRef)(!1),{taxonomy:P}=(0,R.Iz)(),k=(0,m.jE)(),_=()=>{k.invalidateQueries({queryKey:["allFaqCategories"]}),k.invalidateQueries({queryKey:["allFaqSearchedData"]}),k.invalidateQueries({queryKey:["uncategorizedFaq"]})};(0,r.useEffect)((()=>{d!==b&&h(null)}),[d,b]),(0,r.useEffect)((()=>{q(e?.meta?.status[0])}),[e?.meta?.status[0]]);const N=e=>{d==e?(p(void 0),y(void 0),h(null)):(p(e),(0,s.su)(`ctg-${e}`))},T=e=>{D.current||(D.current=!0,(0,s.Bp)(e,"1"===I?"0":"1").then((()=>{"1"===I?c.oR.error((0,l.__)("FAQ Group Disabled.","betterdocs")):c.oR.success((0,l.__)("FAQ Group Enabled.","betterdocs")),o()})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})).finally((()=>{D.current=!1})))},L=Array.isArray(e?.matched_faqs)&&e.matched_faqs.length?e.matched_faqs.length:e?.count;return(0,r.createElement)(r.Fragment,null,(0,r.createElement)("div",{className:"bd-faq-ctg","data-bd-expand-id":`ctg-${e?.term_id}`},(0,r.createElement)("div",{className:"bd-faq-ctg-head"},(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-ctg-drag-button"},(0,r.createElement)(V,null)),(0,r.createElement)("div",{className:"bd-faq-ctg-title-wrap",onClick:()=>N(e?.term_id),style:{cursor:"pointer"}},(0,r.createElement)("h3",{className:"bd-faq-ctg-title"},(0,f.decodeEntities)(e?.name)),void 0!==L&&(0,r.createElement)("span",{className:"bd-faq-ctg-meta"},(0,r.createElement)("span",{className:"bd-faq-ctg-meta-count"},`${L} `,1===L?(0,l.__)("question","betterdocs"):(0,l.__)("questions","betterdocs")))),(0,r.createElement)("button",{type:"button",className:"bd-faq-button button-secondary",onClick:()=>{return t=e?.term_id,h(t),y(void 0),p(t),void(0,s.su)(`ctg-${t}`);var t}},(0,r.createElement)("span",{className:"action-button-icon"},(0,r.createElement)(a.uI,null)),(0,r.createElement)("span",{className:"bd-faq-text"},(0,l.__)("Add a New FAQ","betterdocs"))),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button",onClick:()=>u(e)},(0,r.createElement)(J,null)),(0,r.createElement)("button",{type:"button",className:"bd-faq-button-reset bd-faq-action-button delete-icon",onClick:()=>{return t=e?.term_id,void g().fire({title:(0,l.__)("Delete this FAQ Group?","betterdocs"),icon:"warning",showConfirmButton:!0,showCancelButton:!0,confirmButtonText:(0,l.__)("Yes","betterdocs"),cancelButtonText:(0,l.__)("No","betterdocs"),input:"checkbox",inputValue:0,inputPlaceholder:(0,l.__)("Also delete all FAQs inside this FAQ Group","betterdocs"),customClass:{popup:"betterdocs-bulk-action-popup"}}).then((e=>{e?.isConfirmed&&(0==e?.value?(0,s.IE)(t,!1,P).then((()=>{o(),_(),c.oR.success((0,l.__)("FAQ Group deleted.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})):(0,s.IE)(t,!0,P).then((()=>{o(),_(),c.oR.success((0,l.__)("FAQ Group deleted with all FAQs.","betterdocs"))})).catch((e=>{e?.name?c.oR.error(`${e?.name} :${e?.message}`):c.oR.error(`${e?.message}`)})))}));var t}},(0,r.createElement)(z,null)),(0,r.createElement)("label",{className:"bd-faq-toggler",onClick:()=>T(e?.term_id)},(0,r.createElement)("input",{type:"checkbox",checked:"1"===I,onChange:()=>T(e?.term_id),className:"checkbox"}),(0,r.createElement)("span",{className:"knobs"}),(0,r.createElement)("span",{className:"layer"})),(0,r.createElement)("button",{type:"button",className:"bd-faq-accordion-icon "+(d==e?.term_id?"active":""),onClick:()=>N(e?.term_id)},(0,r.createElement)(Q,null))),(0,r.createElement)("div",{className:"bd-faq-category-body "+(d==e?.term_id?"active":"")},(0,r.createElement)("div",{style:{overflow:"hidden"}},(0,r.createElement)("div",{className:"bd-faq-category-body-inner"},b===e?.term_id&&(0,r.createElement)(F,{reFetchFaqList:S?.func,createFaqAt:b,setCreateFaqAt:h,reFetchCategories:o,setShowFaqAIModalForm:A}),d==e?.term_id?(0,r.createElement)(qe,{category:e,allFaqCategories:n,changeFaqSort:w,reFetchFaqForCategory:x,createFaqAt:b,categoriesLoading:t,reFetchCategories:o,setCreateFaqAt:h,faqExpanded:v,setFaqExpanded:y,setReFetchFaqForCategory:C,setChangeFaqSort:E,setReFetchData:O}):"")))))};o().memo((({isLoading:e,categoriesLoading:t,allFaqCategories:n,reFetchCategories:o,setUpdateCategory:a,setShowFaqAIModalForm:i})=>{const[s,l]=(0,r.useState)(null),[c,u]=(0,r.useState)(void 0),[d,p]=(0,r.useState)(void 0),[f,m]=(0,r.useState)([]),[h,g]=(0,r.useState)({}),[b,v]=(0,r.useState)(null);return(0,r.useEffect)((()=>{if(n?.length){const e=n.sort((function(e,t){return e?.meta?.order[0]-t?.meta?.order[0]}));m(e,33),p(e[0]?.term_id)}else m([]),p(void 0)}),[n]),(0,r.createElement)(r.Fragment,null,e?"":(0,r.createElement)("div",{className:"bd-faq-ctg-list"},(0,r.createElement)("div",{className:"bd-faq-ctg-list-droppable"},t?"loading":f?.map(((e,f)=>(0,r.createElement)(De,{key:e?.term_id,index:f,category:e,categoriesLoading:t,allFaqCategories:n,reFetchCategories:o,createFaqAt:s,setUpdateCategory:a,categoryExpanded:d,setCategoryExpanded:p,setCreateFaqAt:l,faqExpanded:c,setFaqExpanded:u,changeFaqSort:h,setChangeFaqSort:g,reFetchFaqForCategory:b,setReFetchFaqForCategory:v,setShowFaqAIModalForm:i}))))))}))},53711:(e,t,n)=>{"use strict";n(51609)},54737:(e,t,n)=>{"use strict";e.exports=n(28989)},55373:(e,t,n)=>{"use strict";var r=n(98636),o=n(62642),a=n(74765);e.exports={formats:a,parse:o,stringify:r}},55655:(e,t,n)=>{"use strict";n.d(t,{A:()=>re});var r=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)})),this.tags=[],this.ctr=0},e}(),o=Math.abs,a=String.fromCharCode,i=Object.assign;function s(e){return e.trim()}function l(e,t,n){return e.replace(t,n)}function c(e,t){return e.indexOf(t)}function u(e,t){return 0|e.charCodeAt(t)}function d(e,t,n){return e.slice(t,n)}function p(e){return e.length}function f(e){return e.length}function m(e,t){return t.push(e),e}var h=1,g=1,b=0,v=0,y=0,w="";function E(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:h,column:g,length:i,return:""}}function x(e,t){return i(E("",null,null,"",null,null,0),e,{length:-e.length},t)}function C(){return y=v>0?u(w,--v):0,g--,10===y&&(g=1,h--),y}function A(){return y=v<b?u(w,v++):0,g++,10===y&&(g=1,h++),y}function S(){return u(w,v)}function O(){return v}function I(e,t){return d(w,e,t)}function q(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function D(e){return h=g=1,b=p(w=e),v=0,[]}function P(e){return w="",e}function k(e){return s(I(v-1,F(91===e?e+2:40===e?e+1:e)))}function _(e){for(;(y=S())&&y<33;)A();return q(e)>2||q(y)>3?"":" "}function R(e,t){for(;--t&&A()&&!(y<48||y>102||y>57&&y<65||y>70&&y<97););return I(e,O()+(t<6&&32==S()&&32==A()))}function F(e){for(;A();)switch(y){case e:return v;case 34:case 39:34!==e&&39!==e&&F(y);break;case 40:41===e&&F(e);break;case 92:A()}return v}function N(e,t){for(;A()&&e+y!==57&&(e+y!==84||47!==S()););return"/*"+I(t,v-1)+"*"+a(47===e?e:A())}function T(e){for(;!q(S());)A();return I(e,v)}var L="-ms-",M="-moz-",B="-webkit-",j="comm",U="rule",V="decl",H="@keyframes";function G(e,t){for(var n="",r=f(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function z(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case V:return e.return=e.return||e.value;case j:return"";case H:return e.return=e.value+"{"+G(e.children,r)+"}";case U:e.value=e.props.join(",")}return p(n=G(e.children,r))?e.return=e.value+"{"+n+"}":""}function $(e){return P(W("",null,null,null,[""],e=D(e),0,[0],e))}function W(e,t,n,r,o,i,s,d,f){for(var h=0,g=0,b=s,v=0,y=0,w=0,E=1,x=1,I=1,q=0,D="",P=o,F=i,L=r,M=D;x;)switch(w=q,q=A()){case 40:if(108!=w&&58==u(M,b-1)){-1!=c(M+=l(k(q),"&","&\f"),"&\f")&&(I=-1);break}case 34:case 39:case 91:M+=k(q);break;case 9:case 10:case 13:case 32:M+=_(w);break;case 92:M+=R(O()-1,7);continue;case 47:switch(S()){case 42:case 47:m(Y(N(A(),O()),t,n),f);break;default:M+="/"}break;case 123*E:d[h++]=p(M)*I;case 125*E:case 59:case 0:switch(q){case 0:case 125:x=0;case 59+g:-1==I&&(M=l(M,/\f/g,"")),y>0&&p(M)-b&&m(y>32?K(M+";",r,n,b-1):K(l(M," ","")+";",r,n,b-2),f);break;case 59:M+=";";default:if(m(L=Q(M,t,n,h,g,o,d,D,P=[],F=[],b),i),123===q)if(0===g)W(M,t,L,L,P,i,b,d,F);else switch(99===v&&110===u(M,3)?100:v){case 100:case 108:case 109:case 115:W(e,L,L,r&&m(Q(e,L,L,0,0,o,d,D,o,P=[],b),F),o,F,b,d,r?P:F);break;default:W(M,L,L,L,[""],F,0,d,F)}}h=g=y=0,E=I=1,D=M="",b=s;break;case 58:b=1+p(M),y=w;default:if(E<1)if(123==q)--E;else if(125==q&&0==E++&&125==C())continue;switch(M+=a(q),q*E){case 38:I=g>0?1:(M+="\f",-1);break;case 44:d[h++]=(p(M)-1)*I,I=1;break;case 64:45===S()&&(M+=k(A())),v=S(),g=b=p(D=M+=T(O())),q++;break;case 45:45===w&&2==p(M)&&(E=0)}}return i}function Q(e,t,n,r,a,i,c,u,p,m,h){for(var g=a-1,b=0===a?i:[""],v=f(b),y=0,w=0,x=0;y<r;++y)for(var C=0,A=d(e,g+1,g=o(w=c[y])),S=e;C<v;++C)(S=s(w>0?b[C]+" "+A:l(A,/&\f/g,b[C])))&&(p[x++]=S);return E(e,t,n,0===a?U:u,p,m,h)}function Y(e,t,n){return E(e,t,n,j,a(y),d(e,2,-2),0)}function K(e,t,n,r){return E(e,t,n,V,d(e,0,r),d(e,r+1,-1),r)}var Z=function(e,t,n){for(var r=0,o=0;r=o,o=S(),38===r&&12===o&&(t[n]=1),!q(o);)A();return I(e,v)},X=new WeakMap,J=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||X.get(n))&&!r){X.set(e,!0);for(var o=[],i=function(e,t){return P(function(e,t){var n=-1,r=44;do{switch(q(r)){case 0:38===r&&12===S()&&(t[n]=1),e[n]+=Z(v-1,t,n);break;case 2:e[n]+=k(r);break;case 4:if(44===r){e[++n]=58===S()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=a(r)}}while(r=A());return e}(D(e),t))}(t,o),s=n.props,l=0,c=0;l<i.length;l++)for(var u=0;u<s.length;u++,c++)e.props[c]=o[l]?i[l].replace(/&\f/g,s[u]):s[u]+" "+i[l]}}},ee=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function te(e,t){switch(function(e,t){return 45^u(e,0)?(((t<<2^u(e,0))<<2^u(e,1))<<2^u(e,2))<<2^u(e,3):0}(e,t)){case 5103:return B+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return B+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return B+e+M+e+L+e+e;case 6828:case 4268:return B+e+L+e+e;case 6165:return B+e+L+"flex-"+e+e;case 5187:return B+e+l(e,/(\w+).+(:[^]+)/,B+"box-$1$2"+L+"flex-$1$2")+e;case 5443:return B+e+L+"flex-item-"+l(e,/flex-|-self/,"")+e;case 4675:return B+e+L+"flex-line-pack"+l(e,/align-content|flex-|-self/,"")+e;case 5548:return B+e+L+l(e,"shrink","negative")+e;case 5292:return B+e+L+l(e,"basis","preferred-size")+e;case 6060:return B+"box-"+l(e,"-grow","")+B+e+L+l(e,"grow","positive")+e;case 4554:return B+l(e,/([^-])(transform)/g,"$1"+B+"$2")+e;case 6187:return l(l(l(e,/(zoom-|grab)/,B+"$1"),/(image-set)/,B+"$1"),e,"")+e;case 5495:case 3959:return l(e,/(image-set\([^]*)/,B+"$1$`$1");case 4968:return l(l(e,/(.+:)(flex-)?(.*)/,B+"box-pack:$3"+L+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+B+e+e;case 4095:case 3583:case 4068:case 2532:return l(e,/(.+)-inline(.+)/,B+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(p(e)-1-t>6)switch(u(e,t+1)){case 109:if(45!==u(e,t+4))break;case 102:return l(e,/(.+:)(.+)-([^]+)/,"$1"+B+"$2-$3$1"+M+(108==u(e,t+3)?"$3":"$2-$3"))+e;case 115:return~c(e,"stretch")?te(l(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==u(e,t+1))break;case 6444:switch(u(e,p(e)-3-(~c(e,"!important")&&10))){case 107:return l(e,":",":"+B)+e;case 101:return l(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+B+(45===u(e,14)?"inline-":"")+"box$3$1"+B+"$2$3$1"+L+"$2box$3")+e}break;case 5936:switch(u(e,t+11)){case 114:return B+e+L+l(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return B+e+L+l(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return B+e+L+l(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return B+e+L+e+e}return e}var ne=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case V:e.return=te(e.value,e.length);break;case H:return G([x(e,{value:l(e.value,"@","@"+B)})],r);case U:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return G([x(e,{props:[l(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return G([x(e,{props:[l(t,/:(plac\w+)/,":"+B+"input-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,":-moz-$1")]}),x(e,{props:[l(t,/:(plac\w+)/,L+"input-$1")]})],r)}return""}))}}],re=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var o,a,i=e.stylisPlugins||ne,s={},l=[];o=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)s[t[n]]=!0;l.push(e)}));var c,u,d,p,m=[z,(p=function(e){c.insert(e)},function(e){e.root||(e=e.return)&&p(e)})],h=(u=[J,ee].concat(i,m),d=f(u),function(e,t,n,r){for(var o="",a=0;a<d;a++)o+=u[a](e,t,n,r)||"";return o});a=function(e,t,n,r){c=n,G($(e?e+"{"+t.styles+"}":t.styles),h),r&&(g.inserted[t.name]=!0)};var g={key:t,sheet:new r({key:t,container:o,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:s,registered:{},insert:a};return g.sheet.hydrate(l),g}},56266:(e,t,n)=>{"use strict";n.d(t,{r:()=>r});const r=n(19888).useSyncExternalStore},57067:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=(0,o.default)(e);if(n.length){var r=void 0,i=t.shiftKey,s=n[0],l=n[n.length-1],c=a();if(e===c){if(!i)return;r=l}if(l!==c||i||(r=s),s===c&&i&&(r=l),r)return t.preventDefault(),void r.focus();var u=/(\bChrome\b|\bSafari\b)\//.exec(navigator.userAgent);if(null!=u&&"Chrome"!=u[1]&&null==/\biPod\b|\biPad\b/g.exec(navigator.userAgent)){var d=n.indexOf(c);if(d>-1&&(d+=i?-1:1),void 0===(r=n[d]))return t.preventDefault(),void(r=i?l:s).focus();t.preventDefault(),r.focus()}}else t.preventDefault()};var r,o=(r=n(42411))&&r.__esModule?r:{default:r};function a(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:document;return e.activeElement.shadowRoot?a(e.activeElement.shadowRoot):e.activeElement}e.exports=t.default},57566:(e,t,n)=>{"use strict";n(51609)},58068:e=>{"use strict";e.exports=SyntaxError},58168:(e,t,n)=>{"use strict";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)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},r.apply(null,arguments)}n.d(t,{A:()=>r})},58493:(e,t,n)=>{"use strict";var r=n(51609),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,s=r.useLayoutEffect,l=r.useDebugValue;function c(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var u="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,u=r[1];return s((function(){o.value=n,o.getSnapshot=t,c(o)&&u({inst:o})}),[e,n,t]),i((function(){return c(o)&&u({inst:o}),e((function(){c(o)&&u({inst:o})}))}),[e]),l(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:u},58859:(e,t,n)=>{var r="function"==typeof Map&&Map.prototype,o=Object.getOwnPropertyDescriptor&&r?Object.getOwnPropertyDescriptor(Map.prototype,"size"):null,a=r&&o&&"function"==typeof o.get?o.get:null,i=r&&Map.prototype.forEach,s="function"==typeof Set&&Set.prototype,l=Object.getOwnPropertyDescriptor&&s?Object.getOwnPropertyDescriptor(Set.prototype,"size"):null,c=s&&l&&"function"==typeof l.get?l.get:null,u=s&&Set.prototype.forEach,d="function"==typeof WeakMap&&WeakMap.prototype?WeakMap.prototype.has:null,p="function"==typeof WeakSet&&WeakSet.prototype?WeakSet.prototype.has:null,f="function"==typeof WeakRef&&WeakRef.prototype?WeakRef.prototype.deref:null,m=Boolean.prototype.valueOf,h=Object.prototype.toString,g=Function.prototype.toString,b=String.prototype.match,v=String.prototype.slice,y=String.prototype.replace,w=String.prototype.toUpperCase,E=String.prototype.toLowerCase,x=RegExp.prototype.test,C=Array.prototype.concat,A=Array.prototype.join,S=Array.prototype.slice,O=Math.floor,I="function"==typeof BigInt?BigInt.prototype.valueOf:null,q=Object.getOwnPropertySymbols,D="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?Symbol.prototype.toString:null,P="function"==typeof Symbol&&"object"==typeof Symbol.iterator,k="function"==typeof Symbol&&Symbol.toStringTag&&(Symbol.toStringTag,1)?Symbol.toStringTag:null,_=Object.prototype.propertyIsEnumerable,R=("function"==typeof Reflect?Reflect.getPrototypeOf:Object.getPrototypeOf)||([].__proto__===Array.prototype?function(e){return e.__proto__}:null);function F(e,t){if(e===1/0||e===-1/0||e!=e||e&&e>-1e3&&e<1e3||x.call(/e/,t))return t;var n=/[0-9](?=(?:[0-9]{3})+(?![0-9]))/g;if("number"==typeof e){var r=e<0?-O(-e):O(e);if(r!==e){var o=String(r),a=v.call(t,o.length+1);return y.call(o,n,"$&_")+"."+y.call(y.call(a,/([0-9]{3})/g,"$&_"),/_$/,"")}}return y.call(t,n,"$&_")}var N=n(42634),T=N.custom,L=G(T)?T:null,M={__proto__:null,double:'"',single:"'"},B={__proto__:null,double:/(["\\])/g,single:/(['\\])/g};function j(e,t,n){var r=n.quoteStyle||t,o=M[r];return o+e+o}function U(e){return y.call(String(e),/"/g,""")}function V(e){return!("[object Array]"!==W(e)||k&&"object"==typeof e&&k in e)}function H(e){return!("[object RegExp]"!==W(e)||k&&"object"==typeof e&&k in e)}function G(e){if(P)return e&&"object"==typeof e&&e instanceof Symbol;if("symbol"==typeof e)return!0;if(!e||"object"!=typeof e||!D)return!1;try{return D.call(e),!0}catch(e){}return!1}e.exports=function e(t,r,o,s){var l=r||{};if($(l,"quoteStyle")&&!$(M,l.quoteStyle))throw new TypeError('option "quoteStyle" must be "single" or "double"');if($(l,"maxStringLength")&&("number"==typeof l.maxStringLength?l.maxStringLength<0&&l.maxStringLength!==1/0:null!==l.maxStringLength))throw new TypeError('option "maxStringLength", if provided, must be a positive integer, Infinity, or `null`');var h=!$(l,"customInspect")||l.customInspect;if("boolean"!=typeof h&&"symbol"!==h)throw new TypeError("option \"customInspect\", if provided, must be `true`, `false`, or `'symbol'`");if($(l,"indent")&&null!==l.indent&&"\t"!==l.indent&&!(parseInt(l.indent,10)===l.indent&&l.indent>0))throw new TypeError('option "indent" must be "\\t", an integer > 0, or `null`');if($(l,"numericSeparator")&&"boolean"!=typeof l.numericSeparator)throw new TypeError('option "numericSeparator", if provided, must be `true` or `false`');var w=l.numericSeparator;if(void 0===t)return"undefined";if(null===t)return"null";if("boolean"==typeof t)return t?"true":"false";if("string"==typeof t)return Y(t,l);if("number"==typeof t){if(0===t)return 1/0/t>0?"0":"-0";var x=String(t);return w?F(t,x):x}if("bigint"==typeof t){var O=String(t)+"n";return w?F(t,O):O}var q=void 0===l.depth?5:l.depth;if(void 0===o&&(o=0),o>=q&&q>0&&"object"==typeof t)return V(t)?"[Array]":"[Object]";var T,B=function(e,t){var n;if("\t"===e.indent)n="\t";else{if(!("number"==typeof e.indent&&e.indent>0))return null;n=A.call(Array(e.indent+1)," ")}return{base:n,prev:A.call(Array(t+1),n)}}(l,o);if(void 0===s)s=[];else if(Q(s,t)>=0)return"[Circular]";function z(t,n,r){if(n&&(s=S.call(s)).push(n),r){var a={depth:l.depth};return $(l,"quoteStyle")&&(a.quoteStyle=l.quoteStyle),e(t,a,o+1,s)}return e(t,l,o+1,s)}if("function"==typeof t&&!H(t)){var K=function(e){if(e.name)return e.name;var t=b.call(g.call(e),/^function\s*([\w$]+)/);return t?t[1]:null}(t),ne=te(t,z);return"[Function"+(K?": "+K:" (anonymous)")+"]"+(ne.length>0?" { "+A.call(ne,", ")+" }":"")}if(G(t)){var re=P?y.call(String(t),/^(Symbol\(.*\))_[^)]*$/,"$1"):D.call(t);return"object"!=typeof t||P?re:Z(re)}if((T=t)&&"object"==typeof T&&("undefined"!=typeof HTMLElement&&T instanceof HTMLElement||"string"==typeof T.nodeName&&"function"==typeof T.getAttribute)){for(var oe="<"+E.call(String(t.nodeName)),ae=t.attributes||[],ie=0;ie<ae.length;ie++)oe+=" "+ae[ie].name+"="+j(U(ae[ie].value),"double",l);return oe+=">",t.childNodes&&t.childNodes.length&&(oe+="..."),oe+"</"+E.call(String(t.nodeName))+">"}if(V(t)){if(0===t.length)return"[]";var se=te(t,z);return B&&!function(e){for(var t=0;t<e.length;t++)if(Q(e[t],"\n")>=0)return!1;return!0}(se)?"["+ee(se,B)+"]":"[ "+A.call(se,", ")+" ]"}if(function(e){return!("[object Error]"!==W(e)||k&&"object"==typeof e&&k in e)}(t)){var le=te(t,z);return"cause"in Error.prototype||!("cause"in t)||_.call(t,"cause")?0===le.length?"["+String(t)+"]":"{ ["+String(t)+"] "+A.call(le,", ")+" }":"{ ["+String(t)+"] "+A.call(C.call("[cause]: "+z(t.cause),le),", ")+" }"}if("object"==typeof t&&h){if(L&&"function"==typeof t[L]&&N)return N(t,{depth:q-o});if("symbol"!==h&&"function"==typeof t.inspect)return t.inspect()}if(function(e){if(!a||!e||"object"!=typeof e)return!1;try{a.call(e);try{c.call(e)}catch(e){return!0}return e instanceof Map}catch(e){}return!1}(t)){var ce=[];return i&&i.call(t,(function(e,n){ce.push(z(n,t,!0)+" => "+z(e,t))})),J("Map",a.call(t),ce,B)}if(function(e){if(!c||!e||"object"!=typeof e)return!1;try{c.call(e);try{a.call(e)}catch(e){return!0}return e instanceof Set}catch(e){}return!1}(t)){var ue=[];return u&&u.call(t,(function(e){ue.push(z(e,t))})),J("Set",c.call(t),ue,B)}if(function(e){if(!d||!e||"object"!=typeof e)return!1;try{d.call(e,d);try{p.call(e,p)}catch(e){return!0}return e instanceof WeakMap}catch(e){}return!1}(t))return X("WeakMap");if(function(e){if(!p||!e||"object"!=typeof e)return!1;try{p.call(e,p);try{d.call(e,d)}catch(e){return!0}return e instanceof WeakSet}catch(e){}return!1}(t))return X("WeakSet");if(function(e){if(!f||!e||"object"!=typeof e)return!1;try{return f.call(e),!0}catch(e){}return!1}(t))return X("WeakRef");if(function(e){return!("[object Number]"!==W(e)||k&&"object"==typeof e&&k in e)}(t))return Z(z(Number(t)));if(function(e){if(!e||"object"!=typeof e||!I)return!1;try{return I.call(e),!0}catch(e){}return!1}(t))return Z(z(I.call(t)));if(function(e){return!("[object Boolean]"!==W(e)||k&&"object"==typeof e&&k in e)}(t))return Z(m.call(t));if(function(e){return!("[object String]"!==W(e)||k&&"object"==typeof e&&k in e)}(t))return Z(z(String(t)));if("undefined"!=typeof window&&t===window)return"{ [object Window] }";if("undefined"!=typeof globalThis&&t===globalThis||void 0!==n.g&&t===n.g)return"{ [object globalThis] }";if(!function(e){return!("[object Date]"!==W(e)||k&&"object"==typeof e&&k in e)}(t)&&!H(t)){var de=te(t,z),pe=R?R(t)===Object.prototype:t instanceof Object||t.constructor===Object,fe=t instanceof Object?"":"null prototype",me=!pe&&k&&Object(t)===t&&k in t?v.call(W(t),8,-1):fe?"Object":"",he=(pe||"function"!=typeof t.constructor?"":t.constructor.name?t.constructor.name+" ":"")+(me||fe?"["+A.call(C.call([],me||[],fe||[]),": ")+"] ":"");return 0===de.length?he+"{}":B?he+"{"+ee(de,B)+"}":he+"{ "+A.call(de,", ")+" }"}return String(t)};var z=Object.prototype.hasOwnProperty||function(e){return e in this};function $(e,t){return z.call(e,t)}function W(e){return h.call(e)}function Q(e,t){if(e.indexOf)return e.indexOf(t);for(var n=0,r=e.length;n<r;n++)if(e[n]===t)return n;return-1}function Y(e,t){if(e.length>t.maxStringLength){var n=e.length-t.maxStringLength,r="... "+n+" more character"+(n>1?"s":"");return Y(v.call(e,0,t.maxStringLength),t)+r}var o=B[t.quoteStyle||"single"];return o.lastIndex=0,j(y.call(y.call(e,o,"\\$1"),/[\x00-\x1f]/g,K),"single",t)}function K(e){var t=e.charCodeAt(0),n={8:"b",9:"t",10:"n",12:"f",13:"r"}[t];return n?"\\"+n:"\\x"+(t<16?"0":"")+w.call(t.toString(16))}function Z(e){return"Object("+e+")"}function X(e){return e+" { ? }"}function J(e,t,n,r){return e+" ("+t+") {"+(r?ee(n,r):A.call(n,", "))+"}"}function ee(e,t){if(0===e.length)return"";var n="\n"+t.prev+t.base;return n+A.call(e,","+n)+"\n"+t.prev}function te(e,t){var n=V(e),r=[];if(n){r.length=e.length;for(var o=0;o<e.length;o++)r[o]=$(e,o)?t(e[o],e):""}var a,i="function"==typeof q?q(e):[];if(P){a={};for(var s=0;s<i.length;s++)a["$"+i[s]]=i[s]}for(var l in e)$(e,l)&&(n&&String(Number(l))===l&&l<e.length||P&&a["$"+l]instanceof Symbol||(x.call(/[^\w$]/,l)?r.push(t(l,e)+": "+t(e[l],e)):r.push(l+": "+t(e[l],e))));if("function"==typeof q)for(var c=0;c<i.length;c++)_.call(e,i[c])&&r.push("["+t(i[c])+"]: "+t(e[i[c]],e));return r}},58968:e=>{"use strict";e.exports=Math.floor},60405:(e,t,n)=>{"use strict";n.d(t,{u:()=>u});var r=n(64467),o=n(89379),a=n(80296),i=n(80045),s=n(51609),l=n(63538),c=["defaultOptions","cacheOptions","loadOptions","options","isLoading","onInputChange","filterOption"];function u(e){var t=e.defaultOptions,n=void 0!==t&&t,u=e.cacheOptions,d=void 0!==u&&u,p=e.loadOptions;e.options;var f=e.isLoading,m=void 0!==f&&f,h=e.onInputChange,g=e.filterOption,b=void 0===g?null:g,v=(0,i.A)(e,c),y=v.inputValue,w=(0,s.useRef)(void 0),E=(0,s.useRef)(!1),x=(0,s.useState)(Array.isArray(n)?n:void 0),C=(0,a.A)(x,2),A=C[0],S=C[1],O=(0,s.useState)(void 0!==y?y:""),I=(0,a.A)(O,2),q=I[0],D=I[1],P=(0,s.useState)(!0===n),k=(0,a.A)(P,2),_=k[0],R=k[1],F=(0,s.useState)(void 0),N=(0,a.A)(F,2),T=N[0],L=N[1],M=(0,s.useState)([]),B=(0,a.A)(M,2),j=B[0],U=B[1],V=(0,s.useState)(!1),H=(0,a.A)(V,2),G=H[0],z=H[1],$=(0,s.useState)({}),W=(0,a.A)($,2),Q=W[0],Y=W[1],K=(0,s.useState)(void 0),Z=(0,a.A)(K,2),X=Z[0],J=Z[1],ee=(0,s.useState)(void 0),te=(0,a.A)(ee,2),ne=te[0],re=te[1];d!==ne&&(Y({}),re(d)),n!==X&&(S(Array.isArray(n)?n:void 0),J(n)),(0,s.useEffect)((function(){return E.current=!0,function(){E.current=!1}}),[]);var oe=(0,s.useCallback)((function(e,t){if(!p)return t();var n=p(e,t);n&&"function"==typeof n.then&&n.then(t,(function(){return t()}))}),[p]);(0,s.useEffect)((function(){!0===n&&oe(q,(function(e){E.current&&(S(e||[]),R(!!w.current))}))}),[]);var ae=(0,s.useCallback)((function(e,t){var n=(0,l.L)(e,t,h);if(!n)return w.current=void 0,D(""),L(""),U([]),R(!1),void z(!1);if(d&&Q[n])D(n),L(n),U(Q[n]),R(!1),z(!1);else{var a=w.current={};D(n),R(!0),z(!T),oe(n,(function(e){E&&a===w.current&&(w.current=void 0,R(!1),L(n),U(e||[]),z(!1),Y(e?(0,o.A)((0,o.A)({},Q),{},(0,r.A)({},n,e)):Q))}))}}),[d,oe,T,Q,h]),ie=G?[]:q&&T?j:A||[];return(0,o.A)((0,o.A)({},v),{},{options:ie,isLoading:_||m,onInputChange:ae,filterOption:b})}},60834:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.canUseDOM=t.SafeNodeList=t.SafeHTMLCollection=void 0;var r,o=((r=n(50411))&&r.__esModule?r:{default:r}).default,a=o.canUseDOM?window.HTMLElement:{};t.SafeHTMLCollection=o.canUseDOM?window.HTMLCollection:{},t.SafeNodeList=o.canUseDOM?window.NodeList:{},t.canUseDOM=o.canUseDOM,t.default=a},61520:(e,t,n)=>{"use strict";n(51609)},61782:(e,t,n)=>{"use strict";n(51609)},62517:(e,t,n)=>{"use strict";n.d(t,{m:()=>i});var r=n(94323),o=n(12295);class a extends r.Q{constructor(){super(),this.setup=e=>{if(!o.S$&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),window.addEventListener("focus",t,!1),()=>{window.removeEventListener("visibilitychange",t),window.removeEventListener("focus",t)}}}}onSubscribe(){this.cleanup||this.setEventListener(this.setup)}onUnsubscribe(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)}setEventListener(e){var t;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.focused!==e&&(this.focused=e,this.onFocus())}onFocus(){this.listeners.forEach((({listener:e})=>{e()}))}isFocused(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)}}const i=new a},62642:(e,t,n)=>{"use strict";var r=n(37720),o=Object.prototype.hasOwnProperty,a=Array.isArray,i={allowDots:!1,allowEmptyArrays:!1,allowPrototypes:!1,allowSparse:!1,arrayLimit:20,charset:"utf-8",charsetSentinel:!1,comma:!1,decodeDotInKeys:!1,decoder:r.decode,delimiter:"&",depth:5,duplicates:"combine",ignoreQueryPrefix:!1,interpretNumericEntities:!1,parameterLimit:1e3,parseArrays:!0,plainObjects:!1,strictDepth:!1,strictMerge:!0,strictNullHandling:!1,throwOnLimitExceeded:!1},s=function(e){return e.replace(/&#(\d+);/g,(function(e,t){return String.fromCharCode(parseInt(t,10))}))},l=function(e,t,n){if(e&&"string"==typeof e&&t.comma&&e.indexOf(",")>-1)return e.split(",");if(t.throwOnLimitExceeded&&n>=t.arrayLimit)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");return e},c=function(e,t,n,a){if(e){var i=function(e,t){var n=t.allowDots?e.replace(/\.([^.[]+)/g,"[$1]"):e;if(t.depth<=0){if(!t.plainObjects&&o.call(Object.prototype,n)&&!t.allowPrototypes)return;return[n]}var r=/(\[[^[\]]*])/g,a=/(\[[^[\]]*])/.exec(n),i=a?n.slice(0,a.index):n,s=[];if(i){if(!t.plainObjects&&o.call(Object.prototype,i)&&!t.allowPrototypes)return;s[s.length]=i}for(var l=0;null!==(a=r.exec(n))&&l<t.depth;){l+=1;var c=a[1].slice(1,-1);if(!t.plainObjects&&o.call(Object.prototype,c)&&!t.allowPrototypes)return;s[s.length]=a[1]}if(a){if(!0===t.strictDepth)throw new RangeError("Input depth exceeded depth option of "+t.depth+" and strictDepth is true");s[s.length]="["+n.slice(a.index)+"]"}return s}(e,n);if(i)return function(e,t,n,o){var a=0;if(e.length>0&&"[]"===e[e.length-1]){var i=e.slice(0,-1).join("");a=Array.isArray(t)&&t[i]?t[i].length:0}for(var s=o?t:l(t,n,a),c=e.length-1;c>=0;--c){var u,d=e[c];if("[]"===d&&n.parseArrays)u=r.isOverflow(s)?s:n.allowEmptyArrays&&(""===s||n.strictNullHandling&&null===s)?[]:r.combine([],s,n.arrayLimit,n.plainObjects);else{u=n.plainObjects?{__proto__:null}:{};var p="["===d.charAt(0)&&"]"===d.charAt(d.length-1)?d.slice(1,-1):d,f=n.decodeDotInKeys?p.replace(/%2E/g,"."):p,m=parseInt(f,10),h=!isNaN(m)&&d!==f&&String(m)===f&&m>=0&&n.parseArrays;if(n.parseArrays||""!==f)if(h&&m<n.arrayLimit)(u=[])[m]=s;else{if(h&&n.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+n.arrayLimit+" element"+(1===n.arrayLimit?"":"s")+" allowed in an array.");h?(u[m]=s,r.markOverflow(u,m)):"__proto__"!==f&&(u[f]=s)}else u={0:s}}s=u}return s}(i,t,n,a)}};e.exports=function(e,t){var n=function(e){if(!e)return i;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.decodeDotInKeys&&"boolean"!=typeof e.decodeDotInKeys)throw new TypeError("`decodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.decoder&&void 0!==e.decoder&&"function"!=typeof e.decoder)throw new TypeError("Decoder has to be a function.");if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");if(void 0!==e.throwOnLimitExceeded&&"boolean"!=typeof e.throwOnLimitExceeded)throw new TypeError("`throwOnLimitExceeded` option must be a boolean");var t=void 0===e.charset?i.charset:e.charset,n=void 0===e.duplicates?i.duplicates:e.duplicates;if("combine"!==n&&"first"!==n&&"last"!==n)throw new TypeError("The duplicates option must be either combine, first, or last");return{allowDots:void 0===e.allowDots?!0===e.decodeDotInKeys||i.allowDots:!!e.allowDots,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:i.allowEmptyArrays,allowPrototypes:"boolean"==typeof e.allowPrototypes?e.allowPrototypes:i.allowPrototypes,allowSparse:"boolean"==typeof e.allowSparse?e.allowSparse:i.allowSparse,arrayLimit:"number"==typeof e.arrayLimit?e.arrayLimit:i.arrayLimit,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:i.charsetSentinel,comma:"boolean"==typeof e.comma?e.comma:i.comma,decodeDotInKeys:"boolean"==typeof e.decodeDotInKeys?e.decodeDotInKeys:i.decodeDotInKeys,decoder:"function"==typeof e.decoder?e.decoder:i.decoder,delimiter:"string"==typeof e.delimiter||r.isRegExp(e.delimiter)?e.delimiter:i.delimiter,depth:"number"==typeof e.depth||!1===e.depth?+e.depth:i.depth,duplicates:n,ignoreQueryPrefix:!0===e.ignoreQueryPrefix,interpretNumericEntities:"boolean"==typeof e.interpretNumericEntities?e.interpretNumericEntities:i.interpretNumericEntities,parameterLimit:"number"==typeof e.parameterLimit?e.parameterLimit:i.parameterLimit,parseArrays:!1!==e.parseArrays,plainObjects:"boolean"==typeof e.plainObjects?e.plainObjects:i.plainObjects,strictDepth:"boolean"==typeof e.strictDepth?!!e.strictDepth:i.strictDepth,strictMerge:"boolean"==typeof e.strictMerge?!!e.strictMerge:i.strictMerge,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:i.strictNullHandling,throwOnLimitExceeded:"boolean"==typeof e.throwOnLimitExceeded&&e.throwOnLimitExceeded}}(t);if(""===e||null==e)return n.plainObjects?{__proto__:null}:{};for(var u="string"==typeof e?function(e,t){var n={__proto__:null},c=t.ignoreQueryPrefix?e.replace(/^\?/,""):e;c=c.replace(/%5B/gi,"[").replace(/%5D/gi,"]");var u=t.parameterLimit===1/0?void 0:t.parameterLimit,d=c.split(t.delimiter,t.throwOnLimitExceeded&&void 0!==u?u+1:u);if(t.throwOnLimitExceeded&&void 0!==u&&d.length>u)throw new RangeError("Parameter limit exceeded. Only "+u+" parameter"+(1===u?"":"s")+" allowed.");var p,f=-1,m=t.charset;if(t.charsetSentinel)for(p=0;p<d.length;++p)0===d[p].indexOf("utf8=")&&("utf8=%E2%9C%93"===d[p]?m="utf-8":"utf8=%26%2310003%3B"===d[p]&&(m="iso-8859-1"),f=p,p=d.length);for(p=0;p<d.length;++p)if(p!==f){var h,g,b=d[p],v=b.indexOf("]="),y=-1===v?b.indexOf("="):v+1;if(-1===y?(h=t.decoder(b,i.decoder,m,"key"),g=t.strictNullHandling?null:""):null!==(h=t.decoder(b.slice(0,y),i.decoder,m,"key"))&&(g=r.maybeMap(l(b.slice(y+1),t,a(n[h])?n[h].length:0),(function(e){return t.decoder(e,i.decoder,m,"value")}))),g&&t.interpretNumericEntities&&"iso-8859-1"===m&&(g=s(String(g))),b.indexOf("[]=")>-1&&(g=a(g)?[g]:g),t.comma&&a(g)&&g.length>t.arrayLimit){if(t.throwOnLimitExceeded)throw new RangeError("Array limit exceeded. Only "+t.arrayLimit+" element"+(1===t.arrayLimit?"":"s")+" allowed in an array.");g=r.combine([],g,t.arrayLimit,t.plainObjects)}if(null!==h){var w=o.call(n,h);w&&("combine"===t.duplicates||b.indexOf("[]=")>-1)?n[h]=r.combine(n[h],g,t.arrayLimit,t.plainObjects):w&&"last"!==t.duplicates||(n[h]=g)}}return n}(e,n):e,d=n.plainObjects?{__proto__:null}:{},p=Object.keys(u),f=0;f<p.length;++f){var m=p[f],h=c(m,u[m],n,"string"==typeof e);d=r.merge(d,h,n)}return!0===n.allowSparse?d:r.compact(d)}},62930:(e,t,n)=>{"use strict";n(51609),n(86087),n(27723),n(48997),n(47508)},63064:(e,t,n)=>{"use strict";n.d(t,{jE:()=>i});var r=n(51609);const o=r.createContext(void 0),a=r.createContext(!1);const i=({context:e}={})=>{const t=r.useContext(function(e,t){return e||(t&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=o),window.ReactQueryClientContext):o)}(e,r.useContext(a)));if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t}},63538:(e,t,n)=>{"use strict";n.d(t,{A:()=>K,B:()=>oe,C:()=>re,D:()=>ne,E:()=>B,F:()=>Je,G:()=>G,H:()=>j,I:()=>Q,J:()=>L,K:()=>te,L:()=>H,M:()=>me,a:()=>ke,b:()=>we,d:()=>Te,e:()=>Pe,f:()=>Be,g:()=>Me,h:()=>_e,i:()=>xe,j:()=>Ue,k:()=>ve,l:()=>Fe,m:()=>pe,n:()=>he,o:()=>ye,p:()=>ze,q:()=>$e,r:()=>ae,s:()=>ee,t:()=>We,u:()=>be,v:()=>Ye,w:()=>Ke,x:()=>Ze,y:()=>Ee,z:()=>Y});var r=n(89379),o=n(58168),a=n(31336),i=n(80296),s=n(80045),l=n(82284),c=n(64467),u=n(51609),d=n(75795);const p=Math.min,f=Math.max,m=Math.round,h=Math.floor,g=e=>({x:e,y:e});function b(){return"undefined"!=typeof window}function v(e){return E(e)?(e.nodeName||"").toLowerCase():"#document"}function y(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function w(e){var t;return null==(t=(E(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function E(e){return!!b()&&(e instanceof Node||e instanceof y(e).Node)}function x(e){return!!b()&&(e instanceof Element||e instanceof y(e).Element)}function C(e){return!!b()&&(e instanceof HTMLElement||e instanceof y(e).HTMLElement)}function A(e){return!(!b()||"undefined"==typeof ShadowRoot)&&(e instanceof ShadowRoot||e instanceof y(e).ShadowRoot)}function S(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=O(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function O(e){return y(e).getComputedStyle(e)}function I(e){const t=function(e){if("html"===v(e))return e;const t=e.assignedSlot||e.parentNode||A(e)&&e.host||w(e);return A(t)?t.host:t}(e);return function(e){return["html","body","#document"].includes(v(e))}(t)?e.ownerDocument?e.ownerDocument.body:e.body:C(t)&&S(t)?t:I(t)}function q(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=I(e),a=o===(null==(r=e.ownerDocument)?void 0:r.body),i=y(o);if(a){const e=D(i);return t.concat(i,i.visualViewport||[],S(o)?o:[],e&&n?q(e):[])}return t.concat(o,q(o,[],n))}function D(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function P(e){return x(e)?e:e.contextElement}function k(e){const t=P(e);if(!C(t))return g(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=function(e){const t=O(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=C(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,s=m(n)!==a||m(r)!==i;return s&&(n=a,r=i),{width:n,height:r,$:s}}(t);let i=(a?m(n.width):n.width)/r,s=(a?m(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),s&&Number.isFinite(s)||(s=1),{x:i,y:s}}const _=g(0);function R(e){const t=y(e);return"undefined"!=typeof CSS&&CSS.supports&&CSS.supports("-webkit-backdrop-filter","none")&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:_}function F(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=P(e);let i=g(1);t&&(r?x(r)&&(i=k(r)):i=k(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==y(e))&&t}(a,n,r)?R(a):g(0);let l=(o.left+s.x)/i.x,c=(o.top+s.y)/i.y,u=o.width/i.x,d=o.height/i.y;if(a){const e=y(a),t=r&&x(r)?y(r):r;let n=e,o=D(n);for(;o&&r&&t!==n;){const e=k(o),t=o.getBoundingClientRect(),r=O(o),a=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,i=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=a,c+=i,n=y(o),o=D(n)}}return function(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}({width:u,height:d,x:l,y:c})}var N=n(27003),T=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],L=function(){};function M(e,t){return t?"-"===t[0]?e+t:e+"__"+t:e}function B(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o];var a=[].concat(r);if(t&&e)for(var i in t)t.hasOwnProperty(i)&&t[i]&&a.push("".concat(M(e,i)));return a.filter((function(e){return e})).map((function(e){return String(e).trim()})).join(" ")}var j=function(e){return t=e,Array.isArray(t)?e.filter(Boolean):"object"===(0,l.A)(e)&&null!==e?[e]:[];var t},U=function(e){e.className,e.clearValue,e.cx,e.getStyles,e.getClassNames,e.getValue,e.hasValue,e.isMulti,e.isRtl,e.options,e.selectOption,e.selectProps,e.setValue,e.theme;var t=(0,s.A)(e,T);return(0,r.A)({},t)},V=function(e,t,n){var r=e.cx,o=e.getStyles,a=e.getClassNames,i=e.className;return{css:o(t,e),className:r(null!=n?n:{},a(t,e),i)}};function H(e,t,n){if(n){var r=n(e,t);if("string"==typeof r)return r}return e}function G(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function z(e){return G(e)?window.pageYOffset:e.scrollTop}function $(e,t){G(e)?window.scrollTo(0,t):e.scrollTop=t}function W(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:200,r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:L,o=z(e),a=t-o,i=0;!function t(){var s,l=a*((s=(s=i+=10)/n-1)*s*s+1)+o;$(e,l),i<n?window.requestAnimationFrame(t):r(e)}()}function Q(e,t){var n=e.getBoundingClientRect(),r=t.getBoundingClientRect(),o=t.offsetHeight/3;r.bottom+o>n.bottom?$(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+o,e.scrollHeight)):r.top-o<n.top&&$(e,Math.max(t.offsetTop-o,0))}function Y(){try{return document.createEvent("TouchEvent"),!0}catch(e){return!1}}function K(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch(e){return!1}}var Z=!1,X={get passive(){return Z=!0}},J="undefined"!=typeof window?window:{};J.addEventListener&&J.removeEventListener&&(J.addEventListener("p",L,X),J.removeEventListener("p",L,!1));var ee=Z;function te(e){return null!=e}function ne(e,t,n){return e?t:n}function re(e){return e}function oe(e){return e}var ae=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];return Object.entries(e).filter((function(e){var t=(0,i.A)(e,1)[0];return!n.includes(t)})).reduce((function(e,t){var n=(0,i.A)(t,2),r=n[0],o=n[1];return e[r]=o,e}),{})},ie=["children","innerProps"],se=["children","innerProps"];var le,ce,ue,de=function(e){return"auto"===e?"bottom":e},pe=function(e,t){var n,o=e.placement,a=e.theme,i=a.borderRadius,s=a.spacing,l=a.colors;return(0,r.A)((n={label:"menu"},(0,c.A)(n,function(e){return e?{bottom:"top",top:"bottom"}[e]:"bottom"}(o),"100%"),(0,c.A)(n,"position","absolute"),(0,c.A)(n,"width","100%"),(0,c.A)(n,"zIndex",1),n),t?{}:{backgroundColor:l.neutral0,borderRadius:i,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:s.menuGutter,marginTop:s.menuGutter})},fe=(0,u.createContext)(null),me=function(e){var t=e.children,n=e.minMenuHeight,o=e.maxMenuHeight,a=e.menuPlacement,s=e.menuPosition,l=e.menuShouldScrollIntoView,c=e.theme,d=((0,u.useContext)(fe)||{}).setPortalPlacement,p=(0,u.useRef)(null),f=(0,u.useState)(o),m=(0,i.A)(f,2),h=m[0],g=m[1],b=(0,u.useState)(null),v=(0,i.A)(b,2),y=v[0],w=v[1],E=c.spacing.controlHeight;return(0,N.A)((function(){var e=p.current;if(e){var t="fixed"===s,r=function(e){var t=e.maxHeight,n=e.menuEl,r=e.minHeight,o=e.placement,a=e.shouldScroll,i=e.isFixedPosition,s=e.controlHeight,l=function(e){var t=getComputedStyle(e),n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.documentElement;for(var o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.documentElement}(n),c={placement:"bottom",maxHeight:t};if(!n||!n.offsetParent)return c;var u,d=l.getBoundingClientRect().height,p=n.getBoundingClientRect(),f=p.bottom,m=p.height,h=p.top,g=n.offsetParent.getBoundingClientRect().top,b=i||G(u=l)?window.innerHeight:u.clientHeight,v=z(l),y=parseInt(getComputedStyle(n).marginBottom,10),w=parseInt(getComputedStyle(n).marginTop,10),E=g-w,x=b-h,C=E+v,A=d-v-h,S=f-b+v+y,O=v+h-w,I=160;switch(o){case"auto":case"bottom":if(x>=m)return{placement:"bottom",maxHeight:t};if(A>=m&&!i)return a&&W(l,S,I),{placement:"bottom",maxHeight:t};if(!i&&A>=r||i&&x>=r)return a&&W(l,S,I),{placement:"bottom",maxHeight:i?x-y:A-y};if("auto"===o||i){var q=t,D=i?E:C;return D>=r&&(q=Math.min(D-y-s,t)),{placement:"top",maxHeight:q}}if("bottom"===o)return a&&$(l,S),{placement:"bottom",maxHeight:t};break;case"top":if(E>=m)return{placement:"top",maxHeight:t};if(C>=m&&!i)return a&&W(l,O,I),{placement:"top",maxHeight:t};if(!i&&C>=r||i&&E>=r){var P=t;return(!i&&C>=r||i&&E>=r)&&(P=i?E-w:C-w),a&&W(l,O,I),{placement:"top",maxHeight:P}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(o,'".'))}return c}({maxHeight:o,menuEl:e,minHeight:n,placement:a,shouldScroll:l&&!t,isFixedPosition:t,controlHeight:E});g(r.maxHeight),w(r.placement),null==d||d(r.placement)}}),[o,a,s,l,n,d,E]),t({ref:p,placerProps:(0,r.A)((0,r.A)({},e),{},{placement:y||de(a),maxHeight:h})})},he=function(e,t){var n=e.maxHeight,o=e.theme.spacing.baseUnit;return(0,r.A)({maxHeight:n,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},t?{}:{paddingBottom:o,paddingTop:o})},ge=function(e,t){var n=e.theme,o=n.spacing.baseUnit,a=n.colors;return(0,r.A)({textAlign:"center"},t?{}:{color:a.neutral40,padding:"".concat(2*o,"px ").concat(3*o,"px")})},be=ge,ve=ge,ye=function(e){var t=e.rect,n=e.offset,r=e.position;return{left:t.left,position:r,top:n,width:t.width,zIndex:1}},we=function(e){var t=e.isDisabled;return{label:"container",direction:e.isRtl?"rtl":void 0,pointerEvents:t?"none":void 0,position:"relative"}},Ee=function(e,t){var n=e.theme.spacing,o=e.isMulti,a=e.hasValue,i=e.selectProps.controlShouldRenderValue;return(0,r.A)({alignItems:"center",display:o&&a&&i?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},t?{}:{padding:"".concat(n.baseUnit/2,"px ").concat(2*n.baseUnit,"px")})},xe=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Ce=["size"],Ae=["innerProps","isRtl","size"],Se={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Oe=function(e){var t=e.size,n=(0,s.A)(e,Ce);return(0,a.Y)("svg",(0,o.A)({height:t,width:t,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Se},n))},Ie=function(e){return(0,a.Y)(Oe,(0,o.A)({size:20},e),(0,a.Y)("path",{d:"M14.348 14.849c-0.469 0.469-1.229 0.469-1.697 0l-2.651-3.030-2.651 3.029c-0.469 0.469-1.229 0.469-1.697 0-0.469-0.469-0.469-1.229 0-1.697l2.758-3.15-2.759-3.152c-0.469-0.469-0.469-1.228 0-1.697s1.228-0.469 1.697 0l2.652 3.031 2.651-3.031c0.469-0.469 1.228-0.469 1.697 0s0.469 1.229 0 1.697l-2.758 3.152 2.758 3.15c0.469 0.469 0.469 1.229 0 1.698z"}))},qe=function(e){return(0,a.Y)(Oe,(0,o.A)({size:20},e),(0,a.Y)("path",{d:"M4.516 7.548c0.436-0.446 1.043-0.481 1.576 0l3.908 3.747 3.908-3.747c0.533-0.481 1.141-0.446 1.574 0 0.436 0.445 0.408 1.197 0 1.615-0.406 0.418-4.695 4.502-4.695 4.502-0.217 0.223-0.502 0.335-0.787 0.335s-0.57-0.112-0.789-0.335c0 0-4.287-4.084-4.695-4.502s-0.436-1.17 0-1.615z"}))},De=function(e,t){var n=e.isFocused,o=e.theme,a=o.spacing.baseUnit,i=o.colors;return(0,r.A)({label:"indicatorContainer",display:"flex",transition:"color 150ms"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*a,":hover":{color:n?i.neutral80:i.neutral40}})},Pe=De,ke=De,_e=function(e,t){var n=e.isDisabled,o=e.theme,a=o.spacing.baseUnit,i=o.colors;return(0,r.A)({label:"indicatorSeparator",alignSelf:"stretch",width:1},t?{}:{backgroundColor:n?i.neutral10:i.neutral20,marginBottom:2*a,marginTop:2*a})},Re=(0,a.i7)(le||(ce=["\n 0%, 80%, 100% { opacity: 0; }\n 40% { opacity: 1; }\n"],ue||(ue=ce.slice(0)),le=Object.freeze(Object.defineProperties(ce,{raw:{value:Object.freeze(ue)}})))),Fe=function(e,t){var n=e.isFocused,o=e.size,a=e.theme,i=a.colors,s=a.spacing.baseUnit;return(0,r.A)({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:o,lineHeight:1,marginRight:o,textAlign:"center",verticalAlign:"middle"},t?{}:{color:n?i.neutral60:i.neutral20,padding:2*s})},Ne=function(e){var t=e.delay,n=e.offset;return(0,a.Y)("span",{css:(0,a.AH)({animation:"".concat(Re," 1s ease-in-out ").concat(t,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:n?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Te=function(e,t){var n=e.isDisabled,o=e.isFocused,a=e.theme,i=a.colors,s=a.borderRadius,l=a.spacing;return(0,r.A)({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:l.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},t?{}:{backgroundColor:n?i.neutral5:i.neutral0,borderColor:n?i.neutral10:o?i.primary:i.neutral20,borderRadius:s,borderStyle:"solid",borderWidth:1,boxShadow:o?"0 0 0 1px ".concat(i.primary):void 0,"&:hover":{borderColor:o?i.primary:i.neutral30}})},Le=["data"],Me=function(e,t){var n=e.theme.spacing;return t?{}:{paddingBottom:2*n.baseUnit,paddingTop:2*n.baseUnit}},Be=function(e,t){var n=e.theme,o=n.colors,a=n.spacing;return(0,r.A)({label:"group",cursor:"default",display:"block"},t?{}:{color:o.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:3*a.baseUnit,paddingRight:3*a.baseUnit,textTransform:"uppercase"})},je=["innerRef","isDisabled","isHidden","inputClassName"],Ue=function(e,t){var n=e.isDisabled,o=e.value,a=e.theme,i=a.spacing,s=a.colors;return(0,r.A)((0,r.A)({visibility:n?"hidden":"visible",transform:o?"translateZ(0)":""},He),t?{}:{margin:i.baseUnit/2,paddingBottom:i.baseUnit/2,paddingTop:i.baseUnit/2,color:s.neutral80})},Ve={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},He={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":(0,r.A)({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},Ve)},Ge=function(e){return(0,r.A)({label:"input",color:"inherit",background:0,opacity:e?0:1,width:"100%"},Ve)},ze=function(e,t){var n=e.theme,o=n.spacing,a=n.borderRadius,i=n.colors;return(0,r.A)({label:"multiValue",display:"flex",minWidth:0},t?{}:{backgroundColor:i.neutral10,borderRadius:a/2,margin:o.baseUnit/2})},$e=function(e,t){var n=e.theme,o=n.borderRadius,a=n.colors,i=e.cropWithEllipsis;return(0,r.A)({overflow:"hidden",textOverflow:i||void 0===i?"ellipsis":void 0,whiteSpace:"nowrap"},t?{}:{borderRadius:o/2,color:a.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},We=function(e,t){var n=e.theme,o=n.spacing,a=n.borderRadius,i=n.colors,s=e.isFocused;return(0,r.A)({alignItems:"center",display:"flex"},t?{}:{borderRadius:a/2,backgroundColor:s?i.dangerLight:void 0,paddingLeft:o.baseUnit,paddingRight:o.baseUnit,":hover":{backgroundColor:i.dangerLight,color:i.danger}})},Qe=function(e){var t=e.children,n=e.innerProps;return(0,a.Y)("div",n,t)},Ye=function(e,t){var n=e.isDisabled,o=e.isFocused,a=e.isSelected,i=e.theme,s=i.spacing,l=i.colors;return(0,r.A)({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},t?{}:{backgroundColor:a?l.primary:o?l.primary25:"transparent",color:n?l.neutral20:a?l.neutral0:"inherit",padding:"".concat(2*s.baseUnit,"px ").concat(3*s.baseUnit,"px"),":active":{backgroundColor:n?void 0:a?l.primary:l.primary50}})},Ke=function(e,t){var n=e.theme,o=n.spacing,a=n.colors;return(0,r.A)({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},t?{}:{color:a.neutral50,marginLeft:o.baseUnit/2,marginRight:o.baseUnit/2})},Ze=function(e,t){var n=e.isDisabled,o=e.theme,a=o.spacing,i=o.colors;return(0,r.A)({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},t?{}:{color:n?i.neutral40:i.neutral80,marginLeft:a.baseUnit/2,marginRight:a.baseUnit/2})},Xe={ClearIndicator:function(e){var t=e.children,n=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"clearIndicator",{indicator:!0,"clear-indicator":!0}),n),t||(0,a.Y)(Ie,null))},Control:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.innerRef,s=e.innerProps,l=e.menuIsOpen;return(0,a.Y)("div",(0,o.A)({ref:i},V(e,"control",{control:!0,"control--is-disabled":n,"control--is-focused":r,"control--menu-is-open":l}),s,{"aria-disabled":n||void 0}),t)},DropdownIndicator:function(e){var t=e.children,n=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),n),t||(0,a.Y)(qe,null))},DownChevron:qe,CrossIcon:Ie,Group:function(e){var t=e.children,n=e.cx,r=e.getStyles,i=e.getClassNames,s=e.Heading,l=e.headingProps,c=e.innerProps,u=e.label,d=e.theme,p=e.selectProps;return(0,a.Y)("div",(0,o.A)({},V(e,"group",{group:!0}),c),(0,a.Y)(s,(0,o.A)({},l,{selectProps:p,theme:d,getStyles:r,getClassNames:i,cx:n}),u),(0,a.Y)("div",null,t))},GroupHeading:function(e){var t=U(e);t.data;var n=(0,s.A)(t,Le);return(0,a.Y)("div",(0,o.A)({},V(e,"groupHeading",{"group-heading":!0}),n))},IndicatorsContainer:function(e){var t=e.children,n=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"indicatorsContainer",{indicators:!0}),n),t)},IndicatorSeparator:function(e){var t=e.innerProps;return(0,a.Y)("span",(0,o.A)({},t,V(e,"indicatorSeparator",{"indicator-separator":!0})))},Input:function(e){var t=e.cx,n=e.value,r=U(e),i=r.innerRef,l=r.isDisabled,c=r.isHidden,u=r.inputClassName,d=(0,s.A)(r,je);return(0,a.Y)("div",(0,o.A)({},V(e,"input",{"input-container":!0}),{"data-value":n||""}),(0,a.Y)("input",(0,o.A)({className:t({input:!0},u),ref:i,style:Ge(c),disabled:l},d)))},LoadingIndicator:function(e){var t=e.innerProps,n=e.isRtl,i=e.size,l=void 0===i?4:i,c=(0,s.A)(e,Ae);return(0,a.Y)("div",(0,o.A)({},V((0,r.A)((0,r.A)({},c),{},{innerProps:t,isRtl:n,size:l}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),t),(0,a.Y)(Ne,{delay:0,offset:n}),(0,a.Y)(Ne,{delay:160,offset:!0}),(0,a.Y)(Ne,{delay:320,offset:!n}))},Menu:function(e){var t=e.children,n=e.innerRef,r=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"menu",{menu:!0}),{ref:n},r),t)},MenuList:function(e){var t=e.children,n=e.innerProps,r=e.innerRef,i=e.isMulti;return(0,a.Y)("div",(0,o.A)({},V(e,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:r},n),t)},MenuPortal:function(e){var t=e.appendTo,n=e.children,s=e.controlElement,l=e.innerProps,c=e.menuPlacement,m=e.menuPosition,g=(0,u.useRef)(null),b=(0,u.useRef)(null),v=(0,u.useState)(de(c)),y=(0,i.A)(v,2),E=y[0],x=y[1],C=(0,u.useMemo)((function(){return{setPortalPlacement:x}}),[]),A=(0,u.useState)(null),S=(0,i.A)(A,2),O=S[0],I=S[1],D=(0,u.useCallback)((function(){if(s){var e=function(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}(s),t="fixed"===m?0:window.pageYOffset,n=e[E]+t;n===(null==O?void 0:O.offset)&&e.left===(null==O?void 0:O.rect.left)&&e.width===(null==O?void 0:O.rect.width)||I({offset:n,rect:e})}}),[s,m,E,null==O?void 0:O.offset,null==O?void 0:O.rect.left,null==O?void 0:O.rect.width]);(0,N.A)((function(){D()}),[D]);var k=(0,u.useCallback)((function(){"function"==typeof b.current&&(b.current(),b.current=null),s&&g.current&&(b.current=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=P(e),u=o||a?[...c?q(c):[],...q(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=w(e);function a(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function i(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),a();const{left:c,top:u,width:d,height:m}=e.getBoundingClientRect();if(s||t(),!d||!m)return;const g={rootMargin:-h(u)+"px "+-h(o.clientWidth-(c+d))+"px "+-h(o.clientHeight-(u+m))+"px "+-h(c)+"px",threshold:f(0,p(1,l))||1};let b=!0;function v(e){const t=e[0].intersectionRatio;if(t!==l){if(!b)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),1e3)}b=!1}try{r=new IntersectionObserver(v,{...g,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(v,g)}r.observe(e)}(!0),a}(c,n):null;let m,g=-1,b=null;i&&(b=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&b&&(b.unobserve(t),cancelAnimationFrame(g),g=requestAnimationFrame((()=>{var e;null==(e=b)||e.observe(t)}))),n()})),c&&!l&&b.observe(c),b.observe(t));let v=l?F(e):null;return l&&function t(){const r=F(e);!v||r.x===v.x&&r.y===v.y&&r.width===v.width&&r.height===v.height||n(),v=r,m=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=b)||e.disconnect(),b=null,l&&cancelAnimationFrame(m)}}(s,g.current,D,{elementResize:"ResizeObserver"in window}))}),[s,D]);(0,N.A)((function(){k()}),[k]);var _=(0,u.useCallback)((function(e){g.current=e,k()}),[k]);if(!t&&"fixed"!==m||!O)return null;var R=(0,a.Y)("div",(0,o.A)({ref:_},V((0,r.A)((0,r.A)({},e),{},{offset:O.offset,position:m,rect:O.rect}),"menuPortal",{"menu-portal":!0}),l),n);return(0,a.Y)(fe.Provider,{value:C},t?(0,d.createPortal)(R,t):R)},LoadingMessage:function(e){var t=e.children,n=void 0===t?"Loading...":t,i=e.innerProps,l=(0,s.A)(e,se);return(0,a.Y)("div",(0,o.A)({},V((0,r.A)((0,r.A)({},l),{},{children:n,innerProps:i}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),i),n)},NoOptionsMessage:function(e){var t=e.children,n=void 0===t?"No options":t,i=e.innerProps,l=(0,s.A)(e,ie);return(0,a.Y)("div",(0,o.A)({},V((0,r.A)((0,r.A)({},l),{},{children:n,innerProps:i}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),i),n)},MultiValue:function(e){var t=e.children,n=e.components,o=e.data,i=e.innerProps,s=e.isDisabled,l=e.removeProps,c=e.selectProps,u=n.Container,d=n.Label,p=n.Remove;return(0,a.Y)(u,{data:o,innerProps:(0,r.A)((0,r.A)({},V(e,"multiValue",{"multi-value":!0,"multi-value--is-disabled":s})),i),selectProps:c},(0,a.Y)(d,{data:o,innerProps:(0,r.A)({},V(e,"multiValueLabel",{"multi-value__label":!0})),selectProps:c},t),(0,a.Y)(p,{data:o,innerProps:(0,r.A)((0,r.A)({},V(e,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(t||"option")},l),selectProps:c}))},MultiValueContainer:Qe,MultiValueLabel:Qe,MultiValueRemove:function(e){var t=e.children,n=e.innerProps;return(0,a.Y)("div",(0,o.A)({role:"button"},n),t||(0,a.Y)(Ie,{size:14}))},Option:function(e){var t=e.children,n=e.isDisabled,r=e.isFocused,i=e.isSelected,s=e.innerRef,l=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"option",{option:!0,"option--is-disabled":n,"option--is-focused":r,"option--is-selected":i}),{ref:s,"aria-disabled":n},l),t)},Placeholder:function(e){var t=e.children,n=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"placeholder",{placeholder:!0}),n),t)},SelectContainer:function(e){var t=e.children,n=e.innerProps,r=e.isDisabled,i=e.isRtl;return(0,a.Y)("div",(0,o.A)({},V(e,"container",{"--is-disabled":r,"--is-rtl":i}),n),t)},SingleValue:function(e){var t=e.children,n=e.isDisabled,r=e.innerProps;return(0,a.Y)("div",(0,o.A)({},V(e,"singleValue",{"single-value":!0,"single-value--is-disabled":n}),r),t)},ValueContainer:function(e){var t=e.children,n=e.innerProps,r=e.isMulti,i=e.hasValue;return(0,a.Y)("div",(0,o.A)({},V(e,"valueContainer",{"value-container":!0,"value-container--is-multi":r,"value-container--has-value":i}),n),t)}},Je=function(e){return(0,r.A)((0,r.A)({},Xe),e.components)}},63662:(e,t,n)=>{"use strict";function r(e,t){return r=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},r(e,t)}n.d(t,{A:()=>r})},64039:(e,t,n)=>{"use strict";var r="undefined"!=typeof Symbol&&Symbol,o=n(41333);e.exports=function(){return"function"==typeof r&&"function"==typeof Symbol&&"symbol"==typeof r("foo")&&"symbol"==typeof Symbol("bar")&&o()}},64467:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(20816);function o(e,t,n){return(t=(0,r.A)(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}},64976:(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))for(t=0;t<e.length;t++)e[t]&&(n=r(e[t]))&&(o&&(o+=" "),o+=n);else for(t in e)e[t]&&(o&&(o+=" "),o+=t);return o}n.d(t,{A:()=>o});const o=function(){for(var e,t,n=0,o="";n<arguments.length;)(e=arguments[n++])&&(t=r(e))&&(o&&(o+=" "),o+=t);return o}},65903:(e,t,n)=>{"use strict";n.d(t,{JY:()=>oo,sx:()=>Ro,gL:()=>Lo});var r=n(51609),o=n.n(r),a=n(63662);function i(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,(0,a.A)(e,t)}var s=n(58168),l=n(89379);function c(e){return"Minified Redux error #"+e+"; visit https://redux.js.org/Errors?code="+e+" for the full message or use the non-minified dev environment for full errors. "}var u="function"==typeof Symbol&&Symbol.observable||"@@observable",d=function(){return Math.random().toString(36).substring(7).split("").join(".")},p={INIT:"@@redux/INIT"+d(),REPLACE:"@@redux/REPLACE"+d(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+d()}};function f(e,t,n){var r;if("function"==typeof t&&"function"==typeof n||"function"==typeof n&&"function"==typeof arguments[3])throw new Error(c(0));if("function"==typeof t&&void 0===n&&(n=t,t=void 0),void 0!==n){if("function"!=typeof n)throw new Error(c(1));return n(f)(e,t)}if("function"!=typeof e)throw new Error(c(2));var o=e,a=t,i=[],s=i,l=!1;function d(){s===i&&(s=i.slice())}function m(){if(l)throw new Error(c(3));return a}function h(e){if("function"!=typeof e)throw new Error(c(4));if(l)throw new Error(c(5));var t=!0;return d(),s.push(e),function(){if(t){if(l)throw new Error(c(6));t=!1,d();var n=s.indexOf(e);s.splice(n,1),i=null}}}function g(e){if(!function(e){if("object"!=typeof e||null===e)return!1;for(var t=e;null!==Object.getPrototypeOf(t);)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}(e))throw new Error(c(7));if(void 0===e.type)throw new Error(c(8));if(l)throw new Error(c(9));try{l=!0,a=o(a,e)}finally{l=!1}for(var t=i=s,n=0;n<t.length;n++)(0,t[n])();return e}return g({type:p.INIT}),(r={dispatch:g,subscribe:h,getState:m,replaceReducer:function(e){if("function"!=typeof e)throw new Error(c(10));o=e,g({type:p.REPLACE})}})[u]=function(){var e,t=h;return(e={subscribe:function(e){if("object"!=typeof e||null===e)throw new Error(c(11));function n(){e.next&&e.next(m())}return n(),{unsubscribe:t(n)}}})[u]=function(){return this},e},r}function m(e,t){return function(){return t(e.apply(this,arguments))}}function h(e,t){if("function"==typeof e)return m(e,t);if("object"!=typeof e||null===e)throw new Error(c(16));var n={};for(var r in e){var o=e[r];"function"==typeof o&&(n[r]=m(o,t))}return n}function g(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return 0===t.length?function(e){return e}:1===t.length?t[0]:t.reduce((function(e,t){return function(){return e(t.apply(void 0,arguments))}}))}var b=o().createContext(null),v=function(e){e()},y=function(){return v},w={notify:function(){},get:function(){return[]}};function E(e,t){var n,r=w;function o(){i.onStateChange&&i.onStateChange()}function a(){n||(n=t?t.addNestedSub(o):e.subscribe(o),r=function(){var e=y(),t=null,n=null;return{clear:function(){t=null,n=null},notify:function(){e((function(){for(var e=t;e;)e.callback(),e=e.next}))},get:function(){for(var e=[],n=t;n;)e.push(n),n=n.next;return e},subscribe:function(e){var r=!0,o=n={callback:e,next:null,prev:n};return o.prev?o.prev.next=o:t=o,function(){r&&null!==t&&(r=!1,o.next?o.next.prev=o.prev:n=o.prev,o.prev?o.prev.next=o.next:t=o.next)}}}}())}var i={addNestedSub:function(e){return a(),r.subscribe(e)},notifyNestedSubs:function(){r.notify()},handleChangeWrapper:o,isSubscribed:function(){return Boolean(n)},trySubscribe:a,tryUnsubscribe:function(){n&&(n(),n=void 0,r.clear(),r=w)},getListeners:function(){return r}};return i}var x="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect;const C=function(e){var t=e.store,n=e.context,a=e.children,i=(0,r.useMemo)((function(){var e=E(t);return{store:t,subscription:e}}),[t]),s=(0,r.useMemo)((function(){return t.getState()}),[t]);x((function(){var e=i.subscription;return e.onStateChange=e.notifyNestedSubs,e.trySubscribe(),s!==t.getState()&&e.notifyNestedSubs(),function(){e.tryUnsubscribe(),e.onStateChange=null}}),[i,s]);var l=n||b;return o().createElement(l.Provider,{value:i},a)};var A=n(98587),S=n(4146),O=n.n(S),I=n(54737),q=["getDisplayName","methodName","renderCountProp","shouldHandleStateChanges","storeKey","withRef","forwardRef","context"],D=["reactReduxForwardedRef"],P=[],k=[null,null];function _(e,t){var n=e[1];return[t.payload,n+1]}function R(e,t,n){x((function(){return e.apply(void 0,t)}),n)}function F(e,t,n,r,o,a,i){e.current=r,t.current=o,n.current=!1,a.current&&(a.current=null,i())}function N(e,t,n,r,o,a,i,s,l,c){if(e){var u=!1,d=null,p=function(){if(!u){var e,n,p=t.getState();try{e=r(p,o.current)}catch(e){n=e,d=e}n||(d=null),e===a.current?i.current||l():(a.current=e,s.current=e,i.current=!0,c({type:"STORE_UPDATED",payload:{error:n}}))}};return n.onStateChange=p,n.trySubscribe(),p(),function(){if(u=!0,n.tryUnsubscribe(),n.onStateChange=null,d)throw d}}}var T=function(){return[null,0]};function L(e,t){void 0===t&&(t={});var n=t,a=n.getDisplayName,i=void 0===a?function(e){return"ConnectAdvanced("+e+")"}:a,l=n.methodName,c=void 0===l?"connectAdvanced":l,u=n.renderCountProp,d=void 0===u?void 0:u,p=n.shouldHandleStateChanges,f=void 0===p||p,m=n.storeKey,h=void 0===m?"store":m,g=(n.withRef,n.forwardRef),v=void 0!==g&&g,y=n.context,w=void 0===y?b:y,x=(0,A.A)(n,q),C=w;return function(t){var n=t.displayName||t.name||"Component",a=i(n),l=(0,s.A)({},x,{getDisplayName:i,methodName:c,renderCountProp:d,shouldHandleStateChanges:f,storeKey:h,displayName:a,wrappedComponentName:n,WrappedComponent:t}),u=x.pure,p=u?r.useMemo:function(e){return e()};function m(n){var a=(0,r.useMemo)((function(){var e=n.reactReduxForwardedRef,t=(0,A.A)(n,D);return[n.context,e,t]}),[n]),i=a[0],c=a[1],u=a[2],d=(0,r.useMemo)((function(){return i&&i.Consumer&&(0,I.isContextConsumer)(o().createElement(i.Consumer,null))?i:C}),[i,C]),m=(0,r.useContext)(d),h=Boolean(n.store)&&Boolean(n.store.getState)&&Boolean(n.store.dispatch);Boolean(m)&&Boolean(m.store);var g=h?n.store:m.store,b=(0,r.useMemo)((function(){return function(t){return e(t.dispatch,l)}(g)}),[g]),v=(0,r.useMemo)((function(){if(!f)return k;var e=E(g,h?null:m.subscription),t=e.notifyNestedSubs.bind(e);return[e,t]}),[g,h,m]),y=v[0],w=v[1],x=(0,r.useMemo)((function(){return h?m:(0,s.A)({},m,{subscription:y})}),[h,m,y]),S=(0,r.useReducer)(_,P,T),O=S[0][0],q=S[1];if(O&&O.error)throw O.error;var L=(0,r.useRef)(),M=(0,r.useRef)(u),B=(0,r.useRef)(),j=(0,r.useRef)(!1),U=p((function(){return B.current&&u===M.current?B.current:b(g.getState(),u)}),[g,O,u]);R(F,[M,L,j,u,U,B,w]),R(N,[f,g,y,b,M,L,j,B,w,q],[g,y,b]);var V=(0,r.useMemo)((function(){return o().createElement(t,(0,s.A)({},U,{ref:c}))}),[c,t,U]);return(0,r.useMemo)((function(){return f?o().createElement(d.Provider,{value:x},V):V}),[d,V,x])}var g=u?o().memo(m):m;if(g.WrappedComponent=t,g.displayName=m.displayName=a,v){var b=o().forwardRef((function(e,t){return o().createElement(g,(0,s.A)({},e,{reactReduxForwardedRef:t}))}));return b.displayName=a,b.WrappedComponent=t,O()(b,t)}return O()(g,t)}}function M(e,t){return e===t?0!==e||0!==t||1/e==1/t:e!=e&&t!=t}function B(e,t){if(M(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(var o=0;o<n.length;o++)if(!Object.prototype.hasOwnProperty.call(t,n[o])||!M(e[n[o]],t[n[o]]))return!1;return!0}function j(e){return function(t,n){var r=e(t,n);function o(){return r}return o.dependsOnOwnProps=!1,o}}function U(e){return null!==e.dependsOnOwnProps&&void 0!==e.dependsOnOwnProps?Boolean(e.dependsOnOwnProps):1!==e.length}function V(e,t){return function(t,n){n.displayName;var r=function(e,t){return r.dependsOnOwnProps?r.mapToProps(e,t):r.mapToProps(e)};return r.dependsOnOwnProps=!0,r.mapToProps=function(t,n){r.mapToProps=e,r.dependsOnOwnProps=U(e);var o=r(t,n);return"function"==typeof o&&(r.mapToProps=o,r.dependsOnOwnProps=U(o),o=r(t,n)),o},r}}const H=[function(e){return"function"==typeof e?V(e):void 0},function(e){return e?void 0:j((function(e){return{dispatch:e}}))},function(e){return e&&"object"==typeof e?j((function(t){return function(e,t){var n={},r=function(r){var o=e[r];"function"==typeof o&&(n[r]=function(){return t(o.apply(void 0,arguments))})};for(var o in e)r(o);return n}(e,t)})):void 0}],G=[function(e){return"function"==typeof e?V(e):void 0},function(e){return e?void 0:j((function(){return{}}))}];function z(e,t,n){return(0,s.A)({},n,e,t)}const $=[function(e){return"function"==typeof e?function(e){return function(t,n){n.displayName;var r,o=n.pure,a=n.areMergedPropsEqual,i=!1;return function(t,n,s){var l=e(t,n,s);return i?o&&a(l,r)||(r=l):(i=!0,r=l),r}}}(e):void 0},function(e){return e?void 0:function(){return z}}];var W=["initMapStateToProps","initMapDispatchToProps","initMergeProps"];function Q(e,t,n,r){return function(o,a){return n(e(o,a),t(r,a),a)}}function Y(e,t,n,r,o){var a,i,s,l,c,u=o.areStatesEqual,d=o.areOwnPropsEqual,p=o.areStatePropsEqual,f=!1;return function(o,m){return f?function(o,f){var m,h,g=!d(f,i),b=!u(o,a,f,i);return a=o,i=f,g&&b?(s=e(a,i),t.dependsOnOwnProps&&(l=t(r,i)),c=n(s,l,i)):g?(e.dependsOnOwnProps&&(s=e(a,i)),t.dependsOnOwnProps&&(l=t(r,i)),c=n(s,l,i)):b?(m=e(a,i),h=!p(m,s),s=m,h&&(c=n(s,l,i)),c):c}(o,m):(s=e(a=o,i=m),l=t(r,i),c=n(s,l,i),f=!0,c)}}function K(e,t){var n=t.initMapStateToProps,r=t.initMapDispatchToProps,o=t.initMergeProps,a=(0,A.A)(t,W),i=n(e,a),s=r(e,a),l=o(e,a);return(a.pure?Y:Q)(i,s,l,e,a)}var Z=["pure","areStatesEqual","areOwnPropsEqual","areStatePropsEqual","areMergedPropsEqual"];function X(e,t,n){for(var r=t.length-1;r>=0;r--){var o=t[r](e);if(o)return o}return function(t,r){throw new Error("Invalid value of type "+typeof e+" for "+n+" argument when connecting component "+r.wrappedComponentName+".")}}function J(e,t){return e===t}function ee(e){var t=void 0===e?{}:e,n=t.connectHOC,r=void 0===n?L:n,o=t.mapStateToPropsFactories,a=void 0===o?G:o,i=t.mapDispatchToPropsFactories,l=void 0===i?H:i,c=t.mergePropsFactories,u=void 0===c?$:c,d=t.selectorFactory,p=void 0===d?K:d;return function(e,t,n,o){void 0===o&&(o={});var i=o,c=i.pure,d=void 0===c||c,f=i.areStatesEqual,m=void 0===f?J:f,h=i.areOwnPropsEqual,g=void 0===h?B:h,b=i.areStatePropsEqual,v=void 0===b?B:b,y=i.areMergedPropsEqual,w=void 0===y?B:y,E=(0,A.A)(i,Z),x=X(e,a,"mapStateToProps"),C=X(t,l,"mapDispatchToProps"),S=X(n,u,"mergeProps");return r(p,(0,s.A)({methodName:"connect",getDisplayName:function(e){return"Connect("+e+")"},shouldHandleStateChanges:Boolean(e),initMapStateToProps:x,initMapDispatchToProps:C,initMergeProps:S,pure:d,areStatesEqual:m,areOwnPropsEqual:g,areStatePropsEqual:v,areMergedPropsEqual:w},E))}}const te=ee();var ne,re=n(75795),oe=n.n(re);function ae(e,t){var n=(0,r.useState)((function(){return{inputs:t,result:e()}}))[0],o=(0,r.useRef)(!0),a=(0,r.useRef)(n),i=o.current||Boolean(t&&a.current.inputs&&function(e,t){if(e.length!==t.length)return!1;for(var n=0;n<e.length;n++)if(e[n]!==t[n])return!1;return!0}(t,a.current.inputs))?a.current:{inputs:t,result:e()};return(0,r.useEffect)((function(){o.current=!1,a.current=i}),[i]),i.result}ne=re.unstable_batchedUpdates,v=ne;var ie=ae,se=function(e,t){return ae((function(){return e}),t)},le=function(e){var t=e.top,n=e.right,r=e.bottom,o=e.left;return{top:t,right:n,bottom:r,left:o,width:n-o,height:r-t,x:o,y:t,center:{x:(n+o)/2,y:(r+t)/2}}},ce=function(e,t){return{top:e.top-t.top,left:e.left-t.left,bottom:e.bottom+t.bottom,right:e.right+t.right}},ue=function(e,t){return{top:e.top+t.top,left:e.left+t.left,bottom:e.bottom-t.bottom,right:e.right-t.right}},de={top:0,right:0,bottom:0,left:0},pe=function(e){var t=e.borderBox,n=e.margin,r=void 0===n?de:n,o=e.border,a=void 0===o?de:o,i=e.padding,s=void 0===i?de:i,l=le(ce(t,r)),c=le(ue(t,a)),u=le(ue(c,s));return{marginBox:l,borderBox:le(t),paddingBox:c,contentBox:u,margin:r,border:a,padding:s}},fe=function(e){var t=e.slice(0,-2);if("px"!==e.slice(-2))return 0;var n=Number(t);return isNaN(n)&&function(){throw new Error("Invariant failed")}(),n},me=function(e,t){var n,r,o=e.borderBox,a=e.border,i=e.margin,s=e.padding,l=(r=t,{top:(n=o).top+r.y,left:n.left+r.x,bottom:n.bottom+r.y,right:n.right+r.x});return pe({borderBox:l,border:a,margin:i,padding:s})},he=function(e,t){return void 0===t&&(t={x:window.pageXOffset,y:window.pageYOffset}),me(e,t)},ge=function(e,t){var n={top:fe(t.marginTop),right:fe(t.marginRight),bottom:fe(t.marginBottom),left:fe(t.marginLeft)},r={top:fe(t.paddingTop),right:fe(t.paddingRight),bottom:fe(t.paddingBottom),left:fe(t.paddingLeft)},o={top:fe(t.borderTopWidth),right:fe(t.borderRightWidth),bottom:fe(t.borderBottomWidth),left:fe(t.borderLeftWidth)};return pe({borderBox:e,margin:n,padding:r,border:o})},be=function(e){var t=e.getBoundingClientRect(),n=window.getComputedStyle(e);return ge(t,n)},ve=n(41811);const ye=function(e){var t=[],n=null,r=function(){for(var r=arguments.length,o=new Array(r),a=0;a<r;a++)o[a]=arguments[a];t=o,n||(n=requestAnimationFrame((function(){n=null,e.apply(void 0,t)})))};return r.cancel=function(){n&&(cancelAnimationFrame(n),n=null)},r};function we(e,t){}function Ee(){}function xe(e,t,n){var r=t.map((function(t){var r,o,a=(r=n,o=t.options,(0,s.A)({},r,{},o));return e.addEventListener(t.eventName,t.fn,a),function(){e.removeEventListener(t.eventName,t.fn,a)}}));return function(){r.forEach((function(e){e()}))}}we.bind(null,"warn"),we.bind(null,"error");var Ce=!0,Ae="Invariant failed";function Se(e){this.message=e}function Oe(e,t){if(!e)throw new Se(Ce?Ae:Ae+": "+(t||""))}Se.prototype.toString=function(){return this.message};var Ie=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).callbacks=null,t.unbind=Ee,t.onWindowError=function(e){var n=t.getCallbacks();n.isDragging()&&n.tryAbort(),e.error instanceof Se&&e.preventDefault()},t.getCallbacks=function(){if(!t.callbacks)throw new Error("Unable to find AppCallbacks in <ErrorBoundary/>");return t.callbacks},t.setCallbacks=function(e){t.callbacks=e},t}i(t,e);var n=t.prototype;return n.componentDidMount=function(){this.unbind=xe(window,[{eventName:"error",fn:this.onWindowError}])},n.componentDidCatch=function(e){if(!(e instanceof Se))throw e;this.setState({})},n.componentWillUnmount=function(){this.unbind()},n.render=function(){return this.props.children(this.setCallbacks)},t}(o().Component),qe=function(e){return e+1},De=function(e,t){var n=e.droppableId===t.droppableId,r=qe(e.index),o=qe(t.index);return n?"\n You have moved the item from position "+r+"\n to position "+o+"\n ":"\n You have moved the item from position "+r+"\n in list "+e.droppableId+"\n to list "+t.droppableId+"\n in position "+o+"\n "},Pe=function(e,t,n){return t.droppableId===n.droppableId?"\n The item "+e+"\n has been combined with "+n.draggableId:"\n The item "+e+"\n in list "+t.droppableId+"\n has been combined with "+n.draggableId+"\n in list "+n.droppableId+"\n "},ke=function(e){return"\n The item has returned to its starting position\n of "+qe(e.index)+"\n"},_e={dragHandleUsageInstructions:"\n Press space bar to start a drag.\n When dragging you can use the arrow keys to move the item around and escape to cancel.\n Some screen readers may require you to be in focus mode or to use your pass through key\n",onDragStart:function(e){return"\n You have lifted an item in position "+qe(e.source.index)+"\n"},onDragUpdate:function(e){var t=e.destination;if(t)return De(e.source,t);var n=e.combine;return n?Pe(e.draggableId,e.source,n):"You are over an area that cannot be dropped on"},onDragEnd:function(e){if("CANCEL"===e.reason)return"\n Movement cancelled.\n "+ke(e.source)+"\n ";var t=e.destination,n=e.combine;return t?"\n You have dropped the item.\n "+De(e.source,t)+"\n ":n?"\n You have dropped the item.\n "+Pe(e.draggableId,e.source,n)+"\n ":"\n The item has been dropped while not over a drop area.\n "+ke(e.source)+"\n "}},Re={x:0,y:0},Fe=function(e,t){return{x:e.x+t.x,y:e.y+t.y}},Ne=function(e,t){return{x:e.x-t.x,y:e.y-t.y}},Te=function(e,t){return e.x===t.x&&e.y===t.y},Le=function(e){return{x:0!==e.x?-e.x:0,y:0!==e.y?-e.y:0}},Me=function(e,t,n){var r;return void 0===n&&(n=0),(r={})[e]=t,r["x"===e?"y":"x"]=n,r},Be=function(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))},je=function(e,t){return Math.min.apply(Math,t.map((function(t){return Be(e,t)})))},Ue=function(e){return function(t){return{x:e(t.x),y:e(t.y)}}},Ve=function(e,t){return{top:e.top+t.y,left:e.left+t.x,bottom:e.bottom+t.y,right:e.right+t.x}},He=function(e){return[{x:e.left,y:e.top},{x:e.right,y:e.top},{x:e.left,y:e.bottom},{x:e.right,y:e.bottom}]},Ge=function(e,t){return t&&t.shouldClipSubject?function(e,t){var n=le({top:Math.max(t.top,e.top),right:Math.min(t.right,e.right),bottom:Math.min(t.bottom,e.bottom),left:Math.max(t.left,e.left)});return n.width<=0||n.height<=0?null:n}(t.pageMarginBox,e):le(e)},ze=function(e){var t=e.page,n=e.withPlaceholder,r=e.axis,o=e.frame,a=function(e,t){return t?Ve(e,t.scroll.diff.displacement):e}(t.marginBox,o),i=function(e,t,n){var r;return n&&n.increasedBy?(0,s.A)({},e,((r={})[t.end]=e[t.end]+n.increasedBy[t.line],r)):e}(a,r,n);return{page:t,withPlaceholder:n,active:Ge(i,o)}},$e=function(e,t){e.frame||Oe(!1);var n=e.frame,r=Ne(t,n.scroll.initial),o=Le(r),a=(0,s.A)({},n,{scroll:{initial:n.scroll.initial,current:t,diff:{value:r,displacement:o},max:n.scroll.max}}),i=ze({page:e.subject.page,withPlaceholder:e.subject.withPlaceholder,axis:e.axis,frame:a});return(0,s.A)({},e,{frame:a,subject:i})};function We(e){return Object.values?Object.values(e):Object.keys(e).map((function(t){return e[t]}))}function Qe(e,t){if(e.findIndex)return e.findIndex(t);for(var n=0;n<e.length;n++)if(t(e[n]))return n;return-1}function Ye(e,t){if(e.find)return e.find(t);var n=Qe(e,t);return-1!==n?e[n]:void 0}function Ke(e){return Array.prototype.slice.call(e)}var Ze=(0,ve.A)((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Xe=(0,ve.A)((function(e){return e.reduce((function(e,t){return e[t.descriptor.id]=t,e}),{})})),Je=(0,ve.A)((function(e){return We(e)})),et=(0,ve.A)((function(e){return We(e)})),tt=(0,ve.A)((function(e,t){var n=et(t).filter((function(t){return e===t.descriptor.droppableId})).sort((function(e,t){return e.descriptor.index-t.descriptor.index}));return n}));function nt(e){return e.at&&"REORDER"===e.at.type?e.at.destination:null}function rt(e){return e.at&&"COMBINE"===e.at.type?e.at.combine:null}var ot=(0,ve.A)((function(e,t){return t.filter((function(t){return t.descriptor.id!==e.descriptor.id}))})),at=function(e,t){return e.descriptor.droppableId===t.descriptor.id},it={point:Re,value:0},st={invisible:{},visible:{},all:[]},lt={displaced:st,displacedBy:it,at:null},ct=function(e,t){return function(n){return e<=n&&n<=t}},ut=function(e){var t=ct(e.top,e.bottom),n=ct(e.left,e.right);return function(r){if(t(r.top)&&t(r.bottom)&&n(r.left)&&n(r.right))return!0;var o=t(r.top)||t(r.bottom),a=n(r.left)||n(r.right);if(o&&a)return!0;var i=r.top<e.top&&r.bottom>e.bottom,s=r.left<e.left&&r.right>e.right;return!(!i||!s)||i&&a||s&&o}},dt=function(e){var t=ct(e.top,e.bottom),n=ct(e.left,e.right);return function(e){return t(e.top)&&t(e.bottom)&&n(e.left)&&n(e.right)}},pt={direction:"vertical",line:"y",crossAxisLine:"x",start:"top",end:"bottom",size:"height",crossAxisStart:"left",crossAxisEnd:"right",crossAxisSize:"width"},ft={direction:"horizontal",line:"x",crossAxisLine:"y",start:"left",end:"right",size:"width",crossAxisStart:"top",crossAxisEnd:"bottom",crossAxisSize:"height"},mt=function(e){var t=e.target,n=e.destination,r=e.viewport,o=e.withDroppableDisplacement,a=e.isVisibleThroughFrameFn,i=o?function(e,t){var n=t.frame?t.frame.scroll.diff.displacement:Re;return Ve(e,n)}(t,n):t;return function(e,t,n){return!!t.subject.active&&n(t.subject.active)(e)}(i,n,a)&&function(e,t,n){return n(t)(e)}(i,r,a)},ht=function(e){return mt((0,s.A)({},e,{isVisibleThroughFrameFn:dt}))};function gt(e){var t=e.afterDragging,n=e.destination,r=e.displacedBy,o=e.viewport,a=e.forceShouldAnimate,i=e.last;return t.reduce((function(e,t){var l,c=function(e,t){var n=e.page.marginBox,r={top:t.point.y,right:0,bottom:0,left:t.point.x};return le(ce(n,r))}(t,r),u=t.descriptor.id;if(e.all.push(u),l={target:c,destination:n,viewport:o,withDroppableDisplacement:!0},!mt((0,s.A)({},l,{isVisibleThroughFrameFn:ut})))return e.invisible[t.descriptor.id]=!0,e;var d=function(e,t,n){if("boolean"==typeof n)return n;if(!t)return!0;var r=t.invisible,o=t.visible;if(r[e])return!1;var a=o[e];return!a||a.shouldAnimate}(u,i,a),p={draggableId:u,shouldAnimate:d};return e.visible[u]=p,e}),{all:[],visible:{},invisible:{}})}function bt(e){var t=e.insideDestination,n=e.inHomeList,r=e.displacedBy,o=e.destination,a=function(e,t){if(!e.length)return 0;var n=e[e.length-1].descriptor.index;return t.inHomeList?n:n+1}(t,{inHomeList:n});return{displaced:st,displacedBy:r,at:{type:"REORDER",destination:{droppableId:o.descriptor.id,index:a}}}}function vt(e){var t=e.draggable,n=e.insideDestination,r=e.destination,o=e.viewport,a=e.displacedBy,i=e.last,s=e.index,l=e.forceShouldAnimate,c=at(t,r);if(null==s)return bt({insideDestination:n,inHomeList:c,displacedBy:a,destination:r});var u=Ye(n,(function(e){return e.descriptor.index===s}));if(!u)return bt({insideDestination:n,inHomeList:c,displacedBy:a,destination:r});var d=ot(t,n),p=n.indexOf(u);return{displaced:gt({afterDragging:d.slice(p),destination:r,displacedBy:a,last:i,viewport:o.frame,forceShouldAnimate:l}),displacedBy:a,at:{type:"REORDER",destination:{droppableId:r.descriptor.id,index:s}}}}function yt(e,t){return Boolean(t.effected[e])}var wt=function(e,t){return t.margin[e.start]+t.borderBox[e.size]/2},Et=function(e,t,n){return t[e.crossAxisStart]+n.margin[e.crossAxisStart]+n.borderBox[e.crossAxisSize]/2},xt=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Me(t.line,n.marginBox[t.end]+wt(t,r),Et(t,n.marginBox,r))},Ct=function(e){var t=e.axis,n=e.moveRelativeTo,r=e.isMoving;return Me(t.line,n.marginBox[t.start]-function(e,t){return t.margin[e.end]+t.borderBox[e.size]/2}(t,r),Et(t,n.marginBox,r))},At=function(e,t){var n=e.frame;return n?Fe(t,n.scroll.diff.displacement):t},St=function(e){var t=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,a=e.afterCritical,i=n.page.borderBox.center,s=t.at;return r&&s?"REORDER"===s.type?function(e){var t=e.impact,n=e.draggable,r=e.draggables,o=e.droppable,a=e.afterCritical,i=tt(o.descriptor.id,r),s=n.page,l=o.axis;if(!i.length)return function(e){var t=e.axis,n=e.moveInto,r=e.isMoving;return Me(t.line,n.contentBox[t.start]+wt(t,r),Et(t,n.contentBox,r))}({axis:l,moveInto:o.page,isMoving:s});var c=t.displaced,u=t.displacedBy,d=c.all[0];if(d){var p=r[d];if(yt(d,a))return Ct({axis:l,moveRelativeTo:p.page,isMoving:s});var f=me(p.page,u.point);return Ct({axis:l,moveRelativeTo:f,isMoving:s})}var m=i[i.length-1];if(m.descriptor.id===n.descriptor.id)return s.borderBox.center;if(yt(m.descriptor.id,a)){var h=me(m.page,Le(a.displacedBy.point));return xt({axis:l,moveRelativeTo:h,isMoving:s})}return xt({axis:l,moveRelativeTo:m.page,isMoving:s})}({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:a}):function(e){var t=e.afterCritical,n=e.impact,r=e.draggables,o=rt(n);o||Oe(!1);var a=o.draggableId,i=r[a].page.borderBox.center,s=function(e){var t=e.displaced,n=e.afterCritical,r=e.combineWith,o=e.displacedBy,a=Boolean(t.visible[r]||t.invisible[r]);return yt(r,n)?a?Re:Le(o.point):a?o.point:Re}({displaced:n.displaced,afterCritical:t,combineWith:a,displacedBy:n.displacedBy});return Fe(i,s)}({impact:t,draggables:o,afterCritical:a}):i}(e),n=e.droppable;return n?At(n,t):t},Ot=function(e,t){var n=Ne(t,e.scroll.initial),r=Le(n);return{frame:le({top:t.y,bottom:t.y+e.frame.height,left:t.x,right:t.x+e.frame.width}),scroll:{initial:e.scroll.initial,max:e.scroll.max,current:t,diff:{value:n,displacement:r}}}};function It(e,t){return e.map((function(e){return t[e]}))}var qt=function(e){var t,n,r=e.pageBorderBoxCenter,o=e.draggable,a=(t=e.viewport,n=r,Fe(t.scroll.diff.displacement,n)),i=Ne(a,o.page.borderBox.center);return Fe(o.client.borderBox.center,i)},Dt=function(e){var t=e.draggable,n=e.destination,r=e.newPageBorderBoxCenter,o=e.viewport,a=e.withDroppableDisplacement,i=e.onlyOnMainAxis,l=void 0!==i&&i,c=Ne(r,t.page.borderBox.center),u={target:Ve(t.page.borderBox,c),destination:n,withDroppableDisplacement:a,viewport:o};return l?function(e){return mt((0,s.A)({},e,{isVisibleThroughFrameFn:(t=e.destination.axis,function(e){var n=ct(e.top,e.bottom),r=ct(e.left,e.right);return function(e){return t===pt?n(e.top)&&n(e.bottom):r(e.left)&&r(e.right)}})}));var t}(u):ht(u)},Pt=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.draggables,a=e.previousImpact,i=e.viewport,l=e.previousPageBorderBoxCenter,c=e.previousClientSelection,u=e.afterCritical;if(!r.isEnabled)return null;var d=tt(r.descriptor.id,o),p=at(n,r),f=function(e){var t=e.isMovingForward,n=e.draggable,r=e.destination,o=e.insideDestination,a=e.previousImpact;if(!r.isCombineEnabled)return null;if(!nt(a))return null;function i(e){var t={type:"COMBINE",combine:{draggableId:e,droppableId:r.descriptor.id}};return(0,s.A)({},a,{at:t})}var l=a.displaced.all,c=l.length?l[0]:null;if(t)return c?i(c):null;var u=ot(n,o);if(!c)return u.length?i(u[u.length-1].descriptor.id):null;var d=Qe(u,(function(e){return e.descriptor.id===c}));-1===d&&Oe(!1);var p=d-1;return p<0?null:i(u[p].descriptor.id)}({isMovingForward:t,draggable:n,destination:r,insideDestination:d,previousImpact:a})||function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.draggable,o=e.draggables,a=e.destination,i=e.insideDestination,s=e.previousImpact,l=e.viewport,c=e.afterCritical,u=s.at;if(u||Oe(!1),"REORDER"===u.type){var d=function(e){var t=e.isMovingForward,n=e.isInHomeList,r=e.insideDestination,o=e.location;if(!r.length)return null;var a=o.index,i=t?a+1:a-1,s=r[0].descriptor.index,l=r[r.length-1].descriptor.index;return i<s||i>(n?l:l+1)?null:i}({isMovingForward:t,isInHomeList:n,location:u.destination,insideDestination:i});return null==d?null:vt({draggable:r,insideDestination:i,destination:a,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:d})}var p=function(e){var t=e.isMovingForward,n=e.draggables,r=e.combine,o=e.afterCritical;if(!e.destination.isCombineEnabled)return null;var a=r.draggableId,i=n[a].descriptor.index;return yt(a,o)?t?i:i-1:t?i+1:i}({isMovingForward:t,destination:a,displaced:s.displaced,draggables:o,combine:u.combine,afterCritical:c});return null==p?null:vt({draggable:r,insideDestination:i,destination:a,viewport:l,last:s.displaced,displacedBy:s.displacedBy,index:p})}({isMovingForward:t,isInHomeList:p,draggable:n,draggables:o,destination:r,insideDestination:d,previousImpact:a,viewport:i,afterCritical:u});if(!f)return null;var m=St({impact:f,draggable:n,droppable:r,draggables:o,afterCritical:u});if(Dt({draggable:n,destination:r,newPageBorderBoxCenter:m,viewport:i.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0}))return{clientSelection:qt({pageBorderBoxCenter:m,draggable:n,viewport:i}),impact:f,scrollJumpRequest:null};var h=Ne(m,l),g=function(e){var t=e.impact,n=e.viewport,r=e.destination,o=e.draggables,a=e.maxScrollChange,i=Ot(n,Fe(n.scroll.current,a)),l=r.frame?$e(r,Fe(r.frame.scroll.current,a)):r,c=t.displaced,u=gt({afterDragging:It(c.all,o),destination:r,displacedBy:t.displacedBy,viewport:i.frame,last:c,forceShouldAnimate:!1}),d=gt({afterDragging:It(c.all,o),destination:l,displacedBy:t.displacedBy,viewport:n.frame,last:c,forceShouldAnimate:!1}),p={},f={},m=[c,u,d];return c.all.forEach((function(e){var t=function(e,t){for(var n=0;n<t.length;n++){var r=t[n].visible[e];if(r)return r}return null}(e,m);t?f[e]=t:p[e]=!0})),(0,s.A)({},t,{displaced:{all:c.all,invisible:p,visible:f}})}({impact:f,viewport:i,destination:r,draggables:o,maxScrollChange:h});return{clientSelection:c,impact:g,scrollJumpRequest:h}},kt=function(e){var t=e.subject.active;return t||Oe(!1),t},_t=function(e,t){var n=e.page.borderBox.center;return yt(e.descriptor.id,t)?Ne(n,t.displacedBy.point):n},Rt=function(e,t){var n=e.page.borderBox;return yt(e.descriptor.id,t)?Ve(n,Le(t.displacedBy.point)):n},Ft=(0,ve.A)((function(e,t){var n=t[e.line];return{value:n,point:Me(e.line,n)}})),Nt=function(e,t){return(0,s.A)({},e,{scroll:(0,s.A)({},e.scroll,{max:t})})},Tt=function(e,t,n){var r=e.frame;at(t,e)&&Oe(!1),e.subject.withPlaceholder&&Oe(!1);var o=Ft(e.axis,t.displaceBy).point,a=function(e,t,n){var r=e.axis;if("virtual"===e.descriptor.mode)return Me(r.line,t[r.line]);var o=e.subject.page.contentBox[r.size],a=tt(e.descriptor.id,n).reduce((function(e,t){return e+t.client.marginBox[r.size]}),0)+t[r.line]-o;return a<=0?null:Me(r.line,a)}(e,o,n),i={placeholderSize:o,increasedBy:a,oldFrameMaxScroll:e.frame?e.frame.scroll.max:null};if(!r){var l=ze({page:e.subject.page,withPlaceholder:i,axis:e.axis,frame:e.frame});return(0,s.A)({},e,{subject:l})}var c=a?Fe(r.scroll.max,a):r.scroll.max,u=Nt(r,c),d=ze({page:e.subject.page,withPlaceholder:i,axis:e.axis,frame:u});return(0,s.A)({},e,{subject:d,frame:u})},Lt=function(e){var t=e.at;return t?"REORDER"===t.type?t.destination.droppableId:t.combine.droppableId:null},Mt=function(e){var t=e.state,n=e.type,r=function(e,t){var n=Lt(e);return n?t[n]:null}(t.impact,t.dimensions.droppables),o=Boolean(r),a=t.dimensions.droppables[t.critical.droppable.id],i=r||a,s=i.axis.direction,l="vertical"===s&&("MOVE_UP"===n||"MOVE_DOWN"===n)||"horizontal"===s&&("MOVE_LEFT"===n||"MOVE_RIGHT"===n);if(l&&!o)return null;var c="MOVE_DOWN"===n||"MOVE_RIGHT"===n,u=t.dimensions.draggables[t.critical.draggable.id],d=t.current.page.borderBoxCenter,p=t.dimensions,f=p.draggables,m=p.droppables;return l?Pt({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,destination:i,draggables:f,viewport:t.viewport,previousClientSelection:t.current.client.selection,previousImpact:t.impact,afterCritical:t.afterCritical}):function(e){var t=e.isMovingForward,n=e.previousPageBorderBoxCenter,r=e.draggable,o=e.isOver,a=e.draggables,i=e.droppables,s=e.viewport,l=e.afterCritical,c=function(e){var t=e.isMovingForward,n=e.pageBorderBoxCenter,r=e.source,o=e.droppables,a=e.viewport,i=r.subject.active;if(!i)return null;var s=r.axis,l=ct(i[s.start],i[s.end]),c=Je(o).filter((function(e){return e!==r})).filter((function(e){return e.isEnabled})).filter((function(e){return Boolean(e.subject.active)})).filter((function(e){return ut(a.frame)(kt(e))})).filter((function(e){var n=kt(e);return t?i[s.crossAxisEnd]<n[s.crossAxisEnd]:n[s.crossAxisStart]<i[s.crossAxisStart]})).filter((function(e){var t=kt(e),n=ct(t[s.start],t[s.end]);return l(t[s.start])||l(t[s.end])||n(i[s.start])||n(i[s.end])})).sort((function(e,n){var r=kt(e)[s.crossAxisStart],o=kt(n)[s.crossAxisStart];return t?r-o:o-r})).filter((function(e,t,n){return kt(e)[s.crossAxisStart]===kt(n[0])[s.crossAxisStart]}));if(!c.length)return null;if(1===c.length)return c[0];var u=c.filter((function(e){return ct(kt(e)[s.start],kt(e)[s.end])(n[s.line])}));return 1===u.length?u[0]:u.length>1?u.sort((function(e,t){return kt(e)[s.start]-kt(t)[s.start]}))[0]:c.sort((function(e,t){var r=je(n,He(kt(e))),o=je(n,He(kt(t)));return r!==o?r-o:kt(e)[s.start]-kt(t)[s.start]}))[0]}({isMovingForward:t,pageBorderBoxCenter:n,source:o,droppables:i,viewport:s});if(!c)return null;var u=tt(c.descriptor.id,a),d=function(e){var t=e.pageBorderBoxCenter,n=e.viewport,r=e.destination,o=e.afterCritical,a=e.insideDestination.filter((function(e){return ht({target:Rt(e,o),destination:r,viewport:n.frame,withDroppableDisplacement:!0})})).sort((function(e,n){var a=Be(t,At(r,_t(e,o))),i=Be(t,At(r,_t(n,o)));return a<i?-1:i<a?1:e.descriptor.index-n.descriptor.index}));return a[0]||null}({pageBorderBoxCenter:n,viewport:s,destination:c,insideDestination:u,afterCritical:l}),p=function(e){var t=e.previousPageBorderBoxCenter,n=e.moveRelativeTo,r=e.insideDestination,o=e.draggable,a=e.draggables,i=e.destination,s=e.viewport,l=e.afterCritical;if(!n){if(r.length)return null;var c={displaced:st,displacedBy:it,at:{type:"REORDER",destination:{droppableId:i.descriptor.id,index:0}}},u=St({impact:c,draggable:o,droppable:i,draggables:a,afterCritical:l}),d=at(o,i)?i:Tt(i,o,a);return Dt({draggable:o,destination:d,newPageBorderBoxCenter:u,viewport:s.frame,withDroppableDisplacement:!1,onlyOnMainAxis:!0})?c:null}var p,f=Boolean(t[i.axis.line]<=n.page.borderBox.center[i.axis.line]),m=(p=n.descriptor.index,n.descriptor.id===o.descriptor.id||f?p:p+1);return vt({draggable:o,insideDestination:r,destination:i,viewport:s,displacedBy:Ft(i.axis,o.displaceBy),last:st,index:m})}({previousPageBorderBoxCenter:n,destination:c,draggable:r,draggables:a,moveRelativeTo:d,insideDestination:u,viewport:s,afterCritical:l});if(!p)return null;var f=St({impact:p,draggable:r,droppable:c,draggables:a,afterCritical:l});return{clientSelection:qt({pageBorderBoxCenter:f,draggable:r,viewport:s}),impact:p,scrollJumpRequest:null}}({isMovingForward:c,previousPageBorderBoxCenter:d,draggable:u,isOver:i,draggables:f,droppables:m,viewport:t.viewport,afterCritical:t.afterCritical})};function Bt(e){return"DRAGGING"===e.phase||"COLLECTING"===e.phase}function jt(e){var t=ct(e.top,e.bottom),n=ct(e.left,e.right);return function(e){return t(e.y)&&n(e.x)}}var Ut=function(e,t){return le(Ve(e,t))};function Vt(e){var t=e.displaced,n=e.id;return Boolean(t.visible[n]||t.invisible[n])}var Ht=function(e){var t=e.pageOffset,n=e.draggable,r=e.draggables,o=e.droppables,a=e.previousImpact,i=e.viewport,s=e.afterCritical,l=Ut(n.page.borderBox,t),c=function(e){var t=e.pageBorderBox,n=e.draggable,r=e.droppables,o=Je(r).filter((function(e){if(!e.isEnabled)return!1;var n,r,o=e.subject.active;if(!o)return!1;if(r=o,!((n=t).left<r.right&&n.right>r.left&&n.top<r.bottom&&n.bottom>r.top))return!1;if(jt(o)(t.center))return!0;var a=e.axis,i=o.center[a.crossAxisLine],s=t[a.crossAxisStart],l=t[a.crossAxisEnd],c=ct(o[a.crossAxisStart],o[a.crossAxisEnd]),u=c(s),d=c(l);return!u&&!d||(u?s<i:l>i)}));return o.length?1===o.length?o[0].descriptor.id:function(e){var t=e.pageBorderBox,n=e.candidates,r=e.draggable.page.borderBox.center,o=n.map((function(e){var n=e.axis,o=Me(e.axis.line,t.center[n.line],e.page.borderBox.center[n.crossAxisLine]);return{id:e.descriptor.id,distance:Be(r,o)}})).sort((function(e,t){return t.distance-e.distance}));return o[0]?o[0].id:null}({pageBorderBox:t,draggable:n,candidates:o}):null}({pageBorderBox:l,draggable:n,droppables:o});if(!c)return lt;var u=o[c],d=tt(u.descriptor.id,r),p=function(e,t){var n=e.frame;return n?Ut(t,n.scroll.diff.value):t}(u,l);return function(e){var t=e.draggable,n=e.pageBorderBoxWithDroppableScroll,r=e.previousImpact,o=e.destination,a=e.insideDestination,i=e.afterCritical;if(!o.isCombineEnabled)return null;var s=o.axis,l=Ft(o.axis,t.displaceBy),c=l.value,u=n[s.start],d=n[s.end],p=Ye(ot(t,a),(function(e){var t=e.descriptor.id,n=e.page.borderBox,o=n[s.size]/4,a=yt(t,i),l=Vt({displaced:r.displaced,id:t});return a?l?d>n[s.start]+o&&d<n[s.end]-o:u>n[s.start]-c+o&&u<n[s.end]-c-o:l?d>n[s.start]+c+o&&d<n[s.end]+c-o:u>n[s.start]+o&&u<n[s.end]-o}));return p?{displacedBy:l,displaced:r.displaced,at:{type:"COMBINE",combine:{draggableId:p.descriptor.id,droppableId:o.descriptor.id}}}:null}({pageBorderBoxWithDroppableScroll:p,draggable:n,previousImpact:a,destination:u,insideDestination:d,afterCritical:s})||function(e){var t=e.pageBorderBoxWithDroppableScroll,n=e.draggable,r=e.destination,o=e.insideDestination,a=e.last,i=e.viewport,s=e.afterCritical,l=r.axis,c=Ft(r.axis,n.displaceBy),u=c.value,d=t[l.start],p=t[l.end],f=function(e){var t=e.draggable,n=e.closest;return n?e.inHomeList&&n.descriptor.index>t.descriptor.index?n.descriptor.index-1:n.descriptor.index:null}({draggable:n,closest:Ye(ot(n,o),(function(e){var t=e.descriptor.id,n=e.page.borderBox.center[l.line],r=yt(t,s),o=Vt({displaced:a,id:t});return r?o?p<=n:d<n-u:o?p<=n+u:d<n})),inHomeList:at(n,r)});return vt({draggable:n,insideDestination:o,destination:r,viewport:i,last:a,displacedBy:c,index:f})}({pageBorderBoxWithDroppableScroll:p,draggable:n,destination:u,insideDestination:d,last:a.displaced,viewport:i,afterCritical:s})},Gt=function(e,t){var n;return(0,s.A)({},e,((n={})[t.descriptor.id]=t,n))},zt=function(e){var t=e.state,n=e.clientSelection,r=e.dimensions,o=e.viewport,a=e.impact,i=e.scrollJumpRequest,l=o||t.viewport,c=r||t.dimensions,u=n||t.current.client.selection,d=Ne(u,t.initial.client.selection),p={offset:d,selection:u,borderBoxCenter:Fe(t.initial.client.borderBoxCenter,d)},f={selection:Fe(p.selection,l.scroll.current),borderBoxCenter:Fe(p.borderBoxCenter,l.scroll.current),offset:Fe(p.offset,l.scroll.diff.value)},m={client:p,page:f};if("COLLECTING"===t.phase)return(0,s.A)({phase:"COLLECTING"},t,{dimensions:c,viewport:l,current:m});var h=c.draggables[t.critical.draggable.id],g=a||Ht({pageOffset:f.offset,draggable:h,draggables:c.draggables,droppables:c.droppables,previousImpact:t.impact,viewport:l,afterCritical:t.afterCritical}),b=function(e){var t=e.draggable,n=e.draggables,r=e.droppables,o=e.impact,a=function(e){var t=e.previousImpact,n=e.impact,r=e.droppables,o=Lt(t),a=Lt(n);if(!o)return r;if(o===a)return r;var i=r[o];if(!i.subject.withPlaceholder)return r;var l=function(e){var t=e.subject.withPlaceholder;t||Oe(!1);var n=e.frame;if(!n){var r=ze({page:e.subject.page,axis:e.axis,frame:null,withPlaceholder:null});return(0,s.A)({},e,{subject:r})}var o=t.oldFrameMaxScroll;o||Oe(!1);var a=Nt(n,o),i=ze({page:e.subject.page,axis:e.axis,frame:a,withPlaceholder:null});return(0,s.A)({},e,{subject:i,frame:a})}(i);return Gt(r,l)}({previousImpact:e.previousImpact,impact:o,droppables:r}),i=Lt(o);if(!i)return a;var l=r[i];if(at(t,l))return a;if(l.subject.withPlaceholder)return a;var c=Tt(l,t,n);return Gt(a,c)}({draggable:h,impact:g,previousImpact:t.impact,draggables:c.draggables,droppables:c.droppables});return(0,s.A)({},t,{current:m,dimensions:{draggables:c.draggables,droppables:b},impact:g,viewport:l,scrollJumpRequest:i||null,forceShouldAnimate:!i&&null})},$t=function(e){var t=e.impact,n=e.viewport,r=e.draggables,o=e.destination,a=e.forceShouldAnimate,i=t.displaced,l=function(e,t){return e.map((function(e){return t[e]}))}(i.all,r),c=gt({afterDragging:l,destination:o,displacedBy:t.displacedBy,viewport:n.frame,forceShouldAnimate:a,last:i});return(0,s.A)({},t,{displaced:c})},Wt=function(e){var t=e.impact,n=e.draggable,r=e.droppable,o=e.draggables,a=e.viewport,i=e.afterCritical,s=St({impact:t,draggable:n,draggables:o,droppable:r,afterCritical:i});return qt({pageBorderBoxCenter:s,draggable:n,viewport:a})},Qt=function(e){var t=e.state,n=e.dimensions,r=e.viewport;"SNAP"!==t.movementMode&&Oe(!1);var o=t.impact,a=r||t.viewport,i=n||t.dimensions,s=i.draggables,l=i.droppables,c=s[t.critical.draggable.id],u=Lt(o);u||Oe(!1);var d=l[u],p=$t({impact:o,viewport:a,destination:d,draggables:s}),f=Wt({impact:p,draggable:c,droppable:d,draggables:s,viewport:a,afterCritical:t.afterCritical});return zt({impact:p,clientSelection:f,state:t,dimensions:i,viewport:a})},Yt=function(e){var t=e.draggable,n=e.home,r=e.draggables,o=e.viewport,a=Ft(n.axis,t.displaceBy),i=tt(n.descriptor.id,r),s=i.indexOf(t);-1===s&&Oe(!1);var l,c=i.slice(s+1),u=c.reduce((function(e,t){return e[t.descriptor.id]=!0,e}),{}),d={inVirtualList:"virtual"===n.descriptor.mode,displacedBy:a,effected:u};return{impact:{displaced:gt({afterDragging:c,destination:n,displacedBy:a,last:null,viewport:o.frame,forceShouldAnimate:!1}),displacedBy:a,at:{type:"REORDER",destination:(l=t.descriptor,{index:l.index,droppableId:l.droppableId})}},afterCritical:d}},Kt=function(e){return"SNAP"===e.movementMode},Zt=function(e,t,n){var r=function(e,t){return{draggables:e.draggables,droppables:Gt(e.droppables,t)}}(e.dimensions,t);return!Kt(e)||n?zt({state:e,dimensions:r}):Qt({state:e,dimensions:r})};function Xt(e){return e.isDragging&&"SNAP"===e.movementMode?(0,s.A)({phase:"DRAGGING"},e,{scrollJumpRequest:null}):e}var Jt={phase:"IDLE",completed:null,shouldFlush:!1},en=function(e,t){if(void 0===e&&(e=Jt),"FLUSH"===t.type)return(0,s.A)({},Jt,{shouldFlush:!0});if("INITIAL_PUBLISH"===t.type){"IDLE"!==e.phase&&Oe(!1);var n=t.payload,r=n.critical,o=n.clientSelection,a=n.viewport,i=n.dimensions,l=n.movementMode,c=i.draggables[r.draggable.id],u=i.droppables[r.droppable.id],d={selection:o,borderBoxCenter:c.client.borderBox.center,offset:Re},p={client:d,page:{selection:Fe(d.selection,a.scroll.initial),borderBoxCenter:Fe(d.selection,a.scroll.initial),offset:Fe(d.selection,a.scroll.diff.value)}},f=Je(i.droppables).every((function(e){return!e.isFixedOnPage})),m=Yt({draggable:c,home:u,draggables:i.draggables,viewport:a}),h=m.impact;return{phase:"DRAGGING",isDragging:!0,critical:r,movementMode:l,dimensions:i,initial:p,current:p,isWindowScrollAllowed:f,impact:h,afterCritical:m.afterCritical,onLiftImpact:h,viewport:a,scrollJumpRequest:null,forceShouldAnimate:null}}if("COLLECTION_STARTING"===t.type)return"COLLECTING"===e.phase||"DROP_PENDING"===e.phase?e:("DRAGGING"!==e.phase&&Oe(!1),(0,s.A)({phase:"COLLECTING"},e,{phase:"COLLECTING"}));if("PUBLISH_WHILE_DRAGGING"===t.type)return"COLLECTING"!==e.phase&&"DROP_PENDING"!==e.phase&&Oe(!1),function(e){var t=e.state,n=e.published,r=n.modified.map((function(e){var n=t.dimensions.droppables[e.droppableId];return $e(n,e.scroll)})),o=(0,s.A)({},t.dimensions.droppables,{},Ze(r)),a=Xe(function(e){var t=e.additions,n=e.updatedDroppables,r=e.viewport,o=r.scroll.diff.value;return t.map((function(e){var t=e.descriptor.droppableId,a=function(e){var t=e.frame;return t||Oe(!1),t}(n[t]),i=a.scroll.diff.value,l=function(e){var t=e.draggable,n=e.offset,r=e.initialWindowScroll,o=me(t.client,n),a=he(o,r);return(0,s.A)({},t,{placeholder:(0,s.A)({},t.placeholder,{client:o}),client:o,page:a})}({draggable:e,offset:Fe(o,i),initialWindowScroll:r.scroll.initial});return l}))}({additions:n.additions,updatedDroppables:o,viewport:t.viewport})),i=(0,s.A)({},t.dimensions.draggables,{},a);n.removals.forEach((function(e){delete i[e]}));var l={droppables:o,draggables:i},c=Lt(t.impact),u=c?l.droppables[c]:null,d=l.draggables[t.critical.draggable.id],p=l.droppables[t.critical.droppable.id],f=Yt({draggable:d,home:p,draggables:i,viewport:t.viewport}),m=f.impact,h=f.afterCritical,g=u&&u.isCombineEnabled?t.impact:m,b=Ht({pageOffset:t.current.page.offset,draggable:l.draggables[t.critical.draggable.id],draggables:l.draggables,droppables:l.droppables,previousImpact:g,viewport:t.viewport,afterCritical:h}),v=(0,s.A)({phase:"DRAGGING"},t,{phase:"DRAGGING",impact:b,onLiftImpact:m,dimensions:l,afterCritical:h,forceShouldAnimate:!1});return"COLLECTING"===t.phase?v:(0,s.A)({phase:"DROP_PENDING"},v,{phase:"DROP_PENDING",reason:t.reason,isWaiting:!1})}({state:e,published:t.payload});if("MOVE"===t.type){if("DROP_PENDING"===e.phase)return e;Bt(e)||Oe(!1);var g=t.payload.client;return Te(g,e.current.client.selection)?e:zt({state:e,clientSelection:g,impact:Kt(e)?e.impact:null})}if("UPDATE_DROPPABLE_SCROLL"===t.type){if("DROP_PENDING"===e.phase)return Xt(e);if("COLLECTING"===e.phase)return Xt(e);Bt(e)||Oe(!1);var b=t.payload,v=b.id,y=b.newScroll,w=e.dimensions.droppables[v];if(!w)return e;var E=$e(w,y);return Zt(e,E,!1)}if("UPDATE_DROPPABLE_IS_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Bt(e)||Oe(!1);var x=t.payload,C=x.id,A=x.isEnabled,S=e.dimensions.droppables[C];S||Oe(!1),S.isEnabled===A&&Oe(!1);var O=(0,s.A)({},S,{isEnabled:A});return Zt(e,O,!0)}if("UPDATE_DROPPABLE_IS_COMBINE_ENABLED"===t.type){if("DROP_PENDING"===e.phase)return e;Bt(e)||Oe(!1);var I=t.payload,q=I.id,D=I.isCombineEnabled,P=e.dimensions.droppables[q];P||Oe(!1),P.isCombineEnabled===D&&Oe(!1);var k=(0,s.A)({},P,{isCombineEnabled:D});return Zt(e,k,!0)}if("MOVE_BY_WINDOW_SCROLL"===t.type){if("DROP_PENDING"===e.phase||"DROP_ANIMATING"===e.phase)return e;Bt(e)||Oe(!1),e.isWindowScrollAllowed||Oe(!1);var _=t.payload.newScroll;if(Te(e.viewport.scroll.current,_))return Xt(e);var R=Ot(e.viewport,_);return Kt(e)?Qt({state:e,viewport:R}):zt({state:e,viewport:R})}if("UPDATE_VIEWPORT_MAX_SCROLL"===t.type){if(!Bt(e))return e;var F=t.payload.maxScroll;if(Te(F,e.viewport.scroll.max))return e;var N=(0,s.A)({},e.viewport,{scroll:(0,s.A)({},e.viewport.scroll,{max:F})});return(0,s.A)({phase:"DRAGGING"},e,{viewport:N})}if("MOVE_UP"===t.type||"MOVE_DOWN"===t.type||"MOVE_LEFT"===t.type||"MOVE_RIGHT"===t.type){if("COLLECTING"===e.phase||"DROP_PENDING"===e.phase)return e;"DRAGGING"!==e.phase&&Oe(!1);var T=Mt({state:e,type:t.type});return T?zt({state:e,impact:T.impact,clientSelection:T.clientSelection,scrollJumpRequest:T.scrollJumpRequest}):e}if("DROP_PENDING"===t.type){var L=t.payload.reason;return"COLLECTING"!==e.phase&&Oe(!1),(0,s.A)({phase:"DROP_PENDING"},e,{phase:"DROP_PENDING",isWaiting:!0,reason:L})}if("DROP_ANIMATE"===t.type){var M=t.payload,B=M.completed,j=M.dropDuration,U=M.newHomeClientOffset;return"DRAGGING"!==e.phase&&"DROP_PENDING"!==e.phase&&Oe(!1),{phase:"DROP_ANIMATING",completed:B,dropDuration:j,newHomeClientOffset:U,dimensions:e.dimensions}}return"DROP_COMPLETE"===t.type?{phase:"IDLE",completed:t.payload.completed,shouldFlush:!1}:e},tn=function(e){return{type:"LIFT",payload:e}},nn=function(e){return{type:"PUBLISH_WHILE_DRAGGING",payload:e}},rn=function(){return{type:"COLLECTION_STARTING",payload:null}},on=function(e){return{type:"UPDATE_DROPPABLE_SCROLL",payload:e}},an=function(e){return{type:"UPDATE_DROPPABLE_IS_ENABLED",payload:e}},sn=function(e){return{type:"UPDATE_DROPPABLE_IS_COMBINE_ENABLED",payload:e}},ln=function(e){return{type:"MOVE",payload:e}},cn=function(){return{type:"MOVE_UP",payload:null}},un=function(){return{type:"MOVE_DOWN",payload:null}},dn=function(){return{type:"MOVE_RIGHT",payload:null}},pn=function(){return{type:"MOVE_LEFT",payload:null}},fn=function(){return{type:"FLUSH",payload:null}},mn=function(e){return{type:"DROP_COMPLETE",payload:e}},hn=function(e){return{type:"DROP",payload:e}},gn="cubic-bezier(.2,1,.1,1)",bn=0,vn=.7,yn=.75,wn="0.2s cubic-bezier(0.2, 0, 0, 1)",En={fluid:"opacity "+wn,snap:"transform "+wn+", opacity "+wn,drop:function(e){var t=e+"s "+gn;return"transform "+t+", opacity "+t},outOfTheWay:"transform "+wn,placeholder:"height "+wn+", width "+wn+", margin "+wn},xn=function(e){return Te(e,Re)?null:"translate("+e.x+"px, "+e.y+"px)"},Cn=xn,An=.33,Sn=.55-An,On=function(e){var t=e.getState,n=e.dispatch;return function(e){return function(r){if("DROP"===r.type){var o=t(),a=r.payload.reason;if("COLLECTING"!==o.phase){if("IDLE"!==o.phase){"DROP_PENDING"===o.phase&&o.isWaiting&&Oe(!1),"DRAGGING"!==o.phase&&"DROP_PENDING"!==o.phase&&Oe(!1);var i=o.critical,l=o.dimensions,c=l.draggables[o.critical.draggable.id],u=function(e){var t=e.draggables,n=e.reason,r=e.lastImpact,o=e.home,a=e.viewport,i=e.onLiftImpact;return r.at&&"DROP"===n?"REORDER"===r.at.type?{impact:r,didDropInsideDroppable:!0}:{impact:(0,s.A)({},r,{displaced:st}),didDropInsideDroppable:!0}:{impact:$t({draggables:t,impact:i,destination:o,viewport:a,forceShouldAnimate:!0}),didDropInsideDroppable:!1}}({reason:a,lastImpact:o.impact,afterCritical:o.afterCritical,onLiftImpact:o.onLiftImpact,home:o.dimensions.droppables[o.critical.droppable.id],viewport:o.viewport,draggables:o.dimensions.draggables}),d=u.impact,p=u.didDropInsideDroppable,f=p?nt(d):null,m=p?rt(d):null,h={index:i.draggable.index,droppableId:i.droppable.id},g={draggableId:c.descriptor.id,type:c.descriptor.type,source:h,reason:a,mode:o.movementMode,destination:f,combine:m},b=function(e){var t=e.impact,n=e.draggable,r=e.dimensions,o=e.viewport,a=e.afterCritical,i=r.draggables,s=r.droppables,l=Lt(t),c=l?s[l]:null,u=s[n.descriptor.droppableId],d=Wt({impact:t,draggable:n,draggables:i,afterCritical:a,droppable:c||u,viewport:o});return Ne(d,n.client.borderBox.center)}({impact:d,draggable:c,dimensions:l,viewport:o.viewport,afterCritical:o.afterCritical}),v={critical:o.critical,afterCritical:o.afterCritical,result:g,impact:d};if(!Te(o.current.client.offset,b)||Boolean(g.combine)){var y=function(e){var t=e.reason,n=Be(e.current,e.destination);if(n<=0)return An;if(n>=1500)return.55;var r=An+Sn*(n/1500);return Number(("CANCEL"===t?.6*r:r).toFixed(2))}({current:o.current.client.offset,destination:b,reason:a});n({type:"DROP_ANIMATE",payload:{newHomeClientOffset:b,dropDuration:y,completed:v}})}else n(mn({completed:v}))}}else n(function(e){return{type:"DROP_PENDING",payload:e}}({reason:a}))}else e(r)}}},In=function(){return{x:window.pageXOffset,y:window.pageYOffset}};var qn=function(e){var t=function(e){var t=e.onWindowScroll,n=ye((function(){t(In())})),r=function(e){return{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(t){t.target!==window&&t.target!==window.document||e()}}}(n),o=Ee;function a(){return o!==Ee}return{start:function(){a()&&Oe(!1),o=xe(window,[r])},stop:function(){a()||Oe(!1),n.cancel(),o(),o=Ee},isActive:a}}({onWindowScroll:function(t){e.dispatch({type:"MOVE_BY_WINDOW_SCROLL",payload:{newScroll:t}})}});return function(e){return function(n){t.isActive()||"INITIAL_PUBLISH"!==n.type||t.start(),t.isActive()&&function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(n)&&t.stop(),e(n)}}},Dn=function(e,t){t()},Pn=function(e,t){return{draggableId:e.draggable.id,type:e.droppable.type,source:{droppableId:e.droppable.id,index:e.draggable.index},mode:t}},kn=function(e,t,n,r){if(e){var o=function(e){var t=!1,n=!1,r=setTimeout((function(){n=!0})),o=function(o){t||n||(t=!0,e(o),clearTimeout(r))};return o.wasCalled=function(){return t},o}(n);e(t,{announce:o}),o.wasCalled()||n(r(t))}else n(r(t))},Rn=function(e,t){var n=function(e,t){var n,r=(n=[],{add:function(e){var t=setTimeout((function(){return function(e){var t=Qe(n,(function(t){return t.timerId===e}));-1===t&&Oe(!1),n.splice(t,1)[0].callback()}(t)})),r={timerId:t,callback:e};n.push(r)},flush:function(){if(n.length){var e=[].concat(n);n.length=0,e.forEach((function(e){clearTimeout(e.timerId),e.callback()}))}}}),o=null,a=function(n){o||Oe(!1),o=null,Dn(0,(function(){return kn(e().onDragEnd,n,t,_e.onDragEnd)}))};return{beforeCapture:function(t,n){o&&Oe(!1),Dn(0,(function(){var r=e().onBeforeCapture;r&&r({draggableId:t,mode:n})}))},beforeStart:function(t,n){o&&Oe(!1),Dn(0,(function(){var r=e().onBeforeDragStart;r&&r(Pn(t,n))}))},start:function(n,a){o&&Oe(!1);var i=Pn(n,a);o={mode:a,lastCritical:n,lastLocation:i.source,lastCombine:null},r.add((function(){Dn(0,(function(){return kn(e().onDragStart,i,t,_e.onDragStart)}))}))},update:function(n,a){var i=nt(a),l=rt(a);o||Oe(!1);var c=!function(e,t){if(e===t)return!0;var n=e.draggable.id===t.draggable.id&&e.draggable.droppableId===t.draggable.droppableId&&e.draggable.type===t.draggable.type&&e.draggable.index===t.draggable.index,r=e.droppable.id===t.droppable.id&&e.droppable.type===t.droppable.type;return n&&r}(n,o.lastCritical);c&&(o.lastCritical=n);var u,d,p=(d=i,!(null==(u=o.lastLocation)&&null==d||null!=u&&null!=d&&u.droppableId===d.droppableId&&u.index===d.index));p&&(o.lastLocation=i);var f=!function(e,t){return null==e&&null==t||null!=e&&null!=t&&e.draggableId===t.draggableId&&e.droppableId===t.droppableId}(o.lastCombine,l);if(f&&(o.lastCombine=l),c||p||f){var m=(0,s.A)({},Pn(n,o.mode),{combine:l,destination:i});r.add((function(){Dn(0,(function(){return kn(e().onDragUpdate,m,t,_e.onDragUpdate)}))}))}},flush:function(){o||Oe(!1),r.flush()},drop:a,abort:function(){if(o){var e=(0,s.A)({},Pn(o.lastCritical,o.mode),{combine:null,destination:null,reason:"CANCEL"});a(e)}}}}(e,t);return function(e){return function(t){return function(r){if("BEFORE_INITIAL_CAPTURE"!==r.type){if("INITIAL_PUBLISH"===r.type){var o=r.payload.critical;return n.beforeStart(o,r.payload.movementMode),t(r),void n.start(o,r.payload.movementMode)}if("DROP_COMPLETE"===r.type){var a=r.payload.completed.result;return n.flush(),t(r),void n.drop(a)}if(t(r),"FLUSH"!==r.type){var i=e.getState();"DRAGGING"===i.phase&&n.update(i.critical,i.impact)}else n.abort()}else n.beforeCapture(r.payload.draggableId,r.payload.movementMode)}}}},Fn=function(e){return function(t){return function(n){if("DROP_ANIMATION_FINISHED"===n.type){var r=e.getState();"DROP_ANIMATING"!==r.phase&&Oe(!1),e.dispatch(mn({completed:r.completed}))}else t(n)}}},Nn=function(e){var t=null,n=null;return function(r){return function(o){if("FLUSH"!==o.type&&"DROP_COMPLETE"!==o.type&&"DROP_ANIMATION_FINISHED"!==o.type||(n&&(cancelAnimationFrame(n),n=null),t&&(t(),t=null)),r(o),"DROP_ANIMATE"===o.type){var a={eventName:"scroll",options:{capture:!0,passive:!1,once:!0},fn:function(){"DROP_ANIMATING"===e.getState().phase&&e.dispatch({type:"DROP_ANIMATION_FINISHED",payload:null})}};n=requestAnimationFrame((function(){n=null,t=xe(window,[a])}))}}}},Tn=function(e){return function(t){return function(n){if(t(n),"PUBLISH_WHILE_DRAGGING"===n.type){var r=e.getState();"DROP_PENDING"===r.phase&&(r.isWaiting||e.dispatch(hn({reason:r.reason})))}}}},Ln=g,Mn=function(e){var t,n=e.dimensionMarshal,r=e.focusMarshal,o=e.styleMarshal,a=e.getResponders,i=e.announce,s=e.autoScroller;return f(en,Ln(function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return function(e){return function(){var n=e.apply(void 0,arguments),r=function(){throw new Error(c(15))},o={getState:n.getState,dispatch:function(){return r.apply(void 0,arguments)}},a=t.map((function(e){return e(o)}));return r=g.apply(void 0,a)(n.dispatch),(0,l.A)((0,l.A)({},n),{},{dispatch:r})}}}((t=o,function(){return function(e){return function(n){"INITIAL_PUBLISH"===n.type&&t.dragging(),"DROP_ANIMATE"===n.type&&t.dropping(n.payload.completed.result.reason),"FLUSH"!==n.type&&"DROP_COMPLETE"!==n.type||t.resting(),e(n)}}}),function(e){return function(){return function(t){return function(n){"DROP_COMPLETE"!==n.type&&"FLUSH"!==n.type&&"DROP_ANIMATE"!==n.type||e.stopPublishing(),t(n)}}}}(n),function(e){return function(t){var n=t.getState,r=t.dispatch;return function(t){return function(o){if("LIFT"===o.type){var a=o.payload,i=a.id,s=a.clientSelection,l=a.movementMode,c=n();"DROP_ANIMATING"===c.phase&&r(mn({completed:c.completed})),"IDLE"!==n().phase&&Oe(!1),r(fn()),r({type:"BEFORE_INITIAL_CAPTURE",payload:{draggableId:i,movementMode:l}});var u={draggableId:i,scrollOptions:{shouldPublishImmediately:"SNAP"===l}},d=e.startPublishing(u),p=d.critical,f=d.dimensions,m=d.viewport;r({type:"INITIAL_PUBLISH",payload:{critical:p,dimensions:f,clientSelection:s,movementMode:l,viewport:m}})}else t(o)}}}}(n),On,Fn,Nn,Tn,function(e){return function(t){return function(n){return function(r){if(function(e){return"DROP_COMPLETE"===e.type||"DROP_ANIMATE"===e.type||"FLUSH"===e.type}(r))return e.stop(),void n(r);if("INITIAL_PUBLISH"===r.type){n(r);var o=t.getState();return"DRAGGING"!==o.phase&&Oe(!1),void e.start(o)}n(r),e.scroll(t.getState())}}}}(s),qn,function(e){var t=!1;return function(){return function(n){return function(r){if("INITIAL_PUBLISH"===r.type)return t=!0,e.tryRecordFocus(r.payload.critical.draggable.id),n(r),void e.tryRestoreFocusRecorded();if(n(r),t){if("FLUSH"===r.type)return t=!1,void e.tryRestoreFocusRecorded();if("DROP_COMPLETE"===r.type){t=!1;var o=r.payload.completed.result;o.combine&&e.tryShiftRecord(o.draggableId,o.combine.draggableId),e.tryRestoreFocusRecorded()}}}}}}(r),Rn(a,i))))},Bn=function(e){var t=e.scrollHeight,n=e.scrollWidth,r=e.height,o=e.width,a=Ne({x:n,y:t},{x:o,y:r});return{x:Math.max(0,a.x),y:Math.max(0,a.y)}},jn=function(){var e=document.documentElement;return e||Oe(!1),e},Un=function(){var e=jn();return Bn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,width:e.clientWidth,height:e.clientHeight})};function Vn(e,t,n){return n.descriptor.id!==t.id&&n.descriptor.type===t.type&&"virtual"===e.droppable.getById(n.descriptor.droppableId).descriptor.mode}var Hn,Gn,zn=function(e,t){var n=null,r=function(e){var t=e.registry,n=e.callbacks,r={additions:{},removals:{},modified:{}},o=null,a=function(){o||(n.collectionStarting(),o=requestAnimationFrame((function(){o=null;var e=r,a=e.additions,i=e.removals,s=e.modified,l=Object.keys(a).map((function(e){return t.draggable.getById(e).getDimension(Re)})).sort((function(e,t){return e.descriptor.index-t.descriptor.index})),c=Object.keys(s).map((function(e){return{droppableId:e,scroll:t.droppable.getById(e).callbacks.getScrollWhileDragging()}})),u={additions:l,removals:Object.keys(i),modified:c};r={additions:{},removals:{},modified:{}},n.publish(u)})))};return{add:function(e){var t=e.descriptor.id;r.additions[t]=e,r.modified[e.descriptor.droppableId]=!0,r.removals[t]&&delete r.removals[t],a()},remove:function(e){var t=e.descriptor;r.removals[t.id]=!0,r.modified[t.droppableId]=!0,r.additions[t.id]&&delete r.additions[t.id],a()},stop:function(){o&&(cancelAnimationFrame(o),o=null,r={additions:{},removals:{},modified:{}})}}}({callbacks:{publish:t.publishWhileDragging,collectionStarting:t.collectionStarting},registry:e}),o=function(t){n||Oe(!1);var o=n.critical.draggable;"ADDITION"===t.type&&Vn(e,o,t.value)&&r.add(t.value),"REMOVAL"===t.type&&Vn(e,o,t.value)&&r.remove(t.value)};return{updateDroppableIsEnabled:function(r,o){e.droppable.exists(r)||Oe(!1),n&&t.updateDroppableIsEnabled({id:r,isEnabled:o})},updateDroppableIsCombineEnabled:function(r,o){n&&(e.droppable.exists(r)||Oe(!1),t.updateDroppableIsCombineEnabled({id:r,isCombineEnabled:o}))},scrollDroppable:function(t,r){n&&e.droppable.getById(t).callbacks.scroll(r)},updateDroppableScroll:function(r,o){n&&(e.droppable.exists(r)||Oe(!1),t.updateDroppableScroll({id:r,newScroll:o}))},startPublishing:function(t){n&&Oe(!1);var r=e.draggable.getById(t.draggableId),a=e.droppable.getById(r.descriptor.droppableId),i={draggable:r.descriptor,droppable:a.descriptor},s=e.subscribe(o);return n={critical:i,unsubscribe:s},function(e){var t,n,r,o,a,i,s,l=e.critical,c=e.scrollOptions,u=e.registry,d=(t=In(),n=Un(),r=t.y,o=t.x,i=(a=jn()).clientWidth,s=a.clientHeight,{frame:le({top:r,left:o,right:o+i,bottom:r+s}),scroll:{initial:t,current:t,max:n,diff:{value:Re,displacement:Re}}}),p=d.scroll.current,f=l.droppable,m=u.droppable.getAllByType(f.type).map((function(e){return e.callbacks.getDimensionAndWatchScroll(p,c)})),h=u.draggable.getAllByType(l.draggable.type).map((function(e){return e.getDimension(p)}));return{dimensions:{draggables:Xe(h),droppables:Ze(m)},critical:l,viewport:d}}({critical:i,registry:e,scrollOptions:t.scrollOptions})},stopPublishing:function(){if(n){r.stop();var t=n.critical.droppable;e.droppable.getAllByType(t.type).forEach((function(e){return e.callbacks.dragStopped()})),n.unsubscribe(),n=null}}}},$n=function(e,t){return"IDLE"===e.phase||"DROP_ANIMATING"===e.phase&&e.completed.result.draggableId!==t&&"DROP"===e.completed.result.reason},Wn=function(e){window.scrollBy(e.x,e.y)},Qn=(0,ve.A)((function(e){return Je(e).filter((function(e){return!!e.isEnabled&&!!e.frame}))})),Yn=function(e){return Math.pow(e,2)},Kn=function(e){var t=e.startOfRange,n=e.endOfRange,r=e.current,o=n-t;return 0===o?0:(r-t)/o},Zn=360,Xn=1200,Jn=function(e){var t=e.distanceToEdge,n=e.thresholds,r=e.dragStartTime,o=e.shouldUseTimeDampening,a=function(e,t){if(e>t.startScrollingFrom)return 0;if(e<=t.maxScrollValueAt)return 28;if(e===t.startScrollingFrom)return 1;var n=Kn({startOfRange:t.maxScrollValueAt,endOfRange:t.startScrollingFrom,current:e}),r=28*Yn(1-n);return Math.ceil(r)}(t,n);return 0===a?0:o?Math.max(function(e,t){var n=t,r=Xn,o=Date.now()-n;if(o>=Xn)return e;if(o<Zn)return 1;var a=Kn({startOfRange:Zn,endOfRange:r,current:o}),i=e*Yn(a);return Math.ceil(i)}(a,r),1):a},er=function(e){var t=e.container,n=e.distanceToEdges,r=e.dragStartTime,o=e.axis,a=e.shouldUseTimeDampening,i=function(e,t){return{startScrollingFrom:.25*e[t.size],maxScrollValueAt:.05*e[t.size]}}(t,o);return n[o.end]<n[o.start]?Jn({distanceToEdge:n[o.end],thresholds:i,dragStartTime:r,shouldUseTimeDampening:a}):-1*Jn({distanceToEdge:n[o.start],thresholds:i,dragStartTime:r,shouldUseTimeDampening:a})},tr=Ue((function(e){return 0===e?0:e})),nr=function(e){var t=e.dragStartTime,n=e.container,r=e.subject,o=e.center,a=e.shouldUseTimeDampening,i={top:o.y-n.top,right:n.right-o.x,bottom:n.bottom-o.y,left:o.x-n.left},s=er({container:n,distanceToEdges:i,dragStartTime:t,axis:pt,shouldUseTimeDampening:a}),l=er({container:n,distanceToEdges:i,dragStartTime:t,axis:ft,shouldUseTimeDampening:a}),c=tr({x:l,y:s});if(Te(c,Re))return null;var u=function(e){var t=e.container,n=e.subject,r=e.proposedScroll,o=n.height>t.height,a=n.width>t.width;return a||o?a&&o?null:{x:a?0:r.x,y:o?0:r.y}:r}({container:n,subject:r,proposedScroll:c});return u?Te(u,Re)?null:u:null},rr=Ue((function(e){return 0===e?0:e>0?1:-1})),or=(Hn=function(e,t){return e<0?e:e>t?e-t:0},function(e){var t=e.current,n=e.max,r=e.change,o=Fe(t,r),a={x:Hn(o.x,n.x),y:Hn(o.y,n.y)};return Te(a,Re)?null:a}),ar=function(e){var t=e.max,n=e.current,r=e.change,o={x:Math.max(n.x,t.x),y:Math.max(n.y,t.y)},a=rr(r),i=or({max:o,current:n,change:a});return!i||0!==a.x&&0===i.x||0!==a.y&&0===i.y},ir=function(e,t){return ar({current:e.scroll.current,max:e.scroll.max,change:t})},sr=function(e,t){var n=e.frame;return!!n&&ar({current:n.scroll.current,max:n.scroll.max,change:t})},lr=function(e){var t=e.state,n=e.dragStartTime,r=e.shouldUseTimeDampening,o=e.scrollWindow,a=e.scrollDroppable,i=t.current.page.borderBoxCenter,s=t.dimensions.draggables[t.critical.draggable.id].page.marginBox;if(t.isWindowScrollAllowed){var l=function(e){var t=e.viewport,n=e.subject,r=e.center,o=e.shouldUseTimeDampening,a=nr({dragStartTime:e.dragStartTime,container:t.frame,subject:n,center:r,shouldUseTimeDampening:o});return a&&ir(t,a)?a:null}({dragStartTime:n,viewport:t.viewport,subject:s,center:i,shouldUseTimeDampening:r});if(l)return void o(l)}var c=function(e){var t=e.center,n=e.destination,r=e.droppables;if(n){var o=r[n];return o.frame?o:null}var a=function(e,t){var n=Ye(Qn(t),(function(t){return t.frame||Oe(!1),jt(t.frame.pageMarginBox)(e)}));return n}(t,r);return a}({center:i,destination:Lt(t.impact),droppables:t.dimensions.droppables});if(c){var u=function(e){var t=e.droppable,n=e.subject,r=e.center,o=e.dragStartTime,a=e.shouldUseTimeDampening,i=t.frame;if(!i)return null;var s=nr({dragStartTime:o,container:i.pageMarginBox,subject:n,center:r,shouldUseTimeDampening:a});return s&&sr(t,s)?s:null}({dragStartTime:n,droppable:c,subject:s,center:i,shouldUseTimeDampening:r});u&&a(c.descriptor.id,u)}},cr=function(e){var t=e.move,n=e.scrollDroppable,r=e.scrollWindow;return function(e){var o=e.scrollJumpRequest;if(o){var a=Lt(e.impact);a||Oe(!1);var i=function(e,t){if(!sr(e,t))return t;var r=function(e,t){var n=e.frame;return n&&sr(e,t)?or({current:n.scroll.current,max:n.scroll.max,change:t}):null}(e,t);if(!r)return n(e.descriptor.id,t),null;var o=Ne(t,r);return n(e.descriptor.id,o),Ne(t,o)}(e.dimensions.droppables[a],o);if(i){var s=e.viewport,l=function(e,t,n){if(!e)return n;if(!ir(t,n))return n;var o=function(e,t){if(!ir(e,t))return null;var n=e.scroll.max,r=e.scroll.current;return or({current:r,max:n,change:t})}(t,n);if(!o)return r(n),null;var a=Ne(n,o);return r(a),Ne(n,a)}(e.isWindowScrollAllowed,s,i);l&&function(e,n){var r=Fe(e.current.client.selection,n);t({client:r})}(e,l)}}}},ur=function(e){var t=e.scrollDroppable,n=e.scrollWindow,r=e.move,o=function(e){var t=e.scrollDroppable,n=ye(e.scrollWindow),r=ye(t),o=null,a=function(e){o||Oe(!1);var t=o,a=t.shouldUseTimeDampening,i=t.dragStartTime;lr({state:e,scrollWindow:n,scrollDroppable:r,dragStartTime:i,shouldUseTimeDampening:a})};return{start:function(e){o&&Oe(!1);var t=Date.now(),n=!1,r=function(){n=!0};lr({state:e,dragStartTime:0,shouldUseTimeDampening:!1,scrollWindow:r,scrollDroppable:r}),o={dragStartTime:t,shouldUseTimeDampening:n},n&&a(e)},stop:function(){o&&(n.cancel(),r.cancel(),o=null)},scroll:a}}({scrollWindow:n,scrollDroppable:t}),a=cr({move:r,scrollWindow:n,scrollDroppable:t});return{scroll:function(e){"DRAGGING"===e.phase&&("FLUID"!==e.movementMode?e.scrollJumpRequest&&a(e):o.scroll(e))},start:o.start,stop:o.stop}},dr="data-rbd",pr={base:Gn=dr+"-drag-handle",draggableId:Gn+"-draggable-id",contextId:Gn+"-context-id"},fr=function(){var e=dr+"-draggable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),mr=function(){var e=dr+"-droppable";return{base:e,contextId:e+"-context-id",id:e+"-id"}}(),hr={contextId:dr+"-scroll-container-context-id"},gr=function(e,t){return e.map((function(e){var n=e.styles[t];return n?e.selector+" { "+n+" }":""})).join(" ")},br=function(e){var t,n,r,o=(t=e,function(e){return"["+e+'="'+t+'"]'}),a=(n="\n cursor: -webkit-grab;\n cursor: grab;\n ",{selector:o(pr.contextId),styles:{always:"\n -webkit-touch-callout: none;\n -webkit-tap-highlight-color: rgba(0,0,0,0);\n touch-action: manipulation;\n ",resting:n,dragging:"pointer-events: none;",dropAnimating:n}}),i=[(r="\n transition: "+En.outOfTheWay+";\n ",{selector:o(fr.contextId),styles:{dragging:r,dropAnimating:r,userCancel:r}}),a,{selector:o(mr.contextId),styles:{always:"overflow-anchor: none;"}},{selector:"body",styles:{dragging:"\n cursor: grabbing;\n cursor: -webkit-grabbing;\n user-select: none;\n -webkit-user-select: none;\n -moz-user-select: none;\n -ms-user-select: none;\n overflow-anchor: none;\n "}}];return{always:gr(i,"always"),resting:gr(i,"resting"),dragging:gr(i,"dragging"),dropAnimating:gr(i,"dropAnimating"),userCancel:gr(i,"userCancel")}},vr="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement?r.useLayoutEffect:r.useEffect,yr=function(){var e=document.querySelector("head");return e||Oe(!1),e},wr=function(e){var t=document.createElement("style");return e&&t.setAttribute("nonce",e),t.type="text/css",t},Er=function(e){return e&&e.ownerDocument?e.ownerDocument.defaultView:window};function xr(e){return e instanceof Er(e).HTMLElement}function Cr(){var e={draggables:{},droppables:{}},t=[];function n(e){t.length&&t.forEach((function(t){return t(e)}))}function r(t){return e.draggables[t]||null}function o(t){return e.droppables[t]||null}return{draggable:{register:function(t){e.draggables[t.descriptor.id]=t,n({type:"ADDITION",value:t})},update:function(t,n){var r=e.draggables[n.descriptor.id];r&&r.uniqueId===t.uniqueId&&(delete e.draggables[n.descriptor.id],e.draggables[t.descriptor.id]=t)},unregister:function(t){var o=t.descriptor.id,a=r(o);a&&t.uniqueId===a.uniqueId&&(delete e.draggables[o],n({type:"REMOVAL",value:t}))},getById:function(e){var t=r(e);return t||Oe(!1),t},findById:r,exists:function(e){return Boolean(r(e))},getAllByType:function(t){return We(e.draggables).filter((function(e){return e.descriptor.type===t}))}},droppable:{register:function(t){e.droppables[t.descriptor.id]=t},unregister:function(t){var n=o(t.descriptor.id);n&&t.uniqueId===n.uniqueId&&delete e.droppables[t.descriptor.id]},getById:function(e){var t=o(e);return t||Oe(!1),t},findById:o,exists:function(e){return Boolean(o(e))},getAllByType:function(t){return We(e.droppables).filter((function(e){return e.descriptor.type===t}))}},subscribe:function(e){return t.push(e),function(){var n=t.indexOf(e);-1!==n&&t.splice(n,1)}},clean:function(){e.draggables={},e.droppables={},t.length=0}}}var Ar=o().createContext(null),Sr=function(){var e=document.body;return e||Oe(!1),e},Or={position:"absolute",width:"1px",height:"1px",margin:"-1px",border:"0",padding:"0",overflow:"hidden",clip:"rect(0 0 0 0)","clip-path":"inset(100%)"},Ir=function(e){return"rbd-announcement-"+e},qr=0,Dr={separator:"::"};function Pr(e,t){return void 0===t&&(t=Dr),ie((function(){return""+e+t.separator+qr++}),[t.separator,e])}var kr=o().createContext(null);function _r(e){var t=(0,r.useRef)(e);return(0,r.useEffect)((function(){t.current=e})),t}var Rr,Fr,Nr=((Rr={})[13]=!0,Rr[9]=!0,Rr),Tr=function(e){Nr[e.keyCode]&&e.preventDefault()},Lr=function(){var e="visibilitychange";return"undefined"==typeof document?e:Ye([e,"ms"+e,"webkit"+e,"moz"+e,"o"+e],(function(e){return"on"+e in document}))||e}(),Mr={type:"IDLE"};function Br(){}var jr=((Fr={})[34]=!0,Fr[33]=!0,Fr[36]=!0,Fr[35]=!0,Fr);var Ur={type:"IDLE"},Vr={input:!0,button:!0,textarea:!0,select:!0,option:!0,optgroup:!0,video:!0,audio:!0};function Hr(e,t){if(null==t)return!1;if(Boolean(Vr[t.tagName.toLowerCase()]))return!0;var n=t.getAttribute("contenteditable");return"true"===n||""===n||t!==e&&Hr(e,t.parentElement)}function Gr(e,t){var n=t.target;return!!xr(n)&&Hr(e,n)}var zr=function(e){return le(e.getBoundingClientRect()).center},$r=function(){var e="matches";return"undefined"==typeof document?e:Ye([e,"msMatchesSelector","webkitMatchesSelector"],(function(e){return e in Element.prototype}))||e}();function Wr(e,t){return null==e?null:e[$r](t)?e:Wr(e.parentElement,t)}function Qr(e,t){return e.closest?e.closest(t):Wr(e,t)}function Yr(e){e.preventDefault()}function Kr(e){var t=e.expected,n=e.phase,r=e.isLockActive;return e.shouldWarn,!!r()&&t===n}function Zr(e){var t=e.lockAPI,n=e.store,r=e.registry,o=e.draggableId;if(t.isClaimed())return!1;var a=r.draggable.findById(o);return!!a&&!!a.options.isEnabled&&!!$n(n.getState(),o)}var Xr=[function(e){var t=(0,r.useRef)(Mr),n=(0,r.useRef)(Ee),o=ie((function(){return{eventName:"mousedown",fn:function(t){if(!t.defaultPrevented&&0===t.button&&!(t.ctrlKey||t.metaKey||t.shiftKey||t.altKey)){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,s,{sourceEvent:t});if(o){t.preventDefault();var a={x:t.clientX,y:t.clientY};n.current(),u(o,a)}}}}}}),[e]),a=ie((function(){return{eventName:"webkitmouseforcewillbegin",fn:function(t){if(!t.defaultPrevented){var n=e.findClosestDraggableId(t);if(n){var r=e.findOptionsForDraggable(n);r&&(r.shouldRespectForcePress||e.canGetLock(n)&&t.preventDefault())}}}}}),[e]),i=se((function(){n.current=xe(window,[a,o],{passive:!1,capture:!0})}),[a,o]),s=se((function(){"IDLE"!==t.current.type&&(t.current=Mr,n.current(),i())}),[i]),l=se((function(){var e=t.current;s(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[s]),c=se((function(){var e=function(e){var t=e.cancel,n=e.completed,r=e.getPhase,o=e.setPhase;return[{eventName:"mousemove",fn:function(e){var t=e.button,n=e.clientX,a=e.clientY;if(0===t){var i={x:n,y:a},s=r();if("DRAGGING"===s.type)return e.preventDefault(),void s.actions.move(i);if("PENDING"!==s.type&&Oe(!1),l=s.point,c=i,Math.abs(c.x-l.x)>=5||Math.abs(c.y-l.y)>=5){var l,c;e.preventDefault();var u=s.actions.fluidLift(i);o({type:"DRAGGING",actions:u})}}}},{eventName:"mouseup",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"mousedown",fn:function(e){"DRAGGING"===r().type&&e.preventDefault(),t()}},{eventName:"keydown",fn:function(e){if("PENDING"!==r().type)return 27===e.keyCode?(e.preventDefault(),void t()):void Tr(e);t()}},{eventName:"resize",fn:t},{eventName:"scroll",options:{passive:!0,capture:!1},fn:function(){"PENDING"===r().type&&t()}},{eventName:"webkitmouseforcedown",fn:function(e){var n=r();"IDLE"===n.type&&Oe(!1),n.actions.shouldRespectForcePress()?t():e.preventDefault()}},{eventName:Lr,fn:t}]}({cancel:l,completed:s,getPhase:function(){return t.current},setPhase:function(e){t.current=e}});n.current=xe(window,e,{capture:!0,passive:!1})}),[l,s]),u=se((function(e,n){"IDLE"!==t.current.type&&Oe(!1),t.current={type:"PENDING",point:n,actions:e},c()}),[c]);vr((function(){return i(),function(){n.current()}}),[i])},function(e){var t=(0,r.useRef)(Br),n=ie((function(){return{eventName:"keydown",fn:function(n){if(!n.defaultPrevented&&32===n.keyCode){var r=e.findClosestDraggableId(n);if(r){var a=e.tryGetLock(r,l,{sourceEvent:n});if(a){n.preventDefault();var i=!0,s=a.snapLift();t.current(),t.current=xe(window,function(e,t){function n(){t(),e.cancel()}return[{eventName:"keydown",fn:function(r){return 27===r.keyCode?(r.preventDefault(),void n()):32===r.keyCode?(r.preventDefault(),t(),void e.drop()):40===r.keyCode?(r.preventDefault(),void e.moveDown()):38===r.keyCode?(r.preventDefault(),void e.moveUp()):39===r.keyCode?(r.preventDefault(),void e.moveRight()):37===r.keyCode?(r.preventDefault(),void e.moveLeft()):void(jr[r.keyCode]?r.preventDefault():Tr(r))}},{eventName:"mousedown",fn:n},{eventName:"mouseup",fn:n},{eventName:"click",fn:n},{eventName:"touchstart",fn:n},{eventName:"resize",fn:n},{eventName:"wheel",fn:n,options:{passive:!0}},{eventName:Lr,fn:n}]}(s,l),{capture:!0,passive:!1})}}}function l(){i||Oe(!1),i=!1,t.current(),o()}}}}),[e]),o=se((function(){t.current=xe(window,[n],{passive:!1,capture:!0})}),[n]);vr((function(){return o(),function(){t.current()}}),[o])},function(e){var t=(0,r.useRef)(Ur),n=(0,r.useRef)(Ee),o=se((function(){return t.current}),[]),a=se((function(e){t.current=e}),[]),i=ie((function(){return{eventName:"touchstart",fn:function(t){if(!t.defaultPrevented){var r=e.findClosestDraggableId(t);if(r){var o=e.tryGetLock(r,l,{sourceEvent:t});if(o){var a=t.touches[0],i={x:a.clientX,y:a.clientY};n.current(),p(o,i)}}}}}}),[e]),s=se((function(){n.current=xe(window,[i],{capture:!0,passive:!1})}),[i]),l=se((function(){var e=t.current;"IDLE"!==e.type&&("PENDING"===e.type&&clearTimeout(e.longPressTimerId),a(Ur),n.current(),s())}),[s,a]),c=se((function(){var e=t.current;l(),"DRAGGING"===e.type&&e.actions.cancel({shouldBlockNextClick:!0}),"PENDING"===e.type&&e.actions.abort()}),[l]),u=se((function(){var e={capture:!0,passive:!1},t={cancel:c,completed:l,getPhase:o},r=xe(window,function(e){var t=e.cancel,n=e.completed,r=e.getPhase;return[{eventName:"touchmove",options:{capture:!1},fn:function(e){var n=r();if("DRAGGING"===n.type){n.hasMoved=!0;var o=e.touches[0],a={x:o.clientX,y:o.clientY};e.preventDefault(),n.actions.move(a)}else t()}},{eventName:"touchend",fn:function(e){var o=r();"DRAGGING"===o.type?(e.preventDefault(),o.actions.drop({shouldBlockNextClick:!0}),n()):t()}},{eventName:"touchcancel",fn:function(e){"DRAGGING"===r().type?(e.preventDefault(),t()):t()}},{eventName:"touchforcechange",fn:function(e){var n=r();"IDLE"===n.type&&Oe(!1);var o=e.touches[0];if(o&&o.force>=.15){var a=n.actions.shouldRespectForcePress();if("PENDING"!==n.type)return a?n.hasMoved?void e.preventDefault():void t():void e.preventDefault();a&&t()}}},{eventName:Lr,fn:t}]}(t),e),a=xe(window,function(e){var t=e.cancel,n=e.getPhase;return[{eventName:"orientationchange",fn:t},{eventName:"resize",fn:t},{eventName:"contextmenu",fn:function(e){e.preventDefault()}},{eventName:"keydown",fn:function(e){"DRAGGING"===n().type?(27===e.keyCode&&e.preventDefault(),t()):t()}},{eventName:Lr,fn:t}]}(t),e);n.current=function(){r(),a()}}),[c,o,l]),d=se((function(){var e=o();"PENDING"!==e.type&&Oe(!1);var t=e.actions.fluidLift(e.point);a({type:"DRAGGING",actions:t,hasMoved:!1})}),[o,a]),p=se((function(e,t){"IDLE"!==o().type&&Oe(!1);var n=setTimeout(d,120);a({type:"PENDING",point:t,actions:e,longPressTimerId:n}),u()}),[u,o,a,d]);vr((function(){return s(),function(){n.current();var e=o();"PENDING"===e.type&&(clearTimeout(e.longPressTimerId),a(Ur))}}),[o,s,a]),vr((function(){return xe(window,[{eventName:"touchmove",fn:function(){},options:{capture:!1,passive:!1}}])}),[])}];function Jr(e){var t=e.contextId,n=e.store,o=e.registry,a=e.customSensors,i=e.enableDefaultSensors,l=[].concat(i?Xr:[],a||[]),c=(0,r.useState)((function(){return function(){var e=null;function t(){e||Oe(!1),e=null}return{isClaimed:function(){return Boolean(e)},isActive:function(t){return t===e},claim:function(t){e&&Oe(!1);var n={abandon:t};return e=n,n},release:t,tryAbandon:function(){e&&(e.abandon(),t())}}}()}))[0],u=se((function(e,t){e.isDragging&&!t.isDragging&&c.tryAbandon()}),[c]);vr((function(){var e=n.getState();return n.subscribe((function(){var t=n.getState();u(e,t),e=t}))}),[c,n,u]),vr((function(){return c.tryAbandon}),[c.tryAbandon]);for(var d=se((function(e){return Zr({lockAPI:c,registry:o,store:n,draggableId:e})}),[c,o,n]),p=se((function(e,r,a){return function(e){var t=e.lockAPI,n=e.contextId,r=e.store,o=e.registry,a=e.draggableId,i=e.forceSensorStop,l=e.sourceEvent;if(!Zr({lockAPI:t,store:r,registry:o,draggableId:a}))return null;var c=o.draggable.getById(a),u=function(e,t){var n="["+fr.contextId+'="'+e+'"]',r=Ye(Ke(document.querySelectorAll(n)),(function(e){return e.getAttribute(fr.id)===t}));return r&&xr(r)?r:null}(n,c.descriptor.id);if(!u)return null;if(l&&!c.options.canDragInteractiveElements&&Gr(u,l))return null;var d=t.claim(i||Ee),p="PRE_DRAG";function f(){return c.options.shouldRespectForcePress}function m(){return t.isActive(d)}var h=function(e,t){Kr({expected:e,phase:p,isLockActive:m,shouldWarn:!0})&&r.dispatch(t())}.bind(null,"DRAGGING");function g(e){function n(){t.release(),p="COMPLETED"}function o(t,o){if(void 0===o&&(o={shouldBlockNextClick:!1}),e.cleanup(),o.shouldBlockNextClick){var a=xe(window,[{eventName:"click",fn:Yr,options:{once:!0,passive:!1,capture:!0}}]);setTimeout(a)}n(),r.dispatch(hn({reason:t}))}return"PRE_DRAG"!==p&&(n(),"PRE_DRAG"!==p&&Oe(!1)),r.dispatch(tn(e.liftActionArgs)),p="DRAGGING",(0,s.A)({isActive:function(){return Kr({expected:"DRAGGING",phase:p,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:f,drop:function(e){return o("DROP",e)},cancel:function(e){return o("CANCEL",e)}},e.actions)}return{isActive:function(){return Kr({expected:"PRE_DRAG",phase:p,isLockActive:m,shouldWarn:!1})},shouldRespectForcePress:f,fluidLift:function(e){var t=ye((function(e){h((function(){return ln({client:e})}))})),n=g({liftActionArgs:{id:a,clientSelection:e,movementMode:"FLUID"},cleanup:function(){return t.cancel()},actions:{move:t}});return(0,s.A)({},n,{move:t})},snapLift:function(){var e={moveUp:function(){return h(cn)},moveRight:function(){return h(dn)},moveDown:function(){return h(un)},moveLeft:function(){return h(pn)}};return g({liftActionArgs:{id:a,clientSelection:zr(u),movementMode:"SNAP"},cleanup:Ee,actions:e})},abort:function(){Kr({expected:"PRE_DRAG",phase:p,isLockActive:m,shouldWarn:!0})&&t.release()}}}({lockAPI:c,registry:o,contextId:t,store:n,draggableId:e,forceSensorStop:r,sourceEvent:a&&a.sourceEvent?a.sourceEvent:null})}),[t,c,o,n]),f=se((function(e){return function(e,t){var n=function(e,t){var n,r=t.target;if(!((n=r)instanceof Er(n).Element))return null;var o=function(e){return"["+pr.contextId+'="'+e+'"]'}(e),a=Qr(r,o);return a&&xr(a)?a:null}(e,t);return n?n.getAttribute(pr.draggableId):null}(t,e)}),[t]),m=se((function(e){var t=o.draggable.findById(e);return t?t.options:null}),[o.draggable]),h=se((function(){c.isClaimed()&&(c.tryAbandon(),"IDLE"!==n.getState().phase&&n.dispatch(fn()))}),[c,n]),g=se(c.isClaimed,[c]),b=ie((function(){return{canGetLock:d,tryGetLock:p,findClosestDraggableId:f,findOptionsForDraggable:m,tryReleaseLock:h,isLockClaimed:g}}),[d,p,f,m,h,g]),v=0;v<l.length;v++)l[v](b)}var eo=function(e){return{onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragEnd:e.onDragEnd,onDragUpdate:e.onDragUpdate}};function to(e){return e.current||Oe(!1),e.current}function no(e){var t=e.contextId,n=e.setCallbacks,a=e.sensors,i=e.nonce,l=e.dragHandleUsageInstructions,c=(0,r.useRef)(null),u=_r(e),d=se((function(){return eo(u.current)}),[u]),p=function(e){var t=ie((function(){return Ir(e)}),[e]),n=(0,r.useRef)(null);return(0,r.useEffect)((function(){var e=document.createElement("div");return n.current=e,e.id=t,e.setAttribute("aria-live","assertive"),e.setAttribute("aria-atomic","true"),(0,s.A)(e.style,Or),Sr().appendChild(e),function(){setTimeout((function(){var t=Sr();t.contains(e)&&t.removeChild(e),e===n.current&&(n.current=null)}))}}),[t]),se((function(e){var t=n.current;t&&(t.textContent=e)}),[])}(t),f=function(e){var t=e.contextId,n=e.text,o=Pr("hidden-text",{separator:"-"}),a=ie((function(){return"rbd-hidden-text-"+(e={contextId:t,uniqueId:o}).contextId+"-"+e.uniqueId;var e}),[o,t]);return(0,r.useEffect)((function(){var e=document.createElement("div");return e.id=a,e.textContent=n,e.style.display="none",Sr().appendChild(e),function(){var t=Sr();t.contains(e)&&t.removeChild(e)}}),[a,n]),a}({contextId:t,text:l}),m=function(e,t){var n=ie((function(){return br(e)}),[e]),o=(0,r.useRef)(null),a=(0,r.useRef)(null),i=se((0,ve.A)((function(e){var t=a.current;t||Oe(!1),t.textContent=e})),[]),s=se((function(e){var t=o.current;t||Oe(!1),t.textContent=e}),[]);vr((function(){(o.current||a.current)&&Oe(!1);var r=wr(t),l=wr(t);return o.current=r,a.current=l,r.setAttribute(dr+"-always",e),l.setAttribute(dr+"-dynamic",e),yr().appendChild(r),yr().appendChild(l),s(n.always),i(n.resting),function(){var e=function(e){var t=e.current;t||Oe(!1),yr().removeChild(t),e.current=null};e(o),e(a)}}),[t,s,i,n.always,n.resting,e]);var l=se((function(){return i(n.dragging)}),[i,n.dragging]),c=se((function(e){i("DROP"!==e?n.userCancel:n.dropAnimating)}),[i,n.dropAnimating,n.userCancel]),u=se((function(){a.current&&i(n.resting)}),[i,n.resting]);return ie((function(){return{dragging:l,dropping:c,resting:u}}),[l,c,u])}(t,i),g=se((function(e){to(c).dispatch(e)}),[]),b=ie((function(){return h({publishWhileDragging:nn,updateDroppableScroll:on,updateDroppableIsEnabled:an,updateDroppableIsCombineEnabled:sn,collectionStarting:rn},g)}),[g]),v=function(){var e=ie(Cr,[]);return(0,r.useEffect)((function(){return function(){requestAnimationFrame(e.clean)}}),[e]),e}(),y=ie((function(){return zn(v,b)}),[v,b]),w=ie((function(){return ur((0,s.A)({scrollWindow:Wn,scrollDroppable:y.scrollDroppable},h({move:ln},g)))}),[y.scrollDroppable,g]),E=function(e){var t=(0,r.useRef)({}),n=(0,r.useRef)(null),o=(0,r.useRef)(null),a=(0,r.useRef)(!1),i=se((function(e,n){var r={id:e,focus:n};return t.current[e]=r,function(){var n=t.current;n[e]!==r&&delete n[e]}}),[]),s=se((function(t){var n=function(e,t){var n="["+pr.contextId+'="'+e+'"]',r=Ke(document.querySelectorAll(n));if(!r.length)return null;var o=Ye(r,(function(e){return e.getAttribute(pr.draggableId)===t}));return o&&xr(o)?o:null}(e,t);n&&n!==document.activeElement&&n.focus()}),[e]),l=se((function(e,t){n.current===e&&(n.current=t)}),[]),c=se((function(){o.current||a.current&&(o.current=requestAnimationFrame((function(){o.current=null;var e=n.current;e&&s(e)})))}),[s]),u=se((function(e){n.current=null;var t=document.activeElement;t&&t.getAttribute(pr.draggableId)===e&&(n.current=e)}),[]);return vr((function(){return a.current=!0,function(){a.current=!1;var e=o.current;e&&cancelAnimationFrame(e)}}),[]),ie((function(){return{register:i,tryRecordFocus:u,tryRestoreFocusRecorded:c,tryShiftRecord:l}}),[i,u,c,l])}(t),x=ie((function(){return Mn({announce:p,autoScroller:w,dimensionMarshal:y,focusMarshal:E,getResponders:d,styleMarshal:m})}),[p,w,y,E,d,m]);c.current=x;var A=se((function(){var e=to(c);"IDLE"!==e.getState().phase&&e.dispatch(fn())}),[]),S=se((function(){var e=to(c).getState();return e.isDragging||"DROP_ANIMATING"===e.phase}),[]);n(ie((function(){return{isDragging:S,tryAbort:A}}),[S,A]));var O=se((function(e){return $n(to(c).getState(),e)}),[]),I=se((function(){return Bt(to(c).getState())}),[]),q=ie((function(){return{marshal:y,focus:E,contextId:t,canLift:O,isMovementAllowed:I,dragHandleUsageInstructionsId:f,registry:v}}),[t,y,f,E,O,I,v]);return Jr({contextId:t,store:x,registry:v,customSensors:a,enableDefaultSensors:!1!==e.enableDefaultSensors}),(0,r.useEffect)((function(){return A}),[A]),o().createElement(kr.Provider,{value:q},o().createElement(C,{context:Ar,store:x},e.children))}var ro=0;function oo(e){var t=ie((function(){return""+ro++}),[]),n=e.dragHandleUsageInstructions||_e.dragHandleUsageInstructions;return o().createElement(Ie,null,(function(r){return o().createElement(no,{nonce:e.nonce,contextId:t,setCallbacks:r,dragHandleUsageInstructions:n,enableDefaultSensors:e.enableDefaultSensors,sensors:e.sensors,onBeforeCapture:e.onBeforeCapture,onBeforeDragStart:e.onBeforeDragStart,onDragStart:e.onDragStart,onDragUpdate:e.onDragUpdate,onDragEnd:e.onDragEnd},e.children)}))}var ao=function(e){return function(t){return e===t}},io=ao("scroll"),so=ao("auto"),lo=(ao("visible"),function(e,t){return t(e.overflowX)||t(e.overflowY)}),co=function e(t){return null==t||t===document.body||t===document.documentElement?null:function(e){var t=window.getComputedStyle(e),n={overflowX:t.overflowX,overflowY:t.overflowY};return lo(n,io)||lo(n,so)}(t)?t:e(t.parentElement)},uo=function(e){return{x:e.scrollLeft,y:e.scrollTop}},po=function e(t){return!!t&&("fixed"===window.getComputedStyle(t).position||e(t.parentElement))},fo={passive:!1},mo={passive:!0},ho=function(e){return e.shouldPublishImmediately?fo:mo};function go(e){var t=(0,r.useContext)(e);return t||Oe(!1),t}var bo=function(e){return e&&e.env.closestScrollable||null};function vo(){}var yo={width:0,height:0,margin:{top:0,right:0,bottom:0,left:0}},wo=o().memo((function(e){var t=(0,r.useRef)(null),n=se((function(){t.current&&(clearTimeout(t.current),t.current=null)}),[]),a=e.animate,i=e.onTransitionEnd,s=e.onClose,l=e.contextId,c=(0,r.useState)("open"===e.animate),u=c[0],d=c[1];(0,r.useEffect)((function(){return u?"open"!==a?(n(),d(!1),vo):t.current?vo:(t.current=setTimeout((function(){t.current=null,d(!1)})),n):vo}),[a,u,n]);var p=se((function(e){"height"===e.propertyName&&(i(),"close"===a&&s())}),[a,s,i]),f=function(e){var t=e.isAnimatingOpenOnMount,n=e.placeholder,r=e.animate,o=function(e){var t=e.placeholder;return e.isAnimatingOpenOnMount||"close"===e.animate?yo:{height:t.client.borderBox.height,width:t.client.borderBox.width,margin:t.client.margin}}({isAnimatingOpenOnMount:t,placeholder:n,animate:r});return{display:n.display,boxSizing:"border-box",width:o.width,height:o.height,marginTop:o.margin.top,marginRight:o.margin.right,marginBottom:o.margin.bottom,marginLeft:o.margin.left,flexShrink:"0",flexGrow:"0",pointerEvents:"none",transition:"none"!==r?En.placeholder:null}}({isAnimatingOpenOnMount:u,animate:e.animate,placeholder:e.placeholder});return o().createElement(e.placeholder.tagName,{style:f,"data-rbd-placeholder-context-id":l,onTransitionEnd:p,ref:e.innerRef})})),Eo=o().createContext(null),xo=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={isVisible:Boolean(t.props.on),data:t.props.on,animate:t.props.shouldAnimate&&t.props.on?"open":"none"},t.onClose=function(){"close"===t.state.animate&&t.setState({isVisible:!1})},t}return i(t,e),t.getDerivedStateFromProps=function(e,t){return e.shouldAnimate?e.on?{isVisible:!0,data:e.on,animate:"open"}:t.isVisible?{isVisible:!0,data:t.data,animate:"close"}:{isVisible:!1,animate:"close",data:null}:{isVisible:Boolean(e.on),data:e.on,animate:"none"}},t.prototype.render=function(){if(!this.state.isVisible)return null;var e={onClose:this.onClose,data:this.state.data,animate:this.state.animate};return this.props.children(e)},t}(o().PureComponent),Co=function(e,t){return t?En.drop(t.duration):e?En.snap:En.fluid},Ao=function(e,t){return e?t?bn:vn:null};function So(e){return"DRAGGING"===e.type?function(e){var t=e.dimension.client,n=e.offset,r=e.combineWith,o=e.dropping,a=Boolean(r),i=function(e){return null!=e.forceShouldAnimate?e.forceShouldAnimate:"SNAP"===e.mode}(e),s=Boolean(o),l=s?function(e,t){var n=xn(e);return n?t?n+" scale("+yn+")":n:null}(n,a):Cn(n);return{position:"fixed",top:t.marginBox.top,left:t.marginBox.left,boxSizing:"border-box",width:t.borderBox.width,height:t.borderBox.height,transition:Co(i,o),transform:l,opacity:Ao(a,s),zIndex:s?4500:5e3,pointerEvents:"none"}}(e):{transform:Cn((t=e).offset),transition:t.shouldAnimateDisplacement?null:"none"};var t}function Oo(e){e.preventDefault()}var Io=function(e,t){return e===t},qo=function(e){var t=e.combine,n=e.destination;return n?n.droppableId:t?t.droppableId:null};function Do(e){return{isDragging:!1,isDropAnimating:!1,isClone:!1,dropAnimation:null,mode:null,draggingOver:null,combineTargetFor:e,combineWith:null}}var Po={mapped:{type:"SECONDARY",offset:Re,combineTargetFor:null,shouldAnimateDisplacement:!0,snapshot:Do(null)}},ko=te((function(){var e,t,n,r=(e=(0,ve.A)((function(e,t){return{x:e,y:t}})),t=(0,ve.A)((function(e,t,n,r,o){return{isDragging:!0,isClone:t,isDropAnimating:Boolean(o),dropAnimation:o,mode:e,draggingOver:n,combineWith:r,combineTargetFor:null}})),n=(0,ve.A)((function(e,n,r,o,a,i,s){return{mapped:{type:"DRAGGING",dropping:null,draggingOver:a,combineWith:i,mode:n,offset:e,dimension:r,forceShouldAnimate:s,snapshot:t(n,o,a,i,null)}}})),function(r,o){if(r.isDragging){if(r.critical.draggable.id!==o.draggableId)return null;var a=r.current.client.offset,i=r.dimensions.draggables[o.draggableId],s=Lt(r.impact),l=(u=r.impact).at&&"COMBINE"===u.at.type?u.at.combine.draggableId:null,c=r.forceShouldAnimate;return n(e(a.x,a.y),r.movementMode,i,o.isClone,s,l,c)}var u;if("DROP_ANIMATING"===r.phase){var d=r.completed;if(d.result.draggableId!==o.draggableId)return null;var p=o.isClone,f=r.dimensions.draggables[o.draggableId],m=d.result,h=m.mode,g=qo(m),b=function(e){return e.combine?e.combine.draggableId:null}(m),v={duration:r.dropDuration,curve:gn,moveTo:r.newHomeClientOffset,opacity:b?bn:null,scale:b?yn:null};return{mapped:{type:"DRAGGING",offset:r.newHomeClientOffset,dimension:f,dropping:v,draggingOver:g,combineWith:b,mode:h,forceShouldAnimate:null,snapshot:t(h,p,g,b,v)}}}return null}),o=function(){var e=(0,ve.A)((function(e,t){return{x:e,y:t}})),t=(0,ve.A)(Do),n=(0,ve.A)((function(e,n,r){return void 0===n&&(n=null),{mapped:{type:"SECONDARY",offset:e,combineTargetFor:n,shouldAnimateDisplacement:r,snapshot:t(n)}}})),r=function(e){return e?n(Re,e,!0):null},o=function(t,o,a,i){var s=a.displaced.visible[t],l=Boolean(i.inVirtualList&&i.effected[t]),c=rt(a),u=c&&c.draggableId===t?o:null;if(!s){if(!l)return r(u);if(a.displaced.invisible[t])return null;var d=Le(i.displacedBy.point),p=e(d.x,d.y);return n(p,u,!0)}if(l)return r(u);var f=a.displacedBy.point,m=e(f.x,f.y);return n(m,u,s.shouldAnimate)};return function(e,t){if(e.isDragging)return e.critical.draggable.id===t.draggableId?null:o(t.draggableId,e.critical.draggable.id,e.impact,e.afterCritical);if("DROP_ANIMATING"===e.phase){var n=e.completed;return n.result.draggableId===t.draggableId?null:o(t.draggableId,n.result.draggableId,n.impact,n.afterCritical)}return null}}();return function(e,t){return r(e,t)||o(e,t)||Po}}),{dropAnimationFinished:function(){return{type:"DROP_ANIMATION_FINISHED",payload:null}}},null,{context:Ar,pure:!0,areStatePropsEqual:Io})((function(e){var t=(0,r.useRef)(null),n=se((function(e){t.current=e}),[]),o=se((function(){return t.current}),[]),a=go(kr),i=a.contextId,s=a.dragHandleUsageInstructionsId,l=a.registry,c=go(Eo),u=c.type,d=c.droppableId,p=ie((function(){return{id:e.draggableId,index:e.index,type:u,droppableId:d}}),[e.draggableId,e.index,u,d]),f=e.children,m=e.draggableId,h=e.isEnabled,g=e.shouldRespectForcePress,b=e.canDragInteractiveElements,v=e.isClone,y=e.mapped,w=e.dropAnimationFinished;v||function(e){var t=Pr("draggable"),n=e.descriptor,o=e.registry,a=e.getDraggableRef,i=e.canDragInteractiveElements,s=e.shouldRespectForcePress,l=e.isEnabled,c=ie((function(){return{canDragInteractiveElements:i,shouldRespectForcePress:s,isEnabled:l}}),[i,l,s]),u=se((function(e){var t=a();return t||Oe(!1),function(e,t,n){void 0===n&&(n=Re);var r=window.getComputedStyle(t),o=t.getBoundingClientRect(),a=ge(o,r),i=he(a,n);return{descriptor:e,placeholder:{client:a,tagName:t.tagName.toLowerCase(),display:r.display},displaceBy:{x:a.marginBox.width,y:a.marginBox.height},client:a,page:i}}(n,t,e)}),[n,a]),d=ie((function(){return{uniqueId:t,descriptor:n,options:c,getDimension:u}}),[n,u,c,t]),p=(0,r.useRef)(d),f=(0,r.useRef)(!0);vr((function(){return o.draggable.register(p.current),function(){return o.draggable.unregister(p.current)}}),[o.draggable]),vr((function(){if(f.current)f.current=!1;else{var e=p.current;p.current=d,o.draggable.update(d,e)}}),[d,o.draggable])}(ie((function(){return{descriptor:p,registry:l,getDraggableRef:o,canDragInteractiveElements:b,shouldRespectForcePress:g,isEnabled:h}}),[p,l,o,b,g,h]));var E=ie((function(){return h?{tabIndex:0,role:"button","aria-describedby":s,"data-rbd-drag-handle-draggable-id":m,"data-rbd-drag-handle-context-id":i,draggable:!1,onDragStart:Oo}:null}),[i,s,m,h]),x=se((function(e){"DRAGGING"===y.type&&y.dropping&&"transform"===e.propertyName&&w()}),[w,y]),C=ie((function(){var e=So(y),t="DRAGGING"===y.type&&y.dropping?x:null;return{innerRef:n,draggableProps:{"data-rbd-draggable-context-id":i,"data-rbd-draggable-id":m,style:e,onTransitionEnd:t},dragHandleProps:E}}),[i,E,m,y,x,n]),A=ie((function(){return{draggableId:p.id,type:p.type,source:{index:p.index,droppableId:p.droppableId}}}),[p.droppableId,p.id,p.index,p.type]);return f(C,y.snapshot,A)}));function _o(e){return go(Eo).isUsingCloneFor!==e.draggableId||e.isClone?o().createElement(ko,e):null}function Ro(e){var t="boolean"!=typeof e.isDragDisabled||!e.isDragDisabled,n=Boolean(e.disableInteractiveElementBlocking),r=Boolean(e.shouldRespectForcePress);return o().createElement(_o,(0,s.A)({},e,{isClone:!1,isEnabled:t,canDragInteractiveElements:n,shouldRespectForcePress:r}))}var Fo=function(e,t){return e===t.droppable.type},No=function(e,t){return t.draggables[e.draggable.id]},To={mode:"standard",type:"DEFAULT",direction:"vertical",isDropDisabled:!1,isCombineEnabled:!1,ignoreContainerClipping:!1,renderClone:null,getContainerForClone:function(){return document.body||Oe(!1),document.body}},Lo=te((function(){var e={placeholder:null,shouldAnimatePlaceholder:!0,snapshot:{isDraggingOver:!1,draggingOverWith:null,draggingFromThisWith:null,isUsingPlaceholder:!1},useClone:null},t=(0,s.A)({},e,{shouldAnimatePlaceholder:!1}),n=(0,ve.A)((function(e){return{draggableId:e.id,type:e.type,source:{index:e.index,droppableId:e.droppableId}}})),r=(0,ve.A)((function(r,o,a,i,s,l){var c=s.descriptor.id;if(s.descriptor.droppableId===r){var u=l?{render:l,dragging:n(s.descriptor)}:null,d={isDraggingOver:a,draggingOverWith:a?c:null,draggingFromThisWith:c,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!1,snapshot:d,useClone:u}}if(!o)return t;if(!i)return e;var p={isDraggingOver:a,draggingOverWith:c,draggingFromThisWith:null,isUsingPlaceholder:!0};return{placeholder:s.placeholder,shouldAnimatePlaceholder:!0,snapshot:p,useClone:null}}));return function(n,o){var a=o.droppableId,i=o.type,s=!o.isDropDisabled,l=o.renderClone;if(n.isDragging){var c=n.critical;if(!Fo(i,c))return t;var u=No(c,n.dimensions),d=Lt(n.impact)===a;return r(a,s,d,d,u,l)}if("DROP_ANIMATING"===n.phase){var p=n.completed;if(!Fo(i,p.critical))return t;var f=No(p.critical,n.dimensions);return r(a,s,qo(p.result)===a,Lt(p.impact)===a,f,l)}if("IDLE"===n.phase&&n.completed&&!n.shouldFlush){var m=n.completed;if(!Fo(i,m.critical))return t;var h=Lt(m.impact)===a,g=Boolean(m.impact.at&&"COMBINE"===m.impact.at.type),b=m.critical.droppable.id===a;return h?g?e:t:b?e:t}return t}}),{updateViewportMaxScroll:function(e){return{type:"UPDATE_VIEWPORT_MAX_SCROLL",payload:e}}},null,{context:Ar,pure:!0,areStatePropsEqual:Io})((function(e){var t=(0,r.useContext)(kr);t||Oe(!1);var n=t.contextId,a=t.isMovementAllowed,i=(0,r.useRef)(null),s=(0,r.useRef)(null),l=e.children,c=e.droppableId,u=e.type,d=e.mode,p=e.direction,f=e.ignoreContainerClipping,m=e.isDropDisabled,h=e.isCombineEnabled,g=e.snapshot,b=e.useClone,v=e.updateViewportMaxScroll,y=e.getContainerForClone,w=se((function(){return i.current}),[]),E=se((function(e){i.current=e}),[]),x=(se((function(){return s.current}),[]),se((function(e){s.current=e}),[])),C=se((function(){a()&&v({maxScroll:Un()})}),[a,v]);!function(e){var t=(0,r.useRef)(null),n=go(kr),o=Pr("droppable"),a=n.registry,i=n.marshal,s=_r(e),l=ie((function(){return{id:e.droppableId,type:e.type,mode:e.mode}}),[e.droppableId,e.mode,e.type]),c=(0,r.useRef)(l),u=ie((function(){return(0,ve.A)((function(e,n){t.current||Oe(!1);var r={x:e,y:n};i.updateDroppableScroll(l.id,r)}))}),[l.id,i]),d=se((function(){var e=t.current;return e&&e.env.closestScrollable?uo(e.env.closestScrollable):Re}),[]),p=se((function(){var e=d();u(e.x,e.y)}),[d,u]),f=ie((function(){return ye(p)}),[p]),m=se((function(){var e=t.current,n=bo(e);e&&n||Oe(!1),e.scrollOptions.shouldPublishImmediately?p():f()}),[f,p]),h=se((function(e,r){t.current&&Oe(!1);var o=s.current,a=o.getDroppableRef();a||Oe(!1);var i=function(e){return{closestScrollable:co(e),isFixedOnPage:po(e)}}(a),c={ref:a,descriptor:l,env:i,scrollOptions:r};t.current=c;var u=function(e){var t=e.ref,n=e.descriptor,r=e.env,o=e.windowScroll,a=e.direction,i=e.isDropDisabled,s=e.isCombineEnabled,l=e.shouldClipSubject,c=r.closestScrollable,u=function(e,t){var n=be(e);if(!t)return n;if(e!==t)return n;var r=n.paddingBox.top-t.scrollTop,o=n.paddingBox.left-t.scrollLeft,a=r+t.scrollHeight,i=o+t.scrollWidth,s=ce({top:r,right:i,bottom:a,left:o},n.border);return pe({borderBox:s,margin:n.margin,border:n.border,padding:n.padding})}(t,c),d=he(u,o),p=function(){if(!c)return null;var e=be(c),t={scrollHeight:c.scrollHeight,scrollWidth:c.scrollWidth};return{client:e,page:he(e,o),scroll:uo(c),scrollSize:t,shouldClipSubject:l}}(),f=function(e){var t=e.descriptor,n=e.isEnabled,r=e.isCombineEnabled,o=e.isFixedOnPage,a=e.direction,i=e.client,s=e.page,l=e.closest,c=function(){if(!l)return null;var e=l.scrollSize,t=l.client,n=Bn({scrollHeight:e.scrollHeight,scrollWidth:e.scrollWidth,height:t.paddingBox.height,width:t.paddingBox.width});return{pageMarginBox:l.page.marginBox,frameClient:t,scrollSize:e,shouldClipSubject:l.shouldClipSubject,scroll:{initial:l.scroll,current:l.scroll,max:n,diff:{value:Re,displacement:Re}}}}(),u="vertical"===a?pt:ft;return{descriptor:t,isCombineEnabled:r,isFixedOnPage:o,axis:u,isEnabled:n,client:i,page:s,frame:c,subject:ze({page:s,withPlaceholder:null,axis:u,frame:c})}}({descriptor:n,isEnabled:!i,isCombineEnabled:s,isFixedOnPage:r.isFixedOnPage,direction:a,client:u,page:d,closest:p});return f}({ref:a,descriptor:l,env:i,windowScroll:e,direction:o.direction,isDropDisabled:o.isDropDisabled,isCombineEnabled:o.isCombineEnabled,shouldClipSubject:!o.ignoreContainerClipping}),d=i.closestScrollable;return d&&(d.setAttribute(hr.contextId,n.contextId),d.addEventListener("scroll",m,ho(c.scrollOptions))),u}),[n.contextId,l,m,s]),g=se((function(){var e=t.current,n=bo(e);return e&&n||Oe(!1),uo(n)}),[]),b=se((function(){var e=t.current;e||Oe(!1);var n=bo(e);t.current=null,n&&(f.cancel(),n.removeAttribute(hr.contextId),n.removeEventListener("scroll",m,ho(e.scrollOptions)))}),[m,f]),v=se((function(e){var n=t.current;n||Oe(!1);var r=bo(n);r||Oe(!1),r.scrollTop+=e.y,r.scrollLeft+=e.x}),[]),y=ie((function(){return{getDimensionAndWatchScroll:h,getScrollWhileDragging:g,dragStopped:b,scroll:v}}),[b,h,g,v]),w=ie((function(){return{uniqueId:o,descriptor:l,callbacks:y}}),[y,l,o]);vr((function(){return c.current=w.descriptor,a.droppable.register(w),function(){t.current&&b(),a.droppable.unregister(w)}}),[y,l,b,w,i,a.droppable]),vr((function(){t.current&&i.updateDroppableIsEnabled(c.current.id,!e.isDropDisabled)}),[e.isDropDisabled,i]),vr((function(){t.current&&i.updateDroppableIsCombineEnabled(c.current.id,e.isCombineEnabled)}),[e.isCombineEnabled,i])}({droppableId:c,type:u,mode:d,direction:p,isDropDisabled:m,isCombineEnabled:h,ignoreContainerClipping:f,getDroppableRef:w});var A=o().createElement(xo,{on:e.placeholder,shouldAnimate:e.shouldAnimatePlaceholder},(function(e){var t=e.onClose,r=e.data,a=e.animate;return o().createElement(wo,{placeholder:r,onClose:t,innerRef:x,animate:a,contextId:n,onTransitionEnd:C})})),S=ie((function(){return{innerRef:E,placeholder:A,droppableProps:{"data-rbd-droppable-id":c,"data-rbd-droppable-context-id":n}}}),[n,c,A,E]),O=b?b.dragging.draggableId:null,I=ie((function(){return{droppableId:c,type:u,isUsingCloneFor:O}}),[c,O,u]);return o().createElement(Eo.Provider,{value:I},l(S,g),function(){if(!b)return null;var e=b.dragging,t=b.render,n=o().createElement(_o,{draggableId:e.draggableId,index:e.source.index,isClone:!0,isEnabled:!0,shouldRespectForcePress:!1,canDragInteractiveElements:!0},(function(n,r){return t(n,r,e)}));return oe().createPortal(n,y())}())}));Lo.defaultProps=To},66743:(e,t,n)=>{"use strict";var r=n(89353);e.exports=Function.prototype.bind||r},67629:(e,t,n)=>{"use strict";n.d(t,{E:()=>d});var r=n(12295),o=n(1254),a=n(2657),i=n(62517),s=n(43626),l=n(8448),c=n(97502),u=n(52904);class d{constructor(e={}){this.queryCache=e.queryCache||new o.$,this.mutationCache=e.mutationCache||new a.q,this.logger=e.logger||u.U,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[],this.mountCount=0}mount(){this.mountCount++,1===this.mountCount&&(this.unsubscribeFocus=i.m.subscribe((()=>{i.m.isFocused()&&(this.resumePausedMutations(),this.queryCache.onFocus())})),this.unsubscribeOnline=s.t.subscribe((()=>{s.t.isOnline()&&(this.resumePausedMutations(),this.queryCache.onOnline())})))}unmount(){var e,t;this.mountCount--,0===this.mountCount&&(null==(e=this.unsubscribeFocus)||e.call(this),this.unsubscribeFocus=void 0,null==(t=this.unsubscribeOnline)||t.call(this),this.unsubscribeOnline=void 0)}isFetching(e,t){const[n]=(0,r.b_)(e,t);return n.fetchStatus="fetching",this.queryCache.findAll(n).length}isMutating(e){return this.mutationCache.findAll({...e,fetching:!0}).length}getQueryData(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data}ensureQueryData(e,t,n){const o=(0,r.vh)(e,t,n),a=this.getQueryData(o.queryKey);return a?Promise.resolve(a):this.fetchQuery(o)}getQueriesData(e){return this.getQueryCache().findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const o=this.queryCache.find(e),a=null==o?void 0:o.state.data,i=(0,r.Zw)(t,a);if(void 0===i)return;const s=(0,r.vh)(e),l=this.defaultQueryOptions(s);return this.queryCache.build(this,l).setData(i,{...n,manual:!0})}setQueriesData(e,t,n){return l.j.batch((()=>this.getQueryCache().findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state}removeQueries(e,t){const[n]=(0,r.b_)(e,t),o=this.queryCache;l.j.batch((()=>{o.findAll(n).forEach((e=>{o.remove(e)}))}))}resetQueries(e,t,n){const[o,a]=(0,r.b_)(e,t,n),i=this.queryCache,s={type:"active",...o};return l.j.batch((()=>(i.findAll(o).forEach((e=>{e.reset()})),this.refetchQueries(s,a))))}cancelQueries(e,t,n){const[o,a={}]=(0,r.b_)(e,t,n);void 0===a.revert&&(a.revert=!0);const i=l.j.batch((()=>this.queryCache.findAll(o).map((e=>e.cancel(a)))));return Promise.all(i).then(r.lQ).catch(r.lQ)}invalidateQueries(e,t,n){const[o,a]=(0,r.b_)(e,t,n);return l.j.batch((()=>{var e,t;if(this.queryCache.findAll(o).forEach((e=>{e.invalidate()})),"none"===o.refetchType)return Promise.resolve();const n={...o,type:null!=(e=null!=(t=o.refetchType)?t:o.type)?e:"active"};return this.refetchQueries(n,a)}))}refetchQueries(e,t,n){const[o,a]=(0,r.b_)(e,t,n),i=l.j.batch((()=>this.queryCache.findAll(o).filter((e=>!e.isDisabled())).map((e=>{var t;return e.fetch(void 0,{...a,cancelRefetch:null==(t=null==a?void 0:a.cancelRefetch)||t,meta:{refetchPage:o.refetchPage}})}))));let s=Promise.all(i).then(r.lQ);return null!=a&&a.throwOnError||(s=s.catch(r.lQ)),s}fetchQuery(e,t,n){const o=(0,r.vh)(e,t,n),a=this.defaultQueryOptions(o);void 0===a.retry&&(a.retry=!1);const i=this.queryCache.build(this,a);return i.isStaleByTime(a.staleTime)?i.fetch(a):Promise.resolve(i.state.data)}prefetchQuery(e,t,n){return this.fetchQuery(e,t,n).then(r.lQ).catch(r.lQ)}fetchInfiniteQuery(e,t,n){const o=(0,r.vh)(e,t,n);return o.behavior=(0,c.PL)(),this.fetchQuery(o)}prefetchInfiniteQuery(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(r.lQ).catch(r.lQ)}resumePausedMutations(){return this.mutationCache.resumePausedMutations()}getQueryCache(){return this.queryCache}getMutationCache(){return this.mutationCache}getLogger(){return this.logger}getDefaultOptions(){return this.defaultOptions}setDefaultOptions(e){this.defaultOptions=e}setQueryDefaults(e,t){const n=this.queryDefaults.find((t=>(0,r.Od)(e)===(0,r.Od)(t.queryKey)));n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})}getQueryDefaults(e){if(!e)return;const t=this.queryDefaults.find((t=>(0,r.Cp)(e,t.queryKey)));return null==t?void 0:t.defaultOptions}setMutationDefaults(e,t){const n=this.mutationDefaults.find((t=>(0,r.Od)(e)===(0,r.Od)(t.mutationKey)));n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})}getMutationDefaults(e){if(!e)return;const t=this.mutationDefaults.find((t=>(0,r.Cp)(e,t.mutationKey)));return null==t?void 0:t.defaultOptions}defaultQueryOptions(e){if(null!=e&&e._defaulted)return e;const t={...this.defaultOptions.queries,...this.getQueryDefaults(null==e?void 0:e.queryKey),...e,_defaulted:!0};return!t.queryHash&&t.queryKey&&(t.queryHash=(0,r.F$)(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.useErrorBoundary&&(t.useErrorBoundary=!!t.suspense),t}defaultMutationOptions(e){return null!=e&&e._defaulted?e:{...this.defaultOptions.mutations,...this.getMutationDefaults(null==e?void 0:e.mutationKey),...e,_defaulted:!0}}clear(){this.queryCache.clear(),this.mutationCache.clear()}}},68002:e=>{"use strict";e.exports=Math.min},68508:(e,t,n)=>{"use strict";n(51609)},68523:(e,t,n)=>{"use strict";n(51609)},69014:(e,t,n)=>{"use strict";n(51609)},69111:(e,t,n)=>{"use strict";n(51609),n(20736),n(74316),n(53026)},69383:e=>{"use strict";e.exports=Error},69436:(e,t,n)=>{"use strict";n(51609)},69675:e=>{"use strict";e.exports=TypeError},69990:(e,t,n)=>{"use strict";n(51609)},70414:e=>{"use strict";e.exports=Math.round},70453:(e,t,n)=>{"use strict";var r,o=n(79612),a=n(69383),i=n(41237),s=n(79290),l=n(79538),c=n(58068),u=n(69675),d=n(35345),p=n(71514),f=n(58968),m=n(6188),h=n(68002),g=n(75880),b=n(70414),v=n(73093),y=Function,w=function(e){try{return y('"use strict"; return ('+e+").constructor;")()}catch(e){}},E=n(98176),x=n(30655),C=function(){throw new u},A=E?function(){try{return C}catch(e){try{return E(arguments,"callee").get}catch(e){return C}}}():C,S=n(64039)(),O=n(93628),I=n(71064),q=n(48648),D=n(11002),P=n(10076),k={},_="undefined"!=typeof Uint8Array&&O?O(Uint8Array):r,R={__proto__:null,"%AggregateError%":"undefined"==typeof AggregateError?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":"undefined"==typeof ArrayBuffer?r:ArrayBuffer,"%ArrayIteratorPrototype%":S&&O?O([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":k,"%AsyncGenerator%":k,"%AsyncGeneratorFunction%":k,"%AsyncIteratorPrototype%":k,"%Atomics%":"undefined"==typeof Atomics?r:Atomics,"%BigInt%":"undefined"==typeof BigInt?r:BigInt,"%BigInt64Array%":"undefined"==typeof BigInt64Array?r:BigInt64Array,"%BigUint64Array%":"undefined"==typeof BigUint64Array?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":"undefined"==typeof DataView?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":a,"%eval%":eval,"%EvalError%":i,"%Float16Array%":"undefined"==typeof Float16Array?r:Float16Array,"%Float32Array%":"undefined"==typeof Float32Array?r:Float32Array,"%Float64Array%":"undefined"==typeof Float64Array?r:Float64Array,"%FinalizationRegistry%":"undefined"==typeof FinalizationRegistry?r:FinalizationRegistry,"%Function%":y,"%GeneratorFunction%":k,"%Int8Array%":"undefined"==typeof Int8Array?r:Int8Array,"%Int16Array%":"undefined"==typeof Int16Array?r:Int16Array,"%Int32Array%":"undefined"==typeof Int32Array?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":S&&O?O(O([][Symbol.iterator]())):r,"%JSON%":"object"==typeof JSON?JSON:r,"%Map%":"undefined"==typeof Map?r:Map,"%MapIteratorPrototype%":"undefined"!=typeof Map&&S&&O?O((new Map)[Symbol.iterator]()):r,"%Math%":Math,"%Number%":Number,"%Object%":o,"%Object.getOwnPropertyDescriptor%":E,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":"undefined"==typeof Promise?r:Promise,"%Proxy%":"undefined"==typeof Proxy?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":"undefined"==typeof Reflect?r:Reflect,"%RegExp%":RegExp,"%Set%":"undefined"==typeof Set?r:Set,"%SetIteratorPrototype%":"undefined"!=typeof Set&&S&&O?O((new Set)[Symbol.iterator]()):r,"%SharedArrayBuffer%":"undefined"==typeof SharedArrayBuffer?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":S&&O?O(""[Symbol.iterator]()):r,"%Symbol%":S?Symbol:r,"%SyntaxError%":c,"%ThrowTypeError%":A,"%TypedArray%":_,"%TypeError%":u,"%Uint8Array%":"undefined"==typeof Uint8Array?r:Uint8Array,"%Uint8ClampedArray%":"undefined"==typeof Uint8ClampedArray?r:Uint8ClampedArray,"%Uint16Array%":"undefined"==typeof Uint16Array?r:Uint16Array,"%Uint32Array%":"undefined"==typeof Uint32Array?r:Uint32Array,"%URIError%":d,"%WeakMap%":"undefined"==typeof WeakMap?r:WeakMap,"%WeakRef%":"undefined"==typeof WeakRef?r:WeakRef,"%WeakSet%":"undefined"==typeof WeakSet?r:WeakSet,"%Function.prototype.call%":P,"%Function.prototype.apply%":D,"%Object.defineProperty%":x,"%Object.getPrototypeOf%":I,"%Math.abs%":p,"%Math.floor%":f,"%Math.max%":m,"%Math.min%":h,"%Math.pow%":g,"%Math.round%":b,"%Math.sign%":v,"%Reflect.getPrototypeOf%":q};if(O)try{null.error}catch(e){var F=O(O(e));R["%Error.prototype%"]=F}var N=function e(t){var n;if("%AsyncFunction%"===t)n=w("async function () {}");else if("%GeneratorFunction%"===t)n=w("function* () {}");else if("%AsyncGeneratorFunction%"===t)n=w("async function* () {}");else if("%AsyncGenerator%"===t){var r=e("%AsyncGeneratorFunction%");r&&(n=r.prototype)}else if("%AsyncIteratorPrototype%"===t){var o=e("%AsyncGenerator%");o&&O&&(n=O(o.prototype))}return R[t]=n,n},T={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},L=n(66743),M=n(9957),B=L.call(P,Array.prototype.concat),j=L.call(D,Array.prototype.splice),U=L.call(P,String.prototype.replace),V=L.call(P,String.prototype.slice),H=L.call(P,RegExp.prototype.exec),G=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,z=/\\(\\)?/g,$=function(e,t){var n,r=e;if(M(T,r)&&(r="%"+(n=T[r])[0]+"%"),M(R,r)){var o=R[r];if(o===k&&(o=N(r)),void 0===o&&!t)throw new u("intrinsic "+e+" exists, but is not available. Please file an issue!");return{alias:n,name:r,value:o}}throw new c("intrinsic "+e+" does not exist!")};e.exports=function(e,t){if("string"!=typeof e||0===e.length)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&"boolean"!=typeof t)throw new u('"allowMissing" argument must be a boolean');if(null===H(/^%?[^%]*%?$/,e))throw new c("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var n=function(e){var t=V(e,0,1),n=V(e,-1);if("%"===t&&"%"!==n)throw new c("invalid intrinsic syntax, expected closing `%`");if("%"===n&&"%"!==t)throw new c("invalid intrinsic syntax, expected opening `%`");var r=[];return U(e,G,(function(e,t,n,o){r[r.length]=n?U(o,z,"$1"):t||e})),r}(e),r=n.length>0?n[0]:"",o=$("%"+r+"%",t),a=o.name,i=o.value,s=!1,l=o.alias;l&&(r=l[0],j(n,B([0,1],l)));for(var d=1,p=!0;d<n.length;d+=1){var f=n[d],m=V(f,0,1),h=V(f,-1);if(('"'===m||"'"===m||"`"===m||'"'===h||"'"===h||"`"===h)&&m!==h)throw new c("property names with quotes must have matching quotes");if("constructor"!==f&&p||(s=!0),M(R,a="%"+(r+="."+f)+"%"))i=R[a];else if(null!=i){if(!(f in i)){if(!t)throw new u("base intrinsic for "+e+" exists, but the property is not available.");return}if(E&&d+1>=n.length){var g=E(i,f);i=(p=!!g)&&"get"in g&&!("originalValue"in g.get)?g.get:i[f]}else p=M(i,f),i=i[f];p&&!s&&(R[a]=i)}}return i}},71064:(e,t,n)=>{"use strict";var r=n(79612);e.exports=r.getPrototypeOf||null},71345:(e,t,n)=>{"use strict";function r(){var e=this.constructor.getDerivedStateFromProps(this.props,this.state);null!=e&&this.setState(e)}function o(e){this.setState(function(t){var n=this.constructor.getDerivedStateFromProps(e,t);return null!=n?n:null}.bind(this))}function a(e,t){try{var n=this.props,r=this.state;this.props=e,this.state=t,this.__reactInternalSnapshotFlag=!0,this.__reactInternalSnapshot=this.getSnapshotBeforeUpdate(n,r)}finally{this.props=n,this.state=r}}function i(e){var t=e.prototype;if(!t||!t.isReactComponent)throw new Error("Can only polyfill class components");if("function"!=typeof e.getDerivedStateFromProps&&"function"!=typeof t.getSnapshotBeforeUpdate)return e;var n=null,i=null,s=null;if("function"==typeof t.componentWillMount?n="componentWillMount":"function"==typeof t.UNSAFE_componentWillMount&&(n="UNSAFE_componentWillMount"),"function"==typeof t.componentWillReceiveProps?i="componentWillReceiveProps":"function"==typeof t.UNSAFE_componentWillReceiveProps&&(i="UNSAFE_componentWillReceiveProps"),"function"==typeof t.componentWillUpdate?s="componentWillUpdate":"function"==typeof t.UNSAFE_componentWillUpdate&&(s="UNSAFE_componentWillUpdate"),null!==n||null!==i||null!==s){var l=e.displayName||e.name,c="function"==typeof e.getDerivedStateFromProps?"getDerivedStateFromProps()":"getSnapshotBeforeUpdate()";throw Error("Unsafe legacy lifecycles will not be called for components using new component APIs.\n\n"+l+" uses "+c+" but also contains the following legacy lifecycles:"+(null!==n?"\n "+n:"")+(null!==i?"\n "+i:"")+(null!==s?"\n "+s:"")+"\n\nThe above lifecycles should be removed. Learn more about this warning here:\nhttps://fb.me/react-async-component-lifecycle-hooks")}if("function"==typeof e.getDerivedStateFromProps&&(t.componentWillMount=r,t.componentWillReceiveProps=o),"function"==typeof t.getSnapshotBeforeUpdate){if("function"!=typeof t.componentDidUpdate)throw new Error("Cannot polyfill getSnapshotBeforeUpdate() for components that do not define componentDidUpdate() on the prototype");t.componentWillUpdate=a;var u=t.componentDidUpdate;t.componentDidUpdate=function(e,t,n){var r=this.__reactInternalSnapshotFlag?this.__reactInternalSnapshot:n;u.call(this,e,t,r)}}return e}n.r(t),n.d(t,{polyfill:()=>i}),r.__suppressDeprecationWarning=!0,o.__suppressDeprecationWarning=!0,a.__suppressDeprecationWarning=!0},71514:e=>{"use strict";e.exports=Math.abs},72271:(e,t,n)=>{"use strict";var r=n(70453),o=n(36556),a=n(58859),i=n(80507),s=n(69675),l=r("%WeakMap%",!0),c=o("WeakMap.prototype.get",!0),u=o("WeakMap.prototype.set",!0),d=o("WeakMap.prototype.has",!0),p=o("WeakMap.prototype.delete",!0);e.exports=l?function(){var e,t,n={assert:function(e){if(!n.has(e))throw new s("Side channel does not contain "+a(e))},delete:function(n){if(l&&n&&("object"==typeof n||"function"==typeof n)){if(e)return p(e,n)}else if(i&&t)return t.delete(n);return!1},get:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?c(e,n):t&&t.get(n)},has:function(n){return l&&n&&("object"==typeof n||"function"==typeof n)&&e?d(e,n):!!t&&t.has(n)},set:function(n,r){l&&n&&("object"==typeof n||"function"==typeof n)?(e||(e=new l),u(e,n,r)):i&&(t||(t=i()),t.set(n,r))}};return n}:i},72590:(e,t,n)=>{"use strict";n(51609)},73093:(e,t,n)=>{"use strict";var r=n(94459);e.exports=function(e){return r(e)||0===e?e:e<0?-1:1}},73126:(e,t,n)=>{"use strict";var r=n(66743),o=n(69675),a=n(10076),i=n(13144);e.exports=function(e){if(e.length<1||"function"!=typeof e[0])throw new o("a function is required");return i(r,a,e)}},73404:(e,t,n)=>{"use strict";e.exports=n(3072)},74316:(e,t,n)=>{"use strict";n.d(t,{Iz:()=>a});var r=n(51609);const o=(0,r.createContext)({taxonomy:"betterdocs_faq_category",isProduct:!1}),a=()=>(0,r.useContext)(o)},74323:(e,t,n)=>{"use strict";n.d(t,{uI:()=>r.A}),n(4388),n(74476),n(13998),n(88814),n(94510),n(10307),n(22001),n(61782),n(14126),n(91468),n(69990),n(13224),n(53711),n(61520),n(7401),n(57566),n(69014),n(80811),n(72590),n(85072),n(84470),n(50465),n(28346),n(36390),n(20982),n(45475),n(14548);var r=n(95738);n(68508),n(14468),n(6995),n(68523),n(13761),n(21480),n(69436)},74476:(e,t,n)=>{"use strict";n(51609)},74765:e=>{"use strict";var t=String.prototype.replace,n=/%20/g,r="RFC3986";e.exports={default:r,formatters:{RFC1738:function(e){return t.call(e,n,"+")},RFC3986:function(e){return String(e)}},RFC1738:"RFC1738",RFC3986:r}},75795:e=>{"use strict";e.exports=window.ReactDOM},75880:e=>{"use strict";e.exports=Math.pow},76462:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){i&&(i.removeAttribute?i.removeAttribute("aria-hidden"):null!=i.length?i.forEach((function(e){return e.removeAttribute("aria-hidden")})):document.querySelectorAll(i).forEach((function(e){return e.removeAttribute("aria-hidden")}))),i=null},t.log=function(){},t.assertNodeList=s,t.setElement=function(e){var t=e;if("string"==typeof t&&a.canUseDOM){var n=document.querySelectorAll(t);s(n,t),t=n}return i=t||i},t.validateElement=l,t.hide=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=l(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.setAttribute("aria-hidden","true")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.show=function(e){var t=!0,n=!1,r=void 0;try{for(var o,a=l(e)[Symbol.iterator]();!(t=(o=a.next()).done);t=!0)o.value.removeAttribute("aria-hidden")}catch(e){n=!0,r=e}finally{try{!t&&a.return&&a.return()}finally{if(n)throw r}}},t.documentNotReadyOrSSRTesting=function(){i=null};var r,o=(r=n(9771))&&r.__esModule?r:{default:r},a=n(60834),i=null;function s(e,t){if(!e||!e.length)throw new Error("react-modal: No elements were found for selector "+t+".")}function l(e){var t=e||i;return t?Array.isArray(t)||t instanceof HTMLCollection||t instanceof NodeList?t:[t]:((0,o.default)(!1,["react-modal: App element is not defined.","Please use `Modal.setAppElement(el)` or set `appElement={el}`.","This is needed so screen readers don't see main content","when modal is opened. It is not recommended, but you can opt-out","by setting `ariaHideApp={false}`."].join(" ")),[])}},77727:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.resetState=function(){for(var e=[a,i],t=0;t<e.length;t++){var n=e[t];n&&n.parentNode&&n.parentNode.removeChild(n)}a=i=null,s=[]},t.log=function(){console.log("bodyTrap ----------"),console.log(s.length);for(var e=[a,i],t=0;t<e.length;t++){var n=e[t]||{};console.log(n.nodeName,n.className,n.id)}console.log("edn bodyTrap ----------")};var r,o=(r=n(49628))&&r.__esModule?r:{default:r},a=void 0,i=void 0,s=[];function l(){0!==s.length&&s[s.length-1].focusContent()}o.default.subscribe((function(e,t){a||i||((a=document.createElement("div")).setAttribute("data-react-modal-body-trap",""),a.style.position="absolute",a.style.opacity="0",a.setAttribute("tabindex","0"),a.addEventListener("focus",l),(i=a.cloneNode()).addEventListener("focus",l)),(s=t).length>0?(document.body.firstChild!==a&&document.body.insertBefore(a,document.body.firstChild),document.body.lastChild!==i&&document.body.appendChild(i)):(a.parentElement&&a.parentElement.removeChild(a),i.parentElement&&i.parentElement.removeChild(i))}))},78465:function(e){e.exports=function(){"use strict";const e="SweetAlert2:",t=e=>e.charAt(0).toUpperCase()+e.slice(1),n=e=>Array.prototype.slice.call(e),r=t=>{console.warn("".concat(e," ").concat("object"==typeof t?t.join(" "):t))},o=t=>{console.error("".concat(e," ").concat(t))},a=[],i=(e,t)=>{var n;n='"'.concat(e,'" is deprecated and will be removed in the next major release. Please use "').concat(t,'" instead.'),a.includes(n)||(a.push(n),r(n))},s=e=>"function"==typeof e?e():e,l=e=>e&&"function"==typeof e.toPromise,c=e=>l(e)?e.toPromise():Promise.resolve(e),u=e=>e&&Promise.resolve(e)===e,d={title:"",titleText:"",text:"",html:"",footer:"",icon:void 0,iconColor:void 0,iconHtml:void 0,template:void 0,toast:!1,showClass:{popup:"swal2-show",backdrop:"swal2-backdrop-show",icon:"swal2-icon-show"},hideClass:{popup:"swal2-hide",backdrop:"swal2-backdrop-hide",icon:"swal2-icon-hide"},customClass:{},target:"body",color:void 0,backdrop:!0,heightAuto:!0,allowOutsideClick:!0,allowEscapeKey:!0,allowEnterKey:!0,stopKeydownPropagation:!0,keydownListenerCapture:!1,showConfirmButton:!0,showDenyButton:!1,showCancelButton:!1,preConfirm:void 0,preDeny:void 0,confirmButtonText:"OK",confirmButtonAriaLabel:"",confirmButtonColor:void 0,denyButtonText:"No",denyButtonAriaLabel:"",denyButtonColor:void 0,cancelButtonText:"Cancel",cancelButtonAriaLabel:"",cancelButtonColor:void 0,buttonsStyling:!0,reverseButtons:!1,focusConfirm:!0,focusDeny:!1,focusCancel:!1,returnFocus:!0,showCloseButton:!1,closeButtonHtml:"×",closeButtonAriaLabel:"Close this dialog",loaderHtml:"",showLoaderOnConfirm:!1,showLoaderOnDeny:!1,imageUrl:void 0,imageWidth:void 0,imageHeight:void 0,imageAlt:"",timer:void 0,timerProgressBar:!1,width:void 0,padding:void 0,background:void 0,input:void 0,inputPlaceholder:"",inputLabel:"",inputValue:"",inputOptions:{},inputAutoTrim:!0,inputAttributes:{},inputValidator:void 0,returnInputValueOnDeny:!1,validationMessage:void 0,grow:!1,position:"center",progressSteps:[],currentProgressStep:void 0,progressStepsDistance:void 0,willOpen:void 0,didOpen:void 0,didRender:void 0,willClose:void 0,didClose:void 0,didDestroy:void 0,scrollbarPadding:!0},p=["allowEscapeKey","allowOutsideClick","background","buttonsStyling","cancelButtonAriaLabel","cancelButtonColor","cancelButtonText","closeButtonAriaLabel","closeButtonHtml","color","confirmButtonAriaLabel","confirmButtonColor","confirmButtonText","currentProgressStep","customClass","denyButtonAriaLabel","denyButtonColor","denyButtonText","didClose","didDestroy","footer","hideClass","html","icon","iconColor","iconHtml","imageAlt","imageHeight","imageUrl","imageWidth","preConfirm","preDeny","progressSteps","returnFocus","reverseButtons","showCancelButton","showCloseButton","showConfirmButton","showDenyButton","text","title","titleText","willClose"],f={},m=["allowOutsideClick","allowEnterKey","backdrop","focusConfirm","focusDeny","focusCancel","returnFocus","heightAuto","keydownListenerCapture"],h=e=>Object.prototype.hasOwnProperty.call(d,e),g=e=>-1!==p.indexOf(e),b=e=>f[e],v=e=>{h(e)||r('Unknown parameter "'.concat(e,'"'))},y=e=>{m.includes(e)&&r('The parameter "'.concat(e,'" is incompatible with toasts'))},w=e=>{b(e)&&i(e,b(e))},E=e=>{const t={};for(const n in e)t[e[n]]="swal2-"+e[n];return t},x=E(["container","shown","height-auto","iosfix","popup","modal","no-backdrop","no-transition","toast","toast-shown","show","hide","close","title","html-container","actions","confirm","deny","cancel","default-outline","footer","icon","icon-content","image","input","file","range","select","radio","checkbox","label","textarea","inputerror","input-label","validation-message","progress-steps","active-progress-step","progress-step","progress-step-line","loader","loading","styled","top","top-start","top-end","top-left","top-right","center","center-start","center-end","center-left","center-right","bottom","bottom-start","bottom-end","bottom-left","bottom-right","grow-row","grow-column","grow-fullscreen","rtl","timer-progress-bar","timer-progress-bar-container","scrollbar-measure","icon-success","icon-warning","icon-info","icon-question","icon-error"]),C=E(["success","warning","info","question","error"]),A=()=>document.body.querySelector(".".concat(x.container)),S=e=>{const t=A();return t?t.querySelector(e):null},O=e=>S(".".concat(e)),I=()=>O(x.popup),q=()=>O(x.icon),D=()=>O(x.title),P=()=>O(x["html-container"]),k=()=>O(x.image),_=()=>O(x["progress-steps"]),R=()=>O(x["validation-message"]),F=()=>S(".".concat(x.actions," .").concat(x.confirm)),N=()=>S(".".concat(x.actions," .").concat(x.deny)),T=()=>S(".".concat(x.loader)),L=()=>S(".".concat(x.actions," .").concat(x.cancel)),M=()=>O(x.actions),B=()=>O(x.footer),j=()=>O(x["timer-progress-bar"]),U=()=>O(x.close),V=()=>{const e=n(I().querySelectorAll('[tabindex]:not([tabindex="-1"]):not([tabindex="0"])')).sort(((e,t)=>{const n=parseInt(e.getAttribute("tabindex")),r=parseInt(t.getAttribute("tabindex"));return n>r?1:n<r?-1:0})),t=n(I().querySelectorAll('\n a[href],\n area[href],\n input:not([disabled]),\n select:not([disabled]),\n textarea:not([disabled]),\n button:not([disabled]),\n iframe,\n object,\n embed,\n [tabindex="0"],\n [contenteditable],\n audio[controls],\n video[controls],\n summary\n')).filter((e=>"-1"!==e.getAttribute("tabindex")));return(e=>{const t=[];for(let n=0;n<e.length;n++)-1===t.indexOf(e[n])&&t.push(e[n]);return t})(e.concat(t)).filter((e=>ie(e)))},H=()=>W(document.body,x.shown)&&!W(document.body,x["toast-shown"])&&!W(document.body,x["no-backdrop"]),G=()=>I()&&W(I(),x.toast),z={previousBodyPadding:null},$=(e,t)=>{if(e.textContent="",t){const r=(new DOMParser).parseFromString(t,"text/html");n(r.querySelector("head").childNodes).forEach((t=>{e.appendChild(t)})),n(r.querySelector("body").childNodes).forEach((t=>{e.appendChild(t)}))}},W=(e,t)=>{if(!t)return!1;const n=t.split(/\s+/);for(let t=0;t<n.length;t++)if(!e.classList.contains(n[t]))return!1;return!0},Q=(e,t,o)=>{if(((e,t)=>{n(e.classList).forEach((n=>{Object.values(x).includes(n)||Object.values(C).includes(n)||Object.values(t.showClass).includes(n)||e.classList.remove(n)}))})(e,t),t.customClass&&t.customClass[o]){if("string"!=typeof t.customClass[o]&&!t.customClass[o].forEach)return r("Invalid type of customClass.".concat(o,'! Expected string or iterable object, got "').concat(typeof t.customClass[o],'"'));X(e,t.customClass[o])}},Y=(e,t)=>{if(!t)return null;switch(t){case"select":case"textarea":case"file":return e.querySelector(".".concat(x.popup," > .").concat(x[t]));case"checkbox":return e.querySelector(".".concat(x.popup," > .").concat(x.checkbox," input"));case"radio":return e.querySelector(".".concat(x.popup," > .").concat(x.radio," input:checked"))||e.querySelector(".".concat(x.popup," > .").concat(x.radio," input:first-child"));case"range":return e.querySelector(".".concat(x.popup," > .").concat(x.range," input"));default:return e.querySelector(".".concat(x.popup," > .").concat(x.input))}},K=e=>{if(e.focus(),"file"!==e.type){const t=e.value;e.value="",e.value=t}},Z=(e,t,n)=>{e&&t&&("string"==typeof t&&(t=t.split(/\s+/).filter(Boolean)),t.forEach((t=>{Array.isArray(e)?e.forEach((e=>{n?e.classList.add(t):e.classList.remove(t)})):n?e.classList.add(t):e.classList.remove(t)})))},X=(e,t)=>{Z(e,t,!0)},J=(e,t)=>{Z(e,t,!1)},ee=(e,t)=>{const r=n(e.childNodes);for(let e=0;e<r.length;e++)if(W(r[e],t))return r[e]},te=(e,t,n)=>{n==="".concat(parseInt(n))&&(n=parseInt(n)),n||0===parseInt(n)?e.style[t]="number"==typeof n?"".concat(n,"px"):n:e.style.removeProperty(t)},ne=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"flex";e.style.display=t},re=e=>{e.style.display="none"},oe=(e,t,n,r)=>{const o=e.querySelector(t);o&&(o.style[n]=r)},ae=(e,t,n)=>{t?ne(e,n):re(e)},ie=e=>!(!e||!(e.offsetWidth||e.offsetHeight||e.getClientRects().length)),se=e=>!!(e.scrollHeight>e.clientHeight),le=e=>{const t=window.getComputedStyle(e),n=parseFloat(t.getPropertyValue("animation-duration")||"0"),r=parseFloat(t.getPropertyValue("transition-duration")||"0");return n>0||r>0},ce=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1];const n=j();ie(n)&&(t&&(n.style.transition="none",n.style.width="100%"),setTimeout((()=>{n.style.transition="width ".concat(e/1e3,"s linear"),n.style.width="0%"}),10))},ue=()=>"undefined"==typeof window||"undefined"==typeof document,de={},pe=e=>new Promise((t=>{if(!e)return t();const n=window.scrollX,r=window.scrollY;de.restoreFocusTimeout=setTimeout((()=>{de.previousActiveElement&&de.previousActiveElement.focus?(de.previousActiveElement.focus(),de.previousActiveElement=null):document.body&&document.body.focus(),t()}),100),window.scrollTo(n,r)})),fe='\n <div aria-labelledby="'.concat(x.title,'" aria-describedby="').concat(x["html-container"],'" class="').concat(x.popup,'" tabindex="-1">\n <button type="button" class="').concat(x.close,'"></button>\n <ul class="').concat(x["progress-steps"],'"></ul>\n <div class="').concat(x.icon,'"></div>\n <img class="').concat(x.image,'" />\n <h2 class="').concat(x.title,'" id="').concat(x.title,'"></h2>\n <div class="').concat(x["html-container"],'" id="').concat(x["html-container"],'"></div>\n <input class="').concat(x.input,'" />\n <input type="file" class="').concat(x.file,'" />\n <div class="').concat(x.range,'">\n <input type="range" />\n <output></output>\n </div>\n <select class="').concat(x.select,'"></select>\n <div class="').concat(x.radio,'"></div>\n <label for="').concat(x.checkbox,'" class="').concat(x.checkbox,'">\n <input type="checkbox" />\n <span class="').concat(x.label,'"></span>\n </label>\n <textarea class="').concat(x.textarea,'"></textarea>\n <div class="').concat(x["validation-message"],'" id="').concat(x["validation-message"],'"></div>\n <div class="').concat(x.actions,'">\n <div class="').concat(x.loader,'"></div>\n <button type="button" class="').concat(x.confirm,'"></button>\n <button type="button" class="').concat(x.deny,'"></button>\n <button type="button" class="').concat(x.cancel,'"></button>\n </div>\n <div class="').concat(x.footer,'"></div>\n <div class="').concat(x["timer-progress-bar-container"],'">\n <div class="').concat(x["timer-progress-bar"],'"></div>\n </div>\n </div>\n').replace(/(^|\n)\s*/g,""),me=()=>{de.currentInstance.resetValidationMessage()},he=e=>{const t=(()=>{const e=A();return!!e&&(e.remove(),J([document.documentElement,document.body],[x["no-backdrop"],x["toast-shown"],x["has-column"]]),!0)})();if(ue())return void o("SweetAlert2 requires document to initialize");const n=document.createElement("div");n.className=x.container,t&&X(n,x["no-transition"]),$(n,fe);const r="string"==typeof(a=e.target)?document.querySelector(a):a;var a;r.appendChild(n),(e=>{const t=I();t.setAttribute("role",e.toast?"alert":"dialog"),t.setAttribute("aria-live",e.toast?"polite":"assertive"),e.toast||t.setAttribute("aria-modal","true")})(e),(e=>{"rtl"===window.getComputedStyle(e).direction&&X(A(),x.rtl)})(r),(()=>{const e=I(),t=ee(e,x.input),n=ee(e,x.file),r=e.querySelector(".".concat(x.range," input")),o=e.querySelector(".".concat(x.range," output")),a=ee(e,x.select),i=e.querySelector(".".concat(x.checkbox," input")),s=ee(e,x.textarea);t.oninput=me,n.onchange=me,a.onchange=me,i.onchange=me,s.oninput=me,r.oninput=()=>{me(),o.value=r.value},r.onchange=()=>{me(),r.nextSibling.value=r.value}})()},ge=(e,t)=>{e instanceof HTMLElement?t.appendChild(e):"object"==typeof e?be(e,t):e&&$(t,e)},be=(e,t)=>{e.jquery?ve(t,e):$(t,e.toString())},ve=(e,t)=>{if(e.textContent="",0 in t)for(let n=0;n in t;n++)e.appendChild(t[n].cloneNode(!0));else e.appendChild(t.cloneNode(!0))},ye=(()=>{if(ue())return!1;const e=document.createElement("div"),t={WebkitAnimation:"webkitAnimationEnd",animation:"animationend"};for(const n in t)if(Object.prototype.hasOwnProperty.call(t,n)&&void 0!==e.style[n])return t[n];return!1})(),we=(e,t)=>{const n=M(),r=T();t.showConfirmButton||t.showDenyButton||t.showCancelButton?ne(n):re(n),Q(n,t,"actions"),function(e,t,n){const r=F(),o=N(),a=L();Ee(r,"confirm",n),Ee(o,"deny",n),Ee(a,"cancel",n),function(e,t,n,r){if(!r.buttonsStyling)return J([e,t,n],x.styled);X([e,t,n],x.styled),r.confirmButtonColor&&(e.style.backgroundColor=r.confirmButtonColor,X(e,x["default-outline"])),r.denyButtonColor&&(t.style.backgroundColor=r.denyButtonColor,X(t,x["default-outline"])),r.cancelButtonColor&&(n.style.backgroundColor=r.cancelButtonColor,X(n,x["default-outline"]))}(r,o,a,n),n.reverseButtons&&(n.toast?(e.insertBefore(a,r),e.insertBefore(o,r)):(e.insertBefore(a,t),e.insertBefore(o,t),e.insertBefore(r,t)))}(n,r,t),$(r,t.loaderHtml),Q(r,t,"loader")};function Ee(e,n,r){ae(e,r["show".concat(t(n),"Button")],"inline-block"),$(e,r["".concat(n,"ButtonText")]),e.setAttribute("aria-label",r["".concat(n,"ButtonAriaLabel")]),e.className=x[n],Q(e,r,"".concat(n,"Button")),X(e,r["".concat(n,"ButtonClass")])}const xe=(e,t)=>{const n=A();n&&(function(e,t){"string"==typeof t?e.style.background=t:t||X([document.documentElement,document.body],x["no-backdrop"])}(n,t.backdrop),function(e,t){t in x?X(e,x[t]):(r('The "position" parameter is not valid, defaulting to "center"'),X(e,x.center))}(n,t.position),function(e,t){if(t&&"string"==typeof t){const n="grow-".concat(t);n in x&&X(e,x[n])}}(n,t.grow),Q(n,t,"container"))};var Ce={awaitingPromise:new WeakMap,promise:new WeakMap,innerParams:new WeakMap,domCache:new WeakMap};const Ae=["input","file","range","select","radio","checkbox","textarea"],Se=e=>{if(!ke[e.input])return o('Unexpected type of input! Expected "text", "email", "password", "number", "tel", "select", "radio", "checkbox", "textarea", "file" or "url", got "'.concat(e.input,'"'));const t=Pe(e.input),n=ke[e.input](t,e);ne(n),setTimeout((()=>{K(n)}))},Oe=(e,t)=>{const n=Y(I(),e);if(n){(e=>{for(let t=0;t<e.attributes.length;t++){const n=e.attributes[t].name;["type","value","style"].includes(n)||e.removeAttribute(n)}})(n);for(const e in t)n.setAttribute(e,t[e])}},Ie=e=>{const t=Pe(e.input);e.customClass&&X(t,e.customClass.input)},qe=(e,t)=>{e.placeholder&&!t.inputPlaceholder||(e.placeholder=t.inputPlaceholder)},De=(e,t,n)=>{if(n.inputLabel){e.id=x.input;const r=document.createElement("label"),o=x["input-label"];r.setAttribute("for",e.id),r.className=o,X(r,n.customClass.inputLabel),r.innerText=n.inputLabel,t.insertAdjacentElement("beforebegin",r)}},Pe=e=>{const t=x[e]?x[e]:x.input;return ee(I(),t)},ke={};ke.text=ke.email=ke.password=ke.number=ke.tel=ke.url=(e,t)=>("string"==typeof t.inputValue||"number"==typeof t.inputValue?e.value=t.inputValue:u(t.inputValue)||r('Unexpected type of inputValue! Expected "string", "number" or "Promise", got "'.concat(typeof t.inputValue,'"')),De(e,e,t),qe(e,t),e.type=t.input,e),ke.file=(e,t)=>(De(e,e,t),qe(e,t),e),ke.range=(e,t)=>{const n=e.querySelector("input"),r=e.querySelector("output");return n.value=t.inputValue,n.type=t.input,r.value=t.inputValue,De(n,e,t),e},ke.select=(e,t)=>{if(e.textContent="",t.inputPlaceholder){const n=document.createElement("option");$(n,t.inputPlaceholder),n.value="",n.disabled=!0,n.selected=!0,e.appendChild(n)}return De(e,e,t),e},ke.radio=e=>(e.textContent="",e),ke.checkbox=(e,t)=>{const n=Y(I(),"checkbox");n.value="1",n.id=x.checkbox,n.checked=Boolean(t.inputValue);const r=e.querySelector("span");return $(r,t.inputPlaceholder),e},ke.textarea=(e,t)=>{e.value=t.inputValue,qe(e,t),De(e,e,t);return setTimeout((()=>{if("MutationObserver"in window){const t=parseInt(window.getComputedStyle(I()).width);new MutationObserver((()=>{const n=e.offsetWidth+(r=e,parseInt(window.getComputedStyle(r).marginLeft)+parseInt(window.getComputedStyle(r).marginRight));var r;I().style.width=n>t?"".concat(n,"px"):null})).observe(e,{attributes:!0,attributeFilter:["style"]})}})),e};const _e=(e,t)=>{const n=P();Q(n,t,"htmlContainer"),t.html?(ge(t.html,n),ne(n,"block")):t.text?(n.textContent=t.text,ne(n,"block")):re(n),((e,t)=>{const n=I(),r=Ce.innerParams.get(e),o=!r||t.input!==r.input;Ae.forEach((e=>{const r=x[e],a=ee(n,r);Oe(e,t.inputAttributes),a.className=r,o&&re(a)})),t.input&&(o&&Se(t),Ie(t))})(e,t)},Re=(e,t)=>{for(const n in C)t.icon!==n&&J(e,C[n]);X(e,C[t.icon]),Te(e,t),Fe(),Q(e,t,"icon")},Fe=()=>{const e=I(),t=window.getComputedStyle(e).getPropertyValue("background-color"),n=e.querySelectorAll("[class^=swal2-success-circular-line], .swal2-success-fix");for(let e=0;e<n.length;e++)n[e].style.backgroundColor=t},Ne=(e,t)=>{e.textContent="",t.iconHtml?$(e,Le(t.iconHtml)):"success"===t.icon?$(e,'\n <div class="swal2-success-circular-line-left"></div>\n <span class="swal2-success-line-tip"></span> <span class="swal2-success-line-long"></span>\n <div class="swal2-success-ring"></div> <div class="swal2-success-fix"></div>\n <div class="swal2-success-circular-line-right"></div>\n'):"error"===t.icon?$(e,'\n <span class="swal2-x-mark">\n <span class="swal2-x-mark-line-left"></span>\n <span class="swal2-x-mark-line-right"></span>\n </span>\n'):$(e,Le({question:"?",warning:"!",info:"i"}[t.icon]))},Te=(e,t)=>{if(t.iconColor){e.style.color=t.iconColor,e.style.borderColor=t.iconColor;for(const n of[".swal2-success-line-tip",".swal2-success-line-long",".swal2-x-mark-line-left",".swal2-x-mark-line-right"])oe(e,n,"backgroundColor",t.iconColor);oe(e,".swal2-success-ring","borderColor",t.iconColor)}},Le=e=>'<div class="'.concat(x["icon-content"],'">').concat(e,"</div>"),Me=(e,t)=>{const n=_();if(!t.progressSteps||0===t.progressSteps.length)return re(n);ne(n),n.textContent="",t.currentProgressStep>=t.progressSteps.length&&r("Invalid currentProgressStep parameter, it should be less than progressSteps.length (currentProgressStep like JS arrays starts from 0)"),t.progressSteps.forEach(((e,r)=>{const o=(e=>{const t=document.createElement("li");return X(t,x["progress-step"]),$(t,e),t})(e);if(n.appendChild(o),r===t.currentProgressStep&&X(o,x["active-progress-step"]),r!==t.progressSteps.length-1){const e=(e=>{const t=document.createElement("li");return X(t,x["progress-step-line"]),e.progressStepsDistance&&(t.style.width=e.progressStepsDistance),t})(t);n.appendChild(e)}}))},Be=(e,t)=>{e.className="".concat(x.popup," ").concat(ie(e)?t.showClass.popup:""),t.toast?(X([document.documentElement,document.body],x["toast-shown"]),X(e,x.toast)):X(e,x.modal),Q(e,t,"popup"),"string"==typeof t.customClass&&X(e,t.customClass),t.icon&&X(e,x["icon-".concat(t.icon)])},je=(e,t)=>{((e,t)=>{const n=A(),r=I();t.toast?(te(n,"width",t.width),r.style.width="100%",r.insertBefore(T(),q())):te(r,"width",t.width),te(r,"padding",t.padding),t.color&&(r.style.color=t.color),t.background&&(r.style.background=t.background),re(R()),Be(r,t)})(0,t),xe(0,t),Me(0,t),((e,t)=>{const n=Ce.innerParams.get(e),r=q();n&&t.icon===n.icon?(Ne(r,t),Re(r,t)):t.icon||t.iconHtml?t.icon&&-1===Object.keys(C).indexOf(t.icon)?(o('Unknown icon! Expected "success", "error", "warning", "info" or "question", got "'.concat(t.icon,'"')),re(r)):(ne(r),Ne(r,t),Re(r,t),X(r,t.showClass.icon)):re(r)})(e,t),((e,t)=>{const n=k();if(!t.imageUrl)return re(n);ne(n,""),n.setAttribute("src",t.imageUrl),n.setAttribute("alt",t.imageAlt),te(n,"width",t.imageWidth),te(n,"height",t.imageHeight),n.className=x.image,Q(n,t,"image")})(0,t),((e,t)=>{const n=D();ae(n,t.title||t.titleText,"block"),t.title&&ge(t.title,n),t.titleText&&(n.innerText=t.titleText),Q(n,t,"title")})(0,t),((e,t)=>{const n=U();$(n,t.closeButtonHtml),Q(n,t,"closeButton"),ae(n,t.showCloseButton),n.setAttribute("aria-label",t.closeButtonAriaLabel)})(0,t),_e(e,t),we(0,t),((e,t)=>{const n=B();ae(n,t.footer),t.footer&&ge(t.footer,n),Q(n,t,"footer")})(0,t),"function"==typeof t.didRender&&t.didRender(I())},Ue=Object.freeze({cancel:"cancel",backdrop:"backdrop",close:"close",esc:"esc",timer:"timer"}),Ve=()=>{n(document.body.children).forEach((e=>{e.hasAttribute("data-previous-aria-hidden")?(e.setAttribute("aria-hidden",e.getAttribute("data-previous-aria-hidden")),e.removeAttribute("data-previous-aria-hidden")):e.removeAttribute("aria-hidden")}))},He=["swal-title","swal-html","swal-footer"],Ge=e=>{const t={};return n(e.querySelectorAll("swal-param")).forEach((e=>{Ze(e,["name","value"]);const n=e.getAttribute("name"),r=e.getAttribute("value");"boolean"==typeof d[n]&&"false"===r&&(t[n]=!1),"object"==typeof d[n]&&(t[n]=JSON.parse(r))})),t},ze=e=>{const r={};return n(e.querySelectorAll("swal-button")).forEach((e=>{Ze(e,["type","color","aria-label"]);const n=e.getAttribute("type");r["".concat(n,"ButtonText")]=e.innerHTML,r["show".concat(t(n),"Button")]=!0,e.hasAttribute("color")&&(r["".concat(n,"ButtonColor")]=e.getAttribute("color")),e.hasAttribute("aria-label")&&(r["".concat(n,"ButtonAriaLabel")]=e.getAttribute("aria-label"))})),r},$e=e=>{const t={},n=e.querySelector("swal-image");return n&&(Ze(n,["src","width","height","alt"]),n.hasAttribute("src")&&(t.imageUrl=n.getAttribute("src")),n.hasAttribute("width")&&(t.imageWidth=n.getAttribute("width")),n.hasAttribute("height")&&(t.imageHeight=n.getAttribute("height")),n.hasAttribute("alt")&&(t.imageAlt=n.getAttribute("alt"))),t},We=e=>{const t={},n=e.querySelector("swal-icon");return n&&(Ze(n,["type","color"]),n.hasAttribute("type")&&(t.icon=n.getAttribute("type")),n.hasAttribute("color")&&(t.iconColor=n.getAttribute("color")),t.iconHtml=n.innerHTML),t},Qe=e=>{const t={},r=e.querySelector("swal-input");r&&(Ze(r,["type","label","placeholder","value"]),t.input=r.getAttribute("type")||"text",r.hasAttribute("label")&&(t.inputLabel=r.getAttribute("label")),r.hasAttribute("placeholder")&&(t.inputPlaceholder=r.getAttribute("placeholder")),r.hasAttribute("value")&&(t.inputValue=r.getAttribute("value")));const o=e.querySelectorAll("swal-input-option");return o.length&&(t.inputOptions={},n(o).forEach((e=>{Ze(e,["value"]);const n=e.getAttribute("value"),r=e.innerHTML;t.inputOptions[n]=r}))),t},Ye=(e,t)=>{const n={};for(const r in t){const o=t[r],a=e.querySelector(o);a&&(Ze(a,[]),n[o.replace(/^swal-/,"")]=a.innerHTML.trim())}return n},Ke=e=>{const t=He.concat(["swal-param","swal-button","swal-image","swal-icon","swal-input","swal-input-option"]);n(e.children).forEach((e=>{const n=e.tagName.toLowerCase();-1===t.indexOf(n)&&r("Unrecognized element <".concat(n,">"))}))},Ze=(e,t)=>{n(e.attributes).forEach((n=>{-1===t.indexOf(n.name)&&r(['Unrecognized attribute "'.concat(n.name,'" on <').concat(e.tagName.toLowerCase(),">."),"".concat(t.length?"Allowed attributes are: ".concat(t.join(", ")):"To set the value, use HTML within the element.")])}))};var Xe={email:(e,t)=>/^[a-zA-Z0-9.+_-]+@[a-zA-Z0-9.-]+\.[a-zA-Z0-9-]{2,24}$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid email address"),url:(e,t)=>/^https?:\/\/(www\.)?[-a-zA-Z0-9@:%._+~#=]{1,256}\.[a-z]{2,63}\b([-a-zA-Z0-9@:%_+.~#?&/=]*)$/.test(e)?Promise.resolve():Promise.resolve(t||"Invalid URL")};function Je(e){(function(e){e.inputValidator||Object.keys(Xe).forEach((t=>{e.input===t&&(e.inputValidator=Xe[t])}))})(e),e.showLoaderOnConfirm&&!e.preConfirm&&r("showLoaderOnConfirm is set to true, but preConfirm is not defined.\nshowLoaderOnConfirm should be used together with preConfirm, see usage example:\nhttps://sweetalert2.github.io/#ajax-request"),function(e){(!e.target||"string"==typeof e.target&&!document.querySelector(e.target)||"string"!=typeof e.target&&!e.target.appendChild)&&(r('Target parameter is not valid, defaulting to "body"'),e.target="body")}(e),"string"==typeof e.title&&(e.title=e.title.split("\n").join("<br />")),he(e)}class et{constructor(e,t){this.callback=e,this.remaining=t,this.running=!1,this.start()}start(){return this.running||(this.running=!0,this.started=new Date,this.id=setTimeout(this.callback,this.remaining)),this.remaining}stop(){return this.running&&(this.running=!1,clearTimeout(this.id),this.remaining-=(new Date).getTime()-this.started.getTime()),this.remaining}increase(e){const t=this.running;return t&&this.stop(),this.remaining+=e,t&&this.start(),this.remaining}getTimerLeft(){return this.running&&(this.stop(),this.start()),this.remaining}isRunning(){return this.running}}const tt=()=>{null===z.previousBodyPadding&&document.body.scrollHeight>window.innerHeight&&(z.previousBodyPadding=parseInt(window.getComputedStyle(document.body).getPropertyValue("padding-right")),document.body.style.paddingRight="".concat(z.previousBodyPadding+(()=>{const e=document.createElement("div");e.className=x["scrollbar-measure"],document.body.appendChild(e);const t=e.getBoundingClientRect().width-e.clientWidth;return document.body.removeChild(e),t})(),"px"))},nt=()=>{const e=navigator.userAgent,t=!!e.match(/iPad/i)||!!e.match(/iPhone/i),n=!!e.match(/WebKit/i);if(t&&n&&!e.match(/CriOS/i)){const e=44;I().scrollHeight>window.innerHeight-e&&(A().style.paddingBottom="".concat(e,"px"))}},rt=()=>{const e=A();let t;e.ontouchstart=e=>{t=ot(e)},e.ontouchmove=e=>{t&&(e.preventDefault(),e.stopPropagation())}},ot=e=>{const t=e.target,n=A();return!(at(e)||it(e)||t!==n&&(se(n)||"INPUT"===t.tagName||"TEXTAREA"===t.tagName||se(P())&&P().contains(t)))},at=e=>e.touches&&e.touches.length&&"stylus"===e.touches[0].touchType,it=e=>e.touches&&e.touches.length>1,st=e=>{const t=A(),r=I();"function"==typeof e.willOpen&&e.willOpen(r);const o=window.getComputedStyle(document.body).overflowY;dt(t,r,e),setTimeout((()=>{ct(t,r)}),10),H()&&(ut(t,e.scrollbarPadding,o),n(document.body.children).forEach((e=>{e===A()||e.contains(A())||(e.hasAttribute("aria-hidden")&&e.setAttribute("data-previous-aria-hidden",e.getAttribute("aria-hidden")),e.setAttribute("aria-hidden","true"))}))),G()||de.previousActiveElement||(de.previousActiveElement=document.activeElement),"function"==typeof e.didOpen&&setTimeout((()=>e.didOpen(r))),J(t,x["no-transition"])},lt=e=>{const t=I();if(e.target!==t)return;const n=A();t.removeEventListener(ye,lt),n.style.overflowY="auto"},ct=(e,t)=>{ye&&le(t)?(e.style.overflowY="hidden",t.addEventListener(ye,lt)):e.style.overflowY="auto"},ut=(e,t,n)=>{(()=>{if((/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1)&&!W(document.body,x.iosfix)){const e=document.body.scrollTop;document.body.style.top="".concat(-1*e,"px"),X(document.body,x.iosfix),rt(),nt()}})(),t&&"hidden"!==n&&tt(),setTimeout((()=>{e.scrollTop=0}))},dt=(e,t,n)=>{X(e,n.showClass.backdrop),t.style.setProperty("opacity","0","important"),ne(t,"grid"),setTimeout((()=>{X(t,n.showClass.popup),t.style.removeProperty("opacity")}),10),X([document.documentElement,document.body],x.shown),n.heightAuto&&n.backdrop&&!n.toast&&X([document.documentElement,document.body],x["height-auto"])},pt=e=>{let t=I();t||new Sn,t=I();const n=T();G()?re(q()):ft(t,e),ne(n),t.setAttribute("data-loading",!0),t.setAttribute("aria-busy",!0),t.focus()},ft=(e,t)=>{const n=M(),r=T();!t&&ie(F())&&(t=F()),ne(n),t&&(re(t),r.setAttribute("data-button-to-replace",t.className)),r.parentNode.insertBefore(r,t),X([e,n],x.loading)},mt=e=>e.checked?1:0,ht=e=>e.checked?e.value:null,gt=e=>e.files.length?null!==e.getAttribute("multiple")?e.files:e.files[0]:null,bt=(e,t)=>{const n=I(),r=e=>yt[t.input](n,wt(e),t);l(t.inputOptions)||u(t.inputOptions)?(pt(F()),c(t.inputOptions).then((t=>{e.hideLoading(),r(t)}))):"object"==typeof t.inputOptions?r(t.inputOptions):o("Unexpected type of inputOptions! Expected object, Map or Promise, got ".concat(typeof t.inputOptions))},vt=(e,t)=>{const n=e.getInput();re(n),c(t.inputValue).then((r=>{n.value="number"===t.input?parseFloat(r)||0:"".concat(r),ne(n),n.focus(),e.hideLoading()})).catch((t=>{o("Error in inputValue promise: ".concat(t)),n.value="",ne(n),n.focus(),e.hideLoading()}))},yt={select:(e,t,n)=>{const r=ee(e,x.select),o=(e,t,r)=>{const o=document.createElement("option");o.value=r,$(o,t),o.selected=Et(r,n.inputValue),e.appendChild(o)};t.forEach((e=>{const t=e[0],n=e[1];if(Array.isArray(n)){const e=document.createElement("optgroup");e.label=t,e.disabled=!1,r.appendChild(e),n.forEach((t=>o(e,t[1],t[0])))}else o(r,n,t)})),r.focus()},radio:(e,t,n)=>{const r=ee(e,x.radio);t.forEach((e=>{const t=e[0],o=e[1],a=document.createElement("input"),i=document.createElement("label");a.type="radio",a.name=x.radio,a.value=t,Et(t,n.inputValue)&&(a.checked=!0);const s=document.createElement("span");$(s,o),s.className=x.label,i.appendChild(a),i.appendChild(s),r.appendChild(i)}));const o=r.querySelectorAll("input");o.length&&o[0].focus()}},wt=e=>{const t=[];return"undefined"!=typeof Map&&e instanceof Map?e.forEach(((e,n)=>{let r=e;"object"==typeof r&&(r=wt(r)),t.push([n,r])})):Object.keys(e).forEach((n=>{let r=e[n];"object"==typeof r&&(r=wt(r)),t.push([n,r])})),t},Et=(e,t)=>t&&t.toString()===e.toString();function xt(){const e=Ce.innerParams.get(this);if(!e)return;const t=Ce.domCache.get(this);re(t.loader),G()?e.icon&&ne(q()):Ct(t),J([t.popup,t.actions],x.loading),t.popup.removeAttribute("aria-busy"),t.popup.removeAttribute("data-loading"),t.confirmButton.disabled=!1,t.denyButton.disabled=!1,t.cancelButton.disabled=!1}const Ct=e=>{const t=e.popup.getElementsByClassName(e.loader.getAttribute("data-button-to-replace"));t.length?ne(t[0],"inline-block"):!ie(F())&&!ie(N())&&!ie(L())&&re(e.actions)};var At={swalPromiseResolve:new WeakMap,swalPromiseReject:new WeakMap};const St=()=>F()&&F().click(),Ot=e=>{e.keydownTarget&&e.keydownHandlerAdded&&(e.keydownTarget.removeEventListener("keydown",e.keydownHandler,{capture:e.keydownListenerCapture}),e.keydownHandlerAdded=!1)},It=(e,t,n)=>{const r=V();if(r.length)return(t+=n)===r.length?t=0:-1===t&&(t=r.length-1),r[t].focus();I().focus()},qt=["ArrowRight","ArrowDown"],Dt=["ArrowLeft","ArrowUp"],Pt=(e,t,n)=>{const r=Ce.innerParams.get(e);r&&(t.isComposing||229===t.keyCode||(r.stopKeydownPropagation&&t.stopPropagation(),"Enter"===t.key?kt(e,t,r):"Tab"===t.key?_t(t,r):[...qt,...Dt].includes(t.key)?Rt(t.key):"Escape"===t.key&&Ft(t,r,n)))},kt=(e,t,n)=>{if(s(n.allowEnterKey)&&t.target&&e.getInput()&&t.target.outerHTML===e.getInput().outerHTML){if(["textarea","file"].includes(n.input))return;St(),t.preventDefault()}},_t=(e,t)=>{const n=e.target,r=V();let o=-1;for(let e=0;e<r.length;e++)if(n===r[e]){o=e;break}e.shiftKey?It(0,o,-1):It(0,o,1),e.stopPropagation(),e.preventDefault()},Rt=e=>{if(![F(),N(),L()].includes(document.activeElement))return;const t=qt.includes(e)?"nextElementSibling":"previousElementSibling";let n=document.activeElement;for(let e=0;e<M().children.length;e++){if(n=n[t],!n)return;if(ie(n)&&n instanceof HTMLButtonElement)break}n instanceof HTMLButtonElement&&n.focus()},Ft=(e,t,n)=>{s(t.allowEscapeKey)&&(e.preventDefault(),n(Ue.esc))};function Nt(e,t,n,r){G()?Vt(e,r):(pe(n).then((()=>Vt(e,r))),Ot(de)),/^((?!chrome|android).)*safari/i.test(navigator.userAgent)?(t.setAttribute("style","display:none !important"),t.removeAttribute("class"),t.innerHTML=""):t.remove(),H()&&(null!==z.previousBodyPadding&&(document.body.style.paddingRight="".concat(z.previousBodyPadding,"px"),z.previousBodyPadding=null),(()=>{if(W(document.body,x.iosfix)){const e=parseInt(document.body.style.top,10);J(document.body,x.iosfix),document.body.style.top="",document.body.scrollTop=-1*e}})(),Ve()),J([document.documentElement,document.body],[x.shown,x["height-auto"],x["no-backdrop"],x["toast-shown"]])}function Tt(e){e=Bt(e);const t=At.swalPromiseResolve.get(this),n=Lt(this);this.isAwaitingPromise()?e.isDismissed||(Mt(this),t(e)):n&&t(e)}const Lt=e=>{const t=I();if(!t)return!1;const n=Ce.innerParams.get(e);if(!n||W(t,n.hideClass.popup))return!1;J(t,n.showClass.popup),X(t,n.hideClass.popup);const r=A();return J(r,n.showClass.backdrop),X(r,n.hideClass.backdrop),jt(e,t,n),!0};const Mt=e=>{e.isAwaitingPromise()&&(Ce.awaitingPromise.delete(e),Ce.innerParams.get(e)||e._destroy())},Bt=e=>void 0===e?{isConfirmed:!1,isDenied:!1,isDismissed:!0}:Object.assign({isConfirmed:!1,isDenied:!1,isDismissed:!1},e),jt=(e,t,n)=>{const r=A(),o=ye&&le(t);"function"==typeof n.willClose&&n.willClose(t),o?Ut(e,t,r,n.returnFocus,n.didClose):Nt(e,r,n.returnFocus,n.didClose)},Ut=(e,t,n,r,o)=>{de.swalCloseEventFinishedCallback=Nt.bind(null,e,n,r,o),t.addEventListener(ye,(function(e){e.target===t&&(de.swalCloseEventFinishedCallback(),delete de.swalCloseEventFinishedCallback)}))},Vt=(e,t)=>{setTimeout((()=>{"function"==typeof t&&t.bind(e.params)(),e._destroy()}))};function Ht(e,t,n){const r=Ce.domCache.get(e);t.forEach((e=>{r[e].disabled=n}))}function Gt(e,t){if(!e)return!1;if("radio"===e.type){const n=e.parentNode.parentNode.querySelectorAll("input");for(let e=0;e<n.length;e++)n[e].disabled=t}else e.disabled=t}const zt=e=>{const t={};return Object.keys(e).forEach((n=>{g(n)?t[n]=e[n]:r('Invalid parameter to update: "'.concat(n,'". Updatable params are listed here: https://github.com/sweetalert2/sweetalert2/blob/master/src/utils/params.js\n\nIf you think this parameter should be updatable, request it here: https://github.com/sweetalert2/sweetalert2/issues/new?template=02_feature_request.md'))})),t};const $t=e=>{Wt(e),delete e.params,delete de.keydownHandler,delete de.keydownTarget,delete de.currentInstance},Wt=e=>{e.isAwaitingPromise()?(Qt(Ce,e),Ce.awaitingPromise.set(e,!0)):(Qt(At,e),Qt(Ce,e))},Qt=(e,t)=>{for(const n in e)e[n].delete(t)};var Yt=Object.freeze({hideLoading:xt,disableLoading:xt,getInput:function(e){const t=Ce.innerParams.get(e||this),n=Ce.domCache.get(e||this);return n?Y(n.popup,t.input):null},close:Tt,isAwaitingPromise:function(){return!!Ce.awaitingPromise.get(this)},rejectPromise:function(e){const t=At.swalPromiseReject.get(this);Mt(this),t&&t(e)},handleAwaitingPromise:Mt,closePopup:Tt,closeModal:Tt,closeToast:Tt,enableButtons:function(){Ht(this,["confirmButton","denyButton","cancelButton"],!1)},disableButtons:function(){Ht(this,["confirmButton","denyButton","cancelButton"],!0)},enableInput:function(){return Gt(this.getInput(),!1)},disableInput:function(){return Gt(this.getInput(),!0)},showValidationMessage:function(e){const t=Ce.domCache.get(this),n=Ce.innerParams.get(this);$(t.validationMessage,e),t.validationMessage.className=x["validation-message"],n.customClass&&n.customClass.validationMessage&&X(t.validationMessage,n.customClass.validationMessage),ne(t.validationMessage);const r=this.getInput();r&&(r.setAttribute("aria-invalid",!0),r.setAttribute("aria-describedby",x["validation-message"]),K(r),X(r,x.inputerror))},resetValidationMessage:function(){const e=Ce.domCache.get(this);e.validationMessage&&re(e.validationMessage);const t=this.getInput();t&&(t.removeAttribute("aria-invalid"),t.removeAttribute("aria-describedby"),J(t,x.inputerror))},getProgressSteps:function(){return Ce.domCache.get(this).progressSteps},update:function(e){const t=I(),n=Ce.innerParams.get(this);if(!t||W(t,n.hideClass.popup))return r("You're trying to update the closed or closing popup, that won't work. Use the update() method in preConfirm parameter or show a new popup.");const o=zt(e),a=Object.assign({},n,o);je(this,a),Ce.innerParams.set(this,a),Object.defineProperties(this,{params:{value:Object.assign({},this.params,e),writable:!1,enumerable:!0}})},_destroy:function(){const e=Ce.domCache.get(this),t=Ce.innerParams.get(this);t?(e.popup&&de.swalCloseEventFinishedCallback&&(de.swalCloseEventFinishedCallback(),delete de.swalCloseEventFinishedCallback),de.deferDisposalTimer&&(clearTimeout(de.deferDisposalTimer),delete de.deferDisposalTimer),"function"==typeof t.didDestroy&&t.didDestroy(),$t(this)):Wt(this)}});const Kt=(e,n)=>{const r=Ce.innerParams.get(e);if(!r.input)return o('The "input" parameter is needed to be set when using returnInputValueOn'.concat(t(n)));const a=((e,t)=>{const n=e.getInput();if(!n)return null;switch(t.input){case"checkbox":return mt(n);case"radio":return ht(n);case"file":return gt(n);default:return t.inputAutoTrim?n.value.trim():n.value}})(e,r);r.inputValidator?Zt(e,a,n):e.getInput().checkValidity()?"deny"===n?Xt(e,a):tn(e,a):(e.enableButtons(),e.showValidationMessage(r.validationMessage))},Zt=(e,t,n)=>{const r=Ce.innerParams.get(e);e.disableInput(),Promise.resolve().then((()=>c(r.inputValidator(t,r.validationMessage)))).then((r=>{e.enableButtons(),e.enableInput(),r?e.showValidationMessage(r):"deny"===n?Xt(e,t):tn(e,t)}))},Xt=(e,t)=>{const n=Ce.innerParams.get(e||void 0);n.showLoaderOnDeny&&pt(N()),n.preDeny?(Ce.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(n.preDeny(t,n.validationMessage)))).then((n=>{!1===n?(e.hideLoading(),Mt(e)):e.closePopup({isDenied:!0,value:void 0===n?t:n})})).catch((t=>en(e||void 0,t)))):e.closePopup({isDenied:!0,value:t})},Jt=(e,t)=>{e.closePopup({isConfirmed:!0,value:t})},en=(e,t)=>{e.rejectPromise(t)},tn=(e,t)=>{const n=Ce.innerParams.get(e||void 0);n.showLoaderOnConfirm&&pt(),n.preConfirm?(e.resetValidationMessage(),Ce.awaitingPromise.set(e||void 0,!0),Promise.resolve().then((()=>c(n.preConfirm(t,n.validationMessage)))).then((n=>{ie(R())||!1===n?(e.hideLoading(),Mt(e)):Jt(e,void 0===n?t:n)})).catch((t=>en(e||void 0,t)))):Jt(e,t)},nn=(e,t,n)=>{t.popup.onclick=()=>{const t=Ce.innerParams.get(e);t&&(rn(t)||t.timer||t.input)||n(Ue.close)}},rn=e=>e.showConfirmButton||e.showDenyButton||e.showCancelButton||e.showCloseButton;let on=!1;const an=e=>{e.popup.onmousedown=()=>{e.container.onmouseup=function(t){e.container.onmouseup=void 0,t.target===e.container&&(on=!0)}}},sn=e=>{e.container.onmousedown=()=>{e.popup.onmouseup=function(t){e.popup.onmouseup=void 0,(t.target===e.popup||e.popup.contains(t.target))&&(on=!0)}}},ln=(e,t,n)=>{t.container.onclick=r=>{const o=Ce.innerParams.get(e);on?on=!1:r.target===t.container&&s(o.allowOutsideClick)&&n(Ue.backdrop)}},cn=e=>e instanceof Element||(e=>"object"==typeof e&&e.jquery)(e);const un=()=>{if(de.timeout)return(()=>{const e=j(),t=parseInt(window.getComputedStyle(e).width);e.style.removeProperty("transition"),e.style.width="100%";const n=t/parseInt(window.getComputedStyle(e).width)*100;e.style.removeProperty("transition"),e.style.width="".concat(n,"%")})(),de.timeout.stop()},dn=()=>{if(de.timeout){const e=de.timeout.start();return ce(e),e}};let pn=!1;const fn={};const mn=e=>{for(let t=e.target;t&&t!==document;t=t.parentNode)for(const e in fn){const n=t.getAttribute(e);if(n)return void fn[e].fire({template:n})}};var hn=Object.freeze({isValidParameter:h,isUpdatableParameter:g,isDeprecatedParameter:b,argsToParams:e=>{const t={};return"object"!=typeof e[0]||cn(e[0])?["title","html","icon"].forEach(((n,r)=>{const a=e[r];"string"==typeof a||cn(a)?t[n]=a:void 0!==a&&o("Unexpected type of ".concat(n,'! Expected "string" or "Element", got ').concat(typeof a))})):Object.assign(t,e[0]),t},isVisible:()=>ie(I()),clickConfirm:St,clickDeny:()=>N()&&N().click(),clickCancel:()=>L()&&L().click(),getContainer:A,getPopup:I,getTitle:D,getHtmlContainer:P,getImage:k,getIcon:q,getInputLabel:()=>O(x["input-label"]),getCloseButton:U,getActions:M,getConfirmButton:F,getDenyButton:N,getCancelButton:L,getLoader:T,getFooter:B,getTimerProgressBar:j,getFocusableElements:V,getValidationMessage:R,isLoading:()=>I().hasAttribute("data-loading"),fire:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return new this(...t)},mixin:function(e){return class extends(this){_main(t,n){return super._main(t,Object.assign({},e,n))}}},showLoading:pt,enableLoading:pt,getTimerLeft:()=>de.timeout&&de.timeout.getTimerLeft(),stopTimer:un,resumeTimer:dn,toggleTimer:()=>{const e=de.timeout;return e&&(e.running?un():dn())},increaseTimer:e=>{if(de.timeout){const t=de.timeout.increase(e);return ce(t,!0),t}},isTimerRunning:()=>de.timeout&&de.timeout.isRunning(),bindClickHandler:function(){fn[arguments.length>0&&void 0!==arguments[0]?arguments[0]:"data-swal-template"]=this,pn||(document.body.addEventListener("click",mn),pn=!0)}});let gn;class bn{constructor(){if("undefined"==typeof window)return;gn=this;for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];const r=Object.freeze(this.constructor.argsToParams(t));Object.defineProperties(this,{params:{value:r,writable:!1,enumerable:!0,configurable:!0}});const o=this._main(this.params);Ce.promise.set(this,o)}_main(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};(e=>{!e.backdrop&&e.allowOutsideClick&&r('"allowOutsideClick" parameter requires `backdrop` parameter to be set to `true`');for(const t in e)v(t),e.toast&&y(t),w(t)})(Object.assign({},t,e)),de.currentInstance&&(de.currentInstance._destroy(),H()&&Ve()),de.currentInstance=this;const n=yn(e,t);Je(n),Object.freeze(n),de.timeout&&(de.timeout.stop(),delete de.timeout),clearTimeout(de.restoreFocusTimeout);const o=wn(this);return je(this,n),Ce.innerParams.set(this,n),vn(this,o,n)}then(e){return Ce.promise.get(this).then(e)}finally(e){return Ce.promise.get(this).finally(e)}}const vn=(e,t,n)=>new Promise(((r,o)=>{const a=t=>{e.closePopup({isDismissed:!0,dismiss:t})};At.swalPromiseResolve.set(e,r),At.swalPromiseReject.set(e,o),t.confirmButton.onclick=()=>(e=>{const t=Ce.innerParams.get(e);e.disableButtons(),t.input?Kt(e,"confirm"):tn(e,!0)})(e),t.denyButton.onclick=()=>(e=>{const t=Ce.innerParams.get(e);e.disableButtons(),t.returnInputValueOnDeny?Kt(e,"deny"):Xt(e,!1)})(e),t.cancelButton.onclick=()=>((e,t)=>{e.disableButtons(),t(Ue.cancel)})(e,a),t.closeButton.onclick=()=>a(Ue.close),((e,t,n)=>{Ce.innerParams.get(e).toast?nn(e,t,n):(an(t),sn(t),ln(e,t,n))})(e,t,a),((e,t,n,r)=>{Ot(t),n.toast||(t.keydownHandler=t=>Pt(e,t,r),t.keydownTarget=n.keydownListenerCapture?window:I(),t.keydownListenerCapture=n.keydownListenerCapture,t.keydownTarget.addEventListener("keydown",t.keydownHandler,{capture:t.keydownListenerCapture}),t.keydownHandlerAdded=!0)})(e,de,n,a),((e,t)=>{"select"===t.input||"radio"===t.input?bt(e,t):["text","email","number","tel","textarea"].includes(t.input)&&(l(t.inputValue)||u(t.inputValue))&&(pt(F()),vt(e,t))})(e,n),st(n),En(de,n,a),xn(t,n),setTimeout((()=>{t.container.scrollTop=0}))})),yn=(e,t)=>{const n=(e=>{const t="string"==typeof e.template?document.querySelector(e.template):e.template;if(!t)return{};const n=t.content;return Ke(n),Object.assign(Ge(n),ze(n),$e(n),We(n),Qe(n),Ye(n,He))})(e),r=Object.assign({},d,t,n,e);return r.showClass=Object.assign({},d.showClass,r.showClass),r.hideClass=Object.assign({},d.hideClass,r.hideClass),r},wn=e=>{const t={popup:I(),container:A(),actions:M(),confirmButton:F(),denyButton:N(),cancelButton:L(),loader:T(),closeButton:U(),validationMessage:R(),progressSteps:_()};return Ce.domCache.set(e,t),t},En=(e,t,n)=>{const r=j();re(r),t.timer&&(e.timeout=new et((()=>{n("timer"),delete e.timeout}),t.timer),t.timerProgressBar&&(ne(r),Q(r,t,"timerProgressBar"),setTimeout((()=>{e.timeout&&e.timeout.running&&ce(t.timer)}))))},xn=(e,t)=>{if(!t.toast)return s(t.allowEnterKey)?void(Cn(e,t)||It(0,-1,1)):An()},Cn=(e,t)=>t.focusDeny&&ie(e.denyButton)?(e.denyButton.focus(),!0):t.focusCancel&&ie(e.cancelButton)?(e.cancelButton.focus(),!0):!(!t.focusConfirm||!ie(e.confirmButton)||(e.confirmButton.focus(),0)),An=()=>{document.activeElement instanceof HTMLElement&&"function"==typeof document.activeElement.blur&&document.activeElement.blur()};Object.assign(bn.prototype,Yt),Object.assign(bn,hn),Object.keys(Yt).forEach((e=>{bn[e]=function(){if(gn)return gn[e](...arguments)}})),bn.DismissReason=Ue,bn.version="11.4.8";const Sn=bn;return Sn.default=Sn,Sn}(),void 0!==this&&this.Sweetalert2&&(this.swal=this.sweetAlert=this.Swal=this.SweetAlert=this.Sweetalert2),"undefined"!=typeof document&&function(e,t){var n=e.createElement("style");if(e.getElementsByTagName("head")[0].appendChild(n),n.styleSheet)n.styleSheet.disabled||(n.styleSheet.cssText=t);else try{n.innerHTML=t}catch(e){n.innerText=t}}(document,'.swal2-popup.swal2-toast{box-sizing:border-box;grid-column:1/4!important;grid-row:1/4!important;grid-template-columns:1fr 99fr 1fr;padding:1em;overflow-y:hidden;background:#fff;box-shadow:0 0 1px rgba(0,0,0,.075),0 1px 2px rgba(0,0,0,.075),1px 2px 4px rgba(0,0,0,.075),1px 3px 8px rgba(0,0,0,.075),2px 4px 16px rgba(0,0,0,.075);pointer-events:all}.swal2-popup.swal2-toast>*{grid-column:2}.swal2-popup.swal2-toast .swal2-title{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-loading{justify-content:center}.swal2-popup.swal2-toast .swal2-input{height:2em;margin:.5em;font-size:1em}.swal2-popup.swal2-toast .swal2-validation-message{font-size:1em}.swal2-popup.swal2-toast .swal2-footer{margin:.5em 0 0;padding:.5em 0 0;font-size:.8em}.swal2-popup.swal2-toast .swal2-close{grid-column:3/3;grid-row:1/99;align-self:center;width:.8em;height:.8em;margin:0;font-size:2em}.swal2-popup.swal2-toast .swal2-html-container{margin:.5em 1em;padding:0;font-size:1em;text-align:initial}.swal2-popup.swal2-toast .swal2-html-container:empty{padding:0}.swal2-popup.swal2-toast .swal2-loader{grid-column:1;grid-row:1/99;align-self:center;width:2em;height:2em;margin:.25em}.swal2-popup.swal2-toast .swal2-icon{grid-column:1;grid-row:1/99;align-self:center;width:2em;min-width:2em;height:2em;margin:0 .5em 0 0}.swal2-popup.swal2-toast .swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:1.8em;font-weight:700}.swal2-popup.swal2-toast .swal2-icon.swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line]{top:.875em;width:1.375em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:.3125em}.swal2-popup.swal2-toast .swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:.3125em}.swal2-popup.swal2-toast .swal2-actions{justify-content:flex-start;height:auto;margin:0;margin-top:.5em;padding:0 .5em}.swal2-popup.swal2-toast .swal2-styled{margin:.25em .5em;padding:.4em .6em;font-size:1em}.swal2-popup.swal2-toast .swal2-success{border-color:#a5dc86}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line]{position:absolute;width:1.6em;height:3em;transform:rotate(45deg);border-radius:50%}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.8em;left:-.5em;transform:rotate(-45deg);transform-origin:2em 2em;border-radius:4em 0 0 4em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.25em;left:.9375em;transform-origin:0 1.5em;border-radius:0 4em 4em 0}.swal2-popup.swal2-toast .swal2-success .swal2-success-ring{width:2em;height:2em}.swal2-popup.swal2-toast .swal2-success .swal2-success-fix{top:0;left:.4375em;width:.4375em;height:2.6875em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line]{height:.3125em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=tip]{top:1.125em;left:.1875em;width:.75em}.swal2-popup.swal2-toast .swal2-success [class^=swal2-success-line][class$=long]{top:.9375em;right:.1875em;width:1.375em}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-toast-animate-success-line-tip .75s;animation:swal2-toast-animate-success-line-tip .75s}.swal2-popup.swal2-toast .swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-toast-animate-success-line-long .75s;animation:swal2-toast-animate-success-line-long .75s}.swal2-popup.swal2-toast.swal2-show{-webkit-animation:swal2-toast-show .5s;animation:swal2-toast-show .5s}.swal2-popup.swal2-toast.swal2-hide{-webkit-animation:swal2-toast-hide .1s forwards;animation:swal2-toast-hide .1s forwards}.swal2-container{display:grid;position:fixed;z-index:1060;top:0;right:0;bottom:0;left:0;box-sizing:border-box;grid-template-areas:"top-start top top-end" "center-start center center-end" "bottom-start bottom-center bottom-end";grid-template-rows:minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto) minmax(-webkit-min-content,auto);grid-template-rows:minmax(min-content,auto) minmax(min-content,auto) minmax(min-content,auto);height:100%;padding:.625em;overflow-x:hidden;transition:background-color .1s;-webkit-overflow-scrolling:touch}.swal2-container.swal2-backdrop-show,.swal2-container.swal2-noanimation{background:rgba(0,0,0,.4)}.swal2-container.swal2-backdrop-hide{background:0 0!important}.swal2-container.swal2-bottom-start,.swal2-container.swal2-center-start,.swal2-container.swal2-top-start{grid-template-columns:minmax(0,1fr) auto auto}.swal2-container.swal2-bottom,.swal2-container.swal2-center,.swal2-container.swal2-top{grid-template-columns:auto minmax(0,1fr) auto}.swal2-container.swal2-bottom-end,.swal2-container.swal2-center-end,.swal2-container.swal2-top-end{grid-template-columns:auto auto minmax(0,1fr)}.swal2-container.swal2-top-start>.swal2-popup{align-self:start}.swal2-container.swal2-top>.swal2-popup{grid-column:2;align-self:start;justify-self:center}.swal2-container.swal2-top-end>.swal2-popup,.swal2-container.swal2-top-right>.swal2-popup{grid-column:3;align-self:start;justify-self:end}.swal2-container.swal2-center-left>.swal2-popup,.swal2-container.swal2-center-start>.swal2-popup{grid-row:2;align-self:center}.swal2-container.swal2-center>.swal2-popup{grid-column:2;grid-row:2;align-self:center;justify-self:center}.swal2-container.swal2-center-end>.swal2-popup,.swal2-container.swal2-center-right>.swal2-popup{grid-column:3;grid-row:2;align-self:center;justify-self:end}.swal2-container.swal2-bottom-left>.swal2-popup,.swal2-container.swal2-bottom-start>.swal2-popup{grid-column:1;grid-row:3;align-self:end}.swal2-container.swal2-bottom>.swal2-popup{grid-column:2;grid-row:3;justify-self:center;align-self:end}.swal2-container.swal2-bottom-end>.swal2-popup,.swal2-container.swal2-bottom-right>.swal2-popup{grid-column:3;grid-row:3;align-self:end;justify-self:end}.swal2-container.swal2-grow-fullscreen>.swal2-popup,.swal2-container.swal2-grow-row>.swal2-popup{grid-column:1/4;width:100%}.swal2-container.swal2-grow-column>.swal2-popup,.swal2-container.swal2-grow-fullscreen>.swal2-popup{grid-row:1/4;align-self:stretch}.swal2-container.swal2-no-transition{transition:none!important}.swal2-popup{display:none;position:relative;box-sizing:border-box;grid-template-columns:minmax(0,100%);width:32em;max-width:100%;padding:0 0 1.25em;border:none;border-radius:5px;background:#fff;color:#545454;font-family:inherit;font-size:1rem}.swal2-popup:focus{outline:0}.swal2-popup.swal2-loading{overflow-y:hidden}.swal2-title{position:relative;max-width:100%;margin:0;padding:.8em 1em 0;color:inherit;font-size:1.875em;font-weight:600;text-align:center;text-transform:none;word-wrap:break-word}.swal2-actions{display:flex;z-index:1;box-sizing:border-box;flex-wrap:wrap;align-items:center;justify-content:center;width:auto;margin:1.25em auto 0;padding:0}.swal2-actions:not(.swal2-loading) .swal2-styled[disabled]{opacity:.4}.swal2-actions:not(.swal2-loading) .swal2-styled:hover{background-image:linear-gradient(rgba(0,0,0,.1),rgba(0,0,0,.1))}.swal2-actions:not(.swal2-loading) .swal2-styled:active{background-image:linear-gradient(rgba(0,0,0,.2),rgba(0,0,0,.2))}.swal2-loader{display:none;align-items:center;justify-content:center;width:2.2em;height:2.2em;margin:0 1.875em;-webkit-animation:swal2-rotate-loading 1.5s linear 0s infinite normal;animation:swal2-rotate-loading 1.5s linear 0s infinite normal;border-width:.25em;border-style:solid;border-radius:100%;border-color:#2778c4 transparent #2778c4 transparent}.swal2-styled{margin:.3125em;padding:.625em 1.1em;transition:box-shadow .1s;box-shadow:0 0 0 3px transparent;font-weight:500}.swal2-styled:not([disabled]){cursor:pointer}.swal2-styled.swal2-confirm{border:0;border-radius:.25em;background:initial;background-color:#7066e0;color:#fff;font-size:1em}.swal2-styled.swal2-confirm:focus{box-shadow:0 0 0 3px rgba(112,102,224,.5)}.swal2-styled.swal2-deny{border:0;border-radius:.25em;background:initial;background-color:#dc3741;color:#fff;font-size:1em}.swal2-styled.swal2-deny:focus{box-shadow:0 0 0 3px rgba(220,55,65,.5)}.swal2-styled.swal2-cancel{border:0;border-radius:.25em;background:initial;background-color:#6e7881;color:#fff;font-size:1em}.swal2-styled.swal2-cancel:focus{box-shadow:0 0 0 3px rgba(110,120,129,.5)}.swal2-styled.swal2-default-outline:focus{box-shadow:0 0 0 3px rgba(100,150,200,.5)}.swal2-styled:focus{outline:0}.swal2-styled::-moz-focus-inner{border:0}.swal2-footer{justify-content:center;margin:1em 0 0;padding:1em 1em 0;border-top:1px solid #eee;color:inherit;font-size:1em}.swal2-timer-progress-bar-container{position:absolute;right:0;bottom:0;left:0;grid-column:auto!important;overflow:hidden;border-bottom-right-radius:5px;border-bottom-left-radius:5px}.swal2-timer-progress-bar{width:100%;height:.25em;background:rgba(0,0,0,.2)}.swal2-image{max-width:100%;margin:2em auto 1em}.swal2-close{z-index:2;align-items:center;justify-content:center;width:1.2em;height:1.2em;margin-top:0;margin-right:0;margin-bottom:-1.2em;padding:0;overflow:hidden;transition:color .1s,box-shadow .1s;border:none;border-radius:5px;background:0 0;color:#ccc;font-family:serif;font-family:monospace;font-size:2.5em;cursor:pointer;justify-self:end}.swal2-close:hover{transform:none;background:0 0;color:#f27474}.swal2-close:focus{outline:0;box-shadow:inset 0 0 0 3px rgba(100,150,200,.5)}.swal2-close::-moz-focus-inner{border:0}.swal2-html-container{z-index:1;justify-content:center;margin:1em 1.6em .3em;padding:0;overflow:auto;color:inherit;font-size:1.125em;font-weight:400;line-height:normal;text-align:center;word-wrap:break-word;word-break:break-word}.swal2-checkbox,.swal2-file,.swal2-input,.swal2-radio,.swal2-select,.swal2-textarea{margin:1em 2em 3px}.swal2-file,.swal2-input,.swal2-textarea{box-sizing:border-box;width:auto;transition:border-color .1s,box-shadow .1s;border:1px solid #d9d9d9;border-radius:.1875em;background:inherit;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px transparent;color:inherit;font-size:1.125em}.swal2-file.swal2-inputerror,.swal2-input.swal2-inputerror,.swal2-textarea.swal2-inputerror{border-color:#f27474!important;box-shadow:0 0 2px #f27474!important}.swal2-file:focus,.swal2-input:focus,.swal2-textarea:focus{border:1px solid #b4dbed;outline:0;box-shadow:inset 0 1px 1px rgba(0,0,0,.06),0 0 0 3px rgba(100,150,200,.5)}.swal2-file::-moz-placeholder,.swal2-input::-moz-placeholder,.swal2-textarea::-moz-placeholder{color:#ccc}.swal2-file:-ms-input-placeholder,.swal2-input:-ms-input-placeholder,.swal2-textarea:-ms-input-placeholder{color:#ccc}.swal2-file::placeholder,.swal2-input::placeholder,.swal2-textarea::placeholder{color:#ccc}.swal2-range{margin:1em 2em 3px;background:#fff}.swal2-range input{width:80%}.swal2-range output{width:20%;color:inherit;font-weight:600;text-align:center}.swal2-range input,.swal2-range output{height:2.625em;padding:0;font-size:1.125em;line-height:2.625em}.swal2-input{height:2.625em;padding:0 .75em}.swal2-file{width:75%;margin-right:auto;margin-left:auto;background:inherit;font-size:1.125em}.swal2-textarea{height:6.75em;padding:.75em}.swal2-select{min-width:50%;max-width:100%;padding:.375em .625em;background:inherit;color:inherit;font-size:1.125em}.swal2-checkbox,.swal2-radio{align-items:center;justify-content:center;background:#fff;color:inherit}.swal2-checkbox label,.swal2-radio label{margin:0 .6em;font-size:1.125em}.swal2-checkbox input,.swal2-radio input{flex-shrink:0;margin:0 .4em}.swal2-input-label{display:flex;justify-content:center;margin:1em auto 0}.swal2-validation-message{align-items:center;justify-content:center;margin:1em 0 0;padding:.625em;overflow:hidden;background:#f0f0f0;color:#666;font-size:1em;font-weight:300}.swal2-validation-message::before{content:"!";display:inline-block;width:1.5em;min-width:1.5em;height:1.5em;margin:0 .625em;border-radius:50%;background-color:#f27474;color:#fff;font-weight:600;line-height:1.5em;text-align:center}.swal2-icon{position:relative;box-sizing:content-box;justify-content:center;width:5em;height:5em;margin:2.5em auto .6em;border:.25em solid transparent;border-radius:50%;border-color:#000;font-family:inherit;line-height:5em;cursor:default;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.swal2-icon .swal2-icon-content{display:flex;align-items:center;font-size:3.75em}.swal2-icon.swal2-error{border-color:#f27474;color:#f27474}.swal2-icon.swal2-error .swal2-x-mark{position:relative;flex-grow:1}.swal2-icon.swal2-error [class^=swal2-x-mark-line]{display:block;position:absolute;top:2.3125em;width:2.9375em;height:.3125em;border-radius:.125em;background-color:#f27474}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=left]{left:1.0625em;transform:rotate(45deg)}.swal2-icon.swal2-error [class^=swal2-x-mark-line][class$=right]{right:1em;transform:rotate(-45deg)}.swal2-icon.swal2-error.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-error.swal2-icon-show .swal2-x-mark{-webkit-animation:swal2-animate-error-x-mark .5s;animation:swal2-animate-error-x-mark .5s}.swal2-icon.swal2-warning{border-color:#facea8;color:#f8bb86}.swal2-icon.swal2-warning.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-warning.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .5s;animation:swal2-animate-i-mark .5s}.swal2-icon.swal2-info{border-color:#9de0f6;color:#3fc3ee}.swal2-icon.swal2-info.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-info.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-i-mark .8s;animation:swal2-animate-i-mark .8s}.swal2-icon.swal2-question{border-color:#c9dae1;color:#87adbd}.swal2-icon.swal2-question.swal2-icon-show{-webkit-animation:swal2-animate-error-icon .5s;animation:swal2-animate-error-icon .5s}.swal2-icon.swal2-question.swal2-icon-show .swal2-icon-content{-webkit-animation:swal2-animate-question-mark .8s;animation:swal2-animate-question-mark .8s}.swal2-icon.swal2-success{border-color:#a5dc86;color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-circular-line]{position:absolute;width:3.75em;height:7.5em;transform:rotate(45deg);border-radius:50%}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=left]{top:-.4375em;left:-2.0635em;transform:rotate(-45deg);transform-origin:3.75em 3.75em;border-radius:7.5em 0 0 7.5em}.swal2-icon.swal2-success [class^=swal2-success-circular-line][class$=right]{top:-.6875em;left:1.875em;transform:rotate(-45deg);transform-origin:0 3.75em;border-radius:0 7.5em 7.5em 0}.swal2-icon.swal2-success .swal2-success-ring{position:absolute;z-index:2;top:-.25em;left:-.25em;box-sizing:content-box;width:100%;height:100%;border:.25em solid rgba(165,220,134,.3);border-radius:50%}.swal2-icon.swal2-success .swal2-success-fix{position:absolute;z-index:1;top:.5em;left:1.625em;width:.4375em;height:5.625em;transform:rotate(-45deg)}.swal2-icon.swal2-success [class^=swal2-success-line]{display:block;position:absolute;z-index:2;height:.3125em;border-radius:.125em;background-color:#a5dc86}.swal2-icon.swal2-success [class^=swal2-success-line][class$=tip]{top:2.875em;left:.8125em;width:1.5625em;transform:rotate(45deg)}.swal2-icon.swal2-success [class^=swal2-success-line][class$=long]{top:2.375em;right:.5em;width:2.9375em;transform:rotate(-45deg)}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-tip{-webkit-animation:swal2-animate-success-line-tip .75s;animation:swal2-animate-success-line-tip .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-line-long{-webkit-animation:swal2-animate-success-line-long .75s;animation:swal2-animate-success-line-long .75s}.swal2-icon.swal2-success.swal2-icon-show .swal2-success-circular-line-right{-webkit-animation:swal2-rotate-success-circular-line 4.25s ease-in;animation:swal2-rotate-success-circular-line 4.25s ease-in}.swal2-progress-steps{flex-wrap:wrap;align-items:center;max-width:100%;margin:1.25em auto;padding:0;background:inherit;font-weight:600}.swal2-progress-steps li{display:inline-block;position:relative}.swal2-progress-steps .swal2-progress-step{z-index:20;flex-shrink:0;width:2em;height:2em;border-radius:2em;background:#2778c4;color:#fff;line-height:2em;text-align:center}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step{background:#2778c4}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step{background:#add8e6;color:#fff}.swal2-progress-steps .swal2-progress-step.swal2-active-progress-step~.swal2-progress-step-line{background:#add8e6}.swal2-progress-steps .swal2-progress-step-line{z-index:10;flex-shrink:0;width:2.5em;height:.4em;margin:0 -1px;background:#2778c4}[class^=swal2]{-webkit-tap-highlight-color:transparent}.swal2-show{-webkit-animation:swal2-show .3s;animation:swal2-show .3s}.swal2-hide{-webkit-animation:swal2-hide .15s forwards;animation:swal2-hide .15s forwards}.swal2-noanimation{transition:none}.swal2-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll}.swal2-rtl .swal2-close{margin-right:initial;margin-left:0}.swal2-rtl .swal2-timer-progress-bar{right:0;left:auto}@-webkit-keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@keyframes swal2-toast-show{0%{transform:translateY(-.625em) rotateZ(2deg)}33%{transform:translateY(0) rotateZ(-2deg)}66%{transform:translateY(.3125em) rotateZ(2deg)}100%{transform:translateY(0) rotateZ(0)}}@-webkit-keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@keyframes swal2-toast-hide{100%{transform:rotateZ(1deg);opacity:0}}@-webkit-keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@keyframes swal2-toast-animate-success-line-tip{0%{top:.5625em;left:.0625em;width:0}54%{top:.125em;left:.125em;width:0}70%{top:.625em;left:-.25em;width:1.625em}84%{top:1.0625em;left:.75em;width:.5em}100%{top:1.125em;left:.1875em;width:.75em}}@-webkit-keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@keyframes swal2-toast-animate-success-line-long{0%{top:1.625em;right:1.375em;width:0}65%{top:1.25em;right:.9375em;width:0}84%{top:.9375em;right:0;width:1.125em}100%{top:.9375em;right:.1875em;width:1.375em}}@-webkit-keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@keyframes swal2-show{0%{transform:scale(.7)}45%{transform:scale(1.05)}80%{transform:scale(.95)}100%{transform:scale(1)}}@-webkit-keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@keyframes swal2-hide{0%{transform:scale(1);opacity:1}100%{transform:scale(.5);opacity:0}}@-webkit-keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@keyframes swal2-animate-success-line-tip{0%{top:1.1875em;left:.0625em;width:0}54%{top:1.0625em;left:.125em;width:0}70%{top:2.1875em;left:-.375em;width:3.125em}84%{top:3em;left:1.3125em;width:1.0625em}100%{top:2.8125em;left:.8125em;width:1.5625em}}@-webkit-keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@keyframes swal2-animate-success-line-long{0%{top:3.375em;right:2.875em;width:0}65%{top:3.375em;right:2.875em;width:0}84%{top:2.1875em;right:0;width:3.4375em}100%{top:2.375em;right:.5em;width:2.9375em}}@-webkit-keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@keyframes swal2-rotate-success-circular-line{0%{transform:rotate(-45deg)}5%{transform:rotate(-45deg)}12%{transform:rotate(-405deg)}100%{transform:rotate(-405deg)}}@-webkit-keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@keyframes swal2-animate-error-x-mark{0%{margin-top:1.625em;transform:scale(.4);opacity:0}50%{margin-top:1.625em;transform:scale(.4);opacity:0}80%{margin-top:-.375em;transform:scale(1.15)}100%{margin-top:0;transform:scale(1);opacity:1}}@-webkit-keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-error-icon{0%{transform:rotateX(100deg);opacity:0}100%{transform:rotateX(0);opacity:1}}@-webkit-keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@keyframes swal2-rotate-loading{0%{transform:rotate(0)}100%{transform:rotate(360deg)}}@-webkit-keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@keyframes swal2-animate-question-mark{0%{transform:rotateY(-360deg)}100%{transform:rotateY(0)}}@-webkit-keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}@keyframes swal2-animate-i-mark{0%{transform:rotateZ(45deg);opacity:0}25%{transform:rotateZ(-25deg);opacity:.4}50%{transform:rotateZ(15deg);opacity:.8}75%{transform:rotateZ(-5deg);opacity:1}100%{transform:rotateX(0);opacity:1}}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow:hidden}body.swal2-height-auto{height:auto!important}body.swal2-no-backdrop .swal2-container{background-color:transparent!important;pointer-events:none}body.swal2-no-backdrop .swal2-container .swal2-popup{pointer-events:all}body.swal2-no-backdrop .swal2-container .swal2-modal{box-shadow:0 0 10px rgba(0,0,0,.4)}@media print{body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown){overflow-y:scroll!important}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown)>[aria-hidden=true]{display:none}body.swal2-shown:not(.swal2-no-backdrop):not(.swal2-toast-shown) .swal2-container{position:static!important}}body.swal2-toast-shown .swal2-container{box-sizing:border-box;width:360px;max-width:100%;background-color:transparent;pointer-events:none}body.swal2-toast-shown .swal2-container.swal2-top{top:0;right:auto;bottom:auto;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-top-end,body.swal2-toast-shown .swal2-container.swal2-top-right{top:0;right:0;bottom:auto;left:auto}body.swal2-toast-shown .swal2-container.swal2-top-left,body.swal2-toast-shown .swal2-container.swal2-top-start{top:0;right:auto;bottom:auto;left:0}body.swal2-toast-shown .swal2-container.swal2-center-left,body.swal2-toast-shown .swal2-container.swal2-center-start{top:50%;right:auto;bottom:auto;left:0;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-center{top:50%;right:auto;bottom:auto;left:50%;transform:translate(-50%,-50%)}body.swal2-toast-shown .swal2-container.swal2-center-end,body.swal2-toast-shown .swal2-container.swal2-center-right{top:50%;right:0;bottom:auto;left:auto;transform:translateY(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-left,body.swal2-toast-shown .swal2-container.swal2-bottom-start{top:auto;right:auto;bottom:0;left:0}body.swal2-toast-shown .swal2-container.swal2-bottom{top:auto;right:auto;bottom:0;left:50%;transform:translateX(-50%)}body.swal2-toast-shown .swal2-container.swal2-bottom-end,body.swal2-toast-shown .swal2-container.swal2-bottom-right{top:auto;right:0;bottom:0;left:auto}')},79290:e=>{"use strict";e.exports=RangeError},79538:e=>{"use strict";e.exports=ReferenceError},79612:e=>{"use strict";e.exports=Object},80045:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(98587);function o(e,t){if(null==e)return{};var n,o,a=(0,r.A)(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)n=i[o],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(a[n]=e[n])}return a}},80296:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(27800);function o(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,a,i,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(i=n.return(),Object(i)!==i))return}finally{if(c)throw o}}return s}}(e,t)||(0,r.A)(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}},80507:(e,t,n)=>{"use strict";var r=n(70453),o=n(36556),a=n(58859),i=n(69675),s=r("%Map%",!0),l=o("Map.prototype.get",!0),c=o("Map.prototype.set",!0),u=o("Map.prototype.has",!0),d=o("Map.prototype.delete",!0),p=o("Map.prototype.size",!0);e.exports=!!s&&function(){var e,t={assert:function(e){if(!t.has(e))throw new i("Side channel does not contain "+a(e))},delete:function(t){if(e){var n=d(e,t);return 0===p(e)&&(e=void 0),n}return!1},get:function(t){if(e)return l(e,t)},has:function(t){return!!e&&u(e,t)},set:function(t,n){e||(e=new s),c(e,t,n)}};return t}},80811:(e,t,n)=>{"use strict";n(51609)},82284:(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)}n.d(t,{A:()=>r})},82840:(e,t,n)=>{"use strict";var r,o=n(58168);!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(r||(r={}));var a="beforeunload";function i(e){e.preventDefault(),e.returnValue=""}function s(){var e=[];return{get length(){return e.length},push:function(t){return e.push(t),function(){e=e.filter((function(e){return e!==t}))}},call:function(t){e.forEach((function(e){return e&&e(t)}))}}}var l=n(55373);let c;n(93832),function(){if(!c){const e=document.location.pathname,t=function(e){void 0===e&&(e={});var t=e.window,n=void 0===t?document.defaultView:t,l=n.history;function c(){var e=n.location,t=e.pathname,r=e.search,o=e.hash,a=l.state||{};return[a.idx,{pathname:t,search:r,hash:o,state:a.usr||null,key:a.key||"default"}]}var u=null;n.addEventListener("popstate",(function(){if(u)g.call(u),u=null;else{var e=r.Pop,t=c(),n=t[0],o=t[1];if(g.length){if(null!=n){var a=f-n;a&&(u={action:e,location:o,retry:function(){x(-1*a)}},x(a))}}else E(e)}}));var d=r.Pop,p=c(),f=p[0],m=p[1],h=s(),g=s();function b(e){return"string"==typeof e?e:(n=(t=e).pathname,r=void 0===n?"/":n,o=t.search,a=void 0===o?"":o,i=t.hash,s=void 0===i?"":i,a&&"?"!==a&&(r+="?"===a.charAt(0)?a:"?"+a),s&&"#"!==s&&(r+="#"===s.charAt(0)?s:"#"+s),r);var t,n,r,o,a,i,s}function v(e,t){return void 0===t&&(t=null),(0,o.A)({pathname:m.pathname,hash:"",search:""},"string"==typeof e?function(e){var t={};if(e){var n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));var r=e.indexOf("?");r>=0&&(t.search=e.substr(r),e=e.substr(0,r)),e&&(t.pathname=e)}return t}(e):e,{state:t,key:Math.random().toString(36).substr(2,8)})}function y(e,t){return[{usr:e.state,key:e.key,idx:t},b(e)]}function w(e,t,n){return!g.length||(g.call({action:e,location:t,retry:n}),!1)}function E(e){d=e;var t=c();f=t[0],m=t[1],h.call({action:d,location:m})}function x(e){l.go(e)}return null==f&&(f=0,l.replaceState((0,o.A)({},l.state,{idx:f}),"")),{get action(){return d},get location(){return m},createHref:b,push:function e(t,o){var a=r.Push,i=v(t,o);if(w(a,i,(function(){e(t,o)}))){var s=y(i,f+1),c=s[0],u=s[1];try{l.pushState(c,"",u)}catch(e){n.location.assign(u)}E(a)}},replace:function e(t,n){var o=r.Replace,a=v(t,n);if(w(o,a,(function(){e(t,n)}))){var i=y(a,f),s=i[0],c=i[1];l.replaceState(s,"",c),E(o)}},go:x,back:function(){x(-1)},forward:function(){x(1)},listen:function(e){return h.push(e)},block:function(e){var t=g.push(e);return 1===g.length&&n.addEventListener(a,i),function(){t(),g.length||n.removeEventListener(a,i)}}}}({basename:e.substring(0,e.lastIndexOf("/"))});c={get length(){return t.length},get action(){return t.action},get location(){const{location:n}=t;let r=(0,l.parse)(n.search.substring(1)).page||"/";return r.startsWith("/")||(r="/"+r),{...n,actualPathname:e,pathname:r}},get pathname(){return this.location.pathname.substring(1)},createHref:(...e)=>t.createHref.apply(t,e),push:(...e)=>t.push.apply(t,e),replace:(...e)=>t.replace.apply(t,e),go:(...e)=>t.go.apply(t,e),goBack:(...e)=>t.goBack.apply(t,e),goForward:(...e)=>t.goForward.apply(t,e),block:(...e)=>t.block.apply(t,e),listen(e){return t.listen((()=>{e(this.location,this.action)}))}}}}()},84470:(e,t,n)=>{"use strict";n(51609)},85072:(e,t,n)=>{"use strict";n(51609)},85368:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(51609),o=n(43223);const a=({error:e})=>e&&e.length&&(0,r.createElement)("p",{className:"bd-error-message"},(0,o.D4)(e))||""},85501:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(63662);function o(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&(0,r.A)(e,t)}},86087:e=>{"use strict";e.exports=window.wp.element},88814:(e,t,n)=>{"use strict";n(51609)},89353:e=>{"use strict";var t=Object.prototype.toString,n=Math.max,r=function(e,t){for(var n=[],r=0;r<e.length;r+=1)n[r]=e[r];for(var o=0;o<t.length;o+=1)n[o+e.length]=t[o];return n};e.exports=function(e){var o=this;if("function"!=typeof o||"[object Function]"!==t.apply(o))throw new TypeError("Function.prototype.bind called on incompatible "+o);for(var a,i=function(e){for(var t=[],n=1,r=0;n<e.length;n+=1,r+=1)t[r]=e[n];return t}(arguments),s=n(0,o.length-i.length),l=[],c=0;c<s;c++)l[c]="$"+c;if(a=Function("binder","return function ("+function(e){for(var t="",n=0;n<e.length;n+=1)t+=e[n],n+1<e.length&&(t+=",");return t}(l)+"){ return binder.apply(this,arguments); }")((function(){if(this instanceof a){var t=o.apply(this,r(i,arguments));return Object(t)===t?t:this}return o.apply(e,r(i,arguments))})),o.prototype){var u=function(){};u.prototype=o.prototype,a.prototype=new u,u.prototype=null}return a}},89379:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(64467);function o(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function a(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?o(Object(n),!0).forEach((function(t){(0,r.A)(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):o(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}},91468:(e,t,n)=>{"use strict";n(51609)},91931:(e,t,n)=>{"use strict";n.d(t,{k:()=>o});var r=n(12295);class o{destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),(0,r.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout((()=>{this.optionalRemove()}),this.cacheTime))}updateCacheTime(e){this.cacheTime=Math.max(this.cacheTime||0,null!=e?e:r.S$?1/0:3e5)}clearGcTimeout(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)}}},92901:(e,t,n)=>{"use strict";n.d(t,{A:()=>a});var r=n(20816);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,(0,r.A)(o.key),o)}}function a(e,t,n){return t&&o(e.prototype,t),n&&o(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}},93628:(e,t,n)=>{"use strict";var r=n(48648),o=n(71064),a=n(7176);e.exports=r?function(e){return r(e)}:o?function(e){if(!e||"object"!=typeof e&&"function"!=typeof e)throw new TypeError("getProto: not an object");return o(e)}:a?function(e){return a(e)}:null},93832:e=>{"use strict";e.exports=window.wp.url},94255:(e,t,n)=>{"use strict";n.d(t,{II:()=>u,v_:()=>s,wm:()=>c});var r=n(62517),o=n(43626),a=n(12295);function i(e){return Math.min(1e3*2**e,3e4)}function s(e){return"online"!==(null!=e?e:"online")||o.t.isOnline()}class l{constructor(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent}}function c(e){return e instanceof l}function u(e){let t,n,c,u=!1,d=0,p=!1;const f=new Promise(((e,t)=>{n=e,c=t})),m=()=>!r.m.isFocused()||"always"!==e.networkMode&&!o.t.isOnline(),h=r=>{p||(p=!0,null==e.onSuccess||e.onSuccess(r),null==t||t(),n(r))},g=n=>{p||(p=!0,null==e.onError||e.onError(n),null==t||t(),c(n))},b=()=>new Promise((n=>{t=e=>{const t=p||!m();return t&&n(e),t},null==e.onPause||e.onPause()})).then((()=>{t=void 0,p||null==e.onContinue||e.onContinue()})),v=()=>{if(p)return;let t;try{t=e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(h).catch((t=>{var n,r;if(p)return;const o=null!=(n=e.retry)?n:3,s=null!=(r=e.retryDelay)?r:i,l="function"==typeof s?s(d,t):s,c=!0===o||"number"==typeof o&&d<o||"function"==typeof o&&o(d,t);!u&&c?(d++,null==e.onFail||e.onFail(d,t),(0,a.yy)(l).then((()=>{if(m())return b()})).then((()=>{u?g(t):v()}))):g(t)}))};return s(e.networkMode)?v():b().then(v),{promise:f,cancel:t=>{p||(g(new l(t)),null==e.abort||e.abort())},continue:()=>(null==t?void 0:t())?f:Promise.resolve(),cancelRetry:()=>{u=!0},continueRetry:()=>{u=!1}}}},94323:(e,t,n)=>{"use strict";n.d(t,{Q:()=>r});class r{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){const t={listener:e};return this.listeners.add(t),this.onSubscribe(),()=>{this.listeners.delete(t),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}}},94459:e=>{"use strict";e.exports=Number.isNaN||function(e){return e!=e}},94510:(e,t,n)=>{"use strict";n(51609)},94985:(e,t,n)=>{"use strict";n.d(t,{q:()=>r});const r=(e,t)=>{const n={};for(const r in t)if(t.hasOwnProperty(r)){const o=t[r];let a="";if(e.hasOwnProperty(r)&&(a="object"!=typeof e[r]?e[r]:e[r].value),o.hasOwnProperty("required")){let e=!0;if("boolean"==typeof a&&(a||(e=!1)),a.length||(e=!1),!e){"object"!=typeof o.required?n[r]=`${ucFirst(r)} is required`:n[r]=o.required.message;continue}}if(o.hasOwnProperty("email")&&(new RegExp(/(?:[a-z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-z0-9!#$%&'*+/=?^_`{|}~-]+)*|"(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21\x23-\x5b\x5d-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])*")@(?:(?:[a-z0-9](?:[a-z0-9-]*[a-z0-9])?\.)+[a-z0-9](?:[a-z0-9-]*[a-z0-9])?|\[(?:(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)\.){3}(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?|[a-z0-9-]*[a-z0-9]:(?:[\x01-\x08\x0b\x0c\x0e-\x1f\x21-\x5a\x53-\x7f]|\\[\x01-\x09\x0b\x0c\x0e-\x7f])+)\])/).test(e[r])||("object"!=typeof o.email?n[r]=`${ucFirst(r)} must be a valid email`:n[r]=o.email.message)),o.hasOwnProperty("username")&&(new RegExp(/^\S+$/).test(e[r])||("object"!=typeof o.username?n[r]=`${ucFirst(r)} must be a valid username`:n[r]=o.username.message)),o.hasOwnProperty("minLength")){let e=a;o.minLength.stripHtml&&"string"==typeof e&&(e=e.replace(/<[^>]*>/g,"").replace(/ | /gi," ").replace(/\s+/g," ").trim()),(e?e.length:0)<o.minLength.value&&("object"!=typeof o.minLength?n[r]=`The length of ${ucFirst(r)} must be more ${o.minLength.value} character`:n[r]=o.minLength.message)}if(o.hasOwnProperty("maxLength")&&e[r].length>o.maxLength.value&&("object"!=typeof o.maxLength?n[r]=`The length of ${ucFirst(r)} must be under ${o.maxLength.value} character`:n[r]=o.maxLength.message),o.hasOwnProperty("match")){const t="object"!=typeof o.match?o.match:o.match.value,a=e[t];a&&a!==e[r]&&("object"!=typeof o.match?n[r]=`The ${ucFirst(r)} must match with ${ucFirst(t)}`:n[r]=o.match.message)}}return Object.keys(n).length?{valid:!1,errors:n}:{valid:!0,errors:void 0}}},95738:(e,t,n)=>{"use strict";n.d(t,{A:()=>o});var r=n(51609);const o=e=>(0,r.createElement)("svg",{xmlns:"http://www.w3.org/2000/svg",width:20,height:20,fill:"none",...e},(0,r.createElement)("path",{fill:"#fff",d:"M9.168 9.168v-5h1.667v5h5v1.667h-5v5H9.168v-5h-5V9.168h5Z"}))},97502:(e,t,n)=>{"use strict";function r(){return{onFetch:e=>{e.fetchFn=()=>{var t,n,r,a,i,s;const l=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,c=null==(r=e.fetchOptions)||null==(a=r.meta)?void 0:a.fetchMore,u=null==c?void 0:c.pageParam,d="forward"===(null==c?void 0:c.direction),p="backward"===(null==c?void 0:c.direction),f=(null==(i=e.state.data)?void 0:i.pages)||[],m=(null==(s=e.state.data)?void 0:s.pageParams)||[];let h=m,g=!1;const b=e.options.queryFn||(()=>Promise.reject("Missing queryFn for queryKey '"+e.options.queryHash+"'")),v=(e,t,n,r)=>(h=r?[t,...h]:[...h,t],r?[n,...e]:[...e,n]),y=(t,n,r,o)=>{if(g)return Promise.reject("Cancelled");if(void 0===r&&!n&&t.length)return Promise.resolve(t);const a={queryKey:e.queryKey,pageParam:r,meta:e.options.meta};var i;i=a,Object.defineProperty(i,"signal",{enumerable:!0,get:()=>{var t,n;return null!=(t=e.signal)&&t.aborted?g=!0:null==(n=e.signal)||n.addEventListener("abort",(()=>{g=!0})),e.signal}});const s=b(a);return Promise.resolve(s).then((e=>v(t,r,e,o)))};let w;if(f.length)if(d){const t=void 0!==u,n=t?u:o(e.options,f);w=y(f,t,n)}else if(p){const t=void 0!==u,n=t?u:(E=e.options,x=f,null==E.getPreviousPageParam?void 0:E.getPreviousPageParam(x[0],x));w=y(f,t,n,!0)}else{h=[];const t=void 0===e.options.getNextPageParam;w=l&&f[0]&&!l(f[0],0,f)?Promise.resolve(v([],m[0],f[0])):y([],t,m[0]);for(let n=1;n<f.length;n++)w=w.then((r=>{if(!l||!f[n]||l(f[n],n,f)){const a=t?m[n]:o(e.options,r);return y(r,t,a)}return Promise.resolve(v(r,m[n],f[n]))}))}else w=y([]);var E,x;return w.then((e=>({pages:e,pageParams:h})))}}}}function o(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}n.d(t,{PL:()=>r})},98176:(e,t,n)=>{"use strict";var r=n(6549);if(r)try{r([],"length")}catch(e){r=null}e.exports=r},98587:(e,t,n)=>{"use strict";function r(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}n.d(t,{A:()=>r})},98636:(e,t,n)=>{"use strict";var r=n(920),o=n(37720),a=n(74765),i=Object.prototype.hasOwnProperty,s={brackets:function(e){return e+"[]"},comma:"comma",indices:function(e,t){return e+"["+t+"]"},repeat:function(e){return e}},l=Array.isArray,c=Array.prototype.push,u=function(e,t){c.apply(e,l(t)?t:[t])},d=Date.prototype.toISOString,p=a.default,f={addQueryPrefix:!1,allowDots:!1,allowEmptyArrays:!1,arrayFormat:"indices",charset:"utf-8",charsetSentinel:!1,commaRoundTrip:!1,delimiter:"&",encode:!0,encodeDotInKeys:!1,encoder:o.encode,encodeValuesOnly:!1,filter:void 0,format:p,formatter:a.formatters[p],indices:!1,serializeDate:function(e){return d.call(e)},skipNulls:!1,strictNullHandling:!1},m={},h=function e(t,n,a,i,s,c,d,p,h,g,b,v,y,w,E,x,C,A){for(var S,O=t,I=A,q=0,D=!1;void 0!==(I=I.get(m))&&!D;){var P=I.get(t);if(q+=1,void 0!==P){if(P===q)throw new RangeError("Cyclic object value");D=!0}void 0===I.get(m)&&(q=0)}if("function"==typeof g?O=g(n,O):O instanceof Date?O=y(O):"comma"===a&&l(O)&&(O=o.maybeMap(O,(function(e){return e instanceof Date?y(e):e}))),null===O){if(c)return h&&!x?h(n,f.encoder,C,"key",w):n;O=""}if("string"==typeof(S=O)||"number"==typeof S||"boolean"==typeof S||"symbol"==typeof S||"bigint"==typeof S||o.isBuffer(O))return h?[E(x?n:h(n,f.encoder,C,"key",w))+"="+E(h(O,f.encoder,C,"value",w))]:[E(n)+"="+E(String(O))];var k,_=[];if(void 0===O)return _;if("comma"===a&&l(O))x&&h&&(O=o.maybeMap(O,h)),k=[{value:O.length>0?O.join(",")||null:void 0}];else if(l(g))k=g;else{var R=Object.keys(O);k=b?R.sort(b):R}var F=p?String(n).replace(/\./g,"%2E"):String(n),N=i&&l(O)&&1===O.length?F+"[]":F;if(s&&l(O)&&0===O.length)return N+"[]";for(var T=0;T<k.length;++T){var L=k[T],M="object"==typeof L&&L&&void 0!==L.value?L.value:O[L];if(!d||null!==M){var B=v&&p?String(L).replace(/\./g,"%2E"):String(L),j=l(O)?"function"==typeof a?a(N,B):N:N+(v?"."+B:"["+B+"]");A.set(t,q);var U=r();U.set(m,A),u(_,e(M,j,a,i,s,c,d,p,"comma"===a&&x&&l(O)?null:h,g,b,v,y,w,E,x,C,U))}}return _};e.exports=function(e,t){var n,o=e,c=function(e){if(!e)return f;if(void 0!==e.allowEmptyArrays&&"boolean"!=typeof e.allowEmptyArrays)throw new TypeError("`allowEmptyArrays` option can only be `true` or `false`, when provided");if(void 0!==e.encodeDotInKeys&&"boolean"!=typeof e.encodeDotInKeys)throw new TypeError("`encodeDotInKeys` option can only be `true` or `false`, when provided");if(null!==e.encoder&&void 0!==e.encoder&&"function"!=typeof e.encoder)throw new TypeError("Encoder has to be a function.");var t=e.charset||f.charset;if(void 0!==e.charset&&"utf-8"!==e.charset&&"iso-8859-1"!==e.charset)throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");var n=a.default;if(void 0!==e.format){if(!i.call(a.formatters,e.format))throw new TypeError("Unknown format option provided.");n=e.format}var r,o=a.formatters[n],c=f.filter;if(("function"==typeof e.filter||l(e.filter))&&(c=e.filter),r=e.arrayFormat in s?e.arrayFormat:"indices"in e?e.indices?"indices":"repeat":f.arrayFormat,"commaRoundTrip"in e&&"boolean"!=typeof e.commaRoundTrip)throw new TypeError("`commaRoundTrip` must be a boolean, or absent");var u=void 0===e.allowDots?!0===e.encodeDotInKeys||f.allowDots:!!e.allowDots;return{addQueryPrefix:"boolean"==typeof e.addQueryPrefix?e.addQueryPrefix:f.addQueryPrefix,allowDots:u,allowEmptyArrays:"boolean"==typeof e.allowEmptyArrays?!!e.allowEmptyArrays:f.allowEmptyArrays,arrayFormat:r,charset:t,charsetSentinel:"boolean"==typeof e.charsetSentinel?e.charsetSentinel:f.charsetSentinel,commaRoundTrip:!!e.commaRoundTrip,delimiter:void 0===e.delimiter?f.delimiter:e.delimiter,encode:"boolean"==typeof e.encode?e.encode:f.encode,encodeDotInKeys:"boolean"==typeof e.encodeDotInKeys?e.encodeDotInKeys:f.encodeDotInKeys,encoder:"function"==typeof e.encoder?e.encoder:f.encoder,encodeValuesOnly:"boolean"==typeof e.encodeValuesOnly?e.encodeValuesOnly:f.encodeValuesOnly,filter:c,format:n,formatter:o,serializeDate:"function"==typeof e.serializeDate?e.serializeDate:f.serializeDate,skipNulls:"boolean"==typeof e.skipNulls?e.skipNulls:f.skipNulls,sort:"function"==typeof e.sort?e.sort:null,strictNullHandling:"boolean"==typeof e.strictNullHandling?e.strictNullHandling:f.strictNullHandling}}(t);"function"==typeof c.filter?o=(0,c.filter)("",o):l(c.filter)&&(n=c.filter);var d=[];if("object"!=typeof o||null===o)return"";var p=s[c.arrayFormat],m="comma"===p&&c.commaRoundTrip;n||(n=Object.keys(o)),c.sort&&n.sort(c.sort);for(var g=r(),b=0;b<n.length;++b){var v=n[b],y=o[v];c.skipNulls&&null===y||u(d,h(y,v,p,m,c.allowEmptyArrays,c.strictNullHandling,c.skipNulls,c.encodeDotInKeys,c.encode?c.encoder:null,c.filter,c.sort,c.allowDots,c.serializeDate,c.format,c.formatter,c.encodeValuesOnly,c.charset,g))}var w=d.join(c.delimiter),E=!0===c.addQueryPrefix?"?":"";return c.charsetSentinel&&("iso-8859-1"===c.charset?E+="utf8=%26%2310003%3B&":E+="utf8=%E2%9C%93&"),w.length>0?E+w:""}},99571:(e,t,n)=>{"use strict";n.d(t,{oR:()=>F});var r=n(51609),o=n(64976);const a=e=>"number"==typeof e&&!isNaN(e),i=e=>"string"==typeof e,s=e=>"function"==typeof e,l=e=>i(e)||s(e)?e:null,c=e=>(0,r.isValidElement)(e)||i(e)||s(e)||a(e);function u(e){let{enter:t,exit:n,appendPosition:o=!1,collapse:a=!0,collapseDuration:i=300}=e;return function(e){let{children:s,position:l,preventExitTransition:c,done:u,nodeRef:d,isIn:p}=e;const f=o?`${t}--${l}`:t,m=o?`${n}--${l}`:n,h=(0,r.useRef)(0);return(0,r.useLayoutEffect)((()=>{const e=d.current,t=f.split(" "),n=r=>{r.target===d.current&&(e.dispatchEvent(new Event("d")),e.removeEventListener("animationend",n),e.removeEventListener("animationcancel",n),0===h.current&&"animationcancel"!==r.type&&e.classList.remove(...t))};e.classList.add(...t),e.addEventListener("animationend",n),e.addEventListener("animationcancel",n)}),[]),(0,r.useEffect)((()=>{const e=d.current,t=()=>{e.removeEventListener("animationend",t),a?function(e,t,n){void 0===n&&(n=300);const{scrollHeight:r,style:o}=e;requestAnimationFrame((()=>{o.minHeight="initial",o.height=r+"px",o.transition=`all ${n}ms`,requestAnimationFrame((()=>{o.height="0",o.padding="0",o.margin="0",setTimeout(t,n)}))}))}(e,u,i):u()};p||(c?t():(h.current=1,e.className+=` ${m}`,e.addEventListener("animationend",t)))}),[p]),r.createElement(r.Fragment,null,s)}}function d(e,t){return null!=e?{content:e.content,containerId:e.props.containerId,id:e.props.toastId,theme:e.props.theme,type:e.props.type,data:e.props.data||{},isLoading:e.props.isLoading,icon:e.props.icon,status:t}:{}}const p={list:new Map,emitQueue:new Map,on(e,t){return this.list.has(e)||this.list.set(e,[]),this.list.get(e).push(t),this},off(e,t){if(t){const n=this.list.get(e).filter((e=>e!==t));return this.list.set(e,n),this}return this.list.delete(e),this},cancelEmit(e){const t=this.emitQueue.get(e);return t&&(t.forEach(clearTimeout),this.emitQueue.delete(e)),this},emit(e){this.list.has(e)&&this.list.get(e).forEach((t=>{const n=setTimeout((()=>{t(...[].slice.call(arguments,1))}),0);this.emitQueue.has(e)||this.emitQueue.set(e,[]),this.emitQueue.get(e).push(n)}))}},f=e=>{let{theme:t,type:n,...o}=e;return r.createElement("svg",{viewBox:"0 0 24 24",width:"100%",height:"100%",fill:"colored"===t?"currentColor":`var(--toastify-icon-color-${n})`,...o})},m={info:function(e){return r.createElement(f,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.013 12.013 0 0012 0zm.25 5a1.5 1.5 0 11-1.5 1.5 1.5 1.5 0 011.5-1.5zm2.25 13.5h-4a1 1 0 010-2h.75a.25.25 0 00.25-.25v-4.5a.25.25 0 00-.25-.25h-.75a1 1 0 010-2h1a2 2 0 012 2v4.75a.25.25 0 00.25.25h.75a1 1 0 110 2z"}))},warning:function(e){return r.createElement(f,{...e},r.createElement("path",{d:"M23.32 17.191L15.438 2.184C14.728.833 13.416 0 11.996 0c-1.42 0-2.733.833-3.443 2.184L.533 17.448a4.744 4.744 0 000 4.368C1.243 23.167 2.555 24 3.975 24h16.05C22.22 24 24 22.044 24 19.632c0-.904-.251-1.746-.68-2.44zm-9.622 1.46c0 1.033-.724 1.823-1.698 1.823s-1.698-.79-1.698-1.822v-.043c0-1.028.724-1.822 1.698-1.822s1.698.79 1.698 1.822v.043zm.039-12.285l-.84 8.06c-.057.581-.408.943-.897.943-.49 0-.84-.367-.896-.942l-.84-8.065c-.057-.624.25-1.095.779-1.095h1.91c.528.005.84.476.784 1.1z"}))},success:function(e){return r.createElement(f,{...e},r.createElement("path",{d:"M12 0a12 12 0 1012 12A12.014 12.014 0 0012 0zm6.927 8.2l-6.845 9.289a1.011 1.011 0 01-1.43.188l-4.888-3.908a1 1 0 111.25-1.562l4.076 3.261 6.227-8.451a1 1 0 111.61 1.183z"}))},error:function(e){return r.createElement(f,{...e},r.createElement("path",{d:"M11.983 0a12.206 12.206 0 00-8.51 3.653A11.8 11.8 0 000 12.207 11.779 11.779 0 0011.8 24h.214A12.111 12.111 0 0024 11.791 11.766 11.766 0 0011.983 0zM10.5 16.542a1.476 1.476 0 011.449-1.53h.027a1.527 1.527 0 011.523 1.47 1.475 1.475 0 01-1.449 1.53h-.027a1.529 1.529 0 01-1.523-1.47zM11 12.5v-6a1 1 0 012 0v6a1 1 0 11-2 0z"}))},spinner:function(){return r.createElement("div",{className:"Toastify__spinner"})}};function h(e){const[,t]=(0,r.useReducer)((e=>e+1),0),[n,o]=(0,r.useState)([]),u=(0,r.useRef)(null),f=(0,r.useRef)(new Map).current,h=e=>-1!==n.indexOf(e),g=(0,r.useRef)({toastKey:1,displayedToast:0,count:0,queue:[],props:e,containerId:null,isToastActive:h,getToast:e=>f.get(e)}).current;function b(e){let{containerId:t}=e;const{limit:n}=g.props;!n||t&&g.containerId!==t||(g.count-=g.queue.length,g.queue=[])}function v(e){o((t=>null==e?[]:t.filter((t=>t!==e))))}function y(){const{toastContent:e,toastProps:t,staleId:n}=g.queue.shift();E(e,t,n)}function w(e,n){let{delay:o,staleId:h,...b}=n;if(!c(e)||function(e){return!u.current||g.props.enableMultiContainer&&e.containerId!==g.props.containerId||f.has(e.toastId)&&null==e.updateId}(b))return;const{toastId:w,updateId:x,data:C}=b,{props:A}=g,S=()=>v(w),O=null==x;O&&g.count++;const I={...A,style:A.toastStyle,key:g.toastKey++,...Object.fromEntries(Object.entries(b).filter((e=>{let[t,n]=e;return null!=n}))),toastId:w,updateId:x,data:C,closeToast:S,isIn:!1,className:l(b.className||A.toastClassName),bodyClassName:l(b.bodyClassName||A.bodyClassName),progressClassName:l(b.progressClassName||A.progressClassName),autoClose:!b.isLoading&&(q=b.autoClose,D=A.autoClose,!1===q||a(q)&&q>0?q:D),deleteToast(){const e=d(f.get(w),"removed");f.delete(w),p.emit(4,e);const n=g.queue.length;if(g.count=null==w?g.count-g.displayedToast:g.count-1,g.count<0&&(g.count=0),n>0){const e=null==w?g.props.limit:1;if(1===n||1===e)g.displayedToast++,y();else{const t=e>n?n:e;g.displayedToast=t;for(let e=0;e<t;e++)y()}}else t()}};var q,D;I.iconOut=function(e){let{theme:t,type:n,isLoading:o,icon:l}=e,c=null;const u={theme:t,type:n};return!1===l||(s(l)?c=l(u):(0,r.isValidElement)(l)?c=(0,r.cloneElement)(l,u):i(l)||a(l)?c=l:o?c=m.spinner():(e=>e in m)(n)&&(c=m[n](u))),c}(I),s(b.onOpen)&&(I.onOpen=b.onOpen),s(b.onClose)&&(I.onClose=b.onClose),I.closeButton=A.closeButton,!1===b.closeButton||c(b.closeButton)?I.closeButton=b.closeButton:!0===b.closeButton&&(I.closeButton=!c(A.closeButton)||A.closeButton);let P=e;(0,r.isValidElement)(e)&&!i(e.type)?P=(0,r.cloneElement)(e,{closeToast:S,toastProps:I,data:C}):s(e)&&(P=e({closeToast:S,toastProps:I,data:C})),A.limit&&A.limit>0&&g.count>A.limit&&O?g.queue.push({toastContent:P,toastProps:I,staleId:h}):a(o)?setTimeout((()=>{E(P,I,h)}),o):E(P,I,h)}function E(e,t,n){const{toastId:r}=t;n&&f.delete(n);const a={content:e,props:t};f.set(r,a),o((e=>[...e,r].filter((e=>e!==n)))),p.emit(4,d(a,null==a.props.updateId?"added":"updated"))}return(0,r.useEffect)((()=>(g.containerId=e.containerId,p.cancelEmit(3).on(0,w).on(1,(e=>u.current&&v(e))).on(5,b).emit(2,g),()=>{f.clear(),p.emit(3,g)})),[]),(0,r.useEffect)((()=>{g.props=e,g.isToastActive=h,g.displayedToast=n.length})),{getToastToRender:function(t){const n=new Map,r=Array.from(f.values());return e.newestOnTop&&r.reverse(),r.forEach((e=>{const{position:t}=e.props;n.has(t)||n.set(t,[]),n.get(t).push(e)})),Array.from(n,(e=>t(e[0],e[1])))},containerRef:u,isToastActive:h}}function g(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientX:e.clientX}function b(e){return e.targetTouches&&e.targetTouches.length>=1?e.targetTouches[0].clientY:e.clientY}function v(e){const[t,n]=(0,r.useState)(!1),[o,a]=(0,r.useState)(!1),i=(0,r.useRef)(null),l=(0,r.useRef)({start:0,x:0,y:0,delta:0,removalDistance:0,canCloseOnClick:!0,canDrag:!1,boundingRect:null,didMove:!1}).current,c=(0,r.useRef)(e),{autoClose:u,pauseOnHover:d,closeToast:p,onClick:f,closeOnClick:m}=e;function h(t){if(e.draggable){"touchstart"===t.nativeEvent.type&&t.nativeEvent.preventDefault(),l.didMove=!1,document.addEventListener("mousemove",E),document.addEventListener("mouseup",x),document.addEventListener("touchmove",E),document.addEventListener("touchend",x);const n=i.current;l.canCloseOnClick=!0,l.canDrag=!0,l.boundingRect=n.getBoundingClientRect(),n.style.transition="",l.x=g(t.nativeEvent),l.y=b(t.nativeEvent),"x"===e.draggableDirection?(l.start=l.x,l.removalDistance=n.offsetWidth*(e.draggablePercent/100)):(l.start=l.y,l.removalDistance=n.offsetHeight*(80===e.draggablePercent?1.5*e.draggablePercent:e.draggablePercent/100))}}function v(t){if(l.boundingRect){const{top:n,bottom:r,left:o,right:a}=l.boundingRect;"touchend"!==t.nativeEvent.type&&e.pauseOnHover&&l.x>=o&&l.x<=a&&l.y>=n&&l.y<=r?w():y()}}function y(){n(!0)}function w(){n(!1)}function E(n){const r=i.current;l.canDrag&&r&&(l.didMove=!0,t&&w(),l.x=g(n),l.y=b(n),l.delta="x"===e.draggableDirection?l.x-l.start:l.y-l.start,l.start!==l.x&&(l.canCloseOnClick=!1),r.style.transform=`translate${e.draggableDirection}(${l.delta}px)`,r.style.opacity=""+(1-Math.abs(l.delta/l.removalDistance)))}function x(){document.removeEventListener("mousemove",E),document.removeEventListener("mouseup",x),document.removeEventListener("touchmove",E),document.removeEventListener("touchend",x);const t=i.current;if(l.canDrag&&l.didMove&&t){if(l.canDrag=!1,Math.abs(l.delta)>l.removalDistance)return a(!0),void e.closeToast();t.style.transition="transform 0.2s, opacity 0.2s",t.style.transform=`translate${e.draggableDirection}(0)`,t.style.opacity="1"}}(0,r.useEffect)((()=>{c.current=e})),(0,r.useEffect)((()=>(i.current&&i.current.addEventListener("d",y,{once:!0}),s(e.onOpen)&&e.onOpen((0,r.isValidElement)(e.children)&&e.children.props),()=>{const e=c.current;s(e.onClose)&&e.onClose((0,r.isValidElement)(e.children)&&e.children.props)})),[]),(0,r.useEffect)((()=>(e.pauseOnFocusLoss&&(document.hasFocus()||w(),window.addEventListener("focus",y),window.addEventListener("blur",w)),()=>{e.pauseOnFocusLoss&&(window.removeEventListener("focus",y),window.removeEventListener("blur",w))})),[e.pauseOnFocusLoss]);const C={onMouseDown:h,onTouchStart:h,onMouseUp:v,onTouchEnd:v};return u&&d&&(C.onMouseEnter=w,C.onMouseLeave=y),m&&(C.onClick=e=>{f&&f(e),l.canCloseOnClick&&p()}),{playToast:y,pauseToast:w,isRunning:t,preventExitTransition:o,toastRef:i,eventHandlers:C}}function y(e){let{closeToast:t,theme:n,ariaLabel:o="close"}=e;return r.createElement("button",{className:`Toastify__close-button Toastify__close-button--${n}`,type:"button",onClick:e=>{e.stopPropagation(),t(e)},"aria-label":o},r.createElement("svg",{"aria-hidden":"true",viewBox:"0 0 14 16"},r.createElement("path",{fillRule:"evenodd",d:"M7.71 8.23l3.75 3.75-1.48 1.48-3.75-3.75-3.75 3.75L1 11.98l3.75-3.75L1 4.48 2.48 3l3.75 3.75L9.98 3l1.48 1.48-3.75 3.75z"})))}function w(e){let{delay:t,isRunning:n,closeToast:a,type:i="default",hide:l,className:c,style:u,controlledProgress:d,progress:p,rtl:f,isIn:m,theme:h}=e;const g=l||d&&0===p,b={...u,animationDuration:`${t}ms`,animationPlayState:n?"running":"paused",opacity:g?0:1};d&&(b.transform=`scaleX(${p})`);const v=(0,o.A)("Toastify__progress-bar",d?"Toastify__progress-bar--controlled":"Toastify__progress-bar--animated",`Toastify__progress-bar-theme--${h}`,`Toastify__progress-bar--${i}`,{"Toastify__progress-bar--rtl":f}),y=s(c)?c({rtl:f,type:i,defaultClassName:v}):(0,o.A)(v,c);return r.createElement("div",{role:"progressbar","aria-hidden":g?"true":"false","aria-label":"notification timer",className:y,style:b,[d&&p>=1?"onTransitionEnd":"onAnimationEnd"]:d&&p<1?null:()=>{m&&a()}})}const E=e=>{const{isRunning:t,preventExitTransition:n,toastRef:a,eventHandlers:i}=v(e),{closeButton:l,children:c,autoClose:u,onClick:d,type:p,hideProgressBar:f,closeToast:m,transition:h,position:g,className:b,style:E,bodyClassName:x,bodyStyle:C,progressClassName:A,progressStyle:S,updateId:O,role:I,progress:q,rtl:D,toastId:P,deleteToast:k,isIn:_,isLoading:R,iconOut:F,closeOnClick:N,theme:T}=e,L=(0,o.A)("Toastify__toast",`Toastify__toast-theme--${T}`,`Toastify__toast--${p}`,{"Toastify__toast--rtl":D},{"Toastify__toast--close-on-click":N}),M=s(b)?b({rtl:D,position:g,type:p,defaultClassName:L}):(0,o.A)(L,b),B=!!q||!u,j={closeToast:m,type:p,theme:T};let U=null;return!1===l||(U=s(l)?l(j):(0,r.isValidElement)(l)?(0,r.cloneElement)(l,j):y(j)),r.createElement(h,{isIn:_,done:k,position:g,preventExitTransition:n,nodeRef:a},r.createElement("div",{id:P,onClick:d,className:M,...i,style:E,ref:a},r.createElement("div",{..._&&{role:I},className:s(x)?x({type:p}):(0,o.A)("Toastify__toast-body",x),style:C},null!=F&&r.createElement("div",{className:(0,o.A)("Toastify__toast-icon",{"Toastify--animate-icon Toastify__zoom-enter":!R})},F),r.createElement("div",null,c)),U,r.createElement(w,{...O&&!B?{key:`pb-${O}`}:{},rtl:D,theme:T,delay:u,isRunning:t,isIn:_,closeToast:m,hide:f,type:p,style:S,className:A,controlledProgress:B,progress:q||0})))},x=function(e,t){return void 0===t&&(t=!1),{enter:`Toastify--animate Toastify__${e}-enter`,exit:`Toastify--animate Toastify__${e}-exit`,appendPosition:t}},C=u(x("bounce",!0)),A=(u(x("slide",!0)),u(x("zoom")),u(x("flip")),(0,r.forwardRef)(((e,t)=>{const{getToastToRender:n,containerRef:a,isToastActive:i}=h(e),{className:c,style:u,rtl:d,containerId:p}=e;function f(e){const t=(0,o.A)("Toastify__toast-container",`Toastify__toast-container--${e}`,{"Toastify__toast-container--rtl":d});return s(c)?c({position:e,rtl:d,defaultClassName:t}):(0,o.A)(t,l(c))}return(0,r.useEffect)((()=>{t&&(t.current=a.current)}),[]),r.createElement("div",{ref:a,className:"Toastify",id:p},n(((e,t)=>{const n=t.length?{...u}:{...u,pointerEvents:"none"};return r.createElement("div",{className:f(e),style:n,key:`container-${e}`},t.map(((e,n)=>{let{content:o,props:a}=e;return r.createElement(E,{...a,isIn:i(a.toastId),style:{...a.style,"--nth":n+1,"--len":t.length},key:`toast-${a.key}`},o)})))})))})));A.displayName="ToastContainer",A.defaultProps={position:"top-right",transition:C,autoClose:5e3,closeButton:y,pauseOnHover:!0,pauseOnFocusLoss:!0,closeOnClick:!0,draggable:!0,draggablePercent:80,draggableDirection:"x",role:"alert",theme:"light"};let S,O=new Map,I=[],q=1;function D(){return""+q++}function P(e){return e&&(i(e.toastId)||a(e.toastId))?e.toastId:D()}function k(e,t){return O.size>0?p.emit(0,e,t):I.push({content:e,options:t}),t.toastId}function _(e,t){return{...t,type:t&&t.type||e,toastId:P(t)}}function R(e){return(t,n)=>k(t,_(e,n))}function F(e,t){return k(e,_("default",t))}F.loading=(e,t)=>k(e,_("default",{isLoading:!0,autoClose:!1,closeOnClick:!1,closeButton:!1,draggable:!1,...t})),F.promise=function(e,t,n){let r,{pending:o,error:a,success:l}=t;o&&(r=i(o)?F.loading(o,n):F.loading(o.render,{...n,...o}));const c={isLoading:null,autoClose:null,closeOnClick:null,closeButton:null,draggable:null},u=(e,t,o)=>{if(null==t)return void F.dismiss(r);const a={type:e,...c,...n,data:o},s=i(t)?{render:t}:t;return r?F.update(r,{...a,...s}):F(s.render,{...a,...s}),o},d=s(e)?e():e;return d.then((e=>u("success",l,e))).catch((e=>u("error",a,e))),d},F.success=R("success"),F.info=R("info"),F.error=R("error"),F.warning=R("warning"),F.warn=F.warning,F.dark=(e,t)=>k(e,_("default",{theme:"dark",...t})),F.dismiss=e=>{O.size>0?p.emit(1,e):I=I.filter((t=>null!=e&&t.options.toastId!==e))},F.clearWaitingQueue=function(e){return void 0===e&&(e={}),p.emit(5,e)},F.isActive=e=>{let t=!1;return O.forEach((n=>{n.isToastActive&&n.isToastActive(e)&&(t=!0)})),t},F.update=function(e,t){void 0===t&&(t={}),setTimeout((()=>{const n=function(e,t){let{containerId:n}=t;const r=O.get(n||S);return r&&r.getToast(e)}(e,t);if(n){const{props:r,content:o}=n,a={delay:100,...r,...t,toastId:t.toastId||e,updateId:D()};a.toastId!==e&&(a.staleId=e);const i=a.render||o;delete a.render,k(i,a)}}),0)},F.done=e=>{F.update(e,{progress:1})},F.onChange=e=>(p.on(4,e),()=>{p.off(4,e)}),F.POSITION={TOP_LEFT:"top-left",TOP_RIGHT:"top-right",TOP_CENTER:"top-center",BOTTOM_LEFT:"bottom-left",BOTTOM_RIGHT:"bottom-right",BOTTOM_CENTER:"bottom-center"},F.TYPE={INFO:"info",SUCCESS:"success",WARNING:"warning",ERROR:"error",DEFAULT:"default"},p.on(2,(e=>{S=e.containerId||e,O.set(S,e),I.forEach((e=>{p.emit(0,e.content,e.options)})),I=[]})).on(3,(e=>{O.delete(e.containerId||e),0===O.size&&p.off(0).off(1).off(5)}))}},t={};function n(r){var o=t[r];if(void 0!==o)return o.exports;var a=t[r]={exports:{}};return e[r].call(a.exports,a,a.exports,n),a.exports}n.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return n.d(t,{a:t}),t},n.d=(e,t)=>{for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),n.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";n(51609);var e=n(67629),t=(n(20312),n(99571),n(27723));n(53026),n(5392),n(69111),n(34814),(0,t.__)("Product tab","betterdocs"),(0,t.__)("After product summary","betterdocs"),(0,t.__)("Before product summary","betterdocs");const r=[{value:"layout-3",label:(0,t.__)("Abstract","betterdocs")},{value:"layout-1",label:(0,t.__)("Modern","betterdocs")},{value:"layout-2",label:(0,t.__)("Classic","betterdocs")}],o="undefined"!=typeof window&&window.betterdocs_admin?.dir_url||"";r.reduce(((e,{value:t})=>(e[t]=`${o}assets/admin/images/customizer/faq/${t}.png`,e)),{}),(0,t.__)("Product FAQ Groups","betterdocs"),(0,t.__)("Display Settings","betterdocs"),new e.E({defaultOptions:{queries:{refetchOnWindowFocus:!1,retry:1}}})})()})(); |