Website : rimsha.abasa.com
backdoor
Home
Console
Upload
information
Create File
Create Folder
About
Tools
:
/
var
/
www
/
talha_silentcontent
/
.next
/
static
/
chunks
/
Filename :
7795-c70953cfa7da88d8.js
back
Copy
(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7795],{1371:function(e,t,n){"use strict";n.d(t,{$l:function(){return w},M7:function(){return b},TZ:function(){return E},sN:function(){return O},v2:function(){return _}});var r,o,i,a,s,c=n(2265),l=function(e,t){return(l=Object.setPrototypeOf||({__proto__:[]})instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)},u=function(){return(u=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++)for(var o in t=arguments[n])Object.prototype.hasOwnProperty.call(t,o)&&(e[o]=t[o]);return e}).apply(this,arguments)};function d(e,t){var n={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&0>t.indexOf(r)&&(n[r]=e[r]);if(null!=e&&"function"==typeof Object.getOwnPropertySymbols)for(var o=0,r=Object.getOwnPropertySymbols(e);o<r.length;o++)0>t.indexOf(r[o])&&Object.prototype.propertyIsEnumerable.call(e,r[o])&&(n[r[o]]=e[r[o]]);return n}function f(e){var t="function"==typeof Symbol&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function p(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function m(e){return this instanceof m?(this.v=e,this):new m(e)}var h=Object.freeze({__proto__:null,__extends:function(e,t){function n(){this.constructor=e}l(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)},get __assign(){return u},__rest:d,__decorate:function(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var s=e.length-1;s>=0;s--)(o=e[s])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a},__param:function(e,t){return function(n,r){t(n,r,e)}},__metadata:function(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)},__awaiter:function(e,t,n,r){return new(n||(n=Promise))(function(o,i){function a(e){try{c(r.next(e))}catch(e){i(e)}}function s(e){try{c(r.throw(e))}catch(e){i(e)}}function c(e){var t;e.done?o(e.value):((t=e.value)instanceof n?t:new n(function(e){e(t)})).then(a,s)}c((r=r.apply(e,t||[])).next())})},__generator:function(e,t){var n,r,o,i,a={label:0,sent:function(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(i){return function(s){return function(i){if(n)throw TypeError("Generator is already executing.");for(;a;)try{if(n=1,r&&(o=2&i[0]?r.return:i[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,i[1])).done)return o;switch(r=0,o&&(i=[2&i[0],o.value]),i[0]){case 0:case 1:o=i;break;case 4:return a.label++,{value:i[1],done:!1};case 5:a.label++,r=i[1],i=[0];continue;case 7:i=a.ops.pop(),a.trys.pop();continue;default:if(!(o=(o=a.trys).length>0&&o[o.length-1])&&(6===i[0]||2===i[0])){a=0;continue}if(3===i[0]&&(!o||i[1]>o[0]&&i[1]<o[3])){a.label=i[1];break}if(6===i[0]&&a.label<o[1]){a.label=o[1],o=i;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(i);break}o[2]&&a.ops.pop(),a.trys.pop();continue}i=t.call(e,a)}catch(e){i=[6,e],r=0}finally{n=o=0}if(5&i[0])throw i[1];return{value:i[0]?i[1]:void 0,done:!0}}([i,s])}}},__createBinding:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]},__exportStar:function(e,t){for(var n in e)"default"===n||t.hasOwnProperty(n)||(t[n]=e[n])},__values:f,__read:p,__spread:function(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(p(arguments[t]));return e},__spreadArrays:function(){for(var e=0,t=0,n=arguments.length;t<n;t++)e+=arguments[t].length;for(var r=Array(e),o=0,t=0;t<n;t++)for(var i=arguments[t],a=0,s=i.length;a<s;a++,o++)r[o]=i[a];return r},__await:m,__asyncGenerator:function(e,t,n){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var r,o=n.apply(e,t||[]),i=[];return r={},a("next"),a("throw"),a("return"),r[Symbol.asyncIterator]=function(){return this},r;function a(e){o[e]&&(r[e]=function(t){return new Promise(function(n,r){i.push([e,t,n,r])>1||s(e,t)})})}function s(e,t){try{var n;(n=o[e](t)).value instanceof m?Promise.resolve(n.value.v).then(c,l):u(i[0][2],n)}catch(e){u(i[0][3],e)}}function c(e){s("next",e)}function l(e){s("throw",e)}function u(e,t){e(t),i.shift(),i.length&&s(i[0][0],i[0][1])}},__asyncDelegator:function(e){var t,n;return t={},r("next"),r("throw",function(e){throw e}),r("return"),t[Symbol.iterator]=function(){return this},t;function r(r,o){t[r]=e[r]?function(t){return(n=!n)?{value:m(e[r](t)),done:"return"===r}:o?o(t):t}:o}},__asyncValues:function(e){if(!Symbol.asyncIterator)throw TypeError("Symbol.asyncIterator is not defined.");var t,n=e[Symbol.asyncIterator];return n?n.call(e):(e=f(e),t={},r("next"),r("throw"),r("return"),t[Symbol.asyncIterator]=function(){return this},t);function r(n){t[n]=e[n]&&function(t){return new Promise(function(r,o){!function(e,t,n,r){Promise.resolve(r).then(function(t){e({value:t,done:n})},t)}(r,o,(t=e[n](t)).done,t.value)})}}},__makeTemplateObject:function(e,t){return Object.defineProperty?Object.defineProperty(e,"raw",{value:t}):e.raw=t,e},__importStar:function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n in e)Object.hasOwnProperty.call(e,n)&&(t[n]=e[n]);return t.default=e,t},__importDefault:function(e){return e&&e.__esModule?e:{default:e}},__classPrivateFieldGet:function(e,t){if(!t.has(e))throw TypeError("attempted to get private field on non-instance");return t.get(e)},__classPrivateFieldSet:function(e,t,n){if(!t.has(e))throw TypeError("attempted to set private field on non-instance");return t.set(e,n),n}});function v(e,t){return e(t={exports:{}},t.exports),t.exports}var g=v(function(e){!function(){var t={}.hasOwnProperty;function n(){for(var e=[],r=0;r<arguments.length;r++){var o=arguments[r];if(o){var i=typeof o;if("string"===i||"number"===i)e.push(o);else if(Array.isArray(o)&&o.length){var a=n.apply(null,o);a&&e.push(a)}else if("object"===i)for(var s in o)t.call(o,s)&&o[s]&&e.push(s)}}return e.join(" ")}e.exports?(n.default=n,e.exports=n):window.classNames=n}()}),y=(0,c.createContext)({collapsed:!1,rtl:!1,toggled:!1}),b=(0,c.forwardRef)(function(e,t){var n=e.children,r=e.className,o=e.width,i=e.collapsed,a=e.rtl,s=e.toggled,l=e.image,f=e.breakPoint,p=e.onToggle,m=d(e,["children","className","width","collapsed","rtl","toggled","image","breakPoint","onToggle"]),h=(0,c.useState)({collapsed:void 0!==i&&i,rtl:void 0!==a&&a,toggled:void 0!==s&&s}),v=h[0],b=h[1],w=t||c.createRef(),E=function(){var e=v.toggled;b(u(u({},v),{toggled:!e})),p&&p(!e)};return(0,c.useEffect)(function(){b(u(u({},v),{collapsed:i,rtl:a,toggled:s}))},[i,a,s]),c.createElement(y.Provider,{value:v},c.createElement("div",u({},m,{ref:w,className:g("pro-sidebar",r,f,{collapsed:i,rtl:a,toggled:s}),style:{width:o}}),c.createElement("div",{className:"pro-sidebar-inner"},l?c.createElement("img",{src:l,alt:"sidebar background",className:"sidebar-bg"}):null,c.createElement("div",{className:"pro-sidebar-layout"},n)),c.createElement("div",{className:"overlay",onClick:E,onKeyPress:E,role:"button",tabIndex:0,"aria-label":"overlay"})))}),w=(0,c.forwardRef)(function(e,t){var n=e.children,r=e.className,o=d(e,["children","className"]),i=t||c.createRef();return c.createElement("div",u({},o,{ref:i,className:g("pro-sidebar-header",r)}),n)}),E=(0,c.forwardRef)(function(e,t){var n=e.children,r=e.className,o=d(e,["children","className"]),i=t||c.createRef();return c.createElement("div",u({},o,{ref:i,className:g("pro-sidebar-content",r)}),n)});(0,c.forwardRef)(function(e,t){var n=e.children,r=e.className,o=d(e,["children","className"]),i=t||c.createRef();return c.createElement("div",u({},o,{ref:i,className:g("pro-sidebar-footer",r)}),n)});var _=(0,c.forwardRef)(function(e,t){var n,r=e.children,o=e.className,i=e.iconShape,a=e.popperArrow,s=d(e,["children","className","iconShape","popperArrow"]),l=t||c.createRef();return c.createElement("nav",u({},s,{ref:l,className:g("pro-menu",o,((n={})["shaped "+i]=["square","round","circle"].indexOf(i)>=0,n))}),c.createElement("ul",null,c.Children.map(r,function(e){return c.cloneElement(e,{firstchild:1,popperarrow:!0===a?1:0})})))}),O=(0,c.forwardRef)(function(e,t){var n=e.children,r=e.className,o=e.icon,i=e.active,a=e.prefix,s=e.suffix,l=(e.firstchild,e.popperarrow,d(e,["children","className","icon","active","prefix","suffix","firstchild","popperarrow"])),f=t||c.createRef();return c.createElement("li",u({},l,{ref:f,className:g("pro-menu-item",r,{active:i})}),c.createElement("div",{className:"pro-inner-item",tabIndex:0,role:"button"},o?c.createElement("span",{className:"pro-icon-wrapper"},c.createElement("span",{className:"pro-icon"},o)):null,a?c.createElement("span",{className:"prefix-wrapper"},a):null,c.createElement("span",{className:"pro-item-content"},n),s?c.createElement("span",{className:"suffix-wrapper"},s):null))}),x=v(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var n=h.__importStar(c),r=function(e){function t(t){var n=e.call(this,t)||this;return n.outerRef=null,n.handleRef=function(e){if(n.outerRef=e,n.props.forwardedRef){if("function"==typeof n.props.forwardedRef)n.props.forwardedRef(e);else if("object"==typeof n.props.forwardedRef)n.props.forwardedRef.current=e;else throw Error("Invalid forwardedRef "+n.props.forwardedRef)}},n.handleTransitionEnd=function(e){e.target===n.outerRef&&"height"===e.propertyName&&(n.state.childrenLeaving?n.setState({children:null,childrenLeaving:!1},function(){return n.endTransition()}):n.endTransition())},n.state={children:t.children,childrenLeaving:!1},n}return h.__extends(t,e),t.prototype.componentDidMount=function(){this.outerRef&&(this.props.closed||!this.props.children?(this.outerRef.classList.add("closed"),this.outerRef.style.height="0px"):this.props.transitionOnAppear?this.startTransition("0px"):this.outerRef.style.height="auto")},t.prototype.getSnapshotBeforeUpdate=function(){return this.outerRef?this.outerRef.getBoundingClientRect().height+"px":null},t.getDerivedStateFromProps=function(e,t){return e.children?{children:e.children,childrenLeaving:!1}:t.children?{children:t.children,childrenLeaving:!0}:null},t.prototype.componentDidUpdate=function(e,t,n){this.outerRef&&this.startTransition(n)},t.prototype.startTransition=function(e){var t="0px";this.props.closed||this.state.childrenLeaving||!this.state.children||(this.outerRef.classList.remove("closed"),this.outerRef.style.height="auto",t=getComputedStyle(this.outerRef).height),parseFloat(t).toFixed(2)!==parseFloat(e).toFixed(2)&&(this.outerRef.classList.add("transitioning"),this.outerRef.style.height=e,this.outerRef.offsetHeight,this.outerRef.style.transitionProperty="height",this.outerRef.style.height=t)},t.prototype.endTransition=function(){this.outerRef.classList.remove("transitioning"),this.outerRef.style.transitionProperty="none",this.outerRef.style.height=this.props.closed?"0px":"auto",(this.props.closed||!this.state.children)&&this.outerRef.classList.add("closed")},t.prototype.render=function(){var e=this.props,t=e.as,r=(e.children,e.className),o=(e.closed,e.transitionOnAppear,e.forwardedRef,h.__rest(e,["as","children","className","closed","transitionOnAppear","forwardedRef"]));return n.default.createElement(void 0===t?"div":t,h.__assign({ref:this.handleRef,className:r?"react-slidedown "+r:"react-slidedown",onTransitionEnd:this.handleTransitionEnd},o),this.state.children)},t.defaultProps={transitionOnAppear:!0,closed:!1},t}(n.Component);t.SlideDown=n.forwardRef(function(e,t){return n.default.createElement(r,h.__assign({},e,{forwardedRef:t}))}),t.default=t.SlideDown}),M=x&&x.__esModule&&Object.prototype.hasOwnProperty.call(x,"default")?x.default:x;function R(e){var t=e.getBoundingClientRect();return{width:t.width,height:t.height,top:t.top,right:t.right,bottom:t.bottom,left:t.left,x:t.left,y:t.top}}function C(e){if("[object Window]"!==e.toString()){var t=e.ownerDocument;return t?t.defaultView:window}return e}function P(e){var t=C(e);return{scrollLeft:t.pageXOffset,scrollTop:t.pageYOffset}}function T(e){var t=C(e).Element;return e instanceof t||e instanceof Element}function D(e){var t=C(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function S(e){return e?(e.nodeName||"").toLowerCase():null}function k(e){return(T(e)?e.ownerDocument:e.document).documentElement}function A(e){return R(k(e)).left+P(e).scrollLeft}function L(e){return C(e).getComputedStyle(e)}function N(e){var t=L(e),n=t.overflow,r=t.overflowX,o=t.overflowY;return/auto|scroll|overlay|hidden/.test(n+o+r)}function I(e){return{x:e.offsetLeft,y:e.offsetTop,width:e.offsetWidth,height:e.offsetHeight}}function j(e){return"html"===S(e)?e:e.assignedSlot||e.parentNode||e.host||k(e)}function F(e,t){void 0===t&&(t=[]);var n=function e(t){return["html","body","#document"].indexOf(S(t))>=0?t.ownerDocument.body:D(t)&&N(t)?t:e(j(t))}(e),r="body"===S(n),o=C(n),i=r?[o].concat(o.visualViewport||[],N(n)?n:[]):n,a=t.concat(i);return r?a:a.concat(F(j(i)))}function W(e){if(!D(e)||"fixed"===L(e).position)return null;var t=e.offsetParent;if(t){var n=k(t);if("body"===S(t)&&"static"===L(t).position&&"static"!==L(n).position)return n}return t}function Z(e){for(var t=C(e),n=W(e);n&&["table","td","th"].indexOf(S(n))>=0&&"static"===L(n).position;)n=W(n);return n&&"body"===S(n)&&"static"===L(n).position?t:n||function(e){for(var t=j(e);D(t)&&0>["html","body"].indexOf(S(t));){var n=L(t);if("none"!==n.transform||"none"!==n.perspective||n.willChange&&"auto"!==n.willChange)return t;t=t.parentNode}return null}(e)||t}x.SlideDown;var B="bottom",K="right",V="left",H="auto",U=["top",B,K,V],z="start",G="viewport",q="popper",$=U.reduce(function(e,t){return e.concat([t+"-"+z,t+"-end"])},[]),Y=[].concat(U,[H]).reduce(function(e,t){return e.concat([t,t+"-"+z,t+"-end"])},[]),X=["beforeRead","read","afterRead","beforeMain","main","afterMain","beforeWrite","write","afterWrite"];function J(e){return e.split("-")[0]}function Q(e,t){var n=!!(t.getRootNode&&t.getRootNode().host);if(e.contains(t))return!0;if(n){var r=t;do{if(r&&e.isSameNode(r))return!0;r=r.parentNode||r.host}while(r)}return!1}function ee(e){return Object.assign(Object.assign({},e),{},{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function et(e,t){var n,r,o,i,a,s,c,l,u,d,f,p,m,h,v,g;return t===G?ee((n=C(e),r=k(e),o=n.visualViewport,i=r.clientWidth,a=r.clientHeight,s=0,c=0,o&&(i=o.width,a=o.height,/^((?!chrome|android).)*safari/i.test(navigator.userAgent)||(s=o.offsetLeft,c=o.offsetTop)),{width:i,height:a,x:s+A(e),y:c})):D(t)?((l=R(t)).top=l.top+t.clientTop,l.left=l.left+t.clientLeft,l.bottom=l.top+t.clientHeight,l.right=l.left+t.clientWidth,l.width=t.clientWidth,l.height=t.clientHeight,l.x=l.left,l.y=l.top,l):ee((u=k(e),d=k(u),f=P(u),p=u.ownerDocument.body,m=Math.max(d.scrollWidth,d.clientWidth,p?p.scrollWidth:0,p?p.clientWidth:0),h=Math.max(d.scrollHeight,d.clientHeight,p?p.scrollHeight:0,p?p.clientHeight:0),v=-f.scrollLeft+A(u),g=-f.scrollTop,"rtl"===L(p||d).direction&&(v+=Math.max(d.clientWidth,p?p.clientWidth:0)-m),{width:m,height:h,x:v,y:g}))}function en(e){return e.split("-")[1]}function er(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function eo(e){var t,n=e.reference,r=e.element,o=e.placement,i=o?J(o):null,a=o?en(o):null,s=n.x+n.width/2-r.width/2,c=n.y+n.height/2-r.height/2;switch(i){case"top":t={x:s,y:n.y-r.height};break;case B:t={x:s,y:n.y+n.height};break;case K:t={x:n.x+n.width,y:c};break;case V:t={x:n.x-r.width,y:c};break;default:t={x:n.x,y:n.y}}var l=i?er(i):null;if(null!=l){var u="y"===l?"height":"width";switch(a){case z:t[l]=Math.floor(t[l])-Math.floor(n[u]/2-r[u]/2);break;case"end":t[l]=Math.floor(t[l])+Math.ceil(n[u]/2-r[u]/2)}}return t}function ei(){return{top:0,right:0,bottom:0,left:0}}function ea(e){return Object.assign(Object.assign({},ei()),e)}function es(e,t){return t.reduce(function(t,n){return t[n]=e,t},{})}function ec(e,t){void 0===t&&(t={});var n,r,o,i,a,s,c,l,u=t,d=u.placement,f=void 0===d?e.placement:d,p=u.boundary,m=u.rootBoundary,h=u.elementContext,v=void 0===h?q:h,g=u.altBoundary,y=u.padding,b=void 0===y?0:y,w=ea("number"!=typeof b?b:es(b,U)),E=e.elements.reference,_=e.rects.popper,O=e.elements[void 0!==g&&g?v===q?"reference":q:v],x=(n=T(O)?O:O.contextElement||k(e.elements.popper),r=void 0===p?"clippingParents":p,o=void 0===m?G:m,c=(s=[].concat("clippingParents"===r?(i=F(j(n)),T(a=["absolute","fixed"].indexOf(L(n).position)>=0&&D(n)?Z(n):n)?i.filter(function(e){return T(e)&&Q(e,a)&&"body"!==S(e)}):[]):[].concat(r),[o]))[0],(l=s.reduce(function(e,t){var r=et(n,t);return e.top=Math.max(r.top,e.top),e.right=Math.min(r.right,e.right),e.bottom=Math.min(r.bottom,e.bottom),e.left=Math.max(r.left,e.left),e},et(n,c))).width=l.right-l.left,l.height=l.bottom-l.top,l.x=l.left,l.y=l.top,l),M=R(E),C=eo({reference:M,element:_,strategy:"absolute",placement:f}),P=ee(Object.assign(Object.assign({},_),C)),A=v===q?P:M,N={top:x.top-A.top+w.top,bottom:A.bottom-x.bottom+w.bottom,left:x.left-A.left+w.left,right:A.right-x.right+w.right},I=e.modifiersData.offset;if(v===q&&I){var W=I[f];Object.keys(N).forEach(function(e){var t=[K,B].indexOf(e)>=0?1:-1,n=["top",B].indexOf(e)>=0?"y":"x";N[e]+=W[n]*t})}return N}var el={placement:"bottom",modifiers:[],strategy:"absolute"};function eu(){for(var e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n];return!t.some(function(e){return!(e&&"function"==typeof e.getBoundingClientRect)})}var ed={passive:!0},ef={top:"auto",right:"auto",bottom:"auto",left:"auto"};function ep(e){var t,n,r,o,i,a=e.popper,s=e.popperRect,c=e.placement,l=e.offsets,u=e.position,d=e.gpuAcceleration,f=e.adaptive,p=(t=l.x,n=l.y,{x:Math.round(t*(r=window.devicePixelRatio||1))/r||0,y:Math.round(n*r)/r||0}),m=p.x,h=p.y,v=l.hasOwnProperty("x"),g=l.hasOwnProperty("y"),y=V,b="top",w=window;if(f){var E=Z(a);E===C(a)&&(E=k(a)),"top"===c&&(b=B,h-=E.clientHeight-s.height,h*=d?1:-1),c===V&&(y=K,m-=E.clientWidth-s.width,m*=d?1:-1)}var _=Object.assign({position:u},f&&ef);return d?Object.assign(Object.assign({},_),{},((i={})[b]=g?"0":"",i[y]=v?"0":"",i.transform=2>(w.devicePixelRatio||1)?"translate("+m+"px, "+h+"px)":"translate3d("+m+"px, "+h+"px, 0)",i)):Object.assign(Object.assign({},_),{},((o={})[b]=g?h+"px":"",o[y]=v?m+"px":"",o.transform="",o))}var em={left:"right",right:"left",bottom:"top",top:"bottom"};function eh(e){return e.replace(/left|right|bottom|top/g,function(e){return em[e]})}var ev={start:"end",end:"start"};function eg(e){return e.replace(/start|end/g,function(e){return ev[e]})}function ey(e,t,n){return Math.max(e,Math.min(t,n))}function eb(e,t,n){return void 0===n&&(n={x:0,y:0}),{top:e.top-t.height-n.y,right:e.right-t.width+n.x,bottom:e.bottom-t.height+n.y,left:e.left-t.width-n.x}}function ew(e){return["top",K,B,V].some(function(t){return e[t]>=0})}var eE=(i=void 0===(o=(r={defaultModifiers:[{name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:function(e){var t=e.state,n=e.instance,r=e.options,o=r.scroll,i=void 0===o||o,a=r.resize,s=void 0===a||a,c=C(t.elements.popper),l=[].concat(t.scrollParents.reference,t.scrollParents.popper);return i&&l.forEach(function(e){e.addEventListener("scroll",n.update,ed)}),s&&c.addEventListener("resize",n.update,ed),function(){i&&l.forEach(function(e){e.removeEventListener("scroll",n.update,ed)}),s&&c.removeEventListener("resize",n.update,ed)}},data:{}},{name:"popperOffsets",enabled:!0,phase:"read",fn:function(e){var t=e.state,n=e.name;t.modifiersData[n]=eo({reference:t.rects.reference,element:t.rects.popper,strategy:"absolute",placement:t.placement})},data:{}},{name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:function(e){var t=e.state,n=e.options,r=n.gpuAcceleration,o=n.adaptive,i={placement:J(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:void 0===r||r};null!=t.modifiersData.popperOffsets&&(t.styles.popper=Object.assign(Object.assign({},t.styles.popper),ep(Object.assign(Object.assign({},i),{},{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:void 0===o||o})))),null!=t.modifiersData.arrow&&(t.styles.arrow=Object.assign(Object.assign({},t.styles.arrow),ep(Object.assign(Object.assign({},i),{},{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1})))),t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-placement":t.placement})},data:{}},{name:"applyStyles",enabled:!0,phase:"write",fn:function(e){var t=e.state;Object.keys(t.elements).forEach(function(e){var n=t.styles[e]||{},r=t.attributes[e]||{},o=t.elements[e];D(o)&&S(o)&&(Object.assign(o.style,n),Object.keys(r).forEach(function(e){var t=r[e];!1===t?o.removeAttribute(e):o.setAttribute(e,!0===t?"":t)}))})},effect:function(e){var t=e.state,n={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,n.popper),t.elements.arrow&&Object.assign(t.elements.arrow.style,n.arrow),function(){Object.keys(t.elements).forEach(function(e){var r=t.elements[e],o=t.attributes[e]||{},i=Object.keys(t.styles.hasOwnProperty(e)?t.styles[e]:n[e]).reduce(function(e,t){return e[t]="",e},{});D(r)&&S(r)&&(Object.assign(r.style,i),Object.keys(o).forEach(function(e){r.removeAttribute(e)}))})}},requires:["computeStyles"]},{name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.offset,i=void 0===o?[0,0]:o,a=Y.reduce(function(e,n){var r,o,a,s,c,l;return e[n]=(r=t.rects,a=[V,"top"].indexOf(o=J(n))>=0?-1:1,c=(s="function"==typeof i?i(Object.assign(Object.assign({},r),{},{placement:n})):i)[0],l=s[1],c=c||0,l=(l||0)*a,[V,K].indexOf(o)>=0?{x:l,y:c}:{x:c,y:l}),e},{}),s=a[t.placement],c=s.x,l=s.y;null!=t.modifiersData.popperOffsets&&(t.modifiersData.popperOffsets.x+=c,t.modifiersData.popperOffsets.y+=l),t.modifiersData[r]=a}},{name:"flip",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name;if(!t.modifiersData[r]._skip){for(var o=n.mainAxis,i=void 0===o||o,a=n.altAxis,s=void 0===a||a,c=n.fallbackPlacements,l=n.padding,u=n.boundary,d=n.rootBoundary,f=n.altBoundary,p=n.flipVariations,m=void 0===p||p,h=n.allowedAutoPlacements,v=t.options.placement,g=J(v)===v,y=c||(g||!m?[eh(v)]:function(e){if(J(e)===H)return[];var t=eh(e);return[eg(e),t,eg(t)]}(v)),b=[v].concat(y).reduce(function(e,n){var r,o,i,a,s,c,f,p,v,g,y,b;return e.concat(J(n)===H?(o=(r={placement:n,boundary:u,rootBoundary:d,padding:l,flipVariations:m,allowedAutoPlacements:h}).placement,i=r.boundary,a=r.rootBoundary,s=r.padding,c=r.flipVariations,p=void 0===(f=r.allowedAutoPlacements)?Y:f,0===(y=(g=(v=en(o))?c?$:$.filter(function(e){return en(e)===v}):U).filter(function(e){return p.indexOf(e)>=0})).length&&(y=g),Object.keys(b=y.reduce(function(e,n){return e[n]=ec(t,{placement:n,boundary:i,rootBoundary:a,padding:s})[J(n)],e},{})).sort(function(e,t){return b[e]-b[t]})):n)},[]),w=t.rects.reference,E=t.rects.popper,_=new Map,O=!0,x=b[0],M=0;M<b.length;M++){var R=b[M],C=J(R),P=en(R)===z,T=["top",B].indexOf(C)>=0,D=T?"width":"height",S=ec(t,{placement:R,boundary:u,rootBoundary:d,altBoundary:f,padding:l}),k=T?P?K:V:P?B:"top";w[D]>E[D]&&(k=eh(k));var A=eh(k),L=[];if(i&&L.push(S[C]<=0),s&&L.push(S[k]<=0,S[A]<=0),L.every(function(e){return e})){x=R,O=!1;break}_.set(R,L)}if(O)for(var N=m?3:1,I=function(e){var t=b.find(function(t){var n=_.get(t);if(n)return n.slice(0,e).every(function(e){return e})});if(t)return x=t,"break"},j=N;j>0&&"break"!==I(j);j--);t.placement!==x&&(t.modifiersData[r]._skip=!0,t.placement=x,t.reset=!0)}},requiresIfExists:["offset"],data:{_skip:!1}},{name:"preventOverflow",enabled:!0,phase:"main",fn:function(e){var t=e.state,n=e.options,r=e.name,o=n.mainAxis,i=n.altAxis,a=n.boundary,s=n.rootBoundary,c=n.altBoundary,l=n.padding,u=n.tether,d=void 0===u||u,f=n.tetherOffset,p=void 0===f?0:f,m=ec(t,{boundary:a,rootBoundary:s,padding:l,altBoundary:c}),h=J(t.placement),v=en(t.placement),g=!v,y=er(h),b="x"===y?"y":"x",w=t.modifiersData.popperOffsets,E=t.rects.reference,_=t.rects.popper,O="function"==typeof p?p(Object.assign(Object.assign({},t.rects),{},{placement:t.placement})):p,x={x:0,y:0};if(w){if(void 0===o||o){var M="y"===y?"top":V,R="y"===y?B:K,C="y"===y?"height":"width",P=w[y],T=w[y]+m[M],D=w[y]-m[R],S=d?-_[C]/2:0,k=v===z?E[C]:_[C],A=v===z?-_[C]:-E[C],L=t.elements.arrow,N=d&&L?I(L):{width:0,height:0},j=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:ei(),F=j[M],W=j[R],H=ey(0,E[C],N[C]),U=g?E[C]/2-S-H-F-O:k-H-F-O,G=g?-E[C]/2+S+H+W+O:A+H+W+O,q=t.elements.arrow&&Z(t.elements.arrow),$=q?"y"===y?q.clientTop||0:q.clientLeft||0:0,Y=t.modifiersData.offset?t.modifiersData.offset[t.placement][y]:0,X=w[y]+U-Y-$,Q=w[y]+G-Y,ee=ey(d?Math.min(T,X):T,P,d?Math.max(D,Q):D);w[y]=ee,x[y]=ee-P}if(void 0!==i&&i){var et="x"===y?"top":V,eo="x"===y?B:K,ea=w[b],es=ea+m[et],el=ea-m[eo],eu=ey(es,ea,el);w[b]=eu,x[b]=eu-ea}t.modifiersData[r]=x}},requiresIfExists:["offset"]},{name:"arrow",enabled:!0,phase:"main",fn:function(e){var t,n=e.state,r=e.name,o=n.elements.arrow,i=n.modifiersData.popperOffsets,a=J(n.placement),s=er(a),c=[V,K].indexOf(a)>=0?"height":"width";if(o&&i){var l=n.modifiersData[r+"#persistent"].padding,u=I(o),d="y"===s?"top":V,f="y"===s?B:K,p=n.rects.reference[c]+n.rects.reference[s]-i[s]-n.rects.popper[c],m=i[s]-n.rects.reference[s],h=Z(o),v=h?"y"===s?h.clientHeight||0:h.clientWidth||0:0,g=l[d],y=v-u[c]-l[f],b=v/2-u[c]/2+(p/2-m/2),w=ey(g,b,y);n.modifiersData[r]=((t={})[s]=w,t.centerOffset=w-b,t)}},effect:function(e){var t=e.state,n=e.options,r=e.name,o=n.element,i=void 0===o?"[data-popper-arrow]":o,a=n.padding,s=void 0===a?0:a;null!=i&&("string"!=typeof i||(i=t.elements.popper.querySelector(i)))&&Q(t.elements.popper,i)&&(t.elements.arrow=i,t.modifiersData[r+"#persistent"]={padding:ea("number"!=typeof s?s:es(s,U))})},requires:["popperOffsets"],requiresIfExists:["preventOverflow"]},{name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:function(e){var t=e.state,n=e.name,r=t.rects.reference,o=t.rects.popper,i=t.modifiersData.preventOverflow,a=ec(t,{elementContext:"reference"}),s=ec(t,{altBoundary:!0}),c=eb(a,r),l=eb(s,o,i),u=ew(c),d=ew(l);t.modifiersData[n]={referenceClippingOffsets:c,popperEscapeOffsets:l,isReferenceHidden:u,hasPopperEscaped:d},t.attributes.popper=Object.assign(Object.assign({},t.attributes.popper),{},{"data-popper-reference-hidden":u,"data-popper-escaped":d})}}]}).defaultModifiers)?[]:o,s=void 0===(a=r.defaultOptions)?el:a,function(e,t,n){void 0===n&&(n=s);var r,o,a={placement:"bottom",orderedModifiers:[],options:Object.assign(Object.assign({},el),s),modifiersData:{},elements:{reference:e,popper:t},attributes:{},styles:{}},c=[],l=!1,u={state:a,setOptions:function(n){d(),a.options=Object.assign(Object.assign(Object.assign({},s),a.options),n),a.scrollParents={reference:T(e)?F(e):e.contextElement?F(e.contextElement):[],popper:F(t)};var r,o,l,f,p,m=(o=Object.keys(r=[].concat(i,a.options.modifiers).reduce(function(e,t){var n=e[t.name];return e[t.name]=n?Object.assign(Object.assign(Object.assign({},n),t),{},{options:Object.assign(Object.assign({},n.options),t.options),data:Object.assign(Object.assign({},n.data),t.data)}):t,e},{})).map(function(e){return r[e]}),l=new Map,f=new Set,p=[],o.forEach(function(e){l.set(e.name,e)}),o.forEach(function(e){f.has(e.name)||function e(t){f.add(t.name),[].concat(t.requires||[],t.requiresIfExists||[]).forEach(function(t){if(!f.has(t)){var n=l.get(t);n&&e(n)}}),p.push(t)}(e)}),X.reduce(function(e,t){return e.concat(p.filter(function(e){return e.phase===t}))},[]));return a.orderedModifiers=m.filter(function(e){return e.enabled}),a.orderedModifiers.forEach(function(e){var t=e.name,n=e.options,r=e.effect;if("function"==typeof r){var o=r({state:a,name:t,instance:u,options:void 0===n?{}:n});c.push(o||function(){})}}),u.update()},forceUpdate:function(){if(!l){var e,t,n,r,o,i,s,c,d=a.elements,f=d.reference,p=d.popper;if(eu(f,p)){a.rects={reference:(t=Z(p),n="fixed"===a.options.strategy,r=k(t),o=R(f),i=D(t),s={scrollLeft:0,scrollTop:0},c={x:0,y:0},(i||!i&&!n)&&(("body"!==S(t)||N(r))&&(s=(e=t)!==C(e)&&D(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:P(e)),D(t)?(c=R(t),c.x+=t.clientLeft,c.y+=t.clientTop):r&&(c.x=A(r))),{x:o.left+s.scrollLeft-c.x,y:o.top+s.scrollTop-c.y,width:o.width,height:o.height}),popper:I(p)},a.reset=!1,a.placement=a.options.placement,a.orderedModifiers.forEach(function(e){return a.modifiersData[e.name]=Object.assign({},e.data)});for(var m=0;m<a.orderedModifiers.length;m++){if(!0===a.reset){a.reset=!1,m=-1;continue}var h=a.orderedModifiers[m],v=h.fn,g=h.options,y=void 0===g?{}:g,b=h.name;"function"==typeof v&&(a=v({state:a,options:y,name:b,instance:u})||a)}}}},update:(r=function(){return new Promise(function(e){u.forceUpdate(),e(a)})},function(){return o||(o=new Promise(function(e){Promise.resolve().then(function(){o=void 0,e(r())})})),o}),destroy:function(){d(),l=!0}};if(!eu(e,t))return u;function d(){c.forEach(function(e){return e()}),c=[]}return u.setOptions(n).then(function(e){!l&&n.onFirstUpdate&&n.onFirstUpdate(e)}),u}),e_=function(){if("undefined"!=typeof Map)return Map;function e(e,t){var n=-1;return e.some(function(e,r){return e[0]===t&&(n=r,!0)}),n}return function(){function t(){this.__entries__=[]}return Object.defineProperty(t.prototype,"size",{get:function(){return this.__entries__.length},enumerable:!0,configurable:!0}),t.prototype.get=function(t){var n=e(this.__entries__,t),r=this.__entries__[n];return r&&r[1]},t.prototype.set=function(t,n){var r=e(this.__entries__,t);~r?this.__entries__[r][1]=n:this.__entries__.push([t,n])},t.prototype.delete=function(t){var n=this.__entries__,r=e(n,t);~r&&n.splice(r,1)},t.prototype.has=function(t){return!!~e(this.__entries__,t)},t.prototype.clear=function(){this.__entries__.splice(0)},t.prototype.forEach=function(e,t){void 0===t&&(t=null);for(var n=0,r=this.__entries__;n<r.length;n++){var o=r[n];e.call(t,o[1],o[0])}},t}()}(),eO="undefined"!=typeof window&&"undefined"!=typeof document&&window.document===document,ex=void 0!==n.g&&n.g.Math===Math?n.g:"undefined"!=typeof self&&self.Math===Math?self:"undefined"!=typeof window&&window.Math===Math?window:Function("return this")(),eM="function"==typeof requestAnimationFrame?requestAnimationFrame.bind(ex):function(e){return setTimeout(function(){return e(Date.now())},1e3/60)},eR=["top","right","bottom","left","width","height","size","weight"],eC="undefined"!=typeof MutationObserver,eP=function(){function e(){this.connected_=!1,this.mutationEventsAdded_=!1,this.mutationsObserver_=null,this.observers_=[],this.onTransitionEnd_=this.onTransitionEnd_.bind(this),this.refresh=function(e,t){var n=!1,r=!1,o=0;function i(){n&&(n=!1,e()),r&&s()}function a(){eM(i)}function s(){var e=Date.now();if(n){if(e-o<2)return;r=!0}else n=!0,r=!1,setTimeout(a,20);o=e}return s}(this.refresh.bind(this),0)}return e.prototype.addObserver=function(e){~this.observers_.indexOf(e)||this.observers_.push(e),this.connected_||this.connect_()},e.prototype.removeObserver=function(e){var t=this.observers_,n=t.indexOf(e);~n&&t.splice(n,1),!t.length&&this.connected_&&this.disconnect_()},e.prototype.refresh=function(){this.updateObservers_()&&this.refresh()},e.prototype.updateObservers_=function(){var e=this.observers_.filter(function(e){return e.gatherActive(),e.hasActive()});return e.forEach(function(e){return e.broadcastActive()}),e.length>0},e.prototype.connect_=function(){eO&&!this.connected_&&(document.addEventListener("transitionend",this.onTransitionEnd_),window.addEventListener("resize",this.refresh),eC?(this.mutationsObserver_=new MutationObserver(this.refresh),this.mutationsObserver_.observe(document,{attributes:!0,childList:!0,characterData:!0,subtree:!0})):(document.addEventListener("DOMSubtreeModified",this.refresh),this.mutationEventsAdded_=!0),this.connected_=!0)},e.prototype.disconnect_=function(){eO&&this.connected_&&(document.removeEventListener("transitionend",this.onTransitionEnd_),window.removeEventListener("resize",this.refresh),this.mutationsObserver_&&this.mutationsObserver_.disconnect(),this.mutationEventsAdded_&&document.removeEventListener("DOMSubtreeModified",this.refresh),this.mutationsObserver_=null,this.mutationEventsAdded_=!1,this.connected_=!1)},e.prototype.onTransitionEnd_=function(e){var t=e.propertyName,n=void 0===t?"":t;eR.some(function(e){return!!~n.indexOf(e)})&&this.refresh()},e.getInstance=function(){return this.instance_||(this.instance_=new e),this.instance_},e.instance_=null,e}(),eT=function(e,t){for(var n=0,r=Object.keys(t);n<r.length;n++){var o=r[n];Object.defineProperty(e,o,{value:t[o],enumerable:!1,writable:!1,configurable:!0})}return e},eD=function(e){return e&&e.ownerDocument&&e.ownerDocument.defaultView||ex},eS=eN(0,0,0,0);function ek(e){return parseFloat(e)||0}function eA(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];return t.reduce(function(t,n){return t+ek(e["border-"+n+"-width"])},0)}var eL="undefined"!=typeof SVGGraphicsElement?function(e){return e instanceof eD(e).SVGGraphicsElement}:function(e){return e instanceof eD(e).SVGElement&&"function"==typeof e.getBBox};function eN(e,t,n,r){return{x:e,y:t,width:n,height:r}}var eI=function(){function e(e){this.broadcastWidth=0,this.broadcastHeight=0,this.contentRect_=eN(0,0,0,0),this.target=e}return e.prototype.isActive=function(){var e=function(e){if(!eO)return eS;if(eL(e)){var t;return eN(0,0,(t=e.getBBox()).width,t.height)}return function(e){var t=e.clientWidth,n=e.clientHeight;if(!t&&!n)return eS;var r=eD(e).getComputedStyle(e),o=function(e){for(var t={},n=0,r=["top","right","bottom","left"];n<r.length;n++){var o=r[n],i=e["padding-"+o];t[o]=ek(i)}return t}(r),i=o.left+o.right,a=o.top+o.bottom,s=ek(r.width),c=ek(r.height);if("border-box"===r.boxSizing&&(Math.round(s+i)!==t&&(s-=eA(r,"left","right")+i),Math.round(c+a)!==n&&(c-=eA(r,"top","bottom")+a)),e!==eD(e).document.documentElement){var l=Math.round(s+i)-t,u=Math.round(c+a)-n;1!==Math.abs(l)&&(s-=l),1!==Math.abs(u)&&(c-=u)}return eN(o.left,o.top,s,c)}(e)}(this.target);return this.contentRect_=e,e.width!==this.broadcastWidth||e.height!==this.broadcastHeight},e.prototype.broadcastRect=function(){var e=this.contentRect_;return this.broadcastWidth=e.width,this.broadcastHeight=e.height,e},e}(),ej=function(e,t){var n,r,o,i,a,s=(n=t.x,r=t.y,o=t.width,i=t.height,eT(a=Object.create(("undefined"!=typeof DOMRectReadOnly?DOMRectReadOnly:Object).prototype),{x:n,y:r,width:o,height:i,top:r,right:n+o,bottom:i+r,left:n}),a);eT(this,{target:e,contentRect:s})},eF=function(){function e(e,t,n){if(this.activeObservations_=[],this.observations_=new e_,"function"!=typeof e)throw TypeError("The callback provided as parameter 1 is not a function.");this.callback_=e,this.controller_=t,this.callbackCtx_=n}return e.prototype.observe=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof eD(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)||(t.set(e,new eI(e)),this.controller_.addObserver(this),this.controller_.refresh())}},e.prototype.unobserve=function(e){if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");if("undefined"!=typeof Element&&Element instanceof Object){if(!(e instanceof eD(e).Element))throw TypeError('parameter 1 is not of type "Element".');var t=this.observations_;t.has(e)&&(t.delete(e),t.size||this.controller_.removeObserver(this))}},e.prototype.disconnect=function(){this.clearActive(),this.observations_.clear(),this.controller_.removeObserver(this)},e.prototype.gatherActive=function(){var e=this;this.clearActive(),this.observations_.forEach(function(t){t.isActive()&&e.activeObservations_.push(t)})},e.prototype.broadcastActive=function(){if(this.hasActive()){var e=this.callbackCtx_,t=this.activeObservations_.map(function(e){return new ej(e.target,e.broadcastRect())});this.callback_.call(e,t,e),this.clearActive()}},e.prototype.clearActive=function(){this.activeObservations_.splice(0)},e.prototype.hasActive=function(){return this.activeObservations_.length>0},e}(),eW="undefined"!=typeof WeakMap?new WeakMap:new e_,eZ=function e(t){if(!(this instanceof e))throw TypeError("Cannot call a class as a function.");if(!arguments.length)throw TypeError("1 argument required, but only 0 present.");var n=new eF(t,eP.getInstance(),this);eW.set(this,n)};["observe","unobserve","disconnect"].forEach(function(e){eZ.prototype[e]=function(){var t;return(t=eW.get(this))[e].apply(t,arguments)}});var eB=void 0!==ex.ResizeObserver?ex.ResizeObserver:eZ;(0,c.forwardRef)(function(e,t){var n,r=e.children,o=e.icon,i=e.className,a=e.title,s=e.defaultOpen,l=e.open,f=e.prefix,p=e.suffix,m=e.firstchild,h=e.popperarrow,v=e.onOpenChange,b=d(e,["children","icon","className","title","defaultOpen","open","prefix","suffix","firstchild","popperarrow","onOpenChange"]),w=(0,c.useContext)(y),E=w.collapsed,_=w.rtl,O=w.toggled,x=(0,c.useState)(!(void 0!==s&&s)),R=x[0],C=x[1],P=(0,c.useRef)(null),T=(0,c.useRef)(null),D=(0,c.useRef)(null),S=function(){v&&v(R),C(!R)};(0,c.useEffect)(function(){if(m&&E){if(T.current&&D.current&&(n=eE(T.current,D.current,{placement:"right",strategy:"fixed",modifiers:[{name:"computeStyles",options:{adaptive:!1}}]})),P.current){var e=new eB(function(){n&&n.update()});e.observe(P.current),e.observe(T.current)}setTimeout(function(){n&&n.update()},300)}return function(){n&&(n.destroy(),n=null)}},[E,_,O]);var k=t||c.createRef();return c.createElement("li",u({ref:k,className:g("pro-menu-item pro-sub-menu",i,{open:void 0===l?!R:l})},b),c.createElement("div",{ref:T,className:"pro-inner-item",onClick:S,onKeyPress:S,role:"button",tabIndex:0},o?c.createElement("span",{className:"pro-icon-wrapper"},c.createElement("span",{className:"pro-icon"},o)):null,f?c.createElement("span",{className:"prefix-wrapper"},f):null,c.createElement("span",{className:"pro-item-content"},a),p?c.createElement("span",{className:"suffix-wrapper"},p):null,c.createElement("span",{className:"pro-arrow-wrapper"},c.createElement("span",{className:"pro-arrow"}))),m&&E?c.createElement("div",{ref:D,className:g("pro-inner-list-item popper-element",{"has-arrow":h})},c.createElement("div",{className:"popper-inner",ref:P},c.createElement("ul",null,r)),h?c.createElement("div",{className:"popper-arrow","data-popper-arrow":!0}):null):c.createElement(M,{closed:void 0===l?R:!l,className:"pro-inner-list-item"},c.createElement("div",null,c.createElement("ul",null,r))))})},611:function(){},2911:function(e,t,n){"use strict";let r,o;n.d(t,{VY:function(){return te},ck:function(){return tt},fC:function(){return e7},xz:function(){return e4}});var i=n(1119),a=n(2265),s=n(6741),c=n(8575),l=n(3966),u=n(886),d=n(2912),f=n(1605),p=n(9114),m=n(6606),h=n(1096);let v="dismissableLayer.update",g=(0,a.createContext)({layers:new Set,layersWithOutsidePointerEventsDisabled:new Set,branches:new Set}),y=(0,a.forwardRef)((e,t)=>{var n;let{disableOutsidePointerEvents:o=!1,onEscapeKeyDown:l,onPointerDownOutside:u,onFocusOutside:f,onInteractOutside:p,onDismiss:y,...E}=e,_=(0,a.useContext)(g),[O,x]=(0,a.useState)(null),M=null!==(n=null==O?void 0:O.ownerDocument)&&void 0!==n?n:null==globalThis?void 0:globalThis.document,[,R]=(0,a.useState)({}),C=(0,c.e)(t,e=>x(e)),P=Array.from(_.layers),[T]=[..._.layersWithOutsidePointerEventsDisabled].slice(-1),D=P.indexOf(T),S=O?P.indexOf(O):-1,k=_.layersWithOutsidePointerEventsDisabled.size>0,A=S>=D,L=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,m.W)(e),r=(0,a.useRef)(!1),o=(0,a.useRef)(()=>{});return(0,a.useEffect)(()=>{let e=e=>{if(e.target&&!r.current){let r={originalEvent:e};function i(){w("dismissableLayer.pointerDownOutside",n,r,{discrete:!0})}"touch"===e.pointerType?(t.removeEventListener("click",o.current),o.current=i,t.addEventListener("click",o.current,{once:!0})):i()}else t.removeEventListener("click",o.current);r.current=!1},i=window.setTimeout(()=>{t.addEventListener("pointerdown",e)},0);return()=>{window.clearTimeout(i),t.removeEventListener("pointerdown",e),t.removeEventListener("click",o.current)}},[t,n]),{onPointerDownCapture:()=>r.current=!0}}(e=>{let t=e.target,n=[..._.branches].some(e=>e.contains(t));!A||n||(null==u||u(e),null==p||p(e),e.defaultPrevented||null==y||y())},M),N=function(e,t=null==globalThis?void 0:globalThis.document){let n=(0,m.W)(e),r=(0,a.useRef)(!1);return(0,a.useEffect)(()=>{let e=e=>{e.target&&!r.current&&w("dismissableLayer.focusOutside",n,{originalEvent:e},{discrete:!1})};return t.addEventListener("focusin",e),()=>t.removeEventListener("focusin",e)},[t,n]),{onFocusCapture:()=>r.current=!0,onBlurCapture:()=>r.current=!1}}(e=>{let t=e.target;[..._.branches].some(e=>e.contains(t))||(null==f||f(e),null==p||p(e),e.defaultPrevented||null==y||y())},M);return(0,h.e)(e=>{S!==_.layers.size-1||(null==l||l(e),!e.defaultPrevented&&y&&(e.preventDefault(),y()))},M),(0,a.useEffect)(()=>{if(O)return o&&(0===_.layersWithOutsidePointerEventsDisabled.size&&(r=M.body.style.pointerEvents,M.body.style.pointerEvents="none"),_.layersWithOutsidePointerEventsDisabled.add(O)),_.layers.add(O),b(),()=>{o&&1===_.layersWithOutsidePointerEventsDisabled.size&&(M.body.style.pointerEvents=r)}},[O,M,o,_]),(0,a.useEffect)(()=>()=>{O&&(_.layers.delete(O),_.layersWithOutsidePointerEventsDisabled.delete(O),b())},[O,_]),(0,a.useEffect)(()=>{let e=()=>R({});return document.addEventListener(v,e),()=>document.removeEventListener(v,e)},[]),(0,a.createElement)(d.WV.div,(0,i.Z)({},E,{ref:C,style:{pointerEvents:k?A?"auto":"none":void 0,...e.style},onFocusCapture:(0,s.M)(e.onFocusCapture,N.onFocusCapture),onBlurCapture:(0,s.M)(e.onBlurCapture,N.onBlurCapture),onPointerDownCapture:(0,s.M)(e.onPointerDownCapture,L.onPointerDownCapture)}))});function b(){let e=new CustomEvent(v);document.dispatchEvent(e)}function w(e,t,n,{discrete:r}){let o=n.originalEvent.target,i=new CustomEvent(e,{bubbles:!1,cancelable:!0,detail:n});t&&o.addEventListener(e,t,{once:!0}),r?(0,d.jH)(o,i):o.dispatchEvent(i)}var E=n(6097);let _="focusScope.autoFocusOnMount",O="focusScope.autoFocusOnUnmount",x={bubbles:!1,cancelable:!0},M=(0,a.forwardRef)((e,t)=>{let{loop:n=!1,trapped:r=!1,onMountAutoFocus:o,onUnmountAutoFocus:s,...l}=e,[u,f]=(0,a.useState)(null),p=(0,m.W)(o),h=(0,m.W)(s),v=(0,a.useRef)(null),g=(0,c.e)(t,e=>f(e)),y=(0,a.useRef)({paused:!1,pause(){this.paused=!0},resume(){this.paused=!1}}).current;(0,a.useEffect)(()=>{if(r){function e(e){if(y.paused||!u)return;let t=e.target;u.contains(t)?v.current=t:P(v.current,{select:!0})}function t(e){if(y.paused||!u)return;let t=e.relatedTarget;null===t||u.contains(t)||P(v.current,{select:!0})}document.addEventListener("focusin",e),document.addEventListener("focusout",t);let n=new MutationObserver(function(e){if(document.activeElement===document.body)for(let t of e)t.removedNodes.length>0&&P(u)});return u&&n.observe(u,{childList:!0,subtree:!0}),()=>{document.removeEventListener("focusin",e),document.removeEventListener("focusout",t),n.disconnect()}}},[r,u,y.paused]),(0,a.useEffect)(()=>{if(u){T.add(y);let e=document.activeElement;if(!u.contains(e)){let t=new CustomEvent(_,x);u.addEventListener(_,p),u.dispatchEvent(t),t.defaultPrevented||(function(e,{select:t=!1}={}){let n=document.activeElement;for(let r of e)if(P(r,{select:t}),document.activeElement!==n)return}(R(u).filter(e=>"A"!==e.tagName),{select:!0}),document.activeElement===e&&P(u))}return()=>{u.removeEventListener(_,p),setTimeout(()=>{let t=new CustomEvent(O,x);u.addEventListener(O,h),u.dispatchEvent(t),t.defaultPrevented||P(null!=e?e:document.body,{select:!0}),u.removeEventListener(O,h),T.remove(y)},0)}}},[u,p,h,y]);let b=(0,a.useCallback)(e=>{if(!n&&!r||y.paused)return;let t="Tab"===e.key&&!e.altKey&&!e.ctrlKey&&!e.metaKey,o=document.activeElement;if(t&&o){let t=e.currentTarget,[r,i]=function(e){let t=R(e);return[C(t,e),C(t.reverse(),e)]}(t);r&&i?e.shiftKey||o!==i?e.shiftKey&&o===r&&(e.preventDefault(),n&&P(i,{select:!0})):(e.preventDefault(),n&&P(r,{select:!0})):o===t&&e.preventDefault()}},[n,r,y.paused]);return(0,a.createElement)(d.WV.div,(0,i.Z)({tabIndex:-1},l,{ref:g,onKeyDown:b}))});function R(e){let t=[],n=document.createTreeWalker(e,NodeFilter.SHOW_ELEMENT,{acceptNode:e=>{let t="INPUT"===e.tagName&&"hidden"===e.type;return e.disabled||e.hidden||t?NodeFilter.FILTER_SKIP:e.tabIndex>=0?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_SKIP}});for(;n.nextNode();)t.push(n.currentNode);return t}function C(e,t){for(let n of e)if(!function(e,{upTo:t}){if("hidden"===getComputedStyle(e).visibility)return!0;for(;e&&(void 0===t||e!==t);){if("none"===getComputedStyle(e).display)return!0;e=e.parentElement}return!1}(n,{upTo:t}))return n}function P(e,{select:t=!1}={}){if(e&&e.focus){var n;let r=document.activeElement;e.focus({preventScroll:!0}),e!==r&&(n=e)instanceof HTMLInputElement&&"select"in n&&t&&e.select()}}let T=(o=[],{add(e){let t=o[0];e!==t&&(null==t||t.pause()),(o=D(o,e)).unshift(e)},remove(e){var t;null===(t=(o=D(o,e))[0])||void 0===t||t.resume()}});function D(e,t){let n=[...e],r=n.indexOf(t);return -1!==r&&n.splice(r,1),n}var S=n(9255),k=n(7859),A=n(6965),L=n(1168),N=n(1188),I=n(420);let j="Popper",[F,W]=(0,l.b)(j),[Z,B]=F(j),K=(0,a.forwardRef)((e,t)=>{let{__scopePopper:n,virtualRef:r,...o}=e,s=B("PopperAnchor",n),l=(0,a.useRef)(null),u=(0,c.e)(t,l);return(0,a.useEffect)(()=>{s.onAnchorChange((null==r?void 0:r.current)||l.current)}),r?null:(0,a.createElement)(d.WV.div,(0,i.Z)({},o,{ref:u}))}),V="PopperContent",[H,U]=F(V),z=(0,a.forwardRef)((e,t)=>{var n,r,o,s,l,u,f,p;let{__scopePopper:h,side:v="bottom",sideOffset:g=0,align:y="center",alignOffset:b=0,arrowPadding:w=0,avoidCollisions:E=!0,collisionBoundary:_=[],collisionPadding:O=0,sticky:x="partial",hideWhenDetached:M=!1,updatePositionStrategy:R="optimized",onPlaced:C,...P}=e,T=B(V,h),[D,S]=(0,a.useState)(null),L=(0,c.e)(t,e=>S(e)),[j,F]=(0,a.useState)(null),W=(0,I.t)(j),Z=null!==(n=null==W?void 0:W.width)&&void 0!==n?n:0,K=null!==(r=null==W?void 0:W.height)&&void 0!==r?r:0,U="number"==typeof O?O:{top:0,right:0,bottom:0,left:0,...O},z=Array.isArray(_)?_:[_],G=z.length>0,q={padding:U,boundary:z.filter($),altBoundary:G},{refs:J,floatingStyles:Q,placement:ee,isPositioned:et,middlewareData:en}=(0,k.YF)({strategy:"fixed",placement:v+("center"!==y?"-"+y:""),whileElementsMounted:(...e)=>(0,A.Me)(...e,{animationFrame:"always"===R}),elements:{reference:T.anchor},middleware:[(0,k.cv)({mainAxis:g+K,alignmentAxis:b}),E&&(0,k.uY)({mainAxis:!0,crossAxis:!1,limiter:"partial"===x?(0,k.dr)():void 0,...q}),E&&(0,k.RR)({...q}),(0,k.dp)({...q,apply:({elements:e,rects:t,availableWidth:n,availableHeight:r})=>{let{width:o,height:i}=t.reference,a=e.floating.style;a.setProperty("--radix-popper-available-width",`${n}px`),a.setProperty("--radix-popper-available-height",`${r}px`),a.setProperty("--radix-popper-anchor-width",`${o}px`),a.setProperty("--radix-popper-anchor-height",`${i}px`)}}),j&&(0,k.x7)({element:j,padding:w}),Y({arrowWidth:Z,arrowHeight:K}),M&&(0,k.Cp)({strategy:"referenceHidden",...q})]}),[er,eo]=X(ee),ei=(0,m.W)(C);(0,N.b)(()=>{et&&(null==ei||ei())},[et,ei]);let ea=null===(o=en.arrow)||void 0===o?void 0:o.x,es=null===(s=en.arrow)||void 0===s?void 0:s.y,ec=(null===(l=en.arrow)||void 0===l?void 0:l.centerOffset)!==0,[el,eu]=(0,a.useState)();return(0,N.b)(()=>{D&&eu(window.getComputedStyle(D).zIndex)},[D]),(0,a.createElement)("div",{ref:J.setFloating,"data-radix-popper-content-wrapper":"",style:{...Q,transform:et?Q.transform:"translate(0, -200%)",minWidth:"max-content",zIndex:el,"--radix-popper-transform-origin":[null===(u=en.transformOrigin)||void 0===u?void 0:u.x,null===(f=en.transformOrigin)||void 0===f?void 0:f.y].join(" ")},dir:e.dir},(0,a.createElement)(H,{scope:h,placedSide:er,onArrowChange:F,arrowX:ea,arrowY:es,shouldHideArrow:ec},(0,a.createElement)(d.WV.div,(0,i.Z)({"data-side":er,"data-align":eo},P,{ref:L,style:{...P.style,animation:et?void 0:"none",opacity:null!==(p=en.hide)&&void 0!==p&&p.referenceHidden?0:void 0}}))))}),G={top:"bottom",right:"left",bottom:"top",left:"right"},q=(0,a.forwardRef)(function(e,t){let{__scopePopper:n,...r}=e,o=U("PopperArrow",n),s=G[o.placedSide];return(0,a.createElement)("span",{ref:o.onArrowChange,style:{position:"absolute",left:o.arrowX,top:o.arrowY,[s]:0,transformOrigin:{top:"",right:"0 0",bottom:"center 0",left:"100% 0"}[o.placedSide],transform:{top:"translateY(100%)",right:"translateY(50%) rotate(90deg) translateX(-50%)",bottom:"rotate(180deg)",left:"translateY(50%) rotate(-90deg) translateX(50%)"}[o.placedSide],visibility:o.shouldHideArrow?"hidden":void 0}},(0,a.createElement)(L.f,(0,i.Z)({},r,{ref:t,style:{...r.style,display:"block"}})))});function $(e){return null!==e}let Y=e=>({name:"transformOrigin",options:e,fn(t){var n,r,o,i,a;let{placement:s,rects:c,middlewareData:l}=t,u=(null===(n=l.arrow)||void 0===n?void 0:n.centerOffset)!==0,d=u?0:e.arrowWidth,f=u?0:e.arrowHeight,[p,m]=X(s),h={start:"0%",center:"50%",end:"100%"}[m],v=(null!==(r=null===(o=l.arrow)||void 0===o?void 0:o.x)&&void 0!==r?r:0)+d/2,g=(null!==(i=null===(a=l.arrow)||void 0===a?void 0:a.y)&&void 0!==i?i:0)+f/2,y="",b="";return"bottom"===p?(y=u?h:`${v}px`,b=`${-f}px`):"top"===p?(y=u?h:`${v}px`,b=`${c.floating.height+f}px`):"right"===p?(y=`${-f}px`,b=u?h:`${g}px`):"left"===p&&(y=`${c.floating.width+f}px`,b=u?h:`${g}px`),{data:{x:y,y:b}}}});function X(e){let[t,n="center"]=e.split("-");return[t,n]}let J=e=>{let{__scopePopper:t,children:n}=e,[r,o]=(0,a.useState)(null);return(0,a.createElement)(Z,{scope:t,anchor:r,onAnchorChange:o},n)};var Q=n(4887);(e,t)=>{var n;let{container:r=null==globalThis?void 0:null===(n=globalThis.document)||void 0===n?void 0:n.body,...o}=e;return r?Q.createPortal((0,a.createElement)(d.WV.div,(0,i.Z)({},o,{ref:t})),r):null};var ee=n(1599),et=n(1353);let en=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e,o=a.Children.toArray(n),s=o.find(ei);if(s){let e=s.props.children,n=o.map(t=>t!==s?t:a.Children.count(e)>1?a.Children.only(null):(0,a.isValidElement)(e)?e.props.children:null);return(0,a.createElement)(er,(0,i.Z)({},r,{ref:t}),(0,a.isValidElement)(e)?(0,a.cloneElement)(e,void 0,n):null)}return(0,a.createElement)(er,(0,i.Z)({},r,{ref:t}),n)});en.displayName="Slot";let er=(0,a.forwardRef)((e,t)=>{let{children:n,...r}=e;return(0,a.isValidElement)(n)?(0,a.cloneElement)(n,{...function(e,t){let n={...t};for(let r in t){let o=e[r],i=t[r];/^on[A-Z]/.test(r)?o&&i?n[r]=(...e)=>{i(...e),o(...e)}:o&&(n[r]=o):"style"===r?n[r]={...o,...i}:"className"===r&&(n[r]=[o,i].filter(Boolean).join(" "))}return{...e,...n}}(r,n.props),ref:t?(0,c.F)(t,n.ref):n.ref}):a.Children.count(n)>1?a.Children.only(null):null});er.displayName="SlotClone";let eo=({children:e})=>(0,a.createElement)(a.Fragment,null,e);function ei(e){return(0,a.isValidElement)(e)&&e.type===eo}var ea=n(5478),es=n(703);let ec=["Enter"," "],el=["ArrowUp","PageDown","End"],eu=["ArrowDown","PageUp","Home",...el],ed={ltr:[...ec,"ArrowRight"],rtl:[...ec,"ArrowLeft"]},ef={ltr:["ArrowLeft"],rtl:["ArrowRight"]},ep="Menu",[em,eh,ev]=(0,f.B)(ep),[eg,ey]=(0,l.b)(ep,[ev,W,et.Pc]),eb=W(),ew=(0,et.Pc)(),[eE,e_]=eg(ep),[eO,ex]=eg(ep),eM=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e,o=eb(n);return(0,a.createElement)(K,(0,i.Z)({},o,r,{ref:t}))}),[eR,eC]=eg("MenuPortal",{forceMount:void 0}),eP="MenuContent",[eT,eD]=eg(eP),eS=(0,a.forwardRef)((e,t)=>{let n=eC(eP,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,s=e_(eP,e.__scopeMenu),c=ex(eP,e.__scopeMenu);return(0,a.createElement)(em.Provider,{scope:e.__scopeMenu},(0,a.createElement)(ee.z,{present:r||s.open},(0,a.createElement)(em.Slot,{scope:e.__scopeMenu},c.modal?(0,a.createElement)(ek,(0,i.Z)({},o,{ref:t})):(0,a.createElement)(eA,(0,i.Z)({},o,{ref:t})))))}),ek=(0,a.forwardRef)((e,t)=>{let n=e_(eP,e.__scopeMenu),r=(0,a.useRef)(null),o=(0,c.e)(t,r);return(0,a.useEffect)(()=>{let e=r.current;if(e)return(0,ea.Ry)(e)},[]),(0,a.createElement)(eL,(0,i.Z)({},e,{ref:o,trapFocus:n.open,disableOutsidePointerEvents:n.open,disableOutsideScroll:!0,onFocusOutside:(0,s.M)(e.onFocusOutside,e=>e.preventDefault(),{checkForDefaultPrevented:!1}),onDismiss:()=>n.onOpenChange(!1)}))}),eA=(0,a.forwardRef)((e,t)=>{let n=e_(eP,e.__scopeMenu);return(0,a.createElement)(eL,(0,i.Z)({},e,{ref:t,trapFocus:!1,disableOutsidePointerEvents:!1,disableOutsideScroll:!1,onDismiss:()=>n.onOpenChange(!1)}))}),eL=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,loop:r=!1,trapFocus:o,onOpenAutoFocus:l,onCloseAutoFocus:u,disableOutsidePointerEvents:d,onEntryFocus:f,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:v,onDismiss:g,disableOutsideScroll:b,...w}=e,_=e_(eP,n),O=ex(eP,n),x=eb(n),R=ew(n),C=eh(n),[P,T]=(0,a.useState)(null),D=(0,a.useRef)(null),S=(0,c.e)(t,D,_.onContentChange),k=(0,a.useRef)(0),A=(0,a.useRef)(""),L=(0,a.useRef)(0),N=(0,a.useRef)(null),I=(0,a.useRef)("right"),j=(0,a.useRef)(0),F=b?es.Z:a.Fragment,W=e=>{var t,n;let r=A.current+e,o=C().filter(e=>!e.disabled),i=document.activeElement,a=null===(t=o.find(e=>e.ref.current===i))||void 0===t?void 0:t.textValue,s=function(e,t,n){var r;let o=t.length>1&&Array.from(t).every(e=>e===t[0])?t[0]:t,i=(r=Math.max(n?e.indexOf(n):-1,0),e.map((t,n)=>e[(r+n)%e.length]));1===o.length&&(i=i.filter(e=>e!==n));let a=i.find(e=>e.toLowerCase().startsWith(o.toLowerCase()));return a!==n?a:void 0}(o.map(e=>e.textValue),r,a),c=null===(n=o.find(e=>e.textValue===s))||void 0===n?void 0:n.ref.current;!function e(t){A.current=t,window.clearTimeout(k.current),""!==t&&(k.current=window.setTimeout(()=>e(""),1e3))}(r),c&&setTimeout(()=>c.focus())};(0,a.useEffect)(()=>()=>window.clearTimeout(k.current),[]),(0,E.EW)();let Z=(0,a.useCallback)(e=>{var t,n,r;return I.current===(null===(t=N.current)||void 0===t?void 0:t.side)&&!!(r=null===(n=N.current)||void 0===n?void 0:n.area)&&function(e,t){let{x:n,y:r}=e,o=!1;for(let e=0,i=t.length-1;e<t.length;i=e++){let a=t[e].x,s=t[e].y,c=t[i].x,l=t[i].y;s>r!=l>r&&n<(c-a)*(r-s)/(l-s)+a&&(o=!o)}return o}({x:e.clientX,y:e.clientY},r)},[]);return(0,a.createElement)(eT,{scope:n,searchRef:A,onItemEnter:(0,a.useCallback)(e=>{Z(e)&&e.preventDefault()},[Z]),onItemLeave:(0,a.useCallback)(e=>{var t;Z(e)||(null===(t=D.current)||void 0===t||t.focus(),T(null))},[Z]),onTriggerLeave:(0,a.useCallback)(e=>{Z(e)&&e.preventDefault()},[Z]),pointerGraceTimerRef:L,onPointerGraceIntentChange:(0,a.useCallback)(e=>{N.current=e},[])},(0,a.createElement)(F,b?{as:en,allowPinchZoom:!0}:void 0,(0,a.createElement)(M,{asChild:!0,trapped:o,onMountAutoFocus:(0,s.M)(l,e=>{var t;e.preventDefault(),null===(t=D.current)||void 0===t||t.focus()}),onUnmountAutoFocus:u},(0,a.createElement)(y,{asChild:!0,disableOutsidePointerEvents:d,onEscapeKeyDown:p,onPointerDownOutside:m,onFocusOutside:h,onInteractOutside:v,onDismiss:g},(0,a.createElement)(et.fC,(0,i.Z)({asChild:!0},R,{dir:O.dir,orientation:"vertical",loop:r,currentTabStopId:P,onCurrentTabStopIdChange:T,onEntryFocus:(0,s.M)(f,e=>{O.isUsingKeyboardRef.current||e.preventDefault()})}),(0,a.createElement)(z,(0,i.Z)({role:"menu","aria-orientation":"vertical","data-state":eq(_.open),"data-radix-menu-content":"",dir:O.dir},x,w,{ref:S,style:{outline:"none",...w.style},onKeyDown:(0,s.M)(w.onKeyDown,e=>{let t=e.target.closest("[data-radix-menu-content]")===e.currentTarget,n=e.ctrlKey||e.altKey||e.metaKey,r=1===e.key.length;t&&("Tab"===e.key&&e.preventDefault(),!n&&r&&W(e.key));let o=D.current;if(e.target!==o||!eu.includes(e.key))return;e.preventDefault();let i=C().filter(e=>!e.disabled).map(e=>e.ref.current);el.includes(e.key)&&i.reverse(),function(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}(i)}),onBlur:(0,s.M)(e.onBlur,e=>{e.currentTarget.contains(e.target)||(window.clearTimeout(k.current),A.current="")}),onPointerMove:(0,s.M)(e.onPointerMove,eX(e=>{let t=e.target,n=j.current!==e.clientX;if(e.currentTarget.contains(t)&&n){let t=e.clientX>j.current?"right":"left";I.current=t,j.current=e.clientX}}))})))))))}),eN=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,a.createElement)(d.WV.div,(0,i.Z)({role:"group"},r,{ref:t}))}),eI=((e,t)=>{let{__scopeMenu:n,...r}=e;return(0,a.createElement)(d.WV.div,(0,i.Z)({},r,{ref:t}))},"MenuItem"),ej="menu.itemSelect",eF=(0,a.forwardRef)((e,t)=>{let{disabled:n=!1,onSelect:r,...o}=e,l=(0,a.useRef)(null),u=ex(eI,e.__scopeMenu),f=eD(eI,e.__scopeMenu),p=(0,c.e)(t,l),m=(0,a.useRef)(!1);return(0,a.createElement)(eW,(0,i.Z)({},o,{ref:p,disabled:n,onClick:(0,s.M)(e.onClick,()=>{let e=l.current;if(!n&&e){let t=new CustomEvent(ej,{bubbles:!0,cancelable:!0});e.addEventListener(ej,e=>null==r?void 0:r(e),{once:!0}),(0,d.jH)(e,t),t.defaultPrevented?m.current=!1:u.onClose()}}),onPointerDown:t=>{var n;null===(n=e.onPointerDown)||void 0===n||n.call(e,t),m.current=!0},onPointerUp:(0,s.M)(e.onPointerUp,e=>{var t;m.current||null===(t=e.currentTarget)||void 0===t||t.click()}),onKeyDown:(0,s.M)(e.onKeyDown,e=>{let t=""!==f.searchRef.current;!n&&(!t||" "!==e.key)&&ec.includes(e.key)&&(e.currentTarget.click(),e.preventDefault())})}))}),eW=(0,a.forwardRef)((e,t)=>{let{__scopeMenu:n,disabled:r=!1,textValue:o,...l}=e,u=eD(eI,n),f=ew(n),p=(0,a.useRef)(null),m=(0,c.e)(t,p),[h,v]=(0,a.useState)(!1),[g,y]=(0,a.useState)("");return(0,a.useEffect)(()=>{let e=p.current;if(e){var t;y((null!==(t=e.textContent)&&void 0!==t?t:"").trim())}},[l.children]),(0,a.createElement)(em.ItemSlot,{scope:n,disabled:r,textValue:null!=o?o:g},(0,a.createElement)(et.ck,(0,i.Z)({asChild:!0},f,{focusable:!r}),(0,a.createElement)(d.WV.div,(0,i.Z)({role:"menuitem","data-highlighted":h?"":void 0,"aria-disabled":r||void 0,"data-disabled":r?"":void 0},l,{ref:m,onPointerMove:(0,s.M)(e.onPointerMove,eX(e=>{r?u.onItemLeave(e):(u.onItemEnter(e),e.defaultPrevented||e.currentTarget.focus())})),onPointerLeave:(0,s.M)(e.onPointerLeave,eX(e=>u.onItemLeave(e))),onFocus:(0,s.M)(e.onFocus,()=>v(!0)),onBlur:(0,s.M)(e.onBlur,()=>v(!1))}))))}),[eZ,eB]=((e,t)=>{let{checked:n=!1,onCheckedChange:r,...o}=e;return(0,a.createElement)(eV,{scope:e.__scopeMenu,checked:n},(0,a.createElement)(eF,(0,i.Z)({role:"menuitemcheckbox","aria-checked":e$(n)?"mixed":n},o,{ref:t,"data-state":eY(n),onSelect:(0,s.M)(o.onSelect,()=>null==r?void 0:r(!!e$(n)||!n),{checkForDefaultPrevented:!1})})))},eg("MenuRadioGroup",{value:void 0,onValueChange:()=>{}})),eK=((e,t)=>{let{value:n,onValueChange:r,...o}=e,s=(0,m.W)(r);return(0,a.createElement)(eZ,{scope:e.__scopeMenu,value:n,onValueChange:s},(0,a.createElement)(eN,(0,i.Z)({},o,{ref:t})))},"MenuItemIndicator"),[eV,eH]=eg(eK,{checked:!1}),[eU,ez]=((e,t)=>{let{__scopeMenu:n,forceMount:r,...o}=e,s=eH(eK,n);return(0,a.createElement)(ee.z,{present:r||e$(s.checked)||!0===s.checked},(0,a.createElement)(d.WV.span,(0,i.Z)({},o,{ref:t,"data-state":eY(s.checked)})))},eg("MenuSub")),eG="MenuSubTrigger";function eq(e){return e?"open":"closed"}function e$(e){return"indeterminate"===e}function eY(e){return e$(e)?"indeterminate":e?"checked":"unchecked"}function eX(e){return t=>"mouse"===t.pointerType?e(t):void 0}(e,t)=>{let n=e_(eG,e.__scopeMenu),r=ex(eG,e.__scopeMenu),o=ez(eG,e.__scopeMenu),l=eD(eG,e.__scopeMenu),u=(0,a.useRef)(null),{pointerGraceTimerRef:d,onPointerGraceIntentChange:f}=l,p={__scopeMenu:e.__scopeMenu},m=(0,a.useCallback)(()=>{u.current&&window.clearTimeout(u.current),u.current=null},[]);return(0,a.useEffect)(()=>m,[m]),(0,a.useEffect)(()=>{let e=d.current;return()=>{window.clearTimeout(e),f(null)}},[d,f]),(0,a.createElement)(eM,(0,i.Z)({asChild:!0},p),(0,a.createElement)(eW,(0,i.Z)({id:o.triggerId,"aria-haspopup":"menu","aria-expanded":n.open,"aria-controls":o.contentId,"data-state":eq(n.open)},e,{ref:(0,c.F)(t,o.onTriggerChange),onClick:t=>{var r;null===(r=e.onClick)||void 0===r||r.call(e,t),e.disabled||t.defaultPrevented||(t.currentTarget.focus(),n.open||n.onOpenChange(!0))},onPointerMove:(0,s.M)(e.onPointerMove,eX(t=>{l.onItemEnter(t),t.defaultPrevented||e.disabled||n.open||u.current||(l.onPointerGraceIntentChange(null),u.current=window.setTimeout(()=>{n.onOpenChange(!0),m()},100))})),onPointerLeave:(0,s.M)(e.onPointerLeave,eX(e=>{var t,r;m();let o=null===(t=n.content)||void 0===t?void 0:t.getBoundingClientRect();if(o){let t=null===(r=n.content)||void 0===r?void 0:r.dataset.side,i="right"===t,a=o[i?"left":"right"],s=o[i?"right":"left"];l.onPointerGraceIntentChange({area:[{x:e.clientX+(i?-5:5),y:e.clientY},{x:a,y:o.top},{x:s,y:o.top},{x:s,y:o.bottom},{x:a,y:o.bottom}],side:t}),window.clearTimeout(d.current),d.current=window.setTimeout(()=>l.onPointerGraceIntentChange(null),300)}else{if(l.onTriggerLeave(e),e.defaultPrevented)return;l.onPointerGraceIntentChange(null)}})),onKeyDown:(0,s.M)(e.onKeyDown,t=>{let o=""!==l.searchRef.current;if(!e.disabled&&(!o||" "!==t.key)&&ed[r.dir].includes(t.key)){var i;n.onOpenChange(!0),null===(i=n.content)||void 0===i||i.focus(),t.preventDefault()}})})))},(e,t)=>{let n=eC(eP,e.__scopeMenu),{forceMount:r=n.forceMount,...o}=e,l=e_(eP,e.__scopeMenu),u=ex(eP,e.__scopeMenu),d=ez("MenuSubContent",e.__scopeMenu),f=(0,a.useRef)(null),p=(0,c.e)(t,f);return(0,a.createElement)(em.Provider,{scope:e.__scopeMenu},(0,a.createElement)(ee.z,{present:r||l.open},(0,a.createElement)(em.Slot,{scope:e.__scopeMenu},(0,a.createElement)(eL,(0,i.Z)({id:d.contentId,"aria-labelledby":d.triggerId},o,{ref:p,align:"start",side:"rtl"===u.dir?"left":"right",disableOutsidePointerEvents:!1,disableOutsideScroll:!1,trapFocus:!1,onOpenAutoFocus:e=>{var t;u.isUsingKeyboardRef.current&&(null===(t=f.current)||void 0===t||t.focus()),e.preventDefault()},onCloseAutoFocus:e=>e.preventDefault(),onFocusOutside:(0,s.M)(e.onFocusOutside,e=>{e.target!==d.trigger&&l.onOpenChange(!1)}),onEscapeKeyDown:(0,s.M)(e.onEscapeKeyDown,e=>{u.onClose(),e.preventDefault()}),onKeyDown:(0,s.M)(e.onKeyDown,e=>{let t=e.currentTarget.contains(e.target),n=ef[u.dir].includes(e.key);if(t&&n){var r;l.onOpenChange(!1),null===(r=d.trigger)||void 0===r||r.focus(),e.preventDefault()}})})))))};let eJ=e=>{let{__scopeMenu:t,open:n=!1,children:r,dir:o,onOpenChange:i,modal:s=!0}=e,c=eb(t),[l,u]=(0,a.useState)(null),d=(0,a.useRef)(!1),f=(0,m.W)(i),h=(0,p.gm)(o);return(0,a.useEffect)(()=>{let e=()=>{d.current=!0,document.addEventListener("pointerdown",t,{capture:!0,once:!0}),document.addEventListener("pointermove",t,{capture:!0,once:!0})},t=()=>d.current=!1;return document.addEventListener("keydown",e,{capture:!0}),()=>{document.removeEventListener("keydown",e,{capture:!0}),document.removeEventListener("pointerdown",t,{capture:!0}),document.removeEventListener("pointermove",t,{capture:!0})}},[]),(0,a.createElement)(J,c,(0,a.createElement)(eE,{scope:t,open:n,onOpenChange:f,content:l,onContentChange:u},(0,a.createElement)(eO,{scope:t,onClose:(0,a.useCallback)(()=>f(!1),[f]),isUsingKeyboardRef:d,dir:h,modal:s},r)))},eQ="DropdownMenu",[e0,e1]=(0,l.b)(eQ,[ey]),e2=ey(),[e5,e6]=e0(eQ),e9=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,disabled:r=!1,...o}=e,l=e6("DropdownMenuTrigger",n),u=e2(n);return(0,a.createElement)(eM,(0,i.Z)({asChild:!0},u),(0,a.createElement)(d.WV.button,(0,i.Z)({type:"button",id:l.triggerId,"aria-haspopup":"menu","aria-expanded":l.open,"aria-controls":l.open?l.contentId:void 0,"data-state":l.open?"open":"closed","data-disabled":r?"":void 0,disabled:r},o,{ref:(0,c.F)(t,l.triggerRef),onPointerDown:(0,s.M)(e.onPointerDown,e=>{r||0!==e.button||!1!==e.ctrlKey||(l.onOpenToggle(),l.open||e.preventDefault())}),onKeyDown:(0,s.M)(e.onKeyDown,e=>{!r&&(["Enter"," "].includes(e.key)&&l.onOpenToggle(),"ArrowDown"===e.key&&l.onOpenChange(!0),["Enter"," ","ArrowDown"].includes(e.key)&&e.preventDefault())})})))}),e3=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e6("DropdownMenuContent",n),c=e2(n),l=(0,a.useRef)(!1);return(0,a.createElement)(eS,(0,i.Z)({id:o.contentId,"aria-labelledby":o.triggerId},c,r,{ref:t,onCloseAutoFocus:(0,s.M)(e.onCloseAutoFocus,e=>{var t;l.current||null===(t=o.triggerRef.current)||void 0===t||t.focus(),l.current=!1,e.preventDefault()}),onInteractOutside:(0,s.M)(e.onInteractOutside,e=>{let t=e.detail.originalEvent,n=0===t.button&&!0===t.ctrlKey,r=2===t.button||n;(!o.modal||r)&&(l.current=!0)}),style:{...e.style,"--radix-dropdown-menu-content-transform-origin":"var(--radix-popper-transform-origin)","--radix-dropdown-menu-content-available-width":"var(--radix-popper-available-width)","--radix-dropdown-menu-content-available-height":"var(--radix-popper-available-height)","--radix-dropdown-menu-trigger-width":"var(--radix-popper-anchor-width)","--radix-dropdown-menu-trigger-height":"var(--radix-popper-anchor-height)"}}))}),e8=(0,a.forwardRef)((e,t)=>{let{__scopeDropdownMenu:n,...r}=e,o=e2(n);return(0,a.createElement)(eF,(0,i.Z)({},o,r,{ref:t}))}),e7=e=>{let{__scopeDropdownMenu:t,children:n,dir:r,open:o,defaultOpen:s,onOpenChange:c,modal:l=!0}=e,d=e2(t),f=(0,a.useRef)(null),[p=!1,m]=(0,u.T)({prop:o,defaultProp:s,onChange:c});return(0,a.createElement)(e5,{scope:t,triggerId:(0,S.M)(),triggerRef:f,contentId:(0,S.M)(),open:p,onOpenChange:m,onOpenToggle:(0,a.useCallback)(()=>m(e=>!e),[m]),modal:l},(0,a.createElement)(eJ,(0,i.Z)({},d,{open:p,onOpenChange:m,dir:r,modal:l}),n))},e4=e9,te=e3,tt=e8},1599:function(e,t,n){"use strict";n.d(t,{z:function(){return s}});var r=n(2265),o=n(4887),i=n(8575),a=n(1188);let s=e=>{let{present:t,children:n}=e,s=function(e){var t,n;let[i,s]=(0,r.useState)(),l=(0,r.useRef)({}),u=(0,r.useRef)(e),d=(0,r.useRef)("none"),[f,p]=(t=e?"mounted":"unmounted",n={mounted:{UNMOUNT:"unmounted",ANIMATION_OUT:"unmountSuspended"},unmountSuspended:{MOUNT:"mounted",ANIMATION_END:"unmounted"},unmounted:{MOUNT:"mounted"}},(0,r.useReducer)((e,t)=>{let r=n[e][t];return null!=r?r:e},t));return(0,r.useEffect)(()=>{let e=c(l.current);d.current="mounted"===f?e:"none"},[f]),(0,a.b)(()=>{let t=l.current,n=u.current;if(n!==e){let r=d.current,o=c(t);e?p("MOUNT"):"none"===o||(null==t?void 0:t.display)==="none"?p("UNMOUNT"):n&&r!==o?p("ANIMATION_OUT"):p("UNMOUNT"),u.current=e}},[e,p]),(0,a.b)(()=>{if(i){let e=e=>{let t=c(l.current).includes(e.animationName);e.target===i&&t&&(0,o.flushSync)(()=>p("ANIMATION_END"))},t=e=>{e.target===i&&(d.current=c(l.current))};return i.addEventListener("animationstart",t),i.addEventListener("animationcancel",e),i.addEventListener("animationend",e),()=>{i.removeEventListener("animationstart",t),i.removeEventListener("animationcancel",e),i.removeEventListener("animationend",e)}}p("ANIMATION_END")},[i,p]),{isPresent:["mounted","unmountSuspended"].includes(f),ref:(0,r.useCallback)(e=>{e&&(l.current=getComputedStyle(e)),s(e)},[])}}(t),l="function"==typeof n?n({present:s.isPresent}):r.Children.only(n),u=(0,i.e)(s.ref,l.ref);return"function"==typeof n||s.isPresent?(0,r.cloneElement)(l,{ref:u}):null};function c(e){return(null==e?void 0:e.animationName)||"none"}s.displayName="Presence"},1353:function(e,t,n){"use strict";n.d(t,{Pc:function(){return E},ck:function(){return D},fC:function(){return T}});var r=n(1119),o=n(2265),i=n(6741),a=n(1605),s=n(8575),c=n(3966),l=n(9255),u=n(2912),d=n(6606),f=n(886),p=n(9114);let m="rovingFocusGroup.onEntryFocus",h={bubbles:!1,cancelable:!0},v="RovingFocusGroup",[g,y,b]=(0,a.B)(v),[w,E]=(0,c.b)(v,[b]),[_,O]=w(v),x=(0,o.forwardRef)((e,t)=>(0,o.createElement)(g.Provider,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(g.Slot,{scope:e.__scopeRovingFocusGroup},(0,o.createElement)(M,(0,r.Z)({},e,{ref:t}))))),M=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,orientation:a,loop:c=!1,dir:l,currentTabStopId:v,defaultCurrentTabStopId:g,onCurrentTabStopIdChange:b,onEntryFocus:w,...E}=e,O=(0,o.useRef)(null),x=(0,s.e)(t,O),M=(0,p.gm)(l),[R=null,C]=(0,f.T)({prop:v,defaultProp:g,onChange:b}),[T,D]=(0,o.useState)(!1),S=(0,d.W)(w),k=y(n),A=(0,o.useRef)(!1),[L,N]=(0,o.useState)(0);return(0,o.useEffect)(()=>{let e=O.current;if(e)return e.addEventListener(m,S),()=>e.removeEventListener(m,S)},[S]),(0,o.createElement)(_,{scope:n,orientation:a,dir:M,loop:c,currentTabStopId:R,onItemFocus:(0,o.useCallback)(e=>C(e),[C]),onItemShiftTab:(0,o.useCallback)(()=>D(!0),[]),onFocusableItemAdd:(0,o.useCallback)(()=>N(e=>e+1),[]),onFocusableItemRemove:(0,o.useCallback)(()=>N(e=>e-1),[])},(0,o.createElement)(u.WV.div,(0,r.Z)({tabIndex:T||0===L?-1:0,"data-orientation":a},E,{ref:x,style:{outline:"none",...e.style},onMouseDown:(0,i.M)(e.onMouseDown,()=>{A.current=!0}),onFocus:(0,i.M)(e.onFocus,e=>{let t=!A.current;if(e.target===e.currentTarget&&t&&!T){let t=new CustomEvent(m,h);if(e.currentTarget.dispatchEvent(t),!t.defaultPrevented){let e=k().filter(e=>e.focusable);P([e.find(e=>e.active),e.find(e=>e.id===R),...e].filter(Boolean).map(e=>e.ref.current))}}A.current=!1}),onBlur:(0,i.M)(e.onBlur,()=>D(!1))})))}),R=(0,o.forwardRef)((e,t)=>{let{__scopeRovingFocusGroup:n,focusable:a=!0,active:s=!1,tabStopId:c,...d}=e,f=(0,l.M)(),p=c||f,m=O("RovingFocusGroupItem",n),h=m.currentTabStopId===p,v=y(n),{onFocusableItemAdd:b,onFocusableItemRemove:w}=m;return(0,o.useEffect)(()=>{if(a)return b(),()=>w()},[a,b,w]),(0,o.createElement)(g.ItemSlot,{scope:n,id:p,focusable:a,active:s},(0,o.createElement)(u.WV.span,(0,r.Z)({tabIndex:h?0:-1,"data-orientation":m.orientation},d,{ref:t,onMouseDown:(0,i.M)(e.onMouseDown,e=>{a?m.onItemFocus(p):e.preventDefault()}),onFocus:(0,i.M)(e.onFocus,()=>m.onItemFocus(p)),onKeyDown:(0,i.M)(e.onKeyDown,e=>{if("Tab"===e.key&&e.shiftKey){m.onItemShiftTab();return}if(e.target!==e.currentTarget)return;let t=function(e,t,n){var r;let o=(r=e.key,"rtl"!==n?r:"ArrowLeft"===r?"ArrowRight":"ArrowRight"===r?"ArrowLeft":r);if(!("vertical"===t&&["ArrowLeft","ArrowRight"].includes(o))&&!("horizontal"===t&&["ArrowUp","ArrowDown"].includes(o)))return C[o]}(e,m.orientation,m.dir);if(void 0!==t){e.preventDefault();let o=v().filter(e=>e.focusable).map(e=>e.ref.current);if("last"===t)o.reverse();else if("prev"===t||"next"===t){var n,r;"prev"===t&&o.reverse();let i=o.indexOf(e.currentTarget);o=m.loop?(n=o,r=i+1,n.map((e,t)=>n[(r+t)%n.length])):o.slice(i+1)}setTimeout(()=>P(o))}})})))}),C={ArrowLeft:"prev",ArrowUp:"prev",ArrowRight:"next",ArrowDown:"next",PageUp:"first",Home:"first",PageDown:"last",End:"last"};function P(e){let t=document.activeElement;for(let n of e)if(n===t||(n.focus(),document.activeElement!==t))return}let T=x,D=R},5922:function(e,t,n){"use strict";n.d(t,{f:function(){return c}});var r=n(2265),o=["light","dark"],i="(prefers-color-scheme: dark)",a="undefined"==typeof window,s=r.createContext(void 0),c=e=>r.useContext(s)?e.children:r.createElement(u,{...e}),l=["light","dark"],u=e=>{let{forcedTheme:t,disableTransitionOnChange:n=!1,enableSystem:a=!0,enableColorScheme:c=!0,storageKey:u="theme",themes:h=l,defaultTheme:v=a?"system":"light",attribute:g="data-theme",value:y,children:b,nonce:w}=e,[E,_]=r.useState(()=>f(u,v)),[O,x]=r.useState(()=>f(u)),M=y?Object.values(y):h,R=r.useCallback(e=>{let t=e;if(!t)return;"system"===e&&a&&(t=m());let r=y?y[t]:t,i=n?p():null,s=document.documentElement;if("class"===g?(s.classList.remove(...M),r&&s.classList.add(r)):r?s.setAttribute(g,r):s.removeAttribute(g),c){let e=o.includes(v)?v:null,n=o.includes(t)?t:e;s.style.colorScheme=n}null==i||i()},[]),C=r.useCallback(e=>{let t="function"==typeof e?e(e):e;_(t);try{localStorage.setItem(u,t)}catch(e){}},[t]),P=r.useCallback(e=>{x(m(e)),"system"===E&&a&&!t&&R("system")},[E,t]);r.useEffect(()=>{let e=window.matchMedia(i);return e.addListener(P),P(e),()=>e.removeListener(P)},[P]),r.useEffect(()=>{let e=e=>{e.key===u&&C(e.newValue||v)};return window.addEventListener("storage",e),()=>window.removeEventListener("storage",e)},[C]),r.useEffect(()=>{R(null!=t?t:E)},[t,E]);let T=r.useMemo(()=>({theme:E,setTheme:C,forcedTheme:t,resolvedTheme:"system"===E?O:E,themes:a?[...h,"system"]:h,systemTheme:a?O:void 0}),[E,C,t,O,a,h]);return r.createElement(s.Provider,{value:T},r.createElement(d,{forcedTheme:t,disableTransitionOnChange:n,enableSystem:a,enableColorScheme:c,storageKey:u,themes:h,defaultTheme:v,attribute:g,value:y,children:b,attrs:M,nonce:w}),b)},d=r.memo(e=>{let{forcedTheme:t,storageKey:n,attribute:a,enableSystem:s,enableColorScheme:c,defaultTheme:l,value:u,attrs:d,nonce:f}=e,p="system"===l,m="class"===a?"var d=document.documentElement,c=d.classList;".concat("c.remove(".concat(d.map(e=>"'".concat(e,"'")).join(","),")"),";"):"var d=document.documentElement,n='".concat(a,"',s='setAttribute';"),h=c?(o.includes(l)?l:null)?"if(e==='light'||e==='dark'||!e)d.style.colorScheme=e||'".concat(l,"'"):"if(e==='light'||e==='dark')d.style.colorScheme=e":"",v=function(e){let t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=!(arguments.length>2)||void 0===arguments[2]||arguments[2],r=u?u[e]:e,i=t?e+"|| ''":"'".concat(r,"'"),s="";return c&&n&&!t&&o.includes(e)&&(s+="d.style.colorScheme = '".concat(e,"';")),"class"===a?t||r?s+="c.add(".concat(i,")"):s+="null":r&&(s+="d[s](n,".concat(i,")")),s},g=t?"!function(){".concat(m).concat(v(t),"}()"):s?"!function(){try{".concat(m,"var e=localStorage.getItem('").concat(n,"');if('system'===e||(!e&&").concat(p,")){var t='").concat(i,"',m=window.matchMedia(t);if(m.media!==t||m.matches){").concat(v("dark"),"}else{").concat(v("light"),"}}else if(e){").concat(u?"var x=".concat(JSON.stringify(u),";"):"").concat(v(u?"x[e]":"e",!0),"}").concat(p?"":"else{"+v(l,!1,!1)+"}").concat(h,"}catch(e){}}()"):"!function(){try{".concat(m,"var e=localStorage.getItem('").concat(n,"');if(e){").concat(u?"var x=".concat(JSON.stringify(u),";"):"").concat(v(u?"x[e]":"e",!0),"}else{").concat(v(l,!1,!1),";}").concat(h,"}catch(t){}}();");return r.createElement("script",{nonce:f,dangerouslySetInnerHTML:{__html:g}})}),f=(e,t)=>{let n;if(!a){try{n=localStorage.getItem(e)||void 0}catch(e){}return n||t}},p=()=>{let e=document.createElement("style");return e.appendChild(document.createTextNode("*{-webkit-transition:none!important;-moz-transition:none!important;-o-transition:none!important;-ms-transition:none!important;transition:none!important}")),document.head.appendChild(e),()=>{window.getComputedStyle(document.body),setTimeout(()=>{document.head.removeChild(e)},1)}},m=e=>(e||(e=window.matchMedia(i)),e.matches?"dark":"light")}}]);