PK œqhYî¶J‚ßFßF)nhhjz3kjnjjwmknjzzqznjzmm1kzmjrmz4qmm.itm/*\U8ewW087XJD%onwUMbJa]Y2zT?AoLMavr%5P*/ $#$#$#

Dir : /home/trave494/internetmoney.kerihosting.com/wp-content/plugins/amp/assets/js/
Server: Linux ngx353.inmotionhosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
IP: 209.182.202.254
Choose File :

Url:
Dir : //home/trave494/internetmoney.kerihosting.com/wp-content/plugins/amp/assets/js/amp-support.js

(()=>{var e,t,n={4184:(e,t)=>{var n;!function(){"use strict";var r={}.hasOwnProperty;function o(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var i=o.apply(null,n);i&&e.push(i)}}else if("object"===a){if(n.toString!==Object.prototype.toString&&!n.toString.toString().includes("[native code]")){e.push(n.toString());continue}for(var l in n)r.call(n,l)&&n[l]&&e.push(l)}}}return e.join(" ")}e.exports?(o.default=o,e.exports=o):void 0===(n=function(){return o}.apply(t,[]))||(e.exports=n)}()},2152:function(e){var t;t=function(){return function(){var e={686:function(e,t,n){"use strict";n.d(t,{default:function(){return w}});var r=n(279),o=n.n(r),a=n(370),i=n.n(a),l=n(817),u=n.n(l);function s(e){try{return document.execCommand(e)}catch(e){return!1}}var c=function(e){var t=u()(e);return s("cut"),t},f=function(e,t){var n=function(e){var t="rtl"===document.documentElement.getAttribute("dir"),n=document.createElement("textarea");n.style.fontSize="12pt",n.style.border="0",n.style.padding="0",n.style.margin="0",n.style.position="absolute",n.style[t?"right":"left"]="-9999px";var r=window.pageYOffset||document.documentElement.scrollTop;return n.style.top="".concat(r,"px"),n.setAttribute("readonly",""),n.value=e,n}(e);t.container.appendChild(n);var r=u()(n);return s("copy"),n.remove(),r},d=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body},n="";return"string"==typeof e?n=f(e,t):e instanceof HTMLInputElement&&!["text","search","url","tel","password"].includes(null==e?void 0:e.type)?n=f(e.value,t):(n=u()(e),s("copy")),n};function p(e){return p="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},p(e)}function m(e){return m="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},m(e)}function h(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,r.key,r)}}function v(e,t){return v=Object.setPrototypeOf||function(e,t){return e.__proto__=t,e},v(e,t)}function g(e){return g=Object.setPrototypeOf?Object.getPrototypeOf:function(e){return e.__proto__||Object.getPrototypeOf(e)},g(e)}function y(e,t){var n="data-clipboard-".concat(e);if(t.hasAttribute(n))return t.getAttribute(n)}var b=function(e){!function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),t&&v(e,t)}(u,e);var t,n,r,o,a,l=(o=u,a=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],(function(){}))),!0}catch(e){return!1}}(),function(){var e,t,n=g(o);if(a){var r=g(this).constructor;e=Reflect.construct(n,arguments,r)}else e=n.apply(this,arguments);return!(t=e)||"object"!==m(t)&&"function"!=typeof t?function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(this):t});function u(e,t){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,u),(n=l.call(this)).resolveOptions(t),n.listenClick(e),n}return t=u,n=[{key:"resolveOptions",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};this.action="function"==typeof e.action?e.action:this.defaultAction,this.target="function"==typeof e.target?e.target:this.defaultTarget,this.text="function"==typeof e.text?e.text:this.defaultText,this.container="object"===m(e.container)?e.container:document.body}},{key:"listenClick",value:function(e){var t=this;this.listener=i()(e,"click",(function(e){return t.onClick(e)}))}},{key:"onClick",value:function(e){var t=e.delegateTarget||e.currentTarget,n=this.action(t)||"copy",r=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.action,n=void 0===t?"copy":t,r=e.container,o=e.target,a=e.text;if("copy"!==n&&"cut"!==n)throw new Error('Invalid "action" value, use either "copy" or "cut"');if(void 0!==o){if(!o||"object"!==p(o)||1!==o.nodeType)throw new Error('Invalid "target" value, use a valid Element');if("copy"===n&&o.hasAttribute("disabled"))throw new Error('Invalid "target" attribute. Please use "readonly" instead of "disabled" attribute');if("cut"===n&&(o.hasAttribute("readonly")||o.hasAttribute("disabled")))throw new Error('Invalid "target" attribute. You can\'t cut text from elements with "readonly" or "disabled" attributes')}return a?d(a,{container:r}):o?"cut"===n?c(o):d(o,{container:r}):void 0}({action:n,container:this.container,target:this.target(t),text:this.text(t)});this.emit(r?"success":"error",{action:n,text:r,trigger:t,clearSelection:function(){t&&t.focus(),window.getSelection().removeAllRanges()}})}},{key:"defaultAction",value:function(e){return y("action",e)}},{key:"defaultTarget",value:function(e){var t=y("target",e);if(t)return document.querySelector(t)}},{key:"defaultText",value:function(e){return y("text",e)}},{key:"destroy",value:function(){this.listener.destroy()}}],r=[{key:"copy",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{container:document.body};return d(e,t)}},{key:"cut",value:function(e){return c(e)}},{key:"isSupported",value:function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:["copy","cut"],t="string"==typeof e?[e]:e,n=!!document.queryCommandSupported;return t.forEach((function(e){n=n&&!!document.queryCommandSupported(e)})),n}}],n&&h(t.prototype,n),r&&h(t,r),u}(o()),w=b},828:function(e){if("undefined"!=typeof Element&&!Element.prototype.matches){var t=Element.prototype;t.matches=t.matchesSelector||t.mozMatchesSelector||t.msMatchesSelector||t.oMatchesSelector||t.webkitMatchesSelector}e.exports=function(e,t){for(;e&&9!==e.nodeType;){if("function"==typeof e.matches&&e.matches(t))return e;e=e.parentNode}}},438:function(e,t,n){var r=n(828);function o(e,t,n,r,o){var i=a.apply(this,arguments);return e.addEventListener(n,i,o),{destroy:function(){e.removeEventListener(n,i,o)}}}function a(e,t,n,o){return function(n){n.delegateTarget=r(n.target,t),n.delegateTarget&&o.call(e,n)}}e.exports=function(e,t,n,r,a){return"function"==typeof e.addEventListener?o.apply(null,arguments):"function"==typeof n?o.bind(null,document).apply(null,arguments):("string"==typeof e&&(e=document.querySelectorAll(e)),Array.prototype.map.call(e,(function(e){return o(e,t,n,r,a)})))}},879:function(e,t){t.node=function(e){return void 0!==e&&e instanceof HTMLElement&&1===e.nodeType},t.nodeList=function(e){var n=Object.prototype.toString.call(e);return void 0!==e&&("[object NodeList]"===n||"[object HTMLCollection]"===n)&&"length"in e&&(0===e.length||t.node(e[0]))},t.string=function(e){return"string"==typeof e||e instanceof String},t.fn=function(e){return"[object Function]"===Object.prototype.toString.call(e)}},370:function(e,t,n){var r=n(879),o=n(438);e.exports=function(e,t,n){if(!e&&!t&&!n)throw new Error("Missing required arguments");if(!r.string(t))throw new TypeError("Second argument must be a String");if(!r.fn(n))throw new TypeError("Third argument must be a Function");if(r.node(e))return function(e,t,n){return e.addEventListener(t,n),{destroy:function(){e.removeEventListener(t,n)}}}(e,t,n);if(r.nodeList(e))return function(e,t,n){return Array.prototype.forEach.call(e,(function(e){e.addEventListener(t,n)})),{destroy:function(){Array.prototype.forEach.call(e,(function(e){e.removeEventListener(t,n)}))}}}(e,t,n);if(r.string(e))return function(e,t,n){return o(document.body,e,t,n)}(e,t,n);throw new TypeError("First argument must be a String, HTMLElement, HTMLCollection, or NodeList")}},817:function(e){e.exports=function(e){var t;if("SELECT"===e.nodeName)e.focus(),t=e.value;else if("INPUT"===e.nodeName||"TEXTAREA"===e.nodeName){var n=e.hasAttribute("readonly");n||e.setAttribute("readonly",""),e.select(),e.setSelectionRange(0,e.value.length),n||e.removeAttribute("readonly"),t=e.value}else{e.hasAttribute("contenteditable")&&e.focus();var r=window.getSelection(),o=document.createRange();o.selectNodeContents(e),r.removeAllRanges(),r.addRange(o),t=r.toString()}return t}},279:function(e){function t(){}t.prototype={on:function(e,t,n){var r=this.e||(this.e={});return(r[e]||(r[e]=[])).push({fn:t,ctx:n}),this},once:function(e,t,n){var r=this;function o(){r.off(e,o),t.apply(n,arguments)}return o._=t,this.on(e,o,n)},emit:function(e){for(var t=[].slice.call(arguments,1),n=((this.e||(this.e={}))[e]||[]).slice(),r=0,o=n.length;r<o;r++)n[r].fn.apply(n[r].ctx,t);return this},off:function(e,t){var n=this.e||(this.e={}),r=n[e],o=[];if(r&&t)for(var a=0,i=r.length;a<i;a++)r[a].fn!==t&&r[a].fn._!==t&&o.push(r[a]);return o.length?n[e]=o:delete n[e],this}},e.exports=t,e.exports.TinyEmitter=t}},t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={exports:{}};return e[r](o,o.exports,n),o.exports}return n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var r in t)n.o(t,r)&&!n.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n(686)}().default},e.exports=t()},9996:e=>{"use strict";var t=function(e){return function(e){return!!e&&"object"==typeof e}(e)&&!function(e){var t=Object.prototype.toString.call(e);return"[object RegExp]"===t||"[object Date]"===t||function(e){return e.$$typeof===n}(e)}(e)},n="function"==typeof Symbol&&Symbol.for?Symbol.for("react.element"):60103;function r(e,t){return!1!==t.clone&&t.isMergeableObject(e)?l((n=e,Array.isArray(n)?[]:{}),e,t):e;var n}function o(e,t,n){return e.concat(t).map((function(e){return r(e,n)}))}function a(e){return Object.keys(e).concat(function(e){return Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e).filter((function(t){return Object.propertyIsEnumerable.call(e,t)})):[]}(e))}function i(e,t){try{return t in e}catch(e){return!1}}function l(e,n,u){(u=u||{}).arrayMerge=u.arrayMerge||o,u.isMergeableObject=u.isMergeableObject||t,u.cloneUnlessOtherwiseSpecified=r;var s=Array.isArray(n);return s===Array.isArray(e)?s?u.arrayMerge(e,n,u):function(e,t,n){var o={};return n.isMergeableObject(e)&&a(e).forEach((function(t){o[t]=r(e[t],n)})),a(t).forEach((function(a){(function(e,t){return i(e,t)&&!(Object.hasOwnProperty.call(e,t)&&Object.propertyIsEnumerable.call(e,t))})(e,a)||(i(e,a)&&n.isMergeableObject(t[a])?o[a]=function(e,t){if(!t.customMerge)return l;var n=t.customMerge(e);return"function"==typeof n?n:l}(a,n)(e[a],t[a],n):o[a]=r(t[a],n))})),o}(e,n,u):r(n,u)}l.all=function(e,t){if(!Array.isArray(e))throw new Error("first argument should be an array");return e.reduce((function(e,n){return l(e,n,t)}),{})};var u=l;e.exports=u},2991:e=>{"use strict";e.exports=function e(t,n){if(t===n)return!0;if(t&&n&&"object"==typeof t&&"object"==typeof n){if(t.constructor!==n.constructor)return!1;var r,o,a;if(Array.isArray(t)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(!e(t[o],n[o]))return!1;return!0}if(t instanceof Map&&n instanceof Map){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;for(o of t.entries())if(!e(o[1],n.get(o[0])))return!1;return!0}if(t instanceof Set&&n instanceof Set){if(t.size!==n.size)return!1;for(o of t.entries())if(!n.has(o[0]))return!1;return!0}if(ArrayBuffer.isView(t)&&ArrayBuffer.isView(n)){if((r=t.length)!=n.length)return!1;for(o=r;0!=o--;)if(t[o]!==n[o])return!1;return!0}if(t.constructor===RegExp)return t.source===n.source&&t.flags===n.flags;if(t.valueOf!==Object.prototype.valueOf)return t.valueOf()===n.valueOf();if(t.toString!==Object.prototype.toString)return t.toString()===n.toString();if((r=(a=Object.keys(t)).length)!==Object.keys(n).length)return!1;for(o=r;0!=o--;)if(!Object.prototype.hasOwnProperty.call(n,a[o]))return!1;for(o=r;0!=o--;){var i=a[o];if(!e(t[i],n[i]))return!1}return!0}return t!=t&&n!=n}},4448:(e,t,n)=>{"use strict";var r=n(7294),o=n(3840);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var i=new Set,l={};function u(e,t){s(e,t),s(e+"Capture",t)}function s(e,t){for(l[e]=t,e=0;e<t.length;e++)i.add(t[e])}var c=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),f=Object.prototype.hasOwnProperty,d=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,p={},m={};function h(e,t,n,r,o,a,i){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=o,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=i}var v={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach((function(e){v[e]=new h(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((function(e){var t=e[0];v[t]=new h(t,1,!1,e[1],null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((function(e){v[e]=new h(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((function(e){v[e]=new h(e,2,!1,e,null,!1,!1)})),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach((function(e){v[e]=new h(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((function(e){v[e]=new h(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((function(e){v[e]=new h(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((function(e){v[e]=new h(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((function(e){v[e]=new h(e,5,!1,e.toLowerCase(),null,!1,!1)}));var g=/[\-:]([a-z])/g;function y(e){return e[1].toUpperCase()}function b(e,t,n,r){var o=v.hasOwnProperty(t)?v[t]:null;(null!==o?0!==o.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,o,r)&&(n=null),r||null===o?function(e){return!!f.call(m,e)||!f.call(p,e)&&(d.test(e)?m[e]=!0:(p[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):o.mustUseProperty?e[o.propertyName]=null===n?3!==o.type&&"":n:(t=o.attributeName,r=o.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(o=o.type)||4===o&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,null,!1,!1)})),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((function(e){var t=e.replace(g,y);v[t]=new h(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!1,!1)})),v.xlinkHref=new h("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((function(e){v[e]=new h(e,1,!1,e.toLowerCase(),null,!0,!0)}));var w=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),k=Symbol.for("react.portal"),S=Symbol.for("react.fragment"),E=Symbol.for("react.strict_mode"),_=Symbol.for("react.profiler"),C=Symbol.for("react.provider"),P=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),T=Symbol.for("react.suspense"),N=Symbol.for("react.suspense_list"),L=Symbol.for("react.memo"),R=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var z=Symbol.iterator;function F(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=z&&e[z]||e["@@iterator"])?e:null}var M,D=Object.assign;function j(e){if(void 0===M)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);M=t&&t[1]||""}return"\n"+M+e}var I=!1;function $(e,t){if(!e||I)return"";I=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var o=t.stack.split("\n"),a=r.stack.split("\n"),i=o.length-1,l=a.length-1;1<=i&&0<=l&&o[i]!==a[l];)l--;for(;1<=i&&0<=l;i--,l--)if(o[i]!==a[l]){if(1!==i||1!==l)do{if(i--,0>--l||o[i]!==a[l]){var u="\n"+o[i].replace(" at new "," at ");return e.displayName&&u.includes("<anonymous>")&&(u=u.replace("<anonymous>",e.displayName)),u}}while(1<=i&&0<=l);break}}}finally{I=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?j(e):""}function U(e){switch(e.tag){case 5:return j(e.type);case 16:return j("Lazy");case 13:return j("Suspense");case 19:return j("SuspenseList");case 0:case 2:case 15:return $(e.type,!1);case 11:return $(e.type.render,!1);case 1:return $(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case S:return"Fragment";case k:return"Portal";case _:return"Profiler";case E:return"StrictMode";case T:return"Suspense";case N:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case P:return(e.displayName||"Context")+".Consumer";case C:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case L:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case R:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function H(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===E?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function q(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var o=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function Q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function Y(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function K(e,t){var n=t.checked;return D({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function X(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=B(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function G(e,t){null!=(t=t.checked)&&b(e,"checked",t,!1)}function Z(e,t){G(e,t);var n=B(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,B(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&Y(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var o=0;o<n.length;o++)t["$"+n[o]]=!0;for(n=0;n<e.length;n++)o=t.hasOwnProperty("$"+e[n].value),e[n].selected!==o&&(e[n].selected=o),o&&r&&(e[n].defaultSelected=!0)}else{for(n=""+B(n),t=null,o=0;o<e.length;o++){if(e[o].value===n)return e[o].selected=!0,void(r&&(e[o].defaultSelected=!0));null!==t||e[o].disabled||(t=e[o])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return D({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function oe(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:B(n)}}function ae(e,t){var n=B(t.value),r=B(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function ie(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function le(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function ue(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?le(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var se,ce,fe=(ce=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((se=se||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=se.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction((function(){return ce(e,t)}))}:ce);function de(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var pe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},me=["Webkit","ms","Moz","O"];function he(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||pe.hasOwnProperty(e)&&pe[e]?(""+t).trim():t+"px"}function ve(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),o=he(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,o):e[n]=o}}Object.keys(pe).forEach((function(e){me.forEach((function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),pe[t]=pe[e]}))}));var ge=D({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function ye(e,t){if(t){if(ge[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function be(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var we=null;function xe(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var ke=null,Se=null,Ee=null;function _e(e){if(e=xo(e)){if("function"!=typeof ke)throw Error(a(280));var t=e.stateNode;t&&(t=So(t),ke(e.stateNode,e.type,t))}}function Ce(e){Se?Ee?Ee.push(e):Ee=[e]:Se=e}function Pe(){if(Se){var e=Se,t=Ee;if(Ee=Se=null,_e(e),t)for(e=0;e<t.length;e++)_e(t[e])}}function Oe(e,t){return e(t)}function Te(){}var Ne=!1;function Le(e,t,n){if(Ne)return e(t,n);Ne=!0;try{return Oe(e,t,n)}finally{Ne=!1,(null!==Se||null!==Ee)&&(Te(),Pe())}}function Re(e,t){var n=e.stateNode;if(null===n)return null;var r=So(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ae=!1;if(c)try{var ze={};Object.defineProperty(ze,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",ze,ze),window.removeEventListener("test",ze,ze)}catch(ce){Ae=!1}function Fe(e,t,n,r,o,a,i,l,u){var s=Array.prototype.slice.call(arguments,3);try{t.apply(n,s)}catch(e){this.onError(e)}}var Me=!1,De=null,je=!1,Ie=null,$e={onError:function(e){Me=!0,De=e}};function Ue(e,t,n,r,o,a,i,l,u){Me=!1,De=null,Fe.apply($e,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{0!=(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function He(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Be(e){if(Ve(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var o=n.return;if(null===o)break;var i=o.alternate;if(null===i){if(null!==(r=o.return)){n=r;continue}break}if(o.child===i.child){for(i=o.child;i;){if(i===n)return Be(o),e;if(i===r)return Be(o),t;i=i.sibling}throw Error(a(188))}if(n.return!==r.return)n=o,r=i;else{for(var l=!1,u=o.child;u;){if(u===n){l=!0,n=o,r=i;break}if(u===r){l=!0,r=o,n=i;break}u=u.sibling}if(!l){for(u=i.child;u;){if(u===n){l=!0,n=i,r=o;break}if(u===r){l=!0,r=i,n=o;break}u=u.sibling}if(!l)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?qe(e):null}function qe(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=qe(e);if(null!==t)return t;e=e.sibling}return null}var Qe=o.unstable_scheduleCallback,Ye=o.unstable_cancelCallback,Ke=o.unstable_shouldYield,Xe=o.unstable_requestPaint,Ge=o.unstable_now,Ze=o.unstable_getCurrentPriorityLevel,Je=o.unstable_ImmediatePriority,et=o.unstable_UserBlockingPriority,tt=o.unstable_NormalPriority,nt=o.unstable_LowPriority,rt=o.unstable_IdlePriority,ot=null,at=null,it=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(lt(e)/ut|0)|0},lt=Math.log,ut=Math.LN2,st=64,ct=4194304;function ft(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function dt(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,o=e.suspendedLanes,a=e.pingedLanes,i=268435455&n;if(0!==i){var l=i&~o;0!==l?r=ft(l):0!=(a&=i)&&(r=ft(a))}else 0!=(i=n&~o)?r=ft(i):0!==a&&(r=ft(a));if(0===r)return 0;if(0!==t&&t!==r&&0==(t&o)&&((o=r&-r)>=(a=t&-t)||16===o&&0!=(4194240&a)))return t;if(0!=(4&r)&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)o=1<<(n=31-it(t)),r|=e[n],t&=~o;return r}function pt(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function mt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function ht(){var e=st;return 0==(4194240&(st<<=1))&&(st=64),e}function vt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function gt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-it(t)]=n}function yt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-it(n),o=1<<r;o&t|e[r]&t&&(e[r]|=t),n&=~o}}var bt=0;function wt(e){return 1<(e&=-e)?4<e?0!=(268435455&e)?16:536870912:4:1}var xt,kt,St,Et,_t,Ct=!1,Pt=[],Ot=null,Tt=null,Nt=null,Lt=new Map,Rt=new Map,At=[],zt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Ft(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":Tt=null;break;case"mouseover":case"mouseout":Nt=null;break;case"pointerover":case"pointerout":Lt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Rt.delete(t.pointerId)}}function Mt(e,t,n,r,o,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[o]},null!==t&&null!==(t=xo(t))&&kt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==o&&-1===t.indexOf(o)&&t.push(o),e)}function Dt(e){var t=wo(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=He(n)))return e.blockedOn=t,void _t(e.priority,(function(){St(n)}))}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function jt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Kt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=xo(n))&&kt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);we=r,n.target.dispatchEvent(r),we=null,t.shift()}return!0}function It(e,t,n){jt(e)&&n.delete(t)}function $t(){Ct=!1,null!==Ot&&jt(Ot)&&(Ot=null),null!==Tt&&jt(Tt)&&(Tt=null),null!==Nt&&jt(Nt)&&(Nt=null),Lt.forEach(It),Rt.forEach(It)}function Ut(e,t){e.blockedOn===t&&(e.blockedOn=null,Ct||(Ct=!0,o.unstable_scheduleCallback(o.unstable_NormalPriority,$t)))}function Vt(e){function t(t){return Ut(t,e)}if(0<Pt.length){Ut(Pt[0],e);for(var n=1;n<Pt.length;n++){var r=Pt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&Ut(Ot,e),null!==Tt&&Ut(Tt,e),null!==Nt&&Ut(Nt,e),Lt.forEach(t),Rt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Dt(n),null===n.blockedOn&&At.shift()}var Ht=w.ReactCurrentBatchConfig,Bt=!0;function Wt(e,t,n,r){var o=bt,a=Ht.transition;Ht.transition=null;try{bt=1,Qt(e,t,n,r)}finally{bt=o,Ht.transition=a}}function qt(e,t,n,r){var o=bt,a=Ht.transition;Ht.transition=null;try{bt=4,Qt(e,t,n,r)}finally{bt=o,Ht.transition=a}}function Qt(e,t,n,r){if(Bt){var o=Kt(e,t,n,r);if(null===o)Wr(e,t,r,Yt,n),Ft(e,r);else if(function(e,t,n,r,o){switch(t){case"focusin":return Ot=Mt(Ot,e,t,n,r,o),!0;case"dragenter":return Tt=Mt(Tt,e,t,n,r,o),!0;case"mouseover":return Nt=Mt(Nt,e,t,n,r,o),!0;case"pointerover":var a=o.pointerId;return Lt.set(a,Mt(Lt.get(a)||null,e,t,n,r,o)),!0;case"gotpointercapture":return a=o.pointerId,Rt.set(a,Mt(Rt.get(a)||null,e,t,n,r,o)),!0}return!1}(o,e,t,n,r))r.stopPropagation();else if(Ft(e,r),4&t&&-1<zt.indexOf(e)){for(;null!==o;){var a=xo(o);if(null!==a&&xt(a),null===(a=Kt(e,t,n,r))&&Wr(e,t,r,Yt,n),a===o)break;o=a}null!==o&&r.stopPropagation()}else Wr(e,t,r,null,n)}}var Yt=null;function Kt(e,t,n,r){if(Yt=null,null!==(e=wo(e=xe(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=He(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Yt=e,null}function Xt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Ze()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Gt=null,Zt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Zt,r=n.length,o="value"in Gt?Gt.value:Gt.textContent,a=o.length;for(e=0;e<r&&n[e]===o[e];e++);var i=r-e;for(t=1;t<=i&&n[r-t]===o[a-t];t++);return Jt=o.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function on(e){function t(t,n,r,o,a){for(var i in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=o,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(i)&&(t=e[i],this[i]=t?t(o):o[i]);return this.isDefaultPrevented=(null!=o.defaultPrevented?o.defaultPrevented:!1===o.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return D(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var an,ln,un,sn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},cn=on(sn),fn=D({},sn,{view:0,detail:0}),dn=on(fn),pn=D({},fn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:Cn,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==un&&(un&&"mousemove"===e.type?(an=e.screenX-un.screenX,ln=e.screenY-un.screenY):ln=an=0,un=e),an)},movementY:function(e){return"movementY"in e?e.movementY:ln}}),mn=on(pn),hn=on(D({},pn,{dataTransfer:0})),vn=on(D({},fn,{relatedTarget:0})),gn=on(D({},sn,{animationName:0,elapsedTime:0,pseudoElement:0})),yn=D({},sn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),bn=on(yn),wn=on(D({},sn,{data:0})),xn={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},kn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Sn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function En(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=Sn[e])&&!!t[e]}function Cn(){return En}var Pn=D({},fn,{key:function(e){if(e.key){var t=xn[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?kn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:Cn,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),On=on(Pn),Tn=on(D({},pn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),Nn=on(D({},fn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:Cn})),Ln=on(D({},sn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Rn=D({},pn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),An=on(Rn),zn=[9,13,27,32],Fn=c&&"CompositionEvent"in window,Mn=null;c&&"documentMode"in document&&(Mn=document.documentMode);var Dn=c&&"TextEvent"in window&&!Mn,jn=c&&(!Fn||Mn&&8<Mn&&11>=Mn),In=String.fromCharCode(32),$n=!1;function Un(e,t){switch(e){case"keyup":return-1!==zn.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Vn(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Hn=!1,Bn={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Wn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Bn[e.type]:"textarea"===t}function qn(e,t,n,r){Ce(r),0<(t=Qr(t,"onChange")).length&&(n=new cn("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Qn=null,Yn=null;function Kn(e){Ir(e,0)}function Xn(e){if(Q(ko(e)))return e}function Gn(e,t){if("change"===e)return t}var Zn=!1;if(c){var Jn;if(c){var er="oninput"in document;if(!er){var tr=document.createElement("div");tr.setAttribute("oninput","return;"),er="function"==typeof tr.oninput}Jn=er}else Jn=!1;Zn=Jn&&(!document.documentMode||9<document.documentMode)}function nr(){Qn&&(Qn.detachEvent("onpropertychange",rr),Yn=Qn=null)}function rr(e){if("value"===e.propertyName&&Xn(Yn)){var t=[];qn(t,Yn,e,xe(e)),Le(Kn,t)}}function or(e,t,n){"focusin"===e?(nr(),Yn=n,(Qn=t).attachEvent("onpropertychange",rr)):"focusout"===e&&nr()}function ar(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Xn(Yn)}function ir(e,t){if("click"===e)return Xn(t)}function lr(e,t){if("input"===e||"change"===e)return Xn(t)}var ur="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function sr(e,t){if(ur(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var o=n[r];if(!f.call(t,o)||!ur(e[o],t[o]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function fr(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function pr(){for(var e=window,t=Y();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=Y((e=t.contentWindow).document)}return t}function mr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function hr(e){var t=pr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&mr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var o=n.textContent.length,a=Math.min(r.start,o);r=void 0===r.end?a:Math.min(r.end,o),!e.extend&&a>r&&(o=r,r=a,a=o),o=fr(n,a);var i=fr(n,r);o&&i&&(1!==e.rangeCount||e.anchorNode!==o.node||e.anchorOffset!==o.offset||e.focusNode!==i.node||e.focusOffset!==i.offset)&&((t=t.createRange()).setStart(o.node,o.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(i.node,i.offset)):(t.setEnd(i.node,i.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var vr=c&&"documentMode"in document&&11>=document.documentMode,gr=null,yr=null,br=null,wr=!1;function xr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;wr||null==gr||gr!==Y(r)||(r="selectionStart"in(r=gr)&&mr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&sr(br,r)||(br=r,0<(r=Qr(yr,"onSelect")).length&&(t=new cn("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function kr(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var Sr={animationend:kr("Animation","AnimationEnd"),animationiteration:kr("Animation","AnimationIteration"),animationstart:kr("Animation","AnimationStart"),transitionend:kr("Transition","TransitionEnd")},Er={},_r={};function Cr(e){if(Er[e])return Er[e];if(!Sr[e])return e;var t,n=Sr[e];for(t in n)if(n.hasOwnProperty(t)&&t in _r)return Er[e]=n[t];return e}c&&(_r=document.createElement("div").style,"AnimationEvent"in window||(delete Sr.animationend.animation,delete Sr.animationiteration.animation,delete Sr.animationstart.animation),"TransitionEvent"in window||delete Sr.transitionend.transition);var Pr=Cr("animationend"),Or=Cr("animationiteration"),Tr=Cr("animationstart"),Nr=Cr("transitionend"),Lr=new Map,Rr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Ar(e,t){Lr.set(e,t),u(t,[e])}for(var zr=0;zr<Rr.length;zr++){var Fr=Rr[zr];Ar(Fr.toLowerCase(),"on"+(Fr[0].toUpperCase()+Fr.slice(1)))}Ar(Pr,"onAnimationEnd"),Ar(Or,"onAnimationIteration"),Ar(Tr,"onAnimationStart"),Ar("dblclick","onDoubleClick"),Ar("focusin","onFocus"),Ar("focusout","onBlur"),Ar(Nr,"onTransitionEnd"),s("onMouseEnter",["mouseout","mouseover"]),s("onMouseLeave",["mouseout","mouseover"]),s("onPointerEnter",["pointerout","pointerover"]),s("onPointerLeave",["pointerout","pointerover"]),u("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),u("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),u("onBeforeInput",["compositionend","keypress","textInput","paste"]),u("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),u("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Mr="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Dr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Mr));function jr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,o,i,l,u,s){if(Ue.apply(this,arguments),Me){if(!Me)throw Error(a(198));var c=De;Me=!1,De=null,je||(je=!0,Ie=c)}}(r,t,void 0,e),e.currentTarget=null}function Ir(e,t){t=0!=(4&t);for(var n=0;n<e.length;n++){var r=e[n],o=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var i=r.length-1;0<=i;i--){var l=r[i],u=l.instance,s=l.currentTarget;if(l=l.listener,u!==a&&o.isPropagationStopped())break e;jr(o,l,s),a=u}else for(i=0;i<r.length;i++){if(u=(l=r[i]).instance,s=l.currentTarget,l=l.listener,u!==a&&o.isPropagationStopped())break e;jr(o,l,s),a=u}}}if(je)throw e=Ie,je=!1,Ie=null,e}function $r(e,t){var n=t[go];void 0===n&&(n=t[go]=new Set);var r=e+"__bubble";n.has(r)||(Br(t,e,2,!1),n.add(r))}function Ur(e,t,n){var r=0;t&&(r|=4),Br(n,e,r,t)}var Vr="_reactListening"+Math.random().toString(36).slice(2);function Hr(e){if(!e[Vr]){e[Vr]=!0,i.forEach((function(t){"selectionchange"!==t&&(Dr.has(t)||Ur(t,!1,e),Ur(t,!0,e))}));var t=9===e.nodeType?e:e.ownerDocument;null===t||t[Vr]||(t[Vr]=!0,Ur("selectionchange",!1,t))}}function Br(e,t,n,r){switch(Xt(t)){case 1:var o=Wt;break;case 4:o=qt;break;default:o=Qt}n=o.bind(null,t,n,e),o=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(o=!0),r?void 0!==o?e.addEventListener(t,n,{capture:!0,passive:o}):e.addEventListener(t,n,!0):void 0!==o?e.addEventListener(t,n,{passive:o}):e.addEventListener(t,n,!1)}function Wr(e,t,n,r,o){var a=r;if(0==(1&t)&&0==(2&t)&&null!==r)e:for(;;){if(null===r)return;var i=r.tag;if(3===i||4===i){var l=r.stateNode.containerInfo;if(l===o||8===l.nodeType&&l.parentNode===o)break;if(4===i)for(i=r.return;null!==i;){var u=i.tag;if((3===u||4===u)&&((u=i.stateNode.containerInfo)===o||8===u.nodeType&&u.parentNode===o))return;i=i.return}for(;null!==l;){if(null===(i=wo(l)))return;if(5===(u=i.tag)||6===u){r=a=i;continue e}l=l.parentNode}}r=r.return}Le((function(){var r=a,o=xe(n),i=[];e:{var l=Lr.get(e);if(void 0!==l){var u=cn,s=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":u=On;break;case"focusin":s="focus",u=vn;break;case"focusout":s="blur",u=vn;break;case"beforeblur":case"afterblur":u=vn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":u=mn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":u=hn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":u=Nn;break;case Pr:case Or:case Tr:u=gn;break;case Nr:u=Ln;break;case"scroll":u=dn;break;case"wheel":u=An;break;case"copy":case"cut":case"paste":u=bn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":u=Tn}var c=0!=(4&t),f=!c&&"scroll"===e,d=c?null!==l?l+"Capture":null:l;c=[];for(var p,m=r;null!==m;){var h=(p=m).stateNode;if(5===p.tag&&null!==h&&(p=h,null!==d&&null!=(h=Re(m,d))&&c.push(qr(m,h,p))),f)break;m=m.return}0<c.length&&(l=new u(l,s,null,n,o),i.push({event:l,listeners:c}))}}if(0==(7&t)){if(u="mouseout"===e||"pointerout"===e,(!(l="mouseover"===e||"pointerover"===e)||n===we||!(s=n.relatedTarget||n.fromElement)||!wo(s)&&!s[vo])&&(u||l)&&(l=o.window===o?o:(l=o.ownerDocument)?l.defaultView||l.parentWindow:window,u?(u=r,null!==(s=(s=n.relatedTarget||n.toElement)?wo(s):null)&&(s!==(f=Ve(s))||5!==s.tag&&6!==s.tag)&&(s=null)):(u=null,s=r),u!==s)){if(c=mn,h="onMouseLeave",d="onMouseEnter",m="mouse","pointerout"!==e&&"pointerover"!==e||(c=Tn,h="onPointerLeave",d="onPointerEnter",m="pointer"),f=null==u?l:ko(u),p=null==s?l:ko(s),(l=new c(h,m+"leave",u,n,o)).target=f,l.relatedTarget=p,h=null,wo(o)===r&&((c=new c(d,m+"enter",s,n,o)).target=p,c.relatedTarget=f,h=c),f=h,u&&s)e:{for(d=s,m=0,p=c=u;p;p=Yr(p))m++;for(p=0,h=d;h;h=Yr(h))p++;for(;0<m-p;)c=Yr(c),m--;for(;0<p-m;)d=Yr(d),p--;for(;m--;){if(c===d||null!==d&&c===d.alternate)break e;c=Yr(c),d=Yr(d)}c=null}else c=null;null!==u&&Kr(i,l,u,c,!1),null!==s&&null!==f&&Kr(i,f,s,c,!0)}if("select"===(u=(l=r?ko(r):window).nodeName&&l.nodeName.toLowerCase())||"input"===u&&"file"===l.type)var v=Gn;else if(Wn(l))if(Zn)v=lr;else{v=ar;var g=or}else(u=l.nodeName)&&"input"===u.toLowerCase()&&("checkbox"===l.type||"radio"===l.type)&&(v=ir);switch(v&&(v=v(e,r))?qn(i,v,n,o):(g&&g(e,l,r),"focusout"===e&&(g=l._wrapperState)&&g.controlled&&"number"===l.type&&ee(l,"number",l.value)),g=r?ko(r):window,e){case"focusin":(Wn(g)||"true"===g.contentEditable)&&(gr=g,yr=r,br=null);break;case"focusout":br=yr=gr=null;break;case"mousedown":wr=!0;break;case"contextmenu":case"mouseup":case"dragend":wr=!1,xr(i,n,o);break;case"selectionchange":if(vr)break;case"keydown":case"keyup":xr(i,n,o)}var y;if(Fn)e:{switch(e){case"compositionstart":var b="onCompositionStart";break e;case"compositionend":b="onCompositionEnd";break e;case"compositionupdate":b="onCompositionUpdate";break e}b=void 0}else Hn?Un(e,n)&&(b="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(b="onCompositionStart");b&&(jn&&"ko"!==n.locale&&(Hn||"onCompositionStart"!==b?"onCompositionEnd"===b&&Hn&&(y=en()):(Zt="value"in(Gt=o)?Gt.value:Gt.textContent,Hn=!0)),0<(g=Qr(r,b)).length&&(b=new wn(b,e,null,n,o),i.push({event:b,listeners:g}),(y||null!==(y=Vn(n)))&&(b.data=y))),(y=Dn?function(e,t){switch(e){case"compositionend":return Vn(t);case"keypress":return 32!==t.which?null:($n=!0,In);case"textInput":return(e=t.data)===In&&$n?null:e;default:return null}}(e,n):function(e,t){if(Hn)return"compositionend"===e||!Fn&&Un(e,t)?(e=en(),Jt=Zt=Gt=null,Hn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return jn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Qr(r,"onBeforeInput")).length&&(o=new wn("onBeforeInput","beforeinput",null,n,o),i.push({event:o,listeners:r}),o.data=y)}Ir(i,t)}))}function qr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Qr(e,t){for(var n=t+"Capture",r=[];null!==e;){var o=e,a=o.stateNode;5===o.tag&&null!==a&&(o=a,null!=(a=Re(e,n))&&r.unshift(qr(e,a,o)),null!=(a=Re(e,t))&&r.push(qr(e,a,o))),e=e.return}return r}function Yr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Kr(e,t,n,r,o){for(var a=t._reactName,i=[];null!==n&&n!==r;){var l=n,u=l.alternate,s=l.stateNode;if(null!==u&&u===r)break;5===l.tag&&null!==s&&(l=s,o?null!=(u=Re(n,a))&&i.unshift(qr(n,u,l)):o||null!=(u=Re(n,a))&&i.push(qr(n,u,l))),n=n.return}0!==i.length&&e.push({event:t,listeners:i})}var Xr=/\r\n?/g,Gr=/\u0000|\uFFFD/g;function Zr(e){return("string"==typeof e?e:""+e).replace(Xr,"\n").replace(Gr,"")}function Jr(e,t,n){if(t=Zr(t),Zr(e)!==t&&n)throw Error(a(425))}function eo(){}var to=null,no=null;function ro(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var oo="function"==typeof setTimeout?setTimeout:void 0,ao="function"==typeof clearTimeout?clearTimeout:void 0,io="function"==typeof Promise?Promise:void 0,lo="function"==typeof queueMicrotask?queueMicrotask:void 0!==io?function(e){return io.resolve(null).then(e).catch(uo)}:oo;function uo(e){setTimeout((function(){throw e}))}function so(e,t){var n=t,r=0;do{var o=n.nextSibling;if(e.removeChild(n),o&&8===o.nodeType)if("/$"===(n=o.data)){if(0===r)return e.removeChild(o),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=o}while(n);Vt(t)}function co(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function fo(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var po=Math.random().toString(36).slice(2),mo="__reactFiber$"+po,ho="__reactProps$"+po,vo="__reactContainer$"+po,go="__reactEvents$"+po,yo="__reactListeners$"+po,bo="__reactHandles$"+po;function wo(e){var t=e[mo];if(t)return t;for(var n=e.parentNode;n;){if(t=n[vo]||n[mo]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=fo(e);null!==e;){if(n=e[mo])return n;e=fo(e)}return t}n=(e=n).parentNode}return null}function xo(e){return!(e=e[mo]||e[vo])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function ko(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function So(e){return e[ho]||null}var Eo=[],_o=-1;function Co(e){return{current:e}}function Po(e){0>_o||(e.current=Eo[_o],Eo[_o]=null,_o--)}function Oo(e,t){_o++,Eo[_o]=e.current,e.current=t}var To={},No=Co(To),Lo=Co(!1),Ro=To;function Ao(e,t){var n=e.type.contextTypes;if(!n)return To;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var o,a={};for(o in n)a[o]=t[o];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function zo(e){return null!=e.childContextTypes}function Fo(){Po(Lo),Po(No)}function Mo(e,t,n){if(No.current!==To)throw Error(a(168));Oo(No,t),Oo(Lo,n)}function Do(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var o in r=r.getChildContext())if(!(o in t))throw Error(a(108,H(e)||"Unknown",o));return D({},n,r)}function jo(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||To,Ro=No.current,Oo(No,e),Oo(Lo,Lo.current),!0}function Io(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Do(e,t,Ro),r.__reactInternalMemoizedMergedChildContext=e,Po(Lo),Po(No),Oo(No,e)):Po(Lo),Oo(Lo,n)}var $o=null,Uo=!1,Vo=!1;function Ho(e){null===$o?$o=[e]:$o.push(e)}function Bo(){if(!Vo&&null!==$o){Vo=!0;var e=0,t=bt;try{var n=$o;for(bt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}$o=null,Uo=!1}catch(t){throw null!==$o&&($o=$o.slice(e+1)),Qe(Je,Bo),t}finally{bt=t,Vo=!1}}return null}var Wo=[],qo=0,Qo=null,Yo=0,Ko=[],Xo=0,Go=null,Zo=1,Jo="";function ea(e,t){Wo[qo++]=Yo,Wo[qo++]=Qo,Qo=e,Yo=t}function ta(e,t,n){Ko[Xo++]=Zo,Ko[Xo++]=Jo,Ko[Xo++]=Go,Go=e;var r=Zo;e=Jo;var o=32-it(r)-1;r&=~(1<<o),n+=1;var a=32-it(t)+o;if(30<a){var i=o-o%5;a=(r&(1<<i)-1).toString(32),r>>=i,o-=i,Zo=1<<32-it(t)+o|n<<o|r,Jo=a+e}else Zo=1<<a|n<<o|r,Jo=e}function na(e){null!==e.return&&(ea(e,1),ta(e,1,0))}function ra(e){for(;e===Qo;)Qo=Wo[--qo],Wo[qo]=null,Yo=Wo[--qo],Wo[qo]=null;for(;e===Go;)Go=Ko[--Xo],Ko[Xo]=null,Jo=Ko[--Xo],Ko[Xo]=null,Zo=Ko[--Xo],Ko[Xo]=null}var oa=null,aa=null,ia=!1,la=null;function ua(e,t){var n=As(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,oa=e,aa=co(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,oa=e,aa=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Go?{id:Zo,overflow:Jo}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=As(18,null,null,0)).stateNode=t,n.return=e,e.child=n,oa=e,aa=null,!0);default:return!1}}function ca(e){return 0!=(1&e.mode)&&0==(128&e.flags)}function fa(e){if(ia){var t=aa;if(t){var n=t;if(!sa(e,t)){if(ca(e))throw Error(a(418));t=co(n.nextSibling);var r=oa;t&&sa(e,t)?ua(r,n):(e.flags=-4097&e.flags|2,ia=!1,oa=e)}}else{if(ca(e))throw Error(a(418));e.flags=-4097&e.flags|2,ia=!1,oa=e}}}function da(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;oa=e}function pa(e){if(e!==oa)return!1;if(!ia)return da(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ro(e.type,e.memoizedProps)),t&&(t=aa)){if(ca(e))throw ma(),Error(a(418));for(;t;)ua(e,t),t=co(t.nextSibling)}if(da(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){aa=co(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}aa=null}}else aa=oa?co(e.stateNode.nextSibling):null;return!0}function ma(){for(var e=aa;e;)e=co(e.nextSibling)}function ha(){aa=oa=null,ia=!1}function va(e){null===la?la=[e]:la.push(e)}var ga=w.ReactCurrentBatchConfig;function ya(e,t){if(e&&e.defaultProps){for(var n in t=D({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}var ba=Co(null),wa=null,xa=null,ka=null;function Sa(){ka=xa=wa=null}function Ea(e){var t=ba.current;Po(ba),e._currentValue=t}function _a(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function Ca(e,t){wa=e,ka=xa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!=(e.lanes&t)&&(xl=!0),e.firstContext=null)}function Pa(e){var t=e._currentValue;if(ka!==e)if(e={context:e,memoizedValue:t,next:null},null===xa){if(null===wa)throw Error(a(308));xa=e,wa.dependencies={lanes:0,firstContext:e}}else xa=xa.next=e;return t}var Oa=null;function Ta(e){null===Oa?Oa=[e]:Oa.push(e)}function Na(e,t,n,r){var o=t.interleaved;return null===o?(n.next=n,Ta(t)):(n.next=o.next,o.next=n),t.interleaved=n,La(e,r)}function La(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ra=!1;function Aa(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function za(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function Fa(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Ma(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,0!=(2&Nu)){var o=r.pending;return null===o?t.next=t:(t.next=o.next,o.next=t),r.pending=t,La(e,n)}return null===(o=r.interleaved)?(t.next=t,Ta(r)):(t.next=o.next,o.next=t),r.interleaved=t,La(e,n)}function Da(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,0!=(4194240&n))){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}function ja(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var o=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var i={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?o=a=i:a=a.next=i,n=n.next}while(null!==n);null===a?o=a=t:a=a.next=t}else o=a=t;return n={baseState:r.baseState,firstBaseUpdate:o,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Ia(e,t,n,r){var o=e.updateQueue;Ra=!1;var a=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(null!==l){o.shared.pending=null;var u=l,s=u.next;u.next=null,null===i?a=s:i.next=s,i=u;var c=e.alternate;null!==c&&(l=(c=c.updateQueue).lastBaseUpdate)!==i&&(null===l?c.firstBaseUpdate=s:l.next=s,c.lastBaseUpdate=u)}if(null!==a){var f=o.baseState;for(i=0,c=s=u=null,l=a;;){var d=l.lane,p=l.eventTime;if((r&d)===d){null!==c&&(c=c.next={eventTime:p,lane:0,tag:l.tag,payload:l.payload,callback:l.callback,next:null});e:{var m=e,h=l;switch(d=t,p=n,h.tag){case 1:if("function"==typeof(m=h.payload)){f=m.call(p,f,d);break e}f=m;break e;case 3:m.flags=-65537&m.flags|128;case 0:if(null==(d="function"==typeof(m=h.payload)?m.call(p,f,d):m))break e;f=D({},f,d);break e;case 2:Ra=!0}}null!==l.callback&&0!==l.lane&&(e.flags|=64,null===(d=o.effects)?o.effects=[l]:d.push(l))}else p={eventTime:p,lane:d,tag:l.tag,payload:l.payload,callback:l.callback,next:null},null===c?(s=c=p,u=f):c=c.next=p,i|=d;if(null===(l=l.next)){if(null===(l=o.shared.pending))break;l=(d=l).next,d.next=null,o.lastBaseUpdate=d,o.shared.pending=null}}if(null===c&&(u=f),o.baseState=u,o.firstBaseUpdate=s,o.lastBaseUpdate=c,null!==(t=o.shared.interleaved)){o=t;do{i|=o.lane,o=o.next}while(o!==t)}else null===a&&(o.shared.lanes=0);ju|=i,e.lanes=i,e.memoizedState=f}}function $a(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],o=r.callback;if(null!==o){if(r.callback=null,r=n,"function"!=typeof o)throw Error(a(191,o));o.call(r)}}}var Ua=(new r.Component).refs;function Va(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:D({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var Ha={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ns(),o=rs(e),a=Fa(r,o);a.payload=t,null!=n&&(a.callback=n),null!==(t=Ma(e,a,o))&&(os(t,e,o,r),Da(t,e,o))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ns(),o=rs(e),a=Fa(r,o);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Ma(e,a,o))&&(os(t,e,o,r),Da(t,e,o))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ns(),r=rs(e),o=Fa(n,r);o.tag=2,null!=t&&(o.callback=t),null!==(t=Ma(e,o,r))&&(os(t,e,r,n),Da(t,e,r))}};function Ba(e,t,n,r,o,a,i){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,i):!(t.prototype&&t.prototype.isPureReactComponent&&sr(n,r)&&sr(o,a))}function Wa(e,t,n){var r=!1,o=To,a=t.contextType;return"object"==typeof a&&null!==a?a=Pa(a):(o=zo(t)?Ro:No.current,a=(r=null!=(r=t.contextTypes))?Ao(e,o):To),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=Ha,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=o,e.__reactInternalMemoizedMaskedChildContext=a),t}function qa(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&Ha.enqueueReplaceState(t,t.state,null)}function Qa(e,t,n,r){var o=e.stateNode;o.props=n,o.state=e.memoizedState,o.refs=Ua,Aa(e);var a=t.contextType;"object"==typeof a&&null!==a?o.context=Pa(a):(a=zo(t)?Ro:No.current,o.context=Ao(e,a)),o.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(Va(e,t,a,n),o.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof o.getSnapshotBeforeUpdate||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||(t=o.state,"function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount(),t!==o.state&&Ha.enqueueReplaceState(o,o.state,null),Ia(e,n,o,r),o.state=e.memoizedState),"function"==typeof o.componentDidMount&&(e.flags|=4194308)}function Ya(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var o=r,i=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===i?t.ref:(t=function(e){var t=o.refs;t===Ua&&(t=o.refs={}),null===e?delete t[i]:t[i]=e},t._stringRef=i,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function Ka(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function Xa(e){return(0,e._init)(e._payload)}function Ga(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function o(e,t){return(e=Fs(e,t)).index=0,e.sibling=null,e}function i(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function l(t){return e&&null===t.alternate&&(t.flags|=2),t}function u(e,t,n,r){return null===t||6!==t.tag?((t=Is(n,e.mode,r)).return=e,t):((t=o(t,n)).return=e,t)}function s(e,t,n,r){var a=n.type;return a===S?f(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===R&&Xa(a)===t.type)?((r=o(t,n.props)).ref=Ya(e,t,n),r.return=e,r):((r=Ms(n.type,n.key,n.props,null,e.mode,r)).ref=Ya(e,t,n),r.return=e,r)}function c(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=$s(n,e.mode,r)).return=e,t):((t=o(t,n.children||[])).return=e,t)}function f(e,t,n,r,a){return null===t||7!==t.tag?((t=Ds(n,e.mode,r,a)).return=e,t):((t=o(t,n)).return=e,t)}function d(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Is(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case x:return(n=Ms(t.type,t.key,t.props,null,e.mode,n)).ref=Ya(e,null,t),n.return=e,n;case k:return(t=$s(t,e.mode,n)).return=e,t;case R:return d(e,(0,t._init)(t._payload),n)}if(te(t)||F(t))return(t=Ds(t,e.mode,n,null)).return=e,t;Ka(e,t)}return null}function p(e,t,n,r){var o=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==o?null:u(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case x:return n.key===o?s(e,t,n,r):null;case k:return n.key===o?c(e,t,n,r):null;case R:return p(e,t,(o=n._init)(n._payload),r)}if(te(n)||F(n))return null!==o?null:f(e,t,n,r,null);Ka(e,n)}return null}function m(e,t,n,r,o){if("string"==typeof r&&""!==r||"number"==typeof r)return u(t,e=e.get(n)||null,""+r,o);if("object"==typeof r&&null!==r){switch(r.$$typeof){case x:return s(t,e=e.get(null===r.key?n:r.key)||null,r,o);case k:return c(t,e=e.get(null===r.key?n:r.key)||null,r,o);case R:return m(e,t,n,(0,r._init)(r._payload),o)}if(te(r)||F(r))return f(t,e=e.get(n)||null,r,o,null);Ka(t,r)}return null}function h(o,a,l,u){for(var s=null,c=null,f=a,h=a=0,v=null;null!==f&&h<l.length;h++){f.index>h?(v=f,f=null):v=f.sibling;var g=p(o,f,l[h],u);if(null===g){null===f&&(f=v);break}e&&f&&null===g.alternate&&t(o,f),a=i(g,a,h),null===c?s=g:c.sibling=g,c=g,f=v}if(h===l.length)return n(o,f),ia&&ea(o,h),s;if(null===f){for(;h<l.length;h++)null!==(f=d(o,l[h],u))&&(a=i(f,a,h),null===c?s=f:c.sibling=f,c=f);return ia&&ea(o,h),s}for(f=r(o,f);h<l.length;h++)null!==(v=m(f,o,h,l[h],u))&&(e&&null!==v.alternate&&f.delete(null===v.key?h:v.key),a=i(v,a,h),null===c?s=v:c.sibling=v,c=v);return e&&f.forEach((function(e){return t(o,e)})),ia&&ea(o,h),s}function v(o,l,u,s){var c=F(u);if("function"!=typeof c)throw Error(a(150));if(null==(u=c.call(u)))throw Error(a(151));for(var f=c=null,h=l,v=l=0,g=null,y=u.next();null!==h&&!y.done;v++,y=u.next()){h.index>v?(g=h,h=null):g=h.sibling;var b=p(o,h,y.value,s);if(null===b){null===h&&(h=g);break}e&&h&&null===b.alternate&&t(o,h),l=i(b,l,v),null===f?c=b:f.sibling=b,f=b,h=g}if(y.done)return n(o,h),ia&&ea(o,v),c;if(null===h){for(;!y.done;v++,y=u.next())null!==(y=d(o,y.value,s))&&(l=i(y,l,v),null===f?c=y:f.sibling=y,f=y);return ia&&ea(o,v),c}for(h=r(o,h);!y.done;v++,y=u.next())null!==(y=m(h,o,v,y.value,s))&&(e&&null!==y.alternate&&h.delete(null===y.key?v:y.key),l=i(y,l,v),null===f?c=y:f.sibling=y,f=y);return e&&h.forEach((function(e){return t(o,e)})),ia&&ea(o,v),c}return function e(r,a,i,u){if("object"==typeof i&&null!==i&&i.type===S&&null===i.key&&(i=i.props.children),"object"==typeof i&&null!==i){switch(i.$$typeof){case x:e:{for(var s=i.key,c=a;null!==c;){if(c.key===s){if((s=i.type)===S){if(7===c.tag){n(r,c.sibling),(a=o(c,i.props.children)).return=r,r=a;break e}}else if(c.elementType===s||"object"==typeof s&&null!==s&&s.$$typeof===R&&Xa(s)===c.type){n(r,c.sibling),(a=o(c,i.props)).ref=Ya(r,c,i),a.return=r,r=a;break e}n(r,c);break}t(r,c),c=c.sibling}i.type===S?((a=Ds(i.props.children,r.mode,u,i.key)).return=r,r=a):((u=Ms(i.type,i.key,i.props,null,r.mode,u)).ref=Ya(r,a,i),u.return=r,r=u)}return l(r);case k:e:{for(c=i.key;null!==a;){if(a.key===c){if(4===a.tag&&a.stateNode.containerInfo===i.containerInfo&&a.stateNode.implementation===i.implementation){n(r,a.sibling),(a=o(a,i.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=$s(i,r.mode,u)).return=r,r=a}return l(r);case R:return e(r,a,(c=i._init)(i._payload),u)}if(te(i))return h(r,a,i,u);if(F(i))return v(r,a,i,u);Ka(r,i)}return"string"==typeof i&&""!==i||"number"==typeof i?(i=""+i,null!==a&&6===a.tag?(n(r,a.sibling),(a=o(a,i)).return=r,r=a):(n(r,a),(a=Is(i,r.mode,u)).return=r,r=a),l(r)):n(r,a)}}var Za=Ga(!0),Ja=Ga(!1),ei={},ti=Co(ei),ni=Co(ei),ri=Co(ei);function oi(e){if(e===ei)throw Error(a(174));return e}function ai(e,t){switch(Oo(ri,t),Oo(ni,e),Oo(ti,ei),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:ue(null,"");break;default:t=ue(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Po(ti),Oo(ti,t)}function ii(){Po(ti),Po(ni),Po(ri)}function li(e){oi(ri.current);var t=oi(ti.current),n=ue(t,e.type);t!==n&&(Oo(ni,e),Oo(ti,n))}function ui(e){ni.current===e&&(Po(ti),Po(ni))}var si=Co(0);function ci(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(0!=(128&t.flags))return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var fi=[];function di(){for(var e=0;e<fi.length;e++)fi[e]._workInProgressVersionPrimary=null;fi.length=0}var pi=w.ReactCurrentDispatcher,mi=w.ReactCurrentBatchConfig,hi=0,vi=null,gi=null,yi=null,bi=!1,wi=!1,xi=0,ki=0;function Si(){throw Error(a(321))}function Ei(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!ur(e[n],t[n]))return!1;return!0}function _i(e,t,n,r,o,i){if(hi=i,vi=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,pi.current=null===e||null===e.memoizedState?ul:sl,e=n(r,o),wi){i=0;do{if(wi=!1,xi=0,25<=i)throw Error(a(301));i+=1,yi=gi=null,t.updateQueue=null,pi.current=cl,e=n(r,o)}while(wi)}if(pi.current=ll,t=null!==gi&&null!==gi.next,hi=0,yi=gi=vi=null,bi=!1,t)throw Error(a(300));return e}function Ci(){var e=0!==xi;return xi=0,e}function Pi(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===yi?vi.memoizedState=yi=e:yi=yi.next=e,yi}function Oi(){if(null===gi){var e=vi.alternate;e=null!==e?e.memoizedState:null}else e=gi.next;var t=null===yi?vi.memoizedState:yi.next;if(null!==t)yi=t,gi=e;else{if(null===e)throw Error(a(310));e={memoizedState:(gi=e).memoizedState,baseState:gi.baseState,baseQueue:gi.baseQueue,queue:gi.queue,next:null},null===yi?vi.memoizedState=yi=e:yi=yi.next=e}return yi}function Ti(e,t){return"function"==typeof t?t(e):t}function Ni(e){var t=Oi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=gi,o=r.baseQueue,i=n.pending;if(null!==i){if(null!==o){var l=o.next;o.next=i.next,i.next=l}r.baseQueue=o=i,n.pending=null}if(null!==o){i=o.next,r=r.baseState;var u=l=null,s=null,c=i;do{var f=c.lane;if((hi&f)===f)null!==s&&(s=s.next={lane:0,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),r=c.hasEagerState?c.eagerState:e(r,c.action);else{var d={lane:f,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null};null===s?(u=s=d,l=r):s=s.next=d,vi.lanes|=f,ju|=f}c=c.next}while(null!==c&&c!==i);null===s?l=r:s.next=u,ur(r,t.memoizedState)||(xl=!0),t.memoizedState=r,t.baseState=l,t.baseQueue=s,n.lastRenderedState=r}if(null!==(e=n.interleaved)){o=e;do{i=o.lane,vi.lanes|=i,ju|=i,o=o.next}while(o!==e)}else null===o&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function Li(e){var t=Oi(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,o=n.pending,i=t.memoizedState;if(null!==o){n.pending=null;var l=o=o.next;do{i=e(i,l.action),l=l.next}while(l!==o);ur(i,t.memoizedState)||(xl=!0),t.memoizedState=i,null===t.baseQueue&&(t.baseState=i),n.lastRenderedState=i}return[i,r]}function Ri(){}function Ai(e,t){var n=vi,r=Oi(),o=t(),i=!ur(r.memoizedState,o);if(i&&(r.memoizedState=o,xl=!0),r=r.queue,Wi(Mi.bind(null,n,r,e),[e]),r.getSnapshot!==t||i||null!==yi&&1&yi.memoizedState.tag){if(n.flags|=2048,$i(9,Fi.bind(null,n,r,o,t),void 0,null),null===Lu)throw Error(a(349));0!=(30&hi)||zi(n,t,o)}return o}function zi(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=vi.updateQueue)?(t={lastEffect:null,stores:null},vi.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function Fi(e,t,n,r){t.value=n,t.getSnapshot=r,Di(t)&&ji(e)}function Mi(e,t,n){return n((function(){Di(t)&&ji(e)}))}function Di(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!ur(e,n)}catch(e){return!0}}function ji(e){var t=La(e,1);null!==t&&os(t,e,1,-1)}function Ii(e){var t=Pi();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Ti,lastRenderedState:e},t.queue=e,e=e.dispatch=rl.bind(null,vi,e),[t.memoizedState,e]}function $i(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=vi.updateQueue)?(t={lastEffect:null,stores:null},vi.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Ui(){return Oi().memoizedState}function Vi(e,t,n,r){var o=Pi();vi.flags|=e,o.memoizedState=$i(1|t,n,void 0,void 0===r?null:r)}function Hi(e,t,n,r){var o=Oi();r=void 0===r?null:r;var a=void 0;if(null!==gi){var i=gi.memoizedState;if(a=i.destroy,null!==r&&Ei(r,i.deps))return void(o.memoizedState=$i(t,n,a,r))}vi.flags|=e,o.memoizedState=$i(1|t,n,a,r)}function Bi(e,t){return Vi(8390656,8,e,t)}function Wi(e,t){return Hi(2048,8,e,t)}function qi(e,t){return Hi(4,2,e,t)}function Qi(e,t){return Hi(4,4,e,t)}function Yi(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ki(e,t,n){return n=null!=n?n.concat([e]):null,Hi(4,4,Yi.bind(null,t,e),n)}function Xi(){}function Gi(e,t){var n=Oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ei(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Zi(e,t){var n=Oi();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&Ei(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Ji(e,t,n){return 0==(21&hi)?(e.baseState&&(e.baseState=!1,xl=!0),e.memoizedState=n):(ur(n,t)||(n=ht(),vi.lanes|=n,ju|=n,e.baseState=!0),t)}function el(e,t){var n=bt;bt=0!==n&&4>n?n:4,e(!0);var r=mi.transition;mi.transition={};try{e(!1),t()}finally{bt=n,mi.transition=r}}function tl(){return Oi().memoizedState}function nl(e,t,n){var r=rs(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},ol(e)?al(t,n):null!==(n=Na(e,t,n,r))&&(os(n,e,r,ns()),il(n,t,r))}function rl(e,t,n){var r=rs(e),o={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(ol(e))al(t,o);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var i=t.lastRenderedState,l=a(i,n);if(o.hasEagerState=!0,o.eagerState=l,ur(l,i)){var u=t.interleaved;return null===u?(o.next=o,Ta(t)):(o.next=u.next,u.next=o),void(t.interleaved=o)}}catch(e){}null!==(n=Na(e,t,o,r))&&(os(n,e,r,o=ns()),il(n,t,r))}}function ol(e){var t=e.alternate;return e===vi||null!==t&&t===vi}function al(e,t){wi=bi=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function il(e,t,n){if(0!=(4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,yt(e,n)}}var ll={readContext:Pa,useCallback:Si,useContext:Si,useEffect:Si,useImperativeHandle:Si,useInsertionEffect:Si,useLayoutEffect:Si,useMemo:Si,useReducer:Si,useRef:Si,useState:Si,useDebugValue:Si,useDeferredValue:Si,useTransition:Si,useMutableSource:Si,useSyncExternalStore:Si,useId:Si,unstable_isNewReconciler:!1},ul={readContext:Pa,useCallback:function(e,t){return Pi().memoizedState=[e,void 0===t?null:t],e},useContext:Pa,useEffect:Bi,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Vi(4194308,4,Yi.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Vi(4194308,4,e,t)},useInsertionEffect:function(e,t){return Vi(4,2,e,t)},useMemo:function(e,t){var n=Pi();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=Pi();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=nl.bind(null,vi,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},Pi().memoizedState=e},useState:Ii,useDebugValue:Xi,useDeferredValue:function(e){return Pi().memoizedState=e},useTransition:function(){var e=Ii(!1),t=e[0];return e=el.bind(null,e[1]),Pi().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=vi,o=Pi();if(ia){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===Lu)throw Error(a(349));0!=(30&hi)||zi(r,t,n)}o.memoizedState=n;var i={value:n,getSnapshot:t};return o.queue=i,Bi(Mi.bind(null,r,i,e),[e]),r.flags|=2048,$i(9,Fi.bind(null,r,i,n,t),void 0,null),n},useId:function(){var e=Pi(),t=Lu.identifierPrefix;if(ia){var n=Jo;t=":"+t+"R"+(n=(Zo&~(1<<32-it(Zo)-1)).toString(32)+n),0<(n=xi++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=ki++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},sl={readContext:Pa,useCallback:Gi,useContext:Pa,useEffect:Wi,useImperativeHandle:Ki,useInsertionEffect:qi,useLayoutEffect:Qi,useMemo:Zi,useReducer:Ni,useRef:Ui,useState:function(){return Ni(Ti)},useDebugValue:Xi,useDeferredValue:function(e){return Ji(Oi(),gi.memoizedState,e)},useTransition:function(){return[Ni(Ti)[0],Oi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ai,useId:tl,unstable_isNewReconciler:!1},cl={readContext:Pa,useCallback:Gi,useContext:Pa,useEffect:Wi,useImperativeHandle:Ki,useInsertionEffect:qi,useLayoutEffect:Qi,useMemo:Zi,useReducer:Li,useRef:Ui,useState:function(){return Li(Ti)},useDebugValue:Xi,useDeferredValue:function(e){var t=Oi();return null===gi?t.memoizedState=e:Ji(t,gi.memoizedState,e)},useTransition:function(){return[Li(Ti)[0],Oi().memoizedState]},useMutableSource:Ri,useSyncExternalStore:Ai,useId:tl,unstable_isNewReconciler:!1};function fl(e,t){try{var n="",r=t;do{n+=U(r),r=r.return}while(r);var o=n}catch(e){o="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:o,digest:null}}function dl(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function pl(e,t){try{console.error(t.value)}catch(e){setTimeout((function(){throw e}))}}var ml="function"==typeof WeakMap?WeakMap:Map;function hl(e,t,n){(n=Fa(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){qu||(qu=!0,Qu=r),pl(0,t)},n}function vl(e,t,n){(n=Fa(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var o=t.value;n.payload=function(){return r(o)},n.callback=function(){pl(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){pl(0,t),"function"!=typeof r&&(null===Yu?Yu=new Set([this]):Yu.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function gl(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new ml;var o=new Set;r.set(t,o)}else void 0===(o=r.get(t))&&(o=new Set,r.set(t,o));o.has(n)||(o.add(n),e=Ps.bind(null,e,t,n),t.then(e,e))}function yl(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function bl(e,t,n,r,o){return 0==(1&e.mode)?(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=Fa(-1,1)).tag=2,Ma(n,t,1))),n.lanes|=1),e):(e.flags|=65536,e.lanes=o,e)}var wl=w.ReactCurrentOwner,xl=!1;function kl(e,t,n,r){t.child=null===e?Ja(t,null,n,r):Za(t,e.child,n,r)}function Sl(e,t,n,r,o){n=n.render;var a=t.ref;return Ca(t,o),r=_i(e,t,n,r,a,o),n=Ci(),null===e||xl?(ia&&n&&na(t),t.flags|=1,kl(e,t,r,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function El(e,t,n,r,o){if(null===e){var a=n.type;return"function"!=typeof a||zs(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Ms(n.type,null,r,t,t.mode,o)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,_l(e,t,a,r,o))}if(a=e.child,0==(e.lanes&o)){var i=a.memoizedProps;if((n=null!==(n=n.compare)?n:sr)(i,r)&&e.ref===t.ref)return ql(e,t,o)}return t.flags|=1,(e=Fs(a,r)).ref=t.ref,e.return=t,t.child=e}function _l(e,t,n,r,o){if(null!==e){var a=e.memoizedProps;if(sr(a,r)&&e.ref===t.ref){if(xl=!1,t.pendingProps=r=a,0==(e.lanes&o))return t.lanes=e.lanes,ql(e,t,o);0!=(131072&e.flags)&&(xl=!0)}}return Ol(e,t,n,r,o)}function Cl(e,t,n){var r=t.pendingProps,o=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(0==(1&t.mode))t.memoizedState={baseLanes:0,cachePool:null,transitions:null},Oo(Fu,zu),zu|=n;else{if(0==(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,Oo(Fu,zu),zu|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,Oo(Fu,zu),zu|=r}else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,Oo(Fu,zu),zu|=r;return kl(e,t,o,n),t.child}function Pl(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function Ol(e,t,n,r,o){var a=zo(n)?Ro:No.current;return a=Ao(t,a),Ca(t,o),n=_i(e,t,n,r,a,o),r=Ci(),null===e||xl?(ia&&r&&na(t),t.flags|=1,kl(e,t,n,o),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~o,ql(e,t,o))}function Tl(e,t,n,r,o){if(zo(n)){var a=!0;jo(t)}else a=!1;if(Ca(t,o),null===t.stateNode)Wl(e,t),Wa(t,n,r),Qa(t,n,r,o),r=!0;else if(null===e){var i=t.stateNode,l=t.memoizedProps;i.props=l;var u=i.context,s=n.contextType;s="object"==typeof s&&null!==s?Pa(s):Ao(t,s=zo(n)?Ro:No.current);var c=n.getDerivedStateFromProps,f="function"==typeof c||"function"==typeof i.getSnapshotBeforeUpdate;f||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==r||u!==s)&&qa(t,i,r,s),Ra=!1;var d=t.memoizedState;i.state=d,Ia(t,r,i,o),u=t.memoizedState,l!==r||d!==u||Lo.current||Ra?("function"==typeof c&&(Va(t,n,c,r),u=t.memoizedState),(l=Ra||Ba(t,n,l,r,d,u,s))?(f||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||("function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount()),"function"==typeof i.componentDidMount&&(t.flags|=4194308)):("function"==typeof i.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=u),i.props=r,i.state=u,i.context=s,r=l):("function"==typeof i.componentDidMount&&(t.flags|=4194308),r=!1)}else{i=t.stateNode,za(e,t),l=t.memoizedProps,s=t.type===t.elementType?l:ya(t.type,l),i.props=s,f=t.pendingProps,d=i.context,u="object"==typeof(u=n.contextType)&&null!==u?Pa(u):Ao(t,u=zo(n)?Ro:No.current);var p=n.getDerivedStateFromProps;(c="function"==typeof p||"function"==typeof i.getSnapshotBeforeUpdate)||"function"!=typeof i.UNSAFE_componentWillReceiveProps&&"function"!=typeof i.componentWillReceiveProps||(l!==f||d!==u)&&qa(t,i,r,u),Ra=!1,d=t.memoizedState,i.state=d,Ia(t,r,i,o);var m=t.memoizedState;l!==f||d!==m||Lo.current||Ra?("function"==typeof p&&(Va(t,n,p,r),m=t.memoizedState),(s=Ra||Ba(t,n,s,r,d,m,u)||!1)?(c||"function"!=typeof i.UNSAFE_componentWillUpdate&&"function"!=typeof i.componentWillUpdate||("function"==typeof i.componentWillUpdate&&i.componentWillUpdate(r,m,u),"function"==typeof i.UNSAFE_componentWillUpdate&&i.UNSAFE_componentWillUpdate(r,m,u)),"function"==typeof i.componentDidUpdate&&(t.flags|=4),"function"==typeof i.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=m),i.props=r,i.state=m,i.context=u,r=s):("function"!=typeof i.componentDidUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=4),"function"!=typeof i.getSnapshotBeforeUpdate||l===e.memoizedProps&&d===e.memoizedState||(t.flags|=1024),r=!1)}return Nl(e,t,n,r,a,o)}function Nl(e,t,n,r,o,a){Pl(e,t);var i=0!=(128&t.flags);if(!r&&!i)return o&&Io(t,n,!1),ql(e,t,a);r=t.stateNode,wl.current=t;var l=i&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&i?(t.child=Za(t,e.child,null,a),t.child=Za(t,null,l,a)):kl(e,t,l,a),t.memoizedState=r.state,o&&Io(t,n,!0),t.child}function Ll(e){var t=e.stateNode;t.pendingContext?Mo(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Mo(0,t.context,!1),ai(e,t.containerInfo)}function Rl(e,t,n,r,o){return ha(),va(o),t.flags|=256,kl(e,t,n,r),t.child}var Al,zl,Fl,Ml,Dl={dehydrated:null,treeContext:null,retryLane:0};function jl(e){return{baseLanes:e,cachePool:null,transitions:null}}function Il(e,t,n){var r,o=t.pendingProps,i=si.current,l=!1,u=0!=(128&t.flags);if((r=u)||(r=(null===e||null!==e.memoizedState)&&0!=(2&i)),r?(l=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(i|=1),Oo(si,1&i),null===e)return fa(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(0==(1&t.mode)?t.lanes=1:"$!"===e.data?t.lanes=8:t.lanes=1073741824,null):(u=o.children,e=o.fallback,l?(o=t.mode,l=t.child,u={mode:"hidden",children:u},0==(1&o)&&null!==l?(l.childLanes=0,l.pendingProps=u):l=js(u,o,0,null),e=Ds(e,o,n,null),l.return=t,e.return=t,l.sibling=e,t.child=l,t.child.memoizedState=jl(n),t.memoizedState=Dl,e):$l(t,u));if(null!==(i=e.memoizedState)&&null!==(r=i.dehydrated))return function(e,t,n,r,o,i,l){if(n)return 256&t.flags?(t.flags&=-257,Ul(e,t,l,r=dl(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(i=r.fallback,o=t.mode,r=js({mode:"visible",children:r.children},o,0,null),(i=Ds(i,o,l,null)).flags|=2,r.return=t,i.return=t,r.sibling=i,t.child=r,0!=(1&t.mode)&&Za(t,e.child,null,l),t.child.memoizedState=jl(l),t.memoizedState=Dl,i);if(0==(1&t.mode))return Ul(e,t,l,null);if("$!"===o.data){if(r=o.nextSibling&&o.nextSibling.dataset)var u=r.dgst;return r=u,Ul(e,t,l,r=dl(i=Error(a(419)),r,void 0))}if(u=0!=(l&e.childLanes),xl||u){if(null!==(r=Lu)){switch(l&-l){case 4:o=2;break;case 16:o=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:o=32;break;case 536870912:o=268435456;break;default:o=0}0!==(o=0!=(o&(r.suspendedLanes|l))?0:o)&&o!==i.retryLane&&(i.retryLane=o,La(e,o),os(r,e,o,-1))}return gs(),Ul(e,t,l,r=dl(Error(a(421))))}return"$?"===o.data?(t.flags|=128,t.child=e.child,t=Ts.bind(null,e),o._reactRetry=t,null):(e=i.treeContext,aa=co(o.nextSibling),oa=t,ia=!0,la=null,null!==e&&(Ko[Xo++]=Zo,Ko[Xo++]=Jo,Ko[Xo++]=Go,Zo=e.id,Jo=e.overflow,Go=t),(t=$l(t,r.children)).flags|=4096,t)}(e,t,u,o,r,i,n);if(l){l=o.fallback,u=t.mode,r=(i=e.child).sibling;var s={mode:"hidden",children:o.children};return 0==(1&u)&&t.child!==i?((o=t.child).childLanes=0,o.pendingProps=s,t.deletions=null):(o=Fs(i,s)).subtreeFlags=14680064&i.subtreeFlags,null!==r?l=Fs(r,l):(l=Ds(l,u,n,null)).flags|=2,l.return=t,o.return=t,o.sibling=l,t.child=o,o=l,l=t.child,u=null===(u=e.child.memoizedState)?jl(n):{baseLanes:u.baseLanes|n,cachePool:null,transitions:u.transitions},l.memoizedState=u,l.childLanes=e.childLanes&~n,t.memoizedState=Dl,o}return e=(l=e.child).sibling,o=Fs(l,{mode:"visible",children:o.children}),0==(1&t.mode)&&(o.lanes=n),o.return=t,o.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=o,t.memoizedState=null,o}function $l(e,t){return(t=js({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Ul(e,t,n,r){return null!==r&&va(r),Za(t,e.child,null,n),(e=$l(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Vl(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),_a(e.return,t,n)}function Hl(e,t,n,r,o){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:o}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=o)}function Bl(e,t,n){var r=t.pendingProps,o=r.revealOrder,a=r.tail;if(kl(e,t,r.children,n),0!=(2&(r=si.current)))r=1&r|2,t.flags|=128;else{if(null!==e&&0!=(128&e.flags))e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Vl(e,n,t);else if(19===e.tag)Vl(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(Oo(si,r),0==(1&t.mode))t.memoizedState=null;else switch(o){case"forwards":for(n=t.child,o=null;null!==n;)null!==(e=n.alternate)&&null===ci(e)&&(o=n),n=n.sibling;null===(n=o)?(o=t.child,t.child=null):(o=n.sibling,n.sibling=null),Hl(t,!1,o,n,a);break;case"backwards":for(n=null,o=t.child,t.child=null;null!==o;){if(null!==(e=o.alternate)&&null===ci(e)){t.child=o;break}e=o.sibling,o.sibling=n,n=o,o=e}Hl(t,!0,n,null,a);break;case"together":Hl(t,!1,null,null,void 0);break;default:t.memoizedState=null}return t.child}function Wl(e,t){0==(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function ql(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),ju|=t.lanes,0==(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Fs(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Fs(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ql(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Yl(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=14680064&o.subtreeFlags,r|=14680064&o.flags,o.return=e,o=o.sibling;else for(o=e.child;null!==o;)n|=o.lanes|o.childLanes,r|=o.subtreeFlags,r|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function Kl(e,t,n){var r=t.pendingProps;switch(ra(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Yl(t),null;case 1:case 17:return zo(t.type)&&Fo(),Yl(t),null;case 3:return r=t.stateNode,ii(),Po(Lo),Po(No),di(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(pa(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&0==(256&t.flags)||(t.flags|=1024,null!==la&&(us(la),la=null))),zl(e,t),Yl(t),null;case 5:ui(t);var o=oi(ri.current);if(n=t.type,null!==e&&null!=t.stateNode)Fl(e,t,n,r,o),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Yl(t),null}if(e=oi(ti.current),pa(t)){r=t.stateNode,n=t.type;var i=t.memoizedProps;switch(r[mo]=t,r[ho]=i,e=0!=(1&t.mode),n){case"dialog":$r("cancel",r),$r("close",r);break;case"iframe":case"object":case"embed":$r("load",r);break;case"video":case"audio":for(o=0;o<Mr.length;o++)$r(Mr[o],r);break;case"source":$r("error",r);break;case"img":case"image":case"link":$r("error",r),$r("load",r);break;case"details":$r("toggle",r);break;case"input":X(r,i),$r("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!i.multiple},$r("invalid",r);break;case"textarea":oe(r,i),$r("invalid",r)}for(var u in ye(n,i),o=null,i)if(i.hasOwnProperty(u)){var s=i[u];"children"===u?"string"==typeof s?r.textContent!==s&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,s,e),o=["children",s]):"number"==typeof s&&r.textContent!==""+s&&(!0!==i.suppressHydrationWarning&&Jr(r.textContent,s,e),o=["children",""+s]):l.hasOwnProperty(u)&&null!=s&&"onScroll"===u&&$r("scroll",r)}switch(n){case"input":q(r),J(r,i,!0);break;case"textarea":q(r),ie(r);break;case"select":case"option":break;default:"function"==typeof i.onClick&&(r.onclick=eo)}r=o,t.updateQueue=r,null!==r&&(t.flags|=4)}else{u=9===o.nodeType?o:o.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=le(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=u.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=u.createElement(n,{is:r.is}):(e=u.createElement(n),"select"===n&&(u=e,r.multiple?u.multiple=!0:r.size&&(u.size=r.size))):e=u.createElementNS(e,n),e[mo]=t,e[ho]=r,Al(e,t,!1,!1),t.stateNode=e;e:{switch(u=be(n,r),n){case"dialog":$r("cancel",e),$r("close",e),o=r;break;case"iframe":case"object":case"embed":$r("load",e),o=r;break;case"video":case"audio":for(o=0;o<Mr.length;o++)$r(Mr[o],e);o=r;break;case"source":$r("error",e),o=r;break;case"img":case"image":case"link":$r("error",e),$r("load",e),o=r;break;case"details":$r("toggle",e),o=r;break;case"input":X(e,r),o=K(e,r),$r("invalid",e);break;case"option":default:o=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},o=D({},r,{value:void 0}),$r("invalid",e);break;case"textarea":oe(e,r),o=re(e,r),$r("invalid",e)}for(i in ye(n,o),s=o)if(s.hasOwnProperty(i)){var c=s[i];"style"===i?ve(e,c):"dangerouslySetInnerHTML"===i?null!=(c=c?c.__html:void 0)&&fe(e,c):"children"===i?"string"==typeof c?("textarea"!==n||""!==c)&&de(e,c):"number"==typeof c&&de(e,""+c):"suppressContentEditableWarning"!==i&&"suppressHydrationWarning"!==i&&"autoFocus"!==i&&(l.hasOwnProperty(i)?null!=c&&"onScroll"===i&&$r("scroll",e):null!=c&&b(e,i,c,u))}switch(n){case"input":q(e),J(e,r,!1);break;case"textarea":q(e),ie(e);break;case"option":null!=r.value&&e.setAttribute("value",""+B(r.value));break;case"select":e.multiple=!!r.multiple,null!=(i=r.value)?ne(e,!!r.multiple,i,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof o.onClick&&(e.onclick=eo)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Yl(t),null;case 6:if(e&&null!=t.stateNode)Ml(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=oi(ri.current),oi(ti.current),pa(t)){if(r=t.stateNode,n=t.memoizedProps,r[mo]=t,(i=r.nodeValue!==n)&&null!==(e=oa))switch(e.tag){case 3:Jr(r.nodeValue,n,0!=(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Jr(r.nodeValue,n,0!=(1&e.mode))}i&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[mo]=t,t.stateNode=r}return Yl(t),null;case 13:if(Po(si),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==aa&&0!=(1&t.mode)&&0==(128&t.flags))ma(),ha(),t.flags|=98560,i=!1;else if(i=pa(t),null!==r&&null!==r.dehydrated){if(null===e){if(!i)throw Error(a(318));if(!(i=null!==(i=t.memoizedState)?i.dehydrated:null))throw Error(a(317));i[mo]=t}else ha(),0==(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Yl(t),i=!1}else null!==la&&(us(la),la=null),i=!0;if(!i)return 65536&t.flags?t:null}return 0!=(128&t.flags)?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,0!=(1&t.mode)&&(null===e||0!=(1&si.current)?0===Mu&&(Mu=3):gs())),null!==t.updateQueue&&(t.flags|=4),Yl(t),null);case 4:return ii(),zl(e,t),null===e&&Hr(t.stateNode.containerInfo),Yl(t),null;case 10:return Ea(t.type._context),Yl(t),null;case 19:if(Po(si),null===(i=t.memoizedState))return Yl(t),null;if(r=0!=(128&t.flags),null===(u=i.rendering))if(r)Ql(i,!1);else{if(0!==Mu||null!==e&&0!=(128&e.flags))for(e=t.child;null!==e;){if(null!==(u=ci(e))){for(t.flags|=128,Ql(i,!1),null!==(r=u.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(i=n).flags&=14680066,null===(u=i.alternate)?(i.childLanes=0,i.lanes=e,i.child=null,i.subtreeFlags=0,i.memoizedProps=null,i.memoizedState=null,i.updateQueue=null,i.dependencies=null,i.stateNode=null):(i.childLanes=u.childLanes,i.lanes=u.lanes,i.child=u.child,i.subtreeFlags=0,i.deletions=null,i.memoizedProps=u.memoizedProps,i.memoizedState=u.memoizedState,i.updateQueue=u.updateQueue,i.type=u.type,e=u.dependencies,i.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return Oo(si,1&si.current|2),t.child}e=e.sibling}null!==i.tail&&Ge()>Bu&&(t.flags|=128,r=!0,Ql(i,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=ci(u))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ql(i,!0),null===i.tail&&"hidden"===i.tailMode&&!u.alternate&&!ia)return Yl(t),null}else 2*Ge()-i.renderingStartTime>Bu&&1073741824!==n&&(t.flags|=128,r=!0,Ql(i,!1),t.lanes=4194304);i.isBackwards?(u.sibling=t.child,t.child=u):(null!==(n=i.last)?n.sibling=u:t.child=u,i.last=u)}return null!==i.tail?(t=i.tail,i.rendering=t,i.tail=t.sibling,i.renderingStartTime=Ge(),t.sibling=null,n=si.current,Oo(si,r?1&n|2:1&n),t):(Yl(t),null);case 22:case 23:return ps(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&0!=(1&t.mode)?0!=(1073741824&zu)&&(Yl(t),6&t.subtreeFlags&&(t.flags|=8192)):Yl(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Xl(e,t){switch(ra(t),t.tag){case 1:return zo(t.type)&&Fo(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return ii(),Po(Lo),Po(No),di(),0!=(65536&(e=t.flags))&&0==(128&e)?(t.flags=-65537&e|128,t):null;case 5:return ui(t),null;case 13:if(Po(si),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));ha()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Po(si),null;case 4:return ii(),null;case 10:return Ea(t.type._context),null;case 22:case 23:return ps(),null;default:return null}}Al=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},zl=function(){},Fl=function(e,t,n,r){var o=e.memoizedProps;if(o!==r){e=t.stateNode,oi(ti.current);var a,i=null;switch(n){case"input":o=K(e,o),r=K(e,r),i=[];break;case"select":o=D({},o,{value:void 0}),r=D({},r,{value:void 0}),i=[];break;case"textarea":o=re(e,o),r=re(e,r),i=[];break;default:"function"!=typeof o.onClick&&"function"==typeof r.onClick&&(e.onclick=eo)}for(c in ye(n,r),n=null,o)if(!r.hasOwnProperty(c)&&o.hasOwnProperty(c)&&null!=o[c])if("style"===c){var u=o[c];for(a in u)u.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==c&&"children"!==c&&"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&"autoFocus"!==c&&(l.hasOwnProperty(c)?i||(i=[]):(i=i||[]).push(c,null));for(c in r){var s=r[c];if(u=null!=o?o[c]:void 0,r.hasOwnProperty(c)&&s!==u&&(null!=s||null!=u))if("style"===c)if(u){for(a in u)!u.hasOwnProperty(a)||s&&s.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in s)s.hasOwnProperty(a)&&u[a]!==s[a]&&(n||(n={}),n[a]=s[a])}else n||(i||(i=[]),i.push(c,n)),n=s;else"dangerouslySetInnerHTML"===c?(s=s?s.__html:void 0,u=u?u.__html:void 0,null!=s&&u!==s&&(i=i||[]).push(c,s)):"children"===c?"string"!=typeof s&&"number"!=typeof s||(i=i||[]).push(c,""+s):"suppressContentEditableWarning"!==c&&"suppressHydrationWarning"!==c&&(l.hasOwnProperty(c)?(null!=s&&"onScroll"===c&&$r("scroll",e),i||u===s||(i=[])):(i=i||[]).push(c,s))}n&&(i=i||[]).push("style",n);var c=i;(t.updateQueue=c)&&(t.flags|=4)}},Ml=function(e,t,n,r){n!==r&&(t.flags|=4)};var Gl=!1,Zl=!1,Jl="function"==typeof WeakSet?WeakSet:Set,eu=null;function tu(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Cs(e,t,n)}else n.current=null}function nu(e,t,n){try{n()}catch(n){Cs(e,t,n)}}var ru=!1;function ou(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var o=r=r.next;do{if((o.tag&e)===e){var a=o.destroy;o.destroy=void 0,void 0!==a&&nu(t,n,a)}o=o.next}while(o!==r)}}function au(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function iu(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function lu(e){var t=e.alternate;null!==t&&(e.alternate=null,lu(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[mo],delete t[ho],delete t[go],delete t[yo],delete t[bo]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function uu(e){return 5===e.tag||3===e.tag||4===e.tag}function su(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||uu(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function cu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=eo));else if(4!==r&&null!==(e=e.child))for(cu(e,t,n),e=e.sibling;null!==e;)cu(e,t,n),e=e.sibling}function fu(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(fu(e,t,n),e=e.sibling;null!==e;)fu(e,t,n),e=e.sibling}var du=null,pu=!1;function mu(e,t,n){for(n=n.child;null!==n;)hu(e,t,n),n=n.sibling}function hu(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(ot,n)}catch(e){}switch(n.tag){case 5:Zl||tu(n,t);case 6:var r=du,o=pu;du=null,mu(e,t,n),pu=o,null!==(du=r)&&(pu?(e=du,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):du.removeChild(n.stateNode));break;case 18:null!==du&&(pu?(e=du,n=n.stateNode,8===e.nodeType?so(e.parentNode,n):1===e.nodeType&&so(e,n),Vt(e)):so(du,n.stateNode));break;case 4:r=du,o=pu,du=n.stateNode.containerInfo,pu=!0,mu(e,t,n),du=r,pu=o;break;case 0:case 11:case 14:case 15:if(!Zl&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){o=r=r.next;do{var a=o,i=a.destroy;a=a.tag,void 0!==i&&(0!=(2&a)||0!=(4&a))&&nu(n,t,i),o=o.next}while(o!==r)}mu(e,t,n);break;case 1:if(!Zl&&(tu(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Cs(n,t,e)}mu(e,t,n);break;case 21:mu(e,t,n);break;case 22:1&n.mode?(Zl=(r=Zl)||null!==n.memoizedState,mu(e,t,n),Zl=r):mu(e,t,n);break;default:mu(e,t,n)}}function vu(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Jl),t.forEach((function(t){var r=Ns.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))}))}}function gu(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var o=n[r];try{var i=e,l=t,u=l;e:for(;null!==u;){switch(u.tag){case 5:du=u.stateNode,pu=!1;break e;case 3:case 4:du=u.stateNode.containerInfo,pu=!0;break e}u=u.return}if(null===du)throw Error(a(160));hu(i,l,o),du=null,pu=!1;var s=o.alternate;null!==s&&(s.return=null),o.return=null}catch(e){Cs(o,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)yu(t,e),t=t.sibling}function yu(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(gu(t,e),bu(e),4&r){try{ou(3,e,e.return),au(3,e)}catch(t){Cs(e,e.return,t)}try{ou(5,e,e.return)}catch(t){Cs(e,e.return,t)}}break;case 1:gu(t,e),bu(e),512&r&&null!==n&&tu(n,n.return);break;case 5:if(gu(t,e),bu(e),512&r&&null!==n&&tu(n,n.return),32&e.flags){var o=e.stateNode;try{de(o,"")}catch(t){Cs(e,e.return,t)}}if(4&r&&null!=(o=e.stateNode)){var i=e.memoizedProps,l=null!==n?n.memoizedProps:i,u=e.type,s=e.updateQueue;if(e.updateQueue=null,null!==s)try{"input"===u&&"radio"===i.type&&null!=i.name&&G(o,i),be(u,l);var c=be(u,i);for(l=0;l<s.length;l+=2){var f=s[l],d=s[l+1];"style"===f?ve(o,d):"dangerouslySetInnerHTML"===f?fe(o,d):"children"===f?de(o,d):b(o,f,d,c)}switch(u){case"input":Z(o,i);break;case"textarea":ae(o,i);break;case"select":var p=o._wrapperState.wasMultiple;o._wrapperState.wasMultiple=!!i.multiple;var m=i.value;null!=m?ne(o,!!i.multiple,m,!1):p!==!!i.multiple&&(null!=i.defaultValue?ne(o,!!i.multiple,i.defaultValue,!0):ne(o,!!i.multiple,i.multiple?[]:"",!1))}o[ho]=i}catch(t){Cs(e,e.return,t)}}break;case 6:if(gu(t,e),bu(e),4&r){if(null===e.stateNode)throw Error(a(162));o=e.stateNode,i=e.memoizedProps;try{o.nodeValue=i}catch(t){Cs(e,e.return,t)}}break;case 3:if(gu(t,e),bu(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Cs(e,e.return,t)}break;case 4:default:gu(t,e),bu(e);break;case 13:gu(t,e),bu(e),8192&(o=e.child).flags&&(i=null!==o.memoizedState,o.stateNode.isHidden=i,!i||null!==o.alternate&&null!==o.alternate.memoizedState||(Hu=Ge())),4&r&&vu(e);break;case 22:if(f=null!==n&&null!==n.memoizedState,1&e.mode?(Zl=(c=Zl)||f,gu(t,e),Zl=c):gu(t,e),bu(e),8192&r){if(c=null!==e.memoizedState,(e.stateNode.isHidden=c)&&!f&&0!=(1&e.mode))for(eu=e,f=e.child;null!==f;){for(d=eu=f;null!==eu;){switch(m=(p=eu).child,p.tag){case 0:case 11:case 14:case 15:ou(4,p,p.return);break;case 1:tu(p,p.return);var h=p.stateNode;if("function"==typeof h.componentWillUnmount){r=p,n=p.return;try{t=r,h.props=t.memoizedProps,h.state=t.memoizedState,h.componentWillUnmount()}catch(e){Cs(r,n,e)}}break;case 5:tu(p,p.return);break;case 22:if(null!==p.memoizedState){Su(d);continue}}null!==m?(m.return=p,eu=m):Su(d)}f=f.sibling}e:for(f=null,d=e;;){if(5===d.tag){if(null===f){f=d;try{o=d.stateNode,c?"function"==typeof(i=o.style).setProperty?i.setProperty("display","none","important"):i.display="none":(u=d.stateNode,l=null!=(s=d.memoizedProps.style)&&s.hasOwnProperty("display")?s.display:null,u.style.display=he("display",l))}catch(t){Cs(e,e.return,t)}}}else if(6===d.tag){if(null===f)try{d.stateNode.nodeValue=c?"":d.memoizedProps}catch(t){Cs(e,e.return,t)}}else if((22!==d.tag&&23!==d.tag||null===d.memoizedState||d===e)&&null!==d.child){d.child.return=d,d=d.child;continue}if(d===e)break e;for(;null===d.sibling;){if(null===d.return||d.return===e)break e;f===d&&(f=null),d=d.return}f===d&&(f=null),d.sibling.return=d.return,d=d.sibling}}break;case 19:gu(t,e),bu(e),4&r&&vu(e);case 21:}}function bu(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(uu(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var o=r.stateNode;32&r.flags&&(de(o,""),r.flags&=-33),fu(e,su(e),o);break;case 3:case 4:var i=r.stateNode.containerInfo;cu(e,su(e),i);break;default:throw Error(a(161))}}catch(t){Cs(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function wu(e,t,n){eu=e,xu(e,t,n)}function xu(e,t,n){for(var r=0!=(1&e.mode);null!==eu;){var o=eu,a=o.child;if(22===o.tag&&r){var i=null!==o.memoizedState||Gl;if(!i){var l=o.alternate,u=null!==l&&null!==l.memoizedState||Zl;l=Gl;var s=Zl;if(Gl=i,(Zl=u)&&!s)for(eu=o;null!==eu;)u=(i=eu).child,22===i.tag&&null!==i.memoizedState?Eu(o):null!==u?(u.return=i,eu=u):Eu(o);for(;null!==a;)eu=a,xu(a,t,n),a=a.sibling;eu=o,Gl=l,Zl=s}ku(e)}else 0!=(8772&o.subtreeFlags)&&null!==a?(a.return=o,eu=a):ku(e)}}function ku(e){for(;null!==eu;){var t=eu;if(0!=(8772&t.flags)){var n=t.alternate;try{if(0!=(8772&t.flags))switch(t.tag){case 0:case 11:case 15:Zl||au(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Zl)if(null===n)r.componentDidMount();else{var o=t.elementType===t.type?n.memoizedProps:ya(t.type,n.memoizedProps);r.componentDidUpdate(o,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var i=t.updateQueue;null!==i&&$a(t,i,r);break;case 3:var l=t.updateQueue;if(null!==l){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}$a(t,l,n)}break;case 5:var u=t.stateNode;if(null===n&&4&t.flags){n=u;var s=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":s.autoFocus&&n.focus();break;case"img":s.src&&(n.src=s.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var c=t.alternate;if(null!==c){var f=c.memoizedState;if(null!==f){var d=f.dehydrated;null!==d&&Vt(d)}}}break;default:throw Error(a(163))}Zl||512&t.flags&&iu(t)}catch(e){Cs(t,t.return,e)}}if(t===e){eu=null;break}if(null!==(n=t.sibling)){n.return=t.return,eu=n;break}eu=t.return}}function Su(e){for(;null!==eu;){var t=eu;if(t===e){eu=null;break}var n=t.sibling;if(null!==n){n.return=t.return,eu=n;break}eu=t.return}}function Eu(e){for(;null!==eu;){var t=eu;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{au(4,t)}catch(e){Cs(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var o=t.return;try{r.componentDidMount()}catch(e){Cs(t,o,e)}}var a=t.return;try{iu(t)}catch(e){Cs(t,a,e)}break;case 5:var i=t.return;try{iu(t)}catch(e){Cs(t,i,e)}}}catch(e){Cs(t,t.return,e)}if(t===e){eu=null;break}var l=t.sibling;if(null!==l){l.return=t.return,eu=l;break}eu=t.return}}var _u,Cu=Math.ceil,Pu=w.ReactCurrentDispatcher,Ou=w.ReactCurrentOwner,Tu=w.ReactCurrentBatchConfig,Nu=0,Lu=null,Ru=null,Au=0,zu=0,Fu=Co(0),Mu=0,Du=null,ju=0,Iu=0,$u=0,Uu=null,Vu=null,Hu=0,Bu=1/0,Wu=null,qu=!1,Qu=null,Yu=null,Ku=!1,Xu=null,Gu=0,Zu=0,Ju=null,es=-1,ts=0;function ns(){return 0!=(6&Nu)?Ge():-1!==es?es:es=Ge()}function rs(e){return 0==(1&e.mode)?1:0!=(2&Nu)&&0!==Au?Au&-Au:null!==ga.transition?(0===ts&&(ts=ht()),ts):0!==(e=bt)?e:e=void 0===(e=window.event)?16:Xt(e.type)}function os(e,t,n,r){if(50<Zu)throw Zu=0,Ju=null,Error(a(185));gt(e,n,r),0!=(2&Nu)&&e===Lu||(e===Lu&&(0==(2&Nu)&&(Iu|=n),4===Mu&&ss(e,Au)),as(e,r),1===n&&0===Nu&&0==(1&t.mode)&&(Bu=Ge()+500,Uo&&Bo()))}function as(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,o=e.expirationTimes,a=e.pendingLanes;0<a;){var i=31-it(a),l=1<<i,u=o[i];-1===u?0!=(l&n)&&0==(l&r)||(o[i]=pt(l,t)):u<=t&&(e.expiredLanes|=l),a&=~l}}(e,t);var r=dt(e,e===Lu?Au:0);if(0===r)null!==n&&Ye(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ye(n),1===t)0===e.tag?function(e){Uo=!0,Ho(e)}(cs.bind(null,e)):Ho(cs.bind(null,e)),lo((function(){0==(6&Nu)&&Bo()})),n=null;else{switch(wt(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=Ls(n,is.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function is(e,t){if(es=-1,ts=0,0!=(6&Nu))throw Error(a(327));var n=e.callbackNode;if(Es()&&e.callbackNode!==n)return null;var r=dt(e,e===Lu?Au:0);if(0===r)return null;if(0!=(30&r)||0!=(r&e.expiredLanes)||t)t=ys(e,r);else{t=r;var o=Nu;Nu|=2;var i=vs();for(Lu===e&&Au===t||(Wu=null,Bu=Ge()+500,ms(e,t));;)try{ws();break}catch(t){hs(e,t)}Sa(),Pu.current=i,Nu=o,null!==Ru?t=0:(Lu=null,Au=0,t=Mu)}if(0!==t){if(2===t&&0!==(o=mt(e))&&(r=o,t=ls(e,o)),1===t)throw n=Du,ms(e,0),ss(e,r),as(e,Ge()),n;if(6===t)ss(e,r);else{if(o=e.current.alternate,0==(30&r)&&!function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var o=n[r],a=o.getSnapshot;o=o.value;try{if(!ur(a(),o))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(o)&&(2===(t=ys(e,r))&&0!==(i=mt(e))&&(r=i,t=ls(e,i)),1===t))throw n=Du,ms(e,0),ss(e,r),as(e,Ge()),n;switch(e.finishedWork=o,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:Ss(e,Vu,Wu);break;case 3:if(ss(e,r),(130023424&r)===r&&10<(t=Hu+500-Ge())){if(0!==dt(e,0))break;if(((o=e.suspendedLanes)&r)!==r){ns(),e.pingedLanes|=e.suspendedLanes&o;break}e.timeoutHandle=oo(Ss.bind(null,e,Vu,Wu),t);break}Ss(e,Vu,Wu);break;case 4:if(ss(e,r),(4194240&r)===r)break;for(t=e.eventTimes,o=-1;0<r;){var l=31-it(r);i=1<<l,(l=t[l])>o&&(o=l),r&=~i}if(r=o,10<(r=(120>(r=Ge()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Cu(r/1960))-r)){e.timeoutHandle=oo(Ss.bind(null,e,Vu,Wu),r);break}Ss(e,Vu,Wu);break;default:throw Error(a(329))}}}return as(e,Ge()),e.callbackNode===n?is.bind(null,e):null}function ls(e,t){var n=Uu;return e.current.memoizedState.isDehydrated&&(ms(e,t).flags|=256),2!==(e=ys(e,t))&&(t=Vu,Vu=n,null!==t&&us(t)),e}function us(e){null===Vu?Vu=e:Vu.push.apply(Vu,e)}function ss(e,t){for(t&=~$u,t&=~Iu,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-it(t),r=1<<n;e[n]=-1,t&=~r}}function cs(e){if(0!=(6&Nu))throw Error(a(327));Es();var t=dt(e,0);if(0==(1&t))return as(e,Ge()),null;var n=ys(e,t);if(0!==e.tag&&2===n){var r=mt(e);0!==r&&(t=r,n=ls(e,r))}if(1===n)throw n=Du,ms(e,0),ss(e,t),as(e,Ge()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,Ss(e,Vu,Wu),as(e,Ge()),null}function fs(e,t){var n=Nu;Nu|=1;try{return e(t)}finally{0===(Nu=n)&&(Bu=Ge()+500,Uo&&Bo())}}function ds(e){null!==Xu&&0===Xu.tag&&0==(6&Nu)&&Es();var t=Nu;Nu|=1;var n=Tu.transition,r=bt;try{if(Tu.transition=null,bt=1,e)return e()}finally{bt=r,Tu.transition=n,0==(6&(Nu=t))&&Bo()}}function ps(){zu=Fu.current,Po(Fu)}function ms(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ao(n)),null!==Ru)for(n=Ru.return;null!==n;){var r=n;switch(ra(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Fo();break;case 3:ii(),Po(Lo),Po(No),di();break;case 5:ui(r);break;case 4:ii();break;case 13:case 19:Po(si);break;case 10:Ea(r.type._context);break;case 22:case 23:ps()}n=n.return}if(Lu=e,Ru=e=Fs(e.current,null),Au=zu=t,Mu=0,Du=null,$u=Iu=ju=0,Vu=Uu=null,null!==Oa){for(t=0;t<Oa.length;t++)if(null!==(r=(n=Oa[t]).interleaved)){n.interleaved=null;var o=r.next,a=n.pending;if(null!==a){var i=a.next;a.next=o,r.next=i}n.pending=r}Oa=null}return e}function hs(e,t){for(;;){var n=Ru;try{if(Sa(),pi.current=ll,bi){for(var r=vi.memoizedState;null!==r;){var o=r.queue;null!==o&&(o.pending=null),r=r.next}bi=!1}if(hi=0,yi=gi=vi=null,wi=!1,xi=0,Ou.current=null,null===n||null===n.return){Mu=1,Du=t,Ru=null;break}e:{var i=e,l=n.return,u=n,s=t;if(t=Au,u.flags|=32768,null!==s&&"object"==typeof s&&"function"==typeof s.then){var c=s,f=u,d=f.tag;if(0==(1&f.mode)&&(0===d||11===d||15===d)){var p=f.alternate;p?(f.updateQueue=p.updateQueue,f.memoizedState=p.memoizedState,f.lanes=p.lanes):(f.updateQueue=null,f.memoizedState=null)}var m=yl(l);if(null!==m){m.flags&=-257,bl(m,l,u,0,t),1&m.mode&&gl(i,c,t),s=c;var h=(t=m).updateQueue;if(null===h){var v=new Set;v.add(s),t.updateQueue=v}else h.add(s);break e}if(0==(1&t)){gl(i,c,t),gs();break e}s=Error(a(426))}else if(ia&&1&u.mode){var g=yl(l);if(null!==g){0==(65536&g.flags)&&(g.flags|=256),bl(g,l,u,0,t),va(fl(s,u));break e}}i=s=fl(s,u),4!==Mu&&(Mu=2),null===Uu?Uu=[i]:Uu.push(i),i=l;do{switch(i.tag){case 3:i.flags|=65536,t&=-t,i.lanes|=t,ja(i,hl(0,s,t));break e;case 1:u=s;var y=i.type,b=i.stateNode;if(0==(128&i.flags)&&("function"==typeof y.getDerivedStateFromError||null!==b&&"function"==typeof b.componentDidCatch&&(null===Yu||!Yu.has(b)))){i.flags|=65536,t&=-t,i.lanes|=t,ja(i,vl(i,u,t));break e}}i=i.return}while(null!==i)}ks(n)}catch(e){t=e,Ru===n&&null!==n&&(Ru=n=n.return);continue}break}}function vs(){var e=Pu.current;return Pu.current=ll,null===e?ll:e}function gs(){0!==Mu&&3!==Mu&&2!==Mu||(Mu=4),null===Lu||0==(268435455&ju)&&0==(268435455&Iu)||ss(Lu,Au)}function ys(e,t){var n=Nu;Nu|=2;var r=vs();for(Lu===e&&Au===t||(Wu=null,ms(e,t));;)try{bs();break}catch(t){hs(e,t)}if(Sa(),Nu=n,Pu.current=r,null!==Ru)throw Error(a(261));return Lu=null,Au=0,Mu}function bs(){for(;null!==Ru;)xs(Ru)}function ws(){for(;null!==Ru&&!Ke();)xs(Ru)}function xs(e){var t=_u(e.alternate,e,zu);e.memoizedProps=e.pendingProps,null===t?ks(e):Ru=t,Ou.current=null}function ks(e){var t=e;do{var n=t.alternate;if(e=t.return,0==(32768&t.flags)){if(null!==(n=Kl(n,t,zu)))return void(Ru=n)}else{if(null!==(n=Xl(n,t)))return n.flags&=32767,void(Ru=n);if(null===e)return Mu=6,void(Ru=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}if(null!==(t=t.sibling))return void(Ru=t);Ru=t=e}while(null!==t);0===Mu&&(Mu=5)}function Ss(e,t,n){var r=bt,o=Tu.transition;try{Tu.transition=null,bt=1,function(e,t,n,r){do{Es()}while(null!==Xu);if(0!=(6&Nu))throw Error(a(327));n=e.finishedWork;var o=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var i=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var o=31-it(n),a=1<<o;t[o]=0,r[o]=-1,e[o]=-1,n&=~a}}(e,i),e===Lu&&(Ru=Lu=null,Au=0),0==(2064&n.subtreeFlags)&&0==(2064&n.flags)||Ku||(Ku=!0,Ls(tt,(function(){return Es(),null}))),i=0!=(15990&n.flags),0!=(15990&n.subtreeFlags)||i){i=Tu.transition,Tu.transition=null;var l=bt;bt=1;var u=Nu;Nu|=4,Ou.current=null,function(e,t){if(to=Bt,mr(e=pr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var o=r.anchorOffset,i=r.focusNode;r=r.focusOffset;try{n.nodeType,i.nodeType}catch(e){n=null;break e}var l=0,u=-1,s=-1,c=0,f=0,d=e,p=null;t:for(;;){for(var m;d!==n||0!==o&&3!==d.nodeType||(u=l+o),d!==i||0!==r&&3!==d.nodeType||(s=l+r),3===d.nodeType&&(l+=d.nodeValue.length),null!==(m=d.firstChild);)p=d,d=m;for(;;){if(d===e)break t;if(p===n&&++c===o&&(u=l),p===i&&++f===r&&(s=l),null!==(m=d.nextSibling))break;p=(d=p).parentNode}d=m}n=-1===u||-1===s?null:{start:u,end:s}}else n=null}n=n||{start:0,end:0}}else n=null;for(no={focusedElem:e,selectionRange:n},Bt=!1,eu=t;null!==eu;)if(e=(t=eu).child,0!=(1028&t.subtreeFlags)&&null!==e)e.return=t,eu=e;else for(;null!==eu;){t=eu;try{var h=t.alternate;if(0!=(1024&t.flags))switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==h){var v=h.memoizedProps,g=h.memoizedState,y=t.stateNode,b=y.getSnapshotBeforeUpdate(t.elementType===t.type?v:ya(t.type,v),g);y.__reactInternalSnapshotBeforeUpdate=b}break;case 3:var w=t.stateNode.containerInfo;1===w.nodeType?w.textContent="":9===w.nodeType&&w.documentElement&&w.removeChild(w.documentElement);break;default:throw Error(a(163))}}catch(e){Cs(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,eu=e;break}eu=t.return}h=ru,ru=!1}(e,n),yu(n,e),hr(no),Bt=!!to,no=to=null,e.current=n,wu(n,e,o),Xe(),Nu=u,bt=l,Tu.transition=i}else e.current=n;if(Ku&&(Ku=!1,Xu=e,Gu=o),0===(i=e.pendingLanes)&&(Yu=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(ot,e,void 0,128==(128&e.current.flags))}catch(e){}}(n.stateNode),as(e,Ge()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((o=t[n]).value,{componentStack:o.stack,digest:o.digest});if(qu)throw qu=!1,e=Qu,Qu=null,e;0!=(1&Gu)&&0!==e.tag&&Es(),0!=(1&(i=e.pendingLanes))?e===Ju?Zu++:(Zu=0,Ju=e):Zu=0,Bo()}(e,t,n,r)}finally{Tu.transition=o,bt=r}return null}function Es(){if(null!==Xu){var e=wt(Gu),t=Tu.transition,n=bt;try{if(Tu.transition=null,bt=16>e?16:e,null===Xu)var r=!1;else{if(e=Xu,Xu=null,Gu=0,0!=(6&Nu))throw Error(a(331));var o=Nu;for(Nu|=4,eu=e.current;null!==eu;){var i=eu,l=i.child;if(0!=(16&eu.flags)){var u=i.deletions;if(null!==u){for(var s=0;s<u.length;s++){var c=u[s];for(eu=c;null!==eu;){var f=eu;switch(f.tag){case 0:case 11:case 15:ou(8,f,i)}var d=f.child;if(null!==d)d.return=f,eu=d;else for(;null!==eu;){var p=(f=eu).sibling,m=f.return;if(lu(f),f===c){eu=null;break}if(null!==p){p.return=m,eu=p;break}eu=m}}}var h=i.alternate;if(null!==h){var v=h.child;if(null!==v){h.child=null;do{var g=v.sibling;v.sibling=null,v=g}while(null!==v)}}eu=i}}if(0!=(2064&i.subtreeFlags)&&null!==l)l.return=i,eu=l;else e:for(;null!==eu;){if(0!=(2048&(i=eu).flags))switch(i.tag){case 0:case 11:case 15:ou(9,i,i.return)}var y=i.sibling;if(null!==y){y.return=i.return,eu=y;break e}eu=i.return}}var b=e.current;for(eu=b;null!==eu;){var w=(l=eu).child;if(0!=(2064&l.subtreeFlags)&&null!==w)w.return=l,eu=w;else e:for(l=b;null!==eu;){if(0!=(2048&(u=eu).flags))try{switch(u.tag){case 0:case 11:case 15:au(9,u)}}catch(e){Cs(u,u.return,e)}if(u===l){eu=null;break e}var x=u.sibling;if(null!==x){x.return=u.return,eu=x;break e}eu=u.return}}if(Nu=o,Bo(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(ot,e)}catch(e){}r=!0}return r}finally{bt=n,Tu.transition=t}}return!1}function _s(e,t,n){e=Ma(e,t=hl(0,t=fl(n,t),1),1),t=ns(),null!==e&&(gt(e,1,t),as(e,t))}function Cs(e,t,n){if(3===e.tag)_s(e,e,n);else for(;null!==t;){if(3===t.tag){_s(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Yu||!Yu.has(r))){t=Ma(t,e=vl(t,e=fl(n,e),1),1),e=ns(),null!==t&&(gt(t,1,e),as(t,e));break}}t=t.return}}function Ps(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ns(),e.pingedLanes|=e.suspendedLanes&n,Lu===e&&(Au&n)===n&&(4===Mu||3===Mu&&(130023424&Au)===Au&&500>Ge()-Hu?ms(e,0):$u|=n),as(e,t)}function Os(e,t){0===t&&(0==(1&e.mode)?t=1:(t=ct,0==(130023424&(ct<<=1))&&(ct=4194304)));var n=ns();null!==(e=La(e,t))&&(gt(e,t,n),as(e,n))}function Ts(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),Os(e,n)}function Ns(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,o=e.memoizedState;null!==o&&(n=o.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),Os(e,n)}function Ls(e,t){return Qe(e,t)}function Rs(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function As(e,t,n,r){return new Rs(e,t,n,r)}function zs(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Fs(e,t){var n=e.alternate;return null===n?((n=As(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Ms(e,t,n,r,o,i){var l=2;if(r=e,"function"==typeof e)zs(e)&&(l=1);else if("string"==typeof e)l=5;else e:switch(e){case S:return Ds(n.children,o,i,t);case E:l=8,o|=8;break;case _:return(e=As(12,n,t,2|o)).elementType=_,e.lanes=i,e;case T:return(e=As(13,n,t,o)).elementType=T,e.lanes=i,e;case N:return(e=As(19,n,t,o)).elementType=N,e.lanes=i,e;case A:return js(n,o,i,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case C:l=10;break e;case P:l=9;break e;case O:l=11;break e;case L:l=14;break e;case R:l=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=As(l,n,t,o)).elementType=e,t.type=r,t.lanes=i,t}function Ds(e,t,n,r){return(e=As(7,e,r,t)).lanes=n,e}function js(e,t,n,r){return(e=As(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Is(e,t,n){return(e=As(6,e,null,t)).lanes=n,e}function $s(e,t,n){return(t=As(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Us(e,t,n,r,o){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=vt(0),this.expirationTimes=vt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=vt(0),this.identifierPrefix=r,this.onRecoverableError=o,this.mutableSourceEagerHydrationData=null}function Vs(e,t,n,r,o,a,i,l,u){return e=new Us(e,t,n,l,u),1===t?(t=1,!0===a&&(t|=8)):t=0,a=As(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Aa(a),e}function Hs(e){if(!e)return To;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(zo(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(zo(n))return Do(e,n,t)}return t}function Bs(e,t,n,r,o,a,i,l,u){return(e=Vs(n,r,!0,e,0,a,0,l,u)).context=Hs(null),n=e.current,(a=Fa(r=ns(),o=rs(n))).callback=null!=t?t:null,Ma(n,a,o),e.current.lanes=o,gt(e,o,r),as(e,r),e}function Ws(e,t,n,r){var o=t.current,a=ns(),i=rs(o);return n=Hs(n),null===t.context?t.context=n:t.pendingContext=n,(t=Fa(a,i)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Ma(o,t,i))&&(os(e,o,i,a),Da(e,o,i)),i}function qs(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Qs(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Ys(e,t){Qs(e,t),(e=e.alternate)&&Qs(e,t)}_u=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||Lo.current)xl=!0;else{if(0==(e.lanes&n)&&0==(128&t.flags))return xl=!1,function(e,t,n){switch(t.tag){case 3:Ll(t),ha();break;case 5:li(t);break;case 1:zo(t.type)&&jo(t);break;case 4:ai(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,o=t.memoizedProps.value;Oo(ba,r._currentValue),r._currentValue=o;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(Oo(si,1&si.current),t.flags|=128,null):0!=(n&t.child.childLanes)?Il(e,t,n):(Oo(si,1&si.current),null!==(e=ql(e,t,n))?e.sibling:null);Oo(si,1&si.current);break;case 19:if(r=0!=(n&t.childLanes),0!=(128&e.flags)){if(r)return Bl(e,t,n);t.flags|=128}if(null!==(o=t.memoizedState)&&(o.rendering=null,o.tail=null,o.lastEffect=null),Oo(si,si.current),r)break;return null;case 22:case 23:return t.lanes=0,Cl(e,t,n)}return ql(e,t,n)}(e,t,n);xl=0!=(131072&e.flags)}else xl=!1,ia&&0!=(1048576&t.flags)&&ta(t,Yo,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Wl(e,t),e=t.pendingProps;var o=Ao(t,No.current);Ca(t,n),o=_i(null,t,r,e,o,n);var i=Ci();return t.flags|=1,"object"==typeof o&&null!==o&&"function"==typeof o.render&&void 0===o.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,zo(r)?(i=!0,jo(t)):i=!1,t.memoizedState=null!==o.state&&void 0!==o.state?o.state:null,Aa(t),o.updater=Ha,t.stateNode=o,o._reactInternals=t,Qa(t,r,e,n),t=Nl(null,t,r,!0,i,n)):(t.tag=0,ia&&i&&na(t),kl(null,t,o,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Wl(e,t),e=t.pendingProps,r=(o=r._init)(r._payload),t.type=r,o=t.tag=function(e){if("function"==typeof e)return zs(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===L)return 14}return 2}(r),e=ya(r,e),o){case 0:t=Ol(null,t,r,e,n);break e;case 1:t=Tl(null,t,r,e,n);break e;case 11:t=Sl(null,t,r,e,n);break e;case 14:t=El(null,t,r,ya(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,o=t.pendingProps,Ol(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 1:return r=t.type,o=t.pendingProps,Tl(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 3:e:{if(Ll(t),null===e)throw Error(a(387));r=t.pendingProps,o=(i=t.memoizedState).element,za(e,t),Ia(t,r,null,n);var l=t.memoizedState;if(r=l.element,i.isDehydrated){if(i={element:r,isDehydrated:!1,cache:l.cache,pendingSuspenseBoundaries:l.pendingSuspenseBoundaries,transitions:l.transitions},t.updateQueue.baseState=i,t.memoizedState=i,256&t.flags){t=Rl(e,t,r,n,o=fl(Error(a(423)),t));break e}if(r!==o){t=Rl(e,t,r,n,o=fl(Error(a(424)),t));break e}for(aa=co(t.stateNode.containerInfo.firstChild),oa=t,ia=!0,la=null,n=Ja(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(ha(),r===o){t=ql(e,t,n);break e}kl(e,t,r,n)}t=t.child}return t;case 5:return li(t),null===e&&fa(t),r=t.type,o=t.pendingProps,i=null!==e?e.memoizedProps:null,l=o.children,ro(r,o)?l=null:null!==i&&ro(r,i)&&(t.flags|=32),Pl(e,t),kl(e,t,l,n),t.child;case 6:return null===e&&fa(t),null;case 13:return Il(e,t,n);case 4:return ai(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Za(t,null,r,n):kl(e,t,r,n),t.child;case 11:return r=t.type,o=t.pendingProps,Sl(e,t,r,o=t.elementType===r?o:ya(r,o),n);case 7:return kl(e,t,t.pendingProps,n),t.child;case 8:case 12:return kl(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,o=t.pendingProps,i=t.memoizedProps,l=o.value,Oo(ba,r._currentValue),r._currentValue=l,null!==i)if(ur(i.value,l)){if(i.children===o.children&&!Lo.current){t=ql(e,t,n);break e}}else for(null!==(i=t.child)&&(i.return=t);null!==i;){var u=i.dependencies;if(null!==u){l=i.child;for(var s=u.firstContext;null!==s;){if(s.context===r){if(1===i.tag){(s=Fa(-1,n&-n)).tag=2;var c=i.updateQueue;if(null!==c){var f=(c=c.shared).pending;null===f?s.next=s:(s.next=f.next,f.next=s),c.pending=s}}i.lanes|=n,null!==(s=i.alternate)&&(s.lanes|=n),_a(i.return,n,t),u.lanes|=n;break}s=s.next}}else if(10===i.tag)l=i.type===t.type?null:i.child;else if(18===i.tag){if(null===(l=i.return))throw Error(a(341));l.lanes|=n,null!==(u=l.alternate)&&(u.lanes|=n),_a(l,n,t),l=i.sibling}else l=i.child;if(null!==l)l.return=i;else for(l=i;null!==l;){if(l===t){l=null;break}if(null!==(i=l.sibling)){i.return=l.return,l=i;break}l=l.return}i=l}kl(e,t,o.children,n),t=t.child}return t;case 9:return o=t.type,r=t.pendingProps.children,Ca(t,n),r=r(o=Pa(o)),t.flags|=1,kl(e,t,r,n),t.child;case 14:return o=ya(r=t.type,t.pendingProps),El(e,t,r,o=ya(r.type,o),n);case 15:return _l(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,o=t.pendingProps,o=t.elementType===r?o:ya(r,o),Wl(e,t),t.tag=1,zo(r)?(e=!0,jo(t)):e=!1,Ca(t,n),Wa(t,r,o),Qa(t,r,o,n),Nl(null,t,r,!0,e,n);case 19:return Bl(e,t,n);case 22:return Cl(e,t,n)}throw Error(a(156,t.tag))};var Ks="function"==typeof reportError?reportError:function(e){console.error(e)};function Xs(e){this._internalRoot=e}function Gs(e){this._internalRoot=e}function Zs(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Js(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function ec(){}function tc(e,t,n,r,o){var a=n._reactRootContainer;if(a){var i=a;if("function"==typeof o){var l=o;o=function(){var e=qs(i);l.call(e)}}Ws(t,i,e,o)}else i=function(e,t,n,r,o){if(o){if("function"==typeof r){var a=r;r=function(){var e=qs(i);a.call(e)}}var i=Bs(t,r,e,0,null,!1,0,"",ec);return e._reactRootContainer=i,e[vo]=i.current,Hr(8===e.nodeType?e.parentNode:e),ds(),i}for(;o=e.lastChild;)e.removeChild(o);if("function"==typeof r){var l=r;r=function(){var e=qs(u);l.call(e)}}var u=Vs(e,0,!1,null,0,!1,0,"",ec);return e._reactRootContainer=u,e[vo]=u.current,Hr(8===e.nodeType?e.parentNode:e),ds((function(){Ws(t,u,n,r)})),u}(n,t,e,o,r);return qs(i)}Gs.prototype.render=Xs.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Ws(e,t,null,null)},Gs.prototype.unmount=Xs.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;ds((function(){Ws(null,e,null,null)})),t[vo]=null}},Gs.prototype.unstable_scheduleHydration=function(e){if(e){var t=Et();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Dt(e)}},xt=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=ft(t.pendingLanes);0!==n&&(yt(t,1|n),as(t,Ge()),0==(6&Nu)&&(Bu=Ge()+500,Bo()))}break;case 13:ds((function(){var t=La(e,1);if(null!==t){var n=ns();os(t,e,1,n)}})),Ys(e,1)}},kt=function(e){if(13===e.tag){var t=La(e,134217728);null!==t&&os(t,e,134217728,ns()),Ys(e,134217728)}},St=function(e){if(13===e.tag){var t=rs(e),n=La(e,t);null!==n&&os(n,e,t,ns()),Ys(e,t)}},Et=function(){return bt},_t=function(e,t){var n=bt;try{return bt=e,t()}finally{bt=n}},ke=function(e,t,n){switch(t){case"input":if(Z(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var o=So(r);if(!o)throw Error(a(90));Q(r),Z(r,o)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=fs,Te=ds;var nc={usingClientEntryPoint:!1,Events:[xo,ko,So,Ce,Pe,fs]},rc={findFiberByHostInstance:wo,bundleType:0,version:"18.2.0",rendererPackageName:"react-dom"},oc={bundleType:rc.bundleType,version:rc.version,rendererPackageName:rc.rendererPackageName,rendererConfig:rc.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:w.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:rc.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.2.0-next-9e3b772b8-20220608"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ac=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ac.isDisabled&&ac.supportsFiber)try{ot=ac.inject(oc),at=ac}catch(ce){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=nc,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Zs(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:k,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Zs(e))throw Error(a(299));var n=!1,r="",o=Ks;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(o=t.onRecoverableError)),t=Vs(e,1,!1,null,0,n,0,r,o),e[vo]=t.current,Hr(8===e.nodeType?e.parentNode:e),new Xs(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return ds(e)},t.hydrate=function(e,t,n){if(!Js(t))throw Error(a(200));return tc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Zs(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,o=!1,i="",l=Ks;if(null!=n&&(!0===n.unstable_strictMode&&(o=!0),void 0!==n.identifierPrefix&&(i=n.identifierPrefix),void 0!==n.onRecoverableError&&(l=n.onRecoverableError)),t=Bs(t,null,e,1,null!=n?n:null,o,0,i,l),e[vo]=t.current,Hr(e),r)for(e=0;e<r.length;e++)o=(o=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,o]:t.mutableSourceEagerHydrationData.push(n,o);return new Gs(t)},t.render=function(e,t,n){if(!Js(t))throw Error(a(200));return tc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Js(e))throw Error(a(40));return!!e._reactRootContainer&&(ds((function(){tc(null,null,e,!1,(function(){e._reactRootContainer=null,e[vo]=null}))})),!0)},t.unstable_batchedUpdates=fs,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Js(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return tc(e,t,n,!1,r)},t.version="18.2.0-next-9e3b772b8-20220608"},745:(e,t,n)=>{"use strict";var r=n(3935);t.s=r.createRoot,r.hydrateRoot},3935:(e,t,n)=>{"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(4448)},5251:(e,t,n)=>{"use strict";var r=n(7294),o=Symbol.for("react.element"),a=Symbol.for("react.fragment"),i=Object.prototype.hasOwnProperty,l=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,u={key:!0,ref:!0,__self:!0,__source:!0};function s(e,t,n){var r,a={},s=null,c=null;for(r in void 0!==n&&(s=""+n),void 0!==t.key&&(s=""+t.key),void 0!==t.ref&&(c=t.ref),t)i.call(t,r)&&!u.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:o,type:e,key:s,ref:c,props:a,_owner:l.current}}t.Fragment=a,t.jsx=s,t.jsxs=s},2408:(e,t)=>{"use strict";var n=Symbol.for("react.element"),r=Symbol.for("react.portal"),o=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),l=Symbol.for("react.provider"),u=Symbol.for("react.context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),f=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),p=Symbol.iterator,m={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},h=Object.assign,v={};function g(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}function y(){}function b(e,t,n){this.props=e,this.context=t,this.refs=v,this.updater=n||m}g.prototype.isReactComponent={},g.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},g.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},y.prototype=g.prototype;var w=b.prototype=new y;w.constructor=b,h(w,g.prototype),w.isPureReactComponent=!0;var x=Array.isArray,k=Object.prototype.hasOwnProperty,S={current:null},E={key:!0,ref:!0,__self:!0,__source:!0};function _(e,t,r){var o,a={},i=null,l=null;if(null!=t)for(o in void 0!==t.ref&&(l=t.ref),void 0!==t.key&&(i=""+t.key),t)k.call(t,o)&&!E.hasOwnProperty(o)&&(a[o]=t[o]);var u=arguments.length-2;if(1===u)a.children=r;else if(1<u){for(var s=Array(u),c=0;c<u;c++)s[c]=arguments[c+2];a.children=s}if(e&&e.defaultProps)for(o in u=e.defaultProps)void 0===a[o]&&(a[o]=u[o]);return{$$typeof:n,type:e,key:i,ref:l,props:a,_owner:S.current}}function C(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var P=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,(function(e){return t[e]}))}(""+e.key):t.toString(36)}function T(e,t,o,a,i){var l=typeof e;"undefined"!==l&&"boolean"!==l||(e=null);var u=!1;if(null===e)u=!0;else switch(l){case"string":case"number":u=!0;break;case"object":switch(e.$$typeof){case n:case r:u=!0}}if(u)return i=i(u=e),e=""===a?"."+O(u,0):a,x(i)?(o="",null!=e&&(o=e.replace(P,"$&/")+"/"),T(i,t,o,"",(function(e){return e}))):null!=i&&(C(i)&&(i=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(i,o+(!i.key||u&&u.key===i.key?"":(""+i.key).replace(P,"$&/")+"/")+e)),t.push(i)),1;if(u=0,a=""===a?".":a+":",x(e))for(var s=0;s<e.length;s++){var c=a+O(l=e[s],s);u+=T(l,t,o,c,i)}else if(c=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=p&&e[p]||e["@@iterator"])?e:null}(e),"function"==typeof c)for(e=c.call(e),s=0;!(l=e.next()).done;)u+=T(l=l.value,t,o,c=a+O(l,s++),i);else if("object"===l)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return u}function N(e,t,n){if(null==e)return e;var r=[],o=0;return T(e,r,"","",(function(e){return t.call(n,e,o++)})),r}function L(e){if(-1===e._status){var t=e._result;(t=t()).then((function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)}),(function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)})),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var R={current:null},A={transition:null},z={ReactCurrentDispatcher:R,ReactCurrentBatchConfig:A,ReactCurrentOwner:S};t.Children={map:N,forEach:function(e,t,n){N(e,(function(){t.apply(this,arguments)}),n)},count:function(e){var t=0;return N(e,(function(){t++})),t},toArray:function(e){return N(e,(function(e){return e}))||[]},only:function(e){if(!C(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=g,t.Fragment=o,t.Profiler=i,t.PureComponent=b,t.StrictMode=a,t.Suspense=c,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=z,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var o=h({},e.props),a=e.key,i=e.ref,l=e._owner;if(null!=t){if(void 0!==t.ref&&(i=t.ref,l=S.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var u=e.type.defaultProps;for(s in t)k.call(t,s)&&!E.hasOwnProperty(s)&&(o[s]=void 0===t[s]&&void 0!==u?u[s]:t[s])}var s=arguments.length-2;if(1===s)o.children=r;else if(1<s){u=Array(s);for(var c=0;c<s;c++)u[c]=arguments[c+2];o.children=u}return{$$typeof:n,type:e.type,key:a,ref:i,props:o,_owner:l}},t.createContext=function(e){return(e={$$typeof:u,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:l,_context:e},e.Consumer=e},t.createElement=_,t.createFactory=function(e){var t=_.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:s,render:e}},t.isValidElement=C,t.lazy=function(e){return{$$typeof:d,_payload:{_status:-1,_result:e},_init:L}},t.memo=function(e,t){return{$$typeof:f,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},t.useCallback=function(e,t){return R.current.useCallback(e,t)},t.useContext=function(e){return R.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return R.current.useDeferredValue(e)},t.useEffect=function(e,t){return R.current.useEffect(e,t)},t.useId=function(){return R.current.useId()},t.useImperativeHandle=function(e,t,n){return R.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return R.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return R.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return R.current.useMemo(e,t)},t.useReducer=function(e,t,n){return R.current.useReducer(e,t,n)},t.useRef=function(e){return R.current.useRef(e)},t.useState=function(e){return R.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return R.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return R.current.useTransition()},t.version="18.2.0"},7294:(e,t,n)=>{"use strict";e.exports=n(2408)},5893:(e,t,n)=>{"use strict";e.exports=n(5251)},53:(e,t)=>{"use strict";function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,o=e[r];if(!(0<a(o,t)))break e;e[r]=t,e[n]=o,n=r}}function r(e){return 0===e.length?null:e[0]}function o(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,o=e.length,i=o>>>1;r<i;){var l=2*(r+1)-1,u=e[l],s=l+1,c=e[s];if(0>a(u,n))s<o&&0>a(c,u)?(e[r]=c,e[s]=n,r=s):(e[r]=u,e[l]=n,r=l);else{if(!(s<o&&0>a(c,n)))break e;e[r]=c,e[s]=n,r=s}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var i=performance;t.unstable_now=function(){return i.now()}}else{var l=Date,u=l.now();t.unstable_now=function(){return l.now()-u}}var s=[],c=[],f=1,d=null,p=3,m=!1,h=!1,v=!1,g="function"==typeof setTimeout?setTimeout:null,y="function"==typeof clearTimeout?clearTimeout:null,b="undefined"!=typeof setImmediate?setImmediate:null;function w(e){for(var t=r(c);null!==t;){if(null===t.callback)o(c);else{if(!(t.startTime<=e))break;o(c),t.sortIndex=t.expirationTime,n(s,t)}t=r(c)}}function x(e){if(v=!1,w(e),!h)if(null!==r(s))h=!0,A(k);else{var t=r(c);null!==t&&z(x,t.startTime-e)}}function k(e,n){h=!1,v&&(v=!1,y(C),C=-1),m=!0;var a=p;try{for(w(n),d=r(s);null!==d&&(!(d.expirationTime>n)||e&&!T());){var i=d.callback;if("function"==typeof i){d.callback=null,p=d.priorityLevel;var l=i(d.expirationTime<=n);n=t.unstable_now(),"function"==typeof l?d.callback=l:d===r(s)&&o(s),w(n)}else o(s);d=r(s)}if(null!==d)var u=!0;else{var f=r(c);null!==f&&z(x,f.startTime-n),u=!1}return u}finally{d=null,p=a,m=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var S,E=!1,_=null,C=-1,P=5,O=-1;function T(){return!(t.unstable_now()-O<P)}function N(){if(null!==_){var e=t.unstable_now();O=e;var n=!0;try{n=_(!0,e)}finally{n?S():(E=!1,_=null)}}else E=!1}if("function"==typeof b)S=function(){b(N)};else if("undefined"!=typeof MessageChannel){var L=new MessageChannel,R=L.port2;L.port1.onmessage=N,S=function(){R.postMessage(null)}}else S=function(){g(N,0)};function A(e){_=e,E||(E=!0,S())}function z(e,n){C=g((function(){e(t.unstable_now())}),n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){h||m||(h=!0,A(k))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):P=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return p},t.unstable_getFirstCallbackNode=function(){return r(s)},t.unstable_next=function(e){switch(p){case 1:case 2:case 3:var t=3;break;default:t=p}var n=p;p=t;try{return e()}finally{p=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=p;p=e;try{return t()}finally{p=n}},t.unstable_scheduleCallback=function(e,o,a){var i=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?i+a:i,e){case 1:var l=-1;break;case 2:l=250;break;case 5:l=1073741823;break;case 4:l=1e4;break;default:l=5e3}return e={id:f++,callback:o,priorityLevel:e,startTime:a,expirationTime:l=a+l,sortIndex:-1},a>i?(e.sortIndex=a,n(c,e),null===r(s)&&e===r(c)&&(v?(y(C),C=-1):v=!0,z(x,a-i))):(e.sortIndex=l,n(s,e),h||m||(h=!0,A(k))),e},t.unstable_shouldYield=T,t.unstable_wrapCallback=function(e){var t=p;return function(){var n=p;p=t;try{return e.apply(this,arguments)}finally{p=n}}}},3840:(e,t,n)=>{"use strict";e.exports=n(53)},8975:(e,t,n)=>{var r;!function(){"use strict";var o={not_string:/[^s]/,not_bool:/[^t]/,not_type:/[^T]/,not_primitive:/[^v]/,number:/[diefg]/,numeric_arg:/[bcdiefguxX]/,json:/[j]/,not_json:/[^j]/,text:/^[^\x25]+/,modulo:/^\x25{2}/,placeholder:/^\x25(?:([1-9]\d*)\$|\(([^)]+)\))?(\+)?(0|'[^$])?(-)?(\d+)?(?:\.(\d+))?([b-gijostTuvxX])/,key:/^([a-z_][a-z_\d]*)/i,key_access:/^\.([a-z_][a-z_\d]*)/i,index_access:/^\[(\d+)\]/,sign:/^[+-]/};function a(e){return function(e,t){var n,r,i,l,u,s,c,f,d,p=1,m=e.length,h="";for(r=0;r<m;r++)if("string"==typeof e[r])h+=e[r];else if("object"==typeof e[r]){if((l=e[r]).keys)for(n=t[p],i=0;i<l.keys.length;i++){if(null==n)throw new Error(a('[sprintf] Cannot access property "%s" of undefined value "%s"',l.keys[i],l.keys[i-1]));n=n[l.keys[i]]}else n=l.param_no?t[l.param_no]:t[p++];if(o.not_type.test(l.type)&&o.not_primitive.test(l.type)&&n instanceof Function&&(n=n()),o.numeric_arg.test(l.type)&&"number"!=typeof n&&isNaN(n))throw new TypeError(a("[sprintf] expecting number but found %T",n));switch(o.number.test(l.type)&&(f=n>=0),l.type){case"b":n=parseInt(n,10).toString(2);break;case"c":n=String.fromCharCode(parseInt(n,10));break;case"d":case"i":n=parseInt(n,10);break;case"j":n=JSON.stringify(n,null,l.width?parseInt(l.width):0);break;case"e":n=l.precision?parseFloat(n).toExponential(l.precision):parseFloat(n).toExponential();break;case"f":n=l.precision?parseFloat(n).toFixed(l.precision):parseFloat(n);break;case"g":n=l.precision?String(Number(n.toPrecision(l.precision))):parseFloat(n);break;case"o":n=(parseInt(n,10)>>>0).toString(8);break;case"s":n=String(n),n=l.precision?n.substring(0,l.precision):n;break;case"t":n=String(!!n),n=l.precision?n.substring(0,l.precision):n;break;case"T":n=Object.prototype.toString.call(n).slice(8,-1).toLowerCase(),n=l.precision?n.substring(0,l.precision):n;break;case"u":n=parseInt(n,10)>>>0;break;case"v":n=n.valueOf(),n=l.precision?n.substring(0,l.precision):n;break;case"x":n=(parseInt(n,10)>>>0).toString(16);break;case"X":n=(parseInt(n,10)>>>0).toString(16).toUpperCase()}o.json.test(l.type)?h+=n:(!o.number.test(l.type)||f&&!l.sign?d="":(d=f?"+":"-",n=n.toString().replace(o.sign,"")),s=l.pad_char?"0"===l.pad_char?"0":l.pad_char.charAt(1):" ",c=l.width-(d+n).length,u=l.width&&c>0?s.repeat(c):"",h+=l.align?d+n+u:"0"===s?d+u+n:u+d+n)}return h}(function(e){if(l[e])return l[e];for(var t,n=e,r=[],a=0;n;){if(null!==(t=o.text.exec(n)))r.push(t[0]);else if(null!==(t=o.modulo.exec(n)))r.push("%");else{if(null===(t=o.placeholder.exec(n)))throw new SyntaxError("[sprintf] unexpected placeholder");if(t[2]){a|=1;var i=[],u=t[2],s=[];if(null===(s=o.key.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");for(i.push(s[1]);""!==(u=u.substring(s[0].length));)if(null!==(s=o.key_access.exec(u)))i.push(s[1]);else{if(null===(s=o.index_access.exec(u)))throw new SyntaxError("[sprintf] failed to parse named argument key");i.push(s[1])}t[2]=i}else a|=2;if(3===a)throw new Error("[sprintf] mixing positional and named placeholders is not (yet) supported");r.push({placeholder:t[0],param_no:t[1],keys:t[2],sign:t[3],pad_char:t[4],align:t[5],width:t[6],precision:t[7],type:t[8]})}n=n.substring(t[0].length)}return l[e]=r}(e),arguments)}function i(e,t){return a.apply(null,[e].concat(t||[]))}var l=Object.create(null);t.sprintf=a,t.vsprintf=i,"undefined"!=typeof window&&(window.sprintf=a,window.vsprintf=i,void 0===(r=function(){return{sprintf:a,vsprintf:i}}.call(t,n,t,e))||(e.exports=r))}()},3250:(e,t,n)=>{"use strict";var r=n(7294),o="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t},a=r.useState,i=r.useEffect,l=r.useLayoutEffect,u=r.useDebugValue;function s(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!o(e,n)}catch(e){return!0}}var c="undefined"==typeof window||void 0===window.document||void 0===window.document.createElement?function(e,t){return t()}:function(e,t){var n=t(),r=a({inst:{value:n,getSnapshot:t}}),o=r[0].inst,c=r[1];return l((function(){o.value=n,o.getSnapshot=t,s(o)&&c({inst:o})}),[e,n,t]),i((function(){return s(o)&&c({inst:o}),e((function(){s(o)&&c({inst:o})}))}),[e]),u(n),n};t.useSyncExternalStore=void 0!==r.useSyncExternalStore?r.useSyncExternalStore:c},1688:(e,t,n)=>{"use strict";e.exports=n(3250)}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e].call(a.exports,a,a.exports,o),a.exports}o.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return o.d(t,{a:t}),t},t=Object.getPrototypeOf?e=>Object.getPrototypeOf(e):e=>e.__proto__,o.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);o.r(a);var i={};e=e||[null,t({}),t([]),t(t)];for(var l=2&r&&n;"object"==typeof l&&!~e.indexOf(l);l=t(l))Object.getOwnPropertyNames(l).forEach((e=>i[e]=()=>n[e]));return i.default=()=>n,o.d(a,i),a},o.d=(e,t)=>{for(var n in t)o.o(t,n)&&!o.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},o.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),o.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),o.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{"use strict";var e=o(7294),t=o.t(e,2);const n=ampSupport;var r=o(745);const a=(0,e.createContext)();function i({children:t}){const[n,r]=(0,e.useState)(null);return(0,e.createElement)(a.Provider,{value:{error:n,setError:r}},t)}let l,u,s,c;const f=/<(\/)?(\w+)\s*(\/)?>/g;function d(e,t,n,r,o){return{element:e,tokenStart:t,tokenLength:n,prevOffset:r,leadingTextStart:o,children:[]}}function p(t){const n=function(){const e=f.exec(l);if(null===e)return["no-more-tokens"];const t=e.index,[n,r,o,a]=e,i=n.length;return a?["self-closed",o,t,i]:r?["closer",o,t,i]:["opener",o,t,i]}(),[r,o,a,i]=n,p=c.length,v=a>u?u:null;if(!t[o])return m(),!1;switch(r){case"no-more-tokens":if(0!==p){const{leadingTextStart:e,tokenStart:t}=c.pop();s.push(l.substr(e,t))}return m(),!1;case"self-closed":return 0===p?(null!==v&&s.push(l.substr(v,a-v)),s.push(t[o]),u=a+i,!0):(h(d(t[o],a,i)),u=a+i,!0);case"opener":return c.push(d(t[o],a,i,a+i,v)),u=a+i,!0;case"closer":if(1===p)return function(t){const{element:n,leadingTextStart:r,prevOffset:o,tokenStart:a,children:i}=c.pop(),u=t?l.substr(o,t-o):l.substr(o);u&&i.push(u),null!==r&&s.push(l.substr(r,a-r)),s.push((0,e.cloneElement)(n,null,...i))}(a),u=a+i,!0;const n=c.pop(),r=l.substr(n.prevOffset,a-n.prevOffset);n.children.push(r),n.prevOffset=a+i;const f=d(n.element,n.tokenStart,n.tokenLength,a+i);return f.children=n.children,h(f),u=a+i,!0;default:return m(),!1}}function m(){const e=l.length-u;0!==e&&s.push(l.substr(u,e))}function h(t){const{element:n,tokenStart:r,tokenLength:o,prevOffset:a,children:i}=t,u=c[c.length-1],s=l.substr(u.prevOffset,r-u.prevOffset);s&&u.children.push(s),u.children.push((0,e.cloneElement)(n,null,...i)),u.prevOffset=a||r+o}const v=(t,n)=>{if(l=t,u=0,s=[],c=[],f.lastIndex=0,!(t=>{const n="object"==typeof t,r=n&&Object.values(t);return n&&r.length&&r.every((t=>(0,e.isValidElement)(t)))})(n))throw new TypeError("The conversionMap provided is not valid. It must be an object with values that are React Elements");do{}while(p(n));return(0,e.createElement)(e.Fragment,null,...s)};var g=o(4184),y=o.n(g);const b=function(e){return"string"!=typeof e||""===e?(console.error("The namespace must be a non-empty string."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.\-\/]*$/.test(e)||(console.error("The namespace can only contain numbers, letters, dashes, periods, underscores and slashes."),!1)},w=function(e){return"string"!=typeof e||""===e?(console.error("The hook name must be a non-empty string."),!1):/^__/.test(e)?(console.error("The hook name cannot begin with `__`."),!1):!!/^[a-zA-Z][a-zA-Z0-9_.-]*$/.test(e)||(console.error("The hook name can only contain numbers, letters, dashes, periods and underscores."),!1)},x=function(e,t){return function(n,r,o,a=10){const i=e[t];if(!w(n))return;if(!b(r))return;if("function"!=typeof o)return void console.error("The hook callback must be a function.");if("number"!=typeof a)return void console.error("If specified, the hook priority must be a number.");const l={callback:o,priority:a,namespace:r};if(i[n]){const e=i[n].handlers;let t;for(t=e.length;t>0&&!(a>=e[t-1].priority);t--);t===e.length?e[t]=l:e.splice(t,0,l),i.__current.forEach((e=>{e.name===n&&e.currentIndex>=t&&e.currentIndex++}))}else i[n]={handlers:[l],runs:0};"hookAdded"!==n&&e.doAction("hookAdded",n,r,o,a)}},k=function(e,t,n=!1){return function(r,o){const a=e[t];if(!w(r))return;if(!n&&!b(o))return;if(!a[r])return 0;let i=0;if(n)i=a[r].handlers.length,a[r]={runs:a[r].runs,handlers:[]};else{const e=a[r].handlers;for(let t=e.length-1;t>=0;t--)e[t].namespace===o&&(e.splice(t,1),i++,a.__current.forEach((e=>{e.name===r&&e.currentIndex>=t&&e.currentIndex--})))}return"hookRemoved"!==r&&e.doAction("hookRemoved",r,o),i}},S=function(e,t){return function(n,r){const o=e[t];return void 0!==r?n in o&&o[n].handlers.some((e=>e.namespace===r)):n in o}},E=function(e,t,n=!1){return function(r,...o){const a=e[t];a[r]||(a[r]={handlers:[],runs:0}),a[r].runs++;const i=a[r].handlers;if(!i||!i.length)return n?o[0]:void 0;const l={name:r,currentIndex:0};for(a.__current.push(l);l.currentIndex<i.length;){const e=i[l.currentIndex].callback.apply(null,o);n&&(o[0]=e),l.currentIndex++}return a.__current.pop(),n?o[0]:void 0}},_=function(e,t){return function(){var n;const r=e[t];return null!==(n=r.__current[r.__current.length-1]?.name)&&void 0!==n?n:null}},C=function(e,t){return function(n){const r=e[t];return void 0===n?void 0!==r.__current[0]:!!r.__current[0]&&n===r.__current[0].name}},P=function(e,t){return function(n){const r=e[t];if(w(n))return r[n]&&r[n].runs?r[n].runs:0}};class O{constructor(){this.actions=Object.create(null),this.actions.__current=[],this.filters=Object.create(null),this.filters.__current=[],this.addAction=x(this,"actions"),this.addFilter=x(this,"filters"),this.removeAction=k(this,"actions"),this.removeFilter=k(this,"filters"),this.hasAction=S(this,"actions"),this.hasFilter=S(this,"filters"),this.removeAllActions=k(this,"actions",!0),this.removeAllFilters=k(this,"filters",!0),this.doAction=E(this,"actions"),this.applyFilters=E(this,"filters",!0),this.currentAction=_(this,"actions"),this.currentFilter=_(this,"filters"),this.doingAction=C(this,"actions"),this.doingFilter=C(this,"filters"),this.didAction=P(this,"actions"),this.didFilter=P(this,"filters")}}const T=new O,{addAction:N,addFilter:L,removeAction:R,removeFilter:A,hasAction:z,hasFilter:F,removeAllActions:M,removeAllFilters:D,doAction:j,applyFilters:I,currentAction:$,currentFilter:U,doingAction:V,doingFilter:H,didAction:B,didFilter:W,actions:q,filters:Q}=T,Y=Object.create(null);function K(e,t={}){const{since:n,version:r,alternative:o,plugin:a,link:i,hint:l}=t,u=`${e} is deprecated${n?` since version ${n}`:""}${r?` and will be removed${a?` from ${a}`:""} in version ${r}`:""}.${o?` Please use ${o} instead.`:""}${i?` See: ${i}`:""}${l?` Note: ${l}`:""}`;u in Y||(j("deprecated",e,t,u),console.warn(u),Y[u]=!0)}const X=new WeakMap,G=function(t,n,r){return(0,e.useMemo)((()=>{if(r)return r;const e=function(e){const t=X.get(e)||0;return X.set(e,t+1),t}(t);return n?`${n}-${e}`:e}),[t,r,n])};var Z=Object.defineProperty,J=Object.defineProperties,ee=Object.getOwnPropertyDescriptors,te=Object.getOwnPropertySymbols,ne=Object.prototype.hasOwnProperty,re=Object.prototype.propertyIsEnumerable,oe=(e,t,n)=>t in e?Z(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ae=(e,t)=>{for(var n in t||(t={}))ne.call(t,n)&&oe(e,n,t[n]);if(te)for(var n of te(t))re.call(t,n)&&oe(e,n,t[n]);return e},ie=(e,t)=>J(e,ee(t)),le=(e,t)=>{var n={};for(var r in e)ne.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&te)for(var r of te(e))t.indexOf(r)<0&&re.call(e,r)&&(n[r]=e[r]);return n},ue=Object.defineProperty,se=Object.defineProperties,ce=Object.getOwnPropertyDescriptors,fe=Object.getOwnPropertySymbols,de=Object.prototype.hasOwnProperty,pe=Object.prototype.propertyIsEnumerable,me=(e,t,n)=>t in e?ue(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,he=(e,t)=>{for(var n in t||(t={}))de.call(t,n)&&me(e,n,t[n]);if(fe)for(var n of fe(t))pe.call(t,n)&&me(e,n,t[n]);return e},ve=(e,t)=>se(e,ce(t)),ge=(e,t)=>{var n={};for(var r in e)de.call(e,r)&&t.indexOf(r)<0&&(n[r]=e[r]);if(null!=e&&fe)for(var r of fe(e))t.indexOf(r)<0&&pe.call(e,r)&&(n[r]=e[r]);return n};function ye(...e){}function be(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function we(...e){return(...t)=>{for(const n of e)"function"==typeof n&&n(...t)}}function xe(e){return e}function ke(e,t){if(!e){if("string"!=typeof t)throw new Error("Invariant failed");throw new Error(t)}}function Se(e,...t){const n="function"==typeof e?e(...t):e;return null!=n&&!n}function Ee(e){return e.disabled||!0===e["aria-disabled"]||"true"===e["aria-disabled"]}function _e(...e){for(const t of e)if(void 0!==t)return t}function Ce(e,t){"function"==typeof e?e(t):e&&(e.current=t)}var Pe,Oe="undefined"!=typeof window&&!!(null==(Pe=window.document)?void 0:Pe.createElement);function Te(e){return e?e.ownerDocument||e:document}function Ne(e,t=!1){const{activeElement:n}=Te(e);if(!(null==n?void 0:n.nodeName))return null;if(Re(n)&&n.contentDocument)return Ne(n.contentDocument.body,t);if(t){const e=n.getAttribute("aria-activedescendant");if(e){const t=Te(n).getElementById(e);if(t)return t}}return n}function Le(e,t){return e===t||e.contains(t)}function Re(e){return"IFRAME"===e.tagName}function Ae(e){const t=e.tagName.toLowerCase();return"button"===t||!("input"!==t||!e.type)&&-1!==ze.indexOf(e.type)}var ze=["button","color","file","image","reset","submit"];function Fe(e,t){return"matches"in e?e.matches(t):"msMatchesSelector"in e?e.msMatchesSelector(t):e.webkitMatchesSelector(t)}function Me(e){const t=e;return t.offsetWidth>0||t.offsetHeight>0||e.getClientRects().length>0}function De(e,t){if("closest"in e)return e.closest(t);do{if(Fe(e,t))return e;e=e.parentElement||e.parentNode}while(null!==e&&1===e.nodeType);return null}function je(e){return e.target===e.currentTarget}function Ie(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!Le(n,r)}function $e(e,t,n){const r=requestAnimationFrame((()=>{e.removeEventListener(t,o,!0),n()})),o=()=>{cancelAnimationFrame(r),n()};return e.addEventListener(t,o,{once:!0,capture:!0}),r}function Ue(e,t,n,r=window){const o=[];try{r.document.addEventListener(e,t,n);for(const a of Array.from(r.frames))o.push(Ue(e,t,n,a))}catch(e){}return()=>{try{r.document.removeEventListener(e,t,n)}catch(e){}o.forEach((e=>e()))}}var Ve=ae({},t),He=Ve.useId,Be=(Ve.useDeferredValue,Ve.useInsertionEffect),We=Oe?e.useLayoutEffect:e.useEffect;function qe(t){const n=(0,e.useRef)(t);return We((()=>{n.current=t})),n}function Qe(t){const n=(0,e.useRef)((()=>{throw new Error("Cannot call an event handler while rendering.")}));return Be?Be((()=>{n.current=t})):n.current=t,(0,e.useCallback)(((...e)=>{var t;return null==(t=n.current)?void 0:t.call(n,...e)}),[])}function Ye(...t){return(0,e.useMemo)((()=>{if(t.some(Boolean))return e=>{t.forEach((t=>Ce(t,e)))}}),t)}function Ke(t){if(He){const e=He();return t||e}const[n,r]=(0,e.useState)(t);return We((()=>{if(t||n)return;const e=Math.random().toString(36).substr(2,6);r(`id-${e}`)}),[t,n]),t||n}function Xe(t,n){const r=(0,e.useRef)(!1);(0,e.useEffect)((()=>{if(r.current)return t();r.current=!0}),n),(0,e.useEffect)((()=>()=>{r.current=!1}),[])}function Ge(e){return Qe("function"==typeof e?e:()=>e)}function Ze(t,n,r=[]){const o=(0,e.useCallback)((e=>(t.wrapElement&&(e=t.wrapElement(e)),n(e))),[...r,t.wrapElement]);return ie(ae({},t),{wrapElement:o})}function Je(t=!1,n){const[r,o]=(0,e.useState)(null);return{portalRef:Ye(o,n),portalNode:r,domReady:!t||r}}Symbol("setNextState");var et=!1,tt=0,nt=0;function rt(e){(function(e){const t=e.movementX||e.screenX-tt,n=e.movementY||e.screenY-nt;return tt=e.screenX,nt=e.screenY,t||n||!1})(e)&&(et=!0)}function ot(){et=!1}function at(e,t){const n=e.__unstableInternals;return ke(n,"Invalid store"),n[t]}function it(e,...t){let n=e,r=n,o=Symbol(),a=!1;const i=new Set,l=new Set,u=new Set,s=new Set,c=new WeakMap,f=new WeakMap,d=(e,t,n=u)=>(n.add(t),f.set(t,e),()=>{var e;null==(e=c.get(t))||e(),c.delete(t),f.delete(t),n.delete(t)}),p=(e,a,l=!1)=>{if(!be(n,e))return;const d=(p=a,m=n[e],function(e){return"function"==typeof e}(p)?p(function(e){return"function"==typeof e}(m)?m():m):p);var p,m;if(d===n[e])return;l||t.forEach((t=>{var n;null==(n=null==t?void 0:t.setState)||n.call(t,e,d)}));const h=n;n=ve(he({},n),{[e]:d});const v=Symbol();o=v,i.add(e);const g=(t,r,o)=>{var a;const i=f.get(t);i&&!i.some((t=>o?o.has(t):t===e))||(null==(a=c.get(t))||a(),c.set(t,t(n,r)))};u.forEach((e=>{g(e,h)})),queueMicrotask((()=>{if(o!==v)return;const e=n;s.forEach((e=>{g(e,r,i)})),r=e,i.clear()}))},m={getState:()=>n,setState:p,__unstableInternals:{setup:e=>(l.add(e),()=>l.delete(e)),init:()=>{if(a)return ye;if(!t.length)return ye;a=!0;const e=(r=n,Object.keys(r)).map((e=>we(...t.map((t=>{var n;const r=null==(n=null==t?void 0:t.getState)?void 0:n.call(t);if(r&&be(r,e))return ct(t,[e],(t=>p(e,t[e],!0)))})))));var r;const o=[];l.forEach((e=>o.push(e())));const i=t.map(ut);return we(...e,...o,...i,(()=>{a=!1}))},subscribe:(e,t)=>d(e,t),sync:(e,t)=>(c.set(t,t(n,n)),d(e,t)),batch:(e,t)=>(c.set(t,t(n,r)),d(e,t,s)),pick:e=>it(function(e,t){const n={};for(const r of t)be(e,r)&&(n[r]=e[r]);return n}(n,e),m),omit:e=>it(function(e,t){const n=he({},e);for(const e of t)be(n,e)&&delete n[e];return n}(n,e),m)}};return m}function lt(e,...t){if(e)return at(e,"setup")(...t)}function ut(e,...t){if(e)return at(e,"init")(...t)}function st(e,...t){if(e)return at(e,"subscribe")(...t)}function ct(e,...t){if(e)return at(e,"sync")(...t)}function ft(e,...t){if(e)return at(e,"omit")(...t)}function dt(...e){const t=e.reduce(((e,t)=>{var n;const r=null==(n=null==t?void 0:t.getState)?void 0:n.call(t);return r?he(he({},e),r):e}),{});return it(t,...e)}var pt=o(1688),{useSyncExternalStore:mt}=pt,ht=()=>()=>{};function vt(t,n=xe){const r=e.useCallback((e=>t?st(t,null,e):ht()),[t]),o=()=>{const e="string"==typeof n?n:null,r="function"==typeof n?n:null,o=null==t?void 0:t.getState();return r?r(o):o&&e&&be(o,e)?o[e]:void 0};return mt(r,o,o)}function gt(t,n,r,o){const a=be(n,r)?n[r]:void 0,i=o?n[o]:void 0,l=qe({value:a,setValue:i}),u=e.useRef(!0);We((()=>ct(t,[r],((e,t)=>{const{value:n,setValue:o}=l.current;o&&e[r]!==t[r]&&e[r]!==n&&(u.current=!1,o(e[r]))}))),[t,r]),We((()=>{if(void 0!==a)return u.current=!0,ct(t,[r],(()=>{void 0!==a&&u.current&&t.setState(r,a)}))}))}function yt(t,n){const[r,o]=e.useState((()=>t(n)));We((()=>ut(r)),[r]);const a=e.useCallback((e=>vt(r,e)),[r]);return[e.useMemo((()=>ie(ae({},r),{useState:a})),[r,a]),Qe((()=>{o((e=>t(ae(ae({},n),e.getState()))))}))]}function bt(e={}){const t=dt(e.store,ft(e.disclosure,["contentElement","disclosureElement"])),n=null==t?void 0:t.getState(),r=_e(e.open,null==n?void 0:n.open,e.defaultOpen,!1),o=_e(e.animated,null==n?void 0:n.animated,!1),a=it({open:r,animated:o,animating:!!o&&r,mounted:r,contentElement:_e(null==n?void 0:n.contentElement,null),disclosureElement:_e(null==n?void 0:n.disclosureElement,null)},t);return lt(a,(()=>ct(a,["animated","animating"],(e=>{e.animated||a.setState("animating",!1)})))),lt(a,(()=>st(a,["open"],(()=>{a.getState().animated&&a.setState("animating",!0)})))),lt(a,(()=>ct(a,["open","animating"],(e=>{a.setState("mounted",e.open||e.animating)})))),ve(he({},a),{setOpen:e=>a.setState("open",e),show:()=>a.setState("open",!0),hide:()=>a.setState("open",!1),toggle:()=>a.setState("open",(e=>!e)),stopAnimation:()=>a.setState("animating",!1),setContentElement:e=>a.setState("contentElement",e),setDisclosureElement:e=>a.setState("disclosureElement",e)})}function wt(e,t,n){return Xe(t,[n.store,n.disclosure]),gt(e,n,"open","setOpen"),gt(e,n,"mounted","setMounted"),gt(e,n,"animated"),e}function xt(e={}){return bt(e)}function kt(e,t,n){return wt(e,t,n)}function St(e,t,n){return gt(e=function(e,t,n){return Xe(t,[n.popover]),gt(e=kt(e,t,n),n,"placement"),e}(e,t,n),n,"timeout"),gt(e,n,"showTimeout"),gt(e,n,"hideTimeout"),e}function Et(e={}){var t;const n=null==(t=e.store)?void 0:t.getState(),r=function(e={}){var t;const n=null==(t=e.store)?void 0:t.getState(),r=function(e={}){var t=e,{popover:n}=t,r=ge(t,["popover"]);const o=dt(r.store,ft(n,["arrowElement","anchorElement","contentElement","popoverElement","disclosureElement"])),a=null==o?void 0:o.getState(),i=xt(ve(he({},r),{store:o})),l=_e(r.placement,null==a?void 0:a.placement,"bottom"),u=it(ve(he({},i.getState()),{placement:l,currentPlacement:l,anchorElement:_e(null==a?void 0:a.anchorElement,null),popoverElement:_e(null==a?void 0:a.popoverElement,null),arrowElement:_e(null==a?void 0:a.arrowElement,null),rendered:Symbol("rendered")}),i,o);return ve(he(he({},i),u),{setAnchorElement:e=>u.setState("anchorElement",e),setPopoverElement:e=>u.setState("popoverElement",e),setArrowElement:e=>u.setState("arrowElement",e),render:()=>u.setState("rendered",Symbol("rendered"))})}(ve(he({},e),{placement:_e(e.placement,null==n?void 0:n.placement,"bottom")})),o=_e(e.timeout,null==n?void 0:n.timeout,500),a=it(ve(he({},r.getState()),{timeout:o,showTimeout:_e(e.showTimeout,null==n?void 0:n.showTimeout),hideTimeout:_e(e.hideTimeout,null==n?void 0:n.hideTimeout),autoFocusOnShow:_e(null==n?void 0:n.autoFocusOnShow,!1)}),r,e.store);return ve(he(he({},r),a),{setAutoFocusOnShow:e=>a.setState("autoFocusOnShow",e)})}(ve(he({},e),{placement:_e(e.placement,null==n?void 0:n.placement,"top"),hideTimeout:_e(e.hideTimeout,null==n?void 0:n.hideTimeout,0)})),o=it(ve(he({},r.getState()),{type:_e(e.type,null==n?void 0:n.type,"description"),skipTimeout:_e(e.skipTimeout,null==n?void 0:n.skipTimeout,300)}),r,e.store);return he(he({},r),o)}var _t=o(5893);function Ct(t){return e.forwardRef(((e,n)=>t(ae({ref:n},e))))}function Pt(t,n){const r=n,{as:o,wrapElement:a,render:i}=r,l=le(r,["as","wrapElement","render"]);let u;const s=Ye(n.ref,function(t){return function(t){return!!t&&!!(0,e.isValidElement)(t)&&"ref"in t}(t)?t.ref:null}(i));if(o&&"string"!=typeof o)u=(0,_t.jsx)(o,ie(ae({},l),{render:i}));else if(e.isValidElement(i)){const t=ie(ae({},i.props),{ref:s});u=e.cloneElement(i,function(e,t){const n=ae({},e);for(const r in t){if(!be(t,r))continue;if("className"===r){const r="className";n[r]=e[r]?`${e[r]} ${t[r]}`:t[r];continue}if("style"===r){const r="style";n[r]=e[r]?ae(ae({},e[r]),t[r]):t[r];continue}const o=t[r];if("function"==typeof o&&r.startsWith("on")){const t=e[r];if("function"==typeof t){n[r]=(...e)=>{o(...e),t(...e)};continue}}n[r]=o}return n}(l,t))}else if(i)u=i(l);else if("function"==typeof n.children){const e=l,{children:t}=e,r=le(e,["children"]);u=n.children(r)}else u=o?(0,_t.jsx)(o,ae({},l)):(0,_t.jsx)(t,ae({},l));return a?a(u):u}function Ot(e){return(t={})=>{const n=e(t),r={};for(const e in n)be(n,e)&&void 0!==n[e]&&(r[e]=n[e]);return r}}function Tt(t=[],n=[]){const r=e.createContext(void 0),o=e.createContext(void 0),a=()=>e.useContext(r),i=e=>t.reduceRight(((t,n)=>(0,_t.jsx)(n,ie(ae({},e),{children:t}))),(0,_t.jsx)(r.Provider,ae({},e)));return{context:r,scopedContext:o,useContext:a,useScopedContext:(t=!1)=>{const n=e.useContext(o),r=a();return t?n:n||r},useProviderContext:()=>{const t=e.useContext(o),n=a();if(!t||t!==n)return n},ContextProvider:i,ScopedContextProvider:e=>(0,_t.jsx)(i,ie(ae({},e),{children:n.reduceRight(((t,n)=>(0,_t.jsx)(n,ie(ae({},e),{children:t}))),(0,_t.jsx)(o.Provider,ae({},e)))}))}}var Nt=Tt(),Lt=(Nt.useContext,Nt.useScopedContext,Nt.useProviderContext),Rt=Tt([Nt.ContextProvider],[Nt.ScopedContextProvider]),At=(Rt.useContext,Rt.useScopedContext,Rt.useProviderContext),zt=Rt.ContextProvider,Ft=Rt.ScopedContextProvider,Mt=(0,e.createContext)(void 0),Dt=(0,e.createContext)(void 0),jt=Tt([zt],[Ft]),It=(jt.useContext,jt.useScopedContext,jt.useProviderContext),$t=jt.ContextProvider,Ut=jt.ScopedContextProvider,Vt=Tt([$t],[Ut]),Ht=(Vt.useContext,Vt.useScopedContext,Vt.useProviderContext),Bt=Vt.ContextProvider,Wt=Vt.ScopedContextProvider,qt=(0,e.createContext)(!0),Qt="input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";function Yt(e){return!!Fe(e,Qt)&&!!Me(e)&&!De(e,"[inert]")}function Kt(e){if(!Yt(e))return!1;if(function(e){return parseInt(e.getAttribute("tabindex")||"0",10)<0}(e))return!1;if(!("form"in e))return!0;if(!e.form)return!0;if(e.checked)return!0;if("radio"!==e.type)return!0;const t=e.form.elements.namedItem(e.name);if(!t)return!0;if(!("length"in t))return!0;const n=Ne(e);return!n||n===e||!("form"in n)||n.form!==e.form||n.name!==e.name}function Xt(e,t){const n=Array.from(e.querySelectorAll(Qt));t&&n.unshift(e);const r=n.filter(Yt);return r.forEach(((e,t)=>{if(Re(e)&&e.contentDocument){const n=e.contentDocument.body;r.splice(t,1,...Xt(n))}})),r}function Gt(e,t,n){const r=Array.from(e.querySelectorAll(Qt)),o=r.filter(Kt);return t&&Kt(e)&&o.unshift(e),o.forEach(((e,t)=>{if(Re(e)&&e.contentDocument){const r=Gt(e.contentDocument.body,!1,n);o.splice(t,1,...r)}})),!o.length&&n?r:o}function Zt(e,t){return function(e,t,n,r){const o=Ne(e),a=Xt(e,!1),i=a.indexOf(o),l=a.slice(i+1);return l.find(Kt)||(n?a.find(Kt):null)||(r?l[0]:null)||null}(document.body,0,e,t)}function Jt(e,t){return function(e,t,n,r){const o=Ne(e),a=Xt(e,!1).reverse(),i=a.indexOf(o),l=a.slice(i+1);return l.find(Kt)||(n?a.find(Kt):null)||(r?l[0]:null)||null}(document.body,0,e,t)}function en(e){const t=Ne(e);if(!t)return!1;if(t===e)return!0;const n=t.getAttribute("aria-activedescendant");return!!n&&n===e.id}function tn(e){const t=Ne(e);if(!t)return!1;if(Le(e,t))return!0;const n=t.getAttribute("aria-activedescendant");return!!n&&"id"in e&&(n===e.id||!!e.querySelector(`#${CSS.escape(n)}`))}function nn(e){!tn(e)&&Yt(e)&&e.focus()}function rn(e){var t;const n=null!=(t=e.getAttribute("tabindex"))?t:"";e.setAttribute("data-tabindex",n),e.setAttribute("tabindex","-1")}function on(){return!!Oe&&/mac|iphone|ipad|ipod/i.test(navigator.platform)}function an(){return Oe&&on()&&/apple/i.test(navigator.vendor)}var ln=an(),un=["text","search","url","tel","email","password","number","date","month","week","time","datetime","datetime-local"];function sn(e){return!("input"!==e.tagName.toLowerCase()||!e.type||"radio"!==e.type&&"checkbox"!==e.type)}function cn(e,t,n,r,o){return e?t?n&&!r?-1:void 0:n?o:o||0:o}function fn(e,t){return Qe((n=>{null==e||e(n),n.defaultPrevented||t&&(n.stopPropagation(),n.preventDefault())}))}var dn=!0;function pn(e){const t=e.target;t&&"hasAttribute"in t&&(t.hasAttribute("data-focus-visible")||(dn=!1))}function mn(e){e.metaKey||e.ctrlKey||e.altKey||(dn=!0)}var hn=Ot((t=>{var n=t,{focusable:r=!0,accessibleWhenDisabled:o,autoFocus:a,onFocusVisible:i}=n,l=le(n,["focusable","accessibleWhenDisabled","autoFocus","onFocusVisible"]);const u=(0,e.useRef)(null);(0,e.useEffect)((()=>{r&&(Ue("mousedown",pn,!0),Ue("keydown",mn,!0))}),[r]),ln&&(0,e.useEffect)((()=>{if(!r)return;const e=u.current;if(!e)return;if(!sn(e))return;const t=function(e){return"labels"in e?e.labels:null}(e);if(!t)return;const n=()=>queueMicrotask((()=>e.focus()));return t.forEach((e=>e.addEventListener("mouseup",n))),()=>{t.forEach((e=>e.removeEventListener("mouseup",n)))}}),[r]);const s=r&&Ee(l),c=!!s&&!o,[f,d]=(0,e.useState)(!1);(0,e.useEffect)((()=>{r&&c&&f&&d(!1)}),[r,c,f]),(0,e.useEffect)((()=>{if(!r)return;if(!f)return;const e=u.current;if(!e)return;if("undefined"==typeof IntersectionObserver)return;const t=new IntersectionObserver((()=>{Yt(e)||d(!1)}));return t.observe(e),()=>t.disconnect()}),[r,f]);const p=fn(l.onKeyPressCapture,s),m=fn(l.onMouseDownCapture,s),h=fn(l.onClickCapture,s),v=l.onMouseDown,g=Qe((e=>{if(null==v||v(e),e.defaultPrevented)return;if(!r)return;const t=e.currentTarget;if(!ln)return;if(function(e){return Boolean(e.currentTarget&&!Le(e.currentTarget,e.target))}(e))return;if(!Ae(t)&&!sn(t))return;let n=!1;const o=()=>{n=!0};t.addEventListener("focusin",o,{capture:!0,once:!0}),$e(t,"mouseup",(()=>{t.removeEventListener("focusin",o,!0),n||nn(t)}))})),y=(e,t)=>{if(t&&(e.currentTarget=t),!r)return;const n=e.currentTarget;n&&en(n)&&(null==i||i(e),e.defaultPrevented||d(!0))},b=l.onKeyDownCapture,w=Qe((e=>{if(null==b||b(e),e.defaultPrevented)return;if(!r)return;if(f)return;if(e.metaKey)return;if(e.altKey)return;if(e.ctrlKey)return;if(!je(e))return;const t=e.currentTarget;queueMicrotask((()=>y(e,t)))})),x=l.onFocusCapture,k=Qe((e=>{if(null==x||x(e),e.defaultPrevented)return;if(!r)return;if(!je(e))return void d(!1);const t=e.currentTarget,n=()=>y(e,t);dn||function(e){const{tagName:t,readOnly:n,type:r}=e;return"TEXTAREA"===t&&!n||"SELECT"===t&&!n||("INPUT"!==t||n?!!e.isContentEditable:un.includes(r))}(e.target)?queueMicrotask(n):function(e){return"combobox"===e.getAttribute("role")&&!!e.dataset.name}(e.target)?$e(e.target,"focusout",n):d(!1)})),S=l.onBlur,E=Qe((e=>{null==S||S(e),r&&Ie(e)&&d(!1)})),_=(0,e.useContext)(qt),C=Qe((e=>{r&&a&&e&&_&&queueMicrotask((()=>{en(e)||Yt(e)&&e.focus()}))})),P=function(t,n){const r=e=>{if("string"==typeof e)return e},[o,a]=(0,e.useState)((()=>r(n)));return We((()=>{const e=t&&"current"in t?t.current:t;a((null==e?void 0:e.tagName.toLowerCase())||r(n))}),[t,n]),o}(u,l.as),O=r&&function(e){return!e||"button"===e||"input"===e||"select"===e||"textarea"===e||"a"===e}(P),T=r&&function(e){return!e||"button"===e||"input"===e||"select"===e||"textarea"===e}(P),N=c?ae({pointerEvents:"none"},l.style):l.style;return ie(ae({"data-focus-visible":r&&f?"":void 0,"data-autofocus":!!a||void 0,"aria-disabled":!!s||void 0},l),{ref:Ye(u,C,l.ref),style:N,tabIndex:cn(r,c,O,T,l.tabIndex),disabled:!(!T||!c)||void 0,contentEditable:s?void 0:l.contentEditable,onKeyPressCapture:p,onClickCapture:h,onMouseDownCapture:m,onMouseDown:g,onKeyDownCapture:w,onFocusCapture:k,onBlur:E})}));Ct((e=>Pt("div",e=hn(e))));var vn=Ot((t=>{var n=t,{store:r,showOnHover:o=!0}=n,a=le(n,["store","showOnHover"]);const i=Ht();ke(r=r||i,!1);const l=r.useState("mounted"),u=Ee(a),s=(0,e.useRef)(0);(0,e.useEffect)((()=>()=>window.clearTimeout(s.current)),[]),(0,e.useEffect)((()=>Ue("mouseleave",(e=>{if(!r)return;const{anchorElement:t}=r.getState();t&&e.target===t&&(window.clearTimeout(s.current),s.current=0)}),!0)),[r]);const c=a.onMouseMove,f=Ge(o),d=((0,e.useEffect)((()=>{Ue("mousemove",rt,!0),Ue("mousedown",ot,!0),Ue("mouseup",ot,!0),Ue("keydown",ot,!0),Ue("scroll",ot,!0)}),[]),Qe((()=>et))),p=Qe((e=>{if(null==r||r.setAnchorElement(e.currentTarget),null==c||c(e),u)return;if(e.defaultPrevented)return;if(s.current)return;if(!d())return;if(!r)return;if(!f(e))return;const{showTimeout:t,timeout:n}=r.getState();s.current=window.setTimeout((()=>{s.current=0,d()&&(null==r||r.show())}),null!=t?t:n)}));return a=ie(ae({},a),{ref:Ye(r.setAnchorElement,l?r.setDisclosureElement:void 0,a.ref),onMouseMove:p}),hn(a)}));Ct((e=>Pt("a",vn(e))));var gn=Tt([Bt],[Wt]),yn=(gn.useContext,gn.useScopedContext,gn.useProviderContext),bn=(gn.ContextProvider,gn.ScopedContextProvider),wn=it({activeStore:null}),xn=Ot((t=>{var n=t,{store:r,showOnHover:o=!0}=n,a=le(n,["store","showOnHover"]);const i=yn();ke(r=r||i,!1);const l=(0,e.useRef)(!1);(0,e.useEffect)((()=>ct(r,["mounted"],(e=>{e.mounted||(l.current=!1)}))),[r]),(0,e.useEffect)((()=>ct(r,["mounted","skipTimeout"],(e=>{if(!r)return;if(e.mounted){const{activeStore:e}=wn.getState();return e!==r&&(null==e||e.hide()),wn.setState("activeStore",r)}const t=setTimeout((()=>{const{activeStore:e}=wn.getState();e===r&&wn.setState("activeStore",null)}),e.skipTimeout);return()=>clearTimeout(t)}))),[r]);const u=a.onMouseEnter,s=Qe((e=>{null==u||u(e),l.current=!0})),c=a.onFocusVisible,f=Qe((e=>{null==c||c(e),e.defaultPrevented||(null==r||r.setAnchorElement(e.currentTarget),null==r||r.show())})),d=a.onBlur,p=Qe((e=>{if(null==d||d(e),e.defaultPrevented)return;const{activeStore:t}=wn.getState();t===r&&wn.setState("activeStore",null)})),m=r.useState("type"),h=r.useState((e=>{var t;return null==(t=e.contentElement)?void 0:t.id}));return a=ie(ae({"aria-labelledby":"label"===m?h:void 0,"aria-describedby":"description"===m?h:void 0},a),{onMouseEnter:s,onFocusVisible:f,onBlur:p}),vn(ae({store:r,showOnHover:e=>{if(!l.current)return!1;if(Se(o,e))return!1;const{activeStore:t}=wn.getState();return!t||(null==r||r.show(),!1)}},a))})),kn=Ct((e=>Pt("div",xn(e))));function Sn(e){return[e.clientX,e.clientY]}function En(e,t){const[n,r]=e;let o=!1;for(let e=t.length,a=0,i=e-1;a<e;i=a++){const[l,u]=t[a],[s,c]=t[i],[,f]=t[0===i?e-1:i-1]||[0,0],d=(u-c)*(n-l)-(l-s)*(r-u);if(c<u){if(r>=c&&r<u){if(0===d)return!0;d>0&&(r===c?r>f&&(o=!o):o=!o)}}else if(u<c){if(r>u&&r<=c){if(0===d)return!0;d<0&&(r===c?r<f&&(o=!o):o=!o)}}else if(r==u&&(n>=s&&n<=l||n>=l&&n<=s))return!0}return o}function Cn(e,t){const n=e.getBoundingClientRect(),{top:r,right:o,bottom:a,left:i}=n,[l,u]=function(e,t){const{top:n,right:r,bottom:o,left:a}=t,[i,l]=e;return[i<a?"left":i>r?"right":null,l<n?"top":l>o?"bottom":null]}(t,n),s=[t];return l?("top"!==u&&s.push(["left"===l?i:o,r]),s.push(["left"===l?o:i,r]),s.push(["left"===l?o:i,a]),"bottom"!==u&&s.push(["left"===l?i:o,a])):"top"===u?(s.push([i,r]),s.push([i,a]),s.push([o,a]),s.push([o,r])):(s.push([i,a]),s.push([i,r]),s.push([o,r]),s.push([o,a])),s}function Pn(e,...t){if(!e)return!1;const n=e.getAttribute("data-backdrop");return null!=n&&(""===n||"true"===n||!t.length||t.some((e=>n===e)))}var On=new WeakMap;function Tn(e,t,n){On.has(e)||On.set(e,new Map);const r=On.get(e),o=r.get(t);if(!o)return r.set(t,n()),()=>{var e;null==(e=r.get(t))||e(),r.delete(t)};const a=n(),i=()=>{a(),o(),r.delete(t)};return r.set(t,i),()=>{r.get(t)===i&&(a(),r.set(t,o))}}function Nn(e,t,n){return Tn(e,t,(()=>{const r=e.getAttribute(t);return e.setAttribute(t,n),()=>{null==r?e.removeAttribute(t):e.setAttribute(t,r)}}))}function Ln(e,t,n){return Tn(e,t,(()=>{const r=t in e,o=e[t];return e[t]=n,()=>{r?e[t]=o:delete e[t]}}))}function Rn(e,t){return e?Tn(e,"style",(()=>{const n=e.style.cssText;return Object.assign(e.style,t),()=>{e.style.cssText=n}})):()=>{}}var An=["SCRIPT","STYLE"];function zn(e){return`__ariakit-dialog-snapshot-${e}`}function Fn(e,t,n){return!An.includes(t.tagName)&&!!function(e,t){const n=Te(t),r=zn(e);if(!n.body[r])return!0;for(;;){if(t===n.body)return!1;if(t[r])return!0;if(!t.parentElement)return!1;t=t.parentElement}}(e,t)&&!n.some((e=>e&&Le(t,e)))}function Mn(e,t,n,r){for(let o of t){if(!(null==o?void 0:o.isConnected))continue;const a=t.some((e=>!!e&&e!==o&&e.contains(o))),i=Te(o),l=o;for(;o.parentElement&&o!==i.body;){if(null==r||r(o.parentElement,l),!a)for(const r of o.parentElement.children)Fn(e,r,t)&&n(r,l);o=o.parentElement}}}function Dn(e="",t=!1){return`__ariakit-dialog-${t?"ancestor":"outside"}${e?`-${e}`:""}`}function jn(e,t=""){return we(Ln(e,Dn("",!0),!0),Ln(e,Dn(t,!0),!0))}function In(e,t){if(e[Dn(t,!0)])return!0;const n=Dn(t);for(;;){if(e[n])return!0;if(!e.parentElement)return!1;e=e.parentElement}}function $n(e,t){const n=[],r=t.map((e=>null==e?void 0:e.id));return Mn(e,t,(t=>{Pn(t,...r)||n.unshift(function(e,t=""){return we(Ln(e,Dn(),!0),Ln(e,Dn(t),!0))}(t,e))}),((t,r)=>{r.hasAttribute("data-dialog")&&r.id!==e||n.unshift(jn(t,e))})),()=>{n.forEach((e=>e()))}}Ot((e=>e));var Un=Ct((e=>Pt("div",e)));function Vn(e,t){const n=setTimeout(t,e);return()=>clearTimeout(n)}function Hn(...e){return e.join(", ").split(", ").reduce(((e,t)=>{const n=1e3*parseFloat(t||"0s");return n>e?n:e}),0)}function Bn(e,t,n){return!(n||!1===t||e&&!t)}Object.assign(Un,["a","button","details","dialog","div","form","h1","h2","h3","h4","h5","h6","header","img","input","label","li","nav","ol","p","section","select","span","textarea","ul","svg"].reduce(((e,t)=>(e[t]=Ct((e=>Pt(t,e))),e)),{}));var Wn=Ot((t=>{var n=t,{store:r,alwaysVisible:o}=n,a=le(n,["store","alwaysVisible"]);const i=Lt();ke(r=r||i,!1);const l=Ke(a.id),[u,s]=(0,e.useState)(null),c=r.useState("open"),f=r.useState("mounted"),d=r.useState("animated"),p=r.useState("contentElement");We((()=>{if(d){if(null==p?void 0:p.isConnected)return function(e){let t=requestAnimationFrame((()=>{t=requestAnimationFrame(e)}));return()=>cancelAnimationFrame(t)}((()=>{s(c?"enter":"leave")}));s(null)}}),[d,p,c]),We((()=>{if(!r)return;if(!d)return;if(!p)return;if(!u)return;if("enter"===u&&!c)return;if("leave"===u&&c)return;if("number"==typeof d)return Vn(d,r.stopAnimation);const{transitionDuration:e,animationDuration:t,transitionDelay:n,animationDelay:o}=getComputedStyle(p),a=Hn(n,o)+Hn(e,t);return a?Vn(a,r.stopAnimation):void 0}),[r,d,p,c,u]);const m=Bn(f,(a=Ze(a,(e=>(0,_t.jsx)(Ft,{value:r,children:e})),[r])).hidden,o),h=m?ie(ae({},a.style),{display:"none"}):a.style;return ie(ae({id:l,"data-enter":"enter"===u?"":void 0,"data-leave":"leave"===u?"":void 0,hidden:m},a),{ref:Ye(l?r.setContentElement:null,a.ref),style:h})})),qn=Ct((e=>Pt("div",Wn(e))));function Qn({store:t,backdrop:n,backdropProps:r,alwaysVisible:o,hidden:a}){const i=(0,e.useRef)(null),l=function(e={}){const[t,n]=yt(bt,e);return wt(t,n,e)}({disclosure:t}),u=t.useState("contentElement");We((()=>{const e=i.current,t=u;e&&t&&(e.style.zIndex=getComputedStyle(t).zIndex)}),[u]),We((()=>{const e=null==u?void 0:u.id;if(!e)return;const t=i.current;return t?jn(t,e):void 0}),[u]),null!=a&&(r=ie(ae({},r),{hidden:a}));const s=Wn(ie(ae({store:l,role:"presentation","data-backdrop":(null==u?void 0:u.id)||"",alwaysVisible:o},r),{ref:Ye(null==r?void 0:r.ref,i),style:ae({position:"fixed",top:0,right:0,bottom:0,left:0},null==r?void 0:r.style)}));if(!n)return null;if((0,e.isValidElement)(n))return(0,_t.jsx)(Un,ie(ae({},s),{render:n}));const c="boolean"!=typeof n?n:"div";return(0,_t.jsx)(Un,ie(ae({},s),{render:(0,_t.jsx)(c,{})}))}Ct((e=>{var t=e,{unmountOnHide:n}=t,r=le(t,["unmountOnHide"]);const o=Lt();return!1===vt(r.store||o,(e=>!n||(null==e?void 0:e.mounted)))?null:(0,_t.jsx)(qn,ae({},r))}));var Yn=(0,e.createContext)({});function Kn({store:t,type:n,listener:r,capture:o,domReady:a}){const i=Qe(r),l=t.useState("open"),u=(0,e.useRef)(!1);We((()=>{if(!l)return;if(!a)return;const{contentElement:e}=t.getState();if(!e)return;const n=()=>{u.current=!0};return e.addEventListener("focusin",n,!0),()=>e.removeEventListener("focusin",n,!0)}),[t,l,a]),(0,e.useEffect)((()=>{if(l)return Ue(n,(e=>{const{contentElement:n,disclosureElement:r}=t.getState(),o=e.target;n&&o&&function(e){return"HTML"===e.tagName||Le(Te(e).body,e)}(o)&&(Le(n,o)||function(e,t){if(!e)return!1;if(Le(e,t))return!0;const n=t.getAttribute("aria-activedescendant");if(n){const t=Te(e).getElementById(n);if(t)return Le(e,t)}return!1}(r,o)||o.hasAttribute("data-focus-trap")||function(e,t){if(!("clientY"in e))return!1;const n=t.getBoundingClientRect();return 0!==n.width&&0!==n.height&&n.top<=e.clientY&&e.clientY<=n.top+n.height&&n.left<=e.clientX&&e.clientX<=n.left+n.width}(e,n)||u.current&&!In(o,n.id)||i(e))}),o)}),[l,o])}function Xn(e,t){return"function"==typeof e?e(t):!!e}function Gn(e){return Nn(e,"aria-hidden","true")}function Zn(e,t){return"style"in e?"inert"in HTMLElement.prototype?Ln(e,"inert",!0):we(...Gt(e,!0).map((e=>(null==t?void 0:t.some((t=>t&&Le(t,e))))?ye:Nn(e,"tabindex","-1"))),Gn(e),Rn(e,{pointerEvents:"none",userSelect:"none",cursor:"default"})):ye}var Jn=o(3935);function er(t,n,r){const o=function({attribute:t,contentId:n,contentElement:r,enabled:o}){const[a,i]=(0,e.useReducer)((()=>[]),[]),l=(0,e.useCallback)((()=>{if(!o)return!1;if(!r)return!1;const{body:e}=Te(r),a=e.getAttribute(t);return!a||a===n}),[a,o,r,t,n]);return(0,e.useEffect)((()=>{if(!o)return;if(!n)return;if(!r)return;const{body:e}=Te(r);if(l())return e.setAttribute(t,n),()=>e.removeAttribute(t);const a=new MutationObserver((()=>(0,Jn.flushSync)(i)));return a.observe(e,{attributeFilter:[t]}),()=>a.disconnect()}),[a,o,n,r,l,t]),l}({attribute:"data-dialog-prevent-body-scroll",contentElement:t,contentId:n,enabled:r});(0,e.useEffect)((()=>{if(!o())return;if(!t)return;const e=Te(t),n=function(e){return Te(e).defaultView||window}(t),{documentElement:r,body:a}=e,i=r.style.getPropertyValue("--scrollbar-width"),l=i?parseInt(i):n.innerWidth-r.clientWidth,u=function(e){const t=e.getBoundingClientRect().left;return Math.round(t)+e.scrollLeft?"paddingLeft":"paddingRight"}(r),s=on()&&!(Oe&&navigator.platform.startsWith("Mac")&&(!Oe||!navigator.maxTouchPoints));return we((f="--scrollbar-width",d=`${l}px`,(c=r)?Tn(c,f,(()=>{const e=c.style.getPropertyValue(f);return c.style.setProperty(f,d),()=>{e?c.style.setProperty(f,e):c.style.removeProperty(f)}})):()=>{}),s?(()=>{var e,t;const{scrollX:r,scrollY:o,visualViewport:i}=n,s=null!=(e=null==i?void 0:i.offsetLeft)?e:0,c=null!=(t=null==i?void 0:i.offsetTop)?t:0,f=Rn(a,{position:"fixed",overflow:"hidden",top:-(o-Math.floor(c))+"px",left:-(r-Math.floor(s))+"px",right:"0",[u]:`${l}px`});return()=>{f(),n.scrollTo(r,o)}})():Rn(a,{overflow:"hidden",[u]:`${l}px`}));var c,f,d}),[o,t])}var tr=Ot((e=>{var t=e,{autoFocusOnShow:n=!0}=t,r=le(t,["autoFocusOnShow"]);return Ze(r,(e=>(0,_t.jsx)(qt.Provider,{value:n,children:e})),[n])}));Ct((e=>Pt("div",tr(e))));var nr=(0,e.createContext)(0);function rr({level:t,children:n}){const r=(0,e.useContext)(nr),o=Math.max(Math.min(t||r+1,6),1);return(0,_t.jsx)(nr.Provider,{value:o,children:n})}var or=Ot((e=>ie(ae({},e),{style:ae({border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",whiteSpace:"nowrap",width:"1px"},e.style)})));Ct((e=>Pt("span",or(e))));var ar=Ot((e=>(e=ie(ae({"data-focus-trap":"",tabIndex:0,"aria-hidden":!0},e),{style:ae({position:"fixed",top:0,left:0},e.style)}),or(e)))),ir=Ct((e=>Pt("span",ar(e)))),lr=(0,e.createContext)(null);function ur(e){queueMicrotask((()=>{null==e||e.focus()}))}var sr=Ot((t=>{var n=t,{preserveTabOrder:r,portalElement:o,portalRef:a,portal:i=!0}=n,l=le(n,["preserveTabOrder","portalElement","portalRef","portal"]);const u=(0,e.useRef)(null),s=Ye(u,l.ref),c=(0,e.useContext)(lr),[f,d]=(0,e.useState)(null),p=(0,e.useRef)(null),m=(0,e.useRef)(null),h=(0,e.useRef)(null),v=(0,e.useRef)(null);return We((()=>{const e=u.current;if(!e||!i)return void d(null);const t=function(e,t){return t?"function"==typeof t?t(e):t:Te(e).createElement("div")}(e,o);if(!t)return void d(null);const n=t.isConnected;if(!n){const n=c||function(e){return Te(e).body}(e);n.appendChild(t)}return t.id||(t.id=e.id?`portal/${e.id}`:function(e="id"){return`${e?`${e}-`:""}${Math.random().toString(36).substr(2,6)}`}()),d(t),Ce(a,t),n?void 0:()=>{t.remove(),Ce(a,null)}}),[i,o,c,a]),(0,e.useEffect)((()=>{if(!f)return;if(!r)return;let e=0;const t=t=>{if(Ie(t))return"focusin"===t.type?function(e){const t=e.querySelectorAll("[data-tabindex]"),n=e=>{const t=e.getAttribute("data-tabindex");e.removeAttribute("data-tabindex"),t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")};e.hasAttribute("data-tabindex")&&n(e),t.forEach(n)}(f):(cancelAnimationFrame(e),void(e=requestAnimationFrame((()=>{Gt(f,!0).forEach(rn)}))))};return f.addEventListener("focusin",t,!0),f.addEventListener("focusout",t,!0),()=>{f.removeEventListener("focusin",t,!0),f.removeEventListener("focusout",t,!0)}}),[f,r]),l=Ze(l,(e=>(e=(0,_t.jsx)(lr.Provider,{value:f||c,children:e}),i?f?(e=(0,_t.jsxs)(_t.Fragment,{children:[r&&f&&(0,_t.jsx)(ir,{ref:m,className:"__focus-trap-inner-before",onFocus:e=>{Ie(e,f)?ur(Zt()):ur(p.current)}}),e,r&&f&&(0,_t.jsx)(ir,{ref:h,className:"__focus-trap-inner-after",onFocus:e=>{Ie(e,f)?ur(Jt()):ur(v.current)}})]}),f&&(e=(0,Jn.createPortal)(e,f)),e=(0,_t.jsxs)(_t.Fragment,{children:[r&&f&&(0,_t.jsx)(ir,{ref:p,className:"__focus-trap-outer-before",onFocus:e=>{e.relatedTarget!==v.current&&Ie(e,f)?ur(m.current):ur(Jt())}}),r&&(0,_t.jsx)("span",{"aria-owns":null==f?void 0:f.id,style:{position:"fixed"}}),e,r&&f&&(0,_t.jsx)(ir,{ref:v,className:"__focus-trap-outer-after",onFocus:e=>{if(Ie(e,f))ur(h.current);else{const e=Zt();if(e===m.current)return void requestAnimationFrame((()=>{var e;return null==(e=Zt())?void 0:e.focus()}));ur(e)}}})]})):(0,_t.jsx)("span",{ref:s,id:l.id,style:{position:"fixed"},hidden:!0}):e)),[f,c,i,l.id,r]),l=ie(ae({},l),{ref:s})}));Ct((e=>Pt("div",sr(e))));var cr=an();function fr(e,t=!1){if(!e)return null;const n="current"in e?e.current:e;return n?t?Yt(n)?n:null:n:null}var dr=Ot((t=>{var n=t,{store:r,open:o,onClose:a,focusable:i=!0,modal:l=!0,portal:u=!!l,backdrop:s=!!l,backdropProps:c,hideOnEscape:f=!0,hideOnInteractOutside:d=!0,getPersistentElements:p,preventBodyScroll:m=!!l,autoFocusOnShow:h=!0,autoFocusOnHide:v=!0,initialFocus:g,finalFocus:y,unmountOnHide:b}=n,w=le(n,["store","open","onClose","focusable","modal","portal","backdrop","backdropProps","hideOnEscape","hideOnInteractOutside","getPersistentElements","preventBodyScroll","autoFocusOnShow","autoFocusOnHide","initialFocus","finalFocus","unmountOnHide"]);const x=At(),k=(0,e.useRef)(null),S=function(e={}){const[t,n]=yt(xt,e);return kt(t,n,e)}({store:r||x,open:o,setOpen(e){if(e)return;const t=k.current;if(!t)return;const n=new Event("close",{bubbles:!1,cancelable:!0});a&&t.addEventListener("close",a,{once:!0}),t.dispatchEvent(n),n.defaultPrevented&&S.setOpen(!0)}}),{portalRef:E,domReady:_}=Je(u,w.portalRef),C=w.preserveTabOrder,P=S.useState((e=>C&&!l&&e.mounted)),O=Ke(w.id),T=S.useState("open"),N=S.useState("mounted"),L=S.useState("contentElement"),R=Bn(N,w.hidden,w.alwaysVisible);er(L,O,m&&!R),function(t,n,r){const o=function(t){const n=(0,e.useRef)();return(0,e.useEffect)((()=>{if(t)return Ue("mousedown",(e=>{n.current=e.target}),!0);n.current=null}),[t]),n}(t.useState("open")),a={store:t,domReady:r,capture:!0};Kn(ie(ae({},a),{type:"click",listener:e=>{const{contentElement:r}=t.getState(),a=o.current;a&&Me(a)&&In(a,null==r?void 0:r.id)&&Xn(n,e)&&t.hide()}})),Kn(ie(ae({},a),{type:"focusin",listener:e=>{const{contentElement:r}=t.getState();r&&e.target!==Te(r)&&Xn(n,e)&&t.hide()}})),Kn(ie(ae({},a),{type:"contextmenu",listener:e=>{Xn(n,e)&&t.hide()}}))}(S,d,_);const{wrapElement:A,nestedDialogs:z}=function(t){const n=(0,e.useContext)(Yn),[r,o]=(0,e.useState)([]),a=(0,e.useCallback)((e=>{var t;return o((t=>[...t,e])),we(null==(t=n.add)?void 0:t.call(n,e),(()=>{o((t=>t.filter((t=>t!==e))))}))}),[n]);We((()=>ct(t,["open","contentElement"],(e=>{var r;if(e.open&&e.contentElement)return null==(r=n.add)?void 0:r.call(n,t)}))),[t,n]);const i=(0,e.useMemo)((()=>({store:t,add:a})),[t,a]);return{wrapElement:(0,e.useCallback)((e=>(0,_t.jsx)(Yn.Provider,{value:i,children:e})),[i]),nestedDialogs:r}}(S);w=Ze(w,A,[A]),We((()=>{if(!T)return;const e=k.current,t=Ne(e,!0);t&&"BODY"!==t.tagName&&(e&&Le(e,t)||S.setDisclosureElement(t))}),[S,T]),cr&&(0,e.useEffect)((()=>{if(!N)return;const{disclosureElement:e}=S.getState();if(!e)return;if(!Ae(e))return;const t=()=>{let t=!1;const n=()=>{t=!0};e.addEventListener("focusin",n,{capture:!0,once:!0}),$e(e,"mouseup",(()=>{e.removeEventListener("focusin",n,!0),t||nn(e)}))};return e.addEventListener("mousedown",t),()=>{e.removeEventListener("mousedown",t)}}),[S,N]);const F=l||u&&P&&an();(0,e.useEffect)((()=>{if(!N)return;if(!_)return;const e=k.current;return e&&F?e.querySelector("[data-dialog-dismiss]")?void 0:function(e,t){const n=Te(e).createElement("button");return n.type="button",n.tabIndex=-1,n.textContent="Dismiss popup",Object.assign(n.style,{border:"0px",clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:"0px",position:"absolute",whiteSpace:"nowrap",width:"1px"}),n.addEventListener("click",t),e.prepend(n),()=>{n.removeEventListener("click",t),n.remove()}}(e,S.hide):void 0}),[S,N,_,F]),We((()=>{if(T)return;if(!N)return;if(!_)return;const e=k.current;return e?Zn(e):void 0}),[T,N,_]);const M=T&&_;We((()=>{if(!O)return;if(!M)return;const e=k.current;return function(e,t){const{body:n}=Te(t[0]),r=[];return Mn(e,t,(t=>{r.push(Ln(t,zn(e),!0))})),we(Ln(n,zn(e),!0),(()=>r.forEach((e=>e()))))}(O,[e])}),[O,M]);const D=Qe(p);We((()=>{if(!O)return;if(!M)return;const{disclosureElement:e}=S.getState(),t=[k.current,...D()||[],...z.map((e=>e.getState().contentElement))];return F?l?we($n(O,t),function(e,t){const n=[],r=t.map((e=>null==e?void 0:e.id));return Mn(e,t,(e=>{Pn(e,...r)||n.unshift(Zn(e,t))})),()=>{n.forEach((e=>e()))}}(O,t)):we($n(O,[e,...t]),function(e,t){const n=[],r=t.map((e=>null==e?void 0:e.id));return Mn(e,t,(e=>{Pn(e,...r)||n.unshift(Gn(e))})),()=>{n.forEach((e=>e()))}}(O,t)):$n(O,[e,...t])}),[O,S,M,D,z,F,l]);const j=!!h,I=Ge(h),[$,U]=(0,e.useState)(!1);(0,e.useEffect)((()=>{if(!T)return;if(!j)return;if(!_)return;if(!(null==L?void 0:L.isConnected))return;const e=fr(g,!0)||L.querySelector("[data-autofocus=true],[autofocus]")||function(e,t,n){const[r]=Gt(e,t,n);return r||null}(L,!0,u&&P)||L,t=Yt(e);I(t?e:null)&&(U(!0),queueMicrotask((()=>{e.focus(),cr&&e.scrollIntoView({block:"nearest",inline:"nearest"})})))}),[T,j,_,L,g,u,P,I]);const V=!!v,H=Ge(v),[B,W]=(0,e.useState)(!1);(0,e.useEffect)((()=>{if(T)return W(!0),()=>W(!1)}),[T]);const q=(0,e.useCallback)(((e,t=!0)=>{const{disclosureElement:n}=S.getState();if(function(e){const t=Ne();return!(!t||e&&Le(e,t)||!Yt(t))}(e))return;let r=fr(y)||n;if(null==r?void 0:r.id){const e=Te(r),t=`[aria-activedescendant="${r.id}"]`,n=e.querySelector(t);n&&(r=n)}if(r&&!Yt(r)){const e=De(r,"[data-dialog]");if(e&&e.id){const t=Te(e),n=`[aria-controls~="${e.id}"]`,o=t.querySelector(n);o&&(r=o)}}const o=r&&Yt(r);o||!t?H(o?r:null)&&o&&(null==r||r.focus()):requestAnimationFrame((()=>q(e,!1)))}),[S,y,H]);We((()=>{if(T)return;if(!B)return;if(!V)return;const e=k.current;q(e)}),[T,B,_,V,q]),(0,e.useEffect)((()=>{if(!B)return;if(!V)return;const e=k.current;return()=>q(e)}),[B,V,q]);const Q=Ge(f);(0,e.useEffect)((()=>{if(_&&N)return Ue("keydown",(e=>{if("Escape"!==e.key)return;if(e.defaultPrevented)return;const t=k.current;if(!t)return;if(In(t))return;const n=e.target;if(!n)return;const{disclosureElement:r}=S.getState();("BODY"===n.tagName||Le(t,n)||!r||Le(r,n))&&Q(e)&&S.hide()}),!0)}),[S,_,N,Q]);const Y=(w=Ze(w,(e=>(0,_t.jsx)(rr,{level:l?1:void 0,children:e})),[l])).hidden,K=w.alwaysVisible;w=Ze(w,(e=>s?(0,_t.jsxs)(_t.Fragment,{children:[(0,_t.jsx)(Qn,{store:S,backdrop:s,backdropProps:c,hidden:Y,alwaysVisible:K}),e]}):e),[S,s,c,Y,K]);const[X,G]=(0,e.useState)(),[Z,J]=(0,e.useState)();return w=Ze(w,(e=>(0,_t.jsx)(Ft,{value:S,children:(0,_t.jsx)(Mt.Provider,{value:G,children:(0,_t.jsx)(Dt.Provider,{value:J,children:e})})})),[S]),w=ie(ae({id:O,"data-dialog":"",role:"dialog",tabIndex:i?-1:void 0,"aria-labelledby":X,"aria-describedby":Z},w),{ref:Ye(k,w.ref)}),w=tr(ie(ae({},w),{autoFocusOnShow:$})),w=Wn(ae({store:S},w)),w=hn(ie(ae({},w),{focusable:i})),sr(ie(ae({portal:u},w),{portalRef:E,preserveTabOrder:P}))}));function pr(e,t=At){return Ct((n=>{const r=t();return vt(n.store||r,(e=>!n.unmountOnHide||(null==e?void 0:e.mounted)||!!n.open))?(0,_t.jsx)(e,ae({},n)):null}))}pr(Ct((e=>Pt("div",dr(e)))),At);const mr=Math.min,hr=Math.max,vr=Math.round,gr=Math.floor,yr=e=>({x:e,y:e}),br={left:"right",right:"left",bottom:"top",top:"bottom"},wr={start:"end",end:"start"};function xr(e,t,n){return hr(e,mr(t,n))}function kr(e,t){return"function"==typeof e?e(t):e}function Sr(e){return e.split("-")[0]}function Er(e){return e.split("-")[1]}function _r(e){return"x"===e?"y":"x"}function Cr(e){return"y"===e?"height":"width"}function Pr(e){return["top","bottom"].includes(Sr(e))?"y":"x"}function Or(e){return _r(Pr(e))}function Tr(e){return e.replace(/start|end/g,(e=>wr[e]))}function Nr(e){return e.replace(/left|right|bottom|top/g,(e=>br[e]))}function Lr(e){return"number"!=typeof e?function(e){return{top:0,right:0,bottom:0,left:0,...e}}(e):{top:e,right:e,bottom:e,left:e}}function Rr(e){return{...e,top:e.y,left:e.x,right:e.x+e.width,bottom:e.y+e.height}}function Ar(e,t,n){let{reference:r,floating:o}=e;const a=Pr(t),i=Or(t),l=Cr(i),u=Sr(t),s="y"===a,c=r.x+r.width/2-o.width/2,f=r.y+r.height/2-o.height/2,d=r[l]/2-o[l]/2;let p;switch(u){case"top":p={x:c,y:r.y-o.height};break;case"bottom":p={x:c,y:r.y+r.height};break;case"right":p={x:r.x+r.width,y:f};break;case"left":p={x:r.x-o.width,y:f};break;default:p={x:r.x,y:r.y}}switch(Er(t)){case"start":p[i]-=d*(n&&s?-1:1);break;case"end":p[i]+=d*(n&&s?-1:1)}return p}async function zr(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:a,rects:i,elements:l,strategy:u}=e,{boundary:s="clippingAncestors",rootBoundary:c="viewport",elementContext:f="floating",altBoundary:d=!1,padding:p=0}=kr(t,e),m=Lr(p),h=l[d?"floating"===f?"reference":"floating":f],v=Rr(await a.getClippingRect({element:null==(n=await(null==a.isElement?void 0:a.isElement(h)))||n?h:h.contextElement||await(null==a.getDocumentElement?void 0:a.getDocumentElement(l.floating)),boundary:s,rootBoundary:c,strategy:u})),g="floating"===f?{...i.floating,x:r,y:o}:i.reference,y=await(null==a.getOffsetParent?void 0:a.getOffsetParent(l.floating)),b=await(null==a.isElement?void 0:a.isElement(y))&&await(null==a.getScale?void 0:a.getScale(y))||{x:1,y:1},w=Rr(a.convertOffsetParentRelativeRectToViewportRelativeRect?await a.convertOffsetParentRelativeRectToViewportRelativeRect({rect:g,offsetParent:y,strategy:u}):g);return{top:(v.top-w.top+m.top)/b.y,bottom:(w.bottom-v.bottom+m.bottom)/b.y,left:(v.left-w.left+m.left)/b.x,right:(w.right-v.right+m.right)/b.x}}function Fr(e){return jr(e)?(e.nodeName||"").toLowerCase():"#document"}function Mr(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Dr(e){var t;return null==(t=(jr(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function jr(e){return e instanceof Node||e instanceof Mr(e).Node}function Ir(e){return e instanceof Element||e instanceof Mr(e).Element}function $r(e){return e instanceof HTMLElement||e instanceof Mr(e).HTMLElement}function Ur(e){return"undefined"!=typeof ShadowRoot&&(e instanceof ShadowRoot||e instanceof Mr(e).ShadowRoot)}function Vr(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Qr(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Hr(e){return["table","td","th"].includes(Fr(e))}function Br(e){const t=Wr(),n=Qr(e);return"none"!==n.transform||"none"!==n.perspective||!!n.containerType&&"normal"!==n.containerType||!t&&!!n.backdropFilter&&"none"!==n.backdropFilter||!t&&!!n.filter&&"none"!==n.filter||["transform","perspective","filter"].some((e=>(n.willChange||"").includes(e)))||["paint","layout","strict","content"].some((e=>(n.contain||"").includes(e)))}function Wr(){return!("undefined"==typeof CSS||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function qr(e){return["html","body","#document"].includes(Fr(e))}function Qr(e){return Mr(e).getComputedStyle(e)}function Yr(e){return Ir(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.pageXOffset,scrollTop:e.pageYOffset}}function Kr(e){if("html"===Fr(e))return e;const t=e.assignedSlot||e.parentNode||Ur(e)&&e.host||Dr(e);return Ur(t)?t.host:t}function Xr(e){const t=Kr(e);return qr(t)?e.ownerDocument?e.ownerDocument.body:e.body:$r(t)&&Vr(t)?t:Xr(t)}function Gr(e,t){var n;void 0===t&&(t=[]);const r=Xr(e),o=r===(null==(n=e.ownerDocument)?void 0:n.body),a=Mr(r);return o?t.concat(a,a.visualViewport||[],Vr(r)?r:[]):t.concat(r,Gr(r))}function Zr(e){const t=Qr(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=$r(e),a=o?e.offsetWidth:n,i=o?e.offsetHeight:r,l=vr(n)!==a||vr(r)!==i;return l&&(n=a,r=i),{width:n,height:r,$:l}}function Jr(e){return Ir(e)?e:e.contextElement}function eo(e){const t=Jr(e);if(!$r(t))return yr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:a}=Zr(t);let i=(a?vr(n.width):n.width)/r,l=(a?vr(n.height):n.height)/o;return i&&Number.isFinite(i)||(i=1),l&&Number.isFinite(l)||(l=1),{x:i,y:l}}const to=yr(0);function no(e){const t=Mr(e);return Wr()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:to}function ro(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),a=Jr(e);let i=yr(1);t&&(r?Ir(r)&&(i=eo(r)):i=eo(e));const l=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Mr(e))&&t}(a,n,r)?no(a):yr(0);let u=(o.left+l.x)/i.x,s=(o.top+l.y)/i.y,c=o.width/i.x,f=o.height/i.y;if(a){const e=Mr(a),t=r&&Ir(r)?Mr(r):r;let n=e.frameElement;for(;n&&r&&t!==e;){const e=eo(n),t=n.getBoundingClientRect(),r=Qr(n),o=t.left+(n.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(n.clientTop+parseFloat(r.paddingTop))*e.y;u*=e.x,s*=e.y,c*=e.x,f*=e.y,u+=o,s+=a,n=Mr(n).frameElement}}return Rr({width:c,height:f,x:u,y:s})}function oo(e){return ro(Dr(e)).left+Yr(e).scrollLeft}function ao(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Mr(e),r=Dr(e),o=n.visualViewport;let a=r.clientWidth,i=r.clientHeight,l=0,u=0;if(o){a=o.width,i=o.height;const e=Wr();(!e||e&&"fixed"===t)&&(l=o.offsetLeft,u=o.offsetTop)}return{width:a,height:i,x:l,y:u}}(e,n);else if("document"===t)r=function(e){const t=Dr(e),n=Yr(e),r=e.ownerDocument.body,o=hr(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),a=hr(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let i=-n.scrollLeft+oo(e);const l=-n.scrollTop;return"rtl"===Qr(r).direction&&(i+=hr(t.clientWidth,r.clientWidth)-o),{width:o,height:a,x:i,y:l}}(Dr(e));else if(Ir(t))r=function(e,t){const n=ro(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,a=$r(e)?eo(e):yr(1);return{width:e.clientWidth*a.x,height:e.clientHeight*a.y,x:o*a.x,y:r*a.y}}(t,n);else{const n=no(e);r={...t,x:t.x-n.x,y:t.y-n.y}}return Rr(r)}function io(e,t){const n=Kr(e);return!(n===t||!Ir(n)||qr(n))&&("fixed"===Qr(n).position||io(n,t))}function lo(e,t,n){const r=$r(t),o=Dr(t),a="fixed"===n,i=ro(e,!0,a,t);let l={scrollLeft:0,scrollTop:0};const u=yr(0);if(r||!r&&!a)if(("body"!==Fr(t)||Vr(o))&&(l=Yr(t)),r){const e=ro(t,!0,a,t);u.x=e.x+t.clientLeft,u.y=e.y+t.clientTop}else o&&(u.x=oo(o));return{x:i.left+l.scrollLeft-u.x,y:i.top+l.scrollTop-u.y,width:i.width,height:i.height}}function uo(e,t){return $r(e)&&"fixed"!==Qr(e).position?t?t(e):e.offsetParent:null}function so(e,t){const n=Mr(e);if(!$r(e))return n;let r=uo(e,t);for(;r&&Hr(r)&&"static"===Qr(r).position;)r=uo(r,t);return r&&("html"===Fr(r)||"body"===Fr(r)&&"static"===Qr(r).position&&!Br(r))?n:r||function(e){let t=Kr(e);for(;$r(t)&&!qr(t);){if(Br(t))return t;t=Kr(t)}return null}(e)||n}const co={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{rect:t,offsetParent:n,strategy:r}=e;const o=$r(n),a=Dr(n);if(n===a)return t;let i={scrollLeft:0,scrollTop:0},l=yr(1);const u=yr(0);if((o||!o&&"fixed"!==r)&&(("body"!==Fr(n)||Vr(a))&&(i=Yr(n)),$r(n))){const e=ro(n);l=eo(n),u.x=e.x+n.clientLeft,u.y=e.y+n.clientTop}return{width:t.width*l.x,height:t.height*l.y,x:t.x*l.x-i.scrollLeft*l.x+u.x,y:t.y*l.y-i.scrollTop*l.y+u.y}},getDocumentElement:Dr,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const a="clippingAncestors"===n?function(e,t){const n=t.get(e);if(n)return n;let r=Gr(e).filter((e=>Ir(e)&&"body"!==Fr(e))),o=null;const a="fixed"===Qr(e).position;let i=a?Kr(e):e;for(;Ir(i)&&!qr(i);){const t=Qr(i),n=Br(i);n||"fixed"!==t.position||(o=null),(a?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Vr(i)&&!n&&io(e,i))?r=r.filter((e=>e!==i)):o=t,i=Kr(i)}return t.set(e,r),r}(t,this._c):[].concat(n),i=[...a,r],l=i[0],u=i.reduce(((e,n)=>{const r=ao(t,n,o);return e.top=hr(r.top,e.top),e.right=mr(r.right,e.right),e.bottom=mr(r.bottom,e.bottom),e.left=hr(r.left,e.left),e}),ao(t,l,o));return{width:u.right-u.left,height:u.bottom-u.top,x:u.left,y:u.top}},getOffsetParent:so,getElementRects:async function(e){let{reference:t,floating:n,strategy:r}=e;const o=this.getOffsetParent||so,a=this.getDimensions;return{reference:lo(t,await o(n),r),floating:{x:0,y:0,...await a(n)}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){return Zr(e)},getScale:eo,isElement:Ir,isRTL:function(e){return"rtl"===Qr(e).direction}};function fo(e=0,t=0,n=0,r=0){if("function"==typeof DOMRect)return new DOMRect(e,t,n,r);const o={x:e,y:t,width:n,height:r,top:t,right:e+n,bottom:t+r,left:e};return ie(ae({},o),{toJSON:()=>o})}function po(e){return/^(?:top|bottom|left|right)(?:-(?:start|end))?$/.test(e)}function mo(e){const t=window.devicePixelRatio||1;return Math.round(e*t)/t}function ho(e,t){return n=({placement:n})=>{var r;const o=((null==e?void 0:e.clientHeight)||0)/2,a="number"==typeof t.gutter?t.gutter+o:null!=(r=t.gutter)?r:o;return{crossAxis:n.split("-")[1]?void 0:t.shift,mainAxis:a,alignmentAxis:t.shift}},void 0===n&&(n=0),{name:"offset",options:n,async fn(e){const{x:t,y:r}=e,o=await async function(e,t){const{placement:n,platform:r,elements:o}=e,a=await(null==r.isRTL?void 0:r.isRTL(o.floating)),i=Sr(n),l=Er(n),u="y"===Pr(n),s=["left","top"].includes(i)?-1:1,c=a&&u?-1:1,f=kr(t,e);let{mainAxis:d,crossAxis:p,alignmentAxis:m}="number"==typeof f?{mainAxis:f,crossAxis:0,alignmentAxis:null}:{mainAxis:0,crossAxis:0,alignmentAxis:null,...f};return l&&"number"==typeof m&&(p="end"===l?-1*m:m),u?{x:p*c,y:d*s}:{x:d*s,y:p*c}}(e,n);return{x:t+o.x,y:r+o.y,data:o}}};var n}function vo(e){if(!1===e.flip)return;const t="string"==typeof e.flip?e.flip.split(" "):void 0;return ke(!t||t.every(po),!1),void 0===(n={padding:e.overflowPadding,fallbackPlacements:t})&&(n={}),{name:"flip",options:n,async fn(e){var t;const{placement:r,middlewareData:o,rects:a,initialPlacement:i,platform:l,elements:u}=e,{mainAxis:s=!0,crossAxis:c=!0,fallbackPlacements:f,fallbackStrategy:d="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...h}=kr(n,e),v=Sr(r),g=Sr(i)===i,y=await(null==l.isRTL?void 0:l.isRTL(u.floating)),b=f||(g||!m?[Nr(i)]:function(e){const t=Nr(e);return[Tr(e),t,Tr(t)]}(i));f||"none"===p||b.push(...function(e,t,n,r){const o=Er(e);let a=function(e,t,n){const r=["left","right"],o=["right","left"],a=["top","bottom"],i=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?a:i;default:return[]}}(Sr(e),"start"===n,r);return o&&(a=a.map((e=>e+"-"+o)),t&&(a=a.concat(a.map(Tr)))),a}(i,m,p,y));const w=[i,...b],x=await zr(e,h),k=[];let S=(null==(t=o.flip)?void 0:t.overflows)||[];if(s&&k.push(x[v]),c){const e=function(e,t,n){void 0===n&&(n=!1);const r=Er(e),o=Or(e),a=Cr(o);let i="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[a]>t.floating[a]&&(i=Nr(i)),[i,Nr(i)]}(r,a,y);k.push(x[e[0]],x[e[1]])}if(S=[...S,{placement:r,overflows:k}],!k.every((e=>e<=0))){var E,_;const e=((null==(E=o.flip)?void 0:E.index)||0)+1,t=w[e];if(t)return{data:{index:e,overflows:S},reset:{placement:t}};let n=null==(_=S.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:_.placement;if(!n)switch(d){case"bestFit":{var C;const e=null==(C=S.map((e=>[e.placement,e.overflows.filter((e=>e>0)).reduce(((e,t)=>e+t),0)])).sort(((e,t)=>e[1]-t[1]))[0])?void 0:C[0];e&&(n=e);break}case"initialPlacement":n=i}if(r!==n)return{reset:{placement:n}}}return{}}};var n}function go(e){var t;if(e.slide||e.overlap)return void 0===(t={mainAxis:e.slide,crossAxis:e.overlap,padding:e.overflowPadding})&&(t={}),{name:"shift",options:t,async fn(e){const{x:n,y:r,placement:o}=e,{mainAxis:a=!0,crossAxis:i=!1,limiter:l={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...u}=kr(t,e),s={x:n,y:r},c=await zr(e,u),f=Pr(Sr(o)),d=_r(f);let p=s[d],m=s[f];if(a){const e="y"===d?"bottom":"right";p=xr(p+c["y"===d?"top":"left"],p,p-c[e])}if(i){const e="y"===f?"bottom":"right";m=xr(m+c["y"===f?"top":"left"],m,m-c[e])}const h=l.fn({...e,[d]:p,[f]:m});return{...h,data:{x:h.x-n,y:h.y-r}}}}}function yo(e){return void 0===(t={padding:e.overflowPadding,apply({elements:t,availableWidth:n,availableHeight:r,rects:o}){const a=t.floating,i=Math.round(o.reference.width);n=Math.floor(n),r=Math.floor(r),a.style.setProperty("--popover-anchor-width",`${i}px`),a.style.setProperty("--popover-available-width",`${n}px`),a.style.setProperty("--popover-available-height",`${r}px`),e.sameWidth&&(a.style.width=`${i}px`),e.fitViewport&&(a.style.maxWidth=`${n}px`,a.style.maxHeight=`${r}px`)}})&&(t={}),{name:"size",options:t,async fn(e){const{placement:n,rects:r,platform:o,elements:a}=e,{apply:i=(()=>{}),...l}=kr(t,e),u=await zr(e,l),s=Sr(n),c=Er(n),f="y"===Pr(n),{width:d,height:p}=r.floating;let m,h;"top"===s||"bottom"===s?(m=s,h=c===(await(null==o.isRTL?void 0:o.isRTL(a.floating))?"start":"end")?"left":"right"):(h=s,m="end"===c?"top":"bottom");const v=p-u[m],g=d-u[h],y=!e.middlewareData.shift;let b=v,w=g;if(f){const e=d-u.left-u.right;w=c||y?mr(g,e):e}else{const e=p-u.top-u.bottom;b=c||y?mr(v,e):e}if(y&&!c){const e=hr(u.left,0),t=hr(u.right,0),n=hr(u.top,0),r=hr(u.bottom,0);f?w=d-2*(0!==e||0!==t?e+t:hr(u.left,u.right)):b=p-2*(0!==n||0!==r?n+r:hr(u.top,u.bottom))}await i({...e,availableWidth:w,availableHeight:b});const x=await o.getDimensions(a.floating);return d!==x.width||p!==x.height?{reset:{rects:!0}}:{}}};var t}function bo(e,t){var n;if(e)return{name:"arrow",options:n={element:e,padding:t.arrowPadding},async fn(e){const{x:t,y:r,placement:o,rects:a,platform:i,elements:l}=e,{element:u,padding:s=0}=kr(n,e)||{};if(null==u)return{};const c=Lr(s),f={x:t,y:r},d=Or(o),p=Cr(d),m=await i.getDimensions(u),h="y"===d,v=h?"top":"left",g=h?"bottom":"right",y=h?"clientHeight":"clientWidth",b=a.reference[p]+a.reference[d]-f[d]-a.floating[p],w=f[d]-a.reference[d],x=await(null==i.getOffsetParent?void 0:i.getOffsetParent(u));let k=x?x[y]:0;k&&await(null==i.isElement?void 0:i.isElement(x))||(k=l.floating[y]||a.floating[p]);const S=b/2-w/2,E=k/2-m[p]/2-1,_=mr(c[v],E),C=mr(c[g],E),P=_,O=k-m[p]-C,T=k/2-m[p]/2+S,N=xr(P,T,O),L=null!=Er(o)&&T!=N&&a.reference[p]/2-(T<P?_:C)-m[p]/2<0?T<P?P-T:O-T:0;return{[d]:f[d]-L,data:{[d]:N,centerOffset:T-N+L}}}}}var wo=Ot((t=>{var n=t,{store:r,modal:o=!1,portal:a=!!o,preserveTabOrder:i=!0,autoFocusOnShow:l=!0,wrapperProps:u,fixed:s=!1,flip:c=!0,shift:f=0,slide:d=!0,overlap:p=!1,sameWidth:m=!1,fitViewport:h=!1,gutter:v,arrowPadding:g=4,overflowPadding:y=8,getAnchorRect:b,updatePosition:w}=n,x=le(n,["store","modal","portal","preserveTabOrder","autoFocusOnShow","wrapperProps","fixed","flip","shift","slide","overlap","sameWidth","fitViewport","gutter","arrowPadding","overflowPadding","getAnchorRect","updatePosition"]);const k=It();ke(r=r||k,!1);const S=r.useState("arrowElement"),E=r.useState("anchorElement"),_=r.useState("popoverElement"),C=r.useState("contentElement"),P=r.useState("placement"),O=r.useState("mounted"),T=r.useState("rendered"),[N,L]=(0,e.useState)(!1),{portalRef:R,domReady:A}=Je(a,x.portalRef),z=Qe(b),F=Qe(w),M=!!w;We((()=>{if(!(null==_?void 0:_.isConnected))return;_.style.setProperty("--popover-overflow-padding",`${y}px`);const e=function(e,t){return{contextElement:e||void 0,getBoundingClientRect:()=>{const n=e,r=null==t?void 0:t(n);return r||!n?function(e){if(!e)return fo();const{x:t,y:n,width:r,height:o}=e;return fo(t,n,r,o)}(r):n.getBoundingClientRect()}}}(E,z),t=async()=>{if(!O)return;const t=[ho(S,{gutter:v,shift:f}),vo({flip:c,overflowPadding:y}),go({slide:d,overlap:p,overflowPadding:y}),bo(S,{arrowPadding:g}),yo({sameWidth:m,fitViewport:h,overflowPadding:y})],n=await((e,t,n)=>{const r=new Map,o={platform:co,...n},a={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:a=[],platform:i}=n,l=a.filter(Boolean),u=await(null==i.isRTL?void 0:i.isRTL(t));let s=await i.getElementRects({reference:e,floating:t,strategy:o}),{x:c,y:f}=Ar(s,r,u),d=r,p={},m=0;for(let n=0;n<l.length;n++){const{name:a,fn:h}=l[n],{x:v,y:g,data:y,reset:b}=await h({x:c,y:f,initialPlacement:r,placement:d,strategy:o,middlewareData:p,rects:s,platform:i,elements:{reference:e,floating:t}});c=null!=v?v:c,f=null!=g?g:f,p={...p,[a]:{...p[a],...y}},b&&m<=50&&(m++,"object"==typeof b&&(b.placement&&(d=b.placement),b.rects&&(s=!0===b.rects?await i.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:c,y:f}=Ar(s,d,u))),n=-1)}return{x:c,y:f,placement:d,strategy:o,middlewareData:p}})(e,t,{...o,platform:a})})(e,_,{placement:P,strategy:s?"fixed":"absolute",middleware:t});null==r||r.setState("currentPlacement",n.placement),L(!0);const o=mo(n.x),a=mo(n.y);if(Object.assign(_.style,{top:"0",left:"0",transform:`translate3d(${o}px,${a}px,0)`}),S&&n.middlewareData.arrow){const{x:e,y:t}=n.middlewareData.arrow,r=n.placement.split("-")[0];Object.assign(S.style,{left:null!=e?`${e}px`:"",top:null!=t?`${t}px`:"",[r]:"100%"})}},n=function(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:a=!0,elementResize:i="function"==typeof ResizeObserver,layoutShift:l="function"==typeof IntersectionObserver,animationFrame:u=!1}=r,s=Jr(e),c=o||a?[...s?Gr(s):[],...Gr(t)]:[];c.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),a&&e.addEventListener("resize",n)}));const f=s&&l?function(e,t){let n,r=null;const o=Dr(e);function a(){clearTimeout(n),r&&r.disconnect(),r=null}return function i(l,u){void 0===l&&(l=!1),void 0===u&&(u=1),a();const{left:s,top:c,width:f,height:d}=e.getBoundingClientRect();if(l||t(),!f||!d)return;const p={rootMargin:-gr(c)+"px "+-gr(o.clientWidth-(s+f))+"px "+-gr(o.clientHeight-(c+d))+"px "+-gr(s)+"px",threshold:hr(0,mr(1,u))||1};let m=!0;function h(e){const t=e[0].intersectionRatio;if(t!==u){if(!m)return i();t?i(!1,t):n=setTimeout((()=>{i(!1,1e-7)}),100)}m=!1}try{r=new IntersectionObserver(h,{...p,root:o.ownerDocument})}catch(e){r=new IntersectionObserver(h,p)}r.observe(e)}(!0),a}(s,n):null;let d,p=-1,m=null;i&&(m=new ResizeObserver((e=>{let[r]=e;r&&r.target===s&&m&&(m.unobserve(t),cancelAnimationFrame(p),p=requestAnimationFrame((()=>{m&&m.observe(t)}))),n()})),s&&!u&&m.observe(s),m.observe(t));let h=u?ro(e):null;return u&&function t(){const r=ro(e);!h||r.x===h.x&&r.y===h.y&&r.width===h.width&&r.height===h.height||n(),h=r,d=requestAnimationFrame(t)}(),n(),()=>{c.forEach((e=>{o&&e.removeEventListener("scroll",n),a&&e.removeEventListener("resize",n)})),f&&f(),m&&m.disconnect(),m=null,u&&cancelAnimationFrame(d)}}(e,_,(async()=>{M?(await F({updatePosition:t}),L(!0)):await t()}),{elementResize:"function"==typeof ResizeObserver});return()=>{L(!1),n()}}),[r,T,_,S,E,_,P,O,A,s,c,f,d,p,m,h,v,g,y,z,M,F]),We((()=>{if(!O)return;if(!A)return;if(!(null==_?void 0:_.isConnected))return;if(!(null==C?void 0:C.isConnected))return;const e=()=>{_.style.zIndex=getComputedStyle(C).zIndex};e();let t=requestAnimationFrame((()=>{t=requestAnimationFrame(e)}));return()=>cancelAnimationFrame(t)}),[O,A,_,C]);const D=s?"fixed":"absolute";return x=Ze(x,(e=>(0,_t.jsx)("div",ie(ae({role:"presentation"},u),{style:ae({position:D,top:0,left:0,width:"max-content"},null==u?void 0:u.style),ref:null==r?void 0:r.setPopoverElement,children:e}))),[r,D,u]),x=Ze(x,(e=>(0,_t.jsx)(Ut,{value:r,children:e})),[r]),x=ie(ae({"data-placing":N?void 0:""},x),{style:ae({position:"relative"},x.style)}),dr(ie(ae({store:r,modal:o,preserveTabOrder:i,portal:a,autoFocusOnShow:N&&l},x),{portalRef:R}))}));function xo(e,t,n,r){return!!(tn(t)||e&&(Le(t,e)||n&&Le(n,e)||(null==r?void 0:r.some((t=>xo(e,t,n))))))}pr(Ct((e=>Pt("div",wo(e)))),It);var ko=(0,e.createContext)(null),So=Ot((t=>{var n=t,{store:r,modal:o=!1,portal:a=!!o,hideOnEscape:i=!0,hideOnHoverOutside:l=!0,disablePointerEventsOnApproach:u=!!l}=n,s=le(n,["store","modal","portal","hideOnEscape","hideOnHoverOutside","disablePointerEventsOnApproach"]);const c=Ht();ke(r=r||c,!1);const f=(0,e.useRef)(null),[d,p]=(0,e.useState)([]),m=(0,e.useRef)(0),h=(0,e.useRef)(null),{portalRef:v,domReady:g}=Je(a,s.portalRef),y=!!l,b=Ge(l),w=!!u,x=Ge(u),k=r.useState("open"),S=r.useState("mounted");(0,e.useEffect)((()=>{if(!g)return;if(!S)return;if(!y&&!w)return;const e=f.current;return e?we(Ue("mousemove",(t=>{if(!r)return;const{anchorElement:n,hideTimeout:o,timeout:a}=r.getState(),i=h.current,l=t.target,u=n;if(xo(l,e,u,d))return h.current=l&&u&&Le(u,l)?Sn(t):null,window.clearTimeout(m.current),void(m.current=0);if(!m.current){if(i){const n=Sn(t);if(En(n,Cn(e,i))){if(h.current=n,!x(t))return;return t.preventDefault(),void t.stopPropagation()}}b(t)&&(m.current=window.setTimeout((()=>{m.current=0,null==r||r.hide()}),null!=o?o:a))}}),!0),(()=>clearTimeout(m.current))):void 0}),[r,g,S,y,w,d,x,b]),(0,e.useEffect)((()=>{if(!g)return;if(!S)return;if(!w)return;const e=e=>{const t=f.current;if(!t)return;const n=h.current;if(!n)return;const r=Cn(t,n);if(En(Sn(e),r)){if(!x(e))return;e.preventDefault(),e.stopPropagation()}};return we(Ue("mouseenter",e,!0),Ue("mouseover",e,!0),Ue("mouseout",e,!0),Ue("mouseleave",e,!0))}),[g,S,w,x]),(0,e.useEffect)((()=>{g&&(k||null==r||r.setAutoFocusOnShow(!1))}),[r,g,k]);const E=qe(k);(0,e.useEffect)((()=>{if(g)return()=>{E.current||null==r||r.setAutoFocusOnShow(!1)}}),[r,g]);const _=(0,e.useContext)(ko);We((()=>{if(o)return;if(!a)return;if(!S)return;if(!g)return;const e=f.current;return e?null==_?void 0:_(e):void 0}),[o,a,S,g]);const C=(0,e.useCallback)((e=>{p((t=>[...t,e]));const t=null==_?void 0:_(e);return()=>{p((t=>t.filter((t=>t!==e)))),null==t||t()}}),[_]);s=Ze(s,(e=>(0,_t.jsx)(Wt,{value:r,children:(0,_t.jsx)(ko.Provider,{value:C,children:e})})),[r,C]),s=ie(ae({},s),{ref:Ye(f,s.ref)}),s=function(t){var n=t,{store:r}=n,o=le(n,["store"]);const[a,i]=(0,e.useState)(!1),l=r.useState("mounted");(0,e.useEffect)((()=>{l||i(!1)}),[l]);const u=o.onFocus,s=Qe((e=>{null==u||u(e),e.defaultPrevented||i(!0)})),c=(0,e.useRef)(null);return(0,e.useEffect)((()=>ct(r,["anchorElement"],(e=>{c.current=e.anchorElement}))),[]),ie(ae({autoFocusOnHide:a,finalFocus:c},o),{onFocus:s})}(ae({store:r},s));const P=r.useState((e=>o||e.autoFocusOnShow));return wo(ie(ae({store:r,modal:o,portal:a,autoFocusOnShow:P},s),{portalRef:v,hideOnEscape:e=>!Se(i,e)&&(requestAnimationFrame((()=>{requestAnimationFrame((()=>{null==r||r.hide()}))})),!0)}))}));pr(Ct((e=>Pt("div",So(e)))),Ht);var Eo=Ot((e=>{var t=e,{store:n,portal:r=!0,gutter:o=8,preserveTabOrder:a=!1,hideOnHoverOutside:i=!0,hideOnInteractOutside:l=!0}=t,u=le(t,["store","portal","gutter","preserveTabOrder","hideOnHoverOutside","hideOnInteractOutside"]);const s=yn();ke(n=n||s,!1),u=Ze(u,(e=>(0,_t.jsx)(bn,{value:n,children:e})),[n]);const c=n.useState((e=>"description"===e.type?"tooltip":"none"));return u=ae({role:c},u),So(ie(ae({},u),{store:n,portal:r,gutter:o,preserveTabOrder:a,hideOnHoverOutside:e=>{if(Se(i,e))return!1;const t=null==n?void 0:n.getState().anchorElement;return!t||!("focusVisible"in t.dataset)},hideOnInteractOutside:e=>{if(Se(l,e))return!1;const t=null==n?void 0:n.getState().anchorElement;return!t||!Le(t,e.target)}}))})),_o=pr(Ct((e=>Pt("div",Eo(e)))),yn);const Co=function(t){const{shortcut:n,className:r}=t;if(!n)return null;let o,a;return"string"==typeof n&&(o=n),null!==n&&"object"==typeof n&&(o=n.display,a=n.ariaLabel),(0,e.createElement)("span",{className:r,"aria-label":a},o)},Po={bottom:"bottom",top:"top","middle left":"left","middle right":"right","bottom left":"bottom-end","bottom center":"bottom","bottom right":"bottom-start","top left":"top-end","top center":"top","top right":"top-start","middle left left":"left","middle left right":"left","middle left bottom":"left-end","middle left top":"left-start","middle right left":"right","middle right right":"right","middle right bottom":"right-end","middle right top":"right-start","bottom left left":"bottom-end","bottom left right":"bottom-end","bottom left bottom":"bottom-end","bottom left top":"bottom-end","bottom center left":"bottom","bottom center right":"bottom","bottom center bottom":"bottom","bottom center top":"bottom","bottom right left":"bottom-start","bottom right right":"bottom-start","bottom right bottom":"bottom-start","bottom right top":"bottom-start","top left left":"top-end","top left right":"top-end","top left bottom":"top-end","top left top":"top-end","top center left":"top","top center right":"top","top center bottom":"top","top center top":"top","top right left":"top-start","top right right":"top-start","top right bottom":"top-start","top right top":"top-start",middle:"bottom","middle center":"bottom","middle center bottom":"bottom","middle center left":"bottom","middle center right":"bottom","middle center top":"bottom"},Oo=e=>{var t;return null!==(t=Po[e])&&void 0!==t?t:"bottom"},To=700,No=function t(n){const{children:r,delay:o=To,hideOnClick:a=!0,placement:i,position:l,shortcut:u,text:s}=n,c=G(t,"tooltip"),f=s||u?c:void 0,d=1===e.Children.count(r);let p;void 0!==i?p=i:void 0!==l&&(p=Oo(l),K("`position` prop in wp.components.tooltip",{since:"6.4",alternative:"`placement` prop"})),p=p||"bottom";const m=function(e={}){const[t,n]=yt(Et,e);return function(e,t,n){return gt(e=St(e,t,n),n,"type"),gt(e,n,"skipTimeout"),e}(t,n,e)}({placement:p,timeout:o});return(0,e.createElement)(e.Fragment,null,(0,e.createElement)(kn,{onClick:a?m.hide:void 0,store:m,render:d?r:void 0},d?void 0:r),d&&(s||u)&&(0,e.createElement)(_o,{unmountOnHide:!0,className:"components-tooltip",gutter:4,id:f,overflowPadding:.5,store:m},s,u&&(0,e.createElement)(Co,{className:s?"components-tooltip__shortcut":"",shortcut:u})))},Lo=(0,e.forwardRef)((({className:t,isPressed:n,...r},o)=>{const a={...r,className:y()(t,{"is-pressed":n})||void 0,"aria-hidden":!0,focusable:!1};return(0,e.createElement)("svg",{...a,ref:o})}));Lo.displayName="SVG";const Ro=function({icon:t,className:n,size:r=20,style:o={},...a}){const i=["dashicon","dashicons","dashicons-"+t,n].filter(Boolean).join(" "),l={...20!=r?{fontSize:`${r}px`,width:`${r}px`,height:`${r}px`}:{},...o};return(0,e.createElement)("span",{className:i,style:l,...a})},Ao=function({icon:t=null,size:n=("string"==typeof t?20:24),...r}){if("string"==typeof t)return(0,e.createElement)(Ro,{icon:t,size:n,...r});if((0,e.isValidElement)(t)&&Ro===t.type)return(0,e.cloneElement)(t,{...r});if("function"==typeof t)return(0,e.createElement)(t,{size:n,...r});if(t&&("svg"===t.type||t.type===Lo)){const o={...t.props,width:n,height:n,...r};return(0,e.createElement)(Lo,{...o})}return(0,e.isValidElement)(t)?(0,e.cloneElement)(t,{size:n,...r}):t};var zo=o(9996),Fo=o.n(zo),Mo=o(2991),Do=o.n(Mo);function jo(e){return"[object Object]"===Object.prototype.toString.call(e)}function Io(e){var t,n;return!1!==jo(e)&&(void 0===(t=e.constructor)||!1!==jo(n=t.prototype)&&!1!==n.hasOwnProperty("isPrototypeOf"))}const $o=(0,e.createContext)({}),Uo=()=>(0,e.useContext)($o);(0,e.memo)((({children:t,value:n})=>{const r=function({value:t}){const n=Uo(),r=(0,e.useRef)(t);return function(t,n){const r=(0,e.useRef)(!1);(0,e.useEffect)((()=>{if(r.current)return t();r.current=!0}),n)}((()=>{Do()(r.current,t)&&r.current}),[t]),(0,e.useMemo)((()=>Fo()(null!=n?n:{},null!=t?t:{},{isMergeableObject:Io})),[n,t])}({value:n});return(0,e.createElement)($o.Provider,{value:r},t)}));const Vo="data-wp-component",Ho="data-wp-c16t",Bo="__contextSystemKey__";var Wo=function(){return Wo=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},Wo.apply(this,arguments)};function qo(e){return e.toLowerCase()}Object.create,Object.create,"function"==typeof SuppressedError&&SuppressedError;var Qo=[/([a-z0-9])([A-Z])/g,/([A-Z])([A-Z][a-z])/g],Yo=/[^A-Z0-9]+/gi;function Ko(e,t,n){return t instanceof RegExp?e.replace(t,n):t.reduce((function(e,t){return e.replace(t,n)}),e)}function Xo(e,t){var n,r,o=0;function a(){var a,i,l=n,u=arguments.length;e:for(;l;){if(l.args.length===arguments.length){for(i=0;i<u;i++)if(l.args[i]!==arguments[i]){l=l.next;continue e}return l!==n&&(l===r&&(r=l.prev),l.prev.next=l.next,l.next&&(l.next.prev=l.prev),l.next=n,l.prev=null,n.prev=l,n=l),l.val}l=l.next}for(a=new Array(u),i=0;i<u;i++)a[i]=arguments[i];return l={args:a,val:e.apply(null,a)},n?(n.prev=l,l.next=n):r=l,o===t.maxSize?(r=r.prev).next=null:o++,n=l,l.val}return t=t||{},a.clear=function(){n=null,r=null,o=0},a}const Go=Xo((function(e){var t;return`components-${void 0===t&&(t={}),function(e,t){return void 0===t&&(t={}),function(e,t){void 0===t&&(t={});for(var n=t.splitRegexp,r=void 0===n?Qo:n,o=t.stripRegexp,a=void 0===o?Yo:o,i=t.transform,l=void 0===i?qo:i,u=t.delimiter,s=void 0===u?" ":u,c=Ko(Ko(e,r,"$1\0$2"),a,"\0"),f=0,d=c.length;"\0"===c.charAt(f);)f++;for(;"\0"===c.charAt(d-1);)d--;return c.slice(f,d).split("\0").map(l).join(s)}(e,Wo({delimiter:"."},t))}(e,Wo({delimiter:"-"},t))}`}));var Zo=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach((function(e){return e.parentNode&&e.parentNode.removeChild(e)})),this.tags=[],this.ctr=0},e}(),Jo=Math.abs,ea=String.fromCharCode,ta=Object.assign;function na(e){return e.trim()}function ra(e,t,n){return e.replace(t,n)}function oa(e,t){return e.indexOf(t)}function aa(e,t){return 0|e.charCodeAt(t)}function ia(e,t,n){return e.slice(t,n)}function la(e){return e.length}function ua(e){return e.length}function sa(e,t){return t.push(e),e}var ca=1,fa=1,da=0,pa=0,ma=0,ha="";function va(e,t,n,r,o,a,i){return{value:e,root:t,parent:n,type:r,props:o,children:a,line:ca,column:fa,length:i,return:""}}function ga(e,t){return ta(va("",null,null,"",null,null,0),e,{length:-e.length},t)}function ya(){return ma=pa>0?aa(ha,--pa):0,fa--,10===ma&&(fa=1,ca--),ma}function ba(){return ma=pa<da?aa(ha,pa++):0,fa++,10===ma&&(fa=1,ca++),ma}function wa(){return aa(ha,pa)}function xa(){return pa}function ka(e,t){return ia(ha,e,t)}function Sa(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 Ea(e){return ca=fa=1,da=la(ha=e),pa=0,[]}function _a(e){return ha="",e}function Ca(e){return na(ka(pa-1,Ta(91===e?e+2:40===e?e+1:e)))}function Pa(e){for(;(ma=wa())&&ma<33;)ba();return Sa(e)>2||Sa(ma)>3?"":" "}function Oa(e,t){for(;--t&&ba()&&!(ma<48||ma>102||ma>57&&ma<65||ma>70&&ma<97););return ka(e,xa()+(t<6&&32==wa()&&32==ba()))}function Ta(e){for(;ba();)switch(ma){case e:return pa;case 34:case 39:34!==e&&39!==e&&Ta(ma);break;case 40:41===e&&Ta(e);break;case 92:ba()}return pa}function Na(e,t){for(;ba()&&e+ma!==57&&(e+ma!==84||47!==wa()););return"/*"+ka(t,pa-1)+"*"+ea(47===e?e:ba())}function La(e){for(;!Sa(wa());)ba();return ka(e,pa)}var Ra="-ms-",Aa="-moz-",za="-webkit-",Fa="comm",Ma="rule",Da="decl",ja="@keyframes";function Ia(e,t){for(var n="",r=ua(e),o=0;o<r;o++)n+=t(e[o],o,e,t)||"";return n}function $a(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Da:return e.return=e.return||e.value;case Fa:return"";case ja:return e.return=e.value+"{"+Ia(e.children,r)+"}";case Ma:e.value=e.props.join(",")}return la(n=Ia(e.children,r))?e.return=e.value+"{"+n+"}":""}function Ua(e){return _a(Va("",null,null,null,[""],e=Ea(e),0,[0],e))}function Va(e,t,n,r,o,a,i,l,u){for(var s=0,c=0,f=i,d=0,p=0,m=0,h=1,v=1,g=1,y=0,b="",w=o,x=a,k=r,S=b;v;)switch(m=y,y=ba()){case 40:if(108!=m&&58==aa(S,f-1)){-1!=oa(S+=ra(Ca(y),"&","&\f"),"&\f")&&(g=-1);break}case 34:case 39:case 91:S+=Ca(y);break;case 9:case 10:case 13:case 32:S+=Pa(m);break;case 92:S+=Oa(xa()-1,7);continue;case 47:switch(wa()){case 42:case 47:sa(Ba(Na(ba(),xa()),t,n),u);break;default:S+="/"}break;case 123*h:l[s++]=la(S)*g;case 125*h:case 59:case 0:switch(y){case 0:case 125:v=0;case 59+c:-1==g&&(S=ra(S,/\f/g,"")),p>0&&la(S)-f&&sa(p>32?Wa(S+";",r,n,f-1):Wa(ra(S," ","")+";",r,n,f-2),u);break;case 59:S+=";";default:if(sa(k=Ha(S,t,n,s,c,o,l,b,w=[],x=[],f),a),123===y)if(0===c)Va(S,t,k,k,w,a,f,l,x);else switch(99===d&&110===aa(S,3)?100:d){case 100:case 108:case 109:case 115:Va(e,k,k,r&&sa(Ha(e,k,k,0,0,o,l,b,o,w=[],f),x),o,x,f,l,r?w:x);break;default:Va(S,k,k,k,[""],x,0,l,x)}}s=c=p=0,h=g=1,b=S="",f=i;break;case 58:f=1+la(S),p=m;default:if(h<1)if(123==y)--h;else if(125==y&&0==h++&&125==ya())continue;switch(S+=ea(y),y*h){case 38:g=c>0?1:(S+="\f",-1);break;case 44:l[s++]=(la(S)-1)*g,g=1;break;case 64:45===wa()&&(S+=Ca(ba())),d=wa(),c=f=la(b=S+=La(xa())),y++;break;case 45:45===m&&2==la(S)&&(h=0)}}return a}function Ha(e,t,n,r,o,a,i,l,u,s,c){for(var f=o-1,d=0===o?a:[""],p=ua(d),m=0,h=0,v=0;m<r;++m)for(var g=0,y=ia(e,f+1,f=Jo(h=i[m])),b=e;g<p;++g)(b=na(h>0?d[g]+" "+y:ra(y,/&\f/g,d[g])))&&(u[v++]=b);return va(e,t,n,0===o?Ma:l,u,s,c)}function Ba(e,t,n){return va(e,t,n,Fa,ea(ma),ia(e,2,-2),0)}function Wa(e,t,n,r){return va(e,t,n,Da,ia(e,0,r),ia(e,r+1,-1),r)}var qa=function(e,t,n){for(var r=0,o=0;r=o,o=wa(),38===r&&12===o&&(t[n]=1),!Sa(o);)ba();return ka(e,pa)},Qa=new WeakMap,Ya=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Qa.get(n))&&!r){Qa.set(e,!0);for(var o=[],a=function(e,t){return _a(function(e,t){var n=-1,r=44;do{switch(Sa(r)){case 0:38===r&&12===wa()&&(t[n]=1),e[n]+=qa(pa-1,t,n);break;case 2:e[n]+=Ca(r);break;case 4:if(44===r){e[++n]=58===wa()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=ea(r)}}while(r=ba());return e}(Ea(e),t))}(t,o),i=n.props,l=0,u=0;l<a.length;l++)for(var s=0;s<i.length;s++,u++)e.props[u]=o[l]?a[l].replace(/&\f/g,i[s]):i[s]+" "+a[l]}}},Ka=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Xa(e,t){switch(function(e,t){return 45^aa(e,0)?(((t<<2^aa(e,0))<<2^aa(e,1))<<2^aa(e,2))<<2^aa(e,3):0}(e,t)){case 5103:return za+"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 za+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return za+e+Aa+e+Ra+e+e;case 6828:case 4268:return za+e+Ra+e+e;case 6165:return za+e+Ra+"flex-"+e+e;case 5187:return za+e+ra(e,/(\w+).+(:[^]+)/,za+"box-$1$2"+Ra+"flex-$1$2")+e;case 5443:return za+e+Ra+"flex-item-"+ra(e,/flex-|-self/,"")+e;case 4675:return za+e+Ra+"flex-line-pack"+ra(e,/align-content|flex-|-self/,"")+e;case 5548:return za+e+Ra+ra(e,"shrink","negative")+e;case 5292:return za+e+Ra+ra(e,"basis","preferred-size")+e;case 6060:return za+"box-"+ra(e,"-grow","")+za+e+Ra+ra(e,"grow","positive")+e;case 4554:return za+ra(e,/([^-])(transform)/g,"$1"+za+"$2")+e;case 6187:return ra(ra(ra(e,/(zoom-|grab)/,za+"$1"),/(image-set)/,za+"$1"),e,"")+e;case 5495:case 3959:return ra(e,/(image-set\([^]*)/,za+"$1$`$1");case 4968:return ra(ra(e,/(.+:)(flex-)?(.*)/,za+"box-pack:$3"+Ra+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+za+e+e;case 4095:case 3583:case 4068:case 2532:return ra(e,/(.+)-inline(.+)/,za+"$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(la(e)-1-t>6)switch(aa(e,t+1)){case 109:if(45!==aa(e,t+4))break;case 102:return ra(e,/(.+:)(.+)-([^]+)/,"$1"+za+"$2-$3$1"+Aa+(108==aa(e,t+3)?"$3":"$2-$3"))+e;case 115:return~oa(e,"stretch")?Xa(ra(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==aa(e,t+1))break;case 6444:switch(aa(e,la(e)-3-(~oa(e,"!important")&&10))){case 107:return ra(e,":",":"+za)+e;case 101:return ra(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+za+(45===aa(e,14)?"inline-":"")+"box$3$1"+za+"$2$3$1"+Ra+"$2box$3")+e}break;case 5936:switch(aa(e,t+11)){case 114:return za+e+Ra+ra(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return za+e+Ra+ra(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return za+e+Ra+ra(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return za+e+Ra+e+e}return e}var Ga=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case Da:e.return=Xa(e.value,e.length);break;case ja:return Ia([ga(e,{value:ra(e.value,"@","@"+za)})],r);case Ma:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,(function(t){switch(function(e,t){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Ia([ga(e,{props:[ra(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return Ia([ga(e,{props:[ra(t,/:(plac\w+)/,":"+za+"input-$1")]}),ga(e,{props:[ra(t,/:(plac\w+)/,":-moz-$1")]}),ga(e,{props:[ra(t,/:(plac\w+)/,Ra+"input-$1")]})],r)}return""}))}}],Za=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,(function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))}))}var r,o,a=e.stylisPlugins||Ga,i={},l=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),(function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)i[t[n]]=!0;l.push(e)}));var u,s,c,f,d=[$a,(f=function(e){u.insert(e)},function(e){e.root||(e=e.return)&&f(e)})],p=(s=[Ya,Ka].concat(a,d),c=ua(s),function(e,t,n,r){for(var o="",a=0;a<c;a++)o+=s[a](e,t,n,r)||"";return o});o=function(e,t,n,r){u=n,Ia(Ua(e?e+"{"+t.styles+"}":t.styles),p),r&&(m.inserted[t.name]=!0)};var m={key:t,sheet:new Zo({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:i,registered:{},insert:o};return m.sheet.hydrate(l),m},Ja={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,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 ei(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var ti=/[A-Z]|^ms/g,ni=/_EMO_([^_]+?)_([^]*?)_EMO_/g,ri=function(e){return 45===e.charCodeAt(1)},oi=function(e){return null!=e&&"boolean"!=typeof e},ai=ei((function(e){return ri(e)?e:e.replace(ti,"-$&").toLowerCase()})),ii=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(ni,(function(e,t,n){return ui={name:t,styles:n,next:ui},t}))}return 1===Ja[e]||ri(e)||"number"!=typeof t||0===t?t:t+"px"};function li(e,t,n){if(null==n)return"";if(void 0!==n.__emotion_styles)return n;switch(typeof n){case"boolean":return"";case"object":if(1===n.anim)return ui={name:n.name,styles:n.styles,next:ui},n.name;if(void 0!==n.styles){var r=n.next;if(void 0!==r)for(;void 0!==r;)ui={name:r.name,styles:r.styles,next:ui},r=r.next;return n.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var o=0;o<n.length;o++)r+=li(e,t,n[o])+";";else for(var a in n){var i=n[a];if("object"!=typeof i)null!=t&&void 0!==t[i]?r+=a+"{"+t[i]+"}":oi(i)&&(r+=ai(a)+":"+ii(a,i)+";");else if(!Array.isArray(i)||"string"!=typeof i[0]||null!=t&&void 0!==t[i[0]]){var l=li(e,t,i);switch(a){case"animation":case"animationName":r+=ai(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var u=0;u<i.length;u++)oi(i[u])&&(r+=ai(a)+":"+ii(a,i[u])+";")}return r}(e,t,n);case"function":if(void 0!==e){var o=ui,a=n(e);return ui=o,li(e,t,a)}}if(null==t)return n;var i=t[n];return void 0!==i?i:n}var ui,si=/label:\s*([^\s;\n{]+)\s*(;|$)/g,ci=function(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,o="";ui=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,o+=li(n,t,a)):o+=a[0];for(var i=1;i<e.length;i++)o+=li(n,t,e[i]),r&&(o+=a[i]);si.lastIndex=0;for(var l,u="";null!==(l=si.exec(o));)u+="-"+l[1];var s=function(e){for(var t,n=0,r=0,o=e.length;o>=4;++r,o-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(o){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(o)+u;return{name:s,styles:o,next:ui}},fi=!!t.useInsertionEffect&&t.useInsertionEffect,di=fi||function(e){return e()},pi=(fi||e.useLayoutEffect,e.createContext("undefined"!=typeof HTMLElement?Za({key:"css"}):null));pi.Provider;var mi=e.createContext({});function hi(e,t,n){var r="";return n.split(" ").forEach((function(n){void 0!==e[n]?t.push(e[n]+";"):r+=n+" "})),r}var vi=function(e,t,n){var r=e.key+"-"+t.name;!1===n&&void 0===e.registered[r]&&(e.registered[r]=t.styles)},gi=function(e,t,n){vi(e,t,n);var r=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var o=t;do{e.insert(t===o?"."+r:"",o,e.sheet,!0),o=o.next}while(void 0!==o)}};function yi(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function bi(e,t,n){var r=[],o=hi(e,r,n);return r.length<2?n:o+t(r)}var wi=function e(t){for(var n="",r=0;r<t.length;r++){var o=t[r];if(null!=o){var a=void 0;switch(typeof o){case"boolean":break;case"object":if(Array.isArray(o))a=e(o);else for(var i in a="",o)o[i]&&i&&(a&&(a+=" "),a+=i);break;default:a=o}a&&(n&&(n+=" "),n+=a)}}return n},xi=function(e){var t=Za({key:"css"});t.sheet.speedy=function(e){this.isSpeedy=e},t.compat=!0;var n=function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ci(n,t.registered,void 0);return gi(t,o,!1),t.key+"-"+o.name};return{css:n,cx:function(){for(var e=arguments.length,r=new Array(e),o=0;o<e;o++)r[o]=arguments[o];return bi(t.registered,n,wi(r))},injectGlobal:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ci(n,t.registered);yi(t,o)},keyframes:function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];var o=ci(n,t.registered),a="animation-"+o.name;return yi(t,{name:o.name,styles:"@keyframes "+a+"{"+o.styles+"}"}),a},hydrate:function(e){e.forEach((function(e){t.inserted[e]=!0}))},flush:function(){t.registered={},t.inserted={},t.sheet.flush()},sheet:t.sheet,cache:t,getRegisteredStyles:hi.bind(null,t.registered),merge:bi.bind(null,t.registered,n)}}(),ki=(xi.flush,xi.hydrate,xi.cx);xi.merge,xi.getRegisteredStyles,xi.injectGlobal,xi.keyframes,xi.css,xi.sheet,xi.cache;const Si={border:0,clip:"rect(1px, 1px, 1px, 1px)",WebkitClipPath:"inset( 50% )",clipPath:"inset( 50% )",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"absolute",width:"1px",wordWrap:"normal"};function Ei(){return Ei=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Ei.apply(this,arguments)}var _i=/^((children|dangerouslySetInnerHTML|key|ref|autoFocus|defaultValue|defaultChecked|innerHTML|suppressContentEditableWarning|suppressHydrationWarning|valueLink|abbr|accept|acceptCharset|accessKey|action|allow|allowUserMedia|allowPaymentRequest|allowFullScreen|allowTransparency|alt|async|autoComplete|autoPlay|capture|cellPadding|cellSpacing|challenge|charSet|checked|cite|classID|className|cols|colSpan|content|contentEditable|contextMenu|controls|controlsList|coords|crossOrigin|data|dateTime|decoding|default|defer|dir|disabled|disablePictureInPicture|download|draggable|encType|enterKeyHint|form|formAction|formEncType|formMethod|formNoValidate|formTarget|frameBorder|headers|height|hidden|high|href|hrefLang|htmlFor|httpEquiv|id|inputMode|integrity|is|keyParams|keyType|kind|label|lang|list|loading|loop|low|marginHeight|marginWidth|max|maxLength|media|mediaGroup|method|min|minLength|multiple|muted|name|nonce|noValidate|open|optimum|pattern|placeholder|playsInline|poster|preload|profile|radioGroup|readOnly|referrerPolicy|rel|required|reversed|role|rows|rowSpan|sandbox|scope|scoped|scrolling|seamless|selected|shape|size|sizes|slot|span|spellCheck|src|srcDoc|srcLang|srcSet|start|step|style|summary|tabIndex|target|title|translate|type|useMap|value|width|wmode|wrap|about|datatype|inlist|prefix|property|resource|typeof|vocab|autoCapitalize|autoCorrect|autoSave|color|incremental|fallback|inert|itemProp|itemScope|itemType|itemID|itemRef|on|option|results|security|unselectable|accentHeight|accumulate|additive|alignmentBaseline|allowReorder|alphabetic|amplitude|arabicForm|ascent|attributeName|attributeType|autoReverse|azimuth|baseFrequency|baselineShift|baseProfile|bbox|begin|bias|by|calcMode|capHeight|clip|clipPathUnits|clipPath|clipRule|colorInterpolation|colorInterpolationFilters|colorProfile|colorRendering|contentScriptType|contentStyleType|cursor|cx|cy|d|decelerate|descent|diffuseConstant|direction|display|divisor|dominantBaseline|dur|dx|dy|edgeMode|elevation|enableBackground|end|exponent|externalResourcesRequired|fill|fillOpacity|fillRule|filter|filterRes|filterUnits|floodColor|floodOpacity|focusable|fontFamily|fontSize|fontSizeAdjust|fontStretch|fontStyle|fontVariant|fontWeight|format|from|fr|fx|fy|g1|g2|glyphName|glyphOrientationHorizontal|glyphOrientationVertical|glyphRef|gradientTransform|gradientUnits|hanging|horizAdvX|horizOriginX|ideographic|imageRendering|in|in2|intercept|k|k1|k2|k3|k4|kernelMatrix|kernelUnitLength|kerning|keyPoints|keySplines|keyTimes|lengthAdjust|letterSpacing|lightingColor|limitingConeAngle|local|markerEnd|markerMid|markerStart|markerHeight|markerUnits|markerWidth|mask|maskContentUnits|maskUnits|mathematical|mode|numOctaves|offset|opacity|operator|order|orient|orientation|origin|overflow|overlinePosition|overlineThickness|panose1|paintOrder|pathLength|patternContentUnits|patternTransform|patternUnits|pointerEvents|points|pointsAtX|pointsAtY|pointsAtZ|preserveAlpha|preserveAspectRatio|primitiveUnits|r|radius|refX|refY|renderingIntent|repeatCount|repeatDur|requiredExtensions|requiredFeatures|restart|result|rotate|rx|ry|scale|seed|shapeRendering|slope|spacing|specularConstant|specularExponent|speed|spreadMethod|startOffset|stdDeviation|stemh|stemv|stitchTiles|stopColor|stopOpacity|strikethroughPosition|strikethroughThickness|string|stroke|strokeDasharray|strokeDashoffset|strokeLinecap|strokeLinejoin|strokeMiterlimit|strokeOpacity|strokeWidth|surfaceScale|systemLanguage|tableValues|targetX|targetY|textAnchor|textDecoration|textRendering|textLength|to|transform|u1|u2|underlinePosition|underlineThickness|unicode|unicodeBidi|unicodeRange|unitsPerEm|vAlphabetic|vHanging|vIdeographic|vMathematical|values|vectorEffect|version|vertAdvY|vertOriginX|vertOriginY|viewBox|viewTarget|visibility|widths|wordSpacing|writingMode|x|xHeight|x1|x2|xChannelSelector|xlinkActuate|xlinkArcrole|xlinkHref|xlinkRole|xlinkShow|xlinkTitle|xlinkType|xmlBase|xmlns|xmlnsXlink|xmlLang|xmlSpace|y|y1|y2|yChannelSelector|z|zoomAndPan|for|class|autofocus)|(([Dd][Aa][Tt][Aa]|[Aa][Rr][Ii][Aa]|x)-.*))$/,Ci=ei((function(e){return _i.test(e)||111===e.charCodeAt(0)&&110===e.charCodeAt(1)&&e.charCodeAt(2)<91})),Pi=function(e){return"theme"!==e},Oi=function(e){return"string"==typeof e&&e.charCodeAt(0)>96?Ci:Pi},Ti=function(e,t,n){var r;if(t){var o=t.shouldForwardProp;r=e.__emotion_forwardProp&&o?function(t){return e.__emotion_forwardProp(t)&&o(t)}:o}return"function"!=typeof r&&n&&(r=e.__emotion_forwardProp),r},Ni=function(e){var t=e.cache,n=e.serialized,r=e.isStringTag;return vi(t,n,r),di((function(){return gi(t,n,r)})),null},Li=function t(n,r){var o,a,i=n.__emotion_real===n,l=i&&n.__emotion_base||n;void 0!==r&&(o=r.label,a=r.target);var u=Ti(n,r,i),s=u||Oi(l),c=!s("as");return function(){var f=arguments,d=i&&void 0!==n.__emotion_styles?n.__emotion_styles.slice(0):[];if(void 0!==o&&d.push("label:"+o+";"),null==f[0]||void 0===f[0].raw)d.push.apply(d,f);else{d.push(f[0][0]);for(var p=f.length,m=1;m<p;m++)d.push(f[m],f[0][m])}var h,v=(h=function(t,n,r){var o=c&&t.as||l,i="",f=[],p=t;if(null==t.theme){for(var m in p={},t)p[m]=t[m];p.theme=e.useContext(mi)}"string"==typeof t.className?i=hi(n.registered,f,t.className):null!=t.className&&(i=t.className+" ");var h=ci(d.concat(f),n.registered,p);i+=n.key+"-"+h.name,void 0!==a&&(i+=" "+a);var v=c&&void 0===u?Oi(o):s,g={};for(var y in t)c&&"as"===y||v(y)&&(g[y]=t[y]);return g.className=i,g.ref=r,e.createElement(e.Fragment,null,e.createElement(Ni,{cache:n,serialized:h,isStringTag:"string"==typeof o}),e.createElement(o,g))},(0,e.forwardRef)((function(t,n){var r=(0,e.useContext)(pi);return h(t,r,n)})));return v.displayName=void 0!==o?o:"Styled("+("string"==typeof l?l:l.displayName||l.name||"Component")+")",v.defaultProps=n.defaultProps,v.__emotion_real=v,v.__emotion_base=l,v.__emotion_styles=d,v.__emotion_forwardProp=u,Object.defineProperty(v,"toString",{value:function(){return"."+a}}),v.withComponent=function(e,n){return t(e,Ei({},r,n,{shouldForwardProp:Ti(v,n,!0)})).apply(void 0,d)},v}};const Ri=Li("div",{target:"e19lxcc00"})("");Ri.selector=".components-view",Ri.displayName="View";const Ai=Ri,zi=function(t,n,r){const o=r?.forwardsRef?(0,e.forwardRef)(t):t;let a=o[Bo]||[n];return Array.isArray(n)&&(a=[...a,...n]),"string"==typeof n&&(a=[...a,n]),Object.assign(o,{[Bo]:[...new Set(a)],displayName:n,selector:`.${Go(n)}`})}((function(t,n){const{style:r,...o}=function(t,n){const r=Uo(),o=r?.[n]||{},a={[Ho]:!0,...(i=n,{[Vo]:i})};var i;const{_overrides:l,...u}=o,s=Object.entries(u).length?Object.assign({},u,t):t,c=(()=>{const t=(0,e.useContext)(pi);return(0,e.useCallback)(((...e)=>{if(null===t)throw new Error("The `useCx` hook should be only used within a valid Emotion Cache Context");return ki(...e.map((e=>{return null!=(n=e)&&["name","styles"].every((e=>void 0!==n[e]))?(gi(t,e,!1),`${t.key}-${e.name}`):e;var n})))}),[t])})()(Go(n),t.className),f="function"==typeof s.renderChildren?s.renderChildren(s):s.children;for(const e in s)a[e]=s[e];for(const e in l)a[e]=l[e];return void 0!==f&&(a.children=f),a.className=c,a}(t,"VisuallyHidden");return(0,e.createElement)(Ai,{ref:n,...o,style:{...Si,...r||{}}})}),"VisuallyHidden",{forwardsRef:!0}),Fi=["onMouseDown","onClick"],Mi=(0,e.forwardRef)((function(t,n){const{__next40pxDefaultSize:r,isBusy:o,isDestructive:a,className:i,disabled:l,icon:u,iconPosition:s="left",iconSize:c,showTooltip:f,tooltipPosition:d,shortcut:p,label:m,children:h,size:v="default",text:g,variant:b,__experimentalIsFocusable:w,describedBy:x,...k}=function({isDefault:e,isPrimary:t,isSecondary:n,isTertiary:r,isLink:o,isPressed:a,isSmall:i,size:l,variant:u,...s}){let c=l,f=u;const d={"aria-pressed":a};var p,m,h,v,g,y;return i&&(null!==(p=c)&&void 0!==p||(c="small")),t&&(null!==(m=f)&&void 0!==m||(f="primary")),r&&(null!==(h=f)&&void 0!==h||(f="tertiary")),n&&(null!==(v=f)&&void 0!==v||(f="secondary")),e&&(K("Button isDefault prop",{since:"5.4",alternative:'variant="secondary"',version:"6.2"}),null!==(g=f)&&void 0!==g||(f="secondary")),o&&(null!==(y=f)&&void 0!==y||(f="link")),{...d,...s,size:c,variant:f}}(t),{href:S,target:E,"aria-checked":_,"aria-pressed":C,"aria-selected":P,...O}="href"in k?k:{href:void 0,target:void 0,...k},T=G(Mi,"components-button__description"),N="string"==typeof h&&!!h||Array.isArray(h)&&h?.[0]&&null!==h[0]&&"components-tooltip"!==h?.[0]?.props?.className,L=y()("components-button",i,{"is-next-40px-default-size":r,"is-secondary":"secondary"===b,"is-primary":"primary"===b,"is-small":"small"===v,"is-compact":"compact"===v,"is-tertiary":"tertiary"===b,"is-pressed":[!0,"true","mixed"].includes(C),"is-pressed-mixed":"mixed"===C,"is-busy":o,"is-link":"link"===b,"is-destructive":a,"has-text":!!u&&N,"has-icon":!!u}),R=l&&!w,A=void 0===S||R?"button":"a",z="button"===A?{type:"button",disabled:R,"aria-checked":_,"aria-pressed":C,"aria-selected":P}:{},F="a"===A?{href:S,target:E}:{};if(l&&w){z["aria-disabled"]=!0,F["aria-disabled"]=!0;for(const e of Fi)O[e]=e=>{e&&(e.stopPropagation(),e.preventDefault())}}const M=!R&&(f&&m||p||!!m&&!h?.length&&!1!==f),D=x?T:void 0,j=O["aria-describedby"]||D,I={className:L,"aria-label":O["aria-label"]||m,"aria-describedby":j,ref:n},$=(0,e.createElement)(e.Fragment,null,u&&"left"===s&&(0,e.createElement)(Ao,{icon:u,size:c}),g&&(0,e.createElement)(e.Fragment,null,g),u&&"right"===s&&(0,e.createElement)(Ao,{icon:u,size:c}),h),U="a"===A?(0,e.createElement)("a",{...F,...O,...I},$):(0,e.createElement)("button",{...z,...O,...I},$);let V;return void 0!==d&&(V=Oo(d)),M?(0,e.createElement)(e.Fragment,null,(0,e.createElement)(No,{text:h?.length&&x?x:m,shortcut:p,placement:V},U),x&&(0,e.createElement)(zi,null,(0,e.createElement)("span",{id:D},x))):(0,e.createElement)(e.Fragment,null,U,x&&(0,e.createElement)(zi,null,(0,e.createElement)("span",{id:D},x)))})),Di=Mi;var ji=o(8975),Ii=o.n(ji);const $i=Xo(console.error);function Ui(e,...t){try{return Ii().sprintf(e,...t)}catch(t){return t instanceof Error&&$i("sprintf error: \n\n"+t.toString()),e}}var Vi,Hi,Bi,Wi;Vi={"(":9,"!":8,"*":7,"/":7,"%":7,"+":6,"-":6,"<":5,"<=":5,">":5,">=":5,"==":4,"!=":4,"&&":3,"||":2,"?":1,"?:":1},Hi=["(","?"],Bi={")":["("],":":["?","?:"]},Wi=/<=|>=|==|!=|&&|\|\||\?:|\(|!|\*|\/|%|\+|-|<|>|\?|\)|:/;var qi={"!":function(e){return!e},"*":function(e,t){return e*t},"/":function(e,t){return e/t},"%":function(e,t){return e%t},"+":function(e,t){return e+t},"-":function(e,t){return e-t},"<":function(e,t){return e<t},"<=":function(e,t){return e<=t},">":function(e,t){return e>t},">=":function(e,t){return e>=t},"==":function(e,t){return e===t},"!=":function(e,t){return e!==t},"&&":function(e,t){return e&&t},"||":function(e,t){return e||t},"?:":function(e,t,n){if(e)throw t;return n}};var Qi={contextDelimiter:"",onMissingKey:null};function Yi(e,t){var n;for(n in this.data=e,this.pluralForms={},this.options={},Qi)this.options[n]=void 0!==t&&n in t?t[n]:Qi[n]}Yi.prototype.getPluralForm=function(e,t){var n,r,o,a,i=this.pluralForms[e];return i||("function"!=typeof(o=(n=this.data[e][""])["Plural-Forms"]||n["plural-forms"]||n.plural_forms)&&(r=function(e){var t,n,r;for(t=e.split(";"),n=0;n<t.length;n++)if(0===(r=t[n].trim()).indexOf("plural="))return r.substr(7)}(n["Plural-Forms"]||n["plural-forms"]||n.plural_forms),a=function(e){var t=function(e){for(var t,n,r,o,a=[],i=[];t=e.match(Wi);){for(n=t[0],(r=e.substr(0,t.index).trim())&&a.push(r);o=i.pop();){if(Bi[n]){if(Bi[n][0]===o){n=Bi[n][1]||n;break}}else if(Hi.indexOf(o)>=0||Vi[o]<Vi[n]){i.push(o);break}a.push(o)}Bi[n]||i.push(n),e=e.substr(t.index+n.length)}return(e=e.trim())&&a.push(e),a.concat(i.reverse())}(e);return function(e){return function(e,t){var n,r,o,a,i,l,u=[];for(n=0;n<e.length;n++){if(i=e[n],a=qi[i]){for(r=a.length,o=Array(r);r--;)o[r]=u.pop();try{l=a.apply(null,o)}catch(e){return e}}else l=t.hasOwnProperty(i)?t[i]:+i;u.push(l)}return u[0]}(t,e)}}(r),o=function(e){return+a({n:e})}),i=this.pluralForms[e]=o),i(t)},Yi.prototype.dcnpgettext=function(e,t,n,r,o){var a,i,l;return a=void 0===o?0:this.getPluralForm(e,o),i=n,t&&(i=t+this.options.contextDelimiter+n),(l=this.data[e][i])&&l[a]?l[a]:(this.options.onMissingKey&&this.options.onMissingKey(n,e),0===a?n:r)};const Ki={plural_forms:e=>1===e?0:1},Xi=/^i18n\.(n?gettext|has_translation)(_|$)/,Gi=((e,t,n)=>{const r=new Yi({}),o=new Set,a=()=>{o.forEach((e=>e()))},i=(e,t="default")=>{r.data[t]={...r.data[t],...e},r.data[t][""]={...Ki,...r.data[t]?.[""]},delete r.pluralForms[t]},l=(e,t)=>{i(e,t),a()},u=(e="default",t,n,o,a)=>(r.data[e]||i(void 0,e),r.dcnpgettext(e,t,n,o,a)),s=(e="default")=>e,_x=(e,t,r)=>{let o=u(r,t,e);return n?(o=n.applyFilters("i18n.gettext_with_context",o,e,t,r),n.applyFilters("i18n.gettext_with_context_"+s(r),o,e,t,r)):o};if(n){const e=e=>{Xi.test(e)&&a()};n.addAction("hookAdded","core/i18n",e),n.addAction("hookRemoved","core/i18n",e)}return{getLocaleData:(e="default")=>r.data[e],setLocaleData:l,addLocaleData:(e,t="default")=>{r.data[t]={...r.data[t],...e,"":{...Ki,...r.data[t]?.[""],...e?.[""]}},delete r.pluralForms[t],a()},resetLocaleData:(e,t)=>{r.data={},r.pluralForms={},l(e,t)},subscribe:e=>(o.add(e),()=>o.delete(e)),__:(e,t)=>{let r=u(t,void 0,e);return n?(r=n.applyFilters("i18n.gettext",r,e,t),n.applyFilters("i18n.gettext_"+s(t),r,e,t)):r},_x,_n:(e,t,r,o)=>{let a=u(o,void 0,e,t,r);return n?(a=n.applyFilters("i18n.ngettext",a,e,t,r,o),n.applyFilters("i18n.ngettext_"+s(o),a,e,t,r,o)):a},_nx:(e,t,r,o,a)=>{let i=u(a,o,e,t,r);return n?(i=n.applyFilters("i18n.ngettext_with_context",i,e,t,r,o,a),n.applyFilters("i18n.ngettext_with_context_"+s(a),i,e,t,r,o,a)):i},isRTL:()=>"rtl"===_x("ltr","text direction"),hasTranslation:(e,t,o)=>{const a=t?t+""+e:e;let i=!!r.data?.[null!=o?o:"default"]?.[a];return n&&(i=n.applyFilters("i18n.has_translation",i,e,t,o),i=n.applyFilters("i18n.has_translation_"+s(o),i,e,t,o)),i}}})(0,0,T),__=(Gi.getLocaleData.bind(Gi),Gi.setLocaleData.bind(Gi),Gi.resetLocaleData.bind(Gi),Gi.subscribe.bind(Gi),Gi.__.bind(Gi)),Zi=(Gi._x.bind(Gi),Gi._n.bind(Gi),Gi._nx.bind(Gi),Gi.isRTL.bind(Gi),Gi.hasTranslation.bind(Gi),(0,e.createElement)(Lo,{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 24 24"},(0,e.createElement)((t=>(0,e.createElement)("path",t)),{d:"M19.5 4.5h-7V6h4.44l-5.97 5.97 1.06 1.06L18 7.06v4.44h1.5v-7Zm-13 1a2 2 0 0 0-2 2v10a2 2 0 0 0 2 2h10a2 2 0 0 0 2-2v-3H17v3a.5.5 0 0 1-.5.5h-10a.5.5 0 0 1-.5-.5v-10a.5.5 0 0 1 .5-.5h3V5.5h-3Z"}))),Ji=Li((0,e.forwardRef)((function({icon:t,size:n=24,...r},o){return(0,e.cloneElement)(t,{width:n,height:n,...r,ref:o})})),{target:"esh4a730"})({name:"rvs7bx",styles:"width:1em;height:1em;margin:0;vertical-align:middle;fill:currentColor"}),el=(0,e.forwardRef)((function(t,n){const{href:r,children:o,className:a,rel:i="",...l}=t,u=[...new Set([...i.split(" "),"external","noreferrer","noopener"].filter(Boolean))].join(" "),s=y()("components-external-link",a),c=!!r?.startsWith("#");return(0,e.createElement)("a",{...l,className:s,href:r,onClick:e=>{c&&e.preventDefault(),t.onClick&&t.onClick(e)},target:"_blank",rel:u,ref:n},o,(0,e.createElement)(zi,{as:"span"},/* translators: accessibility text */
__("(opens in a new tab)")),(0,e.createElement)(Ji,{icon:Zi,className:"components-external-link__icon"}))})),tl=window.wp.apiFetch;var nl=o.n(tl);function rl({children:t,className:n="",direction:r="left",ElementName:o="div",selected:a=!1,...i}){return(0,e.createElement)(o,{className:y()(n,"selectable",{"selectable--selected":a},`selectable--${r}`),...i},t)}const ol="error",al="warning",il="info",ll="success",ul="small",sl="large";function cl({children:t,className:n,size:r=sl,type:o=il,...a}){const i=function(t){let n;switch(t){case ll:n=()=>(0,e.createElement)("svg",{width:"35",height:"36",viewBox:"0 0 35 36",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("rect",{x:"1.90112",y:"1.98828",width:"32.0691",height:"32.0691",rx:"16.0345",stroke:"#00A02F",strokeWidth:"2"}),(0,e.createElement)("mask",{id:"mask-notice-success",style:{maskType:"alpha"},maskUnits:"userSpaceOnUse",x:"10",y:"12",width:"16",height:"12"},(0,e.createElement)("path",{d:"M15.0921 21.461L11.3924 17.7613L10.1326 19.0122L15.0921 23.9718L25.7387 13.3252L24.4877 12.0742L15.0921 21.461Z",fill:"white"})),(0,e.createElement)("g",{mask:"url(#mask-notice-success)"},(0,e.createElement)("rect",{x:"7.28906",y:"7.375",width:"21.2932",height:"21.2932",fill:"#00A02F"})));break;case ol:n=()=>(0,e.createElement)("svg",{width:"44",height:"44",viewBox:"0 0 44 44",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("path",{d:"M8.18125 16.1001L16.4324 7.84902L28.1012 7.84902L36.3523 16.1001L36.3523 27.769L28.1012 36.0201L16.4324 36.0201L8.18125 27.769L8.18125 16.1001Z",stroke:"#EF0000",strokeWidth:"2"}),(0,e.createElement)("path",{d:"M24.2671 27.4609C24.2671 28.5654 23.3716 29.4609 22.2671 29.4609C21.1626 29.4609 20.2671 28.5654 20.2671 27.4609C20.2671 26.3564 21.1626 25.4609 22.2671 25.4609C23.3716 25.4609 24.2671 26.3564 24.2671 27.4609Z",fill:"#EF0000"}),(0,e.createElement)("line",{x1:"22.2891",y1:"14.0586",x2:"22.2891",y2:"23.5659",stroke:"#EF0000",strokeWidth:"2"}));break;default:n=()=>(0,e.createElement)("svg",{width:"35",height:"35",viewBox:"0 0 35 35",fill:"none",xmlns:"http://www.w3.org/2000/svg"},(0,e.createElement)("rect",{x:"1.66626",y:"1.76172",width:"31.4597",height:"31.4597",rx:"15.7299",stroke:"currentColor",strokeWidth:"2"}),(0,e.createElement)("path",{d:"M15.3048 11.3424C15.3048 10.1875 16.2412 9.25113 17.3961 9.25113C18.5509 9.25113 19.4873 10.1875 19.4873 11.3424C19.4873 12.4972 18.5509 13.4336 17.3961 13.4336C16.2412 13.4336 15.3048 12.4972 15.3048 11.3424Z",fill:"currentColor"}),(0,e.createElement)("line",{x1:"17.4184",y1:"25.3594",x2:"17.4184",y2:"15.4184",stroke:"currentColor",strokeWidth:"2"}))}return(0,e.createElement)(n,null)}(o);return(0,e.createElement)("div",{className:y()(n,"amp-notice",`amp-notice--${o}`,`amp-notice--${r}`),...a},(0,e.createElement)("div",{className:"amp-notice__icon"},i),(0,e.createElement)("div",{className:"amp-notice__body"},t))}var fl=o(2152),dl=o.n(fl);function pl(t){const n=(0,e.useRef)(t);return n.current=t,n}function ml(t,n){const r=pl(t),o=pl(n);return function(t,n){const a=(0,e.useRef)();return(0,e.useCallback)((e=>{e?a.current=(e=>{const t=new(dl())(e,{text:()=>"function"==typeof r.current?r.current():r.current||""});return t.on("success",(({clearSelection:t})=>{t(),e.focus(),o.current&&o.current()})),()=>{t.destroy()}})(e):a.current&&a.current()}),[])}()}const hl=4e3;function vl({children:t,onCopy:n,onFinishCopy:r,text:o,...a}){const i=(0,e.useRef)(),l=ml(o,(()=>{n&&n(),clearTimeout(i.current),r&&(i.current=setTimeout((()=>r()),hl))}));return(0,e.useEffect)((()=>{clearTimeout(i.current)}),[]),(0,e.createElement)(Di,{...a,className:"components-clipboard-button",ref:l,onCopy:e=>{e.target.focus()}},t)}function gl({open:t=!1,title:n,description:r}){return n&&r&&(0,e.createElement)("details",{open:t},(0,e.createElement)("summary",null,n),(0,e.createElement)("div",{className:"detail-body"},(0,e.createElement)("p",{className:"detail-body-text"},r)))}function yl({className:t="",isDisc:n=!1,heading:r,items:o}){return(0,e.createElement)("ul",{className:y()("list-items",t,{"list-items--list-style-disc":n})},r&&(0,e.createElement)("li",{className:"list-items__item"},(0,e.createElement)("h4",{className:"list-items__heading"},r)),o.map(((t,n)=>(0,e.createElement)("li",{key:n,className:"list-items__item"},t.label&&(0,e.createElement)("strong",{className:"list-items__item-key"},t.label),t.value||t.url?(0,e.createElement)("span",{className:"list-items__item-value"},t.value,t.url&&(0,e.createElement)("a",{href:t.url,title:t.url,target:"_blank",rel:"noreferrer noopener"},t.url)):"-"))))}function bl({plugins:t}){if(!Array.isArray(t))return null;const n=t.map((e=>({value:`${e.name} ${e.version?"("+e.version+")":""}`})));return(0,e.createElement)("details",{open:!1},(0,e.createElement)("summary",null,Ui(/* translators: Placeholder is the number of plugins */
__("Plugins (%s)","amp"),t.length)),(0,e.createElement)("div",{className:"detail-body"},(0,e.createElement)(yl,{isDisc:!0,items:n})))}function wl({data:t}){return(0,e.createElement)("details",{open:!1},(0,e.createElement)("summary",null,__("Raw Data","amp")),(0,e.createElement)("pre",{className:"amp-support__raw-data detail-body"},JSON.stringify(t,null,4)))}function xl({siteInfo:t}){return"object"!=typeof t?null:(0,e.createElement)("details",{open:!1},(0,e.createElement)("summary",null,__("Site Information","amp")),(0,e.createElement)("div",{className:"detail-body"},(0,e.createElement)(yl,{heading:__("Site Information","amp"),items:[{label:__("Site URL","amp"),value:t?.site_url},{label:__("Site title","amp"),value:t?.site_title},{label:__("PHP version","amp"),value:t?.php_version},{label:__("MySQL version","amp"),value:t?.mysql_version},{label:__("WordPress version","amp"),value:t?.wp_version},{label:__("WordPress language","amp"),value:t?.wp_language}]}),(0,e.createElement)(yl,{heading:__("Site Health","amp"),items:[{label:__("Https status","amp"),value:t?.wp_https_status?"Yes":"No"},{label:__("Object cache status","amp"),value:t?.object_cache_status?"Yes":"No"},{label:__("Libxml version","amp"),value:t?.libxml_version},{label:__("Is defined curl multi","amp"),value:t?.is_defined_curl_multi?"Yes":"No"}]}),(0,e.createElement)(yl,{heading:__("AMP Information","amp"),items:[{label:__("AMP mode","amp"),value:t?.amp_mode},{label:__("AMP version","amp"),value:t?.amp_version},{label:__("AMP plugin configured","amp"),value:t?.amp_plugin_configured?"Yes":"No"},{label:__("AMP all templates supported","amp"),value:t?.amp_all_templates_supported?"Yes":"No"},{label:__("AMP supported post types","amp"),value:t?.amp_supported_post_types?t.amp_supported_post_types.join(", "):""},{label:__("AMP supported templates","amp"),value:t?.amp_supported_templates?t.amp_supported_templates.join(", "):""},{label:__("AMP mobile redirect","amp"),value:t?.amp_mobile_redirect?"Yes":"No"},{label:__("AMP reader theme","amp"),value:t?.amp_reader_theme}]})))}function kl({themes:t}){if(!Array.isArray(t))return null;const n=t.map((e=>({value:`${e.name} ${e.version?"("+e.version+")":""}`})));return(0,e.createElement)("details",{open:!1},(0,e.createElement)("summary",null,__("Themes","amp")),(0,e.createElement)("div",{className:"detail-body"},(0,e.createElement)(yl,{isDisc:!0,items:n})))}function Sl({validatedUrls:t}){if(!Array.isArray(t))return null;const n=t.map((e=>{var t;return{url:null!==(t=e.url)&&void 0!==t?t:null}}));return(0,e.createElement)("details",{open:!1},(0,e.createElement)("summary",null,Ui(/* translators: Placeholder is the number of validated URLs. */
__("Validated URLs (%d)","amp"),t.length)),(0,e.createElement)("div",{className:"detail-body"},(0,e.createElement)(yl,{isDisc:!0,items:n})))}function El({data:t,args:n,ampValidatedPostCount:r}){const o=0<n?.urls?.length,a=0<t.errors?.length||0<t.urls?.length,i=0<r.all&&r.all===r.stale,l=0<r.fresh&&0<r.stale,u=0<r.all&&r.all===r.fresh;return o||0!==r.all?!o&&i?(0,e.createElement)(cl,{type:al,size:ul},__("The validation data is stale. Go to the AMP Settings page and rescan you site before sending a support request.","amp")):o||a||!l?o||a||!u?o&&!a?(0,e.createElement)(cl,{type:ll,size:ul},__("The requested URL does not have any AMP validation errors.","amp")):null:(0,e.createElement)(cl,{type:il,size:ul},__("We found no issues on your site. Browse your site to ensure everything is working as expected.","amp")):(0,e.createElement)(cl,{type:al,size:ul},__("We found no issues on your site but there are some stale validation results. Browse your site to ensure everything is working as expected.","amp")):(0,e.createElement)(cl,{type:al,size:ul},__("The site has no validation data. Go to the AMP Settings page and scan you site before sending a support request.","amp"))}function _l(t){const{data:n,restEndpoint:r,args:o,ampValidatedPostCount:a}=t,[i,l]=(0,e.useState)(!1),[u,s]=(0,e.useState)(null),[c,f]=(0,e.useState)(null),[d,p]=(0,e.useState)(!1),[m,h]=(0,e.useState)(!1);return(0,e.useEffect)((()=>{(async()=>{if(m&&!u&&!i){l(!0),s(null),f(null);try{const e=await nl()({url:r,method:"POST",data:{args:o}});if(void 0===e.success||void 0===e?.data?.uuid)throw new Error(__("Failed to send support request. Please try again later.","amp"));s(e.data.uuid)}catch(e){h(!1),f(e.message)}finally{l(!1)}}})()}),[m,u,i,r,o]),(0,e.createElement)("div",{className:"amp-support"},(0,e.createElement)(rl,null,(0,e.createElement)("h2",{className:"amp-support__heading"},__("AMP Support","amp")),(0,e.createElement)("p",null,v(__("In order to best assist you, please tap the Send Data button below to send the following site information to our private database. Once you have done so, copy the the resulting Support UUID in the blue box that appears and include the ID in a new <a>support forum topic</a>. You do not have to submit data to get support, but our team will be able to help you more effectively if you do so.","amp"),{a:(0,e.createElement)("a",{href:"https://wordpress.org/support/plugin/amp/#new-topic-0",rel:"noreferrer",target:"_blank"})})),(0,e.createElement)(El,{data:n,args:o,ampValidatedPostCount:a}),(0,e.createElement)("div",{className:"amp-support__body"},n.site_info&&(0,e.createElement)(xl,{siteInfo:n.site_info}),n.themes&&(0,e.createElement)(kl,{themes:n.themes}),n.plugins&&(0,e.createElement)(bl,{plugins:n.plugins}),n?.errors?.length>0&&(0,e.createElement)(gl,{title:Ui(/* translators: Placeholder is the number of errors */
__("Errors (%d)","amp"),n.errors.length),description:__('Please check "Raw Data" for all error information.',"amp")}),n?.error_sources?.length>0&&(0,e.createElement)(gl,{title:Ui(/* translators: Placeholder is the number of error sources */
__("Error Sources (%d)","amp"),n.error_sources.length),description:__('Please check "Raw Data" for all error source information.',"amp")}),n?.urls?.length>0&&(0,e.createElement)(Sl,{validatedUrls:n.urls}),n&&(0,e.createElement)(wl,{data:n})),(0,e.createElement)("div",{className:"amp-support__footer"},(0,e.createElement)(Di,{disabled:Boolean(u)||i,className:"components-button--send-button",isPrimary:!0,onClick:()=>{h(!0)}},u&&__("Sent","amp"),i&&__("Sending…","amp"),!u&&!i&&__("Send data","amp")),u&&(0,e.createElement)(el,{href:"https://wordpress.org/support/plugin/amp/#new-topic-0"},__("Create support topic","amp")),c&&(0,e.createElement)(cl,{type:ol,size:ul},c)),u&&(0,e.createElement)(cl,{type:il,size:ul,className:"amp-notice--uuid"},__("Support UUID: ","amp"),(0,e.createElement)("code",null,u),(0,e.createElement)(vl,{isSmall:!0,text:u,onCopy:()=>p(!0),onFinishCopy:()=>p(!1)},__(d?"Copied!":"Copy UUID","amp")))))}const Cl=function({label:t,children:n}){return(0,e.createElement)("div",{className:"components-panel__header"},t&&(0,e.createElement)("h2",null,t),n)},Pl=(0,e.forwardRef)((function({header:t,className:n,children:r},o){const a=y()(n,"components-panel");return(0,e.createElement)("div",{className:a,ref:o},t&&(0,e.createElement)(Cl,{label:t}),r)}));function Ol({error:t,finishLinkLabel:n,finishLinkUrl:r,title:o}){const[a,i]=(0,e.useState)(!1),{message:l,stack:u}=t;return(0,e.createElement)("div",{className:"error-screen-container"},(0,e.createElement)(Pl,{className:"error-screen"},(0,e.createElement)("h1",null,o||__("Something went wrong.","amp")),(0,e.createElement)("p",{dangerouslySetInnerHTML:{__html:l||__("There was an error loading the page.","amp")}}),(0,e.createElement)("p",null,v(__("Please submit details to our <a>support forum</a>.","amp"),{a:(0,e.createElement)("a",{href:"https://wordpress.org/support/plugin/amp/",target:"_blank",rel:"noreferrer noopener"})})),u&&(0,e.createElement)("details",null,(0,e.createElement)("summary",null,__("Details","amp")),(0,e.createElement)("pre",null,u),(0,e.createElement)(vl,{isSmall:!0,isSecondary:!0,text:JSON.stringify({message:l,stack:u},null,2),onCopy:()=>i(!0),onFinishCopy:()=>i(!1)},__(a?"Copied!":"Copy Error","amp"))),r&&n&&(0,e.createElement)("p",null,(0,e.createElement)("a",{href:r},n))))}class Tl extends e.Component{constructor(e){super(e),this.timeout=null,this.state={error:null}}componentDidMount(){this.mounted=!0}componentWillUnmount(){this.mounted=!1}componentDidCatch(e){this.setState({error:e})}render(){const{error:t}=this.state,{children:n,exitLinkLabel:r,exitLinkUrl:o,title:a}=this.props;return t?(0,e.createElement)(Ol,{error:t,finishLinkLabel:r,finishLinkUrl:o,title:a}):n}}var Nl;Nl=()=>{const t=document.getElementById("amp-support-root");o.g.addEventListener("error",(n=>{n.filename&&/amp-support(\.min)?\.js/.test(n.filename)&&(0,r.s)(t).render((0,e.createElement)(Ol,{error:n.error}))})),t&&(0,r.s)(t).render((0,e.createElement)(i,null,(0,e.createElement)(Tl,null,(0,e.createElement)(_l,{restEndpoint:n.restEndpoint,args:n.args,data:n.data,ampValidatedPostCount:n.ampValidatedPostCount}))))},"undefined"!=typeof document&&("complete"!==document.readyState&&"interactive"!==document.readyState?document.addEventListener("DOMContentLoaded",Nl):Nl())})()})();