(function(){var Bi={69:(function(f,P,U){"use strict";f.exports=U(5369)}),1609:(function(f){"use strict";f.exports=window.React}),3593:(function(f,P,U){"use strict";f.exports=U(3691)}),3691:(function(f,P,U){"use strict";/** @license React v17.0.2
 * react-jsx-runtime.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */U(9645);var h=U(1609),E=60103;if(P.Fragment=60107,typeof Symbol=="function"&&Symbol.for){var S=Symbol.for;E=S("react.element"),P.Fragment=S("react.fragment")}var ie=h.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u=Object.prototype.hasOwnProperty,d={key:!0,ref:!0,__self:!0,__source:!0};function v(g,A,I){var D,T={},L=null,G=null;I!==void 0&&(L=""+I),A.key!==void 0&&(L=""+A.key),A.ref!==void 0&&(G=A.ref);for(D in A)u.call(A,D)&&!d.hasOwnProperty(D)&&(T[D]=A[D]);if(g&&g.defaultProps)for(D in A=g.defaultProps,A)T[D]===void 0&&(T[D]=A[D]);return{$$typeof:E,type:g,key:L,ref:G,props:T,_owner:ie.current}}P.jsx=v,P.jsxs=v}),5369:(function(f,P){"use strict";/** @license React v16.13.1
 * react-is.production.min.js
 *
 * Copyright (c) Facebook, Inc. and its affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var U=typeof Symbol=="function"&&Symbol.for,h=U?Symbol.for("react.element"):60103,E=U?Symbol.for("react.portal"):60106,S=U?Symbol.for("react.fragment"):60107,ie=U?Symbol.for("react.strict_mode"):60108,u=U?Symbol.for("react.profiler"):60114,d=U?Symbol.for("react.provider"):60109,v=U?Symbol.for("react.context"):60110,g=U?Symbol.for("react.async_mode"):60111,A=U?Symbol.for("react.concurrent_mode"):60111,I=U?Symbol.for("react.forward_ref"):60112,D=U?Symbol.for("react.suspense"):60113,T=U?Symbol.for("react.suspense_list"):60120,L=U?Symbol.for("react.memo"):60115,G=U?Symbol.for("react.lazy"):60116,X=U?Symbol.for("react.block"):60121,K=U?Symbol.for("react.fundamental"):60117,ne=U?Symbol.for("react.responder"):60118,de=U?Symbol.for("react.scope"):60119;function q(j){if(typeof j=="object"&&j!==null){var ze=j.$$typeof;switch(ze){case h:switch(j=j.type,j){case g:case A:case S:case u:case ie:case D:return j;default:switch(j=j&&j.$$typeof,j){case v:case I:case G:case L:case d:return j;default:return ze}}case E:return ze}}}function Le(j){return q(j)===A}P.AsyncMode=g,P.ConcurrentMode=A,P.ContextConsumer=v,P.ContextProvider=d,P.Element=h,P.ForwardRef=I,P.Fragment=S,P.Lazy=G,P.Memo=L,P.Portal=E,P.Profiler=u,P.StrictMode=ie,P.Suspense=D,P.isAsyncMode=function(j){return Le(j)||q(j)===g},P.isConcurrentMode=Le,P.isContextConsumer=function(j){return q(j)===v},P.isContextProvider=function(j){return q(j)===d},P.isElement=function(j){return typeof j=="object"&&j!==null&&j.$$typeof===h},P.isForwardRef=function(j){return q(j)===I},P.isFragment=function(j){return q(j)===S},P.isLazy=function(j){return q(j)===G},P.isMemo=function(j){return q(j)===L},P.isPortal=function(j){return q(j)===E},P.isProfiler=function(j){return q(j)===u},P.isStrictMode=function(j){return q(j)===ie},P.isSuspense=function(j){return q(j)===D},P.isValidElementType=function(j){return typeof j=="string"||typeof j=="function"||j===S||j===A||j===u||j===ie||j===D||j===T||typeof j=="object"&&j!==null&&(j.$$typeof===G||j.$$typeof===L||j.$$typeof===d||j.$$typeof===v||j.$$typeof===I||j.$$typeof===K||j.$$typeof===ne||j.$$typeof===de||j.$$typeof===X)},P.typeOf=q}),7621:(function(f,P,U){"use strict";var h=U(69),E={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},S={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},ie={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},u={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},d={};d[h.ForwardRef]=ie,d[h.Memo]=u;function v(X){return h.isMemo(X)?u:d[X.$$typeof]||E}var g=Object.defineProperty,A=Object.getOwnPropertyNames,I=Object.getOwnPropertySymbols,D=Object.getOwnPropertyDescriptor,T=Object.getPrototypeOf,L=Object.prototype;function G(X,K,ne){if(typeof K!="string"){if(L){var de=T(K);de&&de!==L&&G(X,de,ne)}var q=A(K);I&&(q=q.concat(I(K)));for(var Le=v(X),j=v(K),ze=0;ze<q.length;++ze){var rt=q[ze];if(!S[rt]&&!(ne&&ne[rt])&&!(j&&j[rt])&&!(Le&&Le[rt])){var ot=D(K,rt);try{g(X,rt,ot)}catch{}}}}return X}f.exports=G}),8140:(function(f,P,U){"use strict";/**
 * @license React
 * use-sync-external-store-shim.production.js
 *
 * Copyright (c) Meta Platforms, Inc. and affiliates.
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */var h=U(1609);function E(T,L){return T===L&&(T!==0||1/T===1/L)||T!==T&&L!==L}var S=typeof Object.is=="function"?Object.is:E,ie=h.useState,u=h.useEffect,d=h.useLayoutEffect,v=h.useDebugValue;function g(T,L){var G=L(),X=ie({inst:{value:G,getSnapshot:L}}),K=X[0].inst,ne=X[1];return d(function(){K.value=G,K.getSnapshot=L,A(K)&&ne({inst:K})},[T,G,L]),u(function(){return A(K)&&ne({inst:K}),T(function(){A(K)&&ne({inst:K})})},[T]),v(G),G}function A(T){var L=T.getSnapshot;T=T.value;try{var G=L();return!S(T,G)}catch{return!0}}function I(T,L){return L()}var D=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?I:g;P.useSyncExternalStore=h.useSyncExternalStore!==void 0?h.useSyncExternalStore:D}),8279:(function(f,P,U){"use strict";f.exports=U(8140)}),8623:(function(f){(function(P,U){f.exports=U()})(window,(()=>(()=>{"use strict";var P={d:(u,d)=>{for(var v in d)P.o(d,v)&&!P.o(u,v)&&Object.defineProperty(u,v,{enumerable:!0,get:d[v]})},o:(u,d)=>Object.prototype.hasOwnProperty.call(u,d)},U={};let h;P.d(U,{default:()=>ie}),window.DoMini===void 0?(h=function(u,d){return arguments[2]!==void 0?this.constructor.call(this,u,d):arguments.length!==1||typeof arguments[0]!="function"?new h(u,d,!0):void(document.readyState==="complete"||document.readyState==="loaded"||document.readyState==="interactive"?arguments[0].apply(this,[h]):window.addEventListener("DOMContentLoaded",(()=>{arguments[0].apply(this,[h])})))},h.prototype=h.fn={constructor:function(u,d){if(this.length=0,d!==void 0){if(d instanceof h)return d.find(u);if(this.isValidNode(d)||typeof d=="string")return h(d).find(u)}else if(typeof u=="string"&&u!=="")this.push(...this._(u));else{if(u instanceof h)return u;this.isValidNode(u)&&this.push(u)}return this},_:function(u){return u.charAt(0)==="<"?h._fn.createElementsFromHTML(u):[...document.querySelectorAll(u)]},isValidNode:u=>u instanceof Element||u instanceof Document||u instanceof Window,push:Array.prototype.push,pop:Array.prototype.pop,sort:Array.prototype.sort,splice:Array.prototype.splice},h.prototype[Symbol.iterator]=Array.prototype[Symbol.iterator],h._fn={},h.version="0.2.8"):h=window.DoMini;const E=h;E.fn.get=function(u){return u===void 0?Array.from(this):this[u]},E.fn.extend=function(){for(let u=1;u<arguments.length;u++)for(let d in arguments[u])arguments[u].hasOwnProperty(d)&&(arguments[0][d]=arguments[u][d]);return arguments[0]},E.fn.forEach=function(u){return this.get().forEach((function(d,v,g){u.apply(d,[d,v,g])})),this},E.fn.each=function(u){return this.get().forEach((function(d,v,g){u.apply(d,[v,d,g])})),this},E.fn.css=function(u,d){for(const v of this)if(arguments.length===1){if(typeof u!="object")return window.getComputedStyle(v)[u];Object.keys(u).forEach((function(g){v.style[g]=u[g]}))}else v.style[u]=d;return this},E.fn.hasClass=function(u){let d=this.get(0);return d!=null&&d.classList.contains(u)},E.fn.addClass=function(u){let d=u;return typeof u=="string"&&(d=u.split(" ")),d=d.filter((function(v){return v.trim()!==""})),d.length>0&&this.forEach((function(v){v.classList.add.apply(v.classList,d)})),this},E.fn.removeClass=function(u){if(u!==void 0){let d=u;typeof u=="string"&&(d=u.split(" ")),d=d.filter((function(v){return v.trim()!==""})),d.length>0&&this.forEach((function(v){v.classList.remove.apply(v.classList,d)}))}else this.forEach((function(d){d.classList.length>0&&d.classList.remove.apply(d.classList,d.classList)}));return this},E.fn.isVisible=function(){let u,d=this.get(0),v=!0;for(;d!==null;){if(u=window.getComputedStyle(d),u.display==="none"||u.visibility==="hidden"||parseInt(u.opacity)===0){v=!1;break}d=d.parentElement}return v},E.fn.val=function(u){let d;if(arguments.length===1){for(const v of this)if(v.type==="select-multiple"){u=typeof u=="string"?u.split(","):u;for(let g,A=0,I=v.options.length;A<I;A++)g=v.options[A],g.selected=u.indexOf(g.value)!==-1}else v.value=u;d=this}else{let v=this.get(0);v!=null&&(d=v.type==="select-multiple"?Array.prototype.map.call(v.selectedOptions,(function(g){return g.value})):v.value)}return d},E.fn.attr=function(u,d){let v;for(const g of this)if(arguments.length===2)g.setAttribute(u,d),v=this;else{if(typeof u!="object"){v=g.getAttribute(u);break}Object.keys(u).forEach((function(A){g.setAttribute(A,u[A])}))}return v},E.fn.removeAttr=function(u){for(const d of this)d.removeAttribute(u);return this},E.fn.prop=function(u,d){let v;for(const g of this){if(arguments.length!==2){v=g[u]!==void 0?g[u]:null;break}g[u]=d}return arguments.length===2?this:v},E.fn.data=function(u,d){const v=u.replace(/-([a-z])/g,(function(g){return g[1].toUpperCase()}));if(arguments.length===2){for(const g of this)g!=null&&(g.dataset[v]=d);return this}{let g=this.get(0);return g!=null&&g.dataset[v]!==void 0?g.dataset[v]:""}},E.fn.html=function(u){if(arguments.length===1){for(const d of this)d.innerHTML=u;return this}{let d=this.get(0);return d==null?"":d.innerHTML}},E.fn.text=function(u){if(arguments.length===1){for(const d of this)d.textContent=u;return this}{let d=this.get(0);return d==null?"":d.textContent}},E.fn.position=function(){let u=this.get(0);return u!=null?{top:u.offsetTop,left:u.offsetLeft}:{top:0,left:0}},E.fn.offset=function(){let u=this.get(0);return u!=null?E._fn.hasFixedParent(u)?u.getBoundingClientRect():E._fn.absolutePosition(u):{top:0,left:0}},E.fn.outerWidth=function(u){u=u||!1;let d=this.get(0);return d!=null?u?parseInt(d.offsetWidth)+parseInt(this.css("marginLeft"))+parseInt(this.css("marginRight")):parseInt(d.offsetWidth):0},E.fn.outerHeight=function(u){u=u||!1;let d=this.get(0);return d!=null?u?parseInt(d.offsetHeight)+parseInt(this.css("marginTop"))+parseInt(this.css("marginBottom")):parseInt(d.offsetHeight):0},E.fn.noPaddingHeight=function(u){return u=u||!1,this.length>0?u?parseInt(this.css("height"))+parseInt(this.css("marginTop"))+parseInt(this.css("marginBottom")):parseInt(this.css("height")):0},E.fn.noPaddingWidth=function(u){return u=u||!1,this.length>0?u?parseInt(this.css("width"))+parseInt(this.css("marginLeft"))+parseInt(this.css("marginRight")):parseInt(this.css("width")):0},E.fn.innerWidth=function(){let u=this.get(0);if(u!=null){let d=window.getComputedStyle(u);return this.outerWidth()-parseFloat(d.borderLeftWidth)-parseFloat(d.borderRightWidth)}return 0},E.fn.innerHeight=function(){let u=this.get(0);if(u!=null){let d=window.getComputedStyle(u);return this.outerHeight()-parseFloat(d.borderTopWidth)-parseFloat(d.borderBottomtWidth)}return 0},E.fn.width=function(){return this.outerWidth()},E.fn.height=function(){return this.outerHeight()},E.fn.on=function(){let u=arguments,d=function(g,A){let I;if(A.type==="mouseenter"||A.type==="mouseleave"||A.type==="mouseover"){let D=document.elementFromPoint(A.clientX,A.clientY);if(!D.matches(g[1]))for(;(D=D.parentElement)&&!D.matches(g[1]););D!=null&&(I=E(D))}else I=E(A.target).closest(g[1]);if(I!=null&&I.closest(this).length>0){let D=[];if(D.push(A),g[4]!==void 0)for(let T=4;T<g.length;T++)D.push(g[T]);g[2].apply(I.get(0),D)}},v=u[0].split(" ");for(let g=0;g<v.length;g++){let A=v[g];if(typeof u[1]=="string")this.forEach((function(I){if(!E._fn.hasEventListener(I,A,u[2])){let D=d.bind(I,u);I.addEventListener(A,D,u[3]),I._domini_events=I._domini_events===void 0?[]:I._domini_events,I._domini_events.push({type:A,selector:u[1],func:D,trigger:u[2],args:u[3]})}}));else for(let I=0;I<v.length;I++){let D=v[I];this.forEach((function(T){E._fn.hasEventListener(T,D,u[1])||(T.addEventListener(D,u[1],u[2]),T._domini_events=T._domini_events===void 0?[]:T._domini_events,T._domini_events.push({type:D,func:u[1],trigger:u[1],args:u[2]}))}))}}return this},E.fn.off=function(u,d){return this.forEach((function(v){if(v._domini_events!==void 0&&v._domini_events.length>0)if(u===void 0){let g;for(;g=v._domini_events.pop();)v.removeEventListener(g.type,g.func,g.args);v._domini_events=[]}else u.split(" ").forEach((function(g){let A,I=[];for(;A=v._domini_events.pop();)A.type!==g||d!==void 0&&A.trigger!==d?I.push(A):v.removeEventListener(g,A.func,A.args);v._domini_events=I}))})),this},E.fn.offForced=function(){let u=this;return this.forEach((function(d,v){let g=d.cloneNode(!0);d.parentNode.replaceChild(g,d),u[v]=g})),this},E.fn.trigger=function(u,d,v,g){return v=v||!1,g=g||!1,this.forEach((function(A){let I=!1;if(g&&typeof jQuery<"u"&&jQuery._data!==void 0&&jQuery._data(A,"events")!==void 0&&jQuery._data(A,"events")[u]!==void 0&&(jQuery(A).trigger(u,d),I=!0),!I&&v){let D=new Event(u);D.detail=d,A.dispatchEvent(D)}if(A._domini_events!==void 0)A._domini_events.forEach((function(D){if(D.type===u){let T=new Event(u);D.trigger.apply(A,[T].concat(d))}}));else{let D=!1,T=A;for(;T=T.parentElement,T!=null&&(T._domini_events!==void 0&&T._domini_events.forEach((function(L){if(L.selector!==void 0){let G=E(T).find(L.selector);if(G.length>0&&G.get().indexOf(A)>=0&&L.type===u){let X=new Event(u);L.trigger.apply(A,[X].concat(d)),D=!0}}})),!D););}})),this},E.fn.clear=function(){for(const u of this)delete u._domini_events;return this},E.fn.clone=function(){let u=[];for(const d of this)u.push(d.cloneNode(!0));return E().add(u)},E.fn.detach=function(u){let d=this,v=[];u!==void 0&&(d=this.find(u));for(const g of d)g.parentElement!=null&&v.push(g.parentElement.removeChild(g));return E().add(v)},E.fn.remove=function(u){return this.detach(u).off().clear()},E.fn.prepend=function(u){if((u=E._fn.elementArrayFromAny(u)).length>0)for(const d of this)for(const v of u)d.insertBefore(v,d.children[0]);return this},E.fn.append=function(u){if((u=E._fn.elementArrayFromAny(u)).length>0)for(const d of this)for(const v of u)d.appendChild(v);return this},E.fn.is=function(u){let d=!1;for(const v of this)if(v.matches(u)){d=!0;break}return d},E.fn.parent=function(u){let d=[];for(const v of this){let g=v.parentElement;typeof u=="string"&&(g==null||g.matches(u)||(g=null)),d.push(g)}return E().add(d)},E.fn.copy=function(u,d){let v,g,A;if(typeof u!="object"||u===null)return v=u,v;for(g in v=new u.constructor,u)u.hasOwnProperty(g)&&(A=typeof u[g],d&&A==="object"&&u[g]!==null?v[g]=this.copy(u[g]):v[g]=u[g]);return v},E.fn.first=function(){return E(this[0])},E.fn.last=function(){return E(this[this.length-1])},E.fn.prev=function(u){let d=[];for(const v of this){let g;if(typeof u=="string")for(g=v.previousElementSibling;g!=null;){if(g.matches(u)){d.push(g);break}g=g.previousElementSibling}else d.push(v.previousElementSibling)}return E(null).add(d)},E.fn.next=function(u){let d=[];for(const v of this){let g;if(typeof u=="string")for(g=v.nextElementSibling;g!=null;){if(g.matches(u)){d.includes(g)||d.push(g);break}g=g.nextElementSibling}else d.push(v.nextElementSibling)}return E(null).add(d)},E.fn.closest=function(u){let d=[];for(let v of this)if(typeof u=="string"&&u!==""){for(;!v.matches(u)&&(v=v.parentElement););d.includes(v)||d.push(v)}else{if((u=u instanceof E?u.get(0):u)instanceof Element)for(;v!==u&&(v=v.parentElement););else v=null;d.includes(v)||d.push(v)}return E().add(d)},E.fn.add=function(u){let d=E._fn.elementArrayFromAny(u);for(const v of d)Array.from(this).includes(v)||this.push(v);return this},E.fn.find=function(u){const d=new E;if(typeof u=="string"){let v=[];this.get().forEach((function(g){const A=g.querySelectorAll?.(u)??[];v=v.concat(Array.from(A))})),v.length>0&&d.add(v)}return d},E._fn.bodyTransform=function(){let u=0,d=0;if(typeof WebKitCSSMatrix<"u"){let v=window.getComputedStyle(document.body);if(v.transform!==void 0){let g=new WebKitCSSMatrix(v.transform);g.m41!=="undefined"&&(u=g.m41),g.m42!=="undefined"&&(d=g.m42)}}return{x:u,y:d}},E._fn.bodyTransformY=function(){return this.bodyTransform().y},E._fn.bodyTransformX=function(){return this.bodyTransform().x},E._fn.hasFixedParent=function(u){if(E._fn.bodyTransformY()!=0)return!1;do if(window.getComputedStyle(u).position=="fixed")return!0;while(u=u.parentElement);return!1},E._fn.hasEventListener=function(u,d,v){if(u._domini_events===void 0)return!1;for(let g=0;g<u._domini_events.length;g++)if(u._domini_events[g].trigger===v&&u._domini_events[g].type===d)return!0;return!1},E._fn.allDescendants=function(u){let d=[],v=this;return Array.isArray(u)||(u=[u]),u.forEach((function(g){for(let A=0;A<g.childNodes.length;A++){let I=g.childNodes[A];d.push(I),d=d.concat(v.allDescendants(I))}})),d},E._fn.createElementsFromHTML=function(u){let d=document.createElement("template");return d.innerHTML=u.replace(/(\r\n|\n|\r)/gm,""),[...d.content.childNodes]},E._fn.elementArrayFromAny=function(u){if(typeof u=="string")u=E(u).get();else if(u instanceof E)u=u.get();else if(u instanceof Element)u=[u];else{if(!(u instanceof Array))return[];u=u.filter((d=>d instanceof Element))}return u},E._fn.ElementArrayFromAny=E._fn.elementArrayFromAny,E._fn.absolutePosition=function(u){if(!u.getClientRects().length)return{top:0,left:0};let d=u.getBoundingClientRect(),v=u.ownerDocument.defaultView;return{top:d.top+v.pageYOffset,left:d.left+v.pageXOffset}},E._fn.plugin=function(u,d){E.fn[u]=function(v){return v!==void 0&&d[v]?d[v].apply(this,Array.prototype.slice.call(arguments,1)):this.forEach((function(g){g["domini_"+u]=Object.create(d).init(v,g)}))}},document.dispatchEvent(new Event("domini-dom-core-loaded"));const S=E;E.fn.animate=function(u,d,v){d=d||200,v=v||"easeInOutQuad";for(const g of this){let A,I,D,T,L,G=0,X=60,K={},ne={};if(D=this.prop("_domini_animations"),D=D??[],u===!1)D.forEach((function(de){clearInterval(de)}));else{let de=function(){G++,G>A?clearInterval(T):(I=L(G/A),Object.keys(ne).forEach((function(q){q.indexOf("scroll")>-1?g[q]=K[q]+ne[q]*I:g.style[q]=K[q]+ne[q]*I+"px"})))};L=E.fn.animate.easing[v]??E.fn.animate.easing.easeInOutQuad,Object.keys(u).forEach((function(q){q.indexOf("scroll")>-1?(K[q]=g[q],ne[q]=u[q]-K[q]):(K[q]=parseInt(window.getComputedStyle(g)[q]),ne[q]=u[q]-K[q])})),A=d/1e3*X,T=setInterval(de,1e3/X),D.push(T),this.prop("_domini_animations",D)}}return this},E.fn.animate.easing={linear:function(u){return u},easeInOutQuad:function(u){return u<.5?2*u*u:1-Math.pow(-2*u+2,2)/2},easeOutQuad:function(u){return 1-(1-u)*(1-u)}},E.fn.unhighlight=function(u){let d={className:"highlight",element:"span"};return E.fn.extend(d,u),this.find(d.element+"."+d.className).forEach((function(){let v=this.parentNode;v.replaceChild(this.firstChild,this),v.normalize()}))},E.fn.highlight=function(u,d){this.defaults={className:"highlight",element:"span",caseSensitive:!1,wordsOnly:!1,excludeParents:".excludeFromHighlight"};const v=E,g={...this.defaults,...d};if(u.constructor===String&&(u=[u]),(u=u.filter((function(L){return L!==""}))).forEach((function(L,G,X){X[G]=L.replace(/[-[\]{}()*+?.,\\^$|#\s]/g,"\\$&").normalize("NFD").replace(/[\u0300-\u036f]/g,"")})),u.length===0)return this;let A=g.caseSensitive?"":"i",I="("+u.join("|")+")";g.wordsOnly&&(I="(?:,|^|\\s)"+I+"(?:,|$|\\s)");let D=new RegExp(I,A);function T(L,G,X,K,ne){if(ne=ne===""?v.fn.highlight.defaults:ne,L.nodeType===3){if(!v(L.parentNode).is(ne)){let de=L.data.normalize("NFD").replace(/[\u0300-\u036f]/g,"").match(G);if(de){let q,Le=document.createElement(X||"span");Le.className=K||"highlight",q=/\.|,|\s/.test(de[0].charAt(0))?de.index+1:de.index;let j=L.splitText(q);j.splitText(de[1].length);let ze=j.cloneNode(!0);return Le.appendChild(ze),j.parentNode.replaceChild(Le,j),1}}}else if(L.nodeType===1&&L.childNodes&&!/(script|style)/i.test(L.tagName)&&!v(L).closest(ne).length>0&&(L.tagName!==X.toUpperCase()||L.className!==K))for(let de=0;de<L.childNodes.length;de++)de+=T(L.childNodes[de],G,X,K,ne);return 0}return this.forEach((function(L){T(L,D,g.element,g.className,g.excludeParents)}))},E.fn.serialize=function(){let u=this.get(0);if(!u||u.nodeName!=="FORM")return"";let d,v,g=[];for(d=u.elements.length-1;d>=0;d-=1)if(u.elements[d].name!=="")switch(u.elements[d].nodeName){case"INPUT":switch(u.elements[d].type){case"checkbox":case"radio":u.elements[d].checked&&g.push(u.elements[d].name+"="+encodeURIComponent(u.elements[d].value));break;case"file":break;default:g.push(u.elements[d].name+"="+encodeURIComponent(u.elements[d].value))}break;case"TEXTAREA":g.push(u.elements[d].name+"="+encodeURIComponent(u.elements[d].value));break;case"SELECT":switch(u.elements[d].type){case"select-one":g.push(u.elements[d].name+"="+encodeURIComponent(u.elements[d].value));break;case"select-multiple":for(v=u.elements[d].options.length-1;v>=0;v-=1)u.elements[d].options[v].selected&&g.push(u.elements[d].name+"="+encodeURIComponent(u.elements[d].options[v].value))}break;case"BUTTON":switch(u.elements[d].type){case"reset":case"submit":case"button":g.push(u.elements[d].name+"="+encodeURIComponent(u.elements[d].value))}}return g.join("&")},E.fn.serializeObject=function(u,d){let v,g=[];for(v in u)if(u.hasOwnProperty(v)){let A=d?d+"["+v+"]":v,I=u[v];g.push(I!==null&&typeof I=="object"?E.fn.serializeObject(I,A):encodeURIComponent(A)+"="+encodeURIComponent(I))}return g.join("&")},E.fn.inViewPort=function(u,d){let v,g,A=this.get(0);if(A==null)return!1;u=u===void 0?0:u,d=d===void 0?window:typeof d=="string"?document.querySelector(d):d;let I=A.getBoundingClientRect(),D=I.top,T=I.bottom,L=I.left,G=I.right,X=!1;if(d==null&&(d=window),d===window)v=window.innerWidth||0,g=window.innerHeight||0;else{v=d.clientWidth,g=d.clientHeight;let K=d.getBoundingClientRect();D-=K.top,T-=K.top,L-=K.left,G-=K.left}return u=~~Math.round(parseFloat(u)),G<=0||L>=v||(X=u>0?D>=u&&T<g-u:(T>0&&D<=g-u)|(D<=0&&T>u)),X},E.fn.ajax=function(u){if((u=this.extend({url:"",method:"GET",cors:"cors",data:{},success:null,fail:null,accept:"text/html",contentType:"application/x-www-form-urlencoded; charset=UTF-8"},u)).cors==="cors"){let d=new XMLHttpRequest;return d.onreadystatechange=function(){u.success!=null&&this.readyState===4&&this.status>=200&&this.status<400&&u.success(this.responseText),u.fail!=null&&this.readyState===4&&this.status>=400&&u.fail(this)},d.open(u.method.toUpperCase(),u.url,!0),d.setRequestHeader("Content-type",u.contentType),d.setRequestHeader("Accept",u.accept),d.send(this.serializeObject(u.data)),d}{let d="ajax_cb_"+"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,(function(g){let A=16*Math.random()|0;return(g==="x"?A:3&A|8).toString(16)})).replaceAll("-","");E.fn[d]=function(){u.success.apply(this,arguments),delete E.fn[u.data.fn]},u.data.callback="DoMini.fn."+d,u.data.fn=d;let v=document.createElement("script");v.type="text/javascript",v.src=u.url+"?"+this.serializeObject(u.data),v.onload=function(){this.remove()},document.body.appendChild(v)}};const ie=S;return U.default})()))}),9645:(function(f){"use strict";/*
object-assign
(c) Sindre Sorhus
@license MIT
*/var P=Object.getOwnPropertySymbols,U=Object.prototype.hasOwnProperty,h=Object.prototype.propertyIsEnumerable;function E(ie){if(ie==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(ie)}function S(){try{if(!Object.assign)return!1;var ie=new String("abc");if(ie[5]="de",Object.getOwnPropertyNames(ie)[0]==="5")return!1;for(var u={},d=0;d<10;d++)u["_"+String.fromCharCode(d)]=d;var v=Object.getOwnPropertyNames(u).map(function(A){return u[A]});if(v.join("")!=="0123456789")return!1;var g={};return"abcdefghijklmnopqrst".split("").forEach(function(A){g[A]=A}),Object.keys(Object.assign({},g)).join("")==="abcdefghijklmnopqrst"}catch{return!1}}f.exports=S()?Object.assign:function(ie,u){for(var d,v=E(ie),g,A=1;A<arguments.length;A++){d=Object(arguments[A]);for(var I in d)U.call(d,I)&&(v[I]=d[I]);if(P){g=P(d);for(var D=0;D<g.length;D++)h.call(d,g[D])&&(v[g[D]]=d[g[D]])}}return v}})},Ar={};function Ce(f){var P=Ar[f];if(P!==void 0)return P.exports;var U=Ar[f]={exports:{}};return Bi[f](U,U.exports,Ce),U.exports}(function(){Ce.n=function(f){var P=f&&f.__esModule?function(){return f.default}:function(){return f};return Ce.d(P,{a:P}),P}})(),(function(){Ce.d=function(f,P){for(var U in P)Ce.o(P,U)&&!Ce.o(f,U)&&Object.defineProperty(f,U,{enumerable:!0,get:P[U]})}})(),(function(){Ce.o=function(f,P){return Object.prototype.hasOwnProperty.call(f,P)}})();var Dd={};(function(){"use strict";var f=Ce(3593),P=window.ReactDOM,U=Ce.n(P),h=Ce(1609),E=Ce.n(h),S=window.wp.i18n,ie=window.wp.apiFetch,u=Ce.n(ie);function d(e){var t,r,o="";if(typeof e=="string"||typeof e=="number")o+=e;else if(typeof e=="object")if(Array.isArray(e)){var n=e.length;for(t=0;t<n;t++)e[t]&&(r=d(e[t]))&&(o&&(o+=" "),o+=r)}else for(r in e)e[r]&&(o&&(o+=" "),o+=r);return o}function v(){for(var e,t,r=0,o="",n=arguments.length;r<n;r++)(e=arguments[r])&&(t=d(e))&&(o&&(o+=" "),o+=t);return o}var g=v;const A=({children:e,onOverlayClick:t,isOpen:r=!1,...o})=>(0,f.jsx)("div",{className:g("wdo:modal",r&&"open"),onClick:t,children:(0,f.jsx)("div",{className:"wdo:modal-content",onClick:n=>n.stopPropagation(),...o,children:e})});var I=E().memo(A);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const D=(...e)=>e.filter((t,r,o)=>!!t&&t.trim()!==""&&o.indexOf(t)===r).join(" ").trim();/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const T=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase();/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const L=e=>e.replace(/^([A-Z])|[\s-_]+(\w)/g,(t,r,o)=>o?o.toUpperCase():r.toLowerCase());/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const G=e=>{const t=L(e);return t.charAt(0).toUpperCase()+t.slice(1)};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */var X={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const K=e=>{for(const t in e)if(t.startsWith("aria-")||t==="role"||t==="title")return!0;return!1};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ne=(0,h.createContext)({});function de({children:e,size:t,color:r,strokeWidth:o,absoluteStrokeWidth:n,className:i}){const a=useMemo(()=>({size:t,color:r,strokeWidth:o,absoluteStrokeWidth:n,className:i}),[t,r,o,n,i]);return createElement(ne.Provider,{value:a},e)}const q=()=>(0,h.useContext)(ne);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Le=(0,h.forwardRef)(({color:e,size:t,strokeWidth:r,absoluteStrokeWidth:o,className:n="",children:i,iconNode:a,...l},s)=>{const{size:c=24,strokeWidth:p=2,absoluteStrokeWidth:m=!1,color:y="currentColor",className:w=""}=q()??{},O=o??m?Number(r??p)*24/Number(t??c):r??p;return(0,h.createElement)("svg",{ref:s,...X,width:t??c??X.width,height:t??c??X.height,stroke:e??y,strokeWidth:O,className:D("lucide",w,n),...!i&&!K(l)&&{"aria-hidden":"true"},...l},[...a.map(([_,b])=>(0,h.createElement)(_,b)),...Array.isArray(i)?i:[i]])});/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const j=(e,t)=>{const r=(0,h.forwardRef)(({className:o,...n},i)=>(0,h.createElement)(Le,{ref:i,iconNode:t,className:D(`lucide-${T(G(e))}`,`lucide-${e}`,o),...n}));return r.displayName=G(e),r};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const rt=j("loader-circle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),ot=({className:e="",children:t,isLoading:r,...o})=>(0,f.jsx)("button",{className:`wdo:button ${e}`,...o,...r?{disabled:!0}:{},children:r?(0,f.jsx)(rt,{className:"wdo:animate-spin wdo:w-4 wdo:h-4"}):t}),Bt=({className:e="",children:t,...r})=>(0,f.jsx)(ot,{className:`wdo:button-primary ${e}`,...r,children:t}),Md=({className:e="",children:t,...r})=>jsx(ot,{className:`wdo:button-danger ${e}`,...r,children:t}),Id=({className:e="",children:t,...r})=>jsx(ot,{className:`wdo:button-ghost ${e}`,...r,children:t});/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Hi=j("triangle-alert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]]);var jr=({className:e,children:t})=>(0,f.jsxs)("div",{className:`wdo:flex wdo:gap-3 wdo:items-center wdo:p-3 wdo:rounded-sm wdo:border wdo:border-amber-500/30 wdo:bg-amber-500/10 wdo:text-amber-700 wdo:dark:text-amber-400 wdo:text-sm ${e??""}`,children:[(0,f.jsx)(Hi,{className:"wdo:w-5 wdo:h-5 wdo:shrink-0"}),(0,f.jsx)("div",{children:t})]}),zi=({forceOpen:e,onClose:t})=>{const[r,o]=(0,h.useState)(!1),[n,i]=(0,h.useState)(""),[a,l]=(0,h.useState)(!1),[s,c]=(0,h.useState)("");(0,h.useEffect)(()=>{Number(ASP_BACKEND.asset_rev)>0&&o(!0),u()({path:"/ajax-search-pro/updates-help/check"}).then(w=>{w.message==="ok"&&o(!0)}).catch(()=>{})},[]),(0,h.useEffect)(()=>{e&&o(!0)},[e]);const p=()=>{o(!1),i(""),c(""),t?.()},m=()=>{l(!0),c(""),u()({path:"/ajax-search-pro/updates-help/activate",method:"POST",data:{key:n}}).then(()=>{p()}).catch(w=>{c(w?.message||(0,S.__)("Activation failed. Please try again.","ajax-search-pro"))}).finally(()=>{l(!1)})},y=()=>{p(),t||(window.history.length>1?window.history.back():window.location.href=ASP_BACKEND.admin_url)};return(0,f.jsx)(I,{isOpen:r,children:(0,f.jsxs)("div",{className:"wdo:p-8 wdo:min-w-[480px] wdo:max-w-lg",children:[(0,f.jsx)("h2",{className:"wdo:text-lg wdo:font-semibold wdo:text-gray-900 wdo:dark:text-white wdo:mb-3",children:(0,S.__)("Activate your license","ajax-search-pro")}),(0,f.jsx)("p",{className:"wdo:text-sm wdo:text-gray-600 wdo:dark:text-gray-400 wdo:mb-2",children:(0,S.__)("A valid license is required to use Ajax Search Pro. Enter your purchase code to activate it on this site.","ajax-search-pro")}),(0,f.jsx)("p",{className:"wdo:text-sm wdo:mb-5",children:(0,f.jsx)("a",{href:"https://documentation.ajaxsearchpro.com/plugin-updates/automatic-updates/purchase-code",target:"_blank",rel:"noreferrer",className:"wdo:text-blue-600 wdo:dark:text-blue-400 wdo:underline",children:(0,S.__)("Where do I find my license key?","ajax-search-pro")})}),s&&(0,f.jsx)(jr,{className:"wdo:mb-4",children:s}),(0,f.jsx)("label",{className:"wdo:block wdo:text-sm wdo:font-medium wdo:text-gray-700 wdo:dark:text-gray-200 wdo:mb-1",children:(0,S.__)("License key","ajax-search-pro")}),(0,f.jsx)("input",{type:"text",value:n,onChange:w=>{i(w.target.value),c("")},className:"wdo:block wdo:w-full wdo:mb-4 wdo:px-3 wdo:py-2 wdo:rounded wdo:border wdo:border-gray-300 wdo:dark:border-gray-600 wdo:dark:bg-gray-700 wdo:dark:text-white wdo:text-sm",placeholder:"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx"}),(0,f.jsxs)("div",{className:"wdo:flex wdo:gap-3",children:[(0,f.jsx)(Bt,{isLoading:a,disabled:a||n.trim().length!==36,onClick:m,children:(0,S.__)("Activate","ajax-search-pro")}),e&&(0,f.jsx)(ot,{disabled:a,onClick:y,children:(0,S.__)("Go back","ajax-search-pro")})]})]})})};const Fr=["Yay","Top of the morning to you","You did it","All good chief","Looking good","Good job"],Dr=["Something went south :(","Ooof, please try again","Ouch, that didn't work...","Ooops, that didn't work..."];let lt=[],Ht=[];const Mr=()=>Ht.forEach(e=>e(lt)),En=e=>{lt=lt.filter(t=>t.id!==e),Mr()},zt=(e,t="")=>{const r=Math.random().toString(36).substring(2,9);t===""&&(e==="success"?t=Fr[Math.floor(Math.random()*Fr.length)]:t=Dr[Math.floor(Math.random()*Dr.length)]),lt=[...lt,{id:r,type:e,text:t}],Mr(),setTimeout(()=>En(r),e==="success"?3e3:15e3)},Ui=(e="")=>zt("success",e),Wi=(e="")=>{typeof e=="string"?zt("error",e):zt("error",e.message)},Ir=()=>{const[e,t]=(0,h.useState)(lt);return(0,h.useEffect)(()=>(Ht.push(t),t(lt),()=>{Ht=Ht.filter(r=>r!==t)}),[]),{messages:e,addSuccess:Ui,addError:Wi,addMessage:zt,dismissMessage:En}};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const qi=j("circle-check",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m9 12 2 2 4-4",key:"dzmm74"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Gi=j("circle-x",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"m15 9-6 6",key:"1uzhvr"}],["path",{d:"m9 9 6 6",key:"z0biqf"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Yi=j("x",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Ki={success:(0,f.jsx)(qi,{className:"wdo:w-5 wdo:h-5 wdo:shrink-0"}),error:(0,f.jsx)(Gi,{className:"wdo:w-5 wdo:h-5 wdo:shrink-0"})};var Xi=({messages:e})=>(0,f.jsx)("div",{className:"wdo:fixed wdo:top-16 wdo:left-1/2 wdo:-translate-x-1/2 wdo:w-full wdo:max-w-md wdo:z-50 wdo:flex wdo:flex-col wdo:gap-2 wdo:px-4",children:e.map(t=>(0,f.jsxs)("div",{className:g("wdo:toast",t.type==="success"?"wdo:toast-success":"wdo:toast-error"),children:[(0,f.jsx)("span",{className:g("wdo:shrink-0",t.type==="success"?"wdo:text-green-600 wdo:dark:text-green-400":"wdo:text-red-600 wdo:dark:text-red-400"),children:Ki[t.type]}),(0,f.jsx)("span",{className:"wdo:grow wdo:text-sm",children:t.text}),(0,f.jsx)("button",{className:"wdo:shrink-0 wdo:p-0.5 wdo:rounded wdo:border-0 wdo:cursor-pointer wdo:bg-transparent wdo:text-wp-admin-500 wdo:hover:text-wp-admin-800 wdo:dark:text-wp-admin-400 wdo:dark:hover:text-wp-admin-100 wdo:transition-colors",onClick:()=>En(t.id),"aria-label":"Dismiss",children:(0,f.jsx)(Yi,{className:"wdo:w-4 wdo:h-4"})})]},t.id))});/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ji=j("sun",[["circle",{cx:"12",cy:"12",r:"4",key:"4exip2"}],["path",{d:"M12 2v2",key:"tus03m"}],["path",{d:"M12 20v2",key:"1lh1kg"}],["path",{d:"m4.93 4.93 1.41 1.41",key:"149t6j"}],["path",{d:"m17.66 17.66 1.41 1.41",key:"ptbguv"}],["path",{d:"M2 12h2",key:"1t8f8n"}],["path",{d:"M20 12h2",key:"1q8mjw"}],["path",{d:"m6.34 17.66-1.41 1.41",key:"1m8zz5"}],["path",{d:"m19.07 4.93-1.41 1.41",key:"1shlcs"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Zi=j("monitor",[["rect",{width:"20",height:"14",x:"2",y:"3",rx:"2",key:"48i651"}],["line",{x1:"8",x2:"16",y1:"21",y2:"21",key:"1svkeh"}],["line",{x1:"12",x2:"12",y1:"17",y2:"21",key:"vw1qmm"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Qi=j("moon",[["path",{d:"M20.985 12.486a9 9 0 1 1-9.473-9.472c.405-.022.617.46.402.803a6 6 0 0 0 8.268 8.268c.344-.215.825-.004.803.401",key:"kfwtm"}]]),Pr=(0,h.createContext)(void 0),Rr=e=>e==="light"||e==="dark"||e==="system",kr=e=>e==="dark"?!0:e==="light"?!1:window.matchMedia("(prefers-color-scheme: dark)").matches,ea=({children:e})=>{const[t,r]=(0,h.useState)(()=>{const a=localStorage.getItem("wdo_darkmode");return Rr(a)?a:"system"}),[o,n]=(0,h.useState)(()=>kr(t)),i=a=>{r(a),localStorage.setItem("wdo_darkmode",a)};return(0,h.useEffect)(()=>{n(kr(t))},[t]),(0,h.useEffect)(()=>{if(t!=="system")return;const a=window.matchMedia("(prefers-color-scheme: dark)"),l=s=>n(s.matches);return a.addEventListener("change",l),()=>a.removeEventListener("change",l)},[t]),(0,h.useEffect)(()=>{document.body.classList.toggle("wdo:dark",o)},[o]),(0,h.useEffect)(()=>{const a=l=>{l.key==="wdo_darkmode"&&Rr(l.newValue)&&r(l.newValue)};return window.addEventListener("storage",a),()=>window.removeEventListener("storage",a)},[]),(0,f.jsx)(Pr.Provider,{value:{isDark:o,mode:t,setMode:i},children:e})},Tr=()=>{const e=(0,h.useContext)(Pr);if(e===void 0)throw new Error("useIsDark must be used within a DarkModeProvider");return e},ta=[{mode:"light",icon:(0,f.jsx)(Ji,{}),title:"Light"},{mode:"system",icon:(0,f.jsx)(Zi,{}),title:"System"},{mode:"dark",icon:(0,f.jsx)(Qi,{}),title:"Dark"}],na=()=>{const{isDark:e,mode:t,setMode:r}=Tr();return(0,f.jsx)("div",{className:g("wdo:inline-flex wdo:rounded-lg wdo:p-0.5 wdo:gap-0.5",e?"wdo:bg-wp-admin-700":"wdo:bg-wp-admin-200"),children:ta.map(({mode:o,icon:n,title:i})=>{const a=t===o;return(0,f.jsx)("button",{title:i,onClick:()=>r(o),className:g("wdo:rounded wdo:p-1.5 wdo:border-0 wdo:cursor-pointer","wdo:transition-colors wdo:flex wdo:items-center wdo:justify-center",a?e?"wdo:bg-wp-admin-500 wdo:text-white":"wdo:bg-white wdo:text-wp-admin-700 wdo:shadow-sm":e?"wdo:bg-transparent wdo:text-wp-admin-300":"wdo:bg-transparent wdo:text-wp-admin-500"),children:(0,f.jsx)("span",{className:"wdo:w-[18px] wdo:h-[18px] wdo:flex wdo:items-center wdo:justify-center",children:n})},o)})})};var ra=()=>{const e=typeof window<"u"&&Array.isArray(window.wpdrmsSharedConflicts)?window.wpdrmsSharedConflicts:[];return e.length===0?null:(0,f.jsx)("div",{className:"wdo:flex wdo:flex-col wdo:gap-2 wdo:mb-4",children:e.map((t,r)=>(0,f.jsx)("div",{role:"alert",className:"wdo:p-3 wdo:rounded wdo:text-sm wdo:bg-red-50 wdo:text-red-800 wdo:dark:bg-red-900/20 wdo:dark:text-red-200",children:t.message},r))})},oa=({subtitle:e="",logo:t,className:r=""})=>(0,f.jsxs)(f.Fragment,{children:[(0,f.jsx)(ra,{}),(0,f.jsxs)("div",{className:"wdo:top-bar",children:[(0,f.jsxs)("div",{className:g("wdo:flex wdo:items-baseline wdo:gap-3",r),children:[t,e?(0,f.jsx)("h2",{children:e}):""]}),(0,f.jsx)(na,{})]})]}),ia=()=>(0,f.jsx)("svg",{height:"20",width:"20",viewBox:"0 0 20 20",style:{float:"right"},"aria-hidden":"true",focusable:"false",children:(0,f.jsx)("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"})}),aa=()=>(0,f.jsx)("svg",{height:"20",width:"20",viewBox:"0 0 20 20",style:{float:"right",transform:"rotate(180deg)"},"aria-hidden":"true",focusable:"false",children:(0,f.jsx)("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"})});const Sn=(0,h.createContext)(null),sa=({children:e})=>{const[t,r]=(0,h.useState)(null),[o,n]=(0,h.useState)(()=>window.location.hash.slice(1)||null),[i,a]=(0,h.useState)([]),l=(0,h.useRef)([]),[s,c]=(0,h.useState)(()=>({})),p=b=>{const x=l.current.reduce((C,M)=>(C[M]=!0,C),{});c(C=>({...C,...x,[b]:!0}))},m=b=>{c(x=>({...x,[b]:!1}))},y=b=>{c(x=>({...x,[b]:!(x[b]??!1)}))},w=b=>{a(x=>[...x,o]),n(b),b?window.history.pushState(null,"",`#${b}`):window.history.replaceState(null,"",window.location.pathname+window.location.search)},O=()=>{if(i.length===0)return;const b=i[i.length-1];a(x=>x.slice(0,-1)),n(b),b?window.history.pushState(null,"",`#${b}`):window.history.replaceState(null,"",window.location.pathname+window.location.search)},_=i.length>0;return(0,h.useEffect)(()=>{const b=()=>{n(window.location.hash.slice(1)||null),o&&p(o)};return o&&p(o),window.addEventListener("hashchange",b),()=>window.removeEventListener("hashchange",b)},[]),(0,f.jsx)(Sn.Provider,{value:{activeId:o,setActiveId:n,isOpen:s,toggleOpen:y,open:p,close:m,openedParents:l,confirmBeforeSwap:t,setConfirmBeforeSwap:r,navigate:w,goBack:O,canGoBack:_},children:e})},ua=({children:e,...t})=>(0,f.jsx)("ul",{style:{listStyleType:"none",padding:0,userSelect:"none"},...t,children:h.Children.map(e,r=>(0,h.cloneElement)(r,{level:0}))}),Ct=({label:e,id:t,children:r,iconBefore:o,iconAfter:n,disabled:i,defaultActive:a=!1,level:l=0,parents:s=[],...c})=>{const p=(0,h.useContext)(Sn);if(!p)throw new Error("MenuItem must be used within a MenuProvider");const{activeId:m,isOpen:y,toggleOpen:w,openedParents:O,confirmBeforeSwap:_,setConfirmBeforeSwap:b,navigate:x}=p,C=m!==null?m===t:a,M=h.Children.count(r)>0,V=M?y[t]:!1;C&&(M&&(O.current=[...new Set(O.current.concat([t]))]),s.length&&(O.current=[...new Set(O.current.concat(s))]));const R=["","wdo:pl-4","wdo:pl-6","wdo:pl-8","wdo:pl-10"];return(0,f.jsxs)("li",{...c,children:[(0,f.jsxs)("a",{href:t?`#${t}`:void 0,onClick:k=>{k.preventDefault(),M&&!V&&w(t),!i&&(_===null||confirm(_))&&(b(null),M||x(t))},className:`
					${R[l]??""} 
					${C?"wdo:menu-item-active":""}
				    wdo:menu-item
				 `,children:[o&&(0,f.jsx)("span",{children:o}),(0,f.jsx)("span",{children:e}),n&&(0,f.jsx)("span",{children:n}),M&&(0,f.jsx)("span",{className:"wdo:dark:fill-gray-300",onClick:k=>{k.stopPropagation(),k.preventDefault(),w(t)},children:V?(0,f.jsx)(aa,{}):(0,f.jsx)(ia,{})})]}),M&&(0,f.jsx)("ul",{style:{listStyleType:"none",padding:0,display:V?"block":"none"},children:h.Children.map(r,k=>(0,h.cloneElement)(k,{level:l+1,parents:s.concat([t]),...c}))})]})};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const la=j("settings",[["path",{d:"M9.671 4.136a2.34 2.34 0 0 1 4.659 0 2.34 2.34 0 0 0 3.319 1.915 2.34 2.34 0 0 1 2.33 4.033 2.34 2.34 0 0 0 0 3.831 2.34 2.34 0 0 1-2.33 4.033 2.34 2.34 0 0 0-3.319 1.915 2.34 2.34 0 0 1-4.659 0 2.34 2.34 0 0 0-3.32-1.915 2.34 2.34 0 0 1-2.33-4.033 2.34 2.34 0 0 0 0-3.831A2.34 2.34 0 0 1 6.35 6.051a2.34 2.34 0 0 0 3.319-1.915",key:"1i5ecw"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const ca=j("download",[["path",{d:"M12 15V3",key:"m9g1x1"}],["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["path",{d:"m7 10 5 5 5-5",key:"brsn70"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const da=j("database",[["ellipse",{cx:"12",cy:"5",rx:"9",ry:"3",key:"msslwz"}],["path",{d:"M3 5V19A9 3 0 0 0 21 19V5",key:"1wlel7"}],["path",{d:"M3 12A9 3 0 0 0 21 12",key:"mv7ke4"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const fa=j("sliders-horizontal",[["path",{d:"M10 5H3",key:"1qgfaw"}],["path",{d:"M12 19H3",key:"yhmn1j"}],["path",{d:"M14 3v4",key:"1sua03"}],["path",{d:"M16 17v4",key:"1q0r14"}],["path",{d:"M21 12h-9",key:"1o4lsq"}],["path",{d:"M21 19h-5",key:"1rlt1p"}],["path",{d:"M21 5h-7",key:"1oszz2"}],["path",{d:"M8 10v4",key:"tgpxqk"}],["path",{d:"M8 12H3",key:"a7s4jb"}]]);/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const pa=j("external-link",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]]);var Zd=Ce(8623);const Qd=()=>/^((?!chrome|android).)*safari/i.test(navigator.userAgent),Lr=e=>{let t=!1;return typeof window.$<"u"&&(typeof e>"u"||typeof window.$.fn[e]<"u")&&(t=window.$),t===!1&&typeof window.jQuery<"u"&&(t=window.jQuery,(typeof e>"u"||typeof window.jQuery.fn[e]<"u")&&(t=window.jQuery)),t},ef=function(e,t){let r=e.find("input,textarea,select,button").get();if(arguments.length===1){const o={};return r.forEach(function(n){n.name&&!n.disabled&&(n.checked||/select|textarea/i.test(n.nodeName)||/text/i.test(n.type)||$(n).hasClass("hasDatepicker")||$(n).hasClass("asp_slider_hidden"))&&(o[n.name]===void 0&&(o[n.name]=[]),$(n).hasClass("hasDatepicker")?o[n.name].push($(n).parent().find(".asp_datepicker_hidden").val()):o[n.name].push($(n).val()))}),JSON.stringify(o)}else if(t!==void 0){const o=typeof t!="object"?JSON.parse(t):t;return r.forEach(function(n){if(n.name)if(o[n.name]){let i=o[n.name],a=$(n);if(Object.prototype.toString.call(i)!=="[object Array]"&&(i=[i]),n.type==="checkbox"||n.type==="radio"){let l=a.val(),s=!1;for(let c=0;c<i.length;c++)if(i[c]===l){s=!0;break}a.prop("checked",s)}else a.val(i[0]),$(n).hasClass("asp_gochosen")||$(n).hasClass("asp_goselect2")?intervalUntilExecute(function(l){l(n).trigger("change.asp_select2")},function(){return Lr("asp_select2")},50,3):$(n).hasClass("hasDatepicker")&&intervalUntilExecute(function(l){const s=a.get(0);if(s===void 0)return;let c=i[0],p=l(s).datepicker("option","dateFormat");l(s).datepicker("option","dateFormat","yy-mm-dd"),l(s).datepicker("setDate",c),l(s).datepicker("option","dateFormat",p),l(s).trigger("selectnochange")},function(){return Lr("datepicker")},50,3)}else(n.type==="checkbox"||n.type==="radio")&&$(n).prop("checked",!1)}),e}},tf=function(e,t,r,o="self"){let n;n=$('<form style="display: none;" />'),n.attr("action",e),n.attr("method",t),$("body").append(n),typeof r<"u"&&r!==null&&Object.keys(r).forEach(function(i){let a=r[i],l=$('<input type="hidden" />');l.attr("name",i),l.attr("value",a),n.append(l)}),o=="new"&&n.attr("target","_blank"),n.get(0).submit()},ha=function(e){Object.assign(document.createElement("a"),{target:"_blank",href:e}).click()},nf=function(e,t=0){for(const r of e)if(ma(r))return window.scrollTo({top:r.getBoundingClientRect().top-120+window.pageYOffset+t,behavior:"smooth"}),!0;return!1},ma=function(e){if(typeof e.checkVisibility>"u")return!0;let t=e,r=!0;for(;t!==null;){if(!t.checkVisibility({opacityProperty:!0,visibilityProperty:!0,contentVisibilityAuto:!0})){r=!1;break}t=t.parentElement}return r};var va=()=>(0,f.jsx)("svg",{width:"200",height:"100%",xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 176.64 26.62",children:(0,f.jsxs)("g",{children:[(0,f.jsx)("path",{className:"wdo:fill-black wdo:dark:fill-white",d:"m13.59 20.4-1.32-2.93H5.78L4.46 20.4H.6L8.75 3.6h.55l8.15 16.8h-3.86Zm-6.5-5.81h3.84l-1.92-4.25-1.92 4.25Z"}),(0,f.jsx)("path",{className:"wdo:fill-black wdo:dark:fill-white",d:"M22.03 7.92V21.6c0 1.23-.34 2.16-1.01 2.78-.67.62-1.6.94-2.78.94-.66 0-1.53-.19-2.64-.58v-3.43c.19.05.41.11.66.18.25.07.44.13.58.17.14.04.29.08.46.11.17.03.32.05.47.05.56 0 .84-.45.84-1.34V7.92h3.43Zm0-4.32v3.05H18.6V3.6h3.43ZM29.63 7.78c.89 0 1.65.19 2.27.56.62.38.93.72.95 1.04V7.92h3.43V20.4h-3.43v-1.66c-.02.32-.34.7-.96 1.15-.62.45-1.38.67-2.25.67-.67 0-1.34-.13-2.01-.4s-1.29-.65-1.87-1.15c-.58-.5-1.04-1.18-1.4-2.03-.36-.85-.54-1.8-.54-2.86 0-1.97.6-3.52 1.81-4.66 1.21-1.14 2.54-1.7 4.02-1.7Zm2.56 3.76c-.53-.55-1.19-.83-1.99-.83s-1.49.31-2.09.94c-.59.62-.89 1.46-.89 2.5s.3 1.92.89 2.54c.59.62 1.29.94 2.09.94s1.46-.28 1.99-.85.79-1.44.79-2.63-.26-2.05-.79-2.6ZM46.7 20.4l-2.85-4.06L41 20.4h-3.86l4.79-6.41-4.31-6.07h3.76l2.47 3.72 2.47-3.72h3.76l-4.31 6.07 4.79 6.41H46.7ZM61.63 3.43c1.34 0 2.49.32 3.45.96.96.64 1.68 1.42 2.16 2.33l-3.09 1.06c-.42-.86-1.21-1.3-2.37-1.3-.58 0-1.06.13-1.45.38-.39.26-.59.58-.59.98s.14.78.42 1.09.81.6 1.59.85l.65.22c1.87.64 3.22 1.42 4.04 2.35.82.93 1.23 2.01 1.23 3.24 0 1.09-.34 2.02-1.01 2.81-.67.78-1.45 1.34-2.35 1.67-.9.33-1.81.49-2.76.49-1.53 0-2.85-.35-3.94-1.06-1.09-.7-1.87-1.66-2.31-2.88l2.9-1.3c.24.62.66 1.14 1.27 1.56s1.3.62 2.09.62c.67 0 1.27-.16 1.79-.48.52-.32.78-.8.78-1.44s-.19-1.08-.56-1.4c-.38-.33-1.08-.68-2.12-1.04l-.62-.24c-1.47-.51-2.61-1.16-3.4-1.96-.8-.79-1.2-1.83-1.2-3.11s.54-2.34 1.61-3.17c1.07-.83 2.34-1.25 3.81-1.25ZM74.84 7.78c.69 0 1.39.14 2.1.41s1.38.66 2.01 1.16c.63.5 1.14 1.18 1.53 2.03.39.85.59 1.79.59 2.83 0 .46-.03.88-.1 1.25h-8.92c.19.66.56 1.18 1.11 1.57.55.39 1.14.59 1.76.59.97 0 1.7-.26 2.18-.77l2.83 1.44c-1.33 1.52-3 2.28-5.03 2.28-.67 0-1.37-.13-2.09-.4s-1.41-.64-2.06-1.14c-.66-.5-1.19-1.16-1.61-2s-.62-1.78-.62-2.82.2-1.98.6-2.83.91-1.52 1.55-2.03c.63-.5 1.31-.89 2.03-1.16s1.43-.41 2.13-.41Zm0 2.98c-.62 0-1.19.18-1.69.55-.5.37-.85.89-1.04 1.56h5.49c-.18-.67-.53-1.19-1.06-1.56-.53-.37-1.09-.55-1.7-.55ZM88.1 7.78c.89 0 1.65.19 2.27.56.62.38.93.72.95 1.04V7.92h3.43V20.4h-3.43v-1.66c-.02.32-.34.7-.96 1.15-.62.45-1.38.67-2.25.67-.67 0-1.34-.13-2.01-.4s-1.29-.65-1.87-1.15c-.58-.5-1.04-1.18-1.4-2.03-.36-.85-.54-1.8-.54-2.86 0-1.97.6-3.52 1.81-4.66 1.21-1.14 2.54-1.7 4.02-1.7Zm2.56 3.76c-.53-.55-1.19-.83-1.99-.83s-1.49.31-2.09.94c-.59.62-.89 1.46-.89 2.5s.3 1.92.89 2.54c.59.62 1.29.94 2.09.94s1.46-.28 1.99-.85.79-1.44.79-2.63-.26-2.05-.79-2.6ZM103.94 7.8c.53 0 .92.03 1.17.1v3.19c-.27-.05-.67-.07-1.2-.07-1.07 0-1.98.37-2.72 1.1s-1.17 1.7-1.28 2.88v5.4h-3.4V7.92h3.4v4.01c.14-1.25.54-2.25 1.2-3 .66-.75 1.6-1.13 2.83-1.13ZM112.14 7.78c.96 0 1.92.24 2.88.71s1.74 1.18 2.35 2.12l-3.04 1.1c-.48-.67-1.21-1.01-2.18-1.01-.78 0-1.46.32-2.04.95-.58.63-.86 1.48-.86 2.56s.29 1.85.86 2.47c.58.62 1.25.94 2.04.94.99 0 1.72-.33 2.18-.98l3.07 1.1c-.62.94-1.41 1.65-2.37 2.12-.96.47-1.92.71-2.88.71-.67 0-1.36-.13-2.07-.4-.71-.26-1.39-.64-2.04-1.14-.65-.5-1.18-1.16-1.59-2s-.62-1.78-.62-2.82.21-2.01.62-2.87c.42-.86.95-1.53 1.59-2.03s1.33-.88 2.04-1.14c.71-.26 1.4-.4 2.07-.4ZM126.16 7.8c1.29 0 2.4.45 3.31 1.34.91.9 1.37 2.26 1.37 4.08v7.18h-3.43v-6.96c0-1.81-.67-2.71-2.01-2.71-.64 0-1.22.2-1.75.61s-.9.8-1.13 1.19c-.22.38-.36.69-.41.91v6.96h-3.43V3.6h3.43v6.67c.06-.48.47-1.01 1.22-1.6.75-.58 1.69-.88 2.83-.88ZM142.75 3.6c1.93 0 3.45.5 4.55 1.5 1.1 1 1.65 2.28 1.65 3.83s-.56 2.83-1.67 3.84c-1.11 1.01-2.62 1.51-4.54 1.51h-2.33v6.12h-3.52V3.6h5.85Zm-.1 7.54c.86 0 1.54-.19 2.04-.56.5-.38.74-.92.74-1.64s-.25-1.27-.74-1.64c-.5-.38-1.17-.56-2.04-.56h-2.23v4.42h2.23ZM158.05 7.8c.53 0 .92.03 1.17.1v3.19c-.27-.05-.67-.07-1.2-.07-1.07 0-1.98.37-2.72 1.1s-1.17 1.7-1.28 2.88v5.4h-3.4V7.92h3.4v4.01c.14-1.25.54-2.25 1.2-3 .66-.75 1.6-1.13 2.83-1.13ZM163.71 8.18c.73-.27 1.43-.41 2.1-.41s1.37.14 2.09.41 1.4.66 2.05 1.16c.65.5 1.18 1.18 1.59 2.03.42.85.62 1.79.62 2.83s-.21 1.98-.62 2.82c-.42.84-.95 1.51-1.59 2-.65.5-1.33.88-2.05 1.14s-1.41.4-2.09.4-1.37-.13-2.09-.4-1.41-.64-2.06-1.14c-.66-.5-1.19-1.16-1.61-2s-.62-1.78-.62-2.82.21-1.98.62-2.83.95-1.52 1.59-2.03c.65-.5 1.33-.89 2.06-1.16Zm2.1 2.52c-.78 0-1.47.31-2.06.94-.59.62-.89 1.48-.89 2.57s.3 1.89.89 2.5c.59.61 1.28.91 2.06.91s1.45-.3 2.04-.91.89-1.44.89-2.5-.3-1.94-.89-2.57c-.59-.62-1.27-.94-2.04-.94Z"}),(0,f.jsx)("path",{className:"wdo:fill-black wdo:dark:fill-white",d:"m174.49 24.75-6.88-7.26 1.29-1.39 7.74 6.34-2.15 2.31z"})]})}),Vr=Ce(8279);const Nr=0,$r=1,Br=2,Hr=3;var zr=Object.prototype.hasOwnProperty;function Cn(e,t){var r,o;if(e===t)return!0;if(e&&t&&(r=e.constructor)===t.constructor){if(r===Date)return e.getTime()===t.getTime();if(r===RegExp)return e.toString()===t.toString();if(r===Array){if((o=e.length)===t.length)for(;o--&&Cn(e[o],t[o]););return o===-1}if(!r||typeof e=="object"){o=0;for(r in e)if(zr.call(e,r)&&++o&&!zr.call(t,r)||!(r in t)||!Cn(e[r],t[r]))return!1;return Object.keys(t).length===o}}return e!==e&&t!==t}const Je=new WeakMap,Ze=()=>{},be=Ze(),Ut=Object,Y=e=>e===be,Ve=e=>typeof e=="function",Qe=(e,t)=>({...e,...t}),Ur=e=>Ve(e.then),On={},Wt={},An="undefined",Ot=typeof window!=An,jn=typeof document!=An,ga=Ot&&"Deno"in window,ba=()=>Ot&&typeof window.requestAnimationFrame!=An,Wr=(e,t)=>{const r=Je.get(e);return[()=>!Y(t)&&e.get(t)||On,o=>{if(!Y(t)){const n=e.get(t);t in Wt||(Wt[t]=n),r[5](t,Qe(n,o),n||On)}},r[6],()=>!Y(t)&&t in Wt?Wt[t]:!Y(t)&&e.get(t)||On]};let Fn=!0;const ya=()=>Fn,[Dn,Mn]=Ot&&window.addEventListener?[window.addEventListener.bind(window),window.removeEventListener.bind(window)]:[Ze,Ze],wa=()=>{const e=jn&&document.visibilityState;return Y(e)||e!=="hidden"},xa=e=>(jn&&document.addEventListener("visibilitychange",e),Dn("focus",e),()=>{jn&&document.removeEventListener("visibilitychange",e),Mn("focus",e)}),_a=e=>{const t=()=>{Fn=!0,e()},r=()=>{Fn=!1};return Dn("online",t),Dn("offline",r),()=>{Mn("online",t),Mn("offline",r)}},Ea={isOnline:ya,isVisible:wa},Sa={initFocus:xa,initReconnect:_a},qr=!h.useId,pt=!Ot||ga,Ca=e=>ba()?window.requestAnimationFrame(e):setTimeout(e,1),qt=pt?h.useEffect:h.useLayoutEffect,In=typeof navigator<"u"&&navigator.connection,Gr=!pt&&In&&(["slow-2g","2g"].includes(In.effectiveType)||In.saveData),Gt=new WeakMap,Oa=e=>Ut.prototype.toString.call(e),Pn=(e,t)=>e===`[object ${t}]`;let Aa=0;const Rn=e=>{const t=typeof e,r=Oa(e),o=Pn(r,"Date"),n=Pn(r,"RegExp"),i=Pn(r,"Object");let a,l;if(Ut(e)===e&&!o&&!n){if(a=Gt.get(e),a)return a;if(a=++Aa+"~",Gt.set(e,a),Array.isArray(e)){for(a="@",l=0;l<e.length;l++)a+=Rn(e[l])+",";Gt.set(e,a)}if(i){a="#";const s=Ut.keys(e).sort();for(;!Y(l=s.pop());)Y(e[l])||(a+=l+":"+Rn(e[l])+",");Gt.set(e,a)}}else a=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return a},kn=e=>{if(Ve(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Rn(e):"",[e,t]};let ja=0;const Tn=()=>++ja;async function Yr(...e){const[t,r,o,n]=e,i=Qe({populateCache:!0,throwOnError:!0},typeof n=="boolean"?{revalidate:n}:n||{});let a=i.populateCache;const l=i.rollbackOnError;let s=i.optimisticData;const c=y=>typeof l=="function"?l(y):l!==!1,p=i.throwOnError;if(Ve(r)){const y=r,w=[],O=t.keys();for(const _ of O)!/^\$(inf|sub)\$/.test(_)&&y(t.get(_)._k)&&w.push(_);return Promise.all(w.map(m))}return m(r);async function m(y){const[w]=kn(y);if(!w)return;const[O,_]=Wr(t,w),[b,x,C,M]=Je.get(t),V=()=>{const fe=b[w];return(Ve(i.revalidate)?i.revalidate(O().data,y):i.revalidate!==!1)&&(delete C[w],delete M[w],fe&&fe[0])?fe[0](Br).then(()=>O().data):O().data};if(e.length<3)return V();let R=o,k,F=!1;const z=Tn();x[w]=[z,0];const W=!Y(s),se=O(),re=se.data,ue=se._c,we=Y(ue)?re:ue;if(W&&(s=Ve(s)?s(we,re):s,_({data:s,_c:we})),Ve(R))try{R=R(we)}catch(fe){k=fe,F=!0}if(R&&Ur(R))if(R=await R.catch(fe=>{k=fe,F=!0}),z!==x[w][0]){if(F)throw k;return R}else F&&W&&c(k)&&(a=!0,_({data:we,_c:be}));if(a&&!F)if(Ve(a)){const fe=a(R,we);_({data:fe,error:be,_c:be})}else _({data:R,error:be,_c:be});if(x[w][1]=Tn(),Promise.resolve(V()).then(()=>{_({_c:be})}),F){if(p)throw k;return}return R}}const Kr=(e,t)=>{for(const r in e)e[r][0]&&e[r][0](t)},Xr=(e,t)=>{if(!Je.has(e)){const r=Qe(Sa,t),o=Object.create(null),n=Yr.bind(be,e);let i=Ze;const a=Object.create(null),l=(p,m)=>{const y=a[p]||[];return a[p]=y,y.push(m),()=>y.splice(y.indexOf(m),1)},s=(p,m,y)=>{e.set(p,m);const w=a[p];if(w)for(const O of w)O(m,y)},c=()=>{if(!Je.has(e)&&(Je.set(e,[o,Object.create(null),Object.create(null),Object.create(null),n,s,l]),!pt)){const p=r.initFocus(setTimeout.bind(be,Kr.bind(be,o,Nr))),m=r.initReconnect(setTimeout.bind(be,Kr.bind(be,o,$r)));i=()=>{p&&p(),m&&m(),Je.delete(e)}}};return c(),[e,n,c,i]}return[e,Je.get(e)[4]]},Fa=(e,t,r,o,n)=>{const i=r.errorRetryCount,a=n.retryCount,l=~~((Math.random()+.5)*(1<<(a<8?a:8)))*r.errorRetryInterval;!Y(i)&&a>i||setTimeout(o,l,n)},Da=Cn,[Ln,Ma]=Xr(new Map),Jr=Qe({onLoadingSlow:Ze,onSuccess:Ze,onError:Ze,onErrorRetry:Fa,onDiscarded:Ze,revalidateOnFocus:!0,revalidateOnReconnect:!0,revalidateIfStale:!0,shouldRetryOnError:!0,errorRetryInterval:Gr?1e4:5e3,focusThrottleInterval:5*1e3,dedupingInterval:2*1e3,loadingTimeout:Gr?5e3:3e3,compare:Da,isPaused:()=>!1,cache:Ln,mutate:Ma,fallback:{}},Ea),Zr=(e,t)=>{const r=Qe(e,t);if(t){const{use:o,fallback:n}=e,{use:i,fallback:a}=t;o&&i&&(r.use=o.concat(i)),n&&a&&(r.fallback=Qe(n,a))}return r},Vn=(0,h.createContext)({}),Ia=e=>{const{value:t}=e,r=(0,h.useContext)(Vn),o=Ve(t),n=(0,h.useMemo)(()=>o?t(r):t,[o,r,t]),i=(0,h.useMemo)(()=>o?n:Zr(r,n),[o,r,n]),a=n&&n.provider,l=(0,h.useRef)(be);a&&!l.current&&(l.current=Xr(a(i.cache||Ln),n));const s=l.current;return s&&(i.cache=s[0],i.mutate=s[1]),qt(()=>{if(s)return s[2]&&s[2](),s[3]},[]),(0,h.createElement)(Vn.Provider,Qe(e,{value:i}))},Pa="$inf$",Qr=Ot&&window.__SWR_DEVTOOLS_USE__,Ra=Qr?window.__SWR_DEVTOOLS_USE__:[],ka=()=>{Qr&&(window.__SWR_DEVTOOLS_REACT__=h)},eo=e=>Ve(e[1])?[e[0],e[1],e[2]||{}]:[e[0],null,(e[1]===null?e[2]:e[1])||{}],Ta=()=>{const e=(0,h.useContext)(Vn);return(0,h.useMemo)(()=>Qe(Jr,e),[e])},of=(e,t)=>{if(IS_SERVER)return;const[r,o]=serialize(e),[,,,n]=SWRGlobalState.get(cache);if(n[r])return n[r];const i=t(o);return n[r]=i,i},La=e=>(t,r,o)=>e(t,r&&((...i)=>{const[a]=kn(t),[,,,l]=Je.get(Ln);if(a.startsWith(Pa))return r(...i);const s=l[a];return Y(s)?r(...i):(delete l[a],s)}),o),Va=Ra.concat(La),Na=e=>function(...r){const o=Ta(),[n,i,a]=eo(r),l=Zr(o,a);let s=e;const{use:c}=l,p=(c||[]).concat(Va);for(let m=p.length;m--;)s=p[m](s);return s(n,i||l.fetcher||null,l)},$a=(e,t,r)=>{const o=t[e]||(t[e]=[]);return o.push(r),()=>{const n=o.indexOf(r);n>=0&&(o[n]=o[o.length-1],o.pop())}},af=(e,t)=>(...r)=>{const[o,n,i]=eo(r),a=(i.use||[]).concat(t);return e(o,n,{...i,use:a})};ka();const Ba=void 0,Nn=null,to=e=>e===Ba,Ha=e=>typeof e=="function",Yt=new WeakMap,za=e=>Nn.prototype.toString.call(e),$n=(e,t)=>e===`[object ${t}]`;let Ua=0;const Bn=e=>{const t=typeof e,r=za(e),o=$n(r,"Date"),n=$n(r,"RegExp"),i=$n(r,"Object");let a,l;if(Nn(e)===e&&!o&&!n){if(a=Yt.get(e),a)return a;if(a=++Ua+"~",Yt.set(e,a),Array.isArray(e)){for(a="@",l=0;l<e.length;l++)a+=Bn(e[l])+",";Yt.set(e,a)}if(i){a="#";const s=Nn.keys(e).sort();for(;!to(l=s.pop());)to(e[l])||(a+=l+":"+Bn(e[l])+",");Yt.set(e,a)}}else a=o?e.toJSON():t=="symbol"?e.toString():t=="string"?JSON.stringify(e):""+e;return a},Wa=e=>{if(Ha(e))try{e=e()}catch{e=""}const t=e;return e=typeof e=="string"?e:(Array.isArray(e)?e.length:e)?Bn(e):"",[e,t]},uf=e=>Wa(e)[0],Hn=h.use||(e=>{switch(e.status){case"pending":throw e;case"fulfilled":return e.value;case"rejected":throw e.reason;default:throw e.status="pending",e.then(t=>{e.status="fulfilled",e.value=t},t=>{e.status="rejected",e.reason=t}),e}}),zn={dedupe:!0},no=Promise.resolve(be),qa=()=>Ze,Ga=(e,t,r)=>{const{cache:o,compare:n,suspense:i,fallbackData:a,revalidateOnMount:l,revalidateIfStale:s,refreshInterval:c,refreshWhenHidden:p,refreshWhenOffline:m,keepPreviousData:y,strictServerPrefetchWarning:w}=r,[O,_,b,x]=Je.get(o),[C,M]=kn(e),V=(0,h.useRef)(!1),R=(0,h.useRef)(!1),k=(0,h.useRef)(C),F=(0,h.useRef)(t),z=(0,h.useRef)(r),W=()=>z.current,se=()=>W().isVisible()&&W().isOnline(),[re,ue,we,fe]=Wr(o,C),oe=(0,h.useRef)({}).current,Q=Y(a)?Y(r.fallback)?be:r.fallback[C]:a,Pe=(te,he)=>{for(const me in oe){const ve=me;if(ve==="data"){if(!n(te[ve],he[ve])&&(!Y(te[ve])||!n(Ee,he[ve])))return!1}else if(he[ve]!==te[ve])return!1}return!0},_e=!V.current,Be=(0,h.useMemo)(()=>{const te=re(),he=fe(),me=ge=>{const He=Qe(ge);return delete He._k,(()=>{if(!C||!t||W().isPaused())return!1;if(_e&&!Y(l))return l;const $t=Y(Q)?He.data:Q;return Y($t)||s})()?{isValidating:!0,isLoading:!0,...He}:He},ve=me(te),Xe=te===he?ve:me(he);let ke=ve;return[()=>{const ge=me(re());return Pe(ge,ke)?(ke.data=ge.data,ke.isLoading=ge.isLoading,ke.isValidating=ge.isValidating,ke.error=ge.error,ke):(ke=ge,ge)},()=>Xe]},[o,C]),Ae=(0,Vr.useSyncExternalStore)((0,h.useCallback)(te=>we(C,(he,me)=>{Pe(me,he)||te()}),[o,C]),Be[0],Be[1]),Et=O[C]&&O[C].length>0,ee=Ae.data,pe=Y(ee)?Q&&Ur(Q)?Hn(Q):Q:ee,Me=Ae.error,Re=(0,h.useRef)(pe),Ee=y?Y(ee)?Y(Re.current)?pe:Re.current:ee:pe,Se=C&&Y(pe),je=(0,h.useRef)(null);!pt&&(0,Vr.useSyncExternalStore)(qa,()=>(je.current=!1,je),()=>(je.current=!0,je));const St=je.current;w&&St&&!i&&Se&&console.warn(`Missing pre-initiated data for serialized key "${C}" during server-side rendering. Data fetching should be initiated on the server and provided to SWR via fallback data. You can set "strictServerPrefetchWarning: false" to disable this warning.`);const wn=!C||!t||W().isPaused()||Et&&!Y(Me)?!1:_e&&!Y(l)?l:i?Y(pe)?!1:s:Y(pe)||s,Vt=_e&&wn,xn=Y(Ae.isValidating)?Vt:Ae.isValidating,Sr=Y(Ae.isLoading)?Vt:Ae.isLoading,ut=(0,h.useCallback)(async te=>{const he=F.current;if(!C||!he||R.current||W().isPaused())return!1;let me,ve,Xe=!0;const ke=te||{},ge=!b[C]||!ke.dedupe,He=()=>qr?!R.current&&C===k.current&&V.current:C===k.current,Nt={isValidating:!1,isLoading:!1},$t=()=>{ue(Nt)},Ni=()=>{const Te=b[C];Te&&Te[1]===ve&&delete b[C]},$i={isValidating:!0};Y(re().data)&&($i.isLoading=!0);try{if(ge&&(ue($i),r.loadingTimeout&&Y(re().data)&&setTimeout(()=>{Xe&&He()&&W().onLoadingSlow(C,r)},r.loadingTimeout),b[C]=[he(M),Tn()]),[me,ve]=b[C],me=await me,ge&&setTimeout(Ni,r.dedupingInterval),!b[C]||b[C][1]!==ve)return ge&&He()&&W().onDiscarded(C),!1;Nt.error=be;const Te=_[C];if(!Y(Te)&&(ve<=Te[0]||ve<=Te[1]||Te[1]===0))return $t(),ge&&He()&&W().onDiscarded(C),!1;const nt=re().data;Nt.data=n(nt,me)?nt:me,ge&&He()&&W().onSuccess(me,C,r)}catch(Te){Ni();const nt=W(),{shouldRetryOnError:Cr}=nt;nt.isPaused()||(Nt.error=Te,ge&&He()&&(nt.onError(Te,C,nt),(Cr===!0||Ve(Cr)&&Cr(Te))&&(!W().revalidateOnFocus||!W().revalidateOnReconnect||se())&&nt.onErrorRetry(Te,C,nt,Fd=>{const Or=O[C];Or&&Or[0]&&Or[0](Hr,Fd)},{retryCount:(ke.retryCount||0)+1,dedupe:!0})))}return Xe=!1,$t(),!0},[C,o]),_n=(0,h.useCallback)((...te)=>Yr(o,k.current,...te),[]);if(qt(()=>{F.current=t,z.current=r,Y(ee)||(Re.current=ee)}),qt(()=>{if(!C)return;const te=ut.bind(be,zn);let he=0;W().revalidateOnFocus&&(he=Date.now()+W().focusThrottleInterval);const ve=$a(C,O,(Xe,ke={})=>{if(Xe==Nr){const ge=Date.now();W().revalidateOnFocus&&ge>he&&se()&&(he=ge+W().focusThrottleInterval,te())}else if(Xe==$r)W().revalidateOnReconnect&&se()&&te();else{if(Xe==Br)return ut();if(Xe==Hr)return ut(ke)}});return R.current=!1,k.current=C,V.current=!0,ue({_k:M}),wn&&(b[C]||(Y(pe)||pt?te():Ca(te))),()=>{R.current=!0,ve()}},[C]),qt(()=>{let te;function he(){const ve=Ve(c)?c(re().data):c;ve&&te!==-1&&(te=setTimeout(me,ve))}function me(){!re().error&&(p||W().isVisible())&&(m||W().isOnline())?ut(zn).then(he):he()}return he(),()=>{te&&(clearTimeout(te),te=-1)}},[c,p,m,C]),(0,h.useDebugValue)(Ee),i){if(!qr&&pt&&Se)throw new Error("Fallback data is required when using Suspense in SSR.");Se&&(F.current=t,z.current=r,R.current=!1);const te=x[C],he=!Y(te)&&Se?_n(te):no;if(Hn(he),!Y(Me)&&Se)throw Me;const me=Se?ut(zn):no;!Y(Ee)&&Se&&(me.status="fulfilled",me.value=!0),Hn(me)}return{mutate:_n,get data(){return oe.data=!0,Ee},get error(){return oe.error=!0,Me},get isValidating(){return oe.isValidating=!0,xn},get isLoading(){return oe.isLoading=!0,Sr}}},lf=Ut.defineProperty(Ia,"defaultValue",{value:Jr}),Kt=Na(Ga);var Ya=()=>Kt("/ajax-search-pro/options/compatibility",e=>u()({path:e}),{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1,revalidateOnMount:!0});const ro=(0,h.createContext)(null),At=()=>{const e=(0,h.useContext)(ro);if(e===null)throw new Error("useCompatibility must be used within a CompatibilityProvider");return e},Ka=({children:e})=>{const{data:t,isLoading:r,error:o,mutate:n}=Ya(),{addSuccess:i,addError:a}=Ir(),[l,s]=(0,h.useState)(null),[c,p]=(0,h.useState)(!1),[m,y]=(0,h.useState)(!1);(0,h.useEffect)(()=>{t!==void 0&&s(t.options)},[r]),(0,h.useEffect)(()=>{o!==void 0&&a(o)},[o]);const w=(b,x)=>{s(C=>C===null?C:{...C,[b]:x})},O=()=>{l!==null&&(p(!0),u()({path:"/ajax-search-pro/options/compatibility",headers:{"Content-Type":"application/json"},method:"POST",body:JSON.stringify({options:l})}).then(()=>{i((0,S.__)("Settings saved.","ajax-search-pro"))}).catch(b=>{a(b)}).finally(()=>{n(),p(!1)}))},_=()=>{y(!0),u()({path:"/ajax-search-pro/options/compatibility/reset",headers:{"Content-Type":"application/json"},method:"POST"}).then(b=>{s(b),i((0,S.__)("Compatibility settings reset to defaults!","ajax-search-pro"))}).catch(b=>{a(b)}).finally(()=>{n(),y(!1)})};return(0,f.jsx)(ro.Provider,{value:{options:l,setOption:w,save:O,reset:_,saving:c,resetting:m,isLoading:r,error:o},children:e})};function ct(e){"@babel/helpers - typeof";return ct=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ct(e)}function Xa(e,t){if(ct(e)!="object"||!e)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var o=r.call(e,t||"default");if(ct(o)!="object")return o;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function oo(e){var t=Xa(e,"string");return ct(t)=="symbol"?t:t+""}function jt(e,t,r){return(t=oo(t))in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function io(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);t&&(o=o.filter(function(n){return Object.getOwnPropertyDescriptor(e,n).enumerable})),r.push.apply(r,o)}return r}function B(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?io(Object(r),!0).forEach(function(o){jt(e,o,r[o])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):io(Object(r)).forEach(function(o){Object.defineProperty(e,o,Object.getOwnPropertyDescriptor(r,o))})}return e}function Ja(e){if(Array.isArray(e))return e}function Za(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var o,n,i,a,l=[],s=!0,c=!1;try{if(i=(r=r.call(e)).next,t===0){if(Object(r)!==r)return;s=!1}else for(;!(s=(o=i.call(r)).done)&&(l.push(o.value),l.length!==t);s=!0);}catch(p){c=!0,n=p}finally{try{if(!s&&r.return!=null&&(a=r.return(),Object(a)!==a))return}finally{if(c)throw n}}return l}}function Un(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,o=Array(t);r<t;r++)o[r]=e[r];return o}function ao(e,t){if(e){if(typeof e=="string")return Un(e,t);var r={}.toString.call(e).slice(8,-1);return r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set"?Array.from(e):r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Un(e,t):void 0}}function Qa(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function et(e,t){return Ja(e)||Za(e,t)||ao(e,t)||Qa()}function es(e,t){if(e==null)return{};var r={};for(var o in e)if({}.hasOwnProperty.call(e,o)){if(t.indexOf(o)!==-1)continue;r[o]=e[o]}return r}function tt(e,t){if(e==null)return{};var r,o,n=es(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(o=0;o<i.length;o++)r=i[o],t.indexOf(r)===-1&&{}.propertyIsEnumerable.call(e,r)&&(n[r]=e[r])}return n}var ts=["defaultInputValue","defaultMenuIsOpen","defaultValue","inputValue","menuIsOpen","onChange","onInputChange","onMenuClose","onMenuOpen","value"];function ns(e){var t=e.defaultInputValue,r=t===void 0?"":t,o=e.defaultMenuIsOpen,n=o===void 0?!1:o,i=e.defaultValue,a=i===void 0?null:i,l=e.inputValue,s=e.menuIsOpen,c=e.onChange,p=e.onInputChange,m=e.onMenuClose,y=e.onMenuOpen,w=e.value,O=tt(e,ts),_=(0,h.useState)(l!==void 0?l:r),b=et(_,2),x=b[0],C=b[1],M=(0,h.useState)(s!==void 0?s:n),V=et(M,2),R=V[0],k=V[1],F=(0,h.useState)(w!==void 0?w:a),z=et(F,2),W=z[0],se=z[1],re=(0,h.useCallback)(function(_e,Be){typeof c=="function"&&c(_e,Be),se(_e)},[c]),ue=(0,h.useCallback)(function(_e,Be){var Ae;typeof p=="function"&&(Ae=p(_e,Be)),C(Ae!==void 0?Ae:_e)},[p]),we=(0,h.useCallback)(function(){typeof y=="function"&&y(),k(!0)},[y]),fe=(0,h.useCallback)(function(){typeof m=="function"&&m(),k(!1)},[m]),oe=l!==void 0?l:x,Q=s!==void 0?s:R,Pe=w!==void 0?w:W;return B(B({},O),{},{inputValue:oe,menuIsOpen:Q,onChange:re,onInputChange:ue,onMenuClose:fe,onMenuOpen:we,value:Pe})}function H(){return H=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var r=arguments[t];for(var o in r)({}).hasOwnProperty.call(r,o)&&(e[o]=r[o])}return e},H.apply(null,arguments)}function rs(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function so(e,t){for(var r=0;r<t.length;r++){var o=t[r];o.enumerable=o.enumerable||!1,o.configurable=!0,"value"in o&&(o.writable=!0),Object.defineProperty(e,oo(o.key),o)}}function os(e,t,r){return t&&so(e.prototype,t),r&&so(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Wn(e,t){return Wn=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,o){return r.__proto__=o,r},Wn(e,t)}function is(e,t){if(typeof t!="function"&&t!==null)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&&Wn(e,t)}function Xt(e){return Xt=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(t){return t.__proto__||Object.getPrototypeOf(t)},Xt(e)}function uo(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch{}return(uo=function(){return!!e})()}function as(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function ss(e,t){if(t&&(ct(t)=="object"||typeof t=="function"))return t;if(t!==void 0)throw new TypeError("Derived constructors may only return object or undefined");return as(e)}function us(e){var t=uo();return function(){var r,o=Xt(e);if(t){var n=Xt(this).constructor;r=Reflect.construct(o,arguments,n)}else r=o.apply(this,arguments);return ss(this,r)}}function ls(e){if(Array.isArray(e))return Un(e)}function cs(e){if(typeof Symbol<"u"&&e[Symbol.iterator]!=null||e["@@iterator"]!=null)return Array.from(e)}function ds(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function qn(e){return ls(e)||cs(e)||ao(e)||ds()}var fs=!1;function ps(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]}function hs(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),e.nonce!==void 0&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}var ms=(function(){function e(r){var o=this;this._insertTag=function(n){var i;o.tags.length===0?o.insertionPoint?i=o.insertionPoint.nextSibling:o.prepend?i=o.container.firstChild:i=o.before:i=o.tags[o.tags.length-1].nextSibling,o.container.insertBefore(n,i),o.tags.push(n)},this.isSpeedy=r.speedy===void 0?!fs:r.speedy,this.tags=[],this.ctr=0,this.nonce=r.nonce,this.key=r.key,this.container=r.container,this.prepend=r.prepend,this.insertionPoint=r.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(o){o.forEach(this._insertTag)},t.insert=function(o){this.ctr%(this.isSpeedy?65e3:1)===0&&this._insertTag(hs(this));var n=this.tags[this.tags.length-1];if(this.isSpeedy){var i=ps(n);try{i.insertRule(o,i.cssRules.length)}catch{}}else n.appendChild(document.createTextNode(o));this.ctr++},t.flush=function(){this.tags.forEach(function(o){var n;return(n=o.parentNode)==null?void 0:n.removeChild(o)}),this.tags=[],this.ctr=0},e})(),vs=Math.abs,Jt=String.fromCharCode,gs=Object.assign;function bs(e,t){return ye(e,0)^45?(((t<<2^ye(e,0))<<2^ye(e,1))<<2^ye(e,2))<<2^ye(e,3):0}function lo(e){return e.trim()}function ys(e,t){return(e=t.exec(e))?e[0]:e}function J(e,t,r){return e.replace(t,r)}function Gn(e,t){return e.indexOf(t)}function ye(e,t){return e.charCodeAt(t)|0}function Ft(e,t,r){return e.slice(t,r)}function Ue(e){return e.length}function Yn(e){return e.length}function Zt(e,t){return t.push(e),e}function ws(e,t){return e.map(t).join("")}var Qt=1,ht=1,co=0,Oe=0,ae=0,mt="";function en(e,t,r,o,n,i,a){return{value:e,root:t,parent:r,type:o,props:n,children:i,line:Qt,column:ht,length:a,return:""}}function Dt(e,t){return gs(en("",null,null,"",null,null,0),e,{length:-e.length},t)}function xs(){return ae}function _s(){return ae=Oe>0?ye(mt,--Oe):0,ht--,ae===10&&(ht=1,Qt--),ae}function Fe(){return ae=Oe<co?ye(mt,Oe++):0,ht++,ae===10&&(ht=1,Qt++),ae}function We(){return ye(mt,Oe)}function tn(){return Oe}function Mt(e,t){return Ft(mt,e,t)}function vt(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 Kn(e){return Qt=ht=1,co=Ue(mt=e),Oe=0,[]}function Xn(e){return mt="",e}function It(e){return lo(Mt(Oe-1,Jn(e===91?e+2:e===40?e+1:e)))}function df(e){return Xn(Ss(Kn(e)))}function Es(e){for(;(ae=We())&&ae<33;)Fe();return vt(e)>2||vt(ae)>3?"":" "}function Ss(e){for(;Fe();)switch(vt(ae)){case 0:append(fo(Oe-1),e);break;case 2:append(It(ae),e);break;default:append(from(ae),e)}return e}function Cs(e,t){for(;--t&&Fe()&&!(ae<48||ae>102||ae>57&&ae<65||ae>70&&ae<97););return Mt(e,tn()+(t<6&&We()==32&&Fe()==32))}function Jn(e){for(;Fe();)switch(ae){case e:return Oe;case 34:case 39:e!==34&&e!==39&&Jn(ae);break;case 40:e===41&&Jn(e);break;case 92:Fe();break}return Oe}function Os(e,t){for(;Fe()&&e+ae!==57;)if(e+ae===84&&We()===47)break;return"/*"+Mt(t,Oe-1)+"*"+Jt(e===47?e:Fe())}function fo(e){for(;!vt(We());)Fe();return Mt(e,Oe)}var xe="-ms-",nn="-moz-",Z="-webkit-",po="comm",Zn="rule",Qn="decl",ff="@page",pf="@media",As="@import",hf="@charset",mf="@viewport",vf="@supports",gf="@document",bf="@namespace",ho="@keyframes",yf="@font-face",wf="@counter-style",xf="@font-feature-values",js="@layer";function gt(e,t){for(var r="",o=Yn(e),n=0;n<o;n++)r+=t(e[n],n,e,t)||"";return r}function Fs(e,t,r,o){switch(e.type){case js:if(e.children.length)break;case As:case Qn:return e.return=e.return||e.value;case po:return"";case ho:return e.return=e.value+"{"+gt(e.children,o)+"}";case Zn:e.value=e.props.join(",")}return Ue(r=gt(e.children,o))?e.return=e.value+"{"+r+"}":""}function Ds(e){var t=Yn(e);return function(r,o,n,i){for(var a="",l=0;l<t;l++)a+=e[l](r,o,n,i)||"";return a}}function Ms(e){return function(t){t.root||(t=t.return)&&e(t)}}function _f(e,t,r,o){if(e.length>-1&&!e.return)switch(e.type){case DECLARATION:e.return=prefix(e.value,e.length,r);return;case KEYFRAMES:return serialize([copy(e,{value:replace(e.value,"@","@"+WEBKIT)})],o);case RULESET:if(e.length)return combine(e.props,function(n){switch(match(n,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return serialize([copy(e,{props:[replace(n,/:(read-\w+)/,":"+MOZ+"$1")]})],o);case"::placeholder":return serialize([copy(e,{props:[replace(n,/:(plac\w+)/,":"+WEBKIT+"input-$1")]}),copy(e,{props:[replace(n,/:(plac\w+)/,":"+MOZ+"$1")]}),copy(e,{props:[replace(n,/:(plac\w+)/,MS+"input-$1")]})],o)}return""})}}function Ef(e){switch(e.type){case RULESET:e.props=e.props.map(function(t){return combine(tokenize(t),function(r,o,n){switch(charat(r,0)){case 12:return substr(r,1,strlen(r));case 0:case 40:case 43:case 62:case 126:return r;case 58:n[++o]==="global"&&(n[o]="",n[++o]="\f"+substr(n[o],o=1,-1));case 32:return o===1?"":r;default:switch(o){case 0:return e=r,sizeof(n)>1?"":r;case(o=sizeof(n)-1):case 2:return o===2?r+e+e:r+e;default:return r}}})})}}function Is(e){return Xn(rn("",null,null,null,[""],e=Kn(e),0,[0],e))}function rn(e,t,r,o,n,i,a,l,s){for(var c=0,p=0,m=a,y=0,w=0,O=0,_=1,b=1,x=1,C=0,M="",V=n,R=i,k=o,F=M;b;)switch(O=C,C=Fe()){case 40:if(O!=108&&ye(F,m-1)==58){Gn(F+=J(It(C),"&","&\f"),"&\f")!=-1&&(x=-1);break}case 34:case 39:case 91:F+=It(C);break;case 9:case 10:case 13:case 32:F+=Es(O);break;case 92:F+=Cs(tn()-1,7);continue;case 47:switch(We()){case 42:case 47:Zt(Ps(Os(Fe(),tn()),t,r),s);break;default:F+="/"}break;case 123*_:l[c++]=Ue(F)*x;case 125*_:case 59:case 0:switch(C){case 0:case 125:b=0;case 59+p:x==-1&&(F=J(F,/\f/g,"")),w>0&&Ue(F)-m&&Zt(w>32?vo(F+";",o,r,m-1):vo(J(F," ","")+";",o,r,m-2),s);break;case 59:F+=";";default:if(Zt(k=mo(F,t,r,c,p,n,l,M,V=[],R=[],m),i),C===123)if(p===0)rn(F,t,k,k,V,i,m,l,R);else switch(y===99&&ye(F,3)===110?100:y){case 100:case 108:case 109:case 115:rn(e,k,k,o&&Zt(mo(e,k,k,0,0,n,l,M,n,V=[],m),R),n,R,m,l,o?V:R);break;default:rn(F,k,k,k,[""],R,0,l,R)}}c=p=w=0,_=x=1,M=F="",m=a;break;case 58:m=1+Ue(F),w=O;default:if(_<1){if(C==123)--_;else if(C==125&&_++==0&&_s()==125)continue}switch(F+=Jt(C),C*_){case 38:x=p>0?1:(F+="\f",-1);break;case 44:l[c++]=(Ue(F)-1)*x,x=1;break;case 64:We()===45&&(F+=It(Fe())),y=We(),p=m=Ue(M=F+=fo(tn())),C++;break;case 45:O===45&&Ue(F)==2&&(_=0)}}return i}function mo(e,t,r,o,n,i,a,l,s,c,p){for(var m=n-1,y=n===0?i:[""],w=Yn(y),O=0,_=0,b=0;O<o;++O)for(var x=0,C=Ft(e,m+1,m=vs(_=a[O])),M=e;x<w;++x)(M=lo(_>0?y[x]+" "+C:J(C,/&\f/g,y[x])))&&(s[b++]=M);return en(e,t,r,n===0?Zn:l,s,c,p)}function Ps(e,t,r){return en(e,t,r,po,Jt(xs()),Ft(e,2,-2),0)}function vo(e,t,r,o){return en(e,t,r,Qn,Ft(e,0,o),Ft(e,o+1,-1),o)}var Rs=function(t,r,o){for(var n=0,i=0;n=i,i=We(),n===38&&i===12&&(r[o]=1),!vt(i);)Fe();return Mt(t,Oe)},ks=function(t,r){var o=-1,n=44;do switch(vt(n)){case 0:n===38&&We()===12&&(r[o]=1),t[o]+=Rs(Oe-1,r,o);break;case 2:t[o]+=It(n);break;case 4:if(n===44){t[++o]=We()===58?"&\f":"",r[o]=t[o].length;break}default:t[o]+=Jt(n)}while(n=Fe());return t},Ts=function(t,r){return Xn(ks(Kn(t),r))},go=new WeakMap,Ls=function(t){if(!(t.type!=="rule"||!t.parent||t.length<1)){for(var r=t.value,o=t.parent,n=t.column===o.column&&t.line===o.line;o.type!=="rule";)if(o=o.parent,!o)return;if(!(t.props.length===1&&r.charCodeAt(0)!==58&&!go.get(o))&&!n){go.set(t,!0);for(var i=[],a=Ts(r,i),l=o.props,s=0,c=0;s<a.length;s++)for(var p=0;p<l.length;p++,c++)t.props[c]=i[s]?a[s].replace(/&\f/g,l[p]):l[p]+" "+a[s]}}},Vs=function(t){if(t.type==="decl"){var r=t.value;r.charCodeAt(0)===108&&r.charCodeAt(2)===98&&(t.return="",t.value="")}};function bo(e,t){switch(bs(e,t)){case 5103:return Z+"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 Z+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return Z+e+nn+e+xe+e+e;case 6828:case 4268:return Z+e+xe+e+e;case 6165:return Z+e+xe+"flex-"+e+e;case 5187:return Z+e+J(e,/(\w+).+(:[^]+)/,Z+"box-$1$2"+xe+"flex-$1$2")+e;case 5443:return Z+e+xe+"flex-item-"+J(e,/flex-|-self/,"")+e;case 4675:return Z+e+xe+"flex-line-pack"+J(e,/align-content|flex-|-self/,"")+e;case 5548:return Z+e+xe+J(e,"shrink","negative")+e;case 5292:return Z+e+xe+J(e,"basis","preferred-size")+e;case 6060:return Z+"box-"+J(e,"-grow","")+Z+e+xe+J(e,"grow","positive")+e;case 4554:return Z+J(e,/([^-])(transform)/g,"$1"+Z+"$2")+e;case 6187:return J(J(J(e,/(zoom-|grab)/,Z+"$1"),/(image-set)/,Z+"$1"),e,"")+e;case 5495:case 3959:return J(e,/(image-set\([^]*)/,Z+"$1$`$1");case 4968:return J(J(e,/(.+:)(flex-)?(.*)/,Z+"box-pack:$3"+xe+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+Z+e+e;case 4095:case 3583:case 4068:case 2532:return J(e,/(.+)-inline(.+)/,Z+"$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(Ue(e)-1-t>6)switch(ye(e,t+1)){case 109:if(ye(e,t+4)!==45)break;case 102:return J(e,/(.+:)(.+)-([^]+)/,"$1"+Z+"$2-$3$1"+nn+(ye(e,t+3)==108?"$3":"$2-$3"))+e;case 115:return~Gn(e,"stretch")?bo(J(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(ye(e,t+1)!==115)break;case 6444:switch(ye(e,Ue(e)-3-(~Gn(e,"!important")&&10))){case 107:return J(e,":",":"+Z)+e;case 101:return J(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+Z+(ye(e,14)===45?"inline-":"")+"box$3$1"+Z+"$2$3$1"+xe+"$2box$3")+e}break;case 5936:switch(ye(e,t+11)){case 114:return Z+e+xe+J(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return Z+e+xe+J(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return Z+e+xe+J(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return Z+e+xe+e+e}return e}var Ns=function(t,r,o,n){if(t.length>-1&&!t.return)switch(t.type){case Qn:t.return=bo(t.value,t.length);break;case ho:return gt([Dt(t,{value:J(t.value,"@","@"+Z)})],n);case Zn:if(t.length)return ws(t.props,function(i){switch(ys(i,/(::plac\w+|:read-\w+)/)){case":read-only":case":read-write":return gt([Dt(t,{props:[J(i,/:(read-\w+)/,":"+nn+"$1")]})],n);case"::placeholder":return gt([Dt(t,{props:[J(i,/:(plac\w+)/,":"+Z+"input-$1")]}),Dt(t,{props:[J(i,/:(plac\w+)/,":"+nn+"$1")]}),Dt(t,{props:[J(i,/:(plac\w+)/,xe+"input-$1")]})],n)}return""})}},$s=[Ns],Bs=function(t){var r=t.key;if(r==="css"){var o=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(o,function(_){var b=_.getAttribute("data-emotion");b.indexOf(" ")!==-1&&(document.head.appendChild(_),_.setAttribute("data-s",""))})}var n=t.stylisPlugins||$s,i={},a,l=[];a=t.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+r+' "]'),function(_){for(var b=_.getAttribute("data-emotion").split(" "),x=1;x<b.length;x++)i[b[x]]=!0;l.push(_)});var s,c=[Ls,Vs];{var p,m=[Fs,Ms(function(_){p.insert(_)})],y=Ds(c.concat(n,m)),w=function(b){return gt(Is(b),y)};s=function(b,x,C,M){p=C,w(b?b+"{"+x.styles+"}":x.styles),M&&(O.inserted[x.name]=!0)}}var O={key:r,sheet:new ms({key:r,container:a,nonce:t.nonce,speedy:t.speedy,prepend:t.prepend,insertionPoint:t.insertionPoint}),nonce:t.nonce,inserted:i,registered:{},insert:s};return O.sheet.hydrate(l),O},Hs=!0;function zs(e,t,r){var o="";return r.split(" ").forEach(function(n){e[n]!==void 0?t.push(e[n]+";"):n&&(o+=n+" ")}),o}var yo=function(t,r,o){var n=t.key+"-"+r.name;(o===!1||Hs===!1)&&t.registered[n]===void 0&&(t.registered[n]=r.styles)},Us=function(t,r,o){yo(t,r,o);var n=t.key+"-"+r.name;if(t.inserted[r.name]===void 0){var i=r;do t.insert(r===i?"."+n:"",i,t.sheet,!0),i=i.next;while(i!==void 0)}};function Ws(e){for(var t=0,r,o=0,n=e.length;n>=4;++o,n-=4)r=e.charCodeAt(o)&255|(e.charCodeAt(++o)&255)<<8|(e.charCodeAt(++o)&255)<<16|(e.charCodeAt(++o)&255)<<24,r=(r&65535)*1540483477+((r>>>16)*59797<<16),r^=r>>>24,t=(r&65535)*1540483477+((r>>>16)*59797<<16)^(t&65535)*1540483477+((t>>>16)*59797<<16);switch(n){case 3:t^=(e.charCodeAt(o+2)&255)<<16;case 2:t^=(e.charCodeAt(o+1)&255)<<8;case 1:t^=e.charCodeAt(o)&255,t=(t&65535)*1540483477+((t>>>16)*59797<<16)}return t^=t>>>13,t=(t&65535)*1540483477+((t>>>16)*59797<<16),((t^t>>>15)>>>0).toString(36)}var qs={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 Gs(e){var t=Object.create(null);return function(r){return t[r]===void 0&&(t[r]=e(r)),t[r]}}var Ys=!1,Ks=/[A-Z]|^ms/g,Xs=/_EMO_([^_]+?)_([^]*?)_EMO_/g,wo=function(t){return t.charCodeAt(1)===45},xo=function(t){return t!=null&&typeof t!="boolean"},er=Gs(function(e){return wo(e)?e:e.replace(Ks,"-$&").toLowerCase()}),_o=function(t,r){switch(t){case"animation":case"animationName":if(typeof r=="string")return r.replace(Xs,function(o,n,i){return qe={name:n,styles:i,next:qe},n})}return qs[t]!==1&&!wo(t)&&typeof r=="number"&&r!==0?r+"px":r},Js="Component selectors can only be used in conjunction with @emotion/babel-plugin, the swc Emotion plugin, or another Emotion-aware compiler transform.";function Pt(e,t,r){if(r==null)return"";var o=r;if(o.__emotion_styles!==void 0)return o;switch(typeof r){case"boolean":return"";case"object":{var n=r;if(n.anim===1)return qe={name:n.name,styles:n.styles,next:qe},n.name;var i=r;if(i.styles!==void 0){var a=i.next;if(a!==void 0)for(;a!==void 0;)qe={name:a.name,styles:a.styles,next:qe},a=a.next;var l=i.styles+";";return l}return Zs(e,t,r)}case"function":{if(e!==void 0){var s=qe,c=r(e);return qe=s,Pt(e,t,c)}break}}var p=r;if(t==null)return p;var m=t[p];return m!==void 0?m:p}function Zs(e,t,r){var o="";if(Array.isArray(r))for(var n=0;n<r.length;n++)o+=Pt(e,t,r[n])+";";else for(var i in r){var a=r[i];if(typeof a!="object"){var l=a;t!=null&&t[l]!==void 0?o+=i+"{"+t[l]+"}":xo(l)&&(o+=er(i)+":"+_o(i,l)+";")}else{if(i==="NO_COMPONENT_SELECTOR"&&Ys)throw new Error(Js);if(Array.isArray(a)&&typeof a[0]=="string"&&(t==null||t[a[0]]===void 0))for(var s=0;s<a.length;s++)xo(a[s])&&(o+=er(i)+":"+_o(i,a[s])+";");else{var c=Pt(e,t,a);switch(i){case"animation":case"animationName":{o+=er(i)+":"+c+";";break}default:o+=i+"{"+c+"}"}}}}return o}var Eo=/label:\s*([^\s;{]+)\s*(;|$)/g,qe;function So(e,t,r){if(e.length===1&&typeof e[0]=="object"&&e[0]!==null&&e[0].styles!==void 0)return e[0];var o=!0,n="";qe=void 0;var i=e[0];if(i==null||i.raw===void 0)o=!1,n+=Pt(r,t,i);else{var a=i;n+=a[0]}for(var l=1;l<e.length;l++)if(n+=Pt(r,t,e[l]),o){var s=i;n+=s[l]}Eo.lastIndex=0;for(var c="",p;(p=Eo.exec(n))!==null;)c+="-"+p[1];var m=Ws(n)+c;return{name:m,styles:n,next:qe}}var Qs=function(t){return t()},Co=h.useInsertionEffect?h.useInsertionEffect:!1,eu=Co||Qs,Sf=Co||h.useLayoutEffect,tu=!1,tr=h.createContext(typeof HTMLElement<"u"?Bs({key:"css"}):null),Cf=tr.Provider,Of=function(){return useContext(tr)},nu=function(t){return(0,h.forwardRef)(function(r,o){var n=(0,h.useContext)(tr);return t(r,n,o)})},Rt=h.createContext({}),Af=function(){return React.useContext(Rt)},jf=function(t,r){if(typeof r=="function"){var o=r(t);return o}return _extends({},t,r)},ru=null,Ff=function(t){var r=React.useContext(Rt);return t.theme!==r&&(r=ru(r)(t.theme)),React.createElement(Rt.Provider,{value:r},t.children)};function Df(e){var t=e.displayName||e.name||"Component",r=React.forwardRef(function(n,i){var a=React.useContext(Rt);return React.createElement(e,_extends({theme:a,ref:i},n))});return r.displayName="WithTheme("+t+")",hoistNonReactStatics(r,e)}var nr={}.hasOwnProperty,rr="__EMOTION_TYPE_PLEASE_DO_NOT_USE__",ou=function(t,r){var o={};for(var n in r)nr.call(r,n)&&(o[n]=r[n]);return o[rr]=t,o},iu=function(t){var r=t.cache,o=t.serialized,n=t.isStringTag;return yo(r,o,n),eu(function(){return Us(r,o,n)}),null},au=nu(function(e,t,r){var o=e.css;typeof o=="string"&&t.registered[o]!==void 0&&(o=t.registered[o]);var n=e[rr],i=[o],a="";typeof e.className=="string"?a=zs(t.registered,i,e.className):e.className!=null&&(a=e.className+" ");var l=So(i,void 0,h.useContext(Rt));a+=t.key+"-"+l.name;var s={};for(var c in e)nr.call(e,c)&&c!=="css"&&c!==rr&&!tu&&(s[c]=e[c]);return s.className=a,r&&(s.ref=r),h.createElement(h.Fragment,null,h.createElement(iu,{cache:t,serialized:l,isStringTag:typeof n=="string"}),h.createElement(n,s))}),su=au,Mf=Ce(7621),N=function(t,r){var o=arguments;if(r==null||!nr.call(r,"css"))return h.createElement.apply(void 0,o);var n=o.length,i=new Array(n);i[0]=su,i[1]=ou(t,r);for(var a=2;a<n;a++)i[a]=o[a];return h.createElement.apply(null,i)};(function(e){var t;t||(t=e.JSX||(e.JSX={}))})(N||(N={}));var If=null;function or(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return So(t)}function uu(){var e=or.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_"}}}var Pf=function e(t){for(var r=t.length,o=0,n="";o<r;o++){var i=t[o];if(i!=null){var a=void 0;switch(typeof i){case"boolean":break;case"object":{if(Array.isArray(i))a=e(i);else{a="";for(var l in i)i[l]&&l&&(a&&(a+=" "),a+=l)}break}default:a=i}a&&(n&&(n+=" "),n+=a)}}return n};function Rf(e,t,r){var o=[],n=getRegisteredStyles(e,o,r);return o.length<2?r:n+t(o)}var kf=function(t){var r=t.cache,o=t.serializedArr;return useInsertionEffectAlwaysWithSyncFallback(function(){for(var n=0;n<o.length;n++)insertStyles(r,o[n],!1)}),null},Tf=null;function lu(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}const Lf=null,Vf=null,Nf=null,on=Math.min,dt=Math.max,an=Math.round,sn=Math.floor,Ge=e=>({x:e,y:e}),cu={left:"right",right:"left",bottom:"top",top:"bottom"},du={start:"end",end:"start"};function $f(e,t,r){return dt(e,on(t,r))}function Bf(e,t){return typeof e=="function"?e(t):e}function Oo(e){return e.split("-")[0]}function Ao(e){return e.split("-")[1]}function fu(e){return e==="x"?"y":"x"}function pu(e){return e==="y"?"height":"width"}const hu=new Set(["top","bottom"]);function mu(e){return hu.has(Oo(e))?"y":"x"}function vu(e){return fu(mu(e))}function Hf(e,t,r){r===void 0&&(r=!1);const o=Ao(e),n=vu(e),i=pu(n);let a=n==="x"?o===(r?"end":"start")?"right":"left":o==="start"?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=ar(a)),[a,ar(a)]}function zf(e){const t=ar(e);return[ir(e),t,ir(t)]}function ir(e){return e.replace(/start|end/g,t=>du[t])}const jo=null,Fo=null,gu=null,bu=null;function yu(e,t,r){switch(e){case"top":case"bottom":return r?t?Fo:jo:t?jo:Fo;case"left":case"right":return t?gu:bu;default:return[]}}function Uf(e,t,r,o){const n=Ao(e);let i=yu(Oo(e),r==="start",o);return n&&(i=i.map(a=>a+"-"+n),t&&(i=i.concat(i.map(ir)))),i}function ar(e){return e.replace(/left|right|bottom|top/g,t=>cu[t])}function wu(e){return{top:0,right:0,bottom:0,left:0,...e}}function Wf(e){return typeof e!="number"?wu(e):{top:e,right:e,bottom:e,left:e}}function Do(e){const{x:t,y:r,width:o,height:n}=e;return{width:o,height:n,top:r,left:t,right:t+o,bottom:r+n,x:t,y:r}}function un(){return typeof window<"u"}function bt(e){return Mo(e)?(e.nodeName||"").toLowerCase():"#document"}function Ie(e){var t;return(e==null||(t=e.ownerDocument)==null?void 0:t.defaultView)||window}function Ye(e){var t;return(t=(Mo(e)?e.ownerDocument:e.document)||window.document)==null?void 0:t.documentElement}function Mo(e){return un()?e instanceof Node||e instanceof Ie(e).Node:!1}function Ne(e){return un()?e instanceof Element||e instanceof Ie(e).Element:!1}function Ke(e){return un()?e instanceof HTMLElement||e instanceof Ie(e).HTMLElement:!1}function Io(e){return!un()||typeof ShadowRoot>"u"?!1:e instanceof ShadowRoot||e instanceof Ie(e).ShadowRoot}const xu=new Set(["inline","contents"]);function kt(e){const{overflow:t,overflowX:r,overflowY:o,display:n}=$e(e);return/auto|scroll|overlay|hidden|clip/.test(t+o+r)&&!xu.has(n)}const _u=new Set(["table","td","th"]);function Eu(e){return _u.has(bt(e))}const Su=[":popover-open",":modal"];function ln(e){return Su.some(t=>{try{return e.matches(t)}catch{return!1}})}const Cu=["transform","translate","scale","rotate","perspective"],Ou=["transform","translate","scale","rotate","perspective","filter"],Au=["paint","layout","strict","content"];function sr(e){const t=ur(),r=Ne(e)?$e(e):e;return Cu.some(o=>r[o]?r[o]!=="none":!1)||(r.containerType?r.containerType!=="normal":!1)||!t&&(r.backdropFilter?r.backdropFilter!=="none":!1)||!t&&(r.filter?r.filter!=="none":!1)||Ou.some(o=>(r.willChange||"").includes(o))||Au.some(o=>(r.contain||"").includes(o))}function ju(e){let t=it(e);for(;Ke(t)&&!yt(t);){if(sr(t))return t;if(ln(t))return null;t=it(t)}return null}function ur(){return typeof CSS>"u"||!CSS.supports?!1:CSS.supports("-webkit-backdrop-filter","none")}const Fu=new Set(["html","body","#document"]);function yt(e){return Fu.has(bt(e))}function $e(e){return Ie(e).getComputedStyle(e)}function cn(e){return Ne(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function it(e){if(bt(e)==="html")return e;const t=e.assignedSlot||e.parentNode||Io(e)&&e.host||Ye(e);return Io(t)?t.host:t}function Po(e){const t=it(e);return yt(t)?e.ownerDocument?e.ownerDocument.body:e.body:Ke(t)&&kt(t)?t:Po(t)}function Tt(e,t,r){var o;t===void 0&&(t=[]),r===void 0&&(r=!0);const n=Po(e),i=n===((o=e.ownerDocument)==null?void 0:o.body),a=Ie(n);if(i){const l=lr(a);return t.concat(a,a.visualViewport||[],kt(n)?n:[],l&&r?Tt(l):[])}return t.concat(n,Tt(n,[],r))}function lr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function Ro(e){const t=$e(e);let r=parseFloat(t.width)||0,o=parseFloat(t.height)||0;const n=Ke(e),i=n?e.offsetWidth:r,a=n?e.offsetHeight:o,l=an(r)!==i||an(o)!==a;return l&&(r=i,o=a),{width:r,height:o,$:l}}function cr(e){return Ne(e)?e:e.contextElement}function wt(e){const t=cr(e);if(!Ke(t))return Ge(1);const r=t.getBoundingClientRect(),{width:o,height:n,$:i}=Ro(t);let a=(i?an(r.width):r.width)/o,l=(i?an(r.height):r.height)/n;return(!a||!Number.isFinite(a))&&(a=1),(!l||!Number.isFinite(l))&&(l=1),{x:a,y:l}}const Du=Ge(0);function ko(e){const t=Ie(e);return!ur()||!t.visualViewport?Du:{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}}function Mu(e,t,r){return t===void 0&&(t=!1),!r||t&&r!==Ie(e)?!1:t}function ft(e,t,r,o){t===void 0&&(t=!1),r===void 0&&(r=!1);const n=e.getBoundingClientRect(),i=cr(e);let a=Ge(1);t&&(o?Ne(o)&&(a=wt(o)):a=wt(e));const l=Mu(i,r,o)?ko(i):Ge(0);let s=(n.left+l.x)/a.x,c=(n.top+l.y)/a.y,p=n.width/a.x,m=n.height/a.y;if(i){const y=Ie(i),w=o&&Ne(o)?Ie(o):o;let O=y,_=lr(O);for(;_&&o&&w!==O;){const b=wt(_),x=_.getBoundingClientRect(),C=$e(_),M=x.left+(_.clientLeft+parseFloat(C.paddingLeft))*b.x,V=x.top+(_.clientTop+parseFloat(C.paddingTop))*b.y;s*=b.x,c*=b.y,p*=b.x,m*=b.y,s+=M,c+=V,O=Ie(_),_=lr(O)}}return Do({width:p,height:m,x:s,y:c})}function dn(e,t){const r=cn(e).scrollLeft;return t?t.left+r:ft(Ye(e)).left+r}function To(e,t){const r=e.getBoundingClientRect(),o=r.left+t.scrollLeft-dn(e,r),n=r.top+t.scrollTop;return{x:o,y:n}}function Iu(e){let{elements:t,rect:r,offsetParent:o,strategy:n}=e;const i=n==="fixed",a=Ye(o),l=t?ln(t.floating):!1;if(o===a||l&&i)return r;let s={scrollLeft:0,scrollTop:0},c=Ge(1);const p=Ge(0),m=Ke(o);if((m||!m&&!i)&&((bt(o)!=="body"||kt(a))&&(s=cn(o)),Ke(o))){const w=ft(o);c=wt(o),p.x=w.x+o.clientLeft,p.y=w.y+o.clientTop}const y=a&&!m&&!i?To(a,s):Ge(0);return{width:r.width*c.x,height:r.height*c.y,x:r.x*c.x-s.scrollLeft*c.x+p.x+y.x,y:r.y*c.y-s.scrollTop*c.y+p.y+y.y}}function Pu(e){return Array.from(e.getClientRects())}function Ru(e){const t=Ye(e),r=cn(e),o=e.ownerDocument.body,n=dt(t.scrollWidth,t.clientWidth,o.scrollWidth,o.clientWidth),i=dt(t.scrollHeight,t.clientHeight,o.scrollHeight,o.clientHeight);let a=-r.scrollLeft+dn(e);const l=-r.scrollTop;return $e(o).direction==="rtl"&&(a+=dt(t.clientWidth,o.clientWidth)-n),{width:n,height:i,x:a,y:l}}const Lo=25;function ku(e,t){const r=Ie(e),o=Ye(e),n=r.visualViewport;let i=o.clientWidth,a=o.clientHeight,l=0,s=0;if(n){i=n.width,a=n.height;const p=ur();(!p||p&&t==="fixed")&&(l=n.offsetLeft,s=n.offsetTop)}const c=dn(o);if(c<=0){const p=o.ownerDocument,m=p.body,y=getComputedStyle(m),w=p.compatMode==="CSS1Compat"&&parseFloat(y.marginLeft)+parseFloat(y.marginRight)||0,O=Math.abs(o.clientWidth-m.clientWidth-w);O<=Lo&&(i-=O)}else c<=Lo&&(i+=c);return{width:i,height:a,x:l,y:s}}const Tu=new Set(["absolute","fixed"]);function Lu(e,t){const r=ft(e,!0,t==="fixed"),o=r.top+e.clientTop,n=r.left+e.clientLeft,i=Ke(e)?wt(e):Ge(1),a=e.clientWidth*i.x,l=e.clientHeight*i.y,s=n*i.x,c=o*i.y;return{width:a,height:l,x:s,y:c}}function Vo(e,t,r){let o;if(t==="viewport")o=ku(e,r);else if(t==="document")o=Ru(Ye(e));else if(Ne(t))o=Lu(t,r);else{const n=ko(e);o={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Do(o)}function No(e,t){const r=it(e);return r===t||!Ne(r)||yt(r)?!1:$e(r).position==="fixed"||No(r,t)}function Vu(e,t){const r=t.get(e);if(r)return r;let o=Tt(e,[],!1).filter(l=>Ne(l)&&bt(l)!=="body"),n=null;const i=$e(e).position==="fixed";let a=i?it(e):e;for(;Ne(a)&&!yt(a);){const l=$e(a),s=sr(a);!s&&l.position==="fixed"&&(n=null),(i?!s&&!n:!s&&l.position==="static"&&!!n&&Tu.has(n.position)||kt(a)&&!s&&No(e,a))?o=o.filter(p=>p!==a):n=l,a=it(a)}return t.set(e,o),o}function Nu(e){let{element:t,boundary:r,rootBoundary:o,strategy:n}=e;const a=[...r==="clippingAncestors"?ln(t)?[]:Vu(t,this._c):[].concat(r),o],l=a[0],s=a.reduce((c,p)=>{const m=Vo(t,p,n);return c.top=dt(m.top,c.top),c.right=on(m.right,c.right),c.bottom=on(m.bottom,c.bottom),c.left=dt(m.left,c.left),c},Vo(t,l,n));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}}function $u(e){const{width:t,height:r}=Ro(e);return{width:t,height:r}}function Bu(e,t,r){const o=Ke(t),n=Ye(t),i=r==="fixed",a=ft(e,!0,i,t);let l={scrollLeft:0,scrollTop:0};const s=Ge(0);function c(){s.x=dn(n)}if(o||!o&&!i)if((bt(t)!=="body"||kt(n))&&(l=cn(t)),o){const w=ft(t,!0,i,t);s.x=w.x+t.clientLeft,s.y=w.y+t.clientTop}else n&&c();i&&!o&&n&&c();const p=n&&!o&&!i?To(n,l):Ge(0),m=a.left+l.scrollLeft-s.x-p.x,y=a.top+l.scrollTop-s.y-p.y;return{x:m,y,width:a.width,height:a.height}}function dr(e){return $e(e).position==="static"}function $o(e,t){if(!Ke(e)||$e(e).position==="fixed")return null;if(t)return t(e);let r=e.offsetParent;return Ye(e)===r&&(r=r.ownerDocument.body),r}function Bo(e,t){const r=Ie(e);if(ln(e))return r;if(!Ke(e)){let n=it(e);for(;n&&!yt(n);){if(Ne(n)&&!dr(n))return n;n=it(n)}return r}let o=$o(e,t);for(;o&&Eu(o)&&dr(o);)o=$o(o,t);return o&&yt(o)&&dr(o)&&!sr(o)?r:o||ju(e)||r}const Hu=async function(e){const t=this.getOffsetParent||Bo,r=this.getDimensions,o=await r(e.floating);return{reference:Bu(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:o.width,height:o.height}}};function zu(e){return $e(e).direction==="rtl"}const Uu={convertOffsetParentRelativeRectToViewportRelativeRect:Iu,getDocumentElement:Ye,getClippingRect:Nu,getOffsetParent:Bo,getElementRects:Hu,getClientRects:Pu,getDimensions:$u,getScale:wt,isElement:Ne,isRTL:zu};function Ho(e,t){return e.x===t.x&&e.y===t.y&&e.width===t.width&&e.height===t.height}function Wu(e,t){let r=null,o;const n=Ye(e);function i(){var l;clearTimeout(o),(l=r)==null||l.disconnect(),r=null}function a(l,s){l===void 0&&(l=!1),s===void 0&&(s=1),i();const c=e.getBoundingClientRect(),{left:p,top:m,width:y,height:w}=c;if(l||t(),!y||!w)return;const O=sn(m),_=sn(n.clientWidth-(p+y)),b=sn(n.clientHeight-(m+w)),x=sn(p),M={rootMargin:-O+"px "+-_+"px "+-b+"px "+-x+"px",threshold:dt(0,on(1,s))||1};let V=!0;function R(k){const F=k[0].intersectionRatio;if(F!==s){if(!V)return a();F?a(!1,F):o=setTimeout(()=>{a(!1,1e-7)},1e3)}F===1&&!Ho(c,e.getBoundingClientRect())&&a(),V=!1}try{r=new IntersectionObserver(R,{...M,root:n.ownerDocument})}catch{r=new IntersectionObserver(R,M)}r.observe(e)}return a(!0),i}function qu(e,t,r,o){o===void 0&&(o={});const{ancestorScroll:n=!0,ancestorResize:i=!0,elementResize:a=typeof ResizeObserver=="function",layoutShift:l=typeof IntersectionObserver=="function",animationFrame:s=!1}=o,c=cr(e),p=n||i?[...c?Tt(c):[],...Tt(t)]:[];p.forEach(x=>{n&&x.addEventListener("scroll",r,{passive:!0}),i&&x.addEventListener("resize",r)});const m=c&&l?Wu(c,r):null;let y=-1,w=null;a&&(w=new ResizeObserver(x=>{let[C]=x;C&&C.target===c&&w&&(w.unobserve(t),cancelAnimationFrame(y),y=requestAnimationFrame(()=>{var M;(M=w)==null||M.observe(t)})),r()}),c&&!s&&w.observe(c),w.observe(t));let O,_=s?ft(e):null;s&&b();function b(){const x=ft(e);_&&!Ho(_,x)&&r(),_=x,O=requestAnimationFrame(b)}return r(),()=>{var x;p.forEach(C=>{n&&C.removeEventListener("scroll",r),i&&C.removeEventListener("resize",r)}),m?.(),(x=w)==null||x.disconnect(),w=null,s&&cancelAnimationFrame(O)}}const qf=null,Gf=null,Yf=null,Kf=null,Xf=null,Jf=null,Zf=null,Qf=null,ep=null,tp=null,np=(e,t,r)=>{const o=new Map,n={platform:Uu,...r},i={...n.platform,_c:o};return computePosition$1(e,t,{...n,platform:i})};var fr=h.useLayoutEffect,Gu=["className","clearValue","cx","getStyles","getClassNames","getValue","hasValue","isMulti","isRtl","options","selectOption","selectProps","setValue","theme"],fn=function(){};function Yu(e,t){return t?t[0]==="-"?e+t:e+"__"+t:e}function Ku(e,t){for(var r=arguments.length,o=new Array(r>2?r-2:0),n=2;n<r;n++)o[n-2]=arguments[n];var i=[].concat(o);if(t&&e)for(var a in t)t.hasOwnProperty(a)&&t[a]&&i.push("".concat(Yu(e,a)));return i.filter(function(l){return l}).map(function(l){return String(l).trim()}).join(" ")}var zo=function(t){return ol(t)?t.filter(Boolean):ct(t)==="object"&&t!==null?[t]:[]},Uo=function(t){t.className,t.clearValue,t.cx,t.getStyles,t.getClassNames,t.getValue,t.hasValue,t.isMulti,t.isRtl,t.options,t.selectOption,t.selectProps,t.setValue,t.theme;var r=tt(t,Gu);return B({},r)},le=function(t,r,o){var n=t.cx,i=t.getStyles,a=t.getClassNames,l=t.className;return{css:i(r,t),className:n(o??{},a(r,t),l)}};function rp(e,t,r){if(r){var o=r(e,t);if(typeof o=="string")return o}return e}function pn(e){return[document.documentElement,document.body,window].indexOf(e)>-1}function Xu(e){return pn(e)?window.innerHeight:e.clientHeight}function Wo(e){return pn(e)?window.pageYOffset:e.scrollTop}function hn(e,t){if(pn(e)){window.scrollTo(0,t);return}e.scrollTop=t}function Ju(e){var t=getComputedStyle(e),r=t.position==="absolute",o=/(auto|scroll)/;if(t.position==="fixed")return document.documentElement;for(var n=e;n=n.parentElement;)if(t=getComputedStyle(n),!(r&&t.position==="static")&&o.test(t.overflow+t.overflowY+t.overflowX))return n;return document.documentElement}function Zu(e,t,r,o){return r*((e=e/o-1)*e*e+1)+t}function mn(e,t){var r=arguments.length>2&&arguments[2]!==void 0?arguments[2]:200,o=arguments.length>3&&arguments[3]!==void 0?arguments[3]:fn,n=Wo(e),i=t-n,a=10,l=0;function s(){l+=a;var c=Zu(l,n,i,r);hn(e,c),l<r?window.requestAnimationFrame(s):o(e)}s()}function qo(e,t){var r=e.getBoundingClientRect(),o=t.getBoundingClientRect(),n=t.offsetHeight/3;o.bottom+n>r.bottom?hn(e,Math.min(t.offsetTop+t.clientHeight-e.offsetHeight+n,e.scrollHeight)):o.top-n<r.top&&hn(e,Math.max(t.offsetTop-n,0))}function Qu(e){var t=e.getBoundingClientRect();return{bottom:t.bottom,height:t.height,left:t.left,right:t.right,top:t.top,width:t.width}}function Go(){try{return document.createEvent("TouchEvent"),!0}catch{return!1}}function el(){try{return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)}catch{return!1}}var Yo=!1,tl={get passive(){return Yo=!0}},vn=typeof window<"u"?window:{};vn.addEventListener&&vn.removeEventListener&&(vn.addEventListener("p",fn,tl),vn.removeEventListener("p",fn,!1));var nl=Yo;function rl(e){return e!=null}function ol(e){return Array.isArray(e)}function gn(e,t,r){return e?t:r}function op(e){return e}function ip(e){return e}var il=function(t){for(var r=arguments.length,o=new Array(r>1?r-1:0),n=1;n<r;n++)o[n-1]=arguments[n];var i=Object.entries(t).filter(function(a){var l=et(a,1),s=l[0];return!o.includes(s)});return i.reduce(function(a,l){var s=et(l,2),c=s[0],p=s[1];return a[c]=p,a},{})},al=["children","innerProps"],sl=["children","innerProps"];function ul(e){var t=e.maxHeight,r=e.menuEl,o=e.minHeight,n=e.placement,i=e.shouldScroll,a=e.isFixedPosition,l=e.controlHeight,s=Ju(r),c={placement:"bottom",maxHeight:t};if(!r||!r.offsetParent)return c;var p=s.getBoundingClientRect(),m=p.height,y=r.getBoundingClientRect(),w=y.bottom,O=y.height,_=y.top,b=r.offsetParent.getBoundingClientRect(),x=b.top,C=a?window.innerHeight:Xu(s),M=Wo(s),V=parseInt(getComputedStyle(r).marginBottom,10),R=parseInt(getComputedStyle(r).marginTop,10),k=x-R,F=C-_,z=k+M,W=m-M-_,se=w-C+M+V,re=M+_-R,ue=160;switch(n){case"auto":case"bottom":if(F>=O)return{placement:"bottom",maxHeight:t};if(W>=O&&!a)return i&&mn(s,se,ue),{placement:"bottom",maxHeight:t};if(!a&&W>=o||a&&F>=o){i&&mn(s,se,ue);var we=a?F-V:W-V;return{placement:"bottom",maxHeight:we}}if(n==="auto"||a){var fe=t,oe=a?k:z;return oe>=o&&(fe=Math.min(oe-V-l,t)),{placement:"top",maxHeight:fe}}if(n==="bottom")return i&&hn(s,se),{placement:"bottom",maxHeight:t};break;case"top":if(k>=O)return{placement:"top",maxHeight:t};if(z>=O&&!a)return i&&mn(s,re,ue),{placement:"top",maxHeight:t};if(!a&&z>=o||a&&k>=o){var Q=t;return(!a&&z>=o||a&&k>=o)&&(Q=a?k-R:z-R),i&&mn(s,re,ue),{placement:"top",maxHeight:Q}}return{placement:"bottom",maxHeight:t};default:throw new Error('Invalid placement provided "'.concat(n,'".'))}return c}function ll(e){var t={bottom:"top",top:"bottom"};return e?t[e]:"bottom"}var Ko=function(t){return t==="auto"?"bottom":t},cl=function(t,r){var o,n=t.placement,i=t.theme,a=i.borderRadius,l=i.spacing,s=i.colors;return B((o={label:"menu"},jt(o,ll(n),"100%"),jt(o,"position","absolute"),jt(o,"width","100%"),jt(o,"zIndex",1),o),r?{}:{backgroundColor:s.neutral0,borderRadius:a,boxShadow:"0 0 0 1px hsla(0, 0%, 0%, 0.1), 0 4px 11px hsla(0, 0%, 0%, 0.1)",marginBottom:l.menuGutter,marginTop:l.menuGutter})},Xo=(0,h.createContext)(null),dl=function(t){var r=t.children,o=t.minMenuHeight,n=t.maxMenuHeight,i=t.menuPlacement,a=t.menuPosition,l=t.menuShouldScrollIntoView,s=t.theme,c=(0,h.useContext)(Xo)||{},p=c.setPortalPlacement,m=(0,h.useRef)(null),y=(0,h.useState)(n),w=et(y,2),O=w[0],_=w[1],b=(0,h.useState)(null),x=et(b,2),C=x[0],M=x[1],V=s.spacing.controlHeight;return fr(function(){var R=m.current;if(R){var k=a==="fixed",F=l&&!k,z=ul({maxHeight:n,menuEl:R,minHeight:o,placement:i,shouldScroll:F,isFixedPosition:k,controlHeight:V});_(z.maxHeight),M(z.placement),p?.(z.placement)}},[n,i,a,l,o,p,V]),r({ref:m,placerProps:B(B({},t),{},{placement:C||Ko(i),maxHeight:O})})},fl=function(t){var r=t.children,o=t.innerRef,n=t.innerProps;return N("div",H({},le(t,"menu",{menu:!0}),{ref:o},n),r)},pl=fl,hl=function(t,r){var o=t.maxHeight,n=t.theme.spacing.baseUnit;return B({maxHeight:o,overflowY:"auto",position:"relative",WebkitOverflowScrolling:"touch"},r?{}:{paddingBottom:n,paddingTop:n})},ml=function(t){var r=t.children,o=t.innerProps,n=t.innerRef,i=t.isMulti;return N("div",H({},le(t,"menuList",{"menu-list":!0,"menu-list--is-multi":i}),{ref:n},o),r)},Jo=function(t,r){var o=t.theme,n=o.spacing.baseUnit,i=o.colors;return B({textAlign:"center"},r?{}:{color:i.neutral40,padding:"".concat(n*2,"px ").concat(n*3,"px")})},vl=Jo,gl=Jo,bl=function(t){var r=t.children,o=r===void 0?"No options":r,n=t.innerProps,i=tt(t,al);return N("div",H({},le(B(B({},i),{},{children:o,innerProps:n}),"noOptionsMessage",{"menu-notice":!0,"menu-notice--no-options":!0}),n),o)},yl=function(t){var r=t.children,o=r===void 0?"Loading...":r,n=t.innerProps,i=tt(t,sl);return N("div",H({},le(B(B({},i),{},{children:o,innerProps:n}),"loadingMessage",{"menu-notice":!0,"menu-notice--loading":!0}),n),o)},wl=function(t){var r=t.rect,o=t.offset,n=t.position;return{left:r.left,position:n,top:o,width:r.width,zIndex:1}},xl=function(t){var r=t.appendTo,o=t.children,n=t.controlElement,i=t.innerProps,a=t.menuPlacement,l=t.menuPosition,s=(0,h.useRef)(null),c=(0,h.useRef)(null),p=(0,h.useState)(Ko(a)),m=et(p,2),y=m[0],w=m[1],O=(0,h.useMemo)(function(){return{setPortalPlacement:w}},[]),_=(0,h.useState)(null),b=et(_,2),x=b[0],C=b[1],M=(0,h.useCallback)(function(){if(n){var F=Qu(n),z=l==="fixed"?0:window.pageYOffset,W=F[y]+z;(W!==x?.offset||F.left!==x?.rect.left||F.width!==x?.rect.width)&&C({offset:W,rect:F})}},[n,l,y,x?.offset,x?.rect.left,x?.rect.width]);fr(function(){M()},[M]);var V=(0,h.useCallback)(function(){typeof c.current=="function"&&(c.current(),c.current=null),n&&s.current&&(c.current=qu(n,s.current,M,{elementResize:"ResizeObserver"in window}))},[n,M]);fr(function(){V()},[V]);var R=(0,h.useCallback)(function(F){s.current=F,V()},[V]);if(!r&&l!=="fixed"||!x)return null;var k=N("div",H({ref:R},le(B(B({},t),{},{offset:x.offset,position:l,rect:x.rect}),"menuPortal",{"menu-portal":!0}),i),o);return N(Xo.Provider,{value:O},r?(0,P.createPortal)(k,r):k)},_l=function(t){var r=t.isDisabled,o=t.isRtl;return{label:"container",direction:o?"rtl":void 0,pointerEvents:r?"none":void 0,position:"relative"}},El=function(t){var r=t.children,o=t.innerProps,n=t.isDisabled,i=t.isRtl;return N("div",H({},le(t,"container",{"--is-disabled":n,"--is-rtl":i}),o),r)},Sl=function(t,r){var o=t.theme.spacing,n=t.isMulti,i=t.hasValue,a=t.selectProps.controlShouldRenderValue;return B({alignItems:"center",display:n&&i&&a?"flex":"grid",flex:1,flexWrap:"wrap",WebkitOverflowScrolling:"touch",position:"relative",overflow:"hidden"},r?{}:{padding:"".concat(o.baseUnit/2,"px ").concat(o.baseUnit*2,"px")})},Cl=function(t){var r=t.children,o=t.innerProps,n=t.isMulti,i=t.hasValue;return N("div",H({},le(t,"valueContainer",{"value-container":!0,"value-container--is-multi":n,"value-container--has-value":i}),o),r)},Ol=function(){return{alignItems:"center",alignSelf:"stretch",display:"flex",flexShrink:0}},Al=function(t){var r=t.children,o=t.innerProps;return N("div",H({},le(t,"indicatorsContainer",{indicators:!0}),o),r)},Zo,jl=["size"],Fl=["innerProps","isRtl","size"];function ap(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Dl={name:"8mmkcg",styles:"display:inline-block;fill:currentColor;line-height:1;stroke:currentColor;stroke-width:0"},Qo=function(t){var r=t.size,o=tt(t,jl);return N("svg",H({height:r,width:r,viewBox:"0 0 20 20","aria-hidden":"true",focusable:"false",css:Dl},o))},pr=function(t){return N(Qo,H({size:20},t),N("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"}))},ei=function(t){return N(Qo,H({size:20},t),N("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"}))},ti=function(t,r){var o=t.isFocused,n=t.theme,i=n.spacing.baseUnit,a=n.colors;return B({label:"indicatorContainer",display:"flex",transition:"color 150ms"},r?{}:{color:o?a.neutral60:a.neutral20,padding:i*2,":hover":{color:o?a.neutral80:a.neutral40}})},Ml=ti,Il=function(t){var r=t.children,o=t.innerProps;return N("div",H({},le(t,"dropdownIndicator",{indicator:!0,"dropdown-indicator":!0}),o),r||N(ei,null))},Pl=ti,Rl=function(t){var r=t.children,o=t.innerProps;return N("div",H({},le(t,"clearIndicator",{indicator:!0,"clear-indicator":!0}),o),r||N(pr,null))},kl=function(t,r){var o=t.isDisabled,n=t.theme,i=n.spacing.baseUnit,a=n.colors;return B({label:"indicatorSeparator",alignSelf:"stretch",width:1},r?{}:{backgroundColor:o?a.neutral10:a.neutral20,marginBottom:i*2,marginTop:i*2})},Tl=function(t){var r=t.innerProps;return N("span",H({},r,le(t,"indicatorSeparator",{"indicator-separator":!0})))},Ll=uu(Zo||(Zo=lu([`
  0%, 80%, 100% { opacity: 0; }
  40% { opacity: 1; }
`]))),Vl=function(t,r){var o=t.isFocused,n=t.size,i=t.theme,a=i.colors,l=i.spacing.baseUnit;return B({label:"loadingIndicator",display:"flex",transition:"color 150ms",alignSelf:"center",fontSize:n,lineHeight:1,marginRight:n,textAlign:"center",verticalAlign:"middle"},r?{}:{color:o?a.neutral60:a.neutral20,padding:l*2})},hr=function(t){var r=t.delay,o=t.offset;return N("span",{css:or({animation:"".concat(Ll," 1s ease-in-out ").concat(r,"ms infinite;"),backgroundColor:"currentColor",borderRadius:"1em",display:"inline-block",marginLeft:o?"1em":void 0,height:"1em",verticalAlign:"top",width:"1em"},"","")})},Nl=function(t){var r=t.innerProps,o=t.isRtl,n=t.size,i=n===void 0?4:n,a=tt(t,Fl);return N("div",H({},le(B(B({},a),{},{innerProps:r,isRtl:o,size:i}),"loadingIndicator",{indicator:!0,"loading-indicator":!0}),r),N(hr,{delay:0,offset:o}),N(hr,{delay:160,offset:!0}),N(hr,{delay:320,offset:!o}))},$l=function(t,r){var o=t.isDisabled,n=t.isFocused,i=t.theme,a=i.colors,l=i.borderRadius,s=i.spacing;return B({label:"control",alignItems:"center",cursor:"default",display:"flex",flexWrap:"wrap",justifyContent:"space-between",minHeight:s.controlHeight,outline:"0 !important",position:"relative",transition:"all 100ms"},r?{}:{backgroundColor:o?a.neutral5:a.neutral0,borderColor:o?a.neutral10:n?a.primary:a.neutral20,borderRadius:l,borderStyle:"solid",borderWidth:1,boxShadow:n?"0 0 0 1px ".concat(a.primary):void 0,"&:hover":{borderColor:n?a.primary:a.neutral30}})},Bl=function(t){var r=t.children,o=t.isDisabled,n=t.isFocused,i=t.innerRef,a=t.innerProps,l=t.menuIsOpen;return N("div",H({ref:i},le(t,"control",{control:!0,"control--is-disabled":o,"control--is-focused":n,"control--menu-is-open":l}),a,{"aria-disabled":o||void 0}),r)},Hl=Bl,zl=["data"],Ul=function(t,r){var o=t.theme.spacing;return r?{}:{paddingBottom:o.baseUnit*2,paddingTop:o.baseUnit*2}},Wl=function(t){var r=t.children,o=t.cx,n=t.getStyles,i=t.getClassNames,a=t.Heading,l=t.headingProps,s=t.innerProps,c=t.label,p=t.theme,m=t.selectProps;return N("div",H({},le(t,"group",{group:!0}),s),N(a,H({},l,{selectProps:m,theme:p,getStyles:n,getClassNames:i,cx:o}),c),N("div",null,r))},ql=function(t,r){var o=t.theme,n=o.colors,i=o.spacing;return B({label:"group",cursor:"default",display:"block"},r?{}:{color:n.neutral40,fontSize:"75%",fontWeight:500,marginBottom:"0.25em",paddingLeft:i.baseUnit*3,paddingRight:i.baseUnit*3,textTransform:"uppercase"})},Gl=function(t){var r=Uo(t);r.data;var o=tt(r,zl);return N("div",H({},le(t,"groupHeading",{"group-heading":!0}),o))},Yl=Wl,Kl=["innerRef","isDisabled","isHidden","inputClassName"],Xl=function(t,r){var o=t.isDisabled,n=t.value,i=t.theme,a=i.spacing,l=i.colors;return B(B({visibility:o?"hidden":"visible",transform:n?"translateZ(0)":""},Jl),r?{}:{margin:a.baseUnit/2,paddingBottom:a.baseUnit/2,paddingTop:a.baseUnit/2,color:l.neutral80})},ni={gridArea:"1 / 2",font:"inherit",minWidth:"2px",border:0,margin:0,outline:0,padding:0},Jl={flex:"1 1 auto",display:"inline-grid",gridArea:"1 / 1 / 2 / 3",gridTemplateColumns:"0 min-content","&:after":B({content:'attr(data-value) " "',visibility:"hidden",whiteSpace:"pre"},ni)},Zl=function(t){return B({label:"input",color:"inherit",background:0,opacity:t?0:1,width:"100%"},ni)},Ql=function(t){var r=t.cx,o=t.value,n=Uo(t),i=n.innerRef,a=n.isDisabled,l=n.isHidden,s=n.inputClassName,c=tt(n,Kl);return N("div",H({},le(t,"input",{"input-container":!0}),{"data-value":o||""}),N("input",H({className:r({input:!0},s),ref:i,style:Zl(l),disabled:a},c)))},ec=Ql,tc=function(t,r){var o=t.theme,n=o.spacing,i=o.borderRadius,a=o.colors;return B({label:"multiValue",display:"flex",minWidth:0},r?{}:{backgroundColor:a.neutral10,borderRadius:i/2,margin:n.baseUnit/2})},nc=function(t,r){var o=t.theme,n=o.borderRadius,i=o.colors,a=t.cropWithEllipsis;return B({overflow:"hidden",textOverflow:a||a===void 0?"ellipsis":void 0,whiteSpace:"nowrap"},r?{}:{borderRadius:n/2,color:i.neutral80,fontSize:"85%",padding:3,paddingLeft:6})},rc=function(t,r){var o=t.theme,n=o.spacing,i=o.borderRadius,a=o.colors,l=t.isFocused;return B({alignItems:"center",display:"flex"},r?{}:{borderRadius:i/2,backgroundColor:l?a.dangerLight:void 0,paddingLeft:n.baseUnit,paddingRight:n.baseUnit,":hover":{backgroundColor:a.dangerLight,color:a.danger}})},ri=function(t){var r=t.children,o=t.innerProps;return N("div",o,r)},oc=ri,ic=ri;function ac(e){var t=e.children,r=e.innerProps;return N("div",H({role:"button"},r),t||N(pr,{size:14}))}var sc=function(t){var r=t.children,o=t.components,n=t.data,i=t.innerProps,a=t.isDisabled,l=t.removeProps,s=t.selectProps,c=o.Container,p=o.Label,m=o.Remove;return N(c,{data:n,innerProps:B(B({},le(t,"multiValue",{"multi-value":!0,"multi-value--is-disabled":a})),i),selectProps:s},N(p,{data:n,innerProps:B({},le(t,"multiValueLabel",{"multi-value__label":!0})),selectProps:s},r),N(m,{data:n,innerProps:B(B({},le(t,"multiValueRemove",{"multi-value__remove":!0})),{},{"aria-label":"Remove ".concat(r||"option")},l),selectProps:s}))},uc=sc,lc=function(t,r){var o=t.isDisabled,n=t.isFocused,i=t.isSelected,a=t.theme,l=a.spacing,s=a.colors;return B({label:"option",cursor:"default",display:"block",fontSize:"inherit",width:"100%",userSelect:"none",WebkitTapHighlightColor:"rgba(0, 0, 0, 0)"},r?{}:{backgroundColor:i?s.primary:n?s.primary25:"transparent",color:o?s.neutral20:i?s.neutral0:"inherit",padding:"".concat(l.baseUnit*2,"px ").concat(l.baseUnit*3,"px"),":active":{backgroundColor:o?void 0:i?s.primary:s.primary50}})},cc=function(t){var r=t.children,o=t.isDisabled,n=t.isFocused,i=t.isSelected,a=t.innerRef,l=t.innerProps;return N("div",H({},le(t,"option",{option:!0,"option--is-disabled":o,"option--is-focused":n,"option--is-selected":i}),{ref:a,"aria-disabled":o},l),r)},dc=cc,fc=function(t,r){var o=t.theme,n=o.spacing,i=o.colors;return B({label:"placeholder",gridArea:"1 / 1 / 2 / 3"},r?{}:{color:i.neutral50,marginLeft:n.baseUnit/2,marginRight:n.baseUnit/2})},pc=function(t){var r=t.children,o=t.innerProps;return N("div",H({},le(t,"placeholder",{placeholder:!0}),o),r)},hc=pc,mc=function(t,r){var o=t.isDisabled,n=t.theme,i=n.spacing,a=n.colors;return B({label:"singleValue",gridArea:"1 / 1 / 2 / 3",maxWidth:"100%",overflow:"hidden",textOverflow:"ellipsis",whiteSpace:"nowrap"},r?{}:{color:o?a.neutral40:a.neutral80,marginLeft:i.baseUnit/2,marginRight:i.baseUnit/2})},vc=function(t){var r=t.children,o=t.isDisabled,n=t.innerProps;return N("div",H({},le(t,"singleValue",{"single-value":!0,"single-value--is-disabled":o}),n),r)},gc=vc,bc={ClearIndicator:Rl,Control:Hl,DropdownIndicator:Il,DownChevron:ei,CrossIcon:pr,Group:Yl,GroupHeading:Gl,IndicatorsContainer:Al,IndicatorSeparator:Tl,Input:ec,LoadingIndicator:Nl,Menu:pl,MenuList:ml,MenuPortal:xl,LoadingMessage:yl,NoOptionsMessage:bl,MultiValue:uc,MultiValueContainer:oc,MultiValueLabel:ic,MultiValueRemove:ac,Option:dc,Placeholder:hc,SelectContainer:El,SingleValue:gc,ValueContainer:Cl},yc=function(t){return B(B({},bc),t.components)},oi=Number.isNaN||function(t){return typeof t=="number"&&t!==t};function wc(e,t){return!!(e===t||oi(e)&&oi(t))}function xc(e,t){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r++)if(!wc(e[r],t[r]))return!1;return!0}function _c(e,t){t===void 0&&(t=xc);var r=null;function o(){for(var n=[],i=0;i<arguments.length;i++)n[i]=arguments[i];if(r&&r.lastThis===this&&t(n,r.lastArgs))return r.lastResult;var a=e.apply(this,n);return r={lastResult:a,lastArgs:n,lastThis:this},a}return o.clear=function(){r=null},o}function sp(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}for(var Ec={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"},Sc=function(t){return N("span",H({css:Ec},t))},ii=Sc,Cc={guidance:function(t){var r=t.isSearchable,o=t.isMulti,n=t.tabSelectsValue,i=t.context,a=t.isInitialFocus;switch(i){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(n?", press Tab to select the option and exit the menu":"",".");case"input":return a?"".concat(t["aria-label"]||"Select"," is focused ").concat(r?",type to refine list":"",", press Down to open the menu, ").concat(o?" 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(t){var r=t.action,o=t.label,n=o===void 0?"":o,i=t.labels,a=t.isDisabled;switch(r){case"deselect-option":case"pop-value":case"remove-value":return"option ".concat(n,", deselected.");case"clear":return"All selected options have been cleared.";case"initial-input-focus":return"option".concat(i.length>1?"s":""," ").concat(i.join(","),", selected.");case"select-option":return a?"option ".concat(n," is disabled. Select another option."):"option ".concat(n,", selected.");default:return""}},onFocus:function(t){var r=t.context,o=t.focused,n=t.options,i=t.label,a=i===void 0?"":i,l=t.selectValue,s=t.isDisabled,c=t.isSelected,p=t.isAppleDevice,m=function(_,b){return _&&_.length?"".concat(_.indexOf(b)+1," of ").concat(_.length):""};if(r==="value"&&l)return"value ".concat(a," focused, ").concat(m(l,o),".");if(r==="menu"&&p){var y=s?" disabled":"",w="".concat(c?" selected":"").concat(y);return"".concat(a).concat(w,", ").concat(m(n,o),".")}return""},onFilter:function(t){var r=t.inputValue,o=t.resultsMessage;return"".concat(o).concat(r?" for search term "+r:"",".")}},Oc=function(t){var r=t.ariaSelection,o=t.focusedOption,n=t.focusedValue,i=t.focusableOptions,a=t.isFocused,l=t.selectValue,s=t.selectProps,c=t.id,p=t.isAppleDevice,m=s.ariaLiveMessages,y=s.getOptionLabel,w=s.inputValue,O=s.isMulti,_=s.isOptionDisabled,b=s.isSearchable,x=s.menuIsOpen,C=s.options,M=s.screenReaderStatus,V=s.tabSelectsValue,R=s.isLoading,k=s["aria-label"],F=s["aria-live"],z=(0,h.useMemo)(function(){return B(B({},Cc),m||{})},[m]),W=(0,h.useMemo)(function(){var oe="";if(r&&z.onChange){var Q=r.option,Pe=r.options,_e=r.removedValue,Be=r.removedValues,Ae=r.value,Et=function(je){return Array.isArray(je)?null:je},ee=_e||Q||Et(Ae),pe=ee?y(ee):"",Me=Pe||Be||void 0,Re=Me?Me.map(y):[],Ee=B({isDisabled:ee&&_(ee,l),label:pe,labels:Re},r);oe=z.onChange(Ee)}return oe},[r,z,_,l,y]),se=(0,h.useMemo)(function(){var oe="",Q=o||n,Pe=!!(o&&l&&l.includes(o));if(Q&&z.onFocus){var _e={focused:Q,label:y(Q),isDisabled:_(Q,l),isSelected:Pe,options:i,context:Q===o?"menu":"value",selectValue:l,isAppleDevice:p};oe=z.onFocus(_e)}return oe},[o,n,y,_,z,i,l,p]),re=(0,h.useMemo)(function(){var oe="";if(x&&C.length&&!R&&z.onFilter){var Q=M({count:i.length});oe=z.onFilter({inputValue:w,resultsMessage:Q})}return oe},[i,w,x,z,C,M,R]),ue=r?.action==="initial-input-focus",we=(0,h.useMemo)(function(){var oe="";if(z.guidance){var Q=n?"value":x?"menu":"input";oe=z.guidance({"aria-label":k,context:Q,isDisabled:o&&_(o,l),isMulti:O,isSearchable:b,tabSelectsValue:V,isInitialFocus:ue})}return oe},[k,o,n,O,_,b,x,z,l,V,ue]),fe=N(h.Fragment,null,N("span",{id:"aria-selection"},W),N("span",{id:"aria-focused"},se),N("span",{id:"aria-results"},re),N("span",{id:"aria-guidance"},we));return N(h.Fragment,null,N(ii,{id:c},ue&&fe),N(ii,{"aria-live":F,"aria-atomic":"false","aria-relevant":"additions text",role:"log"},a&&!ue&&fe))},Ac=Oc,mr=[{base:"A",letters:"A\u24B6\uFF21\xC0\xC1\xC2\u1EA6\u1EA4\u1EAA\u1EA8\xC3\u0100\u0102\u1EB0\u1EAE\u1EB4\u1EB2\u0226\u01E0\xC4\u01DE\u1EA2\xC5\u01FA\u01CD\u0200\u0202\u1EA0\u1EAC\u1EB6\u1E00\u0104\u023A\u2C6F"},{base:"AA",letters:"\uA732"},{base:"AE",letters:"\xC6\u01FC\u01E2"},{base:"AO",letters:"\uA734"},{base:"AU",letters:"\uA736"},{base:"AV",letters:"\uA738\uA73A"},{base:"AY",letters:"\uA73C"},{base:"B",letters:"B\u24B7\uFF22\u1E02\u1E04\u1E06\u0243\u0182\u0181"},{base:"C",letters:"C\u24B8\uFF23\u0106\u0108\u010A\u010C\xC7\u1E08\u0187\u023B\uA73E"},{base:"D",letters:"D\u24B9\uFF24\u1E0A\u010E\u1E0C\u1E10\u1E12\u1E0E\u0110\u018B\u018A\u0189\uA779"},{base:"DZ",letters:"\u01F1\u01C4"},{base:"Dz",letters:"\u01F2\u01C5"},{base:"E",letters:"E\u24BA\uFF25\xC8\xC9\xCA\u1EC0\u1EBE\u1EC4\u1EC2\u1EBC\u0112\u1E14\u1E16\u0114\u0116\xCB\u1EBA\u011A\u0204\u0206\u1EB8\u1EC6\u0228\u1E1C\u0118\u1E18\u1E1A\u0190\u018E"},{base:"F",letters:"F\u24BB\uFF26\u1E1E\u0191\uA77B"},{base:"G",letters:"G\u24BC\uFF27\u01F4\u011C\u1E20\u011E\u0120\u01E6\u0122\u01E4\u0193\uA7A0\uA77D\uA77E"},{base:"H",letters:"H\u24BD\uFF28\u0124\u1E22\u1E26\u021E\u1E24\u1E28\u1E2A\u0126\u2C67\u2C75\uA78D"},{base:"I",letters:"I\u24BE\uFF29\xCC\xCD\xCE\u0128\u012A\u012C\u0130\xCF\u1E2E\u1EC8\u01CF\u0208\u020A\u1ECA\u012E\u1E2C\u0197"},{base:"J",letters:"J\u24BF\uFF2A\u0134\u0248"},{base:"K",letters:"K\u24C0\uFF2B\u1E30\u01E8\u1E32\u0136\u1E34\u0198\u2C69\uA740\uA742\uA744\uA7A2"},{base:"L",letters:"L\u24C1\uFF2C\u013F\u0139\u013D\u1E36\u1E38\u013B\u1E3C\u1E3A\u0141\u023D\u2C62\u2C60\uA748\uA746\uA780"},{base:"LJ",letters:"\u01C7"},{base:"Lj",letters:"\u01C8"},{base:"M",letters:"M\u24C2\uFF2D\u1E3E\u1E40\u1E42\u2C6E\u019C"},{base:"N",letters:"N\u24C3\uFF2E\u01F8\u0143\xD1\u1E44\u0147\u1E46\u0145\u1E4A\u1E48\u0220\u019D\uA790\uA7A4"},{base:"NJ",letters:"\u01CA"},{base:"Nj",letters:"\u01CB"},{base:"O",letters:"O\u24C4\uFF2F\xD2\xD3\xD4\u1ED2\u1ED0\u1ED6\u1ED4\xD5\u1E4C\u022C\u1E4E\u014C\u1E50\u1E52\u014E\u022E\u0230\xD6\u022A\u1ECE\u0150\u01D1\u020C\u020E\u01A0\u1EDC\u1EDA\u1EE0\u1EDE\u1EE2\u1ECC\u1ED8\u01EA\u01EC\xD8\u01FE\u0186\u019F\uA74A\uA74C"},{base:"OI",letters:"\u01A2"},{base:"OO",letters:"\uA74E"},{base:"OU",letters:"\u0222"},{base:"P",letters:"P\u24C5\uFF30\u1E54\u1E56\u01A4\u2C63\uA750\uA752\uA754"},{base:"Q",letters:"Q\u24C6\uFF31\uA756\uA758\u024A"},{base:"R",letters:"R\u24C7\uFF32\u0154\u1E58\u0158\u0210\u0212\u1E5A\u1E5C\u0156\u1E5E\u024C\u2C64\uA75A\uA7A6\uA782"},{base:"S",letters:"S\u24C8\uFF33\u1E9E\u015A\u1E64\u015C\u1E60\u0160\u1E66\u1E62\u1E68\u0218\u015E\u2C7E\uA7A8\uA784"},{base:"T",letters:"T\u24C9\uFF34\u1E6A\u0164\u1E6C\u021A\u0162\u1E70\u1E6E\u0166\u01AC\u01AE\u023E\uA786"},{base:"TZ",letters:"\uA728"},{base:"U",letters:"U\u24CA\uFF35\xD9\xDA\xDB\u0168\u1E78\u016A\u1E7A\u016C\xDC\u01DB\u01D7\u01D5\u01D9\u1EE6\u016E\u0170\u01D3\u0214\u0216\u01AF\u1EEA\u1EE8\u1EEE\u1EEC\u1EF0\u1EE4\u1E72\u0172\u1E76\u1E74\u0244"},{base:"V",letters:"V\u24CB\uFF36\u1E7C\u1E7E\u01B2\uA75E\u0245"},{base:"VY",letters:"\uA760"},{base:"W",letters:"W\u24CC\uFF37\u1E80\u1E82\u0174\u1E86\u1E84\u1E88\u2C72"},{base:"X",letters:"X\u24CD\uFF38\u1E8A\u1E8C"},{base:"Y",letters:"Y\u24CE\uFF39\u1EF2\xDD\u0176\u1EF8\u0232\u1E8E\u0178\u1EF6\u1EF4\u01B3\u024E\u1EFE"},{base:"Z",letters:"Z\u24CF\uFF3A\u0179\u1E90\u017B\u017D\u1E92\u1E94\u01B5\u0224\u2C7F\u2C6B\uA762"},{base:"a",letters:"a\u24D0\uFF41\u1E9A\xE0\xE1\xE2\u1EA7\u1EA5\u1EAB\u1EA9\xE3\u0101\u0103\u1EB1\u1EAF\u1EB5\u1EB3\u0227\u01E1\xE4\u01DF\u1EA3\xE5\u01FB\u01CE\u0201\u0203\u1EA1\u1EAD\u1EB7\u1E01\u0105\u2C65\u0250"},{base:"aa",letters:"\uA733"},{base:"ae",letters:"\xE6\u01FD\u01E3"},{base:"ao",letters:"\uA735"},{base:"au",letters:"\uA737"},{base:"av",letters:"\uA739\uA73B"},{base:"ay",letters:"\uA73D"},{base:"b",letters:"b\u24D1\uFF42\u1E03\u1E05\u1E07\u0180\u0183\u0253"},{base:"c",letters:"c\u24D2\uFF43\u0107\u0109\u010B\u010D\xE7\u1E09\u0188\u023C\uA73F\u2184"},{base:"d",letters:"d\u24D3\uFF44\u1E0B\u010F\u1E0D\u1E11\u1E13\u1E0F\u0111\u018C\u0256\u0257\uA77A"},{base:"dz",letters:"\u01F3\u01C6"},{base:"e",letters:"e\u24D4\uFF45\xE8\xE9\xEA\u1EC1\u1EBF\u1EC5\u1EC3\u1EBD\u0113\u1E15\u1E17\u0115\u0117\xEB\u1EBB\u011B\u0205\u0207\u1EB9\u1EC7\u0229\u1E1D\u0119\u1E19\u1E1B\u0247\u025B\u01DD"},{base:"f",letters:"f\u24D5\uFF46\u1E1F\u0192\uA77C"},{base:"g",letters:"g\u24D6\uFF47\u01F5\u011D\u1E21\u011F\u0121\u01E7\u0123\u01E5\u0260\uA7A1\u1D79\uA77F"},{base:"h",letters:"h\u24D7\uFF48\u0125\u1E23\u1E27\u021F\u1E25\u1E29\u1E2B\u1E96\u0127\u2C68\u2C76\u0265"},{base:"hv",letters:"\u0195"},{base:"i",letters:"i\u24D8\uFF49\xEC\xED\xEE\u0129\u012B\u012D\xEF\u1E2F\u1EC9\u01D0\u0209\u020B\u1ECB\u012F\u1E2D\u0268\u0131"},{base:"j",letters:"j\u24D9\uFF4A\u0135\u01F0\u0249"},{base:"k",letters:"k\u24DA\uFF4B\u1E31\u01E9\u1E33\u0137\u1E35\u0199\u2C6A\uA741\uA743\uA745\uA7A3"},{base:"l",letters:"l\u24DB\uFF4C\u0140\u013A\u013E\u1E37\u1E39\u013C\u1E3D\u1E3B\u017F\u0142\u019A\u026B\u2C61\uA749\uA781\uA747"},{base:"lj",letters:"\u01C9"},{base:"m",letters:"m\u24DC\uFF4D\u1E3F\u1E41\u1E43\u0271\u026F"},{base:"n",letters:"n\u24DD\uFF4E\u01F9\u0144\xF1\u1E45\u0148\u1E47\u0146\u1E4B\u1E49\u019E\u0272\u0149\uA791\uA7A5"},{base:"nj",letters:"\u01CC"},{base:"o",letters:"o\u24DE\uFF4F\xF2\xF3\xF4\u1ED3\u1ED1\u1ED7\u1ED5\xF5\u1E4D\u022D\u1E4F\u014D\u1E51\u1E53\u014F\u022F\u0231\xF6\u022B\u1ECF\u0151\u01D2\u020D\u020F\u01A1\u1EDD\u1EDB\u1EE1\u1EDF\u1EE3\u1ECD\u1ED9\u01EB\u01ED\xF8\u01FF\u0254\uA74B\uA74D\u0275"},{base:"oi",letters:"\u01A3"},{base:"ou",letters:"\u0223"},{base:"oo",letters:"\uA74F"},{base:"p",letters:"p\u24DF\uFF50\u1E55\u1E57\u01A5\u1D7D\uA751\uA753\uA755"},{base:"q",letters:"q\u24E0\uFF51\u024B\uA757\uA759"},{base:"r",letters:"r\u24E1\uFF52\u0155\u1E59\u0159\u0211\u0213\u1E5B\u1E5D\u0157\u1E5F\u024D\u027D\uA75B\uA7A7\uA783"},{base:"s",letters:"s\u24E2\uFF53\xDF\u015B\u1E65\u015D\u1E61\u0161\u1E67\u1E63\u1E69\u0219\u015F\u023F\uA7A9\uA785\u1E9B"},{base:"t",letters:"t\u24E3\uFF54\u1E6B\u1E97\u0165\u1E6D\u021B\u0163\u1E71\u1E6F\u0167\u01AD\u0288\u2C66\uA787"},{base:"tz",letters:"\uA729"},{base:"u",letters:"u\u24E4\uFF55\xF9\xFA\xFB\u0169\u1E79\u016B\u1E7B\u016D\xFC\u01DC\u01D8\u01D6\u01DA\u1EE7\u016F\u0171\u01D4\u0215\u0217\u01B0\u1EEB\u1EE9\u1EEF\u1EED\u1EF1\u1EE5\u1E73\u0173\u1E77\u1E75\u0289"},{base:"v",letters:"v\u24E5\uFF56\u1E7D\u1E7F\u028B\uA75F\u028C"},{base:"vy",letters:"\uA761"},{base:"w",letters:"w\u24E6\uFF57\u1E81\u1E83\u0175\u1E87\u1E85\u1E98\u1E89\u2C73"},{base:"x",letters:"x\u24E7\uFF58\u1E8B\u1E8D"},{base:"y",letters:"y\u24E8\uFF59\u1EF3\xFD\u0177\u1EF9\u0233\u1E8F\xFF\u1EF7\u1E99\u1EF5\u01B4\u024F\u1EFF"},{base:"z",letters:"z\u24E9\uFF5A\u017A\u1E91\u017C\u017E\u1E93\u1E95\u01B6\u0225\u0240\u2C6C\uA763"}],jc=new RegExp("["+mr.map(function(e){return e.letters}).join("")+"]","g"),ai={},vr=0;vr<mr.length;vr++)for(var gr=mr[vr],br=0;br<gr.letters.length;br++)ai[gr.letters[br]]=gr.base;var si=function(t){return t.replace(jc,function(r){return ai[r]})},Fc=_c(si),ui=function(t){return t.replace(/^\s+|\s+$/g,"")},Dc=function(t){return"".concat(t.label," ").concat(t.value)},Mc=function(t){return function(r,o){if(r.data.__isNew__)return!0;var n=B({ignoreCase:!0,ignoreAccents:!0,stringify:Dc,trim:!0,matchFrom:"any"},t),i=n.ignoreCase,a=n.ignoreAccents,l=n.stringify,s=n.trim,c=n.matchFrom,p=s?ui(o):o,m=s?ui(l(r)):l(r);return i&&(p=p.toLowerCase(),m=m.toLowerCase()),a&&(p=Fc(p),m=si(m)),c==="start"?m.substr(0,p.length)===p:m.indexOf(p)>-1}},Ic=["innerRef"];function Pc(e){var t=e.innerRef,r=tt(e,Ic),o=il(r,"onExited","in","enter","exit","appear");return N("input",H({ref:t},o,{css:or({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 Rc=function(t){t.cancelable&&t.preventDefault(),t.stopPropagation()};function kc(e){var t=e.isEnabled,r=e.onBottomArrive,o=e.onBottomLeave,n=e.onTopArrive,i=e.onTopLeave,a=(0,h.useRef)(!1),l=(0,h.useRef)(!1),s=(0,h.useRef)(0),c=(0,h.useRef)(null),p=(0,h.useCallback)(function(b,x){if(c.current!==null){var C=c.current,M=C.scrollTop,V=C.scrollHeight,R=C.clientHeight,k=c.current,F=x>0,z=V-R-M,W=!1;z>x&&a.current&&(o&&o(b),a.current=!1),F&&l.current&&(i&&i(b),l.current=!1),F&&x>z?(r&&!a.current&&r(b),k.scrollTop=V,W=!0,a.current=!0):!F&&-x>M&&(n&&!l.current&&n(b),k.scrollTop=0,W=!0,l.current=!0),W&&Rc(b)}},[r,o,n,i]),m=(0,h.useCallback)(function(b){p(b,b.deltaY)},[p]),y=(0,h.useCallback)(function(b){s.current=b.changedTouches[0].clientY},[]),w=(0,h.useCallback)(function(b){var x=s.current-b.changedTouches[0].clientY;p(b,x)},[p]),O=(0,h.useCallback)(function(b){if(b){var x=nl?{passive:!1}:!1;b.addEventListener("wheel",m,x),b.addEventListener("touchstart",y,x),b.addEventListener("touchmove",w,x)}},[w,y,m]),_=(0,h.useCallback)(function(b){b&&(b.removeEventListener("wheel",m,!1),b.removeEventListener("touchstart",y,!1),b.removeEventListener("touchmove",w,!1))},[w,y,m]);return(0,h.useEffect)(function(){if(t){var b=c.current;return O(b),function(){_(b)}}},[t,O,_]),function(b){c.current=b}}var li=["boxSizing","height","overflow","paddingRight","position"],ci={boxSizing:"border-box",overflow:"hidden",position:"relative",height:"100%"};function di(e){e.cancelable&&e.preventDefault()}function fi(e){e.stopPropagation()}function pi(){var e=this.scrollTop,t=this.scrollHeight,r=e+this.offsetHeight;e===0?this.scrollTop=1:r===t&&(this.scrollTop=e-1)}function hi(){return"ontouchstart"in window||navigator.maxTouchPoints}var mi=!!(typeof window<"u"&&window.document&&window.document.createElement),Lt=0,xt={capture:!1,passive:!1};function Tc(e){var t=e.isEnabled,r=e.accountForScrollbars,o=r===void 0?!0:r,n=(0,h.useRef)({}),i=(0,h.useRef)(null),a=(0,h.useCallback)(function(s){if(mi){var c=document.body,p=c&&c.style;if(o&&li.forEach(function(O){var _=p&&p[O];n.current[O]=_}),o&&Lt<1){var m=parseInt(n.current.paddingRight,10)||0,y=document.body?document.body.clientWidth:0,w=window.innerWidth-y+m||0;Object.keys(ci).forEach(function(O){var _=ci[O];p&&(p[O]=_)}),p&&(p.paddingRight="".concat(w,"px"))}c&&hi()&&(c.addEventListener("touchmove",di,xt),s&&(s.addEventListener("touchstart",pi,xt),s.addEventListener("touchmove",fi,xt))),Lt+=1}},[o]),l=(0,h.useCallback)(function(s){if(mi){var c=document.body,p=c&&c.style;Lt=Math.max(Lt-1,0),o&&Lt<1&&li.forEach(function(m){var y=n.current[m];p&&(p[m]=y)}),c&&hi()&&(c.removeEventListener("touchmove",di,xt),s&&(s.removeEventListener("touchstart",pi,xt),s.removeEventListener("touchmove",fi,xt)))}},[o]);return(0,h.useEffect)(function(){if(t){var s=i.current;return a(s),function(){l(s)}}},[t,a,l]),function(s){i.current=s}}function up(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var Lc=function(t){var r=t.target;return r.ownerDocument.activeElement&&r.ownerDocument.activeElement.blur()},Vc={name:"1kfdb0e",styles:"position:fixed;left:0;bottom:0;right:0;top:0"};function Nc(e){var t=e.children,r=e.lockEnabled,o=e.captureEnabled,n=o===void 0?!0:o,i=e.onBottomArrive,a=e.onBottomLeave,l=e.onTopArrive,s=e.onTopLeave,c=kc({isEnabled:n,onBottomArrive:i,onBottomLeave:a,onTopArrive:l,onTopLeave:s}),p=Tc({isEnabled:r}),m=function(w){c(w),p(w)};return N(h.Fragment,null,r&&N("div",{onClick:Lc,css:Vc}),t(m))}function lp(){return"You have tried to stringify object returned from `css` function. It isn't supposed to be used directly (e.g. as value of the `className` prop), but rather handed to emotion so it can handle it (e.g. as value of `css` prop)."}var $c={name:"1a0ro4n-requiredInput",styles:"label:requiredInput;opacity:0;pointer-events:none;position:absolute;bottom:0;left:0;right:0;width:100%"},Bc=function(t){var r=t.name,o=t.onFocus;return N("input",{required:!0,name:r,tabIndex:-1,"aria-hidden":"true",onFocus:o,css:$c,value:"",onChange:function(){}})},Hc=Bc;function yr(e){var t;return typeof window<"u"&&window.navigator!=null?e.test(((t=window.navigator.userAgentData)===null||t===void 0?void 0:t.platform)||window.navigator.platform):!1}function zc(){return yr(/^iPhone/i)}function vi(){return yr(/^Mac/i)}function Uc(){return yr(/^iPad/i)||vi()&&navigator.maxTouchPoints>1}function Wc(){return zc()||Uc()}function qc(){return vi()||Wc()}var Gc=function(t){return t.label},Yc=function(t){return t.label},Kc=function(t){return t.value},Xc=function(t){return!!t.isDisabled},Jc={clearIndicator:Pl,container:_l,control:$l,dropdownIndicator:Ml,group:Ul,groupHeading:ql,indicatorsContainer:Ol,indicatorSeparator:kl,input:Xl,loadingIndicator:Vl,loadingMessage:gl,menu:cl,menuList:hl,menuPortal:wl,multiValue:tc,multiValueLabel:nc,multiValueRemove:rc,noOptionsMessage:vl,option:lc,placeholder:fc,singleValue:mc,valueContainer:Sl};function cp(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=_objectSpread({},e);return Object.keys(t).forEach(function(o){var n=o;e[n]?r[n]=function(i,a){return t[n](e[n](i,a),a)}:r[n]=t[n]}),r}var Zc={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%)"},Qc=4,gi=4,ed=38,td=gi*2,nd={baseUnit:gi,controlHeight:ed,menuGutter:td},wr={borderRadius:Qc,colors:Zc,spacing:nd},rd={"aria-live":"polite",backspaceRemovesValue:!0,blurInputOnSelect:Go(),captureMenuScroll:!Go(),classNames:{},closeMenuOnSelect:!0,closeMenuOnScroll:!1,components:{},controlShouldRenderValue:!0,escapeClearsValue:!1,filterOption:Mc(),formatGroupLabel:Gc,getOptionLabel:Yc,getOptionValue:Kc,isDisabled:!1,isLoading:!1,isMulti:!1,isRtl:!1,isSearchable:!0,isOptionDisabled:Xc,loadingMessage:function(){return"Loading..."},maxMenuHeight:300,minMenuHeight:140,menuIsOpen:!1,menuPlacement:"bottom",menuPosition:"absolute",menuShouldBlockScroll:!1,menuShouldScrollIntoView:!el(),noOptionsMessage:function(){return"No options"},openMenuOnFocus:!1,openMenuOnClick:!0,options:[],pageSize:5,placeholder:"Select...",screenReaderStatus:function(t){var r=t.count;return"".concat(r," result").concat(r!==1?"s":""," available")},styles:{},tabIndex:0,tabSelectsValue:!0,unstyled:!1};function bi(e,t,r,o){var n=Ei(e,t,r),i=Si(e,t,r),a=_i(e,t),l=yn(e,t);return{type:"option",data:t,isDisabled:n,isSelected:i,label:a,value:l,index:o}}function bn(e,t){return e.options.map(function(r,o){if("options"in r){var n=r.options.map(function(a,l){return bi(e,a,t,l)}).filter(function(a){return xi(e,a)});return n.length>0?{type:"group",data:r,options:n,index:o}:void 0}var i=bi(e,r,t,o);return xi(e,i)?i:void 0}).filter(rl)}function yi(e){return e.reduce(function(t,r){return r.type==="group"?t.push.apply(t,qn(r.options.map(function(o){return o.data}))):t.push(r.data),t},[])}function wi(e,t){return e.reduce(function(r,o){return o.type==="group"?r.push.apply(r,qn(o.options.map(function(n){return{data:n.data,id:"".concat(t,"-").concat(o.index,"-").concat(n.index)}}))):r.push({data:o.data,id:"".concat(t,"-").concat(o.index)}),r},[])}function od(e,t){return yi(bn(e,t))}function xi(e,t){var r=e.inputValue,o=r===void 0?"":r,n=t.data,i=t.isSelected,a=t.label,l=t.value;return(!Oi(e)||!i)&&Ci(e,{label:a,value:l,data:n},o)}function id(e,t){var r=e.focusedValue,o=e.selectValue,n=o.indexOf(r);if(n>-1){var i=t.indexOf(r);if(i>-1)return r;if(n<t.length)return t[n]}return null}function ad(e,t){var r=e.focusedOption;return r&&t.indexOf(r)>-1?r:t[0]}var xr=function(t,r){var o,n=(o=t.find(function(i){return i.data===r}))===null||o===void 0?void 0:o.id;return n||null},_i=function(t,r){return t.getOptionLabel(r)},yn=function(t,r){return t.getOptionValue(r)};function Ei(e,t,r){return typeof e.isOptionDisabled=="function"?e.isOptionDisabled(t,r):!1}function Si(e,t,r){if(r.indexOf(t)>-1)return!0;if(typeof e.isOptionSelected=="function")return e.isOptionSelected(t,r);var o=yn(e,t);return r.some(function(n){return yn(e,n)===o})}function Ci(e,t,r){return e.filterOption?e.filterOption(t,r):!0}var Oi=function(t){var r=t.hideSelectedOptions,o=t.isMulti;return r===void 0?o:r},sd=1,Ai=(function(e){is(r,e);var t=us(r);function r(o){var n;if(rs(this,r),n=t.call(this,o),n.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},n.blockOptionHover=!1,n.isComposing=!1,n.commonProps=void 0,n.initialTouchX=0,n.initialTouchY=0,n.openAfterFocus=!1,n.scrollToFocusedOptionOnUpdate=!1,n.userIsDragging=void 0,n.controlRef=null,n.getControlRef=function(s){n.controlRef=s},n.focusedOptionRef=null,n.getFocusedOptionRef=function(s){n.focusedOptionRef=s},n.menuListRef=null,n.getMenuListRef=function(s){n.menuListRef=s},n.inputRef=null,n.getInputRef=function(s){n.inputRef=s},n.focus=n.focusInput,n.blur=n.blurInput,n.onChange=function(s,c){var p=n.props,m=p.onChange,y=p.name;c.name=y,n.ariaOnChange(s,c),m(s,c)},n.setValue=function(s,c,p){var m=n.props,y=m.closeMenuOnSelect,w=m.isMulti,O=m.inputValue;n.onInputChange("",{action:"set-value",prevInputValue:O}),y&&(n.setState({inputIsHiddenAfterUpdate:!w}),n.onMenuClose()),n.setState({clearFocusValueOnUpdate:!0}),n.onChange(s,{action:c,option:p})},n.selectOption=function(s){var c=n.props,p=c.blurInputOnSelect,m=c.isMulti,y=c.name,w=n.state.selectValue,O=m&&n.isOptionSelected(s,w),_=n.isOptionDisabled(s,w);if(O){var b=n.getOptionValue(s);n.setValue(w.filter(function(x){return n.getOptionValue(x)!==b}),"deselect-option",s)}else if(!_)m?n.setValue([].concat(qn(w),[s]),"select-option",s):n.setValue(s,"select-option");else{n.ariaOnChange(s,{action:"select-option",option:s,name:y});return}p&&n.blurInput()},n.removeValue=function(s){var c=n.props.isMulti,p=n.state.selectValue,m=n.getOptionValue(s),y=p.filter(function(O){return n.getOptionValue(O)!==m}),w=gn(c,y,y[0]||null);n.onChange(w,{action:"remove-value",removedValue:s}),n.focusInput()},n.clearValue=function(){var s=n.state.selectValue;n.onChange(gn(n.props.isMulti,[],null),{action:"clear",removedValues:s})},n.popValue=function(){var s=n.props.isMulti,c=n.state.selectValue,p=c[c.length-1],m=c.slice(0,c.length-1),y=gn(s,m,m[0]||null);p&&n.onChange(y,{action:"pop-value",removedValue:p})},n.getFocusedOptionId=function(s){return xr(n.state.focusableOptionsWithIds,s)},n.getFocusableOptionsWithIds=function(){return wi(bn(n.props,n.state.selectValue),n.getElementId("option"))},n.getValue=function(){return n.state.selectValue},n.cx=function(){for(var s=arguments.length,c=new Array(s),p=0;p<s;p++)c[p]=arguments[p];return Ku.apply(void 0,[n.props.classNamePrefix].concat(c))},n.getOptionLabel=function(s){return _i(n.props,s)},n.getOptionValue=function(s){return yn(n.props,s)},n.getStyles=function(s,c){var p=n.props.unstyled,m=Jc[s](c,p);m.boxSizing="border-box";var y=n.props.styles[s];return y?y(m,c):m},n.getClassNames=function(s,c){var p,m;return(p=(m=n.props.classNames)[s])===null||p===void 0?void 0:p.call(m,c)},n.getElementId=function(s){return"".concat(n.state.instancePrefix,"-").concat(s)},n.getComponents=function(){return yc(n.props)},n.buildCategorizedOptions=function(){return bn(n.props,n.state.selectValue)},n.getCategorizedOptions=function(){return n.props.menuIsOpen?n.buildCategorizedOptions():[]},n.buildFocusableOptions=function(){return yi(n.buildCategorizedOptions())},n.getFocusableOptions=function(){return n.props.menuIsOpen?n.buildFocusableOptions():[]},n.ariaOnChange=function(s,c){n.setState({ariaSelection:B({value:s},c)})},n.onMenuMouseDown=function(s){s.button===0&&(s.stopPropagation(),s.preventDefault(),n.focusInput())},n.onMenuMouseMove=function(s){n.blockOptionHover=!1},n.onControlMouseDown=function(s){if(!s.defaultPrevented){var c=n.props.openMenuOnClick;n.state.isFocused?n.props.menuIsOpen?s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&n.onMenuClose():c&&n.openMenu("first"):(c&&(n.openAfterFocus=!0),n.focusInput()),s.target.tagName!=="INPUT"&&s.target.tagName!=="TEXTAREA"&&s.preventDefault()}},n.onDropdownIndicatorMouseDown=function(s){if(!(s&&s.type==="mousedown"&&s.button!==0)&&!n.props.isDisabled){var c=n.props,p=c.isMulti,m=c.menuIsOpen;n.focusInput(),m?(n.setState({inputIsHiddenAfterUpdate:!p}),n.onMenuClose()):n.openMenu("first"),s.preventDefault()}},n.onClearIndicatorMouseDown=function(s){s&&s.type==="mousedown"&&s.button!==0||(n.clearValue(),s.preventDefault(),n.openAfterFocus=!1,s.type==="touchend"?n.focusInput():setTimeout(function(){return n.focusInput()}))},n.onScroll=function(s){typeof n.props.closeMenuOnScroll=="boolean"?s.target instanceof HTMLElement&&pn(s.target)&&n.props.onMenuClose():typeof n.props.closeMenuOnScroll=="function"&&n.props.closeMenuOnScroll(s)&&n.props.onMenuClose()},n.onCompositionStart=function(){n.isComposing=!0},n.onCompositionEnd=function(){n.isComposing=!1},n.onTouchStart=function(s){var c=s.touches,p=c&&c.item(0);p&&(n.initialTouchX=p.clientX,n.initialTouchY=p.clientY,n.userIsDragging=!1)},n.onTouchMove=function(s){var c=s.touches,p=c&&c.item(0);if(p){var m=Math.abs(p.clientX-n.initialTouchX),y=Math.abs(p.clientY-n.initialTouchY),w=5;n.userIsDragging=m>w||y>w}},n.onTouchEnd=function(s){n.userIsDragging||(n.controlRef&&!n.controlRef.contains(s.target)&&n.menuListRef&&!n.menuListRef.contains(s.target)&&n.blurInput(),n.initialTouchX=0,n.initialTouchY=0)},n.onControlTouchEnd=function(s){n.userIsDragging||n.onControlMouseDown(s)},n.onClearIndicatorTouchEnd=function(s){n.userIsDragging||n.onClearIndicatorMouseDown(s)},n.onDropdownIndicatorTouchEnd=function(s){n.userIsDragging||n.onDropdownIndicatorMouseDown(s)},n.handleInputChange=function(s){var c=n.props.inputValue,p=s.currentTarget.value;n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange(p,{action:"input-change",prevInputValue:c}),n.props.menuIsOpen||n.onMenuOpen()},n.onInputFocus=function(s){n.props.onFocus&&n.props.onFocus(s),n.setState({inputIsHiddenAfterUpdate:!1,isFocused:!0}),(n.openAfterFocus||n.props.openMenuOnFocus)&&n.openMenu("first"),n.openAfterFocus=!1},n.onInputBlur=function(s){var c=n.props.inputValue;if(n.menuListRef&&n.menuListRef.contains(document.activeElement)){n.inputRef.focus();return}n.props.onBlur&&n.props.onBlur(s),n.onInputChange("",{action:"input-blur",prevInputValue:c}),n.onMenuClose(),n.setState({focusedValue:null,isFocused:!1})},n.onOptionHover=function(s){if(!(n.blockOptionHover||n.state.focusedOption===s)){var c=n.getFocusableOptions(),p=c.indexOf(s);n.setState({focusedOption:s,focusedOptionId:p>-1?n.getFocusedOptionId(s):null})}},n.shouldHideSelectedOptions=function(){return Oi(n.props)},n.onValueInputFocus=function(s){s.preventDefault(),s.stopPropagation(),n.focus()},n.onKeyDown=function(s){var c=n.props,p=c.isMulti,m=c.backspaceRemovesValue,y=c.escapeClearsValue,w=c.inputValue,O=c.isClearable,_=c.isDisabled,b=c.menuIsOpen,x=c.onKeyDown,C=c.tabSelectsValue,M=c.openMenuOnFocus,V=n.state,R=V.focusedOption,k=V.focusedValue,F=V.selectValue;if(!_&&!(typeof x=="function"&&(x(s),s.defaultPrevented))){switch(n.blockOptionHover=!0,s.key){case"ArrowLeft":if(!p||w)return;n.focusValue("previous");break;case"ArrowRight":if(!p||w)return;n.focusValue("next");break;case"Delete":case"Backspace":if(w)return;if(k)n.removeValue(k);else{if(!m)return;p?n.popValue():O&&n.clearValue()}break;case"Tab":if(n.isComposing||s.shiftKey||!b||!C||!R||M&&n.isOptionSelected(R,F))return;n.selectOption(R);break;case"Enter":if(s.keyCode===229)break;if(b){if(!R||n.isComposing)return;n.selectOption(R);break}return;case"Escape":b?(n.setState({inputIsHiddenAfterUpdate:!1}),n.onInputChange("",{action:"menu-close",prevInputValue:w}),n.onMenuClose()):O&&y&&n.clearValue();break;case" ":if(w)return;if(!b){n.openMenu("first");break}if(!R)return;n.selectOption(R);break;case"ArrowUp":b?n.focusOption("up"):n.openMenu("last");break;case"ArrowDown":b?n.focusOption("down"):n.openMenu("first");break;case"PageUp":if(!b)return;n.focusOption("pageup");break;case"PageDown":if(!b)return;n.focusOption("pagedown");break;case"Home":if(!b)return;n.focusOption("first");break;case"End":if(!b)return;n.focusOption("last");break;default:return}s.preventDefault()}},n.state.instancePrefix="react-select-"+(n.props.instanceId||++sd),n.state.selectValue=zo(o.value),o.menuIsOpen&&n.state.selectValue.length){var i=n.getFocusableOptionsWithIds(),a=n.buildFocusableOptions(),l=a.indexOf(n.state.selectValue[0]);n.state.focusableOptionsWithIds=i,n.state.focusedOption=a[l],n.state.focusedOptionId=xr(i,a[l])}return n}return os(r,[{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&&qo(this.menuListRef,this.focusedOptionRef),qc()&&this.setState({isAppleDevice:!0})}},{key:"componentDidUpdate",value:function(n){var i=this.props,a=i.isDisabled,l=i.menuIsOpen,s=this.state.isFocused;(s&&!a&&n.isDisabled||s&&l&&!n.menuIsOpen)&&this.focusInput(),s&&a&&!n.isDisabled?this.setState({isFocused:!1},this.onMenuClose):!s&&!a&&n.isDisabled&&this.inputRef===document.activeElement&&this.setState({isFocused:!0}),this.menuListRef&&this.focusedOptionRef&&this.scrollToFocusedOptionOnUpdate&&(qo(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(n,i){this.props.onInputChange(n,i)}},{key:"focusInput",value:function(){this.inputRef&&this.inputRef.focus()}},{key:"blurInput",value:function(){this.inputRef&&this.inputRef.blur()}},{key:"openMenu",value:function(n){var i=this,a=this.state,l=a.selectValue,s=a.isFocused,c=this.buildFocusableOptions(),p=n==="first"?0:c.length-1;if(!this.props.isMulti){var m=c.indexOf(l[0]);m>-1&&(p=m)}this.scrollToFocusedOptionOnUpdate=!(s&&this.menuListRef),this.setState({inputIsHiddenAfterUpdate:!1,focusedValue:null,focusedOption:c[p],focusedOptionId:this.getFocusedOptionId(c[p])},function(){return i.onMenuOpen()})}},{key:"focusValue",value:function(n){var i=this.state,a=i.selectValue,l=i.focusedValue;if(this.props.isMulti){this.setState({focusedOption:null});var s=a.indexOf(l);l||(s=-1);var c=a.length-1,p=-1;if(a.length){switch(n){case"previous":s===0?p=0:s===-1?p=c:p=s-1;break;case"next":s>-1&&s<c&&(p=s+1);break}this.setState({inputIsHidden:p!==-1,focusedValue:a[p]})}}}},{key:"focusOption",value:function(){var n=arguments.length>0&&arguments[0]!==void 0?arguments[0]:"first",i=this.props.pageSize,a=this.state.focusedOption,l=this.getFocusableOptions();if(l.length){var s=0,c=l.indexOf(a);a||(c=-1),n==="up"?s=c>0?c-1:l.length-1:n==="down"?s=(c+1)%l.length:n==="pageup"?(s=c-i,s<0&&(s=0)):n==="pagedown"?(s=c+i,s>l.length-1&&(s=l.length-1)):n==="last"&&(s=l.length-1),this.scrollToFocusedOptionOnUpdate=!0,this.setState({focusedOption:l[s],focusedValue:null,focusedOptionId:this.getFocusedOptionId(l[s])})}}},{key:"getTheme",value:(function(){return this.props.theme?typeof this.props.theme=="function"?this.props.theme(wr):B(B({},wr),this.props.theme):wr})},{key:"getCommonProps",value:function(){var n=this.clearValue,i=this.cx,a=this.getStyles,l=this.getClassNames,s=this.getValue,c=this.selectOption,p=this.setValue,m=this.props,y=m.isMulti,w=m.isRtl,O=m.options,_=this.hasValue();return{clearValue:n,cx:i,getStyles:a,getClassNames:l,getValue:s,hasValue:_,isMulti:y,isRtl:w,options:O,selectOption:c,selectProps:m,setValue:p,theme:this.getTheme()}}},{key:"hasValue",value:function(){var n=this.state.selectValue;return n.length>0}},{key:"hasOptions",value:function(){return!!this.getFocusableOptions().length}},{key:"isClearable",value:function(){var n=this.props,i=n.isClearable,a=n.isMulti;return i===void 0?a:i}},{key:"isOptionDisabled",value:function(n,i){return Ei(this.props,n,i)}},{key:"isOptionSelected",value:function(n,i){return Si(this.props,n,i)}},{key:"filterOption",value:function(n,i){return Ci(this.props,n,i)}},{key:"formatOptionLabel",value:function(n,i){if(typeof this.props.formatOptionLabel=="function"){var a=this.props.inputValue,l=this.state.selectValue;return this.props.formatOptionLabel(n,{context:i,inputValue:a,selectValue:l})}else return this.getOptionLabel(n)}},{key:"formatGroupLabel",value:function(n){return this.props.formatGroupLabel(n)}},{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 n=this.props,i=n.isDisabled,a=n.isSearchable,l=n.inputId,s=n.inputValue,c=n.tabIndex,p=n.form,m=n.menuIsOpen,y=n.required,w=this.getComponents(),O=w.Input,_=this.state,b=_.inputIsHidden,x=_.ariaSelection,C=this.commonProps,M=l||this.getElementId("input"),V=B(B(B({"aria-autocomplete":"list","aria-expanded":m,"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":y,role:"combobox","aria-activedescendant":this.state.isAppleDevice?void 0:this.state.focusedOptionId||""},m&&{"aria-controls":this.getElementId("listbox")}),!a&&{"aria-readonly":!0}),this.hasValue()?x?.action==="initial-input-focus"&&{"aria-describedby":this.getElementId("live-region")}:{"aria-describedby":this.getElementId("placeholder")});return a?h.createElement(O,H({},C,{autoCapitalize:"none",autoComplete:"off",autoCorrect:"off",id:M,innerRef:this.getInputRef,isDisabled:i,isHidden:b,onBlur:this.onInputBlur,onChange:this.handleInputChange,onFocus:this.onInputFocus,spellCheck:"false",tabIndex:c,form:p,type:"text",value:s},V)):h.createElement(Pc,H({id:M,innerRef:this.getInputRef,onBlur:this.onInputBlur,onChange:fn,onFocus:this.onInputFocus,disabled:i,tabIndex:c,inputMode:"none",form:p,value:""},V))})},{key:"renderPlaceholderOrValue",value:function(){var n=this,i=this.getComponents(),a=i.MultiValue,l=i.MultiValueContainer,s=i.MultiValueLabel,c=i.MultiValueRemove,p=i.SingleValue,m=i.Placeholder,y=this.commonProps,w=this.props,O=w.controlShouldRenderValue,_=w.isDisabled,b=w.isMulti,x=w.inputValue,C=w.placeholder,M=this.state,V=M.selectValue,R=M.focusedValue,k=M.isFocused;if(!this.hasValue()||!O)return x?null:h.createElement(m,H({},y,{key:"placeholder",isDisabled:_,isFocused:k,innerProps:{id:this.getElementId("placeholder")}}),C);if(b)return V.map(function(z,W){var se=z===R,re="".concat(n.getOptionLabel(z),"-").concat(n.getOptionValue(z));return h.createElement(a,H({},y,{components:{Container:l,Label:s,Remove:c},isFocused:se,isDisabled:_,key:re,index:W,removeProps:{onClick:function(){return n.removeValue(z)},onTouchEnd:function(){return n.removeValue(z)},onMouseDown:function(we){we.preventDefault()}},data:z}),n.formatOptionLabel(z,"value"))});if(x)return null;var F=V[0];return h.createElement(p,H({},y,{data:F,isDisabled:_}),this.formatOptionLabel(F,"value"))}},{key:"renderClearIndicator",value:function(){var n=this.getComponents(),i=n.ClearIndicator,a=this.commonProps,l=this.props,s=l.isDisabled,c=l.isLoading,p=this.state.isFocused;if(!this.isClearable()||!i||s||!this.hasValue()||c)return null;var m={onMouseDown:this.onClearIndicatorMouseDown,onTouchEnd:this.onClearIndicatorTouchEnd,"aria-hidden":"true"};return h.createElement(i,H({},a,{innerProps:m,isFocused:p}))}},{key:"renderLoadingIndicator",value:function(){var n=this.getComponents(),i=n.LoadingIndicator,a=this.commonProps,l=this.props,s=l.isDisabled,c=l.isLoading,p=this.state.isFocused;if(!i||!c)return null;var m={"aria-hidden":"true"};return h.createElement(i,H({},a,{innerProps:m,isDisabled:s,isFocused:p}))}},{key:"renderIndicatorSeparator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator,a=n.IndicatorSeparator;if(!i||!a)return null;var l=this.commonProps,s=this.props.isDisabled,c=this.state.isFocused;return h.createElement(a,H({},l,{isDisabled:s,isFocused:c}))}},{key:"renderDropdownIndicator",value:function(){var n=this.getComponents(),i=n.DropdownIndicator;if(!i)return null;var a=this.commonProps,l=this.props.isDisabled,s=this.state.isFocused,c={onMouseDown:this.onDropdownIndicatorMouseDown,onTouchEnd:this.onDropdownIndicatorTouchEnd,"aria-hidden":"true"};return h.createElement(i,H({},a,{innerProps:c,isDisabled:l,isFocused:s}))}},{key:"renderMenu",value:function(){var n=this,i=this.getComponents(),a=i.Group,l=i.GroupHeading,s=i.Menu,c=i.MenuList,p=i.MenuPortal,m=i.LoadingMessage,y=i.NoOptionsMessage,w=i.Option,O=this.commonProps,_=this.state.focusedOption,b=this.props,x=b.captureMenuScroll,C=b.inputValue,M=b.isLoading,V=b.loadingMessage,R=b.minMenuHeight,k=b.maxMenuHeight,F=b.menuIsOpen,z=b.menuPlacement,W=b.menuPosition,se=b.menuPortalTarget,re=b.menuShouldBlockScroll,ue=b.menuShouldScrollIntoView,we=b.noOptionsMessage,fe=b.onMenuScrollToTop,oe=b.onMenuScrollToBottom;if(!F)return null;var Q=function(pe,Me){var Re=pe.type,Ee=pe.data,Se=pe.isDisabled,je=pe.isSelected,St=pe.label,wn=pe.value,Vt=_===Ee,xn=Se?void 0:function(){return n.onOptionHover(Ee)},Sr=Se?void 0:function(){return n.selectOption(Ee)},ut="".concat(n.getElementId("option"),"-").concat(Me),_n={id:ut,onClick:Sr,onMouseMove:xn,onMouseOver:xn,tabIndex:-1,role:"option","aria-selected":n.state.isAppleDevice?void 0:je};return h.createElement(w,H({},O,{innerProps:_n,data:Ee,isDisabled:Se,isSelected:je,key:ut,label:St,type:Re,value:wn,isFocused:Vt,innerRef:Vt?n.getFocusedOptionRef:void 0}),n.formatOptionLabel(pe.data,"menu"))},Pe;if(this.hasOptions())Pe=this.getCategorizedOptions().map(function(ee){if(ee.type==="group"){var pe=ee.data,Me=ee.options,Re=ee.index,Ee="".concat(n.getElementId("group"),"-").concat(Re),Se="".concat(Ee,"-heading");return h.createElement(a,H({},O,{key:Ee,data:pe,options:Me,Heading:l,headingProps:{id:Se,data:ee.data},label:n.formatGroupLabel(ee.data)}),ee.options.map(function(je){return Q(je,"".concat(Re,"-").concat(je.index))}))}else if(ee.type==="option")return Q(ee,"".concat(ee.index))});else if(M){var _e=V({inputValue:C});if(_e===null)return null;Pe=h.createElement(m,O,_e)}else{var Be=we({inputValue:C});if(Be===null)return null;Pe=h.createElement(y,O,Be)}var Ae={minMenuHeight:R,maxMenuHeight:k,menuPlacement:z,menuPosition:W,menuShouldScrollIntoView:ue},Et=h.createElement(dl,H({},O,Ae),function(ee){var pe=ee.ref,Me=ee.placerProps,Re=Me.placement,Ee=Me.maxHeight;return h.createElement(s,H({},O,Ae,{innerRef:pe,innerProps:{onMouseDown:n.onMenuMouseDown,onMouseMove:n.onMenuMouseMove},isLoading:M,placement:Re}),h.createElement(Nc,{captureEnabled:x,onTopArrive:fe,onBottomArrive:oe,lockEnabled:re},function(Se){return h.createElement(c,H({},O,{innerRef:function(St){n.getMenuListRef(St),Se(St)},innerProps:{role:"listbox","aria-multiselectable":O.isMulti,id:n.getElementId("listbox")},isLoading:M,maxHeight:Ee,focusedOption:_}),Pe)}))});return se||W==="fixed"?h.createElement(p,H({},O,{appendTo:se,controlElement:this.controlRef,menuPlacement:z,menuPosition:W}),Et):Et}},{key:"renderFormField",value:function(){var n=this,i=this.props,a=i.delimiter,l=i.isDisabled,s=i.isMulti,c=i.name,p=i.required,m=this.state.selectValue;if(p&&!this.hasValue()&&!l)return h.createElement(Hc,{name:c,onFocus:this.onValueInputFocus});if(!(!c||l))if(s)if(a){var y=m.map(function(_){return n.getOptionValue(_)}).join(a);return h.createElement("input",{name:c,type:"hidden",value:y})}else{var w=m.length>0?m.map(function(_,b){return h.createElement("input",{key:"i-".concat(b),name:c,type:"hidden",value:n.getOptionValue(_)})}):h.createElement("input",{name:c,type:"hidden",value:""});return h.createElement("div",null,w)}else{var O=m[0]?this.getOptionValue(m[0]):"";return h.createElement("input",{name:c,type:"hidden",value:O})}}},{key:"renderLiveRegion",value:function(){var n=this.commonProps,i=this.state,a=i.ariaSelection,l=i.focusedOption,s=i.focusedValue,c=i.isFocused,p=i.selectValue,m=this.getFocusableOptions();return h.createElement(Ac,H({},n,{id:this.getElementId("live-region"),ariaSelection:a,focusedOption:l,focusedValue:s,isFocused:c,selectValue:p,focusableOptions:m,isAppleDevice:this.state.isAppleDevice}))}},{key:"render",value:function(){var n=this.getComponents(),i=n.Control,a=n.IndicatorsContainer,l=n.SelectContainer,s=n.ValueContainer,c=this.props,p=c.className,m=c.id,y=c.isDisabled,w=c.menuIsOpen,O=this.state.isFocused,_=this.commonProps=this.getCommonProps();return h.createElement(l,H({},_,{className:p,innerProps:{id:m,onKeyDown:this.onKeyDown},isDisabled:y,isFocused:O}),this.renderLiveRegion(),h.createElement(i,H({},_,{innerRef:this.getControlRef,innerProps:{onMouseDown:this.onControlMouseDown,onTouchEnd:this.onControlTouchEnd},isDisabled:y,isFocused:O,menuIsOpen:w}),h.createElement(s,H({},_,{isDisabled:y}),this.renderPlaceholderOrValue(),this.renderInput()),h.createElement(a,H({},_,{isDisabled:y}),this.renderClearIndicator(),this.renderLoadingIndicator(),this.renderIndicatorSeparator(),this.renderDropdownIndicator())),this.renderMenu(),this.renderFormField())}}],[{key:"getDerivedStateFromProps",value:function(n,i){var a=i.prevProps,l=i.clearFocusValueOnUpdate,s=i.inputIsHiddenAfterUpdate,c=i.ariaSelection,p=i.isFocused,m=i.prevWasFocused,y=i.instancePrefix,w=n.options,O=n.value,_=n.menuIsOpen,b=n.inputValue,x=n.isMulti,C=zo(O),M={};if(a&&(O!==a.value||w!==a.options||_!==a.menuIsOpen||b!==a.inputValue)){var V=_?od(n,C):[],R=_?wi(bn(n,C),"".concat(y,"-option")):[],k=l?id(i,C):null,F=ad(i,V),z=xr(R,F);M={selectValue:C,focusedOption:F,focusedOptionId:z,focusableOptionsWithIds:R,focusedValue:k,clearFocusValueOnUpdate:!1}}var W=s!=null&&n!==a?{inputIsHidden:s,inputIsHiddenAfterUpdate:void 0}:{},se=c,re=p&&m;return p&&!re&&(se={value:gn(x,C,C[0]||null),options:C,action:"initial-input-focus"},re=!m),c?.action==="initial-input-focus"&&(se=null),B(B(B({},M),W),{},{prevProps:n,ariaSelection:se,prevWasFocused:re})}}]),r})(h.Component);Ai.defaultProps=rd;var ud=(0,h.forwardRef)(function(e,t){var r=ns(e);return h.createElement(Ai,H({ref:t},r))}),ld=ud,dp=(function(e){var t=e.nonce,r=e.children,o=e.cacheKey,n=useMemo(function(){return createCache({key:o,nonce:t})},[o,t]);return React.createElement(CacheProvider,{value:n},r)}),fp=null,pp=null;const cd=({...e})=>(0,f.jsx)(ld,{classNamePrefix:"wdo:select",...e}),hp=({...e})=>jsx(Creatable,{classNamePrefix:"wdo:select",...e});var at=cd;const ce=({label:e,className:t,description:r,labelClass:o="wdo:basis-3/5",optionClass:n="",children:i,disabled:a=!1,optionDescription:l,footer:s})=>(0,f.jsxs)("div",{className:g("wdo:option",a&&"wdo:pointer-events-none wdo:select-none wdo:opacity-50",t),...a?{"aria-disabled":"true",tabIndex:-1}:{},children:[(0,f.jsxs)("div",{className:g("wdo:option-label-container wdo:lg:grow-0 wdo:grow",o),children:[(0,f.jsx)("p",{className:"wdo:option-label",children:e}),r&&(0,f.jsx)("p",{className:"wdo:option-description",children:r})]}),(0,f.jsx)("div",{className:n||void 0,children:(0,f.jsxs)("div",{className:"wdo:option-container",children:[(0,f.jsx)("div",{children:i}),l&&(0,f.jsx)("div",{className:"wdo:option-description",children:l})]})}),s&&(0,f.jsx)("div",{className:"wdo:basis-full",children:s})]}),De=({value:e,onChange:t,tabIndex:r=0})=>{const[o,n]=(0,h.useState)(e??!1);(0,h.useEffect)(()=>{e!==void 0&&n(e)},[e]);const i=()=>{const l=!o;n(l),t?.(l)},a=o?"on":"off";return(0,f.jsx)("div",{onClick:i,onKeyDown:l=>(l.key==="Enter"||l.key===" ")&&i(),"data-state":a,className:"wdo:on-off wdo:group",role:"switch","aria-checked":o,tabIndex:r,children:(0,f.jsx)("div",{className:"wdo:group-data-[state=on]:translate-x-[23px] wdo:group-data-[state=off]:translate-x-[3px]"})})};var st=({title:e,children:t,showSave:r=!0})=>{const{options:o,isLoading:n,error:i,save:a,saving:l,reset:s,resetting:c}=At(),[p,m]=(0,h.useState)(!1);return n||o===null?(0,f.jsx)("div",{className:"wdo:flex wdo:flex-col wdo:card wdo:m-4",children:(0,f.jsx)("p",{className:"wdo:p-6",children:(0,S.__)("Loading...","ajax-search-pro")})}):i?(0,f.jsx)("div",{className:"wdo:flex wdo:flex-col wdo:card wdo:m-4",children:(0,f.jsx)("p",{className:"wdo:p-6",children:(0,S.__)("Error loading options, please reload the page.","ajax-search-pro")})}):(0,f.jsxs)("div",{className:"wdo:flex wdo:flex-col wdo:card wdo:m-4",children:[(0,f.jsx)("div",{className:"wdo:p-6",children:(0,f.jsx)("h1",{className:"wdo:text-[1.8em] wdo:dark:text-white",children:e})}),(0,f.jsx)("div",{children:t}),r&&(0,f.jsxs)("div",{className:"wdo:p-6 wdo:flex wdo:gap-6",children:[(0,f.jsx)(Bt,{isLoading:l,disabled:l||c,onClick:y=>{y.preventDefault(),a()},children:(0,S.__)("Save","ajax-search-pro")}),(0,f.jsx)(ot,{isLoading:c,disabled:l||c,onClick:()=>m(!0),children:(0,S.__)("Reset to defaults","ajax-search-pro")})]}),(0,f.jsxs)(I,{isOpen:p,onOverlayClick:()=>m(!1),children:[(0,f.jsx)("h2",{className:"wdo:mb-2",children:(0,S.__)("Confirm","ajax-search-pro")}),(0,f.jsx)("p",{children:(0,S.__)("Are you sure you want to reset all compatibility settings to defaults?","ajax-search-pro")}),(0,f.jsxs)("div",{className:"wdo:flex wdo:mt-6 wdo:gap-6",children:[(0,f.jsx)(Bt,{isLoading:c,disabled:c,onClick:y=>{y.preventDefault(),s(),m(!1)},children:(0,S.__)("Reset","ajax-search-pro")}),(0,f.jsx)(ot,{disabled:c,onClick:()=>m(!1),children:(0,S.__)("Cancel","ajax-search-pro")})]})]})]})};const ji=[{label:(0,S.__)("Low","ajax-search-pro"),value:"low"},{label:(0,S.__)("Medium","ajax-search-pro"),value:"medium"},{label:(0,S.__)("Maximum","ajax-search-pro"),value:"maximum"}];var dd=()=>{const{options:e,setOption:t}=At();return e===null?(0,f.jsx)(st,{title:(0,S.__)("CSS & JS Compatibility","ajax-search-pro"),children:(0,f.jsx)(f.Fragment,{})}):(0,f.jsxs)(st,{title:(0,S.__)("CSS & JS Compatibility","ajax-search-pro"),children:[(0,f.jsx)(ce,{label:(0,S.__)("Prevent body scrolling on mobile when results are open","ajax-search-pro"),description:(0,S.__)("Disables background page scrolling while the results box is open on touch devices.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.js_prevent_body_scroll.value,onChange:r=>t("js_prevent_body_scroll",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Detect AJAX powered themes","ajax-search-pro"),description:(0,S.__)("Enable if your theme loads pages via AJAX and the search stops working after navigation.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.detect_ajax.value,onChange:r=>t("detect_ajax",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("CSS compatibility level","ajax-search-pro"),description:(0,S.__)("Increase this if the search box styling conflicts with the theme.","ajax-search-pro"),children:(0,f.jsx)(at,{options:ji,value:ji.find(r=>r.value===e.css_compatibility_level.value)??null,onChange:r=>t("css_compatibility_level",{value:r?.value??"low"})})}),(0,f.jsx)(ce,{label:(0,S.__)("Minify CSS output","ajax-search-pro"),description:(0,S.__)("Minimizes the generated CSS to reduce its size.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.css_minify.value,onChange:r=>t("css_minify",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Load Google Fonts","ajax-search-pro"),description:(0,S.__)("Loads the Google Fonts used by the search themes. Disable if you handle fonts yourself.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.load_google_fonts.value,onChange:r=>t("load_google_fonts",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Use custom AJAX handler","ajax-search-pro"),description:(0,S.__)("Uses a custom AJAX handler that bypasses part of the WordPress loading process for faster responses. May not work with some plugins or themes.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.usecustomajaxhandler.value,onChange:r=>t("usecustomajaxhandler",{value:r})})})]})},_r=window.wp.url;let _t={};function fd(e,t=!1,r=!0){const o=JSON.stringify(e);if(!t&&_t[o])return _t[o];r&&(e.path=(0,_r.addQueryArgs)(e.path,{timestamp:Date.now()}));const n=u()(e).then(i=>i).catch(i=>{throw delete _t[o],i});return _t[o]=n,n}function gp(e){if(e===void 0){_t={};return}delete _t[e]}const Er="wpdrms_plugin_core",Fi=e=>fd({path:e}),pd=(e,t,r)=>{const o=e.length>=2?(0,_r.addQueryArgs)(`/${Er}/options/posts/search`,{search:e,post_type:t,limit:r}):null,{data:n,isLoading:i,mutate:a,error:l}=Kt(o,Fi,{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1});return l?{data:void 0,error:l,isLoading:i,mutate:a}:{data:n||[],error:void 0,isLoading:i,mutate:a}},hd=e=>{const t=[...e].sort((l,s)=>l-s),r=t.length>0?(0,_r.addQueryArgs)(`/${Er}/options/posts/get`,{ids:t.join(",")}):null,{data:o,isLoading:n,mutate:i,error:a}=Kt(r,Fi,{revalidateIfStale:!1,revalidateOnFocus:!1,revalidateOnReconnect:!1});return a?{data:void 0,error:a,isLoading:n,mutate:i}:{data:o||[],error:void 0,isLoading:n,mutate:i}};var md=({value:e,onChange:t,postType:r="",className:o})=>{const[n,i]=(0,h.useState)(""),{data:a=[],isLoading:l}=pd(n,r,20),{data:s=[]}=hd(e),c=a.map(m=>({value:String(m.id),label:m.title})),p=s.map(m=>({value:String(m.id),label:m.title}));return(0,f.jsx)(at,{isMulti:!0,isLoading:l,options:c,value:p,inputValue:n,onInputChange:m=>i(m),onChange:m=>t((m??[]).map(y=>Number(y.value))),placeholder:(0,S.__)("Search for a post or page\u2026","wpdrms-admin-ui"),noOptionsMessage:()=>n.length<2?(0,S.__)("Type at least 2 characters to search.","wpdrms-admin-ui"):(0,S.__)("No results found.","wpdrms-admin-ui"),filterOption:null,className:o})};const Di=[{label:(0,S.__)("No jQuery (non-minified)","ajax-search-pro"),value:"jqueryless-nomin"},{label:(0,S.__)("No jQuery (minified)","ajax-search-pro"),value:"jqueryless-min"}],Mi=[{label:(0,S.__)("Classic","ajax-search-pro"),value:"classic"},{label:(0,S.__)("Optimized","ajax-search-pro"),value:"optimized"},{label:(0,S.__)("Optimized + Async","ajax-search-pro"),value:"optimized_async"}],Ii=[{label:(0,S.__)("Optimized","ajax-search-pro"),value:"optimized"},{label:(0,S.__)("Inline","ajax-search-pro"),value:"inline"},{label:(0,S.__)("File","ajax-search-pro"),value:"file"}],Pi=[{label:(0,S.__)("Exclude on these pages","ajax-search-pro"),value:"exclude"},{label:(0,S.__)("Include only on these pages","ajax-search-pro"),value:"include"}];var vd=()=>{const{options:e,setOption:t}=At();if(e===null)return(0,f.jsx)(st,{title:(0,S.__)("CSS & JS Loading","ajax-search-pro"),children:(0,f.jsx)(f.Fragment,{})});const r=!e.selective_enabled.value;return(0,f.jsxs)(st,{title:(0,S.__)("CSS & JS Loading","ajax-search-pro"),children:[(0,f.jsx)(ce,{label:(0,S.__)("JavaScript source","ajax-search-pro"),description:(0,S.__)("Choose the front-end JavaScript bundle variant.","ajax-search-pro"),children:(0,f.jsx)(at,{options:Di,value:Di.find(o=>o.value===e.js_source.value)??null,onChange:o=>t("js_source",{value:o?.value??"jqueryless-nomin"})})}),(0,f.jsx)(ce,{label:(0,S.__)("Script loading method","ajax-search-pro"),description:(0,S.__)("Optimized methods defer the script loading for better page performance.","ajax-search-pro"),children:(0,f.jsx)(at,{options:Mi,value:Mi.find(o=>o.value===e.script_loading_method.value)??null,onChange:o=>t("script_loading_method",{value:o?.value??"classic"})})}),(0,f.jsx)(ce,{label:(0,S.__)("Initialize instances only when in viewport","ajax-search-pro"),description:(0,S.__)("Defers the search instance initialization until it scrolls into view.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.init_instances_inviewport_only.value,onChange:o=>t("init_instances_inviewport_only",{value:o})})}),(0,f.jsx)(ce,{label:(0,S.__)("CSS loading method","ajax-search-pro"),description:(0,S.__)("How the generated stylesheet is delivered to the page.","ajax-search-pro"),children:(0,f.jsx)(at,{options:Ii,value:Ii.find(o=>o.value===e.css_loading_method.value)??null,onChange:o=>t("css_loading_method",{value:o?.value??"optimized"})})}),(0,f.jsx)("div",{className:"wdo:p-6",children:(0,f.jsx)(jr,{children:(0,S.__)("Selective loading is not recommended. Only use it if you fully understand which pages your search instances appear on.","ajax-search-pro")})}),(0,f.jsx)(ce,{label:(0,S.__)("Enable selective loading","ajax-search-pro"),description:(0,S.__)("Restricts the loading of the search assets to specific pages.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.selective_enabled.value,onChange:o=>t("selective_enabled",{value:o})})}),(0,f.jsx)(ce,{disabled:r,label:(0,S.__)("Load on the front page","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.selective_front.value,tabIndex:r?-1:0,onChange:o=>t("selective_front",{value:o})})}),(0,f.jsx)(ce,{disabled:r,label:(0,S.__)("Load on archive pages","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.selective_archive.value,tabIndex:r?-1:0,onChange:o=>t("selective_archive",{value:o})})}),(0,f.jsx)(ce,{disabled:r,label:(0,S.__)("Selective loading logic","ajax-search-pro"),children:(0,f.jsx)(at,{isDisabled:r,options:Pi,value:Pi.find(o=>o.value===e.selective_exin_logic.value)??null,onChange:o=>t("selective_exin_logic",{value:o?.value??"exclude"})})}),(0,f.jsx)(ce,{disabled:r,label:(0,S.__)("Pages / posts","ajax-search-pro"),description:(0,S.__)("Search for posts or pages to include or exclude.","ajax-search-pro"),optionClass:"wdo:w-full",labelClass:"wdo:basis-full",children:(0,f.jsx)(md,{value:e.selective_exin.value.map(Number),onChange:o=>t("selective_exin",{value:o.map(String)})})})]})};const Ri=[{label:(0,S.__)("None","ajax-search-pro"),value:"none"},{label:(0,S.__)("Force case sensitivity","ajax-search-pro"),value:"sensitivity"},{label:(0,S.__)("Force case insensitivity","ajax-search-pro"),value:"insensitivity"}];var gd=()=>{const{options:e,setOption:t}=At();return e===null?(0,f.jsx)(st,{title:(0,S.__)("Query Compatibility","ajax-search-pro"),children:(0,f.jsx)(f.Fragment,{})}):(0,f.jsxs)(st,{title:(0,S.__)("Query Compatibility","ajax-search-pro"),children:[(0,f.jsx)(ce,{label:(0,S.__)("Soft query check","ajax-search-pro"),description:(0,S.__)("Use a less strict query validation. Try this if results are missing.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.query_soft_check.value,onChange:r=>t("query_soft_check",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Use ACF get_field()","ajax-search-pro"),description:(0,S.__)("Uses the ACF get_field() function for custom field values instead of direct database access.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.use_acf_getfield.value,onChange:r=>t("use_acf_getfield",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Force database collation case","ajax-search-pro"),description:(0,S.__)("Forces case sensitivity or insensitivity on the search queries to work around collation issues.","ajax-search-pro"),children:(0,f.jsx)(at,{options:Ri,value:Ri.find(r=>r.value===e.db_force_case.value)??null,onChange:r=>t("db_force_case",{value:r?.value??"none"})})}),(0,f.jsx)(ce,{label:(0,S.__)("Force UNICODE on queries","ajax-search-pro"),description:(0,S.__)("Forces the UNICODE charset on the search queries. May help with multibyte languages.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.db_force_unicode.value,onChange:r=>t("db_force_unicode",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Force UTF8 on LIKE queries","ajax-search-pro"),description:(0,S.__)("Forces the UTF8 charset on LIKE comparisons. May help with accented characters.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.db_force_utf8_like.value,onChange:r=>t("db_force_utf8_like",{value:r})})})]})};const bd=()=>{const{data:e,isLoading:t,error:r}=Kt(`/${Er}/options/post-types/get`,o=>u()({path:o}),{revalidateOnFocus:!1});return{postTypes:e??[],isLoading:t,error:r}},yd=["revision","nav_menu_item","attachment","peepso-post","peepso-comment","acf","shop_order","shop_order_refund","elementor_library","elementor_font","elementor_icons","oembed_cache","user_request","wp_block","shop_coupon","avada_page_options","_pods_template","_pods_pod","_pods_field","bp-email","lbmn_archive","lbmn_footer","mc4wp-form","elementor-front","elementor-icon","tablepress_table","fusion_template","fusion_element","wc_product_tab","customize_changeset","wpcf7_contact_form","dslc_templates","acf-field","acf-group","acf-groups","acf-field-group","acf-post-type","custom_css","wp_template","wp_font_face","wp_font_family","wp_navigation","wp_template_part","wp_global_styles","shop_order_placehold","elementor_snippet","ngg_album","ngg_gallery","displayed_gallery","display_type","gal_display_source"];function wd(e,t=[]){return e.filter(r=>!yd.includes(r.slug)&&!t.includes(r.slug)).map(r=>({value:r.slug,label:`${r.name} [${r.slug}]`}))}var xd=({value:e,onChange:t,placeholder:r="Select post types...",excludeTypes:o=[],className:n})=>{const{postTypes:i,isLoading:a}=bd(),l=E().useMemo(()=>wd(i,o),[i,o]),s=l.filter(c=>e.includes(c.value));return(0,f.jsx)(at,{isMulti:!0,isLoading:a,isDisabled:a,options:l,value:s,onChange:c=>t((c??[]).map(p=>p.value)),placeholder:r,className:n})},_d=()=>{const{options:e,setOption:t}=At();return e===null?(0,f.jsx)(st,{title:(0,S.__)("Other","ajax-search-pro"),children:(0,f.jsx)(f.Fragment,{})}):(0,f.jsxs)(st,{title:(0,S.__)("Other","ajax-search-pro"),children:[(0,f.jsx)(ce,{label:(0,S.__)("Enable the REST API endpoint","ajax-search-pro"),description:(0,S.__)("Exposes the search via the WordPress REST API.","ajax-search-pro"),children:(0,f.jsx)(De,{value:e.rest_api_enabled.value,onChange:r=>t("rest_api_enabled",{value:r})})}),(0,f.jsx)(ce,{label:(0,S.__)("Display the Ajax Search Pro Meta Boxes on these post types","ajax-search-pro"),description:(0,S.__)("Select post types to show the Ajax Search Pro meta boxes on.","ajax-search-pro"),optionClass:"wdo:w-full",labelClass:"wdo:basis-full",children:(0,f.jsx)(xd,{value:e.meta_box_post_types.value,onChange:r=>t("meta_box_post_types",{value:r})})})]})};/**
 * @license lucide-react v1.14.0 - ISC
 *
 * This source code is licensed under the ISC license.
 * See the LICENSE file in the root directory of this source tree.
 */const Ed=j("star",[["path",{d:"M11.525 2.295a.53.53 0 0 1 .95 0l2.31 4.679a2.123 2.123 0 0 0 1.595 1.16l5.166.756a.53.53 0 0 1 .294.904l-3.736 3.638a2.123 2.123 0 0 0-.611 1.878l.882 5.14a.53.53 0 0 1-.771.56l-4.618-2.428a2.122 2.122 0 0 0-1.973 0L6.396 21.01a.53.53 0 0 1-.77-.56l.881-5.139a2.122 2.122 0 0 0-.611-1.879L2.16 9.795a.53.53 0 0 1 .294-.906l5.165-.755a2.122 2.122 0 0 0 1.597-1.16z",key:"r04s7s"}]]),ki="asl_review_notice",Ti=10080*60*1e3;function Sd(){try{const e=localStorage.getItem(ki);return e?JSON.parse(e):null}catch{return null}}function Li(e){localStorage.setItem(ki,JSON.stringify(e))}function Cd(e){return!e||e.status==="dismissed"?!1:e.status==="snoozed"?Date.now()>e.until:Date.now()-e.firstSeen>=Ti}const Od=()=>{const{isDark:e}=Tr(),[t,r]=(0,h.useState)(!1);if((0,h.useEffect)(()=>{let n=Sd();n||(n={status:"pending",firstSeen:Date.now()},Li(n)),r(Cd(n))},[]),!t)return null;const o=n=>{Li(n==="snoozed"?{status:"snoozed",until:Date.now()+Ti}:{status:"dismissed"}),r(!1)};return(0,f.jsx)("div",{className:"asl-review-border-wrap",children:(0,f.jsxs)("div",{className:"asl-review-border-inner wdo:flex wdo:items-center wdo:gap-4 wdo:p-4 wdo:flex-wrap",style:{background:e?"#0b0c0c":"#fff"},children:[(0,f.jsx)(Ed,{className:"wdo:w-6 wdo:h-6 wdo:text-asp wdo:shrink-0"}),(0,f.jsxs)("div",{className:"wdo:flex-1 wdo:min-w-0",children:[(0,f.jsx)("p",{className:"wdo:font-semibold wdo:dark:text-wp-admin-100",children:(0,S.__)("Enjoying Ajax Search Pro?","ajax-search-pro")}),(0,f.jsx)("p",{className:"wdo:text-sm wdo:text-wp-admin-500 wdo:dark:text-wp-admin-400 wdo:mt-0.5",children:(0,S.__)("A quick review on WordPress.org helps the plugin grow. It only takes a minute!","ajax-search-pro")})]}),(0,f.jsxs)("div",{className:"wdo:flex wdo:gap-2 wdo:flex-wrap wdo:shrink-0 wdo:items-center",children:[(0,f.jsx)("a",{href:"https://wordpress.org/support/plugin/ajax-search-lite/reviews/#new-post",target:"_blank",rel:"noopener noreferrer",className:"wdo:button wdo:button-primary",onClick:()=>o("dismissed"),children:(0,S.__)("Leave a Review","ajax-search-pro")}),(0,f.jsx)("button",{className:"wdo:button",onClick:()=>o("snoozed"),children:(0,S.__)("Maybe later","ajax-search-pro")}),(0,f.jsx)("button",{className:"wdo:button wdo:button-ghost",onClick:()=>o("dismissed"),children:(0,S.__)("Never","ajax-search-pro")})]})]})})},Ad=()=>{switch((0,h.useContext)(Sn)?.activeId){case"css-loading":return(0,f.jsx)(vd,{});case"query":return(0,f.jsx)(gd,{});case"other":return(0,f.jsx)(_d,{});case"css-js":default:return(0,f.jsx)(dd,{})}};var jd=()=>{const{messages:e}=Ir();return(0,f.jsxs)(ea,{children:[(0,f.jsx)(Xi,{messages:e}),(0,f.jsx)(zi,{}),(0,f.jsx)(oa,{subtitle:(0,S.__)("Compatibility","ajax-search-pro"),logo:(0,f.jsx)(va,{}),className:"wdo:items-center!"}),(0,f.jsx)(Ka,{children:(0,f.jsx)(sa,{children:(0,f.jsxs)("div",{className:"wdo:panel-container",children:[(0,f.jsx)("nav",{className:"wdo:menu-panel",children:(0,f.jsxs)(ua,{children:[(0,f.jsx)(Ct,{label:(0,S.__)("CSS & JS","ajax-search-pro"),id:"css-js",defaultActive:!0,iconBefore:(0,f.jsx)(la,{})}),(0,f.jsx)(Ct,{label:(0,S.__)("CSS & JS Loading","ajax-search-pro"),id:"css-loading",iconBefore:(0,f.jsx)(ca,{})}),(0,f.jsx)(Ct,{label:(0,S.__)("Query","ajax-search-pro"),id:"query",iconBefore:(0,f.jsx)(da,{})}),(0,f.jsx)(Ct,{label:(0,S.__)("Other","ajax-search-pro"),id:"other",iconBefore:(0,f.jsx)(fa,{})}),(0,f.jsx)(Ct,{label:(0,S.__)("Documentation","ajax-search-pro"),id:"documentation",onClick:t=>{t.preventDefault(),ha("https://documentation.ajaxsearchpro.com/compatibility-settings")},iconAfter:(0,f.jsx)(pa,{})})]})}),(0,f.jsxs)("div",{className:"wdo:content-panel",children:[(0,f.jsx)(Od,{}),(0,f.jsx)(Ad,{})]})]})})})]})};const Vi=document.getElementById("asp-root");Vi!==null&&U().render((0,f.jsx)(jd,{}),Vi)})()})();
