HEX
Server: nginx/1.26.1
System: Linux main-vm 5.15.0-153-generic #163-Ubuntu SMP Thu Aug 7 16:37:18 UTC 2025 x86_64
User: root (0)
PHP: 8.2.19
Disabled: NONE
Upload Files
File: /var/www/chameleon/wp-content/plugins/suremails/build/main.js
/*! For license information please see main.js.LICENSE.txt */
(()=>{var e,t,n={5413:(e,t)=>{"use strict";var n;Object.defineProperty(t,"__esModule",{value:!0}),t.Doctype=t.CDATA=t.Tag=t.Style=t.Script=t.Comment=t.Directive=t.Text=t.Root=t.isTag=t.ElementType=void 0,function(e){e.Root="root",e.Text="text",e.Directive="directive",e.Comment="comment",e.Script="script",e.Style="style",e.Tag="tag",e.CDATA="cdata",e.Doctype="doctype"}(n=t.ElementType||(t.ElementType={})),t.isTag=function(e){return e.type===n.Tag||e.type===n.Script||e.type===n.Style},t.Root=n.Root,t.Text=n.Text,t.Directive=n.Directive,t.Comment=n.Comment,t.Script=n.Script,t.Style=n.Style,t.Tag=n.Tag,t.CDATA=n.CDATA,t.Doctype=n.Doctype},1141:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n);var o=Object.getOwnPropertyDescriptor(t,n);o&&!("get"in o?!t.__esModule:o.writable||o.configurable)||(o={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,r,o)}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var i=n(5413),a=n(6957);o(n(6957),t);var s={withStartIndices:!1,withEndIndices:!1,xmlMode:!1},l=function(){function e(e,t,n){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null,"function"==typeof t&&(n=t,t=s),"object"==typeof e&&(t=e,e=void 0),this.callback=null!=e?e:null,this.options=null!=t?t:s,this.elementCB=null!=n?n:null}return e.prototype.onparserinit=function(e){this.parser=e},e.prototype.onreset=function(){this.dom=[],this.root=new a.Document(this.dom),this.done=!1,this.tagStack=[this.root],this.lastNode=null,this.parser=null},e.prototype.onend=function(){this.done||(this.done=!0,this.parser=null,this.handleCallback(null))},e.prototype.onerror=function(e){this.handleCallback(e)},e.prototype.onclosetag=function(){this.lastNode=null;var e=this.tagStack.pop();this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),this.elementCB&&this.elementCB(e)},e.prototype.onopentag=function(e,t){var n=this.options.xmlMode?i.ElementType.Tag:void 0,r=new a.Element(e,t,void 0,n);this.addNode(r),this.tagStack.push(r)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===i.ElementType.Text)t.data+=e,this.options.withEndIndices&&(t.endIndex=this.parser.endIndex);else{var n=new a.Text(e);this.addNode(n),this.lastNode=n}},e.prototype.oncomment=function(e){if(this.lastNode&&this.lastNode.type===i.ElementType.Comment)this.lastNode.data+=e;else{var t=new a.Comment(e);this.addNode(t),this.lastNode=t}},e.prototype.oncommentend=function(){this.lastNode=null},e.prototype.oncdatastart=function(){var e=new a.Text(""),t=new a.CDATA([e]);this.addNode(t),e.parent=t,this.lastNode=e},e.prototype.oncdataend=function(){this.lastNode=null},e.prototype.onprocessinginstruction=function(e,t){var n=new a.ProcessingInstruction(e,t);this.addNode(n)},e.prototype.handleCallback=function(e){if("function"==typeof this.callback)this.callback(e,this.dom);else if(e)throw e},e.prototype.addNode=function(e){var t=this.tagStack[this.tagStack.length-1],n=t.children[t.children.length-1];this.options.withStartIndices&&(e.startIndex=this.parser.startIndex),this.options.withEndIndices&&(e.endIndex=this.parser.endIndex),t.children.push(e),n&&(e.prev=n,n.next=e),e.parent=t,this.lastNode=null},e}();t.DomHandler=l,t.default=l},6957:function(e,t,n){"use strict";var r,o=this&&this.__extends||(r=function(e,t){return r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])},r(e,t)},function(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),i=this&&this.__assign||function(){return i=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},i.apply(this,arguments)};Object.defineProperty(t,"__esModule",{value:!0}),t.cloneNode=t.hasChildren=t.isDocument=t.isDirective=t.isComment=t.isText=t.isCDATA=t.isTag=t.Element=t.Document=t.CDATA=t.NodeWithChildren=t.ProcessingInstruction=t.Comment=t.Text=t.DataNode=t.Node=void 0;var a=n(5413),s=function(){function e(){this.parent=null,this.prev=null,this.next=null,this.startIndex=null,this.endIndex=null}return Object.defineProperty(e.prototype,"parentNode",{get:function(){return this.parent},set:function(e){this.parent=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"previousSibling",{get:function(){return this.prev},set:function(e){this.prev=e},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"nextSibling",{get:function(){return this.next},set:function(e){this.next=e},enumerable:!1,configurable:!0}),e.prototype.cloneNode=function(e){return void 0===e&&(e=!1),C(this,e)},e}();t.Node=s;var l=function(e){function t(t){var n=e.call(this)||this;return n.data=t,n}return o(t,e),Object.defineProperty(t.prototype,"nodeValue",{get:function(){return this.data},set:function(e){this.data=e},enumerable:!1,configurable:!0}),t}(s);t.DataNode=l;var c=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Text,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 3},enumerable:!1,configurable:!0}),t}(l);t.Text=c;var u=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Comment,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 8},enumerable:!1,configurable:!0}),t}(l);t.Comment=u;var d=function(e){function t(t,n){var r=e.call(this,n)||this;return r.name=t,r.type=a.ElementType.Directive,r}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var f=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return o(t,e),Object.defineProperty(t.prototype,"firstChild",{get:function(){var e;return null!==(e=this.children[0])&&void 0!==e?e:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"lastChild",{get:function(){return this.children.length>0?this.children[this.children.length-1]:null},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){return this.children},set:function(e){this.children=e},enumerable:!1,configurable:!0}),t}(s);t.NodeWithChildren=f;var h=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(f);t.CDATA=h;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(f);t.Document=p;var m=function(e){function t(t,n,r,o){void 0===r&&(r=[]),void 0===o&&(o="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var i=e.call(this,r)||this;return i.name=t,i.attribs=n,i.type=o,i}return o(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"tagName",{get:function(){return this.name},set:function(e){this.name=e},enumerable:!1,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e=this;return Object.keys(this.attribs).map((function(t){var n,r;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(r=e["x-attribsPrefix"])||void 0===r?void 0:r[t]}}))},enumerable:!1,configurable:!0}),t}(f);function g(e){return(0,a.isTag)(e)}function y(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function b(e){return e.type===a.ElementType.Comment}function x(e){return e.type===a.ElementType.Directive}function w(e){return e.type===a.ElementType.Root}function C(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(b(e))n=new u(e.data);else if(g(e)){var r=t?A(e.children):[],o=new m(e.name,i({},e.attribs),r);r.forEach((function(e){return e.parent=o})),null!=e.namespace&&(o.namespace=e.namespace),e["x-attribsNamespace"]&&(o["x-attribsNamespace"]=i({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(o["x-attribsPrefix"]=i({},e["x-attribsPrefix"])),n=o}else if(y(e)){r=t?A(e.children):[];var a=new h(r);r.forEach((function(e){return e.parent=a})),n=a}else if(w(e)){r=t?A(e.children):[];var s=new p(r);r.forEach((function(e){return e.parent=s})),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!x(e))throw new Error("Not implemented yet: ".concat(e.type));var l=new d(e.name,e.data);null!=e["x-name"]&&(l["x-name"]=e["x-name"],l["x-publicId"]=e["x-publicId"],l["x-systemId"]=e["x-systemId"]),n=l}return n.startIndex=e.startIndex,n.endIndex=e.endIndex,null!=e.sourceCodeLocation&&(n.sourceCodeLocation=e.sourceCodeLocation),n}function A(e){for(var t=e.map((function(e){return C(e,!0)})),n=1;n<t.length;n++)t[n].prev=t[n-1],t[n-1].next=t[n];return t}t.Element=m,t.isTag=g,t.isCDATA=y,t.isText=v,t.isComment=b,t.isDirective=x,t.isDocument=w,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=C},5270:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=t.CARRIAGE_RETURN_PLACEHOLDER=t.CARRIAGE_RETURN_REGEX=t.CARRIAGE_RETURN=t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES=void 0,t.CASE_SENSITIVE_TAG_NAMES=["animateMotion","animateTransform","clipPath","feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","foreignObject","linearGradient","radialGradient","textPath"],t.CASE_SENSITIVE_TAG_NAMES_MAP=t.CASE_SENSITIVE_TAG_NAMES.reduce((function(e,t){return e[t.toLowerCase()]=t,e}),{}),t.CARRIAGE_RETURN="\r",t.CARRIAGE_RETURN_REGEX=new RegExp(t.CARRIAGE_RETURN,"g"),t.CARRIAGE_RETURN_PLACEHOLDER="__HTML_DOM_PARSER_CARRIAGE_RETURN_PLACEHOLDER_".concat(Date.now(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},5496:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,f=(e=(0,r.escapeSpecialCharacters)(e)).match(s),h=f&&f[1]?f[1].toLowerCase():"";switch(h){case o:var p=d(e);return l.test(e)||null===(t=null==(y=p.querySelector(i))?void 0:y.parentNode)||void 0===t||t.removeChild(y),c.test(e)||null===(n=null==(y=p.querySelector(a))?void 0:y.parentNode)||void 0===n||n.removeChild(y),p.querySelectorAll(o);case i:case a:var g=u(e).querySelectorAll(h);return c.test(e)&&l.test(e)?g[0].parentNode.childNodes:g;default:return m?m(e):(y=u(e,a).querySelector(a)).childNodes;var y}};var r=n(7731),o="html",i="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=/<head[^]*>/i,c=/<body[^]*>/i,u=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},d=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},f="object"==typeof window&&window.DOMParser;if("function"==typeof f){var h=new f;u=d=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),h.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var p=document.implementation.createHTMLDocument();u=function(e,t){if(t){var n=p.documentElement.querySelector(t);return n&&(n.innerHTML=e),p}return p.documentElement.innerHTML=e,p}}var m,g="object"==typeof document&&document.createElement("template");g&&g.content&&(m=function(e){return g.innerHTML=e,g.content.childNodes})},2471:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];var t=e.match(a),n=t?t[1]:void 0;return(0,i.formatDOM)((0,o.default)(e),null,n)};var o=r(n(5496)),i=n(7731),a=/<(![a-zA-Z\s]+)>/},7731:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=i,t.escapeSpecialCharacters=function(e){return e.replace(o.CARRIAGE_RETURN_REGEX,o.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=s,t.formatDOM=function e(t,n,o){void 0===n&&(n=null);for(var l,c=[],u=0,d=t.length;u<d;u++){var f=t[u];switch(f.nodeType){case 1:var h=a(f.nodeName);(l=new r.Element(h,i(f.attributes))).children=e("template"===h?f.content.childNodes:f.childNodes,l);break;case 3:l=new r.Text(s(f.nodeValue));break;case 8:l=new r.Comment(f.nodeValue);break;default:continue}var p=c[u-1]||null;p&&(p.next=l),l.parent=n,l.prev=p,l.next=null,c.push(l)}return o&&((l=new r.ProcessingInstruction(o.substring(0,o.indexOf(" ")).toLowerCase(),o)).next=c[0]||null,l.parent=n,c.unshift(l),c[1]&&(c[1].prev=c[0])),c};var r=n(1141),o=n(5270);function i(e){for(var t={},n=0,r=e.length;n<r;n++){var o=e[n];t[o.name]=o.value}return t}function a(e){return function(e){return o.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function s(e){return e.replace(o.CARRIAGE_RETURN_PLACEHOLDER_REGEX,o.CARRIAGE_RETURN)}},840:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){void 0===e&&(e={});var n={},c=Boolean(e.type&&s[e.type]);for(var u in e){var d=e[u];if((0,r.isCustomAttribute)(u))n[u]=d;else{var f=u.toLowerCase(),h=l(f);if(h){var p=(0,r.getPropertyInfo)(h);switch(i.includes(h)&&a.includes(t)&&!c&&(h=l("default"+f)),n[h]=d,p&&p.type){case r.BOOLEAN:n[h]=!0;break;case r.OVERLOADED_BOOLEAN:""===d&&(n[h]=!0)}}else o.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=d)}}return(0,o.setStyleProp)(e.style,n),n};var r=n(4210),o=n(4958),i=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return r.possibleStandardNames[e]}},308:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){void 0===n&&(n={});for(var r=[],o="function"==typeof n.replace,c=n.transform||a.returnFirstArg,u=n.library||s,d=u.cloneElement,f=u.createElement,h=u.isValidElement,p=t.length,m=0;m<p;m++){var g=t[m];if(o){var y=n.replace(g,m);if(h(y)){p>1&&(y=d(y,{key:y.key||m})),r.push(c(y,g,m));continue}}if("text"!==g.type){var v=g,b={};l(v)?((0,a.setStyleProp)(v.attribs.style,v.attribs),b=v.attribs):v.attribs&&(b=(0,i.default)(v.attribs,v.name));var x=void 0;switch(g.type){case"script":case"style":g.children[0]&&(b.dangerouslySetInnerHTML={__html:g.children[0].data});break;case"tag":"textarea"===g.name&&g.children[0]?b.defaultValue=g.children[0].data:g.children&&g.children.length&&(x=e(g.children,n));break;default:continue}p>1&&(b.key=m),r.push(c(f(g.name,b,x),g,m))}else{var w=!g.data.trim().length;if(w&&g.parent&&!(0,a.canTextBeChildOfNode)(g.parent))continue;if(n.trim&&w)continue;r.push(c(g.data,g,m))}}return 1===r.length?r[0]:r};var o=n(1609),i=r(n(840)),a=n(4958),s={cloneElement:o.cloneElement,createElement:o.createElement,isValidElement:o.isValidElement};function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}},442:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.htmlToDOM=t.domToReact=t.attributesToProps=t.Text=t.ProcessingInstruction=t.Element=t.Comment=void 0,t.default=function(e,t){if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,a.default)((0,o.default)(e,(null==t?void 0:t.htmlparser2)||l),t):[]};var o=r(n(2471));t.htmlToDOM=o.default;var i=r(n(840));t.attributesToProps=i.default;var a=r(n(308));t.domToReact=a.default;var s=n(1141);Object.defineProperty(t,"Comment",{enumerable:!0,get:function(){return s.Comment}}),Object.defineProperty(t,"Element",{enumerable:!0,get:function(){return s.Element}}),Object.defineProperty(t,"ProcessingInstruction",{enumerable:!0,get:function(){return s.ProcessingInstruction}}),Object.defineProperty(t,"Text",{enumerable:!0,get:function(){return s.Text}});var l={lowerCaseAttributeNames:!1}},4958:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.returnFirstArg=t.canTextBeChildOfNode=t.ELEMENTS_WITH_NO_TEXT_CHILDREN=t.PRESERVE_CUSTOM_ATTRIBUTES=void 0,t.isCustomComponent=function(e,t){return e.includes("-")?!a.has(e):Boolean(t&&"string"==typeof t.is)},t.setStyleProp=function(e,t){if("string"==typeof e)if(e.trim())try{t.style=(0,i.default)(e,s)}catch(e){t.style={}}else t.style={}};var o=n(1609),i=r(n(5229)),a=new Set(["annotation-xml","color-profile","font-face","font-face-src","font-face-uri","font-face-format","font-face-name","missing-glyph"]),s={reactCompat:!0};t.PRESERVE_CUSTOM_ATTRIBUTES=Number(o.version.split(".")[0])>=16,t.ELEMENTS_WITH_NO_TEXT_CHILDREN=new Set(["tr","tbody","thead","tfoot","colgroup","table","head","html","frameset"]),t.canTextBeChildOfNode=function(e){return!t.ELEMENTS_WITH_NO_TEXT_CHILDREN.has(e.name)},t.returnFirstArg=function(e){return e}},9788:e=>{var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,r=/^\s*/,o=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,i=/^:\s*/,a=/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/,s=/^[;\s]*/,l=/^\s+|\s+$/g,c="";function u(e){return e?e.replace(l,c):c}e.exports=function(e,l){if("string"!=typeof e)throw new TypeError("First argument must be a string");if(!e)return[];l=l||{};var d=1,f=1;function h(e){var t=e.match(n);t&&(d+=t.length);var r=e.lastIndexOf("\n");f=~r?e.length-r:f+e.length}function p(){var e={line:d,column:f};return function(t){return t.position=new m(e),b(),t}}function m(e){this.start=e,this.end={line:d,column:f},this.source=l.source}m.prototype.content=e;var g=[];function y(t){var n=new Error(l.source+":"+d+":"+f+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=f,n.source=e,!l.silent)throw n;g.push(n)}function v(t){var n=t.exec(e);if(n){var r=n[0];return h(r),e=e.slice(r.length),n}}function b(){v(r)}function x(e){var t;for(e=e||[];t=w();)!1!==t&&e.push(t);return e}function w(){var t=p();if("/"==e.charAt(0)&&"*"==e.charAt(1)){for(var n=2;c!=e.charAt(n)&&("*"!=e.charAt(n)||"/"!=e.charAt(n+1));)++n;if(n+=2,c===e.charAt(n-1))return y("End of comment missing");var r=e.slice(2,n-2);return f+=2,h(r),e=e.slice(n),f+=2,t({type:"comment",comment:r})}}function C(){var e=p(),n=v(o);if(n){if(w(),!v(i))return y("property missing ':'");var r=v(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:r?u(r[0].replace(t,c)):c});return v(s),l}}return b(),function(){var e,t=[];for(x(t);e=C();)!1!==e&&(t.push(e),x(t));return t}()}},2694:(e,t,n)=>{"use strict";var r=n(6925);function o(){}function i(){}i.resetWarningCache=o,e.exports=function(){function e(e,t,n,o,i,a){if(a!==r){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function t(){return e}e.isRequired=e;var n={array:e,bigint:e,bool:e,func:e,number:e,object:e,string:e,symbol:e,any:e,arrayOf:t,element:e,elementType:e,instanceOf:t,node:e,objectOf:t,oneOf:t,oneOfType:t,shape:t,exact:t,checkPropTypes:i,resetWarningCache:o};return n.PropTypes=n,n}},5556:(e,t,n)=>{e.exports=n(2694)()},6925:e=>{"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5338:(e,t,n)=>{"use strict";var r=n(5795);t.H=r.createRoot,r.hydrateRoot},4210:(e,t,n)=>{"use strict";function r(e,t,n,r,o,i,a){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=i,this.removeEmptyString=a}const o={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach((e=>{o[e]=new r(e,0,!1,e,null,!1,!1)})),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach((([e,t])=>{o[e]=new r(e,1,!1,t,null,!1,!1)})),["contentEditable","draggable","spellCheck","value"].forEach((e=>{o[e]=new r(e,2,!1,e.toLowerCase(),null,!1,!1)})),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach((e=>{o[e]=new r(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"].forEach((e=>{o[e]=new r(e,3,!1,e.toLowerCase(),null,!1,!1)})),["checked","multiple","muted","selected"].forEach((e=>{o[e]=new r(e,3,!0,e,null,!1,!1)})),["capture","download"].forEach((e=>{o[e]=new r(e,4,!1,e,null,!1,!1)})),["cols","rows","size","span"].forEach((e=>{o[e]=new r(e,6,!1,e,null,!1,!1)})),["rowSpan","start"].forEach((e=>{o[e]=new r(e,5,!1,e.toLowerCase(),null,!1,!1)}));const i=/[\-\:]([a-z])/g,a=e=>e[1].toUpperCase();["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"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,null,!1,!1)})),["xlink:actuate","xlink:arcrole","xlink:role","xlink:show","xlink:title","xlink:type"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)})),["xml:base","xml:lang","xml:space"].forEach((e=>{const t=e.replace(i,a);o[t]=new r(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)})),["tabIndex","crossOrigin"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!1,!1)})),o.xlinkHref=new r("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach((e=>{o[e]=new r(e,1,!1,e.toLowerCase(),null,!0,!0)}));const{CAMELCASE:s,SAME:l,possibleStandardNames:c}=n(6811),u=RegExp.prototype.test.bind(new RegExp("^(data|aria)-[: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]*$")),d=Object.keys(c).reduce(((e,t)=>{const n=c[t];return n===l?e[t]=t:n===s?e[t.toLowerCase()]=t:e[t]=n,e}),{});t.BOOLEAN=3,t.BOOLEANISH_STRING=2,t.NUMERIC=5,t.OVERLOADED_BOOLEAN=4,t.POSITIVE_NUMERIC=6,t.RESERVED=0,t.STRING=1,t.getPropertyInfo=function(e){return o.hasOwnProperty(e)?o[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},6811:(e,t)=>{t.SAME=0,t.CAMELCASE=1,t.possibleStandardNames={accept:0,acceptCharset:1,"accept-charset":"acceptCharset",accessKey:1,action:0,allowFullScreen:1,alt:0,as:0,async:0,autoCapitalize:1,autoComplete:1,autoCorrect:1,autoFocus:1,autoPlay:1,autoSave:1,capture:0,cellPadding:1,cellSpacing:1,challenge:0,charSet:1,checked:0,children:0,cite:0,class:"className",classID:1,className:1,cols:0,colSpan:1,content:0,contentEditable:1,contextMenu:1,controls:0,controlsList:1,coords:0,crossOrigin:1,dangerouslySetInnerHTML:1,data:0,dateTime:1,default:0,defaultChecked:1,defaultValue:1,defer:0,dir:0,disabled:0,disablePictureInPicture:1,disableRemotePlayback:1,download:0,draggable:0,encType:1,enterKeyHint:1,for:"htmlFor",form:0,formMethod:1,formAction:1,formEncType:1,formNoValidate:1,formTarget:1,frameBorder:1,headers:0,height:0,hidden:0,high:0,href:0,hrefLang:1,htmlFor:1,httpEquiv:1,"http-equiv":"httpEquiv",icon:0,id:0,innerHTML:1,inputMode:1,integrity:0,is:0,itemID:1,itemProp:1,itemRef:1,itemScope:1,itemType:1,keyParams:1,keyType:1,kind:0,label:0,lang:0,list:0,loop:0,low:0,manifest:0,marginWidth:1,marginHeight:1,max:0,maxLength:1,media:0,mediaGroup:1,method:0,min:0,minLength:1,multiple:0,muted:0,name:0,noModule:1,nonce:0,noValidate:1,open:0,optimum:0,pattern:0,placeholder:0,playsInline:1,poster:0,preload:0,profile:0,radioGroup:1,readOnly:1,referrerPolicy:1,rel:0,required:0,reversed:0,role:0,rows:0,rowSpan:1,sandbox:0,scope:0,scoped:0,scrolling:0,seamless:0,selected:0,shape:0,size:0,sizes:0,span:0,spellCheck:1,src:0,srcDoc:1,srcLang:1,srcSet:1,start:0,step:0,style:0,summary:0,tabIndex:1,target:0,title:0,type:0,useMap:1,value:0,width:0,wmode:0,wrap:0,about:0,accentHeight:1,"accent-height":"accentHeight",accumulate:0,additive:0,alignmentBaseline:1,"alignment-baseline":"alignmentBaseline",allowReorder:1,alphabetic:0,amplitude:0,arabicForm:1,"arabic-form":"arabicForm",ascent:0,attributeName:1,attributeType:1,autoReverse:1,azimuth:0,baseFrequency:1,baselineShift:1,"baseline-shift":"baselineShift",baseProfile:1,bbox:0,begin:0,bias:0,by:0,calcMode:1,capHeight:1,"cap-height":"capHeight",clip:0,clipPath:1,"clip-path":"clipPath",clipPathUnits:1,clipRule:1,"clip-rule":"clipRule",color:0,colorInterpolation:1,"color-interpolation":"colorInterpolation",colorInterpolationFilters:1,"color-interpolation-filters":"colorInterpolationFilters",colorProfile:1,"color-profile":"colorProfile",colorRendering:1,"color-rendering":"colorRendering",contentScriptType:1,contentStyleType:1,cursor:0,cx:0,cy:0,d:0,datatype:0,decelerate:0,descent:0,diffuseConstant:1,direction:0,display:0,divisor:0,dominantBaseline:1,"dominant-baseline":"dominantBaseline",dur:0,dx:0,dy:0,edgeMode:1,elevation:0,enableBackground:1,"enable-background":"enableBackground",end:0,exponent:0,externalResourcesRequired:1,fill:0,fillOpacity:1,"fill-opacity":"fillOpacity",fillRule:1,"fill-rule":"fillRule",filter:0,filterRes:1,filterUnits:1,floodOpacity:1,"flood-opacity":"floodOpacity",floodColor:1,"flood-color":"floodColor",focusable:0,fontFamily:1,"font-family":"fontFamily",fontSize:1,"font-size":"fontSize",fontSizeAdjust:1,"font-size-adjust":"fontSizeAdjust",fontStretch:1,"font-stretch":"fontStretch",fontStyle:1,"font-style":"fontStyle",fontVariant:1,"font-variant":"fontVariant",fontWeight:1,"font-weight":"fontWeight",format:0,from:0,fx:0,fy:0,g1:0,g2:0,glyphName:1,"glyph-name":"glyphName",glyphOrientationHorizontal:1,"glyph-orientation-horizontal":"glyphOrientationHorizontal",glyphOrientationVertical:1,"glyph-orientation-vertical":"glyphOrientationVertical",glyphRef:1,gradientTransform:1,gradientUnits:1,hanging:0,horizAdvX:1,"horiz-adv-x":"horizAdvX",horizOriginX:1,"horiz-origin-x":"horizOriginX",ideographic:0,imageRendering:1,"image-rendering":"imageRendering",in2:0,in:0,inlist:0,intercept:0,k1:0,k2:0,k3:0,k4:0,k:0,kernelMatrix:1,kernelUnitLength:1,kerning:0,keyPoints:1,keySplines:1,keyTimes:1,lengthAdjust:1,letterSpacing:1,"letter-spacing":"letterSpacing",lightingColor:1,"lighting-color":"lightingColor",limitingConeAngle:1,local:0,markerEnd:1,"marker-end":"markerEnd",markerHeight:1,markerMid:1,"marker-mid":"markerMid",markerStart:1,"marker-start":"markerStart",markerUnits:1,markerWidth:1,mask:0,maskContentUnits:1,maskUnits:1,mathematical:0,mode:0,numOctaves:1,offset:0,opacity:0,operator:0,order:0,orient:0,orientation:0,origin:0,overflow:0,overlinePosition:1,"overline-position":"overlinePosition",overlineThickness:1,"overline-thickness":"overlineThickness",paintOrder:1,"paint-order":"paintOrder",panose1:0,"panose-1":"panose1",pathLength:1,patternContentUnits:1,patternTransform:1,patternUnits:1,pointerEvents:1,"pointer-events":"pointerEvents",points:0,pointsAtX:1,pointsAtY:1,pointsAtZ:1,prefix:0,preserveAlpha:1,preserveAspectRatio:1,primitiveUnits:1,property:0,r:0,radius:0,refX:1,refY:1,renderingIntent:1,"rendering-intent":"renderingIntent",repeatCount:1,repeatDur:1,requiredExtensions:1,requiredFeatures:1,resource:0,restart:0,result:0,results:0,rotate:0,rx:0,ry:0,scale:0,security:0,seed:0,shapeRendering:1,"shape-rendering":"shapeRendering",slope:0,spacing:0,specularConstant:1,specularExponent:1,speed:0,spreadMethod:1,startOffset:1,stdDeviation:1,stemh:0,stemv:0,stitchTiles:1,stopColor:1,"stop-color":"stopColor",stopOpacity:1,"stop-opacity":"stopOpacity",strikethroughPosition:1,"strikethrough-position":"strikethroughPosition",strikethroughThickness:1,"strikethrough-thickness":"strikethroughThickness",string:0,stroke:0,strokeDasharray:1,"stroke-dasharray":"strokeDasharray",strokeDashoffset:1,"stroke-dashoffset":"strokeDashoffset",strokeLinecap:1,"stroke-linecap":"strokeLinecap",strokeLinejoin:1,"stroke-linejoin":"strokeLinejoin",strokeMiterlimit:1,"stroke-miterlimit":"strokeMiterlimit",strokeWidth:1,"stroke-width":"strokeWidth",strokeOpacity:1,"stroke-opacity":"strokeOpacity",suppressContentEditableWarning:1,suppressHydrationWarning:1,surfaceScale:1,systemLanguage:1,tableValues:1,targetX:1,targetY:1,textAnchor:1,"text-anchor":"textAnchor",textDecoration:1,"text-decoration":"textDecoration",textLength:1,textRendering:1,"text-rendering":"textRendering",to:0,transform:0,typeof:0,u1:0,u2:0,underlinePosition:1,"underline-position":"underlinePosition",underlineThickness:1,"underline-thickness":"underlineThickness",unicode:0,unicodeBidi:1,"unicode-bidi":"unicodeBidi",unicodeRange:1,"unicode-range":"unicodeRange",unitsPerEm:1,"units-per-em":"unitsPerEm",unselectable:0,vAlphabetic:1,"v-alphabetic":"vAlphabetic",values:0,vectorEffect:1,"vector-effect":"vectorEffect",version:0,vertAdvY:1,"vert-adv-y":"vertAdvY",vertOriginX:1,"vert-origin-x":"vertOriginX",vertOriginY:1,"vert-origin-y":"vertOriginY",vHanging:1,"v-hanging":"vHanging",vIdeographic:1,"v-ideographic":"vIdeographic",viewBox:1,viewTarget:1,visibility:0,vMathematical:1,"v-mathematical":"vMathematical",vocab:0,widths:0,wordSpacing:1,"word-spacing":"wordSpacing",writingMode:1,"writing-mode":"writingMode",x1:0,x2:0,x:0,xChannelSelector:1,xHeight:1,"x-height":"xHeight",xlinkActuate:1,"xlink:actuate":"xlinkActuate",xlinkArcrole:1,"xlink:arcrole":"xlinkArcrole",xlinkHref:1,"xlink:href":"xlinkHref",xlinkRole:1,"xlink:role":"xlinkRole",xlinkShow:1,"xlink:show":"xlinkShow",xlinkTitle:1,"xlink:title":"xlinkTitle",xlinkType:1,"xlink:type":"xlinkType",xmlBase:1,"xml:base":"xmlBase",xmlLang:1,"xml:lang":"xmlLang",xmlns:0,"xml:space":"xmlSpace",xmlnsXlink:1,"xmlns:xlink":"xmlnsXlink",xmlSpace:1,y1:0,y2:0,y:0,yChannelSelector:1,z:0,zoomAndPan:1}},6069:(e,t)=>{"use strict";Object.prototype.toString},1020:(e,t,n)=>{"use strict";var r=n(1609),o=Symbol.for("react.element"),i=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,i={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,r)&&!l.hasOwnProperty(r)&&(i[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===i[r]&&(i[r]=t[r]);return{$$typeof:o,type:e,key:c,ref:u,props:i,_owner:s.current}}t.Fragment=i,t.jsx=c,t.jsxs=c},4848:(e,t,n)=>{"use strict";e.exports=n(1020)},5229:function(e,t,n){"use strict";var r=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(1133)),o=n(8917);function i(e,t){var n={};return e&&"string"==typeof e?((0,r.default)(e,(function(e,r){e&&r&&(n[(0,o.camelCase)(e,t)]=r)})),n):n}i.default=i,e.exports=i},8917:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,r=/-([a-z])/g,o=/^[^-]+$/,i=/^-(webkit|moz|ms|o|khtml)-/,a=/^-(ms)-/,s=function(e,t){return t.toUpperCase()},l=function(e,t){return"".concat(t,"-")};t.camelCase=function(e,t){return void 0===t&&(t={}),function(e){return!e||o.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(i,l)).replace(r,s))}},1133:function(e,t,n){"use strict";var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){var n=null;if(!e||"string"!=typeof e)return n;var r=(0,o.default)(e),i="function"==typeof t;return r.forEach((function(e){if("declaration"===e.type){var r=e.property,o=e.value;i?t(r,o,e):o&&((n=n||{})[r]=o)}})),n};var o=r(n(9788))},1609:e=>{"use strict";e.exports=window.React},5795:e=>{"use strict";e.exports=window.ReactDOM},9306:(e,t,n)=>{"use strict";var r=n(4901),o=n(6823),i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not a function")}},3506:(e,t,n)=>{"use strict";var r=n(3925),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i("Can't set "+o(e)+" as a prototype")}},6469:(e,t,n)=>{"use strict";var r=n(8227),o=n(2360),i=n(4913).f,a=r("unscopables"),s=Array.prototype;void 0===s[a]&&i(s,a,{configurable:!0,value:o(null)}),e.exports=function(e){s[a][e]=!0}},7829:(e,t,n)=>{"use strict";var r=n(8183).charAt;e.exports=function(e,t,n){return t+(n?r(e,t).length:1)}},679:(e,t,n)=>{"use strict";var r=n(1625),o=TypeError;e.exports=function(e,t){if(r(t,e))return e;throw new o("Incorrect invocation")}},8551:(e,t,n)=>{"use strict";var r=n(34),o=String,i=TypeError;e.exports=function(e){if(r(e))return e;throw new i(o(e)+" is not an object")}},7916:(e,t,n)=>{"use strict";var r=n(6080),o=n(9565),i=n(8981),a=n(6319),s=n(4209),l=n(3517),c=n(6198),u=n(4659),d=n(81),f=n(851),h=Array;e.exports=function(e){var t=i(e),n=l(this),p=arguments.length,m=p>1?arguments[1]:void 0,g=void 0!==m;g&&(m=r(m,p>2?arguments[2]:void 0));var y,v,b,x,w,C,A=f(t),E=0;if(!A||this===h&&s(A))for(y=c(t),v=n?new this(y):h(y);y>E;E++)C=g?m(t[E],E):t[E],u(v,E,C);else for(v=n?new this:[],w=(x=d(t,A)).next;!(b=o(w,x)).done;E++)C=g?a(x,m,[b.value,E],!0):b.value,u(v,E,C);return v.length=E,v}},9617:(e,t,n)=>{"use strict";var r=n(5397),o=n(5610),i=n(6198),a=function(e){return function(t,n,a){var s=r(t),l=i(s);if(0===l)return!e&&-1;var c,u=o(a,l);if(e&&n!=n){for(;l>u;)if((c=s[u++])!=c)return!0}else for(;l>u;u++)if((e||u in s)&&s[u]===n)return e||u||0;return!e&&-1}};e.exports={includes:a(!0),indexOf:a(!1)}},4598:(e,t,n)=>{"use strict";var r=n(9039);e.exports=function(e,t){var n=[][e];return!!n&&r((function(){n.call(null,t||function(){return 1},1)}))}},7680:(e,t,n)=>{"use strict";var r=n(9504);e.exports=r([].slice)},4488:(e,t,n)=>{"use strict";var r=n(7680),o=Math.floor,i=function(e,t){var n=e.length;if(n<8)for(var a,s,l=1;l<n;){for(s=l,a=e[l];s&&t(e[s-1],a)>0;)e[s]=e[--s];s!==l++&&(e[s]=a)}else for(var c=o(n/2),u=i(r(e,0,c),t),d=i(r(e,c),t),f=u.length,h=d.length,p=0,m=0;p<f||m<h;)e[p+m]=p<f&&m<h?t(u[p],d[m])<=0?u[p++]:d[m++]:p<f?u[p++]:d[m++];return e};e.exports=i},6319:(e,t,n)=>{"use strict";var r=n(8551),o=n(9539);e.exports=function(e,t,n,i){try{return i?t(r(n)[0],n[1]):t(n)}catch(t){o(e,"throw",t)}}},2195:(e,t,n)=>{"use strict";var r=n(9504),o=r({}.toString),i=r("".slice);e.exports=function(e){return i(o(e),8,-1)}},6955:(e,t,n)=>{"use strict";var r=n(2140),o=n(4901),i=n(2195),a=n(8227)("toStringTag"),s=Object,l="Arguments"===i(function(){return arguments}());e.exports=r?i:function(e){var t,n,r;return void 0===e?"Undefined":null===e?"Null":"string"==typeof(n=function(e,t){try{return e[t]}catch(e){}}(t=s(e),a))?n:l?i(t):"Object"===(r=i(t))&&o(t.callee)?"Arguments":r}},7740:(e,t,n)=>{"use strict";var r=n(9297),o=n(5031),i=n(7347),a=n(4913);e.exports=function(e,t,n){for(var s=o(t),l=a.f,c=i.f,u=0;u<s.length;u++){var d=s[u];r(e,d)||n&&r(n,d)||l(e,d,c(t,d))}}},2211:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){function e(){}return e.prototype.constructor=null,Object.getPrototypeOf(new e)!==e.prototype}))},2529:e=>{"use strict";e.exports=function(e,t){return{value:e,done:t}}},6699:(e,t,n)=>{"use strict";var r=n(3724),o=n(4913),i=n(6980);e.exports=r?function(e,t,n){return o.f(e,t,i(1,n))}:function(e,t,n){return e[t]=n,e}},6980:e=>{"use strict";e.exports=function(e,t){return{enumerable:!(1&e),configurable:!(2&e),writable:!(4&e),value:t}}},4659:(e,t,n)=>{"use strict";var r=n(3724),o=n(4913),i=n(6980);e.exports=function(e,t,n){r?o.f(e,t,i(0,n)):e[t]=n}},2106:(e,t,n)=>{"use strict";var r=n(283),o=n(4913);e.exports=function(e,t,n){return n.get&&r(n.get,t,{getter:!0}),n.set&&r(n.set,t,{setter:!0}),o.f(e,t,n)}},6840:(e,t,n)=>{"use strict";var r=n(4901),o=n(4913),i=n(283),a=n(9433);e.exports=function(e,t,n,s){s||(s={});var l=s.enumerable,c=void 0!==s.name?s.name:t;if(r(n)&&i(n,c,s),s.global)l?e[t]=n:a(t,n);else{try{s.unsafe?e[t]&&(l=!0):delete e[t]}catch(e){}l?e[t]=n:o.f(e,t,{value:n,enumerable:!1,configurable:!s.nonConfigurable,writable:!s.nonWritable})}return e}},6279:(e,t,n)=>{"use strict";var r=n(6840);e.exports=function(e,t,n){for(var o in t)r(e,o,t[o],n);return e}},9433:(e,t,n)=>{"use strict";var r=n(4576),o=Object.defineProperty;e.exports=function(e,t){try{o(r,e,{value:t,configurable:!0,writable:!0})}catch(n){r[e]=t}return t}},4606:(e,t,n)=>{"use strict";var r=n(6823),o=TypeError;e.exports=function(e,t){if(!delete e[t])throw new o("Cannot delete property "+r(t)+" of "+r(e))}},3724:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){return 7!==Object.defineProperty({},1,{get:function(){return 7}})[1]}))},4055:(e,t,n)=>{"use strict";var r=n(4576),o=n(34),i=r.document,a=o(i)&&o(i.createElement);e.exports=function(e){return a?i.createElement(e):{}}},7400:e=>{"use strict";e.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}},9296:(e,t,n)=>{"use strict";var r=n(4055)("span").classList,o=r&&r.constructor&&r.constructor.prototype;e.exports=o===Object.prototype?void 0:o},8727:e=>{"use strict";e.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]},3709:(e,t,n)=>{"use strict";var r=n(2839).match(/firefox\/(\d+)/i);e.exports=!!r&&+r[1]},3763:(e,t,n)=>{"use strict";var r=n(2839);e.exports=/MSIE|Trident/.test(r)},2839:(e,t,n)=>{"use strict";var r=n(4576).navigator,o=r&&r.userAgent;e.exports=o?String(o):""},9519:(e,t,n)=>{"use strict";var r,o,i=n(4576),a=n(2839),s=i.process,l=i.Deno,c=s&&s.versions||l&&l.version,u=c&&c.v8;u&&(o=(r=u.split("."))[0]>0&&r[0]<4?1:+(r[0]+r[1])),!o&&a&&(!(r=a.match(/Edge\/(\d+)/))||r[1]>=74)&&(r=a.match(/Chrome\/(\d+)/))&&(o=+r[1]),e.exports=o},3607:(e,t,n)=>{"use strict";var r=n(2839).match(/AppleWebKit\/(\d+)\./);e.exports=!!r&&+r[1]},6518:(e,t,n)=>{"use strict";var r=n(4576),o=n(7347).f,i=n(6699),a=n(6840),s=n(9433),l=n(7740),c=n(2796);e.exports=function(e,t){var n,u,d,f,h,p=e.target,m=e.global,g=e.stat;if(n=m?r:g?r[p]||s(p,{}):r[p]&&r[p].prototype)for(u in t){if(f=t[u],d=e.dontCallGetSet?(h=o(n,u))&&h.value:n[u],!c(m?u:p+(g?".":"#")+u,e.forced)&&void 0!==d){if(typeof f==typeof d)continue;l(f,d)}(e.sham||d&&d.sham)&&i(f,"sham",!0),a(n,u,f,e)}}},9039:e=>{"use strict";e.exports=function(e){try{return!!e()}catch(e){return!0}}},9228:(e,t,n)=>{"use strict";n(7495);var r=n(9565),o=n(6840),i=n(7323),a=n(9039),s=n(8227),l=n(6699),c=s("species"),u=RegExp.prototype;e.exports=function(e,t,n,d){var f=s(e),h=!a((function(){var t={};return t[f]=function(){return 7},7!==""[e](t)})),p=h&&!a((function(){var t=!1,n=/a/;return"split"===e&&((n={}).constructor={},n.constructor[c]=function(){return n},n.flags="",n[f]=/./[f]),n.exec=function(){return t=!0,null},n[f](""),!t}));if(!h||!p||n){var m=/./[f],g=t(f,""[e],(function(e,t,n,o,a){var s=t.exec;return s===i||s===u.exec?h&&!a?{done:!0,value:r(m,t,n,o)}:{done:!0,value:r(e,n,t,o)}:{done:!1}}));o(String.prototype,e,g[0]),o(u,f,g[1])}d&&l(u[f],"sham",!0)}},8745:(e,t,n)=>{"use strict";var r=n(616),o=Function.prototype,i=o.apply,a=o.call;e.exports="object"==typeof Reflect&&Reflect.apply||(r?a.bind(i):function(){return a.apply(i,arguments)})},6080:(e,t,n)=>{"use strict";var r=n(7476),o=n(9306),i=n(616),a=r(r.bind);e.exports=function(e,t){return o(e),void 0===t?e:i?a(e,t):function(){return e.apply(t,arguments)}}},616:(e,t,n)=>{"use strict";var r=n(9039);e.exports=!r((function(){var e=function(){}.bind();return"function"!=typeof e||e.hasOwnProperty("prototype")}))},9565:(e,t,n)=>{"use strict";var r=n(616),o=Function.prototype.call;e.exports=r?o.bind(o):function(){return o.apply(o,arguments)}},350:(e,t,n)=>{"use strict";var r=n(3724),o=n(9297),i=Function.prototype,a=r&&Object.getOwnPropertyDescriptor,s=o(i,"name"),l=s&&"something"===function(){}.name,c=s&&(!r||r&&a(i,"name").configurable);e.exports={EXISTS:s,PROPER:l,CONFIGURABLE:c}},6706:(e,t,n)=>{"use strict";var r=n(9504),o=n(9306);e.exports=function(e,t,n){try{return r(o(Object.getOwnPropertyDescriptor(e,t)[n]))}catch(e){}}},7476:(e,t,n)=>{"use strict";var r=n(2195),o=n(9504);e.exports=function(e){if("Function"===r(e))return o(e)}},9504:(e,t,n)=>{"use strict";var r=n(616),o=Function.prototype,i=o.call,a=r&&o.bind.bind(i,i);e.exports=r?a:function(e){return function(){return i.apply(e,arguments)}}},7751:(e,t,n)=>{"use strict";var r=n(4576),o=n(4901);e.exports=function(e,t){return arguments.length<2?(n=r[e],o(n)?n:void 0):r[e]&&r[e][t];var n}},851:(e,t,n)=>{"use strict";var r=n(6955),o=n(5966),i=n(4117),a=n(6269),s=n(8227)("iterator");e.exports=function(e){if(!i(e))return o(e,s)||o(e,"@@iterator")||a[r(e)]}},81:(e,t,n)=>{"use strict";var r=n(9565),o=n(9306),i=n(8551),a=n(6823),s=n(851),l=TypeError;e.exports=function(e,t){var n=arguments.length<2?s(e):t;if(o(n))return i(r(n,e));throw new l(a(e)+" is not iterable")}},5966:(e,t,n)=>{"use strict";var r=n(9306),o=n(4117);e.exports=function(e,t){var n=e[t];return o(n)?void 0:r(n)}},2478:(e,t,n)=>{"use strict";var r=n(9504),o=n(8981),i=Math.floor,a=r("".charAt),s=r("".replace),l=r("".slice),c=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;e.exports=function(e,t,n,r,d,f){var h=n+e.length,p=r.length,m=u;return void 0!==d&&(d=o(d),m=c),s(f,m,(function(o,s){var c;switch(a(s,0)){case"$":return"$";case"&":return e;case"`":return l(t,0,n);case"'":return l(t,h);case"<":c=d[l(s,1,-1)];break;default:var u=+s;if(0===u)return o;if(u>p){var f=i(u/10);return 0===f?o:f<=p?void 0===r[f-1]?a(s,1):r[f-1]+a(s,1):o}c=r[u-1]}return void 0===c?"":c}))}},4576:function(e,t,n){"use strict";var r=function(e){return e&&e.Math===Math&&e};e.exports=r("object"==typeof globalThis&&globalThis)||r("object"==typeof window&&window)||r("object"==typeof self&&self)||r("object"==typeof n.g&&n.g)||r("object"==typeof this&&this)||function(){return this}()||Function("return this")()},9297:(e,t,n)=>{"use strict";var r=n(9504),o=n(8981),i=r({}.hasOwnProperty);e.exports=Object.hasOwn||function(e,t){return i(o(e),t)}},421:e=>{"use strict";e.exports={}},397:(e,t,n)=>{"use strict";var r=n(7751);e.exports=r("document","documentElement")},5917:(e,t,n)=>{"use strict";var r=n(3724),o=n(9039),i=n(4055);e.exports=!r&&!o((function(){return 7!==Object.defineProperty(i("div"),"a",{get:function(){return 7}}).a}))},7055:(e,t,n)=>{"use strict";var r=n(9504),o=n(9039),i=n(2195),a=Object,s=r("".split);e.exports=o((function(){return!a("z").propertyIsEnumerable(0)}))?function(e){return"String"===i(e)?s(e,""):a(e)}:a},3167:(e,t,n)=>{"use strict";var r=n(4901),o=n(34),i=n(2967);e.exports=function(e,t,n){var a,s;return i&&r(a=t.constructor)&&a!==n&&o(s=a.prototype)&&s!==n.prototype&&i(e,s),e}},3706:(e,t,n)=>{"use strict";var r=n(9504),o=n(4901),i=n(7629),a=r(Function.toString);o(i.inspectSource)||(i.inspectSource=function(e){return a(e)}),e.exports=i.inspectSource},1181:(e,t,n)=>{"use strict";var r,o,i,a=n(8622),s=n(4576),l=n(34),c=n(6699),u=n(9297),d=n(7629),f=n(6119),h=n(421),p="Object already initialized",m=s.TypeError,g=s.WeakMap;if(a||d.state){var y=d.state||(d.state=new g);y.get=y.get,y.has=y.has,y.set=y.set,r=function(e,t){if(y.has(e))throw new m(p);return t.facade=e,y.set(e,t),t},o=function(e){return y.get(e)||{}},i=function(e){return y.has(e)}}else{var v=f("state");h[v]=!0,r=function(e,t){if(u(e,v))throw new m(p);return t.facade=e,c(e,v,t),t},o=function(e){return u(e,v)?e[v]:{}},i=function(e){return u(e,v)}}e.exports={set:r,get:o,has:i,enforce:function(e){return i(e)?o(e):r(e,{})},getterFor:function(e){return function(t){var n;if(!l(t)||(n=o(t)).type!==e)throw new m("Incompatible receiver, "+e+" required");return n}}}},4209:(e,t,n)=>{"use strict";var r=n(8227),o=n(6269),i=r("iterator"),a=Array.prototype;e.exports=function(e){return void 0!==e&&(o.Array===e||a[i]===e)}},4901:e=>{"use strict";var t="object"==typeof document&&document.all;e.exports=void 0===t&&void 0!==t?function(e){return"function"==typeof e||e===t}:function(e){return"function"==typeof e}},3517:(e,t,n)=>{"use strict";var r=n(9504),o=n(9039),i=n(4901),a=n(6955),s=n(7751),l=n(3706),c=function(){},u=s("Reflect","construct"),d=/^\s*(?:class|function)\b/,f=r(d.exec),h=!d.test(c),p=function(e){if(!i(e))return!1;try{return u(c,[],e),!0}catch(e){return!1}},m=function(e){if(!i(e))return!1;switch(a(e)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return h||!!f(d,l(e))}catch(e){return!0}};m.sham=!0,e.exports=!u||o((function(){var e;return p(p.call)||!p(Object)||!p((function(){e=!0}))||e}))?m:p},2796:(e,t,n)=>{"use strict";var r=n(9039),o=n(4901),i=/#|\.prototype\./,a=function(e,t){var n=l[s(e)];return n===u||n!==c&&(o(t)?r(t):!!t)},s=a.normalize=function(e){return String(e).replace(i,".").toLowerCase()},l=a.data={},c=a.NATIVE="N",u=a.POLYFILL="P";e.exports=a},4117:e=>{"use strict";e.exports=function(e){return null==e}},34:(e,t,n)=>{"use strict";var r=n(4901);e.exports=function(e){return"object"==typeof e?null!==e:r(e)}},3925:(e,t,n)=>{"use strict";var r=n(34);e.exports=function(e){return r(e)||null===e}},6395:e=>{"use strict";e.exports=!1},788:(e,t,n)=>{"use strict";var r=n(34),o=n(2195),i=n(8227)("match");e.exports=function(e){var t;return r(e)&&(void 0!==(t=e[i])?!!t:"RegExp"===o(e))}},757:(e,t,n)=>{"use strict";var r=n(7751),o=n(4901),i=n(1625),a=n(7040),s=Object;e.exports=a?function(e){return"symbol"==typeof e}:function(e){var t=r("Symbol");return o(t)&&i(t.prototype,s(e))}},2652:(e,t,n)=>{"use strict";var r=n(6080),o=n(9565),i=n(8551),a=n(6823),s=n(4209),l=n(6198),c=n(1625),u=n(81),d=n(851),f=n(9539),h=TypeError,p=function(e,t){this.stopped=e,this.result=t},m=p.prototype;e.exports=function(e,t,n){var g,y,v,b,x,w,C,A=n&&n.that,E=!(!n||!n.AS_ENTRIES),S=!(!n||!n.IS_RECORD),k=!(!n||!n.IS_ITERATOR),_=!(!n||!n.INTERRUPTED),O=r(t,A),R=function(e){return g&&f(g,"normal",e),new p(!0,e)},P=function(e){return E?(i(e),_?O(e[0],e[1],R):O(e[0],e[1])):_?O(e,R):O(e)};if(S)g=e.iterator;else if(k)g=e;else{if(!(y=d(e)))throw new h(a(e)+" is not iterable");if(s(y)){for(v=0,b=l(e);b>v;v++)if((x=P(e[v]))&&c(m,x))return x;return new p(!1)}g=u(e,y)}for(w=S?e.next:g.next;!(C=o(w,g)).done;){try{x=P(C.value)}catch(e){f(g,"throw",e)}if("object"==typeof x&&x&&c(m,x))return x}return new p(!1)}},9539:(e,t,n)=>{"use strict";var r=n(9565),o=n(8551),i=n(5966);e.exports=function(e,t,n){var a,s;o(e);try{if(!(a=i(e,"return"))){if("throw"===t)throw n;return n}a=r(a,e)}catch(e){s=!0,a=e}if("throw"===t)throw n;if(s)throw a;return o(a),n}},3994:(e,t,n)=>{"use strict";var r=n(7657).IteratorPrototype,o=n(2360),i=n(6980),a=n(687),s=n(6269),l=function(){return this};e.exports=function(e,t,n,c){var u=t+" Iterator";return e.prototype=o(r,{next:i(+!c,n)}),a(e,u,!1,!0),s[u]=l,e}},1088:(e,t,n)=>{"use strict";var r=n(6518),o=n(9565),i=n(6395),a=n(350),s=n(4901),l=n(3994),c=n(2787),u=n(2967),d=n(687),f=n(6699),h=n(6840),p=n(8227),m=n(6269),g=n(7657),y=a.PROPER,v=a.CONFIGURABLE,b=g.IteratorPrototype,x=g.BUGGY_SAFARI_ITERATORS,w=p("iterator"),C="keys",A="values",E="entries",S=function(){return this};e.exports=function(e,t,n,a,p,g,k){l(n,t,a);var _,O,R,P=function(e){if(e===p&&L)return L;if(!x&&e&&e in M)return M[e];switch(e){case C:case A:case E:return function(){return new n(this,e)}}return function(){return new n(this)}},j=t+" Iterator",T=!1,M=e.prototype,N=M[w]||M["@@iterator"]||p&&M[p],L=!x&&N||P(p),D="Array"===t&&M.entries||N;if(D&&(_=c(D.call(new e)))!==Object.prototype&&_.next&&(i||c(_)===b||(u?u(_,b):s(_[w])||h(_,w,S)),d(_,j,!0,!0),i&&(m[j]=S)),y&&p===A&&N&&N.name!==A&&(!i&&v?f(M,"name",A):(T=!0,L=function(){return o(N,this)})),p)if(O={values:P(A),keys:g?L:P(C),entries:P(E)},k)for(R in O)(x||T||!(R in M))&&h(M,R,O[R]);else r({target:t,proto:!0,forced:x||T},O);return i&&!k||M[w]===L||h(M,w,L,{name:p}),m[t]=L,O}},7657:(e,t,n)=>{"use strict";var r,o,i,a=n(9039),s=n(4901),l=n(34),c=n(2360),u=n(2787),d=n(6840),f=n(8227),h=n(6395),p=f("iterator"),m=!1;[].keys&&("next"in(i=[].keys())?(o=u(u(i)))!==Object.prototype&&(r=o):m=!0),!l(r)||a((function(){var e={};return r[p].call(e)!==e}))?r={}:h&&(r=c(r)),s(r[p])||d(r,p,(function(){return this})),e.exports={IteratorPrototype:r,BUGGY_SAFARI_ITERATORS:m}},6269:e=>{"use strict";e.exports={}},6198:(e,t,n)=>{"use strict";var r=n(8014);e.exports=function(e){return r(e.length)}},283:(e,t,n)=>{"use strict";var r=n(9504),o=n(9039),i=n(4901),a=n(9297),s=n(3724),l=n(350).CONFIGURABLE,c=n(3706),u=n(1181),d=u.enforce,f=u.get,h=String,p=Object.defineProperty,m=r("".slice),g=r("".replace),y=r([].join),v=s&&!o((function(){return 8!==p((function(){}),"length",{value:8}).length})),b=String(String).split("String"),x=e.exports=function(e,t,n){"Symbol("===m(h(t),0,7)&&(t="["+g(h(t),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),n&&n.getter&&(t="get "+t),n&&n.setter&&(t="set "+t),(!a(e,"name")||l&&e.name!==t)&&(s?p(e,"name",{value:t,configurable:!0}):e.name=t),v&&n&&a(n,"arity")&&e.length!==n.arity&&p(e,"length",{value:n.arity});try{n&&a(n,"constructor")&&n.constructor?s&&p(e,"prototype",{writable:!1}):e.prototype&&(e.prototype=void 0)}catch(e){}var r=d(e);return a(r,"source")||(r.source=y(b,"string"==typeof t?t:"")),e};Function.prototype.toString=x((function(){return i(this)&&f(this).source||c(this)}),"toString")},741:e=>{"use strict";var t=Math.ceil,n=Math.floor;e.exports=Math.trunc||function(e){var r=+e;return(r>0?n:t)(r)}},4213:(e,t,n)=>{"use strict";var r=n(3724),o=n(9504),i=n(9565),a=n(9039),s=n(1072),l=n(3717),c=n(8773),u=n(8981),d=n(7055),f=Object.assign,h=Object.defineProperty,p=o([].concat);e.exports=!f||a((function(){if(r&&1!==f({b:1},f(h({},"a",{enumerable:!0,get:function(){h(this,"b",{value:3,enumerable:!1})}}),{b:2})).b)return!0;var e={},t={},n=Symbol("assign detection"),o="abcdefghijklmnopqrst";return e[n]=7,o.split("").forEach((function(e){t[e]=e})),7!==f({},e)[n]||s(f({},t)).join("")!==o}))?function(e,t){for(var n=u(e),o=arguments.length,a=1,f=l.f,h=c.f;o>a;)for(var m,g=d(arguments[a++]),y=f?p(s(g),f(g)):s(g),v=y.length,b=0;v>b;)m=y[b++],r&&!i(h,g,m)||(n[m]=g[m]);return n}:f},2360:(e,t,n)=>{"use strict";var r,o=n(8551),i=n(6801),a=n(8727),s=n(421),l=n(397),c=n(4055),u=n(6119),d="prototype",f="script",h=u("IE_PROTO"),p=function(){},m=function(e){return"<"+f+">"+e+"</"+f+">"},g=function(e){e.write(m("")),e.close();var t=e.parentWindow.Object;return e=null,t},y=function(){try{r=new ActiveXObject("htmlfile")}catch(e){}var e,t,n;y="undefined"!=typeof document?document.domain&&r?g(r):(t=c("iframe"),n="java"+f+":",t.style.display="none",l.appendChild(t),t.src=String(n),(e=t.contentWindow.document).open(),e.write(m("document.F=Object")),e.close(),e.F):g(r);for(var o=a.length;o--;)delete y[d][a[o]];return y()};s[h]=!0,e.exports=Object.create||function(e,t){var n;return null!==e?(p[d]=o(e),n=new p,p[d]=null,n[h]=e):n=y(),void 0===t?n:i.f(n,t)}},6801:(e,t,n)=>{"use strict";var r=n(3724),o=n(8686),i=n(4913),a=n(8551),s=n(5397),l=n(1072);t.f=r&&!o?Object.defineProperties:function(e,t){a(e);for(var n,r=s(t),o=l(t),c=o.length,u=0;c>u;)i.f(e,n=o[u++],r[n]);return e}},4913:(e,t,n)=>{"use strict";var r=n(3724),o=n(5917),i=n(8686),a=n(8551),s=n(6969),l=TypeError,c=Object.defineProperty,u=Object.getOwnPropertyDescriptor,d="enumerable",f="configurable",h="writable";t.f=r?i?function(e,t,n){if(a(e),t=s(t),a(n),"function"==typeof e&&"prototype"===t&&"value"in n&&h in n&&!n[h]){var r=u(e,t);r&&r[h]&&(e[t]=n.value,n={configurable:f in n?n[f]:r[f],enumerable:d in n?n[d]:r[d],writable:!1})}return c(e,t,n)}:c:function(e,t,n){if(a(e),t=s(t),a(n),o)try{return c(e,t,n)}catch(e){}if("get"in n||"set"in n)throw new l("Accessors not supported");return"value"in n&&(e[t]=n.value),e}},7347:(e,t,n)=>{"use strict";var r=n(3724),o=n(9565),i=n(8773),a=n(6980),s=n(5397),l=n(6969),c=n(9297),u=n(5917),d=Object.getOwnPropertyDescriptor;t.f=r?d:function(e,t){if(e=s(e),t=l(t),u)try{return d(e,t)}catch(e){}if(c(e,t))return a(!o(i.f,e,t),e[t])}},8480:(e,t,n)=>{"use strict";var r=n(1828),o=n(8727).concat("length","prototype");t.f=Object.getOwnPropertyNames||function(e){return r(e,o)}},3717:(e,t)=>{"use strict";t.f=Object.getOwnPropertySymbols},2787:(e,t,n)=>{"use strict";var r=n(9297),o=n(4901),i=n(8981),a=n(6119),s=n(2211),l=a("IE_PROTO"),c=Object,u=c.prototype;e.exports=s?c.getPrototypeOf:function(e){var t=i(e);if(r(t,l))return t[l];var n=t.constructor;return o(n)&&t instanceof n?n.prototype:t instanceof c?u:null}},1625:(e,t,n)=>{"use strict";var r=n(9504);e.exports=r({}.isPrototypeOf)},1828:(e,t,n)=>{"use strict";var r=n(9504),o=n(9297),i=n(5397),a=n(9617).indexOf,s=n(421),l=r([].push);e.exports=function(e,t){var n,r=i(e),c=0,u=[];for(n in r)!o(s,n)&&o(r,n)&&l(u,n);for(;t.length>c;)o(r,n=t[c++])&&(~a(u,n)||l(u,n));return u}},1072:(e,t,n)=>{"use strict";var r=n(1828),o=n(8727);e.exports=Object.keys||function(e){return r(e,o)}},8773:(e,t)=>{"use strict";var n={}.propertyIsEnumerable,r=Object.getOwnPropertyDescriptor,o=r&&!n.call({1:2},1);t.f=o?function(e){var t=r(this,e);return!!t&&t.enumerable}:n},2967:(e,t,n)=>{"use strict";var r=n(6706),o=n(34),i=n(7750),a=n(3506);e.exports=Object.setPrototypeOf||("__proto__"in{}?function(){var e,t=!1,n={};try{(e=r(Object.prototype,"__proto__","set"))(n,[]),t=n instanceof Array}catch(e){}return function(n,r){return i(n),a(r),o(n)?(t?e(n,r):n.__proto__=r,n):n}}():void 0)},4270:(e,t,n)=>{"use strict";var r=n(9565),o=n(4901),i=n(34),a=TypeError;e.exports=function(e,t){var n,s;if("string"===t&&o(n=e.toString)&&!i(s=r(n,e)))return s;if(o(n=e.valueOf)&&!i(s=r(n,e)))return s;if("string"!==t&&o(n=e.toString)&&!i(s=r(n,e)))return s;throw new a("Can't convert object to primitive value")}},5031:(e,t,n)=>{"use strict";var r=n(7751),o=n(9504),i=n(8480),a=n(3717),s=n(8551),l=o([].concat);e.exports=r("Reflect","ownKeys")||function(e){var t=i.f(s(e)),n=a.f;return n?l(t,n(e)):t}},1056:(e,t,n)=>{"use strict";var r=n(4913).f;e.exports=function(e,t,n){n in e||r(e,n,{configurable:!0,get:function(){return t[n]},set:function(e){t[n]=e}})}},6682:(e,t,n)=>{"use strict";var r=n(9565),o=n(8551),i=n(4901),a=n(2195),s=n(7323),l=TypeError;e.exports=function(e,t){var n=e.exec;if(i(n)){var c=r(n,e,t);return null!==c&&o(c),c}if("RegExp"===a(e))return r(s,e,t);throw new l("RegExp#exec called on incompatible receiver")}},7323:(e,t,n)=>{"use strict";var r,o,i=n(9565),a=n(9504),s=n(655),l=n(7979),c=n(8429),u=n(5745),d=n(2360),f=n(1181).get,h=n(3635),p=n(8814),m=u("native-string-replace",String.prototype.replace),g=RegExp.prototype.exec,y=g,v=a("".charAt),b=a("".indexOf),x=a("".replace),w=a("".slice),C=(o=/b*/g,i(g,r=/a/,"a"),i(g,o,"a"),0!==r.lastIndex||0!==o.lastIndex),A=c.BROKEN_CARET,E=void 0!==/()??/.exec("")[1];(C||E||A||h||p)&&(y=function(e){var t,n,r,o,a,c,u,h=this,p=f(h),S=s(e),k=p.raw;if(k)return k.lastIndex=h.lastIndex,t=i(y,k,S),h.lastIndex=k.lastIndex,t;var _=p.groups,O=A&&h.sticky,R=i(l,h),P=h.source,j=0,T=S;if(O&&(R=x(R,"y",""),-1===b(R,"g")&&(R+="g"),T=w(S,h.lastIndex),h.lastIndex>0&&(!h.multiline||h.multiline&&"\n"!==v(S,h.lastIndex-1))&&(P="(?: "+P+")",T=" "+T,j++),n=new RegExp("^(?:"+P+")",R)),E&&(n=new RegExp("^"+P+"$(?!\\s)",R)),C&&(r=h.lastIndex),o=i(g,O?n:h,T),O?o?(o.input=w(o.input,j),o[0]=w(o[0],j),o.index=h.lastIndex,h.lastIndex+=o[0].length):h.lastIndex=0:C&&o&&(h.lastIndex=h.global?o.index+o[0].length:r),E&&o&&o.length>1&&i(m,o[0],n,(function(){for(a=1;a<arguments.length-2;a++)void 0===arguments[a]&&(o[a]=void 0)})),o&&_)for(o.groups=c=d(null),a=0;a<_.length;a++)c[(u=_[a])[0]]=o[u[1]];return o}),e.exports=y},7979:(e,t,n)=>{"use strict";var r=n(8551);e.exports=function(){var e=r(this),t="";return e.hasIndices&&(t+="d"),e.global&&(t+="g"),e.ignoreCase&&(t+="i"),e.multiline&&(t+="m"),e.dotAll&&(t+="s"),e.unicode&&(t+="u"),e.unicodeSets&&(t+="v"),e.sticky&&(t+="y"),t}},1034:(e,t,n)=>{"use strict";var r=n(9565),o=n(9297),i=n(1625),a=n(7979),s=RegExp.prototype;e.exports=function(e){var t=e.flags;return void 0!==t||"flags"in s||o(e,"flags")||!i(s,e)?t:r(a,e)}},8429:(e,t,n)=>{"use strict";var r=n(9039),o=n(4576).RegExp,i=r((function(){var e=o("a","y");return e.lastIndex=2,null!==e.exec("abcd")})),a=i||r((function(){return!o("a","y").sticky})),s=i||r((function(){var e=o("^r","gy");return e.lastIndex=2,null!==e.exec("str")}));e.exports={BROKEN_CARET:s,MISSED_STICKY:a,UNSUPPORTED_Y:i}},3635:(e,t,n)=>{"use strict";var r=n(9039),o=n(4576).RegExp;e.exports=r((function(){var e=o(".","s");return!(e.dotAll&&e.test("\n")&&"s"===e.flags)}))},8814:(e,t,n)=>{"use strict";var r=n(9039),o=n(4576).RegExp;e.exports=r((function(){var e=o("(?<a>b)","g");return"b"!==e.exec("b").groups.a||"bc"!=="b".replace(e,"$<a>c")}))},7750:(e,t,n)=>{"use strict";var r=n(4117),o=TypeError;e.exports=function(e){if(r(e))throw new o("Can't call method on "+e);return e}},3389:(e,t,n)=>{"use strict";var r=n(4576),o=n(3724),i=Object.getOwnPropertyDescriptor;e.exports=function(e){if(!o)return r[e];var t=i(r,e);return t&&t.value}},7633:(e,t,n)=>{"use strict";var r=n(7751),o=n(2106),i=n(8227),a=n(3724),s=i("species");e.exports=function(e){var t=r(e);a&&t&&!t[s]&&o(t,s,{configurable:!0,get:function(){return this}})}},687:(e,t,n)=>{"use strict";var r=n(4913).f,o=n(9297),i=n(8227)("toStringTag");e.exports=function(e,t,n){e&&!n&&(e=e.prototype),e&&!o(e,i)&&r(e,i,{configurable:!0,value:t})}},6119:(e,t,n)=>{"use strict";var r=n(5745),o=n(3392),i=r("keys");e.exports=function(e){return i[e]||(i[e]=o(e))}},7629:(e,t,n)=>{"use strict";var r=n(6395),o=n(4576),i=n(9433),a="__core-js_shared__",s=e.exports=o[a]||i(a,{});(s.versions||(s.versions=[])).push({version:"3.39.0",mode:r?"pure":"global",copyright:"© 2014-2024 Denis Pushkarev (zloirock.ru)",license:"https://github.com/zloirock/core-js/blob/v3.39.0/LICENSE",source:"https://github.com/zloirock/core-js"})},5745:(e,t,n)=>{"use strict";var r=n(7629);e.exports=function(e,t){return r[e]||(r[e]=t||{})}},8183:(e,t,n)=>{"use strict";var r=n(9504),o=n(1291),i=n(655),a=n(7750),s=r("".charAt),l=r("".charCodeAt),c=r("".slice),u=function(e){return function(t,n){var r,u,d=i(a(t)),f=o(n),h=d.length;return f<0||f>=h?e?"":void 0:(r=l(d,f))<55296||r>56319||f+1===h||(u=l(d,f+1))<56320||u>57343?e?s(d,f):r:e?c(d,f,f+2):u-56320+(r-55296<<10)+65536}};e.exports={codeAt:u(!1),charAt:u(!0)}},6098:(e,t,n)=>{"use strict";var r=n(9504),o=2147483647,i=/[^\0-\u007E]/,a=/[.\u3002\uFF0E\uFF61]/g,s="Overflow: input needs wider integers to process",l=RangeError,c=r(a.exec),u=Math.floor,d=String.fromCharCode,f=r("".charCodeAt),h=r([].join),p=r([].push),m=r("".replace),g=r("".split),y=r("".toLowerCase),v=function(e){return e+22+75*(e<26)},b=function(e,t,n){var r=0;for(e=n?u(e/700):e>>1,e+=u(e/t);e>455;)e=u(e/35),r+=36;return u(r+36*e/(e+38))},x=function(e){var t=[];e=function(e){for(var t=[],n=0,r=e.length;n<r;){var o=f(e,n++);if(o>=55296&&o<=56319&&n<r){var i=f(e,n++);56320==(64512&i)?p(t,((1023&o)<<10)+(1023&i)+65536):(p(t,o),n--)}else p(t,o)}return t}(e);var n,r,i=e.length,a=128,c=0,m=72;for(n=0;n<e.length;n++)(r=e[n])<128&&p(t,d(r));var g=t.length,y=g;for(g&&p(t,"-");y<i;){var x=o;for(n=0;n<e.length;n++)(r=e[n])>=a&&r<x&&(x=r);var w=y+1;if(x-a>u((o-c)/w))throw new l(s);for(c+=(x-a)*w,a=x,n=0;n<e.length;n++){if((r=e[n])<a&&++c>o)throw new l(s);if(r===a){for(var C=c,A=36;;){var E=A<=m?1:A>=m+26?26:A-m;if(C<E)break;var S=C-E,k=36-E;p(t,d(v(E+S%k))),C=u(S/k),A+=36}p(t,d(v(C))),m=b(c,w,y===g),c=0,y++}}c++,a++}return h(t,"")};e.exports=function(e){var t,n,r=[],o=g(m(y(e),a,"."),".");for(t=0;t<o.length;t++)n=o[t],p(r,c(i,n)?"xn--"+x(n):n);return h(r,".")}},706:(e,t,n)=>{"use strict";var r=n(350).PROPER,o=n(9039),i=n(7452);e.exports=function(e){return o((function(){return!!i[e]()||"​…᠎"!=="​…᠎"[e]()||r&&i[e].name!==e}))}},3802:(e,t,n)=>{"use strict";var r=n(9504),o=n(7750),i=n(655),a=n(7452),s=r("".replace),l=RegExp("^["+a+"]+"),c=RegExp("(^|[^"+a+"])["+a+"]+$"),u=function(e){return function(t){var n=i(o(t));return 1&e&&(n=s(n,l,"")),2&e&&(n=s(n,c,"$1")),n}};e.exports={start:u(1),end:u(2),trim:u(3)}},4495:(e,t,n)=>{"use strict";var r=n(9519),o=n(9039),i=n(4576).String;e.exports=!!Object.getOwnPropertySymbols&&!o((function(){var e=Symbol("symbol detection");return!i(e)||!(Object(e)instanceof Symbol)||!Symbol.sham&&r&&r<41}))},5610:(e,t,n)=>{"use strict";var r=n(1291),o=Math.max,i=Math.min;e.exports=function(e,t){var n=r(e);return n<0?o(n+t,0):i(n,t)}},5397:(e,t,n)=>{"use strict";var r=n(7055),o=n(7750);e.exports=function(e){return r(o(e))}},1291:(e,t,n)=>{"use strict";var r=n(741);e.exports=function(e){var t=+e;return t!=t||0===t?0:r(t)}},8014:(e,t,n)=>{"use strict";var r=n(1291),o=Math.min;e.exports=function(e){var t=r(e);return t>0?o(t,9007199254740991):0}},8981:(e,t,n)=>{"use strict";var r=n(7750),o=Object;e.exports=function(e){return o(r(e))}},2777:(e,t,n)=>{"use strict";var r=n(9565),o=n(34),i=n(757),a=n(5966),s=n(4270),l=n(8227),c=TypeError,u=l("toPrimitive");e.exports=function(e,t){if(!o(e)||i(e))return e;var n,l=a(e,u);if(l){if(void 0===t&&(t="default"),n=r(l,e,t),!o(n)||i(n))return n;throw new c("Can't convert object to primitive value")}return void 0===t&&(t="number"),s(e,t)}},6969:(e,t,n)=>{"use strict";var r=n(2777),o=n(757);e.exports=function(e){var t=r(e,"string");return o(t)?t:t+""}},2140:(e,t,n)=>{"use strict";var r={};r[n(8227)("toStringTag")]="z",e.exports="[object z]"===String(r)},655:(e,t,n)=>{"use strict";var r=n(6955),o=String;e.exports=function(e){if("Symbol"===r(e))throw new TypeError("Cannot convert a Symbol value to a string");return o(e)}},6823:e=>{"use strict";var t=String;e.exports=function(e){try{return t(e)}catch(e){return"Object"}}},3392:(e,t,n)=>{"use strict";var r=n(9504),o=0,i=Math.random(),a=r(1..toString);e.exports=function(e){return"Symbol("+(void 0===e?"":e)+")_"+a(++o+i,36)}},7416:(e,t,n)=>{"use strict";var r=n(9039),o=n(8227),i=n(3724),a=n(6395),s=o("iterator");e.exports=!r((function(){var e=new URL("b?a=1&b=2&c=3","https://a"),t=e.searchParams,n=new URLSearchParams("a=1&a=2&b=3"),r="";return e.pathname="c%20d",t.forEach((function(e,n){t.delete("b"),r+=n+e})),n.delete("a",2),n.delete("b",void 0),a&&(!e.toJSON||!n.has("a",1)||n.has("a",2)||!n.has("a",void 0)||n.has("b"))||!t.size&&(a||!i)||!t.sort||"https://a/c%20d?a=1&c=3"!==e.href||"3"!==t.get("c")||"a=1"!==String(new URLSearchParams("?a=1"))||!t[s]||"a"!==new URL("https://a@b").username||"b"!==new URLSearchParams(new URLSearchParams("a=b")).get("a")||"xn--e1aybc"!==new URL("https://тест").host||"#%D0%B1"!==new URL("https://a#б").hash||"a1c3"!==r||"x"!==new URL("https://x",void 0).host}))},7040:(e,t,n)=>{"use strict";var r=n(4495);e.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator},8686:(e,t,n)=>{"use strict";var r=n(3724),o=n(9039);e.exports=r&&o((function(){return 42!==Object.defineProperty((function(){}),"prototype",{value:42,writable:!1}).prototype}))},2812:e=>{"use strict";var t=TypeError;e.exports=function(e,n){if(e<n)throw new t("Not enough arguments");return e}},8622:(e,t,n)=>{"use strict";var r=n(4576),o=n(4901),i=r.WeakMap;e.exports=o(i)&&/native code/.test(String(i))},8227:(e,t,n)=>{"use strict";var r=n(4576),o=n(5745),i=n(9297),a=n(3392),s=n(4495),l=n(7040),c=r.Symbol,u=o("wks"),d=l?c.for||c:c&&c.withoutSetter||a;e.exports=function(e){return i(u,e)||(u[e]=s&&i(c,e)?c[e]:d("Symbol."+e)),u[e]}},7452:e=>{"use strict";e.exports="\t\n\v\f\r                 \u2028\u2029\ufeff"},3792:(e,t,n)=>{"use strict";var r=n(5397),o=n(6469),i=n(6269),a=n(1181),s=n(4913).f,l=n(1088),c=n(2529),u=n(6395),d=n(3724),f="Array Iterator",h=a.set,p=a.getterFor(f);e.exports=l(Array,"Array",(function(e,t){h(this,{type:f,target:r(e),index:0,kind:t})}),(function(){var e=p(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,c(void 0,!0);switch(e.kind){case"keys":return c(n,!1);case"values":return c(t[n],!1)}return c([n,t[n]],!1)}),"values");var m=i.Arguments=i.Array;if(o("keys"),o("values"),o("entries"),!u&&d&&"values"!==m.name)try{s(m,"name",{value:"values"})}catch(e){}},6910:(e,t,n)=>{"use strict";var r=n(6518),o=n(9504),i=n(9306),a=n(8981),s=n(6198),l=n(4606),c=n(655),u=n(9039),d=n(4488),f=n(4598),h=n(3709),p=n(3763),m=n(9519),g=n(3607),y=[],v=o(y.sort),b=o(y.push),x=u((function(){y.sort(void 0)})),w=u((function(){y.sort(null)})),C=f("sort"),A=!u((function(){if(m)return m<70;if(!(h&&h>3)){if(p)return!0;if(g)return g<603;var e,t,n,r,o="";for(e=65;e<76;e++){switch(t=String.fromCharCode(e),e){case 66:case 69:case 70:case 72:n=3;break;case 68:case 71:n=4;break;default:n=2}for(r=0;r<47;r++)y.push({k:t+r,v:n})}for(y.sort((function(e,t){return t.v-e.v})),r=0;r<y.length;r++)t=y[r].k.charAt(0),o.charAt(o.length-1)!==t&&(o+=t);return"DGBEFHACIJK"!==o}}));r({target:"Array",proto:!0,forced:x||!w||!C||!A},{sort:function(e){void 0!==e&&i(e);var t=a(this);if(A)return void 0===e?v(t):v(t,e);var n,r,o=[],u=s(t);for(r=0;r<u;r++)r in t&&b(o,t[r]);for(d(o,function(e){return function(t,n){return void 0===n?-1:void 0===t?1:void 0!==e?+e(t,n)||0:c(t)>c(n)?1:-1}}(e)),n=s(o),r=0;r<n;)t[r]=o[r++];for(;r<u;)l(t,r++);return t}})},3921:(e,t,n)=>{"use strict";var r=n(6518),o=n(2652),i=n(4659);r({target:"Object",stat:!0},{fromEntries:function(e){var t={};return o(e,(function(e,n){i(t,e,n)}),{AS_ENTRIES:!0}),t}})},4864:(e,t,n)=>{"use strict";var r=n(3724),o=n(4576),i=n(9504),a=n(2796),s=n(3167),l=n(6699),c=n(2360),u=n(8480).f,d=n(1625),f=n(788),h=n(655),p=n(1034),m=n(8429),g=n(1056),y=n(6840),v=n(9039),b=n(9297),x=n(1181).enforce,w=n(7633),C=n(8227),A=n(3635),E=n(8814),S=C("match"),k=o.RegExp,_=k.prototype,O=o.SyntaxError,R=i(_.exec),P=i("".charAt),j=i("".replace),T=i("".indexOf),M=i("".slice),N=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,L=/a/g,D=/a/g,I=new k(L)!==L,F=m.MISSED_STICKY,B=m.UNSUPPORTED_Y;if(a("RegExp",r&&(!I||F||A||E||v((function(){return D[S]=!1,k(L)!==L||k(D)===D||"/a/i"!==String(k(L,"i"))}))))){for(var z=function(e,t){var n,r,o,i,a,u,m=d(_,this),g=f(e),y=void 0===t,v=[],w=e;if(!m&&g&&y&&e.constructor===z)return e;if((g||d(_,e))&&(e=e.source,y&&(t=p(w))),e=void 0===e?"":h(e),t=void 0===t?"":h(t),w=e,A&&"dotAll"in L&&(r=!!t&&T(t,"s")>-1)&&(t=j(t,/s/g,"")),n=t,F&&"sticky"in L&&(o=!!t&&T(t,"y")>-1)&&B&&(t=j(t,/y/g,"")),E&&(i=function(e){for(var t,n=e.length,r=0,o="",i=[],a=c(null),s=!1,l=!1,u=0,d="";r<=n;r++){if("\\"===(t=P(e,r)))t+=P(e,++r);else if("]"===t)s=!1;else if(!s)switch(!0){case"["===t:s=!0;break;case"("===t:if(o+=t,"?:"===M(e,r+1,r+3))continue;R(N,M(e,r+1))&&(r+=2,l=!0),u++;continue;case">"===t&&l:if(""===d||b(a,d))throw new O("Invalid capture group name");a[d]=!0,i[i.length]=[d,u],l=!1,d="";continue}l?d+=t:o+=t}return[o,i]}(e),e=i[0],v=i[1]),a=s(k(e,t),m?this:_,z),(r||o||v.length)&&(u=x(a),r&&(u.dotAll=!0,u.raw=z(function(e){for(var t,n=e.length,r=0,o="",i=!1;r<=n;r++)"\\"!==(t=P(e,r))?i||"."!==t?("["===t?i=!0:"]"===t&&(i=!1),o+=t):o+="[\\s\\S]":o+=t+P(e,++r);return o}(e),n)),o&&(u.sticky=!0),v.length&&(u.groups=v)),e!==w)try{l(a,"source",""===w?"(?:)":w)}catch(e){}return a},V=u(k),H=0;V.length>H;)g(z,k,V[H++]);_.constructor=z,z.prototype=_,y(o,"RegExp",z,{constructor:!0})}w("RegExp")},7495:(e,t,n)=>{"use strict";var r=n(6518),o=n(7323);r({target:"RegExp",proto:!0,forced:/./.exec!==o},{exec:o})},7337:(e,t,n)=>{"use strict";var r=n(6518),o=n(9504),i=n(5610),a=RangeError,s=String.fromCharCode,l=String.fromCodePoint,c=o([].join);r({target:"String",stat:!0,arity:1,forced:!!l&&1!==l.length},{fromCodePoint:function(e){for(var t,n=[],r=arguments.length,o=0;r>o;){if(t=+arguments[o++],i(t,1114111)!==t)throw new a(t+" is not a valid code point");n[o]=t<65536?s(t):s(55296+((t-=65536)>>10),t%1024+56320)}return c(n,"")}})},7764:(e,t,n)=>{"use strict";var r=n(8183).charAt,o=n(655),i=n(1181),a=n(1088),s=n(2529),l="String Iterator",c=i.set,u=i.getterFor(l);a(String,"String",(function(e){c(this,{type:l,string:o(e),index:0})}),(function(){var e,t=u(this),n=t.string,o=t.index;return o>=n.length?s(void 0,!0):(e=r(n,o),t.index+=e.length,s(e,!1))}))},5440:(e,t,n)=>{"use strict";var r=n(8745),o=n(9565),i=n(9504),a=n(9228),s=n(9039),l=n(8551),c=n(4901),u=n(4117),d=n(1291),f=n(8014),h=n(655),p=n(7750),m=n(7829),g=n(5966),y=n(2478),v=n(6682),b=n(8227)("replace"),x=Math.max,w=Math.min,C=i([].concat),A=i([].push),E=i("".indexOf),S=i("".slice),k="$0"==="a".replace(/./,"$0"),_=!!/./[b]&&""===/./[b]("a","$0");a("replace",(function(e,t,n){var i=_?"$":"$0";return[function(e,n){var r=p(this),i=u(e)?void 0:g(e,b);return i?o(i,e,r,n):o(t,h(r),e,n)},function(e,o){var a=l(this),s=h(e);if("string"==typeof o&&-1===E(o,i)&&-1===E(o,"$<")){var u=n(t,a,s,o);if(u.done)return u.value}var p=c(o);p||(o=h(o));var g,b=a.global;b&&(g=a.unicode,a.lastIndex=0);for(var k,_=[];null!==(k=v(a,s))&&(A(_,k),b);)""===h(k[0])&&(a.lastIndex=m(s,f(a.lastIndex),g));for(var O,R="",P=0,j=0;j<_.length;j++){for(var T,M=h((k=_[j])[0]),N=x(w(d(k.index),s.length),0),L=[],D=1;D<k.length;D++)A(L,void 0===(O=k[D])?O:String(O));var I=k.groups;if(p){var F=C([M],L,N,s);void 0!==I&&A(F,I),T=h(r(o,void 0,F))}else T=y(M,s,N,L,I,o);N>=P&&(R+=S(s,P,N)+T,P=N+M.length)}return R+S(s,P)}]}),!!s((function(){var e=/./;return e.exec=function(){var e=[];return e.groups={a:"7"},e},"7"!=="".replace(e,"$<a>")}))||!k||_)},2762:(e,t,n)=>{"use strict";var r=n(6518),o=n(3802).trim;r({target:"String",proto:!0,forced:n(706)("trim")},{trim:function(){return o(this)}})},9463:(e,t,n)=>{"use strict";var r=n(6518),o=n(3724),i=n(4576),a=n(9504),s=n(9297),l=n(4901),c=n(1625),u=n(655),d=n(2106),f=n(7740),h=i.Symbol,p=h&&h.prototype;if(o&&l(h)&&(!("description"in p)||void 0!==h().description)){var m={},g=function(){var e=arguments.length<1||void 0===arguments[0]?void 0:u(arguments[0]),t=c(p,this)?new h(e):void 0===e?h():h(e);return""===e&&(m[t]=!0),t};f(g,h),g.prototype=p,p.constructor=g;var y="Symbol(description detection)"===String(h("description detection")),v=a(p.valueOf),b=a(p.toString),x=/^Symbol\((.*)\)[^)]+$/,w=a("".replace),C=a("".slice);d(p,"description",{configurable:!0,get:function(){var e=v(this);if(s(m,e))return"";var t=b(e),n=y?C(t,7,-1):w(t,x,"$1");return""===n?void 0:n}}),r({global:!0,constructor:!0,forced:!0},{Symbol:g})}},2953:(e,t,n)=>{"use strict";var r=n(4576),o=n(7400),i=n(9296),a=n(3792),s=n(6699),l=n(687),c=n(8227)("iterator"),u=a.values,d=function(e,t){if(e){if(e[c]!==u)try{s(e,c,u)}catch(t){e[c]=u}if(l(e,t,!0),o[t])for(var n in a)if(e[n]!==a[n])try{s(e,n,a[n])}catch(t){e[n]=a[n]}}};for(var f in o)d(r[f]&&r[f].prototype,f);d(i,"DOMTokenList")},8406:(e,t,n)=>{"use strict";n(3792),n(7337);var r=n(6518),o=n(4576),i=n(3389),a=n(7751),s=n(9565),l=n(9504),c=n(3724),u=n(7416),d=n(6840),f=n(2106),h=n(6279),p=n(687),m=n(3994),g=n(1181),y=n(679),v=n(4901),b=n(9297),x=n(6080),w=n(6955),C=n(8551),A=n(34),E=n(655),S=n(2360),k=n(6980),_=n(81),O=n(851),R=n(2529),P=n(2812),j=n(8227),T=n(4488),M=j("iterator"),N="URLSearchParams",L=N+"Iterator",D=g.set,I=g.getterFor(N),F=g.getterFor(L),B=i("fetch"),z=i("Request"),V=i("Headers"),H=z&&z.prototype,W=V&&V.prototype,U=o.TypeError,Z=o.encodeURIComponent,q=String.fromCharCode,Y=a("String","fromCodePoint"),K=parseInt,Q=l("".charAt),G=l([].join),X=l([].push),J=l("".replace),$=l([].shift),ee=l([].splice),te=l("".split),ne=l("".slice),re=l(/./.exec),oe=/\+/g,ie=/^[0-9a-f]+$/i,ae=function(e,t){var n=ne(e,t,t+2);return re(ie,n)?K(n,16):NaN},se=function(e){for(var t=0,n=128;n>0&&e&n;n>>=1)t++;return t},le=function(e){var t=null;switch(e.length){case 1:t=e[0];break;case 2:t=(31&e[0])<<6|63&e[1];break;case 3:t=(15&e[0])<<12|(63&e[1])<<6|63&e[2];break;case 4:t=(7&e[0])<<18|(63&e[1])<<12|(63&e[2])<<6|63&e[3]}return t>1114111?null:t},ce=function(e){for(var t=(e=J(e,oe," ")).length,n="",r=0;r<t;){var o=Q(e,r);if("%"===o){if("%"===Q(e,r+1)||r+3>t){n+="%",r++;continue}var i=ae(e,r+1);if(i!=i){n+=o,r++;continue}r+=2;var a=se(i);if(0===a)o=q(i);else{if(1===a||a>4){n+="�",r++;continue}for(var s=[i],l=1;l<a&&!(3+ ++r>t||"%"!==Q(e,r));){var c=ae(e,r+1);if(c!=c){r+=3;break}if(c>191||c<128)break;X(s,c),r+=2,l++}if(s.length!==a){n+="�";continue}var u=le(s);null===u?n+="�":o=Y(u)}}n+=o,r++}return n},ue=/[!'()~]|%20/g,de={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},fe=function(e){return de[e]},he=function(e){return J(Z(e),ue,fe)},pe=m((function(e,t){D(this,{type:L,target:I(e).entries,index:0,kind:t})}),N,(function(){var e=F(this),t=e.target,n=e.index++;if(!t||n>=t.length)return e.target=null,R(void 0,!0);var r=t[n];switch(e.kind){case"keys":return R(r.key,!1);case"values":return R(r.value,!1)}return R([r.key,r.value],!1)}),!0),me=function(e){this.entries=[],this.url=null,void 0!==e&&(A(e)?this.parseObject(e):this.parseQuery("string"==typeof e?"?"===Q(e,0)?ne(e,1):e:E(e)))};me.prototype={type:N,bindURL:function(e){this.url=e,this.update()},parseObject:function(e){var t,n,r,o,i,a,l,c=this.entries,u=O(e);if(u)for(n=(t=_(e,u)).next;!(r=s(n,t)).done;){if(i=(o=_(C(r.value))).next,(a=s(i,o)).done||(l=s(i,o)).done||!s(i,o).done)throw new U("Expected sequence with length 2");X(c,{key:E(a.value),value:E(l.value)})}else for(var d in e)b(e,d)&&X(c,{key:d,value:E(e[d])})},parseQuery:function(e){if(e)for(var t,n,r=this.entries,o=te(e,"&"),i=0;i<o.length;)(t=o[i++]).length&&(n=te(t,"="),X(r,{key:ce($(n)),value:ce(G(n,"="))}))},serialize:function(){for(var e,t=this.entries,n=[],r=0;r<t.length;)e=t[r++],X(n,he(e.key)+"="+he(e.value));return G(n,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var ge=function(){y(this,ye);var e=D(this,new me(arguments.length>0?arguments[0]:void 0));c||(this.size=e.entries.length)},ye=ge.prototype;if(h(ye,{append:function(e,t){var n=I(this);P(arguments.length,2),X(n.entries,{key:E(e),value:E(t)}),c||this.length++,n.updateURL()},delete:function(e){for(var t=I(this),n=P(arguments.length,1),r=t.entries,o=E(e),i=n<2?void 0:arguments[1],a=void 0===i?i:E(i),s=0;s<r.length;){var l=r[s];if(l.key!==o||void 0!==a&&l.value!==a)s++;else if(ee(r,s,1),void 0!==a)break}c||(this.size=r.length),t.updateURL()},get:function(e){var t=I(this).entries;P(arguments.length,1);for(var n=E(e),r=0;r<t.length;r++)if(t[r].key===n)return t[r].value;return null},getAll:function(e){var t=I(this).entries;P(arguments.length,1);for(var n=E(e),r=[],o=0;o<t.length;o++)t[o].key===n&&X(r,t[o].value);return r},has:function(e){for(var t=I(this).entries,n=P(arguments.length,1),r=E(e),o=n<2?void 0:arguments[1],i=void 0===o?o:E(o),a=0;a<t.length;){var s=t[a++];if(s.key===r&&(void 0===i||s.value===i))return!0}return!1},set:function(e,t){var n=I(this);P(arguments.length,1);for(var r,o=n.entries,i=!1,a=E(e),s=E(t),l=0;l<o.length;l++)(r=o[l]).key===a&&(i?ee(o,l--,1):(i=!0,r.value=s));i||X(o,{key:a,value:s}),c||(this.size=o.length),n.updateURL()},sort:function(){var e=I(this);T(e.entries,(function(e,t){return e.key>t.key?1:-1})),e.updateURL()},forEach:function(e){for(var t,n=I(this).entries,r=x(e,arguments.length>1?arguments[1]:void 0),o=0;o<n.length;)r((t=n[o++]).value,t.key,this)},keys:function(){return new pe(this,"keys")},values:function(){return new pe(this,"values")},entries:function(){return new pe(this,"entries")}},{enumerable:!0}),d(ye,M,ye.entries,{name:"entries"}),d(ye,"toString",(function(){return I(this).serialize()}),{enumerable:!0}),c&&f(ye,"size",{get:function(){return I(this).entries.length},configurable:!0,enumerable:!0}),p(ge,N),r({global:!0,constructor:!0,forced:!u},{URLSearchParams:ge}),!u&&v(V)){var ve=l(W.has),be=l(W.set),xe=function(e){if(A(e)){var t,n=e.body;if(w(n)===N)return t=e.headers?new V(e.headers):new V,ve(t,"content-type")||be(t,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),S(e,{body:k(0,E(n)),headers:k(0,t)})}return e};if(v(B)&&r({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(e){return B(e,arguments.length>1?xe(arguments[1]):{})}}),v(z)){var we=function(e){return y(this,H),new z(e,arguments.length>1?xe(arguments[1]):{})};H.constructor=we,we.prototype=H,r({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:we})}}e.exports={URLSearchParams:ge,getState:I}},8408:(e,t,n)=>{"use strict";n(8406)},5806:(e,t,n)=>{"use strict";n(7764);var r,o=n(6518),i=n(3724),a=n(7416),s=n(4576),l=n(6080),c=n(9504),u=n(6840),d=n(2106),f=n(679),h=n(9297),p=n(4213),m=n(7916),g=n(7680),y=n(8183).codeAt,v=n(6098),b=n(655),x=n(687),w=n(2812),C=n(8406),A=n(1181),E=A.set,S=A.getterFor("URL"),k=C.URLSearchParams,_=C.getState,O=s.URL,R=s.TypeError,P=s.parseInt,j=Math.floor,T=Math.pow,M=c("".charAt),N=c(/./.exec),L=c([].join),D=c(1..toString),I=c([].pop),F=c([].push),B=c("".replace),z=c([].shift),V=c("".split),H=c("".slice),W=c("".toLowerCase),U=c([].unshift),Z="Invalid scheme",q="Invalid host",Y="Invalid port",K=/[a-z]/i,Q=/[\d+-.a-z]/i,G=/\d/,X=/^0x/i,J=/^[0-7]+$/,$=/^\d+$/,ee=/^[\da-f]+$/i,te=/[\0\t\n\r #%/:<>?@[\\\]^|]/,ne=/[\0\t\n\r #/:<>?@[\\\]^|]/,re=/^[\u0000-\u0020]+/,oe=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,ie=/[\t\n\r]/g,ae=function(e){var t,n,r,o;if("number"==typeof e){for(t=[],n=0;n<4;n++)U(t,e%256),e=j(e/256);return L(t,".")}if("object"==typeof e){for(t="",r=function(e){for(var t=null,n=1,r=null,o=0,i=0;i<8;i++)0!==e[i]?(o>n&&(t=r,n=o),r=null,o=0):(null===r&&(r=i),++o);return o>n?r:t}(e),n=0;n<8;n++)o&&0===e[n]||(o&&(o=!1),r===n?(t+=n?":":"::",o=!0):(t+=D(e[n],16),n<7&&(t+=":")));return"["+t+"]"}return e},se={},le=p({},se,{" ":1,'"':1,"<":1,">":1,"`":1}),ce=p({},le,{"#":1,"?":1,"{":1,"}":1}),ue=p({},ce,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(e,t){var n=y(e,0);return n>32&&n<127&&!h(t,e)?e:encodeURIComponent(e)},fe={ftp:21,file:null,http:80,https:443,ws:80,wss:443},he=function(e,t){var n;return 2===e.length&&N(K,M(e,0))&&(":"===(n=M(e,1))||!t&&"|"===n)},pe=function(e){var t;return e.length>1&&he(H(e,0,2))&&(2===e.length||"/"===(t=M(e,2))||"\\"===t||"?"===t||"#"===t)},me=function(e){return"."===e||"%2e"===W(e)},ge={},ye={},ve={},be={},xe={},we={},Ce={},Ae={},Ee={},Se={},ke={},_e={},Oe={},Re={},Pe={},je={},Te={},Me={},Ne={},Le={},De={},Ie=function(e,t,n){var r,o,i,a=b(e);if(t){if(o=this.parse(a))throw new R(o);this.searchParams=null}else{if(void 0!==n&&(r=new Ie(n,!0)),o=this.parse(a,null,r))throw new R(o);(i=_(new k)).bindURL(this),this.searchParams=i}};Ie.prototype={type:"URL",parse:function(e,t,n){var o,i,a,s,l,c=this,u=t||ge,d=0,f="",p=!1,y=!1,v=!1;for(e=b(e),t||(c.scheme="",c.username="",c.password="",c.host=null,c.port=null,c.path=[],c.query=null,c.fragment=null,c.cannotBeABaseURL=!1,e=B(e,re,""),e=B(e,oe,"$1")),e=B(e,ie,""),o=m(e);d<=o.length;){switch(i=o[d],u){case ge:if(!i||!N(K,i)){if(t)return Z;u=ve;continue}f+=W(i),u=ye;break;case ye:if(i&&(N(Q,i)||"+"===i||"-"===i||"."===i))f+=W(i);else{if(":"!==i){if(t)return Z;f="",u=ve,d=0;continue}if(t&&(c.isSpecial()!==h(fe,f)||"file"===f&&(c.includesCredentials()||null!==c.port)||"file"===c.scheme&&!c.host))return;if(c.scheme=f,t)return void(c.isSpecial()&&fe[c.scheme]===c.port&&(c.port=null));f="","file"===c.scheme?u=Re:c.isSpecial()&&n&&n.scheme===c.scheme?u=be:c.isSpecial()?u=Ae:"/"===o[d+1]?(u=xe,d++):(c.cannotBeABaseURL=!0,F(c.path,""),u=Ne)}break;case ve:if(!n||n.cannotBeABaseURL&&"#"!==i)return Z;if(n.cannotBeABaseURL&&"#"===i){c.scheme=n.scheme,c.path=g(n.path),c.query=n.query,c.fragment="",c.cannotBeABaseURL=!0,u=De;break}u="file"===n.scheme?Re:we;continue;case be:if("/"!==i||"/"!==o[d+1]){u=we;continue}u=Ee,d++;break;case xe:if("/"===i){u=Se;break}u=Me;continue;case we:if(c.scheme=n.scheme,i===r)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query;else if("/"===i||"\\"===i&&c.isSpecial())u=Ce;else if("?"===i)c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query="",u=Le;else{if("#"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.path.length--,u=Me;continue}c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,c.path=g(n.path),c.query=n.query,c.fragment="",u=De}break;case Ce:if(!c.isSpecial()||"/"!==i&&"\\"!==i){if("/"!==i){c.username=n.username,c.password=n.password,c.host=n.host,c.port=n.port,u=Me;continue}u=Se}else u=Ee;break;case Ae:if(u=Ee,"/"!==i||"/"!==M(f,d+1))continue;d++;break;case Ee:if("/"!==i&&"\\"!==i){u=Se;continue}break;case Se:if("@"===i){p&&(f="%40"+f),p=!0,a=m(f);for(var x=0;x<a.length;x++){var w=a[x];if(":"!==w||v){var C=de(w,ue);v?c.password+=C:c.username+=C}else v=!0}f=""}else if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(p&&""===f)return"Invalid authority";d-=m(f).length+1,f="",u=ke}else f+=i;break;case ke:case _e:if(t&&"file"===c.scheme){u=je;continue}if(":"!==i||y){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()){if(c.isSpecial()&&""===f)return q;if(t&&""===f&&(c.includesCredentials()||null!==c.port))return;if(s=c.parseHost(f))return s;if(f="",u=Te,t)return;continue}"["===i?y=!0:"]"===i&&(y=!1),f+=i}else{if(""===f)return q;if(s=c.parseHost(f))return s;if(f="",u=Oe,t===_e)return}break;case Oe:if(!N(G,i)){if(i===r||"/"===i||"?"===i||"#"===i||"\\"===i&&c.isSpecial()||t){if(""!==f){var A=P(f,10);if(A>65535)return Y;c.port=c.isSpecial()&&A===fe[c.scheme]?null:A,f=""}if(t)return;u=Te;continue}return Y}f+=i;break;case Re:if(c.scheme="file","/"===i||"\\"===i)u=Pe;else{if(!n||"file"!==n.scheme){u=Me;continue}switch(i){case r:c.host=n.host,c.path=g(n.path),c.query=n.query;break;case"?":c.host=n.host,c.path=g(n.path),c.query="",u=Le;break;case"#":c.host=n.host,c.path=g(n.path),c.query=n.query,c.fragment="",u=De;break;default:pe(L(g(o,d),""))||(c.host=n.host,c.path=g(n.path),c.shortenPath()),u=Me;continue}}break;case Pe:if("/"===i||"\\"===i){u=je;break}n&&"file"===n.scheme&&!pe(L(g(o,d),""))&&(he(n.path[0],!0)?F(c.path,n.path[0]):c.host=n.host),u=Me;continue;case je:if(i===r||"/"===i||"\\"===i||"?"===i||"#"===i){if(!t&&he(f))u=Me;else if(""===f){if(c.host="",t)return;u=Te}else{if(s=c.parseHost(f))return s;if("localhost"===c.host&&(c.host=""),t)return;f="",u=Te}continue}f+=i;break;case Te:if(c.isSpecial()){if(u=Me,"/"!==i&&"\\"!==i)continue}else if(t||"?"!==i)if(t||"#"!==i){if(i!==r&&(u=Me,"/"!==i))continue}else c.fragment="",u=De;else c.query="",u=Le;break;case Me:if(i===r||"/"===i||"\\"===i&&c.isSpecial()||!t&&("?"===i||"#"===i)){if(".."===(l=W(l=f))||"%2e."===l||".%2e"===l||"%2e%2e"===l?(c.shortenPath(),"/"===i||"\\"===i&&c.isSpecial()||F(c.path,"")):me(f)?"/"===i||"\\"===i&&c.isSpecial()||F(c.path,""):("file"===c.scheme&&!c.path.length&&he(f)&&(c.host&&(c.host=""),f=M(f,0)+":"),F(c.path,f)),f="","file"===c.scheme&&(i===r||"?"===i||"#"===i))for(;c.path.length>1&&""===c.path[0];)z(c.path);"?"===i?(c.query="",u=Le):"#"===i&&(c.fragment="",u=De)}else f+=de(i,ce);break;case Ne:"?"===i?(c.query="",u=Le):"#"===i?(c.fragment="",u=De):i!==r&&(c.path[0]+=de(i,se));break;case Le:t||"#"!==i?i!==r&&("'"===i&&c.isSpecial()?c.query+="%27":c.query+="#"===i?"%23":de(i,se)):(c.fragment="",u=De);break;case De:i!==r&&(c.fragment+=de(i,le))}d++}},parseHost:function(e){var t,n,r;if("["===M(e,0)){if("]"!==M(e,e.length-1))return q;if(t=function(e){var t,n,r,o,i,a,s,l=[0,0,0,0,0,0,0,0],c=0,u=null,d=0,f=function(){return M(e,d)};if(":"===f()){if(":"!==M(e,1))return;d+=2,u=++c}for(;f();){if(8===c)return;if(":"!==f()){for(t=n=0;n<4&&N(ee,f());)t=16*t+P(f(),16),d++,n++;if("."===f()){if(0===n)return;if(d-=n,c>6)return;for(r=0;f();){if(o=null,r>0){if(!("."===f()&&r<4))return;d++}if(!N(G,f()))return;for(;N(G,f());){if(i=P(f(),10),null===o)o=i;else{if(0===o)return;o=10*o+i}if(o>255)return;d++}l[c]=256*l[c]+o,2!=++r&&4!==r||c++}if(4!==r)return;break}if(":"===f()){if(d++,!f())return}else if(f())return;l[c++]=t}else{if(null!==u)return;d++,u=++c}}if(null!==u)for(a=c-u,c=7;0!==c&&a>0;)s=l[c],l[c--]=l[u+a-1],l[u+--a]=s;else if(8!==c)return;return l}(H(e,1,-1)),!t)return q;this.host=t}else if(this.isSpecial()){if(e=v(e),N(te,e))return q;if(t=function(e){var t,n,r,o,i,a,s,l=V(e,".");if(l.length&&""===l[l.length-1]&&l.length--,(t=l.length)>4)return e;for(n=[],r=0;r<t;r++){if(""===(o=l[r]))return e;if(i=10,o.length>1&&"0"===M(o,0)&&(i=N(X,o)?16:8,o=H(o,8===i?1:2)),""===o)a=0;else{if(!N(10===i?$:8===i?J:ee,o))return e;a=P(o,i)}F(n,a)}for(r=0;r<t;r++)if(a=n[r],r===t-1){if(a>=T(256,5-t))return null}else if(a>255)return null;for(s=I(n),r=0;r<n.length;r++)s+=n[r]*T(256,3-r);return s}(e),null===t)return q;this.host=t}else{if(N(ne,e))return q;for(t="",n=m(e),r=0;r<n.length;r++)t+=de(n[r],se);this.host=t}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||"file"===this.scheme},includesCredentials:function(){return""!==this.username||""!==this.password},isSpecial:function(){return h(fe,this.scheme)},shortenPath:function(){var e=this.path,t=e.length;!t||"file"===this.scheme&&1===t&&he(e[0],!0)||e.length--},serialize:function(){var e=this,t=e.scheme,n=e.username,r=e.password,o=e.host,i=e.port,a=e.path,s=e.query,l=e.fragment,c=t+":";return null!==o?(c+="//",e.includesCredentials()&&(c+=n+(r?":"+r:"")+"@"),c+=ae(o),null!==i&&(c+=":"+i)):"file"===t&&(c+="//"),c+=e.cannotBeABaseURL?a[0]:a.length?"/"+L(a,"/"):"",null!==s&&(c+="?"+s),null!==l&&(c+="#"+l),c},setHref:function(e){var t=this.parse(e);if(t)throw new R(t);this.searchParams.update()},getOrigin:function(){var e=this.scheme,t=this.port;if("blob"===e)try{return new Fe(e.path[0]).origin}catch(e){return"null"}return"file"!==e&&this.isSpecial()?e+"://"+ae(this.host)+(null!==t?":"+t:""):"null"},getProtocol:function(){return this.scheme+":"},setProtocol:function(e){this.parse(b(e)+":",ge)},getUsername:function(){return this.username},setUsername:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var n=0;n<t.length;n++)this.username+=de(t[n],ue)}},getPassword:function(){return this.password},setPassword:function(e){var t=m(b(e));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var n=0;n<t.length;n++)this.password+=de(t[n],ue)}},getHost:function(){var e=this.host,t=this.port;return null===e?"":null===t?ae(e):ae(e)+":"+t},setHost:function(e){this.cannotBeABaseURL||this.parse(e,ke)},getHostname:function(){var e=this.host;return null===e?"":ae(e)},setHostname:function(e){this.cannotBeABaseURL||this.parse(e,_e)},getPort:function(){var e=this.port;return null===e?"":b(e)},setPort:function(e){this.cannotHaveUsernamePasswordPort()||(""===(e=b(e))?this.port=null:this.parse(e,Oe))},getPathname:function(){var e=this.path;return this.cannotBeABaseURL?e[0]:e.length?"/"+L(e,"/"):""},setPathname:function(e){this.cannotBeABaseURL||(this.path=[],this.parse(e,Te))},getSearch:function(){var e=this.query;return e?"?"+e:""},setSearch:function(e){""===(e=b(e))?this.query=null:("?"===M(e,0)&&(e=H(e,1)),this.query="",this.parse(e,Le)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var e=this.fragment;return e?"#"+e:""},setHash:function(e){""!==(e=b(e))?("#"===M(e,0)&&(e=H(e,1)),this.fragment="",this.parse(e,De)):this.fragment=null},update:function(){this.query=this.searchParams.serialize()||null}};var Fe=function(e){var t=f(this,Be),n=w(arguments.length,1)>1?arguments[1]:void 0,r=E(t,new Ie(e,!1,n));i||(t.href=r.serialize(),t.origin=r.getOrigin(),t.protocol=r.getProtocol(),t.username=r.getUsername(),t.password=r.getPassword(),t.host=r.getHost(),t.hostname=r.getHostname(),t.port=r.getPort(),t.pathname=r.getPathname(),t.search=r.getSearch(),t.searchParams=r.getSearchParams(),t.hash=r.getHash())},Be=Fe.prototype,ze=function(e,t){return{get:function(){return S(this)[e]()},set:t&&function(e){return S(this)[t](e)},configurable:!0,enumerable:!0}};if(i&&(d(Be,"href",ze("serialize","setHref")),d(Be,"origin",ze("getOrigin")),d(Be,"protocol",ze("getProtocol","setProtocol")),d(Be,"username",ze("getUsername","setUsername")),d(Be,"password",ze("getPassword","setPassword")),d(Be,"host",ze("getHost","setHost")),d(Be,"hostname",ze("getHostname","setHostname")),d(Be,"port",ze("getPort","setPort")),d(Be,"pathname",ze("getPathname","setPathname")),d(Be,"search",ze("getSearch","setSearch")),d(Be,"searchParams",ze("getSearchParams")),d(Be,"hash",ze("getHash","setHash"))),u(Be,"toJSON",(function(){return S(this).serialize()}),{enumerable:!0}),u(Be,"toString",(function(){return S(this).serialize()}),{enumerable:!0}),O){var Ve=O.createObjectURL,He=O.revokeObjectURL;Ve&&u(Fe,"createObjectURL",l(Ve,O)),He&&u(Fe,"revokeObjectURL",l(He,O))}x(Fe,"URL"),o({global:!0,constructor:!0,forced:!a,sham:!i},{URL:Fe})},3296:(e,t,n)=>{"use strict";n(5806)},7208:(e,t,n)=>{"use strict";var r=n(6518),o=n(9565);r({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return o(URL.prototype.toString,this)}})}},r={};function o(e){var t=r[e];if(void 0!==t)return t.exports;var i=r[e]={exports:{}};return n[e].call(i.exports,i,i.exports,o),i.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 i=Object.create(null);o.r(i);var a={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;"object"==typeof s&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach((e=>a[e]=()=>n[e]));return a.default=()=>n,o.d(i,a),i},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.r(e),o.d(e,{AstraThemeLogo:()=>V9,AwsIcon:()=>w9,BrevoIcon:()=>R9,ElasticEmailIcon:()=>P9,EmailSetup:()=>U9,GmailIcon:()=>_9,MailGunIcon:()=>A9,MailjetIcon:()=>T9,NetcoreIcon:()=>j9,NoConnections:()=>z9,NoEmailLogs:()=>F9,NoNotifications:()=>B9,OutlookIcon:()=>E9,PhpMailIcon:()=>Z9,PostMarkIcon:()=>S9,PrestoPlayerLogo:()=>W9,SMTP2GoIcon:()=>M9,SendGridIcon:()=>k9,SmtpIcon:()=>C9,SparkPostIcon:()=>O9,SpectraLogo:()=>L9,StartersTemplatesLogo:()=>H9,SureCartLogo:()=>N9,SureFormsLogo:()=>I9,SureMailIcon:()=>x9,SureMailLogo:()=>b9,SureRankLogo:()=>v9,SureTriggersLogo:()=>D9});var t=o(5338),n=o(1609),r=o.t(n,2),i=o.n(n),a=(o(6069),"popstate");function s(e={}){return function(e,t,n,r={}){let{window:o=document.defaultView,v5Compat:i=!1}=r,s=o.history,c="POP",h=null,p=m();function m(){return(s.state||{idx:null}).idx}function g(){c="POP";let e=m(),t=null==e?null:e-p;p=e,h&&h({action:c,location:v.location,delta:t})}function y(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:f(e);return n=n.replace(/ $/,"%20"),l(t,`No window.location.(origin|href) available to create URL for href: ${n}`),new URL(n,t)}null==p&&(p=0,s.replaceState({...s.state,idx:p},""));let v={get action(){return c},get location(){return e(o,s)},listen(e){if(h)throw new Error("A history only accepts one active listener");return o.addEventListener(a,g),h=e,()=>{o.removeEventListener(a,g),h=null}},createHref:e=>t(o,e),createURL:y,encodeLocation(e){let t=y(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c="PUSH";let r=d(v.location,e,t);n&&n(r,e),p=m()+1;let a=u(r,p),l=v.createHref(r);try{s.pushState(a,"",l)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(l)}i&&h&&h({action:c,location:v.location,delta:1})},replace:function(e,t){c="REPLACE";let r=d(v.location,e,t);n&&n(r,e),p=m();let o=u(r,p),a=v.createHref(r);s.replaceState(o,"",a),i&&h&&h({action:c,location:v.location,delta:0})},go:e=>s.go(e)};return v}((function(e,t){let{pathname:n="/",search:r="",hash:o=""}=h(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),d("",{pathname:n,search:r,hash:o},t.state&&t.state.usr||null,t.state&&t.state.key||"default")}),(function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:f(t))}),(function(e,t){c("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)}),e)}function l(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?h(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function f({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function h(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function p(e,t,n="/"){return function(e,t,n,r){let o=O(("string"==typeof t?h(t):t).pathname||"/",n);if(null==o)return null;let i=m(e);!function(e){e.sort(((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){return e.length===t.length&&e.slice(0,-1).every(((e,n)=>e===t[n]))?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map((e=>e.childrenIndex)),t.routesMeta.map((e=>e.childrenIndex)))))}(i);let a=null;for(let e=0;null==a&&e<i.length;++e){let t=_(o);a=S(i[e],t,r)}return a}(e,t,n,!1)}function m(e,t=[],n=[],r=""){let o=(e,o,i)=>{let a={relativePath:void 0===i?e.path||"":i,caseSensitive:!0===e.caseSensitive,childrenIndex:o,route:e};a.relativePath.startsWith("/")&&(l(a.relativePath.startsWith(r),`Absolute route path "${a.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),a.relativePath=a.relativePath.slice(r.length));let s=T([r,a.relativePath]),c=n.concat(a);e.children&&e.children.length>0&&(l(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${s}".`),m(e.children,t,c,s)),(null!=e.path||e.index)&&t.push({path:s,score:E(s,e.index),routesMeta:c})};return e.forEach(((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of g(e.path))o(e,t,n);else o(e,t)})),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,o=n.endsWith("?"),i=n.replace(/\?$/,"");if(0===r.length)return o?[i,""]:[i];let a=g(r.join("/")),s=[];return s.push(...a.map((e=>""===e?i:[i,e].join("/")))),o&&s.push(...a),s.map((t=>e.startsWith("/")&&""===t?"/":t))}var y=/^:[\w-]+$/,v=3,b=2,x=1,w=10,C=-2,A=e=>"*"===e;function E(e,t){let n=e.split("/"),r=n.length;return n.some(A)&&(r+=C),t&&(r+=b),n.filter((e=>!A(e))).reduce(((e,t)=>e+(y.test(t)?v:""===t?x:w)),r)}function S(e,t,n=!1){let{routesMeta:r}=e,o={},i="/",a=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===i?t:t.slice(i.length)||"/",u=k({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),d=s.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=k({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!u)return null;Object.assign(o,u.params),a.push({params:o,pathname:T([i,u.pathname]),pathnameBase:M(T([i,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(i=T([i,u.pathnameBase]))}return a}function k(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){c("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],o="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,((e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")));return e.endsWith("*")?(r.push({paramName:"*"}),o+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?o+="\\/*$":""!==e&&"/"!==e&&(o+="(?:(?=\\/|$))"),[new RegExp(o,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),o=t.match(n);if(!o)return null;let i=o[0],a=i.replace(/(.)\/+$/,"$1"),s=o.slice(1);return{params:r.reduce(((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";a=i.slice(0,i.length-e.length).replace(/(.)\/+$/,"$1")}const o=s[r];return e[t]=n&&!o?void 0:(o||"").replace(/%2F/g,"/"),e}),{}),pathname:i,pathnameBase:a,pattern:e}}function _(e){try{return e.split("/").map((e=>decodeURIComponent(e).replace(/\//g,"%2F"))).join("/")}catch(t){return c(!1,`The URL path "${e}" could not be decoded because it is is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}function R(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function P(e){let t=function(e){return e.filter(((e,t)=>0===t||e.route.path&&e.route.path.length>0))}(e);return t.map(((e,n)=>n===t.length-1?e.pathname:e.pathnameBase))}function j(e,t,n,r=!1){let o;"string"==typeof e?o=h(e):(o={...e},l(!o.pathname||!o.pathname.includes("?"),R("?","pathname","search",o)),l(!o.pathname||!o.pathname.includes("#"),R("#","pathname","hash",o)),l(!o.search||!o.search.includes("#"),R("#","search","hash",o)));let i,a=""===e||""===o.pathname,s=a?"/":o.pathname;if(null==s)i=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;o.pathname=t.join("/")}i=e>=0?t[e]:"/"}let c=function(e,t="/"){let{pathname:n,search:r="",hash:o=""}="string"==typeof e?h(e):e,i=n?n.startsWith("/")?n:function(e,t){let n=t.replace(/\/+$/,"").split("/");return e.split("/").forEach((e=>{".."===e?n.length>1&&n.pop():"."!==e&&n.push(e)})),n.length>1?n.join("/"):"/"}(n,t):t;return{pathname:i,search:N(r),hash:L(o)}}(o,i),u=s&&"/"!==s&&s.endsWith("/"),d=(a||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!u&&!d||(c.pathname+="/"),c}var T=e=>e.join("/").replace(/\/\/+/g,"/"),M=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),N=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",L=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";function D(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}var I=["POST","PUT","PATCH","DELETE"],F=(new Set(I),["GET",...I]);new Set(F),Symbol("ResetLoaderData");var B=n.createContext(null);B.displayName="DataRouter";var z=n.createContext(null);z.displayName="DataRouterState";var V=n.createContext({isTransitioning:!1});V.displayName="ViewTransition",n.createContext(new Map).displayName="Fetchers",n.createContext(null).displayName="Await";var H=n.createContext(null);H.displayName="Navigation";var W=n.createContext(null);W.displayName="Location";var U=n.createContext({outlet:null,matches:[],isDataRoute:!1});U.displayName="Route";var Z=n.createContext(null);function q(){return null!=n.useContext(W)}function Y(){return l(q(),"useLocation() may be used only in the context of a <Router> component."),n.useContext(W).location}Z.displayName="RouteError";var K="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function Q(e){n.useContext(H).static||n.useLayoutEffect(e)}function G(){let{isDataRoute:e}=n.useContext(U);return e?function(){let{router:e}=function(e){let t=n.useContext(B);return l(t,re(e)),t}("useNavigate"),t=oe("useNavigate"),r=n.useRef(!1);Q((()=>{r.current=!0}));let o=n.useCallback((async(n,o={})=>{c(r.current,K),r.current&&("number"==typeof n?e.navigate(n):await e.navigate(n,{fromRouteId:t,...o}))}),[e,t]);return o}():function(){l(q(),"useNavigate() may be used only in the context of a <Router> component.");let e=n.useContext(B),{basename:t,navigator:r}=n.useContext(H),{matches:o}=n.useContext(U),{pathname:i}=Y(),a=JSON.stringify(P(o)),s=n.useRef(!1);Q((()=>{s.current=!0}));let u=n.useCallback(((n,o={})=>{if(c(s.current,K),!s.current)return;if("number"==typeof n)return void r.go(n);let l=j(n,JSON.parse(a),i,"path"===o.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:T([t,l.pathname])),(o.replace?r.replace:r.push)(l,o.state,o)}),[t,r,a,i,e]);return u}()}function X(e,{relative:t}={}){let{matches:r}=n.useContext(U),{pathname:o}=Y(),i=JSON.stringify(P(r));return n.useMemo((()=>j(e,JSON.parse(i),o,"path"===t)),[e,i,o,t])}function J(e,t,r,o){l(q(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:i}=n.useContext(H),{matches:a}=n.useContext(U),s=a[a.length-1],u=s?s.params:{},d=s?s.pathname:"/",f=s?s.pathnameBase:"/",m=s&&s.route;{let e=m&&m.path||"";ae(d,!m||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${d}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let g,y=Y();if(t){let e="string"==typeof t?h(t):t;l("/"===f||e.pathname?.startsWith(f),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${f}" but pathname "${e.pathname}" was given in the \`location\` prop.`),g=e}else g=y;let v=g.pathname||"/",b=v;if("/"!==f){let e=f.replace(/^\//,"").split("/");b="/"+v.replace(/^\//,"").split("/").slice(e.length).join("/")}let x=p(e,{pathname:b});c(m||null!=x,`No routes matched location "${g.pathname}${g.search}${g.hash}" `),c(null==x||void 0!==x[x.length-1].route.element||void 0!==x[x.length-1].route.Component||void 0!==x[x.length-1].route.lazy,`Matched leaf route at location "${g.pathname}${g.search}${g.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=function(e,t=[],r=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let o=e,i=r?.errors;if(null!=i){let e=o.findIndex((e=>e.route.id&&void 0!==i?.[e.route.id]));l(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(i).join(",")}`),o=o.slice(0,Math.min(o.length,e+1))}let a=!1,s=-1;if(r)for(let e=0;e<o.length;e++){let t=o[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(s=e),t.route.id){let{loaderData:e,errors:n}=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||i){a=!0,o=s>=0?o.slice(0,s+1):[o[0]];break}}}return o.reduceRight(((e,l,c)=>{let u,d=!1,f=null,h=null;r&&(u=i&&l.route.id?i[l.route.id]:void 0,f=l.route.errorElement||ee,a&&(s<0&&0===c?(ae("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),d=!0,h=null):s===c&&(d=!0,h=l.route.hydrateFallbackElement||null)));let p=t.concat(o.slice(0,c+1)),m=()=>{let t;return t=u?f:d?h:l.route.Component?n.createElement(l.route.Component,null):l.route.element?l.route.element:e,n.createElement(ne,{match:l,routeContext:{outlet:e,matches:p,isDataRoute:null!=r},children:t})};return r&&(l.route.ErrorBoundary||l.route.errorElement||0===c)?n.createElement(te,{location:r.location,revalidation:r.revalidation,component:f,error:u,children:m(),routeContext:{outlet:null,matches:p,isDataRoute:!0}}):m()}),null)}(x&&x.map((e=>Object.assign({},e,{params:Object.assign({},u,e.params),pathname:T([f,i.encodeLocation?i.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?f:T([f,i.encodeLocation?i.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])}))),a,r,o);return t&&w?n.createElement(W.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...g},navigationType:"POP"}},w):w}function $(){let e=function(){let e=n.useContext(Z),t=function(e){let t=n.useContext(z);return l(t,re(e)),t}("useRouteError"),r=oe("useRouteError");return void 0!==e?e:t.errors?.[r]}(),t=D(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,o="rgba(200,200,200, 0.5)",i={padding:"0.5rem",backgroundColor:o},a={padding:"2px 4px",backgroundColor:o},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=n.createElement(n.Fragment,null,n.createElement("p",null,"💿 Hey developer 👋"),n.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",n.createElement("code",{style:a},"ErrorBoundary")," or"," ",n.createElement("code",{style:a},"errorElement")," prop on your route.")),n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:i},r):null,s)}n.createContext(null);var ee=n.createElement($,null),te=class extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){console.error("React Router caught the following error during render",e,t)}render(){return void 0!==this.state.error?n.createElement(U.Provider,{value:this.props.routeContext},n.createElement(Z.Provider,{value:this.state.error,children:this.props.component})):this.props.children}};function ne({routeContext:e,match:t,children:r}){let o=n.useContext(B);return o&&o.static&&o.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=t.route.id),n.createElement(U.Provider,{value:e},r)}function re(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function oe(e){let t=function(e){let t=n.useContext(U);return l(t,re(e)),t}(e),r=t.matches[t.matches.length-1];return l(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var ie={};function ae(e,t,n){t||ie[e]||(ie[e]=!0,c(!1,n))}function se({to:e,replace:t,state:r,relative:o}){l(q(),"<Navigate> may be used only in the context of a <Router> component.");let{static:i}=n.useContext(H);c(!i,"<Navigate> must not be used on the initial render in a <StaticRouter>. This is a no-op, but you should modify your code so the <Navigate> is only ever rendered in response to some user interaction or state change.");let{matches:a}=n.useContext(U),{pathname:s}=Y(),u=G(),d=j(e,P(a),s,"path"===o),f=JSON.stringify(d);return n.useEffect((()=>{u(JSON.parse(f),{replace:t,state:r,relative:o})}),[u,f,o,t,r]),null}function le(e){l(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ce({basename:e="/",children:t=null,location:r,navigationType:o="POP",navigator:i,static:a=!1}){l(!q(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let s=e.replace(/^\/*/,"/"),u=n.useMemo((()=>({basename:s,navigator:i,static:a,future:{}})),[s,i,a]);"string"==typeof r&&(r=h(r));let{pathname:d="/",search:f="",hash:p="",state:m=null,key:g="default"}=r,y=n.useMemo((()=>{let e=O(d,s);return null==e?null:{location:{pathname:e,search:f,hash:p,state:m,key:g},navigationType:o}}),[s,d,f,p,m,g,o]);return c(null!=y,`<Router basename="${s}"> is not able to match the URL "${d}${f}${p}" because it does not start with the basename, so the <Router> won't render anything.`),null==y?null:n.createElement(H.Provider,{value:u},n.createElement(W.Provider,{children:t,value:y}))}function ue({children:e,location:t}){return function(e,t){return J(e,t)}(de(e),t)}function de(e,t=[]){let r=[];return n.Children.forEach(e,((e,o)=>{if(!n.isValidElement(e))return;let i=[...t,o];if(e.type===n.Fragment)return void r.push.apply(r,de(e.props.children,i));l(e.type===le,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),l(!e.props.index||!e.props.children,"An index route cannot have child routes.");let a={id:e.props.id||i.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(a.children=de(e.props.children,i)),r.push(a)})),r}n.memo((function({routes:e,future:t,state:n}){return J(e,void 0,n,t)})),n.Component;var fe="get",he="application/x-www-form-urlencoded";function pe(e){return null!=e&&"string"==typeof e.tagName}var me=null,ge=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function ye(e){return null==e||ge.has(e)?e:(c(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${he}"`),null)}function ve(e,t){if(!1===e||null==e)throw new Error(t)}function be(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function xe(e,t,n,r,o,i){let a=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===i?t.filter(((e,t)=>a(e,t)||s(e,t))):"data"===i?t.filter(((t,i)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(a(t,i)||s(t,i))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(o.pathname+o.search+o.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0})):[]}function we(){let e=n.useContext(B);return ve(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Ce(){let e=n.useContext(z);return ve(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Symbol("SingleFetchRedirect"),n.Component;var Ae=n.createContext(void 0);function Ee(){let e=n.useContext(Ae);return ve(e,"You must render this element inside a <HydratedRouter> element"),e}function Se(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function ke({page:e,...t}){let{router:r}=we(),o=n.useMemo((()=>p(r.routes,e,r.basename)),[r.routes,e,r.basename]);return o?n.createElement(Oe,{page:e,matches:o,...t}):(console.warn(`Tried to prefetch ${e} but no routes matched.`),null)}function _e(e){let{manifest:t,routeModules:r}=Ee(),[o,i]=n.useState([]);return n.useEffect((()=>{let n=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce(((e,o)=>{if(t&&(null==(i=o)||"string"!=typeof i.page)&&"script"===o.as&&o.href&&r.has(o.href))return e;var i;let a=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(o));return n.has(a)||(n.add(a),e.push({key:a,link:o})),e}),[])}((await Promise.all(e.map((async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise((()=>{}))}}(r,n);return e.links?e.links():[]}return[]})))).flat(1).filter(be).filter((e=>"stylesheet"===e.rel||"preload"===e.rel)).map((e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"})))}(e,t,r).then((e=>{n||i(e)})),()=>{n=!0}}),[e,t,r]),o}function Oe({page:e,matches:t,...r}){let o=Y(),{manifest:i,routeModules:a}=Ee(),{loaderData:s,matches:l}=Ce(),c=n.useMemo((()=>xe(e,t,l,i,o,"data")),[e,t,l,i,o]),u=n.useMemo((()=>xe(e,t,l,i,o,"assets")),[e,t,l,i,o]),d=n.useMemo((()=>{if(e===o.pathname+o.search+o.hash)return[];let n=new Set,r=!1;if(t.forEach((e=>{let t=i.routes[e.route.id];t&&t.hasLoader&&(!c.some((t=>t.route.id===e.route.id))&&e.route.id in s&&a[e.route.id]?.shouldRevalidate||t.hasClientLoader?r=!0:n.add(e.route.id))})),0===n.size)return[];let l=function(e){let t="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return"/"===t.pathname?t.pathname="_root.data":t.pathname=`${t.pathname.replace(/\/$/,"")}.data`,t}(e);return r&&n.size>0&&l.searchParams.set("_routes",t.filter((e=>n.has(e.route.id))).map((e=>e.route.id)).join(",")),[l.pathname+l.search]}),[s,o,i,c,t,e,a]),f=n.useMemo((()=>function(e,t){return n=e.map((e=>{let n=t.routes[e.route.id];if(!n)return[];let r=[n.module];return n.imports&&(r=r.concat(n.imports)),r})).flat(1),[...new Set(n)];var n}(u,i)),[u,i]),h=_e(u);return n.createElement(n.Fragment,null,d.map((e=>n.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r}))),f.map((e=>n.createElement("link",{key:e,rel:"modulepreload",href:e,...r}))),h.map((({key:e,link:t})=>n.createElement("link",{key:e,...t}))))}Ae.displayName="FrameworkContext";function Re(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}var Pe="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{Pe&&(window.__reactRouterVersion="7.0.2")}catch(jh){}function je({basename:e,children:t,window:r}){let o=n.useRef();null==o.current&&(o.current=s({window:r,v5Compat:!0}));let i=o.current,[a,l]=n.useState({action:i.action,location:i.location}),c=n.useCallback((e=>{n.startTransition((()=>l(e)))}),[l]);return n.useLayoutEffect((()=>i.listen(c)),[i,c]),n.createElement(ce,{basename:e,children:t,location:a.location,navigationType:a.action,navigator:i})}var Te=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Me=n.forwardRef((function({onClick:e,discover:t="render",prefetch:r="none",relative:o,reloadDocument:i,replace:a,state:s,target:u,to:d,preventScrollReset:h,viewTransition:p,...m},g){let y,{basename:v}=n.useContext(H),b="string"==typeof d&&Te.test(d),x=!1;if("string"==typeof d&&b&&(y=d,Pe))try{let e=new URL(window.location.href),t=d.startsWith("//")?new URL(e.protocol+d):new URL(d),n=O(t.pathname,v);t.origin===e.origin&&null!=n?d=n+t.search+t.hash:x=!0}catch(e){c(!1,`<Link to="${d}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}let w=function(e,{relative:t}={}){l(q(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:o}=n.useContext(H),{hash:i,pathname:a,search:s}=X(e,{relative:t}),c=a;return"/"!==r&&(c="/"===a?r:T([r,a])),o.createHref({pathname:c,search:s,hash:i})}(d,{relative:o}),[C,A,E]=function(e,t){let r=n.useContext(Ae),[o,i]=n.useState(!1),[a,s]=n.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:f}=t,h=n.useRef(null);n.useEffect((()=>{if("render"===e&&s(!0),"viewport"===e){let e=e=>{e.forEach((e=>{s(e.isIntersecting)}))},t=new IntersectionObserver(e,{threshold:.5});return h.current&&t.observe(h.current),()=>{t.disconnect()}}}),[e]),n.useEffect((()=>{if(o){let e=setTimeout((()=>{s(!0)}),100);return()=>{clearTimeout(e)}}}),[o]);let p=()=>{i(!0)},m=()=>{i(!1),s(!1)};return r?"intent"!==e?[a,h,{}]:[a,h,{onFocus:Se(l,p),onBlur:Se(c,m),onMouseEnter:Se(u,p),onMouseLeave:Se(d,m),onTouchStart:Se(f,p)}]:[!1,h,{}]}(r,m),S=function(e,{target:t,replace:r,state:o,preventScrollReset:i,relative:a,viewTransition:s}={}){let l=G(),c=Y(),u=X(e,{relative:a});return n.useCallback((n=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(n,t)){n.preventDefault();let t=void 0!==r?r:f(c)===f(u);l(e,{replace:t,state:o,preventScrollReset:i,relative:a,viewTransition:s})}}),[c,l,u,r,o,t,e,i,a,s])}(d,{replace:a,state:s,target:u,preventScrollReset:h,relative:o,viewTransition:p}),k=n.createElement("a",{...m,...E,href:y||w,onClick:x||i?e:function(t){e&&e(t),t.defaultPrevented||S(t)},ref:Re(g,A),target:u,"data-discover":b||"render"!==t?void 0:"true"});return C&&!b?n.createElement(n.Fragment,null,k,n.createElement(ke,{page:w})):k}));Me.displayName="Link";var Ne=n.forwardRef((function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:o=!1,style:i,to:a,viewTransition:s,children:c,...u},d){let f=X(a,{relative:u.relative}),h=Y(),p=n.useContext(z),{navigator:m,basename:g}=n.useContext(H),y=null!=p&&function(e,t={}){let r=n.useContext(V);l(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:o}=De("useViewTransitionState"),i=X(e,{relative:t.relative});if(!r.isTransitioning)return!1;let a=O(r.currentLocation.pathname,o)||r.currentLocation.pathname,s=O(r.nextLocation.pathname,o)||r.nextLocation.pathname;return null!=k(i.pathname,s)||null!=k(i.pathname,a)}(f)&&!0===s,v=m.encodeLocation?m.encodeLocation(f).pathname:f.pathname,b=h.pathname,x=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(b=b.toLowerCase(),x=x?x.toLowerCase():null,v=v.toLowerCase()),x&&g&&(x=O(x,g)||x);const w="/"!==v&&v.endsWith("/")?v.length-1:v.length;let C,A=b===v||!o&&b.startsWith(v)&&"/"===b.charAt(w),E=null!=x&&(x===v||!o&&x.startsWith(v)&&"/"===x.charAt(v.length)),S={isActive:A,isPending:E,isTransitioning:y},_=A?e:void 0;C="function"==typeof r?r(S):[r,A?"active":null,E?"pending":null,y?"transitioning":null].filter(Boolean).join(" ");let R="function"==typeof i?i(S):i;return n.createElement(Me,{...u,"aria-current":_,className:C,ref:d,style:R,to:a,viewTransition:s},"function"==typeof c?c(S):c)}));Ne.displayName="NavLink";var Le=n.forwardRef((({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:o,replace:i,state:a,method:s=fe,action:c,onSubmit:u,relative:d,preventScrollReset:h,viewTransition:p,...m},g)=>{let y=function(){let{router:e}=De("useSubmit"),{basename:t}=n.useContext(H),r=oe("useRouteId");return n.useCallback((async(n,o={})=>{let{action:i,method:a,encType:s,formData:l,body:c}=function(e,t){let n,r,o,i,a;if(pe(s=e)&&"form"===s.tagName.toLowerCase()){let a=e.getAttribute("action");r=a?O(a,t):null,n=e.getAttribute("method")||fe,o=ye(e.getAttribute("enctype"))||he,i=new FormData(e)}else if(function(e){return pe(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return pe(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let a=e.form;if(null==a)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||a.getAttribute("action");if(r=s?O(s,t):null,n=e.getAttribute("formmethod")||a.getAttribute("method")||fe,o=ye(e.getAttribute("formenctype"))||ye(a.getAttribute("enctype"))||he,i=new FormData(a,e),!function(){if(null===me)try{new FormData(document.createElement("form"),0),me=!1}catch(e){me=!0}return me}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";i.append(`${e}x`,"0"),i.append(`${e}y`,"0")}else t&&i.append(t,r)}}else{if(pe(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=fe,r=null,o=he,a=e}var s;return i&&"text/plain"===o&&(a=i,i=void 0),{action:r,method:n.toLowerCase(),encType:o,formData:i,body:a}}(n,t);if(!1===o.navigate){let t=o.fetcherKey||Fe();await e.fetch(t,r,o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||a,formEncType:o.encType||s,flushSync:o.flushSync})}else await e.navigate(o.action||i,{preventScrollReset:o.preventScrollReset,formData:l,body:c,formMethod:o.method||a,formEncType:o.encType||s,replace:o.replace,state:o.state,fromRouteId:r,flushSync:o.flushSync,viewTransition:o.viewTransition})}),[e,t,r])}(),v=function(e,{relative:t}={}){let{basename:r}=n.useContext(H),o=n.useContext(U);l(o,"useFormAction must be used inside a RouteContext");let[i]=o.matches.slice(-1),a={...X(e||".",{relative:t})},s=Y();if(null==e){a.search=s.search;let e=new URLSearchParams(a.search),t=e.getAll("index");if(t.some((e=>""===e))){e.delete("index"),t.filter((e=>e)).forEach((t=>e.append("index",t)));let n=e.toString();a.search=n?`?${n}`:""}}return e&&"."!==e||!i.route.index||(a.search=a.search?a.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(a.pathname="/"===a.pathname?r:T([r,a.pathname])),f(a)}(c,{relative:d}),b="get"===s.toLowerCase()?"get":"post",x="string"==typeof c&&Te.test(c);return n.createElement("form",{ref:g,method:b,action:v,onSubmit:o?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let n=e.nativeEvent.submitter,o=n?.getAttribute("formmethod")||s;y(n||e.currentTarget,{fetcherKey:t,method:o,navigate:r,replace:i,state:a,relative:d,preventScrollReset:h,viewTransition:p})},...m,"data-discover":x||"render"!==e?void 0:"true"})}));function De(e){let t=n.useContext(B);return l(t,function(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}Le.displayName="Form";var Ie=0,Fe=()=>`__${String(++Ie)}__`;function Be(e){return Be="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},Be(e)}function ze(e,t,n){return(t=function(e){var t=function(e){if("object"!=Be(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Be(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Be(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}new TextEncoder,o(9463),o(3921),o(2953);const Ve=window.wp.element,He=window.wp.i18n;var We=o(4848),Ue=o(5795),Ze=typeof globalThis<"u"?globalThis:typeof window<"u"?window:typeof global<"u"?global:typeof self<"u"?self:{};function qe(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}var Ye=Object.defineProperty,Ke=e=>{throw TypeError(e)},Qe=(e,t,n)=>((e,t,n)=>t in e?Ye(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n)(e,"symbol"!=typeof t?t+"":t,n),Ge=(e,t,n)=>t.has(e)||Ke("Cannot "+n),Xe=(e,t,n)=>(Ge(e,t,"read from private field"),n?n.call(e):t.get(e)),Je=(e,t,n)=>t.has(e)?Ke("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),$e=(e,t,n,r)=>(Ge(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n);const et=e=>{const t=ot(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),tt(n,t)||rt(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},tt=(e,t)=>{var n;if(0===e.length)return t.classGroupId;const r=e[0],o=t.nextPart.get(r),i=o?tt(e.slice(1),o):void 0;if(i)return i;if(0===t.validators.length)return;const a=e.join("-");return null==(n=t.validators.find((({validator:e})=>e(a))))?void 0:n.classGroupId},nt=/^\[(.+)\]$/,rt=e=>{if(nt.test(e)){const t=nt.exec(e)[1],n=null==t?void 0:t.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},ot=e=>{const{theme:t,prefix:n}=e,r={nextPart:new Map,validators:[]};return lt(Object.entries(e.classGroups),n).forEach((([e,n])=>{it(n,r,e,t)})),r},it=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return st(e)?void it(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{it(o,at(t,e),n,r)}))}else(""===e?t:at(t,e)).classGroupId=n}))},at=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},st=e=>e.isThemeGetter,lt=(e,t)=>t?e.map((([e,n])=>[e,n.map((e=>"string"==typeof e?t+e:"object"==typeof e?Object.fromEntries(Object.entries(e).map((([e,n])=>[t+e,n]))):e))])):e,ct=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},ut=e=>{const{separator:t,experimentalParseClassName:n}=e,r=1===t.length,o=t[0],i=t.length,a=e=>{const n=[];let a,s=0,l=0;for(let c=0;c<e.length;c++){let u=e[c];if(0===s){if(u===o&&(r||e.slice(c,c+i)===t)){n.push(e.slice(l,c)),l=c+i;continue}if("/"===u){a=c;continue}}"["===u?s++:"]"===u&&s--}const c=0===n.length?e:e.substring(l),u=c.startsWith("!");return{modifiers:n,hasImportantModifier:u,baseClassName:u?c.substring(1):c,maybePostfixModifierPosition:a&&a>l?a-l:void 0}};return n?e=>n({className:e,parseClassName:a}):a},dt=e=>{if(e.length<=1)return e;const t=[];let n=[];return e.forEach((e=>{"["===e[0]?(t.push(...n.sort(),e),n=[]):n.push(e)})),t.push(...n.sort()),t},ft=/\s+/;function ht(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=pt(e))&&(r&&(r+=" "),r+=t);return r}const pt=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=pt(e[r]))&&(n&&(n+=" "),n+=t);return n};function mt(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:ct(e.cacheSize),parseClassName:ut(e),...et(e)}))(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o}=t,i=[],a=e.trim().split(ft);let s="";for(let e=a.length-1;e>=0;e-=1){const t=a[e],{modifiers:l,hasImportantModifier:c,baseClassName:u,maybePostfixModifierPosition:d}=n(t);let f=!!d,h=r(f?u.substring(0,d):u);if(!h){if(!f){s=t+(s.length>0?" "+s:s);continue}if(h=r(u),!h){s=t+(s.length>0?" "+s:s);continue}f=!1}const p=dt(l).join(":"),m=c?p+"!":p,g=m+h;if(i.includes(g))continue;i.push(g);const y=o(h,f);for(let e=0;e<y.length;++e){const t=y[e];i.push(m+t)}s=t+(s.length>0?" "+s:s)}return s})(e,n);return o(e,i),i}return function(){return i(ht.apply(null,arguments))}}const gt=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},yt=/^\[(?:([a-z-]+):)?(.+)\]$/i,vt=/^\d+\/\d+$/,bt=new Set(["px","full","screen"]),xt=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,wt=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,Ct=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,At=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,Et=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,St=e=>_t(e)||bt.has(e)||vt.test(e),kt=e=>zt(e,"length",Vt),_t=e=>!!e&&!Number.isNaN(Number(e)),Ot=e=>zt(e,"number",_t),Rt=e=>!!e&&Number.isInteger(Number(e)),Pt=e=>e.endsWith("%")&&_t(e.slice(0,-1)),jt=e=>yt.test(e),Tt=e=>xt.test(e),Mt=new Set(["length","size","percentage"]),Nt=e=>zt(e,Mt,Ht),Lt=e=>zt(e,"position",Ht),Dt=new Set(["image","url"]),It=e=>zt(e,Dt,Ut),Ft=e=>zt(e,"",Wt),Bt=()=>!0,zt=(e,t,n)=>{const r=yt.exec(e);return!!r&&(r[1]?"string"==typeof t?r[1]===t:t.has(r[1]):n(r[2]))},Vt=e=>wt.test(e)&&!Ct.test(e),Ht=()=>!1,Wt=e=>At.test(e),Ut=e=>Et.test(e),Zt=()=>{const e=gt("colors"),t=gt("spacing"),n=gt("blur"),r=gt("brightness"),o=gt("borderColor"),i=gt("borderRadius"),a=gt("borderSpacing"),s=gt("borderWidth"),l=gt("contrast"),c=gt("grayscale"),u=gt("hueRotate"),d=gt("invert"),f=gt("gap"),h=gt("gradientColorStops"),p=gt("gradientColorStopPositions"),m=gt("inset"),g=gt("margin"),y=gt("opacity"),v=gt("padding"),b=gt("saturate"),x=gt("scale"),w=gt("sepia"),C=gt("skew"),A=gt("space"),E=gt("translate"),S=()=>["auto",jt,t],k=()=>[jt,t],_=()=>["",St,kt],O=()=>["auto",_t,jt],R=()=>["","0",jt],P=()=>[_t,jt];return{cacheSize:500,separator:":",theme:{colors:[Bt],spacing:[St,kt],blur:["none","",Tt,jt],brightness:P(),borderColor:[e],borderRadius:["none","","full",Tt,jt],borderSpacing:k(),borderWidth:_(),contrast:P(),grayscale:R(),hueRotate:P(),invert:R(),gap:k(),gradientColorStops:[e],gradientColorStopPositions:[Pt,kt],inset:S(),margin:S(),opacity:P(),padding:k(),saturate:P(),scale:P(),sepia:R(),skew:P(),space:k(),translate:k()},classGroups:{aspect:[{aspect:["auto","square","video",jt]}],container:["container"],columns:[{columns:[Tt]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",jt]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:[m]}],"inset-x":[{"inset-x":[m]}],"inset-y":[{"inset-y":[m]}],start:[{start:[m]}],end:[{end:[m]}],top:[{top:[m]}],right:[{right:[m]}],bottom:[{bottom:[m]}],left:[{left:[m]}],visibility:["visible","invisible","collapse"],z:[{z:["auto",Rt,jt]}],basis:[{basis:S()}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["wrap","wrap-reverse","nowrap"]}],flex:[{flex:["1","auto","initial","none",jt]}],grow:[{grow:R()}],shrink:[{shrink:R()}],order:[{order:["first","last","none",Rt,jt]}],"grid-cols":[{"grid-cols":[Bt]}],"col-start-end":[{col:["auto",{span:["full",Rt,jt]},jt]}],"col-start":[{"col-start":O()}],"col-end":[{"col-end":O()}],"grid-rows":[{"grid-rows":[Bt]}],"row-start-end":[{row:["auto",{span:[Rt,jt]},jt]}],"row-start":[{"row-start":O()}],"row-end":[{"row-end":O()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":["auto","min","max","fr",jt]}],"auto-rows":[{"auto-rows":["auto","min","max","fr",jt]}],gap:[{gap:[f]}],"gap-x":[{"gap-x":[f]}],"gap-y":[{"gap-y":[f]}],"justify-content":[{justify:["normal","start","end","center","between","around","evenly","stretch"]}],"justify-items":[{"justify-items":["start","end","center","stretch"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","baseline","stretch"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","baseline","stretch"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:[v]}],px:[{px:[v]}],py:[{py:[v]}],ps:[{ps:[v]}],pe:[{pe:[v]}],pt:[{pt:[v]}],pr:[{pr:[v]}],pb:[{pb:[v]}],pl:[{pl:[v]}],m:[{m:[g]}],mx:[{mx:[g]}],my:[{my:[g]}],ms:[{ms:[g]}],me:[{me:[g]}],mt:[{mt:[g]}],mr:[{mr:[g]}],mb:[{mb:[g]}],ml:[{ml:[g]}],"space-x":[{"space-x":[A]}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":[A]}],"space-y-reverse":["space-y-reverse"],w:[{w:["auto","min","max","fit","svw","lvw","dvw",jt,t]}],"min-w":[{"min-w":[jt,t,"min","max","fit"]}],"max-w":[{"max-w":[jt,t,"none","full","min","max","fit","prose",{screen:[Tt]},Tt]}],h:[{h:[jt,t,"auto","min","max","fit","svh","lvh","dvh"]}],"min-h":[{"min-h":[jt,t,"min","max","fit","svh","lvh","dvh"]}],"max-h":[{"max-h":[jt,t,"min","max","fit","svh","lvh","dvh"]}],size:[{size:[jt,t,"auto","min","max","fit"]}],"font-size":[{text:["base",Tt,kt]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:["thin","extralight","light","normal","medium","semibold","bold","extrabold","black",Ot]}],"font-family":[{font:[Bt]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractons"],tracking:[{tracking:["tighter","tight","normal","wide","wider","widest",jt]}],"line-clamp":[{"line-clamp":["none",_t,Ot]}],leading:[{leading:["none","tight","snug","normal","relaxed","loose",St,jt]}],"list-image":[{"list-image":["none",jt]}],"list-style-type":[{list:["none","disc","decimal",jt]}],"list-style-position":[{list:["inside","outside"]}],"placeholder-color":[{placeholder:[e]}],"placeholder-opacity":[{"placeholder-opacity":[y]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"text-color":[{text:[e]}],"text-opacity":[{"text-opacity":[y]}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","none","wavy"]}],"text-decoration-thickness":[{decoration:["auto","from-font",St,kt]}],"underline-offset":[{"underline-offset":["auto",St,jt]}],"text-decoration-color":[{decoration:[e]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:k()}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",jt]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",jt]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-opacity":[{"bg-opacity":[y]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",Lt]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","round","space"]}]}],"bg-size":[{bg:["auto","cover","contain",Nt]}],"bg-image":[{bg:["none",{"gradient-to":["t","tr","r","br","b","bl","l","tl"]},It]}],"bg-color":[{bg:[e]}],"gradient-from-pos":[{from:[p]}],"gradient-via-pos":[{via:[p]}],"gradient-to-pos":[{to:[p]}],"gradient-from":[{from:[h]}],"gradient-via":[{via:[h]}],"gradient-to":[{to:[h]}],rounded:[{rounded:[i]}],"rounded-s":[{"rounded-s":[i]}],"rounded-e":[{"rounded-e":[i]}],"rounded-t":[{"rounded-t":[i]}],"rounded-r":[{"rounded-r":[i]}],"rounded-b":[{"rounded-b":[i]}],"rounded-l":[{"rounded-l":[i]}],"rounded-ss":[{"rounded-ss":[i]}],"rounded-se":[{"rounded-se":[i]}],"rounded-ee":[{"rounded-ee":[i]}],"rounded-es":[{"rounded-es":[i]}],"rounded-tl":[{"rounded-tl":[i]}],"rounded-tr":[{"rounded-tr":[i]}],"rounded-br":[{"rounded-br":[i]}],"rounded-bl":[{"rounded-bl":[i]}],"border-w":[{border:[s]}],"border-w-x":[{"border-x":[s]}],"border-w-y":[{"border-y":[s]}],"border-w-s":[{"border-s":[s]}],"border-w-e":[{"border-e":[s]}],"border-w-t":[{"border-t":[s]}],"border-w-r":[{"border-r":[s]}],"border-w-b":[{"border-b":[s]}],"border-w-l":[{"border-l":[s]}],"border-opacity":[{"border-opacity":[y]}],"border-style":[{border:["solid","dashed","dotted","double","none","hidden"]}],"divide-x":[{"divide-x":[s]}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":[s]}],"divide-y-reverse":["divide-y-reverse"],"divide-opacity":[{"divide-opacity":[y]}],"divide-style":[{divide:["solid","dashed","dotted","double","none"]}],"border-color":[{border:[o]}],"border-color-x":[{"border-x":[o]}],"border-color-y":[{"border-y":[o]}],"border-color-s":[{"border-s":[o]}],"border-color-e":[{"border-e":[o]}],"border-color-t":[{"border-t":[o]}],"border-color-r":[{"border-r":[o]}],"border-color-b":[{"border-b":[o]}],"border-color-l":[{"border-l":[o]}],"divide-color":[{divide:[o]}],"outline-style":[{outline:["","solid","dashed","dotted","double","none"]}],"outline-offset":[{"outline-offset":[St,jt]}],"outline-w":[{outline:[St,kt]}],"outline-color":[{outline:[e]}],"ring-w":[{ring:_()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:[e]}],"ring-opacity":[{"ring-opacity":[y]}],"ring-offset-w":[{"ring-offset":[St,kt]}],"ring-offset-color":[{"ring-offset":[e]}],shadow:[{shadow:["","inner","none",Tt,Ft]}],"shadow-color":[{shadow:[Bt]}],opacity:[{opacity:[y]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-lighter","plus-darker"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none"]}],blur:[{blur:[n]}],brightness:[{brightness:[r]}],contrast:[{contrast:[l]}],"drop-shadow":[{"drop-shadow":["","none",Tt,jt]}],grayscale:[{grayscale:[c]}],"hue-rotate":[{"hue-rotate":[u]}],invert:[{invert:[d]}],saturate:[{saturate:[b]}],sepia:[{sepia:[w]}],"backdrop-filter":[{"backdrop-filter":["","none"]}],"backdrop-blur":[{"backdrop-blur":[n]}],"backdrop-brightness":[{"backdrop-brightness":[r]}],"backdrop-contrast":[{"backdrop-contrast":[l]}],"backdrop-grayscale":[{"backdrop-grayscale":[c]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[u]}],"backdrop-invert":[{"backdrop-invert":[d]}],"backdrop-opacity":[{"backdrop-opacity":[y]}],"backdrop-saturate":[{"backdrop-saturate":[b]}],"backdrop-sepia":[{"backdrop-sepia":[w]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":[a]}],"border-spacing-x":[{"border-spacing-x":[a]}],"border-spacing-y":[{"border-spacing-y":[a]}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["none","all","","colors","opacity","shadow","transform",jt]}],duration:[{duration:P()}],ease:[{ease:["linear","in","out","in-out",jt]}],delay:[{delay:P()}],animate:[{animate:["none","spin","ping","pulse","bounce",jt]}],transform:[{transform:["","gpu","none"]}],scale:[{scale:[x]}],"scale-x":[{"scale-x":[x]}],"scale-y":[{"scale-y":[x]}],rotate:[{rotate:[Rt,jt]}],"translate-x":[{"translate-x":[E]}],"translate-y":[{"translate-y":[E]}],"skew-x":[{"skew-x":[C]}],"skew-y":[{"skew-y":[C]}],"transform-origin":[{origin:["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",jt]}],accent:[{accent:["auto",e]}],appearance:[{appearance:["none","auto"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",jt]}],"caret-color":[{caret:[e]}],"pointer-events":[{"pointer-events":["none","auto"]}],resize:[{resize:["none","y","x",""]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":k()}],"scroll-mx":[{"scroll-mx":k()}],"scroll-my":[{"scroll-my":k()}],"scroll-ms":[{"scroll-ms":k()}],"scroll-me":[{"scroll-me":k()}],"scroll-mt":[{"scroll-mt":k()}],"scroll-mr":[{"scroll-mr":k()}],"scroll-mb":[{"scroll-mb":k()}],"scroll-ml":[{"scroll-ml":k()}],"scroll-p":[{"scroll-p":k()}],"scroll-px":[{"scroll-px":k()}],"scroll-py":[{"scroll-py":k()}],"scroll-ps":[{"scroll-ps":k()}],"scroll-pe":[{"scroll-pe":k()}],"scroll-pt":[{"scroll-pt":k()}],"scroll-pr":[{"scroll-pr":k()}],"scroll-pb":[{"scroll-pb":k()}],"scroll-pl":[{"scroll-pl":k()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",jt]}],fill:[{fill:[e,"none"]}],"stroke-w":[{stroke:[St,kt,Ot]}],stroke:[{stroke:[e,"none"]}],sr:["sr-only","not-sr-only"],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]}}},qt=mt(Zt);function Yt(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=Yt(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function Kt(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=Yt(e))&&(r&&(r+=" "),r+=t);return r}const Qt=(...e)=>qt(Kt(...e)),Gt=(...e)=>(...t)=>e.forEach((e=>null==e?void 0:e(...t))),Xt=e=>{const t={0:"gap-0",xxs:"gap-1",xs:"gap-2",sm:"gap-3",md:"gap-4",lg:"gap-5",xl:"gap-6","2xl":"gap-8"};return t[e]||t.md},Jt={1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12"},$t=(e,t)=>{if(!(typeof window>"u"))try{localStorage.setItem(e,JSON.stringify(t))}catch(e){console.error(e)}},en=e=>{if(typeof window>"u")return null;try{const t=localStorage.getItem(e);return t?JSON.parse(t):null}catch(e){return console.error(e),null}},tn=(0,n.forwardRef)(((e,t)=>{const{variant:r="primary",size:o="md",type:i="button",tag:a="button",className:s,children:l,disabled:c=!1,destructive:u=!1,icon:d=null,iconPosition:f="left",loading:h=!1,...p}=e,m=h?"opacity-50 disabled:cursor-not-allowed":"",g={primary:"text-text-on-color bg-button-primary hover:bg-button-primary-hover outline-button-primary hover:outline-button-primary-hover disabled:bg-button-disabled disabled:outline-button-disabled",secondary:"text-text-on-color bg-button-secondary hover:bg-button-secondary-hover outline-button-secondary hover:outline-button-secondary-hover disabled:bg-button-disabled disabled:outline-button-disabled",outline:"text-button-tertiary-color outline-border-subtle bg-button-tertiary hover:bg-button-tertiary-hover hover:outline-border-subtle disabled:bg-button-tertiary disabled:outline-border-disabled",ghost:"text-text-primary bg-transparent outline-transparent hover:bg-button-tertiary-hover",link:"outline-none text-link-primary bg-transparent hover:text-link-primary-hover hover:underline p-0 border-0 leading-none"}[r],y=u&&!c?{primary:"bg-button-danger hover:bg-button-danger-hover outline-button-danger hover:outline-button-danger-hover",secondary:"bg-button-danger hover:bg-button-danger-hover outline-button-danger hover:outline-button-danger-hover",outline:"text-button-danger outline outline-1 outline-button-danger hover:outline-button-danger bg-button-tertiary hover:bg-field-background-error",ghost:"text-button-danger hover:bg-field-background-error",link:"text-button-danger hover:text-button-danger-secondary"}[r]:"",v={xs:"p-1 rounded [&>svg]:size-4",sm:"p-2 rounded [&>svg]:size-4 gap-0.5",md:"p-2.5 rounded-md text-sm [&>svg]:size-5 gap-1",lg:"p-3 rounded-lg text-base [&>svg]:size-6 gap-1"}[o];let b,x=null,w="";return d&&(w="flex items-center justify-center","left"===f?b=d:x=d),(0,We.jsxs)(a,{ref:t,type:i,className:Qt(w,"outline outline-1 border-none cursor-pointer transition-colors duration-300 ease-in-out text-xs font-semibold focus:ring-2 focus:ring-toggle-on focus:ring-offset-2 disabled:text-text-disabled",v,g,y,m,{"cursor-default":c},s),disabled:c,...p,children:[(0,We.jsx)(n.Fragment,{children:b},"left-icon"),l?(0,We.jsx)("span",{className:"px-1",children:l}):null,(0,We.jsx)(n.Fragment,{children:x},"right-icon")]})}));tn.displayName="Button";let nn=(e=21)=>{let t="",n=crypto.getRandomValues(new Uint8Array(e));for(;e--;)t+="useandom-26T198340PX75pxJACKVERYMINDBUSHWOLF_GQZbfghjklqvwyzrict"[63&n[e]];return t};const rn=(0,n.forwardRef)((({children:e=null,tag:t="label",size:n="sm",className:r="",variant:o="neutral",required:i=!1,...a},s)=>{const l={neutral:"",help:"font-normal",error:"font-normal",disabled:""};if(!e)return null;let c="";return i&&(c="after:content-['*'] after:text-field-required after:ml-0.5"),(0,We.jsx)(t,{ref:s,className:Qt("font-medium text-field-label flex items-center gap-0.5",{xs:"text-xs [&>*]:text-xs [&>svg]:h-3 [&>svg]:w-3",sm:"text-sm [&>*]:text-sm [&>svg]:h-4 [&>svg]:w-4",md:"text-base [&>*]:text-base [&>svg]:h-5 [&>svg]:w-5"}[n],{neutral:"text-field-label [&>*]:text-field-label",help:"text-field-helper [&>*]:text-field-helper",error:"text-support-error [&>*]:text-support-error",disabled:"text-field-color-disabled disabled cursor-not-allowed [&>*]:text-field-color-disabled"}[o],c,null==l?void 0:l[o],r),...a,children:e})}));rn.displayName="Label";const on=({label:e,switchId:t,disabled:r=!1,children:o,size:i})=>{const a={sm:"text-sm leading-5 font-medium",md:"text-base leading-6 font-medium"},s={sm:"text-sm leading-5 font-normal",md:"text-sm leading-5 font-normal"},l={sm:"space-y-0.5",md:"space-y-1"};if((0,n.isValidElement)(e))return(0,We.jsxs)("div",{className:Qt("inline-flex items-center gap-3","items-start"),children:[o,e]});const c=!(null!=e&&e.heading||null!=e&&e.description),u=null!=e&&e.heading&&null!=e&&e.description?"items-start":"items-center";return c?o:(0,We.jsxs)("div",{className:Qt("inline-flex",u,"gap-3"),children:[o,(()=>{const{heading:n="",description:o=""}=e||{};return(0,We.jsxs)("div",{className:Qt("space-y-0.5",l[i]),children:[n&&(0,We.jsx)(rn,{htmlFor:t,className:Qt("m-0",a[i]),...r&&{variant:"disabled"},children:n}),o&&(0,We.jsx)(rn,{tag:"p",variant:"help",className:Qt("text-sm font-normal leading-5 m-0",s[i]),...r&&{variant:"disabled"},children:o})]})})()]})},an=(0,n.forwardRef)((({id:e,onChange:t,value:r,defaultValue:o=!1,size:i="sm",disabled:a=!1,label:s={heading:"",description:""},name:l,className:c,...u},d)=>{const f="lg"===i?"md":i,h=(0,n.useMemo)((()=>typeof r<"u"),[r]),p=(0,n.useMemo)((()=>e||`switch-${nn()}`),[]),[m,g]=(0,n.useState)(o),y="primary",v=(0,n.useCallback)((()=>h?r:m),[h,r,m]),b={primary:{input:"bg-toggle-off checked:bg-toggle-on focus:ring focus:ring-toggle-on focus:ring-offset-2 border border-solid border-toggle-off-border checked:border-toggle-on-border shadow-toggleContainer focus:outline-none checked:focus:border-toggle-on-border focus:border-toggle-off-border",toggleDial:"bg-toggle-dial-background shadow-toggleDial"}},x={md:{container:"w-11 h-6",toggleDial:"size-4 peer-checked:translate-x-5"},sm:{container:"w-10 h-5",toggleDial:"size-3 peer-checked:translate-x-5"}};return(0,We.jsx)(on,{label:s,switchId:p,disabled:a,size:f,children:(0,We.jsxs)("div",{className:Qt("relative group/switch inline-block cursor-pointer rounded-full shrink-0",x[f].container,c),children:[(0,We.jsx)("input",{ref:d,id:p,type:"checkbox",className:Qt("peer appearance-none absolute rounded-full cursor-pointer transition-colors duration-300 h-full w-full  before:content-[''] checked:before:content-[''] m-0 checked:[background-image:none]",b[y].input,a&&"bg-toggle-off-disabled disabled:border-transparent shadow-none disabled:cursor-not-allowed checked:disabled:bg-toggle-on-disabled",!a&&{primary:{input:"group-hover/switch:bg-toggle-off-hover checked:group-hover/switch:bg-toggle-on-hover checked:group-hover/switch:border-toggle-on-border"}}[y].input),checked:v(),onChange:e=>{if(a)return;const n=e.target.checked;h||g(n),"function"==typeof t&&t(n)},disabled:a,name:l,...u}),(0,We.jsx)("label",{htmlFor:p,className:Qt("peer/toggle-dial bg-white border rounded-full absolute cursor-pointer shadow-md before:content[''] before:transition-opacity before:opacity-0 hover:before:opacity-10 before:hidden border-none transition-all duration-300 top-2/4 left-1 -translate-y-2/4 before:w-10 before:h-10 before:rounded-full before:absolute before:top-2/4 before:left-2/4 before:-translate-y-2/4 before:-translate-x-2/4",x[f].toggleDial,b[y].toggleDial,a&&"peer-disabled:cursor-not-allowed",!a&&{md:"group-hover/switch:size-5 group-focus-within/switch:size-5 group-focus-within/switch:left-0.5 group-hover/switch:left-0.5",sm:"group-hover/switch:size-4 group-focus-within/switch:size-4 group-focus-within/switch:left-0.5 group-hover/switch:left-0.5"}[f])})]})})}));an.displayName="Switch";const sn=e=>e.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase(),ln=(...e)=>e.filter(((e,t,n)=>!!e&&n.indexOf(e)===t)).join(" ");var cn={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const un=(0,n.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:i="",children:a,iconNode:s,...l},c)=>(0,n.createElement)("svg",{ref:c,...cn,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:ln("lucide",i),...l},[...s.map((([e,t])=>(0,n.createElement)(e,t))),...Array.isArray(a)?a:[a]]))),dn=(e,t)=>{const r=(0,n.forwardRef)((({className:r,...o},i)=>(0,n.createElement)(un,{ref:i,iconNode:t,className:ln(`lucide-${sn(e)}`,r),...o})));return r.displayName=`${e}`,r},fn=dn("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),hn=dn("ChevronDown",[["path",{d:"m6 9 6 6 6-6",key:"qrunsl"}]]),pn=dn("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),mn=dn("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]]),gn=dn("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),yn=(dn("CloudUpload",[["path",{d:"M4 14.899A7 7 0 1 1 15.71 8h1.79a4.5 4.5 0 0 1 2.5 8.242",key:"1pljnt"}],["path",{d:"M12 12v9",key:"192myk"}],["path",{d:"m16 16-4-4-4 4",key:"119tzi"}]]),dn("Ellipsis",[["circle",{cx:"12",cy:"12",r:"1",key:"41hilf"}],["circle",{cx:"19",cy:"12",r:"1",key:"1wjl8i"}],["circle",{cx:"5",cy:"12",r:"1",key:"1pcz8c"}]])),vn=(dn("File",[["path",{d:"M15 2H6a2 2 0 0 0-2 2v16a2 2 0 0 0 2 2h12a2 2 0 0 0 2-2V7Z",key:"1rqfz7"}],["path",{d:"M14 2v4a2 2 0 0 0 2 2h4",key:"tnqrlb"}]]),dn("ImageOff",[["line",{x1:"2",x2:"22",y1:"2",y2:"22",key:"a6p6uj"}],["path",{d:"M10.41 10.41a2 2 0 1 1-2.83-2.83",key:"1bzlo9"}],["line",{x1:"13.5",x2:"6",y1:"13.5",y2:"21",key:"1q0aeu"}],["line",{x1:"18",x2:"21",y1:"12",y2:"15",key:"5mozeu"}],["path",{d:"M3.59 3.59A1.99 1.99 0 0 0 3 5v14a2 2 0 0 0 2 2h14c.55 0 1.052-.22 1.41-.59",key:"mmje98"}],["path",{d:"M21 15V5a2 2 0 0 0-2-2H9",key:"43el77"}]]),dn("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]])),bn=dn("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),xn=dn("Minus",[["path",{d:"M5 12h14",key:"1ays0h"}]]),wn=dn("PanelLeftClose",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m16 15-3-3 3-3",key:"14y99z"}]]),Cn=dn("PanelLeftOpen",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M9 3v18",key:"fh3hqa"}],["path",{d:"m14 9 3 3-3 3",key:"8010ee"}]]),An=dn("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),En=dn("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),Sn=dn("Trash2",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}],["line",{x1:"10",x2:"10",y1:"11",y2:"17",key:"1uufr5"}],["line",{x1:"14",x2:"14",y1:"11",y2:"17",key:"xtxkd"}]]),kn=(dn("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]),dn("TriangleAlert",[["path",{d:"m21.73 18-8-14a2 2 0 0 0-3.48 0l-8 14A2 2 0 0 0 4 21h16a2 2 0 0 0 1.73-3",key:"wmoenq"}],["path",{d:"M12 9v4",key:"juzpu7"}],["path",{d:"M12 17h.01",key:"p32p05"}]])),_n=dn("Upload",[["path",{d:"M21 15v4a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2v-4",key:"ih7n3h"}],["polyline",{points:"17 8 12 3 7 8",key:"t8dd8p"}],["line",{x1:"12",x2:"12",y1:"3",y2:"15",key:"widbto"}]]),On=dn("User",[["path",{d:"M19 21v-2a4 4 0 0 0-4-4H9a4 4 0 0 0-4 4v2",key:"975kel"}],["circle",{cx:"12",cy:"7",r:"4",key:"17ys0d"}]]),Rn=dn("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),Pn=(0,n.forwardRef)((({id:e,label:t,defaultChecked:r=!1,checked:o,onChange:i,indeterminate:a,disabled:s,size:l="md",className:c,...u},d)=>{var f,h;const p=(0,n.useMemo)((()=>e||`checkbox-${nn()}`),[e]),m=(0,n.useMemo)((()=>typeof o<"u"),[o]),[g,y]=(0,n.useState)(r||!1),v="primary",b={sm:{checkbox:"size-4 rounded gap-1",icon:"size-3",text:"text-sm",description:"text-sm",gap:"gap-0.5"},md:{checkbox:"size-5 rounded gap-1",icon:"size-4",text:"text-base",description:"text-sm",gap:"gap-1"}},x={primary:{checkbox:"border-border-strong hover:border-border-interactive checked:border-border-interactive bg-white checked:bg-toggle-on checked:hover:bg-toggle-on-hover checked:hover:border-toggle-on-hover focus:ring-2 focus:ring-offset-2 focus:ring-focus",icon:"text-white"}},w=(0,n.useCallback)((()=>m?o:g),[m,o,g]),C=(0,n.useCallback)((()=>(0,n.isValidElement)(t)?t:null!=t&&t.heading||null!=t&&t.description?(0,We.jsxs)("div",{className:b[l].gap,children:[(null==t?void 0:t.heading)&&(0,We.jsx)(rn,{className:Qt("text-text-primary font-medium leading-4 m-0",b[l].text,b[l].gap,s&&"text-text-disabled"),htmlFor:p,children:null==t?void 0:t.heading}),(null==t?void 0:t.description)&&(0,We.jsx)(rn,{tag:"p",className:Qt("font-normal leading-5 m-0",b[l].description,s&&"text-text-disabled"),variant:"help",children:null==t?void 0:t.description})]}):null),[t,l,s]);return(0,We.jsxs)("div",{className:Qt("inline-flex items-center justify-center gap-2",!!t&&"items-start",s&&"cursor-not-allowed"),children:[(0,We.jsxs)("label",{className:Qt("relative flex items-center justify-center rounded-full p-0.5",!s&&"cursor-pointer"),htmlFor:p,children:[(0,We.jsx)("input",{ref:d,id:p,type:"checkbox",className:Qt("peer relative cursor-pointer appearance-none transition-all m-0 before:content-[''] checked:before:content-[''] checked:before:hidden before:hidden !border-1.5 border-solid",x[v].checkbox,b[l].checkbox,s&&"cursor-not-allowed disabled:bg-white checked:disabled:bg-white disabled:border-border-disabled checked:disabled:border-border-disabled",c),checked:w(),onChange:e=>{if(s)return;const t=e.target.checked;m||y(t),"function"==typeof i&&i(t)},disabled:s,...u}),(0,We.jsx)("span",{className:Qt("pointer-events-none inline-flex items-center absolute top-2/4 left-2/4 -translate-y-2/4 -translate-x-2/4 text-white opacity-0 transition-opacity peer-checked:opacity-100",x[v].icon,s&&"cursor-not-allowed peer-disabled:text-border-disabled"),children:a?(0,We.jsx)(xn,{className:Qt(null==(f=b[l])?void 0:f.icon)}):(0,We.jsx)(fn,{className:Qt(null==(h=b[l])?void 0:h.icon)})})]}),!!t&&C()]})}));Pn.displayName="Checkbox";const jn={primary:{checkbox:"border-border-strong hover:border-border-interactive checked:border-border-interactive bg-white checked:bg-toggle-on checked:hover:bg-toggle-on-hover checked:hover:border-toggle-on-hover focus:ring-2 focus:ring-offset-2 focus:ring-focus",icon:"text-white"}},Tn={sm:"text-sm leading-5",md:"text-base leading-6"},Mn={sm:{checkbox:"size-4",icon:"size-1.5",info:"size-4"},md:{checkbox:"size-5",icon:"size-2",info:"size-5"}},Nn={sm:{switch:"mt-1",radio:"mt-0.5"},md:{switch:"mt-0.5",radio:"mt-px"}},Ln={xs:"py-1 px-1 text-sm gap-0.5 [&>svg]:size-4",sm:"py-1 px-1.5 text-base gap-1 [&>svg]:size-4",md:"py-2 px-2.5 text-base gap-1 [&>svg]:size-5",lg:"py-2.5 px-3 text-base gap-1 [&>svg]:size-6"};function Dn(){return typeof window<"u"}function In(e){return zn(e)?(e.nodeName||"").toLowerCase():"#document"}function Fn(e){var t;return(null==e||null==(t=e.ownerDocument)?void 0:t.defaultView)||window}function Bn(e){var t;return null==(t=(zn(e)?e.ownerDocument:e.document)||window.document)?void 0:t.documentElement}function zn(e){return!!Dn()&&(e instanceof Node||e instanceof Fn(e).Node)}function Vn(e){return!!Dn()&&(e instanceof Element||e instanceof Fn(e).Element)}function Hn(e){return!!Dn()&&(e instanceof HTMLElement||e instanceof Fn(e).HTMLElement)}function Wn(e){return!(!Dn()||typeof ShadowRoot>"u")&&(e instanceof ShadowRoot||e instanceof Fn(e).ShadowRoot)}function Un(e){const{overflow:t,overflowX:n,overflowY:r,display:o}=Gn(e);return/auto|scroll|overlay|hidden|clip/.test(t+r+n)&&!["inline","contents"].includes(o)}function Zn(e){return["table","td","th"].includes(In(e))}function qn(e){return[":popover-open",":modal"].some((t=>{try{return e.matches(t)}catch{return!1}}))}function Yn(e){const t=Kn(),n=Vn(e)?Gn(e):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 Kn(){return!(typeof CSS>"u"||!CSS.supports)&&CSS.supports("-webkit-backdrop-filter","none")}function Qn(e){return["html","body","#document"].includes(In(e))}function Gn(e){return Fn(e).getComputedStyle(e)}function Xn(e){return Vn(e)?{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}:{scrollLeft:e.scrollX,scrollTop:e.scrollY}}function Jn(e){if("html"===In(e))return e;const t=e.assignedSlot||e.parentNode||Wn(e)&&e.host||Bn(e);return Wn(t)?t.host:t}function $n(e){const t=Jn(e);return Qn(t)?e.ownerDocument?e.ownerDocument.body:e.body:Hn(t)&&Un(t)?t:$n(t)}function er(e,t,n){var r;void 0===t&&(t=[]),void 0===n&&(n=!0);const o=$n(e),i=o===(null==(r=e.ownerDocument)?void 0:r.body),a=Fn(o);if(i){const e=tr(a);return t.concat(a,a.visualViewport||[],Un(o)?o:[],e&&n?er(e):[])}return t.concat(o,er(o,[],n))}function tr(e){return e.parent&&Object.getPrototypeOf(e.parent)?e.frameElement:null}function nr(e){let t=e.activeElement;for(;null!=(null==(n=t)||null==(n=n.shadowRoot)?void 0:n.activeElement);){var n;t=t.shadowRoot.activeElement}return t}function rr(e,t){if(!e||!t)return!1;const n=null==t.getRootNode?void 0:t.getRootNode();if(e.contains(t))return!0;if(n&&Wn(n)){let n=t;for(;n;){if(e===n)return!0;n=n.parentNode||n.host}}return!1}function or(){const e=navigator.userAgentData;return null!=e&&e.platform?e.platform:navigator.platform}function ir(){const e=navigator.userAgentData;return e&&Array.isArray(e.brands)?e.brands.map((e=>{let{brand:t,version:n}=e;return t+"/"+n})).join(" "):navigator.userAgent}function ar(e){return!(0!==e.mozInputSource||!e.isTrusted)||(cr()&&e.pointerType?"click"===e.type&&1===e.buttons:0===e.detail&&!e.pointerType)}function sr(e){return!ir().includes("jsdom/")&&(!cr()&&0===e.width&&0===e.height||cr()&&1===e.width&&1===e.height&&0===e.pressure&&0===e.detail&&"mouse"===e.pointerType||e.width<1&&e.height<1&&0===e.pressure&&0===e.detail&&"touch"===e.pointerType)}function lr(){return/apple/i.test(navigator.vendor)}function cr(){const e=/android/i;return e.test(or())||e.test(ir())}function ur(){return or().toLowerCase().startsWith("mac")&&!navigator.maxTouchPoints}function dr(e,t){const n=["mouse","pen"];return t||n.push("",void 0),n.includes(e)}function fr(e){return(null==e?void 0:e.ownerDocument)||document}function hr(e,t){if(null==t)return!1;if("composedPath"in e)return e.composedPath().includes(t);const n=e;return null!=n.target&&t.contains(n.target)}function pr(e){return"composedPath"in e?e.composedPath()[0]:e.target}function mr(e){return Hn(e)&&e.matches("input:not([type='hidden']):not([disabled]),[contenteditable]:not([contenteditable='false']),textarea:not([disabled])")}function gr(e){e.preventDefault(),e.stopPropagation()}function yr(e){return!!e&&"combobox"===e.getAttribute("role")&&mr(e)}const vr=Math.min,br=Math.max,xr=Math.round,wr=Math.floor,Cr=e=>({x:e,y:e}),Ar={left:"right",right:"left",bottom:"top",top:"bottom"},Er={start:"end",end:"start"};function Sr(e,t,n){return br(e,vr(t,n))}function kr(e,t){return"function"==typeof e?e(t):e}function _r(e){return e.split("-")[0]}function Or(e){return e.split("-")[1]}function Rr(e){return"x"===e?"y":"x"}function Pr(e){return"y"===e?"height":"width"}function jr(e){return["top","bottom"].includes(_r(e))?"y":"x"}function Tr(e){return Rr(jr(e))}function Mr(e){return e.replace(/start|end/g,(e=>Er[e]))}function Nr(e){return e.replace(/left|right|bottom|top/g,(e=>Ar[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 Dr(e){const{x:t,y:n,width:r,height:o}=e;return{width:r,height:o,top:n,left:t,right:t+r,bottom:n+o,x:t,y:n}}var Ir=["input:not([inert])","select:not([inert])","textarea:not([inert])","a[href]:not([inert])","button:not([inert])","[tabindex]:not(slot):not([inert])","audio[controls]:not([inert])","video[controls]:not([inert])",'[contenteditable]:not([contenteditable="false"]):not([inert])',"details>summary:first-of-type:not([inert])","details:not([inert])"].join(","),Fr=typeof Element>"u",Br=Fr?function(){}:Element.prototype.matches||Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector,zr=!Fr&&Element.prototype.getRootNode?function(e){var t;return null==e||null===(t=e.getRootNode)||void 0===t?void 0:t.call(e)}:function(e){return null==e?void 0:e.ownerDocument},Vr=function e(t,n){var r;void 0===n&&(n=!0);var o=null==t||null===(r=t.getAttribute)||void 0===r?void 0:r.call(t,"inert");return""===o||"true"===o||n&&t&&e(t.parentNode)},Hr=function e(t,n,r){for(var o=[],i=Array.from(t);i.length;){var a=i.shift();if(!Vr(a,!1))if("SLOT"===a.tagName){var s=a.assignedElements(),l=e(s.length?s:a.children,!0,r);r.flatten?o.push.apply(o,l):o.push({scopeParent:a,candidates:l})}else{Br.call(a,Ir)&&r.filter(a)&&(n||!t.includes(a))&&o.push(a);var c=a.shadowRoot||"function"==typeof r.getShadowRoot&&r.getShadowRoot(a),u=!Vr(c,!1)&&(!r.shadowRootFilter||r.shadowRootFilter(a));if(c&&u){var d=e(!0===c?a.children:c.children,!0,r);r.flatten?o.push.apply(o,d):o.push({scopeParent:a,candidates:d})}else i.unshift.apply(i,a.children)}}return o},Wr=function(e){return!isNaN(parseInt(e.getAttribute("tabindex"),10))},Ur=function(e){if(!e)throw new Error("No node provided");return e.tabIndex<0&&(/^(AUDIO|VIDEO|DETAILS)$/.test(e.tagName)||function(e){var t,n=null==e||null===(t=e.getAttribute)||void 0===t?void 0:t.call(e,"contenteditable");return""===n||"true"===n}(e))&&!Wr(e)?0:e.tabIndex},Zr=function(e,t){return e.tabIndex===t.tabIndex?e.documentOrder-t.documentOrder:e.tabIndex-t.tabIndex},qr=function(e){return"INPUT"===e.tagName},Yr=function(e){var t=e.getBoundingClientRect(),n=t.width,r=t.height;return 0===n&&0===r},Kr=function(e,t){return!(t.disabled||Vr(t)||function(e){return qr(e)&&"hidden"===e.type}(t)||function(e,t){var n=t.displayCheck,r=t.getShadowRoot;if("hidden"===getComputedStyle(e).visibility)return!0;var o=Br.call(e,"details>summary:first-of-type")?e.parentElement:e;if(Br.call(o,"details:not([open]) *"))return!0;if(n&&"full"!==n&&"legacy-full"!==n){if("non-zero-area"===n)return Yr(e)}else{if("function"==typeof r){for(var i=e;e;){var a=e.parentElement,s=zr(e);if(a&&!a.shadowRoot&&!0===r(a))return Yr(e);e=e.assignedSlot?e.assignedSlot:a||s===e.ownerDocument?a:s.host}e=i}if(function(e){var t,n,r,o,i=e&&zr(e),a=null===(t=i)||void 0===t?void 0:t.host,s=!1;if(i&&i!==e)for(s=!!(null!==(n=a)&&void 0!==n&&null!==(r=n.ownerDocument)&&void 0!==r&&r.contains(a)||null!=e&&null!==(o=e.ownerDocument)&&void 0!==o&&o.contains(e));!s&&a;){var l,c,u;s=!(null===(c=a=null===(l=i=zr(a))||void 0===l?void 0:l.host)||void 0===c||null===(u=c.ownerDocument)||void 0===u||!u.contains(a))}return s}(e))return!e.getClientRects().length;if("legacy-full"!==n)return!0}return!1}(t,e)||function(e){var t="DETAILS"===e.tagName&&Array.prototype.slice.apply(e.children).some((function(e){return"SUMMARY"===e.tagName}));return t}(t)||function(e){if(/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(e.tagName))for(var t=e.parentElement;t;){if("FIELDSET"===t.tagName&&t.disabled){for(var n=0;n<t.children.length;n++){var r=t.children.item(n);if("LEGEND"===r.tagName)return!!Br.call(t,"fieldset[disabled] *")||!r.contains(e)}return!0}t=t.parentElement}return!1}(t))},Qr=function(e,t){return!(function(e){return function(e){return qr(e)&&"radio"===e.type}(e)&&!function(e){if(!e.name)return!0;var t,n=e.form||zr(e),r=function(e){return n.querySelectorAll('input[type="radio"][name="'+e+'"]')};if(typeof window<"u"&&typeof window.CSS<"u"&&"function"==typeof window.CSS.escape)t=r(window.CSS.escape(e.name));else try{t=r(e.name)}catch(e){return console.error("Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s",e.message),!1}var o=function(e,t){for(var n=0;n<e.length;n++)if(e[n].checked&&e[n].form===t)return e[n]}(t,e.form);return!o||o===e}(e)}(t)||Ur(t)<0||!Kr(e,t))},Gr=function(e){var t=parseInt(e.getAttribute("tabindex"),10);return!!(isNaN(t)||t>=0)},Xr=function e(t){var n=[],r=[];return t.forEach((function(t,o){var i=!!t.scopeParent,a=i?t.scopeParent:t,s=function(e,t){var n=Ur(e);return n<0&&t&&!Wr(e)?0:n}(a,i),l=i?e(t.candidates):a;0===s?i?n.push.apply(n,l):n.push(a):r.push({documentOrder:o,tabIndex:s,item:t,isScope:i,content:l})})),r.sort(Zr).reduce((function(e,t){return t.isScope?e.push.apply(e,t.content):e.push(t.content),e}),[]).concat(n)},Jr=function(e,t){var n;return n=(t=t||{}).getShadowRoot?Hr([e],t.includeContainer,{filter:Qr.bind(null,t),flatten:!1,getShadowRoot:t.getShadowRoot,shadowRootFilter:Gr}):function(e,t,n){if(Vr(e))return[];var r=Array.prototype.slice.apply(e.querySelectorAll(Ir));return t&&Br.call(e,Ir)&&r.unshift(e),r.filter(n)}(e,t.includeContainer,Qr.bind(null,t)),Xr(n)};function $r(e,t,n){let{reference:r,floating:o}=e;const i=jr(t),a=Tr(t),s=Pr(a),l=_r(t),c="y"===i,u=r.x+r.width/2-o.width/2,d=r.y+r.height/2-o.height/2,f=r[s]/2-o[s]/2;let h;switch(l){case"top":h={x:u,y:r.y-o.height};break;case"bottom":h={x:u,y:r.y+r.height};break;case"right":h={x:r.x+r.width,y:d};break;case"left":h={x:r.x-o.width,y:d};break;default:h={x:r.x,y:r.y}}switch(Or(t)){case"start":h[a]-=f*(n&&c?-1:1);break;case"end":h[a]+=f*(n&&c?-1:1)}return h}async function eo(e,t){var n;void 0===t&&(t={});const{x:r,y:o,platform:i,rects:a,elements:s,strategy:l}=e,{boundary:c="clippingAncestors",rootBoundary:u="viewport",elementContext:d="floating",altBoundary:f=!1,padding:h=0}=kr(t,e),p=Lr(h),m=s[f?"floating"===d?"reference":"floating":d],g=Dr(await i.getClippingRect({element:null==(n=await(null==i.isElement?void 0:i.isElement(m)))||n?m:m.contextElement||await(null==i.getDocumentElement?void 0:i.getDocumentElement(s.floating)),boundary:c,rootBoundary:u,strategy:l})),y="floating"===d?{x:r,y:o,width:a.floating.width,height:a.floating.height}:a.reference,v=await(null==i.getOffsetParent?void 0:i.getOffsetParent(s.floating)),b=await(null==i.isElement?void 0:i.isElement(v))&&await(null==i.getScale?void 0:i.getScale(v))||{x:1,y:1},x=Dr(i.convertOffsetParentRelativeRectToViewportRelativeRect?await i.convertOffsetParentRelativeRectToViewportRelativeRect({elements:s,rect:y,offsetParent:v,strategy:l}):y);return{top:(g.top-x.top+p.top)/b.y,bottom:(x.bottom-g.bottom+p.bottom)/b.y,left:(g.left-x.left+p.left)/b.x,right:(x.right-g.right+p.right)/b.x}}function to(e){const t=Gn(e);let n=parseFloat(t.width)||0,r=parseFloat(t.height)||0;const o=Hn(e),i=o?e.offsetWidth:n,a=o?e.offsetHeight:r,s=xr(n)!==i||xr(r)!==a;return s&&(n=i,r=a),{width:n,height:r,$:s}}function no(e){return Vn(e)?e:e.contextElement}function ro(e){const t=no(e);if(!Hn(t))return Cr(1);const n=t.getBoundingClientRect(),{width:r,height:o,$:i}=to(t);let a=(i?xr(n.width):n.width)/r,s=(i?xr(n.height):n.height)/o;return(!a||!Number.isFinite(a))&&(a=1),(!s||!Number.isFinite(s))&&(s=1),{x:a,y:s}}const oo=Cr(0);function io(e){const t=Fn(e);return Kn()&&t.visualViewport?{x:t.visualViewport.offsetLeft,y:t.visualViewport.offsetTop}:oo}function ao(e,t,n,r){void 0===t&&(t=!1),void 0===n&&(n=!1);const o=e.getBoundingClientRect(),i=no(e);let a=Cr(1);t&&(r?Vn(r)&&(a=ro(r)):a=ro(e));const s=function(e,t,n){return void 0===t&&(t=!1),!(!n||t&&n!==Fn(e))&&t}(i,n,r)?io(i):Cr(0);let l=(o.left+s.x)/a.x,c=(o.top+s.y)/a.y,u=o.width/a.x,d=o.height/a.y;if(i){const e=Fn(i),t=r&&Vn(r)?Fn(r):r;let n=e,o=tr(n);for(;o&&r&&t!==n;){const e=ro(o),t=o.getBoundingClientRect(),r=Gn(o),i=t.left+(o.clientLeft+parseFloat(r.paddingLeft))*e.x,a=t.top+(o.clientTop+parseFloat(r.paddingTop))*e.y;l*=e.x,c*=e.y,u*=e.x,d*=e.y,l+=i,c+=a,n=Fn(o),o=tr(n)}}return Dr({width:u,height:d,x:l,y:c})}function so(e,t){const n=Xn(e).scrollLeft;return t?t.left+n:ao(Bn(e)).left+n}function lo(e,t,n){void 0===n&&(n=!1);const r=e.getBoundingClientRect();return{x:r.left+t.scrollLeft-(n?0:so(e,r)),y:r.top+t.scrollTop}}function co(e,t,n){let r;if("viewport"===t)r=function(e,t){const n=Fn(e),r=Bn(e),o=n.visualViewport;let i=r.clientWidth,a=r.clientHeight,s=0,l=0;if(o){i=o.width,a=o.height;const e=Kn();(!e||e&&"fixed"===t)&&(s=o.offsetLeft,l=o.offsetTop)}return{width:i,height:a,x:s,y:l}}(e,n);else if("document"===t)r=function(e){const t=Bn(e),n=Xn(e),r=e.ownerDocument.body,o=br(t.scrollWidth,t.clientWidth,r.scrollWidth,r.clientWidth),i=br(t.scrollHeight,t.clientHeight,r.scrollHeight,r.clientHeight);let a=-n.scrollLeft+so(e);const s=-n.scrollTop;return"rtl"===Gn(r).direction&&(a+=br(t.clientWidth,r.clientWidth)-o),{width:o,height:i,x:a,y:s}}(Bn(e));else if(Vn(t))r=function(e,t){const n=ao(e,!0,"fixed"===t),r=n.top+e.clientTop,o=n.left+e.clientLeft,i=Hn(e)?ro(e):Cr(1);return{width:e.clientWidth*i.x,height:e.clientHeight*i.y,x:o*i.x,y:r*i.y}}(t,n);else{const n=io(e);r={x:t.x-n.x,y:t.y-n.y,width:t.width,height:t.height}}return Dr(r)}function uo(e,t){const n=Jn(e);return!(n===t||!Vn(n)||Qn(n))&&("fixed"===Gn(n).position||uo(n,t))}function fo(e,t){const n=t.get(e);if(n)return n;let r=er(e,[],!1).filter((e=>Vn(e)&&"body"!==In(e))),o=null;const i="fixed"===Gn(e).position;let a=i?Jn(e):e;for(;Vn(a)&&!Qn(a);){const t=Gn(a),n=Yn(a);!n&&"fixed"===t.position&&(o=null),(i?!n&&!o:!n&&"static"===t.position&&o&&["absolute","fixed"].includes(o.position)||Un(a)&&!n&&uo(e,a))?r=r.filter((e=>e!==a)):o=t,a=Jn(a)}return t.set(e,r),r}function ho(e,t,n){const r=Hn(t),o=Bn(t),i="fixed"===n,a=ao(e,!0,i,t);let s={scrollLeft:0,scrollTop:0};const l=Cr(0);if(r||!r&&!i)if(("body"!==In(t)||Un(o))&&(s=Xn(t)),r){const e=ao(t,!0,i,t);l.x=e.x+t.clientLeft,l.y=e.y+t.clientTop}else o&&(l.x=so(o));const c=!o||r||i?Cr(0):lo(o,s);return{x:a.left+s.scrollLeft-l.x-c.x,y:a.top+s.scrollTop-l.y-c.y,width:a.width,height:a.height}}function po(e){return"static"===Gn(e).position}function mo(e,t){if(!Hn(e)||"fixed"===Gn(e).position)return null;if(t)return t(e);let n=e.offsetParent;return Bn(e)===n&&(n=n.ownerDocument.body),n}function go(e,t){const n=Fn(e);if(qn(e))return n;if(!Hn(e)){let t=Jn(e);for(;t&&!Qn(t);){if(Vn(t)&&!po(t))return t;t=Jn(t)}return n}let r=mo(e,t);for(;r&&Zn(r)&&po(r);)r=mo(r,t);return r&&Qn(r)&&po(r)&&!Yn(r)?n:r||function(e){let t=Jn(e);for(;Hn(t)&&!Qn(t);){if(Yn(t))return t;if(qn(t))return null;t=Jn(t)}return null}(e)||n}const yo={convertOffsetParentRelativeRectToViewportRelativeRect:function(e){let{elements:t,rect:n,offsetParent:r,strategy:o}=e;const i="fixed"===o,a=Bn(r),s=!!t&&qn(t.floating);if(r===a||s&&i)return n;let l={scrollLeft:0,scrollTop:0},c=Cr(1);const u=Cr(0),d=Hn(r);if((d||!d&&!i)&&(("body"!==In(r)||Un(a))&&(l=Xn(r)),Hn(r))){const e=ao(r);c=ro(r),u.x=e.x+r.clientLeft,u.y=e.y+r.clientTop}const f=!a||d||i?Cr(0):lo(a,l,!0);return{width:n.width*c.x,height:n.height*c.y,x:n.x*c.x-l.scrollLeft*c.x+u.x+f.x,y:n.y*c.y-l.scrollTop*c.y+u.y+f.y}},getDocumentElement:Bn,getClippingRect:function(e){let{element:t,boundary:n,rootBoundary:r,strategy:o}=e;const i=[..."clippingAncestors"===n?qn(t)?[]:fo(t,this._c):[].concat(n),r],a=i[0],s=i.reduce(((e,n)=>{const r=co(t,n,o);return e.top=br(r.top,e.top),e.right=vr(r.right,e.right),e.bottom=vr(r.bottom,e.bottom),e.left=br(r.left,e.left),e}),co(t,a,o));return{width:s.right-s.left,height:s.bottom-s.top,x:s.left,y:s.top}},getOffsetParent:go,getElementRects:async function(e){const t=this.getOffsetParent||go,n=this.getDimensions,r=await n(e.floating);return{reference:ho(e.reference,await t(e.floating),e.strategy),floating:{x:0,y:0,width:r.width,height:r.height}}},getClientRects:function(e){return Array.from(e.getClientRects())},getDimensions:function(e){const{width:t,height:n}=to(e);return{width:t,height:n}},getScale:ro,isElement:Vn,isRTL:function(e){return"rtl"===Gn(e).direction}};function vo(e,t,n,r){void 0===r&&(r={});const{ancestorScroll:o=!0,ancestorResize:i=!0,elementResize:a="function"==typeof ResizeObserver,layoutShift:s="function"==typeof IntersectionObserver,animationFrame:l=!1}=r,c=no(e),u=o||i?[...c?er(c):[],...er(t)]:[];u.forEach((e=>{o&&e.addEventListener("scroll",n,{passive:!0}),i&&e.addEventListener("resize",n)}));const d=c&&s?function(e,t){let n,r=null;const o=Bn(e);function i(){var e;clearTimeout(n),null==(e=r)||e.disconnect(),r=null}return function a(s,l){void 0===s&&(s=!1),void 0===l&&(l=1),i();const{left:c,top:u,width:d,height:f}=e.getBoundingClientRect();if(s||t(),!d||!f)return;const h={rootMargin:-wr(u)+"px "+-wr(o.clientWidth-(c+d))+"px "+-wr(o.clientHeight-(u+f))+"px "+-wr(c)+"px",threshold:br(0,vr(1,l))||1};let p=!0;function m(e){const t=e[0].intersectionRatio;if(t!==l){if(!p)return a();t?a(!1,t):n=setTimeout((()=>{a(!1,1e-7)}),1e3)}p=!1}try{r=new IntersectionObserver(m,{...h,root:o.ownerDocument})}catch{r=new IntersectionObserver(m,h)}r.observe(e)}(!0),i}(c,n):null;let f=-1,h=null;a&&(h=new ResizeObserver((e=>{let[r]=e;r&&r.target===c&&h&&(h.unobserve(t),cancelAnimationFrame(f),f=requestAnimationFrame((()=>{var e;null==(e=h)||e.observe(t)}))),n()})),c&&!l&&h.observe(c),h.observe(t));let p,m=l?ao(e):null;return l&&function t(){const r=ao(e);m&&(r.x!==m.x||r.y!==m.y||r.width!==m.width||r.height!==m.height)&&n(),m=r,p=requestAnimationFrame(t)}(),n(),()=>{var e;u.forEach((e=>{o&&e.removeEventListener("scroll",n),i&&e.removeEventListener("resize",n)})),null==d||d(),null==(e=h)||e.disconnect(),h=null,l&&cancelAnimationFrame(p)}}const bo=function(e){return void 0===e&&(e=0),{name:"offset",options:e,async fn(t){var n,r;const{x:o,y:i,placement:a,middlewareData:s}=t,l=await async function(e,t){const{placement:n,platform:r,elements:o}=e,i=await(null==r.isRTL?void 0:r.isRTL(o.floating)),a=_r(n),s=Or(n),l="y"===jr(n),c=["left","top"].includes(a)?-1:1,u=i&&l?-1:1,d=kr(t,e);let{mainAxis:f,crossAxis:h,alignmentAxis:p}="number"==typeof d?{mainAxis:d,crossAxis:0,alignmentAxis:null}:{mainAxis:d.mainAxis||0,crossAxis:d.crossAxis||0,alignmentAxis:d.alignmentAxis};return s&&"number"==typeof p&&(h="end"===s?-1*p:p),l?{x:h*u,y:f*c}:{x:f*c,y:h*u}}(t,e);return a===(null==(n=s.offset)?void 0:n.placement)&&null!=(r=s.arrow)&&r.alignmentOffset?{}:{x:o+l.x,y:i+l.y,data:{...l,placement:a}}}}},xo=function(e){return void 0===e&&(e={}),{name:"shift",options:e,async fn(t){const{x:n,y:r,placement:o}=t,{mainAxis:i=!0,crossAxis:a=!1,limiter:s={fn:e=>{let{x:t,y:n}=e;return{x:t,y:n}}},...l}=kr(e,t),c={x:n,y:r},u=await eo(t,l),d=jr(_r(o)),f=Rr(d);let h=c[f],p=c[d];if(i){const e="y"===f?"bottom":"right";h=Sr(h+u["y"===f?"top":"left"],h,h-u[e])}if(a){const e="y"===d?"bottom":"right";p=Sr(p+u["y"===d?"top":"left"],p,p-u[e])}const m=s.fn({...t,[f]:h,[d]:p});return{...m,data:{x:m.x-n,y:m.y-r,enabled:{[f]:i,[d]:a}}}}}},wo=function(e){return void 0===e&&(e={}),{name:"flip",options:e,async fn(t){var n,r;const{placement:o,middlewareData:i,rects:a,initialPlacement:s,platform:l,elements:c}=t,{mainAxis:u=!0,crossAxis:d=!0,fallbackPlacements:f,fallbackStrategy:h="bestFit",fallbackAxisSideDirection:p="none",flipAlignment:m=!0,...g}=kr(e,t);if(null!=(n=i.arrow)&&n.alignmentOffset)return{};const y=_r(o),v=jr(s),b=_r(s)===s,x=await(null==l.isRTL?void 0:l.isRTL(c.floating)),w=f||(b||!m?[Nr(s)]:function(e){const t=Nr(e);return[Mr(e),t,Mr(t)]}(s)),C="none"!==p;!f&&C&&w.push(...function(e,t,n,r){const o=Or(e);let i=function(e,t,n){const r=["left","right"],o=["right","left"],i=["top","bottom"],a=["bottom","top"];switch(e){case"top":case"bottom":return n?t?o:r:t?r:o;case"left":case"right":return t?i:a;default:return[]}}(_r(e),"start"===n,r);return o&&(i=i.map((e=>e+"-"+o)),t&&(i=i.concat(i.map(Mr)))),i}(s,m,p,x));const A=[s,...w],E=await eo(t,g),S=[];let k=(null==(r=i.flip)?void 0:r.overflows)||[];if(u&&S.push(E[y]),d){const e=function(e,t,n){void 0===n&&(n=!1);const r=Or(e),o=Tr(e),i=Pr(o);let a="x"===o?r===(n?"end":"start")?"right":"left":"start"===r?"bottom":"top";return t.reference[i]>t.floating[i]&&(a=Nr(a)),[a,Nr(a)]}(o,a,x);S.push(E[e[0]],E[e[1]])}if(k=[...k,{placement:o,overflows:S}],!S.every((e=>e<=0))){var _,O;const e=((null==(_=i.flip)?void 0:_.index)||0)+1,t=A[e];if(t)return{data:{index:e,overflows:k},reset:{placement:t}};let n=null==(O=k.filter((e=>e.overflows[0]<=0)).sort(((e,t)=>e.overflows[1]-t.overflows[1]))[0])?void 0:O.placement;if(!n)switch(h){case"bestFit":{var R;const e=null==(R=k.filter((e=>{if(C){const t=jr(e.placement);return t===v||"y"===t}return!0})).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:R[0];e&&(n=e);break}case"initialPlacement":n=s}if(o!==n)return{reset:{placement:n}}}return{}}}},Co=function(e){return void 0===e&&(e={}),{name:"size",options:e,async fn(t){var n,r;const{placement:o,rects:i,platform:a,elements:s}=t,{apply:l=()=>{},...c}=kr(e,t),u=await eo(t,c),d=_r(o),f=Or(o),h="y"===jr(o),{width:p,height:m}=i.floating;let g,y;"top"===d||"bottom"===d?(g=d,y=f===(await(null==a.isRTL?void 0:a.isRTL(s.floating))?"start":"end")?"left":"right"):(y=d,g="end"===f?"top":"bottom");const v=m-u.top-u.bottom,b=p-u.left-u.right,x=vr(m-u[g],v),w=vr(p-u[y],b),C=!t.middlewareData.shift;let A=x,E=w;if(null!=(n=t.middlewareData.shift)&&n.enabled.x&&(E=b),null!=(r=t.middlewareData.shift)&&r.enabled.y&&(A=v),C&&!f){const e=br(u.left,0),t=br(u.right,0),n=br(u.top,0),r=br(u.bottom,0);h?E=p-2*(0!==e||0!==t?e+t:br(u.left,u.right)):A=m-2*(0!==n||0!==r?n+r:br(u.top,u.bottom))}await l({...t,availableWidth:E,availableHeight:A});const S=await a.getDimensions(s.floating);return p!==S.width||m!==S.height?{reset:{rects:!0}}:{}}}},Ao=e=>({name:"arrow",options:e,async fn(t){const{x:n,y:r,placement:o,rects:i,platform:a,elements:s,middlewareData:l}=t,{element:c,padding:u=0}=kr(e,t)||{};if(null==c)return{};const d=Lr(u),f={x:n,y:r},h=Tr(o),p=Pr(h),m=await a.getDimensions(c),g="y"===h,y=g?"top":"left",v=g?"bottom":"right",b=g?"clientHeight":"clientWidth",x=i.reference[p]+i.reference[h]-f[h]-i.floating[p],w=f[h]-i.reference[h],C=await(null==a.getOffsetParent?void 0:a.getOffsetParent(c));let A=C?C[b]:0;(!A||!await(null==a.isElement?void 0:a.isElement(C)))&&(A=s.floating[b]||i.floating[p]);const E=x/2-w/2,S=A/2-m[p]/2-1,k=vr(d[y],S),_=vr(d[v],S),O=k,R=A-m[p]-_,P=A/2-m[p]/2+E,j=Sr(O,P,R),T=!l.arrow&&null!=Or(o)&&P!==j&&i.reference[p]/2-(P<O?k:_)-m[p]/2<0,M=T?P<O?P-O:P-R:0;return{[h]:f[h]+M,data:{[h]:j,centerOffset:P-j-M,...T&&{alignmentOffset:M}},reset:T}}});var Eo=typeof document<"u"?n.useLayoutEffect:n.useEffect;function So(e,t){if(e===t)return!0;if(typeof e!=typeof t)return!1;if("function"==typeof e&&e.toString()===t.toString())return!0;let n,r,o;if(e&&t&&"object"==typeof e){if(Array.isArray(e)){if(n=e.length,n!==t.length)return!1;for(r=n;0!=r--;)if(!So(e[r],t[r]))return!1;return!0}if(o=Object.keys(e),n=o.length,n!==Object.keys(t).length)return!1;for(r=n;0!=r--;)if(!{}.hasOwnProperty.call(t,o[r]))return!1;for(r=n;0!=r--;){const n=o[r];if(!("_owner"===n&&e.$$typeof||So(e[n],t[n])))return!1}return!0}return e!=e&&t!=t}function ko(e){return typeof window>"u"?1:(e.ownerDocument.defaultView||window).devicePixelRatio||1}function _o(e,t){const n=ko(e);return Math.round(t*n)/n}function Oo(e){const t=n.useRef(e);return Eo((()=>{t.current=e})),t}const Ro=e=>({name:"arrow",options:e,fn(t){const{element:n,padding:r}="function"==typeof e?e(t):e;return n&&function(e){return{}.hasOwnProperty.call(e,"current")}(n)?null!=n.current?Ao({element:n.current,padding:r}).fn(t):{}:n?Ao({element:n,padding:r}).fn(t):{}}}),Po=(e,t)=>({...bo(e),options:[e,t]}),jo=(e,t)=>({...xo(e),options:[e,t]}),To=(e,t)=>({...wo(e),options:[e,t]}),Mo=(e,t)=>({...Co(e),options:[e,t]}),No=(e,t)=>({...Ro(e),options:[e,t]}),Lo={...r},Do=Lo.useInsertionEffect||(e=>e());function Io(e){const t=n.useRef((()=>{}));return Do((()=>{t.current=e})),n.useCallback((function(){for(var e=arguments.length,n=new Array(e),r=0;r<e;r++)n[r]=arguments[r];return null==t.current?void 0:t.current(...n)}),[])}const Fo="ArrowUp",Bo="ArrowDown",zo="ArrowLeft",Vo="ArrowRight";function Ho(e,t,n){return Math.floor(e/t)!==n}function Wo(e,t){return t<0||t>=e.current.length}function Uo(e,t){return qo(e,{disabledIndices:t})}function Zo(e,t){return qo(e,{decrement:!0,startingIndex:e.current.length,disabledIndices:t})}function qo(e,t){let{startingIndex:n=-1,decrement:r=!1,disabledIndices:o,amount:i=1}=void 0===t?{}:t;const a=e.current;let s=n;do{s+=r?-i:i}while(s>=0&&s<=a.length-1&&Qo(a,s,o));return s}function Yo(e,t,n,r,o){if(-1===e)return-1;const i=n.indexOf(e),a=t[e];switch(o){case"tl":return i;case"tr":return a?i+a.width-1:i;case"bl":return a?i+(a.height-1)*r:i;case"br":return n.lastIndexOf(e)}}function Ko(e,t){return t.flatMap(((t,n)=>e.includes(t)?[n]:[]))}function Qo(e,t,n){if(n)return n.includes(t);const r=e[t];return null==r||r.hasAttribute("disabled")||"true"===r.getAttribute("aria-disabled")}var Go=typeof document<"u"?n.useLayoutEffect:n.useEffect;function Xo(){return Xo=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},Xo.apply(this,arguments)}let Jo=!1,$o=0;const ei=()=>"floating-ui-"+Math.random().toString(36).slice(2,6)+$o++,ti=Lo.useId||function(){const[e,t]=n.useState((()=>Jo?ei():void 0));return Go((()=>{null==e&&t(ei())}),[]),n.useEffect((()=>{Jo=!0}),[]),e},ni=n.forwardRef((function(e,t){const{context:{placement:r,elements:{floating:o},middlewareData:{arrow:i,shift:a}},width:s=14,height:l=7,tipRadius:c=0,strokeWidth:u=0,staticOffset:d,stroke:f,d:h,style:{transform:p,...m}={},...g}=e,y=ti(),[v,b]=n.useState(!1);if(Go((()=>{o&&"rtl"===Gn(o).direction&&b(!0)}),[o]),!o)return null;const[x,w]=r.split("-"),C="top"===x||"bottom"===x;let A=d;(C&&null!=a&&a.x||!C&&null!=a&&a.y)&&(A=null);const E=2*u,S=E/2,k=s/2*(c/-8+1),_=l/2*c/4,O=!!h,R=A&&"end"===w?"bottom":"top";let P=A&&"end"===w?"right":"left";A&&v&&(P="end"===w?"left":"right");const j=null!=(null==i?void 0:i.x)?A||i.x:"",T=null!=(null==i?void 0:i.y)?A||i.y:"",M=h||"M0,0 H"+s+" L"+(s-k)+","+(l-_)+" Q"+s/2+","+l+" "+k+","+(l-_)+" Z",N={top:O?"rotate(180deg)":"",left:O?"rotate(90deg)":"rotate(-90deg)",bottom:O?"":"rotate(180deg)",right:O?"rotate(-90deg)":"rotate(90deg)"}[x];return n.createElement("svg",Xo({},g,{"aria-hidden":!0,ref:t,width:O?s:s+E,height:s,viewBox:"0 0 "+s+" "+(l>s?l:s),style:{position:"absolute",pointerEvents:"none",[P]:j,[R]:T,[x]:C||O?"100%":"calc(100% - "+E/2+"px)",transform:[N,p].filter((e=>!!e)).join(" "),...m}}),E>0&&n.createElement("path",{clipPath:"url(#"+y+")",fill:"none",stroke:f,strokeWidth:E+(h?0:1),d:M}),n.createElement("path",{stroke:E&&!h?g.fill:"none",d:M}),n.createElement("clipPath",{id:y},n.createElement("rect",{x:-S,y:S*(O?-1:1),width:s+E,height:s})))})),ri=n.createContext(null),oi=n.createContext(null),ii=()=>{var e;return(null==(e=n.useContext(ri))?void 0:e.id)||null},ai=()=>n.useContext(oi);function si(e){return"data-floating-ui-"+e}function li(e){const t=(0,n.useRef)(e);return Go((()=>{t.current=e})),t}const ci=si("safe-polygon");function ui(e,t,n){return n&&!dr(n)?0:"number"==typeof e?e:null==e?void 0:e[t]}let di=0;function fi(e,t){void 0===t&&(t={});const{preventScroll:n=!1,cancelPrevious:r=!0,sync:o=!1}=t;r&&cancelAnimationFrame(di);const i=()=>null==e?void 0:e.focus({preventScroll:n});o?i():di=requestAnimationFrame(i)}function hi(e,t){let n=e.filter((e=>{var n;return e.parentId===t&&(null==(n=e.context)?void 0:n.open)})),r=n;for(;r.length;)r=e.filter((e=>{var t;return null==(t=r)?void 0:t.some((t=>{var n;return e.parentId===t.id&&(null==(n=e.context)?void 0:n.open)}))})),n=n.concat(r);return n}let pi=new WeakMap,mi=new WeakSet,gi={},yi=0;const vi=e=>e&&(e.host||vi(e.parentNode));function bi(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!1);const r=fr(e[0]).body;return function(e,t,n,r){const o="data-floating-ui-inert",i=r?"inert":n?"aria-hidden":null,a=((e,t)=>t.map((t=>{if(e.contains(t))return t;const n=vi(t);return e.contains(n)?n:null})).filter((e=>null!=e)))(t,e),s=new Set,l=new Set(a),c=[];gi[o]||(gi[o]=new WeakMap);const u=gi[o];return a.forEach((function e(t){!t||s.has(t)||(s.add(t),t.parentNode&&e(t.parentNode))})),function e(t){!t||l.has(t)||[].forEach.call(t.children,(t=>{if("script"!==In(t))if(s.has(t))e(t);else{const e=i?t.getAttribute(i):null,n=null!==e&&"false"!==e,r=(pi.get(t)||0)+1,a=(u.get(t)||0)+1;pi.set(t,r),u.set(t,a),c.push(t),1===r&&n&&mi.add(t),1===a&&t.setAttribute(o,""),!n&&i&&t.setAttribute(i,"true")}}))}(t),s.clear(),yi++,()=>{c.forEach((e=>{const t=(pi.get(e)||0)-1,n=(u.get(e)||0)-1;pi.set(e,t),u.set(e,n),t||(!mi.has(e)&&i&&e.removeAttribute(i),mi.delete(e)),n||e.removeAttribute(o)})),yi--,yi||(pi=new WeakMap,pi=new WeakMap,mi=new WeakSet,gi={})}}(e.concat(Array.from(r.querySelectorAll("[aria-live]"))),r,t,n)}const xi=()=>({getShadowRoot:!0,displayCheck:"function"==typeof ResizeObserver&&ResizeObserver.toString().includes("[native code]")?"full":"none"});function wi(e,t){const n=Jr(e,xi());"prev"===t&&n.reverse();const r=n.indexOf(nr(fr(e)));return n.slice(r+1)[0]}function Ci(){return wi(document.body,"next")}function Ai(){return wi(document.body,"prev")}function Ei(e,t){const n=t||e.currentTarget,r=e.relatedTarget;return!r||!rr(n,r)}function Si(e){Jr(e,xi()).forEach((e=>{e.dataset.tabindex=e.getAttribute("tabindex")||"",e.setAttribute("tabindex","-1")}))}function ki(e){e.querySelectorAll("[data-tabindex]").forEach((e=>{const t=e.dataset.tabindex;delete e.dataset.tabindex,t?e.setAttribute("tabindex",t):e.removeAttribute("tabindex")}))}const _i={border:0,clip:"rect(0 0 0 0)",height:"1px",margin:"-1px",overflow:"hidden",padding:0,position:"fixed",whiteSpace:"nowrap",width:"1px",top:0,left:0};function Oi(e){"Tab"===e.key&&(e.target,clearTimeout(void 0))}const Ri=n.forwardRef((function(e,t){const[r,o]=n.useState();Go((()=>(lr()&&o("button"),document.addEventListener("keydown",Oi),()=>{document.removeEventListener("keydown",Oi)})),[]);const i={ref:t,tabIndex:0,role:r,"aria-hidden":!r||void 0,[si("focus-guard")]:"",style:_i};return n.createElement("span",Xo({},e,i))})),Pi=n.createContext(null),ji=si("portal");function Ti(e){const{children:t,id:r,root:o,preserveTabOrder:i=!0}=e,a=function(e){void 0===e&&(e={});const{id:t,root:r}=e,o=ti(),i=Mi(),[a,s]=n.useState(null),l=n.useRef(null);return Go((()=>()=>{null==a||a.remove(),queueMicrotask((()=>{l.current=null}))}),[a]),Go((()=>{if(!o||l.current)return;const e=t?document.getElementById(t):null;if(!e)return;const n=document.createElement("div");n.id=o,n.setAttribute(ji,""),e.appendChild(n),l.current=n,s(n)}),[t,o]),Go((()=>{if(null===r||!o||l.current)return;let e=r||(null==i?void 0:i.portalNode);e&&!Vn(e)&&(e=e.current),e=e||document.body;let n=null;t&&(n=document.createElement("div"),n.id=t,e.appendChild(n));const a=document.createElement("div");a.id=o,a.setAttribute(ji,""),e=n||e,e.appendChild(a),l.current=a,s(a)}),[t,r,o,i]),a}({id:r,root:o}),[s,l]=n.useState(null),c=n.useRef(null),u=n.useRef(null),d=n.useRef(null),f=n.useRef(null),h=null==s?void 0:s.modal,p=null==s?void 0:s.open,m=!!s&&!s.modal&&s.open&&i&&!(!o&&!a);return n.useEffect((()=>{if(a&&i&&!h)return a.addEventListener("focusin",e,!0),a.addEventListener("focusout",e,!0),()=>{a.removeEventListener("focusin",e,!0),a.removeEventListener("focusout",e,!0)};function e(e){a&&Ei(e)&&("focusin"===e.type?ki:Si)(a)}}),[a,i,h]),n.useEffect((()=>{a&&(p||ki(a))}),[p,a]),n.createElement(Pi.Provider,{value:n.useMemo((()=>({preserveTabOrder:i,beforeOutsideRef:c,afterOutsideRef:u,beforeInsideRef:d,afterInsideRef:f,portalNode:a,setFocusManagerState:l})),[i,a])},m&&a&&n.createElement(Ri,{"data-type":"outside",ref:c,onFocus:e=>{if(Ei(e,a)){var t;null==(t=d.current)||t.focus()}else{const e=Ai()||(null==s?void 0:s.refs.domReference.current);null==e||e.focus()}}}),m&&a&&n.createElement("span",{"aria-owns":a.id,style:_i}),a&&Ue.createPortal(t,a),m&&a&&n.createElement(Ri,{"data-type":"outside",ref:u,onFocus:e=>{if(Ei(e,a)){var t;null==(t=f.current)||t.focus()}else{const t=Ci()||(null==s?void 0:s.refs.domReference.current);null==t||t.focus(),null!=s&&s.closeOnFocusOut&&(null==s||s.onOpenChange(!1,e.nativeEvent,"focus-out"))}}}))}const Mi=()=>n.useContext(Pi),Ni="data-floating-ui-focusable";function Li(e){return e?e.hasAttribute(Ni)?e:e.querySelector("["+Ni+"]")||e:null}let Di=[];function Ii(e){Di=Di.filter((e=>e.isConnected));let t=e;if(t&&"body"!==In(t)){if(!function(e,t){if(t=t||{},!e)throw new Error("No node provided");return!1!==Br.call(e,Ir)&&Qr(t,e)}(t,xi())){const e=Jr(t,xi())[0];e&&(t=e)}Di.push(t),Di.length>20&&(Di=Di.slice(-20))}}function Fi(){return Di.slice().reverse().find((e=>e.isConnected))}const Bi=n.forwardRef((function(e,t){return n.createElement("button",Xo({},e,{type:"button",ref:t,tabIndex:-1,style:_i}))}));function zi(e){const{context:t,children:r,disabled:o=!1,order:i=["content"],guards:a=!0,initialFocus:s=0,returnFocus:l=!0,restoreFocus:c=!1,modal:u=!0,visuallyHiddenDismiss:d=!1,closeOnFocusOut:f=!0}=e,{open:h,refs:p,nodeId:m,onOpenChange:g,events:y,dataRef:v,floatingId:b,elements:{domReference:x,floating:w}}=t,C="number"==typeof s&&s<0,A=yr(x)&&C,E=!(typeof HTMLElement<"u"&&"inert"in HTMLElement.prototype)||a,S=li(i),k=li(s),_=li(l),O=ai(),R=Mi(),P=n.useRef(null),j=n.useRef(null),T=n.useRef(!1),M=n.useRef(!1),N=n.useRef(-1),L=null!=R,D=Li(w),I=Io((function(e){return void 0===e&&(e=D),e?Jr(e,xi()):[]})),F=Io((e=>{const t=I(e);return S.current.map((e=>x&&"reference"===e?x:D&&"floating"===e?D:t)).filter(Boolean).flat()}));function B(e){return!o&&d&&u?n.createElement(Bi,{ref:"start"===e?P:j,onClick:e=>g(!1,e.nativeEvent)},"string"==typeof d?d:"Dismiss"):null}n.useEffect((()=>{if(o||!u)return;function e(e){if("Tab"===e.key){rr(D,nr(fr(D)))&&0===I().length&&!A&&gr(e);const t=F(),n=pr(e);"reference"===S.current[0]&&n===x&&(gr(e),e.shiftKey?fi(t[t.length-1]):fi(t[1])),"floating"===S.current[1]&&n===D&&e.shiftKey&&(gr(e),fi(t[0]))}}const t=fr(D);return t.addEventListener("keydown",e),()=>{t.removeEventListener("keydown",e)}}),[o,x,D,u,S,A,I,F]),n.useEffect((()=>{if(!o&&w)return w.addEventListener("focusin",e),()=>{w.removeEventListener("focusin",e)};function e(e){const t=pr(e),n=I().indexOf(t);-1!==n&&(N.current=n)}}),[o,w,I]),n.useEffect((()=>{if(!o&&f)return w&&Hn(x)?(x.addEventListener("focusout",t),x.addEventListener("pointerdown",e),w.addEventListener("focusout",t),()=>{x.removeEventListener("focusout",t),x.removeEventListener("pointerdown",e),w.removeEventListener("focusout",t)}):void 0;function e(){M.current=!0,setTimeout((()=>{M.current=!1}))}function t(e){const t=e.relatedTarget;queueMicrotask((()=>{const n=!(rr(x,t)||rr(w,t)||rr(t,w)||rr(null==R?void 0:R.portalNode,t)||null!=t&&t.hasAttribute(si("focus-guard"))||O&&(hi(O.nodesRef.current,m).find((e=>{var n,r;return rr(null==(n=e.context)?void 0:n.elements.floating,t)||rr(null==(r=e.context)?void 0:r.elements.domReference,t)}))||function(e,t){var n;let r=[],o=null==(n=e.find((e=>e.id===t)))?void 0:n.parentId;for(;o;){const t=e.find((e=>e.id===o));o=null==t?void 0:t.parentId,t&&(r=r.concat(t))}return r}(O.nodesRef.current,m).find((e=>{var n,r;return(null==(n=e.context)?void 0:n.elements.floating)===t||(null==(r=e.context)?void 0:r.elements.domReference)===t}))));if(c&&n&&nr(fr(D))===fr(D).body){Hn(D)&&D.focus();const e=N.current,t=I(),n=t[e]||t[t.length-1]||D;Hn(n)&&n.focus()}(A||!u)&&t&&n&&!M.current&&t!==Fi()&&(T.current=!0,g(!1,e,"focus-out"))}))}}),[o,x,w,D,u,m,O,R,g,f,c,I,A]),n.useEffect((()=>{var e;if(o)return;const t=Array.from((null==R||null==(e=R.portalNode)?void 0:e.querySelectorAll("["+si("portal")+"]"))||[]);if(w){const e=[w,...t,P.current,j.current,S.current.includes("reference")||A?x:null].filter((e=>null!=e)),n=u||A?bi(e,E,!E):bi(e);return()=>{n()}}}),[o,x,w,u,S,R,A,E]),Go((()=>{if(o||!Hn(D))return;const e=nr(fr(D));queueMicrotask((()=>{const t=F(D),n=k.current,r=("number"==typeof n?t[n]:n.current)||D,o=rr(D,e);!C&&!o&&h&&fi(r,{preventScroll:r===D})}))}),[o,h,D,C,F,k]),Go((()=>{if(o||!D)return;let e=!1;const t=fr(D),n=nr(t);let r=v.current.openEvent;function i(t){let{open:n,reason:o,event:i,nested:a}=t;n&&(r=i),"escape-key"===o&&p.domReference.current&&Ii(p.domReference.current),"hover"===o&&"mouseleave"===i.type&&(T.current=!0),"outside-press"===o&&(a?(T.current=!1,e=!0):T.current=!(ar(i)||sr(i)))}Ii(n),y.on("openchange",i);const a=t.createElement("span");return a.setAttribute("tabindex","-1"),a.setAttribute("aria-hidden","true"),Object.assign(a.style,_i),L&&x&&x.insertAdjacentElement("afterend",a),()=>{y.off("openchange",i);const n=nr(t),o=rr(w,n)||O&&hi(O.nodesRef.current,m).some((e=>{var t;return rr(null==(t=e.context)?void 0:t.elements.floating,n)}));(o||r&&["click","mousedown"].includes(r.type))&&p.domReference.current&&Ii(p.domReference.current);const s="boolean"==typeof _.current?Fi()||a:_.current.current||a;queueMicrotask((()=>{_.current&&!T.current&&Hn(s)&&(!(s!==n&&n!==t.body)||o)&&s.focus({preventScroll:e}),a.remove()}))}}),[o,w,D,_,v,p,y,O,m,L,x]),n.useEffect((()=>{queueMicrotask((()=>{T.current=!1}))}),[o]),Go((()=>{if(!o&&R)return R.setFocusManagerState({modal:u,closeOnFocusOut:f,open:h,onOpenChange:g,refs:p}),()=>{R.setFocusManagerState(null)}}),[o,R,u,h,g,p,f]),Go((()=>{if(o||!D||"function"!=typeof MutationObserver||C)return;const e=()=>{const e=D.getAttribute("tabindex"),t=I(),n=nr(fr(w)),r=t.indexOf(n);-1!==r&&(N.current=r),S.current.includes("floating")||n!==p.domReference.current&&0===t.length?"0"!==e&&D.setAttribute("tabindex","0"):"-1"!==e&&D.setAttribute("tabindex","-1")};e();const t=new MutationObserver(e);return t.observe(D,{childList:!0,subtree:!0,attributes:!0}),()=>{t.disconnect()}}),[o,w,D,p,S,I,C]);const z=!o&&E&&(!u||!A)&&(L||u);return n.createElement(n.Fragment,null,z&&n.createElement(Ri,{"data-type":"inside",ref:null==R?void 0:R.beforeInsideRef,onFocus:e=>{if(u){const e=F();fi("reference"===i[0]?e[0]:e[e.length-1])}else if(null!=R&&R.preserveTabOrder&&R.portalNode)if(T.current=!1,Ei(e,R.portalNode)){const e=Ci()||x;null==e||e.focus()}else{var t;null==(t=R.beforeOutsideRef.current)||t.focus()}}}),!A&&B("start"),r,B("end"),z&&n.createElement(Ri,{"data-type":"inside",ref:null==R?void 0:R.afterInsideRef,onFocus:e=>{if(u)fi(F()[0]);else if(null!=R&&R.preserveTabOrder&&R.portalNode)if(f&&(T.current=!0),Ei(e,R.portalNode)){const e=Ai()||x;null==e||e.focus()}else{var t;null==(t=R.afterOutsideRef.current)||t.focus()}}}))}function Vi(e){return Hn(e.target)&&"BUTTON"===e.target.tagName}function Hi(e){return mr(e)}function Wi(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,dataRef:i,elements:{domReference:a}}=e,{enabled:s=!0,event:l="click",toggle:c=!0,ignoreMouse:u=!1,keyboardHandlers:d=!0,stickIfOpen:f=!0}=t,h=n.useRef(),p=n.useRef(!1),m=n.useMemo((()=>({onPointerDown(e){h.current=e.pointerType},onMouseDown(e){const t=h.current;0===e.button&&"click"!==l&&(dr(t,!0)&&u||(!r||!c||i.current.openEvent&&f&&"mousedown"!==i.current.openEvent.type?(e.preventDefault(),o(!0,e.nativeEvent,"click")):o(!1,e.nativeEvent,"click")))},onClick(e){const t=h.current;"mousedown"===l&&h.current?h.current=void 0:dr(t,!0)&&u||(!r||!c||i.current.openEvent&&f&&"click"!==i.current.openEvent.type?o(!0,e.nativeEvent,"click"):o(!1,e.nativeEvent,"click"))},onKeyDown(e){h.current=void 0,!e.defaultPrevented&&d&&!Vi(e)&&(" "===e.key&&!Hi(a)&&(e.preventDefault(),p.current=!0),"Enter"===e.key&&o(!(r&&c),e.nativeEvent,"click"))},onKeyUp(e){e.defaultPrevented||!d||Vi(e)||Hi(a)||" "===e.key&&p.current&&(p.current=!1,o(!(r&&c),e.nativeEvent,"click"))}})),[i,a,l,u,d,o,r,f,c]);return n.useMemo((()=>s?{reference:m}:{}),[s,m])}const Ui={pointerdown:"onPointerDown",mousedown:"onMouseDown",click:"onClick"},Zi={pointerdown:"onPointerDownCapture",mousedown:"onMouseDownCapture",click:"onClickCapture"},qi=e=>{var t,n;return{escapeKey:"boolean"==typeof e?e:null!=(t=null==e?void 0:e.escapeKey)&&t,outsidePress:"boolean"==typeof e?e:null==(n=null==e?void 0:e.outsidePress)||n}};function Yi(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,elements:i,dataRef:a}=e,{enabled:s=!0,escapeKey:l=!0,outsidePress:c=!0,outsidePressEvent:u="pointerdown",referencePress:d=!1,referencePressEvent:f="pointerdown",ancestorScroll:h=!1,bubbles:p,capture:m}=t,g=ai(),y=Io("function"==typeof c?c:()=>!1),v="function"==typeof c?y:c,b=n.useRef(!1),x=n.useRef(!1),{escapeKey:w,outsidePress:C}=qi(p),{escapeKey:A,outsidePress:E}=qi(m),S=n.useRef(!1),k=Io((e=>{var t;if(!r||!s||!l||"Escape"!==e.key||S.current)return;const n=null==(t=a.current.floatingContext)?void 0:t.nodeId,i=g?hi(g.nodesRef.current,n):[];if(!w&&(e.stopPropagation(),i.length>0)){let e=!0;if(i.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__escapeKeyBubbles||(e=!1)})),!e)return}o(!1,function(e){return"nativeEvent"in e}(e)?e.nativeEvent:e,"escape-key")})),_=Io((e=>{var t;const n=()=>{var t;k(e),null==(t=pr(e))||t.removeEventListener("keydown",n)};null==(t=pr(e))||t.addEventListener("keydown",n)})),O=Io((e=>{var t;const n=b.current;b.current=!1;const r=x.current;if(x.current=!1,"click"===u&&r||n||"function"==typeof v&&!v(e))return;const s=pr(e),l="["+si("inert")+"]",c=fr(i.floating).querySelectorAll(l);let d=Vn(s)?s:null;for(;d&&!Qn(d);){const e=Jn(d);if(Qn(e)||!Vn(e))break;d=e}if(c.length&&Vn(s)&&!function(e){return e.matches("html,body")}(s)&&!rr(s,i.floating)&&Array.from(c).every((e=>!rr(d,e))))return;if(Hn(s)&&j){const t=s.clientWidth>0&&s.scrollWidth>s.clientWidth,n=s.clientHeight>0&&s.scrollHeight>s.clientHeight;let r=n&&e.offsetX>s.clientWidth;if(n&&"rtl"===Gn(s).direction&&(r=e.offsetX<=s.offsetWidth-s.clientWidth),r||t&&e.offsetY>s.clientHeight)return}const f=null==(t=a.current.floatingContext)?void 0:t.nodeId,h=g&&hi(g.nodesRef.current,f).some((t=>{var n;return hr(e,null==(n=t.context)?void 0:n.elements.floating)}));if(hr(e,i.floating)||hr(e,i.domReference)||h)return;const p=g?hi(g.nodesRef.current,f):[];if(p.length>0){let e=!0;if(p.forEach((t=>{var n;null==(n=t.context)||!n.open||t.context.dataRef.current.__outsidePressBubbles||(e=!1)})),!e)return}o(!1,e,"outside-press")})),R=Io((e=>{var t;const n=()=>{var t;O(e),null==(t=pr(e))||t.removeEventListener(u,n)};null==(t=pr(e))||t.addEventListener(u,n)}));n.useEffect((()=>{if(!r||!s)return;a.current.__escapeKeyBubbles=w,a.current.__outsidePressBubbles=C;let e=-1;function t(e){o(!1,e,"ancestor-scroll")}function n(){window.clearTimeout(e),S.current=!0}function c(){e=window.setTimeout((()=>{S.current=!1}),Kn()?5:0)}const d=fr(i.floating);l&&(d.addEventListener("keydown",A?_:k,A),d.addEventListener("compositionstart",n),d.addEventListener("compositionend",c)),v&&d.addEventListener(u,E?R:O,E);let f=[];return h&&(Vn(i.domReference)&&(f=er(i.domReference)),Vn(i.floating)&&(f=f.concat(er(i.floating))),!Vn(i.reference)&&i.reference&&i.reference.contextElement&&(f=f.concat(er(i.reference.contextElement)))),f=f.filter((e=>{var t;return e!==(null==(t=d.defaultView)?void 0:t.visualViewport)})),f.forEach((e=>{e.addEventListener("scroll",t,{passive:!0})})),()=>{l&&(d.removeEventListener("keydown",A?_:k,A),d.removeEventListener("compositionstart",n),d.removeEventListener("compositionend",c)),v&&d.removeEventListener(u,E?R:O,E),f.forEach((e=>{e.removeEventListener("scroll",t)})),window.clearTimeout(e)}}),[a,i,l,v,u,r,o,h,s,w,C,k,A,_,O,E,R]),n.useEffect((()=>{b.current=!1}),[v,u]);const P=n.useMemo((()=>({onKeyDown:k,[Ui[f]]:e=>{d&&o(!1,e.nativeEvent,"reference-press")}})),[k,o,d,f]),j=n.useMemo((()=>({onKeyDown:k,onMouseDown(){x.current=!0},onMouseUp(){x.current=!0},[Zi[u]]:()=>{b.current=!0}})),[k,u]);return n.useMemo((()=>s?{reference:P,floating:j}:{}),[s,P,j])}function Ki(e){void 0===e&&(e={});const{nodeId:t}=e,r=function(e){const{open:t=!1,onOpenChange:r,elements:o}=e,i=ti(),a=n.useRef({}),[s]=n.useState((()=>function(){const e=new Map;return{emit(t,n){var r;null==(r=e.get(t))||r.forEach((e=>e(n)))},on(t,n){e.set(t,[...e.get(t)||[],n])},off(t,n){var r;e.set(t,(null==(r=e.get(t))?void 0:r.filter((e=>e!==n)))||[])}}}())),l=null!=ii(),[c,u]=n.useState(o.reference),d=Io(((e,t,n)=>{a.current.openEvent=e?t:void 0,s.emit("openchange",{open:e,event:t,reason:n,nested:l}),null==r||r(e,t,n)})),f=n.useMemo((()=>({setPositionReference:u})),[]),h=n.useMemo((()=>({reference:c||o.reference||null,floating:o.floating||null,domReference:o.reference})),[c,o.reference,o.floating]);return n.useMemo((()=>({dataRef:a,open:t,onOpenChange:d,elements:h,events:s,floatingId:i,refs:f})),[t,d,h,s,i,f])}({...e,elements:{reference:null,floating:null,...e.elements}}),o=e.rootContext||r,i=o.elements,[a,s]=n.useState(null),[l,c]=n.useState(null),u=(null==i?void 0:i.domReference)||a,d=n.useRef(null),f=ai();Go((()=>{u&&(d.current=u)}),[u]);const h=function(e){void 0===e&&(e={});const{placement:t="bottom",strategy:r="absolute",middleware:o=[],platform:i,elements:{reference:a,floating:s}={},transform:l=!0,whileElementsMounted:c,open:u}=e,[d,f]=n.useState({x:0,y:0,strategy:r,placement:t,middlewareData:{},isPositioned:!1}),[h,p]=n.useState(o);So(h,o)||p(o);const[m,g]=n.useState(null),[y,v]=n.useState(null),b=n.useCallback((e=>{e!==A.current&&(A.current=e,g(e))}),[]),x=n.useCallback((e=>{e!==E.current&&(E.current=e,v(e))}),[]),w=a||m,C=s||y,A=n.useRef(null),E=n.useRef(null),S=n.useRef(d),k=null!=c,_=Oo(c),O=Oo(i),R=Oo(u),P=n.useCallback((()=>{if(!A.current||!E.current)return;const e={placement:t,strategy:r,middleware:h};O.current&&(e.platform=O.current),((e,t,n)=>{const r=new Map,o={platform:yo,...n},i={...o.platform,_c:r};return(async(e,t,n)=>{const{placement:r="bottom",strategy:o="absolute",middleware:i=[],platform:a}=n,s=i.filter(Boolean),l=await(null==a.isRTL?void 0:a.isRTL(t));let c=await a.getElementRects({reference:e,floating:t,strategy:o}),{x:u,y:d}=$r(c,r,l),f=r,h={},p=0;for(let n=0;n<s.length;n++){const{name:i,fn:m}=s[n],{x:g,y,data:v,reset:b}=await m({x:u,y:d,initialPlacement:r,placement:f,strategy:o,middlewareData:h,rects:c,platform:a,elements:{reference:e,floating:t}});u=g??u,d=y??d,h={...h,[i]:{...h[i],...v}},b&&p<=50&&(p++,"object"==typeof b&&(b.placement&&(f=b.placement),b.rects&&(c=!0===b.rects?await a.getElementRects({reference:e,floating:t,strategy:o}):b.rects),({x:u,y:d}=$r(c,f,l))),n=-1)}return{x:u,y:d,placement:f,strategy:o,middlewareData:h}})(e,t,{...o,platform:i})})(A.current,E.current,e).then((e=>{const t={...e,isPositioned:!1!==R.current};j.current&&!So(S.current,t)&&(S.current=t,Ue.flushSync((()=>{f(t)})))}))}),[h,t,r,O,R]);Eo((()=>{!1===u&&S.current.isPositioned&&(S.current.isPositioned=!1,f((e=>({...e,isPositioned:!1}))))}),[u]);const j=n.useRef(!1);Eo((()=>(j.current=!0,()=>{j.current=!1})),[]),Eo((()=>{if(w&&(A.current=w),C&&(E.current=C),w&&C){if(_.current)return _.current(w,C,P);P()}}),[w,C,P,_,k]);const T=n.useMemo((()=>({reference:A,floating:E,setReference:b,setFloating:x})),[b,x]),M=n.useMemo((()=>({reference:w,floating:C})),[w,C]),N=n.useMemo((()=>{const e={position:r,left:0,top:0};if(!M.floating)return e;const t=_o(M.floating,d.x),n=_o(M.floating,d.y);return l?{...e,transform:"translate("+t+"px, "+n+"px)",...ko(M.floating)>=1.5&&{willChange:"transform"}}:{position:r,left:t,top:n}}),[r,l,M.floating,d.x,d.y]);return n.useMemo((()=>({...d,update:P,refs:T,elements:M,floatingStyles:N})),[d,P,T,M,N])}({...e,elements:{...i,...l&&{reference:l}}}),p=n.useCallback((e=>{const t=Vn(e)?{getBoundingClientRect:()=>e.getBoundingClientRect(),contextElement:e}:e;c(t),h.refs.setReference(t)}),[h.refs]),m=n.useCallback((e=>{(Vn(e)||null===e)&&(d.current=e,s(e)),(Vn(h.refs.reference.current)||null===h.refs.reference.current||null!==e&&!Vn(e))&&h.refs.setReference(e)}),[h.refs]),g=n.useMemo((()=>({...h.refs,setReference:m,setPositionReference:p,domReference:d})),[h.refs,m,p]),y=n.useMemo((()=>({...h.elements,domReference:u})),[h.elements,u]),v=n.useMemo((()=>({...h,...o,refs:g,elements:y,nodeId:t})),[h,g,y,t,o]);return Go((()=>{o.dataRef.current.floatingContext=v;const e=null==f?void 0:f.nodesRef.current.find((e=>e.id===t));e&&(e.context=v)})),n.useMemo((()=>({...h,context:v,refs:g,elements:y})),[h,g,y,v])}const Qi="active",Gi="selected";function Xi(e,t,n){const r=new Map,o="item"===n;let i=e;if(o&&e){const{[Qi]:t,[Gi]:n,...r}=e;i=r}return{..."floating"===n&&{tabIndex:-1,[Ni]:""},...i,...t.map((t=>{const r=t?t[n]:null;return"function"==typeof r?e?r(e):null:r})).concat(e).reduce(((e,t)=>(t&&Object.entries(t).forEach((t=>{let[n,i]=t;if(!o||![Qi,Gi].includes(n))if(0===n.indexOf("on")){var a;r.has(n)||r.set(n,[]),"function"==typeof i&&(null==(a=r.get(n))||a.push(i),e[n]=function(){for(var e,t=arguments.length,o=new Array(t),i=0;i<t;i++)o[i]=arguments[i];return null==(e=r.get(n))?void 0:e.map((e=>e(...o))).find((e=>void 0!==e))})}else e[n]=i})),e)),{})}}function Ji(e){void 0===e&&(e=[]);const t=e.map((e=>null==e?void 0:e.reference)),r=e.map((e=>null==e?void 0:e.floating)),o=e.map((e=>null==e?void 0:e.item)),i=n.useCallback((t=>Xi(t,e,"reference")),t),a=n.useCallback((t=>Xi(t,e,"floating")),r),s=n.useCallback((t=>Xi(t,e,"item")),o);return n.useMemo((()=>({getReferenceProps:i,getFloatingProps:a,getItemProps:s})),[i,a,s])}let $i=!1;function ea(e,t,n){switch(e){case"vertical":return t;case"horizontal":return n;default:return t||n}}function ta(e,t){return ea(t,e===Fo||e===Bo,e===zo||e===Vo)}function na(e,t,n){return ea(t,e===Bo,n?e===zo:e===Vo)||"Enter"===e||" "===e||""===e}function ra(e,t,n){return ea(t,n?e===Vo:e===zo,e===Fo)}const oa=new Map([["select","listbox"],["combobox","listbox"],["label",!1]]);function ia(e,t){var r;void 0===t&&(t={});const{open:o,floatingId:i}=e,{enabled:a=!0,role:s="dialog"}=t,l=null!=(r=oa.get(s))?r:s,c=ti(),u=null!=ii(),d=n.useMemo((()=>"tooltip"===l||"label"===s?{["aria-"+("label"===s?"labelledby":"describedby")]:o?i:void 0}:{"aria-expanded":o?"true":"false","aria-haspopup":"alertdialog"===l?"dialog":l,"aria-controls":o?i:void 0,..."listbox"===l&&{role:"combobox"},..."menu"===l&&{id:c},..."menu"===l&&u&&{role:"menuitem"},..."select"===s&&{"aria-autocomplete":"none"},..."combobox"===s&&{"aria-autocomplete":"list"}}),[l,i,u,o,c,s]),f=n.useMemo((()=>{const e={id:i,...l&&{role:l}};return"tooltip"===l||"label"===s?e:{...e,..."menu"===l&&{"aria-labelledby":c}}}),[l,i,c,s]),h=n.useCallback((e=>{let{active:t,selected:n}=e;const r={role:"option",...t&&{id:i+"-option"}};switch(s){case"select":return{...r,"aria-selected":t&&n};case"combobox":return{...r,...t&&{"aria-selected":!0}}}return{}}),[i,s]);return n.useMemo((()=>a?{reference:d,floating:f,item:h}:{}),[a,d,f,h])}const aa=e=>e.replace(/[A-Z]+(?![a-z])|[A-Z]/g,((e,t)=>(t?"-":"")+e.toLowerCase()));function sa(e,t){return"function"==typeof e?e(t):e}function la(e,t){void 0===t&&(t={});const{initial:r={opacity:0},open:o,close:i,common:a,duration:s=250}=t,l=e.placement,c=l.split("-")[0],u=n.useMemo((()=>({side:c,placement:l})),[c,l]),d="number"==typeof s,f=(d?s:s.open)||0,h=(d?s:s.close)||0,[p,m]=n.useState((()=>({...sa(a,u),...sa(r,u)}))),{isMounted:g,status:y}=function(e,t){void 0===t&&(t={});const{open:r,elements:{floating:o}}=e,{duration:i=250}=t,a=("number"==typeof i?i:i.close)||0,[s,l]=n.useState("unmounted"),c=function(e,t){const[r,o]=n.useState(e);return e&&!r&&o(!0),n.useEffect((()=>{if(!e&&r){const e=setTimeout((()=>o(!1)),t);return()=>clearTimeout(e)}}),[e,r,t]),r}(r,a);return!c&&"close"===s&&l("unmounted"),Go((()=>{if(o){if(r){l("initial");const e=requestAnimationFrame((()=>{l("open")}));return()=>{cancelAnimationFrame(e)}}l("close")}}),[r,o]),{isMounted:c,status:s}}(e,{duration:s}),v=li(r),b=li(o),x=li(i),w=li(a);return Go((()=>{const e=sa(v.current,u),t=sa(x.current,u),n=sa(w.current,u),r=sa(b.current,u)||Object.keys(e).reduce(((e,t)=>(e[t]="",e)),{});if("initial"===y&&m((t=>({transitionProperty:t.transitionProperty,...n,...e}))),"open"===y&&m({transitionProperty:Object.keys(r).map(aa).join(","),transitionDuration:f+"ms",...n,...r}),"close"===y){const r=t||e;m({transitionProperty:Object.keys(r).map(aa).join(","),transitionDuration:h+"ms",...n,...r})}}),[h,x,v,b,w,f,y,u]),{isMounted:g,styles:p}}function ca(e,t){const[n,r]=e;let o=!1;const i=t.length;for(let e=0,a=i-1;e<i;a=e++){const[i,s]=t[e]||[0,0],[l,c]=t[a]||[0,0];s>=r!=c>=r&&n<=(l-i)*(r-s)/(c-s)+i&&(o=!o)}return o}function ua(e){void 0===e&&(e={});const{buffer:t=.5,blockPointerEvents:n=!1,requireIntent:r=!0}=e;let o,i=!1,a=null,s=null,l=performance.now();const c=e=>{let{x:n,y:c,placement:u,elements:d,onClose:f,nodeId:h,tree:p}=e;return function(e){function m(){clearTimeout(o),f()}if(clearTimeout(o),!d.domReference||!d.floating||null==u||null==n||null==c)return;const{clientX:g,clientY:y}=e,v=[g,y],b=pr(e),x="mouseleave"===e.type,w=rr(d.floating,b),C=rr(d.domReference,b),A=d.domReference.getBoundingClientRect(),E=d.floating.getBoundingClientRect(),S=u.split("-")[0],k=n>E.right-E.width/2,_=c>E.bottom-E.height/2,O=function(e,t){return e[0]>=t.x&&e[0]<=t.x+t.width&&e[1]>=t.y&&e[1]<=t.y+t.height}(v,A),R=E.width>A.width,P=E.height>A.height,j=(R?A:E).left,T=(R?A:E).right,M=(P?A:E).top,N=(P?A:E).bottom;if(w&&(i=!0,!x))return;if(C&&(i=!1),C&&!x)return void(i=!0);if(x&&Vn(e.relatedTarget)&&rr(d.floating,e.relatedTarget)||p&&hi(p.nodesRef.current,h).some((e=>{let{context:t}=e;return null==t?void 0:t.open})))return;if("top"===S&&c>=A.bottom-1||"bottom"===S&&c<=A.top+1||"left"===S&&n>=A.right-1||"right"===S&&n<=A.left+1)return m();let L=[];switch(S){case"top":L=[[j,A.top+1],[j,E.bottom-1],[T,E.bottom-1],[T,A.top+1]];break;case"bottom":L=[[j,E.top+1],[j,A.bottom-1],[T,A.bottom-1],[T,E.top+1]];break;case"left":L=[[E.right-1,N],[E.right-1,M],[A.left+1,M],[A.left+1,N]];break;case"right":L=[[A.right-1,N],[A.right-1,M],[E.left+1,M],[E.left+1,N]]}if(!ca([g,y],L)){if(i&&!O)return m();if(!x&&r){const t=function(e,t){const n=performance.now(),r=n-l;if(null===a||null===s||0===r)return a=e,s=t,l=n,null;const o=e-a,i=t-s,c=Math.sqrt(o*o+i*i)/r;return a=e,s=t,l=n,c}(e.clientX,e.clientY);if(null!==t&&t<.1)return m()}ca([g,y],function(e){let[n,r]=e;switch(S){case"top":return[[R?n+t/2:k?n+4*t:n-4*t,r+t+1],[R?n-t/2:k?n+4*t:n-4*t,r+t+1],[E.left,k||R?E.bottom-t:E.top],[E.right,k?R?E.bottom-t:E.top:E.bottom-t]];case"bottom":return[[R?n+t/2:k?n+4*t:n-4*t,r-t],[R?n-t/2:k?n+4*t:n-4*t,r-t],[E.left,k||R?E.top+t:E.bottom],[E.right,k?R?E.top+t:E.bottom:E.top+t]];case"left":{const e=[n+t+1,P?r+t/2:_?r+4*t:r-4*t],o=[n+t+1,P?r-t/2:_?r+4*t:r-4*t];return[[_||P?E.right-t:E.left,E.top],[_?P?E.right-t:E.left:E.right-t,E.bottom],e,o]}case"right":return[[n-t,P?r+t/2:_?r+4*t:r-4*t],[n-t,P?r-t/2:_?r+4*t:r-4*t],[_||P?E.left+t:E.right,E.top],[_?P?E.left+t:E.right:E.left+t,E.bottom]]}}([n,c]))?!i&&r&&(o=window.setTimeout(m,40)):m()}}};return c.__options={blockPointerEvents:n},c}const da="light",fa="neutral",ha=({icon:e,theme:t=da,variant:r=fa})=>{var o;const i="[&>svg]:h-5 [&>svg]:w-5",a=(({theme:e=da,variant:t=fa})=>{let n="light"===e?"text-icon-secondary":"text-icon-inverse";return n={info:"light"===e?"text-support-info":"text-support-info-inverse",success:"light"===e?"text-support-success":"text-support-success-inverse",warning:"light"===e?"text-support-warning":"text-support-warning-inverse",error:"light"===e?"text-support-error":"text-support-error-inverse"}[t]||n,n})({theme:t,variant:r});if(e&&(0,n.isValidElement)(e))return(0,n.cloneElement)(e,{className:Qt(i,a,(null==(o=null==e?void 0:e.props)?void 0:o.className)??"")});const s={neutral:(0,We.jsx)(vn,{className:Qt(i,a)}),info:(0,We.jsx)(vn,{className:Qt(i,a)}),success:(0,We.jsx)(fn,{className:Qt(i,a)}),warning:(0,We.jsx)(kn,{className:Qt(i,a)}),error:(0,We.jsx)(Sn,{className:Qt(i,a)})};return s[r]||s.neutral},pa=({actionType:e="button",onAction:t=()=>{},actionLabel:n="",theme:r=da})=>{const o="focus:ring-0 focus:ring-offset-0 ring-offset-0 focus:outline-none";let i="text-button-primary border-button-primary hover:border-button-primary hover:text-button-primary-hover";switch("dark"===r&&(i="text-text-inverse border-text-inverse hover:border-text-inverse hover:text-text-inverse"),e){case"button":return(0,We.jsx)(tn,{variant:"outline",size:"xs",onClick:t,className:Qt("rounded",o,i,"dark"===r?"bg-transparent hover:bg-transparent":"bg-white hover:bg-white"),children:n});case"link":return(0,We.jsx)(tn,{variant:"link",size:"xs",onClick:t,className:Qt(o,i),children:n});default:return null}},ma=({theme:e=da,title:t="",inline:n=!1})=>t?(0,We.jsx)("span",{className:Qt("block",{light:"text-text-primary",dark:"text-text-inverse"}[e],"text-sm leading-5 font-semibold",n?"inline":"block"),children:t}):null,ga=({theme:e=da,content:t="",inline:n=!1})=>t?(0,We.jsx)("span",{className:Qt({light:"text-text-primary",dark:"text-text-inverse"}[e],"block text-sm [&_*]:text-sm leading-5 [&_*]:leading-5 font-normal",n?"inline":"block"),children:t}):null,ya=(...e)=>t=>{e.forEach((e=>{"function"==typeof e?e(t):e&&(e.current=t)}))},va=({variant:e="dark",placement:t="bottom",title:r="",content:o,arrow:i=!1,open:a,setOpen:s,children:l,className:c,tooltipPortalRoot:u,tooltipPortalId:d,boundary:f="clippingAncestors",strategy:h="fixed",offset:p=8,triggers:m=["hover","focus"],interactive:g=!1})=>{const y=(0,n.useMemo)((()=>"boolean"==typeof a&&"function"==typeof s),[a,s]),[v,b]=(0,n.useState)(!1),x=(0,n.useRef)(null),{refs:w,floatingStyles:C,context:A}=Ki({open:y?a:v,onOpenChange:y?s:b,placement:t,strategy:h,middleware:[Po(p),To({boundary:f}),jo({boundary:f}),No({element:x})],whileElementsMounted:vo}),E=Wi(A,{enabled:!y&&m.includes("click")}),S=function(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,dataRef:i,events:a,elements:s}=e,{enabled:l=!0,delay:c=0,handleClose:u=null,mouseOnly:d=!1,restMs:f=0,move:h=!0}=t,p=ai(),m=ii(),g=li(u),y=li(c),v=li(r),b=n.useRef(),x=n.useRef(-1),w=n.useRef(),C=n.useRef(-1),A=n.useRef(!0),E=n.useRef(!1),S=n.useRef((()=>{})),k=n.useRef(!1),_=n.useCallback((()=>{var e;const t=null==(e=i.current.openEvent)?void 0:e.type;return(null==t?void 0:t.includes("mouse"))&&"mousedown"!==t}),[i]);n.useEffect((()=>{if(l)return a.on("openchange",e),()=>{a.off("openchange",e)};function e(e){let{open:t}=e;t||(clearTimeout(x.current),clearTimeout(C.current),A.current=!0,k.current=!1)}}),[l,a]),n.useEffect((()=>{if(!l||!g.current||!r)return;function e(e){_()&&o(!1,e,"hover")}const t=fr(s.floating).documentElement;return t.addEventListener("mouseleave",e),()=>{t.removeEventListener("mouseleave",e)}}),[s.floating,r,o,l,g,_]);const O=n.useCallback((function(e,t,n){void 0===t&&(t=!0),void 0===n&&(n="hover");const r=ui(y.current,"close",b.current);r&&!w.current?(clearTimeout(x.current),x.current=window.setTimeout((()=>o(!1,e,n)),r)):t&&(clearTimeout(x.current),o(!1,e,n))}),[y,o]),R=Io((()=>{S.current(),w.current=void 0})),P=Io((()=>{if(E.current){const e=fr(s.floating).body;e.style.pointerEvents="",e.removeAttribute(ci),E.current=!1}})),j=Io((()=>!!i.current.openEvent&&["click","mousedown"].includes(i.current.openEvent.type)));n.useEffect((()=>{if(l&&Vn(s.domReference)){var e;const o=s.domReference;return r&&o.addEventListener("mouseleave",a),null==(e=s.floating)||e.addEventListener("mouseleave",a),h&&o.addEventListener("mousemove",t,{once:!0}),o.addEventListener("mouseenter",t),o.addEventListener("mouseleave",n),()=>{var e;r&&o.removeEventListener("mouseleave",a),null==(e=s.floating)||e.removeEventListener("mouseleave",a),h&&o.removeEventListener("mousemove",t),o.removeEventListener("mouseenter",t),o.removeEventListener("mouseleave",n)}}function t(e){if(clearTimeout(x.current),A.current=!1,d&&!dr(b.current)||f>0&&!ui(y.current,"open"))return;const t=ui(y.current,"open",b.current);t?x.current=window.setTimeout((()=>{v.current||o(!0,e,"hover")}),t):r||o(!0,e,"hover")}function n(e){if(j())return;S.current();const t=fr(s.floating);if(clearTimeout(C.current),k.current=!1,g.current&&i.current.floatingContext){r||clearTimeout(x.current),w.current=g.current({...i.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){P(),R(),j()||O(e,!0,"safe-polygon")}});const n=w.current;return t.addEventListener("mousemove",n),void(S.current=()=>{t.removeEventListener("mousemove",n)})}("touch"!==b.current||!rr(s.floating,e.relatedTarget))&&O(e)}function a(e){j()||i.current.floatingContext&&(null==g.current||g.current({...i.current.floatingContext,tree:p,x:e.clientX,y:e.clientY,onClose(){P(),R(),j()||O(e)}})(e))}}),[s,l,e,d,f,h,O,R,P,o,r,v,p,y,g,i,j]),Go((()=>{var e;if(l&&r&&null!=(e=g.current)&&e.__options.blockPointerEvents&&_()){E.current=!0;const e=s.floating;if(Vn(s.domReference)&&e){var t;const n=fr(s.floating).body;n.setAttribute(ci,"");const r=s.domReference,o=null==p||null==(t=p.nodesRef.current.find((e=>e.id===m)))||null==(t=t.context)?void 0:t.elements.floating;return o&&(o.style.pointerEvents=""),n.style.pointerEvents="none",r.style.pointerEvents="auto",e.style.pointerEvents="auto",()=>{n.style.pointerEvents="",r.style.pointerEvents="",e.style.pointerEvents=""}}}}),[l,r,m,s,p,g,_]),Go((()=>{r||(b.current=void 0,k.current=!1,R(),P())}),[r,R,P]),n.useEffect((()=>()=>{R(),clearTimeout(x.current),clearTimeout(C.current),P()}),[l,s.domReference,R,P]);const T=n.useMemo((()=>{function e(e){b.current=e.pointerType}return{onPointerDown:e,onPointerEnter:e,onMouseMove(e){const{nativeEvent:t}=e;function n(){!A.current&&!v.current&&o(!0,t,"hover")}d&&!dr(b.current)||r||0===f||k.current&&e.movementX**2+e.movementY**2<2||(clearTimeout(C.current),"touch"===b.current?n():(k.current=!0,C.current=window.setTimeout(n,f)))}}}),[d,o,r,v,f]),M=n.useMemo((()=>({onMouseEnter(){clearTimeout(x.current)},onMouseLeave(e){j()||O(e.nativeEvent,!1)}})),[O,j]);return n.useMemo((()=>l?{reference:T,floating:M}:{}),[l,T,M])}(A,{move:!1,enabled:!y&&m.includes("hover"),...g&&{handleClose:ua()}}),k=function(e,t){void 0===t&&(t={});const{open:r,onOpenChange:o,events:i,dataRef:a,elements:s}=e,{enabled:l=!0,visibleOnly:c=!0}=t,u=n.useRef(!1),d=n.useRef(),f=n.useRef(!0);n.useEffect((()=>{if(!l)return;const e=Fn(s.domReference);function t(){!r&&Hn(s.domReference)&&s.domReference===nr(fr(s.domReference))&&(u.current=!0)}function n(){f.current=!0}return e.addEventListener("blur",t),e.addEventListener("keydown",n,!0),()=>{e.removeEventListener("blur",t),e.removeEventListener("keydown",n,!0)}}),[s.domReference,r,l]),n.useEffect((()=>{if(l)return i.on("openchange",e),()=>{i.off("openchange",e)};function e(e){let{reason:t}=e;("reference-press"===t||"escape-key"===t)&&(u.current=!0)}}),[i,l]),n.useEffect((()=>()=>{clearTimeout(d.current)}),[]);const h=n.useMemo((()=>({onPointerDown(e){sr(e.nativeEvent)||(f.current=!1)},onMouseLeave(){u.current=!1},onFocus(e){if(u.current)return;const t=pr(e.nativeEvent);if(c&&Vn(t))try{if(lr()&&ur())throw Error();if(!t.matches(":focus-visible"))return}catch{if(!f.current&&!mr(t))return}o(!0,e.nativeEvent,"focus")},onBlur(e){u.current=!1;const t=e.relatedTarget,n=e.nativeEvent,r=Vn(t)&&t.hasAttribute(si("focus-guard"))&&"outside"===t.getAttribute("data-type");d.current=window.setTimeout((()=>{var e;const i=nr(s.domReference?s.domReference.ownerDocument:document);!t&&i===s.domReference||rr(null==(e=a.current.floatingContext)?void 0:e.refs.floating.current,i)||rr(s.domReference,i)||r||o(!1,n,"focus")}))}})),[a,s.domReference,o,c]);return n.useMemo((()=>l?{reference:h}:{}),[l,h])}(A,{enabled:!y&&m.includes("focus")}),_=Yi(A),O=ia(A,{role:"tooltip"}),{getReferenceProps:R,getFloatingProps:P}=Ji([E,S,k,_,O]),{isMounted:j,styles:T}=la(A,{duration:150,initial:{opacity:0},open:{opacity:1},close:{opacity:0}}),M={light:"bg-tooltip-background-light text-text-primary",dark:"bg-tooltip-background-dark text-text-on-color"}[e],N="dark"===e?"text-tooltip-background-dark":"text-tooltip-background-light";return(0,We.jsxs)(n.Fragment,{children:[(0,n.isValidElement)(l)&&(0,We.jsx)(n.Fragment,{children:(0,n.cloneElement)(l,{ref:ya(l.ref,w.setReference),className:Qt(l.props.className),...R()})},"tooltip-reference"),(0,We.jsx)(Ti,{id:d,root:u,children:j&&(0,We.jsxs)("div",{className:Qt("absolute z-20 py-2 px-3 rounded-md text-xs leading-4 shadow-soft-shadow-lg",M,"max-w-80 w-fit",c),ref:w.setFloating,style:{...C,...T},...P(),children:[(0,We.jsxs)("div",{children:[!!r&&(0,We.jsx)("span",{className:"font-semibold",children:r},"tooltip-title"),!!o&&(0,We.jsx)("div",{className:"font-normal",children:o},"tooltip-content")]}),i&&(0,We.jsx)(ni,{ref:x,context:A,className:Qt("fill-current",N)})]})})]})};va.displayName="Tooltip";const ba=(0,n.createContext)({}),xa=()=>(0,n.useContext)(ba),wa=({children:e,name:t,style:r="simple",size:o="md",value:i,defaultValue:a,by:s="id",as:l="div",onChange:c,className:u,disableGroup:d=!1,vertical:f=!1,columns:h=4,multiSelection:p=!1,gapClassName:m="gap-2"})=>{const g=(0,n.useMemo)((()=>typeof i<"u"),[i]),y=(0,n.useMemo)((()=>t||`radio-button-group-${nn()}`),[t]);let v;v=g?i:p?a??[]:a;const[b,x]=(0,n.useState)(v),w=(0,n.useCallback)((e=>{if(p)x((t=>{let n;return n=Array.isArray(t)&&"string"==typeof e&&t.includes(e)?t.filter((t=>t!==e)):[...Array.isArray(t)?t:[],..."string"==typeof e?[e]:[]],"function"==typeof c&&c(n),n}));else{if(g||x(e),"function"!=typeof c)return;c(e)}}),[c]);u=Qt("grid grid-cols-4",Jt[h],m,"tile"===r&&"gap-0",f&&"grid-cols-1",u);const C=Qt("tile"===r?"border border-border-subtle border-solid rounded-md shadow-sm":"gap-6",u),A=()=>(0,We.jsx)(ba.Provider,{value:{name:y,value:g?i:b,by:s,onChange:w,isControlled:g,disableAll:d,style:r,columns:h,multiSelection:p,size:o},children:n.Children.map(e,(e=>(0,n.isValidElement)(e)?e:null))});return(0,We.jsx)(We.Fragment,{children:"tile"===r?(0,We.jsx)("div",{className:C,children:A()}):(0,We.jsx)(l,{...l===n.Fragment?{}:{className:u},children:A()})})};wa.displayName="RadioButton.Group";const Ca=(0,n.forwardRef)((({id:e,label:t,value:r,children:o,disabled:i,icon:a=null,inlineIcon:s=!1,hideSelection:l=!1,reversePosition:c=!1,borderOn:u=!1,borderOnActive:d=!0,badgeItem:f=null,useSwitch:h=!1,info:p,minWidth:m=!0,...g},y)=>{var v,b;const{buttonWrapperClasses:x,...w}=g,C=xa(),{name:A,value:E,by:S,onChange:k,disableAll:_,checked:O,multiSelection:R,size:P="md"}=C,j="primary",T=(0,n.useMemo)((()=>e||`radio-button-${nn()}`),[e]),M=(0,n.useMemo)((()=>_||i),[_,i]),N=(0,n.useMemo)((()=>R?Array.isArray(E)&&E.includes(r):typeof O<"u"?O:typeof E==typeof r&&("string"==typeof E?E===r:Array.isArray(E)?E.includes(r):E[S]===r[S])),[E,r,O]),L=(0,n.useCallback)((()=>(0,n.isValidElement)(t)?t:null!=t&&t.heading?(0,We.jsxs)("div",{className:Qt(!s&&"space-y-1.5 mt-[2px]",c&&(h?"ml-10":"ml-4"),s&&"flex gap-2",s&&!t.description&&"items-center"),children:[a&&(0,We.jsx)(We.Fragment,{children:a}),(0,We.jsxs)("div",{className:Qt("space-y-1.5"),children:[(0,We.jsx)("p",{className:Qt("text-text-primary font-medium m-0",Tn[P],i&&"text-text-disabled cursor-not-allowed"),children:t.heading}),t.description&&(0,We.jsx)("p",{className:"text-text-tertiary text-sm font-normal leading-5 m-0",children:t.description})]})]}):null),[t]);if("tile"===C.style)return(0,We.jsx)(Aa,{id:e,label:t,value:r,disabled:i,size:P,children:o});const D=()=>{M||(R?h&&k(r,!N):k(r))};return(0,We.jsxs)("label",{className:Qt("inline-flex items-center relative cursor-pointer transition-all duration-300",!!t&&"items-start justify-between",m&&"min-w-[180px]",u&&"border border-border-subtle border-solid rounded-md shadow-sm hover:ring-2 hover:ring-border-interactive",d&&u&&N&&"ring-2 ring-border-interactive","sm"===P?"px-3 py-3":"px-4 py-4","pr-12",M&&"cursor-not-allowed opacity-40",x),htmlFor:T,onClick:D,children:[!!t&&(0,We.jsx)("label",{className:Qt("cursor-pointer",M&&"cursor-not-allowed"),htmlFor:T,children:L()}),!!p&&(0,We.jsx)("div",{className:"absolute mr-0.5 bottom-1.5 right-3",children:(0,We.jsx)(va,{title:null==p?void 0:p.heading,content:null==p?void 0:p.description,children:(0,We.jsx)(vn,{className:Qt("text-text-primary",null==(v=Mn[P])?void 0:v.info)})})}),(0,We.jsxs)("label",{className:Qt("absolute mr-0.5 right-3 flex items-center cursor-pointer rounded-full gap-2",c&&"left-0",M&&"cursor-not-allowed",s&&"mr-3",h?Nn[P].switch:Nn[P].radio),onClick:D,children:[!!f&&f,!l&&(h?(0,We.jsx)(We.Fragment,{children:(0,We.jsx)(an,{defaultValue:!1,size:P,onChange:()=>{R?k(r,!N):k(r)},checked:N,...w,"aria-label":(null==t?void 0:t.heading)??"Switch"})}):(0,We.jsxs)("span",{className:"relative p-0.5",children:[(0,We.jsx)("input",{ref:y,id:T,type:R?"checkbox":"radio",className:Qt("peer flex relative cursor-pointer appearance-none transition-all m-0 before:content-[''] checked:before:content-[''] checked:before:hidden before:hidden !border-1.5 border-solid",!R&&"rounded-full",jn[j].checkbox,Mn[P].checkbox,M&&"disabled:bg-white checked:disabled:bg-white disabled:border-border-disabled checked:disabled:border-border-disabled cursor-not-allowed"),name:A,value:r,onChange:e=>k(e.target.value),checked:N,disabled:M,...w}),(0,We.jsx)("span",{className:Qt("inline-flex items-center absolute top-2/4 left-2/4 -translate-y-2/4 -translate-x-2/4 text-white opacity-0 transition-opacity peer-checked:opacity-100",jn[j].icon,M&&"peer-disabled:text-border-disabled cursor-not-allowed"),children:R?(0,We.jsx)(fn,{className:"sm"===P?"size-3":"size-4"}):(0,We.jsx)("div",{className:Qt("rounded-full bg-current","sm"===P&&"mt-[0.5px]",null==(b=Mn[P])?void 0:b.icon)})})]}))]})]})}));Ca.displayName="RadioButton.Button";const Aa=({id:e,children:t,value:r,disabled:o,size:i="md",...a})=>{const s=xa(),{name:l,value:c,by:u,onChange:d,disableAll:f,checked:h}=s||{},p=(0,n.useMemo)((()=>e||`radio-button-${nn()}`),[e]),m=(0,n.useMemo)((()=>f||o),[f,o]),g=(0,n.useMemo)((()=>typeof h<"u"?h:typeof c==typeof r&&("string"==typeof c?c===r:Array.isArray(c)?c.includes(r):!(!c||!u)&&c[u]===r[u])),[c,r,h,u]),y=Qt("bg-background-primary text-primary cursor-pointer flex items-center justify-center","hover:bg-button-tertiary-hover","focus:outline-none",m?"text-text-disabled cursor-not-allowed":"",Ln[i],"border-0 border-r border-border-subtle border-solid");return(0,We.jsx)(We.Fragment,{children:(0,We.jsxs)("button",{type:"button",id:p,"aria-label":"Radio Button",className:Qt(y,"first:rounded-tl first:rounded-bl first:border-0 first:border-r first:border-border-subtle last:rounded-tr last:rounded-br last:border-0",g&&"bg-button-disabled"),onClick:()=>{d&&d(r)},disabled:m,...a,children:[(0,We.jsx)("input",{type:"hidden",value:r,name:l,checked:g,onChange:e=>null==d?void 0:d(e.target.value)}),t]})})},Ea=Object.assign(Ca,{Group:wa,Button:Ca}),Sa=(0,n.forwardRef)((({label:e="",size:t="sm",className:n="",type:r="pill",variant:o="neutral",icon:i=null,disabled:a=!1,onClose:s=()=>{},closable:l=!1,onMouseDown:c=()=>{},disableHover:u=!1},d)=>{const f={neutral:"bg-badge-background-gray text-badge-color-gray border-badge-border-gray",red:"bg-badge-background-red text-badge-color-red border-badge-border-red",yellow:"bg-badge-background-yellow text-badge-color-yellow border-badge-border-yellow",green:"bg-badge-background-green text-badge-color-green border-badge-border-green",blue:"bg-badge-background-sky text-badge-color-sky border-badge-border-sky",inverse:"bg-background-inverse text-text-inverse border-background-inverse",disabled:"bg-badge-background-disabled text-badge-color-disabled border-badge-border-disabled disabled cursor-not-allowed"};let h="",p="group relative justify-center flex items-center cursor-pointer";const m={xxs:"[&>svg]:size-3",xs:"[&>svg]:size-3",sm:"[&>svg]:size-3",md:"[&>svg]:size-4",lg:"[&>svg]:size-5"};return a?(h=f.disabled,p+=" cursor-not-allowed disabled"):h=f[o],e?(0,We.jsxs)("span",{className:Qt("font-medium border-badge-border-gray flex items-center justify-center border border-solid box-border max-w-full transition-colors duration-150 ease-in-out",{xxs:"py-0.5 px-0.5 text-xs h-4",xs:"py-0.5 px-1 text-xs h-5",sm:"py-1 px-1.5 text-xs h-6",md:"py-1 px-1.5 text-sm h-7",lg:"py-1 px-1.5 text-base h-8"}[t],{pill:"rounded-full",rounded:"rounded"}[r],"gap-0.5",h,!u&&{neutral:"hover:bg-badge-hover-gray",red:"hover:bg-badge-hover-red",yellow:"hover:bg-badge-hover-yellow",green:"hover:bg-badge-hover-green",blue:"hover:bg-badge-hover-sky",inverse:"hover:bg-badge-hover-inverse",disabled:"hover:bg-badge-hover-disabled"}[o],n),ref:d,children:[i?(0,We.jsx)("span",{className:Qt("justify-center flex items-center",m[t]),children:i}):null,(0,We.jsx)("span",{className:"px-1 truncate inline-block",children:e}),l&&(0,We.jsxs)("span",{className:Qt(p,m[t]),onMouseDown:c,role:"button",tabIndex:0,...!a&&{onClick:s},children:[(0,We.jsx)("span",{className:"sr-only",children:`Remove ${e}`}),(0,We.jsx)(Rn,{}),(0,We.jsx)("span",{className:"absolute -inset-1"})]})]}):null}));Sa.displayName="Badge";const ka=(0,n.forwardRef)((({id:e,defaultValue:t="",value:r,size:o="sm",className:i="",disabled:a=!1,onChange:s=()=>{},error:l=!1,onError:c=()=>{},...u},d)=>{const f=(0,n.useMemo)((()=>e||`input-textarea-${nn()}`),[e]),h=(0,n.useMemo)((()=>typeof r<"u"),[r]),[p,m]=(0,n.useState)(t),g=(0,n.useCallback)((()=>h?r:p),[h,r,p]),y=a?"hover:border-border-disabled":"hover:border-border-strong",v=l?"focus:border-focus-error-border focus:ring-field-color-error border-focus-error-border":"";return(0,We.jsx)("textarea",{ref:d,id:f,className:Qt("py-2 rounded border border-solid border-border-subtle bg-field-secondary-background font-normal placeholder-text-tertiary text-text-primary focus:outline-none",a?"border-border-disabled bg-field-background-disabled cursor-not-allowed text-text-disabled":"",{sm:"px-3 rounded text-xs",md:"px-3 rounded-md text-sm",lg:"px-4 rounded-lg text-base"}[o],"focus:border-focus-border focus:ring-2 focus:ring-toggle-on focus:ring-offset-2",y,v,i),disabled:a,onChange:e=>{if(a)return;const t=e.target.value;h||m(t),"function"==typeof s&&s(t)},onInvalid:c,value:g(),...u})}));ka.displayName="TextArea",(0,n.forwardRef)((({variant:e="primary",size:t="md",border:r="subtle",src:o,alt:i,children:a,className:s,...l},c)=>{const[u,d]=(0,n.useState)(!1),f={white:"text-text-primary bg-background-primary",gray:"text-text-primary bg-background-secondary",primary:"text-text-on-color bg-background-brand","primary-light":"text-text-primary bg-brand-background-50",dark:"text-text-on-color bg-button-secondary"}[e],h={xxs:"size-5 [&>svg]:size-3 text-xs",xs:"size-6 [&>svg]:size-4 text-sm",sm:"size-8 [&>svg]:size-5 text-base",md:"size-10 [&>svg]:size-6 text-lg",lg:"size-12 [&>svg]:size-12 text-lg"}[t],p={none:"",subtle:"ring-1 ring-border-transparent-subtle",ring:"ring ring-border-subtle"}[o&&"none"===r?"subtle":r],m=o?"object-cover object-center":"",g=!o||u,y=g?"div":"img";return(0,n.useEffect)((()=>{d(!1)}),[o]),(0,We.jsx)(y,{ref:c,className:Qt("rounded-full overflow-hidden flex items-center justify-center",g&&f,h,p,m,s),...g?{children:(()=>{var e,t,n;if(o&&u){if(i&&"string"==typeof i)return null==(e=null==i?void 0:i[0])?void 0:e.toUpperCase();if(a&&"string"==typeof a)return null==(t=null==a?void 0:a[0])?void 0:t.toUpperCase();if(!a&&!i)return(0,We.jsx)(On,{})}return a?"string"==typeof a?null==(n=null==a?void 0:a[0])?void 0:n.toUpperCase():a:null})()}:{src:o,alt:i,onError:()=>{d(!0)}},...l})}));const _a=(0,n.forwardRef)((({id:e,type:t="text",defaultValue:r="",value:o,size:i="sm",className:a="",disabled:s=!1,onChange:l=()=>{},error:c=!1,onError:u=()=>{},prefix:d=null,suffix:f=null,label:h="",...p},m)=>{const g=(0,n.useRef)(null),y=(0,n.useMemo)((()=>e||`input-${t}-${nn()}`),[e]),v=(0,n.useMemo)((()=>typeof o<"u"),[o]),[b,x]=(0,n.useState)(r),[w,C]=(0,n.useState)(null),A=(0,n.useCallback)((()=>v?o:b),[v,o,b]),E=e=>{if(s)return;let n;"file"===t?(n=e.target.files,n&&n.length>0?C(n[0].name):C(null)):n=e.target.value,!v&&"file"!==t&&x(n),"function"==typeof l&&l(n)},S=()=>{C(null),g.current&&(g.current.value=""),l(null)},k="bg-field-secondary-background font-normal placeholder-text-tertiary text-text-primary w-full outline outline-1 outline-border-subtle border-none transition-[color,box-shadow,outline] duration-200",_={xs:"px-2 py-1 rounded",sm:"p-3 py-2 rounded",md:"p-3.5 py-2.5 rounded-md",lg:"p-4 py-3 rounded-lg"},O={xs:"text-xs font-medium",sm:"text-sm font-medium",md:"text-sm font-medium",lg:"text-base font-medium"},R={xs:"text-xs",sm:"text-xs",md:"text-sm",lg:"text-base"},P={sm:d?"pl-8":"",md:d?"pl-9":"",lg:d?"pl-10":""},j={sm:f?"pr-8":"",md:f?"pr-9":"",lg:f?"pr-10":""},T=s?"hover:outline-border-disabled":"hover:outline-border-strong",M="focus:outline-focus-border focus:ring-2 focus:ring-toggle-on focus:ring-offset-2",N=c?"focus:outline-focus-error-border focus:ring-field-color-error outline-focus-error-border":"",L=c?"focus:outline-focus-error-border focus:ring-field-color-error outline-focus-error-border":"",D=s?"outline-border-disabled bg-field-background-disabled cursor-not-allowed text-text-disabled":"",I=s?"outline-border-disabled cursor-not-allowed text-text-disabled file:text-text-tertiary":"",F="font-normal placeholder-text-tertiary text-text-primary pointer-events-none absolute inset-y-0 flex flex-1 items-center [&>svg]:h-4 [&>svg]:w-4",B=s?"font-normal placeholder-text-tertiary text-icon-disabled pointer-events-none absolute inset-y-0 flex flex-1 items-center":"font-normal placeholder-text-tertiary text-field-placeholder pointer-events-none absolute inset-y-0 flex flex-1 items-center",z={xs:"[&>svg]:size-4",sm:"[&>svg]:size-4",md:"[&>svg]:size-5",lg:"[&>svg]:size-6"},V=(0,n.useMemo)((()=>h?(0,We.jsx)(rn,{className:Qt(O[i]),htmlFor:y,...(null==p?void 0:p.required)&&{required:!0},children:h}):null),[h,i,y]),H=w?"file:border-0 file:bg-transparent pr-10":"text-text-tertiary file:border-0 file:bg-transparent pr-10";return"file"===t?(0,We.jsxs)("div",{className:"flex flex-col items-start gap-1.5 [&_*]:box-border box-border",children:[V,(0,We.jsxs)("div",{className:Qt("w-full relative flex focus-within:z-10",a),children:[(0,We.jsx)("input",{ref:ya(g,m),id:y,type:"file",className:Qt(k,I,_[i],R[i],M,T,L,H),disabled:s,onChange:E,onInvalid:u,...p}),(0,We.jsx)("div",{className:Qt(B,"right-0 pr-3",z[i]),children:(0,We.jsx)(_n,{})})]})]}):(0,We.jsxs)("div",{className:"flex flex-col items-start gap-1.5 [&_*]:box-border box-border",children:[V,(0,We.jsxs)("div",{className:Qt("w-full relative flex focus-within:z-10",a),children:[d?(0,We.jsx)("div",{className:Qt(F,"left-0 pl-3",R[i]),children:d}):null,(0,We.jsx)("input",{ref:ya(g,m),id:y,type:t,className:Qt(k,D,_[i],R[i],P[i],j[i],M,T,N),disabled:s,onChange:E,onInvalid:u,value:A(),...p}),"file"===t?w?(0,We.jsx)("div",{className:Qt(B,"right-0 pr-3 cursor-pointer z-20 pointer-events-auto",z[i]),onClick:S,role:"button",tabIndex:0,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&S()},children:(0,We.jsx)(Rn,{})}):(0,We.jsx)("div",{className:Qt(B,"right-0 pr-3",z[i]),children:(0,We.jsx)(_n,{})}):f?(0,We.jsx)("div",{className:Qt(F,"right-0 pr-3",R[i]),children:f}):null]})]})}));_a.displayName="Input";const Oa=({title:e="",description:t="",icon:n=null,iconPosition:r="right",tag:o="h2",size:i="sm",className:a=""})=>{const s={xs:"gap-1 [&>svg]:size-3.5",sm:"gap-1 [&>svg]:size-4",md:"gap-1.5 [&>svg]:size-5",lg:"gap-1.5 [&>svg]:size-5"};if(!e)return null;const l=()=>(0,We.jsx)(o,{className:Qt("font-semibold p-0 m-0",{xs:"text-base [&>*]:text-base gap-1",sm:"text-lg [&>*]:text-lg gap-1",md:"text-xl [&>*]:text-xl gap-1.5",lg:"text-2xl [&>*]:text-2xl gap-1.5"}[i]),children:e});return t?(0,We.jsxs)("div",{className:a,children:[(0,We.jsxs)("div",{children:[n&&"left"===r&&(0,We.jsxs)("div",{className:Qt("flex items-center",s[i]),children:[n,l()]}),n&&"right"===r&&(0,We.jsxs)("div",{className:Qt("flex items-center",s[i]),children:[l(),n]}),!n&&l()]}),(0,We.jsx)("p",{className:Qt("text-text-secondary font-normal my-0",{xs:"text-sm",sm:"text-sm",md:"text-base",lg:"text-base"}[i]),children:t})]}):(0,We.jsxs)("div",{className:a,children:[n&&"left"===r&&(0,We.jsxs)("div",{className:Qt("flex items-center",s[i]),children:[n,l()]}),n&&"right"===r&&(0,We.jsxs)("div",{className:Qt("flex items-center",s[i]),children:[l(),n]}),!n&&l()]})},Ra=({variant:e="primary",size:t="md",icon:n=null,className:r=""})=>{const o={primary:"text-brand-primary-600",secondary:"text-background-primary"}[e],i={sm:"[&>svg]:size-4",md:"[&>svg]:size-5",lg:"[&>svg]:size-6",xl:"[&>svg]:size-8"}[t];return(0,We.jsx)("span",{className:Qt("flex",i,o,r),children:n||(0,We.jsx)(bn,{className:"animate-spin shrink-0"})})},Pa=(0,n.createContext)({activeItem:null,onChange:()=>{},size:"md",iconPosition:"left"}),ja=(0,n.forwardRef)((({slug:e,text:t,icon:r,className:o,disabled:i=!1,isFirstChild:a,isLastChild:s,...l},c)=>{const u=n.useContext(Pa);if(!u)throw new Error("Button should be used inside Button Group");const{activeItem:d,onChange:f,size:h,iconPosition:p}=u,m=Qt("bg-background-primary text-primary cursor-pointer flex items-center justify-center","hover:bg-button-tertiary-hover","focus:outline-none",i?"text-text-disabled cursor-not-allowed":"",{xs:"py-1 px-1 text-sm gap-0.5 [&>svg]:size-4",sm:"py-2 px-2 text-base gap-1 [&>svg]:size-4",md:"py-2.5 px-2.5 text-base gap-1 [&>svg]:size-5"}[h],"border-0 border-r border-border-subtle border-solid",d===e?"bg-button-disabled":"",a?"rounded-tl rounded-bl border-0 border-r border-border-subtle":"",s?"rounded-tr rounded-br border-0":"",o);return(0,We.jsxs)("button",{ref:c,className:m,disabled:i,onClick:n=>{f({event:n,value:{slug:e,text:t}})},...l,children:["left"===p&&r&&(0,We.jsx)("span",{className:"mr-1",children:r}),t,"right"===p&&r&&(0,We.jsx)("span",{className:"ml-1",children:r})]})}));function Ta(e){if(typeof Proxy>"u")return e;const t=new Map;return new Proxy(((...t)=>e(...t)),{get:(n,r)=>"create"===r?e:(t.has(r)||t.set(r,e(r)),t.get(r))})}function Ma(e){return null!==e&&"object"==typeof e&&"function"==typeof e.start}ja.displayName="Button";const Na=e=>Array.isArray(e);function La(e,t){if(!Array.isArray(t))return!1;const n=t.length;if(n!==e.length)return!1;for(let r=0;r<n;r++)if(t[r]!==e[r])return!1;return!0}function Da(e){return"string"==typeof e||Array.isArray(e)}function Ia(e){const t=[{},{}];return null==e||e.values.forEach(((e,n)=>{t[0][n]=e.get(),t[1][n]=e.getVelocity()})),t}function Fa(e,t,n,r){if("function"==typeof t){const[o,i]=Ia(r);t=t(void 0!==n?n:e.custom,o,i)}if("string"==typeof t&&(t=e.variants&&e.variants[t]),"function"==typeof t){const[o,i]=Ia(r);t=t(void 0!==n?n:e.custom,o,i)}return t}function Ba(e,t,n){const r=e.getProps();return Fa(r,t,void 0!==n?n:r.custom,e)}const za=["animate","whileInView","whileFocus","whileHover","whileTap","whileDrag","exit"],Va=["initial",...za],Ha=["transformPerspective","x","y","z","translateX","translateY","translateZ","scale","scaleX","scaleY","rotate","rotateX","rotateY","rotateZ","skew","skewX","skewY"],Wa=new Set(Ha),Ua=e=>1e3*e,Za=e=>e/1e3,qa={type:"spring",stiffness:500,damping:25,restSpeed:10},Ya={type:"keyframes",duration:.8},Ka={type:"keyframes",ease:[.25,.1,.35,1],duration:.3},Qa=(e,{keyframes:t})=>t.length>2?Ya:Wa.has(e)?e.startsWith("scale")?(e=>({type:"spring",stiffness:550,damping:0===e?2*Math.sqrt(550):30,restSpeed:10}))(t[1]):qa:Ka;function Ga(e,t){return e?e[t]||e.default||e:void 0}const Xa=e=>null!==e;function Ja(e,{repeat:t,repeatType:n="loop"},r){const o=e.filter(Xa),i=t&&"loop"!==n&&t%2==1?0:o.length-1;return i&&void 0!==r?r:o[i]}const $a=e=>e,es=["read","resolveKeyframes","update","preRender","render","postRender"];function ts(e,t){let n=!1,r=!0;const o={delta:0,timestamp:0,isProcessing:!1},i=()=>n=!0,a=es.reduce(((e,t)=>(e[t]=function(e){let t=new Set,n=new Set,r=!1,o=!1;const i=new WeakSet;let a={delta:0,timestamp:0,isProcessing:!1};function s(t){i.has(t)&&(l.schedule(t),e()),t(a)}const l={schedule:(e,o=!1,a=!1)=>{const s=a&&r?t:n;return o&&i.add(e),s.has(e)||s.add(e),e},cancel:e=>{n.delete(e),i.delete(e)},process:e=>{a=e,r?o=!0:(r=!0,[t,n]=[n,t],n.clear(),t.forEach(s),r=!1,o&&(o=!1,l.process(e)))}};return l}(i),e)),{}),{read:s,resolveKeyframes:l,update:c,preRender:u,render:d,postRender:f}=a,h=()=>{const i=performance.now();n=!1,o.delta=r?1e3/60:Math.max(Math.min(i-o.timestamp,40),1),o.timestamp=i,o.isProcessing=!0,s.process(o),l.process(o),c.process(o),u.process(o),d.process(o),f.process(o),o.isProcessing=!1,n&&t&&(r=!1,e(h))};return{schedule:es.reduce(((t,i)=>{const s=a[i];return t[i]=(t,i=!1,a=!1)=>(n||(n=!0,r=!0,o.isProcessing||e(h)),s.schedule(t,i,a)),t}),{}),cancel:e=>{for(let t=0;t<es.length;t++)a[es[t]].cancel(e)},state:o,steps:a}}const{schedule:ns,cancel:rs,state:os,steps:is}=ts(typeof requestAnimationFrame<"u"?requestAnimationFrame:$a,!0),as=(e,t,n)=>(((1-3*n+3*t)*e+(3*n-6*t))*e+3*t)*e;function ss(e,t,n,r){if(e===t&&n===r)return $a;return o=>0===o||1===o?o:as((t=>function(e,t,n,r,o){let i,a,s=0;do{a=t+(n-t)/2,i=as(a,r,o)-e,i>0?n=a:t=a}while(Math.abs(i)>1e-7&&++s<12);return a}(t,0,1,e,n))(o),t,r)}const ls=e=>t=>t<=.5?e(2*t)/2:(2-e(2*(1-t)))/2,cs=e=>t=>1-e(1-t),us=ss(.33,1.53,.69,.99),ds=cs(us),fs=ls(ds),hs=e=>(e*=2)<1?.5*ds(e):.5*(2-Math.pow(2,-10*(e-1))),ps=e=>1-Math.sin(Math.acos(e)),ms=cs(ps),gs=ls(ps),ys=e=>/^0[^.\s]+$/u.test(e);let vs=$a,bs=$a;const xs=e=>/^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(e),ws=e=>t=>"string"==typeof t&&t.startsWith(e),Cs=ws("--"),As=ws("var(--"),Es=e=>!!As(e)&&Ss.test(e.split("/*")[0].trim()),Ss=/var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu,ks=/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u;function _s(e,t,n=1){bs(n<=4,`Max CSS variable fallback depth detected in property "${e}". This may indicate a circular fallback dependency.`);const[r,o]=function(e){const t=ks.exec(e);if(!t)return[,];const[,n,r,o]=t;return[`--${n??r}`,o]}(e);if(!r)return;const i=window.getComputedStyle(t).getPropertyValue(r);if(i){const e=i.trim();return xs(e)?parseFloat(e):e}return Es(o)?_s(o,t,n+1):o}const Os=(e,t,n)=>n>t?t:n<e?e:n,Rs={test:e=>"number"==typeof e,parse:parseFloat,transform:e=>e},Ps={...Rs,transform:e=>Os(0,1,e)},js={...Rs,default:1},Ts=e=>({test:t=>"string"==typeof t&&t.endsWith(e)&&1===t.split(" ").length,parse:parseFloat,transform:t=>`${t}${e}`}),Ms=Ts("deg"),Ns=Ts("%"),Ls=Ts("px"),Ds=Ts("vh"),Is=Ts("vw"),Fs={...Ns,parse:e=>Ns.parse(e)/100,transform:e=>Ns.transform(100*e)},Bs=new Set(["width","height","top","left","right","bottom","x","y","translateX","translateY"]),zs=e=>e===Rs||e===Ls,Vs=(e,t)=>parseFloat(e.split(", ")[t]),Hs=(e,t)=>(n,{transform:r})=>{if("none"===r||!r)return 0;const o=r.match(/^matrix3d\((.+)\)$/u);if(o)return Vs(o[1],t);{const t=r.match(/^matrix\((.+)\)$/u);return t?Vs(t[1],e):0}},Ws=new Set(["x","y","z"]),Us=Ha.filter((e=>!Ws.has(e))),Zs={width:({x:e},{paddingLeft:t="0",paddingRight:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),height:({y:e},{paddingTop:t="0",paddingBottom:n="0"})=>e.max-e.min-parseFloat(t)-parseFloat(n),top:(e,{top:t})=>parseFloat(t),left:(e,{left:t})=>parseFloat(t),bottom:({y:e},{top:t})=>parseFloat(t)+(e.max-e.min),right:({x:e},{left:t})=>parseFloat(t)+(e.max-e.min),x:Hs(4,13),y:Hs(5,14)};Zs.translateX=Zs.x,Zs.translateY=Zs.y;const qs=e=>t=>t.test(e),Ys=[Rs,Ls,Ns,Ms,Is,Ds,{test:e=>"auto"===e,parse:e=>e}],Ks=e=>Ys.find(qs(e)),Qs=new Set;let Gs=!1,Xs=!1;function Js(){if(Xs){const e=Array.from(Qs).filter((e=>e.needsMeasurement)),t=new Set(e.map((e=>e.element))),n=new Map;t.forEach((e=>{const t=function(e){const t=[];return Us.forEach((n=>{const r=e.getValue(n);void 0!==r&&(t.push([n,r.get()]),r.set(n.startsWith("scale")?1:0))})),t}(e);t.length&&(n.set(e,t),e.render())})),e.forEach((e=>e.measureInitialState())),t.forEach((e=>{e.render();const t=n.get(e);t&&t.forEach((([t,n])=>{var r;null===(r=e.getValue(t))||void 0===r||r.set(n)}))})),e.forEach((e=>e.measureEndState())),e.forEach((e=>{void 0!==e.suspendedScrollY&&window.scrollTo(0,e.suspendedScrollY)}))}Xs=!1,Gs=!1,Qs.forEach((e=>e.complete())),Qs.clear()}function $s(){Qs.forEach((e=>{e.readKeyframes(),e.needsMeasurement&&(Xs=!0)}))}class el{constructor(e,t,n,r,o,i=!1){this.isComplete=!1,this.isAsync=!1,this.needsMeasurement=!1,this.isScheduled=!1,this.unresolvedKeyframes=[...e],this.onComplete=t,this.name=n,this.motionValue=r,this.element=o,this.isAsync=i}scheduleResolve(){this.isScheduled=!0,this.isAsync?(Qs.add(this),Gs||(Gs=!0,ns.read($s),ns.resolveKeyframes(Js))):(this.readKeyframes(),this.complete())}readKeyframes(){const{unresolvedKeyframes:e,name:t,element:n,motionValue:r}=this;for(let o=0;o<e.length;o++)if(null===e[o])if(0===o){const o=null==r?void 0:r.get(),i=e[e.length-1];if(void 0!==o)e[0]=o;else if(n&&t){const r=n.readValue(t,i);null!=r&&(e[0]=r)}void 0===e[0]&&(e[0]=i),r&&void 0===o&&r.set(e[0])}else e[o]=e[o-1]}setFinalKeyframe(){}measureInitialState(){}renderEndStyles(){}measureEndState(){}complete(){this.isComplete=!0,this.onComplete(this.unresolvedKeyframes,this.finalKeyframe),Qs.delete(this)}cancel(){this.isComplete||(this.isScheduled=!1,Qs.delete(this))}resume(){this.isComplete||this.scheduleResolve()}}const tl=e=>Math.round(1e5*e)/1e5,nl=/-?(?:\d+(?:\.\d+)?|\.\d+)/gu,rl=/^(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))$/iu,ol=(e,t)=>n=>!!("string"==typeof n&&rl.test(n)&&n.startsWith(e)||t&&!function(e){return null==e}(n)&&Object.prototype.hasOwnProperty.call(n,t)),il=(e,t,n)=>r=>{if("string"!=typeof r)return r;const[o,i,a,s]=r.match(nl);return{[e]:parseFloat(o),[t]:parseFloat(i),[n]:parseFloat(a),alpha:void 0!==s?parseFloat(s):1}},al={...Rs,transform:e=>Math.round((e=>Os(0,255,e))(e))},sl={test:ol("rgb","red"),parse:il("red","green","blue"),transform:({red:e,green:t,blue:n,alpha:r=1})=>"rgba("+al.transform(e)+", "+al.transform(t)+", "+al.transform(n)+", "+tl(Ps.transform(r))+")"},ll={test:ol("#"),parse:function(e){let t="",n="",r="",o="";return e.length>5?(t=e.substring(1,3),n=e.substring(3,5),r=e.substring(5,7),o=e.substring(7,9)):(t=e.substring(1,2),n=e.substring(2,3),r=e.substring(3,4),o=e.substring(4,5),t+=t,n+=n,r+=r,o+=o),{red:parseInt(t,16),green:parseInt(n,16),blue:parseInt(r,16),alpha:o?parseInt(o,16)/255:1}},transform:sl.transform},cl={test:ol("hsl","hue"),parse:il("hue","saturation","lightness"),transform:({hue:e,saturation:t,lightness:n,alpha:r=1})=>"hsla("+Math.round(e)+", "+Ns.transform(tl(t))+", "+Ns.transform(tl(n))+", "+tl(Ps.transform(r))+")"},ul={test:e=>sl.test(e)||ll.test(e)||cl.test(e),parse:e=>sl.test(e)?sl.parse(e):cl.test(e)?cl.parse(e):ll.parse(e),transform:e=>"string"==typeof e?e:e.hasOwnProperty("red")?sl.transform(e):cl.transform(e)},dl=/(?:#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\))/giu,fl="number",hl="color",pl=/var\s*\(\s*--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)|#[\da-f]{3,8}|(?:rgb|hsl)a?\((?:-?[\d.]+%?[,\s]+){2}-?[\d.]+%?\s*(?:[,/]\s*)?(?:\b\d+(?:\.\d+)?|\.\d+)?%?\)|-?(?:\d+(?:\.\d+)?|\.\d+)/giu;function ml(e){const t=e.toString(),n=[],r={color:[],number:[],var:[]},o=[];let i=0;const a=t.replace(pl,(e=>(ul.test(e)?(r.color.push(i),o.push(hl),n.push(ul.parse(e))):e.startsWith("var(")?(r.var.push(i),o.push("var"),n.push(e)):(r.number.push(i),o.push(fl),n.push(parseFloat(e))),++i,"${}"))).split("${}");return{values:n,split:a,indexes:r,types:o}}function gl(e){return ml(e).values}function yl(e){const{split:t,types:n}=ml(e),r=t.length;return e=>{let o="";for(let i=0;i<r;i++)if(o+=t[i],void 0!==e[i]){const t=n[i];o+=t===fl?tl(e[i]):t===hl?ul.transform(e[i]):e[i]}return o}}const vl=e=>"number"==typeof e?0:e,bl={test:function(e){var t,n;return isNaN(e)&&"string"==typeof e&&((null===(t=e.match(nl))||void 0===t?void 0:t.length)||0)+((null===(n=e.match(dl))||void 0===n?void 0:n.length)||0)>0},parse:gl,createTransformer:yl,getAnimatableNone:function(e){const t=gl(e);return yl(e)(t.map(vl))}},xl=new Set(["brightness","contrast","saturate","opacity"]);function wl(e){const[t,n]=e.slice(0,-1).split("(");if("drop-shadow"===t)return e;const[r]=n.match(nl)||[];if(!r)return e;const o=n.replace(r,"");let i=xl.has(t)?1:0;return r!==n&&(i*=100),t+"("+i+o+")"}const Cl=/\b([a-z-]*)\(.*?\)/gu,Al={...bl,getAnimatableNone:e=>{const t=e.match(Cl);return t?t.map(wl).join(" "):e}},El={borderWidth:Ls,borderTopWidth:Ls,borderRightWidth:Ls,borderBottomWidth:Ls,borderLeftWidth:Ls,borderRadius:Ls,radius:Ls,borderTopLeftRadius:Ls,borderTopRightRadius:Ls,borderBottomRightRadius:Ls,borderBottomLeftRadius:Ls,width:Ls,maxWidth:Ls,height:Ls,maxHeight:Ls,top:Ls,right:Ls,bottom:Ls,left:Ls,padding:Ls,paddingTop:Ls,paddingRight:Ls,paddingBottom:Ls,paddingLeft:Ls,margin:Ls,marginTop:Ls,marginRight:Ls,marginBottom:Ls,marginLeft:Ls,backgroundPositionX:Ls,backgroundPositionY:Ls},Sl={rotate:Ms,rotateX:Ms,rotateY:Ms,rotateZ:Ms,scale:js,scaleX:js,scaleY:js,scaleZ:js,skew:Ms,skewX:Ms,skewY:Ms,distance:Ls,translateX:Ls,translateY:Ls,translateZ:Ls,x:Ls,y:Ls,z:Ls,perspective:Ls,transformPerspective:Ls,opacity:Ps,originX:Fs,originY:Fs,originZ:Ls},kl={...Rs,transform:Math.round},_l={...El,...Sl,zIndex:kl,size:Ls,fillOpacity:Ps,strokeOpacity:Ps,numOctaves:kl},Ol={..._l,color:ul,backgroundColor:ul,outlineColor:ul,fill:ul,stroke:ul,borderColor:ul,borderTopColor:ul,borderRightColor:ul,borderBottomColor:ul,borderLeftColor:ul,filter:Al,WebkitFilter:Al},Rl=e=>Ol[e];function Pl(e,t){let n=Rl(e);return n!==Al&&(n=bl),n.getAnimatableNone?n.getAnimatableNone(t):void 0}const jl=new Set(["auto","none","0"]);class Tl extends el{constructor(e,t,n,r,o){super(e,t,n,r,o,!0)}readKeyframes(){const{unresolvedKeyframes:e,element:t,name:n}=this;if(!t||!t.current)return;super.readKeyframes();for(let n=0;n<e.length;n++){let r=e[n];if("string"==typeof r&&(r=r.trim(),Es(r))){const o=_s(r,t.current);void 0!==o&&(e[n]=o),n===e.length-1&&(this.finalKeyframe=r)}}if(this.resolveNoneKeyframes(),!Bs.has(n)||2!==e.length)return;const[r,o]=e,i=Ks(r),a=Ks(o);if(i!==a)if(zs(i)&&zs(a))for(let t=0;t<e.length;t++){const n=e[t];"string"==typeof n&&(e[t]=parseFloat(n))}else this.needsMeasurement=!0}resolveNoneKeyframes(){const{unresolvedKeyframes:e,name:t}=this,n=[];for(let t=0;t<e.length;t++)("number"==typeof(r=e[t])?0===r:null===r||"none"===r||"0"===r||ys(r))&&n.push(t);var r;n.length&&function(e,t,n){let r,o=0;for(;o<e.length&&!r;){const t=e[o];"string"==typeof t&&!jl.has(t)&&ml(t).values.length&&(r=e[o]),o++}if(r&&n)for(const o of t)e[o]=Pl(n,r)}(e,n,t)}measureInitialState(){const{element:e,unresolvedKeyframes:t,name:n}=this;if(!e||!e.current)return;"height"===n&&(this.suspendedScrollY=window.pageYOffset),this.measuredOrigin=Zs[n](e.measureViewportBox(),window.getComputedStyle(e.current)),t[0]=this.measuredOrigin;const r=t[t.length-1];void 0!==r&&e.getValue(n,r).jump(r,!1)}measureEndState(){var e;const{element:t,name:n,unresolvedKeyframes:r}=this;if(!t||!t.current)return;const o=t.getValue(n);o&&o.jump(this.measuredOrigin,!1);const i=r.length-1,a=r[i];r[i]=Zs[n](t.measureViewportBox(),window.getComputedStyle(t.current)),null!==a&&void 0===this.finalKeyframe&&(this.finalKeyframe=a),!(null===(e=this.removedTransforms)||void 0===e)&&e.length&&this.removedTransforms.forEach((([e,n])=>{t.getValue(e).set(n)})),this.resolveNoneKeyframes()}}function Ml(e){return"function"==typeof e}let Nl;function Ll(){Nl=void 0}const Dl={now:()=>(void 0===Nl&&Dl.set(os.isProcessing?os.timestamp:performance.now()),Nl),set:e=>{Nl=e,queueMicrotask(Ll)}},Il=(e,t)=>"zIndex"!==t&&!("number"!=typeof e&&!Array.isArray(e)&&("string"!=typeof e||!bl.test(e)&&"0"!==e||e.startsWith("url(")));class Fl{constructor({autoplay:e=!0,delay:t=0,type:n="keyframes",repeat:r=0,repeatDelay:o=0,repeatType:i="loop",...a}){this.isStopped=!1,this.hasAttemptedResolve=!1,this.createdAt=Dl.now(),this.options={autoplay:e,delay:t,type:n,repeat:r,repeatDelay:o,repeatType:i,...a},this.updateFinishedPromise()}calcStartTime(){return this.resolvedAt&&this.resolvedAt-this.createdAt>40?this.resolvedAt:this.createdAt}get resolved(){return!this._resolved&&!this.hasAttemptedResolve&&($s(),Js()),this._resolved}onKeyframesResolved(e,t){this.resolvedAt=Dl.now(),this.hasAttemptedResolve=!0;const{name:n,type:r,velocity:o,delay:i,onComplete:a,onUpdate:s,isGenerator:l}=this.options;if(!l&&!function(e,t,n,r){const o=e[0];if(null===o)return!1;if("display"===t||"visibility"===t)return!0;const i=e[e.length-1],a=Il(o,t),s=Il(i,t);return vs(a===s,`You are trying to animate ${t} from "${o}" to "${i}". ${o} is not an animatable value - to enable this animation set ${o} to a value animatable to ${i} via the \`style\` property.`),!(!a||!s)&&(function(e){const t=e[0];if(1===e.length)return!0;for(let n=0;n<e.length;n++)if(e[n]!==t)return!0}(e)||("spring"===n||Ml(n))&&r)}(e,n,r,o)){if(!i)return null==s||s(Ja(e,this.options,t)),null==a||a(),void this.resolveFinishedPromise();this.options.duration=0}const c=this.initPlayback(e,t);!1!==c&&(this._resolved={keyframes:e,finalKeyframe:t,...c},this.onPostResolved())}onPostResolved(){}then(e,t){return this.currentFinishedPromise.then(e,t)}flatten(){this.options.type="keyframes",this.options.ease="linear"}updateFinishedPromise(){this.currentFinishedPromise=new Promise((e=>{this.resolveFinishedPromise=e}))}}function Bl(e,t){return t?e*(1e3/t):0}function zl(e,t,n){const r=Math.max(t-5,0);return Bl(n-e(r),t-r)}const Vl=.001;const Hl=12;function Wl(e,t){return e*Math.sqrt(1-t*t)}const Ul=["duration","bounce"],Zl=["stiffness","damping","mass"];function ql(e,t){return t.some((t=>void 0!==e[t]))}function Yl({keyframes:e,restDelta:t,restSpeed:n,...r}){const o=e[0],i=e[e.length-1],a={done:!1,value:o},{stiffness:s,damping:l,mass:c,duration:u,velocity:d,isResolvedFromDuration:f}=function(e){let t={velocity:0,stiffness:100,damping:10,mass:1,isResolvedFromDuration:!1,...e};if(!ql(e,Zl)&&ql(e,Ul)){const n=function({duration:e=800,bounce:t=.25,velocity:n=0,mass:r=1}){let o,i;vs(e<=Ua(10),"Spring duration must be 10 seconds or less");let a=1-t;a=Os(.05,1,a),e=Os(.01,10,Za(e)),a<1?(o=t=>{const r=t*a,o=r*e,i=r-n,s=Wl(t,a),l=Math.exp(-o);return Vl-i/s*l},i=t=>{const r=t*a*e,i=r*n+n,s=Math.pow(a,2)*Math.pow(t,2)*e,l=Math.exp(-r),c=Wl(Math.pow(t,2),a);return(-o(t)+Vl>0?-1:1)*((i-s)*l)/c}):(o=t=>Math.exp(-t*e)*((t-n)*e+1)-Vl,i=t=>Math.exp(-t*e)*(e*e*(n-t)));const s=function(e,t,n){let r=n;for(let n=1;n<Hl;n++)r-=e(r)/t(r);return r}(o,i,5/e);if(e=Ua(e),isNaN(s))return{stiffness:100,damping:10,duration:e};{const t=Math.pow(s,2)*r;return{stiffness:t,damping:2*a*Math.sqrt(r*t),duration:e}}}(e);t={...t,...n,mass:1},t.isResolvedFromDuration=!0}return t}({...r,velocity:-Za(r.velocity||0)}),h=d||0,p=l/(2*Math.sqrt(s*c)),m=i-o,g=Za(Math.sqrt(s/c)),y=Math.abs(m)<5;let v;if(n||(n=y?.01:2),t||(t=y?.005:.5),p<1){const e=Wl(g,p);v=t=>{const n=Math.exp(-p*g*t);return i-n*((h+p*g*m)/e*Math.sin(e*t)+m*Math.cos(e*t))}}else if(1===p)v=e=>i-Math.exp(-g*e)*(m+(h+g*m)*e);else{const e=g*Math.sqrt(p*p-1);v=t=>{const n=Math.exp(-p*g*t),r=Math.min(e*t,300);return i-n*((h+p*g*m)*Math.sinh(r)+e*m*Math.cosh(r))/e}}return{calculatedDuration:f&&u||null,next:e=>{const r=v(e);if(f)a.done=e>=u;else{let o=0;p<1&&(o=0===e?Ua(h):zl(v,e,r));const s=Math.abs(o)<=n,l=Math.abs(i-r)<=t;a.done=s&&l}return a.value=a.done?i:r,a}}}function Kl({keyframes:e,velocity:t=0,power:n=.8,timeConstant:r=325,bounceDamping:o=10,bounceStiffness:i=500,modifyTarget:a,min:s,max:l,restDelta:c=.5,restSpeed:u}){const d=e[0],f={done:!1,value:d},h=e=>void 0===s?l:void 0===l||Math.abs(s-e)<Math.abs(l-e)?s:l;let p=n*t;const m=d+p,g=void 0===a?m:a(m);g!==m&&(p=g-d);const y=e=>-p*Math.exp(-e/r),v=e=>g+y(e),b=e=>{const t=y(e),n=v(e);f.done=Math.abs(t)<=c,f.value=f.done?g:n};let x,w;const C=e=>{(e=>void 0!==s&&e<s||void 0!==l&&e>l)(f.value)&&(x=e,w=Yl({keyframes:[f.value,h(f.value)],velocity:zl(v,e,f.value),damping:o,stiffness:i,restDelta:c,restSpeed:u}))};return C(0),{calculatedDuration:null,next:e=>{let t=!1;return!w&&void 0===x&&(t=!0,b(e),C(e)),void 0!==x&&e>=x?w.next(e-x):(!t&&b(e),f)}}}const Ql=ss(.42,0,1,1),Gl=ss(0,0,.58,1),Xl=ss(.42,0,.58,1),Jl=e=>Array.isArray(e)&&"number"==typeof e[0],$l={linear:$a,easeIn:Ql,easeInOut:Xl,easeOut:Gl,circIn:ps,circInOut:gs,circOut:ms,backIn:ds,backInOut:fs,backOut:us,anticipate:hs},ec=e=>{if(Jl(e)){bs(4===e.length,"Cubic bezier arrays must contain four numerical values.");const[t,n,r,o]=e;return ss(t,n,r,o)}return"string"==typeof e?(bs(void 0!==$l[e],`Invalid easing type '${e}'`),$l[e]):e},tc=(e,t)=>n=>t(e(n)),nc=(...e)=>e.reduce(tc),rc=(e,t,n)=>{const r=t-e;return 0===r?1:(n-e)/r},oc=(e,t,n)=>e+(t-e)*n;function ic(e,t,n){return n<0&&(n+=1),n>1&&(n-=1),n<1/6?e+6*(t-e)*n:n<.5?t:n<2/3?e+(t-e)*(2/3-n)*6:e}function ac(e,t){return n=>n>0?t:e}const sc=(e,t,n)=>{const r=e*e,o=n*(t*t-r)+r;return o<0?0:Math.sqrt(o)},lc=[ll,sl,cl];function cc(e){const t=(e=>lc.find((t=>t.test(e))))(e);if(vs(!!t,`'${e}' is not an animatable color. Use the equivalent color code instead.`),!t)return!1;let n=t.parse(e);return t===cl&&(n=function({hue:e,saturation:t,lightness:n,alpha:r}){e/=360,n/=100;let o=0,i=0,a=0;if(t/=100){const r=n<.5?n*(1+t):n+t-n*t,s=2*n-r;o=ic(s,r,e+1/3),i=ic(s,r,e),a=ic(s,r,e-1/3)}else o=i=a=n;return{red:Math.round(255*o),green:Math.round(255*i),blue:Math.round(255*a),alpha:r}}(n)),n}const uc=(e,t)=>{const n=cc(e),r=cc(t);if(!n||!r)return ac(e,t);const o={...n};return e=>(o.red=sc(n.red,r.red,e),o.green=sc(n.green,r.green,e),o.blue=sc(n.blue,r.blue,e),o.alpha=oc(n.alpha,r.alpha,e),sl.transform(o))},dc=new Set(["none","hidden"]);function fc(e,t){return n=>oc(e,t,n)}function hc(e){return"number"==typeof e?fc:"string"==typeof e?Es(e)?ac:ul.test(e)?uc:gc:Array.isArray(e)?pc:"object"==typeof e?ul.test(e)?uc:mc:ac}function pc(e,t){const n=[...e],r=n.length,o=e.map(((e,n)=>hc(e)(e,t[n])));return e=>{for(let t=0;t<r;t++)n[t]=o[t](e);return n}}function mc(e,t){const n={...e,...t},r={};for(const o in n)void 0!==e[o]&&void 0!==t[o]&&(r[o]=hc(e[o])(e[o],t[o]));return e=>{for(const t in r)n[t]=r[t](e);return n}}const gc=(e,t)=>{const n=bl.createTransformer(t),r=ml(e),o=ml(t);return r.indexes.var.length===o.indexes.var.length&&r.indexes.color.length===o.indexes.color.length&&r.indexes.number.length>=o.indexes.number.length?dc.has(e)&&!o.values.length||dc.has(t)&&!r.values.length?function(e,t){return dc.has(e)?n=>n<=0?e:t:n=>n>=1?t:e}(e,t):nc(pc(function(e,t){var n;const r=[],o={color:0,var:0,number:0};for(let i=0;i<t.values.length;i++){const a=t.types[i],s=e.indexes[a][o[a]],l=null!==(n=e.values[s])&&void 0!==n?n:0;r[i]=l,o[a]++}return r}(r,o),o.values),n):(vs(!0,`Complex values '${e}' and '${t}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`),ac(e,t))};function yc(e,t,n){return"number"==typeof e&&"number"==typeof t&&"number"==typeof n?oc(e,t,n):hc(e)(e,t)}function vc(e,t){return e.map((()=>t||Xl)).splice(0,e.length-1)}function bc({duration:e=300,keyframes:t,times:n,ease:r="easeInOut"}){const o=(e=>Array.isArray(e)&&"number"!=typeof e[0])(r)?r.map(ec):ec(r),i={done:!1,value:t[0]},a=function(e,t){return e.map((e=>e*t))}(n&&n.length===t.length?n:function(e){const t=[0];return function(e,t){const n=e[e.length-1];for(let r=1;r<=t;r++){const o=rc(0,t,r);e.push(oc(n,1,o))}}(t,e.length-1),t}(t),e),s=function(e,t,{clamp:n=!0,ease:r,mixer:o}={}){const i=e.length;if(bs(i===t.length,"Both input and output ranges must be the same length"),1===i)return()=>t[0];if(2===i&&e[0]===e[1])return()=>t[1];e[0]>e[i-1]&&(e=[...e].reverse(),t=[...t].reverse());const a=function(e,t,n){const r=[],o=n||yc,i=e.length-1;for(let n=0;n<i;n++){let i=o(e[n],e[n+1]);if(t){const e=Array.isArray(t)?t[n]||$a:t;i=nc(e,i)}r.push(i)}return r}(t,r,o),s=a.length,l=t=>{let n=0;if(s>1)for(;n<e.length-2&&!(t<e[n+1]);n++);const r=rc(e[n],e[n+1],t);return a[n](r)};return n?t=>l(Os(e[0],e[i-1],t)):l}(a,t,{ease:Array.isArray(o)?o:vc(t,o)});return{calculatedDuration:e,next:t=>(i.value=s(t),i.done=t>=e,i)}}const xc=e=>{const t=({timestamp:t})=>e(t);return{start:()=>ns.update(t,!0),stop:()=>rs(t),now:()=>os.isProcessing?os.timestamp:Dl.now()}},wc={decay:Kl,inertia:Kl,tween:bc,keyframes:bc,spring:Yl},Cc=e=>e/100;class Ac extends Fl{constructor(e){super(e),this.holdTime=null,this.cancelTime=null,this.currentTime=0,this.playbackSpeed=1,this.pendingPlayState="running",this.startTime=null,this.state="idle",this.stop=()=>{if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.teardown();const{onStop:e}=this.options;e&&e()};const{name:t,motionValue:n,element:r,keyframes:o}=this.options,i=(null==r?void 0:r.KeyframeResolver)||el;this.resolver=new i(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}flatten(){super.flatten(),this._resolved&&Object.assign(this._resolved,this.initPlayback(this._resolved.keyframes))}initPlayback(e){const{type:t="keyframes",repeat:n=0,repeatDelay:r=0,repeatType:o,velocity:i=0}=this.options,a=Ml(t)?t:wc[t]||bc;let s,l;a!==bc&&"number"!=typeof e[0]&&(s=nc(Cc,yc(e[0],e[1])),e=[0,100]);const c=a({...this.options,keyframes:e});"mirror"===o&&(l=a({...this.options,keyframes:[...e].reverse(),velocity:-i})),null===c.calculatedDuration&&(c.calculatedDuration=function(e){let t=0,n=e.next(t);for(;!n.done&&t<2e4;)t+=50,n=e.next(t);return t>=2e4?1/0:t}(c));const{calculatedDuration:u}=c,d=u+r;return{generator:c,mirroredGenerator:l,mapPercentToKeyframes:s,calculatedDuration:u,resolvedDuration:d,totalDuration:d*(n+1)-r}}onPostResolved(){const{autoplay:e=!0}=this.options;this.play(),"paused"!==this.pendingPlayState&&e?this.state=this.pendingPlayState:this.pause()}tick(e,t=!1){const{resolved:n}=this;if(!n){const{keyframes:e}=this.options;return{done:!0,value:e[e.length-1]}}const{finalKeyframe:r,generator:o,mirroredGenerator:i,mapPercentToKeyframes:a,keyframes:s,calculatedDuration:l,totalDuration:c,resolvedDuration:u}=n;if(null===this.startTime)return o.next(0);const{delay:d,repeat:f,repeatType:h,repeatDelay:p,onUpdate:m}=this.options;this.speed>0?this.startTime=Math.min(this.startTime,e):this.speed<0&&(this.startTime=Math.min(e-c/this.speed,this.startTime)),t?this.currentTime=e:null!==this.holdTime?this.currentTime=this.holdTime:this.currentTime=Math.round(e-this.startTime)*this.speed;const g=this.currentTime-d*(this.speed>=0?1:-1),y=this.speed>=0?g<0:g>c;this.currentTime=Math.max(g,0),"finished"===this.state&&null===this.holdTime&&(this.currentTime=c);let v=this.currentTime,b=o;if(f){const e=Math.min(this.currentTime,c)/u;let t=Math.floor(e),n=e%1;!n&&e>=1&&(n=1),1===n&&t--,t=Math.min(t,f+1),!!(t%2)&&("reverse"===h?(n=1-n,p&&(n-=p/u)):"mirror"===h&&(b=i)),v=Os(0,1,n)*u}const x=y?{done:!1,value:s[0]}:b.next(v);a&&(x.value=a(x.value));let{done:w}=x;!y&&null!==l&&(w=this.speed>=0?this.currentTime>=c:this.currentTime<=0);const C=null===this.holdTime&&("finished"===this.state||"running"===this.state&&w);return C&&void 0!==r&&(x.value=Ja(s,this.options,r)),m&&m(x.value),C&&this.finish(),x}get duration(){const{resolved:e}=this;return e?Za(e.calculatedDuration):0}get time(){return Za(this.currentTime)}set time(e){e=Ua(e),this.currentTime=e,null!==this.holdTime||0===this.speed?this.holdTime=e:this.driver&&(this.startTime=this.driver.now()-e/this.speed)}get speed(){return this.playbackSpeed}set speed(e){const t=this.playbackSpeed!==e;this.playbackSpeed=e,t&&(this.time=Za(this.currentTime))}play(){if(this.resolver.isScheduled||this.resolver.resume(),!this._resolved)return void(this.pendingPlayState="running");if(this.isStopped)return;const{driver:e=xc,onPlay:t,startTime:n}=this.options;this.driver||(this.driver=e((e=>this.tick(e)))),t&&t();const r=this.driver.now();null!==this.holdTime?this.startTime=r-this.holdTime:this.startTime?"finished"===this.state&&(this.startTime=r):this.startTime=n??this.calcStartTime(),"finished"===this.state&&this.updateFinishedPromise(),this.cancelTime=this.startTime,this.holdTime=null,this.state="running",this.driver.start()}pause(){var e;this._resolved?(this.state="paused",this.holdTime=null!==(e=this.currentTime)&&void 0!==e?e:0):this.pendingPlayState="paused"}complete(){"running"!==this.state&&this.play(),this.pendingPlayState=this.state="finished",this.holdTime=null}finish(){this.teardown(),this.state="finished";const{onComplete:e}=this.options;e&&e()}cancel(){null!==this.cancelTime&&this.tick(this.cancelTime),this.teardown(),this.updateFinishedPromise()}teardown(){this.state="idle",this.stopDriver(),this.resolveFinishedPromise(),this.updateFinishedPromise(),this.startTime=this.cancelTime=null,this.resolver.cancel()}stopDriver(){this.driver&&(this.driver.stop(),this.driver=void 0)}sample(e){return this.startTime=0,this.tick(e,!0)}}const Ec=new Set(["opacity","clipPath","filter","transform"]);function Sc(e){let t;return()=>(void 0===t&&(t=e()),t)}const kc={linearEasing:void 0};function _c(e,t){const n=Sc(e);return()=>{var e;return null!==(e=kc[t])&&void 0!==e?e:n()}}const Oc=_c((()=>{try{document.createElement("div").animate({opacity:0},{easing:"linear(0, 1)"})}catch{return!1}return!0}),"linearEasing");function Rc(e){return!!("function"==typeof e&&Oc()||!e||"string"==typeof e&&(e in jc||Oc())||Jl(e)||Array.isArray(e)&&e.every(Rc))}const Pc=([e,t,n,r])=>`cubic-bezier(${e}, ${t}, ${n}, ${r})`,jc={linear:"linear",ease:"ease",easeIn:"ease-in",easeOut:"ease-out",easeInOut:"ease-in-out",circIn:Pc([0,.65,.55,1]),circOut:Pc([.55,0,1,.45]),backIn:Pc([.31,.01,.66,-.59]),backOut:Pc([.33,1.53,.69,.99])};function Tc(e,t){if(e)return"function"==typeof e&&Oc()?((e,t)=>{let n="";const r=Math.max(Math.round(t/10),2);for(let t=0;t<r;t++)n+=e(rc(0,r-1,t))+", ";return`linear(${n.substring(0,n.length-2)})`})(e,t):Jl(e)?Pc(e):Array.isArray(e)?e.map((e=>Tc(e,t)||jc.easeOut)):jc[e]}function Mc(e,t){e.timeline=t,e.onfinish=null}const Nc=Sc((()=>Object.hasOwnProperty.call(Element.prototype,"animate"))),Lc={anticipate:hs,backInOut:fs,circInOut:gs};class Dc extends Fl{constructor(e){super(e);const{name:t,motionValue:n,element:r,keyframes:o}=this.options;this.resolver=new Tl(o,((e,t)=>this.onKeyframesResolved(e,t)),t,n,r),this.resolver.scheduleResolve()}initPlayback(e,t){var n;let{duration:r=300,times:o,ease:i,type:a,motionValue:s,name:l,startTime:c}=this.options;if(null===(n=s.owner)||void 0===n||!n.current)return!1;if("string"==typeof i&&Oc()&&i in Lc&&(i=Lc[i]),function(e){return Ml(e.type)||"spring"===e.type||!Rc(e.ease)}(this.options)){const{onComplete:t,onUpdate:n,motionValue:s,element:l,...c}=this.options,u=function(e,t){const n=new Ac({...t,keyframes:e,repeat:0,delay:0,isGenerator:!0});let r={done:!1,value:e[0]};const o=[];let i=0;for(;!r.done&&i<2e4;)r=n.sample(i),o.push(r.value),i+=10;return{times:void 0,keyframes:o,duration:i-10,ease:"linear"}}(e,c);1===(e=u.keyframes).length&&(e[1]=e[0]),r=u.duration,o=u.times,i=u.ease,a="keyframes"}const u=function(e,t,n,{delay:r=0,duration:o=300,repeat:i=0,repeatType:a="loop",ease:s="easeInOut",times:l}={}){const c={[t]:n};l&&(c.offset=l);const u=Tc(s,o);return Array.isArray(u)&&(c.easing=u),e.animate(c,{delay:r,duration:o,easing:Array.isArray(u)?"linear":u,fill:"both",iterations:i+1,direction:"reverse"===a?"alternate":"normal"})}(s.owner.current,l,e,{...this.options,duration:r,times:o,ease:i});return u.startTime=c??this.calcStartTime(),this.pendingTimeline?(Mc(u,this.pendingTimeline),this.pendingTimeline=void 0):u.onfinish=()=>{const{onComplete:n}=this.options;s.set(Ja(e,this.options,t)),n&&n(),this.cancel(),this.resolveFinishedPromise()},{animation:u,duration:r,times:o,type:a,ease:i,keyframes:e}}get duration(){const{resolved:e}=this;if(!e)return 0;const{duration:t}=e;return Za(t)}get time(){const{resolved:e}=this;if(!e)return 0;const{animation:t}=e;return Za(t.currentTime||0)}set time(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.currentTime=Ua(e)}get speed(){const{resolved:e}=this;if(!e)return 1;const{animation:t}=e;return t.playbackRate}set speed(e){const{resolved:t}=this;if(!t)return;const{animation:n}=t;n.playbackRate=e}get state(){const{resolved:e}=this;if(!e)return"idle";const{animation:t}=e;return t.playState}get startTime(){const{resolved:e}=this;if(!e)return null;const{animation:t}=e;return t.startTime}attachTimeline(e){if(this._resolved){const{resolved:t}=this;if(!t)return $a;const{animation:n}=t;Mc(n,e)}else this.pendingTimeline=e;return $a}play(){if(this.isStopped)return;const{resolved:e}=this;if(!e)return;const{animation:t}=e;"finished"===t.playState&&this.updateFinishedPromise(),t.play()}pause(){const{resolved:e}=this;if(!e)return;const{animation:t}=e;t.pause()}stop(){if(this.resolver.cancel(),this.isStopped=!0,"idle"===this.state)return;this.resolveFinishedPromise(),this.updateFinishedPromise();const{resolved:e}=this;if(!e)return;const{animation:t,keyframes:n,duration:r,type:o,ease:i,times:a}=e;if("idle"===t.playState||"finished"===t.playState)return;if(this.time){const{motionValue:e,onUpdate:t,onComplete:s,element:l,...c}=this.options,u=new Ac({...c,keyframes:n,duration:r,type:o,ease:i,times:a,isGenerator:!0}),d=Ua(this.time);e.setWithVelocity(u.sample(d-10).value,u.sample(d).value,10)}const{onStop:s}=this.options;s&&s(),this.cancel()}complete(){const{resolved:e}=this;e&&e.animation.finish()}cancel(){const{resolved:e}=this;e&&e.animation.cancel()}static supports(e){const{motionValue:t,name:n,repeatDelay:r,repeatType:o,damping:i,type:a}=e;return Nc()&&n&&Ec.has(n)&&t&&t.owner&&t.owner.current instanceof HTMLElement&&!t.owner.getProps().onUpdate&&!r&&"mirror"!==o&&0!==i&&"inertia"!==a}}const Ic=Sc((()=>void 0!==window.ScrollTimeline));class Fc{constructor(e){this.stop=()=>this.runAll("stop"),this.animations=e.filter(Boolean)}then(e,t){return Promise.all(this.animations).then(e).catch(t)}getAll(e){return this.animations[0][e]}setAll(e,t){for(let n=0;n<this.animations.length;n++)this.animations[n][e]=t}attachTimeline(e,t){const n=this.animations.map((n=>Ic()&&n.attachTimeline?n.attachTimeline(e):t(n)));return()=>{n.forEach(((e,t)=>{e&&e(),this.animations[t].stop()}))}}get time(){return this.getAll("time")}set time(e){this.setAll("time",e)}get speed(){return this.getAll("speed")}set speed(e){this.setAll("speed",e)}get startTime(){return this.getAll("startTime")}get duration(){let e=0;for(let t=0;t<this.animations.length;t++)e=Math.max(e,this.animations[t].duration);return e}runAll(e){this.animations.forEach((t=>t[e]()))}flatten(){this.runAll("flatten")}play(){this.runAll("play")}pause(){this.runAll("pause")}cancel(){this.runAll("cancel")}complete(){this.runAll("complete")}}const Bc=(e,t,n,r={},o,i)=>a=>{const s=Ga(r,e)||{},l=s.delay||r.delay||0;let{elapsed:c=0}=r;c-=Ua(l);let u={keyframes:Array.isArray(n)?n:[null,n],ease:"easeOut",velocity:t.getVelocity(),...s,delay:-c,onUpdate:e=>{t.set(e),s.onUpdate&&s.onUpdate(e)},onComplete:()=>{a(),s.onComplete&&s.onComplete()},name:e,motionValue:t,element:i?void 0:o};(function({when:e,delay:t,delayChildren:n,staggerChildren:r,staggerDirection:o,repeat:i,repeatType:a,repeatDelay:s,from:l,elapsed:c,...u}){return!!Object.keys(u).length})(s)||(u={...u,...Qa(e,u)}),u.duration&&(u.duration=Ua(u.duration)),u.repeatDelay&&(u.repeatDelay=Ua(u.repeatDelay)),void 0!==u.from&&(u.keyframes[0]=u.from);let d=!1;if((!1===u.type||0===u.duration&&!u.repeatDelay)&&(u.duration=0,0===u.delay&&(d=!0)),d&&!i&&void 0!==t.get()){const e=Ja(u.keyframes,s);if(void 0!==e)return ns.update((()=>{u.onUpdate(e),u.onComplete()})),new Fc([])}return!i&&Dc.supports(u)?new Dc(u):new Ac(u)},zc=e=>Na(e)?e[e.length-1]||0:e;function Vc(e,t){-1===e.indexOf(t)&&e.push(t)}function Hc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Wc{constructor(){this.subscriptions=[]}add(e){return Vc(this.subscriptions,e),()=>Hc(this.subscriptions,e)}notify(e,t,n){const r=this.subscriptions.length;if(r)if(1===r)this.subscriptions[0](e,t,n);else for(let o=0;o<r;o++){const r=this.subscriptions[o];r&&r(e,t,n)}}getSize(){return this.subscriptions.length}clear(){this.subscriptions.length=0}}class Uc{constructor(e,t={}){this.version="11.11.17",this.canTrackVelocity=null,this.events={},this.updateAndNotify=(e,t=!0)=>{const n=Dl.now();this.updatedAt!==n&&this.setPrevFrameValue(),this.prev=this.current,this.setCurrent(e),this.current!==this.prev&&this.events.change&&this.events.change.notify(this.current),t&&this.events.renderRequest&&this.events.renderRequest.notify(this.current)},this.hasAnimated=!1,this.setCurrent(e),this.owner=t.owner}setCurrent(e){var t;this.current=e,this.updatedAt=Dl.now(),null===this.canTrackVelocity&&void 0!==e&&(this.canTrackVelocity=(t=this.current,!isNaN(parseFloat(t))))}setPrevFrameValue(e=this.current){this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt}onChange(e){return this.on("change",e)}on(e,t){this.events[e]||(this.events[e]=new Wc);const n=this.events[e].add(t);return"change"===e?()=>{n(),ns.read((()=>{this.events.change.getSize()||this.stop()}))}:n}clearListeners(){for(const e in this.events)this.events[e].clear()}attach(e,t){this.passiveEffect=e,this.stopPassiveEffect=t}set(e,t=!0){t&&this.passiveEffect?this.passiveEffect(e,this.updateAndNotify):this.updateAndNotify(e,t)}setWithVelocity(e,t,n){this.set(t),this.prev=void 0,this.prevFrameValue=e,this.prevUpdatedAt=this.updatedAt-n}jump(e,t=!0){this.updateAndNotify(e),this.prev=e,this.prevUpdatedAt=this.prevFrameValue=void 0,t&&this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}get(){return this.current}getPrevious(){return this.prev}getVelocity(){const e=Dl.now();if(!this.canTrackVelocity||void 0===this.prevFrameValue||e-this.updatedAt>30)return 0;const t=Math.min(this.updatedAt-this.prevUpdatedAt,30);return Bl(parseFloat(this.current)-parseFloat(this.prevFrameValue),t)}start(e){return this.stop(),new Promise((t=>{this.hasAnimated=!0,this.animation=e(t),this.events.animationStart&&this.events.animationStart.notify()})).then((()=>{this.events.animationComplete&&this.events.animationComplete.notify(),this.clearAnimation()}))}stop(){this.animation&&(this.animation.stop(),this.events.animationCancel&&this.events.animationCancel.notify()),this.clearAnimation()}isAnimating(){return!!this.animation}clearAnimation(){delete this.animation}destroy(){this.clearListeners(),this.stop(),this.stopPassiveEffect&&this.stopPassiveEffect()}}function Zc(e,t){return new Uc(e,t)}function qc(e,t,n){e.hasValue(t)?e.getValue(t).set(n):e.addValue(t,Zc(n))}const Yc=e=>e.replace(/([a-z])([A-Z])/gu,"$1-$2").toLowerCase(),Kc="data-"+Yc("framerAppearId");function Qc(e){return e.props[Kc]}const Gc=e=>!(!e||!e.getVelocity);function Xc(e,t){const n=e.getValue("willChange");if(function(e){return!(!Gc(e)||!e.add)}(n))return n.add(t)}function Jc({protectedKeys:e,needsAnimating:t},n){const r=e.hasOwnProperty(n)&&!0!==t[n];return t[n]=!1,r}function $c(e,t,{delay:n=0,transitionOverride:r,type:o}={}){var i;let{transition:a=e.getDefaultTransition(),transitionEnd:s,...l}=t;r&&(a=r);const c=[],u=o&&e.animationState&&e.animationState.getState()[o];for(const t in l){const r=e.getValue(t,null!==(i=e.latestValues[t])&&void 0!==i?i:null),o=l[t];if(void 0===o||u&&Jc(u,t))continue;const s={delay:n,...Ga(a||{},t)};let d=!1;if(window.MotionHandoffAnimation){const n=Qc(e);if(n){const e=window.MotionHandoffAnimation(n,t,ns);null!==e&&(s.startTime=e,d=!0)}}Xc(e,t),r.start(Bc(t,r,o,e.shouldReduceMotion&&Wa.has(t)?{type:!1}:s,e,d));const f=r.animation;f&&c.push(f)}return s&&Promise.all(c).then((()=>{ns.update((()=>{s&&function(e,t){const n=Ba(e,t);let{transitionEnd:r={},transition:o={},...i}=n||{};i={...i,...r};for(const t in i)qc(e,t,zc(i[t]))}(e,s)}))})),c}function eu(e,t,n={}){var r;const o=Ba(e,t,"exit"===n.type?null===(r=e.presenceContext)||void 0===r?void 0:r.custom:void 0);let{transition:i=e.getDefaultTransition()||{}}=o||{};n.transitionOverride&&(i=n.transitionOverride);const a=o?()=>Promise.all($c(e,o,n)):()=>Promise.resolve(),s=e.variantChildren&&e.variantChildren.size?(r=0)=>{const{delayChildren:o=0,staggerChildren:a,staggerDirection:s}=i;return function(e,t,n=0,r=0,o=1,i){const a=[],s=(e.variantChildren.size-1)*r,l=1===o?(e=0)=>e*r:(e=0)=>s-e*r;return Array.from(e.variantChildren).sort(tu).forEach(((e,r)=>{e.notify("AnimationStart",t),a.push(eu(e,t,{...i,delay:n+l(r)}).then((()=>e.notify("AnimationComplete",t))))})),Promise.all(a)}(e,t,o+r,a,s,n)}:()=>Promise.resolve(),{when:l}=i;if(l){const[e,t]="beforeChildren"===l?[a,s]:[s,a];return e().then((()=>t()))}return Promise.all([a(),s(n.delay)])}function tu(e,t){return e.sortNodePosition(t)}const nu=Va.length;function ru(e){if(!e)return;if(!e.isControllingVariants){const t=e.parent&&ru(e.parent)||{};return void 0!==e.props.initial&&(t.initial=e.props.initial),t}const t={};for(let n=0;n<nu;n++){const r=Va[n],o=e.props[r];(Da(o)||!1===o)&&(t[r]=o)}return t}const ou=[...za].reverse(),iu=za.length;function au(e){let t=function(e){return t=>Promise.all(t.map((({animation:t,options:n})=>function(e,t,n={}){let r;if(e.notify("AnimationStart",t),Array.isArray(t)){const o=t.map((t=>eu(e,t,n)));r=Promise.all(o)}else if("string"==typeof t)r=eu(e,t,n);else{const o="function"==typeof t?Ba(e,t,n.custom):t;r=Promise.all($c(e,o,n))}return r.then((()=>{e.notify("AnimationComplete",t)}))}(e,t,n))))}(e),n=cu(),r=!0;const o=t=>(n,r)=>{var o;const i=Ba(e,r,"exit"===t?null===(o=e.presenceContext)||void 0===o?void 0:o.custom:void 0);if(i){const{transition:e,transitionEnd:t,...r}=i;n={...n,...r,...t}}return n};function i(i){const{props:a}=e,s=ru(e.parent)||{},l=[],c=new Set;let u={},d=1/0;for(let t=0;t<iu;t++){const f=ou[t],h=n[f],p=void 0!==a[f]?a[f]:s[f],m=Da(p),g=f===i?h.isActive:null;!1===g&&(d=t);let y=p===s[f]&&p!==a[f]&&m;if(y&&r&&e.manuallyAnimateOnMount&&(y=!1),h.protectedKeys={...u},!h.isActive&&null===g||!p&&!h.prevProp||Ma(p)||"boolean"==typeof p)continue;const v=su(h.prevProp,p);let b=v||f===i&&h.isActive&&!y&&m||t>d&&m,x=!1;const w=Array.isArray(p)?p:[p];let C=w.reduce(o(f),{});!1===g&&(C={});const{prevResolvedValues:A={}}=h,E={...A,...C},S=t=>{b=!0,c.has(t)&&(x=!0,c.delete(t)),h.needsAnimating[t]=!0;const n=e.getValue(t);n&&(n.liveStyle=!1)};for(const e in E){const t=C[e],n=A[e];if(u.hasOwnProperty(e))continue;let r=!1;r=Na(t)&&Na(n)?!La(t,n):t!==n,r?null!=t?S(e):c.add(e):void 0!==t&&c.has(e)?S(e):h.protectedKeys[e]=!0}h.prevProp=p,h.prevResolvedValues=C,h.isActive&&(u={...u,...C}),r&&e.blockInitialAnimation&&(b=!1),b&&(!y||!v||x)&&l.push(...w.map((e=>({animation:e,options:{type:f}}))))}if(c.size){const t={};c.forEach((n=>{const r=e.getBaseTarget(n),o=e.getValue(n);o&&(o.liveStyle=!0),t[n]=r??null})),l.push({animation:t})}let f=!!l.length;return r&&(!1===a.initial||a.initial===a.animate)&&!e.manuallyAnimateOnMount&&(f=!1),r=!1,f?t(l):Promise.resolve()}return{animateChanges:i,setActive:function(t,r){var o;if(n[t].isActive===r)return Promise.resolve();null===(o=e.variantChildren)||void 0===o||o.forEach((e=>{var n;return null===(n=e.animationState)||void 0===n?void 0:n.setActive(t,r)})),n[t].isActive=r;const a=i(t);for(const e in n)n[e].protectedKeys={};return a},setAnimateFunction:function(n){t=n(e)},getState:()=>n,reset:()=>{n=cu(),r=!0}}}function su(e,t){return"string"==typeof t?t!==e:!!Array.isArray(t)&&!La(t,e)}function lu(e=!1){return{isActive:e,protectedKeys:{},needsAnimating:{},prevResolvedValues:{}}}function cu(){return{animate:lu(!0),whileInView:lu(),whileHover:lu(),whileTap:lu(),whileDrag:lu(),whileFocus:lu(),exit:lu()}}class uu{constructor(e){this.isMounted=!1,this.node=e}update(){}}let du=0;const fu={animation:{Feature:class extends uu{constructor(e){super(e),e.animationState||(e.animationState=au(e))}updateAnimationControlsSubscription(){const{animate:e}=this.node.getProps();Ma(e)&&(this.unmountControls=e.subscribe(this.node))}mount(){this.updateAnimationControlsSubscription()}update(){const{animate:e}=this.node.getProps(),{animate:t}=this.node.prevProps||{};e!==t&&this.updateAnimationControlsSubscription()}unmount(){var e;this.node.animationState.reset(),null===(e=this.unmountControls)||void 0===e||e.call(this)}}},exit:{Feature:class extends uu{constructor(){super(...arguments),this.id=du++}update(){if(!this.node.presenceContext)return;const{isPresent:e,onExitComplete:t}=this.node.presenceContext,{isPresent:n}=this.node.prevPresenceContext||{};if(!this.node.animationState||e===n)return;const r=this.node.animationState.setActive("exit",!e);t&&!e&&r.then((()=>t(this.id)))}mount(){const{register:e}=this.node.presenceContext||{};e&&(this.unmount=e(this.id))}unmount(){}}}},hu=e=>"mouse"===e.pointerType?"number"!=typeof e.button||e.button<=0:!1!==e.isPrimary;function pu(e,t="page"){return{point:{x:e[`${t}X`],y:e[`${t}Y`]}}}function mu(e,t,n,r={passive:!0}){return e.addEventListener(t,n,r),()=>e.removeEventListener(t,n)}function gu(e,t,n,r){return mu(e,t,(e=>t=>hu(t)&&e(t,pu(t)))(n),r)}const yu=(e,t)=>Math.abs(e-t);class vu{constructor(e,t,{transformPagePoint:n,contextWindow:r,dragSnapToOrigin:o=!1}={}){if(this.startEvent=null,this.lastMoveEvent=null,this.lastMoveEventInfo=null,this.handlers={},this.contextWindow=window,this.updatePoint=()=>{if(!this.lastMoveEvent||!this.lastMoveEventInfo)return;const e=wu(this.lastMoveEventInfo,this.history),t=null!==this.startEvent,n=function(e,t){const n=yu(e.x,t.x),r=yu(e.y,t.y);return Math.sqrt(n**2+r**2)}(e.offset,{x:0,y:0})>=3;if(!t&&!n)return;const{point:r}=e,{timestamp:o}=os;this.history.push({...r,timestamp:o});const{onStart:i,onMove:a}=this.handlers;t||(i&&i(this.lastMoveEvent,e),this.startEvent=this.lastMoveEvent),a&&a(this.lastMoveEvent,e)},this.handlePointerMove=(e,t)=>{this.lastMoveEvent=e,this.lastMoveEventInfo=bu(t,this.transformPagePoint),ns.update(this.updatePoint,!0)},this.handlePointerUp=(e,t)=>{this.end();const{onEnd:n,onSessionEnd:r,resumeAnimation:o}=this.handlers;if(this.dragSnapToOrigin&&o&&o(),!this.lastMoveEvent||!this.lastMoveEventInfo)return;const i=wu("pointercancel"===e.type?this.lastMoveEventInfo:bu(t,this.transformPagePoint),this.history);this.startEvent&&n&&n(e,i),r&&r(e,i)},!hu(e))return;this.dragSnapToOrigin=o,this.handlers=t,this.transformPagePoint=n,this.contextWindow=r||window;const i=bu(pu(e),this.transformPagePoint),{point:a}=i,{timestamp:s}=os;this.history=[{...a,timestamp:s}];const{onSessionStart:l}=t;l&&l(e,wu(i,this.history)),this.removeListeners=nc(gu(this.contextWindow,"pointermove",this.handlePointerMove),gu(this.contextWindow,"pointerup",this.handlePointerUp),gu(this.contextWindow,"pointercancel",this.handlePointerUp))}updateHandlers(e){this.handlers=e}end(){this.removeListeners&&this.removeListeners(),rs(this.updatePoint)}}function bu(e,t){return t?{point:t(e.point)}:e}function xu(e,t){return{x:e.x-t.x,y:e.y-t.y}}function wu({point:e},t){return{point:e,delta:xu(e,Au(t)),offset:xu(e,Cu(t)),velocity:Eu(t,.1)}}function Cu(e){return e[0]}function Au(e){return e[e.length-1]}function Eu(e,t){if(e.length<2)return{x:0,y:0};let n=e.length-1,r=null;const o=Au(e);for(;n>=0&&(r=e[n],!(o.timestamp-r.timestamp>Ua(t)));)n--;if(!r)return{x:0,y:0};const i=Za(o.timestamp-r.timestamp);if(0===i)return{x:0,y:0};const a={x:(o.x-r.x)/i,y:(o.y-r.y)/i};return a.x===1/0&&(a.x=0),a.y===1/0&&(a.y=0),a}function Su(e){let t=null;return()=>null===t&&(t=e,()=>{t=null})}const ku=Su("dragHorizontal"),_u=Su("dragVertical");function Ou(e){let t=!1;if("y"===e)t=_u();else if("x"===e)t=ku();else{const e=ku(),n=_u();e&&n?t=()=>{e(),n()}:(e&&e(),n&&n())}return t}function Ru(){const e=Ou(!0);return!e||(e(),!1)}function Pu(e){return e&&"object"==typeof e&&Object.prototype.hasOwnProperty.call(e,"current")}function ju(e){return e.max-e.min}function Tu(e,t,n,r=.5){e.origin=r,e.originPoint=oc(t.min,t.max,e.origin),e.scale=ju(n)/ju(t),e.translate=oc(n.min,n.max,e.origin)-e.originPoint,(e.scale>=.9999&&e.scale<=1.0001||isNaN(e.scale))&&(e.scale=1),(e.translate>=-.01&&e.translate<=.01||isNaN(e.translate))&&(e.translate=0)}function Mu(e,t,n,r){Tu(e.x,t.x,n.x,r?r.originX:void 0),Tu(e.y,t.y,n.y,r?r.originY:void 0)}function Nu(e,t,n){e.min=n.min+t.min,e.max=e.min+ju(t)}function Lu(e,t,n){e.min=t.min-n.min,e.max=e.min+ju(t)}function Du(e,t,n){Lu(e.x,t.x,n.x),Lu(e.y,t.y,n.y)}function Iu(e,t,n){return{min:void 0!==t?e.min+t:void 0,max:void 0!==n?e.max+n-(e.max-e.min):void 0}}function Fu(e,t){let n=t.min-e.min,r=t.max-e.max;return t.max-t.min<e.max-e.min&&([n,r]=[r,n]),{min:n,max:r}}const Bu=.35;function zu(e,t,n){return{min:Vu(e,t),max:Vu(e,n)}}function Vu(e,t){return"number"==typeof e?e:e[t]||0}const Hu=()=>({x:{min:0,max:0},y:{min:0,max:0}});function Wu(e){return[e("x"),e("y")]}function Uu({top:e,left:t,right:n,bottom:r}){return{x:{min:t,max:n},y:{min:e,max:r}}}function Zu(e){return void 0===e||1===e}function qu({scale:e,scaleX:t,scaleY:n}){return!Zu(e)||!Zu(t)||!Zu(n)}function Yu(e){return qu(e)||Ku(e)||e.z||e.rotate||e.rotateX||e.rotateY||e.skewX||e.skewY}function Ku(e){return Qu(e.x)||Qu(e.y)}function Qu(e){return e&&"0%"!==e}function Gu(e,t,n){return n+t*(e-n)}function Xu(e,t,n,r,o){return void 0!==o&&(e=Gu(e,o,r)),Gu(e,n,r)+t}function Ju(e,t=0,n=1,r,o){e.min=Xu(e.min,t,n,r,o),e.max=Xu(e.max,t,n,r,o)}function $u(e,{x:t,y:n}){Ju(e.x,t.translate,t.scale,t.originPoint),Ju(e.y,n.translate,n.scale,n.originPoint)}const ed=.999999999999,td=1.0000000000001;function nd(e,t){e.min=e.min+t,e.max=e.max+t}function rd(e,t,n,r,o=.5){Ju(e,t,n,oc(e.min,e.max,o),r)}function od(e,t){rd(e.x,t.x,t.scaleX,t.scale,t.originX),rd(e.y,t.y,t.scaleY,t.scale,t.originY)}function id(e,t){return Uu(function(e,t){if(!t)return e;const n=t({x:e.left,y:e.top}),r=t({x:e.right,y:e.bottom});return{top:n.y,left:n.x,bottom:r.y,right:r.x}}(e.getBoundingClientRect(),t))}const ad=({current:e})=>e?e.ownerDocument.defaultView:null,sd=new WeakMap;class ld{constructor(e){this.openGlobalLock=null,this.isDragging=!1,this.currentDirection=null,this.originPoint={x:0,y:0},this.constraints=!1,this.hasMutatedConstraints=!1,this.elastic={x:{min:0,max:0},y:{min:0,max:0}},this.visualElement=e}start(e,{snapToCursor:t=!1}={}){const{presenceContext:n}=this.visualElement;if(n&&!1===n.isPresent)return;const{dragSnapToOrigin:r}=this.getProps();this.panSession=new vu(e,{onSessionStart:e=>{const{dragSnapToOrigin:n}=this.getProps();n?this.pauseAnimation():this.stopAnimation(),t&&this.snapToCursor(pu(e,"page").point)},onStart:(e,t)=>{const{drag:n,dragPropagation:r,onDragStart:o}=this.getProps();if(n&&!r&&(this.openGlobalLock&&this.openGlobalLock(),this.openGlobalLock=Ou(n),!this.openGlobalLock))return;this.isDragging=!0,this.currentDirection=null,this.resolveConstraints(),this.visualElement.projection&&(this.visualElement.projection.isAnimationBlocked=!0,this.visualElement.projection.target=void 0),Wu((e=>{let t=this.getAxisMotionValue(e).get()||0;if(Ns.test(t)){const{projection:n}=this.visualElement;if(n&&n.layout){const r=n.layout.layoutBox[e];r&&(t=ju(r)*(parseFloat(t)/100))}}this.originPoint[e]=t})),o&&ns.postRender((()=>o(e,t))),Xc(this.visualElement,"transform");const{animationState:i}=this.visualElement;i&&i.setActive("whileDrag",!0)},onMove:(e,t)=>{const{dragPropagation:n,dragDirectionLock:r,onDirectionLock:o,onDrag:i}=this.getProps();if(!n&&!this.openGlobalLock)return;const{offset:a}=t;if(r&&null===this.currentDirection)return this.currentDirection=function(e,t=10){let n=null;return Math.abs(e.y)>t?n="y":Math.abs(e.x)>t&&(n="x"),n}(a),void(null!==this.currentDirection&&o&&o(this.currentDirection));this.updateAxis("x",t.point,a),this.updateAxis("y",t.point,a),this.visualElement.render(),i&&i(e,t)},onSessionEnd:(e,t)=>this.stop(e,t),resumeAnimation:()=>Wu((e=>{var t;return"paused"===this.getAnimationState(e)&&(null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.play())}))},{transformPagePoint:this.visualElement.getTransformPagePoint(),dragSnapToOrigin:r,contextWindow:ad(this.visualElement)})}stop(e,t){const n=this.isDragging;if(this.cancel(),!n)return;const{velocity:r}=t;this.startAnimation(r);const{onDragEnd:o}=this.getProps();o&&ns.postRender((()=>o(e,t)))}cancel(){this.isDragging=!1;const{projection:e,animationState:t}=this.visualElement;e&&(e.isAnimationBlocked=!1),this.panSession&&this.panSession.end(),this.panSession=void 0;const{dragPropagation:n}=this.getProps();!n&&this.openGlobalLock&&(this.openGlobalLock(),this.openGlobalLock=null),t&&t.setActive("whileDrag",!1)}updateAxis(e,t,n){const{drag:r}=this.getProps();if(!n||!cd(e,r,this.currentDirection))return;const o=this.getAxisMotionValue(e);let i=this.originPoint[e]+n[e];this.constraints&&this.constraints[e]&&(i=function(e,{min:t,max:n},r){return void 0!==t&&e<t?e=r?oc(t,e,r.min):Math.max(e,t):void 0!==n&&e>n&&(e=r?oc(n,e,r.max):Math.min(e,n)),e}(i,this.constraints[e],this.elastic[e])),o.set(i)}resolveConstraints(){var e;const{dragConstraints:t,dragElastic:n}=this.getProps(),r=this.visualElement.projection&&!this.visualElement.projection.layout?this.visualElement.projection.measure(!1):null===(e=this.visualElement.projection)||void 0===e?void 0:e.layout,o=this.constraints;t&&Pu(t)?this.constraints||(this.constraints=this.resolveRefConstraints()):this.constraints=!(!t||!r)&&function(e,{top:t,left:n,bottom:r,right:o}){return{x:Iu(e.x,n,o),y:Iu(e.y,t,r)}}(r.layoutBox,t),this.elastic=function(e=Bu){return!1===e?e=0:!0===e&&(e=Bu),{x:zu(e,"left","right"),y:zu(e,"top","bottom")}}(n),o!==this.constraints&&r&&this.constraints&&!this.hasMutatedConstraints&&Wu((e=>{!1!==this.constraints&&this.getAxisMotionValue(e)&&(this.constraints[e]=function(e,t){const n={};return void 0!==t.min&&(n.min=t.min-e.min),void 0!==t.max&&(n.max=t.max-e.min),n}(r.layoutBox[e],this.constraints[e]))}))}resolveRefConstraints(){const{dragConstraints:e,onMeasureDragConstraints:t}=this.getProps();if(!e||!Pu(e))return!1;const n=e.current;bs(null!==n,"If `dragConstraints` is set as a React ref, that ref must be passed to another component's `ref` prop.");const{projection:r}=this.visualElement;if(!r||!r.layout)return!1;const o=function(e,t,n){const r=id(e,n),{scroll:o}=t;return o&&(nd(r.x,o.offset.x),nd(r.y,o.offset.y)),r}(n,r.root,this.visualElement.getTransformPagePoint());let i=function(e,t){return{x:Fu(e.x,t.x),y:Fu(e.y,t.y)}}(r.layout.layoutBox,o);if(t){const e=t(function({x:e,y:t}){return{top:t.min,right:e.max,bottom:t.max,left:e.min}}(i));this.hasMutatedConstraints=!!e,e&&(i=Uu(e))}return i}startAnimation(e){const{drag:t,dragMomentum:n,dragElastic:r,dragTransition:o,dragSnapToOrigin:i,onDragTransitionEnd:a}=this.getProps(),s=this.constraints||{},l=Wu((a=>{if(!cd(a,t,this.currentDirection))return;let l=s&&s[a]||{};i&&(l={min:0,max:0});const c=r?200:1e6,u=r?40:1e7,d={type:"inertia",velocity:n?e[a]:0,bounceStiffness:c,bounceDamping:u,timeConstant:750,restDelta:1,restSpeed:10,...o,...l};return this.startAxisValueAnimation(a,d)}));return Promise.all(l).then(a)}startAxisValueAnimation(e,t){const n=this.getAxisMotionValue(e);return Xc(this.visualElement,e),n.start(Bc(e,n,0,t,this.visualElement,!1))}stopAnimation(){Wu((e=>this.getAxisMotionValue(e).stop()))}pauseAnimation(){Wu((e=>{var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.pause()}))}getAnimationState(e){var t;return null===(t=this.getAxisMotionValue(e).animation)||void 0===t?void 0:t.state}getAxisMotionValue(e){const t=`_drag${e.toUpperCase()}`,n=this.visualElement.getProps();return n[t]||this.visualElement.getValue(e,(n.initial?n.initial[e]:void 0)||0)}snapToCursor(e){Wu((t=>{const{drag:n}=this.getProps();if(!cd(t,n,this.currentDirection))return;const{projection:r}=this.visualElement,o=this.getAxisMotionValue(t);if(r&&r.layout){const{min:n,max:i}=r.layout.layoutBox[t];o.set(e[t]-oc(n,i,.5))}}))}scalePositionWithinConstraints(){if(!this.visualElement.current)return;const{drag:e,dragConstraints:t}=this.getProps(),{projection:n}=this.visualElement;if(!Pu(t)||!n||!this.constraints)return;this.stopAnimation();const r={x:0,y:0};Wu((e=>{const t=this.getAxisMotionValue(e);if(t&&!1!==this.constraints){const n=t.get();r[e]=function(e,t){let n=.5;const r=ju(e),o=ju(t);return o>r?n=rc(t.min,t.max-r,e.min):r>o&&(n=rc(e.min,e.max-o,t.min)),Os(0,1,n)}({min:n,max:n},this.constraints[e])}}));const{transformTemplate:o}=this.visualElement.getProps();this.visualElement.current.style.transform=o?o({},""):"none",n.root&&n.root.updateScroll(),n.updateLayout(),this.resolveConstraints(),Wu((t=>{if(!cd(t,e,null))return;const n=this.getAxisMotionValue(t),{min:o,max:i}=this.constraints[t];n.set(oc(o,i,r[t]))}))}addListeners(){if(!this.visualElement.current)return;sd.set(this.visualElement,this);const e=gu(this.visualElement.current,"pointerdown",(e=>{const{drag:t,dragListener:n=!0}=this.getProps();t&&n&&this.start(e)})),t=()=>{const{dragConstraints:e}=this.getProps();Pu(e)&&e.current&&(this.constraints=this.resolveRefConstraints())},{projection:n}=this.visualElement,r=n.addEventListener("measure",t);n&&!n.layout&&(n.root&&n.root.updateScroll(),n.updateLayout()),ns.read(t);const o=mu(window,"resize",(()=>this.scalePositionWithinConstraints())),i=n.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t})=>{this.isDragging&&t&&(Wu((t=>{const n=this.getAxisMotionValue(t);n&&(this.originPoint[t]+=e[t].translate,n.set(n.get()+e[t].translate))})),this.visualElement.render())}));return()=>{o(),e(),r(),i&&i()}}getProps(){const e=this.visualElement.getProps(),{drag:t=!1,dragDirectionLock:n=!1,dragPropagation:r=!1,dragConstraints:o=!1,dragElastic:i=Bu,dragMomentum:a=!0}=e;return{...e,drag:t,dragDirectionLock:n,dragPropagation:r,dragConstraints:o,dragElastic:i,dragMomentum:a}}}function cd(e,t,n){return!(!0!==t&&t!==e||null!==n&&n!==e)}const ud=e=>(t,n)=>{e&&ns.postRender((()=>e(t,n)))},dd=(0,n.createContext)(null),fd=(0,n.createContext)({}),hd=(0,n.createContext)({}),pd={hasAnimatedSinceResize:!0,hasEverUpdated:!1};function md(e,t){return t.max===t.min?0:e/(t.max-t.min)*100}const gd={correct:(e,t)=>{if(!t.target)return e;if("string"==typeof e){if(!Ls.test(e))return e;e=parseFloat(e)}return`${md(e,t.target.x)}% ${md(e,t.target.y)}%`}},yd={correct:(e,{treeScale:t,projectionDelta:n})=>{const r=e,o=bl.parse(e);if(o.length>5)return r;const i=bl.createTransformer(e),a="number"!=typeof o[0]?1:0,s=n.x.scale*t.x,l=n.y.scale*t.y;o[0+a]/=s,o[1+a]/=l;const c=oc(s,l,.5);return"number"==typeof o[2+a]&&(o[2+a]/=c),"number"==typeof o[3+a]&&(o[3+a]/=c),i(o)}},vd={},{schedule:bd,cancel:xd}=ts(queueMicrotask,!1);class wd extends n.Component{componentDidMount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n,layoutId:r}=this.props,{projection:o}=e;var i;i=Ad,Object.assign(vd,i),o&&(t.group&&t.group.add(o),n&&n.register&&r&&n.register(o),o.root.didUpdate(),o.addEventListener("animationComplete",(()=>{this.safeToRemove()})),o.setOptions({...o.options,onExitComplete:()=>this.safeToRemove()})),pd.hasEverUpdated=!0}getSnapshotBeforeUpdate(e){const{layoutDependency:t,visualElement:n,drag:r,isPresent:o}=this.props,i=n.projection;return i&&(i.isPresent=o,r||e.layoutDependency!==t||void 0===t?i.willUpdate():this.safeToRemove(),e.isPresent!==o&&(o?i.promote():i.relegate()||ns.postRender((()=>{const e=i.getStack();(!e||!e.members.length)&&this.safeToRemove()})))),null}componentDidUpdate(){const{projection:e}=this.props.visualElement;e&&(e.root.didUpdate(),bd.postRender((()=>{!e.currentAnimation&&e.isLead()&&this.safeToRemove()})))}componentWillUnmount(){const{visualElement:e,layoutGroup:t,switchLayoutGroup:n}=this.props,{projection:r}=e;r&&(r.scheduleCheckAfterUnmount(),t&&t.group&&t.group.remove(r),n&&n.deregister&&n.deregister(r))}safeToRemove(){const{safeToRemove:e}=this.props;e&&e()}render(){return null}}function Cd(e){const[t,r]=function(){const e=(0,n.useContext)(dd);if(null===e)return[!0,null];const{isPresent:t,onExitComplete:r,register:o}=e,i=(0,n.useId)();(0,n.useEffect)((()=>o(i)),[]);const a=(0,n.useCallback)((()=>r&&r(i)),[i,r]);return!t&&r?[!1,a]:[!0]}(),o=(0,n.useContext)(fd);return(0,We.jsx)(wd,{...e,layoutGroup:o,switchLayoutGroup:(0,n.useContext)(hd),isPresent:t,safeToRemove:r})}const Ad={borderRadius:{...gd,applyTo:["borderTopLeftRadius","borderTopRightRadius","borderBottomLeftRadius","borderBottomRightRadius"]},borderTopLeftRadius:gd,borderTopRightRadius:gd,borderBottomLeftRadius:gd,borderBottomRightRadius:gd,boxShadow:yd},Ed=["TopLeft","TopRight","BottomLeft","BottomRight"],Sd=Ed.length,kd=e=>"string"==typeof e?parseFloat(e):e,_d=e=>"number"==typeof e||Ls.test(e);function Od(e,t){return void 0!==e[t]?e[t]:e.borderRadius}const Rd=jd(0,.5,ms),Pd=jd(.5,.95,$a);function jd(e,t,n){return r=>r<e?0:r>t?1:n(rc(e,t,r))}function Td(e,t){e.min=t.min,e.max=t.max}function Md(e,t){Td(e.x,t.x),Td(e.y,t.y)}function Nd(e,t){e.translate=t.translate,e.scale=t.scale,e.originPoint=t.originPoint,e.origin=t.origin}function Ld(e,t,n,r,o){return e=Gu(e-=t,1/n,r),void 0!==o&&(e=Gu(e,1/o,r)),e}function Dd(e,t,[n,r,o],i,a){!function(e,t=0,n=1,r=.5,o,i=e,a=e){if(Ns.test(t)&&(t=parseFloat(t),t=oc(a.min,a.max,t/100)-a.min),"number"!=typeof t)return;let s=oc(i.min,i.max,r);e===i&&(s-=t),e.min=Ld(e.min,t,n,s,o),e.max=Ld(e.max,t,n,s,o)}(e,t[n],t[r],t[o],t.scale,i,a)}const Id=["x","scaleX","originX"],Fd=["y","scaleY","originY"];function Bd(e,t,n,r){Dd(e.x,t,Id,n?n.x:void 0,r?r.x:void 0),Dd(e.y,t,Fd,n?n.y:void 0,r?r.y:void 0)}function zd(e){return 0===e.translate&&1===e.scale}function Vd(e){return zd(e.x)&&zd(e.y)}function Hd(e,t){return e.min===t.min&&e.max===t.max}function Wd(e,t){return Math.round(e.min)===Math.round(t.min)&&Math.round(e.max)===Math.round(t.max)}function Ud(e,t){return Wd(e.x,t.x)&&Wd(e.y,t.y)}function Zd(e){return ju(e.x)/ju(e.y)}function qd(e,t){return e.translate===t.translate&&e.scale===t.scale&&e.originPoint===t.originPoint}class Yd{constructor(){this.members=[]}add(e){Vc(this.members,e),e.scheduleRender()}remove(e){if(Hc(this.members,e),e===this.prevLead&&(this.prevLead=void 0),e===this.lead){const e=this.members[this.members.length-1];e&&this.promote(e)}}relegate(e){const t=this.members.findIndex((t=>e===t));if(0===t)return!1;let n;for(let e=t;e>=0;e--){const t=this.members[e];if(!1!==t.isPresent){n=t;break}}return!!n&&(this.promote(n),!0)}promote(e,t){const n=this.lead;if(e!==n&&(this.prevLead=n,this.lead=e,e.show(),n)){n.instance&&n.scheduleRender(),e.scheduleRender(),e.resumeFrom=n,t&&(e.resumeFrom.preserveOpacity=!0),n.snapshot&&(e.snapshot=n.snapshot,e.snapshot.latestValues=n.animationValues||n.latestValues),e.root&&e.root.isUpdating&&(e.isLayoutDirty=!0);const{crossfade:r}=e.options;!1===r&&n.hide()}}exitAnimationComplete(){this.members.forEach((e=>{const{options:t,resumingFrom:n}=e;t.onExitComplete&&t.onExitComplete(),n&&n.options.onExitComplete&&n.options.onExitComplete()}))}scheduleRender(){this.members.forEach((e=>{e.instance&&e.scheduleRender(!1)}))}removeLeadSnapshot(){this.lead&&this.lead.snapshot&&(this.lead.snapshot=void 0)}}const Kd=(e,t)=>e.depth-t.depth;class Qd{constructor(){this.children=[],this.isDirty=!1}add(e){Vc(this.children,e),this.isDirty=!0}remove(e){Hc(this.children,e),this.isDirty=!0}forEach(e){this.isDirty&&this.children.sort(Kd),this.isDirty=!1,this.children.forEach(e)}}function Gd(e){const t=Gc(e)?e.get():e;return(e=>!!(e&&"object"==typeof e&&e.mix&&e.toValue))(t)?t.toValue():t}const Xd={type:"projectionFrame",totalNodes:0,resolvedTargetDeltas:0,recalculatedProjection:0},Jd=typeof window<"u"&&void 0!==window.MotionDebug,$d=["","X","Y","Z"],ef={visibility:"hidden"};let tf=0;function nf(e,t,n,r){const{latestValues:o}=t;o[e]&&(n[e]=o[e],t.setStaticValue(e,0),r&&(r[e]=0))}function rf(e){if(e.hasCheckedOptimisedAppear=!0,e.root===e)return;const{visualElement:t}=e.options;if(!t)return;const n=Qc(t);if(window.MotionHasOptimisedAnimation(n,"transform")){const{layout:t,layoutId:r}=e.options;window.MotionCancelOptimisedAnimation(n,"transform",ns,!(t||r))}const{parent:r}=e;r&&!r.hasCheckedOptimisedAppear&&rf(r)}function of({attachResizeListener:e,defaultParent:t,measureScroll:n,checkIsScrollRoot:r,resetTransform:o}){return class{constructor(e={},n=(null==t?void 0:t())){this.id=tf++,this.animationId=0,this.children=new Set,this.options={},this.isTreeAnimating=!1,this.isAnimationBlocked=!1,this.isLayoutDirty=!1,this.isProjectionDirty=!1,this.isSharedProjectionDirty=!1,this.isTransformDirty=!1,this.updateManuallyBlocked=!1,this.updateBlockedByResize=!1,this.isUpdating=!1,this.isSVG=!1,this.needsReset=!1,this.shouldResetTransform=!1,this.hasCheckedOptimisedAppear=!1,this.treeScale={x:1,y:1},this.eventHandlers=new Map,this.hasTreeAnimated=!1,this.updateScheduled=!1,this.scheduleUpdate=()=>this.update(),this.projectionUpdateScheduled=!1,this.checkUpdateFailed=()=>{this.isUpdating&&(this.isUpdating=!1,this.clearAllSnapshots())},this.updateProjection=()=>{this.projectionUpdateScheduled=!1,Jd&&(Xd.totalNodes=Xd.resolvedTargetDeltas=Xd.recalculatedProjection=0),this.nodes.forEach(lf),this.nodes.forEach(mf),this.nodes.forEach(gf),this.nodes.forEach(cf),Jd&&window.MotionDebug.record(Xd)},this.resolvedRelativeTargetAt=0,this.hasProjected=!1,this.isVisible=!0,this.animationProgress=0,this.sharedNodes=new Map,this.latestValues=e,this.root=n?n.root||n:this,this.path=n?[...n.path,n]:[],this.parent=n,this.depth=n?n.depth+1:0;for(let e=0;e<this.path.length;e++)this.path[e].shouldResetTransform=!0;this.root===this&&(this.nodes=new Qd)}addEventListener(e,t){return this.eventHandlers.has(e)||this.eventHandlers.set(e,new Wc),this.eventHandlers.get(e).add(t)}notifyListeners(e,...t){const n=this.eventHandlers.get(e);n&&n.notify(...t)}hasListeners(e){return this.eventHandlers.has(e)}mount(t,n=this.root.hasTreeAnimated){if(this.instance)return;this.isSVG=function(e){return e instanceof SVGElement&&"svg"!==e.tagName}(t),this.instance=t;const{layoutId:r,layout:o,visualElement:i}=this.options;if(i&&!i.current&&i.mount(t),this.root.nodes.add(this),this.parent&&this.parent.children.add(this),n&&(o||r)&&(this.isLayoutDirty=!0),e){let n;const r=()=>this.root.updateBlockedByResize=!1;e(t,(()=>{this.root.updateBlockedByResize=!0,n&&n(),n=function(e){const t=Dl.now(),n=({timestamp:r})=>{const o=r-t;o>=250&&(rs(n),e(o-250))};return ns.read(n,!0),()=>rs(n)}(r),pd.hasAnimatedSinceResize&&(pd.hasAnimatedSinceResize=!1,this.nodes.forEach(pf))}))}r&&this.root.registerSharedNode(r,this),!1!==this.options.animate&&i&&(r||o)&&this.addEventListener("didUpdate",(({delta:e,hasLayoutChanged:t,hasRelativeTargetChanged:n,layout:r})=>{if(this.isTreeAnimationBlocked())return this.target=void 0,void(this.relativeTarget=void 0);const o=this.options.transition||i.getDefaultTransition()||Cf,{onLayoutAnimationStart:a,onLayoutAnimationComplete:s}=i.getProps(),l=!this.targetLayout||!Ud(this.targetLayout,r)||n,c=!t&&n;if(this.options.layoutRoot||this.resumeFrom&&this.resumeFrom.instance||c||t&&(l||!this.currentAnimation)){this.resumeFrom&&(this.resumingFrom=this.resumeFrom,this.resumingFrom.resumingFrom=void 0),this.setAnimationOrigin(e,c);const t={...Ga(o,"layout"),onPlay:a,onComplete:s};(i.shouldReduceMotion||this.options.layoutRoot)&&(t.delay=0,t.type=!1),this.startAnimation(t)}else t||pf(this),this.isLead()&&this.options.onExitComplete&&this.options.onExitComplete();this.targetLayout=r}))}unmount(){this.options.layoutId&&this.willUpdate(),this.root.nodes.remove(this);const e=this.getStack();e&&e.remove(this),this.parent&&this.parent.children.delete(this),this.instance=void 0,rs(this.updateProjection)}blockUpdate(){this.updateManuallyBlocked=!0}unblockUpdate(){this.updateManuallyBlocked=!1}isUpdateBlocked(){return this.updateManuallyBlocked||this.updateBlockedByResize}isTreeAnimationBlocked(){return this.isAnimationBlocked||this.parent&&this.parent.isTreeAnimationBlocked()||!1}startUpdate(){this.isUpdateBlocked()||(this.isUpdating=!0,this.nodes&&this.nodes.forEach(yf),this.animationId++)}getTransformTemplate(){const{visualElement:e}=this.options;return e&&e.getProps().transformTemplate}willUpdate(e=!0){if(this.root.hasTreeAnimated=!0,this.root.isUpdateBlocked())return void(this.options.onExitComplete&&this.options.onExitComplete());if(window.MotionCancelOptimisedAnimation&&!this.hasCheckedOptimisedAppear&&rf(this),!this.root.isUpdating&&this.root.startUpdate(),this.isLayoutDirty)return;this.isLayoutDirty=!0;for(let e=0;e<this.path.length;e++){const t=this.path[e];t.shouldResetTransform=!0,t.updateScroll("snapshot"),t.options.layoutRoot&&t.willUpdate(!1)}const{layoutId:t,layout:n}=this.options;if(void 0===t&&!n)return;const r=this.getTransformTemplate();this.prevTransformTemplateValue=r?r(this.latestValues,""):void 0,this.updateSnapshot(),e&&this.notifyListeners("willUpdate")}update(){if(this.updateScheduled=!1,this.isUpdateBlocked())return this.unblockUpdate(),this.clearAllSnapshots(),void this.nodes.forEach(df);this.isUpdating||this.nodes.forEach(ff),this.isUpdating=!1,this.nodes.forEach(hf),this.nodes.forEach(af),this.nodes.forEach(sf),this.clearAllSnapshots();const e=Dl.now();os.delta=Os(0,1e3/60,e-os.timestamp),os.timestamp=e,os.isProcessing=!0,is.update.process(os),is.preRender.process(os),is.render.process(os),os.isProcessing=!1}didUpdate(){this.updateScheduled||(this.updateScheduled=!0,bd.read(this.scheduleUpdate))}clearAllSnapshots(){this.nodes.forEach(uf),this.sharedNodes.forEach(vf)}scheduleUpdateProjection(){this.projectionUpdateScheduled||(this.projectionUpdateScheduled=!0,ns.preRender(this.updateProjection,!1,!0))}scheduleCheckAfterUnmount(){ns.postRender((()=>{this.isLayoutDirty?this.root.didUpdate():this.root.checkUpdateFailed()}))}updateSnapshot(){this.snapshot||!this.instance||(this.snapshot=this.measure())}updateLayout(){if(!(this.instance&&(this.updateScroll(),this.options.alwaysMeasureLayout&&this.isLead()||this.isLayoutDirty)))return;if(this.resumeFrom&&!this.resumeFrom.instance)for(let e=0;e<this.path.length;e++)this.path[e].updateScroll();const e=this.layout;this.layout=this.measure(!1),this.layoutCorrected={x:{min:0,max:0},y:{min:0,max:0}},this.isLayoutDirty=!1,this.projectionDelta=void 0,this.notifyListeners("measure",this.layout.layoutBox);const{visualElement:t}=this.options;t&&t.notify("LayoutMeasure",this.layout.layoutBox,e?e.layoutBox:void 0)}updateScroll(e="measure"){let t=!(!this.options.layoutScroll||!this.instance);if(this.scroll&&this.scroll.animationId===this.root.animationId&&this.scroll.phase===e&&(t=!1),t){const t=r(this.instance);this.scroll={animationId:this.root.animationId,phase:e,isRoot:t,offset:n(this.instance),wasRoot:this.scroll?this.scroll.isRoot:t}}}resetTransform(){if(!o)return;const e=this.isLayoutDirty||this.shouldResetTransform||this.options.alwaysMeasureLayout,t=this.projectionDelta&&!Vd(this.projectionDelta),n=this.getTransformTemplate(),r=n?n(this.latestValues,""):void 0,i=r!==this.prevTransformTemplateValue;e&&(t||Yu(this.latestValues)||i)&&(o(this.instance,r),this.shouldResetTransform=!1,this.scheduleRender())}measure(e=!0){const t=this.measurePageBox();let n=this.removeElementScroll(t);return e&&(n=this.removeTransform(n)),function(e){Sf(e.x),Sf(e.y)}(n),{animationId:this.root.animationId,measuredBox:t,layoutBox:n,latestValues:{},source:this.id}}measurePageBox(){var e;const{visualElement:t}=this.options;if(!t)return{x:{min:0,max:0},y:{min:0,max:0}};const n=t.measureViewportBox();if(!(null===(e=this.scroll)||void 0===e?void 0:e.wasRoot)&&!this.path.some(_f)){const{scroll:e}=this.root;e&&(nd(n.x,e.offset.x),nd(n.y,e.offset.y))}return n}removeElementScroll(e){var t;const n={x:{min:0,max:0},y:{min:0,max:0}};if(Md(n,e),null!==(t=this.scroll)&&void 0!==t&&t.wasRoot)return n;for(let t=0;t<this.path.length;t++){const r=this.path[t],{scroll:o,options:i}=r;r!==this.root&&o&&i.layoutScroll&&(o.wasRoot&&Md(n,e),nd(n.x,o.offset.x),nd(n.y,o.offset.y))}return n}applyTransform(e,t=!1){const n={x:{min:0,max:0},y:{min:0,max:0}};Md(n,e);for(let e=0;e<this.path.length;e++){const r=this.path[e];!t&&r.options.layoutScroll&&r.scroll&&r!==r.root&&od(n,{x:-r.scroll.offset.x,y:-r.scroll.offset.y}),Yu(r.latestValues)&&od(n,r.latestValues)}return Yu(this.latestValues)&&od(n,this.latestValues),n}removeTransform(e){const t={x:{min:0,max:0},y:{min:0,max:0}};Md(t,e);for(let e=0;e<this.path.length;e++){const n=this.path[e];if(!n.instance||!Yu(n.latestValues))continue;qu(n.latestValues)&&n.updateSnapshot();const r={x:{min:0,max:0},y:{min:0,max:0}};Md(r,n.measurePageBox()),Bd(t,n.latestValues,n.snapshot?n.snapshot.layoutBox:void 0,r)}return Yu(this.latestValues)&&Bd(t,this.latestValues),t}setTargetDelta(e){this.targetDelta=e,this.root.scheduleUpdateProjection(),this.isProjectionDirty=!0}setOptions(e){this.options={...this.options,...e,crossfade:void 0===e.crossfade||e.crossfade}}clearMeasurements(){this.scroll=void 0,this.layout=void 0,this.snapshot=void 0,this.prevTransformTemplateValue=void 0,this.targetDelta=void 0,this.target=void 0,this.isLayoutDirty=!1}forceRelativeParentToResolveTarget(){this.relativeParent&&this.relativeParent.resolvedRelativeTargetAt!==os.timestamp&&this.relativeParent.resolveTargetDelta(!0)}resolveTargetDelta(e=!1){var t;const n=this.getLead();this.isProjectionDirty||(this.isProjectionDirty=n.isProjectionDirty),this.isTransformDirty||(this.isTransformDirty=n.isTransformDirty),this.isSharedProjectionDirty||(this.isSharedProjectionDirty=n.isSharedProjectionDirty);const r=!!this.resumingFrom||this!==n;if(!(e||r&&this.isSharedProjectionDirty||this.isProjectionDirty||null!==(t=this.parent)&&void 0!==t&&t.isProjectionDirty||this.attemptToResolveRelativeTarget||this.root.updateBlockedByResize))return;const{layout:o,layoutId:i}=this.options;if(this.layout&&(o||i)){if(this.resolvedRelativeTargetAt=os.timestamp,!this.targetDelta&&!this.relativeTarget){const e=this.getClosestProjectingParent();e&&e.layout&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Du(this.relativeTargetOrigin,this.layout.layoutBox,e.layout.layoutBox),Md(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}if(this.relativeTarget||this.targetDelta){if(this.target||(this.target={x:{min:0,max:0},y:{min:0,max:0}},this.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}}),this.relativeTarget&&this.relativeTargetOrigin&&this.relativeParent&&this.relativeParent.target?(this.forceRelativeParentToResolveTarget(),function(e,t,n){Nu(e.x,t.x,n.x),Nu(e.y,t.y,n.y)}(this.target,this.relativeTarget,this.relativeParent.target)):this.targetDelta?(this.resumingFrom?this.target=this.applyTransform(this.layout.layoutBox):Md(this.target,this.layout.layoutBox),$u(this.target,this.targetDelta)):Md(this.target,this.layout.layoutBox),this.attemptToResolveRelativeTarget){this.attemptToResolveRelativeTarget=!1;const e=this.getClosestProjectingParent();e&&!!e.resumingFrom==!!this.resumingFrom&&!e.options.layoutScroll&&e.target&&1!==this.animationProgress?(this.relativeParent=e,this.forceRelativeParentToResolveTarget(),this.relativeTarget={x:{min:0,max:0},y:{min:0,max:0}},this.relativeTargetOrigin={x:{min:0,max:0},y:{min:0,max:0}},Du(this.relativeTargetOrigin,this.target,e.target),Md(this.relativeTarget,this.relativeTargetOrigin)):this.relativeParent=this.relativeTarget=void 0}Jd&&Xd.resolvedTargetDeltas++}}}getClosestProjectingParent(){if(this.parent&&!qu(this.parent.latestValues)&&!Ku(this.parent.latestValues))return this.parent.isProjecting()?this.parent:this.parent.getClosestProjectingParent()}isProjecting(){return!(!(this.relativeTarget||this.targetDelta||this.options.layoutRoot)||!this.layout)}calcProjection(){var e;const t=this.getLead(),n=!!this.resumingFrom||this!==t;let r=!0;if((this.isProjectionDirty||!(null===(e=this.parent)||void 0===e)&&e.isProjectionDirty)&&(r=!1),n&&(this.isSharedProjectionDirty||this.isTransformDirty)&&(r=!1),this.resolvedRelativeTargetAt===os.timestamp&&(r=!1),r)return;const{layout:o,layoutId:i}=this.options;if(this.isTreeAnimating=!!(this.parent&&this.parent.isTreeAnimating||this.currentAnimation||this.pendingAnimation),this.isTreeAnimating||(this.targetDelta=this.relativeTarget=void 0),!this.layout||!o&&!i)return;Md(this.layoutCorrected,this.layout.layoutBox);const a=this.treeScale.x,s=this.treeScale.y;(function(e,t,n,r=!1){const o=n.length;if(!o)return;let i,a;t.x=t.y=1;for(let s=0;s<o;s++){i=n[s],a=i.projectionDelta;const{visualElement:o}=i.options;o&&o.props.style&&"contents"===o.props.style.display||(r&&i.options.layoutScroll&&i.scroll&&i!==i.root&&od(e,{x:-i.scroll.offset.x,y:-i.scroll.offset.y}),a&&(t.x*=a.x.scale,t.y*=a.y.scale,$u(e,a)),r&&Yu(i.latestValues)&&od(e,i.latestValues))}t.x<td&&t.x>ed&&(t.x=1),t.y<td&&t.y>ed&&(t.y=1)})(this.layoutCorrected,this.treeScale,this.path,n),t.layout&&!t.target&&(1!==this.treeScale.x||1!==this.treeScale.y)&&(t.target=t.layout.layoutBox,t.targetWithTransforms={x:{min:0,max:0},y:{min:0,max:0}});const{target:l}=t;l?(this.projectionDelta&&this.prevProjectionDelta?(Nd(this.prevProjectionDelta.x,this.projectionDelta.x),Nd(this.prevProjectionDelta.y,this.projectionDelta.y)):this.createProjectionDeltas(),Mu(this.projectionDelta,this.layoutCorrected,l,this.latestValues),(this.treeScale.x!==a||this.treeScale.y!==s||!qd(this.projectionDelta.x,this.prevProjectionDelta.x)||!qd(this.projectionDelta.y,this.prevProjectionDelta.y))&&(this.hasProjected=!0,this.scheduleRender(),this.notifyListeners("projectionUpdate",l)),Jd&&Xd.recalculatedProjection++):this.prevProjectionDelta&&(this.createProjectionDeltas(),this.scheduleRender())}hide(){this.isVisible=!1}show(){this.isVisible=!0}scheduleRender(e=!0){var t;if(null===(t=this.options.visualElement)||void 0===t||t.scheduleRender(),e){const e=this.getStack();e&&e.scheduleRender()}this.resumingFrom&&!this.resumingFrom.instance&&(this.resumingFrom=void 0)}createProjectionDeltas(){this.prevProjectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDelta={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}},this.projectionDeltaWithTransform={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}}}setAnimationOrigin(e,t=!1){const n=this.snapshot,r=n?n.latestValues:{},o={...this.latestValues},i={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};(!this.relativeParent||!this.relativeParent.options.layoutRoot)&&(this.relativeTarget=this.relativeTargetOrigin=void 0),this.attemptToResolveRelativeTarget=!t;const a={x:{min:0,max:0},y:{min:0,max:0}},s=(n?n.source:void 0)!==(this.layout?this.layout.source:void 0),l=this.getStack(),c=!l||l.members.length<=1,u=!(!s||c||!0!==this.options.crossfade||this.path.some(wf));let d;this.animationProgress=0,this.mixTargetDelta=t=>{const n=t/1e3;bf(i.x,e.x,n),bf(i.y,e.y,n),this.setTargetDelta(i),this.relativeTarget&&this.relativeTargetOrigin&&this.layout&&this.relativeParent&&this.relativeParent.layout&&(Du(a,this.layout.layoutBox,this.relativeParent.layout.layoutBox),function(e,t,n,r){xf(e.x,t.x,n.x,r),xf(e.y,t.y,n.y,r)}(this.relativeTarget,this.relativeTargetOrigin,a,n),d&&function(e,t){return Hd(e.x,t.x)&&Hd(e.y,t.y)}(this.relativeTarget,d)&&(this.isProjectionDirty=!1),d||(d={x:{min:0,max:0},y:{min:0,max:0}}),Md(d,this.relativeTarget)),s&&(this.animationValues=o,function(e,t,n,r,o,i){o?(e.opacity=oc(0,void 0!==n.opacity?n.opacity:1,Rd(r)),e.opacityExit=oc(void 0!==t.opacity?t.opacity:1,0,Pd(r))):i&&(e.opacity=oc(void 0!==t.opacity?t.opacity:1,void 0!==n.opacity?n.opacity:1,r));for(let o=0;o<Sd;o++){const i=`border${Ed[o]}Radius`;let a=Od(t,i),s=Od(n,i);void 0===a&&void 0===s||(a||(a=0),s||(s=0),0===a||0===s||_d(a)===_d(s)?(e[i]=Math.max(oc(kd(a),kd(s),r),0),(Ns.test(s)||Ns.test(a))&&(e[i]+="%")):e[i]=s)}(t.rotate||n.rotate)&&(e.rotate=oc(t.rotate||0,n.rotate||0,r))}(o,r,this.latestValues,n,u,c)),this.root.scheduleUpdateProjection(),this.scheduleRender(),this.animationProgress=n},this.mixTargetDelta(this.options.layoutRoot?1e3:0)}startAnimation(e){this.notifyListeners("animationStart"),this.currentAnimation&&this.currentAnimation.stop(),this.resumingFrom&&this.resumingFrom.currentAnimation&&this.resumingFrom.currentAnimation.stop(),this.pendingAnimation&&(rs(this.pendingAnimation),this.pendingAnimation=void 0),this.pendingAnimation=ns.update((()=>{pd.hasAnimatedSinceResize=!0,this.currentAnimation=function(e,t,n){const r=Gc(0)?0:Zc(0);return r.start(Bc("",r,1e3,n)),r.animation}(0,0,{...e,onUpdate:t=>{this.mixTargetDelta(t),e.onUpdate&&e.onUpdate(t)},onComplete:()=>{e.onComplete&&e.onComplete(),this.completeAnimation()}}),this.resumingFrom&&(this.resumingFrom.currentAnimation=this.currentAnimation),this.pendingAnimation=void 0}))}completeAnimation(){this.resumingFrom&&(this.resumingFrom.currentAnimation=void 0,this.resumingFrom.preserveOpacity=void 0);const e=this.getStack();e&&e.exitAnimationComplete(),this.resumingFrom=this.currentAnimation=this.animationValues=void 0,this.notifyListeners("animationComplete")}finishAnimation(){this.currentAnimation&&(this.mixTargetDelta&&this.mixTargetDelta(1e3),this.currentAnimation.stop()),this.completeAnimation()}applyTransformsToTarget(){const e=this.getLead();let{targetWithTransforms:t,target:n,layout:r,latestValues:o}=e;if(t&&n&&r){if(this!==e&&this.layout&&r&&kf(this.options.animationType,this.layout.layoutBox,r.layoutBox)){n=this.target||{x:{min:0,max:0},y:{min:0,max:0}};const t=ju(this.layout.layoutBox.x);n.x.min=e.target.x.min,n.x.max=n.x.min+t;const r=ju(this.layout.layoutBox.y);n.y.min=e.target.y.min,n.y.max=n.y.min+r}Md(t,n),od(t,o),Mu(this.projectionDeltaWithTransform,this.layoutCorrected,t,o)}}registerSharedNode(e,t){this.sharedNodes.has(e)||this.sharedNodes.set(e,new Yd),this.sharedNodes.get(e).add(t);const n=t.options.initialPromotionConfig;t.promote({transition:n?n.transition:void 0,preserveFollowOpacity:n&&n.shouldPreserveFollowOpacity?n.shouldPreserveFollowOpacity(t):void 0})}isLead(){const e=this.getStack();return!e||e.lead===this}getLead(){var e;const{layoutId:t}=this.options;return t&&(null===(e=this.getStack())||void 0===e?void 0:e.lead)||this}getPrevLead(){var e;const{layoutId:t}=this.options;return t?null===(e=this.getStack())||void 0===e?void 0:e.prevLead:void 0}getStack(){const{layoutId:e}=this.options;if(e)return this.root.sharedNodes.get(e)}promote({needsReset:e,transition:t,preserveFollowOpacity:n}={}){const r=this.getStack();r&&r.promote(this,n),e&&(this.projectionDelta=void 0,this.needsReset=!0),t&&this.setOptions({transition:t})}relegate(){const e=this.getStack();return!!e&&e.relegate(this)}resetSkewAndRotation(){const{visualElement:e}=this.options;if(!e)return;let t=!1;const{latestValues:n}=e;if((n.z||n.rotate||n.rotateX||n.rotateY||n.rotateZ||n.skewX||n.skewY)&&(t=!0),!t)return;const r={};n.z&&nf("z",e,r,this.animationValues);for(let t=0;t<$d.length;t++)nf(`rotate${$d[t]}`,e,r,this.animationValues),nf(`skew${$d[t]}`,e,r,this.animationValues);e.render();for(const t in r)e.setStaticValue(t,r[t]),this.animationValues&&(this.animationValues[t]=r[t]);e.scheduleRender()}getProjectionStyles(e){var t,n;if(!this.instance||this.isSVG)return;if(!this.isVisible)return ef;const r={visibility:""},o=this.getTransformTemplate();if(this.needsReset)return this.needsReset=!1,r.opacity="",r.pointerEvents=Gd(null==e?void 0:e.pointerEvents)||"",r.transform=o?o(this.latestValues,""):"none",r;const i=this.getLead();if(!this.projectionDelta||!this.layout||!i.target){const t={};return this.options.layoutId&&(t.opacity=void 0!==this.latestValues.opacity?this.latestValues.opacity:1,t.pointerEvents=Gd(null==e?void 0:e.pointerEvents)||""),this.hasProjected&&!Yu(this.latestValues)&&(t.transform=o?o({},""):"none",this.hasProjected=!1),t}const a=i.animationValues||i.latestValues;this.applyTransformsToTarget(),r.transform=function(e,t,n){let r="";const o=e.x.translate/t.x,i=e.y.translate/t.y,a=(null==n?void 0:n.z)||0;if((o||i||a)&&(r=`translate3d(${o}px, ${i}px, ${a}px) `),(1!==t.x||1!==t.y)&&(r+=`scale(${1/t.x}, ${1/t.y}) `),n){const{transformPerspective:e,rotate:t,rotateX:o,rotateY:i,skewX:a,skewY:s}=n;e&&(r=`perspective(${e}px) ${r}`),t&&(r+=`rotate(${t}deg) `),o&&(r+=`rotateX(${o}deg) `),i&&(r+=`rotateY(${i}deg) `),a&&(r+=`skewX(${a}deg) `),s&&(r+=`skewY(${s}deg) `)}const s=e.x.scale*t.x,l=e.y.scale*t.y;return(1!==s||1!==l)&&(r+=`scale(${s}, ${l})`),r||"none"}(this.projectionDeltaWithTransform,this.treeScale,a),o&&(r.transform=o(a,r.transform));const{x:s,y:l}=this.projectionDelta;r.transformOrigin=`${100*s.origin}% ${100*l.origin}% 0`,i.animationValues?r.opacity=i===this?null!==(n=null!==(t=a.opacity)&&void 0!==t?t:this.latestValues.opacity)&&void 0!==n?n:1:this.preserveOpacity?this.latestValues.opacity:a.opacityExit:r.opacity=i===this?void 0!==a.opacity?a.opacity:"":void 0!==a.opacityExit?a.opacityExit:0;for(const e in vd){if(void 0===a[e])continue;const{correct:t,applyTo:n}=vd[e],o="none"===r.transform?a[e]:t(a[e],i);if(n){const e=n.length;for(let t=0;t<e;t++)r[n[t]]=o}else r[e]=o}return this.options.layoutId&&(r.pointerEvents=i===this?Gd(null==e?void 0:e.pointerEvents)||"":"none"),r}clearSnapshot(){this.resumeFrom=this.snapshot=void 0}resetTree(){this.root.nodes.forEach((e=>{var t;return null===(t=e.currentAnimation)||void 0===t?void 0:t.stop()})),this.root.nodes.forEach(df),this.root.sharedNodes.clear()}}}function af(e){e.updateLayout()}function sf(e){var t;const n=(null===(t=e.resumeFrom)||void 0===t?void 0:t.snapshot)||e.snapshot;if(e.isLead()&&e.layout&&n&&e.hasListeners("didUpdate")){const{layoutBox:t,measuredBox:r}=e.layout,{animationType:o}=e.options,i=n.source!==e.layout.source;"size"===o?Wu((e=>{const r=i?n.measuredBox[e]:n.layoutBox[e],o=ju(r);r.min=t[e].min,r.max=r.min+o})):kf(o,n.layoutBox,t)&&Wu((r=>{const o=i?n.measuredBox[r]:n.layoutBox[r],a=ju(t[r]);o.max=o.min+a,e.relativeTarget&&!e.currentAnimation&&(e.isProjectionDirty=!0,e.relativeTarget[r].max=e.relativeTarget[r].min+a)}));const a={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};Mu(a,t,n.layoutBox);const s={x:{translate:0,scale:1,origin:0,originPoint:0},y:{translate:0,scale:1,origin:0,originPoint:0}};i?Mu(s,e.applyTransform(r,!0),n.measuredBox):Mu(s,t,n.layoutBox);const l=!Vd(a);let c=!1;if(!e.resumeFrom){const r=e.getClosestProjectingParent();if(r&&!r.resumeFrom){const{snapshot:o,layout:i}=r;if(o&&i){const a={x:{min:0,max:0},y:{min:0,max:0}};Du(a,n.layoutBox,o.layoutBox);const s={x:{min:0,max:0},y:{min:0,max:0}};Du(s,t,i.layoutBox),Ud(a,s)||(c=!0),r.options.layoutRoot&&(e.relativeTarget=s,e.relativeTargetOrigin=a,e.relativeParent=r)}}}e.notifyListeners("didUpdate",{layout:t,snapshot:n,delta:s,layoutDelta:a,hasLayoutChanged:l,hasRelativeTargetChanged:c})}else if(e.isLead()){const{onExitComplete:t}=e.options;t&&t()}e.options.transition=void 0}function lf(e){Jd&&Xd.totalNodes++,e.parent&&(e.isProjecting()||(e.isProjectionDirty=e.parent.isProjectionDirty),e.isSharedProjectionDirty||(e.isSharedProjectionDirty=!!(e.isProjectionDirty||e.parent.isProjectionDirty||e.parent.isSharedProjectionDirty)),e.isTransformDirty||(e.isTransformDirty=e.parent.isTransformDirty))}function cf(e){e.isProjectionDirty=e.isSharedProjectionDirty=e.isTransformDirty=!1}function uf(e){e.clearSnapshot()}function df(e){e.clearMeasurements()}function ff(e){e.isLayoutDirty=!1}function hf(e){const{visualElement:t}=e.options;t&&t.getProps().onBeforeLayoutMeasure&&t.notify("BeforeLayoutMeasure"),e.resetTransform()}function pf(e){e.finishAnimation(),e.targetDelta=e.relativeTarget=e.target=void 0,e.isProjectionDirty=!0}function mf(e){e.resolveTargetDelta()}function gf(e){e.calcProjection()}function yf(e){e.resetSkewAndRotation()}function vf(e){e.removeLeadSnapshot()}function bf(e,t,n){e.translate=oc(t.translate,0,n),e.scale=oc(t.scale,1,n),e.origin=t.origin,e.originPoint=t.originPoint}function xf(e,t,n,r){e.min=oc(t.min,n.min,r),e.max=oc(t.max,n.max,r)}function wf(e){return e.animationValues&&void 0!==e.animationValues.opacityExit}const Cf={duration:.45,ease:[.4,0,.1,1]},Af=e=>typeof navigator<"u"&&navigator.userAgent&&navigator.userAgent.toLowerCase().includes(e),Ef=Af("applewebkit/")&&!Af("chrome/")?Math.round:$a;function Sf(e){e.min=Ef(e.min),e.max=Ef(e.max)}function kf(e,t,n){return"position"===e||"preserve-aspect"===e&&!function(e,t){return Math.abs(e-t)<=.2}(Zd(t),Zd(n))}function _f(e){var t;return e!==e.root&&(null===(t=e.scroll)||void 0===t?void 0:t.wasRoot)}const Of=of({attachResizeListener:(e,t)=>mu(e,"resize",t),measureScroll:()=>({x:document.documentElement.scrollLeft||document.body.scrollLeft,y:document.documentElement.scrollTop||document.body.scrollTop}),checkIsScrollRoot:()=>!0}),Rf={current:void 0},Pf=of({measureScroll:e=>({x:e.scrollLeft,y:e.scrollTop}),defaultParent:()=>{if(!Rf.current){const e=new Of({});e.mount(window),e.setOptions({layoutScroll:!0}),Rf.current=e}return Rf.current},resetTransform:(e,t)=>{e.style.transform=void 0!==t?t:"none"},checkIsScrollRoot:e=>"fixed"===window.getComputedStyle(e).position}),jf={pan:{Feature:class extends uu{constructor(){super(...arguments),this.removePointerDownListener=$a}onPointerDown(e){this.session=new vu(e,this.createPanHandlers(),{transformPagePoint:this.node.getTransformPagePoint(),contextWindow:ad(this.node)})}createPanHandlers(){const{onPanSessionStart:e,onPanStart:t,onPan:n,onPanEnd:r}=this.node.getProps();return{onSessionStart:ud(e),onStart:ud(t),onMove:n,onEnd:(e,t)=>{delete this.session,r&&ns.postRender((()=>r(e,t)))}}}mount(){this.removePointerDownListener=gu(this.node.current,"pointerdown",(e=>this.onPointerDown(e)))}update(){this.session&&this.session.updateHandlers(this.createPanHandlers())}unmount(){this.removePointerDownListener(),this.session&&this.session.end()}}},drag:{Feature:class extends uu{constructor(e){super(e),this.removeGroupControls=$a,this.removeListeners=$a,this.controls=new ld(e)}mount(){const{dragControls:e}=this.node.getProps();e&&(this.removeGroupControls=e.subscribe(this.controls)),this.removeListeners=this.controls.addListeners()||$a}unmount(){this.removeGroupControls(),this.removeListeners()}},ProjectionNode:Pf,MeasureLayout:Cd}};function Tf(e,t){const n=t?"pointerenter":"pointerleave",r=t?"onHoverStart":"onHoverEnd";return gu(e.current,n,((n,o)=>{if("touch"===n.pointerType||Ru())return;const i=e.getProps();e.animationState&&i.whileHover&&e.animationState.setActive("whileHover",t);const a=i[r];a&&ns.postRender((()=>a(n,o)))}),{passive:!e.getProps()[r]})}const Mf=(e,t)=>!!t&&(e===t||Mf(e,t.parentElement));function Nf(e,t){if(!t)return;const n=new PointerEvent("pointer"+e);t(n,pu(n))}const Lf=new WeakMap,Df=new WeakMap,If=e=>{const t=Lf.get(e.target);t&&t(e)},Ff=e=>{e.forEach(If)};const Bf={some:0,all:1},zf={inView:{Feature:class extends uu{constructor(){super(...arguments),this.hasEnteredView=!1,this.isInView=!1}startObserver(){this.unmount();const{viewport:e={}}=this.node.getProps(),{root:t,margin:n,amount:r="some",once:o}=e,i={root:t?t.current:void 0,rootMargin:n,threshold:"number"==typeof r?r:Bf[r]};return function(e,t,n){const r=function({root:e,...t}){const n=e||document;Df.has(n)||Df.set(n,{});const r=Df.get(n),o=JSON.stringify(t);return r[o]||(r[o]=new IntersectionObserver(Ff,{root:e,...t})),r[o]}(t);return Lf.set(e,n),r.observe(e),()=>{Lf.delete(e),r.unobserve(e)}}(this.node.current,i,(e=>{const{isIntersecting:t}=e;if(this.isInView===t||(this.isInView=t,o&&!t&&this.hasEnteredView))return;t&&(this.hasEnteredView=!0),this.node.animationState&&this.node.animationState.setActive("whileInView",t);const{onViewportEnter:n,onViewportLeave:r}=this.node.getProps(),i=t?n:r;i&&i(e)}))}mount(){this.startObserver()}update(){if(typeof IntersectionObserver>"u")return;const{props:e,prevProps:t}=this.node;["amount","margin","root"].some(function({viewport:e={}},{viewport:t={}}={}){return n=>e[n]!==t[n]}(e,t))&&this.startObserver()}unmount(){}}},tap:{Feature:class extends uu{constructor(){super(...arguments),this.removeStartListeners=$a,this.removeEndListeners=$a,this.removeAccessibleListeners=$a,this.startPointerPress=(e,t)=>{if(this.isPressing)return;this.removeEndListeners();const n=this.node.getProps(),r=gu(window,"pointerup",((e,t)=>{if(!this.checkPressEnd())return;const{onTap:n,onTapCancel:r,globalTapTarget:o}=this.node.getProps(),i=o||Mf(this.node.current,e.target)?n:r;i&&ns.update((()=>i(e,t)))}),{passive:!(n.onTap||n.onPointerUp)}),o=gu(window,"pointercancel",((e,t)=>this.cancelPress(e,t)),{passive:!(n.onTapCancel||n.onPointerCancel)});this.removeEndListeners=nc(r,o),this.startPress(e,t)},this.startAccessiblePress=()=>{const e=mu(this.node.current,"keydown",(e=>{"Enter"!==e.key||this.isPressing||(this.removeEndListeners(),this.removeEndListeners=mu(this.node.current,"keyup",(e=>{"Enter"!==e.key||!this.checkPressEnd()||Nf("up",((e,t)=>{const{onTap:n}=this.node.getProps();n&&ns.postRender((()=>n(e,t)))}))})),Nf("down",((e,t)=>{this.startPress(e,t)})))})),t=mu(this.node.current,"blur",(()=>{this.isPressing&&Nf("cancel",((e,t)=>this.cancelPress(e,t)))}));this.removeAccessibleListeners=nc(e,t)}}startPress(e,t){this.isPressing=!0;const{onTapStart:n,whileTap:r}=this.node.getProps();r&&this.node.animationState&&this.node.animationState.setActive("whileTap",!0),n&&ns.postRender((()=>n(e,t)))}checkPressEnd(){return this.removeEndListeners(),this.isPressing=!1,this.node.getProps().whileTap&&this.node.animationState&&this.node.animationState.setActive("whileTap",!1),!Ru()}cancelPress(e,t){if(!this.checkPressEnd())return;const{onTapCancel:n}=this.node.getProps();n&&ns.postRender((()=>n(e,t)))}mount(){const e=this.node.getProps(),t=gu(e.globalTapTarget?window:this.node.current,"pointerdown",this.startPointerPress,{passive:!(e.onTapStart||e.onPointerStart)}),n=mu(this.node.current,"focus",this.startAccessiblePress);this.removeStartListeners=nc(t,n)}unmount(){this.removeStartListeners(),this.removeEndListeners(),this.removeAccessibleListeners()}}},focus:{Feature:class extends uu{constructor(){super(...arguments),this.isActive=!1}onFocus(){let e=!1;try{e=this.node.current.matches(":focus-visible")}catch{e=!0}!e||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!0),this.isActive=!0)}onBlur(){!this.isActive||!this.node.animationState||(this.node.animationState.setActive("whileFocus",!1),this.isActive=!1)}mount(){this.unmount=nc(mu(this.node.current,"focus",(()=>this.onFocus())),mu(this.node.current,"blur",(()=>this.onBlur())))}unmount(){}}},hover:{Feature:class extends uu{mount(){this.unmount=nc(Tf(this.node,!0),Tf(this.node,!1))}unmount(){}}}},Vf={layout:{ProjectionNode:Pf,MeasureLayout:Cd}},Hf=(0,n.createContext)({transformPagePoint:e=>e,isStatic:!1,reducedMotion:"never"}),Wf=(0,n.createContext)({}),Uf=typeof window<"u",Zf=Uf?n.useLayoutEffect:n.useEffect,qf=(0,n.createContext)({strict:!1});function Yf(e,t,r,o,i){var a,s;const{visualElement:l}=(0,n.useContext)(Wf),c=(0,n.useContext)(qf),u=(0,n.useContext)(dd),d=(0,n.useContext)(Hf).reducedMotion,f=(0,n.useRef)();o=o||c.renderer,!f.current&&o&&(f.current=o(e,{visualState:t,parent:l,props:r,presenceContext:u,blockInitialAnimation:!!u&&!1===u.initial,reducedMotionConfig:d}));const h=f.current,p=(0,n.useContext)(hd);h&&!h.projection&&i&&("html"===h.type||"svg"===h.type)&&function(e,t,n,r){const{layoutId:o,layout:i,drag:a,dragConstraints:s,layoutScroll:l,layoutRoot:c}=t;e.projection=new n(e.latestValues,t["data-framer-portal-id"]?void 0:Kf(e.parent)),e.projection.setOptions({layoutId:o,layout:i,alwaysMeasureLayout:!!a||s&&Pu(s),visualElement:e,animationType:"string"==typeof i?i:"both",initialPromotionConfig:r,layoutScroll:l,layoutRoot:c})}(f.current,r,i,p);const m=(0,n.useRef)(!1);(0,n.useInsertionEffect)((()=>{h&&m.current&&h.update(r,u)}));const g=r[Kc],y=(0,n.useRef)(!!g&&!(null!==(a=window.MotionHandoffIsComplete)&&void 0!==a&&a.call(window,g))&&(null===(s=window.MotionHasOptimisedAnimation)||void 0===s?void 0:s.call(window,g)));return Zf((()=>{h&&(m.current=!0,window.MotionIsMounted=!0,h.updateFeatures(),bd.render(h.render),y.current&&h.animationState&&h.animationState.animateChanges())})),(0,n.useEffect)((()=>{h&&(!y.current&&h.animationState&&h.animationState.animateChanges(),y.current&&(queueMicrotask((()=>{var e;null===(e=window.MotionHandoffMarkAsComplete)||void 0===e||e.call(window,g)})),y.current=!1))})),h}function Kf(e){if(e)return!1!==e.options.allowProjection?e.projection:Kf(e.parent)}function Qf(e,t,r){return(0,n.useCallback)((n=>{n&&e.mount&&e.mount(n),t&&(n?t.mount(n):t.unmount()),r&&("function"==typeof r?r(n):Pu(r)&&(r.current=n))}),[t])}function Gf(e){return Ma(e.animate)||Va.some((t=>Da(e[t])))}function Xf(e){return!(!Gf(e)&&!e.variants)}function Jf(e){return Array.isArray(e)?e.join(" "):e}const $f={animation:["animate","variants","whileHover","whileTap","exit","whileInView","whileFocus","whileDrag"],exit:["exit"],drag:["drag","dragControls"],focus:["whileFocus"],hover:["whileHover","onHoverStart","onHoverEnd"],tap:["whileTap","onTap","onTapStart","onTapCancel"],pan:["onPan","onPanStart","onPanSessionStart","onPanEnd"],inView:["whileInView","onViewportEnter","onViewportLeave"],layout:["layout","layoutId"]},eh={};for(const e in $f)eh[e]={isEnabled:t=>$f[e].some((e=>!!t[e]))};const th=Symbol.for("motionComponentSymbol");function nh({preloadedFeatures:e,createVisualElement:t,useRender:r,useVisualState:o,Component:i}){e&&function(e){for(const t in e)eh[t]={...eh[t],...e[t]}}(e);const a=(0,n.forwardRef)((function(e,a){let s;const l={...(0,n.useContext)(Hf),...e,layoutId:rh(e)},{isStatic:c}=l,u=function(e){const{initial:t,animate:r}=function(e,t){if(Gf(e)){const{initial:t,animate:n}=e;return{initial:!1===t||Da(t)?t:void 0,animate:Da(n)?n:void 0}}return!1!==e.inherit?t:{}}(e,(0,n.useContext)(Wf));return(0,n.useMemo)((()=>({initial:t,animate:r})),[Jf(t),Jf(r)])}(e),d=o(e,c);if(!c&&Uf){(0,n.useContext)(qf).strict;const e=function(e){const{drag:t,layout:n}=eh;if(!t&&!n)return{};const r={...t,...n};return{MeasureLayout:null!=t&&t.isEnabled(e)||null!=n&&n.isEnabled(e)?r.MeasureLayout:void 0,ProjectionNode:r.ProjectionNode}}(l);s=e.MeasureLayout,u.visualElement=Yf(i,d,l,t,e.ProjectionNode)}return(0,We.jsxs)(Wf.Provider,{value:u,children:[s&&u.visualElement?(0,We.jsx)(s,{visualElement:u.visualElement,...l}):null,r(i,e,Qf(d,u.visualElement,a),d,c,u.visualElement)]})}));return a[th]=i,a}function rh({layoutId:e}){const t=(0,n.useContext)(fd).id;return t&&void 0!==e?t+"-"+e:e}const oh=["animate","circle","defs","desc","ellipse","g","image","line","filter","marker","mask","metadata","path","pattern","polygon","polyline","rect","stop","switch","symbol","svg","text","tspan","use","view"];function ih(e){return"string"==typeof e&&!e.includes("-")&&!!(oh.indexOf(e)>-1||/[A-Z]/u.test(e))}function ah(e,{style:t,vars:n},r,o){Object.assign(e.style,t,o&&o.getProjectionStyles(r));for(const t in n)e.style.setProperty(t,n[t])}const sh=new Set(["baseFrequency","diffuseConstant","kernelMatrix","kernelUnitLength","keySplines","keyTimes","limitingConeAngle","markerHeight","markerWidth","numOctaves","targetX","targetY","surfaceScale","specularConstant","specularExponent","stdDeviation","tableValues","viewBox","gradientTransform","pathLength","startOffset","textLength","lengthAdjust"]);function lh(e,t,n,r){ah(e,t,void 0,r);for(const n in t.attrs)e.setAttribute(sh.has(n)?n:Yc(n),t.attrs[n])}function ch(e,{layout:t,layoutId:n}){return Wa.has(e)||e.startsWith("origin")||(t||void 0!==n)&&(!!vd[e]||"opacity"===e)}function uh(e,t,n){var r;const{style:o}=e,i={};for(const a in o)(Gc(o[a])||t.style&&Gc(t.style[a])||ch(a,e)||void 0!==(null===(r=null==n?void 0:n.getValue(a))||void 0===r?void 0:r.liveStyle))&&(i[a]=o[a]);return i}function dh(e,t,n){const r=uh(e,t,n);for(const n in e)(Gc(e[n])||Gc(t[n]))&&(r[-1!==Ha.indexOf(n)?"attr"+n.charAt(0).toUpperCase()+n.substring(1):n]=e[n]);return r}function fh(e){const t=(0,n.useRef)(null);return null===t.current&&(t.current=e()),t.current}const hh=e=>(t,r)=>{const o=(0,n.useContext)(Wf),i=(0,n.useContext)(dd),a=()=>function({scrapeMotionValuesFromProps:e,createRenderState:t,onMount:n},r,o,i){const a={latestValues:ph(r,o,i,e),renderState:t()};return n&&(a.mount=e=>n(r,e,a)),a}(e,t,o,i);return r?a():fh(a)};function ph(e,t,n,r){const o={},i=r(e,{});for(const e in i)o[e]=Gd(i[e]);let{initial:a,animate:s}=e;const l=Gf(e),c=Xf(e);t&&c&&!l&&!1!==e.inherit&&(void 0===a&&(a=t.initial),void 0===s&&(s=t.animate));let u=!!n&&!1===n.initial;u=u||!1===a;const d=u?s:a;if(d&&"boolean"!=typeof d&&!Ma(d)){const t=Array.isArray(d)?d:[d];for(let n=0;n<t.length;n++){const r=Fa(e,t[n]);if(r){const{transitionEnd:e,transition:t,...n}=r;for(const e in n){let t=n[e];Array.isArray(t)&&(t=t[u?t.length-1:0]),null!==t&&(o[e]=t)}for(const t in e)o[t]=e[t]}}}return o}const mh=(e,t)=>t&&"number"==typeof e?t.transform(e):e,gh={x:"translateX",y:"translateY",z:"translateZ",transformPerspective:"perspective"},yh=Ha.length;function vh(e,t,n){const{style:r,vars:o,transformOrigin:i}=e;let a=!1,s=!1;for(const e in t){const n=t[e];if(Wa.has(e))a=!0;else if(Cs(e))o[e]=n;else{const t=mh(n,_l[e]);e.startsWith("origin")?(s=!0,i[e]=t):r[e]=t}}if(t.transform||(a||n?r.transform=function(e,t,n){let r="",o=!0;for(let i=0;i<yh;i++){const a=Ha[i],s=e[a];if(void 0===s)continue;let l=!0;if(l="number"==typeof s?s===(a.startsWith("scale")?1:0):0===parseFloat(s),!l||n){const e=mh(s,_l[a]);l||(o=!1,r+=`${gh[a]||a}(${e}) `),n&&(t[a]=e)}}return r=r.trim(),n?r=n(t,o?"":r):o&&(r="none"),r}(t,e.transform,n):r.transform&&(r.transform="none")),s){const{originX:e="50%",originY:t="50%",originZ:n=0}=i;r.transformOrigin=`${e} ${t} ${n}`}}function bh(e,t,n){return"string"==typeof e?e:Ls.transform(t+n*e)}const xh={offset:"stroke-dashoffset",array:"stroke-dasharray"},wh={offset:"strokeDashoffset",array:"strokeDasharray"};function Ch(e,{attrX:t,attrY:n,attrScale:r,originX:o,originY:i,pathLength:a,pathSpacing:s=1,pathOffset:l=0,...c},u,d){if(vh(e,c,d),u)return void(e.style.viewBox&&(e.attrs.viewBox=e.style.viewBox));e.attrs=e.style,e.style={};const{attrs:f,style:h,dimensions:p}=e;f.transform&&(p&&(h.transform=f.transform),delete f.transform),p&&(void 0!==o||void 0!==i||h.transform)&&(h.transformOrigin=function(e,t,n){return`${bh(t,e.x,e.width)} ${bh(n,e.y,e.height)}`}(p,void 0!==o?o:.5,void 0!==i?i:.5)),void 0!==t&&(f.x=t),void 0!==n&&(f.y=n),void 0!==r&&(f.scale=r),void 0!==a&&function(e,t,n=1,r=0,o=!0){e.pathLength=1;const i=o?xh:wh;e[i.offset]=Ls.transform(-r);const a=Ls.transform(t),s=Ls.transform(n);e[i.array]=`${a} ${s}`}(f,a,s,l,!1)}const Ah=e=>"string"==typeof e&&"svg"===e.toLowerCase(),Eh={useVisualState:hh({scrapeMotionValuesFromProps:dh,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{},attrs:{}}),onMount:(e,t,{renderState:n,latestValues:r})=>{ns.read((()=>{try{n.dimensions="function"==typeof t.getBBox?t.getBBox():t.getBoundingClientRect()}catch{n.dimensions={x:0,y:0,width:0,height:0}}})),ns.render((()=>{Ch(n,r,Ah(t.tagName),e.transformTemplate),lh(t,n)}))}})},Sh={useVisualState:hh({scrapeMotionValuesFromProps:uh,createRenderState:()=>({style:{},transform:{},transformOrigin:{},vars:{}})})};function kh(e,t,n){for(const r in t)!Gc(t[r])&&!ch(r,n)&&(e[r]=t[r])}function _h(e,t){const r={},o=function(e,t){const r={};return kh(r,e.style||{},e),Object.assign(r,function({transformTemplate:e},t){return(0,n.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{}};return vh(n,t,e),Object.assign({},n.vars,n.style)}),[t])}(e,t)),r}(e,t);return e.drag&&!1!==e.dragListener&&(r.draggable=!1,o.userSelect=o.WebkitUserSelect=o.WebkitTouchCallout="none",o.touchAction=!0===e.drag?"none":"pan-"+("x"===e.drag?"y":"x")),void 0===e.tabIndex&&(e.onTap||e.onTapStart||e.whileTap)&&(r.tabIndex=0),r.style=o,r}const Oh=new Set(["animate","exit","variants","initial","style","values","variants","transition","transformTemplate","custom","inherit","onBeforeLayoutMeasure","onAnimationStart","onAnimationComplete","onUpdate","onDragStart","onDrag","onDragEnd","onMeasureDragConstraints","onDirectionLock","onDragTransitionEnd","_dragX","_dragY","onHoverStart","onHoverEnd","onViewportEnter","onViewportLeave","globalTapTarget","ignoreStrict","viewport"]);function Rh(e){return e.startsWith("while")||e.startsWith("drag")&&"draggable"!==e||e.startsWith("layout")||e.startsWith("onTap")||e.startsWith("onPan")||e.startsWith("onLayout")||Oh.has(e)}let Ph=e=>!Rh(e);try{(jh=require("@emotion/is-prop-valid").default)&&(Ph=e=>e.startsWith("on")?!Rh(e):jh(e))}catch{}var jh;function Th(e,t,r,o){const i=(0,n.useMemo)((()=>{const n={style:{},transform:{},transformOrigin:{},vars:{},attrs:{}};return Ch(n,t,Ah(o),e.transformTemplate),{...n.attrs,style:{...n.style}}}),[t]);if(e.style){const t={};kh(t,e.style,e),i.style={...t,...i.style}}return i}function Mh(e=!1){return(t,r,o,{latestValues:i},a)=>{const s=(ih(t)?Th:_h)(r,i,a,t),l=function(e,t,n){const r={};for(const o in e)"values"===o&&"object"==typeof e.values||(Ph(o)||!0===n&&Rh(o)||!t&&!Rh(o)||e.draggable&&o.startsWith("onDrag"))&&(r[o]=e[o]);return r}(r,"string"==typeof t,e),c=t!==n.Fragment?{...l,...s,ref:o}:{},{children:u}=r,d=(0,n.useMemo)((()=>Gc(u)?u.get():u),[u]);return(0,n.createElement)(t,{...c,children:d})}}function Nh(e,t){return function(n,{forwardMotionProps:r}={forwardMotionProps:!1}){return nh({...ih(n)?Eh:Sh,preloadedFeatures:e,useRender:Mh(r),createVisualElement:t,Component:n})}}const Lh={current:null},Dh={current:!1},Ih=new WeakMap,Fh=[...Ys,ul,bl],Bh=["AnimationStart","AnimationComplete","Update","BeforeLayoutMeasure","LayoutMeasure","LayoutAnimationStart","LayoutAnimationComplete"];class zh{scrapeMotionValuesFromProps(e,t,n){return{}}constructor({parent:e,props:t,presenceContext:n,reducedMotionConfig:r,blockInitialAnimation:o,visualState:i},a={}){this.current=null,this.children=new Set,this.isVariantNode=!1,this.isControllingVariants=!1,this.shouldReduceMotion=null,this.values=new Map,this.KeyframeResolver=el,this.features={},this.valueSubscriptions=new Map,this.prevMotionValues={},this.events={},this.propEventSubscriptions={},this.notifyUpdate=()=>this.notify("Update",this.latestValues),this.render=()=>{this.current&&(this.triggerBuild(),this.renderInstance(this.current,this.renderState,this.props.style,this.projection))},this.renderScheduledAt=0,this.scheduleRender=()=>{const e=Dl.now();this.renderScheduledAt<e&&(this.renderScheduledAt=e,ns.render(this.render,!1,!0))};const{latestValues:s,renderState:l}=i;this.latestValues=s,this.baseTarget={...s},this.initialValues=t.initial?{...s}:{},this.renderState=l,this.parent=e,this.props=t,this.presenceContext=n,this.depth=e?e.depth+1:0,this.reducedMotionConfig=r,this.options=a,this.blockInitialAnimation=!!o,this.isControllingVariants=Gf(t),this.isVariantNode=Xf(t),this.isVariantNode&&(this.variantChildren=new Set),this.manuallyAnimateOnMount=!(!e||!e.current);const{willChange:c,...u}=this.scrapeMotionValuesFromProps(t,{},this);for(const e in u){const t=u[e];void 0!==s[e]&&Gc(t)&&t.set(s[e],!1)}}mount(e){this.current=e,Ih.set(e,this),this.projection&&!this.projection.instance&&this.projection.mount(e),this.parent&&this.isVariantNode&&!this.isControllingVariants&&(this.removeFromVariantTree=this.parent.addVariantChild(this)),this.values.forEach(((e,t)=>this.bindToMotionValue(t,e))),Dh.current||function(){if(Dh.current=!0,Uf)if(window.matchMedia){const e=window.matchMedia("(prefers-reduced-motion)"),t=()=>Lh.current=e.matches;e.addListener(t),t()}else Lh.current=!1}(),this.shouldReduceMotion="never"!==this.reducedMotionConfig&&("always"===this.reducedMotionConfig||Lh.current),this.parent&&this.parent.children.add(this),this.update(this.props,this.presenceContext)}unmount(){Ih.delete(this.current),this.projection&&this.projection.unmount(),rs(this.notifyUpdate),rs(this.render),this.valueSubscriptions.forEach((e=>e())),this.valueSubscriptions.clear(),this.removeFromVariantTree&&this.removeFromVariantTree(),this.parent&&this.parent.children.delete(this);for(const e in this.events)this.events[e].clear();for(const e in this.features){const t=this.features[e];t&&(t.unmount(),t.isMounted=!1)}this.current=null}bindToMotionValue(e,t){this.valueSubscriptions.has(e)&&this.valueSubscriptions.get(e)();const n=Wa.has(e),r=t.on("change",(t=>{this.latestValues[e]=t,this.props.onUpdate&&ns.preRender(this.notifyUpdate),n&&this.projection&&(this.projection.isTransformDirty=!0)})),o=t.on("renderRequest",this.scheduleRender);let i;window.MotionCheckAppearSync&&(i=window.MotionCheckAppearSync(this,e,t)),this.valueSubscriptions.set(e,(()=>{r(),o(),i&&i(),t.owner&&t.stop()}))}sortNodePosition(e){return this.current&&this.sortInstanceNodePosition&&this.type===e.type?this.sortInstanceNodePosition(this.current,e.current):0}updateFeatures(){let e="animation";for(e in eh){const t=eh[e];if(!t)continue;const{isEnabled:n,Feature:r}=t;if(!this.features[e]&&r&&n(this.props)&&(this.features[e]=new r(this)),this.features[e]){const t=this.features[e];t.isMounted?t.update():(t.mount(),t.isMounted=!0)}}}triggerBuild(){this.build(this.renderState,this.latestValues,this.props)}measureViewportBox(){return this.current?this.measureInstanceViewportBox(this.current,this.props):{x:{min:0,max:0},y:{min:0,max:0}}}getStaticValue(e){return this.latestValues[e]}setStaticValue(e,t){this.latestValues[e]=t}update(e,t){(e.transformTemplate||this.props.transformTemplate)&&this.scheduleRender(),this.prevProps=this.props,this.props=e,this.prevPresenceContext=this.presenceContext,this.presenceContext=t;for(let t=0;t<Bh.length;t++){const n=Bh[t];this.propEventSubscriptions[n]&&(this.propEventSubscriptions[n](),delete this.propEventSubscriptions[n]);const r=e["on"+n];r&&(this.propEventSubscriptions[n]=this.on(n,r))}this.prevMotionValues=function(e,t,n){for(const r in t){const o=t[r],i=n[r];if(Gc(o))e.addValue(r,o);else if(Gc(i))e.addValue(r,Zc(o,{owner:e}));else if(i!==o)if(e.hasValue(r)){const t=e.getValue(r);!0===t.liveStyle?t.jump(o):t.hasAnimated||t.set(o)}else{const t=e.getStaticValue(r);e.addValue(r,Zc(void 0!==t?t:o,{owner:e}))}}for(const r in n)void 0===t[r]&&e.removeValue(r);return t}(this,this.scrapeMotionValuesFromProps(e,this.prevProps,this),this.prevMotionValues),this.handleChildMotionValue&&this.handleChildMotionValue()}getProps(){return this.props}getVariant(e){return this.props.variants?this.props.variants[e]:void 0}getDefaultTransition(){return this.props.transition}getTransformPagePoint(){return this.props.transformPagePoint}getClosestVariantNode(){return this.isVariantNode?this:this.parent?this.parent.getClosestVariantNode():void 0}addVariantChild(e){const t=this.getClosestVariantNode();if(t)return t.variantChildren&&t.variantChildren.add(e),()=>t.variantChildren.delete(e)}addValue(e,t){const n=this.values.get(e);t!==n&&(n&&this.removeValue(e),this.bindToMotionValue(e,t),this.values.set(e,t),this.latestValues[e]=t.get())}removeValue(e){this.values.delete(e);const t=this.valueSubscriptions.get(e);t&&(t(),this.valueSubscriptions.delete(e)),delete this.latestValues[e],this.removeValueFromRenderState(e,this.renderState)}hasValue(e){return this.values.has(e)}getValue(e,t){if(this.props.values&&this.props.values[e])return this.props.values[e];let n=this.values.get(e);return void 0===n&&void 0!==t&&(n=Zc(null===t?void 0:t,{owner:this}),this.addValue(e,n)),n}readValue(e,t){var n;let r=void 0===this.latestValues[e]&&this.current?null!==(n=this.getBaseTargetFromProps(this.props,e))&&void 0!==n?n:this.readValueFromInstance(this.current,e,this.options):this.latestValues[e];return null!=r&&("string"==typeof r&&(xs(r)||ys(r))?r=parseFloat(r):!(e=>Fh.find(qs(e)))(r)&&bl.test(t)&&(r=Pl(e,t)),this.setBaseTarget(e,Gc(r)?r.get():r)),Gc(r)?r.get():r}setBaseTarget(e,t){this.baseTarget[e]=t}getBaseTarget(e){var t;const{initial:n}=this.props;let r;if("string"==typeof n||"object"==typeof n){const o=Fa(this.props,n,null===(t=this.presenceContext)||void 0===t?void 0:t.custom);o&&(r=o[e])}if(n&&void 0!==r)return r;const o=this.getBaseTargetFromProps(this.props,e);return void 0===o||Gc(o)?void 0!==this.initialValues[e]&&void 0===r?void 0:this.baseTarget[e]:o}on(e,t){return this.events[e]||(this.events[e]=new Wc),this.events[e].add(t)}notify(e,...t){this.events[e]&&this.events[e].notify(...t)}}class Vh extends zh{constructor(){super(...arguments),this.KeyframeResolver=Tl}sortInstanceNodePosition(e,t){return 2&e.compareDocumentPosition(t)?1:-1}getBaseTargetFromProps(e,t){return e.style?e.style[t]:void 0}removeValueFromRenderState(e,{vars:t,style:n}){delete t[e],delete n[e]}}class Hh extends Vh{constructor(){super(...arguments),this.type="html",this.renderInstance=ah}readValueFromInstance(e,t){if(Wa.has(t)){const e=Rl(t);return e&&e.default||0}{const n=function(e){return window.getComputedStyle(e)}(e),r=(Cs(t)?n.getPropertyValue(t):n[t])||0;return"string"==typeof r?r.trim():r}}measureInstanceViewportBox(e,{transformPagePoint:t}){return id(e,t)}build(e,t,n){vh(e,t,n.transformTemplate)}scrapeMotionValuesFromProps(e,t,n){return uh(e,t,n)}handleChildMotionValue(){this.childSubscription&&(this.childSubscription(),delete this.childSubscription);const{children:e}=this.props;Gc(e)&&(this.childSubscription=e.on("change",(e=>{this.current&&(this.current.textContent=`${e}`)})))}}class Wh extends Vh{constructor(){super(...arguments),this.type="svg",this.isSVGTag=!1,this.measureInstanceViewportBox=Hu}getBaseTargetFromProps(e,t){return e[t]}readValueFromInstance(e,t){if(Wa.has(t)){const e=Rl(t);return e&&e.default||0}return t=sh.has(t)?t:Yc(t),e.getAttribute(t)}scrapeMotionValuesFromProps(e,t,n){return dh(e,t,n)}build(e,t,n){Ch(e,t,this.isSVGTag,n.transformTemplate)}renderInstance(e,t,n,r){lh(e,t,0,r)}mount(e){this.isSVGTag=Ah(e.tagName),super.mount(e)}}const Uh=(e,t)=>ih(e)?new Wh(t):new Hh(t,{allowProjection:e!==n.Fragment}),Zh=Ta(Nh({...fu,...zf,...jf,...Vf},Uh));class qh extends n.Component{getSnapshotBeforeUpdate(e){const t=this.props.childRef.current;if(t&&e.isPresent&&!this.props.isPresent){const e=this.props.sizeRef.current;e.height=t.offsetHeight||0,e.width=t.offsetWidth||0,e.top=t.offsetTop,e.left=t.offsetLeft}return null}componentDidUpdate(){}render(){return this.props.children}}function Yh({children:e,isPresent:t}){const r=(0,n.useId)(),o=(0,n.useRef)(null),i=(0,n.useRef)({width:0,height:0,top:0,left:0}),{nonce:a}=(0,n.useContext)(Hf);return(0,n.useInsertionEffect)((()=>{const{width:e,height:n,top:s,left:l}=i.current;if(t||!o.current||!e||!n)return;o.current.dataset.motionPopId=r;const c=document.createElement("style");return a&&(c.nonce=a),document.head.appendChild(c),c.sheet&&c.sheet.insertRule(`\n          [data-motion-pop-id="${r}"] {\n            position: absolute !important;\n            width: ${e}px !important;\n            height: ${n}px !important;\n            top: ${s}px !important;\n            left: ${l}px !important;\n          }\n        `),()=>{document.head.removeChild(c)}}),[t]),(0,We.jsx)(qh,{isPresent:t,childRef:o,sizeRef:i,children:n.cloneElement(e,{ref:o})})}const Kh=({children:e,initial:t,isPresent:r,onExitComplete:o,custom:i,presenceAffectsLayout:a,mode:s})=>{const l=fh(Qh),c=(0,n.useId)(),u=(0,n.useCallback)((e=>{l.set(e,!0);for(const e of l.values())if(!e)return;o&&o()}),[l,o]),d=(0,n.useMemo)((()=>({id:c,initial:t,isPresent:r,custom:i,onExitComplete:u,register:e=>(l.set(e,!1),()=>l.delete(e))})),a?[Math.random(),u]:[r,u]);return(0,n.useMemo)((()=>{l.forEach(((e,t)=>l.set(t,!1)))}),[r]),n.useEffect((()=>{!r&&!l.size&&o&&o()}),[r]),"popLayout"===s&&(e=(0,We.jsx)(Yh,{isPresent:r,children:e})),(0,We.jsx)(dd.Provider,{value:d,children:e})};function Qh(){return new Map}const Gh=e=>e.key||"";function Xh(e){const t=[];return n.Children.forEach(e,(e=>{(0,n.isValidElement)(e)&&t.push(e)})),t}const Jh=({children:e,exitBeforeEnter:t,custom:r,initial:o=!0,onExitComplete:i,presenceAffectsLayout:a=!0,mode:s="sync"})=>{bs(!t,"Replace exitBeforeEnter with mode='wait'");const l=(0,n.useMemo)((()=>Xh(e)),[e]),c=l.map(Gh),u=(0,n.useRef)(!0),d=(0,n.useRef)(l),f=fh((()=>new Map)),[h,p]=(0,n.useState)(l),[m,g]=(0,n.useState)(l);Zf((()=>{u.current=!1,d.current=l;for(let e=0;e<m.length;e++){const t=Gh(m[e]);c.includes(t)?f.delete(t):!0!==f.get(t)&&f.set(t,!1)}}),[m,c.length,c.join("-")]);const y=[];if(l!==h){let e=[...l];for(let t=0;t<m.length;t++){const n=m[t],r=Gh(n);c.includes(r)||(e.splice(t,0,n),y.push(n))}return"wait"===s&&y.length&&(e=y),g(Xh(e)),void p(l)}const{forceRender:v}=(0,n.useContext)(fd);return(0,We.jsx)(We.Fragment,{children:m.map((e=>{const t=Gh(e),n=l===m||c.includes(t);return(0,We.jsx)(Kh,{isPresent:n,initial:!(u.current&&!o)&&void 0,custom:n?void 0:r,presenceAffectsLayout:a,mode:s,onExitComplete:n?void 0:()=>{if(!f.has(t))return;f.set(t,!0);let e=!0;f.forEach((t=>{t||(e=!1)})),e&&(null==v||v(),g(d.current),i&&i())},children:e},t)}))})},$h=(0,n.createContext)(null);const ep=e=>!e.isLayoutDirty&&e.willUpdate(!1);function tp(){const e=new Set,t=new WeakMap,n=()=>e.forEach(ep);return{add:r=>{e.add(r),t.set(r,r.addEventListener("willUpdate",n))},remove:r=>{e.delete(r);const o=t.get(r);o&&(o(),t.delete(r)),n()},dirty:n}}const np=e=>!0===e,rp=({children:e,id:t,inherit:r=!0})=>{const o=(0,n.useContext)(fd),i=(0,n.useContext)($h),[a,s]=function(){const e=function(){const e=(0,n.useRef)(!1);return Zf((()=>(e.current=!0,()=>{e.current=!1})),[]),e}(),[t,r]=(0,n.useState)(0),o=(0,n.useCallback)((()=>{e.current&&r(t+1)}),[t]);return[(0,n.useCallback)((()=>ns.postRender(o)),[o]),t]}(),l=(0,n.useRef)(null),c=o.id||i;null===l.current&&((e=>np(!0===e)||"id"===e)(r)&&c&&(t=t?c+"-"+t:c),l.current={id:t,group:np(r)&&o.group||tp()});const u=(0,n.useMemo)((()=>({...l.current,forceRender:a})),[s]);return(0,We.jsx)(fd.Provider,{value:u,children:e})},op=(0,n.createContext)({}),ip=()=>(0,n.useContext)(op),ap=(0,n.createContext)(null),sp=({children:e,activeItem:t=null,onChange:r,className:o,size:i="sm",orientation:a="horizontal",variant:s="pill",iconPosition:l="left",width:c="full"})=>{const u=nn(),d=ip(),f=(null==d?void 0:d.activeItem)||t,h=(0,n.useCallback)(((e,t)=>{r&&r({event:e,value:t})}),[r]);let p,m="rounded-full",g="p-1",y="ring-1 ring-tab-border";"vertical"===a?p="gap-0.5":("rounded"===s||"pill"===s)&&("xs"===i||"sm"===i?p="gap-0.5":("md"===i||"lg"===i)&&(p="gap-1")),"rounded"===s||"vertical"===a?m="rounded-md":"underline"===s&&(m="rounded-none",g="p-0",y="border-t-0 border-r-0 border-l-0 border-b border-solid border-tab-border","xs"===i?p="gap-0":"sm"===i?p="gap-2.5":("md"===i||"lg"===i)&&(p="gap-3"));const v=Qt(`box-border [&>*]:box-border flex items-center ${"full"===c?"w-full":""} ${"vertical"===a?"flex-col":""}`,m,g,p,y,"underline"!==s?"bg-tab-background":"",o);return(0,We.jsx)("div",{className:v,children:(0,We.jsx)(ap.Provider,{value:{activeItem:f,onChange:h,size:i,variant:s,orientation:a,iconPosition:l,width:c},children:(0,We.jsx)(rp,{id:u,children:n.Children.map(e,(e=>(0,n.isValidElement)(e)?n.cloneElement(e):null))})})})};sp.displayName="Tabs.Group";const lp=(0,n.forwardRef)((({slug:e,text:t,icon:r,className:o,disabled:i=!1,badge:a=null,...s},l)=>{const c=(0,n.useContext)(ap);if(!c)throw new Error("Tab should be used inside Tabs Group");const{activeItem:u,onChange:d,size:f,variant:h,orientation:p,iconPosition:m,width:g}=c,y={xs:"px-1.5 py-0.5 text-xs [&_svg]:size-3",sm:"underline"===h?"py-1.5 text-sm [&_svg]:size-4":"px-3 py-1.5 text-sm [&_svg]:size-4",md:"underline"===h?"py-2 text-base [&_svg]:size-5":"px-3.5 py-1.5 text-base [&_svg]:size-5",lg:"underline"===h?"p-2.5 text-lg [&_svg]:size-6":"px-3.5 py-1.5 text-lg [&_svg]:size-6"}[f],v=Qt("relative border-none bg-transparent text-text-secondary cursor-pointer flex items-center justify-center transition-[box-shadow,color,background-color] duration-200","full"===g?"flex-1":"","vertical"===p?"w-full justify-between":"");let b="rounded-full";"rounded"===h?b="rounded-md":"underline"===h&&(b="rounded-none");const x=Qt(v,"border-none",b,"hover:text-text-primary group","focus:outline-none",y,u===e?"bg-background-primary text-text-primary shadow-sm":"",i?"text-text-disabled cursor-not-allowed hover:text-text-disabled":"",o),w=Qt("flex items-center gap-1 group-hover:text-text-primary",i&&"group-hover:text-text-disabled");return(0,We.jsxs)(Zh.button,{ref:l,className:x,disabled:i,onClick:n=>{d(n,{slug:e,text:t})},...s,layoutRoot:!0,children:[u===e&&"underline"===h&&(0,We.jsx)(Zh.span,{layoutId:"underline",layoutDependency:u,className:"absolute right-0 left-0 -bottom-px h-px bg-border-interactive"}),(0,We.jsxs)("span",{className:w,children:["left"===m&&r&&(0,We.jsx)("span",{className:"mr-1 contents center-center transition duration-150",children:r}),t,"right"===m&&r&&(0,We.jsx)("span",{className:"ml-1 contents center-center transition duration-150",children:r})]}),a&&(0,n.isValidElement)(a)&&a]})}));lp.displayName="Tabs.Tab";const cp=({activeItem:e,children:t})=>(0,We.jsx)(op.Provider,{value:{activeItem:e},children:t}),up=({slug:e,children:t})=>{const n=ip();if(!n)throw new Error("TabPanel should be used inside Tabs");return e===n.activeItem?(0,We.jsx)(We.Fragment,{children:t}):null};up.displayName="Tabs.Panel",cp.Group=sp,cp.Tab=lp,cp.Panel=up;const dp={sm:{icon:"[&>svg]:size-4",searchIcon:"[&>svg]:size-4",selectButton:"px-2.5 py-2 rounded text-sm font-medium leading-4 min-h-[2rem]",multiSelect:"pl-2 pr-2 py-1.5",displaySelected:"text-sm font-normal",dropdown:"rounded-md",dropdownItemsWrapper:"p-1.5",searchbarWrapper:"p-3 flex items-center gap-0.5",searchbar:"font-medium text-sm",searchbarIcon:"size-4",label:"text-sm font-medium"},md:{icon:"[&>svg]:size-5",searchIcon:"[&>svg]:size-5",selectButton:"px-3.5 py-2.5 rounded-md text-xs font-medium leading-4 min-h-[2.5rem]",multiSelect:"pl-2 pr-2.5 py-2",displaySelected:"text-sm font-normal",dropdown:"rounded-lg",dropdownItemsWrapper:"p-2",searchbarWrapper:"p-2.5 flex items-center gap-1",searchbar:"font-medium text-sm",searchbarIcon:"size-5",label:"text-sm font-medium"},lg:{icon:"[&>svg]:size-6",searchIcon:"[&>svg]:size-5",selectButton:"px-4 py-3 rounded-lg text-sm font-medium leading-5 min-h-[3rem]",multiSelect:"pl-2.5 pr-3 py-2.5",displaySelected:"text-base font-normal",dropdown:"rounded-lg",dropdownItemsWrapper:"p-2",searchbarWrapper:"p-2.5 flex items-center gap-1",searchbar:"font-medium text-sm",searchbarIcon:"size-5",label:"text-base font-medium"}},fp="group-disabled:text-field-color-disabled",hp={sm:"w-[calc(100%+0.75rem)] translate-x-[-0.375rem]",md:"w-[calc(100%+1rem)] translate-x-[-0.5rem]",lg:"w-[calc(100%+1rem)] translate-x-[-0.5rem]"},pp=e=>{var t;return"string"==typeof e?e:"object"==typeof e&&"textContent"in e?(null==(t=e.textContent)?void 0:t.toString().toLowerCase())||"":"object"==typeof e&&"children"in e?pp(e.children):""},mp=(0,n.createContext)({}),gp=()=>(0,n.useContext)(mp);function yp({children:e,icon:t=null,placeholder:r="Select an option",optionIcon:o=null,render:i,label:a,className:s,...l}){var c,u;const{sizeValue:d,getReferenceProps:f,getValues:h,selectId:p,refs:m,isOpen:g,multiple:y,combobox:v,setSelected:b,onChange:x,isControlled:w,disabled:C,by:A}=gp(),E={sm:"xs",md:"sm",lg:"md"}[d],S=(0,n.useCallback)((()=>{if(t)return t;const e="text-field-placeholder group-disabled:text-icon-disabled";return v?(0,We.jsx)(gn,{className:e}):(0,We.jsx)(hn,{className:e})}),[t]),k=(0,n.useCallback)((()=>{const t=h();if(!t)return null;if(y)return t.map(((e,t)=>(0,We.jsx)(Sa,{className:"cursor-default",icon:o,type:"rounded",size:E,onMouseDown:_(e),label:"function"==typeof i?i(e):e.toString(),closable:!0,disabled:C},t)));let r="string"==typeof t?t:"";if("function"==typeof i&&(r=i(t)),"function"==typeof e&&"function"!=typeof i){const n={value:t,...y?{onClose:_(t)}:{}};r=e(n)}return((0,n.isValidElement)(e)||"string"==typeof e)&&"function"!=typeof i&&(r=e),(0,We.jsx)("span",{className:Qt("truncate",dp[d].displaySelected,fp),children:r})}),[h,C]),_=e=>t=>{null==t||t.preventDefault(),null==t||t.stopPropagation();const n=[...h()??[]],r=n.findIndex((t=>null!==t&&null!==e&&"object"==typeof t?t[A]===e[A]:t===e));-1!==r&&(n.splice(r,1),w||b(n),"function"==typeof x&&x(n))};return(0,We.jsxs)("div",{className:"w-full flex flex-col items-start gap-1.5 [&_*]:box-border box-border",children:[!!a&&(0,We.jsx)("label",{className:Qt(null==(c=dp[d])?void 0:c.label,"text-field-label"),htmlFor:p,children:a}),(0,We.jsxs)("button",{id:p,ref:m.setReference,className:Qt("flex items-center justify-between w-full box-border transition-[outline,background-color,color,box-shadow] duration-200 bg-white","outline outline-1 outline-field-border border-none cursor-pointer",!g&&"focus:ring-2 focus:ring-offset-2 focus:outline-focus-border focus:ring-focus [&:hover:not(:focus):not(:disabled)]:outline-border-strong",dp[d].selectButton,y&&dp[d].multiSelect,"group disabled:outline-field-border-disabled [&:hover:has(:disabled)]:outline-field-border-disabled disabled:cursor-default",s),tabIndex:0,disabled:C,...l,...f(),children:[(0,We.jsxs)("div",{className:Qt("flex-1 grid items-center justify-start gap-1.5 overflow-hidden",h()&&"flex flex-wrap"),children:[k(),(y?!(null!=(u=h())&&u.length):!h())&&(0,We.jsx)("div",{className:Qt("[grid-area:1/1/2/3] text-field-input px-1",dp[d].displaySelected,fp),children:r})]}),(0,We.jsx)("div",{className:Qt("flex items-center [&>svg]:shrink-0",dp[d].icon),children:S()})]})]})}function vp({label:e,children:t,className:r,...o}){const{index:i,totalGroups:a}=o,{sizeValue:s}=gp();return(0,We.jsxs)(n.Fragment,{children:[(0,We.jsxs)("div",{className:"flex flex-col",role:"group","aria-label":e,children:[(0,We.jsx)("div",{className:Qt("p-2 font-normal text-text-tertiary",{sm:"text-xs",md:"text-xs",lg:"text-sm"}[s],r),id:`group-${null==e?void 0:e.toLowerCase().replace(/\s+/g,"-")}`,children:e}),(0,We.jsx)("div",{className:"flex flex-col",role:"presentation","aria-labelledby":`group-${null==e?void 0:e.toLowerCase().replace(/\s+/g,"-")}`,children:t})]}),i<a&&!!(t&&n.Children.count(t)>0)&&(0,We.jsx)("hr",{className:Qt("h-px my-2 w-full border-border-subtle border-b border-t-0 border-solid",hp[s])})]})}function bp({children:e,className:t}){const{isOpen:r,context:o,refs:i,combobox:a,floatingStyles:s,getFloatingProps:l,sizeValue:c,setSearchKeyword:u,setActiveIndex:d,setSelectedIndex:f,value:h,selected:p,getValues:m,searchKeyword:g,listContentRef:y,by:v,searchPlaceholder:b,activeIndex:x}=gp(),w=(0,n.useMemo)((()=>{const t=m();let r=-1;if(t){let o=n.Children.toArray(e);o.length>0&&(0,n.isValidElement)(o[0])&&o[0].type===vp&&(o=n.Children.toArray(e).map((e=>(0,n.isValidElement)(e)?n.Children.toArray(e.props.children):[])).flat()),r=o.findIndex((e=>{if(!(0,n.isValidElement)(e))return!1;const r=e.props.value;return"object"==typeof r&&"object"==typeof t?r[v]===t[v]:r===t}))}return r}),[h,p,e,v]);(0,n.useLayoutEffect)((()=>{r||(d(w),f(w))}),[w,r]),(0,n.useLayoutEffect)((()=>{r&&(a&&[-1,null].includes(x)||d(-1))}),[g,r]);const C=(0,n.useMemo)((()=>{let t=0,r=0;n.Children.forEach(e,(e=>{(0,n.isValidElement)(e)&&e.type===vp&&n.Children.toArray(e.props.children).some((e=>{var t;if(!(0,n.isValidElement)(e))return!1;if(g){const n=null==(t=pp(e.props.children))?void 0:t.toLowerCase(),r=g.toLowerCase();return n.includes(r)}return!0}))&&t++})),r=Math.max(0,t-1);let o=0,i=0;const a=e=>{var t,s;if(!(0,n.isValidElement)(e))return null;if(e.type===vp){const t=n.Children.map(e.props.children,a);if(!(null==t?void 0:t.some((e=>null!==e))))return null;const o={...e.props,children:t,index:i,totalGroups:r};return i++,(0,n.cloneElement)(e,o)}if(g){const n=null==(s=pp(null==(t=e.props)?void 0:t.children))?void 0:s.toLowerCase(),r=g.toLowerCase();if(!(null==n?void 0:n.includes(r)))return null}return(0,n.cloneElement)(e,{...e.props,index:o++})};return n.Children.map(e,a)}),[g,h,p,e]),A=n.Children.count(C);return(0,n.useEffect)((()=>{y.current=[];let t=n.Children.toArray(e);t&&(0,n.isValidElement)(t[0])&&t[0].type===vp&&(t=n.Children.toArray(t).map((e=>(0,n.isValidElement)(e)?e.props.children:null)).filter(Boolean)),n.Children.forEach(t,(e=>{var t,r;if(!(0,n.isValidElement)(e))return;const o=null==(r=pp(null==(t=e.props)?void 0:t.children))?void 0:r.toLowerCase();if(g){const e=g.toLowerCase();if(!(null==o?void 0:o.includes(e)))return}y.current.push(o)}))}),[g]),(0,We.jsx)(We.Fragment,{children:r&&(0,We.jsx)(We.Fragment,{children:(0,We.jsx)(zi,{context:o,modal:!1,children:(0,We.jsxs)("div",{ref:i.setFloating,className:Qt("box-border [&_*]:box-border w-full bg-white outline-none shadow-lg outline outline-1 outline-border-subtle",a&&"grid grid-cols-1 grid-rows-[auto_1fr] divide-y divide-x-0 divide-solid divide-border-subtle",dp[c].dropdown,!a&&"h-auto",a?"overflow-hidden":"overflow-y-auto overflow-x-hidden",t),style:{...s},...l(),children:[a&&(0,We.jsxs)("div",{className:Qt(dp[c].searchbarWrapper),children:[(0,We.jsx)(En,{className:Qt("text-icon-secondary shrink-0",dp[c].searchbarIcon)}),(0,We.jsx)("input",{className:Qt("px-1 w-full placeholder:text-field-placeholder border-0 focus:outline-none focus:shadow-none",dp[c].searchbar),type:"search",name:"keyword",placeholder:b,onChange:e=>u(e.target.value),value:g,autoComplete:"off"})]}),(0,We.jsxs)("div",{className:Qt("overflow-y-auto overflow-x-hidden",!a&&"w-full h-full",dp[c].dropdownItemsWrapper),children:[!!A&&C,!A&&(0,We.jsx)("div",{className:"p-2 text-center text-base font-medium text-field-placeholder",children:"No items found"})]})]})})})})}function xp({children:e,root:t,id:n}){return(0,We.jsx)(Ti,{id:n,root:t,children:e})}function Cp({value:e,selected:t,children:r,className:o,...i}){const{sizeValue:a,getItemProps:s,onKeyDownItem:l,onClickItem:c,activeIndex:u,selectedIndex:d,updateListRef:f,getValues:h,by:p,multiple:m}=gp(),{index:g}=i,y=(0,n.useRef)(g),v=(0,n.useMemo)((()=>{if(!m)return!1;const t=h();return!!t&&t.some((t=>null!==t&&null!==e&&"object"==typeof t?t[p]===e[p]:t===e))}),[e,h]),b=(0,n.useMemo)((()=>"boolean"==typeof t?t:m?v:g===d),[v,d,t]);return(0,We.jsxs)("div",{className:Qt("w-full flex items-center justify-between text-text-primary hover:bg-button-tertiary-hover rounded-md transition-all duration-150 cursor-pointer focus:outline-none focus-within:outline-none outline-none",{sm:"py-1.5 px-2 text-sm font-normal",md:"p-2 text-sm font-normal",lg:"p-2 text-base font-normal"}[a],g===u&&"bg-button-tertiary-hover",o),ref:e=>{f(g,e)},role:"option",tabIndex:g===u?0:-1,"aria-selected":b&&g===u,...s({onClick(){c(y.current,e)},onKeyDown(t){l(t,y.current,e)}}),children:[(0,We.jsx)("span",{className:"w-full truncate",children:r}),b&&(0,We.jsx)(fn,{className:Qt("text-icon-on-color-disabled",{sm:"size-4",md:"size-4",lg:"size-5"}[a])})]})}const Ap=({id:e,size:t="md",value:r,defaultValue:o,onChange:i,by:a="id",children:s,multiple:l=!1,combobox:c=!1,disabled:u=!1,searchPlaceholder:d="Search..."})=>{const f=(0,n.useMemo)((()=>e||`select-${nn()}`),[e]),h=(0,n.useMemo)((()=>typeof r<"u"),[r]),[p,m]=(0,n.useState)(o),[g,y]=(0,n.useState)(""),v=(0,n.useCallback)((()=>h?r:p),[h,r,p]),[b,x]=(0,n.useState)(!1),[w,C]=(0,n.useState)(null),[A,E]=(0,n.useState)(null),S={sm:c?256:172,md:c?256:216,lg:c?256:216},{refs:k,floatingStyles:_,context:O}=Ki({placement:"bottom-start",open:b,onOpenChange:x,whileElementsMounted:vo,middleware:[Po(5),To({padding:10}),Mo({apply({rects:e,elements:n,availableHeight:r}){Object.assign(n.floating.style,{maxHeight:`min(${r}px, ${S[t]}px)`,maxWidth:`${e.reference.width}px`})},padding:10})]}),R=(0,n.useRef)([]),P=(0,n.useRef)([]),j=(0,n.useRef)(!1),T=Wi(O,{event:"mousedown"}),M=Yi(O),N=ia(O,{role:"listbox"}),L=function(e,t){const{open:r,onOpenChange:o,elements:i}=e,{listRef:a,activeIndex:s,onNavigate:l=()=>{},enabled:c=!0,selectedIndex:u=null,allowEscape:d=!1,loop:f=!1,nested:h=!1,rtl:p=!1,virtual:m=!1,focusItemOnOpen:g="auto",focusItemOnHover:y=!0,openOnArrowKeyDown:v=!0,disabledIndices:b,orientation:x="vertical",cols:w=1,scrollItemIntoView:C=!0,virtualItemRef:A,itemSizes:E,dense:S=!1}=t,k=li(Li(i.floating)),_=ii(),O=ai(),R=Io(l),P=yr(i.domReference),j=n.useRef(g),T=n.useRef(u??-1),M=n.useRef(null),N=n.useRef(!0),L=n.useRef(R),D=n.useRef(!!i.floating),I=n.useRef(r),F=n.useRef(!1),B=n.useRef(!1),z=li(b),V=li(r),H=li(C),W=li(u),[U,Z]=n.useState(),[q,Y]=n.useState(),K=Io((function(e,t,n){function r(e){m?(Z(e.id),null==O||O.events.emit("virtualfocus",e),A&&(A.current=e)):fi(e,{preventScroll:!0,sync:!(!ur()||!lr())&&($i||F.current)})}void 0===n&&(n=!1);const o=e.current[t.current];o&&r(o),requestAnimationFrame((()=>{const i=e.current[t.current]||o;if(!i)return;o||r(i);const a=H.current;a&&G&&(n||!N.current)&&(null==i.scrollIntoView||i.scrollIntoView("boolean"==typeof a?{block:"nearest",inline:"nearest"}:a))}))}));Go((()=>{document.createElement("div").focus({get preventScroll(){return $i=!0,!1}})}),[]),Go((()=>{c&&(r&&i.floating?j.current&&null!=u&&(B.current=!0,T.current=u,R(u)):D.current&&(T.current=-1,L.current(null)))}),[c,r,i.floating,u,R]),Go((()=>{if(c&&r&&i.floating)if(null==s){if(F.current=!1,null!=W.current)return;if(D.current&&(T.current=-1,K(a,T)),(!I.current||!D.current)&&j.current&&(null!=M.current||!0===j.current&&null==M.current)){let e=0;const t=()=>{null==a.current[0]?(e<2&&(e?requestAnimationFrame:queueMicrotask)(t),e++):(T.current=null==M.current||na(M.current,x,p)||h?Uo(a,z.current):Zo(a,z.current),M.current=null,R(T.current))};t()}}else Wo(a,s)||(T.current=s,K(a,T,B.current),B.current=!1)}),[c,r,i.floating,s,W,h,a,x,p,R,K,z]),Go((()=>{var e;if(!c||i.floating||!O||m||!D.current)return;const t=O.nodesRef.current,n=null==(e=t.find((e=>e.id===_)))||null==(e=e.context)?void 0:e.elements.floating,r=nr(fr(i.floating)),o=t.some((e=>e.context&&rr(e.context.elements.floating,r)));n&&!o&&N.current&&n.focus({preventScroll:!0})}),[c,i.floating,O,_,m]),Go((()=>{if(c&&O&&m&&!_)return O.events.on("virtualfocus",e),()=>{O.events.off("virtualfocus",e)};function e(e){Y(e.id),A&&(A.current=e)}}),[c,O,m,_,A]),Go((()=>{L.current=R,D.current=!!i.floating})),Go((()=>{r||(M.current=null)}),[r]),Go((()=>{I.current=r}),[r]);const Q=null!=s,G=n.useMemo((()=>{function e(e){if(!r)return;const t=a.current.indexOf(e);-1!==t&&R(t)}return{onFocus(t){let{currentTarget:n}=t;e(n)},onClick:e=>{let{currentTarget:t}=e;return t.focus({preventScroll:!0})},...y&&{onMouseMove(t){let{currentTarget:n}=t;e(n)},onPointerLeave(e){let{pointerType:t}=e;!N.current||"touch"===t||(T.current=-1,K(a,T),R(null),m||fi(k.current,{preventScroll:!0}))}}}}),[r,k,K,y,a,R,m]),X=Io((e=>{if(N.current=!1,F.current=!0,229===e.which||!V.current&&e.currentTarget===k.current)return;if(h&&ra(e.key,x,p))return gr(e),o(!1,e.nativeEvent,"list-navigation"),void(Hn(i.domReference)&&(m?null==O||O.events.emit("virtualfocus",i.domReference):i.domReference.focus()));const t=T.current,n=Uo(a,b),s=Zo(a,b);if(P||("Home"===e.key&&(gr(e),T.current=n,R(T.current)),"End"===e.key&&(gr(e),T.current=s,R(T.current))),w>1){const t=E||Array.from({length:a.current.length},(()=>({width:1,height:1}))),r=function(e,t,n){const r=[];let o=0;return e.forEach(((e,i)=>{let{width:a,height:s}=e,l=!1;for(n&&(o=0);!l;){const e=[];for(let n=0;n<a;n++)for(let r=0;r<s;r++)e.push(o+n+r*t);o%t+a<=t&&e.every((e=>null==r[e]))?(e.forEach((e=>{r[e]=i})),l=!0):o++}})),[...r]}(t,w,S),o=r.findIndex((e=>null!=e&&!Qo(a.current,e,b))),i=r.reduce(((e,t,n)=>null==t||Qo(a.current,t,b)?e:n),-1),l=r[function(e,t){let{event:n,orientation:r,loop:o,rtl:i,cols:a,disabledIndices:s,minIndex:l,maxIndex:c,prevIndex:u,stopEvent:d=!1}=t,f=u;if(n.key===Fo){if(d&&gr(n),-1===u)f=c;else if(f=qo(e,{startingIndex:f,amount:a,decrement:!0,disabledIndices:s}),o&&(u-a<l||f<0)){const e=u%a,t=c%a,n=c-(t-e);f=t===e?c:t>e?n:n-a}Wo(e,f)&&(f=u)}if(n.key===Bo&&(d&&gr(n),-1===u?f=l:(f=qo(e,{startingIndex:u,amount:a,disabledIndices:s}),o&&u+a>c&&(f=qo(e,{startingIndex:u%a-a,amount:a,disabledIndices:s}))),Wo(e,f)&&(f=u)),"both"===r){const t=wr(u/a);n.key===(i?zo:Vo)&&(d&&gr(n),u%a!=a-1?(f=qo(e,{startingIndex:u,disabledIndices:s}),o&&Ho(f,a,t)&&(f=qo(e,{startingIndex:u-u%a-1,disabledIndices:s}))):o&&(f=qo(e,{startingIndex:u-u%a-1,disabledIndices:s})),Ho(f,a,t)&&(f=u)),n.key===(i?Vo:zo)&&(d&&gr(n),u%a!=0?(f=qo(e,{startingIndex:u,decrement:!0,disabledIndices:s}),o&&Ho(f,a,t)&&(f=qo(e,{startingIndex:u+(a-u%a),decrement:!0,disabledIndices:s}))):o&&(f=qo(e,{startingIndex:u+(a-u%a),decrement:!0,disabledIndices:s})),Ho(f,a,t)&&(f=u));const r=wr(c/a)===t;Wo(e,f)&&(f=o&&r?n.key===(i?Vo:zo)?c:qo(e,{startingIndex:u-u%a-1,disabledIndices:s}):u)}return f}({current:r.map((e=>null!=e?a.current[e]:null))},{event:e,orientation:x,loop:f,rtl:p,cols:w,disabledIndices:Ko([...b||a.current.map(((e,t)=>Qo(a.current,t)?t:void 0)),void 0],r),minIndex:o,maxIndex:i,prevIndex:Yo(T.current>s?n:T.current,t,r,w,e.key===Bo?"bl":e.key===(p?zo:Vo)?"tr":"tl"),stopEvent:!0})];if(null!=l&&(T.current=l,R(T.current)),"both"===x)return}if(ta(e.key,x)){if(gr(e),r&&!m&&nr(e.currentTarget.ownerDocument)===e.currentTarget)return T.current=na(e.key,x,p)?n:s,void R(T.current);na(e.key,x,p)?T.current=f?t>=s?d&&t!==a.current.length?-1:n:qo(a,{startingIndex:t,disabledIndices:b}):Math.min(s,qo(a,{startingIndex:t,disabledIndices:b})):T.current=f?t<=n?d&&-1!==t?a.current.length:s:qo(a,{startingIndex:t,decrement:!0,disabledIndices:b}):Math.max(n,qo(a,{startingIndex:t,decrement:!0,disabledIndices:b})),Wo(a,T.current)?R(null):R(T.current)}})),J=n.useMemo((()=>m&&r&&Q&&{"aria-activedescendant":q||U}),[m,r,Q,q,U]),$=n.useMemo((()=>({"aria-orientation":"both"===x?void 0:x,...!yr(i.domReference)&&J,onKeyDown:X,onPointerMove(){N.current=!0}})),[J,X,i.domReference,x]),ee=n.useMemo((()=>{function e(e){"auto"===g&&ar(e.nativeEvent)&&(j.current=!0)}return{...J,onKeyDown(e){N.current=!1;const t=e.key.startsWith("Arrow"),n=["Home","End"].includes(e.key),i=t||n,s=function(e,t,n){return ea(t,n?e===zo:e===Vo,e===Bo)}(e.key,x,p),l=ra(e.key,x,p),c=ta(e.key,x),d=(h?s:c)||"Enter"===e.key||""===e.key.trim();if(m&&r){const t=null==O?void 0:O.nodesRef.current.find((e=>null==e.parentId)),r=O&&t?function(e,t){let n,r=-1;return function t(o,i){i>r&&(n=o,r=i),hi(e,o).forEach((e=>{t(e.id,i+1)}))}(t,0),e.find((e=>e.id===n))}(O.nodesRef.current,t.id):null;if(i&&r&&A){const t=new KeyboardEvent("keydown",{key:e.key,bubbles:!0});if(s||l){var f,g;const n=(null==(f=r.context)?void 0:f.elements.domReference)===e.currentTarget,o=l&&!n?null==(g=r.context)?void 0:g.elements.domReference:s?a.current.find((e=>(null==e?void 0:e.id)===U)):null;o&&(gr(e),o.dispatchEvent(t),Y(void 0))}var y;if((c||n)&&r.context&&r.context.open&&r.parentId&&e.currentTarget!==r.context.elements.domReference)return gr(e),void(null==(y=r.context.elements.domReference)||y.dispatchEvent(t))}return X(e)}if(r||v||!t){if(d&&(M.current=h&&c?null:e.key),h)return void(s&&(gr(e),r?(T.current=Uo(a,z.current),R(T.current)):o(!0,e.nativeEvent,"list-navigation")));c&&(null!=u&&(T.current=u),gr(e),!r&&v?o(!0,e.nativeEvent,"list-navigation"):X(e),r&&R(T.current))}},onFocus(){r&&!m&&R(null)},onPointerDown:function(e){j.current=g,"auto"===g&&sr(e.nativeEvent)&&(j.current=!0)},onMouseDown:e,onClick:e}}),[U,J,X,z,g,a,h,R,o,r,v,x,p,u,O,m,A]);return n.useMemo((()=>c?{reference:ee,floating:$,item:G}:{}),[c,ee,$,G])}(O,{listRef:R,activeIndex:w,selectedIndex:A,onNavigate:C,loop:!0}),D=function(e,t){var r;const{open:o,dataRef:i}=e,{listRef:a,activeIndex:s,onMatch:l,onTypingChange:c,enabled:u=!0,findMatch:d=null,resetMs:f=750,ignoreKeys:h=[],selectedIndex:p=null}=t,m=n.useRef(),g=n.useRef(""),y=n.useRef(null!=(r=p??s)?r:-1),v=n.useRef(null),b=Io(l),x=Io(c),w=li(d),C=li(h);Go((()=>{o&&(clearTimeout(m.current),v.current=null,g.current="")}),[o]),Go((()=>{var e;o&&""===g.current&&(y.current=null!=(e=p??s)?e:-1)}),[o,p,s]);const A=Io((e=>{e?i.current.typing||(i.current.typing=e,x(e)):i.current.typing&&(i.current.typing=e,x(e))})),E=Io((e=>{function t(e,t,n){const r=w.current?w.current(t,n):t.find((e=>0===(null==e?void 0:e.toLocaleLowerCase().indexOf(n.toLocaleLowerCase()))));return r?e.indexOf(r):-1}const n=a.current;if(g.current.length>0&&" "!==g.current[0]&&(-1===t(n,n,g.current)?A(!1):" "===e.key&&gr(e)),null==n||C.current.includes(e.key)||1!==e.key.length||e.ctrlKey||e.metaKey||e.altKey)return;o&&" "!==e.key&&(gr(e),A(!0)),n.every((e=>{var t,n;return!e||(null==(t=e[0])?void 0:t.toLocaleLowerCase())!==(null==(n=e[1])?void 0:n.toLocaleLowerCase())}))&&g.current===e.key&&(g.current="",y.current=v.current),g.current+=e.key,clearTimeout(m.current),m.current=setTimeout((()=>{g.current="",y.current=v.current,A(!1)}),f);const r=y.current,i=t(n,[...n.slice((r||0)+1),...n.slice(0,(r||0)+1)],g.current);-1!==i?(b(i),v.current=i):" "!==e.key&&(g.current="",A(!1))})),S=n.useMemo((()=>({onKeyDown:E})),[E]),k=n.useMemo((()=>({onKeyDown:E,onKeyUp(e){" "===e.key&&A(!1)}})),[E,A]);return n.useMemo((()=>u?{reference:S,floating:k}:{}),[u,S,k])}(O,{listRef:P,activeIndex:w,selectedIndex:A,onMatch:b?C:E,onTypingChange(e){j.current=e}}),{getReferenceProps:I,getFloatingProps:F,getItemProps:B}=Ji([M,N,L,T,...c?[]:[D]]),z=(e,t)=>{if(l)return((e,t)=>{const n=[...v()??[]];-1===n.findIndex((e=>null!==e&&null!==t&&"object"==typeof e?e[a]===t[a]:e===t))&&(n.push(t),h||m(n),E(e),k.reference.current.focus(),x(!1),y(""),"function"==typeof i&&i(n))})(e,t);E(e),h||m(t),k.reference.current.focus(),x(!1),y(""),"function"==typeof i&&i(t)},V=(0,n.useCallback)(((e,t)=>{R.current[e]=t}),[]);return(0,We.jsx)(mp.Provider,{value:{selectedIndex:A,setSelectedIndex:E,activeIndex:w,setActiveIndex:C,selected:p,setSelected:m,handleSelect:z,combobox:c,sizeValue:t,multiple:l,onChange:i,isTypingRef:j,getItemProps:B,onClickItem:(e,t)=>{z(e,t)},onKeyDownItem:(e,t,n)=>{"Enter"===e.key&&(e.preventDefault(),z(t,n))," "===e.key&&!j.current&&(e.preventDefault(),z(t,n))},getValues:v,selectId:f,getReferenceProps:I,isOpen:b,value:r,updateListRef:V,refs:k,listContentRef:P,by:a,getFloatingProps:F,floatingStyles:_,context:O,searchKeyword:g,setSearchKeyword:y,disabled:u,isControlled:h,searchPlaceholder:d},children:s})};xp.displayName="Select.Portal",yp.displayName="Select.Button",bp.displayName="Select.Options",Cp.displayName="Select.Option",vp.displayName="Select.OptionGroup",Ap.Portal=xp,Ap.Button=yp,Ap.Options=bp,Ap.Option=Cp,Ap.OptionGroup=vp;let Ep=1;var Sp,kp;Sp=new WeakMap,kp=new WeakMap;const _p=new class{constructor(){Je(this,Sp),Je(this,kp),$e(this,Sp,[]),$e(this,kp,[])}subscribe(e){return Xe(this,kp).push(e),()=>{$e(this,kp,Xe(this,kp).filter((t=>t!==e)))}}publish(e){Xe(this,kp).forEach((t=>t(e)))}add(e){Xe(this,Sp).push(e),this.publish(e)}remove(e){return $e(this,Sp,Xe(this,Sp).filter((t=>t.id!==e))),e}create(e){const{id:t,message:n="",jsx:r,...o}=e;if(!n&&"function"!=typeof r)return;const i="number"==typeof t?t:Ep++;return Xe(this,Sp).find((e=>e.id===i))&&$e(this,Sp,Xe(this,Sp).map((e=>e.id===i?(this.publish({...e,title:n,jsx:r,...o}),{...e,title:n,jsx:r,...o}):e))),this.add({id:i,title:n,jsx:r,...o}),i}update(e,t){const{render:n}=t;let r=t;switch(typeof n){case"function":r={jsx:n,...t};break;case"string":r={title:n,...t}}$e(this,Sp,Xe(this,Sp).map((t=>t.id===e?(this.publish({...t,...r}),{...t,...r}):t)))}dismiss(e){return e||Xe(this,Sp).forEach((e=>Xe(this,kp).forEach((t=>t({id:e.id,dismiss:!0}))))),Xe(this,kp).forEach((t=>t({id:e,dismiss:!0}))),e}history(){return Xe(this,Sp)}default(e="",t={}){return this.create({message:e,type:"neutral",...t})}success(e="",t={}){return this.create({message:e,type:"success",...t})}error(e="",t={}){return this.create({message:e,type:"error",...t})}warning(e="",t={}){return this.create({message:e,type:"warning",...t})}info(e="",t={}){return this.create({message:e,type:"info",...t})}custom(e,t={}){return this.create({jsx:e,type:"custom",...t})}},Op=Object.seal(Object.assign(((e,t)=>_p.default(e,t)),{success:_p.success.bind(_p),error:_p.error.bind(_p),warning:_p.warning.bind(_p),info:_p.info.bind(_p),custom:_p.custom.bind(_p),dismiss:_p.dismiss.bind(_p),update:_p.update.bind(_p)},{getHistory:_p.history.bind(_p)}));let Rp=!1;const Pp={"top-left":"top-0 bottom-0 left-0 justify-start items-start","top-right":"top-0 bottom-0 right-0 justify-start items-end","bottom-left":"top-0 bottom-0 left-0 justify-end items-start","bottom-right":"top-0 bottom-0 right-0 justify-end items-end"},jp={neutral:"border-alert-border-neutral bg-alert-background-neutral",custom:"border-alert-border-neutral bg-alert-background-neutral",info:"border-alert-border-info bg-alert-background-info",success:"border-alert-border-green bg-alert-background-green",warning:"border-alert-border-warning bg-alert-background-warning",error:"border-alert-border-danger bg-alert-background-danger"},Tp="bg-background-inverse border-background-inverse",Mp={light:"text-icon-secondary",dark:"text-icon-inverse"},Np=({toastItem:e,title:t="",content:r="",autoDismiss:o=!0,dismissAfter:i=5e3,theme:a="light",design:s="stack",icon:l,variant:c="neutral",removeToast:u})=>{var d,f,h,p,m,g,y;const v=(0,n.useRef)(0),b=(0,n.useRef)(0),x=(0,n.useRef)(),w=(e,t=i)=>{if(o&&!(i<0))return v.current=(new Date).getTime(),setTimeout((()=>{"function"==typeof u&&u(e.id)}),t)};(0,n.useEffect)((()=>{const t=i;return x.current=w(e,t),()=>{clearTimeout(x.current)}}),[]),(0,n.useEffect)((()=>{null==e||!e.dismiss||"function"!=typeof u||u(e.id)}),[e]);const C=()=>{var t,n;"function"==typeof u&&(null==(n=null==(t=null==e?void 0:e.action)?void 0:t.onClick)||n.call(t,(()=>u(e.id))))};let A=null;return"stack"===s&&(A=(0,We.jsx)("div",{className:Qt("flex items-center justify-start p-4 gap-2 relative border border-solid rounded-md shadow-lg","dark"===a?Tp:null==(d=jp)?void 0:d[c],"w-[22.5rem]"),onMouseEnter:()=>{clearTimeout(x.current),b.current=(new Date).getTime()},onMouseLeave:()=>{x.current=w(e,i-(b.current-v.current))},children:"custom"!==e.type?(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("div",{className:"self-start flex items-center justify-center [&_svg]:size-5 shrink-0",children:ha({variant:c,icon:l,theme:a})}),(0,We.jsxs)("div",{className:"flex flex-col items-start justify-start gap-0.5 mr-6",children:[ma({title:t,theme:a}),ga({content:r,theme:a}),(null==(f=null==e?void 0:e.action)?void 0:f.label)&&"function"==typeof(null==(h=null==e?void 0:e.action)?void 0:h.onClick)&&(0,We.jsx)("div",{className:"mt-2.5",children:pa({actionLabel:null==(p=null==e?void 0:e.action)?void 0:p.label,actionType:(null==(m=null==e?void 0:e.action)?void 0:m.type)??"button",onAction:C,theme:a})})]}),(0,We.jsx)("div",{className:"absolute right-4 top-4 [&_svg]:size-5",children:(0,We.jsx)("button",{className:Qt("bg-transparent m-0 p-0 border-none focus:outline-none active:outline-none cursor-pointer",Mp[a]??Mp.light),onClick:()=>{"function"==typeof u&&u(e.id)},children:(0,We.jsx)(Rn,{})})})]}):null==(g=null==e?void 0:e.jsx)?void 0:g.call(e,{close:()=>u(e.id),action:null!=e&&e.action?{...null==e?void 0:e.action,onClick:C}:null})})),"inline"===s&&(A=(0,We.jsxs)("div",{className:Qt("flex items-center justify-start p-3 gap-2 relative border border-solid rounded-md shadow-lg","dark"===a?Tp:null==(y=jp)?void 0:y[c],"lg:w-[47.5rem] w-full"),children:[(0,We.jsx)("div",{className:"self-start flex items-center justify-center [&_svg]:size-5 shrink-0",children:ha({variant:c,icon:l,theme:a})}),(0,We.jsxs)("div",{className:"flex items-start justify-start gap-1 mr-10 [&>span:first-child]:shrink-0",children:[ma({title:t,theme:a}),ga({content:r,theme:a})]}),(0,We.jsx)("div",{className:"absolute right-3 top-3 [&_svg]:size-5",children:(0,We.jsx)("button",{className:Qt("bg-transparent m-0 p-0 border-none focus:outline-none active:outline-none cursor-pointer",Mp[a]??Mp.light),onClick:()=>u(e.id),children:(0,We.jsx)(Rn,{})})})]})),A},Lp=(e=>(0,n.memo)((t=>{const n=t.singleTon;return Rp&&n?null:(Rp=!0,(0,We.jsx)(e,{...t}))})))((({position:e="top-right",design:t="stack",theme:r="light",className:o="",autoDismiss:i=!0,dismissAfter:a=5e3})=>{const[s,l]=(0,n.useState)([]);(0,n.useEffect)((()=>{_p.subscribe((e=>{null!=e&&e.dismiss?l((t=>t.map((t=>t.id===e.id?{...t,dismiss:!0}:t)))):setTimeout((()=>{(0,Ue.flushSync)((()=>l((t=>-1!==t.findIndex((t=>t.id===e.id))?t.map((t=>t.id===e.id?{...t,...e}:t)):[...t,e]))))}))}))}),[]);const c=e=>{l((t=>t.filter((t=>t.id!==e))))};return(0,We.jsx)("ul",{className:Qt("fixed flex flex-col list-none z-20 p-10 pointer-events-none [&>li]:pointer-events-auto gap-3",Pp[e]??Pp["top-right"],o),children:(0,We.jsx)(Jh,{initial:!1,children:s.map((e=>(0,We.jsx)(Zh.li,{initial:{opacity:0,y:50,scale:.7},animate:{opacity:1,y:0,scale:1},exit:{opacity:0,scale:.6,transition:{duration:.15}},layoutId:`toast-${e.id}`,children:(0,We.jsx)(Np,{toastItem:e,title:e.title,content:null==e?void 0:e.description,icon:(null==e?void 0:e.icon)??void 0,design:(null==e?void 0:e.design)??t,autoDismiss:(null==e?void 0:e.autoDismiss)??i,dismissAfter:(null==e?void 0:e.dismissAfter)??a,removeToast:c,variant:e.type,theme:(null==e?void 0:e.theme)??r})},e.id)))})})})),Dp={sm:{1:"grid-cols-1",2:"grid-cols-2",3:"grid-cols-3",4:"grid-cols-4",5:"grid-cols-5",6:"grid-cols-6",7:"grid-cols-7",8:"grid-cols-8",9:"grid-cols-9",10:"grid-cols-10",11:"grid-cols-11",12:"grid-cols-12"},md:{1:"md:grid-cols-1",2:"md:grid-cols-2",3:"md:grid-cols-3",4:"md:grid-cols-4",5:"md:grid-cols-5",6:"md:grid-cols-6",7:"md:grid-cols-7",8:"md:grid-cols-8",9:"md:grid-cols-9",10:"md:grid-cols-10",11:"md:grid-cols-11",12:"md:grid-cols-12"},lg:{1:"lg:grid-cols-1",2:"lg:grid-cols-2",3:"lg:grid-cols-3",4:"lg:grid-cols-4",5:"lg:grid-cols-5",6:"lg:grid-cols-6",7:"lg:grid-cols-7",8:"lg:grid-cols-8",9:"lg:grid-cols-9",10:"lg:grid-cols-10",11:"lg:grid-cols-11",12:"lg:grid-cols-12"}},Ip={sm:{xs:"gap-2",sm:"gap-4",md:"gap-5",lg:"gap-6",xl:"gap-6","2xl":"gap-8"},md:{xs:"md:gap-2",sm:"md:gap-4",md:"md:gap-5",lg:"md:gap-6",xl:"md:gap-6","2xl":"md:gap-8"},lg:{xs:"lg:gap-2",sm:"lg:gap-4",md:"lg:gap-5",lg:"lg:gap-6",xl:"lg:gap-6","2xl":"lg:gap-8"}},Fp={sm:{xs:"gap-x-2",sm:"gap-x-4",md:"gap-x-5",lg:"gap-x-6",xl:"gap-x-6","2xl":"gap-x-8"},md:{xs:"md:gap-x-2",sm:"md:gap-x-4",md:"md:gap-x-5",lg:"md:gap-x-6",xl:"md:gap-x-6","2xl":"md:gap-x-8"},lg:{xs:"lg:gap-x-2",sm:"lg:gap-x-4",md:"lg:gap-x-5",lg:"lg:gap-x-6",xl:"lg:gap-x-6","2xl":"lg:gap-x-8"}},Bp={sm:{xs:"gap-y-2",sm:"gap-y-4",md:"gap-y-5",lg:"gap-y-6",xl:"gap-y-6","2xl":"gap-y-8"},md:{xs:"md:gap-y-2",sm:"md:gap-y-4",md:"md:gap-y-5",lg:"md:gap-y-6",xl:"md:gap-y-6","2xl":"md:gap-y-8"},lg:{xs:"lg:gap-y-2",sm:"lg:gap-y-4",md:"lg:gap-y-5",lg:"lg:gap-y-6",xl:"lg:gap-y-6","2xl":"lg:gap-y-8"}},zp={sm:{1:"col-span-1",2:"col-span-2",3:"col-span-3",4:"col-span-4",5:"col-span-5",6:"col-span-6",7:"col-span-7",8:"col-span-8",9:"col-span-9",10:"col-span-10",11:"col-span-11",12:"col-span-12"},md:{1:"md:col-span-1",2:"md:col-span-2",3:"md:col-span-3",4:"md:col-span-4",5:"md:col-span-5",6:"md:col-span-6",7:"md:col-span-7",8:"md:col-span-8",9:"md:col-span-9",10:"md:col-span-10",11:"md:col-span-11",12:"md:col-span-12"},lg:{1:"lg:col-span-1",2:"lg:col-span-2",3:"lg:col-span-3",4:"lg:col-span-4",5:"lg:col-span-5",6:"lg:col-span-6",7:"lg:col-span-7",8:"lg:col-span-8",9:"lg:col-span-9",10:"lg:col-span-10",11:"lg:col-span-11",12:"lg:col-span-12"}},Vp={sm:{1:"col-start-1",2:"col-start-2",3:"col-start-3",4:"col-start-4",5:"col-start-5",6:"col-start-6",7:"col-start-7",8:"col-start-8",9:"col-start-9",10:"col-start-10",11:"col-start-11",12:"col-start-12"},md:{1:"md:col-start-1",2:"md:col-start-2",3:"md:col-start-3",4:"md:col-start-4",5:"md:col-start-5",6:"md:col-start-6",7:"md:col-start-7",8:"md:col-start-8",9:"md:col-start-9",10:"md:col-start-10",11:"md:col-start-11",12:"md:col-start-12"},lg:{1:"lg:col-start-1",2:"lg:col-start-2",3:"lg:col-start-3",4:"lg:col-start-4",5:"lg:col-start-5",6:"lg:col-start-6",7:"lg:col-start-7",8:"lg:col-start-8",9:"lg:col-start-9",10:"lg:col-start-10",11:"lg:col-start-11",12:"lg:col-start-12"}},Hp={sm:{row:"grid-flow-row",column:"grid-flow-col","row-dense":"grid-flow-row-dense","column-dense":"grid-flow-col-dense"},md:{row:"md:grid-flow-row",column:"md:grid-flow-col","row-dense":"md:grid-flow-row-dense","column-dense":"md:grid-flow-col-dense"},lg:{row:"lg:grid-flow-row",column:"lg:grid-flow-col","row-dense":"lg:grid-flow-row-dense","column-dense":"lg:grid-flow-col-dense"}},Wp={sm:{normal:"justify-normal",start:"justify-start",end:"justify-end",center:"justify-center",between:"justify-between",around:"justify-around",evenly:"justify-evenly",stretch:"justify-stretch"},md:{normal:"md:justify-normal",start:"md:justify-start",end:"md:justify-end",center:"md:justify-center",between:"md:justify-between",around:"md:justify-around",evenly:"md:justify-evenly",stretch:"md:justify-stretch"},lg:{normal:"lg:justify-normal",start:"lg:justify-start",end:"lg:justify-end",center:"lg:justify-center",between:"lg:justify-between",around:"lg:justify-around",evenly:"lg:justify-evenly",stretch:"lg:justify-stretch"}},Up={sm:{start:"items-start",end:"items-end",center:"items-center",baseline:"items-baseline",stretch:"items-stretch"},md:{start:"md:items-start",end:"md:items-end",center:"md:items-center",baseline:"md:items-baseline",stretch:"md:items-stretch"},lg:{start:"lg:items-start",end:"lg:items-end",center:"lg:items-center",baseline:"lg:items-baseline",stretch:"lg:items-stretch"}},Zp={sm:{start:"self-start",end:"self-end",center:"self-center",baseline:"self-baseline",stretch:"self-stretch"},md:{start:"md:self-start",end:"md:self-end",center:"md:self-center",baseline:"md:self-baseline",stretch:"md:self-stretch"},lg:{start:"lg:self-start",end:"lg:self-end",center:"lg:self-center",baseline:"lg:self-baseline",stretch:"lg:self-stretch"}},qp={sm:{auto:"justify-self-auto",start:"justify-self-start",end:"justify-self-end",center:"justify-self-center",baseline:"justify-self-baseline",stretch:"justify-self-stretch"},md:{auto:"md:justify-self-auto",start:"md:justify-self-start",end:"md:justify-self-end",center:"md:justify-self-center",baseline:"md:justify-self-baseline",stretch:"md:justify-self-stretch"},lg:{auto:"lg:justify-self-auto",start:"lg:justify-self-start",end:"lg:justify-self-end",center:"lg:justify-self-center",baseline:"lg:justify-self-baseline",stretch:"lg:justify-self-stretch"}},Yp={sm:{row:"flex-row","row-reverse":"flex-row-reverse",column:"flex-col","column-reverse":"flex-col-reverse"},md:{row:"md:flex-row","row-reverse":"md:flex-row-reverse",column:"md:flex-col","column-reverse":"md:flex-col-reverse"},lg:{row:"lg:flex-row","row-reverse":"lg:flex-row-reverse",column:"lg:flex-col","column-reverse":"lg:flex-col-reverse"}},Kp={sm:{wrap:"flex-wrap","wrap-reverse":"flex-wrap-reverse",nowrap:"flex-nowrap"},md:{wrap:"md:flex-wrap","wrap-reverse":"md:flex-wrap-reverse",nowrap:"md:flex-nowrap"},lg:{wrap:"lg:flex-wrap","wrap-reverse":"lg:flex-wrap-reverse",nowrap:"lg:flex-nowrap"}},Qp={sm:{1:"w-full",2:"w-1/2",3:"w-1/3",4:"w-1/4",5:"w-1/5",6:"w-1/6",7:"w-1/7",8:"w-1/8",9:"w-1/9",10:"w-1/10",11:"w-1/11",12:"w-1/12"},md:{1:"md:w-full",2:"md:w-1/2",3:"md:w-1/3",4:"md:w-1/4",5:"md:w-1/5",6:"md:w-1/6",7:"md:w-1/7",8:"md:w-1/8",9:"md:w-1/9",10:"md:w-1/10",11:"md:w-1/11",12:"md:w-1/12"},lg:{1:"lg:w-full",2:"lg:w-1/2",3:"lg:w-1/3",4:"lg:w-1/4",5:"lg:w-1/5",6:"lg:w-1/6",7:"lg:w-1/7",8:"lg:w-1/8",9:"lg:w-1/9",10:"lg:w-1/10",11:"lg:w-1/11",12:"lg:w-1/12"}},Gp={sm:{1:"order-1",2:"order-2",3:"order-3",4:"order-4",5:"order-5",6:"order-6",7:"order-7",8:"order-8",9:"order-9",10:"order-10",11:"order-11",12:"order-12",first:"order-first",last:"order-last",none:"order-none"},md:{1:"md:order-1",2:"md:order-2",3:"md:order-3",4:"md:order-4",5:"md:order-5",6:"md:order-6",7:"md:order-7",8:"md:order-8",9:"md:order-9",10:"md:order-10",11:"md:order-11",12:"md:order-12",first:"md:order-first",last:"md:order-last",none:"md:order-none"},lg:{1:"lg:order-1",2:"lg:order-2",3:"lg:order-3",4:"lg:order-4",5:"lg:order-5",6:"lg:order-6",7:"lg:order-7",8:"lg:order-8",9:"lg:order-9",10:"lg:order-10",11:"lg:order-11",12:"lg:order-12",first:"lg:order-first",last:"lg:order-last",none:"lg:order-none"}},Xp={sm:{0:"grow-0",1:"grow"},md:{0:"md:grow-0",1:"md:grow"},lg:{0:"lg:grow-0",1:"lg:grow"}},Jp={sm:{0:"shrink-0",1:"shrink"},md:{0:"md:shrink-0",1:"md:shrink"},lg:{0:"lg:shrink-0",1:"lg:shrink"}},$p=(e,t,n,r="sm")=>{var o,i,a,s,l;const c=[];switch(typeof e){case"object":for(const[r,a]of Object.entries(e))t[r]&&c.push((null==(o=null==t?void 0:t[r])?void 0:o[a])??(null==(i=null==t?void 0:t[r])?void 0:i[null==n?void 0:n[r]])??"");break;case"string":case"number":const u=r;c.push((null==(a=null==t?void 0:t[u])?void 0:a[e])??(null==(s=null==t?void 0:t[u])?void 0:s[null==n?void 0:n[u]])??"");break;default:if(void 0===e)break;c.push((null==(l=null==t?void 0:t[r])?void 0:l[n])??"")}return c.join(" ")},em=({className:e,cols:t,gap:n,gapX:r,gapY:o,align:i,justify:a,gridFlow:s,colsSubGrid:l=!1,rowsSubGrid:c=!1,autoRows:u=!1,autoCols:d=!1,children:f,...h})=>{const p=$p(t,Dp,1),m=$p(n,Ip,"sm"),g=$p(r,Fp,""),y=$p(o,Bp,""),v=$p(i,Up,""),b=$p(a,Wp,""),x=$p(s,Hp,"");return(0,We.jsx)("div",{className:Qt("grid",{"grid-cols-subgrid":l,"grid-rows-subgrid":c,"auto-cols-auto":d,"auto-rows-auto":u},p,m,g,y,v,b,x,e),...h,children:f})};em.Item=({className:e,children:t,colSpan:n,colStart:r,alignSelf:o,justifySelf:i,...a})=>{const s=$p(n,zp,0),l=$p(r,Vp,0),c=$p(o,Zp,""),u=$p(i,qp,"");return(0,We.jsx)("div",{className:Qt(s,l,c,u,e),...a,children:t})};const tm=(0,n.createContext)({}),nm=({containerType:e="flex",gap:t="sm",gapX:n,gapY:r,direction:o,justify:i,align:a,wrap:s,cols:l,className:c,children:u,...d})=>{if("grid"===e)return(0,We.jsx)(tm.Provider,{value:{containerType:e},children:(0,We.jsx)(em,{className:c,gap:t,gapX:n,gapY:r,cols:l,children:u,align:a,justify:i,...d})});const f=$p(s,Kp,""),h=$p(t,Ip,"sm"),p=$p(n,Fp,""),m=$p(r,Bp,""),g=$p(o,Yp,""),y=$p(i,Wp,""),v=$p(a,Up,""),b=Qt("flex",f,h,p,m,g,y,v,c);return(0,We.jsx)(tm.Provider,{value:{containerType:e,cols:l},children:"flex"===e?(0,We.jsx)("div",{className:b,children:u}):(0,We.jsx)(em,{className:c,gap:t,gapX:n,gapY:r,cols:l,children:u,align:a,justify:i,...d})})},rm=({grow:e,shrink:t,order:r,alignSelf:o,justifySelf:i,className:a,children:s,...l})=>{const{containerType:c,cols:u}=(0,n.useContext)(tm);if("grid"===c)return(0,We.jsx)(em.Item,{className:a,alignSelf:o,justifySelf:i,children:s,...l});const d=$p(o,Zp,""),f=$p(i,qp,""),h=$p(e,Xp,0),p=$p(t,Jp,0),m=$p(r,Gp,0),g=$p(u,Qp,1);return(0,We.jsx)("div",{className:Qt("box-border",h,p,m,d,f,g,a),children:s})};nm.Item=rm,nm.displayName="Container",rm.displayName="Container.Item";var om=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((function(e){const t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}));const im=(0,n.createContext)(null);function am(){const e=(0,n.useContext)(im);return null==e&&om(8),e}function sm({defaultSelection:e}){const[t]=am();return(0,n.useEffect)((()=>{t.focus((()=>{const e=document.activeElement,n=t.getRootElement();null===n||null!==e&&n.contains(e)||n.focus({preventScroll:!0})}),{defaultSelection:e})}),[e,t]),null}const lm={},cm={},um={},dm={},fm={},hm={},pm={},mm={},gm={},ym={},vm={},bm={},xm={},wm={},Cm={},Am={},Em={},Sm={},km={},_m={},Om={},Rm={},Pm={},jm={},Tm={},Mm={},Nm={},Lm={},Dm={},Im={},Fm={},Bm={},zm={},Vm={},Hm={},Wm={},Um={},Zm={},qm={},Ym={},Km=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement,Qm=Km&&"documentMode"in document?document.documentMode:null,Gm=Km&&/Mac|iPod|iPhone|iPad/.test(navigator.platform),Xm=Km&&/^(?!.*Seamonkey)(?=.*Firefox).*/i.test(navigator.userAgent),Jm=!(!Km||!("InputEvent"in window)||Qm)&&"getTargetRanges"in new window.InputEvent("input"),$m=Km&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),eg=Km&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,tg=Km&&/Android/.test(navigator.userAgent),ng=Km&&/^(?=.*Chrome).*/i.test(navigator.userAgent),rg=Km&&tg&&ng,og=Km&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!ng,ig=0,ag=1,sg=2,lg=1,cg=2,ug=3,dg=4,fg=5,hg=6,pg=$m||eg||og?" ":"​",mg="\n\n",gg=Xm?" ":pg,yg="֑-߿יִ-﷽ﹰ-ﻼ",vg="A-Za-zÀ-ÖØ-öø-ʸ̀-֐ࠀ-῿‎Ⰰ-﬜︀-﹯﻽-￿",bg=new RegExp("^[^"+vg+"]*["+yg+"]"),xg=new RegExp("^[^"+yg+"]*["+vg+"]"),wg={bold:1,code:16,highlight:128,italic:2,strikethrough:4,subscript:32,superscript:64,underline:8},Cg={directionless:1,unmergeable:2},Ag={center:2,end:6,justify:4,left:1,right:3,start:5},Eg={[cg]:"center",[hg]:"end",[dg]:"justify",[lg]:"left",[ug]:"right",[fg]:"start"},Sg={normal:0,segmented:2,token:1},kg={[ig]:"normal",[sg]:"segmented",[ag]:"token"};var _g=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((function(e){const t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}));function Og(...e){const t=[];for(const n of e)if(n&&"string"==typeof n)for(const[e]of n.matchAll(/\S+/g))t.push(e);return t}let Rg=!1,Pg=0;function jg(e){Pg=e.timeStamp}function Tg(e,t,n){return t.__lexicalLineBreak===e||void 0!==e[`__lexicalKey_${n._key}`]}function Mg(e,t,n){const r=Hy(n._window);let o=null,i=null;null!==r&&r.anchorNode===e&&(o=r.anchorOffset,i=r.focusOffset);const a=e.nodeValue;null!==a&&vy(t,a,o,i,!1)}function Ng(e,t,n){if(Mb(e)){const t=e.anchor.getNode();if(t.is(n)&&e.format!==t.getFormat())return!1}return 3===t.nodeType&&n.isAttached()}function Lg(e,t,n){Rg=!0;const r=performance.now()-Pg>100;try{wx(e,(()=>{const o=qb()||e.getEditorState().read((()=>{const e=qb();return null!==e?e.clone():null})),i=new Map,a=e.getRootElement(),s=e._editorState,l=e._blockCursorElement;let c=!1,u="";for(let n=0;n<t.length;n++){const d=t[n],f=d.type,h=d.target;let p=iy(h,s);if(!(null===p&&h!==a||kx(p)))if("characterData"===f)r&&Ab(p)&&Ng(o,h,p)&&Mg(h,p,e);else if("childList"===f){c=!0;const t=d.addedNodes;for(let n=0;n<t.length;n++){const r=t[n],o=oy(r),i=r.parentNode;if(null!=i&&r!==l&&null===o&&("BR"!==r.nodeName||!Tg(r,i,e))){if(Xm){const e=r.innerText||r.nodeValue;e&&(u+=e)}i.removeChild(r)}}const n=d.removedNodes,r=n.length;if(r>0){let t=0;for(let o=0;o<r;o++){const r=n[o];("BR"===r.nodeName&&Tg(r,h,e)||l===r)&&(h.appendChild(r),t++)}r!==t&&(h===a&&(p=cy(s)),i.set(h,p))}}}if(i.size>0)for(const[t,n]of i)if(Ax(n)){const r=n.getChildrenKeys();let o=t.firstChild;for(let n=0;n<r.length;n++){const i=r[n],a=e.getElementByKey(i);null!==a&&(null==o?(t.appendChild(a),o=a):o!==a&&t.replaceChild(a,o),o=o.nextSibling)}}else Ab(n)&&n.markDirty();const d=n.takeRecords();if(d.length>0){for(let t=0;t<d.length;t++){const n=d[t],r=n.addedNodes,o=n.target;for(let t=0;t<r.length;t++){const n=r[t],i=n.parentNode;null==i||"BR"!==n.nodeName||Tg(n,o,e)||i.removeChild(n)}}n.takeRecords()}null!==o&&(c&&(o.dirty=!0,uy(o)),Xm&&Py(e)&&o.insertRawText(u))}))}finally{Rg=!1}}function Dg(e){const t=e._observer;null!==t&&Lg(e,t.takeRecords(),t)}function Ig(e){0===Pg&&Dy(e).addEventListener("textInput",jg,!0),e._observer=new MutationObserver(((t,n)=>{Lg(e,t,n)}))}function Fg(e,t){const n=e.__mode,r=e.__format,o=e.__style,i=t.__mode,a=t.__format,s=t.__style;return!(null!==n&&n!==i||null!==r&&r!==a||null!==o&&o!==s)}function Bg(e,t){const n=e.mergeWithSibling(t),r=ux()._normalizedNodes;return r.add(e.__key),r.add(t.__key),n}function zg(e){let t,n,r=e;if(""!==r.__text||!r.isSimpleText()||r.isUnmergeable()){for(;null!==(t=r.getPreviousSibling())&&Ab(t)&&t.isSimpleText()&&!t.isUnmergeable();){if(""!==t.__text){if(Fg(t,r)){r=Bg(t,r);break}break}t.remove()}for(;null!==(n=r.getNextSibling())&&Ab(n)&&n.isSimpleText()&&!n.isUnmergeable();){if(""!==n.__text){if(Fg(r,n)){r=Bg(r,n);break}break}n.remove()}}else r.remove()}function Vg(e){for(;"element"===e.type;){const t=e.getNode(),n=e.offset;let r,o;if(n===t.getChildrenSize()?(r=t.getChildAtIndex(n-1),o=!0):(r=t.getChildAtIndex(n),o=!1),Ab(r)){e.set(r.__key,o?r.getTextContentSize():0,"text");break}if(!Ax(r))break;e.set(r.__key,o?r.getChildrenSize():0,"element")}}let Hg=1;const Wg="function"==typeof queueMicrotask?queueMicrotask:e=>{Promise.resolve().then(e)};function Ug(e){const t=document.activeElement;if(null===t)return!1;const n=t.nodeName;return kx(iy(e))&&("INPUT"===n||"TEXTAREA"===n||"true"===t.contentEditable&&null==Kg(t))}function Zg(e,t,n){const r=e.getRootElement();try{return null!==r&&r.contains(t)&&r.contains(n)&&null!==t&&!Ug(t)&&Yg(t)===e}catch{return!1}}function qg(e){return e instanceof Fx}function Yg(e){let t=e;for(;null!=t;){const e=Kg(t);if(qg(e))return e;t=Ny(t)}return null}function Kg(e){return e?e.__lexicalEditor:null}function Qg(e){return e.isToken()||e.isSegmented()}function Gg(e){return 3===e.nodeType}function Xg(e){let t=e;for(;null!=t;){if(Gg(t))return t;t=t.firstChild}return null}function Jg(e,t,n){const r=wg[t];if(null!==n&&(e&r)==(n&r))return e;let o=e^r;return"subscript"===t?o&=~wg.superscript:"superscript"===t&&(o&=~wg.subscript),o}function $g(e){const t=e.getParent();if(null!==t){const n=e.getWritable(),r=t.getWritable(),o=e.getPreviousSibling(),i=e.getNextSibling();if(null===o)if(null!==i){const e=i.getWritable();r.__first=i.__key,e.__prev=null}else r.__first=null;else{const e=o.getWritable();if(null!==i){const t=i.getWritable();t.__prev=e.__key,e.__next=t.__key}else e.__next=null;n.__prev=null}if(null===i)if(null!==o){const e=o.getWritable();r.__last=o.__key,e.__next=null}else r.__last=null;else{const e=i.getWritable();if(null!==o){const t=o.getWritable();t.__next=e.__key,e.__prev=t.__key}else e.__prev=null;n.__next=null}r.__size--,n.__parent=null}}function ey(e){lx();const t=e.getLatest(),n=t.__parent,r=cx(),o=ux(),i=r._nodeMap,a=o._dirtyElements;null!==n&&function(e,t,n){let r=e;for(;null!==r;){if(n.has(r))return;const e=t.get(r);if(void 0===e)break;n.set(r,!1),r=e.__parent}}(n,i,a);const s=t.__key;o._dirtyType=1,Ax(e)?a.set(s,!0):o._dirtyLeaves.add(s)}function ty(e){sx();const t=ux(),n=t._compositionKey;if(e!==n){if(t._compositionKey=e,null!==n){const e=ry(n);null!==e&&e.getWritable()}if(null!==e){const t=ry(e);null!==t&&t.getWritable()}}}function ny(){return ax()?null:ux()._compositionKey}function ry(e,t){const n=(t||cx())._nodeMap.get(e);return void 0===n?null:n}function oy(e,t){const n=e[`__lexicalKey_${ux()._key}`];return void 0!==n?ry(n,t):null}function iy(e,t){let n=e;for(;null!=n;){const e=oy(n,t);if(null!==e)return e;n=Ny(n)}return null}function ay(e){const t=e._decorators,n=Object.assign({},t);return e._pendingDecorators=n,n}function sy(e){return e.read((()=>ly().getTextContent()))}function ly(){return cy(cx())}function cy(e){return e._nodeMap.get("root")}function uy(e){sx();const t=cx();null!==e&&(e.dirty=!0,e.setCachedNodes(null)),t._selection=e}function dy(e){const t=ux(),n=function(e,t){let n=e;for(;null!=n;){const e=n[`__lexicalKey_${t._key}`];if(void 0!==e)return e;n=Ny(n)}return null}(e,t);return null===n?e===t.getRootElement()?ry("root"):null:ry(n)}function fy(e,t){return t?e.getTextContentSize():0}function hy(e){return/[\uD800-\uDBFF][\uDC00-\uDFFF]/g.test(e)}function py(e){const t=[];let n=e;for(;null!==n;)t.push(n),n=n._parentEditor;return t}function my(){return Math.random().toString(36).replace(/[^a-z]+/g,"").substr(0,5)}function gy(e){return 3===e.nodeType?e.nodeValue:null}function yy(e,t,n){const r=Hy(t._window);if(null===r)return;const o=r.anchorNode;let{anchorOffset:i,focusOffset:a}=r;if(null!==o){let t=gy(o);const r=iy(o);if(null!==t&&Ab(r)){if(t===pg&&n){const e=n.length;t=n,i=e,a=e}null!==t&&vy(r,t,i,a,e)}}}function vy(e,t,n,r,o){let i=e;if(i.isAttached()&&(o||!i.isDirty())){const a=i.isComposing();let s=t;(a||o)&&t[t.length-1]===pg&&(s=t.slice(0,-1));const l=i.getTextContent();if(o||s!==l){if(""===s){if(ty(null),$m||eg||og)i.remove();else{const e=ux();setTimeout((()=>{e.update((()=>{i.isAttached()&&i.remove()}))}),20)}return}const t=i.getParent(),o=Yb(),l=i.getTextContentSize(),c=ny(),u=i.getKey();if(i.isToken()||null!==c&&u===c&&!a||Mb(o)&&(null!==t&&!t.canInsertTextBefore()&&0===o.anchor.offset||o.anchor.key===e.__key&&0===o.anchor.offset&&!i.canInsertTextBefore()&&!a||o.focus.key===e.__key&&o.focus.offset===l&&!i.canInsertTextAfter()&&!a))return void i.markDirty();const d=qb();if(!Mb(d)||null===n||null===r)return void i.setTextContent(s);if(d.setTextNodeRange(i,n,i,r),i.isSegmented()){const e=Cb(i.getTextContent());i.replace(e),i=e}i.setTextContent(s)}}}function by(e){return"ArrowLeft"===e}function xy(e){return"ArrowRight"===e}function wy(e,t){return Gm?e:t}function Cy(e){return"Enter"===e}function Ay(e){return"Backspace"===e}function Ey(e){return"Delete"===e}function Sy(e,t,n){return"a"===e.toLowerCase()&&wy(t,n)}function ky(e,t){void 0===e.__lexicalClassNameCache&&(e.__lexicalClassNameCache={});const n=e.__lexicalClassNameCache,r=n[t];if(void 0!==r)return r;const o=e[t];if("string"==typeof o){const e=Og(o);return n[t]=e,e}return o}function _y(e,t,n,r,o){if(0===n.size)return;const i=r.__type,a=r.__key,s=t.get(i);void 0===s&&_g(33,i);const l=s.klass;let c=e.get(l);void 0===c&&(c=new Map,e.set(l,c));const u=c.get(a),d="destroyed"===u&&"created"===o;(void 0===u||d)&&c.set(a,d?"updated":o)}function Oy(e,t,n){const r=e.getParent();let o=n,i=e;return null!==r&&(t&&0===n?(o=i.getIndexWithinParent(),i=r):t||n!==i.getChildrenSize()||(o=i.getIndexWithinParent()+1,i=r)),i.getChildAtIndex(t?o-1:o)}function Ry(e,t){const n=e.offset;if("element"===e.type)return Oy(e.getNode(),t,n);{const r=e.getNode();if(t&&0===n||!t&&n===r.getTextContentSize()){const e=t?r.getPreviousSibling():r.getNextSibling();return null===e?Oy(r.getParentOrThrow(),t,r.getIndexWithinParent()+(t?0:1)):e}}return null}function Py(e){const t=Dy(e).event,n=t&&t.inputType;return"insertFromPaste"===n||"insertFromPasteAsQuotation"===n}function jy(e,t,n){return vx(e,t,n)}function Ty(e){return!Ox(e)&&!e.isLastChild()&&!e.isInline()}function My(e,t){const n=e._keyToDOMMap.get(t);return void 0===n&&_g(75,t),n}function Ny(e){const t=e.assignedSlot||e.parentElement;return null!==t&&11===t.nodeType?t.host:t}function Ly(e,t){let n=e.getParent();for(;null!==n;){if(n.is(t))return!0;n=n.getParent()}return!1}function Dy(e){const t=e._window;return null===t&&_g(78),t}function Iy(e){return Ox(e)||Ax(e)&&e.isShadowRoot()}function Fy(e){const t=ux(),n=e.constructor.getType(),r=t._nodes.get(n);void 0===r&&_g(97);const o=r.replace;if(null!==o){const t=o(e);return t instanceof e.constructor||_g(98),t}return e}function By(e,t){!Ox(e.getParent())||Ax(t)||kx(t)||_g(99)}function zy(e){return(kx(e)||Ax(e)&&!e.canBeEmpty())&&!e.isInline()}function Vy(e,t,n){n.style.removeProperty("caret-color"),t._blockCursorElement=null;const r=e.parentElement;null!==r&&r.removeChild(e)}function Hy(e){return Km?(e||window).getSelection():null}function Wy(e){return 1===e.nodeType}function Uy(e){const t=new RegExp(/^(a|abbr|acronym|b|cite|code|del|em|i|ins|kbd|label|output|q|ruby|s|samp|span|strong|sub|sup|time|u|tt|var|#text)$/,"i");return null!==e.nodeName.match(t)}function Zy(e){const t=new RegExp(/^(address|article|aside|blockquote|canvas|dd|div|dl|dt|fieldset|figcaption|figure|footer|form|h1|h2|h3|h4|h5|h6|header|hr|li|main|nav|noscript|ol|p|pre|section|table|td|tfoot|ul|video)$/,"i");return null!==e.nodeName.match(t)}function qy(e){if(Ox(e)||kx(e)&&!e.isInline())return!0;if(!Ax(e)||Iy(e))return!1;const t=e.getFirstChild(),n=null===t||ib(t)||Ab(t)||t.isInline();return!e.isInline()&&!1!==e.canBeEmpty()&&n}function Yy(e,t){let n=e;for(;null!==n&&null!==n.getParent()&&!t(n);)n=n.getParentOrThrow();return t(n)?n:null}const Ky=new WeakMap,Qy=new Map;function Gy(e){const t=e.constructor.clone(e);return t.afterCloneFrom(e),t}function Xy(e,t,n,r,o,i){let a=e.getFirstChild();for(;null!==a;){const e=a.__key;a.__parent===t&&(Ax(a)&&Xy(a,e,n,r,o,i),n.has(e)||i.delete(e),o.push(e)),a=a.getNextSibling()}}let Jy,$y,ev,tv,nv,rv,ov,iv,av,sv,lv="",cv="",uv=null,dv="",fv="",hv=!1,pv=!1,mv=null;function gv(e,t){const n=ov.get(e);if(null!==t){const n=jv(e);n.parentNode===t&&t.removeChild(n)}if(iv.has(e)||$y._keyToDOMMap.delete(e),Ax(n)){const e=_v(n,ov);yv(e,0,e.length-1,null)}void 0!==n&&_y(sv,ev,tv,n,"destroyed")}function yv(e,t,n,r){let o=t;for(;o<=n;++o){const t=e[o];void 0!==t&&gv(t,r)}}function vv(e,t){e.setProperty("text-align",t)}const bv="40px";function xv(e,t){const n=Jy.theme.indent;if("string"==typeof n){const r=e.classList.contains(n);t>0&&!r?e.classList.add(n):t<1&&r&&e.classList.remove(n)}const r=getComputedStyle(e).getPropertyValue("--lexical-indent-base-value")||bv;e.style.setProperty("padding-inline-start",0===t?"":`calc(${t} * ${r})`)}function wv(e,t){const n=e.style;0===t?vv(n,""):1===t?vv(n,"left"):2===t?vv(n,"center"):3===t?vv(n,"right"):4===t?vv(n,"justify"):5===t?vv(n,"start"):6===t&&vv(n,"end")}function Cv(e,t,n){const r=iv.get(e);void 0===r&&_g(60);const o=r.createDOM(Jy,$y);if(function(e,t,n){const r=n._keyToDOMMap;t["__lexicalKey_"+n._key]=e,r.set(e,t)}(e,o,$y),Ab(r)?o.setAttribute("data-lexical-text","true"):kx(r)&&o.setAttribute("data-lexical-decorator","true"),Ax(r)){const e=r.__indent,t=r.__size;if(0!==e&&xv(o,e),0!==t){const e=t-1;!function(e,t,n,r){const o=cv;cv="",Av(e,n,0,t,r,null),kv(n,r),cv=o}(_v(r,iv),e,r,o)}const n=r.__format;0!==n&&wv(o,n),r.isInline()||Sv(null,r,o),Ty(r)&&(lv+=mg,fv+=mg)}else{const t=r.getTextContent();if(kx(r)){const t=r.decorate($y,Jy);null!==t&&Rv(e,t),o.contentEditable="false"}else Ab(r)&&(r.isDirectionless()||(cv+=t));lv+=t,fv+=t}if(null!==t)if(null!=n)t.insertBefore(o,n);else{const e=t.__lexicalLineBreak;null!=e?t.insertBefore(o,e):t.appendChild(o)}return _y(sv,ev,tv,r,"created"),o}function Av(e,t,n,r,o,i){const a=lv;lv="";let s=n;for(;s<=r;++s){Cv(e[s],o,i);const t=iv.get(e[s]);null!==t&&Ab(t)&&(null===uv&&(uv=t.getFormat()),""===dv&&(dv=t.getStyle()))}Ty(t)&&(lv+=mg),o.__lexicalTextContent=lv,lv=a+lv}function Ev(e,t){const n=t.get(e);return ib(n)||kx(n)&&n.isInline()}function Sv(e,t,n){const r=null!==e&&(0===e.__size||Ev(e.__last,ov)),o=0===t.__size||Ev(t.__last,iv);if(r){if(!o){const e=n.__lexicalLineBreak;if(null!=e)try{n.removeChild(e)}catch(t){if("object"==typeof t&&null!=t){const r=`${t.toString()} Parent: ${n.tagName}, child: ${e.tagName}.`;throw new Error(r)}throw t}n.__lexicalLineBreak=null}}else if(o){const e=document.createElement("br");n.__lexicalLineBreak=e,n.appendChild(e)}}function kv(e,t){const n=t.__lexicalDirTextContent,r=t.__lexicalDir;if(n!==cv||r!==mv){const n=""===cv,i=n?mv:(o=cv,bg.test(o)?"rtl":xg.test(o)?"ltr":null);if(i!==r){const o=t.classList,a=Jy.theme;let s=null!==r?a[r]:void 0,l=null!==i?a[i]:void 0;if(void 0!==s){if("string"==typeof s){const e=Og(s);s=a[r]=e}o.remove(...s)}if(null===i||n&&"ltr"===i)t.removeAttribute("dir");else{if(void 0!==l){if("string"==typeof l){const e=Og(l);l=a[i]=e}void 0!==l&&o.add(...l)}t.dir=i}pv||(e.getWritable().__dir=i)}mv=i,t.__lexicalDirTextContent=cv,t.__lexicalDir=i}var o}function _v(e,t){const n=[];let r=e.__first;for(;null!==r;){const e=t.get(r);void 0===e&&_g(101),n.push(r),r=e.__next}return n}function Ov(e,t){const n=ov.get(e);let r=iv.get(e);void 0!==n&&void 0!==r||_g(61);const o=hv||rv.has(e)||nv.has(e),i=My($y,e);if(n===r&&!o){if(Ax(n)){const e=i.__lexicalTextContent;void 0!==e&&(lv+=e,fv+=e);const t=i.__lexicalDirTextContent;void 0!==t&&(cv+=t)}else{const e=n.getTextContent();Ab(n)&&!n.isDirectionless()&&(cv+=e),fv+=e,lv+=e}return i}if(n!==r&&o&&_y(sv,ev,tv,r,"updated"),r.updateDOM(n,i,Jy)){const n=Cv(e,null,null);return null===t&&_g(62),t.replaceChild(n,i),gv(e,null),n}if(Ax(n)&&Ax(r)){const e=r.__indent;e!==n.__indent&&xv(i,e);const t=r.__format;t!==n.__format&&wv(i,t),o&&(function(e,t,n){const r=cv;var o,i;cv="",uv=null,dv="",function(e,t,n){const r=lv,o=e.__size,i=t.__size;if(lv="",1===o&&1===i){const r=e.__first,o=t.__first;if(r===o)Ov(r,n);else{const e=jv(r),t=Cv(o,null,null);try{n.replaceChild(t,e)}catch(i){if("object"==typeof i&&null!=i){const a=`${i.toString()} Parent: ${n.tagName}, new child: {tag: ${t.tagName} key: ${o}}, old child: {tag: ${e.tagName}, key: ${r}}.`;throw new Error(a)}throw i}gv(r,null)}const i=iv.get(o);Ab(i)&&(null===uv&&(uv=i.getFormat()),""===dv&&(dv=i.getStyle()))}else{const r=_v(e,ov),a=_v(t,iv);if(0===o)0!==i&&Av(a,t,0,i-1,n,null);else if(0===i){if(0!==o){const e=null==n.__lexicalLineBreak;yv(r,0,o-1,e?null:n),e&&(n.textContent="")}}else!function(e,t,n,r,o,i){const a=r-1,s=o-1;let l,c,u=i.firstChild,d=0,f=0;for(;d<=a&&f<=s;){const e=t[d],r=n[f];if(e===r)u=Pv(Ov(r,i)),d++,f++;else{void 0===l&&(l=new Set(t)),void 0===c&&(c=new Set(n));const o=c.has(e),a=l.has(r);if(o)if(a){const e=My($y,r);e===u?u=Pv(Ov(r,i)):(null!=u?i.insertBefore(e,u):i.appendChild(e),Ov(r,i)),d++,f++}else Cv(r,i,u),f++;else u=Pv(jv(e)),gv(e,i),d++}const o=iv.get(r);null!==o&&Ab(o)&&(null===uv&&(uv=o.getFormat()),""===dv&&(dv=o.getStyle()))}const h=d>a,p=f>s;if(h&&!p){const t=n[s+1];Av(n,e,f,s,i,void 0===t?null:$y.getElementByKey(t))}else p&&!h&&yv(t,d,a,i)}(t,r,a,o,i,n)}Ty(t)&&(lv+=mg),n.__lexicalTextContent=lv,lv=r+lv}(e,t,n),kv(t,n),Dx(o=t)&&null!=uv&&uv!==o.__textFormat&&!pv&&(o.setTextFormat(uv),o.setTextStyle(dv)),Dx(i=t)&&""!==dv&&dv!==i.__textStyle&&!pv&&i.setTextStyle(dv),cv=r}(n,r,i),Ox(r)||r.isInline()||Sv(n,r,i)),Ty(r)&&(lv+=mg,fv+=mg)}else{const t=r.getTextContent();if(kx(r)){const t=r.decorate($y,Jy);null!==t&&Rv(e,t)}else Ab(r)&&!r.isDirectionless()&&(cv+=t);lv+=t,fv+=t}if(!pv&&Ox(r)&&r.__cachedText!==fv){const e=r.getWritable();e.__cachedText=fv,r=e}return i}function Rv(e,t){let n=$y._pendingDecorators;const r=$y._decorators;if(null===n){if(r[e]===t)return;n=ay($y)}n[e]=t}function Pv(e){let t=e.nextSibling;return null!==t&&t===$y._blockCursorElement&&(t=t.nextSibling),t}function jv(e){const t=av.get(e);return void 0===t&&_g(75,e),t}const Tv=Object.freeze({}),Mv=[["keydown",function(e,t){if(Nv=e.timeStamp,Lv=e.key,t.isComposing())return;const{key:n,shiftKey:r,ctrlKey:o,metaKey:i,altKey:a}=e;jy(t,wm,e)||null!=n&&(function(e,t,n,r){return xy(e)&&!t&&!r&&!n}(n,o,a,i)?jy(t,Cm,e):function(e,t,n,r,o){return xy(e)&&!r&&!n&&(t||o)}(n,o,r,a,i)?jy(t,Am,e):function(e,t,n,r){return by(e)&&!t&&!r&&!n}(n,o,a,i)?jy(t,Em,e):function(e,t,n,r,o){return by(e)&&!r&&!n&&(t||o)}(n,o,r,a,i)?jy(t,Sm,e):function(e,t,n){return function(e){return"ArrowUp"===e}(e)&&!t&&!n}(n,o,i)?jy(t,km,e):function(e,t,n){return function(e){return"ArrowDown"===e}(e)&&!t&&!n}(n,o,i)?jy(t,_m,e):function(e,t){return Cy(e)&&t}(n,r)?(Vv=!0,jy(t,Om,e)):function(e){return" "===e}(n)?jy(t,Rm,e):function(e,t){return Gm&&t&&"o"===e.toLowerCase()}(n,o)?(e.preventDefault(),Vv=!0,jy(t,dm,!0)):function(e,t){return Cy(e)&&!t}(n,r)?(Vv=!1,jy(t,Om,e)):function(e,t,n,r){return Gm?!t&&!n&&(Ay(e)||"h"===e.toLowerCase()&&r):!(r||t||n)&&Ay(e)}(n,a,i,o)?Ay(n)?jy(t,Pm,e):(e.preventDefault(),jy(t,um,!0)):function(e){return"Escape"===e}(n)?jy(t,jm,e):function(e,t,n,r,o){return Gm?!(n||r||o)&&(Ey(e)||"d"===e.toLowerCase()&&t):!(t||r||o)&&Ey(e)}(n,o,r,a,i)?Ey(n)?jy(t,Tm,e):(e.preventDefault(),jy(t,um,!1)):function(e,t,n){return Ay(e)&&(Gm?t:n)}(n,a,o)?(e.preventDefault(),jy(t,gm,!0)):function(e,t,n){return Ey(e)&&(Gm?t:n)}(n,a,o)?(e.preventDefault(),jy(t,gm,!1)):function(e,t){return Gm&&t&&Ay(e)}(n,i)?(e.preventDefault(),jy(t,ym,!0)):function(e,t){return Gm&&t&&Ey(e)}(n,i)?(e.preventDefault(),jy(t,ym,!1)):function(e,t,n,r){return"b"===e.toLowerCase()&&!t&&wy(n,r)}(n,a,i,o)?(e.preventDefault(),jy(t,vm,"bold")):function(e,t,n,r){return"u"===e.toLowerCase()&&!t&&wy(n,r)}(n,a,i,o)?(e.preventDefault(),jy(t,vm,"underline")):function(e,t,n,r){return"i"===e.toLowerCase()&&!t&&wy(n,r)}(n,a,i,o)?(e.preventDefault(),jy(t,vm,"italic")):function(e,t,n,r){return"Tab"===e&&!t&&!n&&!r}(n,a,o,i)?jy(t,Mm,e):function(e,t,n,r){return"z"===e.toLowerCase()&&!t&&wy(n,r)}(n,r,i,o)?(e.preventDefault(),jy(t,bm,void 0)):function(e,t,n,r){return Gm?"z"===e.toLowerCase()&&n&&t:"y"===e.toLowerCase()&&r||"z"===e.toLowerCase()&&r&&t}(n,r,i,o)?(e.preventDefault(),jy(t,xm,void 0)):Lb(t._editorState._selection)?function(e,t,n,r){return!t&&"c"===e.toLowerCase()&&(Gm?n:r)}(n,r,i,o)?(e.preventDefault(),jy(t,Fm,e)):function(e,t,n,r){return!t&&"x"===e.toLowerCase()&&(Gm?n:r)}(n,r,i,o)?(e.preventDefault(),jy(t,Bm,e)):Sy(n,i,o)&&(e.preventDefault(),jy(t,zm,e)):!Xm&&Sy(n,i,o)&&(e.preventDefault(),jy(t,zm,e)),function(e,t,n,r){return e||t||n||r}(o,r,a,i)&&jy(t,Ym,e))}],["pointerdown",function(e,t){const n=e.target,r=e.pointerType;n instanceof Node&&"touch"!==r&&wx(t,(()=>{kx(iy(n))||(zv=!0)}))}],["compositionstart",function(e,t){wx(t,(()=>{const n=qb();if(Mb(n)&&!t.isComposing()){const r=n.anchor,o=n.anchor.getNode();ty(r.key),(e.timeStamp<Nv+30||"element"===r.type||!n.isCollapsed()||o.getFormat()!==n.format||Ab(o)&&o.getStyle()!==n.style)&&jy(t,hm,gg)}}))}],["compositionend",function(e,t){Xm?Hv=!0:wx(t,(()=>{Kv(t,e.data)}))}],["input",function(e,t){e.stopPropagation(),wx(t,(()=>{const n=qb(),r=e.data,o=Yv(e);if(null!=r&&Mb(n)&&Uv(n,o,r,e.timeStamp,!1)){Hv&&(Kv(t,r),Hv=!1);const o=n.anchor.getNode(),i=Hy(t._window);if(null===i)return;const a=n.isBackward(),s=a?n.anchor.offset:n.focus.offset,l=a?n.focus.offset:n.anchor.offset;Jm&&!n.isCollapsed()&&Ab(o)&&null!==i.anchorNode&&o.getTextContent().slice(0,s)+r+o.getTextContent().slice(s+l)===gy(i.anchorNode)||jy(t,hm,r);const c=r.length;Xm&&c>1&&"insertCompositionText"===e.inputType&&!t.isComposing()&&(n.anchor.offset-=c),$m||eg||og||!t.isComposing()||(Nv=0,ty(null))}else yy(!1,t,null!==r?r:void 0),Hv&&(Kv(t,r||void 0),Hv=!1);sx(),Dg(ux())})),Iv=null}],["click",function(e,t){wx(t,(()=>{const n=qb(),r=Hy(t._window),o=Yb();if(r)if(Mb(n)){const t=n.anchor,i=t.getNode();"element"===t.type&&0===t.offset&&n.isCollapsed()&&!Ox(i)&&1===ly().getChildrenSize()&&i.getTopLevelElementOrThrow().isEmpty()&&null!==o&&n.is(o)?(r.removeAllRanges(),n.dirty=!0):3===e.detail&&!n.isCollapsed()&&i!==n.focus.getNode()&&(Ax(i)?i.select(0):i.getParentOrThrow().select(0))}else if("touch"===e.pointerType){const n=r.anchorNode;if(null!==n){const i=n.nodeType;(1===i||3===i)&&uy(Zb(o,r,t,e))}}jy(t,cm,e)}))}],["cut",Tv],["copy",Tv],["dragstart",Tv],["dragover",Tv],["dragend",Tv],["paste",Tv],["focus",Tv],["blur",Tv],["drop",Tv]];Jm&&Mv.push(["beforeinput",(e,t)=>function(e,t){const n=e.inputType,r=Yv(e);"deleteCompositionText"===n||Xm&&Py(t)||"insertCompositionText"!==n&&wx(t,(()=>{const o=qb();if("deleteContentBackward"===n){if(null===o){const e=Yb();if(!Mb(e))return;uy(e.clone())}if(Mb(o)){const n=o.anchor.key===o.focus.key;if(i=e.timeStamp,"MediaLast"===Lv&&i<Nv+30&&t.isComposing()&&n){if(ty(null),Nv=0,setTimeout((()=>{wx(t,(()=>{ty(null)}))}),30),Mb(o)){const e=o.anchor.getNode();e.markDirty(),o.format=e.getFormat(),Ab(e)||_g(142),o.style=e.getStyle()}}else{ty(null),e.preventDefault();const r=o.anchor.getNode().getTextContent(),i=0===o.anchor.offset&&o.focus.offset===r.length;rg&&n&&!i||jy(t,um,!0)}return}}var i;if(!Mb(o))return;const a=e.data;null!==Iv&&yy(!1,t,Iv),o.dirty&&null===Iv||!o.isCollapsed()||Ox(o.anchor.getNode())||null===r||o.applyDOMRange(r),Iv=null;const s=o.anchor,l=o.focus,c=s.getNode(),u=l.getNode();if("insertText"!==n&&"insertTranspose"!==n)switch(e.preventDefault(),n){case"insertFromYank":case"insertFromDrop":case"insertReplacementText":jy(t,hm,e);break;case"insertFromComposition":ty(null),jy(t,hm,e);break;case"insertLineBreak":ty(null),jy(t,dm,!1);break;case"insertParagraph":ty(null),Vv&&!eg?(Vv=!1,jy(t,dm,!1)):jy(t,fm,void 0);break;case"insertFromPaste":case"insertFromPasteAsQuotation":jy(t,pm,e);break;case"deleteByComposition":((d=c)!==(f=u)||Ax(d)||Ax(f)||!d.isToken()||!f.isToken())&&jy(t,mm,e);break;case"deleteByDrag":case"deleteByCut":jy(t,mm,e);break;case"deleteContent":jy(t,um,!1);break;case"deleteWordBackward":jy(t,gm,!0);break;case"deleteWordForward":jy(t,gm,!1);break;case"deleteHardLineBackward":case"deleteSoftLineBackward":jy(t,ym,!0);break;case"deleteContentForward":case"deleteHardLineForward":case"deleteSoftLineForward":jy(t,ym,!1);break;case"formatStrikeThrough":jy(t,vm,"strikethrough");break;case"formatBold":jy(t,vm,"bold");break;case"formatItalic":jy(t,vm,"italic");break;case"formatUnderline":jy(t,vm,"underline");break;case"historyUndo":jy(t,bm,void 0);break;case"historyRedo":jy(t,xm,void 0)}else{if("\n"===a)e.preventDefault(),jy(t,dm,!1);else if(a===mg)e.preventDefault(),jy(t,fm,void 0);else if(null==a&&e.dataTransfer){const t=e.dataTransfer.getData("text/plain");e.preventDefault(),o.insertRawText(t)}else null!=a&&Uv(o,r,a,e.timeStamp,!0)?(e.preventDefault(),jy(t,hm,a)):Iv=a;Dv=e.timeStamp}var d,f}))}(e,t)]);let Nv=0,Lv=null,Dv=0,Iv=null;const Fv=new WeakMap;let Bv=!1,zv=!1,Vv=!1,Hv=!1,Wv=[0,"",0,"root",0];function Uv(e,t,n,r,o){const i=e.anchor,a=e.focus,s=i.getNode(),l=ux(),c=Hy(l._window),u=null!==c?c.anchorNode:null,d=i.key,f=l.getElementByKey(d),h=n.length;return d!==a.key||!Ab(s)||(!o&&(!Jm||Dv<r+50)||s.isDirty()&&h<2||hy(n))&&i.offset!==a.offset&&!s.isComposing()||Qg(s)||s.isDirty()&&h>1||(o||!Jm)&&null!==f&&!s.isComposing()&&u!==Xg(f)||null!==c&&null!==t&&(!t.collapsed||t.startContainer!==c.anchorNode||t.startOffset!==c.anchorOffset)||s.getFormat()!==e.format||s.getStyle()!==e.style||function(e,t){if(t.isSegmented())return!0;if(!e.isCollapsed())return!1;const n=e.anchor.offset,r=t.getParentOrThrow(),o=t.isToken();return 0===n?!t.canInsertTextBefore()||!r.canInsertTextBefore()&&!t.isComposing()||o||function(e){const t=e.getPreviousSibling();return(Ab(t)||Ax(t)&&t.isInline())&&!t.canInsertTextAfter()}(t):n===t.getTextContentSize()&&(!t.canInsertTextAfter()||!r.canInsertTextAfter()&&!t.isComposing()||o)}(e,s)}function Zv(e,t){return null!==e&&null!==e.nodeValue&&3===e.nodeType&&0!==t&&t!==e.nodeValue.length}function qv(e,t,n){const{anchorNode:r,anchorOffset:o,focusNode:i,focusOffset:a}=e;Bv&&(Bv=!1,Zv(r,o)&&Zv(i,a))||wx(t,(()=>{if(!n)return void uy(null);if(!Zg(t,r,i))return;const s=qb();if(Mb(s)){const n=s.anchor,r=n.getNode();if(s.isCollapsed()){"Range"===e.type&&e.anchorNode===e.focusNode&&(s.dirty=!0);const o=Dy(t).event,i=o?o.timeStamp:performance.now(),[a,l,c,u,d]=Wv,f=ly(),h=!1===t.isComposing()&&""===f.getTextContent();if(i<d+200&&n.offset===c&&n.key===u)s.format=a,s.style=l;else if("text"===n.type)Ab(r)||_g(141),s.format=r.getFormat(),s.style=r.getStyle();else if("element"===n.type&&!h){const e=n.getNode();s.style="",e instanceof Mx&&0===e.getChildrenSize()?(s.format=e.getTextFormat(),s.style=e.getTextStyle()):s.format=0}}else{const e=n.key,t=s.focus.key,r=s.getNodes(),i=r.length,l=s.isBackward(),c=l?a:o,u=l?o:a,d=l?t:e,f=l?e:t;let h=255,p=!1;for(let e=0;e<i;e++){const t=r[e],n=t.getTextContentSize();if(Ab(t)&&0!==n&&!(0===e&&t.__key===d&&c===n||e===i-1&&t.__key===f&&0===u)&&(p=!0,h&=t.getFormat(),0===h))break}s.format=p?h:0}}jy(t,lm,void 0)}))}function Yv(e){if(!e.getTargetRanges)return null;const t=e.getTargetRanges();return 0===t.length?null:t[0]}function Kv(e,t){const n=e._compositionKey;if(ty(null),null!==n&&null!=t){if(""===t){const t=ry(n),r=Xg(e.getElementByKey(n));return void(null!==r&&null!==r.nodeValue&&Ab(t)&&vy(t,r.nodeValue,null,null,!0))}if("\n"===t[t.length-1]){const t=qb();if(Mb(t)){const n=t.focus;return t.anchor.set(n.key,n.offset,n.type),void jy(e,Om,null)}}}yy(!0,e,t)}function Qv(e){let t=e.__lexicalEventHandles;return void 0===t&&(t=[],e.__lexicalEventHandles=t),t}const Gv=new Map;function Xv(e){const t=e.target,n=Hy(null==t?null:9===t.nodeType?t.defaultView:t.ownerDocument.defaultView);if(null===n)return;const r=Yg(n.anchorNode);if(null===r)return;zv&&(zv=!1,wx(r,(()=>{const t=Yb(),o=n.anchorNode;if(null===o)return;const i=o.nodeType;1!==i&&3!==i||uy(Zb(t,n,r,e))})));const o=py(r),i=o[o.length-1],a=i._key,s=Gv.get(a),l=s||i;l!==r&&qv(n,l,!1),qv(n,r,!0),r!==i?Gv.set(a,r):s&&Gv.delete(a)}function Jv(e){e._lexicalHandled=!0}function $v(e){return!0===e._lexicalHandled}function eb(e,t,n){sx();const r=e.__key,o=e.getParent();if(null===o)return;const i=function(e){const t=qb();if(!Mb(t)||!Ax(e))return t;const{anchor:n,focus:r}=t,o=n.getNode(),i=r.getNode();return Ly(o,e)&&n.set(e.__key,0,"element"),Ly(i,e)&&r.set(e.__key,0,"element"),t}(e);let a=!1;if(Mb(i)&&t){const t=i.anchor,n=i.focus;t.key===r&&(Gb(t,e,o,e.getPreviousSibling(),e.getNextSibling()),a=!0),n.key===r&&(Gb(n,e,o,e.getPreviousSibling(),e.getNextSibling()),a=!0)}else Lb(i)&&t&&e.isSelected()&&e.selectPrevious();if(Mb(i)&&t&&!a){const t=e.getIndexWithinParent();$g(e),Kb(i,o,t,-1)}else $g(e);n||Iy(o)||o.canBeEmpty()||!o.isEmpty()||eb(o,t),t&&Ox(o)&&o.isEmpty()&&o.selectEnd()}class tb{static getType(){_g(64,this.name)}static clone(e){_g(65,this.name)}afterCloneFrom(e){this.__parent=e.__parent,this.__next=e.__next,this.__prev=e.__prev}constructor(e){this.__type=this.constructor.getType(),this.__parent=null,this.__prev=null,this.__next=null,function(e,t){if(null!=t)return void(e.__key=t);sx(),lx();const n=ux(),r=cx(),o=""+Hg++;r._nodeMap.set(o,e),Ax(e)?n._dirtyElements.set(o,!0):n._dirtyLeaves.add(o),n._cloneNotNeeded.add(o),n._dirtyType=1,e.__key=o}(this,e)}getType(){return this.__type}isInline(){_g(137,this.constructor.name)}isAttached(){let e=this.__key;for(;null!==e;){if("root"===e)return!0;const t=ry(e);if(null===t)break;e=t.__parent}return!1}isSelected(e){const t=e||qb();if(null==t)return!1;const n=t.getNodes().some((e=>e.__key===this.__key));if(Ab(this))return n;if(Mb(t)&&"element"===t.anchor.type&&"element"===t.focus.type){if(t.isCollapsed())return!1;const e=this.getParent();if(kx(this)&&this.isInline()&&e){const n=t.isBackward()?t.focus:t.anchor,r=n.getNode();if(n.offset===r.getChildrenSize()&&r.is(e)&&r.getLastChildOrThrow().is(this))return!1}}return n}getKey(){return this.__key}getIndexWithinParent(){const e=this.getParent();if(null===e)return-1;let t=e.getFirstChild(),n=0;for(;null!==t;){if(this.is(t))return n;n++,t=t.getNextSibling()}return-1}getParent(){const e=this.getLatest().__parent;return null===e?null:ry(e)}getParentOrThrow(){const e=this.getParent();return null===e&&_g(66,this.__key),e}getTopLevelElement(){let e=this;for(;null!==e;){const t=e.getParent();if(Iy(t))return Ax(e)||e===this&&kx(e)||_g(194),e;e=t}return null}getTopLevelElementOrThrow(){const e=this.getTopLevelElement();return null===e&&_g(67,this.__key),e}getParents(){const e=[];let t=this.getParent();for(;null!==t;)e.push(t),t=t.getParent();return e}getParentKeys(){const e=[];let t=this.getParent();for(;null!==t;)e.push(t.__key),t=t.getParent();return e}getPreviousSibling(){const e=this.getLatest().__prev;return null===e?null:ry(e)}getPreviousSiblings(){const e=[],t=this.getParent();if(null===t)return e;let n=t.getFirstChild();for(;null!==n&&!n.is(this);)e.push(n),n=n.getNextSibling();return e}getNextSibling(){const e=this.getLatest().__next;return null===e?null:ry(e)}getNextSiblings(){const e=[];let t=this.getNextSibling();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getCommonAncestor(e){const t=this.getParents(),n=e.getParents();Ax(this)&&t.unshift(this),Ax(e)&&n.unshift(e);const r=t.length,o=n.length;if(0===r||0===o||t[r-1]!==n[o-1])return null;const i=new Set(n);for(let e=0;e<r;e++){const n=t[e];if(i.has(n))return n}return null}is(e){return null!=e&&this.__key===e.__key}isBefore(e){if(this===e)return!1;if(e.isParentOf(this))return!0;if(this.isParentOf(e))return!1;const t=this.getCommonAncestor(e);let n=0,r=0,o=this;for(;;){const e=o.getParentOrThrow();if(e===t){n=o.getIndexWithinParent();break}o=e}for(o=e;;){const e=o.getParentOrThrow();if(e===t){r=o.getIndexWithinParent();break}o=e}return n<r}isParentOf(e){const t=this.__key;if(t===e.__key)return!1;let n=e;for(;null!==n;){if(n.__key===t)return!0;n=n.getParent()}return!1}getNodesBetween(e){const t=this.isBefore(e),n=[],r=new Set;let o=this;for(;null!==o;){const i=o.__key;if(r.has(i)||(r.add(i),n.push(o)),o===e)break;const a=Ax(o)?t?o.getFirstChild():o.getLastChild():null;if(null!==a){o=a;continue}const s=t?o.getNextSibling():o.getPreviousSibling();if(null!==s){o=s;continue}const l=o.getParentOrThrow();if(r.has(l.__key)||n.push(l),l===e)break;let c=null,u=l;do{if(null===u&&_g(68),c=t?u.getNextSibling():u.getPreviousSibling(),u=u.getParent(),null===u)break;null!==c||r.has(u.__key)||n.push(u)}while(null===c);o=c}return t||n.reverse(),n}isDirty(){const e=ux()._dirtyLeaves;return null!==e&&e.has(this.__key)}getLatest(){const e=ry(this.__key);return null===e&&_g(113),e}getWritable(){sx();const e=cx(),t=ux(),n=e._nodeMap,r=this.__key,o=this.getLatest(),i=t._cloneNotNeeded,a=qb();if(null!==a&&a.setCachedNodes(null),i.has(r))return ey(o),o;const s=Gy(o);return i.add(r),ey(s),n.set(r,s),s}getTextContent(){return""}getTextContentSize(){return this.getTextContent().length}createDOM(e,t){_g(70)}updateDOM(e,t,n){_g(71)}exportDOM(e){return{element:this.createDOM(e._config,e)}}exportJSON(){_g(72)}static importJSON(e){_g(18,this.name)}static transform(){return null}remove(e){eb(this,!0,e)}replace(e,t){sx();let n=qb();null!==n&&(n=n.clone()),By(this,e);const r=this.getLatest(),o=this.__key,i=e.__key,a=e.getWritable(),s=this.getParentOrThrow().getWritable(),l=s.__size;$g(a);const c=r.getPreviousSibling(),u=r.getNextSibling(),d=r.__prev,f=r.__next,h=r.__parent;if(eb(r,!1,!0),null===c?s.__first=i:c.getWritable().__next=i,a.__prev=d,null===u?s.__last=i:u.getWritable().__prev=i,a.__next=f,a.__parent=h,s.__size=l,t&&(Ax(this)&&Ax(a)||_g(139),this.getChildren().forEach((e=>{a.append(e)}))),Mb(n)){uy(n);const e=n.anchor,t=n.focus;e.key===o&&Pb(e,a),t.key===o&&Pb(t,a)}return ny()===o&&ty(i),a}insertAfter(e,t=!0){sx(),By(this,e);const n=this.getWritable(),r=e.getWritable(),o=r.getParent(),i=qb();let a=!1,s=!1;if(null!==o){const t=e.getIndexWithinParent();if($g(r),Mb(i)){const e=o.__key,n=i.anchor,r=i.focus;a="element"===n.type&&n.key===e&&n.offset===t+1,s="element"===r.type&&r.key===e&&r.offset===t+1}}const l=this.getNextSibling(),c=this.getParentOrThrow().getWritable(),u=r.__key,d=n.__next;if(null===l?c.__last=u:l.getWritable().__prev=u,c.__size++,n.__next=u,r.__next=d,r.__prev=n.__key,r.__parent=n.__parent,t&&Mb(i)){const e=this.getIndexWithinParent();Kb(i,c,e+1);const t=c.__key;a&&i.anchor.set(t,e+2,"element"),s&&i.focus.set(t,e+2,"element")}return e}insertBefore(e,t=!0){sx(),By(this,e);const n=this.getWritable(),r=e.getWritable(),o=r.__key;$g(r);const i=this.getPreviousSibling(),a=this.getParentOrThrow().getWritable(),s=n.__prev,l=this.getIndexWithinParent();null===i?a.__first=o:i.getWritable().__next=o,a.__size++,n.__prev=o,r.__prev=s,r.__next=n.__key,r.__parent=n.__parent;const c=qb();return t&&Mb(c)&&Kb(c,this.getParentOrThrow(),l),e}isParentRequired(){return!1}createParentElementNode(){return Lx()}selectStart(){return this.selectPrevious()}selectEnd(){return this.selectNext(0,0)}selectPrevious(e,t){sx();const n=this.getPreviousSibling(),r=this.getParentOrThrow();if(null===n)return r.select(0,0);if(Ax(n))return n.select();if(!Ab(n)){const e=n.getIndexWithinParent()+1;return r.select(e,e)}return n.select(e,t)}selectNext(e,t){sx();const n=this.getNextSibling(),r=this.getParentOrThrow();if(null===n)return r.select();if(Ax(n))return n.select(0,0);if(!Ab(n)){const e=n.getIndexWithinParent();return r.select(e,e)}return n.select(e,t)}markDirty(){this.getWritable()}}class nb extends tb{static getType(){return"linebreak"}static clone(e){return new nb(e.__key)}constructor(e){super(e)}getTextContent(){return"\n"}createDOM(){return document.createElement("br")}updateDOM(){return!1}static importDOM(){return{br:e=>function(e){const t=e.parentElement;if(null!==t&&Zy(t)){const n=t.firstChild;if(n===e||n.nextSibling===e&&ab(n)){const n=t.lastChild;if(n===e||n.previousSibling===e&&ab(n))return!0}}return!1}(e)||function(e){const t=e.parentElement;if(null!==t&&Zy(t)){const n=t.firstChild;if(n===e||n.nextSibling===e&&ab(n))return!1;const r=t.lastChild;if(r===e||r.previousSibling===e&&ab(r))return!0}return!1}(e)?null:{conversion:rb,priority:0}}}static importJSON(e){return ob()}exportJSON(){return{type:"linebreak",version:1}}}function rb(e){return{node:ob()}}function ob(){return Fy(new nb)}function ib(e){return e instanceof nb}function ab(e){return 3===e.nodeType&&/^( |\t|\r?\n)+$/.test(e.textContent||"")}function sb(e,t){return 16&t?"code":128&t?"mark":32&t?"sub":64&t?"sup":null}function lb(e,t){return 1&t?"strong":2&t?"em":"span"}function cb(e,t,n,r,o){const i=r.classList;let a=ky(o,"base");void 0!==a&&i.add(...a),a=ky(o,"underlineStrikethrough");let s=!1;const l=8&t&&4&t;void 0!==a&&(8&n&&4&n?(s=!0,l||i.add(...a)):l&&i.remove(...a));for(const e in wg){const r=wg[e];if(a=ky(o,e),void 0!==a)if(n&r){if(s&&("underline"===e||"strikethrough"===e)){t&r&&i.remove(...a);continue}t&r&&(!l||"underline"!==e)&&"strikethrough"!==e||i.add(...a)}else t&r&&i.remove(...a)}}function ub(e,t,n){const r=t.firstChild,o=n.isComposing(),i=e+(o?pg:"");if(null==r)t.textContent=i;else{const e=r.nodeValue;if(e!==i)if(o||Xm){const[t,n,o]=function(e,t){const n=e.length,r=t.length;let o=0,i=0;for(;o<n&&o<r&&e[o]===t[o];)o++;for(;i+o<n&&i+o<r&&e[n-i-1]===t[r-i-1];)i++;return[o,n-o-i,t.slice(o,r-i)]}(e,i);0!==n&&r.deleteData(t,n),r.insertData(t,o)}else r.nodeValue=i}}function db(e,t,n,r,o,i){ub(o,e,t);const a=i.theme.text;void 0!==a&&cb(0,0,r,e,a)}function fb(e,t){const n=document.createElement(t);return n.appendChild(e),n}class hb extends tb{static getType(){return"text"}static clone(e){return new hb(e.__text,e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__format=e.__format,this.__style=e.__style,this.__mode=e.__mode,this.__detail=e.__detail}constructor(e,t){super(t),this.__text=e,this.__format=0,this.__style="",this.__mode=0,this.__detail=0}getFormat(){return this.getLatest().__format}getDetail(){return this.getLatest().__detail}getMode(){const e=this.getLatest();return kg[e.__mode]}getStyle(){return this.getLatest().__style}isToken(){return 1===this.getLatest().__mode}isComposing(){return this.__key===ny()}isSegmented(){return 2===this.getLatest().__mode}isDirectionless(){return!!(1&this.getLatest().__detail)}isUnmergeable(){return!!(2&this.getLatest().__detail)}hasFormat(e){const t=wg[e];return!!(this.getFormat()&t)}isSimpleText(){return"text"===this.__type&&0===this.__mode}getTextContent(){return this.getLatest().__text}getFormatFlags(e,t){return Jg(this.getLatest().__format,e,t)}canHaveFormat(){return!0}createDOM(e,t){const n=this.__format,r=sb(0,n),o=lb(0,n),i=null===r?o:r,a=document.createElement(i);let s=a;this.hasFormat("code")&&a.setAttribute("spellcheck","false"),null!==r&&(s=document.createElement(o),a.appendChild(s)),db(s,this,0,n,this.__text,e);const l=this.__style;return""!==l&&(a.style.cssText=l),a}updateDOM(e,t,n){const r=this.__text,o=e.__format,i=this.__format,a=sb(0,o),s=sb(0,i),l=lb(0,o),c=lb(0,i);if((null===a?l:a)!==(null===s?c:s))return!0;if(a===s&&l!==c){const e=t.firstChild;null==e&&_g(48);const o=document.createElement(c);return db(o,this,0,i,r,n),t.replaceChild(o,e),!1}let u=t;null!==s&&null!==a&&(u=t.firstChild,null==u&&_g(49)),ub(r,u,this);const d=n.theme.text;void 0!==d&&o!==i&&cb(0,o,i,u,d);const f=e.__style,h=this.__style;return f!==h&&(t.style.cssText=h),!1}static importDOM(){return{"#text":()=>({conversion:vb,priority:0}),b:()=>({conversion:mb,priority:0}),code:()=>({conversion:wb,priority:0}),em:()=>({conversion:wb,priority:0}),i:()=>({conversion:wb,priority:0}),s:()=>({conversion:wb,priority:0}),span:()=>({conversion:pb,priority:0}),strong:()=>({conversion:wb,priority:0}),sub:()=>({conversion:wb,priority:0}),sup:()=>({conversion:wb,priority:0}),u:()=>({conversion:wb,priority:0})}}static importJSON(e){const t=Cb(e.text);return t.setFormat(e.format),t.setDetail(e.detail),t.setMode(e.mode),t.setStyle(e.style),t}exportDOM(e){let{element:t}=super.exportDOM(e);return null!==t&&Wy(t)||_g(132),t.style.whiteSpace="pre-wrap",this.hasFormat("bold")&&(t=fb(t,"b")),this.hasFormat("italic")&&(t=fb(t,"i")),this.hasFormat("strikethrough")&&(t=fb(t,"s")),this.hasFormat("underline")&&(t=fb(t,"u")),{element:t}}exportJSON(){return{detail:this.getDetail(),format:this.getFormat(),mode:this.getMode(),style:this.getStyle(),text:this.getTextContent(),type:"text",version:1}}selectionTransform(e,t){}setFormat(e){const t=this.getWritable();return t.__format="string"==typeof e?wg[e]:e,t}setDetail(e){const t=this.getWritable();return t.__detail="string"==typeof e?Cg[e]:e,t}setStyle(e){const t=this.getWritable();return t.__style=e,t}toggleFormat(e){const t=Jg(this.getFormat(),e,null);return this.setFormat(t)}toggleDirectionless(){const e=this.getWritable();return e.__detail^=1,e}toggleUnmergeable(){const e=this.getWritable();return e.__detail^=2,e}setMode(e){const t=Sg[e];if(this.__mode===t)return this;const n=this.getWritable();return n.__mode=t,n}setTextContent(e){if(this.__text===e)return this;const t=this.getWritable();return t.__text=e,t}select(e,t){sx();let n=e,r=t;const o=qb(),i=this.getTextContent(),a=this.__key;if("string"==typeof i){const e=i.length;void 0===n&&(n=e),void 0===r&&(r=e)}else n=0,r=0;if(!Mb(o))return Wb(a,n,a,r,"text","text");{const e=ny();e!==o.anchor.key&&e!==o.focus.key||ty(a),o.setTextNodeRange(this,n,this,r)}return o}selectStart(){return this.select(0,0)}selectEnd(){const e=this.getTextContentSize();return this.select(e,e)}spliceText(e,t,n,r){const o=this.getWritable(),i=o.__text,a=n.length;let s=e;s<0&&(s=a+s,s<0&&(s=0));const l=qb();if(r&&Mb(l)){const t=e+a;l.setTextNodeRange(o,t,o,t)}const c=i.slice(0,s)+n+i.slice(s+t);return o.__text=c,o}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}splitText(...e){sx();const t=this.getLatest(),n=t.getTextContent(),r=t.__key,o=ny(),i=new Set(e),a=[],s=n.length;let l="";for(let e=0;e<s;e++)""!==l&&i.has(e)&&(a.push(l),l=""),l+=n[e];""!==l&&a.push(l);const c=a.length;if(0===c)return[];if(a[0]===n)return[t];const u=a[0],d=t.getParent();let f;const h=t.getFormat(),p=t.getStyle(),m=t.__detail;let g=!1;t.isSegmented()?(f=Cb(u),f.__format=h,f.__style=p,f.__detail=m,g=!0):(f=t.getWritable(),f.__text=u);const y=qb(),v=[f];let b=u.length;for(let e=1;e<c;e++){const t=a[e],n=t.length,i=Cb(t).getWritable();i.__format=h,i.__style=p,i.__detail=m;const s=i.__key,l=b+n;if(Mb(y)){const e=y.anchor,t=y.focus;e.key===r&&"text"===e.type&&e.offset>b&&e.offset<=l&&(e.key=s,e.offset-=b,y.dirty=!0),t.key===r&&"text"===t.type&&t.offset>b&&t.offset<=l&&(t.key=s,t.offset-=b,y.dirty=!0)}o===r&&ty(s),b=l,v.push(i)}if(null!==d){!function(e){const t=e.getPreviousSibling(),n=e.getNextSibling();null!==t&&ey(t),null!==n&&ey(n)}(this);const e=d.getWritable(),t=this.getIndexWithinParent();g?(e.splice(t,0,v),this.remove()):e.splice(t,1,v),Mb(y)&&Kb(y,d,t,c-1)}return v}mergeWithSibling(e){const t=e===this.getPreviousSibling();t||e===this.getNextSibling()||_g(50);const n=this.__key,r=e.__key,o=this.__text,i=o.length;ny()===r&&ty(n);const a=qb();if(Mb(a)){const o=a.anchor,s=a.focus;null!==o&&o.key===r&&(Xb(o,t,n,e,i),a.dirty=!0),null!==s&&s.key===r&&(Xb(s,t,n,e,i),a.dirty=!0)}const s=e.__text,l=t?s+o:o+s;this.setTextContent(l);const c=this.getWritable();return e.remove(),c}isTextEntity(){return!1}}function pb(e){return{forChild:Eb(e.style),node:null}}function mb(e){const t=e,n="normal"===t.style.fontWeight;return{forChild:Eb(t.style,n?void 0:"bold"),node:null}}const gb=new WeakMap;function yb(e){return"PRE"===e.nodeName||1===e.nodeType&&void 0!==e.style&&void 0!==e.style.whiteSpace&&e.style.whiteSpace.startsWith("pre")}function vb(e){const t=e;null===e.parentElement&&_g(129);let n=t.textContent||"";if(null!==function(e){let t,n=e.parentNode;const r=[e];for(;null!==n&&void 0===(t=gb.get(n))&&!yb(n);)r.push(n),n=n.parentNode;const o=void 0===t?n:t;for(let e=0;e<r.length;e++)gb.set(r[e],o);return o}(t)){const e=n.split(/(\r?\n|\t)/),t=[],r=e.length;for(let n=0;n<r;n++){const r=e[n];"\n"===r||"\r\n"===r?t.push(ob()):"\t"===r?t.push(kb()):""!==r&&t.push(Cb(r))}return{node:t}}if(n=n.replace(/\r/g,"").replace(/[ \t\n]+/g," "),""===n)return{node:null};if(" "===n[0]){let e=t,r=!0;for(;null!==e&&null!==(e=bb(e,!1));){const t=e.textContent||"";if(t.length>0){/[ \t\n]$/.test(t)&&(n=n.slice(1)),r=!1;break}}r&&(n=n.slice(1))}if(" "===n[n.length-1]){let e=t,r=!0;for(;null!==e&&null!==(e=bb(e,!0));)if((e.textContent||"").replace(/^( |\t|\r?\n)+/,"").length>0){r=!1;break}r&&(n=n.slice(0,n.length-1))}return""===n?{node:null}:{node:Cb(n)}}function bb(e,t){let n=e;for(;;){let e;for(;null===(e=t?n.nextSibling:n.previousSibling);){const e=n.parentElement;if(null===e)return null;n=e}if(n=e,1===n.nodeType){const e=n.style.display;if(""===e&&!Uy(n)||""!==e&&!e.startsWith("inline"))return null}let r=n;for(;null!==(r=t?n.firstChild:n.lastChild);)n=r;if(3===n.nodeType)return n;if("BR"===n.nodeName)return null}}const xb={code:"code",em:"italic",i:"italic",s:"strikethrough",strong:"bold",sub:"subscript",sup:"superscript",u:"underline"};function wb(e){const t=xb[e.nodeName.toLowerCase()];return void 0===t?{node:null}:{forChild:Eb(e.style,t),node:null}}function Cb(e=""){return Fy(new hb(e))}function Ab(e){return e instanceof hb}function Eb(e,t){const n=e.fontWeight,r=e.textDecoration.split(" "),o="700"===n||"bold"===n,i=r.includes("line-through"),a="italic"===e.fontStyle,s=r.includes("underline"),l=e.verticalAlign;return e=>(Ab(e)&&(o&&!e.hasFormat("bold")&&e.toggleFormat("bold"),i&&!e.hasFormat("strikethrough")&&e.toggleFormat("strikethrough"),a&&!e.hasFormat("italic")&&e.toggleFormat("italic"),s&&!e.hasFormat("underline")&&e.toggleFormat("underline"),"sub"!==l||e.hasFormat("subscript")||e.toggleFormat("subscript"),"super"!==l||e.hasFormat("superscript")||e.toggleFormat("superscript"),t&&!e.hasFormat(t)&&e.toggleFormat(t)),e)}class Sb extends hb{static getType(){return"tab"}static clone(e){return new Sb(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__text=e.__text}constructor(e){super("\t",e),this.__detail=2}static importDOM(){return null}static importJSON(e){const t=kb();return t.setFormat(e.format),t.setStyle(e.style),t}exportJSON(){return{...super.exportJSON(),type:"tab",version:1}}setTextContent(e){_g(126)}setDetail(e){_g(127)}setMode(e){_g(128)}canInsertTextBefore(){return!1}canInsertTextAfter(){return!1}}function kb(){return Fy(new Sb)}class _b{constructor(e,t,n){this._selection=null,this.key=e,this.offset=t,this.type=n}is(e){return this.key===e.key&&this.offset===e.offset&&this.type===e.type}isBefore(e){let t=this.getNode(),n=e.getNode();const r=this.offset,o=e.offset;if(Ax(t)){const e=t.getDescendantByIndex(r);t=e??t}if(Ax(n)){const e=n.getDescendantByIndex(o);n=e??n}return t===n?r<o:t.isBefore(n)}getNode(){const e=ry(this.key);return null===e&&_g(20),e}set(e,t,n){const r=this._selection,o=this.key;this.key=e,this.offset=t,this.type=n,ax()||(ny()===o&&ty(e),null!==r&&(r.setCachedNodes(null),r.dirty=!0))}}function Ob(e,t,n){return new _b(e,t,n)}function Rb(e,t){let n=t.__key,r=e.offset,o="element";if(Ab(t)){o="text";const e=t.getTextContentSize();r>e&&(r=e)}else if(!Ax(t)){const e=t.getNextSibling();if(Ab(e))n=e.__key,r=0,o="text";else{const e=t.getParent();e&&(n=e.__key,r=t.getIndexWithinParent()+1)}}e.set(n,r,o)}function Pb(e,t){if(Ax(t)){const n=t.getLastDescendant();Ax(n)||Ab(n)?Rb(e,n):Rb(e,t)}else Rb(e,t)}function jb(e,t,n,r){e.key=t,e.offset=n,e.type=r}let Tb=class e{constructor(e){this._cachedNodes=null,this._nodes=e,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){if(!Lb(e))return!1;const t=this._nodes,n=e._nodes;return t.size===n.size&&Array.from(t).every((e=>n.has(e)))}isCollapsed(){return!1}isBackward(){return!1}getStartEndPoints(){return null}add(e){this.dirty=!0,this._nodes.add(e),this._cachedNodes=null}delete(e){this.dirty=!0,this._nodes.delete(e),this._cachedNodes=null}clear(){this.dirty=!0,this._nodes.clear(),this._cachedNodes=null}has(e){return this._nodes.has(e)}clone(){return new e(new Set(this._nodes))}extract(){return this.getNodes()}insertRawText(e){}insertText(){}insertNodes(e){const t=this.getNodes(),n=t.length,r=t[n-1];let o;if(Ab(r))o=r.select();else{const e=r.getIndexWithinParent()+1;o=r.getParentOrThrow().select(e,e)}o.insertNodes(e);for(let e=0;e<n;e++)t[e].remove()}getNodes(){const e=this._cachedNodes;if(null!==e)return e;const t=this._nodes,n=[];for(const e of t){const t=ry(e);null!==t&&n.push(t)}return ax()||(this._cachedNodes=n),n}getTextContent(){const e=this.getNodes();let t="";for(let n=0;n<e.length;n++)t+=e[n].getTextContent();return t}};function Mb(e){return e instanceof Nb}class Nb{constructor(e,t,n,r){this.anchor=e,this.focus=t,e._selection=this,t._selection=this,this._cachedNodes=null,this.format=n,this.style=r,this.dirty=!1}getCachedNodes(){return this._cachedNodes}setCachedNodes(e){this._cachedNodes=e}is(e){return!!Mb(e)&&this.anchor.is(e.anchor)&&this.focus.is(e.focus)&&this.format===e.format&&this.style===e.style}isCollapsed(){return this.anchor.is(this.focus)}getNodes(){const e=this._cachedNodes;if(null!==e)return e;const t=this.anchor,n=this.focus,r=t.isBefore(n),o=r?t:n,i=r?n:t;let a=o.getNode(),s=i.getNode();const l=o.offset,c=i.offset;if(Ax(a)){const e=a.getDescendantByIndex(l);a=e??a}if(Ax(s)){let e=s.getDescendantByIndex(c);null!==e&&e!==a&&s.getChildAtIndex(c)===e&&(e=e.getPreviousSibling()),s=e??s}let u;return u=a.is(s)?Ax(a)&&a.getChildrenSize()>0?[]:[a]:a.getNodesBetween(s),ax()||(this._cachedNodes=u),u}setTextNodeRange(e,t,n,r){jb(this.anchor,e.__key,t,"text"),jb(this.focus,n.__key,r,"text"),this._cachedNodes=null,this.dirty=!0}getTextContent(){const e=this.getNodes();if(0===e.length)return"";const t=e[0],n=e[e.length-1],r=this.anchor,o=this.focus,i=r.isBefore(o),[a,s]=Ib(this);let l="",c=!0;for(let u=0;u<e.length;u++){const d=e[u];if(Ax(d)&&!d.isInline())c||(l+="\n"),c=!d.isEmpty();else if(c=!1,Ab(d)){let e=d.getTextContent();d===t?d===n?"element"===r.type&&"element"===o.type&&o.offset!==r.offset||(e=a<s?e.slice(a,s):e.slice(s,a)):e=i?e.slice(a):e.slice(s):d===n&&(e=i?e.slice(0,s):e.slice(0,a)),l+=e}else!kx(d)&&!ib(d)||d===n&&this.isCollapsed()||(l+=d.getTextContent())}return l}applyDOMRange(e){const t=ux(),n=t.getEditorState()._selection,r=Hb(e.startContainer,e.startOffset,e.endContainer,e.endOffset,t,n);if(null===r)return;const[o,i]=r;jb(this.anchor,o.key,o.offset,o.type),jb(this.focus,i.key,i.offset,i.type),this._cachedNodes=null}clone(){const e=this.anchor,t=this.focus;return new Nb(Ob(e.key,e.offset,e.type),Ob(t.key,t.offset,t.type),this.format,this.style)}toggleFormat(e){this.format=Jg(this.format,e,null),this.dirty=!0}setStyle(e){this.style=e,this.dirty=!0}hasFormat(e){const t=wg[e];return!!(this.format&t)}insertRawText(e){const t=e.split(/(\r?\n|\t)/),n=[],r=t.length;for(let e=0;e<r;e++){const r=t[e];"\n"===r||"\r\n"===r?n.push(ob()):"\t"===r?n.push(kb()):n.push(Cb(r))}this.insertNodes(n)}insertText(e){const t=this.anchor,n=this.focus,r=this.format,o=this.style;let i=t,a=n;!this.isCollapsed()&&n.isBefore(t)&&(i=n,a=t),"element"===i.type&&function(e,t,n,r){const o=e.getNode(),i=o.getChildAtIndex(e.offset),a=Cb(),s=Ox(o)?Lx().append(a):a;a.setFormat(n),a.setStyle(r),null===i?o.append(s):i.insertBefore(s),e.is(t)&&t.set(a.__key,0,"text"),e.set(a.__key,0,"text")}(i,a,r,o);const s=i.offset;let l=a.offset;const c=this.getNodes(),u=c.length;let d=c[0];Ab(d)||_g(26);const f=d.getTextContent().length,h=d.getParentOrThrow();let p=c[u-1];if(1===u&&"element"===a.type&&(l=f,a.set(i.key,l,"text")),this.isCollapsed()&&s===f&&(d.isSegmented()||d.isToken()||!d.canInsertTextAfter()||!h.canInsertTextAfter()&&null===d.getNextSibling())){let t=d.getNextSibling();if(Ab(t)&&t.canInsertTextBefore()&&!Qg(t)||(t=Cb(),t.setFormat(r),t.setStyle(o),h.canInsertTextAfter()?d.insertAfter(t):h.insertAfter(t)),t.select(0,0),d=t,""!==e)return void this.insertText(e)}else if(this.isCollapsed()&&0===s&&(d.isSegmented()||d.isToken()||!d.canInsertTextBefore()||!h.canInsertTextBefore()&&null===d.getPreviousSibling())){let t=d.getPreviousSibling();if(Ab(t)&&!Qg(t)||(t=Cb(),t.setFormat(r),h.canInsertTextBefore()?d.insertBefore(t):h.insertBefore(t)),t.select(),d=t,""!==e)return void this.insertText(e)}else if(d.isSegmented()&&s!==f){const e=Cb(d.getTextContent());e.setFormat(r),d.replace(e),d=e}else if(!this.isCollapsed()&&""!==e){const t=p.getParent();if(!h.canInsertTextBefore()||!h.canInsertTextAfter()||Ax(t)&&(!t.canInsertTextBefore()||!t.canInsertTextAfter()))return this.insertText(""),Vb(this.anchor,this.focus,null),void this.insertText(e)}if(1===u){if(d.isToken()){const t=Cb(e);return t.select(),void d.replace(t)}const t=d.getFormat(),n=d.getStyle();if(s!==l||t===r&&n===o){if(function(e){return e instanceof Sb}(d)){const t=Cb(e);return t.setFormat(r),t.setStyle(o),t.select(),void d.replace(t)}}else{if(""!==d.getTextContent()){const t=Cb(e);if(t.setFormat(r),t.setStyle(o),t.select(),0===s)d.insertBefore(t,!1);else{const[e]=d.splitText(s);e.insertAfter(t,!1)}return void(t.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length))}d.setFormat(r),d.setStyle(o)}const i=l-s;d=d.spliceText(s,i,e,!0),""===d.getTextContent()?d.remove():"text"===this.anchor.type&&(d.isComposing()?this.anchor.offset-=e.length:(this.format=t,this.style=n))}else{const t=new Set([...d.getParentKeys(),...p.getParentKeys()]),n=Ax(d)?d:d.getParentOrThrow();let r=Ax(p)?p:p.getParentOrThrow(),o=p;if(!n.is(r)&&r.isInline())do{o=r,r=r.getParentOrThrow()}while(r.isInline());if("text"===a.type&&(0!==l||""===p.getTextContent())||"element"===a.type&&p.getIndexWithinParent()<l)if(Ab(p)&&!p.isToken()&&l!==p.getTextContentSize()){if(p.isSegmented()){const e=Cb(p.getTextContent());p.replace(e),p=e}Ox(a.getNode())||"text"!==a.type||(p=p.spliceText(0,l,"")),t.add(p.__key)}else{const e=p.getParentOrThrow();e.canBeEmpty()||1!==e.getChildrenSize()?p.remove():e.remove()}else t.add(p.__key);const i=r.getChildren(),h=new Set(c),m=n.is(r),g=n.isInline()&&null===d.getNextSibling()?n:d;for(let e=i.length-1;e>=0;e--){const t=i[e];if(t.is(d)||Ax(t)&&t.isParentOf(d))break;t.isAttached()&&(!h.has(t)||t.is(o)?m||g.insertAfter(t,!1):t.remove())}if(!m){let e=r,n=null;for(;null!==e;){const r=e.getChildren(),o=r.length;(0===o||r[o-1].is(n))&&(t.delete(e.__key),n=e),e=e.getParent()}}if(d.isToken())if(s===f)d.select();else{const t=Cb(e);t.select(),d.replace(t)}else d=d.spliceText(s,f-s,e,!0),""===d.getTextContent()?d.remove():d.isComposing()&&"text"===this.anchor.type&&(this.anchor.offset-=e.length);for(let e=1;e<u;e++){const n=c[e],r=n.__key;t.has(r)||n.remove()}}}removeText(){this.insertText("")}formatText(e){if(this.isCollapsed())return this.toggleFormat(e),void ty(null);const t=this.getNodes(),n=[];for(const e of t)Ab(e)&&n.push(e);const r=n.length;if(0===r)return this.toggleFormat(e),void ty(null);const o=this.anchor,i=this.focus,a=this.isBackward(),s=a?i:o,l=a?o:i;let c=0,u=n[0],d="element"===s.type?0:s.offset;if("text"===s.type&&d===u.getTextContentSize()&&(c=1,u=n[1],d=0),null==u)return;const f=u.getFormatFlags(e,null),h=r-1;let p=n[h];const m="text"===l.type?l.offset:p.getTextContentSize();if(u.is(p)){if(d===m)return;if(Qg(u)||0===d&&m===u.getTextContentSize())u.setFormat(f);else{const e=u.splitText(d,m),t=0===d?e[0]:e[1];t.setFormat(f),"text"===s.type&&s.set(t.__key,0,"text"),"text"===l.type&&l.set(t.__key,m-d,"text")}return void(this.format=f)}0===d||Qg(u)||([,u]=u.splitText(d),d=0),u.setFormat(f);const g=p.getFormatFlags(e,f);m>0&&(m===p.getTextContentSize()||Qg(p)||([p]=p.splitText(m)),p.setFormat(g));for(let t=c+1;t<h;t++){const r=n[t],o=r.getFormatFlags(e,g);r.setFormat(o)}"text"===s.type&&s.set(u.__key,d,"text"),"text"===l.type&&l.set(p.__key,m,"text"),this.format=f|g}insertNodes(e){if(0===e.length)return;if("root"===this.anchor.key){this.insertParagraph();const t=qb();return Mb(t)||_g(134),t.insertNodes(e)}const t=Yy((this.isBackward()?this.focus:this.anchor).getNode(),qy),n=e[e.length-1];if("__language"in t&&Ax(t)){if("__language"in e[0])this.insertText(e[0].getTextContent());else{const r=Jb(this);t.splice(r,0,e),n.selectEnd()}return}if(!e.some((e=>(Ax(e)||kx(e))&&!e.isInline()))){Ax(t)||_g(135);const r=Jb(this);return t.splice(r,0,e),void n.selectEnd()}const r=function(e){const t=Lx();let n=null;for(let r=0;r<e.length;r++){const o=e[r],i=ib(o);if(i||kx(o)&&o.isInline()||Ax(o)&&o.isInline()||Ab(o)||o.isParentRequired()){if(null===n&&(n=o.createParentElementNode(),t.append(n),i))continue;null!==n&&n.append(o)}else t.append(o),n=null}return t}(e),o=r.getLastDescendant(),i=r.getChildren(),a=Ax(t)&&t.isEmpty()?null:this.insertParagraph(),s=i[i.length-1];let l=i[0];var c;Ax(c=l)&&qy(c)&&!c.isEmpty()&&Ax(t)&&(!t.isEmpty()||t.canMergeWhenEmpty())&&(Ax(t)||_g(135),t.append(...l.getChildren()),l=i[1]),l&&function(e,t){const n=t.getParentOrThrow().getLastChild();let r=t;const o=[t];for(;r!==n;)r.getNextSibling()||_g(140),r=r.getNextSibling(),o.push(r);let i=e;for(const e of o)i=i.insertAfter(e)}(t,l);const u=Yy(o,qy);a&&Ax(u)&&(a.canMergeWhenEmpty()||qy(s))&&(u.append(...a.getChildren()),a.remove()),Ax(t)&&t.isEmpty()&&t.remove(),o.selectEnd();const d=Ax(t)?t.getLastChild():null;ib(d)&&u!==t&&d.remove()}insertParagraph(){if("root"===this.anchor.key){const e=Lx();return ly().splice(this.anchor.offset,0,[e]),e.select(),e}const e=Jb(this),t=Yy(this.anchor.getNode(),qy);Ax(t)||_g(136);const n=t.getChildAtIndex(e),r=n?[n,...n.getNextSiblings()]:[],o=t.insertNewAfter(this,!1);return o?(o.append(...r),o.selectStart(),o):null}insertLineBreak(e){const t=ob();if(this.insertNodes([t]),e){const e=t.getParentOrThrow(),n=t.getIndexWithinParent();e.select(n,n)}}extract(){const e=this.getNodes(),t=e.length,n=t-1,r=this.anchor,o=this.focus;let i=e[0],a=e[n];const[s,l]=Ib(this);if(0===t)return[];if(1===t){if(Ab(i)&&!this.isCollapsed()){const e=s>l?l:s,t=s>l?s:l,n=i.splitText(e,t),r=0===e?n[0]:n[1];return null!=r?[r]:[]}return[i]}const c=r.isBefore(o);if(Ab(i)){const t=c?s:l;t===i.getTextContentSize()?e.shift():0!==t&&([,i]=i.splitText(t),e[0]=i)}if(Ab(a)){const t=a.getTextContent().length,r=c?l:s;0===r?e.pop():r!==t&&([a]=a.splitText(r),e[n]=a)}return e}modify(e,t,n){const r=this.focus,o=this.anchor,i="move"===e,a=Ry(r,t);if(kx(a)&&!a.isIsolated()){if(i&&a.isKeyboardSelectable()){const e=Ub();return e.add(a.__key),void uy(e)}const e=t?a.getPreviousSibling():a.getNextSibling();if(Ab(e)){const n=e.__key,a=t?e.getTextContent().length:0;return r.set(n,a,"text"),void(i&&o.set(n,a,"text"))}{const n=a.getParentOrThrow();let s,l;return Ax(e)?(l=e.__key,s=t?e.getChildrenSize():0):(s=a.getIndexWithinParent(),l=n.__key,t||s++),r.set(l,s,"element"),void(i&&o.set(l,s,"element"))}}const s=ux(),l=Hy(s._window);if(!l)return;const c=s._blockCursorElement,u=s._rootElement;if(null===u||null===c||!Ax(a)||a.isInline()||a.canBeEmpty()||Vy(c,s,u),d=e,f=t?"backward":"forward",h=n,l.modify(d,f,h),l.rangeCount>0){const e=l.getRangeAt(0),n=this.anchor.getNode(),r=Ox(n)?n:function(e){let t=e.getParentOrThrow();for(;null!==t;){if(Iy(t))return t;t=t.getParentOrThrow()}return t}(n);if(this.applyDOMRange(e),this.dirty=!0,!i){const n=this.getNodes(),o=[];let i=!1;for(let e=0;e<n.length;e++){const t=n[e];Ly(t,r)?o.push(t):i=!0}if(i&&o.length>0)if(t){const e=o[0];Ax(e)?e.selectStart():e.getParentOrThrow().selectStart()}else{const e=o[o.length-1];Ax(e)?e.selectEnd():e.getParentOrThrow().selectEnd()}l.anchorNode===e.startContainer&&l.anchorOffset===e.startOffset||function(e){const t=e.focus,n=e.anchor,r=n.key,o=n.offset,i=n.type;jb(n,t.key,t.offset,t.type),jb(t,r,o,i),e._cachedNodes=null}(this)}}var d,f,h}forwardDeletion(e,t,n){if(!n&&("element"===e.type&&Ax(t)&&e.offset===t.getChildrenSize()||"text"===e.type&&e.offset===t.getTextContentSize())){const e=t.getParent(),n=t.getNextSibling()||(null===e?null:e.getNextSibling());if(Ax(n)&&n.isShadowRoot())return!0}return!1}deleteCharacter(e){const t=this.isCollapsed();if(this.isCollapsed()){const t=this.anchor;let n=t.getNode();if(this.forwardDeletion(t,n,e))return;const r=this.focus,o=Ry(r,e);if(kx(o)&&!o.isIsolated()){if(o.isKeyboardSelectable()&&Ax(n)&&0===n.getChildrenSize()){n.remove();const e=Ub();e.add(o.__key),uy(e)}else o.remove(),ux().dispatchCommand(lm,void 0);return}if(!e&&Ax(o)&&Ax(n)&&n.isEmpty())return n.remove(),void o.selectStart();if(this.modify("extend",e,"character"),this.isCollapsed()){if(e&&0===t.offset&&("element"===t.type?t.getNode():t.getNode().getParentOrThrow()).collapseAtStart(this))return}else{const o="text"===r.type?r.getNode():null;if(n="text"===t.type?t.getNode():null,null!==o&&o.isSegmented()){const t=r.offset,i=o.getTextContentSize();if(o.is(n)||e&&t!==i||!e&&0!==t)return void Fb(o,e,t)}else if(null!==n&&n.isSegmented()){const r=t.offset,i=n.getTextContentSize();if(n.is(o)||e&&0!==r||!e&&r!==i)return void Fb(n,e,r)}!function(e,t){const n=e.anchor,r=e.focus,o=n.getNode();if(o===r.getNode()&&"text"===n.type&&"text"===r.type){const e=n.offset,i=r.offset,a=e<i,s=a?e:i,l=a?i:e,c=l-1;s!==c&&(hy(o.getTextContent().slice(s,l))||(t?r.offset=c:n.offset=c))}}(this,e)}}if(this.removeText(),e&&!t&&this.isCollapsed()&&"element"===this.anchor.type&&0===this.anchor.offset){const e=this.anchor.getNode();e.isEmpty()&&Ox(e.getParent())&&0===e.getIndexWithinParent()&&e.collapseAtStart(this)}}deleteLine(e){if(this.isCollapsed()){const t="element"===this.anchor.type;if(t&&this.insertText(" "),this.modify("extend",e,"lineboundary"),0===(e?this.focus:this.anchor).offset&&this.modify("extend",e,"character"),t){const t=e?this.anchor:this.focus;t.set(t.key,t.offset+1,t.type)}}this.removeText()}deleteWord(e){if(this.isCollapsed()){const t=this.anchor,n=t.getNode();if(this.forwardDeletion(t,n,e))return;this.modify("extend",e,"word")}this.removeText()}isBackward(){return this.focus.isBefore(this.anchor)}getStartEndPoints(){return[this.anchor,this.focus]}}function Lb(e){return e instanceof Tb}function Db(e){const t=e.offset;if("text"===e.type)return t;const n=e.getNode();return t===n.getChildrenSize()?n.getTextContent().length:0}function Ib(e){const t=e.getStartEndPoints();if(null===t)return[0,0];const[n,r]=t;return"element"===n.type&&"element"===r.type&&n.key===r.key&&n.offset===r.offset?[0,0]:[Db(n),Db(r)]}function Fb(e,t,n){const r=e,o=r.getTextContent().split(/(?=\s)/g),i=o.length;let a=0,s=0;for(let e=0;e<i;e++){const r=e===i-1;if(s=a,a+=o[e].length,t&&a===n||a>n||r){o.splice(e,1),r&&(s=void 0);break}}const l=o.join("").trim();""===l?r.remove():(r.setTextContent(l),r.select(s,s))}function Bb(e,t,n,r){let o,i=t;if(1===e.nodeType){let a=!1;const s=e.childNodes,l=s.length,c=r._blockCursorElement;i===l&&(a=!0,i=l-1);let u=s[i],d=!1;if(u===c)u=s[i+1],d=!0;else if(null!==c){const n=c.parentNode;e===n&&t>Array.prototype.indexOf.call(n.children,c)&&i--}if(o=dy(u),Ab(o))i=fy(o,a);else{let r=dy(e);if(null===r)return null;if(Ax(r)){i=Math.min(r.getChildrenSize(),i);let e=r.getChildAtIndex(i);if(Ax(e)&&function(e,t,n){const r=e.getParent();return null===n||null===r||!r.canBeEmpty()||r!==n.getNode()}(e,0,n)){const t=a?e.getLastDescendant():e.getFirstDescendant();null===t?r=e:(e=t,r=Ax(e)?e:e.getParentOrThrow()),i=0}Ab(e)?(o=e,r=null,i=fy(e,a)):e!==r&&a&&!d&&i++}else{const n=r.getIndexWithinParent();i=0===t&&kx(r)&&dy(e)===r?n:n+1,r=r.getParentOrThrow()}if(Ax(r))return Ob(r.__key,i,"element")}}else o=dy(e);return Ab(o)?Ob(o.__key,i,"text"):null}function zb(e,t,n){const r=e.offset,o=e.getNode();if(0===r){const r=o.getPreviousSibling(),i=o.getParent();if(t){if((n||!t)&&null===r&&Ax(i)&&i.isInline()){const t=i.getPreviousSibling();Ab(t)&&(e.key=t.__key,e.offset=t.getTextContent().length)}}else Ax(r)&&!n&&r.isInline()?(e.key=r.__key,e.offset=r.getChildrenSize(),e.type="element"):Ab(r)&&(e.key=r.__key,e.offset=r.getTextContent().length)}else if(r===o.getTextContent().length){const r=o.getNextSibling(),i=o.getParent();if(t&&Ax(r)&&r.isInline())e.key=r.__key,e.offset=0,e.type="element";else if((n||t)&&null===r&&Ax(i)&&i.isInline()&&!i.canInsertTextAfter()){const t=i.getNextSibling();Ab(t)&&(e.key=t.__key,e.offset=0)}}}function Vb(e,t,n){if("text"===e.type&&"text"===t.type){const r=e.isBefore(t),o=e.is(t);zb(e,r,o),zb(t,!r,o),o&&(t.key=e.key,t.offset=e.offset,t.type=e.type);const i=ux();if(i.isComposing()&&i._compositionKey!==e.key&&Mb(n)){const r=n.anchor,o=n.focus;jb(e,r.key,r.offset,r.type),jb(t,o.key,o.offset,o.type)}}}function Hb(e,t,n,r,o,i){if(null===e||null===n||!Zg(o,e,n))return null;const a=Bb(e,t,Mb(i)?i.anchor:null,o);if(null===a)return null;const s=Bb(n,r,Mb(i)?i.focus:null,o);if(null===s)return null;if("element"===a.type&&"element"===s.type){const t=dy(e),r=dy(n);if(kx(t)&&kx(r))return null}return Vb(a,s,i),[a,s]}function Wb(e,t,n,r,o,i){const a=cx(),s=new Nb(Ob(e,t,o),Ob(n,r,i),0,"");return s.dirty=!0,a._selection=s,s}function Ub(){return new Tb(new Set)}function Zb(e,t,n,r){const o=n._window;if(null===o)return null;const i=r||o.event,a=i?i.type:void 0,s="selectionchange"===a,l=!Rg&&(s||"beforeinput"===a||"compositionstart"===a||"compositionend"===a||"click"===a&&i&&3===i.detail||"drop"===a||void 0===a);let c,u,d,f;if(Mb(e)&&!l)return e.clone();if(null===t)return null;if(c=t.anchorNode,u=t.focusNode,d=t.anchorOffset,f=t.focusOffset,s&&Mb(e)&&!Zg(n,c,u))return e.clone();const h=Hb(c,d,u,f,n,e);if(null===h)return null;const[p,m]=h;return new Nb(p,m,Mb(e)?e.format:0,Mb(e)?e.style:"")}function qb(){return cx()._selection}function Yb(){return ux()._editorState._selection}function Kb(e,t,n,r=1){const o=e.anchor,i=e.focus,a=o.getNode(),s=i.getNode();if(!t.is(a)&&!t.is(s))return;const l=t.__key;if(e.isCollapsed()){const t=o.offset;if(n<=t&&r>0||n<t&&r<0){const n=Math.max(0,t+r);o.set(l,n,"element"),i.set(l,n,"element"),Qb(e)}}else{const a=e.isBackward(),s=a?i:o,c=s.getNode(),u=a?o:i,d=u.getNode();if(t.is(c)){const e=s.offset;(n<=e&&r>0||n<e&&r<0)&&s.set(l,Math.max(0,e+r),"element")}if(t.is(d)){const e=u.offset;(n<=e&&r>0||n<e&&r<0)&&u.set(l,Math.max(0,e+r),"element")}}Qb(e)}function Qb(e){const t=e.anchor,n=t.offset,r=e.focus,o=r.offset,i=t.getNode(),a=r.getNode();if(e.isCollapsed()){if(!Ax(i))return;const e=i.getChildrenSize(),o=n>=e,a=o?i.getChildAtIndex(e-1):i.getChildAtIndex(n);if(Ab(a)){let e=0;o&&(e=a.getTextContentSize()),t.set(a.__key,e,"text"),r.set(a.__key,e,"text")}}else{if(Ax(i)){const e=i.getChildrenSize(),r=n>=e,o=r?i.getChildAtIndex(e-1):i.getChildAtIndex(n);if(Ab(o)){let e=0;r&&(e=o.getTextContentSize()),t.set(o.__key,e,"text")}}if(Ax(a)){const e=a.getChildrenSize(),t=o>=e,n=t?a.getChildAtIndex(e-1):a.getChildAtIndex(o);if(Ab(n)){let e=0;t&&(e=n.getTextContentSize()),r.set(n.__key,e,"text")}}}}function Gb(e,t,n,r,o){let i=null,a=0,s=null;null!==r?(i=r.__key,Ab(r)?(a=r.getTextContentSize(),s="text"):Ax(r)&&(a=r.getChildrenSize(),s="element")):null!==o&&(i=o.__key,Ab(o)?s="text":Ax(o)&&(s="element")),null!==i&&null!==s?e.set(i,a,s):(a=t.getIndexWithinParent(),-1===a&&(a=n.getChildrenSize()),e.set(n.__key,a,"element"))}function Xb(e,t,n,r,o){"text"===e.type?(e.key=n,t||(e.offset+=o)):e.offset>r.getIndexWithinParent()&&(e.offset-=1)}function Jb(e){let t=e;e.isCollapsed()||t.removeText();const n=qb();Mb(n)&&(t=n),Mb(t)||_g(161);const r=t.anchor;let o=r.getNode(),i=r.offset;for(;!qy(o);)[o,i]=$b(o,i);return i}function $b(e,t){const n=e.getParent();if(!n){const e=Lx();return ly().append(e),e.select(),[ly(),0]}if(Ab(e)){const r=e.splitText(t);if(0===r.length)return[n,e.getIndexWithinParent()];const o=0===t?0:1;return[n,r[0].getIndexWithinParent()+o]}if(!Ax(e)||0===t)return[n,e.getIndexWithinParent()];const r=e.getChildAtIndex(t);if(r){const n=new Nb(Ob(e.__key,t,"element"),Ob(e.__key,t,"element"),0,""),o=e.insertNewAfter(n);o&&o.append(r,...r.getNextSiblings())}return[n,e.getIndexWithinParent()+1]}let ex=null,tx=null,nx=!1,rx=!1,ox=0;const ix={characterData:!0,childList:!0,subtree:!0};function ax(){return nx||null!==ex&&ex._readOnly}function sx(){nx&&_g(13)}function lx(){ox>99&&_g(14)}function cx(){return null===ex&&_g(195,dx()),ex}function ux(){return null===tx&&_g(196,dx()),tx}function dx(){let e=0;const t=new Set,n=Fx.version;if(typeof window<"u")for(const r of document.querySelectorAll("[contenteditable]")){const o=Kg(r);if(qg(o))e++;else if(o){let e=String(o.constructor.version||"<0.17.1");e===n&&(e+=" (separately built, likely a bundler configuration issue)"),t.add(e)}}let r=` Detected on the page: ${e} compatible editor(s) with version ${n}`;return t.size&&(r+=` and incompatible editors with versions ${Array.from(t).join(", ")}`),r}function fx(e,t,n){const r=t.__type,o=function(e,t){const n=e._nodes.get(t);return void 0===n&&_g(30,t),n}(e,r);let i=n.get(r);void 0===i&&(i=Array.from(o.transforms),n.set(r,i));const a=i.length;for(let e=0;e<a&&(i[e](t),t.isAttached());e++);}function hx(e,t){return void 0!==e&&e.__key!==t&&e.isAttached()}function px(e,t){const n=e.type,r=t.get(n);void 0===r&&_g(17,n);const o=r.klass;e.type!==o.getType()&&_g(18,o.name);const i=o.importJSON(e),a=e.children;if(Ax(i)&&Array.isArray(a))for(let e=0;e<a.length;e++){const n=px(a[e],t);i.append(n)}return i}function mx(e,t,n){const r=ex,o=nx,i=tx;ex=t,nx=!0,tx=e;try{return n()}finally{ex=r,nx=o,tx=i}}function gx(e,t){const n=e._pendingEditorState,r=e._rootElement,o=e._headless||null===r;if(null===n)return;const i=e._editorState,a=i._selection,s=n._selection,l=0!==e._dirtyType,c=ex,u=nx,d=tx,f=e._updating,h=e._observer;let p=null;if(e._pendingEditorState=null,e._editorState=n,!o&&l&&null!==h){tx=e,ex=n,nx=!1,e._updating=!0;try{const t=e._dirtyType,r=e._dirtyElements,o=e._dirtyLeaves;h.disconnect(),p=function(e,t,n,r,o,i){lv="",fv="",cv="",hv=2===r,mv=null,$y=n,Jy=n._config,ev=n._nodes,tv=$y._listeners.mutation,nv=o,rv=i,ov=e._nodeMap,iv=t._nodeMap,pv=t._readOnly,av=new Map(n._keyToDOMMap);const a=new Map;return sv=a,Ov("root",null),$y=void 0,ev=void 0,nv=void 0,rv=void 0,ov=void 0,iv=void 0,Jy=void 0,av=void 0,sv=void 0,a}(i,n,e,t,r,o)}catch(t){if(t instanceof Error&&e._onError(t),rx)throw t;return Ix(e,null,r,n),Ig(e),e._dirtyType=2,rx=!0,gx(e,i),void(rx=!1)}finally{h.observe(r,ix),e._updating=f,ex=c,nx=u,tx=d}}n._readOnly||(n._readOnly=!0);const m=e._dirtyLeaves,g=e._dirtyElements,y=e._normalizedNodes,v=e._updateTags,b=e._deferred;l&&(e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements=new Map,e._normalizedNodes=new Set,e._updateTags=new Set),function(e,t){const n=e._decorators;let r=e._pendingDecorators||n;const o=t._nodeMap;let i;for(i in r)o.has(i)||(r===n&&(r=ay(e)),delete r[i])}(e,n);const x=o?null:Hy(e._window);if(e._editable&&null!==x&&(l||null===s||s.dirty)){tx=e,ex=n;try{if(null!==h&&h.disconnect(),l||null===s||s.dirty){const t=e._blockCursorElement;null!==t&&Vy(t,e,r),function(e,t,n,r,o,i){const a=r.anchorNode,s=r.focusNode,l=r.anchorOffset,c=r.focusOffset,u=document.activeElement;if(o.has("collaboration")&&u!==i||null!==u&&Ug(u))return;if(!Mb(t))return void(null!==e&&Zg(n,a,s)&&r.removeAllRanges());const d=t.anchor,f=t.focus,h=d.key,p=f.key,m=My(n,h),g=My(n,p),y=d.offset,v=f.offset,b=t.format,x=t.style,w=t.isCollapsed();let C=m,A=g,E=!1;if("text"===d.type){C=Xg(m);const e=d.getNode();E=e.getFormat()!==b||e.getStyle()!==x}else Mb(e)&&"text"===e.anchor.type&&(E=!0);var S,k,_,O,R;if("text"===f.type&&(A=Xg(g)),null!==C&&null!==A&&(w&&(null===e||E||Mb(e)&&(e.format!==b||e.style!==x))&&(S=b,k=x,_=y,O=h,R=performance.now(),Wv=[S,k,_,O,R]),l!==y||c!==v||a!==C||s!==A||"Range"===r.type&&w||(null!==u&&i.contains(u)||i.focus({preventScroll:!0}),"element"===d.type))){try{r.setBaseAndExtent(C,y,A,v)}catch{}if(!o.has("skip-scroll-into-view")&&t.isCollapsed()&&null!==i&&i===document.activeElement){const e=t instanceof Nb&&"element"===t.anchor.type?C.childNodes[y]||null:r.rangeCount>0?r.getRangeAt(0):null;if(null!==e){let t;if(e instanceof Text){const n=document.createRange();n.selectNode(e),t=n.getBoundingClientRect()}else t=e.getBoundingClientRect();!function(e,t,n){const r=n.ownerDocument,o=r.defaultView;if(null===o)return;let{top:i,bottom:a}=t,s=0,l=0,c=n;for(;null!==c;){const t=c===r.body;if(t)s=0,l=Dy(e).innerHeight;else{const e=c.getBoundingClientRect();s=e.top,l=e.bottom}let n=0;if(i<s?n=-(s-i):a>l&&(n=a-l),0!==n)if(t)o.scrollBy(0,n);else{const e=c.scrollTop;c.scrollTop+=n;const t=c.scrollTop-e;i-=t,a-=t}if(t)break;c=Ny(c)}}(n,t,i)}}Bv=!0}}(a,s,e,x,v,r)}(function(e,t,n){let r=e._blockCursorElement;if(Mb(n)&&n.isCollapsed()&&"element"===n.anchor.type&&t.contains(document.activeElement)){const o=n.anchor,i=o.getNode(),a=o.offset;let s=!1,l=null;if(a===i.getChildrenSize())zy(i.getChildAtIndex(a-1))&&(s=!0);else{const t=i.getChildAtIndex(a);if(zy(t)){const n=t.getPreviousSibling();(null===n||zy(n))&&(s=!0,l=e.getElementByKey(t.__key))}}if(s){const n=e.getElementByKey(i.__key);return null===r&&(e._blockCursorElement=r=function(e){const t=e.theme,n=document.createElement("div");n.contentEditable="false",n.setAttribute("data-lexical-cursor","true");let r=t.blockCursor;if(void 0!==r){if("string"==typeof r){const e=Og(r);r=t.blockCursor=e}void 0!==r&&n.classList.add(...r)}return n}(e._config)),t.style.caretColor="transparent",void(null===l?n.appendChild(r):n.insertBefore(r,l))}}null!==r&&Vy(r,e,t)})(e,r,s),null!==h&&h.observe(r,ix)}finally{tx=d,ex=c}}null!==p&&function(e,t,n,r,o){const i=Array.from(e._listeners.mutation),a=i.length;for(let e=0;e<a;e++){const[a,s]=i[e],l=t.get(s);void 0!==l&&a(l,{dirtyLeaves:r,prevEditorState:o,updateTags:n})}}(e,p,v,m,i),Mb(s)||null===s||null!==a&&a.is(s)||e.dispatchCommand(lm,void 0);const w=e._pendingDecorators;null!==w&&(e._decorators=w,e._pendingDecorators=null,yx("decorator",e,!0,w)),function(e,t,n){const r=sy(t),o=sy(n);r!==o&&yx("textcontent",e,!0,o)}(e,t||i,n),yx("update",e,!0,{dirtyElements:g,dirtyLeaves:m,editorState:n,normalizedNodes:y,prevEditorState:t||i,tags:v}),function(e,t){if(e._deferred=[],0!==t.length){const n=e._updating;e._updating=!0;try{for(let e=0;e<t.length;e++)t[e]()}finally{e._updating=n}}}(e,b),function(e){const t=e._updates;if(0!==t.length){const n=t.shift();if(n){const[t,r]=n;xx(e,t,r)}}}(e)}function yx(e,t,n,...r){const o=t._updating;t._updating=n;try{const n=Array.from(t._listeners[e]);for(let e=0;e<n.length;e++)n[e].apply(null,r)}finally{t._updating=o}}function vx(e,t,n){if(!1===e._updating||tx!==e){let r=!1;return e.update((()=>{r=vx(e,t,n)})),r}const r=py(e);for(let o=4;o>=0;o--)for(let i=0;i<r.length;i++){const a=r[i]._commands.get(t);if(void 0!==a){const t=a[o];if(void 0!==t){const r=Array.from(t),o=r.length;for(let t=0;t<o;t++)if(!0===r[t](n,e))return!0}}}return!1}function bx(e,t){const n=e._updates;let r=t||!1;for(;0!==n.length;){const t=n.shift();if(t){const[n,o]=t;let i,a;if(void 0!==o){if(i=o.onUpdate,a=o.tag,o.skipTransforms&&(r=!0),o.discrete){const t=e._pendingEditorState;null===t&&_g(191),t._flushSync=!0}i&&e._deferred.push(i),a&&e._updateTags.add(a)}n()}}return r}function xx(e,t,n){const r=e._updateTags;let o,i,a=!1,s=!1;void 0!==n&&(o=n.onUpdate,i=n.tag,null!=i&&r.add(i),a=n.skipTransforms||!1,s=n.discrete||!1),o&&e._deferred.push(o);const l=e._editorState;let c=e._pendingEditorState,u=!1;(null===c||c._readOnly)&&(c=e._pendingEditorState=new jx(new Map((c||l)._nodeMap)),u=!0),c._flushSync=s;const d=ex,f=nx,h=tx,p=e._updating;ex=c,nx=!1,e._updating=!0,tx=e;try{u&&(e._headless?null!==l._selection&&(c._selection=l._selection.clone()):c._selection=function(e){const t=e.getEditorState()._selection,n=Hy(e._window);return Mb(t)||null==t?Zb(t,n,e,null):t.clone()}(e));const n=e._compositionKey;t(),a=bx(e,a),function(e,t){const n=t.getEditorState()._selection,r=e._selection;if(Mb(r)){const e=r.anchor,t=r.focus;let o;if("text"===e.type&&(o=e.getNode(),o.selectionTransform(n,r)),"text"===t.type){const e=t.getNode();o!==e&&e.selectionTransform(n,r)}}}(c,e),0!==e._dirtyType&&(a?function(e,t){const n=t._dirtyLeaves,r=e._nodeMap;for(const e of n){const t=r.get(e);Ab(t)&&t.isAttached()&&t.isSimpleText()&&!t.isUnmergeable()&&zg(t)}}(c,e):function(e,t){const n=t._dirtyLeaves,r=t._dirtyElements,o=e._nodeMap,i=ny(),a=new Map;let s=n,l=s.size,c=r,u=c.size;for(;l>0||u>0;){if(l>0){t._dirtyLeaves=new Set;for(const e of s){const r=o.get(e);Ab(r)&&r.isAttached()&&r.isSimpleText()&&!r.isUnmergeable()&&zg(r),void 0!==r&&hx(r,i)&&fx(t,r,a),n.add(e)}if(s=t._dirtyLeaves,l=s.size,l>0){ox++;continue}}t._dirtyLeaves=new Set,t._dirtyElements=new Map;for(const e of c){const n=e[0],s=e[1];if("root"!==n&&!s)continue;const l=o.get(n);void 0!==l&&hx(l,i)&&fx(t,l,a),r.set(n,s)}s=t._dirtyLeaves,l=s.size,c=t._dirtyElements,u=c.size,ox++}t._dirtyLeaves=n,t._dirtyElements=r}(c,e),bx(e),function(e,t,n,r){const o=e._nodeMap,i=t._nodeMap,a=[];for(const[e]of r){const t=i.get(e);void 0!==t&&(t.isAttached()||(Ax(t)&&Xy(t,e,o,i,a,r),o.has(e)||r.delete(e),a.push(e)))}for(const e of a)i.delete(e);for(const e of n){const t=i.get(e);void 0===t||t.isAttached()||(o.has(e)||n.delete(e),i.delete(e))}}(l,c,e._dirtyLeaves,e._dirtyElements)),n!==e._compositionKey&&(c._flushSync=!0);const r=c._selection;if(Mb(r)){const e=c._nodeMap,t=r.anchor.key,n=r.focus.key;void 0!==e.get(t)&&void 0!==e.get(n)||_g(19)}else Lb(r)&&0===r._nodes.size&&(c._selection=null)}catch(t){return t instanceof Error&&e._onError(t),e._pendingEditorState=l,e._dirtyType=2,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),void gx(e)}finally{ex=d,nx=f,tx=h,e._updating=p,ox=0}0!==e._dirtyType||function(e,t){const n=t.getEditorState()._selection,r=e._selection;if(null!==r){if(r.dirty||!r.is(n))return!0}else if(null!==n)return!0;return!1}(c,e)?c._flushSync?(c._flushSync=!1,gx(e)):u&&Wg((()=>{gx(e)})):(c._flushSync=!1,u&&(r.clear(),e._deferred=[],e._pendingEditorState=null))}function wx(e,t,n){e._updating?e._updates.push([t,n]):xx(e,t,n)}class Cx extends tb{constructor(e){super(e),this.__first=null,this.__last=null,this.__size=0,this.__format=0,this.__style="",this.__indent=0,this.__dir=null}afterCloneFrom(e){super.afterCloneFrom(e),this.__first=e.__first,this.__last=e.__last,this.__size=e.__size,this.__indent=e.__indent,this.__format=e.__format,this.__style=e.__style,this.__dir=e.__dir}getFormat(){return this.getLatest().__format}getFormatType(){const e=this.getFormat();return Eg[e]||""}getStyle(){return this.getLatest().__style}getIndent(){return this.getLatest().__indent}getChildren(){const e=[];let t=this.getFirstChild();for(;null!==t;)e.push(t),t=t.getNextSibling();return e}getChildrenKeys(){const e=[];let t=this.getFirstChild();for(;null!==t;)e.push(t.__key),t=t.getNextSibling();return e}getChildrenSize(){return this.getLatest().__size}isEmpty(){return 0===this.getChildrenSize()}isDirty(){const e=ux()._dirtyElements;return null!==e&&e.has(this.__key)}isLastChild(){const e=this.getLatest(),t=this.getParentOrThrow().getLastChild();return null!==t&&t.is(e)}getAllTextNodes(){const e=[];let t=this.getFirstChild();for(;null!==t;){if(Ab(t)&&e.push(t),Ax(t)){const n=t.getAllTextNodes();e.push(...n)}t=t.getNextSibling()}return e}getFirstDescendant(){let e=this.getFirstChild();for(;Ax(e);){const t=e.getFirstChild();if(null===t)break;e=t}return e}getLastDescendant(){let e=this.getLastChild();for(;Ax(e);){const t=e.getLastChild();if(null===t)break;e=t}return e}getDescendantByIndex(e){const t=this.getChildren(),n=t.length;if(e>=n){const e=t[n-1];return Ax(e)&&e.getLastDescendant()||e||null}const r=t[e];return Ax(r)&&r.getFirstDescendant()||r||null}getFirstChild(){const e=this.getLatest().__first;return null===e?null:ry(e)}getFirstChildOrThrow(){const e=this.getFirstChild();return null===e&&_g(45,this.__key),e}getLastChild(){const e=this.getLatest().__last;return null===e?null:ry(e)}getLastChildOrThrow(){const e=this.getLastChild();return null===e&&_g(96,this.__key),e}getChildAtIndex(e){const t=this.getChildrenSize();let n,r;if(e<t/2){for(n=this.getFirstChild(),r=0;null!==n&&r<=e;){if(r===e)return n;n=n.getNextSibling(),r++}return null}for(n=this.getLastChild(),r=t-1;null!==n&&r>=e;){if(r===e)return n;n=n.getPreviousSibling(),r--}return null}getTextContent(){let e="";const t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){const o=t[r];e+=o.getTextContent(),Ax(o)&&r!==n-1&&!o.isInline()&&(e+=mg)}return e}getTextContentSize(){let e=0;const t=this.getChildren(),n=t.length;for(let r=0;r<n;r++){const o=t[r];e+=o.getTextContentSize(),Ax(o)&&r!==n-1&&!o.isInline()&&(e+=2)}return e}getDirection(){return this.getLatest().__dir}hasFormat(e){if(""!==e){const t=Ag[e];return!!(this.getFormat()&t)}return!1}select(e,t){sx();const n=qb();let r=e,o=t;const i=this.getChildrenSize();if(!this.canBeEmpty())if(0===e&&0===t){const e=this.getFirstChild();if(Ab(e)||Ax(e))return e.select(0,0)}else if(!(void 0!==e&&e!==i||void 0!==t&&t!==i)){const e=this.getLastChild();if(Ab(e)||Ax(e))return e.select()}void 0===r&&(r=i),void 0===o&&(o=i);const a=this.__key;return Mb(n)?(n.anchor.set(a,r,"element"),n.focus.set(a,o,"element"),n.dirty=!0,n):Wb(a,r,a,o,"element","element")}selectStart(){const e=this.getFirstDescendant();return e?e.selectStart():this.select()}selectEnd(){const e=this.getLastDescendant();return e?e.selectEnd():this.select()}clear(){const e=this.getWritable();return this.getChildren().forEach((e=>e.remove())),e}append(...e){return this.splice(this.getChildrenSize(),0,e)}setDirection(e){const t=this.getWritable();return t.__dir=e,t}setFormat(e){return this.getWritable().__format=""!==e?Ag[e]:0,this}setStyle(e){return this.getWritable().__style=e||"",this}setIndent(e){return this.getWritable().__indent=e,this}splice(e,t,n){const r=n.length,o=this.getChildrenSize(),i=this.getWritable(),a=i.__key,s=[],l=[],c=this.getChildAtIndex(e+t);let u=null,d=o-t+r;if(0!==e)if(e===o)u=this.getLastChild();else{const t=this.getChildAtIndex(e);null!==t&&(u=t.getPreviousSibling())}if(t>0){let e=null===u?this.getFirstChild():u.getNextSibling();for(let n=0;n<t;n++){null===e&&_g(100);const t=e.getNextSibling(),n=e.__key;$g(e.getWritable()),l.push(n),e=t}}let f=u;for(let e=0;e<r;e++){const t=n[e];null!==f&&t.is(f)&&(u=f=f.getPreviousSibling());const r=t.getWritable();r.__parent===a&&d--,$g(r);const o=t.__key;if(null===f)i.__first=o,r.__prev=null;else{const e=f.getWritable();e.__next=o,r.__prev=e.__key}t.__key===a&&_g(76),r.__parent=a,s.push(o),f=t}if(e+t===o)null!==f&&(f.getWritable().__next=null,i.__last=f.__key);else if(null!==c){const e=c.getWritable();if(null!==f){const t=f.getWritable();e.__prev=f.__key,t.__next=c.__key}else e.__prev=null}if(i.__size=d,l.length){const e=qb();if(Mb(e)){const t=new Set(l),n=new Set(s),{anchor:r,focus:o}=e;Ex(r,t,n)&&Gb(r,r.getNode(),this,u,c),Ex(o,t,n)&&Gb(o,o.getNode(),this,u,c),0!==d||this.canBeEmpty()||Iy(this)||this.remove()}}return i}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"element",version:1}}insertNewAfter(e,t){return null}canIndent(){return!0}collapseAtStart(e){return!1}excludeFromCopy(e){return!1}canReplaceWith(e){return!0}canInsertAfter(e){return!0}canBeEmpty(){return!0}canInsertTextBefore(){return!0}canInsertTextAfter(){return!0}isInline(){return!1}isShadowRoot(){return!1}canMergeWith(e){return!1}extractWithChild(e,t,n){return!1}canMergeWhenEmpty(){return!1}}function Ax(e){return e instanceof Cx}function Ex(e,t,n){let r=e.getNode();for(;r;){const e=r.__key;if(t.has(e)&&!n.has(e))return!0;r=r.getParent()}return!1}class Sx extends tb{constructor(e){super(e)}decorate(e,t){_g(47)}isIsolated(){return!1}isInline(){return!0}isKeyboardSelectable(){return!0}}function kx(e){return e instanceof Sx}class _x extends Cx{static getType(){return"root"}static clone(){return new _x}constructor(){super("root"),this.__cachedText=null}getTopLevelElementOrThrow(){_g(51)}getTextContent(){const e=this.__cachedText;return!ax()&&0!==ux()._dirtyType||null===e?super.getTextContent():e}remove(){_g(52)}replace(e){_g(53)}insertBefore(e){_g(54)}insertAfter(e){_g(55)}updateDOM(e,t){return!1}append(...e){for(let t=0;t<e.length;t++){const n=e[t];Ax(n)||kx(n)||_g(56)}return super.append(...e)}static importJSON(e){const t=ly();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t}exportJSON(){return{children:[],direction:this.getDirection(),format:this.getFormatType(),indent:this.getIndent(),type:"root",version:1}}collapseAtStart(){return!0}}function Ox(e){return e instanceof _x}function Rx(){return new jx(new Map([["root",new _x]]))}function Px(e){const t=e.exportJSON(),n=e.constructor;if(t.type!==n.getType()&&_g(130,n.name),Ax(e)){const r=t.children;Array.isArray(r)||_g(59,n.name);const o=e.getChildren();for(let e=0;e<o.length;e++){const t=Px(o[e]);r.push(t)}}return t}class jx{constructor(e,t){this._nodeMap=e,this._selection=t||null,this._flushSync=!1,this._readOnly=!1}isEmpty(){return 1===this._nodeMap.size&&null===this._selection}read(e,t){return mx(t&&t.editor||null,this,e)}clone(e){const t=new jx(this._nodeMap,void 0===e?this._selection:e);return t._readOnly=!0,t}toJSON(){return mx(null,this,(()=>({root:Px(ly())})))}}class Tx extends Cx{static getType(){return"artificial"}createDOM(e){return document.createElement("div")}}class Mx extends Cx{constructor(e){super(e),this.__textFormat=0,this.__textStyle=""}static getType(){return"paragraph"}getTextFormat(){return this.getLatest().__textFormat}setTextFormat(e){const t=this.getWritable();return t.__textFormat=e,t}hasTextFormat(e){const t=wg[e];return!!(this.getTextFormat()&t)}getTextStyle(){return this.getLatest().__textStyle}setTextStyle(e){const t=this.getWritable();return t.__textStyle=e,t}static clone(e){return new Mx(e.__key)}afterCloneFrom(e){super.afterCloneFrom(e),this.__textFormat=e.__textFormat,this.__textStyle=e.__textStyle}createDOM(e){const t=document.createElement("p"),n=ky(e.theme,"paragraph");return void 0!==n&&t.classList.add(...n),t}updateDOM(e,t,n){return!1}static importDOM(){return{p:e=>({conversion:Nx,priority:0})}}exportDOM(e){const{element:t}=super.exportDOM(e);if(t&&Wy(t)){this.isEmpty()&&t.append(document.createElement("br"));const e=this.getFormatType();t.style.textAlign=e;const n=this.getDirection();n&&(t.dir=n);const r=this.getIndent();r>0&&(t.style.textIndent=20*r+"px")}return{element:t}}static importJSON(e){const t=Lx();return t.setFormat(e.format),t.setIndent(e.indent),t.setDirection(e.direction),t.setTextFormat(e.textFormat),t}exportJSON(){return{...super.exportJSON(),textFormat:this.getTextFormat(),textStyle:this.getTextStyle(),type:"paragraph",version:1}}insertNewAfter(e,t){const n=Lx();n.setTextFormat(e.format),n.setTextStyle(e.style);const r=this.getDirection();return n.setDirection(r),n.setFormat(this.getFormatType()),n.setStyle(this.getTextStyle()),this.insertAfter(n,t),n}collapseAtStart(){const e=this.getChildren();if(0===e.length||Ab(e[0])&&""===e[0].getTextContent().trim()){if(null!==this.getNextSibling())return this.selectNext(),this.remove(),!0;if(null!==this.getPreviousSibling())return this.selectPrevious(),this.remove(),!0}return!1}}function Nx(e){const t=Lx();if(e.style){t.setFormat(e.style.textAlign);const n=parseInt(e.style.textIndent,10)/20;n>0&&t.setIndent(n)}return{node:t}}function Lx(){return Fy(new Mx)}function Dx(e){return e instanceof Mx}function Ix(e,t,n,r){const o=e._keyToDOMMap;o.clear(),e._editorState=Rx(),e._pendingEditorState=r,e._compositionKey=null,e._dirtyType=0,e._cloneNotNeeded.clear(),e._dirtyLeaves=new Set,e._dirtyElements.clear(),e._normalizedNodes=new Set,e._updateTags=new Set,e._updates=[],e._blockCursorElement=null;const i=e._observer;null!==i&&(i.disconnect(),e._observer=null),null!==t&&(t.textContent=""),null!==n&&(n.textContent="",o.set("root",n))}class Fx{constructor(e,t,n,r,o,i,a){this._parentEditor=t,this._rootElement=null,this._editorState=e,this._pendingEditorState=null,this._compositionKey=null,this._deferred=[],this._keyToDOMMap=new Map,this._updates=[],this._updating=!1,this._listeners={decorator:new Set,editable:new Set,mutation:new Map,root:new Set,textcontent:new Set,update:new Set},this._commands=new Map,this._config=r,this._nodes=n,this._decorators={},this._pendingDecorators=null,this._dirtyType=0,this._cloneNotNeeded=new Set,this._dirtyLeaves=new Set,this._dirtyElements=new Map,this._normalizedNodes=new Set,this._updateTags=new Set,this._observer=null,this._key=my(),this._onError=o,this._htmlConversions=i,this._editable=a,this._headless=null!==t&&t._headless,this._window=null,this._blockCursorElement=null}isComposing(){return null!=this._compositionKey}registerUpdateListener(e){const t=this._listeners.update;return t.add(e),()=>{t.delete(e)}}registerEditableListener(e){const t=this._listeners.editable;return t.add(e),()=>{t.delete(e)}}registerDecoratorListener(e){const t=this._listeners.decorator;return t.add(e),()=>{t.delete(e)}}registerTextContentListener(e){const t=this._listeners.textcontent;return t.add(e),()=>{t.delete(e)}}registerRootListener(e){const t=this._listeners.root;return e(this._rootElement,null),t.add(e),()=>{e(null,this._rootElement),t.delete(e)}}registerCommand(e,t,n){void 0===n&&_g(35);const r=this._commands;r.has(e)||r.set(e,[new Set,new Set,new Set,new Set,new Set]);const o=r.get(e);void 0===o&&_g(36,String(e));const i=o[n];return i.add(t),()=>{i.delete(t),o.every((e=>0===e.size))&&r.delete(e)}}registerMutationListener(e,t,n){const r=this.resolveRegisteredNodeAfterReplacements(this.getRegisteredNode(e)).klass,o=this._listeners.mutation;o.set(t,r);const i=n&&n.skipInitialization;return void 0===i||i||this.initializeMutationListener(t,r),()=>{o.delete(t)}}getRegisteredNode(e){const t=this._nodes.get(e.getType());return void 0===t&&_g(37,e.name),t}resolveRegisteredNodeAfterReplacements(e){for(;e.replaceWithKlass;)e=this.getRegisteredNode(e.replaceWithKlass);return e}initializeMutationListener(e,t){const n=this._editorState,r=function(e){if(!e._readOnly&&e.isEmpty())return Qy;e._readOnly||_g(192);let t=Ky.get(e);if(!t){t=new Map,Ky.set(e,t);for(const[n,r]of e._nodeMap){const e=r.__type;let o=t.get(e);o||(o=new Map,t.set(e,o)),o.set(n,r)}}return t}(n).get(t.getType());if(!r)return;const o=new Map;for(const e of r.keys())o.set(e,"created");o.size>0&&e(o,{dirtyLeaves:new Set,prevEditorState:n,updateTags:new Set(["registerMutationListener"])})}registerNodeTransformToKlass(e,t){const n=this.getRegisteredNode(e);return n.transforms.add(t),n}registerNodeTransform(e,t){const n=this.registerNodeTransformToKlass(e,t),r=[n],o=n.replaceWithKlass;if(null!=o){const e=this.registerNodeTransformToKlass(o,t);r.push(e)}var i;return i=e.getType(),wx(this,(()=>{const e=cx();if(e.isEmpty())return;if("root"===i)return void ly().markDirty();const t=e._nodeMap;for(const[,e]of t)e.markDirty()}),null===this._pendingEditorState?{tag:"history-merge"}:void 0),()=>{r.forEach((e=>e.transforms.delete(t)))}}hasNode(e){return this._nodes.has(e.getType())}hasNodes(e){return e.every(this.hasNode.bind(this))}dispatchCommand(e,t){return jy(this,e,t)}getDecorators(){return this._decorators}getRootElement(){return this._rootElement}getKey(){return this._key}setRootElement(e){const t=this._rootElement;if(e!==t){const n=ky(this._config.theme,"root"),r=this._pendingEditorState||this._editorState;if(this._rootElement=e,Ix(this,t,e,r),null!==t&&(this._config.disableEvents||function(e){const t=e.ownerDocument,n=Fv.get(t);void 0===n&&_g(162);const r=n-1;r>=0||_g(164),Fv.set(t,r),0===r&&t.removeEventListener("selectionchange",Xv);const o=Kg(e);qg(o)?(function(e){if(null!==e._parentEditor){const t=py(e),n=t[t.length-1]._key;Gv.get(n)===e&&Gv.delete(n)}else Gv.delete(e._key)}(o),e.__lexicalEditor=null):o&&_g(198);const i=Qv(e);for(let e=0;e<i.length;e++)i[e]();e.__lexicalEventHandles=[]}(t),null!=n&&t.classList.remove(...n)),null!==e){const t=function(e){const t=e.ownerDocument;return t&&t.defaultView||null}(e),r=e.style;r.userSelect="text",r.whiteSpace="pre-wrap",r.wordBreak="break-word",e.setAttribute("data-lexical-editor","true"),this._window=t,this._dirtyType=2,Ig(this),this._updateTags.add("history-merge"),gx(this),this._config.disableEvents||function(e,t){const n=e.ownerDocument,r=Fv.get(n);(void 0===r||r<1)&&n.addEventListener("selectionchange",Xv),Fv.set(n,(r||0)+1),e.__lexicalEditor=t;const o=Qv(e);for(let n=0;n<Mv.length;n++){const[r,i]=Mv[n],a="function"==typeof i?e=>{$v(e)||(Jv(e),(t.isEditable()||"click"===r)&&i(e,t))}:e=>{if($v(e))return;Jv(e);const n=t.isEditable();switch(r){case"cut":return n&&jy(t,Bm,e);case"copy":return jy(t,Fm,e);case"paste":return n&&jy(t,pm,e);case"dragstart":return n&&jy(t,Lm,e);case"dragover":return n&&jy(t,Dm,e);case"dragend":return n&&jy(t,Im,e);case"focus":return n&&jy(t,Zm,e);case"blur":return n&&jy(t,qm,e);case"drop":return n&&jy(t,Nm,e)}};e.addEventListener(r,a),o.push((()=>{e.removeEventListener(r,a)}))}}(e,this),null!=n&&e.classList.add(...n)}else this._editorState=r,this._pendingEditorState=null,this._window=null;yx("root",this,!1,e,t)}}getElementByKey(e){return this._keyToDOMMap.get(e)||null}getEditorState(){return this._editorState}setEditorState(e,t){e.isEmpty()&&_g(38),Dg(this);const n=this._pendingEditorState,r=this._updateTags,o=void 0!==t?t.tag:null;null===n||n.isEmpty()||(null!=o&&r.add(o),gx(this)),this._pendingEditorState=e,this._dirtyType=2,this._dirtyElements.set("root",!1),this._compositionKey=null,null!=o&&r.add(o),gx(this)}parseEditorState(e,t){return function(e,t,n){const r=Rx(),o=ex,i=nx,a=tx,s=t._dirtyElements,l=t._dirtyLeaves,c=t._cloneNotNeeded,u=t._dirtyType;t._dirtyElements=new Map,t._dirtyLeaves=new Set,t._cloneNotNeeded=new Set,t._dirtyType=0,ex=r,nx=!1,tx=t;try{const o=t._nodes;px(e.root,o),n&&n(),r._readOnly=!0}catch(e){e instanceof Error&&t._onError(e)}finally{t._dirtyElements=s,t._dirtyLeaves=l,t._cloneNotNeeded=c,t._dirtyType=u,ex=o,nx=i,tx=a}return r}("string"==typeof e?JSON.parse(e):e,this,t)}read(e){return gx(this),this.getEditorState().read(e,{editor:this})}update(e,t){wx(this,e,t)}focus(e,t={}){const n=this._rootElement;null!==n&&(n.setAttribute("autocapitalize","off"),wx(this,(()=>{const e=qb(),n=ly();null!==e?e.dirty=!0:0!==n.getChildrenSize()&&("rootStart"===t.defaultSelection?n.selectStart():n.selectEnd())}),{onUpdate:()=>{n.removeAttribute("autocapitalize"),e&&e()},tag:"focus"}),null===this._pendingEditorState&&n.removeAttribute("autocapitalize"))}blur(){const e=this._rootElement;null!==e&&e.blur();const t=Hy(this._window);null!==t&&t.removeAllRanges()}isEditable(){return this._editable}setEditable(e){this._editable!==e&&(this._editable=e,yx("editable",this,!0,e))}toJSON(){return{editorState:this._editorState.toJSON()}}}Fx.version="0.17.1+prod.esm";const Bx=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement,zx=Bx?n.useLayoutEffect:n.useEffect,Vx={tag:"history-merge"};function Hx({initialConfig:e,children:t}){const r=(0,n.useMemo)((()=>{const{theme:t,namespace:n,nodes:r,onError:o,editorState:i,html:a}=e,s=function(e,t){return{getTheme:function(){return t??null}}}(0,t),l=function(e){const t=e||{},n=tx,r=t.theme||{},o=void 0===e?n:t.parentEditor||null,i=t.disableEvents||!1,a=Rx(),s=t.namespace||(null!==o?o._config.namespace:my()),l=t.editorState,c=[_x,hb,nb,Sb,Mx,Tx,...t.nodes||[]],{onError:u,html:d}=t,f=void 0===t.editable||t.editable;let h;if(void 0===e&&null!==n)h=n._nodes;else{h=new Map;for(let e=0;e<c.length;e++){let t=c[e],n=null,r=null;if("function"!=typeof t){const e=t;t=e.replace,n=e.with,r=e.withKlass||null}const o=t.getType(),i=t.transform(),a=new Set;null!==i&&a.add(i),h.set(o,{exportDOM:d&&d.export?d.export.get(t):void 0,klass:t,replace:n,replaceWithKlass:r,transforms:a})}}const p=new Fx(a,o,h,{disableEvents:i,namespace:s,theme:r},u||console.error,function(e,t){const n=new Map,r=new Set,o=e=>{Object.keys(e).forEach((t=>{let r=n.get(t);void 0===r&&(r=[],n.set(t,r)),r.push(e[t])}))};return e.forEach((e=>{const t=e.klass.importDOM;if(null==t||r.has(t))return;r.add(t);const n=t.call(e.klass);null!==n&&o(n)})),t&&o(t),n}(h,d?d.import:void 0),f);return void 0!==l&&(p._pendingEditorState=l,p._dirtyType=2),p}({editable:e.editable,html:a,namespace:n,nodes:r,onError:e=>o(e,l),theme:t});return function(e,t){if(null!==t)if(void 0===t)e.update((()=>{const t=ly();if(t.isEmpty()){const n=Lx();t.append(n);const r=Bx?document.activeElement:null;(null!==qb()||null!==r&&r===e.getRootElement())&&n.select()}}),Vx);else if(null!==t)switch(typeof t){case"string":{const n=e.parseEditorState(t);e.setEditorState(n,Vx);break}case"object":e.setEditorState(t,Vx);break;case"function":e.update((()=>{ly().isEmpty()&&t(e)}),Vx)}}(l,i),[l,s]}),[]);return zx((()=>{const t=e.editable,[n]=r;n.setEditable(void 0===t||t)}),[]),(0,We.jsx)(im.Provider,{value:r,children:t})}const Wx=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function Ux(e){return{initialValueFn:()=>e.isEditable(),subscribe:t=>e.registerEditableListener(t)}}function Zx(e){return()=>function(e){if(!function(e,t=!0){if(e)return!1;let n=ly().getTextContent();return t&&(n=n.trim()),""===n}(e,!1))return!1;const t=ly().getChildren(),n=t.length;if(n>1)return!1;for(let e=0;e<n;e++){const n=t[e];if(kx(n))return!1;if(Ax(n)){if(!Dx(n)||0!==n.__indent)return!1;const t=n.getChildren(),r=t.length;for(let n=0;n<r;n++)if(!Ab(t[e]))return!1}}return!0}(e)}function qx(e,t){const n=Ry(e.focus,t);return kx(n)&&!n.isIsolated()||Ax(n)&&!n.isInline()&&!n.canBeEmpty()}function Yx(e,t,n){const r=function(e){const t=e.anchor.getNode();return"rtl"===(Ox(t)?t:t.getParentOrThrow()).getDirection()}(e);!function(e,t,n){e.modify(t?"extend":"move",n,"character")}(e,t,n?!r:r)}!function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")}((function(e){const t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")}((function(e){const t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)})),function(e){e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")}((function(e){const t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}));const Kx=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement,Qx=Kx&&"documentMode"in document?document.documentMode:null;function Gx(...e){return()=>{for(let t=e.length-1;t>=0;t--)e[t]();e.length=0}}function Xx(e,t,n,r=null){let o=null===r||t.isSelected(r);const i=Ax(t)&&t.excludeFromCopy("html");let a=t;if(null!==r){let e=Gy(t);e=Ab(e)&&null!==r?function(e,t){const n=e.getStartEndPoints();if(t.isSelected(e)&&!t.isSegmented()&&!t.isToken()&&null!==n){const[r,o]=n,i=e.isBackward(),a=r.getNode(),s=o.getNode(),l=t.is(a),c=t.is(s);if(l||c){const[n,r]=Ib(e),o=a.is(s),l=t.is(i?s:a),c=t.is(i?a:s);let u,d=0;return o?(d=n>r?r:n,u=n>r?n:r):l?(d=i?r:n,u=void 0):c&&(d=0,u=i?n:r),t.__text=t.__text.slice(d,u),t}}return t}(r,e):e,a=e}const s=Ax(a)?a.getChildren():[],l=e._nodes.get(a.getType());let c;c=l&&void 0!==l.exportDOM?l.exportDOM(e,a):a.exportDOM(e);const{element:u,after:d}=c;if(!u)return!1;const f=document.createDocumentFragment();for(let n=0;n<s.length;n++){const i=s[n],a=Xx(e,i,f,r);!o&&Ax(t)&&a&&t.extractWithChild(i,r,"html")&&(o=!0)}if(o&&!i){if(Wy(u)&&u.append(f),n.append(u),d){const e=d.call(a,u);e&&u.replaceWith(e)}}else n.append(f);return o}Kx&&"InputEvent"in window&&!Qx&&new window.InputEvent("input");var Jx=function(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}((function(e){const t=new URLSearchParams;t.append("code",e);for(let e=1;e<arguments.length;e++)t.append("v",arguments[e]);throw Error(`Minified Lexical error #${e}; visit https://lexical.dev/docs/error?${t} for the full message or use the non-minified dev environment for full errors and additional helpful warnings.`)}));function $x(e,t){const n=e.getData("text/plain")||e.getData("text/uri-list");null!=n&&t.insertRawText(n)}const ew=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement,tw=ew&&"documentMode"in document?document.documentMode:null,nw=!(!ew||!("InputEvent"in window)||tw)&&"getTargetRanges"in new window.InputEvent("input"),rw=ew&&/Version\/[\d.]+.*Safari/.test(navigator.userAgent),ow=ew&&/iPad|iPhone|iPod/.test(navigator.userAgent)&&!window.MSStream,iw=ew&&/^(?=.*Chrome).*/i.test(navigator.userAgent),aw=ew&&/AppleWebKit\/[\d.]+/.test(navigator.userAgent)&&!iw;function sw(e,t){t.update((()=>{if(null!==e){const n=function(e,t){return null!==e&&Object.getPrototypeOf(e).constructor.name===t.name}(e,KeyboardEvent)?null:e.clipboardData,r=qb();if(null!==r&&null!=n){e.preventDefault();const o=function(e,t=qb()){return null==t&&Jx(166),Mb(t)&&t.isCollapsed()||0===t.getNodes().length?"":function(e,t){if(typeof document>"u"||typeof window>"u"&&void 0===global.window)throw new Error("To use $generateHtmlFromNodes in headless mode please initialize a headless browser implementation such as JSDom before calling this function.");const n=document.createElement("div"),r=ly().getChildren();for(let o=0;o<r.length;o++)Xx(e,r[o],n,t);return n.innerHTML}(e,t)}(t);null!==o&&n.setData("text/html",o),n.setData("text/plain",r.getTextContent())}}}))}const lw=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function cw(e){return e.getEditorState().read(Zx(e.isComposing()))}function uw({contentEditable:e,placeholder:t=null,ErrorBoundary:r}){const[o]=am(),i=function(e,t){const[r,o]=(0,n.useState)((()=>e.getDecorators()));return lw((()=>e.registerDecoratorListener((e=>{(0,Ue.flushSync)((()=>{o(e)}))}))),[e]),(0,n.useEffect)((()=>{o(e.getDecorators())}),[e]),(0,n.useMemo)((()=>{const o=[],i=Object.keys(r);for(let a=0;a<i.length;a++){const s=i[a],l=(0,We.jsx)(t,{onError:t=>e._onError(t),children:(0,We.jsx)(n.Suspense,{fallback:null,children:r[s]})}),c=e.getElementByKey(s);null!==c&&o.push((0,Ue.createPortal)(l,c,s))}return o}),[t,r,e])}(o,r);return lw((()=>Gx(function(e){return Gx(e.registerCommand(um,(e=>{const t=qb();return!!Mb(t)&&(t.deleteCharacter(e),!0)}),0),e.registerCommand(gm,(e=>{const t=qb();return!!Mb(t)&&(t.deleteWord(e),!0)}),0),e.registerCommand(ym,(e=>{const t=qb();return!!Mb(t)&&(t.deleteLine(e),!0)}),0),e.registerCommand(hm,(e=>{const t=qb();if(!Mb(t))return!1;if("string"==typeof e)t.insertText(e);else{const n=e.dataTransfer;if(null!=n)$x(n,t);else{const n=e.data;n&&t.insertText(n)}}return!0}),0),e.registerCommand(mm,(()=>{const e=qb();return!!Mb(e)&&(e.removeText(),!0)}),0),e.registerCommand(dm,(e=>{const t=qb();return!!Mb(t)&&(t.insertLineBreak(e),!0)}),0),e.registerCommand(fm,(()=>{const e=qb();return!!Mb(e)&&(e.insertLineBreak(),!0)}),0),e.registerCommand(Em,(e=>{const t=qb();if(!Mb(t))return!1;const n=e,r=n.shiftKey;return!!qx(t,!0)&&(n.preventDefault(),Yx(t,r,!0),!0)}),0),e.registerCommand(Cm,(e=>{const t=qb();if(!Mb(t))return!1;const n=e,r=n.shiftKey;return!!qx(t,!1)&&(n.preventDefault(),Yx(t,r,!1),!0)}),0),e.registerCommand(Pm,(t=>!!Mb(qb())&&(t.preventDefault(),e.dispatchCommand(um,!0))),0),e.registerCommand(Tm,(t=>!!Mb(qb())&&(t.preventDefault(),e.dispatchCommand(um,!1))),0),e.registerCommand(Om,(t=>{if(!Mb(qb()))return!1;if(null!==t){if((ow||rw||aw)&&nw)return!1;t.preventDefault()}return e.dispatchCommand(dm,!1)}),0),e.registerCommand(zm,(()=>(function(){const e=ly();uy(function(e){return Vg(e.anchor),Vg(e.focus),e}(e.select(0,e.getChildrenSize())))}(),!0)),0),e.registerCommand(Fm,(t=>!!Mb(qb())&&(sw(t,e),!0)),0),e.registerCommand(Bm,(t=>!!Mb(qb())&&(function(e,t){sw(e,t),t.update((()=>{const e=qb();Mb(e)&&e.removeText()}))}(t,e),!0)),0),e.registerCommand(pm,(t=>!!Mb(qb())&&(function(e,t){e.preventDefault(),t.update((()=>{const t=qb(),{clipboardData:n}=e;null!=n&&Mb(t)&&$x(n,t)}),{tag:"paste"})}(t,e),!0)),0),e.registerCommand(Nm,(e=>!!Mb(qb())&&(e.preventDefault(),!0)),0),e.registerCommand(Lm,(e=>!!Mb(qb())&&(e.preventDefault(),!0)),0))}(a),function(e){const t=window.location.origin,n=n=>{if(n.origin!==t)return;const r=e.getRootElement();if(document.activeElement!==r)return;const o=n.data;if("string"==typeof o){let t;try{t=JSON.parse(o)}catch{return}if(t&&"nuanria_messaging"===t.protocol&&"request"===t.type){const r=t.payload;if(r&&"makeChanges"===r.functionId){const t=r.args;if(t){const[r,o,i,a,s,l]=t;e.update((()=>{const e=qb();if(Mb(e)){const t=e.anchor;let l=t.getNode(),c=0,u=0;if(Ab(l)&&r>=0&&o>=0&&(c=r,u=r+o,e.setTextNodeRange(l,c,l,u)),c===u&&""===i||(e.insertRawText(i),l=t.getNode()),Ab(l)){c=a,u=a+s;const t=l.getTextContentSize();c=c>t?t:c,u=u>t?t:u,e.setTextNodeRange(l,c,l,u)}n.stopImmediatePropagation()}}))}}}}};return window.addEventListener("message",n,!0),()=>{window.removeEventListener("message",n,!0)}}(a))),[a=o]),(0,We.jsxs)(We.Fragment,{children:[e,(0,We.jsx)(dw,{content:t}),i]});var a}function dw({content:e}){const[t]=am(),r=function(e){const[t,r]=(0,n.useState)((()=>cw(e)));return lw((()=>{function t(){const t=cw(e);r(t)}return t(),Gx(e.registerUpdateListener((()=>{t()})),e.registerEditableListener((()=>{t()})))}),[e]),t}(t),o=function(e){const[t]=am(),r=(0,n.useMemo)((()=>e(t)),[t,e]),o=(0,n.useRef)(r.initialValueFn()),[i,a]=(0,n.useState)(o.current);return Wx((()=>{const{initialValueFn:e,subscribe:t}=r,n=e();return o.current!==n&&(o.current=n,a(n)),t((e=>{o.current=e,a(e)}))}),[r,e]),i}(Ux);return r?"function"==typeof e?e(o):e:null}const fw=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,hw=(0,n.forwardRef)((function({editor:e,ariaActiveDescendant:t,ariaAutoComplete:r,ariaControls:o,ariaDescribedBy:i,ariaExpanded:a,ariaLabel:s,ariaLabelledBy:l,ariaMultiline:c,ariaOwns:u,ariaRequired:d,autoCapitalize:f,className:h,id:p,role:m="textbox",spellCheck:g=!0,style:y,tabIndex:v,"data-testid":b,...x},w){const[C,A]=(0,n.useState)(e.isEditable()),E=(0,n.useCallback)((t=>{t&&t.ownerDocument&&t.ownerDocument.defaultView?e.setRootElement(t):e.setRootElement(null)}),[e]),S=(0,n.useMemo)((()=>function(...e){return t=>{e.forEach((e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)}))}}(w,E)),[E,w]);return fw((()=>(A(e.isEditable()),e.registerEditableListener((e=>{A(e)})))),[e]),(0,We.jsx)("div",{...x,"aria-activedescendant":C?t:void 0,"aria-autocomplete":C?r:"none","aria-controls":C?o:void 0,"aria-describedby":i,"aria-expanded":C&&"combobox"===m?!!a:void 0,"aria-label":s,"aria-labelledby":l,"aria-multiline":c,"aria-owns":C?u:void 0,"aria-readonly":!C||void 0,"aria-required":d,autoCapitalize:f,className:h,contentEditable:C,"data-testid":b,id:p,ref:S,role:C?m:void 0,spellCheck:g,style:y,tabIndex:v})}));function pw(e){return e.getEditorState().read(Zx(e.isComposing()))}const mw=(0,n.forwardRef)((function(e,t){const{placeholder:n,...r}=e,[o]=am();return(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)(hw,{editor:o,...r,ref:t}),null!=n&&(0,We.jsx)(gw,{editor:o,content:n})]})}));function gw({content:e,editor:t}){const r=function(e){const[t,r]=(0,n.useState)((()=>pw(e)));return fw((()=>{function t(){const t=pw(e);r(t)}return t(),Gx(e.registerUpdateListener((()=>{t()})),e.registerEditableListener((()=>{t()})))}),[e]),t}(t),[o,i]=(0,n.useState)(t.isEditable());if((0,n.useLayoutEffect)((()=>(i(t.isEditable()),t.registerEditableListener((e=>{i(e)})))),[t]),!r)return null;let a=null;return"function"==typeof e?a=e(o):null!==e&&(a=e),null===a?null:(0,We.jsx)("div",{"aria-hidden":!0,children:a})}function yw(e){e.undoStack=[],e.redoStack=[],e.current=null}function vw({delay:e,externalHistoryState:t}){const[r]=am();return function(e,t,r=1e3){const o=(0,n.useMemo)((()=>t||{current:null,redoStack:[],undoStack:[]}),[t]);(0,n.useEffect)((()=>function(e,t,n){const r=function(e,t){let n=Date.now(),r=0;return(o,i,a,s,l,c)=>{const u=Date.now();if(c.has("historic"))return r=0,n=u,2;const d=function(e,t,n,r,o){if(null===e||0===n.size&&0===r.size&&!o)return 0;const i=t._selection,a=e._selection;if(o)return 1;if(!(Mb(i)&&Mb(a)&&a.isCollapsed()&&i.isCollapsed()))return 0;const s=function(e,t,n){const r=e._nodeMap,o=[];for(const e of t){const t=r.get(e);void 0!==t&&o.push(t)}for(const[e,t]of n){if(!t)continue;const n=r.get(e);void 0===n||Ox(n)||o.push(n)}return o}(t,n,r);if(0===s.length)return 0;if(s.length>1){const n=t._nodeMap,r=n.get(i.anchor.key),o=n.get(a.anchor.key);return r&&o&&!e._nodeMap.has(r.__key)&&Ab(r)&&1===r.__text.length&&1===i.anchor.offset?2:0}const l=s[0],c=e._nodeMap.get(l.__key);if(!Ab(c)||!Ab(l)||c.__mode!==l.__mode)return 0;const u=c.__text,d=l.__text;if(u===d)return 0;const f=i.anchor,h=a.anchor;if(f.key!==h.key||"text"!==f.type)return 0;const p=f.offset,m=h.offset,g=d.length-u.length;return 1===g&&m===p-1?2:-1===g&&m===p+1?3:-1===g&&m===p?4:0}(o,i,s,l,e.isComposing()),f=(()=>{const f=null===a||a.editor===e,h=c.has("history-push");if(!h&&f&&c.has("history-merge"))return 0;if(null===o)return 1;const p=i._selection;return s.size>0||l.size>0?!1===h&&0!==d&&d===r&&u<n+t&&f||1===s.size&&function(e,t,n){const r=t._nodeMap.get(e),o=n._nodeMap.get(e),i=t._selection,a=n._selection;return!(Mb(i)&&Mb(a)&&"element"===i.anchor.type&&"element"===i.focus.type&&"text"===a.anchor.type&&"text"===a.focus.type||!Ab(r)||!Ab(o)||r.__parent!==o.__parent)&&JSON.stringify(t.read((()=>r.exportJSON())))===JSON.stringify(n.read((()=>o.exportJSON())))}(Array.from(s)[0],o,i)?0:1:null!==p?0:2})();return n=u,r=d,f}}(e,n);return Gx(e.registerCommand(bm,(()=>(function(e,t){const n=t.redoStack,r=t.undoStack;if(0!==r.length){const o=t.current,i=r.pop();null!==o&&(n.push(o),e.dispatchCommand(Wm,!0)),0===r.length&&e.dispatchCommand(Um,!1),t.current=i||null,i&&i.editor.setEditorState(i.editorState,{tag:"historic"})}}(e,t),!0)),0),e.registerCommand(xm,(()=>(function(e,t){const n=t.redoStack,r=t.undoStack;if(0!==n.length){const o=t.current;null!==o&&(r.push(o),e.dispatchCommand(Um,!0));const i=n.pop();0===n.length&&e.dispatchCommand(Wm,!1),t.current=i||null,i&&i.editor.setEditorState(i.editorState,{tag:"historic"})}}(e,t),!0)),0),e.registerCommand(Vm,(()=>(yw(t),!1)),0),e.registerCommand(Hm,(()=>(yw(t),e.dispatchCommand(Wm,!1),e.dispatchCommand(Um,!1),!0)),0),e.registerUpdateListener((({editorState:n,prevEditorState:o,dirtyLeaves:i,dirtyElements:a,tags:s})=>{const l=t.current,c=t.redoStack,u=t.undoStack,d=null===l?null:l.editorState;if(null!==l&&n===d)return;const f=r(o,n,l,i,a,s);if(1===f)0!==c.length&&(t.redoStack=[],e.dispatchCommand(Wm,!1)),null!==l&&(u.push({...l}),e.dispatchCommand(Um,!0));else if(2===f)return;t.current={editor:e,editorState:n}})))}(e,o,r)),[r,e,o])}(r,t,e),null}function bw(e,t){return bw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bw(e,t)}var xw={error:null},ww=function(e){var t,r;function o(){for(var t,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return(t=e.call.apply(e,[this].concat(r))||this).state=xw,t.resetErrorBoundary=function(){for(var e,n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];null==t.props.onReset||(e=t.props).onReset.apply(e,r),t.reset()},t}r=e,(t=o).prototype=Object.create(r.prototype),t.prototype.constructor=t,bw(t,r),o.getDerivedStateFromError=function(e){return{error:e}};var i=o.prototype;return i.reset=function(){this.setState(xw)},i.componentDidCatch=function(e,t){var n,r;null==(n=(r=this.props).onError)||n.call(r,e,t)},i.componentDidUpdate=function(e,t){var n,r,o,i,a=this.state.error,s=this.props.resetKeys;null!==a&&null!==t.error&&(void 0===(o=e.resetKeys)&&(o=[]),void 0===(i=s)&&(i=[]),o.length!==i.length||o.some((function(e,t){return!Object.is(e,i[t])})))&&(null==(n=(r=this.props).onResetKeysChange)||n.call(r,e.resetKeys,s),this.reset())},i.render=function(){var e=this.state.error,t=this.props,r=t.fallbackRender,o=t.FallbackComponent,i=t.fallback;if(null!==e){var a={error:e,resetErrorBoundary:this.resetErrorBoundary};if(n.isValidElement(i))return i;if("function"==typeof r)return r(a);if(o)return n.createElement(o,a);throw new Error("react-error-boundary requires either a fallback, fallbackRender, or FallbackComponent prop")}return this.props.children},o}(n.Component);function Cw({children:e,onError:t}){return(0,We.jsx)(ww,{fallback:(0,We.jsx)("div",{style:{border:"1px solid #f00",color:"#f00",padding:"8px"},children:"An error was thrown."}),onError:t,children:e})}const Aw=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect;function Ew({ignoreHistoryMergeTagChange:e=!0,ignoreSelectionChange:t=!1,onChange:n}){const[r]=am();return Aw((()=>{if(n)return r.registerUpdateListener((({editorState:o,dirtyElements:i,dirtyLeaves:a,prevEditorState:s,tags:l})=>{t&&0===i.size&&0===a.size||e&&l.has("history-merge")||s.isEmpty()||n(o,r,l)}))}),[r,e,t,n]),null}function Sw({editorRef:e}){const[t]=am();return n.useEffect((()=>{"function"==typeof e?e(t):"object"==typeof e&&(e.current=t)}),[t]),null}const kw={sm:"px-3 py-1.5 rounded [&_.editor-content>p]:text-xs [&_.editor-content>p]:font-normal [&_.pointer-events-none]:text-xs [&_.pointer-events-none]:font-normal [&_.editor-content>p]:content-center [&_.editor-content>p]:min-h-5",md:"px-3.5 py-2 rounded-md [&_.editor-content>p]:text-sm [&_.editor-content>p]:font-normal [&_.pointer-events-none]:text-sm [&_.pointer-events-none]:font-normal [&_.editor-content>p]:content-center [&_.editor-content>p]:min-h-6",lg:"px-4 py-2.5 rounded-md [&_.editor-content>p]:text-base [&_.editor-content>p]:font-normal [&_.pointer-events-none]:text-base [&_.pointer-events-none]:font-normal [&_.editor-content>p]:content-center [&_.editor-content>p]:min-h-7"},_w={sm:"p-1.5 rounded-md max-h-[10.75rem]",md:"p-2 rounded-lg max-h-[13.5rem]",lg:"p-2 rounded-lg max-h-[13.5rem]"},Ow={sm:"p-1.5 rounded text-xs leading-5 font-normal",md:"p-2 rounded-md text-sm leading-6 font-normal",lg:"p-2 rounded-md text-base leading-6 font-normal"},Rw="startTransition",Pw=typeof window<"u"&&void 0!==window.document&&void 0!==window.document.createElement?n.useLayoutEffect:n.useEffect,jw=e=>{const t=document.getElementById("typeahead-menu");if(!t)return;const n=t.getBoundingClientRect();n.top+n.height>window.innerHeight&&t.scrollIntoView({block:"center"}),n.top<0&&t.scrollIntoView({block:"center"}),e.scrollIntoView({block:"nearest"})};function Tw(e,t){const n=e.getBoundingClientRect(),r=t.getBoundingClientRect();return n.top>r.top&&n.top<r.bottom}const Mw={};function Nw({close:e,editor:t,anchorElementRef:r,resolution:o,options:i,menuRenderFn:a,onSelectOption:s,shouldSplitNodeWithQuery:l=!1,commandPriority:c=1}){const[u,d]=(0,n.useState)(null),f=o.match&&o.match.matchingString;(0,n.useEffect)((()=>{d(0)}),[f]);const h=(0,n.useCallback)((n=>{t.update((()=>{const t=null!=o.match&&l?function(e){const t=qb();if(!Mb(t)||!t.isCollapsed())return null;const n=t.anchor;if("text"!==n.type)return null;const r=n.getNode();if(!r.isSimpleText())return null;const o=n.offset,i=r.getTextContent().slice(0,o),a=e.replaceableString.length,s=o-function(e,t,n){let r=n;for(let n=r;n<=t.length;n++)e.substr(-n)===t.substr(0,n)&&(r=n);return r}(i,e.matchingString,a);if(s<0)return null;let l;return 0===s?[l]=r.splitText(o):[,l]=r.splitText(s,o),l}(o.match):null;s(n,t,e,o.match?o.match.matchingString:"")}))}),[t,l,o.match,s,e]),p=(0,n.useCallback)((e=>{const n=t.getRootElement();null!==n&&(n.setAttribute("aria-activedescendant","typeahead-item-"+e),d(e))}),[t]);return(0,n.useEffect)((()=>()=>{const e=t.getRootElement();null!==e&&e.removeAttribute("aria-activedescendant")}),[t]),Pw((()=>{null===i?d(null):null===u&&p(0)}),[i,u,p]),(0,n.useEffect)((()=>Gx(t.registerCommand(Mw,(({option:e})=>!(!e.ref||null==e.ref.current||(jw(e.ref.current),0))),c))),[t,p,c]),(0,n.useEffect)((()=>Gx(t.registerCommand(_m,(e=>{const n=e;if(null!==i&&i.length&&null!==u){const e=u!==i.length-1?u+1:0;p(e);const r=i[e];null!=r.ref&&r.ref.current&&t.dispatchCommand(Mw,{index:e,option:r}),n.preventDefault(),n.stopImmediatePropagation()}return!0}),c),t.registerCommand(km,(e=>{const t=e;if(null!==i&&i.length&&null!==u){const e=0!==u?u-1:i.length-1;p(e);const n=i[e];null!=n.ref&&n.ref.current&&jw(n.ref.current),t.preventDefault(),t.stopImmediatePropagation()}return!0}),c),t.registerCommand(jm,(t=>{const n=t;return n.preventDefault(),n.stopImmediatePropagation(),e(),!0}),c),t.registerCommand(Mm,(e=>{const t=e;return null!==i&&null!==u&&null!=i[u]&&(t.preventDefault(),t.stopImmediatePropagation(),h(i[u]),!0)}),c),t.registerCommand(Om,(e=>null!==i&&null!==u&&null!=i[u]&&(null!==e&&(e.preventDefault(),e.stopImmediatePropagation()),h(i[u]),!0)),c))),[h,e,t,i,u,p,c]),a(r,(0,n.useMemo)((()=>({options:i,selectOptionAndCleanUp:h,selectedIndex:u,setHighlightedIndex:d})),[h,u,i]),o.match?o.match.matchingString:"")}function Lw({options:e,onQueryChange:t,onSelectOption:r,onOpen:o,onClose:i,menuRenderFn:a,triggerFn:s,anchorClassName:l,commandPriority:c=1,parent:u}){const[d]=am(),[f,h]=(0,n.useState)(null),p=function(e,t,r,o=document.body){const[i]=am(),a=(0,n.useRef)(document.createElement("div")),s=(0,n.useCallback)((()=>{a.current.style.top=a.current.style.bottom;const t=i.getRootElement(),n=a.current,s=n.firstChild;if(null!==t&&null!==e){const{left:i,top:l,width:c,height:u}=e.getRect(),d=a.current.offsetHeight;if(n.style.top=`${l+window.pageYOffset+d+3}px`,n.style.left=`${i+window.pageXOffset}px`,n.style.height=`${u}px`,n.style.width=`${c}px`,null!==s){s.style.top=`${l}`;const e=s.getBoundingClientRect(),r=e.height,o=e.width,a=t.getBoundingClientRect();i+o>a.right&&(n.style.left=`${a.right-o+window.pageXOffset}px`),(l+r>window.innerHeight||l+r>a.bottom)&&l-a.top>r+u&&(n.style.top=l-r+window.pageYOffset-u+"px")}n.isConnected||(null!=r&&(n.className=r),n.setAttribute("aria-label","Typeahead menu"),n.setAttribute("id","typeahead-menu"),n.setAttribute("role","listbox"),n.style.display="block",n.style.position="absolute",o.append(n)),a.current=n,t.setAttribute("aria-controls","typeahead-menu")}}),[i,e,r,o]);(0,n.useEffect)((()=>{const t=i.getRootElement();if(null!==e)return s(),()=>{null!==t&&t.removeAttribute("aria-controls");const e=a.current;null!==e&&e.isConnected&&e.remove()}}),[i,s,e]);const l=(0,n.useCallback)((n=>{null!==e&&(n||t(null))}),[e,t]);return function(e,t,r,o){const[i]=am();(0,n.useEffect)((()=>{if(null!=t&&null!=e){const e=i.getRootElement(),n=null!=e?function(e){let t=getComputedStyle(e);const n="absolute"===t.position,r=/(auto|scroll)/;if("fixed"===t.position)return document.body;for(let o=e;o=o.parentElement;)if(t=getComputedStyle(o),(!n||"static"!==t.position)&&r.test(t.overflow+t.overflowY+t.overflowX))return o;return document.body}(e):document.body;let a=!1,s=Tw(t,n);const l=function(){a||(window.requestAnimationFrame((function(){r(),a=!1})),a=!0);const e=Tw(t,n);e!==s&&(s=e,null!=o&&o(e))},c=new ResizeObserver(r);return window.addEventListener("resize",r),document.addEventListener("scroll",l,{capture:!0,passive:!0}),c.observe(t),()=>{c.unobserve(t),window.removeEventListener("resize",r),document.removeEventListener("scroll",l,!0)}}}),[t,i,o,r,e])}(e,a.current,s,l),a}(f,h,l,u),m=(0,n.useCallback)((()=>{h(null),null!=i&&null!==f&&i()}),[i,f]),g=(0,n.useCallback)((e=>{h(e),null!=o&&null===f&&o(e)}),[o,f]);return(0,n.useEffect)((()=>{const e=d.registerUpdateListener((()=>{d.getEditorState().read((()=>{const e=d._window||window,r=e.document.createRange(),o=qb(),i=function(e){let t=null;return e.getEditorState().read((()=>{const e=qb();Mb(e)&&(t=function(e){const t=e.anchor;if("text"!==t.type)return null;const n=t.getNode();if(!n.isSimpleText())return null;const r=t.offset;return n.getTextContent().slice(0,r)}(e))})),t}(d);if(!Mb(o)||!o.isCollapsed()||null===i||null===r)return void m();const a=s(i,d);if(t(a?a.matchingString:null),null!==a&&(l=d,0!==a.leadOffset||!l.getEditorState().read((()=>{const e=qb();if(Mb(e)){const t=e.anchor.getNode().getPreviousSibling();return Ab(t)&&t.isTextEntity()}return!1})))&&null!==function(e,t,n){const r=n.getSelection();if(null===r||!r.isCollapsed)return!1;const o=r.anchorNode,i=e,a=r.anchorOffset;if(null==o||null==a)return!1;try{t.setStart(o,i),t.setEnd(o,a)}catch{return!1}return!0}(a.leadOffset,r,e))return c=()=>g({getRect:()=>r.getBoundingClientRect(),match:a}),void(Rw in n?n[Rw](c):c());var l,c;m()}))}));return()=>{e()}}),[d,s,t,f,m,g]),null===f||null===d?null:(0,We.jsx)(Nw,{close:m,resolution:f,editor:d,anchorElementRef:p,options:e,menuRenderFn:a,shouldSplitNodeWithQuery:!0,onSelectOption:r,commandPriority:c})}const Dw=e=>{switch(e){case"sm":return"xs";case"md":default:return"sm";case"lg":return"md"}},Iw=({data:e,by:t,size:r,nodeKey:o})=>{const[i]=am(),a=!i.isEditable();let s=e;"object"==typeof e&&(s=e[t]);const l=(0,n.useCallback)((e=>{const t=ry(o);if(!t||!t.isSelected())return!1;let n=!1;const r=t.getPreviousSibling();return Ax(r)&&(r.selectEnd(),n=!0),Ab(r)&&(r.select(),n=!0),kx(r)&&(r.selectNext(),n=!0),null===r&&(t.selectPrevious(),n=!0),n&&e.preventDefault(),n}),[o]),c=(0,n.useCallback)((e=>{const t=ry(o);if(!t||!t.isSelected())return!1;let n=!1;const r=t.getNextSibling();return Ax(r)&&(r.selectStart(),n=!0),Ab(r)&&(r.select(0,0),n=!0),kx(r)&&(r.selectPrevious(),n=!0),null===r&&(t.selectNext(),n=!0),n&&e.preventDefault(),n}),[o]);return(0,n.useEffect)((()=>{const e=Gx(i.registerCommand(Em,l,1),i.registerCommand(Cm,c,1));return()=>{e()}}),[i,l,c]),(0,We.jsx)(Sa,{className:"inline-flex mr-0.5",type:"rounded",size:Dw(r),label:s,icon:null,closable:!0,onClose:e=>{e.stopPropagation(),e.preventDefault(),!a&&i.update((()=>{const e=ry(o);e&&e.remove()}))},disabled:a})};class Fw extends Sx{constructor(e,t,n,r){super(r),Qe(this,"__data"),Qe(this,"__by"),Qe(this,"__size"),this.__data=e,this.__by=t,this.__size=n}static getType(){return"mention"}static clone(e){return new Fw(e.__data,e.__by,e.__size,e.__key)}static importJSON(e){return Bw(e.data,e.by,e.size)}createDOM(){return document.createElement("span")}updateDOM(){return!1}exportDOM(){return{element:document.createElement("span")}}exportJSON(){return{type:Fw.getType(),data:this.__data,by:this.__by,size:this.__size,version:1}}decorate(){return(0,We.jsx)(Iw,{data:this.__data,by:this.__by,size:this.__size,nodeKey:this.__key})}}const Bw=(e,t,n)=>new Fw(e,t,n);class zw{constructor(e){Qe(this,"data"),Qe(this,"key"),Qe(this,"ref"),Qe(this,"setRefElement"),this.initData=e,this.key="",this.data=e,this.ref={current:null},this.setRefElement=e=>{this.ref.current=e}}}const Vw=new Map,Hw={search(e,t,n,r){setTimeout((()=>{if(!Array.isArray(e))return[];const o=e.filter((e=>{var n;if("string"==typeof e)return e.toLowerCase().includes(t.toLowerCase());const o=null==(n=null==e?void 0:e[r])?void 0:n.toString();return!!o&&o.toLowerCase().includes(t.toLowerCase())}));n(o)}),500)}},Ww=({size:e,className:t,children:n})=>(0,We.jsx)("ul",{role:"menu",className:Qt("absolute inset-x-0 top-full mt-2 mx-0 mb-0 w-full h-auto overflow-y-auto overflow-x-hidden z-10 bg-background-primary border border-solid border-border-subtle shadow-lg",_w[e],t),children:n});Ww.displayName="EditorCombobox";const Uw=(0,n.forwardRef)((({size:e,children:t,selected:n=!1,className:r,...o},i)=>(0,We.jsx)("li",{role:"option",ref:i,className:Qt("m-0 text-text-primary cursor-pointer",Ow[e],n&&"bg-button-tertiary-hover",r),...o,children:t})));Uw.displayName="EditorCombobox.Item",Ww.Item=Uw;const Zw=({optionsArray:e,by:t="name",size:r="md",trigger:o="@",menuComponent:i=Ww,menuItemComponent:a=Ww.Item,autoSpace:s=!0})=>{const l=(0,n.useRef)(!1),c="\\.,\\+\\*\\?\\$\\@\\|#{}\\(\\)\\^\\-\\[\\]\\\\/!%'\"~=<>_:;",u=[o].join(""),d="[^"+u+c+"\\s]",f=new RegExp(`(^|\\s|\\()([${u}]((?:${d}${"(?:\\.[ |$]| |["+c+"]|)"}){0,75}))$`),h=new RegExp(`(^|\\s|\\()([${u}]((?:${d}){0,50}))$`),[p]=am(),[m,g]=(0,n.useState)(null),y=function(e,t,r="name"){const[o,i]=(0,n.useState)([]);return(0,n.useEffect)((()=>{if(null===t)return void i([]);const n=Vw.get(t);if(null!==n){if(void 0!==n)return void i(n);Vw.set(t,null),Hw.search(e,t,(e=>{Vw.set(t,e),i(e)}),r)}}),[t]),o}(e,m,t),v=(0,n.useCallback)(((e,n,o)=>{p.update((()=>{const i=Bw(e.data,t,r);n&&n.replace(i),o()}))}),[p]),b=(0,n.useMemo)((()=>y.map((e=>new zw(e)))),[p,y]),x=(0,n.useCallback)((e=>{if(!s)return!1;const{key:t,ctrlKey:n,metaKey:r}=e;if(n||r||" "===t||t.length>1||l.current)return l.current&&(l.current=!1),!1;const o=qb(),{focus:i,anchor:a}=o,[c]=o.getNodes();if(!a||!i||(null==a?void 0:a.key)!==(null==i?void 0:i.key)||(null==a?void 0:a.offset)!==(null==i?void 0:i.offset)||!c)return!1;if((e=>e instanceof Fw)(c)){const e=Cb(" ");return c.insertAfter(e),!0}return!1}),[p,o,s]),w=(0,n.useCallback)((e=>{const{key:t}=e;return"Backspace"===t&&(l.current=!0,!0)}),[l]);return(0,n.useEffect)((()=>{if(p)return Gx(p.registerCommand(wm,x,1),p.registerCommand(Pm,w,1))}),[p,x]),(0,We.jsx)(Lw,{onQueryChange:g,onSelectOption:v,triggerFn:e=>{let t=f.exec(e);if(null===t&&(t=h.exec(e)),null!==t){const e=t[1],n=t[3];if(n.length>=0)return{leadOffset:t.index+e.length,matchingString:n,replaceableString:t[2]}}return null},options:b,menuRenderFn:(e,{selectedIndex:n,selectOptionAndCleanUp:o,setHighlightedIndex:s})=>e.current&&null!=b&&b.length?(0,We.jsx)(i,{size:r,children:b.map(((e,i)=>{var l;return(0,We.jsx)(a,{ref:e.ref,size:r,selected:i===n,onMouseEnter:()=>{s(i)},onClick:()=>o(e),children:"string"==typeof e.data?e.data:null==(l=e.data)?void 0:l[t]},i)}))}):null})},qw={ltr:"ltr",rtl:"rtl",paragraph:"editor-paragraph",quote:"editor-quote",heading:{h1:"editor-heading-h1",h2:"editor-heading-h2",h3:"editor-heading-h3",h4:"editor-heading-h4",h5:"editor-heading-h5",h6:"editor-heading-h6"},list:{nested:{listitem:"editor-nested-listitem"},ol:"editor-list-ol",ul:"editor-list-ul",listitem:"editor-listItem",listitemChecked:"editor-listItemChecked",listitemUnchecked:"editor-listItemUnchecked"},hashtag:"editor-hashtag",image:"editor-image",link:"editor-link",text:{bold:"editor-textBold",code:"editor-textCode",italic:"editor-textItalic",strikethrough:"editor-textStrikethrough",subscript:"editor-textSubscript",superscript:"editor-textSuperscript",underline:"editor-textUnderline",underlineStrikethrough:"editor-textUnderlineStrikethrough"},code:"editor-code",codeHighlight:{atrule:"editor-tokenAttr",attr:"editor-tokenAttr",boolean:"editor-tokenProperty",builtin:"editor-tokenSelector",cdata:"editor-tokenComment",char:"editor-tokenSelector",class:"editor-tokenFunction","class-name":"editor-tokenFunction",comment:"editor-tokenComment",constant:"editor-tokenProperty",deleted:"editor-tokenProperty",doctype:"editor-tokenComment",entity:"editor-tokenOperator",function:"editor-tokenFunction",important:"editor-tokenVariable",inserted:"editor-tokenSelector",keyword:"editor-tokenAttr",namespace:"editor-tokenVariable",number:"editor-tokenProperty",operator:"editor-tokenOperator",prolog:"editor-tokenComment",property:"editor-tokenProperty",punctuation:"editor-tokenPunctuation",regex:"editor-tokenVariable",selector:"editor-tokenSelector",string:"editor-tokenSelector",symbol:"editor-tokenProperty",tag:"editor-tokenProperty",url:"editor-tokenOperator",variable:"editor-tokenVariable"}},Yw=({content:e})=>(0,We.jsx)("div",{"aria-hidden":"true",className:"pointer-events-none absolute inset-0 flex items-center justify-start text-field-placeholder w-full",children:(0,We.jsx)("span",{className:"truncate",children:e})});function Kw(e){console.error(e)}const Qw=(0,n.forwardRef)((({defaultValue:e="",placeholder:t="Press @ to view variable suggestions",onChange:r,size:o="md",autoFocus:i=!1,options:a,by:s="name",trigger:l="@",menuComponent:c,menuItemComponent:u,className:d,wrapperClassName:f,disabled:h=!1,autoSpaceAfterMention:p=!1},m)=>{const g={namespace:"Editor",editorTheme:qw,onError:Kw,nodes:[Fw],editorState:e||'{\n    "root": {\n        "children": [\n            {\n                "children": [],\n                "direction": null,\n                "format": "",\n                "indent": 0,\n                "type": "paragraph",\n                "version": 1,\n                "textFormat": 0,\n                "textStyle": ""\n            }\n        ],\n        "direction": null,\n        "format": "",\n        "indent": 0,\n        "type": "root",\n        "version": 1\n    }\n}',editable:!h};let y,v;return(0,n.isValidElement)(c)&&(y=c),(0,n.isValidElement)(u)&&(v=u),(0,We.jsx)("div",{className:Qt("relative w-full","focus-within:ring-2 focus-within:ring-offset-2 hover:outline-border-strong hover:focus-within:outline-focus-border focus-within:outline-focus-border focus-within:ring-focus transition-[color,outline,box-shadow] duration-150 ease-in-out outline outline-1 outline-field-border",kw[o],h&&"bg-field-secondary-background outline-field-border-disabled hover:outline-field-border-disabled [&_p]:text-badge-color-disabled cursor-not-allowed",f),children:(0,We.jsxs)(Hx,{initialConfig:g,children:[(0,We.jsx)("div",{className:"relative w-full [&_p]:m-0",children:(0,We.jsx)(uw,{contentEditable:(0,We.jsx)(mw,{className:Qt("editor-content focus-visible:outline-none outline-none","w-full [&>p]:w-full [&>p]:m-0",d)}),placeholder:(0,We.jsx)(Yw,{content:t}),ErrorBoundary:Cw})}),(0,We.jsx)(vw,{}),(0,We.jsx)(Zw,{menuComponent:y,menuItemComponent:v,size:o,by:s,optionsArray:a,trigger:l,autoSpace:p}),(0,We.jsx)(Ew,{onChange:(e,t)=>{"function"==typeof r&&r(e,t)},ignoreSelectionChange:!0}),m&&(0,We.jsx)(Sw,{editorRef:m}),i&&(0,We.jsx)(sm,{})]})})}));Qw.displayName="EditorInput";const Gw=({variant:e="rectangular",className:t,...n})=>{const r={circular:"rounded-full bg-gray-200 ",rectangular:"rounded-md bg-gray-200"}[e],o={circular:"size-10",rectangular:"w-96 h-3"}[e];return(0,We.jsx)("div",{className:Qt(r,"animate-pulse",o,t),...n})},Xw=(0,n.createContext)({}),Jw=()=>(0,n.useContext)(Xw),$w=({size:e="md",children:t,className:n})=>(0,We.jsx)(Xw.Provider,{value:{size:e},children:(0,We.jsx)("div",{className:Qt("flex flex-col bg-background-primary p-2",n),children:t})});$w.displayName="Menu";const eC=({heading:e,arrow:t=!1,showArrowOnHover:r=!1,open:o=!0,onClick:i,children:a,className:s})=>{const[l,c]=(0,n.useState)(o),[u,d]=(0,n.useState)(!1),{size:f}=Jw(),h={sm:"text-xs",md:"text-sm"}[f??"md"],p={sm:"size-4",md:"size-5"}[f??"md"],m=()=>{c(!l),i&&i(!l)};return(0,We.jsxs)("div",{children:[!!e&&(0,We.jsxs)("div",{role:"button",tabIndex:0,onClick:m,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&m()},onMouseEnter:()=>r&&d(!0),onMouseLeave:()=>r&&d(!1),className:Qt("text-text-primary bg-transparent cursor-pointer flex justify-between items-center gap-1",h,e?"p-1":"p-0",s),"aria-expanded":l,children:[(0,We.jsx)("span",{className:"text-text-tertiary",children:e}),t&&(0,We.jsx)(Zh.span,{className:"flex items-center text-border-strong",initial:"hidden",animate:r?l||u?"visible":"hidden":"visible",exit:"hidden",variants:{visible:{opacity:1},hidden:{opacity:0}},transition:{duration:.15},children:(0,We.jsx)(Zh.span,{className:"inline-flex p-1",variants:{open:{rotate:180},closed:{rotate:0}},animate:l?"open":"closed",transition:{duration:.15},children:(0,We.jsx)(hn,{className:Qt("shrink-0",p)})})})]}),(0,We.jsx)(Jh,{initial:!1,children:l&&(0,We.jsx)(Zh.ul,{role:"menu",variants:{open:{height:"auto",opacity:1},closed:{height:0,opacity:0}},initial:"closed",animate:"open",exit:"closed",transition:{duration:.3,ease:"easeInOut"},className:"overflow flex gap-0.5 flex-col m-0 bg-white rounded p-0",children:a})})]})};eC.displayName="Menu.List";const tC=({disabled:e=!1,active:t,onClick:n,children:r,className:o})=>{const{size:i}=Jw(),a={sm:"[&>svg]:size-4 [&>svg]:m-1 [&>*:not(svg)]:mx-1 [&>*:not(svg)]:my-0.5 text-sm",md:"[&>svg]:size-5 [&>svg]:m-1.5 [&>*:not(svg)]:m-1 text-base"}[i??"md"];return(0,We.jsx)("li",{role:"menuitem",tabIndex:0,onClick:n,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&(null==n||n())},className:Qt("flex p-1 gap-1 items-center bg-transparent border-none rounded text-text-secondary cursor-pointer m-0",a,"hover:bg-background-secondary hover:text-text-primary",e?"text-text-disabled hover:text-text-disabled cursor-not-allowed hover:bg-transparent":"",t?"text-icon-primary [&>svg]:text-icon-interactive bg-background-secondary":"","transition-colors duration-300 ease-in-out",o),children:r})};tC.displayName="Menu.Item";const nC=({variant:e="solid",className:t})=>{const n={solid:"border-solid",dashed:"border-dashed",dotted:"border-dotted",double:"border-double",hidden:"border-hidden",none:"border-none"}[e];return(0,We.jsx)("li",{className:"m-0 p-0 list-none",role:"separator","aria-hidden":"true",children:(0,We.jsx)("hr",{className:Qt("w-full border-0 border-t border-border-subtle",n,t)})})};nC.displayName="Menu.Separator",$w.List=eC,$w.Item=tC,$w.Separator=nC;const rC=(0,n.createContext)({isCollapsed:!1,setIsCollapsed:()=>{},collapsible:!0}),oC=({children:e,className:t,onCollapseChange:r,collapsible:o=!0,borderOn:i=!0,...a})=>{const s=(0,n.useRef)(null),[l,c]=(0,n.useState)((()=>{const e=en("sidebar-collapsed"),t=window.innerWidth<1280;return e||t}));return(0,n.useEffect)((()=>{r&&r(l)}),[l,r]),(0,n.useEffect)((()=>{const e=()=>{const e=window.innerWidth<1280;if(o)if(e)c(!0),$t("sidebar-collapsed",!0);else{const e=en("sidebar-collapsed");c(e||!1)}else c(!1),(e=>{if(!(typeof window>"u"))try{localStorage.removeItem(e)}catch(e){console.error(e)}})("sidebar-collapsed")};return window.addEventListener("resize",e),e(),()=>{window.removeEventListener("resize",e)}}),[o]),(0,We.jsx)(rC.Provider,{value:{isCollapsed:l,setIsCollapsed:c,collapsible:o},children:(0,We.jsx)("div",{ref:s,className:Qt("h-full overflow-auto w-72 px-4 py-4 gap-4 flex flex-col bg-background-primary",i&&"border-0 border-r border-solid border-border-subtle","transition-all duration-200",l&&"w-16 px-2",t),...a,children:e})})};oC.displayName="Sidebar";const iC=({children:e})=>(0,We.jsx)("div",{className:"space-y-2",children:e});iC.displayName="Sidebar.Header";const aC=({children:e})=>(0,We.jsx)("div",{className:Qt("space-y-4 grow items-start"),children:e});aC.displayName="Sidebar.Body";const sC=({children:e})=>{const{isCollapsed:t,setIsCollapsed:r,collapsible:o}=(0,n.useContext)(rC);return(0,We.jsxs)("div",{className:"space-y-4",children:[e,o&&(0,We.jsx)("button",{className:Qt("bg-transparent w-full border-0 p-0 m-0 flex items-center gap-2 text-base cursor-pointer",t&&"justify-center"),onClick:()=>{r(!t),$t("sidebar-collapsed",!t)},"aria-label":t?"Expand sidebar":"Collapse sidebar",children:t?(0,We.jsx)(We.Fragment,{children:(0,We.jsx)(va,{title:"Expand",children:(0,We.jsx)(Cn,{className:"size-5"})})}):(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)(wn,{className:"size-5"})," Collapse"]})})]})};sC.displayName="Sidebar.Footer";const lC=({children:e,className:t})=>(0,We.jsx)("div",{className:Qt("w-full",t),children:e});lC.displayName="Sidebar.Item",Object.assign(oC,{Header:iC,Body:aC,Footer:sC,Item:lC});const cC={sm:{text:"text-sm",separator:"text-sm",separatorIconSize:16},md:{text:"text-base",separator:"text-base",separatorIconSize:18}},uC=(0,n.createContext)({sizes:cC.sm}),dC=({children:e,size:t="sm"})=>{const n=cC[t]||cC.sm;return(0,We.jsx)(uC.Provider,{value:{sizes:n},children:(0,We.jsx)("nav",{className:"flex m-0","aria-label":"Breadcrumb",children:(0,We.jsx)("ul",{className:"m-0 inline-flex items-center space-x-1 md:space-x-1",children:e})})})};dC.displayName="Breadcrumb";const fC=({children:e})=>(0,We.jsx)(We.Fragment,{children:e});fC.displayName="Breadcrumb.List";const hC=({children:e})=>(0,We.jsx)("li",{className:"m-0 inline-flex items-center gap-2",children:e});hC.displayName="Breadcrumb.Item";const pC=({href:e,children:t,className:r,as:o="a",...i})=>{const{sizes:a}=(0,n.useContext)(uC);return(0,We.jsx)(o,{href:e,className:Qt(a.text,"px-1 font-medium no-underline text-text-tertiary hover:text-text-primary hover:underline","focus:outline-none focus:ring-1 focus:ring-border-interactive focus:border-border-interactive focus:rounded-sm","transition-all duration-200",r),...i,children:t})};pC.displayName="Breadcrumb.Link";const mC=({type:e})=>{const{sizes:t}=(0,n.useContext)(uC),r={slash:(0,We.jsx)("span",{className:Qt("mx-1",t.separator),children:"/"}),arrow:(0,We.jsx)(mn,{size:t.separatorIconSize})};return(0,We.jsx)("li",{role:"separator",className:"flex items-center text-text-tertiary mx-2 p-0 list-none","aria-hidden":"true",children:r[e]||r.arrow})};mC.displayName="Breadcrumb.Separator";const gC=()=>{const{sizes:e}=(0,n.useContext)(uC);return(0,We.jsx)(yn,{className:"mt-[2px] cursor-pointer text-text-tertiary hover:text-text-primary",size:e.separatorIconSize+4})};gC.displayName="Breadcrumb.Ellipsis";const yC=({children:e})=>{const{sizes:t}=(0,n.useContext)(uC);return(0,We.jsx)("span",{className:Qt(t.text,"font-medium text-text-primary"),children:e})};yC.displayName="Breadcrumb.Page",dC.List=fC,dC.Item=hC,dC.Link=pC,dC.Separator=mC,dC.Ellipsis=gC,dC.Page=yC;const vC=(0,n.createContext)({}),bC=()=>(0,n.useContext)(vC),xC={open:{opacity:1},exit:{opacity:0}},wC={duration:.2},CC=({open:e,setOpen:t,children:r,trigger:o=null,className:i,exitOnClickOutside:a=!1,exitOnEsc:s=!0,design:l="simple",scrollLock:c=!0})=>{const u=void 0!==e&&void 0!==t,[d,f]=(0,n.useState)(!1),h=(0,n.useRef)(null),p=(0,n.useRef)(null),m=(0,n.useMemo)((()=>u?e:d),[e,d]),g=(0,n.useMemo)((()=>u?t:f),[f,f]),y=()=>{m||g(!0)},v=()=>{m&&g(!1)},b=(0,n.useCallback)((()=>{var e;return(0,n.isValidElement)(o)?(0,n.cloneElement)(o,{onClick:Gt(y,null==(e=null==o?void 0:o.props)?void 0:e.onClick)}):"function"==typeof o?o({onClick:y}):null}),[o,y,v]),x=e=>{"Escape"===e.key&&s&&v()},w=e=>{a&&h.current&&!h.current.contains(e.target)&&v()};return(0,n.useEffect)((()=>(window.addEventListener("keydown",x),document.addEventListener("mousedown",w),()=>{window.removeEventListener("keydown",x),document.removeEventListener("mousedown",w)})),[m]),(0,n.useEffect)((()=>{if(!c)return;const e=document.querySelector("html");return m&&e&&(e.style.overflow="hidden"),()=>{e&&(e.style.overflow="")}}),[m]),(0,We.jsxs)(We.Fragment,{children:[b(),(0,We.jsx)(vC.Provider,{value:{open:m,setOpen:g,handleClose:v,design:l,dialogContainerRef:p,dialogRef:h},children:(0,We.jsx)("div",{ref:p,className:Qt("fixed z-999999 w-0 h-0 overflow-visible",i),children:r})})]})};CC.displayName="Dialog";const AC=({children:e,className:t})=>{const{open:n,handleClose:r,dialogRef:o}=bC();return(0,We.jsx)(Jh,{children:n&&(0,We.jsx)(Zh.div,{className:"fixed inset-0 overflow-y-auto",initial:"exit",animate:"open",exit:"exit",variants:xC,role:"dialog",transition:wC,children:(0,We.jsx)("div",{className:"flex items-center justify-center min-h-full",children:(0,We.jsx)("div",{ref:o,className:Qt("flex flex-col gap-5 w-120 h-fit bg-background-primary border border-solid border-border-subtle rounded-xl shadow-soft-shadow-2xl my-5 overflow-hidden",t),children:"function"==typeof e?e({close:r}):e})})})})};AC.displayName="Dialog.Panel";const EC=({className:e,...t})=>{const{open:n,dialogContainerRef:r}=bC();return null!=r&&r.current?(0,We.jsx)(We.Fragment,{children:(0,Ue.createPortal)((0,We.jsx)(Jh,{children:n&&(0,We.jsx)(Zh.div,{className:Qt("fixed inset-0 -z-10 bg-background-inverse/90",e),...t,initial:"exit",animate:"open",exit:"exit",variants:xC,transition:wC})}),r.current)}):null};EC.displayName="Dialog.Backdrop";const SC=({children:e,className:t,...n})=>(0,We.jsx)("div",{className:Qt("space-y-2 px-5 pt-5 pb-1",t),...n,children:e});SC.displayName="Dialog.Header";const kC=({children:e,as:t="h3",className:n,...r})=>(0,We.jsx)(t,{className:Qt("text-base font-semibold text-text-primary m-0 p-0",n),...r,children:e});kC.displayName="Dialog.Title";const _C=({children:e,as:t="p",className:n,...r})=>(0,We.jsx)(t,{className:Qt("text-sm font-normal text-text-secondary my-0 ml-0 mr-1 p-0",n),...r,children:e});_C.displayName="Dialog.Description";const OC=({className:e,...t})=>(0,We.jsx)("button",{className:Qt("bg-transparent inline-flex justify-center items-center border-0 p-1 m-0 cursor-pointer focus:outline-none outline-none shadow-none",e),"aria-label":"Close dialog",...t,children:(0,We.jsx)(Rn,{className:"size-4 text-text-primary shrink-0"})}),RC=({children:e,as:t=n.Fragment,...r})=>{const{handleClose:o}=bC();return e?t===n.Fragment?"function"==typeof e?e({close:o}):(0,n.cloneElement)(e,{onClick:o}):(0,We.jsx)(t,{...r,onClick:o,children:e}):(0,We.jsx)(OC,{onClick:o,...r})};RC.displayName="Dialog.CloseButton";const PC=({children:e,className:t,...n})=>(0,We.jsx)("div",{className:Qt("px-5",t),...n,children:e});PC.displayName="Dialog.Body";const jC=({children:e,className:t})=>{const{design:n,handleClose:r}=bC();return(0,We.jsx)("div",{className:Qt("p-4 flex justify-end gap-3",{"bg-background-secondary":"footer-divided"===n},t),children:e?"function"==typeof e?e({close:r}):e:null})};jC.displayName="Dialog.Footer",CC.Panel=AC,CC.Title=kC,CC.Description=_C,CC.CloseButton=RC,CC.Header=SC,CC.Body=PC,CC.Footer=jC,CC.Backdrop=EC;const TC=({children:e,gap:t="lg",className:n,...r})=>(0,We.jsx)("div",{className:Qt("w-full box-border flex items-center justify-between bg-background-primary p-5 min-h-16",Xt(t),n),...r,children:e});TC.displayName="Topbar";const MC=({gap:e="sm",children:t,className:n})=>(0,We.jsx)("div",{className:Qt("flex items-center",Xt(e),n),children:t});MC.displayName="Topbar.Left";const NC=({gap:e="md",children:t,align:n="center",className:r})=>{const o={left:"justify-start",center:"justify-center",right:"justify-end"}[n];return(0,We.jsx)("div",{className:Qt("flex items-center grow",Xt(e),o,r),children:t})};NC.displayName="Topbar.Middle";const LC=({gap:e="sm",children:t,className:n})=>(0,We.jsx)("div",{className:Qt("flex items-center",Xt(e),n),children:t});LC.displayName="Topbar.Right";const DC=({children:e,className:t})=>(0,We.jsx)("div",{className:Qt("flex items-center [&>svg]:block h-full",t),children:e});DC.displayName="Topbar.Item",TC.Left=MC,TC.Middle=NC,TC.Right=LC,TC.Item=DC;const IC=(0,n.createContext)({}),FC=IC.Provider,BC=()=>(0,n.useContext)(IC),zC=(e,t,n)=>{if(!e||!t)return{open:()=>({}),closed:()=>({})};const r=null==e?void 0:e.getBoundingClientRect(),o=null==t?void 0:t.getBoundingClientRect(),i=n?(null==r?void 0:r.x)-(null==o?void 0:o.x)+(null==r?void 0:r.width)/2:(null==o?void 0:o.width)-((null==o?void 0:o.right)-(null==r?void 0:r.x))+(null==r?void 0:r.width)/2,a=(null==r?void 0:r.y)-(null==o?void 0:o.y)+(null==r?void 0:r.height)/2;return{open:(e=1e3)=>({clipPath:`circle(${2*e+200}px at ${i}px ${a}px)`,background:"rgb(255, 255, 255, 1)",transition:{type:"spring",stiffness:20,restDelta:2,background:{duration:0}}}),closed:{clipPath:`circle(${(null==r?void 0:r.width)/2}px at ${i}px ${a}px)`,background:"rgb(255, 255, 255, 0)",transition:{delay:.5,type:"spring",stiffness:400,damping:40,background:{duration:0,delay:1e3}}}}},VC=e=>(0,We.jsx)(Zh.path,{className:"stroke-icon-primary",fill:"transparent",strokeWidth:"3",strokeLinecap:"round",...e}),HC=({className:e})=>{const{toggleOpen:t,setTriggerRef:n}=BC();return(0,We.jsx)(tn,{ref:n,className:Qt("relative z-[1] rounded-full hover:shadow-sm focus:[box-shadow:none] pointer-events-auto bg-background-primary",e),variant:"ghost",size:"xs",onClick:t,"aria-label":"Toggle menu",icon:(0,We.jsxs)(Zh.svg,{className:"shrink-0 stroke-icon-primary",width:"23",height:"23",variants:{open:{viewBox:"0 0 20 20"},closed:{viewBox:"0 0 23 18"}},children:[(0,We.jsx)(VC,{variants:{closed:{d:"M 2 2.5 L 20 2.5"},open:{d:"M 3 16.5 L 17 2.5"}}}),(0,We.jsx)(VC,{d:"M 2 9.423 L 20 9.423",variants:{closed:{opacity:1},open:{opacity:0}},transition:{duration:.1}}),(0,We.jsx)(VC,{variants:{closed:{d:"M 2 16.346 L 20 16.346"},open:{d:"M 3 2.5 L 17 16.346"}}})]})})},WC={open:{transition:{staggerChildren:.07,delayChildren:.2}},closed:{transition:{staggerChildren:.05,staggerDirection:-1}}},UC=({tag:e="a",active:t,icon:r,iconPosition:o="left",className:i,children:a,...s})=>{var l;let c=null,u=null;const d=r&&(0,n.isValidElement)(r)?(0,n.cloneElement)(r,{key:"left-icon",className:Qt("size-5",t?"text-brand-800":"text-icon-secondary",(null==(l=r.props)?void 0:l.className)??"")}):null;switch(o){case"left":c=d;break;case"right":u=d;break;default:c=null,u=null}return(0,We.jsx)(qC,{children:(0,We.jsxs)(e,{className:Qt("w-full no-underline hover:no-underline text-text-primary text-lg font-medium flex items-center gap-2 px-2.5 py-1.5 rounded-md hover:bg-background-secondary hover:text-text-primary focus:outline-none focus:shadow-none transition ease-in-out duration-150",t?"text-text-primary bg-background-secondary":"text-text-secondary",i),...s,children:[!!c&&c,(0,We.jsx)("span",{className:"contents",children:a}),!!u&&u]})})},ZC={open:{y:0,opacity:1,transition:{y:{stiffness:1e3,velocity:-100}}},closed:{y:50,opacity:0,transition:{y:{stiffness:1e3}}}},qC=({children:e})=>(0,We.jsx)(Zh.li,{className:"m-0 p-0 flex items-center justify-start w-full",variants:ZC,whileHover:{scale:1.05},whileTap:{scale:.95},children:e}),YC=({children:e,className:t})=>{const{triggerRef:r,triggerOnRight:o,triggerOnLeft:i}=BC(),[a,s]=(0,n.useState)(null);return r?(0,We.jsxs)(Zh.div,{ref:s,className:Qt("absolute top-0 bottom-0 w-80 h-screen",o?"right-0":"left-0",t),children:[a&&(0,We.jsx)(Zh.div,{className:Qt("bg-background-primary shadow-lg absolute top-0 bottom-0 w-80 border-y-0 border-l-0 border-r border-solid border-border-subtle",o?"right-0":"left-0"),variants:zC(r,a,i??!1)}),(0,We.jsx)(Zh.ul,{variants:WC,className:Qt("relative mt-14 mb-0 w-full px-5 pb-5 pt-2 flex flex-col items-start justify-start gap-0.5",t),children:e})]}):null},KC=({className:e,children:t})=>{const[r,o]=function(...e){const t=(0,n.useRef)(0),[r,o]=(0,n.useState)(e[t.current]),i=(0,n.useCallback)((n=>{t.current="number"!=typeof n?((e,t,n)=>{const r=t-0;return((n-0)%r+r)%r+0})(0,e.length,t.current+1):n,o(e[t.current])}),[e.length,...e]);return[r,i]}(!1,!0),[i,a]=(0,n.useState)(null),s=(0,n.useRef)(null),{height:l}=(e=>{const t=(0,n.useRef)({width:0,height:0});return(0,n.useEffect)((()=>{e.current&&(t.current.width=e.current.offsetWidth,t.current.height=e.current.offsetHeight)}),[]),t.current})(s),{isRight:c=!1,isLeft:u=!0}=(e=>{if(!e)return{error:"Element not found."};const t=e.getBoundingClientRect(),n=window.innerWidth,r=n/2,o=t.right<r,i=t.left>r;return{isLeft:o,isRight:i,isCenter:!o&&!i,elementRect:{left:t.left,right:t.right,width:t.width},viewport:{width:n,center:r}}})(i);return(0,We.jsx)(FC,{value:{isOpen:r,toggleOpen:o,setTriggerRef:e=>{(0,n.startTransition)((()=>{a(e)}))},triggerRef:i,triggerOnRight:c,triggerOnLeft:u},children:(0,We.jsx)("div",{className:Qt("size-6 z-[1]",e),children:(0,We.jsx)(Zh.nav,{className:"h-full",initial:!1,animate:r?"open":"closed",custom:l,variants:{open:{pointerEvents:"auto"},closed:{pointerEvents:"none"}},ref:s,children:t})})})};KC.displayName="HamburgerMenu",HC.displayName="HamburgerMenu.Toggle",YC.displayName="HamburgerMenu.Options",UC.displayName="HamburgerMenu.Option",KC.Options=YC,KC.Option=UC,KC.Toggle=HC;var QC={exports:{}};!function(e,t){(function(){var n,r="Expected a function",o="__lodash_hash_undefined__",i="__lodash_placeholder__",a=32,s=128,l=1/0,c=9007199254740991,u=NaN,d=4294967295,f=d-1,h=d>>>1,p=[["ary",s],["bind",1],["bindKey",2],["curry",8],["curryRight",16],["flip",512],["partial",a],["partialRight",64],["rearg",256]],m="[object Arguments]",g="[object Array]",y="[object Boolean]",v="[object Date]",b="[object Error]",x="[object Function]",w="[object GeneratorFunction]",C="[object Map]",A="[object Number]",E="[object Object]",S="[object Promise]",k="[object RegExp]",_="[object Set]",O="[object String]",R="[object Symbol]",P="[object WeakMap]",j="[object ArrayBuffer]",T="[object DataView]",M="[object Float32Array]",N="[object Float64Array]",L="[object Int8Array]",D="[object Int16Array]",I="[object Int32Array]",F="[object Uint8Array]",B="[object Uint8ClampedArray]",z="[object Uint16Array]",V="[object Uint32Array]",H=/\b__p \+= '';/g,W=/\b(__p \+=) '' \+/g,U=/(__e\(.*?\)|\b__t\)) \+\n'';/g,Z=/&(?:amp|lt|gt|quot|#39);/g,q=/[&<>"']/g,Y=RegExp(Z.source),K=RegExp(q.source),Q=/<%-([\s\S]+?)%>/g,G=/<%([\s\S]+?)%>/g,X=/<%=([\s\S]+?)%>/g,J=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,$=/^\w*$/,ee=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,te=/[\\^$.*+?()[\]{}|]/g,ne=RegExp(te.source),re=/^\s+/,oe=/\s/,ie=/\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/,ae=/\{\n\/\* \[wrapped with (.+)\] \*/,se=/,? & /,le=/[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g,ce=/[()=,{}\[\]\/\s]/,ue=/\\(\\)?/g,de=/\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g,fe=/\w*$/,he=/^[-+]0x[0-9a-f]+$/i,pe=/^0b[01]+$/i,me=/^\[object .+?Constructor\]$/,ge=/^0o[0-7]+$/i,ye=/^(?:0|[1-9]\d*)$/,ve=/[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g,be=/($^)/,xe=/['\n\r\u2028\u2029\\]/g,we="\\ud800-\\udfff",Ce="\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff",Ae="\\u2700-\\u27bf",Ee="a-z\\xdf-\\xf6\\xf8-\\xff",Se="A-Z\\xc0-\\xd6\\xd8-\\xde",ke="\\ufe0e\\ufe0f",_e="\\xac\\xb1\\xd7\\xf7\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf\\u2000-\\u206f \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000",Oe="["+we+"]",Re="["+_e+"]",Pe="["+Ce+"]",je="\\d+",Te="["+Ae+"]",Me="["+Ee+"]",Ne="[^"+we+_e+je+Ae+Ee+Se+"]",Le="\\ud83c[\\udffb-\\udfff]",De="[^"+we+"]",Ie="(?:\\ud83c[\\udde6-\\uddff]){2}",Fe="[\\ud800-\\udbff][\\udc00-\\udfff]",Be="["+Se+"]",ze="\\u200d",Ve="(?:"+Me+"|"+Ne+")",He="(?:"+Be+"|"+Ne+")",We="(?:['’](?:d|ll|m|re|s|t|ve))?",Ue="(?:['’](?:D|LL|M|RE|S|T|VE))?",qe="(?:"+Pe+"|"+Le+")?",Ye="["+ke+"]?",Ke=Ye+qe+"(?:"+ze+"(?:"+[De,Ie,Fe].join("|")+")"+Ye+qe+")*",Qe="(?:"+[Te,Ie,Fe].join("|")+")"+Ke,Ge="(?:"+[De+Pe+"?",Pe,Ie,Fe,Oe].join("|")+")",Xe=RegExp("['’]","g"),Je=RegExp(Pe,"g"),$e=RegExp(Le+"(?="+Le+")|"+Ge+Ke,"g"),et=RegExp([Be+"?"+Me+"+"+We+"(?="+[Re,Be,"$"].join("|")+")",He+"+"+Ue+"(?="+[Re,Be+Ve,"$"].join("|")+")",Be+"?"+Ve+"+"+We,Be+"+"+Ue,"\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])","\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])",je,Qe].join("|"),"g"),tt=RegExp("["+ze+we+Ce+ke+"]"),nt=/[a-z][A-Z]|[A-Z]{2}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/,rt=["Array","Buffer","DataView","Date","Error","Float32Array","Float64Array","Function","Int8Array","Int16Array","Int32Array","Map","Math","Object","Promise","RegExp","Set","String","Symbol","TypeError","Uint8Array","Uint8ClampedArray","Uint16Array","Uint32Array","WeakMap","_","clearTimeout","isFinite","parseInt","setTimeout"],ot=-1,it={};it[M]=it[N]=it[L]=it[D]=it[I]=it[F]=it[B]=it[z]=it[V]=!0,it[m]=it[g]=it[j]=it[y]=it[T]=it[v]=it[b]=it[x]=it[C]=it[A]=it[E]=it[k]=it[_]=it[O]=it[P]=!1;var at={};at[m]=at[g]=at[j]=at[T]=at[y]=at[v]=at[M]=at[N]=at[L]=at[D]=at[I]=at[C]=at[A]=at[E]=at[k]=at[_]=at[O]=at[R]=at[F]=at[B]=at[z]=at[V]=!0,at[b]=at[x]=at[P]=!1;var st={"\\":"\\","'":"'","\n":"n","\r":"r","\u2028":"u2028","\u2029":"u2029"},lt=parseFloat,ct=parseInt,ut="object"==typeof Ze&&Ze&&Ze.Object===Object&&Ze,dt="object"==typeof self&&self&&self.Object===Object&&self,ft=ut||dt||Function("return this")(),ht=t&&!t.nodeType&&t,pt=ht&&e&&!e.nodeType&&e,mt=pt&&pt.exports===ht,gt=mt&&ut.process,yt=function(){try{return pt&&pt.require&&pt.require("util").types||gt&&gt.binding&&gt.binding("util")}catch{}}(),vt=yt&&yt.isArrayBuffer,bt=yt&&yt.isDate,xt=yt&&yt.isMap,wt=yt&&yt.isRegExp,Ct=yt&&yt.isSet,At=yt&&yt.isTypedArray;function Et(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)}function St(e,t,n,r){for(var o=-1,i=null==e?0:e.length;++o<i;){var a=e[o];t(r,a,n(a),e)}return r}function kt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r&&!1!==t(e[n],n,e););return e}function _t(e,t){for(var n=null==e?0:e.length;n--&&!1!==t(e[n],n,e););return e}function Ot(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0}function Rt(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i}function Pt(e,t){return!(null==e||!e.length)&&zt(e,t,0)>-1}function jt(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1}function Tt(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o}function Mt(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e}function Nt(e,t,n,r){var o=-1,i=null==e?0:e.length;for(r&&i&&(n=e[++o]);++o<i;)n=t(n,e[o],o,e);return n}function Lt(e,t,n,r){var o=null==e?0:e.length;for(r&&o&&(n=e[--o]);o--;)n=t(n,e[o],o,e);return n}function Dt(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1}var It=Ut("length");function Ft(e,t,n){var r;return n(e,(function(e,n,o){if(t(e,n,o))return r=n,!1})),r}function Bt(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1}function zt(e,t,n){return t==t?function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1}(e,t,n):Bt(e,Ht,n)}function Vt(e,t,n,r){for(var o=n-1,i=e.length;++o<i;)if(r(e[o],t))return o;return-1}function Ht(e){return e!=e}function Wt(e,t){var n=null==e?0:e.length;return n?Yt(e,t)/n:u}function Ut(e){return function(t){return null==t?n:t[e]}}function Zt(e){return function(t){return null==e?n:e[t]}}function qt(e,t,n,r,o){return o(e,(function(e,o,i){n=r?(r=!1,e):t(n,e,o,i)})),n}function Yt(e,t){for(var r,o=-1,i=e.length;++o<i;){var a=t(e[o]);a!==n&&(r=r===n?a:r+a)}return r}function Kt(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r}function Qt(e){return e&&e.slice(0,fn(e)+1).replace(re,"")}function Gt(e){return function(t){return e(t)}}function Xt(e,t){return Tt(t,(function(t){return e[t]}))}function Jt(e,t){return e.has(t)}function $t(e,t){for(var n=-1,r=e.length;++n<r&&zt(t,e[n],0)>-1;);return n}function en(e,t){for(var n=e.length;n--&&zt(t,e[n],0)>-1;);return n}var tn=Zt({À:"A",Á:"A",Â:"A",Ã:"A",Ä:"A",Å:"A",à:"a",á:"a",â:"a",ã:"a",ä:"a",å:"a",Ç:"C",ç:"c",Ð:"D",ð:"d",È:"E",É:"E",Ê:"E",Ë:"E",è:"e",é:"e",ê:"e",ë:"e",Ì:"I",Í:"I",Î:"I",Ï:"I",ì:"i",í:"i",î:"i",ï:"i",Ñ:"N",ñ:"n",Ò:"O",Ó:"O",Ô:"O",Õ:"O",Ö:"O",Ø:"O",ò:"o",ó:"o",ô:"o",õ:"o",ö:"o",ø:"o",Ù:"U",Ú:"U",Û:"U",Ü:"U",ù:"u",ú:"u",û:"u",ü:"u",Ý:"Y",ý:"y",ÿ:"y",Æ:"Ae",æ:"ae",Þ:"Th",þ:"th",ß:"ss",Ā:"A",Ă:"A",Ą:"A",ā:"a",ă:"a",ą:"a",Ć:"C",Ĉ:"C",Ċ:"C",Č:"C",ć:"c",ĉ:"c",ċ:"c",č:"c",Ď:"D",Đ:"D",ď:"d",đ:"d",Ē:"E",Ĕ:"E",Ė:"E",Ę:"E",Ě:"E",ē:"e",ĕ:"e",ė:"e",ę:"e",ě:"e",Ĝ:"G",Ğ:"G",Ġ:"G",Ģ:"G",ĝ:"g",ğ:"g",ġ:"g",ģ:"g",Ĥ:"H",Ħ:"H",ĥ:"h",ħ:"h",Ĩ:"I",Ī:"I",Ĭ:"I",Į:"I",İ:"I",ĩ:"i",ī:"i",ĭ:"i",į:"i",ı:"i",Ĵ:"J",ĵ:"j",Ķ:"K",ķ:"k",ĸ:"k",Ĺ:"L",Ļ:"L",Ľ:"L",Ŀ:"L",Ł:"L",ĺ:"l",ļ:"l",ľ:"l",ŀ:"l",ł:"l",Ń:"N",Ņ:"N",Ň:"N",Ŋ:"N",ń:"n",ņ:"n",ň:"n",ŋ:"n",Ō:"O",Ŏ:"O",Ő:"O",ō:"o",ŏ:"o",ő:"o",Ŕ:"R",Ŗ:"R",Ř:"R",ŕ:"r",ŗ:"r",ř:"r",Ś:"S",Ŝ:"S",Ş:"S",Š:"S",ś:"s",ŝ:"s",ş:"s",š:"s",Ţ:"T",Ť:"T",Ŧ:"T",ţ:"t",ť:"t",ŧ:"t",Ũ:"U",Ū:"U",Ŭ:"U",Ů:"U",Ű:"U",Ų:"U",ũ:"u",ū:"u",ŭ:"u",ů:"u",ű:"u",ų:"u",Ŵ:"W",ŵ:"w",Ŷ:"Y",ŷ:"y",Ÿ:"Y",Ź:"Z",Ż:"Z",Ž:"Z",ź:"z",ż:"z",ž:"z",IJ:"IJ",ij:"ij",Œ:"Oe",œ:"oe",ʼn:"'n",ſ:"s"}),nn=Zt({"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"});function rn(e){return"\\"+st[e]}function on(e){return tt.test(e)}function an(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n}function sn(e,t){return function(n){return e(t(n))}}function ln(e,t){for(var n=-1,r=e.length,o=0,a=[];++n<r;){var s=e[n];(s===t||s===i)&&(e[n]=i,a[o++]=n)}return a}function cn(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n}function un(e){return on(e)?function(e){for(var t=$e.lastIndex=0;$e.test(e);)++t;return t}(e):It(e)}function dn(e){return on(e)?function(e){return e.match($e)||[]}(e):function(e){return e.split("")}(e)}function fn(e){for(var t=e.length;t--&&oe.test(e.charAt(t)););return t}var hn=Zt({"&amp;":"&","&lt;":"<","&gt;":">","&quot;":'"',"&#39;":"'"}),pn=function e(t){var oe,we=(t=null==t?ft:pn.defaults(ft.Object(),t,pn.pick(ft,rt))).Array,Ce=t.Date,Ae=t.Error,Ee=t.Function,Se=t.Math,ke=t.Object,_e=t.RegExp,Oe=t.String,Re=t.TypeError,Pe=we.prototype,je=Ee.prototype,Te=ke.prototype,Me=t["__core-js_shared__"],Ne=je.toString,Le=Te.hasOwnProperty,De=0,Ie=(oe=/[^.]+$/.exec(Me&&Me.keys&&Me.keys.IE_PROTO||""))?"Symbol(src)_1."+oe:"",Fe=Te.toString,Be=Ne.call(ke),ze=ft._,Ve=_e("^"+Ne.call(Le).replace(te,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),He=mt?t.Buffer:n,We=t.Symbol,Ue=t.Uint8Array,Ze=He?He.allocUnsafe:n,qe=sn(ke.getPrototypeOf,ke),Ye=ke.create,Ke=Te.propertyIsEnumerable,Qe=Pe.splice,Ge=We?We.isConcatSpreadable:n,$e=We?We.iterator:n,tt=We?We.toStringTag:n,st=function(){try{var e=ui(ke,"defineProperty");return e({},"",{}),e}catch{}}(),ut=t.clearTimeout!==ft.clearTimeout&&t.clearTimeout,dt=Ce&&Ce.now!==ft.Date.now&&Ce.now,ht=t.setTimeout!==ft.setTimeout&&t.setTimeout,pt=Se.ceil,gt=Se.floor,yt=ke.getOwnPropertySymbols,It=He?He.isBuffer:n,Zt=t.isFinite,mn=Pe.join,gn=sn(ke.keys,ke),yn=Se.max,vn=Se.min,bn=Ce.now,xn=t.parseInt,wn=Se.random,Cn=Pe.reverse,An=ui(t,"DataView"),En=ui(t,"Map"),Sn=ui(t,"Promise"),kn=ui(t,"Set"),_n=ui(t,"WeakMap"),On=ui(ke,"create"),Rn=_n&&new _n,Pn={},jn=Fi(An),Tn=Fi(En),Mn=Fi(Sn),Nn=Fi(kn),Ln=Fi(_n),Dn=We?We.prototype:n,In=Dn?Dn.valueOf:n,Fn=Dn?Dn.toString:n;function Bn(e){if(ts(e)&&!Ua(e)&&!(e instanceof Wn)){if(e instanceof Hn)return e;if(Le.call(e,"__wrapped__"))return Bi(e)}return new Hn(e)}var zn=function(){function e(){}return function(t){if(!es(t))return{};if(Ye)return Ye(t);e.prototype=t;var r=new e;return e.prototype=n,r}}();function Vn(){}function Hn(e,t){this.__wrapped__=e,this.__actions__=[],this.__chain__=!!t,this.__index__=0,this.__values__=n}function Wn(e){this.__wrapped__=e,this.__actions__=[],this.__dir__=1,this.__filtered__=!1,this.__iteratees__=[],this.__takeCount__=d,this.__views__=[]}function Un(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Zn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function qn(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}function Yn(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new qn;++t<n;)this.add(e[t])}function Kn(e){var t=this.__data__=new Zn(e);this.size=t.size}function Qn(e,t){var n=Ua(e),r=!n&&Wa(e),o=!n&&!r&&Ka(e),i=!n&&!r&&!o&&cs(e),a=n||r||o||i,s=a?Kt(e.length,Oe):[],l=s.length;for(var c in e)(t||Le.call(e,c))&&(!a||!("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||yi(c,l)))&&s.push(c);return s}function Gn(e){var t=e.length;return t?e[qr(0,t-1)]:n}function Xn(e,t){return Mi(Oo(e),ar(t,0,e.length))}function Jn(e){return Mi(Oo(e))}function $n(e,t,r){(r!==n&&!za(e[t],r)||r===n&&!(t in e))&&or(e,t,r)}function er(e,t,r){var o=e[t];(!Le.call(e,t)||!za(o,r)||r===n&&!(t in e))&&or(e,t,r)}function tr(e,t){for(var n=e.length;n--;)if(za(e[n][0],t))return n;return-1}function nr(e,t,n,r){return dr(e,(function(e,o,i){t(r,e,n(e),i)})),r}function rr(e,t){return e&&Ro(t,js(t),e)}function or(e,t,n){"__proto__"==t&&st?st(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n}function ir(e,t){for(var r=-1,o=t.length,i=we(o),a=null==e;++r<o;)i[r]=a?n:ks(e,t[r]);return i}function ar(e,t,r){return e==e&&(r!==n&&(e=e<=r?e:r),t!==n&&(e=e>=t?e:t)),e}function sr(e,t,r,o,i,a){var s,l=1&t,c=2&t,u=4&t;if(r&&(s=i?r(e,o,i,a):r(e)),s!==n)return s;if(!es(e))return e;var d=Ua(e);if(d){if(s=function(e){var t=e.length,n=new e.constructor(t);return t&&"string"==typeof e[0]&&Le.call(e,"index")&&(n.index=e.index,n.input=e.input),n}(e),!l)return Oo(e,s)}else{var f=hi(e),h=f==x||f==w;if(Ka(e))return Co(e,l);if(f==E||f==m||h&&!i){if(s=c||h?{}:mi(e),!l)return c?function(e,t){return Ro(e,fi(e),t)}(e,function(e,t){return e&&Ro(t,Ts(t),e)}(s,e)):function(e,t){return Ro(e,di(e),t)}(e,rr(s,e))}else{if(!at[f])return i?e:{};s=function(e,t,n){var r=e.constructor;switch(t){case j:return Ao(e);case y:case v:return new r(+e);case T:return function(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.byteLength)}(e,n);case M:case N:case L:case D:case I:case F:case B:case z:case V:return Eo(e,n);case C:return new r;case A:case O:return new r(e);case k:return function(e){var t=new e.constructor(e.source,fe.exec(e));return t.lastIndex=e.lastIndex,t}(e);case _:return new r;case R:return function(e){return In?ke(In.call(e)):{}}(e)}}(e,f,l)}}a||(a=new Kn);var p=a.get(e);if(p)return p;a.set(e,s),as(e)?e.forEach((function(n){s.add(sr(n,t,r,n,e,a))})):ns(e)&&e.forEach((function(n,o){s.set(o,sr(n,t,r,o,e,a))}));var g=d?n:(u?c?ri:ni:c?Ts:js)(e);return kt(g||e,(function(n,o){g&&(n=e[o=n]),er(s,o,sr(n,t,r,o,e,a))})),s}function lr(e,t,r){var o=r.length;if(null==e)return!o;for(e=ke(e);o--;){var i=r[o],a=t[i],s=e[i];if(s===n&&!(i in e)||!a(s))return!1}return!0}function cr(e,t,o){if("function"!=typeof e)throw new Re(r);return Ri((function(){e.apply(n,o)}),t)}function ur(e,t,n,r){var o=-1,i=Pt,a=!0,s=e.length,l=[],c=t.length;if(!s)return l;n&&(t=Tt(t,Gt(n))),r?(i=jt,a=!1):t.length>=200&&(i=Jt,a=!1,t=new Yn(t));e:for(;++o<s;){var u=e[o],d=null==n?u:n(u);if(u=r||0!==u?u:0,a&&d==d){for(var f=c;f--;)if(t[f]===d)continue e;l.push(u)}else i(t,d,r)||l.push(u)}return l}Bn.templateSettings={escape:Q,evaluate:G,interpolate:X,variable:"",imports:{_:Bn}},Bn.prototype=Vn.prototype,Bn.prototype.constructor=Bn,Hn.prototype=zn(Vn.prototype),Hn.prototype.constructor=Hn,Wn.prototype=zn(Vn.prototype),Wn.prototype.constructor=Wn,Un.prototype.clear=function(){this.__data__=On?On(null):{},this.size=0},Un.prototype.delete=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},Un.prototype.get=function(e){var t=this.__data__;if(On){var r=t[e];return r===o?n:r}return Le.call(t,e)?t[e]:n},Un.prototype.has=function(e){var t=this.__data__;return On?t[e]!==n:Le.call(t,e)},Un.prototype.set=function(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=On&&t===n?o:t,this},Zn.prototype.clear=function(){this.__data__=[],this.size=0},Zn.prototype.delete=function(e){var t=this.__data__,n=tr(t,e);return!(n<0||(n==t.length-1?t.pop():Qe.call(t,n,1),--this.size,0))},Zn.prototype.get=function(e){var t=this.__data__,r=tr(t,e);return r<0?n:t[r][1]},Zn.prototype.has=function(e){return tr(this.__data__,e)>-1},Zn.prototype.set=function(e,t){var n=this.__data__,r=tr(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this},qn.prototype.clear=function(){this.size=0,this.__data__={hash:new Un,map:new(En||Zn),string:new Un}},qn.prototype.delete=function(e){var t=li(this,e).delete(e);return this.size-=t?1:0,t},qn.prototype.get=function(e){return li(this,e).get(e)},qn.prototype.has=function(e){return li(this,e).has(e)},qn.prototype.set=function(e,t){var n=li(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this},Yn.prototype.add=Yn.prototype.push=function(e){return this.__data__.set(e,o),this},Yn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.clear=function(){this.__data__=new Zn,this.size=0},Kn.prototype.delete=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Kn.prototype.get=function(e){return this.__data__.get(e)},Kn.prototype.has=function(e){return this.__data__.has(e)},Kn.prototype.set=function(e,t){var n=this.__data__;if(n instanceof Zn){var r=n.__data__;if(!En||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new qn(r)}return n.set(e,t),this.size=n.size,this};var dr=To(br),fr=To(xr,!0);function hr(e,t){var n=!0;return dr(e,(function(e,r,o){return n=!!t(e,r,o)})),n}function pr(e,t,r){for(var o=-1,i=e.length;++o<i;){var a=e[o],s=t(a);if(null!=s&&(l===n?s==s&&!ls(s):r(s,l)))var l=s,c=a}return c}function mr(e,t){var n=[];return dr(e,(function(e,r,o){t(e,r,o)&&n.push(e)})),n}function gr(e,t,n,r,o){var i=-1,a=e.length;for(n||(n=gi),o||(o=[]);++i<a;){var s=e[i];t>0&&n(s)?t>1?gr(s,t-1,n,r,o):Mt(o,s):r||(o[o.length]=s)}return o}var yr=Mo(),vr=Mo(!0);function br(e,t){return e&&yr(e,t,js)}function xr(e,t){return e&&vr(e,t,js)}function wr(e,t){return Rt(t,(function(t){return Xa(e[t])}))}function Cr(e,t){for(var r=0,o=(t=vo(t,e)).length;null!=e&&r<o;)e=e[Ii(t[r++])];return r&&r==o?e:n}function Ar(e,t,n){var r=t(e);return Ua(e)?r:Mt(r,n(e))}function Er(e){return null==e?e===n?"[object Undefined]":"[object Null]":tt&&tt in ke(e)?function(e){var t=Le.call(e,tt),r=e[tt];try{e[tt]=n;var o=!0}catch{}var i=Fe.call(e);return o&&(t?e[tt]=r:delete e[tt]),i}(e):function(e){return Fe.call(e)}(e)}function Sr(e,t){return e>t}function kr(e,t){return null!=e&&Le.call(e,t)}function _r(e,t){return null!=e&&t in ke(e)}function Or(e,t,r){for(var o=r?jt:Pt,i=e[0].length,a=e.length,s=a,l=we(a),c=1/0,u=[];s--;){var d=e[s];s&&t&&(d=Tt(d,Gt(t))),c=vn(d.length,c),l[s]=!r&&(t||i>=120&&d.length>=120)?new Yn(s&&d):n}d=e[0];var f=-1,h=l[0];e:for(;++f<i&&u.length<c;){var p=d[f],m=t?t(p):p;if(p=r||0!==p?p:0,!(h?Jt(h,m):o(u,m,r))){for(s=a;--s;){var g=l[s];if(!(g?Jt(g,m):o(e[s],m,r)))continue e}h&&h.push(m),u.push(p)}}return u}function Rr(e,t,r){var o=null==(e=ki(e,t=vo(t,e)))?e:e[Ii(Gi(t))];return null==o?n:Et(o,e,r)}function Pr(e){return ts(e)&&Er(e)==m}function jr(e,t,r,o,i){return e===t||(null==e||null==t||!ts(e)&&!ts(t)?e!=e&&t!=t:function(e,t,r,o,i,a){var s=Ua(e),l=Ua(t),c=s?g:hi(e),u=l?g:hi(t),d=(c=c==m?E:c)==E,f=(u=u==m?E:u)==E,h=c==u;if(h&&Ka(e)){if(!Ka(t))return!1;s=!0,d=!1}if(h&&!d)return a||(a=new Kn),s||cs(e)?ei(e,t,r,o,i,a):function(e,t,n,r,o,i,a){switch(n){case T:if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case j:return!(e.byteLength!=t.byteLength||!i(new Ue(e),new Ue(t)));case y:case v:case A:return za(+e,+t);case b:return e.name==t.name&&e.message==t.message;case k:case O:return e==t+"";case C:var s=an;case _:var l=1&r;if(s||(s=cn),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=ei(s(e),s(t),r,o,i,a);return a.delete(e),u;case R:if(In)return In.call(e)==In.call(t)}return!1}(e,t,c,r,o,i,a);if(!(1&r)){var p=d&&Le.call(e,"__wrapped__"),x=f&&Le.call(t,"__wrapped__");if(p||x){var w=p?e.value():e,S=x?t.value():t;return a||(a=new Kn),i(w,S,r,o,a)}}return!!h&&(a||(a=new Kn),function(e,t,r,o,i,a){var s=1&r,l=ni(e),c=l.length;if(c!=ni(t).length&&!s)return!1;for(var u=c;u--;){var d=l[u];if(!(s?d in t:Le.call(t,d)))return!1}var f=a.get(e),h=a.get(t);if(f&&h)return f==t&&h==e;var p=!0;a.set(e,t),a.set(t,e);for(var m=s;++u<c;){var g=e[d=l[u]],y=t[d];if(o)var v=s?o(y,g,d,t,e,a):o(g,y,d,e,t,a);if(!(v===n?g===y||i(g,y,r,o,a):v)){p=!1;break}m||(m="constructor"==d)}if(p&&!m){var b=e.constructor,x=t.constructor;b!=x&&"constructor"in e&&"constructor"in t&&!("function"==typeof b&&b instanceof b&&"function"==typeof x&&x instanceof x)&&(p=!1)}return a.delete(e),a.delete(t),p}(e,t,r,o,i,a))}(e,t,r,o,jr,i))}function Tr(e,t,r,o){var i=r.length,a=i,s=!o;if(null==e)return!a;for(e=ke(e);i--;){var l=r[i];if(s&&l[2]?l[1]!==e[l[0]]:!(l[0]in e))return!1}for(;++i<a;){var c=(l=r[i])[0],u=e[c],d=l[1];if(s&&l[2]){if(u===n&&!(c in e))return!1}else{var f=new Kn;if(o)var h=o(u,d,c,e,t,f);if(!(h===n?jr(d,u,3,o,f):h))return!1}}return!0}function Mr(e){return!(!es(e)||function(e){return!!Ie&&Ie in e}(e))&&(Xa(e)?Ve:me).test(Fi(e))}function Nr(e){return"function"==typeof e?e:null==e?rl:"object"==typeof e?Ua(e)?Br(e[0],e[1]):Fr(e):fl(e)}function Lr(e){if(!Ci(e))return gn(e);var t=[];for(var n in ke(e))Le.call(e,n)&&"constructor"!=n&&t.push(n);return t}function Dr(e,t){return e<t}function Ir(e,t){var n=-1,r=qa(e)?we(e.length):[];return dr(e,(function(e,o,i){r[++n]=t(e,o,i)})),r}function Fr(e){var t=ci(e);return 1==t.length&&t[0][2]?Ei(t[0][0],t[0][1]):function(n){return n===e||Tr(n,e,t)}}function Br(e,t){return bi(e)&&Ai(t)?Ei(Ii(e),t):function(r){var o=ks(r,e);return o===n&&o===t?_s(r,e):jr(t,o,3)}}function zr(e,t,r,o,i){e!==t&&yr(t,(function(a,s){if(i||(i=new Kn),es(a))!function(e,t,r,o,i,a,s){var l=_i(e,r),c=_i(t,r),u=s.get(c);if(u)$n(e,r,u);else{var d=a?a(l,c,r+"",e,t,s):n,f=d===n;if(f){var h=Ua(c),p=!h&&Ka(c),m=!h&&!p&&cs(c);d=c,h||p||m?Ua(l)?d=l:Ya(l)?d=Oo(l):p?(f=!1,d=Co(c,!0)):m?(f=!1,d=Eo(c,!0)):d=[]:os(c)||Wa(c)?(d=l,Wa(l)?d=ys(l):(!es(l)||Xa(l))&&(d=mi(c))):f=!1}f&&(s.set(c,d),i(d,c,o,a,s),s.delete(c)),$n(e,r,d)}}(e,t,s,r,zr,o,i);else{var l=o?o(_i(e,s),a,s+"",e,t,i):n;l===n&&(l=a),$n(e,s,l)}}),Ts)}function Vr(e,t){var r=e.length;if(r)return yi(t+=t<0?r:0,r)?e[t]:n}function Hr(e,t,n){t=t.length?Tt(t,(function(e){return Ua(e)?function(t){return Cr(t,1===e.length?e[0]:e)}:e})):[rl];var r=-1;return t=Tt(t,Gt(si())),function(e){var t=e.length;for(e.sort((function(e,t){return function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var l=So(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index}(e,t,n)}));t--;)e[t]=e[t].value;return e}(Ir(e,(function(e,n,o){return{criteria:Tt(t,(function(t){return t(e)})),index:++r,value:e}})))}function Wr(e,t,n){for(var r=-1,o=t.length,i={};++r<o;){var a=t[r],s=Cr(e,a);n(s,a)&&Xr(i,vo(a,e),s)}return i}function Ur(e,t,n,r){var o=r?Vt:zt,i=-1,a=t.length,s=e;for(e===t&&(t=Oo(t)),n&&(s=Tt(e,Gt(n)));++i<a;)for(var l=0,c=t[i],u=n?n(c):c;(l=o(s,u,l,r))>-1;)s!==e&&Qe.call(s,l,1),Qe.call(e,l,1);return e}function Zr(e,t){for(var n=e?t.length:0,r=n-1;n--;){var o=t[n];if(n==r||o!==i){var i=o;yi(o)?Qe.call(e,o,1):co(e,o)}}return e}function qr(e,t){return e+gt(wn()*(t-e+1))}function Yr(e,t){var n="";if(!e||t<1||t>c)return n;do{t%2&&(n+=e),(t=gt(t/2))&&(e+=e)}while(t);return n}function Kr(e,t){return Pi(Si(e,t,rl),e+"")}function Qr(e){return Gn(zs(e))}function Gr(e,t){var n=zs(e);return Mi(n,ar(t,0,n.length))}function Xr(e,t,r,o){if(!es(e))return e;for(var i=-1,a=(t=vo(t,e)).length,s=a-1,l=e;null!=l&&++i<a;){var c=Ii(t[i]),u=r;if("__proto__"===c||"constructor"===c||"prototype"===c)return e;if(i!=s){var d=l[c];(u=o?o(d,c,l):n)===n&&(u=es(d)?d:yi(t[i+1])?[]:{})}er(l,c,u),l=l[c]}return e}var Jr=Rn?function(e,t){return Rn.set(e,t),e}:rl,$r=st?function(e,t){return st(e,"toString",{configurable:!0,enumerable:!1,value:el(t),writable:!0})}:rl;function eo(e){return Mi(zs(e))}function to(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=we(o);++r<o;)i[r]=e[r+t];return i}function no(e,t){var n;return dr(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n}function ro(e,t,n){var r=0,o=null==e?r:e.length;if("number"==typeof t&&t==t&&o<=h){for(;r<o;){var i=r+o>>>1,a=e[i];null!==a&&!ls(a)&&(n?a<=t:a<t)?r=i+1:o=i}return o}return oo(e,t,rl,n)}function oo(e,t,r,o){var i=0,a=null==e?0:e.length;if(0===a)return 0;for(var s=(t=r(t))!=t,l=null===t,c=ls(t),u=t===n;i<a;){var d=gt((i+a)/2),h=r(e[d]),p=h!==n,m=null===h,g=h==h,y=ls(h);if(s)var v=o||g;else v=u?g&&(o||p):l?g&&p&&(o||!m):c?g&&p&&!m&&(o||!y):!m&&!y&&(o?h<=t:h<t);v?i=d+1:a=d}return vn(a,f)}function io(e,t){for(var n=-1,r=e.length,o=0,i=[];++n<r;){var a=e[n],s=t?t(a):a;if(!n||!za(s,l)){var l=s;i[o++]=0===a?0:a}}return i}function ao(e){return"number"==typeof e?e:ls(e)?u:+e}function so(e){if("string"==typeof e)return e;if(Ua(e))return Tt(e,so)+"";if(ls(e))return Fn?Fn.call(e):"";var t=e+"";return"0"==t&&1/e==-l?"-0":t}function lo(e,t,n){var r=-1,o=Pt,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=jt;else if(i>=200){var c=t?null:Ko(e);if(c)return cn(c);a=!1,o=Jt,l=new Yn}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s}function co(e,t){return null==(e=ki(e,t=vo(t,e)))||delete e[Ii(Gi(t))]}function uo(e,t,n,r){return Xr(e,t,n(Cr(e,t)),r)}function fo(e,t,n,r){for(var o=e.length,i=r?o:-1;(r?i--:++i<o)&&t(e[i],i,e););return n?to(e,r?0:i,r?i+1:o):to(e,r?i+1:0,r?o:i)}function ho(e,t){var n=e;return n instanceof Wn&&(n=n.value()),Nt(t,(function(e,t){return t.func.apply(t.thisArg,Mt([e],t.args))}),n)}function po(e,t,n){var r=e.length;if(r<2)return r?lo(e[0]):[];for(var o=-1,i=we(r);++o<r;)for(var a=e[o],s=-1;++s<r;)s!=o&&(i[o]=ur(i[o]||a,e[s],t,n));return lo(gr(i,1),t,n)}function mo(e,t,r){for(var o=-1,i=e.length,a=t.length,s={};++o<i;){var l=o<a?t[o]:n;r(s,e[o],l)}return s}function go(e){return Ya(e)?e:[]}function yo(e){return"function"==typeof e?e:rl}function vo(e,t){return Ua(e)?e:bi(e,t)?[e]:Di(vs(e))}var bo=Kr;function xo(e,t,r){var o=e.length;return r=r===n?o:r,!t&&r>=o?e:to(e,t,r)}var wo=ut||function(e){return ft.clearTimeout(e)};function Co(e,t){if(t)return e.slice();var n=e.length,r=Ze?Ze(n):new e.constructor(n);return e.copy(r),r}function Ao(e){var t=new e.constructor(e.byteLength);return new Ue(t).set(new Ue(e)),t}function Eo(e,t){var n=t?Ao(e.buffer):e.buffer;return new e.constructor(n,e.byteOffset,e.length)}function So(e,t){if(e!==t){var r=e!==n,o=null===e,i=e==e,a=ls(e),s=t!==n,l=null===t,c=t==t,u=ls(t);if(!l&&!u&&!a&&e>t||a&&s&&c&&!l&&!u||o&&s&&c||!r&&c||!i)return 1;if(!o&&!a&&!u&&e<t||u&&r&&i&&!o&&!a||l&&r&&i||!s&&i||!c)return-1}return 0}function ko(e,t,n,r){for(var o=-1,i=e.length,a=n.length,s=-1,l=t.length,c=yn(i-a,0),u=we(l+c),d=!r;++s<l;)u[s]=t[s];for(;++o<a;)(d||o<i)&&(u[n[o]]=e[o]);for(;c--;)u[s++]=e[o++];return u}function _o(e,t,n,r){for(var o=-1,i=e.length,a=-1,s=n.length,l=-1,c=t.length,u=yn(i-s,0),d=we(u+c),f=!r;++o<u;)d[o]=e[o];for(var h=o;++l<c;)d[h+l]=t[l];for(;++a<s;)(f||o<i)&&(d[h+n[a]]=e[o++]);return d}function Oo(e,t){var n=-1,r=e.length;for(t||(t=we(r));++n<r;)t[n]=e[n];return t}function Ro(e,t,r,o){var i=!r;r||(r={});for(var a=-1,s=t.length;++a<s;){var l=t[a],c=o?o(r[l],e[l],l,r,e):n;c===n&&(c=e[l]),i?or(r,l,c):er(r,l,c)}return r}function Po(e,t){return function(n,r){var o=Ua(n)?St:nr,i=t?t():{};return o(n,e,si(r,2),i)}}function jo(e){return Kr((function(t,r){var o=-1,i=r.length,a=i>1?r[i-1]:n,s=i>2?r[2]:n;for(a=e.length>3&&"function"==typeof a?(i--,a):n,s&&vi(r[0],r[1],s)&&(a=i<3?n:a,i=1),t=ke(t);++o<i;){var l=r[o];l&&e(t,l,o,a)}return t}))}function To(e,t){return function(n,r){if(null==n)return n;if(!qa(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=ke(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}function Mo(e){return function(t,n,r){for(var o=-1,i=ke(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}function No(e){return function(t){var r=on(t=vs(t))?dn(t):n,o=r?r[0]:t.charAt(0),i=r?xo(r,1).join(""):t.slice(1);return o[e]()+i}}function Lo(e){return function(t){return Nt(Xs(Ws(t).replace(Xe,"")),e,"")}}function Do(e){return function(){var t=arguments;switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3]);case 5:return new e(t[0],t[1],t[2],t[3],t[4]);case 6:return new e(t[0],t[1],t[2],t[3],t[4],t[5]);case 7:return new e(t[0],t[1],t[2],t[3],t[4],t[5],t[6])}var n=zn(e.prototype),r=e.apply(n,t);return es(r)?r:n}}function Io(e){return function(t,r,o){var i=ke(t);if(!qa(t)){var a=si(r,3);t=js(t),r=function(e){return a(i[e],e,i)}}var s=e(t,r,o);return s>-1?i[a?t[s]:s]:n}}function Fo(e){return ti((function(t){var o=t.length,i=o,a=Hn.prototype.thru;for(e&&t.reverse();i--;){var s=t[i];if("function"!=typeof s)throw new Re(r);if(a&&!l&&"wrapper"==ii(s))var l=new Hn([],!0)}for(i=l?i:o;++i<o;){var c=ii(s=t[i]),u="wrapper"==c?oi(s):n;l=u&&xi(u[0])&&424==u[1]&&!u[4].length&&1==u[9]?l[ii(u[0])].apply(l,u[3]):1==s.length&&xi(s)?l[c]():l.thru(s)}return function(){var e=arguments,n=e[0];if(l&&1==e.length&&Ua(n))return l.plant(n).value();for(var r=0,i=o?t[r].apply(this,e):n;++r<o;)i=t[r].call(this,i);return i}}))}function Bo(e,t,r,o,i,a,l,c,u,d){var f=t&s,h=1&t,p=2&t,m=24&t,g=512&t,y=p?n:Do(e);return function s(){for(var v=arguments.length,b=we(v),x=v;x--;)b[x]=arguments[x];if(m)var w=ai(s),C=function(e,t){for(var n=e.length,r=0;n--;)e[n]===t&&++r;return r}(b,w);if(o&&(b=ko(b,o,i,m)),a&&(b=_o(b,a,l,m)),v-=C,m&&v<d){var A=ln(b,w);return qo(e,t,Bo,s.placeholder,r,b,A,c,u,d-v)}var E=h?r:this,S=p?E[e]:e;return v=b.length,c?b=function(e,t){for(var r=e.length,o=vn(t.length,r),i=Oo(e);o--;){var a=t[o];e[o]=yi(a,r)?i[a]:n}return e}(b,c):g&&v>1&&b.reverse(),f&&u<v&&(b.length=u),this&&this!==ft&&this instanceof s&&(S=y||Do(S)),S.apply(E,b)}}function zo(e,t){return function(n,r){return function(e,t,n,r){return br(e,(function(e,o,i){t(r,n(e),o,i)})),r}(n,e,t(r),{})}}function Vo(e,t){return function(r,o){var i;if(r===n&&o===n)return t;if(r!==n&&(i=r),o!==n){if(i===n)return o;"string"==typeof r||"string"==typeof o?(r=so(r),o=so(o)):(r=ao(r),o=ao(o)),i=e(r,o)}return i}}function Ho(e){return ti((function(t){return t=Tt(t,Gt(si())),Kr((function(n){var r=this;return e(t,(function(e){return Et(e,r,n)}))}))}))}function Wo(e,t){var r=(t=t===n?" ":so(t)).length;if(r<2)return r?Yr(t,e):t;var o=Yr(t,pt(e/un(t)));return on(t)?xo(dn(o),0,e).join(""):o.slice(0,e)}function Uo(e){return function(t,r,o){return o&&"number"!=typeof o&&vi(t,r,o)&&(r=o=n),t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,n,r){for(var o=-1,i=yn(pt((t-e)/(n||1)),0),a=we(i);i--;)a[r?i:++o]=e,e+=n;return a}(t,r,o=o===n?t<r?1:-1:hs(o),e)}}function Zo(e){return function(t,n){return"string"==typeof t&&"string"==typeof n||(t=gs(t),n=gs(n)),e(t,n)}}function qo(e,t,r,o,i,s,l,c,u,d){var f=8&t;t|=f?a:64,4&(t&=~(f?64:a))||(t&=-4);var h=[e,t,i,f?s:n,f?l:n,f?n:s,f?n:l,c,u,d],p=r.apply(n,h);return xi(e)&&Oi(p,h),p.placeholder=o,ji(p,e,t)}function Yo(e){var t=Se[e];return function(e,n){if(e=gs(e),(n=null==n?0:vn(ps(n),292))&&Zt(e)){var r=(vs(e)+"e").split("e");return+((r=(vs(t(r[0]+"e"+(+r[1]+n)))+"e").split("e"))[0]+"e"+(+r[1]-n))}return t(e)}}var Ko=kn&&1/cn(new kn([,-0]))[1]==l?function(e){return new kn(e)}:ll;function Qo(e){return function(t){var n=hi(t);return n==C?an(t):n==_?function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=[e,e]})),n}(t):function(e,t){return Tt(t,(function(t){return[t,e[t]]}))}(t,e(t))}}function Go(e,t,o,l,c,u,d,f){var h=2&t;if(!h&&"function"!=typeof e)throw new Re(r);var p=l?l.length:0;if(p||(t&=-97,l=c=n),d=d===n?d:yn(ps(d),0),f=f===n?f:ps(f),p-=c?c.length:0,64&t){var m=l,g=c;l=c=n}var y=h?n:oi(e),v=[e,t,o,l,c,m,g,u,d,f];if(y&&function(e,t){var n=e[1],r=t[1],o=n|r,a=o<131,l=r==s&&8==n||r==s&&256==n&&e[7].length<=t[8]||384==r&&t[7].length<=t[8]&&8==n;if(!a&&!l)return e;1&r&&(e[2]=t[2],o|=1&n?0:4);var c=t[3];if(c){var u=e[3];e[3]=u?ko(u,c,t[4]):c,e[4]=u?ln(e[3],i):t[4]}(c=t[5])&&(u=e[5],e[5]=u?_o(u,c,t[6]):c,e[6]=u?ln(e[5],i):t[6]),(c=t[7])&&(e[7]=c),r&s&&(e[8]=null==e[8]?t[8]:vn(e[8],t[8])),null==e[9]&&(e[9]=t[9]),e[0]=t[0],e[1]=o}(v,y),e=v[0],t=v[1],o=v[2],l=v[3],c=v[4],!(f=v[9]=v[9]===n?h?0:e.length:yn(v[9]-p,0))&&24&t&&(t&=-25),t&&1!=t)b=8==t||16==t?function(e,t,r){var o=Do(e);return function i(){for(var a=arguments.length,s=we(a),l=a,c=ai(i);l--;)s[l]=arguments[l];var u=a<3&&s[0]!==c&&s[a-1]!==c?[]:ln(s,c);return(a-=u.length)<r?qo(e,t,Bo,i.placeholder,n,s,u,n,n,r-a):Et(this&&this!==ft&&this instanceof i?o:e,this,s)}}(e,t,f):t!=a&&33!=t||c.length?Bo.apply(n,v):function(e,t,n,r){var o=1&t,i=Do(e);return function t(){for(var a=-1,s=arguments.length,l=-1,c=r.length,u=we(c+s),d=this&&this!==ft&&this instanceof t?i:e;++l<c;)u[l]=r[l];for(;s--;)u[l++]=arguments[++a];return Et(d,o?n:this,u)}}(e,t,o,l);else var b=function(e,t,n){var r=1&t,o=Do(e);return function t(){return(this&&this!==ft&&this instanceof t?o:e).apply(r?n:this,arguments)}}(e,t,o);return ji((y?Jr:Oi)(b,v),e,t)}function Xo(e,t,r,o){return e===n||za(e,Te[r])&&!Le.call(o,r)?t:e}function Jo(e,t,r,o,i,a){return es(e)&&es(t)&&(a.set(t,e),zr(e,t,n,Jo,a),a.delete(t)),e}function $o(e){return os(e)?n:e}function ei(e,t,r,o,i,a){var s=1&r,l=e.length,c=t.length;if(l!=c&&!(s&&c>l))return!1;var u=a.get(e),d=a.get(t);if(u&&d)return u==t&&d==e;var f=-1,h=!0,p=2&r?new Yn:n;for(a.set(e,t),a.set(t,e);++f<l;){var m=e[f],g=t[f];if(o)var y=s?o(g,m,f,t,e,a):o(m,g,f,e,t,a);if(y!==n){if(y)continue;h=!1;break}if(p){if(!Dt(t,(function(e,t){if(!Jt(p,t)&&(m===e||i(m,e,r,o,a)))return p.push(t)}))){h=!1;break}}else if(m!==g&&!i(m,g,r,o,a)){h=!1;break}}return a.delete(e),a.delete(t),h}function ti(e){return Pi(Si(e,n,Zi),e+"")}function ni(e){return Ar(e,js,di)}function ri(e){return Ar(e,Ts,fi)}var oi=Rn?function(e){return Rn.get(e)}:ll;function ii(e){for(var t=e.name+"",n=Pn[t],r=Le.call(Pn,t)?n.length:0;r--;){var o=n[r],i=o.func;if(null==i||i==e)return o.name}return t}function ai(e){return(Le.call(Bn,"placeholder")?Bn:e).placeholder}function si(){var e=Bn.iteratee||ol;return e=e===ol?Nr:e,arguments.length?e(arguments[0],arguments[1]):e}function li(e,t){var n=e.__data__;return function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e}(t)?n["string"==typeof t?"string":"hash"]:n.map}function ci(e){for(var t=js(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,Ai(o)]}return t}function ui(e,t){var r=function(e,t){return null==e?n:e[t]}(e,t);return Mr(r)?r:n}var di=yt?function(e){return null==e?[]:(e=ke(e),Rt(yt(e),(function(t){return Ke.call(e,t)})))}:ml,fi=yt?function(e){for(var t=[];e;)Mt(t,di(e)),e=qe(e);return t}:ml,hi=Er;function pi(e,t,n){for(var r=-1,o=(t=vo(t,e)).length,i=!1;++r<o;){var a=Ii(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&$a(o)&&yi(a,o)&&(Ua(e)||Wa(e))}function mi(e){return"function"!=typeof e.constructor||Ci(e)?{}:zn(qe(e))}function gi(e){return Ua(e)||Wa(e)||!!(Ge&&e&&e[Ge])}function yi(e,t){var n=typeof e;return!!(t=t??c)&&("number"==n||"symbol"!=n&&ye.test(e))&&e>-1&&e%1==0&&e<t}function vi(e,t,n){if(!es(n))return!1;var r=typeof t;return!!("number"==r?qa(n)&&yi(t,n.length):"string"==r&&t in n)&&za(n[t],e)}function bi(e,t){if(Ua(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!ls(e))||$.test(e)||!J.test(e)||null!=t&&e in ke(t)}function xi(e){var t=ii(e),n=Bn[t];if("function"!=typeof n||!(t in Wn.prototype))return!1;if(e===n)return!0;var r=oi(n);return!!r&&e===r[0]}(An&&hi(new An(new ArrayBuffer(1)))!=T||En&&hi(new En)!=C||Sn&&hi(Sn.resolve())!=S||kn&&hi(new kn)!=_||_n&&hi(new _n)!=P)&&(hi=function(e){var t=Er(e),r=t==E?e.constructor:n,o=r?Fi(r):"";if(o)switch(o){case jn:return T;case Tn:return C;case Mn:return S;case Nn:return _;case Ln:return P}return t});var wi=Me?Xa:gl;function Ci(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||Te)}function Ai(e){return e==e&&!es(e)}function Ei(e,t){return function(r){return null!=r&&r[e]===t&&(t!==n||e in ke(r))}}function Si(e,t,r){return t=yn(t===n?e.length-1:t,0),function(){for(var n=arguments,o=-1,i=yn(n.length-t,0),a=we(i);++o<i;)a[o]=n[t+o];o=-1;for(var s=we(t+1);++o<t;)s[o]=n[o];return s[t]=r(a),Et(e,this,s)}}function ki(e,t){return t.length<2?e:Cr(e,to(t,0,-1))}function _i(e,t){if(("constructor"!==t||"function"!=typeof e[t])&&"__proto__"!=t)return e[t]}var Oi=Ti(Jr),Ri=ht||function(e,t){return ft.setTimeout(e,t)},Pi=Ti($r);function ji(e,t,n){var r=t+"";return Pi(e,function(e,t){var n=t.length;if(!n)return e;var r=n-1;return t[r]=(n>1?"& ":"")+t[r],t=t.join(n>2?", ":" "),e.replace(ie,"{\n/* [wrapped with "+t+"] */\n")}(r,function(e,t){return kt(p,(function(n){var r="_."+n[0];t&n[1]&&!Pt(e,r)&&e.push(r)})),e.sort()}(function(e){var t=e.match(ae);return t?t[1].split(se):[]}(r),n)))}function Ti(e){var t=0,r=0;return function(){var o=bn(),i=16-(o-r);if(r=o,i>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(n,arguments)}}function Mi(e,t){var r=-1,o=e.length,i=o-1;for(t=t===n?o:t;++r<t;){var a=qr(r,i),s=e[a];e[a]=e[r],e[r]=s}return e.length=t,e}var Ni,Li,Di=(Ni=Na((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(ee,(function(e,n,r,o){t.push(r?o.replace(ue,"$1"):n||e)})),t}),(function(e){return 500===Li.size&&Li.clear(),e})),Li=Ni.cache,Ni);function Ii(e){if("string"==typeof e||ls(e))return e;var t=e+"";return"0"==t&&1/e==-l?"-0":t}function Fi(e){if(null!=e){try{return Ne.call(e)}catch{}try{return e+""}catch{}}return""}function Bi(e){if(e instanceof Wn)return e.clone();var t=new Hn(e.__wrapped__,e.__chain__);return t.__actions__=Oo(e.__actions__),t.__index__=e.__index__,t.__values__=e.__values__,t}var zi=Kr((function(e,t){return Ya(e)?ur(e,gr(t,1,Ya,!0)):[]})),Vi=Kr((function(e,t){var r=Gi(t);return Ya(r)&&(r=n),Ya(e)?ur(e,gr(t,1,Ya,!0),si(r,2)):[]})),Hi=Kr((function(e,t){var r=Gi(t);return Ya(r)&&(r=n),Ya(e)?ur(e,gr(t,1,Ya,!0),n,r):[]}));function Wi(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ps(n);return o<0&&(o=yn(r+o,0)),Bt(e,si(t,3),o)}function Ui(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o-1;return r!==n&&(i=ps(r),i=r<0?yn(o+i,0):vn(i,o-1)),Bt(e,si(t,3),i,!0)}function Zi(e){return null!=e&&e.length?gr(e,1):[]}function qi(e){return e&&e.length?e[0]:n}var Yi=Kr((function(e){var t=Tt(e,go);return t.length&&t[0]===e[0]?Or(t):[]})),Ki=Kr((function(e){var t=Gi(e),r=Tt(e,go);return t===Gi(r)?t=n:r.pop(),r.length&&r[0]===e[0]?Or(r,si(t,2)):[]})),Qi=Kr((function(e){var t=Gi(e),r=Tt(e,go);return(t="function"==typeof t?t:n)&&r.pop(),r.length&&r[0]===e[0]?Or(r,n,t):[]}));function Gi(e){var t=null==e?0:e.length;return t?e[t-1]:n}var Xi=Kr(Ji);function Ji(e,t){return e&&e.length&&t&&t.length?Ur(e,t):e}var $i=ti((function(e,t){var n=null==e?0:e.length,r=ir(e,t);return Zr(e,Tt(t,(function(e){return yi(e,n)?+e:e})).sort(So)),r}));function ea(e){return null==e?e:Cn.call(e)}var ta=Kr((function(e){return lo(gr(e,1,Ya,!0))})),na=Kr((function(e){var t=Gi(e);return Ya(t)&&(t=n),lo(gr(e,1,Ya,!0),si(t,2))})),ra=Kr((function(e){var t=Gi(e);return t="function"==typeof t?t:n,lo(gr(e,1,Ya,!0),n,t)}));function oa(e){if(!e||!e.length)return[];var t=0;return e=Rt(e,(function(e){if(Ya(e))return t=yn(e.length,t),!0})),Kt(t,(function(t){return Tt(e,Ut(t))}))}function ia(e,t){if(!e||!e.length)return[];var r=oa(e);return null==t?r:Tt(r,(function(e){return Et(t,n,e)}))}var aa=Kr((function(e,t){return Ya(e)?ur(e,t):[]})),sa=Kr((function(e){return po(Rt(e,Ya))})),la=Kr((function(e){var t=Gi(e);return Ya(t)&&(t=n),po(Rt(e,Ya),si(t,2))})),ca=Kr((function(e){var t=Gi(e);return t="function"==typeof t?t:n,po(Rt(e,Ya),n,t)})),ua=Kr(oa),da=Kr((function(e){var t=e.length,r=t>1?e[t-1]:n;return r="function"==typeof r?(e.pop(),r):n,ia(e,r)}));function fa(e){var t=Bn(e);return t.__chain__=!0,t}function ha(e,t){return t(e)}var pa=ti((function(e){var t=e.length,r=t?e[0]:0,o=this.__wrapped__,i=function(t){return ir(t,e)};return!(t>1||this.__actions__.length)&&o instanceof Wn&&yi(r)?((o=o.slice(r,+r+(t?1:0))).__actions__.push({func:ha,args:[i],thisArg:n}),new Hn(o,this.__chain__).thru((function(e){return t&&!e.length&&e.push(n),e}))):this.thru(i)})),ma=Po((function(e,t,n){Le.call(e,n)?++e[n]:or(e,n,1)})),ga=Io(Wi),ya=Io(Ui);function va(e,t){return(Ua(e)?kt:dr)(e,si(t,3))}function ba(e,t){return(Ua(e)?_t:fr)(e,si(t,3))}var xa=Po((function(e,t,n){Le.call(e,n)?e[n].push(t):or(e,n,[t])})),wa=Kr((function(e,t,n){var r=-1,o="function"==typeof t,i=qa(e)?we(e.length):[];return dr(e,(function(e){i[++r]=o?Et(t,e,n):Rr(e,t,n)})),i})),Ca=Po((function(e,t,n){or(e,n,t)}));function Aa(e,t){return(Ua(e)?Tt:Ir)(e,si(t,3))}var Ea=Po((function(e,t,n){e[n?0:1].push(t)}),(function(){return[[],[]]})),Sa=Kr((function(e,t){if(null==e)return[];var n=t.length;return n>1&&vi(e,t[0],t[1])?t=[]:n>2&&vi(t[0],t[1],t[2])&&(t=[t[0]]),Hr(e,gr(t,1),[])})),ka=dt||function(){return ft.Date.now()};function _a(e,t,r){return t=r?n:t,t=e&&null==t?e.length:t,Go(e,s,n,n,n,n,t)}function Oa(e,t){var o;if("function"!=typeof t)throw new Re(r);return e=ps(e),function(){return--e>0&&(o=t.apply(this,arguments)),e<=1&&(t=n),o}}var Ra=Kr((function(e,t,n){var r=1;if(n.length){var o=ln(n,ai(Ra));r|=a}return Go(e,r,t,n,o)})),Pa=Kr((function(e,t,n){var r=3;if(n.length){var o=ln(n,ai(Pa));r|=a}return Go(t,r,e,n,o)}));function ja(e,t,o){var i,a,s,l,c,u,d=0,f=!1,h=!1,p=!0;if("function"!=typeof e)throw new Re(r);function m(t){var r=i,o=a;return i=a=n,d=t,l=e.apply(o,r)}function g(e){var r=e-u;return u===n||r>=t||r<0||h&&e-d>=s}function y(){var e=ka();if(g(e))return v(e);c=Ri(y,function(e){var n=t-(e-u);return h?vn(n,s-(e-d)):n}(e))}function v(e){return c=n,p&&i?m(e):(i=a=n,l)}function b(){var e=ka(),r=g(e);if(i=arguments,a=this,u=e,r){if(c===n)return function(e){return d=e,c=Ri(y,t),f?m(e):l}(u);if(h)return wo(c),c=Ri(y,t),m(u)}return c===n&&(c=Ri(y,t)),l}return t=gs(t)||0,es(o)&&(f=!!o.leading,s=(h="maxWait"in o)?yn(gs(o.maxWait)||0,t):s,p="trailing"in o?!!o.trailing:p),b.cancel=function(){c!==n&&wo(c),d=0,i=u=a=c=n},b.flush=function(){return c===n?l:v(ka())},b}var Ta=Kr((function(e,t){return cr(e,1,t)})),Ma=Kr((function(e,t,n){return cr(e,gs(t)||0,n)}));function Na(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new Re(r);var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(Na.Cache||qn),n}function La(e){if("function"!=typeof e)throw new Re(r);return function(){var t=arguments;switch(t.length){case 0:return!e.call(this);case 1:return!e.call(this,t[0]);case 2:return!e.call(this,t[0],t[1]);case 3:return!e.call(this,t[0],t[1],t[2])}return!e.apply(this,t)}}Na.Cache=qn;var Da=bo((function(e,t){var n=(t=1==t.length&&Ua(t[0])?Tt(t[0],Gt(si())):Tt(gr(t,1),Gt(si()))).length;return Kr((function(r){for(var o=-1,i=vn(r.length,n);++o<i;)r[o]=t[o].call(this,r[o]);return Et(e,this,r)}))})),Ia=Kr((function(e,t){var r=ln(t,ai(Ia));return Go(e,a,n,t,r)})),Fa=Kr((function(e,t){var r=ln(t,ai(Fa));return Go(e,64,n,t,r)})),Ba=ti((function(e,t){return Go(e,256,n,n,n,t)}));function za(e,t){return e===t||e!=e&&t!=t}var Va=Zo(Sr),Ha=Zo((function(e,t){return e>=t})),Wa=Pr(function(){return arguments}())?Pr:function(e){return ts(e)&&Le.call(e,"callee")&&!Ke.call(e,"callee")},Ua=we.isArray,Za=vt?Gt(vt):function(e){return ts(e)&&Er(e)==j};function qa(e){return null!=e&&$a(e.length)&&!Xa(e)}function Ya(e){return ts(e)&&qa(e)}var Ka=It||gl,Qa=bt?Gt(bt):function(e){return ts(e)&&Er(e)==v};function Ga(e){if(!ts(e))return!1;var t=Er(e);return t==b||"[object DOMException]"==t||"string"==typeof e.message&&"string"==typeof e.name&&!os(e)}function Xa(e){if(!es(e))return!1;var t=Er(e);return t==x||t==w||"[object AsyncFunction]"==t||"[object Proxy]"==t}function Ja(e){return"number"==typeof e&&e==ps(e)}function $a(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=c}function es(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)}function ts(e){return null!=e&&"object"==typeof e}var ns=xt?Gt(xt):function(e){return ts(e)&&hi(e)==C};function rs(e){return"number"==typeof e||ts(e)&&Er(e)==A}function os(e){if(!ts(e)||Er(e)!=E)return!1;var t=qe(e);if(null===t)return!0;var n=Le.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&Ne.call(n)==Be}var is=wt?Gt(wt):function(e){return ts(e)&&Er(e)==k},as=Ct?Gt(Ct):function(e){return ts(e)&&hi(e)==_};function ss(e){return"string"==typeof e||!Ua(e)&&ts(e)&&Er(e)==O}function ls(e){return"symbol"==typeof e||ts(e)&&Er(e)==R}var cs=At?Gt(At):function(e){return ts(e)&&$a(e.length)&&!!it[Er(e)]},us=Zo(Dr),ds=Zo((function(e,t){return e<=t}));function fs(e){if(!e)return[];if(qa(e))return ss(e)?dn(e):Oo(e);if($e&&e[$e])return function(e){for(var t,n=[];!(t=e.next()).done;)n.push(t.value);return n}(e[$e]());var t=hi(e);return(t==C?an:t==_?cn:zs)(e)}function hs(e){return e?(e=gs(e))===l||e===-l?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0}function ps(e){var t=hs(e),n=t%1;return t==t?n?t-n:t:0}function ms(e){return e?ar(ps(e),0,d):0}function gs(e){if("number"==typeof e)return e;if(ls(e))return u;if(es(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=es(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=Qt(e);var n=pe.test(e);return n||ge.test(e)?ct(e.slice(2),n?2:8):he.test(e)?u:+e}function ys(e){return Ro(e,Ts(e))}function vs(e){return null==e?"":so(e)}var bs=jo((function(e,t){if(Ci(t)||qa(t))Ro(t,js(t),e);else for(var n in t)Le.call(t,n)&&er(e,n,t[n])})),xs=jo((function(e,t){Ro(t,Ts(t),e)})),ws=jo((function(e,t,n,r){Ro(t,Ts(t),e,r)})),Cs=jo((function(e,t,n,r){Ro(t,js(t),e,r)})),As=ti(ir),Es=Kr((function(e,t){e=ke(e);var r=-1,o=t.length,i=o>2?t[2]:n;for(i&&vi(t[0],t[1],i)&&(o=1);++r<o;)for(var a=t[r],s=Ts(a),l=-1,c=s.length;++l<c;){var u=s[l],d=e[u];(d===n||za(d,Te[u])&&!Le.call(e,u))&&(e[u]=a[u])}return e})),Ss=Kr((function(e){return e.push(n,Jo),Et(Ns,n,e)}));function ks(e,t,r){var o=null==e?n:Cr(e,t);return o===n?r:o}function _s(e,t){return null!=e&&pi(e,t,_r)}var Os=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),e[t]=n}),el(rl)),Rs=zo((function(e,t,n){null!=t&&"function"!=typeof t.toString&&(t=Fe.call(t)),Le.call(e,t)?e[t].push(n):e[t]=[n]}),si),Ps=Kr(Rr);function js(e){return qa(e)?Qn(e):Lr(e)}function Ts(e){return qa(e)?Qn(e,!0):function(e){if(!es(e))return function(e){var t=[];if(null!=e)for(var n in ke(e))t.push(n);return t}(e);var t=Ci(e),n=[];for(var r in e)"constructor"==r&&(t||!Le.call(e,r))||n.push(r);return n}(e)}var Ms=jo((function(e,t,n){zr(e,t,n)})),Ns=jo((function(e,t,n,r){zr(e,t,n,r)})),Ls=ti((function(e,t){var n={};if(null==e)return n;var r=!1;t=Tt(t,(function(t){return t=vo(t,e),r||(r=t.length>1),t})),Ro(e,ri(e),n),r&&(n=sr(n,7,$o));for(var o=t.length;o--;)co(n,t[o]);return n})),Ds=ti((function(e,t){return null==e?{}:function(e,t){return Wr(e,t,(function(t,n){return _s(e,n)}))}(e,t)}));function Is(e,t){if(null==e)return{};var n=Tt(ri(e),(function(e){return[e]}));return t=si(t),Wr(e,n,(function(e,n){return t(e,n[0])}))}var Fs=Qo(js),Bs=Qo(Ts);function zs(e){return null==e?[]:Xt(e,js(e))}var Vs=Lo((function(e,t,n){return t=t.toLowerCase(),e+(n?Hs(t):t)}));function Hs(e){return Gs(vs(e).toLowerCase())}function Ws(e){return(e=vs(e))&&e.replace(ve,tn).replace(Je,"")}var Us=Lo((function(e,t,n){return e+(n?"-":"")+t.toLowerCase()})),Zs=Lo((function(e,t,n){return e+(n?" ":"")+t.toLowerCase()})),qs=No("toLowerCase"),Ys=Lo((function(e,t,n){return e+(n?"_":"")+t.toLowerCase()})),Ks=Lo((function(e,t,n){return e+(n?" ":"")+Gs(t)})),Qs=Lo((function(e,t,n){return e+(n?" ":"")+t.toUpperCase()})),Gs=No("toUpperCase");function Xs(e,t,r){return e=vs(e),(t=r?n:t)===n?function(e){return nt.test(e)}(e)?function(e){return e.match(et)||[]}(e):function(e){return e.match(le)||[]}(e):e.match(t)||[]}var Js=Kr((function(e,t){try{return Et(e,n,t)}catch(e){return Ga(e)?e:new Ae(e)}})),$s=ti((function(e,t){return kt(t,(function(t){t=Ii(t),or(e,t,Ra(e[t],e))})),e}));function el(e){return function(){return e}}var tl=Fo(),nl=Fo(!0);function rl(e){return e}function ol(e){return Nr("function"==typeof e?e:sr(e,1))}var il=Kr((function(e,t){return function(n){return Rr(n,e,t)}})),al=Kr((function(e,t){return function(n){return Rr(e,n,t)}}));function sl(e,t,n){var r=js(t),o=wr(t,r);null==n&&(!es(t)||!o.length&&r.length)&&(n=t,t=e,e=this,o=wr(t,js(t)));var i=!(es(n)&&"chain"in n&&!n.chain),a=Xa(e);return kt(o,(function(n){var r=t[n];e[n]=r,a&&(e.prototype[n]=function(){var t=this.__chain__;if(i||t){var n=e(this.__wrapped__);return(n.__actions__=Oo(this.__actions__)).push({func:r,args:arguments,thisArg:e}),n.__chain__=t,n}return r.apply(e,Mt([this.value()],arguments))})})),e}function ll(){}var cl=Ho(Tt),ul=Ho(Ot),dl=Ho(Dt);function fl(e){return bi(e)?Ut(Ii(e)):function(e){return function(t){return Cr(t,e)}}(e)}var hl=Uo(),pl=Uo(!0);function ml(){return[]}function gl(){return!1}var yl=Vo((function(e,t){return e+t}),0),vl=Yo("ceil"),bl=Vo((function(e,t){return e/t}),1),xl=Yo("floor"),wl=Vo((function(e,t){return e*t}),1),Cl=Yo("round"),Al=Vo((function(e,t){return e-t}),0);return Bn.after=function(e,t){if("function"!=typeof t)throw new Re(r);return e=ps(e),function(){if(--e<1)return t.apply(this,arguments)}},Bn.ary=_a,Bn.assign=bs,Bn.assignIn=xs,Bn.assignInWith=ws,Bn.assignWith=Cs,Bn.at=As,Bn.before=Oa,Bn.bind=Ra,Bn.bindAll=$s,Bn.bindKey=Pa,Bn.castArray=function(){if(!arguments.length)return[];var e=arguments[0];return Ua(e)?e:[e]},Bn.chain=fa,Bn.chunk=function(e,t,r){t=(r?vi(e,t,r):t===n)?1:yn(ps(t),0);var o=null==e?0:e.length;if(!o||t<1)return[];for(var i=0,a=0,s=we(pt(o/t));i<o;)s[a++]=to(e,i,i+=t);return s},Bn.compact=function(e){for(var t=-1,n=null==e?0:e.length,r=0,o=[];++t<n;){var i=e[t];i&&(o[r++]=i)}return o},Bn.concat=function(){var e=arguments.length;if(!e)return[];for(var t=we(e-1),n=arguments[0],r=e;r--;)t[r-1]=arguments[r];return Mt(Ua(n)?Oo(n):[n],gr(t,1))},Bn.cond=function(e){var t=null==e?0:e.length,n=si();return e=t?Tt(e,(function(e){if("function"!=typeof e[1])throw new Re(r);return[n(e[0]),e[1]]})):[],Kr((function(n){for(var r=-1;++r<t;){var o=e[r];if(Et(o[0],this,n))return Et(o[1],this,n)}}))},Bn.conforms=function(e){return function(e){var t=js(e);return function(n){return lr(n,e,t)}}(sr(e,1))},Bn.constant=el,Bn.countBy=ma,Bn.create=function(e,t){var n=zn(e);return null==t?n:rr(n,t)},Bn.curry=function e(t,r,o){var i=Go(t,8,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Bn.curryRight=function e(t,r,o){var i=Go(t,16,n,n,n,n,n,r=o?n:r);return i.placeholder=e.placeholder,i},Bn.debounce=ja,Bn.defaults=Es,Bn.defaultsDeep=Ss,Bn.defer=Ta,Bn.delay=Ma,Bn.difference=zi,Bn.differenceBy=Vi,Bn.differenceWith=Hi,Bn.drop=function(e,t,r){var o=null==e?0:e.length;return o?to(e,(t=r||t===n?1:ps(t))<0?0:t,o):[]},Bn.dropRight=function(e,t,r){var o=null==e?0:e.length;return o?to(e,0,(t=o-(t=r||t===n?1:ps(t)))<0?0:t):[]},Bn.dropRightWhile=function(e,t){return e&&e.length?fo(e,si(t,3),!0,!0):[]},Bn.dropWhile=function(e,t){return e&&e.length?fo(e,si(t,3),!0):[]},Bn.fill=function(e,t,r,o){var i=null==e?0:e.length;return i?(r&&"number"!=typeof r&&vi(e,t,r)&&(r=0,o=i),function(e,t,r,o){var i=e.length;for((r=ps(r))<0&&(r=-r>i?0:i+r),(o=o===n||o>i?i:ps(o))<0&&(o+=i),o=r>o?0:ms(o);r<o;)e[r++]=t;return e}(e,t,r,o)):[]},Bn.filter=function(e,t){return(Ua(e)?Rt:mr)(e,si(t,3))},Bn.flatMap=function(e,t){return gr(Aa(e,t),1)},Bn.flatMapDeep=function(e,t){return gr(Aa(e,t),l)},Bn.flatMapDepth=function(e,t,r){return r=r===n?1:ps(r),gr(Aa(e,t),r)},Bn.flatten=Zi,Bn.flattenDeep=function(e){return null!=e&&e.length?gr(e,l):[]},Bn.flattenDepth=function(e,t){return null!=e&&e.length?gr(e,t=t===n?1:ps(t)):[]},Bn.flip=function(e){return Go(e,512)},Bn.flow=tl,Bn.flowRight=nl,Bn.fromPairs=function(e){for(var t=-1,n=null==e?0:e.length,r={};++t<n;){var o=e[t];r[o[0]]=o[1]}return r},Bn.functions=function(e){return null==e?[]:wr(e,js(e))},Bn.functionsIn=function(e){return null==e?[]:wr(e,Ts(e))},Bn.groupBy=xa,Bn.initial=function(e){return null!=e&&e.length?to(e,0,-1):[]},Bn.intersection=Yi,Bn.intersectionBy=Ki,Bn.intersectionWith=Qi,Bn.invert=Os,Bn.invertBy=Rs,Bn.invokeMap=wa,Bn.iteratee=ol,Bn.keyBy=Ca,Bn.keys=js,Bn.keysIn=Ts,Bn.map=Aa,Bn.mapKeys=function(e,t){var n={};return t=si(t,3),br(e,(function(e,r,o){or(n,t(e,r,o),e)})),n},Bn.mapValues=function(e,t){var n={};return t=si(t,3),br(e,(function(e,r,o){or(n,r,t(e,r,o))})),n},Bn.matches=function(e){return Fr(sr(e,1))},Bn.matchesProperty=function(e,t){return Br(e,sr(t,1))},Bn.memoize=Na,Bn.merge=Ms,Bn.mergeWith=Ns,Bn.method=il,Bn.methodOf=al,Bn.mixin=sl,Bn.negate=La,Bn.nthArg=function(e){return e=ps(e),Kr((function(t){return Vr(t,e)}))},Bn.omit=Ls,Bn.omitBy=function(e,t){return Is(e,La(si(t)))},Bn.once=function(e){return Oa(2,e)},Bn.orderBy=function(e,t,r,o){return null==e?[]:(Ua(t)||(t=null==t?[]:[t]),Ua(r=o?n:r)||(r=null==r?[]:[r]),Hr(e,t,r))},Bn.over=cl,Bn.overArgs=Da,Bn.overEvery=ul,Bn.overSome=dl,Bn.partial=Ia,Bn.partialRight=Fa,Bn.partition=Ea,Bn.pick=Ds,Bn.pickBy=Is,Bn.property=fl,Bn.propertyOf=function(e){return function(t){return null==e?n:Cr(e,t)}},Bn.pull=Xi,Bn.pullAll=Ji,Bn.pullAllBy=function(e,t,n){return e&&e.length&&t&&t.length?Ur(e,t,si(n,2)):e},Bn.pullAllWith=function(e,t,r){return e&&e.length&&t&&t.length?Ur(e,t,n,r):e},Bn.pullAt=$i,Bn.range=hl,Bn.rangeRight=pl,Bn.rearg=Ba,Bn.reject=function(e,t){return(Ua(e)?Rt:mr)(e,La(si(t,3)))},Bn.remove=function(e,t){var n=[];if(!e||!e.length)return n;var r=-1,o=[],i=e.length;for(t=si(t,3);++r<i;){var a=e[r];t(a,r,e)&&(n.push(a),o.push(r))}return Zr(e,o),n},Bn.rest=function(e,t){if("function"!=typeof e)throw new Re(r);return Kr(e,t=t===n?t:ps(t))},Bn.reverse=ea,Bn.sampleSize=function(e,t,r){return t=(r?vi(e,t,r):t===n)?1:ps(t),(Ua(e)?Xn:Gr)(e,t)},Bn.set=function(e,t,n){return null==e?e:Xr(e,t,n)},Bn.setWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:Xr(e,t,r,o)},Bn.shuffle=function(e){return(Ua(e)?Jn:eo)(e)},Bn.slice=function(e,t,r){var o=null==e?0:e.length;return o?(r&&"number"!=typeof r&&vi(e,t,r)?(t=0,r=o):(t=null==t?0:ps(t),r=r===n?o:ps(r)),to(e,t,r)):[]},Bn.sortBy=Sa,Bn.sortedUniq=function(e){return e&&e.length?io(e):[]},Bn.sortedUniqBy=function(e,t){return e&&e.length?io(e,si(t,2)):[]},Bn.split=function(e,t,r){return r&&"number"!=typeof r&&vi(e,t,r)&&(t=r=n),(r=r===n?d:r>>>0)?(e=vs(e))&&("string"==typeof t||null!=t&&!is(t))&&!(t=so(t))&&on(e)?xo(dn(e),0,r):e.split(t,r):[]},Bn.spread=function(e,t){if("function"!=typeof e)throw new Re(r);return t=null==t?0:yn(ps(t),0),Kr((function(n){var r=n[t],o=xo(n,0,t);return r&&Mt(o,r),Et(e,this,o)}))},Bn.tail=function(e){var t=null==e?0:e.length;return t?to(e,1,t):[]},Bn.take=function(e,t,r){return e&&e.length?to(e,0,(t=r||t===n?1:ps(t))<0?0:t):[]},Bn.takeRight=function(e,t,r){var o=null==e?0:e.length;return o?to(e,(t=o-(t=r||t===n?1:ps(t)))<0?0:t,o):[]},Bn.takeRightWhile=function(e,t){return e&&e.length?fo(e,si(t,3),!1,!0):[]},Bn.takeWhile=function(e,t){return e&&e.length?fo(e,si(t,3)):[]},Bn.tap=function(e,t){return t(e),e},Bn.throttle=function(e,t,n){var o=!0,i=!0;if("function"!=typeof e)throw new Re(r);return es(n)&&(o="leading"in n?!!n.leading:o,i="trailing"in n?!!n.trailing:i),ja(e,t,{leading:o,maxWait:t,trailing:i})},Bn.thru=ha,Bn.toArray=fs,Bn.toPairs=Fs,Bn.toPairsIn=Bs,Bn.toPath=function(e){return Ua(e)?Tt(e,Ii):ls(e)?[e]:Oo(Di(vs(e)))},Bn.toPlainObject=ys,Bn.transform=function(e,t,n){var r=Ua(e),o=r||Ka(e)||cs(e);if(t=si(t,4),null==n){var i=e&&e.constructor;n=o?r?new i:[]:es(e)&&Xa(i)?zn(qe(e)):{}}return(o?kt:br)(e,(function(e,r,o){return t(n,e,r,o)})),n},Bn.unary=function(e){return _a(e,1)},Bn.union=ta,Bn.unionBy=na,Bn.unionWith=ra,Bn.uniq=function(e){return e&&e.length?lo(e):[]},Bn.uniqBy=function(e,t){return e&&e.length?lo(e,si(t,2)):[]},Bn.uniqWith=function(e,t){return t="function"==typeof t?t:n,e&&e.length?lo(e,n,t):[]},Bn.unset=function(e,t){return null==e||co(e,t)},Bn.unzip=oa,Bn.unzipWith=ia,Bn.update=function(e,t,n){return null==e?e:uo(e,t,yo(n))},Bn.updateWith=function(e,t,r,o){return o="function"==typeof o?o:n,null==e?e:uo(e,t,yo(r),o)},Bn.values=zs,Bn.valuesIn=function(e){return null==e?[]:Xt(e,Ts(e))},Bn.without=aa,Bn.words=Xs,Bn.wrap=function(e,t){return Ia(yo(t),e)},Bn.xor=sa,Bn.xorBy=la,Bn.xorWith=ca,Bn.zip=ua,Bn.zipObject=function(e,t){return mo(e||[],t||[],er)},Bn.zipObjectDeep=function(e,t){return mo(e||[],t||[],Xr)},Bn.zipWith=da,Bn.entries=Fs,Bn.entriesIn=Bs,Bn.extend=xs,Bn.extendWith=ws,sl(Bn,Bn),Bn.add=yl,Bn.attempt=Js,Bn.camelCase=Vs,Bn.capitalize=Hs,Bn.ceil=vl,Bn.clamp=function(e,t,r){return r===n&&(r=t,t=n),r!==n&&(r=(r=gs(r))==r?r:0),t!==n&&(t=(t=gs(t))==t?t:0),ar(gs(e),t,r)},Bn.clone=function(e){return sr(e,4)},Bn.cloneDeep=function(e){return sr(e,5)},Bn.cloneDeepWith=function(e,t){return sr(e,5,t="function"==typeof t?t:n)},Bn.cloneWith=function(e,t){return sr(e,4,t="function"==typeof t?t:n)},Bn.conformsTo=function(e,t){return null==t||lr(e,t,js(t))},Bn.deburr=Ws,Bn.defaultTo=function(e,t){return null==e||e!=e?t:e},Bn.divide=bl,Bn.endsWith=function(e,t,r){e=vs(e),t=so(t);var o=e.length,i=r=r===n?o:ar(ps(r),0,o);return(r-=t.length)>=0&&e.slice(r,i)==t},Bn.eq=za,Bn.escape=function(e){return(e=vs(e))&&K.test(e)?e.replace(q,nn):e},Bn.escapeRegExp=function(e){return(e=vs(e))&&ne.test(e)?e.replace(te,"\\$&"):e},Bn.every=function(e,t,r){var o=Ua(e)?Ot:hr;return r&&vi(e,t,r)&&(t=n),o(e,si(t,3))},Bn.find=ga,Bn.findIndex=Wi,Bn.findKey=function(e,t){return Ft(e,si(t,3),br)},Bn.findLast=ya,Bn.findLastIndex=Ui,Bn.findLastKey=function(e,t){return Ft(e,si(t,3),xr)},Bn.floor=xl,Bn.forEach=va,Bn.forEachRight=ba,Bn.forIn=function(e,t){return null==e?e:yr(e,si(t,3),Ts)},Bn.forInRight=function(e,t){return null==e?e:vr(e,si(t,3),Ts)},Bn.forOwn=function(e,t){return e&&br(e,si(t,3))},Bn.forOwnRight=function(e,t){return e&&xr(e,si(t,3))},Bn.get=ks,Bn.gt=Va,Bn.gte=Ha,Bn.has=function(e,t){return null!=e&&pi(e,t,kr)},Bn.hasIn=_s,Bn.head=qi,Bn.identity=rl,Bn.includes=function(e,t,n,r){e=qa(e)?e:zs(e),n=n&&!r?ps(n):0;var o=e.length;return n<0&&(n=yn(o+n,0)),ss(e)?n<=o&&e.indexOf(t,n)>-1:!!o&&zt(e,t,n)>-1},Bn.indexOf=function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:ps(n);return o<0&&(o=yn(r+o,0)),zt(e,t,o)},Bn.inRange=function(e,t,r){return t=hs(t),r===n?(r=t,t=0):r=hs(r),function(e,t,n){return e>=vn(t,n)&&e<yn(t,n)}(e=gs(e),t,r)},Bn.invoke=Ps,Bn.isArguments=Wa,Bn.isArray=Ua,Bn.isArrayBuffer=Za,Bn.isArrayLike=qa,Bn.isArrayLikeObject=Ya,Bn.isBoolean=function(e){return!0===e||!1===e||ts(e)&&Er(e)==y},Bn.isBuffer=Ka,Bn.isDate=Qa,Bn.isElement=function(e){return ts(e)&&1===e.nodeType&&!os(e)},Bn.isEmpty=function(e){if(null==e)return!0;if(qa(e)&&(Ua(e)||"string"==typeof e||"function"==typeof e.splice||Ka(e)||cs(e)||Wa(e)))return!e.length;var t=hi(e);if(t==C||t==_)return!e.size;if(Ci(e))return!Lr(e).length;for(var n in e)if(Le.call(e,n))return!1;return!0},Bn.isEqual=function(e,t){return jr(e,t)},Bn.isEqualWith=function(e,t,r){var o=(r="function"==typeof r?r:n)?r(e,t):n;return o===n?jr(e,t,n,r):!!o},Bn.isError=Ga,Bn.isFinite=function(e){return"number"==typeof e&&Zt(e)},Bn.isFunction=Xa,Bn.isInteger=Ja,Bn.isLength=$a,Bn.isMap=ns,Bn.isMatch=function(e,t){return e===t||Tr(e,t,ci(t))},Bn.isMatchWith=function(e,t,r){return r="function"==typeof r?r:n,Tr(e,t,ci(t),r)},Bn.isNaN=function(e){return rs(e)&&e!=+e},Bn.isNative=function(e){if(wi(e))throw new Ae("Unsupported core-js use. Try https://npms.io/search?q=ponyfill.");return Mr(e)},Bn.isNil=function(e){return null==e},Bn.isNull=function(e){return null===e},Bn.isNumber=rs,Bn.isObject=es,Bn.isObjectLike=ts,Bn.isPlainObject=os,Bn.isRegExp=is,Bn.isSafeInteger=function(e){return Ja(e)&&e>=-c&&e<=c},Bn.isSet=as,Bn.isString=ss,Bn.isSymbol=ls,Bn.isTypedArray=cs,Bn.isUndefined=function(e){return e===n},Bn.isWeakMap=function(e){return ts(e)&&hi(e)==P},Bn.isWeakSet=function(e){return ts(e)&&"[object WeakSet]"==Er(e)},Bn.join=function(e,t){return null==e?"":mn.call(e,t)},Bn.kebabCase=Us,Bn.last=Gi,Bn.lastIndexOf=function(e,t,r){var o=null==e?0:e.length;if(!o)return-1;var i=o;return r!==n&&(i=(i=ps(r))<0?yn(o+i,0):vn(i,o-1)),t==t?function(e,t,n){for(var r=n+1;r--;)if(e[r]===t)return r;return r}(e,t,i):Bt(e,Ht,i,!0)},Bn.lowerCase=Zs,Bn.lowerFirst=qs,Bn.lt=us,Bn.lte=ds,Bn.max=function(e){return e&&e.length?pr(e,rl,Sr):n},Bn.maxBy=function(e,t){return e&&e.length?pr(e,si(t,2),Sr):n},Bn.mean=function(e){return Wt(e,rl)},Bn.meanBy=function(e,t){return Wt(e,si(t,2))},Bn.min=function(e){return e&&e.length?pr(e,rl,Dr):n},Bn.minBy=function(e,t){return e&&e.length?pr(e,si(t,2),Dr):n},Bn.stubArray=ml,Bn.stubFalse=gl,Bn.stubObject=function(){return{}},Bn.stubString=function(){return""},Bn.stubTrue=function(){return!0},Bn.multiply=wl,Bn.nth=function(e,t){return e&&e.length?Vr(e,ps(t)):n},Bn.noConflict=function(){return ft._===this&&(ft._=ze),this},Bn.noop=ll,Bn.now=ka,Bn.pad=function(e,t,n){e=vs(e);var r=(t=ps(t))?un(e):0;if(!t||r>=t)return e;var o=(t-r)/2;return Wo(gt(o),n)+e+Wo(pt(o),n)},Bn.padEnd=function(e,t,n){e=vs(e);var r=(t=ps(t))?un(e):0;return t&&r<t?e+Wo(t-r,n):e},Bn.padStart=function(e,t,n){e=vs(e);var r=(t=ps(t))?un(e):0;return t&&r<t?Wo(t-r,n)+e:e},Bn.parseInt=function(e,t,n){return n||null==t?t=0:t&&(t=+t),xn(vs(e).replace(re,""),t||0)},Bn.random=function(e,t,r){if(r&&"boolean"!=typeof r&&vi(e,t,r)&&(t=r=n),r===n&&("boolean"==typeof t?(r=t,t=n):"boolean"==typeof e&&(r=e,e=n)),e===n&&t===n?(e=0,t=1):(e=hs(e),t===n?(t=e,e=0):t=hs(t)),e>t){var o=e;e=t,t=o}if(r||e%1||t%1){var i=wn();return vn(e+i*(t-e+lt("1e-"+((i+"").length-1))),t)}return qr(e,t)},Bn.reduce=function(e,t,n){var r=Ua(e)?Nt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,dr)},Bn.reduceRight=function(e,t,n){var r=Ua(e)?Lt:qt,o=arguments.length<3;return r(e,si(t,4),n,o,fr)},Bn.repeat=function(e,t,r){return t=(r?vi(e,t,r):t===n)?1:ps(t),Yr(vs(e),t)},Bn.replace=function(){var e=arguments,t=vs(e[0]);return e.length<3?t:t.replace(e[1],e[2])},Bn.result=function(e,t,r){var o=-1,i=(t=vo(t,e)).length;for(i||(i=1,e=n);++o<i;){var a=null==e?n:e[Ii(t[o])];a===n&&(o=i,a=r),e=Xa(a)?a.call(e):a}return e},Bn.round=Cl,Bn.runInContext=e,Bn.sample=function(e){return(Ua(e)?Gn:Qr)(e)},Bn.size=function(e){if(null==e)return 0;if(qa(e))return ss(e)?un(e):e.length;var t=hi(e);return t==C||t==_?e.size:Lr(e).length},Bn.snakeCase=Ys,Bn.some=function(e,t,r){var o=Ua(e)?Dt:no;return r&&vi(e,t,r)&&(t=n),o(e,si(t,3))},Bn.sortedIndex=function(e,t){return ro(e,t)},Bn.sortedIndexBy=function(e,t,n){return oo(e,t,si(n,2))},Bn.sortedIndexOf=function(e,t){var n=null==e?0:e.length;if(n){var r=ro(e,t);if(r<n&&za(e[r],t))return r}return-1},Bn.sortedLastIndex=function(e,t){return ro(e,t,!0)},Bn.sortedLastIndexBy=function(e,t,n){return oo(e,t,si(n,2),!0)},Bn.sortedLastIndexOf=function(e,t){if(null!=e&&e.length){var n=ro(e,t,!0)-1;if(za(e[n],t))return n}return-1},Bn.startCase=Ks,Bn.startsWith=function(e,t,n){return e=vs(e),n=null==n?0:ar(ps(n),0,e.length),t=so(t),e.slice(n,n+t.length)==t},Bn.subtract=Al,Bn.sum=function(e){return e&&e.length?Yt(e,rl):0},Bn.sumBy=function(e,t){return e&&e.length?Yt(e,si(t,2)):0},Bn.template=function(e,t,r){var o=Bn.templateSettings;r&&vi(e,t,r)&&(t=n),e=vs(e),t=ws({},t,o,Xo);var i,a,s=ws({},t.imports,o.imports,Xo),l=js(s),c=Xt(s,l),u=0,d=t.interpolate||be,f="__p += '",h=_e((t.escape||be).source+"|"+d.source+"|"+(d===X?de:be).source+"|"+(t.evaluate||be).source+"|$","g"),p="//# sourceURL="+(Le.call(t,"sourceURL")?(t.sourceURL+"").replace(/\s/g," "):"lodash.templateSources["+ ++ot+"]")+"\n";e.replace(h,(function(t,n,r,o,s,l){return r||(r=o),f+=e.slice(u,l).replace(xe,rn),n&&(i=!0,f+="' +\n__e("+n+") +\n'"),s&&(a=!0,f+="';\n"+s+";\n__p += '"),r&&(f+="' +\n((__t = ("+r+")) == null ? '' : __t) +\n'"),u=l+t.length,t})),f+="';\n";var m=Le.call(t,"variable")&&t.variable;if(m){if(ce.test(m))throw new Ae("Invalid `variable` option passed into `_.template`")}else f="with (obj) {\n"+f+"\n}\n";f=(a?f.replace(H,""):f).replace(W,"$1").replace(U,"$1;"),f="function("+(m||"obj")+") {\n"+(m?"":"obj || (obj = {});\n")+"var __t, __p = ''"+(i?", __e = _.escape":"")+(a?", __j = Array.prototype.join;\nfunction print() { __p += __j.call(arguments, '') }\n":";\n")+f+"return __p\n}";var g=Js((function(){return Ee(l,p+"return "+f).apply(n,c)}));if(g.source=f,Ga(g))throw g;return g},Bn.times=function(e,t){if((e=ps(e))<1||e>c)return[];var n=d,r=vn(e,d);t=si(t),e-=d;for(var o=Kt(r,t);++n<e;)t(n);return o},Bn.toFinite=hs,Bn.toInteger=ps,Bn.toLength=ms,Bn.toLower=function(e){return vs(e).toLowerCase()},Bn.toNumber=gs,Bn.toSafeInteger=function(e){return e?ar(ps(e),-c,c):0===e?e:0},Bn.toString=vs,Bn.toUpper=function(e){return vs(e).toUpperCase()},Bn.trim=function(e,t,r){if((e=vs(e))&&(r||t===n))return Qt(e);if(!e||!(t=so(t)))return e;var o=dn(e),i=dn(t);return xo(o,$t(o,i),en(o,i)+1).join("")},Bn.trimEnd=function(e,t,r){if((e=vs(e))&&(r||t===n))return e.slice(0,fn(e)+1);if(!e||!(t=so(t)))return e;var o=dn(e);return xo(o,0,en(o,dn(t))+1).join("")},Bn.trimStart=function(e,t,r){if((e=vs(e))&&(r||t===n))return e.replace(re,"");if(!e||!(t=so(t)))return e;var o=dn(e);return xo(o,$t(o,dn(t))).join("")},Bn.truncate=function(e,t){var r=30,o="...";if(es(t)){var i="separator"in t?t.separator:i;r="length"in t?ps(t.length):r,o="omission"in t?so(t.omission):o}var a=(e=vs(e)).length;if(on(e)){var s=dn(e);a=s.length}if(r>=a)return e;var l=r-un(o);if(l<1)return o;var c=s?xo(s,0,l).join(""):e.slice(0,l);if(i===n)return c+o;if(s&&(l+=c.length-l),is(i)){if(e.slice(l).search(i)){var u,d=c;for(i.global||(i=_e(i.source,vs(fe.exec(i))+"g")),i.lastIndex=0;u=i.exec(d);)var f=u.index;c=c.slice(0,f===n?l:f)}}else if(e.indexOf(so(i),l)!=l){var h=c.lastIndexOf(i);h>-1&&(c=c.slice(0,h))}return c+o},Bn.unescape=function(e){return(e=vs(e))&&Y.test(e)?e.replace(Z,hn):e},Bn.uniqueId=function(e){var t=++De;return vs(e)+t},Bn.upperCase=Qs,Bn.upperFirst=Gs,Bn.each=va,Bn.eachRight=ba,Bn.first=qi,sl(Bn,function(){var e={};return br(Bn,(function(t,n){Le.call(Bn.prototype,n)||(e[n]=t)})),e}(),{chain:!1}),Bn.VERSION="4.17.21",kt(["bind","bindKey","curry","curryRight","partial","partialRight"],(function(e){Bn[e].placeholder=Bn})),kt(["drop","take"],(function(e,t){Wn.prototype[e]=function(r){r=r===n?1:yn(ps(r),0);var o=this.__filtered__&&!t?new Wn(this):this.clone();return o.__filtered__?o.__takeCount__=vn(r,o.__takeCount__):o.__views__.push({size:vn(r,d),type:e+(o.__dir__<0?"Right":"")}),o},Wn.prototype[e+"Right"]=function(t){return this.reverse()[e](t).reverse()}})),kt(["filter","map","takeWhile"],(function(e,t){var n=t+1,r=1==n||3==n;Wn.prototype[e]=function(e){var t=this.clone();return t.__iteratees__.push({iteratee:si(e,3),type:n}),t.__filtered__=t.__filtered__||r,t}})),kt(["head","last"],(function(e,t){var n="take"+(t?"Right":"");Wn.prototype[e]=function(){return this[n](1).value()[0]}})),kt(["initial","tail"],(function(e,t){var n="drop"+(t?"":"Right");Wn.prototype[e]=function(){return this.__filtered__?new Wn(this):this[n](1)}})),Wn.prototype.compact=function(){return this.filter(rl)},Wn.prototype.find=function(e){return this.filter(e).head()},Wn.prototype.findLast=function(e){return this.reverse().find(e)},Wn.prototype.invokeMap=Kr((function(e,t){return"function"==typeof e?new Wn(this):this.map((function(n){return Rr(n,e,t)}))})),Wn.prototype.reject=function(e){return this.filter(La(si(e)))},Wn.prototype.slice=function(e,t){e=ps(e);var r=this;return r.__filtered__&&(e>0||t<0)?new Wn(r):(e<0?r=r.takeRight(-e):e&&(r=r.drop(e)),t!==n&&(r=(t=ps(t))<0?r.dropRight(-t):r.take(t-e)),r)},Wn.prototype.takeRightWhile=function(e){return this.reverse().takeWhile(e).reverse()},Wn.prototype.toArray=function(){return this.take(d)},br(Wn.prototype,(function(e,t){var r=/^(?:filter|find|map|reject)|While$/.test(t),o=/^(?:head|last)$/.test(t),i=Bn[o?"take"+("last"==t?"Right":""):t],a=o||/^find/.test(t);i&&(Bn.prototype[t]=function(){var t=this.__wrapped__,s=o?[1]:arguments,l=t instanceof Wn,c=s[0],u=l||Ua(t),d=function(e){var t=i.apply(Bn,Mt([e],s));return o&&f?t[0]:t};u&&r&&"function"==typeof c&&1!=c.length&&(l=u=!1);var f=this.__chain__,h=!!this.__actions__.length,p=a&&!f,m=l&&!h;if(!a&&u){t=m?t:new Wn(this);var g=e.apply(t,s);return g.__actions__.push({func:ha,args:[d],thisArg:n}),new Hn(g,f)}return p&&m?e.apply(this,s):(g=this.thru(d),p?o?g.value()[0]:g.value():g)})})),kt(["pop","push","shift","sort","splice","unshift"],(function(e){var t=Pe[e],n=/^(?:push|sort|unshift)$/.test(e)?"tap":"thru",r=/^(?:pop|shift)$/.test(e);Bn.prototype[e]=function(){var e=arguments;if(r&&!this.__chain__){var o=this.value();return t.apply(Ua(o)?o:[],e)}return this[n]((function(n){return t.apply(Ua(n)?n:[],e)}))}})),br(Wn.prototype,(function(e,t){var n=Bn[t];if(n){var r=n.name+"";Le.call(Pn,r)||(Pn[r]=[]),Pn[r].push({name:t,func:n})}})),Pn[Bo(n,2).name]=[{name:"wrapper",func:n}],Wn.prototype.clone=function(){var e=new Wn(this.__wrapped__);return e.__actions__=Oo(this.__actions__),e.__dir__=this.__dir__,e.__filtered__=this.__filtered__,e.__iteratees__=Oo(this.__iteratees__),e.__takeCount__=this.__takeCount__,e.__views__=Oo(this.__views__),e},Wn.prototype.reverse=function(){if(this.__filtered__){var e=new Wn(this);e.__dir__=-1,e.__filtered__=!0}else(e=this.clone()).__dir__*=-1;return e},Wn.prototype.value=function(){var e=this.__wrapped__.value(),t=this.__dir__,n=Ua(e),r=t<0,o=n?e.length:0,i=function(e,t,n){for(var r=-1,o=n.length;++r<o;){var i=n[r],a=i.size;switch(i.type){case"drop":e+=a;break;case"dropRight":t-=a;break;case"take":t=vn(t,e+a);break;case"takeRight":e=yn(e,t-a)}}return{start:e,end:t}}(0,o,this.__views__),a=i.start,s=i.end,l=s-a,c=r?s:a-1,u=this.__iteratees__,d=u.length,f=0,h=vn(l,this.__takeCount__);if(!n||!r&&o==l&&h==l)return ho(e,this.__actions__);var p=[];e:for(;l--&&f<h;){for(var m=-1,g=e[c+=t];++m<d;){var y=u[m],v=y.iteratee,b=y.type,x=v(g);if(2==b)g=x;else if(!x){if(1==b)continue e;break e}}p[f++]=g}return p},Bn.prototype.at=pa,Bn.prototype.chain=function(){return fa(this)},Bn.prototype.commit=function(){return new Hn(this.value(),this.__chain__)},Bn.prototype.next=function(){this.__values__===n&&(this.__values__=fs(this.value()));var e=this.__index__>=this.__values__.length;return{done:e,value:e?n:this.__values__[this.__index__++]}},Bn.prototype.plant=function(e){for(var t,r=this;r instanceof Vn;){var o=Bi(r);o.__index__=0,o.__values__=n,t?i.__wrapped__=o:t=o;var i=o;r=r.__wrapped__}return i.__wrapped__=e,t},Bn.prototype.reverse=function(){var e=this.__wrapped__;if(e instanceof Wn){var t=e;return this.__actions__.length&&(t=new Wn(this)),(t=t.reverse()).__actions__.push({func:ha,args:[ea],thisArg:n}),new Hn(t,this.__chain__)}return this.thru(ea)},Bn.prototype.toJSON=Bn.prototype.valueOf=Bn.prototype.value=function(){return ho(this.__wrapped__,this.__actions__)},Bn.prototype.first=Bn.prototype.head,$e&&(Bn.prototype[$e]=function(){return this}),Bn}();pt?((pt.exports=pn)._=pn,ht._=pn):ft._=pn}).call(Ze)}(QC,QC.exports);var GC=QC.exports;const XC={sm:"text-xs [&>svg]:size-4 rounded",md:"text-sm [&>svg]:size-5 rounded-md",lg:"text-base [&>svg]:size-6 rounded-md"},JC={input:{sm:"py-1.5 px-2 rounded",md:"p-2.5 rounded-md",lg:"p-3 rounded-md"},content:{sm:"p-1.5",md:"p-1.5",lg:"p-2"},title:{sm:"p-2 text-xs",md:"p-2 text-sm",lg:"p-2 text-sm"},item:{sm:"text-sm text-text-secondary rounded",md:"text-base text-text-secondary rounded-md",lg:"text-base text-text-secondary rounded-md"},icon:{sm:"p-1 text-sm [&>svg]:size-4 text-icon-secondary",md:"p-2 text-base [&>svg]:size-5 text-icon-secondary",lg:"p-2 text-base [&>svg]:size-5 text-icon-secondary"},dialog:{sm:"mt-1 rounded-md",md:"mt-1.5 rounded-lg",lg:"mt-1.5 rounded-lg"},slashIcon:{sm:"px-2 py-0.5",md:"px-3 py-1",lg:"px-3.5 py-1"}},$C={primary:"bg-field-primary-background outline outline-1 outline-field-border hover:outline-border-strong",secondary:"bg-field-secondary-background outline outline-1 outline-field-border hover:outline-border-strong",ghost:"bg-field-secondary-background outline outline-1 outline-transparent"},eA={ghost:"cursor-not-allowed text-text-disabled placeholder:text-text-disabled",primary:"border-border-disabled hover:border-border-disabled bg-field-background-disabled cursor-not-allowed text-text-disabled placeholder:text-text-disabled",secondary:"border-border-disabled hover:border-border-disabled cursor-not-allowed text-text-disabled placeholder:text-text-disabled"},tA=(0,n.createContext)({}),nA=()=>(0,n.useContext)(tA),rA=(0,n.forwardRef)((({className:e,size:t="sm",open:r=!1,onOpenChange:o=()=>{},loading:i=!1,...a},s)=>{const[l,c]=(0,n.useState)(""),[u,d]=(0,n.useState)(i??!1),{refs:f,floatingStyles:h,context:p}=Ki({open:r,onOpenChange:o,placement:"bottom-start",whileElementsMounted:vo,middleware:[Po("sm"===t?4:6),To({padding:10}),Mo({apply({rects:e,elements:t,availableHeight:n}){t.floating.style.maxHeight=`${n}px`,t.floating.style.width=`${e.reference.width}px`,t.floating.style.fontFamily=window.getComputedStyle(t.reference).fontFamily}})]}),m=Yi(p),{getReferenceProps:g,getFloatingProps:y}=Ji([m]);return(0,n.useEffect)((()=>{const e=(()=>{var e,t;const n=(null==(t=null==(e=window.navigator)?void 0:e.userAgentData)?void 0:t.platform)||window.navigator.platform;let r="null";return["macOS","Macintosh","MacIntel","MacPPC","Mac68K"].includes(n)?r="Mac OS":["Win32","Win64","Windows","WinCE"].includes(n)&&(r="Windows"),r})(),t=t=>{const n="Mac OS"===e?t.metaKey:t.ctrlKey;if("/"===t.key&&n&&(t.preventDefault(),f.reference&&f.reference.current)){const e=f.reference.current instanceof HTMLElement?f.reference.current.querySelector("input"):null;e&&e.focus()}};return window.addEventListener("keydown",t),()=>{window.removeEventListener("keydown",t)}}),[f.reference]),(0,We.jsx)(tA.Provider,{value:{size:t,open:r,onOpenChange:o,refs:f,floatingStyles:h,context:p,getReferenceProps:g,getFloatingProps:y,searchTerm:l,setSearchTerm:c,isLoading:u,setIsLoading:d},children:(0,We.jsx)("div",{className:Qt("searchbox-wrapper box-border relative w-full",e),...a,ref:s})})}));rA.displayName="SearchBox";const oA=(0,n.forwardRef)((({className:e,type:t="text",placeholder:n="Search...",variant:r="primary",disabled:o=!1,onChange:i=()=>{},...a},s)=>{const{size:l,onOpenChange:c,refs:u,getReferenceProps:d,searchTerm:f,setSearchTerm:h}=nA(),p="lg"===l?"sm":"xs";return(0,We.jsxs)("div",{ref:u.setReference,className:Qt("w-full group relative flex justify-center items-center gap-1.5 focus-within:z-10 transition-colors ease-in-out duration-150",$C[r],JC.input[l],o?eA[r]:"focus-within:ring-2 focus-within:ring-focus focus-within:ring-offset-2 focus-within:border-focus-border focus-within:hover:border-focus-border"),...d,children:[(0,We.jsx)("span",{className:Qt(XC[l],o?"text-icon-disabled":"text-icon-secondary group-hover:text-icon-primary group-focus-within:text-icon-primary","flex justify-center items-center"),children:(0,We.jsx)(En,{})}),(0,We.jsx)("input",{type:t,ref:s,className:Qt(XC[l],"flex-grow font-medium bg-transparent border-none outline-none border-transparent focus:ring-0 py-0",o?eA[r]:["text-field-placeholder focus-within:text-field-input group-hover:text-field-input","placeholder:text-field-placeholder"],e),disabled:o,value:f,onChange:e=>{const t=e.target.value;h(t),i(t),"function"==typeof c&&(t.trim()?c(!0):c(!1))},placeholder:n,...GC.omit(a,["size","open","onOpenChange","loading"])}),(0,We.jsx)(Sa,{label:"⌘/",size:p,type:"rounded",variant:"neutral"})]})}));oA.displayName="SearchBox.Input";const iA=({className:e,dropdownPortalRoot:t=null,dropdownPortalId:n="",children:r,...o})=>{const{size:i,open:a,refs:s,floatingStyles:l,getFloatingProps:c}=nA();return a?(0,We.jsx)(Ti,{id:n,root:t,children:(0,We.jsx)("div",{ref:s.setFloating,style:{...l},className:Qt("bg-background-primary rounded-md border border-solid border-border-subtle shadow-soft-shadow-lg overflow-y-auto text-wrap",JC.dialog[i],e),...c(),...o,children:r})}):null};iA.displayName="SearchBox.Content";const aA=({filter:e=!0,children:t})=>{const{searchTerm:r,isLoading:o}=nA();if(!e)return(0,We.jsx)("div",{children:t});const i=n.Children.toArray(t).map((e=>{if(n.isValidElement(e)&&e.type===lA){const t=n.Children.toArray(e.props.children).filter((e=>n.isValidElement(e)&&"string"==typeof e.props.children&&e.props.children.toLowerCase().includes(r.toLowerCase())));return t.length>0?(0,n.cloneElement)(e,{children:t}):null}return e})).filter(Boolean);return o?(0,We.jsx)(uA,{}):(0,We.jsx)("div",{children:i.some((e=>n.isValidElement(e)&&e.type!==dA))?i:(0,We.jsx)(sA,{})})};aA.displayName="SearchBox.List";const sA=({children:e="No results found."})=>{const{size:t}=nA();return(0,We.jsx)("div",{className:Qt("flex justify-center items-center",JC.item[t],"text-text-tertiary p-4"),children:e})};sA.displayName="SearchBox.Empty";const lA=({heading:e,children:t})=>{const{size:n}=nA();return(0,We.jsxs)("div",{className:Qt(JC.content[n],JC.item[n]),children:[e&&(0,We.jsx)("div",{className:Qt(JC.title[n],"text-text-secondary"),children:e}),t]})};lA.displayName="SearchBox.Group";const cA=(0,n.forwardRef)((({className:e,icon:t,children:n,...r},o)=>{const{size:i}=nA();return(0,We.jsxs)("div",{ref:o,className:Qt("flex items-center justify-start gap-1 p-1 hover:bg-background-secondary focus:bg-background-secondary cursor-pointer",JC.item[i]),...r,children:[t&&(0,We.jsx)("span",{className:Qt(JC.icon[i],"flex items-center justify-center"),children:t}),(0,We.jsx)("span",{className:Qt("flex-grow p-1 font-normal cursor-pointer",JC.item[i],e),children:n})]})}));cA.displayName="SearchBox.Item";const uA=({loadingIcon:e=(0,We.jsx)(Ra,{})})=>{const{size:t}=nA(),r=n.isValidElement(e)?(0,n.cloneElement)(e,{size:t}):e;return(0,We.jsx)("div",{className:Qt("flex justify-center p-4",XC[t],JC.item[t]),children:r})};uA.displayName="SearchBox.Loading";const dA=(0,n.forwardRef)((({className:e,...t},n)=>(0,We.jsx)("hr",{ref:n,className:Qt("border-0 border-t border-border-subtle border-solid m-0",e),...t})));dA.displayName="SearchBox.Separator",rA.Input=oA,rA.Loading=uA,rA.Separator=dA,rA.Content=iA,rA.List=aA,rA.Empty=sA,rA.Group=lA,rA.Item=cA;const fA=(0,n.createContext)({}),hA=()=>(0,n.useContext)(fA),pA=({placement:e="bottom",offset:t=10,boundary:r="clippingAncestors",children:o,className:i})=>{const[a,s]=(0,n.useState)(!1),{refs:l,floatingStyles:c,context:u}=Ki({open:a,onOpenChange:s,placement:e,strategy:"absolute",middleware:[Po(t),To({boundary:r}),jo({boundary:r})],whileElementsMounted:vo}),d=Wi(u),f=Yi(u),h=ia(u,{role:"menu"}),{getReferenceProps:p,getFloatingProps:m}=Ji([d,f,h]),{isMounted:g,styles:y}=la(u,{duration:150,initial:{opacity:0,scale:.95},open:{opacity:1,scale:1},close:{opacity:0,scale:.95}}),v=()=>s((e=>!e));return(0,We.jsx)(fA.Provider,{value:{refs:l,handleClose:()=>s(!1),isMounted:g,styles:y,floatingStyles:c,getFloatingProps:m},children:(0,We.jsxs)("div",{className:Qt("relative inline-block",i),children:[n.Children.map(o,(e=>{var t;return n.isValidElement(e)&&"DropdownMenu.Trigger"===(null==(t=null==e?void 0:e.type)?void 0:t.displayName)?(0,n.cloneElement)(e,{ref:l.setReference,onClick:v,...p()}):null})),n.Children.map(o,(e=>{var t;return n.isValidElement(e)&&"DropdownMenu.Portal"===(null==(t=null==e?void 0:e.type)?void 0:t.displayName)?e:null}))]})})};pA.displayName="DropdownMenu";const mA=({children:e,className:t,root:r,id:o})=>{const{refs:i,floatingStyles:a,getFloatingProps:s,isMounted:l,styles:c}=hA();return l&&(0,We.jsx)(Ti,{id:o,root:r,children:(0,We.jsx)("div",{ref:i.setFloating,className:t,style:{...a,...c},...s(),children:n.Children.map(e,(e=>{var t;return"DropdownMenu.Content"===(null==(t=null==e?void 0:e.type)?void 0:t.displayName)?e:null}))})})};mA.displayName="DropdownMenu.Portal";const gA=n.forwardRef((({children:e,className:t,...r},o)=>(0,n.isValidElement)(e)?n.cloneElement(e,{className:Qt(t,e.props.className),ref:o,...r}):(0,We.jsx)("div",{ref:o,className:Qt("cursor-pointer",t),role:"button",tabIndex:0,...r,children:e})));gA.displayName="DropdownMenu.Trigger";const yA=({children:e,className:t,...n})=>(0,We.jsx)("div",{className:Qt("border border-solid border-border-subtle rounded-md shadow-lg overflow-hidden",t),children:(0,We.jsx)($w,{...n,children:e})});yA.displayName="DropdownMenu.Content";const vA=e=>(0,We.jsx)($w.List,{...e});vA.displayName="DropdownMenu.List";const bA=({children:e,as:t=$w.Item,...r})=>{var o;const{handleClose:i}=hA();return e?t===n.Fragment&&(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{onClick:Gt(null==(o=e.props)?void 0:o.onClick,i)}):(0,We.jsx)(t,{...r,className:Qt("px-2",r.className),onClick:Gt(r.onClick,i),children:e}):null};bA.displayName="DropdownMenu.Item";const xA=e=>(0,We.jsx)($w.Separator,{...e});xA.displayName="DropdownMenu.Separator",pA.Trigger=gA,pA.Content=yA,pA.List=vA,pA.Item=bA,pA.Separator=xA,pA.Portal=mA;const wA={left:{open:{x:0},exit:{x:"-100%"}},right:{open:{x:0},exit:{x:"100%"}}},CA=({children:e,className:t})=>{const{open:n,position:r,handleClose:o,drawerRef:i,transitionDuration:a}=MA();return(0,We.jsx)(Jh,{children:n&&(0,We.jsx)("div",{className:"fixed inset-0",children:(0,We.jsx)("div",{className:Qt("flex items-center justify-center h-full",{"justify-start":"left"===r,"justify-end":"right"===r}),children:(0,We.jsx)(Zh.div,{ref:i,className:Qt("flex flex-col w-120 h-full bg-background-primary shadow-2xl my-5 overflow-hidden",t),initial:"exit",animate:"open",exit:"exit",variants:wA[r],transition:a,children:"function"==typeof e?e({close:o}):e})})})})};CA.displayName="Drawer.Panel";const AA=({children:e,className:t,...n})=>(0,We.jsx)("div",{className:Qt("space-y-2 px-5 pt-5 pb-4",t),...n,children:e});AA.displayName="Drawer.Header";const EA=({children:e,as:t="h3",className:n,...r})=>(0,We.jsx)(t,{className:Qt("text-base font-semibold text-text-primary m-0 p-0",n),...r,children:e});EA.displayName="Drawer.Title";const SA=({children:e,as:t="p",className:n,...r})=>(0,We.jsx)(t,{className:Qt("text-sm font-normal text-text-secondary my-0 ml-0 mr-1 p-0",n),...r,children:e});SA.displayName="Drawer.Description";const kA=({children:e,className:t,...n})=>(0,We.jsx)("div",{className:Qt("px-5 pb-4 pt-2 flex flex-col flex-1 overflow-y-auto overflow-x-hidden",t),...n,children:e});kA.displayName="Drawer.Body";const _A=({children:e,className:t})=>{const{design:n,handleClose:r}=MA();return(0,We.jsx)("div",{className:Qt("px-5 py-4 flex justify-end gap-3 mt-auto",{"bg-background-secondary":"footer-divided"===n,"border-t border-b-0 border-x-0 border-solid border-border-subtle":"footer-bordered"===n},t),children:e?"function"==typeof e?e({close:r}):e:null})};_A.displayName="Drawer.Footer";const OA=({className:e,...t})=>(0,We.jsx)("button",{className:Qt("bg-transparent inline-flex justify-center items-center border-0 p-1 m-0 cursor-pointer focus:outline-none outline-none shadow-none",e),"aria-label":"Close drawer",...t,children:(0,We.jsx)(Rn,{className:"size-4 text-text-primary shrink-0"})}),RA=({children:e,as:t=n.Fragment,...r})=>{const{handleClose:o}=MA();return e?t===n.Fragment?"function"==typeof e?e({close:o}):(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{onClick:o}):(0,We.jsx)(OA,{onClick:o,...r}):(0,We.jsx)(t,{...r,onClick:o,children:e}):(0,We.jsx)(OA,{onClick:o,...r})};RA.displayName="Drawer.CloseButton";const PA={open:{opacity:1},exit:{opacity:0}},jA=({className:e,...t})=>{const{open:n,drawerContainerRef:r,transitionDuration:o}=MA();return null!=r&&r.current?!!r.current&&(0,Ue.createPortal)((0,We.jsx)(Jh,{children:n&&(0,We.jsx)(Zh.div,{className:Qt("fixed inset-0 -z-10 bg-background-inverse/90",e),...t,initial:"exit",animate:"open",exit:"exit",variants:PA,transition:o})}),r.current):null};jA.displayName="Drawer.Backdrop";const TA=(0,n.createContext)({}),MA=()=>(0,n.useContext)(TA),NA=({open:e,setOpen:t,children:r,trigger:o,className:i,exitOnClickOutside:a=!1,exitOnEsc:s=!0,design:l="simple",position:c="right",transitionDuration:u=.2,scrollLock:d=!0})=>{const f=void 0!==e&&void 0!==t,[h,p]=(0,n.useState)(!1),m=(0,n.useRef)(null),g=(0,n.useRef)(null),y=(0,n.useMemo)((()=>f?e:h),[e,h]),v=(0,n.useMemo)((()=>f?t:p),[p,p]),b=()=>{y||v(!0)},x=()=>{y&&v(!1)},w=(0,n.useCallback)((()=>(0,n.isValidElement)(o)?(0,n.cloneElement)(o,{onClick:Gt(b,o.props.onClick)}):"function"==typeof o?o({onClick:b}):null),[o,b,x]),C=e=>{"Escape"===e.key&&s&&x()},A=e=>{a&&m.current&&!m.current.contains(e.target)&&x()};return(0,n.useEffect)((()=>(window.addEventListener("keydown",C),document.addEventListener("mousedown",A),()=>{window.removeEventListener("keydown",C),document.removeEventListener("mousedown",A)})),[y]),(0,n.useEffect)((()=>{if(!d)return;const e=document.querySelector("html");return y&&e&&(e.style.overflow="hidden"),()=>{e&&(e.style.overflow="")}}),[y]),(0,We.jsxs)(We.Fragment,{children:[w(),(0,We.jsx)(TA.Provider,{value:{open:y,setOpen:v,handleClose:x,design:l,position:c,drawerContainerRef:g,drawerRef:m,transitionDuration:{duration:u}},children:(0,We.jsx)("div",{className:Qt("fixed z-auto w-0 h-0 overflow-visible",i),ref:g,role:"dialog","aria-modal":"true","aria-label":"drawer",children:r})})]})};NA.displayName="Drawer",NA.Panel=CA,NA.Header=AA,NA.Title=EA,NA.Description=SA,NA.Body=kA,NA.CloseButton=RA,NA.Footer=_A,NA.Backdrop=jA;const LA={xs:{general:"text-xs min-w-6 h-6",ellipse:"text-xs min-w-6",icon:"size-4"},sm:{general:"text-xs min-w-8 h-8",ellipse:"text-xs min-w-8",icon:"size-4"},md:{general:"text-sm min-w-10 h-10",ellipse:"text-sm min-w-10",icon:"size-5"},lg:{general:"text-base min-w-12 h-12",ellipse:"text-base min-w-12",icon:"size-6"}},DA="group disabled:border-field-border-disabled opacity-50",IA=(0,n.createContext)({size:"sm",disabled:!1}),FA=()=>(0,n.useContext)(IA),BA=({size:e="sm",disabled:t=!1,children:n,className:r,...o})=>(0,We.jsx)(IA.Provider,{value:{size:e,disabled:t},children:(0,We.jsx)("nav",{role:"navigation","aria-label":"pagination",className:Qt("flex w-full justify-center box-border m-0",r),...o,children:n})});BA.displayName="Pagination";const zA=(0,n.forwardRef)((({className:e,...t},n)=>(0,We.jsx)("ul",{ref:n,className:Qt("m-0 p-0 w-full flex justify-center flex-row items-center gap-1","list-none",e),...t})));zA.displayName="Pagination.Content";const VA=(0,n.forwardRef)((({isActive:e=!1,className:t,children:n,...r},o)=>{const{disabled:i}=FA();return(0,We.jsx)("li",{ref:o,className:Qt("flex",i&&DA),children:(0,We.jsx)(HA,{isActive:e,disabled:i,className:t,...r,children:n})})}));VA.displayName="Pagination.Item";const HA=({isActive:e=!1,tag:t="a",children:n,className:r,...o})=>{const{size:i,disabled:a}=FA(),s=e=>e.preventDefault();return(0,We.jsx)(tn,{tag:t,size:i,variant:"ghost",className:Qt("no-underline bg-transparent p-0 m-0 border-none","flex justify-center items-center rounded text-button-secondary","focus:outline focus:outline-1 focus:outline-border-subtle focus:bg-button-tertiary-hover",LA[i].general,!a&&e&&"text-button-primary active:text-button-primary bg-brand-background-50",a&&[DA,"group-disabled:text-field-color-disabled","focus:ring-transparent cursor-not-allowed"],r),disabled:a,...o,onClick:e=>Gt(o.onClick||(()=>{}),a?s:()=>{})(e),children:(0,We.jsx)("span",{className:"px-1 flex",children:n})})},WA=e=>{const{size:t,disabled:n}=FA();return(0,We.jsx)("li",{className:Qt("flex",n&&DA),"aria-label":"Go to previous page",children:(0,We.jsx)(HA,{className:Qt("[&>span]:flex [&>span]:items-center"),...e,children:(0,We.jsx)(pn,{className:Qt(LA[t].icon)})})})};WA.displayName="Pagination.Previous";const UA=e=>{const{size:t,disabled:n}=FA();return(0,We.jsx)("li",{className:Qt("flex",n&&DA),"aria-label":"Go to next page",children:(0,We.jsx)(HA,{className:Qt("[&>span]:flex [&>span]:items-center"),...e,children:(0,We.jsx)(mn,{className:Qt(LA[t].icon)})})})};UA.displayName="Pagination.Next";const ZA=e=>{const{size:t,disabled:n}=FA();return(0,We.jsx)("li",{className:Qt("flex",n&&DA),children:(0,We.jsx)("span",{className:Qt("flex justify-center",LA[t].ellipse,n&&DA),...e,children:"•••"})})};var qA,YA,KA;ZA.displayName="Pagination.Ellipsis",BA.Content=zA,BA.Item=VA,BA.Previous=WA,BA.Next=UA,BA.Ellipsis=ZA,function(e){e.Root="root",e.Chevron="chevron",e.Day="day",e.DayButton="day_button",e.CaptionLabel="caption_label",e.Dropdowns="dropdowns",e.Dropdown="dropdown",e.DropdownRoot="dropdown_root",e.Footer="footer",e.MonthGrid="month_grid",e.MonthCaption="month_caption",e.MonthsDropdown="months_dropdown",e.Month="month",e.Months="months",e.Nav="nav",e.NextMonthButton="button_next",e.PreviousMonthButton="button_previous",e.Week="week",e.Weeks="weeks",e.Weekday="weekday",e.Weekdays="weekdays",e.WeekNumber="week_number",e.WeekNumberHeader="week_number_header",e.YearsDropdown="years_dropdown"}(qA||(qA={})),function(e){e.disabled="disabled",e.hidden="hidden",e.outside="outside",e.focused="focused",e.today="today"}(YA||(YA={})),function(e){e.range_end="range_end",e.range_middle="range_middle",e.range_start="range_start",e.selected="selected"}(KA||(KA={}));const QA=6048e5,GA=Symbol.for("constructDateFrom");function XA(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&GA in e?e[GA](t):e instanceof Date?new e.constructor(t):new Date(t)}function JA(e,t){return XA(t||e,e)}function $A(e,t,n){const r=JA(e,null==n?void 0:n.in);return isNaN(t)?XA(e,NaN):(t&&r.setDate(r.getDate()+t),r)}function eE(e,t,n){const r=JA(e,null==n?void 0:n.in);if(isNaN(t))return XA(e,NaN);if(!t)return r;const o=r.getDate(),i=XA(e,r.getTime());return i.setMonth(r.getMonth()+t+1,0),o>=i.getDate()?i:(r.setFullYear(i.getFullYear(),i.getMonth(),o),r)}let tE={};function nE(){return tE}function rE(e,t){var n,r,o,i;const a=nE(),s=(null==t?void 0:t.weekStartsOn)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.weekStartsOn)??a.weekStartsOn??(null==(i=null==(o=a.locale)?void 0:o.options)?void 0:i.weekStartsOn)??0,l=JA(e,null==t?void 0:t.in),c=l.getDay(),u=(c<s?7:0)+c-s;return l.setDate(l.getDate()-u),l.setHours(0,0,0,0),l}function oE(e,t){return rE(e,{...t,weekStartsOn:1})}function iE(e,t){const n=JA(e,null==t?void 0:t.in),r=n.getFullYear(),o=XA(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=oE(o),a=XA(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=oE(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function aE(e){const t=JA(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function sE(e,...t){const n=XA.bind(null,t.find((e=>"object"==typeof e)));return t.map(n)}function lE(e,t){const n=JA(e,null==t?void 0:t.in);return n.setHours(0,0,0,0),n}function cE(e,t,n){const[r,o]=sE(null==n||n.in,e,t),i=lE(r),a=lE(o),s=+i-aE(i),l=+a-aE(a);return Math.round((s-l)/864e5)}function uE(e){return XA(e,Date.now())}function dE(e){return e instanceof Date||"object"==typeof e&&"[object Date]"===Object.prototype.toString.call(e)}function fE(e,t){const n=JA(e,null==t?void 0:t.in),r=n.getMonth();return n.setFullYear(n.getFullYear(),r+1,0),n.setHours(23,59,59,999),n}function hE(e,t){const n=JA(e,null==t?void 0:t.in);return n.setDate(1),n.setHours(0,0,0,0),n}function pE(e,t){const n=JA(e,null==t?void 0:t.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}function mE(e,t){var n,r,o,i;const a=nE(),s=(null==t?void 0:t.weekStartsOn)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.weekStartsOn)??a.weekStartsOn??(null==(i=null==(o=a.locale)?void 0:o.options)?void 0:i.weekStartsOn)??0,l=JA(e,null==t?void 0:t.in),c=l.getDay(),u=6+(c<s?-7:0)-(c-s);return l.setDate(l.getDate()+u),l.setHours(23,59,59,999),l}const gE={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function yE(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const vE={date:yE({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:yE({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:yE({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},bE={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function xE(e){return(t,n)=>{let r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=null!=n&&n.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}const wE={ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:xE({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:xE({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:xE({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:xE({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:xE({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function CE(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e){for(let t=0;t<e.length;t++)if(e[t].test(a))return t}(s):function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t].test(a))return t}(s);let c;return c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c,{value:c,rest:t.slice(a.length)}}}const AE={ordinalNumber:function(e){return(t,n={})=>{const r=t.match(e.matchPattern);if(!r)return null;const o=r[0],i=t.match(e.parsePattern);if(!i)return null;let a=e.valueCallback?e.valueCallback(i[0]):i[0];return a=n.valueCallback?n.valueCallback(a):a,{value:a,rest:t.slice(o.length)}}}({matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)}),era:CE({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:CE({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:CE({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:CE({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:CE({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},EE={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=gE[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:vE,formatRelative:(e,t,n,r)=>bE[e],localize:wE,match:AE,options:{weekStartsOn:0,firstWeekContainsDate:1}};function SE(e,t){const n=JA(e,null==t?void 0:t.in),r=+oE(n)-+function(e){const t=iE(e,void 0),n=XA(e,0);return n.setFullYear(t,0,4),n.setHours(0,0,0,0),oE(n)}(n);return Math.round(r/QA)+1}function kE(e,t){var n,r,o,i;const a=JA(e,null==t?void 0:t.in),s=a.getFullYear(),l=nE(),c=(null==t?void 0:t.firstWeekContainsDate)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.firstWeekContainsDate)??l.firstWeekContainsDate??(null==(i=null==(o=l.locale)?void 0:o.options)?void 0:i.firstWeekContainsDate)??1,u=XA((null==t?void 0:t.in)||e,0);u.setFullYear(s+1,0,c),u.setHours(0,0,0,0);const d=rE(u,t),f=XA((null==t?void 0:t.in)||e,0);f.setFullYear(s,0,c),f.setHours(0,0,0,0);const h=rE(f,t);return+a>=+d?s+1:+a>=+h?s:s-1}function _E(e,t){const n=JA(e,null==t?void 0:t.in),r=+rE(n,t)-+function(e,t){var n,r,o,i;const a=nE(),s=(null==t?void 0:t.firstWeekContainsDate)??(null==(r=null==(n=null==t?void 0:t.locale)?void 0:n.options)?void 0:r.firstWeekContainsDate)??a.firstWeekContainsDate??(null==(i=null==(o=a.locale)?void 0:o.options)?void 0:i.firstWeekContainsDate)??1,l=kE(e,t),c=XA((null==t?void 0:t.in)||e,0);return c.setFullYear(l,0,s),c.setHours(0,0,0,0),rE(c,t)}(n,t);return Math.round(r/QA)+1}function OE(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const RE={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return OE("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):OE(n+1,2)},d:(e,t)=>OE(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>OE(e.getHours()%12||12,t.length),H:(e,t)=>OE(e.getHours(),t.length),m:(e,t)=>OE(e.getMinutes(),t.length),s:(e,t)=>OE(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return OE(Math.trunc(r*Math.pow(10,n-3)),t.length)}},PE={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return RE.y(e,t)},Y:function(e,t,n,r){const o=kE(e,r),i=o>0?o:1-o;return"YY"===t?OE(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):OE(i,t.length)},R:function(e,t){return OE(iE(e),t.length)},u:function(e,t){return OE(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return OE(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return OE(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return RE.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return OE(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=_E(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):OE(o,t.length)},I:function(e,t,n){const r=SE(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):OE(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):RE.d(e,t)},D:function(e,t,n){const r=function(e){const t=JA(e,void 0);return cE(t,pE(t))+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):OE(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return OE(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return OE(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return OE(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return RE.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):RE.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):OE(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):OE(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):RE.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):RE.s(e,t)},S:function(e,t){return RE.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return TE(r);case"XXXX":case"XX":return ME(r);default:return ME(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return TE(r);case"xxxx":case"xx":return ME(r);default:return ME(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+jE(r,":");default:return"GMT"+ME(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+jE(r,":");default:return"GMT"+ME(r,":")}},t:function(e,t,n){return OE(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return OE(+e,t.length)}};function jE(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+OE(i,2)}function TE(e,t){return e%60==0?(e>0?"-":"+")+OE(Math.abs(e)/60,2):ME(e,t)}function ME(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+OE(Math.trunc(r/60),2)+t+OE(r%60,2)}const NE=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},LE=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},DE={p:LE,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return NE(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",NE(r,t)).replace("{{time}}",LE(o,t))}},IE=/^D+$/,FE=/^Y+$/,BE=["D","DD","YY","YYYY"],zE=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,VE=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,HE=/^'([^]*?)'?$/,WE=/''/g,UE=/[a-zA-Z]/;function ZE(e,t,n){var r,o,i,a,s,l,c,u;const d=nE(),f=(null==n?void 0:n.locale)??d.locale??EE,h=(null==n?void 0:n.firstWeekContainsDate)??(null==(o=null==(r=null==n?void 0:n.locale)?void 0:r.options)?void 0:o.firstWeekContainsDate)??d.firstWeekContainsDate??(null==(a=null==(i=d.locale)?void 0:i.options)?void 0:a.firstWeekContainsDate)??1,p=(null==n?void 0:n.weekStartsOn)??(null==(l=null==(s=null==n?void 0:n.locale)?void 0:s.options)?void 0:l.weekStartsOn)??d.weekStartsOn??(null==(u=null==(c=d.locale)?void 0:c.options)?void 0:u.weekStartsOn)??0,m=JA(e,null==n?void 0:n.in);if(!function(e){return!(!dE(e)&&"number"!=typeof e||isNaN(+JA(e)))}(m))throw new RangeError("Invalid time value");let g=t.match(VE).map((e=>{const t=e[0];return"p"===t||"P"===t?(0,DE[t])(e,f.formatLong):e})).join("").match(zE).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:qE(e)};if(PE[t])return{isToken:!0,value:e};if(t.match(UE))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));f.localize.preprocessor&&(g=f.localize.preprocessor(m,g));const y={firstWeekContainsDate:h,weekStartsOn:p,locale:f};return g.map((r=>{if(!r.isToken)return r.value;const o=r.value;return((null==n||!n.useAdditionalWeekYearTokens)&&function(e){return FE.test(e)}(o)||(null==n||!n.useAdditionalDayOfYearTokens)&&function(e){return IE.test(e)}(o))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),BE.includes(e))throw new RangeError(r)}(o,t,String(e)),(0,PE[o[0]])(m,o,f.localize,y)})).join("")}function qE(e){const t=e.match(HE);return t?t[1].replace(WE,"'"):e}function YE(e,t){return+JA(e)>+JA(t)}function KE(e,t){return+JA(e)<+JA(t)}function QE(e,t){return+JA(e)==+JA(t)}function GE(e,t,n){return $A(e,-t,n)}function XE(e){return lE(Date.now(),e)}function JE(e){const t=uE(null==e?void 0:e.in),n=t.getFullYear(),r=t.getMonth(),o=t.getDate(),i=uE(null==e?void 0:e.in);return i.setFullYear(n,r,o-1),i.setHours(0,0,0,0),i}class $E{constructor(e,t){this.Date=Date,this.addDays=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addDays?this.overrides.addDays(e,t):$A(e,t)},this.addMonths=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addMonths?this.overrides.addMonths(e,t):eE(e,t)},this.addWeeks=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addWeeks?this.overrides.addWeeks(e,t):function(e,t){return $A(e,7*t,void 0)}(e,t)},this.addYears=(e,t)=>{var n;return null!=(n=this.overrides)&&n.addYears?this.overrides.addYears(e,t):function(e,t){return eE(e,12*t,void 0)}(e,t)},this.differenceInCalendarDays=(e,t)=>{var n;return null!=(n=this.overrides)&&n.differenceInCalendarDays?this.overrides.differenceInCalendarDays(e,t):cE(e,t)},this.differenceInCalendarMonths=(e,t)=>{var n;return null!=(n=this.overrides)&&n.differenceInCalendarMonths?this.overrides.differenceInCalendarMonths(e,t):function(e,t){const[n,r]=sE(0,e,t);return 12*(n.getFullYear()-r.getFullYear())+(n.getMonth()-r.getMonth())}(e,t)},this.endOfISOWeek=e=>{var t;return null!=(t=this.overrides)&&t.endOfISOWeek?this.overrides.endOfISOWeek(e):function(e){return mE(e,{weekStartsOn:1})}(e)},this.endOfMonth=e=>{var t;return null!=(t=this.overrides)&&t.endOfMonth?this.overrides.endOfMonth(e):fE(e)},this.endOfWeek=e=>{var t;return null!=(t=this.overrides)&&t.endOfWeek?this.overrides.endOfWeek(e,this.options):mE(e,this.options)},this.endOfYear=e=>{var t;return null!=(t=this.overrides)&&t.endOfYear?this.overrides.endOfYear(e):function(e){const t=JA(e,void 0),n=t.getFullYear();return t.setFullYear(n+1,0,0),t.setHours(23,59,59,999),t}(e)},this.format=(e,t)=>{var n;return null!=(n=this.overrides)&&n.format?this.overrides.format(e,t,this.options):ZE(e,t,this.options)},this.getISOWeek=e=>{var t;return null!=(t=this.overrides)&&t.getISOWeek?this.overrides.getISOWeek(e):SE(e)},this.getWeek=e=>{var t;return null!=(t=this.overrides)&&t.getWeek?this.overrides.getWeek(e,this.options):_E(e,this.options)},this.isAfter=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isAfter?this.overrides.isAfter(e,t):YE(e,t)},this.isBefore=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isBefore?this.overrides.isBefore(e,t):KE(e,t)},this.isDate=e=>{var t;return null!=(t=this.overrides)&&t.isDate?this.overrides.isDate(e):dE(e)},this.isSameDay=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isSameDay?this.overrides.isSameDay(e,t):function(e,t){const[n,r]=sE(0,e,t);return+lE(n)==+lE(r)}(e,t)},this.isSameMonth=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isSameMonth?this.overrides.isSameMonth(e,t):function(e,t){const[n,r]=sE(0,e,t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}(e,t)},this.isSameYear=(e,t)=>{var n;return null!=(n=this.overrides)&&n.isSameYear?this.overrides.isSameYear(e,t):function(e,t){const[n,r]=sE(0,e,t);return n.getFullYear()===r.getFullYear()}(e,t)},this.max=e=>{var t;return null!=(t=this.overrides)&&t.max?this.overrides.max(e):function(e){let t,n;return e.forEach((e=>{!n&&"object"==typeof e&&(n=XA.bind(null,e));const r=JA(e,n);(!t||t<r||isNaN(+r))&&(t=r)})),XA(n,t||NaN)}(e)},this.min=e=>{var t;return null!=(t=this.overrides)&&t.min?this.overrides.min(e):function(e){let t,n;return e.forEach((e=>{!n&&"object"==typeof e&&(n=XA.bind(null,e));const r=JA(e,n);(!t||t>r||isNaN(+r))&&(t=r)})),XA(n,t||NaN)}(e)},this.setMonth=(e,t)=>{var n;return null!=(n=this.overrides)&&n.setMonth?this.overrides.setMonth(e,t):function(e,t,n){const r=JA(e,null==n?void 0:n.in),o=r.getFullYear(),i=r.getDate(),a=XA(e,0);a.setFullYear(o,t,15),a.setHours(0,0,0,0);const s=function(e){const t=JA(e,void 0),n=t.getFullYear(),r=t.getMonth(),o=XA(t,0);return o.setFullYear(n,r+1,0),o.setHours(0,0,0,0),o.getDate()}(a);return r.setMonth(t,Math.min(i,s)),r}(e,t)},this.setYear=(e,t)=>{var n;return null!=(n=this.overrides)&&n.setYear?this.overrides.setYear(e,t):function(e,t){const n=JA(e,void 0);return isNaN(+n)?XA(e,NaN):(n.setFullYear(t),n)}(e,t)},this.startOfDay=e=>{var t;return null!=(t=this.overrides)&&t.startOfDay?this.overrides.startOfDay(e):lE(e)},this.startOfISOWeek=e=>{var t;return null!=(t=this.overrides)&&t.startOfISOWeek?this.overrides.startOfISOWeek(e):oE(e)},this.startOfMonth=e=>{var t;return null!=(t=this.overrides)&&t.startOfMonth?this.overrides.startOfMonth(e):hE(e)},this.startOfWeek=e=>{var t;return null!=(t=this.overrides)&&t.startOfWeek?this.overrides.startOfWeek(e,this.options):rE(e,this.options)},this.startOfYear=e=>{var t;return null!=(t=this.overrides)&&t.startOfYear?this.overrides.startOfYear(e):pE(e)},this.options={locale:EE,...e},this.overrides=t}}const eS=new $E,tS=(0,n.createContext)(void 0);function nS(){const e=(0,n.useContext)(tS);if(void 0===e)throw new Error("useDayPicker() must be used within a custom component.");return e}const rS=Object.freeze(Object.defineProperty({__proto__:null,Button:function(e){return n.createElement("button",{...e})},CaptionLabel:function(e){return n.createElement("span",{...e})},Chevron:function(e){const{size:t=24,orientation:r="left",className:o}=e;return n.createElement("svg",{className:o,width:t,height:t,viewBox:"0 0 24 24"},"up"===r&&n.createElement("polygon",{points:"6.77 17 12.5 11.43 18.24 17 20 15.28 12.5 8 5 15.28"}),"down"===r&&n.createElement("polygon",{points:"6.77 8 12.5 13.57 18.24 8 20 9.72 12.5 17 5 9.72"}),"left"===r&&n.createElement("polygon",{points:"16 18.112 9.81111111 12 16 5.87733333 14.0888889 4 6 12 14.0888889 20"}),"right"===r&&n.createElement("polygon",{points:"8 18.612 14.1888889 12.5 8 6.37733333 9.91111111 4.5 18 12.5 9.91111111 20.5"}))},Day:function(e){const{day:t,modifiers:r,...o}=e;return n.createElement("td",{...o})},DayButton:function(e){const{day:t,modifiers:r,...o}=e,i=n.useRef(null);return n.useEffect((()=>{var e;r.focused&&(null==(e=i.current)||e.focus())}),[r.focused]),n.createElement("button",{ref:i,...o})},Dropdown:function(e){const{options:t,className:r,components:o,classNames:i,...a}=e,s=[i[qA.Dropdown],r].join(" "),l=null==t?void 0:t.find((({value:e})=>e===a.value));return n.createElement("span",{"data-disabled":a.disabled,className:i[qA.DropdownRoot]},n.createElement(o.Select,{className:s,...a},null==t?void 0:t.map((({value:e,label:t,disabled:r})=>n.createElement(o.Option,{key:e,value:e,disabled:r},t)))),n.createElement("span",{className:i[qA.CaptionLabel],"aria-hidden":!0},null==l?void 0:l.label,n.createElement(o.Chevron,{orientation:"down",size:18,className:i[qA.Chevron]})))},DropdownNav:function(e){return n.createElement("div",{...e})},Footer:function(e){return n.createElement("div",{...e})},Month:function(e){const{calendarMonth:t,displayIndex:r,...o}=e;return n.createElement("div",{...o},e.children)},MonthCaption:function(e){const{calendarMonth:t,displayIndex:r,...o}=e;return n.createElement("div",{...o})},MonthGrid:function(e){return n.createElement("table",{...e})},Months:function(e){return n.createElement("div",{...e})},MonthsDropdown:function(e){const{components:t}=nS();return n.createElement(t.Dropdown,{...e})},Nav:function(e){const{onPreviousClick:t,onNextClick:r,previousMonth:o,nextMonth:i,...a}=e,{components:s,classNames:l,labels:{labelPrevious:c,labelNext:u}}=nS();return n.createElement("nav",{...a},n.createElement(s.PreviousMonthButton,{type:"button",className:l[qA.PreviousMonthButton],tabIndex:o?void 0:-1,disabled:!o||void 0,"aria-label":c(o),onClick:e.onPreviousClick},n.createElement(s.Chevron,{disabled:!o||void 0,className:l[qA.Chevron],orientation:"left"})),n.createElement(s.NextMonthButton,{type:"button",className:l[qA.NextMonthButton],tabIndex:i?void 0:-1,disabled:!i||void 0,"aria-label":u(i),onClick:e.onNextClick},n.createElement(s.Chevron,{disabled:!i||void 0,orientation:"right",className:l[qA.Chevron]})))},NextMonthButton:function(e){const{components:t}=nS();return n.createElement(t.Button,{...e})},Option:function(e){return n.createElement("option",{...e})},PreviousMonthButton:function(e){const{components:t}=nS();return n.createElement(t.Button,{...e})},Root:function(e){return n.createElement("div",{...e})},Select:function(e){return n.createElement("select",{...e})},Week:function(e){const{week:t,...r}=e;return n.createElement("tr",{...r})},WeekNumber:function(e){const{week:t,...r}=e;return n.createElement("th",{...r})},WeekNumberHeader:function(e){return n.createElement("th",{...e})},Weekday:function(e){return n.createElement("th",{...e})},Weekdays:function(e){return n.createElement("thead",null,n.createElement("tr",{...e}))},Weeks:function(e){return n.createElement("tbody",{...e})},YearsDropdown:function(e){const{components:t}=nS();return n.createElement(t.Dropdown,{...e})}},Symbol.toStringTag,{value:"Module"}));function oS(e){return{...rS,...e}}function iS(){const e={};for(const t in qA)e[qA[t]]=`rdp-${qA[t]}`;for(const t in YA)e[YA[t]]=`rdp-${YA[t]}`;for(const t in KA)e[KA[t]]=`rdp-${KA[t]}`;return e}function aS(e,t,n){return(n??new $E(t)).format(e,"LLLL y")}const sS=aS;function lS(e){return e.toString()}const cS=lS,uS=Object.freeze(Object.defineProperty({__proto__:null,formatCaption:aS,formatDay:function(e,t,n){return(n??new $E(t)).format(e,"d")},formatMonthCaption:sS,formatMonthDropdown:function(e,t){var n;return null==(n=t.localize)?void 0:n.month(e)},formatWeekNumber:function(e){return e<10?`0${e.toLocaleString()}`:`${e.toLocaleString()}`},formatWeekNumberHeader:function(){return""},formatWeekdayName:function(e,t,n){return(n??new $E(t)).format(e,"cccccc")},formatYearCaption:cS,formatYearDropdown:lS},Symbol.toStringTag,{value:"Module"}));function dS(e){return null!=e&&e.formatMonthCaption&&!e.formatCaption&&(e.formatCaption=e.formatMonthCaption),null!=e&&e.formatYearCaption&&!e.formatYearDropdown&&(e.formatYearDropdown=e.formatYearCaption),{...uS,...e}}const fS={},hS={};function pS(e,t){try{const n=(fS[e]||(fS[e]=new Intl.DateTimeFormat("en-GB",{timeZone:e,hour:"numeric",timeZoneName:"longOffset"}).format))(t).split("GMT")[1]||"";return n in hS?hS[n]:gS(n,n.split(":"))}catch{if(e in hS)return hS[e];const t=null==e?void 0:e.match(mS);return t?gS(e,t.slice(1)):NaN}}const mS=/([+-]\d\d):?(\d\d)?/;function gS(e,t){const n=+t[0],r=+(t[1]||0);return hS[e]=n>0?60*n+r:60*n-r}class yS extends Date{constructor(...e){super(),e.length>1&&"string"==typeof e[e.length-1]&&(this.timeZone=e.pop()),this.internal=new Date,isNaN(pS(this.timeZone,this))?this.setTime(NaN):e.length?"number"==typeof e[0]&&(1===e.length||2===e.length&&"number"!=typeof e[1])?this.setTime(e[0]):"string"==typeof e[0]?this.setTime(+new Date(e[0])):e[0]instanceof Date?this.setTime(+e[0]):(this.setTime(+new Date(...e)),xS(this),bS(this)):this.setTime(Date.now())}static tz(e,...t){return t.length?new yS(...t,e):new yS(Date.now(),e)}withTimeZone(e){return new yS(+this,e)}getTimezoneOffset(){return-pS(this.timeZone,this)}setTime(e){return Date.prototype.setTime.apply(this,arguments),bS(this),+this}[Symbol.for("constructDateFrom")](e){return new yS(+new Date(e),this.timeZone)}}const vS=/^(get|set)(?!UTC)/;function bS(e){e.internal.setTime(+e),e.internal.setUTCMinutes(e.internal.getUTCMinutes()-e.getTimezoneOffset())}function xS(e){const t=pS(e.timeZone,e),n=new Date(+e);n.setUTCHours(n.getUTCHours()-1);const r=-new Date(+e).getTimezoneOffset(),o=r- -new Date(+n).getTimezoneOffset(),i=Date.prototype.getHours.apply(e)!==e.internal.getUTCHours();o&&i&&e.internal.setUTCMinutes(e.internal.getUTCMinutes()+o);const a=r-t;a&&Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+a);const s=pS(e.timeZone,e),l=-new Date(+e).getTimezoneOffset()-s-a;if(s!==t&&l){Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+l);const t=s-pS(e.timeZone,e);t&&(e.internal.setUTCMinutes(e.internal.getUTCMinutes()+t),Date.prototype.setUTCMinutes.call(e,Date.prototype.getUTCMinutes.call(e)+t))}}Object.getOwnPropertyNames(Date.prototype).forEach((e=>{if(!vS.test(e))return;const t=e.replace(vS,"$1UTC");yS.prototype[t]&&(e.startsWith("get")?yS.prototype[e]=function(){return this.internal[t]()}:(yS.prototype[e]=function(){return Date.prototype[t].apply(this.internal,arguments),function(e){Date.prototype.setFullYear.call(e,e.internal.getUTCFullYear(),e.internal.getUTCMonth(),e.internal.getUTCDate()),Date.prototype.setHours.call(e,e.internal.getUTCHours(),e.internal.getUTCMinutes(),e.internal.getUTCSeconds(),e.internal.getUTCMilliseconds()),xS(e)}(this),+this},yS.prototype[t]=function(){return Date.prototype[t].apply(this,arguments),bS(this),+this}))}));class wS extends yS{static tz(e,...t){return t.length?new wS(...t,e):new wS(Date.now(),e)}toISOString(){const[e,t,n]=this.tzComponents(),r=`${e}${t}:${n}`;return this.internal.toISOString().slice(0,-1)+r}toString(){return`${this.toDateString()} ${this.toTimeString()}`}toDateString(){const[e,t,n,r]=this.internal.toUTCString().split(" ");return`${null==e?void 0:e.slice(0,-1)} ${n} ${t} ${r}`}toTimeString(){const e=this.internal.toUTCString().split(" ")[4],[t,n,r]=this.tzComponents();return`${e} GMT${t}${n}${r} (${function(e,t){return new Intl.DateTimeFormat("en-GB",{timeZone:e,timeZoneName:"long"}).format(t).slice(12)}(this.timeZone,this)})`}toLocaleString(e,t){return Date.prototype.toLocaleString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleDateString(e,t){return Date.prototype.toLocaleDateString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}toLocaleTimeString(e,t){return Date.prototype.toLocaleTimeString.call(this,e,{...t,timeZone:(null==t?void 0:t.timeZone)||this.timeZone})}tzComponents(){const e=this.getTimezoneOffset();return[e>0?"-":"+",String(Math.floor(Math.abs(e)/60)).padStart(2,"0"),String(Math.abs(e)%60).padStart(2,"0")]}withTimeZone(e){return new wS(+this,e)}[Symbol.for("constructDateFrom")](e){return new wS(+new Date(e),this.timeZone)}}function CS(e,t,n){return(n??new $E(t)).format(e,"LLLL y")}const AS=CS;function ES(e,t,n,r){let o=(r??new $E(n)).format(e,"PPPP");return t.today&&(o=`Today, ${o}`),t.selected&&(o=`${o}, selected`),o}const SS=ES,kS=Object.freeze(Object.defineProperty({__proto__:null,labelCaption:AS,labelDay:SS,labelDayButton:ES,labelGrid:CS,labelGridcell:function(e,t,n,r){let o=(r??new $E(n)).format(e,"PPPP");return null!=t&&t.today&&(o=`Today, ${o}`),o},labelMonthDropdown:function(e){return"Choose the Month"},labelNav:function(){return""},labelNext:function(e){return"Go to the Next Month"},labelPrevious:function(e){return"Go to the Previous Month"},labelWeekNumber:function(e,t){return`Week ${e}`},labelWeekNumberHeader:function(e){return"Week Number"},labelWeekday:function(e,t,n){return(n??new $E(t)).format(e,"cccc")},labelYearDropdown:function(e){return"Choose the Year"}},Symbol.toStringTag,{value:"Module"}));function _S(e,t){const{month:n,defaultMonth:r,today:o=(e.timeZone?wS.tz(e.timeZone):t.Date?new t.Date:new Date),numberOfMonths:i=1,endMonth:a,startMonth:s}=e;let l=n||r||o;const{differenceInCalendarMonths:c,addMonths:u,startOfMonth:d}=t;return a&&c(a,l)<0&&(l=u(a,-1*(i-1))),s&&c(l,s)<0&&(l=s),d(l)}class OS{constructor(e,t,n=eS){this.date=e,this.displayMonth=t,this.outside=!(!t||n.isSameMonth(e,t)),this.dateLib=n}isEqualTo(e){return this.dateLib.isSameDay(e.date,this.date)&&this.dateLib.isSameMonth(e.displayMonth,this.displayMonth)}}class RS{constructor(e,t){this.date=e,this.weeks=t}}class PS{constructor(e,t){this.days=t,this.weekNumber=e}}function jS(e,t){const[r,o]=(0,n.useState)(e);return[void 0===t?r:t,o]}function TS(e,t,n=!1,r=eS){let{from:o,to:i}=e;const{differenceInCalendarDays:a,isSameDay:s}=r;return o&&i?(a(i,o)<0&&([o,i]=[i,o]),a(t,o)>=(n?1:0)&&a(i,t)>=(n?1:0)):!n&&i?s(i,t):!(n||!o)&&s(o,t)}function MS(e){return!!(e&&"object"==typeof e&&"before"in e&&"after"in e)}function NS(e){return!(!e||"object"!=typeof e||!("from"in e))}function LS(e){return!(!e||"object"!=typeof e||!("after"in e))}function DS(e){return!(!e||"object"!=typeof e||!("before"in e))}function IS(e){return!(!e||"object"!=typeof e||!("dayOfWeek"in e))}function FS(e,t){return Array.isArray(e)&&e.every(t.isDate)}function BS(e,t,n=eS){const r=Array.isArray(t)?t:[t],{isSameDay:o,differenceInCalendarDays:i,isAfter:a}=n;return r.some((t=>{if("boolean"==typeof t)return t;if(n.isDate(t))return o(e,t);if(FS(t,n))return t.includes(e);if(NS(t))return TS(t,e,!1,n);if(IS(t))return Array.isArray(t.dayOfWeek)?t.dayOfWeek.includes(e.getDay()):t.dayOfWeek===e.getDay();if(MS(t)){const n=i(t.before,e)>0,r=i(t.after,e)<0;return a(t.before,t.after)?r&&n:n||r}return LS(t)?i(e,t.after)>0:DS(t)?i(t.before,e)>0:"function"==typeof t&&t(e)}))}function zS(e,t,n,r,o,i,a,s=0){if(s>365)return;const l=function(e,t,n,r,o,i,a){const{ISOWeek:s}=i,{addDays:l,addMonths:c,addYears:u,addWeeks:d,startOfISOWeek:f,endOfISOWeek:h,startOfWeek:p,endOfWeek:m,max:g,min:y}=a;let v={day:l,week:d,month:c,year:u,startOfWeek:e=>s?f(e):p(e),endOfWeek:e=>s?h(e):m(e)}[e](n,"after"===t?1:-1);return"before"===t&&r?v=g([r,v]):"after"===t&&o&&(v=y([o,v])),v}(e,t,n.date,r,o,i,a),c=!(!i.disabled||!BS(l,i.disabled,a)),u=!(!i.hidden||!BS(l,i.hidden,a)),d=new OS(l,l,a);return c||u?zS(e,t,d,r,o,i,a,s+1):d}function VS(e,t,r,o,i){const{autoFocus:a}=e,[s,l]=(0,n.useState)(),c=function(e,t,n,r){let o,i=0,a=!1;for(;i<e.length&&!a;){const s=e[i],l=t(s);!l[YA.disabled]&&!l[YA.hidden]&&!l[YA.outside]&&(l[YA.focused]||null!=r&&r.isEqualTo(s)||n(s.date)||l[YA.today])&&(o=s,a=!0),i++}return o||(o=e.find((e=>{const n=t(e);return!n[YA.disabled]&&!n[YA.hidden]&&!n[YA.outside]}))),o}(t.days,r,o||(()=>!1),s),[u,d]=(0,n.useState)(a?c:void 0);return{isFocusTarget:e=>!(null==c||!c.isEqualTo(e)),setFocused:d,focused:u,blur:()=>{l(u),d(void 0)},moveFocus:(n,r)=>{if(!u)return;const o=zS(n,r,u,t.navStart,t.navEnd,e,i);o&&(t.goToDay(o),d(o))}}}function HS(e,t,n=eS){return TS(e,t.from,!1,n)||TS(e,t.to,!1,n)||TS(t,e.from,!1,n)||TS(t,e.to,!1,n)}function WS(e,t){const{disabled:n,excludeDisabled:r,selected:o,required:i,onSelect:a}=e,[s,l]=jS(o,a?o:void 0),c=a?o:s;return{selected:c,select:(o,s,u)=>{const{min:d,max:f}=e,h=o?function(e,t,n=0,r=0,o=!1,i=eS){const{from:a,to:s}=t||{},{isSameDay:l,isAfter:c,isBefore:u}=i;let d;if(a||s){if(a&&!s)d=l(a,e)?o?{from:a,to:void 0}:void 0:u(e,a)?{from:e,to:a}:{from:a,to:e};else if(a&&s)if(l(a,e)&&l(s,e))d=o?{from:a,to:s}:void 0;else if(l(a,e))d={from:a,to:n>0?void 0:e};else if(l(s,e))d={from:e,to:n>0?void 0:e};else if(u(e,a))d={from:e,to:s};else if(c(e,a))d={from:a,to:e};else{if(!c(e,s))throw new Error("Invalid range");d={from:a,to:e}}}else d={from:e,to:n>0?void 0:e};if(null!=d&&d.from&&null!=d&&d.to){const t=i.differenceInCalendarDays(d.to,d.from);(r>0&&t>r||n>1&&t<n)&&(d={from:e,to:void 0})}return d}(o,c,d,f,i,t):void 0;return r&&n&&null!=h&&h.from&&h.to&&function(e,t,n=eS){const r=Array.isArray(t)?t:[t];if(r.filter((e=>"function"!=typeof e)).some((t=>"boolean"==typeof t?t:n.isDate(t)?TS(e,t,!1,n):FS(t,n)?t.some((t=>TS(e,t,!1,n))):NS(t)?!(!t.from||!t.to)&&HS(e,{from:t.from,to:t.to},n):IS(t)?function(e,t,n=eS){const r=Array.isArray(t)?t:[t];let o=e.from;const i=n.differenceInCalendarDays(e.to,e.from),a=Math.min(i,6);for(let e=0;e<=a;e++){if(r.includes(o.getDay()))return!0;o=n.addDays(o,1)}return!1}(e,t.dayOfWeek,n):MS(t)?n.isAfter(t.before,t.after)?HS(e,{from:n.addDays(t.after,1),to:n.addDays(t.before,-1)},n):BS(e.from,t,n)||BS(e.to,t,n):!(!LS(t)&&!DS(t))&&(BS(e.from,t,n)||BS(e.to,t,n)))))return!0;const o=r.filter((e=>"function"==typeof e));if(o.length){let t=e.from;const r=n.differenceInCalendarDays(e.to,e.from);for(let e=0;e<=r;e++){if(o.some((e=>e(t))))return!0;t=n.addDays(t,1)}}return!1}({from:h.from,to:h.to},n,t)&&(h.from=o,h.to=void 0),a||l(h),null==a||a(h,o,s,u),h},isSelected:e=>c&&TS(c,e,!1,t)}}function US(e){const{components:t,formatters:r,labels:o,dateLib:i,locale:a,classNames:s}=(0,n.useMemo)((()=>{const t={...EE,...e.locale};return{dateLib:new $E({locale:t,weekStartsOn:e.weekStartsOn,firstWeekContainsDate:e.firstWeekContainsDate,useAdditionalWeekYearTokens:e.useAdditionalWeekYearTokens,useAdditionalDayOfYearTokens:e.useAdditionalDayOfYearTokens},e.dateLib),components:oS(e.components),formatters:dS(e.formatters),labels:{...kS,...e.labels},locale:t,classNames:{...iS(),...e.classNames}}}),[e.classNames,e.components,e.dateLib,e.firstWeekContainsDate,e.formatters,e.labels,e.locale,e.useAdditionalDayOfYearTokens,e.useAdditionalWeekYearTokens,e.weekStartsOn]),{captionLayout:l,mode:c,onDayBlur:u,onDayClick:d,onDayFocus:f,onDayKeyDown:h,onDayMouseEnter:p,onDayMouseLeave:m,onNextClick:g,onPrevClick:y,showWeekNumber:v,styles:b}=e,{formatCaption:x,formatDay:w,formatMonthDropdown:C,formatWeekNumber:A,formatWeekNumberHeader:E,formatWeekdayName:S,formatYearDropdown:k}=r,_=function(e,t){const[r,o]=function(e,t){var n;let{startMonth:r,endMonth:o}=e;const{startOfYear:i,startOfDay:a,startOfMonth:s,endOfMonth:l,addYears:c,endOfYear:u}=t,{fromYear:d,toYear:f,fromMonth:h,toMonth:p}=e;!r&&h&&(r=h),!r&&d&&(r=new Date(d,0,1)),!o&&p&&(o=p),!o&&f&&(o=new Date(f,11,31));const m=null==(n=e.captionLayout)?void 0:n.startsWith("dropdown");return r?r=s(r):d?r=new Date(d,0,1):!r&&m&&(r=i(c(e.today??(e.timeZone?wS.tz(e.timeZone):t.Date?new t.Date:new Date),-100))),o?o=l(o):f?o=new Date(f,11,31):!o&&m&&(o=u(e.today??(e.timeZone?wS.tz(e.timeZone):t.Date?new t.Date:new Date))),[r&&a(r),o&&a(o)]}(e,t),{startOfMonth:i,endOfMonth:a}=t,s=_S(e,t),[l,c]=jS(s,e.month?i(e.month):void 0);(0,n.useEffect)((()=>{const n=_S(e,t);c(n)}),[e.timeZone]);const u=function(e,t,n,r){const{numberOfMonths:o=1}=n,i=[];for(let n=0;n<o;n++){const o=r.addMonths(e,n);if(t&&o>t)break;i.push(o)}return i}(l,o,e,t),d=function(e,t,n,r){const o=e[0],i=e[e.length-1],{ISOWeek:a,fixedWeeks:s}=n??{},{startOfWeek:l,endOfWeek:c,startOfISOWeek:u,endOfISOWeek:d,addDays:f,differenceInCalendarDays:h,differenceInCalendarMonths:p,isAfter:m,endOfMonth:g}=r,y=a?u(o):l(o),v=h(a?d(g(i)):c(g(i)),y),b=p(i,o)+1,x=[];for(let e=0;e<=v;e++){const n=f(y,e);if(t&&m(n,t))break;x.push(n)}const w=42*b;if(s&&x.length<w){const e=w-x.length;for(let t=0;t<e;t++){const e=f(x[x.length-1],1);x.push(e)}}return x}(u,e.endMonth?a(e.endMonth):void 0,e,t),f=function(e,t,n,r){const{startOfWeek:o,endOfWeek:i,startOfISOWeek:a,endOfISOWeek:s,endOfMonth:l,addDays:c,getWeek:u,getISOWeek:d}=r,f=e.reduce(((e,f)=>{const h=n.ISOWeek?a(f):o(f),p=n.ISOWeek?s(l(f)):i(l(f)),m=t.filter((e=>e>=h&&e<=p));if(n.fixedWeeks&&m.length<42){const e=t.filter((e=>{const t=42-m.length;return e>p&&e<=c(p,t)}));m.push(...e)}const g=m.reduce(((e,t)=>{const o=n.ISOWeek?d(t):u(t),i=e.find((e=>e.weekNumber===o)),a=new OS(t,f,r);return i?i.days.push(a):e.push(new PS(o,[a])),e}),[]),y=new RS(f,g);return e.push(y),e}),[]);return n.reverseMonths?f.reverse():f}(u,d,e,t),h=function(e){return e.reduce(((e,t)=>[...e,...t.weeks]),[])}(f),p=function(e){return e.reduce(((e,t)=>[...e,...t.weeks.reduce(((e,t)=>[...e,...t.days]),[])]),[])}(f),m=function(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:i}=n,{startOfMonth:a,addMonths:s,differenceInCalendarMonths:l}=r,c=o?i??1:1,u=a(e);return t&&l(u,t)<=0?void 0:s(u,-c)}(l,r,e,t),g=function(e,t,n,r){if(n.disableNavigation)return;const{pagedNavigation:o,numberOfMonths:i=1}=n,{startOfMonth:a,addMonths:s,differenceInCalendarMonths:l}=r,c=o?i:1,u=a(e);return t&&l(t,e)<i?void 0:s(u,c)}(l,o,e,t),{disableNavigation:y,onMonthChange:v}=e,b=e=>{if(y)return;let t=i(e);r&&t<i(r)&&(t=i(r)),o&&t>i(o)&&(t=i(o)),c(t),null==v||v(t)};return{months:f,weeks:h,days:p,navStart:r,navEnd:o,previousMonth:m,nextMonth:g,goToMonth:b,goToDay:e=>{(e=>h.some((t=>t.days.some((t=>t.isEqualTo(e))))))(e)||b(e.date)}}}(e,i),{days:O,months:R,navStart:P,navEnd:j,previousMonth:T,nextMonth:M,goToMonth:N}=_,L=function(e,t,n){const{disabled:r,hidden:o,modifiers:i,showOutsideDays:a,today:s}=t,{isSameDay:l,isSameMonth:c,startOfMonth:u,isBefore:d,endOfMonth:f,isAfter:h}=n,p=t.startMonth&&u(t.startMonth),m=t.endMonth&&f(t.endMonth),g={[YA.focused]:[],[YA.outside]:[],[YA.disabled]:[],[YA.hidden]:[],[YA.today]:[]},y={};for(const u of e){const{date:e,displayMonth:f}=u,v=!(!f||c(e,f)),b=!(!p||!d(e,p)),x=!(!m||!h(e,m)),w=!(!r||!BS(e,r,n)),C=!(!o||!BS(e,o,n))||b||x||!a&&v,A=l(e,s??(t.timeZone?wS.tz(t.timeZone):n.Date?new n.Date:new Date));v&&g.outside.push(u),w&&g.disabled.push(u),C&&g.hidden.push(u),A&&g.today.push(u),i&&Object.keys(i).forEach((t=>{const r=null==i?void 0:i[t];r&&BS(e,r,n)&&(y[t]?y[t].push(u):y[t]=[u])}))}return e=>{const t={[YA.focused]:!1,[YA.disabled]:!1,[YA.hidden]:!1,[YA.outside]:!1,[YA.today]:!1},n={};for(const n in g){const r=g[n];t[n]=r.some((t=>t===e))}for(const t in y)n[t]=y[t].some((t=>t===e));return{...t,...n}}}(O,e,i),{isSelected:D,select:I,selected:F}=function(e,t){const n=function(e,t){const{selected:n,required:r,onSelect:o}=e,[i,a]=jS(n,o?n:void 0),s=o?n:i,{isSameDay:l}=t;return{selected:s,select:(e,t,n)=>{let i=e;return!r&&s&&s&&l(e,s)&&(i=void 0),o||a(i),null==o||o(i,e,t,n),i},isSelected:e=>!!s&&l(s,e)}}(e,t),r=function(e,t){const{selected:n,required:r,onSelect:o}=e,[i,a]=jS(n,o?n:void 0),s=o?n:i,{isSameDay:l}=t,c=e=>(null==s?void 0:s.some((t=>l(t,e))))??!1,{min:u,max:d}=e;return{selected:s,select:(e,t,n)=>{let i=[...s??[]];if(c(e)){if((null==s?void 0:s.length)===u||r&&1===(null==s?void 0:s.length))return;i=null==s?void 0:s.filter((t=>!l(t,e)))}else i=(null==s?void 0:s.length)===d?[e]:[...i,e];return o||a(i),null==o||o(i,e,t,n),i},isSelected:c}}(e,t),o=WS(e,t);switch(e.mode){case"single":return n;case"multiple":return r;case"range":return o;default:return}}(e,i)??{},{blur:B,focused:z,isFocusTarget:V,moveFocus:H,setFocused:W}=VS(e,_,L,D??(()=>!1),i),{labelDayButton:U,labelGridcell:Z,labelGrid:q,labelMonthDropdown:Y,labelNav:K,labelWeekday:Q,labelWeekNumber:G,labelWeekNumberHeader:X,labelYearDropdown:J}=o,$=(0,n.useMemo)((()=>function(e,t,n){const r=n?wS.tz(n):e.Date?new e.Date:new Date,o=t?e.startOfISOWeek(r):e.startOfWeek(r),i=[];for(let t=0;t<7;t++){const n=e.addDays(o,t);i.push(n)}return i}(i,e.ISOWeek,e.timeZone)),[i,e.ISOWeek,e.timeZone]),ee=void 0!==c||void 0!==d,te=(0,n.useCallback)((()=>{T&&(N(T),null==y||y(T))}),[T,N,y]),ne=(0,n.useCallback)((()=>{M&&(N(M),null==g||g(M))}),[N,M,g]),re=(0,n.useCallback)(((e,t)=>n=>{n.preventDefault(),n.stopPropagation(),W(e),null==I||I(e.date,t,n),null==d||d(e.date,t,n)}),[I,d,W]),oe=(0,n.useCallback)(((e,t)=>n=>{W(e),null==f||f(e.date,t,n)}),[f,W]),ie=(0,n.useCallback)(((e,t)=>n=>{B(),null==u||u(e.date,t,n)}),[B,u]),ae=(0,n.useCallback)(((t,n)=>r=>{const o={ArrowLeft:["day","rtl"===e.dir?"after":"before"],ArrowRight:["day","rtl"===e.dir?"before":"after"],ArrowDown:["week","after"],ArrowUp:["week","before"],PageUp:[r.shiftKey?"year":"month","before"],PageDown:[r.shiftKey?"year":"month","after"],Home:["startOfWeek","before"],End:["endOfWeek","after"]};if(o[r.key]){r.preventDefault(),r.stopPropagation();const[e,t]=o[r.key];H(e,t)}null==h||h(t.date,n,r)}),[H,h,e.dir]),se=(0,n.useCallback)(((e,t)=>n=>{null==p||p(e.date,t,n)}),[p]),le=(0,n.useCallback)(((e,t)=>n=>{null==m||m(e.date,t,n)}),[m]),{className:ce,style:ue}=(0,n.useMemo)((()=>({className:[s[qA.Root],e.className].filter(Boolean).join(" "),style:{...null==b?void 0:b[qA.Root],...e.style}})),[s,e.className,e.style,b]),de=function(e){const t={"data-mode":e.mode??void 0,"data-required":"required"in e?e.required:void 0,"data-multiple-months":e.numberOfMonths&&e.numberOfMonths>1||void 0,"data-week-numbers":e.showWeekNumber||void 0};return Object.entries(e).forEach((([e,n])=>{e.startsWith("data-")&&(t[e]=n)})),t}(e),fe={dayPickerProps:e,selected:F,select:I,isSelected:D,months:R,nextMonth:M,previousMonth:T,goToMonth:N,getModifiers:L,components:t,classNames:s,styles:b,labels:o,formatters:r};return n.createElement(tS.Provider,{value:fe},n.createElement(t.Root,{className:ce,style:ue,dir:e.dir,id:e.id,lang:e.lang,nonce:e.nonce,title:e.title,...de},n.createElement(t.Months,{className:s[qA.Months],style:null==b?void 0:b[qA.Months]},!e.hideNavigation&&n.createElement(t.Nav,{className:s[qA.Nav],style:null==b?void 0:b[qA.Nav],"aria-label":K(),onPreviousClick:te,onNextClick:ne,previousMonth:T,nextMonth:M}),R.map(((o,u)=>{const d=function(e,t,n,r,o){if(!t||!n)return;const{addMonths:i,startOfMonth:a,isBefore:s}=o,l=e.getFullYear(),c=[];let u=t;for(;c.length<12&&s(u,i(n,1));)c.push(u.getMonth()),u=i(u,1);return c.sort(((e,t)=>e-t)).map((e=>{const i=r.formatMonthDropdown(e,o.options.locale??EE),s=o.Date?new o.Date(l,e):new Date(l,e);return{value:e,label:i,disabled:t&&s<a(t)||n&&s>a(n)||!1}}))}(o.date,P,j,r,i),f=function(e,t,n,r,o){if(!t||!n)return;const{startOfMonth:i,startOfYear:a,endOfYear:s,addYears:l,isBefore:c,isSameYear:u}=o,d=e.getMonth(),f=a(t),h=s(n),p=[];let m=f;for(;c(m,h)||u(m,h);)p.push(m.getFullYear()),m=l(m,1);return p.map((e=>{const a=o.Date?new o.Date(e,d):new Date(e,d),s=t&&a<i(t)||d&&n&&a>i(n)||!1;return{value:e,label:r.formatYearDropdown(e),disabled:s}}))}(R[0].date,P,j,r,i);return n.createElement(t.Month,{className:s[qA.Month],style:null==b?void 0:b[qA.Month],key:u,displayIndex:u,calendarMonth:o},n.createElement(t.MonthCaption,{className:s[qA.MonthCaption],style:null==b?void 0:b[qA.MonthCaption],calendarMonth:o,displayIndex:u},null!=l&&l.startsWith("dropdown")?n.createElement(t.DropdownNav,{className:s[qA.Dropdowns],style:null==b?void 0:b[qA.Dropdowns]},"dropdown"===l||"dropdown-months"===l?n.createElement(t.MonthsDropdown,{className:s[qA.MonthsDropdown],"aria-label":Y(),classNames:s,components:t,disabled:!!e.disableNavigation,onChange:e=>{const t=Number(e.target.value),n=i.setMonth(i.startOfMonth(o.date),t);N(n)},options:d,style:null==b?void 0:b[qA.Dropdown],value:o.date.getMonth()}):n.createElement("span",{role:"status","aria-live":"polite"},C(o.date.getMonth(),a)),"dropdown"===l||"dropdown-years"===l?n.createElement(t.YearsDropdown,{className:s[qA.YearsDropdown],"aria-label":J(i.options),classNames:s,components:t,disabled:!!e.disableNavigation,onChange:e=>{const t=i.setYear(i.startOfMonth(o.date),Number(e.target.value));N(t)},options:f,style:null==b?void 0:b[qA.Dropdown],value:o.date.getFullYear()}):n.createElement("span",{role:"status","aria-live":"polite"},k(o.date.getFullYear()))):n.createElement(t.CaptionLabel,{className:s[qA.CaptionLabel],role:"status","aria-live":"polite"},x(o.date,i.options,i))),n.createElement(t.MonthGrid,{role:"grid","aria-multiselectable":"multiple"===c||"range"===c,"aria-label":q(o.date,i.options,i)||void 0,className:s[qA.MonthGrid],style:null==b?void 0:b[qA.MonthGrid]},!e.hideWeekdays&&n.createElement(t.Weekdays,{className:s[qA.Weekdays],style:null==b?void 0:b[qA.Weekdays]},v&&n.createElement(t.WeekNumberHeader,{"aria-label":X(i.options),className:s[qA.WeekNumberHeader],style:null==b?void 0:b[qA.WeekNumberHeader],scope:"col"},E()),$.map(((e,r)=>n.createElement(t.Weekday,{"aria-label":Q(e,i.options,i),className:s[qA.Weekday],key:r,style:null==b?void 0:b[qA.Weekday],scope:"col"},S(e,i.options,i))))),n.createElement(t.Weeks,{className:s[qA.Weeks],style:null==b?void 0:b[qA.Weeks]},o.weeks.map(((r,o)=>n.createElement(t.Week,{className:s[qA.Week],key:r.weekNumber,style:null==b?void 0:b[qA.Week],week:r},v&&n.createElement(t.WeekNumber,{week:r,style:null==b?void 0:b[qA.WeekNumber],"aria-label":G(r.weekNumber,{locale:a}),className:s[qA.WeekNumber],scope:"row"},A(r.weekNumber)),r.days.map((r=>{const{date:o}=r,a=L(r);if(a[YA.focused]=!a.hidden&&!(null==z||!z.isEqualTo(r)),a[KA.selected]=!a.disabled&&((null==D?void 0:D(o))||a.selected),NS(F)){const{from:e,to:t}=F;a[KA.range_start]=!!(e&&t&&i.isSameDay(o,e)),a[KA.range_end]=!!(e&&t&&i.isSameDay(o,t)),a[KA.range_middle]=TS(F,o,!0,i)}const l=function(e,t={},n={}){let r={...null==t?void 0:t[qA.Day]};return Object.entries(e).filter((([,e])=>!0===e)).forEach((([e])=>{r={...r,...null==n?void 0:n[e]}})),r}(a,b,e.modifiersStyles),c=function(e,t,n={}){return Object.entries(e).filter((([,e])=>!0===e)).reduce(((e,[r])=>(n[r]?e.push(n[r]):t[YA[r]]?e.push(t[YA[r]]):t[KA[r]]&&e.push(t[KA[r]]),e)),[t[qA.Day]])}(a,s,e.modifiersClassNames),u=ee?void 0:Z(o,a,i.options,i);return n.createElement(t.Day,{key:`${i.format(o,"yyyy-MM-dd")}_${i.format(r.displayMonth,"yyyy-MM")}`,day:r,modifiers:a,className:c.join(" "),style:l,"aria-hidden":a.hidden||void 0,"aria-selected":a.selected||void 0,"aria-label":u,"data-day":i.format(o,"yyyy-MM-dd"),"data-month":r.outside?i.format(o,"yyyy-MM"):void 0,"data-selected":a.selected||void 0,"data-disabled":a.disabled||void 0,"data-hidden":a.hidden||void 0,"data-outside":r.outside||void 0,"data-focused":a.focused||void 0,"data-today":a.today||void 0},ee?n.createElement(t.DayButton,{className:s[qA.DayButton],style:null==b?void 0:b[qA.DayButton],type:"button",day:r,modifiers:a,disabled:a.disabled||void 0,tabIndex:V(r)?0:-1,"aria-label":U(o,a,i.options,i),onClick:re(r,a),onBlur:ie(r,a),onFocus:oe(r,a),onKeyDown:ae(r,a),onMouseEnter:se(r,a),onMouseLeave:le(r,a)},w(o,i.options,i)):w(r.date,i.options,i))}))))))))}))),e.footer&&n.createElement(t.Footer,{className:s[qA.Footer],style:null==b?void 0:b[qA.Footer],role:"status","aria-live":"polite"},e.footer)))}const ZS=()=>(0,We.jsx)("span",{className:"bg-icon-interactive h-1 w-1 absolute rounded-full inline-block bottom-0 left-1/2 right-1/2"}),qS=e=>ZE(e,"E").slice(0,1),YS=(e,t=24)=>Array.from({length:t},((t,n)=>e+n)),KS=e=>"multiple"===e?[]:"range"===e?{from:void 0,to:void 0}:void 0,QS=({width:e,className:t,classNames:r,selectedDates:o,setSelectedDates:i,showOutsideDays:a=!0,mode:s="single",variant:l="normal",alignment:c="horizontal",numberOfMonths:u,disabled:d,...f})=>{const h=n.isValidElement(f.footer)||"function"==typeof f.footer,[p,m]=(0,n.useState)(!1),[g,y]=(0,n.useState)(!1),[v,b]=(0,n.useState)((new Date).getFullYear()),[x,w]=(0,n.useState)(v-v%24);void 0===o&&(o="multiple"===s?[]:"range"===s?{from:void 0,to:void 0}:void 0);const C=({weekdays:e})=>(0,We.jsx)("div",{className:"flex justify-between",children:e.map(((e,t)=>(0,We.jsx)("button",{className:"h-10 w-10 px-1.5 py-2 text-center text-text-secondary text-sm font-normal content-center bg-transparent border-none shrink-0",children:e},t)))}),A=e=>(0,We.jsx)("div",{className:"flex flex-col bsf-force-ui-month-weeks",children:e.children[1].props.children.map(((e,t)=>(0,We.jsx)("div",{className:"flex flex-row justify-between",children:e},t)))}),E=Qt("relative bg-background-primary shadow-datepicker-wrapper",e,"vertical"===c?"flex flex-col":"flex flex-row  gap-3","normal"===l?"rounded-tr-md rounded-tl-md border border-solid border-border-subtle":"","presets"===l?"rounded-tr-md border border-solid border-border-subtle":"","dualdate"===l?"rounded-tr-md rounded-tl-md border border-solid border-border-subtle":"",h?"rounded-b-none":"rounded-bl-md rounded-br-md");return(0,We.jsx)(We.Fragment,{children:(0,We.jsx)(US,{mode:s,selected:o,onSelect:(e,t)=>{if("range"===s){const n=o;if((null==n||!n.from)&&(null==n||!n.to)||null!=n&&n.from&&null!=n&&n.to)return n.from&&QE(t,null==n?void 0:n.from)||n.to&&QE(t,null==n?void 0:n.to)?void i({from:void 0,to:void 0}):void i({from:t,to:void 0});if(null!=n&&n.from&&(null==n||!n.to))return t<n.from?void i({from:t,to:n.from}):void i({from:n.from,to:t});i(e)}else"multiple"===s?o.some((e=>ZE(e,"yyyy-MM-dd")===ZE(t,"yyyy-MM-dd")))?i(o.filter((e=>ZE(e,"yyyy-MM-dd")!==ZE(t,"yyyy-MM-dd")))):i([...o,t]):"single"===s&&i(e)},hideNavigation:!0,captionLayout:"label",className:Qt(t),formatters:{formatWeekdayName:qS},classNames:{months:E,month:"flex flex-col p-2 gap-1 text-center w-full",caption:"relative flex justify-center items-center",table:"w-full border-separate border-spacing-0",head_row:"flex mb-1",head_cell:"text-muted-foreground rounded-md w-10 font-normal text-sm",row:"flex w-full mt-2",cell:"h-10 w-10 text-center text-sm p-0 relative",...r},numberOfMonths:u,components:{MonthCaption:function(e){const{goToMonth:t,nextMonth:n,previousMonth:r}=nS(),o=ZE(e.calendarMonth.date,"yyyy"),i=ZE(e.calendarMonth.date,"MMMM"),a=new Date(e.calendarMonth.date);a.setDate(a.getDate()-a.getDay());const s=Array.from({length:7},((e,t)=>{const n=new Date(a);return n.setDate(a.getDate()+t),qS(n)}));let l;return l=g?`${x} - ${x+23}`:p?o:`${i} ${o}`,(0,We.jsxs)(We.Fragment,{children:[(0,We.jsxs)("div",{className:"flex justify-between",children:[(0,We.jsx)(tn,{variant:"ghost",onClick:()=>{if(g)w(x-24);else if(p){const n=new Date(v-1,e.calendarMonth.date.getMonth());b(n.getFullYear()),t(n)}else t(r)},className:"bg-background-primary border-none cursor-pointer","aria-label":"Previous Button",icon:(0,We.jsx)(pn,{className:"h-4 w-4 text-button-tertiary-color"})}),(0,We.jsx)(tn,{variant:"ghost",onClick:()=>{u>1||(p?(y(!0),m(!1)):g?y(!1):m(!p))},children:l}),(0,We.jsx)(tn,{variant:"ghost",onClick:()=>{if(g)w(x+24);else if(p){const n=new Date(v+1,e.calendarMonth.date.getMonth());b(n.getFullYear()),t(n)}else t(n)},className:"bg-background-primary border-none cursor-pointer","aria-label":"Next Button",icon:(0,We.jsx)(mn,{className:"h-4 w-4 text-button-tertiary-color"})})]}),g&&(0,We.jsx)("div",{className:"grid grid-cols-4 w-full",children:YS(x).map((n=>(0,We.jsxs)(tn,{variant:"ghost",onClick:()=>(n=>{b(n),y(!1),m(!0),t(new Date(n,e.calendarMonth.date.getMonth()))})(n),className:Qt("h-10 w-full text-center font-normal relative",n===v&&n!==(new Date).getFullYear()&&"bg-background-brand text-text-on-color hover:bg-background-brand hover:text-black",n===(new Date).getFullYear()&&"font-semibold"),children:[n,n===(new Date).getFullYear()&&ZS()]},n)))}),p&&!g&&(0,We.jsx)("div",{className:"grid grid-cols-4 gap-2 my-12",children:Array.from({length:12},((n,r)=>(0,We.jsxs)(tn,{variant:"ghost",onClick:()=>{m(!1),t(new Date(v,r))},className:Qt("px-1.5 py-2 h-10 w-[4.375rem] text-center font-normal relative",r===e.calendarMonth.date.getMonth()&&r!==(new Date).getMonth()&&v===e.calendarMonth.date.getFullYear()&&e.calendarMonth.date.getFullYear()!==(new Date).getFullYear()&&"bg-background-brand text-text-on-color hover:bg-background-brand hover:text-black",r===(new Date).getMonth()&&(new Date).getFullYear()===v&&"font-semibold"),children:[ZE(new Date(0,r),"MMM"),(new Date).getMonth()===r&&(new Date).getFullYear()===v&&ZS()]},r)))}),!p&&!g&&(0,We.jsx)(C,{weekdays:s})]})},DayButton:({day:e,modifiers:t,...n})=>{const{selected:r,today:i,disabled:s,outside:l,range_middle:c,range_start:u,range_end:d}=t,f=u||d||c,h=new Date,p=null==o?void 0:o.to,m=ZE(e.displayMonth,"yyyy-MM")===ZE(h,"yyyy-MM"),g=p&&ZE(p,"yyyy-MM")===ZE(e.date,"yyyy-MM"),y=function(e){return eE(e,-1,void 0)}(h),v=ZE(e.date,"yyyy-MM")===ZE(y,"yyyy-MM"),b=m||g||f,x=!a&&l,w=Qt("h-10 w-10 flex items-center justify-center transition text-text-secondary relative text-sm","border-none rounded",!r&&!f||l?"bg-transparent hover:bg-button-tertiary-hover":"bg-background-brand text-text-on-color",c&&b&&!l?"bg-brand-background-50 text-text-secondary rounded-none":"",s?"opacity-50 cursor-not-allowed text-text-disabled":"cursor-pointer",l&&!f||!b&&l||l&&!v||l?"bg-transparent opacity-50 text-text-disabled cursor-auto":"");return(0,We.jsxs)("button",{className:Qt(w,i&&"font-semibold",x&&"opacity-0",u&&"fui-range-start",d&&"fui-range-end",c&&"fui-range-middle",{"[&:is([data-hover=true])]:bg-brand-background-50 [&:is([data-hover=true])]:rounded-none":!f&&!r}),disabled:s||l,onClick:e=>{"function"==typeof n.onClick&&n.onClick(e)},onMouseEnter:e=>{"function"==typeof n.onMouseEnter&&n.onMouseEnter(e),e.currentTarget.setAttribute("data-hover","true")},onMouseLeave:e=>{"function"==typeof n.onMouseLeave&&n.onMouseLeave(e),e.currentTarget.setAttribute("data-hover","false")},"aria-label":ZE(e.date,"EEEE, MMMM do, yyyy"),"data-selected":r,"data-day":ZE(e.date,"yyyy-MM-dd"),children:[(!x||f&&b)&&n.children,i&&b&&(0,We.jsx)("span",{className:"absolute h-1 w-1 bg-background-brand rounded-full bottom-1"})]})},Day:e=>{const t=Object.entries(e).reduce(((e,[t,n])=>(t.startsWith("data-")&&(e[t]=n),e)),{});return(0,We.jsx)("div",{...t,className:Qt(e.className,"inline-flex"),children:e.children})},Weekdays:()=>(0,We.jsx)(We.Fragment,{}),Week:e=>(0,We.jsx)("div",{className:Qt("bsf-force-ui-month-week flex flex-row",e.className),children:e.children}),Months:e=>{var t;return(0,We.jsx)(We.Fragment,{children:(0,We.jsx)("div",{className:Qt("bsf-force-ui-date-picker-month",E),children:null==(t=null==e?void 0:e.children)?void 0:t.map(((e,t)=>e?(0,We.jsx)(n.Fragment,{children:e.map(((e,t)=>(0,We.jsxs)(n.Fragment,{children:[t>0&&(0,We.jsx)("div",{className:"border border-solid border-border-subtle border-l-0"}),e]},t)))},t):null))})})},MonthGrid:e=>p||g?(0,We.jsx)(We.Fragment,{}):(0,We.jsx)(A,{...e})},..."range"===s?{required:!1}:{},...f,onDayMouseEnter:(e,t,n)=>{var r;if("range"!==s)return;const i=o;if(null!=i&&i.from&&null!=i&&i.to||(null==i||!i.from)&&(null==i||!i.to))return void Array.from(document.querySelectorAll("[data-hover]")).forEach((e=>{e.setAttribute("data-hover","false")}));const a=n.target,c=new Date(a.dataset.day),u=KE(c,i.from),d=YE(c,i.to);let f;switch(l){case"dualdate":case"presets":f=a.closest(".bsf-force-ui-date-picker-month");break;default:f=a.closest(".bsf-force-ui-month-weeks")}const h=Array.from(f.querySelectorAll("button"));d&&h.sort(((e,t)=>YE(new Date(e.dataset.day),new Date(t.dataset.day))?-1:1)),u&&h.sort(((e,t)=>KE(new Date(e.dataset.day),new Date(t.dataset.day))?1:-1));const p=h.indexOf(a),m=h.findIndex((e=>"true"===e.getAttribute("data-selected"))),g=[],y=Math.min(p,m),v=Math.max(p,m);for(let e=y;e<=v;e++)null!=(r=h[e])&&r.disabled||g.push(h[e]);h.forEach((e=>{e.setAttribute("data-hover",g.includes(e)?"true":"false")}))},disabled:d})})},GS=({selectionType:e="single",variant:t="normal",presets:r=[],onCancel:o,onApply:i,onDateSelect:a,applyButtonText:s="Apply",cancelButtonText:l="Cancel",showOutsideDays:c=!0,isFooter:u=!0,selected:d,disabled:f,...h})=>{const[p,m]=(0,n.useState)((()=>{if(!d)return KS(e);const t="multiple"===e&&Array.isArray(d),n="single"===e&&d instanceof Date;return t||"range"===e&&"from"in d&&"to"in d||n?d:KS(e)})),g=e=>{m(e),a&&a(e)},y=[{label:"Today",range:{from:XE(),to:XE()}},{label:"Yesterday",range:{from:JE(),to:JE()}},{label:"This Week",range:{from:rE(new Date,{weekStartsOn:1}),to:mE(new Date,{weekStartsOn:1})}},{label:"Last 7 Days",range:{from:GE(new Date,6),to:new Date}},{label:"This Month",range:{from:hE(new Date),to:fE(new Date)}},{label:"Last 30 Days",range:{from:GE(new Date,29),to:new Date}}],v=r.length>0?r:y,b=()=>{m("multiple"===e?[]:{from:void 0,to:void 0}),o&&o()},x=()=>{i&&i(p)};return"normal"===t?(0,We.jsx)(QS,{...h,mode:e,variant:t,width:"w-[18.5rem]",selectedDates:p,showOutsideDays:c,setSelectedDates:g,footer:u&&(0,We.jsxs)("div",{className:"flex bg-background-primary justify-end p-2 gap-3 border border-solid border-border-subtle border-t-0 rounded-md rounded-tl-none rounded-tr-none",children:[(0,We.jsx)(tn,{variant:"outline",onClick:b,children:l}),(0,We.jsx)(tn,{onClick:x,children:s})]}),disabled:f}):"dualdate"===t?(0,We.jsx)(QS,{mode:e,numberOfMonths:2,alignment:"horizontal",selectedDates:p,setSelectedDates:g,showOutsideDays:c,variant:t,width:"w-auto",footer:(0,We.jsxs)("div",{className:"flex bg-background-primary justify-end p-2 gap-3 border border-solid border-border-subtle border-t-0 rounded-md rounded-tl-none rounded-tr-none",children:[(0,We.jsx)(tn,{variant:"outline",onClick:b,children:l}),(0,We.jsx)(tn,{onClick:x,children:s})]}),disabled:f,...h}):"presets"===t?(0,We.jsxs)("div",{className:"flex flex-row shadow-datepicker-wrapper",children:[(0,We.jsx)("div",{className:"flex flex-col gap-1 p-3 items-start border border-solid border-border-subtle border-r-0 rounded-tl-md rounded-bl-md bg-background-primary",children:v.map(((e,t)=>(0,We.jsx)(tn,{onClick:()=>(e=>{m(e)})(e.range),variant:"ghost",className:"text-left font-medium text-sm text-nowrap w-full",children:e.label},t)))}),(0,We.jsx)(QS,{...h,mode:e,selectedDates:p,setSelectedDates:g,variant:t,showOutsideDays:c,width:"w-auto",numberOfMonths:2,footer:(0,We.jsxs)("div",{className:"flex justify-end p-2 gap-3 border-l border-r border-t-0 border-b border-solid border-border-subtle bg-background-primary rounded-br-md",children:[(0,We.jsx)(tn,{variant:"outline",onClick:b,children:l}),(0,We.jsx)(tn,{onClick:x,children:s})]}),disabled:f})]}):void 0},XS=({type:e="simple",defaultValue:t=[],autoClose:r=!1,disabled:o=!1,children:i,className:a})=>{const[s,l]=(0,n.useState)(Array.isArray(t)?t:[t]);return(0,We.jsx)("div",{className:Qt("boxed"===e?"space-y-3":"",a),children:n.Children.map(i,(t=>n.isValidElement(t)&&"value"in t.props?n.cloneElement(t,{isOpen:s.includes(t.props.value),onToggle:()=>(e=>{l((t=>r?t.includes(e)?[]:[e]:t.includes(e)?t.filter((t=>t!==e)):[...t,e]))})(t.props.value),type:e,disabled:o||t.props.disabled}):t))})};XS.displayName="Accordion";const JS=({isOpen:e,onToggle:t,type:r="simple",disabled:o=!1,children:i,className:a})=>{const s={simple:"border-0",separator:"border-0 border-b border-solid border-border-subtle",boxed:"border border-solid border-border-subtle rounded-md"}[r];return(0,We.jsx)("div",{className:Qt(s,a),children:n.Children.map(i,(i=>n.isValidElement(i)?n.cloneElement(i,{isOpen:e,onToggle:t,type:r,disabled:o}):i))})};JS.displayName="Accordion.Item";const $S=({onToggle:e,isOpen:t,iconType:n="arrow",disabled:r=!1,tag:o="h3",type:i="simple",children:a,className:s,...l})=>{const c={simple:"px-2 py-3",separator:"px-2 py-4",boxed:"px-3 py-4"}[i];return(0,We.jsx)(o,{className:"flex m-0 hover:bg-background-secondary transition duration-150 ease-in-out",children:(0,We.jsxs)("button",{className:Qt("flex w-full items-center justify-between text-sm font-medium transition-all appearance-none bg-transparent border-0 cursor-pointer gap-3",c,r&&"cursor-not-allowed opacity-40",s),onClick:r?()=>{}:e,"aria-expanded":t,disabled:r,...l,children:[(0,We.jsx)("div",{className:"flex items-center gap-2 text-text-primary font-semibold text-left",children:a}),"arrow"===n?(0,We.jsx)(hn,{className:Qt("flex-shrink-0 text-icon-secondary size-5 transition-transform duration-300 ease-in-out",t?"rotate-180":"rotate-0")}):"plus-minus"===n?(0,We.jsx)(Zh.span,{initial:{opacity:0,rotate:t?-180:0},animate:{opacity:1,rotate:t?0:180},exit:{opacity:0},transition:{duration:.3,ease:"easeInOut"},className:"flex items-center flex-shrink-0 text-icon-secondary",children:t?(0,We.jsx)(xn,{}):(0,We.jsx)(An,{})},t?"minus":"plus"):null]})})};$S.displayName="Accordion.Trigger";const ek=({isOpen:e,disabled:t=!1,type:n="simple",children:r,className:o})=>{const i={simple:"px-2 pb-3",separator:"px-2 pb-4",boxed:"px-3 pb-4"}[n];return(0,We.jsx)(Jh,{initial:!1,children:e&&(0,We.jsx)(Zh.div,{variants:{open:{height:"auto",opacity:1},closed:{height:0,opacity:0}},initial:"closed",animate:"open",exit:"closed",transition:{duration:.3,ease:"easeInOut"},className:Qt("overflow-hidden text-text-secondary w-full text-sm transition-[height, opacity, transform] ease-in box-border",t&&"opacity-40",o),"aria-hidden":!e,children:(0,We.jsx)("div",{className:Qt(i),children:r})},"content")})};ek.displayName="Accordion.Content",Object.assign(XS,{Item:JS,Trigger:$S,Content:ek});var tk=Array.isArray,nk="object"==typeof Ze&&Ze&&Ze.Object===Object&&Ze,rk=nk,ok="object"==typeof self&&self&&self.Object===Object&&self,ik=rk||ok||Function("return this")(),ak=ik.Symbol,sk=ak,lk=Object.prototype,ck=lk.hasOwnProperty,uk=lk.toString,dk=sk?sk.toStringTag:void 0,fk=Object.prototype.toString,hk=function(e){var t=ck.call(e,dk),n=e[dk];try{e[dk]=void 0;var r=!0}catch{}var o=uk.call(e);return r&&(t?e[dk]=n:delete e[dk]),o},pk=function(e){return fk.call(e)},mk=ak?ak.toStringTag:void 0,gk=function(e){return null==e?void 0===e?"[object Undefined]":"[object Null]":mk&&mk in Object(e)?hk(e):pk(e)},yk=function(e){return null!=e&&"object"==typeof e},vk=gk,bk=yk,xk=function(e){return"symbol"==typeof e||bk(e)&&"[object Symbol]"==vk(e)},wk=tk,Ck=xk,Ak=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,Ek=/^\w*$/,Sk=function(e,t){if(wk(e))return!1;var n=typeof e;return!("number"!=n&&"symbol"!=n&&"boolean"!=n&&null!=e&&!Ck(e))||Ek.test(e)||!Ak.test(e)||null!=t&&e in Object(t)},kk=function(e){var t=typeof e;return null!=e&&("object"==t||"function"==t)};const _k=qe(kk);var Ok=gk,Rk=kk,Pk=function(e){if(!Rk(e))return!1;var t=Ok(e);return"[object Function]"==t||"[object GeneratorFunction]"==t||"[object AsyncFunction]"==t||"[object Proxy]"==t};const jk=qe(Pk);var Tk=ik["__core-js_shared__"],Mk=function(){var e=/[^.]+$/.exec(Tk&&Tk.keys&&Tk.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}(),Nk=Function.prototype.toString,Lk=function(e){if(null!=e){try{return Nk.call(e)}catch{}try{return e+""}catch{}}return""},Dk=Pk,Ik=function(e){return!!Mk&&Mk in e},Fk=kk,Bk=Lk,zk=/^\[object .+?Constructor\]$/,Vk=Function.prototype,Hk=Object.prototype,Wk=Vk.toString,Uk=Hk.hasOwnProperty,Zk=RegExp("^"+Wk.call(Uk).replace(/[\\^$.*+?()[\]{}|]/g,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$"),qk=function(e){return!(!Fk(e)||Ik(e))&&(Dk(e)?Zk:zk).test(Bk(e))},Yk=function(e,t){return null==e?void 0:e[t]},Kk=function(e,t){var n=Yk(e,t);return qk(n)?n:void 0},Qk=Kk(Object,"create"),Gk=Qk,Xk=Qk,Jk=Object.prototype.hasOwnProperty,$k=Qk,e_=Object.prototype.hasOwnProperty,t_=Qk,n_=function(){this.__data__=Gk?Gk(null):{},this.size=0},r_=function(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t},o_=function(e){var t=this.__data__;if(Xk){var n=t[e];return"__lodash_hash_undefined__"===n?void 0:n}return Jk.call(t,e)?t[e]:void 0},i_=function(e){var t=this.__data__;return $k?void 0!==t[e]:e_.call(t,e)},a_=function(e,t){var n=this.__data__;return this.size+=this.has(e)?0:1,n[e]=t_&&void 0===t?"__lodash_hash_undefined__":t,this};function s_(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}s_.prototype.clear=n_,s_.prototype.delete=r_,s_.prototype.get=o_,s_.prototype.has=i_,s_.prototype.set=a_;var l_=s_,c_=function(e,t){return e===t||e!=e&&t!=t},u_=c_,d_=function(e,t){for(var n=e.length;n--;)if(u_(e[n][0],t))return n;return-1},f_=d_,h_=Array.prototype.splice,p_=d_,m_=d_,g_=d_,y_=function(){this.__data__=[],this.size=0},v_=function(e){var t=this.__data__,n=f_(t,e);return!(n<0||(n==t.length-1?t.pop():h_.call(t,n,1),--this.size,0))},b_=function(e){var t=this.__data__,n=p_(t,e);return n<0?void 0:t[n][1]},x_=function(e){return m_(this.__data__,e)>-1},w_=function(e,t){var n=this.__data__,r=g_(n,e);return r<0?(++this.size,n.push([e,t])):n[r][1]=t,this};function C_(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}C_.prototype.clear=y_,C_.prototype.delete=v_,C_.prototype.get=b_,C_.prototype.has=x_,C_.prototype.set=w_;var A_=C_,E_=Kk(ik,"Map"),S_=l_,k_=A_,__=E_,O_=function(e){var t=typeof e;return"string"==t||"number"==t||"symbol"==t||"boolean"==t?"__proto__"!==e:null===e},R_=function(e,t){var n=e.__data__;return O_(t)?n["string"==typeof t?"string":"hash"]:n.map},P_=R_,j_=R_,T_=R_,M_=R_,N_=function(e){var t=P_(this,e).delete(e);return this.size-=t?1:0,t},L_=function(e){return j_(this,e).get(e)},D_=function(e){return T_(this,e).has(e)},I_=function(e,t){var n=M_(this,e),r=n.size;return n.set(e,t),this.size+=n.size==r?0:1,this};function F_(e){var t=-1,n=null==e?0:e.length;for(this.clear();++t<n;){var r=e[t];this.set(r[0],r[1])}}F_.prototype.clear=function(){this.size=0,this.__data__={hash:new S_,map:new(__||k_),string:new S_}},F_.prototype.delete=N_,F_.prototype.get=L_,F_.prototype.has=D_,F_.prototype.set=I_;var B_=F_,z_=B_;function V_(e,t){if("function"!=typeof e||null!=t&&"function"!=typeof t)throw new TypeError("Expected a function");var n=function(){var r=arguments,o=t?t.apply(this,r):r[0],i=n.cache;if(i.has(o))return i.get(o);var a=e.apply(this,r);return n.cache=i.set(o,a)||i,a};return n.cache=new(V_.Cache||z_),n}V_.Cache=z_;var H_=V_;const W_=qe(H_);var U_=H_,Z_=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,q_=/\\(\\)?/g,Y_=function(e){var t=U_(e,(function(e){return 500===n.size&&n.clear(),e})),n=t.cache;return t}((function(e){var t=[];return 46===e.charCodeAt(0)&&t.push(""),e.replace(Z_,(function(e,n,r,o){t.push(r?o.replace(q_,"$1"):n||e)})),t})),K_=Y_,Q_=function(e,t){for(var n=-1,r=null==e?0:e.length,o=Array(r);++n<r;)o[n]=t(e[n],n,e);return o},G_=Q_,X_=tk,J_=xk,$_=ak?ak.prototype:void 0,eO=$_?$_.toString:void 0,tO=function e(t){if("string"==typeof t)return t;if(X_(t))return G_(t,e)+"";if(J_(t))return eO?eO.call(t):"";var n=t+"";return"0"==n&&1/t==-1/0?"-0":n},nO=function(e){return null==e?"":tO(e)},rO=tk,oO=Sk,iO=K_,aO=nO,sO=function(e,t){return rO(e)?e:oO(e,t)?[e]:iO(aO(e))},lO=xk,cO=function(e){if("string"==typeof e||lO(e))return e;var t=e+"";return"0"==t&&1/e==-1/0?"-0":t},uO=sO,dO=cO,fO=function(e,t){for(var n=0,r=(t=uO(t,e)).length;null!=e&&n<r;)e=e[dO(t[n++])];return n&&n==r?e:void 0},hO=fO,pO=function(e,t,n){var r=null==e?void 0:hO(e,t);return void 0===r?n:r};const mO=qe(pO);var gO=function(e){return null==e};const yO=qe(gO);var vO=gk,bO=tk,xO=yk,wO=function(e){return"string"==typeof e||!bO(e)&&xO(e)&&"[object String]"==vO(e)};const CO=qe(wO);var AO,EO={exports:{}},SO={};EO.exports=function(){if(AO)return SO;AO=1;var e,t=Symbol.for("react.element"),n=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),o=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),f=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),p=Symbol.for("react.offscreen");function m(e){if("object"==typeof e&&null!==e){var p=e.$$typeof;switch(p){case t:switch(e=e.type){case r:case i:case o:case u:case d:return e;default:switch(e=e&&e.$$typeof){case l:case s:case c:case h:case f:case a:return e;default:return p}}case n:return p}}}return e=Symbol.for("react.module.reference"),SO.ContextConsumer=s,SO.ContextProvider=a,SO.Element=t,SO.ForwardRef=c,SO.Fragment=r,SO.Lazy=h,SO.Memo=f,SO.Portal=n,SO.Profiler=i,SO.StrictMode=o,SO.Suspense=u,SO.SuspenseList=d,SO.isAsyncMode=function(){return!1},SO.isConcurrentMode=function(){return!1},SO.isContextConsumer=function(e){return m(e)===s},SO.isContextProvider=function(e){return m(e)===a},SO.isElement=function(e){return"object"==typeof e&&null!==e&&e.$$typeof===t},SO.isForwardRef=function(e){return m(e)===c},SO.isFragment=function(e){return m(e)===r},SO.isLazy=function(e){return m(e)===h},SO.isMemo=function(e){return m(e)===f},SO.isPortal=function(e){return m(e)===n},SO.isProfiler=function(e){return m(e)===i},SO.isStrictMode=function(e){return m(e)===o},SO.isSuspense=function(e){return m(e)===u},SO.isSuspenseList=function(e){return m(e)===d},SO.isValidElementType=function(t){return"string"==typeof t||"function"==typeof t||t===r||t===i||t===o||t===u||t===d||t===p||"object"==typeof t&&null!==t&&(t.$$typeof===h||t.$$typeof===f||t.$$typeof===a||t.$$typeof===s||t.$$typeof===c||t.$$typeof===e||void 0!==t.getModuleId)},SO.typeOf=m,SO}();var kO=EO.exports,_O=gk,OO=yk,RO=function(e){return"number"==typeof e||OO(e)&&"[object Number]"==_O(e)};const PO=qe(RO);var jO=RO,TO=function(e){return jO(e)&&e!=+e};const MO=qe(TO);var NO=function(e){return 0===e?0:e>0?1:-1},LO=function(e){return CO(e)&&e.indexOf("%")===e.length-1},DO=function(e){return PO(e)&&!MO(e)},IO=function(e){return DO(e)||CO(e)},FO=0,BO=function(e){var t=++FO;return"".concat(e||"").concat(t)},zO=function(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:0,o=arguments.length>3&&void 0!==arguments[3]&&arguments[3];if(!DO(e)&&!CO(e))return r;if(LO(e)){var i=e.indexOf("%");n=t*parseFloat(e.slice(0,i))/100}else n=+e;return MO(n)&&(n=r),o&&n>t&&(n=t),n},VO=function(e){if(!e)return null;var t=Object.keys(e);return t&&t.length?e[t[0]]:null},HO=function(e,t){return DO(e)&&DO(t)?function(n){return e+n*(t-e)}:function(){return t}};function WO(e,t,n){return e&&e.length?e.find((function(e){return e&&("function"==typeof t?t(e):mO(e,t))===n})):null}function UO(e,t){for(var n in e)if({}.hasOwnProperty.call(e,n)&&(!{}.hasOwnProperty.call(t,n)||e[n]!==t[n]))return!1;for(var r in t)if({}.hasOwnProperty.call(t,r)&&!{}.hasOwnProperty.call(e,r))return!1;return!0}function ZO(e){return(ZO="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})(e)}var qO=["aria-activedescendant","aria-atomic","aria-autocomplete","aria-busy","aria-checked","aria-colcount","aria-colindex","aria-colspan","aria-controls","aria-current","aria-describedby","aria-details","aria-disabled","aria-errormessage","aria-expanded","aria-flowto","aria-haspopup","aria-hidden","aria-invalid","aria-keyshortcuts","aria-label","aria-labelledby","aria-level","aria-live","aria-modal","aria-multiline","aria-multiselectable","aria-orientation","aria-owns","aria-placeholder","aria-posinset","aria-pressed","aria-readonly","aria-relevant","aria-required","aria-roledescription","aria-rowcount","aria-rowindex","aria-rowspan","aria-selected","aria-setsize","aria-sort","aria-valuemax","aria-valuemin","aria-valuenow","aria-valuetext","className","color","height","id","lang","max","media","method","min","name","style","target","width","role","tabIndex","accentHeight","accumulate","additive","alignmentBaseline","allowReorder","alphabetic","amplitude","arabicForm","ascent","attributeName","attributeType","autoReverse","azimuth","baseFrequency","baselineShift","baseProfile","bbox","begin","bias","by","calcMode","capHeight","clip","clipPath","clipPathUnits","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","fx","fy","g1","g2","glyphName","glyphOrientationHorizontal","glyphOrientationVertical","glyphRef","gradientTransform","gradientUnits","hanging","horizAdvX","horizOriginX","href","ideographic","imageRendering","in2","in","intercept","k1","k2","k3","k4","k","kernelMatrix","kernelUnitLength","kerning","keyPoints","keySplines","keyTimes","lengthAdjust","letterSpacing","lightingColor","limitingConeAngle","local","markerEnd","markerHeight","markerMid","markerStart","markerUnits","markerWidth","mask","maskContentUnits","maskUnits","mathematical","mode","numOctaves","offset","opacity","operator","order","orient","orientation","origin","overflow","overlinePosition","overlineThickness","paintOrder","panose1","pathLength","patternContentUnits","patternTransform","patternUnits","pointerEvents","pointsAtX","pointsAtY","pointsAtZ","preserveAlpha","preserveAspectRatio","primitiveUnits","r","radius","refX","refY","renderingIntent","repeatCount","repeatDur","requiredExtensions","requiredFeatures","restart","result","rotate","rx","ry","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","textLength","textRendering","to","transform","u1","u2","underlinePosition","underlineThickness","unicode","unicodeBidi","unicodeRange","unitsPerEm","vAlphabetic","values","vectorEffect","version","vertAdvY","vertOriginX","vertOriginY","vHanging","vIdeographic","viewTarget","visibility","vMathematical","widths","wordSpacing","writingMode","x1","x2","x","xChannelSelector","xHeight","xlinkActuate","xlinkArcrole","xlinkHref","xlinkRole","xlinkShow","xlinkTitle","xlinkType","xmlBase","xmlLang","xmlns","xmlnsXlink","xmlSpace","y1","y2","y","yChannelSelector","z","zoomAndPan","ref","key","angle"],YO=["points","pathLength"],KO={svg:["viewBox","children"],polygon:YO,polyline:YO},QO=["dangerouslySetInnerHTML","onCopy","onCopyCapture","onCut","onCutCapture","onPaste","onPasteCapture","onCompositionEnd","onCompositionEndCapture","onCompositionStart","onCompositionStartCapture","onCompositionUpdate","onCompositionUpdateCapture","onFocus","onFocusCapture","onBlur","onBlurCapture","onChange","onChangeCapture","onBeforeInput","onBeforeInputCapture","onInput","onInputCapture","onReset","onResetCapture","onSubmit","onSubmitCapture","onInvalid","onInvalidCapture","onLoad","onLoadCapture","onError","onErrorCapture","onKeyDown","onKeyDownCapture","onKeyPress","onKeyPressCapture","onKeyUp","onKeyUpCapture","onAbort","onAbortCapture","onCanPlay","onCanPlayCapture","onCanPlayThrough","onCanPlayThroughCapture","onDurationChange","onDurationChangeCapture","onEmptied","onEmptiedCapture","onEncrypted","onEncryptedCapture","onEnded","onEndedCapture","onLoadedData","onLoadedDataCapture","onLoadedMetadata","onLoadedMetadataCapture","onLoadStart","onLoadStartCapture","onPause","onPauseCapture","onPlay","onPlayCapture","onPlaying","onPlayingCapture","onProgress","onProgressCapture","onRateChange","onRateChangeCapture","onSeeked","onSeekedCapture","onSeeking","onSeekingCapture","onStalled","onStalledCapture","onSuspend","onSuspendCapture","onTimeUpdate","onTimeUpdateCapture","onVolumeChange","onVolumeChangeCapture","onWaiting","onWaitingCapture","onAuxClick","onAuxClickCapture","onClick","onClickCapture","onContextMenu","onContextMenuCapture","onDoubleClick","onDoubleClickCapture","onDrag","onDragCapture","onDragEnd","onDragEndCapture","onDragEnter","onDragEnterCapture","onDragExit","onDragExitCapture","onDragLeave","onDragLeaveCapture","onDragOver","onDragOverCapture","onDragStart","onDragStartCapture","onDrop","onDropCapture","onMouseDown","onMouseDownCapture","onMouseEnter","onMouseLeave","onMouseMove","onMouseMoveCapture","onMouseOut","onMouseOutCapture","onMouseOver","onMouseOverCapture","onMouseUp","onMouseUpCapture","onSelect","onSelectCapture","onTouchCancel","onTouchCancelCapture","onTouchEnd","onTouchEndCapture","onTouchMove","onTouchMoveCapture","onTouchStart","onTouchStartCapture","onPointerDown","onPointerDownCapture","onPointerMove","onPointerMoveCapture","onPointerUp","onPointerUpCapture","onPointerCancel","onPointerCancelCapture","onPointerEnter","onPointerEnterCapture","onPointerLeave","onPointerLeaveCapture","onPointerOver","onPointerOverCapture","onPointerOut","onPointerOutCapture","onGotPointerCapture","onGotPointerCaptureCapture","onLostPointerCapture","onLostPointerCaptureCapture","onScroll","onScrollCapture","onWheel","onWheelCapture","onAnimationStart","onAnimationStartCapture","onAnimationEnd","onAnimationEndCapture","onAnimationIteration","onAnimationIterationCapture","onTransitionEnd","onTransitionEndCapture"],GO=function(e,t){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var r=e;if((0,n.isValidElement)(e)&&(r=e.props),!_k(r))return null;var o={};return Object.keys(r).forEach((function(e){QO.includes(e)&&(o[e]=t||function(t){return r[e](r,t)})})),o},XO=function(e,t,n){if(!_k(e)||"object"!==ZO(e))return null;var r=null;return Object.keys(e).forEach((function(o){var i=e[o];QO.includes(o)&&"function"==typeof i&&(r||(r={}),r[o]=function(e,t,n){return function(r){return e(t,n,r),null}}(i,t,n))})),r},JO=["children"],$O=["children"];function eR(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function tR(e){return(tR="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})(e)}var nR={click:"onClick",mousedown:"onMouseDown",mouseup:"onMouseUp",mouseover:"onMouseOver",mousemove:"onMouseMove",mouseout:"onMouseOut",mouseenter:"onMouseEnter",mouseleave:"onMouseLeave",touchcancel:"onTouchCancel",touchend:"onTouchEnd",touchmove:"onTouchMove",touchstart:"onTouchStart"},rR=function(e){return"string"==typeof e?e:e?e.displayName||e.name||"Component":""},oR=null,iR=null,aR=function e(t){if(t===oR&&Array.isArray(iR))return iR;var r=[];return n.Children.forEach(t,(function(t){yO(t)||(kO.isFragment(t)?r=r.concat(e(t.props.children)):r.push(t))})),iR=r,oR=t,r};function sR(e,t){var n=[],r=[];return r=Array.isArray(t)?t.map((function(e){return rR(e)})):[rR(t)],aR(e).forEach((function(e){var t=mO(e,"type.displayName")||mO(e,"type.name");-1!==r.indexOf(t)&&n.push(e)})),n}function lR(e,t){var n=sR(e,t);return n&&n[0]}var cR=function(e){if(!e||!e.props)return!1;var t=e.props,n=t.width,r=t.height;return!(!DO(n)||n<=0||!DO(r)||r<=0)},uR=["a","altGlyph","altGlyphDef","altGlyphItem","animate","animateColor","animateMotion","animateTransform","circle","clipPath","color-profile","cursor","defs","desc","ellipse","feBlend","feColormatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence","filter","font","font-face","font-face-format","font-face-name","font-face-url","foreignObject","g","glyph","glyphRef","hkern","image","line","lineGradient","marker","mask","metadata","missing-glyph","mpath","path","pattern","polygon","polyline","radialGradient","rect","script","set","stop","style","svg","switch","symbol","text","textPath","title","tref","tspan","use","view","vkern"],dR=function(e){return e&&"object"===tR(e)&&"clipDot"in e},fR=function(e,t,r){if(!e||"function"==typeof e||"boolean"==typeof e)return null;var o=e;if((0,n.isValidElement)(e)&&(o=e.props),!_k(o))return null;var i={};return Object.keys(o).forEach((function(e){var n;(function(e,t,n,r){var o,i=null!==(o=null==KO?void 0:KO[r])&&void 0!==o?o:[];return!jk(e)&&(r&&i.includes(t)||qO.includes(t))||n&&QO.includes(t)})(null===(n=o)||void 0===n?void 0:n[e],e,t,r)&&(i[e]=o[e])})),i},hR=function e(t,r){if(t===r)return!0;var o=n.Children.count(t);if(o!==n.Children.count(r))return!1;if(0===o)return!0;if(1===o)return pR(Array.isArray(t)?t[0]:t,Array.isArray(r)?r[0]:r);for(var i=0;i<o;i++){var a=t[i],s=r[i];if(Array.isArray(a)||Array.isArray(s)){if(!e(a,s))return!1}else if(!pR(a,s))return!1}return!0},pR=function(e,t){if(yO(e)&&yO(t))return!0;if(!yO(e)&&!yO(t)){var n=e.props||{},r=n.children,o=eR(n,JO),i=t.props||{},a=i.children,s=eR(i,$O);return r&&a?UO(o,s)&&hR(r,a):!r&&!a&&UO(o,s)}return!1},mR=function(e,t){var n=[],r={};return aR(e).forEach((function(e,o){if(function(e){return e&&e.type&&CO(e.type)&&uR.indexOf(e.type)>=0}(e))n.push(e);else if(e){var i=rR(e.type),a=t[i]||{},s=a.handler,l=a.once;if(s&&(!l||!r[i])){var c=s(e,i,o);n.push(c),r[i]=!0}}})),n},gR=function(e,t){return aR(t).indexOf(e)},yR=["children","width","height","viewBox","className","style","title","desc"];function vR(){return vR=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},vR.apply(this,arguments)}function bR(e){var t=e.children,r=e.width,o=e.height,i=e.viewBox,a=e.className,s=e.style,l=e.title,c=e.desc,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,yR),d=i||{width:r,height:o,x:0,y:0},f=Kt("recharts-surface",a);return n.createElement("svg",vR({},fR(u,!0,"svg"),{className:f,width:r,height:o,style:s,viewBox:"".concat(d.x," ").concat(d.y," ").concat(d.width," ").concat(d.height)}),n.createElement("title",null,l),n.createElement("desc",null,c),t)}var xR=["children","className"];function wR(){return wR=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},wR.apply(this,arguments)}var CR=n.forwardRef((function(e,t){var r=e.children,o=e.className,i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,xR),a=Kt("recharts-layer",o);return n.createElement("g",wR({className:a},fR(i,!0),{ref:t}),r)})),AR=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),o=2;o<n;o++)r[o-2]=arguments[o]},ER=function(e,t,n){var r=-1,o=e.length;t<0&&(t=-t>o?0:o+t),(n=n>o?o:n)<0&&(n+=o),o=t>n?0:n-t>>>0,t>>>=0;for(var i=Array(o);++r<o;)i[r]=e[r+t];return i},SR=RegExp("[\\u200d\\ud800-\\udfff\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff\\ufe0e\\ufe0f]"),kR=function(e){return SR.test(e)},_R="\\ud800-\\udfff",OR="["+_R+"]",RR="[\\u0300-\\u036f\\ufe20-\\ufe2f\\u20d0-\\u20ff]",PR="\\ud83c[\\udffb-\\udfff]",jR="[^"+_R+"]",TR="(?:\\ud83c[\\udde6-\\uddff]){2}",MR="[\\ud800-\\udbff][\\udc00-\\udfff]",NR="(?:"+RR+"|"+PR+")?",LR="[\\ufe0e\\ufe0f]?",DR=LR+NR+"(?:\\u200d(?:"+[jR,TR,MR].join("|")+")"+LR+NR+")*",IR="(?:"+[jR+RR+"?",RR,TR,MR,OR].join("|")+")",FR=RegExp(PR+"(?="+PR+")|"+IR+DR,"g"),BR=function(e){return e.split("")},zR=kR,VR=function(e){return e.match(FR)||[]},HR=function(e,t,n){var r=e.length;return n=void 0===n?r:n,!t&&n>=r?e:ER(e,t,n)},WR=kR,UR=function(e){return zR(e)?VR(e):BR(e)},ZR=nO;const qR=qe(function(e){return function(t){t=ZR(t);var n=WR(t)?UR(t):void 0,r=n?n[0]:t.charAt(0),o=n?HR(n,1).join(""):t.slice(1);return r[e]()+o}}("toUpperCase"));function YR(e){return function(){return e}}const KR=Math.cos,QR=Math.sin,GR=Math.sqrt,XR=Math.PI,JR=2*XR,$R=Math.PI,eP=2*$R,tP=1e-6,nP=eP-tP;function rP(e){this._+=e[0];for(let t=1,n=e.length;t<n;++t)this._+=arguments[t]+e[t]}class oP{constructor(e){this._x0=this._y0=this._x1=this._y1=null,this._="",this._append=null==e?rP:function(e){let t=Math.floor(e);if(!(t>=0))throw new Error(`invalid digits: ${e}`);if(t>15)return rP;const n=10**t;return function(e){this._+=e[0];for(let t=1,r=e.length;t<r;++t)this._+=Math.round(arguments[t]*n)/n+e[t]}}(e)}moveTo(e,t){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}`}closePath(){null!==this._x1&&(this._x1=this._x0,this._y1=this._y0,this._append`Z`)}lineTo(e,t){this._append`L${this._x1=+e},${this._y1=+t}`}quadraticCurveTo(e,t,n,r){this._append`Q${+e},${+t},${this._x1=+n},${this._y1=+r}`}bezierCurveTo(e,t,n,r,o,i){this._append`C${+e},${+t},${+n},${+r},${this._x1=+o},${this._y1=+i}`}arcTo(e,t,n,r,o){if(e=+e,t=+t,n=+n,r=+r,(o=+o)<0)throw new Error(`negative radius: ${o}`);let i=this._x1,a=this._y1,s=n-e,l=r-t,c=i-e,u=a-t,d=c*c+u*u;if(null===this._x1)this._append`M${this._x1=e},${this._y1=t}`;else if(d>tP)if(Math.abs(u*s-l*c)>tP&&o){let f=n-i,h=r-a,p=s*s+l*l,m=f*f+h*h,g=Math.sqrt(p),y=Math.sqrt(d),v=o*Math.tan(($R-Math.acos((p+d-m)/(2*g*y)))/2),b=v/y,x=v/g;Math.abs(b-1)>tP&&this._append`L${e+b*c},${t+b*u}`,this._append`A${o},${o},0,0,${+(u*f>c*h)},${this._x1=e+x*s},${this._y1=t+x*l}`}else this._append`L${this._x1=e},${this._y1=t}`}arc(e,t,n,r,o,i){if(e=+e,t=+t,i=!!i,(n=+n)<0)throw new Error(`negative radius: ${n}`);let a=n*Math.cos(r),s=n*Math.sin(r),l=e+a,c=t+s,u=1^i,d=i?r-o:o-r;null===this._x1?this._append`M${l},${c}`:(Math.abs(this._x1-l)>tP||Math.abs(this._y1-c)>tP)&&this._append`L${l},${c}`,n&&(d<0&&(d=d%eP+eP),d>nP?this._append`A${n},${n},0,1,${u},${e-a},${t-s}A${n},${n},0,1,${u},${this._x1=l},${this._y1=c}`:d>tP&&this._append`A${n},${n},0,${+(d>=$R)},${u},${this._x1=e+n*Math.cos(o)},${this._y1=t+n*Math.sin(o)}`)}rect(e,t,n,r){this._append`M${this._x0=this._x1=+e},${this._y0=this._y1=+t}h${n=+n}v${+r}h${-n}Z`}toString(){return this._}}function iP(e){let t=3;return e.digits=function(n){if(!arguments.length)return t;if(null==n)t=null;else{const e=Math.floor(n);if(!(e>=0))throw new RangeError(`invalid digits: ${n}`);t=e}return e},()=>new oP(t)}function aP(e){return"object"==typeof e&&"length"in e?e:Array.from(e)}function sP(e){this._context=e}function lP(e){return new sP(e)}function cP(e){return e[0]}function uP(e){return e[1]}function dP(e,t){var n=YR(!0),r=null,o=lP,i=null,a=iP(s);function s(s){var l,c,u,d=(s=aP(s)).length,f=!1;for(null==r&&(i=o(u=a())),l=0;l<=d;++l)!(l<d&&n(c=s[l],l,s))===f&&((f=!f)?i.lineStart():i.lineEnd()),f&&i.point(+e(c,l,s),+t(c,l,s));if(u)return i=null,u+""||null}return e="function"==typeof e?e:void 0===e?cP:YR(e),t="function"==typeof t?t:void 0===t?uP:YR(t),s.x=function(t){return arguments.length?(e="function"==typeof t?t:YR(+t),s):e},s.y=function(e){return arguments.length?(t="function"==typeof e?e:YR(+e),s):t},s.defined=function(e){return arguments.length?(n="function"==typeof e?e:YR(!!e),s):n},s.curve=function(e){return arguments.length?(o=e,null!=r&&(i=o(r)),s):o},s.context=function(e){return arguments.length?(null==e?r=i=null:i=o(r=e),s):r},s}function fP(e,t,n){var r=null,o=YR(!0),i=null,a=lP,s=null,l=iP(c);function c(c){var u,d,f,h,p,m=(c=aP(c)).length,g=!1,y=new Array(m),v=new Array(m);for(null==i&&(s=a(p=l())),u=0;u<=m;++u){if(!(u<m&&o(h=c[u],u,c))===g)if(g=!g)d=u,s.areaStart(),s.lineStart();else{for(s.lineEnd(),s.lineStart(),f=u-1;f>=d;--f)s.point(y[f],v[f]);s.lineEnd(),s.areaEnd()}g&&(y[u]=+e(h,u,c),v[u]=+t(h,u,c),s.point(r?+r(h,u,c):y[u],n?+n(h,u,c):v[u]))}if(p)return s=null,p+""||null}function u(){return dP().defined(o).curve(a).context(i)}return e="function"==typeof e?e:void 0===e?cP:YR(+e),t="function"==typeof t?t:YR(void 0===t?0:+t),n="function"==typeof n?n:void 0===n?uP:YR(+n),c.x=function(t){return arguments.length?(e="function"==typeof t?t:YR(+t),r=null,c):e},c.x0=function(t){return arguments.length?(e="function"==typeof t?t:YR(+t),c):e},c.x1=function(e){return arguments.length?(r=null==e?null:"function"==typeof e?e:YR(+e),c):r},c.y=function(e){return arguments.length?(t="function"==typeof e?e:YR(+e),n=null,c):t},c.y0=function(e){return arguments.length?(t="function"==typeof e?e:YR(+e),c):t},c.y1=function(e){return arguments.length?(n=null==e?null:"function"==typeof e?e:YR(+e),c):n},c.lineX0=c.lineY0=function(){return u().x(e).y(t)},c.lineY1=function(){return u().x(e).y(n)},c.lineX1=function(){return u().x(r).y(t)},c.defined=function(e){return arguments.length?(o="function"==typeof e?e:YR(!!e),c):o},c.curve=function(e){return arguments.length?(a=e,null!=i&&(s=a(i)),c):a},c.context=function(e){return arguments.length?(null==e?i=s=null:s=a(i=e),c):i},c}sP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._point=0},lineEnd:function(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._context.lineTo(e,t)}}};class hP{constructor(e,t){this._context=e,this._x=t}areaStart(){this._line=0}areaEnd(){this._line=NaN}lineStart(){this._point=0}lineEnd(){(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line}point(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:this._x?this._context.bezierCurveTo(this._x0=(this._x0+e)/2,this._y0,this._x0,t,e,t):this._context.bezierCurveTo(this._x0,this._y0=(this._y0+t)/2,e,this._y0,e,t)}this._x0=e,this._y0=t}}const pP={draw(e,t){const n=GR(t/XR);e.moveTo(n,0),e.arc(0,0,n,0,JR)}},mP={draw(e,t){const n=GR(t/5)/2;e.moveTo(-3*n,-n),e.lineTo(-n,-n),e.lineTo(-n,-3*n),e.lineTo(n,-3*n),e.lineTo(n,-n),e.lineTo(3*n,-n),e.lineTo(3*n,n),e.lineTo(n,n),e.lineTo(n,3*n),e.lineTo(-n,3*n),e.lineTo(-n,n),e.lineTo(-3*n,n),e.closePath()}},gP=GR(1/3),yP=2*gP,vP={draw(e,t){const n=GR(t/yP),r=n*gP;e.moveTo(0,-n),e.lineTo(r,0),e.lineTo(0,n),e.lineTo(-r,0),e.closePath()}},bP={draw(e,t){const n=GR(t),r=-n/2;e.rect(r,r,n,n)}},xP=QR(XR/10)/QR(7*XR/10),wP=QR(JR/10)*xP,CP=-KR(JR/10)*xP,AP={draw(e,t){const n=GR(.8908130915292852*t),r=wP*n,o=CP*n;e.moveTo(0,-n),e.lineTo(r,o);for(let t=1;t<5;++t){const i=JR*t/5,a=KR(i),s=QR(i);e.lineTo(s*n,-a*n),e.lineTo(a*r-s*o,s*r+a*o)}e.closePath()}},EP=GR(3),SP={draw(e,t){const n=-GR(t/(3*EP));e.moveTo(0,2*n),e.lineTo(-EP*n,-n),e.lineTo(EP*n,-n),e.closePath()}},kP=-.5,_P=GR(3)/2,OP=1/GR(12),RP=3*(OP/2+1),PP={draw(e,t){const n=GR(t/RP),r=n/2,o=n*OP,i=r,a=n*OP+n,s=-i,l=a;e.moveTo(r,o),e.lineTo(i,a),e.lineTo(s,l),e.lineTo(kP*r-_P*o,_P*r+kP*o),e.lineTo(kP*i-_P*a,_P*i+kP*a),e.lineTo(kP*s-_P*l,_P*s+kP*l),e.lineTo(kP*r+_P*o,kP*o-_P*r),e.lineTo(kP*i+_P*a,kP*a-_P*i),e.lineTo(kP*s+_P*l,kP*l-_P*s),e.closePath()}};function jP(){}function TP(e,t,n){e._context.bezierCurveTo((2*e._x0+e._x1)/3,(2*e._y0+e._y1)/3,(e._x0+2*e._x1)/3,(e._y0+2*e._y1)/3,(e._x0+4*e._x1+t)/6,(e._y0+4*e._y1+n)/6)}function MP(e){this._context=e}function NP(e){this._context=e}function LP(e){this._context=e}function DP(e){this._context=e}function IP(e){return e<0?-1:1}function FP(e,t,n){var r=e._x1-e._x0,o=t-e._x1,i=(e._y1-e._y0)/(r||o<0&&-0),a=(n-e._y1)/(o||r<0&&-0),s=(i*o+a*r)/(r+o);return(IP(i)+IP(a))*Math.min(Math.abs(i),Math.abs(a),.5*Math.abs(s))||0}function BP(e,t){var n=e._x1-e._x0;return n?(3*(e._y1-e._y0)/n-t)/2:t}function zP(e,t,n){var r=e._x0,o=e._y0,i=e._x1,a=e._y1,s=(i-r)/3;e._context.bezierCurveTo(r+s,o+s*t,i-s,a-s*n,i,a)}function VP(e){this._context=e}function HP(e){this._context=new WP(e)}function WP(e){this._context=e}function UP(e){this._context=e}function ZP(e){var t,n,r=e.length-1,o=new Array(r),i=new Array(r),a=new Array(r);for(o[0]=0,i[0]=2,a[0]=e[0]+2*e[1],t=1;t<r-1;++t)o[t]=1,i[t]=4,a[t]=4*e[t]+2*e[t+1];for(o[r-1]=2,i[r-1]=7,a[r-1]=8*e[r-1]+e[r],t=1;t<r;++t)n=o[t]/i[t-1],i[t]-=n,a[t]-=n*a[t-1];for(o[r-1]=a[r-1]/i[r-1],t=r-2;t>=0;--t)o[t]=(a[t]-o[t+1])/i[t];for(i[r-1]=(e[r]+o[r-1])/2,t=0;t<r-1;++t)i[t]=2*e[t+1]-o[t+1];return[o,i]}function qP(e,t){this._context=e,this._t=t}function YP(e,t){if((o=e.length)>1)for(var n,r,o,i=1,a=e[t[0]],s=a.length;i<o;++i)for(r=a,a=e[t[i]],n=0;n<s;++n)a[n][1]+=a[n][0]=isNaN(r[n][1])?r[n][0]:r[n][1]}function KP(e){for(var t=e.length,n=new Array(t);--t>=0;)n[t]=t;return n}function QP(e,t){return e[t]}function GP(e){const t=[];return t.key=e,t}function XP(e){return(XP="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})(e)}MP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){switch(this._point){case 3:TP(this,this._x1,this._y1);case 2:this._context.lineTo(this._x1,this._y1)}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,this._context.lineTo((5*this._x0+this._x1)/6,(5*this._y0+this._y1)/6);default:TP(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},NP.prototype={areaStart:jP,areaEnd:jP,lineStart:function(){this._x0=this._x1=this._x2=this._x3=this._x4=this._y0=this._y1=this._y2=this._y3=this._y4=NaN,this._point=0},lineEnd:function(){switch(this._point){case 1:this._context.moveTo(this._x2,this._y2),this._context.closePath();break;case 2:this._context.moveTo((this._x2+2*this._x3)/3,(this._y2+2*this._y3)/3),this._context.lineTo((this._x3+2*this._x2)/3,(this._y3+2*this._y2)/3),this._context.closePath();break;case 3:this.point(this._x2,this._y2),this.point(this._x3,this._y3),this.point(this._x4,this._y4)}},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._x2=e,this._y2=t;break;case 1:this._point=2,this._x3=e,this._y3=t;break;case 2:this._point=3,this._x4=e,this._y4=t,this._context.moveTo((this._x0+4*this._x1+e)/6,(this._y0+4*this._y1+t)/6);break;default:TP(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},LP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=NaN,this._point=0},lineEnd:function(){(this._line||0!==this._line&&3===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1;break;case 1:this._point=2;break;case 2:this._point=3;var n=(this._x0+4*this._x1+e)/6,r=(this._y0+4*this._y1+t)/6;this._line?this._context.lineTo(n,r):this._context.moveTo(n,r);break;case 3:this._point=4;default:TP(this,e,t)}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t}},DP.prototype={areaStart:jP,areaEnd:jP,lineStart:function(){this._point=0},lineEnd:function(){this._point&&this._context.closePath()},point:function(e,t){e=+e,t=+t,this._point?this._context.lineTo(e,t):(this._point=1,this._context.moveTo(e,t))}},VP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x0=this._x1=this._y0=this._y1=this._t0=NaN,this._point=0},lineEnd:function(){switch(this._point){case 2:this._context.lineTo(this._x1,this._y1);break;case 3:zP(this,this._t0,BP(this,this._t0))}(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line=1-this._line},point:function(e,t){var n=NaN;if(t=+t,(e=+e)!==this._x1||t!==this._y1){switch(this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;break;case 2:this._point=3,zP(this,BP(this,n=FP(this,e,t)),n);break;default:zP(this,this._t0,n=FP(this,e,t))}this._x0=this._x1,this._x1=e,this._y0=this._y1,this._y1=t,this._t0=n}}},(HP.prototype=Object.create(VP.prototype)).point=function(e,t){VP.prototype.point.call(this,t,e)},WP.prototype={moveTo:function(e,t){this._context.moveTo(t,e)},closePath:function(){this._context.closePath()},lineTo:function(e,t){this._context.lineTo(t,e)},bezierCurveTo:function(e,t,n,r,o,i){this._context.bezierCurveTo(t,e,r,n,i,o)}},UP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=[],this._y=[]},lineEnd:function(){var e=this._x,t=this._y,n=e.length;if(n)if(this._line?this._context.lineTo(e[0],t[0]):this._context.moveTo(e[0],t[0]),2===n)this._context.lineTo(e[1],t[1]);else for(var r=ZP(e),o=ZP(t),i=0,a=1;a<n;++i,++a)this._context.bezierCurveTo(r[0][i],o[0][i],r[1][i],o[1][i],e[a],t[a]);(this._line||0!==this._line&&1===n)&&this._context.closePath(),this._line=1-this._line,this._x=this._y=null},point:function(e,t){this._x.push(+e),this._y.push(+t)}},qP.prototype={areaStart:function(){this._line=0},areaEnd:function(){this._line=NaN},lineStart:function(){this._x=this._y=NaN,this._point=0},lineEnd:function(){0<this._t&&this._t<1&&2===this._point&&this._context.lineTo(this._x,this._y),(this._line||0!==this._line&&1===this._point)&&this._context.closePath(),this._line>=0&&(this._t=1-this._t,this._line=1-this._line)},point:function(e,t){switch(e=+e,t=+t,this._point){case 0:this._point=1,this._line?this._context.lineTo(e,t):this._context.moveTo(e,t);break;case 1:this._point=2;default:if(this._t<=0)this._context.lineTo(this._x,t),this._context.lineTo(e,t);else{var n=this._x*(1-this._t)+e*this._t;this._context.lineTo(n,this._y),this._context.lineTo(n,t)}}this._x=e,this._y=t}};var JP=["type","size","sizeType"];function $P(){return $P=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},$P.apply(this,arguments)}function ej(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function tj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ej(Object(n),!0).forEach((function(t){nj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ej(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function nj(e,t,n){return t=function(e){var t=function(e){if("object"!=XP(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=XP(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==XP(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var rj={symbolCircle:pP,symbolCross:mP,symbolDiamond:vP,symbolSquare:bP,symbolStar:AP,symbolTriangle:SP,symbolWye:PP},oj=Math.PI/180,ij=function(e){var t,r,o=e.type,i=void 0===o?"circle":o,a=e.size,s=void 0===a?64:a,l=e.sizeType,c=void 0===l?"area":l,u=tj(tj({},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,JP)),{},{type:i,size:s,sizeType:c}),d=u.className,f=u.cx,h=u.cy,p=fR(u,!0);return f===+f&&h===+h&&s===+s?n.createElement("path",$P({},p,{className:Kt("recharts-symbols",d),transform:"translate(".concat(f,", ").concat(h,")"),d:(t=function(e){var t="symbol".concat(qR(e));return rj[t]||pP}(i),r=function(e,t){let n=null,r=iP(o);function o(){let o;if(n||(n=o=r()),e.apply(this,arguments).draw(n,+t.apply(this,arguments)),o)return n=null,o+""||null}return e="function"==typeof e?e:YR(e||pP),t="function"==typeof t?t:YR(void 0===t?64:+t),o.type=function(t){return arguments.length?(e="function"==typeof t?t:YR(t),o):e},o.size=function(e){return arguments.length?(t="function"==typeof e?e:YR(+e),o):t},o.context=function(e){return arguments.length?(n=e??null,o):n},o}().type(t).size(function(e,t,n){if("area"===t)return e;switch(n){case"cross":return 5*e*e/9;case"diamond":return.5*e*e/Math.sqrt(3);case"square":return e*e;case"star":var r=18*oj;return 1.25*e*e*(Math.tan(r)-Math.tan(2*r)*Math.pow(Math.tan(r),2));case"triangle":return Math.sqrt(3)*e*e/4;case"wye":return(21-10*Math.sqrt(3))*e*e/8;default:return Math.PI*e*e/4}}(s,c,i)),r())})):null};function aj(e){return(aj="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})(e)}function sj(){return sj=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},sj.apply(this,arguments)}function lj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function cj(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(cj=function(){return!!e})()}function uj(e){return(uj=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function dj(e,t){return dj=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},dj(e,t)}function fj(e,t,n){return(t=hj(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hj(e){var t=function(e){if("object"!=aj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=aj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aj(t)?t:t+""}ij.registerSymbol=function(e,t){rj["symbol".concat(qR(e))]=t};var pj=32,mj=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=uj(t),function(e,t){if(t&&("object"===aj(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,cj()?Reflect.construct(t,n||[],uj(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&dj(e,t)}(t,e),function(e,t){return t&&function(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,hj(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"renderIcon",value:function(e){var t=this.props.inactiveColor,r=16,o=pj/6,i=pj/3,a=e.inactive?t:e.color;if("plainline"===e.type)return n.createElement("line",{strokeWidth:4,fill:"none",stroke:a,strokeDasharray:e.payload.strokeDasharray,x1:0,y1:r,x2:pj,y2:r,className:"recharts-legend-icon"});if("line"===e.type)return n.createElement("path",{strokeWidth:4,fill:"none",stroke:a,d:"M0,".concat(r,"h").concat(i,"\n            A").concat(o,",").concat(o,",0,1,1,").concat(2*i,",").concat(r,"\n            H").concat(pj,"M").concat(2*i,",").concat(r,"\n            A").concat(o,",").concat(o,",0,1,1,").concat(i,",").concat(r),className:"recharts-legend-icon"});if("rect"===e.type)return n.createElement("path",{stroke:"none",fill:a,d:"M0,".concat(4,"h").concat(pj,"v").concat(24,"h").concat(-32,"z"),className:"recharts-legend-icon"});if(n.isValidElement(e.legendIcon)){var s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?lj(Object(n),!0).forEach((function(t){fj(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):lj(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({},e);return delete s.legendIcon,n.cloneElement(e.legendIcon,s)}return n.createElement(ij,{fill:a,cx:r,cy:r,size:pj,sizeType:"diameter",type:e.type})}},{key:"renderItems",value:function(){var e=this,t=this.props,r=t.payload,o=t.iconSize,i=t.layout,a=t.formatter,s=t.inactiveColor,l={x:0,y:0,width:pj,height:pj},c={display:"horizontal"===i?"inline-block":"block",marginRight:10},u={display:"inline-block",verticalAlign:"middle",marginRight:4};return r.map((function(t,r){var i=t.formatter||a,d=Kt(fj(fj({"recharts-legend-item":!0},"legend-item-".concat(r),!0),"inactive",t.inactive));if("none"===t.type)return null;var f=jk(t.value)?null:t.value;AR(!jk(t.value),'The name property is also required when using a function for the dataKey of a chart\'s cartesian components. Ex: <Bar name="Name of my Data"/>');var h=t.inactive?s:t.color;return n.createElement("li",sj({className:d,style:c,key:"legend-item-".concat(r)},XO(e.props,t,r)),n.createElement(bR,{width:o,height:o,viewBox:l,style:u},e.renderIcon(t)),n.createElement("span",{className:"recharts-legend-item-text",style:{color:h}},i?i(f,t,r):f))}))}},{key:"render",value:function(){var e=this.props,t=e.payload,r=e.layout,o=e.align;if(!t||!t.length)return null;var i={padding:0,margin:0,textAlign:"horizontal"===r?o:"left"};return n.createElement("ul",{className:"recharts-default-legend",style:i},this.renderItems())}}])}(n.PureComponent);fj(mj,"displayName","Legend"),fj(mj,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"middle",inactiveColor:"#ccc"});var gj=A_,yj=A_,vj=E_,bj=B_,xj=A_,wj=function(e){var t=this.__data__,n=t.delete(e);return this.size=t.size,n},Cj=function(e){return this.__data__.get(e)},Aj=function(e){return this.__data__.has(e)},Ej=function(e,t){var n=this.__data__;if(n instanceof yj){var r=n.__data__;if(!vj||r.length<199)return r.push([e,t]),this.size=++n.size,this;n=this.__data__=new bj(r)}return n.set(e,t),this.size=n.size,this};function Sj(e){var t=this.__data__=new xj(e);this.size=t.size}Sj.prototype.clear=function(){this.__data__=new gj,this.size=0},Sj.prototype.delete=wj,Sj.prototype.get=Cj,Sj.prototype.has=Aj,Sj.prototype.set=Ej;var kj=Sj,_j=B_,Oj=function(e){return this.__data__.set(e,"__lodash_hash_undefined__"),this},Rj=function(e){return this.__data__.has(e)};function Pj(e){var t=-1,n=null==e?0:e.length;for(this.__data__=new _j;++t<n;)this.add(e[t])}Pj.prototype.add=Pj.prototype.push=Oj,Pj.prototype.has=Rj;var jj=Pj,Tj=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(t(e[n],n,e))return!0;return!1},Mj=function(e,t){return e.has(t)},Nj=jj,Lj=Tj,Dj=Mj,Ij=function(e,t,n,r,o,i){var a=1&n,s=e.length,l=t.length;if(s!=l&&!(a&&l>s))return!1;var c=i.get(e),u=i.get(t);if(c&&u)return c==t&&u==e;var d=-1,f=!0,h=2&n?new Nj:void 0;for(i.set(e,t),i.set(t,e);++d<s;){var p=e[d],m=t[d];if(r)var g=a?r(m,p,d,t,e,i):r(p,m,d,e,t,i);if(void 0!==g){if(g)continue;f=!1;break}if(h){if(!Lj(t,(function(e,t){if(!Dj(h,t)&&(p===e||o(p,e,n,r,i)))return h.push(t)}))){f=!1;break}}else if(p!==m&&!o(p,m,n,r,i)){f=!1;break}}return i.delete(e),i.delete(t),f},Fj=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e){n[++t]=e})),n},Bj=ik.Uint8Array,zj=c_,Vj=Ij,Hj=function(e){var t=-1,n=Array(e.size);return e.forEach((function(e,r){n[++t]=[r,e]})),n},Wj=Fj,Uj=ak?ak.prototype:void 0,Zj=Uj?Uj.valueOf:void 0,qj=function(e,t){for(var n=-1,r=t.length,o=e.length;++n<r;)e[o+n]=t[n];return e},Yj=qj,Kj=tk,Qj=function(e,t){for(var n=-1,r=null==e?0:e.length,o=0,i=[];++n<r;){var a=e[n];t(a,n,e)&&(i[o++]=a)}return i},Gj=Object.prototype.propertyIsEnumerable,Xj=Object.getOwnPropertySymbols,Jj=Xj?function(e){return null==e?[]:(e=Object(e),Qj(Xj(e),(function(t){return Gj.call(e,t)})))}:function(){return[]},$j=Jj,eT=gk,tT=yk,nT=function(e){return tT(e)&&"[object Arguments]"==eT(e)},rT=yk,oT=Object.prototype,iT=oT.hasOwnProperty,aT=oT.propertyIsEnumerable,sT=nT(function(){return arguments}())?nT:function(e){return rT(e)&&iT.call(e,"callee")&&!aT.call(e,"callee")},lT=sT,cT={exports:{}},uT=function(){return!1};!function(e,t){var n=ik,r=uT,o=t&&!t.nodeType&&t,i=o&&e&&!e.nodeType&&e,a=i&&i.exports===o?n.Buffer:void 0,s=(a?a.isBuffer:void 0)||r;e.exports=s}(cT,cT.exports);var dT=cT.exports,fT=/^(?:0|[1-9]\d*)$/,hT=function(e,t){var n=typeof e;return!!(t=t??9007199254740991)&&("number"==n||"symbol"!=n&&fT.test(e))&&e>-1&&e%1==0&&e<t},pT=function(e){return"number"==typeof e&&e>-1&&e%1==0&&e<=9007199254740991},mT=gk,gT=pT,yT=yk,vT={};vT["[object Float32Array]"]=vT["[object Float64Array]"]=vT["[object Int8Array]"]=vT["[object Int16Array]"]=vT["[object Int32Array]"]=vT["[object Uint8Array]"]=vT["[object Uint8ClampedArray]"]=vT["[object Uint16Array]"]=vT["[object Uint32Array]"]=!0,vT["[object Arguments]"]=vT["[object Array]"]=vT["[object ArrayBuffer]"]=vT["[object Boolean]"]=vT["[object DataView]"]=vT["[object Date]"]=vT["[object Error]"]=vT["[object Function]"]=vT["[object Map]"]=vT["[object Number]"]=vT["[object Object]"]=vT["[object RegExp]"]=vT["[object Set]"]=vT["[object String]"]=vT["[object WeakMap]"]=!1;var bT=function(e){return function(t){return e(t)}},xT={exports:{}};!function(e,t){var n=nk,r=t&&!t.nodeType&&t,o=r&&e&&!e.nodeType&&e,i=o&&o.exports===r&&n.process,a=function(){try{return o&&o.require&&o.require("util").types||i&&i.binding&&i.binding("util")}catch{}}();e.exports=a}(xT,xT.exports);var wT=xT.exports,CT=function(e){return yT(e)&&gT(e.length)&&!!vT[mT(e)]},AT=bT,ET=wT&&wT.isTypedArray,ST=ET?AT(ET):CT,kT=function(e,t){for(var n=-1,r=Array(e);++n<e;)r[n]=t(n);return r},_T=lT,OT=tk,RT=dT,PT=hT,jT=ST,TT=Object.prototype.hasOwnProperty,MT=Object.prototype,NT=function(e,t){return function(n){return e(t(n))}},LT=NT(Object.keys,Object),DT=function(e){var t=e&&e.constructor;return e===("function"==typeof t&&t.prototype||MT)},IT=LT,FT=Object.prototype.hasOwnProperty,BT=Pk,zT=pT,VT=function(e){return null!=e&&zT(e.length)&&!BT(e)},HT=function(e,t){var n=OT(e),r=!n&&_T(e),o=!n&&!r&&RT(e),i=!n&&!r&&!o&&jT(e),a=n||r||o||i,s=a?kT(e.length,String):[],l=s.length;for(var c in e)(t||TT.call(e,c))&&(!a||!("length"==c||o&&("offset"==c||"parent"==c)||i&&("buffer"==c||"byteLength"==c||"byteOffset"==c)||PT(c,l)))&&s.push(c);return s},WT=function(e){if(!DT(e))return IT(e);var t=[];for(var n in Object(e))FT.call(e,n)&&"constructor"!=n&&t.push(n);return t},UT=VT,ZT=function(e){return UT(e)?HT(e):WT(e)},qT=function(e,t,n){var r=t(e);return Kj(e)?r:Yj(r,n(e))},YT=$j,KT=ZT,QT=function(e){return qT(e,KT,YT)},GT=Object.prototype.hasOwnProperty,XT=Kk(ik,"DataView"),JT=Kk(ik,"Promise"),$T=Kk(ik,"Set"),eM=XT,tM=E_,nM=JT,rM=$T,oM=Kk(ik,"WeakMap"),iM=gk,aM=Lk,sM="[object Map]",lM="[object Promise]",cM="[object Set]",uM="[object WeakMap]",dM="[object DataView]",fM=aM(eM),hM=aM(tM),pM=aM(nM),mM=aM(rM),gM=aM(oM),yM=iM;(eM&&yM(new eM(new ArrayBuffer(1)))!=dM||tM&&yM(new tM)!=sM||nM&&yM(nM.resolve())!=lM||rM&&yM(new rM)!=cM||oM&&yM(new oM)!=uM)&&(yM=function(e){var t=iM(e),n="[object Object]"==t?e.constructor:void 0,r=n?aM(n):"";if(r)switch(r){case fM:return dM;case hM:return sM;case pM:return lM;case mM:return cM;case gM:return uM}return t});var vM=kj,bM=Ij,xM=function(e,t,n,r,o,i,a){switch(n){case"[object DataView]":if(e.byteLength!=t.byteLength||e.byteOffset!=t.byteOffset)return!1;e=e.buffer,t=t.buffer;case"[object ArrayBuffer]":return!(e.byteLength!=t.byteLength||!i(new Bj(e),new Bj(t)));case"[object Boolean]":case"[object Date]":case"[object Number]":return zj(+e,+t);case"[object Error]":return e.name==t.name&&e.message==t.message;case"[object RegExp]":case"[object String]":return e==t+"";case"[object Map]":var s=Hj;case"[object Set]":var l=1&r;if(s||(s=Wj),e.size!=t.size&&!l)return!1;var c=a.get(e);if(c)return c==t;r|=2,a.set(e,t);var u=Vj(s(e),s(t),r,o,i,a);return a.delete(e),u;case"[object Symbol]":if(Zj)return Zj.call(e)==Zj.call(t)}return!1},wM=function(e,t,n,r,o,i){var a=1&n,s=QT(e),l=s.length;if(l!=QT(t).length&&!a)return!1;for(var c=l;c--;){var u=s[c];if(!(a?u in t:GT.call(t,u)))return!1}var d=i.get(e),f=i.get(t);if(d&&f)return d==t&&f==e;var h=!0;i.set(e,t),i.set(t,e);for(var p=a;++c<l;){var m=e[u=s[c]],g=t[u];if(r)var y=a?r(g,m,u,t,e,i):r(m,g,u,e,t,i);if(!(void 0===y?m===g||o(m,g,n,r,i):y)){h=!1;break}p||(p="constructor"==u)}if(h&&!p){var v=e.constructor,b=t.constructor;v!=b&&"constructor"in e&&"constructor"in t&&!("function"==typeof v&&v instanceof v&&"function"==typeof b&&b instanceof b)&&(h=!1)}return i.delete(e),i.delete(t),h},CM=yM,AM=tk,EM=dT,SM=ST,kM="[object Arguments]",_M="[object Array]",OM="[object Object]",RM=Object.prototype.hasOwnProperty,PM=function(e,t,n,r,o,i){var a=AM(e),s=AM(t),l=a?_M:CM(e),c=s?_M:CM(t),u=(l=l==kM?OM:l)==OM,d=(c=c==kM?OM:c)==OM,f=l==c;if(f&&EM(e)){if(!EM(t))return!1;a=!0,u=!1}if(f&&!u)return i||(i=new vM),a||SM(e)?bM(e,t,n,r,o,i):xM(e,t,l,n,r,o,i);if(!(1&n)){var h=u&&RM.call(e,"__wrapped__"),p=d&&RM.call(t,"__wrapped__");if(h||p){var m=h?e.value():e,g=p?t.value():t;return i||(i=new vM),o(m,g,n,r,i)}}return!!f&&(i||(i=new vM),wM(e,t,n,r,o,i))},jM=yk,TM=function e(t,n,r,o,i){return t===n||(null==t||null==n||!jM(t)&&!jM(n)?t!=t&&n!=n:PM(t,n,r,o,e,i))},MM=kj,NM=TM,LM=kk,DM=function(e){return e==e&&!LM(e)},IM=DM,FM=ZT,BM=function(e,t){return function(n){return null!=n&&n[e]===t&&(void 0!==t||e in Object(n))}},zM=function(e,t,n,r){var o=n.length,i=o,a=!r;if(null==e)return!i;for(e=Object(e);o--;){var s=n[o];if(a&&s[2]?s[1]!==e[s[0]]:!(s[0]in e))return!1}for(;++o<i;){var l=(s=n[o])[0],c=e[l],u=s[1];if(a&&s[2]){if(void 0===c&&!(l in e))return!1}else{var d=new MM;if(r)var f=r(c,u,l,e,t,d);if(!(void 0===f?NM(u,c,3,r,d):f))return!1}}return!0},VM=function(e){for(var t=FM(e),n=t.length;n--;){var r=t[n],o=e[r];t[n]=[r,o,IM(o)]}return t},HM=BM,WM=sO,UM=lT,ZM=tk,qM=hT,YM=pT,KM=cO,QM=function(e,t){return null!=e&&t in Object(e)},GM=function(e,t,n){for(var r=-1,o=(t=WM(t,e)).length,i=!1;++r<o;){var a=KM(t[r]);if(!(i=null!=e&&n(e,a)))break;e=e[a]}return i||++r!=o?i:!!(o=null==e?0:e.length)&&YM(o)&&qM(a,o)&&(ZM(e)||UM(e))},XM=TM,JM=pO,$M=function(e,t){return null!=e&&GM(e,t,QM)},eN=Sk,tN=DM,nN=BM,rN=cO,oN=function(e){return e},iN=fO,aN=function(e){return function(t){return null==t?void 0:t[e]}},sN=function(e){return function(t){return iN(t,e)}},lN=Sk,cN=cO,uN=function(e){var t=VM(e);return 1==t.length&&t[0][2]?HM(t[0][0],t[0][1]):function(n){return n===e||zM(n,e,t)}},dN=function(e,t){return eN(e)&&tN(t)?nN(rN(e),t):function(n){var r=JM(n,e);return void 0===r&&r===t?$M(n,e):XM(t,r,3)}},fN=oN,hN=tk,pN=function(e){return lN(e)?aN(cN(e)):sN(e)},mN=function(e){return"function"==typeof e?e:null==e?fN:"object"==typeof e?hN(e)?dN(e[0],e[1]):uN(e):pN(e)},gN=function(e,t,n,r){for(var o=e.length,i=n+(r?1:-1);r?i--:++i<o;)if(t(e[i],i,e))return i;return-1},yN=gN,vN=function(e){return e!=e},bN=function(e,t,n){for(var r=n-1,o=e.length;++r<o;)if(e[r]===t)return r;return-1},xN=function(e,t,n){return t==t?bN(e,t,n):yN(e,vN,n)},wN=$T,CN=wN&&1/Fj(new wN([,-0]))[1]==1/0?function(e){return new wN(e)}:function(){},AN=jj,EN=function(e,t){return!(null==e||!e.length)&&xN(e,t,0)>-1},SN=function(e,t,n){for(var r=-1,o=null==e?0:e.length;++r<o;)if(n(t,e[r]))return!0;return!1},kN=Mj,_N=CN,ON=Fj,RN=mN,PN=function(e,t,n){var r=-1,o=EN,i=e.length,a=!0,s=[],l=s;if(n)a=!1,o=SN;else if(i>=200){var c=t?null:_N(e);if(c)return ON(c);a=!1,o=kN,l=new AN}else l=t?[]:s;e:for(;++r<i;){var u=e[r],d=t?t(u):u;if(u=n||0!==u?u:0,a&&d==d){for(var f=l.length;f--;)if(l[f]===d)continue e;t&&l.push(d),s.push(u)}else o(l,d,n)||(l!==s&&l.push(d),s.push(u))}return s},jN=function(e,t){return e&&e.length?PN(e,RN(t)):[]};const TN=qe(jN);function MN(e,t,n){return!0===t?TN(e,n):jk(t)?TN(e,t):e}function NN(e){return(NN="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})(e)}var LN=["ref"];function DN(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function IN(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?DN(Object(n),!0).forEach((function(t){HN(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):DN(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function FN(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,WN(r.key),r)}}function BN(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(BN=function(){return!!e})()}function zN(e){return(zN=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function VN(e,t){return VN=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},VN(e,t)}function HN(e,t,n){return(t=WN(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WN(e){var t=function(e){if("object"!=NN(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=NN(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NN(t)?t:t+""}function UN(e){return e.value}var ZN=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return HN(e=function(e,t,n){return t=zN(t),function(e,t){if(t&&("object"===NN(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,BN()?Reflect.construct(t,n||[],zN(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"lastBoundingBox",{width:-1,height:-1}),e}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VN(e,t)}(t,e),function(e,t,n){return t&&FN(e.prototype,t),n&&FN(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){this.updateBBox()}},{key:"componentDidUpdate",value:function(){this.updateBBox()}},{key:"getBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();return e.height=this.wrapperNode.offsetHeight,e.width=this.wrapperNode.offsetWidth,e}return null}},{key:"updateBBox",value:function(){var e=this.props.onBBoxUpdate,t=this.getBBox();t?(Math.abs(t.width-this.lastBoundingBox.width)>1||Math.abs(t.height-this.lastBoundingBox.height)>1)&&(this.lastBoundingBox.width=t.width,this.lastBoundingBox.height=t.height,e&&e(t)):(-1!==this.lastBoundingBox.width||-1!==this.lastBoundingBox.height)&&(this.lastBoundingBox.width=-1,this.lastBoundingBox.height=-1,e&&e(null))}},{key:"getBBoxSnapshot",value:function(){return this.lastBoundingBox.width>=0&&this.lastBoundingBox.height>=0?IN({},this.lastBoundingBox):{width:0,height:0}}},{key:"getDefaultPosition",value:function(e){var t,n,r=this.props,o=r.layout,i=r.align,a=r.verticalAlign,s=r.margin,l=r.chartWidth,c=r.chartHeight;return e&&(void 0!==e.left&&null!==e.left||void 0!==e.right&&null!==e.right)||(t="center"===i&&"vertical"===o?{left:((l||0)-this.getBBoxSnapshot().width)/2}:"right"===i?{right:s&&s.right||0}:{left:s&&s.left||0}),e&&(void 0!==e.top&&null!==e.top||void 0!==e.bottom&&null!==e.bottom)||(n="middle"===a?{top:((c||0)-this.getBBoxSnapshot().height)/2}:"bottom"===a?{bottom:s&&s.bottom||0}:{top:s&&s.top||0}),IN(IN({},t),n)}},{key:"render",value:function(){var e=this,t=this.props,r=t.content,o=t.width,i=t.height,a=t.wrapperStyle,s=t.payloadUniqBy,l=t.payload,c=IN(IN({position:"absolute",width:o||"auto",height:i||"auto"},this.getDefaultPosition(a)),a);return n.createElement("div",{className:"recharts-legend-wrapper",style:c,ref:function(t){e.wrapperNode=t}},function(e,t){if(n.isValidElement(e))return n.cloneElement(e,t);if("function"==typeof e)return n.createElement(e,t);t.ref;var r=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,LN);return n.createElement(mj,r)}(r,IN(IN({},this.props),{},{payload:MN(l,s,UN)})))}}],[{key:"getWithHeight",value:function(e,t){var n=IN(IN({},this.defaultProps),e.props).layout;return"vertical"===n&&DO(e.props.height)?{height:e.props.height}:"horizontal"===n?{width:e.props.width||t}:null}}])}(n.PureComponent);HN(ZN,"displayName","Legend"),HN(ZN,"defaultProps",{iconSize:14,layout:"horizontal",align:"center",verticalAlign:"bottom"});var qN=lT,YN=tk,KN=ak?ak.isConcatSpreadable:void 0,QN=qj,GN=function(e){return YN(e)||qN(e)||!!(KN&&e&&e[KN])},XN=function e(t,n,r,o,i){var a=-1,s=t.length;for(r||(r=GN),i||(i=[]);++a<s;){var l=t[a];n>0&&r(l)?n>1?e(l,n-1,r,o,i):QN(i,l):o||(i[i.length]=l)}return i},JN=function(e){return function(t,n,r){for(var o=-1,i=Object(t),a=r(t),s=a.length;s--;){var l=a[e?s:++o];if(!1===n(i[l],l,i))break}return t}}(),$N=ZT,eL=function(e,t){return e&&JN(e,t,$N)},tL=VT,nL=function(e,t){return function(n,r){if(null==n)return n;if(!tL(n))return e(n,r);for(var o=n.length,i=t?o:-1,a=Object(n);(t?i--:++i<o)&&!1!==r(a[i],i,a););return n}}(eL),rL=nL,oL=VT,iL=function(e,t){var n=-1,r=oL(e)?Array(e.length):[];return rL(e,(function(e,o,i){r[++n]=t(e,o,i)})),r},aL=xk,sL=function(e,t){if(e!==t){var n=void 0!==e,r=null===e,o=e==e,i=aL(e),a=void 0!==t,s=null===t,l=t==t,c=aL(t);if(!s&&!c&&!i&&e>t||i&&a&&l&&!s&&!c||r&&a&&l||!n&&l||!o)return 1;if(!r&&!i&&!c&&e<t||c&&n&&o&&!r&&!i||s&&n&&o||!a&&o||!l)return-1}return 0},lL=Q_,cL=fO,uL=mN,dL=iL,fL=function(e,t){var n=e.length;for(e.sort(t);n--;)e[n]=e[n].value;return e},hL=bT,pL=function(e,t,n){for(var r=-1,o=e.criteria,i=t.criteria,a=o.length,s=n.length;++r<a;){var l=sL(o[r],i[r]);if(l)return r>=s?l:l*("desc"==n[r]?-1:1)}return e.index-t.index},mL=oN,gL=tk,yL=function(e,t,n){switch(n.length){case 0:return e.call(t);case 1:return e.call(t,n[0]);case 2:return e.call(t,n[0],n[1]);case 3:return e.call(t,n[0],n[1],n[2])}return e.apply(t,n)},vL=Math.max,bL=Kk,xL=function(){try{var e=bL(Object,"defineProperty");return e({},"",{}),e}catch{}}(),wL=xL,CL=function(e){return function(){return e}},AL=wL,EL=AL?function(e,t){return AL(e,"toString",{configurable:!0,enumerable:!1,value:CL(t),writable:!0})}:oN,SL=EL,kL=Date.now,_L=function(e){var t=0,n=0;return function(){var r=kL(),o=16-(r-n);if(n=r,o>0){if(++t>=800)return arguments[0]}else t=0;return e.apply(void 0,arguments)}}(SL),OL=oN,RL=function(e,t,n){return t=vL(void 0===t?e.length-1:t,0),function(){for(var r=arguments,o=-1,i=vL(r.length-t,0),a=Array(i);++o<i;)a[o]=r[t+o];o=-1;for(var s=Array(t+1);++o<t;)s[o]=r[o];return s[t]=n(a),yL(e,this,s)}},PL=_L,jL=c_,TL=VT,ML=hT,NL=kk,LL=function(e,t,n){if(!NL(n))return!1;var r=typeof t;return!!("number"==r?TL(n)&&ML(t,n.length):"string"==r&&t in n)&&jL(n[t],e)},DL=XN,IL=function(e,t,n){t=t.length?lL(t,(function(e){return gL(e)?function(t){return cL(t,1===e.length?e[0]:e)}:e})):[mL];var r=-1;t=lL(t,hL(uL));var o=dL(e,(function(e,n,o){return{criteria:lL(t,(function(t){return t(e)})),index:++r,value:e}}));return fL(o,(function(e,t){return pL(e,t,n)}))},FL=LL,BL=function(e,t){return PL(RL(e,t,OL),e+"")}((function(e,t){if(null==e)return[];var n=t.length;return n>1&&FL(e,t[0],t[1])?t=[]:n>2&&FL(t[0],t[1],t[2])&&(t=[t[0]]),IL(e,DL(t,1),[])}));const zL=qe(BL);function VL(e){return(VL="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})(e)}function HL(){return HL=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},HL.apply(this,arguments)}function WL(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function UL(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ZL(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UL(Object(n),!0).forEach((function(t){qL(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UL(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qL(e,t,n){return t=function(e){var t=function(e){if("object"!=VL(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=VL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==VL(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YL(e){return Array.isArray(e)&&IO(e[0])&&IO(e[1])?e.join(" ~ "):e}var KL=function(e){var t=e.separator,r=void 0===t?" : ":t,o=e.contentStyle,i=void 0===o?{}:o,a=e.itemStyle,s=void 0===a?{}:a,l=e.labelStyle,c=void 0===l?{}:l,u=e.payload,d=e.formatter,f=e.itemSorter,h=e.wrapperClassName,p=e.labelClassName,m=e.label,g=e.labelFormatter,y=e.accessibilityLayer,v=void 0!==y&&y,b=ZL({margin:0,padding:10,backgroundColor:"#fff",border:"1px solid #ccc",whiteSpace:"nowrap"},i),x=ZL({margin:0},c),w=!yO(m),C=w?m:"",A=Kt("recharts-default-tooltip",h),E=Kt("recharts-tooltip-label",p);w&&g&&null!=u&&(C=g(m,u));var S=v?{role:"status","aria-live":"assertive"}:{};return n.createElement("div",HL({className:A,style:b},S),n.createElement("p",{className:E,style:x},n.isValidElement(C)?C:"".concat(C)),function(){if(u&&u.length){var e=(f?zL(u,f):u).map((function(e,t){if("none"===e.type)return null;var o=ZL({display:"block",paddingTop:4,paddingBottom:4,color:e.color||"#000"},s),i=e.formatter||d||YL,a=e.value,l=e.name,c=a,f=l;if(i&&null!=c&&null!=f){var h=i(a,l,e,t,u);if(Array.isArray(h)){var p=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return WL(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return WL(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(h,2);c=p[0],f=p[1]}else c=h}return n.createElement("li",{className:"recharts-tooltip-item",key:"tooltip-item-".concat(t),style:o},IO(f)?n.createElement("span",{className:"recharts-tooltip-item-name"},f):null,IO(f)?n.createElement("span",{className:"recharts-tooltip-item-separator"},r):null,n.createElement("span",{className:"recharts-tooltip-item-value"},c),n.createElement("span",{className:"recharts-tooltip-item-unit"},e.unit||""))}));return n.createElement("ul",{className:"recharts-tooltip-item-list",style:{padding:0,margin:0}},e)}return null}())};function QL(e){return(QL="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})(e)}function GL(e,t,n){return t=function(e){var t=function(e){if("object"!=QL(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=QL(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==QL(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var XL="recharts-tooltip-wrapper",JL={visibility:"hidden"};function $L(e){var t=e.coordinate,n=e.translateX,r=e.translateY;return Kt(XL,GL(GL(GL(GL({},"".concat(XL,"-right"),DO(n)&&t&&DO(t.x)&&n>=t.x),"".concat(XL,"-left"),DO(n)&&t&&DO(t.x)&&n<t.x),"".concat(XL,"-bottom"),DO(r)&&t&&DO(t.y)&&r>=t.y),"".concat(XL,"-top"),DO(r)&&t&&DO(t.y)&&r<t.y))}function eD(e){var t=e.allowEscapeViewBox,n=e.coordinate,r=e.key,o=e.offsetTopLeft,i=e.position,a=e.reverseDirection,s=e.tooltipDimension,l=e.viewBox,c=e.viewBoxDimension;if(i&&DO(i[r]))return i[r];var u=n[r]-s-o,d=n[r]+o;return t[r]?a[r]?u:d:a[r]?u<l[r]?Math.max(d,l[r]):Math.max(u,l[r]):d+s>l[r]+c?Math.max(u,l[r]):Math.max(d,l[r])}function tD(e){return(tD="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})(e)}function nD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nD(Object(n),!0).forEach((function(t){sD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oD(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(oD=function(){return!!e})()}function iD(e){return(iD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function aD(e,t){return aD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},aD(e,t)}function sD(e,t,n){return(t=lD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lD(e){var t=function(e){if("object"!=tD(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tD(t)?t:t+""}var cD=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return sD(e=function(e,t,n){return t=iD(t),function(e,t){if(t&&("object"===tD(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,oD()?Reflect.construct(t,n||[],iD(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"state",{dismissed:!1,dismissedAtCoordinate:{x:0,y:0},lastBoundingBox:{width:-1,height:-1}}),sD(e,"handleKeyDown",(function(t){var n,r,o,i;"Escape"===t.key&&e.setState({dismissed:!0,dismissedAtCoordinate:{x:null!==(n=null===(r=e.props.coordinate)||void 0===r?void 0:r.x)&&void 0!==n?n:0,y:null!==(o=null===(i=e.props.coordinate)||void 0===i?void 0:i.y)&&void 0!==o?o:0}})})),e}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&aD(e,t)}(t,e),function(e,t){return t&&function(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,lD(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"updateBBox",value:function(){if(this.wrapperNode&&this.wrapperNode.getBoundingClientRect){var e=this.wrapperNode.getBoundingClientRect();(Math.abs(e.width-this.state.lastBoundingBox.width)>1||Math.abs(e.height-this.state.lastBoundingBox.height)>1)&&this.setState({lastBoundingBox:{width:e.width,height:e.height}})}else(-1!==this.state.lastBoundingBox.width||-1!==this.state.lastBoundingBox.height)&&this.setState({lastBoundingBox:{width:-1,height:-1}})}},{key:"componentDidMount",value:function(){document.addEventListener("keydown",this.handleKeyDown),this.updateBBox()}},{key:"componentWillUnmount",value:function(){document.removeEventListener("keydown",this.handleKeyDown)}},{key:"componentDidUpdate",value:function(){var e,t;this.props.active&&this.updateBBox(),this.state.dismissed&&((null===(e=this.props.coordinate)||void 0===e?void 0:e.x)!==this.state.dismissedAtCoordinate.x||(null===(t=this.props.coordinate)||void 0===t?void 0:t.y)!==this.state.dismissedAtCoordinate.y)&&(this.state.dismissed=!1)}},{key:"render",value:function(){var e=this,t=this.props,r=t.active,o=t.allowEscapeViewBox,i=t.animationDuration,a=t.animationEasing,s=t.children,l=t.coordinate,c=t.hasPayload,u=t.isAnimationActive,d=t.offset,f=t.position,h=t.reverseDirection,p=t.useTranslate3d,m=t.viewBox,g=t.wrapperStyle,y=function(e){var t,n,r,o=e.allowEscapeViewBox,i=e.coordinate,a=e.offsetTopLeft,s=e.position,l=e.reverseDirection,c=e.tooltipBox,u=e.useTranslate3d,d=e.viewBox;return t=c.height>0&&c.width>0&&i?function(e){var t=e.translateX,n=e.translateY;return{transform:e.useTranslate3d?"translate3d(".concat(t,"px, ").concat(n,"px, 0)"):"translate(".concat(t,"px, ").concat(n,"px)")}}({translateX:n=eD({allowEscapeViewBox:o,coordinate:i,key:"x",offsetTopLeft:a,position:s,reverseDirection:l,tooltipDimension:c.width,viewBox:d,viewBoxDimension:d.width}),translateY:r=eD({allowEscapeViewBox:o,coordinate:i,key:"y",offsetTopLeft:a,position:s,reverseDirection:l,tooltipDimension:c.height,viewBox:d,viewBoxDimension:d.height}),useTranslate3d:u}):JL,{cssProperties:t,cssClasses:$L({translateX:n,translateY:r,coordinate:i})}}({allowEscapeViewBox:o,coordinate:l,offsetTopLeft:d,position:f,reverseDirection:h,tooltipBox:this.state.lastBoundingBox,useTranslate3d:p,viewBox:m}),v=y.cssClasses,b=y.cssProperties,x=rD(rD({transition:u&&r?"transform ".concat(i,"ms ").concat(a):void 0},b),{},{pointerEvents:"none",visibility:!this.state.dismissed&&r&&c?"visible":"hidden",position:"absolute",top:0,left:0},g);return n.createElement("div",{tabIndex:-1,className:v,style:x,ref:function(t){e.wrapperNode=t}},s)}}])}(n.PureComponent),uD={isSsr:!(typeof window<"u"&&window.document&&window.document.createElement&&window.setTimeout),get:function(e){return uD[e]},set:function(e,t){if("string"==typeof e)uD[e]=t;else{var n=Object.keys(e);n&&n.length&&n.forEach((function(t){uD[t]=e[t]}))}}};function dD(e){return(dD="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})(e)}function fD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fD(Object(n),!0).forEach((function(t){yD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pD(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(pD=function(){return!!e})()}function mD(e){return(mD=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gD(e,t){return gD=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gD(e,t)}function yD(e,t,n){return(t=vD(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vD(e){var t=function(e){if("object"!=dD(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=dD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dD(t)?t:t+""}function bD(e){return e.dataKey}var xD=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=mD(t),function(e,t){if(t&&("object"===dD(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pD()?Reflect.construct(t,n||[],mD(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gD(e,t)}(t,e),function(e,t){return t&&function(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,vD(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this,t=this.props,r=t.active,o=t.allowEscapeViewBox,i=t.animationDuration,a=t.animationEasing,s=t.content,l=t.coordinate,c=t.filterNull,u=t.isAnimationActive,d=t.offset,f=t.payload,h=t.payloadUniqBy,p=t.position,m=t.reverseDirection,g=t.useTranslate3d,y=t.viewBox,v=t.wrapperStyle,b=f??[];c&&b.length&&(b=MN(f.filter((function(t){return null!=t.value&&(!0!==t.hide||e.props.includeHidden)})),h,bD));var x=b.length>0;return n.createElement(cD,{allowEscapeViewBox:o,animationDuration:i,animationEasing:a,isAnimationActive:u,active:r,coordinate:l,hasPayload:x,offset:d,position:p,reverseDirection:m,useTranslate3d:g,viewBox:y,wrapperStyle:v},function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):"function"==typeof e?n.createElement(e,t):n.createElement(KL,t)}(s,hD(hD({},this.props),{},{payload:b})))}}])}(n.PureComponent);yD(xD,"displayName","Tooltip"),yD(xD,"defaultProps",{accessibilityLayer:!1,allowEscapeViewBox:{x:!1,y:!1},animationDuration:400,animationEasing:"ease",contentStyle:{},coordinate:{x:0,y:0},cursor:!0,cursorStyle:{},filterNull:!0,isAnimationActive:!uD.isSsr,itemStyle:{},labelStyle:{},offset:10,reverseDirection:{x:!1,y:!1},separator:" : ",trigger:"hover",useTranslate3d:!1,viewBox:{x:0,y:0,height:0,width:0},wrapperStyle:{}});var wD=ik,CD=/\s/,AD=function(e){for(var t=e.length;t--&&CD.test(e.charAt(t)););return t},ED=/^\s+/,SD=function(e){return e&&e.slice(0,AD(e)+1).replace(ED,"")},kD=kk,_D=xk,OD=/^[-+]0x[0-9a-f]+$/i,RD=/^0b[01]+$/i,PD=/^0o[0-7]+$/i,jD=parseInt,TD=function(e){if("number"==typeof e)return e;if(_D(e))return NaN;if(kD(e)){var t="function"==typeof e.valueOf?e.valueOf():e;e=kD(t)?t+"":t}if("string"!=typeof e)return 0===e?e:+e;e=SD(e);var n=RD.test(e);return n||PD.test(e)?jD(e.slice(2),n?2:8):OD.test(e)?NaN:+e},MD=kk,ND=function(){return wD.Date.now()},LD=TD,DD=Math.max,ID=Math.min,FD=function(e,t,n){var r,o,i,a,s,l,c=0,u=!1,d=!1,f=!0;if("function"!=typeof e)throw new TypeError("Expected a function");function h(t){var n=r,i=o;return r=o=void 0,c=t,a=e.apply(i,n)}function p(e){var n=e-l;return void 0===l||n>=t||n<0||d&&e-c>=i}function m(){var e=ND();if(p(e))return g(e);s=setTimeout(m,function(e){var n=t-(e-l);return d?ID(n,i-(e-c)):n}(e))}function g(e){return s=void 0,f&&r?h(e):(r=o=void 0,a)}function y(){var e=ND(),n=p(e);if(r=arguments,o=this,l=e,n){if(void 0===s)return function(e){return c=e,s=setTimeout(m,t),u?h(e):a}(l);if(d)return clearTimeout(s),s=setTimeout(m,t),h(l)}return void 0===s&&(s=setTimeout(m,t)),a}return t=LD(t)||0,MD(n)&&(u=!!n.leading,i=(d="maxWait"in n)?DD(LD(n.maxWait)||0,t):i,f="trailing"in n?!!n.trailing:f),y.cancel=function(){void 0!==s&&clearTimeout(s),c=0,r=l=o=s=void 0},y.flush=function(){return void 0===s?a:g(ND())},y},BD=kk,zD=function(e,t,n){var r=!0,o=!0;if("function"!=typeof e)throw new TypeError("Expected a function");return BD(n)&&(r="leading"in n?!!n.leading:r,o="trailing"in n?!!n.trailing:o),FD(e,t,{leading:r,maxWait:t,trailing:o})};const VD=qe(zD);function HD(e){return(HD="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})(e)}function WD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function UD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?WD(Object(n),!0).forEach((function(t){ZD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):WD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function ZD(e,t,n){return t=function(e){var t=function(e){if("object"!=HD(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=HD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==HD(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function qD(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var YD=(0,n.forwardRef)((function(e,t){var r=e.aspect,o=e.initialDimension,i=void 0===o?{width:-1,height:-1}:o,a=e.width,s=void 0===a?"100%":a,l=e.height,c=void 0===l?"100%":l,u=e.minWidth,d=void 0===u?0:u,f=e.minHeight,h=e.maxHeight,p=e.children,m=e.debounce,g=void 0===m?0:m,y=e.id,v=e.className,b=e.onResize,x=e.style,w=void 0===x?{}:x,C=(0,n.useRef)(null),A=(0,n.useRef)();A.current=b,(0,n.useImperativeHandle)(t,(function(){return Object.defineProperty(C.current,"current",{get:function(){return console.warn("The usage of ref.current.current is deprecated and will no longer be supported."),C.current},configurable:!0})}));var E=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qD(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return qD(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)({containerWidth:i.width,containerHeight:i.height}),2),S=E[0],k=E[1],_=(0,n.useCallback)((function(e,t){k((function(n){var r=Math.round(e),o=Math.round(t);return n.containerWidth===r&&n.containerHeight===o?n:{containerWidth:r,containerHeight:o}}))}),[]);(0,n.useEffect)((function(){var e=function(e){var t,n=e[0].contentRect,r=n.width,o=n.height;_(r,o),null===(t=A.current)||void 0===t||t.call(A,r,o)};g>0&&(e=VD(e,g,{trailing:!0,leading:!1}));var t=new ResizeObserver(e),n=C.current.getBoundingClientRect(),r=n.width,o=n.height;return _(r,o),t.observe(C.current),function(){t.disconnect()}}),[_,g]);var O=(0,n.useMemo)((function(){var e=S.containerWidth,t=S.containerHeight;if(e<0||t<0)return null;AR(LO(s)||LO(c),"The width(%s) and height(%s) are both fixed numbers,\n       maybe you don't need to use a ResponsiveContainer.",s,c),AR(!r||r>0,"The aspect(%s) must be greater than zero.",r);var o=LO(s)?e:s,i=LO(c)?t:c;r&&r>0&&(o?i=o/r:i&&(o=i*r),h&&i>h&&(i=h)),AR(o>0||i>0,"The width(%s) and height(%s) of chart should be greater than 0,\n       please check the style of container, or the props width(%s) and height(%s),\n       or add a minWidth(%s) or minHeight(%s) or use aspect(%s) to control the\n       height and width.",o,i,s,c,d,f,r);var a=!Array.isArray(p)&&rR(p.type).endsWith("Chart");return n.Children.map(p,(function(e){return n.isValidElement(e)?(0,n.cloneElement)(e,UD({width:o,height:i},a?{style:UD({height:"100%",width:"100%",maxHeight:i,maxWidth:o},e.props.style)}:{})):e}))}),[r,p,c,h,f,d,S,s]);return n.createElement("div",{id:y?"".concat(y):void 0,className:Kt("recharts-responsive-container",v),style:UD(UD({},w),{},{width:s,height:c,minWidth:d,minHeight:f,maxHeight:h}),ref:C},O)})),KD=function(e){return null};function QD(e){return(QD="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})(e)}function GD(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function XD(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GD(Object(n),!0).forEach((function(t){JD(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GD(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function JD(e,t,n){return t=function(e){var t=function(e){if("object"!=QD(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=QD(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==QD(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}KD.displayName="Cell";var $D={widthCache:{},cacheCount:0},eI={position:"absolute",top:"-20000px",left:0,padding:0,margin:0,border:"none",whiteSpace:"pre"},tI="recharts_measurement_span",nI=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(null==e||uD.isSsr)return{width:0,height:0};var n=function(e){var t=XD({},e);return Object.keys(t).forEach((function(e){t[e]||delete t[e]})),t}(t),r=JSON.stringify({text:e,copyStyle:n});if($D.widthCache[r])return $D.widthCache[r];try{var o=document.getElementById(tI);o||((o=document.createElement("span")).setAttribute("id",tI),o.setAttribute("aria-hidden","true"),document.body.appendChild(o));var i=XD(XD({},eI),n);Object.assign(o.style,i),o.textContent="".concat(e);var a=o.getBoundingClientRect(),s={width:a.width,height:a.height};return $D.widthCache[r]=s,++$D.cacheCount>2e3&&($D.cacheCount=0,$D.widthCache={}),s}catch{return{width:0,height:0}}};function rI(e){return(rI="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})(e)}function oI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return iI(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function iI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function aI(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,sI(r.key),r)}}function sI(e){var t=function(e){if("object"!=rI(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=rI(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rI(t)?t:t+""}var lI=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([*/])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,cI=/(-?\d+(?:\.\d+)?[a-zA-Z%]*)([+-])(-?\d+(?:\.\d+)?[a-zA-Z%]*)/,uI=/^px|cm|vh|vw|em|rem|%|mm|in|pt|pc|ex|ch|vmin|vmax|Q$/,dI=/(-?\d+(?:\.\d+)?)([a-zA-Z%]+)?/,fI={cm:96/2.54,mm:96/25.4,pt:96/72,pc:16,in:96,Q:96/101.6,px:1},hI=Object.keys(fI),pI="NaN",mI=function(){function e(t,n){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.num=t,this.unit=n,this.num=t,this.unit=n,Number.isNaN(t)&&(this.unit=""),""!==n&&!uI.test(n)&&(this.num=NaN,this.unit=""),hI.includes(n)&&(this.num=function(e,t){return e*fI[t]}(t,n),this.unit="px")}return function(e,t,n){return t&&aI(e.prototype,t),n&&aI(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"add",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num+t.num,this.unit)}},{key:"subtract",value:function(t){return this.unit!==t.unit?new e(NaN,""):new e(this.num-t.num,this.unit)}},{key:"multiply",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num*t.num,this.unit||t.unit)}},{key:"divide",value:function(t){return""!==this.unit&&""!==t.unit&&this.unit!==t.unit?new e(NaN,""):new e(this.num/t.num,this.unit||t.unit)}},{key:"toString",value:function(){return"".concat(this.num).concat(this.unit)}},{key:"isNaN",value:function(){return Number.isNaN(this.num)}}],[{key:"parse",value:function(t){var n,r=oI(null!==(n=dI.exec(t))&&void 0!==n?n:[],3),o=r[1],i=r[2];return new e(parseFloat(o),i??"")}}])}();function gI(e){if(e.includes(pI))return pI;for(var t=e;t.includes("*")||t.includes("/");){var n,r=oI(null!==(n=lI.exec(t))&&void 0!==n?n:[],4),o=r[1],i=r[2],a=r[3],s=mI.parse(o??""),l=mI.parse(a??""),c="*"===i?s.multiply(l):s.divide(l);if(c.isNaN())return pI;t=t.replace(lI,c.toString())}for(;t.includes("+")||/.-\d+(?:\.\d+)?/.test(t);){var u,d=oI(null!==(u=cI.exec(t))&&void 0!==u?u:[],4),f=d[1],h=d[2],p=d[3],m=mI.parse(f??""),g=mI.parse(p??""),y="+"===h?m.add(g):m.subtract(g);if(y.isNaN())return pI;t=t.replace(cI,y.toString())}return t}var yI=/\(([^()]*)\)/;function vI(e){var t=function(e){try{return function(e){var t=e.replace(/\s+/g,"");return t=function(e){for(var t=e;t.includes("(");){var n=oI(yI.exec(t),2)[1];t=t.replace(yI,gI(n))}return t}(t),gI(t)}(e)}catch{return pI}}(e.slice(5,-1));return t===pI?"":t}var bI=["x","y","lineHeight","capHeight","scaleToFit","textAnchor","verticalAnchor","fill"],xI=["dx","dy","angle","className","breakAll"];function wI(){return wI=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},wI.apply(this,arguments)}function CI(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function AI(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return EI(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return EI(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function EI(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var SI=/[ \f\n\r\t\v\u2028\u2029]+/,kI=function(e){var t=e.children,n=e.breakAll,r=e.style;try{var o=[];yO(t)||(o=n?t.toString().split(""):t.toString().split(SI));var i=o.map((function(e){return{word:e,width:nI(e,r).width}}));return{wordsWithComputedWidth:i,spaceWidth:n?0:nI(" ",r).width}}catch{return null}},_I=function(e){return[{words:yO(e)?[]:e.toString().split(SI)}]},OI="#808080",RI=function(e){var t=e.x,r=void 0===t?0:t,o=e.y,i=void 0===o?0:o,a=e.lineHeight,s=void 0===a?"1em":a,l=e.capHeight,c=void 0===l?"0.71em":l,u=e.scaleToFit,d=void 0!==u&&u,f=e.textAnchor,h=void 0===f?"start":f,p=e.verticalAnchor,m=void 0===p?"end":p,g=e.fill,y=void 0===g?OI:g,v=CI(e,bI),b=(0,n.useMemo)((function(){return function(e){var t=e.width,n=e.scaleToFit,r=e.children,o=e.style,i=e.breakAll,a=e.maxLines;if((t||n)&&!uD.isSsr){var s=kI({breakAll:i,children:r,style:o});return s?function(e,t,n,r,o){var i=e.maxLines,a=e.children,s=e.style,l=e.breakAll,c=DO(i),u=a,d=function(){return(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).reduce((function(e,t){var i=t.word,a=t.width,s=e[e.length-1];if(s&&(null==r||o||s.width+a+n<Number(r)))s.words.push(i),s.width+=a+n;else{var l={words:[i],width:a};e.push(l)}return e}),[])},f=d(t);if(!c)return f;for(var h,p=function(e){var t=u.slice(0,e),n=kI({breakAll:l,style:s,children:t+"…"}).wordsWithComputedWidth,o=d(n),a=o.length>i||function(e){return e.reduce((function(e,t){return e.width>t.width?e:t}))}(o).width>Number(r);return[a,o]},m=0,g=u.length-1,y=0;m<=g&&y<=u.length-1;){var v=Math.floor((m+g)/2),b=AI(p(v-1),2),x=b[0],w=b[1],C=AI(p(v),1)[0];if(!x&&!C&&(m=v+1),x&&C&&(g=v-1),!x&&C){h=w;break}y++}return h||f}({breakAll:i,children:r,maxLines:a,style:o},s.wordsWithComputedWidth,s.spaceWidth,t,n):_I(r)}return _I(r)}({breakAll:v.breakAll,children:v.children,maxLines:v.maxLines,scaleToFit:d,style:v.style,width:v.width})}),[v.breakAll,v.children,v.maxLines,d,v.style,v.width]),x=v.dx,w=v.dy,C=v.angle,A=v.className,E=v.breakAll,S=CI(v,xI);if(!IO(r)||!IO(i))return null;var k,_=r+(DO(x)?x:0),O=i+(DO(w)?w:0);switch(m){case"start":k=vI("calc(".concat(c,")"));break;case"middle":k=vI("calc(".concat((b.length-1)/2," * -").concat(s," + (").concat(c," / 2))"));break;default:k=vI("calc(".concat(b.length-1," * -").concat(s,")"))}var R=[];if(d){var P=b[0].width,j=v.width;R.push("scale(".concat((DO(j)?j/P:1)/P,")"))}return C&&R.push("rotate(".concat(C,", ").concat(_,", ").concat(O,")")),R.length&&(S.transform=R.join(" ")),n.createElement("text",wI({},fR(S,!0),{x:_,y:O,className:Kt("recharts-text",A),textAnchor:h,fill:y.includes("url")?OI:y}),b.map((function(e,t){var r=e.words.join(E?"":" ");return n.createElement("tspan",{x:_,dy:0===t?k:s,key:"".concat(r,"-").concat(t)},r)})))};function PI(e,t){return null==e||null==t?NaN:e<t?-1:e>t?1:e>=t?0:NaN}function jI(e,t){return null==e||null==t?NaN:t<e?-1:t>e?1:t>=e?0:NaN}function TI(e){let t,n,r;function o(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<0?o=t+1:i=t}while(o<i)}return o}return 2!==e.length?(t=PI,n=(t,n)=>PI(e(t),n),r=(t,n)=>e(t)-n):(t=e===PI||e===jI?e:MI,n=e,r=e),{left:o,center:function(e,t,n=0,i=e.length){const a=o(e,t,n,i-1);return a>n&&r(e[a-1],t)>-r(e[a],t)?a-1:a},right:function(e,r,o=0,i=e.length){if(o<i){if(0!==t(r,r))return i;do{const t=o+i>>>1;n(e[t],r)<=0?o=t+1:i=t}while(o<i)}return o}}}function MI(){return 0}function NI(e){return null===e?NaN:+e}const LI=TI(PI).right;TI(NI).center;class DI extends Map{constructor(e,t=FI){if(super(),Object.defineProperties(this,{_intern:{value:new Map},_key:{value:t}}),null!=e)for(const[t,n]of e)this.set(t,n)}get(e){return super.get(II(this,e))}has(e){return super.has(II(this,e))}set(e,t){return super.set(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):(e.set(r,n),n)}(this,e),t)}delete(e){return super.delete(function({_intern:e,_key:t},n){const r=t(n);return e.has(r)&&(n=e.get(r),e.delete(r)),n}(this,e))}}function II({_intern:e,_key:t},n){const r=t(n);return e.has(r)?e.get(r):n}function FI(e){return null!==e&&"object"==typeof e?e.valueOf():e}function BI(e,t){return(null==e||!(e>=e))-(null==t||!(t>=t))||(e<t?-1:e>t?1:0)}const zI=Math.sqrt(50),VI=Math.sqrt(10),HI=Math.sqrt(2);function WI(e,t,n){const r=(t-e)/Math.max(0,n),o=Math.floor(Math.log10(r)),i=r/Math.pow(10,o),a=i>=zI?10:i>=VI?5:i>=HI?2:1;let s,l,c;return o<0?(c=Math.pow(10,-o)/a,s=Math.round(e*c),l=Math.round(t*c),s/c<e&&++s,l/c>t&&--l,c=-c):(c=Math.pow(10,o)*a,s=Math.round(e/c),l=Math.round(t/c),s*c<e&&++s,l*c>t&&--l),l<s&&.5<=n&&n<2?WI(e,t,2*n):[s,l,c]}function UI(e,t,n){if(!((n=+n)>0))return[];if((e=+e)==(t=+t))return[e];const r=t<e,[o,i,a]=r?WI(t,e,n):WI(e,t,n);if(!(i>=o))return[];const s=i-o+1,l=new Array(s);if(r)if(a<0)for(let e=0;e<s;++e)l[e]=(i-e)/-a;else for(let e=0;e<s;++e)l[e]=(i-e)*a;else if(a<0)for(let e=0;e<s;++e)l[e]=(o+e)/-a;else for(let e=0;e<s;++e)l[e]=(o+e)*a;return l}function ZI(e,t,n){return WI(e=+e,t=+t,n=+n)[2]}function qI(e,t,n){n=+n;const r=(t=+t)<(e=+e),o=r?ZI(t,e,n):ZI(e,t,n);return(r?-1:1)*(o<0?1/-o:o)}function YI(e,t){let n;for(const t of e)null!=t&&(n<t||void 0===n&&t>=t)&&(n=t);return n}function KI(e,t){let n;for(const t of e)null!=t&&(n>t||void 0===n&&t>=t)&&(n=t);return n}function QI(e,t,n=0,r=1/0,o){if(t=Math.floor(t),n=Math.floor(Math.max(0,n)),r=Math.floor(Math.min(e.length-1,r)),!(n<=t&&t<=r))return e;for(o=void 0===o?BI:function(e=PI){if(e===PI)return BI;if("function"!=typeof e)throw new TypeError("compare is not a function");return(t,n)=>{const r=e(t,n);return r||0===r?r:(0===e(n,n))-(0===e(t,t))}}(o);r>n;){if(r-n>600){const i=r-n+1,a=t-n+1,s=Math.log(i),l=.5*Math.exp(2*s/3),c=.5*Math.sqrt(s*l*(i-l)/i)*(a-i/2<0?-1:1);QI(e,t,Math.max(n,Math.floor(t-a*l/i+c)),Math.min(r,Math.floor(t+(i-a)*l/i+c)),o)}const i=e[t];let a=n,s=r;for(GI(e,n,t),o(e[r],i)>0&&GI(e,n,r);a<s;){for(GI(e,a,s),++a,--s;o(e[a],i)<0;)++a;for(;o(e[s],i)>0;)--s}0===o(e[n],i)?GI(e,n,s):(++s,GI(e,s,r)),s<=t&&(n=s+1),t<=s&&(r=s-1)}return e}function GI(e,t,n){const r=e[t];e[t]=e[n],e[n]=r}function XI(e,t,n=NI){if((r=e.length)&&!isNaN(t=+t)){if(t<=0||r<2)return+n(e[0],0,e);if(t>=1)return+n(e[r-1],r-1,e);var r,o=(r-1)*t,i=Math.floor(o),a=+n(e[i],i,e);return a+(+n(e[i+1],i+1,e)-a)*(o-i)}}function JI(e,t){switch(arguments.length){case 0:break;case 1:this.range(e);break;default:this.range(t).domain(e)}return this}function $I(e,t){switch(arguments.length){case 0:break;case 1:"function"==typeof e?this.interpolator(e):this.range(e);break;default:this.domain(e),"function"==typeof t?this.interpolator(t):this.range(t)}return this}const eF=Symbol("implicit");function tF(){var e=new DI,t=[],n=[],r=eF;function o(o){let i=e.get(o);if(void 0===i){if(r!==eF)return r;e.set(o,i=t.push(o)-1)}return n[i%n.length]}return o.domain=function(n){if(!arguments.length)return t.slice();t=[],e=new DI;for(const r of n)e.has(r)||e.set(r,t.push(r)-1);return o},o.range=function(e){return arguments.length?(n=Array.from(e),o):n.slice()},o.unknown=function(e){return arguments.length?(r=e,o):r},o.copy=function(){return tF(t,n).unknown(r)},JI.apply(o,arguments),o}function nF(){var e,t,n=tF().unknown(void 0),r=n.domain,o=n.range,i=0,a=1,s=!1,l=0,c=0,u=.5;function d(){var n=r().length,d=a<i,f=d?a:i,h=d?i:a;e=(h-f)/Math.max(1,n-l+2*c),s&&(e=Math.floor(e)),f+=(h-f-e*(n-l))*u,t=e*(1-l),s&&(f=Math.round(f),t=Math.round(t));var p=function(e,t,n){e=+e,t=+t,n=(o=arguments.length)<2?(t=e,e=0,1):o<3?1:+n;for(var r=-1,o=0|Math.max(0,Math.ceil((t-e)/n)),i=new Array(o);++r<o;)i[r]=e+r*n;return i}(n).map((function(t){return f+e*t}));return o(d?p.reverse():p)}return delete n.unknown,n.domain=function(e){return arguments.length?(r(e),d()):r()},n.range=function(e){return arguments.length?([i,a]=e,i=+i,a=+a,d()):[i,a]},n.rangeRound=function(e){return[i,a]=e,i=+i,a=+a,s=!0,d()},n.bandwidth=function(){return t},n.step=function(){return e},n.round=function(e){return arguments.length?(s=!!e,d()):s},n.padding=function(e){return arguments.length?(l=Math.min(1,c=+e),d()):l},n.paddingInner=function(e){return arguments.length?(l=Math.min(1,e),d()):l},n.paddingOuter=function(e){return arguments.length?(c=+e,d()):c},n.align=function(e){return arguments.length?(u=Math.max(0,Math.min(1,e)),d()):u},n.copy=function(){return nF(r(),[i,a]).round(s).paddingInner(l).paddingOuter(c).align(u)},JI.apply(d(),arguments)}function rF(e){var t=e.copy;return e.padding=e.paddingOuter,delete e.paddingInner,delete e.paddingOuter,e.copy=function(){return rF(t())},e}function oF(){return rF(nF.apply(null,arguments).paddingInner(1))}function iF(e,t,n){e.prototype=t.prototype=n,n.constructor=e}function aF(e,t){var n=Object.create(e.prototype);for(var r in t)n[r]=t[r];return n}function sF(){}var lF=.7,cF=1/lF,uF="\\s*([+-]?\\d+)\\s*",dF="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)\\s*",fF="\\s*([+-]?(?:\\d*\\.)?\\d+(?:[eE][+-]?\\d+)?)%\\s*",hF=/^#([0-9a-f]{3,8})$/,pF=new RegExp(`^rgb\\(${uF},${uF},${uF}\\)$`),mF=new RegExp(`^rgb\\(${fF},${fF},${fF}\\)$`),gF=new RegExp(`^rgba\\(${uF},${uF},${uF},${dF}\\)$`),yF=new RegExp(`^rgba\\(${fF},${fF},${fF},${dF}\\)$`),vF=new RegExp(`^hsl\\(${dF},${fF},${fF}\\)$`),bF=new RegExp(`^hsla\\(${dF},${fF},${fF},${dF}\\)$`),xF={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074};function wF(){return this.rgb().formatHex()}function CF(){return this.rgb().formatRgb()}function AF(e){var t,n;return e=(e+"").trim().toLowerCase(),(t=hF.exec(e))?(n=t[1].length,t=parseInt(t[1],16),6===n?EF(t):3===n?new _F(t>>8&15|t>>4&240,t>>4&15|240&t,(15&t)<<4|15&t,1):8===n?SF(t>>24&255,t>>16&255,t>>8&255,(255&t)/255):4===n?SF(t>>12&15|t>>8&240,t>>8&15|t>>4&240,t>>4&15|240&t,((15&t)<<4|15&t)/255):null):(t=pF.exec(e))?new _F(t[1],t[2],t[3],1):(t=mF.exec(e))?new _F(255*t[1]/100,255*t[2]/100,255*t[3]/100,1):(t=gF.exec(e))?SF(t[1],t[2],t[3],t[4]):(t=yF.exec(e))?SF(255*t[1]/100,255*t[2]/100,255*t[3]/100,t[4]):(t=vF.exec(e))?MF(t[1],t[2]/100,t[3]/100,1):(t=bF.exec(e))?MF(t[1],t[2]/100,t[3]/100,t[4]):xF.hasOwnProperty(e)?EF(xF[e]):"transparent"===e?new _F(NaN,NaN,NaN,0):null}function EF(e){return new _F(e>>16&255,e>>8&255,255&e,1)}function SF(e,t,n,r){return r<=0&&(e=t=n=NaN),new _F(e,t,n,r)}function kF(e,t,n,r){return 1===arguments.length?function(e){return e instanceof sF||(e=AF(e)),e?new _F((e=e.rgb()).r,e.g,e.b,e.opacity):new _F}(e):new _F(e,t,n,r??1)}function _F(e,t,n,r){this.r=+e,this.g=+t,this.b=+n,this.opacity=+r}function OF(){return`#${TF(this.r)}${TF(this.g)}${TF(this.b)}`}function RF(){const e=PF(this.opacity);return`${1===e?"rgb(":"rgba("}${jF(this.r)}, ${jF(this.g)}, ${jF(this.b)}${1===e?")":`, ${e})`}`}function PF(e){return isNaN(e)?1:Math.max(0,Math.min(1,e))}function jF(e){return Math.max(0,Math.min(255,Math.round(e)||0))}function TF(e){return((e=jF(e))<16?"0":"")+e.toString(16)}function MF(e,t,n,r){return r<=0?e=t=n=NaN:n<=0||n>=1?e=t=NaN:t<=0&&(e=NaN),new LF(e,t,n,r)}function NF(e){if(e instanceof LF)return new LF(e.h,e.s,e.l,e.opacity);if(e instanceof sF||(e=AF(e)),!e)return new LF;if(e instanceof LF)return e;var t=(e=e.rgb()).r/255,n=e.g/255,r=e.b/255,o=Math.min(t,n,r),i=Math.max(t,n,r),a=NaN,s=i-o,l=(i+o)/2;return s?(a=t===i?(n-r)/s+6*(n<r):n===i?(r-t)/s+2:(t-n)/s+4,s/=l<.5?i+o:2-i-o,a*=60):s=l>0&&l<1?0:a,new LF(a,s,l,e.opacity)}function LF(e,t,n,r){this.h=+e,this.s=+t,this.l=+n,this.opacity=+r}function DF(e){return(e=(e||0)%360)<0?e+360:e}function IF(e){return Math.max(0,Math.min(1,e||0))}function FF(e,t,n){return 255*(e<60?t+(n-t)*e/60:e<180?n:e<240?t+(n-t)*(240-e)/60:t)}iF(sF,AF,{copy(e){return Object.assign(new this.constructor,this,e)},displayable(){return this.rgb().displayable()},hex:wF,formatHex:wF,formatHex8:function(){return this.rgb().formatHex8()},formatHsl:function(){return NF(this).formatHsl()},formatRgb:CF,toString:CF}),iF(_F,kF,aF(sF,{brighter(e){return e=null==e?cF:Math.pow(cF,e),new _F(this.r*e,this.g*e,this.b*e,this.opacity)},darker(e){return e=null==e?lF:Math.pow(lF,e),new _F(this.r*e,this.g*e,this.b*e,this.opacity)},rgb(){return this},clamp(){return new _F(jF(this.r),jF(this.g),jF(this.b),PF(this.opacity))},displayable(){return-.5<=this.r&&this.r<255.5&&-.5<=this.g&&this.g<255.5&&-.5<=this.b&&this.b<255.5&&0<=this.opacity&&this.opacity<=1},hex:OF,formatHex:OF,formatHex8:function(){return`#${TF(this.r)}${TF(this.g)}${TF(this.b)}${TF(255*(isNaN(this.opacity)?1:this.opacity))}`},formatRgb:RF,toString:RF})),iF(LF,(function(e,t,n,r){return 1===arguments.length?NF(e):new LF(e,t,n,r??1)}),aF(sF,{brighter(e){return e=null==e?cF:Math.pow(cF,e),new LF(this.h,this.s,this.l*e,this.opacity)},darker(e){return e=null==e?lF:Math.pow(lF,e),new LF(this.h,this.s,this.l*e,this.opacity)},rgb(){var e=this.h%360+360*(this.h<0),t=isNaN(e)||isNaN(this.s)?0:this.s,n=this.l,r=n+(n<.5?n:1-n)*t,o=2*n-r;return new _F(FF(e>=240?e-240:e+120,o,r),FF(e,o,r),FF(e<120?e+240:e-120,o,r),this.opacity)},clamp(){return new LF(DF(this.h),IF(this.s),IF(this.l),PF(this.opacity))},displayable(){return(0<=this.s&&this.s<=1||isNaN(this.s))&&0<=this.l&&this.l<=1&&0<=this.opacity&&this.opacity<=1},formatHsl(){const e=PF(this.opacity);return`${1===e?"hsl(":"hsla("}${DF(this.h)}, ${100*IF(this.s)}%, ${100*IF(this.l)}%${1===e?")":`, ${e})`}`}}));const BF=e=>()=>e;function zF(e,t){var n=t-e;return n?function(e,t){return function(n){return e+n*t}}(e,n):BF(isNaN(e)?t:e)}const VF=function e(t){var n=function(e){return 1==(e=+e)?zF:function(t,n){return n-t?function(e,t,n){return e=Math.pow(e,n),t=Math.pow(t,n)-e,n=1/n,function(r){return Math.pow(e+r*t,n)}}(t,n,e):BF(isNaN(t)?n:t)}}(t);function r(e,t){var r=n((e=kF(e)).r,(t=kF(t)).r),o=n(e.g,t.g),i=n(e.b,t.b),a=zF(e.opacity,t.opacity);return function(t){return e.r=r(t),e.g=o(t),e.b=i(t),e.opacity=a(t),e+""}}return r.gamma=e,r}(1);function HF(e,t){t||(t=[]);var n,r=e?Math.min(t.length,e.length):0,o=t.slice();return function(i){for(n=0;n<r;++n)o[n]=e[n]*(1-i)+t[n]*i;return o}}function WF(e,t){var n,r=t?t.length:0,o=e?Math.min(r,e.length):0,i=new Array(o),a=new Array(r);for(n=0;n<o;++n)i[n]=GF(e[n],t[n]);for(;n<r;++n)a[n]=t[n];return function(e){for(n=0;n<o;++n)a[n]=i[n](e);return a}}function UF(e,t){var n=new Date;return e=+e,t=+t,function(r){return n.setTime(e*(1-r)+t*r),n}}function ZF(e,t){return e=+e,t=+t,function(n){return e*(1-n)+t*n}}function qF(e,t){var n,r={},o={};for(n in(null===e||"object"!=typeof e)&&(e={}),(null===t||"object"!=typeof t)&&(t={}),t)n in e?r[n]=GF(e[n],t[n]):o[n]=t[n];return function(e){for(n in r)o[n]=r[n](e);return o}}var YF=/[-+]?(?:\d+\.?\d*|\.?\d+)(?:[eE][-+]?\d+)?/g,KF=new RegExp(YF.source,"g");function QF(e,t){var n,r,o,i=YF.lastIndex=KF.lastIndex=0,a=-1,s=[],l=[];for(e+="",t+="";(n=YF.exec(e))&&(r=KF.exec(t));)(o=r.index)>i&&(o=t.slice(i,o),s[a]?s[a]+=o:s[++a]=o),(n=n[0])===(r=r[0])?s[a]?s[a]+=r:s[++a]=r:(s[++a]=null,l.push({i:a,x:ZF(n,r)})),i=KF.lastIndex;return i<t.length&&(o=t.slice(i),s[a]?s[a]+=o:s[++a]=o),s.length<2?l[0]?function(e){return function(t){return e(t)+""}}(l[0].x):function(e){return function(){return e}}(t):(t=l.length,function(e){for(var n,r=0;r<t;++r)s[(n=l[r]).i]=n.x(e);return s.join("")})}function GF(e,t){var n,r=typeof t;return null==t||"boolean"===r?BF(t):("number"===r?ZF:"string"===r?(n=AF(t))?(t=n,VF):QF:t instanceof AF?VF:t instanceof Date?UF:function(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}(t)?HF:Array.isArray(t)?WF:"function"!=typeof t.valueOf&&"function"!=typeof t.toString||isNaN(t)?qF:ZF)(e,t)}function XF(e,t){return e=+e,t=+t,function(n){return Math.round(e*(1-n)+t*n)}}function JF(e){return+e}var $F=[0,1];function eB(e){return e}function tB(e,t){return(t-=e=+e)?function(n){return(n-e)/t}:function(e){return function(){return e}}(isNaN(t)?NaN:.5)}function nB(e,t,n){var r=e[0],o=e[1],i=t[0],a=t[1];return o<r?(r=tB(o,r),i=n(a,i)):(r=tB(r,o),i=n(i,a)),function(e){return i(r(e))}}function rB(e,t,n){var r=Math.min(e.length,t.length)-1,o=new Array(r),i=new Array(r),a=-1;for(e[r]<e[0]&&(e=e.slice().reverse(),t=t.slice().reverse());++a<r;)o[a]=tB(e[a],e[a+1]),i[a]=n(t[a],t[a+1]);return function(t){var n=LI(e,t,1,r)-1;return i[n](o[n](t))}}function oB(e,t){return t.domain(e.domain()).range(e.range()).interpolate(e.interpolate()).clamp(e.clamp()).unknown(e.unknown())}function iB(){var e,t,n,r,o,i,a=$F,s=$F,l=GF,c=eB;function u(){var e=Math.min(a.length,s.length);return c!==eB&&(c=function(e,t){var n;return e>t&&(n=e,e=t,t=n),function(n){return Math.max(e,Math.min(t,n))}}(a[0],a[e-1])),r=e>2?rB:nB,o=i=null,d}function d(t){return null==t||isNaN(t=+t)?n:(o||(o=r(a.map(e),s,l)))(e(c(t)))}return d.invert=function(n){return c(t((i||(i=r(s,a.map(e),ZF)))(n)))},d.domain=function(e){return arguments.length?(a=Array.from(e,JF),u()):a.slice()},d.range=function(e){return arguments.length?(s=Array.from(e),u()):s.slice()},d.rangeRound=function(e){return s=Array.from(e),l=XF,u()},d.clamp=function(e){return arguments.length?(c=!!e||eB,u()):c!==eB},d.interpolate=function(e){return arguments.length?(l=e,u()):l},d.unknown=function(e){return arguments.length?(n=e,d):n},function(n,r){return e=n,t=r,u()}}function aB(){return iB()(eB,eB)}function sB(e,t){if((n=(e=t?e.toExponential(t-1):e.toExponential()).indexOf("e"))<0)return null;var n,r=e.slice(0,n);return[r.length>1?r[0]+r.slice(2):r,+e.slice(n+1)]}function lB(e){return(e=sB(Math.abs(e)))?e[1]:NaN}var cB,uB=/^(?:(.)?([<>=^]))?([+\-( ])?([$#])?(0)?(\d+)?(,)?(\.\d+)?(~)?([a-z%])?$/i;function dB(e){if(!(t=uB.exec(e)))throw new Error("invalid format: "+e);var t;return new fB({fill:t[1],align:t[2],sign:t[3],symbol:t[4],zero:t[5],width:t[6],comma:t[7],precision:t[8]&&t[8].slice(1),trim:t[9],type:t[10]})}function fB(e){this.fill=void 0===e.fill?" ":e.fill+"",this.align=void 0===e.align?">":e.align+"",this.sign=void 0===e.sign?"-":e.sign+"",this.symbol=void 0===e.symbol?"":e.symbol+"",this.zero=!!e.zero,this.width=void 0===e.width?void 0:+e.width,this.comma=!!e.comma,this.precision=void 0===e.precision?void 0:+e.precision,this.trim=!!e.trim,this.type=void 0===e.type?"":e.type+""}function hB(e,t){var n=sB(e,t);if(!n)return e+"";var r=n[0],o=n[1];return o<0?"0."+new Array(-o).join("0")+r:r.length>o+1?r.slice(0,o+1)+"."+r.slice(o+1):r+new Array(o-r.length+2).join("0")}dB.prototype=fB.prototype,fB.prototype.toString=function(){return this.fill+this.align+this.sign+this.symbol+(this.zero?"0":"")+(void 0===this.width?"":Math.max(1,0|this.width))+(this.comma?",":"")+(void 0===this.precision?"":"."+Math.max(0,0|this.precision))+(this.trim?"~":"")+this.type};const pB={"%":(e,t)=>(100*e).toFixed(t),b:e=>Math.round(e).toString(2),c:e=>e+"",d:function(e){return Math.abs(e=Math.round(e))>=1e21?e.toLocaleString("en").replace(/,/g,""):e.toString(10)},e:(e,t)=>e.toExponential(t),f:(e,t)=>e.toFixed(t),g:(e,t)=>e.toPrecision(t),o:e=>Math.round(e).toString(8),p:(e,t)=>hB(100*e,t),r:hB,s:function(e,t){var n=sB(e,t);if(!n)return e+"";var r=n[0],o=n[1],i=o-(cB=3*Math.max(-8,Math.min(8,Math.floor(o/3))))+1,a=r.length;return i===a?r:i>a?r+new Array(i-a+1).join("0"):i>0?r.slice(0,i)+"."+r.slice(i):"0."+new Array(1-i).join("0")+sB(e,Math.max(0,t+i-1))[0]},X:e=>Math.round(e).toString(16).toUpperCase(),x:e=>Math.round(e).toString(16)};function mB(e){return e}var gB,yB,vB,bB=Array.prototype.map,xB=["y","z","a","f","p","n","µ","m","","k","M","G","T","P","E","Z","Y"];function wB(e,t,n,r){var o,i=qI(e,t,n);switch((r=dB(r??",f")).type){case"s":var a=Math.max(Math.abs(e),Math.abs(t));return null==r.precision&&!isNaN(o=function(e,t){return Math.max(0,3*Math.max(-8,Math.min(8,Math.floor(lB(t)/3)))-lB(Math.abs(e)))}(i,a))&&(r.precision=o),vB(r,a);case"":case"e":case"g":case"p":case"r":null==r.precision&&!isNaN(o=function(e,t){return e=Math.abs(e),t=Math.abs(t)-e,Math.max(0,lB(t)-lB(e))+1}(i,Math.max(Math.abs(e),Math.abs(t))))&&(r.precision=o-("e"===r.type));break;case"f":case"%":null==r.precision&&!isNaN(o=function(e){return Math.max(0,-lB(Math.abs(e)))}(i))&&(r.precision=o-2*("%"===r.type))}return yB(r)}function CB(e){var t=e.domain;return e.ticks=function(e){var n=t();return UI(n[0],n[n.length-1],e??10)},e.tickFormat=function(e,n){var r=t();return wB(r[0],r[r.length-1],e??10,n)},e.nice=function(n){null==n&&(n=10);var r,o,i=t(),a=0,s=i.length-1,l=i[a],c=i[s],u=10;for(c<l&&(o=l,l=c,c=o,o=a,a=s,s=o);u-- >0;){if((o=ZI(l,c,n))===r)return i[a]=l,i[s]=c,t(i);if(o>0)l=Math.floor(l/o)*o,c=Math.ceil(c/o)*o;else{if(!(o<0))break;l=Math.ceil(l*o)/o,c=Math.floor(c*o)/o}r=o}return e},e}function AB(){var e=aB();return e.copy=function(){return oB(e,AB())},JI.apply(e,arguments),CB(e)}function EB(e,t){var n,r=0,o=(e=e.slice()).length-1,i=e[r],a=e[o];return a<i&&(n=r,r=o,o=n,n=i,i=a,a=n),e[r]=t.floor(i),e[o]=t.ceil(a),e}function SB(e){return Math.log(e)}function kB(e){return Math.exp(e)}function _B(e){return-Math.log(-e)}function OB(e){return-Math.exp(-e)}function RB(e){return isFinite(e)?+("1e"+e):e<0?0:e}function PB(e){return(t,n)=>-e(-t,n)}function jB(e){const t=e(SB,kB),n=t.domain;let r,o,i=10;function a(){return r=function(e){return e===Math.E?Math.log:10===e&&Math.log10||2===e&&Math.log2||(e=Math.log(e),t=>Math.log(t)/e)}(i),o=function(e){return 10===e?RB:e===Math.E?Math.exp:t=>Math.pow(e,t)}(i),n()[0]<0?(r=PB(r),o=PB(o),e(_B,OB)):e(SB,kB),t}return t.base=function(e){return arguments.length?(i=+e,a()):i},t.domain=function(e){return arguments.length?(n(e),a()):n()},t.ticks=e=>{const t=n();let a=t[0],s=t[t.length-1];const l=s<a;l&&([a,s]=[s,a]);let c,u,d=r(a),f=r(s);const h=null==e?10:+e;let p=[];if(!(i%1)&&f-d<h){if(d=Math.floor(d),f=Math.ceil(f),a>0){for(;d<=f;++d)for(c=1;c<i;++c)if(u=d<0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;p.push(u)}}else for(;d<=f;++d)for(c=i-1;c>=1;--c)if(u=d>0?c/o(-d):c*o(d),!(u<a)){if(u>s)break;p.push(u)}2*p.length<h&&(p=UI(a,s,h))}else p=UI(d,f,Math.min(f-d,h)).map(o);return l?p.reverse():p},t.tickFormat=(e,n)=>{if(null==e&&(e=10),null==n&&(n=10===i?"s":","),"function"!=typeof n&&(!(i%1)&&null==(n=dB(n)).precision&&(n.trim=!0),n=yB(n)),e===1/0)return n;const a=Math.max(1,i*e/t.ticks().length);return e=>{let t=e/o(Math.round(r(e)));return t*i<i-.5&&(t*=i),t<=a?n(e):""}},t.nice=()=>n(EB(n(),{floor:e=>o(Math.floor(r(e))),ceil:e=>o(Math.ceil(r(e)))})),t}function TB(e){return function(t){return Math.sign(t)*Math.log1p(Math.abs(t/e))}}function MB(e){return function(t){return Math.sign(t)*Math.expm1(Math.abs(t))*e}}function NB(e){var t=1,n=e(TB(t),MB(t));return n.constant=function(n){return arguments.length?e(TB(t=+n),MB(t)):t},CB(n)}function LB(e){return function(t){return t<0?-Math.pow(-t,e):Math.pow(t,e)}}function DB(e){return e<0?-Math.sqrt(-e):Math.sqrt(e)}function IB(e){return e<0?-e*e:e*e}function FB(e){var t=e(eB,eB),n=1;return t.exponent=function(t){return arguments.length?1==(n=+t)?e(eB,eB):.5===n?e(DB,IB):e(LB(n),LB(1/n)):n},CB(t)}function BB(){var e=FB(iB());return e.copy=function(){return oB(e,BB()).exponent(e.exponent())},JI.apply(e,arguments),e}function zB(e){return Math.sign(e)*e*e}gB=function(e){var t=void 0===e.grouping||void 0===e.thousands?mB:function(e,t){return function(n,r){for(var o=n.length,i=[],a=0,s=e[0],l=0;o>0&&s>0&&(l+s+1>r&&(s=Math.max(1,r-l)),i.push(n.substring(o-=s,o+s)),!((l+=s+1)>r));)s=e[a=(a+1)%e.length];return i.reverse().join(t)}}(bB.call(e.grouping,Number),e.thousands+""),n=void 0===e.currency?"":e.currency[0]+"",r=void 0===e.currency?"":e.currency[1]+"",o=void 0===e.decimal?".":e.decimal+"",i=void 0===e.numerals?mB:function(e){return function(t){return t.replace(/[0-9]/g,(function(t){return e[+t]}))}}(bB.call(e.numerals,String)),a=void 0===e.percent?"%":e.percent+"",s=void 0===e.minus?"−":e.minus+"",l=void 0===e.nan?"NaN":e.nan+"";function c(e){var c=(e=dB(e)).fill,u=e.align,d=e.sign,f=e.symbol,h=e.zero,p=e.width,m=e.comma,g=e.precision,y=e.trim,v=e.type;"n"===v?(m=!0,v="g"):pB[v]||(void 0===g&&(g=12),y=!0,v="g"),(h||"0"===c&&"="===u)&&(h=!0,c="0",u="=");var b="$"===f?n:"#"===f&&/[boxX]/.test(v)?"0"+v.toLowerCase():"",x="$"===f?r:/[%p]/.test(v)?a:"",w=pB[v],C=/[defgprs%]/.test(v);function A(e){var n,r,a,f=b,A=x;if("c"===v)A=w(e)+A,e="";else{var E=(e=+e)<0||1/e<0;if(e=isNaN(e)?l:w(Math.abs(e),g),y&&(e=function(e){e:for(var t,n=e.length,r=1,o=-1;r<n;++r)switch(e[r]){case".":o=t=r;break;case"0":0===o&&(o=r),t=r;break;default:if(!+e[r])break e;o>0&&(o=0)}return o>0?e.slice(0,o)+e.slice(t+1):e}(e)),E&&0==+e&&"+"!==d&&(E=!1),f=(E?"("===d?d:s:"-"===d||"("===d?"":d)+f,A=("s"===v?xB[8+cB/3]:"")+A+(E&&"("===d?")":""),C)for(n=-1,r=e.length;++n<r;)if(48>(a=e.charCodeAt(n))||a>57){A=(46===a?o+e.slice(n+1):e.slice(n))+A,e=e.slice(0,n);break}}m&&!h&&(e=t(e,1/0));var S=f.length+e.length+A.length,k=S<p?new Array(p-S+1).join(c):"";switch(m&&h&&(e=t(k+e,k.length?p-A.length:1/0),k=""),u){case"<":e=f+e+A+k;break;case"=":e=f+k+e+A;break;case"^":e=k.slice(0,S=k.length>>1)+f+e+A+k.slice(S);break;default:e=k+f+e+A}return i(e)}return g=void 0===g?6:/[gprs]/.test(v)?Math.max(1,Math.min(21,g)):Math.max(0,Math.min(20,g)),A.toString=function(){return e+""},A}return{format:c,formatPrefix:function(e,t){var n=c(((e=dB(e)).type="f",e)),r=3*Math.max(-8,Math.min(8,Math.floor(lB(t)/3))),o=Math.pow(10,-r),i=xB[8+r/3];return function(e){return n(o*e)+i}}}}({thousands:",",grouping:[3],currency:["$",""]}),yB=gB.format,vB=gB.formatPrefix;const VB=new Date,HB=new Date;function WB(e,t,n,r){function o(t){return e(t=0===arguments.length?new Date:new Date(+t)),t}return o.floor=t=>(e(t=new Date(+t)),t),o.ceil=n=>(e(n=new Date(n-1)),t(n,1),e(n),n),o.round=e=>{const t=o(e),n=o.ceil(e);return e-t<n-e?t:n},o.offset=(e,n)=>(t(e=new Date(+e),null==n?1:Math.floor(n)),e),o.range=(n,r,i)=>{const a=[];if(n=o.ceil(n),i=null==i?1:Math.floor(i),!(n<r&&i>0))return a;let s;do{a.push(s=new Date(+n)),t(n,i),e(n)}while(s<n&&n<r);return a},o.filter=n=>WB((t=>{if(t>=t)for(;e(t),!n(t);)t.setTime(t-1)}),((e,r)=>{if(e>=e)if(r<0)for(;++r<=0;)for(;t(e,-1),!n(e););else for(;--r>=0;)for(;t(e,1),!n(e););})),n&&(o.count=(t,r)=>(VB.setTime(+t),HB.setTime(+r),e(VB),e(HB),Math.floor(n(VB,HB))),o.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?o.filter(r?t=>r(t)%e==0:t=>o.count(0,t)%e==0):o:null)),o}const UB=WB((()=>{}),((e,t)=>{e.setTime(+e+t)}),((e,t)=>t-e));UB.every=e=>(e=Math.floor(e),isFinite(e)&&e>0?e>1?WB((t=>{t.setTime(Math.floor(t/e)*e)}),((t,n)=>{t.setTime(+t+n*e)}),((t,n)=>(n-t)/e)):UB:null),UB.range;const ZB=1e3,qB=6e4,YB=60*qB,KB=24*YB,QB=7*KB,GB=30*KB,XB=365*KB,JB=WB((e=>{e.setTime(e-e.getMilliseconds())}),((e,t)=>{e.setTime(+e+t*ZB)}),((e,t)=>(t-e)/ZB),(e=>e.getUTCSeconds()));JB.range;const $B=WB((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZB)}),((e,t)=>{e.setTime(+e+t*qB)}),((e,t)=>(t-e)/qB),(e=>e.getMinutes()));$B.range;const ez=WB((e=>{e.setUTCSeconds(0,0)}),((e,t)=>{e.setTime(+e+t*qB)}),((e,t)=>(t-e)/qB),(e=>e.getUTCMinutes()));ez.range;const tz=WB((e=>{e.setTime(e-e.getMilliseconds()-e.getSeconds()*ZB-e.getMinutes()*qB)}),((e,t)=>{e.setTime(+e+t*YB)}),((e,t)=>(t-e)/YB),(e=>e.getHours()));tz.range;const nz=WB((e=>{e.setUTCMinutes(0,0,0)}),((e,t)=>{e.setTime(+e+t*YB)}),((e,t)=>(t-e)/YB),(e=>e.getUTCHours()));nz.range;const rz=WB((e=>e.setHours(0,0,0,0)),((e,t)=>e.setDate(e.getDate()+t)),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*qB)/KB),(e=>e.getDate()-1));rz.range;const oz=WB((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/KB),(e=>e.getUTCDate()-1));oz.range;const iz=WB((e=>{e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+t)}),((e,t)=>(t-e)/KB),(e=>Math.floor(e/KB)));function az(e){return WB((t=>{t.setDate(t.getDate()-(t.getDay()+7-e)%7),t.setHours(0,0,0,0)}),((e,t)=>{e.setDate(e.getDate()+7*t)}),((e,t)=>(t-e-(t.getTimezoneOffset()-e.getTimezoneOffset())*qB)/QB))}iz.range;const sz=az(0),lz=az(1),cz=az(2),uz=az(3),dz=az(4),fz=az(5),hz=az(6);function pz(e){return WB((t=>{t.setUTCDate(t.getUTCDate()-(t.getUTCDay()+7-e)%7),t.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCDate(e.getUTCDate()+7*t)}),((e,t)=>(t-e)/QB))}sz.range,lz.range,cz.range,uz.range,dz.range,fz.range,hz.range;const mz=pz(0),gz=pz(1),yz=pz(2),vz=pz(3),bz=pz(4),xz=pz(5),wz=pz(6);mz.range,gz.range,yz.range,vz.range,bz.range,xz.range,wz.range;const Cz=WB((e=>{e.setDate(1),e.setHours(0,0,0,0)}),((e,t)=>{e.setMonth(e.getMonth()+t)}),((e,t)=>t.getMonth()-e.getMonth()+12*(t.getFullYear()-e.getFullYear())),(e=>e.getMonth()));Cz.range;const Az=WB((e=>{e.setUTCDate(1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCMonth(e.getUTCMonth()+t)}),((e,t)=>t.getUTCMonth()-e.getUTCMonth()+12*(t.getUTCFullYear()-e.getUTCFullYear())),(e=>e.getUTCMonth()));Az.range;const Ez=WB((e=>{e.setMonth(0,1),e.setHours(0,0,0,0)}),((e,t)=>{e.setFullYear(e.getFullYear()+t)}),((e,t)=>t.getFullYear()-e.getFullYear()),(e=>e.getFullYear()));Ez.every=e=>isFinite(e=Math.floor(e))&&e>0?WB((t=>{t.setFullYear(Math.floor(t.getFullYear()/e)*e),t.setMonth(0,1),t.setHours(0,0,0,0)}),((t,n)=>{t.setFullYear(t.getFullYear()+n*e)})):null,Ez.range;const Sz=WB((e=>{e.setUTCMonth(0,1),e.setUTCHours(0,0,0,0)}),((e,t)=>{e.setUTCFullYear(e.getUTCFullYear()+t)}),((e,t)=>t.getUTCFullYear()-e.getUTCFullYear()),(e=>e.getUTCFullYear()));function kz(e,t,n,r,o,i){const a=[[JB,1,ZB],[JB,5,5e3],[JB,15,15e3],[JB,30,3e4],[i,1,qB],[i,5,5*qB],[i,15,15*qB],[i,30,30*qB],[o,1,YB],[o,3,3*YB],[o,6,6*YB],[o,12,12*YB],[r,1,KB],[r,2,2*KB],[n,1,QB],[t,1,GB],[t,3,3*GB],[e,1,XB]];function s(t,n,r){const o=Math.abs(n-t)/r,i=TI((([,,e])=>e)).right(a,o);if(i===a.length)return e.every(qI(t/XB,n/XB,r));if(0===i)return UB.every(Math.max(qI(t,n,r),1));const[s,l]=a[o/a[i-1][2]<a[i][2]/o?i-1:i];return s.every(l)}return[function(e,t,n){const r=t<e;r&&([e,t]=[t,e]);const o=n&&"function"==typeof n.range?n:s(e,t,n),i=o?o.range(e,+t+1):[];return r?i.reverse():i},s]}Sz.every=e=>isFinite(e=Math.floor(e))&&e>0?WB((t=>{t.setUTCFullYear(Math.floor(t.getUTCFullYear()/e)*e),t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0)}),((t,n)=>{t.setUTCFullYear(t.getUTCFullYear()+n*e)})):null,Sz.range;const[_z,Oz]=kz(Sz,Az,mz,iz,nz,ez),[Rz,Pz]=kz(Ez,Cz,sz,rz,tz,$B);function jz(e){if(0<=e.y&&e.y<100){var t=new Date(-1,e.m,e.d,e.H,e.M,e.S,e.L);return t.setFullYear(e.y),t}return new Date(e.y,e.m,e.d,e.H,e.M,e.S,e.L)}function Tz(e){if(0<=e.y&&e.y<100){var t=new Date(Date.UTC(-1,e.m,e.d,e.H,e.M,e.S,e.L));return t.setUTCFullYear(e.y),t}return new Date(Date.UTC(e.y,e.m,e.d,e.H,e.M,e.S,e.L))}function Mz(e,t,n){return{y:e,m:t,d:n,H:0,M:0,S:0,L:0}}var Nz,Lz,Dz,Iz={"-":"",_:" ",0:"0"},Fz=/^\s*\d+/,Bz=/^%/,zz=/[\\^$*+?|[\]().{}]/g;function Vz(e,t,n){var r=e<0?"-":"",o=(r?-e:e)+"",i=o.length;return r+(i<n?new Array(n-i+1).join(t)+o:o)}function Hz(e){return e.replace(zz,"\\$&")}function Wz(e){return new RegExp("^(?:"+e.map(Hz).join("|")+")","i")}function Uz(e){return new Map(e.map(((e,t)=>[e.toLowerCase(),t])))}function Zz(e,t,n){var r=Fz.exec(t.slice(n,n+1));return r?(e.w=+r[0],n+r[0].length):-1}function qz(e,t,n){var r=Fz.exec(t.slice(n,n+1));return r?(e.u=+r[0],n+r[0].length):-1}function Yz(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.U=+r[0],n+r[0].length):-1}function Kz(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.V=+r[0],n+r[0].length):-1}function Qz(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.W=+r[0],n+r[0].length):-1}function Gz(e,t,n){var r=Fz.exec(t.slice(n,n+4));return r?(e.y=+r[0],n+r[0].length):-1}function Xz(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.y=+r[0]+(+r[0]>68?1900:2e3),n+r[0].length):-1}function Jz(e,t,n){var r=/^(Z)|([+-]\d\d)(?::?(\d\d))?/.exec(t.slice(n,n+6));return r?(e.Z=r[1]?0:-(r[2]+(r[3]||"00")),n+r[0].length):-1}function $z(e,t,n){var r=Fz.exec(t.slice(n,n+1));return r?(e.q=3*r[0]-3,n+r[0].length):-1}function eV(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.m=r[0]-1,n+r[0].length):-1}function tV(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.d=+r[0],n+r[0].length):-1}function nV(e,t,n){var r=Fz.exec(t.slice(n,n+3));return r?(e.m=0,e.d=+r[0],n+r[0].length):-1}function rV(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.H=+r[0],n+r[0].length):-1}function oV(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.M=+r[0],n+r[0].length):-1}function iV(e,t,n){var r=Fz.exec(t.slice(n,n+2));return r?(e.S=+r[0],n+r[0].length):-1}function aV(e,t,n){var r=Fz.exec(t.slice(n,n+3));return r?(e.L=+r[0],n+r[0].length):-1}function sV(e,t,n){var r=Fz.exec(t.slice(n,n+6));return r?(e.L=Math.floor(r[0]/1e3),n+r[0].length):-1}function lV(e,t,n){var r=Bz.exec(t.slice(n,n+1));return r?n+r[0].length:-1}function cV(e,t,n){var r=Fz.exec(t.slice(n));return r?(e.Q=+r[0],n+r[0].length):-1}function uV(e,t,n){var r=Fz.exec(t.slice(n));return r?(e.s=+r[0],n+r[0].length):-1}function dV(e,t){return Vz(e.getDate(),t,2)}function fV(e,t){return Vz(e.getHours(),t,2)}function hV(e,t){return Vz(e.getHours()%12||12,t,2)}function pV(e,t){return Vz(1+rz.count(Ez(e),e),t,3)}function mV(e,t){return Vz(e.getMilliseconds(),t,3)}function gV(e,t){return mV(e,t)+"000"}function yV(e,t){return Vz(e.getMonth()+1,t,2)}function vV(e,t){return Vz(e.getMinutes(),t,2)}function bV(e,t){return Vz(e.getSeconds(),t,2)}function xV(e){var t=e.getDay();return 0===t?7:t}function wV(e,t){return Vz(sz.count(Ez(e)-1,e),t,2)}function CV(e){var t=e.getDay();return t>=4||0===t?dz(e):dz.ceil(e)}function AV(e,t){return e=CV(e),Vz(dz.count(Ez(e),e)+(4===Ez(e).getDay()),t,2)}function EV(e){return e.getDay()}function SV(e,t){return Vz(lz.count(Ez(e)-1,e),t,2)}function kV(e,t){return Vz(e.getFullYear()%100,t,2)}function _V(e,t){return Vz((e=CV(e)).getFullYear()%100,t,2)}function OV(e,t){return Vz(e.getFullYear()%1e4,t,4)}function RV(e,t){var n=e.getDay();return Vz((e=n>=4||0===n?dz(e):dz.ceil(e)).getFullYear()%1e4,t,4)}function PV(e){var t=e.getTimezoneOffset();return(t>0?"-":(t*=-1,"+"))+Vz(t/60|0,"0",2)+Vz(t%60,"0",2)}function jV(e,t){return Vz(e.getUTCDate(),t,2)}function TV(e,t){return Vz(e.getUTCHours(),t,2)}function MV(e,t){return Vz(e.getUTCHours()%12||12,t,2)}function NV(e,t){return Vz(1+oz.count(Sz(e),e),t,3)}function LV(e,t){return Vz(e.getUTCMilliseconds(),t,3)}function DV(e,t){return LV(e,t)+"000"}function IV(e,t){return Vz(e.getUTCMonth()+1,t,2)}function FV(e,t){return Vz(e.getUTCMinutes(),t,2)}function BV(e,t){return Vz(e.getUTCSeconds(),t,2)}function zV(e){var t=e.getUTCDay();return 0===t?7:t}function VV(e,t){return Vz(mz.count(Sz(e)-1,e),t,2)}function HV(e){var t=e.getUTCDay();return t>=4||0===t?bz(e):bz.ceil(e)}function WV(e,t){return e=HV(e),Vz(bz.count(Sz(e),e)+(4===Sz(e).getUTCDay()),t,2)}function UV(e){return e.getUTCDay()}function ZV(e,t){return Vz(gz.count(Sz(e)-1,e),t,2)}function qV(e,t){return Vz(e.getUTCFullYear()%100,t,2)}function YV(e,t){return Vz((e=HV(e)).getUTCFullYear()%100,t,2)}function KV(e,t){return Vz(e.getUTCFullYear()%1e4,t,4)}function QV(e,t){var n=e.getUTCDay();return Vz((e=n>=4||0===n?bz(e):bz.ceil(e)).getUTCFullYear()%1e4,t,4)}function GV(){return"+0000"}function XV(){return"%"}function JV(e){return+e}function $V(e){return Math.floor(+e/1e3)}function eH(e){return new Date(e)}function tH(e){return e instanceof Date?+e:+new Date(+e)}function nH(e,t,n,r,o,i,a,s,l,c){var u=aB(),d=u.invert,f=u.domain,h=c(".%L"),p=c(":%S"),m=c("%I:%M"),g=c("%I %p"),y=c("%a %d"),v=c("%b %d"),b=c("%B"),x=c("%Y");function w(e){return(l(e)<e?h:s(e)<e?p:a(e)<e?m:i(e)<e?g:r(e)<e?o(e)<e?y:v:n(e)<e?b:x)(e)}return u.invert=function(e){return new Date(d(e))},u.domain=function(e){return arguments.length?f(Array.from(e,tH)):f().map(eH)},u.ticks=function(t){var n=f();return e(n[0],n[n.length-1],t??10)},u.tickFormat=function(e,t){return null==t?w:c(t)},u.nice=function(e){var n=f();return(!e||"function"!=typeof e.range)&&(e=t(n[0],n[n.length-1],e??10)),e?f(EB(n,e)):u},u.copy=function(){return oB(u,nH(e,t,n,r,o,i,a,s,l,c))},u}function rH(){var e,t,n,r,o,i=0,a=1,s=eB,l=!1;function c(t){return null==t||isNaN(t=+t)?o:s(0===n?.5:(t=(r(t)-e)*n,l?Math.max(0,Math.min(1,t)):t))}function u(e){return function(t){var n,r;return arguments.length?([n,r]=t,s=e(n,r),c):[s(0),s(1)]}}return c.domain=function(o){return arguments.length?([i,a]=o,e=r(i=+i),t=r(a=+a),n=e===t?0:1/(t-e),c):[i,a]},c.clamp=function(e){return arguments.length?(l=!!e,c):l},c.interpolator=function(e){return arguments.length?(s=e,c):s},c.range=u(GF),c.rangeRound=u(XF),c.unknown=function(e){return arguments.length?(o=e,c):o},function(o){return r=o,e=o(i),t=o(a),n=e===t?0:1/(t-e),c}}function oH(e,t){return t.domain(e.domain()).interpolator(e.interpolator()).clamp(e.clamp()).unknown(e.unknown())}function iH(){var e=FB(rH());return e.copy=function(){return oH(e,iH()).exponent(e.exponent())},$I.apply(e,arguments)}function aH(){var e,t,n,r,o,i,a,s=0,l=.5,c=1,u=1,d=eB,f=!1;function h(e){return isNaN(e=+e)?a:(e=.5+((e=+i(e))-t)*(u*e<u*t?r:o),d(f?Math.max(0,Math.min(1,e)):e))}function p(e){return function(t){var n,r,o;return arguments.length?([n,r,o]=t,d=function(e,t){void 0===t&&(t=e,e=GF);for(var n=0,r=t.length-1,o=t[0],i=new Array(r<0?0:r);n<r;)i[n]=e(o,o=t[++n]);return function(e){var t=Math.max(0,Math.min(r-1,Math.floor(e*=r)));return i[t](e-t)}}(e,[n,r,o]),h):[d(0),d(.5),d(1)]}}return h.domain=function(a){return arguments.length?([s,l,c]=a,e=i(s=+s),t=i(l=+l),n=i(c=+c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,h):[s,l,c]},h.clamp=function(e){return arguments.length?(f=!!e,h):f},h.interpolator=function(e){return arguments.length?(d=e,h):d},h.range=p(GF),h.rangeRound=p(XF),h.unknown=function(e){return arguments.length?(a=e,h):a},function(a){return i=a,e=a(s),t=a(l),n=a(c),r=e===t?0:.5/(t-e),o=t===n?0:.5/(n-t),u=t<e?-1:1,h}}function sH(){var e=FB(aH());return e.copy=function(){return oH(e,sH()).exponent(e.exponent())},$I.apply(e,arguments)}Nz=function(e){var t=e.dateTime,n=e.date,r=e.time,o=e.periods,i=e.days,a=e.shortDays,s=e.months,l=e.shortMonths,c=Wz(o),u=Uz(o),d=Wz(i),f=Uz(i),h=Wz(a),p=Uz(a),m=Wz(s),g=Uz(s),y=Wz(l),v=Uz(l),b={a:function(e){return a[e.getDay()]},A:function(e){return i[e.getDay()]},b:function(e){return l[e.getMonth()]},B:function(e){return s[e.getMonth()]},c:null,d:dV,e:dV,f:gV,g:_V,G:RV,H:fV,I:hV,j:pV,L:mV,m:yV,M:vV,p:function(e){return o[+(e.getHours()>=12)]},q:function(e){return 1+~~(e.getMonth()/3)},Q:JV,s:$V,S:bV,u:xV,U:wV,V:AV,w:EV,W:SV,x:null,X:null,y:kV,Y:OV,Z:PV,"%":XV},x={a:function(e){return a[e.getUTCDay()]},A:function(e){return i[e.getUTCDay()]},b:function(e){return l[e.getUTCMonth()]},B:function(e){return s[e.getUTCMonth()]},c:null,d:jV,e:jV,f:DV,g:YV,G:QV,H:TV,I:MV,j:NV,L:LV,m:IV,M:FV,p:function(e){return o[+(e.getUTCHours()>=12)]},q:function(e){return 1+~~(e.getUTCMonth()/3)},Q:JV,s:$V,S:BV,u:zV,U:VV,V:WV,w:UV,W:ZV,x:null,X:null,y:qV,Y:KV,Z:GV,"%":XV},w={a:function(e,t,n){var r=h.exec(t.slice(n));return r?(e.w=p.get(r[0].toLowerCase()),n+r[0].length):-1},A:function(e,t,n){var r=d.exec(t.slice(n));return r?(e.w=f.get(r[0].toLowerCase()),n+r[0].length):-1},b:function(e,t,n){var r=y.exec(t.slice(n));return r?(e.m=v.get(r[0].toLowerCase()),n+r[0].length):-1},B:function(e,t,n){var r=m.exec(t.slice(n));return r?(e.m=g.get(r[0].toLowerCase()),n+r[0].length):-1},c:function(e,n,r){return E(e,t,n,r)},d:tV,e:tV,f:sV,g:Xz,G:Gz,H:rV,I:rV,j:nV,L:aV,m:eV,M:oV,p:function(e,t,n){var r=c.exec(t.slice(n));return r?(e.p=u.get(r[0].toLowerCase()),n+r[0].length):-1},q:$z,Q:cV,s:uV,S:iV,u:qz,U:Yz,V:Kz,w:Zz,W:Qz,x:function(e,t,r){return E(e,n,t,r)},X:function(e,t,n){return E(e,r,t,n)},y:Xz,Y:Gz,Z:Jz,"%":lV};function C(e,t){return function(n){var r,o,i,a=[],s=-1,l=0,c=e.length;for(n instanceof Date||(n=new Date(+n));++s<c;)37===e.charCodeAt(s)&&(a.push(e.slice(l,s)),null!=(o=Iz[r=e.charAt(++s)])?r=e.charAt(++s):o="e"===r?" ":"0",(i=t[r])&&(r=i(n,o)),a.push(r),l=s+1);return a.push(e.slice(l,s)),a.join("")}}function A(e,t){return function(n){var r,o,i=Mz(1900,void 0,1);if(E(i,e,n+="",0)!=n.length)return null;if("Q"in i)return new Date(i.Q);if("s"in i)return new Date(1e3*i.s+("L"in i?i.L:0));if(t&&!("Z"in i)&&(i.Z=0),"p"in i&&(i.H=i.H%12+12*i.p),void 0===i.m&&(i.m="q"in i?i.q:0),"V"in i){if(i.V<1||i.V>53)return null;"w"in i||(i.w=1),"Z"in i?(o=(r=Tz(Mz(i.y,0,1))).getUTCDay(),r=o>4||0===o?gz.ceil(r):gz(r),r=oz.offset(r,7*(i.V-1)),i.y=r.getUTCFullYear(),i.m=r.getUTCMonth(),i.d=r.getUTCDate()+(i.w+6)%7):(o=(r=jz(Mz(i.y,0,1))).getDay(),r=o>4||0===o?lz.ceil(r):lz(r),r=rz.offset(r,7*(i.V-1)),i.y=r.getFullYear(),i.m=r.getMonth(),i.d=r.getDate()+(i.w+6)%7)}else("W"in i||"U"in i)&&("w"in i||(i.w="u"in i?i.u%7:"W"in i?1:0),o="Z"in i?Tz(Mz(i.y,0,1)).getUTCDay():jz(Mz(i.y,0,1)).getDay(),i.m=0,i.d="W"in i?(i.w+6)%7+7*i.W-(o+5)%7:i.w+7*i.U-(o+6)%7);return"Z"in i?(i.H+=i.Z/100|0,i.M+=i.Z%100,Tz(i)):jz(i)}}function E(e,t,n,r){for(var o,i,a=0,s=t.length,l=n.length;a<s;){if(r>=l)return-1;if(37===(o=t.charCodeAt(a++))){if(o=t.charAt(a++),!(i=w[o in Iz?t.charAt(a++):o])||(r=i(e,n,r))<0)return-1}else if(o!=n.charCodeAt(r++))return-1}return r}return b.x=C(n,b),b.X=C(r,b),b.c=C(t,b),x.x=C(n,x),x.X=C(r,x),x.c=C(t,x),{format:function(e){var t=C(e+="",b);return t.toString=function(){return e},t},parse:function(e){var t=A(e+="",!1);return t.toString=function(){return e},t},utcFormat:function(e){var t=C(e+="",x);return t.toString=function(){return e},t},utcParse:function(e){var t=A(e+="",!0);return t.toString=function(){return e},t}}}({dateTime:"%x, %X",date:"%-m/%-d/%Y",time:"%-I:%M:%S %p",periods:["AM","PM"],days:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],shortDays:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"]}),Lz=Nz.format,Nz.parse,Dz=Nz.utcFormat,Nz.utcParse;const lH=Object.freeze(Object.defineProperty({__proto__:null,scaleBand:nF,scaleDiverging:function e(){var t=CB(aH()(eB));return t.copy=function(){return oH(t,e())},$I.apply(t,arguments)},scaleDivergingLog:function e(){var t=jB(aH()).domain([.1,1,10]);return t.copy=function(){return oH(t,e()).base(t.base())},$I.apply(t,arguments)},scaleDivergingPow:sH,scaleDivergingSqrt:function(){return sH.apply(null,arguments).exponent(.5)},scaleDivergingSymlog:function e(){var t=NB(aH());return t.copy=function(){return oH(t,e()).constant(t.constant())},$I.apply(t,arguments)},scaleIdentity:function e(t){var n;function r(e){return null==e||isNaN(e=+e)?n:e}return r.invert=r,r.domain=r.range=function(e){return arguments.length?(t=Array.from(e,JF),r):t.slice()},r.unknown=function(e){return arguments.length?(n=e,r):n},r.copy=function(){return e(t).unknown(n)},t=arguments.length?Array.from(t,JF):[0,1],CB(r)},scaleImplicit:eF,scaleLinear:AB,scaleLog:function e(){const t=jB(iB()).domain([1,10]);return t.copy=()=>oB(t,e()).base(t.base()),JI.apply(t,arguments),t},scaleOrdinal:tF,scalePoint:oF,scalePow:BB,scaleQuantile:function e(){var t,n=[],r=[],o=[];function i(){var e=0,t=Math.max(1,r.length);for(o=new Array(t-1);++e<t;)o[e-1]=XI(n,e/t);return a}function a(e){return null==e||isNaN(e=+e)?t:r[LI(o,e)]}return a.invertExtent=function(e){var t=r.indexOf(e);return t<0?[NaN,NaN]:[t>0?o[t-1]:n[0],t<o.length?o[t]:n[n.length-1]]},a.domain=function(e){if(!arguments.length)return n.slice();n=[];for(let t of e)null!=t&&!isNaN(t=+t)&&n.push(t);return n.sort(PI),i()},a.range=function(e){return arguments.length?(r=Array.from(e),i()):r.slice()},a.unknown=function(e){return arguments.length?(t=e,a):t},a.quantiles=function(){return o.slice()},a.copy=function(){return e().domain(n).range(r).unknown(t)},JI.apply(a,arguments)},scaleQuantize:function e(){var t,n=0,r=1,o=1,i=[.5],a=[0,1];function s(e){return null!=e&&e<=e?a[LI(i,e,0,o)]:t}function l(){var e=-1;for(i=new Array(o);++e<o;)i[e]=((e+1)*r-(e-o)*n)/(o+1);return s}return s.domain=function(e){return arguments.length?([n,r]=e,n=+n,r=+r,l()):[n,r]},s.range=function(e){return arguments.length?(o=(a=Array.from(e)).length-1,l()):a.slice()},s.invertExtent=function(e){var t=a.indexOf(e);return t<0?[NaN,NaN]:t<1?[n,i[0]]:t>=o?[i[o-1],r]:[i[t-1],i[t]]},s.unknown=function(e){return arguments.length&&(t=e),s},s.thresholds=function(){return i.slice()},s.copy=function(){return e().domain([n,r]).range(a).unknown(t)},JI.apply(CB(s),arguments)},scaleRadial:function e(){var t,n=aB(),r=[0,1],o=!1;function i(e){var r=function(e){return Math.sign(e)*Math.sqrt(Math.abs(e))}(n(e));return isNaN(r)?t:o?Math.round(r):r}return i.invert=function(e){return n.invert(zB(e))},i.domain=function(e){return arguments.length?(n.domain(e),i):n.domain()},i.range=function(e){return arguments.length?(n.range((r=Array.from(e,JF)).map(zB)),i):r.slice()},i.rangeRound=function(e){return i.range(e).round(!0)},i.round=function(e){return arguments.length?(o=!!e,i):o},i.clamp=function(e){return arguments.length?(n.clamp(e),i):n.clamp()},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e(n.domain(),r).round(o).clamp(n.clamp()).unknown(t)},JI.apply(i,arguments),CB(i)},scaleSequential:function e(){var t=CB(rH()(eB));return t.copy=function(){return oH(t,e())},$I.apply(t,arguments)},scaleSequentialLog:function e(){var t=jB(rH()).domain([1,10]);return t.copy=function(){return oH(t,e()).base(t.base())},$I.apply(t,arguments)},scaleSequentialPow:iH,scaleSequentialQuantile:function e(){var t=[],n=eB;function r(e){if(null!=e&&!isNaN(e=+e))return n((LI(t,e,1)-1)/(t.length-1))}return r.domain=function(e){if(!arguments.length)return t.slice();t=[];for(let n of e)null!=n&&!isNaN(n=+n)&&t.push(n);return t.sort(PI),r},r.interpolator=function(e){return arguments.length?(n=e,r):n},r.range=function(){return t.map(((e,r)=>n(r/(t.length-1))))},r.quantiles=function(e){return Array.from({length:e+1},((n,r)=>function(e,t){if(e=Float64Array.from(function*(e){for(let t of e)null!=t&&(t=+t)>=t&&(yield t)}(e)),(n=e.length)&&!isNaN(t=+t)){if(t<=0||n<2)return KI(e);if(t>=1)return YI(e);var n,r=(n-1)*t,o=Math.floor(r),i=YI(QI(e,o).subarray(0,o+1));return i+(KI(e.subarray(o+1))-i)*(r-o)}}(t,r/e)))},r.copy=function(){return e(n).domain(t)},$I.apply(r,arguments)},scaleSequentialSqrt:function(){return iH.apply(null,arguments).exponent(.5)},scaleSequentialSymlog:function e(){var t=NB(rH());return t.copy=function(){return oH(t,e()).constant(t.constant())},$I.apply(t,arguments)},scaleSqrt:function(){return BB.apply(null,arguments).exponent(.5)},scaleSymlog:function e(){var t=NB(iB());return t.copy=function(){return oB(t,e()).constant(t.constant())},JI.apply(t,arguments)},scaleThreshold:function e(){var t,n=[.5],r=[0,1],o=1;function i(e){return null!=e&&e<=e?r[LI(n,e,0,o)]:t}return i.domain=function(e){return arguments.length?(n=Array.from(e),o=Math.min(n.length,r.length-1),i):n.slice()},i.range=function(e){return arguments.length?(r=Array.from(e),o=Math.min(n.length,r.length-1),i):r.slice()},i.invertExtent=function(e){var t=r.indexOf(e);return[n[t-1],n[t]]},i.unknown=function(e){return arguments.length?(t=e,i):t},i.copy=function(){return e().domain(n).range(r).unknown(t)},JI.apply(i,arguments)},scaleTime:function(){return JI.apply(nH(Rz,Pz,Ez,Cz,sz,rz,tz,$B,JB,Lz).domain([new Date(2e3,0,1),new Date(2e3,0,2)]),arguments)},scaleUtc:function(){return JI.apply(nH(_z,Oz,Sz,Az,mz,oz,nz,ez,JB,Dz).domain([Date.UTC(2e3,0,1),Date.UTC(2e3,0,2)]),arguments)},tickFormat:wB},Symbol.toStringTag,{value:"Module"}));var cH=xk,uH=function(e,t,n){for(var r=-1,o=e.length;++r<o;){var i=e[r],a=t(i);if(null!=a&&(void 0===s?a==a&&!cH(a):n(a,s)))var s=a,l=i}return l},dH=function(e,t){return e>t},fH=uH,hH=dH,pH=oN,mH=function(e){return e&&e.length?fH(e,pH,hH):void 0};const gH=qe(mH);var yH=function(e,t){return e<t},vH=uH,bH=yH,xH=oN,wH=function(e){return e&&e.length?vH(e,xH,bH):void 0};const CH=qe(wH);var AH=Q_,EH=mN,SH=iL,kH=tk,_H=XN,OH=function(e,t){return(kH(e)?AH:SH)(e,EH(t))},RH=function(e,t){return _H(OH(e,t),1)};const PH=qe(RH);var jH=TM,TH=function(e,t){return jH(e,t)};const MH=qe(TH);var NH,LH=1e9,DH=!0,IH="[DecimalError] ",FH=IH+"Invalid argument: ",BH=IH+"Exponent out of range: ",zH=Math.floor,VH=Math.pow,HH=/^(\d+(\.\d*)?|\.\d+)(e[+-]?\d+)?$/i,WH=1e7,UH=9007199254740991,ZH=zH(UH/7),qH={};function YH(e,t){var n,r,o,i,a,s,l,c,u=e.constructor,d=u.precision;if(!e.s||!t.s)return t.s||(t=new u(e)),DH?rW(t,d):t;if(l=e.d,c=t.d,a=e.e,o=t.e,l=l.slice(),i=a-o){for(i<0?(r=l,i=-i,s=c.length):(r=c,o=a,s=l.length),i>(s=(a=Math.ceil(d/7))>s?a+1:s+1)&&(i=s,r.length=1),r.reverse();i--;)r.push(0);r.reverse()}for((s=l.length)-(i=c.length)<0&&(i=s,r=c,c=l,l=r),n=0;i;)n=(l[--i]=l[i]+c[i]+n)/WH|0,l[i]%=WH;for(n&&(l.unshift(n),++o),s=l.length;0==l[--s];)l.pop();return t.d=l,t.e=o,DH?rW(t,d):t}function KH(e,t,n){if(e!==~~e||e<t||e>n)throw Error(FH+e)}function QH(e){var t,n,r,o=e.length-1,i="",a=e[0];if(o>0){for(i+=a,t=1;t<o;t++)(n=7-(r=e[t]+"").length)&&(i+=eW(n)),i+=r;(n=7-(r=(a=e[t])+"").length)&&(i+=eW(n))}else if(0===a)return"0";for(;a%10==0;)a/=10;return i+a}qH.absoluteValue=qH.abs=function(){var e=new this.constructor(this);return e.s&&(e.s=1),e},qH.comparedTo=qH.cmp=function(e){var t,n,r,o,i=this;if(e=new i.constructor(e),i.s!==e.s)return i.s||-e.s;if(i.e!==e.e)return i.e>e.e^i.s<0?1:-1;for(t=0,n=(r=i.d.length)<(o=e.d.length)?r:o;t<n;++t)if(i.d[t]!==e.d[t])return i.d[t]>e.d[t]^i.s<0?1:-1;return r===o?0:r>o^i.s<0?1:-1},qH.decimalPlaces=qH.dp=function(){var e=this,t=e.d.length-1,n=7*(t-e.e);if(t=e.d[t])for(;t%10==0;t/=10)n--;return n<0?0:n},qH.dividedBy=qH.div=function(e){return GH(this,new this.constructor(e))},qH.dividedToIntegerBy=qH.idiv=function(e){var t=this.constructor;return rW(GH(this,new t(e),0,1),t.precision)},qH.equals=qH.eq=function(e){return!this.cmp(e)},qH.exponent=function(){return JH(this)},qH.greaterThan=qH.gt=function(e){return this.cmp(e)>0},qH.greaterThanOrEqualTo=qH.gte=function(e){return this.cmp(e)>=0},qH.isInteger=qH.isint=function(){return this.e>this.d.length-2},qH.isNegative=qH.isneg=function(){return this.s<0},qH.isPositive=qH.ispos=function(){return this.s>0},qH.isZero=function(){return 0===this.s},qH.lessThan=qH.lt=function(e){return this.cmp(e)<0},qH.lessThanOrEqualTo=qH.lte=function(e){return this.cmp(e)<1},qH.logarithm=qH.log=function(e){var t,n=this,r=n.constructor,o=r.precision,i=o+5;if(void 0===e)e=new r(10);else if((e=new r(e)).s<1||e.eq(NH))throw Error(IH+"NaN");if(n.s<1)throw Error(IH+(n.s?"NaN":"-Infinity"));return n.eq(NH)?new r(0):(DH=!1,t=GH(tW(n,i),tW(e,i),i),DH=!0,rW(t,o))},qH.minus=qH.sub=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?oW(t,e):YH(t,(e.s=-e.s,e))},qH.modulo=qH.mod=function(e){var t,n=this,r=n.constructor,o=r.precision;if(!(e=new r(e)).s)throw Error(IH+"NaN");return n.s?(DH=!1,t=GH(n,e,0,1).times(e),DH=!0,n.minus(t)):rW(new r(n),o)},qH.naturalExponential=qH.exp=function(){return XH(this)},qH.naturalLogarithm=qH.ln=function(){return tW(this)},qH.negated=qH.neg=function(){var e=new this.constructor(this);return e.s=-e.s||0,e},qH.plus=qH.add=function(e){var t=this;return e=new t.constructor(e),t.s==e.s?YH(t,e):oW(t,(e.s=-e.s,e))},qH.precision=qH.sd=function(e){var t,n,r,o=this;if(void 0!==e&&e!==!!e&&1!==e&&0!==e)throw Error(FH+e);if(t=JH(o)+1,n=7*(r=o.d.length-1)+1,r=o.d[r]){for(;r%10==0;r/=10)n--;for(r=o.d[0];r>=10;r/=10)n++}return e&&t>n?t:n},qH.squareRoot=qH.sqrt=function(){var e,t,n,r,o,i,a,s=this,l=s.constructor;if(s.s<1){if(!s.s)return new l(0);throw Error(IH+"NaN")}for(e=JH(s),DH=!1,0==(o=Math.sqrt(+s))||o==1/0?(((t=QH(s.d)).length+e)%2==0&&(t+="0"),o=Math.sqrt(t),e=zH((e+1)/2)-(e<0||e%2),r=new l(t=o==1/0?"5e"+e:(t=o.toExponential()).slice(0,t.indexOf("e")+1)+e)):r=new l(o.toString()),o=a=(n=l.precision)+3;;)if(r=(i=r).plus(GH(s,i,a+2)).times(.5),QH(i.d).slice(0,a)===(t=QH(r.d)).slice(0,a)){if(t=t.slice(a-3,a+1),o==a&&"4999"==t){if(rW(i,n+1,0),i.times(i).eq(s)){r=i;break}}else if("9999"!=t)break;a+=4}return DH=!0,rW(r,n)},qH.times=qH.mul=function(e){var t,n,r,o,i,a,s,l,c,u=this,d=u.constructor,f=u.d,h=(e=new d(e)).d;if(!u.s||!e.s)return new d(0);for(e.s*=u.s,n=u.e+e.e,(l=f.length)<(c=h.length)&&(i=f,f=h,h=i,a=l,l=c,c=a),i=[],r=a=l+c;r--;)i.push(0);for(r=c;--r>=0;){for(t=0,o=l+r;o>r;)s=i[o]+h[r]*f[o-r-1]+t,i[o--]=s%WH|0,t=s/WH|0;i[o]=(i[o]+t)%WH|0}for(;!i[--a];)i.pop();return t?++n:i.shift(),e.d=i,e.e=n,DH?rW(e,d.precision):e},qH.toDecimalPlaces=qH.todp=function(e,t){var n=this,r=n.constructor;return n=new r(n),void 0===e?n:(KH(e,0,LH),void 0===t?t=r.rounding:KH(t,0,8),rW(n,e+JH(n)+1,t))},qH.toExponential=function(e,t){var n,r=this,o=r.constructor;return void 0===e?n=iW(r,!0):(KH(e,0,LH),void 0===t?t=o.rounding:KH(t,0,8),n=iW(r=rW(new o(r),e+1,t),!0,e+1)),n},qH.toFixed=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?iW(o):(KH(e,0,LH),void 0===t?t=i.rounding:KH(t,0,8),n=iW((r=rW(new i(o),e+JH(o)+1,t)).abs(),!1,e+JH(r)+1),o.isneg()&&!o.isZero()?"-"+n:n)},qH.toInteger=qH.toint=function(){var e=this,t=e.constructor;return rW(new t(e),JH(e)+1,t.rounding)},qH.toNumber=function(){return+this},qH.toPower=qH.pow=function(e){var t,n,r,o,i,a,s=this,l=s.constructor,c=+(e=new l(e));if(!e.s)return new l(NH);if(!(s=new l(s)).s){if(e.s<1)throw Error(IH+"Infinity");return s}if(s.eq(NH))return s;if(r=l.precision,e.eq(NH))return rW(s,r);if(a=(t=e.e)>=(n=e.d.length-1),i=s.s,a){if((n=c<0?-c:c)<=UH){for(o=new l(NH),t=Math.ceil(r/7+4),DH=!1;n%2&&aW((o=o.times(s)).d,t),0!==(n=zH(n/2));)aW((s=s.times(s)).d,t);return DH=!0,e.s<0?new l(NH).div(o):rW(o,r)}}else if(i<0)throw Error(IH+"NaN");return i=i<0&&1&e.d[Math.max(t,n)]?-1:1,s.s=1,DH=!1,o=e.times(tW(s,r+12)),DH=!0,(o=XH(o)).s=i,o},qH.toPrecision=function(e,t){var n,r,o=this,i=o.constructor;return void 0===e?r=iW(o,(n=JH(o))<=i.toExpNeg||n>=i.toExpPos):(KH(e,1,LH),void 0===t?t=i.rounding:KH(t,0,8),r=iW(o=rW(new i(o),e,t),e<=(n=JH(o))||n<=i.toExpNeg,e)),r},qH.toSignificantDigits=qH.tosd=function(e,t){var n=this.constructor;return void 0===e?(e=n.precision,t=n.rounding):(KH(e,1,LH),void 0===t?t=n.rounding:KH(t,0,8)),rW(new n(this),e,t)},qH.toString=qH.valueOf=qH.val=qH.toJSON=qH[Symbol.for("nodejs.util.inspect.custom")]=function(){var e=this,t=JH(e),n=e.constructor;return iW(e,t<=n.toExpNeg||t>=n.toExpPos)};var GH=function(){function e(e,t){var n,r=0,o=e.length;for(e=e.slice();o--;)n=e[o]*t+r,e[o]=n%WH|0,r=n/WH|0;return r&&e.unshift(r),e}function t(e,t,n,r){var o,i;if(n!=r)i=n>r?1:-1;else for(o=i=0;o<n;o++)if(e[o]!=t[o]){i=e[o]>t[o]?1:-1;break}return i}function n(e,t,n){for(var r=0;n--;)e[n]-=r,r=e[n]<t[n]?1:0,e[n]=r*WH+e[n]-t[n];for(;!e[0]&&e.length>1;)e.shift()}return function(r,o,i,a){var s,l,c,u,d,f,h,p,m,g,y,v,b,x,w,C,A,E,S=r.constructor,k=r.s==o.s?1:-1,_=r.d,O=o.d;if(!r.s)return new S(r);if(!o.s)throw Error(IH+"Division by zero");for(l=r.e-o.e,A=O.length,w=_.length,p=(h=new S(k)).d=[],c=0;O[c]==(_[c]||0);)++c;if(O[c]>(_[c]||0)&&--l,(v=null==i?i=S.precision:a?i+(JH(r)-JH(o))+1:i)<0)return new S(0);if(v=v/7+2|0,c=0,1==A)for(u=0,O=O[0],v++;(c<w||u)&&v--;c++)b=u*WH+(_[c]||0),p[c]=b/O|0,u=b%O|0;else{for((u=WH/(O[0]+1)|0)>1&&(O=e(O,u),_=e(_,u),A=O.length,w=_.length),x=A,g=(m=_.slice(0,A)).length;g<A;)m[g++]=0;(E=O.slice()).unshift(0),C=O[0],O[1]>=WH/2&&++C;do{u=0,(s=t(O,m,A,g))<0?(y=m[0],A!=g&&(y=y*WH+(m[1]||0)),(u=y/C|0)>1?(u>=WH&&(u=WH-1),1==(s=t(d=e(O,u),m,f=d.length,g=m.length))&&(u--,n(d,A<f?E:O,f))):(0==u&&(s=u=1),d=O.slice()),(f=d.length)<g&&d.unshift(0),n(m,d,g),-1==s&&(s=t(O,m,A,g=m.length))<1&&(u++,n(m,A<g?E:O,g)),g=m.length):0===s&&(u++,m=[0]),p[c++]=u,s&&m[0]?m[g++]=_[x]||0:(m=[_[x]],g=1)}while((x++<w||void 0!==m[0])&&v--)}return p[0]||p.shift(),h.e=l,rW(h,a?i+JH(h)+1:i)}}();function XH(e,t){var n,r,o,i,a,s=0,l=0,c=e.constructor,u=c.precision;if(JH(e)>16)throw Error(BH+JH(e));if(!e.s)return new c(NH);for(null==t?(DH=!1,a=u):a=t,i=new c(.03125);e.abs().gte(.1);)e=e.times(i),l+=5;for(a+=Math.log(VH(2,l))/Math.LN10*2+5|0,n=r=o=new c(NH),c.precision=a;;){if(r=rW(r.times(e),a),n=n.times(++s),QH((i=o.plus(GH(r,n,a))).d).slice(0,a)===QH(o.d).slice(0,a)){for(;l--;)o=rW(o.times(o),a);return c.precision=u,null==t?(DH=!0,rW(o,u)):o}o=i}}function JH(e){for(var t=7*e.e,n=e.d[0];n>=10;n/=10)t++;return t}function $H(e,t,n){if(t>e.LN10.sd())throw DH=!0,n&&(e.precision=n),Error(IH+"LN10 precision limit exceeded");return rW(new e(e.LN10),t)}function eW(e){for(var t="";e--;)t+="0";return t}function tW(e,t){var n,r,o,i,a,s,l,c,u,d=1,f=e,h=f.d,p=f.constructor,m=p.precision;if(f.s<1)throw Error(IH+(f.s?"NaN":"-Infinity"));if(f.eq(NH))return new p(0);if(null==t?(DH=!1,c=m):c=t,f.eq(10))return null==t&&(DH=!0),$H(p,c);if(c+=10,p.precision=c,r=(n=QH(h)).charAt(0),i=JH(f),!(Math.abs(i)<15e14))return l=$H(p,c+2,m).times(i+""),f=tW(new p(r+"."+n.slice(1)),c-10).plus(l),p.precision=m,null==t?(DH=!0,rW(f,m)):f;for(;r<7&&1!=r||1==r&&n.charAt(1)>3;)r=(n=QH((f=f.times(e)).d)).charAt(0),d++;for(i=JH(f),r>1?(f=new p("0."+n),i++):f=new p(r+"."+n.slice(1)),s=a=f=GH(f.minus(NH),f.plus(NH),c),u=rW(f.times(f),c),o=3;;){if(a=rW(a.times(u),c),QH((l=s.plus(GH(a,new p(o),c))).d).slice(0,c)===QH(s.d).slice(0,c))return s=s.times(2),0!==i&&(s=s.plus($H(p,c+2,m).times(i+""))),s=GH(s,new p(d),c),p.precision=m,null==t?(DH=!0,rW(s,m)):s;s=l,o+=2}}function nW(e,t){var n,r,o;for((n=t.indexOf("."))>-1&&(t=t.replace(".","")),(r=t.search(/e/i))>0?(n<0&&(n=r),n+=+t.slice(r+1),t=t.substring(0,r)):n<0&&(n=t.length),r=0;48===t.charCodeAt(r);)++r;for(o=t.length;48===t.charCodeAt(o-1);)--o;if(t=t.slice(r,o)){if(o-=r,n=n-r-1,e.e=zH(n/7),e.d=[],r=(n+1)%7,n<0&&(r+=7),r<o){for(r&&e.d.push(+t.slice(0,r)),o-=7;r<o;)e.d.push(+t.slice(r,r+=7));r=7-(t=t.slice(r)).length}else r-=o;for(;r--;)t+="0";if(e.d.push(+t),DH&&(e.e>ZH||e.e<-ZH))throw Error(BH+n)}else e.s=0,e.e=0,e.d=[0];return e}function rW(e,t,n){var r,o,i,a,s,l,c,u,d=e.d;for(a=1,i=d[0];i>=10;i/=10)a++;if((r=t-a)<0)r+=7,o=t,c=d[u=0];else{if((u=Math.ceil((r+1)/7))>=(i=d.length))return e;for(c=i=d[u],a=1;i>=10;i/=10)a++;o=(r%=7)-7+a}if(void 0!==n&&(s=c/(i=VH(10,a-o-1))%10|0,l=t<0||void 0!==d[u+1]||c%i,l=n<4?(s||l)&&(0==n||n==(e.s<0?3:2)):s>5||5==s&&(4==n||l||6==n&&(r>0?o>0?c/VH(10,a-o):0:d[u-1])%10&1||n==(e.s<0?8:7))),t<1||!d[0])return l?(i=JH(e),d.length=1,t=t-i-1,d[0]=VH(10,(7-t%7)%7),e.e=zH(-t/7)||0):(d.length=1,d[0]=e.e=e.s=0),e;if(0==r?(d.length=u,i=1,u--):(d.length=u+1,i=VH(10,7-r),d[u]=o>0?(c/VH(10,a-o)%VH(10,o)|0)*i:0),l)for(;;){if(0==u){(d[0]+=i)==WH&&(d[0]=1,++e.e);break}if(d[u]+=i,d[u]!=WH)break;d[u--]=0,i=1}for(r=d.length;0===d[--r];)d.pop();if(DH&&(e.e>ZH||e.e<-ZH))throw Error(BH+JH(e));return e}function oW(e,t){var n,r,o,i,a,s,l,c,u,d,f=e.constructor,h=f.precision;if(!e.s||!t.s)return t.s?t.s=-t.s:t=new f(e),DH?rW(t,h):t;if(l=e.d,d=t.d,r=t.e,c=e.e,l=l.slice(),a=c-r){for((u=a<0)?(n=l,a=-a,s=d.length):(n=d,r=c,s=l.length),a>(o=Math.max(Math.ceil(h/7),s)+2)&&(a=o,n.length=1),n.reverse(),o=a;o--;)n.push(0);n.reverse()}else{for((u=(o=l.length)<(s=d.length))&&(s=o),o=0;o<s;o++)if(l[o]!=d[o]){u=l[o]<d[o];break}a=0}for(u&&(n=l,l=d,d=n,t.s=-t.s),s=l.length,o=d.length-s;o>0;--o)l[s++]=0;for(o=d.length;o>a;){if(l[--o]<d[o]){for(i=o;i&&0===l[--i];)l[i]=WH-1;--l[i],l[o]+=WH}l[o]-=d[o]}for(;0===l[--s];)l.pop();for(;0===l[0];l.shift())--r;return l[0]?(t.d=l,t.e=r,DH?rW(t,h):t):new f(0)}function iW(e,t,n){var r,o=JH(e),i=QH(e.d),a=i.length;return t?(n&&(r=n-a)>0?i=i.charAt(0)+"."+i.slice(1)+eW(r):a>1&&(i=i.charAt(0)+"."+i.slice(1)),i=i+(o<0?"e":"e+")+o):o<0?(i="0."+eW(-o-1)+i,n&&(r=n-a)>0&&(i+=eW(r))):o>=a?(i+=eW(o+1-a),n&&(r=n-o-1)>0&&(i=i+"."+eW(r))):((r=o+1)<a&&(i=i.slice(0,r)+"."+i.slice(r)),n&&(r=n-a)>0&&(o+1===a&&(i+="."),i+=eW(r))),e.s<0?"-"+i:i}function aW(e,t){if(e.length>t)return e.length=t,!0}function sW(e){if(!e||"object"!=typeof e)throw Error(IH+"Object expected");var t,n,r,o=["precision",1,LH,"rounding",0,8,"toExpNeg",-1/0,0,"toExpPos",0,1/0];for(t=0;t<o.length;t+=3)if(void 0!==(r=e[n=o[t]])){if(!(zH(r)===r&&r>=o[t+1]&&r<=o[t+2]))throw Error(FH+n+": "+r);this[n]=r}if(void 0!==(r=e[n="LN10"])){if(r!=Math.LN10)throw Error(FH+n+": "+r);this[n]=new this(r)}return this}var lW=function e(t){var n,r,o;function i(e){var t=this;if(!(t instanceof i))return new i(e);if(t.constructor=i,e instanceof i)return t.s=e.s,t.e=e.e,void(t.d=(e=e.d)?e.slice():e);if("number"==typeof e){if(0*e!=0)throw Error(FH+e);if(e>0)t.s=1;else{if(!(e<0))return t.s=0,t.e=0,void(t.d=[0]);e=-e,t.s=-1}return e===~~e&&e<1e7?(t.e=0,void(t.d=[e])):nW(t,e.toString())}if("string"!=typeof e)throw Error(FH+e);if(45===e.charCodeAt(0)?(e=e.slice(1),t.s=-1):t.s=1,!HH.test(e))throw Error(FH+e);nW(t,e)}if(i.prototype=qH,i.ROUND_UP=0,i.ROUND_DOWN=1,i.ROUND_CEIL=2,i.ROUND_FLOOR=3,i.ROUND_HALF_UP=4,i.ROUND_HALF_DOWN=5,i.ROUND_HALF_EVEN=6,i.ROUND_HALF_CEIL=7,i.ROUND_HALF_FLOOR=8,i.clone=e,i.config=i.set=sW,void 0===t&&(t={}),t)for(o=["precision","rounding","toExpNeg","toExpPos","LN10"],n=0;n<o.length;)t.hasOwnProperty(r=o[n++])||(t[r]=this[r]);return i.config(t),i}({precision:20,rounding:4,toExpNeg:-7,toExpPos:21,LN10:"2.302585092994045684017991454684364207601101488628772976033327900967572609677352480235997205089598298341967784042286"});NH=new lW(1);const cW=lW;function uW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var dW=function(e){return e},fW={"@@functional/placeholder":!0},hW=function(e){return e===fW},pW=function(e){return function t(){return 0===arguments.length||1===arguments.length&&hW(arguments.length<=0?void 0:arguments[0])?t:e.apply(void 0,arguments)}},mW=function e(t,n){return 1===t?n:pW((function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];var a=o.filter((function(e){return e!==fW})).length;return a>=t?n.apply(void 0,o):e(t-a,pW((function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];var i=o.map((function(e){return hW(e)?t.shift():e}));return n.apply(void 0,function(e){return function(e){if(Array.isArray(e))return uW(e)}(e)||function(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return uW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return uW(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i).concat(t))})))}))},gW=function(e){return mW(e.length,e)},yW=function(e,t){for(var n=[],r=e;r<t;++r)n[r-e]=r;return n},vW=gW((function(e,t){return Array.isArray(t)?t.map(e):Object.keys(t).map((function(e){return t[e]})).map(e)})),bW=function(e){return Array.isArray(e)?e.reverse():e.split("").reverse.join("")},xW=function(e){var t=null,n=null;return function(){for(var r=arguments.length,o=new Array(r),i=0;i<r;i++)o[i]=arguments[i];return t&&o.every((function(e,n){return e===t[n]}))||(t=o,n=e.apply(void 0,o)),n}};gW((function(e,t,n){var r=+e;return r+n*(+t-r)})),gW((function(e,t,n){var r=t-+e;return(n-e)/(r||1/0)})),gW((function(e,t,n){var r=t-+e;return r=r||1/0,Math.max(0,Math.min(1,(n-e)/r))}));const wW=function(e,t,n){for(var r=new cW(e),o=0,i=[];r.lt(t)&&o<1e5;)i.push(r.toNumber()),r=r.add(n),o++;return i},CW=function(e){return 0===e?1:Math.floor(new cW(e).abs().log(10).toNumber())+1};function AW(e){return function(e){if(Array.isArray(e))return kW(e)}(e)||function(e){if(typeof Symbol<"u"&&Symbol.iterator in Object(e))return Array.from(e)}(e)||SW(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function EW(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){if(!(typeof Symbol>"u")&&Symbol.iterator in Object(e)){var n=[],r=!0,o=!1,i=void 0;try{for(var a,s=e[Symbol.iterator]();!(r=(a=s.next()).done)&&(n.push(a.value),!t||n.length!==t);r=!0);}catch(e){o=!0,i=e}finally{try{!r&&null!=s.return&&s.return()}finally{if(o)throw i}}return n}}(e,t)||SW(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function SW(e,t){if(e){if("string"==typeof e)return kW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kW(e,t)}}function kW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function _W(e){var t=EW(e,2),n=t[0],r=t[1],o=n,i=r;return n>r&&(o=r,i=n),[o,i]}function OW(e,t,n){if(e.lte(0))return new cW(0);var r=CW(e.toNumber()),o=new cW(10).pow(r),i=e.div(o),a=1!==r?.05:.1,s=new cW(Math.ceil(i.div(a).toNumber())).add(n).mul(a).mul(o);return t?s:new cW(Math.ceil(s))}function RW(e,t,n,r){var o=arguments.length>4&&void 0!==arguments[4]?arguments[4]:0;if(!Number.isFinite((t-e)/(n-1)))return{step:new cW(0),tickMin:new cW(0),tickMax:new cW(0)};var i,a=OW(new cW(t).sub(e).div(n-1),r,o);i=e<=0&&t>=0?new cW(0):(i=new cW(e).add(t).div(2)).sub(new cW(i).mod(a));var s=Math.ceil(i.sub(e).div(a).toNumber()),l=Math.ceil(new cW(t).sub(i).div(a).toNumber()),c=s+l+1;return c>n?RW(e,t,n,r,o+1):(c<n&&(l=t>0?l+(n-c):l,s=t>0?s:s+(n-c)),{step:a,tickMin:i.sub(new cW(s).mul(a)),tickMax:i.add(new cW(l).mul(a))})}var PW=xW((function(e){var t=EW(e,2),n=t[0],r=t[1],o=arguments.length>1&&void 0!==arguments[1]?arguments[1]:6,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=Math.max(o,2),s=EW(_W([n,r]),2),l=s[0],c=s[1];if(l===-1/0||c===1/0){var u=c===1/0?[l].concat(AW(yW(0,o-1).map((function(){return 1/0})))):[].concat(AW(yW(0,o-1).map((function(){return-1/0}))),[c]);return n>r?bW(u):u}if(l===c)return function(e,t,n){var r=1,o=new cW(e);if(!o.isint()&&n){var i=Math.abs(e);i<1?(r=new cW(10).pow(CW(e)-1),o=new cW(Math.floor(o.div(r).toNumber())).mul(r)):i>1&&(o=new cW(Math.floor(e)))}else 0===e?o=new cW(Math.floor((t-1)/2)):n||(o=new cW(Math.floor(e)));var a=Math.floor((t-1)/2),s=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];if(!t.length)return dW;var r=t.reverse(),o=r[0],i=r.slice(1);return function(){return i.reduce((function(e,t){return t(e)}),o.apply(void 0,arguments))}}(vW((function(e){return o.add(new cW(e-a).mul(r)).toNumber()})),yW);return s(0,t)}(l,o,i);var d=RW(l,c,a,i),f=d.step,h=d.tickMin,p=d.tickMax,m=wW(h,p.add(new cW(.1).mul(f)),f);return n>r?bW(m):m})),jW=xW((function(e,t){var n=EW(e,2),r=n[0],o=n[1],i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=EW(_W([r,o]),2),s=a[0],l=a[1];if(s===-1/0||l===1/0)return[r,o];if(s===l)return[s];var c=Math.max(t,2),u=OW(new cW(l).sub(s).div(c-1),i,0),d=[].concat(AW(wW(new cW(s),new cW(l).sub(new cW(.99).mul(u)),u)),[l]);return r>o?bW(d):d}));function TW(e,t){throw new Error("Invariant failed")}var MW=["offset","layout","width","dataKey","data","dataPointFormatter","xAxis","yAxis"];function NW(e){return(NW="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})(e)}function LW(){return LW=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},LW.apply(this,arguments)}function DW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function IW(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(IW=function(){return!!e})()}function FW(e){return(FW=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function BW(e,t){return BW=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},BW(e,t)}function zW(e,t,n){return(t=VW(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VW(e){var t=function(e){if("object"!=NW(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=NW(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NW(t)?t:t+""}var HW=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=FW(t),function(e,t){if(t&&("object"===NW(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,IW()?Reflect.construct(t,n||[],FW(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&BW(e,t)}(t,e),function(e,t){return t&&function(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,VW(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,t=e.offset,r=e.layout,o=e.width,i=e.dataKey,a=e.data,s=e.dataPointFormatter,l=e.xAxis,c=e.yAxis,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,MW),d=fR(u,!1);"x"===this.props.direction&&"number"!==l.type&&TW();var f=a.map((function(e){var a=s(e,i),u=a.x,f=a.y,h=a.value,p=a.errorVal;if(!p)return null;var m,g,y=[];if(Array.isArray(p)){var v=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return DW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return DW(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(p,2);m=v[0],g=v[1]}else m=g=p;if("vertical"===r){var b=l.scale,x=f+t,w=x+o,C=x-o,A=b(h-m),E=b(h+g);y.push({x1:E,y1:w,x2:E,y2:C}),y.push({x1:A,y1:x,x2:E,y2:x}),y.push({x1:A,y1:w,x2:A,y2:C})}else if("horizontal"===r){var S=c.scale,k=u+t,_=k-o,O=k+o,R=S(h-m),P=S(h+g);y.push({x1:_,y1:P,x2:O,y2:P}),y.push({x1:k,y1:R,x2:k,y2:P}),y.push({x1:_,y1:R,x2:O,y2:R})}return n.createElement(CR,LW({className:"recharts-errorBar",key:"bar-".concat(y.map((function(e){return"".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)})))},d),y.map((function(e){return n.createElement("line",LW({},e,{key:"line-".concat(e.x1,"-").concat(e.x2,"-").concat(e.y1,"-").concat(e.y2)}))})))}));return n.createElement(CR,{className:"recharts-errorBars"},f)}}])}(n.Component);function WW(e){return(WW="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})(e)}function UW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function ZW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?UW(Object(n),!0).forEach((function(t){qW(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):UW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function qW(e,t,n){return t=function(e){var t=function(e){if("object"!=WW(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=WW(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WW(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}zW(HW,"defaultProps",{stroke:"black",strokeWidth:1.5,width:5,offset:0,layout:"horizontal"}),zW(HW,"displayName","ErrorBar");var YW=function(e){var t=e.children,n=e.formattedGraphicalItems,r=e.legendWidth,o=e.legendContent,i=lR(t,ZN);if(!i)return null;var a,s=ZN.defaultProps,l=void 0!==s?ZW(ZW({},s),i.props):{};return a=i.props&&i.props.payload?i.props&&i.props.payload:"children"===o?(n||[]).reduce((function(e,t){var n=t.item,r=t.props,o=r.sectors||r.data||[];return e.concat(o.map((function(e){return{type:i.props.iconType||n.props.legendType,value:e.name,color:e.fill,payload:e}})))}),[]):(n||[]).map((function(e){var t=e.item,n=t.type.defaultProps,r=void 0!==n?ZW(ZW({},n),t.props):{},o=r.dataKey,i=r.name,a=r.legendType;return{inactive:r.hide,dataKey:o,type:l.iconType||a||"square",color:nU(t),value:i||o,payload:r}})),ZW(ZW(ZW({},l),ZN.getWithHeight(i,r)),{},{payload:a,item:i})};function KW(e){return(KW="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})(e)}function QW(e){return function(e){if(Array.isArray(e))return GW(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return GW(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return GW(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function GW(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function XW(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function JW(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?XW(Object(n),!0).forEach((function(t){$W(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):XW(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function $W(e,t,n){return t=function(e){var t=function(e){if("object"!=KW(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=KW(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KW(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function eU(e,t,n){return yO(e)||yO(t)?n:IO(t)?mO(e,t,n):jk(t)?t(e):n}function tU(e,t,n,r){var o=PH(e,(function(e){return eU(e,t)}));if("number"===n){var i=o.filter((function(e){return DO(e)||parseFloat(e)}));return i.length?[CH(i),gH(i)]:[1/0,-1/0]}return(r?o.filter((function(e){return!yO(e)})):o).map((function(e){return IO(e)||e instanceof Date?e:""}))}var nU=function(e){var t,n,r=e.type.displayName,o=null!==(t=e.type)&&void 0!==t&&t.defaultProps?JW(JW({},e.type.defaultProps),e.props):e.props,i=o.stroke,a=o.fill;switch(r){case"Line":n=i;break;case"Area":case"Radar":n=i&&"none"!==i?i:a;break;default:n=a}return n},rU=function(e,t,n,r,o){var i=sR(t.props.children,HW).filter((function(e){return function(e,t,n){return!!yO(t)||("horizontal"===e?"yAxis"===t:"vertical"===e||"x"===n?"xAxis"===t:"y"!==n||"yAxis"===t)}(r,o,e.props.direction)}));if(i&&i.length){var a=i.map((function(e){return e.props.dataKey}));return e.reduce((function(e,t){var r=eU(t,n);if(yO(r))return e;var o=Array.isArray(r)?[CH(r),gH(r)]:[r,r],i=a.reduce((function(e,n){var r=eU(t,n,0),i=o[0]-Math.abs(Array.isArray(r)?r[0]:r),a=o[1]+Math.abs(Array.isArray(r)?r[1]:r);return[Math.min(i,e[0]),Math.max(a,e[1])]}),[1/0,-1/0]);return[Math.min(i[0],e[0]),Math.max(i[1],e[1])]}),[1/0,-1/0])}return null},oU=function(e,t,n,r,o){var i=t.map((function(t){var i=t.props.dataKey;return"number"===n&&i&&rU(e,t,i,r)||tU(e,i,n,o)}));if("number"===n)return i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]);var a={};return i.reduce((function(e,t){for(var n=0,r=t.length;n<r;n++)a[t[n]]||(a[t[n]]=!0,e.push(t[n]));return e}),[])},iU=function(e,t){return"horizontal"===e&&"xAxis"===t||"vertical"===e&&"yAxis"===t||"centric"===e&&"angleAxis"===t||"radial"===e&&"radiusAxis"===t},aU=function(e,t,n,r){if(r)return e.map((function(e){return e.coordinate}));var o,i,a=e.map((function(e){return e.coordinate===t&&(o=!0),e.coordinate===n&&(i=!0),e.coordinate}));return o||a.push(t),i||a.push(n),a},sU=function(e,t,n){if(!e)return null;var r=e.scale,o=e.duplicateDomain,i=e.type,a=e.range,s="scaleBand"===e.realScaleType?r.bandwidth()/2:2,l=(t||n)&&"category"===i&&r.bandwidth?r.bandwidth()/s:0;return l="angleAxis"===e.axisType&&(null==a?void 0:a.length)>=2?2*NO(a[0]-a[1])*l:l,t&&(e.ticks||e.niceTicks)?(e.ticks||e.niceTicks).map((function(e){var t=o?o.indexOf(e):e;return{coordinate:r(t)+l,value:e,offset:l}})).filter((function(e){return!MO(e.coordinate)})):e.isCategorical&&e.categoricalDomain?e.categoricalDomain.map((function(e,t){return{coordinate:r(e)+l,value:e,index:t,offset:l}})):r.ticks&&!n?r.ticks(e.tickCount).map((function(e){return{coordinate:r(e)+l,value:e,offset:l}})):r.domain().map((function(e,t){return{coordinate:r(e)+l,value:o?o[e]:e,index:t,offset:l}}))},lU=new WeakMap,cU=function(e,t){if("function"!=typeof t)return e;lU.has(e)||lU.set(e,new WeakMap);var n=lU.get(e);if(n.has(t))return n.get(t);var r=function(){e.apply(void 0,arguments),t.apply(void 0,arguments)};return n.set(t,r),r},uU=function(e,t,n){var r=e.scale,o=e.type,i=e.layout,a=e.axisType;if("auto"===r)return"radial"===i&&"radiusAxis"===a?{scale:nF(),realScaleType:"band"}:"radial"===i&&"angleAxis"===a?{scale:AB(),realScaleType:"linear"}:"category"===o&&t&&(t.indexOf("LineChart")>=0||t.indexOf("AreaChart")>=0||t.indexOf("ComposedChart")>=0&&!n)?{scale:oF(),realScaleType:"point"}:"category"===o?{scale:nF(),realScaleType:"band"}:{scale:AB(),realScaleType:"linear"};if(CO(r)){var s="scale".concat(qR(r));return{scale:(lH[s]||oF)(),realScaleType:lH[s]?s:"point"}}return jk(r)?{scale:r}:{scale:oF(),realScaleType:"point"}},dU=1e-4,fU=function(e){var t=e.domain();if(t&&!(t.length<=2)){var n=t.length,r=e.range(),o=Math.min(r[0],r[1])-dU,i=Math.max(r[0],r[1])+dU,a=e(t[0]),s=e(t[n-1]);(a<o||a>i||s<o||s>i)&&e.domain([t[0],t[n-1]])}},hU={sign:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0,a=0;a<t;++a){var s=MO(e[a][n][1])?e[a][n][0]:e[a][n][1];s>=0?(e[a][n][0]=o,e[a][n][1]=o+s,o=e[a][n][1]):(e[a][n][0]=i,e[a][n][1]=i+s,i=e[a][n][1])}},expand:function(e,t){if((r=e.length)>0){for(var n,r,o,i=0,a=e[0].length;i<a;++i){for(o=n=0;n<r;++n)o+=e[n][i][1]||0;if(o)for(n=0;n<r;++n)e[n][i][1]/=o}YP(e,t)}},none:YP,silhouette:function(e,t){if((n=e.length)>0){for(var n,r=0,o=e[t[0]],i=o.length;r<i;++r){for(var a=0,s=0;a<n;++a)s+=e[a][r][1]||0;o[r][1]+=o[r][0]=-s/2}YP(e,t)}},wiggle:function(e,t){if((o=e.length)>0&&(r=(n=e[t[0]]).length)>0){for(var n,r,o,i=0,a=1;a<r;++a){for(var s=0,l=0,c=0;s<o;++s){for(var u=e[t[s]],d=u[a][1]||0,f=(d-(u[a-1][1]||0))/2,h=0;h<s;++h){var p=e[t[h]];f+=(p[a][1]||0)-(p[a-1][1]||0)}l+=d,c+=f*d}n[a-1][1]+=n[a-1][0]=i,l&&(i-=c/l)}n[a-1][1]+=n[a-1][0]=i,YP(e,t)}},positive:function(e){var t=e.length;if(!(t<=0))for(var n=0,r=e[0].length;n<r;++n)for(var o=0,i=0;i<t;++i){var a=MO(e[i][n][1])?e[i][n][0]:e[i][n][1];a>=0?(e[i][n][0]=o,e[i][n][1]=o+a,o=e[i][n][1]):(e[i][n][0]=0,e[i][n][1]=0)}}},pU=function(e,t,n){var r=t.map((function(e){return e.props.dataKey})),o=hU[n],i=function(){var e=YR([]),t=KP,n=YP,r=QP;function o(o){var i,a,s=Array.from(e.apply(this,arguments),GP),l=s.length,c=-1;for(const e of o)for(i=0,++c;i<l;++i)(s[i][c]=[0,+r(e,s[i].key,c,o)]).data=e;for(i=0,a=aP(t(s));i<l;++i)s[a[i]].index=i;return n(s,a),s}return o.keys=function(t){return arguments.length?(e="function"==typeof t?t:YR(Array.from(t)),o):e},o.value=function(e){return arguments.length?(r="function"==typeof e?e:YR(+e),o):r},o.order=function(e){return arguments.length?(t=null==e?KP:"function"==typeof e?e:YR(Array.from(e)),o):t},o.offset=function(e){return arguments.length?(n=e??YP,o):n},o}().keys(r).value((function(e,t){return+eU(e,t,0)})).order(KP).offset(o);return i(e)},mU=function(e,t){var n=t.realScaleType,r=t.type,o=t.tickCount,i=t.originalDomain,a=t.allowDecimals,s=n||t.scale;if("auto"!==s&&"linear"!==s)return null;if(o&&"number"===r&&i&&("auto"===i[0]||"auto"===i[1])){var l=e.domain();if(!l.length)return null;var c=PW(l,o,a);return e.domain([CH(c),gH(c)]),{niceTicks:c}}if(o&&"number"===r){var u=e.domain();return{niceTicks:jW(u,o,a)}}return null};function gU(e){var t=e.axis,n=e.ticks,r=e.bandSize,o=e.entry,i=e.index,a=e.dataKey;if("category"===t.type){if(!t.allowDuplicatedCategory&&t.dataKey&&!yO(o[t.dataKey])){var s=WO(n,"value",o[t.dataKey]);if(s)return s.coordinate+r/2}return n[i]?n[i].coordinate+r/2:null}var l=eU(o,yO(a)?t.dataKey:a);return yO(l)?null:t.scale(l)}var yU=function(e){var t=e.axis,n=e.ticks,r=e.offset,o=e.bandSize,i=e.entry,a=e.index;if("category"===t.type)return n[a]?n[a].coordinate+r:null;var s=eU(i,t.dataKey,t.domain[a]);return yO(s)?null:t.scale(s)-o/2+r},vU=function(e,t,n){return Object.keys(e).reduce((function(r,o){var i=e[o].stackedData.reduce((function(e,r){var o=function(e){return e.reduce((function(e,t){return[CH(t.concat([e[0]]).filter(DO)),gH(t.concat([e[1]]).filter(DO))]}),[1/0,-1/0])}(r.slice(t,n+1));return[Math.min(e[0],o[0]),Math.max(e[1],o[1])]}),[1/0,-1/0]);return[Math.min(i[0],r[0]),Math.max(i[1],r[1])]}),[1/0,-1/0]).map((function(e){return e===1/0||e===-1/0?0:e}))},bU=/^dataMin[\s]*-[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,xU=/^dataMax[\s]*\+[\s]*([0-9]+([.]{1}[0-9]+){0,1})$/,wU=function(e,t,n){if(jk(e))return e(t,n);if(!Array.isArray(e))return t;var r=[];if(DO(e[0]))r[0]=n?e[0]:Math.min(e[0],t[0]);else if(bU.test(e[0])){var o=+bU.exec(e[0])[1];r[0]=t[0]-o}else jk(e[0])?r[0]=e[0](t[0]):r[0]=t[0];if(DO(e[1]))r[1]=n?e[1]:Math.max(e[1],t[1]);else if(xU.test(e[1])){var i=+xU.exec(e[1])[1];r[1]=t[1]+i}else jk(e[1])?r[1]=e[1](t[1]):r[1]=t[1];return r},CU=function(e,t,n){if(e&&e.scale&&e.scale.bandwidth){var r=e.scale.bandwidth();if(!n||r>0)return r}if(e&&t&&t.length>=2){for(var o=zL(t,(function(e){return e.coordinate})),i=1/0,a=1,s=o.length;a<s;a++){var l=o[a],c=o[a-1];i=Math.min((l.coordinate||0)-(c.coordinate||0),i)}return i===1/0?0:i}return n?void 0:0},AU=function(e,t,n){return e&&e.length&&!MH(e,mO(n,"type.defaultProps.domain"))?e:t},EU=function(e,t){var n=e.type.defaultProps?JW(JW({},e.type.defaultProps),e.props):e.props,r=n.dataKey,o=n.name,i=n.unit,a=n.formatter,s=n.tooltipType,l=n.chartType,c=n.hide;return JW(JW({},fR(e,!1)),{},{dataKey:r,unit:i,formatter:a,name:o||r,color:nU(e),value:eU(t,r),type:s,payload:t,chartType:l,hide:c})};function SU(e){return(SU="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})(e)}function kU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function _U(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?kU(Object(n),!0).forEach((function(t){OU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):kU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function OU(e,t,n){return t=function(e){var t=function(e){if("object"!=SU(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=SU(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==SU(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function RU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var PU=Math.PI/180,jU=function(e){return 180*e/Math.PI},TU=function(e,t,n,r){return{x:e+Math.cos(-PU*r)*n,y:t+Math.sin(-PU*r)*n}},MU=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{top:0,right:0,bottom:0,left:0};return Math.min(Math.abs(e-(n.left||0)-(n.right||0)),Math.abs(t-(n.top||0)-(n.bottom||0)))/2},NU=function(e,t){var n=t.startAngle,r=t.endAngle,o=Math.floor(n/360),i=Math.floor(r/360);return e+360*Math.min(o,i)},LU=function(e,t){var n=function(e,t){var n=e.x,r=e.y,o=t.cx,i=t.cy,a=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return Math.sqrt(Math.pow(n-o,2)+Math.pow(r-i,2))}({x:n,y:r},{x:o,y:i});if(a<=0)return{radius:a};var s=(n-o)/a,l=Math.acos(s);return r>i&&(l=2*Math.PI-l),{radius:a,angle:jU(l),angleInRadian:l}}({x:e.x,y:e.y},t),r=n.radius,o=n.angle,i=t.innerRadius,a=t.outerRadius;if(r<i||r>a)return!1;if(0===r)return!0;var s,l=function(e){var t=e.startAngle,n=e.endAngle,r=Math.floor(t/360),o=Math.floor(n/360),i=Math.min(r,o);return{startAngle:t-360*i,endAngle:n-360*i}}(t),c=l.startAngle,u=l.endAngle,d=o;if(c<=u){for(;d>u;)d-=360;for(;d<c;)d+=360;s=d>=c&&d<=u}else{for(;d>c;)d-=360;for(;d<u;)d+=360;s=d>=u&&d<=c}return s?_U(_U({},t),{},{radius:r,angle:NU(d,t)}):null},DU=function(e){return(0,n.isValidElement)(e)||jk(e)||"boolean"==typeof e?"":e.className};function IU(e){return(IU="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})(e)}var FU=["offset"];function BU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function zU(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function VU(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zU(Object(n),!0).forEach((function(t){HU(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zU(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HU(e,t,n){return t=function(e){var t=function(e){if("object"!=IU(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=IU(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==IU(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WU(){return WU=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},WU.apply(this,arguments)}function UU(e){var t,r=e.offset,o=VU({offset:void 0===r?5:r},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,FU)),i=o.viewBox,a=o.position,s=o.value,l=o.children,c=o.content,u=o.className,d=void 0===u?"":u,f=o.textBreakAll;if(!i||yO(s)&&yO(l)&&!(0,n.isValidElement)(c)&&!jk(c))return null;if((0,n.isValidElement)(c))return(0,n.cloneElement)(c,o);if(jk(c)){if(t=(0,n.createElement)(c,o),(0,n.isValidElement)(t))return t}else t=function(e){var t=e.value,n=e.formatter,r=yO(e.children)?t:e.children;return jk(n)?n(r):r}(o);var h=function(e){return"cx"in e&&DO(e.cx)}(i),p=fR(o,!0);if(h&&("insideStart"===a||"insideEnd"===a||"end"===a))return function(e,t,r){var o,i,a=e.position,s=e.viewBox,l=e.offset,c=e.className,u=s,d=u.cx,f=u.cy,h=u.innerRadius,p=u.outerRadius,m=u.startAngle,g=u.endAngle,y=u.clockWise,v=(h+p)/2,b=function(e,t){return NO(t-e)*Math.min(Math.abs(t-e),360)}(m,g),x=b>=0?1:-1;"insideStart"===a?(o=m+x*l,i=y):"insideEnd"===a?(o=g-x*l,i=!y):"end"===a&&(o=g+x*l,i=y),i=b<=0?i:!i;var w=TU(d,f,v,o),C=TU(d,f,v,o+359*(i?1:-1)),A="M".concat(w.x,",").concat(w.y,"\n    A").concat(v,",").concat(v,",0,1,").concat(i?0:1,",\n    ").concat(C.x,",").concat(C.y),E=yO(e.id)?BO("recharts-radial-line-"):e.id;return n.createElement("text",WU({},r,{dominantBaseline:"central",className:Kt("recharts-radial-bar-label",c)}),n.createElement("defs",null,n.createElement("path",{id:E,d:A})),n.createElement("textPath",{xlinkHref:"#".concat(E)},t))}(o,t,p);var m=h?function(e){var t=e.viewBox,n=e.offset,r=e.position,o=t,i=o.cx,a=o.cy,s=o.innerRadius,l=o.outerRadius,c=(o.startAngle+o.endAngle)/2;if("outside"===r){var u=TU(i,a,l+n,c),d=u.x;return{x:d,y:u.y,textAnchor:d>=i?"start":"end",verticalAnchor:"middle"}}if("center"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"middle"};if("centerTop"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"start"};if("centerBottom"===r)return{x:i,y:a,textAnchor:"middle",verticalAnchor:"end"};var f=TU(i,a,(s+l)/2,c);return{x:f.x,y:f.y,textAnchor:"middle",verticalAnchor:"middle"}}(o):function(e){var t=e.viewBox,n=e.parentViewBox,r=e.offset,o=e.position,i=t,a=i.x,s=i.y,l=i.width,c=i.height,u=c>=0?1:-1,d=u*r,f=u>0?"end":"start",h=u>0?"start":"end",p=l>=0?1:-1,m=p*r,g=p>0?"end":"start",y=p>0?"start":"end";if("top"===o)return VU(VU({},{x:a+l/2,y:s-u*r,textAnchor:"middle",verticalAnchor:f}),n?{height:Math.max(s-n.y,0),width:l}:{});if("bottom"===o)return VU(VU({},{x:a+l/2,y:s+c+d,textAnchor:"middle",verticalAnchor:h}),n?{height:Math.max(n.y+n.height-(s+c),0),width:l}:{});if("left"===o){var v={x:a-m,y:s+c/2,textAnchor:g,verticalAnchor:"middle"};return VU(VU({},v),n?{width:Math.max(v.x-n.x,0),height:c}:{})}if("right"===o){var b={x:a+l+m,y:s+c/2,textAnchor:y,verticalAnchor:"middle"};return VU(VU({},b),n?{width:Math.max(n.x+n.width-b.x,0),height:c}:{})}var x=n?{width:l,height:c}:{};return"insideLeft"===o?VU({x:a+m,y:s+c/2,textAnchor:y,verticalAnchor:"middle"},x):"insideRight"===o?VU({x:a+l-m,y:s+c/2,textAnchor:g,verticalAnchor:"middle"},x):"insideTop"===o?VU({x:a+l/2,y:s+d,textAnchor:"middle",verticalAnchor:h},x):"insideBottom"===o?VU({x:a+l/2,y:s+c-d,textAnchor:"middle",verticalAnchor:f},x):"insideTopLeft"===o?VU({x:a+m,y:s+d,textAnchor:y,verticalAnchor:h},x):"insideTopRight"===o?VU({x:a+l-m,y:s+d,textAnchor:g,verticalAnchor:h},x):"insideBottomLeft"===o?VU({x:a+m,y:s+c-d,textAnchor:y,verticalAnchor:f},x):"insideBottomRight"===o?VU({x:a+l-m,y:s+c-d,textAnchor:g,verticalAnchor:f},x):_k(o)&&(DO(o.x)||LO(o.x))&&(DO(o.y)||LO(o.y))?VU({x:a+zO(o.x,l),y:s+zO(o.y,c),textAnchor:"end",verticalAnchor:"end"},x):VU({x:a+l/2,y:s+c/2,textAnchor:"middle",verticalAnchor:"middle"},x)}(o);return n.createElement(RI,WU({className:Kt("recharts-label",d)},p,m,{breakAll:f}),t)}UU.displayName="Label";var ZU=function(e){var t=e.cx,n=e.cy,r=e.angle,o=e.startAngle,i=e.endAngle,a=e.r,s=e.radius,l=e.innerRadius,c=e.outerRadius,u=e.x,d=e.y,f=e.top,h=e.left,p=e.width,m=e.height,g=e.clockWise,y=e.labelViewBox;if(y)return y;if(DO(p)&&DO(m)){if(DO(u)&&DO(d))return{x:u,y:d,width:p,height:m};if(DO(f)&&DO(h))return{x:f,y:h,width:p,height:m}}return DO(u)&&DO(d)?{x:u,y:d,width:0,height:0}:DO(t)&&DO(n)?{cx:t,cy:n,startAngle:o||r||0,endAngle:i||r||0,innerRadius:l||0,outerRadius:c||s||a||0,clockWise:g}:e.viewBox?e.viewBox:{}};UU.parseViewBox=ZU,UU.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=e.children,i=ZU(e),a=sR(o,UU).map((function(e,r){return(0,n.cloneElement)(e,{viewBox:t||i,key:"label-".concat(r)})}));if(!r)return a;var s=function(e,t){return e?!0===e?n.createElement(UU,{key:"label-implicit",viewBox:t}):IO(e)?n.createElement(UU,{key:"label-implicit",viewBox:t,value:e}):(0,n.isValidElement)(e)?e.type===UU?(0,n.cloneElement)(e,{key:"label-implicit",viewBox:t}):n.createElement(UU,{key:"label-implicit",content:e,viewBox:t}):jk(e)?n.createElement(UU,{key:"label-implicit",content:e,viewBox:t}):_k(e)?n.createElement(UU,WU({viewBox:t},e,{key:"label-implicit"})):null:null}(e.label,t||i);return[s].concat(function(e){return function(e){if(Array.isArray(e))return BU(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return BU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return BU(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(a))};var qU=function(e){var t=null==e?0:e.length;return t?e[t-1]:void 0};const YU=qe(qU);function KU(e){return(KU="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})(e)}var QU=["valueAccessor"],GU=["data","dataKey","clockWise","id","textBreakAll"];function XU(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function JU(){return JU=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},JU.apply(this,arguments)}function $U(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function eZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?$U(Object(n),!0).forEach((function(t){tZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):$U(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function tZ(e,t,n){return t=function(e){var t=function(e){if("object"!=KU(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=KU(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==KU(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function nZ(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var rZ=function(e){return Array.isArray(e.value)?YU(e.value):e.value};function oZ(e){var t=e.valueAccessor,r=void 0===t?rZ:t,o=nZ(e,QU),i=o.data,a=o.dataKey,s=o.clockWise,l=o.id,c=o.textBreakAll,u=nZ(o,GU);return i&&i.length?n.createElement(CR,{className:"recharts-label-list"},i.map((function(e,t){var o=yO(a)?r(e,t):eU(e&&e.payload,a),i=yO(l)?{}:{id:"".concat(l,"-").concat(t)};return n.createElement(UU,JU({},fR(e,!0),u,i,{parentViewBox:e.parentViewBox,value:o,textBreakAll:c,viewBox:UU.parseViewBox(yO(s)?e:eZ(eZ({},e),{},{clockWise:s})),key:"label-".concat(t),index:t}))}))):null}function iZ(e){return(iZ="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})(e)}function aZ(){return aZ=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},aZ.apply(this,arguments)}function sZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sZ(Object(n),!0).forEach((function(t){cZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cZ(e,t,n){return t=function(e){var t=function(e){if("object"!=iZ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=iZ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==iZ(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}oZ.displayName="LabelList",oZ.renderCallByParent=function(e,t){var r=!(arguments.length>2&&void 0!==arguments[2])||arguments[2];if(!e||!e.children&&r&&!e.label)return null;var o=sR(e.children,oZ).map((function(e,r){return(0,n.cloneElement)(e,{data:t,key:"labelList-".concat(r)})}));if(!r)return o;var i=function(e,t){return e?!0===e?n.createElement(oZ,{key:"labelList-implicit",data:t}):n.isValidElement(e)||jk(e)?n.createElement(oZ,{key:"labelList-implicit",data:t,content:e}):_k(e)?n.createElement(oZ,JU({data:t},e,{key:"labelList-implicit"})):null:null}(e.label,t);return[i].concat(function(e){return function(e){if(Array.isArray(e))return XU(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return XU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return XU(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(o))};var uZ=function(e){var t=e.cx,n=e.cy,r=e.radius,o=e.angle,i=e.sign,a=e.isExternal,s=e.cornerRadius,l=e.cornerIsExternal,c=s*(a?1:-1)+r,u=Math.asin(s/c)/PU,d=l?o:o+i*u,f=l?o-i*u:o;return{center:TU(t,n,c,d),circleTangency:TU(t,n,r,d),lineTangency:TU(t,n,c*Math.cos(u*PU),f),theta:u}},dZ=function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.startAngle,a=function(e,t){return NO(t-e)*Math.min(Math.abs(t-e),359.999)}(i,e.endAngle),s=i+a,l=TU(t,n,o,i),c=TU(t,n,o,s),u="M ".concat(l.x,",").concat(l.y,"\n    A ").concat(o,",").concat(o,",0,\n    ").concat(+(Math.abs(a)>180),",").concat(+(i>s),",\n    ").concat(c.x,",").concat(c.y,"\n  ");if(r>0){var d=TU(t,n,r,i),f=TU(t,n,r,s);u+="L ".concat(f.x,",").concat(f.y,"\n            A ").concat(r,",").concat(r,",0,\n            ").concat(+(Math.abs(a)>180),",").concat(+(i<=s),",\n            ").concat(d.x,",").concat(d.y," Z")}else u+="L ".concat(t,",").concat(n," Z");return u},fZ={cx:0,cy:0,innerRadius:0,outerRadius:0,startAngle:0,endAngle:0,cornerRadius:0,forceCornerRadius:!1,cornerIsExternal:!1},hZ=function(e){var t=lZ(lZ({},fZ),e),r=t.cx,o=t.cy,i=t.innerRadius,a=t.outerRadius,s=t.cornerRadius,l=t.forceCornerRadius,c=t.cornerIsExternal,u=t.startAngle,d=t.endAngle,f=t.className;if(a<i||u===d)return null;var h,p=Kt("recharts-sector",f),m=a-i,g=zO(s,m,0,!0);return h=g>0&&Math.abs(u-d)<360?function(e){var t=e.cx,n=e.cy,r=e.innerRadius,o=e.outerRadius,i=e.cornerRadius,a=e.forceCornerRadius,s=e.cornerIsExternal,l=e.startAngle,c=e.endAngle,u=NO(c-l),d=uZ({cx:t,cy:n,radius:o,angle:l,sign:u,cornerRadius:i,cornerIsExternal:s}),f=d.circleTangency,h=d.lineTangency,p=d.theta,m=uZ({cx:t,cy:n,radius:o,angle:c,sign:-u,cornerRadius:i,cornerIsExternal:s}),g=m.circleTangency,y=m.lineTangency,v=m.theta,b=s?Math.abs(l-c):Math.abs(l-c)-p-v;if(b<0)return a?"M ".concat(h.x,",").concat(h.y,"\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*i,",0\n        a").concat(i,",").concat(i,",0,0,1,").concat(2*-i,",0\n      "):dZ({cx:t,cy:n,innerRadius:r,outerRadius:o,startAngle:l,endAngle:c});var x="M ".concat(h.x,",").concat(h.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(f.x,",").concat(f.y,"\n    A").concat(o,",").concat(o,",0,").concat(+(b>180),",").concat(+(u<0),",").concat(g.x,",").concat(g.y,"\n    A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(y.x,",").concat(y.y,"\n  ");if(r>0){var w=uZ({cx:t,cy:n,radius:r,angle:l,sign:u,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),C=w.circleTangency,A=w.lineTangency,E=w.theta,S=uZ({cx:t,cy:n,radius:r,angle:c,sign:-u,isExternal:!0,cornerRadius:i,cornerIsExternal:s}),k=S.circleTangency,_=S.lineTangency,O=S.theta,R=s?Math.abs(l-c):Math.abs(l-c)-E-O;if(R<0&&0===i)return"".concat(x,"L").concat(t,",").concat(n,"Z");x+="L".concat(_.x,",").concat(_.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(k.x,",").concat(k.y,"\n      A").concat(r,",").concat(r,",0,").concat(+(R>180),",").concat(+(u>0),",").concat(C.x,",").concat(C.y,"\n      A").concat(i,",").concat(i,",0,0,").concat(+(u<0),",").concat(A.x,",").concat(A.y,"Z")}else x+="L".concat(t,",").concat(n,"Z");return x}({cx:r,cy:o,innerRadius:i,outerRadius:a,cornerRadius:Math.min(g,m/2),forceCornerRadius:l,cornerIsExternal:c,startAngle:u,endAngle:d}):dZ({cx:r,cy:o,innerRadius:i,outerRadius:a,startAngle:u,endAngle:d}),n.createElement("path",aZ({},fR(t,!0),{className:p,d:h,role:"img"}))};function pZ(e){return(pZ="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})(e)}function mZ(){return mZ=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},mZ.apply(this,arguments)}function gZ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yZ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gZ(Object(n),!0).forEach((function(t){vZ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gZ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vZ(e,t,n){return t=function(e){var t=function(e){if("object"!=pZ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=pZ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==pZ(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bZ,xZ,wZ,CZ,AZ={curveBasisClosed:function(e){return new NP(e)},curveBasisOpen:function(e){return new LP(e)},curveBasis:function(e){return new MP(e)},curveBumpX:function(e){return new hP(e,!0)},curveBumpY:function(e){return new hP(e,!1)},curveLinearClosed:function(e){return new DP(e)},curveLinear:lP,curveMonotoneX:function(e){return new VP(e)},curveMonotoneY:function(e){return new HP(e)},curveNatural:function(e){return new UP(e)},curveStep:function(e){return new qP(e,.5)},curveStepAfter:function(e){return new qP(e,1)},curveStepBefore:function(e){return new qP(e,0)}},EZ=function(e){return e.x===+e.x&&e.y===+e.y},SZ=function(e){return e.x},kZ=function(e){return e.y},_Z=function(e){var t=e.className,r=e.points,o=e.path,i=e.pathRef;if(!(r&&r.length||o))return null;var a=r&&r.length?function(e){var t,n=e.type,r=void 0===n?"linear":n,o=e.points,i=void 0===o?[]:o,a=e.baseLine,s=e.layout,l=e.connectNulls,c=void 0!==l&&l,u=function(e,t){if(jk(e))return e;var n="curve".concat(qR(e));return"curveMonotone"!==n&&"curveBump"!==n||!t?AZ[n]||lP:AZ["".concat(n).concat("vertical"===t?"Y":"X")]}(r,s),d=c?i.filter((function(e){return EZ(e)})):i;if(Array.isArray(a)){var f=c?a.filter((function(e){return EZ(e)})):a,h=d.map((function(e,t){return yZ(yZ({},e),{},{base:f[t]})}));return(t="vertical"===s?fP().y(kZ).x1(SZ).x0((function(e){return e.base.x})):fP().x(SZ).y1(kZ).y0((function(e){return e.base.y}))).defined(EZ).curve(u),t(h)}return(t="vertical"===s&&DO(a)?fP().y(kZ).x1(SZ).x0(a):DO(a)?fP().x(SZ).y1(kZ).y0(a):dP().x(SZ).y(kZ)).defined(EZ).curve(u),t(d)}(e):o;return n.createElement("path",mZ({},fR(e,!1),GO(e),{className:Kt("recharts-curve",t),d:a,ref:i}))},OZ={exports:{}};OZ.exports=function(){if(CZ)return wZ;CZ=1;var e=xZ?bZ:(xZ=1,bZ="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED");function t(){}function n(){}return n.resetWarningCache=t,wZ=function(){function r(t,n,r,o,i,a){if(a!==e){var s=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw s.name="Invariant Violation",s}}function o(){return r}r.isRequired=r;var i={array:r,bigint:r,bool:r,func:r,number:r,object:r,string:r,symbol:r,any:r,arrayOf:o,element:r,elementType:r,instanceOf:o,node:r,objectOf:o,oneOf:o,oneOfType:o,shape:o,exact:o,checkPropTypes:n,resetWarningCache:t};return i.PropTypes=i,i},wZ}()();const RZ=qe(OZ.exports);var PZ=Object.getOwnPropertyNames,jZ=Object.getOwnPropertySymbols,TZ=Object.prototype.hasOwnProperty;function MZ(e,t){return function(n,r,o){return e(n,r,o)&&t(n,r,o)}}function NZ(e){return function(t,n,r){if(!t||!n||"object"!=typeof t||"object"!=typeof n)return e(t,n,r);var o=r.cache,i=o.get(t),a=o.get(n);if(i&&a)return i===n&&a===t;o.set(t,n),o.set(n,t);var s=e(t,n,r);return o.delete(t),o.delete(n),s}}function LZ(e){return PZ(e).concat(jZ(e))}var DZ=Object.hasOwn||function(e,t){return TZ.call(e,t)};function IZ(e,t){return e||t?e===t:e===t||e!=e&&t!=t}var FZ="_owner",BZ=Object.getOwnPropertyDescriptor,zZ=Object.keys;function VZ(e,t,n){var r=e.length;if(t.length!==r)return!1;for(;r-- >0;)if(!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function HZ(e,t){return IZ(e.getTime(),t.getTime())}function WZ(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.entries(),s=0;(r=a.next())&&!r.done;){for(var l=t.entries(),c=!1,u=0;(o=l.next())&&!o.done;){var d=r.value,f=d[0],h=d[1],p=o.value,m=p[0],g=p[1];!c&&!i[u]&&(c=n.equals(f,m,s,u,e,t,n)&&n.equals(h,g,f,m,e,t,n))&&(i[u]=!0),u++}if(!c)return!1;s++}return!0}function UZ(e,t,n){var r,o=zZ(e),i=o.length;if(zZ(t).length!==i)return!1;for(;i-- >0;)if((r=o[i])===FZ&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!DZ(t,r)||!n.equals(e[r],t[r],r,r,e,t,n))return!1;return!0}function ZZ(e,t,n){var r,o,i,a=LZ(e),s=a.length;if(LZ(t).length!==s)return!1;for(;s-- >0;)if((r=a[s])===FZ&&(e.$$typeof||t.$$typeof)&&e.$$typeof!==t.$$typeof||!DZ(t,r)||!n.equals(e[r],t[r],r,r,e,t,n)||(o=BZ(e,r),i=BZ(t,r),(o||i)&&(!o||!i||o.configurable!==i.configurable||o.enumerable!==i.enumerable||o.writable!==i.writable)))return!1;return!0}function qZ(e,t){return IZ(e.valueOf(),t.valueOf())}function YZ(e,t){return e.source===t.source&&e.flags===t.flags}function KZ(e,t,n){if(e.size!==t.size)return!1;for(var r,o,i={},a=e.values();(r=a.next())&&!r.done;){for(var s=t.values(),l=!1,c=0;(o=s.next())&&!o.done;)!l&&!i[c]&&(l=n.equals(r.value,o.value,r.value,o.value,e,t,n))&&(i[c]=!0),c++;if(!l)return!1}return!0}function QZ(e,t){var n=e.length;if(t.length!==n)return!1;for(;n-- >0;)if(e[n]!==t[n])return!1;return!0}var GZ=Array.isArray,XZ="function"==typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView:null,JZ=Object.assign,$Z=Object.prototype.toString.call.bind(Object.prototype.toString),eq=tq();function tq(e){void 0===e&&(e={});var t=e.circular,n=void 0!==t&&t,r=e.createInternalComparator,o=e.createState,i=e.strict,a=void 0!==i&&i,s=function(e){var t=e.circular,n=e.createCustomConfig,r=e.strict,o={areArraysEqual:r?ZZ:VZ,areDatesEqual:HZ,areMapsEqual:r?MZ(WZ,ZZ):WZ,areObjectsEqual:r?ZZ:UZ,arePrimitiveWrappersEqual:qZ,areRegExpsEqual:YZ,areSetsEqual:r?MZ(KZ,ZZ):KZ,areTypedArraysEqual:r?ZZ:QZ};if(n&&(o=JZ({},o,n(o))),t){var i=NZ(o.areArraysEqual),a=NZ(o.areMapsEqual),s=NZ(o.areObjectsEqual),l=NZ(o.areSetsEqual);o=JZ({},o,{areArraysEqual:i,areMapsEqual:a,areObjectsEqual:s,areSetsEqual:l})}return o}(e),l=function(e){var t=e.areArraysEqual,n=e.areDatesEqual,r=e.areMapsEqual,o=e.areObjectsEqual,i=e.arePrimitiveWrappersEqual,a=e.areRegExpsEqual,s=e.areSetsEqual,l=e.areTypedArraysEqual;return function(e,c,u){if(e===c)return!0;if(null==e||null==c||"object"!=typeof e||"object"!=typeof c)return e!=e&&c!=c;var d=e.constructor;if(d!==c.constructor)return!1;if(d===Object)return o(e,c,u);if(GZ(e))return t(e,c,u);if(null!=XZ&&XZ(e))return l(e,c,u);if(d===Date)return n(e,c,u);if(d===RegExp)return a(e,c,u);if(d===Map)return r(e,c,u);if(d===Set)return s(e,c,u);var f=$Z(e);return"[object Date]"===f?n(e,c,u):"[object RegExp]"===f?a(e,c,u):"[object Map]"===f?r(e,c,u):"[object Set]"===f?s(e,c,u):"[object Object]"===f?"function"!=typeof e.then&&"function"!=typeof c.then&&o(e,c,u):"[object Arguments]"===f?o(e,c,u):("[object Boolean]"===f||"[object Number]"===f||"[object String]"===f)&&i(e,c,u)}}(s),c=r?r(l):function(e){return function(t,n,r,o,i,a,s){return e(t,n,s)}}(l);return function(e){var t=e.circular,n=e.comparator,r=e.createState,o=e.equals,i=e.strict;if(r)return function(e,a){var s=r(),l=s.cache,c=void 0===l?t?new WeakMap:void 0:l,u=s.meta;return n(e,a,{cache:c,equals:o,meta:u,strict:i})};if(t)return function(e,t){return n(e,t,{cache:new WeakMap,equals:o,meta:void 0,strict:i})};var a={cache:void 0,equals:o,meta:void 0,strict:i};return function(e,t){return n(e,t,a)}}({circular:n,comparator:l,createState:o,equals:c,strict:a})}function nq(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0,n=-1;requestAnimationFrame((function r(o){n<0&&(n=o),o-n>t?(e(o),n=-1):function(e){typeof requestAnimationFrame<"u"&&requestAnimationFrame(e)}(r)}))}function rq(e){return(rq="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})(e)}function oq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function iq(){var e=function(){return null},t=!1,n=function n(r){if(!t){if(Array.isArray(r)){if(!r.length)return;var o=function(e){return function(e){if(Array.isArray(e))return e}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return oq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return oq(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r),i=o[0],a=o.slice(1);return"number"==typeof i?void nq(n.bind(null,a),i):(n(i),void nq(n.bind(null,a)))}"object"===rq(r)&&e(r),"function"==typeof r&&r()}};return{stop:function(){t=!0},start:function(e){t=!1,n(e)},subscribe:function(t){return e=t,function(){e=function(){return null}}}}}function aq(e){return(aq="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})(e)}function sq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function lq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sq(Object(n),!0).forEach((function(t){cq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function cq(e,t,n){return t=function(e){var t=function(e){if("object"!==aq(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==aq(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===aq(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}tq({strict:!0}),tq({circular:!0}),tq({circular:!0,strict:!0}),tq({createInternalComparator:function(){return IZ}}),tq({strict:!0,createInternalComparator:function(){return IZ}}),tq({circular:!0,createInternalComparator:function(){return IZ}}),tq({circular:!0,createInternalComparator:function(){return IZ},strict:!0});var uq=function(e){return e},dq=function(e,t){return Object.keys(t).reduce((function(n,r){return lq(lq({},n),{},cq({},r,e(r,t[r])))}),{})},fq=function(e,t,n){return e.map((function(e){return"".concat(function(e){return e.replace(/([A-Z])/g,(function(e){return"-".concat(e.toLowerCase())}))}(e)," ").concat(t,"ms ").concat(n)})).join(",")};function hq(e,t){if(e){if("string"==typeof e)return pq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return pq(e,t)}}function pq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var mq=1e-4,gq=function(e,t){return[0,3*e,3*t-6*e,3*e-3*t+1]},yq=function(e,t){return e.map((function(e,n){return e*Math.pow(t,n)})).reduce((function(e,t){return e+t}))},vq=function(e,t){return function(n){var r=gq(e,t);return yq(r,n)}},bq=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0],o=t[1],i=t[2],a=t[3];if(1===t.length)switch(t[0]){case"linear":r=0,o=0,i=1,a=1;break;case"ease":r=.25,o=.1,i=.25,a=1;break;case"ease-in":r=.42,o=0,i=1,a=1;break;case"ease-out":r=.42,o=0,i=.58,a=1;break;case"ease-in-out":r=0,o=0,i=.58,a=1;break;default:var s=t[0].split("(");if("cubic-bezier"===s[0]&&4===s[1].split(")")[0].split(",").length){var l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||hq(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(s[1].split(")")[0].split(",").map((function(e){return parseFloat(e)})),4);r=l[0],o=l[1],i=l[2],a=l[3]}}[r,i,o,a].every((function(e){return"number"==typeof e&&e>=0&&e<=1}));var c=vq(r,i),u=vq(o,a),d=function(e,t){return function(n){var r=gq(e,t),o=[].concat(function(e){return function(e){if(Array.isArray(e))return pq(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||hq(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(r.map((function(e,t){return e*t})).slice(1)),[0]);return yq(o,n)}}(r,i),f=function(e){return e>1?1:e<0?0:e},h=function(e){for(var t=e>1?1:e,n=t,r=0;r<8;++r){var o=c(n)-t,i=d(n);if(Math.abs(o-t)<mq||i<mq)return u(n);n=f(n-o/i)}return u(n)};return h.isStepper=!1,h};function xq(e){return(xq="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})(e)}function wq(e){return function(e){if(Array.isArray(e))return kq(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Sq(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Cq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Aq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Cq(Object(n),!0).forEach((function(t){Eq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Cq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Eq(e,t,n){return t=function(e){var t=function(e){if("object"!==xq(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==xq(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===xq(t)?t:String(t)}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Sq(e,t){if(e){if("string"==typeof e)return kq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return kq(e,t)}}function kq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var _q=function(e,t,n){return e+(t-e)*n},Oq=function(e){return e.from!==e.to},Rq=function e(t,n,r){var o=dq((function(e,n){if(Oq(n)){var r=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||Sq(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(t(n.from,n.to,n.velocity),2),o=r[0],i=r[1];return Aq(Aq({},n),{},{from:o,velocity:i})}return n}),n);return r<1?dq((function(e,t){return Oq(t)?Aq(Aq({},t),{},{velocity:_q(t.velocity,o[e].velocity,r),from:_q(t.from,o[e].from,r)}):t}),n):e(t,o,r-1)};function Pq(e){return(Pq="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})(e)}var jq=["children","begin","duration","attributeName","easing","isActive","steps","from","to","canBegin","onAnimationEnd","shouldReAnimate","onAnimationReStart"];function Tq(e){return function(e){if(Array.isArray(e))return Mq(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return Mq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Mq(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Mq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function Nq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Lq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Nq(Object(n),!0).forEach((function(t){Dq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Nq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Dq(e,t,n){return(t=Iq(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Iq(e){var t=function(e){if("object"!==Pq(e)||null===e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!==Pq(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"===Pq(t)?t:String(t)}function Fq(e,t){return Fq=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Fq(e,t)}function Bq(e,t){if(t&&("object"===Pq(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return zq(e)}function zq(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vq(e){return(Vq=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}var Hq=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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Fq(e,t)}(r,e);var t=function(e){var t=function(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch{return!1}}();return function(){var n,r=Vq(e);if(t){var o=Vq(this).constructor;n=Reflect.construct(r,arguments,o)}else n=r.apply(this,arguments);return Bq(this,n)}}(r);function r(e,n){var o;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r);var i=(o=t.call(this,e,n)).props,a=i.isActive,s=i.attributeName,l=i.from,c=i.to,u=i.steps,d=i.children,f=i.duration;if(o.handleStyleChange=o.handleStyleChange.bind(zq(o)),o.changeStyle=o.changeStyle.bind(zq(o)),!a||f<=0)return o.state={style:{}},"function"==typeof d&&(o.state={style:c}),Bq(o);if(u&&u.length)o.state={style:u[0].style};else if(l){if("function"==typeof d)return o.state={style:l},Bq(o);o.state={style:s?Dq({},s,l):l}}else o.state={style:{}};return o}return function(e,t){t&&function(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,Iq(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1})}(r,[{key:"componentDidMount",value:function(){var e=this.props,t=e.isActive,n=e.canBegin;this.mounted=!0,t&&n&&this.runAnimation(this.props)}},{key:"componentDidUpdate",value:function(e){var t=this.props,n=t.isActive,r=t.canBegin,o=t.attributeName,i=t.shouldReAnimate,a=t.to,s=t.from,l=this.state.style;if(r){if(!n){var c={style:o?Dq({},o,a):a};return void(this.state&&l&&(o&&l[o]!==a||!o&&l!==a)&&this.setState(c))}if(!(eq(e.to,a)&&e.canBegin&&e.isActive)){var u=!e.canBegin||!e.isActive;this.manager&&this.manager.stop(),this.stopJSAnimation&&this.stopJSAnimation();var d=u||i?s:e.to;if(this.state&&l){var f={style:o?Dq({},o,d):d};(o&&l[o]!==d||!o&&l!==d)&&this.setState(f)}this.runAnimation(Lq(Lq({},this.props),{},{from:d,begin:0}))}}}},{key:"componentWillUnmount",value:function(){this.mounted=!1;var e=this.props.onAnimationEnd;this.unSubscribe&&this.unSubscribe(),this.manager&&(this.manager.stop(),this.manager=null),this.stopJSAnimation&&this.stopJSAnimation(),e&&e()}},{key:"handleStyleChange",value:function(e){this.changeStyle(e)}},{key:"changeStyle",value:function(e){this.mounted&&this.setState({style:e})}},{key:"runJSAnimation",value:function(e){var t=this,n=e.from,r=e.to,o=e.duration,i=e.easing,a=e.begin,s=e.onAnimationEnd,l=e.onAnimationStart,c=function(e,t,n,r,o){var i,a,s=function(e,t){return[Object.keys(e),Object.keys(t)].reduce((function(e,t){return e.filter((function(e){return t.includes(e)}))}))}(e,t),l=s.reduce((function(n,r){return Aq(Aq({},n),{},Eq({},r,[e[r],t[r]]))}),{}),c=s.reduce((function(n,r){return Aq(Aq({},n),{},Eq({},r,{from:e[r],velocity:0,to:t[r]}))}),{}),u=-1,d=function(){return null};return d=n.isStepper?function(r){i||(i=r);var a=(r-i)/n.dt;c=Rq(n,c,a),o(Aq(Aq(Aq({},e),t),dq((function(e,t){return t.from}),c))),i=r,!Object.values(c).filter(Oq).length||(u=requestAnimationFrame(d))}:function(i){a||(a=i);var s=(i-a)/r,c=dq((function(e,t){return _q.apply(void 0,wq(t).concat([n(s)]))}),l);if(o(Aq(Aq(Aq({},e),t),c)),s<1)u=requestAnimationFrame(d);else{var f=dq((function(e,t){return _q.apply(void 0,wq(t).concat([n(1)]))}),l);o(Aq(Aq(Aq({},e),t),f))}},function(){return requestAnimationFrame(d),function(){cancelAnimationFrame(u)}}}(n,r,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];var r=t[0];if("string"==typeof r)switch(r){case"ease":case"ease-in-out":case"ease-out":case"ease-in":case"linear":return bq(r);case"spring":return function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.stiff,n=void 0===t?100:t,r=e.damping,o=void 0===r?8:r,i=e.dt,a=void 0===i?17:i,s=function(e,t,r){var i=r+(-(e-t)*n-r*o)*a/1e3,s=r*a/1e3+e;return Math.abs(s-t)<mq&&Math.abs(i)<mq?[t,0]:[s,i]};return s.isStepper=!0,s.dt=a,s}();default:if("cubic-bezier"===r.split("(")[0])return bq(r)}return"function"==typeof r?r:null}(i),o,this.changeStyle);this.manager.start([l,a,function(){t.stopJSAnimation=c()},o,s])}},{key:"runStepAnimation",value:function(e){var t=this,n=e.steps,r=e.begin,o=e.onAnimationStart,i=n[0],a=i.style,s=i.duration,l=void 0===s?0:s;return this.manager.start([o].concat(Tq(n.reduce((function(e,r,o){if(0===o)return e;var i=r.duration,a=r.easing,s=void 0===a?"ease":a,l=r.style,c=r.properties,u=r.onAnimationEnd,d=o>0?n[o-1]:r,f=c||Object.keys(l);if("function"==typeof s||"spring"===s)return[].concat(Tq(e),[t.runJSAnimation.bind(t,{from:d.style,to:l,duration:i,easing:s}),i]);var h=fq(f,i,s),p=Lq(Lq(Lq({},d.style),l),{},{transition:h});return[].concat(Tq(e),[p,i,u]).filter(uq)}),[a,Math.max(l,r)])),[e.onAnimationEnd]))}},{key:"runAnimation",value:function(e){this.manager||(this.manager=iq());var t=e.begin,n=e.duration,r=e.attributeName,o=e.to,i=e.easing,a=e.onAnimationStart,s=e.onAnimationEnd,l=e.steps,c=e.children,u=this.manager;if(this.unSubscribe=u.subscribe(this.handleStyleChange),"function"!=typeof i&&"function"!=typeof c&&"spring"!==i)if(l.length>1)this.runStepAnimation(e);else{var d=r?Dq({},r,o):o,f=fq(Object.keys(d),n,i);u.start([a,t,Lq(Lq({},d),{},{transition:f}),n,s])}else this.runJSAnimation(e)}},{key:"render",value:function(){var e=this.props,t=e.children;e.begin;var r=e.duration;e.attributeName,e.easing;var o=e.isActive;e.steps,e.from,e.to,e.canBegin,e.onAnimationEnd,e.shouldReAnimate,e.onAnimationReStart;var i=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n,r,o={},i=Object.keys(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&(o[n]=e[n]);return o}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,jq),a=n.Children.count(t),s=this.state.style;if("function"==typeof t)return t(s);if(!o||0===a||r<=0)return t;var l=function(e){var t=e.props,r=t.style,o=void 0===r?{}:r,a=t.className;return(0,n.cloneElement)(e,Lq(Lq({},i),{},{style:Lq(Lq({},o),s),className:a}))};return 1===a?l(n.Children.only(t)):n.createElement("div",null,n.Children.map(t,(function(e){return l(e)})))}}]),r}(n.PureComponent);function Wq(e){return(Wq="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})(e)}function Uq(){return Uq=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},Uq.apply(this,arguments)}function Zq(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function qq(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function Yq(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qq(Object(n),!0).forEach((function(t){Kq(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qq(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function Kq(e,t,n){return t=function(e){var t=function(e){if("object"!=Wq(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Wq(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Wq(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}Hq.displayName="Animate",Hq.defaultProps={begin:0,duration:1e3,from:"",to:"",attributeName:"",easing:"ease",isActive:!0,canBegin:!0,steps:[],onAnimationEnd:function(){},onAnimationStart:function(){}},Hq.propTypes={from:RZ.oneOfType([RZ.object,RZ.string]),to:RZ.oneOfType([RZ.object,RZ.string]),attributeName:RZ.string,duration:RZ.number,begin:RZ.number,easing:RZ.oneOfType([RZ.string,RZ.func]),steps:RZ.arrayOf(RZ.shape({duration:RZ.number.isRequired,style:RZ.object.isRequired,easing:RZ.oneOfType([RZ.oneOf(["ease","ease-in","ease-out","ease-in-out","linear"]),RZ.func]),properties:RZ.arrayOf("string"),onAnimationEnd:RZ.func})),children:RZ.oneOfType([RZ.node,RZ.func]),isActive:RZ.bool,canBegin:RZ.bool,onAnimationEnd:RZ.func,shouldReAnimate:RZ.bool,onAnimationStart:RZ.func,onAnimationReStart:RZ.func},RZ.object,RZ.object,RZ.object,RZ.element,RZ.object,RZ.object,RZ.object,RZ.oneOfType([RZ.array,RZ.element]),RZ.any;var Qq=function(e,t,n,r,o){var i,a=Math.min(Math.abs(n)/2,Math.abs(r)/2),s=r>=0?1:-1,l=n>=0?1:-1,c=r>=0&&n>=0||r<0&&n<0?1:0;if(a>0&&o instanceof Array){for(var u=[0,0,0,0],d=0;d<4;d++)u[d]=o[d]>a?a:o[d];i="M".concat(e,",").concat(t+s*u[0]),u[0]>0&&(i+="A ".concat(u[0],",").concat(u[0],",0,0,").concat(c,",").concat(e+l*u[0],",").concat(t)),i+="L ".concat(e+n-l*u[1],",").concat(t),u[1]>0&&(i+="A ".concat(u[1],",").concat(u[1],",0,0,").concat(c,",\n        ").concat(e+n,",").concat(t+s*u[1])),i+="L ".concat(e+n,",").concat(t+r-s*u[2]),u[2]>0&&(i+="A ".concat(u[2],",").concat(u[2],",0,0,").concat(c,",\n        ").concat(e+n-l*u[2],",").concat(t+r)),i+="L ".concat(e+l*u[3],",").concat(t+r),u[3]>0&&(i+="A ".concat(u[3],",").concat(u[3],",0,0,").concat(c,",\n        ").concat(e,",").concat(t+r-s*u[3])),i+="Z"}else if(a>0&&o===+o&&o>0){var f=Math.min(a,o);i="M ".concat(e,",").concat(t+s*f,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+l*f,",").concat(t,"\n            L ").concat(e+n-l*f,",").concat(t,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n,",").concat(t+s*f,"\n            L ").concat(e+n,",").concat(t+r-s*f,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e+n-l*f,",").concat(t+r,"\n            L ").concat(e+l*f,",").concat(t+r,"\n            A ").concat(f,",").concat(f,",0,0,").concat(c,",").concat(e,",").concat(t+r-s*f," Z")}else i="M ".concat(e,",").concat(t," h ").concat(n," v ").concat(r," h ").concat(-n," Z");return i},Gq=function(e,t){if(!e||!t)return!1;var n=e.x,r=e.y,o=t.x,i=t.y,a=t.width,s=t.height;if(Math.abs(a)>0&&Math.abs(s)>0){var l=Math.min(o,o+a),c=Math.max(o,o+a),u=Math.min(i,i+s),d=Math.max(i,i+s);return n>=l&&n<=c&&r>=u&&r<=d}return!1},Xq={x:0,y:0,width:0,height:0,radius:0,isAnimationActive:!1,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},Jq=function(e){var t=Yq(Yq({},Xq),e),r=(0,n.useRef)(),o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zq(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return Zq(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)(-1),2),i=o[0],a=o[1];(0,n.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch{}}),[]);var s=t.x,l=t.y,c=t.width,u=t.height,d=t.radius,f=t.className,h=t.animationEasing,p=t.animationDuration,m=t.animationBegin,g=t.isAnimationActive,y=t.isUpdateAnimationActive;if(s!==+s||l!==+l||c!==+c||u!==+u||0===c||0===u)return null;var v=Kt("recharts-rectangle",f);return y?n.createElement(Hq,{canBegin:i>0,from:{width:c,height:u,x:s,y:l},to:{width:c,height:u,x:s,y:l},duration:p,animationEasing:h,isActive:y},(function(e){var o=e.width,a=e.height,s=e.x,l=e.y;return n.createElement(Hq,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:p,isActive:g,easing:h},n.createElement("path",Uq({},fR(t,!0),{className:v,d:Qq(s,l,o,a,d),ref:r})))})):n.createElement("path",Uq({},fR(t,!0),{className:v,d:Qq(s,l,c,u,d)}))},$q=["points","className","baseLinePoints","connectNulls"];function eY(){return eY=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},eY.apply(this,arguments)}function tY(e){return function(e){if(Array.isArray(e))return nY(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return nY(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return nY(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function nY(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}var rY=function(e){return e&&e.x===+e.x&&e.y===+e.y},oY=function(e,t){var n=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],t=[[]];return e.forEach((function(e){rY(e)?t[t.length-1].push(e):t[t.length-1].length>0&&t.push([])})),rY(e[0])&&t[t.length-1].push(e[0]),t[t.length-1].length<=0&&(t=t.slice(0,-1)),t}(e);t&&(n=[n.reduce((function(e,t){return[].concat(tY(e),tY(t))}),[])]);var r=n.map((function(e){return e.reduce((function(e,t,n){return"".concat(e).concat(0===n?"M":"L").concat(t.x,",").concat(t.y)}),"")})).join("");return 1===n.length?"".concat(r,"Z"):r},iY=function(e){var t=e.points,r=e.className,o=e.baseLinePoints,i=e.connectNulls,a=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,$q);if(!t||!t.length)return null;var s=Kt("recharts-polygon",r);if(o&&o.length){var l=a.stroke&&"none"!==a.stroke,c=function(e,t,n){var r=oY(e,n);return"".concat("Z"===r.slice(-1)?r.slice(0,-1):r,"L").concat(oY(t.reverse(),n).slice(1))}(t,o,i);return n.createElement("g",{className:s},n.createElement("path",eY({},fR(a,!0),{fill:"Z"===c.slice(-1)?a.fill:"none",stroke:"none",d:c})),l?n.createElement("path",eY({},fR(a,!0),{fill:"none",d:oY(t,i)})):null,l?n.createElement("path",eY({},fR(a,!0),{fill:"none",d:oY(o,i)})):null)}var u=oY(t,i);return n.createElement("path",eY({},fR(a,!0),{fill:"Z"===u.slice(-1)?a.fill:"none",className:s,d:u}))};function aY(){return aY=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},aY.apply(this,arguments)}var sY=function(e){var t=e.cx,r=e.cy,o=e.r,i=Kt("recharts-dot",e.className);return t===+t&&r===+r&&o===+o?n.createElement("circle",aY({},fR(e,!1),GO(e),{className:i,cx:t,cy:r,r:o})):null};function lY(e){return(lY="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})(e)}var cY=["x","y","top","left","width","height","className"];function uY(){return uY=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},uY.apply(this,arguments)}function dY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fY(e,t,n){return t=function(e){var t=function(e){if("object"!=lY(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lY(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lY(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var hY=function(e,t,n,r,o,i){return"M".concat(e,",").concat(o,"v").concat(r,"M").concat(i,",").concat(t,"h").concat(n)},pY=function(e){var t=e.x,r=void 0===t?0:t,o=e.y,i=void 0===o?0:o,a=e.top,s=void 0===a?0:a,l=e.left,c=void 0===l?0:l,u=e.width,d=void 0===u?0:u,f=e.height,h=void 0===f?0:f,p=e.className,m=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dY(Object(n),!0).forEach((function(t){fY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({x:r,y:i,top:s,left:c,width:d,height:h},function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,cY));return DO(r)&&DO(i)&&DO(d)&&DO(h)&&DO(s)&&DO(c)?n.createElement("path",uY({},fR(m,!0),{className:Kt("recharts-cross",p),d:hY(r,i,d,h,s,c)})):null},mY=uH,gY=dH,yY=mN,vY=function(e,t){return e&&e.length?mY(e,yY(t),gY):void 0};const bY=qe(vY);var xY=uH,wY=mN,CY=yH,AY=function(e,t){return e&&e.length?xY(e,wY(t),CY):void 0};const EY=qe(AY);var SY=["cx","cy","angle","ticks","axisLine"],kY=["ticks","tick","angle","tickFormatter","stroke"];function _Y(e){return(_Y="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})(e)}function OY(){return OY=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},OY.apply(this,arguments)}function RY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RY(Object(n),!0).forEach((function(t){DY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jY(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function TY(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,IY(r.key),r)}}function MY(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(MY=function(){return!!e})()}function NY(e){return(NY=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function LY(e,t){return LY=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},LY(e,t)}function DY(e,t,n){return(t=IY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function IY(e){var t=function(e){if("object"!=_Y(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=_Y(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_Y(t)?t:t+""}var FY=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=NY(t),function(e,t){if(t&&("object"===_Y(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,MY()?Reflect.construct(t,n||[],NY(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&LY(e,t)}(t,e),function(e,t,n){return t&&TY(e.prototype,t),n&&TY(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"getTickValueCoord",value:function(e){var t=e.coordinate,n=this.props,r=n.angle,o=n.cx,i=n.cy;return TU(o,i,t,r)}},{key:"getTickTextAnchor",value:function(){var e;switch(this.props.orientation){case"left":e="end";break;case"right":e="start";break;default:e="middle"}return e}},{key:"getViewBox",value:function(){var e=this.props,t=e.cx,n=e.cy,r=e.angle,o=e.ticks,i=bY(o,(function(e){return e.coordinate||0}));return{cx:t,cy:n,startAngle:r,endAngle:r,innerRadius:EY(o,(function(e){return e.coordinate||0})).coordinate||0,outerRadius:i.coordinate||0}}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,r=e.cy,o=e.angle,i=e.ticks,a=e.axisLine,s=jY(e,SY),l=i.reduce((function(e,t){return[Math.min(e[0],t.coordinate),Math.max(e[1],t.coordinate)]}),[1/0,-1/0]),c=TU(t,r,l[0],o),u=TU(t,r,l[1],o),d=PY(PY(PY({},fR(s,!1)),{},{fill:"none"},fR(a,!1)),{},{x1:c.x,y1:c.y,x2:u.x,y2:u.y});return n.createElement("line",OY({className:"recharts-polar-radius-axis-line"},d))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.angle,s=r.tickFormatter,l=r.stroke,c=jY(r,kY),u=this.getTickTextAnchor(),d=fR(c,!1),f=fR(i,!1),h=o.map((function(r,o){var c=e.getTickValueCoord(r),h=PY(PY(PY(PY({textAnchor:u,transform:"rotate(".concat(90-a,", ").concat(c.x,", ").concat(c.y,")")},d),{},{stroke:"none",fill:l},f),{},{index:o},c),{},{payload:r});return n.createElement(CR,OY({className:Kt("recharts-polar-radius-axis-tick",DU(i)),key:"tick-".concat(r.coordinate)},XO(e.props,r,o)),t.renderTickItem(i,h,s?s(r.value,o):r.value))}));return n.createElement(CR,{className:"recharts-polar-radius-axis-ticks"},h)}},{key:"render",value:function(){var e=this.props,t=e.ticks,r=e.axisLine,o=e.tick;return t&&t.length?n.createElement(CR,{className:Kt("recharts-polar-radius-axis",this.props.className)},r&&this.renderAxisLine(),o&&this.renderTicks(),UU.renderCallByParent(this.props,this.getViewBox())):null}}],[{key:"renderTickItem",value:function(e,t,r){return n.isValidElement(e)?n.cloneElement(e,t):jk(e)?e(t):n.createElement(RI,OY({},t,{className:"recharts-polar-radius-axis-tick-value"}),r)}}])}(n.PureComponent);function BY(e){return(BY="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})(e)}function zY(){return zY=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},zY.apply(this,arguments)}function VY(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function HY(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?VY(Object(n),!0).forEach((function(t){YY(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):VY(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function WY(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,KY(r.key),r)}}function UY(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(UY=function(){return!!e})()}function ZY(e){return(ZY=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qY(e,t){return qY=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qY(e,t)}function YY(e,t,n){return(t=KY(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KY(e){var t=function(e){if("object"!=BY(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=BY(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==BY(t)?t:t+""}DY(FY,"displayName","PolarRadiusAxis"),DY(FY,"axisType","radiusAxis"),DY(FY,"defaultProps",{type:"number",radiusAxisId:0,cx:0,cy:0,angle:0,orientation:"right",stroke:"#ccc",axisLine:!0,tick:!0,tickCount:5,allowDataOverflow:!1,scale:"auto",allowDuplicatedCategory:!0});var QY=Math.PI/180,GY=1e-5,XY=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=ZY(t),function(e,t){if(t&&("object"===BY(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,UY()?Reflect.construct(t,n||[],ZY(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qY(e,t)}(t,e),function(e,t,n){return t&&WY(e.prototype,t),n&&WY(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"getTickLineCoord",value:function(e){var t=this.props,n=t.cx,r=t.cy,o=t.radius,i=t.orientation,a=t.tickSize||8,s=TU(n,r,o,e.coordinate),l=TU(n,r,o+("inner"===i?-1:1)*a,e.coordinate);return{x1:s.x,y1:s.y,x2:l.x,y2:l.y}}},{key:"getTickTextAnchor",value:function(e){var t=this.props.orientation,n=Math.cos(-e.coordinate*QY);return n>GY?"outer"===t?"start":"end":n<-GY?"outer"===t?"end":"start":"middle"}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.cx,r=e.cy,o=e.radius,i=e.axisLine,a=e.axisLineType,s=HY(HY({},fR(this.props,!1)),{},{fill:"none"},fR(i,!1));if("circle"===a)return n.createElement(sY,zY({className:"recharts-polar-angle-axis-line"},s,{cx:t,cy:r,r:o}));var l=this.props.ticks.map((function(e){return TU(t,r,o,e.coordinate)}));return n.createElement(iY,zY({className:"recharts-polar-angle-axis-line"},s,{points:l}))}},{key:"renderTicks",value:function(){var e=this,r=this.props,o=r.ticks,i=r.tick,a=r.tickLine,s=r.tickFormatter,l=r.stroke,c=fR(this.props,!1),u=fR(i,!1),d=HY(HY({},c),{},{fill:"none"},fR(a,!1)),f=o.map((function(r,o){var f=e.getTickLineCoord(r),h=HY(HY(HY({textAnchor:e.getTickTextAnchor(r)},c),{},{stroke:"none",fill:l},u),{},{index:o,payload:r,x:f.x2,y:f.y2});return n.createElement(CR,zY({className:Kt("recharts-polar-angle-axis-tick",DU(i)),key:"tick-".concat(r.coordinate)},XO(e.props,r,o)),a&&n.createElement("line",zY({className:"recharts-polar-angle-axis-tick-line"},d,f)),i&&t.renderTickItem(i,h,s?s(r.value,o):r.value))}));return n.createElement(CR,{className:"recharts-polar-angle-axis-ticks"},f)}},{key:"render",value:function(){var e=this.props,t=e.ticks,r=e.radius,o=e.axisLine;return r<=0||!t||!t.length?null:n.createElement(CR,{className:Kt("recharts-polar-angle-axis",this.props.className)},o&&this.renderAxisLine(),this.renderTicks())}}],[{key:"renderTickItem",value:function(e,t,r){return n.isValidElement(e)?n.cloneElement(e,t):jk(e)?e(t):n.createElement(RI,zY({},t,{className:"recharts-polar-angle-axis-tick-value"}),r)}}])}(n.PureComponent);YY(XY,"displayName","PolarAngleAxis"),YY(XY,"axisType","angleAxis"),YY(XY,"defaultProps",{type:"category",angleAxisId:0,scale:"auto",cx:0,cy:0,orientation:"outer",axisLine:!0,tickLine:!0,tickSize:8,tick:!0,hide:!1,allowDuplicatedCategory:!0});var JY=NT(Object.getPrototypeOf,Object),$Y=gk,eK=JY,tK=yk,nK=Function.prototype,rK=Object.prototype,oK=nK.toString,iK=rK.hasOwnProperty,aK=oK.call(Object),sK=function(e){if(!tK(e)||"[object Object]"!=$Y(e))return!1;var t=eK(e);if(null===t)return!0;var n=iK.call(t,"constructor")&&t.constructor;return"function"==typeof n&&n instanceof n&&oK.call(n)==aK};const lK=qe(sK);var cK=gk,uK=yk,dK=function(e){return!0===e||!1===e||uK(e)&&"[object Boolean]"==cK(e)};const fK=qe(dK);function hK(e){return(hK="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})(e)}function pK(){return pK=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},pK.apply(this,arguments)}function mK(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function yK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gK(Object(n),!0).forEach((function(t){vK(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gK(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function vK(e,t,n){return t=function(e){var t=function(e){if("object"!=hK(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=hK(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hK(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var bK,xK=function(e,t,n,r,o){var i,a=n-r;return i="M ".concat(e,",").concat(t),i+="L ".concat(e+n,",").concat(t),i+="L ".concat(e+n-a/2,",").concat(t+o),(i+="L ".concat(e+n-a/2-r,",").concat(t+o))+"L ".concat(e,",").concat(t," Z")},wK={x:0,y:0,upperWidth:0,lowerWidth:0,height:0,isUpdateAnimationActive:!1,animationBegin:0,animationDuration:1500,animationEasing:"ease"},CK=function(e){var t=yK(yK({},wK),e),r=(0,n.useRef)(),o=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return mK(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mK(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)(-1),2),i=o[0],a=o[1];(0,n.useEffect)((function(){if(r.current&&r.current.getTotalLength)try{var e=r.current.getTotalLength();e&&a(e)}catch{}}),[]);var s=t.x,l=t.y,c=t.upperWidth,u=t.lowerWidth,d=t.height,f=t.className,h=t.animationEasing,p=t.animationDuration,m=t.animationBegin,g=t.isUpdateAnimationActive;if(s!==+s||l!==+l||c!==+c||u!==+u||d!==+d||0===c&&0===u||0===d)return null;var y=Kt("recharts-trapezoid",f);return g?n.createElement(Hq,{canBegin:i>0,from:{upperWidth:0,lowerWidth:0,height:d,x:s,y:l},to:{upperWidth:c,lowerWidth:u,height:d,x:s,y:l},duration:p,animationEasing:h,isActive:g},(function(e){var o=e.upperWidth,a=e.lowerWidth,s=e.height,l=e.x,c=e.y;return n.createElement(Hq,{canBegin:i>0,from:"0px ".concat(-1===i?1:i,"px"),to:"".concat(i,"px 0px"),attributeName:"strokeDasharray",begin:m,duration:p,easing:h},n.createElement("path",pK({},fR(t,!0),{className:y,d:xK(l,c,o,a,s),ref:r})))})):n.createElement("g",null,n.createElement("path",pK({},fR(t,!0),{className:y,d:xK(s,l,c,u,d)})))},AK=["option","shapeType","propTransformer","activeClassName","isActive"];function EK(e){return(EK="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})(e)}function SK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function kK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?SK(Object(n),!0).forEach((function(t){_K(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):SK(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function _K(e,t,n){return t=function(e){var t=function(e){if("object"!=EK(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=EK(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==EK(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OK(e,t){return kK(kK({},t),e)}function RK(e){var t=e.shapeType,r=e.elementProps;switch(t){case"rectangle":return n.createElement(Jq,r);case"trapezoid":return n.createElement(CK,r);case"sector":return n.createElement(hZ,r);case"symbols":if(function(e){return"symbols"===e}(t))return n.createElement(ij,r);break;default:return null}}function PK(e){var t,r=e.option,o=e.shapeType,i=e.propTransformer,a=void 0===i?OK:i,s=e.activeClassName,l=void 0===s?"recharts-active-shape":s,c=e.isActive,u=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,AK);if((0,n.isValidElement)(r))t=(0,n.cloneElement)(r,kK(kK({},u),function(e){return(0,n.isValidElement)(e)?e.props:e}(r)));else if(jk(r))t=r(u);else if(lK(r)&&!fK(r)){var d=a(r,u);t=n.createElement(RK,{shapeType:o,elementProps:d})}else{var f=u;t=n.createElement(RK,{shapeType:o,elementProps:f})}return c?n.createElement(CR,{className:l},t):t}function jK(e,t){return null!=t&&"trapezoids"in e.props}function TK(e,t){return null!=t&&"sectors"in e.props}function MK(e,t){return null!=t&&"points"in e.props}function NK(e,t){var n,r,o=e.x===(null==t||null===(n=t.labelViewBox)||void 0===n?void 0:n.x)||e.x===t.x,i=e.y===(null==t||null===(r=t.labelViewBox)||void 0===r?void 0:r.y)||e.y===t.y;return o&&i}function LK(e,t){var n=e.endAngle===t.endAngle,r=e.startAngle===t.startAngle;return n&&r}function DK(e,t){var n=e.x===t.x,r=e.y===t.y,o=e.z===t.z;return n&&r&&o}function IK(e){var t=e.activeTooltipItem,n=e.graphicalItem,r=e.itemData,o=function(e,t){var n;return jK(e,t)?n="trapezoids":TK(e,t)?n="sectors":MK(e,t)&&(n="points"),n}(n,t),i=function(e,t){var n,r;return jK(e,t)?null===(n=t.tooltipPayload)||void 0===n||null===(n=n[0])||void 0===n||null===(n=n.payload)||void 0===n?void 0:n.payload:TK(e,t)?null===(r=t.tooltipPayload)||void 0===r||null===(r=r[0])||void 0===r||null===(r=r.payload)||void 0===r?void 0:r.payload:MK(e,t)?t.payload:{}}(n,t),a=r.filter((function(e,r){var a=MH(i,e),s=n.props[o].filter((function(e){var r=function(e,t){var n;return jK(e,t)?n=NK:TK(e,t)?n=LK:MK(e,t)&&(n=DK),n}(n,t);return r(e,t)})),l=n.props[o].indexOf(s[s.length-1]);return a&&r===l}));return r.indexOf(a[a.length-1])}function FK(e){return(FK="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})(e)}function BK(){return BK=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},BK.apply(this,arguments)}function zK(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function VK(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zK(Object(n),!0).forEach((function(t){qK(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zK(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function HK(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,YK(r.key),r)}}function WK(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(WK=function(){return!!e})()}function UK(e){return(UK=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function ZK(e,t){return ZK=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},ZK(e,t)}function qK(e,t,n){return(t=YK(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YK(e){var t=function(e){if("object"!=FK(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=FK(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==FK(t)?t:t+""}var KK=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),qK(n=function(e,t,n){return t=UK(t),function(e,t){if(t&&("object"===FK(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,WK()?Reflect.construct(t,n||[],UK(e).constructor):t.apply(e,n))}(this,t,[e]),"pieRef",null),qK(n,"sectorRefs",[]),qK(n,"id",BO("recharts-pie-")),qK(n,"handleAnimationEnd",(function(){var e=n.props.onAnimationEnd;n.setState({isAnimationFinished:!0}),jk(e)&&e()})),qK(n,"handleAnimationStart",(function(){var e=n.props.onAnimationStart;n.setState({isAnimationFinished:!1}),jk(e)&&e()})),n.state={isAnimationFinished:!e.isAnimationActive,prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,sectorToFocus:0},n}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&ZK(e,t)}(t,e),function(e,t,n){return t&&HK(e.prototype,t),n&&HK(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"isActiveIndex",value:function(e){var t=this.props.activeIndex;return Array.isArray(t)?-1!==t.indexOf(e):e===t}},{key:"hasActiveIndex",value:function(){var e=this.props.activeIndex;return Array.isArray(e)?0!==e.length:e||0===e}},{key:"renderLabels",value:function(e){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.label,i=r.labelLine,a=r.dataKey,s=r.valueKey,l=fR(this.props,!1),c=fR(o,!1),u=fR(i,!1),d=o&&o.offsetRadius||20,f=e.map((function(e,r){var f=(e.startAngle+e.endAngle)/2,h=TU(e.cx,e.cy,e.outerRadius+d,f),p=VK(VK(VK(VK({},l),e),{},{stroke:"none"},c),{},{index:r,textAnchor:t.getTextAnchor(h.x,e.cx)},h),m=VK(VK(VK(VK({},l),e),{},{fill:"none",stroke:e.fill},u),{},{index:r,points:[TU(e.cx,e.cy,e.outerRadius,f),h]}),g=a;return yO(a)&&yO(s)?g="value":yO(a)&&(g=s),n.createElement(CR,{key:"label-".concat(e.startAngle,"-").concat(e.endAngle,"-").concat(e.midAngle,"-").concat(r)},i&&t.renderLabelLineItem(i,m,"line"),t.renderLabelItem(o,p,eU(e,g)))}));return n.createElement(CR,{className:"recharts-pie-labels"},f)}},{key:"renderSectorsStatically",value:function(e){var t=this,r=this.props,o=r.activeShape,i=r.blendStroke,a=r.inactiveShape;return e.map((function(r,s){if(0===(null==r?void 0:r.startAngle)&&0===(null==r?void 0:r.endAngle)&&1!==e.length)return null;var l=t.isActiveIndex(s),c=a&&t.hasActiveIndex()?a:null,u=l?o:c,d=VK(VK({},r),{},{stroke:i?r.fill:r.stroke,tabIndex:-1});return n.createElement(CR,BK({ref:function(e){e&&!t.sectorRefs.includes(e)&&t.sectorRefs.push(e)},tabIndex:-1,className:"recharts-pie-sector"},XO(t.props,r,s),{key:"sector-".concat(null==r?void 0:r.startAngle,"-").concat(null==r?void 0:r.endAngle,"-").concat(r.midAngle,"-").concat(s)}),n.createElement(PK,BK({option:u,isActive:l,shapeType:"sector"},d)))}))}},{key:"renderSectorsWithAnimation",value:function(){var e=this,t=this.props,r=t.sectors,o=t.isAnimationActive,i=t.animationBegin,a=t.animationDuration,s=t.animationEasing,l=t.animationId,c=this.state,u=c.prevSectors,d=c.prevIsAnimationActive;return n.createElement(Hq,{begin:i,duration:a,isActive:o,easing:s,from:{t:0},to:{t:1},key:"pie-".concat(l,"-").concat(d),onAnimationStart:this.handleAnimationStart,onAnimationEnd:this.handleAnimationEnd},(function(t){var o=t.t,i=[],a=(r&&r[0]).startAngle;return r.forEach((function(e,t){var n=u&&u[t],r=t>0?mO(e,"paddingAngle",0):0;if(n){var s=HO(n.endAngle-n.startAngle,e.endAngle-e.startAngle),l=VK(VK({},e),{},{startAngle:a+r,endAngle:a+s(o)+r});i.push(l),a=l.endAngle}else{var c=e.endAngle,d=e.startAngle,f=HO(0,c-d)(o),h=VK(VK({},e),{},{startAngle:a+r,endAngle:a+f+r});i.push(h),a=h.endAngle}})),n.createElement(CR,null,e.renderSectorsStatically(i))}))}},{key:"attachKeyboardHandlers",value:function(e){var t=this;e.onkeydown=function(e){if(!e.altKey)switch(e.key){case"ArrowLeft":var n=++t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[n].focus(),t.setState({sectorToFocus:n});break;case"ArrowRight":var r=--t.state.sectorToFocus<0?t.sectorRefs.length-1:t.state.sectorToFocus%t.sectorRefs.length;t.sectorRefs[r].focus(),t.setState({sectorToFocus:r});break;case"Escape":t.sectorRefs[t.state.sectorToFocus].blur(),t.setState({sectorToFocus:0})}}}},{key:"renderSectors",value:function(){var e=this.props,t=e.sectors,n=e.isAnimationActive,r=this.state.prevSectors;return!(n&&t&&t.length)||r&&MH(r,t)?this.renderSectorsStatically(t):this.renderSectorsWithAnimation()}},{key:"componentDidMount",value:function(){this.pieRef&&this.attachKeyboardHandlers(this.pieRef)}},{key:"render",value:function(){var e=this,t=this.props,r=t.hide,o=t.sectors,i=t.className,a=t.label,s=t.cx,l=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.isAnimationActive,f=this.state.isAnimationFinished;if(r||!o||!o.length||!DO(s)||!DO(l)||!DO(c)||!DO(u))return null;var h=Kt("recharts-pie",i);return n.createElement(CR,{tabIndex:this.props.rootTabIndex,className:h,ref:function(t){e.pieRef=t}},this.renderSectors(),a&&this.renderLabels(o),UU.renderCallByParent(this.props,null,!1),(!d||f)&&oZ.renderCallByParent(this.props,o,!1))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return t.prevIsAnimationActive!==e.isAnimationActive?{prevIsAnimationActive:e.isAnimationActive,prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:[],isAnimationFinished:!0}:e.isAnimationActive&&e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curSectors:e.sectors,prevSectors:t.curSectors,isAnimationFinished:!0}:e.sectors!==t.curSectors?{curSectors:e.sectors,isAnimationFinished:!0}:null}},{key:"getTextAnchor",value:function(e,t){return e>t?"start":e<t?"end":"middle"}},{key:"renderLabelLineItem",value:function(e,t,r){if(n.isValidElement(e))return n.cloneElement(e,t);if(jk(e))return e(t);var o=Kt("recharts-pie-label-line","boolean"!=typeof e?e.className:"");return n.createElement(_Z,BK({},t,{key:r,type:"linear",className:o}))}},{key:"renderLabelItem",value:function(e,t,r){if(n.isValidElement(e))return n.cloneElement(e,t);var o=r;if(jk(e)&&(o=e(t),n.isValidElement(o)))return o;var i=Kt("recharts-pie-label-text","boolean"==typeof e||jk(e)?"":e.className);return n.createElement(RI,BK({},t,{alignmentBaseline:"middle",className:i}),o)}}])}(n.PureComponent);bK=KK,qK(KK,"displayName","Pie"),qK(KK,"defaultProps",{stroke:"#fff",fill:"#808080",legendType:"rect",cx:"50%",cy:"50%",startAngle:0,endAngle:360,innerRadius:0,outerRadius:"80%",paddingAngle:0,labelLine:!0,hide:!1,minAngle:0,isAnimationActive:!uD.isSsr,animationBegin:400,animationDuration:1500,animationEasing:"ease",nameKey:"name",blendStroke:!1,rootTabIndex:0}),qK(KK,"parseDeltaAngle",(function(e,t){return NO(t-e)*Math.min(Math.abs(t-e),360)})),qK(KK,"getRealPieData",(function(e){var t=e.data,n=e.children,r=fR(e,!1),o=sR(n,KD);return t&&t.length?t.map((function(e,t){return VK(VK(VK({payload:e},r),e),o&&o[t]&&o[t].props)})):o&&o.length?o.map((function(e){return VK(VK({},r),e.props)})):[]})),qK(KK,"parseCoordinateOfPie",(function(e,t){var n=t.top,r=t.left,o=t.width,i=t.height,a=MU(o,i);return{cx:r+zO(e.cx,o,o/2),cy:n+zO(e.cy,i,i/2),innerRadius:zO(e.innerRadius,a,0),outerRadius:zO(e.outerRadius,a,.8*a),maxRadius:e.maxRadius||Math.sqrt(o*o+i*i)/2}})),qK(KK,"getComposedData",(function(e){var t=e.item,n=e.offset,r=void 0!==t.type.defaultProps?VK(VK({},t.type.defaultProps),t.props):t.props,o=bK.getRealPieData(r);if(!o||!o.length)return null;var i=r.cornerRadius,a=r.startAngle,s=r.endAngle,l=r.paddingAngle,c=r.dataKey,u=r.nameKey,d=r.valueKey,f=r.tooltipType,h=Math.abs(r.minAngle),p=bK.parseCoordinateOfPie(r,n),m=bK.parseDeltaAngle(a,s),g=Math.abs(m),y=c;yO(c)&&yO(d)?(AR(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated in 1.1.0'),y="value"):yO(c)&&(AR(!1,'Use "dataKey" to specify the value of pie,\n      the props "valueKey" will be deprecated in 1.1.0'),y=d);var v,b,x=o.filter((function(e){return 0!==eU(e,y,0)})).length,w=g-x*h-(g>=360?x:x-1)*l,C=o.reduce((function(e,t){var n=eU(t,y,0);return e+(DO(n)?n:0)}),0);return C>0&&(v=o.map((function(e,t){var n,r=eU(e,y,0),o=eU(e,u,t),s=(DO(r)?r:0)/C,c=(n=t?b.endAngle+NO(m)*l*(0!==r?1:0):a)+NO(m)*((0!==r?h:0)+s*w),d=(n+c)/2,g=(p.innerRadius+p.outerRadius)/2,v=[{name:o,value:r,payload:e,dataKey:y,type:f}],x=TU(p.cx,p.cy,g,d);return b=VK(VK(VK({percent:s,cornerRadius:i,name:o,tooltipPayload:v,midAngle:d,middleRadius:g,tooltipPosition:x},e),p),{},{value:eU(e,y),startAngle:n,endAngle:c,payload:e,paddingAngle:NO(m)*l})}))),VK(VK({},p),{},{sectors:v,data:o})}));var QK=Math.ceil,GK=Math.max,XK=TD,JK=1/0,$K=function(e){return e?(e=XK(e))===JK||e===-JK?17976931348623157e292*(e<0?-1:1):e==e?e:0:0===e?e:0},eQ=function(e,t,n,r){for(var o=-1,i=GK(QK((t-e)/(n||1)),0),a=Array(i);i--;)a[r?i:++o]=e,e+=n;return a},tQ=LL,nQ=$K;const rQ=qe(function(e){return function(t,n,r){return r&&"number"!=typeof r&&tQ(t,n,r)&&(n=r=void 0),t=nQ(t),void 0===n?(n=t,t=0):n=nQ(n),r=void 0===r?t<n?1:-1:nQ(r),eQ(t,n,r,e)}}());function oQ(e){return(oQ="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})(e)}function iQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function aQ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?iQ(Object(n),!0).forEach((function(t){sQ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):iQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function sQ(e,t,n){return t=function(e){var t=function(e){if("object"!=oQ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=oQ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==oQ(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var lQ=["Webkit","Moz","O","ms"];function cQ(e){return(cQ="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})(e)}function uQ(){return uQ=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},uQ.apply(this,arguments)}function dQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function fQ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?dQ(Object(n),!0).forEach((function(t){yQ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):dQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function hQ(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,vQ(r.key),r)}}function pQ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(pQ=function(){return!!e})()}function mQ(e){return(mQ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function gQ(e,t){return gQ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},gQ(e,t)}function yQ(e,t,n){return(t=vQ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vQ(e){var t=function(e){if("object"!=cQ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=cQ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cQ(t)?t:t+""}var bQ=function(e){return e.changedTouches&&!!e.changedTouches.length},xQ=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),yQ(n=function(e,t,n){return t=mQ(t),function(e,t){if(t&&("object"===cQ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,pQ()?Reflect.construct(t,n||[],mQ(e).constructor):t.apply(e,n))}(this,t,[e]),"handleDrag",(function(e){n.leaveTimer&&(clearTimeout(n.leaveTimer),n.leaveTimer=null),n.state.isTravellerMoving?n.handleTravellerMove(e):n.state.isSlideMoving&&n.handleSlideDrag(e)})),yQ(n,"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&n.handleDrag(e.changedTouches[0])})),yQ(n,"handleDragEnd",(function(){n.setState({isTravellerMoving:!1,isSlideMoving:!1},(function(){var e=n.props,t=e.endIndex,r=e.onDragEnd,o=e.startIndex;null==r||r({endIndex:t,startIndex:o})})),n.detachDragEndListener()})),yQ(n,"handleLeaveWrapper",(function(){(n.state.isTravellerMoving||n.state.isSlideMoving)&&(n.leaveTimer=window.setTimeout(n.handleDragEnd,n.props.leaveTimeOut))})),yQ(n,"handleEnterSlideOrTraveller",(function(){n.setState({isTextActive:!0})})),yQ(n,"handleLeaveSlideOrTraveller",(function(){n.setState({isTextActive:!1})})),yQ(n,"handleSlideDragStart",(function(e){var t=bQ(e)?e.changedTouches[0]:e;n.setState({isTravellerMoving:!1,isSlideMoving:!0,slideMoveStartX:t.pageX}),n.attachDragEndListener()})),n.travellerDragStartHandlers={startX:n.handleTravellerDragStart.bind(n,"startX"),endX:n.handleTravellerDragStart.bind(n,"endX")},n.state={},n}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&gQ(e,t)}(t,e),function(e,t,n){return t&&hQ(e.prototype,t),n&&hQ(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentWillUnmount",value:function(){this.leaveTimer&&(clearTimeout(this.leaveTimer),this.leaveTimer=null),this.detachDragEndListener()}},{key:"getIndex",value:function(e){var n=e.startX,r=e.endX,o=this.state.scaleValues,i=this.props,a=i.gap,s=i.data.length-1,l=Math.min(n,r),c=Math.max(n,r),u=t.getIndexInRange(o,l),d=t.getIndexInRange(o,c);return{startIndex:u-u%a,endIndex:d===s?s:d-d%a}}},{key:"getTextOfTick",value:function(e){var t=this.props,n=t.data,r=t.tickFormatter,o=t.dataKey,i=eU(n[e],o,e);return jk(r)?r(i,e):i}},{key:"attachDragEndListener",value:function(){window.addEventListener("mouseup",this.handleDragEnd,!0),window.addEventListener("touchend",this.handleDragEnd,!0),window.addEventListener("mousemove",this.handleDrag,!0)}},{key:"detachDragEndListener",value:function(){window.removeEventListener("mouseup",this.handleDragEnd,!0),window.removeEventListener("touchend",this.handleDragEnd,!0),window.removeEventListener("mousemove",this.handleDrag,!0)}},{key:"handleSlideDrag",value:function(e){var t=this.state,n=t.slideMoveStartX,r=t.startX,o=t.endX,i=this.props,a=i.x,s=i.width,l=i.travellerWidth,c=i.startIndex,u=i.endIndex,d=i.onChange,f=e.pageX-n;f>0?f=Math.min(f,a+s-l-o,a+s-l-r):f<0&&(f=Math.max(f,a-r,a-o));var h=this.getIndex({startX:r+f,endX:o+f});(h.startIndex!==c||h.endIndex!==u)&&d&&d(h),this.setState({startX:r+f,endX:o+f,slideMoveStartX:e.pageX})}},{key:"handleTravellerDragStart",value:function(e,t){var n=bQ(t)?t.changedTouches[0]:t;this.setState({isSlideMoving:!1,isTravellerMoving:!0,movingTravellerId:e,brushMoveStartX:n.pageX}),this.attachDragEndListener()}},{key:"handleTravellerMove",value:function(e){var t=this.state,n=t.brushMoveStartX,r=t.movingTravellerId,o=t.endX,i=t.startX,a=this.state[r],s=this.props,l=s.x,c=s.width,u=s.travellerWidth,d=s.onChange,f=s.gap,h=s.data,p={startX:this.state.startX,endX:this.state.endX},m=e.pageX-n;m>0?m=Math.min(m,l+c-u-a):m<0&&(m=Math.max(m,l-a)),p[r]=a+m;var g=this.getIndex(p),y=g.startIndex,v=g.endIndex;this.setState(yQ(yQ({},r,a+m),"brushMoveStartX",e.pageX),(function(){var e;d&&(e=h.length-1,"startX"===r&&(o>i?y%f==0:v%f==0)||o<i&&v===e||"endX"===r&&(o>i?v%f==0:y%f==0)||o>i&&v===e)&&d(g)}))}},{key:"handleTravellerMoveKeyboard",value:function(e,t){var n=this,r=this.state,o=r.scaleValues,i=r.startX,a=r.endX,s=this.state[t],l=o.indexOf(s);if(-1!==l){var c=l+e;if(!(-1===c||c>=o.length)){var u=o[c];"startX"===t&&u>=a||"endX"===t&&u<=i||this.setState(yQ({},t,u),(function(){n.props.onChange(n.getIndex({startX:n.state.startX,endX:n.state.endX}))}))}}}},{key:"renderBackground",value:function(){var e=this.props,t=e.x,r=e.y,o=e.width,i=e.height,a=e.fill,s=e.stroke;return n.createElement("rect",{stroke:s,fill:a,x:t,y:r,width:o,height:i})}},{key:"renderPanorama",value:function(){var e=this.props,t=e.x,r=e.y,o=e.width,i=e.height,a=e.data,s=e.children,l=e.padding,c=n.Children.only(s);return c?n.cloneElement(c,{x:t,y:r,width:o,height:i,margin:l,compact:!0,data:a}):null}},{key:"renderTravellerLayer",value:function(e,r){var o,i,a=this,s=this.props,l=s.y,c=s.travellerWidth,u=s.height,d=s.traveller,f=s.ariaLabel,h=s.data,p=s.startIndex,m=s.endIndex,g=Math.max(e,this.props.x),y=fQ(fQ({},fR(this.props,!1)),{},{x:g,y:l,width:c,height:u}),v=f||"Min value: ".concat(null===(o=h[p])||void 0===o?void 0:o.name,", Max value: ").concat(null===(i=h[m])||void 0===i?void 0:i.name);return n.createElement(CR,{tabIndex:0,role:"slider","aria-label":v,"aria-valuenow":e,className:"recharts-brush-traveller",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.travellerDragStartHandlers[r],onTouchStart:this.travellerDragStartHandlers[r],onKeyDown:function(e){["ArrowLeft","ArrowRight"].includes(e.key)&&(e.preventDefault(),e.stopPropagation(),a.handleTravellerMoveKeyboard("ArrowRight"===e.key?1:-1,r))},onFocus:function(){a.setState({isTravellerFocused:!0})},onBlur:function(){a.setState({isTravellerFocused:!1})},style:{cursor:"col-resize"}},t.renderTraveller(d,y))}},{key:"renderSlide",value:function(e,t){var r=this.props,o=r.y,i=r.height,a=r.stroke,s=r.travellerWidth,l=Math.min(e,t)+s,c=Math.max(Math.abs(t-e)-s,0);return n.createElement("rect",{className:"recharts-brush-slide",onMouseEnter:this.handleEnterSlideOrTraveller,onMouseLeave:this.handleLeaveSlideOrTraveller,onMouseDown:this.handleSlideDragStart,onTouchStart:this.handleSlideDragStart,style:{cursor:"move"},stroke:"none",fill:a,fillOpacity:.2,x:l,y:o,width:c,height:i})}},{key:"renderText",value:function(){var e=this.props,t=e.startIndex,r=e.endIndex,o=e.y,i=e.height,a=e.travellerWidth,s=e.stroke,l=this.state,c=l.startX,u=l.endX,d={pointerEvents:"none",fill:s};return n.createElement(CR,{className:"recharts-brush-texts"},n.createElement(RI,uQ({textAnchor:"end",verticalAnchor:"middle",x:Math.min(c,u)-5,y:o+i/2},d),this.getTextOfTick(t)),n.createElement(RI,uQ({textAnchor:"start",verticalAnchor:"middle",x:Math.max(c,u)+a+5,y:o+i/2},d),this.getTextOfTick(r)))}},{key:"render",value:function(){var e=this.props,t=e.data,r=e.className,o=e.children,i=e.x,a=e.y,s=e.width,l=e.height,c=e.alwaysShowText,u=this.state,d=u.startX,f=u.endX,h=u.isTextActive,p=u.isSlideMoving,m=u.isTravellerMoving,g=u.isTravellerFocused;if(!t||!t.length||!DO(i)||!DO(a)||!DO(s)||!DO(l)||s<=0||l<=0)return null;var y=Kt("recharts-brush",r),v=1===n.Children.count(o),b=function(e,t){var n=e.replace(/(\w)/,(function(e){return e.toUpperCase()})),r=lQ.reduce((function(e,r){return aQ(aQ({},e),{},sQ({},r+n,t))}),{});return r[e]=t,r}("userSelect","none");return n.createElement(CR,{className:y,onMouseLeave:this.handleLeaveWrapper,onTouchMove:this.handleTouchMove,style:b},this.renderBackground(),v&&this.renderPanorama(),this.renderSlide(d,f),this.renderTravellerLayer(d,"startX"),this.renderTravellerLayer(f,"endX"),(h||p||m||g||c)&&this.renderText())}}],[{key:"renderDefaultTraveller",value:function(e){var t=e.x,r=e.y,o=e.width,i=e.height,a=e.stroke,s=Math.floor(r+i/2)-1;return n.createElement(n.Fragment,null,n.createElement("rect",{x:t,y:r,width:o,height:i,fill:a,stroke:"none"}),n.createElement("line",{x1:t+1,y1:s,x2:t+o-1,y2:s,fill:"none",stroke:"#fff"}),n.createElement("line",{x1:t+1,y1:s+2,x2:t+o-1,y2:s+2,fill:"none",stroke:"#fff"}))}},{key:"renderTraveller",value:function(e,r){return n.isValidElement(e)?n.cloneElement(e,r):jk(e)?e(r):t.renderDefaultTraveller(r)}},{key:"getDerivedStateFromProps",value:function(e,t){var n=e.data,r=e.width,o=e.x,i=e.travellerWidth,a=e.updateId,s=e.startIndex,l=e.endIndex;if(n!==t.prevData||a!==t.prevUpdateId)return fQ({prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r},n&&n.length?function(e){var t=e.data,n=e.startIndex,r=e.endIndex,o=e.x,i=e.width,a=e.travellerWidth;if(!t||!t.length)return{};var s=t.length,l=oF().domain(rQ(0,s)).range([o,o+i-a]),c=l.domain().map((function(e){return l(e)}));return{isTextActive:!1,isSlideMoving:!1,isTravellerMoving:!1,isTravellerFocused:!1,startX:l(n),endX:l(r),scale:l,scaleValues:c}}({data:n,width:r,x:o,travellerWidth:i,startIndex:s,endIndex:l}):{scale:null,scaleValues:null});if(t.scale&&(r!==t.prevWidth||o!==t.prevX||i!==t.prevTravellerWidth)){t.scale.range([o,o+r-i]);var c=t.scale.domain().map((function(e){return t.scale(e)}));return{prevData:n,prevTravellerWidth:i,prevUpdateId:a,prevX:o,prevWidth:r,startX:t.scale(e.startIndex),endX:t.scale(e.endIndex),scaleValues:c}}return null}},{key:"getIndexInRange",value:function(e,t){for(var n=0,r=e.length-1;r-n>1;){var o=Math.floor((n+r)/2);e[o]>t?r=o:n=o}return t>=e[r]?r:n}}])}(n.PureComponent);yQ(xQ,"displayName","Brush"),yQ(xQ,"defaultProps",{height:40,travellerWidth:5,gap:1,fill:"#fff",stroke:"#666",padding:{top:1,right:1,bottom:1,left:1},leaveTimeOut:1e3,alwaysShowText:!1});var wQ=nL,CQ=Tj,AQ=mN,EQ=function(e,t){var n;return wQ(e,(function(e,r,o){return!(n=t(e,r,o))})),!!n},SQ=tk,kQ=LL,_Q=function(e,t,n){var r=SQ(e)?CQ:EQ;return n&&kQ(e,t,n)&&(t=void 0),r(e,AQ(t))};const OQ=qe(_Q);var RQ=function(e,t){var n=e.alwaysShow,r=e.ifOverflow;return n&&(r="extendDomain"),r===t},PQ=wL,jQ=function(e,t,n){"__proto__"==t&&PQ?PQ(e,t,{configurable:!0,enumerable:!0,value:n,writable:!0}):e[t]=n},TQ=eL,MQ=mN,NQ=function(e,t){var n={};return t=MQ(t),TQ(e,(function(e,r,o){jQ(n,r,t(e,r,o))})),n};const LQ=qe(NQ);var DQ=nL,IQ=function(e,t){for(var n=-1,r=null==e?0:e.length;++n<r;)if(!t(e[n],n,e))return!1;return!0},FQ=function(e,t){var n=!0;return DQ(e,(function(e,r,o){return n=!!t(e,r,o)})),n},BQ=mN,zQ=tk,VQ=LL,HQ=function(e,t,n){var r=zQ(e)?IQ:FQ;return n&&VQ(e,t,n)&&(t=void 0),r(e,BQ(t))};const WQ=qe(HQ);var UQ=["x","y"];function ZQ(e){return(ZQ="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})(e)}function qQ(){return qQ=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},qQ.apply(this,arguments)}function YQ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KQ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YQ(Object(n),!0).forEach((function(t){QQ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YQ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QQ(e,t,n){return t=function(e){var t=function(e){if("object"!=ZQ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ZQ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ZQ(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GQ(e,t){var n=e.x,r=e.y,o=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(e,UQ),i="".concat(n),a=parseInt(i,10),s="".concat(r),l=parseInt(s,10),c="".concat(t.height||o.height),u=parseInt(c,10),d="".concat(t.width||o.width),f=parseInt(d,10);return KQ(KQ(KQ(KQ(KQ({},t),o),a?{x:a}:{}),l?{y:l}:{}),{},{height:u,width:f,name:t.name,radius:t.radius})}function XQ(e){return n.createElement(PK,qQ({shapeType:"rectangle",propTransformer:GQ,activeClassName:"recharts-active-bar"},e))}var JQ,$Q=["value","background"];function eG(e){return(eG="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})(e)}function tG(){return tG=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},tG.apply(this,arguments)}function nG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function rG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?nG(Object(n),!0).forEach((function(t){lG(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):nG(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function oG(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,cG(r.key),r)}}function iG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(iG=function(){return!!e})()}function aG(e){return(aG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sG(e,t){return sG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sG(e,t)}function lG(e,t,n){return(t=cG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cG(e){var t=function(e){if("object"!=eG(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=eG(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==eG(t)?t:t+""}var uG=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return lG(e=function(e,t,n){return t=aG(t),function(e,t){if(t&&("object"===eG(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,iG()?Reflect.construct(t,n||[],aG(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"state",{isAnimationFinished:!1}),lG(e,"id",BO("recharts-bar-")),lG(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),t&&t()})),lG(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),t&&t()})),e}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sG(e,t)}(t,e),function(e,t,n){return t&&oG(e.prototype,t),n&&oG(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"renderRectanglesStatically",value:function(e){var t=this,r=this.props,o=r.shape,i=r.dataKey,a=r.activeIndex,s=r.activeBar,l=fR(this.props,!1);return e&&e.map((function(e,r){var c=r===a,u=c?s:o,d=rG(rG(rG({},l),e),{},{isActive:c,option:u,index:r,dataKey:i,onAnimationStart:t.handleAnimationStart,onAnimationEnd:t.handleAnimationEnd});return n.createElement(CR,tG({className:"recharts-bar-rectangle"},XO(t.props,e,r),{key:"rectangle-".concat(null==e?void 0:e.x,"-").concat(null==e?void 0:e.y,"-").concat(null==e?void 0:e.value)}),n.createElement(XQ,d))}))}},{key:"renderRectanglesWithAnimation",value:function(){var e=this,t=this.props,r=t.data,o=t.layout,i=t.isAnimationActive,a=t.animationBegin,s=t.animationDuration,l=t.animationEasing,c=t.animationId,u=this.state.prevData;return n.createElement(Hq,{begin:a,duration:s,isActive:i,easing:l,from:{t:0},to:{t:1},key:"bar-".concat(c),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(t){var i=t.t,a=r.map((function(e,t){var n=u&&u[t];if(n){var r=HO(n.x,e.x),a=HO(n.y,e.y),s=HO(n.width,e.width),l=HO(n.height,e.height);return rG(rG({},e),{},{x:r(i),y:a(i),width:s(i),height:l(i)})}if("horizontal"===o){var c=HO(0,e.height)(i);return rG(rG({},e),{},{y:e.y+e.height-c,height:c})}var d=HO(0,e.width)(i);return rG(rG({},e),{},{width:d})}));return n.createElement(CR,null,e.renderRectanglesStatically(a))}))}},{key:"renderRectangles",value:function(){var e=this.props,t=e.data,n=e.isAnimationActive,r=this.state.prevData;return!(n&&t&&t.length)||r&&MH(r,t)?this.renderRectanglesStatically(t):this.renderRectanglesWithAnimation()}},{key:"renderBackground",value:function(){var e=this,t=this.props,r=t.data,o=t.dataKey,i=t.activeIndex,a=fR(this.props.background,!1);return r.map((function(t,r){t.value;var s=t.background,l=function(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}(t,$Q);if(!s)return null;var c=rG(rG(rG(rG(rG({},l),{},{fill:"#eee"},s),a),XO(e.props,t,r)),{},{onAnimationStart:e.handleAnimationStart,onAnimationEnd:e.handleAnimationEnd,dataKey:o,index:r,className:"recharts-bar-background-rectangle"});return n.createElement(XQ,tG({key:"background-bar-".concat(r),option:e.props.background,isActive:r===i},c))}))}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.data,i=r.xAxis,a=r.yAxis,s=r.layout,l=sR(r.children,HW);if(!l)return null;var c="vertical"===s?o[0].height/2:o[0].width/2,u=function(e,t){var n=Array.isArray(e.value)?e.value[1]:e.value;return{x:e.x,y:e.y,value:n,errorVal:eU(e,t)}},d={clipPath:e?"url(#clipPath-".concat(t,")"):null};return n.createElement(CR,d,l.map((function(e){return n.cloneElement(e,{key:"error-bar-".concat(t,"-").concat(e.props.dataKey),data:o,xAxis:i,yAxis:a,layout:s,offset:c,dataPointFormatter:u})})))}},{key:"render",value:function(){var e=this.props,t=e.hide,r=e.data,o=e.className,i=e.xAxis,a=e.yAxis,s=e.left,l=e.top,c=e.width,u=e.height,d=e.isAnimationActive,f=e.background,h=e.id;if(t||!r||!r.length)return null;var p=this.state.isAnimationFinished,m=Kt("recharts-bar",o),g=i&&i.allowDataOverflow,y=a&&a.allowDataOverflow,v=g||y,b=yO(h)?this.id:h;return n.createElement(CR,{className:m},g||y?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(b)},n.createElement("rect",{x:g?s:s-c/2,y:y?l:l-u/2,width:g?c:2*c,height:y?u:2*u}))):null,n.createElement(CR,{className:"recharts-bar-rectangles",clipPath:v?"url(#clipPath-".concat(b,")"):null},f?this.renderBackground():null,this.renderRectangles()),this.renderErrorBar(v,b),(!d||p)&&oZ.renderCallByParent(this.props,r))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curData:e.data,prevData:t.curData}:e.data!==t.curData?{curData:e.data}:null}}])}(n.PureComponent);function dG(e){return(dG="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})(e)}function fG(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,gG(r.key),r)}}function hG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hG(Object(n),!0).forEach((function(t){mG(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hG(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mG(e,t,n){return(t=gG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function gG(e){var t=function(e){if("object"!=dG(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=dG(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==dG(t)?t:t+""}JQ=uG,lG(uG,"displayName","Bar"),lG(uG,"defaultProps",{xAxisId:0,yAxisId:0,legendType:"rect",minPointSize:0,hide:!1,data:[],layout:"vertical",activeBar:!1,isAnimationActive:!uD.isSsr,animationBegin:0,animationDuration:400,animationEasing:"ease"}),lG(uG,"getComposedData",(function(e){var t=e.props,n=e.item,r=e.barPosition,o=e.bandSize,i=e.xAxis,a=e.yAxis,s=e.xAxisTicks,l=e.yAxisTicks,c=e.stackedData,u=e.dataStartIndex,d=e.displayedData,f=e.offset,h=function(e,t){if(!e)return null;for(var n=0,r=e.length;n<r;n++)if(e[n].item===t)return e[n].position;return null}(r,n);if(!h)return null;var p=t.layout,m=n.type.defaultProps,g=void 0!==m?rG(rG({},m),n.props):n.props,y=g.dataKey,v=g.children,b=g.minPointSize,x="horizontal"===p?a:i,w=c?x.scale.domain():null,C=function(e){var t=e.numericAxis,n=t.scale.domain();if("number"===t.type){var r=Math.min(n[0],n[1]),o=Math.max(n[0],n[1]);return r<=0&&o>=0?0:o<0?o:r}return n[0]}({numericAxis:x}),A=sR(v,KD),E=d.map((function(e,t){var r,d,f,m,g,v;c?r=function(e,t){if(!t||2!==t.length||!DO(t[0])||!DO(t[1]))return e;var n=Math.min(t[0],t[1]),r=Math.max(t[0],t[1]),o=[e[0],e[1]];return(!DO(e[0])||e[0]<n)&&(o[0]=n),(!DO(e[1])||e[1]>r)&&(o[1]=r),o[0]>r&&(o[0]=r),o[1]<n&&(o[1]=n),o}(c[u+t],w):(r=eU(e,y),Array.isArray(r)||(r=[C,r]));var x=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:0;return function(n,r){if("number"==typeof e)return e;var o="number"==typeof n;return o?e(n,r):(o||TW(),t)}}(b,JQ.defaultProps.minPointSize)(r[1],t);if("horizontal"===p){var E,S=[a.scale(r[0]),a.scale(r[1])],k=S[0],_=S[1];d=yU({axis:i,ticks:s,bandSize:o,offset:h.offset,entry:e,index:t}),f=null!==(E=_??k)&&void 0!==E?E:void 0,m=h.size;var O=k-_;if(g=Number.isNaN(O)?0:O,v={x:d,y:a.y,width:m,height:a.height},Math.abs(x)>0&&Math.abs(g)<Math.abs(x)){var R=NO(g||x)*(Math.abs(x)-Math.abs(g));f-=R,g+=R}}else{var P=[i.scale(r[0]),i.scale(r[1])],j=P[0],T=P[1];d=j,f=yU({axis:a,ticks:l,bandSize:o,offset:h.offset,entry:e,index:t}),m=T-j,g=h.size,v={x:i.x,y:f,width:i.width,height:g},Math.abs(x)>0&&Math.abs(m)<Math.abs(x)&&(m+=NO(m||x)*(Math.abs(x)-Math.abs(m)))}return rG(rG(rG({},e),{},{x:d,y:f,width:m,height:g,value:c?r:r[1],payload:e,background:v},A&&A[t]&&A[t].props),{},{tooltipPayload:[EU(n,e)],tooltipPosition:{x:d+m/2,y:f+g/2}})}));return rG({data:E,layout:p},f)}));var yG=function(e,t,n,r,o){var i=e.width,a=e.height,s=e.layout,l=e.children,c=Object.keys(t),u={left:n.left,leftMirror:n.left,right:i-n.right,rightMirror:i-n.right,top:n.top,topMirror:n.top,bottom:a-n.bottom,bottomMirror:a-n.bottom},d=!!lR(l,uG);return c.reduce((function(i,a){var l,c,f,h,p,m=t[a],g=m.orientation,y=m.domain,v=m.padding,b=void 0===v?{}:v,x=m.mirror,w=m.reversed,C="".concat(g).concat(x?"Mirror":"");if("number"===m.type&&("gap"===m.padding||"no-gap"===m.padding)){var A=y[1]-y[0],E=1/0,S=m.categoricalDomain.sort();if(S.forEach((function(e,t){t>0&&(E=Math.min((e||0)-(S[t-1]||0),E))})),Number.isFinite(E)){var k=E/A,_="vertical"===m.layout?n.height:n.width;if("gap"===m.padding&&(l=k*_/2),"no-gap"===m.padding){var O=zO(e.barCategoryGap,k*_),R=k*_/2;l=R-O-(R-O)/_*O}}}c="xAxis"===r?[n.left+(b.left||0)+(l||0),n.left+n.width-(b.right||0)-(l||0)]:"yAxis"===r?"horizontal"===s?[n.top+n.height-(b.bottom||0),n.top+(b.top||0)]:[n.top+(b.top||0)+(l||0),n.top+n.height-(b.bottom||0)-(l||0)]:m.range,w&&(c=[c[1],c[0]]);var P=uU(m,o,d),j=P.scale,T=P.realScaleType;j.domain(y).range(c),fU(j);var M=mU(j,pG(pG({},m),{},{realScaleType:T}));"xAxis"===r?(p="top"===g&&!x||"bottom"===g&&x,f=n.left,h=u[C]-p*m.height):"yAxis"===r&&(p="left"===g&&!x||"right"===g&&x,f=u[C]-p*m.width,h=n.top);var N=pG(pG(pG({},m),M),{},{realScaleType:T,x:f,y:h,scale:j,width:"xAxis"===r?n.width:m.width,height:"yAxis"===r?n.height:m.height});return N.bandSize=CU(N,M),m.hide||"xAxis"!==r?m.hide||(u[C]+=(p?-1:1)*N.width):u[C]+=(p?-1:1)*N.height,pG(pG({},i),{},mG({},a,N))}),{})},vG=function(e,t){var n=e.x,r=e.y,o=t.x,i=t.y;return{x:Math.min(n,o),y:Math.min(r,i),width:Math.abs(o-n),height:Math.abs(i-r)}},bG=function(){function e(t){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),this.scale=t}return function(e,t,n){return t&&fG(e.prototype,t),n&&fG(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(e,[{key:"domain",get:function(){return this.scale.domain}},{key:"range",get:function(){return this.scale.range}},{key:"rangeMin",get:function(){return this.range()[0]}},{key:"rangeMax",get:function(){return this.range()[1]}},{key:"bandwidth",get:function(){return this.scale.bandwidth}},{key:"apply",value:function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=t.bandAware,r=t.position;if(void 0!==e){if(r)switch(r){case"start":default:return this.scale(e);case"middle":var o=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+o;case"end":var i=this.bandwidth?this.bandwidth():0;return this.scale(e)+i}if(n){var a=this.bandwidth?this.bandwidth()/2:0;return this.scale(e)+a}return this.scale(e)}}},{key:"isInRange",value:function(e){var t=this.range(),n=t[0],r=t[t.length-1];return n<=r?e>=n&&e<=r:e>=r&&e<=n}}],[{key:"create",value:function(t){return new e(t)}}])}();mG(bG,"EPS",1e-4);var xG=function(e){var t=Object.keys(e).reduce((function(t,n){return pG(pG({},t),{},mG({},n,bG.create(e[n])))}),{});return pG(pG({},t),{},{apply:function(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.bandAware,o=n.position;return LQ(e,(function(e,n){return t[n].apply(e,{bandAware:r,position:o})}))},isInRange:function(e){return WQ(e,(function(e,n){return t[n].isInRange(e)}))}})},wG=mN,CG=VT,AG=ZT,EG=$K,SG=gN,kG=mN,_G=function(e){var t=EG(e),n=t%1;return t==t?n?t-n:t:0},OG=Math.max;const RG=qe(function(e){return function(t,n,r){var o=Object(t);if(!CG(t)){var i=wG(n);t=AG(t),n=function(e){return i(o[e],e,o)}}var a=e(t,n,r);return a>-1?o[i?t[a]:a]:void 0}}((function(e,t,n){var r=null==e?0:e.length;if(!r)return-1;var o=null==n?0:_G(n);return o<0&&(o=OG(r+o,0)),SG(e,kG(t),o)})));var PG=W_((function(e){return{x:e.left,y:e.top,width:e.width,height:e.height}}),(function(e){return["l",e.left,"t",e.top,"w",e.width,"h",e.height].join("")})),jG=(0,n.createContext)(void 0),TG=(0,n.createContext)(void 0),MG=(0,n.createContext)(void 0),NG=(0,n.createContext)({}),LG=(0,n.createContext)(void 0),DG=(0,n.createContext)(0),IG=(0,n.createContext)(0),FG=function(e){var t=e.state,r=t.xAxisMap,o=t.yAxisMap,i=t.offset,a=e.clipPathId,s=e.children,l=e.width,c=e.height,u=PG(i);return n.createElement(jG.Provider,{value:r},n.createElement(TG.Provider,{value:o},n.createElement(NG.Provider,{value:i},n.createElement(MG.Provider,{value:u},n.createElement(LG.Provider,{value:a},n.createElement(DG.Provider,{value:c},n.createElement(IG.Provider,{value:l},s)))))))},BG=function(e){var t=(0,n.useContext)(jG);null==t&&TW();var r=t[e];return null==r&&TW(),r},zG=function(e){var t=(0,n.useContext)(TG);null==t&&TW();var r=t[e];return null==r&&TW(),r},VG=function(){return(0,n.useContext)(IG)},HG=function(){return(0,n.useContext)(DG)};function WG(e){return(WG="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})(e)}function UG(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(UG=function(){return!!e})()}function ZG(e){return(ZG=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function qG(e,t){return qG=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},qG(e,t)}function YG(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function KG(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?YG(Object(n),!0).forEach((function(t){QG(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):YG(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function QG(e,t,n){return(t=GG(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function GG(e){var t=function(e){if("object"!=WG(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=WG(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WG(t)?t:t+""}function XG(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function JG(){return JG=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},JG.apply(this,arguments)}function $G(e){var t=e.x,r=e.y,o=e.segment,i=e.xAxisId,a=e.yAxisId,s=e.shape,l=e.className,c=e.alwaysShow,u=(0,n.useContext)(LG),d=BG(i),f=zG(a),h=(0,n.useContext)(MG);if(!u||!h)return null;AR(void 0===c,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var p=function(e,t,n,r,o,i,a,s,l){var c=o.x,u=o.y,d=o.width,f=o.height;if(n){var h=l.y,p=e.y.apply(h,{position:i});if(RQ(l,"discard")&&!e.y.isInRange(p))return null;var m=[{x:c+d,y:p},{x:c,y:p}];return"left"===s?m.reverse():m}if(t){var g=l.x,y=e.x.apply(g,{position:i});if(RQ(l,"discard")&&!e.x.isInRange(y))return null;var v=[{x:y,y:u+f},{x:y,y:u}];return"top"===a?v.reverse():v}if(r){var b=l.segment.map((function(t){return e.apply(t,{position:i})}));return RQ(l,"discard")&&OQ(b,(function(t){return!e.isInRange(t)}))?null:b}return null}(xG({x:d.scale,y:f.scale}),IO(t),IO(r),o&&2===o.length,h,e.position,d.orientation,f.orientation,e);if(!p)return null;var m=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return XG(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return XG(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(p,2),g=m[0],y=g.x,v=g.y,b=m[1],x=b.x,w=b.y,C=KG(KG({clipPath:RQ(e,"hidden")?"url(#".concat(u,")"):void 0},fR(e,!0)),{},{x1:y,y1:v,x2:x,y2:w});return n.createElement(CR,{className:Kt("recharts-reference-line",l)},function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):jk(e)?e(t):n.createElement("line",JG({},t,{className:"recharts-reference-line-line"}))}(s,C),UU.renderCallByParent(e,function(e){return vG({x:e.x1,y:e.y1},{x:e.x2,y:e.y2})}({x1:y,y1:v,x2:x,y2:w})))}var eX=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=ZG(t),function(e,t){if(t&&("object"===WG(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,UG()?Reflect.construct(t,n||[],ZG(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&qG(e,t)}(t,e),function(e,t){return t&&function(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,GG(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){return n.createElement($G,this.props)}}])}(n.Component);function tX(){return tX=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},tX.apply(this,arguments)}function nX(e){return(nX="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})(e)}function rX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function oX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?rX(Object(n),!0).forEach((function(t){lX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):rX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function iX(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(iX=function(){return!!e})()}function aX(e){return(aX=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function sX(e,t){return sX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},sX(e,t)}function lX(e,t,n){return(t=cX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cX(e){var t=function(e){if("object"!=nX(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=nX(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==nX(t)?t:t+""}QG(eX,"displayName","ReferenceLine"),QG(eX,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,fill:"none",stroke:"#ccc",fillOpacity:1,strokeWidth:1,position:"middle"});var uX=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=aX(t),function(e,t){if(t&&("object"===nX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,iX()?Reflect.construct(t,n||[],aX(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&sX(e,t)}(t,e),function(e,t){return t&&function(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,cX(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,r=e.x,o=e.y,i=e.r,a=e.alwaysShow,s=e.clipPathId,l=IO(r),c=IO(o);if(AR(void 0===a,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.'),!l||!c)return null;var u=function(e){var t=e.x,n=e.y,r=e.xAxis,o=e.yAxis,i=xG({x:r.scale,y:o.scale}),a=i.apply({x:t,y:n},{bandAware:!0});return RQ(e,"discard")&&!i.isInRange(a)?null:a}(this.props);if(!u)return null;var d=u.x,f=u.y,h=this.props,p=h.shape,m=h.className,g=oX(oX({clipPath:RQ(this.props,"hidden")?"url(#".concat(s,")"):void 0},fR(this.props,!0)),{},{cx:d,cy:f});return n.createElement(CR,{className:Kt("recharts-reference-dot",m)},t.renderDot(p,g),UU.renderCallByParent(this.props,{x:d-i,y:f-i,width:2*i,height:2*i}))}}])}(n.Component);function dX(){return dX=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},dX.apply(this,arguments)}function fX(e){return(fX="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})(e)}function hX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function pX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?hX(Object(n),!0).forEach((function(t){vX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):hX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function mX(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(mX=function(){return!!e})()}function gX(e){return(gX=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function yX(e,t){return yX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},yX(e,t)}function vX(e,t,n){return(t=bX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function bX(e){var t=function(e){if("object"!=fX(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fX(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fX(t)?t:t+""}lX(uX,"displayName","ReferenceDot"),lX(uX,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#fff",stroke:"#ccc",fillOpacity:1,strokeWidth:1}),lX(uX,"renderDot",(function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):jk(e)?e(t):n.createElement(sY,tX({},t,{cx:t.cx,cy:t.cy,className:"recharts-reference-dot-dot"}))}));var xX=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=gX(t),function(e,t){if(t&&("object"===fX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,mX()?Reflect.construct(t,n||[],gX(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&yX(e,t)}(t,e),function(e,t){return t&&function(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,bX(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){var e=this.props,r=e.x1,o=e.x2,i=e.y1,a=e.y2,s=e.className,l=e.alwaysShow,c=e.clipPathId;AR(void 0===l,'The alwaysShow prop is deprecated. Please use ifOverflow="extendDomain" instead.');var u=IO(r),d=IO(o),f=IO(i),h=IO(a),p=this.props.shape;if(!(u||d||f||h||p))return null;var m=function(e,t,n,r,o){var i=o.x1,a=o.x2,s=o.y1,l=o.y2,c=o.xAxis,u=o.yAxis;if(!c||!u)return null;var d=xG({x:c.scale,y:u.scale}),f={x:e?d.x.apply(i,{position:"start"}):d.x.rangeMin,y:n?d.y.apply(s,{position:"start"}):d.y.rangeMin},h={x:t?d.x.apply(a,{position:"end"}):d.x.rangeMax,y:r?d.y.apply(l,{position:"end"}):d.y.rangeMax};return!RQ(o,"discard")||d.isInRange(f)&&d.isInRange(h)?vG(f,h):null}(u,d,f,h,this.props);if(!m&&!p)return null;var g=RQ(this.props,"hidden")?"url(#".concat(c,")"):void 0;return n.createElement(CR,{className:Kt("recharts-reference-area",s)},t.renderRect(p,pX(pX({clipPath:g},fR(this.props,!0)),m)),UU.renderCallByParent(this.props,m))}}])}(n.Component);function wX(e,t,n){if(t<1)return[];if(1===t&&void 0===n)return e;for(var r=[],o=0;o<e.length;o+=t)r.push(e[o]);return r}function CX(e,t,n,r,o){if(e*t<e*r||e*t>e*o)return!1;var i=n();return e*(t-e*i/2-r)>=0&&e*(t+e*i/2-o)<=0}function AX(e){return(AX="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})(e)}function EX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function SX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EX(Object(n),!0).forEach((function(t){kX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function kX(e,t,n){return t=function(e){var t=function(e){if("object"!=AX(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=AX(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==AX(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _X(e,t,n){var r=e.tick,o=e.ticks,i=e.viewBox,a=e.minTickGap,s=e.orientation,l=e.interval,c=e.tickFormatter,u=e.unit,d=e.angle;if(!o||!o.length||!r)return[];if(DO(l)||uD.isSsr)return function(e,t){return wX(e,t+1)}(o,"number"==typeof l&&DO(l)?l:0);var f=[],h="top"===s||"bottom"===s?"width":"height",p=u&&"width"===h?nI(u,{fontSize:t,letterSpacing:n}):{width:0,height:0},m=function(e,r){var o=jk(c)?c(e.value,r):e.value;return"width"===h?function(e,t,n){return function(e){var t=e.width,n=e.height,r=function(e){return(e%180+180)%180}(arguments.length>1&&void 0!==arguments[1]?arguments[1]:0),o=r*Math.PI/180,i=Math.atan(n/t),a=o>i&&o<Math.PI-i?n/Math.sin(o):t/Math.cos(o);return Math.abs(a)}({width:e.width+t.width,height:e.height+t.height},n)}(nI(o,{fontSize:t,letterSpacing:n}),p,d):nI(o,{fontSize:t,letterSpacing:n})[h]},g=o.length>=2?NO(o[1].coordinate-o[0].coordinate):1,y=function(e,t,n){var r="width"===n,o=e.x,i=e.y,a=e.width,s=e.height;return 1===t?{start:r?o:i,end:r?o+a:i+s}:{start:r?o+a:i+s,end:r?o:i}}(i,g,h);return"equidistantPreserveStart"===l?function(e,t,n,r,o){for(var i,a=(r||[]).slice(),s=t.start,l=t.end,c=0,u=1,d=s,f=function(){var t=null==r?void 0:r[c];if(void 0===t)return{v:wX(r,u)};var i,a=c,f=function(){return void 0===i&&(i=n(t,a)),i},h=t.coordinate,p=0===c||CX(e,h,f,d,l);p||(c=0,d=s,u+=1),p&&(d=h+e*(f()/2+o),c+=u)};u<=a.length;)if(i=f())return i.v;return[]}(g,y,m,o,a):(f="preserveStart"===l||"preserveStartEnd"===l?function(e,t,n,r,o,i){var a=(r||[]).slice(),s=a.length,l=t.start,c=t.end;if(i){var u=r[s-1],d=n(u,s-1),f=e*(u.coordinate+e*d/2-c);a[s-1]=u=SX(SX({},u),{},{tickCoord:f>0?u.coordinate-f*e:u.coordinate}),CX(e,u.tickCoord,(function(){return d}),l,c)&&(c=u.tickCoord-e*(d/2+o),a[s-1]=SX(SX({},u),{},{isShow:!0}))}for(var h=i?s-1:s,p=function(t){var r,i=a[t],s=function(){return void 0===r&&(r=n(i,t)),r};if(0===t){var u=e*(i.coordinate-e*s()/2-l);a[t]=i=SX(SX({},i),{},{tickCoord:u<0?i.coordinate-u*e:i.coordinate})}else a[t]=i=SX(SX({},i),{},{tickCoord:i.coordinate});CX(e,i.tickCoord,s,l,c)&&(l=i.tickCoord+e*(s()/2+o),a[t]=SX(SX({},i),{},{isShow:!0}))},m=0;m<h;m++)p(m);return a}(g,y,m,o,a,"preserveStartEnd"===l):function(e,t,n,r,o){for(var i=(r||[]).slice(),a=i.length,s=t.start,l=t.end,c=function(t){var r,c=i[t],u=function(){return void 0===r&&(r=n(c,t)),r};if(t===a-1){var d=e*(c.coordinate+e*u()/2-l);i[t]=c=SX(SX({},c),{},{tickCoord:d>0?c.coordinate-d*e:c.coordinate})}else i[t]=c=SX(SX({},c),{},{tickCoord:c.coordinate});CX(e,c.tickCoord,u,s,l)&&(l=c.tickCoord-e*(u()/2+o),i[t]=SX(SX({},c),{},{isShow:!0}))},u=a-1;u>=0;u--)c(u);return i}(g,y,m,o,a),f.filter((function(e){return e.isShow})))}vX(xX,"displayName","ReferenceArea"),vX(xX,"defaultProps",{isFront:!1,ifOverflow:"discard",xAxisId:0,yAxisId:0,r:10,fill:"#ccc",fillOpacity:.5,stroke:"none",strokeWidth:1}),vX(xX,"renderRect",(function(e,t){return n.isValidElement(e)?n.cloneElement(e,t):jk(e)?e(t):n.createElement(Jq,dX({},t,{className:"recharts-reference-area-rect"}))}));var OX=["viewBox"],RX=["viewBox"],PX=["ticks"];function jX(e){return(jX="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})(e)}function TX(){return TX=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},TX.apply(this,arguments)}function MX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function NX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?MX(Object(n),!0).forEach((function(t){zX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):MX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function LX(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function DX(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,VX(r.key),r)}}function IX(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(IX=function(){return!!e})()}function FX(e){return(FX=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function BX(e,t){return BX=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},BX(e,t)}function zX(e,t,n){return(t=VX(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VX(e){var t=function(e){if("object"!=jX(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=jX(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==jX(t)?t:t+""}var HX=function(e){function t(e){var n;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),(n=function(e,t,n){return t=FX(t),function(e,t){if(t&&("object"===jX(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,IX()?Reflect.construct(t,n||[],FX(e).constructor):t.apply(e,n))}(this,t,[e])).state={fontSize:"",letterSpacing:""},n}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&BX(e,t)}(t,e),function(e,t,n){return t&&DX(e.prototype,t),n&&DX(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"shouldComponentUpdate",value:function(e,t){var n=e.viewBox,r=LX(e,OX),o=this.props,i=o.viewBox,a=LX(o,RX);return!UO(n,i)||!UO(r,a)||!UO(t,this.state)}},{key:"componentDidMount",value:function(){var e=this.layerReference;if(e){var t=e.getElementsByClassName("recharts-cartesian-axis-tick-value")[0];t&&this.setState({fontSize:window.getComputedStyle(t).fontSize,letterSpacing:window.getComputedStyle(t).letterSpacing})}}},{key:"getTickLineCoord",value:function(e){var t,n,r,o,i,a,s=this.props,l=s.x,c=s.y,u=s.width,d=s.height,f=s.orientation,h=s.tickSize,p=s.mirror,m=s.tickMargin,g=p?-1:1,y=e.tickSize||h,v=DO(e.tickCoord)?e.tickCoord:e.coordinate;switch(f){case"top":t=n=e.coordinate,a=(r=(o=c+ +!p*d)-g*y)-g*m,i=v;break;case"left":r=o=e.coordinate,i=(t=(n=l+ +!p*u)-g*y)-g*m,a=v;break;case"right":r=o=e.coordinate,i=(t=(n=l+ +p*u)+g*y)+g*m,a=v;break;default:t=n=e.coordinate,a=(r=(o=c+ +p*d)+g*y)+g*m,i=v}return{line:{x1:t,y1:r,x2:n,y2:o},tick:{x:i,y:a}}}},{key:"getTickTextAnchor",value:function(){var e,t=this.props,n=t.orientation,r=t.mirror;switch(n){case"left":e=r?"start":"end";break;case"right":e=r?"end":"start";break;default:e="middle"}return e}},{key:"getTickVerticalAnchor",value:function(){var e=this.props,t=e.orientation,n=e.mirror,r="end";switch(t){case"left":case"right":r="middle";break;case"top":r=n?"start":"end";break;default:r=n?"end":"start"}return r}},{key:"renderAxisLine",value:function(){var e=this.props,t=e.x,r=e.y,o=e.width,i=e.height,a=e.orientation,s=e.mirror,l=e.axisLine,c=NX(NX(NX({},fR(this.props,!1)),fR(l,!1)),{},{fill:"none"});if("top"===a||"bottom"===a){var u=+("top"===a&&!s||"bottom"===a&&s);c=NX(NX({},c),{},{x1:t,y1:r+u*i,x2:t+o,y2:r+u*i})}else{var d=+("left"===a&&!s||"right"===a&&s);c=NX(NX({},c),{},{x1:t+d*o,y1:r,x2:t+d*o,y2:r+i})}return n.createElement("line",TX({},c,{className:Kt("recharts-cartesian-axis-line",mO(l,"className"))}))}},{key:"renderTicks",value:function(e,r,o){var i=this,a=this.props,s=a.tickLine,l=a.stroke,c=a.tick,u=a.tickFormatter,d=a.unit,f=_X(NX(NX({},this.props),{},{ticks:e}),r,o),h=this.getTickTextAnchor(),p=this.getTickVerticalAnchor(),m=fR(this.props,!1),g=fR(c,!1),y=NX(NX({},m),{},{fill:"none"},fR(s,!1)),v=f.map((function(e,r){var o=i.getTickLineCoord(e),a=o.line,v=o.tick,b=NX(NX(NX(NX({textAnchor:h,verticalAnchor:p},m),{},{stroke:"none",fill:l},g),v),{},{index:r,payload:e,visibleTicksCount:f.length,tickFormatter:u});return n.createElement(CR,TX({className:"recharts-cartesian-axis-tick",key:"tick-".concat(e.value,"-").concat(e.coordinate,"-").concat(e.tickCoord)},XO(i.props,e,r)),s&&n.createElement("line",TX({},y,a,{className:Kt("recharts-cartesian-axis-tick-line",mO(s,"className"))})),c&&t.renderTickItem(c,b,"".concat(jk(u)?u(e.value,r):e.value).concat(d||"")))}));return n.createElement("g",{className:"recharts-cartesian-axis-ticks"},v)}},{key:"render",value:function(){var e=this,t=this.props,r=t.axisLine,o=t.width,i=t.height,a=t.ticksGenerator,s=t.className;if(t.hide)return null;var l=this.props,c=l.ticks,u=LX(l,PX),d=c;return jk(a)&&(d=c&&c.length>0?a(this.props):a(u)),o<=0||i<=0||!d||!d.length?null:n.createElement(CR,{className:Kt("recharts-cartesian-axis",s),ref:function(t){e.layerReference=t}},r&&this.renderAxisLine(),this.renderTicks(d,this.state.fontSize,this.state.letterSpacing),UU.renderCallByParent(this.props))}}],[{key:"renderTickItem",value:function(e,t,r){return n.isValidElement(e)?n.cloneElement(e,t):jk(e)?e(t):n.createElement(RI,TX({},t,{className:"recharts-cartesian-axis-tick-value"}),r)}}])}(n.Component);zX(HX,"displayName","CartesianAxis"),zX(HX,"defaultProps",{x:0,y:0,width:0,height:0,viewBox:{x:0,y:0,width:0,height:0},orientation:"bottom",ticks:[],stroke:"#666",tickLine:!0,axisLine:!0,tick:!0,mirror:!1,minTickGap:5,tickSize:6,tickMargin:2,interval:"preserveEnd"});var WX=["x1","y1","x2","y2","key"],UX=["offset"];function ZX(e){return(ZX="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})(e)}function qX(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function YX(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?qX(Object(n),!0).forEach((function(t){KX(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):qX(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function KX(e,t,n){return t=function(e){var t=function(e){if("object"!=ZX(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ZX(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ZX(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QX(){return QX=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},QX.apply(this,arguments)}function GX(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}var XX=function(e){var t=e.fill;if(!t||"none"===t)return null;var r=e.fillOpacity,o=e.x,i=e.y,a=e.width,s=e.height,l=e.ry;return n.createElement("rect",{x:o,y:i,ry:l,width:a,height:s,stroke:"none",fill:t,fillOpacity:r,className:"recharts-cartesian-grid-bg"})};function JX(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(jk(e))r=e(t);else{var o=t.x1,i=t.y1,a=t.x2,s=t.y2,l=t.key,c=GX(t,WX),u=fR(c,!1);u.offset;var d=GX(u,UX);r=n.createElement("line",QX({},d,{x1:o,y1:i,x2:a,y2:s,fill:"none",key:l}))}return r}function $X(e){var t=e.x,r=e.width,o=e.horizontal,i=void 0===o||o,a=e.horizontalPoints;if(!i||!a||!a.length)return null;var s=a.map((function(n,o){var a=YX(YX({},e),{},{x1:t,y1:n,x2:t+r,y2:n,key:"line-".concat(o),index:o});return JX(i,a)}));return n.createElement("g",{className:"recharts-cartesian-grid-horizontal"},s)}function eJ(e){var t=e.y,r=e.height,o=e.vertical,i=void 0===o||o,a=e.verticalPoints;if(!i||!a||!a.length)return null;var s=a.map((function(n,o){var a=YX(YX({},e),{},{x1:n,y1:t,x2:n,y2:t+r,key:"line-".concat(o),index:o});return JX(i,a)}));return n.createElement("g",{className:"recharts-cartesian-grid-vertical"},s)}function tJ(e){var t=e.horizontalFill,r=e.fillOpacity,o=e.x,i=e.y,a=e.width,s=e.height,l=e.horizontalPoints,c=e.horizontal;if(void 0!==c&&!c||!t||!t.length)return null;var u=l.map((function(e){return Math.round(e+i-i)})).sort((function(e,t){return e-t}));i!==u[0]&&u.unshift(0);var d=u.map((function(e,l){var c=u[l+1]?u[l+1]-e:i+s-e;if(c<=0)return null;var d=l%t.length;return n.createElement("rect",{key:"react-".concat(l),y:e,x:o,height:c,width:a,stroke:"none",fill:t[d],fillOpacity:r,className:"recharts-cartesian-grid-bg"})}));return n.createElement("g",{className:"recharts-cartesian-gridstripes-horizontal"},d)}function nJ(e){var t=e.vertical,r=void 0===t||t,o=e.verticalFill,i=e.fillOpacity,a=e.x,s=e.y,l=e.width,c=e.height,u=e.verticalPoints;if(!r||!o||!o.length)return null;var d=u.map((function(e){return Math.round(e+a-a)})).sort((function(e,t){return e-t}));a!==d[0]&&d.unshift(0);var f=d.map((function(e,t){var r=d[t+1]?d[t+1]-e:a+l-e;if(r<=0)return null;var u=t%o.length;return n.createElement("rect",{key:"react-".concat(t),x:e,y:s,width:r,height:c,stroke:"none",fill:o[u],fillOpacity:i,className:"recharts-cartesian-grid-bg"})}));return n.createElement("g",{className:"recharts-cartesian-gridstripes-vertical"},f)}var rJ=function(e,t){var n=e.xAxis,r=e.width,o=e.height,i=e.offset;return aU(_X(YX(YX(YX({},HX.defaultProps),n),{},{ticks:sU(n,!0),viewBox:{x:0,y:0,width:r,height:o}})),i.left,i.left+i.width,t)},oJ=function(e,t){var n=e.yAxis,r=e.width,o=e.height,i=e.offset;return aU(_X(YX(YX(YX({},HX.defaultProps),n),{},{ticks:sU(n,!0),viewBox:{x:0,y:0,width:r,height:o}})),i.top,i.top+i.height,t)},iJ={horizontal:!0,vertical:!0,horizontalPoints:[],verticalPoints:[],stroke:"#ccc",fill:"none",verticalFill:[],horizontalFill:[]};function aJ(e){var t,r,o,i,a,s,l=VG(),c=HG(),u=(0,n.useContext)(NG),d=YX(YX({},e),{},{stroke:null!==(t=e.stroke)&&void 0!==t?t:iJ.stroke,fill:null!==(r=e.fill)&&void 0!==r?r:iJ.fill,horizontal:null!==(o=e.horizontal)&&void 0!==o?o:iJ.horizontal,horizontalFill:null!==(i=e.horizontalFill)&&void 0!==i?i:iJ.horizontalFill,vertical:null!==(a=e.vertical)&&void 0!==a?a:iJ.vertical,verticalFill:null!==(s=e.verticalFill)&&void 0!==s?s:iJ.verticalFill,x:DO(e.x)?e.x:u.left,y:DO(e.y)?e.y:u.top,width:DO(e.width)?e.width:u.width,height:DO(e.height)?e.height:u.height}),f=d.x,h=d.y,p=d.width,m=d.height,g=d.syncWithTicks,y=d.horizontalValues,v=d.verticalValues,b=function(){var e=(0,n.useContext)(jG);return VO(e)}(),x=function(){var e=(0,n.useContext)(TG),t=RG(e,(function(e){return WQ(e.domain,Number.isFinite)}));return t||VO(e)}();if(!DO(p)||p<=0||!DO(m)||m<=0||!DO(f)||f!==+f||!DO(h)||h!==+h)return null;var w=d.verticalCoordinatesGenerator||rJ,C=d.horizontalCoordinatesGenerator||oJ,A=d.horizontalPoints,E=d.verticalPoints;if((!A||!A.length)&&jk(C)){var S=y&&y.length,k=C({yAxis:x?YX(YX({},x),{},{ticks:S?y:x.ticks}):void 0,width:l,height:c,offset:u},!!S||g);AR(Array.isArray(k),"horizontalCoordinatesGenerator should return Array but instead it returned [".concat(ZX(k),"]")),Array.isArray(k)&&(A=k)}if((!E||!E.length)&&jk(w)){var _=v&&v.length,O=w({xAxis:b?YX(YX({},b),{},{ticks:_?v:b.ticks}):void 0,width:l,height:c,offset:u},!!_||g);AR(Array.isArray(O),"verticalCoordinatesGenerator should return Array but instead it returned [".concat(ZX(O),"]")),Array.isArray(O)&&(E=O)}return n.createElement("g",{className:"recharts-cartesian-grid"},n.createElement(XX,{fill:d.fill,fillOpacity:d.fillOpacity,x:d.x,y:d.y,width:d.width,height:d.height,ry:d.ry}),n.createElement($X,QX({},d,{offset:u,horizontalPoints:A,xAxis:b,yAxis:x})),n.createElement(eJ,QX({},d,{offset:u,verticalPoints:E,xAxis:b,yAxis:x})),n.createElement(tJ,QX({},d,{horizontalPoints:A})),n.createElement(nJ,QX({},d,{verticalPoints:E})))}aJ.displayName="CartesianGrid";var sJ=["type","layout","connectNulls","ref"],lJ=["key"];function cJ(e){return(cJ="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})(e)}function uJ(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function dJ(){return dJ=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},dJ.apply(this,arguments)}function fJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function hJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?fJ(Object(n),!0).forEach((function(t){xJ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):fJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function pJ(e){return function(e){if(Array.isArray(e))return mJ(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return mJ(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return mJ(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function mJ(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function gJ(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,wJ(r.key),r)}}function yJ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(yJ=function(){return!!e})()}function vJ(e){return(vJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function bJ(e,t){return bJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},bJ(e,t)}function xJ(e,t,n){return(t=wJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wJ(e){var t=function(e){if("object"!=cJ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=cJ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cJ(t)?t:t+""}var CJ=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return xJ(e=function(e,t,n){return t=vJ(t),function(e,t){if(t&&("object"===cJ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,yJ()?Reflect.construct(t,n||[],vJ(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"state",{isAnimationFinished:!0,totalLength:0}),xJ(e,"generateSimpleStrokeDasharray",(function(e,t){return"".concat(t,"px ").concat(e-t,"px")})),xJ(e,"getStrokeDasharray",(function(n,r,o){var i=o.reduce((function(e,t){return e+t}));if(!i)return e.generateSimpleStrokeDasharray(r,n);for(var a=Math.floor(n/i),s=n%i,l=r-n,c=[],u=0,d=0;u<o.length;d+=o[u],++u)if(d+o[u]>s){c=[].concat(pJ(o.slice(0,u)),[s-d]);break}var f=c.length%2==0?[0,l]:[l];return[].concat(pJ(t.repeat(o,a)),pJ(c),f).map((function(e){return"".concat(e,"px")})).join(", ")})),xJ(e,"id",BO("recharts-line-")),xJ(e,"pathRef",(function(t){e.mainCurve=t})),xJ(e,"handleAnimationEnd",(function(){e.setState({isAnimationFinished:!0}),e.props.onAnimationEnd&&e.props.onAnimationEnd()})),xJ(e,"handleAnimationStart",(function(){e.setState({isAnimationFinished:!1}),e.props.onAnimationStart&&e.props.onAnimationStart()})),e}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&bJ(e,t)}(t,e),function(e,t,n){return t&&gJ(e.prototype,t),n&&gJ(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"componentDidMount",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();this.setState({totalLength:e})}}},{key:"componentDidUpdate",value:function(){if(this.props.isAnimationActive){var e=this.getTotalLength();e!==this.state.totalLength&&this.setState({totalLength:e})}}},{key:"getTotalLength",value:function(){var e=this.mainCurve;try{return e&&e.getTotalLength&&e.getTotalLength()||0}catch{return 0}}},{key:"renderErrorBar",value:function(e,t){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var r=this.props,o=r.points,i=r.xAxis,a=r.yAxis,s=r.layout,l=sR(r.children,HW);if(!l)return null;var c=function(e,t){return{x:e.x,y:e.y,value:e.value,errorVal:eU(e.payload,t)}},u={clipPath:e?"url(#clipPath-".concat(t,")"):null};return n.createElement(CR,u,l.map((function(e){return n.cloneElement(e,{key:"bar-".concat(e.props.dataKey),data:o,xAxis:i,yAxis:a,layout:s,dataPointFormatter:c})})))}},{key:"renderDots",value:function(e,r,o){if(this.props.isAnimationActive&&!this.state.isAnimationFinished)return null;var i=this.props,a=i.dot,s=i.points,l=i.dataKey,c=fR(this.props,!1),u=fR(a,!0),d=s.map((function(e,n){var r=hJ(hJ(hJ({key:"dot-".concat(n),r:3},c),u),{},{value:e.value,dataKey:l,cx:e.x,cy:e.y,index:n,payload:e.payload});return t.renderDotItem(a,r)})),f={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(o,")"):null};return n.createElement(CR,dJ({className:"recharts-line-dots",key:"dots"},f),d)}},{key:"renderCurveStatically",value:function(e,t,r,o){var i=this.props,a=i.type,s=i.layout,l=i.connectNulls;i.ref;var c=uJ(i,sJ),u=hJ(hJ(hJ({},fR(c,!0)),{},{fill:"none",className:"recharts-line-curve",clipPath:t?"url(#clipPath-".concat(r,")"):null,points:e},o),{},{type:a,layout:s,connectNulls:l});return n.createElement(_Z,dJ({},u,{pathRef:this.pathRef}))}},{key:"renderCurveWithAnimation",value:function(e,t){var r=this,o=this.props,i=o.points,a=o.strokeDasharray,s=o.isAnimationActive,l=o.animationBegin,c=o.animationDuration,u=o.animationEasing,d=o.animationId,f=o.animateNewValues,h=o.width,p=o.height,m=this.state,g=m.prevPoints,y=m.totalLength;return n.createElement(Hq,{begin:l,duration:c,isActive:s,easing:u,from:{t:0},to:{t:1},key:"line-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(n){var o=n.t;if(g){var s=g.length/i.length,l=i.map((function(e,t){var n=Math.floor(t*s);if(g[n]){var r=g[n],i=HO(r.x,e.x),a=HO(r.y,e.y);return hJ(hJ({},e),{},{x:i(o),y:a(o)})}if(f){var l=HO(2*h,e.x),c=HO(p/2,e.y);return hJ(hJ({},e),{},{x:l(o),y:c(o)})}return hJ(hJ({},e),{},{x:e.x,y:e.y})}));return r.renderCurveStatically(l,e,t)}var c,u=HO(0,y)(o);if(a){var d="".concat(a).split(/[,\s]+/gim).map((function(e){return parseFloat(e)}));c=r.getStrokeDasharray(u,y,d)}else c=r.generateSimpleStrokeDasharray(y,u);return r.renderCurveStatically(i,e,t,{strokeDasharray:c})}))}},{key:"renderCurve",value:function(e,t){var n=this.props,r=n.points,o=n.isAnimationActive,i=this.state,a=i.prevPoints,s=i.totalLength;return o&&r&&r.length&&(!a&&s>0||!MH(a,r))?this.renderCurveWithAnimation(e,t):this.renderCurveStatically(r,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,o=t.dot,i=t.points,a=t.className,s=t.xAxis,l=t.yAxis,c=t.top,u=t.left,d=t.width,f=t.height,h=t.isAnimationActive,p=t.id;if(r||!i||!i.length)return null;var m=this.state.isAnimationFinished,g=1===i.length,y=Kt("recharts-line",a),v=s&&s.allowDataOverflow,b=l&&l.allowDataOverflow,x=v||b,w=yO(p)?this.id:p,C=null!==(e=fR(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},A=C.r,E=void 0===A?3:A,S=C.strokeWidth,k=void 0===S?2:S,_=(dR(o)?o:{}).clipDot,O=void 0===_||_,R=2*E+k;return n.createElement(CR,{className:y},v||b?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(w)},n.createElement("rect",{x:v?u:u-d/2,y:b?c:c-f/2,width:v?d:2*d,height:b?f:2*f})),!O&&n.createElement("clipPath",{id:"clipPath-dots-".concat(w)},n.createElement("rect",{x:u-R/2,y:c-R/2,width:d+R,height:f+R}))):null,!g&&this.renderCurve(x,w),this.renderErrorBar(x,w),(g||o)&&this.renderDots(x,O,w),(!h||m)&&oZ.renderCallByParent(this.props,i))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,prevPoints:t.curPoints}:e.points!==t.curPoints?{curPoints:e.points}:null}},{key:"repeat",value:function(e,t){for(var n=e.length%2!=0?[].concat(pJ(e),[0]):e,r=[],o=0;o<t;++o)r=[].concat(pJ(r),pJ(n));return r}},{key:"renderDotItem",value:function(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(jk(e))r=e(t);else{var o=t.key,i=uJ(t,lJ),a=Kt("recharts-line-dot","boolean"!=typeof e?e.className:"");r=n.createElement(sY,dJ({key:o},i,{className:a}))}return r}}])}(n.PureComponent);xJ(CJ,"displayName","Line"),xJ(CJ,"defaultProps",{xAxisId:0,yAxisId:0,connectNulls:!1,activeDot:!0,dot:!0,legendType:"line",stroke:"#3182bd",strokeWidth:1,fill:"#fff",points:[],isAnimationActive:!uD.isSsr,animateNewValues:!0,animationBegin:0,animationDuration:1500,animationEasing:"ease",hide:!1,label:!1}),xJ(CJ,"getComposedData",(function(e){var t=e.props,n=e.xAxis,r=e.yAxis,o=e.xAxisTicks,i=e.yAxisTicks,a=e.dataKey,s=e.bandSize,l=e.displayedData,c=e.offset,u=t.layout;return hJ({points:l.map((function(e,t){var l=eU(e,a);return"horizontal"===u?{x:gU({axis:n,ticks:o,bandSize:s,entry:e,index:t}),y:yO(l)?null:r.scale(l),value:l,payload:e}:{x:yO(l)?null:n.scale(l),y:gU({axis:r,ticks:i,bandSize:s,entry:e,index:t}),value:l,payload:e}})),layout:u},c)}));var AJ,EJ=["layout","type","stroke","connectNulls","isRange","ref"],SJ=["key"];function kJ(e){return(kJ="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})(e)}function _J(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function OJ(){return OJ=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},OJ.apply(this,arguments)}function RJ(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function PJ(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RJ(Object(n),!0).forEach((function(t){LJ(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RJ(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function jJ(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,DJ(r.key),r)}}function TJ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(TJ=function(){return!!e})()}function MJ(e){return(MJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function NJ(e,t){return NJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},NJ(e,t)}function LJ(e,t,n){return(t=DJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DJ(e){var t=function(e){if("object"!=kJ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=kJ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==kJ(t)?t:t+""}var IJ=function(e){function t(){var e;!function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t);for(var n=arguments.length,r=new Array(n),o=0;o<n;o++)r[o]=arguments[o];return LJ(e=function(e,t,n){return t=MJ(t),function(e,t){if(t&&("object"===kJ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,TJ()?Reflect.construct(t,n||[],MJ(e).constructor):t.apply(e,n))}(this,t,[].concat(r)),"state",{isAnimationFinished:!0}),LJ(e,"id",BO("recharts-area-")),LJ(e,"handleAnimationEnd",(function(){var t=e.props.onAnimationEnd;e.setState({isAnimationFinished:!0}),jk(t)&&t()})),LJ(e,"handleAnimationStart",(function(){var t=e.props.onAnimationStart;e.setState({isAnimationFinished:!1}),jk(t)&&t()})),e}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&NJ(e,t)}(t,e),function(e,t,n){return t&&jJ(e.prototype,t),n&&jJ(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"renderDots",value:function(e,r,o){var i=this.props.isAnimationActive,a=this.state.isAnimationFinished;if(i&&!a)return null;var s=this.props,l=s.dot,c=s.points,u=s.dataKey,d=fR(this.props,!1),f=fR(l,!0),h=c.map((function(e,n){var r=PJ(PJ(PJ({key:"dot-".concat(n),r:3},d),f),{},{index:n,cx:e.x,cy:e.y,dataKey:u,value:e.value,payload:e.payload,points:c});return t.renderDotItem(l,r)})),p={clipPath:e?"url(#clipPath-".concat(r?"":"dots-").concat(o,")"):null};return n.createElement(CR,OJ({className:"recharts-area-dots"},p),h)}},{key:"renderHorizontalRect",value:function(e){var t=this.props,r=t.baseLine,o=t.points,i=t.strokeWidth,a=o[0].x,s=o[o.length-1].x,l=e*Math.abs(a-s),c=gH(o.map((function(e){return e.y||0})));return DO(r)&&"number"==typeof r?c=Math.max(r,c):r&&Array.isArray(r)&&r.length&&(c=Math.max(gH(r.map((function(e){return e.y||0}))),c)),DO(c)?n.createElement("rect",{x:a<s?a:a-l,y:0,width:l,height:Math.floor(c+(i?parseInt("".concat(i),10):1))}):null}},{key:"renderVerticalRect",value:function(e){var t=this.props,r=t.baseLine,o=t.points,i=t.strokeWidth,a=o[0].y,s=o[o.length-1].y,l=e*Math.abs(a-s),c=gH(o.map((function(e){return e.x||0})));return DO(r)&&"number"==typeof r?c=Math.max(r,c):r&&Array.isArray(r)&&r.length&&(c=Math.max(gH(r.map((function(e){return e.x||0}))),c)),DO(c)?n.createElement("rect",{x:0,y:a<s?a:a-l,width:c+(i?parseInt("".concat(i),10):1),height:Math.floor(l)}):null}},{key:"renderClipRect",value:function(e){return"vertical"===this.props.layout?this.renderVerticalRect(e):this.renderHorizontalRect(e)}},{key:"renderAreaStatically",value:function(e,t,r,o){var i=this.props,a=i.layout,s=i.type,l=i.stroke,c=i.connectNulls,u=i.isRange;i.ref;var d=_J(i,EJ);return n.createElement(CR,{clipPath:r?"url(#clipPath-".concat(o,")"):null},n.createElement(_Z,OJ({},fR(d,!0),{points:e,connectNulls:c,type:s,baseLine:t,layout:a,stroke:"none",className:"recharts-area-area"})),"none"!==l&&n.createElement(_Z,OJ({},fR(this.props,!1),{className:"recharts-area-curve",layout:a,type:s,connectNulls:c,fill:"none",points:e})),"none"!==l&&u&&n.createElement(_Z,OJ({},fR(this.props,!1),{className:"recharts-area-curve",layout:a,type:s,connectNulls:c,fill:"none",points:t})))}},{key:"renderAreaWithAnimation",value:function(e,t){var r=this,o=this.props,i=o.points,a=o.baseLine,s=o.isAnimationActive,l=o.animationBegin,c=o.animationDuration,u=o.animationEasing,d=o.animationId,f=this.state,h=f.prevPoints,p=f.prevBaseLine;return n.createElement(Hq,{begin:l,duration:c,isActive:s,easing:u,from:{t:0},to:{t:1},key:"area-".concat(d),onAnimationEnd:this.handleAnimationEnd,onAnimationStart:this.handleAnimationStart},(function(o){var s=o.t;if(h){var l,c=h.length/i.length,u=i.map((function(e,t){var n=Math.floor(t*c);if(h[n]){var r=h[n],o=HO(r.x,e.x),i=HO(r.y,e.y);return PJ(PJ({},e),{},{x:o(s),y:i(s)})}return e}));return l=DO(a)&&"number"==typeof a?HO(p,a)(s):yO(a)||MO(a)?HO(p,0)(s):a.map((function(e,t){var n=Math.floor(t*c);if(p[n]){var r=p[n],o=HO(r.x,e.x),i=HO(r.y,e.y);return PJ(PJ({},e),{},{x:o(s),y:i(s)})}return e})),r.renderAreaStatically(u,l,e,t)}return n.createElement(CR,null,n.createElement("defs",null,n.createElement("clipPath",{id:"animationClipPath-".concat(t)},r.renderClipRect(s))),n.createElement(CR,{clipPath:"url(#animationClipPath-".concat(t,")")},r.renderAreaStatically(i,a,e,t)))}))}},{key:"renderArea",value:function(e,t){var n=this.props,r=n.points,o=n.baseLine,i=n.isAnimationActive,a=this.state,s=a.prevPoints,l=a.prevBaseLine,c=a.totalLength;return i&&r&&r.length&&(!s&&c>0||!MH(s,r)||!MH(l,o))?this.renderAreaWithAnimation(e,t):this.renderAreaStatically(r,o,e,t)}},{key:"render",value:function(){var e,t=this.props,r=t.hide,o=t.dot,i=t.points,a=t.className,s=t.top,l=t.left,c=t.xAxis,u=t.yAxis,d=t.width,f=t.height,h=t.isAnimationActive,p=t.id;if(r||!i||!i.length)return null;var m=this.state.isAnimationFinished,g=1===i.length,y=Kt("recharts-area",a),v=c&&c.allowDataOverflow,b=u&&u.allowDataOverflow,x=v||b,w=yO(p)?this.id:p,C=null!==(e=fR(o,!1))&&void 0!==e?e:{r:3,strokeWidth:2},A=C.r,E=void 0===A?3:A,S=C.strokeWidth,k=void 0===S?2:S,_=(dR(o)?o:{}).clipDot,O=void 0===_||_,R=2*E+k;return n.createElement(CR,{className:y},v||b?n.createElement("defs",null,n.createElement("clipPath",{id:"clipPath-".concat(w)},n.createElement("rect",{x:v?l:l-d/2,y:b?s:s-f/2,width:v?d:2*d,height:b?f:2*f})),!O&&n.createElement("clipPath",{id:"clipPath-dots-".concat(w)},n.createElement("rect",{x:l-R/2,y:s-R/2,width:d+R,height:f+R}))):null,g?null:this.renderArea(x,w),(o||g)&&this.renderDots(x,O,w),(!h||m)&&oZ.renderCallByParent(this.props,i))}}],[{key:"getDerivedStateFromProps",value:function(e,t){return e.animationId!==t.prevAnimationId?{prevAnimationId:e.animationId,curPoints:e.points,curBaseLine:e.baseLine,prevPoints:t.curPoints,prevBaseLine:t.curBaseLine}:e.points!==t.curPoints||e.baseLine!==t.curBaseLine?{curPoints:e.points,curBaseLine:e.baseLine}:null}}])}(n.PureComponent);function FJ(e){return(FJ="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})(e)}function BJ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(BJ=function(){return!!e})()}function zJ(e){return(zJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function VJ(e,t){return VJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},VJ(e,t)}function HJ(e,t,n){return(t=WJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function WJ(e){var t=function(e){if("object"!=FJ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=FJ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==FJ(t)?t:t+""}function UJ(){return UJ=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},UJ.apply(this,arguments)}function ZJ(e){var t=e.xAxisId,r=VG(),o=HG(),i=BG(t);return null==i?null:n.createElement(HX,UJ({},i,{className:Kt("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:o},ticksGenerator:function(e){return sU(e,!0)}}))}AJ=IJ,LJ(IJ,"displayName","Area"),LJ(IJ,"defaultProps",{stroke:"#3182bd",fill:"#3182bd",fillOpacity:.6,xAxisId:0,yAxisId:0,legendType:"line",connectNulls:!1,points:[],dot:!1,activeDot:!0,hide:!1,isAnimationActive:!uD.isSsr,animationBegin:0,animationDuration:1500,animationEasing:"ease"}),LJ(IJ,"getBaseValue",(function(e,t,n,r){var o=e.layout,i=e.baseValue,a=t.props.baseValue??i;if(DO(a)&&"number"==typeof a)return a;var s="horizontal"===o?r:n,l=s.scale.domain();if("number"===s.type){var c=Math.max(l[0],l[1]),u=Math.min(l[0],l[1]);return"dataMin"===a?u:"dataMax"===a||c<0?c:Math.max(Math.min(l[0],l[1]),0)}return"dataMin"===a?l[0]:"dataMax"===a?l[1]:l[0]})),LJ(IJ,"getComposedData",(function(e){var t,n=e.props,r=e.item,o=e.xAxis,i=e.yAxis,a=e.xAxisTicks,s=e.yAxisTicks,l=e.bandSize,c=e.dataKey,u=e.stackedData,d=e.dataStartIndex,f=e.displayedData,h=e.offset,p=n.layout,m=u&&u.length,g=AJ.getBaseValue(n,r,o,i),y="horizontal"===p,v=!1,b=f.map((function(e,t){var n;m?n=u[d+t]:(n=eU(e,c),Array.isArray(n)?v=!0:n=[g,n]);var r=null==n[1]||m&&null==eU(e,c);return y?{x:gU({axis:o,ticks:a,bandSize:l,entry:e,index:t}),y:r?null:i.scale(n[1]),value:n,payload:e}:{x:r?null:o.scale(n[1]),y:gU({axis:i,ticks:s,bandSize:l,entry:e,index:t}),value:n,payload:e}}));return t=m||v?b.map((function(e){var t=Array.isArray(e.value)?e.value[0]:null;return y?{x:e.x,y:null!=t&&null!=e.y?i.scale(t):null}:{x:null!=t?o.scale(t):null,y:e.y}})):y?i.scale(g):o.scale(g),PJ({points:b,baseLine:t,layout:p,isRange:v},h)})),LJ(IJ,"renderDotItem",(function(e,t){var r;if(n.isValidElement(e))r=n.cloneElement(e,t);else if(jk(e))r=e(t);else{var o=Kt("recharts-area-dot","boolean"!=typeof e?e.className:""),i=t.key,a=_J(t,SJ);r=n.createElement(sY,OJ({},a,{key:i,className:o}))}return r}));var qJ=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=zJ(t),function(e,t){if(t&&("object"===FJ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,BJ()?Reflect.construct(t,n||[],zJ(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&VJ(e,t)}(t,e),function(e,t){return t&&function(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,WJ(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){return n.createElement(ZJ,this.props)}}])}(n.Component);function YJ(e){return(YJ="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})(e)}function KJ(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(KJ=function(){return!!e})()}function QJ(e){return(QJ=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function GJ(e,t){return GJ=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},GJ(e,t)}function XJ(e,t,n){return(t=JJ(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function JJ(e){var t=function(e){if("object"!=YJ(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=YJ(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==YJ(t)?t:t+""}function $J(){return $J=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},$J.apply(this,arguments)}HJ(qJ,"displayName","XAxis"),HJ(qJ,"defaultProps",{allowDecimals:!0,hide:!1,orientation:"bottom",width:0,height:30,mirror:!1,xAxisId:0,tickCount:5,type:"category",padding:{left:0,right:0},allowDataOverflow:!1,scale:"auto",reversed:!1,allowDuplicatedCategory:!0});var e$=function(e){var t=e.yAxisId,r=VG(),o=HG(),i=zG(t);return null==i?null:n.createElement(HX,$J({},i,{className:Kt("recharts-".concat(i.axisType," ").concat(i.axisType),i.className),viewBox:{x:0,y:0,width:r,height:o},ticksGenerator:function(e){return sU(e,!0)}}))},t$=function(e){function t(){return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,t),function(e,t,n){return t=QJ(t),function(e,t){if(t&&("object"===YJ(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,KJ()?Reflect.construct(t,n||[],QJ(e).constructor):t.apply(e,n))}(this,t,arguments)}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&GJ(e,t)}(t,e),function(e,t){return t&&function(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,JJ(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(t,[{key:"render",value:function(){return n.createElement(e$,this.props)}}])}(n.Component);function n$(e){return function(e){if(Array.isArray(e))return r$(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return r$(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return r$(e,t)}}(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function r$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}XJ(t$,"displayName","YAxis"),XJ(t$,"defaultProps",{allowDuplicatedCategory:!0,allowDecimals:!0,hide:!1,orientation:"left",width:60,height:0,mirror:!1,yAxisId:0,tickCount:5,type:"number",padding:{top:0,bottom:0},allowDataOverflow:!1,scale:"auto",reversed:!1});var o$=function(e,t,n,r,o){var i=sR(e,eX),a=sR(e,uX),s=[].concat(n$(i),n$(a)),l=sR(e,xX),c="".concat(r,"Id"),u=r[0],d=t;if(s.length&&(d=s.reduce((function(e,t){if(t.props[c]===n&&RQ(t.props,"extendDomain")&&DO(t.props[u])){var r=t.props[u];return[Math.min(e[0],r),Math.max(e[1],r)]}return e}),d)),l.length){var f="".concat(u,"1"),h="".concat(u,"2");d=l.reduce((function(e,t){if(t.props[c]===n&&RQ(t.props,"extendDomain")&&DO(t.props[f])&&DO(t.props[h])){var r=t.props[f],o=t.props[h];return[Math.min(e[0],r,o),Math.max(e[1],r,o)]}return e}),d)}return o&&o.length&&(d=o.reduce((function(e,t){return DO(t)?[Math.min(e[0],t),Math.max(e[1],t)]:e}),d)),d},i$={exports:{}};!function(e){var t=Object.prototype.hasOwnProperty,n="~";function r(){}function o(e,t,n){this.fn=e,this.context=t,this.once=n||!1}function i(e,t,r,i,a){if("function"!=typeof r)throw new TypeError("The listener must be a function");var s=new o(r,i||e,a),l=n?n+t:t;return e._events[l]?e._events[l].fn?e._events[l]=[e._events[l],s]:e._events[l].push(s):(e._events[l]=s,e._eventsCount++),e}function a(e,t){0==--e._eventsCount?e._events=new r:delete e._events[t]}function s(){this._events=new r,this._eventsCount=0}Object.create&&(r.prototype=Object.create(null),(new r).__proto__||(n=!1)),s.prototype.eventNames=function(){var e,r,o=[];if(0===this._eventsCount)return o;for(r in e=this._events)t.call(e,r)&&o.push(n?r.slice(1):r);return Object.getOwnPropertySymbols?o.concat(Object.getOwnPropertySymbols(e)):o},s.prototype.listeners=function(e){var t=n?n+e:e,r=this._events[t];if(!r)return[];if(r.fn)return[r.fn];for(var o=0,i=r.length,a=new Array(i);o<i;o++)a[o]=r[o].fn;return a},s.prototype.listenerCount=function(e){var t=n?n+e:e,r=this._events[t];return r?r.fn?1:r.length:0},s.prototype.emit=function(e,t,r,o,i,a){var s=n?n+e:e;if(!this._events[s])return!1;var l,c,u=this._events[s],d=arguments.length;if(u.fn){switch(u.once&&this.removeListener(e,u.fn,void 0,!0),d){case 1:return u.fn.call(u.context),!0;case 2:return u.fn.call(u.context,t),!0;case 3:return u.fn.call(u.context,t,r),!0;case 4:return u.fn.call(u.context,t,r,o),!0;case 5:return u.fn.call(u.context,t,r,o,i),!0;case 6:return u.fn.call(u.context,t,r,o,i,a),!0}for(c=1,l=new Array(d-1);c<d;c++)l[c-1]=arguments[c];u.fn.apply(u.context,l)}else{var f,h=u.length;for(c=0;c<h;c++)switch(u[c].once&&this.removeListener(e,u[c].fn,void 0,!0),d){case 1:u[c].fn.call(u[c].context);break;case 2:u[c].fn.call(u[c].context,t);break;case 3:u[c].fn.call(u[c].context,t,r);break;case 4:u[c].fn.call(u[c].context,t,r,o);break;default:if(!l)for(f=1,l=new Array(d-1);f<d;f++)l[f-1]=arguments[f];u[c].fn.apply(u[c].context,l)}}return!0},s.prototype.on=function(e,t,n){return i(this,e,t,n,!1)},s.prototype.once=function(e,t,n){return i(this,e,t,n,!0)},s.prototype.removeListener=function(e,t,r,o){var i=n?n+e:e;if(!this._events[i])return this;if(!t)return a(this,i),this;var s=this._events[i];if(s.fn)s.fn===t&&(!o||s.once)&&(!r||s.context===r)&&a(this,i);else{for(var l=0,c=[],u=s.length;l<u;l++)(s[l].fn!==t||o&&!s[l].once||r&&s[l].context!==r)&&c.push(s[l]);c.length?this._events[i]=1===c.length?c[0]:c:a(this,i)}return this},s.prototype.removeAllListeners=function(e){var t;return e?(t=n?n+e:e,this._events[t]&&a(this,t)):(this._events=new r,this._eventsCount=0),this},s.prototype.off=s.prototype.removeListener,s.prototype.addListener=s.prototype.on,s.prefixed=n,s.EventEmitter=s,e.exports=s}(i$);var a$=new(qe(i$.exports)),s$="recharts.syncMouseEvents";function l$(e){return(l$="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})(e)}function c$(e,t,n){return(t=u$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function u$(e){var t=function(e){if("object"!=l$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=l$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==l$(t)?t:t+""}var d$=function(){return function(e,t){return t&&function(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,u$(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}((function e(){(function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")})(this,e),c$(this,"activeIndex",0),c$(this,"coordinateList",[]),c$(this,"layout","horizontal")}),[{key:"setDetails",value:function(e){var t,n=e.coordinateList,r=void 0===n?null:n,o=e.container,i=void 0===o?null:o,a=e.layout,s=void 0===a?null:a,l=e.offset,c=void 0===l?null:l,u=e.mouseHandlerCallback,d=void 0===u?null:u;this.coordinateList=null!==(t=r??this.coordinateList)&&void 0!==t?t:[],this.container=i??this.container,this.layout=s??this.layout,this.offset=c??this.offset,this.mouseHandlerCallback=d??this.mouseHandlerCallback,this.activeIndex=Math.min(Math.max(this.activeIndex,0),this.coordinateList.length-1)}},{key:"focus",value:function(){this.spoofMouse()}},{key:"keyboardEvent",value:function(e){if(0!==this.coordinateList.length)switch(e.key){case"ArrowRight":if("horizontal"!==this.layout)return;this.activeIndex=Math.min(this.activeIndex+1,this.coordinateList.length-1),this.spoofMouse();break;case"ArrowLeft":if("horizontal"!==this.layout)return;this.activeIndex=Math.max(this.activeIndex-1,0),this.spoofMouse()}}},{key:"setIndex",value:function(e){this.activeIndex=e}},{key:"spoofMouse",value:function(){var e,t;if("horizontal"===this.layout&&0!==this.coordinateList.length){var n=this.container.getBoundingClientRect(),r=n.x,o=n.y,i=n.height,a=this.coordinateList[this.activeIndex].coordinate,s=(null===(e=window)||void 0===e?void 0:e.scrollX)||0,l=(null===(t=window)||void 0===t?void 0:t.scrollY)||0,c=r+a+s,u=o+this.offset.top+i/2+l;this.mouseHandlerCallback({pageX:c,pageY:u})}}}])}();function f$(e){var t=e.cx,n=e.cy,r=e.radius,o=e.startAngle,i=e.endAngle;return{points:[TU(t,n,r,o),TU(t,n,r,i)],cx:t,cy:n,radius:r,startAngle:o,endAngle:i}}function h$(e,t,n){var r,o,i,a;if("horizontal"===e)i=r=t.x,o=n.top,a=n.top+n.height;else if("vertical"===e)a=o=t.y,r=n.left,i=n.left+n.width;else if(null!=t.cx&&null!=t.cy){if("centric"!==e)return f$(t);var s=t.cx,l=t.cy,c=t.innerRadius,u=t.outerRadius,d=t.angle,f=TU(s,l,c,d),h=TU(s,l,u,d);r=f.x,o=f.y,i=h.x,a=h.y}return[{x:r,y:o},{x:i,y:a}]}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})(e)}function m$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function g$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m$(Object(n),!0).forEach((function(t){y$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function y$(e,t,n){return t=function(e){var t=function(e){if("object"!=p$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=p$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==p$(t)?t:t+""}(t),t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function v$(e){var t,r,o=e.element,i=e.tooltipEventType,a=e.isActive,s=e.activeCoordinate,l=e.activePayload,c=e.offset,u=e.activeTooltipIndex,d=e.tooltipAxisBandSize,f=e.layout,h=e.chartName,p=null!==(t=o.props.cursor)&&void 0!==t?t:null===(r=o.type.defaultProps)||void 0===r?void 0:r.cursor;if(!o||!p||!a||!s||"ScatterChart"!==h&&"axis"!==i)return null;var m,g=_Z;if("ScatterChart"===h)m=s,g=pY;else if("BarChart"===h)m=function(e,t,n,r){var o=r/2;return{stroke:"none",fill:"#ccc",x:"horizontal"===e?t.x-o:n.left+.5,y:"horizontal"===e?n.top+.5:t.y-o,width:"horizontal"===e?r:n.width-1,height:"horizontal"===e?n.height-1:r}}(f,s,c,d),g=Jq;else if("radial"===f){var y=f$(s),v=y.cx,b=y.cy,x=y.radius;m={cx:v,cy:b,startAngle:y.startAngle,endAngle:y.endAngle,innerRadius:x,outerRadius:x},g=hZ}else m={points:h$(f,s,c)},g=_Z;var w=g$(g$(g$(g$({stroke:"#ccc",pointerEvents:"none"},c),m),fR(p,!1)),{},{payload:l,payloadIndex:u,className:Kt("recharts-tooltip-cursor",p.className)});return(0,n.isValidElement)(p)?(0,n.cloneElement)(p,w):(0,n.createElement)(g,w)}var b$=["item"],x$=["children","className","width","height","style","compact","title","desc"];function w$(e){return(w$="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})(e)}function C$(){return C$=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},C$.apply(this,arguments)}function A$(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||R$(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function E$(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if(Object.prototype.hasOwnProperty.call(e,r)){if(t.indexOf(r)>=0)continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],!(t.indexOf(n)>=0)&&Object.prototype.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}function S$(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){})))}catch{}return(S$=function(){return!!e})()}function k$(e){return(k$=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)})(e)}function _$(e,t){return _$=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},_$(e,t)}function O$(e){return function(e){if(Array.isArray(e))return P$(e)}(e)||function(e){if(typeof Symbol<"u"&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||R$(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function R$(e,t){if(e){if("string"==typeof e)return P$(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return P$(e,t)}}function P$(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function j$(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function T$(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?j$(Object(n),!0).forEach((function(t){M$(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):j$(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}function M$(e,t,n){return(t=N$(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function N$(e){var t=function(e){if("object"!=w$(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=w$(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==w$(t)?t:t+""}var L$={xAxis:["bottom","top"],yAxis:["left","right"]},D$={width:"100%",height:"100%"},I$={x:0,y:0};function F$(e){return e}var B$=function(e,t){var n=t.graphicalItems,r=t.dataStartIndex,o=t.dataEndIndex,i=(n??[]).reduce((function(e,t){var n=t.props.data;return n&&n.length?[].concat(O$(e),O$(n)):e}),[]);return i.length>0?i:e&&e.length&&DO(r)&&DO(o)?e.slice(r,o+1):[]};function z$(e){return"number"===e?[0,"auto"]:void 0}var V$=function(e,t,n,r){var o=e.graphicalItems,i=e.tooltipAxis,a=B$(t,e);return n<0||!o||!o.length||n>=a.length?null:o.reduce((function(o,s){var l,c,u=null!==(l=s.props.data)&&void 0!==l?l:t;return u&&e.dataStartIndex+e.dataEndIndex!==0&&e.dataEndIndex-e.dataStartIndex>=n&&(u=u.slice(e.dataStartIndex,e.dataEndIndex+1)),(c=i.dataKey&&!i.allowDuplicatedCategory?WO(void 0===u?a:u,i.dataKey,r):u&&u[n]||a[n])?[].concat(O$(o),[EU(s,c)]):o}),[])},H$=function(e,t,n,r){var o=r||{x:e.chartX,y:e.chartY},i=function(e,t){return"horizontal"===t?e.x:"vertical"===t?e.y:"centric"===t?e.angle:e.radius}(o,n),a=e.orderedTooltipTicks,s=e.tooltipAxis,l=e.tooltipTicks,c=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:[],r=arguments.length>2?arguments[2]:void 0,o=arguments.length>3?arguments[3]:void 0,i=-1,a=null!==(t=null==n?void 0:n.length)&&void 0!==t?t:0;if(a<=1)return 0;if(o&&"angleAxis"===o.axisType&&Math.abs(Math.abs(o.range[1]-o.range[0])-360)<=1e-6)for(var s=o.range,l=0;l<a;l++){var c=l>0?r[l-1].coordinate:r[a-1].coordinate,u=r[l].coordinate,d=l>=a-1?r[0].coordinate:r[l+1].coordinate,f=void 0;if(NO(u-c)!==NO(d-u)){var h=[];if(NO(d-u)===NO(s[1]-s[0])){f=d;var p=u+s[1]-s[0];h[0]=Math.min(p,(p+c)/2),h[1]=Math.max(p,(p+c)/2)}else{f=c;var m=d+s[1]-s[0];h[0]=Math.min(u,(m+u)/2),h[1]=Math.max(u,(m+u)/2)}var g=[Math.min(u,(f+u)/2),Math.max(u,(f+u)/2)];if(e>g[0]&&e<=g[1]||e>=h[0]&&e<=h[1]){i=r[l].index;break}}else{var y=Math.min(c,d),v=Math.max(c,d);if(e>(y+u)/2&&e<=(v+u)/2){i=r[l].index;break}}}else for(var b=0;b<a;b++)if(0===b&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b>0&&b<a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2&&e<=(n[b].coordinate+n[b+1].coordinate)/2||b===a-1&&e>(n[b].coordinate+n[b-1].coordinate)/2){i=n[b].index;break}return i}(i,a,l,s);if(c>=0&&l){var u=l[c]&&l[c].value,d=V$(e,t,c,u),f=function(e,t,n,r){var o=t.find((function(e){return e&&e.index===n}));if(o){if("horizontal"===e)return{x:o.coordinate,y:r.y};if("vertical"===e)return{x:r.x,y:o.coordinate};if("centric"===e){var i=o.coordinate,a=r.radius;return T$(T$(T$({},r),TU(r.cx,r.cy,a,i)),{},{angle:i,radius:a})}var s=o.coordinate,l=r.angle;return T$(T$(T$({},r),TU(r.cx,r.cy,s,l)),{},{angle:l,radius:s})}return I$}(n,a,c,o);return{activeTooltipIndex:c,activeLabel:u,activePayload:d,activeCoordinate:f}}return null},W$=function(e,t){var n=t.axisType,r=void 0===n?"xAxis":n,o=t.AxisComp,i=t.graphicalItems,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.children,u="".concat(r,"Id"),d=sR(c,o),f={};return d&&d.length?f=function(e,t){var n=t.axes,r=t.graphicalItems,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,u=e.children,d=e.stackOffset,f=iU(c,o);return n.reduce((function(t,n){var h,p=void 0!==n.type.defaultProps?T$(T$({},n.type.defaultProps),n.props):n.props,m=p.type,g=p.dataKey,y=p.allowDataOverflow,v=p.allowDuplicatedCategory,b=p.scale,x=p.ticks,w=p.includeHidden,C=p[i];if(t[C])return t;var A,E,S,k=B$(e.data,{graphicalItems:r.filter((function(e){var t;return(i in e.props?e.props[i]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[i])===C})),dataStartIndex:s,dataEndIndex:l}),_=k.length;(function(e,t,n){if("number"===n&&!0===t&&Array.isArray(e)){var r=null==e?void 0:e[0],o=null==e?void 0:e[1];if(r&&o&&DO(r)&&DO(o))return!0}return!1})(p.domain,y,m)&&(A=wU(p.domain,null,y),f&&("number"===m||"auto"!==b)&&(S=tU(k,g,"category")));var O=z$(m);if(!A||0===A.length){var R,P=null!==(R=p.domain)&&void 0!==R?R:O;if(g){if(A=tU(k,g,m),"category"===m&&f){var j=function(e){if(!Array.isArray(e))return!1;for(var t=e.length,n={},r=0;r<t;r++){if(n[e[r]])return!0;n[e[r]]=!0}return!1}(A);v&&j?(E=A,A=rQ(0,_)):v||(A=AU(P,A,n).reduce((function(e,t){return e.indexOf(t)>=0?e:[].concat(O$(e),[t])}),[]))}else if("category"===m)A=v?A.filter((function(e){return""!==e&&!yO(e)})):AU(P,A,n).reduce((function(e,t){return e.indexOf(t)>=0||""===t||yO(t)?e:[].concat(O$(e),[t])}),[]);else if("number"===m){var T=function(e,t,n,r,o){var i=t.map((function(t){return rU(e,t,n,o,r)})).filter((function(e){return!yO(e)}));return i&&i.length?i.reduce((function(e,t){return[Math.min(e[0],t[0]),Math.max(e[1],t[1])]}),[1/0,-1/0]):null}(k,r.filter((function(e){var t,n,r=i in e.props?e.props[i]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[i],o="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return r===C&&(w||!o)})),g,o,c);T&&(A=T)}f&&("number"===m||"auto"!==b)&&(S=tU(k,g,"category"))}else A=f?rQ(0,_):a&&a[C]&&a[C].hasStack&&"number"===m?"expand"===d?[0,1]:vU(a[C].stackGroups,s,l):oU(k,r.filter((function(e){var t=i in e.props?e.props[i]:e.type.defaultProps[i],n="hide"in e.props?e.props.hide:e.type.defaultProps.hide;return t===C&&(w||!n)})),m,c,!0);if("number"===m)A=o$(u,A,C,o,x),P&&(A=wU(P,A,y));else if("category"===m&&P){var M=P;A.every((function(e){return M.indexOf(e)>=0}))&&(A=M)}}return T$(T$({},t),{},M$({},C,T$(T$({},p),{},{axisType:o,domain:A,categoricalDomain:S,duplicateDomain:E,originalDomain:null!==(h=p.domain)&&void 0!==h?h:O,isCategorical:f,layout:c})))}),{})}(e,{axes:d,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l}):i&&i.length&&(f=function(e,t){var n=t.graphicalItems,r=t.Axis,o=t.axisType,i=t.axisIdKey,a=t.stackGroups,s=t.dataStartIndex,l=t.dataEndIndex,c=e.layout,u=e.children,d=B$(e.data,{graphicalItems:n,dataStartIndex:s,dataEndIndex:l}),f=d.length,h=iU(c,o),p=-1;return n.reduce((function(e,t){var m,g=(void 0!==t.type.defaultProps?T$(T$({},t.type.defaultProps),t.props):t.props)[i],y=z$("number");return e[g]?e:(p++,h?m=rQ(0,f):a&&a[g]&&a[g].hasStack?(m=vU(a[g].stackGroups,s,l),m=o$(u,m,g,o)):(m=wU(y,oU(d,n.filter((function(e){var t,n,r=i in e.props?e.props[i]:null===(t=e.type.defaultProps)||void 0===t?void 0:t[i],o="hide"in e.props?e.props.hide:null===(n=e.type.defaultProps)||void 0===n?void 0:n.hide;return r===g&&!o})),"number",c),r.defaultProps.allowDataOverflow),m=o$(u,m,g,o)),T$(T$({},e),{},M$({},g,T$(T$({axisType:o},r.defaultProps),{},{hide:!0,orientation:mO(L$,"".concat(o,".").concat(p%2),null),domain:m,originalDomain:y,isCategorical:h,layout:c}))))}),{})}(e,{Axis:o,graphicalItems:i,axisType:r,axisIdKey:u,stackGroups:a,dataStartIndex:s,dataEndIndex:l})),f},U$=function(e){var t=e.children,n=e.defaultShowTooltip,r=lR(t,xQ),o=0,i=0;return e.data&&0!==e.data.length&&(i=e.data.length-1),r&&r.props&&(r.props.startIndex>=0&&(o=r.props.startIndex),r.props.endIndex>=0&&(i=r.props.endIndex)),{chartX:0,chartY:0,dataStartIndex:o,dataEndIndex:i,activeTooltipIndex:-1,isTooltipActive:!!n}},Z$=function(e){return"horizontal"===e?{numericAxisName:"yAxis",cateAxisName:"xAxis"}:"vertical"===e?{numericAxisName:"xAxis",cateAxisName:"yAxis"}:"centric"===e?{numericAxisName:"radiusAxis",cateAxisName:"angleAxis"}:{numericAxisName:"angleAxis",cateAxisName:"radiusAxis"}},q$=function(e,t){return"xAxis"===t?e[t].width:"yAxis"===t?e[t].height:void 0},Y$=function(e){var t=e.chartName,r=e.GraphicalChild,o=e.defaultTooltipEventType,i=void 0===o?"axis":o,a=e.validateTooltipEventTypes,s=void 0===a?["axis"]:a,l=e.axisComponents,c=e.legendContent,u=e.formatAxisMap,d=e.defaultProps,f=function(e,n){var o=e.props,i=e.dataStartIndex,a=e.dataEndIndex,s=e.updateId;if(!cR({props:o}))return null;var c=o.children,d=o.layout,f=o.stackOffset,h=o.data,p=o.reverseStackOrder,m=Z$(d),g=m.numericAxisName,y=m.cateAxisName,v=sR(c,r),b=function(e,t,n,r,o,i){if(!e)return null;var a=(i?t.reverse():t).reduce((function(e,t){var o,i=null!==(o=t.type)&&void 0!==o&&o.defaultProps?JW(JW({},t.type.defaultProps),t.props):t.props,a=i.stackId;if(i.hide)return e;var s=i[n],l=e[s]||{hasStack:!1,stackGroups:{}};if(IO(a)){var c=l.stackGroups[a]||{numericAxisId:n,cateAxisId:r,items:[]};c.items.push(t),l.hasStack=!0,l.stackGroups[a]=c}else l.stackGroups[BO("_stackId_")]={numericAxisId:n,cateAxisId:r,items:[t]};return JW(JW({},e),{},$W({},s,l))}),{});return Object.keys(a).reduce((function(t,i){var s=a[i];return s.hasStack&&(s.stackGroups=Object.keys(s.stackGroups).reduce((function(t,i){var a=s.stackGroups[i];return JW(JW({},t),{},$W({},i,{numericAxisId:n,cateAxisId:r,items:a.items,stackedData:pU(e,a.items,o)}))}),{})),JW(JW({},t),{},$W({},i,s))}),{})}(h,v,"".concat(g,"Id"),"".concat(y,"Id"),f,p),x=l.reduce((function(e,t){var n="".concat(t.axisType,"Map");return T$(T$({},e),{},M$({},n,W$(o,T$(T$({},t),{},{graphicalItems:v,stackGroups:t.axisType===g&&b,dataStartIndex:i,dataEndIndex:a}))))}),{}),w=function(e,t){var n=e.props,r=(e.graphicalItems,e.xAxisMap),o=void 0===r?{}:r,i=e.yAxisMap,a=void 0===i?{}:i,s=n.width,l=n.height,c=n.children,u=n.margin||{},d=lR(c,xQ),f=lR(c,ZN),h=Object.keys(a).reduce((function(e,t){var n=a[t],r=n.orientation;return n.mirror||n.hide?e:T$(T$({},e),{},M$({},r,e[r]+n.width))}),{left:u.left||0,right:u.right||0}),p=Object.keys(o).reduce((function(e,t){var n=o[t],r=n.orientation;return n.mirror||n.hide?e:T$(T$({},e),{},M$({},r,mO(e,"".concat(r))+n.height))}),{top:u.top||0,bottom:u.bottom||0}),m=T$(T$({},p),h),g=m.bottom;d&&(m.bottom+=d.props.height||xQ.defaultProps.height),f&&t&&(m=function(e,t,n,r){var o=n.children,i=n.width,a=n.margin,s=i-(a.left||0)-(a.right||0),l=YW({children:o,legendWidth:s});if(l){var c=r||{},u=c.width,d=c.height,f=l.align,h=l.verticalAlign,p=l.layout;if(("vertical"===p||"horizontal"===p&&"middle"===h)&&"center"!==f&&DO(e[f]))return JW(JW({},e),{},$W({},f,e[f]+(u||0)));if(("horizontal"===p||"vertical"===p&&"center"===f)&&"middle"!==h&&DO(e[h]))return JW(JW({},e),{},$W({},h,e[h]+(d||0)))}return e}(m,0,n,t));var y=s-m.left-m.right,v=l-m.top-m.bottom;return T$(T$({brushBottom:g},m),{},{width:Math.max(y,0),height:Math.max(v,0)})}(T$(T$({},x),{},{props:o,graphicalItems:v}),null==n?void 0:n.legendBBox);Object.keys(x).forEach((function(e){x[e]=u(o,x[e],w,e.replace("Map",""),t)}));var C=function(e){var t=VO(e),n=sU(t,!1,!0);return{tooltipTicks:n,orderedTooltipTicks:zL(n,(function(e){return e.coordinate})),tooltipAxis:t,tooltipAxisBandSize:CU(t,n)}}(x["".concat(y,"Map")]),A=function(e,t){var n=t.graphicalItems,r=t.stackGroups,o=t.offset,i=t.updateId,a=t.dataStartIndex,s=t.dataEndIndex,c=e.barSize,u=e.layout,d=e.barGap,f=e.barCategoryGap,h=e.maxBarSize,p=Z$(u),m=p.numericAxisName,g=p.cateAxisName,y=function(e){return!(!e||!e.length)&&e.some((function(e){var t=rR(e&&e.type);return t&&t.indexOf("Bar")>=0}))}(n),v=[];return n.forEach((function(n,p){var b=B$(e.data,{graphicalItems:[n],dataStartIndex:a,dataEndIndex:s}),x=void 0!==n.type.defaultProps?T$(T$({},n.type.defaultProps),n.props):n.props,w=x.dataKey,C=x.maxBarSize,A=x["".concat(m,"Id")],E=x["".concat(g,"Id")],S=l.reduce((function(e,n){var r=t["".concat(n.axisType,"Map")],o=x["".concat(n.axisType,"Id")];r&&r[o]||"zAxis"===n.axisType||TW();var i=r[o];return T$(T$({},e),{},M$(M$({},n.axisType,i),"".concat(n.axisType,"Ticks"),sU(i)))}),{}),k=S[g],_=S["".concat(g,"Ticks")],O=r&&r[A]&&r[A].hasStack&&function(e,t){var n,r=(null!==(n=e.type)&&void 0!==n&&n.defaultProps?JW(JW({},e.type.defaultProps),e.props):e.props).stackId;if(IO(r)){var o=t[r];if(o){var i=o.items.indexOf(e);return i>=0?o.stackedData[i]:null}}return null}(n,r[A].stackGroups),R=rR(n.type).indexOf("Bar")>=0,P=CU(k,_),j=[],T=y&&function(e){var t=e.barSize,n=e.totalSize,r=e.stackGroups,o=void 0===r?{}:r;if(!o)return{};for(var i={},a=Object.keys(o),s=0,l=a.length;s<l;s++)for(var c=o[a[s]].stackGroups,u=Object.keys(c),d=0,f=u.length;d<f;d++){var h=c[u[d]],p=h.items,m=h.cateAxisId,g=p.filter((function(e){return rR(e.type).indexOf("Bar")>=0}));if(g&&g.length){var y=g[0].type.defaultProps,v=void 0!==y?JW(JW({},y),g[0].props):g[0].props,b=v.barSize,x=v[m];i[x]||(i[x]=[]);var w=yO(b)?t:b;i[x].push({item:g[0],stackList:g.slice(1),barSize:yO(w)?void 0:zO(w,n,0)})}}return i}({barSize:c,stackGroups:r,totalSize:q$(S,g)});if(R){var M,N,L=yO(C)?h:C,D=null!==(M=null!==(N=CU(k,_,!0))&&void 0!==N?N:L)&&void 0!==M?M:0;j=function(e){var t=e.barGap,n=e.barCategoryGap,r=e.bandSize,o=e.sizeList,i=void 0===o?[]:o,a=e.maxBarSize,s=i.length;if(s<1)return null;var l,c=zO(t,r,0,!0),u=[];if(i[0].barSize===+i[0].barSize){var d=!1,f=r/s,h=i.reduce((function(e,t){return e+t.barSize||0}),0);(h+=(s-1)*c)>=r&&(h-=(s-1)*c,c=0),h>=r&&f>0&&(d=!0,h=s*(f*=.9));var p={offset:((r-h)/2|0)-c,size:0};l=i.reduce((function(e,t){var n={item:t.item,position:{offset:p.offset+p.size+c,size:d?f:t.barSize}},r=[].concat(QW(e),[n]);return p=r[r.length-1].position,t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:p})})),r}),u)}else{var m=zO(n,r,0,!0);r-2*m-(s-1)*c<=0&&(c=0);var g=(r-2*m-(s-1)*c)/s;g>1&&(g>>=0);var y=a===+a?Math.min(g,a):g;l=i.reduce((function(e,t,n){var r=[].concat(QW(e),[{item:t.item,position:{offset:m+(g+c)*n+(g-y)/2,size:y}}]);return t.stackList&&t.stackList.length&&t.stackList.forEach((function(e){r.push({item:e,position:r[r.length-1].position})})),r}),u)}return l}({barGap:d,barCategoryGap:f,bandSize:D!==P?D:P,sizeList:T[E],maxBarSize:L}),D!==P&&(j=j.map((function(e){return T$(T$({},e),{},{position:T$(T$({},e.position),{},{offset:e.position.offset-D/2})})})))}var I=n&&n.type&&n.type.getComposedData;I&&v.push({props:T$(T$({},I(T$(T$({},S),{},{displayedData:b,props:e,dataKey:w,item:n,bandSize:P,barPosition:j,offset:o,stackedData:O,layout:u,dataStartIndex:a,dataEndIndex:s}))),{},M$(M$(M$({key:n.key||"item-".concat(p)},m,S[m]),g,S[g]),"animationId",i)),childIndex:gR(n,e.children),item:n})})),v}(o,T$(T$({},x),{},{dataStartIndex:i,dataEndIndex:a,updateId:s,graphicalItems:v,stackGroups:b,offset:w}));return T$(T$({formattedGraphicalItems:A,graphicalItems:v,offset:w,stackGroups:b},C),x)},h=function(e){function r(e){var o,i,a;return function(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}(this,r),M$(a=function(e,t,n){return t=k$(t),function(e,t){if(t&&("object"===w$(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return function(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}(e)}(e,S$()?Reflect.construct(t,n||[],k$(e).constructor):t.apply(e,n))}(this,r,[e]),"eventEmitterSymbol",Symbol("rechartsEventEmitter")),M$(a,"accessibilityManager",new d$),M$(a,"handleLegendBBoxUpdate",(function(e){if(e){var t=a.state,n=t.dataStartIndex,r=t.dataEndIndex,o=t.updateId;a.setState(T$({legendBBox:e},f({props:a.props,dataStartIndex:n,dataEndIndex:r,updateId:o},T$(T$({},a.state),{},{legendBBox:e}))))}})),M$(a,"handleReceiveSyncEvent",(function(e,t,n){if(a.props.syncId===e){if(n===a.eventEmitterSymbol&&"function"!=typeof a.props.syncMethod)return;a.applySyncEvent(t)}})),M$(a,"handleBrushChange",(function(e){var t=e.startIndex,n=e.endIndex;if(t!==a.state.dataStartIndex||n!==a.state.dataEndIndex){var r=a.state.updateId;a.setState((function(){return T$({dataStartIndex:t,dataEndIndex:n},f({props:a.props,dataStartIndex:t,dataEndIndex:n,updateId:r},a.state))})),a.triggerSyncEvent({dataStartIndex:t,dataEndIndex:n})}})),M$(a,"handleMouseEnter",(function(e){var t=a.getMouseInfo(e);if(t){var n=T$(T$({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseEnter;jk(r)&&r(n,e)}})),M$(a,"triggeredAfterMouseMove",(function(e){var t=a.getMouseInfo(e),n=t?T$(T$({},t),{},{isTooltipActive:!0}):{isTooltipActive:!1};a.setState(n),a.triggerSyncEvent(n);var r=a.props.onMouseMove;jk(r)&&r(n,e)})),M$(a,"handleItemMouseEnter",(function(e){a.setState((function(){return{isTooltipActive:!0,activeItem:e,activePayload:e.tooltipPayload,activeCoordinate:e.tooltipPosition||{x:e.cx,y:e.cy}}}))})),M$(a,"handleItemMouseLeave",(function(){a.setState((function(){return{isTooltipActive:!1}}))})),M$(a,"handleMouseMove",(function(e){e.persist(),a.throttleTriggeredAfterMouseMove(e)})),M$(a,"handleMouseLeave",(function(e){a.throttleTriggeredAfterMouseMove.cancel();var t={isTooltipActive:!1};a.setState(t),a.triggerSyncEvent(t);var n=a.props.onMouseLeave;jk(n)&&n(t,e)})),M$(a,"handleOuterEvent",(function(e){var t,n=function(e){var t=e&&e.type;return t&&nR[t]?nR[t]:null}(e),r=mO(a.props,"".concat(n));n&&jk(r)&&r(null!==(t=/.*touch.*/i.test(n)?a.getMouseInfo(e.changedTouches[0]):a.getMouseInfo(e))&&void 0!==t?t:{},e)})),M$(a,"handleClick",(function(e){var t=a.getMouseInfo(e);if(t){var n=T$(T$({},t),{},{isTooltipActive:!0});a.setState(n),a.triggerSyncEvent(n);var r=a.props.onClick;jk(r)&&r(n,e)}})),M$(a,"handleMouseDown",(function(e){var t=a.props.onMouseDown;jk(t)&&t(a.getMouseInfo(e),e)})),M$(a,"handleMouseUp",(function(e){var t=a.props.onMouseUp;jk(t)&&t(a.getMouseInfo(e),e)})),M$(a,"handleTouchMove",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.throttleTriggeredAfterMouseMove(e.changedTouches[0])})),M$(a,"handleTouchStart",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseDown(e.changedTouches[0])})),M$(a,"handleTouchEnd",(function(e){null!=e.changedTouches&&e.changedTouches.length>0&&a.handleMouseUp(e.changedTouches[0])})),M$(a,"triggerSyncEvent",(function(e){void 0!==a.props.syncId&&a$.emit(s$,a.props.syncId,e,a.eventEmitterSymbol)})),M$(a,"applySyncEvent",(function(e){var t=a.props,n=t.layout,r=t.syncMethod,o=a.state.updateId,i=e.dataStartIndex,s=e.dataEndIndex;if(void 0!==e.dataStartIndex||void 0!==e.dataEndIndex)a.setState(T$({dataStartIndex:i,dataEndIndex:s},f({props:a.props,dataStartIndex:i,dataEndIndex:s,updateId:o},a.state)));else if(void 0!==e.activeTooltipIndex){var l=e.chartX,c=e.chartY,u=e.activeTooltipIndex,d=a.state,h=d.offset,p=d.tooltipTicks;if(!h)return;if("function"==typeof r)u=r(p,e);else if("value"===r){u=-1;for(var m=0;m<p.length;m++)if(p[m].value===e.activeLabel){u=m;break}}var g=T$(T$({},h),{},{x:h.left,y:h.top}),y=Math.min(l,g.x+g.width),v=Math.min(c,g.y+g.height),b=p[u]&&p[u].value,x=V$(a.state,a.props.data,u),w=p[u]?{x:"horizontal"===n?p[u].coordinate:y,y:"horizontal"===n?v:p[u].coordinate}:I$;a.setState(T$(T$({},e),{},{activeLabel:b,activeCoordinate:w,activePayload:x,activeTooltipIndex:u}))}else a.setState(e)})),M$(a,"renderCursor",(function(e){var r,o=a.state,i=o.isTooltipActive,s=o.activeCoordinate,l=o.activePayload,c=o.offset,u=o.activeTooltipIndex,d=o.tooltipAxisBandSize,f=a.getTooltipEventType(),h=null!==(r=e.props.active)&&void 0!==r?r:i,p=a.props.layout,m=e.key||"_recharts-cursor";return n.createElement(v$,{key:m,activeCoordinate:s,activePayload:l,activeTooltipIndex:u,chartName:t,element:e,isActive:h,layout:p,offset:c,tooltipAxisBandSize:d,tooltipEventType:f})})),M$(a,"renderPolarAxis",(function(e,t,r){var o=mO(e,"type.axisType"),i=mO(a.state,"".concat(o,"Map")),s=e.type.defaultProps,l=void 0!==s?T$(T$({},s),e.props):e.props,c=i&&i[l["".concat(o,"Id")]];return(0,n.cloneElement)(e,T$(T$({},c),{},{className:Kt(o,c.className),key:e.key||"".concat(t,"-").concat(r),ticks:sU(c,!0)}))})),M$(a,"renderPolarGrid",(function(e){var t=e.props,r=t.radialLines,o=t.polarAngles,i=t.polarRadius,s=a.state,l=s.radiusAxisMap,c=s.angleAxisMap,u=VO(l),d=VO(c),f=d.cx,h=d.cy,p=d.innerRadius,m=d.outerRadius;return(0,n.cloneElement)(e,{polarAngles:Array.isArray(o)?o:sU(d,!0).map((function(e){return e.coordinate})),polarRadius:Array.isArray(i)?i:sU(u,!0).map((function(e){return e.coordinate})),cx:f,cy:h,innerRadius:p,outerRadius:m,key:e.key||"polar-grid",radialLines:r})})),M$(a,"renderLegend",(function(){var e=a.state.formattedGraphicalItems,t=a.props,r=t.children,o=t.width,i=t.height,s=a.props.margin||{},l=o-(s.left||0)-(s.right||0),u=YW({children:r,formattedGraphicalItems:e,legendWidth:l,legendContent:c});if(!u)return null;var d=u.item,f=E$(u,b$);return(0,n.cloneElement)(d,T$(T$({},f),{},{chartWidth:o,chartHeight:i,margin:s,onBBoxUpdate:a.handleLegendBBoxUpdate}))})),M$(a,"renderTooltip",(function(){var e,t=a.props,r=t.children,o=t.accessibilityLayer,i=lR(r,xD);if(!i)return null;var s=a.state,l=s.isTooltipActive,c=s.activeCoordinate,u=s.activePayload,d=s.activeLabel,f=s.offset,h=null!==(e=i.props.active)&&void 0!==e?e:l;return(0,n.cloneElement)(i,{viewBox:T$(T$({},f),{},{x:f.left,y:f.top}),active:h,label:d,payload:h?u:[],coordinate:c,accessibilityLayer:o})})),M$(a,"renderBrush",(function(e){var t=a.props,r=t.margin,o=t.data,i=a.state,s=i.offset,l=i.dataStartIndex,c=i.dataEndIndex,u=i.updateId;return(0,n.cloneElement)(e,{key:e.key||"_recharts-brush",onChange:cU(a.handleBrushChange,e.props.onChange),data:o,x:DO(e.props.x)?e.props.x:s.left,y:DO(e.props.y)?e.props.y:s.top+s.height+s.brushBottom-(r.bottom||0),width:DO(e.props.width)?e.props.width:s.width,startIndex:l,endIndex:c,updateId:"brush-".concat(u)})})),M$(a,"renderReferenceElement",(function(e,t,r){if(!e)return null;var o=a.clipPathId,i=a.state,s=i.xAxisMap,l=i.yAxisMap,c=i.offset,u=e.type.defaultProps||{},d=e.props,f=d.xAxisId,h=void 0===f?u.xAxisId:f,p=d.yAxisId,m=void 0===p?u.yAxisId:p;return(0,n.cloneElement)(e,{key:e.key||"".concat(t,"-").concat(r),xAxis:s[h],yAxis:l[m],viewBox:{x:c.left,y:c.top,width:c.width,height:c.height},clipPathId:o})})),M$(a,"renderActivePoints",(function(e){var t=e.item,n=e.activePoint,o=e.basePoint,i=e.childIndex,a=e.isRange,s=[],l=t.props.key,c=void 0!==t.item.type.defaultProps?T$(T$({},t.item.type.defaultProps),t.item.props):t.item.props,u=c.activeDot,d=T$(T$({index:i,dataKey:c.dataKey,cx:n.x,cy:n.y,r:4,fill:nU(t.item),strokeWidth:2,stroke:"#fff",payload:n.payload,value:n.value},fR(u,!1)),GO(u));return s.push(r.renderActiveDot(u,d,"".concat(l,"-activePoint-").concat(i))),o?s.push(r.renderActiveDot(u,T$(T$({},d),{},{cx:o.x,cy:o.y}),"".concat(l,"-basePoint-").concat(i))):a&&s.push(null),s})),M$(a,"renderGraphicChild",(function(e,t,r){var o=a.filterFormatItem(e,t,r);if(!o)return null;var i=a.getTooltipEventType(),s=a.state,l=s.isTooltipActive,c=s.tooltipAxis,u=s.activeTooltipIndex,d=s.activeLabel,f=lR(a.props.children,xD),h=o.props,p=h.points,m=h.isRange,g=h.baseLine,y=void 0!==o.item.type.defaultProps?T$(T$({},o.item.type.defaultProps),o.item.props):o.item.props,v=y.activeDot,b=y.hide,x=y.activeBar,w=y.activeShape,C=!(b||!l||!f||!(v||x||w)),A={};"axis"!==i&&f&&"click"===f.props.trigger?A={onClick:cU(a.handleItemMouseEnter,e.props.onClick)}:"axis"!==i&&(A={onMouseLeave:cU(a.handleItemMouseLeave,e.props.onMouseLeave),onMouseEnter:cU(a.handleItemMouseEnter,e.props.onMouseEnter)});var E=(0,n.cloneElement)(e,T$(T$({},o.props),A));if(C){if(!(u>=0)){var S,k=(null!==(S=a.getItemByXY(a.state.activeCoordinate))&&void 0!==S?S:{graphicalItem:E}).graphicalItem,_=k.item,O=void 0===_?e:_,R=k.childIndex,P=T$(T$(T$({},o.props),A),{},{activeIndex:R});return[(0,n.cloneElement)(O,P),null,null]}var j,T;if(c.dataKey&&!c.allowDuplicatedCategory){var M="function"==typeof c.dataKey?function(e){return"function"==typeof c.dataKey?c.dataKey(e.payload):null}:"payload.".concat(c.dataKey.toString());j=WO(p,M,d),T=m&&g&&WO(g,M,d)}else j=null==p?void 0:p[u],T=m&&g&&g[u];if(w||x){var N=void 0!==e.props.activeIndex?e.props.activeIndex:u;return[(0,n.cloneElement)(e,T$(T$(T$({},o.props),A),{},{activeIndex:N})),null,null]}if(!yO(j))return[E].concat(O$(a.renderActivePoints({item:o,activePoint:j,basePoint:T,childIndex:u,isRange:m})))}return m?[E,null,null]:[E,null]})),M$(a,"renderCustomized",(function(e,t,r){return(0,n.cloneElement)(e,T$(T$({key:"recharts-customized-".concat(r)},a.props),a.state))})),M$(a,"renderMap",{CartesianGrid:{handler:F$,once:!0},ReferenceArea:{handler:a.renderReferenceElement},ReferenceLine:{handler:F$},ReferenceDot:{handler:a.renderReferenceElement},XAxis:{handler:F$},YAxis:{handler:F$},Brush:{handler:a.renderBrush,once:!0},Bar:{handler:a.renderGraphicChild},Line:{handler:a.renderGraphicChild},Area:{handler:a.renderGraphicChild},Radar:{handler:a.renderGraphicChild},RadialBar:{handler:a.renderGraphicChild},Scatter:{handler:a.renderGraphicChild},Pie:{handler:a.renderGraphicChild},Funnel:{handler:a.renderGraphicChild},Tooltip:{handler:a.renderCursor,once:!0},PolarGrid:{handler:a.renderPolarGrid,once:!0},PolarAngleAxis:{handler:a.renderPolarAxis},PolarRadiusAxis:{handler:a.renderPolarAxis},Customized:{handler:a.renderCustomized}}),a.clipPathId="".concat(null!==(o=e.id)&&void 0!==o?o:BO("recharts"),"-clip"),a.throttleTriggeredAfterMouseMove=VD(a.triggeredAfterMouseMove,null!==(i=e.throttleDelay)&&void 0!==i?i:1e3/60),a.state={},a}return 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}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&_$(e,t)}(r,e),function(e,t){return t&&function(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,N$(r.key),r)}}(e.prototype,t),Object.defineProperty(e,"prototype",{writable:!1}),e}(r,[{key:"componentDidMount",value:function(){var e,t;this.addListener(),this.accessibilityManager.setDetails({container:this.container,offset:{left:null!==(e=this.props.margin.left)&&void 0!==e?e:0,top:null!==(t=this.props.margin.top)&&void 0!==t?t:0},coordinateList:this.state.tooltipTicks,mouseHandlerCallback:this.triggeredAfterMouseMove,layout:this.props.layout}),this.displayDefaultTooltip()}},{key:"displayDefaultTooltip",value:function(){var e=this.props,t=e.children,n=e.data,r=e.height,o=e.layout,i=lR(t,xD);if(i){var a=i.props.defaultIndex;if(!("number"!=typeof a||a<0||a>this.state.tooltipTicks.length-1)){var s=this.state.tooltipTicks[a]&&this.state.tooltipTicks[a].value,l=V$(this.state,n,a,s),c=this.state.tooltipTicks[a].coordinate,u=(this.state.offset.top+r)/2,d="horizontal"===o?{x:c,y:u}:{y:c,x:u},f=this.state.formattedGraphicalItems.find((function(e){return"Scatter"===e.item.type.name}));f&&(d=T$(T$({},d),f.props.points[a].tooltipPosition),l=f.props.points[a].tooltipPayload);var h={activeTooltipIndex:a,isTooltipActive:!0,activeLabel:s,activePayload:l,activeCoordinate:d};this.setState(h),this.renderCursor(i),this.accessibilityManager.setIndex(a)}}}},{key:"getSnapshotBeforeUpdate",value:function(e,t){return this.props.accessibilityLayer?(this.state.tooltipTicks!==t.tooltipTicks&&this.accessibilityManager.setDetails({coordinateList:this.state.tooltipTicks}),this.props.layout!==e.layout&&this.accessibilityManager.setDetails({layout:this.props.layout}),this.props.margin!==e.margin&&this.accessibilityManager.setDetails({offset:{left:null!==(n=this.props.margin.left)&&void 0!==n?n:0,top:null!==(r=this.props.margin.top)&&void 0!==r?r:0}}),null):null;var n,r}},{key:"componentDidUpdate",value:function(e){hR([lR(e.children,xD)],[lR(this.props.children,xD)])||this.displayDefaultTooltip()}},{key:"componentWillUnmount",value:function(){this.removeListener(),this.throttleTriggeredAfterMouseMove.cancel()}},{key:"getTooltipEventType",value:function(){var e=lR(this.props.children,xD);if(e&&"boolean"==typeof e.props.shared){var t=e.props.shared?"axis":"item";return s.indexOf(t)>=0?t:i}return i}},{key:"getMouseInfo",value:function(e){if(!this.container)return null;var t=this.container,n=t.getBoundingClientRect(),r=function(e){return{top:e.top+window.scrollY-document.documentElement.clientTop,left:e.left+window.scrollX-document.documentElement.clientLeft}}(n),o={chartX:Math.round(e.pageX-r.left),chartY:Math.round(e.pageY-r.top)},i=n.width/t.offsetWidth||1,a=this.inRange(o.chartX,o.chartY,i);if(!a)return null;var s=this.state,l=s.xAxisMap,c=s.yAxisMap;if("axis"!==this.getTooltipEventType()&&l&&c){var u=VO(l).scale,d=VO(c).scale,f=u&&u.invert?u.invert(o.chartX):null,h=d&&d.invert?d.invert(o.chartY):null;return T$(T$({},o),{},{xValue:f,yValue:h})}var p=H$(this.state,this.props.data,this.props.layout,a);return p?T$(T$({},o),p):null}},{key:"inRange",value:function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1,r=this.props.layout,o=e/n,i=t/n;if("horizontal"===r||"vertical"===r){var a=this.state.offset;return o>=a.left&&o<=a.left+a.width&&i>=a.top&&i<=a.top+a.height?{x:o,y:i}:null}var s=this.state,l=s.angleAxisMap,c=s.radiusAxisMap;if(l&&c){var u=VO(l);return LU({x:o,y:i},u)}return null}},{key:"parseEventsOfWrapper",value:function(){var e=this.props.children,t=this.getTooltipEventType(),n=lR(e,xD),r={};return n&&"axis"===t&&(r="click"===n.props.trigger?{onClick:this.handleClick}:{onMouseEnter:this.handleMouseEnter,onMouseMove:this.handleMouseMove,onMouseLeave:this.handleMouseLeave,onTouchMove:this.handleTouchMove,onTouchStart:this.handleTouchStart,onTouchEnd:this.handleTouchEnd}),T$(T$({},GO(this.props,this.handleOuterEvent)),r)}},{key:"addListener",value:function(){a$.on(s$,this.handleReceiveSyncEvent)}},{key:"removeListener",value:function(){a$.removeListener(s$,this.handleReceiveSyncEvent)}},{key:"filterFormatItem",value:function(e,t,n){for(var r=this.state.formattedGraphicalItems,o=0,i=r.length;o<i;o++){var a=r[o];if(a.item===e||a.props.key===e.key||t===rR(a.item.type)&&n===a.childIndex)return a}return null}},{key:"renderClipPath",value:function(){var e=this.clipPathId,t=this.state.offset,r=t.left,o=t.top,i=t.height,a=t.width;return n.createElement("defs",null,n.createElement("clipPath",{id:e},n.createElement("rect",{x:r,y:o,height:i,width:a})))}},{key:"getXScales",value:function(){var e=this.state.xAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=A$(t,2),r=n[0],o=n[1];return T$(T$({},e),{},M$({},r,o.scale))}),{}):null}},{key:"getYScales",value:function(){var e=this.state.yAxisMap;return e?Object.entries(e).reduce((function(e,t){var n=A$(t,2),r=n[0],o=n[1];return T$(T$({},e),{},M$({},r,o.scale))}),{}):null}},{key:"getXScaleByAxisId",value:function(e){var t;return null===(t=this.state.xAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getYScaleByAxisId",value:function(e){var t;return null===(t=this.state.yAxisMap)||void 0===t||null===(t=t[e])||void 0===t?void 0:t.scale}},{key:"getItemByXY",value:function(e){var t=this.state,n=t.formattedGraphicalItems,r=t.activeItem;if(n&&n.length)for(var o=0,i=n.length;o<i;o++){var a=n[o],s=a.props,l=a.item,c=void 0!==l.type.defaultProps?T$(T$({},l.type.defaultProps),l.props):l.props,u=rR(l.type);if("Bar"===u){var d=(s.data||[]).find((function(t){return Gq(e,t)}));if(d)return{graphicalItem:a,payload:d}}else if("RadialBar"===u){var f=(s.data||[]).find((function(t){return LU(e,t)}));if(f)return{graphicalItem:a,payload:f}}else if(jK(a,r)||TK(a,r)||MK(a,r)){var h=IK({graphicalItem:a,activeTooltipItem:r,itemData:c.data}),p=void 0===c.activeIndex?h:c.activeIndex;return{graphicalItem:T$(T$({},a),{},{childIndex:p}),payload:MK(a,r)?c.data[h]:a.props.data[h]}}}return null}},{key:"render",value:function(){var e=this;if(!cR(this))return null;var t,r,o=this.props,i=o.children,a=o.className,s=o.width,l=o.height,c=o.style,u=o.compact,d=o.title,f=o.desc,h=E$(o,x$),p=fR(h,!1);if(u)return n.createElement(FG,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement(bR,C$({},p,{width:s,height:l,title:d,desc:f}),this.renderClipPath(),mR(i,this.renderMap)));this.props.accessibilityLayer&&(p.tabIndex=null!==(t=this.props.tabIndex)&&void 0!==t?t:0,p.role=null!==(r=this.props.role)&&void 0!==r?r:"application",p.onKeyDown=function(t){e.accessibilityManager.keyboardEvent(t)},p.onFocus=function(){e.accessibilityManager.focus()});var m=this.parseEventsOfWrapper();return n.createElement(FG,{state:this.state,width:this.props.width,height:this.props.height,clipPathId:this.clipPathId},n.createElement("div",C$({className:Kt("recharts-wrapper",a),style:T$({position:"relative",cursor:"default",width:s,height:l},c)},m,{ref:function(t){e.container=t}}),n.createElement(bR,C$({},p,{width:s,height:l,title:d,desc:f,style:D$}),this.renderClipPath(),mR(i,this.renderMap)),this.renderLegend(),this.renderTooltip()))}}])}(n.Component);M$(h,"displayName",t),M$(h,"defaultProps",T$({layout:"horizontal",stackOffset:"none",barCategoryGap:"10%",barGap:4,margin:{top:5,right:5,bottom:5,left:5},reverseStackOrder:!1,syncMethod:"index"},d)),M$(h,"getDerivedStateFromProps",(function(e,t){var n=e.dataKey,r=e.data,o=e.children,i=e.width,a=e.height,s=e.layout,l=e.stackOffset,c=e.margin,u=t.dataStartIndex,d=t.dataEndIndex;if(void 0===t.updateId){var h=U$(e);return T$(T$(T$({},h),{},{updateId:0},f(T$(T$({props:e},h),{},{updateId:0}),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:s,prevStackOffset:l,prevMargin:c,prevChildren:o})}if(n!==t.prevDataKey||r!==t.prevData||i!==t.prevWidth||a!==t.prevHeight||s!==t.prevLayout||l!==t.prevStackOffset||!UO(c,t.prevMargin)){var p=U$(e),m={chartX:t.chartX,chartY:t.chartY,isTooltipActive:t.isTooltipActive},g=T$(T$({},H$(t,r,s)),{},{updateId:t.updateId+1}),y=T$(T$(T$({},p),m),g);return T$(T$(T$({},y),f(T$({props:e},y),t)),{},{prevDataKey:n,prevData:r,prevWidth:i,prevHeight:a,prevLayout:s,prevStackOffset:l,prevMargin:c,prevChildren:o})}if(!hR(o,t.prevChildren)){var v,b,x,w,C=lR(o,xQ),A=C&&null!==(v=null===(b=C.props)||void 0===b?void 0:b.startIndex)&&void 0!==v?v:u,E=C&&null!==(x=null===(w=C.props)||void 0===w?void 0:w.endIndex)&&void 0!==x?x:d,S=A!==u||E!==d,k=yO(r)||S?t.updateId+1:t.updateId;return T$(T$({updateId:k},f(T$(T$({props:e},t),{},{updateId:k,dataStartIndex:A,dataEndIndex:E}),t)),{},{prevChildren:o,dataStartIndex:A,dataEndIndex:E})}return null})),M$(h,"renderActiveDot",(function(e,t,r){var o;return o=(0,n.isValidElement)(e)?(0,n.cloneElement)(e,t):jk(e)?e(t):n.createElement(sY,t),n.createElement(CR,{className:"recharts-active-dot",key:r},o)}));var p=(0,n.forwardRef)((function(e,t){return n.createElement(h,C$({},e,{ref:t}))}));return p.displayName=h.displayName,p},K$=Y$({chartName:"LineChart",GraphicalChild:CJ,axisComponents:[{axisType:"xAxis",AxisComp:qJ},{axisType:"yAxis",AxisComp:t$}],formatAxisMap:yG});Y$({chartName:"BarChart",GraphicalChild:uG,defaultTooltipEventType:"axis",validateTooltipEventTypes:["axis","item"],axisComponents:[{axisType:"xAxis",AxisComp:qJ},{axisType:"yAxis",AxisComp:t$}],formatAxisMap:yG}),Y$({chartName:"PieChart",GraphicalChild:KK,validateTooltipEventTypes:["item"],defaultTooltipEventType:"item",legendContent:"children",axisComponents:[{axisType:"angleAxis",AxisComp:XY},{axisType:"radiusAxis",AxisComp:FY}],formatAxisMap:function(e,t,n,r,o){var i=e.width,a=e.height,s=e.startAngle,l=e.endAngle,c=zO(e.cx,i,i/2),u=zO(e.cy,a,a/2),d=MU(i,a,n),f=zO(e.innerRadius,d,0),h=zO(e.outerRadius,d,.8*d);return Object.keys(t).reduce((function(e,n){var i,a=t[n],d=a.domain,p=a.reversed;if(yO(a.range))"angleAxis"===r?i=[s,l]:"radiusAxis"===r&&(i=[f,h]),p&&(i=[i[1],i[0]]);else{var m=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var r,o,i,a,s=[],l=!0,c=!1;try{if(i=(n=n.call(e)).next,0!==t)for(;!(l=(r=i.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,o=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw o}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return RU(e,t);var n=Object.prototype.toString.call(e).slice(8,-1);if("Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n)return Array.from(e);if("Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))return RU(e,t)}}(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(i=a.range,2);s=m[0],l=m[1]}var g=uU(a,o),y=g.realScaleType,v=g.scale;v.domain(d).range(i),fU(v);var b=mU(v,_U(_U({},a),{},{realScaleType:y})),x=_U(_U(_U({},a),b),{},{range:i,radius:h,realScaleType:y,scale:v,cx:c,cy:u,innerRadius:f,outerRadius:h,startAngle:s,endAngle:l});return _U(_U({},e),{},OU({},n,x))}),{})},defaultProps:{layout:"centric",startAngle:0,endAngle:360,cx:"50%",cy:"50%",innerRadius:0,outerRadius:"80%"}}),Y$({chartName:"AreaChart",GraphicalChild:IJ,axisComponents:[{axisType:"xAxis",AxisComp:qJ},{axisType:"yAxis",AxisComp:t$}],formatAxisMap:yG});const Q$=n.forwardRef((({className:e,hideIcon:t=!1,payload:n=[],verticalAlign:r="bottom",nameKey:o="value",fontSizeVariant:i},a)=>n.length?(0,We.jsx)("div",{ref:a,className:Qt("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",e),children:n.map((e=>(0,We.jsxs)("div",{className:"flex items-center gap-1.5",children:[!t&&(0,We.jsx)("div",{className:"size-2 shrink-0 rounded-sm",style:{backgroundColor:e.color}}),(0,We.jsx)("span",{className:"capitalize",style:{fontSize:i},children:e[o]})]},e.value)))}):null));Q$.displayName="ChartLegendContent";const G$=n.forwardRef((({active:e,payload:t,className:n,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:a,labelFormatter:s,labelClassName:l,formatter:c,color:u,nameKey:d="name",labelKey:f},h)=>{if(!e||null==t||!t.length)return null;const p=1===t.length&&"dot"!==r;return(0,We.jsxs)("div",{ref:h,className:Qt("grid min-w-[8rem] items-start gap-1.5 rounded-lg border bg-tooltip-background-light px-3 py-2 text-xs shadow-xl",n),children:[p?null:(()=>{if(o||null==t||!t.length)return null;const[e]=t,n=s?s(a||""):e[f]||a;return n?(0,We.jsx)("div",{className:Qt("font-medium",l),children:n}):null})(),(0,We.jsx)("div",{className:"grid gap-1.5",children:t.map(((e,t)=>{const n=u||e.color||"#000";return(0,We.jsxs)("div",{className:Qt("flex w-full items-stretch gap-2","dot"===r&&"items-center"),children:[!i&&(0,We.jsx)("div",{className:Qt({"size-2.5":"dot"===r,"w-1 h-full":"line"===r,"w-0 border-[0.5px] border-dashed":"dashed"===r}),style:{backgroundColor:"dot"===r||"line"===r?n:"",borderColor:"dashed"===r?n:""}}),(0,We.jsxs)("div",{className:"flex-1 flex justify-between items-center",children:[(0,We.jsx)("span",{children:e[d]||e.dataKey}),(0,We.jsx)("span",{className:"font-mono font-medium",children:c?c(e.value??""):e.value??""})]})]},e.dataKey||t)}))})]})}));G$.displayName="ChartTooltipContent";const X$=n.forwardRef((({active:e,payload:t,className:n,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:a,labelFormatter:s,labelClassName:l,formatter:c,color:u,nameKey:d="name",labelKey:f},h)=>{if(!e||null==t||!t.length)return null;const p=1===t.length&&"dot"!==r;return(0,We.jsxs)("div",{ref:h,className:Qt("grid min-w-[8rem] items-start gap-1.5 rounded-lg border bg-tooltip-background-light px-3 py-2 text-xs shadow-xl",n),children:[p?null:(()=>{if(o||null==t||!t.length)return null;const[e]=t,n=s?s(a||""):e[f]||a;return n?(0,We.jsx)("div",{className:Qt("font-medium",l),children:n}):null})(),(0,We.jsx)("div",{className:"grid gap-1.5",children:t.map(((e,t)=>{const n=u||e.color||"#000";return(0,We.jsxs)("div",{className:Qt("flex w-full items-stretch gap-2","dot"===r&&"items-center"),children:[!i&&(0,We.jsx)("div",{className:Qt({"size-2.5 ":"dot"===r,"w-1 h-full":"line"===r,"w-0 border-[0.5px] border-dashed":"dashed"===r}),style:{backgroundColor:"dot"===r||"line"===r?n:"",borderColor:"dashed"===r?n:""}}),(0,We.jsxs)("div",{className:"flex-1 flex justify-between items-center",children:[(0,We.jsx)("span",{children:e[d]||e.dataKey}),(0,We.jsx)("span",{className:"font-mono font-medium",children:c?c(e.value??""):e.value??""})]})]},e.dataKey||t)}))})]})}));X$.displayName="ChartTooltipContent";const J$=({data:e,dataKeys:t=[],colors:n=[],showXAxis:r=!1,showYAxis:o=!1,showTooltip:i=!0,tooltipIndicator:a="dot",tooltipLabelKey:s,showCartesianGrid:l=!0,tickFormatter:c,xAxisDataKey:u,yAxisDataKey:d,xAxisFontSize:f="sm",xAxisFontColor:h="#6B7280",yAxisFontColor:p="#6B7280",chartWidth:m=350,chartHeight:g=200,withDots:y=!1,lineChartWrapperProps:v,strokeDasharray:b="3 3",gridColor:x="#E5E7EB"})=>{const w=n.length>0?n:[{stroke:"#2563EB"},{stroke:"#38BDF8"}],C={sm:"12px",md:"14px",lg:"16px"},A=C[f]||C.sm;return e&&0!==e.length?(0,We.jsx)(YD,{width:m,height:g,children:(0,We.jsxs)(K$,{...v,data:e,children:[l&&(0,We.jsx)(aJ,{strokeDasharray:b,horizontal:!1,stroke:x}),(0,We.jsx)(qJ,{dataKey:u,tickLine:!1,axisLine:!1,tickMargin:8,tickFormatter:c,tick:{fontSize:A,fill:h},hide:!r}),(0,We.jsx)(t$,{dataKey:d,tickLine:!1,axisLine:!1,tickMargin:8,tick:{fontSize:A,fill:p},hide:!o}),i&&(0,We.jsx)(xD,{content:(0,We.jsx)(X$,{indicator:a,labelKey:s})}),t.map(((e,t)=>(0,We.jsx)(CJ,{type:"natural",dataKey:e,stroke:w[t].stroke,fill:w[t].stroke,strokeWidth:2,dot:y},e)))]})}):(0,We.jsx)(rn,{size:"sm",variant:"help",children:"No data available"})},$$=n.forwardRef((({active:e,payload:t,className:n,indicator:r="dot",hideLabel:o=!1,hideIndicator:i=!1,label:a,labelFormatter:s,labelClassName:l,formatter:c,color:u,nameKey:d="name",labelKey:f},h)=>{if(!e||null==t||!t.length)return null;const p=1===t.length&&"dot"!==r;return(0,We.jsxs)("div",{ref:h,className:Qt("grid min-w-[8rem] items-start gap-1.5 rounded-lg border bg-tooltip-background-light px-3 py-2 text-xs shadow-xl",n),children:[p?null:(()=>{if(o||null==t||!t.length)return null;const[e]=t,n=s?s(a||""):e[f]||a;return n?(0,We.jsx)("div",{className:Qt("font-medium",l),children:n}):null})(),(0,We.jsx)("div",{className:"grid gap-1.5",children:t.map(((e,t)=>{var n;const o=e.color||(null==(n=e.payload)?void 0:n.fill)||u||"#000";return(0,We.jsxs)("div",{className:Qt("flex w-full items-stretch gap-2","dot"===r&&"items-center"),children:[!i&&(0,We.jsx)("div",{className:Qt({"h-2.5 w-2.5 ":"dot"===r,"w-1 h-full":"line"===r,"w-0 border-[0.5px] border-dashed":"dashed"===r}),style:{backgroundColor:"dot"===r||"line"===r?o:"",borderColor:"dashed"===r?o:""}}),(0,We.jsxs)("div",{className:"flex-1 flex justify-between items-center",children:[(0,We.jsx)("span",{children:e[d]||e.dataKey}),(0,We.jsx)("span",{className:"font-mono font-medium",children:c?c(e.value??""):e.value??""})]})]},e.dataKey||t)}))})]})}));$$.displayName="ChartTooltipContent";const e1=n.forwardRef((({className:e,hideIcon:t=!1,payload:n=[],verticalAlign:r="bottom",nameKey:o="value"},i)=>n.length?(0,We.jsx)("div",{ref:i,className:Qt("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",e),children:n.map((e=>(0,We.jsxs)("div",{className:"flex items-center gap-1.5",children:[!t&&(0,We.jsx)("div",{className:"h-2 w-2 shrink-0 rounded-sm",style:{backgroundColor:e.color}}),(0,We.jsx)("span",{className:"capitalize",children:e[o]})]},e.value)))}):null));e1.displayName="ChartLegendContent";const t1=n.forwardRef((({className:e,hideIcon:t=!1,payload:n=[],verticalAlign:r="bottom",nameKey:o="value",fontSizeVariant:i},a)=>n.length?(0,We.jsx)("div",{ref:a,className:Qt("flex items-center justify-center gap-4","top"===r?"pb-3":"pt-3",e),children:n.map((e=>(0,We.jsxs)("div",{className:"flex items-center gap-1.5",children:[!t&&(0,We.jsx)("div",{className:"size-2 shrink-0 rounded-sm",style:{backgroundColor:e.color}}),(0,We.jsx)("span",{className:"capitalize",style:{fontSize:i},children:e[o]})]},e.value)))}):null));t1.displayName="ChartLegendContent";const n1=(0,n.forwardRef)((({active:e,payload:t,className:r,indicator:o,hideLabel:i=!1,hideIndicator:a=!1,label:s,labelFormatter:l,labelClassName:c,formatter:u,color:d,nameKey:f="name",labelKey:h},p)=>{const m=(0,n.useMemo)((()=>{if(i||null==t||!t.length)return null;const[e]=t,n=l?l(s||""):e[h]||s;return n?(0,We.jsx)("div",{className:Qt("font-medium",c),children:n}):null}),[s,l,t,i,c,h]);if(!e||null==t||!t.length)return null;const g=1===t.length&&"dot"!==o;return(0,We.jsxs)("div",{ref:p,className:Qt("grid min-w-[8rem] items-start gap-1.5 rounded-lg border bg-tooltip-background-light px-3 py-2 text-xs shadow-xl",r),children:[g?null:m,(0,We.jsx)("div",{className:"grid gap-1.5",children:t.map(((e,t)=>{const n=d||e.color||"#000";return(0,We.jsxs)("div",{className:Qt("flex w-full items-stretch gap-2","dot"===o&&"items-center"),children:[!a&&(0,We.jsx)("div",{className:Qt({"size-2.5":"dot"===o,"w-1 h-full":"line"===o,"w-0 border-[0.5px] border-dashed":"dashed"===o}),style:{backgroundColor:"dot"===o||"line"===o?n:"",borderColor:"dashed"===o?n:""}}),(0,We.jsxs)("div",{className:"flex-1 flex justify-between items-center",children:[(0,We.jsx)("span",{children:e[f]||e.dataKey}),(0,We.jsx)("span",{className:"font-mono font-medium",children:u?u(e.value??""):e.value??""})]})]},e.dataKey||t)}))})]})}));n1.displayName="ChartTooltipContent",(0,n.createContext)(null);const r1=(0,n.createContext)(void 0),o1=()=>{const e=(0,n.useContext)(r1);if(!e)throw new Error("Table components must be used within Table component");return e},i1=({children:e,className:t,checkboxSelection:r=!1,...o})=>{const i={checkboxSelection:r},a=n.Children.toArray(e).find((e=>n.isValidElement(e)&&e.type===d1)),s=n.Children.toArray(e).filter((e=>n.isValidElement(e)&&e.type!==d1));return(0,We.jsx)(r1.Provider,{value:i,children:(0,We.jsxs)("div",{className:"flow-root border-0.5 border-solid border-border-subtle rounded-md divide-y-0.5 divide-x-0 divide-solid divide-border-subtle overflow-hidden",children:[(0,We.jsx)("div",{className:"overflow-x-auto w-full",children:(0,We.jsx)("div",{className:"relative",children:(0,We.jsx)("table",{className:Qt("table-fixed min-w-full border-collapse border-spacing-0",t),...o,children:s})})}),a]})})},a1=({children:e,className:t,selected:n,onChangeSelection:r,indeterminate:o,disabled:i,...a})=>{const{checkboxSelection:s}=o1();return(0,We.jsx)("thead",{className:Qt("bg-background-secondary border-x-0 border-t-0 border-b-0.5 border-solid border-border-subtle",t),...a,children:(0,We.jsxs)("tr",{children:[s&&(0,We.jsx)("th",{scope:"col",className:"relative px-5.5 w-11 overflow-hidden",children:(0,We.jsx)("div",{className:"absolute inset-0 grid grid-cols-1 place-content-center",children:(0,We.jsx)(Pn,{size:"sm",checked:n,indeterminate:o,disabled:i,onChange:e=>{"function"==typeof r&&r(e)},"aria-label":n?"Deselect all":"Select all"})})}),e]})})},s1=({children:e,className:t,...n})=>(0,We.jsx)("th",{scope:"col",className:Qt("p-3 text-left text-sm font-medium leading-5 text-text-primary",t),...n,children:e}),l1=({children:e,className:t,...n})=>(0,We.jsx)("tbody",{className:Qt("bg-background-primary divide-y-0.5 divide-x-0 divide-solid divide-border-subtle",t),...n,children:e}),c1=({children:e,selected:t,value:n,className:r,onChangeSelection:o,...i})=>{const{checkboxSelection:a}=o1();return(0,We.jsxs)("tr",{className:Qt("hover:bg-background-secondary",t&&"bg-background-secondary",r),...i,children:[a&&(0,We.jsx)("td",{className:"relative px-5.5 w-11 overflow-hidden",children:(0,We.jsx)("div",{className:"absolute inset-0 grid grid-cols-1 place-content-center",children:(0,We.jsx)(Pn,{size:"sm",checked:t,onChange:e=>{"function"==typeof o&&o(e,n)},"aria-label":"Select row"})})}),e]})},u1=({children:e,className:t,...n})=>(0,We.jsx)("td",{className:Qt("px-3 py-3.5 text-sm font-normal leading-5 text-text-secondary",t),...n,children:e}),d1=({children:e,className:t,...n})=>{const{checkboxSelection:r}=o1();return(0,We.jsx)("div",{className:Qt("px-3 py-3",r&&"px-4",t),...n,children:e})};i1.displayName="Table",a1.displayName="Table.Head",s1.displayName="Table.HeadCell",l1.displayName="Table.Body",c1.displayName="Table.Row",u1.displayName="Table.Cell",d1.displayName="Table.Footer",i1.Head=a1,i1.HeadCell=s1,i1.Body=l1,i1.Row=c1,i1.Cell=u1,i1.Footer=d1;const f1=(...e)=>e.filter(((e,t,n)=>Boolean(e)&&n.indexOf(e)===t)).join(" ");var h1={xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:2,strokeLinecap:"round",strokeLinejoin:"round"};const p1=(0,n.forwardRef)((({color:e="currentColor",size:t=24,strokeWidth:r=2,absoluteStrokeWidth:o,className:i="",children:a,iconNode:s,...l},c)=>(0,n.createElement)("svg",{ref:c,...h1,width:t,height:t,stroke:e,strokeWidth:o?24*Number(r)/Number(t):r,className:f1("lucide",i),...l},[...s.map((([e,t])=>(0,n.createElement)(e,t))),...Array.isArray(a)?a:[a]]))),m1=(e,t)=>{const r=(0,n.forwardRef)((({className:r,...o},i)=>{return(0,n.createElement)(p1,{ref:i,iconNode:t,className:f1(`lucide-${a=e,a.replace(/([a-z0-9])([A-Z])/g,"$1-$2").toLowerCase()}`,r),...o});var a}));return r.displayName=`${e}`,r},g1=m1("Plus",[["path",{d:"M5 12h14",key:"1ays0h"}],["path",{d:"M12 5v14",key:"s699le"}]]),y1=m1("ChevronsUpDown",[["path",{d:"m7 15 5 5 5-5",key:"1hf1tw"}],["path",{d:"m7 9 5-5 5 5",key:"sgt6xg"}]]),v1=m1("PenLine",[["path",{d:"M12 20h9",key:"t2du7b"}],["path",{d:"M16.376 3.622a1 1 0 0 1 3.002 3.002L7.368 18.635a2 2 0 0 1-.855.506l-2.872.838a.5.5 0 0 1-.62-.62l.838-2.872a2 2 0 0 1 .506-.854z",key:"1ykcvy"}]]),b1=m1("Trash",[["path",{d:"M3 6h18",key:"d0wm0j"}],["path",{d:"M19 6v14c0 1-1 2-2 2H7c-1 0-2-1-2-2V6",key:"4alrt4"}],["path",{d:"M8 6V4c0-1 1-2 2-2h4c1 0 2 1 2 2v2",key:"v07s0e"}]]);var x1=n.createContext(void 0),w1=e=>{const t=n.useContext(x1);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},C1=({client:e,children:t})=>(n.useEffect((()=>(e.mount(),()=>{e.unmount()})),[e]),(0,We.jsx)(x1.Provider,{value:e,children:t})),A1=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},E1="undefined"==typeof window||"Deno"in globalThis;function S1(){}function k1(e){return"number"==typeof e&&e>=0&&e!==1/0}function _1(e,t){return Math.max(e+(t||0)-Date.now(),0)}function O1(e,t){return"function"==typeof e?e(t):e}function R1(e,t){return"function"==typeof e?e(t):e}function P1(e,t){const{type:n="all",exact:r,fetchStatus:o,predicate:i,queryKey:a,stale:s}=e;if(a)if(r){if(t.queryHash!==T1(a,t.options))return!1}else if(!N1(t.queryKey,a))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||o&&o!==t.state.fetchStatus||i&&!i(t))}function j1(e,t){const{exact:n,status:r,predicate:o,mutationKey:i}=e;if(i){if(!t.options.mutationKey)return!1;if(n){if(M1(t.options.mutationKey)!==M1(i))return!1}else if(!N1(t.options.mutationKey,i))return!1}return!(r&&t.state.status!==r||o&&!o(t))}function T1(e,t){return(t?.queryKeyHashFn||M1)(e)}function M1(e){return JSON.stringify(e,((e,t)=>F1(t)?Object.keys(t).sort().reduce(((e,n)=>(e[n]=t[n],e)),{}):t))}function N1(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some((n=>!N1(e[n],t[n])))}function L1(e,t){if(e===t)return e;const n=I1(e)&&I1(t);if(n||F1(e)&&F1(t)){const r=n?e:Object.keys(e),o=r.length,i=n?t:Object.keys(t),a=i.length,s=n?[]:{};let l=0;for(let o=0;o<a;o++){const a=n?o:i[o];(!n&&r.includes(a)||n)&&void 0===e[a]&&void 0===t[a]?(s[a]=void 0,l++):(s[a]=L1(e[a],t[a]),s[a]===e[a]&&void 0!==e[a]&&l++)}return o===a&&l===o?e:s}return t}function D1(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function I1(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function F1(e){if(!B1(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!B1(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function B1(e){return"[object Object]"===Object.prototype.toString.call(e)}function z1(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?L1(e,t):t}function V1(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function H1(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var W1=Symbol();function U1(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==W1?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}var Z1=new class extends A1{#e;#t;#n;constructor(){super(),this.#n=e=>{if(!E1&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e((e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()}))}setFocused(e){this.#e!==e&&(this.#e=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach((t=>{t(e)}))}isFocused(){return"boolean"==typeof this.#e?this.#e:"hidden"!==globalThis.document?.visibilityState}},q1=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},o=e=>setTimeout(e,0);const i=r=>{t?e.push(r):o((()=>{n(r)}))};return{batch:i=>{let a;t++;try{a=i()}finally{t--,t||(()=>{const t=e;e=[],t.length&&o((()=>{r((()=>{t.forEach((e=>{n(e)}))}))}))})()}return a},batchCalls:e=>(...t)=>{i((()=>{e(...t)}))},schedule:i,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{o=e}}}(),Y1=new class extends A1{#r=!0;#t;#n;constructor(){super(),this.#n=e=>{if(!E1&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#t||this.setEventListener(this.#n)}onUnsubscribe(){this.hasListeners()||(this.#t?.(),this.#t=void 0)}setEventListener(e){this.#n=e,this.#t?.(),this.#t=e(this.setOnline.bind(this))}setOnline(e){this.#r!==e&&(this.#r=e,this.listeners.forEach((t=>{t(e)})))}isOnline(){return this.#r}};function K1(){let e,t;const n=new Promise(((n,r)=>{e=n,t=r}));function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch((()=>{})),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function Q1(e){return Math.min(1e3*2**e,3e4)}function G1(e){return"online"!==(e??"online")||Y1.isOnline()}var X1=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function J1(e){return e instanceof X1}function $1(e){let t,n=!1,r=0,o=!1;const i=K1(),a=()=>Z1.isFocused()&&("always"===e.networkMode||Y1.isOnline())&&e.canRun(),s=()=>G1(e.networkMode)&&e.canRun(),l=n=>{o||(o=!0,e.onSuccess?.(n),t?.(),i.resolve(n))},c=n=>{o||(o=!0,e.onError?.(n),t?.(),i.reject(n))},u=()=>new Promise((n=>{t=e=>{(o||a())&&n(e)},e.onPause?.()})).then((()=>{t=void 0,o||e.onContinue?.()})),d=()=>{if(o)return;let t;const i=0===r?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch((t=>{if(o)return;const i=e.retry??(E1?0:3),s=e.retryDelay??Q1,l="function"==typeof s?s(r,t):s,f=!0===i||"number"==typeof i&&r<i||"function"==typeof i&&i(r,t);var h;!n&&f?(r++,e.onFail?.(r,t),(h=l,new Promise((e=>{setTimeout(e,h)}))).then((()=>a()?void 0:u())).then((()=>{n?c(t):d()}))):c(t)}))};return{promise:i,cancel:t=>{o||(c(new X1(t)),e.abort?.())},continue:()=>(t?.(),i),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:s,start:()=>(s()?d():u().then(d),i)}}var e0=class{#o;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),k1(this.gcTime)&&(this.#o=setTimeout((()=>{this.optionalRemove()}),this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(E1?1/0:3e5))}clearGcTimeout(){this.#o&&(clearTimeout(this.#o),this.#o=void 0)}},t0=class extends e0{#i;#a;#s;#l;#c;#u;#d;constructor(e){super(),this.#d=!1,this.#u=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#l=e.client,this.#s=this.#l.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#i=function(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}(this.options),this.state=e.state??this.#i,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#c?.promise}setOptions(e){this.options={...this.#u,...e},this.updateGcTime(this.options.gcTime)}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#s.remove(this)}setData(e,t){const n=z1(this.state.data,e,this.options);return this.#f({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#f({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#c?.promise;return this.#c?.cancel(e),t?t.then(S1).catch(S1):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#i)}isActive(){return this.observers.some((e=>!1!==R1(e.options.enabled,this)))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===W1||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStale(){return!!this.state.isInvalidated||(this.getObserversCount()>0?this.observers.some((e=>e.getCurrentResult().isStale)):void 0===this.state.data)}isStaleByTime(e=0){return this.state.isInvalidated||void 0===this.state.data||!_1(this.state.dataUpdatedAt,e)}onFocus(){const e=this.observers.find((e=>e.shouldFetchOnWindowFocus()));e?.refetch({cancelRefetch:!1}),this.#c?.continue()}onOnline(){const e=this.observers.find((e=>e.shouldFetchOnReconnect()));e?.refetch({cancelRefetch:!1}),this.#c?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#s.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter((t=>t!==e)),this.observers.length||(this.#c&&(this.#d?this.#c.cancel({revert:!0}):this.#c.cancelRetry()),this.scheduleGc()),this.#s.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#f({type:"invalidate"})}fetch(e,t){if("idle"!==this.state.fetchStatus)if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#c)return this.#c.continueRetry(),this.#c.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find((e=>e.options.queryFn));e&&this.setOptions(e.options)}const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#d=!0,n.signal)})},o={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#l,state:this.state,fetchFn:()=>{const e=U1(this.options,t),n={client:this.#l,queryKey:this.queryKey,meta:this.meta};return r(n),this.#d=!1,this.options.persister?this.options.persister(e,n,this):e(n)}};r(o),this.options.behavior?.onFetch(o,this),this.#a=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===o.fetchOptions?.meta||this.#f({type:"fetch",meta:o.fetchOptions?.meta});const i=e=>{J1(e)&&e.silent||this.#f({type:"error",error:e}),J1(e)||(this.#s.config.onError?.(e,this),this.#s.config.onSettled?.(this.state.data,e,this)),this.scheduleGc()};return this.#c=$1({initialPromise:t?.initialPromise,fn:o.fetchFn,abort:n.abort.bind(n),onSuccess:e=>{if(void 0!==e){try{this.setData(e)}catch(e){return void i(e)}this.#s.config.onSuccess?.(e,this),this.#s.config.onSettled?.(e,this.state.error,this),this.scheduleGc()}else i(new Error(`${this.queryHash} data is undefined`))},onError:i,onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:o.options.retry,retryDelay:o.options.retryDelay,networkMode:o.options.networkMode,canRun:()=>!0}),this.#c.start()}#f(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...n0(t.data,this.options),fetchMeta:e.meta??null};case"success":return{...t,data:e.data,dataUpdateCount:t.dataUpdateCount+1,dataUpdatedAt:e.dataUpdatedAt??Date.now(),error:null,isInvalidated:!1,status:"success",...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};case"error":const n=e.error;return J1(n)&&n.revert&&this.#a?{...this.#a,fetchStatus:"idle"}:{...t,error:n,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:n,fetchStatus:"idle",status:"error"};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),q1.batch((()=>{this.observers.forEach((e=>{e.onQueryUpdate()})),this.#s.notify({query:this,type:"updated",action:e})}))}};function n0(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:G1(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}var r0=class extends A1{constructor(e,t){super(),this.options=t,this.#l=e,this.#h=null,this.#p=K1(),this.options.experimental_prefetchInRender||this.#p.reject(new Error("experimental_prefetchInRender feature flag is not enabled")),this.bindMethods(),this.setOptions(t)}#l;#m=void 0;#g=void 0;#y=void 0;#v;#b;#p;#h;#x;#w;#C;#A;#E;#S;#k=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#m.addObserver(this),o0(this.#m,this.options)?this.#_():this.updateResult(),this.#O())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return i0(this.#m,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return i0(this.#m,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#R(),this.#P(),this.#m.removeObserver(this)}setOptions(e,t){const n=this.options,r=this.#m;if(this.options=this.#l.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof R1(this.options.enabled,this.#m))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#j(),this.#m.setOptions(this.options),n._defaulted&&!D1(this.options,n)&&this.#l.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#m,observer:this});const o=this.hasListeners();o&&a0(this.#m,r,this.options,n)&&this.#_(),this.updateResult(t),!o||this.#m===r&&R1(this.options.enabled,this.#m)===R1(n.enabled,this.#m)&&O1(this.options.staleTime,this.#m)===O1(n.staleTime,this.#m)||this.#T();const i=this.#M();!o||this.#m===r&&R1(this.options.enabled,this.#m)===R1(n.enabled,this.#m)&&i===this.#S||this.#N(i)}getOptimisticResult(e){const t=this.#l.getQueryCache().build(this.#l,e),n=this.createResult(t,e);return r=n,!D1(this.getCurrentResult(),r)&&(this.#y=n,this.#b=this.options,this.#v=this.#m.state),n;var r}getCurrentResult(){return this.#y}trackResult(e,t){const n={};return Object.keys(e).forEach((r=>{Object.defineProperty(n,r,{configurable:!1,enumerable:!0,get:()=>(this.trackProp(r),t?.(r),e[r])})})),n}trackProp(e){this.#k.add(e)}getCurrentQuery(){return this.#m}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#l.defaultQueryOptions(e),n=this.#l.getQueryCache().build(this.#l,t);return n.fetch().then((()=>this.createResult(n,t)))}fetch(e){return this.#_({...e,cancelRefetch:e.cancelRefetch??!0}).then((()=>(this.updateResult(),this.#y)))}#_(e){this.#j();let t=this.#m.fetch(this.options,e);return e?.throwOnError||(t=t.catch(S1)),t}#T(){this.#R();const e=O1(this.options.staleTime,this.#m);if(E1||this.#y.isStale||!k1(e))return;const t=_1(this.#y.dataUpdatedAt,e)+1;this.#A=setTimeout((()=>{this.#y.isStale||this.updateResult()}),t)}#M(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#m):this.options.refetchInterval)??!1}#N(e){this.#P(),this.#S=e,!E1&&!1!==R1(this.options.enabled,this.#m)&&k1(this.#S)&&0!==this.#S&&(this.#E=setInterval((()=>{(this.options.refetchIntervalInBackground||Z1.isFocused())&&this.#_()}),this.#S))}#O(){this.#T(),this.#N(this.#M())}#R(){this.#A&&(clearTimeout(this.#A),this.#A=void 0)}#P(){this.#E&&(clearInterval(this.#E),this.#E=void 0)}createResult(e,t){const n=this.#m,r=this.options,o=this.#y,i=this.#v,a=this.#b,s=e!==n?e.state:this.#g,{state:l}=e;let c,u={...l},d=!1;if(t._optimisticResults){const o=this.hasListeners(),i=!o&&o0(e,t),a=o&&a0(e,n,t,r);(i||a)&&(u={...u,...n0(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(u.fetchStatus="idle")}let{error:f,errorUpdatedAt:h,status:p}=u;if(t.select&&void 0!==u.data)if(o&&u.data===i?.data&&t.select===this.#x)c=this.#w;else try{this.#x=t.select,c=t.select(u.data),c=z1(o?.data,c,t),this.#w=c,this.#h=null}catch(e){this.#h=e}else c=u.data;if(void 0!==t.placeholderData&&void 0===c&&"pending"===p){let e;if(o?.isPlaceholderData&&t.placeholderData===a?.placeholderData)e=o.data;else if(e="function"==typeof t.placeholderData?t.placeholderData(this.#C?.state.data,this.#C):t.placeholderData,t.select&&void 0!==e)try{e=t.select(e),this.#h=null}catch(e){this.#h=e}void 0!==e&&(p="success",c=z1(o?.data,e,t),d=!0)}this.#h&&(f=this.#h,c=this.#w,h=Date.now(),p="error");const m="fetching"===u.fetchStatus,g="pending"===p,y="error"===p,v=g&&m,b=void 0!==c,x={status:p,fetchStatus:u.fetchStatus,isPending:g,isSuccess:"success"===p,isError:y,isInitialLoading:v,isLoading:v,data:c,dataUpdatedAt:u.dataUpdatedAt,error:f,errorUpdatedAt:h,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>s.dataUpdateCount||u.errorUpdateCount>s.errorUpdateCount,isFetching:m,isRefetching:m&&!g,isLoadingError:y&&!b,isPaused:"paused"===u.fetchStatus,isPlaceholderData:d,isRefetchError:y&&b,isStale:s0(e,t),refetch:this.refetch,promise:this.#p};if(this.options.experimental_prefetchInRender){const t=e=>{"error"===x.status?e.reject(x.error):void 0!==x.data&&e.resolve(x.data)},r=()=>{const e=this.#p=x.promise=K1();t(e)},o=this.#p;switch(o.status){case"pending":e.queryHash===n.queryHash&&t(o);break;case"fulfilled":"error"!==x.status&&x.data===o.value||r();break;case"rejected":"error"===x.status&&x.error===o.reason||r()}}return x}updateResult(e){const t=this.#y,n=this.createResult(this.#m,this.options);if(this.#v=this.#m.state,this.#b=this.options,void 0!==this.#v.data&&(this.#C=this.#m),D1(n,t))return;this.#y=n;const r={};!1!==e?.listeners&&(()=>{if(!t)return!0;const{notifyOnChangeProps:e}=this.options,n="function"==typeof e?e():e;if("all"===n||!n&&!this.#k.size)return!0;const r=new Set(n??this.#k);return this.options.throwOnError&&r.add("error"),Object.keys(this.#y).some((e=>{const n=e;return this.#y[n]!==t[n]&&r.has(n)}))})()&&(r.listeners=!0),this.#L({...r,...e})}#j(){const e=this.#l.getQueryCache().build(this.#l,this.options);if(e===this.#m)return;const t=this.#m;this.#m=e,this.#g=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#O()}#L(e){q1.batch((()=>{e.listeners&&this.listeners.forEach((e=>{e(this.#y)})),this.#l.getQueryCache().notify({query:this.#m,type:"observerResultsUpdated"})}))}};function o0(e,t){return function(e,t){return!1!==R1(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&i0(e,t,t.refetchOnMount)}function i0(e,t,n){if(!1!==R1(t.enabled,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&s0(e,t)}return!1}function a0(e,t,n,r){return(e!==t||!1===R1(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&s0(e,n)}function s0(e,t){return!1!==R1(t.enabled,e)&&e.isStaleByTime(O1(t.staleTime,e))}var l0=n.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}());function c0(e,t){return"function"==typeof e?e(...t):!!e}function u0(){}var d0=n.createContext(!1),f0=(d0.Provider,(e,t,n)=>t.fetchOptimistic(e).catch((()=>{n.clearReset()})));function h0(e,t){return function(e,t,r){const o=w1(r),i=n.useContext(d0),a=n.useContext(l0),s=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(s),s._optimisticResults=i?"isRestoring":"optimistic",(e=>{const t=e.staleTime;e.suspense&&(e.staleTime="function"==typeof t?(...e)=>Math.max(t(...e),1e3):Math.max(t??1e3,1e3),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,1e3)))})(s),((e,t)=>{(e.suspense||e.throwOnError||e.experimental_prefetchInRender)&&(t.isReset()||(e.retryOnMount=!1))})(s,a),(e=>{n.useEffect((()=>{e.clearReset()}),[e])})(a);const l=!o.getQueryCache().get(s.queryHash),[c]=n.useState((()=>new t(o,s))),u=c.getOptimisticResult(s),d=!i&&!1!==e.subscribed;if(n.useSyncExternalStore(n.useCallback((e=>{const t=d?c.subscribe(q1.batchCalls(e)):u0;return c.updateResult(),t}),[c,d]),(()=>c.getCurrentResult()),(()=>c.getCurrentResult())),n.useEffect((()=>{c.setOptions(s,{listeners:!1})}),[s,c]),((e,t)=>e?.suspense&&t.isPending)(s,u))throw f0(s,c,a);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:o})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(o&&void 0===e.data||c0(n,[e.error,r])))({result:u,errorResetBoundary:a,throwOnError:s.throwOnError,query:o.getQueryCache().get(s.queryHash),suspense:s.suspense}))throw u.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(s,u),s.experimental_prefetchInRender&&!E1&&((e,t)=>e.isLoading&&e.isFetching&&!t)(u,i)){const e=l?f0(s,c,a):o.getQueryCache().get(s.queryHash)?.promise;e?.catch(u0).finally((()=>{c.updateResult()}))}return s.notifyOnChangeProps?u:c.trackResult(u)}(e,r0,t)}var p0=class extends e0{#D;#I;#c;constructor(e){super(),this.mutationId=e.mutationId,this.#I=e.mutationCache,this.#D=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#D.includes(e)||(this.#D.push(e),this.clearGcTimeout(),this.#I.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#D=this.#D.filter((t=>t!==e)),this.scheduleGc(),this.#I.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#D.length||("pending"===this.state.status?this.scheduleGc():this.#I.remove(this))}continue(){return this.#c?.continue()??this.execute(this.state.variables)}async execute(e){this.#c=$1({fn:()=>this.options.mutationFn?this.options.mutationFn(e):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#f({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#f({type:"pause"})},onContinue:()=>{this.#f({type:"continue"})},retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#I.canRun(this)});const t="pending"===this.state.status,n=!this.#c.canStart();try{if(!t){this.#f({type:"pending",variables:e,isPaused:n}),await(this.#I.config.onMutate?.(e,this));const t=await(this.options.onMutate?.(e));t!==this.state.context&&this.#f({type:"pending",context:t,variables:e,isPaused:n})}const r=await this.#c.start();return await(this.#I.config.onSuccess?.(r,e,this.state.context,this)),await(this.options.onSuccess?.(r,e,this.state.context)),await(this.#I.config.onSettled?.(r,null,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(r,null,e,this.state.context)),this.#f({type:"success",data:r}),r}catch(t){try{throw await(this.#I.config.onError?.(t,e,this.state.context,this)),await(this.options.onError?.(t,e,this.state.context)),await(this.#I.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this)),await(this.options.onSettled?.(void 0,t,e,this.state.context)),t}finally{this.#f({type:"error",error:t})}}finally{this.#I.runNext(this)}}#f(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),q1.batch((()=>{this.#D.forEach((t=>{t.onMutationUpdate(e)})),this.#I.notify({mutation:this,type:"updated",action:e})}))}},m0=class extends A1{#l;#y=void 0;#F;#B;constructor(e,t){super(),this.#l=e,this.setOptions(t),this.bindMethods(),this.#z()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#l.defaultMutationOptions(e),D1(this.options,t)||this.#l.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#F,observer:this}),t?.mutationKey&&this.options.mutationKey&&M1(t.mutationKey)!==M1(this.options.mutationKey)?this.reset():"pending"===this.#F?.state.status&&this.#F.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#F?.removeObserver(this)}onMutationUpdate(e){this.#z(),this.#L(e)}getCurrentResult(){return this.#y}reset(){this.#F?.removeObserver(this),this.#F=void 0,this.#z(),this.#L()}mutate(e,t){return this.#B=t,this.#F?.removeObserver(this),this.#F=this.#l.getMutationCache().build(this.#l,this.options),this.#F.addObserver(this),this.#F.execute(e)}#z(){const e=this.#F?.state??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};this.#y={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#L(e){q1.batch((()=>{if(this.#B&&this.hasListeners()){const t=this.#y.variables,n=this.#y.context;"success"===e?.type?(this.#B.onSuccess?.(e.data,t,n),this.#B.onSettled?.(e.data,null,t,n)):"error"===e?.type&&(this.#B.onError?.(e.error,t,n),this.#B.onSettled?.(void 0,e.error,t,n))}this.listeners.forEach((e=>{e(this.#y)}))}))}};function g0(e,t){const r=w1(t),[o]=n.useState((()=>new m0(r,e)));n.useEffect((()=>{o.setOptions(e)}),[o,e]);const i=n.useSyncExternalStore(n.useCallback((e=>o.subscribe(q1.batchCalls(e))),[o]),(()=>o.getCurrentResult()),(()=>o.getCurrentResult())),a=n.useCallback(((e,t)=>{o.mutate(e,t).catch(u0)}),[o]);if(i.error&&c0(o.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}function y0(e){var t,n,r="";if("string"==typeof e||"number"==typeof e)r+=e;else if("object"==typeof e)if(Array.isArray(e)){var o=e.length;for(t=0;t<o;t++)e[t]&&(n=y0(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}o(6910),o(7495),o(5440),o(2762),o(3296),o(7208),o(8408);const v0={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function b0(e){return(t={})=>{const n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}const x0={date:b0({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:b0({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:b0({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},w0={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function C0(e){return(t,n)=>{let r;if("formatting"===(n?.context?String(n.context):"standalone")&&e.formattingValues){const t=e.defaultFormattingWidth||e.defaultWidth,o=n?.width?String(n.width):t;r=e.formattingValues[o]||e.formattingValues[t]}else{const t=e.defaultWidth,o=n?.width?String(n.width):e.defaultWidth;r=e.values[o]||e.values[t]}return r[e.argumentCallback?e.argumentCallback(t):t]}}function A0(e){return(t,n={})=>{const r=n.width,o=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],i=t.match(o);if(!i)return null;const a=i[0],s=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],l=Array.isArray(s)?function(e){for(let t=0;t<e.length;t++)if(e[t].test(a))return t}(s):function(e){for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)&&e[t].test(a))return t}(s);let c;return c=e.valueCallback?e.valueCallback(l):l,c=n.valueCallback?n.valueCallback(c):c,{value:c,rest:t.slice(a.length)}}}var E0;const S0={code:"en-US",formatDistance:(e,t,n)=>{let r;const o=v0[e];return r="string"==typeof o?o:1===t?o.one:o.other.replace("{{count}}",t.toString()),n?.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:x0,formatRelative:(e,t,n,r)=>w0[e],localize:{ordinalNumber:(e,t)=>{const n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:C0({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:C0({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:e=>e-1}),month:C0({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:C0({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:C0({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})},match:{ordinalNumber:(E0={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:e=>parseInt(e,10)},(e,t={})=>{const n=e.match(E0.matchPattern);if(!n)return null;const r=n[0],o=e.match(E0.parsePattern);if(!o)return null;let i=E0.valueCallback?E0.valueCallback(o[0]):o[0];return i=t.valueCallback?t.valueCallback(i):i,{value:i,rest:e.slice(r.length)}}),era:A0({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:A0({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:e=>e+1}),month:A0({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:A0({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:A0({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},options:{weekStartsOn:0,firstWeekContainsDate:1}};let k0={};function _0(){return k0}Math.pow(10,8);const O0=6048e5,R0=Symbol.for("constructDateFrom");function P0(e,t){return"function"==typeof e?e(t):e&&"object"==typeof e&&R0 in e?e[R0](t):e instanceof Date?new e.constructor(t):new Date(t)}function j0(e,t){return P0(t||e,e)}function T0(e){const t=j0(e),n=new Date(Date.UTC(t.getFullYear(),t.getMonth(),t.getDate(),t.getHours(),t.getMinutes(),t.getSeconds(),t.getMilliseconds()));return n.setUTCFullYear(t.getFullYear()),+e-+n}function M0(e,t){const n=j0(e,t?.in);return n.setHours(0,0,0,0),n}function N0(e,t){const n=j0(e,t?.in);return function(e,t,n){const[r,o]=function(e,...t){const n=P0.bind(null,e||t.find((e=>"object"==typeof e)));return t.map(n)}(n?.in,e,t),i=M0(r),a=M0(o),s=+i-T0(i),l=+a-T0(a);return Math.round((s-l)/864e5)}(n,function(e,t){const n=j0(e,t?.in);return n.setFullYear(n.getFullYear(),0,1),n.setHours(0,0,0,0),n}(n))+1}function L0(e,t){const n=_0(),r=t?.weekStartsOn??t?.locale?.options?.weekStartsOn??n.weekStartsOn??n.locale?.options?.weekStartsOn??0,o=j0(e,t?.in),i=o.getDay(),a=(i<r?7:0)+i-r;return o.setDate(o.getDate()-a),o.setHours(0,0,0,0),o}function D0(e,t){return L0(e,{...t,weekStartsOn:1})}function I0(e,t){const n=j0(e,t?.in),r=n.getFullYear(),o=P0(n,0);o.setFullYear(r+1,0,4),o.setHours(0,0,0,0);const i=D0(o),a=P0(n,0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);const s=D0(a);return n.getTime()>=i.getTime()?r+1:n.getTime()>=s.getTime()?r:r-1}function F0(e,t){const n=j0(e,t?.in),r=+D0(n)-+function(e,t){const n=I0(e,t),r=P0(t?.in||e,0);return r.setFullYear(n,0,4),r.setHours(0,0,0,0),D0(r)}(n);return Math.round(r/O0)+1}function B0(e,t){const n=j0(e,t?.in),r=n.getFullYear(),o=_0(),i=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??o.firstWeekContainsDate??o.locale?.options?.firstWeekContainsDate??1,a=P0(t?.in||e,0);a.setFullYear(r+1,0,i),a.setHours(0,0,0,0);const s=L0(a,t),l=P0(t?.in||e,0);l.setFullYear(r,0,i),l.setHours(0,0,0,0);const c=L0(l,t);return+n>=+s?r+1:+n>=+c?r:r-1}function z0(e,t){const n=j0(e,t?.in),r=+L0(n,t)-+function(e,t){const n=_0(),r=t?.firstWeekContainsDate??t?.locale?.options?.firstWeekContainsDate??n.firstWeekContainsDate??n.locale?.options?.firstWeekContainsDate??1,o=B0(e,t),i=P0(t?.in||e,0);return i.setFullYear(o,0,r),i.setHours(0,0,0,0),L0(i,t)}(n,t);return Math.round(r/O0)+1}function V0(e,t){return(e<0?"-":"")+Math.abs(e).toString().padStart(t,"0")}const H0={y(e,t){const n=e.getFullYear(),r=n>0?n:1-n;return V0("yy"===t?r%100:r,t.length)},M(e,t){const n=e.getMonth();return"M"===t?String(n+1):V0(n+1,2)},d:(e,t)=>V0(e.getDate(),t.length),a(e,t){const n=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:(e,t)=>V0(e.getHours()%12||12,t.length),H:(e,t)=>V0(e.getHours(),t.length),m:(e,t)=>V0(e.getMinutes(),t.length),s:(e,t)=>V0(e.getSeconds(),t.length),S(e,t){const n=t.length,r=e.getMilliseconds();return V0(Math.trunc(r*Math.pow(10,n-3)),t.length)}},W0={G:function(e,t,n){const r=e.getFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){const t=e.getFullYear(),r=t>0?t:1-t;return n.ordinalNumber(r,{unit:"year"})}return H0.y(e,t)},Y:function(e,t,n,r){const o=B0(e,r),i=o>0?o:1-o;return"YY"===t?V0(i%100,2):"Yo"===t?n.ordinalNumber(i,{unit:"year"}):V0(i,t.length)},R:function(e,t){return V0(I0(e),t.length)},u:function(e,t){return V0(e.getFullYear(),t.length)},Q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return V0(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){const r=Math.ceil((e.getMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return V0(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){const r=e.getMonth();switch(t){case"M":case"MM":return H0.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){const r=e.getMonth();switch(t){case"L":return String(r+1);case"LL":return V0(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){const o=z0(e,r);return"wo"===t?n.ordinalNumber(o,{unit:"week"}):V0(o,t.length)},I:function(e,t,n){const r=F0(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):V0(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getDate(),{unit:"date"}):H0.d(e,t)},D:function(e,t,n){const r=N0(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):V0(r,t.length)},E:function(e,t,n){const r=e.getDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(i);case"ee":return V0(i,2);case"eo":return n.ordinalNumber(i,{unit:"day"});case"eee":return n.day(o,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(o,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(o,{width:"short",context:"formatting"});default:return n.day(o,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){const o=e.getDay(),i=(o-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(i);case"cc":return V0(i,t.length);case"co":return n.ordinalNumber(i,{unit:"day"});case"ccc":return n.day(o,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(o,{width:"narrow",context:"standalone"});case"cccccc":return n.day(o,{width:"short",context:"standalone"});default:return n.day(o,{width:"wide",context:"standalone"})}},i:function(e,t,n){const r=e.getDay(),o=0===r?7:r;switch(t){case"i":return String(o);case"ii":return V0(o,t.length);case"io":return n.ordinalNumber(o,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){const r=e.getHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){const r=e.getHours();let o;switch(o=12===r?"noon":0===r?"midnight":r/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},B:function(e,t,n){const r=e.getHours();let o;switch(o=r>=17?"evening":r>=12?"afternoon":r>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(o,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(o,{width:"narrow",context:"formatting"});default:return n.dayPeriod(o,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){let t=e.getHours()%12;return 0===t&&(t=12),n.ordinalNumber(t,{unit:"hour"})}return H0.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getHours(),{unit:"hour"}):H0.H(e,t)},K:function(e,t,n){const r=e.getHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):V0(r,t.length)},k:function(e,t,n){let r=e.getHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):V0(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getMinutes(),{unit:"minute"}):H0.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getSeconds(),{unit:"second"}):H0.s(e,t)},S:function(e,t){return H0.S(e,t)},X:function(e,t,n){const r=e.getTimezoneOffset();if(0===r)return"Z";switch(t){case"X":return Z0(r);case"XXXX":case"XX":return q0(r);default:return q0(r,":")}},x:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"x":return Z0(r);case"xxxx":case"xx":return q0(r);default:return q0(r,":")}},O:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+U0(r,":");default:return"GMT"+q0(r,":")}},z:function(e,t,n){const r=e.getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+U0(r,":");default:return"GMT"+q0(r,":")}},t:function(e,t,n){return V0(Math.trunc(+e/1e3),t.length)},T:function(e,t,n){return V0(+e,t.length)}};function U0(e,t=""){const n=e>0?"-":"+",r=Math.abs(e),o=Math.trunc(r/60),i=r%60;return 0===i?n+String(o):n+String(o)+t+V0(i,2)}function Z0(e,t){return e%60==0?(e>0?"-":"+")+V0(Math.abs(e)/60,2):q0(e,t)}function q0(e,t=""){const n=e>0?"-":"+",r=Math.abs(e);return n+V0(Math.trunc(r/60),2)+t+V0(r%60,2)}const Y0=(e,t)=>{switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},K0=(e,t)=>{switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Q0={p:K0,P:(e,t)=>{const n=e.match(/(P+)(p+)?/)||[],r=n[1],o=n[2];if(!o)return Y0(e,t);let i;switch(r){case"P":i=t.dateTime({width:"short"});break;case"PP":i=t.dateTime({width:"medium"});break;case"PPP":i=t.dateTime({width:"long"});break;default:i=t.dateTime({width:"full"})}return i.replace("{{date}}",Y0(r,t)).replace("{{time}}",K0(o,t))}},G0=/^D+$/,X0=/^Y+$/,J0=["D","DD","YY","YYYY"];function $0(e){return!(!((t=e)instanceof Date||"object"==typeof t&&"[object Date]"===Object.prototype.toString.call(t))&&"number"!=typeof e||isNaN(+j0(e)));var t}const e2=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,t2=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,n2=/^'([^]*?)'?$/,r2=/''/g,o2=/[a-zA-Z]/;function i2(e){const t=e.match(n2);return t?t[1].replace(r2,"'"):e}const a2=e=>{const t=u2(e),{conflictingClassGroups:n,conflictingClassGroupModifiers:r}=e;return{getClassGroupId:e=>{const n=e.split("-");return""===n[0]&&1!==n.length&&n.shift(),s2(n,t)||c2(e)},getConflictingClassGroupIds:(e,t)=>{const o=n[e]||[];return t&&r[e]?[...o,...r[e]]:o}}},s2=(e,t)=>{if(0===e.length)return t.classGroupId;const n=e[0],r=t.nextPart.get(n),o=r?s2(e.slice(1),r):void 0;if(o)return o;if(0===t.validators.length)return;const i=e.join("-");return t.validators.find((({validator:e})=>e(i)))?.classGroupId},l2=/^\[(.+)\]$/,c2=e=>{if(l2.test(e)){const t=l2.exec(e)[1],n=t?.substring(0,t.indexOf(":"));if(n)return"arbitrary.."+n}},u2=e=>{const{theme:t,classGroups:n}=e,r={nextPart:new Map,validators:[]};for(const e in n)d2(n[e],r,e,t);return r},d2=(e,t,n,r)=>{e.forEach((e=>{if("string"!=typeof e){if("function"==typeof e)return h2(e)?void d2(e(r),t,n,r):void t.validators.push({validator:e,classGroupId:n});Object.entries(e).forEach((([e,o])=>{d2(o,f2(t,e),n,r)}))}else(""===e?t:f2(t,e)).classGroupId=n}))},f2=(e,t)=>{let n=e;return t.split("-").forEach((e=>{n.nextPart.has(e)||n.nextPart.set(e,{nextPart:new Map,validators:[]}),n=n.nextPart.get(e)})),n},h2=e=>e.isThemeGetter,p2=e=>{if(e<1)return{get:()=>{},set:()=>{}};let t=0,n=new Map,r=new Map;const o=(o,i)=>{n.set(o,i),t++,t>e&&(t=0,r=n,n=new Map)};return{get(e){let t=n.get(e);return void 0!==t?t:void 0!==(t=r.get(e))?(o(e,t),t):void 0},set(e,t){n.has(e)?n.set(e,t):o(e,t)}}},m2=e=>{const{prefix:t,experimentalParseClassName:n}=e;let r=e=>{const t=[];let n,r=0,o=0,i=0;for(let a=0;a<e.length;a++){let s=e[a];if(0===r&&0===o){if(":"===s){t.push(e.slice(i,a)),i=a+1;continue}if("/"===s){n=a;continue}}"["===s?r++:"]"===s?r--:"("===s?o++:")"===s&&o--}const a=0===t.length?e:e.substring(i),s=g2(a);return{modifiers:t,hasImportantModifier:s!==a,baseClassName:s,maybePostfixModifierPosition:n&&n>i?n-i:void 0}};if(t){const e=t+":",n=r;r=t=>t.startsWith(e)?n(t.substring(e.length)):{isExternal:!0,modifiers:[],hasImportantModifier:!1,baseClassName:t,maybePostfixModifierPosition:void 0}}if(n){const e=r;r=t=>n({className:t,parseClassName:e})}return r},g2=e=>e.endsWith("!")?e.substring(0,e.length-1):e.startsWith("!")?e.substring(1):e,y2=e=>{const t=Object.fromEntries(e.orderSensitiveModifiers.map((e=>[e,!0])));return e=>{if(e.length<=1)return e;const n=[];let r=[];return e.forEach((e=>{"["===e[0]||t[e]?(n.push(...r.sort(),e),r=[]):r.push(e)})),n.push(...r.sort()),n}},v2=/\s+/;function b2(){let e,t,n=0,r="";for(;n<arguments.length;)(e=arguments[n++])&&(t=x2(e))&&(r&&(r+=" "),r+=t);return r}const x2=e=>{if("string"==typeof e)return e;let t,n="";for(let r=0;r<e.length;r++)e[r]&&(t=x2(e[r]))&&(n&&(n+=" "),n+=t);return n};function w2(e,...t){let n,r,o,i=function(s){const l=t.reduce(((e,t)=>t(e)),e());return n=(e=>({cache:p2(e.cacheSize),parseClassName:m2(e),sortModifiers:y2(e),...a2(e)}))(l),r=n.cache.get,o=n.cache.set,i=a,a(s)};function a(e){const t=r(e);if(t)return t;const i=((e,t)=>{const{parseClassName:n,getClassGroupId:r,getConflictingClassGroupIds:o,sortModifiers:i}=t,a=[],s=e.trim().split(v2);let l="";for(let e=s.length-1;e>=0;e-=1){const t=s[e],{isExternal:c,modifiers:u,hasImportantModifier:d,baseClassName:f,maybePostfixModifierPosition:h}=n(t);if(c){l=t+(l.length>0?" "+l:l);continue}let p=!!h,m=r(p?f.substring(0,h):f);if(!m){if(!p){l=t+(l.length>0?" "+l:l);continue}if(m=r(f),!m){l=t+(l.length>0?" "+l:l);continue}p=!1}const g=i(u).join(":"),y=d?g+"!":g,v=y+m;if(a.includes(v))continue;a.push(v);const b=o(m,p);for(let e=0;e<b.length;++e){const t=b[e];a.push(y+t)}l=t+(l.length>0?" "+l:l)}return l})(e,n);return o(e,i),i}return function(){return i(b2.apply(null,arguments))}}const C2=e=>{const t=t=>t[e]||[];return t.isThemeGetter=!0,t},A2=/^\[(?:(\w[\w-]*):)?(.+)\]$/i,E2=/^\((?:(\w[\w-]*):)?(.+)\)$/i,S2=/^\d+\/\d+$/,k2=/^(\d+(\.\d+)?)?(xs|sm|md|lg|xl)$/,_2=/\d+(%|px|r?em|[sdl]?v([hwib]|min|max)|pt|pc|in|cm|mm|cap|ch|ex|r?lh|cq(w|h|i|b|min|max))|\b(calc|min|max|clamp)\(.+\)|^0$/,O2=/^(rgba?|hsla?|hwb|(ok)?(lab|lch))\(.+\)$/,R2=/^(inset_)?-?((\d+)?\.?(\d+)[a-z]+|0)_-?((\d+)?\.?(\d+)[a-z]+|0)/,P2=/^(url|image|image-set|cross-fade|element|(repeating-)?(linear|radial|conic)-gradient)\(.+\)$/,j2=e=>S2.test(e),T2=e=>Boolean(e)&&!Number.isNaN(Number(e)),M2=e=>Boolean(e)&&Number.isInteger(Number(e)),N2=e=>e.endsWith("%")&&T2(e.slice(0,-1)),L2=e=>k2.test(e),D2=()=>!0,I2=e=>_2.test(e)&&!O2.test(e),F2=()=>!1,B2=e=>R2.test(e),z2=e=>P2.test(e),V2=e=>!W2(e)&&!Q2(e),H2=e=>n7(e,l7,F2),W2=e=>A2.test(e),U2=e=>n7(e,c7,I2),Z2=e=>n7(e,u7,T2),q2=e=>n7(e,o7,F2),Y2=e=>n7(e,a7,z2),K2=e=>n7(e,F2,B2),Q2=e=>E2.test(e),G2=e=>r7(e,c7),X2=e=>r7(e,d7),J2=e=>r7(e,o7),$2=e=>r7(e,l7),e7=e=>r7(e,a7),t7=e=>r7(e,f7,!0),n7=(e,t,n)=>{const r=A2.exec(e);return!!r&&(r[1]?t(r[1]):n(r[2]))},r7=(e,t,n=!1)=>{const r=E2.exec(e);return!!r&&(r[1]?t(r[1]):n)},o7=e=>"position"===e,i7=new Set(["image","url"]),a7=e=>i7.has(e),s7=new Set(["length","size","percentage"]),l7=e=>s7.has(e),c7=e=>"length"===e,u7=e=>"number"===e,d7=e=>"family-name"===e,f7=e=>"shadow"===e,h7=w2((Symbol.toStringTag,()=>{const e=C2("color"),t=C2("font"),n=C2("text"),r=C2("font-weight"),o=C2("tracking"),i=C2("leading"),a=C2("breakpoint"),s=C2("container"),l=C2("spacing"),c=C2("radius"),u=C2("shadow"),d=C2("inset-shadow"),f=C2("drop-shadow"),h=C2("blur"),p=C2("perspective"),m=C2("aspect"),g=C2("ease"),y=C2("animate"),v=()=>[j2,"px","full","auto",Q2,W2,l],b=()=>[M2,"none","subgrid",Q2,W2],x=()=>["auto",{span:["full",M2,Q2,W2]},Q2,W2],w=()=>[M2,"auto",Q2,W2],C=()=>["auto","min","max","fr",Q2,W2],A=()=>[Q2,W2,l],E=()=>[Q2,W2,l],S=()=>["px",...E()],k=()=>["px","auto",...E()],_=()=>[j2,"auto","px","full","dvw","dvh","lvw","lvh","svw","svh","min","max","fit",Q2,W2,l],O=()=>[e,Q2,W2],R=()=>[N2,U2],P=()=>["","none","full",c,Q2,W2],j=()=>["",T2,G2,U2],T=()=>["","none",h,Q2,W2],M=()=>["center","top","top-right","right","bottom-right","bottom","bottom-left","left","top-left",Q2,W2],N=()=>["none",T2,Q2,W2],L=()=>["none",T2,Q2,W2],D=()=>[T2,Q2,W2],I=()=>[j2,"full","px",Q2,W2,l];return{cacheSize:500,theme:{animate:["spin","ping","pulse","bounce"],aspect:["video"],blur:[L2],breakpoint:[L2],color:[D2],container:[L2],"drop-shadow":[L2],ease:["in","out","in-out"],font:[V2],"font-weight":["thin","extralight","light","normal","medium","semibold","bold","extrabold","black"],"inset-shadow":[L2],leading:["none","tight","snug","normal","relaxed","loose"],perspective:["dramatic","near","normal","midrange","distant","none"],radius:[L2],shadow:[L2],spacing:[T2],text:[L2],tracking:["tighter","tight","normal","wide","wider","widest"]},classGroups:{aspect:[{aspect:["auto","square",j2,W2,Q2,m]}],container:["container"],columns:[{columns:[T2,W2,Q2,s]}],"break-after":[{"break-after":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-before":[{"break-before":["auto","avoid","all","avoid-page","page","left","right","column"]}],"break-inside":[{"break-inside":["auto","avoid","avoid-page","avoid-column"]}],"box-decoration":[{"box-decoration":["slice","clone"]}],box:[{box:["border","content"]}],display:["block","inline-block","inline","flex","inline-flex","table","inline-table","table-caption","table-cell","table-column","table-column-group","table-footer-group","table-header-group","table-row-group","table-row","flow-root","grid","inline-grid","contents","list-item","hidden"],sr:["sr-only","not-sr-only"],float:[{float:["right","left","none","start","end"]}],clear:[{clear:["left","right","both","none","start","end"]}],isolation:["isolate","isolation-auto"],"object-fit":[{object:["contain","cover","fill","none","scale-down"]}],"object-position":[{object:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",W2,Q2]}],overflow:[{overflow:["auto","hidden","clip","visible","scroll"]}],"overflow-x":[{"overflow-x":["auto","hidden","clip","visible","scroll"]}],"overflow-y":[{"overflow-y":["auto","hidden","clip","visible","scroll"]}],overscroll:[{overscroll:["auto","contain","none"]}],"overscroll-x":[{"overscroll-x":["auto","contain","none"]}],"overscroll-y":[{"overscroll-y":["auto","contain","none"]}],position:["static","fixed","absolute","relative","sticky"],inset:[{inset:v()}],"inset-x":[{"inset-x":v()}],"inset-y":[{"inset-y":v()}],start:[{start:v()}],end:[{end:v()}],top:[{top:v()}],right:[{right:v()}],bottom:[{bottom:v()}],left:[{left:v()}],visibility:["visible","invisible","collapse"],z:[{z:[M2,"auto",Q2,W2]}],basis:[{basis:[j2,"full","auto",Q2,W2,s,l]}],"flex-direction":[{flex:["row","row-reverse","col","col-reverse"]}],"flex-wrap":[{flex:["nowrap","wrap","wrap-reverse"]}],flex:[{flex:[T2,j2,"auto","initial","none",W2]}],grow:[{grow:["",T2,Q2,W2]}],shrink:[{shrink:["",T2,Q2,W2]}],order:[{order:[M2,"first","last","none",Q2,W2]}],"grid-cols":[{"grid-cols":b()}],"col-start-end":[{col:x()}],"col-start":[{"col-start":w()}],"col-end":[{"col-end":w()}],"grid-rows":[{"grid-rows":b()}],"row-start-end":[{row:x()}],"row-start":[{"row-start":w()}],"row-end":[{"row-end":w()}],"grid-flow":[{"grid-flow":["row","col","dense","row-dense","col-dense"]}],"auto-cols":[{"auto-cols":C()}],"auto-rows":[{"auto-rows":C()}],gap:[{gap:A()}],"gap-x":[{"gap-x":A()}],"gap-y":[{"gap-y":A()}],"justify-content":[{justify:["start","end","center","between","around","evenly","stretch","baseline","normal"]}],"justify-items":[{"justify-items":["start","end","center","stretch","normal"]}],"justify-self":[{"justify-self":["auto","start","end","center","stretch"]}],"align-content":[{content:["normal","start","end","center","between","around","evenly","stretch","baseline"]}],"align-items":[{items:["start","end","center","stretch","baseline"]}],"align-self":[{self:["auto","start","end","center","stretch","baseline"]}],"place-content":[{"place-content":["start","end","center","between","around","evenly","stretch","baseline"]}],"place-items":[{"place-items":["start","end","center","stretch","baseline"]}],"place-self":[{"place-self":["auto","start","end","center","stretch"]}],p:[{p:S()}],px:[{px:S()}],py:[{py:S()}],ps:[{ps:S()}],pe:[{pe:S()}],pt:[{pt:S()}],pr:[{pr:S()}],pb:[{pb:S()}],pl:[{pl:S()}],m:[{m:k()}],mx:[{mx:k()}],my:[{my:k()}],ms:[{ms:k()}],me:[{me:k()}],mt:[{mt:k()}],mr:[{mr:k()}],mb:[{mb:k()}],ml:[{ml:k()}],"space-x":[{"space-x":E()}],"space-x-reverse":["space-x-reverse"],"space-y":[{"space-y":E()}],"space-y-reverse":["space-y-reverse"],size:[{size:_()}],w:[{w:[s,"screen",..._()]}],"min-w":[{"min-w":[s,"screen","none",..._()]}],"max-w":[{"max-w":[s,"screen","none","prose",{screen:[a]},..._()]}],h:[{h:["screen",..._()]}],"min-h":[{"min-h":["screen","none",..._()]}],"max-h":[{"max-h":["screen",..._()]}],"font-size":[{text:["base",n,G2,U2]}],"font-smoothing":["antialiased","subpixel-antialiased"],"font-style":["italic","not-italic"],"font-weight":[{font:[r,Q2,Z2]}],"font-stretch":[{"font-stretch":["ultra-condensed","extra-condensed","condensed","semi-condensed","normal","semi-expanded","expanded","extra-expanded","ultra-expanded",N2,W2]}],"font-family":[{font:[X2,W2,t]}],"fvn-normal":["normal-nums"],"fvn-ordinal":["ordinal"],"fvn-slashed-zero":["slashed-zero"],"fvn-figure":["lining-nums","oldstyle-nums"],"fvn-spacing":["proportional-nums","tabular-nums"],"fvn-fraction":["diagonal-fractions","stacked-fractions"],tracking:[{tracking:[o,Q2,W2]}],"line-clamp":[{"line-clamp":[T2,"none",Q2,Z2]}],leading:[{leading:[Q2,W2,i,l]}],"list-image":[{"list-image":["none",Q2,W2]}],"list-style-position":[{list:["inside","outside"]}],"list-style-type":[{list:["disc","decimal","none",Q2,W2]}],"text-alignment":[{text:["left","center","right","justify","start","end"]}],"placeholder-color":[{placeholder:O()}],"text-color":[{text:O()}],"text-decoration":["underline","overline","line-through","no-underline"],"text-decoration-style":[{decoration:["solid","dashed","dotted","double","wavy"]}],"text-decoration-thickness":[{decoration:[T2,"from-font","auto",Q2,U2]}],"text-decoration-color":[{decoration:O()}],"underline-offset":[{"underline-offset":[T2,"auto",Q2,W2]}],"text-transform":["uppercase","lowercase","capitalize","normal-case"],"text-overflow":["truncate","text-ellipsis","text-clip"],"text-wrap":[{text:["wrap","nowrap","balance","pretty"]}],indent:[{indent:["px",...E()]}],"vertical-align":[{align:["baseline","top","middle","bottom","text-top","text-bottom","sub","super",Q2,W2]}],whitespace:[{whitespace:["normal","nowrap","pre","pre-line","pre-wrap","break-spaces"]}],break:[{break:["normal","words","all","keep"]}],hyphens:[{hyphens:["none","manual","auto"]}],content:[{content:["none",Q2,W2]}],"bg-attachment":[{bg:["fixed","local","scroll"]}],"bg-clip":[{"bg-clip":["border","padding","content","text"]}],"bg-origin":[{"bg-origin":["border","padding","content"]}],"bg-position":[{bg:["bottom","center","left","left-bottom","left-top","right","right-bottom","right-top","top",J2,q2]}],"bg-repeat":[{bg:["no-repeat",{repeat:["","x","y","space","round"]}]}],"bg-size":[{bg:["auto","cover","contain",$2,H2]}],"bg-image":[{bg:["none",{linear:[{to:["t","tr","r","br","b","bl","l","tl"]},M2,Q2,W2],radial:["",Q2,W2],conic:[M2,Q2,W2]},e7,Y2]}],"bg-color":[{bg:O()}],"gradient-from-pos":[{from:R()}],"gradient-via-pos":[{via:R()}],"gradient-to-pos":[{to:R()}],"gradient-from":[{from:O()}],"gradient-via":[{via:O()}],"gradient-to":[{to:O()}],rounded:[{rounded:P()}],"rounded-s":[{"rounded-s":P()}],"rounded-e":[{"rounded-e":P()}],"rounded-t":[{"rounded-t":P()}],"rounded-r":[{"rounded-r":P()}],"rounded-b":[{"rounded-b":P()}],"rounded-l":[{"rounded-l":P()}],"rounded-ss":[{"rounded-ss":P()}],"rounded-se":[{"rounded-se":P()}],"rounded-ee":[{"rounded-ee":P()}],"rounded-es":[{"rounded-es":P()}],"rounded-tl":[{"rounded-tl":P()}],"rounded-tr":[{"rounded-tr":P()}],"rounded-br":[{"rounded-br":P()}],"rounded-bl":[{"rounded-bl":P()}],"border-w":[{border:j()}],"border-w-x":[{"border-x":j()}],"border-w-y":[{"border-y":j()}],"border-w-s":[{"border-s":j()}],"border-w-e":[{"border-e":j()}],"border-w-t":[{"border-t":j()}],"border-w-r":[{"border-r":j()}],"border-w-b":[{"border-b":j()}],"border-w-l":[{"border-l":j()}],"divide-x":[{"divide-x":j()}],"divide-x-reverse":["divide-x-reverse"],"divide-y":[{"divide-y":j()}],"divide-y-reverse":["divide-y-reverse"],"border-style":[{border:["solid","dashed","dotted","double","hidden","none"]}],"divide-style":[{divide:["solid","dashed","dotted","double","hidden","none"]}],"border-color":[{border:O()}],"border-color-x":[{"border-x":O()}],"border-color-y":[{"border-y":O()}],"border-color-s":[{"border-s":O()}],"border-color-e":[{"border-e":O()}],"border-color-t":[{"border-t":O()}],"border-color-r":[{"border-r":O()}],"border-color-b":[{"border-b":O()}],"border-color-l":[{"border-l":O()}],"divide-color":[{divide:O()}],"outline-style":[{outline:["solid","dashed","dotted","double","none","hidden"]}],"outline-offset":[{"outline-offset":[T2,Q2,W2]}],"outline-w":[{outline:["",T2,G2,U2]}],"outline-color":[{outline:[e]}],shadow:[{shadow:["","none",u,t7,K2]}],"shadow-color":[{shadow:O()}],"inset-shadow":[{"inset-shadow":["none",Q2,W2,d]}],"inset-shadow-color":[{"inset-shadow":O()}],"ring-w":[{ring:j()}],"ring-w-inset":["ring-inset"],"ring-color":[{ring:O()}],"ring-offset-w":[{"ring-offset":[T2,U2]}],"ring-offset-color":[{"ring-offset":O()}],"inset-ring-w":[{"inset-ring":j()}],"inset-ring-color":[{"inset-ring":O()}],opacity:[{opacity:[T2,Q2,W2]}],"mix-blend":[{"mix-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity","plus-darker","plus-lighter"]}],"bg-blend":[{"bg-blend":["normal","multiply","screen","overlay","darken","lighten","color-dodge","color-burn","hard-light","soft-light","difference","exclusion","hue","saturation","color","luminosity"]}],filter:[{filter:["","none",Q2,W2]}],blur:[{blur:T()}],brightness:[{brightness:[T2,Q2,W2]}],contrast:[{contrast:[T2,Q2,W2]}],"drop-shadow":[{"drop-shadow":["","none",f,Q2,W2]}],grayscale:[{grayscale:["",T2,Q2,W2]}],"hue-rotate":[{"hue-rotate":[T2,Q2,W2]}],invert:[{invert:["",T2,Q2,W2]}],saturate:[{saturate:[T2,Q2,W2]}],sepia:[{sepia:["",T2,Q2,W2]}],"backdrop-filter":[{"backdrop-filter":["","none",Q2,W2]}],"backdrop-blur":[{"backdrop-blur":T()}],"backdrop-brightness":[{"backdrop-brightness":[T2,Q2,W2]}],"backdrop-contrast":[{"backdrop-contrast":[T2,Q2,W2]}],"backdrop-grayscale":[{"backdrop-grayscale":["",T2,Q2,W2]}],"backdrop-hue-rotate":[{"backdrop-hue-rotate":[T2,Q2,W2]}],"backdrop-invert":[{"backdrop-invert":["",T2,Q2,W2]}],"backdrop-opacity":[{"backdrop-opacity":[T2,Q2,W2]}],"backdrop-saturate":[{"backdrop-saturate":[T2,Q2,W2]}],"backdrop-sepia":[{"backdrop-sepia":["",T2,Q2,W2]}],"border-collapse":[{border:["collapse","separate"]}],"border-spacing":[{"border-spacing":E()}],"border-spacing-x":[{"border-spacing-x":E()}],"border-spacing-y":[{"border-spacing-y":E()}],"table-layout":[{table:["auto","fixed"]}],caption:[{caption:["top","bottom"]}],transition:[{transition:["","all","colors","opacity","shadow","transform","none",Q2,W2]}],"transition-behavior":[{transition:["normal","discrete"]}],duration:[{duration:[T2,"initial",Q2,W2]}],ease:[{ease:["linear","initial",g,Q2,W2]}],delay:[{delay:[T2,Q2,W2]}],animate:[{animate:["none",y,Q2,W2]}],backface:[{backface:["hidden","visible"]}],perspective:[{perspective:[p,Q2,W2]}],"perspective-origin":[{"perspective-origin":M()}],rotate:[{rotate:N()}],"rotate-x":[{"rotate-x":N()}],"rotate-y":[{"rotate-y":N()}],"rotate-z":[{"rotate-z":N()}],scale:[{scale:L()}],"scale-x":[{"scale-x":L()}],"scale-y":[{"scale-y":L()}],"scale-z":[{"scale-z":L()}],"scale-3d":["scale-3d"],skew:[{skew:D()}],"skew-x":[{"skew-x":D()}],"skew-y":[{"skew-y":D()}],transform:[{transform:[Q2,W2,"","none","gpu","cpu"]}],"transform-origin":[{origin:M()}],"transform-style":[{transform:["3d","flat"]}],translate:[{translate:I()}],"translate-x":[{"translate-x":I()}],"translate-y":[{"translate-y":I()}],"translate-z":[{"translate-z":I()}],"translate-none":["translate-none"],accent:[{accent:O()}],appearance:[{appearance:["none","auto"]}],"caret-color":[{caret:O()}],"color-scheme":[{scheme:["normal","dark","light","light-dark","only-dark","only-light"]}],cursor:[{cursor:["auto","default","pointer","wait","text","move","help","not-allowed","none","context-menu","progress","cell","crosshair","vertical-text","alias","copy","no-drop","grab","grabbing","all-scroll","col-resize","row-resize","n-resize","e-resize","s-resize","w-resize","ne-resize","nw-resize","se-resize","sw-resize","ew-resize","ns-resize","nesw-resize","nwse-resize","zoom-in","zoom-out",Q2,W2]}],"field-sizing":[{"field-sizing":["fixed","content"]}],"pointer-events":[{"pointer-events":["auto","none"]}],resize:[{resize:["none","","y","x"]}],"scroll-behavior":[{scroll:["auto","smooth"]}],"scroll-m":[{"scroll-m":E()}],"scroll-mx":[{"scroll-mx":E()}],"scroll-my":[{"scroll-my":E()}],"scroll-ms":[{"scroll-ms":E()}],"scroll-me":[{"scroll-me":E()}],"scroll-mt":[{"scroll-mt":E()}],"scroll-mr":[{"scroll-mr":E()}],"scroll-mb":[{"scroll-mb":E()}],"scroll-ml":[{"scroll-ml":E()}],"scroll-p":[{"scroll-p":E()}],"scroll-px":[{"scroll-px":E()}],"scroll-py":[{"scroll-py":E()}],"scroll-ps":[{"scroll-ps":E()}],"scroll-pe":[{"scroll-pe":E()}],"scroll-pt":[{"scroll-pt":E()}],"scroll-pr":[{"scroll-pr":E()}],"scroll-pb":[{"scroll-pb":E()}],"scroll-pl":[{"scroll-pl":E()}],"snap-align":[{snap:["start","end","center","align-none"]}],"snap-stop":[{snap:["normal","always"]}],"snap-type":[{snap:["none","x","y","both"]}],"snap-strictness":[{snap:["mandatory","proximity"]}],touch:[{touch:["auto","none","manipulation"]}],"touch-x":[{"touch-pan":["x","left","right"]}],"touch-y":[{"touch-pan":["y","up","down"]}],"touch-pz":["touch-pinch-zoom"],select:[{select:["none","text","all","auto"]}],"will-change":[{"will-change":["auto","scroll","contents","transform",Q2,W2]}],fill:[{fill:["none",...O()]}],"stroke-w":[{stroke:[T2,G2,U2,Z2]}],stroke:[{stroke:["none",...O()]}],"forced-color-adjust":[{"forced-color-adjust":["auto","none"]}]},conflictingClassGroups:{overflow:["overflow-x","overflow-y"],overscroll:["overscroll-x","overscroll-y"],inset:["inset-x","inset-y","start","end","top","right","bottom","left"],"inset-x":["right","left"],"inset-y":["top","bottom"],flex:["basis","grow","shrink"],gap:["gap-x","gap-y"],p:["px","py","ps","pe","pt","pr","pb","pl"],px:["pr","pl"],py:["pt","pb"],m:["mx","my","ms","me","mt","mr","mb","ml"],mx:["mr","ml"],my:["mt","mb"],size:["w","h"],"font-size":["leading"],"fvn-normal":["fvn-ordinal","fvn-slashed-zero","fvn-figure","fvn-spacing","fvn-fraction"],"fvn-ordinal":["fvn-normal"],"fvn-slashed-zero":["fvn-normal"],"fvn-figure":["fvn-normal"],"fvn-spacing":["fvn-normal"],"fvn-fraction":["fvn-normal"],"line-clamp":["display","overflow"],rounded:["rounded-s","rounded-e","rounded-t","rounded-r","rounded-b","rounded-l","rounded-ss","rounded-se","rounded-ee","rounded-es","rounded-tl","rounded-tr","rounded-br","rounded-bl"],"rounded-s":["rounded-ss","rounded-es"],"rounded-e":["rounded-se","rounded-ee"],"rounded-t":["rounded-tl","rounded-tr"],"rounded-r":["rounded-tr","rounded-br"],"rounded-b":["rounded-br","rounded-bl"],"rounded-l":["rounded-tl","rounded-bl"],"border-spacing":["border-spacing-x","border-spacing-y"],"border-w":["border-w-s","border-w-e","border-w-t","border-w-r","border-w-b","border-w-l"],"border-w-x":["border-w-r","border-w-l"],"border-w-y":["border-w-t","border-w-b"],"border-color":["border-color-s","border-color-e","border-color-t","border-color-r","border-color-b","border-color-l"],"border-color-x":["border-color-r","border-color-l"],"border-color-y":["border-color-t","border-color-b"],translate:["translate-x","translate-y","translate-none"],"translate-none":["translate","translate-x","translate-y","translate-z"],"scroll-m":["scroll-mx","scroll-my","scroll-ms","scroll-me","scroll-mt","scroll-mr","scroll-mb","scroll-ml"],"scroll-mx":["scroll-mr","scroll-ml"],"scroll-my":["scroll-mt","scroll-mb"],"scroll-p":["scroll-px","scroll-py","scroll-ps","scroll-pe","scroll-pt","scroll-pr","scroll-pb","scroll-pl"],"scroll-px":["scroll-pr","scroll-pl"],"scroll-py":["scroll-pt","scroll-pb"],touch:["touch-x","touch-y","touch-pz"],"touch-x":["touch"],"touch-y":["touch"],"touch-pz":["touch"]},conflictingClassGroupModifiers:{"font-size":["leading"]},orderSensitiveModifiers:["before","after","placeholder","file","marker","selection","first-line","first-letter","backdrop","*","**"]}})),{entries:p7,setPrototypeOf:m7,isFrozen:g7,getPrototypeOf:y7,getOwnPropertyDescriptor:v7}=Object;let{freeze:b7,seal:x7,create:w7}=Object,{apply:C7,construct:A7}="undefined"!=typeof Reflect&&Reflect;b7||(b7=function(e){return e}),x7||(x7=function(e){return e}),C7||(C7=function(e,t,n){return e.apply(t,n)}),A7||(A7=function(e,t){return new e(...t)});const E7=I7(Array.prototype.forEach),S7=I7(Array.prototype.pop),k7=I7(Array.prototype.push),_7=I7(String.prototype.toLowerCase),O7=I7(String.prototype.toString),R7=I7(String.prototype.match),P7=I7(String.prototype.replace),j7=I7(String.prototype.indexOf),T7=I7(String.prototype.trim),M7=I7(Object.prototype.hasOwnProperty),N7=I7(RegExp.prototype.test),L7=(D7=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return A7(D7,t)});var D7;function I7(e){return function(t){for(var n=arguments.length,r=new Array(n>1?n-1:0),o=1;o<n;o++)r[o-1]=arguments[o];return C7(e,t,r)}}function F7(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:_7;m7&&m7(e,null);let r=t.length;for(;r--;){let o=t[r];if("string"==typeof o){const e=n(o);e!==o&&(g7(t)||(t[r]=e),o=e)}e[o]=!0}return e}function B7(e){for(let t=0;t<e.length;t++)M7(e,t)||(e[t]=null);return e}function z7(e){const t=w7(null);for(const[n,r]of p7(e))M7(e,n)&&(Array.isArray(r)?t[n]=B7(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=z7(r):t[n]=r);return t}function V7(e,t){for(;null!==e;){const n=v7(e,t);if(n){if(n.get)return I7(n.get);if("function"==typeof n.value)return I7(n.value)}e=y7(e)}return function(){return null}}const H7=b7(["a","abbr","acronym","address","area","article","aside","audio","b","bdi","bdo","big","blink","blockquote","body","br","button","canvas","caption","center","cite","code","col","colgroup","content","data","datalist","dd","decorator","del","details","dfn","dialog","dir","div","dl","dt","element","em","fieldset","figcaption","figure","font","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","img","input","ins","kbd","label","legend","li","main","map","mark","marquee","menu","menuitem","meter","nav","nobr","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","section","select","shadow","small","source","spacer","span","strike","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","tr","track","tt","u","ul","var","video","wbr"]),W7=b7(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","filter","font","g","glyph","glyphref","hkern","image","line","lineargradient","marker","mask","metadata","mpath","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),U7=b7(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feImage","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),Z7=b7(["animate","color-profile","cursor","discard","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","foreignobject","hatch","hatchpath","mesh","meshgradient","meshpatch","meshrow","missing-glyph","script","set","solidcolor","unknown","use"]),q7=b7(["math","menclose","merror","mfenced","mfrac","mglyph","mi","mlabeledtr","mmultiscripts","mn","mo","mover","mpadded","mphantom","mroot","mrow","ms","mspace","msqrt","mstyle","msub","msup","msubsup","mtable","mtd","mtext","mtr","munder","munderover","mprescripts"]),Y7=b7(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),K7=b7(["#text"]),Q7=b7(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","face","for","headers","height","hidden","high","href","hreflang","id","inputmode","integrity","ismap","kind","label","lang","list","loading","loop","low","max","maxlength","media","method","min","minlength","multiple","muted","name","nonce","noshade","novalidate","nowrap","open","optimum","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns","slot"]),G7=b7(["accent-height","accumulate","additive","alignment-baseline","amplitude","ascent","attributename","attributetype","azimuth","basefrequency","baseline-shift","begin","bias","by","class","clip","clippathunits","clip-path","clip-rule","color","color-interpolation","color-interpolation-filters","color-profile","color-rendering","cx","cy","d","dx","dy","diffuseconstant","direction","display","divisor","dur","edgemode","elevation","end","exponent","fill","fill-opacity","fill-rule","filter","filterunits","flood-color","flood-opacity","font-family","font-size","font-size-adjust","font-stretch","font-style","font-variant","font-weight","fx","fy","g1","g2","glyph-name","glyphref","gradientunits","gradienttransform","height","href","id","image-rendering","in","in2","intercept","k","k1","k2","k3","k4","kerning","keypoints","keysplines","keytimes","lang","lengthadjust","letter-spacing","kernelmatrix","kernelunitlength","lighting-color","local","marker-end","marker-mid","marker-start","markerheight","markerunits","markerwidth","maskcontentunits","maskunits","max","mask","media","method","mode","min","name","numoctaves","offset","operator","opacity","order","orient","orientation","origin","overflow","paint-order","path","pathlength","patterncontentunits","patterntransform","patternunits","points","preservealpha","preserveaspectratio","primitiveunits","r","rx","ry","radius","refx","refy","repeatcount","repeatdur","restart","result","rotate","scale","seed","shape-rendering","slope","specularconstant","specularexponent","spreadmethod","startoffset","stddeviation","stitchtiles","stop-color","stop-opacity","stroke-dasharray","stroke-dashoffset","stroke-linecap","stroke-linejoin","stroke-miterlimit","stroke-opacity","stroke","stroke-width","style","surfacescale","systemlanguage","tabindex","tablevalues","targetx","targety","transform","transform-origin","text-anchor","text-decoration","text-rendering","textlength","type","u1","u2","unicode","values","viewbox","visibility","version","vert-adv-y","vert-origin-x","vert-origin-y","width","word-spacing","wrap","writing-mode","xchannelselector","ychannelselector","x","x1","x2","xmlns","y","y1","y2","z","zoomandpan"]),X7=b7(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),J7=b7(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),$7=x7(/\{\{[\w\W]*|[\w\W]*\}\}/gm),e8=x7(/<%[\w\W]*|[\w\W]*%>/gm),t8=x7(/\$\{[\w\W]*}/gm),n8=x7(/^data-[\-\w.\u00B7-\uFFFF]+$/),r8=x7(/^aria-[\-\w]+$/),o8=x7(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),i8=x7(/^(?:\w+script|data):/i),a8=x7(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),s8=x7(/^html$/i),l8=x7(/^[a-z][.\w]*(-[.\w]+)+$/i);var c8=Object.freeze({__proto__:null,ARIA_ATTR:r8,ATTR_WHITESPACE:a8,CUSTOM_ELEMENT:l8,DATA_ATTR:n8,DOCTYPE_NAME:s8,ERB_EXPR:e8,IS_ALLOWED_URI:o8,IS_SCRIPT_OR_DATA:i8,MUSTACHE_EXPR:$7,TMPLIT_EXPR:t8});const u8=function(){return"undefined"==typeof window?null:window};var d8=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:u8();const n=t=>e(t);if(n.version="3.2.3",n.removed=[],!t||!t.document||9!==t.document.nodeType)return n.isSupported=!1,n;let{document:r}=t;const o=r,i=o.currentScript,{DocumentFragment:a,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:f,DOMParser:h,trustedTypes:p}=t,m=c.prototype,g=V7(m,"cloneNode"),y=V7(m,"remove"),v=V7(m,"nextSibling"),b=V7(m,"childNodes"),x=V7(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let w,C="";const{implementation:A,createNodeIterator:E,createDocumentFragment:S,getElementsByTagName:k}=r,{importNode:_}=o;let O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof p7&&"function"==typeof x&&A&&void 0!==A.createHTMLDocument;const{MUSTACHE_EXPR:R,ERB_EXPR:P,TMPLIT_EXPR:j,DATA_ATTR:T,ARIA_ATTR:M,IS_SCRIPT_OR_DATA:N,ATTR_WHITESPACE:L,CUSTOM_ELEMENT:D}=c8;let{IS_ALLOWED_URI:I}=c8,F=null;const B=F7({},[...H7,...W7,...U7,...q7,...K7]);let z=null;const V=F7({},[...Q7,...G7,...X7,...J7]);let H=Object.seal(w7(null,{tagNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeNameCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},allowCustomizedBuiltInElements:{writable:!0,configurable:!1,enumerable:!0,value:!1}})),W=null,U=null,Z=!0,q=!0,Y=!1,K=!0,Q=!1,G=!0,X=!1,J=!1,$=!1,ee=!1,te=!1,ne=!1,re=!0,oe=!1,ie=!0,ae=!1,se={},le=null;const ce=F7({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let ue=null;const de=F7({},["audio","video","img","source","image","track"]);let fe=null;const he=F7({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),pe="http://www.w3.org/1998/Math/MathML",me="http://www.w3.org/2000/svg",ge="http://www.w3.org/1999/xhtml";let ye=ge,ve=!1,be=null;const xe=F7({},[pe,me,ge],O7);let we=F7({},["mi","mo","mn","ms","mtext"]),Ce=F7({},["annotation-xml"]);const Ae=F7({},["title","style","font","a","script"]);let Ee=null;const Se=["application/xhtml+xml","text/html"];let ke=null,_e=null;const Oe=r.createElement("form"),Re=function(e){return e instanceof RegExp||e instanceof Function},Pe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!_e||_e!==e){if(e&&"object"==typeof e||(e={}),e=z7(e),Ee=-1===Se.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,ke="application/xhtml+xml"===Ee?O7:_7,F=M7(e,"ALLOWED_TAGS")?F7({},e.ALLOWED_TAGS,ke):B,z=M7(e,"ALLOWED_ATTR")?F7({},e.ALLOWED_ATTR,ke):V,be=M7(e,"ALLOWED_NAMESPACES")?F7({},e.ALLOWED_NAMESPACES,O7):xe,fe=M7(e,"ADD_URI_SAFE_ATTR")?F7(z7(he),e.ADD_URI_SAFE_ATTR,ke):he,ue=M7(e,"ADD_DATA_URI_TAGS")?F7(z7(de),e.ADD_DATA_URI_TAGS,ke):de,le=M7(e,"FORBID_CONTENTS")?F7({},e.FORBID_CONTENTS,ke):ce,W=M7(e,"FORBID_TAGS")?F7({},e.FORBID_TAGS,ke):{},U=M7(e,"FORBID_ATTR")?F7({},e.FORBID_ATTR,ke):{},se=!!M7(e,"USE_PROFILES")&&e.USE_PROFILES,Z=!1!==e.ALLOW_ARIA_ATTR,q=!1!==e.ALLOW_DATA_ATTR,Y=e.ALLOW_UNKNOWN_PROTOCOLS||!1,K=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Q=e.SAFE_FOR_TEMPLATES||!1,G=!1!==e.SAFE_FOR_XML,X=e.WHOLE_DOCUMENT||!1,ee=e.RETURN_DOM||!1,te=e.RETURN_DOM_FRAGMENT||!1,ne=e.RETURN_TRUSTED_TYPE||!1,$=e.FORCE_BODY||!1,re=!1!==e.SANITIZE_DOM,oe=e.SANITIZE_NAMED_PROPS||!1,ie=!1!==e.KEEP_CONTENT,ae=e.IN_PLACE||!1,I=e.ALLOWED_URI_REGEXP||o8,ye=e.NAMESPACE||ge,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,Ce=e.HTML_INTEGRATION_POINTS||Ce,H=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Re(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(H.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Re(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(H.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(H.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&(q=!1),te&&(ee=!0),se&&(F=F7({},K7),z=[],!0===se.html&&(F7(F,H7),F7(z,Q7)),!0===se.svg&&(F7(F,W7),F7(z,G7),F7(z,J7)),!0===se.svgFilters&&(F7(F,U7),F7(z,G7),F7(z,J7)),!0===se.mathMl&&(F7(F,q7),F7(z,X7),F7(z,J7))),e.ADD_TAGS&&(F===B&&(F=z7(F)),F7(F,e.ADD_TAGS,ke)),e.ADD_ATTR&&(z===V&&(z=z7(z)),F7(z,e.ADD_ATTR,ke)),e.ADD_URI_SAFE_ATTR&&F7(fe,e.ADD_URI_SAFE_ATTR,ke),e.FORBID_CONTENTS&&(le===ce&&(le=z7(le)),F7(le,e.FORBID_CONTENTS,ke)),ie&&(F["#text"]=!0),X&&F7(F,["html","head","body"]),F.table&&(F7(F,["tbody"]),delete W.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw L7('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw L7('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');w=e.TRUSTED_TYPES_POLICY,C=w.createHTML("")}else void 0===w&&(w=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const o="dompurify"+(n?"#"+n:"");try{return e.createPolicy(o,{createHTML:e=>e,createScriptURL:e=>e})}catch(e){return console.warn("TrustedTypes policy "+o+" could not be created."),null}}(p,i)),null!==w&&"string"==typeof C&&(C=w.createHTML(""));b7&&b7(e),_e=e}},je=F7({},[...W7,...U7,...Z7]),Te=F7({},[...q7,...Y7]),Me=function(e){k7(n.removed,{element:e});try{x(e).removeChild(e)}catch(t){y(e)}},Ne=function(e,t){try{k7(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){k7(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ee||te)try{Me(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Le=function(e){let t=null,n=null;if($)e="<remove></remove>"+e;else{const t=R7(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ee&&ye===ge&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const o=w?w.createHTML(e):e;if(ye===ge)try{t=(new h).parseFromString(o,Ee)}catch(e){}if(!t||!t.documentElement){t=A.createDocument(ye,"template",null);try{t.documentElement.innerHTML=ve?C:o}catch(e){}}const i=t.body||t.documentElement;return e&&n&&i.insertBefore(r.createTextNode(n),i.childNodes[0]||null),ye===ge?k.call(t,X?"html":"body")[0]:X?t.documentElement:i},De=function(e){return E.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},Ie=function(e){return e instanceof f&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof l&&e instanceof l};function Be(e,t,r){E7(e,(e=>{e.call(n,t,r,_e)}))}const ze=function(e){let t=null;if(Be(O.beforeSanitizeElements,e,null),Ie(e))return Me(e),!0;const r=ke(e.nodeName);if(Be(O.uponSanitizeElement,e,{tagName:r,allowedTags:F}),e.hasChildNodes()&&!Fe(e.firstElementChild)&&N7(/<[/\w]/g,e.innerHTML)&&N7(/<[/\w]/g,e.textContent))return Me(e),!0;if(7===e.nodeType)return Me(e),!0;if(G&&8===e.nodeType&&N7(/<[/\w]/g,e.data))return Me(e),!0;if(!F[r]||W[r]){if(!W[r]&&He(r)){if(H.tagNameCheck instanceof RegExp&&N7(H.tagNameCheck,r))return!1;if(H.tagNameCheck instanceof Function&&H.tagNameCheck(r))return!1}if(ie&&!le[r]){const t=x(e)||e.parentNode,n=b(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const o=g(n[r],!0);o.__removalCount=(e.__removalCount||0)+1,t.insertBefore(o,v(e))}}return Me(e),!0}return e instanceof c&&!function(e){let t=x(e);t&&t.tagName||(t={namespaceURI:ye,tagName:"template"});const n=_7(e.tagName),r=_7(t.tagName);return!!be[e.namespaceURI]&&(e.namespaceURI===me?t.namespaceURI===ge?"svg"===n:t.namespaceURI===pe?"svg"===n&&("annotation-xml"===r||we[r]):Boolean(je[n]):e.namespaceURI===pe?t.namespaceURI===ge?"math"===n:t.namespaceURI===me?"math"===n&&Ce[r]:Boolean(Te[n]):e.namespaceURI===ge?!(t.namespaceURI===me&&!Ce[r])&&!(t.namespaceURI===pe&&!we[r])&&!Te[n]&&(Ae[n]||!je[n]):!("application/xhtml+xml"!==Ee||!be[e.namespaceURI]))}(e)?(Me(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!N7(/<\/no(script|embed|frames)/i,e.innerHTML)?(Q&&3===e.nodeType&&(t=e.textContent,E7([R,P,j],(e=>{t=P7(t,e," ")})),e.textContent!==t&&(k7(n.removed,{element:e.cloneNode()}),e.textContent=t)),Be(O.afterSanitizeElements,e,null),!1):(Me(e),!0)},Ve=function(e,t,n){if(re&&("id"===t||"name"===t)&&(n in r||n in Oe))return!1;if(q&&!U[t]&&N7(T,t));else if(Z&&N7(M,t));else if(!z[t]||U[t]){if(!(He(e)&&(H.tagNameCheck instanceof RegExp&&N7(H.tagNameCheck,e)||H.tagNameCheck instanceof Function&&H.tagNameCheck(e))&&(H.attributeNameCheck instanceof RegExp&&N7(H.attributeNameCheck,t)||H.attributeNameCheck instanceof Function&&H.attributeNameCheck(t))||"is"===t&&H.allowCustomizedBuiltInElements&&(H.tagNameCheck instanceof RegExp&&N7(H.tagNameCheck,n)||H.tagNameCheck instanceof Function&&H.tagNameCheck(n))))return!1}else if(fe[t]);else if(N7(I,P7(n,L,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==j7(n,"data:")||!ue[e])if(Y&&!N7(N,P7(n,L,"")));else if(n)return!1;return!0},He=function(e){return"annotation-xml"!==e&&R7(e,D)},We=function(e){Be(O.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||Ie(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:z,forceKeepAttr:void 0};let o=t.length;for(;o--;){const i=t[o],{name:a,namespaceURI:s,value:l}=i,c=ke(a);let u="value"===a?l:T7(l);if(r.attrName=c,r.attrValue=u,r.keepAttr=!0,r.forceKeepAttr=void 0,Be(O.uponSanitizeAttribute,e,r),u=r.attrValue,!oe||"id"!==c&&"name"!==c||(Ne(a,e),u="user-content-"+u),G&&N7(/((--!?|])>)|<\/(style|title)/i,u)){Ne(a,e);continue}if(r.forceKeepAttr)continue;if(Ne(a,e),!r.keepAttr)continue;if(!K&&N7(/\/>/i,u)){Ne(a,e);continue}Q&&E7([R,P,j],(e=>{u=P7(u,e," ")}));const d=ke(e.nodeName);if(Ve(d,c,u)){if(w&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(d,c)){case"TrustedHTML":u=w.createHTML(u);break;case"TrustedScriptURL":u=w.createScriptURL(u)}try{s?e.setAttributeNS(s,a,u):e.setAttribute(a,u),Ie(e)?Me(e):S7(n.removed)}catch(e){}}}Be(O.afterSanitizeAttributes,e,null)},Ue=function e(t){let n=null;const r=De(t);for(Be(O.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)Be(O.uponSanitizeShadowNode,n,null),ze(n),We(n),n.content instanceof a&&e(n.content);Be(O.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,i=null,s=null,c=null;if(ve=!e,ve&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw L7("toString is not a function");if("string"!=typeof(e=e.toString()))throw L7("dirty is not a string, aborting")}if(!n.isSupported)return e;if(J||Pe(t),n.removed=[],"string"==typeof e&&(ae=!1),ae){if(e.nodeName){const t=ke(e.nodeName);if(!F[t]||W[t])throw L7("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Le("\x3c!----\x3e"),i=r.ownerDocument.importNode(e,!0),1===i.nodeType&&"BODY"===i.nodeName||"HTML"===i.nodeName?r=i:r.appendChild(i);else{if(!ee&&!Q&&!X&&-1===e.indexOf("<"))return w&&ne?w.createHTML(e):e;if(r=Le(e),!r)return ee?null:ne?C:""}r&&$&&Me(r.firstChild);const u=De(ae?e:r);for(;s=u.nextNode();)ze(s),We(s),s.content instanceof a&&Ue(s.content);if(ae)return e;if(ee){if(te)for(c=S.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(z.shadowroot||z.shadowrootmode)&&(c=_.call(o,c,!0)),c}let d=X?r.outerHTML:r.innerHTML;return X&&F["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&N7(s8,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Q&&E7([R,P,j],(e=>{d=P7(d,e," ")})),w&&ne?w.createHTML(d):d},n.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){_e=null,J=!1},n.isValidAttribute=function(e,t,n){_e||Pe({});const r=ke(e),o=ke(t);return Ve(r,o,n)},n.addHook=function(e,t){"function"==typeof t&&k7(O[e],t)},n.removeHook=function(e){return S7(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();const f8=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};if(!e||isNaN(new Date(e).getTime()))return(0,He.__)("No Date","suremails");const n={day:"2-digit",month:"short",year:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0},r=Object.keys(n).reduce(((e,r)=>(!0===t[r]?e[r]=n[r]:!1===t[r]||void 0!==t[r]&&(e[r]=t[r]),e)),{});return new Intl.DateTimeFormat("en-US",r).format(new Date(e))},h8=()=>{const e=new Date,t=new Date;t.setDate(e.getDate()-30);const n=f8(t,"MM/dd/yyyy"),r=f8(e,"MM/dd/yyyy");return"".concat(n," - ").concat(r)},p8=e=>{if(isNaN(e))return{from:"",to:""};const t=new Date,n=new Date;return n.setDate(t.getDate()-e),{from:f8(n,"MM/dd/yyyy"),to:f8(t,"MM/dd/yyyy")}},m8=e=>e.from?e.to?"".concat(g8(e.from,"MM/dd/yyyy")," - ").concat(g8(e.to,"MM/dd/yyyy")):"".concat(g8(e.from,"MM/dd/yyyy")):"",g8=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd";try{if(!e||isNaN(new Date(e).getTime()))throw new Error((0,He.__)("Invalid Date","suremails"));return function(e,t,n){const r=_0(),o=n?.locale??r.locale??S0,i=n?.firstWeekContainsDate??n?.locale?.options?.firstWeekContainsDate??r.firstWeekContainsDate??r.locale?.options?.firstWeekContainsDate??1,a=n?.weekStartsOn??n?.locale?.options?.weekStartsOn??r.weekStartsOn??r.locale?.options?.weekStartsOn??0,s=j0(e,n?.in);if(!$0(s))throw new RangeError("Invalid time value");let l=t.match(t2).map((e=>{const t=e[0];return"p"===t||"P"===t?(0,Q0[t])(e,o.formatLong):e})).join("").match(e2).map((e=>{if("''"===e)return{isToken:!1,value:"'"};const t=e[0];if("'"===t)return{isToken:!1,value:i2(e)};if(W0[t])return{isToken:!0,value:e};if(t.match(o2))throw new RangeError("Format string contains an unescaped latin alphabet character `"+t+"`");return{isToken:!1,value:e}}));o.localize.preprocessor&&(l=o.localize.preprocessor(s,l));const c={firstWeekContainsDate:i,weekStartsOn:a,locale:o};return l.map((r=>{if(!r.isToken)return r.value;const i=r.value;return(!n?.useAdditionalWeekYearTokens&&function(e){return X0.test(e)}(i)||!n?.useAdditionalDayOfYearTokens&&function(e){return G0.test(e)}(i))&&function(e,t,n){const r=function(e,t,n){const r="Y"===e[0]?"years":"days of the month";return`Use \`${e.toLowerCase()}\` instead of \`${e}\` (in \`${t}\`) for formatting ${r} to the input \`${n}\`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md`}(e,t,n);if(console.warn(r),J0.includes(e))throw new RangeError(r)}(i,t,String(e)),(0,W0[i[0]])(s,i,o.localize,c)})).join("")}(new Date(e),t)}catch(e){return(0,He.__)("No Date","suremails")}},y8=function(){return h7(function(){for(var e,t,n=0,r="",o=arguments.length;n<o;n++)(e=arguments[n])&&(t=y0(e))&&(r&&(r+=" "),r+=t);return r}(...arguments))},v8=e=>{switch(e){case"sent":return(0,He.__)("Successful","suremails");case"failed":return(0,He.__)("Failed","suremails");case"pending":return(0,He.__)("In Progress","suremails");case"blocked":return(0,He.__)("Blocked","suremails");default:return(0,He.__)("Unknown","suremails")}},b8=e=>{switch(e){case"sent":return"green";case"failed":case"blocked":return"red";case"pending":return"yellow";default:return"gray"}};class x8{constructor(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"open";ze(this,"element",null),ze(this,"shadowRoot",null),ze(this,"mode","open"),this.element=e,this.mode=t,this.shadowRoot=this.attachShadow(t)}updateElement(e){this.element=e}hasShadowRoot(){return!!this.element&&("closed"===this.mode?null!==this.shadowRoot:null!==this.element.shadowRoot)}attachShadow(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"open";return this.hasShadowRoot()?this.element.shadowRoot:this.element.attachShadow({mode:e})}appendChild(e){if(this.hasShadowRoot())return"closed"===this.mode?this.shadowRoot.appendChild(e):this.element.shadowRoot.appendChild(e)}hasChildNodes(){return!!this.hasShadowRoot()&&("closed"===this.mode?this.shadowRoot.hasChildNodes():this.element.shadowRoot.hasChildNodes())}innerHTML(e){this.hasShadowRoot()&&("closed"!==this.mode?this.element.shadowRoot.innerHTML=e:this.shadowRoot.innerHTML=e)}}const w8=e=>/<[^>]*>/.test(e),C8=()=>React.createElement("div",{className:"p-6"},React.createElement("div",{className:"flex items-center justify-between mb-4"},React.createElement(Gw,{className:"w-40 h-8",variant:"rectangular"}),React.createElement(Gw,{className:"w-32 h-8",variant:"rectangular"})),React.createElement("div",{className:"p-4 bg-background-primary rounded-lg shadow "},React.createElement(i1,null,React.createElement(i1.Head,null,["Connection Title","Email","Created On","Test Email","Actions"].map(((e,t)=>React.createElement(i1.HeadCell,{key:t},React.createElement(Gw,{className:"w-full h-6",variant:"rectangular"}))))),React.createElement(i1.Body,null,Array.from({length:5}).map(((e,t)=>React.createElement(i1.Row,{key:t,className:y8("border-b",t%2==0&&"bg-background-secondary")},Array.from({length:5}).map(((e,t)=>React.createElement(i1.Cell,{key:t,className:"px-4 py-2"},React.createElement(Gw,{className:"w-full h-6",variant:"rectangular"}))))))))))),A8=m1("ChevronLeft",[["path",{d:"m15 18-6-6 6-6",key:"1wnfg3"}]]),E8=m1("LoaderCircle",[["path",{d:"M21 12a9 9 0 1 1-6.219-8.56",key:"13zald"}]]),S8=e=>{let{onSelectProvider:t,providers:n}=e;const[r,o]=(0,Ve.useState)(""),i=(0,Ve.useRef)(!1);return React.createElement("div",{className:"w-full md:max-w-lg bg-background-primary rounded-xl"},React.createElement(Ea.Group,{columns:1,value:r,onChange:e=>{const r=n.find((t=>t.value===e));r&&r.badge?i.current||(Op.info((0,He.__)("This provider is coming soon!","suremails")),i.current=!0,setTimeout((()=>{i.current=!1}),500)):(o(e),t(e))},className:"p-1 rounded-lg bg-background-secondary gap-1"},n.map((e=>React.createElement(Ea.Button,{key:e.value,borderOn:!0,value:e.value,icon:e.icon,badgeItem:e.badge,size:"md",inlineIcon:!0,buttonWrapperClasses:"bg-background-primary border-0",label:{heading:e.display_name}})))))},k8=window.wp.apiFetch;var _8=o.n(k8);const O8=async()=>{try{const e=await _8()({path:"/suremails/v1/providers",method:"GET"});if("object"!=typeof e)throw new Error("Invalid JSON response");return e}catch(e){throw new Error(e.message||"Error fetching providers")}},R8=async()=>{try{const e=await _8()({path:"/suremails/v1/get-settings",method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":suremails.nonce}});if("object"!=typeof e)throw new Error("Invalid JSON response");return e}catch(e){throw new Error(e.message||"Error fetching settings")}},P8=async e=>{if(!e||!e.id)throw new Error((0,He.__)("Invalid connection data.","suremails"));try{return await _8()({path:"/suremails/v1/delete-connection",method:"DELETE",headers:{"Content-Type":"application/json","X-WP-Nonce":suremails.nonce},body:JSON.stringify({type:e.type,from_email:e.from_email,id:e.id})})}catch(e){throw new Error(e.message||(0,He.__)("There was an issue deleting the connection.","suremails"))}},j8=()=>React.createElement("div",{className:"w-full md:max-w-lg bg-background-primary rounded-xl"},React.createElement("div",{className:"grid grid-cols-1 p-1 rounded-lg bg-background-secondary gap-1"},Array.from({length:12}).map(((e,t)=>React.createElement("div",{key:t,className:"flex items-center justify-between h-14 bg-background-primary px-4 py-4 pr-6 rounded-md shadow-sm"},React.createElement("div",{className:"flex items-center gap-2"},React.createElement(Gw,{variant:"rectangular",className:"size-6 shrink-0"}),React.createElement(Gw,{variant:"rectangular",className:y8("h-6 shrink-0",["w-52","w-48","w-56","w-40"][t%4])})),React.createElement(Gw,{variant:"circular",className:"size-5 shrink-0"}))))));var T8=o(442);const M8=T8.default||T8,N8=e=>{let{characterLimit:t=200,html:n}=e;const[r,o]=(0,Ve.useState)(!1);if(!n)return null;const i=d8.sanitize(n),a=(e=>{const t=document.createElement("div");return t.innerHTML=e,t.textContent||t.innerText||""})(i),s=a.length>t,l=()=>{o((e=>!e))};return React.createElement("span",{className:"block space-x-1"},r?React.createElement(React.Fragment,null,React.createElement("span",null,M8(i)),s&&React.createElement("button",{type:"button",onClick:l,className:"text-text-secondary [background:none] appearance-none border-0 p-0 m-0 cursor-pointer"},(0,He.__)("Show less","suremails"))):React.createElement(React.Fragment,null,React.createElement("span",null,s?"".concat(a.slice(0,t),"..."):a),s&&React.createElement("button",{type:"button",onClick:l,className:"text-text-secondary [background:none] appearance-none border-0 p-0 m-0 cursor-pointer"},(0,He.__)("Show more","suremails"))))},L8=e=>{let{text:t,showMore:n=!1}=e;return d8.addHook("afterSanitizeAttributes",(function(e){"target"in e&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))})),React.createElement(rn,{tag:"span",size:"sm",variant:"help"},n?React.createElement(N8,{html:t,characterLimit:50}):React.createElement("span",null,M8(d8.sanitize(t))))},D8=e=>{var t,n,r;let{field:o,value:i,onChange:a,errors:s,inlineValidator:l,formStateValues:c}=e;const u=e=>{let t=e;try{t="number"===o.type?Number(e):e}catch(e){}const n=o.transform?o.transform(t):t;null==a||a(o.name,n)};switch(o.input_type){case"text":case"password":case"email":case"number":return React.createElement("div",{className:"flex flex-col gap-1.5 py-2 pl-2"},React.createElement(_a,{name:o.name,type:o.input_type,size:"md",value:i||"",onChange:u,onBlur:l,error:null==s?void 0:s[o.name],placeholder:o.placeholder,label:o.label,required:o.required,className:"w-full",min:o.min,autoComplete:"off"}),!(null==s||!s[o.name])&&React.createElement("p",{className:"text-text-error text-sm"},null==s?void 0:s[o.name]),o.help_text&&React.createElement(L8,{text:o.help_text,showMore:null==o?void 0:o.helpShowMore}));case"select":return React.createElement("div",{className:"flex flex-col gap-1.5 py-2 pl-2"},React.createElement(rn,{size:"sm",className:"w-full",required:o.required},o.label),React.createElement(Ap,{value:null!=i?i:o.default,onChange:u,className:"w-full h-10",combobox:o.combobox},React.createElement(Ap.Button,{type:"button",render:e=>{var t,n;return null!==(t=null===(n=o.getOptionLabel)||void 0===n?void 0:n.call(o,e))&&void 0!==t?t:e}}),React.createElement(Ap.Options,{className:"z-999999"},o.options.map((e=>React.createElement(Ap.Option,{key:e.label,value:e.value},e.label))))),o.help_text&&React.createElement(L8,{text:o.help_text,showMore:null!==(t=null==o?void 0:o.helpShowMore)&&void 0!==t&&t}));case"checkbox":return React.createElement("div",{className:"p-2"},React.createElement(Pn,{name:o.name,checked:i,size:"sm",onChange:u,label:{heading:o.label,description:o.help_text&&React.createElement(L8,{text:o.help_text,showMore:null!==(n=null==o?void 0:o.helpShowMore)&&void 0!==n&&n})},disabled:null===(r=o.disabled)||void 0===r?void 0:r.call(o,i,c)}));default:return null}},I8=e=>{let{fields:t,values:n,onChange:r,errors:o,inlineValidator:i}=e;const a=(e,t)=>{null==r||r({[e]:t})};return React.createElement("div",{className:"flex flex-col gap-4"},t.map((e=>React.createElement(D8,{key:e.name,field:e,value:null==n?void 0:n[e.name],formStateValues:n,onChange:a,errors:o,inlineValidator:i}))))},F8=e=>{let{fields:t,connectionData:n,onChange:r,errors:o,inlineValidator:i}=e;return React.createElement(I8,{fields:t,values:n,onChange:e=>{"function"==typeof r&&(null==r||r(e))},errors:o,inlineValidator:i})};function B8(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z8(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B8(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B8(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const V8=e=>{var t;let{isOpen:r,setIsOpen:o,currentConnection:i={},onSave:a,providers:s=[],isProvidersLoading:l=!1,sequenceId:c=1,connectionCount:u={}}=e;const[d,f]=(0,Ve.useState)(i?i.type:""),[h,p]=(0,Ve.useState)(i),[m,g]=(0,Ve.useState)({}),[y,v]=(0,Ve.useState)(!1),b=(0,Ve.useRef)(null),x=(u[d]||0)+1,w=(0,n.useMemo)((()=>s.find((e=>e.value===d))),[d,s,i]),C=null==w?void 0:w.fields,A=(0,n.useMemo)((()=>null==w?void 0:w.fields.reduce(((e,t)=>(e[t.name]=t.default,e)),{})),[w,i]);(0,Ve.useEffect)((()=>{i&&i.type&&(f(i.type),p(i))}),[i]),(0,Ve.useEffect)((()=>{if(!h||0===Object.keys(h).length){const e=w;if(!e)return;const t=1===x?e.title:"".concat(e.title," (").concat(x-1,")");p(z8(z8({},A),{},{connection_title:t,priority:c}))}}),[d,h,i]);const E=()=>{f(null),p(null),g({})},S=JSON.stringify(h)!==JSON.stringify(i),k=d?(0,He.__)("Connection Details","suremails"):(0,He.__)("New Connection","suremails"),_=d?null!==(t=null==w?void 0:w.description)&&void 0!==t?t:(0,He.__)("Enter the details below to connect with your {providerName} account.","suremails").replace("{providerName}",(null==w?void 0:w.display_name)||d):(0,He.__)("Pick an email provider to ensure your WordPress emails are delivered securely and reliably.","suremails");return React.createElement(NA,{design:"footer-bordered",exitOnEsc:!0,position:"right",scrollLock:!0,transitionDuration:.2,open:r,setOpen:e=>{o(e),e||(f(""),g({}),p({}))},className:"z-999999"},React.createElement(NA.Backdrop,null),React.createElement("form",{ref:b,noValidate:!0},React.createElement(NA.Panel,{className:"w-[34.75rem]"},React.createElement(NA.Header,null,React.createElement("div",{className:"flex items-center justify-between text-text-primary"},React.createElement(NA.Title,null,k),React.createElement(NA.CloseButton,{type:"button",onClick:()=>{E(),o(!1)}})),React.createElement(NA.Description,{className:"text-sm font-normal text-text-secondary"},_)),React.createElement(NA.Body,{className:"overflow-x-hidden"},!l&&d&&React.createElement("div",null,React.createElement(F8,{fields:C,onChange:e=>{const[t,n]=Object.entries(e)[0];p((e=>z8(z8({},e),{},{[t]:n}))),g((e=>z8(z8({},e),{},{[t]:void 0})))},connectionData:h,errors:m,inlineValidator:e=>{if(!e.target)return;const t=e.target.name,n=w;if(!n)return;const{schema:r}=n;try{r.pick({[t]:!0}).parse({[t]:h[t]}),g((e=>z8(z8({},e),{},{[t]:void 0})))}catch(e){g((n=>z8(z8({},n),{},{[t]:e.errors[0].message})))}}})),!l&&!d&&React.createElement(S8,{onSelectProvider:e=>{f(e);const t=w;if(!t)return;const n=1===x?t.title:"".concat(t.title," (").concat(x-1,")");p(z8(z8({},A),{},{connection_title:n,priority:c})),g({})},providers:s}),l&&React.createElement(j8,null)),d&&React.createElement(NA.Footer,null,React.createElement(tn,{onClick:()=>{f(null),p(null),g({})},variant:"outline",icon:React.createElement(A8,null),size:"sm",iconPosition:"left",className:"font-medium",type:"button"},(0,He.__)("Back","suremails")),React.createElement(tn,{variant:"primary",loading:y,icon:y?React.createElement(E8,{className:"animate-spin"}):null,onClick:async()=>{if(!S)return void Op.info((0,He.__)("No changes to save.","suremails"));if(!(()=>{const e=w;if(!e)return!1;const{schema:t}=e;try{return t.parse(h),g({}),!0}catch(e){var n,r;const t={};e.errors.forEach((e=>{t[e.path[0]]=e.message})),g(t);const o=null===(n=e.errors[0])||void 0===n?void 0:n.path[0],i=null===(r=b.current)||void 0===r?void 0:r.querySelector('input[name="'.concat(o,'"]'));return null==i||i.focus(),!1}})())return;const e={settings:h,provider:d.toUpperCase()};v(!0);try{const t=await(async e=>{if(!e||!e.settings||!e.provider)throw new Error((0,He.__)("Invalid payload for testing connection.","suremails"));try{return await _8()({path:"/suremails/v1/test-and-save-email-connection",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(e){throw new Error(e.message||(0,He.__)("There was an issue testing the connection.","suremails"))}})(e);null!=t&&t.success?(Op.success((0,He.__)("Verification successful!","suremails"),{description:(0,He.__)("Connection tested and saved successfully!","suremails")}),o(!1),a(t.connection),E()):Op.error((0,He.__)("Verification Failed!","suremails"),{description:t.message,autoDismiss:!1})}catch(e){Op.error((0,He.__)("Verification Failed!","suremails"),{description:e.message||(0,He.__)("An unexpected error occurred while testing the connection.","suremails"),autoDismiss:!1})}finally{v(!1)}},className:"font-medium",size:"sm",type:"button"},y?(0,He.__)("Testing…","suremails"):(0,He.__)("Save Changes","suremails"))))))};var H8,W8;!function(e){e.assertEqual=e=>e,e.assertIs=function(e){},e.assertNever=function(e){throw new Error},e.arrayToEnum=e=>{const t={};for(const n of e)t[n]=n;return t},e.getValidEnumValues=t=>{const n=e.objectKeys(t).filter((e=>"number"!=typeof t[t[e]])),r={};for(const e of n)r[e]=t[e];return e.objectValues(r)},e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]})),e.objectKeys="function"==typeof Object.keys?e=>Object.keys(e):e=>{const t=[];for(const n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.push(n);return t},e.find=(e,t)=>{for(const n of e)if(t(n))return n},e.isInteger="function"==typeof Number.isInteger?e=>Number.isInteger(e):e=>"number"==typeof e&&isFinite(e)&&Math.floor(e)===e,e.joinValues=function(e,t=" | "){return e.map((e=>"string"==typeof e?`'${e}'`:e)).join(t)},e.jsonStringifyReplacer=(e,t)=>"bigint"==typeof t?t.toString():t}(H8||(H8={})),function(e){e.mergeShapes=(e,t)=>({...e,...t})}(W8||(W8={}));const U8=H8.arrayToEnum(["string","nan","number","integer","float","boolean","date","bigint","symbol","function","undefined","null","array","object","unknown","promise","void","never","map","set"]),Z8=e=>{switch(typeof e){case"undefined":return U8.undefined;case"string":return U8.string;case"number":return isNaN(e)?U8.nan:U8.number;case"boolean":return U8.boolean;case"function":return U8.function;case"bigint":return U8.bigint;case"symbol":return U8.symbol;case"object":return Array.isArray(e)?U8.array:null===e?U8.null:e.then&&"function"==typeof e.then&&e.catch&&"function"==typeof e.catch?U8.promise:"undefined"!=typeof Map&&e instanceof Map?U8.map:"undefined"!=typeof Set&&e instanceof Set?U8.set:"undefined"!=typeof Date&&e instanceof Date?U8.date:U8.object;default:return U8.unknown}},q8=H8.arrayToEnum(["invalid_type","invalid_literal","custom","invalid_union","invalid_union_discriminator","invalid_enum_value","unrecognized_keys","invalid_arguments","invalid_return_type","invalid_date","invalid_string","too_small","too_big","invalid_intersection_types","not_multiple_of","not_finite"]);class Y8 extends Error{get errors(){return this.issues}constructor(e){super(),this.issues=[],this.addIssue=e=>{this.issues=[...this.issues,e]},this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;Object.setPrototypeOf?Object.setPrototypeOf(this,t):this.__proto__=t,this.name="ZodError",this.issues=e}format(e){const t=e||function(e){return e.message},n={_errors:[]},r=e=>{for(const o of e.issues)if("invalid_union"===o.code)o.unionErrors.map(r);else if("invalid_return_type"===o.code)r(o.returnTypeError);else if("invalid_arguments"===o.code)r(o.argumentsError);else if(0===o.path.length)n._errors.push(t(o));else{let e=n,r=0;for(;r<o.path.length;){const n=o.path[r];r===o.path.length-1?(e[n]=e[n]||{_errors:[]},e[n]._errors.push(t(o))):e[n]=e[n]||{_errors:[]},e=e[n],r++}}};return r(this),n}static assert(e){if(!(e instanceof Y8))throw new Error(`Not a ZodError: ${e}`)}toString(){return this.message}get message(){return JSON.stringify(this.issues,H8.jsonStringifyReplacer,2)}get isEmpty(){return 0===this.issues.length}flatten(e=e=>e.message){const t={},n=[];for(const r of this.issues)r.path.length>0?(t[r.path[0]]=t[r.path[0]]||[],t[r.path[0]].push(e(r))):n.push(e(r));return{formErrors:n,fieldErrors:t}}get formErrors(){return this.flatten()}}Y8.create=e=>new Y8(e);const K8=(e,t)=>{let n;switch(e.code){case q8.invalid_type:n=e.received===U8.undefined?"Required":`Expected ${e.expected}, received ${e.received}`;break;case q8.invalid_literal:n=`Invalid literal value, expected ${JSON.stringify(e.expected,H8.jsonStringifyReplacer)}`;break;case q8.unrecognized_keys:n=`Unrecognized key(s) in object: ${H8.joinValues(e.keys,", ")}`;break;case q8.invalid_union:n="Invalid input";break;case q8.invalid_union_discriminator:n=`Invalid discriminator value. Expected ${H8.joinValues(e.options)}`;break;case q8.invalid_enum_value:n=`Invalid enum value. Expected ${H8.joinValues(e.options)}, received '${e.received}'`;break;case q8.invalid_arguments:n="Invalid function arguments";break;case q8.invalid_return_type:n="Invalid function return type";break;case q8.invalid_date:n="Invalid date";break;case q8.invalid_string:"object"==typeof e.validation?"includes"in e.validation?(n=`Invalid input: must include "${e.validation.includes}"`,"number"==typeof e.validation.position&&(n=`${n} at one or more positions greater than or equal to ${e.validation.position}`)):"startsWith"in e.validation?n=`Invalid input: must start with "${e.validation.startsWith}"`:"endsWith"in e.validation?n=`Invalid input: must end with "${e.validation.endsWith}"`:H8.assertNever(e.validation):n="regex"!==e.validation?`Invalid ${e.validation}`:"Invalid";break;case q8.too_small:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at least":"more than"} ${e.minimum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at least":"over"} ${e.minimum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${e.minimum}`:"date"===e.type?`Date must be ${e.exact?"exactly equal to ":e.inclusive?"greater than or equal to ":"greater than "}${new Date(Number(e.minimum))}`:"Invalid input";break;case q8.too_big:n="array"===e.type?`Array must contain ${e.exact?"exactly":e.inclusive?"at most":"less than"} ${e.maximum} element(s)`:"string"===e.type?`String must contain ${e.exact?"exactly":e.inclusive?"at most":"under"} ${e.maximum} character(s)`:"number"===e.type?`Number must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"bigint"===e.type?`BigInt must be ${e.exact?"exactly":e.inclusive?"less than or equal to":"less than"} ${e.maximum}`:"date"===e.type?`Date must be ${e.exact?"exactly":e.inclusive?"smaller than or equal to":"smaller than"} ${new Date(Number(e.maximum))}`:"Invalid input";break;case q8.custom:n="Invalid input";break;case q8.invalid_intersection_types:n="Intersection results could not be merged";break;case q8.not_multiple_of:n=`Number must be a multiple of ${e.multipleOf}`;break;case q8.not_finite:n="Number must be finite";break;default:n=t.defaultError,H8.assertNever(e)}return{message:n}};let Q8=K8;function G8(){return Q8}const X8=e=>{const{data:t,path:n,errorMaps:r,issueData:o}=e,i=[...n,...o.path||[]],a={...o,path:i};if(void 0!==o.message)return{...o,path:i,message:o.message};let s="";const l=r.filter((e=>!!e)).slice().reverse();for(const e of l)s=e(a,{data:t,defaultError:s}).message;return{...o,path:i,message:s}};function J8(e,t){const n=G8(),r=X8({issueData:t,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,n,n===K8?void 0:K8].filter((e=>!!e))});e.common.issues.push(r)}class $8{constructor(){this.value="valid"}dirty(){"valid"===this.value&&(this.value="dirty")}abort(){"aborted"!==this.value&&(this.value="aborted")}static mergeArray(e,t){const n=[];for(const r of t){if("aborted"===r.status)return e6;"dirty"===r.status&&e.dirty(),n.push(r.value)}return{status:e.value,value:n}}static async mergeObjectAsync(e,t){const n=[];for(const e of t){const t=await e.key,r=await e.value;n.push({key:t,value:r})}return $8.mergeObjectSync(e,n)}static mergeObjectSync(e,t){const n={};for(const r of t){const{key:t,value:o}=r;if("aborted"===t.status)return e6;if("aborted"===o.status)return e6;"dirty"===t.status&&e.dirty(),"dirty"===o.status&&e.dirty(),"__proto__"===t.value||void 0===o.value&&!r.alwaysSet||(n[t.value]=o.value)}return{status:e.value,value:n}}}const e6=Object.freeze({status:"aborted"}),t6=e=>({status:"dirty",value:e}),n6=e=>({status:"valid",value:e}),r6=e=>"aborted"===e.status,o6=e=>"dirty"===e.status,i6=e=>"valid"===e.status,a6=e=>"undefined"!=typeof Promise&&e instanceof Promise;function s6(e,t,n,r){if("a"===n&&!r)throw new TypeError("Private accessor was defined without a getter");if("function"==typeof t?e!==t||!r:!t.has(e))throw new TypeError("Cannot read private member from an object whose class did not declare it");return"m"===n?r:"a"===n?r.call(e):r?r.value:t.get(e)}function l6(e,t,n,r,o){if("m"===r)throw new TypeError("Private method is not writable");if("a"===r&&!o)throw new TypeError("Private accessor was defined without a setter");if("function"==typeof t?e!==t||!o:!t.has(e))throw new TypeError("Cannot write private member to an object whose class did not declare it");return"a"===r?o.call(e,n):o?o.value=n:t.set(e,n),n}var c6,u6,d6;"function"==typeof SuppressedError&&SuppressedError,function(e){e.errToObj=e=>"string"==typeof e?{message:e}:e||{},e.toString=e=>"string"==typeof e?e:null==e?void 0:e.message}(c6||(c6={}));class f6{constructor(e,t,n,r){this._cachedPath=[],this.parent=e,this.data=t,this._path=n,this._key=r}get path(){return this._cachedPath.length||(this._key instanceof Array?this._cachedPath.push(...this._path,...this._key):this._cachedPath.push(...this._path,this._key)),this._cachedPath}}const h6=(e,t)=>{if(i6(t))return{success:!0,data:t.value};if(!e.common.issues.length)throw new Error("Validation failed but no issues detected.");return{success:!1,get error(){if(this._error)return this._error;const t=new Y8(e.common.issues);return this._error=t,this._error}}};function p6(e){if(!e)return{};const{errorMap:t,invalid_type_error:n,required_error:r,description:o}=e;if(t&&(n||r))throw new Error('Can\'t use "invalid_type_error" or "required_error" in conjunction with custom error map.');return t?{errorMap:t,description:o}:{errorMap:(t,o)=>{var i,a;const{message:s}=e;return"invalid_enum_value"===t.code?{message:null!=s?s:o.defaultError}:void 0===o.data?{message:null!==(i=null!=s?s:r)&&void 0!==i?i:o.defaultError}:"invalid_type"!==t.code?{message:o.defaultError}:{message:null!==(a=null!=s?s:n)&&void 0!==a?a:o.defaultError}},description:o}}class m6{get description(){return this._def.description}_getType(e){return Z8(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:Z8(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new $8,ctx:{common:e.parent.common,data:e.data,parsedType:Z8(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if(a6(t))throw new Error("Synchronous parse encountered promise.");return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const n=this.safeParse(e,t);if(n.success)return n.data;throw n.error}safeParse(e,t){var n;const r={common:{issues:[],async:null!==(n=null==t?void 0:t.async)&&void 0!==n&&n,contextualErrorMap:null==t?void 0:t.errorMap},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Z8(e)},o=this._parseSync({data:e,path:r.path,parent:r});return h6(r,o)}"~validate"(e){var t,n;const r={common:{issues:[],async:!!this["~standard"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Z8(e)};if(!this["~standard"].async)try{const t=this._parseSync({data:e,path:[],parent:r});return i6(t)?{value:t.value}:{issues:r.common.issues}}catch(e){(null===(n=null===(t=null==e?void 0:e.message)||void 0===t?void 0:t.toLowerCase())||void 0===n?void 0:n.includes("encountered"))&&(this["~standard"].async=!0),r.common={issues:[],async:!0}}return this._parseAsync({data:e,path:[],parent:r}).then((e=>i6(e)?{value:e.value}:{issues:r.common.issues}))}async parseAsync(e,t){const n=await this.safeParseAsync(e,t);if(n.success)return n.data;throw n.error}async safeParseAsync(e,t){const n={common:{issues:[],contextualErrorMap:null==t?void 0:t.errorMap,async:!0},path:(null==t?void 0:t.path)||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:Z8(e)},r=this._parse({data:e,path:n.path,parent:n}),o=await(a6(r)?r:Promise.resolve(r));return h6(n,o)}refine(e,t){const n=e=>"string"==typeof t||void 0===t?{message:t}:"function"==typeof t?t(e):t;return this._refinement(((t,r)=>{const o=e(t),i=()=>r.addIssue({code:q8.custom,...n(t)});return"undefined"!=typeof Promise&&o instanceof Promise?o.then((e=>!!e||(i(),!1))):!!o||(i(),!1)}))}refinement(e,t){return this._refinement(((n,r)=>!!e(n)||(r.addIssue("function"==typeof t?t(n,r):t),!1)))}_refinement(e){return new y5({schema:this,typeName:R5.ZodEffects,effect:{type:"refinement",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync,this._def=e,this.parse=this.parse.bind(this),this.safeParse=this.safeParse.bind(this),this.parseAsync=this.parseAsync.bind(this),this.safeParseAsync=this.safeParseAsync.bind(this),this.spa=this.spa.bind(this),this.refine=this.refine.bind(this),this.refinement=this.refinement.bind(this),this.superRefine=this.superRefine.bind(this),this.optional=this.optional.bind(this),this.nullable=this.nullable.bind(this),this.nullish=this.nullish.bind(this),this.array=this.array.bind(this),this.promise=this.promise.bind(this),this.or=this.or.bind(this),this.and=this.and.bind(this),this.transform=this.transform.bind(this),this.brand=this.brand.bind(this),this.default=this.default.bind(this),this.catch=this.catch.bind(this),this.describe=this.describe.bind(this),this.pipe=this.pipe.bind(this),this.readonly=this.readonly.bind(this),this.isNullable=this.isNullable.bind(this),this.isOptional=this.isOptional.bind(this),this["~standard"]={version:1,vendor:"zod",validate:e=>this["~validate"](e)}}optional(){return v5.create(this,this._def)}nullable(){return b5.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return J6.create(this)}promise(){return g5.create(this,this._def)}or(e){return t5.create([this,e],this._def)}and(e){return i5.create(this,e,this._def)}transform(e){return new y5({...p6(this._def),schema:this,typeName:R5.ZodEffects,effect:{type:"transform",transform:e}})}default(e){const t="function"==typeof e?e:()=>e;return new x5({...p6(this._def),innerType:this,defaultValue:t,typeName:R5.ZodDefault})}brand(){return new E5({typeName:R5.ZodBranded,type:this,...p6(this._def)})}catch(e){const t="function"==typeof e?e:()=>e;return new w5({...p6(this._def),innerType:this,catchValue:t,typeName:R5.ZodCatch})}describe(e){return new(0,this.constructor)({...this._def,description:e})}pipe(e){return S5.create(this,e)}readonly(){return k5.create(this)}isOptional(){return this.safeParse(void 0).success}isNullable(){return this.safeParse(null).success}}const g6=/^c[^\s-]{8,}$/i,y6=/^[0-9a-z]+$/,v6=/^[0-9A-HJKMNP-TV-Z]{26}$/i,b6=/^[0-9a-fA-F]{8}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{4}\b-[0-9a-fA-F]{12}$/i,x6=/^[a-z0-9_-]{21}$/i,w6=/^[A-Za-z0-9-_]+\.[A-Za-z0-9-_]+\.[A-Za-z0-9-_]*$/,C6=/^[-+]?P(?!$)(?:(?:[-+]?\d+Y)|(?:[-+]?\d+[.,]\d+Y$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:(?:[-+]?\d+W)|(?:[-+]?\d+[.,]\d+W$))?(?:(?:[-+]?\d+D)|(?:[-+]?\d+[.,]\d+D$))?(?:T(?=[\d+-])(?:(?:[-+]?\d+H)|(?:[-+]?\d+[.,]\d+H$))?(?:(?:[-+]?\d+M)|(?:[-+]?\d+[.,]\d+M$))?(?:[-+]?\d+(?:[.,]\d+)?S)?)??$/,A6=/^(?!\.)(?!.*\.\.)([A-Z0-9_'+\-\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\-]*\.)+[A-Z]{2,}$/i;let E6;const S6=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/,k6=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\/(3[0-2]|[12]?[0-9])$/,_6=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))$/,O6=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff(:0{1,4}){0,1}:){0,1}((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])|([0-9a-fA-F]{1,4}:){1,4}:((25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9])\.){3,3}(25[0-5]|(2[0-4]|1{0,1}[0-9]){0,1}[0-9]))\/(12[0-8]|1[01][0-9]|[1-9]?[0-9])$/,R6=/^([0-9a-zA-Z+/]{4})*(([0-9a-zA-Z+/]{2}==)|([0-9a-zA-Z+/]{3}=))?$/,P6=/^([0-9a-zA-Z-_]{4})*(([0-9a-zA-Z-_]{2}(==)?)|([0-9a-zA-Z-_]{3}(=)?))?$/,j6="((\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\d|30)|(02)-(0[1-9]|1\\d|2[0-8])))",T6=new RegExp(`^${j6}$`);function M6(e){let t="([01]\\d|2[0-3]):[0-5]\\d:[0-5]\\d";return e.precision?t=`${t}\\.\\d{${e.precision}}`:null==e.precision&&(t=`${t}(\\.\\d+)?`),t}function N6(e){return new RegExp(`^${M6(e)}$`)}function L6(e){let t=`${j6}T${M6(e)}`;const n=[];return n.push(e.local?"Z?":"Z"),e.offset&&n.push("([+-]\\d{2}:?\\d{2})"),t=`${t}(${n.join("|")})`,new RegExp(`^${t}$`)}function D6(e,t){return!("v4"!==t&&t||!S6.test(e))||!("v6"!==t&&t||!_6.test(e))}function I6(e,t){if(!w6.test(e))return!1;try{const[n]=e.split("."),r=n.replace(/-/g,"+").replace(/_/g,"/").padEnd(n.length+(4-n.length%4)%4,"="),o=JSON.parse(atob(r));return!("object"!=typeof o||null===o||!o.typ||!o.alg||t&&o.alg!==t)}catch(e){return!1}}function F6(e,t){return!("v4"!==t&&t||!k6.test(e))||!("v6"!==t&&t||!O6.test(e))}class B6 extends m6{_parse(e){if(this._def.coerce&&(e.data=String(e.data)),this._getType(e)!==U8.string){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.string,received:t.parsedType}),e6}const t=new $8;let n;for(const r of this._def.checks)if("min"===r.kind)e.data.length<r.value&&(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("max"===r.kind)e.data.length>r.value&&(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!1,message:r.message}),t.dirty());else if("length"===r.kind){const o=e.data.length>r.value,i=e.data.length<r.value;(o||i)&&(n=this._getOrReturnCtx(e,n),o?J8(n,{code:q8.too_big,maximum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}):i&&J8(n,{code:q8.too_small,minimum:r.value,type:"string",inclusive:!0,exact:!0,message:r.message}),t.dirty())}else if("email"===r.kind)A6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"email",code:q8.invalid_string,message:r.message}),t.dirty());else if("emoji"===r.kind)E6||(E6=new RegExp("^(\\p{Extended_Pictographic}|\\p{Emoji_Component})+$","u")),E6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"emoji",code:q8.invalid_string,message:r.message}),t.dirty());else if("uuid"===r.kind)b6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"uuid",code:q8.invalid_string,message:r.message}),t.dirty());else if("nanoid"===r.kind)x6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"nanoid",code:q8.invalid_string,message:r.message}),t.dirty());else if("cuid"===r.kind)g6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"cuid",code:q8.invalid_string,message:r.message}),t.dirty());else if("cuid2"===r.kind)y6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"cuid2",code:q8.invalid_string,message:r.message}),t.dirty());else if("ulid"===r.kind)v6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"ulid",code:q8.invalid_string,message:r.message}),t.dirty());else if("url"===r.kind)try{new URL(e.data)}catch(o){n=this._getOrReturnCtx(e,n),J8(n,{validation:"url",code:q8.invalid_string,message:r.message}),t.dirty()}else"regex"===r.kind?(r.regex.lastIndex=0,r.regex.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"regex",code:q8.invalid_string,message:r.message}),t.dirty())):"trim"===r.kind?e.data=e.data.trim():"includes"===r.kind?e.data.includes(r.value,r.position)||(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.invalid_string,validation:{includes:r.value,position:r.position},message:r.message}),t.dirty()):"toLowerCase"===r.kind?e.data=e.data.toLowerCase():"toUpperCase"===r.kind?e.data=e.data.toUpperCase():"startsWith"===r.kind?e.data.startsWith(r.value)||(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.invalid_string,validation:{startsWith:r.value},message:r.message}),t.dirty()):"endsWith"===r.kind?e.data.endsWith(r.value)||(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.invalid_string,validation:{endsWith:r.value},message:r.message}),t.dirty()):"datetime"===r.kind?L6(r).test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.invalid_string,validation:"datetime",message:r.message}),t.dirty()):"date"===r.kind?T6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.invalid_string,validation:"date",message:r.message}),t.dirty()):"time"===r.kind?N6(r).test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.invalid_string,validation:"time",message:r.message}),t.dirty()):"duration"===r.kind?C6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"duration",code:q8.invalid_string,message:r.message}),t.dirty()):"ip"===r.kind?D6(e.data,r.version)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"ip",code:q8.invalid_string,message:r.message}),t.dirty()):"jwt"===r.kind?I6(e.data,r.alg)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"jwt",code:q8.invalid_string,message:r.message}),t.dirty()):"cidr"===r.kind?F6(e.data,r.version)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"cidr",code:q8.invalid_string,message:r.message}),t.dirty()):"base64"===r.kind?R6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"base64",code:q8.invalid_string,message:r.message}),t.dirty()):"base64url"===r.kind?P6.test(e.data)||(n=this._getOrReturnCtx(e,n),J8(n,{validation:"base64url",code:q8.invalid_string,message:r.message}),t.dirty()):H8.assertNever(r);return{status:t.value,value:e.data}}_regex(e,t,n){return this.refinement((t=>e.test(t)),{validation:t,code:q8.invalid_string,...c6.errToObj(n)})}_addCheck(e){return new B6({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:"email",...c6.errToObj(e)})}url(e){return this._addCheck({kind:"url",...c6.errToObj(e)})}emoji(e){return this._addCheck({kind:"emoji",...c6.errToObj(e)})}uuid(e){return this._addCheck({kind:"uuid",...c6.errToObj(e)})}nanoid(e){return this._addCheck({kind:"nanoid",...c6.errToObj(e)})}cuid(e){return this._addCheck({kind:"cuid",...c6.errToObj(e)})}cuid2(e){return this._addCheck({kind:"cuid2",...c6.errToObj(e)})}ulid(e){return this._addCheck({kind:"ulid",...c6.errToObj(e)})}base64(e){return this._addCheck({kind:"base64",...c6.errToObj(e)})}base64url(e){return this._addCheck({kind:"base64url",...c6.errToObj(e)})}jwt(e){return this._addCheck({kind:"jwt",...c6.errToObj(e)})}ip(e){return this._addCheck({kind:"ip",...c6.errToObj(e)})}cidr(e){return this._addCheck({kind:"cidr",...c6.errToObj(e)})}datetime(e){var t,n;return"string"==typeof e?this._addCheck({kind:"datetime",precision:null,offset:!1,local:!1,message:e}):this._addCheck({kind:"datetime",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,offset:null!==(t=null==e?void 0:e.offset)&&void 0!==t&&t,local:null!==(n=null==e?void 0:e.local)&&void 0!==n&&n,...c6.errToObj(null==e?void 0:e.message)})}date(e){return this._addCheck({kind:"date",message:e})}time(e){return"string"==typeof e?this._addCheck({kind:"time",precision:null,message:e}):this._addCheck({kind:"time",precision:void 0===(null==e?void 0:e.precision)?null:null==e?void 0:e.precision,...c6.errToObj(null==e?void 0:e.message)})}duration(e){return this._addCheck({kind:"duration",...c6.errToObj(e)})}regex(e,t){return this._addCheck({kind:"regex",regex:e,...c6.errToObj(t)})}includes(e,t){return this._addCheck({kind:"includes",value:e,position:null==t?void 0:t.position,...c6.errToObj(null==t?void 0:t.message)})}startsWith(e,t){return this._addCheck({kind:"startsWith",value:e,...c6.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:"endsWith",value:e,...c6.errToObj(t)})}min(e,t){return this._addCheck({kind:"min",value:e,...c6.errToObj(t)})}max(e,t){return this._addCheck({kind:"max",value:e,...c6.errToObj(t)})}length(e,t){return this._addCheck({kind:"length",value:e,...c6.errToObj(t)})}nonempty(e){return this.min(1,c6.errToObj(e))}trim(){return new B6({...this._def,checks:[...this._def.checks,{kind:"trim"}]})}toLowerCase(){return new B6({...this._def,checks:[...this._def.checks,{kind:"toLowerCase"}]})}toUpperCase(){return new B6({...this._def,checks:[...this._def.checks,{kind:"toUpperCase"}]})}get isDatetime(){return!!this._def.checks.find((e=>"datetime"===e.kind))}get isDate(){return!!this._def.checks.find((e=>"date"===e.kind))}get isTime(){return!!this._def.checks.find((e=>"time"===e.kind))}get isDuration(){return!!this._def.checks.find((e=>"duration"===e.kind))}get isEmail(){return!!this._def.checks.find((e=>"email"===e.kind))}get isURL(){return!!this._def.checks.find((e=>"url"===e.kind))}get isEmoji(){return!!this._def.checks.find((e=>"emoji"===e.kind))}get isUUID(){return!!this._def.checks.find((e=>"uuid"===e.kind))}get isNANOID(){return!!this._def.checks.find((e=>"nanoid"===e.kind))}get isCUID(){return!!this._def.checks.find((e=>"cuid"===e.kind))}get isCUID2(){return!!this._def.checks.find((e=>"cuid2"===e.kind))}get isULID(){return!!this._def.checks.find((e=>"ulid"===e.kind))}get isIP(){return!!this._def.checks.find((e=>"ip"===e.kind))}get isCIDR(){return!!this._def.checks.find((e=>"cidr"===e.kind))}get isBase64(){return!!this._def.checks.find((e=>"base64"===e.kind))}get isBase64url(){return!!this._def.checks.find((e=>"base64url"===e.kind))}get minLength(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxLength(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}function z6(e,t){const n=(e.toString().split(".")[1]||"").length,r=(t.toString().split(".")[1]||"").length,o=n>r?n:r;return parseInt(e.toFixed(o).replace(".",""))%parseInt(t.toFixed(o).replace(".",""))/Math.pow(10,o)}B6.create=e=>{var t;return new B6({checks:[],typeName:R5.ZodString,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...p6(e)})};class V6 extends m6{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte,this.step=this.multipleOf}_parse(e){if(this._def.coerce&&(e.data=Number(e.data)),this._getType(e)!==U8.number){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.number,received:t.parsedType}),e6}let t;const n=new $8;for(const r of this._def.checks)"int"===r.kind?H8.isInteger(e.data)||(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.invalid_type,expected:"integer",received:"float",message:r.message}),n.dirty()):"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.too_small,minimum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.too_big,maximum:r.value,type:"number",inclusive:r.inclusive,exact:!1,message:r.message}),n.dirty()):"multipleOf"===r.kind?0!==z6(e.data,r.value)&&(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):"finite"===r.kind?Number.isFinite(e.data)||(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.not_finite,message:r.message}),n.dirty()):H8.assertNever(r);return{status:n.value,value:e.data}}gte(e,t){return this.setLimit("min",e,!0,c6.toString(t))}gt(e,t){return this.setLimit("min",e,!1,c6.toString(t))}lte(e,t){return this.setLimit("max",e,!0,c6.toString(t))}lt(e,t){return this.setLimit("max",e,!1,c6.toString(t))}setLimit(e,t,n,r){return new V6({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:c6.toString(r)}]})}_addCheck(e){return new V6({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:"int",message:c6.toString(e)})}positive(e){return this._addCheck({kind:"min",value:0,inclusive:!1,message:c6.toString(e)})}negative(e){return this._addCheck({kind:"max",value:0,inclusive:!1,message:c6.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:0,inclusive:!0,message:c6.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:0,inclusive:!0,message:c6.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:c6.toString(t)})}finite(e){return this._addCheck({kind:"finite",message:c6.toString(e)})}safe(e){return this._addCheck({kind:"min",inclusive:!0,value:Number.MIN_SAFE_INTEGER,message:c6.toString(e)})._addCheck({kind:"max",inclusive:!0,value:Number.MAX_SAFE_INTEGER,message:c6.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}get isInt(){return!!this._def.checks.find((e=>"int"===e.kind||"multipleOf"===e.kind&&H8.isInteger(e.value)))}get isFinite(){let e=null,t=null;for(const n of this._def.checks){if("finite"===n.kind||"int"===n.kind||"multipleOf"===n.kind)return!0;"min"===n.kind?(null===t||n.value>t)&&(t=n.value):"max"===n.kind&&(null===e||n.value<e)&&(e=n.value)}return Number.isFinite(t)&&Number.isFinite(e)}}V6.create=e=>new V6({checks:[],typeName:R5.ZodNumber,coerce:(null==e?void 0:e.coerce)||!1,...p6(e)});class H6 extends m6{constructor(){super(...arguments),this.min=this.gte,this.max=this.lte}_parse(e){if(this._def.coerce)try{e.data=BigInt(e.data)}catch(t){return this._getInvalidInput(e)}if(this._getType(e)!==U8.bigint)return this._getInvalidInput(e);let t;const n=new $8;for(const r of this._def.checks)"min"===r.kind?(r.inclusive?e.data<r.value:e.data<=r.value)&&(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.too_small,type:"bigint",minimum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"max"===r.kind?(r.inclusive?e.data>r.value:e.data>=r.value)&&(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.too_big,type:"bigint",maximum:r.value,inclusive:r.inclusive,message:r.message}),n.dirty()):"multipleOf"===r.kind?e.data%r.value!==BigInt(0)&&(t=this._getOrReturnCtx(e,t),J8(t,{code:q8.not_multiple_of,multipleOf:r.value,message:r.message}),n.dirty()):H8.assertNever(r);return{status:n.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.bigint,received:t.parsedType}),e6}gte(e,t){return this.setLimit("min",e,!0,c6.toString(t))}gt(e,t){return this.setLimit("min",e,!1,c6.toString(t))}lte(e,t){return this.setLimit("max",e,!0,c6.toString(t))}lt(e,t){return this.setLimit("max",e,!1,c6.toString(t))}setLimit(e,t,n,r){return new H6({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:n,message:c6.toString(r)}]})}_addCheck(e){return new H6({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!1,message:c6.toString(e)})}negative(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!1,message:c6.toString(e)})}nonpositive(e){return this._addCheck({kind:"max",value:BigInt(0),inclusive:!0,message:c6.toString(e)})}nonnegative(e){return this._addCheck({kind:"min",value:BigInt(0),inclusive:!0,message:c6.toString(e)})}multipleOf(e,t){return this._addCheck({kind:"multipleOf",value:e,message:c6.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return e}get maxValue(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return e}}H6.create=e=>{var t;return new H6({checks:[],typeName:R5.ZodBigInt,coerce:null!==(t=null==e?void 0:e.coerce)&&void 0!==t&&t,...p6(e)})};class W6 extends m6{_parse(e){if(this._def.coerce&&(e.data=Boolean(e.data)),this._getType(e)!==U8.boolean){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.boolean,received:t.parsedType}),e6}return n6(e.data)}}W6.create=e=>new W6({typeName:R5.ZodBoolean,coerce:(null==e?void 0:e.coerce)||!1,...p6(e)});class U6 extends m6{_parse(e){if(this._def.coerce&&(e.data=new Date(e.data)),this._getType(e)!==U8.date){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.date,received:t.parsedType}),e6}if(isNaN(e.data.getTime()))return J8(this._getOrReturnCtx(e),{code:q8.invalid_date}),e6;const t=new $8;let n;for(const r of this._def.checks)"min"===r.kind?e.data.getTime()<r.value&&(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.too_small,message:r.message,inclusive:!0,exact:!1,minimum:r.value,type:"date"}),t.dirty()):"max"===r.kind?e.data.getTime()>r.value&&(n=this._getOrReturnCtx(e,n),J8(n,{code:q8.too_big,message:r.message,inclusive:!0,exact:!1,maximum:r.value,type:"date"}),t.dirty()):H8.assertNever(r);return{status:t.value,value:new Date(e.data.getTime())}}_addCheck(e){return new U6({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:"min",value:e.getTime(),message:c6.toString(t)})}max(e,t){return this._addCheck({kind:"max",value:e.getTime(),message:c6.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks)"min"===t.kind&&(null===e||t.value>e)&&(e=t.value);return null!=e?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks)"max"===t.kind&&(null===e||t.value<e)&&(e=t.value);return null!=e?new Date(e):null}}U6.create=e=>new U6({checks:[],coerce:(null==e?void 0:e.coerce)||!1,typeName:R5.ZodDate,...p6(e)});class Z6 extends m6{_parse(e){if(this._getType(e)!==U8.symbol){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.symbol,received:t.parsedType}),e6}return n6(e.data)}}Z6.create=e=>new Z6({typeName:R5.ZodSymbol,...p6(e)});class q6 extends m6{_parse(e){if(this._getType(e)!==U8.undefined){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.undefined,received:t.parsedType}),e6}return n6(e.data)}}q6.create=e=>new q6({typeName:R5.ZodUndefined,...p6(e)});class Y6 extends m6{_parse(e){if(this._getType(e)!==U8.null){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.null,received:t.parsedType}),e6}return n6(e.data)}}Y6.create=e=>new Y6({typeName:R5.ZodNull,...p6(e)});class K6 extends m6{constructor(){super(...arguments),this._any=!0}_parse(e){return n6(e.data)}}K6.create=e=>new K6({typeName:R5.ZodAny,...p6(e)});class Q6 extends m6{constructor(){super(...arguments),this._unknown=!0}_parse(e){return n6(e.data)}}Q6.create=e=>new Q6({typeName:R5.ZodUnknown,...p6(e)});class G6 extends m6{_parse(e){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.never,received:t.parsedType}),e6}}G6.create=e=>new G6({typeName:R5.ZodNever,...p6(e)});class X6 extends m6{_parse(e){if(this._getType(e)!==U8.undefined){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.void,received:t.parsedType}),e6}return n6(e.data)}}X6.create=e=>new X6({typeName:R5.ZodVoid,...p6(e)});class J6 extends m6{_parse(e){const{ctx:t,status:n}=this._processInputParams(e),r=this._def;if(t.parsedType!==U8.array)return J8(t,{code:q8.invalid_type,expected:U8.array,received:t.parsedType}),e6;if(null!==r.exactLength){const e=t.data.length>r.exactLength.value,o=t.data.length<r.exactLength.value;(e||o)&&(J8(t,{code:e?q8.too_big:q8.too_small,minimum:o?r.exactLength.value:void 0,maximum:e?r.exactLength.value:void 0,type:"array",inclusive:!0,exact:!0,message:r.exactLength.message}),n.dirty())}if(null!==r.minLength&&t.data.length<r.minLength.value&&(J8(t,{code:q8.too_small,minimum:r.minLength.value,type:"array",inclusive:!0,exact:!1,message:r.minLength.message}),n.dirty()),null!==r.maxLength&&t.data.length>r.maxLength.value&&(J8(t,{code:q8.too_big,maximum:r.maxLength.value,type:"array",inclusive:!0,exact:!1,message:r.maxLength.message}),n.dirty()),t.common.async)return Promise.all([...t.data].map(((e,n)=>r.type._parseAsync(new f6(t,e,t.path,n))))).then((e=>$8.mergeArray(n,e)));const o=[...t.data].map(((e,n)=>r.type._parseSync(new f6(t,e,t.path,n))));return $8.mergeArray(n,o)}get element(){return this._def.type}min(e,t){return new J6({...this._def,minLength:{value:e,message:c6.toString(t)}})}max(e,t){return new J6({...this._def,maxLength:{value:e,message:c6.toString(t)}})}length(e,t){return new J6({...this._def,exactLength:{value:e,message:c6.toString(t)}})}nonempty(e){return this.min(1,e)}}function $6(e){if(e instanceof e5){const t={};for(const n in e.shape){const r=e.shape[n];t[n]=v5.create($6(r))}return new e5({...e._def,shape:()=>t})}return e instanceof J6?new J6({...e._def,type:$6(e.element)}):e instanceof v5?v5.create($6(e.unwrap())):e instanceof b5?b5.create($6(e.unwrap())):e instanceof a5?a5.create(e.items.map((e=>$6(e)))):e}J6.create=(e,t)=>new J6({type:e,minLength:null,maxLength:null,exactLength:null,typeName:R5.ZodArray,...p6(t)});class e5 extends m6{constructor(){super(...arguments),this._cached=null,this.nonstrict=this.passthrough,this.augment=this.extend}_getCached(){if(null!==this._cached)return this._cached;const e=this._def.shape(),t=H8.objectKeys(e);return this._cached={shape:e,keys:t}}_parse(e){if(this._getType(e)!==U8.object){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.object,received:t.parsedType}),e6}const{status:t,ctx:n}=this._processInputParams(e),{shape:r,keys:o}=this._getCached(),i=[];if(!(this._def.catchall instanceof G6&&"strip"===this._def.unknownKeys))for(const e in n.data)o.includes(e)||i.push(e);const a=[];for(const e of o){const t=r[e],o=n.data[e];a.push({key:{status:"valid",value:e},value:t._parse(new f6(n,o,n.path,e)),alwaysSet:e in n.data})}if(this._def.catchall instanceof G6){const e=this._def.unknownKeys;if("passthrough"===e)for(const e of i)a.push({key:{status:"valid",value:e},value:{status:"valid",value:n.data[e]}});else if("strict"===e)i.length>0&&(J8(n,{code:q8.unrecognized_keys,keys:i}),t.dirty());else if("strip"!==e)throw new Error("Internal ZodObject error: invalid unknownKeys value.")}else{const e=this._def.catchall;for(const t of i){const r=n.data[t];a.push({key:{status:"valid",value:t},value:e._parse(new f6(n,r,n.path,t)),alwaysSet:t in n.data})}}return n.common.async?Promise.resolve().then((async()=>{const e=[];for(const t of a){const n=await t.key,r=await t.value;e.push({key:n,value:r,alwaysSet:t.alwaysSet})}return e})).then((e=>$8.mergeObjectSync(t,e))):$8.mergeObjectSync(t,a)}get shape(){return this._def.shape()}strict(e){return c6.errToObj,new e5({...this._def,unknownKeys:"strict",...void 0!==e?{errorMap:(t,n)=>{var r,o,i,a;const s=null!==(i=null===(o=(r=this._def).errorMap)||void 0===o?void 0:o.call(r,t,n).message)&&void 0!==i?i:n.defaultError;return"unrecognized_keys"===t.code?{message:null!==(a=c6.errToObj(e).message)&&void 0!==a?a:s}:{message:s}}}:{}})}strip(){return new e5({...this._def,unknownKeys:"strip"})}passthrough(){return new e5({...this._def,unknownKeys:"passthrough"})}extend(e){return new e5({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){return new e5({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:R5.ZodObject})}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new e5({...this._def,catchall:e})}pick(e){const t={};return H8.objectKeys(e).forEach((n=>{e[n]&&this.shape[n]&&(t[n]=this.shape[n])})),new e5({...this._def,shape:()=>t})}omit(e){const t={};return H8.objectKeys(this.shape).forEach((n=>{e[n]||(t[n]=this.shape[n])})),new e5({...this._def,shape:()=>t})}deepPartial(){return $6(this)}partial(e){const t={};return H8.objectKeys(this.shape).forEach((n=>{const r=this.shape[n];e&&!e[n]?t[n]=r:t[n]=r.optional()})),new e5({...this._def,shape:()=>t})}required(e){const t={};return H8.objectKeys(this.shape).forEach((n=>{if(e&&!e[n])t[n]=this.shape[n];else{let e=this.shape[n];for(;e instanceof v5;)e=e._def.innerType;t[n]=e}})),new e5({...this._def,shape:()=>t})}keyof(){return h5(H8.objectKeys(this.shape))}}e5.create=(e,t)=>new e5({shape:()=>e,unknownKeys:"strip",catchall:G6.create(),typeName:R5.ZodObject,...p6(t)}),e5.strictCreate=(e,t)=>new e5({shape:()=>e,unknownKeys:"strict",catchall:G6.create(),typeName:R5.ZodObject,...p6(t)}),e5.lazycreate=(e,t)=>new e5({shape:e,unknownKeys:"strip",catchall:G6.create(),typeName:R5.ZodObject,...p6(t)});class t5 extends m6{_parse(e){const{ctx:t}=this._processInputParams(e),n=this._def.options;if(t.common.async)return Promise.all(n.map((async e=>{const n={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:n}),ctx:n}}))).then((function(e){for(const t of e)if("valid"===t.result.status)return t.result;for(const n of e)if("dirty"===n.result.status)return t.common.issues.push(...n.ctx.common.issues),n.result;const n=e.map((e=>new Y8(e.ctx.common.issues)));return J8(t,{code:q8.invalid_union,unionErrors:n}),e6}));{let e;const r=[];for(const o of n){const n={...t,common:{...t.common,issues:[]},parent:null},i=o._parseSync({data:t.data,path:t.path,parent:n});if("valid"===i.status)return i;"dirty"!==i.status||e||(e={result:i,ctx:n}),n.common.issues.length&&r.push(n.common.issues)}if(e)return t.common.issues.push(...e.ctx.common.issues),e.result;const o=r.map((e=>new Y8(e)));return J8(t,{code:q8.invalid_union,unionErrors:o}),e6}}get options(){return this._def.options}}t5.create=(e,t)=>new t5({options:e,typeName:R5.ZodUnion,...p6(t)});const n5=e=>e instanceof d5?n5(e.schema):e instanceof y5?n5(e.innerType()):e instanceof f5?[e.value]:e instanceof p5?e.options:e instanceof m5?H8.objectValues(e.enum):e instanceof x5?n5(e._def.innerType):e instanceof q6?[void 0]:e instanceof Y6?[null]:e instanceof v5?[void 0,...n5(e.unwrap())]:e instanceof b5?[null,...n5(e.unwrap())]:e instanceof E5||e instanceof k5?n5(e.unwrap()):e instanceof w5?n5(e._def.innerType):[];class r5 extends m6{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==U8.object)return J8(t,{code:q8.invalid_type,expected:U8.object,received:t.parsedType}),e6;const n=this.discriminator,r=t.data[n],o=this.optionsMap.get(r);return o?t.common.async?o._parseAsync({data:t.data,path:t.path,parent:t}):o._parseSync({data:t.data,path:t.path,parent:t}):(J8(t,{code:q8.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[n]}),e6)}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,n){const r=new Map;for(const n of t){const t=n5(n.shape[e]);if(!t.length)throw new Error(`A discriminator value for key \`${e}\` could not be extracted from all schema options`);for(const o of t){if(r.has(o))throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(o)}`);r.set(o,n)}}return new r5({typeName:R5.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...p6(n)})}}function o5(e,t){const n=Z8(e),r=Z8(t);if(e===t)return{valid:!0,data:e};if(n===U8.object&&r===U8.object){const n=H8.objectKeys(t),r=H8.objectKeys(e).filter((e=>-1!==n.indexOf(e))),o={...e,...t};for(const n of r){const r=o5(e[n],t[n]);if(!r.valid)return{valid:!1};o[n]=r.data}return{valid:!0,data:o}}if(n===U8.array&&r===U8.array){if(e.length!==t.length)return{valid:!1};const n=[];for(let r=0;r<e.length;r++){const o=o5(e[r],t[r]);if(!o.valid)return{valid:!1};n.push(o.data)}return{valid:!0,data:n}}return n===U8.date&&r===U8.date&&+e==+t?{valid:!0,data:e}:{valid:!1}}class i5 extends m6{_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=(e,r)=>{if(r6(e)||r6(r))return e6;const o=o5(e.value,r.value);return o.valid?((o6(e)||o6(r))&&t.dirty(),{status:t.value,value:o.data}):(J8(n,{code:q8.invalid_intersection_types}),e6)};return n.common.async?Promise.all([this._def.left._parseAsync({data:n.data,path:n.path,parent:n}),this._def.right._parseAsync({data:n.data,path:n.path,parent:n})]).then((([e,t])=>r(e,t))):r(this._def.left._parseSync({data:n.data,path:n.path,parent:n}),this._def.right._parseSync({data:n.data,path:n.path,parent:n}))}}i5.create=(e,t,n)=>new i5({left:e,right:t,typeName:R5.ZodIntersection,...p6(n)});class a5 extends m6{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==U8.array)return J8(n,{code:q8.invalid_type,expected:U8.array,received:n.parsedType}),e6;if(n.data.length<this._def.items.length)return J8(n,{code:q8.too_small,minimum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),e6;!this._def.rest&&n.data.length>this._def.items.length&&(J8(n,{code:q8.too_big,maximum:this._def.items.length,inclusive:!0,exact:!1,type:"array"}),t.dirty());const r=[...n.data].map(((e,t)=>{const r=this._def.items[t]||this._def.rest;return r?r._parse(new f6(n,e,n.path,t)):null})).filter((e=>!!e));return n.common.async?Promise.all(r).then((e=>$8.mergeArray(t,e))):$8.mergeArray(t,r)}get items(){return this._def.items}rest(e){return new a5({...this._def,rest:e})}}a5.create=(e,t)=>{if(!Array.isArray(e))throw new Error("You must pass an array of schemas to z.tuple([ ... ])");return new a5({items:e,typeName:R5.ZodTuple,rest:null,...p6(t)})};class s5 extends m6{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==U8.object)return J8(n,{code:q8.invalid_type,expected:U8.object,received:n.parsedType}),e6;const r=[],o=this._def.keyType,i=this._def.valueType;for(const e in n.data)r.push({key:o._parse(new f6(n,e,n.path,e)),value:i._parse(new f6(n,n.data[e],n.path,e)),alwaysSet:e in n.data});return n.common.async?$8.mergeObjectAsync(t,r):$8.mergeObjectSync(t,r)}get element(){return this._def.valueType}static create(e,t,n){return new s5(t instanceof m6?{keyType:e,valueType:t,typeName:R5.ZodRecord,...p6(n)}:{keyType:B6.create(),valueType:e,typeName:R5.ZodRecord,...p6(t)})}}class l5 extends m6{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==U8.map)return J8(n,{code:q8.invalid_type,expected:U8.map,received:n.parsedType}),e6;const r=this._def.keyType,o=this._def.valueType,i=[...n.data.entries()].map((([e,t],i)=>({key:r._parse(new f6(n,e,n.path,[i,"key"])),value:o._parse(new f6(n,t,n.path,[i,"value"]))})));if(n.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const n of i){const r=await n.key,o=await n.value;if("aborted"===r.status||"aborted"===o.status)return e6;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}))}{const e=new Map;for(const n of i){const r=n.key,o=n.value;if("aborted"===r.status||"aborted"===o.status)return e6;"dirty"!==r.status&&"dirty"!==o.status||t.dirty(),e.set(r.value,o.value)}return{status:t.value,value:e}}}}l5.create=(e,t,n)=>new l5({valueType:t,keyType:e,typeName:R5.ZodMap,...p6(n)});class c5 extends m6{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.parsedType!==U8.set)return J8(n,{code:q8.invalid_type,expected:U8.set,received:n.parsedType}),e6;const r=this._def;null!==r.minSize&&n.data.size<r.minSize.value&&(J8(n,{code:q8.too_small,minimum:r.minSize.value,type:"set",inclusive:!0,exact:!1,message:r.minSize.message}),t.dirty()),null!==r.maxSize&&n.data.size>r.maxSize.value&&(J8(n,{code:q8.too_big,maximum:r.maxSize.value,type:"set",inclusive:!0,exact:!1,message:r.maxSize.message}),t.dirty());const o=this._def.valueType;function i(e){const n=new Set;for(const r of e){if("aborted"===r.status)return e6;"dirty"===r.status&&t.dirty(),n.add(r.value)}return{status:t.value,value:n}}const a=[...n.data.values()].map(((e,t)=>o._parse(new f6(n,e,n.path,t))));return n.common.async?Promise.all(a).then((e=>i(e))):i(a)}min(e,t){return new c5({...this._def,minSize:{value:e,message:c6.toString(t)}})}max(e,t){return new c5({...this._def,maxSize:{value:e,message:c6.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}c5.create=(e,t)=>new c5({valueType:e,minSize:null,maxSize:null,typeName:R5.ZodSet,...p6(t)});class u5 extends m6{constructor(){super(...arguments),this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==U8.function)return J8(t,{code:q8.invalid_type,expected:U8.function,received:t.parsedType}),e6;function n(e,n){return X8({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,G8(),K8].filter((e=>!!e)),issueData:{code:q8.invalid_arguments,argumentsError:n}})}function r(e,n){return X8({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,G8(),K8].filter((e=>!!e)),issueData:{code:q8.invalid_return_type,returnTypeError:n}})}const o={errorMap:t.common.contextualErrorMap},i=t.data;if(this._def.returns instanceof g5){const e=this;return n6((async function(...t){const a=new Y8([]),s=await e._def.args.parseAsync(t,o).catch((e=>{throw a.addIssue(n(t,e)),a})),l=await Reflect.apply(i,this,s),c=await e._def.returns._def.type.parseAsync(l,o).catch((e=>{throw a.addIssue(r(l,e)),a}));return c}))}{const e=this;return n6((function(...t){const a=e._def.args.safeParse(t,o);if(!a.success)throw new Y8([n(t,a.error)]);const s=Reflect.apply(i,this,a.data),l=e._def.returns.safeParse(s,o);if(!l.success)throw new Y8([r(s,l.error)]);return l.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new u5({...this._def,args:a5.create(e).rest(Q6.create())})}returns(e){return new u5({...this._def,returns:e})}implement(e){return this.parse(e)}strictImplement(e){return this.parse(e)}static create(e,t,n){return new u5({args:e||a5.create([]).rest(Q6.create()),returns:t||Q6.create(),typeName:R5.ZodFunction,...p6(n)})}}class d5 extends m6{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);return this._def.getter()._parse({data:t.data,path:t.path,parent:t})}}d5.create=(e,t)=>new d5({getter:e,typeName:R5.ZodLazy,...p6(t)});class f5 extends m6{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);return J8(t,{received:t.data,code:q8.invalid_literal,expected:this._def.value}),e6}return{status:"valid",value:e.data}}get value(){return this._def.value}}function h5(e,t){return new p5({values:e,typeName:R5.ZodEnum,...p6(t)})}f5.create=(e,t)=>new f5({value:e,typeName:R5.ZodLiteral,...p6(t)});class p5 extends m6{constructor(){super(...arguments),u6.set(this,void 0)}_parse(e){if("string"!=typeof e.data){const t=this._getOrReturnCtx(e),n=this._def.values;return J8(t,{expected:H8.joinValues(n),received:t.parsedType,code:q8.invalid_type}),e6}if(s6(this,u6,"f")||l6(this,u6,new Set(this._def.values),"f"),!s6(this,u6,"f").has(e.data)){const t=this._getOrReturnCtx(e),n=this._def.values;return J8(t,{received:t.data,code:q8.invalid_enum_value,options:n}),e6}return n6(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values)e[t]=t;return e}get Values(){const e={};for(const t of this._def.values)e[t]=t;return e}get Enum(){const e={};for(const t of this._def.values)e[t]=t;return e}extract(e,t=this._def){return p5.create(e,{...this._def,...t})}exclude(e,t=this._def){return p5.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}u6=new WeakMap,p5.create=h5;class m5 extends m6{constructor(){super(...arguments),d6.set(this,void 0)}_parse(e){const t=H8.getValidEnumValues(this._def.values),n=this._getOrReturnCtx(e);if(n.parsedType!==U8.string&&n.parsedType!==U8.number){const e=H8.objectValues(t);return J8(n,{expected:H8.joinValues(e),received:n.parsedType,code:q8.invalid_type}),e6}if(s6(this,d6,"f")||l6(this,d6,new Set(H8.getValidEnumValues(this._def.values)),"f"),!s6(this,d6,"f").has(e.data)){const e=H8.objectValues(t);return J8(n,{received:n.data,code:q8.invalid_enum_value,options:e}),e6}return n6(e.data)}get enum(){return this._def.values}}d6=new WeakMap,m5.create=(e,t)=>new m5({values:e,typeName:R5.ZodNativeEnum,...p6(t)});class g5 extends m6{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==U8.promise&&!1===t.common.async)return J8(t,{code:q8.invalid_type,expected:U8.promise,received:t.parsedType}),e6;const n=t.parsedType===U8.promise?t.data:Promise.resolve(t.data);return n6(n.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}g5.create=(e,t)=>new g5({type:e,typeName:R5.ZodPromise,...p6(t)});class y5 extends m6{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===R5.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:n}=this._processInputParams(e),r=this._def.effect||null,o={addIssue:e=>{J8(n,e),e.fatal?t.abort():t.dirty()},get path(){return n.path}};if(o.addIssue=o.addIssue.bind(o),"preprocess"===r.type){const e=r.transform(n.data,o);if(n.common.async)return Promise.resolve(e).then((async e=>{if("aborted"===t.value)return e6;const r=await this._def.schema._parseAsync({data:e,path:n.path,parent:n});return"aborted"===r.status?e6:"dirty"===r.status||"dirty"===t.value?t6(r.value):r}));{if("aborted"===t.value)return e6;const r=this._def.schema._parseSync({data:e,path:n.path,parent:n});return"aborted"===r.status?e6:"dirty"===r.status||"dirty"===t.value?t6(r.value):r}}if("refinement"===r.type){const e=e=>{const t=r.refinement(e,o);if(n.common.async)return Promise.resolve(t);if(t instanceof Promise)throw new Error("Async refinement encountered during synchronous parse operation. Use .parseAsync instead.");return e};if(!1===n.common.async){const r=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===r.status?e6:("dirty"===r.status&&t.dirty(),e(r.value),{status:t.value,value:r.value})}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((n=>"aborted"===n.status?e6:("dirty"===n.status&&t.dirty(),e(n.value).then((()=>({status:t.value,value:n.value}))))))}if("transform"===r.type){if(!1===n.common.async){const e=this._def.schema._parseSync({data:n.data,path:n.path,parent:n});if(!i6(e))return e;const i=r.transform(e.value,o);if(i instanceof Promise)throw new Error("Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.");return{status:t.value,value:i}}return this._def.schema._parseAsync({data:n.data,path:n.path,parent:n}).then((e=>i6(e)?Promise.resolve(r.transform(e.value,o)).then((e=>({status:t.value,value:e}))):e))}H8.assertNever(r)}}y5.create=(e,t,n)=>new y5({schema:e,typeName:R5.ZodEffects,effect:t,...p6(n)}),y5.createWithPreprocess=(e,t,n)=>new y5({schema:t,effect:{type:"preprocess",transform:e},typeName:R5.ZodEffects,...p6(n)});class v5 extends m6{_parse(e){return this._getType(e)===U8.undefined?n6(void 0):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}v5.create=(e,t)=>new v5({innerType:e,typeName:R5.ZodOptional,...p6(t)});class b5 extends m6{_parse(e){return this._getType(e)===U8.null?n6(null):this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}b5.create=(e,t)=>new b5({innerType:e,typeName:R5.ZodNullable,...p6(t)});class x5 extends m6{_parse(e){const{ctx:t}=this._processInputParams(e);let n=t.data;return t.parsedType===U8.undefined&&(n=this._def.defaultValue()),this._def.innerType._parse({data:n,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}x5.create=(e,t)=>new x5({innerType:e,typeName:R5.ZodDefault,defaultValue:"function"==typeof t.default?t.default:()=>t.default,...p6(t)});class w5 extends m6{_parse(e){const{ctx:t}=this._processInputParams(e),n={...t,common:{...t.common,issues:[]}},r=this._def.innerType._parse({data:n.data,path:n.path,parent:{...n}});return a6(r)?r.then((e=>({status:"valid",value:"valid"===e.status?e.value:this._def.catchValue({get error(){return new Y8(n.common.issues)},input:n.data})}))):{status:"valid",value:"valid"===r.status?r.value:this._def.catchValue({get error(){return new Y8(n.common.issues)},input:n.data})}}removeCatch(){return this._def.innerType}}w5.create=(e,t)=>new w5({innerType:e,typeName:R5.ZodCatch,catchValue:"function"==typeof t.catch?t.catch:()=>t.catch,...p6(t)});class C5 extends m6{_parse(e){if(this._getType(e)!==U8.nan){const t=this._getOrReturnCtx(e);return J8(t,{code:q8.invalid_type,expected:U8.nan,received:t.parsedType}),e6}return{status:"valid",value:e.data}}}C5.create=e=>new C5({typeName:R5.ZodNaN,...p6(e)});const A5=Symbol("zod_brand");class E5 extends m6{_parse(e){const{ctx:t}=this._processInputParams(e),n=t.data;return this._def.type._parse({data:n,path:t.path,parent:t})}unwrap(){return this._def.type}}class S5 extends m6{_parse(e){const{status:t,ctx:n}=this._processInputParams(e);if(n.common.async)return(async()=>{const e=await this._def.in._parseAsync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?e6:"dirty"===e.status?(t.dirty(),t6(e.value)):this._def.out._parseAsync({data:e.value,path:n.path,parent:n})})();{const e=this._def.in._parseSync({data:n.data,path:n.path,parent:n});return"aborted"===e.status?e6:"dirty"===e.status?(t.dirty(),{status:"dirty",value:e.value}):this._def.out._parseSync({data:e.value,path:n.path,parent:n})}}static create(e,t){return new S5({in:e,out:t,typeName:R5.ZodPipeline})}}class k5 extends m6{_parse(e){const t=this._def.innerType._parse(e),n=e=>(i6(e)&&(e.value=Object.freeze(e.value)),e);return a6(t)?t.then((e=>n(e))):n(t)}unwrap(){return this._def.innerType}}function _5(e,t={},n){return e?K6.create().superRefine(((r,o)=>{var i,a;if(!e(r)){const e="function"==typeof t?t(r):"string"==typeof t?{message:t}:t,s=null===(a=null!==(i=e.fatal)&&void 0!==i?i:n)||void 0===a||a,l="string"==typeof e?{message:e}:e;o.addIssue({code:"custom",...l,fatal:s})}})):K6.create()}k5.create=(e,t)=>new k5({innerType:e,typeName:R5.ZodReadonly,...p6(t)});const O5={object:e5.lazycreate};var R5;!function(e){e.ZodString="ZodString",e.ZodNumber="ZodNumber",e.ZodNaN="ZodNaN",e.ZodBigInt="ZodBigInt",e.ZodBoolean="ZodBoolean",e.ZodDate="ZodDate",e.ZodSymbol="ZodSymbol",e.ZodUndefined="ZodUndefined",e.ZodNull="ZodNull",e.ZodAny="ZodAny",e.ZodUnknown="ZodUnknown",e.ZodNever="ZodNever",e.ZodVoid="ZodVoid",e.ZodArray="ZodArray",e.ZodObject="ZodObject",e.ZodUnion="ZodUnion",e.ZodDiscriminatedUnion="ZodDiscriminatedUnion",e.ZodIntersection="ZodIntersection",e.ZodTuple="ZodTuple",e.ZodRecord="ZodRecord",e.ZodMap="ZodMap",e.ZodSet="ZodSet",e.ZodFunction="ZodFunction",e.ZodLazy="ZodLazy",e.ZodLiteral="ZodLiteral",e.ZodEnum="ZodEnum",e.ZodEffects="ZodEffects",e.ZodNativeEnum="ZodNativeEnum",e.ZodOptional="ZodOptional",e.ZodNullable="ZodNullable",e.ZodDefault="ZodDefault",e.ZodCatch="ZodCatch",e.ZodPromise="ZodPromise",e.ZodBranded="ZodBranded",e.ZodPipeline="ZodPipeline",e.ZodReadonly="ZodReadonly"}(R5||(R5={}));const P5=B6.create,j5=V6.create,T5=C5.create,M5=H6.create,N5=W6.create,L5=U6.create,D5=Z6.create,I5=q6.create,F5=Y6.create,B5=K6.create,z5=Q6.create,V5=G6.create,H5=X6.create,W5=J6.create,U5=e5.create,Z5=e5.strictCreate,q5=t5.create,Y5=r5.create,K5=i5.create,Q5=a5.create,G5=s5.create,X5=l5.create,J5=c5.create,$5=u5.create,e9=d5.create,t9=f5.create,n9=p5.create,r9=m5.create,o9=g5.create,i9=y5.create,a9=v5.create,s9=b5.create,l9=y5.createWithPreprocess,c9=S5.create,u9={string:e=>B6.create({...e,coerce:!0}),number:e=>V6.create({...e,coerce:!0}),boolean:e=>W6.create({...e,coerce:!0}),bigint:e=>H6.create({...e,coerce:!0}),date:e=>U6.create({...e,coerce:!0})},d9=e6;var f9=Object.freeze({__proto__:null,defaultErrorMap:K8,setErrorMap:function(e){Q8=e},getErrorMap:G8,makeIssue:X8,EMPTY_PATH:[],addIssueToContext:J8,ParseStatus:$8,INVALID:e6,DIRTY:t6,OK:n6,isAborted:r6,isDirty:o6,isValid:i6,isAsync:a6,get util(){return H8},get objectUtil(){return W8},ZodParsedType:U8,getParsedType:Z8,ZodType:m6,datetimeRegex:L6,ZodString:B6,ZodNumber:V6,ZodBigInt:H6,ZodBoolean:W6,ZodDate:U6,ZodSymbol:Z6,ZodUndefined:q6,ZodNull:Y6,ZodAny:K6,ZodUnknown:Q6,ZodNever:G6,ZodVoid:X6,ZodArray:J6,ZodObject:e5,ZodUnion:t5,ZodDiscriminatedUnion:r5,ZodIntersection:i5,ZodTuple:a5,ZodRecord:s5,ZodMap:l5,ZodSet:c5,ZodFunction:u5,ZodLazy:d5,ZodLiteral:f5,ZodEnum:p5,ZodNativeEnum:m5,ZodPromise:g5,ZodEffects:y5,ZodTransformer:y5,ZodOptional:v5,ZodNullable:b5,ZodDefault:x5,ZodCatch:w5,ZodNaN:C5,BRAND:A5,ZodBranded:E5,ZodPipeline:S5,ZodReadonly:k5,custom:_5,Schema:m6,ZodSchema:m6,late:O5,get ZodFirstPartyTypeKind(){return R5},coerce:u9,any:B5,array:W5,bigint:M5,boolean:N5,date:L5,discriminatedUnion:Y5,effect:i9,enum:n9,function:$5,instanceof:(e,t={message:`Input not instance of ${e.name}`})=>_5((t=>t instanceof e),t),intersection:K5,lazy:e9,literal:t9,map:X5,nan:T5,nativeEnum:r9,never:V5,null:F5,nullable:s9,number:j5,object:U5,oboolean:()=>N5().optional(),onumber:()=>j5().optional(),optional:a9,ostring:()=>P5().optional(),pipeline:c9,preprocess:l9,promise:o9,record:G5,set:J5,strictObject:Z5,string:P5,symbol:D5,transformer:i9,tuple:Q5,undefined:I5,union:q5,unknown:z5,void:H5,NEVER:d9,ZodIssueCode:q8,quotelessJson:e=>JSON.stringify(e,null,2).replace(/"([^"]+)":/g,"$1:"),ZodError:Y8});function h9(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p9(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?h9(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):h9(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const m9=f9.object({selectedConnection:f9.object({id:f9.string().min(1,(0,He.__)("Please select a sender email","suremails")),email:f9.string().email((0,He.__)("Invalid sender email","suremails")),type:f9.string(),connection_title:f9.string()}),send_to_email:f9.string().email((0,He.__)("Please enter a valid recipient email","suremails"))}),g9=e=>{var t;let{isOpen:n,onClose:r,connections:o,currentConnection:i}=e;const a=w1(),[s,l]=(0,Ve.useState)({selectedConnection:{id:(null==i?void 0:i.id)||"",email:(null==i?void 0:i.from_email)||"",type:(null==i?void 0:i.type)||"",connection_title:(null==i?void 0:i.connection_title)||""},send_to_email:(null===(t=window.suremails)||void 0===t?void 0:t.userEmail)||""}),[c,u]=(0,Ve.useState)({}),[d,f]=(0,Ve.useState)(!1),h=(0,Ve.useRef)(null);(0,Ve.useEffect)((()=>{l((e=>{var t;return p9(p9({},e),{},{selectedConnection:{id:(null==i?void 0:i.id)||"",email:(null==i?void 0:i.from_email)||"",type:(null==i?void 0:i.type)||"",connection_title:(null==i?void 0:i.connection_title)||""},send_to_email:e.send_to_email||(null===(t=window.suremails)||void 0===t?void 0:t.userEmail)})}))}),[i]);const p=(e,t)=>{l((n=>p9(p9({},n),{},{[e]:t}))),u((t=>p9(p9({},t),{},{[e]:void 0})))},m=Object.entries(o||{}).map((e=>{let[t,n]=e;return{label:"".concat(n.from_email," (").concat(n.connection_title," - ").concat(n.type,")"),value:{id:t,email:n.from_email,type:n.type,connection_title:n.connection_title}}}));return React.createElement(NA,{design:"footer-bordered",exitOnEsc:!0,position:"right",scrollLock:!0,exitOnClickOutside:!0,transitionDuration:.2,open:n,setOpen:r,onClose:r,className:"z-999999"},React.createElement(NA.Panel,{className:"w-[556px]"},React.createElement("form",{className:"h-full flex flex-col",onSubmit:async e=>{if(e.preventDefault(),!(()=>{try{return m9.parse(s),u({}),!0}catch(n){var e;const r={};var t;return n.errors.forEach((e=>{const t=e.path.join(".");r[t]=e.message})),u(r),"send_to_email"===(null===(e=n.errors[0])||void 0===e?void 0:e.path[0])&&(null===(t=h.current)||void 0===t||t.focus()),!1}})())return;const{selectedConnection:t,send_to_email:n}=s;f(!0);try{const e=await(async e=>{if(!(e&&e.from_email&&e.to_email&&e.type&&e.id))throw new Error((0,He.__)("Incomplete data for sending test email.","suremails"));try{return await _8()({path:"/suremails/v1/send-test-email",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(e){throw new Error(e.message||(0,He.__)("There was an issue sending the test email.","suremails"))}})({from_email:t.email,to_email:n,type:t.type,id:t.id});e.success?Op.success((0,He.__)("Sent!","suremails"),{description:(0,He.__)("Test email sent successfully.","suremails")}):Op.error((0,He.__)("Failed!","suremails"),{description:e.message||(0,He.__)("Failed to send test email.","suremails")})}catch(e){Op.error((0,He.__)("Failed!","suremails"),{description:e.message||(0,He.__)("An unexpected error occurred while sending the test email.","suremails")})}finally{f(!1),a.refetchQueries({queryKey:["logs"]}),a.refetchQueries({queryKey:["dashboard-data"]})}},noValidate:!0},React.createElement(NA.Header,null,React.createElement("div",{className:"flex items-center justify-between text-text-primary"},React.createElement(NA.Title,null,(0,He.__)("Send Test Email","suremails")),React.createElement(NA.CloseButton,{type:"button"})),React.createElement(NA.Description,null,(0,He.__)("Send a test email to verify your connection.","suremails"))),React.createElement(NA.Body,{className:"overflow-x-hidden"},React.createElement("div",{className:"space-y-6"},React.createElement("div",{className:"flex flex-col gap-1.5"},React.createElement(rn,{size:"sm",className:"w-full"},(0,He.__)("Email From","suremails")),React.createElement(Ap,{value:s.selectedConnection,onChange:e=>{const t=m.find((t=>t.value.id===e.id));p("selectedConnection",(null==t?void 0:t.value)||{})},by:"id",className:"w-full h-[40px]"},React.createElement(Ap.Button,{type:"button"},null!=(g=s.selectedConnection)&&g.email?"".concat(g.email," (").concat(g.connection_title," - ").concat(g.type,")"):(0,He.__)("Select From Email","suremails")),React.createElement(Ap.Options,{className:"text-black bg-background-primary z-999999"},m.map((e=>React.createElement(Ap.Option,{key:e.value.id,value:e.value,selected:e.value.id===s.selectedConnection.id},e.label))))),React.createElement(rn,{tag:"p",size:"sm",variant:"help"},(0,He.__)("Choose the sender email for this test.","suremails"))),React.createElement("div",{className:"flex flex-col gap-1.5"},React.createElement(_a,{ref:h,type:"email",name:"send_to_email",value:s.send_to_email,onChange:e=>p("send_to_email",e),placeholder:(0,He.__)("Enter recipient email","suremails"),className:"w-full",required:!0,size:"md",label:(0,He.__)("Email Send To","suremails"),error:c.send_to_email,onBlur:e=>{var t;if(null==e||!e.target)return;const n=null===(t=e.target)||void 0===t?void 0:t.name;try{m9.pick({[n]:!0}).parse({[n]:s[n]}),u((e=>p9(p9({},e),{},{[n]:void 0})))}catch(e){u((t=>p9(p9({},t),{},{[n]:e.errors[0].message})))}}}),c.send_to_email&&React.createElement("p",{className:"text-text-error text-sm"},c.send_to_email),React.createElement(rn,{size:"p",variant:"help",tag:"span"},(0,He.__)("Provide the recipient email address for this test.","suremails"))))),React.createElement(NA.Footer,null,React.createElement(tn,{onClick:r,variant:"outline",className:"mr-2",disabled:d,type:"button"},(0,He.__)("Cancel","suremails")),React.createElement(tn,{variant:"primary",loading:d,icon:d?React.createElement(E8,{className:"mr-2 animate-spin","aria-hidden":"true"}):null,type:"submit",className:"font-medium",size:"sm"},d?(0,He.__)("Testing…","suremails"):(0,He.__)("Send Test Email","suremails"))))),React.createElement(NA.Backdrop,null));var g};function y9(){return y9=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},y9.apply(null,arguments)}const v9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C18.6275 24 24 18.6273 24 11.9999C24 5.37255 18.6275 0 12 0C5.37259 0 0 5.37255 0 11.9999C0 18.6273 5.37259 24 12 24ZM12.0517 5.99996C11.0882 5.99996 9.75474 6.55101 9.0734 7.23073L7.2229 9.07688H16.4465L19.5307 5.99996H12.0517ZM14.9111 16.7692C14.2298 17.4489 12.8964 17.9999 11.9328 17.9999H4.45388L7.53804 14.923H16.7616L14.9111 16.7692ZM17.9089 10.6153H5.68418L5.10673 11.1923C3.73941 12.423 4.14495 13.3846 6.0598 13.3846H18.3176L18.8952 12.8076C20.2492 11.5841 19.8237 10.6153 17.9089 10.6153Z",fill:"#6B21A8"})),b9=e=>React.createElement("svg",y9({width:"145",height:"24",viewBox:"0 0 145 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37259 18.6274 0 12 0C5.37259 0 0 5.37259 0 12C0 18.6274 5.37259 24 12 24ZM12.0517 6C11.0881 6 9.75473 6.55103 9.07334 7.23077L7.22289 9.07692H16.4465L19.5306 6H12.0517ZM14.9111 16.7692C14.2298 17.449 12.8963 18 11.9328 18H4.45388L7.53804 14.9231H16.7616L14.9111 16.7692ZM17.9088 10.6154H5.68416L5.10671 11.1923C3.73941 12.4231 4.14493 13.3846 6.05978 13.3846H18.3175L18.8952 12.8077C20.2492 11.5841 19.8237 10.6154 17.9088 10.6154Z",fill:"#0D7EE8"}),React.createElement("path",{d:"M28.78 16.362L29.898 14.646C30.756 15.582 32.42 16.44 34.11 16.44C35.878 16.44 36.814 15.712 36.814 14.646C36.814 13.398 35.384 12.982 33.772 12.618C31.64 12.124 29.144 11.552 29.144 8.848C29.144 6.846 30.86 5.13 33.928 5.13C36.086 5.13 37.646 5.91 38.712 6.924L37.672 8.56201C36.944 7.678 35.54 7.028 33.954 7.028C32.368 7.028 31.38 7.65201 31.38 8.66601C31.38 9.75801 32.732 10.122 34.292 10.486C36.476 10.98 39.076 11.578 39.076 14.464C39.076 16.622 37.308 18.312 34.006 18.312C31.9 18.312 30.054 17.662 28.78 16.362ZM49.4701 18V16.284C48.5081 17.324 46.9221 18.312 44.9981 18.312C42.3201 18.312 40.9941 16.96 40.9941 14.308V5.442H43.3341V13.528C43.3341 15.608 44.3741 16.232 45.9861 16.232C47.4421 16.232 48.7681 15.4 49.4701 14.464V5.442H51.8101V18H49.4701ZM54.4775 18V5.442H56.8175V7.366C57.7795 6.118 59.2615 5.156 60.9255 5.156V7.522C60.6915 7.47 60.4315 7.444 60.1195 7.444C58.9495 7.444 57.3635 8.328 56.8175 9.264V18H54.4775ZM61.4427 11.708C61.4427 8.068 64.0687 5.13 67.7347 5.13C71.5047 5.13 73.8447 8.06801 73.8447 11.916V12.488H63.9127C64.0947 14.62 65.6547 16.388 68.1767 16.388C69.5027 16.388 70.9587 15.868 71.8947 14.906L72.9867 16.44C71.7387 17.662 69.9707 18.312 67.9427 18.312C64.1987 18.312 61.4427 15.66 61.4427 11.708ZM67.7347 7.054C65.2127 7.054 64.0167 9.08201 63.8867 10.798H71.5567C71.5047 9.13401 70.3867 7.054 67.7347 7.054Z",fill:"#334155"}),React.createElement("path",{d:"M76.3199 18V4.65996H85.7599V7.09996H79.16V9.99996H85.6199V12.44H79.16V15.54H85.7599V18H76.3199ZM99.3801 18V8.39996L95.6201 18H94.3801L90.6201 8.39996V18H87.7801V4.65996H91.7601L95.0001 12.98L98.2401 4.65996H102.24V18H99.3801ZM114.03 18L113.19 15.7H107.23L106.39 18H103.27L108.43 4.65996H111.99L117.13 18H114.03ZM110.21 7.11996L107.99 13.24H112.41L110.21 7.11996ZM118.161 18V4.65996H121.001V18H118.161ZM123.45 18V4.65996H126.29V15.5H131.93V18H123.45ZM132.798 16.12L134.358 13.96C135.298 14.94 136.758 15.76 138.598 15.76C140.158 15.76 140.918 15.02 140.918 14.26C140.918 13.26 139.758 12.92 138.218 12.56C136.038 12.06 133.238 11.46 133.238 8.47996C133.238 6.25996 135.158 4.45996 138.298 4.45996C140.418 4.45996 142.178 5.09996 143.498 6.31996L141.918 8.39996C140.838 7.39996 139.398 6.93996 138.098 6.93996C136.818 6.93996 136.138 7.49996 136.138 8.29996C136.138 9.19996 137.258 9.47996 138.798 9.83996C140.998 10.34 143.798 11 143.798 13.96C143.798 16.4 142.058 18.24 138.458 18.24C135.898 18.24 134.058 17.38 132.798 16.12Z",fill:"#334155"})),x9=e=>React.createElement("svg",y9({viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M23.25 0H0.75C0.335787 0 0 0.335787 0 0.75V23.25C0 23.6642 0.335787 24 0.75 24H23.25C23.6642 24 24 23.6642 24 23.25V0.75C24 0.335787 23.6642 0 23.25 0Z",fill:"#0D7EE8"}),React.createElement("path",{d:"M6.40292 11.6635C6.61165 11.8145 6.90801 11.7649 7.04455 11.5618C7.19552 11.3531 7.14591 11.0567 6.94285 10.9202L4.93281 9.48016C4.86137 9.42507 4.8676 9.35611 4.87071 9.32164C4.87386 9.28718 4.90015 9.22703 4.98662 9.19317L18.3609 5.78333C18.4386 5.76953 18.4844 5.80148 18.5157 5.83906C18.547 5.87667 18.5784 5.91424 18.5433 5.99446L13.476 18.8162C13.4409 18.8964 13.3776 18.9045 13.3488 18.9158C13.3143 18.9127 13.2454 18.9065 13.2028 18.8401L11.6711 16.0326C11.6228 15.9518 11.5833 15.8509 11.535 15.7701C10.9355 14.4093 10.7842 13.4051 11.9093 12.416L14.806 9.73531C15.0027 9.55853 15.0221 9.26839 14.8509 9.08611C14.6742 8.88942 14.384 8.87007 14.2017 9.04118L11.1593 11.6635C9.62635 13.0119 9.88161 14.6891 10.8516 16.4865L12.3833 19.294C12.5789 19.6661 12.9769 19.8759 13.4023 19.8589C13.5145 19.8482 13.6354 19.8175 13.7363 19.778C14.0101 19.6707 14.2244 19.4538 14.3471 19.1731L19.4144 6.35138C19.5666 5.97597 19.495 5.53861 19.2242 5.22916C18.9534 4.91967 18.5405 4.79884 18.1432 4.88794L4.7545 8.30341C4.34849 8.41257 4.04151 8.73226 3.95519 9.14836C3.86882 9.56446 4.04691 9.97673 4.39289 10.2235L6.40292 11.6635Z",fill:"white"}),React.createElement("path",{d:"M5.76973 15.5256C5.80738 15.5108 5.85264 15.4786 5.88538 15.4513L7.90981 13.6745C8.08107 13.5206 8.09791 13.268 7.94892 13.1093C7.79502 12.9381 7.54246 12.9212 7.38376 13.0702L5.35929 14.847C5.18806 15.0009 5.17123 15.2535 5.32018 15.4122C5.43425 15.5557 5.60664 15.5894 5.76973 15.5256Z",fill:"white"}),React.createElement("path",{d:"M5.51088 18.3676C5.54857 18.353 5.59394 18.321 5.62672 18.2938L9.0673 15.2807C9.23898 15.1273 9.25653 14.8748 9.10799 14.7156C8.95458 14.544 8.70205 14.5264 8.54294 14.6749L5.10235 17.688C4.93068 17.8414 4.91313 18.0939 5.06167 18.253C5.17045 18.3843 5.36017 18.4262 5.51088 18.3676Z",fill:"white"})),w9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"32",height:"32",fill:"url(#pattern0_12821_28776)"}),React.createElement("defs",null,React.createElement("pattern",{id:"pattern0_12821_28776",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},React.createElement("use",{xlinkHref:"#image0_12821_28776",transform:"scale(0.0025)"})),React.createElement("image",{id:"image0_12821_28776",width:"400",height:"400",xlinkHref:"data:image/jpeg;base64,/9j/4AAQSkZJRgABAQAAAQABAAD/4gKgSUNDX1BST0ZJTEUAAQEAAAKQbGNtcwQwAABtbnRyUkdCIFhZWiAAAAAAAAAAAAAAAABhY3NwQVBQTAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA9tYAAQAAAADTLWxjbXMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAtkZXNjAAABCAAAADhjcHJ0AAABQAAAAE53dHB0AAABkAAAABRjaGFkAAABpAAAACxyWFlaAAAB0AAAABRiWFlaAAAB5AAAABRnWFlaAAAB+AAAABRyVFJDAAACDAAAACBnVFJDAAACLAAAACBiVFJDAAACTAAAACBjaHJtAAACbAAAACRtbHVjAAAAAAAAAAEAAAAMZW5VUwAAABwAAAAcAHMAUgBHAEIAIABiAHUAaQBsAHQALQBpAG4AAG1sdWMAAAAAAAAAAQAAAAxlblVTAAAAMgAAABwATgBvACAAYwBvAHAAeQByAGkAZwBoAHQALAAgAHUAcwBlACAAZgByAGUAZQBsAHkAAAAAWFlaIAAAAAAAAPbWAAEAAAAA0y1zZjMyAAAAAAABDEoAAAXj///zKgAAB5sAAP2H///7ov///aMAAAPYAADAlFhZWiAAAAAAAABvlAAAOO4AAAOQWFlaIAAAAAAAACSdAAAPgwAAtr5YWVogAAAAAAAAYqUAALeQAAAY3nBhcmEAAAAAAAMAAAACZmYAAPKnAAANWQAAE9AAAApbcGFyYQAAAAAAAwAAAAJmZgAA8qcAAA1ZAAAT0AAACltwYXJhAAAAAAADAAAAAmZmAADypwAADVkAABPQAAAKW2Nocm0AAAAAAAMAAAAAo9cAAFR7AABMzQAAmZoAACZmAAAPXP/bAEMABQMEBAQDBQQEBAUFBQYHDAgHBwcHDwsLCQwRDxISEQ8RERMWHBcTFBoVEREYIRgaHR0fHx8TFyIkIh4kHB4fHv/bAEMBBQUFBwYHDggIDh4UERQeHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHh4eHv/CABEIAZABkAMBIgACEQEDEQH/xAAcAAEAAgMBAQEAAAAAAAAAAAAABgcEBQgDAgH/xAAaAQEAAwEBAQAAAAAAAAAAAAAAAQIDBAUG/9oADAMBAAIQAxAAAAGvBtmAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMg2M3tPDztGfT09YmO190R5THMO4+vW9ZVEOjq9pamRpX3sDV3rS1Ew3pvmaY+T9tEu29oYmdudf38uu9YhMJzGaXw9LuNoimo90nzZaAtAAAAAAAAAD7+BKIz8gCY3vy70/natqkvGjbR0n8w6x6W5Z/Npq9aW1YekjuV7I506DqKYrzeaOx71uGr7Q57pbB6R5s6SlXdO35R0xiC0Z+AAAAAAAAAAAA3x8WLPcXO2o8tF4mTZNf2BEwyjLzoy1ZdfXLnTCagg9xwCYvikby5nrN3a7Tz9PNt5Uf0zavjzXcFPC5aa/ZjqfFpWdZ3Qm5so5a+OgqD0r4iYAAAAAAAAAXJTd21md89dC85VnSDSvv0/S1152hVGX1QswvCj59K1K/tbRUt+c63FTt6yy++X+nKzSN5x3bRNIxH089aHr+HmD2t2nJzE3fSF30rSYCNKgAAAAAAAAJ1BR1RH68n2V4nudzF5iY/NA7WV981zuuJj5zcJaOpPSpdrleMQPNwtKOgefptE3lA/GvazGxpWY3PzbY9J3msk+1raHTrAixMOd8jWXqFoAAAAAAAAAAAAAAAAAAAAAAPvY5aatu/GltU+/jfEJAAAAAAAATCNe9geJ6dWpvFO7lwx28wAAAAAAAAH7NYTkcnRaf5U355Xfb/wB0/Z3ndmvr+ewL3PMD1fPAAAAAAAAZGOrNh72n5D8/7Ejjc2zODqqHzt7Tepw10leq9Li1L08+nALQAAED6z6X1yT7nh6oDubA9/M7o5s9fBzGtOurNvSFRj28fa8wOjIAAAAAAAAAD7k0Wc+1qZ1PbnwvVshGN35PoZeJmMdNNjyFtnGviUL0jHrIidJmZ7LT4+/nVQ2/5C496PFOIjqXu+UHockyw9ZrPM7Q9PiAAAAAAAAAAAAAAzNnoHPrLcmEubeefsCZ3nWPDVolGt1Lox9fI6cAtAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAH//EAC0QAAEEAgEDAwIGAwEAAAAAAAQBAgMFAAYQExRAERIVITUWICIwMZAjJjJg/9oACAEBAAEFAv7LAKw05RdTdjNYrG4utVS4VqcKpZ1hde/KkCSxL/CROW1dPWkcQRPnmTUyvS014oEXmpoCjxnamSjV+itRXOr9YLnbFq9c1HazVrhOpxLlpTm16eMM1HEMa1jSTRBkfsdU1Yb+qkcx7XtIhjnhuQXV5+vkdtcZvEPvruNOg611hsXXEVPReKyDtgL0ntKrNXqGiQfxhV9WDuTZ6vBbmtIWzRr6zxmOVrjb2yKaqqq8atYvEPzex0UfKkjuq24g7ms40OH/AAETMgbl/B21xlDB3Fvm9k/op4UntM3cqSIXlhhTIfLhX0mb/wA7p9lzRifeJltB2tlmswdCl3YlYmQSNmg3mD2H5oo/uLzZSO5uaqZB7JPqmyVi2QhI840nlVlYXYPE1QZuJrtSiSa3VOSXU4vcn0Tc/smakT29xm7wdOzgjdLNExI49yn61zqc3WpN2h6lVmmj9GntCO1r+NWuGTwZPBDOw3WQJsO1k8dHtcx3jUdeticPDEPDYHDAwy7dEit27INqDeqL9Nz+yZE9Y5RZmkDbvB1KzVYetdqqIh83cG6HPltB3NYiKqhRduHvJHsD5rtjPGwPZq+XIZ4Z25d1MFlDNG+GXxdGga2vzYinl23ECe6ZP43P7JxppPWqbaDuq3RIP1383QqM1OfoXeABf7Xm2E9xc/lhlkhfq91KY/N1gbFbeLpLkdT5ewPHtuNUqnkFZtsayUfGkkdOzymD7KDeZ/aDg71injej44QUbemTIOLI90kmRRvlfIx8b+dLge+1zd5WvtfF089opuW1ULYs/CLfULWQIHGlDV4tSaywClY2WI+DtTcBmUYxqo5ubtP1LXjWJ+vS5uhPRrONO9PnCwxSmkaqC9V1FMg1MZqijQCxWRsIIpc7ySfGp9lkgZDeVcqPuKxmHbSMzDzSTpqG1fWT22zvlY5Vc7ip2aMcJ22B+hxDii+Ndu0rY/xYFl/afJk8QySQygbW9rR9gq5kSyr1yS2rY0O2oVmWBxJ83/oWtc5WV5j8+LMx9eY3HNc1fD+KhmFIHmHd4384FUMRGtiib1oca5ruL9jVC8MEyQV8Mo5sJdOx2EDTwL4qzTLy1VatZI6UHYXegniQTSQyAWUc+KiKhNUNLhFUTHj2OYvgoiuUesKlwaogjwntoRcAZ0w9gl9xPjA2ksODEwkNyRjJGzVQj8lpZEyWvMjxzHt/aRFXIgS5Mipp1yGoGZkMMUKYbaRQ4RPKQ8CLrlzSNhimkWWXx2OcxwlxI3BioCE5VEXHijPx1YEuLUCZ8MNnwsGfDD4lOLjasNMYEKzEa1OV+mFWg0WFnkEc67Dl0b1XeUn0weyKhyC4hdkJME37blRqTWQkeT3TlycmedfyNNmaJ58ZREeR2xbcbdPxLqPPmR8+ZFxbqDHXaY+5nySxMfj3vf8A2Bf/xAArEQABAwIFAwMEAwAAAAAAAAABAAIDBBEFECEwMRIyQRMUIBUiUXBAQoH/2gAIAQMBAT8B/Z1lorZEZAI5WystERvBHPwigigjvWWiCKCPKK8II5XVkRthHIIoZFBD4BHd0V0cr5BE5ArRaIn+Q2NzuAjTyDwrW2Qo4oalumhU1LLFyNunkZGbuF0MTt2tVLW+u7ptZYlb1toOINwqbEP6yJ9JDMLhSYW8dhT6SVnIXSfi2NzuAmUEz/FlHhbR3lTTwQDojGqw1tuqQqeT1JCdyKokjP2lRYoOHhMqIpOCuhrkaWI+F7OH8L2cP4TYIm8AIyRx8mylxKNvbqp62SXTxk+qAhEbP93wU2eRvBQr5x5X1GZHEJj5TqqV3JRcTz+uf//EAC4RAAEDAwMCBAQHAAAAAAAAAAEAAgMEETEFEiEQMBUgMkETFEJwIjNAUVKBof/aAAgBAgEBPwH7nbiuUHdA7o4ppv03FE2VyVymm/ecm4R4PTJTcopuU9N724qzkbpmE5A8JqwU5NRF1tK3FA37bsJvRybhOwr8Jqeib+Qpue5YhcramjptKCcLoDo4K5XJQFv1D5o2ZNkKuE4cEDfHalnqKN13ctVPXQz+k89urillG1hsjot+XPVdpxpWh97haPf5fntOYHCxVXpBH44UzUKmmO13+qHXGH8wWUdfBJhyDgffyXTpmMyVLqtPH73UutvdxGFT0tTVOD5XEBay/cWwhUkPwYmt7k9LFMLPCqNDI5jKko54vUEJHtwUK2cfUV4jU/yR1CoP1J1VM7LimxTSngXUGjTP9fCptNhg5tc9I6ImoM0n9d+10+khfloTtKpj7Lwem/ZDSaYeyZQwMw1NaBj7c//EAEAQAAIBAgIFCQYFAgQHAAAAAAECAwARBCEQEjFBcRMiMjNAUVJhgSNCYnKhwRQgNJGSgrEkMEOQUFNgc9Hh8f/aAAgBAQAGPwL/AHLP8PAxXxHIVfE4oDyQfesxM/F66uQf11fC4l0Pc4vVp05p2ONh0fh43VDq61zX6uL9jQimsdYXVhsOlIYxd3NhWeKhHoaOI5RJUXpau78n4gOkSHo62+ifxUWXkatQVQSTuFB8Q4w6nda7VzzNIfNqySReD1fDYp18nF61pU1o/Guzs8anYWAoKoAA2Cvb4iOPi1dezcENW/E6vzKRQZGDA7waaKVA6MLEGngOa7UPeKw8l7Atqn10Rzf8t/76VfdEpb7aJofGhFWOmCDeiAGp5t+rqrxOhcVMoOIcXHwDQVbEa5HgF66Uv8K1UxSBu5ubWJBsQYm/t2cMNoN61DNya90eV6uTc6UhZjyEp1SO49+iDE71bUPr/wDNEE+9kz41iIe9MuOnEYjvYLSs56TBRxOjEx7tfWHrnow0e7XufTPRBhAczz2+33rDRNsMgvoiw8Z1RKTrcPyNCmIkEbCxXWy7Yh7mFCj/ANxdEuFJ6ttYcDoxEHhc24btEA3sNc+tYWNTnynKftSSp0XUMKhn3SJb1GibEn3F1R66J2BuqnUHpWHmOxZBfhV6HJm00ea+flXJzxNG3mO12gTm73OwVfEzySHuXIV+mv8A1msonT5XNXgxTjycXoCm+ddCA9GUah0JNulT6ikiXpOwUUsa7FFqZN0ShfvUPel0oSb430CQ7ZmLemyp5/AmXHSuDxD2mTJSffGjUmjWRe5hV4dbDt8OYrWh1cQvw7aKupVhtB7OsOxBm58qWKJAqLsArlMTJqjcN5r2WDdh8T2rnYD9pf8A1QEkEyfWr03zroWRdqm4qOdOi6hhSTWzif6Goe5OfVzU0/jcmsThicsnH3+1YiHxIbcd1WAzqKHwIBUWGB6xrngPyBZSMRGPFt/egJteA+YuK1oZUkHwm+g5BZwOY9NFILMpsR2aXEe88lvQaJiTzUbUUeQ0oo3sKFN866eSvzoW1fSp4PEhtx3VicSRmLIPv9qxMnwWHrloivsk5mj8ORlHMW9BnokF+bFzB+YPFIyMN6m1HC4nOQC6t36BIo61Lnj2YrvWU6MQjD3yw4HSuMlW0EZuvxHRLb3SG0tATlMn1GiRPFKzel8qiw4/1HueA0RyjajA0rjYwuKmx9ulEFHHf/YVLO2xFJppGN2Y3OgRxozsdgUXNFJFZGG0Efk5YDmRqbnjoSMHq48+zNBK1km/voHLAhxsddor9abfJWvJrzn4tlcpIQiL0VG/yFLiEFr5MvcaaNxdWFiKmw978mxF9EU49xwaDDYdAhH+kn1OmAnag1D6aBAOlM1vTTH8rVbEQJJxFXikli8r3FZY0/wq82IkfyGVCKCMIg3CmnlOzYO81JPJ0nNz2cQ41TKo2OOlVxi0XybKrnGxehvRXCRtM3ibIVyuJk1juG4UbgvC/SX71yeBVogdrttosxuTpjgxMUjNGNUMu8Vlh57+lS4h9rtfS8M0bPGTrDV2iuon+lK4TUjQWUHSssTFXXYRQXGQa/xJX6jkz3OLVljIP51zsbD6NeiMJG0zd5yFcriH1juG4f8AUVlUnhWUDeuVdWP5V1BPDOrMCD59kWTDynWI37K1ZUK9oD4nM+EVZQqCutT+Vc1geGjXtzlYZ9kuua71rKzDep3UWw7ah8J2V7WMjz3dmzlc+um6kg1G7m7Uq+Juy68baprUk5kn0NWIuKug5JvKrpaUeW2rOpU+fYrAEms15Md7VeUmU/SmEioI7bLaIk+GliHuDPs4WX2ifUVeJ7+W/RqyKGHmKyVkPwmvZyq3HKs4SflzrnKw4j/KyBNc2BvXKue6J9a5+tIatFGq8BoKx+0f6CteVrmo4918+FNI2xRTSNtY37RrKxU94rVxC647xtr2cgv3b/yZ1zoIz/TXVW4GvfHrXTkrrZK6yWtsh9a6BPFqygT1F6yUDTnRCnlW8qsW1V8K6XxB+UVyEZ5i7fM9ryq2vrjuavaoyHyzFezlUnuv/l3YgCut1vlzr2MVvNq9rIT5fl/DLZV7xt/4BzJnHrWZV+IrnQL6Gs4G/eurl+ldCb9h/wCayikrmwfu1c2OMV1xHDKuexbif9wL/8QALBABAAECBAUEAwADAQEAAAAAAREAIRAxQWFRcYGRoUCxwdEg4fAwkPFQYP/aAAgBAQABPyH/AGWb0BaerS4G6z/L6o6N4+oKMg3I6fcBEe5EeaGc3HraYRpBLJgj7w2cA8QSKkJ7tOKhwkpDxiARHH8AS6S4sNbUXXhMUCRaNPhaAJWrwOJ+BpR7iBh9iio3Zfmr4jg/IioB5Ynnq4enB+VhtNGXaAIAqYbcUvTOoIbigKJbwjvlV7rxKGo9wgp2u7XKpo7E7PnCNy8a7We4YukXr7PfAFCTvZTPnDDgCsF2pFI5gRfzRzX1Ae+F2mI1NOdKCVgoKuaG8y1IYh3aD1jL7VBhybzenR+BB3rdLA7znTJSZq4r5DW2TIdcAGXO4CT3d6LMlSSyL2nzRvErvIueQxgUZS8iX3KhhHNxBhGBDXJ/ZhIpMHK/RgBfwltl/HCi+mM8QZaLUulAzURbz+EXXzUjl6xCc0eaUpxKAs6QecGlp/pNzzTchpYCDqq/gmBR8O5qn2io/R+j70408gEmmAMydz6TAClj5q+jzh4bCbPeaz3861/FIAMjQ0SWXLio5FNIp9XbZLp6gTYl+ZqKT3P31Hn+Pypooi7MHyIo7IRjqX19zm55DvhAhY36D4igfnmAsVkec8ioUbd55vfxUKWZTo28JUJlmzs2+sIxfVT2nrQIsKPgPNKrKyuBihdkOphsNwJQbzI8L8UxYmlna/FP0iAQnp5oPL/7NGOWAVCpoF12KYHFQfFq7oUFqKxaBQIGTjpd4Pzhr3pGColkG/QfishzKuhbzFIEgLrWzE8ptTToh+KDgZeir+QUBYpgN6MP6kq28xfH9idsRhkoG2JDy/zWaVE3/sFb8dHAxOVD4eJU5n+GT00SNd2LeVwcdK4JI854rdiA70YLgfhopUko3XPntRw0vSV/IK0xHu/ZS5kMud+zAQqDX1LeYpuQ0ocvnoPjBgZCdO75X8sitiFTNkabRMx3wgBQ8tb2D0wgbK9h+cFXE7ykji3m5WnlGxhEKexDja4RHc9pwGzSfzfBFO0v0I+07YZLAejNMnJE2aUXuI+FHn6bBUxI24rhqUnQ6VoAQZOn4S+7ZSIDCYEibVVjtHpoqnAXIOXfLtgLcF5sblOR8t70GheQ47SoiggGbQKnuZSJi0o57ztRrTDXiwUeHpM3p2ZCR2wN5IY9z2jFnk+0B4jCdNkuW78YoTRpdqgWNG4dc6TzvgF3v5qTkN/3oqPNEn71/CfDerboRPfSCkal/p6z57IDfjRZQ8VneipfqPFH6HA/f7VOhyjZCnHILbzwb0u04PtNKWAqVW642K6QsZZ7VIzNEw+aDqHR4bY3rrxc1r/j/amUJEpd1xdCkuuVIGFp4XmNHOucOuXmjZUclTbuB4oHRIf76mLDKsPAP/opkvgJoiQHL7q/5qj5Rbz2VA6tBD6QQtJ1p+KvFmTo8n04KAJXKlZePWObrXLT4FJWT6KAkHdOEqCwavSTcnzsn91ORp7fmpDqI91QoPqXX01t506VbquEMo1GKm+Ai8YUri+PYPSgnjw1qPg3vBTMSZiWakEcTL2q3n8a1bXsEeiOKGgTUSjyXxUVwhbdlXsEONyONOdql7ME829Gwt3T/Hp7mjtd8lROcSydMNmHTVIv9IzrIu4Gl0B4/RXtun+J+OWFaDeJh5rI82uooXvGDsVAA66lPFq1vbfJU5OlwOVSoS5crOrRcxrWuD1AgRySGoHoOH3V2Ti27PwyAPOs5jjCa+VGnZVVsj6n1X8p9UazdT6oGdRm3Plf1cc6JgjYxQJQHFqys6Ze9TvTYdeOIwX+b/FFf6Xn8R6tKlImpRhY93znR8cZULd18dv8awKzVgrQz4VJIR0SXtU45ug7fiPe5kLpZ/8AA7UlLf8A1ela6dGtNeRaNft/bCpqDzg+a1D/ABtSvOy1n4eBKOytzP8AYF//2gAMAwEAAgADAAAAEPvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvvnzKf2/osuq8/BfvvvvvvvvvvrjPhxyXNv/wCnVH577777777777x+87+FONSE2vK7T7777777776u/wCH/wCovaqHfvvOfvvvvvvvvvvQrYFbun7p/r8khvvvvvvvvvvvvvvvvvvvvvvvtvN/vvvvvvvvj/vvvvvvvvvvvva/PvvvvvvvvrWiUePfvvvvdIQE3/vvvvvvvvvvv6hAcE4AqW7/AJ/777777777777773313x5/7777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777777/8QAKREAAgIBAgUDBAMAAAAAAAAAAAERITEQQTBRYYGRcaGxIHDR8EDB4f/aAAgBAwEBPxD7nJVnQ1YldiI0Q1YkaQgSlkEQxBxJ0czFa0wMRJY9GJnxkiySIbGY4gxFYWx7E4EjGjIOHmY6LRmPDGrkexxIG51azHhpwyUyhmOnokG5Y0MRGiFTIFCT+Rnp+ikTS38Mb0fCQqvts+o02OatcNk6dddxiQlL1/wU5pkpzJYjkp4SkyGhLS8v5RDuJ3RYIfrTMl9r+BpcNfS2hz9FJmIOv7Jcz9FXuNKLw6d3uRKCx/bHczftt7cSZQfHgciF1X4MIvpv4GtDSfqZBfCG/aJW0wi7IUUewpUbeEWhxyL9syUBVbm+XHgM9ruc49kdZeDkzsjOvmPgZz9uX//EACkRAQACAQEIAgEFAQAAAAAAAAEAESExEDBBUWFxgZGh0XAgQLHh8PH/2gAIAQIBAT8Q/Jy2myhrFssjLTsUaIgzsscShslmIM7wA02HNxwIGYxdUjoYbjVGVW9WsxRxsOZsDm5rYbbjF4qGi4AiEAh7xa9jtrZC4KIhogzcuECitpEzvJLKiiW5p6xDXY8iCipQxHvOxVslP7q2ifchH6sdz7hm90e5Zw8TosF9Jw/3uxdPxaz4gq2v+6wwXGtKdL5xMPM12/7ukR2PBjr6fpl9FrgIHSLpk+5pd5afmH2W/RSFWYdUJoV3Qv50lwM6uX1pCDHJwfBGyVc18EHkpnvq/O8qZevE7OssrXR19xltDnVnsi9odmpp/uYFxfE1ZTDo8sqTLssyqB7fRKQdQ59cDYyFt4cg0Xfo1TVJ4L96zkPssec9zXm91+5ny8l/zcDoUfjn/8QAKxABAAECBQQCAgIDAQEAAAAAAREAITFBUWGBEHGRoUCxIPDB0TCQ4WDx/9oACAEBAAE/EP8AZYTJFZ/SnsS7Utr4d6Q8qOoDQrUnLtVfc1ABMji6QIcUmQpD+21NmHoymwvBBYLrI99Dr+5twzCE3EcTc1633tDEpBLkb0uMlwQe8UioZBRCxLkpOmP4K1GBIoQCxMl9GmUaiFMExOVPBJQY2oYyFCHAAxod4AsLcILZZMyi6IWIrsFHlpGk1F+xRjkUZfW8NSYKCFuRZPMjf45YlazREoFjiQGABhUi7EhHaxuClkU0f2FOkeDzJEOUouVQw2olmm6ElgjmaJiJcblPIS6zDduXHcq2UKLBHOdhDx0uzxAYHLjqZACulpgDvJeGoKt1he6H3RSQ4NzoABRgAutQQBg2n3NQAE45v1TLsNXXNVo9aYMwJBoyJcTDWXogJVYApClQajp/YqQg6mPTVujktLoJBdha3ZBCvD/M/HsckLAMj5oaKOJl2D4TG1L0yVle69U7QQVIJlcDsuhTRPhyDEJuzQSCIjImVKVuVsPpNR9guzPQRGEhLJ0xaYmyiqu/JtD+yew1jVhYEYFsGxZx0K3NcSMynaOizh6uBxu7QDCXmiHIJQAAAGAU/ex4bVPRZPYyn8H+UkAWS6ASzGPzHXgA7gaZvEF8UZkztjI/npCWEVwG4bDNSKAiQjnSlV2M2k6B1zEZqhPaDipxCRHMB7OpnhnUQ9NRFVay66OY2lJhOU3IaZ0N0BxkxUbMnNMFCtpYfk0IIEiYJUh6rwKQjlMEOSaNZiVtBqOCbny8PZpO3nN2BaxbyQ7NUTyUWe6VaqkDMHwx6oR4YwGz/wDBU6MoS7FfstXpZulFsXHvE7Lo0CsMLKQeXnUKIzqIe2jIgF2APqlk6B20hTvMaXCTqzCUCl2z1w18S+HRIq3ABh96AisZ1EPKCmbkSq3XoSfLsAWE4RQRikN2ejp/vBTqSWdype7hdHf+YVNMZVTNc7ku1Sl1HRojc+PB2UYuKSHgPOVWA3fAa7riuK3qVQMG2Q7v0ZpQIA2aPBUdiGqV8NS4CkDKxkj6rAQBOa/ZavSbQk0An1WDzg4gTDuTDQyUhhgH2HjUfZi3wxnlQkAlDABitI3MS3ESh4isGptTjcx4VEvDG1QD2OKXVYO9COAnGEgPuaWcVI4Gw7SOpAREZEcKNJBLAGhv4Us4EmLed5Qo2xExz01akkShgiXI8XfCZKQYsGYh+MijK7Gh+vDo5JO6zEjdCu+3UvkdGagpncQPVfstXqVOtDcufa45UohdTIpKBzwSkwlSoE6W0MOA6L6fK5zesc0BQkSEqZIiRZZfs/fpBkVDabnv6h+SwGk0PcaVEQ4yQloYyYk6XoLkfGbLeeTPxjtQHmSJ/WXSQ8wcHDcPkTLqS+KGBVmpLrhJGvSa5MRkGXwvU4UAZxlNKCQkjUIxDmoPSuaidrEccE8joUFEoxkv4UEoFMEBH3QXIf6yC7g+WgwFyOoQ5YOadUoeaVfL0T3UKpibAVtS4ThJ+irn4DzVocUkat2NugroiasuT5+MAN78T1+lzLWgySUENYeC1TbYeIptslgmzvRLbmADransqbU7jNkIFgz9GdTOchIi8vCbJWCSTAyJ4asKIo4Bs94jo9lAjMCHZJOaEYOZxRI9IBaecLn265z8tOvoVlm5Fy7+Y9l6gLChLNnh7qNvEWK2FnDWVJh7Ah7KmONsJo1jpSmxbo7RV4ngOLqrdbqtAnkCBG5T6L1txhBOAbBAbHxhREUTBKJpYuOiChHWR70ZkLypoxDwpS0EEx64rULoIxLrDebRR4GSFZPZB7YutRU4IoDCW0MNzigLzBITQlO6V7UiHU+QyquL1ADBFlhMRCQN4oaEiyEu7KPFCkaCyFw4EHHWUAJCWQIbIwZkQ60xuPTg3+wsswrS2INOon/xBaDCURN9ZT2Q2Kl6Ti27oNW6FP8AvSgwMg8ElomiIen1hv7QUolgClOEe2Lr/wCiGMdhKeCir9mvQhojng/60rNNQ8JfVMMXjQ4fiE0BJEFcYJukzoQgxZPrH47llADNaQSr2G0F12g70WDCAJpaTaP99PhTMR66ZV8LAyJOl54+Jd6d1ymm6nLkEIpoMu/ipcRcR7Bcnur2aghwBb4pIyMNEwTRR90/KNVnoNwCKRyU5pO8YIvAUYrCUaoX2nxbWqJwDRMyj8LwFC7nB2fdHn2BkNEaLQly63d28RUoaaoBuseJpIIZte/hYRdFJ4KXUN5JPYX9BSQA2Phd5eKcJkCAcWMyjFIQmxpTmoWHI9rUq6VDvxwHl8e3qoYFssTZ8lD2cZbu4ucOjpNxIfdS5LBsnEinlyQlepKnR/OJ8XeSkkVMRPt/inydGfqmSCv+yjUKvMSQfR7oQLx9fc8rS1myQ9zi80gFCDFat7JGZb5ux5Ka4ZHAdBkUbMGHJ6Ec09kkRnGAbuFJjfwYEuHGHyEnTKIdkpMjAt7pMPSpdn5YOV+T8AIF0A1OSzGB5BNTCNuj+2sR9qX2V6hno5FcN9I09/BPoqH/AFBklQbPMEUcyo0LYBgeOq0rxSAqRKwHx74fE0PJLiKd2PK3UV6t9yLL+nmi6pV1iyNR99j5Y1rSJCU2RliR2/sox37r6Tw96TE7IDzX/wAYFAkYDdaCRHyLuS3utafmOFjy03Luw9hb8QtxsAEQvPj55Zks1AxZhKnhtQAP2R8xocbip9hp4bz/ADAU/CdmqxWnoHL5+rFV527/AEUPSZzmnspBHOjOQn3W7fG+3+wL/9k="}))),C9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{y:"4",width:"32",height:"24",fill:"url(#pattern0_12804_171885)"}),React.createElement("defs",null,React.createElement("pattern",{id:"pattern0_12804_171885",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},React.createElement("use",{xlinkHref:"#image0_12804_171885",transform:"matrix(0.0078125 0 0 0.0104167 0 -0.166667)"})),React.createElement("image",{id:"image0_12804_171885",width:"128",height:"128",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAIAAAACACAYAAADDPmHLAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAgKADAAQAAAABAAAAgAAAAABIjgR3AAAZY0lEQVR4Ae2dCZgcZZnH3+6eIyeBXIRwCau4gAvrsVHBJZzL6sKuq6yC6K6K+uzhPro+Prvej6u4cgcwSMIVQA6DckckIZiQySEEyQFJCJBjMrmAQK5JMkdX1f7+1f1OKkMmx2SO7k69ef5VX1V/Vf295/d+R0/MUkolkEoglUAqgVQCqQRSCaQSSCWQSiCVQCqBVAKpBFIJpBJIJZBKIJVAKoFUAqkEUgmkEkglkEoglUAqgVQCqQQqTQKZIkPZSmMs5WefJBDuU620UuVKwCPAz2Dxw2A72Mdo4I9GlSudcuCsQzV0+IEUVgU2gctUkMLPBaOAQsJOA9A7cv4iym20s0rbrbTQ8xJoU027SB4V9SNVh4HZrj6qKz35OsjKAHSjBYjyQE+3vdqqucxwGVFN51BfVixTSqkXJdCmpXYOKY1KhdKVa7bQTLeUai6bQSQDEPkbcpQFzIZ72WzmlLPOtmEnHGdbglZrzWYtlC1kQsvIBrKZonH547KT+Nt5PKXulwB6wCkDFJ3JVVkmjCwbBFaD9obV9rUV8xfZkmdmok0+KER3Kd6NIFaaG4C3VRWVB/SLK4ZR9OLzL2TPPOF4e9fpH7KNNTnbHrbSg2T54oLSA70vks0USA1KqYckgCNKn1EUcsxaLh/aoFy1DdoR2KtPTLcl8xbyMR8WSEpaCo4BfQu34jgRh3vMxE4r3vwfzieAy/gkQtmh1WZzNuoUO/1fLrb8gL62CSNo5iszNdVxz+DfUHw+PfWgBOSH2TBvOUL9kOpa216/1l787SSzFxZF1iLLCHOoSh3BVeBBUAcGgAZwYvsIwD1bDVR5Buq/Ggsabs1kErMXZGfVr8uccumn7YhTTrQ3SReaiBchLZBpyQpFHhnUVYiyaY9QEEQnj/JsEZ1vfHa55uSddLcRyu9LBB5ZVWOr58yzl3/1a7O3GyML4vAg5UufXwJTwalgF50X3s7dBNUUy3dz/pAFUR3IWRMdzar14cJxd9m8h39ng7e32GCrtupWGsZHOZoo5bvCdfZy4t1psQsk4LKtaQ7s8KjWhjbmbcbdv7aXx08we7MxtFZcN4/n58OH+DqN7qR8kaxoF5fcnQF4BRmCwsT5RIH/5bkWC8kCN28PNj8yxWbedKdVvbrGDq/tZ1W8NsO7c2SGYbFf4rmUukAC8nxBni/ZZom0EQl5Nohi2UeLVtiMy2+wlsmzIhK0IPbCEF2ZfQd8GqwH7vWuW24VaE8GUBgJFAYSP6b631oQvJbJZ3LWHAXRvJfDOdeOteVTZtjR2VrrnycDbQ1Sry8KtutPYexoVch4aK7GRjBgXzp5mj13/Tiz5WvVyxP0ydVaw2f57o+CK4Hrt9B/7KZRXmE3H8W39KAgC5oBPhxF+Yl0PDm6BbO3tuTX3HG/zfrF7XbY1hY7NFNFQkJ12hG0JZ88ldIBSyCL30m2w3O1llm+3uquv9Vev+s3Zpu35WMNhUFVFOSl9HPBfBCnZpzf4fXcayMPDW03KBTTt7ZbeoFPEG3kyy7mnY+Da5gQGGE78kHzzLnZ6atXZ/78kots5PtPtg3Nzdacy2KSbe9ICwcggRw+1QfPH1bV19bMXWiv3HW/2YatkZJz0i4UH6ir/i+gLF9OLSiC75V2FwE6shhFApEs617wEXKDmdgX7o5ZrFgfvHzdzfbSvY/YiCazQ4kCNEz1UzoACYR5IiuyHNmUsRcmPGCv3HCbEr3AWpjcyWRQfvgkr/9rIOXLoaU/1xXFPdPuDGBPT+jlnhvUUx7N113OHfoeJqCbouCtJ6ba0zfdZtHyNXZMro/1p6uQBacjgj2JddfPJCvJrB8jrONqB9qOxctsythbbfOUZyJF3GwrozIlemHwbZ78OFgF5JiK1B05MB+9k/alC3jnUwULc+P5IRWmgAnWGvyZRdnA5i3K/mnZyszRF5xnx51/RjyDSLtZeaDdxW6hI4Pwz/3cUb3dNaoc7jk/zp+3ORfrT94VxJFzQFW1DWnN2PKHJtvKSYh3s4Z3GvhjG1Gc6H2NZ5nqix90x/TX7fPZlZh8YF8tSGFGdWV5dUDjzbvi8WcT4WljY9Aw8RGrmzDRDtvSZMMzNVbd0hpbNvVi2tO0sQvK61bq2SfQ8lq1A31aQhuR7WM16zbaH35xi61EhvbW1gDlxyNtJH4jsjgDSPnSnyKydNEp2p0B7M+L3PJkBJvAF8EXQCNNolvI5KNpz0UzfjLGGuctsZEMF2tkxFGehSQmq5hSlickIcW78v3M+yqGnFfnTZNnGjFpOaUqCJFRjW3643ybe/kYs7mLmc4lrEuWoa1DCJ8H3wAsyMTK77TieT6m3RlAZ3J3WaFIhnAP+Chc1dElVJGphtbwZrDwxvE2857f2HAsfAijSGtiMiOhbD0scgEVrir7GBsB4qmirx8SZO1wpm9m/eq3tnj8nazWbw6QXRTLMDLN6P0VUPLt3fYBK593xVakc5Lk1Z0hNUiGIKNaDM4mXH2PXiIfdws78vmWyTOjZ669xfosW2cja/vDyU77UyjcU5fA+yqKYkOH5xqkfUSur9W+ttaeGXOrNU2eHtnW5jyyYxjFRL9JhvZPYC2QwPY70eOZDsmtqcMKnfhAhqCGypB+Duro2+7KhZnjgyAfRPMXZ2Y1NGSH/f359t5zzrCtuci2Ed8iJYh0DxKMyENk4apyjjJyrdtnSIoHsh9nEOpc8PvJtvF3U+lEt2v1jr5R+zTymtH7TzAXSJ6STJd4Pe9po50u2HYrDuM7rzpX8migLmEmGEXP/+vYqsXH29uCN+991Obdcr8dujVvg0gQJZBKpPZdGjk+8/ihDa7uZ4dsbLbnb7nPNj7weJw0E+6JoRFTaHYbsjgbuPLlTJ2NzHsU6+4iwJY9PrF/H0qrMoKNWMQlsDCJbHYM7j2MNCa/re653DMNqzMn//Nn7aiT3mMbWpusSTOIuzPL/fvekqwdj+1R/hDmR9bPW2TP3few2co1eLwmTZnUiSIlet9AVszxxh4vSXS51yeFsztRK5vvSpIRyHplCEpizoCl2fBVRW4QWP26cNH14+3Fex60EQx1B2q0o11HSb61yZHtZzFU9k2P1Op1KrbHuy6F+GRymy3ukBJPhzCjd3RLzhbczYzedSzirFjD2J4sMJ7HD2fBy2gg5UtW3RLyee8u1N4ApKjusDi916PBy5TPwST+m06f8S3+vmlb/q3J06Kp1421pqUr7KgsSRGZcSZfGCmoxQHTysoRSpU8Z/E9kXFCi26Nrq22NW9HVvWLZ/SevGasbX5yOolPa54l3Ww8Jo7su/B1JngVSPmSVXfogdfuSu0NYNdPu/5KjOk75eJXg/PQ6jLOVVrOtKXLwyW/nGBbZy+wIfms9WF1UZtN2N1guWx1wfO1Jt4zsqFZeydfr/eaWRI7tTDu67HXfozzhwU521r3gi0Ze6fZSy+HRD4le1VRGK7gufPAFUDWLdlIRj1GPW0AYkyWLSj/qAOnIZD7rLVV6wnx+Hchawmz7nkgXmI+PFNrtYyKsvQWGeTmnsZzJUlBXm1leMdunaEk84M2Ndmcuybai7+8gxW8LUQ8Qjtz+fAxAW41tpcM5PUulx7lqzcMQAzK2jWeFeMbwKXgs4jgDTk7EyB5e/rZaNZPr7MtcxfYUYTPWkZHypZE8VCqRHYfq++PyE+0R0+kNtZyHFlVa8GSFTb78ust/MOciC11efox8fs6+Aza/jLnjUD3xJhk0uOkVgsaqp0G1IhzwDTgDaPYraTv99B3LOXxXJ6Pu+NK/BtYna0583QbddE/WPOAWttMXkCsYB888yQlkBPEfT2NjvfkM4wbwP78ATtabN5jk61xKmLdskOJnuQqeUrOXwXKg3Qtr9dn3U2Sr77rfeA50Bc0gBN7KwLw3W0kAcgDJJBV4BO09cpYLAyZtfzZQtI086qx8WzZ8Jq+cTcggZcCafUupHvS3oehNf3jWc66q26yxsenRihfmatkrMZeCUYD7c0Xr73m9Xx3G5WCAXhjJBCPSN+hfBY2u0z9peXJ/JbWhzOvvMGWTa2zI1hiGEjtqoAg0Yt2oA2aNfwYYyCj+KNz/axhxh9tzlW/wL/rQ/ZNhprUASvg5Wwgnpw/8VoSVEoGIIF4IqQEUeGSXUd2B0LMEkYzDBeDdbdPtPl3TGQWbZsNreoT75ANSBx8/B3PEVBdhtGlxhE7sr+z0MyI4d3gTLUd+vY2W3D7/bZ6/D2s228n0aOtUcgAIboDHrRMXgfEk/NHsTRIjSo1kk97gvg25csIoFMR6DU40Eh+7RI0Tp+dnbFyWeb4T11oIz/wPtvE7BoblY2RI1UKNu0TM13GHEFIJEOrpljDhNWQ6v62/oWFtlRr9itf12hVms8xvNNs6r8CNu/F+Y0aJZ5KjkotAiQF5GFSRipBMoMYzbA8KWAL46yVb4TLx06wxRMn2ZHNWevPLFucFEpRRWUlX9bZcvtIksfQ+tGFj2jO2GuPPmVL2Z1rK9YR7vHuMMixR0+LOEqo1WZ3sIL1dLYR3fhcKRuA2JbgPBoso3wW0eAH7CThd2mtWdveGrw96alo8rU3WWbl63ZkPIPIOLIo7q6MAri19aG/PyLTxzKr3rCpY262NQ88wh69IJ/NE3ZY6KRt19LGM8AioERPbS9Z5dO2ODzpXOqkaODG+jPKoxH2S0QEogEu+dKr4byfjrH6R6fYkSioL/21VhczPOXDtANhUBl+LV8/jFnr9ZNn2LxrbmZD1its1sDv+flsGIYref+FQJs0va06lzx5iCr5htJAeZLPGSjMjiI55Ees0ddjNbRsC1Y/8Ghu7Rvr7YMXftwOGTHMNrTs4KPCIEJbr2QM+zJ34PUUSbKtLXZYNUPPtxut7uHHLJrOV+vHsnmsjM08NOt22qJfVL8F5PVqZy+OTfj2/SD3qv14pFerSrASsATdDNgwkbsUrZJ0kQS0RPnw6dnR3OvG29bnF9oR6Ed7EEWu1PhiLwc3kmpSjZHMQkavrbY5V9xg0VP8/q5Jyuf7w2g7r9H+vK8AJatqk7y+bJRPW9vCqsrlRC5oPDC4D5mPIgF7srAHEY2zzKo9iPMfnGQjWjLxnHxVKzuSCSB7GxqqTo4ZvcNYrhq8PW+LJk21566+kSx/rX5/x6we07lhMIfv/Ai2yAdtiV5ZhPz2Si63CJBsvzzNE8RXKF8Avov/NZMkMoMYBpsmPW1/uFIziKttBD+rymp5uWgE2oPoW7LjMxE9/s09/f3wmn7Wv2GDzbp6nL058VF26zC2jxch43CiRG80eAl4oldWXk+720gGoMYrrJYryfPckLWsSjSwF5mM4e/Z4MovLY1mXXG9LeYXSyOjGhtY/BWz/p5Bll5DpLJmFfvnMzacWb2GumetjghiS1eQ5Ychm9tJJKJ6qpZlohcz2cFBgmOh3Q4pfq4kqxxJBuy5gTzzHHA7QMOw1NgSbLjnIXv+tnut/8ZG5uz7xptNIgYQGipqxHAIVQc3ttir902yhnF383dSXqev1xJkmCMneIx3nQ6eLLyz7J0GNgqkUUAtGFq8LueTIplHAy0xfwU1kRdE45gYGIIH5xuf+WOubmV95t2sLB79oVNsE3sQ6QfskOo+tvW1eps2gXRi2WqGd/QPMp4wbOQd36f8S+DdTVn29bS/Q+rPJ6uABCicBUSF+Fgol9tRkc3bfwJBYBrQTvu8VWfyLDFHff/uY9GFt14ZffLO66JjvvjpyA7rE/HHsBg1ZgP+5BpyyJDo2V8WGdf7hHIlb7uWgzV6kZ5XAek+PjRwriQDEF8iNwJFum+BLUwHaJE5tP7VkZ30rih76nsiG0C5ivm8TPzXD+X9P0w8q3eUa9dI02M6aA1A3It5N4SPUV5WiAb8+bsqBoVVzBdWZRkeZBgHxJM5Gk2I9JwLLr5Rxgfn46CLAK4zebByHdGxYA1QxGMduW3yZgrXRwFRJXh9gZPCsUMD8A+SlSutLB4FzRyeDO4HIwFTPSiav63F+Zvgb8Dq+F4ZzujR7k6TEoEGUKk5gPffX4fHzUU+ldGL3+eBjEIkr69Uh3C+DpouQEp3podQZnwXK1xer2GclM9Mj/UBIiWJbijxjQo7uCwOCgMQs87wuZSXASlcXYDOK8EngShZt3CnMo8uj4o3AHmySOefAPd4naX8p0ClJnqw1iFVvAGIQR/qnUhZ+wWk8JbieSvn7wE3kErL8mFtj9ShAbhA9vh0iX8oZUrZ6tsvBmzXsUOBvF7rHK+BS4ASPk/0VDclJOCWUY7CUNImhUqZWsu4DSjZ08KWZvOkfN3T7+9c+bovpJSQQDkOA5Mh/zx48UTPQ/4b3NPf1RElRwSFOwff0R29IpJA77/F1HeAlC6v9ix/EuURQKQ6lTy8i5nch0NFGICY8Jzl3ZSnAfX9rnidfwBkICI/F64O7mPZG4B7vdT4OaBNmMks/1Wuzwci1XWG4xvpoU0eZdcFKHy71w+mPB4o3CvxywMZwTgwCIhSry/Iof3RHeIdBuDCbf9AKVyr0TIAKfpMcDs4Hvjwbgvlr4GJQPWkfBlGKZMrQoYr9Dp5g3q9Ie0aIGW6kL5N+Ukg5Svh0/BuKhgFpHw34lJWvhtoSQ5DS2kY6IJCr3Y0eALIEDzTlwC/D1RPVA4hX07mjqYhq4zWuyzng1vdSv797+gC9K2lYgBJQX2Gdunv50j5TcWzEr1zgUiKd6biGyV6cANV1FIk2wbEk3IZV76fudVt5LIqSQOQADyMK9G7BcjT1dcLLjDfuq66PSE0vqbTpPa58o+lXAfEhyKZztqX8H4gcuUUrrrn6N9RcgaghnnjTqX8J5AU1Cau/wNIoEmhclmyJH5c+edQbgDiySPZMsqjgainDNllXFIG4ELSWeFxB0gqX4mee4nqOBMUS5acJ+0//DkQTx7NxNvDQLmNqCf58e8qCQNIevK7EMR0IOEo3EtYyuZ/BGqAyIVauCrNo3jybuxkynOB86SzQv5XgUjKcIXEN3rg4N/X6waghrhCP0V5DZCAPDwupaxMWVQuXi+ePJRfTFkLUeJJU9M614GTgEg8ed34Rg8det0Akh7SF6bHAQlHkzye6GkR5zAgKrdET/sPbgPOk/hSWQmt89RbyqcJbRGnVyJA0usVHmcCCcc9RInevwP3JAmq1EkG7e38KOWFIMnTeq6/BFRPcA+k2Cvk39/jBuBfLGF9AzQCCcqHQ3MoJ8Oj1+d2yVLSk/+NVooX5S7ejf2e8nFAlKxbuNM7R5drjxmArN495BjK04EUr3CvJE8h8kYwCIjKLeSPpM2/AW7MMgDx9n/Ak8FSUT5NaotAPWIAsja3OC3R1gMJyj1kNeVPAFGybuFOaR6T7TyNJq4E4sm7MfF0ERCprhyglMj10a0GkPR6JXrfAz4OVpiUwBQeDweicvB6tdMjmcriSdFLHu888T+pt43tS5WnbjcAfYEL6oOUZwMPjzprHKw/neqe4Q3iVslS0qCPp5UPAedJBqCu7AdAlOS/cKe0ji7vbokA3tdJYN8E8noJysPjs5RPBCLV9cbEN0r0kFTo52jjBpDkaT7XHy62vRx4cpl3qQFI4Qp5oqHgTiAheaInD7kZ+CKOGwq3SpaSXq/fDV4NxIfg8xX3Uu4PROXAk9rZ5QagF/pLL6BcD5IespZr35YtIQmlTknln0BjZ4IkTxrCfrnIRLJu8VZJn1xXXRIB/GXVsHwNkJCSHvJ7ro8AonLyEOfrC7S7fTc2j3t/IYYg8eR14xtlcPD2HpAB6CXuyXrRLJD0EE/0JI9y8RC107uxAZTvA+LJuzElez8DtUDk/Beuyud4wAaQtHolRe4hPrZfwr0PFOWhuhJsqVPSoDWd+wJIGvSbXF9WZEJ1XYjFW2V18rbvdwRIevJwWG7vIQr9Y0Ay0SsHySSNVFPUPmLxsf0U7h1bZCRZtxx4210bO2UA6uP9wX+kXA/kIS4kLXhcAkSq53XjGyV6SBr0CNr4IEiGfE3y/Bh4BCsHnmjuXsn52KcIcHbxdXpIw51rgYSUTPS0W/d4IFIf6gKLb5ToQfx4f38B5VVAfHl31kB5NBCprlAp5LzskwGcU+T6WM4zgYSkECkDUPn7QJT0psKd0j264jVFrbG9PD1p0I9wfSQQVULIL3Cy87hXA1hFXSlXOA18HrxVvPaQrzXv04FIL/SXxjdK9JA00uNo41QgHp0nJbE/Ak5SfiWS62qvEUDhcC5wAfmc93ju+dJtDWUJqhzgjF9Ke98AUn5r8byA80eASPmOokQ58NSZNoo/0algO5AcVgF18bv8MMTDvEKkKq0AZwJROfTzhZbubKtC/vVAvIg38SWjvgJ4t1BOfNHsTpE7gtZk/McpsQG4EJJvlaBkZVuANm3o+pNAgpMgy4XU1m+Bs4AUL0WLL2X+U8B5QBM84q/SSbwrj3svcJ3Hhq+DwsBicAxQeHRrkcJVltDKlWQErnzxqmvBQyLFg44kDxmBIsBJKkgwPtXp19wqa8Wr/SLxdjArOxZCu4M7tHSekcLl6dPAocC9hWJKFSoBRUDpfROQ7lM6mCWgECnyfr9wlR4PFgmkEeBg0XTKZyqBVAKpBFIJpBJIJZBKIJVAKoFUAqkEUgmkEkglkEoglUAqgVQCqQRSCaQSSCWQSiCVQCqBVAKpBFIJHFQS+H+/ltjN4UnHcAAAAABJRU5ErkJggg=="}))),A9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M15.6224 10.8496C12.7776 10.8496 10.4704 13.1568 10.4704 16.0016C10.4704 18.8464 12.7776 21.1536 15.6224 21.1536C18.4672 21.1536 20.7744 18.8464 20.7744 16.0016C20.7744 13.1568 18.4704 10.8496 15.6224 10.8496ZM7.5904 16.0016C7.5904 11.5632 11.1872 7.96955 15.6224 7.96955C20.0608 7.96955 23.6576 11.5664 23.6576 16.0016C23.6576 16.296 23.6416 16.584 23.6128 16.8688C23.552 17.6528 24.128 18.2512 24.9056 18.2512C26.2272 18.2512 26.368 16.5488 26.368 16.0016C26.368 10.0688 21.5584 5.26235 15.6288 5.26235C9.6992 5.26235 4.8832 10.072 4.8832 16.0016C4.8832 21.9344 9.6928 26.7408 15.6224 26.7408C18.7712 26.7408 21.6064 25.384 23.5712 23.224L25.7792 25.0768C23.2864 27.864 19.6576 29.6208 15.6224 29.6208C8.0992 29.6208 2 23.5216 2 15.9984C2 8.47515 8.0992 2.37915 15.6224 2.37915C23.1456 2.37915 29.2448 8.47835 29.2448 16.0016C29.2448 19.0256 27.8048 21.48 24.912 21.48C23.6384 21.48 22.864 20.8976 22.4416 20.2448C21.0272 22.5232 18.5024 24.0368 15.6224 24.0368C11.1872 24.0368 7.5904 20.44 7.5904 16.0016ZM15.6224 13.6464C16.9248 13.6464 17.9808 14.7024 17.9808 16.0048C17.9808 17.3072 16.9248 18.3632 15.6224 18.3632C14.32 18.3632 13.264 17.3072 13.264 16.0048C13.264 14.7024 14.32 13.6464 15.6224 13.6464Z",fill:"#C12126"})),E9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("g",{clipPath:"url(#clip0_12821_41628)"},React.createElement("path",{d:"M15.2076 15.2051H0V0H15.2076V15.2051Z",fill:"#F1511B"}),React.createElement("path",{d:"M31.9999 15.2051H16.791V0H31.9986V15.2051H31.9999Z",fill:"#80CC28"}),React.createElement("path",{d:"M15.2076 32H0V16.7949H15.2076V32Z",fill:"#00ADEF"}),React.createElement("path",{d:"M31.9999 32H16.791V16.7949H31.9986V32H31.9999Z",fill:"#FBBC09"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_12821_41628"},React.createElement("rect",{width:"32",height:"32",fill:"white"})))),S9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"32",height:"32",fill:"url(#pattern0_12804_171889)"}),React.createElement("defs",null,React.createElement("pattern",{id:"pattern0_12804_171889",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},React.createElement("use",{xlinkHref:"#image0_12804_171889",transform:"scale(0.0025)"})),React.createElement("image",{id:"image0_12804_171889",width:"400",height:"400",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAFpQTFRF/94AQDgAYFMAcGEAgG8An4sAr5kAv6cA38IA79AAAAAAEA4AMCoAkH0Az7QAUEYAoIsAIBwAv6YAr5gAX1QAUEUAf28AsJgAYFQAoIoAj30Ab2EA0LQAn4oAoAfD2gAABhVJREFUeJzt3YtW4joYgNFSRIGCDjjOub//ax7xMoMIQ8A2+buy9wOI7bfaNGmhTQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABQxGUT7bHpzM7u9my9Kb+HILAfXrSbT9Z0uiYYP8t5lMr29L721I5AtyFuV9V3pLQ4ub5CXKA/f5qW3OrD8QXYmmpxSJshLE+P8McWCPGuNJ5+VDLJcrr6V3v5wygZZLjeSfFQ6iCQHSufYkWRP6RivNubw70qneNeamLwqHeIn561XpTvscZDslK6wz0jSxAqyXN6U3h3llU5woK1+gat0gUOb2geS0gE+qb1I6f3/WeVDe+ndf0RXdZHSe/+YqouU3vlHdRWPI6X3/XEVj+yld/0Jm2rnI6X3/CmT0jumlNI7/qRaV1FK7/fTKn0kZbvncd1uSmf4pd5h5INZnCQPpfdFDIvvKTtrdfMb07Z9mky+Xva29L4I4ilhX7Upf2hx/7h+mnRXB+mctF4sEnZhUpA397Nrh6bpYNs4Ljf9Btm5X0+uKVLzotaeRf9Bns2vuF6odnp4YDVEkGfbiw+TSicjh9qBgjwfJuf/9AcOkRfnB5FrgzTN42UnLofIzpBBmubHJUEcIjvDBmnmlxwk5iLN4EGaRcrc802tq74fDB3kktNW18sWjdzwQS4oYljPEqSZpgaxfpInSNIa5o5zVqYgi9RrLeesPEGa+8QgzlmZgqSsKu9s+visccsUJPWkZW6YKUgzSwvi66C5giSs8+8YRLIFWScFscCYLUjK7XszkYxBEufr9T4L/yZfkG1SkD96+rTRyhekSTpnrfv6tLHKGCRpRav6y6yMQZKus576+rSxyhgkaRBZ9fVpY5UxSMJDeVazcgZpktazevu0kcoZJGn1pLdPG6mcQZIeZax9ZihIMDmDJN2lEkSQUAQJRpBgBAkmZ5CkOyKC5AuStNzb26eNVM4gSV877O3TRiraWpbFxXxBklZ7q3/sJNr9EDeo8gVJumPoFm6+IEkXWR5yyBck6amT6r8hEu25rOp/gyZfkKS7IR4lDfZsb/VXvfmCpH1BpPqLrHxB0r5CVf2jvdG+QVX7Wm+2IIk/QlP9c4vZgiT+mEN/C5mjlSdI2hzEtLDJFCT1V7PMQjIFSfsGrjPWTo4gfyb2cNHbZAmS/OtM1d8t3Bk+SPLx4Yy1M3SQeer4sTQrfDFwkO0Fv0pa/d3bF4MGWSQPHzsmITtDBrnk8LDy/ma4IJf+HP9fvW7XaA0V5OK3IzhAXg0SZHHFO11cYr3qP8hids0bdsxB3vQbZLGdXvW+o5pfUXygryCL+e1X3lX598CbOR5fCvI4m83WN9P2YfXFNxka0X9K/EHdYdX8lvtDIYKYgvwSIcg/pXdCJAGCuA2yr3wQV7wfFA/S/Vt6F8RSPIgXd39UOsh/pXdANIWD6HGobBA9PikZpNPjs4JBNq6vjigXxPzjqGJBvnvd1FGFgnRugJxQJojh46QiQf5xujqpQJDVtvRGR5Y9iNHj93IHcbY6I2+Q1tzjnJxBWoPHedmCdD8cHSkyBVn9MHakyRGkmzpXJRs8SPe0dXBcYNggz8eGGpcZLkj3tDaMX26QIN1qOhPjOj0H6VbtjRZfcT5ItzlrMmnb6Xr2ODdgfFnOtyOQQJBgBAlGkGAECUaQYAQJRpBgBAlGkGAECUaQYAQJRpBgBAlGkGAECUaQYAQJRpBgBAlGkGAECUaQYAQJRpBgBAlGkGAECUaQYAQJRpBgBAlGkGAECUaQYAQJRpBgBAlGkGDOv/FckKyezgbx0seszr+isyv9L1bl/myP5fKu9D9ZkzYhiHNWPvOEHg6RfOZpL3n27uBMtqkv3d58K/2v1mCbMn68m3j/Y//afavughyvTR7aE4wx17m0QDIntOsIEowgwQgSjCDBCBKMIMEIEowgwQgSjCDBCBKMIMEIEowgwQgSjCDBCBKMIMEIEowgwQgSjCDBCBKMIMEIEowgwQgSjCDBTIbi6XcAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABi1/wFTI773KELi/AAAAABJRU5ErkJggg=="}))),k9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("g",{clipPath:"url(#clip0_12821_41635)"},React.createElement("path",{d:"M21.3332 0H12.7998C11.6265 0 10.6665 0.96 10.6665 2.13333V8.53333C10.6665 9.70667 11.6265 10.6667 12.7998 10.6667H19.1998C20.3732 10.6667 21.3332 11.6267 21.3332 12.8V19.2C21.3332 20.3733 22.2932 21.3333 23.4665 21.3333H29.8665C31.0398 21.3333 31.9998 20.3733 31.9998 19.2V1.06667C31.9998 0.48 31.5198 0 30.9332 0H21.3332Z",fill:"#51A9E3"}),React.createElement("path",{d:"M10.6667 32H19.2C20.3733 32 21.3333 31.04 21.3333 29.8666V23.4666C21.3333 22.2933 20.3733 21.3333 19.2 21.3333H12.8C11.6267 21.3333 10.6667 20.3733 10.6667 19.2V12.8C10.6667 11.6266 9.70667 10.6666 8.53333 10.6666H2.13333C0.96 10.6666 0 11.6266 0 12.8V30.9333C0 31.52 0.48 32 1.06667 32H10.6667Z",fill:"#51A9E3"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_12821_41635"},React.createElement("rect",{width:"32",height:"32",fill:"white"})))),_9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("g",{clipPath:"url(#clip0_12821_41620)"},React.createElement("path",{d:"M2.18571 28.0118H7.28571V15.6689L0 10.1832V25.8261C0 27.0261 0.985714 28.0118 2.18571 28.0118Z",fill:"#4285F4"}),React.createElement("path",{d:"M24.7285 28.0118H29.8285C31.0285 28.0118 32.0142 27.0261 32.0142 25.8261V10.1832L24.7285 15.6261",fill:"#34A853"}),React.createElement("path",{d:"M24.7285 6.19747V15.6689L32.0142 10.226V7.2689C32.0142 4.5689 28.9285 3.02604 26.7857 4.65461",fill:"#FBBC04"}),React.createElement("path",{d:"M7.28564 15.6689V6.19751L16.0285 12.7547L24.7285 6.19751V15.6689L15.9856 22.1832",fill:"#EA4335"}),React.createElement("path",{d:"M0 7.26897V10.1833L7.28571 15.6261V6.19754L5.22857 4.65468C3.08571 3.06897 0 4.61182 0 7.26897Z",fill:"#C5221F"})),React.createElement("defs",null,React.createElement("clipPath",{id:"clip0_12821_41620"},React.createElement("rect",{width:"32",height:"32",fill:"white"})))),O9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"24",height:"24",fill:"url(#pattern0_16769_11064)"}),React.createElement("defs",null,React.createElement("pattern",{id:"pattern0_16769_11064",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},React.createElement("use",{xlinkHref:"#image0_16769_11064",transform:"scale(0.0208333)"})),React.createElement("image",{id:"image0_16769_11064",width:"48",height:"48",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAAAXNSR0IArs4c6QAAAERlWElmTU0AKgAAAAgAAYdpAAQAAAABAAAAGgAAAAAAA6ABAAMAAAABAAEAAKACAAQAAAABAAAAMKADAAQAAAABAAAAMAAAAADbN2wMAAAEHElEQVRoBdVZXXLTMBBeJU6Ap3KDBFqeCScgN2hu0DykM7xRToA5AeGNGcI0vUG4QXOD8EzLpCegeQISx2LXkRNZli1LtjuDZzxerXZX32f9SwA1PuvR8wt6ayyi/tDr85PFenQ8raukRl2BD3H5GOWzukjUTqC12c4EmbO/oxNfyJV9WGWRcgJRMwLOX0YmrPGq/eXHIsfcKqv2GojQcH4fo2I89GO5iu/DEADoxWA5wOnvN91unC77rZ2AAHskA21um305XUaunUAzaAxSADn8PwSANYYpAgBdjc5JVWsNbEYn/f3o4wTP7FQrAQ7cN0MoZ1EbgfX58RChvS4Hz+xdCwE+7D4FDmNz8eUtaiGwaTZ9hJYYOmWoHNi1nC4jV04g6rgM3uaBYhDuZ+Y8uyJ5lRKgpoMdd2oqmEFjYbIpml8pAdF0OqbCW5Oba5NN0fzKCBRpOhEoxr7H4NbnL3qx7PqthEDRphOB5DxqPhF4Ho5dgcd+lRAo2nR2hfLFbpgNZzGIMl+vjDP5UtPBjps76shlUAfetNgA5wljX5H9suTSNcCZ3YQVeMESwQ8FoE7ZvUEpAtGRSbxVzPpFiv7xH7hH1X6J0Qi8oWJilWRW1pIxteON11yiKnPGlcwlkb8DYB8lxaoVbLtsuiRi1o9zDaw97wJLswRP+Bj5yc+RiCXrCsvOBBhwFUjRQlOdF2MNizqrdk4ExFLZ9PfvsLC5eFdqwUq6I2IqanPSaRhlHAY8O/YVbiPH6tmPmLio1s60rruRaarNy1Fad2LReX9pYq4YsIFpnSPmjRn6p2pw622fPfm8XGpiZ6qsm9C62exroq3wr/dN4MkvskFbktXH5bjFmgAw1lMLBtz7qk0mbXPQkC1uaj4cNEIKDwdgqbwMhTUBHDH6Sqy79uTnWNEZk+0gIJ9k52YPQCCFjAO1Z+tHTFxOvnJh1jWAzj05ADRgkUhbJLAZLRXzZGwlU5d0IZAYPRhPgdCVo9eJvYGUmYgt6TNFFwJzORqH0Pqv7f3TA0Ii9t4uR3AhoITTjUqKSUayAdydvIhpTUBzpjOIdlgZILPU5IOz+amcr4ktZ2tlawKMsZkS6UhsKRV1flLnE3rBNN8rnWtNQExYybaKB1k2i7HINn34NbddRhAdawLkhGsen76Jh8NlkUvt3S4OLhO+mNDGVI00aabRFVKJe1/dyvIO0fh0vRrvsmjfG61zOPgYvJMqgMOn9tfbi5S+gMKZQLQqbXnXFVxgzNuT234BrFoTpyZEkejvtjZBH8Vkf6DMgg/+vW+4Hx4UNNeaOdeAHI1u4HGR917WmWRajT6a3PgmO1O+cw3IgQkIbUZQdyXrM+Qrsq0CPMWvpAZkoFGHpatVup2Mz4zoQJeH060XzlyGSjm+Kv8Dpn4zXhDA20IAAAAASUVORK5CYII="}))),R9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"32",height:"32",fill:"url(#pattern0_12821_41641)"}),React.createElement("defs",null,React.createElement("pattern",{id:"pattern0_12821_41641",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},React.createElement("use",{xlinkHref:"#image0_12821_41641",transform:"scale(0.00144092)"})),React.createElement("image",{id:"image0_12821_41641",width:"694",height:"694",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAArYAAAK2CAYAAAC7A9/sAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAHAuSURBVHgB7f0JcJz3fef5f56nDzTQOBoHwZsCKYmUJdKiLdmWY3tM2dlMYse2tJmqSTLJWKx/IkWViQjVf/e/W7P/je2tzVR2qnZN2ZWSJe+W5M2Ms7ObRPIh5yjbomM5lqyLMklJJCUSvEAQxNE4Gmj08Tz7/H4gJJLigaPv5/1StRsEaVlRCPDT3/4ejgAgxFJP9PeZ53xeKcdRyvdlf+z4nn2W63QEn0uZD82z+TUL/1X573x8gZ+yn1+adPC/lr7kM475nC7+3ID9tPm850/Y/yXHXficfY5G7XM6vXtvWgAQUo4AoMGYsGqCquuqz/OCMBqEVN9xbrjw032y4XVZIbRepIPEO2CegzCeDv49DJhAbMJw8LH9nAnCQQgeEAA0EIItgLoShFYbSItF7fSKxT7HdW+4UFHdOV9B9fuEJQgCcFD1XQjAvuedcNzIfvPjWMyGXyrAAOoGwRZAzTHhNai49gUf7ryo2kpwrQ5T/bVB15X/mhNx91+o+O4n9AKoNQRbAFVjAmyhoJ2+V9x5ofK680KbQJ9QD2zodRztX6j0EngBVBPBFkDZXVKBdfzb5wOsv1ON2+Madu8GXt97zXEiA9N/uHefAKDMCLYASuriKqwc9/agAruLCiys+ZaGAUfeT6juAigHgi2AFUk+3h9UX4u7CLFYliDsBv+5X0FlV05kX+b+vfsFAMtEsAWwaKYaWyxql+/7n6SdAGXjOPtMG4PjOD+JRLSPqi6AxSLYAriqC/tgdwVV2E9SjUXVLFR15f0kVozsSz/I/l0AV0awBfAOgizqxICp6hJ0AVyOYAuE2IVtBfcQZFHnbNB1Xec7kbz2E3SB8CLYAiGysLEgCLBf8E2Qne+RBRrL/KqxfcEH32HNGBAuBFugwdmqbK54nxz3Cwx7IYTSvswwmvcd2haAxkewBRpQ6zf7d3nyPun4zj1UZYGLUM0FGhrBFmgAl7QYeP59oioLLMY7vblTf7D3aQGoewRboE4tDH75vv8FR/4uEWaBlXi3ZSEWeZrduUB9ItgCdeSiLQZfpF8WKJ8g5D5NyAXqD8EWqHGEWaC6CLlA/SDYAjVooWfW8/w9tBkANcRxnqQnF6hdBFughphtBgyAAXXBDp45jvMttisAtYNgC1SZOWObK3hfdDz1izAL1KMB39WT8YL7LfbkAtVFsAWq4LKjCbsEoDEEVVzJ+xb9uEB1EGyBCqLVAAiNdBByn6ZVAagsgi1QZlRngdAbkON/hZO+QPkRbIEyoToL4D0c50mquED5EGyBEqI6C2BRHGe/5D2Suf/rTwpAyRBsgRIwgTZX8Paw2QDAEtm1YbGi8xXaFICVI9gCK2DaDXzf/xLVWQArRpsCsGIEW2CJbLtBVvcoYk/c7hIAlJYdNqNNAVg6gi2wSLQbAKiwAc/R3qai+x3aFIDFIdgC15F4tL/PjXIZDEAVOc6T9OEC10ewBa7iQv+saTe4TwBQCwi4wDURbIHLMBAGoOYxaAZcEcEWuIBAC6DuOM6+IOB+hYALzCPYIvQItADqXhBwJe9bbFJA2BFsEVoEWgANiFVhCDWCLUKHQAsgBAZcuQ9PPbD3aQEhQrBFaBBoAYQOPbgIGYItGh6BFkDoBQE3VnR2syYMjY5gi4ZlDitEIv4TBFoAuIA9uGhwBFs0HHP6Np8LKrTy+wUAeC8CLhoUwRYNwwTaXMHbw+lbAFgc39WX4wX3WwRcNAqCLRpC8+MP7XF9fVkEWgBYKlaEoWEQbFHX7GCY5z8R1B36BABYCQIu6h7BFnUp+Rf9OxXzv8pgGACUli/n6bjnPEx7AuoRwRZ1hcEwAKgQBsxQhyIC6oTpo/WLvrmis0sAgHLb6Tn+PfHPf3gi/71f7BdQB6jYouZxYAEAqm5Ajntv5v69BFzUNIItapZtO8jbPtr7BACoPtoTUONoRUBNuqjt4C4BAGoF7QmoaVRsUVNoOwCAujEQ89y7qd6ilhBsURPYdgAA9crZG4s7X0nv3psWUGUEW1QdRxYAoO5x3AE1gWCLqjFV2lzOf8KRf48AAPWP4TJUGcNjqIqF4bDgldVOAQAaBcNlqCoqtqioxKP9fZGI/wTDYQDQ4BxnX1C93U31FpXkCqgQU6WNuN6rhFoACIHge30++J7f/NifMBSMiqFii7KjSgsAIUf1FhVCxRZlRZUWAED1FpVCxRZlQZUWAHAlvpyn457zMNVblANbEVByyf/9oS+6sudwbxEAABcJKmq3sDkB5ULFFiVjr4fl/a8GVdr7BADA9bD3FiVGsEVJcD0MALBMA47n7p5+cO8+ASvE8BhWLPnYnq/6nvcsoRYAsAx9vus92/LNh74kYIWo2GLZLgyIPSXf53oYAKAUBmKeezetCVguKrZYlovWeBFqAQCl0mfWgiUf/5P7BCwDFVssiR0Qy/nB20U+uwgBAGXk7I3Fna+kd+9NC1gkgi0WLfkX/TsV9Z+ilxYAUCG0JmBJaEXAopjWA0UZEAMAVJRpTTjOxTIsFhVbXBO7aQEAtYHWBFwfwRZXZbceuD5VWgBAraA1AddEKwKuyJzFtVsPCLUAgNrB1gRcU0TAZczBBfn68+DDhAAAqC3Bn03OPbEvfET5773wEwEXoRUB77hwcOEJ+f4uAQBQ6xxnf6zo3EtrAhYQbGGxygsAUKcG5Lj3Zu7fu18IPXpssbDKi35aAEA96pPvvcpKMBj02Iac6acNyvZfFgAAdcyR8+v03YJWhJC6sJ/2KfppAQANhb7bUCPYhhD7aQEADY59tyFFj23ItD3Wfw/7aQEADc7uuzV/5gmhQrANkZZvPvQlT95TwYcpAQDQ2FLmzzzzZ58QGgyPhYQdEvP13wsAgBAJ/uzbFf/cXan891/4B6Hh0WPb4BgSAwBAZqhsXyzm3JvevTctNCyCbQNjSAwAgEswVNbg6LFtUOaSGKEWAIBLmKGyZ1NB4UdoSATbBmSnQKMeoRYAgPdiY0IDI9g2GHMel80HAABck92YwBnexsNWhAZiVpq4vv5cAADgujjD23gItg2CdV4AACydWQdGuG0cbEVoAMnH9zwh379PAABgeRznycz9j+wW6hrBto5d2FH7bBBqdwoAAKyM4+yPxZy72XVbvxgeq1NmRy2hFgCAEgr+TM3nvFdZB1a/qNjWIQ4vAABQVhxyqFME2zpDqAUAoCIIt3WIYFtHCLUAAFQU4bbO0GNbJziRCwBAxdkTvMnH+5lnqRNUbOuACbXzJ3K5JgYAQBWk5bh3Z+7fu1+oaQTbGkeoBQCgJhBu6wDBtoYRagEAqCmE2xpHsK1RhFoAAGoS4baGEWxrEKEWAICaRritUQTbGkOoBQCgLhBuaxDBtoYQagEAqCuE2xpDsK0RhFoAAOoS4baGEGxrAKEWAIC6RritEQTbKps/k+u9KkJtKI3d/+cC6kHOK2q2kNNUbk6e79vPDc9Ma65YsB+fm51UJp8LHnPBx1OayGV1fmZK04W54L+X1+GxYfts/j5AgyLc1gCCbRXNh1rO5IYZwRb1ouB7ygUhdq5QkKf5YDsdhNxccT6oTuWzNuRmg8dk8LEJsZO52eDXF5X3CjqbmdRM8LlsMfj8XNb+/fJByB3NZmwgzgZ/X/Pri56n4oW/P1CHBmKee3f6wb0DQlUQbKuEUAuDYIswmQkqvuZxeOy8fTZh+MXhkzozndZwUOU1Vd2FcAzUMcJtFRFsq4BQiwUEW4SJqcYWfN9Wbc3Heb94oVo736JgnseCCu5odkbHJ0d0bmZKw8Hj4NhZTds2h5yAOkG4rZKoUFGEWgBhFXFdRYLnpkjk3U82X/prTGvCyGxGHU0JncmkdXY6qUxQ3Z2Yy2rCtDYUi7aFoRA8TGsDUKP68q73bOrRfsJthVGxraDUE/2pfM5/lVCLBVRsgcWZmJu1A2k/O/u2Tk+n9cuRQT17+ijhFrXNcfbHYs7d6d1700JFULGtoHyeSi0ALEcsElUyFtfm9m51xJuDim6zuhOtmszPaiw7o6GZKU0FVV1T8c17ZryNATTUAN/fmc/LrPP8gFARVGwrJPn4nieC3+D3CbgIFVtgZU5Pj+s1W709oqPp87aSO5V/dyUZUBMc58nM/Y/sFsqOYFsBLd986EuOpy8LuAzBFlgZs1bMbFgwVdupXFbjuRm9MnxKJ6bG9MvRszqeHrU9ukD1OXszDzzysFBWEaGsCLW4lv/ujl8VgOWLuRG1ROPqTiTV09yq3pY2FX1PEcdVzisoX5zfiusGP15oT6CWiyq5K/aFjyj/vRd+IpQNFdsyan78oT2ur70CroKKLVBeZl3YkfSw/urIyzo4Oqjh2Wmdm5kWUC2e/IdnH/g62aBMqNiWSdtj/fcEdYEnBVwDFVug/OKRqB0262vv1o0dPepKtNhDEKayy4lfVJoj59ebPvvRn+SeeX5AKDm2IpSB2VXryXtCAICqSsaa7GNTW6cyhTl79OGFoYELO3Hz9vADUGm+6z2VfLz/7sz9e/cLJUUrQolxgAFLQSsCUDm+P99lO1vI2bO9p6bH9dzg23rqrdc0ODNJiwIqjetkZUArQgmZAwy+5/+cUIvFohUBqBzHcezDtCaYgbNE8Jw37QhFz+7GNbE36kYunP71BJRZynP8e5K/9dFvZb/zfFYoCVoRSiif958i1AJAfUg1tejTG7bZRyY/p+8eP6AfDBzSq+fPaDAzKaAC+uazg+4WSoKKbYkkH9vz1SDU/raAJaBiC9SIoJLbHlRt17a0a2tnr21ZyBWL9tgDUGZ98c/dlcp//4V/EFbMFVbM7KoNQm2/AAB1Ke5GtKW9Wx9Z06d/sf5mbetcrbZYk4DK8PvnswRWiuGxFTJrvTx5TwlYBobHgNo1ms3oxOSY+n/6tzozPaHxuRkB5eTKvXfqgb1PC8tGxXYFWOsFAI0rElRxmyJRfWDVBr2va7Wt6EbdIHpQE0KZmEyRCrKFsGx8dS4Ta71QClRsgfrw7OmjOjx+Tv/Lyz+0xx3MujCgTAZicfcD6d1708KSsRVhmSIR/yn5hFoACINtqV6tS7bLdRy9cO6EfjF0Umcy5A6UBZsSVoBWhGWwDd6+v1MAgFBY19phB8p+/YZbtaN7nToTzQLKxvd3zW9bwlKx7muJmh9/aI/ri/ePURKs+wLqS0dTs+5a06fdt971Ti/fyelxAWVwV/RzH54ofP8XzwuLRsV2CZJ/0b8zCLV7BQAIPVO5NevBPr1hq5KxuF0ZBpSSK+erycf7eYd4CQi2i2SGxRT1WesFALB+o+9W/f4tH1L/zrvVnWhRczQmoOR87yk2JSwewXaR7LAYGxAAABdZ3dKm7T1r9R8++jl9fsv24MetAkqsLx/xWS26SATbRWBYDABwJWbPbUc8oZ09G3RL52rd0N6plqByG6MtAaXEMNmi8ZV3HclH++9z5NNXi7JgeAxoDG1BuN3Rs0733ni73hgbsoH33MyUgBK6K37PRwby333hNeGqCLbXYPpqXdeey00IKAOCLdBIHLvnNhpUa7sTSfuZ4dlpFXxPQEn42pX87Ef/S/aZ51mifBW0IlxF6on+1PxlMaUEAMB1mHO7iUhM/3VQtf1M3636+LotQeWW+hFKKpV3vWdNRhGuiMtjV5HP+V9iWAwAsBw3pVbpge0ftx+/NHxSPzx1RECJmMtkpt92t/AeVGyvwBxhCEJtvwAAWAZTue1oSmhTW6d6m9vsgBlQMr5/X/Njf0JOuQLeI7mM6auNOP7fC6gAemyBxra9e50Nt6mmZh0YHdRcsSCgFBw5d8U//9F/yH/v+SHhHVRsL3JRXy0AACVhKrYfW7vF9txuTa0SUCIpe7yBfttLEGwvQl8tAKDUeluCYBuE2o8H4fZmgi1Kq28+u2ABrQgXmH21cvw/F1BBtCIA4XFzqldrW9sVjUQ1MDGmnEdbAkrirujnPjxR+P4vnheo2Bqmr1aux0UPAEDZmGEy05bw/u51WptsV2dTi4BScOV8KWWyDFj3ZbCvFgBQCbd2rbGP01NjemPsnH54mjVgKIlUPuKbg1IfUMiFvmLb8s2H6KsFAFTUZzbfpk9t2qr1yZTiLl2BKAHf35l8bE/o330OdbBt/Wb/LsfTlwUAQAW9L6jabu9eq85Es2IEW5SM39/6aP8uhVhog63pq/U9/wkBAFBh7bGE7lx1g/7Tr/1b7dpwo1a3tAooBd/1ngjzCrDQBttIhNVeAIDqibqukrG4dvZstBsTgBJZOLkbSqEMtna1l+/fJwAAqsQE2+5EUv9y0/v0mRtuE1AyQcZJ/u8PfVEhFLrGHtOC4Lq2BYEtCKg69tgCSMaa1BY8YkHQHcpMaio/J2DFfO1Kfvaj/yX7zPNphUjoKrZBqP0qLQgAgFph2hFM5XZze7cS0ZiAEjErwEI3SxSqYNv8+EN7HPn3CACAGrKutUN/tOPj+rUbbtGOnrUCSsL3dzU/9if9CpHQBFvbguCz2gsAULve37Ne21K9dretE/wFrFTYrpKFJthGIvTVAgBq26fW36zf7Nuu5mhMEZdgi5IIVUtCKIKtaUEw5XgBAFDDUokWbe3s1e9svUO9zW0CSiJELQkNH2xpQQAA1AvTgtCTaNVtXWvUEU/YlWBAKYSlJaHhv2JoQQAA1JOe5qT+zS0f0ic33KT3da0WUCKhaElo6GB74RDDLgEAUGc+uGqjfQAlE4KWhIYNtqYFQa45mwsAQP25o5dgi9KzLQlP9DfsO9kNG2wjERNqOcQAAKhPm9q69JHVN9i2hL72bgElksrlGrcloSGD7YUWhPsEAECdijiOWuNNurVrjda0tDJIhpIxx6paH+3fpQbUcF8ltrxOCwIAoAH0Nrfqd7d+UDenVqk5wrldlI7vek80YktCwwXbfI4WBABAY4gEVdrmaDyo2q7Vr6zbIqCE+uYzU2NpqGBrB8bkh+omMgCgcZmzuma37YbWlPrauwSUlt/faC0JDRVsI67/rAAAaDAfW7tZ9974frXFmhSj1xYl5Ecaq2rbMF8ddmCMFgQAQANKRGNKxZtt5bYteAZKpsF22zZEsGVnLQCgkSUiMa1uadPntuzQumS7gFJqpN22UTUAu7PWp1oL1LKJ3KwOjZ7Vtw+/LNSu5qAyaIaVUolmxYO3vOORqFJNLXYi36yeWtvcofamJnU2Nasp+JzrOEJlNLlRfWrDzXp97KzeSp9XtlgQUCKpfN7/avC8W3Wu7oNt8vH+nfK9+wSgps0VChqamdK3jxBsa1lH8DZ3R1NCa4OqYEsQcs1jTfD2t/l8TyIZvG3pyFOrkrG4YkHQIthWjnmRsa2z176oiLkRgi1Ky/fva320/1vTD+7dpzpW/xVb339KAICSMJV18zg5NX7dX7u5vTt4e7zVPn9kTZ+2BM87etYpGW3imEAZmBcR5gXGr216n1piTXrswM8ElNKFQbJ9qmN1HWznB8a8PgEAKm4yl33nY9+Xjk2M6nB6OKj2dgRVxRbbE2qGncy6KpROd1A5X91Cny3K4MIg2ewDX9+rOlW3wZaBMQCortFsxj6OT47q+aET73x+e89aeynr0xu26Vc3bFVvEHBROubFwm35rIByuDBI9mR699606lDdBlsGxgCgNh0PKrdDmUkdHDmr7x07oI6mZt3S2as7e2+wPaKrmluF5etuTurGYo99AXF2etK+uABKKHXhItnDqkN1GWxttZaBMQCoSZl8zj5GZjMay87YYbRsIaeu4C30RGR+4Mw8m60K9OIund1QEWvSumSH0tlZAaXn9ycf7/9W5v69+1Vn6jLYuq5dSQEAqHEL7Qqm//a7xw/ZbQqf37xdn+m7TR9YtcGGMyxdMgi2X9i8Q5Nzszo9XZfvGKPm2ax1t+pM3b1UNgNjjvx7BACoO/liUQdHz+qpt1/T/3Ho53pu8JiGZ6aEpTFndU0fsxkka4o0xEp61Brf39X6aP8u1Zn6+2pgYAwA6lbOK+pAEGzNw6yuigWhzDwzYLY0UTdig21XosVunZhjpy3KwHe9J4KnzaojdVWxnV/vxcAYADSCbDGv/+vIy/ryL36gPf/0N7Zym8nPCddn7mKYfcE3p3p1x+qNAsqkz6z/Uh2pm2DLei8AaCymymgOQew/f0YHRwd1bHLUXqebmGOV1fU4wV9m8M5cg1vbQp8yyufC+q+U6kTdBFs36n2Rai0ANJ7xuRm9GoTbz3z3G+r/p7/VowefExbnjt5N+tUN2wSUUaqQ8+qmalsXwdZUax1PXxYAoKGdmh7XzwaP6UenjtgKLq6tLZ5QT8v8GrWIw+o0lIcv7amXqm1dfBVEIrQgAEAYmNaEn50Ngu3pI/bQA66tPd6knub5zQgR03gLlEcqn6+PVas1H2znjzH49wkAEBr/+c2X9KfPP6N//fdPaCqf1ZzH1P+VmGMNqaYWbevqDUJuQkDZBFksZTJZjav5YEu1FgDCx4TZoZlJvZUe0Wvnz9jTsQWvKFzKCaq0ETla09Km1qB6C5RTPuI/oRpX08GWai0AhNf43KyOT47q3//8+/q7E68rU8gJ79UcjeuuNZvtTlugrOrgaENNB9tIHbwyAACU15nptPadOarHD/2z8F7mCtnt3evU3ZQUUG5+jb+TXrPBtvWbwSuC4JWBAAChZiq3h8eH9U9n3hLey1whW9/aGVRuYwLKrsartjUbbH2f3loAwDy7LWHwuG1L+Ou39gvvMocaNrV1qqe5VR0MkKECarlqW5PBtu2x/nuo1gIALnd4/JyOps/bHbc5hsku0Z1IakNr3RyIQj2r4aptTQZbT/WxKw0AUFnPnj6qfxp8S88PHVeeFWCXWN/aoff3rBNQCbVata25YJt8tP8+TucCAK7m+OSY/uat/XYFWCY/J8zrTLRQsUXl1GjVtvYqti69tQCAq0tnZ/TK8GmNBc/ZIlXbBa3RJhtugUqpxaptTQVbqrUAgOsxvbUTuaz+/y98X3/55i+EeaZau6NrvYCKqcGqbW1VbCP+FwUAwCKMzWY0PDsdPKZU8DyFXTIWDyq2zQIqqdaqtjUTbNlbCwBYimOTYzo6fj54jKjgsyEh1dRsB8iAiqqxqm3NBFv21gIAlurk9Li+feQlTc5lFXZNblTJaJNWN7fbZ6BSaqlqWxPBlmotAGA5xrIZHZ0YtkNkYW9HiLiuPdbQGourKRIVUDE1VLWtiWAbVGvprQUALNlodkYvnTtlH8cnRwVpa9cqdTfTa4vKqpWqbdWDbeLR/r4g2d4nAACW6aXhkzqSPi9IqXhzULGNCaioGqnaVj3YRmr43jAAoD68dP6EjqbPCVJHU4sSBFtUgV8D262qGmyp1gIASuHgyNkg2J7XVD4rz/cVZuuS7WqLMzyGKggyXcpkuyqqarClWgsAKAUzPJYp5HQ2M6mcF+5rZIlo1A6RAdVQcL37VEVV+51PtRYAUEpnptP68ekjyod8O4JZ9RV3IwKqIXi/ZE/qif6UqqRqwTbiFu8RAAAlYs7sHk0PK18Md8W2g+ExVFeqkPP6VSVVfK/C3SMAAEpkMgi2ZjNC2PfZmmCbYI8tqqiaVduqBNvko/33Bf9n9wkAgBIZy87o5XOnNDqX0Wwxp7Ba29qu1hjDY6iqVD5fnXfmq1OxdRkaAwCUlqnUmiGymXxes/nwtiMkXIbHUAvcqqz+qvjvfHs+l2otAKBMTkyOazSbUVgl43HFIwyPocqqdLCh4sGW87kAgHI6OzOh8bkZhVVzNB5UbOmxRfVV48xuRYMtK74AAOU2mZu1O23Dyqz6ijiOgKoLqraVHiKraLDlIAMAoNwOp4d1aiqtMGuKRNURTwiotkqv/qpsK4KvXQIAoIwm57KaKcwpzCJygsot7Qiovkqv/qpYsGXFFwCgEoZmJjWenVWYxYKKrem1BWpAKp8r3qcKqViwdSIeBxkAAGU3OpuxfbYAaoTjfkEVUpFga1Z8+b52CgCAMpst5JUvFgWgRlRw9VdFgi0rvgAAlTJdyGm2GN4DDUBNingVuURW9mDLii8AQKV5wduEOa9gCisCUH3Bl+IXKzFEVvZgGxGbEAAAlVX0i7YloUiwBWpFRYbIyt+K4LK7FgBQWQXP03Q+FwRbTwBqRAWGyMoabM3QGCu+AACVZloRTLj1RcUWqBkVGCIra7BlaAwAAADvKPMQWdmCrW0Q9v2KTMABAACg9pV7iKxswTaflQm1FTuhBgAAgJpX1iGy8rUiRGhDAABUR0ssrvXJDsXdqMJozitoKqgwATWpjENkZQm2F3bX7hIAAFXgBH9FXVeu4yiMPM9TniMVqFVBRkw9EWTFMihLsI263n0CAABVkfOK9gIbUKsKufJkxbIEW18ObQgAgKpYm2xXZ1Ozwmo2CLT5INgCtcyX9qgMSh5s2V0LAKimjnhCyViTwspUaz0OU6D2pcqx07bkwZbdtQCAamqNN6k5Gs6hMWNiLqtsgf5a1IEy7LQtfSuCr10CAKBKEpFYEGzjCqtsscApYdSFcuy0LWmwbXvs391DGwIAoJo2tXWqO9GisDo/M61MnsEx1IVUIaudKqGSBlvPiZRtLxkAAIuxpb1Hvc3tCiuGx1BPPNcv6RBZyYLthRO69wkAgCoy1dqOpoTCKufRioD64cjutC1ZO0LJgu2FE7oAAFTVumQqCLdJhdXJ6XFN5Lg6hrqRKuaLJcuQJQu2TsSnDQEAUDXm0lgyFg+qtc32OaxMfy2tCKgnntySbdQqSbA1JWTf96nYAgCqpikStW0IG1o71NkU3uGx0eyMZvJ5AXXD93eWqh2hJMGWNgQAQLV1xJu1vXutDbhhdmxyRONzMwLqSMnaEUoSbGlDAABUW1u8yfbXhl06CLXZIhVb1JdStSOsONjShgAAqAUbglD7hc3vD3V/rXF4bFijsxkBdaVE7QgrDra0IQAAqq091qRVza3a2JZS1IkojMzAmKnUzhULKnis+0LdKUk7woqDLW0IAIBqa21qUk9z0l4dM9sRwsgEWxNqzUndAntsUYeKnlP9YOv7/i4BAFBF27vWanN7t8JsKDOlw2PnBdQrx9EnV9qOsKJg2/bYvzPJmk59AEBVrW5pC31vbS6o1M4U5gTUsVQhq51agRUFW8+J0IYAAKi639l6pz69cZvC7OzMpN5MnxNQ1yLeitoRVtaK4GuXAACoEnOIYUf3WnUFzy3RmMJsNDutk1NjAuqZ72tFa7+WHWxbv9m/K/if7xMAAFXS2TR/lKG7OanmaLhbEUayGZ2YGhdQ51Ktj5qMuTzLr9gWPdZ8AQCq6qbUKv3R9k/Yq2NhNzA5plfOnRJQ91xvl5Zp+cHW1ScFAECVdCZatD7ZodUtrXIdR2E2nZ/TTPDI5HMC6p0vZ9kzXMsKtolH+/t8f2VTawAArMQn1m3R7as2qLelLdTBNucVdXxyVKPZGU0XCLZoBMu/QrasYBsRQ2MAgOpoikTVHVRr/6sN2+zgWNgVPU9H0+c1kZsV0CjyueJ9WoZlBVuujQEAqsVcFjM7a7d1rraXxsLOnM8dnp2yF8eAhuG4y8qaywq2XBsDAFTLLale/dH2j9tg251IKuxmCzk9M3BIZ6YnBDQMf3ntCEsOtvNrvrg2BgCovN7mNm1oTdlQG49EFHamWjtbzAUV2+mgYpsX0ECWdYVs6RVb1nwBAKrk5s4e3b5qve7ecLPttQ27nFfQdD6no+PnNTGXFdBQlnGFbOnfFcyaL18AAFSM6altDR79t+/SxrYuYd7A5KheGWZ3LRqT7ztLXi27pIota74AANUQdVxbob051Ws3ImDeZG5OEzkqtWhUS++zXVLFNuYWdnoruOkAAMByfHrjVt174+1sQbjM/pHT+vHpIwIaVTFfNO0ITy721y8ppXpOhDVfAICK2tG1zp7ONUNjmOcFb59m8nM6PzutczNTAhpVUFBdUjvC0npsfQ4zAAAq67Obb9XH1m7R7T3rhXkm2JpLY2+nR/TG2DkBDWuJK2YXXbE1/bXB371PAABUwLZUrz6/ebt+e+sd2t7DhbGLFX1PB0cHNTY3I6DB9aWeMBl0cRYdbDmjCwColJgb0Zpku27tWmv7ajvizcK7zP7ak1NpZfI5AY2umC/uWuyvXXyPbcRf8soFAACWY1vnKlut/f/d8WnhvSZys/rGwed0ZPy8gEa3lD7bxffY0l8LACgzs682GY3rd7beoR0964T3Mr21p6fT9iBD3isIaHhL6LNdVMWW/loAQCWYUNvb0qrf3XantnfTV3slY9mMzkxN2KptzisKCIFF99kuqmJLfy0AoJzibkSbO7p075b3654bb1dbLCFHuJKXh0/pp4NvCwiTC322T17v1y2ux5b+WgBAmZhQa1oQPrhqg7Z29mpda4dcx5HjEG0vly3kNZKd1vHJEQFhstg+20VVbB35O30BAFB6pvXABNr/8Cuft2dzE5GY8F5mE8Lw7LReOndSzw+dEBAqi+yzvW7F1tzo9X3tFAAAJWQqtXet6bODYvff9itqjsYVc5d2NyhM5ooF/WDgkE5NpQWEkOmzve75wesG22KusEsAAJRYLBLRlvbuINxu1kfXbrZBN0L7wVVli3kdGB20Q2NAGBVz15/5uu5LY993d9HBDwAopV/dsFV3rt6k/89tHw0qtTHaD64jnZ3R8YlRfff4IeWKrPhCOPmOtyt4evpav+b6wdZ1bg/SrQAAWAk3qJK4rqNNrZ3a1rlaO7rXqTuRFK5vLKjSHpscUSY/JyCsfAWZ9Dqu38y0hKW4AABcTSIaVU+iVX8QVGnv3nCzDbdYnOcG39aPTx0REGq+f92Zr2v22CYf72doDACwImZ1V3eiRZ/pu1V//P5P2FC7LnndGRAEcsWiRrMZvTl2Tq+cPy0g5FLXy6bXHh7z7TJcAACWzQRbs6d256oN+uT6G22lti3eJFyf5/vK5HMazEzYM7pA6F0nm167FcFx6a8FACzbXWtu0NZUr75y12fskFicdV5L8ub4kB76p7/RmekJAdB8Nr2Ga36H4TADAGCpYm5EqXizNrWl9PF1N2pj8Gw+5y7y2CXmmQrt6SDQjmdn2YQALLjO7NdVv8twmAEAsBxmH+2aljb91k07dd/7PqLf3/ZhtUTjiroE26U4nB7WK+dP6kwmrUwhJwDWNQ81XLViWygQagEAi5eMNWlzR5f+9U0f0K1da2wvLeu8ls4MjKXnZvT3J17XL4ZOCsClClmbUfdd6eeu+vLZ94oEWwDANTlmN63jqLOpRaubW7U1tUq3da/V9u51WpfsUFOEntqlmg2qs+dmpnR6Kq2hmUkBuJTvXj2jXvU7juO4n/QZHAMAXEPEdZSMxvWvb/6A7lrTp89v2SGszPDstL5x8DntHzmj88HHAC5zjQGya7yU9vsEAMBVbGnv1sa2Trv54IOrNmpT8DFWxgyMvTl+TgdHz2o6x5Ux4IquMUB29VYEBscAANewub1LH1u7WX+04+O6e8NWLomVwOnpcR0Ogu2BINgyMAZc1VUHyK5YsW39Zv8u3/MEAMDFbu5cpZs7Vunja2/UB3s3aG1Lh5LRJkUcR1i+hYGxp94+oF+cOyEA15bPqy942n/5568YbP1C8IvZygIA0PzlsOZITIlozIZaMxh2Z+8mG3I74glh5RYGxk5OjdkrYwCuzZUdIFtcsHUcj8MMAACrNRrXHas32r20X9iyw1ZoUVoMjAFL48u5YsvslSu2rsMpXQAIsSY3op7mVm1u79adQai9MajU7ggqtTFO4pac6ad99fxpBsaAJQiC7RU3I1z5O5TvMzgGACFm9s+ubzUncbfod7fdYQ8tNAeVW5TegdFBvTA0YAMugEW6SlZ9T7A1U2b5nHfVU2UAgMbUFmvS7UFVdkfPen3hph1a09ymjniL2uJNYjSs9LKFgsayGf3fR17Wa0G4BbAkKZNZ07v3pi/+5HuCLad0ASA8oq4bBNqEDbU3p3r0vq419hzuTR099kRuE60HZZErFjQ+N6P9I6d1fjajibmsACzNlU7rvuc71vwpXV6bA0AYmKthd6zaoDtXb9IDOz5mWxASkZhQXiNBmDWh9t///PsanmFYDFiOC6d19138ufcEW8d3+nxyLQA0rOZozA6FmQMLv7bpFq1padeaZLvtoY047HqshL88/KKOT45qNDujgl8UgKVzHKfv8s+9t2LLRgQAaGhxN6J1QZg1Ww4+v2UHVdoqePn8Kb2dHlEmzxYEYLmutBnhvc1TbEQAgIZiguzWzt4gyK61YfZ3tt1BmK2S54eO6y/ffFE/HzzOyVxgpXy/7/JPXRJs2YgAAI3BDIV1NSW1qa1Tvc2tui0ItWZ918bgEQuCLi0HlXckfV5vjJ+zLQg5j/YDoAT6Lt+McEmwZSMCADQGE1xv7uzRZ2/Ybs/fmiMLqK4fnTqsn509FlRtTwhAaeTz6tNFp3UvCbaOV0j54lU8ANQb027QEovrY2s328GwDUFl9sZUjza1dqkrkRSq5+TUuD2+8HcnXtfJyXEBKB1XdjPClYNtEGqp2AJAHTKtB62xJttD+5E1N+jmVK/WJTuE6pvIzdrrYgdGBoOP2VcLlJLvO30X//jS4TGHjQgAUC+296zVlqA6e9fqPhtmb0qtsscWUDsePfCcbT/4wcDrAlB6vuPccPGPL6vYisExAKhBrhxble0LgmyqqVndiRZt61ytNS1ttjrb2ZQMfj4i1Iap3JwGp9M6NHZWp6ZoPwDKxr90PuzSii2rvgCgJrmuYw8r3BVUZrdfaDcw1Vpz9ha1ZzCT1rNnjurvBt6wp3MBlIt/SVH2nWDLqi8AqB0mxKbizbq1a7Xu6L3BDoPdlOpRT3NSyWiT2uNNSkTjQm1al0zZ4xenpsdtf+1zg8cFoCwuWfn1TrC9sC4BAFBhjvnLMZsNonbHbDwSUU+iRZ3B431da/T+nnW2OntLEHJRH9qCFx7mYYb5Zgp5HZsY1fDstDzftw8AJWUKs5cG2+CbaoqvNQCovJjr2grttq5ebUv16q41m3X3hpvVGgSj1iitBvXst7feoc9t3q6Hd96tP/zxt23AHc3SmgCUUjFn+2wHzMfvBFvfM3vAHAEAyqspqMo2R+Nqb0poc3uXVre02+e1yQ6tam61bQdmdVecYbCGEItE1RFP6Pe2fVhvjA3ppeFTtj1hrlgQgJXzVOxb+Pjdiq3v9PnkWgAou6Yg6KQSCXvi9hPrbtJt3WuCKm2fXdXlOnwjbjTmBUq8qVm/f8uH9Mr50/Yt0sPjwwRboEQcx+lb+PjdrQiucwM7bAGgtJpsz2x0vs2g07QarNGvrO1TZxB0zBBYcyxuWxFMfy2htvHd2rla/+0HP6WtqR69PnZOPzhxSCMzGeW8ogAsjy/nnWs077YisMMWAFYsavtl42qJxtTb3KpkEFyTwY9vDkKtOXW7pWP+YX5NkxsVwiUR/L4wjxs7VtkWhbOZtPafP6vRbEbZYl4AluGiXbbRiz7ZJwDAitgQm1plH7+79UPqbWm1j454s4AFn1h3o7KFgj6x9kb92Yv/qJeGT+r45KgALMe7u2wvKhf4fQIALJpdzRU8upuT2pDssOu5tnevDSq1bUGYbdPGtpSt2JqeWuByprpvhso+t/k2u6P4p2fe1oHRs5rIzQrAkvQtfGC/2yYe7e8zM2UAgMUzvbGm5cAEWDP8taW9R5/pu9UG2UQkJuBabLBtatZvbt6u9/esl+/7Ojk9TrAFliH1RH9fevfeARtso1H1+eRaALgu0x9rthnctfoG3dG7UTe0d6kz3qJYZL56a3pnGQHDUm1q69QD2z+uNcl2PTd4TH/91n4BWLx8fn5WzAZbxyukfLkCALzLXASLuI5dw9UWa9K61nb1tXVpbWuHbutaG7x93Ks1LW1B1ZbTtli5jqaEbgqq/tO5Ob2dPq8TQfXWfMzGBOD63PlZsf022HpeNCWXki0AXMyEWjMMtmv9jbpz9Sb97rY77YWwONsMUCa/sm6Lbl+1Xv9ivRkq+wftHzmjczPTAnAdTvGiiq3r9bHBFkDYmd7Y9guV2Tt7b7CXwMxbxOuCCm1PImnbDKIO726hvMw6sPXJlL54y0d049lj+i9HX1Emn1OWgw7AVfm+02ee58sOvlI0hQEIOxNaTUXWnLT98Oob9L7ONdres1ZAJUWC34dmw8YHezfKC/6A/v7AQbsaDMDV+Y5zg3meD7ZcHQMQUqtbWrWptVOf3rhNn9uyXRuDCm1rtElAtZmVcb+26RZ9bN0W7d2/T39/4g17ihfA1dlgy9UxAGHSnUiqq6nFthn0tXeppzmpHd3r1BprCqq2EQG1wg2qt2ZfstnAkSsWlQ8ewzPTmi7MCcC7nAu7bOd7bOWnqNcCCIvNHV26uaNXv7v1TttqYJbkA7XIdRy7deM3+7brV9Zs1sTcrJ4fGtD0JMEWuJjvzx8am6/Yck4XQIO7a80N9oDC9qAye+fqjfbErXmrN8mqLtQJM7y4Z+cu3ThwSC+eO2FbEwC8492tCKIVAUADMftng0KX3T1rNh3Eg4cZBNvW2asPrtoUhNs1XAZD3TGDjTenVtnHeHYmeHF2XHPForLFvABcCLapJ/pT+Rw7bAE0DnPq1oSA39v2Id0RVGfv3nCzPbJg3tYF6t1v9t2mT6zbotZYXM8E1dsDo2cFYP6sbjSbVSrCWkYADcJUZbsTLbqxo0cf7N1gL4WZ4RsiLRqJecfBDDyenBrXXKGgIxPnBSCo2Eaj6vMp2AJoEHevv9n20X52861UadGwTIvNb/TdKj/4y5ziPXKAYAsUsurjLiSAumcGwz64aqNdaL9z1Qa75SAZbSLUouGZU88bW7s0MZfVS8MndSRNwEW4Rf2C+kQrAoA6Y9oLTB+teZj2g50963XX6j57/hYIi97mNlu93dGzVgNTYzqTmVQmzyowhJMTKVKxBVCftnWu0q9u2KZPbzSXmTYLCCuzuu6B7R9XS/Auhekp//aRlwWEVdRxvT6OMwCoB4mgMmVO3poTuJ/pu1VbOnqCH7OtEDBuD961MIOTB0YH7XWyc7NTAsLE9x0qtgDqh3nLdWvHqqBCu0W7b71LAN71/p519vGDgdd1QIMEW4RSVL5S7MEBUMu2dHSrK6hE/c8f+U31NLdqVUurAFzZf3PHp/TXb+1Xzivq8PiwgNBwlIr6DlfHANSudckObUv16ob2LvUFj5ZYk11MD+DKzIu/m4J3NsymkBOTYyr4ngoeez3R+Hw5HbQiAKhZbfEmfX7zdv2rm3baVV4Arq812qRfv+F99uLez86+bVeBTeSyAsLAlePcIACoEU7wl1nh9fG1W/T72+60oXZze7cALF7MjQZfR3H179ylT6y70X5NAY3O9/xONtgCqCnmpkLcjdh1Xh9e02crtZ2JFgFYvEjwhWS+jj61YZtu6uixHwONznVpRQBQQ8yqItNH+9VP/NfakEwpRaAFVmRTW6fuu/Uuu+/5c99/TECjcx35DI8BqDqzo9ZcDdvRtVbJWJPiUSpMYVbwihqfm9XJqXFlC3mGn1YgEYnZM9Nb2rvV2cSLRTQu31fK9X2HYAugqqKuq96WVt13y0f039zxq7an1lxRQnhlCjm9PHzSXtEanp3mTOwKmK+t7T1r9Qe3fVQfXLVBQOPyU7QiAKgqc3Qh1dRsh1w+srovqCg1C+HjB3+ZyuzxyTH7+MeTb2hoZkpDmUm9OXZOW1OrtLWzV5/tu1WR4IVQ3OWPr6UyWxJyxaJ90fDK8Cm75xZoNHxnAFBVUcdVKt5sh1xMj62Z5Eb4BG8h2qA1mJmwJ2G/e+yg5ooFZYt5++M7ezdpOghk/9WmbbK/Qxh9XrJtnav19sSItqS7dWDkLMEWDYlgC6Cq9gSV2g/2brBDLggXL0izU/msfnz6qF46d0rfPvzSO2H2ci8Nn7SPHwwc0l1r+vT72z6sO1ZvsP2jWLxPbdxqT1K/NTmst9OjGs3OCGgkUTE8BqAKOoIq7abWTt3Q3qk1Le1COJiWg7ytzE5pZHZKb4wN6VDwODYxaj9f9K89JJbJ5+xA2Y9OH1bEdexlOl4ULV4keIck5kZ056pNtp3jucHjAhqI7bEl2AKoODOl/dnNt9q+WoJJeJiWg9lCXq+eP/VOldb8OOcVFvXfH81mNDqU0fNDA8F/r6CPB9VHfv8sngm15vH7t3xY3z1+kGCLRsPwGIDKMwNi27p69dtb77AT22hspko7U8jptZFBHR4f1g+OH9LgzITGgrfBM4W5oErrazn+7sQhuznhqbdfU//tu7SxLaUOhg8XZUNrSnetuUF/eNtH9ddvvabxOVoS0BgItgAqJh6J2B21a5Lt6m1updLWwEz/rHmY1gHzPDQ7oUOjQ/rlyBm9eO6kZot523qwEqYlYWR22obkgalRJaJRuzrO/B7DtZl/RxtbO/X+7nX6XvBCw/x7Y1cwGgHBFkDFmO0Hn998mz69YZu2pnqFxmXWSg3PTumHp47YSfylthws1kzw95yZntC/2/f/6I7VG/VbN31AX9iyXUn2IF9XX3u3fTw7eNRuSTiaPi+g3hFsAVREMhYPKrRd+kzfbdrS3mNXe6GxzBUKOheEWbOey6ztOj4xqmOToxrPzthtB9cbDFvR/3bw9x+YGLdbE8x1rRs7euzuW1zf3etvVsyJ6FRQAZ8LXpCY1hGgXhFsAVSEeevTPGg/aFxZL2/DkQmXB8fO2ipgpcx5RR2fGrWPja1dtv2BYLs4d6/faltG/v7EG3a3rU+uRR0j2AIAlm0iN6uj4yP622P77VvZB0fP2j20pnpbLf/X0Zf04rkBvTB0XL93y522l5TDH1fX29KmD6++QX+0/eN6/NA/M0iGukawBQAsmqmE5oK3/c1b1ua4wnRuTienxjQ8M6UzmbTOBc/VNjGX1fDstP3nMud52+PNirnzg2V4L/PvxZy13tDaYU9cM0iGekawBQAs2nRhTm+OnbPXwr537KBtPTCfqzWnp9P2cWB0yJ7j/R8+9Gt2tRyXyq6MQTI0CoItAOCaBqcnNBa8PT00M2lbDUyYPRIEn5HstO3JrGXpudngn/Wc/urIy/r85u3a2Nal1hhtCVdjLpKZNhKCLeoVwRYAcE2DmUm9PTGs/aOD+t7bBzWem9VsIad6YPpFzT/reBBwd3SvVXciSbC9hjt7b7BtHNLrAuoRwRYA8B4Hg7ejD4yd0Y9OH7Gnb6fycyoUPXsprN6G5rPFgl0/9uUX/k6fWHej/r8f+JR6mlvtwRBcanvPWjv8dz6b0XffPmD7qIF6YoJtOnikBAAIpfkrYZ6tzJogM5Wbsy0Hb4wN2bekTSis92Ei888/mp3R4XRQeR45rQ/2blRXU5Jwe5lEJKrORItu7VqjH548bE8hl3P/MFBi6SDYOkGw9Qm2ABBS5hqYOXDw7SMv6+VzJ/XS8HyF1muwQGPaEl4J/m/79z//vv7DR3/TDpWZVVe41M2pVXZDwn964xfK5LKarpO2E0DzwRYAEDajwVvNY7MzeubEQZ2fzQSPKR0eP6+R4GPTk+o36JZ+M+xmKrd/efhFnZxO64u3fEhNkZhcxxHmRR3X7v392LotQeV+SM8PHRdQLwi2ABBC5tLUcBBmTQ/tqam0Tk6NKwxM20UmqEbvP3/G7mz9na0ftDtuCbbvMv8u4k5Em9u77e8Tgi3qCcEWABqcCXOmd/bFC20Gjx34mW09MENCYWUOSfzo1FF97nuP27aE21etV1ssIbzr39xyp23d+NnZtzU8M22H8IBaF3UcP81daABoLGZYamwuYyuxZt/smekJDUyaS1yjygdvxzMQJOWDoDaenQ3ebh+0Q2QfXt0nvCvmRtSTSGpH9zo9N3eMYIs64KSj/vzwmAAAjcME16Pj5/XMiUNBlfakXdmFS5l+W3MG+EenjtiNEATbSzVHYuptbtNn+m612zEmcqz+Qm1zHIbHAKAhmOtg5u31l86f1OHxYVudNQNh54KH6ZPE1b18/rROB8H2lq41dlPC1tQqYV4q0aJPb9im7x47EPx+mraHLoBaFnWkNPVaAKhvmULObjo4NjmqV4ZP6+2JEZbrL5I5u2ta8kzbxo6udcK74m7ErkRLxprY+Yu6EPV9f0IAgLpRCN5CN0HWbDR4c+ycfj50XG+lR2zFFsszkZvVf3z5hzqbmdCnNm7VFzbvEN71O9vu0Ka2Tu3d/xMBtSp4fTpAKwIA1Dgz7JUrFu052yPpYVthNCH2yPh52yM6PDsd6g0HpXRsYlSrW87qVzdstftto64rSBuSKa1NdgSV27hmC3m7aQOoRVHHV9pnfR8A1CxzGcwM7hwPQtdfHXlZB8fO6sDIWaH0Xj1/SiPBC4Xf2/YhdSdagmDbJEjbOlfba3Tm3wmrv1CrHPkT0eA/0wIA1BSz0WA4O6XXx4bsRoNzM5P2JCzDYOU1F1THzXq0P3vxH/Wvbt6pj63tU0uUcGuk4i361MZt+vuBNzQU/H4Eao7PVgQAqDqzc7bgFzVXCB5e3rYdHJ04by+DvTZ6Rq8EVcShzKTtq0V5FYP/X0zl5vTL4N/7J9Zv0Vh2Vi2tBFujLd6kG9t7lIiamlhQG2NVKGpQ1PfcAbks6gaAahnLZuye0BeHT+mXI2f07Omj9m1fjyMKVWH225qVaU+9/UudDV5Q/Lcf/LQg24bwe7fcqX3B78+RmWlN80ILNcZxfIbHAKDSzDnbkSDMmp7ZwZm0Bqcn9VbaDILN76I1P+8znFN1Zhdwkxu1a8C6E0k7OBVmruOqKRLVLV2r7T5b804CUGuiTlQDFAUAoHLmvILOTKf13Nljenn4RBCc0rZii9pizg+b9o9Twf9/EkGgI9g6wb+HmN7XtSZ4l2GGYIua4xcjA9GgKMDwGACUiQmxuaAC+91jh3R8aiSoAo7qtfODmspl7c/NFQoqUF2oWaZN5E9f+L76d96tXRtuUlssobD79U232GMNZkMHUGuixaLSEdb0AUBJLBxPMJsLzCUw0ytrQuwvR0/rVFClNZXaE1NjdmAM9WEwM2nbREzl9tagWhl2zdG4bc3oiDfb3cr8XkatiCY40AAAJWVC7YHRszoYPJ4ZOGjDkOnRRH0yoc30PT83eMwexiDYmmAbU08QbLf3rNHBkbN2xzJQI9LR7IN7B5KPPSQAwNKZ4GOGwA6MDQYBdszunR3Pziqdm7GhlhVdjcEEuFPBC5Q/vO2jagmCnalahtnqljZ9tu82+3ucYItakd699509tqbPNiUAwJIUfc/um31p+GRQqR3UzwaPC43n5PSYNC3bYhJ13CDYKtTMdoQdXevVEafnGDXDzoxd+NJ0gh/4BFsAuI7ZYj6oyGb0neMH9fMgxL4dVGvH5jLKBp83g2BobH/6wjO6Z8uO4HG7wiwZVKy3da2yvbamNWG2kBdQXc6A+c/5YOtoQL76BAB4D8/37bEEM0R0Pjtt35I2b00fNrtnp9Oaod0gNMwKsKGZqeDt91k7PBVW5vJYIgi0q5pbbbg9Pc2CJVSX41xcsfX9EwIAXJGpxpq9nd8+8rL2nTqqN8bPaSpPX2EYHQhe0OzoOquDXUP62LrNCquI66rVbdKdq2/QnFck2KLqPM+fMM9sRQCAK5gLwuzwzLR+OXpWh8bO6u2JEb05ds6ufTJBF+F1JD2sZwYOhTrYLtia6tUgoRY1IHitNWCebbB1pAGONwLAu8zRBLOD1gyEUaXFxYZnp3Vg7IwgdTe1aHVLu4Cq8y9qRfA9d0AuC5YBwOycNS0H3zt20PbSThfmBFzM/B4xD7MBY2NbSpvaOhVW23vW2q8Rsx3BDJDlvKKAanAcf8A822DruoW0J86PAQgns81gIj+r10bO6Mz0hA4GVdrpoFrLqVtci6namrVXYQ62RmusSVs6ujUQhP1cdkZAVfiRdyu2nhMdEN/AAYRU1svr6Ph5ffPgP9urYebSFHA9ps+2PahU3rl6o8KsJRbXR9Zs1kzerMIj2KI6ghj7brAtFpWOULAFECLmsIIZAvv+8YN20v2ng2/rdFCtzeRpPcDimJVvh+yGhLP2LfmwMuH+rtV9en10SIfTwwKqIZqYHx6zcdac1RUAhMRMYX59l+mTPDw+bAfETKV2fG6GHkEsmjkle252WienxxVmTW5Ma1ra1RyNynUcAdWQ3j2fZS9a92UuNvh9AoAG9/zQcf1yZFCP7P+JMoU5FTxasbA85pTyudlJfabvVoVVczRir5D1trTai2RTvOuByhtY+OCdYOs4ftpn5xeABjVXLNje2aPp8/ru8QO2Wms+5/GNDyswMTdrn01bS9SJKOqGr6/PdVw7RNfZ1KLu5iTBFhXnOPPndI13gm3wvf214GmnAKABzXmF4C3jMf3o9BE9/fYBdtKiJEw7gnmYF0mKmD9UwxhsHSUiMaWamtUTBNuByTEBlbRwdcx4t2LrK+3TGgOgwZgLYhNzWf2v+39sh8RMpZZQi1L7zrGDur1nXfBYr7Da3N6jO3o36aVzpwRU0sLVMePdiq1dbEuyBdA45ofEMhqcngj+sD1p92yyjgjlcDQ9rI2tHQqzzqBi251ICqg0358/zmC8E2xd+QMewRZAAzFDYvtOH9VfvvmS7fvz2NeNMvne8YNan+zQ3Ru2KqzWBv/339jWI6DSHC+yf+Hjd5qB8l50vwCgAQzPTOm5wWP67rED+sW5E7b/0WdIDGVk2l2GzeqvqfCu/uoKqrXrgqp1IhJVxGE5PirHj8wfZzDeqdgmEkrncwKAunduNgi2Z4/pO0GwNYM9QLlN5GbtC6pTU+nQntjtTrRoNgi2ZkOC5+dV5LUkKiQWe7fH9p2XVOnde9Pzu2wBoH79x1d+rL37f6LHDj5HqEVFnclM6MXhkwqzuGt22vbaa2RAhaTnM+y86MU/wy5bAPXKDImNZGf0+thZHZ8ctW8NA5VkqrZmpVzYdcablQhKaOJLEBXgOM4lrbSXBFt22QKoVz8fGtAPBg7ZvlqgGo5PjNlTzWEWi0S1uWOVBibDfWYYlXPxDlvj0oqtNEDBFkC9+T/f/IV+MXRCLwQPoFpmCzkVfC945yBjB6haY00Km4jjaEMypWQ8LqASXEfXqNh67oBc1uEAqC8vBNXag6NndWxyVEC15LyifWQuTGKHM9i66kw0215boBIcuZcE20v3cUTEyi8AdeOZgUP6433/t/7qyCs6EARboBb83YlDwe/HQYWR2YjwsbVb1NvcJqASgjdJ0hf/+JJge/G6BACoZc/bKu2gHRQDaom5bjedn1MYuY6jZCyuRDSmGFVbVEA0oatXbFn5BaBe/OWbv9APBl4PAi59tagtp6fTQbidVRiZYGvO6po2DNNnDJTZJau+jPf+rnOCqq2vPgFADTqSPq+jwcMMio3PhXsCHbXptZFBbWhNKcxM1db02k6FtHKNyrh81Zfxnpt3jue/JgCoUea6k+lfNINi43PhrIqhtp0JKrajIV/7Zaq1zVE2I6Dc3ptZ31Ox9R1/wC7+AoAa842Dz+lHp47YB1CrzMW7kdlpnZga1/pkh6Kuq7BZH1Sst6V6dXh8WEC5+L7JrJe6QsU2wmYEADVlOp+zAzmvDJ/W2cykgFpn1n6ZPtuiH84VmolILKjYxgSU05Uy63sqtma67MIKPgCoCem5Gfv467d43Y36MBP8QXomM66tnasURqbHNpVoEVBOl29EMN5Tsb0wXZYWAFSZ5/u2p/apY7/Un734jwLqRbZY0PDsVGgrtm3xhHqbWwWU0Xs2IhhXbvy5wpQZAFSaCbZnMhM6NDqoA2McYED9yAXBdjqfVVgxPIZyc66SVa8YbNmMAKAWjGUz+tMXntFPzrytwekJAfViMpfVm2PDNuCGUWdTi1YnuD6GcrpyVr3i9mTfd/cH6VYAUC1mX+0bY0M6NZXWdI5dmKgv2ULettEUg3cdwsgMjrXGmwSUiy//ihXbK58FiWi/wvm1CKBGHE0P6/lzAzo5NS6g3szaHttpeSHtsTXBto1gizJyipGBK33+isE2FtMAmxEAVEPB82yl6/vHD+rvT74hoB7lvaK9uuWFtmIbtZsRgHKZfnDvvit9/oo9tvNTZs6AAKAKjgTVWrOvdmIuvMM3qG+mUjtbyIc22LqOq1gkIqA8rr7k4BrnUPyfCAAqzOyr/T9e/7mOT44KqFczQag9F7zzENZgaw40tESo2KI8fN8/cbWfu1awZeUXgIo6PZ3WwbGzOpo+b8+SAvXObEeYKYSzt891HHXEmxV3owJKyXH8fVf7uasGW07rAqg0G2xHz9qNCJMEWzQA02drqrdhtBBsYy4tCSita2XUq76M4rQugEr78ekjembgkAAAuJorndJdcNWKLQNkACrJbEIwPYnDM9MCGoXZYxvWlV9G1HUUCSq3QOk4+690SneBq2tigAxA+WWCt4d+FFRrze7a0WxGQKOYDX5v54pFhZFpRWiJxRVxXQEl4+iarbLXC7b02QIou2wxrx8MvK6TU2kBjcQcaghrsHWCv8yhBoItSsr3XrvWT1/7d5sT2ScAKLO54A//A6OD7K1FwykEobYY0lYE04AQj0RoRUBpXSebXjPYZu7fayq2lFAAlI1pQfjbt1+zp3MzhTkBAHA1F7LpVV3//QHHoR0BQNkcHT9v99YCAHAtjuPsu96vuW6wdTz/NQFAmbw0fFI/OnVEAABc2/Uz6fWDrePtEwCUWCY/p4MjZ+1RhpFZVnwBAK7N8d191/s11w22kXh0nwCgxGYLeQ1mJoLnnHJeOKfG0fiirhv8QcvwFFAKkbj2Xe/XXDfYcqgBQDmMz83qO8d/qWGqtWhgq1pa1ZFoFoCVuvZhhgWLXC7HoQYApZMPKrQTQbA9PjlKtRYAcH3XOcywYHHB1rt+TwMALFbOK2h0LqPnh05oPDsjAACuzVtUkXVRwTaop+wTAJTIobEhvT52TkCj604klYrTigCsVKy4uKNhiwq22Qf3DtBnC6BUhmemNZbNCGhUruPYwbFEJGqfw8r3ffsAVmggbbPo9S3hq40+WwClsX/ktN1fCzSq5mhc65IdoQ61nnxN5uaU98J5UhgltIjDDAsW/xVHny2AEjk/MxVUbacENKp4JKKOeMJWbsPKFGrnCgUVfYItVspbdHF10cGWPlsApWJaEc7PsOYLjSsWVGrbmxKh3mHrB3/NFYsqerQiYGUW219rLDrY0mcLYKWm83N6c3xYY9kZzRTzAhpVzI2oPdYU6oqtF5Rsp/JZFXxW+mFFFt1fayyx+Yc+WwDLZ/6gS89lNOfl7cdAo4o6rtpCHmyNfJFWBKzQEvprjaUFW/psAaxAtpDX8cmx4LkgoJG1xZvV17FKESeisDIvXqcLORUYHsMKuL7znSX9+qX84lhCTwsAlmm2mNfp6TTXxtDwWmNxbUimFHHDWbHN5Oc0PsfxFaxcxFvcxbEFSwq25kav4yztfwAAFhSDCs743KxyRYItGlvcjagz0SzXCee6r2yxoNkCffRYKWf/UvprjaV/xXmizxbAspgqzoHRM/YZaGSppmbt6F5nA24YmVBrBseAlXCcpc92LT3Y+i7tCACWZWGvJdt/0MjMtbFENGafwzo8Zo4zFIv01mKFikvPnEsOttGEbUVICwCWyPTWDs9klKfHFg2st6VVvc3Bo6UttMHWvICdZUgUK5OefnDvPi3RkoOt6bMNasP02QJYslyxoNFshr2WaGg3p1bZUBtm6bkZDc5MCFiu4B2+ZbW+Lq+r3feWtHoBAAyz/idTmGP9Dxpab3Ob2uPNCrPpfE6T9NhiBRzXX1br67KCbSweeVIAsAQm0JoH0Og+tm6LtqZ6FGaj2aBiOz0pYLmWckb3YssKtqz9ArBU+aJHpRahYCq2HU3hrtjOFXOaLfJCFsu19DVfC5a/YM8X7QgAFs30184VGSZB49ua6rXhNsym8nMay3KgAcuznDVfC5YfbDmvCwDAO8zA2Paetfa5I+Q9tpncnEZmMwKWpbj81bLLDrYXVjCw9gsAAM2f0V0bhFqzvzbqhvPi2AJzeSyTzwlYhoHlrPlasKKvPMfXtwQAALS5vVt3b9gqSIOZSR2fHBWwZI6zTyuwspeUXCEDAMDqTiR1c8cqhVnR93RuZkrZQl7Acri+s6IZrhUFW66QAQAwr6upRTenehVmRd/X8GwQbIsEWyxLeuqBvSsqmq4o2M6v/VpZyRgAgHp35+qN2tbVq3XJDoVZvljU4fFhTeY4zoClW+61sYutuLvdLzqs/QIAhFpXokXJaFPoh8aMmUJOOY+z2Vi65V4bu9iKvwJjCZl/CNoRAACh9fnNO7StM9xtCIYJtG+aiu0cFVssXSwWqX6wNe0IchyukAEAQses9uqIJ7Sje13ojzIYxSDYnpwaU6bAqi8sje/rOzZTrlBp3jMpOqz9AgCETpMJtk3zwXZ1C8G24HtBsB1nhy2WrBRtCEZJgi3tCACAMNrRs07/ZtuHBGm2mNf43AzDY1iWUrQhGCUJtrQjAADCxrQh9CSSuqGtS5ByhYKmcnPKe0W7zxZYrFK1IRilG9+kHQEAECK9La12YOyuNX2CNDw7rTNTEwKWqlRtCEbJgi3tCACAMLlrzWZ7kKE70SJIp6fTOjQ+JGCpStWGYJQs2HKsAQAQJlvau7W6uU3JWJMgjWZn7DldYEkc58lStSEYUZVS0XlErn+PAABoUGa9l9mE8Ntb77AfY97R9Dm9NHxCwFK4fmkPfZX0REo0ITNARjsCAKBh9ba02fVeyVhcsUhp60P1qOB5yuTnNJHLcpgBSzUw9cDekrUhGCUNtrYdwRdDZACAhnVzapV+o+9WdSeSaonGFHYm2Jo2hKHMpM7OTApYtDK0sJb+qLXvljR5AwBQK1a3tAbV2rX61Q3bhHmZwpwOjg5qbG5GwFI4ZdioVfJgO/3g3n2iHQEA0IDspbF4s21HwLxiULE1bQgFryhgCQYuZMaSKn3FNuBIjwgAgAbzF5/81/pM323Cu0ayGX1/4KBd9wUsVpAVy9K6WpZgW/DcJwUAQIPobW6z6716m1tZ73WZXLGg87PTyhYKAhYrWqasWJZgm31w74DYaQsAaBBbOrr0kTU36ObOVRxkuEw2CLZHx89rMsdGBCyOuXuQNlmxDMoSbC3fK+leMgAAKs11HDsw9ol1N+p3tt4pXOr1sSEdHBlUppBT3vcELIYvr2wbtMoWbGPxyJNiiAwAUMdMsF3X0q4bO1bZVgRc6tzMpEazGbvyy/d9AYuQLuUJ3cuVLdiy0xYAUO+6Ekn9T3d9TrvW36R1rR3CpV4bOaOXhk8KWDTHebqUJ3QvV75WBIOdtgCAOrU1tUofXd2njW0pBsYuYyq0E3OzOpoe0bHJMQGLVY7dtRcra7C1+8kYIgMA1KGbU726a02fNrV12vO5eFfhwu7ao+nzOj45KmCRyrK79mLlrdgaDJEBAOqIOcJw5+qN+lc37dRvb71DeK/J3KxtQcjk5wQsmuN/RWVW9mDLEBkAoF5EXVeJINju6F6nTe2d6mhKCO815xV0fGJUM8WcgMWKFSP7VGZlD7YMkQEA6kVHPKGbU6u05/Zd2tqxSriy0dmMvnP8gEZmMgIWxXGeLNfu2ouVvxXBYIgMAFDDnOCv5mhM/3LT+3T/9l+xRxiaIjHhvYZnpuz53DPBI+8VBSxGuYfGFlQk2DJEBgCoZY4jxd2I3t+zTr+ydovdgmDaEvBe04Wcxudm7SNHsMWiOPvLPTS2IKpKsUNkzi4BAFBjeppb9b989PPaEQTb3uY24er+/sTreukcu2uxBI73iCqkYi9HGSIDANSija0p2097Y0ePuhNJKrVX4fm+soW8hjKTOjk1LmCRBjL3f/1JVUjFvnrtEJlUscQOAMBi/NZNt+sPtn9U23vWsgXhGnLFooZnp/X80Am9cv60gEWpcCtqRV+WRuPuXgEAUAPWtXTYXbWfWHeTPrhqo3BtU7msPaE7W2DFFxYvVnTKvrv2YhUNtvY2MENkAIAakIhGg0C7Qds6e7WhNSVcm9mAYDYhzBbyAhalQiu+Lla54bELnCC5+66/SwAAVMkf3vZRfWztFn1+yw5hcQZnJvSNgz/T8My0gMWo1Iqvi1W8Q57VXwCAajHDYXetuUHv61qjda0dwuKYvbWDmQll8jl5vidgEQYqteLrYhWv2FomwVO1BQBUWFeiRb9/y4f06Q3b1NvCWq/FOpwe1v7zpzWa5dIYFsnxK9pbu6AqwTaW0NPBi76vBh/S1AQAKKuI4ygRien3gkB7Z+9GfWLdjepMNAuL96NTh/WzweMCFqmiK74uVpVlfaz+AgBUgtlJ2x5PaH1rh27tWqPbutbaSm3Mrc4blvUm7xWUyc/p7PSkhmYmBSyGJ7dqGa9qX9lm9Vc+5+0RVVsAQJl0J1q0s2e9/ocP/Uttbu+2p3KxeOPZWf3o9BG9MT6k87MMjWFxmjw9PavqqNp5Faq2AIByMa0Hvc2t+vVNt+rXb7jVnsmNRajSLtVELqufDR6zz8CiVGHF18Wqejew4LlPCgCAEmuORtXbEgTbvvfpN0ywbWlT3I0ISzORm9VzZ4NgO0ewxeJU+iDD5ar68jUbJPrWx/c87fv+PQIAoATuXn+z7ly90QbaTW1dao3TfrAczwy8rlfOn9LwzJRyXlHAdVW5WmtUtWJrFR3aEQAAK+I6jpLRuN1Te1v3Gr2/e712rtpg13tRqV0az/eDd1Q9HRo7qxOTY8oWC/ZzwPVUu1prVL3hyCzvTT6+Z5989toCAJanNQi1pkr7WzfttNfEklGqtMs1W8hpNDujp956TWemJwQsSg1Ua42a6KTnzC4AYDmSsfkq7b/cdIu9Jra9e11QoWVIbCXOzUzr+aHjmszN0YKARavG+dwrqX4rgjizCwBYHhNsN7al9Ntb79TnNm/XjiDYxmg9WJHh2Un97OyxINjOBsG2IOB6nCDDVeN87pXUzMtaqrYAgMUwwTURiep3t92hO3o36l+su0ldQdXW9NliZcyg2MHRIX33+CFlCjkBi1IDvbULaqJia1C1BQBcT0e8WWta2nTHqg26vWeDtqVW21Ve5sIYwXbljqbP642xIXttDFiMWqrWGjXViETVFgBwLdt71ugja/r0b7d9WOuSHTbQonT+7KV/tOEWWCxfXk301i6oqWDLhgQAwOXMWdzbu9fr/avW62PrNqu7KWk/R4W2dE5OjevA6FkNzUxSrcVSDGTu//qTqiE1NzpK1RYAcDEzILats1ef3rDNBluUnrkwdmB0UOPZGbu3FlgUx6+Z3toFNRdsqdoCADriCX2od5PuXL1JD+z4mJoiUSUiMaH0Bqcn9JPTb+k/vvxDAUtQc9VaoyaX/VG1BYBwcYK/Yq6rnkSr3Uu7s3edbupYZR9mC0LEoZe2XF4bPaOjE/TVYmlcuQ+rBtVksKVqCwDhYtplm6Mx3dq1mipthf3N2/t1YOSsgMUymxCm7t/7tGpQzZ5noWoLAI3NVGkT0ahu6Vytze1d+uT6m7SmpV1rku1ByI1TpS2zhYGxN8bO2f21wKLV0N7ay9Xsdw322gJAYzNV2rgbUV9bpz208PktO/SJ9Tfa62Fx237A1oNyWhgYMz22E7msgMWotb21l6vpg9pUbQGgsZgVXW2xJn1qw8225eB3t91pWxDibk3/cdRwGBjDckWLzm7VsJp+n4eqLQDUP3NEobe5LajErtXH1m4JKrPb7ZGFraleOxjm1vYfRQ2l6PvKeQU9f+64bUMAlsRxnkw/uHdANazmXyIXg1cGEdc/LgBAXTK9sjd39uiuIMze2rUmqNZupUpbJfkg1M4VC3r80D/r7fSogKWI1XBv7YKa/66SDV4ZJB97yJxr+6IAADXPhFZTof3Y2s3a3N5jr4TdsXqjOpta1BL8XDLaRP9slRwMqrQvDZ/S8fSY7bEFFq0OqrVGXbxcjsXd/nzO+0LwYUoAgJphNhuYjGrCaizi2taCVLxZa5Jt2tGzVjd39NqQu717rVBdU/k5nZ6e0KGxIXtdrOB5AharHqq1Rl0E2/TuvenWxx56xJe+JABAzYi4ThBq4/rUxq16X9cafXT1Zm0PAq25HIba8p8Pv6gfnTpiH8BSOJ6+Ug/VWqNuGpyicXdvULXdI6q2AFA17bEmdTS1aHVLqza0dtorYetbO7S5o1urEuZzKXtYAbXDVGfnCnkbaI9P0FeLJRuIyn1SdaJuvvuYqm3ysT8JyuDOVwUAqIrWpoQ2tqW0o2edrc5uae+2FVrULhNqzZ5aKrVYFsevm2qtUVcvqzMPfH1v8rE9QdXW7xMAoGxMe8Gq5lZbid3RtU6b2jvtRoN1yQ57Lcz00ppHNHigdpl9tU8f+6W+c/yAgGUYyNz/9SdVR+ru/SLHc3b7rv+sAAArZoa+4pGIfZi+WNNGYB6peItWtbRqfWu7bulco/XJlD172xOEXZeNBjXP8/3g4enA2KCOps/b87nAkgXVWtWZugu25mhD8vE9++RzkQwAVmpzR5dWB2G1t6VNH193oza2dmpTW6etzJrDCqhPuQv7av/sxX/U8My0hmenBCyFI+fp6fu/9qTqTH12+OedhxX1XxUA4D3m2wRctcYSag+qsGZ3rKnIJmNNwefidv1WMng2P+4NQq15Nj82gbYj3mwrt1Rl65sZEntjfMiG2kxhTsBSRb0ga9Whugy2mT/eu7/1Gw894jvaIwDAJUyotUcSWlq1Mai8djUn1RqE1dVBoF3dMn/a1oRbU6VFYzo2OWqHxajUYlnq5BjDldTtTpZok/vlfM4z18hY/wXUiUQkqnWtHcLVxRxXCXOdK6igLlRNVyWStgprtATV1XjwcUu0SatakjbANkfi6mxqVlsQXk2YbY7G7a8xrQTm72FO2i48m4tfpnrrOgx9NapHDz6nn55+Wz89e0zAMgzUyzGGK6nbYMv6L6C+xNyoupqSumv1DcLVmQAbD14AtATBdqEZIBWE1viFYGtCr/l3aQJtV/D5RCRmtxSYFoLWIPR2Nrco4cbojw0hcyJ3Yi6rgyNndSaTViZPCwKWoc7We12u7puoko/veZZBMtSrsfv/XABQCs8MHNKB0bP6jy//UMAyDWQe+Npm1bG6Pw/jBOVy3yXYAgDCyVwWM/20Pxh4XQeDYAssm+PeqzpX9+9VmfVfwdO3BABACM0V80GldvCdB7AsjvNk5v69+1XnGuKgdyzu9udz3hfEIBkAIESeHzquF4dP0n6AlarrgbGLNcR0gRkkk+rvOgYAAMuR84p2pderI2d0YIQqLVaozgfGLtYwY7OZB76+Nyij7xMAAA0uXyzYau33jh3QX7/1moAVGMjc//Un1SAaohVhAYNkAIBG9+b4sF4fP6tH9v9EZ6bTAlYi5rl3q4E01KJDM0jm+HpEAAA0oKn8nAamRm37wdH0ec0U8gKWy2SmRmlBWNBQFVtj/iKZ/wXJ7xMAAA1iKjen/3zkRf31W/v1yvBpASs0YDKTGkzDnaYxg2SO5+wWAAAN4uT0uH45esYG2nR2VsCKmYExO3zfWBry5qJpSfDlPC0AABqAaT34/sAhW6012xCAFbE7axtnYOxiDdeKsCAed3bnc3aQjN22AIC6NDwzpR+eNlfFDuml4VMCSqBhdtZeSUNWbA122wIA6pHv+/KCx2g2o7Mzkzo4clZvpc/bkAusWAPtrL0SRw0u+fieZ4PvErsE1KCx+/9cAHCxgldUppDTNw/+s14YGtCPTh8VUAqO4+ybvv+RhlrvdbmGbUVYUCw6uyOu/6poSQAA1LhMfk6DmUn98NRhvXDuhI5NjgkokXS02PjD9Q3birAga8vttCQAAGpfJp8LwuyI/urIy3r+7ICOMyiGkmnsFoQFDd+KsICWBNQiWhEAGKZSe3p6Qv/bqz/Wm+Pn7HUx02db9D0BKxWGFoQFDV+xXVCcL79zexAAUFNGshmdmBrXK+dP6eTUmA24ea9IqEWphKIFYUFogi0tCQCAWvTPZ4/pPx9+Uf/+n7+vl8+f1vjcjIDSCUcLwoLQBFsj88DX9wb1+H0CAKCKZot5DUyO2oMLfxM8/unM25ot5Gz7AVAq5liVzT4hEqpga9CSAACoNtNqMJWf0ytBhfbl4dM6NDakXPA5gi1KaCDuOQ8rZEIzPHax5KP998n1nhBQZQyPAeFihsRGszPq/+nf6sTkGFsPUD6Ov7tRz+ZeS+gqtkbmwb1PytO3BABAhZghsYGpMe0PqrQjs9O2HQEoC8d5Moyh1mj4Aw1XE0u4/fmc/0nJ7xMAAGX2Dyde18+HjuuZ42/YNgSPrQcoj4FY0QntsHwoK7ZGevfetOOFZ/0FAKDyTFX2lyNn9Pihn+n/Obpfvxg6aYfEfHppUSaO5+4O0xaEy4U22BrTD+7d5/h6RAAAlIEZEhuamdRPz7ytl4ZP6q2JETsk5otgi9JzPH3FZBuFWCiHxy6XfHzPq8HL550CKozhMaAxDc9M6Wj6vP70+Wd0cjqt0WxGQJkNZB742maFXGh7bC9WLDr3Rlz/1eDDlAAAWIaiPYFb1PNnT+hcUKV9Y/ycHRibY0gM5ZeOeW4oTuZeD8FW81fJko/9yVeCAvZXBQDAMuS9QhBiC/rmoZ/pdFClfW1kUEBFOP7DYe6rvRjB9gJzmaP1Gw/1+Y72CACAJfju8QP6ZRBkXzt/RvtHzmimkBNQCWZWaPqBcK72upJQD49dLtrkfjn4LTIgAACuw1RoJ3NZ2097aOysXj1/Wi+eO2n7aWcLtB+gIgbmswsWMDx2meRf9O9U1HtW9NuiAhgeA+rXwdFB/fDUYf3o9BH9bPC4gEqLee5mWhAuRcX2Mpk/3rtf8kO72BgAcHXZYt5uO/jRqSN64vUX9JMzb+vUVFpA5dFXeyUE2ysw/bac3AUAXM4Mhx1JD9sq7RNvmGD7lk5OjQuoJNNXa7MK3oPhsavg5C4AwPN9ZQpzem7wuAamRvWf3njR9tVO5uYEVAl9tddAxfYqzMndoueYnXC8xwQAIWSGwzL5OZ3JTOjMdFqnJtPB84RGZjOaymcFVIHdV2syinBFVGyvwe63fbT/YbneEwIAhMrLw6ft6q5vHHhOo7MztnILVBX7aq+LYHsdmQf3Ptn6jYd2st8WABqfOawwNDOpl86d1NGJ87Z/dmIua6u3QDU5nr4y/SD7aq+HdV+LlHx8z7Py/V0CSoh1X0BteX5ogCotao/j7M/c/8gHhOuiYrtIxaKzO+LqWYbJAKCx/HTwbQ1MjemvDr9sjy1M5LLBY9YOjgE1YCBWdO4VFoXhsUUy/bYq8BsLAOqZH4TVglfUuSDAvp0e0UvDJ/VaUKHdf/60jk+OajAzYS+HFTyPYIvaUHDvpa928ajYLoE53pB87E8eDt4T+KoAAHWn6HvKFHL6h5Nvav/Iaf341JGgSjttDy8Atcd/eP5wFBaLYLtEZiFy6zce6mOYDADqgwmzuWJBL547Zauyr5wPnidGdT6ozI5mZ1TwiwJqzYVhMY4wLBGtCMsw/Udf65fj7BMAoOaZ9oOcV7R9tC8Hofa7xw7q+XMDOjx+zu6pNW0HQE1xnP3TD37ty8KSUbFdpljMuTef06sMkwFA7TFDYEfT5/XtIy/p4NhZHRg5K6BOMCy2AgTbZTJXPxKP9t8dcf0g3ColAEDV5IOKrDl1a4a/BibHNBQE27PBx6emzR7aWQF1Yv6yGMNiy0awXQGzKaHtsf7dnrynBAComtliXm9PjOjHp4/q22++rNG5jGYLOQH1xJW7m1C7MhxoKIHWRx/6su/qSwKWiAMNwNKZYa+5YkGvjQwG1dlRHRw9qzfGzmlkdlpT+TlbtTWruljXhXoyPyxGX+1KMTxWAuY3ouPrEQEAys4L8qoZ+DJ9tMcnx3RgdFAvDJ3QobEhewKXHbSoNyZDEGpLg4ptCXF2F0tFxRa4PnMFzIRYs2/WDIOdnk7rlyNnbXXW89logPrmOM6+6fsfuVsoCXpsS4hNCQCwMsWg0lr0i0F4nVB6bkbjwWMw+Hh8bjb48azdQ2t2z5phMZ+qLOrfQDTGBoRSItiW0LubEvQs4RYAli7vFWz/7AtDA7bFwDwOjgzZz3EdDA1mwG5ACLKDUDK0IpRB8i/6dyrqBeGWNWC4NloREGamF/bNsXM6MzOhc7NTwcdDGspM2lVdo9mMMsFbYOaAgjmByzAYGoxZ6/UBNiCUHsG2TFof7d/luzbcAldFsEVY5IJKbNHzVfA9zRXy9tkE19fOn9GxyRENBoH24NigfTatB0Ajc+XeO/XA3qeFkiPYllHysT/pD/4Vf1XAVRBsEQbmnK05X2sugZ2aTuulcwPBxyM6m5nSVD4rIFz8hzMPfH2vUBb02JaR+Y3b+uhDKXbcAmh0JryagwjnLmwvMIHVDH6ls7OaCSq05grYaPBjcwXsbCat0eDzpooLhMn8rlpCbTkRbMvM7KVr/UYQbh3tEQA0KDP0NZHL2qqsGfgyLQXHJ0d0fGJMU7k5KrMIPQ4wVAatCBWSfPShJ+XqiwIuQisC6kGmMKdMLqexoNo6MDWqkaAiOzgzqdHZKZ2fzdi2AvNrzDCY2Vxge2mDj03YLfqeXeHF4BdCzdO3Mg9+7T6h7Ai2FZR8fM+r8v2dAi4g2KJaTPAseEU7xJU3IbRYsB/bx4Uf5y8E1XRuVtOm6ho8Tk6N2RaDkWxG6eyM3S9rqrKzngm0HEsA3sNx9mfuf+QDQkXQilBBsZhzdz6vZwm3AKrNrNEyrQPvXPWanbY/NkcQzOeGMmmdn8nodGZCg8GjQGgFlmPA/NkvVAwV2wpLPNrfF3F9DjjAOvpv/0cBV+MFb+nPXThYYD6+3ER+9p3AaYa3zMezhbwdyirYYa68fTY/N56dtde6zK8ZC6qt5nO5YtH+2mzw67K2QlsIPufZz5lBsGzw82Yl1+yFPbIAlmT+AAO7aiuKYFsFhFss2P87/52Aq5nf9ToXPK78Nv+52Ukbeg2zecB8PBlUXedDaUHTFz42AfdMZv7XmsfJqXEBKCtCbZUQbKuEcAtjXbJDwLWYSul8rfS9FVMzmLVQSPXMz/vmef5zvr/wOfuftl/W/ALzMW0FQFkRaquIYFtFhFsAABoKobbKXKFqsuY3fsG5N/gwLQAAUM/SKrj3Emqri4ptDUj+Rf9ORb2gcquUAABAvTGh9u7MH+/dL1QVwbZGEG4BAKhLhNoaQrCtIYRbAADqCqG2xhBsawzhFgCAukCorUEE2xpEuAUAoKYRamsUwbZGEW4BAKhJhNoaRrCtYYRbAABqCqG2xhFsaxzhFgCAmkCorQME2zpAuAUAoKoItXWCy2N1wH4hBV9QweuQAQEAgEoaINTWDyq2dSTxaH9fxPWDyq3fJwAAUG4DMc+9mzO59YNgW2cItwAAVAShtg4RbOsQ4RYAgLIi1NYpemzrUDb4Qit6Dj23AACUmuPsJ9TWLyq2dSz1RH8qnw8qt76/UwAAYGVMqI05d6d3700LdYlg2wCSjz70ZFB7/6IAAMDyePpW5sGv3SfUtYhQ9/LPvPB002c/4gQvU3YJAAAsiePrkSDU/pFQ9wi2DSL3zAv7CLcAACyN4+kr0w9+7b8XGgLBtoGYcBv/3Icngi/TXxcAALgO/+HMH339z4WGQY9tA2p7rP8eT94T4gQvAABXknbl7p56YO/TQkMh2DYodt0CAHBF5kTuvZzIbUwE2wZGuAUA4BIcXmhwHGhoYOaQQyzufECOs08AAISYE/xZGIu7HyDUNjYqtiHR+o2H9vqO9ggAgJAx67ym/+hr/ULDYytCSOS+/8Lfsw4MABA2rPMKFyq2IcPGBABASLD5IIQItiHEUBkAoMExJBZSDI+FkBkqK3rO3XIcVp0AABoKQ2LhRsU25FoffejLvqsvCQCAOseQGBgeCznO8AIAGoM9j/tlIdSo2MJK/kX/TkX9p+i7BQDUGS6J4R302MIy3xDouwUA1BPbT+u5dxNqsYCKLd6DvlsAQK2jnxZXQrDFFSUf7b9PrvdVse8WAFBb0vL8hzMPfv1JAZch2OKq2HcLAKgx7KfFNdFji6sy+25jcecD5u0eAQBQTZ6+xX5aXA8VWyxK8rE/6Q9+u3xVAABUVjp45/ArmQe+vlfAdRBssWi0JgAAKoxVXlgSWhGwaLQmAAAqxfxZY1oPCLVYCiq2WBa2JgAAyoTWAywbwRbLRmsCAKCkHGd/rOjcy4AYlotgixXjoAMAYKU4uIBSINiiJFof7d/lu/4TVG8BAEs04Hju7ukH9+4TsEIMj6EkzDekoufcHXz4LQEAsBgXdtMSalEqVGxRcvODZf6XqN4CAK6Cs7goC4ItysIMlrmu/1VH/j0CAOACx3H2RYvObgbEUA4EW5TVhYtlZrCMtWAAEG6s8ULZEWxRdnYtWMR/Qr6/SwCA0KFKi0oh2KJiqN4CQOhQpUVFEWxRUVRvASAcqNKiGgi2qAo2JwBAw6JKi6qJCKiC/DPP74989qPfcR2/M/jhTgEA6p4v5+l43L176g++tk9AFVCxRdVRvQWAusf1MNQELo+h6jIP7n0yFnc+YO6ECwBQV8z3bq6HoVZQsUVNscNlrv8s1VsAqG1mOExF5ysEWtQSgi1qEu0JAFCzGA5DzWJ4DDWJ4TIAqEGO82Qs7v4Gw2GoVVRsUfOSj/fvlO8/RfUWAKqDtgPUC4It6gbtCQBQcbQdoK7QioC6QXsCAFSO3XbQ5N5L2wHqCRVb1CWzPSEa8b/q+/49AgCUjGk78PPOw5k/3rtfQJ0h2KKu0Z4AACXDkQXUPYItGgIBFwCWjT5aNAyCLRqGbU+Qd5/v6ksCAFxP2vH0SDTh7k3v3psW0AAItmg489fLvC8HH35RAID3MvtoY87DBFo0GoItGhYBFwAuZQbDokVnd/rBvQMCGhDBFg3vwgaFJ3zf3yUACCEOLCAsCLYIjdZH+3cp4n+JgAsgLAi0CBuCLUKn7bH+ezz5X2WDAoBGRaBFWBFsEVqsCAPQaAi0CDuCLULPBFwn4n+RFgUA9YpAC8wj2AIX0IMLoN4QaIFLEWyBy5iA67vefWJNGIAaRaAFroxgC1wFe3AB1BpHztPynEcItMCVEWyB6yDgAqiy+dO3cp/ksAJwbQRbYJFswPWL9yji7mGTAoAKmA+0CXcvp2+BxSHYAsvAqjAA5WL6Z31534rFIk8TaIGlIdgCK8CgGYBSYSAMWDmCLVAC7/bhOp+kigtgCWg3AEqIYAuU2IWDD3t8398pALgC227ge9+JxSNPEmiB0iHYAmVCmwKAy6QdR99S0X2adgOgPAi2QJnZNgVpF8NmQDhRnQUqh2ALVNBFVdwvBI+UADQqqrNAFRBsgSpIPdGfymd1jxPxv+j7/i4BaAhUZ4HqItgCVWZaFaLy7vNd54u0KgB1ictgQI0g2AI15N1WBdaGATWOVgOgBhFsgRrV9lj/PZ68e8RWBaBWpB05++Q5j0QT2k+rAVB7CLZAjXunH9f1v+DLv0cAKimozDr7/aLzrVhCnLgFahzBFqgjhFygIgizQJ0i2AJ16rKQu0usDwNWwrYZ+J7zHcIsUL8ItkCDeLcnl8EzYJHeGQCjZxZoDARboAGZ7QqKzIdc3/d3CoBlWgxU9L8jufvYZgA0HoIt0OAWTvrSsoCQmu+X5WgCEAoEWyBkqOai0dmqrPyf0GIAhA/BFggxU82NudpJby7qmzMQ/Gm2T0XnJwx+AeFGsAXwjoW2BbneLoIuatdFQVbaxxlbAAsItgCu6uKgG7y9ezutC6gOgiyAxSHYAlg0szu3mNMu37EVXRN0dwkorfSFHtnXHN/dF4kHQZbWAgCLRLAFsCLJv+jfqWhxV/DtZCdVXSzdhWqs772mQmRf5o/37hcALBPBFkBJmapuIaudvlvc6cj9ZPBdpo+wi3nvhljHi+xnYwGAUiPYAqgIs2bMl/qciLfzQhuDCbspoRG9007gF9398rQ/1qIBQiyAciPYAqiaS6q7jtNH4K03zoDjaMAGWN8foAoLoNoItgBqzkLgdVylfM1XeIPvVilCbzXY8JoOqu37Hd8/4XvuABVYALWKYAugrpjQm59Rnw29C5Ve37lhPviqj927S3VRcJU/YSqvriIDkSC8KqE04RVAPSHYAmg4qUf7+wqaD7+ep5Tjen0m+C4EYPNLggDXp8at/gZh1EmbNoEgsA6YTyxUW11Xaa+ggVjwzD5YAI2GYAsg1EwFWFmlTBA2P/YvPNswbD8w7RBOx/yH8z+38F8NKsSXBWPfhmYtjQ2hF3/CVFDnP2//gdL+/I9lKqrmx/bTpiXAfi4Ir57SJqjavxlhFUCI/b8PFS+jsEz4FwAAAABJRU5ErkJggg=="}))),P9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{y:"0.570312",width:"24",height:"24",rx:"1",fill:"#2C2F7A"}),React.createElement("path",{d:"M4 5.03255C4 4.89788 4.10935 4.78906 4.24349 4.78906H6.20539C6.31205 4.78906 6.39824 4.87525 6.39824 4.98191V5.09935C6.39824 5.20601 6.31205 5.2922 6.20539 5.2922H4.57316V6.58505H5.86602C5.97268 6.58505 6.05887 6.67124 6.05941 6.7779V6.89479C6.05941 7.00145 5.97268 7.08764 5.86602 7.08764H4.57316V8.41551H6.30505C6.41171 8.41551 6.4979 8.5017 6.4979 8.60836V8.72526C6.4979 8.83192 6.41171 8.91811 6.30505 8.91811H4.24403C4.10935 8.91811 4.00054 8.80875 4.00054 8.67462V5.03255H4Z",fill:"white"}),React.createElement("path",{d:"M7.67661 8.74513C7.67661 8.87388 7.61197 8.93798 7.48376 8.93798H7.30223C7.17348 8.93798 7.10938 8.87334 7.10938 8.74513V4.70066C7.10938 4.57192 7.17348 4.50781 7.30223 4.50781H7.48376C7.61251 4.50781 7.67661 4.57192 7.67661 4.70066V8.74513Z",fill:"white"}),React.createElement("path",{d:"M10.9001 5.96121H10.76C10.6313 5.96121 10.5666 6.01562 10.5666 6.12497V6.27203C10.5672 6.31082 10.571 6.35014 10.5785 6.38839H10.5666C10.523 6.29358 10.4589 6.21008 10.3797 6.14275C10.2946 6.0711 10.1987 6.01292 10.0958 5.97037C9.95146 5.91327 9.7974 5.88633 9.64225 5.89118C8.85308 5.89118 8.32031 6.45303 8.32031 7.46684C8.32031 8.39931 8.84553 9.00803 9.59323 9.00803C9.99348 9.00803 10.4298 8.84158 10.5666 8.50489H10.5785C10.5726 8.54476 10.5683 8.58462 10.5666 8.62502V8.7737C10.5666 8.88252 10.6313 8.93746 10.76 8.93746H10.9001C11.0288 8.93746 11.0929 8.87282 11.0929 8.74461V6.1546C11.0935 6.02585 11.0288 5.96121 10.9001 5.96121ZM9.71282 8.51675C9.21454 8.51675 8.8994 8.04863 8.8994 7.44368C8.8994 6.8759 9.12727 6.38246 9.73868 6.38246C10.2073 6.38246 10.5376 6.79833 10.5376 7.44368C10.5376 8.08418 10.2041 8.51675 9.71282 8.51675Z",fill:"white"}),React.createElement("path",{d:"M11.8009 8.66983C11.7557 8.64721 11.725 8.60303 11.7191 8.55294C11.7164 8.50122 11.7309 8.44951 11.76 8.40695L11.8187 8.32507C11.8457 8.28251 11.8893 8.25289 11.9389 8.24319C11.9916 8.24211 12.0434 8.25666 12.0881 8.28413C12.1786 8.34015 12.2723 8.39133 12.3687 8.43604C12.5082 8.49853 12.6602 8.52816 12.8131 8.52385C12.9419 8.52977 13.069 8.49368 13.1757 8.4215C13.2683 8.35524 13.3211 8.24588 13.3157 8.13222C13.3184 8.0401 13.2759 7.95284 13.2015 7.89843C13.1137 7.83325 13.0184 7.77938 12.9176 7.73736C12.8045 7.68888 12.6828 7.64201 12.5519 7.59676C12.4237 7.55313 12.3009 7.49441 12.1861 7.42115C12.0751 7.35112 11.9793 7.26116 11.9022 7.15504C11.8214 7.03437 11.7816 6.89054 11.788 6.74564C11.7853 6.61635 11.8144 6.48922 11.8726 6.37394C11.9275 6.26836 12.0067 6.17732 12.1037 6.10783C12.2077 6.03457 12.3235 5.98016 12.4458 5.94676C12.5799 5.90905 12.7189 5.89074 12.8584 5.89128C13.0324 5.88589 13.2064 5.9139 13.3701 5.97316C13.4763 6.0141 13.5786 6.06312 13.6772 6.11914C13.7246 6.138 13.7602 6.1784 13.7736 6.22742C13.7817 6.27967 13.7704 6.33246 13.7413 6.37664L13.6885 6.46444C13.6341 6.56194 13.5479 6.58349 13.431 6.52855C13.3524 6.48599 13.2716 6.44882 13.1881 6.41758C13.0728 6.3761 12.951 6.35617 12.8282 6.35886C12.7038 6.35455 12.5804 6.38741 12.4743 6.45259C12.3795 6.51346 12.3246 6.62066 12.331 6.73325C12.3289 6.8259 12.3709 6.91425 12.4452 6.97027C12.5319 7.03707 12.6273 7.09094 12.7291 7.13134C12.8422 7.1782 12.964 7.22507 13.0949 7.27194C13.222 7.31719 13.3448 7.37482 13.4606 7.44432C13.5727 7.51165 13.6691 7.60107 13.7445 7.70773C13.8248 7.83002 13.8647 7.97439 13.8587 8.12037C13.8609 8.36278 13.7537 8.5928 13.5662 8.74633C13.4666 8.82767 13.3524 8.88908 13.2301 8.92786C13.089 8.97257 12.9419 8.99412 12.7943 8.99197C12.6795 8.99304 12.5648 8.98227 12.4522 8.95965C12.3574 8.94079 12.2642 8.91332 12.1743 8.87776C12.0988 8.8476 12.0256 8.81258 11.955 8.77272C11.9017 8.74202 11.85 8.70808 11.8009 8.66983Z",fill:"white"}),React.createElement("path",{d:"M16.6929 5.36761C16.5641 5.36761 16.5 5.30297 16.5 5.17476V4.98191C16.5 4.85317 16.5646 4.78906 16.6929 4.78906H16.8916C17.0204 4.78906 17.0845 4.85317 17.0845 4.98191V5.17476C17.0845 5.30351 17.0204 5.36815 16.8916 5.36761H16.6929ZM16.5054 6.15194C16.5054 6.0232 16.5695 5.95909 16.6982 5.95909H16.8798C17.0085 5.95909 17.0726 6.02374 17.0726 6.15194V8.74249C17.0726 8.87124 17.008 8.93535 16.8798 8.93535H16.6982C16.5695 8.93535 16.5054 8.8707 16.5054 8.74249V6.15194Z",fill:"white"}),React.createElement("path",{d:"M19.9845 8.61442C20.0216 8.69037 19.992 8.78195 19.9177 8.82235C19.6963 8.93709 19.4506 8.99527 19.2012 8.9915C18.1481 8.9915 17.7031 8.19963 17.7031 7.44115C17.7031 6.69723 18.175 5.89081 19.177 5.89081C19.4135 5.88704 19.6478 5.94091 19.859 6.04811C19.9355 6.08797 19.9662 6.1817 19.9274 6.25873L19.8557 6.4031C19.8191 6.47744 19.7307 6.5103 19.6543 6.47798C19.5212 6.41819 19.3768 6.38586 19.2308 6.38317C18.6167 6.38317 18.2828 6.715 18.2828 7.43631C18.2828 8.05203 18.6054 8.50129 19.2427 8.50129C19.4054 8.50022 19.5665 8.46466 19.7146 8.39787C19.7916 8.36501 19.8805 8.3984 19.9166 8.47382C19.9376 8.51907 19.9624 8.56917 19.9845 8.61442Z",fill:"white"}),React.createElement("path",{d:"M15.2961 8.74472C15.2961 8.85138 15.2099 8.93757 15.1033 8.93757H14.9217C14.8151 8.93757 14.7284 8.85138 14.7284 8.74472V6.4526H14.4218C14.2969 6.4526 14.2344 6.3885 14.2344 6.25975V6.15309C14.2344 6.06313 14.3071 5.99041 14.3971 5.99041H14.7397V5.34129C14.7397 5.23463 14.8259 5.14844 14.9325 5.14844H15.1022C15.2089 5.14844 15.2951 5.23463 15.2951 5.34129V5.99095H15.8402C15.9302 5.99095 16.0029 6.06367 16.0029 6.15363V6.26029C16.0029 6.38904 15.9404 6.45368 15.8154 6.45314H15.2945L15.2961 8.74472Z",fill:"white"}),React.createElement("path",{d:"M5.125 15.5169C5.125 15.3823 5.23435 15.2734 5.36849 15.2734H7.33039C7.43705 15.2734 7.52324 15.3596 7.52324 15.4663V15.5832C7.52324 15.6898 7.43705 15.776 7.33039 15.776H5.69816V17.0689H6.99102C7.09768 17.0689 7.18387 17.1551 7.18387 17.2617V17.3786C7.18387 17.4853 7.09768 17.5715 6.99102 17.5715H5.69816V18.8993H7.42951C7.53617 18.8993 7.62236 18.9855 7.6229 19.0922V19.2091C7.6229 19.3158 7.53617 19.4019 7.42951 19.4019H5.36903C5.23435 19.4019 5.125 19.2926 5.125 19.1579V15.5169Z",fill:"white"}),React.createElement("path",{d:"M8.21929 16.6384C8.21929 16.5097 8.28339 16.4456 8.41214 16.4456H8.5759C8.70465 16.4456 8.76929 16.5097 8.76875 16.6384V16.9013C8.76875 16.9406 8.76498 16.98 8.7569 17.0182C8.75259 17.0354 8.75097 17.0532 8.75097 17.071H8.76283C8.80161 16.9789 8.85386 16.8932 8.91797 16.8162C8.98746 16.7316 9.06772 16.6567 9.15768 16.5943C9.25034 16.5296 9.35053 16.4763 9.45612 16.4364C9.56332 16.3955 9.67752 16.3745 9.79226 16.375C10.2798 16.375 10.5761 16.5991 10.6816 17.0478H10.6935C10.736 16.9568 10.791 16.8722 10.8572 16.7963C10.9278 16.7144 11.0081 16.6417 11.097 16.5797C11.1891 16.5161 11.2893 16.466 11.3954 16.4305C11.5069 16.3933 11.6233 16.3745 11.7407 16.375C12.0801 16.375 12.3279 16.4698 12.4835 16.6589C12.6398 16.848 12.7173 17.1319 12.7173 17.51V19.2284C12.7173 19.3572 12.6527 19.4213 12.5245 19.4213H12.3429C12.2142 19.4213 12.1496 19.3572 12.1501 19.2284V17.6328C12.1506 17.5348 12.1436 17.4373 12.1296 17.3403C12.1183 17.2585 12.093 17.1793 12.0537 17.1065C12.0165 17.0403 11.9621 16.9859 11.8958 16.9487C11.814 16.9067 11.7218 16.8862 11.6297 16.89C11.5004 16.8878 11.3728 16.9212 11.2613 16.9864C11.1514 17.0516 11.0566 17.1394 10.9833 17.2439C10.9057 17.3549 10.847 17.4788 10.8109 17.6097C10.7721 17.7449 10.7527 17.8844 10.7522 18.025V19.229C10.7522 19.3577 10.6897 19.4218 10.5653 19.4218H10.3778C10.2528 19.4218 10.1903 19.3572 10.1903 19.229V17.6334C10.1903 17.5397 10.185 17.4459 10.1726 17.3527C10.1629 17.2703 10.1392 17.19 10.1025 17.1157C10.0675 17.0473 10.0137 16.9907 9.9474 16.9519C9.8639 16.9072 9.77017 16.8862 9.67536 16.8905C9.54285 16.8884 9.41248 16.9229 9.29828 16.9897C9.18731 17.0559 9.09196 17.1443 9.01763 17.2498C8.94005 17.3608 8.88134 17.4847 8.84524 17.6156C8.807 17.7487 8.78707 17.8866 8.78707 18.025V19.229C8.78707 19.3577 8.72242 19.4218 8.59368 19.4218H8.4116C8.28285 19.4218 8.21875 19.3577 8.21875 19.229V16.6384H8.21929Z",fill:"white"}),React.createElement("path",{d:"M17.1069 15.852C16.9782 15.852 16.9141 15.7873 16.9141 15.6591V15.4663C16.9141 15.3375 16.9782 15.2734 17.1069 15.2734H17.3057C17.4344 15.2734 17.4985 15.3381 17.4985 15.4663V15.6591C17.4985 15.7879 17.4344 15.852 17.3057 15.852H17.1069ZM16.92 16.6363C16.92 16.5076 16.9841 16.4435 17.1128 16.4435H17.2944C17.4231 16.4435 17.4872 16.5076 17.4872 16.6363V19.2263C17.4872 19.3551 17.4231 19.4192 17.2944 19.4192H17.1128C16.9841 19.4192 16.92 19.3545 16.92 19.2263V16.6363Z",fill:"white"}),React.createElement("path",{d:"M18.8719 19.23C18.8719 19.3588 18.8073 19.4229 18.6785 19.4229H18.4975C18.3688 19.4229 18.3047 19.3583 18.3047 19.23V15.1856C18.3047 15.0568 18.3688 14.9922 18.4975 14.9922H18.6791C18.8078 14.9922 18.8719 15.0568 18.8719 15.1856V19.23Z",fill:"white"}),React.createElement("path",{d:"M15.8996 16.4456H15.759C15.6302 16.4456 15.5661 16.5 15.5661 16.6093V16.7564C15.5666 16.7952 15.5704 16.8345 15.578 16.8728H15.5666C15.523 16.778 15.4589 16.6945 15.3797 16.6271C15.2946 16.5555 15.1987 16.4973 15.0958 16.4547C14.952 16.3976 14.7974 16.3707 14.6423 16.3756C13.8531 16.3756 13.3203 16.9374 13.3203 17.9512C13.3203 18.8837 13.8455 19.4929 14.5932 19.4929C14.994 19.4929 15.4298 19.3265 15.5666 18.9898H15.5785C15.5726 19.0297 15.5683 19.0695 15.5666 19.1099V19.2586C15.5666 19.3674 15.6313 19.4224 15.7595 19.4224H15.9001C16.0288 19.4224 16.0929 19.3577 16.0929 19.2295V16.639C16.0929 16.5097 16.0283 16.4456 15.8996 16.4456ZM14.7123 19.0011C14.214 19.0011 13.8989 18.533 13.8989 17.9275C13.8989 17.3597 14.1267 16.8668 14.7381 16.8668C15.2068 16.8668 15.537 17.2827 15.537 17.9281C15.537 18.5686 15.2036 19.0011 14.7123 19.0011Z",fill:"white"}),React.createElement("path",{d:"M14.7628 11.7318C14.5634 11.4727 14.2699 11.3025 13.9456 11.2583C13.896 11.2508 13.8454 11.2465 13.7953 11.2465H13.3471C13.2706 11.2459 13.2081 11.3079 13.2076 11.3844V11.3849V11.6111C13.2076 11.6876 13.27 11.7496 13.3465 11.7496H13.3471H13.7166C13.7436 11.7496 13.7705 11.7512 13.7969 11.7534C13.8206 11.7544 13.8437 11.7582 13.8669 11.7636C14.0511 11.7997 14.2138 11.9058 14.3205 12.0604C14.4239 12.2118 14.4681 12.3955 14.4444 12.5776C14.4207 12.7607 14.3291 12.9288 14.188 13.0473C14.1163 13.1076 14.0334 13.1523 13.9434 13.1787C13.8416 13.2014 13.7371 13.2111 13.6326 13.2089H10.2782C10.1624 13.2073 10.0482 13.182 9.94257 13.1351C9.77719 13.0489 9.65168 12.9018 9.59242 12.7252C9.53316 12.5522 9.53909 12.3632 9.60858 12.194C9.71578 11.9257 9.97543 11.7496 10.2647 11.7496H11.8129L11.3566 12.2527C11.3146 12.2991 11.3184 12.3702 11.3642 12.4122L11.3679 12.4154L11.5166 12.5388C11.5667 12.5802 11.6411 12.5732 11.6831 12.5231L12.413 11.6445C12.4841 11.5594 12.4841 11.4361 12.413 11.351L11.6831 10.4724C11.6416 10.4223 11.5673 10.4153 11.5166 10.4567L11.3674 10.5806C11.3195 10.6205 11.313 10.6916 11.3529 10.7396L11.3561 10.7428L11.8129 11.2459H10.2647C10.1058 11.2448 9.94742 11.2718 9.79766 11.3251C9.49007 11.4388 9.23958 11.6677 9.0979 11.9635C8.95838 12.2646 8.94707 12.6088 9.06612 12.9185C9.18679 13.224 9.42219 13.4691 9.72278 13.6016C9.86769 13.6722 10.0261 13.7093 10.1871 13.7115H13.631C13.7802 13.7136 13.9294 13.7007 14.0765 13.6738C14.2327 13.6334 14.3797 13.5639 14.5106 13.4691C15.058 13.0726 15.1797 12.3077 14.7832 11.7604C14.7768 11.7507 14.7698 11.7415 14.7628 11.7318Z",fill:"white"})),j9=e=>React.createElement("svg",y9({width:"32",height:"32",viewBox:"0 0 32 32",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M20.5241 0.689655L18.3448 6.15172L20.469 10.5379L22.7862 4.88276H27.8345V24.2207C27.8345 24.9655 27.531 25.6552 27.0069 26.1793C26.4828 26.7034 25.7655 27.0069 25.0207 27.0069C24.4414 27.0069 23.4207 26.6759 23.0069 25.8759L19.9172 19.0897L19.8897 19.1172L14.8138 8L14.8414 7.97241L12.6897 3.33793C11.4759 0.910345 9.02069 0 7.0069 0C5.15862 0 3.36552 0.744828 2.06897 2.04138C0.744828 3.33793 0 5.13103 0 6.97931L0.0827587 30.4828H10.6759L13.4069 24.5793L11.2828 20.1931L8.41379 26.2897H4.1931V6.97931C4.1931 6.23448 4.49655 5.54483 5.02069 5.02069C5.54483 4.49655 6.26207 4.1931 7.0069 4.1931C7.36552 4.1931 8.63448 4.27586 9.10345 5.48966L11.4759 10.6759L12.2483 12.4138L17.3241 23.531C18.2069 25.4345 19.2 27.531 19.6138 28.4414C20.4966 30.2621 22.7862 31.2 25.0207 31.2C25.931 31.2 26.8414 31.0069 27.6966 30.6759C28.5517 30.3172 29.3241 29.8207 29.9586 29.1586C30.6207 28.5241 31.1172 27.7517 31.4759 26.8966C31.8345 26.0414 32 25.131 32 24.2207V0.689655H20.5241Z",fill:"#FC5E02"})),T9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"24",height:"24",fill:"url(#pattern0_12821_41640)"}),React.createElement("defs",null,React.createElement("pattern",{id:"pattern0_12821_41640",patternContentUnits:"objectBoundingBox",width:"1",height:"1"},React.createElement("use",{xlinkHref:"#image0_12821_41640",transform:"scale(0.0025)"})),React.createElement("image",{id:"image0_12821_41640",width:"400",height:"400",xlinkHref:"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAZAAAAGQCAMAAAC3Ycb+AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAgY0hSTQAAeiYAAICEAAD6AAAAgOgAAHUwAADqYAAAOpgAABdwnLpRPAAAAhxQTFRFlYX0nI30wbf40sv6sKX22dP7+/v+////vbP4oZP1ycH58vD9+/r+m4z0l4j0uK734d37/v7+1tD6qJv20cr69/b+raD26uf88O79/Pv+xbz5oJL1ua733tn7tar3wbj49vX+l4f02tT7zcb5p5r14t385uL86+j8saX2raH2mIj0xr35opT1ua/35uP8qZz2sab2ysL54t78zsf5+Pf+2tX749785+T80sz67er9wrn4urD38e/91c/6sqb3mYn0+fj+pJb18vH9lob09PL9tan3vrT4nI70nY/0/Pz+29X7rKD2qp326+j93tr7y8P549/85+P83dj7mIn008z6vLL4tqv3w7r429b7o5b1o5X18/H97On9sqf319H60836nY70u7H3zcX53Nb7tKn35OD8q572s6f3oZL1y8T5xr75/f3+6eb8n5H11M7639r77uz9pZj18O395eH8t6336OT8s6j37ev9pJf11c769fP9x775+vn+0Mn6uK336OX8xLz4rqL29PP9no/09/X+rJ/2r6P2pZf1npD0zMT50Mj6z8f639v7zMX5z8j6mYr07+394Nv7mov0ppj1npD1sKT2ppn1n5D1tKj3vrX44Nz7w7v44dz7qJv12NL7xLv4q5/28/L919L63Nf7vLH4t6z3v7X49fP+x7/57uv99fT+yL/5+vr+7+z99vT+yMD5v7b42NL6wLf41M36gBitWQAACrxJREFUeJzt3eljVOUVgPGEbdgaCFuAgkEQkJCUpWyGnViBmgJtVJSKFVuwCkixRkVB6lIEK0QrYF2q3exmF9v+gzVsc5K5573bu9y59/l9zZ2ZN3PQwzxMMi0tAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAqK7WMWNDHwF148ZPqE0MfQjcMmnylFqtNvUboc+BYW3TprfXhs0IfRJ8beas2bVb5oQ+C1rHdNTumBv6NJU3bvy8mjA/9Hmq7eYeF9q/GfpIFda24NYeFxaGPlR1iT0u3BX6WBXV2tkRMY1abdHdoU9WSeMWz4scR622JPTRKqhhj0v3hD5d1bQtWNqwx4Vloc9XMdF7XKAretTaudw8DbqiT/eqe1ygK3pi3OPCitAHrYQu8x4X6IoezBwbs8eFlaEPW3oJ9rhAV3Qs0R4X6IoudSfc4wJd0ZmunqR7XKArupJmjwt0RSfS7XGJruhA2j0ufCv02csnwx4X6Ip2ZdrjAl3RqlXZ9rhAV7Qn+x4X6Iq2rM6+xwW6oh3da/LscYGuaEFXz9pce1ygK+aXf48LdMWcrOxxga6Yi509LtAVc7C2x4Vvh/6mmpbFPS7RFbNZNXadg2nQFbOxvccFumJ6q9db3uMCXTEtF3tcoCum0tWzwcIeX75R/xpdMQUre3z2ppkt96lfpSsm1tq7PP802jdsbmtpmaNfQFdMyMoe37Jm0o0726oPjK6YhJU9PmH9tlt3t32HehFdMZ6lPd7beuceJ+qX0RXj2NnjY2fK+1ymXkhXNLO0x3vaRtzrTv1auqLJNpt7XFiiX01XVHWv2ZV/GhPWr26857771evpioquzbb3uPAd/RYP+P5Gm8OqTfb3uLBQvQ1dMcJuK3t87ag9LuzZq96Mrthg23f1pyuxiD0uzNdvSFccyd0el+iKyVja452Re1x4UL8xXbGu3+0eF+iK8Xb3fi//NEx7XDB0xX3Ov9Hm4GGPC3RFs+79Nvb44pg9LtAVDbo2H/CyxwW6os7fHhfoigqfe1wwdMXvu/lGm4PfPS7QFSNY2uP3ZnnsH6h3WNWuOGBlj3d0Znv66Iqj9D8UYI8LdEXJzh5fmnaPS3TFOjt7fHL6PS7QFW8LuccFuuINYfe4QFccFnqPCw/rD/CIhbtvBrsPBt/jQuW74rZHw+9x4TH9QarQFQ/t/2H+aeTf40KVu2Jh9rhQ4a5oZ4/PsrHHhap2xd0HH88/jfalC+zscaGaXfFwsfa4YOiKT9h/tGIo3h4XKtcVi7jHpYp1xf4fFXGPC5Xqik9a2ePT7e9xoUJdsbh7XKhMV7S0x8e5Pmc1uuLAkWLvcaEKXbHwe1wof1dshj0uPKUfohRd8fCPm2CPC+Xuinb2+Hjne1z4iX6QZu+KA0eO2tjjY/zmvNJ2xWNNtMeFknZFS3t8mqc9LpSyKz5tZ4//NMTZy9cVDz3TdHtcMHTFZ8OcKK/e4/nHccLzHhcMXfFkqDPltPO5qbmm4X+PC4aueCrcqfLas2ZR9nn87HTIo5e1Kw50Pp95IsfXHwt38J+rx2r6rvjCYOaR1I6+GOjQ5e6KcxZmf53+0kT/r0Bayt8VXz4zIfNIXnk1xU/4W1LurnjDnv3Z9/vZc92eT1virlg30Dk380iOL+73etbSdsVRXjufeSS1Ax73e0m7YpQV+7Lv9/sm+voL5y/0Q7zu6Qj+vLw1+35/41k/+718XdHozWfeyjySs+c8/AvuL/XHb9KuGGd7b6H3e4Xer1g3Lcfr9wNPOz1aObtivAuncuz3hx3u97J2xXhvb83+uRJvrHT2gqDEXTHWxUvZP1/+7Dtu9ruhK/7KyQMWS679Pn6VgxOVvSvG6puW4/X7hsPWj6N3xY22H6uwLrybfb8/bnm/V6Irxjs9I/t+v9/qfq9KV4x18XL2/b7jirX9XqGuGGuod0vmkVjb75XqirHy7PfBLitH0Lvie1buv+lceD/bfh/8tZWHr15XjPdBlv1uaR4tZ9RHKHFXjHU19X63NY+qdsVYQwdT7Xdb86hwV4zV13PC/zwq3RXjXUu43wetvWCreFeMd31Ggp/3sTcPumK8D5+K+/lEi/OgKyYxdHCKp3m0/EZ/mI/sPUrz6+vp8DIPumJy1z6O3u9W50FXTOP6ExFPl9V50BVTOrlk9H63O4+qvV/RgqFPRux3y/OgK2bQt7nD1TzoihmN+9TNPAxd8V27j1Q69wzvd9vzoCvmcXLJUusvDOiKxUJXLJjL+kDoigHQFT25tC3ZdXRFPy7X1ia7kK7oxfBi+G2SC+mKXtxY1J8lufJz/f9YdEVrbv7FaW+S7kFX9OD2X2QT/Dql3+n/gbzq/qAVceeFxY74NwnRFd0TL/Tmx11LV3RPvvDe1RdzMV3RuZEh5EjM1XRF10aFqeXmqw1d8Yqf85ZdQyhcne7yOrqiDY1vCJ1uurzv9+o8Bn0dudSi3qBr+pNOV3Qr8g3TfzDc4I/qPOiKFkS/gX2v/vvz6YpOaT9QoPcTuqJL6g94rFP7CV3Rocn6n/bPlZvQFV16VX92pyj95Dn1FnTF/FrP6hPZHHkLuqJbV/SBdETe4E/6Db7wfPZSmmT43KvIDxejKzo2Xh/IpxGX0xVd69ef4dr1xsvpis5t0J/ixhfedEX3DusD2fvh6Itf1C/+c4jDl5L+yru2ZPS1dEUPDP9Avm5o5KWGrmjKw0jl7lf0iRwceSld0YuV+tM8qp/QFb0w9ZMeeSFd0ZNz+hN9Ql5HV/Sk29BPrtUvM3TF98MdvpQW6wMRTzVd0RtDP2mv95Oj6kV0RdsO6BOZcfuax/Rf6EhXtM2QROZdvXXNJf0auqJ1L+nP9uWbV9AVvZqoD2T2zX5CV/Sq7S/689174wq6ol+G959sGe4ndEXPTP1k2tdf/0T/8oXQZy+nWfozfr6FruifqZ9caDmmf/GvoU9eVuv15/wUXTEAw38E7f10xQD0VlXbpX+JruiM4SM7dXRFh/6WYSDvhD50mT2QYSB0RYe6/p56HudDn7ncvkw9ELqiU7v/kXIedEXHxqYcCF3RsUMpP1eXrujao6nmQVd0zvDmxAh0Rff0nyFsRFf04K4UA6Er+vDP5AOhK/rwUeJ50BW96PpX0oHQFf34d9KB0BX9eHJqsnnQFX3ZlGwgX4U+Z2UY3uYu0BX90d81Kvwn9Ckr5MEkA6ErerQsfh50RZ8eiR8IXdGr9+LmQVf066u4gdAV/RpYFDMQuqJnhl/oO4yu6Nsecz+hK3r3kHEgdEXvdpr6CV0xAP3Th+mKQczR50FXDGKjOhC6YhBfqAOhK4bxvDIPumIg/1UG8mXog1XV9rci50FXDGZN5EA+Dn2s6npzQtRA6Irh/C9iHnTFgN6O6Cd0xZAWNg6ErhjSioZ50BXDGhw9ELpiWKP7CV0xtLkjB0JXDK1z5EDoiqFtny3nQVcMb78cCF0xvIvz6vOgKxbBmfpA6IpFcLreT14IfRYM23d7HnTFYnj99kDOhT4JbjpPVyyW1+iKxdK3ha5YLL10xWIZGu4nn4U+Beou0RWL5eo8umKxbKUrFssHx+mKxdIZ+gAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAMCG/wOrD9XAxPMyxAAAAABJRU5ErkJggg=="}))),M9=e=>React.createElement("svg",y9({width:"96",height:"96",viewBox:"0 0 96 96",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("rect",{width:"96",height:"96",fill:"white"}),React.createElement("path",{d:"M54.0222 66.6055C53.6517 66.6055 53.2812 66.5055 53.0033 66.2055C52.3549 65.7055 52.1696 64.7055 52.6328 63.9055C52.7254 63.7055 63.1001 45.1055 57.7275 35.9055C56.6159 34.0055 55.4117 32.9055 54.0222 32.9055C51.4286 32.8055 48.557 35.9055 47.6307 37.2055C47.0749 38.0055 46.0559 38.1055 45.3149 37.5055C44.5738 36.9055 44.4812 35.8055 45.037 35.0055C45.2222 34.8055 49.298 29.1055 54.1149 29.4055C56.6159 29.5055 58.7465 31.1055 60.4138 34.1055C64.397 41.0055 61.618 51.4055 58.8391 58.3055C61.7107 56.1055 65.3233 54.0055 68.658 53.4055C69.5844 53.3055 70.418 53.9055 70.5107 54.9055C70.6033 55.9055 70.0475 56.8055 69.1212 56.9055C62.7296 58.0055 55.1338 66.0055 55.0412 66.1055C54.8559 66.5055 54.3928 66.6055 54.0222 66.6055Z",fill:"#ABD3FF"}),React.createElement("path",{d:"M14.0968 51.9055C14.0968 52.8055 13.9116 53.7055 13.4484 54.4055C12.9853 55.1055 12.3368 55.7055 11.5032 56.1055C10.6695 56.5055 9.65053 56.7055 8.44632 56.7055C7.52 56.7055 6.68632 56.6055 6.03789 56.5055C5.38947 56.4055 4.74105 56.1055 4 55.8055V52.2055C4.74105 52.6055 5.48211 52.9055 6.31579 53.1055C7.05684 53.3055 7.79789 53.4055 8.44632 53.4055C9.00211 53.4055 9.46526 53.3055 9.74316 53.1055C10.0211 52.9055 10.1137 52.6055 10.1137 52.3055C10.1137 52.1055 10.0211 51.9055 9.92842 51.8055C9.92842 51.6055 9.74316 51.4055 9.46526 51.3055C9.18737 51.1055 8.53895 50.8055 7.52 50.3055C6.59368 49.9055 5.85263 49.4055 5.38947 49.0055C4.92632 48.6055 4.55579 48.1055 4.37053 47.6055C4.18526 47.1055 4 46.4055 4 45.7055C4 44.3055 4.46316 43.2055 5.48211 42.5055C6.40842 41.7055 7.79789 41.3055 9.46526 41.3055C10.9474 41.3055 12.5221 41.7055 14.0042 42.4055L12.8926 45.4055C11.5032 44.8055 10.3916 44.4055 9.37263 44.4055C8.90947 44.4055 8.53895 44.5055 8.26105 44.7055C8.07579 44.9055 7.89053 45.2055 7.89053 45.4055C7.89053 45.7055 8.07579 46.0055 8.35368 46.2055C8.63158 46.4055 9.46526 46.9055 10.7621 47.5055C11.9663 48.1055 12.8926 48.7055 13.3558 49.4055C13.8189 50.1055 14.0968 50.9055 14.0968 51.9055ZM22.2484 56.5055L19.2842 45.6055H19.1916C19.2842 47.5055 19.3768 48.9055 19.3768 49.9055V56.4055H15.9495V41.4055H21.1368L24.1937 52.1055H24.2863L27.1579 41.4055H32.3453V56.5055H28.7326V48.8055C28.7326 48.8055 28.8253 47.4055 28.8253 45.7055H28.7326L25.8611 56.5055H22.2484ZM41.0526 56.5055H37.1621V44.7055H33.6421V41.4055H44.5726V44.7055H41.0526V56.5055ZM56.7074 46.2055C56.7074 47.9055 56.2442 49.2055 55.3179 50.1055C54.3916 51.0055 53.0021 51.5055 51.2421 51.5055H50.1305V56.5055H46.24V41.4055H51.2421C53.0947 41.4055 54.4842 41.8055 55.3179 42.6055C56.2442 43.5055 56.7074 44.7055 56.7074 46.2055ZM50.1305 48.2055H50.8716C51.4274 48.2055 51.8905 48.0055 52.2611 47.7055C52.6316 47.4055 52.8168 46.9055 52.8168 46.3055C52.8168 45.3055 52.2611 44.8055 51.1495 44.8055H50.1305V48.2055ZM70.1389 47.7055H76.3453V55.8055C74.6779 56.4055 72.8253 56.7055 70.7874 56.7055C68.5642 56.7055 66.8042 56.0055 65.6 54.7055C64.3958 53.4055 63.7474 51.4055 63.7474 48.9055C63.7474 46.5055 64.3958 44.6055 65.7853 43.2055C67.0821 41.8055 69.0274 41.2055 71.3432 41.2055C72.2695 41.2055 73.1032 41.3055 73.9368 41.5055C74.7705 41.7055 75.4189 41.9055 76.0674 42.2055L74.7705 45.3055C73.7516 44.8055 72.5474 44.5055 71.3432 44.5055C70.2316 44.5055 69.3053 44.9055 68.6568 45.7055C68.0084 46.5055 67.7305 47.6055 67.7305 49.0055C67.7305 50.4055 68.0084 51.5055 68.5642 52.2055C69.12 52.9055 69.9537 53.3055 70.9726 53.3055C71.5284 53.3055 72.0842 53.2055 72.5474 53.1055V50.7055H70.1389V47.7055ZM92 48.9055C92 51.4055 91.4442 53.4055 90.24 54.7055C89.0358 56.0055 87.2758 56.7055 84.96 56.7055C82.7368 56.7055 80.9768 56.0055 79.7726 54.7055C78.5684 53.4055 77.92 51.4055 77.92 48.9055C77.92 46.4055 78.5684 44.5055 79.68 43.1055C80.7916 41.7055 82.6442 41.1055 84.96 41.1055C87.2758 41.1055 89.0358 41.8055 90.1474 43.1055C91.2589 44.4055 92 46.4055 92 48.9055ZM82.0884 48.9055C82.0884 51.8055 83.1074 53.3055 85.0526 53.3055C86.0716 53.3055 86.8126 52.9055 87.2758 52.2055C87.7389 51.5055 88.0168 50.4055 88.0168 48.9055C88.0168 47.4055 87.7389 46.3055 87.2758 45.6055C86.8126 44.9055 86.0716 44.5055 85.1453 44.5055C83.0147 44.5055 82.0884 46.0055 82.0884 48.9055Z",fill:"#252E37"})),N9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C18.6275 24 24 18.6273 24 11.9999C24 5.37255 18.6275 0 12 0C5.37259 0 0 5.37255 0 11.9999C0 18.6273 5.37259 24 12 24ZM12.0517 5.99996C11.0882 5.99996 9.75474 6.55101 9.0734 7.23073L7.2229 9.07688H16.4465L19.5307 5.99996H12.0517ZM14.9111 16.7692C14.2298 17.4489 12.8964 17.9999 11.9328 17.9999H4.45388L7.53804 14.923H16.7616L14.9111 16.7692ZM17.9089 10.6153H5.68418L5.10673 11.1923C3.73941 12.423 4.14495 13.3846 6.0598 13.3846H18.3176L18.8952 12.8076C20.2492 11.5841 19.8237 10.6153 17.9089 10.6153Z",fill:"#01824C"})),L9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12 24C18.6274 24 24 18.6274 24 12C24 5.37257 18.6274 0 12 0C5.37257 0 0 5.37257 0 12C0 18.6274 5.37257 24 12 24ZM15.6902 15.516C16.384 15.0774 16.8 14.3435 16.8 13.5581C16.8 12.4668 16.0032 11.5178 14.8731 11.2631L11.4871 10.4226C11.1679 10.3507 11.0914 9.95709 11.3629 9.78387L14.0009 8.10127C15.2289 7.31805 15.5481 5.74841 14.714 4.59538C14.6098 4.45125 14.4008 4.41377 14.2473 4.51169L8.28802 8.53145C7.60745 8.96554 7.2 9.68798 7.2 10.4605C7.2 11.5388 7.98723 12.4764 9.10385 12.7281L12.545 13.581C12.865 13.6531 12.9408 14.048 12.6679 14.2205L10.0105 15.9005C8.77913 16.6789 8.45294 18.2473 9.28193 19.4035C9.38558 19.5481 9.59434 19.5864 9.74829 19.489L15.6902 15.516Z",fill:"#6005FF"})),D9=e=>React.createElement("svg",y9({width:"48",height:"48",viewBox:"0 0 48 48",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M24.0001 48C37.255 48 48 37.2547 48 23.9999C48 10.7451 37.255 0 24.0001 0C10.7452 0 0 10.7451 0 23.9999C0 37.2547 10.7452 48 24.0001 48ZM24.1035 11.9999C22.1764 11.9999 19.5095 13.102 18.1468 14.4615L14.4458 18.1538H32.893L39.0613 11.9999H24.1035ZM29.8223 33.5383C28.4596 34.8978 25.7927 35.9999 23.8656 35.9999H8.90777L15.0761 29.846H33.5233L29.8223 33.5383ZM35.8177 21.2307H11.3684L10.2135 22.3845C7.47882 24.846 8.2899 26.7691 12.1196 26.7691H36.6352L37.7905 25.6153C40.4985 23.1683 39.6475 21.2307 35.8177 21.2307Z",fill:"#0553F0"})),I9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M24 0H0V24H24V0Z",fill:"#D54407"}),React.createElement("path",{d:"M6.85156 5.14062H17.1373V8.56921H8.56586L6.85156 10.2835V8.56921V5.14062Z",fill:"white"}),React.createElement("path",{d:"M6.85156 10.2812H15.423V13.7098H8.56586L6.85156 15.4241V13.7098V10.2812Z",fill:"white"}),React.createElement("path",{d:"M6.85156 15.4297H11.9944V18.8582H6.85156V15.4297Z",fill:"white"})),F9=e=>React.createElement("svg",y9({width:"328",height:"336",viewBox:"0 0 328 336",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M266.945 155.07V266.366L211.969 194.942L266.945 155.07Z",fill:"white"}),React.createElement("path",{d:"M266.946 266.75C266.818 266.75 266.754 266.686 266.626 266.622L211.65 195.198C211.586 195.134 211.586 195.07 211.586 195.006C211.586 194.878 211.65 194.75 211.714 194.686L266.69 154.814C266.818 154.75 266.946 154.75 267.074 154.814C267.202 154.878 267.266 155.006 267.266 155.134V266.43C267.266 266.558 267.138 266.75 267.01 266.75H266.946ZM212.482 195.006L266.562 265.342V155.774L212.482 195.006Z",fill:"#172554"}),React.createElement("path",{d:"M135.491 193.662L79.5547 266.366V155.07L135.491 193.662Z",fill:"white"}),React.createElement("path",{d:"M79.5559 266.751H79.4279C79.2999 266.687 79.1719 266.559 79.1719 266.431V155.071C79.1719 154.943 79.2359 154.815 79.3639 154.751C79.4919 154.687 79.6199 154.687 79.7479 154.751L135.684 193.343C135.748 193.407 135.812 193.471 135.812 193.599C135.812 193.727 135.812 193.791 135.748 193.855L79.8119 266.623C79.7479 266.687 79.6839 266.751 79.5559 266.751ZM79.9399 155.775V265.343L134.98 193.727L79.9399 155.775Z",fill:"#172554"}),React.createElement("path",{d:"M266.947 266.368H79.5547L135.491 193.664L175.619 221.312L211.971 194.944L266.947 266.368Z",fill:"white"}),React.createElement("path",{d:"M266.949 266.751H79.5574C79.4294 266.751 79.3014 266.687 79.2374 266.559C79.1734 266.431 79.1734 266.303 79.3014 266.175L135.237 193.407C135.365 193.279 135.557 193.215 135.749 193.343L175.685 220.863L211.845 194.623C211.973 194.495 212.229 194.559 212.357 194.687L267.205 266.111C267.269 266.239 267.269 266.367 267.269 266.495C267.205 266.623 267.077 266.751 266.949 266.751ZM80.2614 266.047H266.181L211.909 195.519L175.813 221.695C175.685 221.759 175.493 221.759 175.429 221.695L135.557 194.239L80.2614 266.047Z",fill:"#172554"}),React.createElement("path",{d:"M266.947 155.07L211.971 194.942L175.619 221.31L135.491 193.662L79.5547 155.07H266.947Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M175.62 221.695C175.556 221.695 175.492 221.695 175.428 221.631L79.364 155.327C79.236 155.263 79.172 155.072 79.236 154.944C79.3 154.816 79.428 154.688 79.556 154.688H266.948C267.14 154.688 267.332 154.815 267.332 155.007C267.332 155.135 267.268 155.263 267.204 155.327L212.356 195.2L212.292 195.264L175.94 221.631C175.812 221.695 175.748 221.695 175.62 221.695ZM80.708 155.392L175.62 220.864L211.716 194.688L211.78 194.624L265.86 155.392H80.708Z",fill:"#172554"}),React.createElement("path",{d:"M266.947 155.07H79.5547L175.619 88.7656L266.947 155.07Z",fill:"white"}),React.createElement("path",{d:"M266.948 155.392H79.5559C79.3639 155.392 79.1719 155.264 79.1719 155.008C79.1719 154.88 79.2359 154.752 79.2999 154.688L175.364 88.3839C175.492 88.3199 175.62 88.3199 175.748 88.3839L267.076 154.688C267.204 154.752 267.268 154.944 267.204 155.072C267.204 155.328 267.076 155.392 266.948 155.392ZM80.7079 154.688H265.796L175.62 89.2159L80.7079 154.688Z",fill:"#172554"}),React.createElement("path",{d:"M170.236 211.071C170.108 211.071 169.98 211.007 169.916 210.879L127.868 111.167C127.804 110.975 127.868 110.783 128.06 110.719C128.252 110.655 128.444 110.719 128.508 110.911L170.556 210.623C170.62 210.815 170.556 211.007 170.364 211.071C170.3 211.071 170.236 211.071 170.236 211.071Z",fill:"#172554"}),React.createElement("path",{d:"M170.235 211.074C170.107 211.074 170.043 211.01 169.979 210.946L95.6751 123.586C95.5471 123.458 95.5471 123.202 95.7391 123.074C95.8671 122.946 96.1231 122.946 96.2511 123.138L170.491 210.562C170.619 210.69 170.619 210.946 170.427 211.074C170.363 211.074 170.299 211.074 170.235 211.074Z",fill:"#172554"}),React.createElement("path",{d:"M170.233 211.074C170.041 211.074 169.849 210.946 169.849 210.754L165.945 119.618C165.945 119.426 166.073 119.234 166.265 119.234C166.457 119.234 166.649 119.362 166.649 119.554L170.553 210.69C170.553 210.882 170.425 211.074 170.233 211.074Z",fill:"#172554"}),React.createElement("path",{d:"M170.236 211.068C170.172 211.068 170.108 211.068 170.044 211.004L73.0204 144.38C72.8284 144.252 72.8284 144.06 72.9564 143.868C73.0844 143.74 73.2764 143.676 73.4684 143.804L170.428 210.428C170.62 210.556 170.62 210.748 170.492 210.94C170.428 211.004 170.364 211.068 170.236 211.068Z",fill:"#172554"}),React.createElement("path",{d:"M156.543 200.447C157.887 197.695 160.511 195.775 163.519 195.391C163.967 195.327 163.775 194.688 163.327 194.688C160.127 195.2 157.311 197.184 155.903 200.128C155.711 200.447 156.351 200.832 156.543 200.447Z",fill:"#172554"}),React.createElement("path",{d:"M144.51 192.131C146.878 186.819 151.678 182.979 157.374 181.763C157.822 181.699 157.63 180.995 157.182 181.059C152.638 182.019 148.606 184.643 145.854 188.355C145.086 189.379 144.446 190.531 143.87 191.747C143.742 192.131 144.318 192.515 144.51 192.131Z",fill:"#172554"}),React.createElement("path",{d:"M130.75 182.846C134.59 177.15 139.966 172.734 146.302 170.11C148.094 169.342 149.886 168.766 151.806 168.318C152.254 168.19 152.062 167.55 151.614 167.614C144.83 169.214 138.622 172.798 133.822 177.918C132.478 179.326 131.262 180.926 130.174 182.526C129.854 182.91 130.494 183.23 130.75 182.846Z",fill:"#172554"}),React.createElement("path",{d:"M117.754 173.692C124.73 164.284 134.458 157.244 145.53 153.532C145.978 153.404 145.786 152.7 145.338 152.828C134.074 156.604 124.218 163.772 117.114 173.372C116.858 173.692 117.498 174.076 117.754 173.692Z",fill:"#172554"}),React.createElement("path",{d:"M106.361 166.595C108.665 161.283 112.762 156.803 117.114 153.027C123.834 147.267 131.898 143.171 140.473 141.123C140.922 140.995 140.729 140.355 140.281 140.419C134.713 141.763 129.337 143.939 124.409 146.819C119.481 149.763 115.002 153.411 111.226 157.699C108.986 160.195 107.129 163.075 105.721 166.147C105.593 166.595 106.169 166.979 106.361 166.595Z",fill:"#172554"}),React.createElement("path",{d:"M163.963 195.388C164.411 194.556 165.115 193.916 166.011 193.596C167.035 193.148 168.123 192.892 169.211 192.956C169.659 193.02 169.659 192.252 169.211 192.252C167.995 192.188 166.779 192.444 165.627 192.956C164.667 193.34 163.835 194.044 163.323 195.004C163.195 195.452 163.771 195.772 163.963 195.388Z",fill:"#172554"}),React.createElement("path",{d:"M158.525 181.505C159.805 177.985 163.645 176.193 167.165 177.473C167.549 177.601 167.869 177.793 168.189 177.985C168.573 178.177 168.957 177.601 168.573 177.345C164.989 175.297 160.445 176.577 158.397 180.161C158.205 180.545 158.013 180.929 157.821 181.377C157.693 181.761 158.333 181.953 158.525 181.505Z",fill:"#172554"}),React.createElement("path",{d:"M152.379 168.062C155.963 163.326 162.171 161.47 167.803 163.454C168.251 163.582 168.443 162.942 167.995 162.75C162.171 160.766 155.707 162.686 151.867 167.486C151.611 167.934 152.123 168.446 152.379 168.062Z",fill:"#172554"}),React.createElement("path",{d:"M146.233 153.023C151.545 147.199 160.057 145.727 167.033 149.439C167.417 149.631 167.801 149.055 167.417 148.799C161.785 145.855 155.065 146.047 149.625 149.375C148.217 150.271 146.873 151.295 145.785 152.575C145.401 152.895 145.913 153.407 146.233 153.023Z",fill:"#172554"}),React.createElement("path",{d:"M140.863 140.867C143.039 138.307 146.175 136.771 149.247 135.555C152.703 134.083 156.415 133.379 160.191 133.507C162.303 133.635 164.351 134.019 166.271 134.723C166.719 134.851 166.911 134.147 166.463 134.019C162.879 132.803 159.039 132.483 155.327 133.059C153.407 133.379 151.487 133.891 149.695 134.659C148.031 135.299 146.431 136.003 144.831 136.835C143.167 137.731 141.631 138.947 140.351 140.355C140.031 140.739 140.543 141.251 140.863 140.867Z",fill:"#172554"}),React.createElement("path",{d:"M175.682 238.848C186.038 238.848 194.434 230.452 194.434 220.096C194.434 209.739 186.038 201.344 175.682 201.344C165.325 201.344 156.93 209.739 156.93 220.096C156.93 230.452 165.325 238.848 175.682 238.848Z",fill:"white"}),React.createElement("path",{d:"M175.683 239.17C165.123 239.17 156.547 230.594 156.547 220.034C156.547 209.474 165.123 200.898 175.683 200.898C186.243 200.898 194.819 209.474 194.819 220.034C194.755 230.658 186.243 239.17 175.683 239.17ZM175.683 201.73C165.507 201.73 157.315 209.986 157.315 220.098C157.315 230.274 165.571 238.466 175.683 238.466C185.859 238.466 194.051 230.21 194.051 220.098C194.051 209.922 185.859 201.73 175.683 201.73Z",fill:"#172554"}),React.createElement("path",{d:"M181.318 226.515C180.614 227.283 179.782 227.923 178.758 228.371C176.774 229.139 174.534 229.139 172.55 228.371C171.59 227.987 170.694 227.347 169.99 226.515V226.451C169.862 226.323 169.67 226.259 169.478 226.387C169.35 226.515 169.286 226.707 169.414 226.835C169.99 227.923 170.95 228.883 172.102 229.395C174.342 230.483 177.03 230.483 179.334 229.395C180.486 228.819 181.382 227.923 181.958 226.771C182.022 226.579 181.958 226.387 181.83 226.259C181.638 226.259 181.446 226.323 181.318 226.515Z",fill:"#172554"}),React.createElement("path",{d:"M186.881 218.688C186.177 218.112 185.281 217.792 184.385 217.856C183.937 217.856 183.489 217.92 183.105 218.048C182.657 218.176 182.272 218.432 181.952 218.688L181.889 218.752C181.761 218.88 181.505 218.88 181.377 218.688C181.313 218.56 181.312 218.432 181.312 218.304C181.569 217.664 182.016 217.152 182.592 216.832C183.744 216.192 185.153 216.192 186.241 216.832C186.817 217.152 187.265 217.664 187.521 218.304C187.585 218.496 187.521 218.688 187.329 218.752C187.201 218.816 187.073 218.752 186.945 218.688H186.881Z",fill:"#172554"}),React.createElement("path",{d:"M169.413 218.687C169.093 218.431 168.645 218.175 168.261 218.047C167.813 217.919 167.429 217.855 166.981 217.855C166.533 217.855 166.085 217.919 165.701 218.047C165.253 218.175 164.869 218.431 164.549 218.687L164.485 218.751C164.357 218.879 164.101 218.879 163.973 218.687C163.909 218.559 163.845 218.431 163.909 218.303C164.165 217.663 164.613 217.151 165.189 216.831C165.765 216.511 166.405 216.383 167.045 216.383C167.685 216.383 168.325 216.511 168.901 216.831C169.477 217.151 169.925 217.663 170.181 218.303C170.245 218.495 170.181 218.687 169.989 218.751C169.861 218.815 169.733 218.751 169.605 218.687H169.413Z",fill:"#172554"}),React.createElement("path",{d:"M128.125 66.494C128.125 66.494 131.261 61.246 135.357 63.486C140.349 66.238 138.813 74.174 135.805 82.814L131.069 82.11L128.125 66.494Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M135.742 83.2005L131.006 82.4965C130.878 82.4965 130.75 82.3685 130.686 82.1765L127.742 66.4965C127.742 66.4325 127.742 66.3045 127.806 66.2405C127.806 66.1765 131.198 60.7365 135.486 63.1045C141.054 66.2405 138.75 75.3285 136.126 82.8805C136.062 83.1365 135.934 83.2005 135.742 83.2005ZM131.39 81.8565L135.55 82.4325C139.262 71.7445 139.134 65.9845 135.166 63.8085C131.774 61.8885 129.022 65.8565 128.51 66.5605L131.39 81.8565Z",fill:"#172554"}),React.createElement("path",{d:"M120.829 88.7717C106.813 85.6357 106.493 71.7477 111.293 71.9397C116.029 72.0677 118.397 76.8677 118.397 76.8677C116.733 72.8997 116.669 62.0837 125.309 65.0917C133.949 68.0997 134.845 82.9477 134.845 82.9477L120.829 88.7717Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M120.828 89.1555H120.764C110.588 86.9155 107.708 79.3635 108.22 75.0755C108.476 72.8355 109.692 71.4915 111.292 71.5555C113.724 71.6835 115.964 72.8355 117.436 74.7555C116.86 71.8755 116.988 67.7795 119.036 65.6035C120.508 64.0675 122.62 63.7475 125.372 64.7075C134.14 67.7795 135.1 82.2435 135.164 82.8835C135.164 83.0115 135.1 83.2035 134.972 83.2675L120.956 89.1555C120.892 89.1555 120.892 89.1555 120.828 89.1555ZM111.164 72.2595C109.692 72.2595 109.052 73.7315 108.86 75.1395C108.348 79.4275 111.676 86.3395 120.764 88.3875L134.46 82.6275C134.268 80.6435 132.924 68.0355 125.18 65.3475C122.684 64.5155 120.828 64.7075 119.548 66.0515C117.308 68.4195 117.564 73.9235 118.652 76.6115C118.716 76.8035 118.652 76.9955 118.46 77.0595C118.268 77.1235 118.076 77.0595 118.012 76.8675C118.012 76.8035 115.708 72.2595 111.228 72.1315L111.164 72.2595Z",fill:"#172554"}),React.createElement("path",{d:"M130.557 81.6676C130.365 81.6676 130.173 81.4756 130.173 81.2836C130.173 81.1556 130.365 70.7236 125.821 69.7636C124.989 69.5076 124.093 69.6996 123.389 70.2116C121.789 71.6836 122.237 75.5236 122.237 75.5876C122.237 75.7796 122.109 75.9716 121.917 75.9716C121.725 75.9716 121.533 75.8436 121.533 75.6516C121.533 75.4596 121.021 71.3636 122.877 69.6356C123.709 68.9316 124.861 68.6756 125.949 68.9956C131.069 70.0836 130.877 80.8356 130.877 81.2196C130.941 81.5396 130.813 81.6676 130.557 81.6676Z",fill:"#172554"}),React.createElement("path",{d:"M112.443 81.2771C112.315 81.2771 112.251 81.2131 112.187 81.1491C111.355 80.2531 111.355 78.8451 112.251 78.0131C113.403 76.9251 115.899 76.7331 119.163 79.8051C119.291 79.9331 119.291 80.1891 119.163 80.3171C119.035 80.4451 118.779 80.4451 118.651 80.3171C115.899 77.7571 113.659 77.5651 112.699 78.5251C112.123 79.1011 112.059 80.0611 112.635 80.6371C112.635 80.6371 112.635 80.6371 112.699 80.7011C112.827 80.8291 112.827 81.0851 112.699 81.2131C112.635 81.2771 112.571 81.2771 112.443 81.2771Z",fill:"#172554"}),React.createElement("path",{d:"M138.047 82.8788C137.919 82.8788 137.791 82.8148 137.727 82.6228C137.663 82.4308 137.727 82.2388 137.919 82.1748C140.287 81.2788 142.271 79.5508 143.423 77.3108C143.615 76.9268 143.743 76.4788 143.679 76.0948C143.423 75.6468 142.911 75.4548 142.399 75.5188C141.887 75.5188 141.503 75.8388 141.311 76.2868C141.247 76.4788 141.055 76.6068 140.863 76.5428C140.671 76.4788 140.543 76.2868 140.607 76.0948C140.799 75.3268 141.503 74.7508 142.335 74.7508C143.167 74.6228 143.999 75.0068 144.383 75.7748C144.511 76.3508 144.447 76.9908 144.127 77.5668C142.911 79.9988 140.799 81.8548 138.239 82.8148C138.111 82.8788 138.111 82.8788 138.047 82.8788Z",fill:"#172554"}),React.createElement("path",{d:"M147.644 83.842C147.58 83.842 147.452 83.842 147.388 83.778C145.66 81.986 140.604 82.754 140.54 82.754C140.348 82.754 140.156 82.626 140.156 82.434C140.156 82.242 140.284 82.05 140.476 82.05C140.668 82.05 145.98 81.218 147.964 83.266C148.092 83.394 148.092 83.65 147.964 83.778C147.836 83.842 147.772 83.906 147.644 83.842Z",fill:"#172554"}),React.createElement("path",{d:"M118.463 89.0255C127.039 83.7135 136.958 81.1535 138.046 82.5615C139.134 83.9055 123.326 90.6895 120.446 91.2015C117.566 91.7135 117.183 90.2415 118.463 89.0255Z",fill:"white"}),React.createElement("path",{d:"M119.358 91.7133C118.142 91.7133 117.694 91.2653 117.566 90.9453C117.246 90.3693 117.502 89.5373 118.206 88.8333L118.27 88.7693C126.014 83.9693 136.894 80.5133 138.302 82.3693C138.43 82.5613 138.494 82.8173 138.366 83.0093C137.598 85.0573 122.942 91.1373 120.51 91.5853C120.126 91.6493 119.742 91.7133 119.358 91.7133ZM118.718 89.3453C118.27 89.7933 118.078 90.3053 118.206 90.5613C118.334 90.8173 119.038 91.1373 120.446 90.8813C123.39 90.3053 137.278 84.2893 137.79 82.7533C136.766 81.8573 127.678 83.7773 118.718 89.3453Z",fill:"#172554"}),React.createElement("path",{d:"M194.433 199.423C194.369 199.423 194.305 199.423 194.241 199.359C194.049 199.295 193.985 199.039 194.113 198.911C194.817 197.631 195.457 196.351 196.097 195.071C196.161 194.879 196.417 194.815 196.545 194.879C196.737 194.943 196.801 195.199 196.673 195.391C196.033 196.671 195.329 197.951 194.689 199.231C194.689 199.359 194.561 199.423 194.433 199.423ZM198.401 191.743C198.337 191.743 198.273 191.743 198.273 191.679C198.081 191.615 198.017 191.359 198.081 191.231C198.721 189.951 199.361 188.607 199.937 187.327C200.001 187.135 200.193 187.071 200.385 187.135C200.577 187.199 200.641 187.391 200.577 187.583C200.577 187.583 200.577 187.583 200.577 187.647C199.937 188.927 199.361 190.271 198.657 191.551C198.657 191.615 198.529 191.743 198.401 191.743ZM202.049 183.871C201.985 183.871 201.921 183.871 201.921 183.871C201.729 183.807 201.665 183.551 201.729 183.423C202.305 182.079 202.881 180.735 203.457 179.455C203.521 179.263 203.713 179.199 203.905 179.263C204.097 179.327 204.161 179.583 204.097 179.711C203.585 180.991 203.009 182.335 202.369 183.679C202.305 183.807 202.177 183.871 202.049 183.871ZM205.377 175.935C205.313 175.935 205.313 175.935 205.249 175.935C205.057 175.871 204.993 175.679 205.057 175.487C205.569 174.143 206.081 172.735 206.529 171.455C206.593 171.263 206.785 171.135 206.977 171.263C207.169 171.327 207.297 171.519 207.169 171.711C206.721 173.055 206.209 174.399 205.697 175.807C205.697 175.807 205.569 175.935 205.377 175.935ZM201.025 170.623C200.833 170.623 200.641 170.495 200.641 170.303C200.641 170.111 200.769 169.919 200.961 169.919C202.305 169.663 203.649 169.151 204.801 168.383C204.993 168.255 205.185 168.319 205.313 168.511C205.441 168.703 205.377 168.895 205.185 169.023C203.969 169.855 202.561 170.367 201.089 170.623H201.025ZM196.737 170.303C196.673 170.303 196.673 170.303 196.609 170.303C195.777 169.983 194.945 169.599 194.177 169.151C193.665 168.831 193.217 168.511 192.705 168.191C192.513 168.063 192.513 167.871 192.641 167.679C192.769 167.551 192.961 167.487 193.153 167.615C193.601 167.935 194.113 168.255 194.625 168.575C195.329 169.023 196.097 169.407 196.865 169.663C197.057 169.663 197.185 169.855 197.185 170.111C197.185 170.239 196.993 170.367 196.737 170.303ZM208.193 167.743H208.065C207.873 167.679 207.745 167.487 207.809 167.295C207.937 166.975 208.001 166.655 208.065 166.335L208.001 166.271C207.873 166.143 207.873 165.887 208.001 165.759L208.257 165.503C208.449 164.671 208.705 163.903 208.833 163.135C208.897 162.943 209.089 162.815 209.281 162.879C209.473 162.943 209.601 163.135 209.537 163.327C209.473 163.711 209.345 164.031 209.281 164.479C209.793 163.903 210.305 163.263 210.817 162.623C210.945 162.495 211.137 162.431 211.329 162.559C211.457 162.687 211.521 162.879 211.393 163.071C210.625 164.095 209.793 165.055 208.897 165.951C208.769 166.463 208.577 167.039 208.449 167.551C208.449 167.679 208.321 167.743 208.193 167.743ZM189.761 165.375C189.633 165.375 189.569 165.311 189.505 165.247C188.545 164.159 187.649 162.943 186.945 161.663C186.881 161.471 186.945 161.279 187.073 161.151C187.265 161.087 187.457 161.151 187.521 161.279C188.225 162.495 188.993 163.647 189.953 164.735C190.081 164.863 190.081 165.119 189.953 165.247C189.953 165.311 189.889 165.375 189.761 165.375ZM213.761 159.615C213.697 159.615 213.633 159.615 213.569 159.551C213.377 159.423 213.377 159.231 213.441 159.039C214.209 157.951 214.977 156.671 215.745 155.391C215.873 155.199 216.065 155.135 216.257 155.263C216.449 155.391 216.513 155.583 216.385 155.775C215.617 157.055 214.849 158.335 214.081 159.487C214.017 159.615 213.889 159.615 213.761 159.615ZM210.177 159.295C209.921 159.231 209.793 159.103 209.793 158.911C210.049 157.503 210.177 156.095 210.241 154.623C210.241 154.431 210.433 154.239 210.625 154.239C210.817 154.239 211.009 154.431 211.009 154.623C210.945 156.095 210.753 157.503 210.561 158.975C210.497 159.167 210.369 159.295 210.177 159.295ZM185.729 157.823C185.537 157.823 185.409 157.695 185.409 157.567C185.089 156.223 184.961 154.879 184.961 153.471V153.151C184.961 152.959 185.089 152.767 185.345 152.767C185.537 152.767 185.729 152.959 185.729 153.151V153.471C185.729 154.815 185.857 156.095 186.177 157.375C186.241 157.567 186.113 157.759 185.921 157.823H185.729ZM218.177 152.191C218.113 152.191 218.049 152.191 217.985 152.127C217.793 151.999 217.729 151.807 217.857 151.615C218.497 150.399 219.201 149.119 219.841 147.775C219.905 147.583 220.161 147.519 220.353 147.583C220.545 147.647 220.609 147.903 220.545 148.095C219.841 149.439 219.201 150.719 218.497 151.935C218.433 152.127 218.369 152.255 218.177 152.191ZM210.561 150.719C210.369 150.719 210.241 150.591 210.177 150.399C210.049 148.991 209.793 147.583 209.409 146.239C209.345 146.047 209.473 145.855 209.665 145.791C209.857 145.727 210.049 145.855 210.113 146.047C210.561 147.455 210.817 148.927 210.881 150.399C210.945 150.527 210.817 150.655 210.561 150.719ZM185.857 149.247H185.793C185.601 149.183 185.473 148.991 185.537 148.799C185.921 147.391 186.433 145.983 187.073 144.703C187.137 144.511 187.393 144.447 187.521 144.511C187.713 144.575 187.777 144.831 187.713 144.959C187.073 146.239 186.561 147.519 186.241 148.927C186.177 149.119 186.049 149.247 185.857 149.247ZM222.145 144.511C222.081 144.511 222.017 144.511 222.017 144.511C221.825 144.447 221.761 144.191 221.825 143.999C222.465 142.719 223.041 141.375 223.681 140.095C223.745 139.903 224.001 139.839 224.129 139.903C224.321 139.967 224.385 140.223 224.321 140.351C223.681 141.631 223.105 142.975 222.465 144.255C222.401 144.447 222.273 144.511 222.145 144.511ZM208.001 142.527C207.873 142.527 207.745 142.463 207.681 142.335C206.913 141.183 205.953 140.095 204.865 139.263C204.737 139.135 204.673 138.943 204.801 138.751C204.929 138.623 205.121 138.559 205.313 138.687C206.465 139.583 207.489 140.671 208.321 141.951C208.449 142.143 208.385 142.335 208.257 142.463C208.129 142.527 208.065 142.527 208.001 142.527ZM189.761 141.631C189.697 141.631 189.569 141.567 189.505 141.567C189.377 141.439 189.313 141.247 189.441 141.055C190.401 139.967 191.489 138.943 192.769 138.175C192.961 138.047 193.153 138.111 193.281 138.303C193.409 138.495 193.345 138.687 193.153 138.815C192.001 139.583 190.913 140.543 190.017 141.567C189.953 141.567 189.889 141.631 189.761 141.631ZM201.281 137.343H201.153C200.385 137.087 199.553 137.023 198.721 137.023C198.145 137.023 197.633 137.087 197.057 137.151C196.865 137.215 196.673 137.023 196.609 136.831C196.545 136.639 196.737 136.447 196.929 136.383C197.505 136.255 198.081 136.255 198.721 136.255C199.617 136.255 200.513 136.383 201.345 136.639C201.537 136.639 201.665 136.831 201.665 137.023C201.665 137.279 201.473 137.407 201.281 137.343ZM225.793 136.639C225.729 136.639 225.665 136.639 225.665 136.575C225.473 136.511 225.409 136.255 225.473 136.127C226.049 134.783 226.689 133.503 227.265 132.159C227.329 131.967 227.585 131.903 227.777 132.031C227.969 132.095 228.033 132.287 227.969 132.479C227.393 133.759 226.817 135.103 226.177 136.447C226.049 136.575 225.985 136.639 225.793 136.639ZM229.377 128.703C229.313 128.703 229.249 128.703 229.249 128.703C229.057 128.639 228.993 128.447 229.057 128.255C229.633 126.911 230.273 125.567 230.849 124.287C230.913 124.095 231.169 124.031 231.297 124.095C231.489 124.159 231.553 124.415 231.489 124.607C230.913 125.887 230.273 127.231 229.697 128.511C229.633 128.639 229.505 128.767 229.377 128.703ZM233.025 120.831C232.961 120.831 232.897 120.831 232.897 120.767C232.705 120.703 232.641 120.447 232.705 120.255C233.409 118.783 234.049 117.567 234.689 116.351C234.817 116.159 235.009 116.159 235.201 116.287C235.329 116.351 235.393 116.543 235.329 116.735C234.753 117.887 234.113 119.167 233.409 120.575C233.281 120.767 233.153 120.895 233.025 120.831ZM237.121 113.215C237.057 113.215 236.993 113.215 236.929 113.151C236.737 113.023 236.737 112.831 236.801 112.639C237.569 111.359 238.465 110.207 239.425 109.119C239.553 108.991 239.809 108.991 239.937 109.119C240.065 109.247 240.065 109.503 239.937 109.631C238.977 110.655 238.145 111.807 237.377 113.023C237.377 113.151 237.249 113.215 237.121 113.215Z",fill:"#172554"}),React.createElement("path",{d:"M239.742 80.7097C239.742 80.7097 240.446 74.6297 244.99 74.9497C250.686 75.3977 252.606 83.2057 253.502 92.3577L248.958 93.7017L239.742 80.7097Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M248.959 94.082C248.831 94.082 248.703 94.018 248.639 93.954L239.423 80.962C239.359 80.898 239.359 80.834 239.359 80.706C239.359 80.642 240.127 74.242 244.991 74.626C251.391 75.138 253.055 84.354 253.823 92.354C253.823 92.546 253.759 92.674 253.567 92.738L248.959 94.018V94.082ZM240.127 80.642L249.087 93.314L253.119 92.098C252.031 80.834 249.535 75.65 244.991 75.33C241.087 75.01 240.255 79.746 240.127 80.642Z",fill:"#172554"}),React.createElement("path",{d:"M242.371 103.937C228.291 106.945 222.275 94.4646 226.627 92.6086C231.043 90.7526 235.139 94.0806 235.139 94.0806C232.003 91.2006 227.395 81.3446 236.483 80.5126C245.635 79.6166 252.611 92.7366 252.611 92.7366L242.371 103.937Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M238.082 104.832C230.594 104.832 226.242 100.288 225.154 96.8321C224.514 94.7201 225.026 92.9921 226.498 92.3521C228.738 91.4561 231.298 91.5841 233.41 92.7361C231.682 90.3041 230.082 86.5921 231.042 83.7121C231.746 81.6641 233.538 80.5121 236.482 80.2561C245.762 79.3601 252.674 92.0961 252.93 92.6721C252.994 92.8001 252.994 92.9921 252.866 93.0561L242.562 104.256C242.498 104.32 242.434 104.32 242.37 104.384C241.026 104.64 239.554 104.832 238.082 104.832ZM229.442 92.4161C228.546 92.4161 227.65 92.6081 226.818 92.9281C225.474 93.5041 225.474 95.1681 225.858 96.5121C227.138 100.608 233.09 105.472 242.178 103.552L252.226 92.6081C251.266 90.9441 244.738 80.0641 236.546 80.8321C233.922 81.0881 232.322 82.1121 231.746 83.8401C230.722 86.9121 233.218 91.8401 235.394 93.8241C235.522 93.9521 235.522 94.2081 235.394 94.3361C235.266 94.4641 235.074 94.4641 234.882 94.3361C233.346 93.1841 231.426 92.4801 229.442 92.4161Z",fill:"#172554"}),React.createElement("path",{d:"M248.13 93.5046C248.002 93.5046 247.874 93.4406 247.81 93.3126C247.746 93.1846 243.586 83.6486 239.042 84.6086C238.146 84.7366 237.442 85.2486 237.058 86.0806C236.226 88.1286 238.274 91.3926 238.274 91.4566C238.402 91.5846 238.402 91.8406 238.21 91.9686C238.082 92.0966 237.826 92.0966 237.698 91.9046L237.634 91.8406C237.57 91.7126 235.394 88.1926 236.354 85.8246C236.802 84.8006 237.762 84.0966 238.85 83.9686C243.97 82.8166 248.258 92.6726 248.45 93.0566C248.514 93.2486 248.45 93.4406 248.258 93.5046C248.258 93.5046 248.194 93.5046 248.13 93.5046Z",fill:"#172554"}),React.createElement("path",{d:"M231.49 100.674C231.426 100.674 231.362 100.674 231.362 100.674C230.21 100.226 229.634 98.9461 230.082 97.7941C230.658 96.3221 232.834 95.1061 237.122 96.5141C237.314 96.5781 237.378 96.7701 237.314 96.9621C237.25 97.1541 237.058 97.2181 236.866 97.2181C233.282 96.0021 231.234 96.7701 230.722 98.0501C230.402 98.8181 230.85 99.7141 231.618 99.9701C231.81 100.034 231.938 100.226 231.938 100.418C231.874 100.61 231.682 100.738 231.49 100.674Z",fill:"#172554"}),React.createElement("path",{d:"M255.424 91.5219C255.36 91.5219 255.232 91.4579 255.168 91.3939C255.04 91.2659 255.04 91.0099 255.168 90.8819C256.96 89.0899 257.984 86.7219 258.112 84.1619C258.176 83.7139 258.048 83.3299 257.792 82.9459C257.344 82.6899 256.832 82.6899 256.384 82.9459C255.936 83.1379 255.68 83.6499 255.744 84.0979C255.808 84.2899 255.68 84.4819 255.488 84.5459C255.296 84.6099 255.104 84.4819 255.04 84.2899C254.912 83.5219 255.296 82.6899 256 82.3699C256.704 81.9219 257.6 81.9859 258.24 82.4979C258.624 83.0099 258.816 83.5859 258.752 84.2259C258.624 86.9139 257.536 89.5379 255.616 91.4579C255.616 91.4579 255.552 91.4579 255.424 91.5219Z",fill:"#172554"}),React.createElement("path",{d:"M257.605 90.3023C257.477 90.3023 257.349 90.2383 257.285 90.1743C257.157 89.9823 257.221 89.7903 257.413 89.6623C257.605 89.5343 262.085 86.5903 264.709 87.6783C264.901 87.7423 265.029 87.9343 264.965 88.1263C264.901 88.3183 264.709 88.4463 264.517 88.3823H264.453C262.149 87.4223 257.861 90.3023 257.797 90.3023C257.733 90.3023 257.669 90.3023 257.605 90.3023Z",fill:"#172554"}),React.createElement("path",{d:"M240.382 105.22C245.95 96.8361 253.886 90.3721 255.486 91.1401C257.086 91.9081 245.502 104.644 243.134 106.372C240.766 108.036 239.742 106.884 240.382 105.22Z",fill:"white"}),React.createElement("path",{d:"M241.093 107.585C240.773 107.585 240.517 107.521 240.261 107.329C239.749 106.881 239.621 106.113 240.005 105.153C240.005 105.153 240.005 105.089 240.069 105.089C245.125 97.5373 253.509 89.8573 255.621 90.8813C255.813 91.0093 255.941 91.2013 255.941 91.3933C256.069 93.5693 245.317 105.217 243.269 106.689C242.693 107.201 241.925 107.457 241.093 107.585ZM240.645 105.409C240.453 106.049 240.453 106.561 240.709 106.753C240.965 106.945 241.669 106.881 242.885 106.113C245.381 104.385 255.429 93.0573 255.237 91.5213C253.957 91.0093 246.533 96.6413 240.645 105.409Z",fill:"#172554"})),B9=e=>React.createElement("svg",y9({width:"280",height:"280",viewBox:"0 0 280 280",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M211.679 72.4669V158.651C211.679 160.835 209.887 162.571 207.759 162.571H70.9513C68.7672 162.571 67.0312 160.835 67.0312 158.651V72.4669C67.0312 70.2829 68.7672 68.5469 70.9513 68.5469H207.703C209.887 68.5469 211.623 70.2829 211.679 72.4669Z",fill:"white"}),React.createElement("path",{d:"M207.71 162.85H70.9578C68.6058 162.85 66.7578 160.946 66.7578 158.65V72.4656C66.7578 70.1136 68.6618 68.2656 70.9578 68.2656H207.71C210.062 68.2656 211.91 70.1696 211.91 72.4656V158.65C211.966 160.946 210.062 162.85 207.71 162.85ZM70.9578 68.8256C68.9418 68.8256 67.3178 70.4496 67.3178 72.4656V158.65C67.3178 160.666 68.9418 162.29 70.9578 162.29H207.71C209.726 162.29 211.35 160.666 211.35 158.65V72.4656C211.35 70.4496 209.726 68.8256 207.71 68.8256H70.9578Z",fill:"#082F49"}),React.createElement("path",{d:"M205.69 74.4219H72.9141V156.686H205.69V74.4219Z",fill:"white"}),React.createElement("path",{d:"M205.745 156.972H72.9128C72.7448 156.972 72.6328 156.86 72.6328 156.692V74.4284C72.6328 74.2604 72.7448 74.1484 72.9128 74.1484H205.745C205.913 74.1484 206.025 74.2604 206.025 74.4284V156.692C206.025 156.86 205.913 156.972 205.745 156.972ZM73.2488 156.412H205.465V74.7084H73.2488V156.412Z",fill:"#082F49"}),React.createElement("path",{d:"M70.0003 121.407C69.2723 121.407 68.6562 120.791 68.6562 120.063C68.6562 119.335 69.2723 118.719 70.0003 118.719C70.7283 118.719 71.3443 119.335 71.3443 120.063C71.3443 120.791 70.7283 121.407 70.0003 121.407ZM70.0003 119.335C69.6083 119.335 69.2722 119.671 69.2722 120.063C69.2722 120.455 69.6083 120.791 70.0003 120.791C70.3923 120.791 70.7283 120.455 70.7283 120.063C70.7843 119.671 70.4483 119.335 70.0003 119.335Z",fill:"white"}),React.createElement("path",{d:"M70.0003 118.215C69.2723 118.215 68.6562 117.599 68.6562 116.871V111.047C68.6562 110.319 69.2723 109.703 70.0003 109.703C70.7283 109.703 71.3443 110.319 71.3443 111.047V116.871C71.3443 117.599 70.7843 118.215 70.0003 118.215ZM70.0003 110.319C69.6083 110.319 69.2722 110.655 69.2722 111.047V116.871C69.2722 117.263 69.6083 117.599 70.0003 117.599C70.3923 117.599 70.7283 117.263 70.7283 116.871V111.047C70.7843 110.599 70.4483 110.263 70.0003 110.319Z",fill:"white"}),React.createElement("path",{d:"M70.0003 121.407C69.2723 121.407 68.6562 120.791 68.6562 120.063C68.6562 119.335 69.2723 118.719 70.0003 118.719C70.7283 118.719 71.3443 119.335 71.3443 120.063C71.3443 120.791 70.7283 121.407 70.0003 121.407ZM70.0003 119.335C69.6083 119.335 69.2722 119.671 69.2722 120.063C69.2722 120.455 69.6083 120.791 70.0003 120.791C70.3923 120.791 70.7283 120.455 70.7283 120.063C70.7843 119.671 70.4483 119.335 70.0003 119.335Z",fill:"#082F49"}),React.createElement("path",{d:"M70.0003 118.215C69.2723 118.215 68.6562 117.599 68.6562 116.871V111.047C68.6562 110.319 69.2723 109.703 70.0003 109.703C70.7283 109.703 71.3443 110.319 71.3443 111.047V116.871C71.3443 117.599 70.7843 118.215 70.0003 118.215ZM70.0003 110.319C69.6083 110.319 69.2722 110.655 69.2722 111.047V116.871C69.2722 117.263 69.6083 117.599 70.0003 117.599C70.3923 117.599 70.7283 117.263 70.7283 116.871V111.047C70.7843 110.599 70.4483 110.263 70.0003 110.319Z",fill:"#082F49"}),React.createElement("path",{d:"M70.0003 121.407C69.2723 121.407 68.6562 120.791 68.6562 120.063C68.6562 119.335 69.2723 118.719 70.0003 118.719C70.7283 118.719 71.3443 119.335 71.3443 120.063C71.3443 120.791 70.7283 121.407 70.0003 121.407ZM70.0003 119.335C69.6083 119.335 69.2722 119.671 69.2722 120.063C69.2722 120.455 69.6083 120.791 70.0003 120.791C70.3923 120.791 70.7283 120.455 70.7283 120.063C70.7843 119.671 70.4483 119.335 70.0003 119.335Z",stroke:"#082F49",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M70.0003 118.215C69.2723 118.215 68.6562 117.599 68.6562 116.871V111.047C68.6562 110.319 69.2723 109.703 70.0003 109.703C70.7283 109.703 71.3443 110.319 71.3443 111.047V116.871C71.3443 117.599 70.7843 118.215 70.0003 118.215ZM70.0003 110.319C69.6083 110.319 69.2722 110.655 69.2722 111.047V116.871C69.2722 117.263 69.6083 117.599 70.0003 117.599C70.3923 117.599 70.7283 117.263 70.7283 116.871V111.047C70.7843 110.599 70.4483 110.263 70.0003 110.319Z",stroke:"#082F49",strokeLinecap:"round",strokeLinejoin:"round"}),React.createElement("path",{d:"M230.945 188.215C235.313 188.327 238.057 190.343 241.865 198.855C245.673 207.367 252.393 223.999 252.393 223.999C252.393 223.999 206.025 235.031 205.745 234.527C205.465 233.967 202.385 199.023 202.385 199.023C202.049 196.559 203.449 194.207 205.801 193.311C209.833 191.687 221.033 187.767 230.945 188.215Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M230.948 188.22C230.948 188.22 216.052 188.556 205.804 193.316L201.772 173.156C201.772 173.156 196.676 167.052 194.828 162.572H207.764C208.66 162.572 209.556 162.236 210.284 161.676C201.548 149.748 197.46 134.852 200.092 133.452C202.332 132.22 207.26 135.58 211.684 140.06V120.18C217.004 124.772 226.076 143.588 226.076 149.804C226.076 156.468 223.612 162.74 224.956 169.74C226.244 176.74 230.948 188.22 230.948 188.22Z",fill:"white"}),React.createElement("path",{d:"M205.748 193.593C205.692 193.593 205.636 193.593 205.636 193.537C205.58 193.481 205.524 193.425 205.468 193.369L201.436 173.265C200.876 172.593 196.284 166.993 194.492 162.625C194.436 162.513 194.492 162.457 194.548 162.345C194.604 162.289 194.716 162.233 194.772 162.233H207.708C208.492 162.233 209.22 162.009 209.836 161.561C206.308 156.689 203.452 151.313 201.324 145.713C199.476 140.729 198.636 136.529 199.084 134.457C199.14 133.953 199.42 133.449 199.868 133.169C202.388 131.825 207.316 135.409 211.348 139.329V120.121C211.348 120.009 211.404 119.897 211.516 119.841C211.628 119.785 211.74 119.785 211.796 119.897C217.06 124.433 226.244 143.417 226.244 149.745C226.188 152.321 225.908 154.953 225.46 157.529C224.9 161.393 224.284 165.425 225.124 169.625C226.468 176.513 231.116 187.937 231.116 188.049C231.172 188.105 231.172 188.217 231.116 188.329C231.06 188.385 230.948 188.441 230.892 188.441C230.724 188.441 215.94 188.833 205.86 193.537C205.86 193.593 205.804 193.593 205.748 193.593ZM195.22 162.849C197.124 167.273 201.884 172.929 201.94 172.985C201.996 173.041 201.996 173.041 201.996 173.097L205.972 192.865C215.212 188.665 228.036 187.993 230.5 187.881C229.66 185.809 225.796 175.953 224.62 169.737C223.78 165.425 224.396 161.393 224.956 157.417C225.404 154.897 225.628 152.321 225.684 149.745C225.684 143.697 217.172 125.945 211.908 120.793V140.001C211.908 140.113 211.852 140.225 211.74 140.281C211.628 140.337 211.516 140.281 211.404 140.225C206.532 135.297 201.996 132.609 200.148 133.673C199.868 133.897 199.644 134.233 199.644 134.569C198.804 138.265 202.668 150.865 210.452 161.449C210.564 161.561 210.508 161.729 210.396 161.841C209.668 162.457 208.716 162.793 207.708 162.793L195.22 162.849Z",fill:"#082F49"}),React.createElement("path",{d:"M217.283 145.993C217.227 145.993 217.115 145.937 217.059 145.881C214.091 142.689 211.459 140.281 211.459 140.281C211.347 140.169 211.347 140.001 211.459 139.889C211.571 139.777 211.739 139.777 211.851 139.889C211.851 139.889 214.483 142.353 217.507 145.545C217.619 145.657 217.619 145.825 217.507 145.937C217.451 145.937 217.339 145.993 217.283 145.993Z",fill:"#082F49"}),React.createElement("path",{d:"M212.302 164.98C212.19 164.98 212.134 164.924 212.078 164.868L210.006 161.844C209.894 161.732 209.95 161.508 210.062 161.452C210.174 161.34 210.398 161.396 210.454 161.508L212.526 164.588C212.638 164.7 212.582 164.868 212.47 164.98C212.414 164.98 212.358 164.98 212.302 164.98Z",fill:"#082F49"}),React.createElement("path",{d:"M47.7149 188.215C43.3469 188.327 40.6029 190.343 36.7949 198.855C32.9869 207.367 26.2109 223.999 26.2109 223.999C26.2109 223.999 72.5789 235.031 72.8589 234.527C73.1389 233.967 76.2749 199.023 76.2749 199.023C76.6109 196.559 75.2109 194.207 72.8589 193.311C68.8269 191.687 57.6269 187.767 47.7149 188.215Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M47.7188 188.22C47.7188 188.22 62.6148 188.556 72.8628 193.316L76.8948 173.156C76.8948 173.156 81.9907 167.108 83.8387 162.572H70.9028C70.0068 162.572 69.1108 162.236 68.3828 161.676C77.1188 149.748 81.2068 134.852 78.5748 133.452C76.3348 132.22 71.4068 135.58 66.9828 140.06V120.18C61.6628 124.772 52.5908 143.588 52.5908 149.804C52.5908 156.468 55.0548 162.74 53.7108 169.74C52.3668 176.74 47.7188 188.22 47.7188 188.22Z",fill:"white"}),React.createElement("path",{d:"M72.8628 193.596C72.8068 193.596 72.8068 193.596 72.7508 193.54C62.6148 188.836 47.8308 188.444 47.6628 188.444C47.5508 188.444 47.4948 188.388 47.4388 188.332C47.3828 188.275 47.3828 188.163 47.3828 188.051C47.4388 187.939 52.0868 176.572 53.4308 169.628C54.2148 165.428 53.6548 161.396 53.0948 157.532C52.6468 154.956 52.4228 152.38 52.3108 149.748C52.3108 143.42 61.4948 124.436 66.7588 119.9C66.8708 119.844 66.9828 119.788 67.0948 119.844C67.2068 119.9 67.2628 120.012 67.2628 120.124V139.332C71.2388 135.356 76.2228 131.828 78.7428 133.172C79.1908 133.452 79.4708 133.956 79.5268 134.46C79.9748 136.532 79.1908 140.732 77.2868 145.716C75.1588 151.372 72.3028 156.692 68.7748 161.564C69.3908 162.012 70.1188 162.236 70.9028 162.236H83.8388C83.9508 162.236 84.0068 162.292 84.0628 162.348C84.1188 162.404 84.1188 162.516 84.1188 162.628C82.3268 166.996 77.7348 172.596 77.1748 173.268L73.1428 193.372C73.1428 193.484 73.0868 193.54 72.9748 193.54C72.9748 193.596 72.9188 193.596 72.8628 193.596ZM48.1108 187.94C50.5748 188.052 63.3988 188.724 72.6388 192.924L76.6148 173.156C76.6148 173.1 76.6708 173.044 76.6708 173.044C76.7268 172.988 81.4868 167.276 83.3908 162.908H70.8468C69.8388 162.908 68.8868 162.572 68.1588 161.956C68.0468 161.844 68.0468 161.676 68.1028 161.564C75.8308 150.98 79.7508 138.324 78.9108 134.684C78.8548 134.348 78.6868 134.012 78.4068 133.788C76.5028 132.78 71.9668 135.412 67.1508 140.34C67.0388 140.452 66.8708 140.452 66.7588 140.34C66.7028 140.284 66.6468 140.228 66.6468 140.116V120.908C61.3828 126.06 52.8708 143.812 52.8708 149.86C52.9268 152.436 53.2068 155.012 53.5988 157.532C54.1588 161.451 54.7748 165.54 53.9348 169.852C52.8148 176.012 48.9508 185.868 48.1108 187.94Z",fill:"#082F49"}),React.createElement("path",{d:"M61.3816 145.994C61.2136 145.994 61.1016 145.882 61.1016 145.714C61.1016 145.658 61.1016 145.546 61.2136 145.49C64.1816 142.298 66.8136 139.89 66.8696 139.834C66.9816 139.722 67.1496 139.722 67.2616 139.834C67.3736 139.946 67.3736 140.114 67.2616 140.226C67.2056 140.226 64.6296 142.634 61.6616 145.826C61.4936 145.938 61.4376 145.994 61.3816 145.994Z",fill:"#082F49"}),React.createElement("path",{d:"M66.3085 164.981C66.2525 164.981 66.1965 164.981 66.1405 164.925C66.0285 164.813 65.9725 164.645 66.0845 164.533L68.1565 161.453C68.2685 161.341 68.4365 161.285 68.5485 161.397C68.6605 161.509 68.7165 161.677 68.6045 161.789L66.4765 164.869C66.4765 164.981 66.3645 164.981 66.3085 164.981Z",fill:"#082F49"}),React.createElement("path",{d:"M105.053 156.965C104.885 156.965 104.773 156.853 104.773 156.685V74.4206C104.773 74.2526 104.885 74.1406 105.053 74.1406C105.221 74.1406 105.333 74.2526 105.333 74.4206V156.685C105.389 156.853 105.221 156.965 105.053 156.965Z",fill:"#082F49"}),React.createElement("path",{d:"M99.3984 79.3516H78.7344V85.4556H99.3984V79.3516Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M99.3424 85.6796H78.6784C78.5104 85.6796 78.3984 85.5676 78.3984 85.3996V79.2956C78.3984 79.1276 78.5104 79.0156 78.6784 79.0156H99.3424C99.5104 79.0156 99.6224 79.1276 99.6224 79.2956V85.3996C99.6224 85.5676 99.5104 85.6796 99.3424 85.6796ZM79.0144 85.1196H99.0624V79.6316H79.0144V85.1196Z",fill:"#082F49"}),React.createElement("path",{d:"M80.75 83.1043L83.158 80.6963C83.326 80.5283 83.662 80.5283 83.83 80.6963C83.998 80.8643 83.998 81.2003 83.83 81.3683L81.422 83.7763L80.75 83.1043Z",fill:"white"}),React.createElement("path",{d:"M81.4207 84.0518C81.3647 84.0518 81.2528 84.0518 81.1968 83.9958L80.5248 83.3238C80.4688 83.2678 80.4688 83.2118 80.4688 83.0998C80.4688 83.0438 80.5248 82.9318 80.5248 82.8758L82.9328 80.4678C83.2128 80.1878 83.7168 80.1878 84.0528 80.4678C84.3888 80.7478 84.3328 81.2518 84.0528 81.5878L81.6448 83.9958C81.5888 83.9958 81.4767 84.0518 81.4207 84.0518ZM81.1407 83.0998L81.4207 83.3798L83.6048 81.1958C83.6608 81.1398 83.6608 80.9718 83.6048 80.9158C83.5488 80.8598 83.3808 80.8598 83.3248 80.9158L81.1407 83.0998Z",fill:"#082F49"}),React.createElement("path",{d:"M81.4234 83.7736L80.7514 83.1016L80.3594 84.1096L81.4234 83.7736Z",fill:"#082F49"}),React.createElement("path",{d:"M80.3579 84.4443C80.3019 84.4443 80.1899 84.3883 80.1339 84.3323C80.0779 84.2763 80.0219 84.1643 80.0779 84.0523L80.4699 82.9883C80.5259 82.8763 80.5819 82.8203 80.6939 82.8203C80.8059 82.8203 80.8619 82.8203 80.9739 82.8763L81.6459 83.5483C81.7579 83.6603 81.7579 83.8283 81.6459 83.9403C81.5899 83.9963 81.5899 83.9963 81.5339 83.9963L80.4699 84.3883C80.4139 84.4443 80.4139 84.4443 80.3579 84.4443ZM80.8619 83.6043V83.6603H80.9179L80.8619 83.6043Z",fill:"#082F49"}),React.createElement("path",{d:"M99.3424 96.7055H78.6784C78.5104 96.7055 78.3984 96.5935 78.3984 96.4255V91.2175C78.3984 91.0495 78.5104 90.9375 78.6784 90.9375H99.3424C99.5104 90.9375 99.6224 91.0495 99.6224 91.2175V96.4255C99.6784 96.5375 99.5104 96.7055 99.3424 96.7055ZM79.0144 96.1455H99.0624V91.4975H79.0144V96.1455Z",fill:"#082F49"}),React.createElement("path",{d:"M99.3424 105.112H78.6784C78.5104 105.112 78.3984 105 78.3984 104.832V99.6238C78.3984 99.4557 78.5104 99.3438 78.6784 99.3438H99.3424C99.5104 99.3438 99.6224 99.4557 99.6224 99.6238V104.832C99.6784 105 99.5104 105.112 99.3424 105.112ZM79.0144 104.552H99.0624V99.9038H79.0144V104.552Z",fill:"#082F49"}),React.createElement("path",{d:"M99.3424 113.51H78.6784C78.5104 113.51 78.3984 113.398 78.3984 113.23V108.022C78.3984 107.854 78.5104 107.742 78.6784 107.742H99.3424C99.5104 107.742 99.6224 107.854 99.6224 108.022V113.23C99.6784 113.398 99.5104 113.51 99.3424 113.51ZM79.0144 112.95H99.0624V108.302H79.0144V112.95Z",fill:"#082F49"}),React.createElement("path",{d:"M99.3424 121.909H78.6784C78.5104 121.909 78.3984 121.797 78.3984 121.629V116.421C78.3984 116.253 78.5104 116.141 78.6784 116.141H99.3424C99.5104 116.141 99.6224 116.253 99.6224 116.421V121.629C99.6224 121.797 99.5104 121.909 99.3424 121.909ZM79.0144 121.349H99.0624V116.701H79.0144V121.349Z",fill:"#082F49"}),React.createElement("path",{d:"M134.171 91.4975H118.491C118.323 91.4975 118.211 91.3855 118.211 91.2175C118.211 91.0495 118.323 90.9375 118.491 90.9375H134.171C134.339 90.9375 134.451 91.0495 134.451 91.2175C134.507 91.3295 134.339 91.4975 134.171 91.4975Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 91.4975H140.389C140.221 91.4975 140.109 91.3855 140.109 91.2175C140.109 91.0495 140.221 90.9375 140.389 90.9375H192.917C193.085 90.9375 193.197 91.0495 193.197 91.2175C193.197 91.3855 193.085 91.4975 192.917 91.4975Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 94.9194H140.389C140.221 94.9194 140.109 94.8074 140.109 94.6394C140.109 94.4714 140.221 94.3594 140.389 94.3594H192.917C193.085 94.3594 193.197 94.4714 193.197 94.6394C193.197 94.8074 193.085 94.9194 192.917 94.9194Z",fill:"#082F49"}),React.createElement("path",{d:"M134.171 100.794H118.491C118.323 100.794 118.211 100.682 118.211 100.514C118.211 100.346 118.323 100.234 118.491 100.234H134.171C134.339 100.234 134.451 100.346 134.451 100.514C134.451 100.682 134.339 100.794 134.171 100.794Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 100.794H140.389C140.221 100.794 140.109 100.682 140.109 100.514C140.109 100.346 140.221 100.234 140.389 100.234H192.917C193.085 100.234 193.197 100.346 193.197 100.514C193.197 100.626 193.085 100.794 192.917 100.794Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 104.216H140.389C140.221 104.216 140.109 104.104 140.109 103.936C140.109 103.768 140.221 103.656 140.389 103.656H192.917C193.085 103.656 193.197 103.768 193.197 103.936C193.197 104.104 193.085 104.216 192.917 104.216Z",fill:"#082F49"}),React.createElement("path",{d:"M134.171 110.091H118.491C118.323 110.091 118.211 109.979 118.211 109.811C118.211 109.643 118.323 109.531 118.491 109.531H134.171C134.339 109.531 134.451 109.643 134.451 109.811C134.451 109.979 134.339 110.091 134.171 110.091Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 110.091H140.389C140.221 110.091 140.109 109.979 140.109 109.811C140.109 109.643 140.221 109.531 140.389 109.531H192.917C193.085 109.531 193.197 109.643 193.197 109.811C193.197 109.923 193.085 110.091 192.917 110.091Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 113.505H140.389C140.221 113.505 140.109 113.393 140.109 113.225C140.109 113.057 140.221 112.945 140.389 112.945H192.917C193.085 112.945 193.197 113.057 193.197 113.225C193.197 113.393 193.085 113.505 192.917 113.505Z",fill:"#082F49"}),React.createElement("path",{d:"M134.171 119.333H118.491C118.323 119.333 118.211 119.221 118.211 119.053C118.211 118.885 118.323 118.773 118.491 118.773H134.171C134.339 118.773 134.451 118.885 134.451 119.053C134.507 119.221 134.339 119.333 134.171 119.333Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 119.333H140.389C140.221 119.333 140.109 119.221 140.109 119.053C140.109 118.885 140.221 118.773 140.389 118.773H192.917C193.085 118.773 193.197 118.885 193.197 119.053C193.197 119.221 193.085 119.333 192.917 119.333Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 122.802H140.389C140.221 122.802 140.109 122.69 140.109 122.522C140.109 122.354 140.221 122.242 140.389 122.242H192.917C193.085 122.242 193.197 122.354 193.197 122.522C193.197 122.69 193.085 122.802 192.917 122.802Z",fill:"#082F49"}),React.createElement("path",{d:"M134.171 128.63H118.491C118.323 128.63 118.211 128.518 118.211 128.35C118.211 128.182 118.323 128.07 118.491 128.07H134.171C134.339 128.07 134.451 128.182 134.451 128.35C134.507 128.518 134.339 128.63 134.171 128.63Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 128.63H140.389C140.221 128.63 140.109 128.518 140.109 128.35C140.109 128.182 140.221 128.07 140.389 128.07H192.917C193.085 128.07 193.197 128.182 193.197 128.35C193.197 128.518 193.085 128.63 192.917 128.63Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 132.099H140.389C140.221 132.099 140.109 131.987 140.109 131.819C140.109 131.651 140.221 131.539 140.389 131.539H192.917C193.085 131.539 193.197 131.651 193.197 131.819C193.197 131.987 193.085 132.099 192.917 132.099Z",fill:"#082F49"}),React.createElement("path",{d:"M134.176 85.6796H119.28C119.112 85.6796 119 85.5676 119 85.3996V79.2956C119 79.1276 119.112 79.0156 119.28 79.0156H134.232C134.4 79.0156 134.512 79.1276 134.512 79.2956V85.3996C134.456 85.5676 134.344 85.6796 134.176 85.6796ZM119.504 85.1196H133.896V79.6316H119.504V85.1196Z",fill:"#082F49"}),React.createElement("path",{d:"M192.917 85.6796H140.389C140.221 85.6796 140.109 85.5676 140.109 85.3996V79.2956C140.109 79.1276 140.221 79.0156 140.389 79.0156H192.917C193.085 79.0156 193.197 79.1276 193.197 79.2956V85.3996C193.197 85.5676 193.085 85.6796 192.917 85.6796ZM140.669 85.1196H192.637V79.6316H140.669V85.1196Z",fill:"#082F49"}),React.createElement("path",{d:"M232.505 43.3984H177.961V88.2544H232.505V43.3984Z",fill:"white"}),React.createElement("path",{d:"M232.456 88.541H177.968C177.799 88.541 177.688 88.429 177.688 88.261V43.405C177.688 43.237 177.799 43.125 177.968 43.125H232.456C232.624 43.125 232.736 43.237 232.736 43.405V88.261C232.736 88.429 232.624 88.541 232.456 88.541ZM178.192 87.981H232.12V43.685H178.192V87.981Z",fill:"#082F49"}),React.createElement("path",{d:"M221.591 61.375H188.047V83.663H221.591V61.375Z",fill:"white"}),React.createElement("path",{d:"M221.59 83.9496H188.046C187.878 83.9496 187.766 83.8376 187.766 83.6696V61.3816C187.766 61.2136 187.878 61.1016 188.046 61.1016H221.59C221.758 61.1016 221.87 61.2136 221.87 61.3816V83.6696C221.87 83.7816 221.758 83.9496 221.59 83.9496ZM188.326 83.3336H221.31V61.6056H188.326V83.3336Z",fill:"#082F49"}),React.createElement("path",{d:"M221.591 61.3816L217.391 64.1816L204.791 72.5256L192.247 64.1816L188.047 61.3816L192.247 57.7976L202.607 49.0056L204.791 47.1016L207.031 49.0056L217.391 57.7976L221.591 61.3816Z",fill:"white"}),React.createElement("path",{d:"M204.79 72.7997C204.734 72.7997 204.678 72.7997 204.622 72.7437L187.878 61.5997C187.822 61.5437 187.766 61.4877 187.766 61.3757C187.766 61.2637 187.822 61.2077 187.878 61.1517L204.622 46.9278C204.734 46.8158 204.902 46.8158 205.014 46.9278L221.758 61.1517C221.814 61.2077 221.87 61.3197 221.87 61.3757C221.87 61.4877 221.814 61.5437 221.758 61.5997L204.958 72.7437C204.902 72.7997 204.846 72.7997 204.79 72.7997ZM188.494 61.3197L204.79 72.1278L221.086 61.3197L204.79 47.4877L188.494 61.3197Z",fill:"#082F49"}),React.createElement("path",{d:"M188.043 83.9454C187.987 83.9454 187.931 83.9454 187.875 83.8894C187.763 83.7774 187.707 83.6094 187.819 83.4974L199.411 68.9374C199.523 68.8254 199.691 68.7694 199.803 68.8814C199.915 68.9934 199.971 69.1614 199.859 69.2734L188.267 83.8334C188.211 83.8894 188.155 83.9454 188.043 83.9454Z",fill:"#082F49"}),React.createElement("path",{d:"M221.588 83.9449C221.476 83.9449 221.419 83.8889 221.363 83.8329L209.772 69.2729C209.66 69.1609 209.66 68.9929 209.772 68.8809C209.884 68.7689 210.051 68.7689 210.163 68.8809L210.219 68.9369L221.811 83.4969C221.924 83.6089 221.867 83.7769 221.755 83.8889C221.699 83.8889 221.644 83.9449 221.588 83.9449Z",fill:"#082F49"}),React.createElement("path",{d:"M217.386 49V64.176L204.786 72.52L192.242 64.176V49H217.386Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M204.785 72.7987C204.729 72.7987 204.673 72.7987 204.617 72.7427L192.073 64.3988C192.017 64.3427 191.961 64.2307 191.961 64.1747V48.9988C191.961 48.8307 192.073 48.7188 192.241 48.7188H217.329C217.497 48.7188 217.609 48.8307 217.609 48.9988V64.1747C217.609 64.2867 217.553 64.3427 217.497 64.3988L204.953 72.7427C204.897 72.7987 204.841 72.7987 204.785 72.7987ZM192.521 64.0068L204.785 72.1268L217.049 64.0068V49.2788H192.521V64.0068Z",fill:"#082F49"}),React.createElement("path",{d:"M202.434 53.6538H195.21C195.042 53.6538 194.93 53.5418 194.93 53.3738C194.93 53.2057 195.042 53.0938 195.21 53.0938H202.434C202.602 53.0938 202.714 53.2057 202.714 53.3738C202.714 53.5418 202.602 53.6538 202.434 53.6538Z",fill:"#082F49"}),React.createElement("path",{d:"M213.298 56.2788H195.21C195.042 56.2788 194.93 56.1668 194.93 55.9988C194.93 55.8307 195.042 55.7188 195.21 55.7188H213.298C213.466 55.7188 213.578 55.8307 213.578 55.9988C213.578 56.1107 213.41 56.2788 213.298 56.2788Z",fill:"#082F49"}),React.createElement("path",{d:"M213.298 58.8569H195.21C195.042 58.8569 194.93 58.7449 194.93 58.5769C194.93 58.4089 195.042 58.2969 195.21 58.2969H213.298C213.466 58.2969 213.578 58.4089 213.578 58.5769C213.578 58.7449 213.41 58.8569 213.298 58.8569Z",fill:"#082F49"}),React.createElement("path",{d:"M213.298 61.4897H195.21C195.042 61.4897 194.93 61.3777 194.93 61.2097C194.93 61.0417 195.042 60.9297 195.21 60.9297H213.298C213.466 60.9297 213.578 61.0417 213.578 61.2097C213.578 61.3777 213.41 61.4897 213.298 61.4897Z",fill:"#082F49"}),React.createElement("path",{d:"M213.298 64.1225H195.21C195.042 64.1225 194.93 64.0105 194.93 63.8425C194.93 63.6745 195.042 63.5625 195.21 63.5625H213.298C213.466 63.5625 213.578 63.6745 213.578 63.8425C213.578 63.9545 213.41 64.1225 213.298 64.1225Z",fill:"#082F49"}),React.createElement("path",{d:"M177.966 48.6113C180.842 48.6113 183.174 46.2796 183.174 43.4033C183.174 40.527 180.842 38.1953 177.966 38.1953C175.09 38.1953 172.758 40.527 172.758 43.4033C172.758 46.2796 175.09 48.6113 177.966 48.6113Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M177.965 48.8901C174.941 48.8901 172.477 46.4261 172.477 43.4021C172.477 40.3781 174.941 37.9141 177.965 37.9141C180.989 37.9141 183.453 40.3781 183.453 43.4021C183.397 46.4261 180.989 48.8901 177.965 48.8901ZM177.965 38.4741C175.277 38.4741 173.037 40.6581 173.037 43.4021C173.037 46.0901 175.221 48.3301 177.965 48.3301C180.653 48.3301 182.893 46.1461 182.893 43.4021C182.837 40.6581 180.653 38.4741 177.965 38.4741Z",fill:"#082F49"}),React.createElement("path",{d:"M177.968 46.5949C177.799 46.5949 177.688 46.4829 177.688 46.3149V40.4909C177.688 40.3229 177.799 40.2109 177.968 40.2109C178.136 40.2109 178.248 40.3229 178.248 40.4909V46.3149C178.248 46.4269 178.079 46.5949 177.968 46.5949Z",fill:"#082F49"}),React.createElement("path",{d:"M180.823 43.685H174.999C174.831 43.685 174.719 43.573 174.719 43.405C174.719 43.237 174.831 43.125 174.999 43.125H180.823C180.991 43.125 181.103 43.237 181.103 43.405C181.159 43.573 180.991 43.685 180.823 43.685Z",fill:"#082F49"}),React.createElement("path",{d:"M175.894 45.6994C175.838 45.6994 175.726 45.6434 175.67 45.5874C175.558 45.4754 175.558 45.3074 175.67 45.1954L179.758 41.1074C179.87 40.9954 180.038 40.9954 180.15 41.1074C180.262 41.2194 180.262 41.3874 180.15 41.4994L176.062 45.5874C176.062 45.6994 175.95 45.6994 175.894 45.6994Z",fill:"#082F49"}),React.createElement("path",{d:"M179.982 45.6994C179.926 45.6994 179.814 45.6434 179.758 45.5874L175.67 41.4994C175.558 41.3874 175.558 41.2194 175.67 41.1074C175.782 40.9954 175.95 40.9954 176.062 41.1074L180.15 45.1954C180.262 45.3074 180.262 45.4754 180.15 45.5874C180.15 45.6994 180.094 45.6994 179.982 45.6994Z",fill:"#082F49"}),React.createElement("path",{d:"M221.588 76.9496C224.031 76.9496 226.012 74.9689 226.012 72.5256C226.012 70.0823 224.031 68.1016 221.588 68.1016C219.145 68.1016 217.164 70.0823 217.164 72.5256C217.164 74.9689 219.145 76.9496 221.588 76.9496Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M221.587 77.2283C218.955 77.2283 216.883 75.1003 216.883 72.5243C216.883 69.8923 219.011 67.8203 221.587 67.8203C224.219 67.8203 226.291 69.9483 226.291 72.5243C226.291 75.1003 224.163 77.2283 221.587 77.2283ZM221.587 68.3803C219.291 68.3803 217.443 70.2283 217.443 72.5243C217.443 74.8203 219.291 76.6683 221.587 76.6683C223.883 76.6683 225.731 74.8203 225.731 72.5243C225.731 70.2283 223.883 68.3803 221.587 68.3803Z",fill:"#082F49"}),React.createElement("path",{d:"M221.418 70.8959L220.69 71.2879L220.578 70.8399L221.53 70.3359H222.034V74.6479H221.474L221.418 70.8959Z",fill:"white"})),z9=e=>React.createElement("svg",y9({width:"324",height:"336",viewBox:"0 0 324 336",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M167.422 92.7344C165.182 92.7344 58.4297 170.302 58.4297 170.302L167.486 238.91L276.542 170.302C276.478 170.302 169.662 92.7344 167.422 92.7344Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M166.716 91.9062C166.14 91.9703 165.564 92.2262 165.116 92.5462C164.348 92.9942 163.58 93.5062 162.748 94.0182C159.996 95.8742 157.244 97.7302 154.556 99.6502C145.788 105.73 137.084 111.938 128.444 118.146C118.012 125.57 107.58 133.058 97.2121 140.61C88.2521 147.074 79.2281 153.602 70.2681 160.066C65.9161 163.202 61.5641 166.274 57.2761 169.474L57.0841 169.602C56.8281 169.73 56.7641 170.114 56.8921 170.37C56.9561 170.498 57.0201 170.562 57.1481 170.626L67.9641 177.474L94.0121 193.858L125.5 213.698L152.7 230.85C157.116 233.602 161.532 236.418 165.884 239.17L166.076 239.298C166.716 239.682 167.868 240.066 168.572 239.618L179.452 232.77L205.5 216.386L237.052 196.546L264.252 179.458C268.668 176.706 273.148 174.018 277.436 171.138L277.628 171.01C278.076 170.754 277.948 170.306 277.564 170.05L266.812 162.242C258.172 156.034 249.596 149.762 240.956 143.554C230.524 136.066 220.092 128.578 209.66 121.09C200.636 114.626 191.548 108.162 182.396 101.762C179.388 99.6502 176.316 97.5382 173.244 95.4902C171.708 94.3382 170.108 93.3142 168.444 92.4182C167.996 92.1622 167.484 92.0342 166.972 92.0342C166.524 92.0342 165.564 92.0982 165.692 92.7382C165.82 93.3782 167.036 93.6342 167.548 93.6342C167.164 93.6342 166.844 93.5702 166.524 93.3782C166.588 93.4422 166.716 93.4423 166.78 93.5062L167.1 93.6982L167.292 93.8262C167.1 93.6982 167.612 94.0182 167.292 93.8262C168.124 94.3382 168.956 94.9142 169.788 95.4902C172.604 97.3462 175.356 99.2662 178.172 101.25C186.94 107.394 195.644 113.602 204.412 119.81C214.78 127.234 225.148 134.658 235.452 142.082C244.348 148.482 253.244 154.882 262.14 161.346L270.844 167.682L273.532 169.666C273.98 170.05 274.428 170.37 274.94 170.69C275.004 170.754 275.068 170.754 275.132 170.818L275.068 169.858L264.188 176.706L238.14 193.09L206.588 212.93L179.516 229.826L170.62 235.458C169.212 236.354 167.676 237.186 166.332 238.146L166.14 238.274L168.636 238.594L157.82 231.746L131.772 215.362L100.284 195.522L73.0841 178.37L64.1241 172.738L61.3081 170.946C60.8601 170.562 60.3481 170.306 59.8361 170.05C59.7721 169.986 59.7081 169.986 59.6441 169.922L59.7081 170.882L70.3321 163.202C78.8441 157.058 87.3561 150.85 95.8681 144.706C106.236 137.218 116.604 129.794 126.972 122.306C135.996 115.842 145.084 109.378 154.172 102.978C158.78 99.7142 163.388 96.3222 168.252 93.4422C168.7 93.1862 168.188 93.4422 167.996 93.4422C168.572 93.4422 169.148 93.0582 168.764 92.4822C168.38 91.9062 167.356 91.9062 166.716 91.9062Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M148.094 204.415C148.094 204.415 179.838 158.591 198.398 169.663C199.806 170.495 201.022 171.583 202.046 172.863L201.982 172.351C201.982 172.351 235.198 222.271 229.054 247.359C223.614 269.503 203.71 275.135 191.87 236.095C177.79 230.847 154.238 214.463 148.094 204.415Z",fill:"white"}),React.createElement("path",{d:"M149.375 205.314L149.631 204.994L149.759 204.802L150.143 204.226C150.975 203.074 151.871 201.922 152.703 200.834C155.519 197.122 158.527 193.538 161.599 190.082C165.375 185.858 169.407 181.89 173.759 178.242C177.727 174.978 182.079 171.906 187.007 170.242C188.991 169.538 191.103 169.218 193.215 169.282C193.279 169.282 193.279 169.282 193.343 169.282L193.663 169.346C193.919 169.346 194.239 169.41 194.495 169.474C195.007 169.538 195.519 169.666 195.967 169.858C195.711 169.794 196.287 169.986 196.415 169.986C196.671 170.114 196.927 170.178 197.183 170.306C197.439 170.434 197.631 170.498 197.823 170.626C198.015 170.754 197.695 170.498 198.015 170.754C198.335 171.01 198.527 171.074 198.783 171.266C199.679 171.906 200.511 172.738 201.215 173.57C201.855 174.338 203.583 174.466 203.391 173.058L203.327 172.546L200.895 172.738C202.239 174.722 203.519 176.834 204.735 178.882C207.807 183.938 210.687 189.058 213.439 194.306C216.895 200.834 219.903 207.554 222.591 214.402C225.151 221.122 227.327 227.97 228.095 235.138C228.479 238.146 228.479 241.154 228.095 244.162C227.647 247.106 226.815 250.05 225.535 252.802C224.511 255.234 223.103 257.41 221.375 259.33C219.967 260.93 218.175 262.146 216.127 262.85C215.871 262.914 215.615 262.978 215.359 263.042C215.231 263.106 215.423 263.042 215.423 263.042L215.231 263.106L214.847 263.17C214.335 263.234 213.823 263.298 213.311 263.298H212.927H212.735H212.799C212.543 263.298 212.223 263.234 211.967 263.17C211.711 263.106 211.455 263.106 211.263 263.042L210.879 262.978L210.687 262.914C210.431 262.85 210.815 262.978 210.687 262.914C210.111 262.722 209.599 262.53 209.087 262.274L208.703 262.082L208.447 261.954L208.191 261.826L207.679 261.506C207.103 261.122 206.591 260.738 206.079 260.29C205.759 260.034 206.143 260.354 205.951 260.162L205.503 259.778C205.247 259.522 204.991 259.266 204.671 259.01C204.095 258.434 203.583 257.794 203.071 257.218C203.071 257.218 202.815 256.898 202.943 257.09L202.879 256.962C202.751 256.77 202.623 256.578 202.495 256.386C202.239 256.002 201.983 255.682 201.727 255.298C200.575 253.634 199.551 251.842 198.591 250.05C197.567 248.002 196.607 245.826 195.775 243.714C195.263 242.434 194.815 241.218 194.367 239.938C194.175 239.298 193.919 238.658 193.727 238.082C193.535 237.314 193.279 236.482 192.959 235.778C192.383 234.882 191.039 234.562 190.079 234.178C189.119 233.794 188.351 233.474 187.519 233.026C185.663 232.194 183.871 231.234 182.079 230.274C178.175 228.162 174.399 225.794 170.687 223.298C163.839 218.69 156.991 213.57 151.551 207.298C151.295 206.978 151.039 206.658 150.783 206.338C150.719 206.274 150.719 206.21 150.655 206.146C150.463 205.954 150.783 206.338 150.655 206.146L150.335 205.698C149.887 205.122 149.503 204.546 149.119 203.97C148.735 203.394 147.903 202.818 147.199 203.074C146.495 203.33 146.623 204.29 146.943 204.866C148.543 207.298 150.399 209.602 152.511 211.586C155.199 214.21 158.015 216.706 160.959 219.01C167.295 224.066 174.079 228.546 181.183 232.45C184.575 234.306 188.031 235.97 191.679 237.314L190.527 236.162C192.767 243.394 195.583 250.754 200.063 256.898C202.879 260.738 206.463 264.322 211.135 265.666C214.655 266.626 218.431 265.858 221.375 263.618C224.767 261.122 227.071 257.282 228.607 253.506C230.463 248.898 231.359 243.97 231.103 238.978C230.847 233.346 229.567 227.778 227.903 222.402C224.447 211.01 219.263 200.13 213.567 189.634C210.303 183.682 206.975 177.73 203.199 172.098L203.007 171.842C202.687 171.266 202.047 170.882 201.407 170.882C200.895 170.946 200.511 171.394 200.575 171.906C200.575 171.97 200.575 171.97 200.575 172.034L200.639 172.546L202.815 172.034C199.231 167.618 193.407 165.634 187.903 166.914C182.719 168.066 178.111 170.882 173.951 174.018C169.343 177.602 165.055 181.57 161.087 185.858C157.631 189.506 154.431 193.346 151.359 197.314C150.335 198.594 149.375 199.938 148.415 201.218C147.839 201.922 147.327 202.626 146.879 203.394C146.879 203.458 146.815 203.458 146.815 203.458C146.367 204.098 147.071 205.058 147.583 205.442C148.031 205.89 148.799 205.89 149.247 205.378C149.311 205.442 149.311 205.378 149.375 205.314Z",fill:"#082F49"}),React.createElement("path",{d:"M217.275 157.76C223.483 135.36 209.915 126.976 199.867 124.672C189.819 122.368 182.459 125.248 179.899 129.216C177.979 132.16 182.779 152.064 182.779 152.064L198.011 170.496C197.947 170.432 212.539 174.848 217.275 157.76Z",fill:"#082F49"}),React.createElement("path",{d:"M171.515 160.128C166.395 151.872 179.835 133.056 179.835 133.056C183.675 133.12 190.459 131.008 190.459 131.008C186.171 141.76 198.651 147.648 198.651 147.648C202.619 142.208 209.211 145.856 207.547 151.68C205.883 157.504 200.123 156.928 200.123 156.928C200.123 156.928 199.995 172.096 198.907 174.336C198.907 174.336 187.899 179.008 183.675 169.216C183.675 169.28 174.971 165.696 171.515 160.128Z",fill:"white"}),React.createElement("path",{d:"M172.862 159.366C171.966 157.83 171.774 155.782 171.966 153.926C172.222 151.686 172.798 149.446 173.63 147.398C175.23 143.366 177.214 139.526 179.582 135.942C180.094 135.174 180.606 134.342 181.182 133.574L179.39 134.342C183.23 134.406 187.198 133.318 190.846 132.166L188.99 130.886C187.518 134.534 187.838 138.694 189.95 142.022C191.486 144.39 193.598 146.374 196.03 147.846C196.606 148.23 197.246 148.55 197.886 148.87C198.654 149.126 199.486 148.87 199.998 148.23C200.51 147.526 201.15 146.95 201.918 146.566C202.43 146.374 202.942 146.31 203.518 146.374C204.094 146.502 204.67 146.758 205.054 147.206C205.502 147.654 205.822 148.166 206.014 148.806C206.462 150.47 206.142 152.326 205.118 153.734C204.926 153.99 204.734 154.246 204.478 154.438L204.03 154.822C203.966 154.886 203.838 155.014 203.71 155.014C203.582 155.078 203.39 155.206 203.262 155.27C203.134 155.334 202.878 155.462 203.134 155.334C202.814 155.462 202.494 155.59 202.174 155.654C202.046 155.718 201.726 155.718 202.046 155.718L201.598 155.782C201.342 155.782 201.086 155.846 200.83 155.846C200.318 155.91 201.086 155.846 200.702 155.846H200.51C199.742 155.782 198.526 156.294 198.462 157.254C198.398 161.99 198.334 166.79 197.822 171.462C197.758 172.102 197.694 172.742 197.566 173.382C197.566 173.51 197.502 173.638 197.502 173.766C197.566 173.51 197.502 173.766 197.502 173.83C197.438 174.022 197.374 174.15 197.31 174.342L198.462 173.382C198.206 173.51 197.886 173.574 197.63 173.702C197.374 173.83 197.054 173.894 196.734 173.958L196.222 174.086C195.774 174.15 196.158 174.086 196.222 174.086L195.902 174.15C195.454 174.214 195.006 174.278 194.558 174.342C194.302 174.342 194.046 174.406 193.854 174.406H193.534C193.342 174.406 193.342 174.406 193.534 174.406H193.278C192.254 174.406 191.23 174.214 190.27 173.894C189.182 173.51 188.158 172.87 187.326 172.038C186.878 171.526 186.43 171.014 186.046 170.438C185.598 169.734 185.342 168.582 184.51 168.262C183.166 167.686 181.822 166.982 180.478 166.214C177.534 164.422 174.718 162.246 172.862 159.366C172.03 158.15 169.15 159.494 170.11 160.966C171.966 163.91 174.846 166.086 177.726 167.814C179.39 168.838 181.054 169.67 182.846 170.438L182.142 169.798C183.678 173.254 186.366 175.686 190.078 176.518C192.702 176.966 195.326 176.838 197.886 176.07C198.334 175.942 198.782 175.814 199.23 175.622C200.574 175.046 200.702 173.702 200.894 172.486C201.278 169.542 201.47 166.534 201.534 163.526C201.598 161.35 201.662 159.11 201.662 156.934L199.614 158.342C202.75 158.598 205.822 157.19 207.678 154.694C209.022 152.774 209.79 150.15 209.022 147.846C208.318 145.862 206.654 144.39 204.542 144.006C201.662 143.494 198.974 145.158 197.31 147.398L199.486 146.694C199.294 146.63 199.806 146.886 199.678 146.822C199.614 146.758 199.486 146.758 199.422 146.694C199.102 146.566 198.846 146.374 198.59 146.182C197.63 145.606 196.734 144.966 195.902 144.262C193.79 142.534 191.87 140.038 191.294 137.158C190.91 135.174 191.166 133.126 191.934 131.27C192.382 130.118 190.91 129.734 190.078 129.99C187.326 130.95 184.446 131.59 181.566 131.91C180.478 132.038 179.262 131.782 178.494 132.742C178.43 132.806 178.366 132.934 178.302 132.998C177.918 133.574 177.534 134.15 177.086 134.79C173.822 139.846 170.75 145.414 169.342 151.302C168.574 154.502 168.318 158.086 170.046 161.03C170.942 162.182 173.758 160.838 172.862 159.366Z",fill:"#082F49"}),React.createElement("path",{d:"M191.678 154.818C191.678 155.01 191.678 155.202 191.678 155.458V155.202C191.678 156.034 191.55 156.93 191.23 157.698L191.294 157.442C191.23 157.698 191.102 157.89 190.974 158.082C190.974 158.146 190.91 158.146 190.91 158.21C190.782 158.402 191.102 158.018 190.91 158.146C190.846 158.21 190.782 158.274 190.654 158.402L190.59 158.466C190.462 158.53 190.846 158.338 190.718 158.402C190.654 158.402 190.59 158.466 190.59 158.466L190.526 158.53C190.398 158.594 190.654 158.466 190.654 158.466C190.654 158.466 190.526 158.53 190.462 158.53H190.398C190.206 158.594 190.654 158.53 190.59 158.53H190.27C190.078 158.53 190.398 158.53 190.462 158.53C190.526 158.53 190.334 158.53 190.206 158.466C190.142 158.466 190.014 158.402 189.95 158.402C189.758 158.338 190.206 158.53 190.078 158.466L189.95 158.402C189.758 158.338 189.502 158.21 189.31 158.082C188.798 157.826 188.094 157.954 187.71 158.402C187.39 158.978 187.838 159.426 188.286 159.682C189.182 160.194 190.206 160.386 191.166 160.258C191.934 160.13 192.574 159.682 193.022 159.042C193.598 158.082 193.918 156.994 193.918 155.842C193.918 155.522 193.918 155.138 193.918 154.818C193.854 154.562 193.726 154.306 193.47 154.178C193.214 153.986 192.894 153.922 192.574 153.922C191.998 153.922 191.486 154.242 191.55 154.818H191.678Z",fill:"#082F49"}),React.createElement("path",{d:"M181.246 145.281C178.814 146.433 176.254 147.265 173.566 147.713C164.606 149.313 163.582 152.449 166.398 154.177C169.214 155.905 181.374 154.433 181.374 154.433",fill:"white"}),React.createElement("path",{d:"M179.903 144.449C177.215 145.921 174.143 146.433 171.135 147.073C169.279 147.393 167.487 147.969 165.759 148.865C164.927 149.313 163.967 149.953 163.647 150.913C162.943 153.089 166.143 154.753 167.743 155.201C170.431 156.033 173.439 155.841 176.191 155.713C178.367 155.585 180.543 155.457 182.655 155.201C183.167 155.137 182.015 154.241 181.951 154.177C181.375 153.729 180.735 153.537 180.031 153.537H179.839L178.815 153.665C177.727 153.793 176.575 153.857 175.487 153.921C172.927 154.177 170.303 154.177 167.743 153.921C167.487 153.921 167.231 153.857 166.975 153.793C166.911 153.793 166.591 153.729 166.719 153.729C166.847 153.729 166.527 153.665 166.463 153.665C166.655 153.729 166.655 153.729 166.463 153.665C166.527 153.729 167.039 153.985 166.847 153.857C166.975 153.985 167.039 153.985 166.847 153.857C167.039 154.049 166.847 153.857 166.783 153.793C166.719 153.729 166.847 153.857 166.719 153.729C166.655 153.665 166.655 153.601 166.591 153.537C166.591 153.537 166.463 153.281 166.463 153.217C166.399 152.961 166.399 152.641 166.527 152.385C166.911 151.553 167.615 150.913 168.511 150.529C170.047 149.761 171.647 149.249 173.247 148.929C176.383 148.225 179.647 147.713 182.527 146.241C182.975 145.985 181.951 145.345 181.823 145.217C181.375 144.833 180.351 144.193 179.903 144.449Z",fill:"#082F49"}),React.createElement("path",{d:"M186.62 144.133C186.62 144.133 185.212 144.069 185.276 145.413C185.34 146.757 187.004 146.757 187.324 145.541C187.516 145.029 187.26 144.389 186.748 144.197C186.684 144.133 186.684 144.133 186.62 144.133Z",fill:"#082F49"}),React.createElement("path",{d:"M177.854 141.446C177.854 141.446 176.446 141.382 176.51 142.726C176.574 144.07 178.238 144.07 178.558 142.854C178.75 142.342 178.494 141.702 177.982 141.51C177.918 141.446 177.918 141.446 177.854 141.446Z",fill:"#082F49"}),React.createElement("path",{d:"M208.122 162.623C208.442 164.671 209.082 166.655 209.914 168.575C211.002 171.135 212.986 174.015 216.186 173.311C218.49 172.799 220.474 171.135 221.882 169.343C222.906 168.063 223.802 166.335 223.482 164.607C222.906 161.663 219.642 160.575 217.082 161.791C212.794 163.839 213.306 169.023 214.714 172.799C215.61 175.167 216.89 177.343 218.554 179.199C219.834 180.607 221.434 182.079 223.29 182.719C226.874 183.935 230.65 180.671 230.266 176.959C230.074 174.591 228.154 172.799 226.042 171.903C223.61 170.815 220.794 171.135 218.682 172.799C216.122 174.975 216.826 178.239 218.042 180.991C218.554 182.143 219.194 183.231 219.834 184.319C220.346 185.087 223.034 183.359 222.522 182.591C221.434 180.927 220.538 179.135 219.962 177.215C219.642 176.191 219.578 175.039 219.834 173.951C219.898 173.823 219.898 173.759 219.962 173.631C220.026 173.503 219.834 173.823 220.026 173.567L220.154 173.311C219.834 173.759 220.41 173.119 220.09 173.375C219.77 173.631 220.026 173.439 220.09 173.375C220.282 173.247 219.834 173.503 219.898 173.503C219.962 173.439 220.09 173.375 220.154 173.375C219.834 173.439 220.026 173.439 220.218 173.375L220.538 173.311H220.73H220.986C223.418 173.311 225.594 174.591 226.874 176.639C227.322 177.471 227.514 178.431 227.386 179.327C227.258 179.967 227.002 180.543 226.682 181.119C226.746 181.055 226.682 181.055 226.746 181.055C226.554 181.183 227.258 180.735 226.938 180.927C227.066 180.863 227.13 180.863 227.002 180.863C226.874 180.863 226.81 180.863 226.682 180.863C225.21 180.863 223.802 179.903 222.778 179.007C221.242 177.727 219.962 176.127 218.938 174.399C217.722 172.479 216.89 170.367 216.506 168.127C216.25 166.655 216.122 164.607 216.89 163.455C216.89 163.391 217.146 163.007 217.018 163.263C217.082 163.199 217.082 163.135 217.146 163.135C217.146 163.135 216.89 163.327 217.082 163.199C217.274 163.071 216.954 163.263 217.018 163.263C216.826 163.391 216.954 163.327 217.018 163.263C216.698 163.455 216.89 163.263 217.018 163.263C217.274 163.263 216.826 163.263 217.082 163.263H217.274C217.082 163.263 217.466 163.263 217.274 163.263C217.53 163.263 217.722 163.263 217.978 163.327C219.898 163.775 221.05 165.631 220.666 167.551C220.602 167.807 220.538 168.127 220.346 168.383C220.026 169.087 219.578 169.727 219.002 170.239C218.746 170.495 218.49 170.687 218.234 170.943C218.362 170.815 217.722 171.263 217.978 171.135C218.234 171.007 217.402 171.391 217.786 171.263C217.722 171.263 217.402 171.391 217.466 171.391C217.53 171.391 217.21 171.455 217.146 171.455C217.082 171.455 216.954 171.455 216.89 171.455C216.762 171.455 216.57 171.455 216.442 171.391C215.994 171.263 215.546 171.071 215.098 170.751C214.202 169.983 213.434 168.959 212.922 167.871C211.962 165.951 211.322 163.903 210.874 161.791L210.81 161.407C210.746 160.255 207.994 161.727 208.122 162.623Z",fill:"#082F49"}),React.createElement("path",{d:"M146.492 202.18L191.74 224.004L147.004 237.892L146.492 202.18Z",fill:"#082F49"}),React.createElement("path",{d:"M150.589 186.245L147.005 237.894L100.797 215.045L102.461 162.438L150.589 186.245Z",fill:"#082F49"}),React.createElement("path",{d:"M130.938 197.955C130.362 196.227 128.762 195.011 126.97 195.011C125.242 194.947 123.578 195.971 122.49 197.251C121.274 198.659 120.314 200.515 120.378 202.499C120.506 204.227 121.402 205.827 122.874 206.787C124.282 207.619 125.818 208.195 127.482 208.387C128.314 208.579 129.21 208.131 129.466 207.235C129.722 206.403 129.21 205.507 128.378 205.251C127.674 205.123 127.034 204.995 126.33 204.803L125.818 204.611C125.754 204.611 125.242 204.355 125.562 204.547C125.306 204.419 124.986 204.291 124.73 204.099C124.666 204.035 124.218 203.715 124.538 203.971C124.41 203.843 124.282 203.779 124.154 203.651C124.09 203.587 123.898 203.267 124.09 203.587C123.962 203.459 123.898 203.267 123.834 203.139C123.77 203.011 123.77 203.011 123.834 203.139C123.77 203.075 123.77 202.947 123.77 202.883C123.77 202.755 123.706 202.691 123.706 202.563C123.706 202.691 123.706 202.691 123.706 202.563C123.706 202.371 123.706 202.179 123.706 201.987C123.706 202.243 123.77 201.667 123.77 201.603C123.962 200.835 124.346 200.195 124.794 199.555C124.602 199.747 124.986 199.299 125.05 199.299C125.114 199.299 125.242 199.043 125.37 198.979C125.498 198.915 125.882 198.595 125.626 198.723C125.818 198.595 125.946 198.531 126.138 198.403C126.394 198.211 126.01 198.403 126.33 198.339C126.394 198.339 127.034 198.211 126.586 198.211C126.778 198.211 126.97 198.211 127.098 198.211C126.714 198.211 127.226 198.275 127.354 198.275C127.738 198.339 127.162 198.147 127.482 198.275C127.546 198.339 127.994 198.659 127.738 198.403C127.802 198.467 128.058 198.851 127.93 198.531C127.994 198.595 127.994 198.659 128.058 198.787C127.994 198.595 127.994 198.595 128.058 198.787C128.314 199.619 129.146 200.131 130.042 199.875C130.746 199.619 131.258 198.723 130.938 197.955Z",fill:"white"}),React.createElement("path",{d:"M148.474 205.634C148.474 206.146 148.474 206.402 148.474 207.042C148.474 207.874 148.41 208.642 148.41 209.474C148.282 211.714 148.218 213.954 148.09 216.194C147.834 220.994 147.514 225.794 147.194 230.594C147.066 232.13 147.002 233.73 146.81 235.266C146.682 236.354 148.986 236.802 149.178 235.778C149.69 232.258 149.754 228.674 150.01 225.09C150.33 220.226 150.586 215.362 150.778 210.434C150.842 208.834 150.906 207.234 150.906 205.698C150.906 204.738 148.538 204.418 148.474 205.634Z",fill:"white"}),React.createElement("path",{d:"M175.289 222.978C174.521 222.466 173.625 222.018 172.793 221.57C170.937 220.546 169.081 219.522 167.225 218.498L155.001 211.778L152.185 210.242C151.673 209.986 151.545 210.69 151.609 211.01C151.673 211.586 152.057 212.098 152.569 212.354C159.097 215.938 165.689 219.586 172.217 223.17C173.241 223.746 174.329 224.258 175.289 224.898C175.673 225.154 176.057 224.962 176.057 224.514C176.057 223.938 175.801 223.362 175.289 222.978Z",fill:"white"}),React.createElement("path",{d:"M166.715 225.797L153.979 218.309L152.187 217.285C151.803 217.029 151.099 217.029 150.971 217.541C150.843 218.053 151.419 218.629 151.867 218.821L164.603 226.309L166.395 227.397C166.779 227.653 167.483 227.653 167.611 227.141C167.739 226.629 167.099 225.989 166.715 225.797Z",fill:"white"}),React.createElement("path",{d:"M159.229 228.417L152.893 224.193L151.997 223.617C151.421 223.297 150.717 223.489 150.333 224.001C150.013 224.449 150.077 225.089 150.525 225.409L150.589 225.473L156.925 229.697L157.821 230.273C158.397 230.593 159.101 230.401 159.485 229.889C159.805 229.441 159.741 228.801 159.293 228.481C159.293 228.417 159.229 228.417 159.229 228.417Z",fill:"white"}),React.createElement("path",{d:"M169.469 218.626C169.085 218.818 169.789 218.498 169.469 218.626L169.213 218.753C168.701 218.945 168.189 219.137 167.677 219.393C166.205 219.969 164.733 220.546 163.197 221.122C160.061 222.338 156.925 223.49 153.725 224.706L151.549 225.473C151.293 225.601 150.333 225.922 150.269 226.306C150.205 226.69 151.037 226.306 151.165 226.242C156.477 224.258 161.853 222.274 167.165 220.162C168.189 219.778 169.213 219.394 170.237 218.882C170.365 218.818 171.133 218.37 170.877 218.242C170.621 218.114 169.661 218.562 169.469 218.69V218.626Z",fill:"white"}),React.createElement("path",{d:"M167.422 238.913L58.4297 170.305V297.281H276.478V170.305L167.422 238.913Z",fill:"white"}),React.createElement("path",{d:"M168.762 238.022L157.882 231.174L131.834 214.79L100.346 194.95L73.0822 177.798L64.1222 172.166L61.3063 170.374C60.8583 170.054 60.3462 169.734 59.8342 169.478C59.7702 169.414 59.7062 169.414 59.6422 169.35C59.1942 169.094 56.9543 170.566 56.9543 171.014V296.07C56.8903 296.646 56.8903 297.222 56.9543 297.798C56.9543 297.862 56.9543 297.926 56.9543 297.99H57.0182H266.298C269.114 297.99 271.93 298.054 274.746 297.99H275.13C275.642 297.99 277.754 296.838 277.754 296.262V171.398C277.818 170.822 277.818 170.246 277.754 169.67C277.754 169.606 277.754 169.542 277.754 169.478C277.754 169.35 276.282 170.118 276.282 170.118L265.402 176.966L239.354 193.35L207.802 213.19L180.602 230.342C176.186 233.094 171.77 235.846 167.418 238.662L167.226 238.79C167.098 238.854 165.882 239.622 166.01 239.814C166.138 240.006 167.418 239.238 167.482 239.174L178.362 232.326L204.41 215.942L235.962 196.102L263.162 178.95C267.578 176.198 272.058 173.51 276.346 170.63L276.538 170.502L275.066 171.142V293.062C275.066 294.662 274.938 296.39 275.066 297.99C275.066 298.054 275.066 298.118 275.066 298.182L277.69 296.454H60.4742C60.2822 296.454 60.0262 296.454 59.8342 296.454C59.6422 296.39 59.7703 296.518 59.7703 296.454C59.5783 296.07 59.7703 294.918 59.7703 294.47V169.414L57.0822 171.078L67.9622 177.926L94.0102 194.31L125.498 214.15L152.762 231.302L161.722 236.934L164.538 238.726C164.986 239.046 165.498 239.366 166.01 239.622C166.074 239.686 166.138 239.686 166.202 239.75C166.522 239.942 167.418 239.238 167.674 239.11C167.674 239.046 168.89 238.15 168.762 238.022Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M73.5938 287.942C73.5938 287.942 155.706 213.766 168.058 215.75C180.41 217.734 254.266 284.294 254.266 284.294",fill:"white"}),React.createElement("path",{d:"M74.9363 288.646C77.4323 286.406 79.9283 284.166 82.4243 281.99C88.5683 276.55 94.7763 271.174 100.984 265.798C108.792 259.078 116.728 252.422 124.728 245.894C132.408 239.686 140.152 233.542 148.152 227.782C151.288 225.542 154.424 223.366 157.752 221.318C159.096 220.486 160.376 219.718 161.784 219.014C162.36 218.694 162.936 218.374 163.576 218.118C163.832 217.99 164.152 217.862 164.408 217.734L164.792 217.542L165.048 217.414C164.792 217.478 165.24 217.35 165.304 217.35L165.624 217.222C165.88 217.158 166.072 217.094 166.328 216.966C166.584 216.838 166.712 216.838 166.904 216.838C166.968 216.838 167.096 216.838 167.16 216.774C166.776 216.838 167.224 216.71 167.16 216.774L167.672 216.71C167.992 216.646 167.48 216.71 167.544 216.71C167.608 216.71 167.736 216.71 167.8 216.71C168.312 216.71 167.544 216.646 167.864 216.71C168.056 216.774 168.248 216.838 168.44 216.902C168.632 216.966 168.824 217.03 169.016 217.094C169.208 217.158 168.632 216.902 169.08 217.094L169.464 217.286C169.976 217.542 170.488 217.734 170.936 217.99C172.152 218.63 173.368 219.334 174.52 220.102C176.12 221.062 177.08 221.766 178.68 222.918C180.28 224.07 181.944 225.222 183.544 226.438C187.32 229.254 191.032 232.134 194.744 235.078C203.064 241.67 211.192 248.454 219.256 255.366C226.488 261.51 233.72 267.782 240.824 274.054C244.728 277.51 248.632 281.03 252.472 284.486L252.984 284.934C253.624 285.446 254.52 285.51 255.224 285.19C255.672 284.998 255.864 284.486 255.672 284.038C255.608 283.91 255.48 283.782 255.352 283.654C252.6 281.158 249.848 278.726 247.032 276.294C240.376 270.406 233.656 264.582 226.936 258.758C218.808 251.782 210.616 244.87 202.296 238.086C195.128 232.262 187.896 226.502 180.28 221.19C177.72 219.334 175.032 217.67 172.216 216.198C170.424 215.302 168.504 214.406 166.456 214.662C164.088 214.918 161.848 216.006 159.8 217.094C156.856 218.694 153.976 220.422 151.16 222.342C143.352 227.59 135.864 233.286 128.568 239.174C120.248 245.766 112.12 252.55 104.056 259.398C97.1443 265.286 90.2963 271.174 83.5123 277.19C79.9283 280.39 76.2803 283.59 72.6963 286.79L72.1843 287.238C71.6083 287.75 72.0563 288.454 72.5683 288.774C73.4003 289.158 74.2963 289.094 74.9363 288.646Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M189.18 213.764C189.18 213.764 192.252 265.604 214.268 266.948C236.284 268.292 231.292 225.988 216.636 199.172C201.98 172.356 200.38 173.444 200.38 173.444",fill:"white"}),React.createElement("path",{d:"M187.836 213.254C187.964 215.75 188.284 218.182 188.54 220.614C189.244 226.31 190.268 231.942 191.612 237.51C193.148 243.718 195.132 249.926 198.268 255.558C201.02 260.486 204.924 265.35 210.428 267.398C215.548 269.318 221.756 268.486 225.468 264.262C229.692 259.526 230.524 252.486 230.588 246.406C230.716 238.022 229.116 229.574 226.876 221.574C225.66 217.222 224.124 212.934 222.396 208.774C220.476 204.358 218.364 200.006 215.996 195.782C212.348 189.19 208.636 182.47 204.284 176.326C203.58 175.238 202.748 174.214 201.852 173.318C201.404 172.806 200.764 172.422 200.06 172.23C199.868 172.166 199.612 172.23 199.42 172.294C198.14 173.126 200.316 175.43 201.404 174.726C201.02 174.854 200.636 174.79 200.316 174.598C200.636 174.79 200.188 174.47 200.188 174.47C200.252 174.534 200.316 174.598 200.444 174.662C200.508 174.726 200.508 174.726 200.572 174.79C200.828 174.982 200.252 174.406 200.508 174.726C200.764 175.046 201.148 175.494 201.468 175.878C201.98 176.518 202.428 177.158 202.876 177.798C203.004 177.99 203.132 178.182 203.26 178.374L203.388 178.566C203.388 178.566 203.196 178.31 203.324 178.502L203.58 178.95C203.9 179.462 204.284 180.038 204.604 180.55C206.652 183.75 208.572 187.078 210.492 190.406C212.988 194.822 215.548 199.238 217.788 203.782C219.644 207.622 221.244 211.59 222.588 215.622C225.34 223.558 227.132 231.75 227.772 240.134C228.22 246.47 228.092 253.51 225.084 259.334C223.996 261.446 222.396 263.238 220.284 264.454C218.044 265.606 215.548 266.054 213.052 265.734C212.476 265.67 211.836 265.542 211.26 265.414C211.58 265.478 211.068 265.35 211.004 265.35L210.62 265.222C210.3 265.094 210.044 265.03 209.724 264.902L209.34 264.71L209.084 264.582C209.276 264.646 208.828 264.454 208.764 264.454C208.7 264.454 208.508 264.326 208.38 264.198C208.124 264.07 207.868 263.878 207.612 263.75C207.484 263.686 207.356 263.622 207.292 263.494L207.1 263.366C206.908 263.238 207.42 263.622 207.1 263.366C206.588 262.982 206.14 262.598 205.692 262.15C205.5 261.958 205.244 261.766 205.052 261.51L204.924 261.382L204.604 260.998C204.156 260.486 203.708 259.974 203.324 259.462C203.132 259.206 202.94 258.95 202.748 258.63C202.684 258.502 202.556 258.374 202.492 258.246L202.364 257.99C202.172 257.734 202.428 258.054 202.3 257.926C198.908 252.87 196.924 247.302 195.26 241.414C194.428 238.47 193.724 235.526 193.148 232.518C192.572 229.83 192.188 227.398 191.804 224.646C191.356 221.382 190.972 218.118 190.716 214.79C190.716 214.662 190.716 214.47 190.716 214.342C190.588 213.574 190.076 212.87 189.308 212.614C188.732 212.422 187.9 212.486 187.964 213.254H187.836Z",fill:"#082F49"}),React.createElement("path",{d:"M205.051 210.686C205.051 210.686 208.827 188.286 200.379 188.542C200.379 188.542 199.483 182.398 192.955 184.574C192.955 184.574 190.011 180.734 185.787 180.734C181.563 180.734 172.347 187.134 173.563 190.91C174.779 194.686 184.443 191.294 184.443 191.294C183.547 193.15 182.907 195.07 182.651 197.118C182.651 197.118 173.883 196.222 173.563 200.446C173.243 204.67 178.363 212.222 181.691 212.35C185.019 212.478 185.147 210.174 185.147 210.174C185.147 210.174 185.915 212.67 190.971 214.974C196.027 217.278 205.051 210.686 205.051 210.686Z",fill:"white"}),React.createElement("path",{d:"M206.586 211.078C207.034 208.39 207.29 205.638 207.418 202.886C207.61 198.79 207.674 193.99 205.562 190.342C204.538 188.422 202.49 187.206 200.314 187.206L201.978 188.55C201.786 187.206 201.21 185.926 200.314 184.902C198.202 182.47 195.002 182.406 192.122 183.302L194.298 183.878C192.442 181.446 189.69 179.846 186.682 179.398C183.418 178.95 180.09 180.742 177.53 182.534C175.162 184.134 172.09 186.63 171.898 189.702C171.706 192.966 175.418 193.99 177.978 193.862C180.474 193.734 182.97 193.222 185.338 192.326L183.098 190.406C182.074 192.326 181.434 194.438 181.178 196.55L182.65 195.654C181.114 195.526 179.514 195.526 177.978 195.718C175.802 195.974 173.05 196.806 172.218 199.174C171.898 200.454 171.962 201.798 172.41 203.014C172.858 204.55 173.498 205.958 174.33 207.302C175.738 209.67 177.85 212.422 180.666 213.254C183.098 214.022 186.618 212.934 186.746 210.054L183.674 210.246C184.122 211.206 184.762 212.102 185.53 212.806C186.426 213.638 187.386 214.342 188.474 214.918C189.498 215.558 190.65 216.07 191.866 216.326C195.834 217.094 199.994 215.238 203.386 213.318C204.41 212.742 205.37 212.166 206.33 211.462C206.842 211.014 206.842 210.246 206.394 209.798C206.33 209.734 206.266 209.67 206.202 209.606C205.562 209.094 204.666 209.03 203.962 209.478L203.45 209.798L202.874 210.182L202.554 210.374C202.426 210.438 202.554 210.374 202.618 210.374L202.298 210.566C200.89 211.398 199.418 212.166 197.882 212.806C196.41 213.446 194.81 213.83 193.21 213.894C192.954 213.894 192.762 213.894 192.57 213.83C192.378 213.766 192.634 213.83 192.378 213.766C191.93 213.702 191.546 213.51 191.162 213.318C190.138 212.87 189.178 212.23 188.346 211.526C187.77 211.142 187.322 210.566 186.938 209.99C186.874 209.926 186.81 209.798 186.746 209.67C187.002 210.054 186.81 209.798 186.746 209.734L186.682 209.542C186.234 208.134 183.674 208.134 183.61 209.734C183.674 209.094 183.61 209.606 183.546 209.798C183.482 209.99 183.674 209.606 183.482 209.926L183.354 210.118C183.354 210.182 183.482 210.054 183.29 210.182C182.97 210.438 182.65 210.566 182.266 210.566C182.138 210.566 181.498 210.566 181.69 210.566C181.882 210.566 181.05 210.31 181.434 210.502C180.602 210.118 179.898 209.606 179.322 208.902C178.426 207.942 177.722 206.918 177.082 205.83C176.442 204.742 175.93 203.59 175.61 202.438C175.482 201.99 175.354 201.478 175.354 200.966C175.29 200.582 175.29 200.134 175.418 199.75C175.418 199.686 175.482 199.494 175.418 199.75C175.482 199.686 175.482 199.558 175.546 199.494C175.61 199.43 175.674 199.302 175.738 199.238C175.866 199.11 176.058 198.982 176.25 198.854C176.058 198.982 176.57 198.726 176.634 198.662C177.402 198.342 178.234 198.15 179.066 198.022C179.514 197.958 179.898 197.894 180.346 197.894C180.794 197.894 181.242 197.894 181.69 197.894C182.138 197.894 182.522 197.894 182.97 197.958C183.482 198.022 184.314 197.638 184.442 197.062C184.634 195.654 184.954 194.31 185.466 192.966C185.658 192.454 185.85 192.006 186.106 191.558C186.874 190.15 184.954 189.254 183.866 189.638C183.738 189.702 183.61 189.702 183.482 189.766C183.354 189.83 182.97 189.958 183.354 189.83L182.65 190.022C181.562 190.342 180.474 190.598 179.386 190.726C178.874 190.79 178.362 190.854 177.914 190.854C177.594 190.854 177.274 190.854 177.018 190.854H176.314H176.058C176.25 190.854 176.25 190.854 176.058 190.854C175.866 190.854 175.226 190.534 175.61 190.726L175.29 190.534C175.354 190.534 175.61 190.662 175.354 190.534C175.29 190.47 175.034 190.214 175.29 190.47C175.226 190.406 175.162 190.278 175.098 190.214C175.29 190.47 175.098 190.15 175.098 190.086C175.034 189.766 175.098 190.278 175.098 189.958C175.034 189.574 175.098 189.126 175.29 188.742C175.546 188.294 175.802 187.846 176.122 187.398C176.954 186.374 177.914 185.414 179.002 184.646C180.986 183.11 183.482 181.702 185.85 181.446C185.466 181.51 185.85 181.446 185.914 181.446C186.234 181.446 186.554 181.446 186.81 181.51C187.194 181.574 187.514 181.702 187.898 181.83C188.602 182.086 189.242 182.406 189.818 182.854C190.394 183.238 190.906 183.686 191.354 184.198C191.098 183.942 191.546 184.326 191.354 184.198L191.546 184.454L191.674 184.646C192.186 185.286 193.082 185.542 193.85 185.222C194.362 185.03 194.874 184.966 195.45 184.902C195.706 184.902 196.026 184.902 196.282 184.902C196.538 184.902 195.962 184.838 196.41 184.902L196.73 184.966C197.178 185.094 196.602 184.902 196.794 184.966L197.114 185.094C197.178 185.094 197.434 185.286 197.306 185.158C197.178 185.03 197.434 185.286 197.434 185.286C197.562 185.414 197.69 185.542 197.818 185.67C197.69 185.478 197.946 185.798 197.818 185.67L198.01 185.926C198.074 186.054 198.202 186.182 198.266 186.31C198.202 186.182 198.33 186.438 198.266 186.31C198.33 186.374 198.33 186.438 198.394 186.566C198.522 186.822 198.65 187.078 198.714 187.334C198.778 187.526 198.906 188.166 198.842 187.654C198.842 187.718 198.906 187.782 198.906 187.91C199.034 188.742 199.738 189.318 200.57 189.254C200.762 189.254 200.954 189.254 201.146 189.254C201.338 189.254 200.762 189.126 201.082 189.254C201.146 189.254 201.274 189.318 201.338 189.318C201.786 189.446 201.21 189.19 201.53 189.382C201.594 189.446 202.042 189.702 201.85 189.574C201.658 189.446 202.106 189.766 202.17 189.83C202.49 190.086 202.106 189.702 202.298 189.958C202.426 190.086 202.49 190.214 202.618 190.342C202.746 190.47 203.002 190.982 202.81 190.662C203.194 191.43 203.514 192.198 203.706 193.03C203.898 193.926 204.09 194.758 204.154 195.654C204.346 197.766 204.41 199.878 204.282 201.99C204.218 202.95 204.154 203.91 204.09 204.87C204.026 205.446 204.026 205.382 204.026 205.83C204.026 206.278 203.962 206.598 203.898 207.046C203.77 207.942 203.706 208.774 203.514 209.67C203.45 210.438 203.962 211.142 204.73 211.334C205.306 212.102 206.458 211.91 206.586 211.078Z",fill:"#082F49"}),React.createElement("path",{d:"M182.398 202.117C182.398 202.117 186.942 206.085 185.022 210.117L182.398 202.117Z",fill:"white"}),React.createElement("path",{d:"M181.247 203.138L181.439 203.33L181.631 203.522C181.759 203.65 181.439 203.33 181.567 203.458L181.759 203.65C182.207 204.162 182.655 204.738 183.039 205.378C183.231 205.762 183.487 206.146 183.615 206.53C183.615 206.594 183.743 206.914 183.679 206.658C183.679 206.722 183.743 206.85 183.743 206.914C183.807 207.106 183.871 207.362 183.935 207.554C183.999 207.81 183.999 208.002 183.999 208.258C183.999 208.322 183.999 208.642 183.999 208.514C183.999 208.386 183.999 208.77 183.999 208.77C183.935 209.026 183.935 209.282 183.871 209.474C183.807 209.73 183.935 209.282 183.807 209.602C183.743 209.73 183.679 209.858 183.615 210.05C183.359 210.434 183.487 210.946 183.871 211.202C183.999 211.266 184.191 211.33 184.383 211.33C185.215 211.33 185.919 210.818 186.303 210.114C187.839 206.85 185.983 203.266 183.487 201.026C183.167 200.834 182.847 200.834 182.527 200.898C182.143 200.962 181.759 201.154 181.439 201.474C181.055 201.922 180.671 202.69 181.247 203.138Z",fill:"#082F49"}),React.createElement("path",{d:"M198.845 201.54C198.461 203.46 197.501 205.188 196.221 206.66C195.837 207.044 195.389 207.364 194.877 207.62C194.621 207.748 194.365 207.812 194.109 207.748C193.853 207.748 194.109 207.748 193.853 207.748L193.533 207.684C193.597 207.684 193.597 207.684 193.533 207.684C193.213 207.684 193.661 207.748 193.597 207.748C193.533 207.748 193.469 207.684 193.341 207.62C193.021 207.236 193.853 207.94 193.341 207.62C193.213 207.492 193.085 207.364 193.021 207.172C192.957 206.98 192.957 207.108 192.957 207.108C192.893 206.98 192.829 206.916 192.765 206.788C192.317 205.892 192.061 204.932 191.933 203.972C191.741 202.756 191.741 201.476 191.869 200.26C192.061 197.7 192.829 195.204 194.109 192.964C194.749 191.812 195.709 190.916 196.861 190.212C197.053 190.084 197.309 189.956 197.501 189.892C197.821 189.764 198.141 189.7 198.525 189.636C198.333 189.636 198.717 189.572 198.525 189.636H198.781L199.357 189.572C199.677 189.572 199.997 189.572 200.381 189.636C201.021 189.7 201.853 189.444 201.853 188.676C201.853 187.908 200.829 187.46 200.189 187.396C197.053 186.948 193.981 188.164 191.997 190.596C190.205 193.028 189.117 195.908 188.861 198.852C188.541 201.476 188.605 204.42 189.757 206.852C191.037 209.604 194.301 210.756 197.053 209.476C197.181 209.412 197.309 209.348 197.373 209.284C199.741 208.004 201.213 204.932 201.789 202.436C202.237 201.028 199.165 200.132 198.845 201.54Z",fill:"#082F49"}),React.createElement("path",{d:"M191.87 183.877C188.67 184.773 185.854 186.693 183.87 189.445C182.014 192.005 180.99 195.077 180.926 198.213C180.862 200.581 181.63 203.013 183.742 204.293C186.174 205.637 189.118 205.573 191.486 204.101C192.062 203.717 191.486 203.269 191.038 203.077C190.334 202.757 189.566 202.757 188.862 203.013C188.542 203.269 188.158 203.461 187.774 203.589C187.582 203.653 187.326 203.717 187.134 203.781C187.006 203.781 186.878 203.781 186.814 203.845C187.006 203.845 186.622 203.845 186.622 203.845C186.302 203.845 186.622 203.845 186.686 203.845L186.43 203.781C186.686 203.845 186.238 203.717 186.302 203.717C186.174 203.653 186.046 203.525 185.918 203.461C184.254 202.117 184.126 199.621 184.318 197.701C184.702 192.901 187.454 188.613 191.614 186.181C192.382 185.733 193.214 185.349 194.11 185.157C194.75 185.029 194.75 184.517 194.238 184.197C193.406 183.813 192.574 183.685 191.87 183.877Z",fill:"#082F49"}),React.createElement("path",{d:"M214.841 227.013C213.689 225.029 212.857 222.917 211.897 220.869C210.617 218.053 209.273 215.173 207.865 212.421C207.481 211.525 206.969 210.629 206.329 209.797C205.817 209.221 203.257 211.077 203.641 211.461C204.153 212.165 204.601 212.869 204.921 213.637C205.561 214.917 206.201 216.133 206.777 217.413C208.121 220.229 209.401 223.045 210.745 225.861C211.193 226.757 211.577 227.717 212.089 228.613C212.473 229.253 215.225 227.589 214.841 227.013Z",fill:"#082F49"}),React.createElement("path",{d:"M85.6291 226.303C83.8371 226.303 81.8531 226.687 80.7011 228.159C79.6131 229.567 79.5491 231.551 80.6371 233.023C81.7251 234.367 83.6451 234.751 85.1811 234.047C86.9091 233.279 87.7411 231.487 88.3171 229.759L85.5651 229.055C85.8211 231.999 88.1251 234.431 91.0691 234.815C94.5251 235.135 95.1651 231.231 95.1011 228.607C95.0371 225.407 93.6931 222.591 90.8131 220.991C84.4131 217.727 76.6691 220.287 73.4051 226.623C72.8931 227.583 72.5091 228.671 72.3171 229.695C71.2931 235.007 73.8531 240.767 78.7171 243.327C81.9171 244.927 85.6291 245.055 88.9571 243.711C91.9651 242.367 94.5251 240.127 96.2531 237.311C96.6371 236.607 96.5091 235.711 95.8691 235.135C95.3571 234.687 94.3331 234.495 93.8851 235.135C91.3891 238.975 87.1651 242.175 82.3651 241.535C78.1411 240.959 75.3891 237.439 75.0051 233.343C74.6851 229.439 76.7331 225.663 80.1891 223.871C81.9171 222.911 83.8371 222.463 85.7571 222.527C87.6131 222.591 89.8531 223.103 91.1331 224.511C91.8371 225.407 92.2211 226.495 92.2851 227.647C92.4131 228.735 92.2851 229.887 91.9651 230.975C91.5171 231.999 90.4931 231.871 89.6611 231.359C88.8931 230.847 88.4451 229.951 88.3811 229.055C88.2531 227.775 86.1411 226.815 85.6291 228.351C85.3731 229.311 84.9251 230.207 84.2211 230.911C84.0291 231.103 82.9411 231.743 82.6211 231.295C82.4931 231.103 82.9411 230.335 83.1331 230.143C83.9011 229.439 85.1171 229.375 86.0771 229.311C88.0611 229.311 87.3571 226.303 85.6291 226.303Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M104.57 227.587C102.458 228.099 101.434 230.339 101.242 232.387C100.986 234.947 102.33 237.635 105.018 238.275C107.322 238.723 109.69 237.891 111.162 236.163C112.058 235.267 112.378 233.923 112.058 232.707C111.674 231.555 110.074 230.147 108.794 230.659C107.77 231.043 107.386 232.323 107.45 233.283C107.514 234.435 108.026 235.587 108.858 236.419C110.586 238.339 113.402 238.723 115.642 237.507C117.818 236.099 119.354 233.923 119.866 231.363C120.186 230.083 119.93 228.803 119.226 227.715C118.586 226.691 117.242 225.475 115.898 225.603C114.426 225.731 114.49 227.907 114.362 228.931C114.234 230.403 114.426 231.875 115.002 233.219C116.09 235.779 118.778 238.083 121.658 237.763C123.194 237.635 121.402 235.139 120.25 235.203C117.178 235.459 116.73 231.875 116.986 229.571C117.05 229.187 117.114 228.867 117.178 228.483L117.306 228.099C117.306 228.099 116.986 228.099 117.05 227.971C117.05 228.035 117.178 228.355 117.178 228.419C117.242 228.867 117.242 229.251 117.114 229.699C116.73 231.235 115.962 232.643 114.938 233.859C114.042 235.011 112.698 235.651 111.226 235.651C110.202 235.587 109.69 235.011 110.01 233.923C110.074 233.667 110.202 233.475 110.33 233.283L110.394 233.219C110.778 232.899 110.458 232.579 109.434 232.387C109.37 232.579 109.306 232.771 109.306 232.963C109.05 233.603 108.666 234.179 108.154 234.627C107.13 235.523 105.786 235.971 104.442 235.907C104.314 235.843 104.186 235.843 104.058 235.843C103.866 235.843 103.93 235.779 103.994 235.907C103.866 235.715 103.802 235.459 103.738 235.203C103.61 234.499 103.674 233.731 103.866 233.027C104.186 231.683 104.954 230.403 106.362 230.083C107.066 229.891 106.554 228.803 106.298 228.483C106.042 227.843 105.338 227.523 104.57 227.587Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M82.5624 99.585C82.5624 99.585 68.0344 91.969 68.9304 91.009C69.8264 90.049 118.53 72.193 119.17 76.673C119.81 81.153 111.234 107.905 108.674 108.033C106.114 108.161 99.0104 105.665 99.0104 105.665C99.0104 105.665 88.0024 119.873 86.7224 119.489C85.4424 119.105 82.5624 99.585 82.5624 99.585Z",fill:"white"}),React.createElement("path",{d:"M82.6263 98.4981C79.4903 96.8341 76.3543 95.1061 73.3463 93.3141C72.4503 92.7381 71.4903 92.1621 70.5943 91.5861C70.3383 91.4581 70.5943 91.5861 70.6583 91.6501L70.4023 91.4581L69.9543 91.1381C69.8903 91.0741 69.7623 90.9461 69.6343 90.8821C69.3783 90.7541 69.9543 91.2021 69.7623 91.0101C69.5703 90.8181 69.5703 90.6901 69.8903 91.1381C70.0823 91.5221 70.0823 91.9061 69.9543 92.2901C69.9543 92.2901 70.0183 92.2901 70.0183 92.2261C70.0183 92.1621 69.7623 92.3541 69.9543 92.2901C70.1463 92.2261 70.5303 92.0341 70.8503 91.9061C77.8263 88.8981 85.1223 86.5301 92.3543 84.0981C96.8983 82.5621 101.506 81.1541 106.178 79.8101C109.57 78.7861 113.09 77.9541 116.674 77.5061C116.738 77.5061 116.866 77.5061 116.93 77.5061H117.314C117.57 77.5061 117.826 77.5061 118.082 77.5061C118.338 77.5061 118.466 77.5701 118.658 77.5701C118.85 77.5701 118.338 77.5061 118.594 77.5701C118.658 77.5701 118.786 77.6341 118.85 77.6341C118.53 77.5701 118.53 77.5061 118.722 77.5701C118.594 77.5061 118.21 77.1861 118.274 77.1861C118.082 76.9301 118.018 76.6741 117.89 76.4821C117.762 76.2901 117.89 76.4181 117.89 76.6101C117.954 76.1621 117.89 76.6101 117.89 76.7381C117.89 76.8661 117.89 76.9941 117.89 77.1221C117.89 77.5061 117.826 77.8261 117.762 78.2101C117.186 82.6901 115.778 87.1701 114.37 91.4581C112.962 95.9381 111.49 100.482 109.314 104.642C109.186 104.962 108.994 105.282 108.802 105.602C108.738 105.73 108.61 105.858 108.546 106.05C108.482 106.242 108.226 106.498 108.418 106.242C108.29 106.434 108.098 106.562 107.97 106.754C107.906 106.818 107.842 106.818 107.778 106.882C107.906 106.754 108.034 106.754 107.842 106.818C107.65 106.882 108.226 106.882 107.906 106.818C106.754 106.69 105.602 106.498 104.45 106.242C103.106 105.922 101.826 105.538 100.546 105.09C99.9063 104.898 99.3303 104.706 98.6903 104.514C98.4983 104.45 98.0503 104.386 97.8583 104.578C94.5303 108.866 91.2023 113.282 87.3623 117.122C87.0423 117.506 86.6583 117.826 86.2103 118.146L86.0183 118.274L85.8903 118.338C86.4023 118.338 86.8503 118.594 87.1703 118.978C87.0423 118.85 87.4903 119.426 87.2983 119.17C87.1063 118.914 87.4263 119.618 87.3623 119.298C87.2983 119.106 87.2343 118.914 87.1703 118.722C87.1063 118.53 87.1063 118.466 87.0423 118.338C86.9783 118.21 87.1063 118.594 87.0423 118.21C86.9783 117.826 86.8503 117.634 86.7863 117.314C85.9543 114.05 85.3783 110.658 84.8023 107.33C84.4183 104.962 83.9703 102.594 83.6503 100.162C83.4583 99.3941 82.9463 98.7541 82.1783 98.4341C81.7943 98.2421 81.4103 98.4341 81.2183 98.7541C81.1543 98.9461 81.1543 99.1381 81.1543 99.2661C81.9863 104.898 82.8823 110.658 84.2263 116.226C84.6743 117.89 85.8263 122.434 88.3223 120.45C89.3463 119.618 90.2423 118.658 91.0743 117.698C92.2903 116.354 93.5063 114.882 94.6583 113.474C96.4503 111.362 98.1783 109.186 99.8423 106.946L99.0103 107.01C101.058 107.714 103.17 108.354 105.346 108.866C106.882 109.25 109.122 110.082 110.338 108.61C111.362 107.138 112.194 105.602 112.77 103.938C113.73 101.634 114.626 99.2661 115.458 96.8981C117.25 91.9061 118.658 86.7861 119.81 81.6021C120.066 80.1941 120.514 78.4661 120.258 76.9941C119.938 75.6501 118.722 74.6261 117.314 74.5621C116.034 74.4981 114.754 74.5621 113.538 74.8181C111.746 75.0741 109.954 75.5221 108.162 75.9701C103.49 77.1221 98.8823 78.5301 94.3383 80.0021C86.1463 82.6261 78.0183 85.3781 70.0183 88.6421C69.2503 88.8981 68.4823 89.2181 67.8423 89.6661C66.4983 90.7541 68.9303 92.7381 69.7623 93.3141C73.4103 95.9381 77.4423 98.0501 81.4103 100.162L82.3703 100.674C82.8823 100.93 83.5863 100.994 83.7143 100.29C83.7783 99.5221 83.3303 98.8181 82.6263 98.4981Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M110.719 84.1641C110.719 84.1641 88.8947 101.316 88.3187 102.468C87.7428 103.62 86.7188 119.492 86.7188 119.492",fill:"white"}),React.createElement("path",{d:"M109.632 84.6127C104.64 88.5167 99.6485 92.4847 94.7205 96.5167C92.2885 98.5007 89.7925 100.421 87.4885 102.597C86.9765 103.045 86.6565 103.685 86.6565 104.389C86.4005 106.117 86.2725 107.909 86.0805 109.637C85.7605 113.221 85.5685 116.805 85.3125 120.389C85.3125 120.517 86.7205 119.813 86.7845 119.749C87.1045 119.557 88.0005 119.173 88.0645 118.725C88.2565 115.717 88.4485 112.773 88.7045 109.829C88.8325 107.845 89.0245 105.925 89.2165 104.005C89.2805 103.429 89.3445 102.789 89.4725 102.213C89.4725 102.085 89.5365 101.957 89.6005 101.829C89.6645 101.637 89.5365 101.893 89.6645 101.765C89.8565 101.573 89.9205 101.509 89.9845 101.445L90.2405 101.253L90.3685 101.125C90.8165 100.677 91.3285 100.293 91.8405 99.9087C93.1845 98.7567 94.5925 97.6047 95.9365 96.5167C99.2005 93.8927 102.464 91.2687 105.728 88.6447C107.712 87.0447 109.696 85.5087 111.68 83.9087C112.128 83.5887 112 83.4607 111.488 83.6527C110.784 83.9727 110.144 84.3567 109.568 84.8047L109.632 84.6127Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M105.922 105.414L90.4981 101.446L88.2581 100.87C87.4901 100.678 86.9141 101.574 86.9141 102.214C86.9781 103.046 87.5541 103.75 88.3861 103.942L103.81 107.91L106.05 108.486C106.818 108.678 107.394 107.782 107.394 107.142C107.33 106.31 106.754 105.606 105.922 105.414Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M109.827 82.879L100.739 87.551L86.2749 94.975L82.9469 96.639C81.8589 97.215 83.5869 99.839 84.7389 99.263L93.8269 94.591L108.291 87.167L111.619 85.439C112.643 84.927 110.979 82.303 109.827 82.879Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M74.2272 41.3416L55.2656 47.6016L59.8001 61.3366L78.7617 55.0766L74.2272 41.3416Z",fill:"white"}),React.createElement("path",{d:"M78.8496 54.1463L62.2096 59.6503L59.8416 60.4183L61.2496 60.6103L57.2816 48.5783L56.7056 46.8503L55.2336 48.4503L71.8736 42.9463L74.2416 42.1783L72.8336 41.9863L76.8016 54.0183L77.3776 55.7463C77.6976 56.7063 80.6416 55.4263 80.2576 54.3383L76.2896 42.3063L75.7136 40.5783C75.5856 40.0663 74.6256 40.3223 74.3056 40.3863L57.6656 45.8903L55.2976 46.6583C54.7216 46.8503 53.5696 47.4903 53.8256 48.2583L57.7936 60.2903L58.3696 62.0183C58.4976 62.5303 59.4576 62.2743 59.7776 62.2103L76.4176 56.7063L78.7856 55.9383C79.2976 55.7463 80.3216 55.2343 80.2576 54.5303C80.1936 53.8263 79.2336 54.0183 78.8496 54.1463Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M55.875 47.8754C59.203 48.1954 62.083 50.3714 65.347 50.8834C65.603 50.9474 65.795 50.9474 66.051 50.8834C66.243 50.7554 66.435 50.6274 66.563 50.4354L73.347 41.8594",fill:"white"}),React.createElement("path",{d:"M54.9147 48.9608C56.7067 49.2169 58.4987 49.7928 60.1627 50.5609C61.7627 51.2008 63.8747 52.2888 65.6667 51.9049C66.8827 51.6488 67.5867 50.7529 68.2907 49.8569L70.3387 47.2969L74.4987 42.0489C74.8827 41.6009 75.1387 40.9608 74.3707 40.7048C73.6027 40.6408 72.8347 40.8969 72.3227 41.5369L68.7387 46.0809L66.8827 48.4489L65.9867 49.5369C65.7947 49.7289 65.6667 49.9209 65.4747 50.1129L65.3467 50.3048C66.4347 50.0488 66.6907 49.8569 66.1787 49.7929C65.4747 49.5369 64.6427 49.4089 63.8747 49.1529C63.1067 48.8969 62.3387 48.5128 61.5707 48.1928C60.0347 47.4888 58.4347 47.0408 56.8347 46.7848C56.0667 46.7208 55.2987 47.0409 54.7867 47.6809C54.5307 48.0009 54.1467 48.9608 54.9147 48.9608Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M59.3906 60.4197C59.5826 57.7957 60.8626 52.7397 61.5666 50.1797L59.3906 60.4197Z",fill:"white"}),React.createElement("path",{d:"M60.9915 60.5461C61.1835 58.8181 61.4395 57.0901 61.8875 55.3621C62.2715 53.6341 62.7195 51.9701 63.1675 50.2421C63.3595 49.4741 60.2235 48.9621 59.9675 49.9221C59.5195 51.5861 59.0715 53.3141 58.6875 55.0421C58.2395 56.7701 57.9835 58.4341 57.7915 60.2261C57.7275 60.8021 58.9435 60.9941 59.3275 60.9941C59.7115 60.9941 60.9275 61.1221 60.9915 60.5461Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M70.0156 47.75C72.3836 49.926 74.6876 52.166 76.9276 54.47L70.0156 47.75Z",fill:"white"}),React.createElement("path",{d:"M69.3807 48.6389C71.7487 50.8149 74.0527 53.0549 76.2927 55.3589C76.6767 55.8069 77.5727 56.2549 78.0207 55.6149C78.3407 54.9109 78.2127 54.0789 77.6367 53.5669C75.3327 51.3269 73.0287 49.0869 70.7247 46.8469C70.2767 46.4629 69.4447 45.9509 68.9967 46.6549C68.6127 47.2949 68.8047 48.1269 69.3807 48.6389Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M190.927 38.7064L164.367 38.8594L164.478 58.0594L191.038 57.9064L190.927 38.7064Z",fill:"white"}),React.createElement("path",{d:"M190.34 56.7703L167.108 56.8983H163.78L165.956 58.5623L165.892 41.7303V39.3623L165.06 40.0023L188.292 39.8743H191.62L189.444 38.2103L189.508 55.0423V57.4743C189.508 58.7543 192.452 59.8423 192.452 58.4983L192.388 41.6663V39.2343C192.388 38.2103 191.108 37.5703 190.212 37.5703L166.98 37.6983H163.652C163.268 37.6983 162.82 37.8903 162.82 38.3383L162.884 55.1703V57.6023C162.884 58.6263 164.164 59.2663 165.06 59.2663L188.292 59.1383H191.62C192.004 59.1383 192.388 58.8183 192.388 58.4343C192.388 58.2423 192.324 58.1143 192.26 57.9223C191.876 57.2183 191.108 56.7703 190.34 56.7703Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M164.93 39.5511C169.026 41.2791 171.778 45.2471 175.682 47.2311C175.938 47.3591 176.258 47.4871 176.578 47.4871C176.898 47.4231 177.218 47.2951 177.41 47.1031L189.506 39.0391",fill:"white"}),React.createElement("path",{d:"M164.351 40.0058C166.463 40.9018 168.191 42.5658 169.919 44.0378C171.647 45.5098 173.695 47.3018 175.935 48.0058C176.575 48.2618 177.343 48.3258 178.047 48.1338C178.623 47.8778 179.199 47.5578 179.647 47.1738L183.359 44.6778L190.975 39.6218C191.487 39.3018 190.335 38.6618 190.143 38.5338C189.631 38.2778 188.671 37.9578 188.159 38.3418L181.311 42.8858L177.855 45.1898L176.127 46.3418L175.807 46.5338C175.295 46.7258 175.551 46.8538 176.511 46.8538C176.319 46.7258 176.191 46.6618 175.999 46.5978C174.207 45.4458 172.543 44.1658 171.007 42.7578C169.343 41.2858 167.487 40.0698 165.503 39.1098C165.055 38.9178 163.903 38.4698 163.519 38.9178C163.135 39.3658 164.095 39.8778 164.351 40.0058Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M164.289 56.7039C165.633 53.4399 169.281 47.5519 171.201 44.6719L164.289 56.7039Z",fill:"white"}),React.createElement("path",{d:"M165.695 56.197C166.591 54.085 167.679 52.0369 168.959 50.0529C170.111 48.0689 171.391 46.085 172.671 44.1649C172.799 43.9089 171.583 44.3569 171.519 44.3569C171.135 44.4849 170.751 44.6769 170.367 44.8689C170.111 44.9329 169.919 45.125 169.727 45.253C168.447 47.173 167.231 49.157 166.015 51.141C164.799 53.125 163.711 55.173 162.815 57.285C162.687 57.541 163.839 57.1569 163.967 57.0929C164.351 56.9649 164.735 56.773 165.119 56.581C165.311 56.517 165.695 56.389 165.695 56.197Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M182.914 45.125C184.962 48.837 186.946 52.613 188.93 56.453L182.914 45.125Z",fill:"white"}),React.createElement("path",{d:"M181.379 45.0574C183.427 48.8334 185.411 52.5454 187.395 56.3854C187.651 56.8974 188.867 56.8974 189.315 56.8974C189.571 56.8974 190.723 56.8974 190.467 56.4494C188.547 52.6734 186.499 48.8974 184.451 45.1214C184.195 44.6094 182.979 44.6094 182.531 44.6094C182.339 44.6094 181.123 44.6094 181.379 45.0574Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M256.124 79.8188L248.922 97.6172L273.543 107.58L280.745 89.7814L256.124 79.8188Z",fill:"white"}),React.createElement("path",{d:"M275.006 107.141L256.51 99.6533L252.094 97.8613L250.814 97.3493C250.686 97.3493 250.622 97.2853 250.494 97.2213C250.366 97.0933 250.494 97.2853 250.494 97.2213C250.558 96.9013 250.686 96.6453 250.814 96.3893L251.582 94.4693L253.886 88.8373L257.726 79.4293L254.654 80.3893L273.15 87.8773L277.566 89.6693L278.846 90.1813C278.974 90.1813 279.038 90.2453 279.166 90.3093C279.166 90.2453 279.294 90.4373 279.166 90.3093C279.102 90.6293 278.974 90.8853 278.846 91.1413L278.078 93.0613L275.774 98.6933L271.934 108.101C271.87 108.229 273.47 107.973 273.534 107.909C273.918 107.781 274.814 107.589 275.006 107.141L281.342 91.5893L282.238 89.3493L282.174 89.2853L260.67 80.5813L257.598 79.3653C257.15 79.1733 256.254 79.5573 255.87 79.6853C255.486 79.8133 254.782 79.9413 254.59 80.3253L248.254 95.8773L247.422 98.1173L247.486 98.1813L268.99 106.885L272.062 108.101C272.574 108.293 273.534 107.909 273.982 107.717C274.11 107.717 275.262 107.205 275.006 107.141Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M256.453 80.7031C259.589 83.8391 260.613 88.5111 263.493 91.9031C263.685 92.1591 263.941 92.3511 264.197 92.4791C264.517 92.5431 264.837 92.5431 265.157 92.4791L279.429 89.6631",fill:"white"}),React.createElement("path",{d:"M256.77 81.8553C258.242 83.3913 259.138 85.4393 260.098 87.2953C261.186 89.3433 262.338 91.7753 264.13 93.3113C265.09 94.1433 266.242 93.6953 267.394 93.5033L271.554 92.6713L280.258 90.9433C280.642 90.8793 279.49 87.9993 278.658 88.1913L270.594 89.7913L266.562 90.6233L264.578 91.0073C263.874 91.1353 263.618 91.1353 263.17 90.6233C261.89 89.0233 261.122 87.1673 260.226 85.3753C259.202 83.2633 257.858 81.3433 256.258 79.5513C255.874 79.1033 255.618 79.3593 255.682 79.8713C255.81 80.6393 256.194 81.2793 256.77 81.8553Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M249.281 96.387C251.777 93.891 257.345 89.859 260.289 87.875L249.281 96.387Z",fill:"white"}),React.createElement("path",{d:"M250.689 96.6445C250.881 96.4525 250.625 96.7085 250.817 96.5165L251.073 96.2605C251.265 96.0685 251.457 95.8765 251.649 95.7485C252.033 95.3645 252.481 95.0445 252.929 94.6605C253.889 93.8925 254.849 93.0605 255.873 92.3565C257.729 90.9485 259.585 89.6685 261.505 88.3885C261.825 88.1965 261.953 87.7485 261.761 87.3645C261.633 87.1725 261.505 87.1085 261.313 87.0445C260.545 86.7885 259.713 86.9165 259.073 87.3645C257.153 88.6445 255.233 90.0525 253.313 91.4605C251.393 92.8685 249.537 94.4045 247.809 96.0685C247.297 96.6445 248.065 97.1565 248.577 97.2845C249.345 97.4125 250.177 97.1565 250.689 96.6445Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M270.914 92.7422C271.362 96.9662 271.81 101.19 272.13 105.478L270.914 92.7422Z",fill:"white"}),React.createElement("path",{d:"M269.698 91.8417C270.146 96.0657 270.594 100.29 270.914 104.578C270.978 105.218 271.746 105.794 272.194 106.114C272.322 106.178 273.474 106.882 273.41 106.37C273.026 102.082 272.642 97.8577 272.194 93.6337C272.13 92.9937 271.362 92.4177 270.914 92.0977C270.786 92.0337 269.634 91.3297 269.698 91.8417Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M96.1303 50.37C106.754 48.898 117.826 53.186 124.994 61.058C126.786 63.042 128.386 65.218 129.602 67.586C131.01 70.274 132.034 73.09 133.634 75.65C135.17 78.274 137.41 80.322 140.162 81.666C142.914 82.882 145.986 83.394 148.994 83.138C156.29 82.498 162.242 77.89 167.426 73.09C168.706 71.938 166.018 70.146 164.866 71.234C160.386 75.33 155.266 79.49 149.058 80.45C146.37 80.898 143.618 80.578 141.122 79.426C138.626 78.274 136.898 76.098 135.618 73.73C134.21 71.17 133.186 68.482 131.778 65.922C130.434 63.554 128.77 61.314 126.914 59.33C123.074 55.234 118.338 52.098 113.154 50.05C107.33 47.746 100.994 46.978 94.7864 47.81C94.2104 47.938 93.8264 48.45 93.9544 49.026C93.9544 49.154 94.0184 49.282 94.0824 49.346C94.4664 50.178 95.2983 50.562 96.1303 50.37Z",fill:"#082F49"}),React.createElement("path",{d:"M203.519 51.1351C205.567 49.0871 208.447 48.2551 211.199 47.7431C214.335 47.1031 217.535 46.5271 220.799 46.1431C226.815 45.5031 233.471 45.4391 238.911 48.3191C243.391 50.6871 247.231 54.8471 248.447 59.8391C248.767 61.0551 248.895 62.3351 248.831 63.6151C248.831 64.2551 248.767 64.8311 248.639 65.4071C248.575 65.7271 248.511 66.0471 248.383 66.3671C248.255 66.6231 248.127 66.8151 247.935 67.0711C247.423 68.1591 247.807 67.0711 247.807 67.1351C247.935 67.1351 248.063 67.1991 248.191 67.1991C248.319 67.1991 248.383 67.3911 248.191 67.1991C247.871 66.8791 247.679 66.4311 247.679 65.9831C247.743 64.8951 248.895 64.1911 249.855 63.9351C252.223 63.2951 254.975 64.2551 256.895 65.7271C259.199 67.3911 260.735 69.8231 261.375 72.5751C261.631 73.2791 262.271 73.7911 262.975 73.8551C263.359 73.9191 264.575 73.9191 264.383 73.2151C263.039 66.8791 256.959 62.0151 250.495 61.7591C248.191 61.6951 243.775 62.8471 244.671 66.0471C245.439 68.7991 250.367 70.7831 251.327 67.1991C253.055 60.9271 249.599 54.5271 245.055 50.4311C239.551 45.4391 231.999 43.7111 224.703 43.7751C220.287 43.9031 215.871 44.4151 211.519 45.3111C207.679 46.0151 203.519 46.7831 200.639 49.5991C199.871 50.5591 202.687 51.9671 203.519 51.1351Z",fill:"#082F49"}),React.createElement("path",{d:"M96.8998 174.402C90.0518 174.018 82.9478 172.738 77.6358 168.066C73.2198 164.098 71.0438 157.57 73.7318 152.002C74.3718 150.658 75.2678 149.506 76.4198 148.61C77.1238 148.098 78.5958 147.266 79.4918 147.842C80.3878 148.418 80.1318 149.762 79.8118 150.53C79.2998 151.618 78.1478 152.258 76.9958 152.066C73.9238 151.618 72.7078 147.97 72.1318 145.41C71.4918 142.53 71.4278 139.586 71.8118 136.642C72.7718 129.922 76.3558 123.842 81.7958 119.81C82.2438 119.426 82.3078 118.786 81.9238 118.338C81.8598 118.274 81.7958 118.21 81.6678 118.146C81.0278 117.634 80.1318 117.57 79.4278 118.018C73.6678 122.242 69.8278 128.642 68.7398 135.682C68.1638 139.202 68.2918 142.786 69.1878 146.178C70.1478 149.954 72.3878 153.666 76.5478 154.434C78.4678 154.882 80.5158 154.306 81.9238 152.898C82.9478 151.81 83.3958 150.21 83.0758 148.738C82.6278 146.946 81.0918 145.602 79.2358 145.346C77.3158 145.09 75.4598 145.666 73.9238 146.818C71.0438 148.994 69.6358 152.578 69.3798 156.098C69.1878 159.746 70.2758 163.33 72.4518 166.274C78.0198 174.082 88.0038 176.322 97.0278 176.834C97.6678 176.898 98.5638 176.514 98.4998 175.746C98.4358 174.978 97.6038 174.402 96.8998 174.402Z",fill:"#082F49"})),V9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M10.5 20C16.0229 20 20.5 15.5228 20.5 10C20.5 4.47715 16.0229 0 10.5 0C4.97716 0 0.5 4.47715 0.5 10C0.5 15.5228 4.97716 20 10.5 20ZM10.379 4.43553C9.53231 6.22172 8.68559 8.00991 7.83888 9.79805C6.99206 11.5865 6.14519 13.3749 5.29838 15.1613H7.47578C8.1613 13.7783 8.84678 12.3932 9.53225 11.0081C10.2177 9.62302 10.9032 8.23794 11.5887 6.85487L10.379 4.43553ZM11.5887 11.0483C11.9374 10.3225 12.2862 9.59679 12.637 8.87103C13.149 9.91933 13.6591 10.9677 14.1691 12.016C14.6793 13.0644 15.1894 14.1129 15.7015 15.1613H13.3628C13.2298 14.8509 13.0946 14.5424 12.9596 14.2339C12.8245 13.9255 12.6894 13.617 12.5563 13.3065H10.5402H10.4999L10.5402 13.2258C10.8911 12.5 11.2399 11.7742 11.5887 11.0483Z",fill:"url(#paint0_linear_9131_38968)"}),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_9131_38968",x1:"20.5",y1:"-5.96046e-07",x2:"0.499998",y2:"20",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#B147E1"}),React.createElement("stop",{offset:"1",stopColor:"#5236DD"})))),H9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("g",{clipPath:"url(#clip0_9150_48086)"},React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M16.4016 1.63934H4.59835C3.24029 1.63934 2.13934 2.74029 2.13934 4.09835V15.9016C2.13934 17.2597 3.24029 18.3606 4.59835 18.3606H16.4016C17.7597 18.3606 18.8606 17.2597 18.8606 15.9016V4.09835C18.8606 2.74029 17.7597 1.63934 16.4016 1.63934ZM4.59835 0C2.3349 0 0.5 1.8349 0.5 4.09835V15.9016C0.5 18.1651 2.3349 20 4.59835 20H16.4016C18.6651 20 20.5 18.1651 20.5 15.9016V4.09835C20.5 1.8349 18.6651 0 16.4016 0H4.59835Z",fill:"url(#paint0_linear_9150_48086)"}),React.createElement("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M12.5872 6.29437C12.5488 6.26 12.5082 6.2271 12.4655 6.19567C12.0954 5.92315 11.593 5.78687 10.9584 5.78687C10.5273 5.78687 10.1632 5.8479 9.86628 5.96992C9.56934 6.08788 9.34155 6.25262 9.18293 6.46415C9.01251 6.69733 8.7223 6.88631 8.47134 6.74335C8.27436 6.63112 8.09247 6.49269 7.93091 6.33115C7.62957 6.02981 7.40864 5.65771 7.28832 5.2489C7.2353 5.06879 7.28222 4.87194 7.42403 4.7489C7.74116 4.47371 8.11186 4.24208 8.53616 4.05404C9.25207 3.73677 10.0656 3.57812 10.9768 3.57812C11.9042 3.57812 12.7137 3.73677 13.4052 4.05404C14.1007 4.37133 14.6417 4.81267 15.0282 5.37808C15.1695 5.5849 15.2858 5.80371 15.3771 6.03448C15.6478 6.71883 15.023 7.34275 14.2871 7.34275C13.7126 7.34275 13.2527 6.91308 12.8182 6.50717C12.7406 6.4346 12.6637 6.36281 12.5872 6.29437ZM8.80462 7.648C8.91368 7.60535 9.03045 7.6699 9.09141 7.76985C9.19716 7.93663 9.34155 8.08104 9.52459 8.20306C9.70766 8.32102 9.91918 8.42475 10.1592 8.51425C10.3992 8.59967 10.6554 8.67287 10.9279 8.7339L12.0506 9.00235C12.5957 9.1244 13.096 9.2871 13.5516 9.49048C14.0072 9.69387 14.4017 9.94402 14.7353 10.241C15.0688 10.5379 15.3271 10.8877 15.5102 11.2904C15.6973 11.6931 15.7929 12.1548 15.7969 12.6755C15.7929 13.4402 15.5976 14.1032 15.2112 14.6646C14.8288 15.2218 14.2756 15.655 13.5516 15.9642C12.8316 16.2692 11.9632 16.4218 10.9463 16.4218C9.93747 16.4218 9.05887 16.2672 8.31041 15.9581C7.56603 15.6489 6.98434 15.1913 6.56539 14.5852C6.37201 14.3009 6.22151 13.9852 6.11384 13.6381C5.89668 12.938 6.51564 12.3216 7.24859 12.3216H7.34364C7.97716 12.3216 8.44774 12.8651 8.82903 13.371C9.04461 13.6476 9.33139 13.8571 9.68934 13.9995C10.0514 14.1378 10.4602 14.2069 10.9157 14.2069C11.3632 14.2069 11.7517 14.1419 12.0811 14.0117C12.4147 13.8815 12.673 13.7005 12.856 13.4687C13.0391 13.2368 13.1306 12.9704 13.1306 12.6694C13.1306 12.3887 13.0472 12.1528 12.8804 11.9616C12.7177 11.7704 12.4777 11.6077 12.1604 11.4735C11.8472 11.3392 11.4628 11.2172 11.0073 11.1074L9.64664 10.7657C8.75409 10.5486 8.02066 10.2278 7.44634 9.80344C7.29109 9.68871 7.2338 9.48675 7.28832 9.30156C7.40859 8.89279 7.62951 8.52071 7.9308 8.21937C8.18005 7.97008 8.47776 7.77581 8.80462 7.648ZM7.18782 5.92431L7.06824 5.51804C7.06309 5.5004 7.05236 5.4849 7.03768 5.47387C7.02297 5.46285 7.00509 5.4569 6.98672 5.4569C6.96834 5.4569 6.95047 5.46285 6.93576 5.47387C6.92105 5.4849 6.91032 5.5004 6.90518 5.51804L6.78578 5.92431C6.70555 6.19681 6.55824 6.44485 6.35734 6.64571C6.15647 6.84656 5.90841 6.99381 5.63586 7.07402L5.22957 7.19358C5.14822 7.21771 5.14822 7.33285 5.22957 7.35665L5.63586 7.47621C5.90836 7.55642 6.15639 7.70371 6.35726 7.90456C6.55811 8.1054 6.70539 8.35342 6.78561 8.62592L6.90518 9.03235C6.92914 9.11354 7.0443 9.11354 7.06824 9.03235L7.18782 8.62608C7.26801 8.35356 7.41528 8.1055 7.61616 7.90462C7.81701 7.70375 8.06505 7.55644 8.33757 7.47621L8.74403 7.35665C8.82522 7.33269 8.82522 7.21754 8.74403 7.19375L8.33774 7.07419C8.06518 6.99398 7.81712 6.84669 7.61622 6.64579C7.41532 6.44492 7.26803 6.19685 7.18782 5.92431ZM5.73847 8.32398L5.77434 8.44585C5.79841 8.52763 5.84259 8.60204 5.90286 8.66231C5.96311 8.72256 6.03755 8.76675 6.1193 8.79081L6.2412 8.82669C6.26555 8.83383 6.26555 8.86837 6.2412 8.87556L6.11926 8.91144C6.03751 8.9355 5.96309 8.97969 5.90282 9.03996C5.84257 9.10023 5.79839 9.17465 5.77434 9.2564L5.73847 9.37827C5.73128 9.40263 5.69674 9.40263 5.68955 9.37827L5.65368 9.25633C5.62961 9.1746 5.58543 9.10019 5.52516 9.03994C5.46491 8.97967 5.39049 8.9355 5.30874 8.91144L5.18686 8.87556C5.16245 8.86842 5.16245 8.83388 5.18686 8.82665L5.30874 8.79077C5.39051 8.76671 5.46493 8.72254 5.5252 8.66227C5.58547 8.60202 5.62966 8.5276 5.65372 8.44585L5.68955 8.32398C5.69109 8.31869 5.6943 8.31404 5.69872 8.31073C5.70314 8.30742 5.70849 8.30562 5.71401 8.30562C5.71951 8.30562 5.72489 8.30742 5.72928 8.31073C5.7337 8.31404 5.73693 8.31869 5.73847 8.32398ZM5.50482 5.00817L5.44903 4.81858C5.44661 4.81035 5.44161 4.80313 5.43476 4.79798C5.42789 4.79283 5.41955 4.79004 5.41097 4.79004C5.40241 4.79004 5.39405 4.79283 5.3872 4.79798C5.38034 4.80313 5.37532 4.81035 5.37293 4.81858L5.3172 5.00817C5.27976 5.13535 5.21103 5.25108 5.11728 5.34483C5.02353 5.43856 4.90776 5.50727 4.78057 5.54471L4.59097 5.6005C4.55301 5.61175 4.55301 5.6655 4.59097 5.6766L4.78057 5.7324C4.90774 5.76983 5.02349 5.83856 5.11722 5.93229C5.21097 6.02602 5.2797 6.14177 5.31714 6.26892L5.37293 6.4586C5.38411 6.49648 5.43784 6.49648 5.44903 6.4586L5.50482 6.269C5.54224 6.14183 5.61097 6.02606 5.70472 5.93231C5.79845 5.83858 5.9142 5.76983 6.04136 5.7324L6.23105 5.6766C6.26895 5.66542 6.26895 5.61169 6.23105 5.60058L6.04145 5.54477C5.91426 5.50735 5.79849 5.43862 5.70474 5.34487C5.61099 5.25112 5.54226 5.13535 5.50482 5.00817Z",fill:"url(#paint1_linear_9150_48086)"})),React.createElement("defs",null,React.createElement("linearGradient",{id:"paint0_linear_9150_48086",x1:"1.80248",y1:"19.7653",x2:"8.31504",y2:"-2.89315",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#C639FF"}),React.createElement("stop",{offset:"1",stopColor:"#3662FF"})),React.createElement("linearGradient",{id:"paint1_linear_9150_48086",x1:"5.29414",y1:"16.271",x2:"9.96601",y2:"2.05327",gradientUnits:"userSpaceOnUse"},React.createElement("stop",{stopColor:"#C639FF"}),React.createElement("stop",{offset:"1",stopColor:"#3662FF"})),React.createElement("clipPath",{id:"clip0_9150_48086"},React.createElement("rect",{width:"20",height:"20",fill:"white",transform:"translate(0.5)"})))),W9=e=>React.createElement("svg",y9({width:"24",height:"24",viewBox:"0 0 21 20",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M13.6094 9.93105L19.3338 6.60156V13.2606L13.6094 9.93105Z",fill:"#3A30E5"}),React.createElement("path",{d:"M13.6094 3.32812L19.3338 6.65763L13.6094 9.98711V3.32812Z",fill:"#3058E5"}),React.createElement("path",{d:"M13.615 3.32812V9.9287L7.89062 6.59922L13.615 3.32812Z",fill:"#4067EE"}),React.createElement("path",{d:"M13.6697 3.32948L7.94531 6.65899V0L13.6697 3.32948Z",fill:"#476EF9"}),React.createElement("path",{d:"M7.88845 6.66016V13.3191L2.16406 9.98964L7.88845 6.66016Z",fill:"#624AF6"}),React.createElement("path",{d:"M7.88845 0V6.65899L2.16406 3.32948L7.88845 0Z",fill:"#4067EE"}),React.createElement("path",{d:"M7.88845 13.2578V19.9168L2.16406 16.5873L7.88845 13.2578Z",fill:"#7C3AED"}),React.createElement("path",{d:"M13.6094 9.92969L19.3338 13.2592L13.6094 16.5887V9.92969Z",fill:"#4F46E5"}),React.createElement("path",{d:"M2.16406 9.92969L7.88845 13.2592L2.16406 16.5887V9.92969Z",fill:"#814AF7"}),React.createElement("path",{d:"M2.16406 3.32812L7.88845 6.65763L2.16406 9.98711V3.32812Z",fill:"#3058E5"}),React.createElement("path",{d:"M13.615 9.92969V16.5887L7.89062 13.2592L13.615 9.92969Z",fill:"#624AF6"}),React.createElement("path",{d:"M13.6094 9.93105L19.3338 6.60156V13.2606L13.6094 9.93105Z",fill:"#3A30E5"}),React.createElement("path",{d:"M13.6094 3.32812L19.3338 6.65763L13.6094 9.98711V3.32812Z",fill:"#3058E5"}),React.createElement("path",{d:"M13.615 3.32812V9.9287L7.89062 6.59922L13.615 3.32812Z",fill:"#4067EE"}),React.createElement("path",{d:"M13.6697 3.32948L7.94531 6.65899V0L13.6697 3.32948Z",fill:"#476EF9"}),React.createElement("path",{d:"M7.88845 6.66016V13.3191L2.16406 9.98964L7.88845 6.66016Z",fill:"#624AF6"}),React.createElement("path",{d:"M7.88845 0V6.65899L2.16406 3.32948L7.88845 0Z",fill:"#4067EE"}),React.createElement("path",{d:"M7.88845 13.2578V19.9168L2.16406 16.5873L7.88845 13.2578Z",fill:"#7C3AED"}),React.createElement("path",{d:"M13.6094 9.92969L19.3338 13.2592L13.6094 16.5887V9.92969Z",fill:"#4F46E5"}),React.createElement("path",{d:"M2.16406 9.92969L7.88845 13.2592L2.16406 16.5887V9.92969Z",fill:"#814AF7"}),React.createElement("path",{d:"M2.16406 3.32812L7.88845 6.65763L2.16406 9.98711V3.32812Z",fill:"#3058E5"}),React.createElement("path",{d:"M13.615 9.92969V16.5887L7.89062 13.2592L13.615 9.92969Z",fill:"#624AF6"}),React.createElement("path",{d:"M13.6094 9.93105L19.3338 6.60156V13.2606L13.6094 9.93105Z",fill:"#3A30E5"}),React.createElement("path",{d:"M13.6094 3.32812L19.3338 6.65763L13.6094 9.98711V3.32812Z",fill:"#3058E5"}),React.createElement("path",{d:"M13.615 3.32812V9.9287L7.89062 6.59922L13.615 3.32812Z",fill:"#4067EE"}),React.createElement("path",{d:"M13.6697 3.32948L7.94531 6.65899V0L13.6697 3.32948Z",fill:"#476EF9"}),React.createElement("path",{d:"M7.88845 6.66016V13.3191L2.16406 9.98964L7.88845 6.66016Z",fill:"#624AF6"}),React.createElement("path",{d:"M7.88845 0V6.65899L2.16406 3.32948L7.88845 0Z",fill:"#4067EE"}),React.createElement("path",{d:"M7.88845 13.2578V19.9168L2.16406 16.5873L7.88845 13.2578Z",fill:"#7C3AED"}),React.createElement("path",{d:"M13.6094 9.92969L19.3338 13.2592L13.6094 16.5887V9.92969Z",fill:"#4F46E5"}),React.createElement("path",{d:"M2.16406 9.92969L7.88845 13.2592L2.16406 16.5887V9.92969Z",fill:"#814AF7"}),React.createElement("path",{d:"M2.16406 3.32812L7.88845 6.65763L2.16406 9.98711V3.32812Z",fill:"#3058E5"}),React.createElement("path",{d:"M13.615 9.92969V16.5887L7.89062 13.2592L13.615 9.92969Z",fill:"#624AF6"})),U9=e=>React.createElement("svg",y9({width:"128",height:"128",viewBox:"0 0 128 128",fill:"none",xmlns:"http://www.w3.org/2000/svg"},e),React.createElement("path",{d:"M63.7335 29.385C62.7029 29.385 13.5889 65.0722 13.5889 65.0722L63.7629 96.6371L113.937 65.0722C113.907 65.0722 64.764 29.385 63.7335 29.385Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M63.4084 28.9987C63.1434 29.0281 62.8784 29.1459 62.6723 29.2931C62.3189 29.4992 61.9656 29.7348 61.5828 29.9703C60.3167 30.8242 59.0505 31.6781 57.8139 32.5615C53.7799 35.3587 49.7754 38.2149 45.8004 41.071C41.0008 44.4867 36.2013 47.9317 31.4313 51.4062C27.309 54.3801 23.1573 57.3835 19.035 60.3574C17.0327 61.8002 15.0305 63.2136 13.0577 64.6858L12.9693 64.7447C12.8516 64.8036 12.8221 64.9803 12.881 65.098C12.9105 65.1569 12.9399 65.1864 12.9988 65.2158L17.975 68.3664L29.959 75.9043L44.4459 85.0322L56.96 92.9234C58.9917 94.1896 61.0233 95.4851 63.0256 96.7513L63.1139 96.8102C63.4084 96.9868 63.9384 97.1635 64.2623 96.9574L69.2679 93.8068L81.252 86.2689L95.7683 77.141L108.282 69.2792C110.314 68.0131 112.375 66.7764 114.348 65.4514L114.436 65.3925C114.642 65.2747 114.584 65.0686 114.407 64.9508L109.46 61.3586C105.485 58.5024 101.539 55.6168 97.5644 52.7607C92.7649 49.3156 87.9654 45.8706 83.1659 42.4255C79.0142 39.4516 74.833 36.4776 70.6224 33.5332C69.2385 32.5615 67.8251 31.5898 66.4118 30.6476C65.7051 30.1176 64.969 29.6464 64.2034 29.2342C63.9973 29.1164 63.7617 29.0575 63.5262 29.0575C63.32 29.0575 62.8784 29.087 62.9373 29.3814C62.9961 29.6759 63.5556 29.7937 63.7912 29.7937C63.6145 29.7937 63.4673 29.7642 63.32 29.6759C63.3495 29.7053 63.4084 29.7053 63.4378 29.7348L63.585 29.8231L63.6734 29.882C63.585 29.8231 63.8206 29.9703 63.6734 29.882C64.0562 30.1176 64.4389 30.3826 64.8217 30.6476C66.1173 31.5015 67.3834 32.3848 68.679 33.2976C72.713 36.1243 76.7175 38.9805 80.7514 41.8366C85.5215 45.2522 90.2915 48.6678 95.0322 52.0834C99.125 55.0279 103.218 57.9724 107.311 60.9463L111.315 63.8614L112.552 64.7742C112.758 64.9508 112.964 65.098 113.2 65.2453C113.229 65.2747 113.259 65.2747 113.288 65.3042L113.259 64.8625L108.253 68.0131L96.2688 75.551L81.7525 84.6789L69.2973 92.4523L65.2045 95.0435C64.5567 95.4557 63.85 95.8385 63.2317 96.2802L63.1434 96.339L64.2917 96.4863L59.3155 93.3357L47.3315 85.7978L32.8446 76.6699L20.3306 68.7787L16.2083 66.1875L14.9127 65.3631C14.7066 65.1864 14.471 65.0686 14.2355 64.9508C14.206 64.9214 14.1766 64.9214 14.1471 64.8919L14.1766 65.3336L19.0644 61.8002C22.9806 58.9735 26.8968 56.1174 30.8129 53.2907C35.583 49.8456 40.3531 46.43 45.1231 42.985C49.2748 40.011 53.456 37.0371 57.6372 34.0926C59.7572 32.5909 61.8772 31.0304 64.1151 29.7053C64.3212 29.5876 64.0856 29.7053 63.9973 29.7053C64.2623 29.7053 64.5273 29.5287 64.3506 29.2637C64.1739 28.9987 63.7028 28.9987 63.4084 28.9987Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M54.8428 80.7632C54.8428 80.7632 69.4474 59.6806 77.9864 64.7746C78.6342 65.1574 79.1937 65.6579 79.6648 66.2468L79.6353 66.0113C79.6353 66.0113 94.9172 88.9783 92.0905 100.521C89.5877 110.709 80.4304 113.3 74.9831 95.3384C68.5052 92.9239 57.6695 85.386 54.8428 80.7632Z",fill:"white"}),React.createElement("path",{d:"M55.43 81.1767L55.5478 81.0295L55.6067 80.9412L55.7833 80.6762C56.1661 80.1462 56.5783 79.6162 56.9611 79.1156C58.2567 77.4078 59.6406 75.7589 61.054 74.1689C62.7912 72.2255 64.6462 70.3999 66.6485 68.7216C68.4741 67.2199 70.4763 65.8065 72.7436 65.041C73.6564 64.7171 74.628 64.5698 75.5997 64.5993C75.6292 64.5993 75.6292 64.5993 75.6586 64.5993L75.8058 64.6287C75.9236 64.6287 76.0708 64.6582 76.1886 64.6876C76.4242 64.7171 76.6597 64.7759 76.8659 64.8643C76.7481 64.8348 77.0131 64.9232 77.072 64.9232C77.1897 64.9821 77.3075 65.0115 77.4253 65.0704C77.5431 65.1293 77.6314 65.1587 77.7198 65.2176C77.8081 65.2765 77.6609 65.1587 77.8081 65.2765C77.9553 65.3943 78.0436 65.4237 78.1614 65.5121C78.5737 65.8065 78.9564 66.1893 79.2803 66.5721C79.5748 66.9254 80.3698 66.9843 80.2815 66.3365L80.252 66.101L79.1331 66.1893C79.7514 67.1021 80.3403 68.0738 80.8998 69.016C82.3132 71.3422 83.6382 73.6977 84.9043 76.1122C86.4943 79.1156 87.8782 82.2073 89.1149 85.3579C90.2927 88.4496 91.2938 91.6002 91.6472 94.898C91.8238 96.2819 91.8238 97.6659 91.6472 99.0498C91.4411 100.404 91.0583 101.759 90.4694 103.025C89.9983 104.144 89.3505 105.145 88.5555 106.028C87.9077 106.764 87.0832 107.324 86.141 107.648C86.0232 107.677 85.9054 107.707 85.7876 107.736C85.7288 107.765 85.8171 107.736 85.8171 107.736L85.7288 107.765L85.5521 107.795C85.3165 107.824 85.081 107.854 84.8454 107.854H84.6687H84.5804H84.6099C84.4921 107.854 84.3449 107.824 84.2271 107.795C84.1093 107.765 83.9915 107.765 83.9032 107.736L83.7265 107.707L83.6382 107.677C83.5204 107.648 83.6971 107.707 83.6382 107.677C83.3732 107.589 83.1376 107.5 82.9021 107.383L82.7254 107.294L82.6076 107.235L82.4898 107.177L82.2543 107.029C81.9893 106.853 81.7537 106.676 81.5181 106.47C81.3709 106.352 81.5476 106.499 81.4592 106.411L81.2531 106.234C81.1354 106.117 81.0176 105.999 80.8704 105.881C80.6053 105.616 80.3698 105.322 80.1342 105.057C80.1342 105.057 80.0165 104.909 80.0753 104.998L80.0459 104.939C79.987 104.85 79.9281 104.762 79.8692 104.674C79.7514 104.497 79.6337 104.35 79.5159 104.173C78.9859 103.408 78.5148 102.583 78.0731 101.759C77.602 100.816 77.1603 99.8153 76.7775 98.8436C76.542 98.2547 76.3358 97.6953 76.1297 97.1064C76.0414 96.812 75.9236 96.5175 75.8353 96.2525C75.747 95.8992 75.6292 95.5164 75.4819 95.1925C75.2169 94.7803 74.5986 94.633 74.1569 94.4564C73.7153 94.2797 73.3619 94.1325 72.9791 93.9264C72.1252 93.5436 71.3008 93.1019 70.4763 92.6602C68.6802 91.6885 66.9429 90.5991 65.2351 89.4507C62.0845 87.3307 58.9339 84.9751 56.4311 82.0895C56.3133 81.9423 56.1956 81.7951 56.0778 81.6479C56.0483 81.6184 56.0483 81.589 56.0189 81.5595C55.9306 81.4712 56.0778 81.6479 56.0189 81.5595L55.8717 81.3534C55.6656 81.0884 55.4889 80.8234 55.3122 80.5584C55.1355 80.2934 54.7528 80.0284 54.4289 80.1462C54.105 80.2639 54.1639 80.7056 54.3111 80.9706C55.0472 82.0895 55.9011 83.1495 56.8728 84.0623C58.1095 85.2696 59.4051 86.4179 60.7595 87.4779C63.6746 89.8041 66.7957 91.8652 70.0641 93.6614C71.6247 94.5153 73.2147 95.2808 74.893 95.8992L74.363 95.3692C75.3936 98.6964 76.6892 102.083 78.7503 104.909C80.0459 106.676 81.6948 108.325 83.8443 108.943C85.4638 109.385 87.201 109.032 88.5555 108.001C90.116 106.853 91.1761 105.086 91.8827 103.349C92.7366 101.229 93.1489 98.9614 93.0311 96.6647C92.9133 94.0736 92.3244 91.5119 91.5588 89.0385C89.9688 83.7973 87.5838 78.7917 84.9632 73.9627C83.4615 71.2244 81.9304 68.486 80.1931 65.8949L80.1048 65.7771C79.9576 65.5121 79.6631 65.3354 79.3687 65.3354C79.1331 65.3648 78.9564 65.571 78.9859 65.8065C78.9859 65.836 78.9859 65.836 78.9859 65.8654L79.0153 66.101L80.0165 65.8654C78.3675 63.8337 75.6881 62.9209 73.1558 63.5098C70.7708 64.0398 68.6507 65.3354 66.7368 66.7782C64.6168 68.4271 62.644 70.2527 60.8184 72.2255C59.2284 73.9039 57.7561 75.6705 56.3428 77.4961C55.8717 78.085 55.43 78.7034 54.9883 79.2923C54.7233 79.6162 54.4878 79.94 54.2816 80.2934C54.2816 80.3228 54.2522 80.3228 54.2522 80.3228C54.0461 80.6173 54.37 81.059 54.6055 81.2356C54.8117 81.4417 55.165 81.4417 55.3711 81.2062C55.4006 81.2356 55.4006 81.2062 55.43 81.1767Z",fill:"#082F49"}),React.createElement("path",{d:"M86.669 59.2998C89.5252 48.9941 83.2828 45.1368 78.66 44.0768C74.0372 43.0168 70.651 44.3418 69.4732 46.1674C68.5899 47.5219 70.7982 56.6792 70.7982 56.6792L77.8061 65.1593C77.7767 65.1299 84.4901 67.1616 86.669 59.2998Z",fill:"#082F49"}),React.createElement("path",{d:"M65.6123 60.3857C63.2567 56.5873 69.4402 47.9305 69.4402 47.9305C71.2069 47.96 74.328 46.9883 74.328 46.9883C72.3552 51.935 78.097 54.6439 78.097 54.6439C79.9225 52.1411 82.9554 53.8195 82.1898 56.499C81.4242 59.1785 78.7742 58.9134 78.7742 58.9134C78.7742 58.9134 78.7153 65.8919 78.2147 66.9224C78.2147 66.9224 73.1502 69.0719 71.2069 64.5669C71.2069 64.5963 67.2024 62.9474 65.6123 60.3857Z",fill:"white"}),React.createElement("path",{d:"M66.2325 60.0352C65.8203 59.3285 65.7319 58.3863 65.8203 57.5324C65.9381 56.5018 66.2031 55.4712 66.5858 54.529C67.322 52.674 68.2348 50.9073 69.3242 49.2584C69.5598 48.905 69.7953 48.5222 70.0603 48.1689L69.2359 48.5222C71.0026 48.5517 72.8282 48.0511 74.5065 47.5211L73.6526 46.9322C72.9754 48.6106 73.1226 50.5245 74.0943 52.0556C74.801 53.1451 75.7726 54.0579 76.8915 54.7351C77.1565 54.9118 77.451 55.059 77.7454 55.2062C78.0988 55.324 78.4816 55.2062 78.7171 54.9118C78.9527 54.5879 79.2471 54.3229 79.6005 54.1462C79.836 54.0579 80.0716 54.0284 80.3366 54.0579C80.6016 54.1168 80.8666 54.2345 81.0433 54.4406C81.2494 54.6468 81.3966 54.8823 81.4849 55.1768C81.691 55.9423 81.5438 56.7962 81.0727 57.444C80.9844 57.5618 80.896 57.6796 80.7783 57.7679L80.5721 57.9446C80.5427 57.974 80.4838 58.0329 80.4249 58.0329C80.366 58.0624 80.2777 58.1213 80.2188 58.1507C80.1599 58.1801 80.0421 58.239 80.1599 58.1801C80.0127 58.239 79.8655 58.2979 79.7182 58.3274C79.6594 58.3568 79.5121 58.3568 79.6594 58.3568L79.4532 58.3863C79.3355 58.3863 79.2177 58.4157 79.0999 58.4157C78.8643 58.4451 79.2177 58.4157 79.041 58.4157H78.9527C78.5993 58.3863 78.0399 58.6218 78.0104 59.0635C77.981 61.2424 77.9516 63.4508 77.716 65.6002C77.6866 65.8947 77.6571 66.1891 77.5982 66.4836C77.5982 66.5425 77.5688 66.6014 77.5688 66.6603C77.5982 66.5425 77.5688 66.6603 77.5688 66.6897C77.5393 66.778 77.5099 66.8369 77.4804 66.9253L78.0104 66.4836C77.8927 66.5425 77.7454 66.5719 77.6277 66.6308C77.5099 66.6897 77.3627 66.7192 77.2154 66.7486L76.9799 66.8075C76.7738 66.8369 76.9504 66.8075 76.9799 66.8075L76.8327 66.8369C76.6265 66.8664 76.4204 66.8958 76.2143 66.9253C76.0965 66.9253 75.9787 66.9547 75.8904 66.9547H75.7432C75.6549 66.9547 75.6549 66.9547 75.7432 66.9547H75.6254C75.1543 66.9547 74.6832 66.8664 74.2415 66.7192C73.7409 66.5425 73.2698 66.248 72.887 65.8652C72.6809 65.6297 72.4748 65.3941 72.2981 65.1291C72.092 64.8052 71.9742 64.2752 71.5915 64.128C70.9731 63.863 70.3548 63.5391 69.7364 63.1858C68.382 62.3613 67.0864 61.3602 66.2325 60.0352C65.8497 59.4757 64.5247 60.0941 64.9664 60.7713C65.8203 62.1258 67.1453 63.1269 68.4703 63.9219C69.2359 64.393 70.0014 64.7758 70.8259 65.1291L70.502 64.8347C71.2087 66.4247 72.4454 67.5436 74.1532 67.9264C75.3604 68.1325 76.5677 68.0736 77.7454 67.7203C77.9516 67.6614 78.1577 67.6025 78.3638 67.5142C78.9821 67.2492 79.041 66.6308 79.1293 66.0714C79.306 64.7169 79.3944 63.333 79.4238 61.9491C79.4532 60.948 79.4827 59.9174 79.4827 58.9163L78.5405 59.5641C79.9832 59.6818 81.3966 59.034 82.2505 57.8857C82.8688 57.0024 83.2222 55.7951 82.8688 54.7351C82.545 53.8223 81.7794 53.1451 80.8077 52.9684C79.4827 52.7328 78.246 53.4984 77.4804 54.529L78.4816 54.2051C78.3932 54.1756 78.6288 54.2934 78.5699 54.264C78.5405 54.2345 78.4816 54.2345 78.4521 54.2051C78.3049 54.1462 78.1871 54.0579 78.0693 53.9695C77.6277 53.7045 77.2154 53.4101 76.8327 53.0862C75.861 52.2912 74.9776 51.1428 74.7126 49.8178C74.536 48.905 74.6537 47.9628 75.0071 47.1089C75.2132 46.5789 74.536 46.4022 74.1532 46.52C72.887 46.9617 71.562 47.2561 70.237 47.4033C69.7364 47.4622 69.177 47.3444 68.8236 47.7861C68.7942 47.8156 68.7648 47.8744 68.7353 47.9039C68.5586 48.1689 68.382 48.4339 68.1759 48.7283C66.6742 51.0545 65.2608 53.6162 64.613 56.3251C64.2597 57.7974 64.1419 59.4463 64.9369 60.8007C65.3492 61.3307 66.6447 60.7124 66.2325 60.0352Z",fill:"#082F49"}),React.createElement("path",{d:"M74.8959 57.941C74.8959 58.0294 74.8959 58.1177 74.8959 58.2355V58.1177C74.8959 58.5005 74.837 58.9127 74.6898 59.2661L74.7193 59.1483C74.6898 59.2661 74.6309 59.3544 74.572 59.4427C74.572 59.4722 74.5426 59.4722 74.5426 59.5016C74.4837 59.5899 74.6309 59.4133 74.5426 59.4722C74.5131 59.5016 74.4837 59.5311 74.4248 59.5899L74.3954 59.6194C74.3365 59.6488 74.5131 59.5605 74.4543 59.5899C74.4248 59.5899 74.3954 59.6194 74.3954 59.6194L74.3659 59.6488C74.307 59.6783 74.4248 59.6194 74.4248 59.6194C74.4248 59.6194 74.3659 59.6488 74.3365 59.6488H74.307C74.2187 59.6783 74.4248 59.6488 74.3954 59.6488H74.2481C74.1598 59.6488 74.307 59.6488 74.3365 59.6488C74.3659 59.6488 74.2776 59.6488 74.2187 59.6194C74.1893 59.6194 74.1304 59.5899 74.1009 59.5899C74.0126 59.5605 74.2187 59.6488 74.1598 59.6194L74.1009 59.5899C74.0126 59.5605 73.8948 59.5016 73.8065 59.4427C73.5709 59.3249 73.247 59.3838 73.0703 59.5899C72.9231 59.855 73.1292 60.0611 73.3354 60.1788C73.7476 60.4144 74.2187 60.5027 74.6604 60.4438C75.0137 60.385 75.3082 60.1788 75.5143 59.8844C75.7793 59.4427 75.9265 58.9422 75.9265 58.4122C75.9265 58.2649 75.9265 58.0883 75.9265 57.941C75.8971 57.8233 75.8382 57.7055 75.7204 57.6466C75.6026 57.5583 75.4554 57.5288 75.3082 57.5288C75.0432 57.5288 74.8076 57.676 74.837 57.941H74.8959Z",fill:"#082F49"}),React.createElement("path",{d:"M70.0948 53.557C68.9759 54.087 67.7981 54.4698 66.5614 54.6759C62.4391 55.412 61.968 56.8548 63.2635 57.6498C64.5591 58.4449 70.1536 57.7676 70.1536 57.7676",fill:"white"}),React.createElement("path",{d:"M69.4751 53.1707C68.2384 53.848 66.825 54.0835 65.4411 54.378C64.5872 54.5252 63.7628 54.7902 62.9677 55.2024C62.585 55.4085 62.1433 55.703 61.9961 56.1447C61.6722 57.1458 63.1444 57.9113 63.8805 58.1175C65.1172 58.5002 66.5011 58.4119 67.7672 58.353C68.7684 58.2941 69.7695 58.2352 70.7412 58.1175C70.9767 58.088 70.4467 57.6758 70.4173 57.6463C70.1523 57.4402 69.8578 57.3519 69.5339 57.3519H69.4456L68.9745 57.4108C68.4739 57.4697 67.9439 57.4991 67.4434 57.5286C66.2656 57.6463 65.0583 57.6463 63.8805 57.5286C63.7628 57.5286 63.645 57.4991 63.5272 57.4697C63.4977 57.4697 63.3505 57.4402 63.4094 57.4402C63.4683 57.4402 63.3211 57.4108 63.2916 57.4108C63.38 57.4402 63.38 57.4402 63.2916 57.4108C63.3211 57.4402 63.5566 57.558 63.4683 57.4991C63.5272 57.558 63.5566 57.558 63.4683 57.4991C63.5566 57.5875 63.4683 57.4991 63.4389 57.4697C63.4094 57.4402 63.4683 57.4991 63.4094 57.4402C63.38 57.4108 63.38 57.3813 63.3505 57.3519C63.3505 57.3519 63.2916 57.2341 63.2916 57.2047C63.2622 57.0869 63.2622 56.9397 63.3211 56.8219C63.4977 56.4391 63.8216 56.1447 64.2339 55.968C64.9405 55.6146 65.6767 55.3791 66.4128 55.2319C67.8556 54.908 69.3573 54.6724 70.6823 53.9952C70.8884 53.8774 70.4173 53.583 70.3584 53.5241C70.1523 53.3474 69.6812 53.0529 69.4751 53.1707Z",fill:"#082F49"}),React.createElement("path",{d:"M72.5617 53.0271C72.5617 53.0271 71.9139 52.9976 71.9434 53.616C71.9728 54.2343 72.7384 54.2343 72.8856 53.6749C72.9739 53.4393 72.8561 53.1449 72.6206 53.0565C72.5911 53.0271 72.5911 53.0271 72.5617 53.0271Z",fill:"#082F49"}),React.createElement("path",{d:"M68.5363 51.787C68.5363 51.787 67.8885 51.7575 67.918 52.3759C67.9474 52.9942 68.713 52.9942 68.8602 52.4348C68.9485 52.1992 68.8308 51.9047 68.5952 51.8164C68.5658 51.787 68.5658 51.787 68.5363 51.787Z",fill:"#082F49"}),React.createElement("path",{d:"M82.458 61.5355C82.6053 62.4778 82.8997 63.3905 83.2825 64.2739C83.7831 65.4517 84.6958 66.7767 86.1681 66.4528C87.2281 66.2173 88.1409 65.4517 88.7887 64.6272C89.2598 64.0383 89.672 63.2433 89.5248 62.4483C89.2598 61.0939 87.7581 60.5933 86.5803 61.1527C84.6075 62.095 84.8431 64.48 85.4909 66.2173C85.9031 67.3067 86.492 68.3078 87.2576 69.1617C87.8465 69.8095 88.5826 70.4868 89.4365 70.7812C91.0854 71.3407 92.8226 69.839 92.646 68.1312C92.5576 67.0417 91.6743 66.2173 90.7026 65.805C89.5837 65.3045 88.2881 65.4517 87.3164 66.2173C86.1387 67.2184 86.4625 68.7201 87.022 69.9862C87.2576 70.5162 87.552 71.0168 87.8465 71.5173C88.082 71.8707 89.3187 71.0757 89.0831 70.7223C88.5826 69.9568 88.1703 69.1323 87.9053 68.249C87.7581 67.7778 87.7287 67.2478 87.8465 66.7473C87.8759 66.6884 87.8759 66.6589 87.9053 66.6C87.9348 66.5411 87.8464 66.6884 87.9348 66.5706L87.9937 66.4528C87.8465 66.6589 88.1115 66.3645 87.9642 66.4823C87.817 66.6 87.9348 66.5117 87.9642 66.4823C88.0526 66.4234 87.8465 66.5412 87.8759 66.5412C87.9053 66.5117 87.9642 66.4823 87.9937 66.4823C87.8465 66.5117 87.9348 66.5117 88.0231 66.4823L88.1703 66.4528H88.2587H88.3765C89.4954 66.4528 90.4965 67.0417 91.0854 67.9839C91.2915 68.3667 91.3798 68.8084 91.3209 69.2206C91.2621 69.5151 91.1443 69.7801 90.9971 70.0451C91.0265 70.0156 90.997 70.0156 91.0265 70.0156C90.9382 70.0745 91.2621 69.8684 91.1148 69.9568C91.1737 69.9273 91.2032 69.9273 91.1443 69.9273C91.0854 69.9273 91.0559 69.9273 90.9971 69.9273C90.3198 69.9273 89.672 69.4856 89.2009 69.0734C88.4942 68.4845 87.9053 67.7484 87.4342 66.9534C86.8748 66.07 86.492 65.0984 86.3153 64.0678C86.1975 63.3906 86.1386 62.4483 86.492 61.9183C86.492 61.8889 86.6098 61.7122 86.5509 61.83C86.5803 61.8005 86.5803 61.7711 86.6098 61.7711C86.6098 61.7711 86.492 61.8594 86.5803 61.8005C86.6687 61.7416 86.5214 61.83 86.5509 61.83C86.4625 61.8889 86.5214 61.8594 86.5509 61.83C86.4037 61.9183 86.492 61.83 86.5509 61.83C86.6687 61.83 86.4625 61.83 86.5803 61.83H86.6687C86.5803 61.83 86.757 61.83 86.6687 61.83C86.7864 61.83 86.8748 61.83 86.9926 61.8594C87.8759 62.0655 88.4059 62.9194 88.2292 63.8028C88.1998 63.9206 88.1703 64.0678 88.082 64.1856C87.9348 64.5095 87.7287 64.8039 87.4637 65.0395C87.3459 65.1572 87.2281 65.2456 87.1103 65.3634C87.1692 65.3045 86.8748 65.5106 86.9926 65.4517C87.1103 65.3928 86.7275 65.5695 86.9042 65.5106C86.8748 65.5106 86.7275 65.5695 86.757 65.5695C86.7864 65.5695 86.6392 65.5989 86.6098 65.5989C86.5803 65.5989 86.5214 65.5989 86.492 65.5989C86.4331 65.5989 86.3448 65.5989 86.2859 65.5695C86.0798 65.5106 85.8736 65.4222 85.6675 65.275C85.2553 64.9217 84.902 64.4506 84.6664 63.95C84.2247 63.0667 83.9303 62.1244 83.7242 61.1527L83.6947 60.9761C83.6653 60.4461 82.3992 61.1233 82.458 61.5355Z",fill:"#082F49"}),React.createElement("path",{d:"M54.1055 79.7328L74.923 89.7735L54.341 96.163L54.1055 79.7328Z",fill:"#082F49"}),React.createElement("path",{d:"M55.9872 72.4L54.3383 96.162L33.0791 85.6502L33.8447 61.4465L55.9872 72.4Z",fill:"#082F49"}),React.createElement("path",{d:"M46.9516 77.7908C46.6866 76.9958 45.9505 76.4364 45.126 76.4364C44.331 76.4069 43.5654 76.878 43.0649 77.4669C42.5054 78.1147 42.0637 78.9686 42.0932 79.8814C42.1521 80.6764 42.5643 81.4125 43.2415 81.8542C43.8893 82.237 44.596 82.502 45.3616 82.5903C45.7443 82.6787 46.1566 82.4726 46.2744 82.0603C46.3921 81.6775 46.1566 81.2653 45.7738 81.1475C45.4499 81.0887 45.1554 81.0298 44.8316 80.9414L44.596 80.8531C44.5666 80.8531 44.331 80.7353 44.4782 80.8236C44.3604 80.7648 44.2132 80.7059 44.0954 80.6175C44.066 80.5881 43.8599 80.4409 44.0071 80.5586C43.9482 80.4998 43.8893 80.4703 43.8304 80.4114C43.801 80.382 43.7127 80.2348 43.801 80.382C43.7421 80.3231 43.7127 80.2347 43.6832 80.1759C43.6538 80.117 43.6538 80.117 43.6832 80.1759C43.6538 80.1464 43.6538 80.0875 43.6538 80.0581C43.6538 79.9992 43.6243 79.9697 43.6243 79.9109C43.6243 79.9697 43.6243 79.9697 43.6243 79.9109C43.6243 79.8225 43.6243 79.7342 43.6243 79.6459C43.6243 79.7636 43.6538 79.4986 43.6538 79.4692C43.7421 79.1158 43.9188 78.8214 44.1249 78.5269C44.0365 78.6153 44.2132 78.4092 44.2427 78.4092C44.2721 78.4092 44.331 78.2914 44.3899 78.2619C44.4488 78.2325 44.6254 78.0853 44.5077 78.1442C44.596 78.0853 44.6549 78.0558 44.7432 77.9969C44.861 77.9086 44.6843 77.9969 44.8316 77.9675C44.861 77.9675 45.1555 77.9086 44.9493 77.9086C45.0377 77.9086 45.126 77.9086 45.1849 77.9086C45.0082 77.9086 45.2438 77.938 45.3027 77.938C45.4793 77.9675 45.2143 77.8792 45.3616 77.938C45.391 77.9675 45.5971 78.1147 45.4793 77.9969C45.5088 78.0264 45.6266 78.2031 45.5677 78.0558C45.5971 78.0853 45.5971 78.1147 45.6266 78.1736C45.5971 78.0853 45.5971 78.0853 45.6266 78.1736C45.7444 78.5564 46.1271 78.7919 46.5394 78.6742C46.8633 78.5564 47.0988 78.1442 46.9516 77.7908Z",fill:"white"}),React.createElement("path",{d:"M55.017 81.3184C55.017 81.554 55.017 81.6718 55.017 81.9662C55.017 82.349 54.9875 82.7023 54.9875 83.0851C54.9286 84.1157 54.8992 85.1463 54.8403 86.1768C54.7225 88.3852 54.5753 90.5936 54.4281 92.8019C54.3692 93.5086 54.3397 94.2447 54.2514 94.9514C54.1925 95.452 55.2525 95.6581 55.3409 95.1869C55.5764 93.5675 55.6059 91.9186 55.7236 90.2697C55.8709 88.0319 55.9886 85.794 56.077 83.5268C56.1064 82.7907 56.1359 82.0545 56.1359 81.3479C56.1359 80.9062 55.0464 80.759 55.017 81.3184Z",fill:"white"}),React.createElement("path",{d:"M67.3528 89.3018C66.9994 89.0662 66.5872 88.8601 66.2044 88.654C65.3505 88.1829 64.4966 87.7118 63.6427 87.2407L58.0187 84.1489L56.7232 83.4423C56.4876 83.3245 56.4287 83.6484 56.4582 83.7956C56.4876 84.0606 56.6643 84.2962 56.8998 84.4139C59.9032 86.0629 62.936 87.7412 65.9394 89.3901C66.4105 89.6551 66.9111 89.8907 67.3528 90.1851C67.5294 90.3029 67.7061 90.2146 67.7061 90.0085C67.7061 89.7435 67.5883 89.4785 67.3528 89.3018Z",fill:"white"}),React.createElement("path",{d:"M63.4061 90.6005L57.5466 87.1554L56.7221 86.6843C56.5454 86.5665 56.2215 86.5665 56.1626 86.8021C56.1038 87.0376 56.3688 87.3026 56.5749 87.391L62.4344 90.836L63.2589 91.3366C63.4355 91.4544 63.7594 91.4544 63.8183 91.2188C63.8772 90.9832 63.5827 90.6888 63.4061 90.6005Z",fill:"white"}),React.createElement("path",{d:"M59.9622 91.8077L57.0472 89.8643L56.6349 89.5993C56.3699 89.4521 56.046 89.5404 55.8694 89.776C55.7221 89.9821 55.7516 90.2766 55.9577 90.4238L55.9871 90.4532L58.9022 92.3966L59.3144 92.6616C59.5794 92.8088 59.9033 92.7205 60.08 92.4849C60.2272 92.2788 60.1978 91.9844 59.9916 91.8371C59.9916 91.8077 59.9622 91.8077 59.9622 91.8077Z",fill:"white"}),React.createElement("path",{d:"M64.6749 87.2974C64.4982 87.3857 64.8221 87.2385 64.6749 87.2974L64.5571 87.3563C64.3216 87.4446 64.086 87.5329 63.8505 87.6507C63.1732 87.9157 62.496 88.1807 61.7893 88.4457C60.3465 89.0052 58.9037 89.5352 57.4315 90.0946L56.4304 90.448C56.3126 90.5069 55.8709 90.6541 55.8415 90.8308C55.812 91.0074 56.1948 90.8308 56.2537 90.8013C58.6976 89.8885 61.171 88.9757 63.6149 88.004C64.086 87.8274 64.5571 87.6507 65.0282 87.4151C65.0871 87.3857 65.4405 87.1796 65.3227 87.1207C65.2049 87.0618 64.7632 87.2679 64.6749 87.3268V87.2974Z",fill:"white"}),React.createElement("path",{d:"M63.7335 96.6328L13.5889 65.0679V123.486H113.907V65.0679L63.7335 96.6328Z",fill:"white"}),React.createElement("path",{d:"M64.3499 96.2176L59.3443 93.067L47.3603 85.5291L32.8734 76.4012L20.3299 68.51L16.2076 65.9188L14.912 65.0944C14.7059 64.9472 14.4704 64.7999 14.2348 64.6822C14.2054 64.6527 14.1759 64.6527 14.1465 64.6233C13.9403 64.5055 12.9098 65.1827 12.9098 65.3888V122.924C12.8803 123.189 12.8803 123.454 12.9098 123.719C12.9098 123.749 12.9098 123.778 12.9098 123.807H12.9392H109.224C110.519 123.807 111.815 123.837 113.111 123.807H113.287C113.523 123.807 114.495 123.277 114.495 123.012V65.5655C114.524 65.3005 114.524 65.0355 114.495 64.7705C114.495 64.7411 114.495 64.7116 114.495 64.6822C114.495 64.6233 113.817 64.9766 113.817 64.9766L108.812 68.1272L96.8276 75.6651L82.3113 84.793L69.7972 92.6842C67.7655 93.9503 65.7339 95.2165 63.7316 96.512L63.6433 96.5709C63.5844 96.6004 63.0249 96.9537 63.0838 97.0421C63.1427 97.1304 63.7316 96.7771 63.761 96.7476L68.7667 93.597L80.7507 86.0591L95.267 76.9312L107.781 69.04C109.813 67.7739 111.874 66.5372 113.847 65.2122L113.935 65.1533L113.258 65.4477V121.54C113.258 122.276 113.199 123.071 113.258 123.807C113.258 123.837 113.258 123.866 113.258 123.896L114.465 123.101H14.5292C14.4409 123.101 14.3231 123.101 14.2348 123.101C14.1465 123.071 14.2054 123.13 14.2054 123.101C14.117 122.924 14.2054 122.394 14.2054 122.188V64.6527L12.9687 65.4183L17.9743 68.5689L29.9583 76.1068L44.4452 85.2347L56.9887 93.1259L61.111 95.717L62.4066 96.5415C62.6127 96.6887 62.8483 96.8359 63.0838 96.9537C63.1133 96.9832 63.1427 96.9832 63.1721 97.0126C63.3194 97.1009 63.7316 96.7771 63.8494 96.7182C63.8494 96.6887 64.4088 96.2765 64.3499 96.2176Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M20.5703 119.192C20.5703 119.192 58.3481 85.0652 64.0309 85.978C69.7138 86.8907 103.693 117.513 103.693 117.513",fill:"white"}),React.createElement("path",{d:"M21.1883 119.515C22.3367 118.485 23.485 117.454 24.6334 116.453C27.4601 113.95 30.3162 111.477 33.1724 109.004C36.7646 105.912 40.4158 102.85 44.0964 99.8463C47.6298 96.9902 51.1926 94.1634 54.8732 91.5134C56.316 90.4828 57.7588 89.4817 59.2899 88.5395C59.9083 88.1567 60.4972 87.8034 61.145 87.4795C61.41 87.3322 61.675 87.185 61.9694 87.0672C62.0872 87.0083 62.2344 86.9495 62.3522 86.8906L62.5289 86.8022L62.6467 86.7433C62.5289 86.7728 62.735 86.7139 62.7644 86.7139L62.9117 86.655C63.0294 86.6256 63.1178 86.5961 63.2356 86.5372C63.3533 86.4783 63.4122 86.4783 63.5006 86.4783C63.53 86.4783 63.5889 86.4783 63.6183 86.4489C63.4417 86.4783 63.6478 86.4195 63.6183 86.4489L63.8539 86.4195C64.0011 86.39 63.7656 86.4195 63.795 86.4195C63.8245 86.4195 63.8833 86.4195 63.9128 86.4195C64.1483 86.4195 63.795 86.39 63.9422 86.4195C64.0306 86.4489 64.1189 86.4783 64.2072 86.5078C64.2956 86.5372 64.3839 86.5667 64.4722 86.5961C64.5606 86.6256 64.2956 86.5078 64.5017 86.5961L64.6784 86.6845C64.9139 86.8022 65.1495 86.8906 65.3556 87.0083C65.915 87.3028 66.4745 87.6267 67.0045 87.98C67.7406 88.4217 68.1823 88.7456 68.9184 89.2756C69.6545 89.8056 70.4201 90.3356 71.1562 90.8951C72.8935 92.1906 74.6013 93.5157 76.3091 94.8701C80.1369 97.9029 83.8764 101.024 87.5865 104.204C90.9137 107.031 94.241 109.916 97.5094 112.802C99.3055 114.392 101.102 116.012 102.868 117.602L103.104 117.808C103.398 118.043 103.811 118.073 104.134 117.925C104.341 117.837 104.429 117.602 104.341 117.395C104.311 117.337 104.252 117.278 104.193 117.219C102.927 116.07 101.661 114.952 100.366 113.833C97.3033 111.124 94.2115 108.444 91.1198 105.765C87.3803 102.555 83.6114 99.3752 79.7836 96.254C76.4857 93.5745 73.1585 90.9245 69.6545 88.4806C68.4767 87.6267 67.2401 86.8611 65.9445 86.1839C65.12 85.7717 64.2367 85.3594 63.2944 85.4772C62.205 85.595 61.1744 86.0956 60.2322 86.5961C58.8777 87.3322 57.5527 88.1272 56.2571 89.0106C52.6649 91.4251 49.2198 94.0457 45.8631 96.7546C42.0353 99.7874 38.2958 102.909 34.5857 106.059C31.4057 108.768 28.2551 111.477 25.1339 114.245C23.485 115.717 21.8066 117.189 20.1577 118.662L19.9222 118.868C19.6572 119.103 19.8633 119.427 20.0988 119.574C20.4816 119.751 20.8939 119.722 21.1883 119.515Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M73.7393 85.0587C73.7393 85.0587 75.1526 108.909 85.2816 109.527C95.4107 110.146 93.114 90.6827 86.3711 78.3453C79.6282 66.0079 78.8921 66.5084 78.8921 66.5084",fill:"white"}),React.createElement("path",{d:"M73.1289 84.8258C73.1878 85.9742 73.335 87.0931 73.4528 88.212C73.7767 90.8326 74.2478 93.4237 74.8662 95.9854C75.5728 98.8416 76.4856 101.698 77.9284 104.289C79.1945 106.556 80.9907 108.794 83.5229 109.736C85.8785 110.619 88.7347 110.237 90.4425 108.293C92.3858 106.114 92.7686 102.875 92.7981 100.078C92.857 96.221 92.1208 92.3342 91.0903 88.6536C90.5308 86.6514 89.8241 84.6786 89.0291 82.7647C88.1458 80.733 87.1741 78.7307 86.0846 76.7874C84.4063 73.7545 82.6985 70.6628 80.6962 67.8361C80.3723 67.3356 79.9896 66.8644 79.5773 66.4522C79.3712 66.2166 79.0768 66.04 78.7529 65.9516C78.6645 65.9222 78.5468 65.9517 78.4584 65.9811C77.8695 66.3639 78.8707 67.4239 79.3712 67.1C79.1946 67.1589 79.0179 67.1294 78.8707 67.0411C79.0179 67.1294 78.8118 66.9822 78.8118 66.9822C78.8412 67.0117 78.8707 67.0411 78.9295 67.0706C78.959 67.1 78.959 67.1 78.9884 67.1294C79.1062 67.2178 78.8412 66.9528 78.959 67.1C79.0768 67.2472 79.2534 67.4533 79.4007 67.63C79.6362 67.9244 79.8423 68.2189 80.0484 68.5133C80.1073 68.6017 80.1662 68.69 80.2251 68.7784L80.284 68.8667C80.284 68.8667 80.1957 68.7489 80.2546 68.8372L80.3723 69.0434C80.5196 69.2789 80.6962 69.5439 80.8435 69.7795C81.7857 71.2517 82.669 72.7829 83.5524 74.314C84.7007 76.3457 85.8785 78.3774 86.9091 80.468C87.763 82.2347 88.4991 84.0602 89.1175 85.9153C90.3836 89.5664 91.208 93.3354 91.5025 97.1926C91.7086 100.108 91.6497 103.347 90.2658 106.026C89.7653 106.998 89.0291 107.822 88.0575 108.382C87.0269 108.912 85.8785 109.118 84.7302 108.971C84.4652 108.941 84.1707 108.882 83.9057 108.823C84.0529 108.853 83.8174 108.794 83.7879 108.794L83.6113 108.735C83.4641 108.676 83.3463 108.647 83.199 108.588L83.0224 108.499L82.9046 108.441C82.9929 108.47 82.7868 108.382 82.7574 108.382C82.7279 108.382 82.6396 108.323 82.5807 108.264C82.4629 108.205 82.3451 108.117 82.2274 108.058C82.1685 108.028 82.1096 107.999 82.0801 107.94L81.9918 107.881C81.9035 107.822 82.139 107.999 81.9918 107.881C81.7563 107.704 81.5501 107.528 81.344 107.322C81.2557 107.233 81.1379 107.145 81.0496 107.027L80.9907 106.968L80.8435 106.792C80.6373 106.556 80.4312 106.321 80.2546 106.085C80.1662 105.967 80.0779 105.849 79.9896 105.702C79.9601 105.643 79.9012 105.584 79.8718 105.526L79.8129 105.408C79.7246 105.29 79.8423 105.437 79.7834 105.378C78.2229 103.052 77.3101 100.49 76.5445 97.7815C76.1617 96.4271 75.8378 95.0726 75.5728 93.6887C75.3078 92.452 75.1312 91.3331 74.9545 90.067C74.7484 88.5653 74.5717 87.0636 74.4539 85.5325C74.4539 85.4736 74.4539 85.3853 74.4539 85.3264C74.395 84.973 74.1595 84.6491 73.8061 84.5314C73.5411 84.443 73.1584 84.4725 73.1878 84.8258H73.1289Z",fill:"#082F49"}),React.createElement("path",{d:"M81.0431 83.6465C81.0431 83.6465 82.7804 73.3408 78.8937 73.4586C78.8937 73.4586 78.4814 70.6319 75.4781 71.633C75.4781 71.633 74.1236 69.8663 72.1802 69.8663C70.2369 69.8663 65.9968 72.8108 66.5563 74.5481C67.1157 76.2853 71.5619 74.7247 71.5619 74.7247C71.1497 75.5786 70.8552 76.462 70.7374 77.4042C70.7374 77.4042 66.7035 76.992 66.5563 78.9354C66.409 80.8787 68.7646 84.3532 70.2958 84.4121C71.8269 84.471 71.8858 83.411 71.8858 83.411C71.8858 83.411 72.2391 84.5593 74.5653 85.6193C76.8914 86.6793 81.0431 83.6465 81.0431 83.6465Z",fill:"white"}),React.createElement("path",{d:"M81.7495 83.8266C81.9556 82.5899 82.0734 81.3238 82.1323 80.0577C82.2206 78.1732 82.2501 75.9648 81.2784 74.2865C80.8073 73.4031 79.865 72.8437 78.8639 72.8437L79.6295 73.462C79.5412 72.8437 79.2761 72.2548 78.8639 71.7837C77.8922 70.6647 76.42 70.6353 75.095 71.0475L76.0961 71.3125C75.2422 70.1936 73.9761 69.4575 72.5922 69.2514C71.0905 69.0453 69.5593 69.8697 68.3815 70.6942C67.2921 71.4303 65.8787 72.5787 65.7904 73.992C65.7021 75.4937 67.4099 75.9648 68.5877 75.9059C69.736 75.847 70.8844 75.6115 71.9738 75.1993L70.9433 74.3159C70.4721 75.1993 70.1777 76.1709 70.0599 77.1426L70.7371 76.7304C70.0305 76.6715 69.2943 76.6715 68.5877 76.7598C67.5865 76.8776 66.3204 77.2604 65.9376 78.3499C65.7904 78.9388 65.8198 79.5571 66.026 80.1166C66.2321 80.8232 66.5265 81.471 66.9093 82.0894C67.5571 83.1788 68.5288 84.4449 69.8243 84.8277C70.9432 85.1811 72.5627 84.6805 72.6216 83.3555L71.2083 83.4438C71.4144 83.8855 71.7088 84.2977 72.0622 84.6216C72.4744 85.0044 72.9161 85.3283 73.4166 85.5933C73.8877 85.8877 74.4177 86.1233 74.9772 86.2411C76.8028 86.5944 78.7167 85.7405 80.2773 84.8572C80.7484 84.5922 81.1901 84.3272 81.6317 84.0033C81.8673 83.7972 81.8673 83.4438 81.6612 83.2377C81.6317 83.2083 81.6023 83.1788 81.5728 83.1494C81.2784 82.9138 80.8662 82.8844 80.5423 83.0905L80.3067 83.2377L80.0417 83.4144L79.8945 83.5027C79.8356 83.5322 79.8945 83.5027 79.9239 83.5027L79.7767 83.591C79.1289 83.9738 78.4517 84.3272 77.745 84.6216C77.0678 84.9161 76.3317 85.0927 75.5955 85.1222C75.4778 85.1222 75.3894 85.1222 75.3011 85.0927C75.2128 85.0633 75.3305 85.0927 75.2128 85.0633C75.0066 85.0338 74.83 84.9455 74.6533 84.8572C74.1822 84.6511 73.7405 84.3566 73.3577 84.0327C73.0927 83.856 72.8866 83.591 72.7099 83.326C72.6805 83.2966 72.651 83.2377 72.6216 83.1788C72.7394 83.3555 72.651 83.2377 72.6216 83.2083L72.5922 83.1199C72.3861 82.4721 71.2083 82.4721 71.1788 83.2083C71.2083 82.9138 71.1788 83.1494 71.1494 83.2377C71.1199 83.326 71.2083 83.1494 71.1199 83.2966L71.061 83.3849C71.061 83.4144 71.1199 83.3555 71.0316 83.4144C70.8844 83.5322 70.7371 83.591 70.5605 83.591C70.5016 83.591 70.2071 83.591 70.2955 83.591C70.3838 83.591 70.001 83.4733 70.1777 83.5616C69.7949 83.3849 69.471 83.1494 69.206 82.8255C68.7938 82.3838 68.4699 81.9127 68.1754 81.4121C67.881 80.9116 67.6454 80.3815 67.4982 79.8515C67.4393 79.6454 67.3804 79.4099 67.3804 79.1743C67.351 78.9976 67.351 78.7915 67.4099 78.6149C67.4099 78.5854 67.4393 78.4971 67.4099 78.6149C67.4393 78.5854 67.4393 78.5265 67.4688 78.4971C67.4982 78.4676 67.5276 78.4087 67.5571 78.3793C67.616 78.3204 67.7043 78.2615 67.7926 78.2026C67.7043 78.2615 67.9399 78.1437 67.9693 78.1143C68.3227 77.9671 68.7054 77.8787 69.0882 77.8198C69.2943 77.7904 69.471 77.761 69.6771 77.761C69.8832 77.761 70.0893 77.761 70.2955 77.761C70.5016 77.761 70.6782 77.761 70.8844 77.7904C71.1199 77.8198 71.5027 77.6432 71.5616 77.3782C71.6499 76.7304 71.7971 76.112 72.0327 75.4937C72.121 75.2581 72.2094 75.052 72.3272 74.8459C72.6805 74.1981 71.7971 73.7859 71.2966 73.9626C71.2377 73.992 71.1788 73.992 71.1199 74.0215C71.061 74.0509 70.8844 74.1098 71.061 74.0509L70.7371 74.1392C70.2366 74.2865 69.736 74.4042 69.2354 74.4631C68.9999 74.4926 68.7643 74.522 68.5582 74.522C68.411 74.522 68.2638 74.522 68.146 74.522H67.8221H67.7043C67.7927 74.522 67.7927 74.522 67.7043 74.522C67.616 74.522 67.3215 74.3748 67.4982 74.4631L67.351 74.3748C67.3804 74.3748 67.4982 74.4337 67.3804 74.3748C67.351 74.3454 67.2332 74.2276 67.351 74.3454C67.3215 74.3159 67.2921 74.257 67.2626 74.2276C67.351 74.3454 67.2626 74.1981 67.2626 74.1687C67.2332 74.0215 67.2626 74.257 67.2626 74.1098C67.2332 73.9331 67.2626 73.727 67.351 73.5503C67.4688 73.3442 67.5865 73.1381 67.7338 72.932C68.1165 72.4609 68.5582 72.0192 69.0588 71.6659C69.9716 70.9592 71.1199 70.3114 72.2094 70.1936C72.0327 70.2231 72.2094 70.1936 72.2388 70.1936C72.386 70.1936 72.5333 70.1936 72.6511 70.2231C72.8277 70.2525 72.9749 70.3114 73.1516 70.3703C73.4755 70.4881 73.77 70.6353 74.035 70.8414C74.3 71.0181 74.5355 71.2242 74.7416 71.4598C74.6239 71.342 74.83 71.5186 74.7416 71.4598L74.83 71.5775L74.8889 71.6659C75.1244 71.9603 75.5366 72.0781 75.89 71.9309C76.1255 71.8425 76.3611 71.8131 76.6261 71.7837C76.7439 71.7837 76.8911 71.7837 77.0089 71.7837C77.1267 71.7837 76.8617 71.7542 77.0678 71.7837L77.215 71.8131C77.4211 71.872 77.1561 71.7837 77.2444 71.8131L77.3917 71.872C77.4211 71.872 77.5389 71.9603 77.48 71.9014C77.4211 71.8425 77.5389 71.9603 77.5389 71.9603C77.5978 72.0192 77.6567 72.0781 77.7156 72.137C77.6567 72.0487 77.7745 72.1959 77.7156 72.137L77.8039 72.2548C77.8333 72.3137 77.8922 72.3726 77.9217 72.4314C77.8922 72.3726 77.9511 72.4903 77.9217 72.4314C77.9511 72.4609 77.9511 72.4903 77.9806 72.5492C78.0395 72.667 78.0984 72.7848 78.1278 72.9026C78.1572 72.9909 78.2161 73.2853 78.1867 73.0498C78.1867 73.0792 78.2161 73.1087 78.2161 73.1676C78.275 73.5503 78.5989 73.8154 78.9817 73.7859C79.07 73.7859 79.1584 73.7859 79.2467 73.7859C79.335 73.7859 79.07 73.727 79.2173 73.7859C79.2467 73.7859 79.3056 73.8153 79.335 73.8153C79.5412 73.8742 79.2761 73.7565 79.4234 73.8448C79.4528 73.8742 79.6589 73.992 79.5706 73.9331C79.4823 73.8742 79.6884 74.0215 79.7178 74.0509C79.865 74.1687 79.6884 73.992 79.7767 74.1098C79.8356 74.1687 79.865 74.2276 79.9239 74.2865C79.9828 74.3454 80.1006 74.5809 80.0123 74.4337C80.1889 74.787 80.3362 75.1404 80.4245 75.5232C80.5128 75.9354 80.6012 76.3182 80.6306 76.7304C80.7189 77.7021 80.7484 78.6738 80.6895 79.6454C80.6601 80.0871 80.6306 80.5288 80.6012 80.9705C80.5717 81.2355 80.5717 81.206 80.5717 81.4121C80.5717 81.6182 80.5423 81.7655 80.5128 81.9716C80.4539 82.3838 80.4245 82.7666 80.3362 83.1788C80.3067 83.5322 80.5423 83.856 80.8956 83.9444C81.1606 84.2977 81.6906 84.2094 81.7495 83.8266Z",fill:"#082F49"}),React.createElement("path",{d:"M70.6221 79.7058C70.6221 79.7058 72.7127 81.5314 71.8293 83.3864L70.6221 79.7058Z",fill:"white"}),React.createElement("path",{d:"M70.0922 80.17L70.1805 80.2583L70.2688 80.3467C70.3277 80.4056 70.1805 80.2583 70.2394 80.3172L70.3277 80.4056C70.5338 80.6411 70.74 80.9061 70.9166 81.2006C71.005 81.3772 71.1227 81.5539 71.1816 81.7306C71.1816 81.76 71.2405 81.9073 71.2111 81.7895C71.2111 81.8189 71.2405 81.8778 71.2405 81.9072C71.27 81.9956 71.2994 82.1134 71.3288 82.2017C71.3583 82.3195 71.3583 82.4078 71.3583 82.5256C71.3583 82.555 71.3583 82.7023 71.3583 82.6434C71.3583 82.5845 71.3583 82.7612 71.3583 82.7612C71.3288 82.8789 71.3288 82.9967 71.2994 83.085C71.27 83.2028 71.3289 82.9967 71.27 83.1439C71.2405 83.2028 71.2111 83.2617 71.1816 83.3501C71.0638 83.5267 71.1227 83.7623 71.2994 83.8801C71.3583 83.9095 71.4466 83.939 71.535 83.939C71.9177 83.939 72.2416 83.7034 72.4183 83.3795C73.125 81.8778 72.2711 80.2289 71.1227 79.1983C70.9755 79.11 70.8283 79.11 70.6811 79.1394C70.5044 79.1689 70.3277 79.2572 70.1805 79.4044C70.0038 79.6106 69.8272 79.9639 70.0922 80.17Z",fill:"#082F49"}),React.createElement("path",{d:"M78.1943 79.4351C78.0176 80.3184 77.5759 81.1134 76.987 81.7907C76.8104 81.9673 76.6042 82.1146 76.3687 82.2323C76.2509 82.2912 76.1331 82.3207 76.0153 82.2912C75.8976 82.2912 76.0153 82.2912 75.8976 82.2912L75.7503 82.2618C75.7798 82.2618 75.7798 82.2618 75.7503 82.2618C75.6031 82.2618 75.8092 82.2912 75.7798 82.2912C75.7503 82.2912 75.7209 82.2618 75.662 82.2323C75.5148 82.0557 75.8976 82.3796 75.662 82.2323C75.6031 82.1734 75.5442 82.1146 75.5148 82.0262C75.4853 81.9379 75.4853 81.9968 75.4853 81.9968C75.4559 81.9379 75.4264 81.9084 75.397 81.8496C75.1909 81.4373 75.0731 80.9957 75.0142 80.554C74.9259 79.9945 74.9259 79.4056 74.9848 78.8462C75.0731 77.6684 75.4264 76.52 76.0153 75.4895C76.3098 74.9595 76.7515 74.5472 77.2815 74.2233C77.3698 74.1644 77.4876 74.1056 77.5759 74.0761C77.7231 74.0172 77.8704 73.9878 78.047 73.9583C77.9587 73.9583 78.1354 73.9289 78.047 73.9583H78.1648L78.4298 73.9289C78.577 73.9289 78.7243 73.9289 78.9009 73.9583C79.1954 73.9878 79.5782 73.87 79.5782 73.5167C79.5782 73.1633 79.107 72.9572 78.8126 72.9278C77.3698 72.7216 75.9565 73.2811 75.0437 74.4C74.2192 75.5189 73.7186 76.8439 73.6009 78.1984C73.4536 79.4056 73.4831 80.7601 74.0131 81.879C74.602 83.1451 76.1037 83.6751 77.3698 83.0862C77.4287 83.0568 77.4876 83.0273 77.517 82.9979C78.6065 82.409 79.2837 80.9956 79.5487 79.8473C79.7548 79.1995 78.3415 78.7873 78.1943 79.4351Z",fill:"#082F49"}),React.createElement("path",{d:"M74.984 71.3087C73.5118 71.7209 72.2162 72.6042 71.3034 73.8704C70.4495 75.0482 69.9784 76.4615 69.949 77.9043C69.9195 78.9938 70.2728 80.1127 71.2445 80.7016C72.3634 81.3199 73.7179 81.2905 74.8074 80.6132C75.0724 80.4366 74.8073 80.2304 74.6012 80.1421C74.2773 79.9949 73.924 79.9949 73.6001 80.1127C73.4529 80.2304 73.2762 80.3188 73.0995 80.3777C73.0112 80.4071 72.8934 80.4366 72.8051 80.466C72.7462 80.466 72.6873 80.466 72.6579 80.4954C72.7462 80.4954 72.5695 80.4954 72.5695 80.4954C72.4223 80.4954 72.5695 80.4954 72.599 80.4954L72.4812 80.466C72.599 80.4954 72.3929 80.4366 72.4223 80.4366C72.3634 80.4071 72.3045 80.3482 72.2456 80.3188C71.4801 79.7004 71.4212 78.5521 71.5095 77.6687C71.6862 75.4604 72.9523 73.4876 74.8662 72.3687C75.2196 72.1626 75.6024 71.9859 76.0146 71.8975C76.309 71.8387 76.309 71.6031 76.0735 71.4559C75.6907 71.2792 75.3079 71.2203 74.984 71.3087Z",fill:"#082F49"}),React.createElement("path",{d:"M85.5507 91.1546C85.0207 90.2418 84.6379 89.2701 84.1962 88.3279C83.6073 87.0323 82.989 85.7073 82.3412 84.4412C82.1645 84.0289 81.929 83.6167 81.6345 83.2339C81.399 82.9689 80.2212 83.8228 80.3979 83.9995C80.6334 84.3234 80.8395 84.6473 80.9868 85.0006C81.2812 85.5895 81.5757 86.149 81.8407 86.7379C82.459 88.0335 83.0479 89.329 83.6662 90.6246C83.8723 91.0368 84.049 91.4785 84.2846 91.8907C84.4612 92.1852 85.7274 91.4196 85.5507 91.1546Z",fill:"#082F49"}),React.createElement("path",{d:"M26.1062 90.8368C25.2817 90.8368 24.3689 91.0135 23.8389 91.6907C23.3384 92.3385 23.3089 93.2513 23.8095 93.9285C24.31 94.5469 25.1934 94.7235 25.9001 94.3997C26.6951 94.0463 27.0779 93.2219 27.3429 92.4268L26.0767 92.103C26.1945 93.4574 27.2545 94.5763 28.609 94.753C30.199 94.9002 30.4935 93.1041 30.464 91.8968C30.4346 90.4246 29.8162 89.129 28.4912 88.3929C25.5467 86.8912 21.9839 88.069 20.4822 90.984C20.2466 91.4257 20.07 91.9263 19.9816 92.3974C19.5105 94.8413 20.6883 97.4914 22.9261 98.6692C24.3984 99.4053 26.1062 99.4642 27.6373 98.8458C29.0212 98.2275 30.199 97.1969 30.994 95.9013C31.1707 95.5774 31.1118 95.1652 30.8174 94.9002C30.5818 94.6941 30.1107 94.6058 29.9046 94.9002C28.7562 96.6669 26.8129 98.1391 24.6045 97.8447C22.6611 97.5797 21.395 95.9602 21.2183 94.0758C21.0711 92.2796 22.0133 90.5424 23.6034 89.7179C24.3984 89.2762 25.2817 89.0701 26.1651 89.0996C27.019 89.129 28.0495 89.3646 28.6384 90.0124C28.9623 90.4246 29.139 90.9252 29.1684 91.4552C29.2273 91.9557 29.1684 92.4857 29.0212 92.9863C28.8151 93.4574 28.344 93.3985 27.9612 93.163C27.6079 92.9274 27.4017 92.5152 27.3723 92.103C27.3134 91.5141 26.3417 91.0724 26.1062 91.7791C25.9884 92.2207 25.7823 92.633 25.4584 92.9568C25.3701 93.0452 24.8695 93.3396 24.7223 93.1335C24.6634 93.0452 24.8695 92.6919 24.9578 92.6035C25.3112 92.2796 25.8706 92.2502 26.3123 92.2207C27.2251 92.2207 26.9012 90.8368 26.1062 90.8368Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M34.8217 91.4239C33.85 91.6595 33.3789 92.69 33.2906 93.6323C33.1728 94.8101 33.7911 96.0468 35.0278 96.3412C36.0878 96.5473 37.1773 96.1645 37.8545 95.3695C38.2667 94.9573 38.414 94.339 38.2667 93.7795C38.0901 93.2495 37.354 92.6017 36.7651 92.8373C36.2939 93.0139 36.1173 93.6028 36.1467 94.0445C36.1762 94.5745 36.4117 95.1045 36.7945 95.4873C37.5895 96.3706 38.8851 96.5473 39.9157 95.9879C40.9168 95.3401 41.6235 94.339 41.859 93.1612C42.0062 92.5723 41.8885 91.9834 41.5646 91.4828C41.2701 91.0117 40.6518 90.4522 40.0334 90.5111C39.3562 90.57 39.3856 91.5711 39.3268 92.0423C39.2679 92.7195 39.3562 93.3967 39.6212 94.0151C40.1218 95.1929 41.3585 96.2529 42.6835 96.1056C43.3902 96.0468 42.5657 94.8984 42.0357 94.9279C40.6223 95.0456 40.4162 93.3967 40.534 92.3367C40.5634 92.16 40.5929 92.0128 40.6223 91.8361L40.6812 91.6595C40.6812 91.6595 40.534 91.6595 40.5634 91.6006C40.5634 91.63 40.6223 91.7772 40.6223 91.8067C40.6518 92.0128 40.6518 92.1895 40.5929 92.3956C40.4162 93.1023 40.0629 93.7501 39.5918 94.3095C39.1795 94.8395 38.5612 95.134 37.884 95.134C37.4128 95.1045 37.1773 94.8395 37.3245 94.339C37.354 94.2212 37.4128 94.1328 37.4717 94.0445L37.5012 94.0151C37.6778 93.8678 37.5306 93.7206 37.0595 93.6323C37.0301 93.7206 37.0006 93.8089 37.0006 93.8973C36.8828 94.1917 36.7062 94.4567 36.4706 94.6628C35.9995 95.0751 35.3811 95.2812 34.7628 95.2517C34.7039 95.2223 34.645 95.2223 34.5861 95.2223C34.4978 95.2223 34.5272 95.1929 34.5567 95.2517C34.4978 95.1634 34.4684 95.0456 34.4389 94.9279C34.38 94.604 34.4095 94.2506 34.4978 93.9267C34.645 93.3084 34.9984 92.7195 35.6461 92.5723C35.97 92.4839 35.7345 91.9834 35.6167 91.8361C35.4989 91.5417 35.175 91.3945 34.8217 91.4239Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M24.6866 32.5297C24.6866 32.5297 18.0026 29.0257 18.4148 28.5841C18.827 28.1424 41.2346 19.9273 41.529 21.9884C41.8235 24.0496 37.8779 36.3575 36.7001 36.4164C35.5223 36.4753 32.2539 35.327 32.2539 35.327C32.2539 35.327 27.1894 41.8637 26.6005 41.687C26.0116 41.5104 24.6866 32.5297 24.6866 32.5297Z",fill:"white"}),React.createElement("path",{d:"M24.7158 32.0332C23.273 31.2677 21.8302 30.4727 20.4463 29.6482C20.0341 29.3832 19.5924 29.1182 19.1802 28.8532C19.0624 28.7943 19.1802 28.8532 19.2096 28.8827L19.0919 28.7943L18.8858 28.6471C18.8563 28.6176 18.7974 28.5588 18.7385 28.5293C18.6207 28.4704 18.8858 28.6765 18.7974 28.5882C18.7091 28.4999 18.7091 28.441 18.8563 28.6471C18.9446 28.8238 18.9446 29.0004 18.8858 29.1771C18.8858 29.1771 18.9152 29.1771 18.9152 29.1477C18.9152 29.1182 18.7974 29.2065 18.8858 29.1771C18.9741 29.1477 19.1508 29.0593 19.298 29.0004C22.5075 27.6165 25.8642 26.5271 29.1915 25.4082C31.282 24.7015 33.4021 24.0537 35.5515 23.4354C37.1121 22.9642 38.7316 22.5815 40.3805 22.3753C40.4099 22.3753 40.4688 22.3753 40.4983 22.3753H40.6749C40.7927 22.3753 40.9105 22.3753 41.0283 22.3753C41.1461 22.3753 41.205 22.4048 41.2933 22.4048C41.3816 22.4048 41.1461 22.3753 41.2638 22.4048C41.2933 22.4048 41.3522 22.4342 41.3816 22.4342C41.2344 22.4048 41.2344 22.3753 41.3227 22.4048C41.2638 22.3753 41.0872 22.2281 41.1166 22.2281C41.0283 22.1103 40.9988 21.9926 40.9399 21.9042C40.8811 21.8159 40.9399 21.8748 40.9399 21.9631C40.9694 21.757 40.9399 21.9631 40.9399 22.022C40.9399 22.0809 40.9399 22.1398 40.9399 22.1987C40.9399 22.3753 40.9105 22.5226 40.8811 22.6992C40.6161 24.7604 39.9683 26.8215 39.3205 28.7943C38.6727 30.8555 37.9955 32.946 36.9943 34.86C36.9354 35.0072 36.8471 35.1544 36.7588 35.3016C36.7293 35.3605 36.6704 35.4194 36.641 35.5077C36.6116 35.5961 36.4938 35.7139 36.5821 35.5961C36.5232 35.6844 36.4349 35.7433 36.376 35.8316C36.3465 35.8611 36.3171 35.8611 36.2877 35.8905C36.3465 35.8316 36.4054 35.8316 36.3171 35.8611C36.2288 35.8905 36.4938 35.8905 36.3466 35.8611C35.8165 35.8022 35.2865 35.7139 34.7565 35.5961C34.1382 35.4489 33.5493 35.2722 32.9604 35.0661C32.6659 34.9777 32.4009 34.8894 32.1065 34.8011C32.0182 34.7716 31.812 34.7422 31.7237 34.8305C30.1926 36.8033 28.6614 38.835 26.8948 40.6017C26.7475 40.7784 26.5709 40.9256 26.3647 41.0728L26.2764 41.1317L26.2175 41.1612C26.4531 41.1612 26.6592 41.2789 26.8064 41.4556C26.7475 41.3967 26.9536 41.6617 26.8653 41.5439C26.777 41.4262 26.9242 41.7501 26.8948 41.6028C26.8653 41.5145 26.8359 41.4262 26.8064 41.3378C26.777 41.2495 26.777 41.22 26.7475 41.1612C26.7181 41.1023 26.777 41.2789 26.7475 41.1023C26.7181 40.9256 26.6592 40.8373 26.6297 40.69C26.247 39.1884 25.982 37.6278 25.717 36.0966C25.5403 35.0072 25.3342 33.9177 25.187 32.7988C25.0986 32.4455 24.8631 32.151 24.5097 32.0038C24.3331 31.9155 24.1564 32.0038 24.068 32.151C24.0386 32.2394 24.0386 32.3277 24.0386 32.3866C24.4214 34.9777 24.8336 37.6278 25.452 40.1895C25.6581 40.955 26.1881 43.0456 27.3364 42.1328C27.8075 41.7501 28.2198 41.3084 28.6026 40.8667C29.162 40.2484 29.7215 39.5711 30.2515 38.9233C31.0759 37.9517 31.8709 36.9505 32.6365 35.92L32.2537 35.9494C33.196 36.2733 34.1676 36.5678 35.1688 36.8033C35.8754 36.98 36.906 37.3628 37.4655 36.6855C37.9366 36.0083 38.3194 35.3016 38.5844 34.5361C39.026 33.476 39.4383 32.3866 39.821 31.2971C40.6455 29.0004 41.2933 26.6448 41.8233 24.2598C41.9411 23.612 42.1472 22.817 42.0294 22.1398C41.8822 21.5214 41.3227 21.0503 40.6749 21.0209C40.086 20.9914 39.4971 21.0209 38.9377 21.1387C38.1132 21.2564 37.2888 21.4625 36.4643 21.6687C34.3149 22.1987 32.1948 22.8465 30.1042 23.5237C26.3353 24.7309 22.5958 25.9971 18.9152 27.4987C18.5619 27.6165 18.2085 27.7637 17.9141 27.9699C17.2957 28.4704 18.4146 29.3832 18.7974 29.6482C20.4758 30.8555 22.3308 31.8271 24.1564 32.7988L24.5981 33.0344C24.8336 33.1522 25.1575 33.1816 25.2164 32.8577C25.2458 32.5044 25.0397 32.1805 24.7158 32.0332Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M37.6424 25.4403C37.6424 25.4403 27.6017 33.3315 27.3367 33.8615C27.0717 34.3915 26.6006 41.6939 26.6006 41.6939",fill:"white"}),React.createElement("path",{d:"M37.1422 25.6449C34.8455 27.4411 32.5488 29.2666 30.2815 31.1217C29.1626 32.0345 28.0143 32.9178 26.9542 33.9189C26.7187 34.125 26.5715 34.4195 26.5715 34.7434C26.4537 35.5384 26.3948 36.3628 26.3065 37.1579C26.1592 38.8068 26.0709 40.4557 25.9531 42.1046C25.9531 42.1635 26.6009 41.8396 26.6304 41.8101C26.7776 41.7218 27.1898 41.5451 27.2193 41.339C27.3076 39.9551 27.3959 38.6007 27.5137 37.2462C27.5726 36.3334 27.6609 35.4501 27.7493 34.5667C27.7787 34.3017 27.8082 34.0073 27.867 33.7423C27.867 33.6834 27.8965 33.6245 27.9259 33.5656C27.9554 33.4773 27.8965 33.595 27.9554 33.5361C28.0437 33.4478 28.0732 33.4184 28.1026 33.3889L28.2204 33.3006L28.2793 33.2417C28.4854 33.0356 28.7209 32.8589 28.9565 32.6822C29.5748 32.1522 30.2226 31.6222 30.841 31.1217C32.3427 29.9144 33.8443 28.7072 35.346 27.4999C36.2588 26.7638 37.1716 26.0571 38.0844 25.321C38.2905 25.1738 38.2316 25.1149 37.9961 25.2032C37.6722 25.3505 37.3777 25.5271 37.1127 25.7333L37.1422 25.6449Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M35.4355 35.208L28.3393 33.3824L27.3088 33.1174C26.9554 33.029 26.6904 33.4413 26.6904 33.7357C26.7199 34.1185 26.9849 34.4424 27.3677 34.5307L34.4639 36.3563L35.4944 36.6213C35.8478 36.7097 36.1128 36.2974 36.1128 36.003C36.0833 35.6202 35.8183 35.2963 35.4355 35.208Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M37.2298 24.8491L33.0487 26.9985L26.3941 30.4141L24.863 31.1797C24.3624 31.4447 25.1575 32.652 25.6875 32.387L29.8686 30.2375L36.5232 26.8219L38.0543 26.0269C38.5254 25.7913 37.7598 24.5841 37.2298 24.8491Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M20.8566 5.73871L12.1328 8.61877L14.219 14.9379L22.9428 12.0579L20.8566 5.73871Z",fill:"white"}),React.createElement("path",{d:"M22.98 11.6261L15.3243 14.1584L14.2348 14.5117L14.8826 14.6001L13.057 9.06444L12.792 8.26943L12.1148 9.00555L19.7705 6.47329L20.8599 6.11995L20.2121 6.03162L22.0377 11.5673L22.3027 12.3623C22.45 12.8039 23.8044 12.215 23.6277 11.7145L21.8022 6.17884L21.5372 5.38383C21.4783 5.14827 21.0366 5.26605 20.8894 5.2955L13.2337 7.82776L12.1443 8.18109C11.8792 8.26943 11.3492 8.56388 11.467 8.91722L13.2926 14.4528L13.5576 15.2479C13.6165 15.4834 14.0582 15.3656 14.2054 15.3362L21.8611 12.8039L22.9505 12.4506C23.1861 12.3623 23.6572 12.1267 23.6277 11.8028C23.5983 11.4789 23.1566 11.5673 22.98 11.6261Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M12.4121 8.74474C13.9432 8.89197 15.2683 9.89309 16.7699 10.1287C16.8877 10.1581 16.9761 10.1581 17.0938 10.1287C17.1822 10.0698 17.2705 10.0109 17.3294 9.92254L20.4506 5.97693",fill:"white"}),React.createElement("path",{d:"M11.9646 9.24052C12.7891 9.3583 13.6135 9.6233 14.3791 9.97664C15.1152 10.2711 16.0869 10.7717 16.9113 10.595C17.4708 10.4772 17.7947 10.065 18.1186 9.65275L19.0608 8.47495L20.9747 6.06047C21.1514 5.85436 21.2692 5.55991 20.9158 5.44213C20.5625 5.41269 20.2092 5.53047 19.9736 5.82492L18.3247 7.9155L17.4708 9.00496L17.0586 9.50552C16.9702 9.59386 16.9113 9.68219 16.823 9.77053L16.7641 9.85886C17.2647 9.74108 17.3825 9.65275 17.1469 9.6233C16.823 9.50552 16.4402 9.44663 16.0869 9.32885C15.7335 9.21107 15.3802 9.0344 15.0269 8.88718C14.3202 8.56329 13.5841 8.35717 12.848 8.23939C12.4946 8.20995 12.1413 8.35717 11.9057 8.65162C11.7879 8.79885 11.6113 9.24052 11.9646 9.24052Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M14.0293 14.516C14.1176 13.3087 14.7065 10.9826 15.0304 9.80481L14.0293 14.516Z",fill:"white"}),React.createElement("path",{d:"M14.7654 14.5742C14.8537 13.7792 14.9715 12.9842 15.1776 12.1892C15.3543 11.3942 15.5604 10.6286 15.7665 9.83358C15.8548 9.48025 14.412 9.24469 14.2942 9.68636C14.0881 10.4519 13.882 11.2469 13.7053 12.0419C13.4992 12.837 13.3814 13.6025 13.2931 14.427C13.2637 14.692 13.8231 14.7803 13.9998 14.7803C14.1765 14.7803 14.7359 14.8392 14.7654 14.5742Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M18.917 8.68164C20.0065 9.68277 21.0665 10.7133 22.097 11.7734L18.917 8.68164Z",fill:"white"}),React.createElement("path",{d:"M18.6201 9.09066C19.7096 10.0918 20.7696 11.1224 21.8002 12.1824C21.9769 12.3885 22.3891 12.5946 22.5952 12.3001C22.7424 11.9763 22.6835 11.5935 22.4185 11.3579C21.3585 10.3273 20.2985 9.29677 19.2385 8.2662C19.0324 8.08953 18.6496 7.85397 18.4435 8.17787C18.2668 8.47231 18.3551 8.8551 18.6201 9.09066Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M74.539 4.52264L62.3193 4.59302L62.3702 13.4265L74.5898 13.3561L74.539 4.52264Z",fill:"white"}),React.createElement("path",{d:"M74.2707 12.8335L63.5822 12.8923H62.051L63.0522 13.6579L63.0227 5.91392V4.82446L62.6399 5.1189L73.3284 5.06001H74.8596L73.8584 4.29445L73.8879 12.0384V13.1574C73.8879 13.7462 75.2423 14.2468 75.2423 13.6285L75.2129 5.88447V4.76557C75.2129 4.29445 74.624 4 74.2118 4L63.5233 4.05889H61.9922C61.8155 4.05889 61.6094 4.14722 61.6094 4.35334L61.6388 12.0973V13.2162C61.6388 13.6874 62.2277 13.9818 62.6399 13.9818L73.3284 13.9229H74.8596C75.0362 13.9229 75.2129 13.7757 75.2129 13.599C75.2129 13.5107 75.1835 13.4518 75.154 13.3635C74.9773 13.0396 74.624 12.8335 74.2707 12.8335Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M62.5801 4.90951C64.4645 5.70452 65.7307 7.5301 67.5268 8.44289C67.6446 8.50178 67.7918 8.56067 67.939 8.56067C68.0863 8.53123 68.2335 8.47234 68.3218 8.384L73.8869 4.67395",fill:"white"}),React.createElement("path",{d:"M62.3205 5.11689C63.2921 5.52912 64.0871 6.29468 64.8822 6.97191C65.6772 7.64915 66.6194 8.4736 67.65 8.7975C67.9444 8.91528 68.2978 8.94472 68.6217 8.85639C68.8867 8.73861 69.1517 8.59138 69.3578 8.41471L71.0656 7.26636L74.5695 4.94022C74.8051 4.793 74.2751 4.49855 74.1867 4.43966C73.9512 4.32188 73.5095 4.17465 73.2739 4.35132L70.1233 6.44191L68.5333 7.50192L67.7383 8.03193L67.5911 8.12026C67.3555 8.2086 67.4733 8.26749 67.915 8.26749C67.8266 8.2086 67.7678 8.17915 67.6794 8.14971C66.855 7.6197 66.0894 7.0308 65.3827 6.38302C64.6172 5.70579 63.7633 5.14633 62.8505 4.70466C62.6443 4.61633 62.1143 4.41021 61.9377 4.61633C61.761 4.82244 62.2027 5.058 62.3205 5.11689Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M62.292 12.8065C62.9103 11.3048 64.5887 8.59589 65.472 7.27087L62.292 12.8065Z",fill:"white"}),React.createElement("path",{d:"M62.939 12.5643C63.3512 11.5926 63.8517 10.6504 64.4406 9.73759C64.9706 8.8248 65.5595 7.91201 66.1484 7.02866C66.2073 6.91088 65.6479 7.117 65.6184 7.117C65.4418 7.17589 65.2651 7.26422 65.0884 7.35255C64.9706 7.382 64.8823 7.47033 64.794 7.52922C64.2051 8.41257 63.6456 9.32536 63.0862 10.2382C62.5267 11.1509 62.0262 12.0932 61.6139 13.0649C61.555 13.1826 62.0851 13.006 62.1439 12.9765C62.3206 12.9176 62.4973 12.8293 62.674 12.741C62.7623 12.7115 62.939 12.6526 62.939 12.5643Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M70.8555 7.47754C71.7977 9.18534 72.7105 10.9226 73.6233 12.6893L70.8555 7.47754Z",fill:"white"}),React.createElement("path",{d:"M70.1529 7.44098C71.0952 9.17822 72.008 10.886 72.9207 12.6527C73.0385 12.8883 73.598 12.8883 73.8041 12.8883C73.9219 12.8883 74.4519 12.8883 74.3341 12.6822C73.4508 10.9449 72.5085 9.20767 71.5663 7.47042C71.4485 7.23486 70.8891 7.23486 70.6829 7.23486C70.5946 7.23486 70.0352 7.23486 70.1529 7.44098Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M104.541 23.4339L101.228 31.6226L112.555 36.2061L115.869 28.0175L104.541 23.4339Z",fill:"white"}),React.createElement("path",{d:"M113.227 36.0061L104.717 32.5611L102.686 31.7366L102.097 31.501C102.038 31.501 102.008 31.4716 101.949 31.4422C101.891 31.3833 101.949 31.4716 101.949 31.4422C101.979 31.2949 102.038 31.1772 102.097 31.0594L102.45 30.176L103.51 27.5849L105.277 23.2565L103.863 23.6982L112.373 27.1432L114.405 27.9677L114.994 28.2032C115.052 28.2032 115.082 28.2327 115.141 28.2621C115.141 28.2327 115.2 28.321 115.141 28.2621C115.111 28.4093 115.052 28.5271 114.994 28.6449L114.64 29.5282L113.58 32.1194L111.814 36.4478C111.784 36.5067 112.52 36.3889 112.55 36.3595C112.726 36.3006 113.139 36.2122 113.227 36.0061L116.142 28.851L116.554 27.8204L116.525 27.791L106.631 23.7865L105.218 23.227C105.012 23.1387 104.6 23.3154 104.423 23.3743C104.246 23.4332 103.922 23.492 103.834 23.6687L100.919 30.8238L100.536 31.8544L100.566 31.8838L110.459 35.8883L111.872 36.4478C112.108 36.5361 112.55 36.3594 112.756 36.2711C112.815 36.2711 113.345 36.0356 113.227 36.0061Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M104.688 23.8497C106.13 25.2925 106.601 27.442 107.926 29.0026C108.015 29.1204 108.133 29.2087 108.25 29.2676C108.398 29.297 108.545 29.297 108.692 29.2676L115.258 27.972",fill:"white"}),React.createElement("path",{d:"M104.833 24.3781C105.51 25.0848 105.923 26.027 106.364 26.8809C106.865 27.8231 107.395 28.942 108.219 29.6487C108.661 30.0315 109.191 29.8254 109.721 29.7371L111.635 29.3543L115.639 28.5593C115.816 28.5298 115.286 27.2048 114.903 27.2931L111.193 28.0293L109.338 28.412L108.425 28.5887C108.102 28.6476 107.984 28.6476 107.778 28.412C107.189 27.6759 106.835 26.822 106.423 25.9976C105.952 25.0259 105.334 24.1425 104.598 23.3181C104.421 23.112 104.303 23.2297 104.333 23.4653C104.392 23.8186 104.568 24.1131 104.833 24.3781Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M101.39 31.0637C102.538 29.9154 105.1 28.0604 106.454 27.1476L101.39 31.0637Z",fill:"white"}),React.createElement("path",{d:"M102.037 31.175C102.126 31.0867 102.008 31.2044 102.096 31.1161L102.214 30.9983C102.302 30.91 102.391 30.8217 102.479 30.7628C102.656 30.5861 102.862 30.4389 103.068 30.2622C103.51 29.9089 103.951 29.5261 104.422 29.2022C105.276 28.5544 106.13 27.9655 107.014 27.3766C107.161 27.2883 107.22 27.0822 107.131 26.9055C107.073 26.8172 107.014 26.7877 106.925 26.7583C106.572 26.6405 106.189 26.6994 105.895 26.9055C105.011 27.4944 104.128 28.1422 103.245 28.79C102.361 29.4378 101.507 30.1444 100.712 30.91C100.477 31.175 100.83 31.4106 101.066 31.4694C101.419 31.5283 101.802 31.4106 102.037 31.175Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M111.346 29.385C111.552 31.3284 111.758 33.2717 111.905 35.2445L111.346 29.385Z",fill:"white"}),React.createElement("path",{d:"M110.781 28.9671C110.988 30.9105 111.194 32.8539 111.341 34.8267C111.37 35.1211 111.724 35.3861 111.93 35.5333C111.989 35.5628 112.519 35.8867 112.489 35.6511C112.313 33.6783 112.136 31.735 111.93 29.7916C111.9 29.4971 111.547 29.2321 111.341 29.0849C111.282 29.0555 110.752 28.7316 110.781 28.9671Z",fill:"#7DD3FC"}),React.createElement("path",{d:"M30.9285 9.89242C35.8163 9.21519 40.9103 11.188 44.2081 14.8097C45.0326 15.7225 45.7687 16.7236 46.3281 17.8131C46.9759 19.0498 47.4471 20.3453 48.1832 21.5231C48.8899 22.7304 49.9204 23.6726 51.1866 24.291C52.4527 24.8504 53.866 25.086 55.2499 24.9682C58.6067 24.6737 61.345 22.5537 63.7301 20.3453C64.319 19.8153 63.0823 18.9909 62.5523 19.4914C60.4911 21.3759 58.1355 23.2898 55.2794 23.7315C54.0427 23.9376 52.7766 23.7904 51.6282 23.2604C50.4799 22.7304 49.6849 21.7293 49.096 20.6398C48.4482 19.462 47.9771 18.2253 47.3293 17.0475C46.7109 15.9581 45.9454 14.9275 45.0915 14.0147C43.3248 12.1302 41.1459 10.6874 38.7608 9.7452C36.0813 8.68518 33.1663 8.33184 30.3101 8.71463C30.0451 8.77352 29.8685 9.00907 29.9274 9.27408C29.9274 9.33297 29.9568 9.39186 29.9863 9.4213C30.1629 9.80409 30.5457 9.98075 30.9285 9.89242Z",fill:"#082F49"}),React.createElement("path",{d:"M80.3376 10.2445C81.2798 9.30225 82.6048 8.91947 83.871 8.68391C85.3138 8.38946 86.786 8.12446 88.2877 7.94779C91.0555 7.65334 94.1178 7.62389 96.6206 8.94891C98.6817 10.0384 100.448 11.9523 101.008 14.249C101.155 14.8084 101.214 15.3973 101.185 15.9862C101.185 16.2807 101.155 16.5457 101.096 16.8107C101.067 16.9579 101.037 17.1051 100.978 17.2524C100.92 17.3701 100.861 17.4585 100.772 17.5763C100.537 18.0768 100.713 17.5763 100.713 17.6057C100.772 17.6057 100.831 17.6351 100.89 17.6351C100.949 17.6351 100.978 17.7235 100.89 17.6351C100.743 17.4879 100.655 17.2818 100.655 17.0757C100.684 16.5751 101.214 16.2512 101.656 16.1335C102.745 15.839 104.011 16.2807 104.895 16.9579C105.955 17.7235 106.661 18.8424 106.956 20.1085C107.074 20.4324 107.368 20.668 107.692 20.6974C107.869 20.7269 108.428 20.7269 108.34 20.403C107.721 17.4879 104.924 15.2501 101.95 15.1323C100.89 15.1029 98.8584 15.6329 99.2706 17.1051C99.624 18.3713 101.891 19.2841 102.333 17.6351C103.128 14.7495 101.538 11.8051 99.4473 9.92059C96.915 7.6239 93.4405 6.82888 90.0838 6.85833C88.0521 6.91722 86.0204 7.15278 84.0182 7.565C82.2515 7.8889 80.3376 8.24224 79.0126 9.53781C78.6592 9.97948 79.9548 10.6273 80.3376 10.2445Z",fill:"#082F49"}),React.createElement("path",{d:"M31.2795 66.9567C28.1289 66.78 24.8605 66.1911 22.4166 64.0416C20.3849 62.2161 19.3838 59.2127 20.6204 56.651C20.9149 56.0326 21.3271 55.5026 21.8571 55.0904C22.181 54.8548 22.8582 54.4721 23.2705 54.7371C23.6827 55.0021 23.5649 55.6204 23.4177 55.9738C23.1821 56.4743 22.6521 56.7688 22.1221 56.6804C20.7088 56.4743 20.1493 54.796 19.8843 53.6182C19.5899 52.2931 19.5604 50.9387 19.7371 49.5842C20.1788 46.4925 21.8277 43.6952 24.3305 41.8402C24.5366 41.6636 24.566 41.3691 24.3894 41.163C24.3599 41.1335 24.3305 41.1041 24.2716 41.0747C23.9772 40.8391 23.5649 40.8096 23.241 41.0158C20.591 42.9591 18.8243 45.9036 18.3237 49.1425C18.0587 50.762 18.1176 52.4109 18.5299 53.9715C18.9715 55.7087 20.0021 57.4166 21.916 57.7699C22.7994 57.976 23.7416 57.711 24.3894 57.0632C24.8605 56.5626 25.0666 55.8265 24.9194 55.1493C24.7133 54.3248 24.0066 53.7065 23.1527 53.5887C22.2694 53.4709 21.4154 53.7359 20.7088 54.2659C19.3838 55.2671 18.736 56.916 18.6182 58.5355C18.5299 60.2138 19.0304 61.8627 20.0315 63.2172C22.5932 66.8095 27.1866 67.84 31.3384 68.0756C31.6328 68.105 32.045 67.9284 32.0156 67.575C31.9862 67.2217 31.6034 66.9567 31.2795 66.9567Z",fill:"#082F49"})),Z9=e=>React.createElement("svg",y9({xmlns:"http://www.w3.org/2000/svg",height:"32",viewBox:"0 0 32 32",width:"32"},e),React.createElement("defs",null,React.createElement("clipPath",{id:"A"},React.createElement("path",{d:"M11.52 162C11.52 81.677 135.307 16.56 288 16.56S564.48 81.677 564.48 162 440.693 307.44 288 307.44 11.52 242.322 11.52 162"})),React.createElement("radialGradient",{cx:"0",cy:"0",fx:"0",fy:"0",gradientTransform:"matrix(363.05789,0,0,-363.05789,177.52002,256.30713)",gradientUnits:"userSpaceOnUse",id:"B",r:"1",spreadMethod:"pad"},React.createElement("stop",{offset:"0",stopColor:"#aeb2d5"}),React.createElement("stop",{offset:".3",stopColor:"#aeb2d5"}),React.createElement("stop",{offset:".75",stopColor:"#484c89"}),React.createElement("stop",{offset:"1",stopColor:"#484c89"})),React.createElement("clipPath",{id:"C"},React.createElement("path",{d:"M0 324h576V0H0v324z"})),React.createElement("clipPath",{id:"D"},React.createElement("path",{d:"M0 324h576V0H0v324z"}))),React.createElement("g",{transform:"matrix(.05787 0 0 -.057079 -.666665 24.945283)"},React.createElement("g",{clipPath:"url(#A)"},React.createElement("path",{d:"M11.52 162C11.52 81.677 135.307 16.56 288 16.56S564.48 81.677 564.48 162 440.693 307.44 288 307.44 11.52 242.322 11.52 162",fill:"url(#B)"})),React.createElement("g",{clipPath:"url(#C)"},React.createElement("path",{d:"M288 27.36c146.73 0 265.68 60.28 265.68 134.64S434.73 296.64 288 296.64 22.32 236.36 22.32 162 141.27 27.36 288 27.36",fill:"#777bb3"})),React.createElement("g",{clipPath:"url(#D)"},React.createElement("path",{d:"M161.734 145.307c12.065 0 21.072 2.225 26.77 6.61 5.638 4.34 9.532 11.862 11.573 22.353 1.903 9.806 1.178 16.653-2.154 20.348-3.407 3.774-10.773 5.688-21.893 5.688h-19.28l-10.69-55h15.673zM98.67 77.557c-.895 0-1.745.4-2.314 1.092a3 3 0 0 0-.63 2.48l28.328 145.75a3 3 0 0 0 2.945 2.427h61.054c19.188 0 33.47-5.2 42.447-15.487 9.025-10.33 11.812-24.772 8.283-42.92-1.436-7.394-3.906-14.26-7.34-20.41-3.44-6.155-7.984-11.85-13.51-16.93-6.616-6.192-14.104-10.682-22.236-13.324-8.003-2.607-18.28-3.93-30.548-3.93h-24.722l-7.06-36.322a3 3 0 0 0-2.944-2.428H98.67z"}),React.createElement("path",{d:"M159.224 197.307h16.808c13.42 0 18.083-2.945 19.667-4.7 2.628-2.914 3.124-9.058 1.435-17.767-1.898-9.75-5.416-16.663-10.458-20.545-5.162-3.974-13.554-5.988-24.94-5.988H149.7l9.523 49zm28.83 35H127a6 6 0 0 1-5.889-4.855L92.783 81.7a6 6 0 0 1 5.889-7.144h31.75a6 6 0 0 1 5.89 4.855l6.588 33.895h22.25c12.582 0 23.174 1.372 31.48 4.077 8.54 2.775 16.4 7.48 23.354 13.984 5.752 5.292 10.5 11.232 14.08 17.657s6.17 13.594 7.668 21.302c3.715 19.104.697 34.402-8.97 45.466-9.572 10.958-24.614 16.514-44.706 16.514m-45.633-90h19.313c12.8 0 22.336 2.41 28.6 7.234s10.492 12.875 12.688 24.157c2.1 10.832 1.144 18.476-2.87 22.93s-12.06 6.68-24.12 6.68h-21.754l-11.856-61m45.633 84c18.367 0 31.766-4.82 40.188-14.46s10.957-23.098 7.597-40.375c-1.383-7.117-3.722-13.624-7.015-19.52s-7.602-11.293-12.922-16.184c-6.34-5.933-13.383-10.16-21.133-12.68-7.75-2.525-17.62-3.782-29.62-3.782h-27.196l-7.53-38.75h-31.75L127 226.307h61.055",fill:"#fff"}),React.createElement("path",{d:"M311.583 116.307c-.896 0-1.745.4-2.314 1.092s-.802 1.6-.63 2.48l12.53 64.49c1.192 6.133.898 10.535-.827 12.395-1.056 1.137-4.228 3.044-13.607 3.044h-22.702l-15.755-81.072a3 3 0 0 0-2.945-2.428h-31.5a3 3 0 0 0-2.945 3.572l28.328 145.75a3 3 0 0 0 2.945 2.427h31.5a3 3 0 0 0 2.945-3.572l-6.836-35.178h24.422c18.605 0 31.22-3.28 38.57-10.028 7.5-6.884 9.827-17.89 6.947-32.72l-13.18-67.825a3 3 0 0 0-2.945-2.428h-32z"}),React.createElement("path",{d:"M293.66 271.057h-31.5a6 6 0 0 1-5.89-4.855l-28.328-145.75a6 6 0 0 1 5.89-7.144h31.5a6 6 0 0 1 5.89 4.855l15.283 78.645h20.23c9.363 0 11.328-2 11.407-2.086.568-.61 1.315-3.44.082-9.78l-12.53-64.49a6 6 0 0 1 5.89-7.144h32a6 6 0 0 1 5.89 4.855l13.18 67.825c3.093 15.92.447 27.864-7.86 35.5-7.928 7.28-21.208 10.82-40.6 10.82h-20.784l6.143 31.605a6 6 0 0 1-5.89 7.145m0-6l-7.53-38.75h28.062c17.657 0 29.836-3.082 36.54-9.238s8.71-16.14 6.032-29.938l-13.18-67.824h-32l12.53 64.488c1.426 7.336.902 12.34-1.574 15.008s-7.746 4.004-15.805 4.004H281.56l-16.226-83.5h-31.5l28.328 145.75h31.5",fill:"#fff"}),React.createElement("path",{d:"M409.55 145.307c12.065 0 21.072 2.225 26.77 6.61 5.638 4.34 9.532 11.86 11.574 22.353 1.903 9.806 1.178 16.653-2.155 20.348-3.407 3.774-10.773 5.688-21.893 5.688h-19.28l-10.69-55h15.673zm-63.062-67.75c-.895 0-1.745.4-2.314 1.092a3 3 0 0 0-.631 2.48l28.328 145.75a3 3 0 0 0 2.946 2.427h61.053c19.19 0 33.47-5.2 42.448-15.487 9.025-10.33 11.81-24.77 8.283-42.92-1.438-7.394-3.907-14.26-7.342-20.41-3.44-6.155-7.984-11.85-13.51-16.93-6.616-6.192-14.104-10.682-22.236-13.324-8.003-2.607-18.28-3.93-30.548-3.93H388.24l-7.057-36.322a3 3 0 0 0-2.946-2.428h-31.75z"}),React.createElement("path",{d:"M407.04 197.307h16.808c13.42 0 18.083-2.945 19.667-4.7 2.63-2.914 3.125-9.058 1.435-17.766-1.898-9.75-5.417-16.664-10.458-20.546-5.162-3.974-13.554-5.988-24.94-5.988h-12.033l9.522 49zm28.83 35h-61.054a6 6 0 0 1-5.889-4.855L340.6 81.7a6 6 0 0 1 5.889-7.144h31.75a6 6 0 0 1 5.89 4.855l6.587 33.895h22.25c12.582 0 23.174 1.372 31.48 4.077 8.54 2.775 16.4 7.48 23.356 13.986 5.752 5.29 10.488 11.23 14.078 17.655s6.17 13.594 7.668 21.302c3.715 19.105.697 34.403-8.97 45.467-9.572 10.957-24.613 16.513-44.706 16.513m-45.632-90h19.312c12.8 0 22.336 2.41 28.6 7.234s10.492 12.875 12.688 24.157c2.102 10.832 1.145 18.476-2.87 22.93s-12.06 6.68-24.12 6.68h-21.754l-11.855-61m45.632 84c18.367 0 31.766-4.82 40.188-14.46s10.957-23.098 7.597-40.375c-1.383-7.117-3.722-13.624-7.015-19.52s-7.602-11.293-12.922-16.184c-6.34-5.933-13.383-10.16-21.133-12.68-7.75-2.525-17.62-3.782-29.62-3.782h-27.196l-7.53-38.75h-31.75l28.328 145.75h61.054",fill:"#fff"})))),q9=e=>{let{description:t="",icon:n=null,iconPosition:r="",size:o="sm",tag:i="h1",title:a,className:s="text-text-primary"}=e;return React.createElement(Oa,{description:t,icon:n,iconPosition:r,size:o,tag:i,title:a,className:s})},Y9=e=>{let{image:t,title:n,description:r,bulletPoints:o=[],action:i=null}=e;return React.createElement("div",{className:"flex items-center justify-center w-full bg-background-secondary p-2 rounded-lg"},React.createElement("div",{className:"flex w-full h-auto gap-6 p-8 rounded-md shadow-sm bg-background-primary"},React.createElement("div",{className:"flex items-center justify-center w-1/3 max-w-80"},React.createElement(t,{className:"w-full h-full"})),React.createElement("div",{className:"flex flex-col justify-center w-full px-2 gap-2"},React.createElement("div",{className:"space-y-2"},React.createElement(q9,{title:n,tag:"h4"}),React.createElement("p",{className:"mb-3 text-base font-normal text-text-secondary"},r)),o.length>0&&React.createElement("ul",{className:"ml-6 my-0 text-base font-normal list-disc text-text-secondary leading-7"},o.map(((e,t)=>React.createElement("li",{key:t,className:"m-0"},e)))),i&&React.createElement("div",{className:"mt-4 ml-0.5"},React.createElement(tn,i)))))},K9=e=>{let{onClickAddConnection:t}=e;const n=[(0,He.__)("Connect with Amazon SES, Gmail, and more in just a few clicks.","suremails"),(0,He.__)("Improve email deliverability and avoid the spam folder.","suremails"),(0,He.__)("Ensure uninterrupted email sending with backup connections.","suremails"),(0,He.__)("Keep your email credentials safe with industry-standard encryption.","suremails")];return React.createElement(Ve.Fragment,null,React.createElement(Y9,{image:z9,title:(0,He.__)("Create Your First Connection","suremails"),description:(0,He.__)("It looks like you haven't set up a SMTP connection yet. Connect to a reliable SMTP provider to ensure your emails are delivered effectively and securely.","suremails"),bulletPoints:n,action:{variant:"primary",size:"md",icon:React.createElement(g1,null),iconPosition:"left",onClick:t,className:"font-medium",children:(0,He.__)("Add Connection","suremails")}}))};o(4864);var Q9=o(5556),G9=o.n(Q9);const X9=(0,He.__)("delete","suremails"),J9=f9.object({confirmationText:f9.string().regex(new RegExp("^".concat(X9,"$"),"i"),{message:(0,He.sprintf)((0,He.__)('Please type "%s" in the input box',"suremails"),X9)})}),$9=e=>{let{isOpen:t,title:n,description:r,onConfirm:o=()=>{},onCancel:i=()=>{},confirmButtonText:a=(0,He.__)("Confirm","suremails"),cancelButtonText:s=(0,He.__)("Cancel","suremails"),destructiveConfirmButton:l=!0,requireConfirmation:c=!1}=e;const[u,d]=(0,Ve.useState)(""),[f,h]=(0,Ve.useState)(""),[p,m]=(0,Ve.useState)(!1);return(0,Ve.useLayoutEffect)((()=>{!t&&c&&(d(""),h(""))}),[t]),React.createElement(CC,{design:"simple",exitOnEsc:!0,scrollLock:!0,setOpen:i,open:t},React.createElement(CC.Backdrop,null),React.createElement(CC.Panel,{className:"gap-0"},React.createElement(CC.Header,null,React.createElement("div",{className:"flex items-center justify-between"},React.createElement(CC.Title,null,n),React.createElement(CC.CloseButton,{onClick:i})),React.createElement(CC.Description,null,r)),c?React.createElement(CC.Body,{className:"mt-3 space-y-3"},React.createElement(rn,{className:"text-text-secondary font-normal",tag:"p",variant:"neutral",size:"sm"},(0,He.__)("To confirm, type delete in the box below:","suremails")),React.createElement("div",null,React.createElement(_a,{ref:e=>{e&&e.focus()},name:"delete-confirmation-text",size:"md",type:"text",placeholder:(0,He.sprintf)((0,He.__)('Type "%s"',"suremails"),X9),className:"w-full",value:u,onChange:e=>{d(e),c&&f&&h("")},error:f,autoComplete:"off"}))):null,React.createElement(CC.Footer,null,React.createElement(tn,{variant:"ghost",onClick:()=>{"function"==typeof i&&i()}},s),React.createElement(tn,{className:"focus:ring-button-danger-hover",variant:"primary",onClick:async()=>{"function"==typeof o&&(c&&!function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];const t=J9.safeParse({confirmationText:u});return t.success?(h(""),!0):(e&&document.querySelector('input[name="delete-confirmation-text"]').focus(),h(t.error.issues[0].message),!1)}(!0)||(m(!0),await o(),m(!1)))},icon:p?React.createElement(Ra,{className:"text-background-primary"}):null,iconPosition:"left",loading:p,destructive:l},a))))};$9.propTypes={isOpen:G9().bool.isRequired,title:G9().string.isRequired,description:G9().oneOfType([G9().string,G9().element]).isRequired,onConfirm:G9().func,onCancel:G9().func,confirmButtonText:G9().string,cancelButtonText:G9().string,requireConfirmation:G9().bool};const e3=$9;function t3(e,t){if(null==e)return{};var n,r,o=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(t.includes(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);for(r=0;r<i.length;r++)n=i[r],t.includes(n)||{}.propertyIsEnumerable.call(e,n)&&(o[n]=e[n])}return o}const n3=["content","position","variant","tooltipPortalRoot","tooltipPortalId","children","className"],r3=e=>{let{content:t,position:n="top",variant:r="dark",tooltipPortalRoot:o="suremails-root-app",tooltipPortalId:a="suremails-root-app",children:s,className:l}=e,c=t3(e,n3);return i().createElement(va,y9({content:t,placement:n,variant:r,tooltipPortalRoot:o,tooltipPortalId:a,className:l},c),s)};r3.propTypes={content:G9().node.isRequired,position:G9().oneOf(["top","bottom","left","right"]),variant:G9().string,tooltipPortalRoot:G9().string,tooltipPortalId:G9().string,children:G9().node.isRequired,className:G9().string};const o3=r3,i3=e=>{let{text:t,className:n}=e;const r=(0,Ve.useRef)(null),[o,i]=(0,Ve.useState)(!1),a=(0,Ve.useCallback)((()=>{if(r.current){const e=r.current.scrollWidth>r.current.clientWidth;i(e)}}),[i]);(0,Ve.useLayoutEffect)((()=>{a()}),[t]);const s={ref:r,className:y8("block max-w-52 truncate",n)};return o?React.createElement(o3,{content:t,position:"top",arrow:!0},React.createElement("span",s,t)):React.createElement("span",s,t)};function a3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function s3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a3(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a3(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const l3=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:(0,He.__)("is required","suremails");return e?(0,He.sprintf)("%1$s %2$s",e,t):t},c3=e=>f9.object(e.reduce(((e,t)=>{const n=null!=t&&t.required?f9.string().min(1,l3(t.label)):f9.string().optional();switch(t.datatype){case"int":e[t.name]=null!=t&&t.required?f9.number({required_error:l3(t.label),invalid_type_error:l3(t.label)}).min(1,l3(t.label)):f9.number().optional();break;case"boolean":e[t.name]=null!=t&&t.required?f9.boolean():f9.boolean().optional();break;case"email":e[t.name]=n.email(l3("",(0,He.__)("Please enter a valid email address","suremails")));break;default:e[t.name]=n}return e}),{})),u3=t=>{let[n,r]=t;const o=r.field_sequence.map((e=>((e,t)=>{var n;const r=null==t?void 0:t.datatype;let o=s3(s3({},t),{},{name:e});return"select"===(null==t?void 0:t.input_type)&&(o=(e=>{var t;const n=Array.isArray(e.options)?e.options:Object.entries(e.options);return!n||"label"in n[0]||"value"in n[0]||(e.options=n.map((e=>{let[t,n]=e;return{label:t,value:n}}))),e.getOptionLabel=t=>{const n=e.options.find((e=>e.value===t));return null==n?void 0:n.label},e.combobox=(null==e||null===(t=e.options)||void 0===t?void 0:t.length)>5,e})(o)),o.default=((e,t,n)=>{if(void 0!==(null==n?void 0:n.default)){if("select"===(null==n?void 0:n.input_type))switch(typeof n.default){case"string":return n.default;case"object":return n.default.value}return n.default}switch(e){case"int":return"port"!==t?1:void 0;case"boolean":return!1;default:return""}})(r,e,t),"int"===r&&(o.transform=e=>parseInt(e)),o.disabled=(e,t)=>{var n,r;return null!==(n=null===(r=o)||void 0===r||null===(r=r.depends_on)||void 0===r?void 0:r.some((e=>!(null!=t&&t[e]))))&&void 0!==n&&n},o.helpShowMore=(null===(n=o)||void 0===n||null===(n=n.help_text)||void 0===n?void 0:n.length)>65,o})(e,r.fields[e]))),i=e[r.icon],a=s3(s3({},r),{},{value:n,icon:React.createElement(i,{className:"w-6 h-6"}),fields:o,schema:c3(o)});return"soon"===(null==r?void 0:r.provider_type)&&(a.badge=React.createElement(Sa,{label:"Planned",size:"xxs",type:"pill",variant:"green"})),a};function d3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function f3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?d3(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):d3(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const h3=()=>{const[e,t]=(0,Ve.useState)(!1),[n,r]=(0,Ve.useState)(!1),[o,i]=(0,Ve.useState)(null),[a,s]=(0,Ve.useState)("asc"),[l,c]=(0,Ve.useState)(!1),[u,d]=(0,Ve.useState)({title:"",description:"",onConfirm:null}),f=w1(),h=Y(),p=G();(0,Ve.useEffect)((()=>{var e;null!==(e=h.state)&&void 0!==e&&e.openDrawer&&(t(!0),p(h.pathname,{replace:!0,state:{}}))}),[h.state,p]);const{data:m,isLoading:g,error:y}=h0({queryKey:["settings"],queryFn:R8,select:e=>(null==e?void 0:e.data)||{},refetchInterval:1e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!0}),{providers:v,isLoading:b}=(()=>{const{data:e,isLoading:t,error:n}=h0({queryKey:["providers"],queryFn:O8,select:e=>{var t;return(null==e||null===(t=e.data)||void 0===t?void 0:t.providers)||{}},refetchInterval:3e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!0}),r=(0,Ve.useMemo)((()=>!t&&n||t?[]:(e=>e.sort(((e,t)=>{return"free"===e.provider_type&&"soon"===t.provider_type?-1:"soon"===e.provider_type&&"free"===t.provider_type?1:"free"===e.provider_type&&"free"===t.provider_type?(null!==(n=null==e?void 0:e.provider_sequence)&&void 0!==n?n:0)-(null!==(r=null==t?void 0:t.provider_sequence)&&void 0!==r?r:0):("soon"===e.provider_type&&t.provider_type,0);var n,r})))(Object.entries(e).map(u3))),[t,e,n]);return{providers:r,isLoading:t,error:n}})(),x=(0,Ve.useCallback)((()=>10*(Math.max(Object.values(null==m?void 0:m.connections).length,0)+1)),[null==m?void 0:m.connections]),w=(0,Ve.useCallback)((()=>{const e={};return Object.values(null==m?void 0:m.connections).forEach((t=>{e[t.type]=(e[t.type]||0)+1})),e}),[null==m?void 0:m.connections]),C=g0({mutationFn:P8,onSuccess:(e,t)=>{e.success&&(Op.success((0,He.__)("Deleted!","suremails"),{description:(0,He.__)("Connection deleted successfully.","suremails")}),f.setQueryData(["settings"],(e=>f3(f3({},e),{},{data:f3(f3({},e.data),{},{connections:Object.fromEntries(Object.entries(e.data.connections).filter((e=>{let[n]=e;return n!==t.id})))})}))),f.refetchQueries({queryKey:["logs"]}),f.refetchQueries({queryKey:["dashboard-data"],exact:!0}),f.invalidateQueries({queryKey:["settings"]}))},onError:e=>{Op.error((0,He.__)("Error deleting connection","suremails"),{description:e.message||(0,He.__)("There was an issue deleting the connection.","suremails")})},onSettled:()=>{c(!1)}}),A=()=>{s("asc"===a?"desc":"asc")},E=()=>function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"asc";return Array.isArray(e)&&t?[...e].sort(((e,r)=>{const o=new Date(e[t])instanceof Date&&!isNaN(new Date(e[t]).getTime())?new Date(e[t]):e[t],i=new Date(r[t])instanceof Date&&!isNaN(new Date(r[t]).getTime())?new Date(r[t]):r[t];return o<i?"asc"===n?-1:1:o>i?"asc"===n?1:-1:0})):e}(Object.entries((null==m?void 0:m.connections)||{}).map((e=>{let[t,n]=e;return f3({id:t},n)})),"created_at",a);if(g)return React.createElement(C8,null);y&&Op.error((0,He.__)("Error loading connections","suremails"),{description:y.message||(0,He.__)("There was an issue fetching connections.","suremails")});const S=[{label:(0,He.__)("Connection","suremails")},{label:(0,He.__)("Connection Title","suremails")},{label:(0,He.__)("Email","suremails")},{label:(0,He.__)("Created On","suremails"),sortable:!0},{label:(0,He.__)("Test Email","suremails")},{label:(0,He.__)("Action","suremails"),srOnly:!0}];return React.createElement("div",{className:"flex items-start justify-center h-full px-8 py-8 bg-background-secondary"},React.createElement("div",{className:"w-full h-auto px-4 py-4 space-y-2 border-0.5 border-solid shadow-sm opacity-100 rounded-xl border-border-subtle bg-background-primary"},E().length>0&&React.createElement("div",{className:"flex items-center justify-between w-full gap-2 px-2 py-2.25 opacity-100"},React.createElement(q9,{title:(0,He.__)("Email Connections","suremails"),tag:"h4"}),React.createElement(tn,{variant:"primary",size:"sm",icon:React.createElement(g1,null),iconPosition:"left",onClick:()=>t(!0),className:"font-medium"},(0,He.__)("Add Connection","suremails"))),E().length>0?React.createElement(i1,null,React.createElement(i1.Head,{className:"bg-background-secondary"},S.map(((e,t)=>React.createElement(i1.HeadCell,{key:t,className:"whitespace-nowrap"},null!=e&&e.sortable?React.createElement("div",{key:"created-at",className:"flex items-center cursor-pointer",onClick:A},e.label,React.createElement(y1,{className:"ml-1 size-4"})):React.createElement("span",{className:null!=e&&e.srOnly?"sr-only":""},e.label))))),React.createElement(i1.Body,null,E().map((e=>{var n;return React.createElement(i1.Row,{key:e.id},React.createElement(i1.Cell,{className:"w-32"},React.createElement("div",{className:"flex items-center"},null===(n=v.find((t=>t.value===(null==e?void 0:e.type))))||void 0===n?void 0:n.icon)),React.createElement(i1.Cell,null,React.createElement(i3,{className:"max-w-64",text:"".concat(e.connection_title," - ").concat(e.type)})),React.createElement(i1.Cell,null,React.createElement(i3,{className:"max-w-60",text:e.from_email})),React.createElement(i1.Cell,{className:"text-nowrap"},f8(e.created_at,{day:!0,month:!0,year:!0,hour:!0,minute:!0,hour12:!0})),React.createElement(i1.Cell,null,React.createElement(tn,{variant:"outline",size:"xs",className:"shadow-sm whitespace-nowrap",onClick:()=>(i(e),void r(!0))},(0,He.__)("Send Test Email","suremails")),React.createElement("div",{className:"inline-flex items-center justify-between gap-2"})),React.createElement(i1.Cell,null,React.createElement("div",{className:"inline-flex justify-end w-full gap-2"},React.createElement(o3,{content:(0,He.__)("Edit","suremails"),position:"top",arrow:!0},React.createElement(tn,{variant:"ghost",size:"xs",icon:React.createElement(v1,null),iconPosition:"left",onClick:()=>(i(e),void t(!0))})),React.createElement(o3,{content:React.createElement("span",null,(0,He.__)("Delete","suremails")),position:"top",variant:"dark",arrow:!0},React.createElement(tn,{variant:"ghost",size:"xs",icon:React.createElement(b1,null),iconPosition:"left",onClick:()=>{return t=e,d({title:(0,He.__)("Confirm Deletion","suremails"),description:(0,He.__)("Are you sure you want to delete this connection? This action cannot be undone.","suremails"),requireConfirmation:!0,onConfirm:()=>(async e=>{await C.mutateAsync(e)})(t)}),void c(!0);var t}})))))})))):React.createElement(K9,{onClickAddConnection:()=>t(!0)}),React.createElement(V8,{isOpen:e,setIsOpen:t,currentConnection:o,onSave:()=>{f.invalidateQueries({queryKey:["settings"]}),f.refetchQueries({queryKey:["dashboard-data"]})},providers:v,isProvidersLoading:b,sequenceId:x(),connectionCount:w()}),React.createElement(g9,{isOpen:n,onClose:e=>{r(!1),e||i(null)},connections:m.connections,currentConnection:o}),React.createElement(e3,{isOpen:l,title:u.title,description:u.description,onConfirm:u.onConfirm,onCancel:()=>c(!1),confirmButtonText:(0,He.__)("Delete","suremails"),cancelButtonText:(0,He.__)("Cancel","suremails"),requireConfirmation:u.requireConfirmation})))},p3=m1("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]]),m3=m1("Eye",[["path",{d:"M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",key:"1nclc0"}],["circle",{cx:"12",cy:"12",r:"3",key:"1v7zrd"}]]),g3=m1("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]]),y3=m1("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]]),v3=m1("Calendar",[["path",{d:"M8 2v4",key:"1cmpym"}],["path",{d:"M16 2v4",key:"4m81vk"}],["rect",{width:"18",height:"18",x:"3",y:"4",rx:"2",key:"1hopcy"}],["path",{d:"M3 10h18",key:"8toen8"}]]),b3=()=>{const e=[(0,He.__)("View delivery status, timestamps, and more for each sent email.","suremails"),(0,He.__)("Quickly resend any email directly from the logs if needed.","suremails"),(0,He.__)("Get insights into your email performance, including success and failure rates.","suremails"),(0,He.__)("Easily identify and resolve any issues with failed email deliveries.","suremails")];return React.createElement("div",{className:"bg-background-primary border-0.5 border-solid border-border-subtle p-4 rounded-xl shadow-sm ml-2 mr-2 mt-2"},React.createElement(Y9,{image:F9,title:(0,He.__)("No Email Logs Available","suremails"),description:(0,He.__)("Once your emails start sending, you'll see detailed logs here to help you monitor and manage your email activity.","suremails"),bulletPoints:e}))},x3=()=>React.createElement("div",{className:"bg-background-primary"},React.createElement("div",{className:"p-6"},React.createElement(i1,null,React.createElement(i1.Head,null,React.createElement(i1.HeadCell,{className:"px-5.5"}),React.createElement(i1.HeadCell,{className:"w-1/4"},(0,He.__)("Subject","suremails")),React.createElement(i1.HeadCell,{className:"w-1/8"},(0,He.__)("Status","suremails")),React.createElement(i1.HeadCell,{className:"w-1/4"},(0,He.__)("Email To","suremails")),React.createElement(i1.HeadCell,{className:"w-1/6"},(0,He.__)("Date & Time","suremails")),React.createElement(i1.HeadCell,null,(0,He.__)("Actions","suremails"))),React.createElement(i1.Body,null,React.createElement(i1.Row,null,React.createElement(i1.Cell,{colSpan:"6",className:"px-4 py-4 text-center text-gray-500 border border-border-subtle"},(0,He.__)("No Logs Available for the selected filters","suremails"))))))),w3=async e=>{if(!e||0===e.length)throw new Error((0,He.__)("No logs selected for deletion.","suremails"));try{return await _8()({path:"/suremails/v1/delete-logs",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify({log_ids:e})})}catch(e){throw new Error(e.message||(0,He.__)("There was an issue deleting logs.","suremails"))}},C3=async e=>{if(!e||0===e.length)throw new Error((0,He.__)("No logs selected for resending.","suremails"));try{return await _8()({path:"/suremails/v1/resend-email",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify({log_ids:e})})}catch(e){throw new Error(e.message||(0,He.__)("There was an issue resending emails.","suremails"))}},A3=m1("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]]),E3=(0,Ve.createContext)({}),S3=()=>(0,Ve.useContext)(E3),k3=e=>{let{children:t,className:n,defaultOpen:r=!1,alwaysOpen:o=!1}=e;const[i,a]=(0,Ve.useState)(o||r);return React.createElement(E3.Provider,{value:{isOpen:i,toggle:()=>!o&&a(!i),alwaysOpen:o}},React.createElement("div",{className:y8("p-4 m-1 space-y-2 border rounded-md shadow-sm bg-background-primary",n)},t))};k3.Trigger=e=>{let{children:t,className:n}=e;const{isOpen:r,toggle:o,alwaysOpen:i}=S3();return React.createElement("div",{className:"flex items-center justify-between cursor-pointer",onClick:o},React.createElement("div",{className:y8("flex items-center gap-1",n)},t),(a=React.createElement(A3,{className:y8("size-5",r?"":"rotate-180")}),!i&&a));var a},k3.Content=e=>{let{children:t,className:n}=e;const{isOpen:r}=S3();return r&&t?React.createElement("div",{className:y8(n)},t):null};const _3=k3,O3=m1("Check",[["path",{d:"M20 6 9 17l-5-5",key:"1gmf2c"}]]),R3={harassment:!1,"harassment/threatening":!1,sexual:!1,hate:!1,"hate/threatening":!1,illicit:!1,"illicit/violent":!1,"self-harm/intent":!1,"self-harm/instructions":!1,"self-harm":!1,"sexual/minors":!1,violence:!1,"violence/graphic":!1},P3=(0,Ve.memo)((e=>{var t,n;let{log:r}=e;const o="yes"===(null===(t=window)||void 0===t||null===(t=t.suremails)||void 0===t?void 0:t.contentGuardActiveStatus),i=null!==(n=r.meta)&&void 0!==n&&null!==(n=n.content_guard)&&void 0!==n&&n.categories?Object.entries(r.meta.content_guard.categories):Object.entries(R3),a=null==i?void 0:i.length,s=null!=i&&i.length?i.filter((e=>{let[,t]=e;return!t})).length:0;return o&&React.createElement(_3,{defaultOpen:!0},React.createElement(_3.Trigger,{className:"flex items-center gap-1"},React.createElement("h3",{className:"text-sm font-medium text-field-label"},(0,He.__)("Reputation Shield Checks","suremails")),React.createElement("span",{className:"ml-1 text-xs font-normal text-field-helper"},s,"/",a)),React.createElement(_3.Content,null,React.createElement("div",{className:"p-4 bg-background-secondary rounded overflow-hidden space-y-2"},i.map((e=>{let[t,n]=e;const r=!n;return React.createElement("div",{key:t,className:"p-3 flex items-center justify-between shadow-sm text-text-primary bg-background-primary rounded-md"},React.createElement("p",{className:"text-sm font-medium text-text-primary"},(e=>{if(!e)return"";let t="",n=!0;for(let r=0;r<e.length;r++){const o=e[r];"/"!==o&&"-"!==o?(t+=n?o.toUpperCase():o,n=!1):(t+=" ",n=!0)}return t})(t)),React.createElement(Sa,{label:React.createElement("span",{className:"flex items-center gap-0.5"},r?React.createElement(O3,{className:"size-3 -ml-0.5"}):React.createElement(g3,{className:"size-3 -ml-0.5"}),r?(0,He.__)("Pass","suremails"):(0,He.__)("Fail","suremails")),variant:r?"green":"red",disableHover:!0}))})))))})),j3=(0,Ve.memo)((e=>{var t,n,r;let{log:o}=e;const[i,a]=(0,Ve.useState)(null),[s,l]=(0,Ve.useState)({}),c=Array.isArray(o.attachments)?o.attachments:[],u=o.headers?(e=>{const t={};let n=[];if(Array.isArray(e))n=e;else{if("string"!=typeof e)return t;n=e.split(/\r?\n/)}return n.forEach((e=>{if(!e.trim())return;const n=e.match(/^\d+:\s*(.*)$/),r=n?n[1]:e,o=r.indexOf(":");if(-1===o)return;const i=r.slice(0,o).trim();if(!i)return;const a=r.slice(o+1).trim(),s=(e=>e.split("-").map((e=>e.charAt(0).toUpperCase()+e.slice(1).toLowerCase())).join("-"))(i);t[s]||(t[s]=[]),t[s].push(a)})),t})(o.headers):{},d={From:u.From?u.From[0]:"","Reply-To":u["Reply-To"]||[],CC:u.Cc||[],BCC:u.Bcc||[],"Content-Type":u["Content-Type"]?u["Content-Type"][0]:"",Charset:(e=>{if(!e)return"";const t=e.match(/charset=([\w-]+)/i);return t?t[1]:""})(u["Content-Type"]?u["Content-Type"][0]:""),"X-Mailer":u["X-Mailer"]?u["X-Mailer"][0]:""};(0,Ve.useEffect)((()=>{const e=(o.response||[]).reduce(((e,t)=>{const n=Number(t.retry);return e[n]||(e[n]=[]),e[n].push(t),e}),{});l(e)}),[o.response]);const f=(0,Ve.useMemo)((()=>Object.keys(s).map(Number).sort(((e,t)=>e-t))),[s]),h=(0,Ve.useMemo)((()=>f.map((e=>({label:"Response ".concat(e+1),value:e})))),[f]);return(0,Ve.useEffect)((()=>{h.length>0?h.some((e=>e.value===i))||a(h[h.length-1].value):a(null)}),[h,i]),React.createElement("div",{className:"rounded-lg bg-background-secondary"},React.createElement(_3,{alwaysOpen:!0},React.createElement(_3.Content,null,React.createElement("div",{className:"space-y-2"},React.createElement("div",{className:"flex items-center justify-between"},React.createElement("p",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("Sent by:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},o.email_from)),React.createElement("div",{className:"flex items-center space-x-2"},React.createElement(Sa,{className:"py-0.5",label:o.connection,variant:"blue",disableHover:!0}),React.createElement(Sa,{className:"py-0.5",label:v8(o.status),variant:b8(o.status),disableHover:!0}))),React.createElement("div",{className:"flex items-center justify-between"},React.createElement("p",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("Sent to:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},(e=>{if(!e)return[];try{return"string"==typeof e&&e.startsWith("[")?JSON.parse(e):e.split(",").map((e=>e.trim()))}catch(t){return e.split(",").map((e=>e.trim()))}})(o.email_to).join(", "))),React.createElement("p",{className:"text-sm font-normal text-text-secondary"},f8(o.created_at,{day:!0,month:!0,year:!0,hour:!0,minute:!0,hour12:!0}))),React.createElement("p",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("Subject:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},o.subject)),React.createElement("div",{className:"flex items-start justify-start"},React.createElement("p",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary hidden"},(0,He.__)("Resent:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary hidden"},null===(t=o.meta)||void 0===t?void 0:t.resend)),React.createElement("p",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("Retries:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},null===(n=o.meta)||void 0===n?void 0:n.retry)))))),React.createElement(_3,{defaultOpen:!0},React.createElement(_3.Trigger,null,React.createElement("h3",{className:"text-sm font-medium text-field-label"},(0,He.__)("Email Body","suremails"))),React.createElement(_3.Content,{className:"bg-background-secondary rounded overflow-hidden"},React.createElement("div",{ref:(p=o.body,e=>{if(!e||!p)return;const t=new x8(e);if(t.hasChildNodes())return;const n=document.createElement("div");n.style.padding=w8(p)?"0":"0.5rem",n.innerHTML=(e=>{if(!e)return"";let t=e;if(!w8(e)){const e=/(https?:\/\/[^\s]+)/g;t=t.replace(e,'<a href="$1" target="_blank" rel="noopener noreferrer">$1</a>'),t=function(e){return null==e?"":(e+"").replace(/([^>\r\n]?)(\r\n|\n\r|\r|\n)/g,"$1"+(arguments.length>1&&void 0!==arguments[1]&&arguments[1]?"<br />":"<br>")+"$2")}(t.trim())}return d8.addHook("afterSanitizeAttributes",(function(e){"target"in e&&(e.setAttribute("target","_blank"),e.setAttribute("rel","noopener noreferrer"))})),d8.sanitize(t)})(p),t.appendChild(n)})},!o.body&&(0,He.__)("No email body available.","suremails")))),React.createElement(P3,{log:o}),React.createElement(_3,{defaultOpen:!0},React.createElement(_3.Trigger,null,React.createElement("h3",{className:"text-sm font-medium text-field-label"},(0,He.__)("Server Response","suremails"))),React.createElement(_3.Content,null,React.createElement("div",{className:"flex flex-col gap-2 mt-2"}," ",React.createElement(Ap,{value:(e=>{const t=h.find((t=>t.value===e));return t?t.label:""})(i),onChange:e=>{a(e)},className:"w-full",by:i},React.createElement(Ap.Button,null),React.createElement(Ap.Options,null,h.map((e=>React.createElement(Ap.Option,{key:e.value,value:e.value},e.label))))),React.createElement("div",{className:"flex items-start justify-between gap-2 mt-2 rounded-md bg-background-primary"},React.createElement("div",{className:"flex-1"},(null===(r=s[i])||void 0===r?void 0:r.length)>0?React.createElement("div",{className:"flex flex-col gap-2"}," ",s[i].map(((e,t)=>React.createElement("div",{key:t,className:"py-2 px-2 gap-3 rounded border bg-background-secondary"},React.createElement("div",{className:"flex flex-col gap-1"}," ",React.createElement("p",{className:"font-medium text-sm text-text-primary"},(0,He.__)("Message:","suremails")," ",React.createElement("span",{className:"font-normal text-sm text-text-secondary"},e.Message)),React.createElement("p",{className:"font-medium text-sm text-text-primary"},(0,He.__)("Connection:","suremails")," ",React.createElement("span",{className:"font-normal text-text-secondary"},e.timestamp?((e,t)=>{const n=f8(t,{day:!0,month:!0,year:!0,hour:!0,minute:!0,hour12:!0});return"Used ".concat(e,", at ").concat(n)})(e.Connection,e.timestamp):(e=>{const t=e.lastIndexOf(", at ");if(-1===t)return e;const n=e.substring(t+5).trim(),r=new Date(n+" UTC");if(isNaN(r.getTime()))return e;const o=r.toLocaleString("en-US",{month:"short",day:"numeric",year:"numeric",hour:"numeric",minute:"2-digit",hour12:!0});return e.substring(0,t)+", at ".concat(o)})(e.Connection)))))))):React.createElement("p",{className:"text-sm text-text-secondary"},(0,He.__)("No server response available.","suremails"))))))),React.createElement(_3,{defaultOpen:!0},React.createElement(_3.Trigger,null,React.createElement("h3",{className:"text-sm font-medium text-field-label"},(0,He.__)("Email Headers","suremails"))),React.createElement(_3.Content,null,React.createElement("div",{className:"mt-2 space-y-2"},React.createElement("div",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("From:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},d.From&&d.From.length>0?React.createElement("span",null,d.From):"")),React.createElement("div",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("Reply-To:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},d["Reply-To"]&&d["Reply-To"].length>0?React.createElement("span",null,d["Reply-To"].join(", ")):"")),React.createElement("div",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("CC:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},d.CC&&d.CC.length>0?React.createElement("span",null,d.CC.join(", ")):"")),React.createElement("div",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("BCC:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},d.BCC&&d.BCC.length>0?React.createElement("span",null,d.BCC.join(", ")):"")),React.createElement("div",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("Content-Type:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},d["Content-Type"]||"")),React.createElement("div",null,React.createElement("strong",{className:"text-sm font-normal text-text-tertiary"},(0,He.__)("X-Mailer:","suremails"))," ",React.createElement("strong",{className:"text-sm font-normal text-text-primary"},d["X-Mailer"]||""))))),React.createElement(_3,{defaultOpen:c.length>0},React.createElement(_3.Trigger,null,React.createElement("h3",{className:"text-sm font-medium text-field-label"},(0,He.sprintf)((0,He.__)("Attachments (%d)","suremails"),c.length))),React.createElement(_3.Content,null,React.createElement("div",{className:"mt-2"},c.length>0?React.createElement("ul",{className:"space-y-1 list-inside"},c.map(((e,t)=>React.createElement("li",{key:t},null!=e?e:(0,He.sprintf)((0,He.__)("Attachment %s","suremails"),t+1))))):React.createElement("p",{className:"text-sm text-text-secondary"},(0,He.__)("No attachments.","suremails"))))));var p})),T3=m1("Redo2",[["path",{d:"m15 14 5-5-5-5",key:"12vg1m"}],["path",{d:"M20 9H9.5A5.5 5.5 0 0 0 4 14.5A5.5 5.5 0 0 0 9.5 20H13",key:"6uklza"}]]),M3=e=>{let{log:t,isOpen:n,setOpen:r,onClose:o,onResendSuccess:i}=e;const[a,s]=(0,Ve.useState)(!1),[l,c]=(0,Ve.useState)({title:"",description:"",onConfirm:null,confirmButtonText:""}),[u,d]=(0,Ve.useState)(!1),f=async()=>{s(!1),d(!0);try{const e=await C3([t.id]);e.success?(Op.success((0,He.__)("Emails resent successfully.","suremails")),i()):Op.error((0,He.__)("Failed to resend emails.","suremails"),{description:e.message||(0,He.__)("There was an issue resending emails.","suremails")})}catch(e){Op.error((0,He.__)("Error resending emails.","suremails"),{description:e.message||(0,He.__)("There was an issue resending emails.","suremails")})}finally{d(!1)}};return React.createElement(React.Fragment,null,React.createElement(NA,{design:"simple",exitOnEsc:!0,position:"right",scrollLock:!0,setOpen:e=>{r(e),!e&&o&&o()},transitionDuration:.2,open:n,className:"w-[752px] z-999999"},React.createElement(NA.Panel,{className:"w-[752px]"},React.createElement(NA.Header,null,React.createElement("div",{className:"flex items-center justify-between text-base font-semibold gap-3"},React.createElement(nm,{justify:"between",className:"w-full"},React.createElement(NA.Title,null,(0,He.__)("Email Log","suremails")),React.createElement(tn,{className:"py-0.5 font-semibold hidden",iconPosition:"left",size:"xs",variant:"primary",icon:u?React.createElement(E8,{className:"mr-2 animate-spin"}):React.createElement(T3,null),onClick:()=>{c({title:(0,He.__)("Confirm Resend","suremails"),description:(0,He.__)("Are you sure you want to resend this email?","suremails"),onConfirm:f,confirmButtonText:(0,He.__)("Resend","suremails")}),s(!0)},loading:u},(0,He.__)("Resend","suremails"))),React.createElement(NA.CloseButton,null))),React.createElement(NA.Body,{className:"space-y-4 overflow-x-hidden pb-10"},React.createElement(j3,{log:t}))),React.createElement(NA.Backdrop,null)),React.createElement(e3,{isOpen:a,title:l.title,description:l.description,onConfirm:l.onConfirm,onCancel:()=>s(!1),confirmButtonText:l.confirmButtonText||(0,He.__)("Confirm","suremails"),cancelButtonText:(0,He.__)("Cancel","suremails"),destructiveConfirmButton:!1}))},N3=()=>React.createElement("div",{className:"p-6 bg-background-secondary"},React.createElement("div",{className:"p-6 bg-background-primary rounded-lg shadow-lg"},React.createElement("div",{className:"flex items-center justify-between mb-4"},React.createElement(Gw,{className:"w-32 h-6",variant:"rectangular"}),React.createElement("div",{className:"flex space-x-4"},React.createElement(Gw,{className:"w-20 h-8",variant:"rectangular"}),React.createElement(Gw,{className:"w-40 h-8",variant:"rectangular"}),React.createElement(Gw,{className:"w-40 h-8",variant:"rectangular"}),React.createElement(Gw,{className:"w-40 h-8",variant:"rectangular"}))),React.createElement(i1,null,React.createElement(i1.Head,null,["Subject","Status","Email To","Date & Time","Actions"].map(((e,t)=>React.createElement(i1.HeadCell,{key:t,className:"px-4 py-2 border"},React.createElement(Gw,{className:"w-full h-6",variant:"rectangular"}))))),React.createElement(i1.Body,null,Array.from({length:10}).map(((e,t)=>React.createElement(i1.Row,{key:t},Array.from({length:5}).map(((e,t)=>React.createElement(i1.Cell,{key:t,className:"px-4 py-2 border"},React.createElement(Gw,{className:"w-full h-6",variant:"rectangular"}))))))))),React.createElement("div",{className:"flex justify-end mt-4"},React.createElement(Gw,{className:"w-48 h-8",variant:"rectangular"})))),L3=[{value:"sent",label:(0,He.__)("Successful","suremails")},{value:"failed",label:(0,He.__)("Failed","suremails")},{value:"pending",label:(0,He.__)("In Progress","suremails")},{value:"blocked",label:(0,He.__)("Blocked","suremails")}],D3=()=>{const[e,t]=(0,Ve.useState)(1),[n,r]=(0,Ve.useState)({from:null,to:null}),[o,i]=(0,Ve.useState)(""),[a,s]=(0,Ve.useState)(""),[l,c]=(0,Ve.useState)(null),[u,d]=(0,Ve.useState)(!1),[f,h]=(0,Ve.useState)([]),[p,m]=(0,Ve.useState)(!1),[g,y]=(0,Ve.useState)(!1),[v,b]=(0,Ve.useState)({title:"",description:"",onConfirm:null}),x=(0,Ve.useRef)(null),w=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:500,n=arguments.length>2?arguments[2]:void 0;const[r,o]=(0,Ve.useState)(e);return(0,Ve.useEffect)((()=>{const r=setTimeout((()=>{o(e),n()}),t);return()=>clearTimeout(r)}),[e,t]),r}(a,500,(()=>t(1))),C=w1(),{data:A,isLoading:E,error:S}=h0({queryKey:["logs",e,n.from,n.to,o,w],queryFn:()=>(async e=>{let{pageNumber:t=1,startDate:n=null,endDate:r=null,filter:o="",searchTerm:i="",logsPerPage:a=10}=e;try{return await _8()({path:"/suremails/v1/email-logs",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify({page:t,per_page:a,start_date:n?g8(new Date(n),"yyyy-MM-dd"):null,end_date:r?g8(new Date(r),"yyyy-MM-dd"):null,filter:o.toLowerCase()||null,search:i||null})})}catch(e){throw new Error(e.message||(0,He.__)("There was an issue fetching logs.","suremails"))}})({pageNumber:e,startDate:n.from,endDate:n.to,filter:o,searchTerm:w,logsPerPage:10}),keepPreviousData:!0,refetchInterval:1e5,refetchOnReconnect:!0}),k=(null==A?void 0:A.logs)||[],_=null!=A&&A.total_count?Math.ceil(A.total_count/10):1,O=g0({mutationFn:w3,onSuccess:(n,r)=>{n.success&&(Op.success((0,He.__)("Logs deleted successfully.","suremails")),C.invalidateQueries({queryKey:["logs"]}),C.refetchQueries({queryKey:["dashboard-data"],exact:!0}),A.logs.length===r.length&&A.logs.length<10&&e>1&&t((e=>Math.max(e-1,1))))},onError:e=>{Op.error((0,He.__)("Failed to delete logs.","suremails"),{description:e.message||(0,He.__)("There was an issue deleting logs.","suremails")})},onSettled:()=>{y(!1),h([])}}),R=g0({mutationFn:C3,onSuccess:e=>{e.success&&(Op.success((0,He.__)("Emails resent successfully.","suremails")),C.invalidateQueries({queryKey:["logs"]}),C.refetchQueries({queryKey:["dashboard-data"],exact:!0}))},onError:e=>{Op.error((0,He.__)("Failed to resend emails.","suremails"),{description:e.message||(0,He.__)("There was an issue resending emails.","suremails")})},onSettled:()=>{y(!1),h([])}});S&&Op.error((0,He.__)("Failed to fetch logs.","suremails"),{description:S.message||(0,He.__)("There was an issue fetching logs.","suremails")}),(0,Ve.useEffect)((()=>{function e(e){p&&x.current&&!x.current.contains(e.target)&&m(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[p]);if(!(E||0!==k.length||n.from||n.to||o||w))return React.createElement("div",{className:"min-h-screen p-6 overflow-hidden bg-background-secondary"},React.createElement(b3,null));let P;P=E?React.createElement(N3,null):0===k.length&&(n.from||n.to||o||w)?React.createElement(x3,{startDate:n.from,endDate:n.to,filter:o,searchTerm:w,setSelectedDates:r,setFilter:i,setPage:t}):React.createElement(i1,{className:"bg-background-primary",checkboxSelection:!0},React.createElement(i1.Head,{className:"bg-background-secondary",onChangeSelection:()=>{h(f.length===k.length?[]:k.map((e=>e.id)))},indeterminate:f.length>0&&f.length<k.length,selected:(null==f?void 0:f.length)>0},React.createElement(i1.HeadCell,null,(0,He.__)("Subject","suremails")),React.createElement(i1.HeadCell,{className:"w-1/8"},(0,He.__)("Status","suremails")),React.createElement(i1.HeadCell,{className:"w-1/6"},(0,He.__)("Email To","suremails")),React.createElement(i1.HeadCell,null,(0,He.__)("Connection","suremails")),React.createElement(i1.HeadCell,{className:"w-1/6"},(0,He.__)("Date & Time","suremails")),React.createElement(i1.HeadCell,{className:"w-12"},React.createElement("span",{className:"sr-only"},(0,He.__)("Actions","suremails")))),React.createElement(i1.Body,null,k.map((e=>React.createElement(i1.Row,{key:e.id,className:"whitespace-nowrap",selected:f.includes(e.id),onChangeSelection:()=>{return t=e.id,void h((e=>e.includes(t)?e.filter((e=>e!==t)):[...e,t]));var t}},React.createElement(i1.Cell,null,React.createElement(i3,{text:e.subject,className:"max-w-[21.875rem]"})),React.createElement(i1.Cell,null,React.createElement(Sa,{className:"max-w-fit",label:v8(e.status),variant:b8(e.status),size:"sm",disableHover:!0})),React.createElement(i1.Cell,null,React.createElement(i3,{text:e.email_to})),React.createElement(i1.Cell,null,React.createElement(Sa,{className:"inline-block",label:e.connection,variant:"blue",size:"sm",disableHover:!0})),React.createElement(i1.Cell,null,f8(e.created_at,{day:!0,month:!0,year:!0,hour:!0,minute:!0,hour12:!0})),React.createElement(i1.Cell,null,React.createElement("div",{className:"flex justify-end gap-2"},React.createElement(o3,{content:(0,He.__)("Resend Email","suremails"),position:"top",arrow:!0,className:"hidden"},React.createElement(tn,{className:"text-icon-secondary hidden hover:text-icon-primary",size:"xs",onClick:()=>T([e.id]),icon:React.createElement(p3,null),variant:"ghost","aria-label":(0,He.__)("Resend","suremails")})),React.createElement(o3,{content:(0,He.__)("Delete Log","suremails"),position:"top",arrow:!0},React.createElement(tn,{className:"text-icon-secondary hover:text-icon-primary",size:"xs",onClick:()=>j([e.id]),icon:React.createElement(b1,null),variant:"ghost","aria-label":(0,He.__)("Delete","suremails")})),React.createElement(o3,{content:(0,He.__)("View Details","suremails"),position:"top",arrow:!0},React.createElement(tn,{className:"text-icon-secondary hover:text-icon-primary",size:"xs",onClick:()=>(e=>{c(e),d(!0)})(e),icon:React.createElement(m3,null),variant:"ghost","aria-label":(0,He.__)("View Details","suremails"),disabled:"pending"===e.status})))))))),React.createElement(i1.Footer,{className:"flex items-center justify-between"},React.createElement("div",{className:"text-sm font-normal text-text-secondary whitespace-nowrap"},(0,He.__)("Page","suremails")," ",e," ",(0,He.__)("out of","suremails")," ",_),React.createElement("div",{className:"flex items-center space-x-2"},React.createElement(BA,{size:"sm"},React.createElement(BA.Content,{className:"[&>li]:m-0"},React.createElement(BA.Previous,{tag:"button",onClick:()=>t((e=>Math.max(e-1,1))),disabled:1===e}),function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:1;const r=2*n;if(r+5>=t)return Array.from({length:t},((e,t)=>t+1));const o=Math.max(e-n,1)>2,i=Math.min(e+n,t)<t-1,a=t,s=[];if(!o&&i){const e=3+r,t=Array.from({length:e},((e,t)=>t+1));s.push(...t,"ellipsis",a)}else if(o&&!i){const e=3+r,n=Array.from({length:e},((n,r)=>t-e+r+1));s.push(1,"ellipsis",...n)}else if(o&&i){const t=Array.from({length:r+1},((t,r)=>e-n+r));s.push(1,"ellipsis",...t,"ellipsis",a)}return s}(e,_,1).map(((n,r)=>"ellipsis"===n?React.createElement(BA.Ellipsis,{key:"ellipsis-".concat(r)}):React.createElement(BA.Item,{key:n,isActive:e===n,onClick:()=>{t(n)}},n))),React.createElement(BA.Next,{tag:"button",onClick:()=>t((e=>Math.min(e+1,_))),disabled:e===_}))))));const j=e=>{b({title:(0,He.__)("Confirm Deletion","suremails"),description:(0,He.__)("Are you sure you want to delete the selected log(s)? This action cannot be undone.","suremails"),onConfirm:()=>(async e=>{await O.mutateAsync(e)})(e),destructiveConfirmButton:!0}),y(!0)},T=e=>{b({title:(0,He.__)("Confirm Resend","suremails"),description:(0,He.__)("Are you sure you want to resend the selected email(s)?","suremails"),onConfirm:()=>(async e=>{await R.mutateAsync(e)})(e),destructiveConfirmButton:!1}),y(!0)};return React.createElement(React.Fragment,null,React.createElement("div",{className:"min-h-screen px-8 py-8 bg-background-secondary"},React.createElement("div",{className:"p-4 space-y-2 border-0.5 border-solid shadow-sm bg-background-primary rounded-xl border-border-subtle"},React.createElement("div",null,React.createElement("div",{className:"flex items-center justify-between p-1.25"},React.createElement(q9,{title:(0,He.__)("Email Logs","suremails"),tag:"h4"}),React.createElement("div",{className:"flex space-x-4"},f.length>0?React.createElement(React.Fragment,null,React.createElement(tn,{variant:"primary",icon:React.createElement(p3,null),size:"sm",onClick:()=>T(f),className:"font-medium hidden"},(0,He.__)("Resend Emails","suremails")),React.createElement(tn,{variant:"outline",icon:React.createElement(b1,null),size:"sm",onClick:()=>j(f),destructive:!0},(0,He.__)("Delete","suremails"))):React.createElement(React.Fragment,null,(n.from||n.to||o||a)&&React.createElement(tn,{variant:"link",size:"sm",icon:React.createElement(g3,null),onClick:()=>{r({from:null,to:null}),i(""),s(""),t(1)},destructive:!0,className:"leading-4 no-underline hover:no-underline min-w-fit focus:[box-shadow:none]"},(0,He.__)("Clear Filters","suremails")),React.createElement(_a,{className:"w-52",type:"text",size:"sm",onChange:s,value:a,placeholder:(0,He.__)("Search…","suremails"),required:!0,prefix:React.createElement(y3,{className:"text-icon-secondary"})}),React.createElement(Ap,{value:o,onChange:i,size:"sm"},React.createElement(Ap.Button,{className:"w-52 h-[2rem] [&_div]:text-xs",placeholder:(0,He.__)("Status","suremails")},(e=>{let{value:t}=e;return t?v8(t):(0,He.__)("Select Status","suremails")})),React.createElement(Ap.Portal,{id:"suremails-root-app",className:"z-999999"},React.createElement(Ap.Options,null,L3.map((e=>React.createElement(Ap.Option,{key:e.value,value:e.value,className:"text-xs"},e.label)))))),React.createElement("div",{className:"relative",ref:x},React.createElement(_a,{type:"text",size:"sm",value:m8(n),suffix:React.createElement(v3,{className:"text-icon-secondary"}),onClick:()=>m(!p),placeholder:(0,He.__)("mm/dd/yyyy - mm/dd/yyyy","suremails"),className:"cursor-pointer w-52",readOnly:!0}),p&&React.createElement("div",{className:"absolute right-0 z-10 mt-2 rounded-lg shadow-lg"},React.createElement(GS,{applyButtonText:(0,He.__)("Apply","suremails"),cancelButtonText:(0,He.__)("Cancel","suremails"),selectionType:"range",showOutsideDays:!1,variant:"presets",onApply:e=>{const{from:n,to:o}=e;if(n&&o){const t=new Date(n),i=new Date(o);r(t>i?{from:o,to:n}:e)}else r({from:n,to:null});m(!1),t(1)},onCancel:()=>{m(!1)},selected:n}))))))),React.createElement("div",{className:"overflow-hidden bg-background-primary"},P))),React.createElement(e3,{isOpen:g,title:v.title,description:v.description,onConfirm:v.onConfirm,onCancel:()=>y(!1),confirmButtonText:(()=>{const e=v.title.toLowerCase();return e.includes("resend")?(0,He.__)("Resend","suremails"):e.includes("deletion")?(0,He.__)("Delete","suremails"):(0,He.__)("Confirm","suremails")})(),cancelButtonText:(0,He.__)("Cancel","suremails"),destructiveConfirmButton:!(null==v||!v.destructiveConfirmButton)}),React.createElement(M3,{isOpen:l&&u,setOpen:d,log:l,onClose:()=>{d(!1),c(null)},onResendSuccess:()=>{d(!1),C.invalidateQueries({queryKey:["logs"]})}}))},I3=m1("ChartColumn",[["path",{d:"M3 3v16a2 2 0 0 0 2 2h16",key:"c24i48"}],["path",{d:"M18 17V9",key:"2bz60n"}],["path",{d:"M13 17V5",key:"1frdt8"}],["path",{d:"M8 17v-3",key:"17ska0"}]]),F3=e=>{let{totalSent:t=0,totalFailed:n=0,chartData:r=[],hasConnections:o=!0}=e;const[i,a]=(0,Ve.useState)({from:null,to:null}),[s,l]=(0,Ve.useState)(!1),[c,u]=(0,Ve.useState)([]),[d,f]=(0,Ve.useState)(0),[h,p]=(0,Ve.useState)(0),m=(0,Ve.useRef)(null),g=w1(),y=G();return(0,Ve.useEffect)((()=>{if(0===r.length)f(0),p(0),u([]);else{const e=[...r].sort(((e,t)=>new Date(e.created_at)-new Date(t.created_at))).map((e=>({month:g8(new Date(e.created_at),"MMM dd, yyyy"),sent:parseInt(e.total_sent,10)||0,failed:parseInt(e.total_failed,10)||0})));u(e),f(t||0),p(n||0)}}),[t,n,r]),(0,Ve.useEffect)((()=>{i.from&&(async e=>{if(!e.from)return;const t=g8(new Date(e.from),"yyyy/MM/dd"),n=e.to?g8(new Date(e.to),"yyyy/MM/dd"):t;try{var r;const e=await _8()({path:"/suremails/v1/email-stats",method:"POST",headers:{"X-WP-Nonce":null===(r=window.suremails)||void 0===r?void 0:r.nonce,"Content-Type":"application/json"},body:JSON.stringify({start_date:t,end_date:n})});if(e.success){const t=[...e.data.chart_data].sort(((e,t)=>new Date(e.created_at)-new Date(t.created_at))).map((e=>({month:g8(new Date(e.created_at),"MMM dd, yyyy"),sent:parseInt(e.total_sent,10)||0,failed:parseInt(e.total_failed,10)||0})));f(e.data.total_sent||0),p(e.data.total_failed||0),u(t)}else f(0),p(0),u([])}catch(e){f(0),p(0),u([])}})(i)}),[i.from,i.to]),(0,Ve.useEffect)((()=>{function e(e){s&&m.current&&!m.current.contains(e.target)&&l(!1)}return document.addEventListener("mousedown",e),()=>{document.removeEventListener("mousedown",e)}}),[s]),React.createElement(nm,{containerType:"flex",direction:"column",gap:"xs",className:"w-full h-full p-4 rounded-xl bg-background-primary border-border-subtle border-0.5"},React.createElement(nm.Item,{className:"flex items-center justify-between w-full p-1"},React.createElement(q9,{title:(0,He.__)("Overview","suremails"),tag:"h5"}),React.createElement("div",{className:"flex items-center gap-2"},i.from||i.to?React.createElement(tn,{variant:"link",size:"xs",icon:React.createElement(g3,null),onClick:()=>{a({from:null,to:null});const e=g.getQueryData(["dashboard-data"]);if(e){const t=[...e.chart_data].sort(((e,t)=>new Date(e.created_at)-new Date(t.created_at))).map((e=>({month:g8(new Date(e.created_at),"MMM dd, yyyy"),sent:parseInt(e.total_sent,10)||0,failed:parseInt(e.total_failed,10)||0})));u(t),f(e.total_sent||0),p(e.total_failed||0)}else f(0),p(0),u([])},className:"text-button-danger no-underline focus:ring-0 [box-shadow:none] focus:[box-shadow:none] hover:no-underline hover:text-button-danger","aria-label":(0,He.__)("Clear Filters","suremails")},(0,He.__)("Clear Filters","suremails")):null,React.createElement("div",{className:"relative",ref:m},React.createElement(_a,{type:"text",size:"sm",value:m8(i),suffix:React.createElement(v3,{className:"text-icon-secondary"}),onClick:()=>l((e=>!e)),placeholder:h8(),className:"w-auto min-w-[200px] cursor-pointer [&>input]:min-h-8 rounded-sm shadow-sm border border-border-subtle",readOnly:!0,"aria-label":(0,He.__)("Select Date Range","suremails")}),s&&React.createElement("div",{className:"absolute z-10 mt-2 rounded-lg shadow-lg right-0 bg-background-primary"},React.createElement(GS,{applyButtonText:(0,He.__)("Apply","suremails"),cancelButtonText:(0,He.__)("Cancel","suremails"),selectionType:"range",showOutsideDays:!1,variant:"presets",onApply:e=>{const{from:t,to:n}=e;if(t&&n){const r=new Date(t),o=new Date(n);a(r>o?{from:n,to:t}:e)}else a(t&&!n?{from:t,to:t}:{from:null,to:null});l(!1)},onCancel:()=>{l(!1)},selected:p8(30)}))))),React.createElement(nm.Item,{className:y8("w-full flex items-stretch justify-between gap-1 bg-background-secondary rounded-lg",c.length>0?"p-1":"p-0")},React.createElement(nm,{className:y8("w-full flex flex-col flex-1 p-3 overflow-hidden bg-background-primary",c.length>0?"rounded-md shadow-sm":""),containerType:"flex",direction:"column"},c.length>0?React.createElement("div",{className:"flex-1 w-full"},React.createElement("div",{className:"w-full h-full min-h-[248px] min-[1427px]:min-h-[228px]"},React.createElement(J$,{data:c,dataKeys:["sent","failed"],colors:[{stroke:"#0EA5E9"},{stroke:"#A855F7"}],showXAxis:!1,showYAxis:!1,showTooltip:!0,showCartesianGrid:!0,tooltipIndicator:"dot",tickFormatter:e=>g8(new Date(e),"MMM dd, yyyy"),xAxisDataKey:"month",chartWidth:"100%",chartHeight:"100%",tooltipLabelKey:"month",lineChartWrapperProps:{margin:{top:30,bottom:30,right:5,left:5}}}))):React.createElement("div",{className:"flex flex-col items-center justify-center h-full  min-[1427px]:min-h-[236px] min-h-[256px] gap-3"},React.createElement("div",{className:"flex flex-col items-center justify-center w-[29.375rem]"},React.createElement(I3,{className:"mb-3"}),React.createElement("div",{className:"flex flex-col items-center space-y-1"},React.createElement(rn,{tag:"p",className:"text-sm font-medium text-center text-text-primary"},(0,He.__)("No Email Stats Available","suremails")),React.createElement(rn,{tag:"p",className:"text-sm font-normal text-center text-text-secondary"},(0,He.__)("Once your emails start sending, you’ll see detailed stats here to help you monitor and manage your email activity.","suremails")))),React.createElement("div",null,!o&&React.createElement(tn,{variant:"primary",size:"sm",icon:React.createElement(g1,null),iconPosition:"left",onClick:()=>y("/connections",{state:{openDrawer:!0}}),className:"font-medium"},(0,He.__)("Add Connection","suremails"))))),c.length>0&&React.createElement(nm,{containerType:"flex",direction:"column",className:"w-[30%] gap-1 bg-background-secondary rounded-lg"},React.createElement(nm.Item,{className:"flex flex-col items-start justify-center flex-1 p-3 text-left rounded-md shadow-sm bg-background-primary"},React.createElement("div",{className:"flex items-center mb-1"},React.createElement("div",{className:"w-3 h-3 rounded bg-[#0EA5E9]"}),React.createElement(rn,{className:"p-1 text-xs text-text-tertiary"},(0,He.__)("Email Sent","suremails"))),React.createElement(rn,{className:"p-1 mt-3 text-4xl font-semibold text-text-primary leading-[44px]"},String(d))),React.createElement(nm.Item,{className:"flex flex-col items-start justify-center flex-1 p-3 text-left rounded-md shadow-sm bg-background-primary"},React.createElement("div",{className:"flex items-center mb-1"},React.createElement("div",{className:"w-3 h-3 rounded bg-[#A855F7]"}),React.createElement(rn,{className:"p-1 text-xs text-text-tertiary"},(0,He.__)("Email Failed","suremails"))),React.createElement(rn,{className:"p-1 mt-3 text-4xl font-semibold text-text-primary leading-[44px]"},String(h))))))};function B3(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function z3(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?B3(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):B3(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const V3=[{id:"1",badgeText:(0,He.__)("Free","suremails"),svg:React.createElement(I9,null),title:(0,He.__)("SureForms","suremails"),description:(0,He.__)("Best no code WordPress form builder.","suremails"),slug:"sureforms",name:(0,He.__)("SureForms","suremails")},{id:"2",badgeText:(0,He.__)("Free","suremails"),svg:React.createElement(L9,null),title:(0,He.__)("Spectra","suremails"),description:(0,He.__)("Free WordPress Page Builder.","suremails"),slug:"ultimate-addons-for-gutenberg",name:(0,He.__)("Spectra","suremails")},{id:"3",badgeText:(0,He.__)("Free","suremails"),svg:React.createElement(N9,null),title:(0,He.__)("SureCart","suremails"),description:(0,He.__)("The new way to sell on WordPress.","suremails"),slug:"surecart",name:(0,He.__)("SureCart","suremails")},{id:"4",badgeText:(0,He.__)("Free","suremails"),svg:React.createElement(D9,null),title:(0,He.__)("SureTriggers","suremails"),description:(0,He.__)("Automate your WordPress setup.","suremails"),slug:"suretriggers",name:(0,He.__)("SureTriggers","suremails")}],H3=(e,t,n)=>new Promise((async(r,o)=>{var i;const a="install"===t;if(!wp.updates)return void o(new Error((0,He.__)("WordPress updates API not available.","suremails")));n((t=>[...t,e.slug]));const s=a?wp.updates.installPlugin:wp.ajax.send,l=a?{slug:e.slug}:{slug:"".concat(e.slug,"/").concat(e.slug,".php"),_ajax_nonce:null===(i=window.suremails)||void 0===i?void 0:i._ajax_nonce},c={success:()=>{r()},error:e=>{o(new Error(e.errorMessage||(0,He.__)("Operation failed.","suremails")))}};a?s(z3(z3({},l),c)):s("suremails-activate_plugin",z3({data:l},c))})),W3=(0,Ve.memo)((()=>{const[e,t]=(0,Ve.useState)([]),[n,r]=(0,Ve.useState)([]),o=w1(),{data:i}=h0({queryKey:["installed-plugins"],queryFn:async()=>{var e,t,n;const r=await _8()({path:"/suremails/v1/installed-plugins",method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":null===(e=window.suremails)||void 0===e?void 0:e.nonce}});if(null!=r&&r.success&&null!=r&&null!==(t=r.plugins)&&void 0!==t&&t.installed&&null!=r&&null!==(n=r.plugins)&&void 0!==n&&n.active)return{installed:r.plugins.installed,active:r.plugins.active};throw new Error((0,He.__)("Invalid data received from server.","suremails"))},refetchInterval:1e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!0}),a=async t=>{if(null!=i&&i.active.includes(t.slug))Op.info((0,He.__)("Already Activated","suremails"),{description:(0,He.__)("Plugin is already activated.","suremails")});else if(e.length>0||n.length>0)Op.info((0,He.__)("Operation in Progress","suremails"),{description:(0,He.__)("Another operation is in progress. Please wait.","suremails")});else try{await H3(t,"activate",r),Op.success((0,He.__)("Activation Complete","suremails"),{description:(0,He.__)("Plugin activated successfully.","suremails")}),o.invalidateQueries(["installed-plugins"])}catch(e){Op.error((0,He.__)("Activation Failed","suremails"),{description:(0,He.__)("Failed to activate plugin: ","suremails")+(e.message||"")})}finally{r((e=>e.filter((e=>e!==t.slug))))}};return React.createElement(React.Fragment,null,React.createElement(nm,{containerType:"flex",gap:"xs",direction:"column",className:"p-3 border-solid rounded-xl border-border-subtle border-0.5 gap-1"},React.createElement(nm.Item,{className:"md:w-full lg:w-full"},React.createElement(nm,{className:"p-1",justify:"between",gap:"xs",align:"center"},React.createElement(nm.Item,null,React.createElement(q9,{title:(0,He.__)("Extend Your Website","suremails"),tag:"h6"})))),React.createElement(nm.Item,{className:"rounded-lg md:w-full lg:w-full bg-field-primary-background"},React.createElement(nm,{containerType:"grid",className:"gap-1 p-1 grid-cols-2 md:grid-cols-4 min-[1020px]:grid-cols-1 xl:grid-cols-2"},V3.map((r=>React.createElement(nm.Item,{key:r.id,className:"flex"},React.createElement(nm,{containerType:"flex",direction:"column",className:"w-[190px] min-w-[144px] min-h-[135px] flex-1 gap-1 p-2 rounded-md shadow-soft-shadow-inner bg-background-primary"},React.createElement(nm.Item,null,React.createElement(nm,{className:"items-center gap-1.5 p-1"},React.createElement(nm.Item,{className:"[&>svg]:size-5 flex",grow:0,shrink:0},r.svg),React.createElement(nm.Item,{className:"flex"},React.createElement(rn,{className:"text-sm font-medium"},r.title)))),React.createElement(nm.Item,{className:"gap-0.5 p-1"},React.createElement(rn,{variant:"help",className:"text-sm font-normal text-text-tertiary"},r.description)),React.createElement(nm.Item,{className:"gap-0.5 px-1 pt-2 pb-1 mt-auto"},(r=>{const s=e.includes(r.slug),l=n.includes(r.slug),c=null==i?void 0:i.installed.includes(r.slug),u=null==i?void 0:i.active.includes(r.slug);return c?c&&!u?React.createElement(tn,{variant:"outline",className:"no-underline bg-button-tertiary text-text-primary hover:no-underline border-border-subtle [&_svg]:size-4",size:"xs",onClick:()=>a(r),disabled:s||l,icon:(s||l)&&React.createElement(Ra,{variant:"primary"}),iconPosition:"left"},(0,He.__)("Activate","suremails")):u?React.createElement(tn,{variant:"outline",className:"shadow-sm bg-badge-background-green text-text-primary border-border-subtle hover:no-underline",size:"xs"},(0,He.__)("Activated","suremails")):null:React.createElement(tn,{variant:"outline",className:"no-underline border-border-subtle text-text-primary hover:no-underline [&_svg]:size-4",size:"xs",onClick:()=>(async r=>{if(null!=i&&i.installed.includes(r.slug))Op.info((0,He.__)("Already Installed","suremails"),{description:(0,He.__)("Plugin is already installed.","suremails")});else if(e.length>0||n.length>0)Op.info((0,He.__)("Installation in Progress","suremails"),{description:(0,He.__)("Another operation is in progress. Please wait.","suremails")});else try{await H3(r,"install",t),Op.success((0,He.__)("Installation Complete","suremails"),{description:(0,He.__)("Plugin installed successfully.","suremails")}),o.invalidateQueries(["installed-plugins"]),await a(r)}catch(e){Op.error((0,He.__)("Installation Failed","suremails"),{description:(0,He.__)("Failed to install plugin: ","suremails")+(e.message||"")})}finally{t((e=>e.filter((e=>e!==r.slug))))}})(r),icon:(s||l)&&React.createElement(Ra,{variant:"primary"}),iconPosition:"left",disabled:s||l},(0,He.__)("Install & Activate","suremails"))})(r))))))))))})),U3=m1("CircleHelp",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M9.09 9a3 3 0 0 1 5.83 1c0 2-3 3-3 3",key:"1u773s"}],["path",{d:"M12 17h.01",key:"p32p05"}]]),Z3=m1("MessagesSquare",[["path",{d:"M14 9a2 2 0 0 1-2 2H6l-4 4V4a2 2 0 0 1 2-2h8a2 2 0 0 1 2 2z",key:"p1xzt8"}],["path",{d:"M18 9h2a2 2 0 0 1 2 2v11l-4-4h-6a2 2 0 0 1-2-2v-1",key:"1cx29u"}]]),q3=m1("Star",[["polygon",{points:"12 2 15.09 8.26 22 9.27 17 14.14 18.18 21.02 12 17.77 5.82 21.02 7 14.14 2 9.27 8.91 8.26 12 2",key:"8f66p6"}]]),Y3=[{id:"1",icon:React.createElement(U3,{className:"w-4 h-4"}),label:(0,He.__)("Help Center","suremails"),link:"https://suremails.com/docs"},{id:"2",icon:React.createElement(Z3,{className:"w-4 h-4"}),label:(0,He.__)("Join the Community","suremails"),link:"https://www.facebook.com/groups/surecrafted"},{id:"3",icon:React.createElement(q3,{className:"w-4 h-4"}),label:(0,He.__)("Rate Us","suremails"),link:"https://wordpress.org/support/plugin/suremails/reviews/#new-post"}],K3=e=>{let{items:t=Y3}=e;return React.createElement(nm,{containerType:"flex",direction:"column",className:"p-3 border-0.5 border-solid rounded-xl shadow-sm border-border-subtle",gap:"xs"},React.createElement(nm.Item,{className:"p-1 md:w-full lg:w-full"},React.createElement(q9,{title:(0,He.__)("Quick Access","suremails"),tag:"h6"})),React.createElement(nm.Item,{className:"flex flex-col gap-1 p-1 rounded-lg md:w-full lg:w-full bg-field-primary-background"},t.map((e=>React.createElement("div",{key:e.id,className:"flex items-center gap-1 p-2 rounded-md bg-background-primary shadow-soft-shadow-inner"},React.createElement(nm,{containerType:"flex",direction:"row",className:"items-center gap-1 p-1",align:"center"},React.createElement(nm.Item,{className:"flex items-center justify-center text-text-primary cursor-pointer"},e.icon),React.createElement(nm.Item,{className:"flex items-center"},e.link?React.createElement("a",{href:e.link,target:"_blank",className:"no-underline hover:no-underline hover:text-field-label cursor-pointer",rel:"noreferrer","aria-label":e.label},React.createElement(rn,{className:"pl-1 pr-1 text-sm font-medium text-text-primary hover:no-underline cursor-pointer"},e.label)):React.createElement(rn,{className:"px-1 py-0 text-sm font-medium no-underline text-text-primary"},e.label))))))))},Q3=m1("ArrowUpRight",[["path",{d:"M7 7h10v10",key:"1tivn9"}],["path",{d:"M7 17 17 7",key:"1vkiza"}]]),G3=m1("Mails",[["rect",{width:"16",height:"13",x:"6",y:"4",rx:"2",key:"1drq3f"}],["path",{d:"m22 7-7.1 3.78c-.57.3-1.23.3-1.8 0L6 7",key:"xn252p"}],["path",{d:"M2 8v11c0 1.1.9 2 2 2h14",key:"n13cji"}]]),X3=e=>{let{recentLogs:t,hasConnections:n=!0}=e;const r=G(),o=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:30;return(null==e?void 0:e.length)>t?"".concat(e.substring(0,t),"..."):e||""};return React.createElement(React.Fragment,null,React.createElement("div",{className:"flex items-center justify-between p-1"},React.createElement(q9,{title:(0,He.__)("Recent Email Logs","suremails"),tag:"h5"}),t.length>0&&React.createElement(tn,{variant:"ghost",icon:React.createElement(Q3,null),iconPosition:"right",size:"sm",type:"button",onClick:()=>r("/logs"),className:"text-xs font-medium"},(0,He.__)("View all","suremails"))),React.createElement("div",{className:"overflow-hidden"},React.createElement(i1,{className:"bg-background-primary"},React.createElement(i1.Head,{className:"bg-background-secondary"},React.createElement(i1.HeadCell,{className:"px-3 py-2 text-sm font-medium text-left text-text-secondary"},(0,He.__)("Email To","suremails")),React.createElement(i1.HeadCell,{className:"px-3 py-2 text-sm font-medium text-left text-text-secondary"},(0,He.__)("Status","suremails")),React.createElement(i1.HeadCell,{className:"px-3 py-2 text-sm font-medium text-left text-text-secondary"},(0,He.__)("Subject","suremails")),React.createElement(i1.HeadCell,{className:"px-3 py-2 text-sm font-medium text-left text-text-secondary"},(0,He.__)("Date","suremails"))),React.createElement(i1.Body,null,0===t.length?React.createElement(i1.Row,{className:"bg-background-primary"},React.createElement(i1.Cell,{colSpan:"4",className:"py-10 bg-background-primary"},React.createElement("div",{className:"flex flex-col items-center justify-center h-full gap-3 bg-background-primary"},React.createElement("div",{className:"flex flex-col items-center justify-center w-[29.375rem]"},React.createElement(G3,{className:"mb-3"}),React.createElement("div",{className:"flex flex-col items-center space-y-1"},React.createElement(rn,{tag:"p",className:"text-sm font-medium text-center text-text-primary"},(0,He.__)("No Email Logs Available","suremails")),React.createElement(rn,{tag:"p",className:"text-sm font-normal text-center text-text-secondary"},(0,He.__)("Once your emails start sending, you’ll see detailed stats here to help you monitor and manage your email activity.","suremails")))),React.createElement("div",null,!n&&React.createElement(tn,{variant:"primary",size:"sm",icon:React.createElement(g1,null),iconPosition:"left",onClick:()=>r("/connections",{state:{openDrawer:!0}}),className:"font-medium"},(0,He.__)("Add Connection","suremails")))))):t.map((e=>React.createElement(i1.Row,{key:e.id,className:"border-b border-border-subtle"},React.createElement(i1.Cell,{className:"px-3 py-3 text-sm font-normal text-text-secondary"},(e=>{const t="string"!=typeof(n=e)?[]:n.match(/[A-Z0-9._%+-]+@[A-Z0-9.-]+\.[A-Z]{2,}/gi)||[];var n;if(!t.length)return"";const r=t.slice(0,2).map((e=>o(e))),i=t.length-r.length;return i>0?"".concat(r.join(", "),"... (").concat(i," more)"):r.join(", ")})(e.email_to)),React.createElement(i1.Cell,{className:"px-3 py-3 text-text-secondary"},React.createElement(Sa,{className:"inline-block",label:v8(e.status),variant:b8(e.status),size:"sm",type:"pill"})),React.createElement(i1.Cell,{className:"px-3 py-3 text-sm font-normal text-text-secondary"},o(e.subject,30)),React.createElement(i1.Cell,{className:"px-3 py-3 text-sm font-normal text-text-secondary"},f8(e.created_at,{day:!0,month:!0})))))))))},J3=()=>React.createElement("div",{className:"grid grid-cols-1 gap-6 p-8 lg:grid-cols-3"},React.createElement("div",{className:"flex flex-col space-y-6 lg:col-span-2"},React.createElement("div",{className:"h-auto p-6 overflow-hidden bg-background-primary rounded-md shadow-lg"},React.createElement(Gw,{className:"w-full h-56",variant:"rectangular"})),React.createElement("div",{className:"h-auto p-4 bg-background-primary rounded-md shadow-lg"},React.createElement("div",{className:"mb-4"},React.createElement(Gw,{className:"w-48 h-6",variant:"rectangular"})),React.createElement("div",{className:"space-y-4"},Array.from({length:4}).map(((e,t)=>React.createElement("div",{key:t,className:"flex items-center space-x-4"},React.createElement(Gw,{className:"w-12 h-12",variant:"circular"}),React.createElement(Gw,{className:"w-full h-6",variant:"rectangular"}))))))),React.createElement("div",{className:"flex flex-col space-y-6"},React.createElement("div",{className:"p-4 bg-background-primary rounded-md shadow-lg h-auto min-h-[17rem]"},React.createElement(Gw,{className:"w-full h-5 mb-4",variant:"rectangular"}),React.createElement("div",{className:"space-y-3"},Array.from({length:6}).map(((e,t)=>React.createElement(Gw,{key:t,className:"w-full h-5",variant:"rectangular"}))))),React.createElement("div",{className:"p-4 bg-background-primary rounded-md shadow-lg h-auto min-h-[200px]"},React.createElement(Gw,{className:"w-full h-6 mb-4",variant:"rectangular"}),React.createElement("div",{className:"space-y-3"},Array.from({length:3}).map(((e,t)=>React.createElement(Gw,{key:t,className:"w-full h-6",variant:"rectangular"}))))))),$3=()=>{var e;const t=null===(e=window.suremails)||void 0===e?void 0:e.nonce,n=(0,Ve.useCallback)((()=>_8()({path:"/suremails/v1/dashboard-data",method:"GET",headers:{"X-WP-Nonce":t}})),[]),{isLoading:r,data:o}=h0({queryKey:["dashboard-data"],queryFn:n,refetchInterval:1e5,refetchOnReconnect:!0});if(r)return React.createElement(J3,null);const i="number"==typeof(null==o?void 0:o.total_connections)&&o.total_connections>0;return React.createElement(React.Fragment,null,React.createElement("div",{className:"grid w-full grid-cols-12 gap-6 p-8"},React.createElement("div",{className:"flex flex-col w-full col-span-12 space-y-8 lg:col-span-8"},React.createElement("div",{className:"w-full h-auto border-0.5 border-solid shadow-sm rounded-xl bg-background-primary border-border-subtle"},React.createElement(F3,{totalSent:o.total_sent,totalFailed:o.total_failed,chartData:o.chart_data,hasConnections:i})),React.createElement("div",{className:"w-full h-auto p-4 space-y-2 border-[.5px] border-border-subtle border-solid shadow-sm bg-background-primary rounded-xl"},React.createElement(X3,{recentLogs:o.recent_logs,hasConnections:i}))),React.createElement("div",{className:"flex flex-col col-span-12 gap-1 space-y-7 lg:col-span-4"},React.createElement("div",{className:"h-auto shadow-sm bg-background-primary rounded-xl"},React.createElement(W3,null)),React.createElement("div",{className:"w-full h-auto bg-background-primary rounded-xl"},React.createElement(K3,null)))))},e4=e=>{let{isSureTriggersInstalled:t,isSureTriggersActive:r}=e;const o=w1(),[i,a]=(0,n.useState)(!1),s=g0({mutationFn:e=>{var t;return _8()({path:"/suremails/v1/install-plugin",method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":null===(t=window.suremails)||void 0===t?void 0:t.nonce},data:{slug:e.slug}})},onSuccess:e=>{if(!e.success)throw new Error(e.message||(0,He.__)("Failed to install plugin.","suremails"));Op.success((0,He.__)("Installation Complete","suremails"),{description:(0,He.__)("Plugin installed successfully.","suremails")}),e.plugins&&o.setQueryData(["installed-plugins"],{installed:e.plugins.installed,active:e.plugins.active})},onError:e=>{Op.error((0,He.__)("Installation Failed","suremails"),{description:(0,He.__)("Failed to install plugin: ","suremails")+(e.message||"")})}}),l=g0({mutationFn:e=>{var t;return _8()({path:"/suremails/v1/activate-plugin",method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":null===(t=window.suremails)||void 0===t?void 0:t.nonce},data:{slug:e.slug}})},onSuccess:e=>{if(!e.success)throw new Error(e.message||(0,He.__)("Failed to activate plugin.","suremails"));Op.success((0,He.__)("Activation Complete","suremails"),{description:(0,He.__)("Plugin activated successfully.","suremails")}),e.plugins&&o.setQueryData(["installed-plugins"],{installed:e.plugins.installed,active:e.plugins.active})},onError:e=>{Op.error((0,He.__)("Activation Failed","suremails"),{description:(0,He.__)("Failed to activate plugin: ","suremails")+(e.message||"")})}});let c=(0,He.__)("Install and Activate","suremails");return t&&!r?c=(0,He.__)("Activate SureTriggers","suremails"):t&&r&&(c=(0,He.__)("Active","suremails")),React.createElement(Y9,{image:B9,title:(0,He.__)("Setup Notification via SureTriggers","suremails"),description:(0,He.__)("SureTriggers integrates with SureMail, enabling real-time alerts and seamless app connections.","suremails"),bulletPoints:[(0,He.__)("Instantly receive notifications when an email fails.","suremails"),(0,He.__)("Connect with your favorite tools like Slack, Telegram, etc.","suremails"),(0,He.__)("Automatically resend failed emails or alert your team.","suremails")],action:{variant:"primary",size:"md",icon:i?React.createElement(Ra,{variant:"primary",size:"sm",className:"mr-2","aria-hidden":"true","aria-label":(0,He.__)("Loading","suremails")}):!t||r?React.createElement(g1,null):null,iconPosition:"left",onClick:async()=>{a(!0);try{t?t&&!r&&await l.mutateAsync({slug:"suretriggers"}):(await s.mutateAsync({slug:"suretriggers"}),await l.mutateAsync({slug:"suretriggers"}))}catch(e){}finally{a(!1)}},className:"font-medium",children:c,disabled:i}})},t4=()=>i().createElement("div",{className:"p-6 shadow-sm bg-background-primary rounded-xl"},i().createElement("h2",{className:"text-2xl font-semibold text-text-primary"},(0,He.__)("Create a New Workflow","suremails")),i().createElement("div",{className:"mt-4"},i().createElement(_a,{label:(0,He.__)("Workflow Name","suremails"),placeholder:(0,He.__)("Enter workflow name","suremails"),className:"mb-4"}),i().createElement(tn,{variant:"primary",onClick:()=>{Op.success((0,He.__)("Workflow created successfully!","suremails"))}},(0,He.__)("Create Workflow","suremails")))),n4=()=>{const e=Array.from({length:3}).map(((e,t)=>i().createElement("li",{key:t},i().createElement(Gw,{className:"w-3/4 h-4",variant:"rectangular"}))));return i().createElement("div",{className:"flex items-center justify-center w-full p-2 rounded-lg bg-background-secondary"},i().createElement("div",{className:"flex w-full h-auto gap-6 p-8 rounded-md shadow-sm bg-background-primary"},i().createElement("div",{className:"flex items-center justify-center w-1/3 max-w-80"},i().createElement(Gw,{className:"w-full h-full",variant:"rectangular"})),i().createElement("div",{className:"flex flex-col justify-center w-full gap-4 px-2"},i().createElement("div",{className:"space-y-2"},i().createElement(Gw,{className:"w-2/3 h-8",variant:"rectangular"}),i().createElement(Gw,{className:"w-full h-6",variant:"rectangular"})),i().createElement("ul",{className:"ml-6 my-2 space-y-2 text-base font-normal list-disc text-text-secondary leading-7.5"},e),i().createElement("div",{className:"my-2 ml-0.5 flex items-center"},i().createElement(Gw,{className:"w-8 h-8 rounded-full",variant:"circular"}),i().createElement(Gw,{className:"w-32 h-10 ml-2",variant:"rectangular"})))))},r4=()=>{const{data:e,isLoading:t,error:r}=h0({queryKey:["installed-plugins"],queryFn:async()=>{var e,t,n;const r=await _8()({path:"/suremails/v1/installed-plugins",method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":null===(e=window.suremails)||void 0===e?void 0:e.nonce}});if(null!=r&&r.success&&null!=r&&null!==(t=r.plugins)&&void 0!==t&&t.installed&&null!=r&&null!==(n=r.plugins)&&void 0!==n&&n.active)return{installed:r.plugins.installed,active:r.plugins.active};throw new Error((0,He.__)("Invalid data received from server.","suremails"))},refetchInterval:1e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!0}),o=null==e?void 0:e.installed.includes("suretriggers"),a=null==e?void 0:e.active.includes("suretriggers");return(0,n.useEffect)((()=>{r&&Op.error((0,He.__)("Error loading notifications.","suremails"),{description:r.message||(0,He.__)("There was an issue fetching notifications.","suremails")})}),[r]),i().createElement("div",{className:"flex items-start justify-center h-full px-8 py-8 overflow-hidden bg-background-secondary"},i().createElement("div",{className:"w-full h-auto px-4 py-4 space-y-2 border-0.5 border-solid shadow-sm opacity-100 rounded-xl border-border-subtle bg-background-primary"},o&&a&&i().createElement("div",{className:"flex items-center justify-between w-full gap-2 px-2 py-2.25 opacity-100"},i().createElement("h4",{className:"m-0 text-xl font-semibold text-text-primary leading-7.5"},(0,He.__)("Notifications","suremails"))),i().createElement(nm,null,t?i().createElement(n4,null):o&&a?i().createElement(t4,null):i().createElement(e4,{isSureTriggersInstalled:o,isSureTriggersActive:a}))))},o4=(0,n.memo)(r4),i4=async()=>{try{const e=await _8()({path:"/suremails/v1/get-settings",method:"POST",headers:{"Content-Type":"application/json","X-WP-Nonce":suremails.nonce}});if("object"!=typeof e)throw new Error("Invalid JSON response");return e}catch(e){throw new Error(e.message||"Error fetching settings")}},a4=async e=>{try{return await _8()({path:"/suremails/v1/set-settings",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify({settings:{delete_email_logs_after:e.settings.delete_email_logs_after,log_emails:e.settings.log_emails,email_simulation:e.settings.email_simulation,default_connection:e.settings.default_connection}})})}catch(e){throw new Error(e.message||"Error saving settings")}},s4=async()=>{try{return await _8()({path:"/suremails/v1/content-guard/activate",method:"GET",headers:{"Content-Type":"application/json","X-WP-Nonce":suremails.nonce}})}catch(e){throw new Error(e.data.message||(0,He.__)("Error activating Reputation Shield","suremails"))}},l4=()=>React.createElement("div",{className:"flex flex-col min-h-screen p-1 bg-gray-100"},React.createElement("div",{className:"flex items-center justify-between w-[696px] h-[40px] mb-4 gap-2 mx-auto"},React.createElement(Gw,{className:"w-[150px] h-[28px]",variant:"rectangular"}),React.createElement(Gw,{className:"w-[100px] h-[28px]",variant:"rectangular"})),React.createElement("div",{className:"px-6 py-6 bg-background-primary rounded-lg shadow-lg w-[696px] h-auto gap-4 opacity-100 mx-auto"},React.createElement("div",{className:"flex w-[648px] gap-3"},React.createElement(Gw,{className:"w-[40px] h-[20px]",variant:"circular"}),React.createElement("div",{className:"flex flex-col w-full"},React.createElement(Gw,{className:"w-[200px] h-[24px] mb-1",variant:"rectangular"}),React.createElement(Gw,{className:"w-[300px] h-[16px]",variant:"rectangular"}))),React.createElement(Gw,{className:"w-[648px] h-[0.5px] mt-2 mb-4 border border-subtle",variant:"rectangular"}),React.createElement("div",{className:"flex flex-col w-[648px] h-auto gap-2"},React.createElement(Gw,{className:"w-[200px] h-[24px] mb-1",variant:"rectangular"}),React.createElement(Gw,{className:"w-full h-[40px]",variant:"rectangular"}),React.createElement(Gw,{className:"w-[400px] h-[16px] mt-1",variant:"rectangular"})),React.createElement(Gw,{className:"w-[648px] h-[0.5px] mt-2 mb-4 border border-subtle",variant:"rectangular"}),React.createElement("div",{className:"flex flex-col w-[648px] h-auto gap-2"},React.createElement(Gw,{className:"w-[200px] h-[24px] mb-1",variant:"rectangular"}),React.createElement(Gw,{className:"w-full h-[40px]",variant:"rectangular"}),React.createElement(Gw,{className:"w-[400px] h-[16px] mt-1",variant:"rectangular"})),React.createElement(Gw,{className:"w-[648px] h-[0.5px] mt-2 mb-4 border border-subtle",variant:"rectangular"}),React.createElement("div",{className:"flex flex-col w-[648px] h-auto gap-2"},React.createElement(Gw,{className:"w-[200px] h-[24px] mb-1",variant:"rectangular"}),React.createElement(Gw,{className:"w-full h-[40px]",variant:"rectangular"}),React.createElement(Gw,{className:"w-[400px] h-[16px] mt-1",variant:"rectangular"})),React.createElement(Gw,{className:"w-[648px] h-[0.5px] mt-2 mb-4 border border-subtle",variant:"rectangular"}),React.createElement("div",{className:"flex w-[648px] gap-3"},React.createElement(Gw,{className:"w-[40px] h-[20px]",variant:"circular"}),React.createElement("div",{className:"flex flex-col w-full"},React.createElement(Gw,{className:"w-[200px] h-[24px] mb-1",variant:"rectangular"}),React.createElement(Gw,{className:"w-[300px] h-[16px]",variant:"rectangular"}))))),c4=m1("Info",[["circle",{cx:"12",cy:"12",r:"10",key:"1mglay"}],["path",{d:"M12 16v-4",key:"1dtifu"}],["path",{d:"M12 8h.01",key:"e9boi3"}]]),u4=m1("Shield",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",key:"oel41y"}]]),d4=m1("Sparkles",[["path",{d:"M9.937 15.5A2 2 0 0 0 8.5 14.063l-6.135-1.582a.5.5 0 0 1 0-.962L8.5 9.936A2 2 0 0 0 9.937 8.5l1.582-6.135a.5.5 0 0 1 .963 0L14.063 8.5A2 2 0 0 0 15.5 9.937l6.135 1.581a.5.5 0 0 1 0 .964L15.5 14.063a2 2 0 0 0-1.437 1.437l-1.582 6.135a.5.5 0 0 1-.963 0z",key:"4pj2yx"}],["path",{d:"M20 3v4",key:"1olli1"}],["path",{d:"M22 5h-4",key:"1gvqau"}],["path",{d:"M4 17v2",key:"vumght"}],["path",{d:"M5 18H3",key:"zchphs"}]]);function f4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function h4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?f4(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):f4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const p4={first_name:"",last_name:"",email:""},m4={activateContentGuard:!1,skipActivateContentGuard:!1},g4=[{label:(0,He.__)("First Name","suremails"),name:"first_name",type:"text"},{label:(0,He.__)("Last Name","suremails"),name:"last_name",type:"text"},{label:(0,He.__)("Email Address","suremails"),name:"email",type:"email"}],y4=[(0,He.__)("Better Email Deliverability – Avoid getting flagged by SMTP service providers.","suremails"),(0,He.__)("Protect Your Sender Reputation – Maintain a high sender score and keep your emails trusted.","suremails"),(0,He.__)("Stay Compliant – Prevent emails getting blacklists and avoid policy violations.","suremails")],v4=f9.object({first_name:f9.string().min(1,(0,He.__)("Please enter first name","suremails")),last_name:f9.string().min(1,(0,He.__)("Please enter last name","suremails")),email:f9.string().email((0,He.__)("Please enter a valid email address","suremails"))}),b4=()=>{var e;return React.createElement("div",{className:"space-y-1.5"},React.createElement(u4,{className:"w-6 h-6 text-icon-primary",strokeWidth:"1.25"}),React.createElement("div",{className:"space-y-1"},React.createElement("h5",{className:"inline-block"},(0,He.__)("Safeguard Your Email with Reputation Shield","suremails")),(null===(e=window)||void 0===e||null===(e=e.suremails)||void 0===e?void 0:e.contentGuardPopupStatus)&&React.createElement(React.Fragment,null,React.createElement("p",null,(0,He.__)("Reputation Shield validates your emails with AI for harmful and inappropriate content before they are processed. If an email contains problematic material, it is blocked before it reaches your SMTP provider.","suremails")),y4.length>0&&React.createElement("ul",{className:"text-sm font-normal list-none text-text-secondary leading-5 space-y-2 py-1"},y4.map(((e,t)=>React.createElement("li",{key:t,className:"flex items-start gap-1.5"},React.createElement(O3,{className:"w-3 h-3 mt-1 text-icon-interactive"}),React.createElement("span",null,e))))))))},x4=e=>{let{open:t,setOpen:n,formRef:r,formData:o,errors:i,isLoading:a,handleChange:s,handleSaveUserDetailsAndActivate:l,handleValidation:c}=e;return React.createElement(CC,{design:"simple",exitOnEsc:!0,scrollLock:!0,open:t,setOpen:n},React.createElement(CC.Backdrop,null),React.createElement(CC.Panel,null,React.createElement("form",{ref:r,onSubmit:e=>{e.preventDefault(),l(!1)},noValidate:!0},React.createElement(CC.Header,{className:"pb-6"},React.createElement("div",{className:"flex items-center justify-between"},React.createElement(CC.Title,null,(0,He.__)("Activate Reputation Shield and Protect Your Emails","suremails")),React.createElement(CC.CloseButton,{type:"button"})),React.createElement(CC.Description,null,(0,He.__)("Activate Reputation Shield to safeguard your emails. Optionally, share your email address to receive valuable tips for optimising your email delivery.","suremails"))),React.createElement(CC.Body,{className:"flex flex-wrap gap-x-4 gap-y-3"},g4.map(((e,t)=>React.createElement("div",{key:e.name,className:y8("flex-grow",t===g4.length-1&&"flex-grow-[2] w-full")},React.createElement(_a,{size:"md",label:e.label,name:e.name,type:e.type,value:o[e.name],onChange:s(e.name),error:i[e.name],disabled:a.activateContentGuard||a.skipActivateContentGuard,autoComplete:"off",onBlur:()=>c(e.name)}),i[e.name]&&React.createElement("p",{className:"text-text-error text-sm mt-1.5"},i[e.name]))))),React.createElement(CC.Footer,{className:"px-5 pb-3 pt-6 flex flex-col gap-3"},React.createElement(tn,{type:"submit",icon:a.activateContentGuard&&React.createElement(Ra,{className:"text-text-inverse"}),iconPosition:"left"},(0,He.__)("Activate Reputation Shield","suremails")),React.createElement(tn,{type:"button",variant:"link",className:"w-fit text-text-tertiary mx-auto p-1 hover:no-underline hover:text-text-primary [box-shadow:none]",onClick:()=>l(!0),icon:a.skipActivateContentGuard&&React.createElement(Ra,{className:"text-text-secondary"}),iconPosition:"left"},(0,He.__)("Skip & Activate","suremails")),React.createElement(w4,null)))))},w4=()=>{var e,t;return React.createElement("p",{className:"mt-1 text-center text-text-tertiary",dangerouslySetInnerHTML:{__html:(0,He.sprintf)((0,He.__)("By continuing you agree to our %1$s and %2$s.","suremails"),(0,Ve.renderToString)(React.createElement("a",{className:"no-underline",href:null===(e=window)||void 0===e||null===(e=e.suremails)||void 0===e?void 0:e.termsURL,target:"_blank",rel:"noopener noreferrer"},(0,He.__)("Terms","suremails"))),(0,Ve.renderToString)(React.createElement("a",{className:"no-underline",href:null===(t=window)||void 0===t||null===(t=t.suremails)||void 0===t?void 0:t.privacyPolicyURL,target:"_blank",rel:"noopener noreferrer"},(0,He.__)("Privacy Policy","suremails"))))}})},C4=()=>{var e,t;const[n,r]=(0,Ve.useState)(!(null===(e=window)||void 0===e||null===(e=e.suremails)||void 0===e||!e.contentGuardPopupStatus)),[o,i]=(0,Ve.useState)("yes"===(null===(t=window)||void 0===t||null===(t=t.suremails)||void 0===t?void 0:t.contentGuardActiveStatus)),[a,s]=(0,Ve.useState)(m4),[l,c]=(0,Ve.useState)(p4),[u,d]=(0,Ve.useState)({}),f=(0,Ve.useRef)(null),[h,p]=(0,Ve.useState)(!1),m=e=>{if(e)try{return v4.pick({[e]:!0}).parse({[e]:l[e]}),d((t=>h4(h4({},t),{},{[e]:void 0}))),!0}catch(t){return d((n=>h4(h4({},n),{},{[e]:t.errors[0].message}))),!1}try{return v4.parse(l),d({}),!0}catch(e){var t,n;const r={};e.errors.forEach((e=>{r[e.path[0]]=e.message})),d(r);const o=null===(t=e.errors[0])||void 0===t?void 0:t.path[0],i=null===(n=f.current)||void 0===n?void 0:n.querySelector('input[name="'.concat(o,'"]'));return null==i||i.focus(),!1}};return React.createElement("div",{className:"max-w-settings-container w-full mx-auto p-7 space-y-4 border rounded-md shadow-sm bg-background-primary"},React.createElement(b4,null),n&&React.createElement("div",null,React.createElement(tn,{size:"lg",variant:"primary",icon:React.createElement(d4,{className:"w-6 h-6",strokeWidth:"1.25"}),iconPosition:"left",onClick:()=>{p(!0)}},(0,He.__)("Activate Reputation Shield","suremails"))),!n&&React.createElement("div",null,React.createElement(an,{label:{heading:(0,He.__)("Reputation Shield","suremails"),description:(0,He.__)("Reputation Shield identifies potentially problematic content in your emails and blocks them from being sent to your SMTP service.","suremails")},value:o,onChange:async e=>{try{(await s4()).success&&(i(e),Op.success((0,He.sprintf)((0,He.__)("Reputation Shield %s successfully","suremails"),e?(0,He.__)("activated","suremails"):(0,He.__)("deactivated","suremails"))),window.suremails.contentGuardActiveStatus=e?"yes":"no")}catch(e){Op.error(e.message||(0,He.__)("Error authenticating Reputation Shield","suremails"))}}})),!!window.suremails.contentGuardPopupStatus&&React.createElement(x4,{open:h,setOpen:p,formRef:f,formData:l,errors:u,handleValidation:m,isLoading:a,handleChange:e=>t=>{u[e]&&d((t=>h4(h4({},t),{},{[e]:void 0}))),c((n=>h4(h4({},n),{},{[e]:t})))},handleSaveUserDetailsAndActivate:async function(){let e=arguments.length>0&&void 0!==arguments[0]&&arguments[0];if(!a.activateContentGuard&&!a.skipActivateContentGuard&&(e||m())){s((t=>h4(h4({},t),{},{activateContentGuard:!e,skipActivateContentGuard:e})));try{await(async e=>{try{return await _8()({path:"/suremails/v1/content-guard/user-details",method:"POST",headers:{"X-WP-Nonce":suremails.nonce,"Content-Type":"application/json"},body:JSON.stringify(e)})}catch(e){throw new Error(e.data.message||"Error saving user details")}})(h4(h4({},l),{},{skip:e?"yes":"no"})),(await s4()).success&&(Op.success((0,He.__)("Connection successful","suremails"),{description:(0,He.__)("Reputation Shield is now active!","suremails")}),r(!1),i(!0),window.suremails.contentGuardPopupStatus=!1,window.suremails.contentGuardActiveStatus="yes")}catch(e){Op.error(e.message||(0,He.__)("Error Activating Reputation Shield","suremails"))}finally{p(!1),s(m4)}}}}))};function A4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function E4(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?A4(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):A4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}const S4=()=>{const{data:e,isLoading:t}=h0({queryKey:["settings"],queryFn:i4,select:e=>e.data,refetchInterval:1e5,refetchOnMount:!1,refetchOnWindowFocus:!1,refetchOnReconnect:!0}),n=w1(),{mutate:r,isPending:o}=g0({mutationFn:a4,onSuccess:e=>{n.setQueryData(["settings"],e),Op.success((0,He.__)("Settings saved successfully","suremails"),{description:(0,He.__)("Your changes have been saved.","suremails")})},onError:e=>{Op.error((0,He.__)("Error saving settings","suremails"),{description:e.message||(0,He.__)("There was an issue saving the settings.","suremails")})}}),[i,a]=(0,Ve.useState)({logEmails:!1,deleteEmailLogsAfter:"30_days",defaultConnection:{type:"",email:"",id:"",connection_title:""},emailSimulation:!0});(0,Ve.useLayoutEffect)((()=>{var t,n,r,o;e&&a({logEmails:"yes"===e.log_emails,deleteEmailLogsAfter:"yes"===e.log_emails?e.delete_email_logs_after||"30_days":"none",defaultConnection:{type:(null==e||null===(t=e.default_connection)||void 0===t?void 0:t.type)||"",email:(null==e||null===(n=e.default_connection)||void 0===n?void 0:n.email)||"",id:(null==e||null===(r=e.default_connection)||void 0===r?void 0:r.id)||"",connection_title:(null==e||null===(o=e.default_connection)||void 0===o?void 0:o.connection_title)||""},emailSimulation:"yes"===e.email_simulation})}),[e]);const s=[{label:(0,He.__)("Delete after 1 day","suremails"),value:"1_day"},{label:(0,He.__)("Delete after 7 days","suremails"),value:"7_days"},{label:(0,He.__)("Delete after 30 days","suremails"),value:"30_days"},{label:(0,He.__)("Delete after 60 days","suremails"),value:"60_days"},{label:(0,He.__)("Delete after 90 days","suremails"),value:"90_days"},{label:(0,He.__)("Never","suremails"),value:"none"}],l=(e,t)=>{a((n=>E4(E4({},n),{},{[e]:t})))},c=Object.entries((null==e?void 0:e.connections)||{}).map((e=>{let[t,n]=e;return{label:"".concat(n.connection_title," - ").concat(n.type," : ").concat(n.from_email),value:{id:t,email:n.from_email,type:n.type,connection_title:n.connection_title}}}));if(t)return React.createElement(l4,null);const u=c.length>0;return React.createElement(React.Fragment,null,React.createElement("div",{className:"flex flex-col gap-6 p-8 overflow-hidden overflow-x-hidden overflow-y-hidden"},React.createElement("div",{className:"flex items-center justify-between max-w-settings-container w-full h-auto gap-2 mx-auto"},React.createElement(q9,{size:"md",title:(0,He.__)("General Settings","suremails"),tag:"h4"}),React.createElement(tn,{onClick:async()=>{if(i.logEmails===("yes"===(null==e?void 0:e.log_emails))&&i.deleteEmailLogsAfter===(null==e?void 0:e.delete_email_logs_after)&&i.defaultConnection.id===(null==e||null===(t=e.default_connection)||void 0===t?void 0:t.id)&&i.emailSimulation===("yes"===(null==e?void 0:e.email_simulation)))return void Op.info((0,He.__)("No changes to save.","suremails"));var t;const n={settings:{delete_email_logs_after:i.deleteEmailLogsAfter,email_simulation:i.emailSimulation?"yes":"no",log_emails:i.logEmails?"yes":"no",default_connection:i.defaultConnection.email?i.defaultConnection:{type:"",email:"",id:"",connection_title:""}}};r(n)},variant:"primary",size:"md",className:"font-medium",loading:o,icon:o?React.createElement(E8,{className:"mr-2 animate-spin"}):null},o?(0,He.__)("Saving…","suremails"):(0,He.__)("Save","suremails"))),React.createElement("div",{className:"px-6 py-6 bg-background-primary rounded-xl shadow-sm max-w-settings-container w-full h-auto gap-4 opacity-100 mx-auto mt-2 flex flex-col"},React.createElement("div",{className:"flex w-[648px] gap-3"},React.createElement(an,{checked:i.logEmails,onChange:e=>{l("logEmails",e),e||l("deleteEmailLogsAfter","none")},size:"sm",label:{heading:(0,He.__)("Log Emails","suremails"),description:(0,He.__)("Enable to log all outgoing emails for reference.","suremails")}})),i.logEmails&&React.createElement("div",{className:"flex flex-col w-full h-auto gap-1.5"},React.createElement(Ap,{value:i.deleteEmailLogsAfter,onChange:e=>l("deleteEmailLogsAfter",e),className:"w-full h-auto"},React.createElement(Ap.Button,{label:React.createElement("div",{className:"flex items-center"},React.createElement(rn,{tag:"span",size:"sm"},(0,He.__)("Delete Logs","suremails")),React.createElement(va,{arrow:!0,content:React.createElement("span",null,(0,He.__)("Email logs stored in the database will be deleted after the selected duration automatically.","suremails")),placement:"bottom",title:(0,He.__)("Delete Logs","suremails"),triggers:["hover"],variant:"dark",tooltipPortalRoot:"suremails-root-app",tooltipPortalId:"suremails-root-app"},React.createElement(c4,{className:"w-4 h-4 ml-1 cursor-pointer text-icon-secondary"})))},(e=>{const t=s.find((t=>t.value===e));return t?t.label:""})(i.deleteEmailLogsAfter)),React.createElement(Ap.Options,{className:"z-999999"},s.map((e=>React.createElement(Ap.Option,{key:e.value,value:e.value},e.label))))),React.createElement(rn,{tag:"p",size:"sm",variant:"help"},(0,He.__)("Logs will be automatically deleted after the chosen duration.","suremails"))),React.createElement(Gw,{className:"w-full h-px mt-2 mb-2 border opacity-100 border-border-subtle",variant:"rectangular"}),React.createElement("div",{className:"flex flex-col w-full h-auto gap-1.5"},React.createElement(Ap,{by:"id",value:i.defaultConnection,onChange:e=>l("defaultConnection",e),className:"w-full h-auto",disabled:!u},React.createElement(Ap.Button,{label:(0,He.__)("Default Connection","suremails")},null!=(d=i.defaultConnection)&&d.email?"".concat(d.connection_title," - ").concat(d.type," : ").concat(d.email):(0,He.__)("None","suremails")),React.createElement(Ap.Options,{className:"z-999999"},c.map((e=>React.createElement(Ap.Option,{key:e.value.id,value:e.value},e.label))))),React.createElement(rn,{tag:"p",size:"sm",variant:"help"},(0,He.__)('This connection will be used by default unless a specific "from email" address is provided in the email headers.',"suremails")))),React.createElement(C4,null)));var d},k4=()=>React.createElement("div",{className:"content-area w-full"},React.createElement(ue,null,React.createElement(le,{path:"/connections",element:React.createElement(h3,null)}),React.createElement(le,{path:"/logs",element:React.createElement(D3,null)}),React.createElement(le,{path:"/dashboard",element:React.createElement($3,null)}),React.createElement(le,{path:"/settings",element:React.createElement(S4,null)}),React.createElement(le,{path:"/notifications",element:React.createElement(o4,null)}),React.createElement(le,{path:"/",element:React.createElement(se,{to:"/dashboard",replace:!0})}))),_4=m1("Megaphone",[["path",{d:"m3 11 18-5v12L3 14v-3z",key:"n962bs"}],["path",{d:"M11.6 16.8a3 3 0 1 1-5.8-1.6",key:"1yl0tm"}]]),O4=["selector"];function R4(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}var P4=function(){return P4=Object.assign||function(e){for(var t,n=1,r=arguments.length;n<r;n++){t=arguments[n];for(const n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n])}return e},P4.apply(this,arguments)};const j4=function(e,t,n,r){return new(n||(n=Promise))((function(o,i){function a(e){try{l(r.next(e))}catch(e){i(e)}}function s(e){try{l(r.throw(e))}catch(e){i(e)}}function l(e){var t;e.done?o(e.value):(t=e.value,t instanceof n?t:new n((function(e){e(t)}))).then(a,s)}l((r=r.apply(e,t||[])).next())}))},T4=function(e,t){let n,r,o,i,a={label:0,sent(){if(1&o[0])throw o[1];return o[1]},trys:[],ops:[]};return i={next:s(0),throw:s(1),return:s(2)},"function"==typeof Symbol&&(i[Symbol.iterator]=function(){return this}),i;function s(s){return function(l){return function(s){if(n)throw new TypeError("Generator is already executing.");for(;i&&(i=0,s[0]&&(a=0)),a;)try{if(n=1,r&&(o=2&s[0]?r.return:s[0]?r.throw||((o=r.return)&&o.call(r),0):r.next)&&!(o=o.call(r,s[1])).done)return o;switch(r=0,o&&(s=[2&s[0],o.value]),s[0]){case 0:case 1:o=s;break;case 4:return a.label++,{value:s[1],done:!1};case 5:a.label++,r=s[1],s=[0];continue;case 7:s=a.ops.pop(),a.trys.pop();continue;default:if(o=a.trys,!((o=o.length>0&&o[o.length-1])||6!==s[0]&&2!==s[0])){a=0;continue}if(3===s[0]&&(!o||s[1]>o[0]&&s[1]<o[3])){a.label=s[1];break}if(6===s[0]&&a.label<o[1]){a.label=o[1],o=s;break}if(o&&a.label<o[2]){a.label=o[2],a.ops.push(s);break}o[2]&&a.ops.pop(),a.trys.pop();continue}s=t.call(e,a)}catch(e){s=[6,e],r=0}finally{n=o=0}if(5&s[0])throw s[1];return{value:s[0]?s[1]:void 0,done:!0}}([s,l])}}},M4={rssFeedURL:"",selector:"",loaderIcon:'<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 0 100 100" preserveAspectRatio="xMidYMid">\n\t<circle cx="50" cy="50" fill="none" stroke="#9f9f9f" stroke-width="10" r="35" stroke-dasharray="164.93361431346415 56.97787143782138">\n\t\t<animateTransform attributeName="transform" type="rotate" repeatCount="indefinite" dur="1s" values="0 50 50;360 50 50" keyTimes="0;1"></animateTransform>\n\t</circle>\n\t</svg>',viewAll:{link:"",label:"View All"},triggerButton:{icon:'<svg width="20" height="20" viewBox="0 0 20 20" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M8.61703 13.1998C8.04294 13.1503 7.46192 13.125 6.875 13.125H6.25C4.17893 13.125 2.5 11.4461 2.5 9.375C2.5 7.30393 4.17893 5.625 6.25 5.625H6.875C7.46192 5.625 8.04294 5.59972 8.61703 5.55018M8.61703 13.1998C8.82774 14.0012 9.1031 14.7764 9.43719 15.5195C9.64341 15.9782 9.48685 16.5273 9.05134 16.7787L8.50441 17.0945C8.04492 17.3598 7.45466 17.1921 7.23201 16.7106C6.70983 15.5811 6.30451 14.3866 6.03155 13.1425M8.61703 13.1998C8.29598 11.9787 8.125 10.6968 8.125 9.375C8.125 8.05316 8.29598 6.77125 8.61703 5.55018M8.61703 13.1998C11.25 13.427 13.737 14.1643 15.9789 15.3124M8.61703 5.55018C11.25 5.323 13.737 4.58569 15.9789 3.43757M15.9789 3.43757C15.8808 3.12162 15.7751 2.80903 15.662 2.5M15.9789 3.43757C16.4247 4.87356 16.7131 6.37885 16.8238 7.93326M15.9789 15.3124C15.8808 15.6284 15.7751 15.941 15.662 16.25M15.9789 15.3124C16.4247 13.8764 16.7131 12.3711 16.8238 10.8167M16.8238 7.93326C17.237 8.2772 17.5 8.79539 17.5 9.375C17.5 9.95461 17.237 10.4728 16.8238 10.8167M16.8238 7.93326C16.8578 8.40942 16.875 8.8902 16.875 9.375C16.875 9.8598 16.8578 10.3406 16.8238 10.8167" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',beforeBtn:"",afterBtn:"",className:"",onClick(){}},notification:{setLastPostUnixTime:null,getLastPostUnixTime:null},flyout:{title:"What's New?",innerContent:{titleLink:!0,additionalClasses:[]},excerpt:{wordLimit:500,moreSymbol:"&hellip;",readMore:{label:"Read More",className:""}},className:"",closeOnEsc:!0,closeOnOverlayClick:!0,closeBtnIcon:'<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 18L18 6M6 6L18 18" stroke="#94A3B8" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/></svg>',formatDate:null,onOpen(){},onClose(){},onReady(){}}},N4=function(){function e(e){this.rssFeedURLs=[],this.lastPostUnixTime=0,this.multiLastPostUnixTime={},this.notificationsCount=0,this.multiNotificationCount={},this.hasNewFeeds=!1,this.multiHasNewFeeds={},this.validateArgs(e),this.parseDefaults(e),this.setElement(),this.getElement()?(this.setID(),this.setRSSFeedURLs(),L4.setInstanceID(this.getID()),this.RSS_Fetch_Instance=new D4(this),this.RSS_View_Instance=new I4(this),this.setNotificationsCount(),this.setTriggers()):console.warn("WNR: Cannot find element with",this.getArgs().selector)}return e.prototype.validateArgs=function(e){["rssFeedURL","selector"].map((function(t){if(!e[t])throw new Error("".concat(t," is a required argument. It cannot be empty or undefined."));if("rssFeedURL"===t){var n=e[t];Array.isArray(n)&&n.forEach((function(e){if(!(null==e?void 0:e.key))throw new Error('The parameter "key" is required for "'.concat(t,'" parameter in multi-feed mode.'));if(e.key.includes(" "))throw new Error('The parameter "key" cannot have spaces for "'.concat(t,'" parameter in multi-feed mode. Ref Key: "').concat(e.key,'"'))}))}}))},e.prototype.parseDefaults=function(e){let t,n;this.args=P4(P4(P4({},M4),e),{viewAll:P4(P4({},M4.viewAll),null==e?void 0:e.viewAll),triggerButton:P4(P4({},M4.triggerButton),null==e?void 0:e.triggerButton),flyout:P4(P4(P4({},M4.flyout),null==e?void 0:e.flyout),{innerContent:P4(P4({},M4.flyout.innerContent),null===(t=null==e?void 0:e.flyout)||void 0===t?void 0:t.innerContent),excerpt:P4(P4({},M4.flyout.excerpt),null===(n=null==e?void 0:e.flyout)||void 0===n?void 0:n.excerpt)})})},e.prototype.getArgs=function(){return this.args},e.prototype.setElement=function(){this.element=document.querySelector(this.args.selector)},e.prototype.getElement=function(){return this.element},e.prototype.setID=function(){const e=[this.getArgs().selector],t=this.getArgs().rssFeedURL;Array.isArray(t)?t.forEach((function(t){e.push(t.key)})):e.push(t),this.ID=btoa(e.join("-")).slice(-12).replace(/=/g,"")},e.prototype.isMultiFeedRSS=function(){return"string"!=typeof this.getArgs().rssFeedURL},e.prototype.setRSSFeedURLs=function(){const e=this,t=this.getArgs().rssFeedURL;this.isMultiFeedRSS()?Array.isArray(t)&&t.forEach((function(t){e.rssFeedURLs.push(t)})):this.rssFeedURLs.push({key:null,label:"",url:t.toString()})},e.prototype.getRSSFeedURLs=function(){return this.rssFeedURLs},e.prototype.getID=function(){return this.ID},e.prototype.setNotificationsCount=function(){return j4(this,void 0,void 0,(function(){const e=this;return T4(this,(function(t){switch(t.label){case 0:return[4,Promise.all(this.getRSSFeedURLs().map((function(t){const n=t.key;return j4(e,void 0,void 0,(function(){let e;return T4(this,(function(t){switch(t.label){case 0:return e=0,"function"!=typeof this.getArgs().notification.getLastPostUnixTime?[3,2]:[4,this.getArgs().notification.getLastPostUnixTime(n,this)];case 1:return e=t.sent(),[3,3];case 2:e=L4.getLastPostUnixTime(n),t.label=3;case 3:return this.isMultiFeedRSS()?this.multiLastPostUnixTime[n]=+e:this.lastPostUnixTime=+e,[2]}}))}))})))];case 1:return t.sent(),[4,this.RSS_Fetch_Instance.fetchData().then((function(t){Object.keys(t).forEach((function(n){const r=t[n];if(!r.length)return;e.multiNotificationCount[n]=0;const o=+r[0].date,i=e.isMultiFeedRSS()?e.multiLastPostUnixTime[n]:e.lastPostUnixTime;o>i&&(r.forEach((function(t){t.date>i&&(e.isMultiFeedRSS()&&(e.multiNotificationCount[n]++,e.multiHasNewFeeds[n]=!0),e.notificationsCount++,e.hasNewFeeds=!0)})),e.RSS_View_Instance.setNotification(e.notificationsCount))}))}))];case 2:return t.sent(),[2]}}))}))},e.prototype.getNotificationsCount=function(){return this.notificationsCount},e.prototype.setTriggers=function(){const e=this,t=document.getElementById(this.RSS_View_Instance.getTriggerButtonID()),n=document.getElementById(this.RSS_View_Instance.getFlyoutID()),r=n.querySelector(".whats-new-rss-flyout-inner-content"),o=document.getElementById(this.RSS_View_Instance.getFlyoutCloseBtnID()),i=document.getElementById(this.RSS_View_Instance.getFlyoutMultiFeedNavID()),a=function(t){e.RSS_Fetch_Instance.fetchData().then((function(o){r.innerHTML="";const i=o[t];if(!i.length)return;const a=+i[0].date,s=e.isMultiFeedRSS()?e.multiLastPostUnixTime[t]:e.lastPostUnixTime;i.forEach((function(n){const o=!!s&&n.date>s,i=e.getArgs().flyout.innerContent.titleLink?'<a href="'.concat(n.postLink,'" target="_blank">\n\t\t\t\t\t\t\t\t<h2>').concat(n.title,"</h2>\n\t\t\t\t\t\t\t</a>"):"<h2>".concat(n.title,"</h2>"),a='\n\t\t\t\t\t\t\t\t<div class="rss-content-header">\n\t\t\t\t\t\t\t\t\t<p>'.concat(e.RSS_View_Instance.formatDate(new Date(n.date)),"</p>\n\t\t\t\t\t\t\t\t\t").concat(i,"\n\t\t\t\t\t\t\t\t</div>\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.createExcerpt(n.description,n.postLink,e.getArgs().flyout.excerpt),"\n\t\t\t\t\t\t\t\t").concat(e.RSS_View_Instance.listChildrenPosts(n.children),"\n\t\t\t\t\t\t\t"),l=e.getArgs().flyout.innerContent.additionalClasses;t&&l.push("`inner-content-item-feed-key-${key}`"),r.innerHTML+=e.RSS_View_Instance.innerContentWrapper(a,o,l.join(" "))})),e.getArgs().viewAll.link&&(r.innerHTML+=e.RSS_View_Instance.innerContentWrapper('\n\t\t\t\t\t\t\t<a href="'.concat(e.getArgs().viewAll.link,'" class="button view-all">').concat(e.getArgs().viewAll.label,"</a>\n\t\t\t\t\t\t\t"))),e.RSS_View_Instance.setIsLoading(!1),n.classList.add("ready"),e.getArgs().flyout.onReady(e),n.focus(),e.isMultiFeedRSS()||(e.lastPostUnixTime=a,e.hasNewFeeds&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(a,t):L4.setLastPostUnixTime(a,t)))}))};t.addEventListener("click",(function(t){if(t.preventDefault(),e.getArgs().triggerButton.onClick(e),e.RSS_View_Instance.setIsLoading(!0),n.classList.remove("closed"),n.classList.add("open"),document.body.classList.add("whats-new-rss-is-active"),e.getArgs().flyout.onOpen(e),!e.isMultiFeedRSS())return a(null);const r=i.querySelectorAll("button");r.forEach((function(t){e.RSS_View_Instance.setMultiFeedTabNotificationCount(t.dataset.feedKey,e.multiNotificationCount[t.dataset.feedKey]),t.addEventListener("click",(function(n){n.preventDefault();const o=t.dataset.feedKey;e.multiNotificationCount[o]=0,e.RSS_Fetch_Instance.fetchData().then((function(t){const n=t[o][0].date;e.multiLastPostUnixTime[o]=n,!0===e.multiHasNewFeeds[o]&&("function"==typeof e.getArgs().notification.setLastPostUnixTime?e.getArgs().notification.setLastPostUnixTime(n,o):L4.setLastPostUnixTime(n,o)),e.multiHasNewFeeds[o]=!1})),r.forEach((function(e){e.classList.remove("selected");const t=e.dataset.feedKey,n=".inner-content-item-feed-key-".concat(t);document.querySelectorAll(n).forEach((function(e){o!==t?e.classList.add("hidden"):e.classList.remove("hidden")}))})),t.classList.add("selected"),a(o)}))})),r[0].click()}));const s=function(){n.classList.add("closed"),n.classList.remove("open"),n.classList.remove("ready"),document.body.classList.remove("whats-new-rss-is-active"),e.isMultiFeedRSS()?e.RSS_View_Instance.setNotification(Object.values(e.multiNotificationCount).filter(Boolean).length):(e.hasNewFeeds=!1,e.RSS_View_Instance.setNotification(!1)),r.innerHTML="",e.getArgs().flyout.onClose(e),t.focus()};this.getArgs().flyout.closeOnEsc&&document.addEventListener("keydown",(function(e){"Escape"===e.key&&n.classList.contains("open")&&s()})),this.getArgs().flyout.closeOnOverlayClick&&n.querySelector(".whats-new-rss-flyout-overlay").addEventListener("click",s),o.addEventListener("click",s)},e}();var L4=function(){function e(){}return e.setInstanceID=function(e){this.instanceID||(this.instanceID=e)},e.prefixer=function(e,t){if(void 0===t&&(t=""),!this.instanceID)throw new Error("Instance ID not set.");return t?"".concat(this.keys[e],"-").concat(this.instanceID,"-").concat(t):"".concat(this.keys[e],"-").concat(this.instanceID)},e._setDataExpiry=function(e){void 0===e&&(e="");const t=(new Date).getTime()+864e5;sessionStorage.setItem(this.prefixer("SESSION_DATA_EXPIRY",e),JSON.stringify(t))},e._isDataExpired=function(e){void 0===e&&(e="");const t=this.prefixer("SESSION_DATA_EXPIRY",e),n=window.sessionStorage.getItem(t);if(!n)return!0;const r=JSON.parse(n);return(new Date).getTime()>r&&(window.sessionStorage.removeItem(t),!0)},e.setSessionData=function(e,t){return void 0===t&&(t=""),this._setDataExpiry(t),window.sessionStorage.setItem(this.prefixer("SESSION",t),e)},e.getSessionData=function(e){return void 0===e&&(e=""),this._isDataExpired(e)?"{}":window.sessionStorage.getItem(this.prefixer("SESSION",e))},e.setLastPostUnixTime=function(e,t){return void 0===t&&(t=""),window.localStorage.setItem(this.prefixer("LAST_LATEST_POST",t),e.toString())},e.getLastPostUnixTime=function(e){return void 0===e&&(e=""),+window.localStorage.getItem(this.prefixer("LAST_LATEST_POST",e))},e.keys={SESSION_DATA_EXPIRY:"whats-new-cache-expiry",LAST_LATEST_POST:"whats-new-last-unixtime",SESSION:"whats-new-cache"},e}(),D4=function(){function e(e){const t=this;this.data={},this.RSS=e,this.RSS.getRSSFeedURLs().forEach((function(e){const n=JSON.parse(L4.getSessionData(e.key));n&&n.length&&(t.data[e.key]=n)}))}return e.prototype.fetchData=function(){return j4(this,void 0,void 0,(function(){let e;const t=this;return T4(this,(function(n){switch(n.label){case 0:return Object.keys(this.data).length?[2,this.data]:(e=this.RSS.getRSSFeedURLs().map((function(e){return j4(t,void 0,void 0,(function(){let t,n,r,o,i;const a=this;return T4(this,(function(s){switch(s.label){case 0:return this.data[e.key]=[],[4,fetch(e.url)];case 1:return t=s.sent(),[4,t.text()];case 2:return n=s.sent(),n=n.replace(/&raquo;/g,"&amp;raquo;"),r=new DOMParser,o=r.parseFromString(n,"text/xml"),i=o.querySelectorAll("item"),i.forEach((function(t){let n;const r=t.querySelector("title").textContent,o=t.querySelector("link").textContent,i=t.querySelector("content\\:encoded, encoded"),s=i?i.textContent:"",l=t.querySelector("pubDate").innerHTML;a.data[e.key].push({title:r,date:l?+new Date(l):null,postLink:o,description:s.replace(/<a\b((?:(?!target=)[^>])*)>/g,'<a$1 target="_blank">').replace(/<p>\s*<\/p>/g,""),children:JSON.parse((null===(n=t.querySelector("children"))||void 0===n?void 0:n.innerHTML)||"{}")})})),L4.setSessionData(JSON.stringify(this.data[e.key]),e.key),[2]}}))}))})),[4,Promise.all(e)]);case 1:return n.sent(),[2,this.data]}}))}))},e}(),I4=function(){function e(e){this.RSS=e,this.createTriggerButton(),this.createFlyOut()}return e.prototype.getTriggerButtonID=function(){return"whats-new-rss-btn-".concat(this.RSS.getID())},e.prototype.getFlyoutID=function(){return"whats-new-rss-flyout-".concat(this.RSS.getID())},e.prototype.getFlyoutCloseBtnID=function(){return"whats-new-rss-flyout-close-".concat(this.RSS.getID())},e.prototype.getFlyoutMultiFeedNavID=function(){return"whats-new-rss-flyout-multi-feed-nav-".concat(this.RSS.getID())},e.prototype.setIsLoading=function(e){void 0===e&&(e=!1);const t=document.getElementById(this.getFlyoutID());e?t.classList.add("is-loading"):t.classList.remove("is-loading")},e.prototype.setNotification=function(e){const t=document.querySelector("#".concat(this.getTriggerButtonID()," .whats-new-rss-notification-badge"));e?(this.RSS.isMultiFeedRSS()?(t.innerHTML="",t.classList.add("is-multi-feed")):t.innerHTML=e>9?"9+":e.toString(),t.classList.remove("hide")):t.classList.add("hide")},e.prototype.createTriggerButton=function(){const e="\n\t\t".concat(this.RSS.getArgs().triggerButton.beforeBtn,'\n\t\t<a class="whats-new-rss-trigger-button" id="').concat(this.getTriggerButtonID(),'">\n\t\t\t').concat(this.RSS.getArgs().triggerButton.icon,'\n\t\t\t<div class="whats-new-rss-notification-badge hide">0</div>\n\t\t</a>\n\t\t').concat(this.RSS.getArgs().triggerButton.afterBtn,"\n\t\t");this.RSS.getElement().innerHTML+=e},e.prototype.createFlyOut=function(){const e=["whats-new-rss-flyout","closed"];this.RSS.getArgs().flyout.className&&e.push(this.RSS.getArgs().flyout.className);const t=[];this.RSS.isMultiFeedRSS()&&(t.push('<nav id="'.concat(this.getFlyoutMultiFeedNavID(),'" class="whats-new-rss-multi-feed-nav">')),this.RSS.getRSSFeedURLs().forEach((function(e){t.push('<button type="button" data-feed-key="'.concat(e.key,'">\n\t\t\t\t\t\t').concat(e.label,'\n\t\t\t\t\t\t<div class="new-notification-count"></div>\n\t\t\t\t\t</button>\n\t\t\t\t\t'))})),t.push("</nav>"));const n=document.createElement("div");n.setAttribute("id",this.getFlyoutID()),n.setAttribute("class",e.join(" ")),n.setAttribute("role","dialog"),n.innerHTML='\n\t\t<div class="whats-new-rss-flyout-contents">\n\n\t\t\t<div class="whats-new-rss-flyout-inner-header">\n\n\t\t\t\t<div class="whats-new-rss-flyout-inner-header__title-icon-wrapper">\n\t\t\t\t\t<h3>'.concat(this.RSS.getArgs().flyout.title,'</h3>\n\n\t\t\t\t\t<span class="whats-new-rss-flyout-inner-header__loading-icon">\n\t\t\t\t\t').concat(this.RSS.getArgs().loaderIcon,'\n\t\t\t\t\t</span>\n\t\t\t\t</div>\n\n\t\t\t\t<button type="button" id="').concat(this.getFlyoutCloseBtnID(),'">').concat(this.RSS.getArgs().flyout.closeBtnIcon,"</button>\n\t\t\t</div>\n\n\t\t\t").concat(t.join(""),'\n\n\t\t\t<div class="whats-new-rss-flyout-inner-content">\n\t\t\t\t<div class="skeleton-container">\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t\t<div class="skeleton-row whats-new-rss-flyout-inner-content-item"></div>\n\t\t\t\t</div>\n\t\t\t</div>\n\n\t\t</div>\n\n\t\t<div class="whats-new-rss-flyout-overlay"></div>\n\t\t'),document.body.appendChild(n)},e.prototype.setMultiFeedTabNotificationCount=function(e,t){void 0===t&&(t=0);const n=document.querySelector("#".concat(this.getFlyoutMultiFeedNavID(),' button[data-feed-key="').concat(e,'"]'));if(!n)return;const r=n.querySelector(".new-notification-count");if(t){const e=t>9?"9+":t;r.innerHTML=e.toString()}else r.innerHTML=""},e.prototype.innerContentWrapper=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n="");const r=["whats-new-rss-flyout-inner-content-item"];return t&&r.push("rss-new-post"),n&&r.push(n),'\n\t\t<div class="'.concat(r.join(" "),'">\n\t\t\t').concat(t?'<small class="new-post-badge">New ✨</small>':"","\n\t\t\t").concat(e,"\n\t\t</div>\n\t\t")},e.prototype.createExcerpt=function(e,t,n){const r=n.wordLimit,o=n.moreSymbol,i=n.readMore;if(!r)return e;const a=e.replace(/<[^>]*>/g,"").split(/\s+/);let s=a.slice(0,r).join(" ");return o&&(s+=o),r>a.length?e:t&&(null==i?void 0:i.label)?"<p>".concat(s,' <a href="').concat(t,'" target="_blank" class="').concat(i.className,'">').concat(i.label,"</a></p>"):"<p>".concat(s,"</p>")},e.prototype.listChildrenPosts=function(e){const t=this,n=Object.values(e);if(!n.length)return"";const r=document.createElement("details"),o=document.createElement("summary"),i=document.createElement("div");return n.forEach((function(e){const n=(new DOMParser).parseFromString(e.post_content,"text/html"),r=document.createElement("div");r.classList.add("sub-version-item"),r.innerHTML='\n\t\t\t\t<div class="sub-version-header">\n\t\t\t\t\t<h4 class="sub-version-title">'.concat(e.post_title,'</h4>\n\t\t\t\t\t<span class="sub-version-date">').concat(t.formatDate(new Date(e.post_date)),'</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="sub-version-content">').concat(n.documentElement.textContent,"</div>\n\t\t\t"),i.appendChild(r)})),o.innerHTML='<p class="text-see-more">See More</p><p class="text-see-less">See Less</p>',r.appendChild(o),r.appendChild(i),i.classList.add("sub-version-items-wrapper"),r.classList.add("whats-new-rss-sub-version-details"),r.outerHTML},e.prototype.formatDate=function(e){if("function"==typeof this.RSS.getArgs().flyout.formatDate)return this.RSS.getArgs().flyout.formatDate(e);const t=new Date,n=e.getTime(),r=t.getTime()-n,o=36e5,i=24*o,a=7*i,s=30*i;if(r<6e4)return"Just now";if(r<o){const e=Math.floor(r/6e4);return"".concat(e," minute").concat(e>1?"s":""," ago")}if(r<i){const e=Math.floor(r/o);return"".concat(e," hour").concat(e>1?"s":""," ago")}if(r<a){const e=Math.floor(r/i);return"".concat(e," day").concat(e>1?"s":""," ago")}if(r<s){const e=Math.floor(r/a);return"".concat(e," week").concat(e>1?"s":""," ago")}const l=Math.floor(r/s);return"".concat(l," month").concat(l>1?"s":""," ago")},e}();const F4=()=>{var e;const t=Y(),r=G(),o=(null===(e=window.suremails)||void 0===e?void 0:e.version)||"1.0.0",i=[{name:"Dashboard",path:"/dashboard"},{name:"Settings",path:"/settings"},{name:"Connections",path:"/connections"},{name:"Email Logs",path:"/logs"},{name:"Notifications",path:"/notifications",comingSoon:!0}],[a,s]=(0,Ve.useState)(t.pathname);return(0,Ve.useEffect)((()=>{s(t.pathname)}),[t.pathname]),function(e){let{selector:t}=e,r=t3(e,O4);const o=(0,n.useRef)(null);(0,n.useEffect)((()=>(async function(){const e="whats-new-rss-styles";if(!document.getElementById(e)){const t=document.createElement("style");t.id=e,t.innerHTML=await async function(){return".whats-new-rss-is-active{overflow:hidden}.whats-new-rss-trigger-button{display:flex;align-items:center;position:relative;width:auto;padding:5px;cursor:pointer}.whats-new-rss-trigger-button .whats-new-rss-notification-badge{position:absolute;top:-8px;right:-5px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red;transition:transform .2s ease-in-out}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.is-multi-feed{top:-2px;right:-2px;font-size:0;width:10px;height:10px}.whats-new-rss-trigger-button .whats-new-rss-notification-badge.hide{display:none}.whats-new-rss-trigger-button:hover .whats-new-rss-notification-badge{transform:scale(1.2)}.whats-new-rss-flyout{position:fixed;top:0;right:0;bottom:0;width:100%;z-index:99999;transition:visibility .3s ease-in-out;font-family:Arial,Helvetica,sans-serif}.whats-new-rss-flyout .lightbox-trigger,.whats-new-rss-flyout.hidden{display:none}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon{display:block;margin:auto}.whats-new-rss-flyout.is-loading .whats-new-rss-flyout-inner-header__loading-icon svg{display:block;background:0 0;width:25px;height:25px}.whats-new-rss-flyout .whats-new-rss-flyout-contents{position:fixed;display:flex;right:0;width:30%;height:100%;flex-direction:column;background-color:#fff;transition:transform .3s ease-in-out;z-index:9999}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header{display:flex;justify-content:space-between;align-items:center;padding:16px 20px 16px 24px;border-bottom:1px solid #ccc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header button{border:none;background:0 0;font-size:30px;cursor:pointer;color:#94a3b8;padding:0;margin:0;box-shadow:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper{display:flex;gap:10px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-header .whats-new-rss-flyout-inner-header__title-icon-wrapper h3{margin:0;padding:0;color:#0f172a;font-weight:600;font-size:16px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav{display:flex;padding:0 30px;border-bottom:1px solid #ccc;gap:2em;overflow:auto;white-space:nowrap}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button{position:relative;background:0 0;color:inherit;padding:15px 0;border-bottom:2px solid transparent}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:focus,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button:hover{border-color:inherit}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button.selected{border-color:#5d5d5d}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-multi-feed-nav button .new-notification-count{position:absolute;top:0;right:-10px;width:20px;font-size:10px;line-height:20px;text-align:center;border-radius:10px;color:#fff;background:red}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content{flex:1;overflow-y:auto}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .skeleton-container{margin:30px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item{border-bottom:1px solid #d8dfe9;padding:30px 24px;color:#475569;font-weight:400;font-size:14px;line-height:20px;display:flex;flex-direction:column;gap:13px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item>*{margin:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.skeleton-row{height:25vh;margin:40px 0;background:linear-gradient(90deg,#eee 25%,#ddd 50%,#eee 75%);background-size:200% 100%;animation:shimmer 1.5s infinite}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post{position:relative}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item.rss-new-post .new-post-badge{background:#ff3d3d;border-radius:5px;position:absolute;right:45px;padding:0 5px;color:#fff}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header{display:flex;flex-direction:column;gap:15px;padding:0 0 8px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header p{color:#94a3b8;margin:0;padding:0;font-weight:600;font-size:14px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item .rss-content-header h2{margin:0;color:#0f172a;font-weight:700;line-height:28px;font-size:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h2{font-weight:700;font-size:18px;line-height:24px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h3{font-weight:700;font-size:16px;line-height:22px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h4{font-weight:700;font-size:15px;line-height:20px;margin-top:12px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h5{font-weight:700;font-size:14px;line-height:18px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item h6{font-weight:700;font-size:13px;line-height:16px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p{padding:0;font-size:14px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item p:last-child{margin-bottom:0;padding-bottom:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item a{color:#1170ff;text-decoration:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure{margin:10px 0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure.wp-block-embed.is-type-video{position:relative;width:100%;height:0;padding-bottom:56.25%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item figure iframe{position:absolute;top:0;left:0;width:100%;height:100%;border:0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item img{box-sizing:border-box;height:auto;max-width:100%;vertical-align:bottom}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item video{vertical-align:middle;width:100%}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item strong{font-weight:600}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{padding-inline-start:20px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol li,.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul li{margin-bottom:5px}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ul{list-style-type:disc}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-flyout-inner-content .whats-new-rss-flyout-inner-content-item ol{list-style-type:decimal}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details{line-height:20px;font-size:.9em;margin:10px 0;background:#f9fafb}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary{display:flex;justify-content:space-between;cursor:pointer;padding:20px 15px;height:1em;line-height:20px;font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary::after{content:'⌃';font-size:20px;transform:rotateX(180deg);font-weight:800}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-more{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details summary .text-see-less{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary{border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary::after{transform:rotateX(45deg)}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-more{display:none}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details[open] summary .text-see-less{display:block}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item{position:relative;padding:1em;border-bottom:1px solid #e2e8f0}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-header{display:flex;justify-content:space-between}.whats-new-rss-flyout .whats-new-rss-flyout-contents .whats-new-rss-sub-version-details .sub-version-item .sub-version-content{margin-top:1em}.whats-new-rss-flyout .whats-new-rss-flyout-overlay{position:fixed;top:0;right:0;bottom:0;left:0;background:rgba(0,0,0,.5);transition:all .3s ease-in-out}.whats-new-rss-flyout.closed{visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-overlay{opacity:0;visibility:hidden}.whats-new-rss-flyout.closed .whats-new-rss-flyout-contents{transform:translateX(100%)}.whats-new-rss-flyout .whats-new-rss-flyout-inner-header__loading-icon{display:none}@keyframes shimmer{0%{background-position:-200% 0}100%{background-position:200% 0}}@media screen and (max-width:1024px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:40%}}@media screen and (max-width:768px){.whats-new-rss-flyout .whats-new-rss-flyout-contents{width:85%}}"}(),document.head.appendChild(t)}}(),o.current||(o.current=function(e){return new N4(e)}(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?R4(Object(n),!0).forEach((function(t){ze(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):R4(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}({selector:t},r))),()=>{o.current&&"function"==typeof o.current.destroy&&o.current.destroy()})),[t,...Object.values(r)]),o.current}({uniqueKey:"suremails",rssFeedURL:"https://suremails.com/whats-new/feed/",selector:"#suremails_whats_new",flyout:{title:(0,He.__)("What's New?","suremails"),className:"suremails-whats-new-flyout"},triggerButton:{icon:(0,Ve.renderToString)(React.createElement(_4,{className:"size-4 m-1 text-icon-primary",strokeWidth:1.5}))}}),React.createElement(React.Fragment,null,React.createElement(TC,{className:"relative shadow-sm bg-background-primary h-16 z-[1] p-0 gap-0"},React.createElement(TC.Left,{className:"p-5 gap-5"},React.createElement(KC,{className:"lg:hidden"},React.createElement(KC.Toggle,{className:"size-6"}),React.createElement(KC.Options,null,i.map((e=>e.comingSoon?React.createElement(KC.Option,{key:e.name,className:" cursor-not-allowed opacity-50"},e.name,React.createElement(Sa,{label:"Coming Soon",size:"xs",variant:"blue",className:"pl-1 pr-1 ml-1"})):React.createElement(KC.Option,{key:e.name,tag:Me,to:e.path,active:a.trim()===e.path},e.name))))),React.createElement(TC.Item,null,React.createElement("div",{onClick:()=>{r("/dashboard")},className:"flex items-center justify-center cursor-pointer"},React.createElement(x9,{className:"h-6 w-6"})))),React.createElement(TC.Middle,{className:"h-full lg:flex hidden",align:"left",gap:"xs"},React.createElement(TC.Item,{className:"h-full"},React.createElement("nav",{className:"h-full space-x-4"},i.map((e=>e.comingSoon?React.createElement("span",{key:e.name,className:y8("inline-flex items-center relative h-full content-center px-1 text-sm text-text-disabled font-medium bg-transparent cursor-not-allowed opacity-50",a.trim()===e.path?"text-text-primary":"")},e.name,React.createElement(Sa,{label:"Coming Soon",size:"xs",variant:"blue",className:"pl-1 pr-1 ml-1"})):React.createElement(Me,{key:e.name,to:e.path,className:y8("inline-block relative h-full content-center px-1 text-sm text-text-secondary font-medium no-underline bg-transparent focus:outline-none shadow-none border-1 hover:text-text-primary transition-colors duration-300",a.trim()===e.path?'text-text-primary border-none after:content-[""] after:absolute after:bottom-0 after:inset-x-0 after:h-px after:bg-border-interactive after:transition-all after:duration-300':"")},e.name)))))),React.createElement(TC.Right,{className:"p-5"},React.createElement(TC.Item,null,React.createElement(Sa,{label:"V ".concat(o),size:"xs",variant:"neutral"})),React.createElement(TC.Item,{className:"gap-2"},React.createElement(tn,{variant:"ghost",size:"xs",icon:React.createElement(U3,null),onClick:()=>window.open("https://suremails.com/docs/","_blank"),href:""}),React.createElement("div",{id:"suremails_whats_new",className:"[&>a]:p-0.5 [&>a]:pl-0"})))))};var B4=class extends A1{constructor(e={}){super(),this.config=e,this.#V=new Map}#V;build(e,t,n){const r=t.queryKey,o=t.queryHash??T1(r,t);let i=this.get(o);return i||(i=new t0({client:e,queryKey:r,queryHash:o,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(i)),i}add(e){this.#V.has(e.queryHash)||(this.#V.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#V.get(e.queryHash);t&&(e.destroy(),t===e&&this.#V.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){q1.batch((()=>{this.getAll().forEach((e=>{this.remove(e)}))}))}get(e){return this.#V.get(e)}getAll(){return[...this.#V.values()]}find(e){const t={exact:!0,...e};return this.getAll().find((e=>P1(t,e)))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter((t=>P1(e,t))):t}notify(e){q1.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}onFocus(){q1.batch((()=>{this.getAll().forEach((e=>{e.onFocus()}))}))}onOnline(){q1.batch((()=>{this.getAll().forEach((e=>{e.onOnline()}))}))}},z4=class extends A1{constructor(e={}){super(),this.config=e,this.#H=new Set,this.#W=new Map,this.#U=0}#H;#W;#U;build(e,t,n){const r=new p0({mutationCache:this,mutationId:++this.#U,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#H.add(e);const t=V4(e);if("string"==typeof t){const n=this.#W.get(t);n?n.push(e):this.#W.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#H.delete(e)){const t=V4(e);if("string"==typeof t){const n=this.#W.get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#W.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=V4(e);if("string"==typeof t){const n=this.#W.get(t),r=n?.find((e=>"pending"===e.state.status));return!r||r===e}return!0}runNext(e){const t=V4(e);if("string"==typeof t){const n=this.#W.get(t)?.find((t=>t!==e&&t.state.isPaused));return n?.continue()??Promise.resolve()}return Promise.resolve()}clear(){q1.batch((()=>{this.#H.forEach((e=>{this.notify({type:"removed",mutation:e})})),this.#H.clear(),this.#W.clear()}))}getAll(){return Array.from(this.#H)}find(e){const t={exact:!0,...e};return this.getAll().find((e=>j1(t,e)))}findAll(e={}){return this.getAll().filter((t=>j1(e,t)))}notify(e){q1.batch((()=>{this.listeners.forEach((t=>{t(e)}))}))}resumePausedMutations(){const e=this.getAll().filter((e=>e.state.isPaused));return q1.batch((()=>Promise.all(e.map((e=>e.continue().catch(S1))))))}};function V4(e){return e.options.scope?.id}function H4(e){return{onFetch:(t,n)=>{const r=t.options,o=t.fetchOptions?.meta?.fetchMore?.direction,i=t.state.data?.pages||[],a=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let n=!1;const c=U1(t.options,t.fetchOptions),u=async(e,r,o)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const i={client:t.client,queryKey:t.queryKey,pageParam:r,direction:o?"backward":"forward",meta:t.options.meta};var a;a=i,Object.defineProperty(a,"signal",{enumerable:!0,get:()=>(t.signal.aborted?n=!0:t.signal.addEventListener("abort",(()=>{n=!0})),t.signal)});const s=await c(i),{maxPages:l}=t.options,u=o?H1:V1;return{pages:u(e.pages,s,l),pageParams:u(e.pageParams,r,l)}};if(o&&i.length){const e="backward"===o,t={pages:i,pageParams:a},n=(e?U4:W4)(r,t);s=await u(t,n,e)}else{const t=e??i.length;do{const e=0===l?a[0]??r.initialPageParam:W4(r,s);if(l>0&&null==e)break;s=await u(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function W4(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function U4(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}const Z4=new class{#Z;#I;#u;#q;#Y;#K;#Q;#G;constructor(e={}){this.#Z=e.queryCache||new B4,this.#I=e.mutationCache||new z4,this.#u=e.defaultOptions||{},this.#q=new Map,this.#Y=new Map,this.#K=0}mount(){this.#K++,1===this.#K&&(this.#Q=Z1.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#Z.onFocus())})),this.#G=Y1.subscribe((async e=>{e&&(await this.resumePausedMutations(),this.#Z.onOnline())})))}unmount(){this.#K--,0===this.#K&&(this.#Q?.(),this.#Q=void 0,this.#G?.(),this.#G=void 0)}isFetching(e){return this.#Z.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#I.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#Z.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#Z.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(O1(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#Z.findAll(e).map((({queryKey:e,state:t})=>[e,t.data]))}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),o=this.#Z.get(r.queryHash),i=o?.state.data,a=function(e,t){return"function"==typeof e?e(t):e}(t,i);if(void 0!==a)return this.#Z.build(this,r).setData(a,{...n,manual:!0})}setQueriesData(e,t,n){return q1.batch((()=>this.#Z.findAll(e).map((({queryKey:e})=>[e,this.setQueryData(e,t,n)]))))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#Z.get(t.queryHash)?.state}removeQueries(e){const t=this.#Z;q1.batch((()=>{t.findAll(e).forEach((e=>{t.remove(e)}))}))}resetQueries(e,t){const n=this.#Z,r={type:"active",...e};return q1.batch((()=>(n.findAll(e).forEach((e=>{e.reset()})),this.refetchQueries(r,t))))}cancelQueries(e,t={}){const n={revert:!0,...t},r=q1.batch((()=>this.#Z.findAll(e).map((e=>e.cancel(n)))));return Promise.all(r).then(S1).catch(S1)}invalidateQueries(e,t={}){return q1.batch((()=>{if(this.#Z.findAll(e).forEach((e=>{e.invalidate()})),"none"===e?.refetchType)return Promise.resolve();const n={...e,type:e?.refetchType??e?.type??"active"};return this.refetchQueries(n,t)}))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=q1.batch((()=>this.#Z.findAll(e).filter((e=>!e.isDisabled())).map((e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(S1)),"paused"===e.state.fetchStatus?Promise.resolve():t}))));return Promise.all(r).then(S1)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#Z.build(this,t);return n.isStaleByTime(O1(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(S1).catch(S1)}fetchInfiniteQuery(e){return e.behavior=H4(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(S1).catch(S1)}ensureInfiniteQueryData(e){return e.behavior=H4(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return Y1.isOnline()?this.#I.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#Z}getMutationCache(){return this.#I}getDefaultOptions(){return this.#u}setDefaultOptions(e){this.#u=e}setQueryDefaults(e,t){this.#q.set(M1(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#q.values()],n={};return t.forEach((t=>{N1(e,t.queryKey)&&Object.assign(n,t.defaultOptions)})),n}setMutationDefaults(e,t){this.#Y.set(M1(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#Y.values()];let n={};return t.forEach((t=>{N1(e,t.mutationKey)&&(n={...n,...t.defaultOptions})})),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#u.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=T1(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===W1&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#u.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#Z.clear(),this.#I.clear()}},q4=()=>{const e="/onboarding"===Y().pathname;return React.createElement(React.Fragment,null,React.createElement("div",{className:"w-full h-full"},!e&&React.createElement(F4,null),React.createElement("div",{className:"w-full bg-background-secondary min-h-[calc(100dvh_-_110px)] md:min-h-[calc(100dvh_-_96px)] lg:min-h-[calc(100vh_-_96px)]"},React.createElement(k4,null))),React.createElement(Lp,{dismissAfter:3e3,className:"z-999999"}))},Y4=()=>React.createElement(C1,{client:Z4},React.createElement(je,null,React.createElement(q4,null))),K4=document.getElementById("suremails-root-app");K4&&(0,t.H)(K4).render(React.createElement(Y4,null))})()})();