WS_OK_7.4.33
!function(){var e={3338:function(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},1138:function(e,t,n){"use strict";var i=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var r=Object.getOwnPropertyDescriptor(t,n);r&&!("get"in r?!t.__esModule:r.writable||r.configurable)||(r={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,r)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),r=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||i(t,e,n)};Object.defineProperty(t,"__esModule",{value:!0}),t.DomHandler=void 0;var o=n(3338),a=n(2888);r(n(2888),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?o.ElementType.Tag:void 0,i=new a.Element(e,t,void 0,n);this.addNode(i),this.tagStack.push(i)},e.prototype.ontext=function(e){var t=this.lastNode;if(t&&t.type===o.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===o.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},2888:function(e,t,n){"use strict";var i,r=this&&this.__extends||(i=function(e,t){return i=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])},i(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}i(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}),o=this&&this.__assign||function(){return o=Object.assign||function(e){for(var t,n=1,i=arguments.length;n<i;n++)for(var r in t=arguments[n])Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},o.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(3338),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),w(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 r(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 r(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 r(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 i=e.call(this,n)||this;return i.name=t,i.type=a.ElementType.Directive,i}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 1},enumerable:!1,configurable:!0}),t}(l);t.ProcessingInstruction=d;var h=function(e){function t(t){var n=e.call(this)||this;return n.children=t,n}return r(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=h;var f=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.CDATA,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 4},enumerable:!1,configurable:!0}),t}(h);t.CDATA=f;var p=function(e){function t(){var t=null!==e&&e.apply(this,arguments)||this;return t.type=a.ElementType.Root,t}return r(t,e),Object.defineProperty(t.prototype,"nodeType",{get:function(){return 9},enumerable:!1,configurable:!0}),t}(h);t.Document=p;var m=function(e){function t(t,n,i,r){void 0===i&&(i=[]),void 0===r&&(r="script"===t?a.ElementType.Script:"style"===t?a.ElementType.Style:a.ElementType.Tag);var o=e.call(this,i)||this;return o.name=t,o.attribs=n,o.type=r,o}return r(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,i;return{name:t,value:e.attribs[t],namespace:null===(n=e["x-attribsNamespace"])||void 0===n?void 0:n[t],prefix:null===(i=e["x-attribsPrefix"])||void 0===i?void 0:i[t]}})},enumerable:!1,configurable:!0}),t}(h);function g(e){return(0,a.isTag)(e)}function b(e){return e.type===a.ElementType.CDATA}function v(e){return e.type===a.ElementType.Text}function y(e){return e.type===a.ElementType.Comment}function _(e){return e.type===a.ElementType.Directive}function C(e){return e.type===a.ElementType.Root}function w(e,t){var n;if(void 0===t&&(t=!1),v(e))n=new c(e.data);else if(y(e))n=new u(e.data);else if(g(e)){var i=t?x(e.children):[],r=new m(e.name,o({},e.attribs),i);i.forEach(function(e){return e.parent=r}),null!=e.namespace&&(r.namespace=e.namespace),e["x-attribsNamespace"]&&(r["x-attribsNamespace"]=o({},e["x-attribsNamespace"])),e["x-attribsPrefix"]&&(r["x-attribsPrefix"]=o({},e["x-attribsPrefix"])),n=r}else if(b(e)){i=t?x(e.children):[];var a=new f(i);i.forEach(function(e){return e.parent=a}),n=a}else if(C(e)){i=t?x(e.children):[];var s=new p(i);i.forEach(function(e){return e.parent=s}),e["x-mode"]&&(s["x-mode"]=e["x-mode"]),n=s}else{if(!_(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 x(e){for(var t=e.map(function(e){return w(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=b,t.isText=v,t.isComment=y,t.isDirective=_,t.isDocument=C,t.hasChildren=function(e){return Object.prototype.hasOwnProperty.call(e,"children")},t.cloneNode=w},629:function(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().toString(),"__"),t.CARRIAGE_RETURN_PLACEHOLDER_REGEX=new RegExp(t.CARRIAGE_RETURN_PLACEHOLDER,"g")},3395:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e){var t,n,u,d,h,p;e=(0,i.escapeSpecialCharacters)(e);var g=s.exec(e),b=null===(t=null==g?void 0:g[1])||void 0===t?void 0:t.toLowerCase();switch(b){case r:var v=c(e);return(0,i.hasOpenTag)(e,o)||null===(n=null==(_=v.querySelector(o))?void 0:_.parentNode)||void 0===n||n.removeChild(_),(0,i.hasOpenTag)(e,a)||null===(u=null==(_=v.querySelector(a))?void 0:_.parentNode)||void 0===u||u.removeChild(_),v.querySelectorAll(r);case o:case a:var y=l(e).querySelectorAll(b);return(0,i.hasOpenTag)(e,a)&&(0,i.hasOpenTag)(e,o)?null!==(h=null===(d=y[0].parentNode)||void 0===d?void 0:d.childNodes)&&void 0!==h?h:m():y;default:return f?f(e):null!==(p=null==(_=l(e,a).querySelector(a))?void 0:_.childNodes)&&void 0!==p?p:m();var _}};var i=n(5668),r="html",o="head",a="body",s=/<([a-zA-Z]+[0-9]?)/,l=function(e,t){throw new Error("This browser does not support `document.implementation.createHTMLDocument`")},c=function(e,t){throw new Error("This browser does not support `DOMParser.prototype.parseFromString`")},u="object"==typeof window&&window.DOMParser;if("function"==typeof u){var d=new u;l=c=function(e,t){return t&&(e="<".concat(t,">").concat(e,"</").concat(t,">")),d.parseFromString(e,"text/html")}}if("object"==typeof document&&document.implementation){var h=document.implementation.createHTMLDocument();l=function(e,t){if(t){var n=h.documentElement.querySelector(t);return n&&(n.innerHTML=e),h}return h.documentElement.innerHTML=e,h}}var f,p="object"==typeof document&&document.createElement("template");p&&p.content&&(f=function(e){return p.innerHTML=e,p.content.childNodes});var m=function(){return document.createDocumentFragment().childNodes}},9072:function(e,t,n){"use strict";var i=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=a.exec(e),n=t?t[1]:void 0;return(0,o.formatDOM)((0,r.default)(e),null,n)};var r=i(n(3395)),o=n(5668),a=/<(![a-zA-Z\s]+)>/},5668:function(e,t,n){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.formatAttributes=o,t.hasOpenTag=function(e,t){var n="<"+t,i=e.toLowerCase().indexOf(n);if(-1===i)return!1;var r=e[i+n.length];return">"===r||" "===r||"\t"===r||"\n"===r||"\r"===r||"/"===r},t.escapeSpecialCharacters=function(e){return e.replace(r.CARRIAGE_RETURN_REGEX,r.CARRIAGE_RETURN_PLACEHOLDER)},t.revertEscapedCharacters=s,t.formatDOM=function e(t,n,r){var l,c,u,d;void 0===n&&(n=null);for(var h,f=[],p=0,m=t.length;p<m;p++){var g=t[p];switch(g.nodeType){case 1:var b=a(g.nodeName);(h=new i.Element(b,o(g.attributes))).children=e("template"===b?g.content.childNodes:g.childNodes,h);break;case 3:h=new i.Text(s(null!==(l=g.nodeValue)&&void 0!==l?l:""));break;case 8:h=new i.Comment(null!==(c=g.nodeValue)&&void 0!==c?c:"");break;default:continue}var v=null!==(u=f[p-1])&&void 0!==u?u:null;v&&(v.next=h),h.parent=n,h.prev=v,h.next=null,f.push(h)}return r&&((h=new i.ProcessingInstruction(r.substring(0,r.indexOf(" ")).toLowerCase(),r)).next=null!==(d=f[0])&&void 0!==d?d:null,h.parent=n,f.unshift(h),f[1]&&(f[1].prev=f[0])),f};var i=n(1138),r=n(629);function o(e){for(var t={},n=0,i=e.length;n<i;n++){var r=e[n];t[r.name]=r.value}return t}function a(e){return function(e){return r.CASE_SENSITIVE_TAG_NAMES_MAP[e]}(e=e.toLowerCase())||e}function s(e){return e.replace(r.CARRIAGE_RETURN_PLACEHOLDER_REGEX,r.CARRIAGE_RETURN)}},4193:function(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,i.isCustomAttribute)(u))n[u]=d;else{var h=u.toLowerCase(),f=l(h);if(f){var p=(0,i.getPropertyInfo)(f);switch(o.includes(f)&&a.includes(t)&&!c&&(f=l("default"+h)),n[f]=d,null==p?void 0:p.type){case i.BOOLEAN:n[f]=!0;break;case i.OVERLOADED_BOOLEAN:""===d&&(n[f]=!0)}}else r.PRESERVE_CUSTOM_ATTRIBUTES&&(n[u]=d)}}return(0,r.setStyleProp)(e.style,n),n};var i=n(9461),r=n(9523),o=["checked","value"],a=["input","select","textarea"],s={reset:!0,submit:!0};function l(e){return i.possibleStandardNames[e]}},9471:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function e(t,n){var i,r,c,u,d;void 0===n&&(n={});for(var h=[],f="function"==typeof n.replace,p=null!==(i=n.transform)&&void 0!==i?i:a.returnFirstArg,m=null!==(r=n.library)&&void 0!==r?r:s,g=m.cloneElement,b=m.createElement,v=m.isValidElement,y=t.length,_=0;_<y;_++){var C=t[_];if(f){var w=null===(c=n.replace)||void 0===c?void 0:c.call(n,C,_);if(v(w)){y>1&&(w=g(w,{key:null!==(u=w.key)&&void 0!==u?u:_})),h.push(p(w,C,_));continue}}if("text"!==C.type){var x=C,E={};l(x)?((0,a.setStyleProp)(x.attribs.style,x.attribs),E=x.attribs):x.attribs&&(E=(0,o.default)(x.attribs,x.name));var S=void 0;switch(C.type){case"script":case"style":C.children[0]&&(E.dangerouslySetInnerHTML={__html:C.children[0].data});break;case"tag":"textarea"===C.name&&C.children[0]?E.defaultValue=C.children[0].data:(null===(d=C.children)||void 0===d?void 0:d.length)&&(S=e(C.children,n));break;default:continue}y>1&&(E.key=_),h.push(p(b(C.name,E,S),C,_))}else{var k=!C.data.trim().length;if(k&&C.parent&&!(0,a.canTextBeChildOfNode)(C.parent))continue;if(n.trim&&k)continue;h.push(p(C.data,C,_))}}return 1===h.length?h[0]:h};var r=n(1594),o=i(n(4193)),a=n(9523),s={cloneElement:r.cloneElement,createElement:r.createElement,isValidElement:r.isValidElement};function l(e){return a.PRESERVE_CUSTOM_ATTRIBUTES&&"tag"===e.type&&(0,a.isCustomComponent)(e.name,e.attribs)}},9907:function(e,t,n){"use strict";var i=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){var n;if("string"!=typeof e)throw new TypeError("First argument must be a string");return e?(0,a.default)((0,r.default)(e,null!==(n=null==t?void 0:t.htmlparser2)&&void 0!==n?n:l),t):[]};var r=i(n(9072));t.htmlToDOM=r.default;var o=i(n(4193));t.attributesToProps=o.default;var a=i(n(9471));t.domToReact=a.default;var s=n(1138);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}},9523:function(e,t,n){"use strict";var i=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,o.default)(e,s)}catch(e){t.style={}}else t.style={}};var r=n(1594),o=i(n(1020)),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(r.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}},2776:function(e){"use strict";var t=/\/\*[^*]*\*+([^/*][^*]*\*+)*\//g,n=/\n/g,i=/^\s*/,r=/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/,o=/^:\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,h=1;function f(e){var t=e.match(n);t&&(d+=t.length);var i=e.lastIndexOf("\n");h=~i?e.length-i:h+e.length}function p(){var e={line:d,column:h};return function(t){return t.position=new m(e),v(),t}}function m(e){this.start=e,this.end={line:d,column:h},this.source=l.source}function g(t){var n=new Error(l.source+":"+d+":"+h+": "+t);if(n.reason=t,n.filename=l.source,n.line=d,n.column=h,n.source=e,!l.silent)throw n}function b(t){var n=t.exec(e);if(n){var i=n[0];return f(i),e=e.slice(i.length),n}}function v(){b(i)}function y(e){var t;for(e=e||[];t=_();)!1!==t&&e.push(t);return e}function _(){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 g("End of comment missing");var i=e.slice(2,n-2);return h+=2,f(i),e=e.slice(n),h+=2,t({type:"comment",comment:i})}}function C(){var e=p(),n=b(r);if(n){if(_(),!b(o))return g("property missing ':'");var i=b(a),l=e({type:"declaration",property:u(n[0].replace(t,c)),value:i?u(i[0].replace(t,c)):c});return b(s),l}}return m.prototype.content=e,v(),function(){var e,t=[];for(y(t);e=C();)!1!==e&&(t.push(e),y(t));return t}()}},5359:function(e){function t(e){return void 0===e}function n(e){return e===Object(e)}function i(e){return Array.isArray(e)}function r(e,i){return i?n(e)&&!t(e.uri):n(e)&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice}function o(e){return!t(e)&&e}e.exports={serialize:function e(a,s,l,c){s=s||{},l=l||new FormData,s.indices=o(s.indices),s.nullsAsUndefineds=o(s.nullsAsUndefineds),s.booleansAsIntegers=o(s.booleansAsIntegers),s.allowEmptyArrays=o(s.allowEmptyArrays),s.noAttributesWithArrayNotation=o(s.noAttributesWithArrayNotation),s.noFilesWithArrayNotation=o(s.noFilesWithArrayNotation),s.dotsForObjectNotation=o(s.dotsForObjectNotation);const u="function"==typeof l.getParts;return t(a)||(null===a?s.nullsAsUndefineds||l.append(c,""):"boolean"!=typeof a?i(a)?a.length?a.forEach((t,i)=>{let o=c+"["+(s.indices?i:"")+"]";(s.noAttributesWithArrayNotation||s.noFilesWithArrayNotation&&function(e,t){return r(e,t)&&"string"==typeof e.name&&(n(e.lastModifiedDate)||"number"==typeof e.lastModified)}(t,u))&&(o=c),e(t,s,l,o)}):s.allowEmptyArrays&&l.append(s.noAttributesWithArrayNotation?c:c+"[]",""):function(e){return e instanceof Date}(a)?l.append(c,a.toISOString()):n(a)&&!r(a,u)?Object.keys(a).forEach(t=>{const n=a[t];if(i(n))for(;t.length>2&&t.lastIndexOf("[]")===t.length-2;)t=t.substring(0,t.length-2);const r=c?s.dotsForObjectNotation?c+"."+t:c+"["+t+"]":t;e(n,s,l,r)}):l.append(c,a):s.booleansAsIntegers?l.append(c,a?1:0):l.append(c,a)),l}}},7641:function(e,t,n){var i=function(e){var t=/(?:^|\s)lang(?:uage)?-([\w-]+)(?=\s|$)/i,n=0,i={},r={manual:e.Prism&&e.Prism.manual,disableWorkerMessageHandler:e.Prism&&e.Prism.disableWorkerMessageHandler,util:{encode:function e(t){return t instanceof o?new o(t.type,e(t.content),t.alias):Array.isArray(t)?t.map(e):t.replace(/&/g,"&").replace(/</g,"<").replace(/\u00a0/g," ")},type:function(e){return Object.prototype.toString.call(e).slice(8,-1)},objId:function(e){return e.__id||Object.defineProperty(e,"__id",{value:++n}),e.__id},clone:function e(t,n){var i,o;switch(n=n||{},r.util.type(t)){case"Object":if(o=r.util.objId(t),n[o])return n[o];for(var a in i={},n[o]=i,t)t.hasOwnProperty(a)&&(i[a]=e(t[a],n));return i;case"Array":return o=r.util.objId(t),n[o]?n[o]:(i=[],n[o]=i,t.forEach(function(t,r){i[r]=e(t,n)}),i);default:return t}},getLanguage:function(e){for(;e;){var n=t.exec(e.className);if(n)return n[1].toLowerCase();e=e.parentElement}return"none"},setLanguage:function(e,n){e.className=e.className.replace(RegExp(t,"gi"),""),e.classList.add("language-"+n)},currentScript:function(){if("undefined"==typeof document)return null;if(document.currentScript&&"SCRIPT"===document.currentScript.tagName)return document.currentScript;try{throw new Error}catch(i){var e=(/at [^(\r\n]*\((.*):[^:]+:[^:]+\)$/i.exec(i.stack)||[])[1];if(e){var t=document.getElementsByTagName("script");for(var n in t)if(t[n].src==e)return t[n]}return null}},isActive:function(e,t,n){for(var i="no-"+t;e;){var r=e.classList;if(r.contains(t))return!0;if(r.contains(i))return!1;e=e.parentElement}return!!n}},languages:{plain:i,plaintext:i,text:i,txt:i,extend:function(e,t){var n=r.util.clone(r.languages[e]);for(var i in t)n[i]=t[i];return n},insertBefore:function(e,t,n,i){var o=(i=i||r.languages)[e],a={};for(var s in o)if(o.hasOwnProperty(s)){if(s==t)for(var l in n)n.hasOwnProperty(l)&&(a[l]=n[l]);n.hasOwnProperty(s)||(a[s]=o[s])}var c=i[e];return i[e]=a,r.languages.DFS(r.languages,function(t,n){n===c&&t!=e&&(this[t]=a)}),a},DFS:function e(t,n,i,o){o=o||{};var a=r.util.objId;for(var s in t)if(t.hasOwnProperty(s)){n.call(t,s,t[s],i||s);var l=t[s],c=r.util.type(l);"Object"!==c||o[a(l)]?"Array"!==c||o[a(l)]||(o[a(l)]=!0,e(l,n,s,o)):(o[a(l)]=!0,e(l,n,null,o))}}},plugins:{},highlightAll:function(e,t){r.highlightAllUnder(document,e,t)},highlightAllUnder:function(e,t,n){var i={callback:n,container:e,selector:'code[class*="language-"], [class*="language-"] code, code[class*="lang-"], [class*="lang-"] code'};r.hooks.run("before-highlightall",i),i.elements=Array.prototype.slice.apply(i.container.querySelectorAll(i.selector)),r.hooks.run("before-all-elements-highlight",i);for(var o,a=0;o=i.elements[a++];)r.highlightElement(o,!0===t,i.callback)},highlightElement:function(t,n,i){var o=r.util.getLanguage(t),a=r.languages[o];r.util.setLanguage(t,o);var s=t.parentElement;s&&"pre"===s.nodeName.toLowerCase()&&r.util.setLanguage(s,o);var l={element:t,language:o,grammar:a,code:t.textContent};function c(e){l.highlightedCode=e,r.hooks.run("before-insert",l),l.element.innerHTML=l.highlightedCode,r.hooks.run("after-highlight",l),r.hooks.run("complete",l),i&&i.call(l.element)}if(r.hooks.run("before-sanity-check",l),(s=l.element.parentElement)&&"pre"===s.nodeName.toLowerCase()&&!s.hasAttribute("tabindex")&&s.setAttribute("tabindex","0"),!l.code)return r.hooks.run("complete",l),void(i&&i.call(l.element));if(r.hooks.run("before-highlight",l),l.grammar)if(n&&e.Worker){var u=new Worker(r.filename);u.onmessage=function(e){c(e.data)},u.postMessage(JSON.stringify({language:l.language,code:l.code,immediateClose:!0}))}else c(r.highlight(l.code,l.grammar,l.language));else c(r.util.encode(l.code))},highlight:function(e,t,n){var i={code:e,grammar:t,language:n};if(r.hooks.run("before-tokenize",i),!i.grammar)throw new Error('The language "'+i.language+'" has no grammar.');return i.tokens=r.tokenize(i.code,i.grammar),r.hooks.run("after-tokenize",i),o.stringify(r.util.encode(i.tokens),i.language)},tokenize:function(e,t){var n=t.rest;if(n){for(var i in n)t[i]=n[i];delete t.rest}var r=new l;return c(r,r.head,e),s(e,r,t,r.head,0),function(e){for(var t=[],n=e.head.next;n!==e.tail;)t.push(n.value),n=n.next;return t}(r)},hooks:{all:{},add:function(e,t){var n=r.hooks.all;n[e]=n[e]||[],n[e].push(t)},run:function(e,t){var n=r.hooks.all[e];if(n&&n.length)for(var i,o=0;i=n[o++];)i(t)}},Token:o};function o(e,t,n,i){this.type=e,this.content=t,this.alias=n,this.length=0|(i||"").length}function a(e,t,n,i){e.lastIndex=t;var r=e.exec(n);if(r&&i&&r[1]){var o=r[1].length;r.index+=o,r[0]=r[0].slice(o)}return r}function s(e,t,n,i,l,d){for(var h in n)if(n.hasOwnProperty(h)&&n[h]){var f=n[h];f=Array.isArray(f)?f:[f];for(var p=0;p<f.length;++p){if(d&&d.cause==h+","+p)return;var m=f[p],g=m.inside,b=!!m.lookbehind,v=!!m.greedy,y=m.alias;if(v&&!m.pattern.global){var _=m.pattern.toString().match(/[imsuy]*$/)[0];m.pattern=RegExp(m.pattern.source,_+"g")}for(var C=m.pattern||m,w=i.next,x=l;w!==t.tail&&!(d&&x>=d.reach);x+=w.value.length,w=w.next){var E=w.value;if(t.length>e.length)return;if(!(E instanceof o)){var S,k=1;if(v){if(!(S=a(C,x,e,b))||S.index>=e.length)break;var O=S.index,M=S.index+S[0].length,A=x;for(A+=w.value.length;O>=A;)A+=(w=w.next).value.length;if(x=A-=w.value.length,w.value instanceof o)continue;for(var P=w;P!==t.tail&&(A<M||"string"==typeof P.value);P=P.next)k++,A+=P.value.length;k--,E=e.slice(x,A),S.index-=x}else if(!(S=a(C,0,E,b)))continue;O=S.index;var j=S[0],I=E.slice(0,O),T=E.slice(O+j.length),D=x+E.length;d&&D>d.reach&&(d.reach=D);var L=w.prev;if(I&&(L=c(t,L,I),x+=I.length),u(t,L,k),w=c(t,L,new o(h,g?r.tokenize(j,g):j,y,j)),T&&c(t,w,T),k>1){var N={cause:h+","+p,reach:D};s(e,t,n,w.prev,x,N),d&&N.reach>d.reach&&(d.reach=N.reach)}}}}}}function l(){var e={value:null,prev:null,next:null},t={value:null,prev:e,next:null};e.next=t,this.head=e,this.tail=t,this.length=0}function c(e,t,n){var i=t.next,r={value:n,prev:t,next:i};return t.next=r,i.prev=r,e.length++,r}function u(e,t,n){for(var i=t.next,r=0;r<n&&i!==e.tail;r++)i=i.next;t.next=i,i.prev=t,e.length-=r}if(e.Prism=r,o.stringify=function e(t,n){if("string"==typeof t)return t;if(Array.isArray(t)){var i="";return t.forEach(function(t){i+=e(t,n)}),i}var o={type:t.type,content:e(t.content,n),tag:"span",classes:["token",t.type],attributes:{},language:n},a=t.alias;a&&(Array.isArray(a)?Array.prototype.push.apply(o.classes,a):o.classes.push(a)),r.hooks.run("wrap",o);var s="";for(var l in o.attributes)s+=" "+l+'="'+(o.attributes[l]||"").replace(/"/g,""")+'"';return"<"+o.tag+' class="'+o.classes.join(" ")+'"'+s+">"+o.content+"</"+o.tag+">"},!e.document)return e.addEventListener?(r.disableWorkerMessageHandler||e.addEventListener("message",function(t){var n=JSON.parse(t.data),i=n.language,o=n.code,a=n.immediateClose;e.postMessage(r.highlight(o,r.languages[i],i)),a&&e.close()},!1),r):r;var d=r.util.currentScript();function h(){r.manual||r.highlightAll()}if(d&&(r.filename=d.src,d.hasAttribute("data-manual")&&(r.manual=!0)),!r.manual){var f=document.readyState;"loading"===f||"interactive"===f&&d&&d.defer?document.addEventListener("DOMContentLoaded",h):window.requestAnimationFrame?window.requestAnimationFrame(h):window.setTimeout(h,16)}return r}("undefined"!=typeof window?window:"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope?self:{});
/**
* Prism: Lightweight, robust, elegant syntax highlighting
*
* @license MIT <https://opensource.org/licenses/MIT>
* @author Lea Verou <https://lea.verou.me>
* @namespace
* @public
*/e.exports&&(e.exports=i),void 0!==n.g&&(n.g.Prism=i),i.languages.markup={comment:{pattern:/<!--(?:(?!<!--)[\s\S])*?-->/,greedy:!0},prolog:{pattern:/<\?[\s\S]+?\?>/,greedy:!0},doctype:{pattern:/<!DOCTYPE(?:[^>"'[\]]|"[^"]*"|'[^']*')+(?:\[(?:[^<"'\]]|"[^"]*"|'[^']*'|<(?!!--)|<!--(?:[^-]|-(?!->))*-->)*\]\s*)?>/i,greedy:!0,inside:{"internal-subset":{pattern:/(^[^\[]*\[)[\s\S]+(?=\]>$)/,lookbehind:!0,greedy:!0,inside:null},string:{pattern:/"[^"]*"|'[^']*'/,greedy:!0},punctuation:/^<!|>$|[[\]]/,"doctype-tag":/^DOCTYPE/i,name:/[^\s<>'"]+/}},cdata:{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,greedy:!0},tag:{pattern:/<\/?(?!\d)[^\s>\/=$<%]+(?:\s(?:\s*[^\s>\/=]+(?:\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))|(?=[\s/>])))+)?\s*\/?>/,greedy:!0,inside:{tag:{pattern:/^<\/?[^\s>\/]+/,inside:{punctuation:/^<\/?/,namespace:/^[^\s>\/:]+:/}},"special-attr":[],"attr-value":{pattern:/=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+)/,inside:{punctuation:[{pattern:/^=/,alias:"attr-equals"},{pattern:/^(\s*)["']|["']$/,lookbehind:!0}]}},punctuation:/\/?>/,"attr-name":{pattern:/[^\s>\/]+/,inside:{namespace:/^[^\s>\/:]+:/}}}},entity:[{pattern:/&[\da-z]{1,8};/i,alias:"named-entity"},/&#x?[\da-f]{1,8};/i]},i.languages.markup.tag.inside["attr-value"].inside.entity=i.languages.markup.entity,i.languages.markup.doctype.inside["internal-subset"].inside=i.languages.markup,i.hooks.add("wrap",function(e){"entity"===e.type&&(e.attributes.title=e.content.replace(/&/,"&"))}),Object.defineProperty(i.languages.markup.tag,"addInlined",{value:function(e,t){var n={};n["language-"+t]={pattern:/(^<!\[CDATA\[)[\s\S]+?(?=\]\]>$)/i,lookbehind:!0,inside:i.languages[t]},n.cdata=/^<!\[CDATA\[|\]\]>$/i;var r={"included-cdata":{pattern:/<!\[CDATA\[[\s\S]*?\]\]>/i,inside:n}};r["language-"+t]={pattern:/[\s\S]+/,inside:i.languages[t]};var o={};o[e]={pattern:RegExp(/(<__[^>]*>)(?:<!\[CDATA\[(?:[^\]]|\](?!\]>))*\]\]>|(?!<!\[CDATA\[)[\s\S])*?(?=<\/__>)/.source.replace(/__/g,function(){return e}),"i"),lookbehind:!0,greedy:!0,inside:r},i.languages.insertBefore("markup","cdata",o)}}),Object.defineProperty(i.languages.markup.tag,"addAttribute",{value:function(e,t){i.languages.markup.tag.inside["special-attr"].push({pattern:RegExp(/(^|["'\s])/.source+"(?:"+e+")"+/\s*=\s*(?:"[^"]*"|'[^']*'|[^\s'">=]+(?=[\s>]))/.source,"i"),lookbehind:!0,inside:{"attr-name":/^[^\s=]+/,"attr-value":{pattern:/=[\s\S]+/,inside:{value:{pattern:/(^=\s*(["']|(?!["'])))\S[\s\S]*(?=\2$)/,lookbehind:!0,alias:[t,"language-"+t],inside:i.languages[t]},punctuation:[{pattern:/^=/,alias:"attr-equals"},/"|'/]}}}})}}),i.languages.html=i.languages.markup,i.languages.mathml=i.languages.markup,i.languages.svg=i.languages.markup,i.languages.xml=i.languages.extend("markup",{}),i.languages.ssml=i.languages.xml,i.languages.atom=i.languages.xml,i.languages.rss=i.languages.xml,function(e){var t=/(?:"(?:\\(?:\r\n|[\s\S])|[^"\\\r\n])*"|'(?:\\(?:\r\n|[\s\S])|[^'\\\r\n])*')/;e.languages.css={comment:/\/\*[\s\S]*?\*\//,atrule:{pattern:RegExp("@[\\w-](?:"+/[^;{\s"']|\s+(?!\s)/.source+"|"+t.source+")*?"+/(?:;|(?=\s*\{))/.source),inside:{rule:/^@[\w-]+/,"selector-function-argument":{pattern:/(\bselector\s*\(\s*(?![\s)]))(?:[^()\s]|\s+(?![\s)])|\((?:[^()]|\([^()]*\))*\))+(?=\s*\))/,lookbehind:!0,alias:"selector"},keyword:{pattern:/(^|[^\w-])(?:and|not|only|or)(?![\w-])/,lookbehind:!0}}},url:{pattern:RegExp("\\burl\\((?:"+t.source+"|"+/(?:[^\\\r\n()"']|\\[\s\S])*/.source+")\\)","i"),greedy:!0,inside:{function:/^url/i,punctuation:/^\(|\)$/,string:{pattern:RegExp("^"+t.source+"$"),alias:"url"}}},selector:{pattern:RegExp("(^|[{}\\s])[^{}\\s](?:[^{};\"'\\s]|\\s+(?![\\s{])|"+t.source+")*(?=\\s*\\{)"),lookbehind:!0},string:{pattern:t,greedy:!0},property:{pattern:/(^|[^-\w\xA0-\uFFFF])(?!\s)[-_a-z\xA0-\uFFFF](?:(?!\s)[-\w\xA0-\uFFFF])*(?=\s*:)/i,lookbehind:!0},important:/!important\b/i,function:{pattern:/(^|[^-a-z0-9])[-a-z0-9]+(?=\()/i,lookbehind:!0},punctuation:/[(){};:,]/},e.languages.css.atrule.inside.rest=e.languages.css;var n=e.languages.markup;n&&(n.tag.addInlined("style","css"),n.tag.addAttribute("style","css"))}(i),i.languages.clike={comment:[{pattern:/(^|[^\\])\/\*[\s\S]*?(?:\*\/|$)/,lookbehind:!0,greedy:!0},{pattern:/(^|[^\\:])\/\/.*/,lookbehind:!0,greedy:!0}],string:{pattern:/(["'])(?:\\(?:\r\n|[\s\S])|(?!\1)[^\\\r\n])*\1/,greedy:!0},"class-name":{pattern:/(\b(?:class|extends|implements|instanceof|interface|new|trait)\s+|\bcatch\s+\()[\w.\\]+/i,lookbehind:!0,inside:{punctuation:/[.\\]/}},keyword:/\b(?:break|catch|continue|do|else|finally|for|function|if|in|instanceof|new|null|return|throw|try|while)\b/,boolean:/\b(?:false|true)\b/,function:/\b\w+(?=\()/,number:/\b0x[\da-f]+\b|(?:\b\d+(?:\.\d*)?|\B\.\d+)(?:e[+-]?\d+)?/i,operator:/[<>]=?|[!=]=?=?|--?|\+\+?|&&?|\|\|?|[?*/~^%]/,punctuation:/[{}[\];(),.:]/},i.languages.javascript=i.languages.extend("clike",{"class-name":[i.languages.clike["class-name"],{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$A-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\.(?:constructor|prototype))/,lookbehind:!0}],keyword:[{pattern:/((?:^|\})\s*)catch\b/,lookbehind:!0},{pattern:/(^|[^.]|\.\.\.\s*)\b(?:as|assert(?=\s*\{)|async(?=\s*(?:function\b|\(|[$\w\xA0-\uFFFF]|$))|await|break|case|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally(?=\s*(?:\{|$))|for|from(?=\s*(?:['"]|$))|function|(?:get|set)(?=\s*(?:[#\[$\w\xA0-\uFFFF]|$))|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)\b/,lookbehind:!0}],function:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*(?:\.\s*(?:apply|bind|call)\s*)?\()/,number:{pattern:RegExp(/(^|[^\w$])/.source+"(?:"+/NaN|Infinity/.source+"|"+/0[bB][01]+(?:_[01]+)*n?/.source+"|"+/0[oO][0-7]+(?:_[0-7]+)*n?/.source+"|"+/0[xX][\dA-Fa-f]+(?:_[\dA-Fa-f]+)*n?/.source+"|"+/\d+(?:_\d+)*n/.source+"|"+/(?:\d+(?:_\d+)*(?:\.(?:\d+(?:_\d+)*)?)?|\.\d+(?:_\d+)*)(?:[Ee][+-]?\d+(?:_\d+)*)?/.source+")"+/(?![\w$])/.source),lookbehind:!0},operator:/--|\+\+|\*\*=?|=>|&&=?|\|\|=?|[!=]==|<<=?|>>>?=?|[-+*/%&|^!=<>]=?|\.{3}|\?\?=?|\?\.?|[~:]/}),i.languages.javascript["class-name"][0].pattern=/(\b(?:class|extends|implements|instanceof|interface|new)\s+)[\w.\\]+/,i.languages.insertBefore("javascript","keyword",{regex:{pattern:RegExp(/((?:^|[^$\w\xA0-\uFFFF."'\])\s]|\b(?:return|yield))\s*)/.source+/\//.source+"(?:"+/(?:\[(?:[^\]\\\r\n]|\\.)*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}/.source+"|"+/(?:\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.|\[(?:[^[\]\\\r\n]|\\.)*\])*\])*\]|\\.|[^/\\\[\r\n])+\/[dgimyus]{0,7}v[dgimyus]{0,7}/.source+")"+/(?=(?:\s|\/\*(?:[^*]|\*(?!\/))*\*\/)*(?:$|[\r\n,.;:})\]]|\/\/))/.source),lookbehind:!0,greedy:!0,inside:{"regex-source":{pattern:/^(\/)[\s\S]+(?=\/[a-z]*$)/,lookbehind:!0,alias:"language-regex",inside:i.languages.regex},"regex-delimiter":/^\/|\/$/,"regex-flags":/^[a-z]+$/}},"function-variable":{pattern:/#?(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*[=:]\s*(?:async\s*)?(?:\bfunction\b|(?:\((?:[^()]|\([^()]*\))*\)|(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)\s*=>))/,alias:"function"},parameter:[{pattern:/(function(?:\s+(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*)?\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\))/,lookbehind:!0,inside:i.languages.javascript},{pattern:/(^|[^$\w\xA0-\uFFFF])(?!\s)[_$a-z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*=>)/i,lookbehind:!0,inside:i.languages.javascript},{pattern:/(\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*=>)/,lookbehind:!0,inside:i.languages.javascript},{pattern:/((?:\b|\s|^)(?!(?:as|async|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|finally|for|from|function|get|if|implements|import|in|instanceof|interface|let|new|null|of|package|private|protected|public|return|set|static|super|switch|this|throw|try|typeof|undefined|var|void|while|with|yield)(?![$\w\xA0-\uFFFF]))(?:(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*\s*)\(\s*|\]\s*\(\s*)(?!\s)(?:[^()\s]|\s+(?![\s)])|\([^()]*\))+(?=\s*\)\s*\{)/,lookbehind:!0,inside:i.languages.javascript}],constant:/\b[A-Z](?:[A-Z_]|\dx?)*\b/}),i.languages.insertBefore("javascript","string",{hashbang:{pattern:/^#!.*/,greedy:!0,alias:"comment"},"template-string":{pattern:/`(?:\\[\s\S]|\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}|(?!\$\{)[^\\`])*`/,greedy:!0,inside:{"template-punctuation":{pattern:/^`|`$/,alias:"string"},interpolation:{pattern:/((?:^|[^\\])(?:\\{2})*)\$\{(?:[^{}]|\{(?:[^{}]|\{[^}]*\})*\})+\}/,lookbehind:!0,inside:{"interpolation-punctuation":{pattern:/^\$\{|\}$/,alias:"punctuation"},rest:i.languages.javascript}},string:/[\s\S]+/}},"string-property":{pattern:/((?:^|[,{])[ \t]*)(["'])(?:\\(?:\r\n|[\s\S])|(?!\2)[^\\\r\n])*\2(?=\s*:)/m,lookbehind:!0,greedy:!0,alias:"property"}}),i.languages.insertBefore("javascript","operator",{"literal-property":{pattern:/((?:^|[,{])[ \t]*)(?!\s)[_$a-zA-Z\xA0-\uFFFF](?:(?!\s)[$\w\xA0-\uFFFF])*(?=\s*:)/m,lookbehind:!0,alias:"property"}}),i.languages.markup&&(i.languages.markup.tag.addInlined("script","javascript"),i.languages.markup.tag.addAttribute(/on(?:abort|blur|change|click|composition(?:end|start|update)|dblclick|error|focus(?:in|out)?|key(?:down|up)|load|mouse(?:down|enter|leave|move|out|over|up)|reset|resize|scroll|select|slotchange|submit|unload|wheel)/.source,"javascript")),i.languages.js=i.languages.javascript,function(){if(void 0!==i&&"undefined"!=typeof document){Element.prototype.matches||(Element.prototype.matches=Element.prototype.msMatchesSelector||Element.prototype.webkitMatchesSelector);var e={js:"javascript",py:"python",rb:"ruby",ps1:"powershell",psm1:"powershell",sh:"bash",bat:"batch",h:"c",tex:"latex"},t="data-src-status",n="loading",r="loaded",o="pre[data-src]:not(["+t+'="'+r+'"]):not(['+t+'="'+n+'"])';i.hooks.add("before-highlightall",function(e){e.selector+=", "+o}),i.hooks.add("before-sanity-check",function(a){var s=a.element;if(s.matches(o)){a.code="",s.setAttribute(t,n);var l=s.appendChild(document.createElement("CODE"));l.textContent="Loading…";var c=s.getAttribute("data-src"),u=a.language;if("none"===u){var d=(/\.(\w+)$/.exec(c)||[,"none"])[1];u=e[d]||d}i.util.setLanguage(l,u),i.util.setLanguage(s,u);var h=i.plugins.autoloader;h&&h.loadLanguages(u),function(e,n,o){var a=new XMLHttpRequest;a.open("GET",e,!0),a.onreadystatechange=function(){4==a.readyState&&(a.status<400&&a.responseText?function(e){s.setAttribute(t,r);var n=function(e){var t=/^\s*(\d+)\s*(?:(,)\s*(?:(\d+)\s*)?)?$/.exec(e||"");if(t){var n=Number(t[1]),i=t[2],r=t[3];return i?r?[n,Number(r)]:[n,void 0]:[n,n]}}(s.getAttribute("data-range"));if(n){var o=e.split(/\r\n?|\n/g),a=n[0],c=null==n[1]?o.length:n[1];a<0&&(a+=o.length),a=Math.max(0,Math.min(a-1,o.length)),c<0&&(c+=o.length),c=Math.max(0,Math.min(c,o.length)),e=o.slice(a,c).join("\n"),s.hasAttribute("data-start")||s.setAttribute("data-start",String(a+1))}l.textContent=e,i.highlightElement(l)}(a.responseText):a.status>=400?o("✖ Error "+a.status+" while fetching file: "+a.statusText):o("✖ Error: File does not exist or is empty"))},a.send(null)}(c,0,function(e){s.setAttribute(t,"failed"),l.textContent=e})}}),i.plugins.fileHighlight={highlight:function(e){for(var t,n=(e||document).querySelectorAll(o),r=0;t=n[r++];)i.highlightElement(t)}};var a=!1;i.fileHighlight=function(){a||(console.warn("Prism.fileHighlight is deprecated. Use `Prism.plugins.fileHighlight.highlight` instead."),a=!0),i.plugins.fileHighlight.highlight.apply(this,arguments)}}}()},6999:function(e,t,n){"use strict";var i=n(6848);function r(){}function o(){}o.resetWarningCache=r,e.exports=function(){function e(e,t,n,r,o,a){if(a!==i){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:o,resetWarningCache:r};return n.PropTypes=n,n}},9067:function(e,t,n){e.exports=n(6999)()},6848:function(e){"use strict";e.exports="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED"},5873:function(e,t,n){"use strict";var i=n(5206);t.H=i.createRoot,i.hydrateRoot},9461:function(e,t,n){"use strict";function i(e,t,n,i,r,o,a){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=i,this.attributeNamespace=r,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=o,this.removeEmptyString=a}const r={};["children","dangerouslySetInnerHTML","defaultValue","defaultChecked","innerHTML","suppressContentEditableWarning","suppressHydrationWarning","style"].forEach(e=>{r[e]=new i(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(([e,t])=>{r[e]=new i(e,1,!1,t,null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(e=>{r[e]=new i(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(e=>{r[e]=new i(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=>{r[e]=new i(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(e=>{r[e]=new i(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(e=>{r[e]=new i(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(e=>{r[e]=new i(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(e=>{r[e]=new i(e,5,!1,e.toLowerCase(),null,!1,!1)});const o=/[\-\:]([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(o,a);r[t]=new i(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(o,a);r[t]=new i(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(e=>{const t=e.replace(o,a);r[t]=new i(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(e=>{r[e]=new i(e,1,!1,e.toLowerCase(),null,!1,!1)}),r.xlinkHref=new i("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(e=>{r[e]=new i(e,1,!1,e.toLowerCase(),null,!0,!0)});const{CAMELCASE:s,SAME:l,possibleStandardNames:c}=n(146),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 r.hasOwnProperty(e)?r[e]:null},t.isCustomAttribute=u,t.possibleStandardNames=d},146:function(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}},9042:function(e,t,n){"use strict";n.d(t,{m:function(){return a}});var i=n(701),r=n(5468),o=n(8408),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("visibilitychange",n,!1),window.addEventListener("focus",n,!1),function(){window.removeEventListener("visibilitychange",n),window.removeEventListener("focus",n)}}},t}(0,i.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){"boolean"==typeof e?n.setFocused(e):n.onFocus()})},n.setFocused=function(e){this.focused=e,e&&this.onFocus()},n.onFocus=function(){this.listeners.forEach(function(e){e()})},n.isFocused=function(){return"boolean"==typeof this.focused?this.focused:"undefined"==typeof document||[void 0,"visible","prerender"].includes(document.visibilityState)},t}(r.Q))},3821:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return i.E}});var i=n(7785),r=n(2772);n.o(r,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return r.QueryClientProvider}}),n.o(r,"useMutation")&&n.d(t,{useMutation:function(){return r.useMutation}}),n.o(r,"useQuery")&&n.d(t,{useQuery:function(){return r.useQuery}})},3109:function(e,t,n){"use strict";n.d(t,{B:function(){return o},t:function(){return r}});var i=console;function r(){return i}function o(e){i=e}},630:function(e,t,n){"use strict";n.d(t,{$:function(){return c},s:function(){return l}});var i=n(9575),r=n(3109),o=n(1469),a=n(1344),s=n(8408),l=function(){function e(e){this.options=(0,i.A)({},e.defaultOptions,e.options),this.mutationId=e.mutationId,this.mutationCache=e.mutationCache,this.observers=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0},this.meta=e.meta}var t=e.prototype;return t.setState=function(e){this.dispatch({type:"setState",state:e})},t.addObserver=function(e){-1===this.observers.indexOf(e)&&this.observers.push(e)},t.removeObserver=function(e){this.observers=this.observers.filter(function(t){return t!==e})},t.cancel=function(){return this.retryer?(this.retryer.cancel(),this.retryer.promise.then(s.lQ).catch(s.lQ)):Promise.resolve()},t.continue=function(){return this.retryer?(this.retryer.continue(),this.retryer.promise):this.execute()},t.execute=function(){var e,t=this,n="loading"===this.state.status,i=Promise.resolve();return n||(this.dispatch({type:"loading",variables:this.options.variables}),i=i.then(function(){null==t.mutationCache.config.onMutate||t.mutationCache.config.onMutate(t.state.variables,t)}).then(function(){return null==t.options.onMutate?void 0:t.options.onMutate(t.state.variables)}).then(function(e){e!==t.state.context&&t.dispatch({type:"loading",context:e,variables:t.state.variables})})),i.then(function(){return t.executeMutation()}).then(function(n){e=n,null==t.mutationCache.config.onSuccess||t.mutationCache.config.onSuccess(e,t.state.variables,t.state.context,t)}).then(function(){return null==t.options.onSuccess?void 0:t.options.onSuccess(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(e,null,t.state.variables,t.state.context)}).then(function(){return t.dispatch({type:"success",data:e}),e}).catch(function(e){return null==t.mutationCache.config.onError||t.mutationCache.config.onError(e,t.state.variables,t.state.context,t),(0,r.t)().error(e),Promise.resolve().then(function(){return null==t.options.onError?void 0:t.options.onError(e,t.state.variables,t.state.context)}).then(function(){return null==t.options.onSettled?void 0:t.options.onSettled(void 0,e,t.state.variables,t.state.context)}).then(function(){throw t.dispatch({type:"error",error:e}),e})})},t.executeMutation=function(){var e,t=this;return this.retryer=new a.eJ({fn:function(){return t.options.mutationFn?t.options.mutationFn(t.state.variables):Promise.reject("No mutationFn found")},onFail:function(){t.dispatch({type:"failed"})},onPause:function(){t.dispatch({type:"pause"})},onContinue:function(){t.dispatch({type:"continue"})},retry:null!=(e=this.options.retry)?e:0,retryDelay:this.options.retryDelay}),this.retryer.promise},t.dispatch=function(e){var t=this;this.state=function(e,t){switch(t.type){case"failed":return(0,i.A)({},e,{failureCount:e.failureCount+1});case"pause":return(0,i.A)({},e,{isPaused:!0});case"continue":return(0,i.A)({},e,{isPaused:!1});case"loading":return(0,i.A)({},e,{context:t.context,data:void 0,error:null,isPaused:!1,status:"loading",variables:t.variables});case"success":return(0,i.A)({},e,{data:t.data,error:null,status:"success",isPaused:!1});case"error":return(0,i.A)({},e,{data:void 0,error:t.error,failureCount:e.failureCount+1,isPaused:!1,status:"error"});case"setState":return(0,i.A)({},e,t.state);default:return e}}(this.state,e),o.j.batch(function(){t.observers.forEach(function(t){t.onMutationUpdate(e)}),t.mutationCache.notify(t)})},e}();function c(){return{context:void 0,data:void 0,error:null,failureCount:0,isPaused:!1,status:"idle",variables:void 0}}},1469:function(e,t,n){"use strict";n.d(t,{j:function(){return o}});var i=n(8408),r=function(){function e(){this.queue=[],this.transactions=0,this.notifyFn=function(e){e()},this.batchNotifyFn=function(e){e()}}var t=e.prototype;return t.batch=function(e){var t;this.transactions++;try{t=e()}finally{this.transactions--,this.transactions||this.flush()}return t},t.schedule=function(e){var t=this;this.transactions?this.queue.push(e):(0,i.G6)(function(){t.notifyFn(e)})},t.batchCalls=function(e){var t=this;return function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];t.schedule(function(){e.apply(void 0,i)})}},t.flush=function(){var e=this,t=this.queue;this.queue=[],t.length&&(0,i.G6)(function(){e.batchNotifyFn(function(){t.forEach(function(t){e.notifyFn(t)})})})},t.setNotifyFunction=function(e){this.notifyFn=e},t.setBatchNotifyFunction=function(e){this.batchNotifyFn=e},e}(),o=new r},3227:function(e,t,n){"use strict";n.d(t,{t:function(){return a}});var i=n(701),r=n(5468),o=n(8408),a=new(function(e){function t(){var t;return(t=e.call(this)||this).setup=function(e){var t;if(!o.S$&&(null==(t=window)?void 0:t.addEventListener)){var n=function(){return e()};return window.addEventListener("online",n,!1),window.addEventListener("offline",n,!1),function(){window.removeEventListener("online",n),window.removeEventListener("offline",n)}}},t}(0,i.A)(t,e);var n=t.prototype;return n.onSubscribe=function(){this.cleanup||this.setEventListener(this.setup)},n.onUnsubscribe=function(){var e;this.hasListeners()||(null==(e=this.cleanup)||e.call(this),this.cleanup=void 0)},n.setEventListener=function(e){var t,n=this;this.setup=e,null==(t=this.cleanup)||t.call(this),this.cleanup=e(function(e){"boolean"==typeof e?n.setOnline(e):n.onOnline()})},n.setOnline=function(e){this.online=e,e&&this.onOnline()},n.onOnline=function(){this.listeners.forEach(function(e){e()})},n.isOnline=function(){return"boolean"==typeof this.online?this.online:"undefined"==typeof navigator||void 0===navigator.onLine||navigator.onLine},t}(r.Q))},7785:function(e,t,n){"use strict";n.d(t,{E:function(){return b}});var i=n(9575),r=n(8408),o=n(701),a=n(1469),s=n(3109),l=n(1344),c=function(){function e(e){this.abortSignalConsumed=!1,this.hadObservers=!1,this.defaultOptions=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.cache=e.cache,this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.initialState=e.state||this.getDefaultState(this.options),this.state=this.initialState,this.meta=e.meta,this.scheduleGc()}var t=e.prototype;return t.setOptions=function(e){var t;this.options=(0,i.A)({},this.defaultOptions,e),this.meta=null==e?void 0:e.meta,this.cacheTime=Math.max(this.cacheTime||0,null!=(t=this.options.cacheTime)?t:3e5)},t.setDefaultOptions=function(e){this.defaultOptions=e},t.scheduleGc=function(){var e=this;this.clearGcTimeout(),(0,r.gn)(this.cacheTime)&&(this.gcTimeout=setTimeout(function(){e.optionalRemove()},this.cacheTime))},t.clearGcTimeout=function(){this.gcTimeout&&(clearTimeout(this.gcTimeout),this.gcTimeout=void 0)},t.optionalRemove=function(){this.observers.length||(this.state.isFetching?this.hadObservers&&this.scheduleGc():this.cache.remove(this))},t.setData=function(e,t){var n,i,o=this.state.data,a=(0,r.Zw)(e,o);return(null==(n=(i=this.options).isDataEqual)?void 0:n.call(i,o,a))?a=o:!1!==this.options.structuralSharing&&(a=(0,r.BH)(o,a)),this.dispatch({data:a,type:"success",dataUpdatedAt:null==t?void 0:t.updatedAt}),a},t.setState=function(e,t){this.dispatch({type:"setState",state:e,setStateOptions:t})},t.cancel=function(e){var t,n=this.promise;return null==(t=this.retryer)||t.cancel(e),n?n.then(r.lQ).catch(r.lQ):Promise.resolve()},t.destroy=function(){this.clearGcTimeout(),this.cancel({silent:!0})},t.reset=function(){this.destroy(),this.setState(this.initialState)},t.isActive=function(){return this.observers.some(function(e){return!1!==e.options.enabled})},t.isFetching=function(){return this.state.isFetching},t.isStale=function(){return this.state.isInvalidated||!this.state.dataUpdatedAt||this.observers.some(function(e){return e.getCurrentResult().isStale})},t.isStaleByTime=function(e){return void 0===e&&(e=0),this.state.isInvalidated||!this.state.dataUpdatedAt||!(0,r.j3)(this.state.dataUpdatedAt,e)},t.onFocus=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnWindowFocus()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.onOnline=function(){var e,t=this.observers.find(function(e){return e.shouldFetchOnReconnect()});t&&t.refetch(),null==(e=this.retryer)||e.continue()},t.addObserver=function(e){-1===this.observers.indexOf(e)&&(this.observers.push(e),this.hadObservers=!0,this.clearGcTimeout(),this.cache.notify({type:"observerAdded",query:this,observer:e}))},t.removeObserver=function(e){-1!==this.observers.indexOf(e)&&(this.observers=this.observers.filter(function(t){return t!==e}),this.observers.length||(this.retryer&&(this.retryer.isTransportCancelable||this.abortSignalConsumed?this.retryer.cancel({revert:!0}):this.retryer.cancelRetry()),this.cacheTime?this.scheduleGc():this.cache.remove(this)),this.cache.notify({type:"observerRemoved",query:this,observer:e}))},t.getObserversCount=function(){return this.observers.length},t.invalidate=function(){this.state.isInvalidated||this.dispatch({type:"invalidate"})},t.fetch=function(e,t){var n,i,o,a=this;if(this.state.isFetching)if(this.state.dataUpdatedAt&&(null==t?void 0:t.cancelRefetch))this.cancel({silent:!0});else if(this.promise){var c;return null==(c=this.retryer)||c.continueRetry(),this.promise}if(e&&this.setOptions(e),!this.options.queryFn){var u=this.observers.find(function(e){return e.options.queryFn});u&&this.setOptions(u.options)}var d=(0,r.HN)(this.queryKey),h=(0,r.jY)(),f={queryKey:d,pageParam:void 0,meta:this.meta};Object.defineProperty(f,"signal",{enumerable:!0,get:function(){if(h)return a.abortSignalConsumed=!0,h.signal}});var p,m,g={fetchOptions:t,options:this.options,queryKey:d,state:this.state,fetchFn:function(){return a.options.queryFn?(a.abortSignalConsumed=!1,a.options.queryFn(f)):Promise.reject("Missing queryFn")},meta:this.meta};return(null==(n=this.options.behavior)?void 0:n.onFetch)&&(null==(p=this.options.behavior)||p.onFetch(g)),this.revertState=this.state,this.state.isFetching&&this.state.fetchMeta===(null==(i=g.fetchOptions)?void 0:i.meta)||this.dispatch({type:"fetch",meta:null==(m=g.fetchOptions)?void 0:m.meta}),this.retryer=new l.eJ({fn:g.fetchFn,abort:null==h||null==(o=h.abort)?void 0:o.bind(h),onSuccess:function(e){a.setData(e),null==a.cache.config.onSuccess||a.cache.config.onSuccess(e,a),0===a.cacheTime&&a.optionalRemove()},onError:function(e){(0,l.wm)(e)&&e.silent||a.dispatch({type:"error",error:e}),(0,l.wm)(e)||(null==a.cache.config.onError||a.cache.config.onError(e,a),(0,s.t)().error(e)),0===a.cacheTime&&a.optionalRemove()},onFail:function(){a.dispatch({type:"failed"})},onPause:function(){a.dispatch({type:"pause"})},onContinue:function(){a.dispatch({type:"continue"})},retry:g.options.retry,retryDelay:g.options.retryDelay}),this.promise=this.retryer.promise,this.promise},t.dispatch=function(e){var t=this;this.state=this.reducer(this.state,e),a.j.batch(function(){t.observers.forEach(function(t){t.onQueryUpdate(e)}),t.cache.notify({query:t,type:"queryUpdated",action:e})})},t.getDefaultState=function(e){var t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==e.initialData?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0,i=void 0!==t;return{data:t,dataUpdateCount:0,dataUpdatedAt:i?null!=n?n:Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchMeta:null,isFetching:!1,isInvalidated:!1,isPaused:!1,status:i?"success":"idle"}},t.reducer=function(e,t){var n,r;switch(t.type){case"failed":return(0,i.A)({},e,{fetchFailureCount:e.fetchFailureCount+1});case"pause":return(0,i.A)({},e,{isPaused:!0});case"continue":return(0,i.A)({},e,{isPaused:!1});case"fetch":return(0,i.A)({},e,{fetchFailureCount:0,fetchMeta:null!=(n=t.meta)?n:null,isFetching:!0,isPaused:!1},!e.dataUpdatedAt&&{error:null,status:"loading"});case"success":return(0,i.A)({},e,{data:t.data,dataUpdateCount:e.dataUpdateCount+1,dataUpdatedAt:null!=(r=t.dataUpdatedAt)?r:Date.now(),error:null,fetchFailureCount:0,isFetching:!1,isInvalidated:!1,isPaused:!1,status:"success"});case"error":var o=t.error;return(0,l.wm)(o)&&o.revert&&this.revertState?(0,i.A)({},this.revertState):(0,i.A)({},e,{error:o,errorUpdateCount:e.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:e.fetchFailureCount+1,isFetching:!1,isPaused:!1,status:"error"});case"invalidate":return(0,i.A)({},e,{isInvalidated:!0});case"setState":return(0,i.A)({},e,t.state);default:return e}},e}(),u=n(5468),d=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.queries=[],n.queriesMap={},n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var i,o=t.queryKey,a=null!=(i=t.queryHash)?i:(0,r.F$)(o,t),s=this.get(a);return s||(s=new c({cache:this,queryKey:o,queryHash:a,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(o),meta:t.meta}),this.add(s)),s},n.add=function(e){this.queriesMap[e.queryHash]||(this.queriesMap[e.queryHash]=e,this.queries.push(e),this.notify({type:"queryAdded",query:e}))},n.remove=function(e){var t=this.queriesMap[e.queryHash];t&&(e.destroy(),this.queries=this.queries.filter(function(t){return t!==e}),t===e&&delete this.queriesMap[e.queryHash],this.notify({type:"queryRemoved",query:e}))},n.clear=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(t){e.remove(t)})})},n.get=function(e){return this.queriesMap[e]},n.getAll=function(){return this.queries},n.find=function(e,t){var n=(0,r.b_)(e,t)[0];return void 0===n.exact&&(n.exact=!0),this.queries.find(function(e){return(0,r.MK)(n,e)})},n.findAll=function(e,t){var n=(0,r.b_)(e,t)[0];return Object.keys(n).length>0?this.queries.filter(function(e){return(0,r.MK)(n,e)}):this.queries},n.notify=function(e){var t=this;a.j.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(e){e.onFocus()})})},n.onOnline=function(){var e=this;a.j.batch(function(){e.queries.forEach(function(e){e.onOnline()})})},t}(u.Q),h=n(630),f=function(e){function t(t){var n;return(n=e.call(this)||this).config=t||{},n.mutations=[],n.mutationId=0,n}(0,o.A)(t,e);var n=t.prototype;return n.build=function(e,t,n){var i=new h.s({mutationCache:this,mutationId:++this.mutationId,options:e.defaultMutationOptions(t),state:n,defaultOptions:t.mutationKey?e.getMutationDefaults(t.mutationKey):void 0,meta:t.meta});return this.add(i),i},n.add=function(e){this.mutations.push(e),this.notify(e)},n.remove=function(e){this.mutations=this.mutations.filter(function(t){return t!==e}),e.cancel(),this.notify(e)},n.clear=function(){var e=this;a.j.batch(function(){e.mutations.forEach(function(t){e.remove(t)})})},n.getAll=function(){return this.mutations},n.find=function(e){return void 0===e.exact&&(e.exact=!0),this.mutations.find(function(t){return(0,r.nJ)(e,t)})},n.findAll=function(e){return this.mutations.filter(function(t){return(0,r.nJ)(e,t)})},n.notify=function(e){var t=this;a.j.batch(function(){t.listeners.forEach(function(t){t(e)})})},n.onFocus=function(){this.resumePausedMutations()},n.onOnline=function(){this.resumePausedMutations()},n.resumePausedMutations=function(){var e=this.mutations.filter(function(e){return e.state.isPaused});return a.j.batch(function(){return e.reduce(function(e,t){return e.then(function(){return t.continue().catch(r.lQ)})},Promise.resolve())})},t}(u.Q),p=n(9042),m=n(3227);function g(e,t){return null==e.getNextPageParam?void 0:e.getNextPageParam(t[t.length-1],t)}var b=function(){function e(e){void 0===e&&(e={}),this.queryCache=e.queryCache||new d,this.mutationCache=e.mutationCache||new f,this.defaultOptions=e.defaultOptions||{},this.queryDefaults=[],this.mutationDefaults=[]}var t=e.prototype;return t.mount=function(){var e=this;this.unsubscribeFocus=p.m.subscribe(function(){p.m.isFocused()&&m.t.isOnline()&&(e.mutationCache.onFocus(),e.queryCache.onFocus())}),this.unsubscribeOnline=m.t.subscribe(function(){p.m.isFocused()&&m.t.isOnline()&&(e.mutationCache.onOnline(),e.queryCache.onOnline())})},t.unmount=function(){var e,t;null==(e=this.unsubscribeFocus)||e.call(this),null==(t=this.unsubscribeOnline)||t.call(this)},t.isFetching=function(e,t){var n=(0,r.b_)(e,t)[0];return n.fetching=!0,this.queryCache.findAll(n).length},t.isMutating=function(e){return this.mutationCache.findAll((0,i.A)({},e,{fetching:!0})).length},t.getQueryData=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state.data},t.getQueriesData=function(e){return this.getQueryCache().findAll(e).map(function(e){return[e.queryKey,e.state.data]})},t.setQueryData=function(e,t,n){var i=(0,r.vh)(e),o=this.defaultQueryOptions(i);return this.queryCache.build(this,o).setData(t,n)},t.setQueriesData=function(e,t,n){var i=this;return a.j.batch(function(){return i.getQueryCache().findAll(e).map(function(e){var r=e.queryKey;return[r,i.setQueryData(r,t,n)]})})},t.getQueryState=function(e,t){var n;return null==(n=this.queryCache.find(e,t))?void 0:n.state},t.removeQueries=function(e,t){var n=(0,r.b_)(e,t)[0],i=this.queryCache;a.j.batch(function(){i.findAll(n).forEach(function(e){i.remove(e)})})},t.resetQueries=function(e,t,n){var o=this,s=(0,r.b_)(e,t,n),l=s[0],c=s[1],u=this.queryCache,d=(0,i.A)({},l,{active:!0});return a.j.batch(function(){return u.findAll(l).forEach(function(e){e.reset()}),o.refetchQueries(d,c)})},t.cancelQueries=function(e,t,n){var i=this,o=(0,r.b_)(e,t,n),s=o[0],l=o[1],c=void 0===l?{}:l;void 0===c.revert&&(c.revert=!0);var u=a.j.batch(function(){return i.queryCache.findAll(s).map(function(e){return e.cancel(c)})});return Promise.all(u).then(r.lQ).catch(r.lQ)},t.invalidateQueries=function(e,t,n){var o,s,l,c=this,u=(0,r.b_)(e,t,n),d=u[0],h=u[1],f=(0,i.A)({},d,{active:null==(o=null!=(s=d.refetchActive)?s:d.active)||o,inactive:null!=(l=d.refetchInactive)&&l});return a.j.batch(function(){return c.queryCache.findAll(d).forEach(function(e){e.invalidate()}),c.refetchQueries(f,h)})},t.refetchQueries=function(e,t,n){var o=this,s=(0,r.b_)(e,t,n),l=s[0],c=s[1],u=a.j.batch(function(){return o.queryCache.findAll(l).map(function(e){return e.fetch(void 0,(0,i.A)({},c,{meta:{refetchPage:null==l?void 0:l.refetchPage}}))})}),d=Promise.all(u).then(r.lQ);return(null==c?void 0:c.throwOnError)||(d=d.catch(r.lQ)),d},t.fetchQuery=function(e,t,n){var i=(0,r.vh)(e,t,n),o=this.defaultQueryOptions(i);void 0===o.retry&&(o.retry=!1);var a=this.queryCache.build(this,o);return a.isStaleByTime(o.staleTime)?a.fetch(o):Promise.resolve(a.state.data)},t.prefetchQuery=function(e,t,n){return this.fetchQuery(e,t,n).then(r.lQ).catch(r.lQ)},t.fetchInfiniteQuery=function(e,t,n){var i=(0,r.vh)(e,t,n);return i.behavior={onFetch:function(e){e.fetchFn=function(){var t,n,i,o,a,s,c,u,d,h=null==(t=e.fetchOptions)||null==(n=t.meta)?void 0:n.refetchPage,f=null==(i=e.fetchOptions)||null==(o=i.meta)?void 0:o.fetchMore,p=null==f?void 0:f.pageParam,m="forward"===(null==f?void 0:f.direction),b="backward"===(null==f?void 0:f.direction),v=(null==(a=e.state.data)?void 0:a.pages)||[],y=(null==(s=e.state.data)?void 0:s.pageParams)||[],_=(0,r.jY)(),C=null==_?void 0:_.signal,w=y,x=!1,E=e.options.queryFn||function(){return Promise.reject("Missing queryFn")},S=function(e,t,n,i){return w=i?[t].concat(w):[].concat(w,[t]),i?[n].concat(e):[].concat(e,[n])},k=function(t,n,i,r){if(x)return Promise.reject("Cancelled");if(void 0===i&&!n&&t.length)return Promise.resolve(t);var o={queryKey:e.queryKey,signal:C,pageParam:i,meta:e.meta},a=E(o),s=Promise.resolve(a).then(function(e){return S(t,i,e,r)});return(0,l.dd)(a)&&(s.cancel=a.cancel),s};if(v.length)if(m){var O=void 0!==p,M=O?p:g(e.options,v);c=k(v,O,M)}else if(b){var A=void 0!==p,P=A?p:(u=e.options,d=v,null==u.getPreviousPageParam?void 0:u.getPreviousPageParam(d[0],d));c=k(v,A,P,!0)}else!function(){w=[];var t=void 0===e.options.getNextPageParam,n=!h||!v[0]||h(v[0],0,v);c=n?k([],t,y[0]):Promise.resolve(S([],y[0],v[0]));for(var i=function(n){c=c.then(function(i){if(!h||!v[n]||h(v[n],n,v)){var r=t?y[n]:g(e.options,i);return k(i,t,r)}return Promise.resolve(S(i,y[n],v[n]))})},r=1;r<v.length;r++)i(r)}();else c=k([]);var j=c.then(function(e){return{pages:e,pageParams:w}});return j.cancel=function(){x=!0,null==_||_.abort(),(0,l.dd)(c)&&c.cancel()},j}}},this.fetchQuery(i)},t.prefetchInfiniteQuery=function(e,t,n){return this.fetchInfiniteQuery(e,t,n).then(r.lQ).catch(r.lQ)},t.cancelMutations=function(){var e=this,t=a.j.batch(function(){return e.mutationCache.getAll().map(function(e){return e.cancel()})});return Promise.all(t).then(r.lQ).catch(r.lQ)},t.resumePausedMutations=function(){return this.getMutationCache().resumePausedMutations()},t.executeMutation=function(e){return this.mutationCache.build(this,e).execute()},t.getQueryCache=function(){return this.queryCache},t.getMutationCache=function(){return this.mutationCache},t.getDefaultOptions=function(){return this.defaultOptions},t.setDefaultOptions=function(e){this.defaultOptions=e},t.setQueryDefaults=function(e,t){var n=this.queryDefaults.find(function(t){return(0,r.Od)(e)===(0,r.Od)(t.queryKey)});n?n.defaultOptions=t:this.queryDefaults.push({queryKey:e,defaultOptions:t})},t.getQueryDefaults=function(e){var t;return e?null==(t=this.queryDefaults.find(function(t){return(0,r.Cp)(e,t.queryKey)}))?void 0:t.defaultOptions:void 0},t.setMutationDefaults=function(e,t){var n=this.mutationDefaults.find(function(t){return(0,r.Od)(e)===(0,r.Od)(t.mutationKey)});n?n.defaultOptions=t:this.mutationDefaults.push({mutationKey:e,defaultOptions:t})},t.getMutationDefaults=function(e){var t;return e?null==(t=this.mutationDefaults.find(function(t){return(0,r.Cp)(e,t.mutationKey)}))?void 0:t.defaultOptions:void 0},t.defaultQueryOptions=function(e){if(null==e?void 0:e._defaulted)return e;var t=(0,i.A)({},this.defaultOptions.queries,this.getQueryDefaults(null==e?void 0:e.queryKey),e,{_defaulted:!0});return!t.queryHash&&t.queryKey&&(t.queryHash=(0,r.F$)(t.queryKey,t)),t},t.defaultQueryObserverOptions=function(e){return this.defaultQueryOptions(e)},t.defaultMutationOptions=function(e){return(null==e?void 0:e._defaulted)?e:(0,i.A)({},this.defaultOptions.mutations,this.getMutationDefaults(null==e?void 0:e.mutationKey),e,{_defaulted:!0})},t.clear=function(){this.queryCache.clear(),this.mutationCache.clear()},e}()},1344:function(e,t,n){"use strict";n.d(t,{dd:function(){return s},eJ:function(){return u},wm:function(){return c}});var i=n(9042),r=n(3227),o=n(8408);function a(e){return Math.min(1e3*Math.pow(2,e),3e4)}function s(e){return"function"==typeof(null==e?void 0:e.cancel)}var l=function(e){this.revert=null==e?void 0:e.revert,this.silent=null==e?void 0:e.silent};function c(e){return e instanceof l}var u=function(e){var t,n,c,u,d=this,h=!1;this.abort=e.abort,this.cancel=function(e){return null==t?void 0:t(e)},this.cancelRetry=function(){h=!0},this.continueRetry=function(){h=!1},this.continue=function(){return null==n?void 0:n()},this.failureCount=0,this.isPaused=!1,this.isResolved=!1,this.isTransportCancelable=!1,this.promise=new Promise(function(e,t){c=e,u=t});var f=function(t){d.isResolved||(d.isResolved=!0,null==e.onSuccess||e.onSuccess(t),null==n||n(),c(t))},p=function(t){d.isResolved||(d.isResolved=!0,null==e.onError||e.onError(t),null==n||n(),u(t))};!function c(){if(!d.isResolved){var u;try{u=e.fn()}catch(e){u=Promise.reject(e)}t=function(e){if(!d.isResolved&&(p(new l(e)),null==d.abort||d.abort(),s(u)))try{u.cancel()}catch(e){}},d.isTransportCancelable=s(u),Promise.resolve(u).then(f).catch(function(t){var s,l;if(!d.isResolved){var u=null!=(s=e.retry)?s:3,f=null!=(l=e.retryDelay)?l:a,m="function"==typeof f?f(d.failureCount,t):f,g=!0===u||"number"==typeof u&&d.failureCount<u||"function"==typeof u&&u(d.failureCount,t);!h&&g?(d.failureCount++,null==e.onFail||e.onFail(d.failureCount,t),(0,o.yy)(m).then(function(){if(!i.m.isFocused()||!r.t.isOnline())return new Promise(function(t){n=t,d.isPaused=!0,null==e.onPause||e.onPause()}).then(function(){n=void 0,d.isPaused=!1,null==e.onContinue||e.onContinue()})}).then(function(){h?p(t):c()})):p(t)}})}}()}},5468:function(e,t,n){"use strict";n.d(t,{Q:function(){return i}});var i=function(){function e(){this.listeners=[]}var t=e.prototype;return t.subscribe=function(e){var t=this,n=e||function(){};return this.listeners.push(n),this.onSubscribe(),function(){t.listeners=t.listeners.filter(function(e){return e!==n}),t.onUnsubscribe()}},t.hasListeners=function(){return this.listeners.length>0},t.onSubscribe=function(){},t.onUnsubscribe=function(){},e}()},2772:function(){},8408:function(e,t,n){"use strict";n.d(t,{BH:function(){return y},Cp:function(){return b},F$:function(){return m},G6:function(){return S},GR:function(){return d},HN:function(){return l},MK:function(){return f},Od:function(){return g},S$:function(){return r},Zw:function(){return a},b_:function(){return h},f8:function(){return _},gn:function(){return s},j3:function(){return c},jY:function(){return k},lQ:function(){return o},nJ:function(){return p},vh:function(){return u},yy:function(){return E}});var i=n(9575),r="undefined"==typeof window;function o(){}function a(e,t){return"function"==typeof e?e(t):e}function s(e){return"number"==typeof e&&e>=0&&e!==1/0}function l(e){return Array.isArray(e)?e:[e]}function c(e,t){return Math.max(e+(t||0)-Date.now(),0)}function u(e,t,n){return x(e)?"function"==typeof t?(0,i.A)({},n,{queryKey:e,queryFn:t}):(0,i.A)({},t,{queryKey:e}):e}function d(e,t,n){return x(e)?"function"==typeof t?(0,i.A)({},n,{mutationKey:e,mutationFn:t}):(0,i.A)({},t,{mutationKey:e}):"function"==typeof e?(0,i.A)({},t,{mutationFn:e}):(0,i.A)({},e)}function h(e,t,n){return x(e)?[(0,i.A)({},t,{queryKey:e}),n]:[e||{},t]}function f(e,t){var n=e.active,i=e.exact,r=e.fetching,o=e.inactive,a=e.predicate,s=e.queryKey,l=e.stale;if(x(s))if(i){if(t.queryHash!==m(s,t.options))return!1}else if(!b(t.queryKey,s))return!1;var c=function(e,t){return!0===e&&!0===t||null==e&&null==t?"all":!1===e&&!1===t?"none":(null!=e?e:!t)?"active":"inactive"}(n,o);if("none"===c)return!1;if("all"!==c){var u=t.isActive();if("active"===c&&!u)return!1;if("inactive"===c&&u)return!1}return!("boolean"==typeof l&&t.isStale()!==l||"boolean"==typeof r&&t.isFetching()!==r||a&&!a(t))}function p(e,t){var n=e.exact,i=e.fetching,r=e.predicate,o=e.mutationKey;if(x(o)){if(!t.options.mutationKey)return!1;if(n){if(g(t.options.mutationKey)!==g(o))return!1}else if(!b(t.options.mutationKey,o))return!1}return!("boolean"==typeof i&&"loading"===t.state.status!==i||r&&!r(t))}function m(e,t){return((null==t?void 0:t.queryKeyHashFn)||g)(e)}function g(e){var t;return t=l(e),JSON.stringify(t,function(e,t){return C(t)?Object.keys(t).sort().reduce(function(e,n){return e[n]=t[n],e},{}):t})}function b(e,t){return v(l(e),l(t))}function v(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&!Object.keys(t).some(function(n){return!v(e[n],t[n])})}function y(e,t){if(e===t)return e;var n=Array.isArray(e)&&Array.isArray(t);if(n||C(e)&&C(t)){for(var i=n?e.length:Object.keys(e).length,r=n?t:Object.keys(t),o=r.length,a=n?[]:{},s=0,l=0;l<o;l++){var c=n?l:r[l];a[c]=y(e[c],t[c]),a[c]===e[c]&&s++}return i===o&&s===i?e:a}return t}function _(e,t){if(e&&!t||t&&!e)return!1;for(var n in e)if(e[n]!==t[n])return!1;return!0}function C(e){if(!w(e))return!1;var t=e.constructor;if(void 0===t)return!0;var n=t.prototype;return!!w(n)&&!!n.hasOwnProperty("isPrototypeOf")}function w(e){return"[object Object]"===Object.prototype.toString.call(e)}function x(e){return"string"==typeof e||Array.isArray(e)}function E(e){return new Promise(function(t){setTimeout(t,e)})}function S(e){Promise.resolve().then(e).catch(function(e){return setTimeout(function(){throw e})})}function k(){if("function"==typeof AbortController)return new AbortController}},7017:function(e,t,n){"use strict";n.d(t,{QueryClient:function(){return i.QueryClient},QueryClientProvider:function(){return r.QueryClientProvider},useMutation:function(){return r.useMutation},useQuery:function(){return r.useQuery}});var i=n(3821);n.o(i,"QueryClientProvider")&&n.d(t,{QueryClientProvider:function(){return i.QueryClientProvider}}),n.o(i,"useMutation")&&n.d(t,{useMutation:function(){return i.useMutation}}),n.o(i,"useQuery")&&n.d(t,{useQuery:function(){return i.useQuery}});var r=n(9525)},9525:function(e,t,n){"use strict";n.d(t,{QueryClientProvider:function(){return p},useMutation:function(){return w},useQuery:function(){return T}});var i=n(1469),r=n(5206),o=n.n(r)().unstable_batchedUpdates;i.j.setBatchNotifyFunction(o);var a=n(3109),s=console;(0,a.B)(s);var l=n(1594),c=n.n(l),u=c().createContext(void 0),d=c().createContext(!1);function h(e){return e&&"undefined"!=typeof window?(window.ReactQueryClientContext||(window.ReactQueryClientContext=u),window.ReactQueryClientContext):u}var f=function(){var e=c().useContext(h(c().useContext(d)));if(!e)throw new Error("No QueryClient set, use QueryClientProvider to set one");return e},p=function(e){var t=e.client,n=e.contextSharing,i=void 0!==n&&n,r=e.children;c().useEffect(function(){return t.mount(),function(){t.unmount()}},[t]);var o=h(i);return c().createElement(d.Provider,{value:i},c().createElement(o.Provider,{value:t},r))},m=n(9575),g=n(8408),b=n(701),v=n(630),y=n(5468),_=function(e){function t(t,n){var i;return(i=e.call(this)||this).client=t,i.setOptions(n),i.bindMethods(),i.updateResult(),i}(0,b.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)},n.setOptions=function(e){this.options=this.client.defaultMutationOptions(e)},n.onUnsubscribe=function(){var e;this.listeners.length||null==(e=this.currentMutation)||e.removeObserver(this)},n.onMutationUpdate=function(e){this.updateResult();var t={listeners:!0};"success"===e.type?t.onSuccess=!0:"error"===e.type&&(t.onError=!0),this.notify(t)},n.getCurrentResult=function(){return this.currentResult},n.reset=function(){this.currentMutation=void 0,this.updateResult(),this.notify({listeners:!0})},n.mutate=function(e,t){return this.mutateOptions=t,this.currentMutation&&this.currentMutation.removeObserver(this),this.currentMutation=this.client.getMutationCache().build(this.client,(0,m.A)({},this.options,{variables:void 0!==e?e:this.options.variables})),this.currentMutation.addObserver(this),this.currentMutation.execute()},n.updateResult=function(){var e=this.currentMutation?this.currentMutation.state:(0,v.$)(),t=(0,m.A)({},e,{isLoading:"loading"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset});this.currentResult=t},n.notify=function(e){var t=this;i.j.batch(function(){t.mutateOptions&&(e.onSuccess?(null==t.mutateOptions.onSuccess||t.mutateOptions.onSuccess(t.currentResult.data,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(t.currentResult.data,null,t.currentResult.variables,t.currentResult.context)):e.onError&&(null==t.mutateOptions.onError||t.mutateOptions.onError(t.currentResult.error,t.currentResult.variables,t.currentResult.context),null==t.mutateOptions.onSettled||t.mutateOptions.onSettled(void 0,t.currentResult.error,t.currentResult.variables,t.currentResult.context))),e.listeners&&t.listeners.forEach(function(e){e(t.currentResult)})})},t}(y.Q);function C(e,t,n){return"function"==typeof t?t.apply(void 0,n):"boolean"==typeof t?t:!!e}function w(e,t,n){var r=c().useRef(!1),o=c().useState(0)[1],a=(0,g.GR)(e,t,n),s=f(),l=c().useRef();l.current?l.current.setOptions(a):l.current=new _(s,a);var u=l.current.getCurrentResult();c().useEffect(function(){r.current=!0;var e=l.current.subscribe(i.j.batchCalls(function(){r.current&&o(function(e){return e+1})}));return function(){r.current=!1,e()}},[]);var d=c().useCallback(function(e,t){l.current.mutate(e,t).catch(g.lQ)},[]);if(u.error&&C(void 0,l.current.options.useErrorBoundary,[u.error]))throw u.error;return(0,m.A)({},u,{mutate:d,mutateAsync:u.mutate})}var x=n(9042),E=n(1344),S=function(e){function t(t,n){var i;return(i=e.call(this)||this).client=t,i.options=n,i.trackedProps=[],i.selectError=null,i.bindMethods(),i.setOptions(n),i}(0,b.A)(t,e);var n=t.prototype;return n.bindMethods=function(){this.remove=this.remove.bind(this),this.refetch=this.refetch.bind(this)},n.onSubscribe=function(){1===this.listeners.length&&(this.currentQuery.addObserver(this),k(this.currentQuery,this.options)&&this.executeFetch(),this.updateTimers())},n.onUnsubscribe=function(){this.listeners.length||this.destroy()},n.shouldFetchOnReconnect=function(){return O(this.currentQuery,this.options,this.options.refetchOnReconnect)},n.shouldFetchOnWindowFocus=function(){return O(this.currentQuery,this.options,this.options.refetchOnWindowFocus)},n.destroy=function(){this.listeners=[],this.clearTimers(),this.currentQuery.removeObserver(this)},n.setOptions=function(e,t){var n=this.options,i=this.currentQuery;if(this.options=this.client.defaultQueryObserverOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled)throw new Error("Expected enabled to be a boolean");this.options.queryKey||(this.options.queryKey=n.queryKey),this.updateQuery();var r=this.hasListeners();r&&M(this.currentQuery,i,this.options,n)&&this.executeFetch(),this.updateResult(t),!r||this.currentQuery===i&&this.options.enabled===n.enabled&&this.options.staleTime===n.staleTime||this.updateStaleTimeout();var o=this.computeRefetchInterval();!r||this.currentQuery===i&&this.options.enabled===n.enabled&&o===this.currentRefetchInterval||this.updateRefetchInterval(o)},n.getOptimisticResult=function(e){var t=this.client.defaultQueryObserverOptions(e),n=this.client.getQueryCache().build(this.client,t);return this.createResult(n,t)},n.getCurrentResult=function(){return this.currentResult},n.trackResult=function(e,t){var n=this,i={},r=function(e){n.trackedProps.includes(e)||n.trackedProps.push(e)};return Object.keys(e).forEach(function(t){Object.defineProperty(i,t,{configurable:!1,enumerable:!0,get:function(){return r(t),e[t]}})}),(t.useErrorBoundary||t.suspense)&&r("error"),i},n.getNextResult=function(e){var t=this;return new Promise(function(n,i){var r=t.subscribe(function(t){t.isFetching||(r(),t.isError&&(null==e?void 0:e.throwOnError)?i(t.error):n(t))})})},n.getCurrentQuery=function(){return this.currentQuery},n.remove=function(){this.client.getQueryCache().remove(this.currentQuery)},n.refetch=function(e){return this.fetch((0,m.A)({},e,{meta:{refetchPage:null==e?void 0:e.refetchPage}}))},n.fetchOptimistic=function(e){var t=this,n=this.client.defaultQueryObserverOptions(e),i=this.client.getQueryCache().build(this.client,n);return i.fetch().then(function(){return t.createResult(i,n)})},n.fetch=function(e){var t=this;return this.executeFetch(e).then(function(){return t.updateResult(),t.currentResult})},n.executeFetch=function(e){this.updateQuery();var t=this.currentQuery.fetch(this.options,e);return(null==e?void 0:e.throwOnError)||(t=t.catch(g.lQ)),t},n.updateStaleTimeout=function(){var e=this;if(this.clearStaleTimeout(),!g.S$&&!this.currentResult.isStale&&(0,g.gn)(this.options.staleTime)){var t=(0,g.j3)(this.currentResult.dataUpdatedAt,this.options.staleTime)+1;this.staleTimeoutId=setTimeout(function(){e.currentResult.isStale||e.updateResult()},t)}},n.computeRefetchInterval=function(){var e;return"function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.currentResult.data,this.currentQuery):null!=(e=this.options.refetchInterval)&&e},n.updateRefetchInterval=function(e){var t=this;this.clearRefetchInterval(),this.currentRefetchInterval=e,!g.S$&&!1!==this.options.enabled&&(0,g.gn)(this.currentRefetchInterval)&&0!==this.currentRefetchInterval&&(this.refetchIntervalId=setInterval(function(){(t.options.refetchIntervalInBackground||x.m.isFocused())&&t.executeFetch()},this.currentRefetchInterval))},n.updateTimers=function(){this.updateStaleTimeout(),this.updateRefetchInterval(this.computeRefetchInterval())},n.clearTimers=function(){this.clearStaleTimeout(),this.clearRefetchInterval()},n.clearStaleTimeout=function(){this.staleTimeoutId&&(clearTimeout(this.staleTimeoutId),this.staleTimeoutId=void 0)},n.clearRefetchInterval=function(){this.refetchIntervalId&&(clearInterval(this.refetchIntervalId),this.refetchIntervalId=void 0)},n.createResult=function(e,t){var n,i=this.currentQuery,r=this.options,o=this.currentResult,s=this.currentResultState,l=this.currentResultOptions,c=e!==i,u=c?e.state:this.currentQueryInitialState,d=c?this.currentResult:this.previousQueryResult,h=e.state,f=h.dataUpdatedAt,p=h.error,m=h.errorUpdatedAt,b=h.isFetching,v=h.status,y=!1,_=!1;if(t.optimisticResults){var C=this.hasListeners(),w=!C&&k(e,t),x=C&&M(e,i,t,r);(w||x)&&(b=!0,f||(v="loading"))}if(t.keepPreviousData&&!h.dataUpdateCount&&(null==d?void 0:d.isSuccess)&&"error"!==v)n=d.data,f=d.dataUpdatedAt,v=d.status,y=!0;else if(t.select&&void 0!==h.data)if(o&&h.data===(null==s?void 0:s.data)&&t.select===this.selectFn)n=this.selectResult;else try{this.selectFn=t.select,n=t.select(h.data),!1!==t.structuralSharing&&(n=(0,g.BH)(null==o?void 0:o.data,n)),this.selectResult=n,this.selectError=null}catch(e){(0,a.t)().error(e),this.selectError=e}else n=h.data;if(void 0!==t.placeholderData&&void 0===n&&("loading"===v||"idle"===v)){var E;if((null==o?void 0:o.isPlaceholderData)&&t.placeholderData===(null==l?void 0:l.placeholderData))E=o.data;else if(E="function"==typeof t.placeholderData?t.placeholderData():t.placeholderData,t.select&&void 0!==E)try{E=t.select(E),!1!==t.structuralSharing&&(E=(0,g.BH)(null==o?void 0:o.data,E)),this.selectError=null}catch(e){(0,a.t)().error(e),this.selectError=e}void 0!==E&&(v="success",n=E,_=!0)}return this.selectError&&(p=this.selectError,n=this.selectResult,m=Date.now(),v="error"),{status:v,isLoading:"loading"===v,isSuccess:"success"===v,isError:"error"===v,isIdle:"idle"===v,data:n,dataUpdatedAt:f,error:p,errorUpdatedAt:m,failureCount:h.fetchFailureCount,errorUpdateCount:h.errorUpdateCount,isFetched:h.dataUpdateCount>0||h.errorUpdateCount>0,isFetchedAfterMount:h.dataUpdateCount>u.dataUpdateCount||h.errorUpdateCount>u.errorUpdateCount,isFetching:b,isRefetching:b&&"loading"!==v,isLoadingError:"error"===v&&0===h.dataUpdatedAt,isPlaceholderData:_,isPreviousData:y,isRefetchError:"error"===v&&0!==h.dataUpdatedAt,isStale:A(e,t),refetch:this.refetch,remove:this.remove}},n.shouldNotifyListeners=function(e,t){if(!t)return!0;var n=this.options,i=n.notifyOnChangeProps,r=n.notifyOnChangePropsExclusions;if(!i&&!r)return!0;if("tracked"===i&&!this.trackedProps.length)return!0;var o="tracked"===i?this.trackedProps:i;return Object.keys(e).some(function(n){var i=n,a=e[i]!==t[i],s=null==o?void 0:o.some(function(e){return e===n}),l=null==r?void 0:r.some(function(e){return e===n});return a&&!l&&(!o||s)})},n.updateResult=function(e){var t=this.currentResult;if(this.currentResult=this.createResult(this.currentQuery,this.options),this.currentResultState=this.currentQuery.state,this.currentResultOptions=this.options,!(0,g.f8)(this.currentResult,t)){var n={cache:!0};!1!==(null==e?void 0:e.listeners)&&this.shouldNotifyListeners(this.currentResult,t)&&(n.listeners=!0),this.notify((0,m.A)({},n,e))}},n.updateQuery=function(){var e=this.client.getQueryCache().build(this.client,this.options);if(e!==this.currentQuery){var t=this.currentQuery;this.currentQuery=e,this.currentQueryInitialState=e.state,this.previousQueryResult=this.currentResult,this.hasListeners()&&(null==t||t.removeObserver(this),e.addObserver(this))}},n.onQueryUpdate=function(e){var t={};"success"===e.type?t.onSuccess=!0:"error"!==e.type||(0,E.wm)(e.error)||(t.onError=!0),this.updateResult(t),this.hasListeners()&&this.updateTimers()},n.notify=function(e){var t=this;i.j.batch(function(){e.onSuccess?(null==t.options.onSuccess||t.options.onSuccess(t.currentResult.data),null==t.options.onSettled||t.options.onSettled(t.currentResult.data,null)):e.onError&&(null==t.options.onError||t.options.onError(t.currentResult.error),null==t.options.onSettled||t.options.onSettled(void 0,t.currentResult.error)),e.listeners&&t.listeners.forEach(function(e){e(t.currentResult)}),e.cache&&t.client.getQueryCache().notify({query:t.currentQuery,type:"observerResultsUpdated"})})},t}(y.Q);function k(e,t){return function(e,t){return!(!1===t.enabled||e.state.dataUpdatedAt||"error"===e.state.status&&!1===t.retryOnMount)}(e,t)||e.state.dataUpdatedAt>0&&O(e,t,t.refetchOnMount)}function O(e,t,n){if(!1!==t.enabled){var i="function"==typeof n?n(e):n;return"always"===i||!1!==i&&A(e,t)}return!1}function M(e,t,n,i){return!1!==n.enabled&&(e!==t||!1===i.enabled)&&(!n.suspense||"error"!==e.state.status)&&A(e,n)}function A(e,t){return e.isStaleByTime(t.staleTime)}var P,j=c().createContext((P=!1,{clearReset:function(){P=!1},reset:function(){P=!0},isReset:function(){return P}})),I=function(){return c().useContext(j)};function T(e,t,n){return function(e,t){var n=c().useRef(!1),r=c().useState(0)[1],o=f(),a=I(),s=o.defaultQueryObserverOptions(e);s.optimisticResults=!0,s.onError&&(s.onError=i.j.batchCalls(s.onError)),s.onSuccess&&(s.onSuccess=i.j.batchCalls(s.onSuccess)),s.onSettled&&(s.onSettled=i.j.batchCalls(s.onSettled)),s.suspense&&("number"!=typeof s.staleTime&&(s.staleTime=1e3),0===s.cacheTime&&(s.cacheTime=1)),(s.suspense||s.useErrorBoundary)&&(a.isReset()||(s.retryOnMount=!1));var l=c().useState(function(){return new t(o,s)})[0],u=l.getOptimisticResult(s);if(c().useEffect(function(){n.current=!0,a.clearReset();var e=l.subscribe(i.j.batchCalls(function(){n.current&&r(function(e){return e+1})}));return l.updateResult(),function(){n.current=!1,e()}},[a,l]),c().useEffect(function(){l.setOptions(s,{listeners:!1})},[s,l]),s.suspense&&u.isLoading)throw l.fetchOptimistic(s).then(function(e){var t=e.data;null==s.onSuccess||s.onSuccess(t),null==s.onSettled||s.onSettled(t,null)}).catch(function(e){a.clearReset(),null==s.onError||s.onError(e),null==s.onSettled||s.onSettled(void 0,e)});if(u.isError&&!a.isReset()&&!u.isFetching&&C(s.suspense,s.useErrorBoundary,[u.error,l.getCurrentQuery()]))throw u.error;return"tracked"===s.notifyOnChangeProps&&(u=l.trackResult(u,s)),u}((0,g.vh)(e,t,n),S)}},1592:function(e,t,n){var i=n(3571),r=n(5443),o=n(1594),a=n(1450);function s(e){return e&&e.__esModule?e.default:e}function l(e,t,n,i){Object.defineProperty(e,t,{get:n,set:i,enumerable:!0,configurable:!0})}function c(e){null!==e.parentElement&&e.parentElement.removeChild(e)}function u(e){e.forEach(e=>c(e.element))}function d(e){e.forEach(e=>{!function(e,t,n){const i=e.children[n]||null;e.insertBefore(t,i)}(e.parentElement,e.element,e.oldIndex)})}function h(e,t){const n=m(e),i={parentElement:e.from};let r=[];switch(n){case"normal":r=[{element:e.item,newIndex:e.newIndex,oldIndex:e.oldIndex,parentElement:e.from}];break;case"swap":r=[{element:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex,...i},{element:e.swapItem,oldIndex:e.newIndex,newIndex:e.oldIndex,...i}];break;case"multidrag":r=e.oldIndicies.map((t,n)=>({element:t.multiDragElement,oldIndex:t.index,newIndex:e.newIndicies[n].index,...i}))}const o=function(e,t){return e.map(e=>({...e,item:t[e.oldIndex]})).sort((e,t)=>e.oldIndex-t.oldIndex)}(r,t);return o}function f(e,t){const n=[...t];return e.concat().reverse().forEach(e=>n.splice(e.oldIndex,1)),n}function p(e,t,n,i){const r=[...t];return e.forEach(e=>{const t=i&&n&&i(e.item,n);r.splice(e.newIndex,0,t||e.item)}),r}function m(e){return e.oldIndicies&&e.oldIndicies.length>0?"multidrag":e.swapItem?"swap":"normal"}l(e.exports,"Sortable",()=>$882b6d93070905b3$re_export$Sortable),l(e.exports,"Direction",()=>$882b6d93070905b3$re_export$Direction),l(e.exports,"DOMRect",()=>$882b6d93070905b3$re_export$DOMRect),l(e.exports,"GroupOptions",()=>$882b6d93070905b3$re_export$GroupOptions),l(e.exports,"MoveEvent",()=>$882b6d93070905b3$re_export$MoveEvent),l(e.exports,"Options",()=>$882b6d93070905b3$re_export$Options),l(e.exports,"PullResult",()=>$882b6d93070905b3$re_export$PullResult),l(e.exports,"PutResult",()=>$882b6d93070905b3$re_export$PutResult),l(e.exports,"SortableEvent",()=>$882b6d93070905b3$re_export$SortableEvent),l(e.exports,"SortableOptions",()=>$882b6d93070905b3$re_export$SortableOptions),l(e.exports,"Utils",()=>$882b6d93070905b3$re_export$Utils),l(e.exports,"ReactSortable",()=>b);const g={dragging:null};class b extends o.Component{static defaultProps={clone:e=>e};constructor(e){super(e),this.ref=(0,o.createRef)();const t=[...e.list].map(e=>Object.assign(e,{chosen:!1,selected:!1}));e.setList(t,this.sortable,g),s(a)(!e.plugins,'\nPlugins prop is no longer supported.\nInstead, mount it with "Sortable.mount(new MultiDrag())"\nPlease read the updated README.md at https://github.com/SortableJS/react-sortablejs.\n ')}componentDidMount(){if(null===this.ref.current)return;const e=this.makeOptions();s(i).create(this.ref.current,e)}componentDidUpdate(e){e.disabled!==this.props.disabled&&this.sortable&&this.sortable.option("disabled",this.props.disabled)}render(){const{tag:e,style:t,className:n,id:i}=this.props,r={style:t,className:n,id:i},a=e&&null!==e?e:"div";return(0,o.createElement)(a,{ref:this.ref,...r},this.getChildren())}getChildren(){const{children:e,dataIdAttr:t,selectedClass:n="sortable-selected",chosenClass:i="sortable-chosen",dragClass:a="sortable-drag",fallbackClass:l="sortable-falback",ghostClass:c="sortable-ghost",swapClass:u="sortable-swap-highlight",filter:d="sortable-filter",list:h}=this.props;if(!e||null==e)return null;const f=t||"data-id";return o.Children.map(e,(e,t)=>{if(void 0===e)return;const a=h[t]||{},{className:l}=e.props,c="string"==typeof d&&{[d.replace(".","")]:!!a.filtered},u=s(r)(l,{[n]:a.selected,[i]:a.chosen,...c});return(0,o.cloneElement)(e,{[f]:e.key,className:u})})}get sortable(){const e=this.ref.current;if(null===e)return null;const t=Object.keys(e).find(e=>e.includes("Sortable"));return t?e[t]:null}makeOptions(){const e=function(e){const{list:t,setList:n,children:i,tag:r,style:o,className:a,clone:s,onAdd:l,onChange:c,onChoose:u,onClone:d,onEnd:h,onFilter:f,onRemove:p,onSort:m,onStart:g,onUnchoose:b,onUpdate:v,onMove:y,onSpill:_,onSelect:C,onDeselect:w,...x}=e;return x}(this.props);return["onAdd","onChoose","onDeselect","onEnd","onRemove","onSelect","onSpill","onStart","onUnchoose","onUpdate"].forEach(t=>e[t]=this.prepareOnHandlerPropAndDOM(t)),["onChange","onClone","onFilter","onSort"].forEach(t=>e[t]=this.prepareOnHandlerProp(t)),{...e,onMove:(e,t)=>{const{onMove:n}=this.props,i=e.willInsertAfter||-1;if(!n)return i;const r=n(e,t,this.sortable,g);return void 0!==r&&r}}}prepareOnHandlerPropAndDOM(e){return t=>{this.callOnHandlerProp(t,e),this[e](t)}}prepareOnHandlerProp(e){return t=>{this.callOnHandlerProp(t,e)}}callOnHandlerProp(e,t){const n=this.props[t];n&&n(e,this.sortable,g)}onAdd(e){const{list:t,setList:n,clone:i}=this.props,r=h(e,[...g.dragging.props.list]);u(r),n(p(r,t,e,i).map(e=>Object.assign(e,{selected:!1})),this.sortable,g)}onRemove(e){const{list:t,setList:n}=this.props,i=m(e),r=h(e,t);d(r);let o=[...t];if("clone"!==e.pullMode)o=f(r,o);else{let t=r;switch(i){case"multidrag":t=r.map((t,n)=>({...t,element:e.clones[n]}));break;case"normal":t=r.map(t=>({...t,element:e.clone}));break;default:s(a)(!0,`mode "${i}" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "${i}" plugin`)}u(t),r.forEach(t=>{const n=t.oldIndex,i=this.props.clone(t.item,e);o.splice(n,1,i)})}o=o.map(e=>Object.assign(e,{selected:!1})),n(o,this.sortable,g)}onUpdate(e){const{list:t,setList:n}=this.props,i=h(e,t);return u(i),d(i),n(function(e,t){return p(e,f(e,t))}(i,t),this.sortable,g)}onStart(){g.dragging=this}onEnd(){g.dragging=null}onChoose(e){const{list:t,setList:n}=this.props;n(t.map((t,n)=>{let i=t;return n===e.oldIndex&&(i=Object.assign(t,{chosen:!0})),i}),this.sortable,g)}onUnchoose(e){const{list:t,setList:n}=this.props;n(t.map((t,n)=>{let i=t;return n===e.oldIndex&&(i=Object.assign(i,{chosen:!1})),i}),this.sortable,g)}onSpill(e){const{removeOnSpill:t,revertOnSpill:n}=this.props;t&&!n&&c(e.item)}onSelect(e){const{list:t,setList:n}=this.props,i=t.map(e=>Object.assign(e,{selected:!1}));e.newIndicies.forEach(t=>{const n=t.index;if(-1===n)return console.log(`"${e.type}" had indice of "${t.index}", which is probably -1 and doesn't usually happen here.`),void console.log(e);i[n].selected=!0}),n(i,this.sortable,g)}onDeselect(e){const{list:t,setList:n}=this.props,i=t.map(e=>Object.assign(e,{selected:!1}));e.newIndicies.forEach(e=>{const t=e.index;-1!==t&&(i[t].selected=!0)}),n(i,this.sortable,g)}}var v,y;v=e.exports,y={},Object.keys(y).forEach(function(e){"default"===e||"__esModule"===e||v.hasOwnProperty(e)||Object.defineProperty(v,e,{enumerable:!0,get:function(){return y[e]}})})},5443:function(e,t){var n;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var o=typeof n;if("string"===o||"number"===o)e.push(n);else if(Array.isArray(n)){if(n.length){var a=r.apply(null,n);a&&e.push(a)}}else if("object"===o)if(n.toString===Object.prototype.toString)for(var s in n)i.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},3335:function(e,t,n){"use strict";
/**
* @license React
* react-jsx-runtime.production.min.js
*
* Copyright (c) Facebook, Inc. and its affiliates.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/var i=n(1594),r=Symbol.for("react.element"),o=Symbol.for("react.fragment"),a=Object.prototype.hasOwnProperty,s=i.__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 i,o={},c=null,u=null;for(i in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)a.call(t,i)&&!l.hasOwnProperty(i)&&(o[i]=t[i]);if(e&&e.defaultProps)for(i in t=e.defaultProps)void 0===o[i]&&(o[i]=t[i]);return{$$typeof:r,type:e,key:c,ref:u,props:o,_owner:s.current}}t.Fragment=o,t.jsx=c,t.jsxs=c},1085:function(e,t,n){"use strict";e.exports=n(3335)},3571:function(e,t,n){"use strict";
/**!
* Sortable 1.15.7
* @author RubaXa <trash@rubaxa.org>
* @author owenm <owen23355@gmail.com>
* @license MIT
*/
function i(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function r(e,t,n){return(t=function(e){var t=function(e){if("object"!=typeof e||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=typeof n)return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==typeof t?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function o(){return o=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},o.apply(null,arguments)}function a(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function s(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?a(Object(n),!0).forEach(function(t){r(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):a(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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},l(e)}function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}n.r(t),n.d(t,{MultiDrag:function(){return _t},Sortable:function(){return Ue},Swap:function(){return ct}});var u=c(/(?:Trident.*rv[ :]?11\.|msie|iemobile|Windows Phone)/i),d=c(/Edge/i),h=c(/firefox/i),f=c(/safari/i)&&!c(/chrome/i)&&!c(/android/i),p=c(/iP(ad|od|hone)/i),m=c(/chrome/i)&&c(/android/i),g={capture:!1,passive:!1};function b(e,t,n){e.addEventListener(t,n,!u&&g)}function v(e,t,n){e.removeEventListener(t,n,!u&&g)}function y(e,t){if(t){if(">"===t[0]&&(t=t.substring(1)),e)try{if(e.matches)return e.matches(t);if(e.msMatchesSelector)return e.msMatchesSelector(t);if(e.webkitMatchesSelector)return e.webkitMatchesSelector(t)}catch(e){return!1}return!1}}function _(e){return e.host&&e!==document&&e.host.nodeType&&e.host!==e?e.host:e.parentNode}function C(e,t,n,i){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||i&&e===n)return e;if(e===n)break}while(e=_(e))}return null}var w,x=/\s+/g;function E(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var i=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(i+(n?" "+t:"")).replace(x," ")}}function S(e,t,n){var i=e&&e.style;if(i){if(void 0===n)return document.defaultView&&document.defaultView.getComputedStyle?n=document.defaultView.getComputedStyle(e,""):e.currentStyle&&(n=e.currentStyle),void 0===t?n:n[t];t in i||-1!==t.indexOf("webkit")||(t="-webkit-"+t),i[t]=n+("string"==typeof n?"":"px")}}function k(e,t){var n="";if("string"==typeof e)n=e;else do{var i=S(e,"transform");i&&"none"!==i&&(n=i+" "+n)}while(!t&&(e=e.parentNode));var r=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return r&&new r(n)}function O(e,t,n){if(e){var i=e.getElementsByTagName(t),r=0,o=i.length;if(n)for(;r<o;r++)n(i[r],r);return i}return[]}function M(){return document.scrollingElement||document.documentElement}function A(e,t,n,i,r){if(e.getBoundingClientRect||e===window){var o,a,s,l,c,d,h;if(e!==window&&e.parentNode&&e!==M()?(a=(o=e.getBoundingClientRect()).top,s=o.left,l=o.bottom,c=o.right,d=o.height,h=o.width):(a=0,s=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(r=r||e.parentNode,!u))do{if(r&&r.getBoundingClientRect&&("none"!==S(r,"transform")||n&&"static"!==S(r,"position"))){var f=r.getBoundingClientRect();a-=f.top+parseInt(S(r,"border-top-width")),s-=f.left+parseInt(S(r,"border-left-width")),l=a+o.height,c=s+o.width;break}}while(r=r.parentNode);if(i&&e!==window){var p=k(r||e),m=p&&p.a,g=p&&p.d;p&&(l=(a/=g)+(d/=g),c=(s/=m)+(h/=m))}return{top:a,left:s,bottom:l,right:c,width:h,height:d}}}function P(e,t,n){for(var i=L(e,!0),r=A(e)[t];i;){var o=A(i)[n];if(!("top"===n||"left"===n?r>=o:r<=o))return i;if(i===M())break;i=L(i,!1)}return!1}function j(e,t,n,i){for(var r=0,o=0,a=e.children;o<a.length;){if("none"!==a[o].style.display&&a[o]!==Ue.ghost&&(i||a[o]!==Ue.dragged)&&C(a[o],n.draggable,e,!1)){if(r===t)return a[o];r++}o++}return null}function I(e,t){for(var n=e.lastElementChild;n&&(n===Ue.ghost||"none"===S(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function T(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===Ue.clone||t&&!y(e,t)||n++;return n}function D(e){var t=0,n=0,i=M();if(e)do{var r=k(e),o=r.a,a=r.d;t+=e.scrollLeft*o,n+=e.scrollTop*a}while(e!==i&&(e=e.parentNode));return[t,n]}function L(e,t){if(!e||!e.getBoundingClientRect)return M();var n=e,i=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var r=S(n);if(n.clientWidth<n.scrollWidth&&("auto"==r.overflowX||"scroll"==r.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==r.overflowY||"scroll"==r.overflowY)){if(!n.getBoundingClientRect||n===document.body)return M();if(i||t)return n;i=!0}}}while(n=n.parentNode);return M()}function N(e,t){return Math.round(e.top)===Math.round(t.top)&&Math.round(e.left)===Math.round(t.left)&&Math.round(e.height)===Math.round(t.height)&&Math.round(e.width)===Math.round(t.width)}function R(e,t){return function(){if(!w){var n=arguments;1===n.length?e.call(this,n[0]):e.apply(this,n),w=setTimeout(function(){w=void 0},t)}}}function F(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function z(e){var t=window.Polymer,n=window.jQuery||window.Zepto;return t&&t.dom?t.dom(e).cloneNode(!0):n?n(e).clone(!0)[0]:e.cloneNode(!0)}function H(e,t){S(e,"position","absolute"),S(e,"top",t.top),S(e,"left",t.left),S(e,"width",t.width),S(e,"height",t.height)}function U(e){S(e,"position",""),S(e,"top",""),S(e,"left",""),S(e,"width",""),S(e,"height","")}function V(e,t,n){var i={};return Array.from(e.children).forEach(function(r){var o,a,s,l;if(C(r,t.draggable,e,!1)&&!r.animated&&r!==n){var c=A(r);i.left=Math.min(null!==(o=i.left)&&void 0!==o?o:1/0,c.left),i.top=Math.min(null!==(a=i.top)&&void 0!==a?a:1/0,c.top),i.right=Math.max(null!==(s=i.right)&&void 0!==s?s:-1/0,c.right),i.bottom=Math.max(null!==(l=i.bottom)&&void 0!==l?l:-1/0,c.bottom)}}),i.width=i.right-i.left,i.height=i.bottom-i.top,i.x=i.left,i.y=i.top,i}var $="Sortable"+(new Date).getTime();var B=[],W={initializeByDefault:!0},Z={mount:function(e){for(var t in W)W.hasOwnProperty(t)&&!(t in e)&&(e[t]=W[t]);B.forEach(function(t){if(t.pluginName===e.pluginName)throw"Sortable: Cannot mount plugin ".concat(e.pluginName," more than once")}),B.push(e)},pluginEvent:function(e,t,n){var i=this;this.eventCanceled=!1,n.cancel=function(){i.eventCanceled=!0};var r=e+"Global";B.forEach(function(i){t[i.pluginName]&&(t[i.pluginName][r]&&t[i.pluginName][r](s({sortable:t},n)),t.options[i.pluginName]&&t[i.pluginName][e]&&t[i.pluginName][e](s({sortable:t},n)))})},initializePlugins:function(e,t,n,i){for(var r in B.forEach(function(i){var r=i.pluginName;if(e.options[r]||i.initializeByDefault){var a=new i(e,t,e.options);a.sortable=e,a.options=e.options,e[r]=a,o(n,a.defaults)}}),e.options)if(e.options.hasOwnProperty(r)){var a=this.modifyOption(e,r,e.options[r]);void 0!==a&&(e.options[r]=a)}},getEventProperties:function(e,t){var n={};return B.forEach(function(i){"function"==typeof i.eventProperties&&o(n,i.eventProperties.call(t[i.pluginName],e))}),n},modifyOption:function(e,t,n){var i;return B.forEach(function(r){e[r.pluginName]&&r.optionListeners&&"function"==typeof r.optionListeners[t]&&(i=r.optionListeners[t].call(e[r.pluginName],n))}),i}};function q(e){var t=e.sortable,n=e.rootEl,i=e.name,r=e.targetEl,o=e.cloneEl,a=e.toEl,l=e.fromEl,c=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,b=e.extraEventProperties;if(t=t||n&&n[$]){var v,y=t.options,_="on"+i.charAt(0).toUpperCase()+i.substr(1);!window.CustomEvent||u||d?(v=document.createEvent("Event")).initEvent(i,!0,!0):v=new CustomEvent(i,{bubbles:!0,cancelable:!0}),v.to=a||n,v.from=l||n,v.item=r||n,v.clone=o,v.oldIndex=c,v.newIndex=h,v.oldDraggableIndex=f,v.newDraggableIndex=p,v.originalEvent=m,v.pullMode=g?g.lastPutMode:void 0;var C=s(s({},b),Z.getEventProperties(i,t));for(var w in C)v[w]=C[w];n&&n.dispatchEvent(v),y[_]&&y[_].call(t,v)}}var G=["evt"],Q=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},i=n.evt,r=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(n,G);Z.pluginEvent.bind(Ue)(e,t,s({dragEl:K,parentEl:X,ghostEl:J,rootEl:ee,nextEl:te,lastDownEl:ne,cloneEl:ie,cloneHidden:re,dragStarted:be,putSortable:ue,activeSortable:Ue.active,originalEvent:i,oldIndex:oe,oldDraggableIndex:se,newIndex:ae,newDraggableIndex:le,hideGhostForTarget:Re,unhideGhostForTarget:Fe,cloneNowHidden:function(){re=!0},cloneNowShown:function(){re=!1},dispatchSortableEvent:function(e){Y({sortable:t,name:e,originalEvent:i})}},r))};function Y(e){q(s({putSortable:ue,cloneEl:ie,targetEl:K,rootEl:ee,oldIndex:oe,oldDraggableIndex:se,newIndex:ae,newDraggableIndex:le},e))}var K,X,J,ee,te,ne,ie,re,oe,ae,se,le,ce,ue,de,he,fe,pe,me,ge,be,ve,ye,_e,Ce,we=!1,xe=!1,Ee=[],Se=!1,ke=!1,Oe=[],Me=!1,Ae=[],Pe="undefined"!=typeof document,je=p,Ie=d||u?"cssFloat":"float",Te=Pe&&!m&&!p&&"draggable"in document.createElement("div"),De=function(){if(Pe){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Le=function(e,t){var n=S(e),i=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),r=j(e,0,t),o=j(e,1,t),a=r&&S(r),s=o&&S(o),l=a&&parseInt(a.marginLeft)+parseInt(a.marginRight)+A(r).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+A(o).width;if("flex"===n.display)return"column"===n.flexDirection||"column-reverse"===n.flexDirection?"vertical":"horizontal";if("grid"===n.display)return n.gridTemplateColumns.split(" ").length<=1?"vertical":"horizontal";if(r&&a.float&&"none"!==a.float){var u="left"===a.float?"left":"right";return!o||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return r&&("block"===a.display||"flex"===a.display||"table"===a.display||"grid"===a.display||l>=i&&"none"===n[Ie]||o&&"none"===n[Ie]&&l+c>i)?"vertical":"horizontal"},Ne=function(e){function t(e,n){return function(i,r,o,a){var s=i.options.group.name&&r.options.group.name&&i.options.group.name===r.options.group.name;if(null==e&&(n||s))return!0;if(null==e||!1===e)return!1;if(n&&"clone"===e)return e;if("function"==typeof e)return t(e(i,r,o,a),n)(i,r,o,a);var l=(n?i:r).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},i=e.group;i&&"object"==l(i)||(i={name:i}),n.name=i.name,n.checkPull=t(i.pull,!0),n.checkPut=t(i.put),n.revertClone=i.revertClone,e.group=n},Re=function(){!De&&J&&S(J,"display","none")},Fe=function(){!De&&J&&S(J,"display","")};Pe&&!m&&document.addEventListener("click",function(e){if(xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xe=!1,!1},!0);var ze=function(e){if(K){e=e.touches?e.touches[0]:e;var t=(r=e.clientX,o=e.clientY,Ee.some(function(e){var t=e[$].options.emptyInsertThreshold;if(t&&!I(e)){var n=A(e),i=r>=n.left-t&&r<=n.right+t,s=o>=n.top-t&&o<=n.bottom+t;return i&&s?a=e:void 0}}),a);if(t){var n={};for(var i in e)e.hasOwnProperty(i)&&(n[i]=e[i]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[$]._onDragOver(n)}}var r,o,a},He=function(e){K&&K.parentNode[$]._isOutsideThisEl(e.target)};function Ue(e,t){if(!e||!e.nodeType||1!==e.nodeType)throw"Sortable: `el` must be an HTMLElement, not ".concat({}.toString.call(e));this.el=e,this.options=t=o({},t),e[$]=this;var n,i,r={group:null,sort:!0,disabled:!1,store:null,handle:null,draggable:/^[uo]l$/i.test(e.nodeName)?">li":">*",swapThreshold:1,invertSwap:!1,invertedSwapThreshold:null,removeCloneOnHide:!0,direction:function(){return Le(e,this.options)},ghostClass:"sortable-ghost",chosenClass:"sortable-chosen",dragClass:"sortable-drag",ignore:"a, img",filter:null,preventOnFilter:!0,animation:0,easing:null,setData:function(e,t){e.setData("Text",t.textContent)},dropBubble:!1,dragoverBubble:!1,dataIdAttr:"data-id",delay:0,delayOnTouchOnly:!1,touchStartThreshold:(Number.parseInt?Number:window).parseInt(window.devicePixelRatio,10)||1,forceFallback:!1,fallbackClass:"sortable-fallback",fallbackOnBody:!1,fallbackTolerance:0,fallbackOffset:{x:0,y:0},supportPointer:!1!==Ue.supportPointer&&"PointerEvent"in window&&(!f||p),emptyInsertThreshold:5};for(var a in Z.initializePlugins(this,e,r),r)!(a in t)&&(t[a]=r[a]);for(var l in Ne(t),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!t.forceFallback&&Te,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?b(e,"pointerdown",this._onTapStart):(b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Ee.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),o(this,(i=[],{captureAnimationState:function(){i=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(e){if("none"!==S(e,"display")&&e!==Ue.ghost){i.push({target:e,rect:A(e)});var t=s({},i[i.length-1].rect);if(e.thisAnimationDuration){var n=k(e,!0);n&&(t.top-=n.f,t.left-=n.e)}e.fromRect=t}})},addAnimationState:function(e){i.push(e)},removeAnimationState:function(e){i.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var i in t)if(t.hasOwnProperty(i)&&t[i]===e[n][i])return Number(n);return-1}(i,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var r=!1,o=0;i.forEach(function(e){var n=0,i=e.target,a=i.fromRect,s=A(i),l=i.prevFromRect,c=i.prevToRect,u=e.rect,d=k(i,!0);d&&(s.top-=d.f,s.left-=d.e),i.toRect=s,i.thisAnimationDuration&&N(l,s)&&!N(a,s)&&(u.top-s.top)/(u.left-s.left)===(a.top-s.top)/(a.left-s.left)&&(n=function(e,t,n,i){return Math.sqrt(Math.pow(t.top-e.top,2)+Math.pow(t.left-e.left,2))/Math.sqrt(Math.pow(t.top-n.top,2)+Math.pow(t.left-n.left,2))*i.animation}(u,l,c,t.options)),N(s,a)||(i.prevFromRect=a,i.prevToRect=s,n||(n=t.options.animation),t.animate(i,u,s,n)),n&&(r=!0,o=Math.max(o,n),clearTimeout(i.animationResetTimer),i.animationResetTimer=setTimeout(function(){i.animationTime=0,i.prevFromRect=null,i.fromRect=null,i.prevToRect=null,i.thisAnimationDuration=null},n),i.thisAnimationDuration=n)}),clearTimeout(n),r?n=setTimeout(function(){"function"==typeof e&&e()},o):"function"==typeof e&&e(),i=[]},animate:function(e,t,n,i){if(i){S(e,"transition",""),S(e,"transform","");var r=k(this.el),o=r&&r.a,a=r&&r.d,s=(t.left-n.left)/(o||1),l=(t.top-n.top)/(a||1);e.animatingX=!!s,e.animatingY=!!l,S(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),S(e,"transition","transform "+i+"ms"+(this.options.easing?" "+this.options.easing:"")),S(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout(function(){S(e,"transition",""),S(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},i)}}}))}function Ve(e,t,n,i,r,o,a,s){var l,c,h=e[$],f=h.options.onMove;return!window.CustomEvent||u||d?(l=document.createEvent("Event")).initEvent("move",!0,!0):l=new CustomEvent("move",{bubbles:!0,cancelable:!0}),l.to=t,l.from=e,l.dragged=n,l.draggedRect=i,l.related=r||t,l.relatedRect=o||A(t),l.willInsertAfter=s,l.originalEvent=a,e.dispatchEvent(l),f&&(c=f.call(h,l,a)),c}function $e(e){e.draggable=!1}function Be(){Me=!1}function We(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,i=0;n--;)i+=t.charCodeAt(n);return i.toString(36)}function Ze(e){return setTimeout(e,0)}function qe(e){return clearTimeout(e)}Ue.prototype={constructor:Ue,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(ve=null)},_getDirection:function(e,t){return"function"==typeof this.options.direction?this.options.direction.call(this,e,t,K):this.options.direction},_onTapStart:function(e){if(e.cancelable){var t=this,n=this.el,i=this.options,r=i.preventOnFilter,o=e.type,a=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(a||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=i.filter;if(function(e){Ae.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var i=t[n];i.checked&&Ae.push(i)}}(n),!K&&!(/mousedown|pointerdown/.test(o)&&0!==e.button||i.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!f||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=C(s,i.draggable,n,!1))&&s.animated||ne===s)){if(oe=T(s),se=T(s,i.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Y({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Q("filter",t,{evt:e}),void(r&&e.preventDefault())}else if(c&&(c=c.split(",").some(function(i){if(i=C(l,i.trim(),n,!1))return Y({sortable:t,rootEl:i,name:"filter",targetEl:s,fromEl:n,toEl:n}),Q("filter",t,{evt:e}),!0})))return void(r&&e.preventDefault());i.handle&&!C(l,i.handle,n,!1)||this._prepareDragStart(e,a,s)}}},_prepareDragStart:function(e,t,n){var i,r=this,o=r.el,a=r.options,s=o.ownerDocument;if(n&&!K&&n.parentNode===o){var l=A(n);if(ee=o,X=(K=n).parentNode,te=K.nextSibling,ne=n,ce=a.group,Ue.dragged=K,de={target:K,clientX:(t||e).clientX,clientY:(t||e).clientY},me=de.clientX-l.left,ge=de.clientY-l.top,this._lastX=(t||e).clientX,this._lastY=(t||e).clientY,K.style["will-change"]="all",i=function(){Q("delayEnded",r,{evt:e}),Ue.eventCanceled?r._onDrop():(r._disableDelayedDragEvents(),!h&&r.nativeDraggable&&(K.draggable=!0),r._triggerDragStart(e,t),Y({sortable:r,name:"choose",originalEvent:e}),E(K,a.chosenClass,!0))},a.ignore.split(",").forEach(function(e){O(K,e.trim(),$e)}),b(s,"dragover",ze),b(s,"mousemove",ze),b(s,"touchmove",ze),a.supportPointer?(b(s,"pointerup",r._onDrop),!this.nativeDraggable&&b(s,"pointercancel",r._onDrop)):(b(s,"mouseup",r._onDrop),b(s,"touchend",r._onDrop),b(s,"touchcancel",r._onDrop)),h&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),Q("delayStart",this,{evt:e}),!a.delay||a.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))i();else{if(Ue.eventCanceled)return void this._onDrop();a.supportPointer?(b(s,"pointerup",r._disableDelayedDrag),b(s,"pointercancel",r._disableDelayedDrag)):(b(s,"mouseup",r._disableDelayedDrag),b(s,"touchend",r._disableDelayedDrag),b(s,"touchcancel",r._disableDelayedDrag)),b(s,"mousemove",r._delayedDragTouchMoveHandler),b(s,"touchmove",r._delayedDragTouchMoveHandler),a.supportPointer&&b(s,"pointermove",r._delayedDragTouchMoveHandler),r._dragStartTimer=setTimeout(i,a.delay)}}},_delayedDragTouchMoveHandler:function(e){var t=e.touches?e.touches[0]:e;Math.max(Math.abs(t.clientX-this._lastX),Math.abs(t.clientY-this._lastY))>=Math.floor(this.options.touchStartThreshold/(this.nativeDraggable&&window.devicePixelRatio||1))&&this._disableDelayedDrag()},_disableDelayedDrag:function(){K&&$e(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._disableDelayedDrag),v(e,"touchend",this._disableDelayedDrag),v(e,"touchcancel",this._disableDelayedDrag),v(e,"pointerup",this._disableDelayedDrag),v(e,"pointercancel",this._disableDelayedDrag),v(e,"mousemove",this._delayedDragTouchMoveHandler),v(e,"touchmove",this._delayedDragTouchMoveHandler),v(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?b(document,"pointermove",this._onTouchMove):b(document,t?"touchmove":"mousemove",this._onTouchMove):(b(K,"dragend",this),b(ee,"dragstart",this._onDragStart));try{document.selection?Ze(function(){document.selection.empty()}):window.getSelection().removeAllRanges()}catch(e){}},_dragStarted:function(e,t){if(we=!1,ee&&K){Q("dragStarted",this,{evt:t}),this.nativeDraggable&&b(document,"dragover",He);var n=this.options;!e&&E(K,n.dragClass,!1),E(K,n.ghostClass,!0),Ue.active=this,e&&this._appendGhost(),Y({sortable:this,name:"start",originalEvent:t})}else this._nulling()},_emulateDragOver:function(){if(he){this._lastX=he.clientX,this._lastY=he.clientY,Re();for(var e=document.elementFromPoint(he.clientX,he.clientY),t=e;e&&e.shadowRoot&&(e=e.shadowRoot.elementFromPoint(he.clientX,he.clientY))!==t;)t=e;if(K.parentNode[$]._isOutsideThisEl(e),t)do{if(t[$]&&t[$]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=_(t));Fe()}},_onTouchMove:function(e){if(de){var t=this.options,n=t.fallbackTolerance,i=t.fallbackOffset,r=e.touches?e.touches[0]:e,o=J&&k(J,!0),a=J&&o&&o.a,s=J&&o&&o.d,l=je&&Ce&&D(Ce),c=(r.clientX-de.clientX+i.x)/(a||1)+(l?l[0]-Oe[0]:0)/(a||1),u=(r.clientY-de.clientY+i.y)/(s||1)+(l?l[1]-Oe[1]:0)/(s||1);if(!Ue.active&&!we){if(n&&Math.max(Math.abs(r.clientX-this._lastX),Math.abs(r.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(J){o?(o.e+=c-(fe||0),o.f+=u-(pe||0)):o={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(o.a,",").concat(o.b,",").concat(o.c,",").concat(o.d,",").concat(o.e,",").concat(o.f,")");S(J,"webkitTransform",d),S(J,"mozTransform",d),S(J,"msTransform",d),S(J,"transform",d),fe=c,pe=u,he=r}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:ee,t=A(K,!0,je,!0,e),n=this.options;if(je){for(Ce=e;"static"===S(Ce,"position")&&"none"===S(Ce,"transform")&&Ce!==document;)Ce=Ce.parentNode;Ce!==document.body&&Ce!==document.documentElement?(Ce===document&&(Ce=M()),t.top+=Ce.scrollTop,t.left+=Ce.scrollLeft):Ce=M(),Oe=D(Ce)}E(J=K.cloneNode(!0),n.ghostClass,!1),E(J,n.fallbackClass,!0),E(J,n.dragClass,!0),S(J,"transition",""),S(J,"transform",""),S(J,"box-sizing","border-box"),S(J,"margin",0),S(J,"top",t.top),S(J,"left",t.left),S(J,"width",t.width),S(J,"height",t.height),S(J,"opacity","0.8"),S(J,"position",je?"absolute":"fixed"),S(J,"zIndex","100000"),S(J,"pointerEvents","none"),Ue.ghost=J,e.appendChild(J),S(J,"transform-origin",me/parseInt(J.style.width)*100+"% "+ge/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,i=e.dataTransfer,r=n.options;Q("dragStart",this,{evt:e}),Ue.eventCanceled?this._onDrop():(Q("setupClone",this),Ue.eventCanceled||((ie=z(K)).removeAttribute("id"),ie.draggable=!1,ie.style["will-change"]="",this._hideClone(),E(ie,this.options.chosenClass,!1),Ue.clone=ie),n.cloneId=Ze(function(){Q("clone",n),Ue.eventCanceled||(n.options.removeCloneOnHide||ee.insertBefore(ie,K),n._hideClone(),Y({sortable:n,name:"clone"}))}),!t&&E(K,r.dragClass,!0),t?(xe=!0,n._loopId=setInterval(n._emulateDragOver,50)):(v(document,"mouseup",n._onDrop),v(document,"touchend",n._onDrop),v(document,"touchcancel",n._onDrop),i&&(i.effectAllowed="move",r.setData&&r.setData.call(n,i,K)),b(document,"drop",n),S(K,"transform","translateZ(0)")),we=!0,n._dragStartId=Ze(n._dragStarted.bind(n,t,e)),b(document,"selectstart",n),be=!0,window.getSelection().removeAllRanges(),f&&S(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,i,r,o=this.el,a=e.target,l=this.options,c=l.group,u=Ue.active,d=ce===c,h=l.sort,f=ue||u,p=this,m=!1;if(!Me){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),a=C(a,l.draggable,o,!0),z("dragOver"),Ue.eventCanceled)return m;if(K.contains(e.target)||a.animated&&a.animatingX&&a.animatingY||p._ignoreWhileAnimating===a)return U(!1);if(xe=!1,u&&!l.disabled&&(d?h||(i=X!==ee):ue===this||(this.lastPutMode=ce.checkPull(this,u,K,e))&&c.checkPut(this,u,K,e))){if(r="vertical"===this._getDirection(e,a),t=A(K),z("dragOverValid"),Ue.eventCanceled)return m;if(i)return X=ee,H(),this._hideClone(),z("revert"),Ue.eventCanceled||(te?ee.insertBefore(K,te):ee.appendChild(K)),U(!0);var g=I(o,l.draggable);if(!g||function(e,t,n){var i=A(I(n.el,n.options.draggable)),r=V(n.el,n.options,J);return t?e.clientX>r.right+10||e.clientY>i.bottom&&e.clientX>i.left:e.clientY>r.bottom+10||e.clientX>i.right&&e.clientY>i.top}(e,r,this)&&!g.animated){if(g===K)return U(!1);if(g&&o===e.target&&(a=g),a&&(n=A(a)),!1!==Ve(ee,o,K,t,a,n,e,!!a))return H(),g&&g.nextSibling?o.insertBefore(K,g.nextSibling):o.appendChild(K),X=o,B(),U(!0)}else if(g&&function(e,t,n){var i=A(j(n.el,0,n.options,!0)),r=V(n.el,n.options,J);return t?e.clientX<r.left-10||e.clientY<i.top&&e.clientX<i.right:e.clientY<r.top-10||e.clientY<i.bottom&&e.clientX<i.left}(e,r,this)){var b=j(o,0,l,!0);if(b===K)return U(!1);if(n=A(a=b),!1!==Ve(ee,o,K,t,a,n,e,!1))return H(),o.insertBefore(K,b),X=o,B(),U(!0)}else if(a.parentNode===o){n=A(a);var v,y,_,w=K.parentNode!==o,x=!function(e,t,n){var i=n?e.left:e.top,r=n?e.right:e.bottom,o=n?e.width:e.height,a=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return i===a||r===s||i+o/2===a+l/2}(K.animated&&K.toRect||t,a.animated&&a.toRect||n,r),k=r?"top":"left",O=P(a,"top","top")||P(K,"top","top"),M=O?O.scrollTop:void 0;if(ve!==a&&(y=n[k],Se=!1,ke=!x&&l.invertSwap||w),v=function(e,t,n,i,r,o,a,s){var l=i?e.clientY:e.clientX,c=i?n.height:n.width,u=i?n.top:n.left,d=i?n.bottom:n.right,h=!1;if(!a)if(s&&_e<c*r){if(!Se&&(1===ye?l>u+c*o/2:l<d-c*o/2)&&(Se=!0),Se)h=!0;else if(1===ye?l<u+_e:l>d-_e)return-ye}else if(l>u+c*(1-r)/2&&l<d-c*(1-r)/2)return function(e){return T(K)<T(e)?1:-1}(t);return(h=h||a)&&(l<u+c*o/2||l>d-c*o/2)?l>u+c/2?1:-1:0}(e,a,n,r,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,ke,ve===a),0!==v){var D=T(K);do{D-=v,_=X.children[D]}while(_&&("none"===S(_,"display")||_===J))}if(0===v||_===a)return U(!1);ve=a,ye=v;var L=a.nextElementSibling,N=!1,R=Ve(ee,o,K,t,a,n,e,N=1===v);if(!1!==R)return 1!==R&&-1!==R||(N=1===R),Me=!0,setTimeout(Be,30),H(),N&&!L?o.appendChild(K):a.parentNode.insertBefore(K,N?L:a),O&&F(O,0,M-O.scrollTop),X=K.parentNode,void 0===y||ke||(_e=Math.abs(y-A(a)[k])),B(),U(!0)}if(o.contains(K))return U(!1)}return!1}function z(l,c){Q(l,p,s({evt:e,isOwner:d,axis:r?"vertical":"horizontal",revert:i,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:a,completed:U,onMove:function(n,i){return Ve(ee,o,K,t,n,A(n),e,i)},changed:B},c))}function H(){z("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function U(t){return z("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(p),p!==f&&(E(K,ue?ue.options.ghostClass:u.options.ghostClass,!1),E(K,l.ghostClass,!0)),ue!==p&&p!==Ue.active?ue=p:p===Ue.active&&ue&&(ue=null),f===p&&(p._ignoreWhileAnimating=a),p.animateAll(function(){z("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(a===K&&!K.animated||a===o&&!a.animated)&&(ve=null),l.dragoverBubble||e.rootEl||a===document||(K.parentNode[$]._isOutsideThisEl(e.target),!t&&ze(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function B(){ae=T(K),le=T(K,l.draggable),Y({sortable:p,name:"change",toEl:o,newIndex:ae,newDraggableIndex:le,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){v(document,"mousemove",this._onTouchMove),v(document,"touchmove",this._onTouchMove),v(document,"pointermove",this._onTouchMove),v(document,"dragover",ze),v(document,"mousemove",ze),v(document,"touchmove",ze)},_offUpEvents:function(){var e=this.el.ownerDocument;v(e,"mouseup",this._onDrop),v(e,"touchend",this._onDrop),v(e,"pointerup",this._onDrop),v(e,"pointercancel",this._onDrop),v(e,"touchcancel",this._onDrop),v(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;ae=T(K),le=T(K,n.draggable),Q("drop",this,{evt:e}),X=K&&K.parentNode,ae=T(K),le=T(K,n.draggable),Ue.eventCanceled||(we=!1,ke=!1,Se=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qe(this.cloneId),qe(this._dragStartId),this.nativeDraggable&&(v(document,"drop",this),v(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&S(document.body,"user-select",""),S(K,"transform",""),e&&(be&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(ee===X||ue&&"clone"!==ue.lastPutMode)&&ie&&ie.parentNode&&ie.parentNode.removeChild(ie),K&&(this.nativeDraggable&&v(K,"dragend",this),$e(K),K.style["will-change"]="",be&&!we&&E(K,ue?ue.options.ghostClass:this.options.ghostClass,!1),E(K,this.options.chosenClass,!1),Y({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:e}),ee!==X?(ae>=0&&(Y({rootEl:X,name:"add",toEl:X,fromEl:ee,originalEvent:e}),Y({sortable:this,name:"remove",toEl:X,originalEvent:e}),Y({rootEl:X,name:"sort",toEl:X,fromEl:ee,originalEvent:e}),Y({sortable:this,name:"sort",toEl:X,originalEvent:e})),ue&&ue.save()):ae!==oe&&ae>=0&&(Y({sortable:this,name:"update",toEl:X,originalEvent:e}),Y({sortable:this,name:"sort",toEl:X,originalEvent:e})),Ue.active&&(null!=ae&&-1!==ae||(ae=oe,le=se),Y({sortable:this,name:"end",toEl:X,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Q("nulling",this),ee=K=X=J=te=ie=ne=re=de=he=be=ae=le=oe=se=ve=ye=ue=ce=Ue.dragged=Ue.ghost=Ue.clone=Ue.active=null;var e=this.el;Ae.forEach(function(t){e.contains(t)&&(t.checked=!0)}),Ae.length=fe=pe=0},handleEvent:function(e){switch(e.type){case"drop":case"dragend":this._onDrop(e);break;case"dragenter":case"dragover":K&&(this._onDragOver(e),function(e){e.dataTransfer&&(e.dataTransfer.dropEffect="move"),e.cancelable&&e.preventDefault()}(e));break;case"selectstart":e.preventDefault()}},toArray:function(){for(var e,t=[],n=this.el.children,i=0,r=n.length,o=this.options;i<r;i++)C(e=n[i],o.draggable,this.el,!1)&&t.push(e.getAttribute(o.dataIdAttr)||We(e));return t},sort:function(e,t){var n={},i=this.el;this.toArray().forEach(function(e,t){var r=i.children[t];C(r,this.options.draggable,i,!1)&&(n[e]=r)},this),t&&this.captureAnimationState(),e.forEach(function(e){n[e]&&(i.removeChild(n[e]),i.appendChild(n[e]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return C(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var i=Z.modifyOption(this,e,t);n[e]=void 0!==i?i:t,"group"===e&&Ne(n)},destroy:function(){Q("destroy",this);var e=this.el;e[$]=null,v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart),v(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Ee.splice(Ee.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!re){if(Q("hideClone",this),Ue.eventCanceled)return;S(ie,"display","none"),this.options.removeCloneOnHide&&ie.parentNode&&ie.parentNode.removeChild(ie),re=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(re){if(Q("showClone",this),Ue.eventCanceled)return;K.parentNode!=ee||this.options.group.revertClone?te?ee.insertBefore(ie,te):ee.appendChild(ie):ee.insertBefore(ie,K),this.options.group.revertClone&&this.animate(K,ie),S(ie,"display",""),re=!1}}else this._hideClone()}},Pe&&b(document,"touchmove",function(e){(Ue.active||we)&&e.cancelable&&e.preventDefault()}),Ue.utils={on:b,off:v,css:S,find:O,is:function(e,t){return!!C(e,t,e,!1)},extend:function(e,t){if(e&&t)for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n]);return e},throttle:R,closest:C,toggleClass:E,clone:z,index:T,nextTick:Ze,cancelNextTick:qe,detectDirection:Le,getChild:j,expando:$},Ue.get=function(e){return e[$]},Ue.mount=function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];t[0].constructor===Array&&(t=t[0]),t.forEach(function(e){if(!e.prototype||!e.prototype.constructor)throw"Sortable: Mounted plugin must be a constructor function, not ".concat({}.toString.call(e));e.utils&&(Ue.utils=s(s({},Ue.utils),e.utils)),Z.mount(e)})},Ue.create=function(e,t){return new Ue(e,t)},Ue.version="1.15.7";var Ge,Qe,Ye,Ke,Xe,Je,et=[],tt=!1;function nt(){et.forEach(function(e){clearInterval(e.pid)}),et=[]}function it(){clearInterval(Je)}var rt,ot=R(function(e,t,n,i){if(t.scroll){var r,o=(e.touches?e.touches[0]:e).clientX,a=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=M(),u=!1;Qe!==n&&(Qe=n,nt(),Ge=t.scroll,r=t.scrollFn,!0===Ge&&(Ge=L(n,!0)));var d=0,h=Ge;do{var f=h,p=A(f),m=p.top,g=p.bottom,b=p.left,v=p.right,y=p.width,_=p.height,C=void 0,w=void 0,x=f.scrollWidth,E=f.scrollHeight,k=S(f),O=f.scrollLeft,P=f.scrollTop;f===c?(C=y<x&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),w=_<E&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(C=y<x&&("auto"===k.overflowX||"scroll"===k.overflowX),w=_<E&&("auto"===k.overflowY||"scroll"===k.overflowY));var j=C&&(Math.abs(v-o)<=s&&O+y<x)-(Math.abs(b-o)<=s&&!!O),I=w&&(Math.abs(g-a)<=s&&P+_<E)-(Math.abs(m-a)<=s&&!!P);if(!et[d])for(var T=0;T<=d;T++)et[T]||(et[T]={});et[d].vx==j&&et[d].vy==I&&et[d].el===f||(et[d].el=f,et[d].vx=j,et[d].vy=I,clearInterval(et[d].pid),0==j&&0==I||(u=!0,et[d].pid=setInterval(function(){i&&0===this.layer&&Ue.active._onTouchMove(Xe);var t=et[this.layer].vy?et[this.layer].vy*l:0,n=et[this.layer].vx?et[this.layer].vx*l:0;"function"==typeof r&&"continue"!==r.call(Ue.dragged.parentNode[$],n,t,e,Xe,et[this.layer].el)||F(et[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==c&&(h=L(h,!1)));tt=u}},30),at=function(e){var t=e.originalEvent,n=e.putSortable,i=e.dragEl,r=e.activeSortable,o=e.dispatchSortableEvent,a=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||r;a();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(o("spill"),this.onSpill({dragEl:i,putSortable:n}))}};function st(){}function lt(){}function ct(){function e(){this.defaults={swapClass:"sortable-swap-highlight"}}return e.prototype={dragStart:function(e){var t=e.dragEl;rt=t},dragOverValid:function(e){var t=e.completed,n=e.target,i=e.onMove,r=e.activeSortable,o=e.changed,a=e.cancel;if(r.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=rt;!1!==i(n)?(E(n,l.swapClass,!0),rt=n):rt=null,c&&c!==rt&&E(c,l.swapClass,!1)}o(),t(!0),a()}},drop:function(e){var t,n,i,r,o,a,s=e.activeSortable,l=e.putSortable,c=e.dragEl,u=l||this.sortable,d=this.options;rt&&E(rt,d.swapClass,!1),rt&&(d.swap||l&&l.options.swap)&&c!==rt&&(u.captureAnimationState(),u!==s&&s.captureAnimationState(),n=rt,o=(t=c).parentNode,a=n.parentNode,o&&a&&!o.isEqualNode(n)&&!a.isEqualNode(t)&&(i=T(t),r=T(n),o.isEqualNode(a)&&i<r&&r++,o.insertBefore(n,o.children[i]),a.insertBefore(t,a.children[r])),u.animateAll(),u!==s&&s.animateAll())},nulling:function(){rt=null}},o(e,{pluginName:"swap",eventProperties:function(){return{swapItem:rt}}})}st.prototype={startIndex:null,dragStart:function(e){var t=e.oldDraggableIndex;this.startIndex=t},onSpill:function(e){var t=e.dragEl,n=e.putSortable;this.sortable.captureAnimationState(),n&&n.captureAnimationState();var i=j(this.sortable.el,this.startIndex,this.options);i?this.sortable.el.insertBefore(t,i):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:at},o(st,{pluginName:"revertOnSpill"}),lt.prototype={onSpill:function(e){var t=e.dragEl,n=e.putSortable||this.sortable;n.captureAnimationState(),t.parentNode&&t.parentNode.removeChild(t),n.animateAll()},drop:at},o(lt,{pluginName:"removeOnSpill"});var ut,dt,ht,ft,pt,mt=[],gt=[],bt=!1,vt=!1,yt=!1;function _t(){function e(e){for(var t in this)"_"===t.charAt(0)&&"function"==typeof this[t]&&(this[t]=this[t].bind(this));e.options.avoidImplicitDeselect||(e.options.supportPointer?b(document,"pointerup",this._deselectMultiDrag):(b(document,"mouseup",this._deselectMultiDrag),b(document,"touchend",this._deselectMultiDrag))),b(document,"keydown",this._checkKeyDown),b(document,"keyup",this._checkKeyUp),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(t,n){var i="";mt.length&&dt===e?mt.forEach(function(e,t){i+=(t?", ":"")+e.textContent}):i=n.textContent,t.setData("Text",i)}}}return e.prototype={multiDragKeyDown:!1,isMultiDrag:!1,delayStartGlobal:function(e){var t=e.dragEl;ht=t},delayEnded:function(){this.isMultiDrag=~mt.indexOf(ht)},setupClone:function(e){var t=e.sortable,n=e.cancel;if(this.isMultiDrag){for(var i=0;i<mt.length;i++)gt.push(z(mt[i])),gt[i].sortableIndex=mt[i].sortableIndex,gt[i].draggable=!1,gt[i].style["will-change"]="",E(gt[i],this.options.selectedClass,!1),mt[i]===ht&&E(gt[i],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,i=e.dispatchSortableEvent,r=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||mt.length&&dt===t&&(Ct(!0,n),i("clone"),r()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,i=e.cancel;this.isMultiDrag&&(Ct(!1,n),gt.forEach(function(e){S(e,"display","")}),t(),pt=!1,i())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),i=e.cancel;this.isMultiDrag&&(gt.forEach(function(e){S(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)}),n(),pt=!0,i())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&dt&&dt.multiDrag._deselectMultiDrag(),mt.forEach(function(e){e.sortableIndex=T(e)}),mt=mt.sort(function(e,t){return e.sortableIndex-t.sortableIndex}),yt=!0},dragStarted:function(e){var t=this,n=e.sortable;if(this.isMultiDrag){if(this.options.sort&&(n.captureAnimationState(),this.options.animation)){mt.forEach(function(e){e!==ht&&S(e,"position","absolute")});var i=A(ht,!1,!0,!0);mt.forEach(function(e){e!==ht&&H(e,i)}),vt=!0,bt=!0}n.animateAll(function(){vt=!1,bt=!1,t.options.animation&&mt.forEach(function(e){U(e)}),t.options.sort&&wt()})}},dragOver:function(e){var t=e.target,n=e.completed,i=e.cancel;vt&&~mt.indexOf(t)&&(n(!1),i())},revert:function(e){var t=e.fromSortable,n=e.rootEl,i=e.sortable,r=e.dragRect;mt.length>1&&(mt.forEach(function(e){i.addAnimationState({target:e,rect:vt?A(e):r}),U(e),e.fromRect=r,t.removeAnimationState(e)}),vt=!1,function(e,t){mt.forEach(function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];r?t.insertBefore(n,r):t.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,i=e.insertion,r=e.activeSortable,o=e.parentEl,a=e.putSortable,s=this.options;if(i){if(n&&r._hideClone(),bt=!1,s.animation&&mt.length>1&&(vt||!n&&!r.options.sort&&!a)){var l=A(ht,!1,!0,!0);mt.forEach(function(e){e!==ht&&(H(e,l),o.appendChild(e))}),vt=!0}if(!n)if(vt||wt(),mt.length>1){var c=pt;r._showClone(t),r.options.animation&&!pt&&c&>.forEach(function(e){r.addAnimationState({target:e,rect:ft}),e.fromRect=ft,e.thisAnimationDuration=null})}else r._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,i=e.activeSortable;if(mt.forEach(function(e){e.thisAnimationDuration=null}),i.options.animation&&!n&&i.multiDrag.isMultiDrag){ft=o({},t);var r=k(ht,!0);ft.top-=r.f,ft.left-=r.e}},dragOverAnimationComplete:function(){vt&&(vt=!1,wt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,i=e.parentEl,r=e.sortable,o=e.dispatchSortableEvent,a=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=i.children;if(!yt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),E(ht,c.selectedClass,!~mt.indexOf(ht)),~mt.indexOf(ht))mt.splice(mt.indexOf(ht),1),ut=null,q({sortable:r,rootEl:n,name:"deselect",targetEl:ht,originalEvent:t});else{if(mt.push(ht),q({sortable:r,rootEl:n,name:"select",targetEl:ht,originalEvent:t}),t.shiftKey&&ut&&r.el.contains(ut)){var d=T(ut),h=T(ht);~d&&~h&&d!==h&&function(){var e,o;h>d?(o=d,e=h):(o=h,e=d+1);for(var a=c.filter;o<e;o++)~mt.indexOf(u[o])||C(u[o],c.draggable,i,!1)&&(a&&("function"==typeof a?a.call(r,t,u[o],r):a.split(",").some(function(e){return C(u[o],e.trim(),i,!1)}))||(E(u[o],c.selectedClass,!0),mt.push(u[o]),q({sortable:r,rootEl:n,name:"select",targetEl:u[o],originalEvent:t})))}()}else ut=ht;dt=l}if(yt&&this.isMultiDrag){if(vt=!1,(i[$].options.sort||i!==n)&&mt.length>1){var f=A(ht),p=T(ht,":not(."+this.options.selectedClass+")");if(!bt&&c.animation&&(ht.thisAnimationDuration=null),l.captureAnimationState(),!bt&&(c.animation&&(ht.fromRect=f,mt.forEach(function(e){if(e.thisAnimationDuration=null,e!==ht){var t=vt?A(e):f;e.fromRect=t,l.addAnimationState({target:e,rect:t})}})),wt(),mt.forEach(function(e){u[p]?i.insertBefore(e,u[p]):i.appendChild(e),p++}),a===T(ht))){var m=!1;mt.forEach(function(e){e.sortableIndex===T(e)||(m=!0)}),m&&(o("update"),o("sort"))}mt.forEach(function(e){U(e)}),l.animateAll()}dt=l}(n===i||s&&"clone"!==s.lastPutMode)&>.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}},nullingGlobal:function(){this.isMultiDrag=yt=!1,gt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),v(document,"pointerup",this._deselectMultiDrag),v(document,"mouseup",this._deselectMultiDrag),v(document,"touchend",this._deselectMultiDrag),v(document,"keydown",this._checkKeyDown),v(document,"keyup",this._checkKeyUp)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||dt!==this.sortable||e&&C(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;mt.length;){var t=mt[0];E(t,this.options.selectedClass,!1),mt.shift(),q({sortable:this.sortable,rootEl:this.sortable.el,name:"deselect",targetEl:t,originalEvent:e})}},_checkKeyDown:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!0)},_checkKeyUp:function(e){e.key===this.options.multiDragKey&&(this.multiDragKeyDown=!1)}},o(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[$];t&&t.options.multiDrag&&!~mt.indexOf(e)&&(dt&&dt!==t&&(dt.multiDrag._deselectMultiDrag(),dt=t),E(e,t.options.selectedClass,!0),mt.push(e))},deselect:function(e){var t=e.parentNode[$],n=mt.indexOf(e);t&&t.options.multiDrag&&~n&&(E(e,t.options.selectedClass,!1),mt.splice(n,1))}},eventProperties:function(){var e,t=this,n=[],r=[];return mt.forEach(function(e){var i;n.push({multiDragElement:e,index:e.sortableIndex}),i=vt&&e!==ht?-1:vt?T(e,":not(."+t.options.selectedClass+")"):T(e),r.push({multiDragElement:e,index:i})}),{items:(e=mt,function(e){if(Array.isArray(e))return i(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return i(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?i(e,t):void 0}}(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.")}()),clones:[].concat(gt),oldIndicies:n,newIndicies:r}},optionListeners:{multiDragKey:function(e){return"ctrl"===(e=e.toLowerCase())?e="Control":e.length>1&&(e=e.charAt(0).toUpperCase()+e.substr(1)),e}}})}function Ct(e,t){gt.forEach(function(n,i){var r=t.children[n.sortableIndex+(e?Number(i):0)];r?t.insertBefore(n,r):t.appendChild(n)})}function wt(){mt.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}Ue.mount(new function(){function e(){for(var e in this.defaults={scroll:!0,forceAutoScrollFallback:!1,scrollSensitivity:30,scrollSpeed:10,bubbleScroll:!0},this)"_"===e.charAt(0)&&"function"==typeof this[e]&&(this[e]=this[e].bind(this))}return e.prototype={dragStarted:function(e){var t=e.originalEvent;this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):this.options.supportPointer?b(document,"pointermove",this._handleFallbackAutoScroll):t.touches?b(document,"touchmove",this._handleFallbackAutoScroll):b(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?v(document,"dragover",this._handleAutoScroll):(v(document,"pointermove",this._handleFallbackAutoScroll),v(document,"touchmove",this._handleFallbackAutoScroll),v(document,"mousemove",this._handleFallbackAutoScroll)),it(),nt(),clearTimeout(w),w=void 0},nulling:function(){Xe=Qe=Ge=tt=Je=Ye=Ke=null,et.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,i=(e.touches?e.touches[0]:e).clientX,r=(e.touches?e.touches[0]:e).clientY,o=document.elementFromPoint(i,r);if(Xe=e,t||this.options.forceAutoScrollFallback||d||u||f){ot(e,this.options,o,t);var a=L(o,!0);!tt||Je&&i===Ye&&r===Ke||(Je&&it(),Je=setInterval(function(){var o=L(document.elementFromPoint(i,r),!0);o!==a&&(a=o,nt()),ot(e,n.options,o,t)},10),Ye=i,Ke=r)}else{if(!this.options.bubbleScroll||L(o,!0)===M())return void nt();ot(e,this.options,L(o,!1),!1)}}},o(e,{pluginName:"scroll",initializeByDefault:!0})}),Ue.mount(lt,st),t.default=Ue},1020:function(e,t,n){"use strict";var i=(this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}})(n(8052)),r=n(576);function o(e,t){var n={};return e&&"string"==typeof e?((0,i.default)(e,function(e,i){e&&i&&(n[(0,r.camelCase)(e,t)]=i)}),n):n}o.default=o,e.exports=o},576:function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.camelCase=void 0;var n=/^--[a-zA-Z0-9_-]+$/,i=/-([a-z])/g,r=/^[^-]+$/,o=/^-(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||r.test(e)||n.test(e)}(e)?e:(e=e.toLowerCase(),(e=t.reactCompat?e.replace(a,l):e.replace(o,l)).replace(i,s))}},8052:function(e,t,n){"use strict";var i=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,"__esModule",{value:!0}),t.default=function(e,t){let n=null;if(!e||"string"!=typeof e)return n;const i=(0,r.default)(e),o="function"==typeof t;return i.forEach(e=>{if("declaration"!==e.type)return;const{property:i,value:r}=e;o?t(i,r,e):r&&(n=n||{},n[i]=r)}),n};const r=i(n(2776))},1450:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return o}});var i=!0,r="Invariant failed";function o(e,t){if(!e){if(i)throw new Error(r);var n="function"==typeof t?t():t;throw new Error(n?r+": "+n:r)}}},1594:function(e){"use strict";e.exports=React},5206:function(e){"use strict";e.exports=ReactDOM},3373:function(e,t){var n;
/*!
Copyright (c) 2018 Jed Watson.
Licensed under the MIT License (MIT), see
http://jedwatson.github.io/classnames
*/!function(){"use strict";var i={}.hasOwnProperty;function r(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=a(e,o(n)))}return e}function o(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return r.apply(null,e);if(e.toString!==Object.prototype.toString&&!e.toString.toString().includes("[native code]"))return e.toString();var t="";for(var n in e)i.call(e,n)&&e[n]&&(t=a(t,n));return t}function a(e,t){return t?e?e+" "+t:e+t:e}e.exports?(r.default=r,e.exports=r):void 0===(n=function(){return r}.apply(t,[]))||(e.exports=n)}()},9575:function(e,t,n){"use strict";function i(){return i=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},i.apply(null,arguments)}n.d(t,{A:function(){return i}})},701:function(e,t,n){"use strict";function i(e,t){return i=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},i(e,t)}function r(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,i(e,t)}n.d(t,{A:function(){return r}})}},t={};function n(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i].call(o.exports,o,o.exports,n),o.exports}n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,{a:t}),t},n.d=function(e,t){for(var i in t)n.o(t,i)&&!n.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},n.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.dn=function(e){(Object.getOwnPropertyDescriptor(e,"name")||{}).writable||Object.defineProperty(e,"name",{value:"default",configurable:!0})},function(){var e;n.g.importScripts&&(e=n.g.location+"");var t=n.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var i=t.getElementsByTagName("script");if(i.length)for(var r=i.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=i[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),n.p=e}(),function(){"use strict";var e={};n.r(e),n.d(e,{hasBrowserEnv:function(){return Ft},hasStandardBrowserEnv:function(){return Ht},hasStandardBrowserWebWorkerEnv:function(){return Ut},navigator:function(){return zt},origin:function(){return Vt}});var t={};n.r(t),n.d(t,{exclude:function(){return Zd},extract:function(){return Hd},parse:function(){return Ud},parseUrl:function(){return $d},pick:function(){return Wd},stringify:function(){return Vd},stringifyUrl:function(){return Bd}});var i,r=n(1594),o=n.n(r),a=n(5873),s=n(5206);
/**
* @remix-run/router v1.23.3
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
function l(){return l=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},l.apply(null,arguments)}!function(e){e.Pop="POP",e.Push="PUSH",e.Replace="REPLACE"}(i||(i={}));const c="popstate";function u(e,t){if(!1===e||null==e)throw new Error(t)}function d(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function h(e,t){return{usr:e.state,key:e.key,idx:t}}function f(e,t,n,i){return void 0===n&&(n=null),l({pathname:"string"==typeof e?e:e.pathname,search:"",hash:""},"string"==typeof t?m(t):t,{state:n,key:t&&t.key||i||Math.random().toString(36).substr(2,8)})}function p(e){let{pathname:t="/",search:n="",hash:i=""}=e;return n&&"?"!==n&&(t+="?"===n.charAt(0)?n:"?"+n),i&&"#"!==i&&(t+="#"===i.charAt(0)?i:"#"+i),t}function m(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substr(n),e=e.substr(0,n));let i=e.indexOf("?");i>=0&&(t.search=e.substr(i),e=e.substr(0,i)),e&&(t.pathname=e)}return t}var g;function b(e,t,n){return void 0===n&&(n="/"),function(e,t,n,i){let r=P(("string"==typeof t?m(t):t).pathname||"/",n);if(null==r)return null;let o=v(e);!function(e){e.sort((e,t)=>e.score!==t.score?t.score-e.score:function(e,t){let n=e.length===t.length&&e.slice(0,-1).every((e,n)=>e===t[n]);return n?e[e.length-1]-t[t.length-1]:0}(e.routesMeta.map(e=>e.childrenIndex),t.routesMeta.map(e=>e.childrenIndex)))}(o);let a=null,s=function(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return d(!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}}(r);for(let e=0;null==a&&e<o.length;++e)a=M(o[e],s,i);return a}(e,t,n,!1)}function v(e,t,n,i){void 0===t&&(t=[]),void 0===n&&(n=[]),void 0===i&&(i="");let r=(e,r,o)=>{let a={relativePath:void 0===o?e.path||"":o,caseSensitive:!0===e.caseSensitive,childrenIndex:r,route:e};a.relativePath.startsWith("/")&&(u(a.relativePath.startsWith(i),'Absolute route path "'+a.relativePath+'" nested under path "'+i+'" is not valid. An absolute child route path must start with the combined path of all its parent routes.'),a.relativePath=a.relativePath.slice(i.length));let s=N([i,a.relativePath]),l=n.concat(a);e.children&&e.children.length>0&&(u(!0!==e.index,'Index routes must not have child routes. Please remove all child routes from route path "'+s+'".'),v(e.children,t,l,s)),(null!=e.path||e.index)&&t.push({path:s,score:O(s,e.index),routesMeta:l})};return e.forEach((e,t)=>{var n;if(""!==e.path&&null!=(n=e.path)&&n.includes("?"))for(let n of y(e.path))r(e,t,n);else r(e,t)}),t}function y(e){let t=e.split("/");if(0===t.length)return[];let[n,...i]=t,r=n.endsWith("?"),o=n.replace(/\?$/,"");if(0===i.length)return r?[o,""]:[o];let a=y(i.join("/")),s=[];return s.push(...a.map(e=>""===e?o:[o,e].join("/"))),r&&s.push(...a),s.map(t=>e.startsWith("/")&&""===t?"/":t)}!function(e){e.data="data",e.deferred="deferred",e.redirect="redirect",e.error="error"}(g||(g={})),new Set(["lazy","caseSensitive","path","id","index","children"]);const _=/^:[\w-]+$/,C=3,w=2,x=1,E=10,S=-2,k=e=>"*"===e;function O(e,t){let n=e.split("/"),i=n.length;return n.some(k)&&(i+=S),t&&(i+=w),n.filter(e=>!k(e)).reduce((e,t)=>e+(_.test(t)?C:""===t?x:E),i)}function M(e,t,n){void 0===n&&(n=!1);let{routesMeta:i}=e,r={},o="/",a=[];for(let e=0;e<i.length;++e){let s=i[e],l=e===i.length-1,c="/"===o?t:t.slice(o.length)||"/",u=A({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),d=s.route;if(!u&&l&&n&&!i[i.length-1].route.index&&(u=A({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!u)return null;Object.assign(r,u.params),a.push({params:r,pathname:N([o,u.pathname]),pathnameBase:R(N([o,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(o=N([o,u.pathnameBase]))}return a}function A(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,i]=function(e,t,n){void 0===t&&(t=!1),void 0===n&&(n=!0),d("*"===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 i=[],r="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(i.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)"));return e.endsWith("*")?(i.push({paramName:"*"}),r+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?r+="\\/*$":""!==e&&"/"!==e&&(r+="(?:(?=\\/|$))"),[new RegExp(r,t?void 0:"i"),i]}(e.path,e.caseSensitive,e.end),r=t.match(n);if(!r)return null;let o=r[0],a=o.replace(/(.)\/+$/,"$1"),s=r.slice(1),l=i.reduce((e,t,n)=>{let{paramName:i,isOptional:r}=t;if("*"===i){let e=s[n]||"";a=o.slice(0,o.length-e.length).replace(/(.)\/+$/,"$1")}const l=s[n];return e[i]=r&&!l?void 0:(l||"").replace(/%2F/g,"/"),e},{});return{params:l,pathname:o,pathnameBase:a,pattern:e}}function P(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,i=e.charAt(n);return i&&"/"!==i?null:e.slice(n)||"/"}const j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function I(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("/"):"/"}function T(e,t,n,i){return"Cannot include a '"+e+"' character in a manually specified `to."+t+"` field ["+JSON.stringify(i)+"]. 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 D(e,t,n,i){let r;void 0===i&&(i=!1),"string"==typeof e?r=m(e):(r=l({},e),u(!r.pathname||!r.pathname.includes("?"),T("?","pathname","search",r)),u(!r.pathname||!r.pathname.includes("#"),T("#","pathname","hash",r)),u(!r.search||!r.search.includes("#"),T("#","search","hash",r)));let o,a=""===e||""===r.pathname,s=a?"/":r.pathname;if(null==s)o=n;else{let e=t.length-1;if(!i&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;r.pathname=t.join("/")}o=e>=0?t[e]:"/"}let c=function(e,t){void 0===t&&(t="/");let n,{pathname:i,search:r="",hash:o=""}="string"==typeof e?m(e):e;if(i)if(a=i,j.test(a))n=i;else{if(i.includes("//")){let e=i;i=L(i),d(!1,"Pathnames cannot have embedded double slashes - normalizing "+e+" -> "+i)}n=i.startsWith("/")?I(i.substring(1),"/"):I(i,t)}else n=t;var a;return{pathname:n,search:F(r),hash:z(o)}}(r,o),h=s&&"/"!==s&&s.endsWith("/"),f=(a||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!h&&!f||(c.pathname+="/"),c}const L=e=>e.replace(/\/\/+/g,"/"),N=e=>L(e.join("/")),R=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),F=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",z=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"";Error;const H=["post","put","patch","delete"],U=(new Set(H),["get",...H]);
/**
* React Router v6.30.4
*
* Copyright (c) Remix Software Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE.md file in the root directory of this source tree.
*
* @license MIT
*/
function V(){return V=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},V.apply(null,arguments)}new Set(U),new Set([301,302,303,307,308]),new Set([307,308]),Symbol("deferred");const $=r.createContext(null),B=r.createContext(null),W=r.createContext(null),Z=r.createContext(null),q=r.createContext({outlet:null,matches:[],isDataRoute:!1}),G=r.createContext(null);function Q(){return null!=r.useContext(Z)}function Y(){return Q()||u(!1),r.useContext(Z).location}function K(e){r.useContext(W).static||r.useLayoutEffect(e)}function X(){let{isDataRoute:e}=r.useContext(q);return e?function(){let{router:e}=function(){let e=r.useContext($);return e||u(!1),e}(oe.UseNavigateStable),t=se(ae.UseNavigateStable),n=r.useRef(!1);K(()=>{n.current=!0});let i=r.useCallback(function(i,r){void 0===r&&(r={}),n.current&&("number"==typeof i?e.navigate(i):e.navigate(i,V({fromRouteId:t},r)))},[e,t]);return i}():function(){Q()||u(!1);let e=r.useContext($),{basename:t,future:n,navigator:i}=r.useContext(W),{matches:o}=r.useContext(q),{pathname:a}=Y(),s=JSON.stringify(function(e,t){let n=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t?n.map((e,t)=>t===n.length-1?e.pathname:e.pathnameBase):n.map(e=>e.pathnameBase)}(o,n.v7_relativeSplatPath)),l=r.useRef(!1);K(()=>{l.current=!0});let c=r.useCallback(function(n,r){if(void 0===r&&(r={}),!l.current)return;if("number"==typeof n)return void i.go(n);let o=D(n,JSON.parse(s),a,"path"===r.relative);null==e&&"/"!==t&&(o.pathname="/"===o.pathname?t:N([t,o.pathname])),(r.replace?i.replace:i.push)(o,r.state,r)},[t,i,s,a,e]);return c}()}function J(){let{matches:e}=r.useContext(q),t=e[e.length-1];return t?t.params:{}}function ee(e,t,n,o){Q()||u(!1);let{navigator:a}=r.useContext(W),{matches:s}=r.useContext(q),l=s[s.length-1],c=l?l.params:{},d=(l&&l.pathname,l?l.pathnameBase:"/");l&&l.route;let h,f=Y();if(t){var p;let e="string"==typeof t?m(t):t;"/"===d||(null==(p=e.pathname)?void 0:p.startsWith(d))||u(!1),h=e}else h=f;let g=h.pathname||"/",v=g;if("/"!==d){let e=d.replace(/^\//,"").split("/");v="/"+g.replace(/^\//,"").split("/").slice(e.length).join("/")}let y=b(e,{pathname:v}),_=function(e,t,n,i){var o;if(void 0===t&&(t=[]),void 0===n&&(n=null),void 0===i&&(i=null),null==e){var a;if(!n)return null;if(n.errors)e=n.matches;else{if(!(null!=(a=i)&&a.v7_partialHydration&&0===t.length&&!n.initialized&&n.matches.length>0))return null;e=n.matches}}let s=e,l=null==(o=n)?void 0:o.errors;if(null!=l){let e=s.findIndex(e=>e.route.id&&void 0!==(null==l?void 0:l[e.route.id]));e>=0||u(!1),s=s.slice(0,Math.min(s.length,e+1))}let c=!1,d=-1;if(n&&i&&i.v7_partialHydration)for(let e=0;e<s.length;e++){let t=s[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(d=e),t.route.id){let{loaderData:e,errors:i}=n,r=t.route.loader&&void 0===e[t.route.id]&&(!i||void 0===i[t.route.id]);if(t.route.lazy||r){c=!0,s=d>=0?s.slice(0,d+1):[s[0]];break}}}return s.reduceRight((e,i,o)=>{let a,u=!1,h=null,f=null;var p;n&&(a=l&&i.route.id?l[i.route.id]:void 0,h=i.route.errorElement||ne,c&&(d<0&&0===o?(le[p="route-fallback"]||(le[p]=!0),u=!0,f=null):d===o&&(u=!0,f=i.route.hydrateFallbackElement||null)));let m=t.concat(s.slice(0,o+1)),g=()=>{let t;return t=a?h:u?f:i.route.Component?r.createElement(i.route.Component,null):i.route.element?i.route.element:e,r.createElement(re,{match:i,routeContext:{outlet:e,matches:m,isDataRoute:null!=n},children:t})};return n&&(i.route.ErrorBoundary||i.route.errorElement||0===o)?r.createElement(ie,{location:n.location,revalidation:n.revalidation,component:h,error:a,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0}}):g()},null)}(y&&y.map(e=>Object.assign({},e,{params:Object.assign({},c,e.params),pathname:N([d,a.encodeLocation?a.encodeLocation(e.pathname).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?d:N([d,a.encodeLocation?a.encodeLocation(e.pathnameBase).pathname:e.pathnameBase])})),s,n,o);return t&&_?r.createElement(Z.Provider,{value:{location:V({pathname:"/",search:"",hash:"",state:null,key:"default"},h),navigationType:i.Pop}},_):_}function te(){let e=function(){var e;let t=r.useContext(G),n=function(){let e=r.useContext(B);return e||u(!1),e}(ae.UseRouteError),i=se(ae.UseRouteError);return void 0!==t?t:null==(e=n.errors)?void 0:e[i]}(),t=function(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}(e)?e.status+" "+e.statusText:e instanceof Error?e.message:JSON.stringify(e),n=e instanceof Error?e.stack:null,i={padding:"0.5rem",backgroundColor:"rgba(200,200,200, 0.5)"};return r.createElement(r.Fragment,null,r.createElement("h2",null,"Unexpected Application Error!"),r.createElement("h3",{style:{fontStyle:"italic"}},t),n?r.createElement("pre",{style:i},n):null,null)}const ne=r.createElement(te,null);class ie extends r.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?r.createElement(q.Provider,{value:this.props.routeContext},r.createElement(G.Provider,{value:this.state.error,children:this.props.component})):this.props.children}}function re(e){let{routeContext:t,match:n,children:i}=e,o=r.useContext($);return o&&o.static&&o.staticContext&&(n.route.errorElement||n.route.ErrorBoundary)&&(o.staticContext._deepestRenderedBoundaryId=n.route.id),r.createElement(q.Provider,{value:t},i)}var oe=function(e){return e.UseBlocker="useBlocker",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e}(oe||{}),ae=function(e){return e.UseBlocker="useBlocker",e.UseLoaderData="useLoaderData",e.UseActionData="useActionData",e.UseRouteError="useRouteError",e.UseNavigation="useNavigation",e.UseRouteLoaderData="useRouteLoaderData",e.UseMatches="useMatches",e.UseRevalidator="useRevalidator",e.UseNavigateStable="useNavigate",e.UseRouteId="useRouteId",e}(ae||{});function se(e){let t=function(){let e=r.useContext(q);return e||u(!1),e}(),n=t.matches[t.matches.length-1];return n.route.id||u(!1),n.route.id}const le={};function ce(e){u(!1)}function ue(e){let{basename:t="/",children:n=null,location:o,navigationType:a=i.Pop,navigator:s,static:l=!1,future:c}=e;Q()&&u(!1);let d=t.replace(/^\/*/,"/"),h=r.useMemo(()=>({basename:d,navigator:s,static:l,future:V({v7_relativeSplatPath:!1},c)}),[d,c,s,l]);"string"==typeof o&&(o=m(o));let{pathname:f="/",search:p="",hash:g="",state:b=null,key:v="default"}=o,y=r.useMemo(()=>{let e=P(f,d);return null==e?null:{location:{pathname:e,search:p,hash:g,state:b,key:v},navigationType:a}},[d,f,p,g,b,v,a]);return null==y?null:r.createElement(W.Provider,{value:h},r.createElement(Z.Provider,{children:n,value:y}))}function de(e){let{children:t,location:n}=e;return ee(he(t),n)}function he(e,t){void 0===t&&(t=[]);let n=[];return r.Children.forEach(e,(e,i)=>{if(!r.isValidElement(e))return;let o=[...t,i];if(e.type===r.Fragment)return void n.push.apply(n,he(e.props.children,o));e.type!==ce&&u(!1),e.props.index&&e.props.children&&u(!1);let a={id:e.props.id||o.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,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,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=he(e.props.children,o)),n.push(a)}),n}r.startTransition,new Promise(()=>{}),r.Component,new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);try{window.__reactRouterVersion="6"}catch(Qr){}new Map;const fe=r.startTransition;function pe(e){let{basename:t,children:n,future:o,window:a}=e,s=r.useRef();var g;null==s.current&&(s.current=(void 0===(g={window:a,v5Compat:!0})&&(g={}),function(e,t,n,r){void 0===r&&(r={});let{window:o=document.defaultView,v5Compat:a=!1}=r,s=o.history,d=i.Pop,m=null,g=b();function b(){return(s.state||{idx:null}).idx}function v(){d=i.Pop;let e=b(),t=null==e?null:e-g;g=e,m&&m({action:d,location:_.location,delta:t})}function y(e){let t="null"!==o.location.origin?o.location.origin:o.location.href,n="string"==typeof e?e:p(e);return n=n.replace(/ $/,"%20"),u(t,"No window.location.(origin|href) available to create URL for href: "+n),new URL(n,t)}null==g&&(g=0,s.replaceState(l({},s.state,{idx:g}),""));let _={get action(){return d},get location(){return e(o,s)},listen(e){if(m)throw new Error("A history only accepts one active listener");return o.addEventListener(c,v),m=e,()=>{o.removeEventListener(c,v),m=null}},createHref(e){return 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){d=i.Push;let r=f(_.location,e,t);n&&n(r,e),g=b()+1;let l=h(r,g),c=_.createHref(r);try{s.pushState(l,"",c)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;o.location.assign(c)}a&&m&&m({action:d,location:_.location,delta:1})},replace:function(e,t){d=i.Replace;let r=f(_.location,e,t);n&&n(r,e),g=b();let o=h(r,g),l=_.createHref(r);s.replaceState(o,"",l),a&&m&&m({action:d,location:_.location,delta:0})},go(e){return s.go(e)}};return _}(function(e,t){let{pathname:n="/",search:i="",hash:r=""}=m(e.location.hash.substr(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),f("",{pathname:n,search:i,hash:r},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),i="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");i=-1===n?t:t.slice(0,n)}return i+"#"+("string"==typeof t?t:p(t))},function(e,t){d("/"===e.pathname.charAt(0),"relative pathnames are not supported in hash history.push("+JSON.stringify(t)+")")},g)));let b=s.current,[v,y]=r.useState({action:b.action,location:b.location}),{v7_startTransition:_}=o||{},C=r.useCallback(e=>{_&&fe?fe(()=>y(e)):y(e)},[y,_]);return r.useLayoutEffect(()=>b.listen(C),[b,C]),r.useEffect(()=>{return null==(e=o)||e.v7_startTransition,void 0===(null==e?void 0:e.v7_relativeSplatPath)&&(!t||t.v7_relativeSplatPath),void(t&&(t.v7_fetcherPersist,t.v7_normalizeFormMethod,t.v7_partialHydration,t.v7_skipActionErrorRevalidation));var e,t},[o]),r.createElement(ue,{basename:t,children:n,location:v.location,navigationType:v.action,navigator:b,future:o})}var me,ge;s.flushSync,r.useId,"undefined"!=typeof window&&void 0!==window.document&&window.document.createElement,function(e){e.UseScrollRestoration="useScrollRestoration",e.UseSubmit="useSubmit",e.UseSubmitFetcher="useSubmitFetcher",e.UseFetcher="useFetcher",e.useViewTransitionState="useViewTransitionState"}(me||(me={})),function(e){e.UseFetcher="useFetcher",e.UseFetchers="useFetchers",e.UseScrollRestoration="useScrollRestoration"}(ge||(ge={}));var be=n(7017);function ve(e,t){return function(){return e.apply(t,arguments)}}const{toString:ye}=Object.prototype,{getPrototypeOf:_e}=Object,{iterator:Ce,toStringTag:we}=Symbol,xe=(Ee=Object.create(null),e=>{const t=ye.call(e);return Ee[t]||(Ee[t]=t.slice(8,-1).toLowerCase())});var Ee;const Se=e=>(e=e.toLowerCase(),t=>xe(t)===e),ke=e=>t=>typeof t===e,{isArray:Oe}=Array,Me=ke("undefined");function Ae(e){return null!==e&&!Me(e)&&null!==e.constructor&&!Me(e.constructor)&&Ie(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const Pe=Se("ArrayBuffer"),je=ke("string"),Ie=ke("function"),Te=ke("number"),De=e=>null!==e&&"object"==typeof e,Le=e=>{if("object"!==xe(e))return!1;const t=_e(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||we in e||Ce in e)},Ne=Se("Date"),Re=Se("File"),Fe=Se("Blob"),ze=Se("FileList"),He="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:void 0!==n.g?n.g:{},Ue=void 0!==He.FormData?He.FormData:void 0,Ve=Se("URLSearchParams"),[$e,Be,We,Ze]=["ReadableStream","Request","Response","Headers"].map(Se);function qe(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let i,r;if("object"!=typeof e&&(e=[e]),Oe(e))for(i=0,r=e.length;i<r;i++)t.call(null,e[i],i,e);else{if(Ae(e))return;const r=n?Object.getOwnPropertyNames(e):Object.keys(e),o=r.length;let a;for(i=0;i<o;i++)a=r[i],t.call(null,e[a],a,e)}}function Ge(e,t){if(Ae(e))return null;t=t.toLowerCase();const n=Object.keys(e);let i,r=n.length;for(;r-- >0;)if(i=n[r],t===i.toLowerCase())return i;return null}const Qe="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:n.g,Ye=e=>!Me(e)&&e!==Qe,Ke=(Xe="undefined"!=typeof Uint8Array&&_e(Uint8Array),e=>Xe&&e instanceof Xe);var Xe;const Je=Se("HTMLFormElement"),et=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),{propertyIsEnumerable:tt}=Object.prototype,nt=Se("RegExp"),it=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),i={};qe(n,(n,r)=>{let o;!1!==(o=t(n,r,e))&&(i[r]=o||n)}),Object.defineProperties(e,i)},rt=Se("AsyncFunction"),ot=(at="function"==typeof setImmediate,st=Ie(Qe.postMessage),at?setImmediate:st?((e,t)=>(Qe.addEventListener("message",({source:n,data:i})=>{n===Qe&&i===e&&t.length&&t.shift()()},!1),n=>{t.push(n),Qe.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var at,st;const lt="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Qe):"undefined"!=typeof process&&process.nextTick||ot;var ct={isArray:Oe,isArrayBuffer:Pe,isBuffer:Ae,isFormData:e=>{if(!e)return!1;if(Ue&&e instanceof Ue)return!0;const t=_e(e);if(!t||t===Object.prototype)return!1;if(!Ie(e.append))return!1;const n=xe(e);return"formdata"===n||"object"===n&&Ie(e.toString)&&"[object FormData]"===e.toString()},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&Pe(e.buffer),t},isString:je,isNumber:Te,isBoolean:e=>!0===e||!1===e,isObject:De,isPlainObject:Le,isEmptyObject:e=>{if(!De(e)||Ae(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:$e,isRequest:Be,isResponse:We,isHeaders:Ze,isUndefined:Me,isDate:Ne,isFile:Re,isReactNativeBlob:e=>!(!e||void 0===e.uri),isReactNative:e=>e&&void 0!==e.getParts,isBlob:Fe,isRegExp:nt,isFunction:Ie,isStream:e=>De(e)&&Ie(e.pipe),isURLSearchParams:Ve,isTypedArray:Ke,isFileList:ze,forEach:qe,merge:function e(...t){const{caseless:n,skipUndefined:i}=Ye(this)&&this||{},r={},o=(t,o)=>{if("__proto__"===o||"constructor"===o||"prototype"===o)return;const a=n&&"string"==typeof o&&Ge(r,o)||o,s=et(r,a)?r[a]:void 0;Le(s)&&Le(t)?r[a]=e(s,t):Le(t)?r[a]=e({},t):Oe(t)?r[a]=t.slice():i&&Me(t)||(r[a]=t)};for(let e=0,n=t.length;e<n;e++){const n=t[e];if(!n||Ae(n))continue;if(qe(n,o),"object"!=typeof n||Oe(n))continue;const i=Object.getOwnPropertySymbols(n);for(let e=0;e<i.length;e++){const t=i[e];tt.call(n,t)&&o(n[t],t)}}return r},extend:(e,t,n,{allOwnKeys:i}={})=>(qe(t,(t,i)=>{n&&Ie(t)?Object.defineProperty(e,i,{__proto__:null,value:ve(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,i,{__proto__:null,value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:i}),e),trim:e=>e.trim?e.trim():e.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,""),stripBOM:e=>(65279===e.charCodeAt(0)&&(e=e.slice(1)),e),inherits:(e,t,n,i)=>{e.prototype=Object.create(t.prototype,i),Object.defineProperty(e.prototype,"constructor",{__proto__:null,value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{__proto__:null,value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,i)=>{let r,o,a;const s={};if(t=t||{},null==e)return t;do{for(r=Object.getOwnPropertyNames(e),o=r.length;o-- >0;)a=r[o],i&&!i(a,e,t)||s[a]||(t[a]=e[a],s[a]=!0);e=!1!==n&&_e(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:xe,kindOfTest:Se,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const i=e.indexOf(t,n);return-1!==i&&i===n},toArray:e=>{if(!e)return null;if(Oe(e))return e;let t=e.length;if(!Te(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[Ce]).call(e);let i;for(;(i=n.next())&&!i.done;){const n=i.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const i=[];for(;null!==(n=e.exec(t));)i.push(n);return i},isHTMLForm:Je,hasOwnProperty:et,hasOwnProp:et,reduceDescriptors:it,freezeMethods:e=>{it(e,(t,n)=>{if(Ie(e)&&["arguments","caller","callee"].includes(n))return!1;const i=e[n];Ie(i)&&(t.enumerable=!1,"writable"in t?t.writable=!1:t.set||(t.set=()=>{throw Error("Can not rewrite read-only method '"+n+"'")}))})},toObjectSet:(e,t)=>{const n={},i=e=>{e.forEach(e=>{n[e]=!0})};return Oe(e)?i(e):i(String(e).split(t)),n},toCamelCase:e=>e.toLowerCase().replace(/[-_\s]([a-z\d])(\w*)/g,function(e,t,n){return t.toUpperCase()+n}),noop:()=>{},toFiniteNumber:(e,t)=>null!=e&&Number.isFinite(e=+e)?e:t,findKey:Ge,global:Qe,isContextDefined:Ye,isSpecCompliantForm:function(e){return!!(e&&Ie(e.append)&&"FormData"===e[we]&&e[Ce])},toJSONObject:e=>{const t=new WeakSet,n=e=>{if(De(e)){if(t.has(e))return;if(Ae(e))return e;if(!("toJSON"in e)){t.add(e);const i=Oe(e)?[]:{};return qe(e,(e,t)=>{const r=n(e);!Me(r)&&(i[t]=r)}),t.delete(e),i}}return e};return n(e)},isAsyncFn:rt,isThenable:e=>e&&(De(e)||Ie(e))&&Ie(e.then)&&Ie(e.catch),setImmediate:ot,asap:lt,isIterable:e=>null!=e&&Ie(e[Ce])};const ut=ct.toObjectSet(["age","authorization","content-length","content-type","etag","expires","from","host","if-modified-since","if-unmodified-since","last-modified","location","max-forwards","proxy-authorization","referer","retry-after","user-agent"]);var dt=e=>{const t={};let n,i,r;return e&&e.split("\n").forEach(function(e){r=e.indexOf(":"),n=e.substring(0,r).trim().toLowerCase(),i=e.substring(r+1).trim(),!n||t[n]&&ut[n]||("set-cookie"===n?t[n]?t[n].push(i):t[n]=[i]:t[n]=t[n]?t[n]+", "+i:i)}),t};n.dn(dt);const ht=new RegExp("[\\u0000-\\u0008\\u000a-\\u001f\\u007f]+","g"),ft=new RegExp("[^\\u0009\\u0020-\\u007e\\u0080-\\u00ff]+","g");function pt(e,t){return ct.isArray(e)?e.map(e=>pt(e,t)):function(e){let t=0,n=e.length;for(;t<n;){const n=e.charCodeAt(t);if(9!==n&&32!==n)break;t+=1}for(;n>t;){const t=e.charCodeAt(n-1);if(9!==t&&32!==t)break;n-=1}return 0===t&&n===e.length?e:e.slice(t,n)}(String(e).replace(t,""))}function mt(e){const t=Object.create(null);return ct.forEach(e.toJSON(),(e,n)=>{t[n]=(e=>pt(e,ft))(e)}),t}const gt=Symbol("internals");function bt(e){return e&&String(e).trim().toLowerCase()}function vt(e){return!1===e||null==e?e:ct.isArray(e)?e.map(vt):(e=>pt(e,ht))(String(e))}function yt(e,t,n,i,r){return ct.isFunction(i)?i.call(this,t,n):(r&&(t=n),ct.isString(t)?ct.isString(i)?-1!==t.indexOf(i):ct.isRegExp(i)?i.test(t):void 0:void 0)}class _t{constructor(e){e&&this.set(e)}set(e,t,n){const i=this;function r(e,t,n){const r=bt(t);if(!r)return;const o=ct.findKey(i,r);(!o||void 0===i[o]||!0===n||void 0===n&&!1!==i[o])&&(i[o||t]=vt(e))}const o=(e,t)=>ct.forEach(e,(e,n)=>r(e,n,t));if(ct.isPlainObject(e)||e instanceof this.constructor)o(e,t);else if(ct.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))o(dt(e),t);else if(ct.isObject(e)&&ct.isIterable(e)){let n,i,r={};for(const t of e){if(!ct.isArray(t))throw new TypeError("Object iterator must return a key-value pair");r[i=t[0]]=(n=r[i])?ct.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}o(r,t)}else null!=e&&r(t,e,n);return this}get(e,t){if(e=bt(e)){const n=ct.findKey(this,e);if(n){const e=this[n];if(!t)return e;if(!0===t)return function(e){const t=Object.create(null),n=/([^\s,;=]+)\s*(?:=\s*([^,;]+))?/g;let i;for(;i=n.exec(e);)t[i[1]]=i[2];return t}(e);if(ct.isFunction(t))return t.call(this,e,n);if(ct.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=bt(e)){const n=ct.findKey(this,e);return!(!n||void 0===this[n]||t&&!yt(0,this[n],n,t))}return!1}delete(e,t){const n=this;let i=!1;function r(e){if(e=bt(e)){const r=ct.findKey(n,e);!r||t&&!yt(0,n[r],r,t)||(delete n[r],i=!0)}}return ct.isArray(e)?e.forEach(r):r(e),i}clear(e){const t=Object.keys(this);let n=t.length,i=!1;for(;n--;){const r=t[n];e&&!yt(0,this[r],r,e,!0)||(delete this[r],i=!0)}return i}normalize(e){const t=this,n={};return ct.forEach(this,(i,r)=>{const o=ct.findKey(n,r);if(o)return t[o]=vt(i),void delete t[r];const a=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(r):String(r).trim();a!==r&&delete t[r],t[a]=vt(i),n[a]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return ct.forEach(this,(n,i)=>{null!=n&&!1!==n&&(t[i]=e&&ct.isArray(n)?n.join(", "):n)}),t}[Symbol.iterator](){return Object.entries(this.toJSON())[Symbol.iterator]()}toString(){return Object.entries(this.toJSON()).map(([e,t])=>e+": "+t).join("\n")}getSetCookie(){return this.get("set-cookie")||[]}get[Symbol.toStringTag](){return"AxiosHeaders"}static from(e){return e instanceof this?e:new this(e)}static concat(e,...t){const n=new this(e);return t.forEach(e=>n.set(e)),n}static accessor(e){const t=(this[gt]=this[gt]={accessors:{}}).accessors,n=this.prototype;function i(e){const i=bt(e);t[i]||(function(e,t){const n=ct.toCamelCase(" "+t);["get","set","has"].forEach(i=>{Object.defineProperty(e,i+n,{__proto__:null,value:function(e,n,r){return this[i].call(this,t,e,n,r)},configurable:!0})})}(n,e),t[i]=!0)}return ct.isArray(e)?e.forEach(i):i(e),this}}_t.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),ct.reduceDescriptors(_t.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),ct.freezeMethods(_t);var Ct=_t;class wt extends Error{static from(e,t,n,i,r,o){const a=new wt(e.message,t||e.code,n,i,r);return a.cause=e,a.name=e.name,null!=e.status&&null==a.status&&(a.status=e.status),o&&Object.assign(a,o),a}constructor(e,t,n,i,r){super(e),Object.defineProperty(this,"message",{__proto__:null,value:e,enumerable:!0,writable:!0,configurable:!0}),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),i&&(this.request=i),r&&(this.response=r,this.status=r.status)}toJSON(){const e=this.config,t=e&&ct.hasOwnProp(e,"redact")?e.redact:void 0,n=ct.isArray(t)&&t.length>0?function(e,t){const n=new Set(t.map(e=>String(e).toLowerCase())),i=[],r=e=>{if(null===e||"object"!=typeof e)return e;if(ct.isBuffer(e))return e;if(-1!==i.indexOf(e))return;let t;if(e instanceof Ct&&(e=e.toJSON()),i.push(e),ct.isArray(e))t=[],e.forEach((e,n)=>{const i=r(e);ct.isUndefined(i)||(t[n]=i)});else{if(!ct.isPlainObject(e)&&function(e){if(ct.hasOwnProp(e,"toJSON"))return!0;let t=Object.getPrototypeOf(e);for(;t&&t!==Object.prototype;){if(ct.hasOwnProp(t,"toJSON"))return!0;t=Object.getPrototypeOf(t)}return!1}(e))return i.pop(),e;t=Object.create(null);for(const[i,o]of Object.entries(e)){const e=n.has(i.toLowerCase())?"[REDACTED ****]":r(o);ct.isUndefined(e)||(t[i]=e)}}return i.pop(),t};return r(e)}(e,t):ct.toJSONObject(e);return{message:this.message,name:this.name,description:this.description,number:this.number,fileName:this.fileName,lineNumber:this.lineNumber,columnNumber:this.columnNumber,stack:this.stack,config:n,code:this.code,status:this.status}}}wt.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",wt.ERR_BAD_OPTION="ERR_BAD_OPTION",wt.ECONNABORTED="ECONNABORTED",wt.ETIMEDOUT="ETIMEDOUT",wt.ECONNREFUSED="ECONNREFUSED",wt.ERR_NETWORK="ERR_NETWORK",wt.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",wt.ERR_DEPRECATED="ERR_DEPRECATED",wt.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",wt.ERR_BAD_REQUEST="ERR_BAD_REQUEST",wt.ERR_CANCELED="ERR_CANCELED",wt.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",wt.ERR_INVALID_URL="ERR_INVALID_URL",wt.ERR_FORM_DATA_DEPTH_EXCEEDED="ERR_FORM_DATA_DEPTH_EXCEEDED";var xt=wt;function Et(e){return ct.isPlainObject(e)||ct.isArray(e)}function St(e){return ct.endsWith(e,"[]")?e.slice(0,-2):e}function kt(e,t,n){return e?e.concat(t).map(function(e,t){return e=St(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const Ot=ct.toFlatObject(ct,{},null,function(e){return/^is[A-Z]/.test(e)});var Mt=function(e,t,n){if(!ct.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const i=(n=ct.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!ct.isUndefined(t[e])})).metaTokens,r=n.visitor||d,o=n.dots,a=n.indexes,s=n.Blob||"undefined"!=typeof Blob&&Blob,l=void 0===n.maxDepth?100:n.maxDepth,c=s&&ct.isSpecCompliantForm(t);if(!ct.isFunction(r))throw new TypeError("visitor must be a function");function u(e){if(null===e)return"";if(ct.isDate(e))return e.toISOString();if(ct.isBoolean(e))return e.toString();if(!c&&ct.isBlob(e))throw new xt("Blob is not supported. Use a Buffer instead.");return ct.isArrayBuffer(e)||ct.isTypedArray(e)?c&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function d(e,n,r){let s=e;if(ct.isReactNative(t)&&ct.isReactNativeBlob(e))return t.append(kt(r,n,o),u(e)),!1;if(e&&!r&&"object"==typeof e)if(ct.endsWith(n,"{}"))n=i?n:n.slice(0,-2),e=JSON.stringify(e);else if(ct.isArray(e)&&function(e){return ct.isArray(e)&&!e.some(Et)}(e)||(ct.isFileList(e)||ct.endsWith(n,"[]"))&&(s=ct.toArray(e)))return n=St(n),s.forEach(function(e,i){!ct.isUndefined(e)&&null!==e&&t.append(!0===a?kt([n],i,o):null===a?n:n+"[]",u(e))}),!1;return!!Et(e)||(t.append(kt(r,n,o),u(e)),!1)}const h=[],f=Object.assign(Ot,{defaultVisitor:d,convertValue:u,isVisitable:Et});if(!ct.isObject(e))throw new TypeError("data must be an object");return function e(n,i,o=0){if(!ct.isUndefined(n)){if(o>l)throw new xt("Object is too deeply nested ("+o+" levels). Max depth: "+l,xt.ERR_FORM_DATA_DEPTH_EXCEEDED);if(-1!==h.indexOf(n))throw new Error("Circular reference detected in "+i.join("."));h.push(n),ct.forEach(n,function(n,a){!0===(!(ct.isUndefined(n)||null===n)&&r.call(t,n,ct.isString(a)?a.trim():a,i,f))&&e(n,i?i.concat(a):[a],o+1)}),h.pop()}}(e),t};function At(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"};return encodeURIComponent(e).replace(/[!'()~]|%20/g,function(e){return t[e]})}function Pt(e,t){this._pairs=[],e&&Mt(e,this,t)}const jt=Pt.prototype;jt.append=function(e,t){this._pairs.push([e,t])},jt.toString=function(e){const t=e?function(t){return e.call(this,t,At)}:At;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var It=Pt;function Tt(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function Dt(e,t,n){if(!t)return e;const i=n&&n.encode||Tt,r=ct.isFunction(n)?{serialize:n}:n,o=r&&r.serialize;let a;if(a=o?o(t,r):ct.isURLSearchParams(t)?t.toString():new It(t,r).toString(i),a){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+a}return e}var Lt=class{constructor(){this.handlers=[]}use(e,t,n){return this.handlers.push({fulfilled:e,rejected:t,synchronous:!!n&&n.synchronous,runWhen:n?n.runWhen:null}),this.handlers.length-1}eject(e){this.handlers[e]&&(this.handlers[e]=null)}clear(){this.handlers&&(this.handlers=[])}forEach(e){ct.forEach(this.handlers,function(t){null!==t&&e(t)})}},Nt={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1,legacyInterceptorReqResOrdering:!0,advertiseZstdAcceptEncoding:!1},Rt={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:It,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const Ft="undefined"!=typeof window&&"undefined"!=typeof document,zt="object"==typeof navigator&&navigator||void 0,Ht=Ft&&(!zt||["ReactNative","NativeScript","NS"].indexOf(zt.product)<0),Ut="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,Vt=Ft&&window.location.href||"http://localhost";var $t={...e,...Rt},Bt=function(e){function t(e,n,i,r){let o=e[r++];if("__proto__"===o)return!0;const a=Number.isFinite(+o),s=r>=e.length;return o=!o&&ct.isArray(i)?i.length:o,s?(ct.hasOwnProp(i,o)?i[o]=ct.isArray(i[o])?i[o].concat(n):[i[o],n]:i[o]=n,!a):(ct.hasOwnProp(i,o)&&ct.isObject(i[o])||(i[o]=[]),t(e,n,i[o],r)&&ct.isArray(i[o])&&(i[o]=function(e){const t={},n=Object.keys(e);let i;const r=n.length;let o;for(i=0;i<r;i++)o=n[i],t[o]=e[o];return t}(i[o])),!a)}if(ct.isFormData(e)&&ct.isFunction(e.entries)){const n={};return ct.forEachEntry(e,(e,i)=>{t(function(e){return ct.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),i,n,0)}),n}return null};const Wt=(e,t)=>null!=e&&ct.hasOwnProp(e,t)?e[t]:void 0,Zt={transitional:Nt,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",i=n.indexOf("application/json")>-1,r=ct.isObject(e);if(r&&ct.isHTMLForm(e)&&(e=new FormData(e)),ct.isFormData(e))return i?JSON.stringify(Bt(e)):e;if(ct.isArrayBuffer(e)||ct.isBuffer(e)||ct.isStream(e)||ct.isFile(e)||ct.isBlob(e)||ct.isReadableStream(e))return e;if(ct.isArrayBufferView(e))return e.buffer;if(ct.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let o;if(r){const t=Wt(this,"formSerializer");if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Mt(e,new $t.classes.URLSearchParams,{visitor:function(e,t,n,i){return $t.isNode&&ct.isBuffer(e)?(this.append(t,e.toString("base64")),!1):i.defaultVisitor.apply(this,arguments)},...t})}(e,t).toString();if((o=ct.isFileList(e))||n.indexOf("multipart/form-data")>-1){const n=Wt(this,"env"),i=n&&n.FormData;return Mt(o?{"files[]":e}:e,i&&new i,t)}}return r||i?(t.setContentType("application/json",!1),function(e){if(ct.isString(e))try{return(0,JSON.parse)(e),ct.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=Wt(this,"transitional")||Zt.transitional,n=t&&t.forcedJSONParsing,i=Wt(this,"responseType"),r="json"===i;if(ct.isResponse(e)||ct.isReadableStream(e))return e;if(e&&ct.isString(e)&&(n&&!i||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,Wt(this,"parseReviver"))}catch(e){if(n){if("SyntaxError"===e.name)throw xt.from(e,xt.ERR_BAD_RESPONSE,this,null,Wt(this,"response"));throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:$t.classes.FormData,Blob:$t.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};ct.forEach(["delete","get","head","post","put","patch","query"],e=>{Zt.headers[e]={}});var qt=Zt;function Gt(e,t){const n=this||qt,i=t||n,r=Ct.from(i.headers);let o=i.data;return ct.forEach(e,function(e){o=e.call(n,o,r.normalize(),t?t.status:void 0)}),r.normalize(),o}function Qt(e){return!(!e||!e.__CANCEL__)}var Yt=class extends xt{constructor(e,t,n){super(null==e?"canceled":e,xt.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Kt(e,t,n){const i=n.config.validateStatus;n.status&&i&&!i(n.status)?t(new xt("Request failed with status code "+n.status,n.status>=400&&n.status<500?xt.ERR_BAD_REQUEST:xt.ERR_BAD_RESPONSE,n.config,n.request,n)):e(n)}const Xt=(e,t,n=3)=>{let i=0;const r=function(e,t){e=e||10;const n=new Array(e),i=new Array(e);let r,o=0,a=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=i[a];r||(r=l),n[o]=s,i[o]=l;let u=a,d=0;for(;u!==o;)d+=n[u++],u%=e;if(o=(o+1)%e,o===a&&(a=(a+1)%e),l-r<t)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let n,i,r=0,o=1e3/t;const a=(t,o=Date.now())=>{r=o,n=null,i&&(clearTimeout(i),i=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-r;s>=o?a(e,t):(n=e,i||(i=setTimeout(()=>{i=null,a(n)},o-s)))},()=>n&&a(n)]}(n=>{if(!n||"number"!=typeof n.loaded)return;const o=n.loaded,a=n.lengthComputable?n.total:void 0,s=null!=a?Math.min(o,a):o,l=Math.max(0,s-i),c=r(l);i=Math.max(i,s),e({loaded:s,total:a,progress:a?s/a:void 0,bytes:l,rate:c||void 0,estimated:c&&a?(a-s)/c:void 0,event:n,lengthComputable:null!=a,[t?"download":"upload"]:!0})},n)},Jt=(e,t)=>{const n=null!=e;return[i=>t[0]({lengthComputable:n,total:e,loaded:i}),t[1]]},en=e=>(...t)=>ct.asap(()=>e(...t));var tn=$t.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,$t.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL($t.origin),$t.navigator&&/(msie|trident)/i.test($t.navigator.userAgent)):()=>!0,nn=$t.hasStandardBrowserEnv?{write(e,t,n,i,r,o,a){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];ct.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),ct.isString(i)&&s.push(`path=${i}`),ct.isString(r)&&s.push(`domain=${r}`),!0===o&&s.push("secure"),ct.isString(a)&&s.push(`SameSite=${a}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.split(";");for(let n=0;n<t.length;n++){const i=t[n].replace(/^\s+/,""),r=i.indexOf("=");if(-1!==r&&i.slice(0,r)===e)return decodeURIComponent(i.slice(r+1))}return null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function rn(e,t,n){let i=!("string"==typeof(r=t)&&/^([a-z][a-z\d+\-.]*:)?\/\//i.test(r));var r;return e&&(i||!1===n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const on=e=>e instanceof Ct?{...e}:e;function an(e,t){t=t||{};const n=Object.create(null);function i(e,t,n,i){return ct.isPlainObject(e)&&ct.isPlainObject(t)?ct.merge.call({caseless:i},e,t):ct.isPlainObject(t)?ct.merge({},t):ct.isArray(t)?t.slice():t}function r(e,t,n,r){return ct.isUndefined(t)?ct.isUndefined(e)?void 0:i(void 0,e,0,r):i(e,t,0,r)}function o(e,t){if(!ct.isUndefined(t))return i(void 0,t)}function a(e,t){return ct.isUndefined(t)?ct.isUndefined(e)?void 0:i(void 0,e):i(void 0,t)}function s(n,r,o){return ct.hasOwnProp(t,o)?i(n,r):ct.hasOwnProp(e,o)?i(void 0,n):void 0}Object.defineProperty(n,"hasOwnProperty",{__proto__:null,value:Object.prototype.hasOwnProperty,enumerable:!1,writable:!0,configurable:!0});const l={url:o,method:o,data:o,baseURL:a,transformRequest:a,transformResponse:a,paramsSerializer:a,timeout:a,timeoutMessage:a,withCredentials:a,withXSRFToken:a,adapter:a,responseType:a,xsrfCookieName:a,xsrfHeaderName:a,onUploadProgress:a,onDownloadProgress:a,decompress:a,maxContentLength:a,maxBodyLength:a,beforeRedirect:a,transport:a,httpAgent:a,httpsAgent:a,cancelToken:a,socketPath:a,allowedSocketPaths:a,responseEncoding:a,validateStatus:s,headers:(e,t,n)=>r(on(e),on(t),0,!0)};return ct.forEach(Object.keys({...e,...t}),function(i){if("__proto__"===i||"constructor"===i||"prototype"===i)return;const o=ct.hasOwnProp(l,i)?l[i]:r,a=o(ct.hasOwnProp(e,i)?e[i]:void 0,ct.hasOwnProp(t,i)?t[i]:void 0,i);ct.isUndefined(a)&&o!==s||(n[i]=a)}),n}const sn=["content-type","content-length"];var ln=function(e){const t=an({},e),n=e=>ct.hasOwnProp(t,e)?t[e]:void 0,i=n("data");let r=n("withXSRFToken");const o=n("xsrfHeaderName"),a=n("xsrfCookieName");let s=n("headers");const l=n("auth"),c=n("baseURL"),u=n("allowAbsoluteUrls"),d=n("url");var h;if(t.headers=s=Ct.from(s),t.url=Dt(rn(c,d,u),n("params"),n("paramsSerializer")),l&&s.set("Authorization","Basic "+btoa((l.username||"")+":"+(l.password?(h=l.password,encodeURIComponent(h).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16)))):""))),ct.isFormData(i)&&($t.hasStandardBrowserEnv||$t.hasStandardBrowserWebWorkerEnv||ct.isReactNative(i)?s.setContentType(void 0):ct.isFunction(i.getHeaders)&&function(e,t,n){"content-only"===n?Object.entries(t).forEach(([t,n])=>{sn.includes(t.toLowerCase())&&e.set(t,n)}):e.set(t)}(s,i.getHeaders(),n("formDataHeaderPolicy"))),$t.hasStandardBrowserEnv&&(ct.isFunction(r)&&(r=r(t)),!0===r||null==r&&tn(t.url))){const e=o&&a&&nn.read(a);e&&s.set(o,e)}return t},cn="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const i=ln(e);let r=i.data;const o=Ct.from(i.headers).normalize();let a,s,l,c,u,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=i;function p(){c&&c(),u&&u(),i.cancelToken&&i.cancelToken.unsubscribe(a),i.signal&&i.signal.removeEventListener("abort",a)}let m=new XMLHttpRequest;function g(){if(!m)return;const i=Ct.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Kt(function(e){t(e),p()},function(e){n(e),p()},{data:d&&"text"!==d&&"json"!==d?m.response:m.responseText,status:m.status,statusText:m.statusText,headers:i,config:e,request:m}),m=null}m.open(i.method.toUpperCase(),i.url,!0),m.timeout=i.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&m.responseURL.startsWith("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new xt("Request aborted",xt.ECONNABORTED,e,m)),p(),m=null)},m.onerror=function(t){const i=t&&t.message?t.message:"Network Error",r=new xt(i,xt.ERR_NETWORK,e,m);r.event=t||null,n(r),p(),m=null},m.ontimeout=function(){let t=i.timeout?"timeout of "+i.timeout+"ms exceeded":"timeout exceeded";const r=i.transitional||Nt;i.timeoutErrorMessage&&(t=i.timeoutErrorMessage),n(new xt(t,r.clarifyTimeoutError?xt.ETIMEDOUT:xt.ECONNABORTED,e,m)),p(),m=null},void 0===r&&o.setContentType(null),"setRequestHeader"in m&&ct.forEach(mt(o),function(e,t){m.setRequestHeader(t,e)}),ct.isUndefined(i.withCredentials)||(m.withCredentials=!!i.withCredentials),d&&"json"!==d&&(m.responseType=i.responseType),f&&([l,u]=Xt(f,!0),m.addEventListener("progress",l)),h&&m.upload&&([s,c]=Xt(h),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(i.cancelToken||i.signal)&&(a=t=>{m&&(n(!t||t.type?new Yt(null,e,m):t),m.abort(),p(),m=null)},i.cancelToken&&i.cancelToken.subscribe(a),i.signal&&(i.signal.aborted?a():i.signal.addEventListener("abort",a)));const b=function(e){const t=/^([-+\w]{1,25}):(?:\/\/)?/.exec(e);return t&&t[1]||""}(i.url);!b||$t.protocols.includes(b)?m.send(r||null):n(new xt("Unsupported protocol "+b+":",xt.ERR_BAD_REQUEST,e))})},un=(e,t)=>{if(e=e?e.filter(Boolean):[],!t&&!e.length)return;const n=new AbortController;let i=!1;const r=function(e){if(!i){i=!0,a();const t=e instanceof Error?e:this.reason;n.abort(t instanceof xt?t:new Yt(t instanceof Error?t.message:t))}};let o=t&&setTimeout(()=>{o=null,r(new xt(`timeout of ${t}ms exceeded`,xt.ETIMEDOUT))},t);const a=()=>{e&&(o&&clearTimeout(o),o=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(r):e.removeEventListener("abort",r)}),e=null)};e.forEach(e=>e.addEventListener("abort",r));const{signal:s}=n;return s.unsubscribe=()=>ct.asap(a),s};const dn=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let i,r=0;for(;r<n;)i=r+t,yield e.slice(r,i),r=i},hn=(e,t,n,i)=>{const r=async function*(e,t){for await(const n of async function*(e){if(e[Symbol.asyncIterator])return void(yield*e);const t=e.getReader();try{for(;;){const{done:e,value:n}=await t.read();if(e)break;yield n}}finally{await t.cancel()}}(e))yield*dn(n,t)}(e,t);let o,a=0,s=e=>{o||(o=!0,i&&i(e))};return new ReadableStream({async pull(e){try{const{done:t,value:i}=await r.next();if(t)return s(),void e.close();let o=i.byteLength;if(n){let e=a+=o;n(e)}e.enqueue(new Uint8Array(i))}catch(e){throw s(e),e}},cancel(e){return s(e),r.return()}},{highWaterMark:2})},fn="1.17.0",{isFunction:pn}=ct,mn=e=>{if(!ct.isString(e))return e;try{return decodeURIComponent(e)}catch(t){return e}},gn=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},bn=e=>{const t=void 0!==ct.global&&null!==ct.global?ct.global:globalThis,{ReadableStream:n,TextEncoder:i}=t;e=ct.merge.call({skipUndefined:!0},{Request:t.Request,Response:t.Response},e);const{fetch:r,Request:o,Response:a}=e,s=r?pn(r):"function"==typeof fetch,l=pn(o),c=pn(a);if(!s)return!1;const u=s&&pn(n),d=s&&("function"==typeof i?(h=new i,e=>h.encode(e)):async e=>new Uint8Array(await new o(e).arrayBuffer()));var h;const f=l&&u&&gn(()=>{let e=!1;const t=new o($t.origin,{body:new n,method:"POST",get duplex(){return e=!0,"half"}}),i=t.headers.has("Content-Type");return null!=t.body&&t.body.cancel(),e&&!i}),p=c&&u&&gn(()=>ct.isReadableStream(new a("").body)),m={stream:p&&(e=>e.body)};s&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!m[e]&&(m[e]=(t,n)=>{let i=t&&t[e];if(i)return i.call(t);throw new xt(`Response type '${e}' is not supported`,xt.ERR_NOT_SUPPORT,n)})});const g=async(e,t)=>{const n=ct.toFiniteNumber(e.getContentLength());return null==n?(async e=>{if(null==e)return 0;if(ct.isBlob(e))return e.size;if(ct.isSpecCompliantForm(e)){const t=new o($t.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return ct.isArrayBufferView(e)||ct.isArrayBuffer(e)?e.byteLength:(ct.isURLSearchParams(e)&&(e+=""),ct.isString(e)?(await d(e)).byteLength:void 0)})(t):n};return async e=>{let{url:t,method:n,data:s,signal:c,cancelToken:u,timeout:d,onDownloadProgress:h,onUploadProgress:b,responseType:v,headers:y,withCredentials:_="same-origin",fetchOptions:C,maxContentLength:w,maxBodyLength:x}=ln(e);const E=ct.isNumber(w)&&w>-1,S=ct.isNumber(x)&&x>-1;let k=r||fetch;v=v?(v+"").toLowerCase():"text";let O=un([c,u&&u.toAbortSignal()],d),M=null;const A=O&&O.unsubscribe&&(()=>{O.unsubscribe()});let P;try{let r;const c=(I="auth",ct.hasOwnProp(e,I)?e[I]:void 0);if(c){r={username:c.username||"",password:c.password||""}}if((e=>{const t=e.indexOf("://");let n=e;return-1!==t&&(n=n.slice(t+3)),n.includes("@")||n.includes(":")})(t)){const e=new URL(t,$t.origin);if(!r&&(e.username||e.password)){r={username:mn(e.username),password:mn(e.password)}}(e.username||e.password)&&(e.username="",e.password="",t=e.href)}if(r&&(y.delete("authorization"),y.set("Authorization","Basic "+btoa((j=(r.username||"")+":"+(r.password||""),encodeURIComponent(j).replace(/%([0-9A-F]{2})/gi,(e,t)=>String.fromCharCode(parseInt(t,16))))))),E&&"string"==typeof t&&t.startsWith("data:")){const n=function(e){if(!e||"string"!=typeof e)return 0;if(!e.startsWith("data:"))return 0;const t=e.indexOf(",");if(t<0)return 0;const n=e.slice(5,t),i=e.slice(t+1);if(/;base64/i.test(n)){let e=i.length;const t=i.length;for(let n=0;n<t;n++)if(37===i.charCodeAt(n)&&n+2<t){const t=i.charCodeAt(n+1),r=i.charCodeAt(n+2);(t>=48&&t<=57||t>=65&&t<=70||t>=97&&t<=102)&&(r>=48&&r<=57||r>=65&&r<=70||r>=97&&r<=102)&&(e-=2,n+=2)}let n=0,r=t-1;const o=e=>e>=2&&37===i.charCodeAt(e-2)&&51===i.charCodeAt(e-1)&&(68===i.charCodeAt(e)||100===i.charCodeAt(e));r>=0&&(61===i.charCodeAt(r)?(n++,r--):o(r)&&(n++,r-=3)),1===n&&r>=0&&(61===i.charCodeAt(r)||o(r))&&n++;const a=3*Math.floor(e/4)-(n||0);return a>0?a:0}if("undefined"!=typeof Buffer&&"function"==typeof Buffer.byteLength)return Buffer.byteLength(i,"utf8");let r=0;for(let e=0,t=i.length;e<t;e++){const n=i.charCodeAt(e);if(n<128)r+=1;else if(n<2048)r+=2;else if(n>=55296&&n<=56319&&e+1<t){const t=i.charCodeAt(e+1);t>=56320&&t<=57343?(r+=4,e++):r+=3}else r+=3}return r}(t);if(n>w)throw new xt("maxContentLength size of "+w+" exceeded",xt.ERR_BAD_RESPONSE,e,M)}if(S&&"get"!==n&&"head"!==n){const t=await g(y,s);if("number"==typeof t&&isFinite(t)&&t>x)throw new xt("Request body larger than maxBodyLength limit",xt.ERR_BAD_REQUEST,e,M)}if(b&&f&&"get"!==n&&"head"!==n&&0!==(P=await g(y,s))){let e,n=new o(t,{method:"POST",body:s,duplex:"half"});if(ct.isFormData(s)&&(e=n.headers.get("content-type"))&&y.setContentType(e),n.body){const[e,t]=Jt(P,Xt(en(b)));s=hn(n.body,65536,e,t)}}ct.isString(_)||(_=_?"include":"omit");const u=l&&"credentials"in o.prototype;if(ct.isFormData(s)){const e=y.getContentType();e&&/^multipart\/form-data/i.test(e)&&!/boundary=/i.test(e)&&y.delete("content-type")}y.set("User-Agent","axios/"+fn,!1);const d={...C,signal:O,method:n.toUpperCase(),headers:mt(y.normalize()),body:s,duplex:"half",credentials:u?_:void 0};M=l&&new o(t,d);let T=await(l?k(M,C):k(t,d));if(E){const t=ct.toFiniteNumber(T.headers.get("content-length"));if(null!=t&&t>w)throw new xt("maxContentLength size of "+w+" exceeded",xt.ERR_BAD_RESPONSE,e,M)}const D=p&&("stream"===v||"response"===v);if(p&&T.body&&(h||E||D&&A)){const t={};["status","statusText","headers"].forEach(e=>{t[e]=T[e]});const n=ct.toFiniteNumber(T.headers.get("content-length")),[i,r]=h&&Jt(n,Xt(en(h),!0))||[];let o=0;const s=t=>{if(E&&(o=t,o>w))throw new xt("maxContentLength size of "+w+" exceeded",xt.ERR_BAD_RESPONSE,e,M);i&&i(t)};T=new a(hn(T.body,65536,s,()=>{r&&r(),A&&A()}),t)}v=v||"text";let L=await m[ct.findKey(m,v)||"text"](T,e);if(E&&!p&&!D){let t;if(null!=L&&("number"==typeof L.byteLength?t=L.byteLength:"number"==typeof L.size?t=L.size:"string"==typeof L&&(t="function"==typeof i?(new i).encode(L).byteLength:L.length)),"number"==typeof t&&t>w)throw new xt("maxContentLength size of "+w+" exceeded",xt.ERR_BAD_RESPONSE,e,M)}return!D&&A&&A(),await new Promise((t,n)=>{Kt(t,n,{data:L,headers:Ct.from(T.headers),status:T.status,statusText:T.statusText,config:e,request:M})})}catch(t){if(A&&A(),O&&O.aborted&&O.reason instanceof xt){const n=O.reason;throw n.config=e,M&&(n.request=M),t!==n&&(n.cause=t),n}if(t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new xt("Network Error",xt.ERR_NETWORK,e,M,t&&t.response),{cause:t.cause||t});throw xt.from(t,t&&t.code,e,M,t&&t.response)}var j,I}},vn=new Map,yn=e=>{let t=e&&e.env||{};const{fetch:n,Request:i,Response:r}=t,o=[i,r,n];let a,s,l=o.length,c=vn;for(;l--;)a=o[l],s=c.get(a),void 0===s&&c.set(a,s=l?new Map:bn(t)),c=s;return s};yn();const _n={http:null,xhr:cn,fetch:{get:yn}};ct.forEach(_n,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{__proto__:null,value:t})}catch(e){}Object.defineProperty(e,"adapterName",{__proto__:null,value:t})}});const Cn=e=>`- ${e}`,wn=e=>ct.isFunction(e)||null===e||!1===e;var xn=function(e,t){e=ct.isArray(e)?e:[e];const{length:n}=e;let i,r;const o={};for(let a=0;a<n;a++){let n;if(i=e[a],r=i,!wn(i)&&(r=_n[(n=String(i)).toLowerCase()],void 0===r))throw new xt(`Unknown adapter '${n}'`);if(r&&(ct.isFunction(r)||(r=r.get(t))))break;o[n||"#"+a]=r}if(!r){const e=Object.entries(o).map(([e,t])=>`adapter ${e} `+(!1===t?"is not supported by the environment":"is not available in the build"));let t=n?e.length>1?"since :\n"+e.map(Cn).join("\n"):" "+Cn(e[0]):"as no adapter specified";throw new xt("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return r};function En(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new Yt(null,e)}function Sn(e){return En(e),e.headers=Ct.from(e.headers),e.data=Gt.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),xn(e.adapter||qt.adapter,e)(e).then(function(t){En(e),e.response=t;try{t.data=Gt.call(e,e.transformResponse,t)}finally{delete e.response}return t.headers=Ct.from(t.headers),t},function(t){if(!Qt(t)&&(En(e),t&&t.response)){e.response=t.response;try{t.response.data=Gt.call(e,e.transformResponse,t.response)}finally{delete e.response}t.response.headers=Ct.from(t.response.headers)}return Promise.reject(t)})}const kn={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{kn[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const On={};kn.transitional=function(e,t,n){function i(e,t){return"[Axios v"+fn+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,r,o)=>{if(!1===e)throw new xt(i(r," has been removed"+(t?" in "+t:"")),xt.ERR_DEPRECATED);return t&&!On[r]&&(On[r]=!0,console.warn(i(r," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,r,o)}},kn.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var Mn={assertOptions:function(e,t,n){if("object"!=typeof e)throw new xt("options must be an object",xt.ERR_BAD_OPTION_VALUE);const i=Object.keys(e);let r=i.length;for(;r-- >0;){const o=i[r],a=Object.prototype.hasOwnProperty.call(t,o)?t[o]:void 0;if(a){const t=e[o],n=void 0===t||a(t,o,e);if(!0!==n)throw new xt("option "+o+" must be "+n,xt.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new xt("Unknown option "+o,xt.ERR_BAD_OPTION)}},validators:kn};const An=Mn.validators;class Pn{constructor(e){this.defaults=e||{},this.interceptors={request:new Lt,response:new Lt}}async request(e,t){try{return await this._request(e,t)}catch(e){if(e instanceof Error){let t={};Error.captureStackTrace?Error.captureStackTrace(t):t=new Error;const n=(()=>{if(!t.stack)return"";const e=t.stack.indexOf("\n");return-1===e?"":t.stack.slice(e+1)})();try{if(e.stack){if(n){const t=n.indexOf("\n"),i=-1===t?-1:n.indexOf("\n",t+1),r=-1===i?"":n.slice(i+1);String(e.stack).endsWith(r)||(e.stack+="\n"+n)}}else e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=an(this.defaults,t);const{transitional:n,paramsSerializer:i,headers:r}=t;void 0!==n&&Mn.assertOptions(n,{silentJSONParsing:An.transitional(An.boolean),forcedJSONParsing:An.transitional(An.boolean),clarifyTimeoutError:An.transitional(An.boolean),legacyInterceptorReqResOrdering:An.transitional(An.boolean),advertiseZstdAcceptEncoding:An.transitional(An.boolean)},!1),null!=i&&(ct.isFunction(i)?t.paramsSerializer={serialize:i}:Mn.assertOptions(i,{encode:An.function,serialize:An.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),Mn.assertOptions(t,{baseUrl:An.spelling("baseURL"),withXsrfToken:An.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let o=r&&ct.merge(r.common,r[t.method]);r&&ct.forEach(["delete","get","head","post","put","patch","query","common"],e=>{delete r[e]}),t.headers=Ct.concat(o,r);const a=[];let s=!0;this.interceptors.request.forEach(function(e){if("function"==typeof e.runWhen&&!1===e.runWhen(t))return;s=s&&e.synchronous;const n=t.transitional||Nt;n&&n.legacyInterceptorReqResOrdering?a.unshift(e.fulfilled,e.rejected):a.push(e.fulfilled,e.rejected)});const l=[];let c;this.interceptors.response.forEach(function(e){l.push(e.fulfilled,e.rejected)});let u,d=0;if(!s){const e=[Sn.bind(this),void 0];for(e.unshift(...a),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=a.length;let h=t;for(;d<u;){const e=a[d++],t=a[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{c=Sn.call(this,h)}catch(e){return Promise.reject(e)}for(d=0,u=l.length;d<u;)c=c.then(l[d++],l[d++]);return c}getUri(e){return Dt(rn((e=an(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}ct.forEach(["delete","get","head","options"],function(e){Pn.prototype[e]=function(t,n){return this.request(an(n||{},{method:e,url:t,data:(n||{}).data}))}}),ct.forEach(["post","put","patch","query"],function(e){function t(t){return function(n,i,r){return this.request(an(r||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:i}))}}Pn.prototype[e]=t(),"query"!==e&&(Pn.prototype[e+"Form"]=t(!0))});var jn=Pn;class In{constructor(e){if("function"!=typeof e)throw new TypeError("executor must be a function.");let t;this.promise=new Promise(function(e){t=e});const n=this;this.promise.then(e=>{if(!n._listeners)return;let t=n._listeners.length;for(;t-- >0;)n._listeners[t](e);n._listeners=null}),this.promise.then=e=>{let t;const i=new Promise(e=>{n.subscribe(e),t=e}).then(e);return i.cancel=function(){n.unsubscribe(t)},i},e(function(e,i,r){n.reason||(n.reason=new Yt(e,i,r),t(n.reason))})}throwIfRequested(){if(this.reason)throw this.reason}subscribe(e){this.reason?e(this.reason):this._listeners?this._listeners.push(e):this._listeners=[e]}unsubscribe(e){if(!this._listeners)return;const t=this._listeners.indexOf(e);-1!==t&&this._listeners.splice(t,1)}toAbortSignal(){const e=new AbortController,t=t=>{e.abort(t)};return this.subscribe(t),e.signal.unsubscribe=()=>this.unsubscribe(t),e.signal}static source(){let e;const t=new In(function(t){e=t});return{token:t,cancel:e}}}var Tn=In;const Dn={Continue:100,SwitchingProtocols:101,Processing:102,EarlyHints:103,Ok:200,Created:201,Accepted:202,NonAuthoritativeInformation:203,NoContent:204,ResetContent:205,PartialContent:206,MultiStatus:207,AlreadyReported:208,ImUsed:226,MultipleChoices:300,MovedPermanently:301,Found:302,SeeOther:303,NotModified:304,UseProxy:305,Unused:306,TemporaryRedirect:307,PermanentRedirect:308,BadRequest:400,Unauthorized:401,PaymentRequired:402,Forbidden:403,NotFound:404,MethodNotAllowed:405,NotAcceptable:406,ProxyAuthenticationRequired:407,RequestTimeout:408,Conflict:409,Gone:410,LengthRequired:411,PreconditionFailed:412,PayloadTooLarge:413,UriTooLong:414,UnsupportedMediaType:415,RangeNotSatisfiable:416,ExpectationFailed:417,ImATeapot:418,MisdirectedRequest:421,UnprocessableEntity:422,Locked:423,FailedDependency:424,TooEarly:425,UpgradeRequired:426,PreconditionRequired:428,TooManyRequests:429,RequestHeaderFieldsTooLarge:431,UnavailableForLegalReasons:451,InternalServerError:500,NotImplemented:501,BadGateway:502,ServiceUnavailable:503,GatewayTimeout:504,HttpVersionNotSupported:505,VariantAlsoNegotiates:506,InsufficientStorage:507,LoopDetected:508,NotExtended:510,NetworkAuthenticationRequired:511,WebServerIsDown:521,ConnectionTimedOut:522,OriginIsUnreachable:523,TimeoutOccurred:524,SslHandshakeFailed:525,InvalidSslCertificate:526};Object.entries(Dn).forEach(([e,t])=>{Dn[t]=e});var Ln=Dn;const Nn=function e(t){const n=new jn(t),i=ve(jn.prototype.request,n);return ct.extend(i,jn.prototype,n,{allOwnKeys:!0}),ct.extend(i,n,null,{allOwnKeys:!0}),i.create=function(n){return e(an(t,n))},i}(qt);Nn.Axios=jn,Nn.CanceledError=Yt,Nn.CancelToken=Tn,Nn.isCancel=Qt,Nn.VERSION=fn,Nn.toFormData=Mt,Nn.AxiosError=xt,Nn.Cancel=Nn.CanceledError,Nn.all=function(e){return Promise.all(e)},Nn.spread=function(e){return function(t){return e.apply(null,t)}},Nn.isAxiosError=function(e){return ct.isObject(e)&&!0===e.isAxiosError},Nn.mergeConfig=an,Nn.AxiosHeaders=Ct,Nn.formToJSON=e=>Bt(ct.isHTMLForm(e)?new FormData(e):e),Nn.getAdapter=xn,Nn.HttpStatusCode=Ln,Nn.default=Nn;var Rn=Nn,Fn=n(5359),zn=wp.i18n,Hn=n(3373),Un=n.n(Hn),Vn=e=>{(0,r.useEffect)(()=>{let t=t=>{if(e)return t.preventDefault(),null};return window.addEventListener("beforeunload",t),()=>{window.removeEventListener("beforeunload",t)}},[e])},$n=e=>{let t=(0,r.useRef)();return(0,r.useEffect)(()=>{t.current=e},[e]),t.current},Bn=e=>{if("number"==typeof e)return`(min-width: ${e}px)`;if(Array.isArray(e)){let[t,n]=e;return t>n&&([t,n]=[n,t]),`(min-width: ${t}px) and (max-width: ${n-1}px)`}return""},Wn=e=>{for(let[t,n]of(e=>Object.entries(e).sort((e,t)=>{let[n,i]=[e[1],t[1]],[r,o]=[Array.isArray(n),Array.isArray(i)];if(r&&o){let[e,t]=n,[r,o]=i;return r!==e?r-e:o-t}return r!==o?r?-1:1:i-n}))(e))if(window.matchMedia(Bn(n)).matches)return t;return"OutOfScope"},Zn=(e={})=>{let t=(0,r.useMemo)(()=>({desktop:1024,tablet:600,mobile:[600,0],...e}),[e]),[n,i]=(0,r.useState)(()=>Wn(t));return(0,r.useEffect)(()=>{let e=()=>i(Wn(t)),n=Object.values(t).map(t=>{let n=window.matchMedia(Bn(t));return n.addEventListener("change",e),n});return()=>{n.forEach(t=>t.removeEventListener("change",e))}},[t]),n},qn=()=>{let[e,t]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{let e=()=>{let e="rtl"===document.documentElement.getAttribute("dir");t(e)};e();let n=new MutationObserver(e);return n.observe(document.documentElement,{attributes:!0,attributeFilter:["dir"]}),()=>{n.disconnect()}},[]),e},Gn=({scrollOffset:e=0})=>{let[t,n]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1),a=(0,r.useRef)(null),s=qn(),l=(0,r.useCallback)(()=>{let e=a.current;if(!e)return;let{scrollLeft:t,scrollWidth:i,clientWidth:r}=e,l=Math.abs(t??0);n(s?l>=1:l<i-r-1),o(s?l<i-r-1:l>=1)},[s]);return(0,r.useEffect)(()=>{let e=a.current;if(e)return l(),e.addEventListener("scroll",l),()=>{e.removeEventListener("scroll",l)}},[l]),(0,r.useEffect)(()=>{let e=()=>l();return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[l]),(0,r.useEffect)(()=>{let e=new IntersectionObserver(e=>{e[0].isIntersecting&&l()},{threshold:.1});return a.current&&e.observe(a.current),()=>e.disconnect()},[l]),{containerRef:a,isScrollableLeft:i,isScrollableRight:t,scroll:t=>{if(!a.current)return;let n=a.current,i=(t=>{if(!a.current)return null;let n=a.current,i=Array.from(n.children),r=n.getBoundingClientRect(),o=n.scrollLeft;for(let a=0;a<i.length;a++){let s=i[a],l=s.getBoundingClientRect(),c=l.left-r.left+o,u=c+l.width,d=o,h=o+n.clientWidth;if("left"===t&&c<d&&u>d)return{element:s,hiddenWidth:d-c,targetScroll:c-e};if("right"===t&&c<h&&u>h)return{element:s,hiddenWidth:u-h,targetScroll:u-n.clientWidth+e}}for(let a=0;a<i.length;a++){let s=i[a],l=s.getBoundingClientRect(),c=l.left-r.left+o,u=c+l.width,d=o,h=o+n.clientWidth;if("left"===t&&u<=d){let t=s,n=a;for(let e=a+1;e<i.length;e++){let a=i[e],s=a.getBoundingClientRect();if(!(s.left-r.left+o+s.width<=d))break;t=a,n=e}return{element:t,hiddenWidth:t.offsetWidth,targetScroll:c-e}}if("right"===t&&c>=h)return{element:s,hiddenWidth:s.offsetWidth,targetScroll:c-e}}return null})(t);n.scrollTo({left:i?.targetScroll??0,behavior:"smooth"})}}},Qn=function(){function e(e){var t=this;this._insertTag=function(e){var n;n=0===t.tags.length?t.insertionPoint?t.insertionPoint.nextSibling:t.prepend?t.container.firstChild:t.before:t.tags[t.tags.length-1].nextSibling,t.container.insertBefore(e,n),t.tags.push(e)},this.isSpeedy=void 0===e.speedy||e.speedy,this.tags=[],this.ctr=0,this.nonce=e.nonce,this.key=e.key,this.container=e.container,this.prepend=e.prepend,this.insertionPoint=e.insertionPoint,this.before=null}var t=e.prototype;return t.hydrate=function(e){e.forEach(this._insertTag)},t.insert=function(e){this.ctr%(this.isSpeedy?65e3:1)==0&&this._insertTag(function(e){var t=document.createElement("style");return t.setAttribute("data-emotion",e.key),void 0!==e.nonce&&t.setAttribute("nonce",e.nonce),t.appendChild(document.createTextNode("")),t.setAttribute("data-s",""),t}(this));var t=this.tags[this.tags.length-1];if(this.isSpeedy){var n=function(e){if(e.sheet)return e.sheet;for(var t=0;t<document.styleSheets.length;t++)if(document.styleSheets[t].ownerNode===e)return document.styleSheets[t]}(t);try{n.insertRule(e,n.cssRules.length)}catch(e){}}else t.appendChild(document.createTextNode(e));this.ctr++},t.flush=function(){this.tags.forEach(function(e){var t;return null==(t=e.parentNode)?void 0:t.removeChild(e)}),this.tags=[],this.ctr=0},e}(),Yn=Math.abs,Kn=String.fromCharCode,Xn=Object.assign;function Jn(e){return e.trim()}function ei(e,t,n){return e.replace(t,n)}function ti(e,t){return e.indexOf(t)}function ni(e,t){return 0|e.charCodeAt(t)}function ii(e,t,n){return e.slice(t,n)}function ri(e){return e.length}function oi(e){return e.length}function ai(e,t){return t.push(e),e}var si=1,li=1,ci=0,ui=0,di=0,hi="";function fi(e,t,n,i,r,o,a){return{value:e,root:t,parent:n,type:i,props:r,children:o,line:si,column:li,length:a,return:""}}function pi(e,t){return Xn(fi("",null,null,"",null,null,0),e,{length:-e.length},t)}function mi(){return di=ui>0?ni(hi,--ui):0,li--,10===di&&(li=1,si--),di}function gi(){return di=ui<ci?ni(hi,ui++):0,li++,10===di&&(li=1,si++),di}function bi(){return ni(hi,ui)}function vi(){return ui}function yi(e,t){return ii(hi,e,t)}function _i(e){switch(e){case 0:case 9:case 10:case 13:case 32:return 5;case 33:case 43:case 44:case 47:case 62:case 64:case 126:case 59:case 123:case 125:return 4;case 58:return 3;case 34:case 39:case 40:case 91:return 2;case 41:case 93:return 1}return 0}function Ci(e){return si=li=1,ci=ri(hi=e),ui=0,[]}function wi(e){return hi="",e}function xi(e){return Jn(yi(ui-1,ki(91===e?e+2:40===e?e+1:e)))}function Ei(e){for(;(di=bi())&&di<33;)gi();return _i(e)>2||_i(di)>3?"":" "}function Si(e,t){for(;--t&&gi()&&!(di<48||di>102||di>57&&di<65||di>70&&di<97););return yi(e,vi()+(t<6&&32==bi()&&32==gi()))}function ki(e){for(;gi();)switch(di){case e:return ui;case 34:case 39:34!==e&&39!==e&&ki(di);break;case 40:41===e&&ki(e);break;case 92:gi()}return ui}function Oi(e,t){for(;gi()&&e+di!==57&&(e+di!==84||47!==bi()););return"/*"+yi(t,ui-1)+"*"+Kn(47===e?e:gi())}function Mi(e){for(;!_i(bi());)gi();return yi(e,ui)}var Ai="-ms-",Pi="-moz-",ji="-webkit-",Ii="comm",Ti="rule",Di="decl",Li="@keyframes";function Ni(e,t){for(var n="",i=oi(e),r=0;r<i;r++)n+=t(e[r],r,e,t)||"";return n}function Ri(e,t,n,i){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case Di:return e.return=e.return||e.value;case Ii:return"";case Li:return e.return=e.value+"{"+Ni(e.children,i)+"}";case Ti:e.value=e.props.join(",")}return ri(n=Ni(e.children,i))?e.return=e.value+"{"+n+"}":""}function Fi(e){return function(t){t.root||(t=t.return)&&e(t)}}function zi(e){return wi(Hi("",null,null,null,[""],e=Ci(e),0,[0],e))}function Hi(e,t,n,i,r,o,a,s,l){for(var c=0,u=0,d=a,h=0,f=0,p=0,m=1,g=1,b=1,v=0,y="",_=r,C=o,w=i,x=y;g;)switch(p=v,v=gi()){case 40:if(108!=p&&58==ni(x,d-1)){-1!=ti(x+=ei(xi(v),"&","&\f"),"&\f")&&(b=-1);break}case 34:case 39:case 91:x+=xi(v);break;case 9:case 10:case 13:case 32:x+=Ei(p);break;case 92:x+=Si(vi()-1,7);continue;case 47:switch(bi()){case 42:case 47:ai(Vi(Oi(gi(),vi()),t,n),l);break;default:x+="/"}break;case 123*m:s[c++]=ri(x)*b;case 125*m:case 59:case 0:switch(v){case 0:case 125:g=0;case 59+u:-1==b&&(x=ei(x,/\f/g,"")),f>0&&ri(x)-d&&ai(f>32?$i(x+";",i,n,d-1):$i(ei(x," ","")+";",i,n,d-2),l);break;case 59:x+=";";default:if(ai(w=Ui(x,t,n,c,u,r,s,y,_=[],C=[],d),o),123===v)if(0===u)Hi(x,t,w,w,_,o,d,s,C);else switch(99===h&&110===ni(x,3)?100:h){case 100:case 108:case 109:case 115:Hi(e,w,w,i&&ai(Ui(e,w,w,0,0,r,s,y,r,_=[],d),C),r,C,d,s,i?_:C);break;default:Hi(x,w,w,w,[""],C,0,s,C)}}c=u=f=0,m=b=1,y=x="",d=a;break;case 58:d=1+ri(x),f=p;default:if(m<1)if(123==v)--m;else if(125==v&&0==m++&&125==mi())continue;switch(x+=Kn(v),v*m){case 38:b=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(ri(x)-1)*b,b=1;break;case 64:45===bi()&&(x+=xi(gi())),h=bi(),u=d=ri(y=x+=Mi(vi())),v++;break;case 45:45===p&&2==ri(x)&&(m=0)}}return o}function Ui(e,t,n,i,r,o,a,s,l,c,u){for(var d=r-1,h=0===r?o:[""],f=oi(h),p=0,m=0,g=0;p<i;++p)for(var b=0,v=ii(e,d+1,d=Yn(m=a[p])),y=e;b<f;++b)(y=Jn(m>0?h[b]+" "+v:ei(v,/&\f/g,h[b])))&&(l[g++]=y);return fi(e,t,n,0===r?Ti:s,l,c,u)}function Vi(e,t,n){return fi(e,t,n,Ii,Kn(di),ii(e,2,-2),0)}function $i(e,t,n,i){return fi(e,t,n,Di,ii(e,0,i),ii(e,i+1,-1),i)}var Bi=function(e,t,n){for(var i=0,r=0;i=r,r=bi(),38===i&&12===r&&(t[n]=1),!_i(r);)gi();return yi(e,ui)},Wi=new WeakMap,Zi=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,i=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||Wi.get(n))&&!i){Wi.set(e,!0);for(var r=[],o=function(e,t){return wi(function(e,t){var n=-1,i=44;do{switch(_i(i)){case 0:38===i&&12===bi()&&(t[n]=1),e[n]+=Bi(ui-1,t,n);break;case 2:e[n]+=xi(i);break;case 4:if(44===i){e[++n]=58===bi()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=Kn(i)}}while(i=gi());return e}(Ci(e),t))}(t,r),a=n.props,s=0,l=0;s<o.length;s++)for(var c=0;c<a.length;c++,l++)e.props[l]=r[s]?o[s].replace(/&\f/g,a[c]):a[c]+" "+o[s]}}},qi=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function Gi(e,t){switch(function(e,t){return 45^ni(e,0)?(((t<<2^ni(e,0))<<2^ni(e,1))<<2^ni(e,2))<<2^ni(e,3):0}(e,t)){case 5103:return ji+"print-"+e+e;case 5737:case 4201:case 3177:case 3433:case 1641:case 4457:case 2921:case 5572:case 6356:case 5844:case 3191:case 6645:case 3005:case 6391:case 5879:case 5623:case 6135:case 4599:case 4855:case 4215:case 6389:case 5109:case 5365:case 5621:case 3829:return ji+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ji+e+Pi+e+Ai+e+e;case 6828:case 4268:return ji+e+Ai+e+e;case 6165:return ji+e+Ai+"flex-"+e+e;case 5187:return ji+e+ei(e,/(\w+).+(:[^]+)/,ji+"box-$1$2"+Ai+"flex-$1$2")+e;case 5443:return ji+e+Ai+"flex-item-"+ei(e,/flex-|-self/,"")+e;case 4675:return ji+e+Ai+"flex-line-pack"+ei(e,/align-content|flex-|-self/,"")+e;case 5548:return ji+e+Ai+ei(e,"shrink","negative")+e;case 5292:return ji+e+Ai+ei(e,"basis","preferred-size")+e;case 6060:return ji+"box-"+ei(e,"-grow","")+ji+e+Ai+ei(e,"grow","positive")+e;case 4554:return ji+ei(e,/([^-])(transform)/g,"$1"+ji+"$2")+e;case 6187:return ei(ei(ei(e,/(zoom-|grab)/,ji+"$1"),/(image-set)/,ji+"$1"),e,"")+e;case 5495:case 3959:return ei(e,/(image-set\([^]*)/,ji+"$1$`$1");case 4968:return ei(ei(e,/(.+:)(flex-)?(.*)/,ji+"box-pack:$3"+Ai+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ji+e+e;case 4095:case 3583:case 4068:case 2532:return ei(e,/(.+)-inline(.+)/,ji+"$1$2")+e;case 8116:case 7059:case 5753:case 5535:case 5445:case 5701:case 4933:case 4677:case 5533:case 5789:case 5021:case 4765:if(ri(e)-1-t>6)switch(ni(e,t+1)){case 109:if(45!==ni(e,t+4))break;case 102:return ei(e,/(.+:)(.+)-([^]+)/,"$1"+ji+"$2-$3$1"+Pi+(108==ni(e,t+3)?"$3":"$2-$3"))+e;case 115:return~ti(e,"stretch")?Gi(ei(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ni(e,t+1))break;case 6444:switch(ni(e,ri(e)-3-(~ti(e,"!important")&&10))){case 107:return ei(e,":",":"+ji)+e;case 101:return ei(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ji+(45===ni(e,14)?"inline-":"")+"box$3$1"+ji+"$2$3$1"+Ai+"$2box$3")+e}break;case 5936:switch(ni(e,t+11)){case 114:return ji+e+Ai+ei(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ji+e+Ai+ei(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ji+e+Ai+ei(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ji+e+Ai+e+e}return e}var Qi=[function(e,t,n,i){if(e.length>-1&&!e.return)switch(e.type){case Di:e.return=Gi(e.value,e.length);break;case Li:return Ni([pi(e,{value:ei(e.value,"@","@"+ji)})],i);case Ti:if(e.length)return function(e,t){return e.map(t).join("")}(e.props,function(t){switch(function(e){return(e=/(::plac\w+|:read-\w+)/.exec(e))?e[0]:e}(t)){case":read-only":case":read-write":return Ni([pi(e,{props:[ei(t,/:(read-\w+)/,":-moz-$1")]})],i);case"::placeholder":return Ni([pi(e,{props:[ei(t,/:(plac\w+)/,":"+ji+"input-$1")]}),pi(e,{props:[ei(t,/:(plac\w+)/,":-moz-$1")]}),pi(e,{props:[ei(t,/:(plac\w+)/,Ai+"input-$1")]})],i)}return""})}}],Yi={animationIterationCount:1,aspectRatio:1,borderImageOutset:1,borderImageSlice:1,borderImageWidth:1,boxFlex:1,boxFlexGroup:1,boxOrdinalGroup:1,columnCount:1,columns:1,flex:1,flexGrow:1,flexPositive:1,flexShrink:1,flexNegative:1,flexOrder:1,gridRow:1,gridRowEnd:1,gridRowSpan:1,gridRowStart:1,gridColumn:1,gridColumnEnd:1,gridColumnSpan:1,gridColumnStart:1,msGridRow:1,msGridRowSpan:1,msGridColumn:1,msGridColumnSpan:1,fontWeight:1,lineHeight:1,opacity:1,order:1,orphans:1,scale:1,tabSize:1,widows:1,zIndex:1,zoom:1,WebkitLineClamp:1,fillOpacity:1,floodOpacity:1,stopOpacity:1,strokeDasharray:1,strokeDashoffset:1,strokeMiterlimit:1,strokeOpacity:1,strokeWidth:1};function Ki(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var Xi=/[A-Z]|^ms/g,Ji=/_EMO_([^_]+?)_([^]*?)_EMO_/g,er=function(e){return 45===e.charCodeAt(1)},tr=function(e){return null!=e&&"boolean"!=typeof e},nr=Ki(function(e){return er(e)?e:e.replace(Xi,"-$&").toLowerCase()}),ir=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(Ji,function(e,t,n){return or={name:t,styles:n,next:or},t})}return 1===Yi[e]||er(e)||"number"!=typeof t||0===t?t:t+"px"};function rr(e,t,n){if(null==n)return"";var i=n;if(void 0!==i.__emotion_styles)return i;switch(typeof n){case"boolean":return"";case"object":var r=n;if(1===r.anim)return or={name:r.name,styles:r.styles,next:or},r.name;var o=n;if(void 0!==o.styles){var a=o.next;if(void 0!==a)for(;void 0!==a;)or={name:a.name,styles:a.styles,next:or},a=a.next;return o.styles+";"}return function(e,t,n){var i="";if(Array.isArray(n))for(var r=0;r<n.length;r++)i+=rr(e,t,n[r])+";";else for(var o in n){var a=n[o];if("object"!=typeof a){var s=a;null!=t&&void 0!==t[s]?i+=o+"{"+t[s]+"}":tr(s)&&(i+=nr(o)+":"+ir(o,s)+";")}else if(!Array.isArray(a)||"string"!=typeof a[0]||null!=t&&void 0!==t[a[0]]){var l=rr(e,t,a);switch(o){case"animation":case"animationName":i+=nr(o)+":"+l+";";break;default:i+=o+"{"+l+"}"}}else for(var c=0;c<a.length;c++)tr(a[c])&&(i+=nr(o)+":"+ir(o,a[c])+";")}return i}(e,t,n);case"function":if(void 0!==e){var s=or,l=n(e);return or=s,rr(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var or,ar=/label:\s*([^\s;{]+)\s*(;|$)/g;function sr(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var i=!0,r="";or=void 0;var o=e[0];null==o||void 0===o.raw?(i=!1,r+=rr(n,t,o)):r+=o[0];for(var a=1;a<e.length;a++)r+=rr(n,t,e[a]),i&&(r+=o[a]);ar.lastIndex=0;for(var s,l="";null!==(s=ar.exec(r));)l+="-"+s[1];var c=function(e){for(var t,n=0,i=0,r=e.length;r>=4;++i,r-=4)t=1540483477*(65535&(t=255&e.charCodeAt(i)|(255&e.charCodeAt(++i))<<8|(255&e.charCodeAt(++i))<<16|(255&e.charCodeAt(++i))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(r){case 3:n^=(255&e.charCodeAt(i+2))<<16;case 2:n^=(255&e.charCodeAt(i+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(i)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(r)+l;return{name:c,styles:r,next:or}}function lr(e,t,n){var i="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(i+=n+" ")}),i}function cr(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function ur(e,t,n){var i=[],r=lr(e,i,n);return i.length<2?n:r+t(i)}var dr=function e(t){for(var n="",i=0;i<t.length;i++){var r=t[i];if(null!=r){var o=void 0;switch(typeof r){case"boolean":break;case"object":if(Array.isArray(r))o=e(r);else for(var a in o="",r)r[a]&&a&&(o&&(o+=" "),o+=a);break;default:o=r}o&&(n&&(n+=" "),n+=o)}}return n},hr={default:null,sm:600,md:1024,lg:1200,xl:1600},fr={p:"padding",px:"padding",py:"padding",pt:"paddingTop",pr:"paddingRight",pb:"paddingBottom",pl:"paddingLeft",m:"margin",mx:"margin",my:"margin",mt:"marginTop",mr:"marginRight",mb:"marginBottom",ml:"marginLeft"},pr="body #sui-wrap &",mr=(e,t,n)=>{let i=fr[e]??e,r=e=>({[i]:e}),o=(e,t,i)=>{let o=hr[t];if(null===e)return i;let a=r(e);if("default"===t)return{...i,...a};let s=(e=>{switch(e){case"xl":return hr.lg;case"lg":return hr.md;case"md":return hr.sm;default:return}})(t),l="sm"!==t?`@media(min-width:${(s??0)+1}px) and (max-width:${o}px)`:`@media(max-width:${o}px)`;return{...i,[l]:{...i[l],...n?.[l]??{},...a}}};switch(typeof t){case"string":return r(t);case"object":return Sr(e)?r(t):Object.keys(t).reduce((e,n)=>({...e,...o(t[n],n,e)}),{});default:return{}}},{css:gr}=function(){var e=function(e){var t=e.key;if("css"===t){var n=document.querySelectorAll("style[data-emotion]:not([data-s])");Array.prototype.forEach.call(n,function(e){-1!==e.getAttribute("data-emotion").indexOf(" ")&&(document.head.appendChild(e),e.setAttribute("data-s",""))})}var i,r,o=e.stylisPlugins||Qi,a={},s=[];i=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)a[t[n]]=!0;s.push(e)});var l,c,u,d=[Zi,qi],h=[Ri,Fi(function(e){l.insert(e)})],f=(c=d.concat(o,h),u=oi(c),function(e,t,n,i){for(var r="",o=0;o<u;o++)r+=c[o](e,t,n,i)||"";return r});r=function(e,t,n,i){l=n,Ni(zi(e?e+"{"+t.styles+"}":t.styles),f),i&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new Qn({key:t,container:i,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:a,registered:{},insert:r};return p.sheet.hydrate(s),p}({key:"sui-inline"});e.sheet.speedy=function(e){this.isSpeedy=e},e.compat=!0;var t=function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=sr(n,e.registered,void 0);return function(e,t){!function(e,t){var n=e.key+"-"+t.name;void 0===e.registered[n]&&(e.registered[n]=t.styles)}(e,t);var n=e.key+"-"+t.name;if(void 0===e.inserted[t.name]){var i=t;do{e.insert(t===i?"."+n:"",i,e.sheet,!0),i=i.next}while(void 0!==i)}}(e,r),e.key+"-"+r.name};return{css:t,cx:function(){for(var n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];return ur(e.registered,t,dr(i))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=sr(n,e.registered);cr(e,r)},keyframes:function(){for(var t=arguments.length,n=new Array(t),i=0;i<t;i++)n[i]=arguments[i];var r=sr(n,e.registered),o="animation-"+r.name;return cr(e,{name:r.name,styles:"@keyframes "+o+"{"+r.styles+"}"}),o},hydrate:function(t){t.forEach(function(t){e.inserted[t]=!0})},flush:function(){e.registered={},e.inserted={},e.sheet.flush()},sheet:e.sheet,cache:e,getRegisteredStyles:lr.bind(null,e.registered),merge:ur.bind(null,e.registered,t)}}(),br=(e={},t="")=>{let[n,i]=(0,r.useState)({}),o=(e=>Tr(e)?"":gr(e))(n),a=JSON?.stringify(Nr()?{}:e);return(0,r.useEffect)(()=>{let e=JSON.parse(a),t={};if(!Tr(e)){for(let n of Object.keys(e)){let i=e[n];t={...t,...mr(n,i,t)}}i({[pr]:t})}},[a]),{suiInlineClassname:kr(t,{},o??"")}},vr={required:(e,t,n)=>{if("boolean"!=typeof t)throw new Error('SUI 3: "useValidation" hook, required rule value should be a boolean.');if(!t)return;let i=e?.toString()?.trim()||"";return"string"==typeof i&&Ir(i)?n:void 0},pattern:(e,t,n)=>{if("string"!=typeof t||Ir(t))throw new Error('SUI 3: "useValidation" hook, pattern rule value should be a string and not empty.');if(!new RegExp(t,"gm").test(e))return n},validator:(e,t,n)=>{if("function"!=typeof t)throw new Error('SUI 3: "useValidation" hook, "validator" rule value should be a function.');return t(e)},url:(e,t,n)=>{if("boolean"!=typeof t)throw new Error('SUI 3: "useValidation" hook, url rule value should be a boolean.');if(t)return new RegExp("[(http(s)?):\\/\\/(www\\.)?a-zA-Z0-9-@:%._\\+~#=]{2,256}\\.[a-z]{2,20}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)","gm").test(e)?void 0:n}},yr=(e,t={validateOnMount:!1})=>{let[n,i]=(0,r.useState)({}),o=()=>{i({})},{getRuleType:a,validatorsMap:s}=(({updateStatus:e,resetValidation:t,validators:n})=>{let i={};return Object.entries(n).forEach(([n,r])=>{((n,r)=>{if(i.hasOwnProperty(n))throw new Error(`Validator with namespace '${n}' is duplicated!.`);i[n]=(n,i,o,a)=>{let s=r(n,i,o);s?e(s):a?a():t()}})(n,r)}),{validatorsMap:i,getRuleType:e=>{let t=new Set(Object.keys(e));return Object.keys(i).find(e=>t.has(e))}}})({updateStatus:e=>{i({error:e,isError:!!e})},resetValidation:o,validators:vr}),l=(e,t,n)=>{if("object"!=typeof t)throw new Error('SUI 3: "useValidation" hook, the rule should be of type object.');let i=a(t);if(!i)throw new Error('SUI 3: "useValidation" hook, No rule type found in the rules object.');let r=t[i],o=t.message,c=s[i];n?c?.(e,r,o,()=>l(e,n)):c?.(e,r,o)},c={validate:t=>{if("function"==typeof e)return s.validator(t,e);if("object"==typeof e&&!Array.isArray(e))return l(t,e);if(Array.isArray(e)){let n=e[1];l(t,e[0],n)}},validateOnMount:t.validateOnMount||!1,resetValidation:o};return[n,c]},_r=(e,t)=>null!==e?e:t||"{children content}",Cr=(e,t=()=>{})=>{let n=(0,r.useCallback)(n=>{e?.current&&!e?.current.contains(n.target)&&t()},[t,e]);(0,r.useEffect)(()=>(document.addEventListener("click",n),()=>{document.removeEventListener("click",n)}))},wr=e=>{let[t,n]=(0,r.useState)(!1),[i,o]=(0,r.useState)(!1),{onMouseEnter:a,onMouseLeave:s,onMouseDownCapture:l,onMouseUp:c,onMouseUpCapture:u,onFocus:d,onBlur:h,onBlurCapture:f}=e,p=(0,r.useCallback)((e,t,i=e=>{})=>{n(e),jr(i)&&i&&i(t)},[]),m=(0,r.useCallback)((e,t,n=e=>{})=>{o(e),jr(n)&&n&&n(t)},[]),g=(0,r.useCallback)(e=>{let t=e?.currentTarget;t&&(t?.focus(),m(!0,e,e=>{c&&c(e)}))},[c,m]),b=(0,r.useCallback)(e=>p(!0,e,e=>{a&&a(e)}),[a,p]),v=(0,r.useCallback)(e=>p(!1,e,()=>{s&&s(event)}),[s,p]),y=(0,r.useCallback)(e=>m(!1,e,e=>{l&&l(e)}),[l,m]),_=(0,r.useCallback)(e=>m(!0,e,e=>{u&&u(e)}),[u,m]),C=(0,r.useCallback)(e=>p(!1,e,e=>{f&&f(e)}),[f,p]),w=(0,r.useCallback)(e=>m(!1,e,e=>{h&&h(e)}),[h,m]),x=(0,r.useCallback)(e=>m(!0,e,e=>{d&&d(e)}),[d,m]);return[t,i,{onMouseUp:g,onMouseEnter:b,onMouseLeave:v,onMouseDownCapture:y,onMouseUpCapture:_,onFocus:x,onBlur:w,onBlurCapture:C},p,m]},xr=e=>{let[t,n]=(0,r.useState)(null);return e=e??".sui-wrap",(0,r.useLayoutEffect)(()=>{let t=document.querySelector(e),i=!1;return t||(i=!0,t=(e=>{let t=document.createElement("div");return t.setAttribute("id",e),document.body.appendChild(t),t})(e)),n(t),()=>{i&&t?.parentNode&&t.parentNode.removeChild(t)}},[e]),[e=>null===t?null:(0,s.createPortal)(e,t)]},Er=({propsToCheck:e,component:t})=>{let n=t?.displayName||t?.name;Object.keys(e)?.forEach((t,i)=>{if(Ir(e?.[t]??""))throw new Error(`Empty content is not valid. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 SUI 3 React - Components: ${n}\n\nThe "${t}" argument requires some value to be passed to it.\n\n`)})},Sr=e=>e.startsWith("&")||e.startsWith("@media "),kr=(e,t={},n="")=>{let i=Object.keys(t).map(n=>({[e?`${e}--${n}`:`${n}`]:!!t?.[n]}));return Hn(e,i,n)},Or=(e,t=null,n=void 0)=>(Mr(t)&&(t=e),e?t:n),Mr=e=>null===e,Ar=e=>typeof e>"u",Pr=e=>"boolean"==typeof e,jr=e=>"function"==typeof e,Ir=e=>""===e,Tr=e=>!!e&&0===Object.keys(e).length,Dr=(e,t)=>{("Enter"===e.key||" "===e.key)&&t&&t(e)},Lr={smush:{bg:"#2dc4e0",color:"#FFF",icon:"PluginSmush"},defender:{bg:"#282a2c",color:"#FFF",icon:"PluginDefender"},snapshot:{bg:"#1a325e",color:"#FFF",icon:"PluginSnapshot"},hummingbird:{bg:"#ff8e3c",color:"#FFF",icon:"PluginHummingbird"},forminator:{bg:"#1f2852",color:"#FFF",icon:"PluginForminator"},beehive:{bg:"#013aa9",color:"#FFF",icon:"PluginBeehive"},hustle:{bg:"#1a1a1a",color:"#FFF",icon:"PluginHustle"},smartcrawl:{bg:"#de240a",color:"#FFF",icon:"PluginSmartcrawl"},shipper:{bg:"#7b5499",color:"#FFF",icon:"PluginShipper"},branda:{bg:"#ff8184",color:"#FFF",icon:"PluginBranda"},blc:{bg:"#03bfa5",color:"#FFF",icon:"PluginBlc"},thc:{bg:"#F36056",color:"#FFF",icon:"PluginThc"},dashboard:{bg:"#1C4DA9",color:"#FFF",icon:"PluginDashboard"},ivt:{bg:"#65DE63",color:"#FFF",icon:"PluginIvt"},uptime:{bg:"#05AE7B",color:"#FFF",icon:"PluginUptime"},hosting:{bg:"#9F62CE",color:"#FFF",icon:"Cloud"}},Nr=()=>{try{return void 0!==process?.env?.JEST_WORKER_ID}catch{return!1}},Rr=(e,t="")=>e,Fr=n(1085),zr={path:(0,Fr.jsx)(r.Fragment,{}),viewBox:"0 0 24 24",height:24,width:24},Hr=(0,r.forwardRef)(({id:e,children:t,className:n,title:i,viewBox:o=zr?.viewBox,iconHeight:a=zr.height,iconWidth:s=zr.width,colorScheme:l="",size:c="",onClick:u,fill:d="currentColor",_htmlProps:h={},_style:f={}},p)=>{let m=(0,r.useId)(),g=e||`sui-icon-${m}`,{suiInlineClassname:b}=br(f,n),v={id:g,ref:p,className:n=kr("sui-icon",{[l]:!Ir(l),[c]:!Ir(c)},b),title:i,viewBox:o,height:a,width:s,onClick:u,fill:d};u&&(v.tabIndex=0,v.onKeyDown=e=>Dr(e,u));let y=t??zr.path;return y=r.Children.map(y,e=>(0,r.cloneElement)(e,{fill:d})),(0,Fr.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",...v,...Rr(h),"data-testid":"svg-icon",children:[!!i&&(0,Fr.jsx)("title",{children:i}),y]})});Hr.displayName="Icon";var Ur=(e,t)=>{let{viewBox:n="0 0 24 24",title:i,defaultProps:o={}}=t,a="string"==typeof e;e=a?e:r.Children.toArray(e);let s=(0,r.forwardRef)((t,i)=>(0,Fr.jsx)(Hr,{ref:i,viewBox:n,...o,...t,"aria-hidden":!0,children:a||"string"==typeof e?(0,Fr.jsx)("path",{fill:"currentColor",d:e}):e?.map((e,t)=>(0,Fr.jsx)("path",{fill:"currentColor",d:e},t))}));return Ir(i??"")||(s.displayName=i),s},Vr=Object.defineProperty,$r={};((e,t)=>{for(var n in t)Vr(e,n,{get:t[n],enumerable:!0})})($r,{Add:()=>_a,AlignBottom:()=>ks,AlignCenter:()=>Ms,AlignCenterAlt:()=>Ds,AlignHorizontal:()=>As,AlignJustify:()=>Is,AlignLeft:()=>Es,AlignLeftAlt:()=>Ts,AlignRight:()=>Ss,AlignRightAlt:()=>Ls,AlignTop:()=>Os,ArrowDown:()=>os,ArrowLeft:()=>is,ArrowRight:()=>ns,ArrowUp:()=>rs,Async:()=>as,Ban:()=>po,Bell:()=>Po,Broom:()=>pa,Brush:()=>Sa,Bug:()=>Co,Calculator:()=>$s,CalculatorAlt:()=>Bs,Calendar:()=>jo,Captcha:()=>ga,CaretDown:()=>ps,CaretDownAlt:()=>ms,CaretLeft:()=>us,CaretLeftAlt:()=>ds,CaretRight:()=>ls,CaretRightAlt:()=>cs,CaretUp:()=>hs,CaretUpAlt:()=>fs,CaretUpDown:()=>gs,Cart:()=>ua,Chart:()=>cl,ChartAlt:()=>ul,Check:()=>fo,CheckAlt:()=>ho,CheckboxChecked:()=>Hs,CheckboxCheckedAlt:()=>Us,CheckboxIndeterminate:()=>Vs,ChevronDown:()=>Ja,ChevronLeft:()=>es,ChevronRight:()=>ts,ChevronUp:()=>Xa,Clock:()=>Wo,ClockAlt:()=>Zo,Close:()=>Ca,CloseAlt:()=>wa,Cloud:()=>Xo,CloudAdd:()=>Jo,CloudAlt:()=>ea,Code:()=>ta,Compress:()=>Ra,CompressAlt:()=>xs,Config:()=>La,Copy:()=>Ta,Css:()=>ll,Currency:()=>fa,Desktop:()=>$o,Dislike:()=>aa,DislikeAlt:()=>sa,Download:()=>vs,Edit:()=>Da,Email:()=>Oo,Emoji:()=>ha,Exit:()=>ws,Expand:()=>Fa,Export:()=>Ga,ExternalLink:()=>ss,Facebook:()=>qs,File:()=>Ua,FileCheck:()=>Va,FileCode:()=>$a,FileZip:()=>Ba,Filter:()=>Pa,FolderClose:()=>za,FolderOpen:()=>Ha,Footer:()=>Fs,Form:()=>Wa,Gift:()=>wo,Globe:()=>zo,Google:()=>Ks,GoogleTagManager:()=>Xs,Graduation:()=>qo,Grip:()=>Oa,Group:()=>ya,Hamburger:()=>Aa,Header:()=>Ns,Hide:()=>Fo,Html:()=>sl,Image:()=>Ya,Images:()=>Ka,Info:()=>so,InfoAlt:()=>lo,Inline:()=>Rs,InputNumber:()=>Ws,InputText:()=>Zs,Instagram:()=>Qs,Invoice:()=>Za,Js:()=>al,Key:()=>vo,Lifesaver:()=>la,Like:()=>ra,LikeAlt:()=>oa,Link:()=>Ia,Linkedin:()=>Ys,Lock:()=>go,LockAlt:()=>bo,Logo:()=>Wr,Menu:()=>fl,Merge:()=>ia,Mobile:()=>Bo,More:()=>Ma,Newspaper:()=>ma,Optimization:()=>Ko,Package:()=>Lo,PackageCheck:()=>No,PageBreak:()=>qa,Palette:()=>ka,Paypal:()=>ol,Performance:()=>So,Phone:()=>Mo,Pinterest:()=>el,Play:()=>Uo,Plugin:()=>yo,PluginAutomate:()=>Zr,PluginBeehive:()=>Yr,PluginBlc:()=>Kr,PluginBranda:()=>Xr,PluginDashboard:()=>Jr,PluginDefender:()=>Gr,PluginDisconnected:()=>_o,PluginForminator:()=>eo,PluginHummingbird:()=>to,PluginHustle:()=>no,PluginIvt:()=>io,PluginShipper:()=>ro,PluginSmartcrawl:()=>oo,PluginSmush:()=>Qr,PluginSnapshot:()=>ao,PluginThc:()=>Br,PluginUptime:()=>qr,Poll:()=>va,PowerOff:()=>mo,Question:()=>co,RadioSelected:()=>zs,Refresh:()=>Cs,Reports:()=>dl,Roadmap:()=>Ao,RotateLeft:()=>ys,RotateRight:()=>_s,Rss:()=>il,Save:()=>ja,Search:()=>ko,Server:()=>ca,Settings:()=>xa,Shield:()=>xo,ShieldCheck:()=>Eo,Show:()=>Ro,Signature:()=>pl,SignatureAlt:()=>Qa,Sitemap:()=>ba,SpacingHorizontal:()=>js,SpacingVertical:()=>Ps,Spinner:()=>Go,SpinnerAlt:()=>Qo,SquareCode:()=>na,Stop:()=>Vo,Stripe:()=>rl,Submit:()=>Yo,Tag:()=>da,Tiktok:()=>Js,Tools:()=>Ea,Trash:()=>Na,Tutorials:()=>hl,Twitter:()=>Gs,Upload:()=>bs,User:()=>To,UserAdd:()=>Do,UserAlt:()=>Io,Video:()=>Ho,Warning:()=>uo,Woocommerce:()=>nl,Wordpress:()=>tl});var Br=Ur(["M3 5.88889C3 3.74111 4.65918 2 6.70588 2C8.75258 2 10.4118 3.74111 10.4118 5.88889V8.11111C10.4118 8.72476 9.93771 9.22222 9.35294 9.22222C8.76817 9.22222 8.29412 8.72476 8.29412 8.11111V5.88889C8.29412 4.96841 7.58304 4.22222 6.70588 4.22222C5.82872 4.22222 5.11765 4.96841 5.11765 5.88889V18.1111C5.11765 19.0316 5.82872 19.7778 6.70588 19.7778C7.58304 19.7778 8.29412 19.0316 8.29412 18.1111V16.4444C8.29412 15.8308 8.76817 15.3333 9.35294 15.3333C9.93771 15.3333 10.4118 15.8308 10.4118 16.4444V18.1111C10.4118 20.2589 8.75258 22 6.70588 22C4.65918 22 3 20.2589 3 18.1111V5.88889Z","M21 5.88889C21 3.74111 19.3408 2 17.2941 2C15.2474 2 13.5882 3.74111 13.5882 5.88889V8.11111C13.5882 8.72476 14.0623 9.22222 14.6471 9.22222C15.2318 9.22222 15.7059 8.72476 15.7059 8.11111V5.88889C15.7059 4.96841 16.417 4.22222 17.2941 4.22222C18.1713 4.22222 18.8824 4.96841 18.8824 5.88889V18.1111C18.8824 19.0316 18.1713 19.7778 17.2941 19.7778C16.417 19.7778 15.7059 19.0316 15.7059 18.1111V16.4444C15.7059 13.3762 13.3356 10.8889 10.4118 10.8889H8.29412C7.70935 10.8889 7.23529 11.3863 7.23529 12C7.23529 12.6137 7.70935 13.1111 8.29412 13.1111H10.4118C12.1661 13.1111 13.5882 14.6035 13.5882 16.4444V18.1111C13.5882 20.2589 15.2474 22 17.2941 22C19.3408 22 21 20.2589 21 18.1111V5.88889Z"],{title:"PluginThc"}),Wr=Ur("M2.64994 12C2.64994 6.83609 6.83609 2.64994 12 2.64994C17.1639 2.64994 21.35 6.83609 21.35 12C21.35 17.1639 17.1639 21.35 12 21.35C6.83609 21.35 2.64994 17.1639 2.64994 12ZM12 0.999975C5.92484 0.999975 0.999975 5.92484 0.999975 12C0.999975 18.0751 5.92484 23 12 23C18.0751 23 23 18.0751 23 12C23 5.92484 18.0751 0.999975 12 0.999975ZM14.9562 16.9695C15.2745 17.1298 15.6261 17.213 15.9825 17.2123C16.3393 17.2127 16.6912 17.1295 17.0101 16.9695C17.3346 16.8082 17.6049 16.5556 17.7878 16.2427C17.9813 15.9208 18.082 15.5515 18.0785 15.1758V6.78724H16.5784V15.1758C16.579 15.2472 16.5647 15.318 16.5364 15.3835C16.5081 15.4491 16.4665 15.5081 16.4142 15.5567C16.2946 15.6616 16.1409 15.7195 15.9817 15.7195C15.8226 15.7195 15.6689 15.6616 15.5493 15.5567C15.4975 15.5078 15.4563 15.4487 15.4283 15.3832C15.4003 15.3177 15.386 15.2471 15.3865 15.1758V8.8237C15.3938 8.55457 15.3461 8.28679 15.2461 8.03681C15.1461 7.78683 14.996 7.55996 14.8051 7.37013C14.4098 6.99674 13.8866 6.7887 13.3428 6.7887C12.799 6.7887 12.2758 6.99674 11.8805 7.37013C11.6896 7.55996 11.5395 7.78683 11.4395 8.03681C11.3395 8.28679 11.2917 8.55457 11.2991 8.8237V15.1758C11.2992 15.2472 11.2848 15.3178 11.2565 15.3833C11.2283 15.4488 11.1868 15.5079 11.1348 15.5567C11.0152 15.6616 10.8615 15.7195 10.7024 15.7195C10.5432 15.7195 10.3896 15.6616 10.2699 15.5567C10.2176 15.5081 10.176 15.4491 10.1478 15.3835C10.1194 15.318 10.1051 15.2472 10.1057 15.1758V8.8237C10.1115 8.55403 10.0625 8.28595 9.96162 8.03576C9.86074 7.78556 9.71015 7.55847 9.51893 7.3682C9.32772 7.17793 9.09983 7.02846 8.84916 6.92886C8.59846 6.82925 8.33016 6.78158 8.06049 6.7887C7.49985 6.77932 6.95745 6.98776 6.54732 7.37013C6.34269 7.55204 6.18004 7.77626 6.07059 8.02722C5.96117 8.27821 5.9076 8.54999 5.91356 8.8237V17.2123H7.40202V8.8237C7.40184 8.75237 7.4163 8.68172 7.44457 8.61624C7.47285 8.55072 7.51427 8.49171 7.56628 8.44287C7.62351 8.38672 7.6919 8.34322 7.76705 8.31517C7.84216 8.28715 7.92233 8.27516 8.00235 8.28006C8.08233 8.2757 8.16235 8.28791 8.23739 8.31593C8.31243 8.34395 8.38086 8.38716 8.43842 8.44287C8.49024 8.49178 8.53145 8.55083 8.55947 8.61635C8.58748 8.68187 8.60169 8.75248 8.60122 8.8237V15.1758C8.59541 15.4456 8.64446 15.7138 8.74541 15.9641C8.84636 16.2144 8.9971 16.4416 9.18846 16.6319C9.37986 16.8222 9.60789 16.9716 9.85874 17.0711C10.1096 17.1707 10.3781 17.2182 10.6479 17.2108C11.2084 17.2196 11.7506 17.0112 12.161 16.6294C12.3651 16.447 12.5273 16.2227 12.6367 15.9718C12.746 15.721 12.8 15.4495 12.7948 15.1758V8.8237C12.7967 8.71694 12.8298 8.61308 12.8901 8.52492C12.9503 8.43676 13.0351 8.36822 13.1339 8.32771C13.2327 8.28719 13.3412 8.2765 13.446 8.297C13.5508 8.31746 13.6473 8.36819 13.7236 8.44287C13.7757 8.49171 13.8171 8.55072 13.8453 8.61624C13.8736 8.68172 13.888 8.75237 13.8879 8.8237V15.1758C13.8836 15.5516 13.9843 15.9211 14.1786 16.2427C14.3614 16.5556 14.6317 16.8083 14.9562 16.9695Z",{title:"Logo"}),Zr=Ur(["M3.29814 8.8806C1.93781 8.70377 0.955966 7.52812 1.00152 6.13079C1.05288 4.56587 2.36469 3.30021 3.90737 3.32803L13.5196 3.22038C14.973 3.20403 16.3424 3.67575 17.4473 4.50174C18.5804 5.28883 19.4609 6.43877 19.9049 7.82276L22.8423 16.9758C23.3565 18.4305 22.5706 20.0753 21.1022 20.6188C19.791 21.1039 18.3652 20.5442 17.7673 19.3096L14.4136 12.2779C14.0948 11.6093 13.6148 11.0465 13.0303 10.6299C12.4503 10.2072 11.7645 9.92976 11.0294 9.83869L3.29814 8.8806ZM18.1984 8.50896L18.1581 8.38335C17.8405 7.39356 17.2118 6.57193 16.4007 6.00844L16.3745 5.99024L16.3489 5.97115C15.5578 5.3798 14.5796 5.04315 13.5401 5.05485L13.4085 5.05632L13.2777 8.63646C13.5661 8.78307 13.8421 8.95208 14.103 9.14165C14.3655 9.32932 14.6131 9.53775 14.8435 9.7651L18.1984 8.50896ZM18.7596 10.2578L15.9758 11.3001C16.0081 11.3621 16.0393 11.4248 16.0696 11.4882L17.308 14.0849L19.7004 13.1892L18.7596 10.2578ZM20.2616 14.938L18.1008 15.747L19.4202 18.5134C19.5949 18.87 20.0148 19.0648 20.4654 18.8983C21.0174 18.694 21.2842 18.0727 21.1126 17.5872L21.1037 17.5619L20.2616 14.938ZM11.4634 8.04749L11.572 5.07689L8.49361 5.11136L8.40032 7.66427L11.2551 8.01804C11.3248 8.02669 11.3943 8.03651 11.4634 8.04749ZM6.57279 7.4378L6.65705 5.13193L3.9011 5.16279L3.8743 5.16231C3.35943 5.15303 2.85442 5.60262 2.83511 6.19096C2.81964 6.67107 3.13724 7.00774 3.53077 7.06082L6.57279 7.4378Z","M2.8329 12.0063L12.0058 12.0063V13.8409L2.8329 13.8409L2.8329 12.0063Z","M14.7577 15.6755H8.33664V17.5101H14.7577L14.7577 15.6755Z"],{title:"PluginAutomate"}),qr=Ur("M20 16.5278L12 20.5278L4 16.5278L4 6.99999L12 2.99998L20 6.99998V16.5278ZM12.8944 22.3167L20.8944 18.3167C21.572 17.9779 22 17.2854 22 16.5278V6.99998C22 6.24244 21.572 5.54991 20.8944 5.21113L12.8944 1.21113C12.3314 0.929602 11.6686 0.929602 11.1056 1.21113L3.10557 5.21113C2.42801 5.54991 2 6.24244 2 6.99998V16.5278C2 17.2854 2.42801 17.9779 3.10557 18.3167L11.1056 22.3167C11.6686 22.5982 12.3314 22.5982 12.8944 22.3167ZM12.7168 8.54335C12.6197 8.22773 12.3276 8.01276 11.9974 8.01392C11.6671 8.01508 11.3765 8.2321 11.2816 8.54841L10.2839 11.8741L9.15118 9.89181C9.03521 9.68886 8.83124 9.55158 8.59955 9.52055C8.36786 9.48952 8.13496 9.5683 7.96967 9.73359L6.68934 11.0139H5V12.5139H7C7.19891 12.5139 7.38968 12.4349 7.53033 12.2942L8.336 11.4886L9.84882 14.136C9.99761 14.3964 10.2872 14.5431 10.5852 14.5091C10.8832 14.475 11.1322 14.2667 11.2184 13.9794L12.0091 11.3437L13.2832 15.4845C13.367 15.7571 13.5983 15.9585 13.8799 16.0042C14.1614 16.0499 14.4445 15.9319 14.6103 15.6998L16.886 12.5139H19V11.0139H16.5C16.2578 11.0139 16.0305 11.1309 15.8897 11.328L14.271 13.5942L12.7168 8.54335Z",{title:"PluginUptime"}),Gr=Ur("M12 2l-9.5 2.7v8.3c0 4.1 4.7 9 9.5 9s9.5-4.9 9.5-9v-8.3l-9.5-2.7zM19.4 13c0 2.9-3.7 7-7.4 7v-8h-7.4v-5.8l7.4-2.1v7.9h7.4v1z",{title:"PluginDefender"}),Qr=Ur("M12 2c-5.5 0-10 4.5-10 10s4.5 10 10 10c5.5 0 10-4.5 10-10s-4.5-10-10-10zM12 20c-1.6 0-3-1.4-3-3s1.4-3 3-3c1.6 0 3 1.4 3 3s-1.4 3-3 3zM17.4 15.6c-0.1 0.4-0.2 0.8-0.4 1.2-0.1-1.3-0.6-2.4-1.5-3.3-0.9-1-2.2-1.5-3.5-1.5-1 0-2 0.3-2.8 0.8s-1.5 1.3-1.8 2.2c-0.2 0.6-0.4 1.2-0.4 1.8-0.3-0.7-0.5-1.5-0.5-2.3 0-1.5 0.6-2.9 1.6-3.9s2.4-1.6 3.9-1.6c1.1 0 2.2 0.3 3.1 0.9s1.6 1.5 2 2.5c0.4 1 0.5 2.1 0.3 3.2zM19.4 14.8c0-0.1 0-0.2 0-0.3 0-2-0.8-3.9-2.2-5.3s-3.2-2.2-5.2-2.2c-1.5 0-2.9 0.4-4.2 1.3-1.2 0.8-2.2 2-2.8 3.4-0.4 1-0.6 2.1-0.6 3.2-0.2-1-0.4-1.9-0.4-2.9 0-2.1 0.8-4.2 2.3-5.7s3.6-2.3 5.7-2.3c1.6 0 3.1 0.5 4.4 1.3 1.3 0.9 2.3 2.1 2.9 3.6 0.7 1.5 0.9 3.1 0.5 4.7-0.1 0.4-0.2 0.8-0.4 1.2z",{title:"PluginSmush"}),Yr=Ur(["M16.75 11.091h-1.9v4.545h1.9v-4.545z","M12 4.073l7.6 4v7.855l-7.6 4-7.6-4v-7.855l7.6-4zM12 2l-9.5 5v10l9.5 5 9.5-5v-10l-9.5-5z","M9.15 13.818h-1.9v1.818h1.9v-1.818z","M12.95 8.364h-1.9v7.273h1.9v-7.273z"],{title:"PluginBeehive"}),Kr=Ur(["M16.024 22c-0.514 0-1.027-0.070-1.541-0.21l-0.958-0.265c-0.528-0.14-0.847-0.684-0.708-1.229 0.139-0.531 0.68-0.852 1.222-0.712l0.958 0.265c2.11 0.573 4.304-0.698 4.873-2.849 0.278-1.034 0.139-2.123-0.389-3.045s-1.388-1.592-2.416-1.872l-2.36-0.587c-0.528-0.14-0.861-0.67-0.722-1.215 0.139-0.531 0.666-0.866 1.208-0.726l2.374 0.601c1.555 0.419 2.846 1.411 3.638 2.807s1 3.017 0.597 4.567c-0.722 2.696-3.138 4.469-5.776 4.469z","M7.985 22c-2.638 0-5.054-1.774-5.776-4.469-0.417-1.55-0.208-3.17 0.597-4.567 0.791-1.397 2.083-2.388 3.624-2.807l2.36-0.698c0.528-0.154 1.083 0.14 1.236 0.67s-0.139 1.089-0.666 1.243l-2.388 0.712c-1.055 0.279-1.902 0.95-2.444 1.872-0.528 0.922-0.666 2.011-0.389 3.045 0.569 2.137 2.763 3.422 4.873 2.849l0.958-0.265c0.528-0.14 1.069 0.168 1.222 0.712 0.139 0.531-0.167 1.075-0.708 1.229l-0.958 0.265c-0.528 0.14-1.041 0.21-1.541 0.21z","M6.069 16.497c-0.139-0.531 0.167-1.075 0.708-1.229l2.666-0.726c0.528-0.14 1.069 0.168 1.222 0.712 0.139 0.531-0.167 1.075-0.708 1.229l-2.666 0.726c-0.541 0.14-1.083-0.182-1.222-0.712z","M16.718 17.196l-2.666-0.726c-0.528-0.14-0.847-0.684-0.708-1.229 0.139-0.531 0.68-0.852 1.222-0.712l2.666 0.726c0.528 0.14 0.847 0.684 0.708 1.229s-0.694 0.866-1.222 0.712z","M11.998 6.777c-0.555 0-1-0.447-1-1.006v-2.765c0-0.559 0.444-1.006 1-1.006s1 0.447 1 1.006v2.779c0 0.545-0.444 0.992-1 0.992z","M15.649 7.81c-0.472-0.279-0.639-0.894-0.361-1.369l1.388-2.402c0.278-0.475 0.889-0.642 1.361-0.363s0.639 0.894 0.361 1.369l-1.402 2.402c-0.264 0.475-0.875 0.642-1.347 0.363z","M7.055 7.447l-1.388-2.402c-0.278-0.475-0.111-1.089 0.361-1.369s1.083-0.112 1.361 0.363l1.388 2.402c0.278 0.475 0.111 1.089-0.361 1.369s-1.083 0.112-1.361-0.363z"],{title:"PluginBlc"}),Xr=Ur("M19.23 10.060l-6.060-6.060h-9.17v9.1l6.86 6.1 8.37-9.14zM2 2h12l8 8-11 12-9-8v-12zM5.667 5.253c0.247-0.165 0.537-0.253 0.833-0.253 0.398 0 0.779 0.158 1.061 0.439s0.439 0.663 0.439 1.061c0 0.297-0.088 0.587-0.253 0.833s-0.399 0.439-0.673 0.552c-0.274 0.114-0.576 0.143-0.867 0.085s-0.558-0.201-0.768-0.411c-0.21-0.21-0.353-0.477-0.411-0.768s-0.028-0.593 0.085-0.867c0.114-0.274 0.306-0.508 0.552-0.673z",{title:"PluginBranda"}),Jr=Ur("M21.514 19.307c0.322-0.562 0.49-1.205 0.486-1.86v-14.401h-2.589v14.404c0 0.112-0.021 0.223-0.064 0.326s-0.105 0.195-0.183 0.272c-0.182 0.165-0.415 0.256-0.656 0.256s-0.474-0.091-0.656-0.256c-0.078-0.077-0.14-0.17-0.182-0.273s-0.064-0.214-0.063-0.326v-10.844c0.012-0.47-0.068-0.938-0.236-1.374s-0.42-0.832-0.74-1.162c-0.477-0.508-1.088-0.855-1.755-0.997s-1.359-0.072-1.988 0.201c-0.629 0.273-1.165 0.736-1.54 1.329s-0.572 1.291-0.565 2.003v10.844c0.002 0.111-0.018 0.221-0.058 0.324s-0.1 0.196-0.175 0.274c-0.087 0.087-0.19 0.154-0.303 0.198s-0.233 0.064-0.353 0.058c-0.12 0.007-0.241-0.013-0.354-0.057s-0.216-0.112-0.302-0.2c-0.078-0.076-0.141-0.169-0.183-0.272s-0.064-0.214-0.064-0.326v-10.844c0.012-0.47-0.068-0.937-0.236-1.374s-0.419-0.832-0.738-1.163c-0.32-0.336-0.702-0.6-1.123-0.776s-0.872-0.26-1.325-0.247c-0.932-0.011-1.831 0.355-2.51 1.023-0.341 0.318-0.612 0.709-0.795 1.147s-0.272 0.912-0.263 1.39v14.392h2.591v-14.392c-0.002-0.111 0.018-0.221 0.058-0.324s0.1-0.196 0.175-0.274c0.182-0.165 0.415-0.256 0.656-0.256s0.474 0.091 0.656 0.256c0.078 0.077 0.14 0.17 0.183 0.272s0.065 0.214 0.065 0.326v10.844c-0.012 0.47 0.069 0.937 0.236 1.374s0.418 0.832 0.737 1.163c0.32 0.333 0.7 0.594 1.119 0.768s0.867 0.258 1.318 0.245c0.933 0.015 1.836-0.348 2.519-1.013 0.341-0.318 0.612-0.71 0.795-1.147s0.273-0.912 0.265-1.389v-10.844c0.022-0.211 0.117-0.406 0.268-0.548s0.346-0.22 0.549-0.22c0.203 0 0.398 0.078 0.549 0.22s0.246 0.337 0.268 0.548v10.844c-0.005 0.655 0.164 1.299 0.488 1.86 0.306 0.545 0.757 0.985 1.298 1.267 0.53 0.278 1.114 0.422 1.707 0.422s1.177-0.145 1.706-0.422c0.545-0.28 1-0.722 1.307-1.269z",{title:"PluginDashboard"}),eo=Ur("M14.663 3.799h3.948c0.501 0 0.981 0.192 1.336 0.533s0.553 0.804 0.553 1.287v14.561c0 0.483-0.199 0.946-0.553 1.287s-0.835 0.533-1.336 0.533h-13.222c-0.501 0-0.981-0.192-1.336-0.533s-0.553-0.804-0.553-1.287v-14.561c0-0.483 0.199-0.946 0.553-1.287s0.835-0.533 1.336-0.533h3.948c0.199-0.527 0.561-0.982 1.037-1.304s1.044-0.494 1.626-0.494c0.582 0 1.15 0.173 1.626 0.494s0.839 0.777 1.037 1.304zM12.525 3.952c-0.155-0.1-0.338-0.153-0.525-0.153-0.25 0-0.491 0.096-0.668 0.267s-0.277 0.402-0.277 0.643c0 0.18 0.055 0.356 0.159 0.506s0.251 0.266 0.424 0.335c0.173 0.069 0.363 0.087 0.546 0.052s0.351-0.122 0.484-0.249c0.132-0.127 0.222-0.289 0.258-0.466s0.018-0.36-0.054-0.526c-0.071-0.166-0.192-0.308-0.348-0.408zM5.389 5.619v14.561h13.222v-14.561h-2.833v1.82h-7.556v-1.82h-2.833zM8.222 12.899h7.556c0.251 0 0.491 0.096 0.668 0.267s0.277 0.402 0.277 0.643c0 0.241-0.099 0.473-0.277 0.643s-0.417 0.267-0.668 0.267h-7.556c-0.25 0-0.491-0.096-0.668-0.267s-0.277-0.402-0.277-0.643c0-0.241 0.1-0.473 0.277-0.643s0.417-0.267 0.668-0.267zM15.778 10.168h-7.556c-0.25 0-0.491 0.096-0.668 0.267s-0.277 0.402-0.277 0.644c0 0.241 0.1 0.473 0.277 0.643s0.417 0.267 0.668 0.267h7.556c0.251 0 0.491-0.096 0.668-0.267s0.277-0.402 0.277-0.643c0-0.241-0.099-0.473-0.277-0.644s-0.417-0.267-0.668-0.267zM12 15.629h3.778c0.251 0 0.491 0.096 0.668 0.267s0.277 0.402 0.277 0.644c0 0.241-0.099 0.473-0.277 0.643s-0.417 0.267-0.668 0.267h-3.778c-0.25 0-0.491-0.096-0.668-0.267s-0.277-0.402-0.277-0.643c0-0.241 0.099-0.473 0.277-0.644s0.417-0.267 0.668-0.267z",{title:"PluginForminator"}),to=Ur(["M14.875 5.2l1.192 0.85-0.675 6.18-2.45 3.332-0.075 0.383-0.433 2.193-1.933-0.85 2.233-2.847 0.075-0.434 1.467-8.806h0.6zM12.892 3.5l-1.667 10.2-3.333 4.25 5.833 2.55 0.833-4.25 2.5-3.4 0.833-7.65-2.442-1.7h-2.558z","M8.275 8.83l3.721 0.285 0.275-1.688-9.88-0.756 8.931 6.436 0.306-1.867-3.353-2.41z","M22 5.2h-4.11l-0.159 1.472 4.27-0.622v-0.85z","M11.167 3.5h-2.5v0.85h2.5v-0.85z","M7.833 3.5h-0.833v0.85h0.833v-0.85z","M7.833 11.15h-4.167v0.85h4.167v-0.85z","M2.833 11.15h-0.833v0.85h0.833v-0.85z","M8.667 15.4h-1.667v0.85h1.667v-0.85z","M6.167 15.4h-0.833v0.85h0.833v-0.85z"],{title:"PluginHummingbird"}),no=Ur(["M10.575 12.291l3.429-2.289v1.71l3.998-1.71-5.138 3.999v-1.71l-2.289 1.71v-1.71z","M19.99 2.048c0.485 0.097 0.931 0.336 1.281 0.686 0.232 0.233 0.416 0.509 0.541 0.812s0.189 0.629 0.189 0.957v14.976c0 0.663-0.263 1.299-0.732 1.767s-1.104 0.732-1.767 0.732c-0.663 0-1.298-0.263-1.767-0.732s-0.732-1.104-0.732-1.767c0-1.939-2.659-2.389-5.997-2.479v2c0.012 0.397-0.057 0.793-0.203 1.162s-0.367 0.705-0.648 0.986c-0.281 0.281-0.617 0.501-0.986 0.648s-0.765 0.215-1.162 0.203c-0.397 0.012-0.793-0.057-1.162-0.203s-0.705-0.367-0.986-0.648c-0.281-0.281-0.501-0.617-0.648-0.986s-0.215-0.765-0.203-1.162v-2.229c-0.566-0.217-1.057-0.595-1.412-1.087s-0.559-1.077-0.587-1.683v-0.59c-0.294-0.101-0.549-0.29-0.73-0.543s-0.278-0.556-0.278-0.867c0-0.311 0.097-0.614 0.278-0.867s0.436-0.443 0.73-0.543v-0.59c0.039-0.783 0.367-1.523 0.921-2.078s1.295-0.883 2.077-0.921h2.999c4.378 0 7.997-0.19 7.997-2.499-0.001-0.495 0.145-0.979 0.42-1.391s0.665-0.733 1.122-0.922c0.457-0.19 0.96-0.239 1.446-0.142zM8.197 20.007c0.197-0.039 0.377-0.135 0.518-0.277v-0.020c0.093-0.093 0.166-0.204 0.216-0.326s0.075-0.252 0.074-0.384v-1.999h-1.999v1.999c-0.005 0.2 0.050 0.397 0.158 0.566s0.265 0.301 0.449 0.38c0.184 0.079 0.388 0.1 0.584 0.062zM19.854 19.853c0.094-0.094 0.146-0.221 0.146-0.354v-14.996c0-0.133-0.053-0.26-0.146-0.353s-0.221-0.146-0.353-0.146c-0.132 0-0.26 0.053-0.353 0.146s-0.146 0.221-0.146 0.353c0 4.499-5.997 4.499-9.996 4.499h-2.999c-0.253 0.035-0.487 0.151-0.668 0.332s-0.297 0.415-0.332 0.668v3.999c0.035 0.253 0.151 0.487 0.332 0.668s0.415 0.297 0.668 0.332h2.999c3.998 0 9.996 0 9.996 4.499 0 0.133 0.053 0.26 0.146 0.354s0.221 0.146 0.353 0.146c0.133 0 0.26-0.053 0.353-0.146z"],{title:"PluginHustle"}),io=Ur("M22 12c0 1.807-0.467 3.489-1.402 5.047-0.872 1.495-2.087 2.71-3.645 3.645-1.495 0.872-3.146 1.308-4.953 1.308s-3.489-0.436-5.047-1.308c-1.495-0.935-2.71-2.149-3.645-3.645-0.872-1.558-1.308-3.24-1.308-5.047s0.436-3.458 1.308-4.953c0.935-1.558 2.15-2.773 3.645-3.645 1.558-0.935 3.24-1.402 5.047-1.402s3.458 0.467 4.953 1.402c1.558 0.872 2.773 2.087 3.645 3.645 0.935 1.495 1.402 3.146 1.402 4.953zM19.944 12c0-1.495-0.405-2.866-1.215-4.112-0.748-1.308-1.807-2.305-3.178-2.991-1.308-0.685-2.71-0.966-4.206-0.841s-2.866 0.623-4.112 1.495l12.71 7.383v-0.935zM12 19.944c1.62 0 3.115-0.436 4.486-1.308 1.371-0.935 2.368-2.181 2.991-3.738l-2.804-1.589-9.159 5.234c1.308 0.934 2.804 1.402 4.486 1.402zM5.925 17.14l3.084-1.776v-6.449l-3.271-1.869c-1.122 1.433-1.682 3.084-1.682 4.953 0 0.935 0.156 1.869 0.467 2.804 0.312 0.872 0.779 1.651 1.402 2.337zM10.972 14.243l3.738-2.056-3.738-2.149v4.206z",{title:"PluginIvt"}),ro=Ur("M9.002 2h5.999v2.727h3c1.1 0 2 0.818 2 1.818v4.2l1.28 0.382c0.26 0.073 0.48 0.236 0.6 0.454s0.14 0.473 0.060 0.709l-1.89 6.073h-0.050c-1.6 0-3.020-0.8-3.999-1.818-0.98 1.018-2.4 1.818-3.999 1.818s-3.020-0.8-4-1.818c-0.98 1.018-2.4 1.818-4 1.818h-0.050l-1.9-6.073c-0.090-0.236-0.060-0.491 0.060-0.709s0.34-0.382 0.6-0.454l1.29-0.382v-4.2c0-1 0.9-1.818 2-1.818h3v-2.727zM13.001 3.818h-2v0.909h2v-0.909zM12.001 10.282l-5.379 1.591-2.4 0.718 1.13 3.6c0.54-0.273 0.94-0.636 1.14-0.845l1.51-1.564 1.51 1.564c0.34 0.364 1.28 1.2 2.49 1.2s2.15-0.836 2.49-1.2l1.51-1.564 1.51 1.573c0.2 0.209 0.6 0.582 1.14 0.855l1.12-3.609-2.39-0.709-5.379-1.609zM6.002 10.155l5.999-1.791 5.999 1.791v-3.609h-11.999v3.609zM12.001 20.145c1.39 0 2.78-0.391 3.999-1.164 1.22 0.773 2.61 1.2 3.999 1.2h2v1.818h-2c-1.38 0-2.74-0.309-3.999-0.9-1.26 0.591-2.63 0.882-3.999 0.882s-2.74-0.3-4-0.882c-1.26 0.582-2.62 0.9-4 0.9h-2v-1.818h2c1.39 0 2.78-0.427 4-1.2 1.22 0.773 2.61 1.164 4 1.164z",{title:"PluginShipper"}),oo=Ur("M16.445 5.348c-1.316-0.879-2.862-1.348-4.445-1.348-2.122 0-4.157 0.843-5.657 2.343s-2.343 3.535-2.343 5.657c0 1.050 0.207 2.085 0.603 3.046l8.046-8.046h-1.649v-1h4v4h-1v-1.664l-8.427 8.427c0.613 0.827 1.379 1.527 2.253 2.061l4.824-4.824h-1.65v-1h4v4h-1v-1.663l-4.319 4.32c1.254 0.38 2.587 0.447 3.88 0.19 1.552-0.309 2.977-1.071 4.096-2.189s1.881-2.544 2.189-4.096c0.309-1.552 0.15-3.16-0.455-4.622s-1.631-2.711-2.946-3.59zM6.444 3.685c1.644-1.099 3.578-1.685 5.556-1.685 2.652 0 5.196 1.054 7.071 2.929s2.929 4.419 2.929 7.071c0 1.978-0.587 3.911-1.685 5.556s-2.661 2.926-4.488 3.683c-1.827 0.757-3.838 0.955-5.778 0.569s-3.722-1.338-5.12-2.737c-1.399-1.398-2.351-3.18-2.737-5.12s-0.188-3.951 0.569-5.778c0.757-1.827 2.039-3.389 3.683-4.488z",{title:"PluginSmartcrawl"}),ao=Ur(["M7.553 20.867c-1.185-0.58-2.243-1.394-3.111-2.392s-1.528-2.162-1.942-3.422-0.573-2.59-0.468-3.913c0.105-1.323 0.473-2.61 1.081-3.788s1.444-2.22 2.459-3.067c1.015-0.847 2.188-1.48 3.45-1.863s2.588-0.507 3.898-0.366c1.311 0.141 2.58 0.545 3.733 1.188l-0.908 1.758c-1.765-0.92-3.81-1.137-5.726-0.606s-3.564 1.769-4.613 3.468-1.423 3.734-1.046 5.699c0.376 1.965 1.475 3.714 3.077 4.899s3.588 1.718 5.563 1.493c1.975-0.225 3.793-1.191 5.091-2.706s1.981-3.467 1.912-5.466c-0.065-1.871-0.783-3.655-2.023-5.041v1.778h-1v-4h4v1h-1.426c1.41 1.62 2.263 3.662 2.42 5.821 0.172 2.363-0.501 4.71-1.897 6.617s-3.423 3.25-5.716 3.785c-2.293 0.535-4.7 0.228-6.788-0.866l-0.020-0.010z","M16.080 8.78l-1.052 1.507-2.768-4.367-1.69 1.080 0.967 1.52h-4.547v2h1.77l-2.51 3.59 1.64 1.14 3.31-4.73h1.61l0.98 1.54-1.020 1.46h-1.61l-0.98-1.54-1.24 1.77 2.77 4.37 1.69-1.080-0.967-1.52h4.547v-2h-1.77l2.51-3.59-1.64-1.15z"],{title:"PluginSnapshot"}),so=Ur("M12 2C13.875 2.02604 15.5547 2.48177 17.0391 3.36719C18.5495 4.2526 19.7474 5.45052 20.6328 6.96094C21.5182 8.44531 21.974 10.125 22 12C21.974 13.875 21.5182 15.5547 20.6328 17.0391C19.7474 18.5495 18.5495 19.7474 17.0391 20.6328C15.5547 21.5182 13.875 21.974 12 22C10.125 21.974 8.44531 21.5182 6.96094 20.6328C5.45052 19.7474 4.2526 18.5495 3.36719 17.0391C2.48177 15.5547 2.02604 13.875 2 12C2.02604 10.125 2.48177 8.44531 3.36719 6.96094C4.2526 5.45052 5.45052 4.2526 6.96094 3.36719C8.44531 2.48177 10.125 2.02604 12 2ZM12 20.125C14.2917 20.0729 16.2057 19.2786 17.7422 17.7422C19.2786 16.2057 20.0729 14.2917 20.125 12C20.0729 9.70833 19.2786 7.79427 17.7422 6.25781C16.2057 4.72135 14.2917 3.92708 12 3.875C9.70833 3.92708 7.79427 4.72135 6.25781 6.25781C4.72135 7.79427 3.92708 9.70833 3.875 12C3.92708 14.2917 4.72135 16.2057 6.25781 17.7422C7.79427 19.2786 9.70833 20.0729 12 20.125ZM13.5625 15.125C14.1354 15.1771 14.4479 15.4896 14.5 16.0625C14.4479 16.6354 14.1354 16.9479 13.5625 17H10.4375C9.86458 16.9479 9.55208 16.6354 9.5 16.0625C9.55208 15.4896 9.86458 15.1771 10.4375 15.125H11.0625V12.625H10.75C10.1771 12.5729 9.86458 12.2604 9.8125 11.6875C9.86458 11.1146 10.1771 10.8021 10.75 10.75H12C12.5729 10.8021 12.8854 11.1146 12.9375 11.6875V15.125H13.5625ZM12 9.5C11.6354 9.5 11.3359 9.38281 11.1016 9.14844C10.8672 8.91406 10.75 8.61458 10.75 8.25C10.75 7.88542 10.8672 7.58594 11.1016 7.35156C11.3359 7.11719 11.6354 7 12 7C12.3646 7 12.6641 7.11719 12.8984 7.35156C13.1328 7.58594 13.25 7.88542 13.25 8.25C13.25 8.61458 13.1328 8.91406 12.8984 9.14844C12.6641 9.38281 12.3646 9.5 12 9.5Z",{title:"Info"}),lo=Ur("M12 2c-5.523 0-10 4.477-10 10s4.477 10 10 10c5.523 0 10-4.477 10-10s-4.477-10-10-10zM12 7c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25c-0.69 0-1.25-0.559-1.25-1.25s0.559-1.25 1.25-1.25zM13.563 17h-3.125c-0.516 0-0.938-0.418-0.938-0.938s0.42-0.938 0.938-0.938h0.625v-2.5h-0.312c-0.518 0-0.938-0.42-0.938-0.938s0.422-0.938 0.938-0.938h1.25c0.518 0 0.938 0.42 0.938 0.938v3.438h0.625c0.518 0 0.938 0.42 0.938 0.938s-0.418 0.938-0.938 0.938z",{title:"InfoAlt"}),co=Ur("M12 2C6.47656 2 2 6.47656 2 12C2 17.5234 6.47656 22 12 22C17.5234 22 22 17.5234 22 12C22 6.47656 17.5234 2 12 2ZM12 20.125C7.51953 20.125 3.875 16.4801 3.875 12C3.875 7.51992 7.51953 3.875 12 3.875C16.4805 3.875 20.125 7.51992 20.125 12C20.125 16.4801 16.4805 20.125 12 20.125ZM12 15.125C11.2969 15.125 10.75 15.6719 10.75 16.375C10.75 17.0781 11.2617 17.625 12 17.625C12.668 17.625 13.25 17.0781 13.25 16.375C13.25 15.6719 12.668 15.125 12 15.125ZM13.293 7H11.2969C9.77344 7 8.5625 8.21094 8.5625 9.73438C8.5625 10.2422 8.99219 10.6719 9.5 10.6719C10.0078 10.6719 10.4375 10.2422 10.4375 9.73438C10.4375 9.26562 10.793 8.875 11.2617 8.875H13.2578C13.7617 8.875 14.1875 9.26562 14.1875 9.73438C14.1875 10.0469 14.0312 10.2852 13.7578 10.4414L11.5312 11.8047C11.2188 12 11.0625 12.3125 11.0625 12.625V13.25C11.0625 13.7578 11.4922 14.1875 12 14.1875C12.5078 14.1875 12.9375 13.7578 12.9375 13.25V13.1719L14.6992 12.0781C15.5195 11.5703 16.0273 10.6719 16.0273 9.73438C16.0625 8.21094 14.8516 7 13.293 7Z",{title:"Question"}),uo=Ur("M12 2c-5.523 0-10 4.477-10 10s4.477 10 10 10c5.523 0 10-4.477 10-10s-4.477-10-10-10zM12 6c0.552 0 1 0.448 1 1v5c0 0.552-0.448 1-1 1s-1-0.448-1-1v-5c0-0.552 0.448-1 1-1zM12 17.5c-0.69 0-1.25-0.56-1.25-1.25s0.56-1.25 1.25-1.25c0.69 0 1.25 0.56 1.25 1.25s-0.56 1.25-1.25 1.25z",{title:"Warning"}),ho=Ur("M2 12c0-5.523 4.477-10 10-10s10 4.477 10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10zM16.523 10.273c0.426-0.426 0.426-1.121 0-1.547s-1.121-0.426-1.547 0l-4.227 4.227-1.727-1.726c-0.426-0.426-1.121-0.426-1.547 0s-0.426 1.121 0 1.547l2.5 2.5c0.426 0.426 1.121 0.426 1.547 0l5-5z",{title:"CheckAlt"}),fo=Ur("M21.658 5.315c0.456 0.422 0.456 1.105 0 1.486l-11.792 11.856c-0.38 0.458-1.059 0.458-1.479 0l-6.074-6.107c-0.419-0.382-0.419-1.064 0-1.486 0.419-0.418 1.098-0.418 1.516 0l5.317 5.348 11.033-11.097c0.42-0.419 1.099-0.419 1.479 0z",{title:"Check"}),po=Ur("M17.043 18.3711L5.62891 6.95703C4.53125 8.33984 3.875 10.0938 3.875 12C3.875 16.4883 7.51172 20.125 12 20.125C13.9062 20.125 15.6602 19.4688 17.043 18.3711ZM18.3672 17.0469C19.4688 15.6602 20.125 13.9062 20.125 12C20.125 7.51172 16.4883 3.875 12 3.875C10.0938 3.875 8.33984 4.53125 6.95703 5.62891L18.3711 17.043L18.3672 17.0469ZM2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12Z",{title:"Ban"}),mo=Ur("M13.267 12.518c0 0.53-0.424 0.956-0.95 0.956s-0.95-0.426-0.95-0.956v-9.562c0-0.528 0.423-0.956 0.95-0.956s0.95 0.428 0.95 0.956v9.562zM4.4 12.438c0 4.223 3.369 7.65 7.6 7.65 4.196 0 7.6-3.426 7.6-7.65 0-2.526-1.215-4.769-3.095-6.163-0.424-0.312-0.515-0.911-0.202-1.336 0.309-0.425 0.906-0.516 1.326-0.202 2.347 1.738 3.871 4.543 3.871 7.702 0 5.283-4.255 9.562-9.5 9.562s-9.5-4.279-9.5-9.562c0-3.159 1.525-5.964 3.871-7.702 0.42-0.313 1.017-0.223 1.326 0.202 0.313 0.425 0.222 1.024-0.202 1.336-1.879 1.394-3.131 3.637-3.131 6.163h0.036z",{title:"PowerOff"}),go=Ur("M7.429 9.75v-2.25c0-2.485 2.046-4.5 4.571-4.5s4.571 2.015 4.571 4.5v2.25h1.143c1.261 0 2.286 1.009 2.286 2.25v6.75c0 1.241-1.025 2.25-2.286 2.25h-11.429c-1.263 0-2.286-1.009-2.286-2.25v-6.75c0-1.241 1.023-2.25 2.286-2.25h1.143zM9.143 9.75h5.714v-2.25c0-1.553-1.278-2.813-2.857-2.813s-2.857 1.259-2.857 2.813v2.25zM5.714 18.75c0 0.309 0.256 0.563 0.571 0.563h11.429c0.314 0 0.571-0.253 0.571-0.563v-6.75c0-0.309-0.257-0.563-0.571-0.563h-11.429c-0.316 0-0.571 0.253-0.571 0.563v6.75z",{title:"Lock"}),bo=Ur("M6.857 9.75v-1.688c0-2.796 2.304-5.063 5.143-5.063s5.143 2.267 5.143 5.063v1.688h0.571c1.261 0 2.286 1.009 2.286 2.25v6.75c0 1.241-1.025 2.25-2.286 2.25h-11.429c-1.263 0-2.286-1.009-2.286-2.25v-6.75c0-1.241 1.023-2.25 2.286-2.25h0.571zM9.143 9.75h5.714v-1.688c0-1.553-1.278-2.813-2.857-2.813s-2.857 1.259-2.857 2.813v1.688z",{title:"LockAlt"}),vo=Ur("M14.813 8.063c0-0.622 0.503-1.125 1.125-1.125s1.125 0.503 1.125 1.125c0 0.622-0.503 1.125-1.125 1.125s-1.125-0.503-1.125-1.125zM14.813 15.375c-0.334 0-0.661-0.025-0.981-0.077l-0.984 0.925c-0.127 0.19-0.341 0.278-0.566 0.278h-1.406v1.406c0 0.468-0.376 0.844-0.844 0.844h-1.406v1.406c0 0.468-0.376 0.844-0.844 0.844h-3.938c-0.466 0-0.844-0.376-0.844-0.844v-3.937c0-0.225 0.089-0.439 0.247-0.598l5.455-5.453c-0.049-0.32-0.077-0.647-0.077-0.981 0-3.417 2.77-6.188 6.187-6.188s6.188 2.77 6.188 6.188c0 3.417-2.77 6.188-6.188 6.188zM14.813 13.688c2.486 0 4.5-2.014 4.5-4.5s-2.014-4.5-4.5-4.5-4.5 2.014-4.5 4.5c0 0.243 0.018 0.482 0.056 0.714l0.134 0.851-5.846 5.815v2.746h2.25v-2.25h2.25v-2.25h2.777l1.315-1.315 0.851 0.134c0.232 0.039 0.471 0.056 0.714 0.056z",{title:"Key"}),yo=Ur("M8.25 2c0.52 0 0.938 0.42 0.938 0.938v3.438h-1.875v-3.438c0-0.518 0.42-0.938 0.938-0.938zM15.75 2c0.519 0 0.938 0.42 0.938 0.938v3.438h-1.875v-3.438c0-0.518 0.418-0.938 0.938-0.938zM18.563 7.625c0.519 0 0.938 0.418 0.938 0.938s-0.418 0.938-0.938 0.938h-0.312v2.5c0 3.133-2.34 5.727-5.313 6.18v3.82h-1.875v-3.82c-3.007-0.453-5.313-3.047-5.313-6.18v-2.5h-0.312c-0.518 0-0.938-0.418-0.938-0.938s0.42-0.937 0.938-0.937h13.125zM12 16.375c2.418 0 4.375-1.957 4.375-4.375v-2.5h-8.75v2.5c0 2.418 1.957 4.375 4.375 4.375z",{title:"Plugin"}),_o=Ur("M4.66667 2C5.17465 2 5.58333 2.41992 5.58333 2.9375V6.375H3.75V2.9375C3.75 2.41992 4.16059 2 4.66667 2ZM12 2C12.508 2 12.9167 2.41992 12.9167 2.9375V6.375H11.0833V2.9375C11.0833 2.41992 11.492 2 12 2ZM14.75 7.625C15.258 7.625 15.6667 8.04297 15.6667 8.5625C15.6667 9.08203 15.258 9.5 14.75 9.5H14.4444V10.25C13.7226 10.6094 13.1382 11.0859 12.6111 11.6562V9.5H4.05556V12C4.05556 14.418 5.9691 16.375 8.33333 16.375C9.26146 16.375 10.1247 16.0703 10.8236 15.5586C10.7931 15.8242 10.7778 16.0977 10.7778 16.375C10.7778 16.8203 10.8198 17.2539 10.8962 17.6758C10.3844 17.918 9.83055 18.0898 9.25 18.1797V22H7.41667V18.1797C4.47646 17.7266 2.22222 15.1328 2.22222 11.9648V9.46484H1.91667C1.41059 9.46484 1 9.08203 1 8.52734C1 8.04297 1.41059 7.58984 1.91667 7.58984L14.75 7.625ZM12 16.375C12 13.2695 14.4635 10.75 17.5 10.75C20.5365 10.75 23 13.2695 23 16.375C23 19.4805 20.5365 22 17.5 22C14.4635 22 12 19.4805 12 16.375ZM17.5 20.125C18.008 20.125 18.4167 19.707 18.4167 19.1875C18.4167 18.668 18.008 18.25 17.5 18.25C16.992 18.25 16.5833 18.668 16.5833 19.1875C16.5833 19.707 16.992 20.125 17.5 20.125ZM16.8545 13.25V16.375C16.8545 16.7187 17.1639 17 17.4656 17C17.8361 17 18.0767 16.7187 18.0767 16.375V13.25C18.0767 12.9062 17.8361 12.625 17.4656 12.625C17.1639 12.625 16.8545 12.9062 16.8545 13.25Z",{title:"PluginDisconnected"}),Co=Ur("M12 2C14.0703 2 15.75 3.67952 15.75 5.74963V5.89024C15.75 6.50347 15.2539 6.99951 14.6406 6.99951H9.35938C8.74609 6.99951 8.25 6.50347 8.25 5.89024V5.74963C8.25 3.67952 9.92969 2 12 2ZM3.52344 6.02304C3.89062 5.65589 4.48438 5.65589 4.84766 6.02304L7.67578 8.85089C8.30078 8.47202 9.03125 8.24939 9.8125 8.24939H14.1875C14.9688 8.24939 15.6992 8.47202 16.3203 8.8548L19.1484 6.02304C19.5156 5.65589 20.1094 5.65589 20.4727 6.02304C20.8359 6.3902 20.8398 6.98389 20.4727 7.34713L17.6445 10.175C18.0273 10.7999 18.25 11.5303 18.25 12.3115H21.0625C21.582 12.3115 22 12.7294 22 13.2489C22 13.7684 21.582 14.1863 21.0625 14.1863H18.25V14.4988C18.25 15.5612 17.9844 16.5611 17.5156 17.4399L20.4766 20.3966C20.8438 20.7638 20.8438 21.3575 20.4766 21.7207C20.1094 22.084 19.5156 22.0879 19.1523 21.7207L16.3828 18.9515C15.2539 20.0646 13.707 20.7482 12 20.7482C10.293 20.7482 8.74609 20.0646 7.61719 18.9554L4.85156 21.7246C4.48438 22.0918 3.89062 22.0918 3.52734 21.7246C3.16406 21.3575 3.16016 20.7638 3.52734 20.4005L6.48828 17.4399C6.01562 16.5611 5.75 15.5612 5.75 14.4988V14.1863H2.9375C2.41797 14.1863 2 13.7684 2 13.2489C2 12.7294 2.41797 12.3115 2.9375 12.3115H5.75C5.75 11.5303 5.97266 10.7999 6.35547 10.1789L3.52344 7.35104C3.15625 6.98389 3.15625 6.3902 3.52344 6.02695V6.02304ZM7.625 12.3115V14.4988C7.625 16.5923 9.09766 18.3422 11.0625 18.7718V12.9364C11.0625 12.417 11.4805 11.999 12 11.999C12.5195 11.999 12.9375 12.417 12.9375 12.9364V18.7718C14.9023 18.3422 16.375 16.5923 16.375 14.4988V12.3115C16.375 11.1046 15.3945 10.1242 14.1875 10.1242H9.8125C8.60547 10.1242 7.625 11.1046 7.625 12.3115Z",{title:"Bug"}),wo=Ur("M12 5.33828L12.9414 3.73633C13.5742 2.66055 14.7305 2 15.9766 2H16.0625C17.9609 2 19.5 3.53906 19.5 5.4375C19.5 6 19.3633 6.49609 19.125 7H20.125C21.1602 7 22 7.83984 22 8.875V11.375C22 12.1914 21.4766 12.8867 20.75 13.1445V19.5C20.75 20.8789 19.6289 22 18.25 22H5.75C4.36914 22 3.25 20.8789 3.25 19.5V13.1445C2.52188 12.8867 2 12.1914 2 11.375V8.875C2 7.83984 2.83945 7 3.875 7H4.875C4.63516 6.49609 4.5 6 4.5 5.4375C4.5 3.53906 6.03906 2 7.9375 2H8.02344C9.26953 2 10.4258 2.66055 11.0586 3.73633L12 5.33828ZM13.25 8.875V11.375H20.125V8.875H13.25ZM10.75 8.875H3.875V11.375H10.75V8.875ZM10.75 13.25H5.125V19.5C5.125 19.8438 5.40469 20.125 5.75 20.125H10.75V13.25ZM13.25 20.125H18.25C18.5938 20.125 18.875 19.8438 18.875 19.5V13.25H13.25V20.125ZM16.0625 7C16.9258 7 17.625 6.30078 17.625 5.4375C17.625 4.57461 16.9258 3.875 16.0625 3.875H15.9766C15.3945 3.875 14.8555 4.18398 14.5586 4.68672L13.1992 7H16.0625ZM10.8008 7L9.44141 4.68672C9.14453 4.18398 8.60547 3.875 8.02344 3.875H7.9375C7.07422 3.875 6.375 4.57461 6.375 5.4375C6.375 6.30078 7.07422 7 7.9375 7H10.8008Z",{title:"Gift"}),xo=Ur("M12.558 1.62l7.846 3.295c0.917 0.385 1.604 1.279 1.596 2.323-0.021 4.129-1.717 11.615-8.9 15.018-0.692 0.326-1.504 0.326-2.2 0-7.18-3.403-8.88-10.889-8.9-15.018-0.005-1.044 0.68-1.938 1.596-2.323l7.85-3.295c0.171-0.079 0.363-0.12 0.554-0.12 0.196 0 0.383 0.042 0.558 0.12zM12 3.538l-7.623 3.164c-0.247 0.14-0.378 0.355-0.377 0.561 0.019 3.774 1.6 10.283 7.767 13.207 0.146 0.070 0.321 0.070 0.471 0 6.167-2.924 7.746-9.433 7.762-13.207 0.004-0.206-0.129-0.421-0.413-0.561l-7.587-3.164z",{title:"Shield"}),Eo=Ur("M20.223 5.27l-7.5-3.125c-0.23-0.098-0.475-0.145-0.72-0.145s-0.491 0.047-0.721 0.144l-7.5 3.125c-0.698 0.288-1.157 0.972-1.157 1.695 0 10.090 7.398 15.035 9.371 15.035 1.926 0 9.379-4.871 9.379-15.035 0-0.723-0.457-1.407-1.152-1.695zM12 20.125c-3.809-1.586-7.5-6.512-7.5-13.125l7.5-3.125 7.5 3.125c0 6.789-3.844 11.602-7.5 13.125zM9.816 11.648c-0.148-0.184-0.391-0.309-0.629-0.309-0.536 0-0.938 0.438-0.938 0.938 0 0.273 0.090 0.516 0.273 0.664l1.875 1.875c0.176 0.211 0.418 0.273 0.664 0.273 0.101 0 0.448-0.019 0.712-0.327l3.75-4.375c0.152-0.177 0.226-0.394 0.226-0.61 0-0.289-0.226-0.937-0.937-0.937-0.264 0-0.527 0.111-0.712 0.327l-3.089 3.642-1.195-1.16z",{title:"ShieldCheck"}),So=Ur("M12 5.125c0.691 0 1.25 0.56 1.25 1.25 0 0.691-0.559 1.25-1.25 1.25s-1.25-0.559-1.25-1.25c0-0.69 0.559-1.25 1.25-1.25zM12 17.937c-1.207 0-2.187-0.981-2.187-2.187s0.981-2.187 2.187-2.187c0.402 0 0.777 0.109 1.102 0.297l4.305-2.945c0.43-0.293 1.012-0.184 1.305 0.242 0.293 0.43 0.184 1.012-0.242 1.305l-4.309 2.945c0.019 0.113 0.027 0.227 0.027 0.344 0 1.207-0.981 2.187-2.187 2.187zM15.75 7c0.691 0 1.25 0.559 1.25 1.25s-0.559 1.25-1.25 1.25c-0.691 0-1.25-0.559-1.25-1.25s0.559-1.25 1.25-1.25zM6.375 13.25c-0.69 0-1.25-0.559-1.25-1.25s0.56-1.25 1.25-1.25c0.691 0 1.25 0.559 1.25 1.25s-0.559 1.25-1.25 1.25zM8.25 7c0.691 0 1.25 0.559 1.25 1.25s-0.559 1.25-1.25 1.25c-0.691 0-1.25-0.559-1.25-1.25s0.559-1.25 1.25-1.25zM12 22c-5.523 0-10-4.477-10-10s4.477-10 10-10c5.523 0 10 4.477 10 10s-4.477 10-10 10zM20.125 12c0-4.488-3.637-8.125-8.125-8.125s-8.125 3.637-8.125 8.125c0 4.488 3.637 8.125 8.125 8.125s8.125-3.637 8.125-8.125z",{title:"Performance"}),ko=Ur("M21.697 20.398l-5.236-5.234c1.133-1.387 1.758-3.133 1.758-5.039 0-4.488-3.639-8.125-8.127-8.125s-8.092 3.638-8.092 8.125c0 4.487 3.638 8.125 8.092 8.125 1.906 0 3.655-0.66 5.040-1.759l5.236 5.234c0.219 0.185 0.461 0.275 0.699 0.275s0.48-0.092 0.663-0.275c0.364-0.366 0.364-0.96-0.034-1.327zM3.876 10.125c0-3.446 2.805-6.25 6.252-6.25s6.252 2.804 6.252 6.25-2.805 6.25-6.252 6.25c-3.447 0-6.252-2.805-6.252-6.25z",{title:"Search"}),Oo=Ur("M2 7c0-1.381 1.119-2.5 2.5-2.5h15c1.379 0 2.5 1.119 2.5 2.5v10c0 1.379-1.121 2.5-2.5 2.5h-15c-1.381 0-2.5-1.121-2.5-2.5v-10zM3.875 7v0.863l6.738 5.531c0.805 0.664 1.969 0.664 2.773 0l6.738-5.531v-0.898c0-0.309-0.281-0.625-0.625-0.625h-15c-0.345 0-0.625 0.316-0.625 0.625v0.035zM3.875 10.289v6.711c0 0.344 0.28 0.625 0.625 0.625h15c0.344 0 0.625-0.281 0.625-0.625v-6.711l-5.547 4.555c-1.5 1.23-3.656 1.23-5.191 0l-5.512-4.555z",{title:"Email"}),Mo=Ur("M16.6797 12.7503C16.0391 12.4769 15.2969 12.6565 14.8555 13.1956L13.5586 14.7815C11.7617 13.7386 10.2617 12.2386 9.21875 10.4417L10.8008 9.14873C11.3398 8.70732 11.5234 7.96514 11.2461 7.32451L9.37109 2.94951C9.07812 2.26201 8.33984 1.8792 7.60938 2.03545L3.23438 2.97295C2.51562 3.12529 2 3.76201 2 4.50029C2 13.5315 8.84375 20.969 17.6289 21.9026C18.0117 21.9417 18.3945 21.9729 18.7852 21.9886H18.7891C19.0273 21.9964 19.2617 22.0042 19.5 22.0042C20.2383 22.0042 20.875 21.4886 21.0273 20.7698L21.9648 16.3948C22.1211 15.6644 21.7383 14.9261 21.0508 14.6331L16.6758 12.7581L16.6797 12.7503ZM19.2461 20.1253C10.8203 19.9886 4.01172 13.18 3.87891 4.7542L7.75391 3.92217L9.43359 7.84404L8.03125 8.99248C7.32031 9.57451 7.13672 10.5862 7.59766 11.3831C8.80469 13.4651 10.5391 15.1995 12.6211 16.4065C13.418 16.8675 14.4297 16.6839 15.0117 15.9729L16.1602 14.5706L20.082 16.2503L19.2461 20.1253Z",{title:"Phone"}),Ao=Ur("M15.333 8.895c0 1.818-1.492 3.29-3.333 3.29s-3.333-1.472-3.333-3.29c0-1.818 1.492-3.29 3.333-3.29s3.333 1.472 3.333 3.29zM12 7.58c-0.738 0-1.333 0.588-1.333 1.316s0.596 1.316 1.333 1.316c0.738 0 1.333-0.588 1.333-1.316s-0.596-1.316-1.333-1.316zM20 8.895c0 3.594-4.875 9.993-7.012 12.633-0.513 0.629-1.463 0.629-1.975 0-2.175-2.64-7.013-9.039-7.013-12.633 0-4.361 3.582-7.895 8-7.895 4.417 0 8 3.535 8 7.895zM12 2.974c-3.312 0-6 2.652-6 5.922 0 0.51 0.187 1.299 0.637 2.352 0.437 1.020 1.057 2.147 1.771 3.286 1.183 1.9 2.558 3.701 3.592 5.042 1.033-1.341 2.408-3.142 3.592-5.042 0.713-1.139 1.333-2.266 1.771-3.286 0.45-1.053 0.638-1.842 0.638-2.352 0-3.269-2.688-5.922-6-5.922z",{title:"Roadmap"}),Po=Ur("M13.286 3.25v0.698c2.913 0.45 5.143 2.903 5.143 5.864v1.305c0 1.773 0.623 3.496 1.76 4.883l0.599 0.727c0.233 0.281 0.277 0.668 0.117 0.992s-0.498 0.531-0.868 0.531h-16.072c-0.371 0-0.709-0.207-0.869-0.531s-0.115-0.711 0.116-0.992l0.599-0.727c1.14-1.387 1.761-3.109 1.761-4.883v-1.305c0-2.961 2.23-5.414 5.143-5.864v-0.698c0-0.69 0.575-1.25 1.286-1.25s1.286 0.56 1.286 1.25zM11.679 5.75c-2.306 0-4.179 1.82-4.179 4.062v1.305c0 1.871-0.558 3.695-1.595 5.258h12.19c-1.037-1.563-1.595-3.387-1.595-5.258v-1.305c0-2.242-1.872-4.062-4.179-4.062h-0.643zM14.572 19.5c0 0.629-0.269 1.301-0.751 1.77s-1.173 0.73-1.82 0.73c-0.683 0-1.338-0.262-1.82-0.73s-0.751-1.141-0.751-1.77h5.143z",{title:"bell"}),jo=Ur("M9.107 4.5h5.786v-1.563c0-0.518 0.43-0.938 0.964-0.938s0.964 0.42 0.964 0.938v1.563h1.607c1.418 0 2.571 1.119 2.571 2.5v12.5c0 1.379-1.153 2.5-2.571 2.5h-12.857c-1.42 0-2.571-1.121-2.571-2.5v-12.5c0-1.381 1.151-2.5 2.571-2.5h1.607v-1.563c0-0.518 0.43-0.938 0.964-0.938s0.964 0.42 0.964 0.938v1.563zM4.929 19.5c0 0.344 0.288 0.625 0.643 0.625h12.857c0.354 0 0.643-0.281 0.643-0.625v-10h-14.143v10z",{title:"Calendar"}),Io=Ur("M12 6.375c-0.963 0.026-1.771 0.365-2.422 1.016s-0.99 1.458-1.016 2.422c0.026 0.963 0.365 1.771 1.016 2.422s1.458 0.99 2.422 1.016c0.963-0.026 1.771-0.365 2.422-1.016s0.99-1.458 1.016-2.422c-0.026-0.964-0.365-1.771-1.016-2.422s-1.458-0.99-2.422-1.016zM12 11.375c-0.443 0-0.807-0.156-1.094-0.469-0.312-0.286-0.469-0.651-0.469-1.094s0.156-0.807 0.469-1.094c0.287-0.312 0.651-0.469 1.094-0.469s0.807 0.156 1.094 0.469c0.312 0.286 0.469 0.651 0.469 1.094s-0.156 0.807-0.469 1.094c-0.287 0.313-0.651 0.469-1.094 0.469zM12 2c-1.875 0.026-3.555 0.482-5.039 1.367-1.51 0.885-2.708 2.083-3.594 3.594-0.885 1.484-1.341 3.164-1.367 5.039 0.026 1.875 0.482 3.555 1.367 5.039 0.885 1.51 2.083 2.708 3.594 3.594 1.484 0.885 3.164 1.341 5.039 1.367 1.875-0.026 3.555-0.482 5.039-1.367 1.51-0.885 2.708-2.083 3.594-3.594 0.885-1.484 1.341-3.164 1.367-5.039-0.026-1.875-0.482-3.555-1.367-5.039-0.885-1.51-2.083-2.708-3.594-3.594-1.484-0.885-3.164-1.341-5.039-1.367zM12 20.125c-1.849-0.026-3.464-0.573-4.844-1.641 0.339-0.651 0.807-1.159 1.406-1.524 0.599-0.391 1.276-0.586 2.031-0.586h2.812c0.755 0 1.432 0.195 2.031 0.586 0.599 0.365 1.081 0.872 1.445 1.524-1.406 1.068-3.034 1.615-4.883 1.641zM18.25 17.195c-0.521-0.833-1.211-1.497-2.070-1.992-0.833-0.469-1.758-0.703-2.774-0.703h-2.812c-1.016 0-1.94 0.234-2.774 0.703s-1.523 1.12-2.070 1.953c-1.198-1.432-1.823-3.151-1.875-5.156 0.052-2.292 0.846-4.206 2.383-5.742s3.451-2.331 5.742-2.383c2.292 0.052 4.206 0.846 5.742 2.383s2.331 3.451 2.383 5.742c-0.052 2.005-0.677 3.737-1.875 5.195z",{title:"UserAlt"}),To=Ur("M13.714 13.688h-3.429c-3.471 0-6.286 2.77-6.286 6.188 0 0.621 0.512 1.125 1.143 1.125h13.714c0.631 0 1.143-0.504 1.143-1.125 0-3.417-2.814-6.188-6.286-6.188zM5.75 19.313c0.282-2.218 2.208-3.938 4.536-3.938h3.429c2.327 0 4.254 1.721 4.536 3.938h-12.5zM12 12c2.525 0 4.571-2.015 4.571-4.5s-2.047-4.5-4.571-4.5c-2.525 0-4.571 2.015-4.571 4.5s2.046 4.5 4.571 4.5zM12 4.688c1.575 0 2.857 1.262 2.857 2.813s-1.282 2.813-2.857 2.813c-1.575 0-2.857-1.262-2.857-2.813s1.282-2.813 2.857-2.813z",{title:"User"}),Do=Ur("M5.95 7.5C5.95 6.75408 6.23973 6.03871 6.75546 5.51126C7.27118 4.98382 7.97065 4.6875 8.7 4.6875C9.42935 4.6875 10.1288 4.98382 10.6445 5.51126C11.1603 6.03871 11.45 6.75408 11.45 7.5C11.45 8.24592 11.1603 8.96129 10.6445 9.48874C10.1288 10.0162 9.42935 10.3125 8.7 10.3125C7.97065 10.3125 7.27118 10.0162 6.75546 9.48874C6.23973 8.96129 5.95 8.24592 5.95 7.5ZM13.1 7.5C13.1 6.30653 12.6364 5.16193 11.8113 4.31802C10.9861 3.47411 9.86695 3 8.7 3C7.53305 3 6.41389 3.47411 5.58873 4.31802C4.76357 5.16193 4.3 6.30653 4.3 7.5C4.3 8.69347 4.76357 9.83807 5.58873 10.682C6.41389 11.5259 7.53305 12 8.7 12C9.86695 12 10.9861 11.5259 11.8113 10.682C12.6364 9.83807 13.1 8.69347 13.1 7.5ZM10.2709 15.375C12.5294 15.375 14.3994 17.0871 14.7053 19.3125H2.69469C3.00062 17.0871 4.87063 15.375 7.12906 15.375H10.2709ZM7.12906 13.6875C3.74313 13.6875 1 16.493 1 19.9559C1 20.5324 1.45719 21 2.02094 21H15.3791C15.9428 21 16.4 20.5324 16.4 19.9559C16.4 16.493 13.6569 13.6875 10.2709 13.6875H8.7H7.12906ZM18.325 13.9688C18.325 14.4363 18.6928 14.8125 19.15 14.8125C19.6072 14.8125 19.975 14.4363 19.975 13.9688V11.7188H22.175C22.6322 11.7188 23 11.3426 23 10.875C23 10.4074 22.6322 10.0312 22.175 10.0312H19.975V7.78125C19.975 7.31367 19.6072 6.9375 19.15 6.9375C18.6928 6.9375 18.325 7.31367 18.325 7.78125V10.0312H16.125C15.6678 10.0312 15.3 10.4074 15.3 10.875C15.3 11.3426 15.6678 11.7188 16.125 11.7188H18.325V13.9688Z",{title:"UserAdd"}),Lo=Ur("M17.286 2c1.13 0 2.152 0.665 2.612 1.697l1.857 4.178c0.161 0.366 0.246 0.759 0.246 1.161v10.107c0 1.576-1.281 2.857-2.857 2.857h-14.286c-1.578 0-2.857-1.281-2.857-2.857v-10.107c0-0.402 0.084-0.795 0.246-1.161l1.857-4.178c0.458-1.032 1.482-1.697 2.611-1.697h10.571zM17.286 4.143h-4.214v3.571h6.268l-1.402-3.147c-0.112-0.258-0.37-0.424-0.652-0.424zM19.857 9.857h-15.714v9.286c0 0.393 0.32 0.714 0.714 0.714h14.286c0.393 0 0.714-0.321 0.714-0.714v-9.286zM4.662 7.714h6.266v-3.571h-4.214c-0.283 0-0.538 0.166-0.653 0.424l-1.399 3.147z",{title:"Package"}),No=Ur("M3.667 17.1c0 0.312 0.249 0.567 0.556 0.567h7.052c0.267 0.62 0.601 1.194 1.010 1.7h-8.062c-1.227 0-2.222-1.017-2.222-2.267v-8.018c0-0.319 0.065-0.63 0.192-0.921l1.444-3.315c0.357-0.819 1.152-1.346 2.031-1.346h8.222c0.879 0 1.674 0.528 2.031 1.346l1.444 3.315c0.125 0.29 0.191 0.602 0.191 0.921v0.11c-0.184-0.018-0.368-0.025-0.556-0.025-0.91 0-1.774 0.202-2.549 0.567h-10.785v7.367zM13.889 5.2h-3.278v2.833h4.875l-1.090-2.497c-0.087-0.205-0.288-0.336-0.507-0.336zM4.071 8.033h4.874v-2.833h-3.278c-0.22 0-0.419 0.132-0.508 0.336l-1.088 2.497zM22 15.4c0 2.816-2.24 5.1-5 5.1s-5-2.284-5-5.1c0-2.816 2.24-5.1 5-5.1s5 2.284 5 5.1zM18.552 13.866l-2.108 2.15-0.996-1.016c-0.215-0.223-0.569-0.223-0.785 0-0.219 0.22-0.219 0.581 0 0.8l1.389 1.417c0.215 0.223 0.569 0.223 0.785 0l2.5-2.55c0.219-0.22 0.219-0.581 0-0.8-0.215-0.223-0.569-0.223-0.785 0z",{title:"PackageCheck"}),Ro=Ur("M7.556 12c0-2.209 1.99-4 4.445-4s4.445 1.791 4.445 4c0 2.209-1.99 4-4.445 4s-4.445-1.791-4.445-4zM12 14.5c1.535 0 2.778-1.119 2.778-2.5s-1.243-2.5-2.778-2.5c-0.024 0-0.045 0-0.101 0 0.076 0.159 0.101 0.328 0.101 0.5 0 1.103-0.996 2-2.222 2-0.191 0-0.378-0.022-0.556-0.091 0 0.050 0 0.069 0 0.063 0 1.409 1.243 2.528 2.778 2.528zM5.313 7.519c1.635-1.368 3.881-2.519 6.687-2.519s5.052 1.151 6.688 2.519c1.625 1.356 2.712 2.953 3.226 4.097 0.114 0.247 0.114 0.522 0 0.769-0.514 1.116-1.601 2.712-3.226 4.097-1.635 1.369-3.882 2.519-6.688 2.519s-5.052-1.15-6.687-2.519c-1.625-1.384-2.711-2.981-3.228-4.097-0.114-0.247-0.114-0.522 0-0.769 0.517-1.144 1.603-2.741 3.228-4.097zM12 6.5c-2.264 0-4.125 0.925-5.552 2.116-1.337 1.119-2.26 2.419-2.731 3.384 0.472 0.938 1.395 2.266 2.731 3.384 1.427 1.191 3.288 2.116 5.552 2.116s4.125-0.925 5.552-2.116c1.337-1.119 2.229-2.447 2.733-3.384-0.504-0.966-1.396-2.266-2.733-3.384-1.427-1.191-3.288-2.116-5.552-2.116z",{title:"Show"}),Fo=Ur("M6.71 7.218c1.384-1.011 3.159-1.78 5.291-1.78 2.525 0 4.547 1.079 6.019 2.361 1.462 1.271 2.441 2.769 2.903 3.841 0.103 0.231 0.103 0.489 0 0.721-0.419 0.946-1.259 2.279-2.497 3.469l3.288 2.414c0.325 0.24 0.384 0.683 0.128 0.987s-0.728 0.36-1.053 0.12l-18.5-13.594c-0.326-0.24-0.383-0.681-0.128-0.987s0.727-0.359 1.053-0.12l3.497 2.568zM7.931 8.118l1.437 1.055c0.703-0.574 1.625-0.923 2.631-0.923 2.209 0 4 1.679 4 3.75 0 0.621-0.159 1.204-0.444 1.72l1.681 1.236c1.047-0.999 1.822-2.162 2.219-2.956-0.453-0.905-1.256-2.124-2.459-3.173-1.284-1.116-2.959-2.010-4.997-2.010-1.578 0-2.966 0.546-4.069 1.301zM14.341 12.826c0.103-0.258 0.159-0.536 0.159-0.853 0-1.269-1.119-2.344-2.5-2.344-0.022 0-0.041 0.026-0.091 0.026 0.069 0.149 0.091 0.308 0.091 0.442 0 0.325-0.075 0.606-0.206 0.855l2.547 1.872zM14.635 16.644l1.309 0.967c-1.134 0.574-2.45 0.952-3.944 0.952-2.525 0-4.547-1.078-6.019-2.361-1.462-1.298-2.439-2.795-2.904-3.841-0.102-0.231-0.102-0.489 0-0.721 0.298-0.671 0.807-1.538 1.52-2.408l1.178 0.87c-0.584 0.683-0.97 1.359-1.23 1.872 0.424 0.905 1.255 2.15 2.458 3.199 1.284 1.116 2.959 1.983 4.997 1.983 0.959 0 1.837-0.193 2.634-0.513zM8 11.974c0-0.059 0.003-0.141 0.009-0.223l1.753 1.295c0.328 0.618 0.941 1.081 1.675 1.213l1.756 1.321c-0.378 0.085-0.778 0.17-1.222 0.17-2.181 0-4-1.679-4-3.776h0.028z",{title:"Hide"}),zo=Ur("M12 2c5.523 0 10 4.477 10 10s-4.477 10-10 10c-5.523 0-10-4.477-10-10s4.477-10 10-10zM12 20.125c0.289 0 1.020-0.281 1.859-1.891 0.344-0.691 0.605-1.531 0.859-2.484h-5.438c0.219 0.953 0.516 1.793 0.859 2.484 0.805 1.609 1.57 1.891 1.859 1.891zM8.973 13.875h6.055c0.063-0.598 0.098-1.227 0.098-1.875s-0.035-1.277-0.098-1.875h-6.055c-0.063 0.598-0.098 1.227-0.098 1.875s0.035 1.277 0.098 1.875zM14.719 8.25c-0.254-0.953-0.516-1.793-0.859-2.482-0.84-1.611-1.57-1.893-1.859-1.893s-1.055 0.282-1.859 1.893c-0.344 0.689-0.641 1.529-0.859 2.482h5.438zM16.914 10.125c0.055 0.606 0.086 1.234 0.086 1.875s-0.031 1.269-0.086 1.875h2.992c0.145-0.602 0.219-1.23 0.219-1.875s-0.074-1.273-0.219-1.875h-2.992zM15.363 4.602c0.551 1.002 0.988 2.246 1.273 3.648h2.574c-0.836-1.605-2.195-2.895-3.848-3.648zM8.637 4.602c-1.652 0.753-3.010 2.043-3.846 3.648h2.573c0.285-1.402 0.723-2.646 1.273-3.648zM3.875 12c0 0.645 0.075 1.273 0.218 1.875h2.993c-0.055-0.606-0.086-1.234-0.086-1.875s0.031-1.269 0.086-1.875h-2.993c-0.142 0.602-0.218 1.23-0.218 1.875zM19.211 15.75h-2.574c-0.285 1.402-0.723 2.645-1.273 3.648 1.652-0.754 3.012-2.043 3.848-3.648zM7.363 15.75h-2.573c0.836 1.605 2.194 2.895 3.846 3.648-0.551-1.004-0.988-2.246-1.273-3.648z",{title:"Globe"}),Ho=Ur("M23.265 5.996c-0.46-0.289-1.033-0.328-1.529-0.105l-4.126 1.851v-0.742c0-1.381-1.144-2.5-2.556-2.5h-11.5c-1.412 0-2.556 1.119-2.556 2.5v10c0 1.381 1.144 2.5 2.556 2.5h11.5c1.412 0 2.556-1.119 2.556-2.5v-0.743l4.125 1.85c0.213 0.096 0.441 0.144 0.666 0.144 0.301 0 0.6-0.084 0.862-0.248 0.46-0.287 0.735-0.779 0.735-1.35v-9.34c0-0.535-0.276-1.023-0.735-1.316zM15.694 17c0 0.345-0.287 0.625-0.639 0.625h-11.5c-0.352 0-0.639-0.28-0.639-0.625v-10c0-0.345 0.287-0.625 0.639-0.625h11.5c0.352 0 0.639 0.28 0.639 0.625v10zM22.083 16.199l-4.472-2.004v-4.391l4.472-2.005v8.4zM12.5 11.063h-2.272v-2.223c0-0.484-0.391-0.902-0.922-0.902s-0.958 0.418-0.958 0.902v2.223h-2.272c-0.495 0-0.922 0.418-0.922 0.938 0 0.518 0.428 0.902 0.922 0.902h2.272v2.187c0 0.555 0.427 0.973 0.958 0.973 0.529 0 0.922-0.42 0.922-0.902v-2.258h2.236c0.567 0 0.994-0.383 0.994-0.902s-0.427-0.938-0.958-0.938z",{title:"Video"}),Uo=Ur("M7.66146 3.52343C7.12187 3.16796 6.44375 3.15624 5.89323 3.48828C5.34271 3.82031 5 4.44531 5 5.12499V18.875C5 19.5547 5.34271 20.1797 5.89323 20.5117C6.44375 20.8437 7.12187 20.8281 7.66146 20.4766L18.1615 13.6016C18.6828 13.2617 19 12.6562 19 12C19 11.3437 18.6828 10.7422 18.1615 10.3984L7.66146 3.52343Z",{title:"Play"}),Vo=Ur("M14.531 8.625h-5.062c-0.464 0-0.844 0.38-0.844 0.844v5.062c0 0.464 0.38 0.844 0.844 0.844h5.062c0.464 0 0.844-0.38 0.844-0.844v-5.062c0-0.464-0.38-0.844-0.844-0.844zM12 3c-4.971 0-9 4.029-9 9s4.029 9 9 9c4.971 0 9-4.029 9-9s-4.029-9-9-9zM12 19.313c-4.032 0-7.313-3.28-7.313-7.313s3.28-7.313 7.313-7.313 7.313 3.28 7.313 7.313c0 4.032-3.28 7.313-7.313 7.313z",{title:"Stop"}),$o=Ur("M19.778 3h-15.556c-1.227 0-2.222 1.007-2.222 2.25v10.125c0 1.243 0.995 2.25 2.222 2.25h5.149l-0.333 1.688h-1.76c-0.458 0-0.833 0.38-0.833 0.844s0.375 0.844 0.833 0.844h9.444c0.46 0 0.833-0.378 0.833-0.844s-0.373-0.844-0.833-0.844h-1.761l-0.332-1.688h5.149c1.227 0 2.222-1.007 2.222-2.25v-10.125c0-1.243-0.996-2.25-2.222-2.25zM13.26 19.313h-2.521l0.333-1.688h1.856l0.331 1.688zM20.333 15.375c0 0.31-0.249 0.563-0.555 0.563h-15.556c-0.306 0-0.556-0.252-0.556-0.563v-10.125c0-0.31 0.249-0.563 0.556-0.563h15.556c0.306 0 0.555 0.252 0.555 0.563v10.125z",{title:"Desktop"}),Bo=Ur("M16.455 2h-8.909c-1.406 0-2.545 1.119-2.545 2.5v15c0 1.381 1.139 2.5 2.545 2.5h8.909c1.406 0 2.546-1.119 2.546-2.5v-15c0-1.381-1.141-2.5-2.546-2.5zM17.091 19.5c0 0.345-0.285 0.625-0.636 0.625h-8.909c-0.351 0-0.636-0.281-0.636-0.625v-15c0-0.345 0.285-0.625 0.636-0.625h8.909c0.35 0 0.636 0.28 0.636 0.625v15zM12 17.313c-0.527 0-0.954 0.42-0.954 0.938s0.428 0.938 0.954 0.938 0.954-0.42 0.954-0.938c0-0.519-0.426-0.938-0.954-0.938z",{title:"Mobile"}),Wo=Ur("M11.156 7.219c0-0.468 0.376-0.844 0.844-0.844s0.844 0.376 0.844 0.844v4.331l2.999 1.997c0.387 0.26 0.492 0.784 0.204 1.171-0.228 0.387-0.752 0.492-1.139 0.204l-3.375-2.25c-0.236-0.127-0.376-0.39-0.376-0.703v-4.75zM12 3c4.971 0 9 4.029 9 9s-4.029 9-9 9c-4.971 0-9-4.029-9-9s4.029-9 9-9zM4.688 12c0 4.040 3.273 7.313 7.313 7.313s7.313-3.273 7.313-7.313c0-4.039-3.273-7.313-7.313-7.313s-7.313 3.273-7.313 7.313z",{title:"Clock"}),Zo=Ur("M12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2ZM11.0625 6.6875V12C11.0625 12.3125 11.2188 12.6055 11.4805 12.7812L15.2305 15.2812C15.6602 15.5703 16.2422 15.4531 16.5312 15.0195C16.8203 14.5859 16.7031 14.0078 16.2695 13.7188L12.9375 11.5V6.6875C12.9375 6.16797 12.5195 5.75 12 5.75C11.4805 5.75 11.0625 6.16797 11.0625 6.6875Z",{title:"ClockAlt"}),qo=Ur("M12.0003 5.71395C12.0862 5.71395 12.1721 5.72823 12.2546 5.76037L19.7482 8.57053L12.2546 11.3807C12.1721 11.4128 12.0862 11.4271 12.0003 11.4271C11.9143 11.4271 11.8284 11.4128 11.7459 11.3807L7.35631 9.73459L12.1962 7.84925C12.4815 7.73855 12.6259 7.41005 12.5193 7.11368C12.4128 6.8173 12.0965 6.66733 11.8112 6.77803L6.32509 8.91332C6.14634 8.98474 5.97104 9.06329 5.79916 9.14899L4.25576 8.57053L11.7493 5.76037C11.8318 5.72823 11.9178 5.71395 12.0037 5.71395H12.0003ZM1.54364 9.37752L4.2042 10.3738C3.26922 11.3986 2.70205 12.7554 2.65393 14.2194C2.65049 14.2409 2.65049 14.2623 2.65049 14.2837C2.65049 15.2978 2.27925 16.3476 1.88395 17.1688C1.66051 17.633 1.40614 18.0901 1.11053 18.5114C1.00053 18.665 0.969592 18.8649 1.03147 19.0471C1.09334 19.2292 1.23771 19.3648 1.41646 19.4113L3.6164 19.9826C3.76078 20.0219 3.91546 19.9933 4.04264 19.9112C4.16983 19.829 4.2592 19.6934 4.2867 19.5398C4.58232 18.0115 4.43451 16.6404 4.21451 15.6584C4.10452 15.1585 3.95671 14.6479 3.7539 14.1766C3.81921 12.8554 4.41388 11.6449 5.35917 10.813L11.1856 12.9982C11.4468 13.0946 11.7218 13.1446 12.0003 13.1446C12.2787 13.1446 12.5537 13.0946 12.8149 12.9982L22.4569 9.37752C22.7834 9.25611 23 8.93118 23 8.57053C23 8.20989 22.7834 7.88852 22.4569 7.76355L12.8149 4.1464C12.5537 4.04999 12.2787 4 12.0003 4C11.7218 4 11.4468 4.04999 11.1856 4.1464L1.54364 7.76355C1.21709 7.88852 1.00053 8.20989 1.00053 8.57053C1.00053 8.93118 1.21709 9.25254 1.54364 9.37752ZM18.0707 12.2341L16.4723 12.834L16.9089 17.1367C16.7439 17.2617 16.4689 17.4224 16.0633 17.5866C15.0939 17.983 13.6502 18.2829 12.0003 18.2829C10.3503 18.2829 8.90659 17.983 7.9338 17.5902C7.52818 17.4259 7.25319 17.2617 7.0882 17.1403L7.52475 12.8376L5.92635 12.2377L5.40042 17.4259C5.40042 18.6864 8.3566 19.9969 12.0003 19.9969C15.6439 19.9969 18.6001 18.6864 18.6001 17.4259L18.0742 12.2341H18.0707ZM17.067 16.9975C17.0691 16.9946 17.0706 16.9914 17.0713 16.9879C17.0721 16.9845 17.0722 16.9809 17.0715 16.9774C17.0708 16.974 17.0695 16.9707 17.0675 16.9678C17.0655 16.9649 17.063 16.9625 17.06 16.9607C17.0571 16.9589 17.0538 16.9578 17.0504 16.9574C17.047 16.9571 17.0436 16.9574 17.0403 16.9586C17.0371 16.9597 17.0341 16.9615 17.0316 16.9639C17.0291 16.9663 17.0271 16.9692 17.0258 16.9725C17.0237 16.9753 17.0222 16.9785 17.0215 16.982C17.0207 16.9854 17.0206 16.989 17.0213 16.9925C17.0219 16.996 17.0233 16.9992 17.0253 17.0021C17.0273 17.005 17.0298 17.0074 17.0328 17.0092C17.0357 17.011 17.039 17.0121 17.0424 17.0125C17.0458 17.0129 17.0492 17.0125 17.0524 17.0114C17.0557 17.0102 17.0587 17.0084 17.0612 17.006C17.0637 17.0036 17.0657 17.0007 17.067 16.9975ZM6.93351 16.9975C6.93416 17.0013 6.93566 17.0049 6.9379 17.008C6.94013 17.0112 6.94304 17.0137 6.94639 17.0155C6.94973 17.0172 6.95343 17.0181 6.95717 17.0181C6.96092 17.0181 6.96462 17.0172 6.96797 17.0155C6.97132 17.0137 6.97424 17.0112 6.97648 17.0081C6.97873 17.005 6.98024 17.0014 6.9809 16.9975C6.98156 16.9937 6.98135 16.9898 6.98028 16.986C6.97921 16.9823 6.97732 16.9789 6.97476 16.976C6.97411 16.9722 6.97261 16.9686 6.97038 16.9654C6.96814 16.9623 6.96523 16.9598 6.96189 16.958C6.95854 16.9563 6.95484 16.9554 6.9511 16.9554C6.94735 16.9554 6.94365 16.9563 6.9403 16.958C6.93695 16.9597 6.93403 16.9623 6.93179 16.9654C6.92955 16.9685 6.92803 16.9721 6.92737 16.976C6.92672 16.9798 6.92693 16.9837 6.92799 16.9875C6.92906 16.9912 6.93095 16.9946 6.93351 16.9975Z",{title:"Graduation"}),Go=Ur("M10.75 3.25C10.75 2.55859 11.3086 2 12 2C17.5234 2 22 6.47656 22 12C22 13.8203 21.5117 15.5312 20.6602 17C20.3164 17.5977 19.5508 17.8008 18.9531 17.457C18.3555 17.1133 18.1523 16.3477 18.4961 15.75C19.1328 14.6484 19.5 13.3672 19.5 12C19.5 7.85938 16.1406 4.5 12 4.5C11.3086 4.5 10.75 3.94141 10.75 3.25Z",{title:"Spinner"}),Qo=Ur("M12.938 6.063c0 0.52-0.418 0.938-0.938 0.938s-0.938-0.418-0.938-0.938v-3.125c0-0.518 0.418-0.938 0.938-0.938s0.938 0.42 0.938 0.938v3.125zM12.938 21.063c0 0.519-0.418 0.938-0.938 0.938s-0.938-0.418-0.938-0.938v-3.125c0-0.519 0.418-0.938 0.938-0.938s0.938 0.418 0.938 0.938v3.125zM2 12c0-0.519 0.42-0.938 0.938-0.938h3.125c0.52 0 0.938 0.418 0.938 0.938s-0.418 0.938-0.938 0.938h-3.125c-0.518 0-0.938-0.418-0.938-0.938zM21.063 11.063c0.519 0 0.938 0.418 0.938 0.938s-0.418 0.938-0.938 0.938h-3.125c-0.519 0-0.938-0.418-0.938-0.938s0.418-0.938 0.938-0.938h3.125zM19.070 4.929c0.367 0.366 0.367 0.96 0 1.325l-2.207 2.211c-0.367 0.367-0.961 0.367-1.328 0s-0.367-0.961 0-1.324l2.211-2.212c0.367-0.366 0.957-0.366 1.324 0zM6.254 19.070c-0.367 0.367-0.957 0.367-1.359 0-0.332-0.367-0.332-0.961 0-1.324l2.242-2.211c0.367-0.367 0.961-0.367 1.328 0s0.367 0.961 0 1.324l-2.211 2.211zM4.895 4.929c0.402-0.366 0.992-0.366 1.359 0l2.211 2.212c0.367 0.363 0.367 0.957 0 1.324s-0.961 0.367-1.328 0l-2.242-2.211c-0.332-0.365-0.332-0.959 0-1.325zM19.070 17.746c0.367 0.363 0.367 0.957 0 1.324s-0.957 0.367-1.324 0l-2.211-2.211c-0.367-0.363-0.367-0.957 0-1.324s0.961-0.367 1.328 0l2.207 2.211z",{title:"SpinnerAlt"}),Yo=Ur("M21.625 2.167c-0.339-0.208-0.678-0.221-1.016-0.039l-18.139 10.307c-0.313 0.208-0.469 0.495-0.469 0.859 0.026 0.39 0.222 0.664 0.586 0.82l5.981 2.499v4.451c0 0.364 0.169 0.638 0.508 0.82 0.13 0.078 0.261 0.117 0.391 0.117 0.182 0 0.352-0.052 0.508-0.156l4.339-2.772 3.87 1.601c0.104 0.052 0.222 0.078 0.352 0.078 0.156 0 0.313-0.039 0.469-0.117 0.261-0.156 0.417-0.377 0.469-0.664l2.502-16.866c0.078-0.39-0.039-0.703-0.352-0.937zM16.425 6.656l-7.31 8.16-4.066-1.679 11.376-6.481zM10.405 19.345v-1.913l1.837 0.742-1.837 1.171zM17.833 18.486l-6.919-2.889 8.796-9.761-1.876 12.65z",{title:"Submit"}),Ko=Ur("M16.5797 0C17.475 0 18.1219 0.85591 17.8781 1.71607L15.3656 10.5H19.3641C20.2688 10.5 21 11.2312 21 12.1359C21 12.6187 20.7891 13.0734 20.4234 13.3875L8.29219 23.6812C8.04844 23.8875 7.73906 24 7.41891 24C6.52406 24 5.87812 23.1422 6.12375 22.2844L8.63437 13.5H4.58156C3.70781 13.5 3 12.7922 3 11.9203C3 11.4562 3.20227 11.0156 3.55359 10.7156L15.7078 0.323082C15.9516 0.114581 16.2609 0 16.5797 0ZM14.8875 3.98388L6.39188 11.25H10.125C10.4766 11.25 10.8094 11.414 11.025 11.6953C11.2359 11.9812 11.3016 12.3469 11.2078 12.6844L9.10781 20.0391L17.6953 12.75H13.875C13.5234 12.75 13.1906 12.5859 12.975 12.3047C12.7641 12.0187 12.6984 11.6531 12.7922 11.3156L14.8875 3.98388Z",{title:"Optimization"}),Xo=Ur("M18 18.994v0.006h-11.5c-2.485 0-4.5-2.016-4.5-4.5 0-1.959 1.252-3.653 3-4.244v-0.006c0-2.9 2.35-5.25 5.25-5.25 1.591 0 3.012 0.706 3.978 1.822 0.466-0.207 0.978-0.322 1.522-0.322 2.072 0 3.75 1.678 3.75 3.75 0 0.206-0.016 0.406-0.047 0.603 1.5 0.656 2.547 2.156 2.547 3.897 0 2.262-1.769 4.113-4 4.244zM13.819 8.647l-0.728-0.844c-0.691-0.801-1.706-1.303-2.841-1.303-2.072 0-3.75 1.678-3.75 3.722v1.094l-1.028 0.353c-1.139 0.416-1.972 1.528-1.972 2.831 0 1.656 1.343 3 3 3l11.412-0.006c1.444-0.081 2.587-1.281 2.587-2.744 0-1.125-0.675-2.097-1.65-2.522l-1.066-0.466 0.188-1.147c0.019-0.119 0.028-0.241 0.028-0.366 0-1.244-1.006-2.25-2.25-2.25-0.328 0-0.638 0.069-0.912 0.194l-1.019 0.453z",{title:"Cloud"}),Jo=Ur("M11.25 15.75v-2h-2c-0.416 0-0.75-0.334-0.75-0.75s0.334-0.75 0.75-0.75h2v-2c0-0.416 0.334-0.75 0.75-0.75s0.75 0.334 0.75 0.75v2h2c0.416 0 0.75 0.334 0.75 0.75s-0.334 0.75-0.75 0.75h-2v2c0 0.416-0.334 0.75-0.75 0.75s-0.75-0.334-0.75-0.75zM6.5 19c-2.485 0-4.5-2.016-4.5-4.5 0-1.959 1.252-3.653 3-4.244v-0.006c0-2.9 2.35-5.25 5.25-5.25 1.591 0 3.012 0.706 3.978 1.822 0.466-0.207 0.978-0.322 1.522-0.322 2.072 0 3.75 1.678 3.75 3.75 0 0.206-0.016 0.406-0.047 0.603 1.5 0.656 2.547 2.156 2.547 3.897 0 2.262-1.769 4.113-4 4.244v0.006h-11.5zM10.25 6.5c-2.072 0-3.75 1.678-3.75 3.75v1.066l-1.028 0.356c-1.139 0.412-1.972 1.525-1.972 2.828 0 1.656 1.343 3 3 3l11.412-0.006c1.444-0.081 2.587-1.281 2.587-2.744 0-1.125-0.675-2.097-1.65-2.522l-1.066-0.466 0.188-1.147c0.019-0.119 0.028-0.241 0.028-0.366 0-1.244-1.006-2.25-2.25-2.25-0.328 0-0.638 0.069-0.912 0.194l-1.019 0.453-0.728-0.844c-0.691-0.801-1.706-1.303-2.869-1.303h0.028z",{title:"CloudAdd"}),ea=Ur("M2.5 14.5C2.5 16.9844 4.51562 19 7 19H18.5C20.7094 19 22.5 17.2094 22.5 15C22.5 13.0656 21.125 11.45 19.3 11.0813C19.4281 10.7469 19.5 10.3812 19.5 10C19.5 8.34375 18.1562 7 16.5 7C15.8844 7 15.3094 7.1875 14.8344 7.50625C13.9688 6.00625 12.3531 5 10.5 5C7.7375 5 5.5 7.2375 5.5 10C5.5 10.0844 5.50312 10.1688 5.50625 10.2531C3.75625 10.8688 2.5 12.5375 2.5 14.5Z",{title:"CloudAlt"}),ta=Ur("M14.966 4.972l-4.5 14.5c-0.15 0.397-0.544 0.616-0.937 0.494-0.397-0.15-0.619-0.544-0.494-0.938l4.5-14.501c0.122-0.396 0.544-0.617 0.938-0.494 0.397 0.123 0.619 0.543 0.494 0.939zM17.763 7.703l4 3.75c0.153 0.141 0.237 0.341 0.237 0.519 0 0.234-0.084 0.406-0.237 0.575l-4 3.75c-0.303 0.284-0.775 0.269-1.059-0.034s-0.269-0.775 0.034-1.059l3.416-3.231-3.416-3.175c-0.303-0.284-0.319-0.756-0.034-1.059s0.756-0.319 1.059-0.034zM7.263 8.797l-3.416 3.175 3.416 3.231c0.303 0.284 0.319 0.756 0.034 1.059s-0.756 0.319-1.059 0.034l-4-3.75c-0.151-0.169-0.237-0.341-0.237-0.575 0-0.178 0.086-0.378 0.237-0.519l4-3.75c0.303-0.284 0.775-0.269 1.059 0.034s0.269 0.775-0.034 1.059z",{title:"Code"}),na=Ur("M14.5 8.83594L17 11.3359C17.3906 11.7786 17.3906 12.2083 17 12.625L14.5 15.125C14.0833 15.5156 13.6536 15.5156 13.2109 15.125C12.8464 14.7083 12.8464 14.2786 13.2109 13.8359L15.0469 12L13.2109 10.125C12.8464 9.70833 12.8464 9.27865 13.2109 8.83594C13.6536 8.47135 14.0833 8.47135 14.5 8.83594ZM8.95312 12L10.75 13.8359C11.1406 14.2786 11.1406 14.7083 10.75 15.125C10.3333 15.5156 9.90365 15.5156 9.46094 15.125L6.96094 12.625C6.59635 12.2083 6.59635 11.7786 6.96094 11.3359L9.46094 8.83594C9.90365 8.47135 10.3333 8.47135 10.75 8.83594C11.1406 9.27865 11.1406 9.70833 10.75 10.125L8.95312 12ZM18.25 3.25C18.9531 3.27604 19.5391 3.52344 20.0078 3.99219C20.4766 4.46094 20.724 5.04688 20.75 5.75V18.25C20.724 18.9531 20.4766 19.5391 20.0078 20.0078C19.5391 20.4766 18.9531 20.724 18.25 20.75H5.75C5.04688 20.724 4.46094 20.4766 3.99219 20.0078C3.52344 19.5391 3.27604 18.9531 3.25 18.25V5.75C3.27604 5.04688 3.52344 4.46094 3.99219 3.99219C4.46094 3.52344 5.04688 3.27604 5.75 3.25H18.25ZM18.25 5.125H5.75C5.35938 5.15104 5.15104 5.35938 5.125 5.75V18.25C5.15104 18.6406 5.35938 18.849 5.75 18.875H18.25C18.6406 18.849 18.849 18.6406 18.875 18.25V5.75C18.849 5.35938 18.6406 5.15104 18.25 5.125Z",{title:"SquareCode"}),ia=Ur("M2 5.4343C2 4.91646 2.42013 4.49634 2.93796 4.49634H7.63556C8.31558 4.49634 8.96043 4.81524 9.37469 5.35848L13.6268 10.937C13.6502 11.0151 13.7792 11.062 13.873 11.062H18.809L17.2809 9.50269C16.9174 9.1705 16.9174 8.57646 17.2809 8.20909C17.6483 7.84563 18.2423 7.84563 18.5745 8.20909L21.701 11.3356C22.0997 11.703 22.0997 12.297 21.701 12.6292L18.5745 15.7557C18.2423 16.1544 17.6483 16.1544 17.2809 15.7557C16.9174 15.4235 16.9174 14.8295 17.2809 14.4621L18.809 12.938H13.873C13.7792 12.938 13.6502 12.9849 13.6268 13.063L9.37469 18.64C8.96043 19.1832 8.31558 19.5037 7.63556 19.5037H2.93796C2.42013 19.5037 2 19.0855 2 18.5657C2 18.0459 2.42013 17.6277 2.93796 17.6277H7.63556C7.72936 17.6277 7.82316 17.5809 7.88178 17.5027L12.0752 12L7.88178 6.49731C7.82316 6.41915 7.72936 6.37225 7.63556 6.37225H2.93796C2.42013 6.37225 2 5.95408 2 5.4343Z",{title:"Merge"}),ra=Ur("M5.75 9.461h-2.5c-0.69 0-1.25 0.561-1.25 1.216v8.727c0 0.691 0.56 1.216 1.25 1.216h2.5c0.69 0 1.25-0.561 1.25-1.216v-8.691c0-0.657-0.559-1.252-1.25-1.252zM22 10.865c0-1.443-1.174-2.618-2.616-2.618h-3.901c0.372-0.977 0.579-1.822 0.579-2.319 0-1.322-1.023-2.69-2.737-2.69-1.821 0-2.319 1.269-2.719 2.288-1.237 3.149-2.357 2.597-2.357 3.656 0 0.502 0.405 0.938 0.938 0.938 0.205 0 0.412-0.067 0.585-0.206 2.998-2.4 2.264-4.799 3.553-4.799 0.628 0 0.862 0.499 0.862 0.813 0 0.29-0.297 1.547-0.998 2.8-0.080 0.143-0.12 0.301-0.12 0.458 0 0.544 0.447 0.904 0.938 0.904h5.375c0.411 0.034 0.743 0.367 0.743 0.774 0 0.384-0.303 0.705-0.69 0.732-0.495 0.034-0.873 0.446-0.873 0.936 0 0.605 0.445 0.624 0.445 1.131 0 0.992-1.368 0.483-1.368 1.649 0 0.439 0.25 0.51 0.25 0.87 0 0.886-1.163 0.538-1.163 1.59 0 0.177 0.043 0.233 0.043 0.37 0 0.409-0.333 0.741-0.741 0.741h-2.052c-1.001 0-1.993-0.331-2.793-0.931l-1.432-1.076c-0.169-0.127-0.366-0.188-0.562-0.188-0.541 0-0.939 0.445-0.939 0.94 0 0.285 0.129 0.564 0.375 0.748l1.432 1.077c1.123 0.842 2.513 1.308 3.92 1.308h2.052c1.38 0 2.514-1.075 2.609-2.433 0.694-0.478 1.126-1.272 1.126-2.145 0-0.119-0.009-0.239-0.025-0.357 0.697-0.475 1.144-1.274 1.144-2.162 0-0.208-0.025-0.412-0.073-0.612 0.718-0.502 1.191-1.28 1.191-2.188z",{title:"Like"}),oa=Ur("M6.998 19.468v-8.754c0-0.69-0.56-1.215-1.251-1.215h-2.501c-0.691 0-1.251 0.56-1.251 1.215v8.718c0 0.691 0.56 1.215 1.251 1.215h2.501c0.692 0.070 1.251-0.457 1.251-1.18zM22.004 10.753c0-1.036-0.839-1.875-1.876-1.875h-5.725c0.89-1.481 1.349-3.161 1.349-3.752-0.001-0.921-0.724-1.88-1.935-1.88-2.467 0-1.030 2.976-4.228 5.534l-0.637 0.508c-0.461 0.371-0.696 0.914-0.7 1.461-0.001 0.001 0 0 0 0l-0.004 6.253c0 0.59 0.278 1.146 0.75 1.5l1.334 1c1.081 0.814 2.398 1.251 3.75 1.251h2.294c1.036 0 1.876-0.839 1.876-1.875 0-0.142-0.019-0.279-0.049-0.412 0.752-0.245 1.299-0.941 1.299-1.777 0-0.357-0.105-0.688-0.279-0.972 0.869-0.161 1.53-0.923 1.53-1.837 0-0.489-0.191-0.929-0.497-1.263 0.974-0.066 1.748-0.871 1.748-1.863z",{title:"LikeAlt"}),aa=Ur("M7 13.25v-8.749c0-0.69-0.56-1.215-1.25-1.215h-2.5c-0.69 0-1.25 0.56-1.25 1.215v8.715c0 0.69 0.56 1.215 1.25 1.215h2.5c0.691 0.069 1.25-0.489 1.25-1.181zM20.809 10.949c0.048-0.199 0.073-0.403 0.073-0.611 0-0.887-0.447-1.685-1.144-2.159 0.017-0.118 0.025-0.237 0.025-0.356 0-0.872-0.432-1.664-1.126-2.142-0.095-1.356-1.229-2.43-2.609-2.43h-2.052c-1.404 0-2.795 0.464-3.918 1.305l-1.433 1.074c-0.246 0.184-0.375 0.463-0.375 0.747 0 0.498 0.402 0.939 0.939 0.939 0.196 0 0.393-0.061 0.562-0.188l1.432-1.075c0.8-0.599 1.792-0.93 2.793-0.93h2.052c0.408 0 0.741 0.332 0.741 0.74 0 0.137-0.043 0.193-0.043 0.369 0 1.054 1.163 0.7 1.163 1.587 0 0.361-0.25 0.428-0.25 0.869 0 0.546 0.424 0.857 0.765 0.921 0.35 0.065 0.603 0.37 0.603 0.725 0 0.509-0.445 0.522-0.445 1.129 0 0.49 0.379 0.902 0.873 0.935 0.385-0.006 0.69 0.349 0.69 0.697 0 0.407-0.333 0.739-0.741 0.739h-5.376c-0.486 0-0.938 0.391-0.938 0.902 0 0.158 0.040 0.315 0.12 0.458 0.7 1.322 0.997 2.576 0.997 2.865 0 0.314-0.234 0.812-0.862 0.812-0.489 0-0.557-0.035-0.974-1.096-0.967-2.457-2.412-3.902-3.163-3.902-0.539 0-0.938 0.44-0.938 0.937 0 0.275 0.12 0.548 0.352 0.733 2.699 2.157 1.656 5.204 4.722 5.204 1.715 0 2.738-1.367 2.738-2.688 0-0.496-0.208-1.375-0.579-2.318h3.901c1.409 0.001 2.616-1.171 2.616-2.647 0-0.871-0.473-1.684-1.191-2.148z",{title:"Dislike"}),sa=Ur("M5.75 3.252h-2.5c-0.69 0-1.25 0.559-1.25 1.215v8.715c0 0.69 0.56 1.215 1.25 1.215h2.5c0.69 0 1.25-0.56 1.25-1.215v-8.68c0-0.69-0.559-1.25-1.25-1.25zM20.254 11.383c0.305-0.332 0.496-0.773 0.496-1.262 0-0.917-0.659-1.677-1.529-1.839 0.173-0.282 0.279-0.614 0.279-1.004 0-0.833-0.547-1.53-1.299-1.775 0.029-0.1 0.049-0.237 0.049-0.379 0-1.036-0.84-1.874-1.875-1.874h-2.293c-1.352 0-2.667 0.438-3.749 1.249l-1.334 1c-0.473 0.354-0.75 0.911-0.75 1.466l0.004 6.25c0 0-0.001-0.001 0 0 0.003 0.546 0.239 1.091 0.7 1.459l0.637 0.509c3.199 2.594 1.761 5.567 4.226 5.567 1.209 0 1.932-0.958 1.932-1.879 0-0.592-0.459-2.27-1.348-3.751h5.725c1.036 0 1.875-0.839 1.875-1.874 0-0.992-0.773-1.797-1.746-1.863z",{title:"DislikeAlt"}),la=Ur("M20.129 18.836c0.398 0.367 0.398 0.961 0 1.293-0.332 0.398-0.926 0.398-1.293 0l-0.457-0.426c-1.734 1.434-3.953 2.297-6.379 2.297s-4.645-0.863-6.377-2.297l-0.46 0.426c-0.366 0.398-0.96 0.398-1.326 0-0.366-0.332-0.366-0.926 0-1.293l0.46-0.457c-1.434-1.734-2.297-3.953-2.297-6.379s0.862-4.645 2.297-6.377l-0.46-0.46c-0.366-0.366-0.366-0.96 0-1.326s0.96-0.366 1.326 0l0.46 0.46c1.733-1.434 3.952-2.297 6.377-2.297s4.644 0.862 6.379 2.297l0.457-0.46c0.367-0.366 0.961-0.366 1.293 0 0.398 0.366 0.398 0.96 0 1.326l-0.426 0.46c1.434 1.733 2.297 3.952 2.297 6.377s-0.863 4.644-2.297 6.379l0.426 0.457zM13.906 15.231c-0.558 0.332-1.211 0.519-1.906 0.519s-1.348-0.188-1.906-0.519l-3.137 3.141c1.383 1.098 3.137 1.754 5.043 1.754s3.66-0.656 5.043-1.754l-3.137-3.141zM20.125 12c0-1.906-0.656-3.66-1.754-5.043l-3.141 3.137c0.332 0.558 0.519 1.211 0.519 1.906s-0.188 1.348-0.519 1.906l3.141 3.137c1.098-1.383 1.754-3.137 1.754-5.043zM12 3.875c-1.906 0-3.66 0.656-5.043 1.755l3.137 3.139c0.558-0.332 1.211-0.52 1.906-0.52s1.348 0.188 1.906 0.52l3.137-3.139c-1.383-1.099-3.137-1.755-5.043-1.755zM8.77 13.906c-0.332-0.558-0.52-1.211-0.52-1.906s0.188-1.348 0.52-1.906l-3.139-3.137c-1.099 1.383-1.755 3.137-1.755 5.043s0.656 3.66 1.755 5.043l3.139-3.137zM12 10.125c-1.035 0-1.875 0.84-1.875 1.875s0.84 1.875 1.875 1.875c1.035 0 1.875-0.84 1.875-1.875s-0.84-1.875-1.875-1.875z",{title:"Lifesaver"}),ca=Ur("M19.5 3h-15c-1.381 0-2.5 1.151-2.5 2.571v2.571c0 1.42 1.119 2.571 2.5 2.571h15c1.381 0 2.5-1.151 2.5-2.571v-2.571c0-1.42-1.121-2.571-2.5-2.571zM20.125 8.143c0 0.354-0.28 0.643-0.625 0.643h-15c-0.345 0-0.625-0.289-0.625-0.643v-2.571c0-0.354 0.28-0.643 0.625-0.643h15c0.345 0 0.625 0.288 0.625 0.643v2.571zM19.5 13.286h-15c-1.381 0-2.5 1.151-2.5 2.571v2.571c0 1.42 1.119 2.571 2.5 2.571h15c1.381 0 2.5-1.151 2.5-2.571v-2.571c0-1.418-1.121-2.571-2.5-2.571zM20.125 18.429c0 0.354-0.28 0.643-0.625 0.643h-15c-0.345 0-0.625-0.288-0.625-0.643v-2.571c0-0.354 0.28-0.643 0.625-0.643h15c0.345 0 0.625 0.288 0.625 0.643v2.571zM15.75 5.893c-0.518 0-0.938 0.432-0.938 0.964s0.42 0.964 0.938 0.964 0.938-0.43 0.938-0.964c0-0.534-0.418-0.964-0.938-0.964zM18.25 5.893c-0.518 0-0.938 0.432-0.938 0.964s0.42 0.964 0.938 0.964 0.938-0.43 0.938-0.964c0-0.534-0.418-0.964-0.938-0.964zM15.75 16.179c-0.518 0-0.938 0.432-0.938 0.964s0.42 0.964 0.938 0.964 0.938-0.432 0.938-0.964c0-0.534-0.418-0.964-0.938-0.964zM18.25 16.179c-0.518 0-0.938 0.432-0.938 0.964s0.42 0.964 0.938 0.964 0.938-0.432 0.938-0.964c0-0.534-0.418-0.964-0.938-0.964z",{title:"Server"}),ua=Ur("M5.346 3c0.401 0 0.746 0.288 0.823 0.686l0.052 0.439h14.665c0.708 0 1.272 0.712 1.074 1.429l-1.882 6.751c-0.136 0.485-0.575 0.819-1.074 0.819h-11.054l0.321 1.688h10.74c0.464 0 0.837 0.376 0.837 0.844s-0.373 0.844-0.837 0.844h-11.465c-0.369 0-0.715-0.288-0.791-0.686l-2.101-11.127h-1.818c-0.462 0-0.837-0.378-0.837-0.844s0.375-0.844 0.837-0.844h2.51zM18.579 11.438l1.569-5.625h-13.577l1.063 5.625h10.945zM6.462 19.313c0-0.932 0.749-1.688 1.673-1.688s1.673 0.756 1.673 1.688c0 0.932-0.749 1.688-1.673 1.688s-1.673-0.756-1.673-1.688zM19.847 19.313c0 0.932-0.749 1.688-1.673 1.688s-1.673-0.756-1.673-1.688 0.749-1.688 1.673-1.688c0.924 0 1.673 0.756 1.673 1.688z",{title:"Cart"}),da=Ur("M6.625 7.875C6.625 7.51042 6.74219 7.21094 6.97656 6.97656C7.21094 6.74219 7.51042 6.625 7.875 6.625C8.23958 6.625 8.53906 6.74219 8.77344 6.97656C9.00781 7.21094 9.125 7.51042 9.125 7.875C9.125 8.23958 9.00781 8.53906 8.77344 8.77344C8.53906 9.00781 8.23958 9.125 7.875 9.125C7.51042 9.125 7.21094 9.00781 6.97656 8.77344C6.74219 8.53906 6.625 8.23958 6.625 7.875ZM11.2344 3.5C11.9115 3.5 12.4974 3.7474 12.9922 4.24219L19.8672 11.1172C20.3359 11.612 20.5703 12.1979 20.5703 12.875C20.5703 13.5521 20.3359 14.138 19.8672 14.6328L14.6328 19.8672C14.138 20.3359 13.5521 20.5703 12.875 20.5703C12.1979 20.5703 11.612 20.3359 11.1172 19.8672L4.24219 12.9922C3.7474 12.4974 3.5 11.9115 3.5 11.2344V5.375C3.52604 4.85417 3.70833 4.41146 4.04688 4.04688C4.41146 3.70833 4.85417 3.52604 5.375 3.5H11.2344ZM5.57031 11.6641L12.4453 18.5391C12.7318 18.7734 13.0182 18.7734 13.3047 18.5391L18.5391 13.3047C18.7734 13.0182 18.7734 12.7318 18.5391 12.4453L11.6641 5.57031C11.5339 5.4401 11.3906 5.375 11.2344 5.375H5.375V11.2344C5.375 11.3906 5.4401 11.5339 5.57031 11.6641Z",{title:"Tag"}),ha=Ur("M4.012 3.621c1.033-0.868 2.491-0.773 3.456-0.042 1.027-0.735 2.471-0.819 3.523 0.034l0.011 0.010c1.266 1.066 1.329 2.964 0.183 4.11l-2.763 2.77c-0.496 0.482-1.329 0.517-1.846-0.014l-2.761-2.756c-1.146-1.178-1.084-3.047 0.199-4.112zM5.092 4.918c-0.513 0.425-0.535 1.172-0.084 1.623l2.499 2.493 2.482-2.493c0.454-0.45 0.429-1.197-0.067-1.622-0.429-0.341-1.104-0.303-1.543 0.119l-0.858 0.918-0.896-0.911c-0.446-0.437-1.137-0.46-1.527-0.131l-0.005 0.004zM21 9.156c0 0.963-1.009 1.688-2.25 1.688s-2.25-0.724-2.25-1.688c0-0.9 1.009-1.687 2.25-1.687 0.193 0 0.383 0.049 0.563 0.084v-2.68l-3.937 0.787v4.62c0 0.963-1.009 1.687-2.25 1.687s-2.25-0.724-2.25-1.687c0-0.9 1.009-1.687 2.25-1.687 0.193 0 0.383 0.049 0.563 0.084v-3.741c0-0.371 0.285-0.717 0.678-0.796l5.625-1.125c0.246-0.050 0.506 0.015 0.7 0.175 0.197 0.16 0.309 0.4 0.309 0.621v5.344zM9.75 16.781c0 0.932-0.756 1.687-1.687 1.687s-1.687-0.756-1.687-1.687c0-0.932 0.756-1.688 1.687-1.688s1.687 0.756 1.687 1.688zM13.125 15.375v3.375c0 1.241-1.009 2.25-2.25 2.25h-5.625c-1.243 0-2.25-1.009-2.25-2.25v-3.375c0-1.241 1.007-2.25 2.218-2.25l0.283-0.503c0.191-0.383 0.58-0.654 1.006-0.654h3.108c0.425 0 0.816 0.271 1.005 0.654l0.253 0.503c1.241 0 2.25 1.009 2.25 2.25zM6.293 14.813h-1.074c-0.279 0-0.531 0.253-0.531 0.563v3.375c0 0.309 0.252 0.562 0.562 0.562h5.625c0.309 0 0.563-0.253 0.563-0.562v-3.375c0-0.309-0.253-0.563-0.563-0.563h-1.044l-0.562-1.157h-2.412l-0.564 1.157zM19.643 12.109c0.211 0.151 0.292 0.432 0.186 0.675l-1.35 3.153h1.958c0.235 0 0.443 0.144 0.496 0.366 0.112 0.218 0.053 0.468-0.127 0.619l-4.5 3.937c-0.197 0.144-0.489 0.186-0.699 0.032-0.211-0.151-0.288-0.432-0.186-0.675l1.35-3.153h-1.958c-0.236 0-0.443-0.144-0.527-0.366-0.081-0.218-0.021-0.468 0.158-0.65l4.5-3.937c0.197-0.144 0.489-0.155 0.7 0z",{title:"Emoji"}),fa=Ur("M20.125 12C20.125 9.84512 19.269 7.77849 17.7452 6.25476C16.2215 4.73102 14.1549 3.875 12 3.875C9.84512 3.875 7.77849 4.73102 6.25476 6.25476C4.73102 7.77849 3.875 9.84512 3.875 12C3.875 14.1549 4.73102 16.2215 6.25476 17.7452C7.77849 19.269 9.84512 20.125 12 20.125C14.1549 20.125 16.2215 19.269 17.7452 17.7452C19.269 16.2215 20.125 14.1549 20.125 12ZM2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12ZM12.8125 7.21875V7.77344C13.1914 7.82031 13.5703 7.92578 13.9453 8.03125C14.0195 8.05078 14.0898 8.07031 14.1641 8.09375C14.6133 8.21875 14.8789 8.68359 14.7539 9.13281C14.6289 9.58203 14.1641 9.84375 13.7148 9.72266C13.6523 9.70703 13.5938 9.6875 13.5312 9.67188C13.2578 9.59375 12.9844 9.51953 12.707 9.46484C12.1914 9.36719 11.5938 9.41406 11.1133 9.62109C10.6836 9.80859 10.3281 10.2617 10.8164 10.5742C11.1992 10.8203 11.668 10.9453 12.1133 11.0664C12.207 11.0898 12.2969 11.1172 12.3867 11.1406C12.9961 11.3125 13.7734 11.5352 14.3555 11.9336C15.1133 12.4531 15.4688 13.2969 15.3008 14.2031C15.1406 15.0781 14.5312 15.6523 13.8008 15.9492C13.4961 16.0742 13.1641 16.1523 12.8164 16.1914V16.7852C12.8164 17.25 12.4375 17.6289 11.9727 17.6289C11.5078 17.6289 11.1289 17.25 11.1289 16.7852V16.1055C10.5625 15.9766 10.0078 15.7969 9.45703 15.6172C9.01562 15.4727 8.77344 14.9922 8.92188 14.5508C9.07031 14.1094 9.54688 13.8672 9.98828 14.0156C10.0859 14.0469 10.1836 14.082 10.2812 14.1133C10.7227 14.2617 11.1758 14.4141 11.6289 14.4883C12.293 14.5859 12.8242 14.5273 13.1719 14.3867C13.6406 14.1992 13.8633 13.6406 13.4023 13.3281C13.0078 13.0586 12.5195 12.9258 12.0547 12.8008C11.9648 12.7773 11.8789 12.7539 11.7891 12.7266C11.1992 12.5586 10.4609 12.3516 9.90625 11.9961C9.14453 11.5078 8.75781 10.6953 8.92188 9.79297C9.07812 8.94141 9.74219 8.375 10.4453 8.07031C10.6602 7.97656 10.8906 7.90234 11.1289 7.84766V7.21875C11.1289 6.75391 11.5078 6.375 11.9727 6.375C12.4375 6.375 12.8164 6.75391 12.8164 7.21875H12.8125Z",{title:"Currency"}),pa=Ur("M21.7246 3.59842C22.0918 3.23117 22.0918 2.63732 21.7246 2.27397C21.3575 1.91063 20.7638 1.90672 20.4005 2.27397L15.0847 7.58348L14.5808 7.07948C13.7918 6.29029 12.5732 6.11838 11.6006 6.66144L2.64056 11.6428C2.24607 11.8616 2 12.2796 2 12.7328C2 13.0649 2.1328 13.3813 2.36325 13.6158L10.3859 21.6367C10.6203 21.8711 10.9366 22 11.2686 22C11.7217 22 12.1396 21.7539 12.3584 21.3593L17.3344 12.3968C17.8774 11.4201 17.7055 10.205 16.9165 9.41582L16.4127 8.91183L21.7246 3.59842ZM14.6394 13.3892L11.1241 19.7223L7.35104 15.9482L8.0541 13.8424C8.13612 13.5962 7.90177 13.3657 7.6596 13.4478L5.55043 14.1471L4.28103 12.8773L10.6124 9.36112L14.6394 13.3892Z",{title:"Broom"}),ma=Ur("M8.5625 4.92857C8.04297 4.92857 7.625 5.35848 7.625 5.89286V18.1071C7.625 18.4446 7.57031 18.7701 7.46484 19.0714H19.1875C19.707 19.0714 20.125 18.6415 20.125 18.1071V5.89286C20.125 5.35848 19.707 4.92857 19.1875 4.92857H8.5625ZM4.8125 21C3.25781 21 2 19.7062 2 18.1071V6.21429C2 5.67991 2.41797 5.25 2.9375 5.25C3.45703 5.25 3.875 5.67991 3.875 6.21429V18.1071C3.875 18.6415 4.29297 19.0714 4.8125 19.0714C5.33203 19.0714 5.75 18.6415 5.75 18.1071V5.89286C5.75 4.29375 7.00781 3 8.5625 3H19.1875C20.7422 3 22 4.29375 22 5.89286V18.1071C22 19.7062 20.7422 21 19.1875 21H4.8125ZM8.875 7.17857C8.875 6.6442 9.29297 6.21429 9.8125 6.21429H13.5625C14.082 6.21429 14.5 6.6442 14.5 7.17857V10.3929C14.5 10.9272 14.082 11.3571 13.5625 11.3571H9.8125C9.29297 11.3571 8.875 10.9272 8.875 10.3929V7.17857ZM16.6875 6.21429H17.9375C18.457 6.21429 18.875 6.6442 18.875 7.17857C18.875 7.71295 18.457 8.14286 17.9375 8.14286H16.6875C16.168 8.14286 15.75 7.71295 15.75 7.17857C15.75 6.6442 16.168 6.21429 16.6875 6.21429ZM16.6875 9.42857H17.9375C18.457 9.42857 18.875 9.85848 18.875 10.3929C18.875 10.9272 18.457 11.3571 17.9375 11.3571H16.6875C16.168 11.3571 15.75 10.9272 15.75 10.3929C15.75 9.85848 16.168 9.42857 16.6875 9.42857ZM9.8125 12.6429H17.9375C18.457 12.6429 18.875 13.0728 18.875 13.6071C18.875 14.1415 18.457 14.5714 17.9375 14.5714H9.8125C9.29297 14.5714 8.875 14.1415 8.875 13.6071C8.875 13.0728 9.29297 12.6429 9.8125 12.6429ZM9.8125 15.8571H17.9375C18.457 15.8571 18.875 16.2871 18.875 16.8214C18.875 17.3558 18.457 17.7857 17.9375 17.7857H9.8125C9.29297 17.7857 8.875 17.3558 8.875 16.8214C8.875 16.2871 9.29297 15.8571 9.8125 15.8571Z",{title:"Newspaper"}),ga=Ur(["M6.21099 2.67643C6.57818 3.04787 6.88287 3.36067 6.88287 3.37631C6.88287 3.38804 6.73052 3.50534 6.53912 3.63437C5.23834 4.52584 4.16802 5.64019 3.44537 6.85619C2.67193 8.15821 2.17974 9.66355 2.05474 11.0985L2.0274 11.423H6.49224L6.50787 11.3331C6.5177 11.2937 6.54405 11.1497 6.57305 10.9911L6.5899 10.8991C6.80474 9.75348 7.51568 8.53748 8.41021 7.8024C8.92584 7.38013 9.29302 7.15726 9.94927 6.87183L10.2618 6.73498L10.8399 7.30975L11.4141 7.88451V2H5.53521L6.21099 2.67643Z","M12.5859 6.49647L12.6758 6.51211C12.7151 6.52196 12.859 6.54833 13.0174 6.57735L13.1094 6.59422C14.2539 6.80927 15.4688 7.52088 16.2031 8.41627C16.625 8.93239 16.8477 9.29992 17.1328 9.9568L17.2695 10.2696L16.6953 10.8444L16.1211 11.423H22V5.53853L21.3164 6.22277C20.9023 6.63723 20.6211 6.89138 20.6016 6.86792C20.582 6.84446 20.4219 6.62159 20.2422 6.36744C19.1719 4.85037 17.9063 3.76731 16.3164 3.00095C15.2695 2.49266 14.0273 2.15249 12.8906 2.05474L12.5859 2.02737V6.49647Z","M2 18.4806V12.5961H7.87891L7.30469 13.1708L6.73047 13.7495L6.86719 14.0623C7.37109 15.2236 8.00391 15.9978 8.96875 16.6312C9.88281 17.2333 10.8867 17.5305 12 17.5305C13.3594 17.5305 14.6055 17.0652 15.6328 16.1776C15.7734 16.0564 15.8945 15.9587 15.9063 15.9587C15.918 15.9587 16.6289 16.6624 17.4883 17.5266L19.0508 19.0905L18.7578 19.3642C18.418 19.6849 17.8398 20.1345 17.4492 20.3847C13.543 22.9067 8.47656 22.4375 5.11328 19.243C4.62109 18.7738 4.21484 18.2968 3.75781 17.6517C3.57812 17.3975 3.41797 17.1747 3.39844 17.1512C3.37891 17.1277 3.09766 17.3819 2.68359 17.7963L2 18.4806Z"],{title:"Captcha"}),ba=Ur("M13.25 3.25C13.7708 3.27604 14.2135 3.45833 14.5781 3.79688C14.9167 4.16146 15.099 4.60417 15.125 5.125V7.625C15.099 8.14583 14.9167 8.58854 14.5781 8.95312C14.2135 9.29167 13.7708 9.47396 13.25 9.5H12.9375V11.0625H18.875C19.5 11.0885 20.0208 11.2969 20.4375 11.6875C20.8281 12.1042 21.0365 12.625 21.0625 13.25V14.5H21.375C21.8958 14.526 22.3385 14.7083 22.7031 15.0469C23.0417 15.4115 23.224 15.8542 23.25 16.375V18.875C23.224 19.3958 23.0417 19.8385 22.7031 20.2031C22.3385 20.5417 21.8958 20.724 21.375 20.75H18.875C18.3542 20.724 17.9115 20.5417 17.5469 20.2031C17.2083 19.8385 17.026 19.3958 17 18.875V16.375C17.026 15.8542 17.2083 15.4115 17.5469 15.0469C17.9115 14.7083 18.3542 14.526 18.875 14.5H19.1875V13.25C19.1615 13.0677 19.0573 12.9635 18.875 12.9375H12.9375V14.5H13.25C13.7708 14.526 14.2135 14.7083 14.5781 15.0469C14.9167 15.4115 15.099 15.8542 15.125 16.375V18.875C15.099 19.3958 14.9167 19.8385 14.5781 20.2031C14.2135 20.5417 13.7708 20.724 13.25 20.75H10.75C10.2292 20.724 9.78646 20.5417 9.42188 20.2031C9.08333 19.8385 8.90104 19.3958 8.875 18.875V16.375C8.90104 15.8542 9.08333 15.4115 9.42188 15.0469C9.78646 14.7083 10.2292 14.526 10.75 14.5H11.0625V12.9375H5.125C4.94271 12.9635 4.83854 13.0677 4.8125 13.25V14.5H5.125C5.64583 14.526 6.08854 14.7083 6.45312 15.0469C6.79167 15.4115 6.97396 15.8542 7 16.375V18.875C6.97396 19.3958 6.79167 19.8385 6.45312 20.2031C6.08854 20.5417 5.64583 20.724 5.125 20.75H2.625C2.10417 20.724 1.66146 20.5417 1.29688 20.2031C0.958333 19.8385 0.776042 19.3958 0.75 18.875V16.375C0.776042 15.8542 0.958333 15.4115 1.29688 15.0469C1.66146 14.7083 2.10417 14.526 2.625 14.5H2.9375V13.25C2.96354 12.625 3.17188 12.1042 3.5625 11.6875C3.97917 11.2969 4.5 11.0885 5.125 11.0625H11.0625V9.5H10.75C10.2292 9.47396 9.78646 9.29167 9.42188 8.95312C9.08333 8.58854 8.90104 8.14583 8.875 7.625V5.125C8.90104 4.60417 9.08333 4.16146 9.42188 3.79688C9.78646 3.45833 10.2292 3.27604 10.75 3.25H13.25ZM13.25 5.125H10.75V7.625H13.25V5.125ZM2.625 18.875H5.125V16.375H2.625V18.875ZM10.75 18.875H13.25V16.375H10.75V18.875ZM18.875 18.875H21.375V16.375H18.875V18.875Z",{title:"Sitemap"}),va=Ur("M12.3125 9.1875H7.9375C7.36458 9.13542 7.05208 8.82292 7 8.25C7.05208 7.67708 7.36458 7.36458 7.9375 7.3125H12.3125C12.8854 7.36458 13.1979 7.67708 13.25 8.25C13.1979 8.82292 12.8854 9.13542 12.3125 9.1875ZM16.0625 11.0625C16.6354 11.1146 16.9479 11.4271 17 12C16.9479 12.5729 16.6354 12.8854 16.0625 12.9375H7.9375C7.36458 12.8854 7.05208 12.5729 7 12C7.05208 11.4271 7.36458 11.1146 7.9375 11.0625H16.0625ZM9.8125 16.6875H7.9375C7.36458 16.6354 7.05208 16.3229 7 15.75C7.05208 15.1771 7.36458 14.8646 7.9375 14.8125H9.8125C10.3854 14.8646 10.6979 15.1771 10.75 15.75C10.6979 16.3229 10.3854 16.6354 9.8125 16.6875ZM18.25 3.25C18.9531 3.27604 19.5391 3.52344 20.0078 3.99219C20.4766 4.46094 20.724 5.04688 20.75 5.75V18.25C20.724 18.9531 20.4766 19.5391 20.0078 20.0078C19.5391 20.4766 18.9531 20.724 18.25 20.75H5.75C5.04688 20.724 4.46094 20.4766 3.99219 20.0078C3.52344 19.5391 3.27604 18.9531 3.25 18.25V5.75C3.27604 5.04688 3.52344 4.46094 3.99219 3.99219C4.46094 3.52344 5.04688 3.27604 5.75 3.25H18.25ZM18.25 5.125H5.75C5.35938 5.15104 5.15104 5.35938 5.125 5.75V18.25C5.15104 18.6406 5.35938 18.849 5.75 18.875H18.25C18.6406 18.849 18.849 18.6406 18.875 18.25V5.75C18.849 5.35938 18.6406 5.15104 18.25 5.125Z",{title:"Poll"}),ya=Ur("M5.75 8.25C5.75 7.88542 5.86719 7.58594 6.10156 7.35156C6.33594 7.11719 6.63542 7 7 7H12C12.3646 7 12.6641 7.11719 12.8984 7.35156C13.1328 7.58594 13.25 7.88542 13.25 8.25V12C13.25 12.3646 13.1328 12.6641 12.8984 12.8984C12.6641 13.1328 12.3646 13.25 12 13.25H7C6.63542 13.25 6.33594 13.1328 6.10156 12.8984C5.86719 12.6641 5.75 12.3646 5.75 12V8.25ZM12 14.5C12.7031 14.474 13.2891 14.2266 13.7578 13.7578C14.2266 13.2891 14.474 12.7031 14.5 12V10.75H17C17.3646 10.75 17.6641 10.8672 17.8984 11.1016C18.1328 11.3359 18.25 11.6354 18.25 12V15.75C18.25 16.1146 18.1328 16.4141 17.8984 16.6484C17.6641 16.8828 17.3646 17 17 17H12C11.6354 17 11.3359 16.8828 11.1016 16.6484C10.8672 16.4141 10.75 16.1146 10.75 15.75V14.5H12ZM2.625 6.53125C2.23438 6.14062 2.02604 5.67188 2 5.125C2.02604 4.60417 2.20833 4.16146 2.54688 3.79688C2.91146 3.45833 3.35417 3.27604 3.875 3.25C4.42188 3.27604 4.89062 3.48438 5.28125 3.875H18.7188C19.0833 3.48438 19.5521 3.27604 20.125 3.25C20.6458 3.27604 21.0885 3.45833 21.4531 3.79688C21.7917 4.16146 21.974 4.60417 22 5.125C21.974 5.67188 21.7656 6.14062 21.375 6.53125V17.4688C21.7656 17.8333 21.974 18.3021 22 18.875C21.974 19.3958 21.7917 19.8385 21.4531 20.2031C21.0885 20.5417 20.6458 20.724 20.125 20.75C19.5521 20.724 19.0833 20.5156 18.7188 20.125H5.28125C4.89062 20.5156 4.42188 20.724 3.875 20.75C3.35417 20.724 2.91146 20.5417 2.54688 20.2031C2.20833 19.8385 2.02604 19.3958 2 18.875C2.02604 18.3021 2.23438 17.8333 2.625 17.4688V6.53125ZM4.5 6.88281V17.1172C5.04688 17.3255 5.42448 17.7031 5.63281 18.25H18.3672C18.5755 17.7031 18.9531 17.3255 19.5 17.1172V6.88281C18.9531 6.67448 18.5755 6.29688 18.3672 5.75H5.63281C5.42448 6.29688 5.04688 6.67448 4.5 6.88281Z",{title:"Group"}),_a=Ur("M20 12c0 0.68-0.551 1.231-1.231 1.231h-5.538v5.538c0 0.68-0.551 1.23-1.231 1.23s-1.231-0.55-1.231-1.23v-5.538h-5.538c-0.68 0-1.231-0.551-1.231-1.231s0.551-1.23 1.231-1.23h5.538v-5.538c0-0.68 0.551-1.231 1.231-1.231s1.231 0.551 1.231 1.231v5.538h5.538c0.681-0 1.231 0.55 1.231 1.23z",{title:"Add"}),Ca=Ur("M19.607 17.957c0.468 0.467 0.468 1.225 0 1.693s-1.229 0.467-1.697 0l-5.909-5.937-5.951 5.935c-0.468 0.467-1.229 0.467-1.697 0s-0.468-1.225 0-1.693l5.953-5.933-5.954-5.979c-0.468-0.467-0.468-1.225 0-1.693s1.229-0.467 1.697 0l5.952 5.981 5.951-5.934c0.468-0.467 1.229-0.467 1.697 0s0.468 1.225 0 1.693l-5.953 5.933 5.911 5.935z",{title:"Close"}),wa=Ur("M22 12c0 5.523-4.477 10-10 10s-10-4.477-10-10c0-5.523 4.477-10 10-10s10 4.477 10 10zM8.913 7.587c-0.366-0.366-0.96-0.366-1.326 0s-0.366 0.96 0 1.326l3.087 3.087-3.087 3.087c-0.366 0.366-0.366 0.96 0 1.326s0.96 0.366 1.326 0l3.087-3.087 3.087 3.087c0.366 0.366 0.96 0.366 1.326 0s0.366-0.96 0-1.326l-3.087-3.087 3.087-3.087c0.366-0.366 0.366-0.96 0-1.326s-0.96-0.366-1.326 0l-3.087 3.087-3.087-3.087z",{title:"CloseAlt"}),xa=Ur("M8.109 12c0-2.105 1.707-3.75 3.892-3.75 2.148 0 3.892 1.645 3.892 3.75 0 2.070-1.743 3.75-3.892 3.75-2.185 0-3.892-1.68-3.892-3.75zM12 10.125c-1.074 0-1.946 0.84-1.946 1.875s0.872 1.875 1.946 1.875c1.074 0 1.946-0.84 1.946-1.875s-0.872-1.875-1.946-1.875zM13.504 2c0.9 0 1.682 0.593 1.893 1.435l0.316 1.268c0.345 0.162 0.673 0.346 0.985 0.55l1.301-0.369c0.863-0.245 1.788 0.111 2.238 0.861l1.504 2.509c0.446 0.75 0.304 1.699-0.345 2.297l-0.985 0.867c0.012 0.215 0.020 0.398 0.020 0.582s-0.008 0.367-0.020 0.547l0.985 0.902c0.649 0.598 0.79 1.547 0.345 2.297l-1.504 2.508c-0.45 0.75-1.374 1.105-2.238 0.863l-1.301-0.371c-0.312 0.203-0.64 0.387-0.985 0.551l-0.316 1.269c-0.211 0.84-0.993 1.434-1.893 1.434h-3.008c-0.9 0-1.682-0.594-1.893-1.434l-0.316-1.269c-0.345-0.164-0.673-0.348-0.985-0.551l-1.338 0.371c-0.826 0.242-1.75-0.113-2.199-0.863l-1.504-2.508c-0.45-0.75-0.307-1.699 0.344-2.297l0.983-0.902c-0.013-0.18-0.019-0.363-0.019-0.582 0-0.148 0.006-0.332 0.019-0.547l-0.983-0.867c-0.651-0.598-0.793-1.547-0.344-2.297l1.504-2.509c0.45-0.75 1.373-1.106 2.199-0.861l1.338 0.369c0.312-0.204 0.64-0.387 0.985-0.55l0.316-1.268c0.211-0.842 0.993-1.435 1.893-1.435h3.008zM9.953 6.047l-0.454 0.184c-0.515 0.207-0.993 0.477-1.427 0.797l-0.393 0.289-2.229-0.633-1.504 2.508 1.682 1.543-0.062 0.469c-0.034 0.262-0.052 0.527-0.052 0.797s0.018 0.535 0.052 0.797l0.062 0.469-1.682 1.543 1.504 2.508 2.229-0.633 0.393 0.289c0.434 0.32 0.912 0.59 1.427 0.797l0.454 0.184 0.543 2.172h3.008l0.543-2.172 0.454-0.184c0.515-0.207 0.993-0.477 1.427-0.797l0.393-0.289 2.23 0.633 1.504-2.508-1.682-1.543 0.061-0.469c0.036-0.262 0.053-0.527 0.053-0.797s-0.016-0.535-0.053-0.797l-0.061-0.469 1.682-1.543-1.504-2.508-2.23 0.633-0.393-0.289c-0.434-0.32-0.912-0.59-1.427-0.797l-0.454-0.184-0.543-2.172h-3.008l-0.543 2.172z",{title:"Settings"}),Ea=Ur("M10.845 6.385l0 1.717 1.076 1.048c-0.242-1.228 0.123-2.479 1.002-3.36 0.712-0.713 1.656-1.097 2.636-1.097h0.040l-2.046 2.011 0.532 3.192 3.186 0.532 2.012-2.017c0.009 0.995-0.373 1.955-1.098 2.677-0.325 0.33-0.707 0.581-1.116 0.762 0.062 0.057 0.136 0.102 0.198 0.164l1.077 1.082c0.369-0.225 0.721-0.493 1.037-0.81 1.335-1.307 1.885-3.32 1.428-5.161-0.105-0.432-0.435-0.77-0.857-0.889-0.431-0.119-0.888 0.005-1.164 0.317l-2.065 2.065-1.138-0.189-0.189-1.145 2.061-2.061c0.312-0.285 0.431-0.743 0.312-1.166-0.114-0.427-0.457-0.757-0.888-0.863-1.867-0.466-3.793 0.071-5.15 1.427-0.36 0.361-0.65 0.766-0.892 1.166l0.040 0.026-0.031 0.569zM6.728 18.989c-0.448 0.449-1.239 0.449-1.692 0-0.224-0.225-0.352-0.497-0.352-0.814-0-0.321 0.123-0.621 0.351-0.814l4.726-4.794-1.192-1.194-4.725 4.727c-0.545 0.546-0.812 1.272-0.843 2.011s0.299 1.497 0.844 2.043c0.545 0.546 1.27 0.845 2.007 0.845 0.769-0 1.494-0.3 2.039-0.845l3.547-3.554c-0.338-0.559-0.532-1.193-0.549-1.836l-4.161 4.225zM20.618 16.936l-4.117-4.122c-0.813-0.814-2.027-0.974-3.002-0.49l-3.779-3.759v-2.184l-4.468-3.381-2.25 2.223 3.375 4.477 2.181 0 3.751 3.755c-0.479 0.978-0.324 2.193 0.489 3.008l4.113 4.125c0.51 0.515 1.343 0.515 1.853-0l1.854-1.858c0.509-0.453 0.509-1.284-0-1.795z",{title:"Tools"}),Sa=Ur("M6.375 13.25V4.5C6.375 4.15625 6.65625 3.875 7 3.875H8.25V7.625C8.25 7.96875 8.53125 8.25 8.875 8.25C9.21875 8.25 9.5 7.96875 9.5 7.625V3.875H12V6.375C12 6.71875 12.2812 7 12.625 7C12.9688 7 13.25 6.71875 13.25 6.375V3.875H17C17.3438 3.875 17.625 4.15625 17.625 4.5V13.25H6.375ZM4.5 14.5C4.5 15.8789 5.62109 17 7 17H9.5V19.5C9.5 20.8789 10.6211 22 12 22C13.3789 22 14.5 20.8789 14.5 19.5V17H17C18.3789 17 19.5 15.8789 19.5 14.5V4.5C19.5 3.12109 18.3789 2 17 2H7C5.62109 2 4.5 3.12109 4.5 4.5V14.5ZM12 18.875C12.1658 18.875 12.3247 18.9408 12.4419 19.0581C12.5592 19.1753 12.625 19.3342 12.625 19.5C12.625 19.6658 12.5592 19.8247 12.4419 19.9419C12.3247 20.0592 12.1658 20.125 12 20.125C11.8342 20.125 11.6753 20.0592 11.5581 19.9419C11.4408 19.8247 11.375 19.6658 11.375 19.5C11.375 19.3342 11.4408 19.1753 11.5581 19.0581C11.6753 18.9408 11.8342 18.875 12 18.875Z",{title:"Brush"}),ka=Ur("M20.125 12.0859C20.125 12.1914 20.0859 12.2891 19.9609 12.3984C19.8125 12.5195 19.5664 12.625 19.2656 12.625H15.4375C13.3672 12.625 11.6875 14.3047 11.6875 16.375C11.6875 16.6406 11.7148 16.8984 11.7695 17.1484C11.8984 17.7617 12.168 18.3633 12.332 18.7344C12.3594 18.7969 12.3867 18.8516 12.4062 18.9023C12.6016 19.3516 12.625 19.5039 12.625 19.5703C12.625 19.7773 12.5508 19.9414 12.4766 20.0312C12.4414 20.0742 12.4141 20.0938 12.3984 20.1016C12.3867 20.1094 12.3672 20.1133 12.3359 20.1172C12.2227 20.1211 12.1133 20.125 12 20.125C7.51172 20.125 3.875 16.4883 3.875 12C3.875 7.51172 7.51172 3.875 12 3.875C16.4883 3.875 20.125 7.51172 20.125 12C20.125 12.0273 20.125 12.0547 20.125 12.0859ZM22 12.1055C22 12.0703 22 12.0352 22 12C22 6.47656 17.5234 2 12 2C6.47656 2 2 6.47656 2 12C2 17.5234 6.47656 22 12 22C12.1367 22 12.2773 21.9961 12.4141 21.9922C13.6562 21.9414 14.5 20.8164 14.5 19.5703C14.5 19.0039 14.2617 18.4648 14.0273 17.9297C13.8594 17.5469 13.6875 17.1602 13.6055 16.7617C13.5781 16.6367 13.5664 16.5078 13.5664 16.375C13.5664 15.3398 14.4062 14.5 15.4414 14.5H19.2656C20.6914 14.5 21.9883 13.5312 22.0039 12.1055H22ZM8.25 12C8.25 11.6685 8.1183 11.3505 7.88388 11.1161C7.64946 10.8817 7.33152 10.75 7 10.75C6.66848 10.75 6.35054 10.8817 6.11612 11.1161C5.8817 11.3505 5.75 11.6685 5.75 12C5.75 12.3315 5.8817 12.6495 6.11612 12.8839C6.35054 13.1183 6.66848 13.25 7 13.25C7.33152 13.25 7.64946 13.1183 7.88388 12.8839C8.1183 12.6495 8.25 12.3315 8.25 12ZM8.25 9.5C8.58152 9.5 8.89946 9.3683 9.13388 9.13388C9.3683 8.89946 9.5 8.58152 9.5 8.25C9.5 7.91848 9.3683 7.60054 9.13388 7.36612C8.89946 7.1317 8.58152 7 8.25 7C7.91848 7 7.60054 7.1317 7.36612 7.36612C7.1317 7.60054 7 7.91848 7 8.25C7 8.58152 7.1317 8.89946 7.36612 9.13388C7.60054 9.3683 7.91848 9.5 8.25 9.5ZM13.25 7C13.25 6.66848 13.1183 6.35054 12.8839 6.11612C12.6495 5.8817 12.3315 5.75 12 5.75C11.6685 5.75 11.3505 5.8817 11.1161 6.11612C10.8817 6.35054 10.75 6.66848 10.75 7C10.75 7.33152 10.8817 7.64946 11.1161 7.88388C11.3505 8.1183 11.6685 8.25 12 8.25C12.3315 8.25 12.6495 8.1183 12.8839 7.88388C13.1183 7.64946 13.25 7.33152 13.25 7ZM15.75 9.5C16.0815 9.5 16.3995 9.3683 16.6339 9.13388C16.8683 8.89946 17 8.58152 17 8.25C17 7.91848 16.8683 7.60054 16.6339 7.36612C16.3995 7.1317 16.0815 7 15.75 7C15.4185 7 15.1005 7.1317 14.8661 7.36612C14.6317 7.60054 14.5 7.91848 14.5 8.25C14.5 8.58152 14.6317 8.89946 14.8661 9.13388C15.1005 9.3683 15.4185 9.5 15.75 9.5Z",{title:"Palette"}),Oa=Ur(["M10 5.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z","M16 5.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z","M16 12c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z","M10 12c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z","M10 18.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z","M16 18.5c0 0.828-0.672 1.5-1.5 1.5s-1.5-0.672-1.5-1.5c0-0.828 0.672-1.5 1.5-1.5s1.5 0.672 1.5 1.5z"],{title:"Grip"}),Ma=Ur(["M5 14c1.105 0 2-0.895 2-2s-0.895-2-2-2c-1.105 0-2 0.895-2 2s0.895 2 2 2z","M12 14c1.105 0 2-0.895 2-2s-0.895-2-2-2c-1.105 0-2 0.895-2 2s0.895 2 2 2z","M19 14c1.105 0 2-0.895 2-2s-0.895-2-2-2c-1.105 0-2 0.895-2 2s0.895 2 2 2z"],{title:"More"}),Aa=Ur("M2 5.04348C2 4.46522 2.47768 4 3.07143 4H20.9286C21.5223 4 22 4.46522 22 5.04348C22 5.62174 21.5223 6.08696 20.9286 6.08696H3.07143C2.47768 6.08696 2 5.62174 2 5.04348ZM2 12C2 11.4217 2.47768 10.9565 3.07143 10.9565H20.9286C21.5223 10.9565 22 11.4217 22 12C22 12.5783 21.5223 13.0435 20.9286 13.0435H3.07143C2.47768 13.0435 2 12.5783 2 12ZM22 18.9565C22 19.5348 21.5223 20 20.9286 20H3.07143C2.47768 20 2 19.5348 2 18.9565C2 18.3783 2.47768 17.913 3.07143 17.913H20.9286C21.5223 17.913 22 18.3783 22 18.9565Z",{title:"Hamburger"}),Pa=Ur("M2 4.688c0-0.482 0.156-0.884 0.469-1.205s0.703-0.482 1.172-0.482h16.719c0.469 0 0.859 0.161 1.172 0.482s0.469 0.723 0.469 1.205c0 0.402-0.117 0.75-0.352 1.045l-6.523 8.237v5.745c0 0.348-0.117 0.656-0.352 0.924-0.26 0.241-0.56 0.362-0.898 0.362-0.312 0-0.573-0.107-0.781-0.321l-3.633-2.893c-0.391-0.348-0.586-0.777-0.586-1.286v-2.531l-6.523-8.237c-0.234-0.295-0.352-0.643-0.352-1.045zM4.148 4.929l6.406 8.076c0.13 0.188 0.195 0.388 0.195 0.603v2.732l2.5 2.049v-4.781c0-0.214 0.065-0.415 0.195-0.603l6.406-8.076h-15.703z",{title:"Filter"}),ja=Ur("M12 12c-1.571 0-2.857 1.286-2.857 2.857s1.286 2.857 2.857 2.857 2.857-1.286 2.857-2.857c0-1.571-1.286-2.857-2.857-2.857zM21.335 6.335l-3.745-3.746c-0.362-0.363-0.911-0.589-1.478-0.589h-11.254c-1.578 0-2.857 1.279-2.857 2.857v14.286c0 1.578 1.279 2.857 2.857 2.857h14.286c1.578 0 2.857-1.279 2.857-2.857v-11.255c0-0.567-0.228-1.116-0.665-1.554zM7.714 4.143h6.429v3.571h-6.429v-3.571zM19.857 19.143c0 0.394-0.32 0.714-0.714 0.714h-14.286c-0.394 0-0.714-0.32-0.714-0.714v-14.286c0-0.395 0.32-0.714 0.714-0.714h0.714v4.643c0 0.592 0.48 1.071 1.071 1.071h8.571c0.594 0 1.071-0.478 1.071-1.071v-4.47l3.493 3.493c0.051 0.048 0.078 0.119 0.078 0.186v11.147z",{title:"Save"}),Ia=Ur("M7.118 8.016c1.84-1.773 4.898-1.773 6.738 0 1.655 1.595 1.9 4.137 0.539 5.971l-0.036 0.051c-0.341 0.456-1.003 0.565-1.476 0.236-0.477-0.328-0.589-0.966-0.248-1.423l0.036-0.051c0.758-1.024 0.639-2.424-0.285-3.314-1.039-1.002-2.73-1.002-3.773 0l-3.713 3.582c-1.043 0.976-1.043 2.632 0 3.636 0.92 0.89 2.376 1.005 3.435 0.274l0.053-0.064c0.477-0.3 1.138-0.195 1.476 0.265 0.341 0.459 0.232 1.097-0.245 1.426l-0.053 0.035c-1.933 1.311-4.511 1.101-6.165-0.491-1.869-1.802-1.869-4.724 0-6.523l3.716-3.611zM16.881 15.955c-1.87 1.802-4.898 1.802-6.768 0-1.655-1.595-1.87-4.109-0.51-5.943l0.036-0.051c0.311-0.456 0.973-0.565 1.476-0.236 0.477 0.3 0.589 0.938 0.248 1.423l-0.036 0.051c-0.758 0.995-0.639 2.424 0.285 3.314 1.039 1.002 2.73 1.002 3.773 0l3.713-3.582c1.043-1.005 1.043-2.66 0-3.636-0.92-0.889-2.376-1.005-3.435-0.274l-0.053 0.035c-0.477 0.329-1.138 0.195-1.476-0.237-0.341-0.459-0.232-1.096 0.245-1.424l0.053-0.036c1.903-1.311 4.511-1.103 6.166 0.492 1.87 1.801 1.87 4.723 0 6.522l-3.717 3.582z",{title:"Link"}),Ta=Ur("M21.648 4.773l-2.422-2.422c-0.234-0.234-0.521-0.352-0.859-0.352h-6.406c-0.703 0.026-1.289 0.273-1.758 0.742s-0.716 1.055-0.742 1.758v10c0.026 0.703 0.286 1.289 0.781 1.758 0.469 0.469 1.055 0.716 1.758 0.742h7.5c0.703-0.026 1.289-0.273 1.758-0.742s0.716-1.055 0.742-1.758v-8.867c0-0.339-0.117-0.625-0.352-0.859zM20.125 14.5c-0.026 0.391-0.234 0.599-0.625 0.625h-7.539c-0.391-0.026-0.599-0.234-0.625-0.625v-10c0.026-0.365 0.234-0.573 0.625-0.625h5l0.039 1.875c0 0.365 0.117 0.664 0.352 0.898s0.534 0.352 0.898 0.352h1.836v7.5h0.039zM12.625 19.5c-0.026 0.391-0.234 0.599-0.625 0.625h-7.539c-0.391-0.026-0.599-0.234-0.625-0.625l0.039-10c0.026-0.391 0.234-0.599 0.625-0.625h3.75v-1.875h-3.75c-0.703 0.026-1.289 0.273-1.758 0.742s-0.716 1.055-0.742 1.758v10c0.026 0.703 0.273 1.289 0.742 1.758s1.055 0.716 1.758 0.742h7.5c0.703-0.026 1.289-0.273 1.758-0.742s0.716-1.055 0.742-1.758v-1.25h-1.836l-0.039 1.25z",{title:"Copy"}),Da=Ur("M19.119 5.043c0.417 0.446 0.625 0.974 0.625 1.585s-0.208 1.139-0.625 1.585l-1.701 1.726-4.513-4.579 1.701-1.726c0.44-0.423 0.96-0.634 1.562-0.634s1.122 0.211 1.562 0.634l1.389 1.409zM4.053 14.376l8.088-8.242 4.513 4.579-8.088 8.206c-0.37 0.376-0.81 0.646-1.319 0.81l-4.166 1.233c-0.324 0.094-0.602 0.012-0.833-0.246-0.231-0.211-0.301-0.481-0.208-0.81l1.215-4.226c0.162-0.517 0.428-0.951 0.798-1.303zM21.167 19.307c0.509 0.047 0.787 0.329 0.833 0.845-0.046 0.516-0.324 0.798-0.833 0.845h-10.553c-0.509-0.047-0.787-0.329-0.833-0.845 0.046-0.517 0.324-0.798 0.833-0.845h10.553z",{title:"Edit"}),La=Ur("M7.357 7.357h1.429v-0.714c0-0.594 0.478-1.071 1.071-1.071s1.071 0.478 1.071 1.071v0.714h5.714c0.594 0 1.071 0.478 1.071 1.071s-0.478 1.071-1.071 1.071h-5.714v0.714c0 0.594-0.478 1.071-1.071 1.071s-1.071-0.478-1.071-1.071v-0.714h-1.429c-0.594 0-1.071-0.478-1.071-1.071s0.478-1.071 1.071-1.071zM7.357 16.643c-0.594 0-1.071-0.478-1.071-1.071s0.478-1.071 1.071-1.071h5.714v-0.714c0-0.594 0.478-1.071 1.071-1.071s1.071 0.478 1.071 1.071v0.714h1.429c0.594 0 1.071 0.478 1.071 1.071s-0.478 1.071-1.071 1.071h-1.429v0.714c0 0.594-0.478 1.071-1.071 1.071s-1.071-0.478-1.071-1.071v-0.714h-5.714zM2 4.857c0-1.578 1.279-2.857 2.857-2.857h14.286c1.576 0 2.857 1.279 2.857 2.857v14.286c0 1.576-1.281 2.857-2.857 2.857h-14.286c-1.578 0-2.857-1.281-2.857-2.857v-14.286zM4.857 19.857h14.286c0.393 0 0.714-0.321 0.714-0.714v-14.286c0-0.395-0.321-0.714-0.714-0.714h-14.286c-0.395 0-0.714 0.32-0.714 0.714v14.286c0 0.393 0.32 0.714 0.714 0.714z",{title:"Config"}),Na=Ur("M9.13 2.691c0.205-0.424 0.626-0.691 1.085-0.691h4.569c0.459 0 0.88 0.267 1.085 0.691l0.273 0.559h3.643c0.672 0 1.214 0.56 1.214 1.25s-0.543 1.25-1.214 1.25h-14.571c-0.671 0-1.214-0.56-1.214-1.25s0.544-1.25 1.214-1.25h3.643l0.273-0.559zM5.18 7h14.606v12.5c0 1.379-1.089 2.5-2.429 2.5h-9.748c-1.307 0-2.429-1.121-2.429-2.5v-12.5zM8.216 10.125v8.75c0 0.344 0.307 0.625 0.607 0.625 0.368 0 0.607-0.281 0.607-0.625v-8.75c0-0.344-0.239-0.625-0.607-0.625-0.3 0-0.607 0.281-0.607 0.625zM11.859 10.125v8.75c0 0.344 0.307 0.625 0.607 0.625 0.368 0 0.641-0.281 0.641-0.625v-8.75c0-0.344-0.273-0.625-0.641-0.625-0.3 0-0.607 0.281-0.607 0.625zM15.536 10.125v8.75c0 0.344 0.273 0.625 0.607 0.625s0.607-0.281 0.607-0.625v-8.75c0-0.344-0.273-0.625-0.607-0.625s-0.607 0.281-0.607 0.625z",{title:"Trash"}),Ra=Ur("M8.071 14.857h-5c-0.592 0-1.071 0.478-1.071 1.071 0 0.591 0.48 1.071 1.071 1.071h3.929v3.929c0 0.594 0.478 1.071 1.071 1.071s1.071-0.478 1.071-1.071v-5c0-0.594-0.478-1.071-1.071-1.071zM15.929 9.143h5c0.594 0 1.071-0.478 1.071-1.071 0-0.592-0.48-1.071-1.071-1.071h-3.929v-3.929c0-0.592-0.478-1.071-1.071-1.071s-1.071 0.479-1.071 1.071v5c0 0.594 0.478 1.071 1.071 1.071zM8.071 2c-0.594 0-1.071 0.479-1.071 1.071v3.929h-3.929c-0.592 0-1.071 0.478-1.071 1.071s0.48 1.071 1.071 1.071h5c0.594 0 1.071-0.478 1.071-1.071v-5c0-0.592-0.478-1.071-1.071-1.071zM20.929 14.857h-5c-0.594 0-1.071 0.478-1.071 1.071v5c0 0.591 0.48 1.071 1.071 1.071s1.071-0.48 1.071-1.071v-3.929h3.929c0.591 0 1.071-0.48 1.071-1.071 0-0.594-0.478-1.071-1.071-1.071z",{title:"Compress"}),Fa=Ur("M7.313 18h-3.438v-3.667c0-0.554-0.42-1-0.938-1s-0.938 0.446-0.938 1v4.667c0 0.554 0.42 1 0.938 1h4.375c0.52 0 0.938-0.446 0.938-1s-0.418-1-0.938-1zM7.313 4h-4.375c-0.518 0-0.938 0.448-0.938 1v4.667c0 0.554 0.42 1 0.938 1s0.938-0.446 0.938-1v-3.667h3.438c0.52 0 0.938-0.446 0.938-1s-0.418-1-0.938-1zM21.063 4h-4.375c-0.519 0-0.938 0.448-0.938 1s0.42 1 0.938 1h3.438v3.667c0 0.554 0.418 1 0.938 1s0.938-0.446 0.938-1v-4.667c0-0.552-0.418-1-0.938-1zM21.063 13.333c-0.518 0-0.938 0.448-0.938 1v3.667h-3.438c-0.518 0-0.938 0.448-0.938 1s0.418 1 0.938 1h4.375c0.518 0 0.938-0.448 0.938-1v-4.667c0-0.554-0.418-1-0.938-1z",{title:"Expand"}),za=Ur("M19.5 5.75h-6.723l-1.922-1.768c-0.469-0.469-1.102-0.732-1.766-0.732h-4.59c-1.381 0-2.5 1.12-2.5 2.5v12.5c0 1.38 1.119 2.5 2.5 2.5h15c1.381 0 2.5-1.119 2.5-2.5v-10c0-1.379-1.121-2.5-2.5-2.5zM4.5 5.125h4.59c0.167 0 0.324 0.065 0.442 0.183l2.468 2.317h7.5c0.345 0 0.625 0.28 0.625 0.625v1.25h-16.25v-3.75c0-0.345 0.28-0.625 0.625-0.625zM19.5 18.875h-15c-0.345 0-0.625-0.28-0.625-0.625v-6.875h16.25v6.875c0 0.344-0.281 0.625-0.625 0.625z",{title:"FolderClose"}),Ha=Ur("M21.882 12.511l-3.333 6.857c-0.188 0.389-0.573 0.632-1.024 0.632h-13.302c-1.227 0-2.222-1.024-2.222-2.286v-11.429c0-1.262 0.995-2.286 2.222-2.286h4.080c0.589 0 1.155 0.241 1.572 0.67l1.706 1.616h4.865c1.227 0 2.222 1.024 2.222 2.286v1.143h-1.667v-1.143c0-0.315-0.249-0.571-0.556-0.571h-5.556l-2.194-2.118c-0.104-0.108-0.243-0.168-0.392-0.168h-4.080c-0.306 0-0.556 0.256-0.556 0.571v10.286l2.471-5.082c0.189-0.389 0.574-0.632 0.994-0.632h13.757c0.823 0 1.361 0.893 0.993 1.654z",{title:"FolderOpen"}),Ua=Ur("M19.208 5.633l-3.083-2.891c-0.528-0.495-1.167-0.742-1.917-0.742h-7.542c-0.75 0.026-1.375 0.273-1.875 0.742s-0.764 1.055-0.792 1.758v15c0.028 0.703 0.292 1.289 0.792 1.758s1.125 0.716 1.875 0.742h10.667c0.75-0.026 1.375-0.273 1.875-0.742s0.764-1.055 0.792-1.758v-12.070c0-0.703-0.264-1.302-0.792-1.797zM17.333 20.125h-10.667c-0.389-0.052-0.611-0.247-0.667-0.586v-15.039c0.028-0.365 0.25-0.573 0.667-0.625h6.667v3.125c0 0.365 0.125 0.664 0.375 0.898s0.57 0.352 0.958 0.352h3.292v11.25c0 0.391-0.208 0.599-0.625 0.625z",{title:"File"}),Va=Ur("M18.258 5.633l-2.891-2.891c-0.495-0.495-1.094-0.742-1.797-0.742h-7.070c-0.703 0.026-1.289 0.273-1.758 0.742s-0.716 1.055-0.742 1.758v15c0.026 0.703 0.273 1.289 0.742 1.758s1.055 0.716 1.758 0.742h10c0.703-0.026 1.289-0.273 1.758-0.742s0.716-1.055 0.742-1.758v-12.070c0-0.703-0.247-1.302-0.742-1.797zM17.125 19.5c-0.026 0.391-0.234 0.599-0.625 0.625h-10c-0.391-0.026-0.599-0.234-0.625-0.625v-15c0.026-0.365 0.234-0.573 0.625-0.625h6.25v3.125c0 0.365 0.117 0.664 0.352 0.898s0.534 0.352 0.898 0.352h3.086v11.25h0.039zM10.523 14.695l-1.211-1.172c-0.443-0.364-0.885-0.364-1.328 0-0.365 0.443-0.365 0.885 0 1.328l1.875 1.875c0.208 0.182 0.443 0.273 0.703 0.273 0 0 0.013 0 0.039 0 0.26-0.026 0.482-0.13 0.664-0.312l3.75-4.375c0.339-0.469 0.312-0.912-0.078-1.328-0.469-0.339-0.912-0.312-1.328 0.078l-3.086 3.633z",{title:"FileCheck"}),$a=Ur("M10.754 12.070c-0.325-0.305-0.853-0.305-1.178 0l-2 1.875c-0.325 0.305-0.325 0.801 0 1.106l2 1.875c0.166 0.156 0.378 0.23 0.591 0.23s0.426-0.076 0.589-0.228c0.325-0.305 0.325-0.801 0-1.106l-1.41-1.322 1.411-1.322c0.289-0.307 0.289-0.799-0.003-1.108zM19.221 5.648l-3.11-2.916c-0.503-0.469-1.182-0.732-1.886-0.732h-7.558c-1.473 0-2.667 1.119-2.667 2.5l0 15c0 1.38 1.194 2.5 2.667 2.5h10.666c1.467 0 2.667-1.125 2.667-2.5v-12.086c0-0.66-0.279-1.297-0.779-1.766zM18 19.5c0 0.345-0.299 0.625-0.667 0.625h-10.666c-0.368 0-0.667-0.28-0.667-0.625l-0.001-14.995c0-0.345 0.299-0.625 0.667-0.625h6.667v3.12c0 0.69 0.597 1.25 1.333 1.25h3.296v11.25h0.037zM13.246 12.070c-0.326 0.305-0.326 0.801 0 1.106l1.408 1.324-1.411 1.322c-0.325 0.305-0.325 0.801 0 1.106 0.165 0.154 0.378 0.228 0.59 0.228s0.426-0.076 0.589-0.228l2-1.875c0.326-0.305 0.326-0.801 0-1.106l-2-1.875c-0.327-0.306-0.852-0.306-1.177-0.002z",{title:"FileCode"}),Ba=Ur("M19.2208 5.64766L16.1113 2.73204C15.6083 2.26336 14.9292 2 14.225 2L6.66667 2C5.19375 2 4 3.11914 4 4.5L4.00027 19.5C4.00027 20.8805 5.19402 22 6.66694 22H17.3333C18.8 22 20 20.875 20 19.5V7.41407C20 6.75391 19.7208 6.11719 19.2208 5.64766ZM18 19.5C18 19.8452 17.7015 20.125 17.3333 20.125H6.6675C6.29925 20.125 6.00083 19.8452 6.00083 19.5L6 4.50508C6 4.15993 6.2985 3.88008 6.66667 3.88008H8.66667V4.5H11.3333V3.88008H13.3337L13.3333 7C13.3333 7.69024 13.9304 8.25 14.6667 8.25H17.9625V19.5H18ZM11.3333 5.75H8.66667V7H11.3333V5.75ZM11.3333 8.25H8.66667V9.5H11.3333V8.25ZM11.3333 10.75H8.66667L7.39333 15.3008C7.06292 16.8242 8.32083 18.25 10.0125 18.25C11.69 18.25 12.9479 16.832 12.6242 15.3145L11.3333 10.75ZM10.6667 16.375H9.33333C8.96517 16.375 8.66667 16.0952 8.66667 15.75C8.66667 15.4048 8.96517 15.125 9.33333 15.125H10.6667C11.0348 15.125 11.3333 15.4048 11.3333 15.75C11.3333 16.0952 11.0333 16.375 10.6667 16.375Z",{title:"FileZip"}),Wa=Ur("M19.221 5.012l-3.11-3.207c-0.503-0.516-1.182-0.805-1.886-0.805h-7.558c-1.473 0-2.667 1.231-2.667 2.75l0 16.5c0 1.518 1.194 2.75 2.667 2.75h10.666c1.467 0 2.667-1.237 2.667-2.75v-13.295c0-0.726-0.279-1.427-0.779-1.943zM18 20.25c0 0.38-0.299 0.687-0.667 0.687h-10.666c-0.368 0-0.667-0.308-0.667-0.687l-0.001-16.494c0-0.38 0.299-0.687 0.667-0.687h6.667v3.432c0 0.759 0.597 1.375 1.333 1.375h3.296v12.375h0.037zM8 13.031c0 0.571 0.45 1.031 1 1.031h6c0.554 0 1-0.46 1-1.031s-0.446-1.031-1-1.031h-6c-0.55 0-1 0.464-1 1.031zM15 16.125h-6c-0.55 0-1 0.464-1 1.031s0.448 1.031 1 1.031h6c0.552 0 1-0.462 1-1.031s-0.446-1.031-1-1.031z",{title:"Form"}),Za=Ur("M7.5 20.125H17.5C17.8438 20.125 18.125 19.8438 18.125 19.5V8.25H15C14.3086 8.25 13.75 7.69141 13.75 7V3.875H7.5C7.15625 3.875 6.875 4.15625 6.875 4.5V19.5C6.875 19.8438 7.15625 20.125 7.5 20.125ZM5 4.5C5 3.12109 6.12109 2 7.5 2H13.9648C14.6289 2 15.2656 2.26172 15.7344 2.73047L19.2695 6.26562C19.7383 6.73438 20 7.37109 20 8.03516V19.5C20 20.8789 18.8789 22 17.5 22H7.5C6.12109 22 5 20.8789 5 19.5V4.5ZM8.125 6.375C8.125 6.03125 8.40625 5.75 8.75 5.75H11.875C12.2188 5.75 12.5 6.03125 12.5 6.375C12.5 6.71875 12.2188 7 11.875 7H8.75C8.40625 7 8.125 6.71875 8.125 6.375ZM8.125 8.875C8.125 8.53125 8.40625 8.25 8.75 8.25H11.875C12.2188 8.25 12.5 8.53125 12.5 8.875C12.5 9.21875 12.2188 9.5 11.875 9.5H8.75C8.40625 9.5 8.125 9.21875 8.125 8.875ZM12.5 17.625C12.5 17.2812 12.7812 17 13.125 17H16.25C16.5938 17 16.875 17.2812 16.875 17.625C16.875 17.9688 16.5938 18.25 16.25 18.25H13.125C12.7812 18.25 12.5 17.9688 12.5 17.625ZM9.375 10.75H15.625C16.3164 10.75 16.875 11.3086 16.875 12V14.5C16.875 15.1914 16.3164 15.75 15.625 15.75H9.375C8.68359 15.75 8.125 15.1914 8.125 14.5V12C8.125 11.3086 8.68359 10.75 9.375 10.75Z",{title:"Invoice"}),qa=Ur("M17.3333 20.5312H6.66667C6.3 20.5312 6 20.2359 6 19.875V16.5938H4V19.875C4 21.3229 5.19583 22.5 6.66667 22.5H17.3333C18.8042 22.5 20 21.3229 20 19.875V16.5938H18V19.875C18 20.2359 17.7 20.5312 17.3333 20.5312ZM18 8.0625V12H20V7.83691C20 7.13965 19.7208 6.47109 19.2208 5.97891L15.4458 2.26699C14.9458 1.7748 14.2708 1.5 13.5625 1.5H6.66667C5.19583 1.5 4 2.67715 4 4.125V12H6V4.125C6 3.76406 6.3 3.46875 6.66667 3.46875H13.3333V6.75C13.3333 7.47598 13.9292 8.0625 14.6667 8.0625H18ZM1 13.3125C0.445833 13.3125 0 13.7514 0 14.2969C0 14.8424 0.445833 15.2812 1 15.2812H5.66667C6.22083 15.2812 6.66667 14.8424 6.66667 14.2969C6.66667 13.7514 6.22083 13.3125 5.66667 13.3125H1ZM10.3333 13.3125C9.77917 13.3125 9.33333 13.7514 9.33333 14.2969C9.33333 14.8424 9.77917 15.2812 10.3333 15.2812H13.6667C14.2208 15.2812 14.6667 14.8424 14.6667 14.2969C14.6667 13.7514 14.2208 13.3125 13.6667 13.3125H10.3333ZM18.3333 13.3125C17.7792 13.3125 17.3333 13.7514 17.3333 14.2969C17.3333 14.8424 17.7792 15.2812 18.3333 15.2812H23C23.5542 15.2812 24 14.8424 24 14.2969C24 13.7514 23.5542 13.3125 23 13.3125H18.3333Z",{title:"PageBreak"}),Ga=Ur("M13.6667 18.75C13.6667 19.0594 13.4167 19.3125 13.1111 19.3125H4.22222C3.91667 19.3125 3.66667 19.0594 3.66667 18.75V5.25C3.66667 4.94062 3.91667 4.6875 4.22222 4.6875H9.77778V7.5C9.77778 8.12227 10.2743 8.625 10.8889 8.625H13.6667V12H15.3333V8.43164C15.3333 7.83398 15.1007 7.26094 14.684 6.83906L11.5382 3.65742C11.1215 3.23555 10.559 3 9.96875 3H4.22222C2.99653 3 2 4.00898 2 5.25V18.75C2 19.991 2.99653 21 4.22222 21H13.1111C14.3368 21 15.3333 19.991 15.3333 18.75V15.9375H13.6667V18.75ZM18.9792 10.5586C18.6528 10.2281 18.125 10.2281 17.8021 10.5586C17.4792 10.8891 17.4757 11.4234 17.8021 11.7504L19.1563 13.1215H9.5C9.03819 13.1215 8.66667 13.4977 8.66667 13.9652C8.66667 14.4328 9.03819 14.809 9.5 14.809H19.1563L17.8021 16.1801C17.4757 16.5105 17.4757 17.0449 17.8021 17.3719C18.1285 17.6988 18.6562 17.7023 18.9792 17.3719L21.7569 14.5594C22.0833 14.2289 22.0833 13.6945 21.7569 13.3676L18.9792 10.5551V10.5586Z",{title:"Export"}),Qa=Ur("M4.22261 19.3125H13.113C13.4186 19.3125 13.6687 19.0594 13.6687 18.75V18.5145L15.0509 18.1664C15.1481 18.1418 15.2454 18.1102 15.3356 18.0715V18.75C15.3356 19.991 14.3389 21 13.113 21H4.22261C2.9967 21 2 19.991 2 18.75V5.25C2 4.00898 2.9967 3 4.22261 3H9.97013C10.5605 3 11.1266 3.23555 11.5433 3.65742L14.6862 6.83906C15.103 7.26094 15.3356 7.83398 15.3356 8.43164V10.1578L13.6687 11.8453V8.625H10.8904C10.2757 8.625 9.77913 8.12227 9.77913 7.5V4.6875H4.22261C3.917 4.6875 3.66696 4.94062 3.66696 5.25V18.75C3.66696 19.0594 3.917 19.3125 4.22261 19.3125ZM7.55652 15.2695L7.21618 16.4227C7.00434 17.1363 6.35492 17.625 5.61868 17.625H5.33391C5.0283 17.625 4.77826 17.3719 4.77826 17.0625C4.77826 16.7531 5.0283 16.5 5.33391 16.5H5.61868C5.86525 16.5 6.08057 16.3383 6.15003 16.0992L6.66748 14.359C6.78555 13.9617 7.14673 13.6875 7.55652 13.6875C7.96631 13.6875 8.32749 13.9582 8.44556 14.359L8.84841 15.716C9.1054 15.498 9.43185 15.375 9.77913 15.375C10.3313 15.375 10.8349 15.6914 11.0814 16.1906L11.2342 16.5H12.1233L12.54 14.8055C12.5886 14.6086 12.6894 14.4258 12.8317 14.2816L17.3186 9.74297L19.7843 12.2391L15.2974 16.7777C15.1551 16.9219 14.9779 17.0238 14.78 17.073L12.6928 17.6004C12.6546 17.6109 12.6199 17.6145 12.5817 17.618C12.5539 17.6215 12.5296 17.625 12.5018 17.625H10.8904C10.6786 17.625 10.4876 17.5055 10.3938 17.3156L10.0882 16.6934C10.0292 16.5738 9.9111 16.5 9.7826 16.5C9.65411 16.5 9.53256 16.5738 9.47699 16.6934L9.17138 17.3156C9.07067 17.523 8.85188 17.6461 8.62615 17.625C8.40042 17.6039 8.20594 17.4457 8.14343 17.2277L7.55652 15.2695ZM21.0936 7.91133L21.5937 8.41758C22.1354 8.96602 22.1354 9.85547 21.5937 10.4074L20.5727 11.441L18.107 8.94492L19.128 7.91133C19.6697 7.36289 20.5484 7.36289 21.0936 7.91133Z",{title:"SignatureAlt"}),Ya=Ur("M7.948 6.536c-1.037 0-1.878 0.863-1.878 1.929s0.841 1.929 1.878 1.929c1.037 0 1.878-0.863 1.878-1.929s-0.841-1.929-1.878-1.929zM19.496 3h-15.026c-1.348 0-2.47 1.151-2.47 2.571v12.857c0 1.42 1.121 2.571 2.469 2.571h15.026c1.383 0 2.504-1.151 2.504-2.571v-12.857c0-1.42-1.087-2.571-2.504-2.571zM20.122 18.159l-5.353-7.469c-0.098-0.185-0.321-0.297-0.56-0.297s-0.462 0.111-0.595 0.296l-4.171 5.79-1.451-1.852c-0.135-0.172-0.35-0.273-0.578-0.273s-0.443 0.102-0.578 0.273l-2.955 3.769c0-0.001 0 0.001 0 0l-0.002-12.825c0-0.354 0.281-0.643 0.626-0.643h15.026c0.345 0 0.626 0.288 0.626 0.643v12.588h-0.035z",{title:"Image"}),Ka=Ur("M19.778 4h-12.222c-1.227 0-2.222 1.023-2.222 2.286v8c0 1.263 0.995 2.286 2.222 2.286h12.222c1.227 0 2.222-1.023 2.222-2.286v-8c0-1.263-0.996-2.286-2.222-2.286zM20.333 14.286c0 0.315-0.249 0.571-0.555 0.571h-0.556l-3.795-5.746c-0.104-0.157-0.278-0.254-0.465-0.254-0.186 0-0.359 0.095-0.462 0.254l-2.178 3.361-0.776-1.094c-0.104-0.15-0.271-0.236-0.448-0.236s-0.344 0.087-0.449 0.235l-2.537 3.48h-0.556c-0.306 0-0.556-0.256-0.556-0.571v-8c0-0.315 0.249-0.571 0.556-0.571h12.222c0.306 0 0.555 0.256 0.555 0.571v8zM9.778 6.857c-0.614 0-1.111 0.512-1.111 1.143s0.498 1.143 1.111 1.143c0.614 0 1.111-0.512 1.111-1.143s-0.497-1.143-1.111-1.143zM17.833 20h-11.667c-2.298 0-4.167-1.921-4.167-4.286v-8.571c0-0.471 0.373-0.857 0.833-0.857s0.833 0.386 0.833 0.857v8.571c0 1.418 1.122 2.571 2.5 2.571h11.667c0.46 0 0.833 0.384 0.833 0.857s-0.372 0.857-0.833 0.857z",{title:"Images"}),Xa=Ur("M20.572 17.997c-0.366 0-0.731-0.147-1.010-0.439l-7.562-7.937-7.562 7.941c-0.558 0.586-1.462 0.586-2.020 0s-0.558-1.535 0-2.121l8.571-9c0.558-0.586 1.462-0.586 2.020 0l8.571 9c0.558 0.586 0.558 1.535 0 2.121-0.277 0.291-0.643 0.436-1.009 0.436z",{title:"ChevronUp"}),Ja=Ur("M11.999 18c-0.366 0-0.731-0.147-1.010-0.439l-8.571-9c-0.558-0.586-0.558-1.535 0-2.121s1.462-0.586 2.020 0l7.561 7.942 7.562-7.941c0.558-0.586 1.462-0.586 2.020 0s0.558 1.535 0 2.121l-8.571 9c-0.279 0.293-0.645 0.438-1.011 0.438z",{title:"ChevronDown"}),es=Ur("M16.125 22c-0.372 0-0.702-0.134-0.988-0.402l-8.25-8.571c-0.258-0.298-0.387-0.64-0.387-1.027s0.129-0.729 0.387-1.027l8.25-8.571c0.287-0.268 0.616-0.402 0.988-0.402s0.702 0.134 0.988 0.402c0.258 0.298 0.387 0.64 0.387 1.027s-0.129 0.729-0.387 1.027l-7.305 7.545 7.305 7.545c0.258 0.298 0.387 0.64 0.387 1.027s-0.129 0.729-0.387 1.027c-0.287 0.268-0.616 0.402-0.988 0.402z",{title:"ChevronLeft"}),ts=Ur("M7.875 22c-0.372 0-0.702-0.134-0.988-0.402-0.258-0.298-0.387-0.64-0.387-1.027s0.129-0.729 0.387-1.027l7.305-7.545-7.305-7.545c-0.258-0.298-0.387-0.64-0.387-1.027s0.129-0.729 0.387-1.027c0.286-0.268 0.616-0.402 0.988-0.402s0.702 0.134 0.988 0.402l8.25 8.571c0.258 0.298 0.387 0.64 0.387 1.027s-0.129 0.729-0.387 1.027l-8.25 8.571c-0.286 0.268-0.616 0.402-0.988 0.402z",{title:"ChevronRight"}),ns=Ur("M13.812 3.793l7.857 7.438c0.212 0.201 0.332 0.479 0.332 0.769s-0.12 0.569-0.332 0.77l-7.857 7.437c-0.428 0.404-1.106 0.389-1.515-0.036-0.409-0.421-0.393-1.096 0.036-1.503l5.924-5.605h-15.185c-0.591 0-1.072-0.476-1.072-1.063s0.48-1.062 1.072-1.062h15.182l-5.924-5.605c-0.429-0.408-0.442-1.083-0.036-1.505 0.411-0.425 1.049-0.44 1.518-0.036z",{title:"ArrowRight"}),is=Ur("M22 12c0 0.587-0.481 1.063-1.074 1.063h-15.173l5.936 5.605c0.431 0.405 0.446 1.081 0.036 1.503-0.41 0.425-1.089 0.44-1.518 0.036l-7.873-7.438c-0.214-0.198-0.334-0.477-0.334-0.769s0.12-0.567 0.333-0.77l7.873-7.438c0.427-0.402 1.107-0.387 1.519 0.038 0.41 0.421 0.394 1.096-0.036 1.503l-5.936 5.605h15.214c0.591 0 1.034 0.479 1.034 1.063z",{title:"ArrowLeft"}),rs=Ur("M12 22c-0.587 0-1.063-0.481-1.063-1.074v-15.173l-5.605 5.936c-0.405 0.431-1.081 0.446-1.503 0.036-0.425-0.41-0.44-1.089-0.036-1.518l7.438-7.873c0.198-0.214 0.477-0.334 0.769-0.334s0.567 0.12 0.77 0.333l7.438 7.873c0.402 0.427 0.387 1.107-0.038 1.519-0.421 0.41-1.096 0.394-1.503-0.036l-5.605-5.936v15.214c-0 0.591-0.479 1.034-1.063 1.034z",{title:"ArrowUp"}),os=Ur("M12 2c0.587 0 1.063 0.481 1.063 1.074v15.173l5.605-5.936c0.405-0.431 1.081-0.446 1.503-0.036 0.425 0.41 0.44 1.089 0.036 1.518l-7.438 7.873c-0.198 0.214-0.477 0.334-0.769 0.334s-0.567-0.12-0.77-0.333l-7.438-7.873c-0.402-0.427-0.387-1.107 0.038-1.519 0.421-0.41 1.096-0.394 1.503 0.036l5.605 5.936v-15.214c0-0.591 0.479-1.034 1.063-1.034z",{title:"ArrowDown"}),as=Ur(["M10.2795 8.77852C10.1701 9.03334 9.92187 9.19809 9.6734 9.19809L7.37537 9.19751V18.7383C7.37537 19.1239 7.06658 19.4367 6.68597 19.4367C6.30536 19.4367 5.99656 19.1239 5.99656 18.7383V9.19751H3.67268C3.39844 9.19751 3.15017 9.03288 3.04072 8.77793C2.95713 8.52246 3.00683 8.22568 3.19325 8.02491L6.18069 4.76316C6.45358 4.4655 6.91864 4.4655 7.19153 4.76316L10.179 8.02491C10.3657 8.22568 10.4145 8.52246 10.2795 8.77852Z","M11.422 5.07277C11.422 4.77849 11.6606 4.53992 11.9549 4.53992H14.0863C14.3806 4.53992 14.6192 4.77849 14.6192 5.07277V6.13849C14.6192 6.43278 14.3806 6.67135 14.0863 6.67135H11.9549C11.6606 6.67135 11.422 6.43278 11.422 6.13849V5.07277Z","M11.422 9.33563C11.422 9.04134 11.6606 8.80277 11.9549 8.80277H16.1961C16.4904 8.80277 16.729 9.04134 16.729 9.33563V10.4013C16.729 10.6956 16.4904 10.9342 16.1961 10.9342H11.9549C11.6606 10.9342 11.422 10.6956 11.422 10.4013V9.33563Z","M11.422 13.5985C11.422 13.3042 11.6606 13.0656 11.9549 13.0656H18.3425C18.6368 13.0656 18.8754 13.3042 18.8754 13.5985V14.6642C18.8754 14.9585 18.6368 15.1971 18.3425 15.1971H11.9549C11.6606 15.1971 11.422 14.9585 11.422 14.6642V13.5985Z","M11.422 17.8613C11.422 17.5671 11.6606 17.3285 11.9549 17.3285H20.4656C20.7599 17.3285 20.9985 17.5671 20.9985 17.8613V18.9271C20.9985 19.2213 20.7599 19.4599 20.4656 19.4599H11.9549C11.6606 19.4599 11.422 19.2213 11.422 18.9271V17.8613Z"],{title:"Async"}),ss=Ur("M13.69 3.844c0 0.468 0.376 0.844 0.844 0.844h3.59l-7.845 7.84c-0.331 0.33-0.331 0.865 0 1.192s0.865 0.33 1.192 0l7.841-7.84v3.589c0 0.468 0.376 0.844 0.844 0.844s0.844-0.376 0.844-0.844v-5.625c0-0.468-0.376-0.844-0.844-0.844h-5.623c-0.468 0-0.844 0.376-0.844 0.844zM5.532 4.125c-1.4 0-2.532 1.132-2.532 2.531v11.813c0 1.399 1.132 2.531 2.532 2.531h11.815c1.399 0 2.532-1.132 2.532-2.531v-4.5c0-0.468-0.376-0.844-0.844-0.844s-0.844 0.376-0.844 0.844v4.5c0 0.468-0.376 0.844-0.844 0.844h-11.815c-0.468 0-0.844-0.376-0.844-0.844v-11.813c0-0.468 0.376-0.844 0.844-0.844h4.501c0.468 0 0.844-0.376 0.844-0.844s-0.376-0.844-0.844-0.844h-4.501z",{title:"ExternalLink"}),ls=Ur("M9.197 2.592l8.667 7.988c0.427 0.446 0.636 0.962 0.636 1.42s-0.212 1.029-0.635 1.422l-8.667 7.988c-0.62 0.576-1.551 0.748-2.362 0.436s-1.337-0.935-1.337-1.802v-16.033c0-0.813 0.527-1.547 1.337-1.859s1.743-0.138 2.36 0.439z",{title:"CaretRight"}),cs=Ur("M19.8571 4.85714C19.8571 4.46428 19.5357 4.14286 19.1429 4.14286H4.85714C4.46429 4.14286 4.14286 4.46428 4.14286 4.85714L4.14286 19.1429C4.14286 19.5357 4.46429 19.8571 4.85714 19.8571H19.1429C19.5357 19.8571 19.8571 19.5357 19.8571 19.1429V4.85714ZM19.1429 2C20.7188 2 22 3.28125 22 4.85714V19.1429C22 20.7187 20.7188 22 19.1429 22H4.85714C3.28125 22 2 20.7187 2 19.1429L2 4.85714C2 3.28125 3.28125 2 4.85714 2H19.1429ZM16.2857 12C16.2857 12.2991 16.1607 12.5804 15.942 12.7857L10.942 17.4286C10.6295 17.7188 10.1741 17.7946 9.78571 17.625C9.39732 17.4554 9.14286 17.067 9.14286 16.6429V7.35714C9.14286 6.93303 9.39732 6.54464 9.78571 6.375C10.1741 6.20536 10.6295 6.28125 10.942 6.57143L15.942 11.2143C16.1607 11.4152 16.2857 11.7009 16.2857 12Z",{title:"CaretRightAlt"}),us=Ur("M14.803 2.592l-8.667 7.988c-0.427 0.446-0.636 0.962-0.636 1.42s0.212 1.029 0.635 1.422l8.667 7.988c0.62 0.576 1.551 0.748 2.362 0.436s1.337-0.935 1.337-1.802v-16.033c0-0.813-0.527-1.547-1.337-1.859s-1.743-0.138-2.36 0.439z",{title:"CaretLeft"}),ds=Ur("M4.14286 19.1429C4.14286 19.5357 4.46428 19.8571 4.85714 19.8571H19.1429C19.5357 19.8571 19.8571 19.5357 19.8571 19.1429V4.85714C19.8571 4.46429 19.5357 4.14286 19.1429 4.14286L4.85714 4.14286C4.46428 4.14286 4.14286 4.46429 4.14286 4.85714V19.1429ZM4.85714 22C3.28125 22 2 20.7188 2 19.1429V4.85714C2 3.28125 3.28125 2 4.85714 2L19.1429 2C20.7187 2 22 3.28125 22 4.85714V19.1429C22 20.7188 20.7187 22 19.1429 22H4.85714ZM7.71428 12C7.71428 11.7009 7.83929 11.4196 8.05804 11.2143L13.058 6.57143C13.3705 6.28125 13.8259 6.20536 14.2143 6.375C14.6027 6.54464 14.8571 6.93304 14.8571 7.35714V16.6429C14.8571 17.067 14.6027 17.4554 14.2143 17.625C13.8259 17.7946 13.3705 17.7188 13.058 17.4286L8.05804 12.7857C7.83929 12.5848 7.71428 12.2991 7.71428 12Z",{title:"CaretLeftAlt"}),hs=Ur("M2.592 14.803l7.988-8.667c0.446-0.427 0.962-0.636 1.42-0.636s1.029 0.212 1.422 0.635l7.988 8.667c0.576 0.62 0.748 1.551 0.436 2.362s-0.935 1.337-1.802 1.337h-16.033c-0.813 0-1.547-0.527-1.859-1.337s-0.138-1.743 0.439-2.36z",{title:"CaretUp"}),fs=Ur("M19.1429 4.14286C19.5357 4.14286 19.8571 4.46428 19.8571 4.85714V19.1429C19.8571 19.5357 19.5357 19.8571 19.1429 19.8571H4.85714C4.46429 19.8571 4.14286 19.5357 4.14286 19.1429V4.85714C4.14286 4.46428 4.46429 4.14286 4.85714 4.14286H19.1429ZM22 4.85714C22 3.28125 20.7188 2 19.1429 2H4.85714C3.28125 2 2 3.28125 2 4.85714V19.1429C2 20.7187 3.28125 22 4.85714 22H19.1429C20.7188 22 22 20.7187 22 19.1429V4.85714ZM12 7.71428C11.7009 7.71428 11.4196 7.83929 11.2143 8.05804L6.57143 13.058C6.28125 13.3705 6.20536 13.8259 6.375 14.2143C6.54464 14.6027 6.93304 14.8571 7.35714 14.8571H16.6429C17.067 14.8571 17.4554 14.6027 17.625 14.2143C17.7946 13.8259 17.7188 13.3705 17.4286 13.058L12.7857 8.05804C12.5848 7.83929 12.2991 7.71428 12 7.71428Z",{title:"CaretUpAlt"}),ps=Ur("M21.408 9.197l-7.988 8.667c-0.446 0.427-0.962 0.636-1.42 0.636s-1.029-0.212-1.422-0.635l-7.988-8.667c-0.575-0.62-0.748-1.551-0.436-2.362s0.935-1.337 1.802-1.337h16.033c0.813 0 1.547 0.527 1.859 1.337s0.138 1.743-0.439 2.36z",{title:"CaretDown"}),ms=Ur("M19.1429 19.8571C19.5357 19.8571 19.8571 19.5357 19.8571 19.1429V4.85714C19.8571 4.46429 19.5357 4.14286 19.1429 4.14286H4.85714C4.46429 4.14286 4.14286 4.46429 4.14286 4.85714V19.1429C4.14286 19.5357 4.46429 19.8571 4.85714 19.8571H19.1429ZM22 19.1429C22 20.7188 20.7188 22 19.1429 22H4.85714C3.28125 22 2 20.7188 2 19.1429V4.85714C2 3.28125 3.28125 2 4.85714 2H19.1429C20.7188 2 22 3.28125 22 4.85714V19.1429ZM12 16.2857C11.7009 16.2857 11.4196 16.1607 11.2143 15.942L6.57143 10.942C6.28125 10.6295 6.20536 10.1741 6.375 9.78571C6.54464 9.39732 6.93304 9.14286 7.35714 9.14286H16.6429C17.067 9.14286 17.4554 9.39732 17.625 9.78571C17.7946 10.1741 17.7188 10.6295 17.4286 10.942L12.7857 15.942C12.5848 16.1607 12.2991 16.2857 12 16.2857Z",{title:"CaretDownAlt"}),gs=Ur(["M11.0078 2.39047C11.5544 1.86984 12.4422 1.86984 12.9888 2.39047H12.9932L18.5909 7.72172C18.9888 8.10491 19.1113 8.67552 18.8926 9.17532C18.674 9.67513 18.1623 10 17.5981 10H6.40282C5.8343 10 5.32702 9.67513 5.10836 9.17532C4.8897 8.67552 5.00777 8.10491 5.41011 7.72172L11.0078 2.39047Z","M11.0078 21.6095C11.5544 22.1302 12.4422 22.1302 12.9888 21.6095H12.9932L18.5909 16.2783C18.9888 15.8951 19.1113 15.3245 18.8926 14.8247C18.674 14.3249 18.1623 14 17.5981 14H6.40282C5.8343 14 5.32702 14.3249 5.10836 14.8247C4.8897 15.3245 5.00777 15.8951 5.41011 16.2783L11.0078 21.6095Z"],{title:"CaretUpDown"}),bs=Ur("M19.437 19.817h-14.875c-0.587 0-1.062 0.48-1.062 1.072 0 0.629 0.476 1.111 1.062 1.111h14.875c0.587 0 1.062-0.48 1.062-1.072s-0.474-1.111-1.062-1.111zM7.107 9.872l3.831-4.107v10.874c0 0.592 0.476 1.074 1.062 1.074s1.062-0.482 1.062-1.074v-10.874l3.831 4.106c0.211 0.224 0.49 0.336 0.773 0.336 0.261 0 0.523-0.096 0.728-0.292 0.428-0.405 0.448-1.083 0.046-1.515l-5.667-6.075c-0.401-0.433-1.146-0.433-1.547 0l-5.667 6.075c-0.402 0.431-0.382 1.11 0.046 1.516s1.099 0.348 1.501-0.045z",{title:"Upload"}),vs=Ur("M19.5 13.875h-2.070l-1.875 1.875h3.945c0.391 0.026 0.599 0.234 0.625 0.625v3.125c-0.026 0.391-0.234 0.599-0.625 0.625h-15c-0.391-0.026-0.599-0.234-0.625-0.625v-3.125c0.026-0.391 0.234-0.599 0.625-0.625h3.984l-1.875-1.875h-2.109c-0.703 0.026-1.289 0.273-1.758 0.742s-0.716 1.055-0.742 1.758v3.125c0.026 0.703 0.273 1.289 0.742 1.758s1.055 0.716 1.758 0.742h15c0.703-0.026 1.289-0.273 1.758-0.742s0.716-1.055 0.742-1.758v-3.125c-0.026-0.703-0.273-1.289-0.742-1.758s-1.055-0.716-1.758-0.742zM18.875 17.937c-0.052-0.573-0.365-0.885-0.938-0.938-0.573 0.052-0.885 0.365-0.938 0.938 0.052 0.573 0.365 0.885 0.938 0.938 0.573-0.052 0.885-0.365 0.938-0.938zM11.336 16.375c0.182 0.208 0.404 0.312 0.664 0.312s0.482-0.091 0.664-0.273l5.313-5.313c0.364-0.443 0.364-0.885 0-1.328-0.443-0.365-0.885-0.365-1.328 0l-3.711 3.711v-10.547c-0.052-0.573-0.365-0.885-0.938-0.938-0.573 0.052-0.885 0.365-0.938 0.938v10.547l-3.75-3.711c-0.443-0.365-0.885-0.365-1.328 0-0.365 0.443-0.365 0.885 0 1.328l5.352 5.273z",{title:"Download"}),ys=Ur("M3.034 2c0.571 0 1.034 0.463 1.034 1.035v4.402c1.711-2.868 4.841-4.742 8.28-4.742 5.323 0 9.651 4.328 9.651 9.653s-4.328 9.653-9.651 9.653c-2.255 0-4.453-0.79-6.185-2.232-0.439-0.366-0.498-1.018-0.132-1.458 0.366-0.441 1.020-0.498 1.457-0.132 1.36 1.131 3.084 1.756 4.856 1.756 4.182 0 7.586-3.405 7.586-7.588s-3.405-7.588-7.586-7.588c-2.868 0-5.465 1.65-6.746 4.139h4.332c0.573 0 1.034 0.466 1.034 1.035s-0.461 1.035-1.034 1.035h-6.897c-0.571 0-1.034-0.461-1.034-1.035v-6.898c0-0.571 0.463-1.035 1.034-1.035z",{title:"RotateLeft"}),_s=Ur("M22 3.035v6.898c0 0.573-0.461 1.035-1.035 1.035h-6.897c-0.569 0-1.035-0.461-1.035-1.035s0.463-1.035 1.035-1.035h4.332c-1.28-2.488-3.879-4.139-6.746-4.139-4.22 0-7.586 3.367-7.586 7.588s3.404 7.588 7.586 7.588c1.771 0 3.495-0.624 4.853-1.757 0.438-0.366 1.091-0.309 1.457 0.132 0.366 0.439 0.307 1.091-0.132 1.458-1.731 1.442-3.93 2.232-6.185 2.232-5.321 0-9.649-4.328-9.649-9.653s4.328-9.653 9.651-9.653c3.442 0 6.569 1.874 8.28 4.704v-4.363c0-0.571 0.463-1.035 1.035-1.035s1.035 0.463 1.035 1.035z",{title:"RotateRight"}),Cs=Ur("M20.28 13.338c-0.532-0.156-1.086 0.15-1.239 0.68-0.902 3.145-3.797 5.316-7.076 5.316-2.772 0-5.282-1.595-6.519-4h4.182c0.552 0 1-0.448 1-1s-0.408-1-0.962-1h-6.665c-0.552 0-1 0.448-1 1v6.667c0 0.552 0.448 1 1 1s1-0.448 1-1v-4.254c1.658 2.771 4.674 4.587 7.965 4.587 4.124 0 7.807-2.763 8.961-6.721 0.192-0.567-0.117-1.083-0.646-1.275zM21 2c-0.55 0-1 0.448-1 1v4.254c-1.654-2.773-4.674-4.587-7.998-4.587-4.124 0-7.81 2.763-8.96 6.721-0.155 0.529 0.15 1.083 0.679 1.237 0.535 0.158 1.087-0.151 1.239-0.68 0.905-3.108 3.8-5.279 7.041-5.279 2.772 0 5.282 1.595 6.519 4h-4.187c-0.55 0-1 0.45-1 1s0.45 1 1 1h6.665c0.552 0 1-0.448 1-1v-6.667c0-0.552-0.446-1-1-1z",{title:"Refresh"}),ws=Ur("M9.503 20.036c0 0.534-0.418 0.964-0.938 0.964h-2.814c-2.072 0-3.751-1.727-3.751-3.857v-10.286c0-2.13 1.68-3.857 3.751-3.857h2.814c0.52 0 0.938 0.432 0.938 0.964s-0.418 0.964-0.938 0.964h-2.814c-1.032 0-1.876 0.868-1.876 1.929v10.286c0 1.061 0.844 1.929 1.876 1.929h2.814c0.52 0 0.938 0.43 0.938 0.964zM21.753 11.341l-4.967-5.464c-0.355-0.389-0.949-0.407-1.325-0.041-0.377 0.364-0.396 0.974-0.040 1.362l3.475 3.838h-9.742c-0.485 0-0.903 0.434-0.903 0.964s0.42 0.964 0.903 0.964h9.707l-3.514 3.84c-0.355 0.388-0.337 0.998 0.040 1.362 0.218 0.174 0.449 0.262 0.644 0.262 0.249 0 0.498-0.102 0.683-0.304l4.967-5.464c0.411-0.371 0.411-0.95 0.072-1.319z",{title:"Exit"}),xs=Ur("M21.681 2.293c-0.391-0.391-1.024-0.391-1.415 0l-3.393 3.391-1.961-1.96c-0.255-0.255-0.596-0.39-0.943-0.39-0.172 0-0.345 0.033-0.51 0.101-0.499 0.206-0.823 0.693-0.823 1.232v5.629c0 0.552 0.448 0.963 1 0.963h5.67c0.54 0 1.027-0.325 1.232-0.823 0.207-0.499 0.093-1.072-0.289-1.453l-1.961-1.96 3.393-3.391c0.426-0.316 0.426-0.948 0-1.339zM10.3 12.667h-5.67c-0.539 0-1.027 0.325-1.232 0.823-0.17 0.498-0.055 1.073 0.326 1.452l1.961 1.96-3.393 3.391c-0.391 0.391-0.391 1.023 0 1.414s1.024 0.391 1.415 0l3.393-3.391 1.961 1.96c0.255 0.255 0.596 0.39 0.943 0.39 0.172 0 0.345-0.034 0.511-0.101 0.499-0.206 0.823-0.693 0.823-1.232v-5.666c-0.038-0.554-0.447-1-1.038-1z",{title:"CompressAlt"}),Es=Ur("M3 3.84375V20.1562C3 20.6238 3.37617 21 3.84375 21C4.31133 21 4.6875 20.6238 4.6875 20.1562V3.84375C4.6875 3.37617 4.31133 3 3.84375 3C3.37617 3 3 3.37617 3 3.84375ZM9.1875 5.25C8.25586 5.25 7.5 6.00586 7.5 6.9375V9.1875C7.5 10.1191 8.25586 10.875 9.1875 10.875H19.3125C20.2441 10.875 21 10.1191 21 9.1875V6.9375C21 6.00586 20.2441 5.25 19.3125 5.25H9.1875ZM9.1875 13.125C8.25586 13.125 7.5 13.8809 7.5 14.8125V17.0625C7.5 17.9941 8.25586 18.75 9.1875 18.75H14.8125C15.7441 18.75 16.5 17.9941 16.5 17.0625V14.8125C16.5 13.8809 15.7441 13.125 14.8125 13.125H9.1875Z",{title:"AlignLeft"}),Ss=Ur("M21 3.84375V20.1562C21 20.6238 20.6238 21 20.1562 21C19.6887 21 19.3125 20.6238 19.3125 20.1562V3.84375C19.3125 3.37617 19.6887 3 20.1562 3C20.6238 3 21 3.37617 21 3.84375ZM14.8125 5.25C15.7441 5.25 16.5 6.00586 16.5 6.9375V9.1875C16.5 10.1191 15.7441 10.875 14.8125 10.875H4.6875C3.75586 10.875 3 10.1191 3 9.1875V6.9375C3 6.00586 3.75586 5.25 4.6875 5.25H14.8125ZM14.8125 13.125C15.7441 13.125 16.5 13.8809 16.5 14.8125V17.0625C16.5 17.9941 15.7441 18.75 14.8125 18.75H9.1875C8.25586 18.75 7.5 17.9941 7.5 17.0625V14.8125C7.5 13.8809 8.25586 13.125 9.1875 13.125H14.8125Z",{title:"AlignRight"}),ks=Ur("M2.9375 22C2.36458 21.9479 2.05208 21.6354 2 21.0625C2.05208 20.4896 2.36458 20.1771 2.9375 20.125H21.0625C21.6354 20.1771 21.9479 20.4896 22 21.0625C21.9479 21.6354 21.6354 21.9479 21.0625 22H2.9375ZM4.5 3.875C4.52604 3.35417 4.70833 2.91146 5.04688 2.54688C5.41146 2.20833 5.85417 2.02604 6.375 2H8.875C9.39583 2.02604 9.83854 2.20833 10.2031 2.54688C10.5417 2.91146 10.724 3.35417 10.75 3.875V15.125C10.724 15.6458 10.5417 16.0885 10.2031 16.4531C9.83854 16.7917 9.39583 16.974 8.875 17H6.375C5.85417 16.974 5.41146 16.7917 5.04688 16.4531C4.70833 16.0885 4.52604 15.6458 4.5 15.125V3.875ZM13.25 8.875C13.276 8.35417 13.4583 7.91146 13.7969 7.54688C14.1615 7.20833 14.6042 7.02604 15.125 7H17.625C18.1458 7.02604 18.5885 7.20833 18.9531 7.54688C19.2917 7.91146 19.474 8.35417 19.5 8.875V15.125C19.474 15.6458 19.2917 16.0885 18.9531 16.4531C18.5885 16.7917 18.1458 16.974 17.625 17H15.125C14.6042 16.974 14.1615 16.7917 13.7969 16.4531C13.4583 16.0885 13.276 15.6458 13.25 15.125V8.875Z",{title:"AlignBottom"}),Os=Ur("M21.0625 2C21.6354 2.05208 21.9479 2.36458 22 2.9375C21.9479 3.51042 21.6354 3.82292 21.0625 3.875H2.9375C2.36458 3.82292 2.05208 3.51042 2 2.9375C2.05208 2.36458 2.36458 2.05208 2.9375 2H21.0625ZM4.5 8.875C4.52604 8.35417 4.70833 7.91146 5.04688 7.54688C5.41146 7.20833 5.85417 7.02604 6.375 7H8.875C9.39583 7.02604 9.83854 7.20833 10.2031 7.54688C10.5417 7.91146 10.724 8.35417 10.75 8.875V20.125C10.724 20.6458 10.5417 21.0885 10.2031 21.4531C9.83854 21.7917 9.39583 21.974 8.875 22H6.375C5.85417 21.974 5.41146 21.7917 5.04688 21.4531C4.70833 21.0885 4.52604 20.6458 4.5 20.125V8.875ZM13.25 8.875C13.276 8.35417 13.4583 7.91146 13.7969 7.54688C14.1615 7.20833 14.6042 7.02604 15.125 7H17.625C18.1458 7.02604 18.5885 7.20833 18.9531 7.54688C19.2917 7.91146 19.474 8.35417 19.5 8.875V15.125C19.474 15.6458 19.2917 16.0885 18.9531 16.4531C18.5885 16.7917 18.1458 16.974 17.625 17H15.125C14.6042 16.974 14.1615 16.7917 13.7969 16.4531C13.4583 16.0885 13.276 15.6458 13.25 15.125V8.875ZM21.0625 2C21.6354 2.05208 21.9479 2.36458 22 2.9375C21.9479 3.51042 21.6354 3.82292 21.0625 3.875H2.9375C2.36458 3.82292 2.05208 3.51042 2 2.9375C2.05208 2.36458 2.36458 2.05208 2.9375 2H21.0625ZM4.5 8.875C4.52604 8.35417 4.70833 7.91146 5.04688 7.54688C5.41146 7.20833 5.85417 7.02604 6.375 7H8.875C9.39583 7.02604 9.83854 7.20833 10.2031 7.54688C10.5417 7.91146 10.724 8.35417 10.75 8.875V20.125C10.724 20.6458 10.5417 21.0885 10.2031 21.4531C9.83854 21.7917 9.39583 21.974 8.875 22H6.375C5.85417 21.974 5.41146 21.7917 5.04688 21.4531C4.70833 21.0885 4.52604 20.6458 4.5 20.125V8.875ZM13.25 8.875C13.276 8.35417 13.4583 7.91146 13.7969 7.54688C14.1615 7.20833 14.6042 7.02604 15.125 7H17.625C18.1458 7.02604 18.5885 7.20833 18.9531 7.54688C19.2917 7.91146 19.474 8.35417 19.5 8.875V15.125C19.474 15.6458 19.2917 16.0885 18.9531 16.4531C18.5885 16.7917 18.1458 16.974 17.625 17H15.125C14.6042 16.974 14.1615 16.7917 13.7969 16.4531C13.4583 16.0885 13.276 15.6458 13.25 15.125V8.875Z",{title:"AlignTop"}),Ms=Ur("M12 2.60071C11.4656 2.60071 11.0357 2.99357 11.0357 3.48189V4.95053H4.92857C3.86384 4.95053 3 5.73992 3 6.7129V9.06272C3 10.0357 3.86384 10.8251 4.92857 10.8251H11.0357V13.1749H7.5C6.43527 13.1749 5.57143 13.9643 5.57143 14.9373V17.2871C5.57143 18.2601 6.43527 19.0495 7.5 19.0495H11.0357V20.5181C11.0357 21.0064 11.4656 21.3993 12 21.3993C12.5344 21.3993 12.9643 21.0064 12.9643 20.5181V19.0495H16.5C17.5647 19.0495 18.4286 18.2601 18.4286 17.2871V14.9373C18.4286 13.9643 17.5647 13.1749 16.5 13.1749H12.9643V10.8251H19.0714C20.1362 10.8251 21 10.0357 21 9.06272V6.7129C21 5.73992 20.1362 4.95053 19.0714 4.95053H12.9643V3.48189C12.9643 2.99357 12.5344 2.60071 12 2.60071Z",{title:"AlignCenter"}),As=Ur("M4.5 5.125C4.52604 4.60417 4.70833 4.16146 5.04688 3.79688C5.41146 3.45833 5.85417 3.27604 6.375 3.25H8.875C9.39583 3.27604 9.83854 3.45833 10.2031 3.79688C10.5417 4.16146 10.724 4.60417 10.75 5.125V11.0625H13.25V7.625C13.276 7.10417 13.4583 6.66146 13.7969 6.29688C14.1615 5.95833 14.6042 5.77604 15.125 5.75H17.625C18.1458 5.77604 18.5885 5.95833 18.9531 6.29688C19.2917 6.66146 19.474 7.10417 19.5 7.625V11.0625H21.0625C21.6354 11.1146 21.9479 11.4271 22 12C21.9479 12.5729 21.6354 12.8854 21.0625 12.9375H19.5V16.375C19.474 16.8958 19.2917 17.3385 18.9531 17.7031C18.5885 18.0417 18.1458 18.224 17.625 18.25H15.125C14.6042 18.224 14.1615 18.0417 13.7969 17.7031C13.4583 17.3385 13.276 16.8958 13.25 16.375V12.9375H10.75V18.875C10.724 19.3958 10.5417 19.8385 10.2031 20.2031C9.83854 20.5417 9.39583 20.724 8.875 20.75H6.375C5.85417 20.724 5.41146 20.5417 5.04688 20.2031C4.70833 19.8385 4.52604 19.3958 4.5 18.875V12.9375H2.9375C2.36458 12.8854 2.05208 12.5729 2 12C2.05208 11.4271 2.36458 11.1146 2.9375 11.0625H4.5V5.125Z",{title:"AlignHorizontal"}),Ps=Ur("M2 4.18732C2.05208 3.6144 2.36458 3.3019 2.9375 3.24982H21.0625C21.6354 3.3019 21.9479 3.6144 22 4.18732C21.9479 4.76023 21.6354 5.07273 21.0625 5.12482H2.9375C2.36458 5.07273 2.05208 4.76023 2 4.18732ZM5.75 10.1248C5.77604 9.60398 5.95833 9.16128 6.29688 8.79669C6.66146 8.45815 7.10417 8.27586 7.625 8.24982H16.375C16.8958 8.27586 17.3385 8.45815 17.7031 8.79669C18.0417 9.16128 18.224 9.60398 18.25 10.1248V13.8748C18.224 14.3956 18.0417 14.8384 17.7031 15.2029C17.3385 15.5415 16.8958 15.7238 16.375 15.7498H7.625C7.10417 15.7238 6.66146 15.5415 6.29688 15.2029C5.95833 14.8384 5.77604 14.3956 5.75 13.8748V10.1248ZM21.0625 18.8748C21.6354 18.9269 21.9479 19.2394 22 19.8123C21.9479 20.3852 21.6354 20.6977 21.0625 20.7498H2.9375C2.36458 20.6977 2.05208 20.3852 2 19.8123C2.05208 19.2394 2.36458 18.9269 2.9375 18.8748H21.0625Z",{title:"SpacingVertical"}),js=Ur("M3.25 2.93732C3.30208 2.3644 3.61458 2.0519 4.1875 1.99982C4.76042 2.0519 5.07292 2.3644 5.125 2.93732V21.0623C5.07292 21.6352 4.76042 21.9477 4.1875 21.9998C3.61458 21.9477 3.30208 21.6352 3.25 21.0623V2.93732ZM8.25 7.62482C8.27604 7.10398 8.45833 6.66128 8.79688 6.29669C9.16146 5.95815 9.60417 5.77586 10.125 5.74982H13.875C14.3958 5.77586 14.8385 5.95815 15.2031 6.29669C15.5417 6.66128 15.724 7.10398 15.75 7.62482V16.3748C15.724 16.8956 15.5417 17.3384 15.2031 17.7029C14.8385 18.0415 14.3958 18.2238 13.875 18.2498H10.125C9.60417 18.2238 9.16146 18.0415 8.79688 17.7029C8.45833 17.3384 8.27604 16.8956 8.25 16.3748V7.62482ZM20.75 2.93732V21.0623C20.6979 21.6352 20.3854 21.9477 19.8125 21.9998C19.2396 21.9477 18.9271 21.6352 18.875 21.0623V2.93732C18.9271 2.3644 19.2396 2.0519 19.8125 1.99982C20.3854 2.0519 20.6979 2.3644 20.75 2.93732Z",{title:"SpacingHorizontal"}),Is=Ur("M19.5 5.74982H4.5C4.13542 5.74982 3.83594 5.63263 3.60156 5.39825C3.36719 5.16388 3.25 4.8644 3.25 4.49982C3.25 4.13523 3.36719 3.83575 3.60156 3.60138C3.83594 3.367 4.13542 3.24982 4.5 3.24982H19.5C19.8646 3.24982 20.1641 3.367 20.3984 3.60138C20.6328 3.83575 20.75 4.13523 20.75 4.49982C20.75 4.8644 20.6328 5.16388 20.3984 5.39825C20.1641 5.63263 19.8646 5.74982 19.5 5.74982ZM19.5 15.7498H4.5C4.13542 15.7498 3.83594 15.6326 3.60156 15.3983C3.36719 15.1639 3.25 14.8644 3.25 14.4998C3.25 14.1352 3.36719 13.8358 3.60156 13.6014C3.83594 13.367 4.13542 13.2498 4.5 13.2498H19.5C19.8646 13.2498 20.1641 13.367 20.3984 13.6014C20.6328 13.8358 20.75 14.1352 20.75 14.4998C20.75 14.8644 20.6328 15.1639 20.3984 15.3983C20.1641 15.6326 19.8646 15.7498 19.5 15.7498ZM3.25 9.49982C3.25 9.13523 3.36719 8.83575 3.60156 8.60138C3.83594 8.367 4.13542 8.24982 4.5 8.24982H19.5C19.8646 8.24982 20.1641 8.367 20.3984 8.60138C20.6328 8.83575 20.75 9.13523 20.75 9.49982C20.75 9.8644 20.6328 10.1639 20.3984 10.3983C20.1641 10.6326 19.8646 10.7498 19.5 10.7498H4.5C4.13542 10.7498 3.83594 10.6326 3.60156 10.3983C3.36719 10.1639 3.25 9.8644 3.25 9.49982ZM19.5 20.7498H4.5C4.13542 20.7498 3.83594 20.6326 3.60156 20.3983C3.36719 20.1639 3.25 19.8644 3.25 19.4998C3.25 19.1352 3.36719 18.8358 3.60156 18.6014C3.83594 18.367 4.13542 18.2498 4.5 18.2498H19.5C19.8646 18.2498 20.1641 18.367 20.3984 18.6014C20.6328 18.8358 20.75 19.1352 20.75 19.4998C20.75 19.8644 20.6328 20.1639 20.3984 20.3983C20.1641 20.6326 19.8646 20.7498 19.5 20.7498Z",{title:"AlignJustify"}),Ts=Ur("M13.25 5.74982H4.5C4.13542 5.74982 3.83594 5.63263 3.60156 5.39825C3.36719 5.16388 3.25 4.8644 3.25 4.49982C3.25 4.13523 3.36719 3.83575 3.60156 3.60138C3.83594 3.367 4.13542 3.24982 4.5 3.24982H13.25C13.6146 3.24982 13.9141 3.367 14.1484 3.60138C14.3828 3.83575 14.5 4.13523 14.5 4.49982C14.5 4.8644 14.3828 5.16388 14.1484 5.39825C13.9141 5.63263 13.6146 5.74982 13.25 5.74982ZM13.25 15.7498H4.5C4.13542 15.7498 3.83594 15.6326 3.60156 15.3983C3.36719 15.1639 3.25 14.8644 3.25 14.4998C3.25 14.1352 3.36719 13.8358 3.60156 13.6014C3.83594 13.367 4.13542 13.2498 4.5 13.2498H13.25C13.6146 13.2498 13.9141 13.367 14.1484 13.6014C14.3828 13.8358 14.5 14.1352 14.5 14.4998C14.5 14.8644 14.3828 15.1639 14.1484 15.3983C13.9141 15.6326 13.6146 15.7498 13.25 15.7498ZM3.25 9.49982C3.25 9.13523 3.36719 8.83575 3.60156 8.60138C3.83594 8.367 4.13542 8.24982 4.5 8.24982H19.5C19.8646 8.24982 20.1641 8.367 20.3984 8.60138C20.6328 8.83575 20.75 9.13523 20.75 9.49982C20.75 9.8644 20.6328 10.1639 20.3984 10.3983C20.1641 10.6326 19.8646 10.7498 19.5 10.7498H4.5C4.13542 10.7498 3.83594 10.6326 3.60156 10.3983C3.36719 10.1639 3.25 9.8644 3.25 9.49982ZM19.5 20.7498H4.5C4.13542 20.7498 3.83594 20.6326 3.60156 20.3983C3.36719 20.1639 3.25 19.8644 3.25 19.4998C3.25 19.1352 3.36719 18.8358 3.60156 18.6014C3.83594 18.367 4.13542 18.2498 4.5 18.2498H19.5C19.8646 18.2498 20.1641 18.367 20.3984 18.6014C20.6328 18.8358 20.75 19.1352 20.75 19.4998C20.75 19.8644 20.6328 20.1639 20.3984 20.3983C20.1641 20.6326 19.8646 20.7498 19.5 20.7498Z",{title:"AlignLeftAlt"}),Ds=Ur("M15.75 5.74982H8.25C7.88542 5.74982 7.58594 5.63263 7.35156 5.39825C7.11719 5.16388 7 4.8644 7 4.49982C7 4.13523 7.11719 3.83575 7.35156 3.60138C7.58594 3.367 7.88542 3.24982 8.25 3.24982H15.75C16.1146 3.24982 16.4141 3.367 16.6484 3.60138C16.8828 3.83575 17 4.13523 17 4.49982C17 4.8644 16.8828 5.16388 16.6484 5.39825C16.4141 5.63263 16.1146 5.74982 15.75 5.74982ZM19.5 10.7498H4.5C4.13542 10.7498 3.83594 10.6326 3.60156 10.3983C3.36719 10.1639 3.25 9.8644 3.25 9.49982C3.25 9.13523 3.36719 8.83575 3.60156 8.60138C3.83594 8.367 4.13542 8.24982 4.5 8.24982H19.5C19.8646 8.24982 20.1641 8.367 20.3984 8.60138C20.6328 8.83575 20.75 9.13523 20.75 9.49982C20.75 9.8644 20.6328 10.1639 20.3984 10.3983C20.1641 10.6326 19.8646 10.7498 19.5 10.7498ZM3.25 19.4998C3.25 19.1352 3.36719 18.8358 3.60156 18.6014C3.83594 18.367 4.13542 18.2498 4.5 18.2498H19.5C19.8646 18.2498 20.1641 18.367 20.3984 18.6014C20.6328 18.8358 20.75 19.1352 20.75 19.4998C20.75 19.8644 20.6328 20.1639 20.3984 20.3983C20.1641 20.6326 19.8646 20.7498 19.5 20.7498H4.5C4.13542 20.7498 3.83594 20.6326 3.60156 20.3983C3.36719 20.1639 3.25 19.8644 3.25 19.4998ZM15.75 15.7498H8.25C7.88542 15.7498 7.58594 15.6326 7.35156 15.3983C7.11719 15.1639 7 14.8644 7 14.4998C7 14.1352 7.11719 13.8358 7.35156 13.6014C7.58594 13.367 7.88542 13.2498 8.25 13.2498H15.75C16.1146 13.2498 16.4141 13.367 16.6484 13.6014C16.8828 13.8358 17 14.1352 17 14.4998C17 14.8644 16.8828 15.1639 16.6484 15.3983C16.4141 15.6326 16.1146 15.7498 15.75 15.7498Z",{title:"AlignCenterAlt"}),Ls=Ur("M19.5 5.74982H10.75C10.3854 5.74982 10.0859 5.63263 9.85156 5.39825C9.61719 5.16388 9.5 4.8644 9.5 4.49982C9.5 4.13523 9.61719 3.83575 9.85156 3.60138C10.0859 3.367 10.3854 3.24982 10.75 3.24982H19.5C19.8646 3.24982 20.1641 3.367 20.3984 3.60138C20.6328 3.83575 20.75 4.13523 20.75 4.49982C20.75 4.8644 20.6328 5.16388 20.3984 5.39825C20.1641 5.63263 19.8646 5.74982 19.5 5.74982ZM19.5 15.7498H10.75C10.3854 15.7498 10.0859 15.6326 9.85156 15.3983C9.61719 15.1639 9.5 14.8644 9.5 14.4998C9.5 14.1352 9.61719 13.8358 9.85156 13.6014C10.0859 13.367 10.3854 13.2498 10.75 13.2498H19.5C19.8646 13.2498 20.1641 13.367 20.3984 13.6014C20.6328 13.8358 20.75 14.1352 20.75 14.4998C20.75 14.8644 20.6328 15.1639 20.3984 15.3983C20.1641 15.6326 19.8646 15.7498 19.5 15.7498ZM3.25 9.49982C3.25 9.13523 3.36719 8.83575 3.60156 8.60138C3.83594 8.367 4.13542 8.24982 4.5 8.24982H19.5C19.8646 8.24982 20.1641 8.367 20.3984 8.60138C20.6328 8.83575 20.75 9.13523 20.75 9.49982C20.75 9.8644 20.6328 10.1639 20.3984 10.3983C20.1641 10.6326 19.8646 10.7498 19.5 10.7498H4.5C4.13542 10.7498 3.83594 10.6326 3.60156 10.3983C3.36719 10.1639 3.25 9.8644 3.25 9.49982ZM19.5 20.7498H4.5C4.13542 20.7498 3.83594 20.6326 3.60156 20.3983C3.36719 20.1639 3.25 19.8644 3.25 19.4998C3.25 19.1352 3.36719 18.8358 3.60156 18.6014C3.83594 18.367 4.13542 18.2498 4.5 18.2498H19.5C19.8646 18.2498 20.1641 18.367 20.3984 18.6014C20.6328 18.8358 20.75 19.1352 20.75 19.4998C20.75 19.8644 20.6328 20.1639 20.3984 20.3983C20.1641 20.6326 19.8646 20.7498 19.5 20.7498Z",{title:"AlignRightAlt"}),Ns=Ur(["M3.25 15.05C3.25 15.5747 3.67533 16 4.2 16H19.8C20.3247 16 20.75 15.5747 20.75 15.05C20.75 14.5253 20.3247 14.1 19.8 14.1H4.2C3.67533 14.1 3.25 14.5253 3.25 15.05Z","M3.25 19.8C3.25 20.3247 3.67533 20.75 4.2 20.75H19.8C20.3247 20.75 20.75 20.3247 20.75 19.8C20.75 19.2753 20.3247 18.85 19.8 18.85H4.2C3.67533 18.85 3.25 19.2753 3.25 19.8Z","M3.25 10.25C3.25 10.8023 3.69772 11.25 4.25 11.25H19.75C20.3023 11.25 20.75 10.8023 20.75 10.25V4.25C20.75 3.69772 20.3023 3.25 19.75 3.25H4.25C3.69772 3.25 3.25 3.69772 3.25 4.25V10.25Z"],{title:"Header"}),Rs=Ur(["M3 4.28607C3 3.57579 3.57563 3 4.28571 3H19.7143C20.4244 3 21 3.57579 21 4.28607C21 4.99635 20.4244 5.57215 19.7143 5.57215H4.28571C3.57563 5.57215 3 4.99635 3 4.28607Z","M3 9.43037C3 8.72009 3.57563 8.14429 4.28571 8.14429H19.7143C20.4244 8.14429 21 8.72009 21 9.43037V14.5696C21 15.2799 20.4244 15.8557 19.7143 15.8557H4.28571C3.57563 15.8557 3 15.2799 3 14.5696V9.43037Z","M3 19.7139C3 19.0036 3.57563 18.4279 4.28571 18.4279H19.7143C20.4244 18.4279 21 19.0036 21 19.7139C21 20.4242 20.4244 21 19.7143 21H4.28571C3.57563 21 3 20.4242 3 19.7139Z"],{title:"Inline"}),Fs=Ur(["M3 4.28571C3 3.57563 3.57563 3 4.28571 3H19.7143C20.4244 3 21 3.57563 21 4.28571C21 4.99579 20.4244 5.57143 19.7143 5.57143H4.28571C3.57563 5.57143 3 4.99579 3 4.28571Z","M3 9.42857C3 8.71849 3.57563 8.14286 4.28571 8.14286H19.7143C20.4244 8.14286 21 8.71849 21 9.42857C21 10.1387 20.4244 10.7143 19.7143 10.7143H4.28571C3.57563 10.7143 3 10.1387 3 9.42857Z","M3 14.5714C3 13.8613 3.57563 13.2857 4.28571 13.2857H19.7143C20.4244 13.2857 21 13.8613 21 14.5714V19.7143C21 20.4244 20.4244 21 19.7143 21H4.28571C3.57563 21 3 20.4244 3 19.7143V14.5714Z"],{title:"Footer"}),zs=Ur("M20.125 12C20.125 9.84512 19.269 7.77849 17.7452 6.25476C16.2215 4.73102 14.1549 3.875 12 3.875C9.84512 3.875 7.77849 4.73102 6.25476 6.25476C4.73102 7.77849 3.875 9.84512 3.875 12C3.875 14.1549 4.73102 16.2215 6.25476 17.7452C7.77849 19.269 9.84512 20.125 12 20.125C14.1549 20.125 16.2215 19.269 17.7452 17.7452C19.269 16.2215 20.125 14.1549 20.125 12ZM2 12C2 9.34784 3.05357 6.8043 4.92893 4.92893C6.8043 3.05357 9.34784 2 12 2C14.6522 2 17.1957 3.05357 19.0711 4.92893C20.9464 6.8043 22 9.34784 22 12C22 14.6522 20.9464 17.1957 19.0711 19.0711C17.1957 20.9464 14.6522 22 12 22C9.34784 22 6.8043 20.9464 4.92893 19.0711C3.05357 17.1957 2 14.6522 2 12ZM12 8.25C12.9946 8.25 13.9484 8.64509 14.6517 9.34835C15.3549 10.0516 15.75 11.0054 15.75 12C15.75 12.9946 15.3549 13.9484 14.6517 14.6517C13.9484 15.3549 12.9946 15.75 12 15.75C11.0054 15.75 10.0516 15.3549 9.34835 14.6517C8.64509 13.9484 8.25 12.9946 8.25 12C8.25 11.0054 8.64509 10.0516 9.34835 9.34835C10.0516 8.64509 11.0054 8.25 12 8.25Z",{title:"RadioSelected"}),Hs=Ur("M4.85714 4.14286C4.46429 4.14286 4.14286 4.46429 4.14286 4.85714V19.1429C4.14286 19.5357 4.46429 19.8571 4.85714 19.8571H19.1429C19.5357 19.8571 19.8571 19.5357 19.8571 19.1429V4.85714C19.8571 4.46429 19.5357 4.14286 19.1429 4.14286H4.85714ZM2 4.85714C2 3.28125 3.28125 2 4.85714 2H19.1429C20.7188 2 22 3.28125 22 4.85714V19.1429C22 20.7188 20.7188 22 19.1429 22H4.85714C3.28125 22 2 20.7188 2 19.1429V4.85714ZM17.0446 9.90179L11.3304 15.6161C10.9107 16.0357 10.2321 16.0357 9.81696 15.6161L6.95982 12.7589C6.54018 12.3393 6.54018 11.6607 6.95982 11.2455C7.37946 10.8304 8.05804 10.8259 8.47321 11.2455L10.5714 13.3438L15.5268 8.38393C15.9464 7.96429 16.625 7.96429 17.0402 8.38393C17.4554 8.80357 17.4598 9.48214 17.0402 9.89732L17.0446 9.90179Z",{title:"CheckboxChecked"}),Us=Ur("M5.433 2.043a4.293 4.293 0 0 0-1.702.669c-.775.527-1.335 1.322-1.602 2.277l-.109.391v13.24l.111.397c.421 1.509 1.576 2.591 3.095 2.9.401.082.494.083 6.774.083s6.373-.001 6.774-.083c1.517-.309 2.683-1.402 3.098-2.905l.108-.392V5.38l-.106-.385c-.263-.95-.83-1.756-1.605-2.283a5.1 5.1 0 0 0-1.311-.6l-.338-.09-6.48-.007c-3.564-.003-6.582.009-6.707.028m11.239 5.774c.157.083 1.028.979 1.108 1.14a.587.587 0 0 1-.035.541c-.035.053-1.558 1.569-3.384 3.369-2.576 2.538-3.362 3.29-3.5 3.35-.362.156-.281.222-2.57-2.089-2.182-2.202-2.173-2.191-2.113-2.514.024-.128.12-.246.556-.689.642-.652.805-.737 1.118-.581.07.035.735.669 1.477 1.409l1.349 1.345.871-.86c2.006-1.98 4.438-4.348 4.53-4.411.122-.083.444-.088.593-.01",{title:"CheckboxCheckedAlt"}),Vs=Ur("M6 2C3.79086 2 2 3.79086 2 6V18C2 20.2091 3.79086 22 6 22H18C20.2091 22 22 20.2091 22 18V6C22 3.79086 20.2091 2 18 2H6ZM7.3 11H16.7C16.8657 11 17 11.1343 17 11.3V12.7C17 12.8657 16.8657 13 16.7 13H7.3C7.13432 13 7 12.8657 7 12.7V11.3C7 11.1343 7.13431 11 7.3 11Z",{title:"CheckboxIndeterminate"}),$s=Ur("M17.125 8.875V19.5C17.125 19.8438 16.8438 20.125 16.5 20.125H6.5C6.15625 20.125 5.875 19.8438 5.875 19.5V8.875H17.125ZM17.125 7H5.875V4.5C5.875 4.15625 6.15625 3.875 6.5 3.875H16.5C16.8438 3.875 17.125 4.15625 17.125 4.5V7ZM19 7V4.5C19 3.12109 17.8789 2 16.5 2H6.5C5.12109 2 4 3.12109 4 4.5V7V7.9375V8.875V19.5C4 20.8789 5.12109 22 6.5 22H16.5C17.8789 22 19 20.8789 19 19.5V8.875V7.9375V7ZM7.125 11.0625C7.125 11.3111 7.22377 11.5496 7.39959 11.7254C7.5754 11.9012 7.81386 12 8.0625 12C8.31114 12 8.5496 11.9012 8.72541 11.7254C8.90123 11.5496 9 11.3111 9 11.0625C9 10.8139 8.90123 10.5754 8.72541 10.3996C8.5496 10.2238 8.31114 10.125 8.0625 10.125C7.81386 10.125 7.5754 10.2238 7.39959 10.3996C7.22377 10.5754 7.125 10.8139 7.125 11.0625ZM8.0625 13.5625C7.81386 13.5625 7.5754 13.6613 7.39959 13.8371C7.22377 14.0129 7.125 14.2514 7.125 14.5C7.125 14.7486 7.22377 14.9871 7.39959 15.1629C7.5754 15.3387 7.81386 15.4375 8.0625 15.4375C8.31114 15.4375 8.5496 15.3387 8.72541 15.1629C8.90123 14.9871 9 14.7486 9 14.5C9 14.2514 8.90123 14.0129 8.72541 13.8371C8.5496 13.6613 8.31114 13.5625 8.0625 13.5625ZM7.125 17.9375C7.125 18.457 7.54297 18.875 8.0625 18.875H11.5C12.0195 18.875 12.4375 18.457 12.4375 17.9375C12.4375 17.418 12.0195 17 11.5 17H8.0625C7.54297 17 7.125 17.418 7.125 17.9375ZM11.5 10.125C11.2514 10.125 11.0129 10.2238 10.8371 10.3996C10.6613 10.5754 10.5625 10.8139 10.5625 11.0625C10.5625 11.3111 10.6613 11.5496 10.8371 11.7254C11.0129 11.9012 11.2514 12 11.5 12C11.7486 12 11.9871 11.9012 12.1629 11.7254C12.3387 11.5496 12.4375 11.3111 12.4375 11.0625C12.4375 10.8139 12.3387 10.5754 12.1629 10.3996C11.9871 10.2238 11.7486 10.125 11.5 10.125ZM10.5625 14.5C10.5625 14.7486 10.6613 14.9871 10.8371 15.1629C11.0129 15.3387 11.2514 15.4375 11.5 15.4375C11.7486 15.4375 11.9871 15.3387 12.1629 15.1629C12.3387 14.9871 12.4375 14.7486 12.4375 14.5C12.4375 14.2514 12.3387 14.0129 12.1629 13.8371C11.9871 13.6613 11.7486 13.5625 11.5 13.5625C11.2514 13.5625 11.0129 13.6613 10.8371 13.8371C10.6613 14.0129 10.5625 14.2514 10.5625 14.5ZM14.9375 10.125C14.6889 10.125 14.4504 10.2238 14.2746 10.3996C14.0988 10.5754 14 10.8139 14 11.0625C14 11.3111 14.0988 11.5496 14.2746 11.7254C14.4504 11.9012 14.6889 12 14.9375 12C15.1861 12 15.4246 11.9012 15.6004 11.7254C15.7762 11.5496 15.875 11.3111 15.875 11.0625C15.875 10.8139 15.7762 10.5754 15.6004 10.3996C15.4246 10.2238 15.1861 10.125 14.9375 10.125ZM14 14.5C14 14.7486 14.0988 14.9871 14.2746 15.1629C14.4504 15.3387 14.6889 15.4375 14.9375 15.4375C15.1861 15.4375 15.4246 15.3387 15.6004 15.1629C15.7762 14.9871 15.875 14.7486 15.875 14.5C15.875 14.2514 15.7762 14.0129 15.6004 13.8371C15.4246 13.6613 15.1861 13.5625 14.9375 13.5625C14.6889 13.5625 14.4504 13.6613 14.2746 13.8371C14.0988 14.0129 14 14.2514 14 14.5ZM14.9375 17C14.6889 17 14.4504 17.0988 14.2746 17.2746C14.0988 17.4504 14 17.6889 14 17.9375C14 18.1861 14.0988 18.4246 14.2746 18.6004C14.4504 18.7762 14.6889 18.875 14.9375 18.875C15.1861 18.875 15.4246 18.7762 15.6004 18.6004C15.7762 18.4246 15.875 18.1861 15.875 17.9375C15.875 17.6889 15.7762 17.4504 15.6004 17.2746C15.4246 17.0988 15.1861 17 14.9375 17Z",{title:"Calculator"}),Bs=Ur("M12 2C12.5195 2 12.9375 2.41797 12.9375 2.9375V11.0625H21.0625C21.582 11.0625 22 11.4805 22 12C22 12.5195 21.582 12.9375 21.0625 12.9375H12.9375V21.0625C12.9375 21.582 12.5195 22 12 22C11.4805 22 11.0625 21.582 11.0625 21.0625V12.9375H2.9375C2.41797 12.9375 2 12.5195 2 12C2 11.4805 2.41797 11.0625 2.9375 11.0625H11.0625V2.9375C11.0625 2.41797 11.4805 2 12 2ZM17.625 3.25C18.1445 3.25 18.5625 3.66797 18.5625 4.1875V5.4375H19.8125C20.332 5.4375 20.75 5.85547 20.75 6.375C20.75 6.89453 20.332 7.3125 19.8125 7.3125H18.5625V8.5625C18.5625 9.08203 18.1445 9.5 17.625 9.5C17.1055 9.5 16.6875 9.08203 16.6875 8.5625V7.3125H15.4375C14.918 7.3125 14.5 6.89453 14.5 6.375C14.5 5.85547 14.918 5.4375 15.4375 5.4375H16.6875V4.1875C16.6875 3.66797 17.1055 3.25 17.625 3.25ZM4.16406 15.4141C4.53125 15.0469 5.125 15.0469 5.48828 15.4141L6.375 16.3008L7.25781 15.418C7.625 15.0508 8.21875 15.0508 8.58203 15.418C8.94531 15.7852 8.94922 16.3789 8.58203 16.7422L7.69922 17.625L8.58203 18.5078C8.94922 18.875 8.94922 19.4688 8.58203 19.832C8.21484 20.1953 7.62109 20.1992 7.25781 19.832L6.375 18.9492L5.49219 19.8359C5.125 20.2031 4.53125 20.2031 4.16797 19.8359C3.80469 19.4688 3.80078 18.875 4.16797 18.5117L5.05078 17.625L4.16406 16.7422C3.79688 16.375 3.79688 15.7812 4.16406 15.418V15.4141ZM4.5 5.4375H8.25C8.76953 5.4375 9.1875 5.85547 9.1875 6.375C9.1875 6.89453 8.76953 7.3125 8.25 7.3125H4.5C3.98047 7.3125 3.5625 6.89453 3.5625 6.375C3.5625 5.85547 3.98047 5.4375 4.5 5.4375ZM15.75 15.125H19.5C20.0195 15.125 20.4375 15.543 20.4375 16.0625C20.4375 16.582 20.0195 17 19.5 17H15.75C15.2305 17 14.8125 16.582 14.8125 16.0625C14.8125 15.543 15.2305 15.125 15.75 15.125ZM15.75 18.25H19.5C20.0195 18.25 20.4375 18.668 20.4375 19.1875C20.4375 19.707 20.0195 20.125 19.5 20.125H15.75C15.2305 20.125 14.8125 19.707 14.8125 19.1875C14.8125 18.668 15.2305 18.25 15.75 18.25Z",{title:"CalculatorAlt"}),Ws=Ur("M21.6 6.75C21.93 6.75 22.2 7.0125 22.2 7.33333V16.6667C22.2 16.9875 21.93 17.25 21.6 17.25H2.4C2.07 17.25 1.8 16.9875 1.8 16.6667V7.33333C1.8 7.0125 2.07 6.75 2.4 6.75H21.6ZM2.4 5C1.07625 5 0 6.04635 0 7.33333V16.6667C0 17.9536 1.07625 19 2.4 19H21.6C22.9238 19 24 17.9536 24 16.6667V7.33333C24 6.04635 22.9238 5 21.6 5H2.4ZM3.9 9.375C3.9 9.8599 4.30125 10.25 4.8 10.25H5.1V13.75H4.5C4.00125 13.75 3.6 14.1401 3.6 14.625C3.6 15.1099 4.00125 15.5 4.5 15.5H7.5C7.99875 15.5 8.4 15.1099 8.4 14.625C8.4 14.1401 7.99875 13.75 7.5 13.75H6.9V9.375C6.9 8.8901 6.49875 8.5 6 8.5H4.8C4.30125 8.5 3.9 8.8901 3.9 9.375ZM11.0475 10.4833C11.2613 10.1917 11.7038 10.1698 11.9475 10.4396C12.1425 10.6547 12.135 10.9755 11.9362 11.187L9.23625 14.0307C8.9925 14.2859 8.92875 14.6578 9.075 14.975C9.22125 15.2922 9.54375 15.5 9.9 15.5H13.2C13.6988 15.5 14.1 15.1099 14.1 14.625C14.1 14.1401 13.6988 13.75 13.2 13.75H11.955L13.26 12.3755C14.085 11.5078 14.1 10.1771 13.3013 9.2875C12.2925 8.16823 10.4738 8.25208 9.58125 9.46615L9.165 10.0349C8.87625 10.4286 8.97 10.9755 9.375 11.2562C9.78 11.537 10.3425 11.4458 10.6313 11.0521L11.0475 10.4833Z",{title:"InputNumber"}),Zs=Ur("M2.4 6.75C2.07 6.75 1.8 7.0125 1.8 7.33333V16.6667C1.8 16.9875 2.07 17.25 2.4 17.25H21.6C21.93 17.25 22.2 16.9875 22.2 16.6667V7.33333C22.2 7.0125 21.93 6.75 21.6 6.75H2.4ZM0 7.33333C0 6.04635 1.07625 5 2.4 5H21.6C22.9238 5 24 6.04635 24 7.33333V16.6667C24 17.9536 22.9238 19 21.6 19H2.4C1.07625 19 0 17.9536 0 16.6667V7.33333ZM6.9 8.5C7.25625 8.5 7.57875 8.70417 7.72125 9.02135L10.1213 14.2714C10.3238 14.7125 10.1175 15.2302 9.66375 15.4271C9.21 15.624 8.6775 15.4234 8.475 14.9823L8.31375 14.6286H5.48625L5.325 14.9823C5.1225 15.4234 4.59 15.624 4.13625 15.4271C3.6825 15.2302 3.47625 14.7125 3.67875 14.2714L6.07875 9.02135C6.225 8.70417 6.54375 8.5 6.9 8.5ZM6.9 11.5297L6.285 12.875H7.515L6.9 11.5297ZM11.4 9.375C11.4 8.8901 11.8013 8.5 12.3 8.5H14.25C15.4913 8.5 16.5 9.48073 16.5 10.6875C16.5 11.0229 16.4213 11.3401 16.2825 11.6245C16.7813 12.0255 17.1 12.6307 17.1 13.3125C17.1 14.5193 16.0913 15.5 14.85 15.5H12.3C11.8013 15.5 11.4 15.1099 11.4 14.625V14.3333V12V9.66667V9.375ZM13.2 10.25V11.125H14.25C14.4975 11.125 14.7 10.9281 14.7 10.6875C14.7 10.4469 14.4975 10.25 14.25 10.25H13.2ZM13.2 13.75H14.85C15.0975 13.75 15.3 13.5531 15.3 13.3125C15.3 13.0719 15.0975 12.875 14.85 12.875H14.25H13.2V13.75Z",{title:"InputText"}),qs=Ur("M16.345 13.25l0.519-3.62h-3.242v-2.349c0-0.99 0.453-1.955 1.905-1.955h1.474v-3.082c0 0-1.338-0.245-2.616-0.245-2.67 0-4.415 1.734-4.415 4.872v2.759h-2.968v3.62h2.968v8.75h3.653v-8.75h2.724z",{title:"Facebook"}),Gs=Ur("M17.1747 3.875H19.9361L13.9048 10.7578L21 20.125H15.4459L11.0926 14.4453L6.11734 20.125H3.35202L9.80183 12.7617L3 3.875H8.69491L12.6258 9.06641L17.1747 3.875ZM16.2047 18.4766H17.734L7.8618 5.4375H6.21904L16.2047 18.4766Z",{title:"Twitter"}),Qs=Ur("M12 7.50781C14.4609 7.50781 16.4922 9.53906 16.4922 12C16.4922 14.5 14.4609 16.4922 12 16.4922C9.5 16.4922 7.50781 14.5 7.50781 12C7.50781 9.53906 9.5 7.50781 12 7.50781ZM12 14.9297C13.6016 14.9297 14.8906 13.6406 14.8906 12C14.8906 10.3984 13.6016 9.10938 12 9.10938C10.3594 9.10938 9.07031 10.3984 9.07031 12C9.07031 13.6406 10.3984 14.9297 12 14.9297ZM17.7031 7.35156C17.7031 7.9375 17.2344 8.40625 16.6484 8.40625C16.0625 8.40625 15.5938 7.9375 15.5938 7.35156C15.5938 6.76562 16.0625 6.29688 16.6484 6.29688C17.2344 6.29688 17.7031 6.76562 17.7031 7.35156ZM20.6719 8.40625C20.75 9.85156 20.75 14.1875 20.6719 15.6328C20.5938 17.0391 20.2812 18.25 19.2656 19.3047C18.25 20.3203 17 20.6328 15.5938 20.7109C14.1484 20.7891 9.8125 20.7891 8.36719 20.7109C6.96094 20.6328 5.75 20.3203 4.69531 19.3047C3.67969 18.25 3.36719 17.0391 3.28906 15.6328C3.21094 14.1875 3.21094 9.85156 3.28906 8.40625C3.36719 7 3.67969 5.75 4.69531 4.73438C5.75 3.71875 6.96094 3.40625 8.36719 3.32812C9.8125 3.25 14.1484 3.25 15.5938 3.32812C17 3.40625 18.25 3.71875 19.2656 4.73438C20.2812 5.75 20.5938 7 20.6719 8.40625ZM18.7969 17.1562C19.2656 16.0234 19.1484 13.2891 19.1484 12C19.1484 10.75 19.2656 8.01562 18.7969 6.84375C18.4844 6.10156 17.8984 5.47656 17.1562 5.20312C15.9844 4.73438 13.25 4.85156 12 4.85156C10.7109 4.85156 7.97656 4.73438 6.84375 5.20312C6.0625 5.51562 5.47656 6.10156 5.16406 6.84375C4.69531 8.01562 4.8125 10.75 4.8125 12C4.8125 13.2891 4.69531 16.0234 5.16406 17.1562C5.47656 17.9375 6.0625 18.5234 6.84375 18.8359C7.97656 19.3047 10.7109 19.1875 12 19.1875C13.25 19.1875 15.9844 19.3047 17.1562 18.8359C17.8984 18.5234 18.5234 17.9375 18.7969 17.1562Z",{title:"Instagram"}),Ys=Ur("M19.5 3.25C20.1641 3.25 20.75 3.83594 20.75 4.53906V19.5C20.75 20.2031 20.1641 20.75 19.5 20.75H4.46094C3.79688 20.75 3.25 20.2031 3.25 19.5V4.53906C3.25 3.83594 3.79688 3.25 4.46094 3.25H19.5ZM8.52344 18.25V9.92969H5.94531V18.25H8.52344ZM7.23438 8.75781C8.05469 8.75781 8.71875 8.09375 8.71875 7.27344C8.71875 6.45312 8.05469 5.75 7.23438 5.75C6.375 5.75 5.71094 6.45312 5.71094 7.27344C5.71094 8.09375 6.375 8.75781 7.23438 8.75781ZM18.25 18.25V13.6797C18.25 11.4531 17.7422 9.69531 15.125 9.69531C13.875 9.69531 13.0156 10.3984 12.6641 11.0625H12.625V9.92969H10.1641V18.25H12.7422V14.1484C12.7422 13.0547 12.9375 12 14.3047 12C15.6328 12 15.6328 13.25 15.6328 14.1875V18.25H18.25Z",{title:"Linkedin"}),Ks=Ur("M21.5312 12.2344C21.5312 17.7812 17.7422 21.6875 12.1562 21.6875C6.76562 21.6875 2.46875 17.3906 2.46875 12C2.46875 6.64844 6.76562 2.3125 12.1562 2.3125C14.7344 2.3125 16.9609 3.28906 18.6406 4.85156L15.9844 7.39062C12.5469 4.07031 6.14062 6.57031 6.14062 12C6.14062 15.3984 8.83594 18.1328 12.1562 18.1328C15.9844 18.1328 17.4297 15.3984 17.625 13.9531H12.1562V10.6328H21.375C21.4531 11.1406 21.5312 11.6094 21.5312 12.2344Z",{title:"Google"}),Xs=Ur("M21.0835 10.2625L13.7335 2.9125C13.2738 2.4528 12.6503 2.19453 12.0001 2.19453C11.35 2.19453 10.7265 2.4528 10.2668 2.9125L10.2668 2.91253L10.2668 2.91251L2.91675 10.2625C2.68897 10.49 2.50827 10.7602 2.38499 11.0577C2.2617 11.3551 2.19824 11.6739 2.19824 11.9958C2.19824 12.3178 2.2617 12.6366 2.38499 12.934C2.50827 13.2314 2.68897 13.5016 2.91675 13.7292L10.0617 20.8742C10.1211 20.9496 10.1856 21.0224 10.2552 21.0919C11.2038 22.0406 12.7419 22.0406 13.6905 21.0919C13.7446 21.0378 13.7956 20.9818 13.8436 20.9241L20.995 13.8171C21.0265 13.7887 21.0574 13.7594 21.0876 13.7292C21.5473 13.2695 21.8056 12.646 21.8056 11.9958C21.8056 11.3457 21.5473 10.7222 21.0876 10.2625H21.0835ZM8.11259 12L12.0006 8.11199L15.8939 12.0031L11.987 15.95L8.11259 12Z",{title:"GoogleTagManager"}),Js=Ur("M20.75 10.2031H20.7109C18.9141 10.2031 17.2734 9.65625 15.9453 8.67969V15.6719C15.9453 19.1875 13.0938 22 9.57812 22C6.0625 22 3.25 19.1875 3.25 15.6719C3.25 12.1562 6.0625 9.30469 9.57812 9.30469C9.89062 9.30469 10.1641 9.34375 10.4766 9.38281V12.8984C10.1641 12.7812 9.89062 12.7422 9.57812 12.7422C7.97656 12.7422 6.64844 14.0703 6.64844 15.6719C6.64844 17.2734 7.97656 18.6016 9.57812 18.6016C11.1797 18.6016 12.5078 17.2734 12.5078 15.6719V2H15.9453C15.9453 2.03906 15.9453 2.03906 15.9453 2.07812C15.9453 2.35156 15.9453 2.625 16.0234 2.89844C16.2578 4.1875 17.0391 5.32031 18.1328 6.02344C18.875 6.53125 19.7734 6.80469 20.7109 6.80469C20.7109 6.80469 20.7109 6.80469 20.75 6.80469V10.2031Z",{title:"Tiktok"}),el=Ur("M12.9688 2.27344C16.6406 2.27344 20 4.8125 20 8.67969C20 12.3125 18.125 16.375 13.9844 16.375C12.9688 16.375 11.7578 15.8672 11.25 14.9688C10.3906 18.4844 10.4297 19.0312 8.47656 21.7266C8.28125 21.8047 8.32031 21.8047 8.20312 21.6484C8.125 20.9062 8.04688 20.2031 8.04688 19.4609C8.04688 17.0781 9.14062 13.6016 9.6875 11.2969C9.375 10.6719 9.29688 9.96875 9.29688 9.30469C9.29688 6.17969 12.9688 5.71094 12.9688 8.28906C12.9688 9.8125 11.9141 11.2578 11.9141 12.7422C11.9141 13.7188 12.7734 14.4219 13.75 14.4219C16.4453 14.4219 17.2656 10.5547 17.2656 8.48438C17.2656 5.71094 15.3125 4.1875 12.6172 4.1875C9.53125 4.1875 7.14844 6.41406 7.14844 9.53906C7.14844 11.0625 8.08594 11.8438 8.08594 12.1953C8.08594 12.5078 7.85156 13.5625 7.46094 13.5625C6.52344 13.5625 5 12 5 9.26562C5 4.92969 8.94531 2.27344 12.9688 2.27344Z",{title:"Pinterest"}),tl=Ur("M4.94879 8.85726L8.63226 18.946C6.05565 17.6976 4.28105 15.0556 4.28105 12C4.28105 10.8786 4.52056 9.81895 4.94879 8.85726ZM17.2113 11.6117C17.2113 10.6573 16.8702 9.99677 16.5762 9.48145C16.1843 8.84637 15.8177 8.30565 15.8177 7.67056C15.8177 6.95927 16.3548 6.29879 17.1133 6.29879C17.146 6.29879 17.1786 6.30242 17.2149 6.30605C15.8395 5.04677 14.0105 4.27742 12 4.27742C9.30363 4.27742 6.93024 5.66008 5.54758 7.75766C5.72903 7.76492 5.8996 7.76855 6.04476 7.76855C6.8504 7.76855 8.10242 7.67056 8.10242 7.67056C8.51976 7.64516 8.56694 8.25847 8.15323 8.30565C8.15323 8.30565 7.73589 8.35282 7.27137 8.37823L10.0839 16.7395L11.775 11.6734L10.5738 8.37823C10.1565 8.35282 9.76452 8.30565 9.76452 8.30565C9.34718 8.28024 9.39798 7.64516 9.81169 7.67056C9.81169 7.67056 11.0855 7.76855 11.844 7.76855C12.6496 7.76855 13.9016 7.67056 13.9016 7.67056C14.319 7.64516 14.3661 8.25847 13.9524 8.30565C13.9524 8.30565 13.5351 8.35282 13.0706 8.37823L15.8613 16.6778L16.6306 14.1048C16.9573 13.0379 17.2113 12.2722 17.2113 11.6117ZM12.1343 12.675L9.81895 19.4069C10.5121 19.6101 11.2415 19.7226 12 19.7226C12.9 19.7226 13.7601 19.5665 14.5621 19.2835C14.5403 19.2508 14.5222 19.2145 14.5077 19.1782L12.1343 12.675ZM18.7754 8.29476C18.8081 8.54153 18.8262 8.80282 18.8262 9.08952C18.8262 9.87339 18.681 10.7516 18.2383 11.8548L15.8794 18.6738C18.1766 17.3347 19.719 14.8488 19.719 12C19.719 10.6573 19.3778 9.39435 18.7754 8.29476ZM21 12C21 16.9645 16.9609 21 12 21C7.03548 21 3 16.9609 3 12C3 7.03548 7.03548 3 12 3C16.9609 3 21 7.03548 21 12ZM20.5863 12C20.5863 7.26411 16.7323 3.41371 12 3.41371C7.26411 3.41371 3.41371 7.26411 3.41371 12C3.41371 16.7359 7.26774 20.5863 12 20.5863C16.7359 20.5863 20.5863 16.7359 20.5863 12Z",{title:"Wordpress"}),nl=Ur(["M13.873,8.507C13.853,8.502,13.831,8.5,13.809,8.5c-0.094,0-0.199,0.039-0.315,0.116c-0.419,0.278-0.781,0.937-0.925,1.678c-0.236,1.222,0.173,2.119,0.559,2.199c0.106,0.024,0.235-0.014,0.38-0.109c0.419-0.278,0.781-0.937,0.925-1.678C14.668,9.484,14.259,8.587,13.873,8.507z","M19.873,8.507C19.853,8.502,19.831,8.5,19.809,8.5c-0.094,0-0.199,0.039-0.315,0.116c-0.419,0.278-0.781,0.937-0.925,1.678c-0.236,1.222,0.173,2.119,0.559,2.199c0.106,0.024,0.235-0.014,0.38-0.109c0.419-0.278,0.781-0.937,0.925-1.678C20.668,9.484,20.259,8.587,19.873,8.507z","M21,4H3C1.346,4,0,5.346,0,7v7c0,1.654,1.346,3,3,3h7.285l6.688,3L16,17h5c1.654,0,3-1.346,3-3V7C24,5.346,22.654,4,21,4z M10.942,7.038C10.309,8.561,10,10.92,10,14.25c0,0.319-0.203,0.604-0.505,0.709C9.415,14.986,9.332,15,9.25,15c-0.226,0-0.444-0.103-0.59-0.286c-0.94-1.197-1.685-3.141-2.163-4.644l-1.802,4.461c-0.121,0.298-0.425,0.486-0.739,0.468c-0.321-0.02-0.595-0.24-0.68-0.551c-0.046-0.168-1.129-4.16-1.275-7.667c-0.018-0.414,0.304-0.764,0.718-0.78c0.413-0.041,0.763,0.304,0.78,0.718c0.072,1.728,0.396,3.624,0.692,5.056L5.93,7.469c0.122-0.304,0.43-0.482,0.754-0.467c0.326,0.025,0.598,0.26,0.672,0.579c0.007,0.029,0.474,2.016,1.23,3.873C8.729,9.327,9.05,7.681,9.558,6.462c0.159-0.384,0.601-0.563,0.98-0.404C10.921,6.217,11.102,6.656,10.942,7.038z M15.904,10.991c-0.222,1.149-0.808,2.137-1.567,2.642C13.972,13.876,13.583,14,13.194,14c-0.125,0-0.25-0.013-0.374-0.038c-1.341-0.28-2.099-2.017-1.725-3.953c0.222-1.149,0.808-2.137,1.567-2.642c0.482-0.321,1.008-0.432,1.517-0.329C15.521,7.318,16.278,9.055,15.904,10.991z M21.904,10.991c-0.222,1.149-0.808,2.137-1.567,2.642C19.972,13.876,19.583,14,19.194,14c-0.125,0-0.25-0.013-0.374-0.038c-1.341-0.28-2.099-2.017-1.725-3.953c0.222-1.149,0.808-2.137,1.567-2.642c0.483-0.321,1.007-0.432,1.517-0.329C21.521,7.318,22.278,9.055,21.904,10.991z"],{title:"Woocommerce"}),il=Ur("M7.862 6.214c-0.526-0.032-0.981 0.394-1.004 0.924-0.022 0.534 0.393 0.98 0.923 0.968 4.275 0.18 7.899 3.803 8.076 8.076 0.024 0.555 0.45 0.96 0.928 0.96 0.014 0 0.027 0 0.041-0.001 0.532-0.021 0.945-0.471 0.923-1.003-0.185-5.251-4.636-9.703-9.888-9.924zM7.886 10.075c-0.527-0.018-0.991 0.367-1.025 0.899-0.035 0.531 0.369 0.991 0.9 1.025 2.197 0.143 4.102 2.047 4.243 4.243 0.033 0.511 0.455 0.901 0.925 0.901 0.021 0 0.043-0.001 0.064-0.003 0.531-0.034 0.934-0.493 0.9-1.024-0.168-3.127-2.88-5.839-6.006-6.040zM8.143 14.571c-0.329 0-0.658 0.125-0.909 0.376-0.502 0.502-0.502 1.316 0 1.818 0.25 0.252 0.58 0.377 0.909 0.377s0.658-0.125 0.909-0.377c0.502-0.502 0.502-1.316 0-1.818-0.25-0.252-0.58-0.376-0.909-0.376zM18.429 3h-12.857c-1.42 0-2.571 1.152-2.571 2.571v12.857c0 1.42 1.151 2.571 2.571 2.571h12.857c1.42 0 2.571-1.152 2.571-2.571v-12.857c0-1.42-1.153-2.571-2.571-2.571zM19.071 18.429c0 0.354-0.288 0.643-0.643 0.643h-12.857c-0.354 0-0.643-0.288-0.643-0.643v-12.857c0-0.354 0.288-0.643 0.643-0.643h12.857c0.354 0 0.643 0.288 0.643 0.643v12.857z",{title:"Rss"}),rl=Ur("M10.6778 8.03788C10.6778 7.16696 11.3452 6.83109 12.4144 6.83109C13.9717 6.83109 15.9488 7.35052 17.5061 8.2644V3.01933C15.8089 2.2812 14.1152 2 12.418 2C8.26649 2 5.5 4.35891 5.5 8.30346C5.5 14.4702 13.2792 13.4704 13.2792 16.1301C13.2792 17.1611 12.4575 17.4931 11.3165 17.4931C9.62283 17.4931 7.43403 16.7315 5.71529 15.7161V20.7346C7.48314 21.5647 9.38752 21.9952 11.3129 22C15.5685 22 18.5 20.0082 18.5 16.0012C18.5 9.35403 10.6778 10.5452 10.6778 8.03788Z",{title:"Stripe"}),ol=Ur("M8.42924 13.7574C8.27426 14.6042 7.65875 18.5513 7.4772 19.667C7.46392 19.7464 7.43292 19.7773 7.34436 19.7773H4.041C3.70447 19.7773 3.46092 19.4862 3.5052 19.1643L6.10006 2.76296C6.16649 2.33959 6.5473 2.01765 6.98568 2.01765C13.7297 2.01765 14.2965 1.85448 16.019 2.52041C18.6803 3.54797 18.9238 6.02647 17.9674 8.70783C17.0153 11.4686 14.757 12.6549 11.7636 12.6902C9.8418 12.7211 8.68607 12.3815 8.42924 13.7574ZM19.3091 7.41125C19.2294 7.35392 19.1984 7.33187 19.1762 7.46859C19.0877 7.97134 18.9504 8.46087 18.7866 8.95039C17.0197 13.9691 12.1223 13.5325 9.7311 13.5325C9.46099 13.5325 9.28386 13.6781 9.24844 13.9471C8.24769 20.1389 8.04843 21.4311 8.04843 21.4311C8.00415 21.7442 8.20341 22 8.5178 22H11.3296C11.7105 22 12.0249 21.7222 12.1001 21.3429C12.1311 21.1047 12.0514 21.6119 12.7378 17.3164C12.9415 16.3462 13.371 16.4476 14.0352 16.4476C17.1792 16.4476 19.6323 15.1775 20.363 11.495C20.6508 9.96032 20.5667 8.3462 19.3091 7.41125Z",{title:"Paypal"}),al=Ur("M20.3253 2.10547H4.611C3.42796 2.10547 2.46814 3.06529 2.46814 4.24833V19.9626C2.46814 21.1456 3.42796 22.1055 4.611 22.1055H20.3253C21.5083 22.1055 22.4681 21.1456 22.4681 19.9626V4.24833C22.4681 3.06529 21.5083 2.10547 20.3253 2.10547ZM13.3521 17.7037C13.3521 19.6501 12.2092 20.5385 10.544 20.5385C9.03957 20.5385 8.16903 19.7617 7.7226 18.8198L9.25385 17.8956C9.5485 18.418 9.81635 18.8599 10.4637 18.8599C11.0797 18.8599 11.4726 18.6189 11.4726 17.6769V11.2885H13.3521V17.7037ZM17.7985 20.5385C16.053 20.5385 14.9235 19.7081 14.3744 18.6189L15.9056 17.7349C16.3074 18.3912 16.8342 18.8778 17.7583 18.8778C18.5351 18.8778 19.0351 18.4894 19.0351 17.9492C19.0351 17.3064 18.5262 17.0787 17.6646 16.6992L17.1958 16.4983C15.8387 15.9224 14.9414 15.1948 14.9414 13.6635C14.9414 12.2528 16.0172 11.1814 17.6914 11.1814C18.8878 11.1814 19.7449 11.5965 20.361 12.6858L18.8967 13.6233C18.5753 13.0474 18.2271 12.8198 17.6869 12.8198C17.1378 12.8198 16.7896 13.168 16.7896 13.6233C16.7896 14.1858 17.1378 14.4135 17.9458 14.7662L18.4146 14.9671C20.0128 15.6501 20.9101 16.351 20.9101 17.9224C20.9101 19.6099 19.5797 20.5385 17.7985 20.5385Z",{title:"Js"}),sl=Ur("M4.5 3.25H19.5L18.1328 18.7188L11.9609 20.75L5.82812 18.7188L4.5 3.25ZM16.5312 8.25L16.6875 6.41406H7.27344L7.78125 12.0781H14.3047L14.0703 14.5L11.9609 15.0859L9.89062 14.5L9.73438 13.0156H7.85938L8.09375 15.9844L11.9609 17.0391H12L15.8281 15.9844L16.375 10.2031H9.5L9.34375 8.25H16.5312Z",{title:"Html"}),ll=Ur("M3 1.5L4.63594 20.0531L12 22.5L19.3641 20.0531L21 1.5H3ZM17.6766 5.25L17.4516 7.46719L12.0469 9.77813L12.0328 9.78281H17.2594L16.6594 16.6547L12.0562 18L7.425 16.6312L7.125 13.1672H9.41719L9.56719 14.9625L12.0328 15.5859L14.5969 14.8641L14.7703 11.9766L6.975 11.9531V11.9484L6.96562 11.9531L6.79688 9.78281L12.0516 7.59375L12.3563 7.46719H6.59531L6.32344 5.25H17.6766Z",{title:"Css"}),cl=Ur("M3.875 17.768c0 0.505 0.42 0.911 0.938 0.911h16.25c0.519 0 0.938 0.406 0.938 0.911s-0.418 0.911-0.938 0.911h-16.25c-1.553 0-2.813-1.222-2.813-2.732v-13.357c0-0.503 0.42-0.911 0.938-0.911s0.938 0.408 0.938 0.911v13.357zM15.129 13.825c-0.332 0.387-0.926 0.387-1.293 0l-3.121-2.967-3.086 2.967c-0.332 0.387-0.926 0.387-1.293 0-0.363-0.322-0.363-0.899 0-1.256l3.75-3.643c0.176-0.171 0.414-0.266 0.629-0.266 0.285 0 0.524 0.095 0.664 0.266l3.121 3.002 4.648-4.519c0.367-0.353 0.961-0.353 1.293 0 0.398 0.357 0.398 0.933 0 1.256l-5.313 5.161z",{title:"Chart"}),ul=Ur("M15.752 9.534c-0.41 0.409-1.040 0.421-1.497 0.061l-4.229-3.319-5.495 4.567c-0.539 0.487-1.326 0.397-1.758-0.205-0.431-0.528-0.344-1.35 0.195-1.805l6.253-5.238c0.446-0.373 1.075-0.383 1.532-0.025l4.229 3.319 5.495-4.603c0.539-0.452 1.325-0.36 1.723 0.205 0.465 0.565 0.379 1.389-0.195 1.841l-6.253 5.202zM8.454 12.833c0-0.724 0.559-1.309 1.251-1.309s1.251 0.585 1.251 1.309v7.857c0 0.724-0.559 1.309-1.251 1.309s-1.251-0.585-1.251-1.309v-7.857zM3.451 16.762c0-0.724 0.56-1.309 1.251-1.309s1.251 0.585 1.251 1.309v3.929c0 0.724-0.56 1.309-1.251 1.309s-1.251-0.585-1.251-1.309v-3.929zM15.957 15.452v5.238c0 0.724-0.559 1.309-1.251 1.309s-1.251-0.585-1.251-1.309v-5.238c0-0.724 0.559-1.309 1.251-1.309s1.251 0.585 1.251 1.309zM18.458 12.833c0-0.724 0.559-1.309 1.251-1.309s1.251 0.585 1.251 1.309v7.857c0 0.724-0.559 1.309-1.251 1.309s-1.251-0.585-1.251-1.309v-7.857z",{title:"ChartAlt"}),dl=Ur("M21.3359 11.375H12.625V2.66406C12.651 2.27344 12.8594 2.05208 13.25 2C14.8906 2.02604 16.362 2.42969 17.6641 3.21094C18.9922 3.96615 20.0339 5.00781 20.7891 6.33594C21.5703 7.63802 21.974 9.10938 22 10.75C21.9479 11.1406 21.7266 11.349 21.3359 11.375ZM10.75 13.25H19.3828C19.7734 13.25 20.0729 13.3802 20.2812 13.6406C20.5156 13.901 20.6068 14.2135 20.5547 14.5781C20.0599 16.7396 18.9792 18.5104 17.3125 19.8906C15.6458 21.2448 13.6667 21.9479 11.375 22C9.63021 21.974 8.05469 21.5443 6.64844 20.7109C5.24219 19.8776 4.1224 18.7578 3.28906 17.3516C2.45573 15.9453 2.02604 14.3698 2 12.625C2.05208 10.3333 2.75521 8.35417 4.10938 6.6875C5.48958 5.02083 7.26042 3.9401 9.42188 3.44531C9.78646 3.39323 10.099 3.48438 10.3594 3.71875C10.6198 3.92708 10.75 4.22656 10.75 4.61719V13.25ZM8.875 5.55469C7.39062 6.10156 6.19271 7 5.28125 8.25C4.36979 9.5 3.90104 10.9583 3.875 12.625C3.92708 14.7604 4.65625 16.5312 6.0625 17.9375C7.46875 19.3438 9.23958 20.0729 11.375 20.125C13.0417 20.099 14.5 19.6302 15.75 18.7188C17 17.8073 17.8984 16.6094 18.4453 15.125H8.875V5.55469Z",{title:"Reports"}),hl=Ur(["M21.412 2.642c-0.374-0.374-0.856-0.588-1.444-0.588h-1.925c-0.588 0-1.069 0.214-1.444 0.588s-0.588 0.856-0.588 1.016v14.385l2.193 3.476c0.16 0.267 0.481 0.428 0.802 0.428s0.588-0.16 0.802-0.428l2.193-3.476v-14.385c0-0.16-0.214-0.642-0.588-1.016zM17.989 4.192c0-0.053 0-0.053 0.054-0.107s0.054-0.053 0.107-0.053h1.711c0.053 0 0.107 0 0.107 0.053 0.054 0.053 0.054 0.053 0.054 0.107v1.818h-1.979v-1.818h-0.054zM19.968 15.476l-0.267-0.267-0.749 0.802-0.749-0.802-0.267 0.267v-7.433h1.979l0.054 7.433zM19.968 17.936l-0.749 1.123h-0.481l-0.749-1.123v-0.695l0.267-0.267 0.749 0.749 0.749-0.749 0.267 0.267v0.695h-0.054z","M13.016 6.064h-6.043c-0.535 0-1.016 0.428-1.016 1.016 0 0.535 0.428 1.016 1.016 1.016h5.989c0.535 0 1.016-0.428 1.016-1.016 0-0.535-0.428-1.016-0.963-1.016z","M13.979 11.037c0-0.535-0.428-1.016-1.016-1.016h-5.989c-0.535 0-1.016 0.428-1.016 1.016 0 0.535 0.428 1.016 1.016 1.016h5.989c0.588 0 1.016-0.428 1.016-1.016z","M6.973 14.032c-0.535 0-1.016 0.428-1.016 1.016 0 0.535 0.428 1.016 1.016 1.016h2.032c0.535 0 1.016-0.428 1.016-1.016 0-0.535-0.428-1.016-1.016-1.016h-2.032z","M15.476 20.021h-11.497v-16.043h10.053c0.535 0 1.016-0.428 1.016-1.016s-0.481-0.963-1.016-0.963h-10.481c-0.856 0-1.551 0.695-1.551 1.551v16.898c0 0.856 0.695 1.551 1.551 1.551h11.925c0.535 0 1.016-0.428 1.016-1.016-0.054-0.535-0.481-0.963-1.016-0.963z"],{title:"Tutorials"}),fl=Ur("M4 5.429c0-0.789 0.64-1.429 1.429-1.429h1.714c0.789 0 1.429 0.64 1.429 1.429v1.714c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.429-0.639-1.429-1.429v-1.714zM4 11.143c0-0.789 0.64-1.429 1.429-1.429h1.714c0.789 0 1.429 0.639 1.429 1.429v1.714c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.429-0.639-1.429-1.429v-1.714zM8.571 18.571c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.429-0.639-1.429-1.429v-1.714c0-0.789 0.64-1.428 1.429-1.428h1.714c0.789 0 1.429 0.639 1.429 1.428v1.714zM9.714 5.429c0-0.789 0.639-1.429 1.429-1.429h1.714c0.789 0 1.429 0.64 1.429 1.429v1.714c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.429-0.639-1.429-1.429v-1.714zM14.286 12.857c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.429-0.639-1.429-1.429v-1.714c0-0.789 0.639-1.429 1.429-1.429h1.714c0.789 0 1.429 0.639 1.429 1.429v1.714zM9.714 16.857c0-0.789 0.639-1.428 1.429-1.428h1.714c0.789 0 1.429 0.639 1.429 1.428v1.714c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.429-0.639-1.429-1.429v-1.714zM20 7.143c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.428-0.639-1.428-1.429v-1.714c0-0.789 0.639-1.429 1.428-1.429h1.714c0.789 0 1.429 0.64 1.429 1.429v1.714zM15.429 11.143c0-0.789 0.639-1.429 1.428-1.429h1.714c0.789 0 1.429 0.639 1.429 1.429v1.714c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.428-0.639-1.428-1.429v-1.714zM20 18.571c0 0.789-0.639 1.429-1.429 1.429h-1.714c-0.789 0-1.428-0.639-1.428-1.429v-1.714c0-0.789 0.639-1.428 1.428-1.428h1.714c0.789 0 1.429 0.639 1.429 1.428v1.714z",{title:"Menu"}),pl=Ur("M7.05 7.71429C7.05 6.82701 7.78906 6.10714 8.7 6.10714C9.61094 6.10714 10.35 6.82701 10.35 7.71429V7.97879C10.35 8.89955 10.2709 9.82031 10.1094 10.7277L6.43125 11.8359C5.16281 12.2176 4.3 13.3594 4.3 14.6518V17.1562C4.3 18.4487 5.37594 19.5 6.70625 19.5C7.55188 19.5 8.33563 19.0681 8.76875 18.3616L9.31531 17.4777C10.3328 15.8237 11.0719 14.019 11.5016 12.1373L11.5359 11.9799L15.3447 10.8315L14.5231 13.0681C14.4338 13.3158 14.4716 13.5871 14.6263 13.8013C14.7809 14.0156 15.0319 14.1429 15.3 14.1429H19.975C20.4322 14.1429 20.8 13.7846 20.8 13.3393C20.8 12.894 20.4322 12.5357 19.975 12.5357H16.4722L17.4519 9.86049C17.5584 9.57254 17.4862 9.25446 17.2697 9.03348C17.0531 8.8125 16.73 8.73214 16.4309 8.82254L11.8591 10.202C11.9519 9.4654 12 8.7221 12 7.97879V7.71429C12 5.93973 10.5219 4.5 8.7 4.5C6.87813 4.5 5.4 5.93973 5.4 7.71429V9.05357C5.4 9.49888 5.76781 9.85714 6.225 9.85714C6.68219 9.85714 7.05 9.49888 7.05 9.05357V7.71429ZM6.91937 13.3728L9.70031 12.5357C9.29813 13.9821 8.68969 15.365 7.89906 16.654L7.3525 17.5379C7.215 17.7589 6.97094 17.8962 6.70625 17.8962C6.29031 17.8962 5.95 17.5681 5.95 17.1596V14.6518C5.95 14.0658 6.34188 13.5469 6.91937 13.3728ZM3.2 15.75H1.825C1.36781 15.75 1 16.1083 1 16.5536C1 16.9989 1.36781 17.3571 1.825 17.3571H3.20687C3.20344 17.2902 3.2 17.2232 3.2 17.1562V15.75ZM10.6525 17.3571H22.175C22.6322 17.3571 23 16.9989 23 16.5536C23 16.1083 22.6322 15.75 22.175 15.75H11.4534C11.2128 16.2958 10.9447 16.8348 10.6525 17.3571Z",{title:"Signature"}),ml=$r,gl=(Object.keys($r),({isSpinning:e,_style:t})=>{let{suiInlineClassname:n}=br(t),i={cx:"50%",cy:"50%",r:44};return(0,Fr.jsx)("div",{className:kr("sui-spinner__loader",{},n),children:(0,Fr.jsxs)("svg",{className:"sui-spinner__icon",viewBox:"0 0 100 100",children:[(0,Fr.jsx)("title",{children:"loading"}),(0,Fr.jsx)("circle",{className:"sui-spinner__icon--background",...i}),e&&(0,Fr.jsx)("circle",{className:"sui-spinner__icon--stroke",...i})]})})}),bl=({id:e,loaderSize:t="lg",colorScheme:n="primary",isContained:i=!1,isAbsolute:o=!1,isSpinning:a=!0,_htmlProps:s={},_style:l={}})=>{let c=(0,r.useId)(),u=e||`sui-spinner-${c}`,{suiInlineClassname:d}=br(l),h=kr("sui-spinner",{absolute:o,[t]:!Ir(t??""),[n]:!Ir(n)&&"primary"!==n,contained:i,inactive:!a},d);return(0,Fr.jsx)("div",{id:u,className:h,"data-testid":"spinner",...Rr(s),children:(0,Fr.jsx)(gl,{colorScheme:n,loaderSize:t??"lg",isSpinning:a})})},vl=(e,{colorScheme:t,loaderSize:n})=>{let[i,o]=(0,r.useState)(!1),s=`sui-spinner-${(0,r.useId)()}`;return(0,r.useEffect)(()=>{let o=e?.current;if(!o)return;if(!i){let e=document.getElementById(s);return void(e?.parentNode&&(o.removeChild(e),o.classList.remove("sui-spinner__wrapper")))}let l=document.createElement("div");return i&&(l.id=s,l.classList.add("sui-spinner__fake"),o.classList.add("sui-spinner__wrapper"),(0,a.H)(l).render((0,Fr.jsxs)(r.Fragment,{children:[(0,Fr.jsx)("div",{className:`sui-spinner__overlay sui-spinner__overlay--${t}`}),(0,Fr.jsx)(bl,{colorScheme:t,loaderSize:n,isAbsolute:!0})]})),e.current.appendChild(l)),()=>{if(l){let e=document.getElementById(s);e?.parentNode&&(o?.removeChild(e),o?.classList.remove("sui-spinner__wrapper"))}}},[t,n,e,i,s]),{show:()=>o(!0),hide:()=>o(!1),isVisible:i}},yl=({id:e,hidden:t=!1,children:n})=>{if(Ar(t)&&!Pr(t))throw new Error('Incorrect parameter type. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Button\n\nThe parameter "hidden" used in the label element is not a boolean type.\n\n');return(0,Fr.jsxs)(r.Fragment,{children:[t&&(0,Fr.jsx)("span",{id:e,className:"sui-screen-reader-only",tabIndex:-1,children:n}),!t&&(0,Fr.jsx)("span",{id:e,className:"sui-button__label","data-testid":"button-label",children:n})]})},_l=({id:e,name:t,size:n="sm",className:i=""})=>{if(Ar(t)||Ir(t??""))throw new Error('Required parameter is empty. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Button\n\nThe "name" parameter in the icon element is required and must not be empty.\n\n');let r=ml[t],o=kr("sui-button__icon",{},i);return(0,Fr.jsx)("span",{id:e,className:o,"aria-hidden":"true","data-testid":"button-icon",children:(0,Fr.jsx)(r,{id:`${e}-icon`,size:n})})},Cl=({id:e,children:t,colorScheme:n,isDisabled:i})=>{let o="white";return"white"===n&&(o="dark"),i&&(o="gray"),(0,Fr.jsxs)(r.Fragment,{children:[(0,Fr.jsx)("span",{id:e,className:"sui-button__icon sui-button__icon--loader","aria-hidden":"true",children:(0,Fr.jsx)(bl,{id:`${e}-spinner`,loaderSize:"sm",colorScheme:o})}),t?(0,Fr.jsx)("span",{id:`${e}-label`,className:"sui-button__label sui-button__label--hidden",tabIndex:-1,children:t}):(0,Fr.jsx)("span",{id:`${e}-loading`,className:"sui-screen-reader-only",tabIndex:-1,children:"Loading"})]})},wl=(0,r.forwardRef)(({id:e,href:t,target:n,htmlFor:i,type:o,colorScheme:a,isSmall:s=!1,isFullWidth:l=!1,isDisabled:c=!1,isUnwrapped:u=!1,className:d,children:h,icon:f,startIcon:p=f,endIcon:m,iconOnly:g,iconSize:b="sm",isResponsive:v=!1,isLoading:y=!1,onMouseEnter:_,onMouseLeave:C,onFocus:w,onBlur:x,onMouseUp:E,onMouseDownCapture:S,onMouseUpCapture:k,onBlurCapture:O,onClick:M,_htmlProps:A={},_style:P},j)=>{let I=(0,r.useId)(),T=e||`sui-button-${I}`;h=_r(h,"button label");let{suiInlineClassname:D}=br(P,d??"");y&&(u=!0,h=(0,Fr.jsx)(Cl,{id:`${T}-loader`,colorScheme:a,isDisabled:c,children:h}));let[L,N,R]=wr({onMouseEnter:_,onMouseLeave:C,onFocus:w,onBlur:x,onMouseUp:E,onMouseDownCapture:S,onMouseUpCapture:k,onBlurCapture:O}),F=!Ar(t),z=!Ar(i),H=!Ir(m??""),U={sm:s,hover:L&&!c,focus:N&&!c,disabled:c,"full-width":l,"is-icon":(p||m)&&g,[`${o}-${a}`]:!!o&&!!a,inline:g&&!o,responsive:v,loading:y},V={id:T,ref:j,href:F&&t?t:void 0,...F&&n&&{target:n},htmlFor:Or(z),className:kr("sui-button",U,D),disabled:c,"aria-busy":y,...y&&{"aria-live":"polite"},"data-testid":"button",onClick:M,...Rr(A),...R??{}},$=F?"a":"button";return i&&($="label"),(0,Fr.jsxs)($,{...V,children:[(p||f)&&(0,Fr.jsx)(_l,{id:`${T}-start-icon`,name:p??"",size:b,...y?{className:"sui-button__icon--hidden"}:{}}),u&&h,!u&&(0,Fr.jsx)(yl,{id:`${T}-label`,...g&&{hidden:!0},children:h}),H&&(0,Fr.jsx)(_l,{id:`${T}-end-icon`,name:m??"",size:b,...y?{className:"sui-button__icon--hidden"}:{}})]})});wl.displayName="Button";var xl=1,El=[],Sl=[],kl={push:e=>{El=[...El,{...e,count:xl++}],Ol()},remove:e=>{El=El.filter(t=>t?.id!==(e??"")),Ol()},removeByCount:e=>{El=El.filter(t=>t?.count!==e),Ol()},subscribe:e=>(Sl=[...Sl,e],()=>{Sl=Sl.filter(t=>t!==e)}),getSnapshot:()=>El},Ol=()=>{for(let e of Sl)e()},Ml=()=>{let e=(0,r.useSyncExternalStore)(kl.subscribe,kl.getSnapshot);return{push:kl.push,remove:kl.remove,removeByCount:kl.removeByCount,queue:e}},Al=({count:e,id:t,title:n,message:i="message",action:o,icon:a="Info",className:s="",isInline:l=!0,isFluid:c=!1,isDismissible:u=!1,size:d,variation:h,timeout:f=5e3,_htmlProps:p,_style:m})=>{let[g,b]=(0,r.useState)(!0),v=Ml(),y=(0,r.useId)(),_=t||`sui-notification-${y}`;(0,r.useEffect)(()=>{!l&&!u&&setTimeout(()=>{v.removeByCount(e)},f??5e3)},[t,e,l,v,f,u]);let C=(0,r.useCallback)(()=>{l?b(!1):v.remove(t)},[t,l,v]),{suiInlineClassname:w}=br(m,s);if(!g)return null;let x=kr("sui-notification",{inline:l,fluid:c,[d]:!Ir(d??""),[h]:["success","warning","error","info"].includes(h??"")},w),E=null;return a&&(E=ml?.[a]),(0,Fr.jsxs)("div",{id:_,className:x,role:"alert","aria-labelledby":`${_}-title`,"aria-describedby":`${_}-message`,"data-testid":"notification",...Rr(p),children:[!!E&&(0,Fr.jsx)(E,{id:`${_}-icon`,size:"md",className:"sui-notification__icon"}),(0,Fr.jsxs)("div",{id:`${_}-content`,className:"sui-notification__content",children:[!!n&&(0,Fr.jsx)("span",{id:`${_}-title`,className:"sui-notification__title",children:n}),!!i&&(0,Fr.jsx)("span",{id:`${_}-message`,className:"sui-notification__message",children:i}),!!o&&(0,Fr.jsx)("div",{id:`${_}-action`,className:"sui-notification__action",children:o})]}),u&&(0,Fr.jsx)(wl,{id:`${_}-dismiss`,className:"sui-modal__header-actions-close",icon:"Close",type:"tertiary",colorScheme:"black",isSmall:!0,iconOnly:!0,onClick:C,_htmlProps:{"data-testid":"notification-dismiss"},children:"Close notification"})]})};Al.displayName="Notification";var Pl=({id:e,className:t="",_style:n})=>{let i=(0,r.useId)(),o=e||`sui-notification-renderer-${i}`,{suiInlineClassname:a}=br(n,t),{queue:s}=Ml();return s.length<=0?null:(0,Fr.jsx)("div",{id:o,className:kr("sui-notification__renderer",{},"sui-wp-overlay "+a),children:(s??[])?.map((e,t)=>(0,r.createElement)(Al,{...e,isInline:!1,key:t}))})};
/*! @license DOMPurify 3.4.9 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.9/LICENSE */
function jl(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Il(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t);else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jl(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?jl(e,t):void 0}}(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.")}()}const Tl=Object.entries,Dl=Object.setPrototypeOf,Ll=Object.isFrozen,Nl=Object.getPrototypeOf,Rl=Object.getOwnPropertyDescriptor;let Fl=Object.freeze,zl=Object.seal,Hl=Object.create,Ul="undefined"!=typeof Reflect&&Reflect,Vl=Ul.apply,$l=Ul.construct;Fl||(Fl=function(e){return e}),zl||(zl=function(e){return e}),Vl||(Vl=function(e,t){for(var n=arguments.length,i=new Array(n>2?n-2:0),r=2;r<n;r++)i[r-2]=arguments[r];return e.apply(t,i)}),$l||($l=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),i=1;i<t;i++)n[i-1]=arguments[i];return new e(...n)});const Bl=dc(Array.prototype.forEach),Wl=dc(Array.prototype.lastIndexOf),Zl=dc(Array.prototype.pop),ql=dc(Array.prototype.push),Gl=dc(Array.prototype.splice),Ql=Array.isArray,Yl=dc(String.prototype.toLowerCase),Kl=dc(String.prototype.toString),Xl=dc(String.prototype.match),Jl=dc(String.prototype.replace),ec=dc(String.prototype.indexOf),tc=dc(String.prototype.trim),nc=dc(Number.prototype.toString),ic=dc(Boolean.prototype.toString),rc="undefined"==typeof BigInt?null:dc(BigInt.prototype.toString),oc="undefined"==typeof Symbol?null:dc(Symbol.prototype.toString),ac=dc(Object.prototype.hasOwnProperty),sc=dc(Object.prototype.toString),lc=dc(RegExp.prototype.test),cc=(uc=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return $l(uc,t)});var uc;function dc(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,i=new Array(n>1?n-1:0),r=1;r<n;r++)i[r-1]=arguments[r];return Vl(e,t,i)}}function hc(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:Yl;if(Dl&&Dl(e,null),!Ql(t))return e;let i=t.length;for(;i--;){let r=t[i];if("string"==typeof r){const e=n(r);e!==r&&(Ll(t)||(t[i]=e),r=e)}e[r]=!0}return e}function fc(e){for(let t=0;t<e.length;t++)ac(e,t)||(e[t]=null);return e}function pc(e){const t=Hl(null);for(const i of Tl(e)){var n=Il(i,2);const r=n[0],o=n[1];ac(e,r)&&(Ql(o)?t[r]=fc(o):o&&"object"==typeof o&&o.constructor===Object?t[r]=pc(o):t[r]=o)}return t}function mc(e,t){for(;null!==e;){const n=Rl(e,t);if(n){if(n.get)return dc(n.get);if("function"==typeof n.value)return dc(n.value)}e=Nl(e)}return function(){return null}}const gc=Fl(["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","search","section","select","shadow","slot","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"]),bc=Fl(["svg","a","altglyph","altglyphdef","altglyphitem","animatecolor","animatemotion","animatetransform","circle","clippath","defs","desc","ellipse","enterkeyhint","exportparts","filter","font","g","glyph","glyphref","hkern","image","inputmode","line","lineargradient","marker","mask","metadata","mpath","part","path","pattern","polygon","polyline","radialgradient","rect","stop","style","switch","symbol","text","textpath","title","tref","tspan","view","vkern"]),vc=Fl(["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"]),yc=Fl(["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"]),_c=Fl(["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"]),Cc=Fl(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),wc=Fl(["#text"]),xc=Fl(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","command","commandfor","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","exportparts","face","for","headers","height","hidden","high","href","hreflang","id","inert","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","part","pattern","placeholder","playsinline","popover","popovertarget","popovertargetaction","poster","preload","pubdate","radiogroup","readonly","rel","required","rev","reversed","role","rows","rowspan","spellcheck","scope","selected","shape","size","sizes","slot","span","srclang","start","src","srcset","step","style","summary","tabindex","title","translate","type","usemap","valign","value","width","wrap","xmlns"]),Ec=Fl(["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","mask-type","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"]),Sc=Fl(["accent","accentunder","align","bevelled","close","columnalign","columnlines","columnspacing","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lquote","lspace","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"]),kc=Fl(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Oc=zl(/{{[\w\W]*|^[\w\W]*}}/g),Mc=zl(/<%[\w\W]*|^[\w\W]*%>/g),Ac=zl(/\${[\w\W]*/g),Pc=zl(/^data-[\-\w.\u00B7-\uFFFF]+$/),jc=zl(/^aria-[\-\w]+$/),Ic=zl(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Tc=zl(/^(?:\w+script|data):/i),Dc=zl(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Lc=zl(/^html$/i),Nc=zl(/^[a-z][.\w]*(-[.\w]+)+$/i),Rc=function(){return"undefined"==typeof window?null:window};var Fc=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Rc();const n=t=>e(t);if(n.version="3.4.9",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let i=t.document;const r=i,o=r.currentScript;t.DocumentFragment;const a=t.HTMLTemplateElement,s=t.Node,l=t.Element,c=t.NodeFilter;void 0===t.NamedNodeMap&&(t.NamedNodeMap||t.MozNamedAttrMap),t.HTMLFormElement;const u=t.DOMParser,d=t.trustedTypes,h=l.prototype,f=mc(h,"cloneNode"),p=mc(h,"remove"),m=mc(h,"nextSibling"),g=mc(h,"childNodes"),b=mc(h,"parentNode"),v=mc(h,"shadowRoot"),y=mc(h,"attributes"),_=s&&s.prototype?mc(s.prototype,"nodeType"):null,C=s&&s.prototype?mc(s.prototype,"nodeName"):null;if("function"==typeof a){const e=i.createElement("template");e.content&&e.content.ownerDocument&&(i=e.content.ownerDocument)}let w,x,E="",S=!1,k=0;const O=function(){if(k>0)throw cc('A configured TRUSTED_TYPES_POLICY callback (createHTML or createScriptURL) must not call DOMPurify.sanitize, as that causes infinite recursion. Do not pass a policy whose callbacks wrap DOMPurify as TRUSTED_TYPES_POLICY; see the "DOMPurify and Trusted Types" section of the README.')},M=function(e){O(),k++;try{return w.createHTML(e)}finally{k--}},A=function(e){O(),k++;try{return w.createScriptURL(e)}finally{k--}},P=i,j=P.implementation,I=P.createNodeIterator,T=P.createDocumentFragment,D=P.getElementsByTagName,L=r.importNode;let N={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof Tl&&"function"==typeof b&&j&&void 0!==j.createHTMLDocument;const R=Oc,F=Mc,z=Ac,H=Pc,U=jc,V=Tc,$=Dc,B=Nc;let W=Ic,Z=null;const q=hc({},[...gc,...bc,...vc,..._c,...wc]);let G=null;const Q=hc({},[...xc,...Ec,...Sc,...kc]);let Y=Object.seal(Hl(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}})),K=null,X=null;const J=Object.seal(Hl(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let ee=!0,te=!0,ne=!1,ie=!0,re=!1,oe=!0,ae=!1,se=!1,le=!1,ce=!1,ue=!1,de=!1,he=!0,fe=!1;const pe="user-content-";let me=!0,ge=!1,be={},ve=null;const ye=hc({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","selectedcontent","style","svg","template","thead","title","video","xmp"]);let _e=null;const Ce=hc({},["audio","video","img","source","image","track"]);let we=null;const xe=hc({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),Ee="http://www.w3.org/1998/Math/MathML",Se="http://www.w3.org/2000/svg",ke="http://www.w3.org/1999/xhtml";let Oe=ke,Me=!1,Ae=null;const Pe=hc({},[Ee,Se,ke],Kl);let je=hc({},["mi","mo","mn","ms","mtext"]),Ie=hc({},["annotation-xml"]);const Te=hc({},["title","style","font","a","script"]);let De=null;const Le=["application/xhtml+xml","text/html"];let Ne=null,Re=null;const Fe=i.createElement("form"),ze=function(e){return e instanceof RegExp||e instanceof Function},He=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(Re&&Re===e)return;e&&"object"==typeof e||(e={}),e=pc(e),De=-1===Le.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Ne="application/xhtml+xml"===De?Kl:Yl,Z=ac(e,"ALLOWED_TAGS")&&Ql(e.ALLOWED_TAGS)?hc({},e.ALLOWED_TAGS,Ne):q,G=ac(e,"ALLOWED_ATTR")&&Ql(e.ALLOWED_ATTR)?hc({},e.ALLOWED_ATTR,Ne):Q,Ae=ac(e,"ALLOWED_NAMESPACES")&&Ql(e.ALLOWED_NAMESPACES)?hc({},e.ALLOWED_NAMESPACES,Kl):Pe,we=ac(e,"ADD_URI_SAFE_ATTR")&&Ql(e.ADD_URI_SAFE_ATTR)?hc(pc(xe),e.ADD_URI_SAFE_ATTR,Ne):xe,_e=ac(e,"ADD_DATA_URI_TAGS")&&Ql(e.ADD_DATA_URI_TAGS)?hc(pc(Ce),e.ADD_DATA_URI_TAGS,Ne):Ce,ve=ac(e,"FORBID_CONTENTS")&&Ql(e.FORBID_CONTENTS)?hc({},e.FORBID_CONTENTS,Ne):ye,K=ac(e,"FORBID_TAGS")&&Ql(e.FORBID_TAGS)?hc({},e.FORBID_TAGS,Ne):pc({}),X=ac(e,"FORBID_ATTR")&&Ql(e.FORBID_ATTR)?hc({},e.FORBID_ATTR,Ne):pc({}),be=!!ac(e,"USE_PROFILES")&&(e.USE_PROFILES&&"object"==typeof e.USE_PROFILES?pc(e.USE_PROFILES):e.USE_PROFILES),ee=!1!==e.ALLOW_ARIA_ATTR,te=!1!==e.ALLOW_DATA_ATTR,ne=e.ALLOW_UNKNOWN_PROTOCOLS||!1,ie=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,re=e.SAFE_FOR_TEMPLATES||!1,oe=!1!==e.SAFE_FOR_XML,ae=e.WHOLE_DOCUMENT||!1,ce=e.RETURN_DOM||!1,ue=e.RETURN_DOM_FRAGMENT||!1,de=e.RETURN_TRUSTED_TYPE||!1,le=e.FORCE_BODY||!1,he=!1!==e.SANITIZE_DOM,fe=e.SANITIZE_NAMED_PROPS||!1,me=!1!==e.KEEP_CONTENT,ge=e.IN_PLACE||!1,W=function(e){try{return lc(e,""),!0}catch(e){return!1}}(e.ALLOWED_URI_REGEXP)?e.ALLOWED_URI_REGEXP:Ic,Oe="string"==typeof e.NAMESPACE?e.NAMESPACE:ke,je=ac(e,"MATHML_TEXT_INTEGRATION_POINTS")&&e.MATHML_TEXT_INTEGRATION_POINTS&&"object"==typeof e.MATHML_TEXT_INTEGRATION_POINTS?pc(e.MATHML_TEXT_INTEGRATION_POINTS):hc({},["mi","mo","mn","ms","mtext"]),Ie=ac(e,"HTML_INTEGRATION_POINTS")&&e.HTML_INTEGRATION_POINTS&&"object"==typeof e.HTML_INTEGRATION_POINTS?pc(e.HTML_INTEGRATION_POINTS):hc({},["annotation-xml"]);const t=ac(e,"CUSTOM_ELEMENT_HANDLING")&&e.CUSTOM_ELEMENT_HANDLING&&"object"==typeof e.CUSTOM_ELEMENT_HANDLING?pc(e.CUSTOM_ELEMENT_HANDLING):Hl(null);if(Y=Hl(null),ac(t,"tagNameCheck")&&ze(t.tagNameCheck)&&(Y.tagNameCheck=t.tagNameCheck),ac(t,"attributeNameCheck")&&ze(t.attributeNameCheck)&&(Y.attributeNameCheck=t.attributeNameCheck),ac(t,"allowCustomizedBuiltInElements")&&"boolean"==typeof t.allowCustomizedBuiltInElements&&(Y.allowCustomizedBuiltInElements=t.allowCustomizedBuiltInElements),re&&(te=!1),ue&&(ce=!0),be&&(Z=hc({},wc),G=Hl(null),!0===be.html&&(hc(Z,gc),hc(G,xc)),!0===be.svg&&(hc(Z,bc),hc(G,Ec),hc(G,kc)),!0===be.svgFilters&&(hc(Z,vc),hc(G,Ec),hc(G,kc)),!0===be.mathMl&&(hc(Z,_c),hc(G,Sc),hc(G,kc))),J.tagCheck=null,J.attributeCheck=null,ac(e,"ADD_TAGS")&&("function"==typeof e.ADD_TAGS?J.tagCheck=e.ADD_TAGS:Ql(e.ADD_TAGS)&&(Z===q&&(Z=pc(Z)),hc(Z,e.ADD_TAGS,Ne))),ac(e,"ADD_ATTR")&&("function"==typeof e.ADD_ATTR?J.attributeCheck=e.ADD_ATTR:Ql(e.ADD_ATTR)&&(G===Q&&(G=pc(G)),hc(G,e.ADD_ATTR,Ne))),ac(e,"ADD_URI_SAFE_ATTR")&&Ql(e.ADD_URI_SAFE_ATTR)&&hc(we,e.ADD_URI_SAFE_ATTR,Ne),ac(e,"FORBID_CONTENTS")&&Ql(e.FORBID_CONTENTS)&&(ve===ye&&(ve=pc(ve)),hc(ve,e.FORBID_CONTENTS,Ne)),ac(e,"ADD_FORBID_CONTENTS")&&Ql(e.ADD_FORBID_CONTENTS)&&(ve===ye&&(ve=pc(ve)),hc(ve,e.ADD_FORBID_CONTENTS,Ne)),me&&(Z["#text"]=!0),ae&&hc(Z,["html","head","body"]),Z.table&&(hc(Z,["tbody"]),delete K.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw cc('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw cc('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');const t=w;w=e.TRUSTED_TYPES_POLICY;try{E=M("")}catch(e){throw w=t,e}}else null===e.TRUSTED_TYPES_POLICY?(w=void 0,E=""):(void 0===w&&(S||(x=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const i="data-tt-policy-suffix";t&&t.hasAttribute(i)&&(n=t.getAttribute(i));const r="dompurify"+(n?"#"+n:"");try{return e.createPolicy(r,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+r+" could not be created."),null}}(d,o),S=!0),w=x),w&&"string"==typeof E&&(E=M("")));(N.uponSanitizeElement.length>0||N.uponSanitizeAttribute.length>0)&&Z===q&&(Z=pc(Z)),N.uponSanitizeAttribute.length>0&&G===Q&&(G=pc(G)),Fl&&Fl(e),Re=e},Ue=hc({},[...bc,...vc,...yc]),Ve=hc({},[..._c,...Cc]),$e=function(e){ql(n.removed,{element:e});try{b(e).removeChild(e)}catch(t){if(p(e),!b(e))throw cc("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place")}},Be=function(e){const t=g?g(e):e.childNodes;if(t){const e=[];Bl(t,t=>{ql(e,t)}),Bl(e,e=>{try{p(e)}catch(e){}})}const n=y?y(e):null;if(n)for(let t=n.length-1;t>=0;--t){const i=n[t],r=i&&i.name;if("string"==typeof r)try{e.removeAttribute(r)}catch(e){}}},We=function(e,t){try{ql(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){ql(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(ce||ue)try{$e(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ze=function(e){const t=y?y(e):e.attributes;if(t)for(let n=t.length-1;n>=0;--n){const i=t[n],r=i&&i.name;if("string"==typeof r&&!G[Ne(r)])try{e.removeAttribute(r)}catch(e){}}},qe=function(e){let t=null,n=null;if(le)e="<remove></remove>"+e;else{const t=Xl(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===De&&Oe===ke&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const r=w?M(e):e;if(Oe===ke)try{t=(new u).parseFromString(r,De)}catch(e){}if(!t||!t.documentElement){t=j.createDocument(Oe,"template",null);try{t.documentElement.innerHTML=Me?E:r}catch(e){}}const o=t.body||t.documentElement;return e&&n&&o.insertBefore(i.createTextNode(n),o.childNodes[0]||null),Oe===ke?D.call(t,ae?"html":"body")[0]:ae?t.documentElement:o},Ge=function(e){return I.call(e.ownerDocument||e,e,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT|c.SHOW_PROCESSING_INSTRUCTION|c.SHOW_CDATA_SECTION,null)},Qe=function(e){var t,n;e.normalize();const i=I.call(e.ownerDocument||e,e,c.SHOW_TEXT|c.SHOW_COMMENT|c.SHOW_CDATA_SECTION|c.SHOW_PROCESSING_INSTRUCTION,null);let r=i.nextNode();for(;r;){let e=r.data;Bl([R,F,z],t=>{e=Jl(e,t," ")}),r.data=e,r=i.nextNode()}const o=null!==(t=null===(n=e.querySelectorAll)||void 0===n?void 0:n.call(e,"template"))&&void 0!==t?t:[];Bl(Array.from(o),e=>{Ke(e.content)&&Qe(e.content)})},Ye=function(e){const t=C?C(e):null;return"string"==typeof t&&"form"===Ne(t)&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||e.attributes!==y(e)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes||e.nodeType!==_(e)||e.childNodes!==g(e))},Ke=function(e){if(!_||"object"!=typeof e||null===e)return!1;try{return 11===_(e)}catch(e){return!1}},Xe=function(e){if(!_||"object"!=typeof e||null===e)return!1;try{return"number"==typeof _(e)}catch(e){return!1}};function Je(e,t,i){Bl(e,e=>{e.call(n,t,i,Re)})}const et=function(e){let t=null;if(Je(N.beforeSanitizeElements,e,null),Ye(e))return $e(e),!0;const i=Ne(C?C(e):e.nodeName);if(Je(N.uponSanitizeElement,e,{tagName:i,allowedTags:Z}),oe&&e.hasChildNodes()&&!Xe(e.firstElementChild)&&lc(/<[/\w!]/g,e.innerHTML)&&lc(/<[/\w!]/g,e.textContent))return $e(e),!0;if(oe&&e.namespaceURI===ke&&"style"===i&&Xe(e.firstElementChild))return $e(e),!0;if(7===e.nodeType)return $e(e),!0;if(oe&&8===e.nodeType&&lc(/<[/\w]/g,e.data))return $e(e),!0;if(K[i]||!(J.tagCheck instanceof Function&&J.tagCheck(i))&&!Z[i]){if(!K[i]&&it(i)){if(Y.tagNameCheck instanceof RegExp&&lc(Y.tagNameCheck,i))return!1;if(Y.tagNameCheck instanceof Function&&Y.tagNameCheck(i))return!1}if(me&&!ve[i]){const t=b(e),n=g(e);if(n&&t)for(let i=n.length-1;i>=0;--i){const r=ge?n[i]:f(n[i],!0);t.insertBefore(r,m(e))}}return $e(e),!0}return 1===(_?_(e):e.nodeType)&&!function(e){let t=b(e);t&&t.tagName||(t={namespaceURI:Oe,tagName:"template"});const n=Yl(e.tagName),i=Yl(t.tagName);return!!Ae[e.namespaceURI]&&(e.namespaceURI===Se?t.namespaceURI===ke?"svg"===n:t.namespaceURI===Ee?"svg"===n&&("annotation-xml"===i||je[i]):Boolean(Ue[n]):e.namespaceURI===Ee?t.namespaceURI===ke?"math"===n:t.namespaceURI===Se?"math"===n&&Ie[i]:Boolean(Ve[n]):e.namespaceURI===ke?!(t.namespaceURI===Se&&!Ie[i])&&!(t.namespaceURI===Ee&&!je[i])&&!Ve[n]&&(Te[n]||!Ue[n]):!("application/xhtml+xml"!==De||!Ae[e.namespaceURI]))}(e)||("noscript"===i||"noembed"===i||"noframes"===i)&&lc(/<\/no(script|embed|frames)/i,e.innerHTML)?($e(e),!0):(re&&3===e.nodeType&&(t=e.textContent,Bl([R,F,z],e=>{t=Jl(t,e," ")}),e.textContent!==t&&(ql(n.removed,{element:e.cloneNode()}),e.textContent=t)),Je(N.afterSanitizeElements,e,null),!1)},tt=function(e,t,n){if(X[t])return!1;if(he&&("id"===t||"name"===t)&&(n in i||n in Fe))return!1;const r=G[t]||J.attributeCheck instanceof Function&&J.attributeCheck(t,e);if(te&&!X[t]&&lc(H,t));else if(ee&&lc(U,t));else if(!r||X[t]){if(!(it(e)&&(Y.tagNameCheck instanceof RegExp&&lc(Y.tagNameCheck,e)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(e))&&(Y.attributeNameCheck instanceof RegExp&&lc(Y.attributeNameCheck,t)||Y.attributeNameCheck instanceof Function&&Y.attributeNameCheck(t,e))||"is"===t&&Y.allowCustomizedBuiltInElements&&(Y.tagNameCheck instanceof RegExp&&lc(Y.tagNameCheck,n)||Y.tagNameCheck instanceof Function&&Y.tagNameCheck(n))))return!1}else if(we[t]);else if(lc(W,Jl(n,$,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==ec(n,"data:")||!_e[e])if(ne&&!lc(V,Jl(n,$,"")));else if(n)return!1;return!0},nt=hc({},["annotation-xml","color-profile","font-face","font-face-format","font-face-name","font-face-src","font-face-uri","missing-glyph"]),it=function(e){return!nt[Yl(e)]&&lc(B,e)},rt=function(e){Je(N.beforeSanitizeAttributes,e,null);const t=e.attributes;if(!t||Ye(e))return;const i={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:G,forceKeepAttr:void 0};let r=t.length;for(;r--;){const o=t[r],a=o.name,s=o.namespaceURI,l=o.value,c=Ne(a),u=l;let h="value"===a?u:tc(u);if(i.attrName=c,i.attrValue=h,i.keepAttr=!0,i.forceKeepAttr=void 0,Je(N.uponSanitizeAttribute,e,i),h=i.attrValue,!fe||"id"!==c&&"name"!==c||0===ec(h,pe)||(We(a,e),h=pe+h),oe&&lc(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i,h)){We(a,e);continue}if("attributename"===c&&Xl(h,"href")){We(a,e);continue}if(i.forceKeepAttr)continue;if(!i.keepAttr){We(a,e);continue}if(!ie&&lc(/\/>/i,h)){We(a,e);continue}re&&Bl([R,F,z],e=>{h=Jl(h,e," ")});const f=Ne(e.nodeName);if(tt(f,c,h)){if(w&&"object"==typeof d&&"function"==typeof d.getAttributeType)if(s);else switch(d.getAttributeType(f,c)){case"TrustedHTML":h=M(h);break;case"TrustedScriptURL":h=A(h)}if(h!==u)try{s?e.setAttributeNS(s,a,h):e.setAttribute(a,h),Ye(e)?$e(e):Zl(n.removed)}catch(t){We(a,e)}}else We(a,e)}Je(N.afterSanitizeAttributes,e,null)},ot=function(e){let t=null;const n=Ge(e);for(Je(N.beforeSanitizeShadowDOM,e,null);t=n.nextNode();)if(Je(N.uponSanitizeShadowNode,t,null),et(t),rt(t),Ke(t.content)&&ot(t.content),1===(_?_(t):t.nodeType)){const e=v?v(t):t.shadowRoot;Ke(e)&&(at(e),ot(e))}Je(N.afterSanitizeShadowDOM,e,null)},at=function(e){const t=[{node:e,shadow:null}];for(;t.length>0;){const e=t.pop();if(e.shadow){ot(e.shadow);continue}const n=e.node,i=1===(_?_(n):n.nodeType),r=g?g(n):n.childNodes;if(r)for(let e=r.length-1;e>=0;--e)t.push({node:r[e],shadow:null});if(i){const e=C?C(n):null;if("string"==typeof e&&"template"===Ne(e)){const e=n.content;Ke(e)&&t.push({node:e,shadow:null})}}if(i){const e=v?v(n):n.shadowRoot;Ke(e)&&t.push({node:null,shadow:e},{node:e,shadow:null})}}};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=null,o=null,a=null,s=null;if(Me=!e,Me&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Xe(e)&&"string"!=typeof(e=function(e){switch(typeof e){case"string":return e;case"number":return nc(e);case"boolean":return ic(e);case"bigint":return rc?rc(e):"0";case"symbol":return oc?oc(e):"Symbol()";case"undefined":default:return sc(e);case"function":case"object":{if(null===e)return sc(e);const t=e,n=mc(t,"toString");if("function"==typeof n){const e=n(t);return"string"==typeof e?e:sc(e)}return sc(e)}}}(e)))throw cc("dirty is not a string, aborting");if(!n.isSupported)return e;se||He(t),n.removed=[];const l=ge&&"string"!=typeof e&&Xe(e);if(l){const t=C?C(e):e.nodeName;if("string"==typeof t){const e=Ne(t);if(!Z[e]||K[e])throw cc("root node is forbidden and cannot be sanitized in-place")}if(Ye(e))throw cc("root node is clobbered and cannot be sanitized in-place");try{at(e)}catch(t){throw Be(e),t}}else if(Xe(e))i=qe("\x3c!----\x3e"),o=i.ownerDocument.importNode(e,!0),1===o.nodeType&&"BODY"===o.nodeName||"HTML"===o.nodeName?i=o:i.appendChild(o),at(o);else{if(!ce&&!re&&!ae&&-1===e.indexOf("<"))return w&&de?M(e):e;if(i=qe(e),!i)return ce?null:de?E:""}i&&le&&$e(i.firstChild);const c=Ge(l?e:i);try{for(;a=c.nextNode();)et(a),rt(a),Ke(a.content)&&ot(a.content)}catch(t){throw l&&Be(e),t}if(l)return Bl(n.removed,e=>{e.element&&function(e){const t=[e];for(;t.length>0;){const e=t.pop();1===(_?_(e):e.nodeType)&&Ze(e);const n=g?g(e):e.childNodes;if(n)for(let e=n.length-1;e>=0;--e)t.push(n[e])}}(e.element)}),re&&Qe(e),e;if(ce){if(re&&Qe(i),ue)for(s=T.call(i.ownerDocument);i.firstChild;)s.appendChild(i.firstChild);else s=i;return(G.shadowroot||G.shadowrootmode)&&(s=L.call(r,s,!0)),s}let u=ae?i.outerHTML:i.innerHTML;return ae&&Z["!doctype"]&&i.ownerDocument&&i.ownerDocument.doctype&&i.ownerDocument.doctype.name&&lc(Lc,i.ownerDocument.doctype.name)&&(u="<!DOCTYPE "+i.ownerDocument.doctype.name+">\n"+u),re&&Bl([R,F,z],e=>{u=Jl(u,e," ")}),w&&de?M(u):u},n.setConfig=function(){He(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),se=!0},n.clearConfig=function(){Re=null,se=!1,w=x,E=""},n.isValidAttribute=function(e,t,n){Re||He({});const i=Ne(e),r=Ne(t);return tt(i,r,n)},n.addHook=function(e,t){"function"==typeof t&&ql(N[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=Wl(N[e],t);return-1===n?void 0:Gl(N[e],n,1)[0]}return Zl(N[e])},n.removeHooks=function(e){N[e]=[]},n.removeAllHooks=function(){N={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}(),zc=function(e){return""===e},Hc=function(e){var t;return null===(t=null!=e?e:"")||void 0===t||null===(t=t.split(" "))||void 0===t||null===(t=t.map(function(e){return e.charAt(0).toUpperCase()+e.slice(1)}))||void 0===t?void 0:t.join(" ")},Uc="name",Vc="pid",$c="slug",Bc="is_installed",Wc="is_active",Zc="has_update",qc="can_update",Gc="version_installed",Qc="version_latest",Yc="info",Kc="is_network_admin",Xc="url",Jc="is_licensed",eu="config",tu=119,nu=[3953609,4262971,4276231],iu="install",ru="uninstall",ou="update",au="activate",su="deactivate",lu="install-activate",cu="upgrade",uu=wp.element;function du(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function hu(e){return hu="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},hu(e)}function fu(e,t,n){return(t=function(e){var t=function(e){if("object"!=hu(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=hu(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hu(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pu,mu,gu,bu=function(e){var t,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"",r=null===(t=Object.keys(n))||void 0===t?void 0:t.map(function(t){return[!1,void 0].includes(null==n?void 0:n[t])?"":"".concat(e,"--").concat(t)}).join(" ").trim();return Un()(e,fu(fu({},"".concat(r),!0),"".concat(i),!zc(i)))},vu=function(e,t){var n=(arguments.length>2&&void 0!==arguments[2]?arguments[2]:{treatArraysAsSets:!1}).treatArraysAsSets;if(hu(e)!==hu(t))return!1;if(null===e||null===t||void 0===e||void 0===t)return e===t;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;n&&(e=e.slice().sort(),t=t.slice().sort());for(var i=0;i<e.length;i++)if(!vu(e[i],t[i],{treatArraysAsSets:n}))return!1;return!0}if("object"===hu(e)&&"object"===hu(t)){var r=Object.keys(e),o=Object.keys(t);if(r.length!==o.length)return!1;for(var a=0,s=r;a<s.length;a++){var l=s[a];if(!vu(e[l],t[l],{treatArraysAsSets:n}))return!1}return!0}return e===t},yu=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"at",n=1e3*e,i=Date.now()-n,r=Math.floor(i/1e3),o=Math.floor(r/60),a=Math.round(o/60),s=function(e,t){return"".concat(e," ").concat(t).concat(1===e?"":"s"," ago")};if(r<60)return s(Math.max(1,r),"second");if(o<1440)return o<60?s(o,"minute"):s(a,"hour");var l=new Date(n);if(Number.isNaN(l.getTime()))return"-";var c=l.toLocaleString("en-US",{year:"numeric",month:"short",day:"numeric",hour:"2-digit",minute:"2-digit",hour12:!0}),u=c.lastIndexOf(",");return-1!==u?c.substring(0,u)+" ".concat(t," ")+c.substring(u+1):c},_u=function(e){return null==e?void 0:e[Wc]},Cu=function(e){return null==e?void 0:e[Bc]},wu=function(e){return null==e?void 0:e[qc]},xu=function(e){return"boolean"==typeof(null==e?void 0:e[Jc])?e[Jc]:"boolean"==typeof(null==e?void 0:e[qc])&&e[qc]},Eu=function(e){return null==e?void 0:e[Zc]},Su=function(e){return(null==e?void 0:e[Vc])===tu},ku=function(e,t){var n,i;if(!t)return e;var r=null==t?void 0:t.toLocaleLowerCase();return{is_installed:r?null==e||null===(n=e.is_installed)||void 0===n?void 0:n.filter(function(e){return e.name.toLowerCase().includes(r)}):e.is_installed,available:r?null==e||null===(i=e.available)||void 0===i?void 0:i.filter(function(e){return e.name.toLowerCase().includes(r)}):null==e?void 0:e.available}},Ou=function(e,t){var n=function(e){return function(e){if(Array.isArray(e))return du(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||function(e,t){if(e){if("string"==typeof e)return du(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?du(e,t):void 0}}(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.")}()}(t);return null==n?void 0:n.flatMap(function(t){return e===lu?[{payload:{pid:t,action:iu}},{payload:{pid:t,action:au}}]:{payload:{pid:t,action:e}}})},Mu=function(e){return 2===e.split(".").length?"".concat(e,".0"):e};function Au(e){return Au="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},Au(e)}function Pu(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ju(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ju(e,t):void 0}}(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 ju(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Iu(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Tu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Iu(Object(n),!0).forEach(function(t){Du(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Iu(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Du(e,t,n){return(t=function(e){var t=function(e){if("object"!=Au(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Au(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Au(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Lu(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function o(n,i,r,o){var l=i&&i.prototype instanceof s?i:s,c=Object.create(l.prototype);return Nu(c,"_invoke",function(n,i,r){var o,s,l,c=0,u=r||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return o=t,s=0,l=e,h.n=n,a}};function f(n,i){for(s=n,l=i,t=0;!d&&c&&!r&&t<u.length;t++){var r,o=u[t],f=h.p,p=o[2];n>3?(r=p===i)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=f&&((r=n<2&&f<o[1])?(s=0,h.v=i,h.n=o[1]):f<p&&(r=n<3||o[0]>i||i>p)&&(o[4]=n,o[5]=i,h.n=p,s=0))}if(r||n>1)return a;throw d=!0,i}return function(r,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,p),s=u,l=p;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(h.n=-1),f(s,l)):h.n=l:h.v=l);try{if(c=2,o){if(s||(r="next"),t=o[r]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),s=1);o=e}else if((t=(d=h.n<0)?l:n.call(i,h))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,r,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][i]?t(t([][i]())):(Nu(t={},i,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,Nu(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,Nu(d,"constructor",c),Nu(c,"constructor",l),l.displayName="GeneratorFunction",Nu(c,r,"GeneratorFunction"),Nu(d),Nu(d,r,"Generator"),Nu(d,i,function(){return this}),Nu(d,"toString",function(){return"[object Generator]"}),(Lu=function(){return{w:o,m:h}})()}function Nu(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}Nu=function(e,t,n,i){function o(t,n){Nu(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},Nu(e,t,n,i)}function Ru(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,r)}function Fu(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function a(e){Ru(o,i,r,a,s,"next",e)}function s(e){Ru(o,i,r,a,s,"throw",e)}a(void 0)})}}var zu=864e5,Hu=null!==(pu=null!==(mu=null===(gu=globalThis.window)||void 0===gu?void 0:gu.dashboardSettings)&&void 0!==mu?mu:globalThis.dashboardSettings)&&void 0!==pu?pu:{},Uu=new be.QueryClient({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:zu,cacheTime:zu,refetchInterval:0}}}),Vu=Hu.login,$u=Hu.urls,Bu=Hu.hub_site_id,Wu=Hu.wp_lang,Zu=Hu.api_url,qu=Hu.wp_api_url,Gu=Hu.api_nonce,Qu=(Hu.api_key,Hu.wp_user),Yu=Hu.hub_user,Ku=Hu.analytics_metrics,Xu=Hu.roles,Ju=Hu.site_url,ed=Hu.membership_status,td=Hu.version,nd=Hu.custom_api_server,id=Hu.is_tickets_hidden,rd=Hu.features,od=Hu.system_info,ad=null!=rd?rd:{},sd="1"===id,ld={translations:!0===ad.translations,analytics:!0===ad.analytics,plugins:!0===ad.plugins,whitelabel:!0===ad.whitelabel,support:!0===ad.support},cd="expired"===ed,ud="free"===ed,dd=cd||ud,hd="0"!==(null==Hu?void 0:Hu.is_logged_in)&&!zc(null==Hu?void 0:Hu.is_logged_in),fd="0"!==(null==Hu?void 0:Hu.is_localhost)&&!zc(null==Hu?void 0:Hu.is_localhost),pd="0"!==(null==Hu?void 0:Hu.is_network)&&!zc(null==Hu?void 0:Hu.is_network),md="1"===(null==Hu?void 0:Hu.is_remote_access_disabled)&&!zc(null==Hu?void 0:Hu.is_remote_access_disabled),gd="1"===(null==Hu?void 0:Hu.is_api_key_using_define)&&!zc(null==Hu?void 0:Hu.is_api_key_using_define),bd=function(){var e="dashboard"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"dashboard")?Zu:"".concat(qu,"wp/v2/");return Rn.create({baseURL:e,headers:{Accept:"application/json","Content-type":"application/json","x-wp-nonce":Gu}})},vd=function(e,t){var n=e;return void 0!==t&&(n=[e,t]),[n]},yd=function(e,t){var n=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],i=arguments.length>3?arguments[3]:void 0,r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a="string"==typeof e?e:e.slug,s="string"==typeof e?"dashboard":"wp",l=vd(a,t);return(0,be.useQuery)(l,Fu(Lu().m(function e(){var n;return Lu().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,bd(s).get(a,{params:t});case 1:return n=e.v,e.a(2,r?n:null==n?void 0:n.data)}},e)})),Tu({enabled:n,onError:i},o))},_d=function(e,t,n,i){var r=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},a=function(){var n=Fu(Lu().m(function n(i){var a,s,l,c,u;return Lu().w(function(n){for(;;)switch(n.n){case 0:s=null,l={},c=Tu(Tu({},o),i),r&&(c=(0,Fn.serialize)(c),l["Content-type"]="multipart/form-data"),t=null===(a=t)||void 0===a?void 0:a.toLowerCase(),u=t,n.n="delete"===u?1:3;break;case 1:return n.n=2,bd().delete(e,c);case 2:return s=n.v,n.a(3,5);case 3:return n.n=4,bd().post(e,c,{headers:l});case 4:s=n.v;case 5:return n.a(2,s.data)}},n)}));return function(e){return n.apply(this,arguments)}}();return(0,be.useMutation)(a,{mutationKey:e,onSuccess:function(t,i){i&&Uu.setQueryData(vd(e,i),t),Uu.setQueryData([e],t),n&&n(t,i)},onError:function(e,t){var n,r,o=null==e||null===(n=e.response)||void 0===n?void 0:n.data,a=null==e?void 0:e.toJSON();!function(e){return"object"===hu(e)&&"code"in e&&"data"in e&&"message"in e}(o)?a.message=(0,zn.__)("Something went wrong, please try again or contact support if the problem persists."):a.message=null!==(r=null==o?void 0:o.message)&&void 0!==r?r:"",i&&i(a,t)}})},Cd=function(e){var t=e.slug,n=e.successTitle,i=void 0===n?"":n,r=e.successMsg,o=void 0===r?"":r,a=e.onSuccess,s=e.onError,l=void 0===s?function(){}:s,c=e.method,u=void 0===c?"POST":c,d=e.payloadAsFormdata,h=void 0!==d&&d,f=e.params,p=void 0===f?{}:f,m=Ml();return _d(t,u,function(e,t){a&&a(e,t),o&&m.push({id:"success-alert",icon:"CheckAlt",title:i,message:o,variation:"success",isDismissible:!zc(null!=i?i:"")})},l,h,p)},wd=function(e){var t=e.saveProps,n=e.onFinish,i=Pu((0,r.useState)("ready"),2),o=i[0],a=i[1],s=Pu((0,r.useState)(0),2),l=s[0],c=s[1],u=Pu((0,r.useState)([]),2),d=u[0],h=u[1],f=Pu((0,r.useState)(!1),2),p=f[0],m=f[1],g=t.slug,b=t.method,v=void 0===b?"POST":b,y=t.payloadAsFormdata,_=void 0!==y&&y,C=!["cancelled","cancelling"].includes(o);(0,r.useEffect)(function(){d.length>0&&C&&(m(!0),a("running"))},[d]);var w=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:l;h(function(n){return null==n?void 0:n.map(function(n,i){return t===i?Tu(Tu({},n),e):n})})},x=_d(g,v,function(e){a(function(e){return"cancelling"===e?"cancelled":e}),t.onSuccess&&t.onSuccess(e),w({status:"success"}),C&&S()},function(e){var t;w({status:"failed",response:{isError:!0,data:"string"==typeof e?e:null!==(t=null==e?void 0:e.message)&&void 0!==t?t:""}}),C&&S()},_),E=function(){var e,t;if(0!==d.length){if(null==d||!d[l]){var i=null==d?void 0:d.filter(function(e){return"failed"===e.status});return a(null!=i&&i.length?"failed":"finished"),null==n||n(i),void m(!1)}w({status:"running"}),x.mutate(null!==(e=null==d||null===(t=d[l])||void 0===t?void 0:t.payload)&&void 0!==e?e:{})}};(0,r.useEffect)(function(){p&&E()},[p]);var S=function(){c(function(e){return e+1})};(0,r.useEffect)(function(){l>0&&C&&(a("running"),E())},[l,o]);var k="ready"===o,O="running"===o,M="cancelling"===o,A="cancelled"===o,P="finished"===o,j="failed"===o;return{mutateService:x,current:(null==d?void 0:d[l])||{},queue:d,state:o,cancelQueue:function(){a("cancelling"),m(!1)},initQueue:function(e){a("ready"),c(0),h(e)},resetQueue:function(){a("ready"),c(0),h([]),m(!1)},isReady:k,isRunning:O,isCancelling:M,isCancelled:A,isFinished:P,isFailed:j}};const xd="%[a-f0-9]{2}",Ed=new RegExp("("+xd+")|([^%]+?)","gi"),Sd=new RegExp("("+xd+")+","gi");function kd(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const n=e.slice(0,t),i=e.slice(t);return Array.prototype.concat.call([],kd(n),kd(i))}function Od(e){try{return decodeURIComponent(e)}catch{let t=e.match(Ed)||[];for(let n=1;n<t.length;n++)t=(e=kd(t,n).join("")).match(Ed)||[];return e}}function Md(e,t){const n={};if(Array.isArray(t))for(const i of t){const t=Object.getOwnPropertyDescriptor(e,i);t?.enumerable&&Object.defineProperty(n,i,t)}else for(const i of Reflect.ownKeys(e)){const r=Object.getOwnPropertyDescriptor(e,i);r.enumerable&&t(i,e[i],e)&&Object.defineProperty(n,i,r)}return n}function Ad(e,t){if("string"!=typeof e||"string"!=typeof t)throw new TypeError("Expected the arguments to be of type `string`");if(""===e||""===t)return[];const n=e.indexOf(t);return-1===n?[]:[e.slice(0,n),e.slice(n+t.length)]}const Pd=e=>null==e,jd=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),Id=Symbol("encodeFragmentIdentifier");function Td(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Dd(e,t){return t.encode?t.strict?jd(e):encodeURIComponent(e):e}function Ld(e,t){return t.decode?function(e){if("string"!=typeof e)throw new TypeError("Expected `encodedURI` to be of type `string`, got `"+typeof e+"`");try{return decodeURIComponent(e)}catch{return function(e){const t={"%FE%FF":"��","%FF%FE":"��"};let n=Sd.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const e=Od(n[0]);e!==n[0]&&(t[n[0]]=e)}n=Sd.exec(e)}t["%C2"]="�";const i=Object.keys(t);for(const n of i)e=e.replace(new RegExp(n,"g"),t[n]);return e}(e)}}(e):e}function Nd(e){return Array.isArray(e)?e.sort():"object"==typeof e?Nd(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function Rd(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function Fd(e){const t=e.indexOf("?");return-1===t?e:e.slice(0,t)}function zd(e,t,n){return"string"===n&&"string"==typeof e?e:"function"==typeof n&&"string"==typeof e?n(e):"boolean"===n&&null===e||("boolean"!==n||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()?"boolean"!==n||null===e||"1"!==e.toLowerCase()&&"0"!==e.toLowerCase()?"string[]"===n&&"none"!==t.arrayFormat&&"string"==typeof e?[e]:"number[]"!==n||"none"===t.arrayFormat||Number.isNaN(Number(e))||"string"!=typeof e||""===e.trim()?"number"!==n||Number.isNaN(Number(e))||"string"!=typeof e||""===e.trim()?!t.parseBooleans||null===e||"true"!==e.toLowerCase()&&"false"!==e.toLowerCase()?t.parseNumbers&&!Number.isNaN(Number(e))&&"string"==typeof e&&""!==e.trim()?Number(e):e:"true"===e.toLowerCase():Number(e):[Number(e)]:"1"===e.toLowerCase():"true"===e.toLowerCase())}function Hd(e){const t=(e=Rd(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function Ud(e,t){Td((t={decode:!0,sort:!0,arrayFormat:"none",arrayFormatSeparator:",",parseNumbers:!1,parseBooleans:!1,types:Object.create(null),...t}).arrayFormatSeparator);const n=function(e){let t;switch(e.arrayFormat){case"index":return(e,n,i)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===i[e]&&(i[e]={}),i[e][t[1]]=n):i[e]=n};case"bracket":return(e,n,i)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==i[e]?Array.isArray(i[e])?i[e].push(n):i[e]=[i[e],n]:i[e]=[n]:i[e]=n};case"colon-list-separator":return(e,n,i)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==i[e]?Array.isArray(i[e])?i[e].push(n):i[e]=[i[e],n]:i[e]=[n]:i[e]=n};case"comma":case"separator":return(t,n,i)=>{const r="string"==typeof n&&n.includes(e.arrayFormatSeparator)?n.split(e.arrayFormatSeparator).map(t=>Ld(t,e)):null===n?n:Ld(n,e);i[t]=r};case"bracket-separator":return(t,n,i)=>{const r=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!r)return void(i[t]=n?Ld(n,e):n);const o=null===n?[]:Ld(n,e).split(e.arrayFormatSeparator);if(void 0!==i[t]){Array.isArray(i[t])||(i[t]=[i[t]]);for(const e of o)i[t].push(e)}else i[t]=o};default:return(e,t,n)=>{void 0!==n[e]?Array.isArray(n[e])?n[e].push(t):n[e]=[n[e],t]:n[e]=t}}}(t),i=Object.create(null);if("string"!=typeof e)return i;if(!(e=e.trim().replace(/^[?#&]/,"")))return i;let r=0;for(let o=0;o<=e.length;o++){if(o<e.length&&"&"!==e[o])continue;if(o===r){r=o+1;continue}const a=e.slice(r,o);r=o+1;const s=t.decode?a.replaceAll("+"," "):a;let[l,c]=Ad(s,"=");void 0===l&&(l=s),c=void 0===c?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?c:Ld(c,t),n(Ld(l,t),c,i)}for(const[e,n]of Object.entries(i))if("object"==typeof n&&null!==n&&"string"!==t.types[e])for(const[i,r]of Object.entries(n)){const o=t.types[e],a="function"==typeof o?o:o?o.replace("[]",""):void 0;n[i]=zd(r,t,a)}else"object"==typeof n&&null!==n&&"string"===t.types[e]?i[e]=Object.values(n).join(t.arrayFormatSeparator):i[e]=zd(n,t,t.types[e]);return!1===t.sort?i:(!0===t.sort?Object.keys(i).sort():Object.keys(i).sort(t.sort)).reduce((e,t)=>{const n=i[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?Nd(n):n,e},Object.create(null))}function Vd(e,t){if(!e)return"";Td((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&Pd(e[n])||t.skipEmptyString&&""===e[n],i=function(e){switch(e.arrayFormat){case"index":return t=>(n,i)=>{const r=n.length;return void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?(n.push([Dd(t,e),"[",r,"]"].join("")),n):(n.push([Dd(t,e),"[",Dd(r,e),"]=",Dd(i,e)].join("")),n)};case"bracket":return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?(n.push([Dd(t,e),"[]"].join("")),n):(n.push([Dd(t,e),"[]=",Dd(i,e)].join("")),n);case"colon-list-separator":return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?(n.push([Dd(t,e),":list="].join("")),n):(n.push([Dd(t,e),":list=",Dd(i,e)].join("")),n);case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(i,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?i:(r=null===r?"":r,0===i.length?(i.push([Dd(n,e),t,Dd(r,e)].join("")),i):(i.push(Dd(r,e)),i))}default:return t=>(n,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?n:null===i?(n.push(Dd(t,e)),n):(n.push([Dd(t,e),"=",Dd(i,e)].join("")),n)}}(t),r={};for(const[t,i]of Object.entries(e))n(t)||(r[t]=i);const o=Object.keys(r);return!1!==t.sort&&o.sort(t.sort),o.map(n=>{let r=e[n];if(t.replacer&&(r=t.replacer(n,r),void 0===r))return"";if(void 0===r)return"";if(null===r)return Dd(n,t);if(Array.isArray(r)){if(0===r.length&&"bracket-separator"===t.arrayFormat)return Dd(n,t)+"[]";let e=r;t.replacer&&(e=r.map((e,i)=>t.replacer(`${n}[${i}]`,e)).filter(e=>void 0!==e));const o=e.reduce(i(n),[]),a=["comma","separator","bracket-separator"].includes(t.arrayFormat)?t.arrayFormatSeparator:"&";return o.join(a)}return Dd(n,t)+"="+Dd(r,t)}).filter(e=>e.length>0).join("&")}function $d(e,t){t={decode:!0,...t};let[n,i]=Ad(e,"#");return void 0===n&&(n=e),{url:Fd(n??""),query:Ud(Hd(e),t),...t&&t.parseFragmentIdentifier&&i?{fragmentIdentifier:Ld(i,t)}:{}}}function Bd(e,t){t={encode:!0,strict:!0,[Id]:!0,...t};const n=Fd(Rd(e.url))||"";let i=Vd({...Ud(Hd(e.url),{sort:!1,...t}),...e.query},t);i&&=`?${i}`;let r=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if("string"==typeof e.fragmentIdentifier){const i=new URL(n);i.hash=e.fragmentIdentifier,r=t[Id]?i.hash:`#${e.fragmentIdentifier}`}return`${n}${i}${r}`}function Wd(e,t,n){n={parseFragmentIdentifier:!0,[Id]:!1,...n};const{url:i,query:r,fragmentIdentifier:o}=$d(e,n);return Bd({url:i,query:Md(r,t),fragmentIdentifier:o},n)}function Zd(e,t,n){if(Array.isArray(t)){const i=new Set(t);return Wd(e,e=>!i.has(e),n)}return Wd(e,(e,n)=>!t(e,n),n)}var qd=t,Gd=({id:e,align:t={md:"inline"},className:n,children:i,_htmlProps:o={},_style:a})=>{let s=(0,r.useId)(),l=e||`sui-row-${s}`,{suiInlineClassname:c}=br(a,n),u={xs:"",sm:"",md:"",lg:"",xl:"",...t},d=kr("sui-row",{},c);i=_r(i,"{Row children}");for(let e in u)""!==u[e]&&("xs"===e&&"stacked"!==u[e]?d+=` sui-row--${u[e]}`:d+=` sui-row-${e}--${u[e]}`);return Ir(n??"")||(d+=` ${n}`),(0,Fr.jsx)("div",{id:l,className:d,"data-testid":"grid",...Rr(o),children:i})},Qd=({id:e,size:t,children:n,className:i,_htmlProps:o={},_style:a})=>{let s=(0,r.useId)(),l=e||`sui-col-${s}`,{suiInlineClassname:c}=br(a,i),u="object"==typeof t?Object.entries(t).reduce((e,[t,n])=>(n&&("default"===t?e[n]=!0:e[`${t}-${n}`]=!0),e),{}):{[t]:!!t},d=kr("sui-col",{...u},c);return n=_r(n,"{Column children content}"),(0,Fr.jsx)("div",{id:l,className:d,...Rr(o),children:n})};function Yd(){return Yd=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Yd.apply(null,arguments)}var Kd=function(e){var t=e.children,n=e.isFullWidth,i=void 0!==n&&n,r=e.id,a=o().useId(),s=r||"dashboard_container-".concat(a);return o().createElement("div",{id:s,className:"sui-layout--horizontal sui-layout--vertical"},o().createElement("div",Yd({id:"".concat(s,"-content")},i?{}:{className:"sui-layout__content"}),t))};function Xd(e){return Xd="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},Xd(e)}var Jd=["as","color","weight","align","size","children","className","isTruncated","uppercase","onClick","id"];function eh(){return eh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},eh.apply(null,arguments)}function th(e,t,n){return(t=function(e){var t=function(e){if("object"!=Xd(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Xd(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Xd(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var nh=function(e){var t=e.as,n=void 0===t?"p":t,i=e.color,r=void 0===i?"":i,a=e.weight,s=void 0===a?"":a,l=e.align,c=void 0===l?"":l,u=e.size,d=void 0===u?"":u,h=e.children,f=e.className,p=e.isTruncated,m=void 0!==p&&p,g=e.uppercase,b=void 0!==g&&g,v=e.onClick,y=e.id,_=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,Jd),C=o().useId(),w=y||"dashboard_text-".concat(C),x=n,E=kr("dash-sui-text",th(th(th(th(th(th({},"weight-".concat(null!=s?s:""),!Ir(s)),"size-".concat(null!=d?d:""),!Ir(d)),"align-".concat(null!=c?c:""),!Ir(c)),"is-truncated",m),"has-click",v),"uppercase",b),f);return o().createElement(x,eh({id:w,className:E,onClick:v},!!r&&{style:{color:r}},_),h)},ih=function(e){var t=e.name,n=e.indicatorStatus,i=void 0===n?"none":n,r=e.id,a=o().useId(),s=r||"dashboard_plugin_icon-".concat(a),l=function(e){return{"WPMU DEV Dashboard":"dashboard","Forminator Pro":"forminator","Beehive Pro":"beehive","Branda Pro":"branda","Defender Pro":"defender","Hustle Pro":"hustle","Hummingbird Pro":"hummingbird","SmartCrawl Pro":"smartcrawl","Shipper Pro":"shipper","Snapshot Pro":"snapshot","Smush Pro":"smush","Forminator Geolocation Add-on":"forminator","Forminator PDF Generator Add-on":"forminator","Forminator Stripe Subscriptions Add-on":"forminator","The Hub Client":"thc","WPMU DEV Videos":"ivt","Integrated Video Tutorials":"ivt",Smush:"smush",Hummingbird:"hummingbird",Forminator:"forminator","Beehive Analytics":"beehive",Branda:"branda",Defender:"defender",Hustle:"hustle",SmartCrawl:"smartcrawl",Shipper:"shipper",Snapshot:"snapshot",BLC:"blc"}[e]}(t),c=l?null==Lr?void 0:Lr[l]:{icon:"Plugin"},u=null;return c&&(u=null==ml?void 0:ml[c.icon]),o().createElement("div",{id:s,className:"dash-sui-plugin-icon",style:{backgroundColor:null==c?void 0:c.bg,overflow:"visible"}},!!i&&"none"!==i&&o().createElement("div",{className:"dash-sui-plugin-icon__indicator dash-sui-plugin-icon__indicator--".concat(i)}),!!u&&o().createElement(u,{fill:null==c?void 0:c.color}))};function rh(e){return rh="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},rh(e)}var oh=function(e){var t=e.items,n=e.icon,i=void 0===n?o().createElement(fo,{size:"sm"}):n,r=e.verticalAlign,a=void 0===r?"center":r,s=e.id,l=o().useId(),c=s||"dashboard_icon_list-".concat(l),u=kr("dash-sui-plugin-list",function(e,t,n){return(t=function(e){var t=function(e){if("object"!=rh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=rh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"align-".concat(a),"center"!==a));return o().createElement("ul",{id:c,className:u},null==t?void 0:t.map(function(e,t){return o().createElement("li",{key:t},i,e)}))};function ah(e,t){if(e){if("string"==typeof e)return sh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sh(e,t):void 0}}function sh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var lh=function(e){var t,n=e.videoUrl,i=e.imageUrls,a=void 0===i?[]:i,s=e.id,l=o().useId(),c=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||ah(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,r.useState)(0),2),u=c[0],d=c[1],h=n?[n].concat(function(e){return function(e){if(Array.isArray(e))return sh(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||ah(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)):a,f=s||"dashboard_carousell-".concat(l);return o().createElement("div",{id:f,className:"dash-sui-plugin-carousell"},o().createElement("div",{className:"dash-sui-plugin-carousell__main"},0===u&&n?o().createElement("video",{className:"dash-sui-plugin-carousell__video",controls:!0},o().createElement("source",{src:n,type:"video/mp4"}),(0,zn.__)("Your browser does not support the video tag.")):o().createElement("img",{className:"dash-sui-plugin-carousell__image",src:null===(t=h[u])||void 0===t?void 0:t.url,alt:"Slide ".concat(u)})),h&&o().createElement("div",{className:"dash-sui-plugin-carousell__footer"},o().createElement(wl,{iconOnly:!0,icon:"ChevronLeft",onClick:function(){d(function(e){return 0===e?h.length-1:e-1})},className:"dash-sui-plugin-carousell__button-left"}),o().createElement(wl,{iconOnly:!0,icon:"ChevronRight",onClick:function(){d(function(e){return e===h.length-1?0:e+1})},className:"dash-sui-plugin-carousell__button-right"}),h.map(function(e,t){return o().createElement("img",{key:(null==e?void 0:e.url)||t,className:"dash-sui-plugin-carousell__thumbnail ".concat(t===u?"dash-sui-plugin-carousell__thumbnail--active":""),src:null==e?void 0:e.url,alt:null==e?void 0:e.desc,onClick:function(){return d(t)}})})))},ch=n(9067),uh=n.n(ch),dh=["as","children","spacing","justify","alignItems","direction","width","margin","isFluid","className","id"];function hh(){return hh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},hh.apply(null,arguments)}function fh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ph(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?ph(e,t):void 0}}(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 ph(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var mh=function(e){var t=e.as,n=void 0===t?"div":t,i=e.children,r=e.spacing,a=e.justify,s=e.alignItems,l=e.direction,c=void 0===l?"column":l,u=e.width,d=e.margin,h=e.isFluid,f=void 0!==h&&h,p=e.className,m=void 0===p?"":p,g=e.id,b=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,dh),v=o().useId(),y=g||"dashboard_stack-".concat(v),_=br({gap:"".concat(r,"px"),flexDirection:c,justifyContent:a,alignItems:s,width:u,margin:d},kr("dashboard-sui-stack",{"is-fluid":f},m)).suiInlineClassname,C=n;if("ariaAttrs"in b){for(var w=0,x=Object.entries(b.ariaAttrs);w<x.length;w++){var E=fh(x[w],2),S=E[0],k=E[1];b[S]=k}delete b.ariaAttrs}return o().createElement(C,hh({id:y,className:_},b),i)};mh.propTypes={direction:uh().oneOf(["row","row-reverse","column","column-reverse","initial","inherit"]),justify:uh().oneOf(["flex-start","flex-end","center","space-between","space-around","initial","inherit","start","end"]),alignItems:uh().oneOf(["normal","center","stretch","positional","alignment","flex-start","flex-end","baseline","initial","inherit"])};var gh=function(e){var t=e.title,n=void 0===t?"":t,i=e.actions,r=e.isCenter,a=void 0!==r&&r,s=e.children;return o().createElement("div",{className:kr("dashboard-sui-option",{center:a})},!!n&&o().createElement("div",{className:"dashboard-sui-option__title",style:{width:200}},"string"==typeof n?o().createElement("h4",null,n):n),o().createElement("div",{className:"dashboard-sui-option__body"},o().createElement("div",{className:"dashboard-sui-option__body-preview"},s),Boolean(i)&&o().createElement("div",{className:"dashboard-sui-option__body-actions"},i)))},bh=function(e){var t=e.children,n=void 0===t?null:t,i=e.media,r=void 0===i?"":i,a=e.isMediaEmpty,s=void 0!==a&&a,l=e.id,c=o().useId(),u=l||"dashboard_media-".concat(c);return o().createElement("div",{id:u,className:kr("dashboard-sui-media",{"is-media-empty":s})},s?o().createElement("i",{className:"dashboard-sui-icon dashboard-sui-icon-photo-picture","aria-hidden":"true"}):Boolean(r)&&o().createElement("div",{className:"dashboard-sui-media__figure"},r),void 0!==n&&o().createElement("div",{className:"dashboard-sui-media__body"},n))};function vh(e){return vh="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},vh(e)}var yh=["icon","size","color","className","id"];function _h(){return _h=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_h.apply(null,arguments)}var Ch=function(e){var t=e.icon,n=e.size,i=void 0===n?"md":n,r=e.color,a=void 0===r?"":r,s=e.className,l=void 0===s?"":s,c=e.id,u=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,yh),d=o().useId(),h=c||"dashboard_icon-".concat(d),f=null;t&&(f=null==ml?void 0:ml[t]);var p={};return p.className=kr("dashboard-sui-icon",function(e,t,n){return(t=function(e){var t=function(e){if("object"!=vh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=vh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==vh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}({},"color-".concat(null!=a?a:""),!zc(a)),"".concat(l)),o().createElement("i",_h({id:h,"aria-hidden":"true"},p,u),!!f&&o().createElement(f,{size:i}))};function wh(e){return wh="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},wh(e)}function xh(){return xh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},xh.apply(null,arguments)}function Eh(e,t,n){return(t=function(e){var t=function(e){if("object"!=wh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=wh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==wh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Sh=function(e){var t=e.imgUrl,n=e.alt,i=e.className,r=void 0===i?"":i,a=e.isCircle,s=void 0!==a&&a,l=e.size,c=void 0===l?"":l,u=e.icon,d=e.iconColor,h=e.iconType,f=e.hasBorder,p=void 0!==f&&f,m=e.noBorderRadius,g=void 0!==m&&m,b=e.asButton,v=void 0!==b&&b,y=e.onClick,_=void 0===y?function(){}:y,C=kr("dashboard-sui-image_container",Eh({circle:s,"has-border":p,"no-border-radius":g},"size-".concat(null!=c?c:""),!Ir(c))),w={};return v&&(w.role="button",w.onClick=_),o().createElement("div",xh({className:kr("dashboard-sui-image",{"is-button":v},r)},w),o().createElement("div",{className:C,title:n},o().createElement("img",{src:t,alt:n,className:"dashboard-sui-image_src"}),u&&!Ir(u)&&o().createElement("span",{className:kr("dashboard-sui-image_icon",Eh(Eh({},"".concat(d),!Ir(null!=d?d:"")),"".concat(h),!!h))},o().createElement(Ch,{icon:u,size:"md"})),!Ir(n)&&o().createElement("span",{className:"dashboard-sui-image__assistive-text"},n)))},kh=({id:e,isInline:t=!0,children:n,className:i="",isHeader:o=!1,isFooter:a=!1,hasPadding:s=!0,_htmlProps:l={},_style:c={}})=>{let u=(0,r.useId)(),d=e||`sui-box-group-${u}`,{suiInlineClassname:h}=br(c,i),f=r.Children.map(n,(e,t)=>{let{slot:n,children:i,id:o}=e?.props??{};return(e=>"object"==typeof e&&!Array.isArray(e))(e)&&["left","right"].includes(n??"")?(0,Fr.jsx)("div",{id:o||`${d}-slot-${n}`,className:`sui-box-group__slot sui-box-group__${n}`,children:i},`sui-box-group--${t}`):(0,Fr.jsx)(r.Fragment,{children:e},`sui-box-group--${t}`)}),p=kr("sui-box-group",{inline:t,header:o,footer:a,"no-padding":!s},h);return(0,Fr.jsx)("div",{id:d,className:p,"data-testid":"box-group",...Rr(l),children:f})},Oh=({id:e,title:t,description:n,icon:i,hideMobileIcon:o=!1,headerLeft:a,headerRight:s,children:l,isSmall:c=!1,className:u="",style:d={},hasLargeRadius:h=!1,_htmlProps:f={},_style:p})=>{let m=(0,r.useId)(),g=e||`sui-box-${m}`,b=!Ar(t)&&!Ir(t),v=!Ar(i)&&!Ir(i),y=!Ar(a)&&!!a,_=!Ar(s)&&!!s,C=(Ar(n),ml[i]),{suiInlineClassname:w}=br(p,u),x=kr("sui-box",{"size-sm":c,"large-radius":h},w);return l=_r(l),(0,Fr.jsxs)("div",{id:g,className:x,style:d??{},...Rr(f),children:[b&&(0,Fr.jsxs)(kh,{isInline:!0,id:`${g}-header-group`,children:[(0,Fr.jsx)("div",{slot:"left",id:`${g}-header-left`,children:(0,Fr.jsxs)("div",{className:"sui-box__container",id:`${g}-container`,children:[b&&(0,Fr.jsxs)("div",{className:"sui-box__title",id:`${g}-title`,children:[v&&C&&(0,Fr.jsx)("span",{id:`${g}-icon`,className:kr("suicons",{},o?"sui-box-group__item sui-icon--hide-sm":"sui-box-group__item"),"aria-hidden":"true",children:(0,Fr.jsx)(C,{size:"md"})}),(0,Fr.jsx)("h2",{className:"sui-heading sui-heading--h3 sui-box-group__item",id:`${g}-heading`,children:t}),y&&a]}),n&&(0,Fr.jsx)("p",{id:`${g}-description`,children:n})]})}),(0,Fr.jsx)("div",{..._&&{slot:"right"},id:`${g}-header-right`,children:_&&s})]}),l]})},Mh=function(e){var t=e.mediaUrl,n=e.children,i=e.id,r=o().useId(),a=i||"dashboard_splash-".concat(r);return o().createElement("div",{id:a,className:"dashboard-sui-splash__inner"},o().createElement(kh,null,o().createElement(Gd,{align:{md:"inline"}},o().createElement(Qd,{_style:{width:"100%"}},o().createElement("div",{className:"dashboard-sui-splash__figure"},n)),o().createElement(Qd,{_style:{width:"100%"}},o().createElement("div",{className:"dashboard-sui-splash__body"},o().createElement("img",{src:t,alt:(0,zn.__)("Splash image"),className:"dashboard-sui-splash-image"}))))))},Ah=["image/png","image/jpeg","image/jpg"],Ph=e=>Ah.includes(e),jh=e=>URL?.createObjectURL(e)??"",Ih=r.memo(({id:e,file:t,onRemove:n,_style:i={}})=>{let{suiInlineClassname:o}=br(i),[a,s]=(0,r.useState)(),l=()=>{Ph(t?.type)&&s(jh(t))};return(0,r.useEffect)(l,[]),(0,r.useEffect)(l,[t]),(0,Fr.jsxs)("div",{id:e,className:kr("sui-uploader__file",{},o),"data-testid":"uploader-file",children:[(0,Fr.jsx)("div",{id:`${e}-preview`,className:"sui-uploader__file--preview",children:Ph(t?.type)?(0,Fr.jsx)("span",{id:`${e}-image`,role:"img",className:"sui-uploader__file--image",style:{backgroundImage:`url(${a})`}}):(0,Fr.jsx)(Va,{id:`${e}-icon`,size:"sm",className:"sui-uploader__file--icon"})}),(0,Fr.jsx)("span",{id:`${e}-name`,className:"sui-uploader__file--name",children:t?.name}),(0,Fr.jsx)(wl,{id:`${e}-remove`,className:"sui-uploader__file--remove",iconOnly:!0,icon:"Close",onClick:()=>n?.()})]})});Ih.displayName="UploaderFile";var Th=({id:e,btnTitle:t="",allowDragAndDrop:n=!1,onClick:i=()=>{},onDrag:o=()=>{},_style:a={}})=>{let s=(0,r.useId)(),l=e||`sui-uploader-button-${s}`,c=(0,r.useRef)(null),[u]=(({containerRef:e,methods:t})=>{let[n,i]=(0,r.useState)(),[o,a]=(0,r.useState)(!1);return(0,r.useEffect)(()=>{i(e)},[e]),(0,r.useEffect)(()=>{let e=e=>{e.preventDefault(),e.stopPropagation(),a(!0),t?.onDragOver&&t?.onDragOver(e)},i=e=>{e.preventDefault(),e.stopPropagation(),a(!1),t?.onDrop&&t?.onDrop(e)},r=n?.current;return r?.addEventListener("dragover",e,!1),r?.addEventListener("drop",i,!1),()=>{r?.removeEventListener("dragover",e,!1),r?.removeEventListener("drop",i,!1)}},[e,n,t]),[o]})({containerRef:c,methods:{onDrop:e=>{let t=e.dataTransfer;o&&o(t.files)}}});Ir(t??"")&&(t="Upload File");let{suiInlineClassname:d}=br(a);return n?(0,Fr.jsxs)("div",{id:l,tabIndex:0,role:"button",ref:c,className:kr("sui-uploader__pick",{dragging:u}),onClick:i,onKeyDown:e=>Dr(e,i),children:[(0,Fr.jsx)("span",{className:"sui-uploader__pick--icon",children:(0,Fr.jsx)(bs,{size:"sm"})}),(0,Fr.jsx)("span",{className:"sui-uploader__pick--label",children:t})]}):(0,Fr.jsx)(wl,{id:l,className:kr("sui-uploader__button",{},d),type:"primary",colorScheme:"blue",icon:"Upload",onClick:i,children:t})},Dh=({id:e,btnTitle:t="Upload File",multiple:n=!0,accept:i="",allowDragAndDrop:o=!0,defaultFiles:a=[],onChange:s=()=>{},maxSize:l,maxSizeText:c="Message to appear when file size exeeds the max given",ariaAttrs:u={},onClick:d,_htmlProps:h={},_style:f={},...p})=>{let m=Ml(),[g,b]=(0,r.useState)([]),[v,y,_]=wr({}),C=(0,r.useId)(),w=e||`sui-uploader-${C}`;(0,r.useEffect)(()=>{(async()=>{if("array"==typeof a)b(a);else if("string"==typeof a&&!Ir(a)){let e=await(async e=>{try{let t=await fetch(e);if(t.ok){let n=await t.blob();return new File([n],(e=>{let t=String(e).substring(e.lastIndexOf("/")+1);return-1!==t.lastIndexOf(".")&&(t=t.substring(0,t.lastIndexOf("."))),t})(e),{type:n.type})}}catch{return null}return null})(a);b([e])}})()},[a]);let x=(0,r.useRef)(null),E=()=>{x?.current&&(x.current.value="")},S=(0,r.useCallback)(e=>{let t=!1,{files:n}=e?.target??{};n||(n=e);let i=Array.from(n);if(i.forEach(e=>{(e=>!!l&&e.size>l)(e)&&(m.push({message:c,variation:"error",size:"lg",icon:"Warning",timeout:3e3}),t=!0)}),t)return void E();let r=i.map(e=>(Ph(e?.type)&&(e.previewUrl=jh(e)),e)),o=[...g,...r];b(o),s(o)},[g,s]),k=(0,r.useCallback)(()=>{d?d?.():x.current?.click()},[x,d]),O=(0,r.useCallback)(e=>{b(t=>{let n=t.filter((t,n)=>n!==e);return s(n),n}),E()},[s]),{suiInlineClassname:M}=br(f);return(0,Fr.jsxs)(r.Fragment,{children:[(0,Fr.jsx)(Pl,{}),(0,Fr.jsxs)("div",{id:w,className:kr("sui-uploader",{hover:v,focus:y},M),"data-testid":"uploader",...Rr(h),children:[!d&&(0,Fr.jsx)("input",{type:"file",id:`${w}-input`,ref:x,onChange:S,className:"sui-uploader__input sui-accessible-cta sui-hidden",multiple:n,accept:i,...u,..._,...Rr(p)}),(n||!n&&g.length<=0)&&(0,Fr.jsx)(Th,{id:`${w}-button`,btnTitle:t??"",multiple:n??!1,allowDragAndDrop:o??!1,onClick:k,onDrag:S}),!!g&&g.length>0&&(0,Fr.jsx)("div",{className:"sui-uploader__preview",id:`${w}-preview`,children:(0,Fr.jsx)("div",{className:"sui-uploader__files",id:`${w}-files`,children:g?.map((e,t)=>(0,Fr.jsx)(Ih,{id:`${w}-file-${t}`,onRemove:()=>O(t),file:e},t))})})]})]})},Lh=function(e){var t=e.id,n=e.setState,i=e.state,o=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).id,t=yd({slug:"media/".concat(e),baseURL:"wp"}),n=t.data,i=t.isLoading,r=t.isRefetching;return t.refetch,{data:n||{},isLoading:i||r}}({id:t}),a=o.data,s=o.isLoading;return(0,r.useEffect)(function(){var e=(null!=a?a:{}).source_url;s!==(null==i?void 0:i.isLoading)&&e!==(null==i?void 0:i.source_url)&&n({source_url:e,isLoading:s})},[a,s]),React.createElement(r.Fragment,null)};function Nh(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Rh(e,t):void 0}}(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 Rh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Fh=function(e){var t,n=e.thumbId,i=e.setId,a=e.frameTitle,s=void 0===a?(0,zn.__)("Select Image"):a,l=e.frameBtnLabel,c=void 0===l?(0,zn.__)("Use Image"):l,u=e.setUrl,d=Nh((0,r.useState)(""),2),h=d[0],f=d[1],p=Nh((0,r.useState)({}),2),m=p[0],g=p[1],b=m.source_url,v=m.isLoading;return(0,r.useEffect)(function(){f(b),null==u||u(b)},[b]),o().createElement("div",{className:"image-uploader"},!!n&&o().createElement(Lh,{id:n,setState:g,state:m}),v&&o().createElement(bl,{loaderSize:"sm"}),!v&&o().createElement(Dh,{defaultFiles:h,onClick:function(e){var n;null==e||e.preventDefault();var r=null===(n=globalThis.wp)||void 0===n?void 0:n.media;r&&(t||(t=r({title:s,button:{text:c},multiple:!1})).on("select",function(){var e=t.state().get("selection").first().toJSON();f(e.url),i(e.id)}),t.open())},multiple:!1,onChange:function(e){e&&0===e.length&&(f(""),i(""),null==u||u(""))}}))},zh=function(e){var t=e.message,n=e.id,i=o().useId(),r=n||"dashboard_hint-".concat(i);return o().createElement("div",{id:r,className:"dashboard-sui-hint"},o().createElement("div",{className:"dashboard-sui-hint__content"},o().createElement(so,{size:"sm"}),o().createElement("span",null,t)))},Hh=function(e){var t=e.children,n=e.id,i=o().useId(),r=n||"dashboard_button_group-".concat(i);return o().createElement("div",{id:r,className:"dashboard-sui-button-group"},t)},Uh=({id:e,theme:t="primary",as:n="a",className:i="",isInline:o=!1,isDisabled:a=!1,isExternal:s=!1,hasExternalIcon:l=!1,children:c,href:u="#",_htmlProps:d={},_style:h={},...f})=>{let p=(0,r.useId)(),m=e||`sui-link-${p}`,g=n??"a";c=_r(c,"link text");let[b,v,y]=wr({}),{suiInlineClassname:_}=br(h,i),C=kr("sui-link",{inline:o,disabled:a,hover:b,focus:v,[t]:!Ir(t??"")},_),w={...f,id:m,href:u,className:C,"data-testid":"link",...Rr(d)},x=e=>{(e=>{e?.preventDefault()})(e),window.open(u,s?"_blank":"_top")};return"a"!==g?(w.role="link",w.onClick=x,w.onKeyDown=e=>Dr(e,x),delete w.href):s&&(w.target="_blank"),(0,Fr.jsxs)(g,{tabIndex:0,...y,...w,children:[c,l&&s&&(0,Fr.jsx)(ss,{size:"sm"})]})},Vh=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSaveSuccess,n=e.saveSuccessMsg,i="settings",o=yd(i),a=o.data,s=o.isLoading,l=o.refetch,c=o.isRefetching,u=Ml().push,d=(0,r.useCallback)(function(e,t){var n,i;return t?null==a||null===(i=a.data)||void 0===i||null===(i=i[e])||void 0===i?void 0:i[t]:null==a||null===(n=a.data)||void 0===n?void 0:n[e]},[a]),h=Cd({slug:i,onSuccess:function(){u({variation:"success",message:n||(0,zn.__)("Settings updated successfully"),icon:"CheckAlt",_style:{width:"500px",maxWidth:"100%"}}),null==t||t()},onError:function(e){return u({id:"settings-save-error",variation:"warning",message:e.message,isDismissible:!0,icon:"InfoAlt"})}}),f=h.isLoading;return{settings:a,getField:d,save:h,isSaving:f,isLoading:s||c,slug:i,refetch:l}};function $h(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Bh(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Bh(e,t):void 0}}(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 Bh(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Wh=function(e){var t="/auth",n=$u.dashboard_url,i=$h((0,r.useState)(!1),2),o=i[0],a=i[1],s=$h((0,r.useState)(!1),2),l=s[0],c=(s[1],e?{user_api_key:e,auth_nonce:null==Vu?void 0:Vu.auth_nonce}:{}),u=yd("".concat(t,"/teams"),c,!1),d=u.data,h=u.isLoading,f=u.refetch,p=(null!=d?d:{}).data,m=Array.isArray(p)?p:[],g=Cd({slug:"".concat(t,"/logout"),onSuccess:function(){a(!0),window.location.href=n}}),b=Cd({slug:"".concat(t,"/check-updates")}),v=b.isLoading;return{slug:t,teams:m,isLoading:h,refetch:f,logout:g,isLoggingOut:g.isLoading,hasLoggedOut:o,ssoSaved:l,checkUpdates:b,isCheckingUpdates:v}},Zh=["children"];function qh(){return qh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},qh.apply(null,arguments)}var Gh=function(e){var t=e.children,n=function(e,t){if(null==e)return{};var n,i,r=function(e,t){if(null==e)return{};var n={};for(var i in e)if({}.hasOwnProperty.call(e,i)){if(-1!==t.indexOf(i))continue;n[i]=e[i]}return n}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(i=0;i<o.length;i++)n=o[i],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(r[n]=e[n])}return r}(e,Zh),i=$u.dashboard_url,r=(0,Vh().getField)("general","last_run_updates"),a=Wh(),s=a.checkUpdates,l=a.isCheckingUpdates;return o().createElement(mh,qh({direction:"row",justify:"center",margin:"32px 0 0",alignItems:"center"},n),t||o().createElement(nh,{size:"sm"},(0,uu.createInterpolateElement)((0,zn.sprintf)("Last Checked <strong>%s —</strong>",yu(r)),{strong:o().createElement("strong",null)})),o().createElement(wl,{type:"tertiary",colorScheme:"blue",isSmall:!0,onClick:function(e){e.preventDefault(),s.mutate({},{onSuccess:function(e){e.data.is_logged_in?window.location.reload():window.location.href=i}})},isLoading:l,isDisabled:l,_style:{padding:"0",margin:"0"}},o().createElement(Uh,null,(0,zn.__)("Check again"))))};
/*!
* @kurkle/color v0.3.4
* https://github.com/kurkle/color#readme
* (c) 2024 Jukka Kurkela
* Released under the MIT License
*/
function Qh(e){return e+.5|0}const Yh=(e,t,n)=>Math.max(Math.min(e,n),t);function Kh(e){return Yh(Qh(2.55*e),0,255)}function Xh(e){return Yh(Qh(255*e),0,255)}function Jh(e){return Yh(Qh(e/2.55)/100,0,1)}function ef(e){return Yh(Qh(100*e),0,100)}const tf={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,A:10,B:11,C:12,D:13,E:14,F:15,a:10,b:11,c:12,d:13,e:14,f:15},nf=[..."0123456789ABCDEF"],rf=e=>nf[15&e],of=e=>nf[(240&e)>>4]+nf[15&e],af=e=>(240&e)>>4==(15&e);const sf=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function lf(e,t,n){const i=t*Math.min(n,1-n),r=(t,r=(t+e/30)%12)=>n-i*Math.max(Math.min(r-3,9-r,1),-1);return[r(0),r(8),r(4)]}function cf(e,t,n){const i=(i,r=(i+e/60)%6)=>n-n*t*Math.max(Math.min(r,4-r,1),0);return[i(5),i(3),i(1)]}function uf(e,t,n){const i=lf(e,1,.5);let r;for(t+n>1&&(r=1/(t+n),t*=r,n*=r),r=0;r<3;r++)i[r]*=1-t-n,i[r]+=t;return i}function df(e){const t=e.r/255,n=e.g/255,i=e.b/255,r=Math.max(t,n,i),o=Math.min(t,n,i),a=(r+o)/2;let s,l,c;return r!==o&&(c=r-o,l=a>.5?c/(2-r-o):c/(r+o),s=function(e,t,n,i,r){return e===r?(t-n)/i+(t<n?6:0):t===r?(n-e)/i+2:(e-t)/i+4}(t,n,i,c,r),s=60*s+.5),[0|s,l||0,a]}function hf(e,t,n,i){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,i)).map(Xh)}function ff(e,t,n){return hf(lf,e,t,n)}function pf(e){return(e%360+360)%360}const mf={x:"dark",Z:"light",Y:"re",X:"blu",W:"gr",V:"medium",U:"slate",A:"ee",T:"ol",S:"or",B:"ra",C:"lateg",D:"ights",R:"in",Q:"turquois",E:"hi",P:"ro",O:"al",N:"le",M:"de",L:"yello",F:"en",K:"ch",G:"arks",H:"ea",I:"ightg",J:"wh"},gf={OiceXe:"f0f8ff",antiquewEte:"faebd7",aqua:"ffff",aquamarRe:"7fffd4",azuY:"f0ffff",beige:"f5f5dc",bisque:"ffe4c4",black:"0",blanKedOmond:"ffebcd",Xe:"ff",XeviTet:"8a2be2",bPwn:"a52a2a",burlywood:"deb887",caMtXe:"5f9ea0",KartYuse:"7fff00",KocTate:"d2691e",cSO:"ff7f50",cSnflowerXe:"6495ed",cSnsilk:"fff8dc",crimson:"dc143c",cyan:"ffff",xXe:"8b",xcyan:"8b8b",xgTMnPd:"b8860b",xWay:"a9a9a9",xgYF:"6400",xgYy:"a9a9a9",xkhaki:"bdb76b",xmagFta:"8b008b",xTivegYF:"556b2f",xSange:"ff8c00",xScEd:"9932cc",xYd:"8b0000",xsOmon:"e9967a",xsHgYF:"8fbc8f",xUXe:"483d8b",xUWay:"2f4f4f",xUgYy:"2f4f4f",xQe:"ced1",xviTet:"9400d3",dAppRk:"ff1493",dApskyXe:"bfff",dimWay:"696969",dimgYy:"696969",dodgerXe:"1e90ff",fiYbrick:"b22222",flSOwEte:"fffaf0",foYstWAn:"228b22",fuKsia:"ff00ff",gaRsbSo:"dcdcdc",ghostwEte:"f8f8ff",gTd:"ffd700",gTMnPd:"daa520",Way:"808080",gYF:"8000",gYFLw:"adff2f",gYy:"808080",honeyMw:"f0fff0",hotpRk:"ff69b4",RdianYd:"cd5c5c",Rdigo:"4b0082",ivSy:"fffff0",khaki:"f0e68c",lavFMr:"e6e6fa",lavFMrXsh:"fff0f5",lawngYF:"7cfc00",NmoncEffon:"fffacd",ZXe:"add8e6",ZcSO:"f08080",Zcyan:"e0ffff",ZgTMnPdLw:"fafad2",ZWay:"d3d3d3",ZgYF:"90ee90",ZgYy:"d3d3d3",ZpRk:"ffb6c1",ZsOmon:"ffa07a",ZsHgYF:"20b2aa",ZskyXe:"87cefa",ZUWay:"778899",ZUgYy:"778899",ZstAlXe:"b0c4de",ZLw:"ffffe0",lime:"ff00",limegYF:"32cd32",lRF:"faf0e6",magFta:"ff00ff",maPon:"800000",VaquamarRe:"66cdaa",VXe:"cd",VScEd:"ba55d3",VpurpN:"9370db",VsHgYF:"3cb371",VUXe:"7b68ee",VsprRggYF:"fa9a",VQe:"48d1cc",VviTetYd:"c71585",midnightXe:"191970",mRtcYam:"f5fffa",mistyPse:"ffe4e1",moccasR:"ffe4b5",navajowEte:"ffdead",navy:"80",Tdlace:"fdf5e6",Tive:"808000",TivedBb:"6b8e23",Sange:"ffa500",SangeYd:"ff4500",ScEd:"da70d6",pOegTMnPd:"eee8aa",pOegYF:"98fb98",pOeQe:"afeeee",pOeviTetYd:"db7093",papayawEp:"ffefd5",pHKpuff:"ffdab9",peru:"cd853f",pRk:"ffc0cb",plum:"dda0dd",powMrXe:"b0e0e6",purpN:"800080",YbeccapurpN:"663399",Yd:"ff0000",Psybrown:"bc8f8f",PyOXe:"4169e1",saddNbPwn:"8b4513",sOmon:"fa8072",sandybPwn:"f4a460",sHgYF:"2e8b57",sHshell:"fff5ee",siFna:"a0522d",silver:"c0c0c0",skyXe:"87ceeb",UXe:"6a5acd",UWay:"708090",UgYy:"708090",snow:"fffafa",sprRggYF:"ff7f",stAlXe:"4682b4",tan:"d2b48c",teO:"8080",tEstN:"d8bfd8",tomato:"ff6347",Qe:"40e0d0",viTet:"ee82ee",JHt:"f5deb3",wEte:"ffffff",wEtesmoke:"f5f5f5",Lw:"ffff00",LwgYF:"9acd32"};let bf;const vf=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,yf=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,_f=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Cf(e,t,n){if(e){let i=df(e);i[t]=Math.max(0,Math.min(i[t]+i[t]*n,0===t?360:1)),i=ff(i),e.r=i[0],e.g=i[1],e.b=i[2]}}function wf(e,t){return e?Object.assign(t||{},e):e}function xf(e){var t={r:0,g:0,b:0,a:255};return Array.isArray(e)?e.length>=3&&(t={r:e[0],g:e[1],b:e[2],a:255},e.length>3&&(t.a=Xh(e[3]))):(t=wf(e,{r:0,g:0,b:0,a:1})).a=Xh(t.a),t}function Ef(e){return"r"===e.charAt(0)?function(e){const t=vf.exec(e);let n,i,r,o=255;if(t){if(t[7]!==n){const e=+t[7];o=t[8]?Kh(e):Yh(255*e,0,255)}return n=+t[1],i=+t[3],r=+t[5],n=255&(t[2]?Kh(n):Yh(n,0,255)),i=255&(t[4]?Kh(i):Yh(i,0,255)),r=255&(t[6]?Kh(r):Yh(r,0,255)),{r:n,g:i,b:r,a:o}}}(e):function(e){const t=sf.exec(e);let n,i=255;if(!t)return;t[5]!==n&&(i=t[6]?Kh(+t[5]):Xh(+t[5]));const r=pf(+t[2]),o=+t[3]/100,a=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return hf(uf,e,t,n)}(r,o,a):"hsv"===t[1]?function(e,t,n){return hf(cf,e,t,n)}(r,o,a):ff(r,o,a),{r:n[0],g:n[1],b:n[2],a:i}}(e)}class Sf{constructor(e){if(e instanceof Sf)return e;const t=typeof e;let n;var i,r,o;"object"===t?n=xf(e):"string"===t&&(o=(i=e).length,"#"===i[0]&&(4===o||5===o?r={r:255&17*tf[i[1]],g:255&17*tf[i[2]],b:255&17*tf[i[3]],a:5===o?17*tf[i[4]]:255}:7!==o&&9!==o||(r={r:tf[i[1]]<<4|tf[i[2]],g:tf[i[3]]<<4|tf[i[4]],b:tf[i[5]]<<4|tf[i[6]],a:9===o?tf[i[7]]<<4|tf[i[8]]:255})),n=r||function(e){bf||(bf=function(){const e={},t=Object.keys(gf),n=Object.keys(mf);let i,r,o,a,s;for(i=0;i<t.length;i++){for(a=s=t[i],r=0;r<n.length;r++)o=n[r],s=s.replace(o,mf[o]);o=parseInt(gf[a],16),e[s]=[o>>16&255,o>>8&255,255&o]}return e}(),bf.transparent=[0,0,0,0]);const t=bf[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||Ef(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=wf(this._rgb);return e&&(e.a=Jh(e.a)),e}set rgb(e){this._rgb=xf(e)}rgbString(){return this._valid?function(e){return e&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${Jh(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`)}(this._rgb):void 0}hexString(){return this._valid?function(e){var t=(e=>af(e.r)&&af(e.g)&&af(e.b)&&af(e.a))(e)?rf:of;return e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0}(this._rgb):void 0}hslString(){return this._valid?function(e){if(!e)return;const t=df(e),n=t[0],i=ef(t[1]),r=ef(t[2]);return e.a<255?`hsla(${n}, ${i}%, ${r}%, ${Jh(e.a)})`:`hsl(${n}, ${i}%, ${r}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,i=e.rgb;let r;const o=t===r?.5:t,a=2*o-1,s=n.a-i.a,l=((a*s===-1?a:(a+s)/(1+a*s))+1)/2;r=1-l,n.r=255&l*n.r+r*i.r+.5,n.g=255&l*n.g+r*i.g+.5,n.b=255&l*n.b+r*i.b+.5,n.a=o*n.a+(1-o)*i.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const i=_f(Jh(e.r)),r=_f(Jh(e.g)),o=_f(Jh(e.b));return{r:Xh(yf(i+n*(_f(Jh(t.r))-i))),g:Xh(yf(r+n*(_f(Jh(t.g))-r))),b:Xh(yf(o+n*(_f(Jh(t.b))-o))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new Sf(this.rgb)}alpha(e){return this._rgb.a=Xh(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=Qh(.3*e.r+.59*e.g+.11*e.b);return e.r=e.g=e.b=t,this}opaquer(e){return this._rgb.a*=1+e,this}negate(){const e=this._rgb;return e.r=255-e.r,e.g=255-e.g,e.b=255-e.b,this}lighten(e){return Cf(this._rgb,2,e),this}darken(e){return Cf(this._rgb,2,-e),this}saturate(e){return Cf(this._rgb,1,e),this}desaturate(e){return Cf(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=df(e);n[0]=pf(n[0]+t),n=ff(n),e.r=n[0],e.g=n[1],e.b=n[2]}(this._rgb,e),this}}
/*!
* Chart.js v4.5.1
* https://www.chartjs.org
* (c) 2025 Chart.js Contributors
* Released under the MIT License
*/
function kf(){}const Of=(()=>{let e=0;return()=>e++})();function Mf(e){return null==e}function Af(e){if(Array.isArray&&Array.isArray(e))return!0;const t=Object.prototype.toString.call(e);return"[object"===t.slice(0,7)&&"Array]"===t.slice(-6)}function Pf(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function jf(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function If(e,t){return jf(e)?e:t}function Tf(e,t){return void 0===e?t:e}function Df(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function Lf(e,t,n,i){let r,o,a;if(Af(e))if(o=e.length,i)for(r=o-1;r>=0;r--)t.call(n,e[r],r);else for(r=0;r<o;r++)t.call(n,e[r],r);else if(Pf(e))for(a=Object.keys(e),o=a.length,r=0;r<o;r++)t.call(n,e[a[r]],a[r])}function Nf(e,t){let n,i,r,o;if(!e||!t||e.length!==t.length)return!1;for(n=0,i=e.length;n<i;++n)if(r=e[n],o=t[n],r.datasetIndex!==o.datasetIndex||r.index!==o.index)return!1;return!0}function Rf(e){if(Af(e))return e.map(Rf);if(Pf(e)){const t=Object.create(null),n=Object.keys(e),i=n.length;let r=0;for(;r<i;++r)t[n[r]]=Rf(e[n[r]]);return t}return e}function Ff(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function zf(e,t,n,i){if(!Ff(e))return;const r=t[e],o=n[e];Pf(r)&&Pf(o)?Hf(r,o,i):t[e]=Rf(o)}function Hf(e,t,n){const i=Af(t)?t:[t],r=i.length;if(!Pf(e))return e;const o=(n=n||{}).merger||zf;let a;for(let t=0;t<r;++t){if(a=i[t],!Pf(a))continue;const r=Object.keys(a);for(let t=0,i=r.length;t<i;++t)o(r[t],e,a,n)}return e}function Uf(e,t){return Hf(e,t,{merger:Vf})}function Vf(e,t,n){if(!Ff(e))return;const i=t[e],r=n[e];Pf(i)&&Pf(r)?Uf(i,r):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=Rf(r))}const $f={"":e=>e,x:e=>e.x,y:e=>e.y};function Bf(e,t){const n=$f[t]||($f[t]=function(e){const t=function(e){const t=e.split("."),n=[];let i="";for(const e of t)i+=e,i.endsWith("\\")?i=i.slice(0,-1)+".":(n.push(i),i="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function Wf(e){return e.charAt(0).toUpperCase()+e.slice(1)}const Zf=e=>void 0!==e,qf=e=>"function"==typeof e,Gf=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0},Qf=Math.PI,Yf=2*Qf,Kf=Yf+Qf,Xf=Number.POSITIVE_INFINITY,Jf=Qf/180,ep=Qf/2,tp=Qf/4,np=2*Qf/3,ip=Math.log10,rp=Math.sign;function op(e,t,n){return Math.abs(e-t)<n}function ap(e){const t=Math.round(e);e=op(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(ip(e))),i=e/n;return(i<=1?1:i<=2?2:i<=5?5:10)*n}function sp(e){return!function(e){return"symbol"==typeof e||"object"==typeof e&&null!==e&&!(Symbol.toPrimitive in e||"toString"in e||"valueOf"in e)}(e)&&!isNaN(parseFloat(e))&&isFinite(e)}function lp(e){return e*(Qf/180)}function cp(e){if(!jf(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function up(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function dp(e,t){return(e-t+Kf)%Yf-Qf}function hp(e){return(e%Yf+Yf)%Yf}function fp(e,t,n,i){const r=hp(e),o=hp(t),a=hp(n),s=hp(o-r),l=hp(a-r),c=hp(r-o),u=hp(r-a);return r===o||r===a||i&&o===a||s>l&&c<u}function pp(e,t,n){return Math.max(t,Math.min(n,e))}function mp(e,t,n,i=1e-6){return e>=Math.min(t,n)-i&&e<=Math.max(t,n)+i}function gp(e,t,n){n=n||(n=>e[n]<t);let i,r=e.length-1,o=0;for(;r-o>1;)i=o+r>>1,n(i)?o=i:r=i;return{lo:o,hi:r}}const bp=(e,t,n,i)=>gp(e,n,i?i=>{const r=e[i][t];return r<n||r===n&&e[i+1][t]===n}:i=>e[i][t]<n),vp=(e,t,n)=>gp(e,n,i=>e[i][t]>=n),yp=["push","pop","shift","splice","unshift"];function _p(e,t){const n=e._chartjs;if(!n)return;const i=n.listeners,r=i.indexOf(t);-1!==r&&i.splice(r,1),i.length>0||(yp.forEach(t=>{delete e[t]}),delete e._chartjs)}const Cp="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function xp(e,t){let n=[],i=!1;return function(...r){n=r,i||(i=!0,Cp.call(window,()=>{i=!1,e.apply(t,n)}))}}const Ep=e=>"start"===e?"left":"end"===e?"right":"center",Sp=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2,kp=e=>0===e||1===e,Op=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*Yf/n),Mp=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*Yf/n)+1,Ap={linear:e=>e,easeInQuad:e=>e*e,easeOutQuad:e=>-e*(e-2),easeInOutQuad:e=>(e/=.5)<1?.5*e*e:-.5*(--e*(e-2)-1),easeInCubic:e=>e*e*e,easeOutCubic:e=>(e-=1)*e*e+1,easeInOutCubic:e=>(e/=.5)<1?.5*e*e*e:.5*((e-=2)*e*e+2),easeInQuart:e=>e*e*e*e,easeOutQuart:e=>-((e-=1)*e*e*e-1),easeInOutQuart:e=>(e/=.5)<1?.5*e*e*e*e:-.5*((e-=2)*e*e*e-2),easeInQuint:e=>e*e*e*e*e,easeOutQuint:e=>(e-=1)*e*e*e*e+1,easeInOutQuint:e=>(e/=.5)<1?.5*e*e*e*e*e:.5*((e-=2)*e*e*e*e+2),easeInSine:e=>1-Math.cos(e*ep),easeOutSine:e=>Math.sin(e*ep),easeInOutSine:e=>-.5*(Math.cos(Qf*e)-1),easeInExpo:e=>0===e?0:Math.pow(2,10*(e-1)),easeOutExpo:e=>1===e?1:1-Math.pow(2,-10*e),easeInOutExpo:e=>kp(e)?e:e<.5?.5*Math.pow(2,10*(2*e-1)):.5*(2-Math.pow(2,-10*(2*e-1))),easeInCirc:e=>e>=1?e:-(Math.sqrt(1-e*e)-1),easeOutCirc:e=>Math.sqrt(1-(e-=1)*e),easeInOutCirc:e=>(e/=.5)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1),easeInElastic:e=>kp(e)?e:Op(e,.075,.3),easeOutElastic:e=>kp(e)?e:Mp(e,.075,.3),easeInOutElastic(e){const t=.1125;return kp(e)?e:e<.5?.5*Op(2*e,t,.45):.5+.5*Mp(2*e-1,t,.45)},easeInBack(e){const t=1.70158;return e*e*((t+1)*e-t)},easeOutBack(e){const t=1.70158;return(e-=1)*e*((t+1)*e+t)+1},easeInOutBack(e){let t=1.70158;return(e/=.5)<1?e*e*((1+(t*=1.525))*e-t)*.5:.5*((e-=2)*e*((1+(t*=1.525))*e+t)+2)},easeInBounce:e=>1-Ap.easeOutBounce(1-e),easeOutBounce(e){const t=7.5625,n=2.75;return e<1/n?t*e*e:e<2/n?t*(e-=1.5/n)*e+.75:e<2.5/n?t*(e-=2.25/n)*e+.9375:t*(e-=2.625/n)*e+.984375},easeInOutBounce:e=>e<.5?.5*Ap.easeInBounce(2*e):.5*Ap.easeOutBounce(2*e-1)+.5};function Pp(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function jp(e){return Pp(e)?e:new Sf(e)}function Ip(e){return Pp(e)?e:new Sf(e).saturate(.5).darken(.1).hexString()}const Tp=["x","y","borderWidth","radius","tension"],Dp=["color","borderColor","backgroundColor"],Lp=new Map;function Np(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let i=Lp.get(n);return i||(i=new Intl.NumberFormat(e,t),Lp.set(n,i)),i}(t,n).format(e)}const Rp={values(e){return Af(e)?e:""+e},numeric(e,t,n){if(0===e)return"0";const i=this.chart.options.locale;let r,o=e;if(n.length>1){const t=Math.max(Math.abs(n[0].value),Math.abs(n[n.length-1].value));(t<1e-4||t>1e15)&&(r="scientific"),o=function(e,t){let n=t.length>3?t[2].value-t[1].value:t[1].value-t[0].value;return Math.abs(n)>=1&&e!==Math.floor(e)&&(n=e-Math.floor(e)),n}(e,n)}const a=ip(Math.abs(o)),s=isNaN(a)?1:Math.max(Math.min(-1*Math.floor(a),20),0),l={notation:r,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),Np(e,i,l)},logarithmic(e,t,n){if(0===e)return"0";const i=n[t].significand||e/Math.pow(10,Math.floor(ip(e)));return[1,2,3,5,10,15].includes(i)||t>.8*n.length?Rp.numeric.call(this,e,t,n):""}};var Fp={formatters:Rp};const zp=Object.create(null),Hp=Object.create(null);function Up(e,t){if(!t)return e;const n=t.split(".");for(let t=0,i=n.length;t<i;++t){const i=n[t];e=e[i]||(e[i]=Object.create(null))}return e}function Vp(e,t,n){return"string"==typeof t?Hf(Up(e,t),n):Hf(Up(e,""),t)}class $p{constructor(e,t){this.animation=void 0,this.backgroundColor="rgba(0,0,0,0.1)",this.borderColor="rgba(0,0,0,0.1)",this.color="#666",this.datasets={},this.devicePixelRatio=e=>e.chart.platform.getDevicePixelRatio(),this.elements={},this.events=["mousemove","mouseout","click","touchstart","touchmove"],this.font={family:"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif",size:12,style:"normal",lineHeight:1.2,weight:null},this.hover={},this.hoverBackgroundColor=(e,t)=>Ip(t.backgroundColor),this.hoverBorderColor=(e,t)=>Ip(t.borderColor),this.hoverColor=(e,t)=>Ip(t.color),this.indexAxis="x",this.interaction={mode:"nearest",intersect:!0,includeInvisible:!1},this.maintainAspectRatio=!0,this.onHover=null,this.onClick=null,this.parsing=!0,this.plugins={},this.responsive=!0,this.scale=void 0,this.scales={},this.showLine=!0,this.drawActiveElementsOnTop=!0,this.describe(e),this.apply(t)}set(e,t){return Vp(this,e,t)}get(e){return Up(this,e)}describe(e,t){return Vp(Hp,e,t)}override(e,t){return Vp(zp,e,t)}route(e,t,n,i){const r=Up(this,e),o=Up(this,n),a="_"+t;Object.defineProperties(r,{[a]:{value:r[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[a],t=o[i];return Pf(e)?Object.assign({},t,e):Tf(e,t)},set(e){this[a]=e}}})}apply(e){e.forEach(e=>e(this))}}var Bp=new $p({_scriptable:e=>!e.startsWith("on"),_indexable:e=>"events"!==e,hover:{_fallback:"interaction"},interaction:{_scriptable:!1,_indexable:!1}},[function(e){e.set("animation",{delay:void 0,duration:1e3,easing:"easeOutQuart",fn:void 0,from:void 0,loop:void 0,to:void 0,type:void 0}),e.describe("animation",{_fallback:!1,_indexable:!1,_scriptable:e=>"onProgress"!==e&&"onComplete"!==e&&"fn"!==e}),e.set("animations",{colors:{type:"color",properties:Dp},numbers:{type:"number",properties:Tp}}),e.describe("animations",{_fallback:"animation"}),e.set("transitions",{active:{animation:{duration:400}},resize:{animation:{duration:0}},show:{animations:{colors:{from:"transparent"},visible:{type:"boolean",duration:0}}},hide:{animations:{colors:{to:"transparent"},visible:{type:"boolean",easing:"linear",fn:e=>0|e}}}})},function(e){e.set("layout",{autoPadding:!0,padding:{top:0,right:0,bottom:0,left:0}})},function(e){e.set("scale",{display:!0,offset:!1,reverse:!1,beginAtZero:!1,bounds:"ticks",clip:!0,grace:0,grid:{display:!0,lineWidth:1,drawOnChartArea:!0,drawTicks:!0,tickLength:8,tickWidth:(e,t)=>t.lineWidth,tickColor:(e,t)=>t.color,offset:!1},border:{display:!0,dash:[],dashOffset:0,width:1},title:{display:!1,text:"",padding:{top:4,bottom:4}},ticks:{minRotation:0,maxRotation:50,mirror:!1,textStrokeWidth:0,textStrokeColor:"",padding:3,display:!0,autoSkip:!0,autoSkipPadding:3,labelOffset:0,callback:Fp.formatters.values,minor:{},major:{},align:"center",crossAlign:"near",showLabelBackdrop:!1,backdropColor:"rgba(255, 255, 255, 0.75)",backdropPadding:2}}),e.route("scale.ticks","color","","color"),e.route("scale.grid","color","","borderColor"),e.route("scale.border","color","","borderColor"),e.route("scale.title","color","","color"),e.describe("scale",{_fallback:!1,_scriptable:e=>!e.startsWith("before")&&!e.startsWith("after")&&"callback"!==e&&"parser"!==e,_indexable:e=>"borderDash"!==e&&"tickBorderDash"!==e&&"dash"!==e}),e.describe("scales",{_fallback:"scale"}),e.describe("scale.ticks",{_scriptable:e=>"backdropPadding"!==e&&"callback"!==e,_indexable:e=>"backdropPadding"!==e})}]);function Wp(e,t,n,i,r){let o=t[r];return o||(o=t[r]=e.measureText(r).width,n.push(r)),o>i&&(i=o),i}function Zp(e,t,n){const i=e.currentDevicePixelRatio,r=0!==n?Math.max(n/2,.5):0;return Math.round((t-r)*i)/i+r}function qp(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function Gp(e,t,n,i){Qp(e,t,n,i,null)}function Qp(e,t,n,i,r){let o,a,s,l,c,u,d,h;const f=t.pointStyle,p=t.rotation,m=t.radius;let g=(p||0)*Jf;if(f&&"object"==typeof f&&(o=f.toString(),"[object HTMLImageElement]"===o||"[object HTMLCanvasElement]"===o))return e.save(),e.translate(n,i),e.rotate(g),e.drawImage(f,-f.width/2,-f.height/2,f.width,f.height),void e.restore();if(!(isNaN(m)||m<=0)){switch(e.beginPath(),f){default:r?e.ellipse(n,i,r/2,m,0,0,Yf):e.arc(n,i,m,0,Yf),e.closePath();break;case"triangle":u=r?r/2:m,e.moveTo(n+Math.sin(g)*u,i-Math.cos(g)*m),g+=np,e.lineTo(n+Math.sin(g)*u,i-Math.cos(g)*m),g+=np,e.lineTo(n+Math.sin(g)*u,i-Math.cos(g)*m),e.closePath();break;case"rectRounded":c=.516*m,l=m-c,a=Math.cos(g+tp)*l,d=Math.cos(g+tp)*(r?r/2-c:l),s=Math.sin(g+tp)*l,h=Math.sin(g+tp)*(r?r/2-c:l),e.arc(n-d,i-s,c,g-Qf,g-ep),e.arc(n+h,i-a,c,g-ep,g),e.arc(n+d,i+s,c,g,g+ep),e.arc(n-h,i+a,c,g+ep,g+Qf),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*m,u=r?r/2:l,e.rect(n-u,i-l,2*u,2*l);break}g+=tp;case"rectRot":d=Math.cos(g)*(r?r/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(n-d,i-s),e.lineTo(n+h,i-a),e.lineTo(n+d,i+s),e.lineTo(n-h,i+a),e.closePath();break;case"crossRot":g+=tp;case"cross":d=Math.cos(g)*(r?r/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(n-d,i-s),e.lineTo(n+d,i+s),e.moveTo(n+h,i-a),e.lineTo(n-h,i+a);break;case"star":d=Math.cos(g)*(r?r/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(n-d,i-s),e.lineTo(n+d,i+s),e.moveTo(n+h,i-a),e.lineTo(n-h,i+a),g+=tp,d=Math.cos(g)*(r?r/2:m),a=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(r?r/2:m),e.moveTo(n-d,i-s),e.lineTo(n+d,i+s),e.moveTo(n+h,i-a),e.lineTo(n-h,i+a);break;case"line":a=r?r/2:Math.cos(g)*m,s=Math.sin(g)*m,e.moveTo(n-a,i-s),e.lineTo(n+a,i+s);break;case"dash":e.moveTo(n,i),e.lineTo(n+Math.cos(g)*(r?r/2:m),i+Math.sin(g)*m);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function Yp(e,t,n){return n=n||.5,!t||e&&e.x>t.left-n&&e.x<t.right+n&&e.y>t.top-n&&e.y<t.bottom+n}function Kp(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function Xp(e){e.restore()}function Jp(e,t,n,i,r){if(!t)return e.lineTo(n.x,n.y);if("middle"===r){const i=(t.x+n.x)/2;e.lineTo(i,t.y),e.lineTo(i,n.y)}else"after"===r!=!!i?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function em(e,t,n,i){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(i?t.cp1x:t.cp2x,i?t.cp1y:t.cp2y,i?n.cp2x:n.cp1x,i?n.cp2y:n.cp1y,n.x,n.y)}function tm(e,t,n,i,r){if(r.strikethrough||r.underline){const o=e.measureText(i),a=t-o.actualBoundingBoxLeft,s=t+o.actualBoundingBoxRight,l=n-o.actualBoundingBoxAscent,c=n+o.actualBoundingBoxDescent,u=r.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=r.decorationWidth||2,e.moveTo(a,u),e.lineTo(s,u),e.stroke()}}function nm(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function im(e,t,n,i,r,o={}){const a=Af(t)?t:[t],s=o.strokeWidth>0&&""!==o.strokeColor;let l,c;for(e.save(),e.font=r.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Mf(t.rotation)||e.rotate(t.rotation),t.color&&(e.fillStyle=t.color),t.textAlign&&(e.textAlign=t.textAlign),t.textBaseline&&(e.textBaseline=t.textBaseline)}(e,o),l=0;l<a.length;++l)c=a[l],o.backdrop&&nm(e,o.backdrop),s&&(o.strokeColor&&(e.strokeStyle=o.strokeColor),Mf(o.strokeWidth)||(e.lineWidth=o.strokeWidth),e.strokeText(c,n,i,o.maxWidth)),e.fillText(c,n,i,o.maxWidth),tm(e,n,i,c,o),i+=Number(r.lineHeight);e.restore()}function rm(e,t){const{x:n,y:i,w:r,h:o,radius:a}=t;e.arc(n+a.topLeft,i+a.topLeft,a.topLeft,1.5*Qf,Qf,!0),e.lineTo(n,i+o-a.bottomLeft),e.arc(n+a.bottomLeft,i+o-a.bottomLeft,a.bottomLeft,Qf,ep,!0),e.lineTo(n+r-a.bottomRight,i+o),e.arc(n+r-a.bottomRight,i+o-a.bottomRight,a.bottomRight,ep,0,!0),e.lineTo(n+r,i+a.topRight),e.arc(n+r-a.topRight,i+a.topRight,a.topRight,0,-ep,!0),e.lineTo(n+a.topLeft,i)}const om=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,am=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function sm(e,t){const n=(""+e).match(om);if(!n||"normal"===n[1])return 1.2*t;switch(e=+n[2],n[3]){case"px":return e;case"%":e/=100}return t*e}const lm=e=>+e||0;function cm(e,t){const n={},i=Pf(t),r=i?Object.keys(t):t,o=Pf(e)?i?n=>Tf(e[n],e[t[n]]):t=>e[t]:()=>e;for(const e of r)n[e]=lm(o(e));return n}function um(e){return cm(e,["topLeft","topRight","bottomLeft","bottomRight"])}function dm(e){const t=function(e){return cm(e,{top:"y",right:"x",bottom:"y",left:"x"})}(e);return t.width=t.left+t.right,t.height=t.top+t.bottom,t}function hm(e,t){e=e||{},t=t||Bp.font;let n=Tf(e.size,t.size);"string"==typeof n&&(n=parseInt(n,10));let i=Tf(e.style,t.style);i&&!(""+i).match(am)&&(console.warn('Invalid font style specified: "'+i+'"'),i=void 0);const r={family:Tf(e.family,t.family),lineHeight:sm(Tf(e.lineHeight,t.lineHeight),n),size:n,style:i,weight:Tf(e.weight,t.weight),string:""};return r.string=function(e){return!e||Mf(e.size)||Mf(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(r),r}function fm(e,t,n,i){let r,o,a,s=!0;for(r=0,o=e.length;r<o;++r)if(a=e[r],void 0!==a&&(void 0!==t&&"function"==typeof a&&(a=a(t),s=!1),void 0!==n&&Af(a)&&(a=a[n%a.length],s=!1),void 0!==a))return i&&!s&&(i.cacheable=!1),a}function pm(e,t){return Object.assign(Object.create(e),t)}function mm(e,t=[""],n,i,r=()=>e[0]){const o=n||e;void 0===i&&(i=km("_fallback",e));const a={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:o,_fallback:i,_getTarget:r,override:n=>mm([n,...e],t,o,i)};return new Proxy(a,{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,i){return _m(n,i,()=>function(e,t,n,i){let r;for(const o of t)if(r=km(vm(o,e),n),void 0!==r)return ym(e,r)?Em(n,i,e,r):r}(i,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return Om(e).includes(t)},ownKeys(e){return Om(e)},set(e,t,n){const i=e._storage||(e._storage=r());return e[t]=i[t]=n,delete e._keys,!0}})}function gm(e,t,n,i){const r={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:bm(e,i),setContext:t=>gm(e,t,n,i),override:r=>gm(e.override(r),t,n,i)};return new Proxy(r,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return _m(e,t,()=>function(e,t,n){const{_proxy:i,_context:r,_subProxy:o,_descriptors:a}=e;let s=i[t];return qf(s)&&a.isScriptable(t)&&(s=function(e,t,n,i){const{_proxy:r,_context:o,_subProxy:a,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(o,a||i);return s.delete(e),ym(e,l)&&(l=Em(r._scopes,r,e,l)),l}(t,s,e,n)),Af(s)&&s.length&&(s=function(e,t,n,i){const{_proxy:r,_context:o,_subProxy:a,_descriptors:s}=n;if(void 0!==o.index&&i(e))return t[o.index%t.length];if(Pf(t[0])){const n=t,i=r._scopes.filter(e=>e!==n);t=[];for(const l of n){const n=Em(i,r,e,l);t.push(gm(n,o,a&&a[e],s))}}return t}(t,s,e,a.isIndexable)),ym(t,s)&&(s=gm(s,r,o&&o[t],a)),s}(e,t,n))},getOwnPropertyDescriptor(t,n){return t._descriptors.allKeys?Reflect.has(e,n)?{enumerable:!0,configurable:!0}:void 0:Reflect.getOwnPropertyDescriptor(e,n)},getPrototypeOf(){return Reflect.getPrototypeOf(e)},has(t,n){return Reflect.has(e,n)},ownKeys(){return Reflect.ownKeys(e)},set(t,n,i){return e[n]=i,delete t[n],!0}})}function bm(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:i=t.indexable,_allKeys:r=t.allKeys}=e;return{allKeys:r,scriptable:n,indexable:i,isScriptable:qf(n)?n:()=>n,isIndexable:qf(i)?i:()=>i}}const vm=(e,t)=>e?e+Wf(t):t,ym=(e,t)=>Pf(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function _m(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const i=n();return e[t]=i,i}function Cm(e,t,n){return qf(e)?e(t,n):e}const wm=(e,t)=>!0===e?t:"string"==typeof e?Bf(t,e):void 0;function xm(e,t,n,i,r){for(const o of t){const t=wm(n,o);if(t){e.add(t);const o=Cm(t._fallback,n,r);if(void 0!==o&&o!==n&&o!==i)return o}else if(!1===t&&void 0!==i&&n!==i)return null}return!1}function Em(e,t,n,i){const r=t._rootScopes,o=Cm(t._fallback,n,i),a=[...e,...r],s=new Set;s.add(i);let l=Sm(s,a,n,o||n,i);return null!==l&&(void 0===o||o===n||(l=Sm(s,a,o,l,i),null!==l))&&mm(Array.from(s),[""],r,o,()=>function(e,t,n){const i=e._getTarget();t in i||(i[t]={});const r=i[t];return Af(r)&&Pf(n)?n:r||{}}(t,n,i))}function Sm(e,t,n,i,r){for(;n;)n=xm(e,t,n,i,r);return n}function km(e,t){for(const n of t){if(!n)continue;const t=n[e];if(void 0!==t)return t}}function Om(e){let t=e._keys;return t||(t=e._keys=function(e){const t=new Set;for(const n of e)for(const e of Object.keys(n).filter(e=>!e.startsWith("_")))t.add(e);return Array.from(t)}(e._scopes)),t}const Mm=Number.EPSILON||1e-14,Am=(e,t)=>t<e.length&&!e[t].skip&&e[t],Pm=e=>"x"===e?"y":"x";function jm(e,t,n,i){const r=e.skip?t:e,o=t,a=n.skip?t:n,s=up(o,r),l=up(a,o);let c=s/(s+l),u=l/(s+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=i*c,h=i*u;return{previous:{x:o.x-d*(a.x-r.x),y:o.y-d*(a.y-r.y)},next:{x:o.x+h*(a.x-r.x),y:o.y+h*(a.y-r.y)}}}function Im(e,t,n){return Math.max(Math.min(e,n),t)}function Tm(e,t,n,i,r){let o,a,s,l;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),"monotone"===t.cubicInterpolationMode)!function(e,t="x"){const n=Pm(t),i=e.length,r=Array(i).fill(0),o=Array(i);let a,s,l,c=Am(e,0);for(a=0;a<i;++a)if(s=l,l=c,c=Am(e,a+1),l){if(c){const e=c[t]-l[t];r[a]=0!==e?(c[n]-l[n])/e:0}o[a]=s?c?rp(r[a-1])!==rp(r[a])?0:(r[a-1]+r[a])/2:r[a-1]:r[a]}!function(e,t,n){const i=e.length;let r,o,a,s,l,c=Am(e,0);for(let u=0;u<i-1;++u)l=c,c=Am(e,u+1),l&&c&&(op(t[u],0,Mm)?n[u]=n[u+1]=0:(r=n[u]/t[u],o=n[u+1]/t[u],s=Math.pow(r,2)+Math.pow(o,2),s<=9||(a=3/Math.sqrt(s),n[u]=r*a*t[u],n[u+1]=o*a*t[u])))}(e,r,o),function(e,t,n="x"){const i=Pm(n),r=e.length;let o,a,s,l=Am(e,0);for(let c=0;c<r;++c){if(a=s,s=l,l=Am(e,c+1),!s)continue;const r=s[n],u=s[i];a&&(o=(r-a[n])/3,s[`cp1${n}`]=r-o,s[`cp1${i}`]=u-o*t[c]),l&&(o=(l[n]-r)/3,s[`cp2${n}`]=r+o,s[`cp2${i}`]=u+o*t[c])}}(e,o,t)}(e,r);else{let n=i?e[e.length-1]:e[0];for(o=0,a=e.length;o<a;++o)s=e[o],l=jm(n,s,e[Math.min(o+1,a-(i?0:1))%a],t.tension),s.cp1x=l.previous.x,s.cp1y=l.previous.y,s.cp2x=l.next.x,s.cp2y=l.next.y,n=s}t.capBezierPoints&&function(e,t){let n,i,r,o,a,s=Yp(e[0],t);for(n=0,i=e.length;n<i;++n)a=o,o=s,s=n<i-1&&Yp(e[n+1],t),o&&(r=e[n],a&&(r.cp1x=Im(r.cp1x,t.left,t.right),r.cp1y=Im(r.cp1y,t.top,t.bottom)),s&&(r.cp2x=Im(r.cp2x,t.left,t.right),r.cp2y=Im(r.cp2y,t.top,t.bottom)))}(e,n)}function Dm(){return"undefined"!=typeof window&&"undefined"!=typeof document}function Lm(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function Nm(e,t,n){let i;return"string"==typeof e?(i=parseInt(e,10),-1!==e.indexOf("%")&&(i=i/100*t.parentNode[n])):i=e,i}const Rm=e=>e.ownerDocument.defaultView.getComputedStyle(e,null),Fm=["top","right","bottom","left"];function zm(e,t,n){const i={};n=n?"-"+n:"";for(let r=0;r<4;r++){const o=Fm[r];i[o]=parseFloat(e[t+"-"+o+n])||0}return i.width=i.left+i.right,i.height=i.top+i.bottom,i}function Hm(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:i}=t,r=Rm(n),o="border-box"===r.boxSizing,a=zm(r,"padding"),s=zm(r,"border","width"),{x:l,y:c,box:u}=function(e,t){const n=e.touches,i=n&&n.length?n[0]:e,{offsetX:r,offsetY:o}=i;let a,s,l=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(r,o,e.target))a=r,s=o;else{const e=t.getBoundingClientRect();a=i.clientX-e.left,s=i.clientY-e.top,l=!0}return{x:a,y:s,box:l}}(e,n),d=a.left+(u&&s.left),h=a.top+(u&&s.top);let{width:f,height:p}=t;return o&&(f-=a.width+s.width,p-=a.height+s.height),{x:Math.round((l-d)/f*n.width/i),y:Math.round((c-h)/p*n.height/i)}}const Um=e=>Math.round(10*e)/10;function Vm(e,t,n){const i=t||1,r=Um(e.height*i),o=Um(e.width*i);e.height=Um(e.height),e.width=Um(e.width);const a=e.canvas;return a.style&&(n||!a.style.height&&!a.style.width)&&(a.style.height=`${e.height}px`,a.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==i||a.height!==r||a.width!==o)&&(e.currentDevicePixelRatio=i,a.height=r,a.width=o,e.ctx.setTransform(i,0,0,i,0,0),!0)}const $m=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Dm()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function Bm(e,t){const n=function(e,t){return Rm(e).getPropertyValue(t)}(e,t),i=n&&n.match(/^(\d+)(\.\d+)?px$/);return i?+i[1]:void 0}function Wm(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function Zm(e,t,n,i){return{x:e.x+n*(t.x-e.x),y:"middle"===i?n<.5?e.y:t.y:"after"===i?n<1?e.y:t.y:n>0?t.y:e.y}}function qm(e,t,n,i){const r={x:e.cp2x,y:e.cp2y},o={x:t.cp1x,y:t.cp1y},a=Wm(e,r,n),s=Wm(r,o,n),l=Wm(o,t,n),c=Wm(a,s,n),u=Wm(s,l,n);return Wm(c,u,n)}function Gm(e,t,n){return e?function(e,t){return{x(n){return e+e+t-n},setWidth(e){t=e},textAlign(e){return"center"===e?e:"right"===e?"left":"right"},xPlus(e,t){return e-t},leftForLtr(e,t){return e-t}}}(t,n):{x(e){return e},setWidth(e){},textAlign(e){return e},xPlus(e,t){return e+t},leftForLtr(e,t){return e}}}function Qm(e,t){let n,i;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,i=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=i)}function Ym(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function Km(e){return"angle"===e?{between:fp,compare:dp,normalize:hp}:{between:mp,compare:(e,t)=>e-t,normalize:e=>e}}function Xm({start:e,end:t,count:n,loop:i,style:r}){return{start:e%n,end:t%n,loop:i&&(t-e+1)%n==0,style:r}}function Jm(e,t,n){if(!n)return[e];const{property:i,start:r,end:o}=n,a=t.length,{compare:s,between:l,normalize:c}=Km(i),{start:u,end:d,loop:h,style:f}=function(e,t,n){const{property:i,start:r,end:o}=n,{between:a,normalize:s}=Km(i),l=t.length;let c,u,{start:d,end:h,loop:f}=e;if(f){for(d+=l,h+=l,c=0,u=l;c<u&&a(s(t[d%l][i]),r,o);++c)d--,h--;d%=l,h%=l}return h<d&&(h+=l),{start:d,end:h,loop:f,style:e.style}}(e,t,n),p=[];let m,g,b,v=!1,y=null;const _=()=>v||l(r,b,m)&&0!==s(r,b),C=()=>!v||0===s(o,m)||l(o,b,m);for(let e=u,n=u;e<=d;++e)g=t[e%a],g.skip||(m=c(g[i]),m!==b&&(v=l(m,r,o),null===y&&_()&&(y=0===s(m,r)?e:n),null!==y&&C()&&(p.push(Xm({start:y,end:e,loop:h,count:a,style:f})),y=null),n=e,b=m));return null!==y&&p.push(Xm({start:y,end:d,loop:h,count:a,style:f})),p}function eg(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function tg(e,t){if(!t)return!1;const n=[],i=function(e,t){return Pp(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,i)!==JSON.stringify(t,i)}function ng(e,t,n){return e.options.clip?e[n]:t[n]}
/*!
* Chart.js v4.5.1
* https://www.chartjs.org
* (c) 2025 Chart.js Contributors
* Released under the MIT License
*/
class ig{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,i){const r=t.listeners[i],o=t.duration;r.forEach(i=>i({chart:e,initial:t.initial,numSteps:o,currentStep:Math.min(n-t.start,o)}))}_refresh(){this._request||(this._running=!0,this._request=Cp.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,i)=>{if(!n.running||!n.items.length)return;const r=n.items;let o,a=r.length-1,s=!1;for(;a>=0;--a)o=r[a],o._active?(o._total>n.duration&&(n.duration=o._total),o.tick(e),s=!0):(r[a]=r[r.length-1],r.pop());s&&(i.draw(),this._notify(i,n,e,"progress")),r.length||(n.running=!1,this._notify(i,n,e,"complete"),n.initial=!1),t+=r.length}),this._lastDate=e,0===t&&(this._running=!1)}_getAnims(e){const t=this._charts;let n=t.get(e);return n||(n={running:!1,initial:!0,items:[],listeners:{complete:[],progress:[]}},t.set(e,n)),n}listen(e,t,n){this._getAnims(e).listeners[t].push(n)}add(e,t){t&&t.length&&this._getAnims(e).items.push(...t)}has(e){return this._getAnims(e).items.length>0}start(e){const t=this._charts.get(e);t&&(t.running=!0,t.start=Date.now(),t.duration=t.items.reduce((e,t)=>Math.max(e,t._duration),0),this._refresh())}running(e){if(!this._running)return!1;const t=this._charts.get(e);return!!(t&&t.running&&t.items.length)}stop(e){const t=this._charts.get(e);if(!t||!t.items.length)return;const n=t.items;let i=n.length-1;for(;i>=0;--i)n[i].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var rg=new ig;const og="transparent",ag={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const i=jp(e||og),r=i.valid&&jp(t||og);return r&&r.valid?r.mix(i,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class sg{constructor(e,t,n,i){const r=t[n];i=fm([e.to,i,r,e.from]);const o=fm([e.from,r,i]);this._active=!0,this._fn=e.fn||ag[e.type||typeof o],this._easing=Ap[e.easing]||Ap.linear,this._start=Math.floor(Date.now()+(e.delay||0)),this._duration=this._total=Math.floor(e.duration),this._loop=!!e.loop,this._target=t,this._prop=n,this._from=o,this._to=i,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const i=this._target[this._prop],r=n-this._start,o=this._duration-r;this._start=n,this._duration=Math.floor(Math.max(o,e.duration)),this._total+=r,this._loop=!!e.loop,this._to=fm([e.to,t,i,e.from]),this._from=fm([e.from,i,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,i=this._prop,r=this._from,o=this._loop,a=this._to;let s;if(this._active=r!==a&&(o||t<n),!this._active)return this._target[i]=a,void this._notify(!0);t<0?this._target[i]=r:(s=t/n%2,s=o&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[i]=this._fn(r,a,s))}wait(){const e=this._promises||(this._promises=[]);return new Promise((t,n)=>{e.push({res:t,rej:n})})}_notify(e){const t=e?"res":"rej",n=this._promises||[];for(let e=0;e<n.length;e++)n[e][t]()}}class lg{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!Pf(e))return;const t=Object.keys(Bp.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(i=>{const r=e[i];if(!Pf(r))return;const o={};for(const e of t)o[e]=r[e];(Af(r.properties)&&r.properties||[i]).forEach(e=>{e!==i&&n.has(e)||n.set(e,o)})})}_animateOptions(e,t){const n=t.options,i=function(e,t){if(!t)return;let n=e.options;if(n)return n.$shared&&(e.options=n=Object.assign({},n,{$shared:!1,$animations:{}})),n;e.options=t}(e,n);if(!i)return[];const r=this._createAnimations(i,n);return n.$shared&&function(e,t){const n=[],i=Object.keys(t);for(let t=0;t<i.length;t++){const r=e[i[t]];r&&r.active()&&n.push(r.wait())}return Promise.all(n)}(e.options.$animations,n).then(()=>{e.options=n},()=>{}),r}_createAnimations(e,t){const n=this._properties,i=[],r=e.$animations||(e.$animations={}),o=Object.keys(t),a=Date.now();let s;for(s=o.length-1;s>=0;--s){const l=o[s];if("$"===l.charAt(0))continue;if("options"===l){i.push(...this._animateOptions(e,t));continue}const c=t[l];let u=r[l];const d=n.get(l);if(u){if(d&&u.active()){u.update(d,c,a);continue}u.cancel()}d&&d.duration?(r[l]=u=new sg(d,e,l,c),i.push(u)):e[l]=c}return i}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(rg.add(this._chart,n),!0):void 0}}function cg(e,t){const n=e&&e.options||{},i=n.reverse,r=void 0===n.min?t:0,o=void 0===n.max?t:0;return{start:i?o:r,end:i?r:o}}function ug(e,t){const n=[],i=e._getSortedDatasetMetas(t);let r,o;for(r=0,o=i.length;r<o;++r)n.push(i[r].index);return n}function dg(e,t,n,i={}){const r=e.keys,o="single"===i.mode;let a,s,l,c;if(null===t)return;let u=!1;for(a=0,s=r.length;a<s;++a){if(l=+r[a],l===n){if(u=!0,i.all)continue;break}c=e.values[l],jf(c)&&(o||0===t||rp(t)===rp(c))&&(t+=c)}return u||i.all?t:0}function hg(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function fg(e,t,n){const i=e[t]||(e[t]={});return i[n]||(i[n]={})}function pg(e,t,n,i){for(const r of t.getMatchingVisibleMetas(i).reverse()){const t=e[r.index];if(n&&t>0||!n&&t<0)return r.index}return null}function mg(e,t){const{chart:n,_cachedMeta:i}=e,r=n._stacks||(n._stacks={}),{iScale:o,vScale:a,index:s}=i,l=o.axis,c=a.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(o,a,i),d=t.length;let h;for(let e=0;e<d;++e){const n=t[e],{[l]:o,[c]:d}=n;h=(n._stacks||(n._stacks={}))[c]=fg(r,u,o),h[s]=d,h._top=pg(h,a,!0,i.type),h._bottom=pg(h,a,!1,i.type),(h._visualValues||(h._visualValues={}))[s]=d}}function gg(e,t){const n=e.scales;return Object.keys(n).filter(e=>n[e].axis===t).shift()}function bg(e,t){const n=e.controller.index,i=e.vScale&&e.vScale.axis;if(i){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[i]||void 0===t[i][n])return;delete t[i][n],void 0!==t[i]._visualValues&&void 0!==t[i]._visualValues[n]&&delete t[i]._visualValues[n]}}}const vg=e=>"reset"===e||"none"===e,yg=(e,t)=>t?e:Object.assign({},e);class _g{static defaults={};static datasetElementType=null;static dataElementType=null;constructor(e,t){this.chart=e,this._ctx=e.ctx,this.index=t,this._cachedDataOpts={},this._cachedMeta=this.getMeta(),this._type=this._cachedMeta.type,this.options=void 0,this._parsing=!1,this._data=void 0,this._objectData=void 0,this._sharedOptions=void 0,this._drawStart=void 0,this._drawCount=void 0,this.enableOptionSharing=!1,this.supportsDecimation=!1,this.$context=void 0,this._syncList=[],this.datasetElementType=new.target.datasetElementType,this.dataElementType=new.target.dataElementType,this.initialize()}initialize(){const e=this._cachedMeta;this.configure(),this.linkScales(),e._stacked=hg(e.vScale,e),this.addElements(),this.options.fill&&!this.chart.isPluginEnabled("filler")&&console.warn("Tried to use the 'fill' option without the 'Filler' plugin enabled. Please import and register the 'Filler' plugin and make sure it is not disabled in the options")}updateIndex(e){this.index!==e&&bg(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),i=(e,t,n,i)=>"x"===e?t:"r"===e?i:n,r=t.xAxisID=Tf(n.xAxisID,gg(e,"x")),o=t.yAxisID=Tf(n.yAxisID,gg(e,"y")),a=t.rAxisID=Tf(n.rAxisID,gg(e,"r")),s=t.indexAxis,l=t.iAxisID=i(s,r,o,a),c=t.vAxisID=i(s,o,r,a);t.xScale=this.getScaleForId(r),t.yScale=this.getScaleForId(o),t.rScale=this.getScaleForId(a),t.iScale=this.getScaleForId(l),t.vScale=this.getScaleForId(c)}getDataset(){return this.chart.data.datasets[this.index]}getMeta(){return this.chart.getDatasetMeta(this.index)}getScaleForId(e){return this.chart.scales[e]}_getOtherScale(e){const t=this._cachedMeta;return e===t.iScale?t.vScale:t.iScale}reset(){this._update("reset")}_destroy(){const e=this._cachedMeta;this._data&&_p(this._data,this),e._stacked&&bg(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(Pf(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:n,vScale:i}=t,r="x"===n.axis?"x":"y",o="x"===i.axis?"x":"y",a=Object.keys(e),s=new Array(a.length);let l,c,u;for(l=0,c=a.length;l<c;++l)u=a[l],s[l]={[r]:u,[o]:e[u]};return s}(t,e)}else if(n!==t){if(n){_p(n,this);const e=this._cachedMeta;bg(e),e._parsed=[]}t&&Object.isExtensible(t)&&((i=t)._chartjs?i._chartjs.listeners.push(this):(Object.defineProperty(i,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),yp.forEach(e=>{const t="_onData"+Wf(e),n=i[e];Object.defineProperty(i,e,{configurable:!0,enumerable:!1,value(...e){const r=n.apply(this,e);return i._chartjs.listeners.forEach(n=>{"function"==typeof n[t]&&n[t](...e)}),r}})}))),this._syncList=[],this._data=t}var i}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let i=!1;this._dataCheck();const r=t._stacked;t._stacked=hg(t.vScale,t),t.stack!==n.stack&&(i=!0,bg(t),t.stack=n.stack),this._resyncElements(e),(i||r!==t._stacked)&&(mg(this,t._parsed),t._stacked=hg(t.vScale,t))}configure(){const e=this.chart.config,t=e.datasetScopeKeys(this._type),n=e.getOptionScopes(this.getDataset(),t,!0);this.options=e.createResolver(n,this.getContext()),this._parsing=this.options.parsing,this._cachedDataOpts={}}parse(e,t){const{_cachedMeta:n,_data:i}=this,{iScale:r,_stacked:o}=n,a=r.axis;let s,l,c,u=0===e&&t===i.length||n._sorted,d=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=i,n._sorted=!0,c=i;else{c=Af(i[e])?this.parseArrayData(n,i,e,t):Pf(i[e])?this.parseObjectData(n,i,e,t):this.parsePrimitiveData(n,i,e,t);const r=()=>null===l[a]||d&&l[a]<d[a];for(s=0;s<t;++s)n._parsed[s+e]=l=c[s],u&&(r()&&(u=!1),d=l);n._sorted=u}o&&mg(this,c)}parsePrimitiveData(e,t,n,i){const{iScale:r,vScale:o}=e,a=r.axis,s=o.axis,l=r.getLabels(),c=r===o,u=new Array(i);let d,h,f;for(d=0,h=i;d<h;++d)f=d+n,u[d]={[a]:c||r.parse(l[f],f),[s]:o.parse(t[f],f)};return u}parseArrayData(e,t,n,i){const{xScale:r,yScale:o}=e,a=new Array(i);let s,l,c,u;for(s=0,l=i;s<l;++s)c=s+n,u=t[c],a[s]={x:r.parse(u[0],c),y:o.parse(u[1],c)};return a}parseObjectData(e,t,n,i){const{xScale:r,yScale:o}=e,{xAxisKey:a="x",yAxisKey:s="y"}=this._parsing,l=new Array(i);let c,u,d,h;for(c=0,u=i;c<u;++c)d=c+n,h=t[d],l[c]={x:r.parse(Bf(h,a),d),y:o.parse(Bf(h,s),d)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const i=this.chart,r=this._cachedMeta,o=t[e.axis];return dg({keys:ug(i,!0),values:t._stacks[e.axis]._visualValues},o,r.index,{mode:n})}updateRangeFromParsed(e,t,n,i){const r=n[t.axis];let o=null===r?NaN:r;const a=i&&n._stacks[t.axis];i&&a&&(i.values=a,o=dg(i,r,this._cachedMeta.index)),e.min=Math.min(e.min,o),e.max=Math.max(e.max,o)}getMinMax(e,t){const n=this._cachedMeta,i=n._parsed,r=n._sorted&&e===n.iScale,o=i.length,a=this._getOtherScale(e),s=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:ug(n,!0),values:null})(t,n,this.chart),l={min:Number.POSITIVE_INFINITY,max:Number.NEGATIVE_INFINITY},{min:c,max:u}=function(e){const{min:t,max:n,minDefined:i,maxDefined:r}=e.getUserBounds();return{min:i?t:Number.NEGATIVE_INFINITY,max:r?n:Number.POSITIVE_INFINITY}}(a);let d,h;function f(){h=i[d];const t=h[a.axis];return!jf(h[e.axis])||c>t||u<t}for(d=0;d<o&&(f()||(this.updateRangeFromParsed(l,e,h,s),!r));++d);if(r)for(d=o-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,e,h,s);break}return l}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let i,r,o;for(i=0,r=t.length;i<r;++i)o=t[i][e.axis],jf(o)&&n.push(o);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,i=t.vScale,r=this.getParsed(e);return{label:n?""+n.getLabelForValue(r[n.axis]):"",value:i?""+i.getLabelForValue(r[i.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,i,r;return Pf(e)?(t=e.top,n=e.right,i=e.bottom,r=e.left):t=n=i=r=e,{top:t,right:n,bottom:i,left:r,disabled:!1===e}}(Tf(this.options.clip,function(e,t,n){if(!1===n)return!1;const i=cg(e,n),r=cg(t,n);return{top:r.end,right:i.end,bottom:r.start,left:i.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,i=n.data||[],r=t.chartArea,o=[],a=this._drawStart||0,s=this._drawCount||i.length-a,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,r,a,s),c=a;c<a+s;++c){const t=i[c];t.hidden||(t.active&&l?o.push(t):t.draw(e,r))}for(c=0;c<o.length;++c)o[c].draw(e,r)}getStyle(e,t){const n=t?"active":"default";return void 0===e&&this._cachedMeta.dataset?this.resolveDatasetElementOptions(n):this.resolveDataElementOptions(e||0,n)}getContext(e,t,n){const i=this.getDataset();let r;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];r=t.$context||(t.$context=function(e,t,n){return pm(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),r.parsed=this.getParsed(e),r.raw=i.data[e],r.index=r.dataIndex=e}else r=this.$context||(this.$context=function(e,t){return pm(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),r.dataset=i,r.index=r.datasetIndex=this.index;return r.active=!!t,r.mode=n,r}resolveDatasetElementOptions(e){return this._resolveElementOptions(this.datasetElementType.id,e)}resolveDataElementOptions(e,t){return this._resolveElementOptions(this.dataElementType.id,t,e)}_resolveElementOptions(e,t="default",n){const i="active"===t,r=this._cachedDataOpts,o=e+"-"+t,a=r[o],s=this.enableOptionSharing&&Zf(n);if(a)return yg(a,s);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),u=i?[`${e}Hover`,"hover",e,""]:[e,""],d=l.getOptionScopes(this.getDataset(),c),h=Object.keys(Bp.elements[e]),f=l.resolveNamedOptions(d,h,()=>this.getContext(n,i,t),u);return f.$shared&&(f.$shared=s,r[o]=Object.freeze(yg(f,s))),f}_resolveAnimations(e,t,n){const i=this.chart,r=this._cachedDataOpts,o=`animation-${t}`,a=r[o];if(a)return a;let s;if(!1!==i.options.animation){const i=this.chart.config,r=i.datasetAnimationScopeKeys(this._type,t),o=i.getOptionScopes(this.getDataset(),r);s=i.createResolver(o,this.getContext(e,n,t))}const l=new lg(i,s&&s.animations);return s&&s._cacheable&&(r[o]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||vg(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),i=this._sharedOptions,r=this.getSharedOptions(n),o=this.includeOptions(t,r)||r!==i;return this.updateSharedOptions(r,t,n),{sharedOptions:r,includeOptions:o}}updateElement(e,t,n,i){vg(i)?Object.assign(e,n):this._resolveAnimations(t,i).update(e,n)}updateSharedOptions(e,t,n){e&&!vg(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,i){e.active=i;const r=this.getStyle(t,i);this._resolveAnimations(t,n,i).update(e,{options:!i&&this.getSharedOptions(r)||r})}removeHoverStyle(e,t,n){this._setStyle(e,n,"active",!1)}setHoverStyle(e,t,n){this._setStyle(e,n,"active",!0)}_removeDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!1)}_setDatasetHoverStyle(){const e=this._cachedMeta.dataset;e&&this._setStyle(e,void 0,"active",!0)}_resyncElements(e){const t=this._data,n=this._cachedMeta.data;for(const[e,t,n]of this._syncList)this[e](t,n);this._syncList=[];const i=n.length,r=t.length,o=Math.min(r,i);o&&this.parse(0,o),r>i?this._insertElements(i,r-i,e):r<i&&this._removeElements(r,i-r)}_insertElements(e,t,n=!0){const i=this._cachedMeta,r=i.data,o=e+t;let a;const s=e=>{for(e.length+=t,a=e.length-1;a>=o;a--)e[a]=e[a-t]};for(s(r),a=e;a<o;++a)r[a]=new this.dataElementType;this._parsing&&s(i._parsed),this.parse(e,t),n&&this.updateElements(r,e,t,"reset")}updateElements(e,t,n,i){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const i=n._parsed.splice(e,t);n._stacked&&bg(n,i)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,i]=e;this[t](n,i)}this.chart._dataChanges.push([this.index,...e])}_onDataPush(){const e=arguments.length;this._sync(["_insertElements",this.getDataset().data.length-e,e])}_onDataPop(){this._sync(["_removeElements",this._cachedMeta.data.length-1,1])}_onDataShift(){this._sync(["_removeElements",0,1])}_onDataSplice(e,t){t&&this._sync(["_removeElements",e,t]);const n=arguments.length-2;n&&this._sync(["_insertElements",e,n])}_onDataUnshift(){this._sync(["_insertElements",0,arguments.length])}}function Cg(e,t,n,i){const{controller:r,data:o,_sorted:a}=e,s=r._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&"r"!==t&&a&&o.length){const a=s._reversePixels?vp:bp;if(!i){const i=a(o,t,n);if(l){const{vScale:t}=r._cachedMeta,{_parsed:n}=e,o=n.slice(0,i.lo+1).reverse().findIndex(e=>!Mf(e[t.axis]));i.lo-=Math.max(0,o);const a=n.slice(i.hi).findIndex(e=>!Mf(e[t.axis]));i.hi+=Math.max(0,a)}return i}if(r._sharedOptions){const e=o[0],i="function"==typeof e.getRange&&e.getRange(t);if(i){const e=a(o,t,n-i),r=a(o,t,n+i);return{lo:e.lo,hi:r.hi}}}}return{lo:0,hi:o.length-1}}function wg(e,t,n,i,r){const o=e.getSortedVisibleDatasetMetas(),a=n[t];for(let e=0,n=o.length;e<n;++e){const{index:n,data:s}=o[e],{lo:l,hi:c}=Cg(o[e],t,a,r);for(let e=l;e<=c;++e){const t=s[e];t.skip||i(t,n,e)}}}function xg(e,t,n,i,r){const o=[];return r||e.isPointInArea(t)?(wg(e,n,t,function(n,a,s){(r||Yp(n,e.chartArea,0))&&n.inRange(t.x,t.y,i)&&o.push({element:n,datasetIndex:a,index:s})},!0),o):o}function Eg(e,t,n,i,r,o){return o||e.isPointInArea(t)?"r"!==n||i?function(e,t,n,i,r,o){let a=[];const s=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,i){const r=t?Math.abs(e.x-i.x):0,o=n?Math.abs(e.y-i.y):0;return Math.sqrt(Math.pow(r,2)+Math.pow(o,2))}}(n);let l=Number.POSITIVE_INFINITY;return wg(e,n,t,function(n,c,u){const d=n.inRange(t.x,t.y,r);if(i&&!d)return;const h=n.getCenterPoint(r);if(!o&&!e.isPointInArea(h)&&!d)return;const f=s(t,h);f<l?(a=[{element:n,datasetIndex:c,index:u}],l=f):f===l&&a.push({element:n,datasetIndex:c,index:u})}),a}(e,t,n,i,r,o):function(e,t,n,i){let r=[];return wg(e,n,t,function(e,n,o){const{startAngle:a,endAngle:s}=e.getProps(["startAngle","endAngle"],i),{angle:l}=function(e,t){const n=t.x-e.x,i=t.y-e.y,r=Math.sqrt(n*n+i*i);let o=Math.atan2(i,n);return o<-.5*Qf&&(o+=Yf),{angle:o,distance:r}}(e,{x:t.x,y:t.y});fp(l,a,s)&&r.push({element:e,datasetIndex:n,index:o})}),r}(e,t,n,r):[]}function Sg(e,t,n,i,r){const o=[],a="x"===n?"inXRange":"inYRange";let s=!1;return wg(e,n,t,(e,i,l)=>{e[a]&&e[a](t[n],r)&&(o.push({element:e,datasetIndex:i,index:l}),s=s||e.inRange(t.x,t.y,r))}),i&&!s?[]:o}var kg={evaluateInteractionItems:wg,modes:{index(e,t,n,i){const r=Hm(t,e),o=n.axis||"x",a=n.includeInvisible||!1,s=n.intersect?xg(e,r,o,i,a):Eg(e,r,o,!1,i,a),l=[];return s.length?(e.getSortedVisibleDatasetMetas().forEach(e=>{const t=s[0].index,n=e.data[t];n&&!n.skip&&l.push({element:n,datasetIndex:e.index,index:t})}),l):[]},dataset(e,t,n,i){const r=Hm(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;let s=n.intersect?xg(e,r,o,i,a):Eg(e,r,o,!1,i,a);if(s.length>0){const t=s[0].datasetIndex,n=e.getDatasetMeta(t).data;s=[];for(let e=0;e<n.length;++e)s.push({element:n[e],datasetIndex:t,index:e})}return s},point(e,t,n,i){return xg(e,Hm(t,e),n.axis||"xy",i,n.includeInvisible||!1)},nearest(e,t,n,i){const r=Hm(t,e),o=n.axis||"xy",a=n.includeInvisible||!1;return Eg(e,r,o,n.intersect,i,a)},x(e,t,n,i){return Sg(e,Hm(t,e),"x",n.intersect,i)},y(e,t,n,i){return Sg(e,Hm(t,e),"y",n.intersect,i)}}};const Og=["left","top","right","bottom"];function Mg(e,t){return e.filter(e=>e.pos===t)}function Ag(e,t){return e.filter(e=>-1===Og.indexOf(e.pos)&&e.box.axis===t)}function Pg(e,t){return e.sort((e,n)=>{const i=t?n:e,r=t?e:n;return i.weight===r.weight?i.index-r.index:i.weight-r.weight})}function jg(e,t,n,i){return Math.max(e[n],t[n])+Math.max(e[i],t[i])}function Ig(e,t){e.top=Math.max(e.top,t.top),e.left=Math.max(e.left,t.left),e.bottom=Math.max(e.bottom,t.bottom),e.right=Math.max(e.right,t.right)}function Tg(e,t,n,i){const{pos:r,box:o}=n,a=e.maxPadding;if(!Pf(r)){n.size&&(e[r]-=n.size);const t=i[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?o.height:o.width),n.size=t.size/t.count,e[r]+=n.size}o.getPadding&&Ig(a,o.getPadding());const s=Math.max(0,t.outerWidth-jg(a,e,"left","right")),l=Math.max(0,t.outerHeight-jg(a,e,"top","bottom")),c=s!==e.w,u=l!==e.h;return e.w=s,e.h=l,n.horizontal?{same:c,other:u}:{same:u,other:c}}function Dg(e,t){const n=t.maxPadding;return function(e){const i={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{i[e]=Math.max(t[e],n[e])}),i}(e?["left","right"]:["top","bottom"])}function Lg(e,t,n,i){const r=[];let o,a,s,l,c,u;for(o=0,a=e.length,c=0;o<a;++o){s=e[o],l=s.box,l.update(s.width||t.w,s.height||t.h,Dg(s.horizontal,t));const{same:a,other:d}=Tg(t,n,s,i);c|=a&&r.length,u=u||d,l.fullSize||r.push(s)}return c&&Lg(r,t,n,i)||u}function Ng(e,t,n,i,r){e.top=n,e.left=t,e.right=t+i,e.bottom=n+r,e.width=i,e.height=r}function Rg(e,t,n,i){const r=n.padding;let{x:o,y:a}=t;for(const s of e){const e=s.box,l=i[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/l.weight||1;if(s.horizontal){const i=t.w*c,o=l.size||e.height;Zf(l.start)&&(a=l.start),e.fullSize?Ng(e,r.left,a,n.outerWidth-r.right-r.left,o):Ng(e,t.left+l.placed,a,i,o),l.start=a,l.placed+=i,a=e.bottom}else{const i=t.h*c,a=l.size||e.width;Zf(l.start)&&(o=l.start),e.fullSize?Ng(e,o,r.top,a,n.outerHeight-r.bottom-r.top):Ng(e,o,t.top+l.placed,a,i),l.start=o,l.placed+=i,o=e.right}}t.x=o,t.y=a}var Fg={addBox(e,t){e.boxes||(e.boxes=[]),t.fullSize=t.fullSize||!1,t.position=t.position||"top",t.weight=t.weight||0,t._layers=t._layers||function(){return[{z:0,draw(e){t.draw(e)}}]},e.boxes.push(t)},removeBox(e,t){const n=e.boxes?e.boxes.indexOf(t):-1;-1!==n&&e.boxes.splice(n,1)},configure(e,t,n){t.fullSize=n.fullSize,t.position=n.position,t.weight=n.weight},update(e,t,n,i){if(!e)return;const r=dm(e.options.layout.padding),o=Math.max(t-r.width,0),a=Math.max(n-r.height,0),s=function(e){const t=function(e){const t=[];let n,i,r,o,a,s;for(n=0,i=(e||[]).length;n<i;++n)r=e[n],({position:o,options:{stack:a,stackWeight:s=1}}=r),t.push({index:n,box:r,pos:o,horizontal:r.isHorizontal(),weight:r.weight,stack:a&&o+a,stackWeight:s});return t}(e),n=Pg(t.filter(e=>e.box.fullSize),!0),i=Pg(Mg(t,"left"),!0),r=Pg(Mg(t,"right")),o=Pg(Mg(t,"top"),!0),a=Pg(Mg(t,"bottom")),s=Ag(t,"x"),l=Ag(t,"y");return{fullSize:n,leftAndTop:i.concat(o),rightAndBottom:r.concat(l).concat(a).concat(s),chartArea:Mg(t,"chartArea"),vertical:i.concat(r).concat(l),horizontal:o.concat(a).concat(s)}}(e.boxes),l=s.vertical,c=s.horizontal;Lf(e.boxes,e=>{"function"==typeof e.beforeLayout&&e.beforeLayout()});const u=l.reduce((e,t)=>t.box.options&&!1===t.box.options.display?e:e+1,0)||1,d=Object.freeze({outerWidth:t,outerHeight:n,padding:r,availableWidth:o,availableHeight:a,vBoxMaxWidth:o/2/u,hBoxMaxHeight:a/2}),h=Object.assign({},r);Ig(h,dm(i));const f=Object.assign({maxPadding:h,w:o,h:a,x:r.left,y:r.top},r),p=function(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:i,stackWeight:r}=n;if(!e||!Og.includes(i))continue;const o=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});o.count++,o.weight+=r}return t}(e),{vBoxMaxWidth:i,hBoxMaxHeight:r}=t;let o,a,s;for(o=0,a=e.length;o<a;++o){s=e[o];const{fullSize:a}=s.box,l=n[s.stack],c=l&&s.stackWeight/l.weight;s.horizontal?(s.width=c?c*i:a&&t.availableWidth,s.height=r):(s.width=i,s.height=c?c*r:a&&t.availableHeight)}return n}(l.concat(c),d);Lg(s.fullSize,f,d,p),Lg(l,f,d,p),Lg(c,f,d,p)&&Lg(l,f,d,p),function(e){const t=e.maxPadding;function n(n){const i=Math.max(t[n]-e[n],0);return e[n]+=i,i}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(f),Rg(s.leftAndTop,f,d,p),f.x+=f.w,f.y+=f.h,Rg(s.rightAndBottom,f,d,p),e.chartArea={left:f.left,top:f.top,right:f.left+f.w,bottom:f.top+f.h,height:f.h,width:f.w},Lf(s.chartArea,t=>{const n=t.box;Object.assign(n,e.chartArea),n.update(f.w,f.h,{left:0,top:0,right:0,bottom:0})})}};class zg{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,i){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,i?Math.floor(t/i):n)}}isAttached(e){return!0}updateConfig(e){}}class Hg extends zg{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const Ug="$chartjs",Vg={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},$g=e=>null===e||""===e,Bg=!!$m&&{passive:!0};function Wg(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,Bg)}function Zg(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function qg(e,t,n){const i=e.canvas,r=new MutationObserver(e=>{let t=!1;for(const n of e)t=t||Zg(n.addedNodes,i),t=t&&!Zg(n.removedNodes,i);t&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}function Gg(e,t,n){const i=e.canvas,r=new MutationObserver(e=>{let t=!1;for(const n of e)t=t||Zg(n.removedNodes,i),t=t&&!Zg(n.addedNodes,i);t&&n()});return r.observe(document,{childList:!0,subtree:!0}),r}const Qg=new Map;let Yg=0;function Kg(){const e=window.devicePixelRatio;e!==Yg&&(Yg=e,Qg.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function Xg(e,t,n){const i=e.canvas,r=i&&Lm(i);if(!r)return;const o=xp((e,t)=>{const i=r.clientWidth;n(e,t),i<r.clientWidth&&n()},window),a=new ResizeObserver(e=>{const t=e[0],n=t.contentRect.width,i=t.contentRect.height;0===n&&0===i||o(n,i)});return a.observe(r),function(e,t){Qg.size||window.addEventListener("resize",Kg),Qg.set(e,t)}(e,o),a}function Jg(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){Qg.delete(e),Qg.size||window.removeEventListener("resize",Kg)}(e)}function eb(e,t,n){const i=e.canvas,r=xp(t=>{null!==e.ctx&&n(function(e,t){const n=Vg[e.type]||e.type,{x:i,y:r}=Hm(e,t);return{type:n,chart:t,native:e,x:void 0!==i?i:null,y:void 0!==r?r:null}}(t,e))},e);return function(e,t,n){e&&e.addEventListener(t,n,Bg)}(i,t,r),r}class tb extends zg{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,i=e.getAttribute("height"),r=e.getAttribute("width");if(e[Ug]={initial:{height:i,width:r,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",$g(r)){const t=Bm(e,"width");void 0!==t&&(e.width=t)}if($g(i))if(""===e.style.height)e.height=e.width/(t||2);else{const t=Bm(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t[Ug])return!1;const n=t[Ug].initial;["height","width"].forEach(e=>{const i=n[e];Mf(i)?t.removeAttribute(e):t.setAttribute(e,i)});const i=n.style||{};return Object.keys(i).forEach(e=>{t.style[e]=i[e]}),t.width=t.width,delete t[Ug],!0}addEventListener(e,t,n){this.removeEventListener(e,t);const i=e.$proxies||(e.$proxies={}),r={attach:qg,detach:Gg,resize:Xg}[t]||eb;i[t]=r(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),i=n[t];i&&(({attach:Jg,detach:Jg,resize:Jg}[t]||Wg)(e,t,i),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,i){return function(e,t,n,i){const r=Rm(e),o=zm(r,"margin"),a=Nm(r.maxWidth,e,"clientWidth")||Xf,s=Nm(r.maxHeight,e,"clientHeight")||Xf,l=function(e,t,n){let i,r;if(void 0===t||void 0===n){const o=e&&Lm(e);if(o){const e=o.getBoundingClientRect(),a=Rm(o),s=zm(a,"border","width"),l=zm(a,"padding");t=e.width-l.width-s.width,n=e.height-l.height-s.height,i=Nm(a.maxWidth,o,"clientWidth"),r=Nm(a.maxHeight,o,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:i||Xf,maxHeight:r||Xf}}(e,t,n);let{width:c,height:u}=l;if("content-box"===r.boxSizing){const e=zm(r,"border","width"),t=zm(r,"padding");c-=t.width+e.width,u-=t.height+e.height}return c=Math.max(0,c-o.width),u=Math.max(0,i?c/i:u-o.height),c=Um(Math.min(c,a,l.maxWidth)),u=Um(Math.min(u,s,l.maxHeight)),c&&!u&&(u=Um(c/2)),(void 0!==t||void 0!==n)&&i&&l.height&&u>l.height&&(u=l.height,c=Um(Math.floor(u*i))),{width:c,height:u}}(e,t,n,i)}isAttached(e){const t=e&&Lm(e);return!(!t||!t.isConnected)}}class nb{static defaults={};static defaultRoutes=void 0;x;y;active=!1;options;$animations;tooltipPosition(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}hasValue(){return sp(this.x)&&sp(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const i={};return e.forEach(e=>{i[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),i}}function ib(e,t,n,i,r){const o=Tf(i,0),a=Math.min(Tf(r,e.length),e.length);let s,l,c,u=0;for(n=Math.ceil(n),r&&(s=r-i,n=s/Math.floor(s/n)),c=o;c<0;)u++,c=Math.round(o+u*n);for(l=Math.max(o,0);l<a;l++)l===c&&(t.push(e[l]),u++,c=Math.round(o+u*n))}const rb=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n,ob=(e,t)=>Math.min(t||e,e);function ab(e,t){const n=[],i=e.length/t,r=e.length;let o=0;for(;o<r;o+=i)n.push(e[Math.floor(o)]);return n}function sb(e,t,n){const i=e.ticks.length,r=Math.min(t,i-1),o=e._startPixel,a=e._endPixel,s=1e-6;let l,c=e.getPixelForTick(r);if(!(n&&(l=1===i?Math.max(c-o,a-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(r-1))/2,c+=r<t?l:-l,c<o-s||c>a+s)))return c}function lb(e){return e.drawTicks?e.tickLength:0}function cb(e,t){if(!e.display)return 0;const n=hm(e.font,t),i=dm(e.padding);return(Af(e.text)?e.text.length:1)*n.lineHeight+i.height}function ub(e,t,n){let i=Ep(e);return(n&&"right"!==t||!n&&"right"===t)&&(i=(e=>"left"===e?"right":"right"===e?"left":e)(i)),i}class db extends nb{constructor(e){super(),this.id=e.id,this.type=e.type,this.options=void 0,this.ctx=e.ctx,this.chart=e.chart,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this._margins={left:0,right:0,top:0,bottom:0},this.maxWidth=void 0,this.maxHeight=void 0,this.paddingTop=void 0,this.paddingBottom=void 0,this.paddingLeft=void 0,this.paddingRight=void 0,this.axis=void 0,this.labelRotation=void 0,this.min=void 0,this.max=void 0,this._range=void 0,this.ticks=[],this._gridLineItems=null,this._labelItems=null,this._labelSizes=null,this._length=0,this._maxLength=0,this._longestTextCache={},this._startPixel=void 0,this._endPixel=void 0,this._reversePixels=!1,this._userMax=void 0,this._userMin=void 0,this._suggestedMax=void 0,this._suggestedMin=void 0,this._ticksLength=0,this._borderValue=0,this._cache={},this._dataLimitsCached=!1,this.$context=void 0}init(e){this.options=e.setContext(this.getContext()),this.axis=e.axis,this._userMin=this.parse(e.min),this._userMax=this.parse(e.max),this._suggestedMin=this.parse(e.suggestedMin),this._suggestedMax=this.parse(e.suggestedMax)}parse(e,t){return e}getUserBounds(){let{_userMin:e,_userMax:t,_suggestedMin:n,_suggestedMax:i}=this;return e=If(e,Number.POSITIVE_INFINITY),t=If(t,Number.NEGATIVE_INFINITY),n=If(n,Number.POSITIVE_INFINITY),i=If(i,Number.NEGATIVE_INFINITY),{min:If(e,n),max:If(t,i),minDefined:jf(e),maxDefined:jf(t)}}getMinMax(e){let t,{min:n,max:i,minDefined:r,maxDefined:o}=this.getUserBounds();if(r&&o)return{min:n,max:i};const a=this.getMatchingVisibleMetas();for(let s=0,l=a.length;s<l;++s)t=a[s].controller.getMinMax(this,e),r||(n=Math.min(n,t.min)),o||(i=Math.max(i,t.max));return n=o&&n>i?i:n,i=r&&n>i?n:i,{min:If(n,If(i,n)),max:If(i,If(n,i))}}getPadding(){return{left:this.paddingLeft||0,top:this.paddingTop||0,right:this.paddingRight||0,bottom:this.paddingBottom||0}}getTicks(){return this.ticks}getLabels(){const e=this.chart.data;return this.options.labels||(this.isHorizontal()?e.xLabels:e.yLabels)||e.labels||[]}getLabelItems(e=this.chart.chartArea){return this._labelItems||(this._labelItems=this._computeLabelItems(e))}beforeLayout(){this._cache={},this._dataLimitsCached=!1}beforeUpdate(){Df(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:i,grace:r,ticks:o}=this.options,a=o.sampleSize;this.beforeUpdate(),this.maxWidth=e,this.maxHeight=t,this._margins=n=Object.assign({left:0,right:0,top:0,bottom:0},n),this.ticks=null,this._labelSizes=null,this._gridLineItems=null,this._labelItems=null,this.beforeSetDimensions(),this.setDimensions(),this.afterSetDimensions(),this._maxLength=this.isHorizontal()?this.width+n.left+n.right:this.height+n.top+n.bottom,this._dataLimitsCached||(this.beforeDataLimits(),this.determineDataLimits(),this.afterDataLimits(),this._range=function(e,t,n){const{min:i,max:r}=e,o=(l=(r-i)/2,"string"==typeof(s=t)&&s.endsWith("%")?parseFloat(s)/100*l:+s),a=(e,t)=>n&&0===e?0:e+t;var s,l;return{min:a(i,-Math.abs(o)),max:a(r,o)}}(this,r,i),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=a<this.ticks.length;this._convertTicksToLabels(s?ab(this.ticks,a):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),o.display&&(o.autoSkip||"auto"===o.source)&&(this.ticks=function(e,t){const n=e.options.ticks,i=function(e){const t=e.options.offset,n=e._tickSize(),i=e._length/n+(t?0:1),r=e._maxLength/n;return Math.floor(Math.min(i,r))}(e),r=Math.min(n.maxTicksLimit||i,i),o=n.major.enabled?function(e){const t=[];let n,i;for(n=0,i=e.length;n<i;n++)e[n].major&&t.push(n);return t}(t):[],a=o.length,s=o[0],l=o[a-1],c=[];if(a>r)return function(e,t,n,i){let r,o=0,a=n[0];for(i=Math.ceil(i),r=0;r<e.length;r++)r===a&&(t.push(e[r]),o++,a=n[o*i])}(t,c,o,a/r),c;const u=function(e,t,n){const i=function(e){const t=e.length;let n,i;if(t<2)return!1;for(i=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==i)return!1;return i}(e),r=t.length/n;if(!i)return Math.max(r,1);const o=function(e){const t=[],n=Math.sqrt(e);let i;for(i=1;i<n;i++)e%i===0&&(t.push(i),t.push(e/i));return n===(0|n)&&t.push(n),t.sort((e,t)=>e-t).pop(),t}(i);for(let e=0,t=o.length-1;e<t;e++){const t=o[e];if(t>r)return t}return Math.max(r,1)}(o,t,r);if(a>0){let e,n;const i=a>1?Math.round((l-s)/(a-1)):null;for(ib(t,c,u,Mf(i)?0:s-i,s),e=0,n=a-1;e<n;e++)ib(t,c,u,o[e],o[e+1]);return ib(t,c,u,l,Mf(i)?t.length:l+i),c}return ib(t,c,u),c}(this,this.ticks),this._labelSizes=null,this.afterAutoSkip()),s&&this._convertTicksToLabels(this.ticks),this.beforeFit(),this.fit(),this.afterFit(),this.afterUpdate()}configure(){let e,t,n=this.options.reverse;this.isHorizontal()?(e=this.left,t=this.right):(e=this.top,t=this.bottom,n=!n),this._startPixel=e,this._endPixel=t,this._reversePixels=n,this._length=t-e,this._alignToPixels=this.options.alignToPixels}afterUpdate(){Df(this.options.afterUpdate,[this])}beforeSetDimensions(){Df(this.options.beforeSetDimensions,[this])}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=0,this.right=this.width):(this.height=this.maxHeight,this.top=0,this.bottom=this.height),this.paddingLeft=0,this.paddingTop=0,this.paddingRight=0,this.paddingBottom=0}afterSetDimensions(){Df(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Df(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Df(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,i,r;for(n=0,i=e.length;n<i;n++)r=e[n],r.label=Df(t.callback,[r.value,n,e],this)}afterTickToLabelConversion(){Df(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Df(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=ob(this.ticks.length,e.ticks.maxTicksLimit),i=t.minRotation||0,r=t.maxRotation;let o,a,s,l=i;if(!this._isVisible()||!t.display||i>=r||n<=1||!this.isHorizontal())return void(this.labelRotation=i);const c=this._getLabelSizes(),u=c.widest.width,d=c.highest.height,h=pp(this.chart.width-u,0,this.maxWidth);o=e.offset?this.maxWidth/n:h/(n-1),u+6>o&&(o=h/(n-(e.offset?.5:1)),a=this.maxHeight-lb(e.grid)-t.padding-cb(e.title,this.chart.options.font),s=Math.sqrt(u*u+d*d),l=Math.min(Math.asin(pp((c.highest.height+6)/o,-1,1)),Math.asin(pp(a/s,-1,1))-Math.asin(pp(d/s,-1,1)))*(180/Qf),l=Math.max(i,Math.min(r,l))),this.labelRotation=l}afterCalculateLabelRotation(){Df(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Df(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:i,grid:r}}=this,o=this._isVisible(),a=this.isHorizontal();if(o){const o=cb(i,t.options.font);if(a?(e.width=this.maxWidth,e.height=lb(r)+o):(e.height=this.maxHeight,e.width=lb(r)+o),n.display&&this.ticks.length){const{first:t,last:i,widest:r,highest:o}=this._getLabelSizes(),s=2*n.padding,l=lp(this.labelRotation),c=Math.cos(l),u=Math.sin(l);if(a){const t=n.mirror?0:u*r.width+c*o.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=n.mirror?0:c*r.width+u*o.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,i,u,c)}}this._handleMargins(),a?(this.width=this._length=t.width-this._margins.left-this._margins.right,this.height=e.height):(this.width=e.width,this.height=this._length=t.height-this._margins.top-this._margins.bottom)}_calculatePadding(e,t,n,i){const{ticks:{align:r,padding:o},position:a}=this.options,s=0!==this.labelRotation,l="top"!==a&&"x"===this.axis;if(this.isHorizontal()){const a=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,d=0;s?l?(u=i*e.width,d=n*t.height):(u=n*e.height,d=i*t.width):"start"===r?d=t.width:"end"===r?u=e.width:"inner"!==r&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-a+o)*this.width/(this.width-a),0),this.paddingRight=Math.max((d-c+o)*this.width/(this.width-c),0)}else{let n=t.height/2,i=e.height/2;"start"===r?(n=0,i=e.height):"end"===r&&(n=t.height,i=0),this.paddingTop=n+o,this.paddingBottom=i+o}}_handleMargins(){this._margins&&(this._margins.left=Math.max(this.paddingLeft,this._margins.left),this._margins.top=Math.max(this.paddingTop,this._margins.top),this._margins.right=Math.max(this.paddingRight,this._margins.right),this._margins.bottom=Math.max(this.paddingBottom,this._margins.bottom))}afterFit(){Df(this.options.afterFit,[this])}isHorizontal(){const{axis:e,position:t}=this.options;return"top"===t||"bottom"===t||"x"===e}isFullSize(){return this.options.fullSize}_convertTicksToLabels(e){let t,n;for(this.beforeTickToLabelConversion(),this.generateTickLabels(e),t=0,n=e.length;t<n;t++)Mf(e[t].label)&&(e.splice(t,1),n--,t--);this.afterTickToLabelConversion()}_getLabelSizes(){let e=this._labelSizes;if(!e){const t=this.options.ticks.sampleSize;let n=this.ticks;t<n.length&&(n=ab(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){const{ctx:i,_longestTextCache:r}=this,o=[],a=[],s=Math.floor(t/ob(t,n));let l,c,u,d,h,f,p,m,g,b,v,y=0,_=0;for(l=0;l<t;l+=s){if(d=e[l].label,h=this._resolveTickFontOptions(l),i.font=f=h.string,p=r[f]=r[f]||{data:{},gc:[]},m=h.lineHeight,g=b=0,Mf(d)||Af(d)){if(Af(d))for(c=0,u=d.length;c<u;++c)v=d[c],Mf(v)||Af(v)||(g=Wp(i,p.data,p.gc,g,v),b+=m)}else g=Wp(i,p.data,p.gc,g,d),b=m;o.push(g),a.push(b),y=Math.max(g,y),_=Math.max(b,_)}!function(e,t){Lf(e,e=>{const n=e.gc,i=n.length/2;let r;if(i>t){for(r=0;r<i;++r)delete e.data[n[r]];n.splice(0,i)}})}(r,t);const C=o.indexOf(y),w=a.indexOf(_),x=e=>({width:o[e]||0,height:a[e]||0});return{first:x(0),last:x(t-1),widest:x(C),highest:x(w),widths:o,heights:a}}getLabelForValue(e){return e}getPixelForValue(e,t){return NaN}getValueForPixel(e){}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getPixelForDecimal(e){this._reversePixels&&(e=1-e);const t=this._startPixel+e*this._length;return pp(this._alignToPixels?Zp(this.chart,t,0):t,-32768,32767)}getDecimalForPixel(e){const t=(e-this._startPixel)/this._length;return this._reversePixels?1-t:t}getBasePixel(){return this.getPixelForValue(this.getBaseValue())}getBaseValue(){const{min:e,max:t}=this;return e<0&&t<0?t:e>0&&t>0?e:0}getContext(e){const t=this.ticks||[];if(e>=0&&e<t.length){const n=t[e];return n.$context||(n.$context=function(e,t,n){return pm(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=pm(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=lp(this.labelRotation),n=Math.abs(Math.cos(t)),i=Math.abs(Math.sin(t)),r=this._getLabelSizes(),o=e.autoSkipPadding||0,a=r?r.widest.width+o:0,s=r?r.highest.height+o:0;return this.isHorizontal()?s*n>a*i?a/n:s/i:s*i<a*n?s/n:a/i}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,i=this.options,{grid:r,position:o,border:a}=i,s=r.offset,l=this.isHorizontal(),c=this.ticks.length+(s?1:0),u=lb(r),d=[],h=a.setContext(this.getContext()),f=h.display?h.width:0,p=f/2,m=function(e){return Zp(n,e,f)};let g,b,v,y,_,C,w,x,E,S,k,O;if("top"===o)g=m(this.bottom),C=this.bottom-u,x=g-p,S=m(e.top)+p,O=e.bottom;else if("bottom"===o)g=m(this.top),S=e.top,O=m(e.bottom)-p,C=g+p,x=this.top+u;else if("left"===o)g=m(this.right),_=this.right-u,w=g-p,E=m(e.left)+p,k=e.right;else if("right"===o)g=m(this.left),E=e.left,k=m(e.right)-p,_=g+p,w=this.left+u;else if("x"===t){if("center"===o)g=m((e.top+e.bottom)/2+.5);else if(Pf(o)){const e=Object.keys(o)[0],t=o[e];g=m(this.chart.scales[e].getPixelForValue(t))}S=e.top,O=e.bottom,C=g+p,x=C+u}else if("y"===t){if("center"===o)g=m((e.left+e.right)/2);else if(Pf(o)){const e=Object.keys(o)[0],t=o[e];g=m(this.chart.scales[e].getPixelForValue(t))}_=g-p,w=_-u,E=e.left,k=e.right}const M=Tf(i.ticks.maxTicksLimit,c),A=Math.max(1,Math.ceil(c/M));for(b=0;b<c;b+=A){const e=this.getContext(b),t=r.setContext(e),i=a.setContext(e),o=t.lineWidth,c=t.color,u=i.dash||[],h=i.dashOffset,f=t.tickWidth,p=t.tickColor,m=t.tickBorderDash||[],g=t.tickBorderDashOffset;v=sb(this,b,s),void 0!==v&&(y=Zp(n,v,o),l?_=w=E=k=y:C=x=S=O=y,d.push({tx1:_,ty1:C,tx2:w,ty2:x,x1:E,y1:S,x2:k,y2:O,width:o,color:c,borderDash:u,borderDashOffset:h,tickWidth:f,tickColor:p,tickBorderDash:m,tickBorderDashOffset:g}))}return this._ticksLength=c,this._borderValue=g,d}_computeLabelItems(e){const t=this.axis,n=this.options,{position:i,ticks:r}=n,o=this.isHorizontal(),a=this.ticks,{align:s,crossAlign:l,padding:c,mirror:u}=r,d=lb(n.grid),h=d+c,f=u?-c:h,p=-lp(this.labelRotation),m=[];let g,b,v,y,_,C,w,x,E,S,k,O,M="middle";if("top"===i)C=this.bottom-f,w=this._getXAxisLabelAlignment();else if("bottom"===i)C=this.top+f,w=this._getXAxisLabelAlignment();else if("left"===i){const e=this._getYAxisLabelAlignment(d);w=e.textAlign,_=e.x}else if("right"===i){const e=this._getYAxisLabelAlignment(d);w=e.textAlign,_=e.x}else if("x"===t){if("center"===i)C=(e.top+e.bottom)/2+h;else if(Pf(i)){const e=Object.keys(i)[0],t=i[e];C=this.chart.scales[e].getPixelForValue(t)+h}w=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===i)_=(e.left+e.right)/2-h;else if(Pf(i)){const e=Object.keys(i)[0],t=i[e];_=this.chart.scales[e].getPixelForValue(t)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===s?M="top":"end"===s&&(M="bottom"));const A=this._getLabelSizes();for(g=0,b=a.length;g<b;++g){v=a[g],y=v.label;const e=r.setContext(this.getContext(g));x=this.getPixelForTick(g)+r.labelOffset,E=this._resolveTickFontOptions(g),S=E.lineHeight,k=Af(y)?y.length:1;const t=k/2,n=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let d,h=w;if(o?(_=x,"inner"===w&&(h=g===b-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),O="top"===i?"near"===l||0!==p?-k*S+S/2:"center"===l?-A.highest.height/2-t*S+S:-A.highest.height+S/2:"near"===l||0!==p?S/2:"center"===l?A.highest.height/2-t*S:A.highest.height-k*S,u&&(O*=-1),0===p||e.showLabelBackdrop||(_+=S/2*Math.sin(p))):(C=x,O=(1-k)*S/2),e.showLabelBackdrop){const t=dm(e.backdropPadding),n=A.heights[g],i=A.widths[g];let r=O-t.top,o=0-t.left;switch(M){case"middle":r-=n/2;break;case"bottom":r-=n}switch(w){case"center":o-=i/2;break;case"right":o-=i;break;case"inner":g===b-1?o-=i:g>0&&(o-=i/2)}d={left:o,top:r,width:i+t.width,height:n+t.height,color:e.backdropColor}}m.push({label:y,font:E,textOffset:O,options:{rotation:p,color:n,strokeColor:s,strokeWidth:c,textAlign:h,textBaseline:M,translation:[_,C],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-lp(this.labelRotation))return"top"===e?"left":"right";let n="center";return"start"===t.align?n="left":"end"===t.align?n="right":"inner"===t.align&&(n="inner"),n}_getYAxisLabelAlignment(e){const{position:t,ticks:{crossAlign:n,mirror:i,padding:r}}=this.options,o=e+r,a=this._getLabelSizes().widest.width;let s,l;return"left"===t?i?(l=this.right+r,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l+=a)):(l=this.right-o,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l=this.left)):"right"===t?i?(l=this.left+r,"near"===n?s="right":"center"===n?(s="center",l-=a/2):(s="left",l-=a)):(l=this.left+o,"near"===n?s="left":"center"===n?(s="center",l+=a/2):(s="right",l=this.right)):s="right",{textAlign:s,x:l}}_computeLabelArea(){if(this.options.ticks.mirror)return;const e=this.chart,t=this.options.position;return"left"===t||"right"===t?{top:0,left:this.left,bottom:e.height,right:this.right}:"top"===t||"bottom"===t?{top:this.top,left:0,bottom:this.bottom,right:e.width}:void 0}drawBackground(){const{ctx:e,options:{backgroundColor:t},left:n,top:i,width:r,height:o}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,i,r,o),e.restore())}getLineWidthForValue(e){const t=this.options.grid;if(!this._isVisible()||!t.display)return 0;const n=this.ticks.findIndex(t=>t.value===e);return n>=0?t.setContext(this.getContext(n)).lineWidth:0}drawGrid(e){const t=this.options.grid,n=this.ctx,i=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let r,o;const a=(e,t,i)=>{i.width&&i.color&&(n.save(),n.lineWidth=i.width,n.strokeStyle=i.color,n.setLineDash(i.borderDash||[]),n.lineDashOffset=i.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(r=0,o=i.length;r<o;++r){const e=i[r];t.drawOnChartArea&&a({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&a({x:e.tx1,y:e.ty1},{x:e.tx2,y:e.ty2},{color:e.tickColor,width:e.tickWidth,borderDash:e.tickBorderDash,borderDashOffset:e.tickBorderDashOffset})}}drawBorder(){const{chart:e,ctx:t,options:{border:n,grid:i}}=this,r=n.setContext(this.getContext()),o=n.display?r.width:0;if(!o)return;const a=i.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,c,u,d;this.isHorizontal()?(l=Zp(e,this.left,o)-o/2,c=Zp(e,this.right,a)+a/2,u=d=s):(u=Zp(e,this.top,o)-o/2,d=Zp(e,this.bottom,a)+a/2,l=c=s),t.save(),t.lineWidth=r.width,t.strokeStyle=r.color,t.beginPath(),t.moveTo(l,u),t.lineTo(c,d),t.stroke(),t.restore()}drawLabels(e){if(!this.options.ticks.display)return;const t=this.ctx,n=this._computeLabelArea();n&&Kp(t,n);const i=this.getLabelItems(e);for(const e of i){const n=e.options,i=e.font;im(t,e.label,0,e.textOffset,i,n)}n&&Xp(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:i}}=this;if(!n.display)return;const r=hm(n.font),o=dm(n.padding),a=n.align;let s=r.lineHeight/2;"bottom"===t||"center"===t||Pf(t)?(s+=o.bottom,Af(n.text)&&(s+=r.lineHeight*(n.text.length-1))):s+=o.top;const{titleX:l,titleY:c,maxWidth:u,rotation:d}=function(e,t,n,i){const{top:r,left:o,bottom:a,right:s,chart:l}=e,{chartArea:c,scales:u}=l;let d,h,f,p=0;const m=a-r,g=s-o;if(e.isHorizontal()){if(h=Sp(i,o,s),Pf(n)){const e=Object.keys(n)[0],i=n[e];f=u[e].getPixelForValue(i)+m-t}else f="center"===n?(c.bottom+c.top)/2+m-t:rb(e,n,t);d=s-o}else{if(Pf(n)){const e=Object.keys(n)[0],i=n[e];h=u[e].getPixelForValue(i)-g+t}else h="center"===n?(c.left+c.right)/2-g+t:rb(e,n,t);f=Sp(i,a,r),p="left"===n?-ep:ep}return{titleX:h,titleY:f,maxWidth:d,rotation:p}}(this,s,t,a);im(e,n.text,0,0,r,{color:n.color,maxWidth:u,rotation:d,textAlign:ub(a,t,i),textBaseline:"middle",translation:[l,c]})}draw(e){this._isVisible()&&(this.drawBackground(),this.drawGrid(e),this.drawBorder(),this.drawTitle(),this.drawLabels(e))}_layers(){const e=this.options,t=e.ticks&&e.ticks.z||0,n=Tf(e.grid&&e.grid.z,-1),i=Tf(e.border&&e.border.z,0);return this._isVisible()&&this.draw===db.prototype.draw?[{z:n,draw:e=>{this.drawBackground(),this.drawGrid(e),this.drawTitle()}},{z:i,draw:()=>{this.drawBorder()}},{z:t,draw:e=>{this.drawLabels(e)}}]:[{z:t,draw:e=>{this.draw(e)}}]}getMatchingVisibleMetas(e){const t=this.chart.getSortedVisibleDatasetMetas(),n=this.axis+"AxisID",i=[];let r,o;for(r=0,o=t.length;r<o;++r){const o=t[r];o[n]!==this.id||e&&o.type!==e||i.push(o)}return i}_resolveTickFontOptions(e){return hm(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class hb{constructor(e,t,n){this.type=e,this.scope=t,this.override=n,this.items=Object.create(null)}isForType(e){return Object.prototype.isPrototypeOf.call(this.type.prototype,e.prototype)}register(e){const t=Object.getPrototypeOf(e);let n;(function(e){return"id"in e&&"defaults"in e})(t)&&(n=this.register(t));const i=this.items,r=e.id,o=this.scope+"."+r;if(!r)throw new Error("class does not have id: "+e);return r in i||(i[r]=e,function(e,t,n){const i=Hf(Object.create(null),[n?Bp.get(n):{},Bp.get(t),e.defaults]);Bp.set(t,i),e.defaultRoutes&&function(e,t){Object.keys(t).forEach(n=>{const i=n.split("."),r=i.pop(),o=[e].concat(i).join("."),a=t[n].split("."),s=a.pop(),l=a.join(".");Bp.route(o,r,l,s)})}(t,e.defaultRoutes),e.descriptors&&Bp.describe(t,e.descriptors)}(e,o,n),this.override&&Bp.override(e.id,e.overrides)),o}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,i=this.scope;n in t&&delete t[n],i&&n in Bp[i]&&(delete Bp[i][n],this.override&&delete zp[n])}}class fb{constructor(){this.controllers=new hb(_g,"datasets",!0),this.elements=new hb(nb,"elements"),this.plugins=new hb(Object,"plugins"),this.scales=new hb(db,"scales"),this._typedRegistries=[this.controllers,this.scales,this.elements]}add(...e){this._each("register",e)}remove(...e){this._each("unregister",e)}addControllers(...e){this._each("register",e,this.controllers)}addElements(...e){this._each("register",e,this.elements)}addPlugins(...e){this._each("register",e,this.plugins)}addScales(...e){this._each("register",e,this.scales)}getController(e){return this._get(e,this.controllers,"controller")}getElement(e){return this._get(e,this.elements,"element")}getPlugin(e){return this._get(e,this.plugins,"plugin")}getScale(e){return this._get(e,this.scales,"scale")}removeControllers(...e){this._each("unregister",e,this.controllers)}removeElements(...e){this._each("unregister",e,this.elements)}removePlugins(...e){this._each("unregister",e,this.plugins)}removeScales(...e){this._each("unregister",e,this.scales)}_each(e,t,n){[...t].forEach(t=>{const i=n||this._getRegistryForType(t);n||i.isForType(t)||i===this.plugins&&t.id?this._exec(e,i,t):Lf(t,t=>{const i=n||this._getRegistryForType(t);this._exec(e,i,t)})})}_exec(e,t,n){const i=Wf(e);Df(n["before"+i],[],n),t[e](n),Df(n["after"+i],[],n)}_getRegistryForType(e){for(let t=0;t<this._typedRegistries.length;t++){const n=this._typedRegistries[t];if(n.isForType(e))return n}return this.plugins}_get(e,t,n){const i=t.get(e);if(void 0===i)throw new Error('"'+e+'" is not a registered '+n+".");return i}}var pb=new fb;class mb{constructor(){this._init=void 0}notify(e,t,n,i){if("beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),void 0===this._init)return;const r=i?this._descriptors(e).filter(i):this._descriptors(e),o=this._notify(r,e,t,n);return"afterDestroy"===t&&(this._notify(r,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),o}_notify(e,t,n,i){i=i||{};for(const r of e){const e=r.plugin;if(!1===Df(e[n],[t,i,r.options],e)&&i.cancelable)return!1}return!0}invalidate(){Mf(this._cache)||(this._oldCache=this._cache,this._cache=void 0)}_descriptors(e){if(this._cache)return this._cache;const t=this._cache=this._createDescriptors(e);return this._notifyStateChanges(e),t}_createDescriptors(e,t){const n=e&&e.config,i=Tf(n.options&&n.options.plugins,{}),r=function(e){const t={},n=[],i=Object.keys(pb.plugins.items);for(let e=0;e<i.length;e++)n.push(pb.getPlugin(i[e]));const r=e.plugins||[];for(let e=0;e<r.length;e++){const i=r[e];-1===n.indexOf(i)&&(n.push(i),t[i.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==i||t?function(e,{plugins:t,localIds:n},i,r){const o=[],a=e.getContext();for(const s of t){const t=s.id,l=gb(i[t],r);null!==l&&o.push({plugin:s,options:bb(e.config,{plugin:s,local:n[t]},l,a)})}return o}(e,r,i,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,i=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(i(t,n),e,"stop"),this._notify(i(n,t),e,"start")}}function gb(e,t){return t||!1!==e?!0===e?{}:e:null}function bb(e,{plugin:t,local:n},i,r){const o=e.pluginScopeKeys(t),a=e.getOptionScopes(i,o);return n&&t.defaults&&a.push(t.defaults),e.createResolver(a,r,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function vb(e,t){const n=Bp.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function yb(e){if("x"===e||"y"===e||"r"===e)return e}function _b(e){return"top"===e||"bottom"===e?"x":"left"===e||"right"===e?"y":void 0}function Cb(e,...t){if(yb(e))return e;for(const n of t){const t=n.axis||_b(n.position)||e.length>1&&yb(e[0].toLowerCase());if(t)return t}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function wb(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function xb(e){const t=e.options||(e.options={});t.plugins=Tf(t.plugins,{}),t.scales=function(e,t){const n=zp[e.type]||{scales:{}},i=t.scales||{},r=vb(e.type,t),o=Object.create(null);return Object.keys(i).forEach(t=>{const a=i[t];if(!Pf(a))return console.error(`Invalid scale configuration for scale: ${t}`);if(a._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const s=Cb(t,a,function(e,t){if(t.data&&t.data.datasets){const n=t.data.datasets.filter(t=>t.xAxisID===e||t.yAxisID===e);if(n.length)return wb(e,"x",n[0])||wb(e,"y",n[0])}return{}}(t,e),Bp.scales[a.type]),l=function(e,t){return e===t?"_index_":"_value_"}(s,r),c=n.scales||{};o[t]=Uf(Object.create(null),[{axis:s},a,c[s],c[l]])}),e.data.datasets.forEach(n=>{const r=n.type||e.type,a=n.indexAxis||vb(r,t),s=(zp[r]||{}).scales||{};Object.keys(s).forEach(e=>{const t=function(e,t){let n=e;return"_index_"===e?n=t:"_value_"===e&&(n="x"===t?"y":"x"),n}(e,a),r=n[t+"AxisID"]||t;o[r]=o[r]||Object.create(null),Uf(o[r],[{axis:t},i[r],s[e]])})}),Object.keys(o).forEach(e=>{const t=o[e];Uf(t,[Bp.scales[t.type],Bp.scale])}),o}(e,t)}function Eb(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Sb=new Map,kb=new Set;function Ob(e,t){let n=Sb.get(e);return n||(n=t(),Sb.set(e,n),kb.add(n)),n}const Mb=(e,t,n)=>{const i=Bf(t,n);void 0!==i&&e.add(i)};class Ab{constructor(e){this._config=function(e){return(e=e||{}).data=Eb(e.data),xb(e),e}(e),this._scopeCache=new Map,this._resolverCache=new Map}get platform(){return this._config.platform}get type(){return this._config.type}set type(e){this._config.type=e}get data(){return this._config.data}set data(e){this._config.data=Eb(e)}get options(){return this._config.options}set options(e){this._config.options=e}get plugins(){return this._config.plugins}update(){const e=this._config;this.clearCache(),xb(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Ob(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return Ob(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return Ob(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return Ob(`${this.type}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const n=this._scopeCache;let i=n.get(e);return i&&!t||(i=new Map,n.set(e,i)),i}getOptionScopes(e,t,n){const{options:i,type:r}=this,o=this._cachedScopes(e,n),a=o.get(t);if(a)return a;const s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Mb(s,e,t))),t.forEach(e=>Mb(s,i,e)),t.forEach(e=>Mb(s,zp[r]||{},e)),t.forEach(e=>Mb(s,Bp,e)),t.forEach(e=>Mb(s,Hp,e))});const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),kb.has(t)&&o.set(t,l),l}chartOptionScopes(){const{options:e,type:t}=this;return[e,zp[t]||{},Bp.datasets[t]||{},{type:t},Bp,Hp]}resolveNamedOptions(e,t,n,i=[""]){const r={$shared:!0},{resolver:o,subPrefixes:a}=Pb(this._resolverCache,e,i);let s=o;(function(e,t){const{isScriptable:n,isIndexable:i}=bm(e);for(const r of t){const t=n(r),o=i(r),a=(o||t)&&e[r];if(t&&(qf(a)||jb(a))||o&&Af(a))return!0}return!1})(o,t)&&(r.$shared=!1,s=gm(o,n=qf(n)?n():n,this.createResolver(e,n,a)));for(const e of t)r[e]=s[e];return r}createResolver(e,t,n=[""],i){const{resolver:r}=Pb(this._resolverCache,e,n);return Pf(t)?gm(r,t,void 0,i):r}}function Pb(e,t,n){let i=e.get(t);i||(i=new Map,e.set(t,i));const r=n.join();let o=i.get(r);return o||(o={resolver:mm(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes("hover"))},i.set(r,o)),o}const jb=e=>Pf(e)&&Object.getOwnPropertyNames(e).some(t=>qf(e[t])),Ib=["top","bottom","left","right","chartArea"];function Tb(e,t){return"top"===e||"bottom"===e||-1===Ib.indexOf(e)&&"x"===t}function Db(e,t){return function(n,i){return n[e]===i[e]?n[t]-i[t]:n[e]-i[e]}}function Lb(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Df(n&&n.onComplete,[e],t)}function Nb(e){const t=e.chart,n=t.options.animation;Df(n&&n.onProgress,[e],t)}function Rb(e){return Dm()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const Fb={},zb=e=>{const t=Rb(e);return Object.values(Fb).filter(e=>e.canvas===t).pop()};function Hb(e,t,n){const i=Object.keys(e);for(const r of i){const i=+r;if(i>=t){const o=e[r];delete e[r],(n>0||i>t)&&(e[i+n]=o)}}}class Ub{static defaults=Bp;static instances=Fb;static overrides=zp;static registry=pb;static version="4.5.1";static getChart=zb;static register(...e){pb.add(...e),Vb()}static unregister(...e){pb.remove(...e),Vb()}constructor(e,t){const n=this.config=new Ab(t),i=Rb(e),r=zb(i);if(r)throw new Error("Canvas is already in use. Chart with ID '"+r.id+"' must be destroyed before the canvas with ID '"+r.canvas.id+"' can be reused.");const o=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!Dm()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?Hg:tb}(i)),this.platform.updateConfig(n);const a=this.platform.acquireContext(i,o.aspectRatio),s=a&&a.canvas,l=s&&s.height,c=s&&s.width;this.id=Of(),this.ctx=a,this.canvas=s,this.width=c,this.height=l,this._options=o,this._aspectRatio=this.aspectRatio,this._layers=[],this._metasets=[],this._stacks=void 0,this.boxes=[],this.currentDevicePixelRatio=void 0,this.chartArea=void 0,this._active=[],this._lastEvent=void 0,this._listeners={},this._responsiveListeners=void 0,this._sortedMetasets=[],this.scales={},this._plugins=new mb,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let n;return function(...i){return t?(clearTimeout(n),n=setTimeout(e,t,i)):e.apply(this,i),t}}(e=>this.update(e),o.resizeDelay||0),this._dataChanges=[],Fb[this.id]=this,a&&s?(rg.listen(this,"complete",Lb),rg.listen(this,"progress",Nb),this._initialize(),this.attached&&this.update()):console.error("Failed to create chart: can't acquire context from the given item")}get aspectRatio(){const{options:{aspectRatio:e,maintainAspectRatio:t},width:n,height:i,_aspectRatio:r}=this;return Mf(e)?t&&r?r:i?n/i:null:e}get data(){return this.config.data}set data(e){this.config.data=e}get options(){return this._options}set options(e){this.config.options=e}get registry(){return pb}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():Vm(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return qp(this.canvas,this.ctx),this}stop(){return rg.stop(this),this}resize(e,t){rg.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,i=this.canvas,r=n.maintainAspectRatio&&this.aspectRatio,o=this.platform.getMaximumSize(i,e,t,r),a=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=o.width,this.height=o.height,this._aspectRatio=this.aspectRatio,Vm(this,a,!0)&&(this.notifyPlugins("resize",{size:o}),Df(n.onResize,[this,o],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){Lf(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,i=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{});let r=[];t&&(r=r.concat(Object.keys(t).map(e=>{const n=t[e],i=Cb(e,n),r="r"===i,o="x"===i;return{options:n,dposition:r?"chartArea":o?"bottom":"left",dtype:r?"radialLinear":o?"category":"linear"}}))),Lf(r,t=>{const r=t.options,o=r.id,a=Cb(o,r),s=Tf(r.type,t.dtype);void 0!==r.position&&Tb(r.position,a)===Tb(t.dposition)||(r.position=t.dposition),i[o]=!0;let l=null;o in n&&n[o].type===s?l=n[o]:(l=new(pb.getScale(s))({id:o,type:s,ctx:this.ctx,chart:this}),n[l.id]=l),l.init(r,e)}),Lf(i,(e,t)=>{e||delete n[t]}),Lf(n,e=>{Fg.configure(this,e,e.options),Fg.addBox(this,e)})}_updateMetasets(){const e=this._metasets,t=this.data.datasets.length,n=e.length;if(e.sort((e,t)=>e.index-t.index),n>t){for(let e=t;e<n;++e)this._destroyDatasetMeta(e);e.splice(t,n-t)}this._sortedMetasets=e.slice(0).sort(Db("order","index"))}_removeUnreferencedMetasets(){const{_metasets:e,data:{datasets:t}}=this;e.length>t.length&&delete this._stacks,e.forEach((e,n)=>{0===t.filter(t=>t===e._dataset).length&&this._destroyDatasetMeta(n)})}buildOrUpdateControllers(){const e=[],t=this.data.datasets;let n,i;for(this._removeUnreferencedMetasets(),n=0,i=t.length;n<i;n++){const i=t[n];let r=this.getDatasetMeta(n);const o=i.type||this.config.type;if(r.type&&r.type!==o&&(this._destroyDatasetMeta(n),r=this.getDatasetMeta(n)),r.type=o,r.indexAxis=i.indexAxis||vb(o,this.options),r.order=i.order||0,r.index=n,r.label=""+i.label,r.visible=this.isDatasetVisible(n),r.controller)r.controller.updateIndex(n),r.controller.linkScales();else{const t=pb.getController(o),{datasetElementType:i,dataElementType:a}=Bp.datasets[o];Object.assign(t,{dataElementType:pb.getElement(a),datasetElementType:i&&pb.getElement(i)}),r.controller=new t(this,n),e.push(r.controller)}}return this._updateMetasets(),e}_resetElements(){Lf(this.data.datasets,(e,t)=>{this.getDatasetMeta(t).controller.reset()},this)}reset(){this._resetElements(),this.notifyPlugins("reset")}update(e){const t=this.config;t.update();const n=this._options=t.createResolver(t.chartOptionScopes(),this.getContext()),i=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const r=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let o=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),n=!i&&-1===r.indexOf(t);t.buildOrUpdateElements(n),o=Math.max(+t.getMaxOverflow(),o)}o=this._minPadding=n.layout.autoPadding?o:0,this._updateLayout(o),i||Lf(r,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(Db("z","_idx"));const{_active:a,_lastEvent:s}=this;s?this._eventHandler(s,!0):a.length&&this._updateHoverStyles(a,a,!0),this.render()}_updateScales(){Lf(this.scales,e=>{Fg.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);Gf(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:i,count:r}of t)Hb(e,i,"_removeElements"===n?-r:r)}_getUniformDataChanges(){const e=this._dataChanges;if(!e||!e.length)return;this._dataChanges=[];const t=this.data.datasets.length,n=t=>new Set(e.filter(e=>e[0]===t).map((e,t)=>t+","+e.splice(1).join(","))),i=n(0);for(let e=1;e<t;e++)if(!Gf(i,n(e)))return;return Array.from(i).map(e=>e.split(",")).map(e=>({method:e[1],start:+e[2],count:+e[3]}))}_updateLayout(e){if(!1===this.notifyPlugins("beforeLayout",{cancelable:!0}))return;Fg.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],Lf(this.boxes,e=>{n&&"chartArea"===e.position||(e.configure&&e.configure(),this._layers.push(...e._layers()))},this),this._layers.forEach((e,t)=>{e._idx=t}),this.notifyPlugins("afterLayout")}_updateDatasets(e){if(!1!==this.notifyPlugins("beforeDatasetsUpdate",{mode:e,cancelable:!0})){for(let e=0,t=this.data.datasets.length;e<t;++e)this.getDatasetMeta(e).controller.configure();for(let t=0,n=this.data.datasets.length;t<n;++t)this._updateDataset(t,qf(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),i={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",i)&&(n.controller._update(t),i.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",i))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(rg.has(this)?this.attached&&!rg.running(this)&&rg.start(this):(this.draw(),Lb({chart:this})))}draw(){let e;if(this._resizeBeforeDraw){const{width:e,height:t}=this._resizeBeforeDraw;this._resizeBeforeDraw=null,this._resize(e,t)}if(this.clear(),this.width<=0||this.height<=0)return;if(!1===this.notifyPlugins("beforeDraw",{cancelable:!0}))return;const t=this._layers;for(e=0;e<t.length&&t[e].z<=0;++e)t[e].draw(this.chartArea);for(this._drawDatasets();e<t.length;++e)t[e].draw(this.chartArea);this.notifyPlugins("afterDraw")}_getSortedDatasetMetas(e){const t=this._sortedMetasets,n=[];let i,r;for(i=0,r=t.length;i<r;++i){const r=t[i];e&&!r.visible||n.push(r)}return n}getSortedVisibleDatasetMetas(){return this._getSortedDatasetMetas(!0)}_drawDatasets(){if(!1===this.notifyPlugins("beforeDatasetsDraw",{cancelable:!0}))return;const e=this.getSortedVisibleDatasetMetas();for(let t=e.length-1;t>=0;--t)this._drawDataset(e[t]);this.notifyPlugins("afterDatasetsDraw")}_drawDataset(e){const t=this.ctx,n={meta:e,index:e.index,cancelable:!0},i=function(e,t){const n=t._clip;if(n.disabled)return!1;const i=function(e,t){const{xScale:n,yScale:i}=e;return n&&i?{left:ng(n,t,"left"),right:ng(n,t,"right"),top:ng(i,t,"top"),bottom:ng(i,t,"bottom")}:t}(t,e.chartArea);return{left:!1===n.left?0:i.left-(!0===n.left?0:n.left),right:!1===n.right?e.width:i.right+(!0===n.right?0:n.right),top:!1===n.top?0:i.top-(!0===n.top?0:n.top),bottom:!1===n.bottom?e.height:i.bottom+(!0===n.bottom?0:n.bottom)}}(this,e);!1!==this.notifyPlugins("beforeDatasetDraw",n)&&(i&&Kp(t,i),e.controller.draw(),i&&Xp(t),n.cancelable=!1,this.notifyPlugins("afterDatasetDraw",n))}isPointInArea(e){return Yp(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,i){const r=kg.modes[t];return"function"==typeof r?r(this,e,n,i):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let i=n.filter(e=>e&&e._dataset===t).pop();return i||(i={type:null,data:[],dataset:null,controller:null,hidden:null,xAxisID:null,yAxisID:null,order:t&&t.order||0,index:e,_dataset:t,_parsed:[],_sorted:!1},n.push(i)),i}getContext(){return this.$context||(this.$context=pm(null,{chart:this,type:"chart"}))}getVisibleDatasetCount(){return this.getSortedVisibleDatasetMetas().length}isDatasetVisible(e){const t=this.data.datasets[e];if(!t)return!1;const n=this.getDatasetMeta(e);return"boolean"==typeof n.hidden?!n.hidden:!t.hidden}setDatasetVisibility(e,t){this.getDatasetMeta(e).hidden=!t}toggleDataVisibility(e){this._hiddenIndices[e]=!this._hiddenIndices[e]}getDataVisibility(e){return!this._hiddenIndices[e]}_updateVisibility(e,t,n){const i=n?"show":"hide",r=this.getDatasetMeta(e),o=r.controller._resolveAnimations(void 0,i);Zf(t)?(r.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),o.update(r,{visible:n}),this.update(t=>t.datasetIndex===e?i:void 0))}hide(e,t){this._updateVisibility(e,t,!1)}show(e,t){this._updateVisibility(e,t,!0)}_destroyDatasetMeta(e){const t=this._metasets[e];t&&t.controller&&t.controller._destroy(),delete this._metasets[e]}_stop(){let e,t;for(this.stop(),rg.remove(this),e=0,t=this.data.datasets.length;e<t;++e)this._destroyDatasetMeta(e)}destroy(){this.notifyPlugins("beforeDestroy");const{canvas:e,ctx:t}=this;this._stop(),this.config.clearCache(),e&&(this.unbindEvents(),qp(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete Fb[this.id],this.notifyPlugins("afterDestroy")}toBase64Image(...e){return this.canvas.toDataURL(...e)}bindEvents(){this.bindUserEvents(),this.options.responsive?this.bindResponsiveEvents():this.attached=!0}bindUserEvents(){const e=this._listeners,t=this.platform,n=(n,i)=>{t.addEventListener(this,n,i),e[n]=i},i=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};Lf(this.options.events,e=>n(e,i))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,i)=>{t.addEventListener(this,n,i),e[n]=i},i=(n,i)=>{e[n]&&(t.removeEventListener(this,n,i),delete e[n])},r=(e,t)=>{this.canvas&&this.resize(e,t)};let o;const a=()=>{i("attach",a),this.attached=!0,this.resize(),n("resize",r),n("detach",o)};o=()=>{this.attached=!1,i("resize",r),this._stop(),this._resize(0,0),n("attach",a)},t.isAttached(this.canvas)?a():o()}unbindEvents(){Lf(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},Lf(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const i=n?"set":"remove";let r,o,a,s;for("dataset"===t&&(r=this.getDatasetMeta(e[0].datasetIndex),r.controller["_"+i+"DatasetHoverStyle"]()),a=0,s=e.length;a<s;++a){o=e[a];const t=o&&this.getDatasetMeta(o.datasetIndex).controller;t&&t[i+"HoverStyle"](o.element,o.datasetIndex,o.index)}}getActiveElements(){return this._active||[]}setActiveElements(e){const t=this._active||[],n=e.map(({datasetIndex:e,index:t})=>{const n=this.getDatasetMeta(e);if(!n)throw new Error("No dataset found at index "+e);return{datasetIndex:e,element:n.data[t],index:t}});!Nf(n,t)&&(this._active=n,this._lastEvent=null,this._updateHoverStyles(n,t))}notifyPlugins(e,t,n){return this._plugins.notify(this,e,t,n)}isPluginEnabled(e){return 1===this._plugins._cache.filter(t=>t.plugin.id===e).length}_updateHoverStyles(e,t,n){const i=this.options.hover,r=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),o=r(t,e),a=n?e:r(e,t);o.length&&this.updateHoverStyle(o,i.mode,!1),a.length&&i.mode&&this.updateHoverStyle(a,i.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},i=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,i))return;const r=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,i),(r||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:i=[],options:r}=this,o=t,a=this._getActiveElements(e,i,n,o),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),l=function(e,t,n,i){return n&&"mouseout"!==e.type?i?t:e:null}(e,this._lastEvent,n,s);n&&(this._lastEvent=null,Df(r.onHover,[e,a,this],this),s&&Df(r.onClick,[e,a,this],this));const c=!Nf(a,i);return(c||t)&&(this._active=a,this._updateHoverStyles(a,i,t)),this._lastEvent=l,c}_getActiveElements(e,t,n,i){if("mouseout"===e.type)return[];if(!n)return t;const r=this.options.hover;return this.getElementsAtEventForMode(e,r.mode,r,i)}}function Vb(){return Lf(Ub.instances,e=>e._plugins.invalidate())}function $b(e,t,n=t){e.lineCap=Tf(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Tf(n.borderDash,t.borderDash)),e.lineDashOffset=Tf(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Tf(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Tf(n.borderWidth,t.borderWidth),e.strokeStyle=Tf(n.borderColor,t.borderColor)}function Bb(e,t,n){e.lineTo(n.x,n.y)}function Wb(e,t,n={}){const i=e.length,{start:r=0,end:o=i-1}=n,{start:a,end:s}=t,l=Math.max(r,a),c=Math.min(o,s),u=r<a&&o<a||r>s&&o>s;return{count:i,start:l,loop:t.loop,ilen:c<l&&!u?i+c-l:c-l}}function Zb(e,t,n,i){const{points:r,options:o}=t,{count:a,start:s,loop:l,ilen:c}=Wb(r,n,i),u=function(e){return e.stepped?Jp:e.tension||"monotone"===e.cubicInterpolationMode?em:Bb}(o);let d,h,f,{move:p=!0,reverse:m}=i||{};for(d=0;d<=c;++d)h=r[(s+(m?c-d:d))%a],h.skip||(p?(e.moveTo(h.x,h.y),p=!1):u(e,f,h,m,o.stepped),f=h);return l&&(h=r[(s+(m?c:0))%a],u(e,f,h,m,o.stepped)),!!l}function qb(e,t,n,i){const r=t.points,{count:o,start:a,ilen:s}=Wb(r,n,i),{move:l=!0,reverse:c}=i||{};let u,d,h,f,p,m,g=0,b=0;const v=e=>(a+(c?s-e:e))%o,y=()=>{f!==p&&(e.lineTo(g,p),e.lineTo(g,f),e.lineTo(g,m))};for(l&&(d=r[v(0)],e.moveTo(d.x,d.y)),u=0;u<=s;++u){if(d=r[v(u)],d.skip)continue;const t=d.x,n=d.y,i=0|t;i===h?(n<f?f=n:n>p&&(p=n),g=(b*g+t)/++b):(y(),e.lineTo(t,n),h=i,b=0,f=p=n),m=n}y()}function Gb(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||n?Zb:qb}const Qb="function"==typeof Path2D;function Yb(e,t,n,i){const r=e.options,{[n]:o}=e.getProps([n],i);return Math.abs(t-o)<r.radius+r.hitRadius}const Kb=(e,t)=>{let{boxHeight:n=t,boxWidth:i=t}=e;return e.usePointStyle&&(n=Math.min(n,t),i=e.pointStyleWidth||Math.min(i,t)),{boxWidth:i,boxHeight:n,itemHeight:Math.max(t,n)}};class Xb extends nb{constructor(e){super(),this._added=!1,this.legendHitBoxes=[],this._hoveredItem=null,this.doughnutMode=!1,this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this.legendItems=void 0,this.columnSizes=void 0,this.lineWidths=void 0,this.maxHeight=void 0,this.maxWidth=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.height=void 0,this.width=void 0,this._margins=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t,n){this.maxWidth=e,this.maxHeight=t,this._margins=n,this.setDimensions(),this.buildLabels(),this.fit()}setDimensions(){this.isHorizontal()?(this.width=this.maxWidth,this.left=this._margins.left,this.right=this.width):(this.height=this.maxHeight,this.top=this._margins.top,this.bottom=this.height)}buildLabels(){const e=this.options.labels||{};let t=Df(e.generateLabels,[this.chart],this)||[];e.filter&&(t=t.filter(t=>e.filter(t,this.chart.data))),e.sort&&(t=t.sort((t,n)=>e.sort(t,n,this.chart.data))),this.options.reverse&&t.reverse(),this.legendItems=t}fit(){const{options:e,ctx:t}=this;if(!e.display)return void(this.width=this.height=0);const n=e.labels,i=hm(n.font),r=i.size,o=this._computeTitleHeight(),{boxWidth:a,itemHeight:s}=Kb(n,r);let l,c;t.font=i.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(o,r,a,s)+10):(c=this.maxHeight,l=this._fitCols(o,i,a,s)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,i){const{ctx:r,maxWidth:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=i+a;let u=e;r.textAlign="left",r.textBaseline="middle";let d=-1,h=-c;return this.legendItems.forEach((e,f)=>{const p=n+t/2+r.measureText(e.text).width;(0===f||l[l.length-1]+p+2*a>o)&&(u+=c,l[l.length-(f>0?0:1)]=0,h+=c,d++),s[f]={left:0,top:h,row:d,width:p,height:i},l[l.length-1]+=p+a}),u}_fitCols(e,t,n,i){const{ctx:r,maxHeight:o,options:{labels:{padding:a}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=o-e;let u=a,d=0,h=0,f=0,p=0;return this.legendItems.forEach((e,o)=>{const{itemWidth:m,itemHeight:g}=function(e,t,n,i,r){const o=function(e,t,n,i){let r=e.text;return r&&"string"!=typeof r&&(r=r.reduce((e,t)=>e.length>t.length?e:t)),t+n.size/2+i.measureText(r).width}(i,e,t,n),a=function(e,t,n){let i=e;return"string"!=typeof t.text&&(i=Jb(t,n)),i}(r,i,t.lineHeight);return{itemWidth:o,itemHeight:a}}(n,t,r,e,i);o>0&&h+g+2*a>c&&(u+=d+a,l.push({width:d,height:h}),f+=d+a,p++,d=h=0),s[o]={left:f,top:h,col:p,width:m,height:g},d=Math.max(d,m),h+=g+a}),u+=d,l.push({width:d,height:h}),u}adjustHitBoxes(){if(!this.options.display)return;const e=this._computeTitleHeight(),{legendHitBoxes:t,options:{align:n,labels:{padding:i},rtl:r}}=this,o=Gm(r,this.left,this.width);if(this.isHorizontal()){let r=0,a=Sp(n,this.left+i,this.right-this.lineWidths[r]);for(const s of t)r!==s.row&&(r=s.row,a=Sp(n,this.left+i,this.right-this.lineWidths[r])),s.top+=this.top+e+i,s.left=o.leftForLtr(o.x(a),s.width),a+=s.width+i}else{let r=0,a=Sp(n,this.top+e+i,this.bottom-this.columnSizes[r].height);for(const s of t)s.col!==r&&(r=s.col,a=Sp(n,this.top+e+i,this.bottom-this.columnSizes[r].height)),s.top=a,s.left+=this.left+i,s.left=o.leftForLtr(o.x(s.left),s.width),a+=s.height+i}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;Kp(e,this),this._draw(),Xp(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:i}=this,{align:r,labels:o}=e,a=Bp.color,s=Gm(e.rtl,this.left,this.width),l=hm(o.font),{padding:c}=o,u=l.size,d=u/2;let h;this.drawTitle(),i.textAlign=s.textAlign("left"),i.textBaseline="middle",i.lineWidth=.5,i.font=l.string;const{boxWidth:f,boxHeight:p,itemHeight:m}=Kb(o,u),g=this.isHorizontal(),b=this._computeTitleHeight();h=g?{x:Sp(r,this.left+c,this.right-n[0]),y:this.top+c+b,line:0}:{x:this.left+c,y:Sp(r,this.top+b+c,this.bottom-t[0].height),line:0},Qm(this.ctx,e.textDirection);const v=m+c;this.legendItems.forEach((y,_)=>{i.strokeStyle=y.fontColor,i.fillStyle=y.fontColor;const C=i.measureText(y.text).width,w=s.textAlign(y.textAlign||(y.textAlign=o.textAlign)),x=f+d+C;let E=h.x,S=h.y;if(s.setWidth(this.width),g?_>0&&E+x+c>this.right&&(S=h.y+=v,h.line++,E=h.x=Sp(r,this.left+c,this.right-n[h.line])):_>0&&S+v>this.bottom&&(E=h.x=E+t[h.line].width+c,h.line++,S=h.y=Sp(r,this.top+b+c,this.bottom-t[h.line].height)),function(e,t,n){if(isNaN(f)||f<=0||isNaN(p)||p<0)return;i.save();const r=Tf(n.lineWidth,1);if(i.fillStyle=Tf(n.fillStyle,a),i.lineCap=Tf(n.lineCap,"butt"),i.lineDashOffset=Tf(n.lineDashOffset,0),i.lineJoin=Tf(n.lineJoin,"miter"),i.lineWidth=r,i.strokeStyle=Tf(n.strokeStyle,a),i.setLineDash(Tf(n.lineDash,[])),o.usePointStyle){const a={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:r},l=s.xPlus(e,f/2);Qp(i,a,l,t+d,o.pointStyleWidth&&f)}else{const o=t+Math.max((u-p)/2,0),a=s.leftForLtr(e,f),l=um(n.borderRadius);i.beginPath(),Object.values(l).some(e=>0!==e)?rm(i,{x:a,y:o,w:f,h:p,radius:l}):i.rect(a,o,f,p),i.fill(),0!==r&&i.stroke()}i.restore()}(s.x(E),S,y),E=((e,t,n,i)=>e===(i?"left":"right")?n:"center"===e?(t+n)/2:t)(w,E+f+d,g?E+x:this.right,e.rtl),function(e,t,n){im(i,n.text,e,t+m/2,l,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(E),S,y),g)h.x+=x+c;else if("string"!=typeof y.text){const e=l.lineHeight;h.y+=Jb(y,e)+c}else h.y+=v}),Ym(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=hm(t.font),i=dm(t.padding);if(!t.display)return;const r=Gm(e.rtl,this.left,this.width),o=this.ctx,a=t.position,s=n.size/2,l=i.top+s;let c,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),c=this.top+l,u=Sp(e.align,u,this.right-d);else{const t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);c=l+Sp(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const h=Sp(a,u,u+d);o.textAlign=r.textAlign(Ep(a)),o.textBaseline="middle",o.strokeStyle=t.color,o.fillStyle=t.color,o.font=n.string,im(o,t.text,h,c,n)}_computeTitleHeight(){const e=this.options.title,t=hm(e.font),n=dm(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,i,r;if(mp(e,this.left,this.right)&&mp(t,this.top,this.bottom))for(r=this.legendHitBoxes,n=0;n<r.length;++n)if(i=r[n],mp(e,i.left,i.left+i.width)&&mp(t,i.top,i.top+i.height))return this.legendItems[n];return null}handleEvent(e){const t=this.options;if(!function(e,t){return!("mousemove"!==e&&"mouseout"!==e||!t.onHover&&!t.onLeave)||!(!t.onClick||"click"!==e&&"mouseup"!==e)}(e.type,t))return;const n=this._getLegendItemAt(e.x,e.y);if("mousemove"===e.type||"mouseout"===e.type){const i=this._hoveredItem,r=((e,t)=>null!==e&&null!==t&&e.datasetIndex===t.datasetIndex&&e.index===t.index)(i,n);i&&!r&&Df(t.onLeave,[e,i,this],this),this._hoveredItem=n,n&&!r&&Df(t.onHover,[e,n,this],this)}else n&&Df(t.onClick,[e,n,this],this)}}function Jb(e,t){return t*(e.text?e.text.length:0)}var ev={id:"legend",_element:Xb,start(e,t,n){const i=e.legend=new Xb({ctx:e.ctx,options:n,chart:e});Fg.configure(e,i,n),Fg.addBox(e,i)},stop(e){Fg.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const i=e.legend;Fg.configure(e,i,n),i.options=n},afterUpdate(e){const t=e.legend;t.buildLabels(),t.adjustHitBoxes()},afterEvent(e,t){t.replay||e.legend.handleEvent(t.event)},defaults:{display:!0,position:"top",align:"center",fullSize:!0,reverse:!1,weight:1e3,onClick(e,t,n){const i=t.datasetIndex,r=n.chart;r.isDatasetVisible(i)?(r.hide(i),t.hidden=!0):(r.show(i),t.hidden=!1)},onHover:null,onLeave:null,labels:{color:e=>e.chart.options.color,boxWidth:40,padding:10,generateLabels(e){const t=e.data.datasets,{labels:{usePointStyle:n,pointStyle:i,textAlign:r,color:o,useBorderRadius:a,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{const l=e.controller.getStyle(n?0:void 0),c=dm(l.borderWidth);return{text:t[e.index].label,fillStyle:l.backgroundColor,fontColor:o,hidden:!e.visible,lineCap:l.borderCapStyle,lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:(c.width+c.height)/4,strokeStyle:l.borderColor,pointStyle:i||l.pointStyle,rotation:l.rotation,textAlign:r||l.textAlign,borderRadius:a&&(s||l.borderRadius),datasetIndex:e.index}},this)}},title:{color:e=>e.chart.options.color,display:!1,position:"center",text:""}},descriptors:{_scriptable:e=>!e.startsWith("on"),labels:{_scriptable:e=>!["generateLabels","filter","sort"].includes(e)}}};class tv extends nb{constructor(e){super(),this.chart=e.chart,this.options=e.options,this.ctx=e.ctx,this._padding=void 0,this.top=void 0,this.bottom=void 0,this.left=void 0,this.right=void 0,this.width=void 0,this.height=void 0,this.position=void 0,this.weight=void 0,this.fullSize=void 0}update(e,t){const n=this.options;if(this.left=0,this.top=0,!n.display)return void(this.width=this.height=this.right=this.bottom=0);this.width=this.right=e,this.height=this.bottom=t;const i=Af(n.text)?n.text.length:1;this._padding=dm(n.padding);const r=i*hm(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=r:this.width=r}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:i,right:r,options:o}=this,a=o.align;let s,l,c,u=0;return this.isHorizontal()?(l=Sp(a,n,r),c=t+e,s=r-n):("left"===o.position?(l=n+e,c=Sp(a,i,t),u=-.5*Qf):(l=r-e,c=Sp(a,t,i),u=.5*Qf),s=i-t),{titleX:l,titleY:c,maxWidth:s,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=hm(t.font),i=n.lineHeight/2+this._padding.top,{titleX:r,titleY:o,maxWidth:a,rotation:s}=this._drawArgs(i);im(e,t.text,0,0,n,{color:t.color,maxWidth:a,rotation:s,textAlign:Ep(t.align),textBaseline:"middle",translation:[r,o]})}}var nv={id:"title",_element:tv,start(e,t,n){!function(e,t){const n=new tv({ctx:e.ctx,options:t,chart:e});Fg.configure(e,n,t),Fg.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;Fg.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const i=e.titleBlock;Fg.configure(e,i,n),i.options=n},defaults:{align:"center",display:!1,font:{weight:"bold"},fullSize:!0,padding:10,position:"top",text:"",weight:2e3},defaultRoutes:{color:"color"},descriptors:{_scriptable:!0,_indexable:!1}};new WeakMap;const iv={average(e){if(!e.length)return!1;let t,n,i=new Set,r=0,o=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();i.add(e.x),r+=e.y,++o}}if(0===o||0===i.size)return!1;const a=[...i].reduce((e,t)=>e+t)/i.size;return{x:a,y:r/o}},nearest(e,t){if(!e.length)return!1;let n,i,r,o=t.x,a=t.y,s=Number.POSITIVE_INFINITY;for(n=0,i=e.length;n<i;++n){const i=e[n].element;if(i&&i.hasValue()){const e=up(t,i.getCenterPoint());e<s&&(s=e,r=i)}}if(r){const e=r.tooltipPosition();o=e.x,a=e.y}return{x:o,y:a}}};function rv(e,t){return t&&(Af(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function ov(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function av(e,t){const{element:n,datasetIndex:i,index:r}=t,o=e.getDatasetMeta(i).controller,{label:a,value:s}=o.getLabelAndValue(r);return{chart:e,label:a,parsed:o.getParsed(r),raw:e.data.datasets[i].data[r],formattedValue:s,dataset:o.getDataset(),dataIndex:r,datasetIndex:i,element:n}}function sv(e,t){const n=e.chart.ctx,{body:i,footer:r,title:o}=e,{boxWidth:a,boxHeight:s}=t,l=hm(t.bodyFont),c=hm(t.titleFont),u=hm(t.footerFont),d=o.length,h=r.length,f=i.length,p=dm(t.padding);let m=p.height,g=0,b=i.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);b+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),b&&(m+=f*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(b-f)*l.lineHeight+(b-1)*t.bodySpacing),h&&(m+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let v=0;const y=function(e){g=Math.max(g,n.measureText(e).width+v)};return n.save(),n.font=c.string,Lf(e.title,y),n.font=l.string,Lf(e.beforeBody.concat(e.afterBody),y),v=t.displayColors?a+2+t.boxPadding:0,Lf(i,e=>{Lf(e.before,y),Lf(e.lines,y),Lf(e.after,y)}),v=0,n.font=u.string,Lf(e.footer,y),n.restore(),g+=p.width,{width:g,height:m}}function lv(e,t,n,i){const{x:r,width:o}=n,{width:a,chartArea:{left:s,right:l}}=e;let c="center";return"center"===i?c=r<=(s+l)/2?"left":"right":r<=o/2?c="left":r>=a-o/2&&(c="right"),function(e,t,n,i){const{x:r,width:o}=i,a=n.caretSize+n.caretPadding;return"left"===e&&r+o+a>t.width||"right"===e&&r-o-a<0||void 0}(c,e,t,n)&&(c="center"),c}function cv(e,t,n){const i=n.yAlign||t.yAlign||function(e,t){const{y:n,height:i}=t;return n<i/2?"top":n>e.height-i/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||lv(e,t,n,i),yAlign:i}}function uv(e,t,n,i){const{caretSize:r,caretPadding:o,cornerRadius:a}=e,{xAlign:s,yAlign:l}=n,c=r+o,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=um(a);let p=function(e,t){let{x:n,width:i}=e;return"right"===t?n-=i:"center"===t&&(n-=i/2),n}(t,s);const m=function(e,t,n){let{y:i,height:r}=e;return"top"===t?i+=n:i-="bottom"===t?r+n:r/2,i}(t,l,c);return"center"===l?"left"===s?p+=c:"right"===s&&(p-=c):"left"===s?p-=Math.max(u,h)+r:"right"===s&&(p+=Math.max(d,f)+r),{x:pp(p,0,i.width-t.width),y:pp(m,0,i.height-t.height)}}function dv(e,t,n){const i=dm(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-i.right:e.x+i.left}function hv(e){return rv([],ov(e))}function fv(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const pv={beforeTitle:kf,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,i=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(i>0&&t.dataIndex<i)return n[t.dataIndex]}return""},afterTitle:kf,beforeBody:kf,beforeLabel:kf,label(e){if(this&&this.options&&"dataset"===this.options.mode)return e.label+": "+e.formattedValue||e.formattedValue;let t=e.dataset.label||"";t&&(t+=": ");const n=e.formattedValue;return Mf(n)||(t+=n),t},labelColor(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{borderColor:t.borderColor,backgroundColor:t.backgroundColor,borderWidth:t.borderWidth,borderDash:t.borderDash,borderDashOffset:t.borderDashOffset,borderRadius:0}},labelTextColor(){return this.options.bodyColor},labelPointStyle(e){const t=e.chart.getDatasetMeta(e.datasetIndex).controller.getStyle(e.dataIndex);return{pointStyle:t.pointStyle,rotation:t.rotation}},afterLabel:kf,afterBody:kf,beforeFooter:kf,footer:kf,afterFooter:kf};function mv(e,t,n,i){const r=e[t].call(n,i);return void 0===r?pv[t].call(n,i):r}class gv extends nb{static positioners=iv;constructor(e){super(),this.opacity=0,this._active=[],this._eventPosition=void 0,this._size=void 0,this._cachedAnimations=void 0,this._tooltipItems=[],this.$animations=void 0,this.$context=void 0,this.chart=e.chart,this.options=e.options,this.dataPoints=void 0,this.title=void 0,this.beforeBody=void 0,this.body=void 0,this.afterBody=void 0,this.footer=void 0,this.xAlign=void 0,this.yAlign=void 0,this.x=void 0,this.y=void 0,this.height=void 0,this.width=void 0,this.caretX=void 0,this.caretY=void 0,this.labelColors=void 0,this.labelPointStyles=void 0,this.labelTextColors=void 0}initialize(e){this.options=e,this._cachedAnimations=void 0,this.$context=void 0}_resolveAnimations(){const e=this._cachedAnimations;if(e)return e;const t=this.chart,n=this.options.setContext(this.getContext()),i=n.enabled&&t.options.animation&&n.animations,r=new lg(this.chart,i);return i._cacheable&&(this._cachedAnimations=Object.freeze(r)),r}getContext(){return this.$context||(this.$context=pm(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"}))}getTitle(e,t){const{callbacks:n}=t,i=mv(n,"beforeTitle",this,e),r=mv(n,"title",this,e),o=mv(n,"afterTitle",this,e);let a=[];return a=rv(a,ov(i)),a=rv(a,ov(r)),a=rv(a,ov(o)),a}getBeforeBody(e,t){return hv(mv(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:n}=t,i=[];return Lf(e,e=>{const t={before:[],lines:[],after:[]},r=fv(n,e);rv(t.before,ov(mv(r,"beforeLabel",this,e))),rv(t.lines,mv(r,"label",this,e)),rv(t.after,ov(mv(r,"afterLabel",this,e))),i.push(t)}),i}getAfterBody(e,t){return hv(mv(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,i=mv(n,"beforeFooter",this,e),r=mv(n,"footer",this,e),o=mv(n,"afterFooter",this,e);let a=[];return a=rv(a,ov(i)),a=rv(a,ov(r)),a=rv(a,ov(o)),a}_createItems(e){const t=this._active,n=this.chart.data,i=[],r=[],o=[];let a,s,l=[];for(a=0,s=t.length;a<s;++a)l.push(av(this.chart,t[a]));return e.filter&&(l=l.filter((t,i,r)=>e.filter(t,i,r,n))),e.itemSort&&(l=l.sort((t,i)=>e.itemSort(t,i,n))),Lf(l,t=>{const n=fv(e.callbacks,t);i.push(mv(n,"labelColor",this,t)),r.push(mv(n,"labelPointStyle",this,t)),o.push(mv(n,"labelTextColor",this,t))}),this.labelColors=i,this.labelPointStyles=r,this.labelTextColors=o,this.dataPoints=l,l}update(e,t){const n=this.options.setContext(this.getContext()),i=this._active;let r,o=[];if(i.length){const e=iv[n.position].call(this,i,this._eventPosition);o=this._createItems(n),this.title=this.getTitle(o,n),this.beforeBody=this.getBeforeBody(o,n),this.body=this.getBody(o,n),this.afterBody=this.getAfterBody(o,n),this.footer=this.getFooter(o,n);const t=this._size=sv(this,n),a=Object.assign({},e,t),s=cv(this.chart,n,a),l=uv(n,a,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,r={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(r={opacity:0});this._tooltipItems=o,this.$context=void 0,r&&this._resolveAnimations().update(this,r),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,i){const r=this.getCaretPosition(e,n,i);t.lineTo(r.x1,r.y1),t.lineTo(r.x2,r.y2),t.lineTo(r.x3,r.y3)}getCaretPosition(e,t,n){const{xAlign:i,yAlign:r}=this,{caretSize:o,cornerRadius:a}=n,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:u}=um(a),{x:d,y:h}=e,{width:f,height:p}=t;let m,g,b,v,y,_;return"center"===r?(y=h+p/2,"left"===i?(m=d,g=m-o,v=y+o,_=y-o):(m=d+f,g=m+o,v=y-o,_=y+o),b=m):(g="left"===i?d+Math.max(s,c)+o:"right"===i?d+f-Math.max(l,u)-o:this.caretX,"top"===r?(v=h,y=v-o,m=g-o,b=g+o):(v=h+p,y=v+o,m=g+o,b=g-o),_=v),{x1:m,x2:g,x3:b,y1:v,y2:y,y3:_}}drawTitle(e,t,n){const i=this.title,r=i.length;let o,a,s;if(r){const l=Gm(n.rtl,this.x,this.width);for(e.x=dv(this,n.titleAlign,n),t.textAlign=l.textAlign(n.titleAlign),t.textBaseline="middle",o=hm(n.titleFont),a=n.titleSpacing,t.fillStyle=n.titleColor,t.font=o.string,s=0;s<r;++s)t.fillText(i[s],l.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+a,s+1===r&&(e.y+=n.titleMarginBottom-a)}}_drawColorBox(e,t,n,i,r){const o=this.labelColors[n],a=this.labelPointStyles[n],{boxHeight:s,boxWidth:l}=r,c=hm(r.bodyFont),u=dv(this,"left",r),d=i.x(u),h=s<c.lineHeight?(c.lineHeight-s)/2:0,f=t.y+h;if(r.usePointStyle){const t={radius:Math.min(l,s)/2,pointStyle:a.pointStyle,rotation:a.rotation,borderWidth:1},n=i.leftForLtr(d,l)+l/2,c=f+s/2;e.strokeStyle=r.multiKeyBackground,e.fillStyle=r.multiKeyBackground,Gp(e,t,n,c),e.strokeStyle=o.borderColor,e.fillStyle=o.backgroundColor,Gp(e,t,n,c)}else{e.lineWidth=Pf(o.borderWidth)?Math.max(...Object.values(o.borderWidth)):o.borderWidth||1,e.strokeStyle=o.borderColor,e.setLineDash(o.borderDash||[]),e.lineDashOffset=o.borderDashOffset||0;const t=i.leftForLtr(d,l),n=i.leftForLtr(i.xPlus(d,1),l-2),a=um(o.borderRadius);Object.values(a).some(e=>0!==e)?(e.beginPath(),e.fillStyle=r.multiKeyBackground,rm(e,{x:t,y:f,w:l,h:s,radius:a}),e.fill(),e.stroke(),e.fillStyle=o.backgroundColor,e.beginPath(),rm(e,{x:n,y:f+1,w:l-2,h:s-2,radius:a}),e.fill()):(e.fillStyle=r.multiKeyBackground,e.fillRect(t,f,l,s),e.strokeRect(t,f,l,s),e.fillStyle=o.backgroundColor,e.fillRect(n,f+1,l-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:i}=this,{bodySpacing:r,bodyAlign:o,displayColors:a,boxHeight:s,boxWidth:l,boxPadding:c}=n,u=hm(n.bodyFont);let d=u.lineHeight,h=0;const f=Gm(n.rtl,this.x,this.width),p=function(n){t.fillText(n,f.x(e.x+h),e.y+d/2),e.y+=d+r},m=f.textAlign(o);let g,b,v,y,_,C,w;for(t.textAlign=o,t.textBaseline="middle",t.font=u.string,e.x=dv(this,m,n),t.fillStyle=n.bodyColor,Lf(this.beforeBody,p),h=a&&"right"!==m?"center"===o?l/2+c:l+2+c:0,y=0,C=i.length;y<C;++y){for(g=i[y],b=this.labelTextColors[y],t.fillStyle=b,Lf(g.before,p),v=g.lines,a&&v.length&&(this._drawColorBox(t,e,y,f,n),d=Math.max(u.lineHeight,s)),_=0,w=v.length;_<w;++_)p(v[_]),d=u.lineHeight;Lf(g.after,p)}h=0,d=u.lineHeight,Lf(this.afterBody,p),e.y-=r}drawFooter(e,t,n){const i=this.footer,r=i.length;let o,a;if(r){const s=Gm(n.rtl,this.x,this.width);for(e.x=dv(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline="middle",o=hm(n.footerFont),t.fillStyle=n.footerColor,t.font=o.string,a=0;a<r;++a)t.fillText(i[a],s.x(e.x),e.y+o.lineHeight/2),e.y+=o.lineHeight+n.footerSpacing}}drawBackground(e,t,n,i){const{xAlign:r,yAlign:o}=this,{x:a,y:s}=e,{width:l,height:c}=n,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=um(i.cornerRadius);t.fillStyle=i.backgroundColor,t.strokeStyle=i.borderColor,t.lineWidth=i.borderWidth,t.beginPath(),t.moveTo(a+u,s),"top"===o&&this.drawCaret(e,t,n,i),t.lineTo(a+l-d,s),t.quadraticCurveTo(a+l,s,a+l,s+d),"center"===o&&"right"===r&&this.drawCaret(e,t,n,i),t.lineTo(a+l,s+c-f),t.quadraticCurveTo(a+l,s+c,a+l-f,s+c),"bottom"===o&&this.drawCaret(e,t,n,i),t.lineTo(a+h,s+c),t.quadraticCurveTo(a,s+c,a,s+c-h),"center"===o&&"left"===r&&this.drawCaret(e,t,n,i),t.lineTo(a,s+u),t.quadraticCurveTo(a,s,a+u,s),t.closePath(),t.fill(),i.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,i=n&&n.x,r=n&&n.y;if(i||r){const n=iv[e.position].call(this,this._active,this._eventPosition);if(!n)return;const o=this._size=sv(this,e),a=Object.assign({},n,this._size),s=cv(t,e,a),l=uv(e,a,s,t);i._to===l.x&&r._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=o.width,this.height=o.height,this.caretX=n.x,this.caretY=n.y,this._resolveAnimations().update(this,l))}}_willRender(){return!!this.opacity}draw(e){const t=this.options.setContext(this.getContext());let n=this.opacity;if(!n)return;this._updateAnimationTarget(t);const i={width:this.width,height:this.height},r={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const o=dm(t.padding),a=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&a&&(e.save(),e.globalAlpha=n,this.drawBackground(r,e,i,t),Qm(e,t.textDirection),r.y+=o.top,this.drawTitle(r,e,t),this.drawBody(r,e,t),this.drawFooter(r,e,t),Ym(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,i=e.map(({datasetIndex:e,index:t})=>{const n=this.chart.getDatasetMeta(e);if(!n)throw new Error("Cannot find a dataset at index "+e);return{datasetIndex:e,element:n.data[t],index:t}}),r=!Nf(n,i),o=this._positionChanged(i,t);(r||o)&&(this._active=i,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const i=this.options,r=this._active||[],o=this._getActiveElements(e,r,t,n),a=this._positionChanged(o,e),s=t||!Nf(o,r)||a;return s&&(this._active=o,(i.enabled||i.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,i){const r=this.options;if("mouseout"===e.type)return[];if(!i)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index));const o=this.chart.getElementsAtEventForMode(e,r.mode,r,n);return r.reverse&&o.reverse(),o}_positionChanged(e,t){const{caretX:n,caretY:i,options:r}=this,o=iv[r.position].call(this,e,t);return!1!==o&&(n!==o.x||i!==o.y)}}var bv={id:"tooltip",_element:gv,positioners:iv,afterInit(e,t,n){n&&(e.tooltip=new gv({chart:e,options:n}))},beforeUpdate(e,t,n){e.tooltip&&e.tooltip.initialize(n)},reset(e,t,n){e.tooltip&&e.tooltip.initialize(n)},afterDraw(e){const t=e.tooltip;if(t&&t._willRender()){const n={tooltip:t};if(!1===e.notifyPlugins("beforeTooltipDraw",{...n,cancelable:!0}))return;t.draw(e.ctx),e.notifyPlugins("afterTooltipDraw",n)}},afterEvent(e,t){if(e.tooltip){const n=t.replay;e.tooltip.handleEvent(t.event,n,t.inChartArea)&&(t.changed=!0)}},defaults:{enabled:!0,external:null,position:"average",backgroundColor:"rgba(0,0,0,0.8)",titleColor:"#fff",titleFont:{weight:"bold"},titleSpacing:2,titleMarginBottom:6,titleAlign:"left",bodyColor:"#fff",bodySpacing:2,bodyFont:{},bodyAlign:"left",footerColor:"#fff",footerSpacing:2,footerMarginTop:6,footerFont:{weight:"bold"},footerAlign:"left",padding:6,caretPadding:2,caretSize:5,cornerRadius:6,boxHeight:(e,t)=>t.bodyFont.size,boxWidth:(e,t)=>t.bodyFont.size,multiKeyBackground:"#fff",displayColors:!0,boxPadding:0,borderColor:"rgba(0,0,0,0)",borderWidth:0,animation:{duration:400,easing:"easeOutQuart"},animations:{numbers:{type:"number",properties:["x","y","width","height","caretX","caretY"]},opacity:{easing:"linear",duration:200}},callbacks:pv},defaultRoutes:{bodyFont:"font",footerFont:"font",titleFont:"font"},descriptors:{_scriptable:e=>"filter"!==e&&"itemSort"!==e&&"external"!==e,_indexable:!1,callbacks:{_scriptable:!1,_indexable:!1},animation:{_fallback:!1},animations:{_fallback:"animation"}},additionalOptionScopes:["interaction"]};function vv(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}function yv(e,t,{horizontal:n,minRotation:i}){const r=lp(i),o=(n?Math.sin(r):Math.cos(r))||.001,a=.75*t*(""+e).length;return Math.min(t/o,a)}class _v extends db{constructor(e){super(e),this.start=void 0,this.end=void 0,this._startValue=void 0,this._endValue=void 0,this._valueRange=0}parse(e,t){return Mf(e)||("number"==typeof e||e instanceof Number)&&!isFinite(+e)?null:+e}handleTickRangeOptions(){const{beginAtZero:e}=this.options,{minDefined:t,maxDefined:n}=this.getUserBounds();let{min:i,max:r}=this;const o=e=>i=t?i:e,a=e=>r=n?r:e;if(e){const e=rp(i),t=rp(r);e<0&&t<0?a(0):e>0&&t>0&&o(0)}if(i===r){let t=0===r?1:Math.abs(.05*r);a(r+t),e||o(i-t)}this.min=i,this.max=r}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:i}=e;return i?(t=Math.ceil(this.max/i)-Math.floor(this.min/i)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${i} would result generating up to ${t} ticks. Limiting to 1000.`),t=1e3)):(t=this.computeTickLimit(),n=n||11),n&&(t=Math.min(n,t)),t}computeTickLimit(){return Number.POSITIVE_INFINITY}buildTicks(){const e=this.options,t=e.ticks;let n=this.getTickLimit();n=Math.max(2,n);const i=function(e,t){const n=[],{bounds:i,step:r,min:o,max:a,precision:s,count:l,maxTicks:c,maxDigits:u,includeBounds:d}=e,h=r||1,f=c-1,{min:p,max:m}=t,g=!Mf(o),b=!Mf(a),v=!Mf(l),y=(m-p)/(u+1);let _,C,w,x,E=ap((m-p)/f/h)*h;if(E<1e-14&&!g&&!b)return[{value:p},{value:m}];x=Math.ceil(m/E)-Math.floor(p/E),x>f&&(E=ap(x*E/f/h)*h),Mf(s)||(_=Math.pow(10,s),E=Math.ceil(E*_)/_),"ticks"===i?(C=Math.floor(p/E)*E,w=Math.ceil(m/E)*E):(C=p,w=m),g&&b&&r&&function(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}((a-o)/r,E/1e3)?(x=Math.round(Math.min((a-o)/E,c)),E=(a-o)/x,C=o,w=a):v?(C=g?o:C,w=b?a:w,x=l-1,E=(w-C)/x):(x=(w-C)/E,x=op(x,Math.round(x),E/1e3)?Math.round(x):Math.ceil(x));const S=Math.max(cp(E),cp(C));_=Math.pow(10,Mf(s)?S:s),C=Math.round(C*_)/_,w=Math.round(w*_)/_;let k=0;for(g&&(d&&C!==o?(n.push({value:o}),C<o&&k++,op(Math.round((C+k*E)*_)/_,o,yv(o,y,e))&&k++):C<o&&k++);k<x;++k){const e=Math.round((C+k*E)*_)/_;if(b&&e>a)break;n.push({value:e})}return b&&d&&w!==a?n.length&&op(n[n.length-1].value,a,yv(a,y,e))?n[n.length-1].value=a:n.push({value:a}):b&&w!==a||n.push({value:w}),n}({maxTicks:n,bounds:e.bounds,min:e.min,max:e.max,precision:t.precision,step:t.stepSize,count:t.count,maxDigits:this._maxDigits(),horizontal:this.isHorizontal(),minRotation:t.minRotation||0,includeBounds:!1!==t.includeBounds},this._range||this);return"ticks"===e.bounds&&function(e,t,n){let i,r,o;for(i=0,r=e.length;i<r;i++)o=e[i][n],isNaN(o)||(t.min=Math.min(t.min,o),t.max=Math.max(t.max,o))}(i,this,"value"),e.reverse?(i.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),i}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const i=(n-t)/Math.max(e.length-1,1)/2;t-=i,n+=i}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return Np(e,this.chart.options.locale,this.options.ticks.format)}}class Cv extends _v{static id="linear";static defaults={ticks:{callback:Fp.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=jf(e)?e:0,this.max=jf(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=lp(this.options.ticks.minRotation),i=(e?Math.sin(n):Math.cos(n))||.001,r=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,r.lineHeight/i))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}Fp.formatters.logarithmic,Fp.formatters.numeric,Ub.register(class extends db{static id="category";static defaults={ticks:{callback:vv}};constructor(e){super(e),this._startValue=void 0,this._valueRange=0,this._addedLabels=[]}init(e){const t=this._addedLabels;if(t.length){const e=this.getLabels();for(const{index:n,label:i}of t)e[n]===i&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(Mf(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:pp(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:function(e,t,n,i){const r=e.indexOf(t);return-1===r?((e,t,n,i)=>("string"==typeof t?(n=e.push(t)-1,i.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,i):r!==e.lastIndexOf(t)?n:r}(n,e,Tf(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:i}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(i=this.getLabels().length-1)),this.min=n,this.max=i}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,i=[];let r=this.getLabels();r=0===e&&t===r.length-1?r:r.slice(e,t+1),this._valueRange=Math.max(r.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)i.push({value:n});return i}getLabelForValue(e){return vv.call(this,e)}configure(){super.configure(),this.isHorizontal()||(this._reversePixels=!this._reversePixels)}getPixelForValue(e){return"number"!=typeof e&&(e=this.parse(e)),null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getPixelForTick(e){const t=this.ticks;return e<0||e>t.length-1?null:this.getPixelForValue(t[e].value)}getValueForPixel(e){return Math.round(this._startValue+this.getDecimalForPixel(e)*this._valueRange)}getBasePixel(){return this.bottom}},Cv,class extends nb{static id="point";parsed;skip;stop;static defaults={borderWidth:1,hitRadius:1,hoverBorderWidth:1,hoverRadius:4,pointStyle:"circle",radius:3,rotation:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};constructor(e){super(),this.options=void 0,this.parsed=void 0,this.skip=void 0,this.stop=void 0,e&&Object.assign(this,e)}inRange(e,t,n){const i=this.options,{x:r,y:o}=this.getProps(["x","y"],n);return Math.pow(e-r,2)+Math.pow(t-o,2)<Math.pow(i.hitRadius+i.radius,2)}inXRange(e,t){return Yb(this,e,"x",t)}inYRange(e,t){return Yb(this,e,"y",t)}getCenterPoint(e){const{x:t,y:n}=this.getProps(["x","y"],e);return{x:t,y:n}}size(e){let t=(e=e||this.options||{}).radius||0;return t=Math.max(t,t&&e.hoverRadius||0),2*(t+(t&&e.borderWidth||0))}draw(e,t){const n=this.options;this.skip||n.radius<.1||!Yp(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,Gp(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}},class extends nb{static id="line";static defaults={borderCapStyle:"butt",borderDash:[],borderDashOffset:0,borderJoinStyle:"miter",borderWidth:3,capBezierPoints:!0,cubicInterpolationMode:"default",fill:!1,spanGaps:!1,stepped:!1,tension:0};static defaultRoutes={backgroundColor:"backgroundColor",borderColor:"borderColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e&&"fill"!==e};constructor(e){super(),this.animated=!0,this.options=void 0,this._chart=void 0,this._loop=void 0,this._fullLoop=void 0,this._path=void 0,this._points=void 0,this._segments=void 0,this._decimated=!1,this._pointsUpdated=!1,this._datasetIndex=void 0,e&&Object.assign(this,e)}updateControlPoints(e,t){const n=this.options;if((n.tension||"monotone"===n.cubicInterpolationMode)&&!n.stepped&&!this._pointsUpdated){const i=n.spanGaps?this._loop:this._fullLoop;Tm(this._points,n,e,i,t),this._pointsUpdated=!0}}set points(e){this._points=e,delete this._segments,delete this._path,this._pointsUpdated=!1}get points(){return this._points}get segments(){return this._segments||(this._segments=function(e,t){const n=e.points,i=e.options.spanGaps,r=n.length;if(!r)return[];const o=!!e._loop,{start:a,end:s}=function(e,t,n,i){let r=0,o=t-1;if(n&&!i)for(;r<t&&!e[r].skip;)r++;for(;r<t&&e[r].skip;)r++;for(r%=t,n&&(o+=r);o>r&&e[o%t].skip;)o--;return o%=t,{start:r,end:o}}(n,r,o,i);return function(e,t,n,i){return i&&i.setContext&&n?function(e,t,n,i){const r=e._chart.getContext(),o=eg(e.options),{_datasetIndex:a,options:{spanGaps:s}}=e,l=n.length,c=[];let u=o,d=t[0].start,h=d;function f(e,t,i,r){const o=s?-1:1;if(e!==t){for(e+=l;n[e%l].skip;)e-=o;for(;n[t%l].skip;)t+=o;e%l!==t%l&&(c.push({start:e%l,end:t%l,loop:i,style:r}),u=r,d=t%l)}}for(const e of t){d=s?d:e.start;let t,o=n[d%l];for(h=d+1;h<=e.end;h++){const s=n[h%l];t=eg(i.setContext(pm(r,{type:"segment",p0:o,p1:s,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:a}))),tg(t,u)&&f(d,h-1,e.loop,u),o=s,u=t}d<h-1&&f(d,h-1,e.loop,u)}return c}(e,t,n,i):t}(e,!0===i?[{start:a,end:s,loop:o}]:function(e,t,n,i){const r=e.length,o=[];let a,s=t,l=e[t];for(a=t+1;a<=n;++a){const n=e[a%r];n.skip||n.stop?l.skip||(i=!1,o.push({start:t%r,end:(a-1)%r,loop:i}),t=s=n.stop?a:null):(s=a,l.skip&&(t=a)),l=n}return null!==s&&o.push({start:t%r,end:s%r,loop:i}),o}(n,a,s<a?s+r:s,!!e._fullLoop&&0===a&&s===r-1),n,t)}(this,this.options.segment))}first(){const e=this.segments,t=this.points;return e.length&&t[e[0].start]}last(){const e=this.segments,t=this.points,n=e.length;return n&&t[e[n-1].end]}interpolate(e,t){const n=this.options,i=e[t],r=this.points,o=function(e,t){const n=[],i=e.segments;for(let r=0;r<i.length;r++){const o=Jm(i[r],e.points,t);o.length&&n.push(...o)}return n}(this,{property:t,start:i,end:i});if(!o.length)return;const a=[],s=function(e){return e.stepped?Zm:e.tension||"monotone"===e.cubicInterpolationMode?qm:Wm}(n);let l,c;for(l=0,c=o.length;l<c;++l){const{start:c,end:u}=o[l],d=r[c],h=r[u];if(d===h){a.push(d);continue}const f=s(d,h,Math.abs((i-d[t])/(h[t]-d[t])),n.stepped);f[t]=e[t],a.push(f)}return 1===a.length?a[0]:a}pathSegment(e,t,n){return Gb(this)(e,this,t,n)}path(e,t,n){const i=this.segments,r=Gb(this);let o=this._loop;t=t||0,n=n||this.points.length-t;for(const a of i)o&=r(e,this,a,{start:t,end:t+n-1});return!!o}draw(e,t,n,i){const r=this.options||{};(this.points||[]).length&&r.borderWidth&&(e.save(),function(e,t,n,i){Qb&&!t.options.segment?function(e,t,n,i){let r=t._path;r||(r=t._path=new Path2D,t.path(r,n,i)&&r.closePath()),$b(e,t.options),e.stroke(r)}(e,t,n,i):function(e,t,n,i){const{segments:r,options:o}=t,a=Gb(t);for(const s of r)$b(e,o,s.style),e.beginPath(),a(e,t,s,{start:n,end:n+i-1})&&e.closePath(),e.stroke()}(e,t,n,i)}(e,this,n,i),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}},nv,bv,ev);var wv=({id:e,type:t="block",className:n="",children:i,isLoaded:o=!1,isInline:a=!1,isGrayScale:s=!1,size:l={width:"",height:""},_style:c={},_htmlProps:u={}})=>{let d=(0,r.useId)(),h=e||`sui-skeleton-${d}`,f=`sui-skeleton__${t} ${n}`,{width:p,height:m}=l,g={...p&&{width:`${p}`},...m&&{height:`${m}`},...c},{suiInlineClassname:b}=br(g,f);if(o)return i;let v=kr("sui-skeleton",{inline:a,grayscale:s},b);return(0,Fr.jsx)("div",{id:h,className:v,...Rr(u)})},xv=({id:e,name:t="Info",size:n="sm",colorScheme:i="",onClick:r=()=>null})=>{if(Ar(t)||Ir(t??""))throw new Error('Required parameter is empty. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Button\n\nThe "name" parameter in the icon element is required and must not be empty.\n\n');let o=ml[t];return(0,Fr.jsx)("span",{id:e,className:"sui-tooltip__icon","aria-hidden":"true",onClick:r,children:(0,Fr.jsx)(o,{size:n,colorScheme:i})})},Ev=({id:e,label:t,type:n="button",className:i,placement:o="top",customWidth:a,customMobileWidth:s,children:l,onClick:c,onMouseLeave:u=()=>{},onFocus:d=()=>{},onBlur:h=()=>{},icon:f,iconSize:p="sm",iconColor:m,buttonProps:g,_htmlProps:b={},_style:v={}})=>{let y=qn(),_=(0,r.useId)(),C=e||`sui-tooltip-${_}`,w=e?`sui-tooltip-trigger-${C}`:`sui-tooltip-trigger-${_}`,[x,E]=(0,r.useState)(!1),[S,k]=(0,r.useState)({top:0,left:0}),O=(0,r.useRef)(null),M=(0,r.useRef)(null),[A]=xr("body"),[P,j,I,T]=wr({onMouseEnter:e=>{if(O.current){let e=O?.current?.getBoundingClientRect(),t=M?.current?.getBoundingClientRect(),n=document.getElementById(C+"-popup"),i=n?.clientHeight||0,r=n?.clientWidth||0,a=y?"right":"left",s=e.left;if(!n)return;y&&(s=window.innerWidth-e.right),n&&window.getComputedStyle(n);let l={top:`${e.top+window.scrollY}px`};switch(o){case"top":case"top-left":case"top-right":l={...l,top:e.top-i-10+window.scrollY},"top-right"===o?l={...l,[a]:s-r+(t?.width??0)}:"top"===o?l={...l,left:e.left+(t?.width??0)/2+window.scrollX}:"top-left"===o&&(l={...l,[a]:s});break;case"bottom":case"bottom-left":case"bottom-right":l={...l,top:e.top+(t?.height??0)+10+window.scrollY},"bottom-right"===o?l={...l,[a]:s-r+(t?.width??0)}:"bottom"===o?l={...l,left:e.left+(t?.width??0)/2+window.scrollY}:"bottom-left"===o&&(l={...l,[a]:s});break;case"right":case"right-top":case"right-bottom":l={...l,[a]:s+(t?.width??0)+10},l="right-top"===o?{...l,top:e.top+window.scrollY}:"right-bottom"===o?{...l,top:e.top+(t?.height??0)-i+window.scrollY}:{...l,top:e.top+(t?.height??0)/2};break;case"left":case"left-top":case"left-bottom":l={...l,[a]:s-r-10},l="left-top"===o?{...l,top:e.top}:"left-bottom"===o?{...l,top:e.top+(t?.height??0)-i}:{...l,top:e.top+(t?.height??0)/2}}k(l)}E(!0)},onMouseLeave:e=>{E(!1),u(e)},onFocus:d,onBlur:h}),D={},{suiInlineClassname:L}=br(v,i??""),N=kr("sui-tooltip",{focus:j},L);(a||s)&&(D.style={...S,...a&&{"--tooltip-width":`${a}px`,"--tooltip-width-mobile":`${a}px`},...s&&{"--tooltip-width-mobile":`${s}px`}}),e&&(w=e);let R=(0,r.useCallback)(e=>{"keyCode"in e&&"Escape"===e.code&&P&&T(!1)},[P,T]);(0,r.useEffect)(()=>(document.addEventListener("keydown",R),()=>{document.removeEventListener("keydown",R)}),[R]);let F=(0,r.useCallback)(()=>{c&&c()},[c]);return(0,Fr.jsxs)("div",{id:C,...I,className:N,"data-testid":"tooltip",ref:O,...Rr(b),children:[(0,Fr.jsx)("div",{id:`${C}-trigger`,className:"sui-tooltip__trigger",ref:M,children:(()=>{switch(n){case"button":return(0,Fr.jsx)(wl,{id:w,...g,...f&&{icon:f},...p&&{iconSize:p},onClick:F,children:t});case"text":return(0,Fr.jsx)("span",{id:w,role:"button",tabIndex:0,onClick:F,onKeyDown:e=>Dr(e),children:t});case"icon":return c?(0,Fr.jsx)("span",{id:w,className:"sui-tooltip__trigger--icon",role:"button",tabIndex:0,onClick:F,onKeyDown:e=>Dr(e,F),children:(0,Fr.jsx)(xv,{name:f,size:p,colorScheme:m})}):(0,Fr.jsx)(xv,{id:w,name:f,size:p,colorScheme:m});default:return(0,Fr.jsx)("span",{id:w,children:t})}})()}),!!l&&A((0,Fr.jsx)("div",{id:`${C}-popup`,className:kr("sui-tooltip__popup",{show:x,focus:j,"custom-width":!!a,[o]:!0,icon:!!f}),role:"tooltip","aria-live":"polite","aria-hidden":!x,tabIndex:x?0:-1,"data-testid":"tooltip-popup",style:S,...D,children:l}))]})};n.p;var Sv=n.p+"images/google.svg",kv=n.p+"images/login-logo.svg",Ov=n.p+"images/host.svg",Mv=n.p+"images/client.svg",Av=({id:e,design:t,colorScheme:n,contentWrap:i="default",className:o,isSmall:a=!1,isUppercase:s=!1,isDisabled:l=!1,isDismissable:c=!1,children:u,onDismiss:d=()=>{},_htmlProps:h={},_style:f={}})=>{let p=(0,r.useId)(),m=e||`sui-tag-${p}`,g="outlined"===t,b=!Ar(n)&&!Ir(n),v=["multiline","truncated"].includes(i),{suiInlineClassname:y}=br(f,o),_=kr("sui-tag",{[`${t}-${n}`]:g&&b,[t]:g,[n]:!g&&b,[i]:v,sm:a,uppercase:s,disabled:l},y);return u=_r(u,"{tag content}"),(0,Fr.jsx)("span",{id:m,className:_,...Rr(h),"data-testid":"tag",children:(0,Fr.jsxs)("div",{className:"sui-tag__wrapper",children:[(0,Fr.jsx)("span",{className:"sui-tag__label",children:u}),c&&(0,Fr.jsxs)("button",{className:"sui-tag__cta",onClick:d,children:[(0,Fr.jsx)("span",{"aria-hidden":"true",children:(0,Fr.jsx)(Ca,{size:"xs"})}),(0,Fr.jsx)("span",{className:"sui-screen-reader-only",tabIndex:-1,children:"Dismiss"})]})]})})},Pv=({id:e,label:t,description:n,defaultValue:i=!1,isLabelHidden:o=!1,isDisabled:a=!1,onClick:s,_htmlProps:l={},_style:c={},...u})=>{let d=(0,r.useId)(),h=e||`sui-toggle-${d}`,[f,p]=(0,r.useState)(i),[m,g,b]=wr({onMouseEnter:u?.onMouseEnter,onMouseLeave:u?.onMouseLeave,onMouseDownCapture:u?.onMouseDownCapture,onBlur:u?.onBlur,onBlurCapture:u?.onBlurCapture});(0,r.useEffect)(()=>{Pr(i)?p(i):p(i??!1)},[i]);let v=(0,r.useCallback)(e=>{p(!f),s&&s(e)},[s,f]),{suiInlineClassname:y}=br(c),_={className:kr("sui-toggle",{"hidden-label":o,checked:f,disabled:a,hover:!f&&m,focus:!f&&g,"checked-hover":f&&m,"checked-focus":f&&g},y),...b},C={type:"checkbox",className:"sui-screen-reader-only",defaultChecked:f,disabled:a,...u};return(0,Fr.jsxs)("div",{className:"sui-toggle__container",id:`${h}-container`,children:[(0,Fr.jsxs)("label",{..._,htmlFor:h,"data-testid":"toggle",children:[(0,Fr.jsx)("input",{...C,id:h,onChange:v,...Rr(l)}),(0,Fr.jsx)("span",{tabIndex:-1,className:"sui-toggle__switch",id:`${h}-switch`}),o&&(0,Fr.jsx)("span",{className:"sui-screen-reader-only",id:`${h}-label`,children:t}),!o&&(0,Fr.jsx)("span",{className:"sui-toggle__label",id:`${h}-label`,"data-testid":"toggle-label",children:t})]}),n&&(0,Fr.jsx)("div",{id:`${h}-description`,className:"sui-toggle__description","data-testid":"toggle-description",children:n})]})},jv=({id:e,title:t="Widget Title",description:n="Widget Description",icon:i,tag:o,tagProps:a,statusIcon:s,statusProps:l,isExpanded:c=!0,isDisabled:u=!1,isFullWidth:d=!1,canCollapse:h=!1,onToggle:f=()=>{},children:p,actions:m,_htmlProps:g,_style:b={}})=>{let v=(0,r.useId)(),y=e||`sui-dashboard-widget-${v}`,{suiInlineClassname:_}=br(b),C=kr("sui-dashboard-widget",{expanded:c,disabled:u,full:d},_);p=_r(p);let w=(0,r.useCallback)(()=>{f&&f(!c)},[c,f]),x=null;i&&(x=ml[i]);let E=null;s&&(E=ml[s]);let S={...a};return(0,Fr.jsxs)("div",{id:y,className:C,"data-testid":"dashboard-widget",...Rr(g),children:[(0,Fr.jsxs)("div",{id:`${y}-header`,className:"sui-dashboard-widget__header",children:[(0,Fr.jsxs)("div",{id:`${y}-header-title`,className:"sui-dashboard-widget__header-title",children:[(0,Fr.jsxs)("div",{id:`${y}-header-info`,className:"sui-dashboard-widget__header-info",children:[x&&(0,Fr.jsx)(x,{id:`${y}-icon`,size:"md"}),(0,Fr.jsxs)("h4",{id:`${y}-title`,className:"sui-heading--h4 sui-dashboard-widget__header-title",children:[t,o&&(0,Fr.jsx)(Av,{id:`${y}-tag`,colorScheme:"black",design:"outlined",...S??{},children:o}),E&&(0,Fr.jsx)(E,{id:`${y}-status-icon`,size:"sm",...l??{}})]})]}),h&&(0,Fr.jsx)("div",{id:`${y}-header-actions`,className:"sui-dashboard-widget__header-actions","data-testid":"dashboard-widget-",children:(0,Fr.jsx)(Pv,{id:`${y}-toggle`,isLabelHidden:!0,label:"Toggle Widget",defaultValue:c??!1,onClick:w,isDisabled:u??!1})})]}),n&&(0,Fr.jsx)("div",{id:`${y}-description`,className:"sui-dashboard-widget__header-desc",children:n})]}),c&&(0,Fr.jsxs)(r.Fragment,{children:[p&&(0,Fr.jsx)("div",{id:`${y}-body`,className:"sui-dashboard-widget__body",children:p}),m&&(0,Fr.jsx)("div",{id:`${y}-footer`,className:"sui-dashboard-widget__footer",children:m})]})]})};jv.displayName="DashboardWidget";var Iv=({id:e,label:t,helper:n,children:i,spacing:o="",onToggle:a=()=>null,noBorderRadius:s=!1,_htmlProps:l,_style:c})=>{let u=(0,r.useId)(),d=e||`sui-field-list-${u}`,{suiInlineClassname:h}=br(c),f=(0,r.useCallback)((e,t)=>{a(e,t)},[a]);i=_r(i,(0,Fr.jsx)(Fr.Fragment,{children:"{field List children content}"}));let p={};return o&&(p={padding:o}),(0,Fr.jsxs)("div",{id:d,className:kr("sui-field-list",{"no-border-radius":s},h),"data-testid":"field-list",...Rr(l),children:[(t||n)&&(0,Fr.jsxs)("div",{id:`${d}-header`,className:"sui-field-list__row",style:p,children:[t&&(0,Fr.jsx)("h3",{className:"sui-heading sui-heading--h4 sui-field-list__title",children:t}),n&&(0,Fr.jsx)("p",{className:"sui-field-list__helper",children:n})]}),(0,Fr.jsx)("div",{id:`${d}-items`,className:"sui-field-list__items",children:r.Children.map(i,e=>(0,r.cloneElement)(e,{onToggle:f,style:p}))})]})},Tv=({id:e,isChecked:t=!1,children:n,hasToggle:i=!0,actions:o,onToggle:a,_htmlProps:s={},style:l,_style:c,...u})=>{let d=(0,r.useId)();e||(e=`sui-field-list-${d}`),n=_r(n,"{field list item content}");let h=(0,r.useCallback)(t=>{a&&a(e,t?.target?.checked)},[e,a]),{suiInlineClassname:f}=br(c);return(0,Fr.jsxs)("div",{className:kr("sui-field-list__item",{disabled:u?.isDisabled,"no-toggle":!i},f),style:l,"data-testid":"field-list-item",...Rr(s),children:[(0,Fr.jsx)("div",{className:"sui-field-list__item-label",id:`${d}-label`,children:n}),i&&(0,Fr.jsx)("div",{className:"sui-field-list__item-checkbox",id:`${d}-checkbox`,children:(0,Fr.jsx)(Pv,{id:e,label:n,isLabelHidden:!0,defaultValue:t??!1,onClick:h,...u})}),!!o&&(0,Fr.jsx)("div",{className:"sui-field-list__item-actions",id:`${d}-actions`,children:o})]})},Dv=n(9907),Lv=Dv.default||Dv;function Nv(e){return Nv="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},Nv(e)}function Rv(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Fv(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Rv(Object(n),!0).forEach(function(t){zv(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Rv(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function zv(e,t,n){return(t=function(e){var t=function(e){if("object"!=Nv(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Nv(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Nv(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hv(e){return function(e){if(Array.isArray(e))return $v(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Vv(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 Uv(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||Vv(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 Vv(e,t){if(e){if("string"==typeof e)return $v(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?$v(e,t):void 0}}function $v(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Bv={is_installed:"",is_addon:(0,zn.__)("Add-on plugins"),available:(0,zn.__)("Available plugins"),can_update:(0,zn.__)("Full Membership")},Wv=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.fetchFreePlugins,n=void 0!==t&&t,i=e.onInstall,o=e.onUninstall,a=e.onUpdate,s=e.onActivate,l=e.onDeactivate,c=e.filterAddons,u=void 0===c||c,d="plugins",h="free-plugins",f=Ml().push,p=Uv((0,r.useState)([]),2),m=p[0],g=p[1],b=Uv((0,r.useState)({}),2),v=b[0],y=b[1],_=Uv((0,r.useState)(null),2),C=_[0],w=_[1],x=Uv((0,r.useState)(0),2),E=x[0],S=x[1],k=Uv((0,r.useState)(n),2),O=k[0],M=k[1],A="".concat(d,"/action"),P=yd(d,{include_changelog:!1}),j=P.data,I=P.isLoading,T=P.refetch,D=P.isRefetching,L=yd(h,{},O);(0,r.useEffect)(function(){n&&M(!0)},[n]),(0,r.useEffect)(function(){var e,t,n=(null==j?void 0:j.data)||[];if(O&&null!=L&&null!==(e=L.data)&&void 0!==e&&e.success){var i,r,o=Object.values(null!==(i=null==L||null===(r=L.data)||void 0===r?void 0:r.data)&&void 0!==i?i:{});n=[].concat(Hv((null==j?void 0:j.data)||[]),o)}u&&(n=null===(t=n)||void 0===t?void 0:t.filter(function(e){return!(null!=nu&&nu.includes(e.pid))})),g(n)},[j,L.data,O,u]),(0,r.useEffect)(function(){var e=m.filter(function(e){return!!_u(e)}).length;S(e)},[m]);var N=function(e,t,n){var i=m.map(function(i){return i.pid===e?Fv(Fv({},i),{},zv({},t,n)):i});g(i)},R=(0,r.useCallback)(function(){var e={is_installed:[],can_update:[],available:[]};return null==m||m.forEach(function(t){t.is_installed?e.is_installed.push(t):t.can_update?e.available.push(t):e.can_update.push(t)}),0===e.is_installed.length&&0===e.available.length&&0===e.can_update.length?{}:e},[m]),F=(0,r.useCallback)(function(){return null==m?void 0:m.filter(function(e){return!0===e[Wc]&&e[Vc]!==tu||!0===e.is_addon})},[m]),z=(0,r.useCallback)(function(){return null==m?void 0:m.filter(function(e){return!0===e[Bc]&&e[Vc]!==tu})},[m]),H=(0,r.useCallback)(function(e){var t,n,i=Hv(m);return null!=e&&e.filter&&(i=null===(t=i)||void 0===t?void 0:t.filter(e.filter)),e.limit&&(i=null===(n=i)||void 0===n?void 0:n.slice(0,e.limit)),i},[m]),U=function(e){e.message?f({id:"plugins-action-error",message:Lv(e.message),variation:"warning",icon:"InfoAlt",isDismissible:!0}):f({message:"<strong>Failed:</strong> Whoops, we had an unexpected response from WordPress, please try again.",icon:"Info"})},V=Cd({slug:A,onSuccess:function(e){var t,n=(null!==(t=e.data)&&void 0!==t?t:{}).pid;N(n,Bc,!0),null==i||i()},onError:U,params:{action:iu}}),$=Cd({slug:A,onSuccess:function(e){var t,n=(null!==(t=e.data)&&void 0!==t?t:{}).pid;N(n,Bc,!1);var i=Q(n);f({message:(0,zn.sprintf)("%s deleted successfully.",i),variation:"success"}),null==o||o()},onError:U,params:{action:ru}}),B=Cd({slug:A,onSuccess:function(e){var t,n=(null!==(t=e.data)&&void 0!==t?t:{}).pid;N(n,Zc,!1);var i=Q(n);f({message:(0,zn.sprintf)("%s updated successfully.",i),variation:"success"}),null==a||a()},onError:U,params:{action:ou}}),W=Cd({slug:A,onSuccess:function(){},onError:U,params:{action:cu}}),Z=Cd({slug:A,onSuccess:function(e){var t;null==s||s(),location.reload();var n=(null!==(t=e.data)&&void 0!==t?t:{}).pid;N(n,Wc,!0);var i=Q(n);f({message:(0,zn.sprintf)("%s activated successfully.",i),variation:"success"})},onError:U,params:{action:au}}),q=Cd({slug:A,onSuccess:function(e){var t;null==l||l(),location.reload();var n=(null!==(t=e.data)&&void 0!==t?t:{}).pid;N(n,Wc,!1);var i=Q(n);f({message:(0,zn.sprintf)("%s deactivated successfully.",i),variation:"success"})},onError:U,params:{action:su}}),G=function(e){var t;return null==m||null===(t=m.filter(function(t){return t.pid===e}))||void 0===t?void 0:t[0]},Q=function(e){var t;return null===(t=G(e))||void 0===t?void 0:t[Uc]},Y=C===au||C===su||C===lu,K=wd({saveProps:{slug:A,method:"POST"},onFinish:function(){Y||T()}}),X=K.initQueue,J=K.cancelQueue,ee=K.state,te=K.queue,ne=K.current,ie=K.resetQueue,re=K.isFinished,oe=V.isLoading,ae=$.isLoading,se=B.isLoading,le=Z.isLoading,ce=q.isLoading,ue=oe||ae||se||le||ce,de=O&&(L.isFetching||!L.isFetched);return{proPluginsSlug:d,freePluginsSlug:h,getPluginsList:H,getInstalledPlugins:z,getPluginsInCats:R,installPlugin:V,uninstallPlugin:$,updatePlugin:B,activatePlugin:Z,currentPlugin:v,setCurrentPlugin:y,isActionLoading:ue,deactivatePlugin:q,isInstalling:oe,isUninstalling:ae,isUpdating:se,isActivating:le,isDeactivating:ce,bulkAction:C,setBulkAction:w,getPluginById:G,initQueue:X,cancelQueue:J,resetQueue:ie,queue:te,current:ne,state:ee,getPluginActionState:function(e,t){var n=null==e?void 0:e.find(function(e){return e.payload.pid===t});return(null==n?void 0:n.status)||"in-queue"},getPluginActionError:function(e,t){var n,i=null==e?void 0:e.find(function(e){return e.payload.pid===t});return null==i||null===(n=i.response)||void 0===n?void 0:n.data},refetch:T,getActivePlugins:F,filterSelectedPlugins:function(e,t){var n,i,r=Hv(t);return e!==ou&&(r=null===(i=r)||void 0===i?void 0:i.filter(function(e){return e!==tu})),null===(n=r)||void 0===n?void 0:n.filter(function(t){var n=G(t),i=Cu(n)&&!_u(n),r=!Cu(n),o=Cu(n)&&_u(n),a=Eu(n),s=Cu(n);return zv(zv(zv(zv(zv(zv({},au,i),iu,r),lu,r||i),su,o),ou,a),ru,s)[e]})},isLoading:I||D||de,activePluginsNum:E,upgradePlugin:W,isQueueRunning:"running"===ee,isQueueCancelling:"cancelling"===ee,isFinished:re,shouldReloadPage:Y}},Zv=function(){var e=(null!=$u?$u:{}).plugins_url,t=ld.plugins,n=(0,Wv({fetchFreePlugins:!t}).getPluginsList)({filter:function(e){return e[Bc]&&e[Wc]}});return o().createElement(Iv,{id:"dashboard-plugins-list",noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},null==n?void 0:n.map(function(n,i){var a,s=n[Uc],l=Eu(n)&&t,c=xu(n),u=null===(a=n.url)||void 0===a?void 0:a.config,d="".concat(e,"#/details-modal/").concat(n[Vc]),h=l?d:u||d;return o().createElement(Tv,{key:n[Vc]||i,id:"dashboard-plugins-list-item-".concat(i),hasToggle:!1,_style:{display:"block"}},o().createElement("div",{id:"dashboard-plugins-list-item-container-".concat(i),className:"dash-sui-list-item"},o().createElement(ih,{id:"dashboard-plugins-list-item-icon-".concat(i),name:s,indicatorStatus:l?"has-update":"none"}),o().createElement(nh,{id:"dashboard-plugins-list-item-name-".concat(i),weight:"bold",color:"#1a1a1a"},s),o().createElement(Av,{id:"dashboard-plugins-list-item-version-tag-".concat(i),design:l?"solid":"outlined",colorScheme:l?"yellow":"black",isSmall:!0,_style:{ml:"0px"}},!l&&n[Gc],l&&o().createElement(r.Fragment,null,n[Qc]," ",(0,zn.__)("update available"))),o().createElement("span",{id:"dashboard-plugins-list-item-action-icon-".concat(i),className:"dash-sui-list-item__action-icon"},!c&&l&&o().createElement(Av,{id:"dashboard-plugins-list-item-pro-tag-".concat(i),design:"outlined",colorScheme:"black",isSmall:!0,isUppercase:!0},(0,zn.__)("pro")),(l&&c||!l)&&o().createElement(wl,{id:"dashboard-plugins-list-item-action-button-".concat(i),onClick:function(){return window.location.href=h},iconOnly:!0,icon:l?"Download":"Tools",type:"tertiary",colorScheme:"black"}))))}))},qv=function(){var e,t="support",n=Ml(),i=n.push,a=n.remove,s=$u.support_url,l=yd("".concat(t,"/support-access")),c=l.data,u=l.isLoading,d=l.refetch,h=l.isRefetching,f=null!==(e=null==c?void 0:c.data)&&void 0!==e?e:{},p=(0,r.useCallback)(function(e){return null==f?void 0:f[e]},[f]),m=Cd({slug:"".concat(t,"/support-access"),onSuccess:function(){i({id:"support-access-granted",variation:"success",message:(0,uu.createInterpolateElement)((0,zn.__)("Support access granted. Please let support staff know you have granted access via your <a>support ticket</a>."),{a:o().createElement(Uh,{href:s})}),icon:"CheckAlt",isDismissible:!0,size:"lg"}),d()}}),g=Cd({slug:"".concat(t,"/support-access"),onSuccess:function(){i({id:"support-session-extended",variation:"success",message:(0,zn.__)("Support session extended. You can end session at any time."),icon:"CheckAlt",isDismissible:!0,size:"lg"}),d()}}),b=Cd({slug:"".concat(t,"/support-access"),onSuccess:function(){i({variation:"success",message:(0,zn.__)("Support session ended. You can grant access again at any time."),icon:"CheckAlt",size:"lg"}),d()},method:"DELETE"}),v=Cd({slug:"".concat(t,"/support-access/notes"),onSuccess:function(){a("support-save-note"),i({id:"support-save-note",variation:"success",message:(0,uu.createInterpolateElement)((0,zn.__)("Your note has been saved. Please let support staff know you've left a note via your <a>support ticket</a>."),{a:o().createElement(Uh,{href:s})}),icon:"CheckAlt",isDismissible:!0,size:"lg"})}}),y=m.isLoading||g.isLoading,_=b.isLoading,C=v.isLoading;return{slug:t,refetch:d,isLoading:h||u,getSupportField:p,grantAccess:m,extendAccess:g,isSaving:y,revokeAccess:b,isRevoking:_,updateNote:v,isNoteSaving:C}},Gv=[{id:"all",label:(0,zn.__)("All")},{id:"open",label:(0,zn.__)("Open")},{id:"resolved",label:(0,zn.__)("Resolved")},{id:"feedback",label:(0,zn.__)("Feedback")}],Qv=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{page:1,per_page:10,status:"all"},n=t.page,i=t.per_page,r=t.status,o=qv().slug,a={page:n,per_page:i,status:r},s=yd("".concat(o,"/tickets"),a,!0,function(e){var t,n,i=e.response;console.error(null!==(t=null==i||null===(n=i.data)||void 0===n?void 0:n.message)&&void 0!==t?t:null==e?void 0:e.message)},!0),l=s.data,c=s.isLoading,u=s.refetch,d=s.isRefetching||c,h=(null==l||null===(e=l.data)||void 0===e?void 0:e.data)||[],f=(null!=l?l:{}).headers,p=null==f?void 0:f["x-wp-total"],m=p&&p>0,g=null==f?void 0:f["x-wp-totalpages"];return{slug:o,refetch:u,isLoading:d,tickets:h,hasTickets:m,totalPages:g,ticketsNumber:p,getActiveTicketsNumber:function(){var e;return null===(e=h.filter(function(e){return"not_resolved"===e.status}))||void 0===e||null===(e=e.length)||void 0===e?void 0:e.toString()}}},Yv={feedback:"yellow",resolved:"green",not_resolved:"blue"},Kv={feedback:(0,zn.__)("Feedback"),resolved:(0,zn.__)("Resolved"),not_resolved:(0,zn.__)("Open")},Xv=function(){var e=Qv({page:1,per_page:5,status:"all"}).tickets;return o().createElement(Iv,{id:"dashboard-support-list",noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},null==e?void 0:e.map(function(e,t){return o().createElement(Tv,{key:"".concat(e.timestamp,"-").concat(e.status)||t,id:"dashboard-support-list-item-".concat(t),hasToggle:!1,_style:{display:"block"}},o().createElement("div",{id:"dashboard-support-list-item-container-".concat(t),className:"dash-sui-support-list-item"},o().createElement(nh,{id:"dashboard-support-list-title-".concat(t),color:"#1a1a1a",weight:"bold"},e.title),o().createElement(Av,{id:"dashboard-support-list-item-tag-".concat(t),design:"solid",colorScheme:Yv[e.status],_style:{ml:"0px"}},Kv[e.status])))}))},Jv=$u.documentation_url,ey=$u.roadmap_url,ty=$u.blog_url,ny=$u.whip_url,iy=$u.community_url,ry=[{title:(0,zn.__)("Documentation"),link:null==Jv?void 0:Jv.overview,isPro:!1,icon:React.createElement(va,{fill:"#1a1a1a"})},{title:(0,zn.__)("Member Forums"),link:iy,isPro:dd,icon:React.createElement(Oo,{fill:"#1a1a1a"})},{title:"Blog",link:ty,isPro:!1,icon:React.createElement(il,{fill:"#1a1a1a"})},{title:dd?(0,zn.__)("The Whip"):(0,zn.__)("DEV"),link:ny,isPro:!1,icon:React.createElement(Wr,{fill:"#1a1a1a"})},{title:(0,zn.__)("Product Roadmap"),link:ey,isPro:!1,icon:React.createElement(Ao,{fill:"#1a1a1a"})}],oy=function(){return o().createElement(Iv,{id:"dashboard-resources-list",noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},null==ry?void 0:ry.map(function(e,t){var n=o().cloneElement(null==e?void 0:e.icon,{id:"dashboard-resources-list-item-icon-".concat(t),size:"sm"});return o().createElement(Tv,{key:e.title||t,id:"dashboard-resources-list-item-".concat(t),hasToggle:!1,_style:{display:"block",padding:"13px 24px"}},o().createElement("div",{id:"dashboard-resources-list-item-container-".concat(t),className:"dash-sui-resources-list-item"},n,o().createElement(nh,{id:"dashboard-resources-list-title-".concat(t),weight:"bold",color:"#1a1a1a"},e.title),o().createElement("div",{id:"dashboard-resources-list-item-actions-".concat(t),className:"dash-sui-resources-list-item__actions"},e.isPro?o().createElement(Av,{id:"dashboard-resources-list-item-pro-tag-".concat(t),colorScheme:"black",design:"outlined",isSmall:!0,isUppercase:!0},(0,zn.__)("Pro")):o().createElement(wl,{id:"dashboard-resources-list-item-action-button-".concat(t),iconOnly:!0,icon:"ChevronRight",type:"tertiary",colorScheme:"black",href:e.link,target:"_blank"}))))}))},ay={hummingbird:React.createElement(qr,{size:"sm",fill:"#1a1a1a"}),defender:React.createElement(Zr,{size:"sm",fill:"#1a1a1a"}),"smart-crawl":React.createElement(dl,{size:"sm",fill:"#1a1a1a"})},sy=function(){var e=yd("/data/services"),t=e.data,n=e.isLoading,i=e.refetch;return{isLoading:e.isRefetching||n,refetch:i,services:(null==t?void 0:t.data)||[]}};function ly(){return ly=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ly.apply(null,arguments)}var cy=function(){var e=sy().services;return o().createElement(Iv,{id:"dashboard-services-list",noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},null==e?void 0:e.map(function(e,t){return o().createElement(Tv,{key:e.icon||e.title||t,id:"dashboard-services-list-item-".concat(t),hasToggle:!1,_style:{display:"block",padding:"13px 24px"}},o().createElement("div",{id:"dashboard-services-list-item-container-".concat(t),className:"dash-sui-services-list-item"},o().createElement("div",{id:"dashboard-services-list-item-heading-".concat(t),className:"dash-sui-services-list-item__heading"},ay[e.icon],o().createElement("div",{id:"dashboard-services-list-item-title-".concat(t),className:"dash-sui-services-list-item__title"},o().createElement(nh,{id:"dashboard-services-list-item-text-".concat(t),weight:"bold",color:"#1a1a1a"},e.title))),!cd&&o().createElement(r.Fragment,null,o().createElement("div",{id:"dashboard-services-list-item-tag-".concat(t),className:"dash-sui-services-list-item__tag"},o().createElement(Av,ly({id:"dashboard-services-list-item-tag-status-".concat(t)},e.is_activate&&{colorScheme:"green"}),e.is_activate?(0,zn.__)("Active"):(0,zn.__)("Inactive")," ")),o().createElement(wl,{id:"dashboard-services-list-item-action-button-".concat(t),icon:"ChevronRight",colorScheme:"black",type:"tertiary",iconOnly:!0,isSmall:!0,href:e.url,target:"_blank"},e.title)),cd&&o().createElement(Av,{id:"dashboard-services-list-item-pro-tag-".concat(t),isSmall:!0,colorScheme:"black",design:"outlined",isUppercase:!0},(0,zn.__)("pro"))))}))},uy=["button","checkbox","color","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"],dy=({name:e,size:t="md",placement:n="start",onClick:i,...r})=>{let{suiInlineClassname:o}=br(r);if(Ir(e??""))throw new Error('Required parameter is empty. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Input\n\nThe "name" parameter in the icon element is required and must not be empty.\n\n');let a=ml[e],s=(e??"").replace(/[A-Z]/g,(e,t)=>(0===t?"":"-")+e.toLowerCase()),l=kr(`suicons sui-input__icon sui-input__icon--${s}`,{},o);return(0,Fr.jsx)("span",{className:l,"aria-hidden":"true","data-testid":`input-icon-${n}`,onClick:i,children:a&&(0,Fr.jsx)(a,{size:t})})},hy=(0,r.forwardRef)(({type:e="text",defaultValue:t="",name:n,placeholder:i,hint:o,id:a,className:s,inputClass:l,isMultiLine:c=!1,isSmall:u,isReadOnly:d=!1,isError:h=!1,isDisabled:f=!1,onClickIcon:p,onClick:m,onFocus:g,onKeyDown:b,onMouseEnter:v,onMouseLeave:y,onMouseDownCapture:_,onMouseUp:C,onMouseUpCapture:w,onBlur:x,onBlurCapture:E,onChange:S,onClear:k,icon:O,iconPosition:M,iconHint:A="",iconSize:P,iconTooltipWidth:j,allowClear:I=!1,disableInteractions:T=!1,isRequired:D=!1,pattern:L,onKeyUp:N,customWidth:R,validate:F,validateOnMount:z,resetValidation:H,ariaAttrs:U={},_htmlProps:V={},_style:$={}},B)=>{let W=(0,r.useId)();a||(a=W);let[Z,q]=(0,r.useState)(t),[G,Q,Y]=wr({onMouseEnter:v,onMouseLeave:y,onMouseDownCapture:_,onMouseUp:C,onMouseUpCapture:w,onBlur:x,onBlurCapture:E}),[K,X]=(0,r.useState)(!1);if(Ar(a)||Ir(a))throw new Error('Empty parameter is not valid. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Input\n\nThe parameter "id" in the "Input" component is required.\n\n');(0,r.useEffect)(()=>{q(t)},[t]);let J=(0,r.useCallback)(e=>{let t=e?.target?.value??"";d||q(t),F&&jr(F)&&F(t),S&&S(e)},[d,S,F]),ee=(0,r.useCallback)(()=>{q(""),k&&k("")},[k]),te=!Ar(Z)&&!Ir(Z??""),ne=!Ar(i)&&!Ir(i),ie=!Ar(l)&&!Ir(l),re="text";uy.includes(e)&&(re=e);let{suiInlineClassname:oe}=br($,s??""),ae=kr("sui-input",{sm:u,readonly:d,hover:G&&!d,focus:Q&&!d&&!h,filled:te,"has-icon":!Ir(O),"icon-start":!Ir(M)&&"start"===M,"icon-end":!Ir(M)&&"end"===M,error:h,disabled:f,["multiline"+(u?"-sm":"")]:c},oe),se=kr("sui-input__input",{"allow-clear":I&&!Ir(Z)&&!c},ie?l:""),le="input";c&&(le="textarea");let ce=!Ir(o??"");(0,r.useEffect)(()=>{z&&F&&jr(F)&&F(Z)},[]);let ue={id:a,ref:B,type:Or(!c,re),placeholder:Or(ne,i),"aria-label":i||"input",readOnly:Or(d,!0),disabled:Or(f,!0),value:Z??"",className:se,onChange:J,required:D,pattern:L,onKeyUp:e=>{F&&jr(F)&&F(Z),N&&N(e)},onClick:m,onFocus:g,onKeyDown:b,name:n,...U,...T?{}:Y},de=()=>O&&!c?Ir(A)?(0,Fr.jsx)(dy,{name:O,size:u?"sm":"md",placement:M??"start",onClick:e=>{p&&p(e)},...P&&{size:P}}):(0,Fr.jsx)(Ev,{type:"icon",icon:O,customWidth:j,iconSize:u?"sm":"md",placement:"top",onClick:()=>{p&&p()},children:A}):null;return(0,Fr.jsxs)("div",{id:`${a}-wrapper`,className:ae,"data-testid":"input",...R&&{style:{maxWidth:`${R}px`}},children:["start"===M&&de(),(0,Fr.jsxs)("div",{id:`${a}-input-field`,className:kr("sui-input__input-field",{"has-hint":ce}),children:[(0,Fr.jsx)(le,{...ue,...Rr(V)}),ce&&(0,Fr.jsxs)(r.Fragment,{children:[!Ir(Z)&&(0,Fr.jsx)("div",{className:"sui-input__input-field-text",id:`${a}-field-text`,children:Z}),ce&&(0,Fr.jsx)("div",{className:"sui-input__input-field-hint",id:`${a}-field-hint`,children:o})]})]}),"end"===M&&de(),I&&!Ir(Z)&&!c&&(0,Fr.jsx)(wl,{className:"sui-input__input-clear",icon:"CloseAlt",colorScheme:"black",type:"tertiary",iconOnly:!0,iconSize:u?"sm":"md",onClick:ee,isSmall:u??!1,_htmlProps:{onKeyDown:e=>Dr(e,k)},children:"Clear"})]})});hy.displayName="Input";var fy=(0,r.createContext)({items:[],setItems:e=>{},onChange:(e,t,n)=>{}}),py=({...e})=>(0,Fr.jsx)("span",{...Rr(e),children:(0,Fr.jsx)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"10",height:"2",viewBox:"-1 0 12 3",fill:"none",className:"sui-checkbox__icon",children:(0,Fr.jsx)("path",{d:"M9.7 0H0.3C0.134315 0 0 0.134315 0 0.3V1.7C0 1.86569 0.134315 2 0.3 2H9.7C9.86569 2 10 1.86569 10 1.7V0.3C10 0.134315 9.86569 0 9.7 0Z"})})}),my=({...e})=>(0,Fr.jsx)("span",{...Rr(e),children:(0,Fr.jsx)("svg",{viewBox:"0 0 12 10",fill:"none",className:"sui-checkbox__icon",children:(0,Fr.jsx)("path",{d:"M4.23784 9.08831L0.337838 5.16588C0.103533 4.93023 0.103533 4.54815 0.337838 4.31247L1.18635 3.45906C1.42065 3.22338 1.80057 3.22338 2.03488 3.45906L4.66211 6.10137L9.96507 0.91168C10.1994 0.676028 10.5793 0.676028 10.8136 0.91168L11.6621 1.76509C11.8964 2.00074 11.8964 2.38283 11.6621 2.6185L5.08637 9.08833C4.85205 9.32398 4.47215 9.32398 4.23784 9.08831Z"})})}),gy=({id:e,groupId:t="",name:n,value:i="",label:o,isLabelHidden:a=!1,isChecked:s=!1,isDisabled:l=!1,isSmall:c=!1,isError:u=!1,isIndeterminate:d=!1,onChange:h=e=>{},validate:f,validateOnMount:p,resetValidation:m,_htmlProps:g={},_style:b})=>{let v=(()=>{let e=(0,r.useContext)(fy);if(!e)throw new Error("useCheckbox must be used within a CheckboxContextProvider");return{...e,onChange:(t,n,i)=>{e?.onChange?.(t,n,i)},addToList:(t,n,i)=>{e?.onChange?.(t,n,i)}}})(),[y,_,C]=wr({}),{suiInlineClassname:w}=br(b),x=(0,r.useId)(),E=e||`sui-checkbox-${x}`;(0,r.useEffect)(()=>{v?.addToList(e,s,t)},[e,t,s]);let S={id:E,type:"checkbox",name:n,value:i,className:"sui-accessible-cta sui-checkbox__input",checked:s,disabled:l,onChange:e=>{v?.onChange&&(v.onChange(E,e.target.checked,t),f?.(e.target.checked)),h&&h(e)},"aria-labelledby":`${E}-label`,...g};(0,r.useEffect)(()=>{p&&f?.(s)},[]);let k={className:kr("sui-checkbox",{"hidden-label":a,indeterminate:d,hover:y,focus:_,disabled:l,checked:s,sm:c,error:u},w),...C},O={className:"sui-checkbox__box","aria-hidden":!0};return(0,Fr.jsxs)("label",{...k,id:`${E}-label`,htmlFor:E,tabIndex:-1,"data-testid":"checkbox",children:[(0,Fr.jsx)("input",{"aria-label":"string"==typeof o&&o||"checkbox",...Rr(S),"data-testid":"checkbox-input"}),d?(0,Fr.jsx)(py,{...O}):(0,Fr.jsx)(my,{...O,tabIndex:-1}),a?(0,Fr.jsx)("span",{className:"sui-screen-reader-only",id:`${E}-label-text`,children:o}):(0,Fr.jsx)("span",{className:"sui-checkbox__label",id:`${E}-label-text`,children:o})]})},by=({id:e,className:t="",children:n,_style:i={}})=>{let o=(0,r.useId)(),a=e||`sui-dropdown-menu-${o}`,{suiInlineClassname:s}=br(i,t),l=kr("sui-dropdown__menu",{},s);return(0,Fr.jsx)("div",{id:a,className:l,children:n})},vy=({id:e,icon:t,href:n,className:i="",children:o,isDisabled:a,isSelected:s=!1,onClick:l,variation:c="",variable:u,description:d="",_type:h="",_htmlProps:f={},_style:p={},_checkboxProps:m={}})=>{let[g,b,v]=wr({}),y=(0,r.useId)(),_=e||`sui-dropdown-menu-item-${y}`,C=`${_}-title`,w="li";n&&(w="a");let{suiInlineClassname:x}=br(p,i),E=kr("sui-dropdown__menu-item",{hover:g,focus:b,disabled:a,selected:s,[c]:!Ir(c)},x),S=null;t&&(S=ml[t]);let k={id:_,className:E,href:n||void 0,tabIndex:a?-1:0,children:(()=>{let e=(0,Fr.jsx)("span",{id:C,children:o});switch(h){case"select":break;case"select-checkbox":e=(0,Fr.jsx)(gy,{label:e,isSmall:!0,isDisabled:a,...m});break;case"select-variable":S=S||ml.Add,e=(0,Fr.jsxs)("div",{id:C,className:"sui-dropdown__menu-item--wrapper",children:[(0,Fr.jsx)("div",{children:(0,Fr.jsx)(S,{size:"sm",className:"sui-dropdown__menu-item-icon"})}),(0,Fr.jsxs)("div",{children:[(0,Fr.jsx)("span",{className:"sui-dropdown__menu-item--title",children:o}),u&&(0,Fr.jsxs)("span",{className:"sui-dropdown__menu-item--var",children:[" ",u]}),d&&(0,Fr.jsx)("div",{className:"sui-dropdown__menu-item--desc",children:d})]})]})}return"select-variable"!==h&&S&&(e=(0,Fr.jsxs)(Fr.Fragment,{children:[(0,Fr.jsx)(S,{size:"sm",className:"sui-dropdown__menu-item-icon"}),e]})),e})(),...Rr(f)},O={};return l&&(O.onClick=l,O.onKeyDown=e=>Dr(e,l)),"a"===w?(0,Fr.jsx)("li",{children:(0,Fr.jsx)(w,{...k,...v,"aria-labelledby":C,...O})}):(0,Fr.jsx)(w,{...k,...v,"aria-labelledby":C,...O})},yy=({title:e="",className:t="",children:n,_htmlProps:i={},_style:r={}})=>{let{suiInlineClassname:o}=br(r,t),a={className:kr("sui-dropdown__menu-group",{},o),...Rr(i)};return(0,Fr.jsxs)("li",{...a,children:[(0,Fr.jsx)("span",{className:"sui-dropdown__menu-group-title",children:e}),(0,Fr.jsx)("ul",{className:"sui-dropdown__menu-group-items",children:n})]})},_y=(0,r.forwardRef)(({id:e,type:t="",label:n,className:i,isSmall:o=!1,iconOnly:a,isFixedHeight:s=!0,children:l,selected:c="",selectAll:u=()=>{},menu:d,placement:h="right",arrow:f=!0,dropdownArrow:p=!1,buttonIcon:m,onMenuClick:g,trigger:b,renderContentOnTop:v=!1,isResponsive:y=!1,isMultiSelect:_=!1,isFluid:C=!1,size:w="md",isDisabled:x=!1,closeOnOuterClick:E=!0,colorScheme:S="black",onToggle:k=()=>{},allowSearch:O=!1,onSearch:M=e=>{},isAsync:A=!1,asyncOptions:P={},updateOptions:j=()=>{},getOptions:I,menuCustomWidth:T,searchPlaceholder:D,_buttonProps:L={},_htmlProps:N={},_style:R={}},F)=>{let[z,H]=(0,r.useState)(!1),[U,V]=(0,r.useState)(""),[$,B]=(0,r.useState)(!1),[W,Z]=(0,r.useState)(!1),[q,G]=(0,r.useState)(!1),[Q,Y]=(0,r.useState)(d??[]),[K,X]=(0,r.useState)(1),J=(0,r.useRef)(null),ee=(0,r.useRef)(null),te=(0,r.useRef)(null),ne=(0,r.useId)(),ie=`${e}-wrapper`||`sui-dropdown-${ne}`;Cr(J,()=>{E&&ue(!1)});let{handleScroll:re}=((e=()=>{})=>({handleScroll:t=>{let{scrollHeight:n,scrollTop:i,clientHeight:r}=t?.target??{};n-i===r&&e()}}))(()=>{!W&&!$&&(le(),G(!0))});(0,r.useImperativeHandle)(F,()=>({open:()=>ue(!0),close:()=>ue(!1),toggle:()=>ue(!z)}));let{suiInlineClassname:oe}=br(R,i),ae=((e,t,n=()=>{})=>{let[i,o]=(0,r.useState)(e);return(0,r.useEffect)(()=>{let i=setTimeout(()=>{o(e),n()},t);return()=>{clearTimeout(i)}},[e,t,n]),i})(U,500),se=kr("sui-dropdown",{sm:o,open:z},oe);(0,r.useEffect)(()=>{if(!z||!ee.current||!J.current)return;let e=ee.current,t=J.current.getBoundingClientRect(),n=t.top,i=window.innerHeight-t.bottom,r=e.offsetHeight,o=i>r,a=n<r;e.classList.toggle("sui-dropdown__popover--placement-top",!o&&!a)},[z]),(0,r.useEffect)(()=>{A&&!_||Y(d)},[A,_,d]);let le=(0,r.useCallback)(async()=>{if(!A||$||W)return;if(!I)throw new Error("'getOptions' method is missing");let{perPage:e=5}=P??{};Z(!0);let t=await I(ae,{page:K},Q),{items:n,hasMore:i,additional:r}=t,o=Array.isArray(c)?c:[],a=n.map(e=>{let t=o.some(t=>t.id===e.id);return{...e,isSelected:t}});Y(1===K?a:[...Q??[],...a]),j(1===K?a:[...Q??[],...a]),Z(!1),G(!1),i?X(K+1):B(!0)},[A,$,W,I,P,K,ae,Q,c,j]),ce=$n(ae);(0,r.useEffect)(()=>{(ce??"")!==ae&&(A&&!W&&(Y([]),le()),M&&M(ae))},[ae,M]);let ue=(0,r.useCallback)(async e=>{H(e),O&&setTimeout(()=>te.current?.focus(),100),A&&e&&(Q??[])?.length<=0&&le(),k(e)},[A,k]),de=()=>{let e=Q?.every(e=>e?.isSelected),n=Q?.find(e=>e?.isSelected);return(0,Fr.jsx)(vy,{id:`${ie}-select-all`,isSelected:e,onClick:()=>{let t=Q?.map(t=>({...t,isSelected:!e}));Y(t),u(t??[],!e)},_type:t,_checkboxProps:{isChecked:e,isIndeterminate:!e&&!!n,isSmall:o},children:"Select All"},"select-all")},he=e=>(0,Fr.jsxs)(Fr.Fragment,{children:[_&&(Q??[]).length>0&&de(),(e||[])?.map((e,n)=>e?.menus?(0,Fr.jsx)(yy,{id:`${ie}-menu-group-${n}`,title:e.label,children:he(e?.menus)},n):(g&&(e.props=e.props??{},e.props.onClick=n=>{if(g(e,n),"select-variable"!==t){if(_)e.isSelected=!e.isSelected;else{let t=Q?.map(t=>({...t,isSelected:t.id===e.id}));Y(t),e.isSelected=!0}"select-checkbox"!==t&&H(!1)}}),_&&(e.props={...e.props,_checkboxProps:{...e?.props?._checkboxProps,isChecked:e.isSelected,isSmall:o}}),(0,Fr.jsx)(vy,{id:`${ie}-menu-item-${n}`,isSelected:e.isSelected,...e.props,_type:t,children:e.label},n)))]}),fe=(0,r.useCallback)(e=>{V(e?.target?.value),A&&setTimeout(()=>{X(1),B(!1)},100)},[A]);return(0,Fr.jsxs)("div",{id:ie,ref:J,className:se,"data-testid":"dropdown",...Rr(N),children:[b||(0,Fr.jsx)("div",{children:(0,Fr.jsx)(wl,{startIcon:m??"Menu",iconOnly:a??!1,type:"secondary",isSmall:o??!1,onClick:()=>ue(!z),isResponsive:y,isDisabled:x,...!a&&f&&{endIcon:"ChevronDown"},colorScheme:S,...L,children:n})}),(0,Fr.jsxs)("div",{id:e,tabIndex:-1,ref:ee,className:kr("sui-dropdown__popover",{[`placement-${h}`]:!Ir(h??""),"fixed-height":s,fluid:C,[w]:!C,[t]:!Ir(t??"")}),...n&&{"aria-labelledby":`${e}-label`,"aria-label":`${e}-label`},style:{width:`${T}px`},children:[p&&(0,Fr.jsx)("div",{className:"sui-dropdown__popover--arrow",id:`${ie}-arrow`}),v&&!!l&&(0,Fr.jsx)("div",{className:"sui-dropdown__menu-content",id:`${ie}-menu-content-top`,children:l}),(!!d||A)&&(0,Fr.jsxs)(by,{children:[O&&(0,Fr.jsx)("div",{className:"sui-dropdown__menu-nav-search",id:`${ie}-search`,children:(0,Fr.jsx)(hy,{ref:te,icon:"Search",iconPosition:"start",isSmall:!0,placeholder:D??"Search",onChange:fe})}),(0,Fr.jsxs)("ul",{className:"sui-dropdown__menu-items",onScroll:re,children:[he(Q),W&&(0,Fr.jsxs)("li",{className:kr("",{"sui-dropdown__menu-item--loading":!0,"sui-dropdown__menu-item--loading-alt":q}),tabIndex:-1,children:[(0,Fr.jsx)(bl,{colorScheme:q?"dark":"primary",loaderSize:"sm"}),(0,Fr.jsx)("span",{children:q?"Loading...":"Loading"})]})]})]}),!!l&&!v&&(0,Fr.jsx)("div",{className:"sui-dropdown__menu-content",id:`${ie}-menu-content-bottom`,children:l})]})]})});_y.displayName="Dropdown";var Cy=({options:e,onEvent:t=()=>{},selectAll:n=()=>{},isSmall:i=!1,isMultiSelect:o=!1,isDisabled:a=!1,selected:s="",isSearchable:l=!1,isCustomVar:c=!1,dropdownRef:u=null,onToggle:d=e=>{},updateOptions:h,onSearch:f=e=>{},onChange:p,_htmlProps:m,_dropdownProps:g,...b})=>{(0,r.useId)();let{suiInlineClassname:v}=br(b),y=(0,r.useCallback)((e,n)=>{if((!e.key||e.key&&"Enter"===e.key)&&t&&(t(n),p)){let e=n;if(o){let t=Array.isArray(s)?[...s]:[],i=t.findIndex(e=>e.id===n.id);-1!==i?t.splice(i,1):t.push(n),e=t,p(n,e)}else if(c){let t=Array.isArray(s)?[...s]:[];t.push(n),e=t,p(n,e)}else p(n)}},[c,o,p,t,s]),_=e=>({ref:void 0,onKeyDown:t=>y(t,e)});return(0,Fr.jsx)(r.Fragment,{children:(e=>(0,Fr.jsx)(_y,{ref:u,closeOnOuterClick:!1,onToggle:d,isFluid:!0,isFixedHeight:!0,className:kr("sui-select__dropdown",{},v),menu:e,onMenuClick:(e,t)=>{y(t,e)},isSmall:i,...o&&{isMultiSelect:o,updateOptions:h,type:"select-checkbox",selected:s,selectAll:n},...(o||c)&&{onSearch:f,allowSearch:!0},...!c&&{trigger:(0,Fr.jsx)(r.Fragment,{})},...c&&{iconOnly:!0,buttonIcon:"Add",placement:"left",type:"select-variable"},_htmlProps:{..._},isDisabled:a,...g}))(o?e??[]:e?.map(e=>({...e,...l&&{label:(0,Fr.jsxs)("span",{className:"sui-select__dropdown--content",children:[e?.boldLabel&&(0,Fr.jsx)("strong",{children:e?.boldLabel}),e?.[l&&e?.boldLabel?"newLabel":"label"]]})},props:{...e.props,className:kr("",{"sui-select__dropdown--option":!0,"sui-select__dropdown--selected":e?.isSelected&&!c})}}))||[])})},wy=({name:e,size:t="md",_htmlProps:n={},...i})=>{let{suiInlineClassname:r}=br(i);if(Ir(e??""))throw new Error('Required parameter is empty. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Button\n\nThe "name" parameter in the icon element is required and must not be empty.\n\n');let o=ml[e],a=(e??"").replace(/[A-Z]/g,(e,t)=>(0===t?"":"-")+e.toLowerCase());return(0,Fr.jsx)("span",{className:kr(`suicons sui-select__icon sui-select__icon--${a}`,{},r),...n,children:(0,Fr.jsx)("span",{"aria-hidden":"true",children:o&&(0,Fr.jsx)(o,{size:t})})})},xy=({id:e,controlRef:t,expanded:n=!1,selected:i={label:""},placeholder:o,dropdownItems:a=[],onValueChange:s=()=>{},onChange:l=()=>{},onEvent:c=()=>{},onClick:u=()=>{},interactionMethods:d})=>{let h=(0,r.useId)(),f=e||`sui-search-${h}`,[p,m]=(0,r.useState)(i?.label||""),g=p.length>=1,b=r.useMemo(()=>g?a?.filter(({searchLabel:e})=>e?.startsWith(p)):a,[a,g,p]);return(0,r.useEffect)(()=>{m(i?.label||"")},[i]),(0,Fr.jsx)(hy,{className:"sui-select__input",id:f,icon:n?"ChevronUp":"ChevronDown",iconPosition:"end",iconSize:"sm",onChange:e=>{if("string"!=typeof e){let t=e.target.value;m(t),s(t),l&&l(e)}},defaultValue:p,allowClear:!1,hint:g&&b[0]?.label||"",disableInteractions:!0,placeholder:o,_htmlProps:{autoComplete:"off",ref:t,onKeyDown:e=>{"ArrowRight"===e.code&&(m(b[0]?.label||""),c&&c(b[0]?.id))},onClick:u,...d}})},Ey=({id:e,controlRef:t,expanded:n=!1,arrow:i,selected:o,selectLabel:a="",isMultiSelect:s=!1,isSmall:l=!1,isCustomVar:c=!1,interactionMethods:u,disabled:d=!1,removeSelection:h=()=>{},dropdownToggle:f=()=>{},clearSelection:p=()=>{},onCustomVarChange:m=()=>{},ariaAttrs:g={},...b})=>{let v;v=(e=>Array.isArray(e))(o)&&(o??[])?.length>0||c?(0,Fr.jsxs)("ul",{className:"sui-select__selected-wrapper",children:[(o??[])?.length>0&&o.map((e,t)=>{let n;return c&&(n=e&&"object"==typeof e?e.props.variable.replace(/[{}]/g,""):e),(0,Fr.jsxs)("li",{className:"sui-select__selected-options",children:[(0,Fr.jsxs)("span",{className:"sui-select__selected-label",tabIndex:-1,role:"button",onClick:e=>e.stopPropagation(),onKeyDown:e=>e.stopPropagation(),children:[c&&n,!c&&e?.label]}),!c&&(0,Fr.jsx)(wy,{name:"Close",size:"xs",...!!h&&{_htmlProps:{role:"button",tabIndex:0,"aria-label":"Remove Item",onClick:t=>{t.stopPropagation(),h(e?.id)},onKeyDown:t=>{("Enter"===t.key||" "===t.key)&&h(e?.id)}}}})]},c?t:e?.id)}),c&&(0,Fr.jsx)("li",{className:"sui-select__custom-var-input",children:(0,Fr.jsx)("input",{id:e,type:"text","aria-label":"Select",placeholder:a,onKeyDown:m,disabled:d,...u})})]}):(0,Fr.jsx)("span",{className:"sui-select__selected",children:o&&"object"==typeof o&&"label"in o?o.label:a});let y=(0,r.useCallback)(()=>{p()},[p]);return(0,Fr.jsxs)(Fr.Fragment,{children:[!c&&(0,Fr.jsx)("input",{id:e,"aria-label":"Select",className:"sui-select__hidden-input",tabIndex:-1,...u}),(0,Fr.jsxs)("div",{id:`${e}-control`,className:"sui-select__control",...Rr(b),children:[(0,Fr.jsx)("div",{className:"sui-accessible-cta",ref:t,...!c&&{role:"button",onClick:f,onKeyDown:e=>{("Enter"===e.key||"Space"===e.key)&&f()},tabIndex:0,"aria-label":a,"aria-haspopup":"listbox","aria-expanded":n,...g,...u}}),v,s&&!Ar(o)&&a!==o&&(o??[]).length>0&&!c&&(0,Fr.jsx)(wy,{name:"CloseAlt",size:l?"sm":"md",_htmlProps:{role:"button",tabIndex:0,"aria-label":"Remove All",onClick:y,onKeyDown:e=>{("Enter"===e.key||" "===e.key)&&y()}}}),i&&!c&&(0,Fr.jsx)("span",{className:"sui-select__arrow",children:(0,Fr.jsx)(wy,{name:i,size:"sm"})})]})]})},Sy=({isSmall:e=!1,interactionMethods:t,selectLabel:n="",clearSelection:i,selected:o,...a})=>{let[s,l]=(0,r.useState)(!1);return(0,r.useCallback)(e=>{i(),l(!1)},[i]),(0,Fr.jsx)("div",{className:"sui-select__control",children:(0,Fr.jsx)(xy,{placeholder:n,isSmall:e??!1,onValueChange:e=>{l(!!e)},selected:o,interactionMethods:t,...a})})},ky=({id:e,options:t,className:n,selected:i,label:o="Select option",isCustomVar:a=!1,isDisabled:s=!1,isSmall:l=!1,isError:c=!1,isMultiSelect:u=!1,isSearchable:d=!1,onMouseEnter:h=()=>null,onMouseLeave:f=()=>null,customWidth:p,onChange:m,resetValidation:g,validateOnMount:b,validate:v,ariaAttrs:y={},_style:_={},_htmlProps:C={},_dropdownProps:w={}})=>{let x=(0,r.useId)();e||(e=`select-${x}`);let E=(0,r.useRef)(null),S=(0,r.useRef)(null),k=(0,r.useRef)(null),[O,M]=(0,r.useState)(t),[A,P]=(0,r.useState)(!1),[j,I]=(0,r.useState)(O??[]),[T,D]=(0,r.useState)(O??[]),[L,N]=(0,r.useState)([]),[R,F]=(0,r.useState)([]);(0,r.useEffect)(()=>{N(i)},[i]),(0,r.useEffect)(()=>{I(O??[]),D(O??[])},[O]),Cr(E,()=>{k.current?.close()});let z=$n(A);(0,r.useEffect)(()=>{S?.current&&typeof z<"u"&&z!==A&&!A&&S?.current?.focus()},[A,z]);let[H,U,V]=wr({onMouseLeave:f,onMouseEnter:h});(0,r.useEffect)(()=>{let e=j.map(e=>{let t=T.find(t=>t.id===e.id);return t?{...t}:e}),t=e.filter(e=>e?.isSelected),n=t.length>0?t:o;if(!u){let e=n?.[0];e&&e.id&&Z(e)}I(e)},[T]),(0,r.useEffect)(()=>{a&&N(R)},[R,a]);let{suiInlineClassname:$}=br(_,n),B=kr("sui-select",{sm:l,open:A,disabled:s,hover:H,focus:U,error:c,multiselect:u,searchable:d,"custom-var":a},$),W={className:B,ref:E,...p&&{style:{maxWidth:`${p}px`}}},Z=e=>{N(e),v&&!u&&v(e),m&&m(e)};(0,r.useEffect)(()=>{v&&b&&!u&&v(L)},[]);let q=e=>{if(a)return void F([...R,e]);if(!O)return N(e),void k.current?.close();let t=T.findIndex(t=>t.id===e.id),n=[...T],i=n[t]?.isSelected;u?(n[t]={...n[t],isSelected:!i},D(n),N(i=>i?i.some(t=>t.id===e.id)?i.filter(t=>t.id!==e.id):[...i,n[t]]:[e])):(n.forEach(e=>e.isSelected=!1),n[t]={...n[t],isSelected:!0},D(n),k.current?.close())},G={id:e,controlRef:S,expanded:A,selected:L,selectLabel:o,isSmall:l,disabled:s,clearSelection:()=>{((e,t,n)=>{let i=t.map(e=>({...e,isSelected:!1,props:{...e.props}}));e([]),n(i)})(Z,j,D)},ariaAttrs:y,...!d&&{dropdownToggle:()=>{k.current?.toggle()},arrow:A?"ChevronUp":"ChevronDown"},...d&&{dropdownItems:T,onChange:e=>{(e=>{let t=e.target.value.toLowerCase();k.current?.open(),((e,t,n)=>{if(Ir(e))return void n(t);let i=t?.filter(t=>t?.searchLabel?.toLowerCase().startsWith(e))?.map(t=>{let n=t?.searchLabel;if(!n)return{...t,isSelected:!1};let i=n.toLowerCase().indexOf(e);if(-1===i)return{...t,isSelected:!1};let r=n.substring(0,i)+n.substring(i+e.length),o=n.substring(0,e.length);return{...t,isSelected:!1,newLabel:r,boldLabel:o}});n(i)})(t,j,D)})(e),Z({...L,label:e.target.value})},onEvent:e=>q(e),onClick:()=>{k.current?.toggle()}},...u&&{isMultiSelect:u,removeSelection:e=>{((e,t,n,i,r)=>{let o=t.map(t=>t.id===e?{...t,isSelected:!1,props:{...t.props}}:t);i(t=>{let i=t.filter(t=>t.id!==e),a=t.find(t=>t.id===e);return t.length!==i.length?(n(o),r?.(a,i),i):t})})(e,T,D,N,m)}},...a&&{isCustomVar:a,onCustomVarChange:e=>{let t=e.target,n=t.value;"Enter"!==e.key||Ir(n)?"Backspace"===e.key&&Ir(n)&&F(e=>e.slice(0,-1)):(F([...R,n]),t.value="")}}},Q={options:T,updateOptions:e=>{M(e)},selected:L,isSmall:l,onChange:m,isDisabled:s,...d&&{isSearchable:d,options:T.map(e=>({...e,searchLabel:e.label}))},...u&&{isMultiSelect:u,options:T.map(e=>({...e,props:{_checkboxProps:{isSmall:l}}})),selectAll:(e,t)=>{M(e),m?.({},t?e:[]),N(n=>n?t?[...n,...e].filter((e,t,n)=>t===n.findIndex(t=>t.id===e.id)):n.filter(t=>!e.some(e=>e.id===t.id)):e)}},...(u||a)&&{onSearch:e=>{(e=>{let t=e;k.current?.open(),((e,t,n)=>{if(Ir(e))return void n(t);let i=t.filter(t=>"string"==typeof t?.label&&t?.label?.toLowerCase().startsWith(e.toLowerCase()));n(i)})(t,j,D)})(e)}},dropdownRef:k,onToggle:e=>{P(e)},onEvent:e=>{q(e)},isCustomVar:a,_dropdownProps:w};return(0,Fr.jsxs)("div",{...W,"data-check":"check","data-testid":"select",...Rr(C),children:[!d&&(0,Fr.jsx)(Ey,{...G,interactionMethods:V}),d&&(0,Fr.jsx)(Sy,{...G,interactionMethods:V}),(0,Fr.jsx)(Cy,{...Q})]})},Oy=({...e})=>(0,Fr.jsx)(ky,{...e}),My=({id:e,hidden:t=!1,children:n,...i})=>{let{suiInlineClassname:r}=br(i);if(!("string"==typeof n?!Ir(n??""):n))throw new Error('Empty content is not valid. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Form Field\n\nThe "Label" component requires a child element to be passed to it.\n\n');let o=Hn({"sui-screen-reader-only":t,"sui-form-field__label":!t});return(0,Fr.jsx)("label",{htmlFor:e,id:`${e}-label`,className:kr(o,{},r),children:n})},Ay=({id:e,children:t,...n})=>{let{suiInlineClassname:i}=br(n),r=Hn({"sui-form-field__helper":!0},i);return(0,Fr.jsx)("span",{id:`${e}-helper`,className:r,children:t})},Py=({id:e,show:t=!1,children:n})=>(0,Fr.jsx)("span",{id:`${e}-error-message`,className:"sui-form-field__helper sui-color-error--50",children:t&&n}),jy=({id:e="",label:t,helper:n,error:i,className:o,isSmall:a,isDisabled:s=!1,isLabelHidden:l=!1,children:c,customWidth:u,_htmlProps:d={},_style:h})=>{let f=(0,r.useId)();Ir(e)||(f=e),c=_r(c,"{add form element as children}");let p="string"==typeof i?!Ir(i??""):!!i,{suiInlineClassname:m}=br(h,o),g=kr("sui-form-field",{sm:a,disabled:s},m),b={...!Ir(t??"")&&{"aria-labelledby":`${f}-label`},...!!n&&{"aria-describedby":`${f}-helper`},...p&&{"aria-errormessage":`${f}-error_message`}},v={id:f,...a&&{isSmall:a},...s&&{isDisabled:s},...p&&{isError:!0}};return(0,Fr.jsxs)("div",{className:g,...Rr(d),...u&&{style:{maxWidth:`${u}px`}},"data-testid":"form-field",children:[!Ir(t??"")&&(0,Fr.jsx)(My,{id:f,hidden:l??!1,children:t}),Object.keys(b).length>0?r.Children.map(c,(e,t)=>(0,r.isValidElement)(e)?(0,r.cloneElement)(e,{...v,ariaAttrs:b,...e.props,key:`form-field-child-${t}`}):e):c,p&&(0,Fr.jsx)(Py,{id:f,show:p,children:i}),!!n&&(0,Fr.jsx)(Ay,{id:f,children:n})]})},Iy=n(1592),Ty=(0,r.createContext)(null),Dy=({children:e,props:t})=>{let[n,i]=(0,r.useState)([]),[o,a]=(0,r.useState)([]),[s,l]=(0,r.useState)([]),[c,u]=(0,r.useState)([]),[d,h]=(0,r.useState)([]),[f,p]=(0,r.useState)(!1),[m,g]=(0,r.useState)(!1),[b,v]=(0,r.useState)({column:"",order:"asc"}),{wrapperRef:y}=t??{},_=(0,r.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=y?.current??{};e&&t&&g(e>t)},[y]);(0,r.useEffect)(()=>{new ResizeObserver(_).observe(y?.current)},[_,y]);let C=(0,r.useCallback)((e,t=!1)=>{let n=[...o];switch(!0){case"select-all"===e:let i=s.filter(e=>!c.includes(e));n=t?i:[];break;case t:n.push(e);break;case!t:n.splice(n.indexOf(e),1)}a(n)},[s,o,c]),w=(0,r.useCallback)((e,t)=>{i({...n,[e]:t})},[n]),x=(0,r.useCallback)((e,n)=>{t?.onAction&&t?.onAction?.(e,n)},[t]),E=(0,r.useCallback)(()=>{x("apply-filters",n)},[n,x]),S=(0,r.useCallback)(()=>{i([]),x("clear-filters",[])},[x]);return(0,Fr.jsx)(Ty.Provider,{value:{...t,triggerAction:x,rows:s,setRows:l,disabledRows:c,setDisabledRows:u,columns:d,setColumns:h,selected:o,setSelected:a,onSelect:C,forceCollapse:f,setForceCollapse:p,filterValues:n,setFilter:w,sortBy:b,setSortBy:v,applyFilters:E,clearFilters:S,hasStickyCols:m,setHasStickyCols:g},children:e})},Ly=({id:e,filterBtnId:t,isExpanded:n,_htmlProps:i={},_style:o={}})=>{let a=(0,r.useContext)(Ty),s=a?.filters,{suiInlineClassname:l}=br(o);if(!s)return null;let c=(e,t)=>(0,Fr.jsx)(jy,{id:e?.id??"",label:e?.title??"",isSmall:!0,children:{select:(0,Fr.jsx)(Oy,{id:e?.id,...e?.props,selected:a?.filterValues?.[e?.id]}),text:(0,Fr.jsx)(hy,{id:e?.id??"",defaultValue:a?.filterValues?.[e?.id],onChange:t=>{"string"!=typeof t&&a?.setFilter(e?.id??"",t.target?.value)}})}[e.type]},t),u=(0,Fr.jsxs)("div",{className:"sui-table__toolbar-cta",children:[(0,Fr.jsx)(wl,{type:"tertiary",colorScheme:"black",isSmall:!0,isDisabled:a?.filterValues?.length<=0,onClick:()=>a?.clearFilters(),children:"Clear filters"}),(0,Fr.jsx)(wl,{type:"secondary",colorScheme:"black",isSmall:!0,isDisabled:a?.filterValues?.length<=0,onClick:()=>a?.triggerAction("apply-filters",a?.filterValues),children:"Apply filters"})]});return(0,Fr.jsx)("div",{id:e,"aria-labelledby":t,className:kr("sui-table__toolbar-body",{expanded:n||!!a?.filtersPopover,inline:!a?.filtersPopover},l),...i,children:a?.filtersPopover?(0,Fr.jsxs)(r.Fragment,{children:[s?.map((e,t)=>c(e,t)),u]}):(0,Fr.jsxs)(Oh,{children:[(0,Fr.jsx)(kh,{children:(0,Fr.jsx)(Gd,{align:{sm:"inline"},children:(s??[])?.map((e,t)=>(0,Fr.jsx)(Qd,{size:3,children:c(e,t)},t))})}),(0,Fr.jsx)(kh,{isInline:!1,isFooter:!0,children:u})]})})},Ny=({id:e,_htmlProps:t,_style:n={}})=>{let[i,o]=(0,r.useState)(!1),[a,s]=(0,r.useState)(null),l=(0,r.useId)(),c=e||`sui-table-toolbar-${l}`,u=`${c}-filter-btn`,d=`${c}-body`,h=`${c}-bulk-dropdown`,{suiInlineClassname:f}=br(n),p=(0,r.useContext)(Ty),m=p?.selected&&p?.selected?.length>0,g=(0,r.useCallback)(e=>{"string"!=typeof e&&p?.triggerAction("search-items",e?.target?.value),p?.setSelected([])},[p]),b=(0,r.useCallback)(()=>{p?.triggerAction("bulk-action",{...a,selectedRows:p?.selected})},[a,p]),v=(0,Fr.jsx)(Ly,{id:d,filterBtnId:u,isExpanded:i});return(0,Fr.jsxs)("div",{id:c,className:kr("sui-table__toolbar",{},f),...t,children:[(0,Fr.jsxs)("div",{id:`${c}-header`,className:"sui-table__toolbar-header",children:[(0,Fr.jsx)("div",{id:`${c}-bulk`,className:"sui-table__toolbar-header-bulk",children:!!p?.bulkActions&&(0,Fr.jsxs)(r.Fragment,{children:[(0,Fr.jsx)(Oy,{id:h,className:"sui-table__toolbar-actions",options:p?.bulkActions,isDisabled:!m,onChange:e=>s(e)}),(0,Fr.jsx)(wl,{type:"primary",colorScheme:"black",isDisabled:!a||!m,onClick:b,children:"Apply"})]})}),(0,Fr.jsxs)("div",{id:`${c}-actions`,className:"sui-table__toolbar-header-actions",children:[p?.showToggleBtn&&(0,Fr.jsx)("div",{id:`${c}-toggle`,className:"sui-table__toolbar-toggle",children:(0,Fr.jsx)(Pv,{id:`${c}-toggle-input`,...p?.toggleBtnProps,onClick:e=>{p?.setSelected([]),p?.toggleBtnProps?.onClick?.(e)}})}),(0,Fr.jsx)(hy,{id:`${c}-search`,className:"sui-table__toolbar-search",placeholder:"Search",onChange:g,icon:"Search",iconPosition:"start"}),p?.showFiltersBtn&&(0,Fr.jsx)(Fr.Fragment,{children:p?.filtersPopover?(0,Fr.jsx)(_y,{label:"Filter",className:"sui-table__toolbar-filter",buttonIcon:"Filter",placement:"left",colorScheme:"black",isFixedHeight:!1,menuCustomWidth:300,children:v}):(0,Fr.jsx)(wl,{id:u,className:"sui-table__toolbar-filter",icon:"Filter",colorScheme:"black",type:"secondary",onClick:()=>o(!i),_htmlProps:{"aria-controls":d,"aria-expanded":i},children:"Filter"})})]})]}),!p?.filtersPopover&&v]})},Ry=({id:e,children:t,hasToolbar:n=!0,ariaLabel:i="",allowCheck:o=!1,disableCheck:a=!1,isDraggable:s=!1,filtersPopover:l=!1,showFiltersBtn:c=!0,showToggleBtn:u=!1,toggleBtnProps:d={},filters:h,onAction:f,bulkActions:p,noBorderRadius:m=!1,noSideBorder:g=!1,isStripped:b=!1,stickyCols:v=!1,className:y="",_htmlProps:_={},_style:C={}})=>{let w=(0,r.useRef)(null),x=(0,r.useRef)(null),E=(0,r.useId)(),S=e||`sui-table-${E}`,{suiInlineClassname:k}=br(C,y),O=kr("sui-table",{"no-border-radius":m,"no-side-borders":g,stripe:b,sticky:v,draggable:s},k),M="TableFooter",A=r.Children.toArray(t),P=A.find(({type:e})=>e.name===M);return(0,Fr.jsx)(Dy,{props:{allowCheck:o,disableCheck:a,isDraggable:s,filters:h,onAction:f,bulkActions:p,filtersPopover:l,stickyCols:v,ref:w,wrapperRef:x,showFiltersBtn:c,showToggleBtn:u,toggleBtnProps:d},children:(0,Fr.jsxs)("div",{id:S,className:O,"data-testid":"table",children:[n&&(0,Fr.jsx)(Ny,{id:`${S}-toolbar`}),(0,Fr.jsx)("div",{id:`${S}-wrapper`,className:"sui-table__wrapper",ref:x,children:(0,Fr.jsx)("table",{id:`${S}-table`,className:"sui-table__table",ref:w,role:"treegrid",tabIndex:-1,cellSpacing:"0",cellPadding:"0",...!Ir(i??"")&&{"aria-label":i},..._,children:A?.filter(({type:e})=>M!==e.name)})}),!!P&&P]})})},Fy=e=>{let{id:t,children:n,_htmlProps:i}=e??{},o=(0,r.useId)(),a=t||`sui-table-body-${o}`,[s,l]=(0,r.useState)(r.Children.toArray(n)),[c,u]=(0,r.useState)([]),d=(0,r.useContext)(Ty),{name:h}=(()=>{let e=navigator?.userAgent??"",t="unknown",n="";switch(!0){case e.indexOf("Firefox")>-1:t="firefox",n=e?.match(/Firefox\/([0-9.]+)/)?.[1];break;case e.indexOf("Chrome")>-1:t="chrome",n=e?.match(/Chrome\/([0-9.]+)/)?.[1];break;case e.indexOf("Safari")>-1:t="safari",n=e?.match(/Version\/([0-9.]+)/)?.[1];break;case e.indexOf("MSIE")>-1||e.indexOf("Trident/")>-1:t="ie",n=e?.match(/(?:MSIE |rv:)([0-9.]+)/)?.[1];break;case e.indexOf("Edge")>-1:t="ms-edge",n=e?.match(/Edge\/([0-9.]+)/)?.[1]}return{name:t,ver:n}})(),f="safari"===h,p=()=>{let e=r.Children.toArray(n),t=[],i=[];return e.forEach(e=>{if(e.type===r.Fragment)(e.props?.children[1]).forEach(e=>{e?.props?.id&&(t.push(e?.props?.id),e?.props?.isDisabled&&i.push(e?.props?.id))});else{let n=e?.props?.id;n&&(t.push(n),e?.props?.isDisabled&&i.push(n))}}),d?.setDisabledRows(i),t};(0,r.useEffect)(()=>{let e=p();u(e)},[s]),(0,r.useEffect)(()=>{l(r.Children.toArray(n))},[n]),(0,r.useEffect)(()=>{let e=p();d?.setRows(e)},[n,c]);let m=(0,r.useCallback)(e=>{let{newIndex:t,oldIndex:n}=e,i=function(e,t,n){let i=[...e],[r]=i.splice(t,1);return i.splice(n,0,r),i}(c,n,t);d?.setForceCollapse(!1),d?.triggerAction("sort-rows",i),d?.setSortBy({column:"",order:"asc"})},[d,c]);return d?.isDraggable?(0,Fr.jsx)(Iy.ReactSortable,{tag:zy,list:s.map(e=>({...e,id:e.props?.id,chosen:!0})),setList:e=>l(e?.filter(e=>!!e)),animation:150,handle:".sui-table__cell--drag",onStart:()=>d?.setForceCollapse(!0),onEnd:m,...f&&{forceFallback:!0},children:s?.map(e=>(0,Fr.jsx)(r.Fragment,{children:e},e?.props?.id))}):(0,Fr.jsx)(zy,{...e,id:a,_htmlProps:i,ref:e?.ref,children:n})},zy=(0,r.forwardRef)(({id:e,_htmlProps:t,...n},i)=>(0,Fr.jsx)("tbody",{id:e,ref:i,...Rr(t),className:"sui-table__body",...n}));zy.displayName="TableBodyTag";var Hy=({id:e,children:t,isHeading:n=!1,className:i="",hasDragIcon:o=!1,isAction:a=!1,isSortable:s=!1,isSticky:l=!1,isTrim:c=!1,isPrimary:u=!1,colSpan:d,icon:h,_isGroup:f=!1,_htmlProps:p={},_style:m={}})=>{let g=(0,r.useId)(),b=e||`sui-table-cell-${g}`,v=n?"th":"td",[y,_,C]=wr({}),{suiInlineClassname:w}=br(m,i);t=_r(t,"{cell children content}");let x=(0,r.useContext)(Ty),{sortBy:E,setSortBy:S,triggerAction:k,hasStickyCols:O}=x??{},M=(0,r.useRef)(null),A=kr("sui-table__cell-btn",{hovered:y,focused:_}),P=e===E?.column?E?.order:"",j=(0,r.useCallback)(()=>{let t={column:e,order:"desc"===P?"asc":"desc"};S(t),k("sort-columns",t)},[e,P,S,k]),I=ml.CaretUpDown,T=null;h&&(T=ml[h]),!Ir(P)&&E?.column===e&&(I="desc"===P?ml.CaretDown:ml.CaretUp);let D={};s&&(D.role="button",D.tabIndex=0,D.className=A,D.onClick=j,D.onKeyDown=e=>Dr(e,j),D={...D,...C});let L=f?100:d;return(0,Fr.jsxs)(v,{id:b,ref:M,className:kr("sui-table__cell",{sortable:s,sticky:l,trim:c,primary:u,"is-sticky-active":O&&l,"is-group":f},w),...n&&{scope:"col"},role:n?"rowheader":"cell",...L&&{colSpan:L},...Rr(p),children:[o&&!f&&(0,Fr.jsx)(ml.Grip,{id:`${b}-drag`,className:"sui-table__cell--drag",size:"sm"}),a?(0,Fr.jsxs)(r.Fragment,{children:[T&&(0,Fr.jsx)(T,{id:`${b}-pre-icon`,size:"xs"}),t,s&&!f&&(0,Fr.jsx)(I,{id:`${b}-sort-icon`,size:"xs"})]}):(0,Fr.jsxs)("div",{id:`${b}-sort-btn`,...D,children:[T&&(0,Fr.jsx)(T,{id:`${b}-pre-icon`,size:"sm"}),(0,Fr.jsx)("span",{children:t}),s&&!f&&(0,Fr.jsx)(I,{id:`${b}-sort-icon`,size:"xs"})]})]})},Uy=({children:e,_style:t={}})=>{let n=(0,r.useContext)(Ty),{columns:i}=n,o=i.find(e=>e.isPrimary),a=i.findIndex(e=>e.isPrimary),{suiInlineClassname:s}=br(t);return(0,Fr.jsxs)("div",{className:kr("sui-table__fields",{},s),children:[!!o&&!!a&&(0,Fr.jsx)("div",{className:"sui-table__fields-primary",children:e[a]?.props?.children?.props?.children}),(0,Fr.jsx)("div",{className:"sui-table__fields-items",children:i.map((t,n)=>a===n?null:(0,Fr.jsxs)("li",{className:"sui-table__fields-item",children:[(0,Fr.jsx)("div",{className:"sui-table__fields-item-title",children:t?.title}),(0,Fr.jsx)("div",{className:"sui-table__fields-item-value",children:e[n]?.props?.children?.props?.children})]},`column-${n}`))})]})},Vy=({id:e,children:t,actions:n,isUnderHeader:i=!1,isExpandable:o=!1,expandableContent:a=null,status:s,isUnderFooter:l=!1,isGroup:c=!1,isDisabled:u,_htmlProps:d={},_style:h={}})=>{let[f,p]=(0,r.useState)(!1),m=(0,r.useContext)(Ty),[g,b,v]=wr({}),{suiInlineClassname:y}=br(h),_=`sui-table-row-${(0,r.useId)()}${e?`-${e}`:""}`,C=`${_}-content`,w=(0,r.useCallback)(t=>{let n=t?.target?.checked??!1,r=(i?"select-all":e)??"";m?.onSelect(r,n)},[m,e,i]);(0,r.useEffect)(()=>{m?.forceCollapse&&p(!1)},[m?.forceCollapse]);let x=(m?.selected??[])?.indexOf(parseInt(`${e}`))>-1,E=!(m?.rows?.length&&m?.rows?.length>0)||m?.disableCheck||u,S=!1;if(i){let e=(m?.rows?.length||0)-(m?.disabledRows?.length||0),t=e===m?.selected.length&&e>0;S=(m?.selected??[])?.length>0&&!t,x=t&&(m?.selected??[]).length>0}let k=kr("sui-table__row",{focus:!l&&!i&&b,hover:!l&&!i&&g,expandable:o,expanded:f,"is-group":c,[s]:!Ir(s??"")},y),O=o&&(0,Fr.jsx)(wl,{icon:f?"ChevronUp":"ChevronDown",colorScheme:"black",type:"tertiary",isSmall:!0,iconOnly:!0,onClick:()=>p(!f),children:(f?"Collapse":"Expand")+" Row"}),M=r.Children.count(t);m?.allowCheck&&(M+=1),n&&(M+=1);let A=m?.columns?.findIndex(e=>e.isPrimary);t=r.Children.toArray(t).map((e,t)=>{let n={hasDragIcon:!1,colSpan:e?.props?.colSpan||void 0};return 0===t&&(n.isSticky=!!m?.stickyCols,m?.isDraggable&&!m?.allowCheck&&!l&&!i&&(n.hasDragIcon=!0),m?.allowCheck||(n.style={left:0,paddingRight:"16px",...m?.isDraggable?{}:{paddingLeft:"32px"}})),l&&(n.isSticky=!1,n.hasDragIcon=!1,n.colSpan||(n.colSpan="100%")),A===t&&(n.isPrimary=!0),n._isGroup=c,(0,Fr.jsx)(r.Fragment,{children:(0,r.cloneElement)(e,n)},t)});let P={};return o&&(P.id=_,P["aria-expanded"]=f,P["aria-controls"]=C),(0,Fr.jsxs)(r.Fragment,{children:[(0,Fr.jsxs)("tr",{role:"row",className:k,...v,...Rr(d),...P,children:[m?.allowCheck&&!l&&!c&&(0,Fr.jsx)(Hy,{className:"sui-table__cell--selection",isSticky:!!m?.stickyCols,hasDragIcon:m?.isDraggable&&!i,children:(0,Fr.jsx)(gy,{name:_,id:`${_}-checkbox`,isDisabled:E,onChange:w,isChecked:x,isIndeterminate:S})}),t,(!!n||O)&&!l&&!c&&(0,Fr.jsxs)(Hy,{className:"sui-table__cell--actions",isSticky:!!m?.stickyCols,isAction:!0,children:["function"==typeof n&&n({id:e,content:O}),!n&&O]})]}),o&&!!a&&f&&!c&&(0,Fr.jsx)("tr",{role:"row",className:kr("sui-table__row",{content:!0,"content-expanded":f,[s]:!Ir(s??"")}),id:C,"aria-labelledby":_,tabIndex:f?0:-1,children:(0,Fr.jsxs)("td",{colSpan:M,children:[(0,Fr.jsx)(Uy,{children:t}),a]})})]})},$y=({children:e,hasActions:t=!1,_htmlProps:n={},_style:i={}})=>{let{suiInlineClassname:o}=br(i),a=r.Children.toArray(e),s=(0,r.useContext)(Ty),{setColumns:l}=s;return(0,r.useEffect)(()=>{if("props"in e){let{children:t}=e?.props??{};l(r.Children.map(t,e=>({title:e?.props?.children,isPrimary:e?.props?.isPrimary})))}},[e,l]),(0,Fr.jsx)("thead",{className:kr("sui-table__head",{},o),...Rr(n),children:a.map((e,t)=>(0,r.cloneElement)(e,{...e?.props,isUnderHeader:!0,key:`table-col-${t}`}))})},By=({children:e,_htmlProps:t={},_style:n={}})=>{let{suiInlineClassname:i}=br(n);return(0,Fr.jsx)("table",{className:"sui-table__table sui-table__table--footer",children:(0,Fr.jsx)("tfoot",{className:kr("sui-table__footer",{},i),...Rr(t),children:r.Children.toArray(e).map((e,t)=>(0,r.cloneElement)(e,{...e?.props,isUnderFooter:!0,key:`table-footer-child-${t}`}))})})};function Wy(e){return Wy="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},Wy(e)}function Zy(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return qy(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?qy(e,t):void 0}}(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 qy(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}function Gy(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Qy(e,t,n){return(t=function(e){var t=function(e){if("object"!=Wy(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Wy(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Wy(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}By.displayName="TableFooter";var Yy={pageviews:(0,zn.__)("Views"),page_time:(0,zn.__)("Page Time"),visit_time:(0,zn.__)("Visit Times"),bounce_rate:(0,zn.__)("Bounce rate"),visits:(0,zn.__)("Entrances"),exit_rate:(0,zn.__)("Exit rate")},Ky=function(e){var t,n,i,o,a="/analytics",s=function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Gy(Object(n),!0).forEach(function(t){Qy(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Gy(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({period:null!==(t=null==e?void 0:e.period)&&void 0!==t?t:7,is_network:pd},e),l=yd(a,s,null===(n=null==e?void 0:e.enabled)||void 0===n||n),c=l.data,u=l.isLoading,d=l.isRefetching,h=l.refetch,f=(null==c?void 0:c.data)||{},p=(null==f?void 0:f.totals)||(null==f||null===(i=f.overall_data)||void 0===i?void 0:i.totals)||{},m=(null==f?void 0:f.chart)||(null==f||null===(o=f.overall_data)||void 0===o?void 0:o.chart)||{},g=(null==f?void 0:f.autocomplete)||[],b=(null==f?void 0:f.pages)||[],v=(null==f?void 0:f.authors)||[],y=(null==f?void 0:f.sites)||[],_=(0,r.useCallback)(function(e){var t=null!=e?e:Object.keys(Yy);return Object.entries(p).filter(function(e){var n=Zy(e,1)[0];return t.includes(n)}).reduce(function(e,t){var n=Zy(t,2),i=n[0],r=n[1];return e[i]=r,e},{})},[p]),C=!Object.values(_()).every(function(e){return"0%"===e.change}),w=Array.isArray(null==f?void 0:f.pages)&&f.pages.length>0,x=Array.isArray(null==f?void 0:f.authors)&&f.authors.length>0,E=Array.isArray(null==f?void 0:f.sites)&&f.sites.length>0;return{data:p,chart:m,slug:a,getAnalytics:_,isLoading:d||u,refetch:h,hasAnalytics:C,hasPages:w,hasAuthors:x,hasSites:E,autocomplete:g,pages:b,authors:v,sites:y}},Xy=function(){var e,t=(0,Ky().getAnalytics)(["pageviews","visit_time","bounce_rate","visits"]);return o().createElement(Ry,{id:"dashboard-analytics-table",noBorderRadius:!0,noSideBorder:!0,hasToolbar:!1},o().createElement(Fy,{id:"dashboard-analytics-table-body"},null===(e=Object.keys(t))||void 0===e?void 0:e.map(function(e){var n=t[e],i=n.direction,a=n.change,s=n.value,l="#4c4c4c";return"up"===i?l="#18a847":"down"===i&&(l="#E52400"),o().createElement(Vy,{id:"dashboard-analytics-table-row-".concat(e),key:e},o().createElement(Hy,{id:"dashboard-analytics-table-cell-metric-".concat(e)},o().createElement(nh,{id:"dashboard-analytics-table-metric-".concat(e),color:"#1a1a1a",weight:"bold"},Yy[e])),o().createElement(Hy,{id:"dashboard-analytics-table-cell-change-".concat(e)},o().createElement(r.Fragment,null,"up"===i?o().createElement(rs,{id:"dashboard-analytics-table-arrow-up-".concat(e),size:"xs",fill:l,_style:{mr:"8px"}}):"down"===i?o().createElement(os,{id:"dashboard-analytics-table-arrow-down-".concat(e),size:"xs",fill:l,_style:{mr:"8px"}}):null," ",o().createElement(nh,{id:"dashboard-analytics-table-percent-".concat(e),color:l,as:"span"},a))),o().createElement(Hy,{id:"dashboard-analytics-table-cell-value-".concat(e)},o().createElement(nh,{id:"dashboard-analytics-table-value-".concat(e),color:"#4c4c4c"},s)))})))},Jy=$u.plugins_url,e_=$u.hub_url,t_=[o().createElement(wl,{id:"dashboard-plugins-widget-add-plugins-button",key:0,type:"primary",colorScheme:"blue",isSmall:!0,href:Jy},(0,zn.__)("Add Plugins")),o().createElement(wl,{id:"dashboard-plugins-widget-view-all-button",key:1,type:"secondary",colorScheme:"black",isSmall:!0,href:Jy},(0,zn.__)("View all Plugins"))],n_=[o().createElement(wl,{id:"dashboard-plugins-widget-install-plugins-button",key:0,type:"primary",colorScheme:"blue",isSmall:!0,target:"_blank",href:e_+"/plugins/add/wpOrg"},(0,zn.__)("Install Plugins"))],i_=function(){var e=ld.plugins,t=Wv({fetchFreePlugins:!e}).activePluginsNum;return o().createElement(jv,{id:"dashboard-plugins-widget",title:(0,zn.__)("Plugins"),description:o().createElement(r.Fragment,null,o().createElement(nh,{id:"dashboard-plugins-widget-description"},(0,zn.__)("Install, update and configure our plugins."))),tag:null==t?void 0:t.toString(),tagProps:{colorScheme:"yellow",design:"solid"},icon:"Menu",actions:e?t_:n_,isFullWidth:!0},o().createElement(Zv,null))};function r_(){return r_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},r_.apply(null,arguments)}var o_=function(e){var t=e.ticketsConfig,n=qv(),i=n.getSupportField,a=n.grantAccess,s=n.isSaving,l=i("enabled"),c=Qv(t).hasTickets,u=$u.support_url,d=ld.support,h=[o().createElement("div",{id:"dashboard-support-widget-left-actions",key:0,className:"dash-sui-widget__actions"},o().createElement(wl,{id:"dashboard-support-widget-get-support-button",key:0,type:"primary",colorScheme:"blue",isSmall:!0,isDisabled:s,href:u},(0,zn.__)("Get support")),!l&&d&&o().createElement(wl,{id:"dashboard-support-widget-grant-access-button",key:1,type:"secondary",colorScheme:"black",isSmall:!0,isDisabled:s,isLoading:s,onClick:function(){return a.mutate({})}},(0,zn.__)("Grant access"))),o().createElement(wl,{id:"dashboard-support-widget-view-all-button",key:1,type:"tertiary",colorScheme:"black",isSmall:!0,isDisabled:s,href:u},(0,zn.__)("View all"))];return o().createElement(jv,r_({id:"dashboard-support-widget",icon:"Lifesaver",isFullWidth:!0,title:(0,zn.__)("Support")},l&&d&&{statusIcon:"CheckAlt",statusProps:{colorScheme:"success"}},!d&&{tag:(0,zn.__)("pro"),tagProps:{id:"dashboard-support-widget-pro-tag",colorScheme:"black",design:"outlined",isSmall:!0,isUppercase:!0}},{description:o().createElement(r.Fragment,null,o().createElement("p",{id:"dashboard-support-widget-description"},(0,zn.__)("Get 24/7 support for any issue you’re having. When you have active tickets they’ll be displayed here."))),actions:d&&h}),c&&d?o().createElement(Xv,null):o().createElement(r.Fragment,null))};function a_(e){return a_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},a_(e)}function s_(){return s_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},s_.apply(null,arguments)}function l_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function c_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?l_(Object(n),!0).forEach(function(t){u_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):l_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function u_(e,t,n){return(t=function(e){var t=function(e){if("object"!=a_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=a_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==a_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var d_=(null!=$u?$u:{}).whitelabel_url,h_=[o().createElement(wl,{id:"dashboard-whitelabel-widget-configure-button",key:0,type:"secondary",colorScheme:"black",isSmall:!0,href:d_},(0,zn.__)("Configure"))],f_=function(){var e=(0,r.useRef)(null),t=vl(e,{colorScheme:"primary"}),n=Vh({onSaveSuccess:function(){t.hide()}}),i=(n.settings,n.getField),a=n.save,s=i("whitelabel","enabled"),l=i("whitelabel"),c=ld.whitelabel;return o().createElement("div",{id:"dashboard-whitelabel-widget",ref:e},o().createElement(jv,s_({id:"dashboard-whitelabel-dashboard-widget",title:(0,zn.__)("White Label"),isFullWidth:!0,description:o().createElement(r.Fragment,null,o().createElement("p",{id:"dashboard-whitelabel-widget-description"},(0,zn.__)("Remove WPMU DEV branding from all our plugins and replace it with your own branding for your clients.")))},s&&c&&{statusIcon:"CheckAlt",statusProps:{colorScheme:"success"}},!c&&{tag:(0,zn.__)("pro"),tagProps:{id:"dashboard-whitelabel-widget-pro-tag",colorScheme:"black",design:"outlined",isSmall:!0,isUppercase:!0}},{onToggle:function(){t.show(),a.mutate({whitelabel:c_(c_({},l),{},{enabled:!s})})},canCollapse:!!c,isExpanded:s,icon:"Tag",actions:c&&h_}),o().createElement(r.Fragment,null)))};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 i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},p_.apply(null,arguments)}var m_=function(){var e=$u.external_support_url;return o().createElement(jv,p_({id:"dashboard-resources-widget",title:(0,zn.__)("Resources"),isFullWidth:!0,description:o().createElement(r.Fragment,null,o().createElement("p",{id:"dashboard-resources-widget-description"},(0,zn.__)("Here are several of our supremely helpful resources."))),icon:"InfoAlt"},dd?{}:{actions:[o().createElement(nh,{id:"dashboard-resources-widget-still-stuck-text",key:0,size:"sm",align:"center"},(0,zn.__)("Still stuck? "),o().createElement(Uh,{id:"dashboard-resources-widget-open-support-ticket-link",href:e,isExternal:!0},(0,zn.__)("Open a support ticket")),(0,zn.__)(" and we'll be happy to help you."))]}),o().createElement(oy,null))};function g_(){return g_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},g_.apply(null,arguments)}var b_=$u.hub_url,v_=[o().createElement(wl,{id:"dashboard-services-widget-manage-hub-button",key:0,type:"secondary",colorScheme:"black",isSmall:!0,href:b_+"/site/"+Bu,target:"_blank"},(0,zn.__)("Manage in The Hub"))],y_=function(){return o().createElement(jv,g_({id:"dashboard-services-widget",title:(0,zn.__)("Services"),isFullWidth:!0,description:o().createElement(r.Fragment,null,o().createElement("p",{id:"dashboard-services-widget-description"},(0,zn.__)("Monitor and automate critical aspects of your site.")))},cd&&{tag:(0,zn.__)("pro"),tagProps:{id:"dashboard-services-widget-pro-tag",colorScheme:"black",design:"outlined",isSmall:!0,isUppercase:!0}},{icon:"Tools",actions:!cd&&v_,_style:{overflow:"hidden"}}),o().createElement(cy,null))};function __(e){return __="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 i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},C_.apply(null,arguments)}function w_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function x_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?w_(Object(n),!0).forEach(function(t){E_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):w_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function E_(e,t,n){return(t=function(e){var t=function(e){if("object"!=__(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=__(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==__(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var S_=function(){var e=(0,r.useRef)(null),t=vl(e,{colorScheme:"primary"}),n=Vh({onSaveSuccess:function(){return t.hide()}}),i=n.getField,a=n.save,s=i("analytics","enabled"),l=Ky({enabled:s}),c=l.hasAnalytics,u=l.isLoading,d=i("analytics"),h=$u.admin_analytics_widget,f=ld.analytics,p=[o().createElement(wl,{key:"view-report",id:"dashboard-analytics-widget-view-full-report-button",type:"secondary",colorScheme:"black",isSmall:!0,href:h},(0,zn.__)("View full report"))],m=c&&f&&s;return(0,r.useEffect)(function(){return u?t.show():t.hide()},[u]),o().createElement("div",{id:"dashboard-analytics-widget-wrapper",ref:e},o().createElement(jv,C_({id:"dashboard-analytics-widget",title:(0,zn.__)("Analytics")},s&&f&&{statusIcon:"CheckAlt",statusProps:{colorScheme:"success"}},{description:o().createElement(r.Fragment,null,o().createElement("p",{id:"dashboard-analytics-description"},(0,zn.__)("Add basic analytics tracking that doesn't require any third party integration, and display the data in the WordPress Admin Dashboard area.")),!c&&f&&s&&o().createElement(Al,{id:"dashboard-analytics-no-data-notification",message:(0,zn.__)("We haven't collected enough data. Please check back soon."),icon:"InfoAlt",isFluid:!0,variation:"info"}))},!f&&{tag:(0,zn.__)("pro"),tagProps:{id:"dashboard-analytics-widget-pro-tag",colorScheme:"black",design:"outlined",isSmall:!0,isUppercase:!0}},{onToggle:function(){t.show(),a.mutate({analytics:x_(x_({},d),{},{enabled:!s})})},canCollapse:!!f,isExpanded:s,icon:"ChartAlt",actions:m&&p,isFullWidth:!0}),m?o().createElement(Xy,null):o().createElement(r.Fragment,null)))},k_=({id:e,title:t="title",icon:n,hideMobileIcon:i=!0,primaryActions:o=null,secondaryActions:a=null,className:s,children:l,_htmlProps:c={},_style:u={}})=>{let d=(0,r.useId)(),h=e||`sui-summary-box-${d}`,{suiInlineClassname:f}=br(u,s),p={id:h,title:t,className:kr("sui-summary-box",{},f),icon:n,isSmall:!0,hideMobileIcon:i,headerLeft:(0,Fr.jsx)("div",{className:"sui-summary-box__quick-actions",children:o}),headerRight:a,_htmlProps:{...c,"data-testid":"summary-box"}};return l=_r(l),n&&(p.icon=n),(0,Fr.jsx)(Oh,{...p,children:l})},O_=({id:e,className:t,children:n,summaryItems:i=[],reverseBlocks:o=!1,_htmlProps:a={},_style:s={}})=>{let l=(0,r.useId)(),c=e||`sui-summary-box-body-${l}`,{suiInlineClassname:u}=br(s,t),d=kr("sui-summary-box__body",{},u);n=_r(n,"{summary box body children}");let h=[(0,Fr.jsx)(Qd,{size:"6",children:(0,Fr.jsx)("div",{className:"sui-summary-box__body-content",children:n})},0),(0,Fr.jsx)(Qd,{size:"6",children:(0,Fr.jsx)("div",{className:"sui-summary-box__list",children:(i??[]).map((e,t)=>e)})},1)];return o&&h.reverse(),(0,Fr.jsx)(kh,{isInline:!0,className:"sui-summary-box__info",_htmlProps:{id:c,...a},children:(0,Fr.jsx)(Gd,{align:{md:"inline"},className:d,children:h.map(e=>e)})})},M_=({id:e,title:t="",titleUrl:n="",description:i="",className:o,tagTitle:a="",tagColor:s="default",actionIcon:l,actionIconColor:c="",tagProps:u={},linkProps:d={},_htmlProps:h={},_style:f={}})=>{let p=(0,r.useId)(),m=e||`sui-summary-box-item-${p}`,[g,b,v]=wr({}),{suiInlineClassname:y}=br(f,o),_=kr("sui-summary-box__list-item",{hover:g,focus:b},y),C=null;return l&&(C=ml?.[l]),(0,Fr.jsxs)(Gd,{className:_,...v,_htmlProps:{id:m,"data-testid":"summary-box-item",...h},children:[(0,Fr.jsxs)("div",{className:"sui-summary-box__list-item-info",children:[Ir(n)?t:(0,Fr.jsx)("a",{href:n,...d,children:t}),!Ir(i??"")&&(0,Fr.jsx)(Ev,{label:"(info)",type:"icon",icon:"InfoAlt",placement:"top",customWidth:300,customMobileWidth:200,children:i})]}),(!Ir(a)||!Ir(l))&&(0,Fr.jsx)("div",{className:"sui-summary-box__list-item-status",children:C?(0,Fr.jsx)(C,{colorScheme:c,size:"md"}):(0,Fr.jsx)(Av,{colorScheme:s,...u,children:a})})]})},A_=({id:e,className:t,children:n,span:i="half",padding:o="lg",_style:a,_htmlProps:s})=>{let l=(0,r.useId)(),c=e||`sui-summary-box-content-${l}`,{suiInlineClassname:u}=br(a,t),d=kr("sui-summary-box__content",{fluid:"full"===i,[o]:!!o&&"lg"!==o},u);return(0,Fr.jsx)("div",{id:c,className:d,...s,children:n})},P_=({id:e,className:t,children:n,_style:i,_htmlProps:o})=>{let a=(0,r.useId)(),s=e||`sui-summary-box-row-${a}`,{suiInlineClassname:l}=br(i,t),c=kr("sui-summary-box__row",{},l);return(0,Fr.jsx)("div",{id:s,className:c,...o,children:n})},j_={hummingbird:{icon:"PluginHummingbird",title:"Hummingbird Pro",description:"Get our full WordPress performance optimization suite with Hummingbird Pro and additional benefits of WPMU DEV membership."},smush:{icon:"PluginSmush",title:"Smush Pro",description:"Max speed, no limits, everything you need to achieve peak image performance."},snapshot:{icon:"PluginSnapshot",title:"Snasphot Pro",description:"Get Snapshot Pro and get all the tools you need for Easily backup and migrate site."},smartcrawl:{icon:"PluginSmartcrawl",title:"SmartCrawl Pro",description:"Get our full WordPress Search Engine Optimization suite with SmartCrawl Pro and resolve more about the Engine Optimization."},shipper:{icon:"PluginShipper",title:"Shipper Pro",description:"Get Shipper Pro and get all the tools you need for Migrate Site."},ivt:{icon:"PluginIvt",title:"IVT Pro",description:"Get IVT Pro and get all the tools you need for Video upload on Site."},hustle:{icon:"PluginHustle",title:"Hustle Pro",description:"Get Hustle Pro and get all the tools you need for Conversion insights."},forminator:{icon:"PluginForminator",title:"Forminator Pro",description:"Get Forminator Pro and get all the tools you need to Create different style of Forms, Quizes and Email templates"},defender:{icon:"PluginDefender",title:"Defender Pro",description:"Get Defender Pro and get all the tools you need to FIx all the security issue in your site, it help to fix Malware code too."},branda:{icon:"PluginBranda",title:"Branda Pro",description:"Get Branda Pro and get all the tools you need to Secure your site."},beehive:{icon:"PluginBeehive",title:"Beehive Pro",description:"Get Beehive Pro and get all the tools you need for analytic insights."},dashboard:{icon:"PluginDashboard",title:"WPMU DEV Membership",description:"Get the full performance optimization suite and additional benefits of WPMU DEV membership"}},I_=({id:e,title:t,description:n="",size:i,variation:o="hummingbird",features:a=[],actions:s=null,featuresIcon:l="Check",featuresTitle:c="",_htmlProps:u={},_style:d={}})=>{let h=(0,r.useId)(),f=e||`sui-upsell-${h}`,{suiInlineClassname:p}=br(d),m=kr("sui-upsell",{[o]:!Ir(o??""),[i]:!Ir(i??"")},p),g=j_[o],b=ml?.[g?.icon],v=ml?.[l];return(0,Fr.jsxs)("div",{id:f,className:m,"data-testid":"upsell",...Rr(u),children:[(0,Fr.jsxs)("div",{className:"sui-upsell__header",children:[b&&(0,Fr.jsx)("div",{className:"sui-upsell__header-icon","data-testid":"upsell-icon",children:(0,Fr.jsx)("div",{className:kr("sui-upsell__icon",{[o]:!Ir(o??"")}),children:(0,Fr.jsx)(b,{fill:"white"})})}),(0,Fr.jsx)("h3",{className:"sui-upsell__header-title sui-heading--h5","data-testid":"upsell-title",children:t??g?.title})]}),(0,Fr.jsxs)("div",{className:"sui-upsell__body",children:[Ir(n??"")?g?.description:n,!!c&&(0,Fr.jsx)("h4",{className:"sui-upsell__features-title",children:c}),a?.length>0&&(0,Fr.jsx)("ul",{className:kr("sui-upsell__features",{"has-title":!!c}),"data-testid":"features",children:a?.map((e,t)=>(0,Fr.jsxs)("li",{className:"sui-upsell__features-item",children:[(0,Fr.jsx)(v,{size:"sm"}),(0,Fr.jsx)("span",{children:e})]},t))})]}),s&&(0,Fr.jsx)("div",{className:"sui-upsell__footer","data-testid":"actions",children:s})]})};function T_(e){return T_="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},T_(e)}function D_(){return D_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},D_.apply(null,arguments)}function L_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function N_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?L_(Object(n),!0).forEach(function(t){R_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):L_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function R_(e,t,n){return(t=function(e){var t=function(e){if("object"!=T_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=T_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==T_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}I_.displayName="Upsell";var F_=function(e){var t,n=e.ticketsConfig,i=ld.plugins,r=ld.support,a=ld.whitelabel,s=Wv({fetchFreePlugins:!i}).activePluginsNum,l=Vh().getField,c=Qv(n).getActiveTicketsNumber,u=Zn(),d=c(),h=Wh(),f=h.logout,p=h.isLoggingOut,m=(h.checkUpdates,h.isCheckingUpdates,l("general","last_run_updates")),g=l("updates_available")||{},b=l("whitelabel","enabled"),v=$u.support_url,y=$u.plugins_url,_=$u.hub_account_url,C=$u.remote_site,w=$u.hub_url,x=(null===(t=Object.keys(g))||void 0===t||null===(t=t.filter(function(e){return!g[e].is_addon}))||void 0===t?void 0:t.length)||0,E=(null!=Qu?Qu:{}).username,S="mobile"===u,k=w+"/site/"+Bu+"/automateUpdates/updates";return o().createElement(Gd,{id:"dashboard-overview-section-row",align:{md:"stacked",lg:"inline"},className:"dash-sui-overview__row"},o().createElement(Qd,{id:"dashboard-overview-section-col",size:ud||cd?"8":"12"},o().createElement(k_,{id:"dashboard-overview-summary-box",icon:"Server",title:(0,zn.__)("Overview"),hideMobileIcon:!0},o().createElement(O_,{id:"dashboard-overview-summary-box-body",summaryItems:[ld.plugins&&o().createElement(M_,{key:0,id:"dashboard-overview-summary-box-item-updates",tagTitle:x.toString(),title:(0,zn.__)("Plugin update available"),titleUrl:i?y:k,linkProps:i?{}:{target:"_blank"},tagColor:"yellow"}),o().createElement(M_,D_({id:"dashboard-overview-summary-box-item-tickets",key:1,title:(0,zn.__)("Active Support ticket")},r&&N_({tagTitle:d,titleUrl:v},"0"!==d&&{tagColor:"blue"}),!r&&{tagColor:"black",tagTitle:(0,zn.__)("Pro"),tagProps:{isSmall:!0,design:"outlined",isUppercase:!0}})),o().createElement(M_,D_({id:"dashboard-overview-summary-box-item-whitelabel",key:2,title:(0,zn.__)("White Label")},a&&{tagColor:b?"green":"default",tagTitle:b?(0,zn.__)("Active"):(0,zn.__)("Inactive")},!a&&{tagColor:"black",tagTitle:(0,zn.__)("Pro"),tagProps:{isSmall:!0,design:"outlined",isUppercase:!0}}))]},o().createElement(P_,{id:"dashboard-overview-summary-box-row-plugins"},o().createElement(A_,{id:"dashboard-overview-summary-box-content-plugins",span:"full"},o().createElement(mh,{id:"dashboard-overview-active-plugins",spacing:8},o().createElement(nh,{id:"dashboard-overview-plugins-count",size:"xxl",weight:"extra-bold",color:"#1a1a1a",style:{lineHeight:"40px"}},s),o().createElement(nh,{id:"dashboard-overview-plugins-label",size:"sm",weight:"bold",style:{lineHeight:"20px"}},!dd&&i?(0,zn.__)("Active Pro Plugins"):(0,zn.__)("Active Plugins")))),o().createElement(A_,{id:"dashboard-overview-summary-box-content-updates",span:"full",padding:"md"},o().createElement(Gh,{id:"dashboard-overview-check-for-updates",spacing:4,direction:S?"column":"row",justify:S?"center":"space-between",margin:"0",children:o().createElement(nh,{id:"dashboard-overview-last-checked",size:"sm"},(0,uu.createInterpolateElement)((0,zn.sprintf)("<strong>Last Checked:</strong> %s",yu(m)),{strong:o().createElement("strong",{id:"dashboard-overview-last-checked-label"})}))})))))),cd&&o().createElement(Qd,{id:"dashboard-overview-col-membership-expired",size:"4"},o().createElement(I_,{id:"dashboard-overview-upsell-membership-expired",variation:"dashboard",title:(0,zn.__)("Membership Expired"),featuresIcon:"LockAlt",featuresTitle:(0,zn.__)("What’re you losing"),description:(0,zn.sprintf)("Hey %s, looks like you’ve logged in with an expired membership.Renew your membership to keep enjoying all perks.",E),features:["Premium WordPress plugins","Smush and Hummingbird Pro performance pack","Automated testing and reporting","Manage unlimited WordPress sites from The Hub","White label tools"],actions:[o().createElement("div",{id:"dashboard-overview-upsell-membership-expired-action-reactivate",key:0},o().createElement(wl,{id:"dashboard-overview-upsell-membership-expired-button-reactivate",type:"primary",colorScheme:"black",isSmall:!0,href:_,target:"_blank"},(0,zn.__)("Reactivate Membership"))),o().createElement("div",{id:"dashboard-overview-upsell-membership-expired-action-switch-account",key:1},o().createElement(wl,{id:"dashboard-overview-upsell-membership-expired-button-switch-account",type:"tertiary",colorScheme:"black",isSmall:!0,isDisabled:p,isLoading:p,onClick:function(){return f.mutate({})}},(0,zn.__)("Switch Account")))],_style:{height:"100%"}})),ud&&o().createElement(Qd,{id:"dashboard-overview-col-membership-upgrade",size:"4"},o().createElement(I_,{id:"dashboard-overview-upsell-membership-upgrade",variation:"dashboard",title:(0,zn.__)("WPMU DEV Membership"),description:(0,zn.sprintf)("Hey %s, get the full performance optimization suite and additional benefits of WPMU DEV membership.",E),features:["Premium WordPress plugins","Smush and Hummingbird Pro performance pack","Automated testing and reporting","Manage unlimited WordPress sites from The Hub","White label tools"],actions:[o().createElement("div",{id:"dashboard-overview-upsell-membership-upgrade-action-upgrade-now",key:0},o().createElement(wl,{id:"dashboard-overview-upsell-membership-upgrade-button-upgrade-now",type:"primary",colorScheme:"black",isSmall:!0,href:_,target:"_blank"},(0,zn.__)("Upgrade now"))),o().createElement("div",{id:"dashboard-overview-upsell-membership-upgrade-action-learn-more",key:1},o().createElement(wl,{id:"dashboard-overview-upsell-membership-upgrade-button-learn-more",type:"tertiary",colorScheme:"black",isSmall:!0,href:C,target:"_blank"},(0,zn.__)("Learn more")))],_style:{height:"100%"}})))},z_=({id:e,title:t="Page Title",actions:n=[],className:i,_style:o={}})=>{let a=(0,r.useId)(),s=e||`sui-page-header-${a}`,{suiInlineClassname:l}=br(o,i),c=kr("sui-page-header",{},l);return(0,Fr.jsxs)("div",{id:s,className:c,children:[(0,Fr.jsx)("h1",{id:`${s}-title`,className:"sui-page-header__title",children:t}),n.length>0&&(0,Fr.jsx)("div",{id:`${s}-actions`,className:"sui-page-header__actions",children:n})]})},H_=function(){var e={per_page:5,status:"all",page:1},t=Zn({custom:[1450,1200]}),n=Wv({fetchFreePlugins:!ld.plugins}).isLoading,i=Vh().isLoading,r=Qv(e).isLoading,a=sy().isLoading;return n||i||r||a?o().createElement(bl,{id:"dashboard-page-loading-spinner",isContained:!0}):o().createElement(Kd,{id:"dashboard-page-container"},o().createElement(Gd,{id:"dashboard-main-row",align:{md:"inline"}},o().createElement(Qd,{id:"dashboard-page-header-col",size:"12"},o().createElement(z_,{id:"dashboard-page-header",title:(0,zn.__)("Dashboard")})),o().createElement(Qd,{id:"dashboard-overview-col",size:"12"},o().createElement(F_,{ticketsConfig:e})),o().createElement(Qd,{id:"dashboard-plugins-services-col",size:{md:6,lg:"custom"===t?6:4}},o().createElement(mh,{id:"dashboard-plugins-services-stack",spacing:32},o().createElement(i_,null),o().createElement(y_,null))),o().createElement(Qd,{id:"dashboard-support-whitelabel-col",size:{md:6,lg:"custom"===t?6:4}},o().createElement(mh,{id:"dashboard-support-whitelabel-stack",spacing:32},o().createElement(o_,{ticketsConfig:e}),o().createElement(f_,null))),o().createElement(Qd,{id:"dashboard-analytics-resources-col",size:{md:6,lg:"custom"===t?6:4}},o().createElement(mh,{id:"dashboard-analytics-resources-stack",spacing:32},o().createElement(S_,null),o().createElement(m_,null)))))},U_=({id:e,title:t="Box Title",description:n,headerActions:i,footerActions:o,centerFooterActions:a,className:s,isPro:l=!1,hasBg:c=!0,isFluid:u=!1,children:d,hasLargeRadius:h,_htmlProps:f,_style:p})=>{let m=(0,r.useId)(),g=e||`sui-basic-box-${m}`,[b,v,y]=wr({});d=_r(d);let{suiInlineClassname:_}=br(p,s),C=kr("sui-basic-box",{focus:v,hover:b&&!v,pro:l,bg:c,"is-fluid":u,"center-footer-actions":a,"large-radius":h},_);return(0,Fr.jsxs)("div",{id:g,className:C,...y,"data-testid":"basic-box",...Rr(f),children:[(0,Fr.jsx)("div",{className:"sui-basic-box__header",id:`${g}-header`,children:(0,Fr.jsxs)("div",{className:"sui-basic-box__header-info",id:`${g}-header-info`,children:[!!t&&(0,Fr.jsx)("h4",{id:`${g}-title`,className:"sui-basic-box__header-title sui-heading--h4","data-testid":"basic-box-title",children:t}),(0,Fr.jsx)("div",{className:"sui-basic-box__actions",id:`${g}-actions`,children:i&&i}),!!n&&(0,Fr.jsx)("div",{id:`${g}-description`,className:"sui-basic-box__header-desc","data-testid":"basic-box-description",children:n})]})}),(0,Fr.jsx)("div",{className:"sui-basic-box__body",id:`${g}-body`,"data-testid":"basic-box-body",children:d}),!!o&&(0,Fr.jsxs)("div",{className:"sui-basic-box__footer",id:`${g}-footer`,children:[!!o?.[0]&&(0,Fr.jsx)("div",{className:"sui-basic-box__footer-left",id:`${g}-footer-left`,children:o?.[0]}),!!o?.[1]&&(0,Fr.jsx)("div",{className:"sui-basic-box__footer-right",id:`${g}-footer-right`,children:o?.[1]})]})]})},V_=n.p+"images/analytics.svg",$_=n.p+"images/analytics-inactive.svg",B_=(0,r.createContext)(null),W_=(0,r.forwardRef)(({id:e,size:t="sm",_style:n,children:i,variant:o="simple",_htmlProps:a,onCloseModal:s},l)=>{let c=(0,r.useId)();e||(e=c),i=_r(i);let[u,d]=(0,r.useState)(!1);Er({component:W_,propsToCheck:{id:e}});let h=(0,r.useCallback)(()=>{document.body.classList.add("sui-locked"),d(!0)},[]),f=(0,r.useCallback)(()=>{document.body.classList.remove("sui-locked"),s&&s(),d(!1)},[s]);(0,r.useImperativeHandle)(l,()=>({openModal:h,closeModal:f}));let[p]=xr(),{suiInlineClassname:m}=br(n,"sui-wp-overlay");if(!u)return null;let g=kr("sui-modal",{"is-open":u,[o]:!Ir(o??""),[t]:!Ir(t??"")},m);return p((0,Fr.jsxs)(B_.Provider,{value:{openModal:h,closeModal:f,variant:o??"simple",size:t??"sm"},children:[(0,Fr.jsx)("section",{className:g,"data-testid":"modal",tabIndex:-1,...Rr(a),children:(0,Fr.jsx)("div",{id:`${c}-container`,className:kr("sui-modal__container",{}),role:"dialog","aria-modal":"true",tabIndex:-1,children:i})}),(0,Fr.jsx)("div",{className:"sui-modal__overlay",id:`${c}-overlay`,role:"presentation"})]}))});W_.displayName="Modal";var Z_=({id:e,title:t="header title",children:n,icon:i,iconSize:o="md",iconColor:a="success",hasCloseButton:s=!0,_htmlProps:l,_style:c})=>{let u=(0,r.useId)(),d=e||`sui-modal-header-${u}`,{suiInlineClassname:h}=br(c),f=(0,r.useContext)(B_),{closeModal:p,variant:m}=f;Er({component:Z_,propsToCheck:{title:t}});let g=null;return i&&(g=ml?.[i]),(0,Fr.jsxs)("header",{id:d,className:kr("sui-modal__header",{},h),...Rr(l),children:[(0,Fr.jsxs)("div",{className:"sui-modal__header-actions",children:[!!g&&(0,Fr.jsx)(g,{size:o,colorScheme:a}),!Ir(t??"")&&"app-connect"!==m&&(0,Fr.jsx)("h4",{className:"sui-heading--h4",children:t}),s&&(0,Fr.jsx)(wl,{className:"sui-modal__header-actions-close",icon:"Close",type:"tertiary",colorScheme:"black",onClick:p||(()=>{}),isSmall:!0,iconOnly:!0,children:"Close Modal"})]}),"app-connect"===m&&(0,Fr.jsxs)("div",{className:"sui-modal__header-info",children:[(0,Fr.jsx)("h3",{className:"sui-heading--h3",children:t}),!!n&&(0,Fr.jsx)("div",{className:"sui-modal__header-info-content",children:n}),(0,Fr.jsx)("figure",{className:"sui-modal__header-logo",children:(0,Fr.jsx)("img",{src:"https://placehold.co/200x200",alt:"App logo"})})]})]})},q_=({id:e,children:t,_style:n,_htmlProps:i})=>{let o=(0,r.useId)(),a=e||`sui-modal-body-${o}`,{suiInlineClassname:s}=br(n);return t=_r(t,"{modal body content}"),(0,Fr.jsx)("div",{id:a,className:kr("sui-modal__body",{},s),...Rr(i),children:t})},G_=({id:e,children:t,isSpaced:n=!1,_style:i,_htmlProps:o})=>{let a=(0,r.useId)(),s=e||`sui-modal-footer-${a}`,{suiInlineClassname:l}=br(i);return t=_r(t,"{modal footer content}"),(0,Fr.jsx)("footer",{id:s,className:kr("sui-modal__footer",{spaced:n},l),...Rr(o),children:t})};function Q_(e){return Q_="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},Q_(e)}function Y_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function K_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Y_(Object(n),!0).forEach(function(t){X_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Y_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function X_(e,t,n){return(t=function(e){var t=function(e){if("object"!=Q_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Q_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Q_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var J_,eC,tC=(0,r.forwardRef)(function(e,t){var n=e.close,i=Vh({onSaveSuccess:function(){null==n||n()},saveSuccessMsg:(0,zn.__)("Analytics configuration has been saved.")}),r=(i.settings,i.save),a=i.isSaving,s=(0,i.getField)("analytics");return o().createElement(W_,{id:"dashboard-analytics-deactivate-modal",ref:t},o().createElement(Z_,{title:(0,zn.__)("Deactivate Analytics"),icon:"PowerOff",iconColor:"critical"}),o().createElement(q_,null,o().createElement(mh,{spacing:8},o().createElement(nh,null,(0,zn.__)("If you no longer require to view the analytics of your site, you can disable it anytime.")))),o().createElement(G_,null,o().createElement(wl,{id:"dashboard-analytics-deactivate-cancel-button",type:"secondary",colorScheme:"black",onClick:n},(0,zn.__)("Cancel")),o().createElement(wl,{id:"dashboard-analytics-deactivate-confirm-button",type:"primary",colorScheme:"red",isDisabled:a,isLoading:a,onClick:function(){return r.mutate({analytics:K_(K_({},s),{},{enabled:!1})})}},(0,zn.__)("Deactivate"))))}),nC=({id:e,title:t,description:n,className:i,isPro:o=!1,isFluid:a=!1,children:s,actions:l,overflowHidden:c=!1,_htmlProps:u,_style:d={}})=>{let h=(0,r.useId)(),f=e||`sui-setting-block-${h}`,[p,m,g]=wr({}),{suiInlineClassname:b}=br(d,i),v=kr("sui-setting-block",{focus:m,hover:p&&!m,pro:o,fluid:a,hidden:c},b);return(0,Fr.jsxs)("div",{id:f,className:v,...g,"data-testid":"setting-block",...Rr(u),children:[(t||n||l)&&(0,Fr.jsxs)("div",{className:"sui-setting-block__header",children:[(t||n)&&(0,Fr.jsxs)("div",{className:"sui-setting-block__info",children:[!!t&&(0,Fr.jsxs)("div",{className:"sui-setting-block__info-title sui-heading--h5",children:[t,o&&(0,Fr.jsx)(Av,{design:"outlined",colorScheme:"black",isSmall:!0,children:"Pro"})]}),!!n&&(0,Fr.jsx)("div",{className:"sui-setting-block__info-desc",children:n})]}),l&&(0,Fr.jsx)("div",{className:"sui-setting-block__actions",children:l})]}),s&&(0,Fr.jsx)("div",{className:"sui-setting-block__body",children:s})]})},iC=({title:e,description:t,className:n,children:i,actions:r,_htmlProps:o,_style:a={}})=>{let{suiInlineClassname:s}=br(a,n),l=kr("sui-setting-block__option",{},s);return(0,Fr.jsxs)("div",{className:l,...Rr(o),children:[(0,Fr.jsxs)("div",{className:"sui-setting-block__option-header",children:[(()=>{if(!e)return null;let t=(0,Fr.jsx)("h6",{className:"sui-setting-block__option-title",children:e});return r?(0,Fr.jsxs)("div",{className:"sui-setting-block__option-title-row",children:[t,(0,Fr.jsx)("div",{className:"sui-setting-block__option-actions",children:r})]}):t})(),!!t&&(0,Fr.jsx)("div",{className:"sui-setting-block__option-description",children:t})]}),!!i&&(0,Fr.jsx)("div",{className:"sui-setting-block__option-body",children:i})]})};function rC(e){return rC="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},rC(e)}function oC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function aC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oC(Object(n),!0).forEach(function(t){sC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function sC(e,t,n){return(t=function(e){var t=function(e){if("object"!=rC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=rC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function lC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||cC(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 cC(e,t){if(e){if("string"==typeof e)return uC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?uC(e,t):void 0}}function uC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var dC=null===(J_=Object.keys(Ku))||void 0===J_?void 0:J_.map(function(e){return{value:e,label:Ku[e]}}),hC=null===(eC=Object.keys(Xu))||void 0===eC?void 0:eC.map(function(e){return{id:e,label:Xu[e]}}),fC=function(){var e=lC((0,r.useState)(),2),t=e[0],n=e[1],i=lC((0,r.useState)([]),2),a=i[0],s=i[1],l=(0,r.useRef)(null),c=Vh({saveSuccessMsg:(0,zn.__)("Analytics configuration has been saved.")}),u=c.getField,d=c.save,h=c.isSaving,f=c.isLoading,p=$u.hub_account_url,m=u("analytics"),g=u("analytics","metrics"),b=u("analytics","role"),v=!u("analytics","enabled");(0,r.useEffect)(function(){s(g||[])},[g]),(0,r.useEffect)(function(){var e,t=null===(e=hC.filter(function(e){return e.id===b}))||void 0===e?void 0:e[0];t&&(t.isSelected=!0),n(t)},[b]);var y={expired:{desc:(0,zn.__)("Add basic analytics tracking that doesn't require any third-party integration, and display your site data in your WordPress Admin Dashboard area and in your Hub. Reactivate your membership now to get started."),action:o().createElement(wl,{id:"dashboard-analytics-reactivate-button",type:"primary",colorScheme:"black",href:p,target:"_blank"},(0,zn.__)("Reactivate Membership"))},deactivated:{desc:(0,zn.__)("Add basic analytics tracking that doesn't require any third-party integration, and display your site data in your WordPress Admin Dashboard area and in your Hub."),action:o().createElement(wl,{id:"dashboard-analytics-activate-button",type:"primary",colorScheme:"blue",isLoading:h,isDisabled:h,onClick:function(){d.mutate({analytics:aC(aC({},m),{},{enabled:!0})})}},(0,zn.__)("Activate"))}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:V_;return o().createElement(Mh,{mediaUrl:n},o().createElement(mh,{id:"dashboard-analytics-splash-content",direction:"column",spacing:24},o().createElement(mh,{id:"dashboard-analytics-splash-title",as:"h1",spacing:12},o().createElement("span",{id:"dashboard-analytics-splash-title-text"},(0,zn.__)("Analytics"))),o().createElement(nh,{id:"dashboard-analytics-splash-description",color:"grey-base-50"},e),o().createElement("div",{id:"dashboard-analytics-splash-action"},t)))},C=cd||v;if(f)return o().createElement(bl,{id:"dashboard-analytics-loading-spinner",isContained:!0});var w=function(e){return null==a?void 0:a.includes(e)};return o().createElement(r.Fragment,null,o().createElement(tC,{ref:l,close:function(){var e;null==l||null===(e=l.current)||void 0===e||e.closeModal()}}),o().createElement(Kd,{id:"dashboard-analytics-page-header"},o().createElement(z_,{id:"dashboard-analytics-header",title:(0,zn.__)("Analytics")})),o().createElement(Kd,{id:"dashboard-analytics-page"},C&&(cd?_(y.expired.desc,y.expired.action):v||ud?_(y.deactivated.desc,y.deactivated.action,$_):null),!C&&o().createElement(U_,{id:"dashboard-analytics-basic-box",hasLargeRadius:!0,title:(0,zn.__)("Analytics"),description:o().createElement(mh,{id:"dashboard-analytics-description",spacing:8},o().createElement(nh,{id:"dashboard-analytics-description-intro"},(0,zn.__)("Add basic analytics tracking that doesn't require any third party integration, and display the data in the WordPress Admin Dashboard area.")),o().createElement(Al,{id:"dashboard-analytics-tracking-notification",message:(0,zn.__)("Analytics are now being tracked and the module is being displayed to Administrators and above in their Dashboard area."),variation:"info",icon:"InfoAlt",isFluid:!0}),o().createElement(nh,{id:"dashboard-analytics-description-gdpr"},(0,uu.createInterpolateElement)((0,zn.__)("<strong>Note:</strong> IP addresses are anonymized when stored and meet GDPR recommendations."),{strong:o().createElement("strong",{id:"dashboard-analytics-gdpr-note-label"})}))),footerActions:[o().createElement(wl,{id:"dashboard-analytics-save-button",key:0,type:"primary",colorScheme:"blue",isDisabled:h,isLoading:h,onClick:function(){return d.mutate({analytics:aC(aC({},m),{},{metrics:a,role:null==t?void 0:t.id})})}},(0,zn.__)("Save Changes")),o().createElement(wl,{id:"dashboard-analytics-deactivate-button",key:1,type:"tertiary",colorScheme:"red",icon:"PowerOff",onClick:function(){l.current.openModal()},isDisabled:h},(0,zn.__)("Deactivate"))]},o().createElement(nC,{id:"dashboard-analytics-user-role-block",title:(0,zn.__)("User Role"),description:(0,zn.__)("Choose which user roles you want to make the analytics widget available to.")},o().createElement(jy,{id:"dashboard-analytics-user-role-field",label:(0,zn.__)("Select user role"),customWidth:240},o().createElement(Oy,{id:"dashboard-analytics-user-role-select",options:hC,selected:t,onChange:function(e){return n(e)}}))),o().createElement(nC,{id:"dashboard-analytics-metric-type-block",title:(0,zn.__)("Metric type"),description:(0,zn.__)("Select the types of analytics the selected User Roles will see in their WordPress Admin area.")},o().createElement(mh,{id:"dashboard-analytics-metrics",spacing:8},dC.length>0&&(null==dC?void 0:dC.map(function(e){var t=e.value;return o().createElement(gy,{key:t,label:e.label,value:t,id:"dashboard-analytics-metric-".concat(t),isChecked:w(t),onChange:function(){return function(e){var t=a?function(e){return function(e){if(Array.isArray(e))return uC(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||cC(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):[];w(e)?t=null==a?void 0:a.filter(function(t){return t!==e}):t.push(e),s(t)}(t)}})}))))),o().createElement(Gh,{id:"dashboard-analytics-check-for-updates"})))},pC=function(e){var t,n=e.plugin,i=e.installPlugin,r=e.updatePlugin,a=e.activatePlugin,s=e.isActionLoading,l=e.updateBtnType,c=void 0===l?"tertiary":l,u=e.setCurrentPlugin,d=e.currentPlugin,h=$u.hub_account_url,f=s&&d[Vc]===n[Vc],p="mobile"===Zn({desktop:1108,tablet:600,mobile:[600,0]});return!Cu(n)&&wu(n)?o().createElement(wl,{icon:"Download",iconOnly:p,colorScheme:"blue",type:"primary",isSmall:!0,isDisabled:s||f,isLoading:f,onClick:function(){u(n),i.mutate({pid:n[Vc]})}},!p&&(0,zn.__)("Install")):_u(n)?Eu(n)&&wu(n)?o().createElement(wl,{icon:"Download",colorScheme:"blue",type:c,isSmall:!0,isDisabled:s,isLoading:f,onClick:function(){u(n),r.mutate({pid:n[Vc]})}},(0,zn.__)("Update")):o().createElement(wl,{colorScheme:"black",type:"tertiary",isSmall:!0,href:null==n||null===(t=n[Xc])||void 0===t?void 0:t[eu],isDisabled:s,target:"_self"},(0,zn.__)("Configure")):wu(n)?o().createElement(wl,{icon:"PowerOff",colorScheme:"blue",type:"primary",isSmall:!0,isDisabled:s,isLoading:f,onClick:function(){u(n),a.mutate({pid:n[Vc],is_network:n[Kc]})}},n[Kc]?(0,zn.__)("Network Activate"):(0,zn.__)("Activate")):o().createElement(wl,{colorScheme:"black",type:"secondary",isSmall:!0,href:h,target:"_blank"},(0,zn.__)("Upgrade"))},mC=function(e){var t=e.label;return o().createElement("div",{className:"dash-sui-plugin-loading-status"},o().createElement(bl,{id:"dashboard-loading-status-spinner",loaderSize:"sm",colorScheme:"dark"}),o().createElement(nh,{id:"dashboard-plugins-loading-status"},t))},gC=function(e){var t=e.plugin,n=e.isInstalling,i=e.isActivating,a=e.isUninstalling,s=e.isUpdating,l=e.isDeactivating,c=e.currentPlugin,u=Cu(t),d=Eu(t),h=_u(t);if(t[Vc]===c[Vc]){if(n)return o().createElement(mC,{label:(0,zn.__)("Installing...")});if(i)return o().createElement(mC,{label:(0,zn.__)("Activating...")});if(a)return o().createElement(mC,{label:(0,zn.__)("Deleting...")});if(s)return o().createElement(mC,{label:(0,zn.__)("Updating...")});if(l)return o().createElement(mC,{label:(0,zn.__)("Deactivating...")})}return u?h?o().createElement(r.Fragment,null,d&&o().createElement(Av,{design:"solid",colorScheme:"yellow",isSmall:!0},t[Qc]," ",(0,zn.__)("update available")),!d&&o().createElement(Av,{id:"dashboard-plugins-status-active-tag",colorScheme:"blue"},(0,zn.__)("Active"))):o().createElement(Av,null,(0,zn.__)("Inactive")):o().createElement(nh,{id:"dashboard-plugins-status-info",isTruncated:!0},t[Yc])},bC=(0,r.forwardRef)(function(e,t){var n=e.plugin,i=e.close,r=e.activatePlugin;return o().createElement(W_,{id:"plugin-installed",ref:t},o().createElement(Z_,{title:(0,zn.sprintf)((0,zn.__)("%s installed!"),n[Uc]),icon:"CheckAlt",iconColor:"success"}),o().createElement(q_,null,(0,zn.__)("Would you like to activate it now?")),o().createElement(G_,null,o().createElement(wl,{id:"dashboard-plugin-installed-modal-continue-button",type:"secondary",colorScheme:"black",isSmall:!0,isDisabled:r.isLoading,onClick:i},(0,zn.__)("Continue")),o().createElement(wl,{id:"dashboard-plugin-installed-modal-activate-button",type:"primary",colorScheme:"blue",isSmall:!0,isDisabled:r.isLoading,isLoading:r.isLoading,onClick:function(){r.mutate({pid:n[Vc]})}},(0,zn.__)("Activate"))))}),vC=(0,r.createContext)(null),yC=({children:e,activeIndex:t,onSwitchTab:n})=>{let[i,o]=(0,r.useState)(t??0),a=`sui-tab-${(0,r.useId)()}`,s=(0,r.useCallback)(e=>{o(e),"function"==typeof n&&n(e,a)},[a,n]);return(0,Fr.jsx)(vC.Provider,{value:{id:a,currentIndex:i,switchTab:s},children:e})},_C=({id:e,className:t,children:n,_htmlProps:i,_style:o={},...a})=>{let s=(0,r.useId)(),l=e||`sui-tabs-${s}`,{suiInlineClassname:c}=br(o,t),u=kr("sui-tab",{},c);return n=_r(n),(0,Fr.jsx)(yC,{onSwitchTab:a?.onSwitchTab,activeIndex:a?.activeIndex,children:(0,Fr.jsx)("div",{id:l,className:u,...Rr(i),"data-testid":"tabs",children:n})})},CC=({id:e,children:t,_style:n={},_htmlProps:i,isNarrow:o=!1})=>{let a=(0,r.useId)(),s=e||`sui-tab-nav-${a}`,{containerRef:l,isScrollableLeft:c,isScrollableRight:u,scroll:d}=Gn({scrollOffset:50}),{suiInlineClassname:h}=br(n),f=kr("sui-tab__nav",{narrow:o},h);return(0,Fr.jsxs)("div",{id:s,className:f,role:"tablist","aria-orientation":"horizontal",...Rr(i),children:[c&&(0,Fr.jsx)("button",{id:`${s}-scroll-left`,className:"sui-tab__arrow sui-tab__arrow--left",onClick:()=>d("left"),children:(0,Fr.jsx)(es,{id:`${s}-scroll-left-icon`,size:"sm"})}),(0,Fr.jsx)("div",{id:`${s}-navitems`,className:"sui-tab__navitems",ref:l,children:r.Children.map(t,(e,t)=>(0,r.isValidElement)(e)?(0,r.cloneElement)(e,{id:`${t}`}):null)}),u&&(0,Fr.jsx)("button",{id:`${s}-scroll-right`,className:"sui-tab__arrow sui-tab__arrow--right",onClick:()=>d("right"),children:(0,Fr.jsx)(ts,{id:`${s}-scroll-right-icon`,size:"sm"})})]})},wC=({id:e,icon:t,stateIcon:n,stateIconColor:i,children:o,isDisabled:a=!1,onClick:s,_htmlProps:l={},_style:c={}})=>{let u=(0,r.useContext)(vC),d=u?.id;o=_r(o,"Nav Item");let h=u?.currentIndex===parseInt(e),f=(0,r.useCallback)(()=>{u?.switchTab(parseInt(e)),s?.()},[e,u,s]),p={InfoAlt:lo,CheckAlt:ho}[n??""],[m,g,b]=wr({}),{suiInlineClassname:v}=br(c);return(0,Fr.jsxs)("button",{id:`${d}--tab-${e}`,"data-index":e,role:"tab",type:"button",className:kr("sui-tab__nav-item",{active:h,hover:m,focus:g&&!h,disabled:a},v),"aria-selected":h,"aria-controls":`${d}--panel-${e}`,tabIndex:a?-1:0,onClick:f,...a&&{disabled:!0},...b??{},...Rr(l),children:[!!t&&t,o,!!n&&(0,Fr.jsx)(p,{colorScheme:i,size:"sm"})]})},xC=({children:e,_style:t={},_htmlProps:n={}})=>{let{suiInlineClassname:i}=br(t);return(0,Fr.jsx)("div",{className:kr("sui-tab__panel",{},i),...Rr(n),children:r.Children.map(e,(e,t)=>(0,r.isValidElement)(e)?(0,r.cloneElement)(e,{id:`${t}`}):null)})},EC=({children:e,id:t,_htmlProps:n={},_style:i={}})=>{let o=(0,r.useContext)(vC),a=o?.id,s=o?.currentIndex===parseInt(t),{suiInlineClassname:l}=br(i);return e=_r(e,"Tab panel item"),(0,Fr.jsx)("div",{role:"tabpanel",id:`${a}--panel-${t}`,"aria-labelledby":`${a}--tab-${t}`,tabIndex:s?0:-1,className:kr("sui-tab__panel-item",{active:s},l),...Rr(n),children:e})};function SC(){return SC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},SC.apply(null,arguments)}var kC=function(e){var t,n,i,r,a=e.pid,s=Wv().proPluginsSlug,l=yd("".concat(s,"/").concat(a)),c=l.data,u=l.isLoading,d=null!==(t=null==c?void 0:c.data)&&void 0!==t?t:{},h=null!==(n=null==d?void 0:d.changelog)&&void 0!==n?n:{},f=Eu(d),p=null==d?void 0:d[Gc],m=null==d?void 0:d[Qc],g=null===(i=Object.keys(h))||void 0===i?void 0:i.map(function(e){return h[e]}),b=null==g||null===(r=g.slice(0,10))||void 0===r?void 0:r.map(function(e,t){var n,i,r,a,s,l,c,u,d=e.version,h=null===(c=null===(l=null===(s=null===(a=null===(r=null==(i=e.log)?void 0:i.replace(/<\/?p>/g,""))||void 0===r?void 0:r.replace(/<br\s*\/?>/g,"\n"))||void 0===a?void 0:a.split("\n"))||void 0===s?void 0:s.map(function(e){return e.replace(/\\/g,"").trim()}))||void 0===l?void 0:l.map(function(e){return e.replace(/^-/,"").trim()}))||void 0===c?void 0:c.filter(function(e){return e.length>0}),b=(u=e.time,new Date(1e3*u).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})),v="".concat(null!=d?d:"dashboard-changelog","-").concat(null!==(n=e.time)&&void 0!==n?n:t);if(!d)return null;var y=Mu(d)===Mu(p),_=Mu(m)===Mu(d),C=bu("dashboard-sui-plugin-changelog__item",{"no-bottom-border":t===g.length});return o().createElement("div",{key:v,className:C},o().createElement("div",{className:"dashboard-sui-plugin-changelog__header"},o().createElement(mh,{direction:"row"},o().createElement(Av,{colorScheme:"blue",isSmall:!0,design:"outlined"},(0,zn.__)("Version")," ",d),f&&(y||_)&&o().createElement(Av,SC({isSmall:!0},_&&{colorScheme:"green"}),y&&(0,zn.__)("Current"),_&&(0,zn.__)("New"))),o().createElement(nh,{weight:"bold",size:"sm"},b)),o().createElement(oh,{items:h,verticalAlign:"start",icon:o().createElement(ts,{size:"sm"})}))});return u?o().createElement(bl,{id:"dashboard-changelog-loading-spinner",isContained:!0}):o().createElement("div",{className:"dashboard-sui-plugin-changelog"},b)},OC=(0,r.forwardRef)(function(e,t){var n,i,r=e.plugin,a=e.close,s=e.updatePlugin,l=e.installPlugin,c=e.activatePlugin,u=e.setCurrentPlugin,d=e.isActionLoading,h=e.currentPlugin,f=e.onCloseModal,p=r.features||[],m=null===(n=r.is_compatible)||void 0===n||n,g=Math.ceil(p.length/2),b=p.slice(0,g),v=p.slice(g);return o().createElement(W_,{id:"plugin-installed",ref:t,size:"lg",onCloseModal:f,variant:"advanced"},o().createElement(Z_,{title:r[Uc]}),o().createElement(q_,null,r[Yc],o().createElement(Uh,{href:null==r||null===(i=r[Xc])||void 0===i?void 0:i.website,hasExternalIcon:!0,isExternal:!0},(0,zn.__)("View more information on WPMU DEV")),o().createElement(_C,{_style:{mt:"24px"},activeIndex:2},o().createElement(CC,{isNarrow:!0},o().createElement(wC,null,(0,zn.__)("Overview")),o().createElement(wC,null,(0,zn.__)("Features")),o().createElement(wC,null,(0,zn.__)("Changelog"))),o().createElement(xC,null,o().createElement(EC,null,o().createElement(lh,{imageUrls:r.screenshots})),o().createElement(EC,null,o().createElement(kh,null,o().createElement(Gd,null,o().createElement(Qd,null,o().createElement(oh,{items:b})),o().createElement(Qd,null,o().createElement(oh,{items:v}))))),o().createElement(EC,null,o().createElement(kC,{pid:r[Vc]}))))),o().createElement(G_,{_style:{justifyContent:"space-between"}},o().createElement(wl,{id:"dashboard-plugin-details-modal-close-button",type:"secondary",colorScheme:"black",isSmall:!0,isDisabled:d,onClick:a},(0,zn.__)("Close"))," ",m&&o().createElement(pC,{installPlugin:l,updatePlugin:s,activatePlugin:c,isActionLoading:d,setCurrentPlugin:u,updateBtnType:"primary",currentPlugin:r,plugin:h})))});function MC(e){return MC="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},MC(e)}function AC(){return AC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},AC.apply(null,arguments)}function PC(e,t,n){return(t=function(e){var t=function(e){if("object"!=MC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=MC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==MC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var jC=PC(PC(PC(PC(PC(PC({},au,(0,zn.__)("activate")),ru,(0,zn.__)("delete")),su,(0,zn.__)("deactivate")),iu,(0,zn.__)("install")),ou,(0,zn.__)("update")),lu,(0,zn.__)("install")),IC=PC(PC(PC(PC(PC(PC({},au,(0,zn.__)("activating")),ru,(0,zn.__)("deleting")),su,(0,zn.__)("deactivating")),iu,(0,zn.__)("installing")),ou,(0,zn.__)("updating")),lu,(0,zn.__)("installing")),TC=PC(PC(PC(PC(PC(PC({},au,(0,zn.__)("activated")),ru,(0,zn.__)("deleted")),su,(0,zn.__)("deactivated")),iu,(0,zn.__)("installed")),ou,(0,zn.__)("updated")),lu,(0,zn.__)("activated")),DC=(0,r.forwardRef)(function(e,t){var n=e.bulkAction,i=e.selectedPlugins,a=e.close,s=e.getPluginById,l=e.cancelQueue,c=e.queue,u=e.refetch,d=e.state,h=e.getPluginActionState,f=e.getPluginActionError,p=e.setSelectedPlugins,m=e.initQueue,g=e.isDashboardSelected,b=e.shouldReloadPage,v=c.length>0&&c.every(function(e){return"success"===e.status}),y=n===lu?c.length/2:c.length,_=Ml().push,C="running"===d,w=(null==i?void 0:i.length)>0,x=(0,zn.__)("installed & activated"),E=function(){return o().createElement("div",{className:"dash-sui-table-bulk-actions__dash-required"},o().createElement(ih,{name:"WPMU DEV Dashboard"}),(0,zn.__)("WPMU DEV Dashboard"),o().createElement(Av,{colorScheme:"blue",className:"dash-sui-table-bulk-actions__required-tag",_style:{marginLeft:"auto"}},(0,zn.__)("Required")))},S=Hc(n===lu?x:TC[n]),k=function(){return n===ru&&(null==i?void 0:i.length)>0?"failed"===d?(0,zn.__)("Plugins that are either active or not installed cannot be deleted."):"finished"===d?(0,zn.__)("Plugins deleted successfully."):(0,zn.__)("Once the plugins have been deleted, they will need to be set up again if reinstalled."):""},O="cancelling"===d;(0,r.useEffect)(function(){"cancelled"===d&&(null==a||a(),b||null==u||u())},[d]);var M="finished"===d||"failed"===d;return o().createElement(W_,AC({id:"plugin-installed",ref:t},w&&{variant:"advanced"}),o().createElement(Z_,AC({title:w?n===ru?(0,zn.__)("Delete Plugins"):(0,zn.__)("Bulk Actions"):g?(0,zn.sprintf)("Nothing to %s",Hc(jC[n])):(0,zn.sprintf)("Already %s",S)},!w&&{icon:"InfoAlt",iconColor:"informative"},{hasCloseButton:!1})),o().createElement(q_,null,w?o().createElement(r.Fragment,null,n!==ru&&(0,zn.sprintf)("The following plugins are being %s.",lu===n?x:TC[n]),n===ru&&o().createElement(r.Fragment,null,o().createElement(mh,{spacing:16},(0,zn.__)("Are you sure you want to delete these plugins from your site?"),!C&&!!k()&&o().createElement(Al,{icon:"InfoAlt",variation:"finished"===d?"success":"warning",message:k(),isFluid:!0}))),o().createElement("div",{className:"dash-sui-table-bulk-actions__plugins-list"},null==i?void 0:i.map(function(e){var t=s(e),a=h(c,e);return o().createElement("div",{key:e,className:"dash-sui-table-bulk-actions__plugins-list-item"},o().createElement(ih,{name:t[Uc]}),o().createElement(nh,{weight:"bold"},t[Uc]),o().createElement("div",{className:"dash-sui-table-bulk-actions__action"},function(e,t){switch(e){case"running":return o().createElement(nh,{className:"dash-sui-table-bulk-actions__action-row",as:"div"},o().createElement(bl,{id:"dashboard-bulk-actions-running-spinner",loaderSize:"sm"}),IC[n]);case"success":return o().createElement(nh,{className:"dash-sui-table-bulk-actions__action-row",as:"div"},n!==ru?o().createElement(ho,{colorScheme:"success"}):o().createElement(Na,null),TC[n]," ");case"failed":var a=f(c,t);return o().createElement(nh,{className:"dash-sui-table-bulk-actions__action-row",as:"div"},!!a&&o().createElement(r.Fragment,null,o().createElement(Ev,{type:"icon",icon:"Warning",iconColor:"warning",iconSize:"md",customWidth:200},Lv(a)),(0,zn.__)("Failed")));default:return o().createElement(r.Fragment,null,(n!==ru||n===ru&&C)&&o().createElement(nh,{className:"dash-sui-table-bulk-actions__action-row",as:"div"},o().createElement(bl,{id:"dashboard-bulk-actions-queued-spinner",loaderSize:"sm",isSpinning:!1}),(0,zn.__)("Queued")),n===ru&&!C&&o().createElement(Ev,{type:"button",customWidth:71,buttonProps:{iconOnly:!0,icon:"Close",type:"tertiary",colorScheme:"black"},onClick:function(){var e=null==i?void 0:i.filter(function(e){return e!==t});p(e)}},(0,zn.__)("Remove")))}}(a,e)))}))):!g||n!==su&&n!==ru?(0,zn.sprintf)("It looks like the plugin(s) you've selected have already been %s. No further action is needed.",n===lu?Hc(x):TC[n]):o().createElement(mh,{spacing:16},(0,zn.sprintf)("You’ve already %s all available plugins. The WPMU DEV Dashboard plugin is required and will remain activated.",TC[n]),o().createElement(E,null))),o().createElement(G_,null,o().createElement(wl,{type:"secondary",colorScheme:"black",isSmall:!0,onClick:function(){if(!w)return null==a?void 0:a();"finished"!==d&&(l(),b&&location.reload()),"running"!==d&&(null==a||a()),v&&(_({message:(0,zn.sprintf)("%d selected plugins successfully %s.",y,TC[n]),variation:"success",size:"lg",icon:"InfoAlt"}),b&&location.reload())},isLoading:O,isDisabled:O},M?(0,zn.__)("Done"):(0,zn.__)("Cancel")),n===ru&&!M&&w&&o().createElement(wl,{type:"primary",colorScheme:"red",isSmall:!0,isLoading:C,isDisabled:C,onClick:function(){var e=Ou(n,i);m(e)}},(0,zn.__)("Delete"))))}),LC=function(e){var t=e.uninstallPlugin,n=e.openDetailsModal,i=e.deactivatePlugin,a=e.updatePlugin,s=e.activatePlugin,l=e.setCurrentPlugin,c=e.plugin,u=e.isActionLoading,d=e.currentPlugin,h=c.pid;(0,r.useEffect)(function(){window.wpmudevActions||(window.wpmudevActions={}),window.wpmudevActions.deactivate=function(e){i.mutate({pid:e})},window.wpmudevActions.activate=function(e){s.mutate({pid:e})},window.wpmudevActions.delete=function(e){t.mutate({pid:e})},window.wpmudevActions.update=function(e){a.mutate({pid:e})}},[i,s,t,a]);var f,p=Zn({desktop:1108,tablet:600,mobile:[600,0]}),m="mobile"===p||"tablet"===p,g=cd?[{id:"reactivate-membership",label:(0,zn.__)("Reactivate Membership"),props:{icon:"Info",_htmlProps:{"data-pid":c[Vc],"data-action":"project-reactivate"}}}]:[];return g.push({id:"view-changelog",label:(0,zn.__)("View Changelog"),props:{icon:"File",_htmlProps:{"data-pid":c[Vc],"data-action":"project-changelog"}}}),_u(c)&&g.push({id:"config",label:(0,zn.__)("Configure"),props:{icon:"Tools",href:null==c||null===(f=c[Xc])||void 0===f?void 0:f[eu],_htmlProps:{"data-pid":c[Vc],"data-action":"project-configure"}}}),_u(c)||Su(c)||!m||g.push({id:"activate",label:(0,zn.__)("Activate"),props:{icon:"PowerOff",_htmlProps:{"data-pid":c[Vc],"data-action":"project-activate"}}}),Eu(c)&&m&&g.push({id:"update",label:(0,zn.__)("Update"),props:{icon:"Download",_htmlProps:{"data-pid":c[Vc],"data-action":"project-update"}}}),_u(c)&&!Su(c)&&g.push({id:"deactivate",label:c[Kc]?(0,zn.__)("Network Deactivate"):(0,zn.__)("Deactivate"),props:{icon:"PowerOff",_htmlProps:{"data-pid":c[Vc],"data-action":"project-deactivate"}}}),Cu(c)&&!Su(c)&&g.push({id:"delete",label:(0,zn.__)("Delete"),props:{icon:"Trash",_style:{color:"#E52400"},_htmlProps:{"data-pid":c[Vc],"data-action":"project-delete"}}}),o().createElement(_y,{iconOnly:!0,buttonIcon:"Settings",_buttonProps:{type:"tertiary",isLoading:u&&c[Vc]===d[Vc]&&m},isSmall:!0,size:"sm",placement:"left",isDisabled:u,onMenuClick:function(e,r){l(c);var o=e.id;"delete"===o&&t.mutate({pid:h}),"update"===o&&a.mutate({pid:h}),"deactivate"===o&&i.mutate({pid:h}),"activate"===o&&s.mutate({pid:h}),"view-changelog"===o&&n(c)},_style:{ml:"8px"},menu:g})},NC=function(){return o().createElement(Vy,{isUnderFooter:!0},o().createElement(Hy,{colSpan:1},o().createElement(wv,{size:{width:"20px",height:"20px"}})),o().createElement(Hy,{colSpan:1,_style:{width:"31%"}},o().createElement(wv,{size:{width:"100%",height:"20px"}})),o().createElement(Hy,{colSpan:1,_style:{width:"62%"}},o().createElement(wv,{size:{width:"100%",height:"20px"}})),o().createElement(Hy,{colSpan:1,_style:{width:"auto"}},o().createElement(mh,{direction:"row",spacing:8},o().createElement(wv,{size:{width:"20px",height:"20px"}}),o().createElement(wv,{size:{width:"20px",height:"20px"}}))))},RC=function(){return o().createElement(r.Fragment,null,o().createElement(NC,null),o().createElement(NC,null),o().createElement(NC,null),o().createElement(NC,null))};function FC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return zC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?zC(e,t):void 0}}(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 zC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var HC=function(e){var t=e.isCheckingUpdates,n=J(),i=Zn({desktop:1108,tablet:600,mobile:[600,0]}),a="mobile"===i||"tablet"===i,s=FC((0,r.useState)({}),2),l=s[0],c=s[1],u=FC((0,r.useState)({}),2),d=u[0],h=u[1],f=FC((0,r.useState)(""),2),p=f[0],m=f[1],g=FC((0,r.useState)([]),2),b=g[0],v=g[1],y=FC((0,r.useState)(!1),2),_=y[0],C=y[1],w=FC((0,r.useState)(!1),2),x=w[0],E=w[1],S=(0,r.useRef)(null),k=(0,r.useRef)(null),O=(0,r.useRef)(null),M=X(),A=function(e){return Object.values(e).some(function(e){return Array.isArray(e)&&e.some(function(e){return Eu(e)})})}(d),P=function(e){null==O||O.current.openModal(),M("/details-modal/".concat(e[Vc]))},j=function(){S.current.closeModal()},I=function(){M("/")},T=function(){null==O||O.current.closeModal(),I()},D=Wv({onInstall:function(){S.current.openModal(),T(),se()},onActivate:function(){j(),T()},onUpdate:function(){se()}}),L=D.getPluginsList,N=D.getPluginsInCats,R=D.installPlugin,F=D.deactivatePlugin,z=D.uninstallPlugin,H=D.updatePlugin,U=D.activatePlugin,V=D.isActionLoading,$=D.currentPlugin,B=D.setCurrentPlugin,W=D.isInstalling,Z=D.isUninstalling,q=D.isUpdating,G=D.isActivating,Q=D.isDeactivating,Y=D.bulkAction,K=D.setBulkAction,ee=D.getPluginById,te=D.initQueue,ne=D.cancelQueue,ie=D.queue,re=D.state,oe=D.getPluginActionState,ae=D.getPluginActionError,se=D.refetch,le=D.filterSelectedPlugins,ce=D.resetQueue,ue=D.isLoading,de=D.shouldReloadPage;(0,r.useEffect)(function(){var e=N();c(e),h(e)},[N]),(0,r.useEffect)(function(){var e=Number(null==n?void 0:n["*"]);if("details-modal"===n.id&&e){var t=ee(e);t&&(B(t),P(t))}},[L]);var he,fe=function(e){return Eu(e)?"has-update":a?_u(e)?"active":Cu(e)?"inactive":"none":"none"},pe=!!p&&(!function(e){return Object.values(e).some(function(e){return Array.isArray(e)&&e.length>0})}(d)||_&&!A),me=!A&&_,ge=ue||pe||me;return o().createElement(r.Fragment,null,o().createElement(bC,{ref:S,plugin:$,activatePlugin:U,close:j}),o().createElement(OC,{ref:O,plugin:$,installPlugin:R,activatePlugin:U,updatePlugin:H,isActionLoading:V,currentPlugin:$,setCurrentPlugin:B,close:T,onCloseModal:I}),o().createElement(DC,{bulkAction:Y,selectedPlugins:b,setSelectedPlugins:v,close:function(){null==k||k.current.closeModal()},ref:k,getPluginById:ee,cancelQueue:ne,queue:ie,state:re,refetch:se,getPluginActionState:oe,getPluginActionError:ae,initQueue:te,isDashboardSelected:x,shouldReloadPage:de}),o().createElement(Ry,{noBorderRadius:!0,showFiltersBtn:!1,allowCheck:!0,disableCheck:ge,showToggleBtn:!0,toggleBtnProps:{label:(0,zn.__)("Show updates only"),onClick:function(){C(!_);var e=ku(l,p);h(e)},isDisabled:ue},className:"dash-sui-table-plugin",bulkActions:[{id:ou,label:(0,zn.__)("Update")},{id:au,label:(0,zn.__)("Activate")},{id:iu,label:(0,zn.__)("Install")},{id:lu,label:(0,zn.__)("Install & activate")},{id:su,label:(0,zn.__)("Deactivate")},{id:ru,label:o().createElement("span",{style:{color:"#E52400"}},(0,zn.__)("Delete"))}],onAction:function(e,t){switch(e){case"bulk-action":var n=(null==t?void 0:t.selectedRows)||[];E(n.includes(tu));var i=null==t?void 0:t.id;i&&K(null==t?void 0:t.id),n=le(i,n),v(n);var r=Ou(i,n);ce(),null==k||k.current.openModal(),lu===i&&(r=r.filter(function(e){var t=null==e?void 0:e.payload;if(iu===(null==t?void 0:t.action)){var n=null==t?void 0:t.pid,i=ee(n);return!Cu(i)}return!0})),i!==ru&&te(r);break;case"search-items":var o=ku(l,t);_&&(o=function(e){var t,n;return{is_installed:null==e||null===(t=e.is_installed)||void 0===t?void 0:t.filter(function(e){return Eu(e)}),available:null==e||null===(n=e.available)||void 0===n?void 0:n.filter(function(e){return Eu(e)})}}(o)),m(t),h(o)}},_style:{background:"transparent",border:"0",overflow:"visible","& .sui-table__wrapper":{overflowY:"visible"},"& .sui-table__row":{background:"transparent"}}},o().createElement($y,null,o().createElement(Vy,{actions:function(){return null}},o().createElement(Hy,{isHeading:!0,isSortable:!1,id:"name",colSpan:1,className:"dash-sui-table-plugin__name-heading-cell"},(0,zn.__)("Plugin Name")),a?o().createElement(r.Fragment,null):o().createElement(Hy,{isHeading:!0,id:"tag",isSortable:!1},(0,zn.__)("Status")))),o().createElement(Fy,null,ue||t?o().createElement(RC,null):pe?o().createElement(Vy,{isUnderFooter:!0},o().createElement(Hy,null,o().createElement(mh,{spacing:8,direction:"row",alignItems:"center",justify:"center"},o().createElement(so,{size:"sm"})," ",(0,zn.__)("No plugins were found.")))):me?o().createElement(Vy,{isUnderFooter:!0},o().createElement(Hy,null,o().createElement(mh,{spacing:8,direction:"row",alignItems:"center",justify:"center"},o().createElement(so,{size:"sm"})," ",(0,zn.__)("No plugin updates are available.")))):null===(he=Object.entries(d))||void 0===he?void 0:he.map(function(e){var t=FC(e,2),n=t[0],i=t[1],s=Bv[n],l="can_update"===n&&i.length>0;return o().createElement(r.Fragment,{key:s},!!s&&i.length>0&&!_&&o().createElement(Vy,{isGroup:!0},o().createElement(Hy,null,o().createElement("strong",null,s))),null==i?void 0:i.map(function(e){var t;if(_&&!Eu(e))return null;var n=null===(t=e.is_compatible)||void 0===t||t;return o().createElement(Vy,{key:e[Vc],id:e[Vc],status:"",actions:function(){return n?function(e){if(!xu(e))return[o().createElement(Av,{key:"pro",isSmall:!0,isUppercase:!0,design:"outlined",colorScheme:"black"},(0,zn.__)("pro"))];var t=a&&Cu(e)?[]:[o().createElement(pC,{key:e[Vc],plugin:e,installPlugin:R,updatePlugin:H,activatePlugin:U,currentPlugin:$,setCurrentPlugin:B,isActionLoading:V})];return Cu(e)&&t.push(o().createElement(LC,{key:"".concat(e[Vc],"_dropdown"),uninstallPlugin:z,openDetailsModal:P,setCurrentPlugin:B,deactivatePlugin:F,updatePlugin:H,activatePlugin:U,isActionLoading:V,currentPlugin:$,plugin:e})),t}(e):o().createElement(Av,{colorScheme:"red",design:"outlined"},e.incompatible_reason)},isDisabled:l},o().createElement(Hy,null,o().createElement("div",{className:"dash-sui-table-plugin__name-cell"},o().createElement(ih,{name:e[Uc],indicatorStatus:fe(e)}),o().createElement("div",{className:"dash-sui-table-plugin__name-icon"},o().createElement(nh,{onClick:function(){B(e),P(e)},weight:"bold",color:"#1a1a1a"},e[Uc]),o().createElement(Av,{design:"outlined",colorScheme:"black",isSmall:!0},Cu(e)?e[Gc]:e[Qc])))),a?o().createElement(r.Fragment,null):o().createElement(Hy,{isTrim:!0,className:"dash-sui-table-plugin__status-cell"},o().createElement(gC,{currentPlugin:$,plugin:e,isInstalling:W,isUpdating:q,isUninstalling:Z,isActivating:G,isDeactivating:Q})))}))}))))},UC=function(){var e=$u.hub_account_url,t=Vh(),n=t.getField,i=(t.refetch,t.isLoading),a=(n("general","last_run_updates"),Wh()),s=(a.checkUpdates,a.isCheckingUpdates);return Wv().refetch,o().createElement(r.Fragment,null,o().createElement(Kd,{id:"dashboard-plugins-page-header"},o().createElement(z_,{id:"dashboard-plugins-header",title:(0,zn.__)("Plugins")})),o().createElement(Kd,{id:"dashboard-plugins-page"},o().createElement(U_,{id:"dashboard-plugins-box",title:(0,zn.__)("Manage Plugins"),hasLargeRadius:!0,description:o().createElement(r.Fragment,null,o().createElement(mh,{id:"dashboard-plugins-description",spacing:16},(0,zn.__)("Easily install, activate and manage all WPMU DEV plugins here."),ud?o().createElement(Al,{id:"dashboard-plugins-upgrade-notification",message:(0,zn.__)("Upgrade your membership to unlock all the WPMU DEV Pro plugins, have full access to Hub services, 24/7 support and 3 free hosted sites."),icon:"InfoAlt",variation:"info",action:o().createElement(wl,{id:"dashboard-plugins-upgrade-button",type:"primary",colorScheme:"blue",isSmall:!0,href:e,target:"_blank"},(0,zn.__)("Upgrade Membership")),isFluid:!0}):cd?o().createElement(Al,{id:"dashboard-plugins-expired-notification",title:(0,zn.__)("WPMU DEV Membership has expired"),message:(0,zn.__)("Your WPMU DEV Membership has expired and pro versions of installed plugins have been downgraded. Reactivate your subscription to upgrade pro plugins."),icon:"InfoAlt",variation:"warning",action:o().createElement(wl,{id:"dashboard-plugins-reactivate-button",type:"secondary",colorScheme:"black",isSmall:!0,href:e,target:"_blank"},(0,zn.__)("Reactivate Membership")),isFluid:!0}):null))},o().createElement(HC,{isCheckingUpdates:s})),!i&&o().createElement(Gh,{id:"dashboard-plugins-check-for-updates",justify:"flex-start",margin:"16px 0"})))},VC=({id:e,className:t,children:n,_htmlProps:i={},_style:o={}})=>{let a=(0,r.useId)(),s=e||`sui-sidebar-${a}`,{suiInlineClassname:l}=br(o,t),c=kr("sui-sidebar",{},l);return n=_r(n,"{sidebar children content}"),(0,Fr.jsx)("div",{id:s,className:c,"data-testid":"sidebar",...Rr(i),children:n})},$C=(0,r.forwardRef)(({id:e,className:t,selectedItemName:n="",children:i,_htmlProps:o,_style:a={},buttonProps:s={}},l)=>{let c=(0,r.useRef)(null),u=(0,r.useId)(),d=e||`sui-sidebar-dropdown-${u}`,[h,f]=(0,r.useState)(!1);Cr(c,()=>{f(!1)}),(0,r.useImperativeHandle)(l,()=>({open:()=>f(!0),close:()=>f(!1),toggle:()=>f(!h)}));let{suiInlineClassname:p}=br(a,t),m=kr("sui-sidebar__dropdown",{},p),g=r.Children.map(i,e=>{if(r.isValidElement(e)){let t=e?.props?.onClick,n=e=>{t&&t(e),f(!1)};return r.cloneElement(e,{onClick:n})}return e});return(0,Fr.jsxs)("div",{id:d,ref:c,className:m,...Rr(o),children:[(0,Fr.jsx)("div",{children:(0,Fr.jsx)(wl,{id:`${d}-label`,className:"sui-sidebar__dropdown--button",onClick:()=>f(!h),endIcon:"Hamburger",isFullWidth:!0,...s,children:n})}),h&&(0,Fr.jsx)("div",{id:`${d}-list`,tabIndex:-1,role:"listbox",className:"sui-sidebar__dropdown--list","aria-labelledby":`${d}-label`,children:g})]})});$C.displayName="Sidebar Dropdown";var BC=({id:e,url:t="#",icon:n,title:i="Sidebar Item",className:o,action:a,isActive:s=!1,isDisabled:l=!1,onClick:c=()=>{},_htmlProps:u={},_style:d={}})=>{let h=(0,r.useId)(),f=e||`sui-sidebar-item-${h}`,[p,m,g]=wr({}),{suiInlineClassname:b}=br(d,o),v=kr("sui-sidebar__item",{hover:p&&!m&&!l,focus:m&&!l,disabled:l,active:s},b),y=null;n&&(y=ml[n]);let _=(0,r.useCallback)(e=>{e?.preventDefault(),c&&c(e)},[c]);return(0,Fr.jsxs)("a",{id:f,className:v,href:t,tabIndex:l?-1:0,onClick:_,onKeyDown:e=>Dr(e,_),"data-testid":"sidebar-item",...g,...Rr(u),children:[(0,Fr.jsxs)("div",{className:"sui-sidebar__item-info",children:[y&&(0,Fr.jsx)(y,{size:"sm"}),(0,Fr.jsx)("span",{children:i})]}),!!a&&(0,Fr.jsx)("div",{className:"sui-sidebar__item-action",children:a})]})};function WC(e){return WC="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},WC(e)}function ZC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function qC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZC(Object(n),!0).forEach(function(t){GC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function GC(e,t,n){return(t=function(e){var t=function(e){if("object"!=WC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=WC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function QC(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return YC(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?YC(e,t):void 0}}(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 YC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var KC=function(){var e=QC((0,r.useState)(!1),2),t=e[0],n=e[1],i=QC((0,r.useState)(!1),2),a=i[0],s=i[1],l=Vh(),c=l.save,u=l.isSaving,d=l.getField,h=(null!=$u?$u:{}).hub_url,f=d("sso","enabled"),p=d("flags","autoupdate_dashboard"),m=d("sso"),g=d("flags");return(0,r.useEffect)(function(){n(!!f)},[f]),(0,r.useEffect)(function(){s(p)},[p]),o().createElement(U_,{id:"dashboard-settings-general-box",hasLargeRadius:!0,title:(0,zn.__)("General"),footerActions:[o().createElement(wl,{id:"dashboard-settings-general-save-button",key:0,type:"primary",colorScheme:"blue",isLoading:u,isDisabled:u,onClick:function(){return c.mutate({sso:qC(qC({},m),{},{enabled:t}),flags:qC(qC({},g),{},{autoupdate_dashboard:a})})}},(0,zn.__)("Save Changes"))],isFluid:!0},o().createElement(nC,{id:"dashboard-settings-auto-update-block"},o().createElement(Pv,{id:"dashboard-settings-auto-update-toggle",defaultValue:a,label:(0,zn.__)("Automatically update the WPMU DEV Dashboard plugin"),description:"Enable automatic updates of the WPMU DEV Dashboard plugin to ensure API connectivity is always up to date.",onClick:function(){return s(!a)}})),o().createElement(nC,{id:"dashboard-settings-sso-block"},o().createElement(iC,{id:"dashboard-settings-sso-option",description:o().createElement(Pv,{id:"dashboard-settings-sso-toggle",defaultValue:t,label:(0,zn.__)("Enable Single Sign-on for this website"),description:"Tired of logging in to your WP Admin area? Enable this setting to be automatically logged in when you visit this site from The Hub.",onClick:function(){return n(!t)}})},o().createElement(Al,{icon:"InfoAlt",variation:"info",message:o().createElement(nh,null,(0,uu.createInterpolateElement)("Note: You need to stay logged into <a>The Hub</a> to use this feature.",{a:o().createElement(Uh,{href:h,isExternal:!0})})),_style:{marginLeft:"48px",width:"auto"}}))))},XC=function(e){var t="translations",n=(e||{}).onSuccess,i=Ml().push,o=yd(t),a=o.data,s=o.isLoading,l=o.refetch,c=o.isRefetching,u=wd({saveProps:{slug:t,method:"POST"},onFinish:function(){i({message:(0,zn.sprintf)("%d translations successfully updated.",p.length),variation:"success",icon:"CheckAlt"}),null==n||n(),l()}}),d=u.initQueue,h=u.cancelQueue,f=u.state,p=u.queue,m=u.current,g=u.resetQueue,b="running"===f,v="cancelling"===f,y=(null==a?void 0:a.data)||[],_=(0,r.useCallback)(function(e){var t;return(null===(t=y.filter(function(t){return t.language===e}))||void 0===t||null===(t=t[0])||void 0===t?void 0:t.native_name)||e},[y]);return{languages:y,isLoading:s||c,initQueue:d,cancelQueue:h,state:f,queue:p,current:m,resetQueue:g,getPluginActionState:function(e,t){var n=e.find(function(e){return e.payload[$c]===t});return(null==n?void 0:n.status)||"in-queue"},getPluginActionError:function(e,t){var n,i=e.find(function(e){return e.payload.pid===t});return null==i||null===(n=i.response)||void 0===n?void 0:n.data},getLangName:_,isQueueRunning:b,isQueueCancelling:v,refetch:l}};function JC(e){return JC="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},JC(e)}function ew(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function tw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ew(Object(n),!0).forEach(function(t){nw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ew(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function nw(e,t,n){return(t=function(e){var t=function(e){if("object"!=JC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=JC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==JC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function iw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rw(e,t):void 0}}(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 rw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var ow=(0,r.forwardRef)(function(e,t){var n=e.close,i=Vh(),a=i.getField,s=i.refetch,l=XC({onSuccess:function(){n(),s()}}),c=l.initQueue,u=l.resetQueue,d=l.getPluginActionState,h=l.queue,f=l.state,p=l.isQueueCancelling,m=l.isQueueRunning,g=l.cancelQueue,b=l.refetch;Vn(p||m);var v=iw((0,r.useState)({}),2),y=v[0],_=v[1],C=iw((0,r.useState)([]),2),w=C[0],x=C[1],E=a("translation_updates_available"),S="running"===f;(0,r.useEffect)(function(){x(E)},[E]);var k=Object.keys(y).length>0&&Object.values(y).some(function(e){return!0===e});return(0,r.useEffect)(function(){"cancelled"===f&&(null==s||s(),b(),null==n||n())},[f]),o().createElement(W_,{id:"plugins-translations",ref:t,variant:"advanced"},o().createElement(Z_,{title:(0,zn.__)("Update Translations"),hasCloseButton:!1}),o().createElement(q_,null,(0,zn.__)("Choose which translations you want to update today."),o().createElement("div",{className:"dash-sui-table-bulk-actions__plugins-list"},null==w?void 0:w.map(function(e){var t=null==e?void 0:e[$c],n=d(h,t);return o().createElement("div",{className:"dash-sui-table-bulk-actions__plugins-list-item",key:t},o().createElement(gy,{isChecked:y[t],isDisabled:S,onChange:function(e){var n,i;n=t,i=e.target.checked,_(tw(tw({},y),{},nw({},n,i)))},_style:{alignSelf:"center"}}),o().createElement(ih,{name:e[Uc]}),o().createElement(nh,{weight:"bold"},e[Uc]),o().createElement("div",{className:"dash-sui-table-bulk-actions__action"},function(e){switch(e){case"select":return"";case"running":return o().createElement(nh,{className:"dash-sui-translations__action-row"},o().createElement(bl,{id:"dashboard-translations-running-spinner",loaderSize:"sm"}),(0,zn.__)("Updating"));case"success":return o().createElement(nh,{className:"dash-sui-translations__action-row"},o().createElement(ho,{colorScheme:"success"}),(0,zn.__)("Updated"));default:return S?o().createElement(nh,{className:"dash-sui-translations__action-row"},o().createElement(bl,{id:"dashboard-translations-queued-spinner",loaderSize:"sm",isSpinning:!1}),(0,zn.__)("Queued")):""}}(n)))}))),o().createElement(G_,{_style:{justifyContent:"space-between"}},o().createElement(wl,{type:"secondary",colorScheme:"black",onClick:function(){"running"===f?g():null==n||n()},isLoading:p,isDisabled:p},(0,zn.__)("Cancel")),o().createElement(wl,{type:"primary",colorScheme:"blue",onClick:function(){var e,t=[],n=[];k?(null===(e=Object.keys(y))||void 0===e||e.forEach(function(e){if(y[e]){var i,r=null===(i=w.filter(function(t){return t.slug===e}))||void 0===i?void 0:i[0];n.push(r),t.push({payload:{slug:e}})}}),x(n)):null==E||E.forEach(function(e){t.push({payload:{slug:e[$c]}})}),u(),c(t)},isLoading:S||p,isDisabled:S||p},k?(0,zn.__)("Update selected"):(0,zn.__)("Update all"))))});function aw(e){return aw="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},aw(e)}function sw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function lw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sw(Object(n),!0).forEach(function(t){cw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cw(e,t,n){return(t=function(e){var t=function(e){if("object"!=aw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=aw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function uw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?dw(e,t):void 0}}(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 dw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var hw=function(){var e=(0,r.useRef)(null),t=(null!=$u?$u:{}).general_settings_url,n=uw((0,r.useState)(),2),i=n[0],a=n[1],s=uw((0,r.useState)(!1),2),l=s[0],c=s[1],u=Vh(),d=u.save,h=u.isSaving,f=u.getField,p=XC(),m=p.languages,g=p.getLangName,b=null==m?void 0:m.map(function(e){return{id:null==e?void 0:e.language,label:null==e?void 0:e.native_name,isSelected:!1}}),v=g(Wu),y=f("general","translation_locale"),_=f("general"),C=f("flags","enable_auto_translation"),w=f("flags"),x=f("translation_updates_available"),E=(null==x?void 0:x.length)>0;return(0,r.useEffect)(function(){if(!i){var e=null==b?void 0:b.find(function(e){return e.id===y});e&&(e.isSelected=!0),a(e)}},[y,b]),(0,r.useEffect)(function(){c(C)},[C]),o().createElement(r.Fragment,null,o().createElement(ow,{ref:e,close:function(){var t;null==e||null===(t=e.current)||void 0===t||t.closeModal()}}),o().createElement(U_,{hasLargeRadius:!0,title:(0,zn.__)("Translations"),description:(0,zn.__)("Choose the default language and behavior for handling translation updates."),footerActions:[o().createElement(wl,{key:0,type:"primary",colorScheme:"blue",isLoading:h,isDisabled:h,onClick:function(){d.mutate({flags:lw(lw({},w),{},{enable_auto_translation:l}),general:lw(lw({},_),{},{translation_locale:null==i?void 0:i.id})})}},(0,zn.__)("Save Changes"))],isFluid:!0},o().createElement(nC,{id:"dashboard-translations-language-block",title:(0,zn.__)("Set Translation"),description:(0,zn.__)("Choose the default language translation to use on all plugins.")},o().createElement(jy,{id:"dashboard-translations-language-field",label:(0,zn.__)("Website Language"),helper:(0,uu.createInterpolateElement)((0,zn.sprintf)("Your <a>WordPress Language Settings</a> are set to %s.",v),{a:o().createElement(Uh,{id:"dashboard-translations-wp-settings-link",href:t})})},o().createElement(Oy,{id:"dashboard-translations-language-select",selected:i,label:(0,zn.__)("Website Language"),options:b,onChange:function(e){return a(e)}}))),o().createElement(nC,{id:"dashboard-translations-auto-update-block",title:(0,zn.__)("Auto-Update Translations"),description:(0,zn.__)("Update old translations or choose to have WPMU DEV automatically download and install translation updates for you.")},o().createElement(Pv,{id:"dashboard-translations-auto-update-toggle",defaultValue:l,label:(0,zn.__)("Automatically update translations"),description:o().createElement(mh,{id:"dashboard-translations-description",spacing:8},(0,zn.__)("We’ll automatically download language files for each of the plugins you install."),!E&&o().createElement(Al,{icon:"CheckAlt",variation:"success",isFluid:!0,message:(0,zn.__)("All translations are up to date.")}),E&&o().createElement(Al,{icon:"InfoAlt",variation:"warning",isFluid:!0,message:o().createElement(mh,{id:"dashboard-translations-notification-stack",spacing:8,alignItems:"flex-start"},o().createElement(nh,{id:"dashboard-translations-notification-text"},(0,zn.sprintf)("You have %s translations ready to update.",null==x?void 0:x.length)),o().createElement(wl,{id:"dashboard-translations-update-button",type:"secondary",colorScheme:"black",isSmall:!0,onClick:function(){var t;null==e||null===(t=e.current)||void 0===t||t.openModal()}},(0,zn.__)("Update Translations")))})),onClick:function(){return c(!l)}}))))};function fw(){return fw=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},fw.apply(null,arguments)}var pw=function(e){var t=e.user,n=e.toggleUser,i=null==t?void 0:t.avatar_url;if(!i){var r,a=Object.values(null==t?void 0:t.avatar_urls);i=null!==(r=null==a?void 0:a[1])&&void 0!==r?r:""}var s=o().createElement(bh,{media:o().createElement(Sh,{imgUrl:i,size:"sm",alt:(0,zn.sprintf)((0,zn.__)("User %s's avatar"),t.name),isCircle:!0})},o().createElement("div",{className:"thc-sui-page-header__title"},o().createElement(nh,{id:"dashboard-admin-row-name",weight:"bold"},t.display_name))),l=t.is_allowed,c=t.user_login===Qu.username,u=function(e){var t=e.mobile;return l?c?void 0!==t&&t?120:165:80:55};return o().createElement(gh,{title:s,actions:o().createElement(Ev,fw({},l&&{icon:"Trash"},!l&&{icon:"Add"},{customWidth:u({mobile:!1}),customMobileWidth:u({mobile:!0}),onClick:function(){n(t.id)},buttonProps:{type:"tertiary",isDisabled:c,colorScheme:l?"red":"black",iconOnly:!0,isSmall:!0}}),l?c?(0,zn.__)("You can't delete yourself"):(0,zn.__)("Remove user"):(0,zn.__)("Add user"))},o().createElement(mh,{spacing:5,alignItems:"center",direction:"row"},o().createElement(nh,{id:"dashboard-admin-row-role",color:"grey-dark-60",as:"span"},t.user_email),c&&o().createElement(Av,{isSmall:!0,_style:{margin:"0"}},(0,zn.__)("You"))))},mw=function(e){var t=e.title,n=e.children;return o().createElement(mh,{direction:"column",spacing:4},o().createElement(nh,{weight:"bold"},t),o().createElement("div",{className:"dash-sui-admins-container"},n))};function gw(e){return gw="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},gw(e)}function bw(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function vw(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?bw(Object(n),!0).forEach(function(t){yw(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):bw(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function yw(e,t,n){return(t=function(e){var t=function(e){if("object"!=gw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=gw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==gw(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function _w(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Cw=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).onSaveSuccess,t=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return _w(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?_w(e,t):void 0}}(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,r.useState)([]),2),n=t[0],i=t[1],o=yd("data/available-users"),a=o.data,s=o.isLoading,l=o.refetch,c=o.isRefetching||s,u=Vh({onSaveSuccess:function(){null==e||e(),null==l||l()}}),d=(u.settings,u.save),h=u.isSaving,f=(0,u.getField)("general"),p=(null==a?void 0:a.data)||[];(0,r.useEffect)(function(){i(p)},[a]);var m=vu(p,n);return{refetch:l,isLoading:c,users:n,apiUsers:p,toggleUser:function(e){var t=n.map(function(t){var n=vw({},t);return n.id===e&&(n.is_allowed=!n.is_allowed),n});i(t)},isSaving:h,saveUsers:function(){var e=n.filter(function(e){return!0===e.is_allowed}).map(function(e){return e.id});d.mutate({general:vw(vw({},f),{},{limit_to_user:e})})},isSaveDisabled:m}};function ww(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return xw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?xw(e,t):void 0}}(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 xw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Ew=(0,r.forwardRef)(function(e,t){var n=e.listUsers,i=e.close,a=ww((0,r.useState)(""),2),s=a[0],l=(a[1],ww((0,r.useState)(""),2)),c=l[0],u=l[1],d=Cw({onSaveSuccess:i}),h=d.users,f=d.toggleUser,p=d.isSaving,m=d.saveUsers,g=d.isSaveDisabled,b=ww((0,r.useState)([]),2),v=b[0],y=b[1];(0,r.useEffect)(function(){y(h)},[h]),(0,r.useEffect)(function(){if(""!==c){var e=h.filter(function(e){var t;return null==e||null===(t=e.display_name)||void 0===t||null===(t=t.toLowerCase())||void 0===t?void 0:t.includes(null==c?void 0:c.toLowerCase())});y(e)}""===c&&y(h)},[c]);var _=null==h?void 0:h.every(function(e){return!0===e.is_allowed}),C=(0,r.useId)(),w=[{id:"added",title:(0,zn.__)("Added admins")},{id:"available",title:(0,zn.__)("All admins")}];return o().createElement(W_,{ref:t,id:C,size:"lg",variant:"advanced"},o().createElement(Z_,{title:(0,zn.__)("Add users")}),o().createElement(q_,null,o().createElement(mh,{spacing:24},""!==s&&o().createElement(Al,{message:s,variation:"error",icon:"Warning",id:"add-user-error"}),o().createElement(mh,{spacing:24},o().createElement(nh,{color:"grey-base-50"},(0,zn.__)("Add as many administrators as you like. Only these specific users will see the WPMU DEV menu.")),o().createElement(hy,{placeholder:(0,zn.__)("Search users"),icon:"Search",iconPosition:"start",defaultValue:c,onChange:function(e){return u(e.target.value)}})),0===v.length&&o().createElement(zh,{message:(0,uu.createInterpolateElement)((0,zn.sprintf)("No admins found with <strong>“%s”</strong>",c),{strong:o().createElement("strong",null)})}),v.length>0&&(null==w?void 0:w.map(function(e,t){var i=!0;"available"===e.id&&(i=!1);var r=v.filter(function(e){return e.is_allowed===i});return"available"===e.id&&_&&""===c?o().createElement(mh,{key:e.id,spacing:8},o().createElement(nh,{weight:"bold"},e.title),o().createElement(Al,{message:(0,zn.__)("All admins have been added to the list."),variation:"success",icon:"CheckAlt",isFluid:!0})):r.length>0?o().createElement(mw,{key:t,title:e.title,isScrollable:(null==h?void 0:h.length)>0},n(r,i,f)):null})))),o().createElement(G_,{isSpaced:!0},o().createElement(wl,{id:"dashboard-add-users-modal-cancel-button",type:"secondary",colorScheme:"black",onClick:i,isDisabled:p},(0,zn.__)("Cancel")),o().createElement(wl,{id:"dashboard-add-users-modal-save-button",type:"primary",colorScheme:"blue",isDisabled:g||p,isLoading:p,onClick:m},(0,zn.__)("Save Changes"))))});Ew.displayName="AddUsersModal";var Sw=function(){var e=(0,r.useRef)(null),t=Cw(),n=t.users,i=t.toggleUser,a=t.isSaving,s=t.saveUsers,l=(t.isSaveDisabled,function(){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1],t=arguments.length>2?arguments[2]:void 0,n=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:[]).filter(function(t){return t.is_allowed===e});return null==n?void 0:n.map(function(e,n){return o().createElement(pw,{key:e.id||n,user:e,toggleUser:t})})});return o().createElement(r.Fragment,null,o().createElement(Ew,{ref:e,close:function(){null==e||e.current.closeModal()},listUsers:l}),o().createElement(U_,{hasLargeRadius:!0,title:(0,zn.__)("Permissions"),isFluid:!0,footerActions:[o().createElement(wl,{key:0,type:"primary",colorScheme:"blue",isDisabled:a,isLoading:a,onClick:s},(0,zn.__)("Save Changes"))]},o().createElement(nC,{id:"dashboard-permissions-visibility-block"},o().createElement(iC,{id:"dashboard-permissions-visibility-option",title:(0,zn.__)("Visibility"),description:(0,zn.__)("By default, only the user who authenticated the WPMU DEV Dashboard can see it in the sidebar. Enable other admins to view it by adding them here.")},o().createElement(mh,{id:"dashboard-permissions-users",spacing:16},o().createElement(mw,null,l(n,!0,i)),o().createElement(wl,{id:"dashboard-permissions-add-user-button",type:"secondary",colorScheme:"black",onClick:function(){null==e||e.current.openModal()},_style:{ml:"0px",alignSelf:"flex-start"}},(0,zn.__)("Add User")))))))},kw=(0,r.createContext)({name:"",onChange(e){},setCurrent(e){}}),Ow=kw.Provider,Mw=({id:e,isInline:t=!0,children:n,name:i="",defaultValue:o="",asBlock:a=!1,isSmall:s=!1,isDisabled:l=!1,onChange:c=()=>{},className:u="",validate:d,validateOnMount:h,resetValidation:f,_htmlProps:p={},_style:m})=>{let g=(0,r.useId)(),b=e||`sui-radio-group-${g}`,[v,y]=(0,r.useState)(o);(0,r.useEffect)(()=>{y(o)},[o]),n=_r(n,"{Radio Group Children Content}");let{suiInlineClassname:_}=br(m,u),C=kr("sui-radio-group",{inline:t,sm:s},_);return(0,Fr.jsx)(Ow,{value:{name:i,current:v,setCurrent:y,defaultValue:o,asBlock:a,isDisabled:l,onChange:c,validate:d,validateOnMount:h,resetValidation:f,isSmall:s},children:(0,Fr.jsx)("div",{id:b,className:C,role:"radiogroup","data-testid":"radio-group",...Rr(p),children:n})})},Aw=(0,r.forwardRef)(({id:e,label:t="label",description:n="",tag:i="",value:o="",isDisabled:a=!1,_htmlProps:s={},_style:l={}},c)=>{let[u,d,h]=wr({}),f=(0,r.useId)(),p=e||`sui-radio-${f}`;o||(o=`value-${f}`);let{onChange:m,current:g,name:b,asBlock:v,isDisabled:y,isSmall:_}=(()=>{let e=(0,r.useContext)(kw);if(!e)throw new Error("useRadio must be used within a RadioContextProvider");let t=(0,r.useCallback)(t=>{e.setCurrent(t),e.onChange&&(e.onChange(t),e.validate?.(t))},[e]);return{...e,onChange:t}})(),C=(0,r.useCallback)(()=>{m(o)},[m,o]),w=o===g,x=a||y,E={ref:c,id:p,type:"radio",name:b,value:o,className:"sui-screen-reader-only",checked:w,disabled:x,"aria-label":t||"radio input",onChange:C,"aria-labelledby":`${p}-label`,...n&&{"aria-describedby":`${p}-description`},...Rr(s)},{suiInlineClassname:S}=br(l),k={className:kr("sui-radio",{hover:u&&!w,focus:d,disabled:x,block:v,checked:w},S)};return(0,Fr.jsxs)("label",{...k,htmlFor:p,"data-testid":"radio",tabIndex:-1,...h,children:[(0,Fr.jsx)("input",{...E,"data-testid":"radio-input"}),(0,Fr.jsx)("span",{className:"sui-radio__box","aria-hidden":!0,id:`${p}-box`,tabIndex:-1,children:w&&(0,Fr.jsx)("span",{className:"sui-radio__icon",id:`${p}-icon`})}),(0,Fr.jsxs)("span",{id:`${p}-label`,className:"sui-radio__label",children:[t,i&&(0,Fr.jsx)(Av,{design:"outlined",colorScheme:"blue",isSmall:_,isDisabled:x??!1,children:i})]}),n&&(0,Fr.jsx)("span",{id:`${p}-description`,className:"sui-radio__description",children:n})]})});Aw.displayName="Radio";var Pw=(0,r.forwardRef)(function(e,t){var n=e.close,i=Vh(),r=i.slug,a=i.refetch,s=(i.isLoading,Ml().push),l=Cd({slug:"".concat(r,"/reset"),onSuccess:function(){s({variation:"success",message:(0,zn.__)("The plugin settings have been reset"),icon:"CheckAlt"}),a(),n()},onError:function(e){s({id:"settings-reset-error",variation:"warning",message:e.message,isDismissible:!0,icon:"InfoAlt"}),n()}}),c=l.isLoading;return o().createElement(W_,{id:"plugin-installed",ref:t},o().createElement(Z_,{title:(0,zn.__)("Reset Settings"),icon:"RotateLeft",iconColor:"neutral"}),o().createElement(q_,null,(0,zn.__)("Are you sure you want to reset Dashboard’s settings back to the factory defaults? ")),o().createElement(G_,null,o().createElement(wl,{id:"dashboard-reset-settings-modal-cancel-button",type:"secondary",colorScheme:"black",isDisabled:c,onClick:n},(0,zn.__)("Cancel")),o().createElement(wl,{id:"dashboard-reset-settings-modal-confirm-button",type:"primary",colorScheme:"red",isDisabled:c,isLoading:c,onClick:function(){l.mutate({})}},(0,zn.__)("Reset settings"))))});function jw(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Iw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Iw(e,t):void 0}}(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 Iw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Tw=function(){var e=(null!=$u?$u:{}).hub_account_details_url,t=jw((0,r.useState)(!1),2),n=t[0],i=t[1],a=jw((0,r.useState)(!1),2),s=a[0],l=a[1],c=Vh(),u=(c.settings,c.save),d=c.isSaving,h=c.getField,f=c.isLoading,p=h("data","keep_data"),m=h("data","preserve_settings"),g=(0,r.useRef)(null);(0,r.useEffect)(function(){i(p)},[p]),(0,r.useEffect)(function(){l(m)},[m]);var b=!0===n?"keep-data":"remove-data",v=!0===s?"preserve-settings":"reset-default-settings";return o().createElement(r.Fragment,null,o().createElement(Pw,{close:function(){null==g||g.current.closeModal()},ref:g}),f&&o().createElement(bl,{id:"dashboard-data-settings-loading-spinner",isContained:!0}),!f&&o().createElement(U_,{id:"dashboard-data-settings-box",hasLargeRadius:!0,title:(0,zn.__)("Settings"),description:(0,zn.__)("Control what to do with your settings and data. Settings are each module’s configuration options. Data includes stored information, such as logs, statistics and other bits of information stored over time."),footerActions:[o().createElement(wl,{id:"dashboard-data-settings-save-button",key:0,type:"primary",colorScheme:"blue",isLoading:d,isDisabled:d,onClick:function(){u.mutate({data:{keep_data:n,preserve_settings:s}})}},(0,zn.__)("Save Changes"))],isFluid:!0},o().createElement(nC,{id:"dashboard-data-settings-uninstallation-block",title:(0,zn.__)("Uninstallation"),description:(0,zn.__)("When you uninstall this plugin, what do you want to do with your settings and stored data?")},o().createElement(iC,{id:"dashboard-data-settings-preserve-option",title:(0,zn.__)("Settings"),description:(0,zn.__)("Choose whether to save your settings for next time, or reset them.")},o().createElement(Mw,{asBlock:!0,defaultValue:v,onChange:function(e){var t=!1;"preserve-settings"===e&&(t=!0),l(t)}},o().createElement(Aw,{label:"Preserve Settings",value:"preserve-settings"}),o().createElement(Aw,{label:"Reset to default settings",value:"reset-default-settings"}))),o().createElement(iC,{id:"dashboard-data-settings-data-option",title:(0,zn.__)("Plugin’s Data"),description:(0,zn.__)("Choose whether to keep or remove plugin's data.")},o().createElement(Mw,{asBlock:!0,defaultValue:b,onChange:function(e){var t=!1;"keep-data"===e&&(t=!0),i(t)}},o().createElement(Aw,{label:"Keep Plugin's data",value:"keep-data"}),o().createElement(Aw,{label:"Remove all Plugin’s data",value:"remove-data"})))),o().createElement(nC,{id:"dashboard-data-settings-api-key-block",title:(0,zn.__)("API Key"),description:(0,zn.__)("Your API Key is unique to your WPMU DEV account and is the connection between you and our servers, and your access to all our Pro plugins syncing with The Hub.")},o().createElement(iC,{id:"dashboard-data-settings-api-key-option",description:o().createElement(wl,{id:"dashboard-data-settings-manage-api-button",endIcon:"ExternalLink",colorScheme:"black",type:"secondary",href:e,target:"_blank"},(0,zn.__)("Manage API Key"))},o().createElement(nh,null,(0,zn.__)("Click Manage API Key to be directed to your Hub where you can reset your key if you are experiencing issues connecting to WPMU DEV.")))),o().createElement(nC,{id:"dashboard-data-settings-reset-block",title:(0,zn.__)("Reset Settings"),description:(0,zn.__)("Needing to start fresh? Use this button to roll back to the default settings.")},o().createElement(iC,{id:"dashboard-data-settings-reset-option",description:o().createElement(wl,{id:"dashboard-data-settings-reset-button",colorScheme:"red",type:"secondary",icon:"RotateLeft",onClick:function(){null==g||g.current.openModal()}},(0,zn.__)("Reset settings"))},o().createElement(nh,null,(0,zn.__)("Note: This will instantly revert all settings to their default states but will leave your data intact."))))))};function Dw(e,t){if(e){if("string"==typeof e)return Lw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Lw(e,t):void 0}}function Lw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Nw=ld.translations,Rw=[{id:"general",title:(0,zn.__)("General")}].concat(function(e){return function(e){if(Array.isArray(e))return Lw(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Dw(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.")}()}(Nw?[{id:"translations",title:(0,zn.__)("Translations")}]:[]),[{id:"permissions",title:(0,zn.__)("Permissions")},{id:"data-settings",title:(0,zn.__)("Data & Settings")}]),Fw=function(){var e,t=J(),n=X(),i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||Dw(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,r.useState)("general"),2),a=i[0],s=i[1],l=Vh().isLoading,c=Cw().isLoading,u=XC().isLoading;(0,r.useEffect)(function(){var e=(null!=t?t:{id:"general "}).id;s(null!=e?e:"general")},[]);var d={general:o().createElement(KC,null),translations:Nw?o().createElement(hw,null):null,permissions:o().createElement(Sw,null),"data-settings":o().createElement(Tw,null)},h=l||c||u,f=null===(e=Rw.filter(function(e){return e.id===a}))||void 0===e||null===(e=e[0])||void 0===e?void 0:e.title;return h?o().createElement(bl,{id:"dashboard-settings-loading-spinner",isContained:!0}):o().createElement(r.Fragment,null,o().createElement(Kd,{id:"dashboard-settings-page-header",isFullWidth:!0},o().createElement(z_,{id:"dashboard-settings-header",title:(0,zn.__)("Settings")})),o().createElement(kh,{id:"dashboard-settings-page"},o().createElement(Gd,{id:"dashboard-settings-row",align:{md:"inline"}},o().createElement(Qd,{id:"dashboard-settings-sidebar-col",size:{xl:2,md:3}},o().createElement(VC,{id:"dashboard-settings-sidebar"},null==Rw?void 0:Rw.map(function(e){var t=e.title,i=e.id;return o().createElement(BC,{id:"dashboard-settings-sidebar-item-".concat(i),key:i,title:t,isActive:i===a,onClick:function(){s(i),n("/".concat(i))}})})),o().createElement($C,{id:"dashboard-settings-sidebar-dropdown",selectedItemName:f,_style:{zIndex:1}},null==Rw?void 0:Rw.map(function(e){var t=e.title,i=e.id;return o().createElement(BC,{id:"dashboard-settings-sidebar-dropdown-item-".concat(i),key:i,title:t,onClick:function(){s(i),n("/".concat(i))}})}))),o().createElement(Qd,{id:"dashboard-settings-content-col",size:{xl:10,md:9},_style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"}},d[a],o().createElement(Gh,{id:"dashboard-settings-check-for-updates"})))))},zw=n.p+"images/support-membership.svg",Hw=function(e){var t=e.label,n=void 0===t?"{label}":t,i=e.version,r=void 0===i?"{version}":i,a=e.icon,s=ml[a];return o().createElement("div",{id:"dashboard-support-version-display",className:"dash-sui-plugin-version-display"},!!a&&o().createElement(s,{id:"dashboard-support-version-icon"}),o().createElement(nh,{id:"dashboard-support-version-title",weight:"bold",size:"lg"},n),o().createElement(Av,{id:"dashboard-support-version-tag",colorScheme:"blue",isSmall:!0},r))},Uw=n.p+"images/no-tickets.svg",Vw=function(e){var t=e.isLoading,n=null!=$u?$u:{},i=n.hub_url,r=n.external_support_url;return o().createElement("div",{id:"dashboard-no-tickets-wrapper",className:"dash-sui-plugin-no-tickets"},t&&o().createElement(bl,{id:"dashboard-no-tickets-loading-spinner",isContained:!0}),!t&&o().createElement(mh,{id:"dashboard-no-tickets-container",alignItems:"center",spacing:32},o().createElement("img",{id:"dashboard-no-tickets-image",src:Uw,alt:(0,zn.__)("No tickets image"),className:"dash-sui-plugin-no-tickets__image"}),o().createElement(mh,{id:"dashboard-no-tickets-content",spacing:16,alignItems:"center"},o().createElement(nh,{id:"dashboard-no-tickets-title",weight:"semi-bold",size:"xl"},(0,zn.__)("No tickets found")),o().createElement(nh,{id:"dashboard-no-tickets-description",align:"center"},(0,zn.__)("You don’t have any active support tickets. When you create a support ticket, it will appear here. You can also access this in The Hub.")),o().createElement(mh,{id:"dashboard-no-tickets-buttons",direction:"row"},o().createElement(wl,{id:"dashboard-no-tickets-create-button",type:"primary",colorScheme:"blue",href:r,target:"_blank"},(0,zn.__)("Create new ticket")),o().createElement(wl,{id:"dashboard-no-tickets-hub-button",type:"secondary",colorScheme:"blue",icon:"Logo",href:i,target:"_blank"},(0,zn.__)("The Hub"))))))},$w=({id:e,pagesArray:t,elements:n,selectedPage:i,handlePreviousPage:r,handleSkipToFirstPage:o,handleSkipToLastPage:a,handlePreviousEllipsis:s,handlePageClick:l,handleNextEllipsis:c,handleNextPage:u,previousLabel:d="Go to previous page",nextLabel:h="Go to next page",startIndex:f,endIndex:p,pages:m,skip:g,_htmlProps:b={},_style:v={}})=>{let{suiInlineClassname:y}=br(v);return t.length<1?null:(0,Fr.jsx)("div",{id:e,className:kr("sui-pagination",{},y),"data-testid":"pagination",...Rr(b),children:(0,Fr.jsxs)("ul",{id:`${e}-nav`,className:"sui-pagination__nav",children:[(0,Fr.jsx)("li",{id:`${e}-prev-item`,className:"sui-pagination__item",children:(0,Fr.jsx)(Ev,{buttonProps:{type:"tertiary",colorScheme:"black",iconOnly:!0,isSmall:!0,isDisabled:i<=1,_htmlProps:{"data-testid":"pagination-prev-page","aria-label":"Previous Page Button"}},className:"sui-pagination__button",icon:"ChevronLeft",onClick:r,children:d})}),f>1&&g&&(0,Fr.jsx)("li",{className:"sui-pagination__item",children:(0,Fr.jsx)(wl,{className:"sui-pagination__button",colorScheme:"black",type:"tertiary",isSmall:!0,isDisabled:i<=1,onClick:o,_htmlProps:{"aria-label":"Page One Button"},children:"1"})}),f>0&&(0,Fr.jsx)("li",{className:"sui-pagination__item",children:(0,Fr.jsx)(wl,{colorScheme:"black",type:"tertiary",icon:"More",iconOnly:!0,isSmall:!0,className:"sui-pagination__button",onClick:s,_htmlProps:{"aria-label":"Skip Pages Button"},children:"Skip pages"})}),t?.slice(f,p)?.map((e,t)=>(0,Fr.jsx)("li",{className:"sui-pagination__item",children:(0,Fr.jsx)(wl,{colorScheme:"black",type:"tertiary",isSmall:!0,className:"sui-pagination__button"+(i===e?" sui-pagination__button--active":""),onClick:()=>l(Math.floor(e)),_htmlProps:{"data-testid":"pagination-item","aria-label":"Middle Page Button"},children:e})},t)),p<m-1&&(0,Fr.jsx)("li",{className:"sui-pagination__item",children:(0,Fr.jsx)(wl,{colorScheme:"black",type:"tertiary",icon:"More",iconOnly:!0,isSmall:!0,className:"sui-pagination__button",onClick:c,_htmlProps:{"aria-label":"Skip Pages Button"},children:"Skip pages"})}),p<m&&g&&(0,Fr.jsx)("li",{className:"sui-pagination__item",children:(0,Fr.jsx)(wl,{colorScheme:"black",type:"tertiary",isSmall:!0,className:"sui-pagination__button",isDisabled:i>=m,onClick:a,_htmlProps:{"aria-label":"Last Page Button"},children:t.length})}),(0,Fr.jsx)("li",{className:"sui-pagination__item",children:(0,Fr.jsx)(Ev,{buttonProps:{type:"tertiary",colorScheme:"black",iconOnly:!0,isSmall:!0,isDisabled:i>=m,_htmlProps:{"data-testid":"pagination-next-page","aria-label":"Next Page Button"}},className:"sui-pagination__button",icon:"ChevronRight",onClick:u,children:h})})]})})},Bw=({id:e,limit:t=5,skip:n=!1,previousLabel:i="Previous label",nextLabel:o="Next label",numberOfItems:a=20,onChange:s,hideOnSinglePage:l=!1,page:c=1,_style:u,_htmlProps:d})=>{let h=(0,r.useId)(),f=e||`sui-pagination-${h}`;if(0===a)throw new Error("Shared UI - Components: Pagination, 'numberOfItems' prop should not be 0.");let p=Math.ceil(a/t),m=p<=5?5:3,[g,b]=(0,r.useState)([]),[v,y]=(0,r.useState)(0),[_,C]=(0,r.useState)(Math.min(m,p)),[w,x]=(0,r.useState)(0),[E,S]=(0,r.useState)(0),[k,O]=(0,r.useState)(t),M=(0,r.useCallback)(()=>{c-1<=v+1&&0!==v&&(y(v-1),C(_-1))},[c,v,_]),A=(0,r.useCallback)(()=>{c+1>=_&&_!==p&&(y(v+1),C(_+1))},[c,v,_,p]);(0,r.useEffect)(()=>{let e=[];for(let t=1;t<=p;++t)e.push(t);b(e)},[p]),(0,r.useEffect)(()=>{s&&s(c)},[s,c]),(0,r.useEffect)(()=>{c>=_&&A(),c<=v+1&&M()},[w,A,M,_,v,c]),(0,r.useEffect)(()=>{1!==c&&(S(c*t-t),O(c*t))},[c,t]);let P={id:f,elementsStartIndex:E,elementsEndIndex:k,handlePageClick:e=>{s?.(e??1),x(w+1)},handleNextEllipsis:()=>{let e=Math.min(v+m,p-m);y(e),C(v>=m?_+m:_+(e-v)),s?.(v>=m?v+(m+1):e+1)},handlePreviousEllipsis:()=>{let e=Math.max(0,v-m);y(e),C(v>=m?_-m:_-v),s?.(v>=m?v-(m-1):1)},handleNextPage:()=>{c<p&&s?.(c+1),A()},handlePreviousPage:()=>{c>1&&s?.(c-1),M()},handleSkipToLastPage:()=>{s?.(p),y(Math.max(0,p-m)),C(p)},handleSkipToFirstPage:()=>{s?.(1),y(0),C(Math.min(m,p))},pagesArray:g,selectedPage:c,startIndex:v,endIndex:_,pages:p,previousLabel:i,nextLabel:o,skip:n,_style:u,_htmlProps:d};return l&&1===p?null:(0,Fr.jsx)($w,{...P})};function Ww(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zw(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zw(e,t):void 0}}(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 Zw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var qw=function(){var e=Ww((0,r.useState)(1),2),t=e[0],n=e[1],i=Ww((0,r.useState)("all"),2),a=i[0],s=i[1],l=Qv({page:t,status:a,per_page:10}),c=l.tickets,u=l.hasTickets,d=l.ticketsNumber,h=l.isLoading,f=l.totalPages,p=null!=$u?$u:{},m=p.hub_url,g=p.external_support_url,b=p.hub_account_url,v=p.hub_security_info_url,y={expired:{desc:(0,zn.__)("Our team is here to help you with any WordPress problem, anytime. Every WPMU DEV membership comes with 24/7 expert live WordPress support. Renew your membership to gain access."),action:o().createElement(r.Fragment,null,o().createElement(wl,{id:"dashboard-support-tickets-reactivate-button",type:"primary",colorScheme:"black",href:b,target:"_blank"},(0,zn.__)("Reactivate Membership")),o().createElement(wl,{id:"dashboard-support-tickets-security-info-button",type:"secondary",icon:"LockAlt",colorScheme:"black",href:v,target:"_blank"},(0,zn.__)("Security Info")))},downgraded:{desc:(0,zn.__)("Our team is here to help you with any WordPress problem, anytime. Every WPMU DEV membership comes with 24/7 expert live WordPress support. Upgrade your membership to gain access."),action:o().createElement(r.Fragment,null,o().createElement(wl,{id:"dashboard-support-tickets-upgrade-button",type:"primary",colorScheme:"black",href:b,target:"_blank"},(0,zn.__)("Upgrade Membership")),o().createElement(wl,{id:"dashboard-support-tickets-upgrade-security-info-button",type:"secondary",icon:"LockAlt",colorScheme:"black",href:v,target:"_blank"},(0,zn.__)("Security Info")))}},_=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zw;return o().createElement(Mh,{mediaUrl:n},o().createElement(mh,{id:"dashboard-my-tickets-splash",direction:"column",spacing:24},o().createElement(mh,{id:"dashboard-my-tickets-splash-title",as:"h1",spacing:12},o().createElement("span",{id:"dashboard-my-tickets-splash-title-text"},(0,zn.__)("My Tickets"))),o().createElement(nh,{id:"dashboard-my-tickets-splash-description",color:"grey-base-50"},e),o().createElement("div",{id:"dashboard-my-tickets-splash-action"},t)))},C=ud||cd&&!1===u&&"all"===a,w=function(e){var t=e.children,n=e.description,i=e.isFluid,r=e.headerActions;return o().createElement(U_,{id:"dashboard-my-tickets-box",hasLargeRadius:!0,title:(0,zn.__)("My Tickets"),description:n,headerActions:r,isFluid:i},t)},x=$u.hub_support_url;return sd?w({description:o().createElement(Al,{id:"dashboard-support-tickets-hub-notification",message:(0,uu.createInterpolateElement)((0,zn.__)("To create a new support ticket, or to view existing tickets, go to <a>The Hub</a>."),{a:o().createElement(Uh,{href:x})}),variation:"info",icon:"InfoAlt",isFluid:!0})}):o().createElement(r.Fragment,null,C&&(cd?_(y.expired.desc,y.expired.action):ud?_(y.downgraded.desc,y.downgraded.action):null),!C&&!u&&"all"===a&&o().createElement(Vw,{isLoading:h}),!C&&(u||"all"!==a)&&w({description:o().createElement(r.Fragment,null,o().createElement(mh,{id:"dashboard-my-tickets-description-stack",spacing:16,alignItems:"flex-start"},(0,zn.__)("Here are your open and resolved support tickets. You can view all your support tickets in The Hub."),cd&&o().createElement(Al,{id:"dashboard-support-tickets-expired-notification",title:(0,zn.__)("WPMU DEV Membership has expired"),message:(0,zn.__)("Your WPMU DEV Membership has expired and pro versions of installed plugins have been downgraded. Reactivate your subscription to upgrade pro plugins."),isFluid:!0,variation:"warning",icon:"InfoAlt",action:o().createElement(wl,{id:"dashboard-support-tickets-reactivate-notification-button",type:"secondary",colorScheme:"black",isSmall:!0},(0,zn.__)("Reactivate Membership"))}))),headerActions:o().createElement(r.Fragment,null,o().createElement(wl,{id:"dashboard-support-new-ticket-button",colorScheme:"blue",type:"primary",icon:"Add",href:g,target:"_blank"},(0,zn.__)("New Ticket")),o().createElement(wl,{id:"dashboard-support-hub-button",colorScheme:"black",type:"secondary",icon:"Logo",href:m,target:"_blank"},(0,zn.__)("The Hub"))),isFluid:!0,children:o().createElement(nC,{id:"dashboard-my-tickets-setting-block"},o().createElement(iC,{id:"dashboard-my-tickets-setting-block-option"},o().createElement(_C,{id:"dashboard-my-tickets-tabs"},o().createElement(CC,{id:"dashboard-my-tickets-tab-nav",isNarrow:!0},null==Gv?void 0:Gv.map(function(e){return o().createElement(wC,{id:"dashboard-my-tickets-tab-".concat(e.id),key:e.id,onClick:function(){n(1),s(e.id)}},e.label)})),o().createElement(xC,{id:"dashboard-my-tickets-tab-panel"},null==Gv?void 0:Gv.map(function(e){return o().createElement(EC,{id:"dashboard-my-tickets-panel-".concat(e.id),key:e.id},h&&o().createElement(bl,{id:"dashboard-my-tickets-loading-spinner",isContained:!0}),!h&&o().createElement(r.Fragment,null,o().createElement(Ry,{id:"dashboard-my-tickets-table",hasToolbar:!1,noBorderRadius:!0,noSideBorder:!0,_style:{borderTop:"0",borderBottom:"0"}},o().createElement($y,{id:"dashboard-my-tickets-table-head",hasActions:!1},o().createElement(Vy,{id:"dashboard-my-tickets-table-row"},o().createElement(Hy,{id:"dashboard-my-tickets-topic-cell",isHeading:!0,isSortable:!1,isPrimary:!0},(0,zn.__)("Topic")),o().createElement(Hy,{id:"dashboard-my-tickets-replies-cell",isHeading:!0},(0,zn.__)("Replies")),o().createElement(Hy,{isHeading:!0,id:"dashboard-my-tickets-status-cell"},(0,zn.__)("Status")),o().createElement(Hy,{id:"dashboard-my-tickets-action-cell",isHeading:!0},""))),o().createElement(Fy,{id:"dashboard-my-tickets-table-body"},!u&&o().createElement(Vy,{id:"dashboard-my-tickets-empty-row",isUnderFooter:!0},o().createElement(Hy,{id:"dashboard-my-tickets-empty-cell"},o().createElement(mh,{id:"dashboard-my-tickets-empty-stack",spacing:8,direction:"row",alignItems:"center",justify:"center"},o().createElement(so,{id:"dashboard-my-tickets-empty-info",size:"sm"})," ",(0,zn.__)("No tickets available.")))),u&&Array.isArray(c)&&(null==c?void 0:c.map(function(e,t){var n,i,r,a,s,l="".concat(null!==(n=null!==(i=null!==(r=null!==(a=null==e?void 0:e.id)&&void 0!==a?a:null==e?void 0:e.thread_id)&&void 0!==r?r:null==e?void 0:e.timestamp)&&void 0!==i?i:null==e?void 0:e.link)&&void 0!==n?n:"ticket","-").concat(t),c="number"==typeof(null==e?void 0:e.posts)?null==e||null===(s=e.posts)||void 0===s?void 0:s.toString():null==e?void 0:e.posts;return o().createElement(Vy,{id:"dashboard-my-tickets-row-".concat(e.timestamp),key:l},o().createElement(Hy,{key:"title-".concat(l),id:"dashboard-my-tickets-title-cell-".concat(e.timestamp),_style:{whiteSpace:"wrap"}},e.title),o().createElement(Hy,{key:"replies-".concat(l),id:"dashboard-my-tickets-replies-cell-".concat(e.timestamp)},c),o().createElement(Hy,{key:"status-".concat(l),id:"dashboard-my-tickets-status-cell-".concat(e.timestamp)},function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"not_resolved",t=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n="blue",i=(0,zn.__)("Open");return t&&(i=(0,zn.__)("Feedback"),n="yellow"),"resolved"===e&&(i=(0,zn.__)("Resolved"),n="green"),o().createElement(Av,{id:"dashboard-my-tickets-status-tag",colorScheme:n},i)}(e.status,e.unread)),o().createElement(Hy,{key:"action-".concat(l),id:"dashboard-my-tickets-action-cell-".concat(e.timestamp),_style:{textAlign:"right"}},o().createElement(wl,{id:"dashboard-my-tickets-action-button-".concat(e.timestamp),iconOnly:!0,type:"tertiary",icon:"ChevronRight",colorScheme:"black",isSmall:!0,iconSize:"sm",href:e.link,target:"_blank"})))})))),f>1&&o().createElement(By,{id:"dashboard-my-tickets-table-footer"},o().createElement(Vy,{id:"dashboard-my-tickets-footer-row"},o().createElement(Hy,{id:"dashboard-my-tickets-footer-cell"},o().createElement(mh,{id:"dashboard-my-tickets-footer-stack",direction:"row",justify:"space-between"},o().createElement(nh,{id:"dashboard-my-tickets-footer-text"},(0,zn.sprintf)("Showing %d of %d results",10,d)),o().createElement(Bw,{id:"dashboard-my-tickets-pagination",page:t,limit:10,numberOfItems:d,hideOnSinglePage:!0,onChange:n})))))))})))))}))},Gw=n.p+"images/support-access.svg",Qw=function(){var e=qv().slug,t=yd("".concat(e,"/support-access/sessions")),n=t.data,i=t.isLoading,r=(t.refetch,t.isRefetching||i),o=(null==n?void 0:n.data)||[];return{isLoading:r,sessions:o,hasSessions:o.length>0}},Yw=function(e){var t=e-Math.floor(Date.now()/1e3);if(t<=0)return(0,zn.__)("The time has already expired.");var n=Math.floor(t/86400),i=Math.floor(t%86400/3600);return(0,zn.sprintf)("%d day%s and %d hour%s.",n,1!==n?"s":"",i,1!==i?"s":"")},Kw=({id:e,className:t="",value:n="",isError:i=!1,isSmall:o=!1,isDisabled:a=!1,onChange:s=()=>{},label:l,customWidth:c,placeholder:u="",rows:d,validate:h,validateOnMount:f,resetValidation:p,ariaAttrs:m={},_htmlProps:g={},_style:b={}})=>{let[v,y]=(0,r.useState)(""),[_,C,w]=wr({});(0,r.useEffect)(()=>{y(n)},[n]);let x=(0,r.useId)();e||(e=x);let{suiInlineClassname:E}=br(b,t),S=kr("sui-textarea",{error:i,disabled:a,filled:!!v,sm:o,hover:_,focus:C},E),k=(0,r.useCallback)(e=>{y(e.target.value),s?.(e),h?.(e.target.value)},[s,h]);return(0,r.useEffect)(()=>{f&&h?.(n)},[]),(0,Fr.jsx)("div",{className:S,"data-testid":"textarea",...c&&{style:{maxWidth:`${c}px`}},children:(0,Fr.jsx)("textarea",{id:e,className:"sui-textarea__field",value:v,disabled:a,onChange:k,"aria-label":l||"textarea","data-testid":"textarea-input",placeholder:u,rows:d,...m,...Rr(g),...w})})},Xw=({id:e,iconName:t})=>{let n=ml?.[t];return(0,Fr.jsx)("span",{id:e,className:"sui-avatar__icon","aria-hidden":"true",children:(0,Fr.jsx)(n,{"data-testid":"avatar-icon"})})},Jw=({id:e,source:t,text:n})=>{let i=!Ar(t)&&!Ir(t),o=!Ar(n)&&!Ir(n);if(!i)throw new Error('Empty parameter is not valid. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Avatar\n\nThe parameter "source" in the "Image" component is required.\n\n');return(0,Fr.jsxs)(r.Fragment,{children:[(0,Fr.jsx)("span",{id:e,className:"sui-avatar__image",style:{backgroundImage:`url(${t})`},tabIndex:-1,"data-testid":"avatar-image"}),(0,Fr.jsx)("span",{id:e?`${e}-alt`:void 0,className:"sui-screen-reader-only","data-testid":"avatar-image-alt",children:o?n:"Logged in user avatar"})]})},ex=({id:e,status:t})=>{let n,i="sui-avatar__status-icon";switch(t){case"confirmed":n=ho,i+=" sui-color-success--50";break;case"not-accepted":n=uo,i+=" sui-color-warning--50";break;case"not-connected":n=uo,i+=" sui-color-error--50";break;case"awaiting":n=Wo,i+=" sui-color-neutral--50"}return(0,Fr.jsx)("span",{id:e,className:"sui-avatar__status","data-testid":"avatar-status","aria-hidden":"true",children:n&&(0,Fr.jsx)(n,{className:i,size:"sm"})})},tx=({id:e,image:t,status:n="none",isSmall:i=!1,className:o,icon:a="UserAlt",_htmlProps:s={},_style:l={},onClick:c})=>{let u=(0,r.useId)(),d=e||`sui-avatar-${u}`,h=Object.assign({src:"",alt:""},t),{suiInlineClassname:f}=br(l,o),p=!Ar(n)&&!Ir(n),m=!Ar(t)&&!Ir(h.src),g={id:d,className:kr("sui-avatar",{sm:i,clickable:!!c},f),...Rr(s),"data-testid":"avatar",onClick:c};return(0,Fr.jsxs)("span",{...g,children:[m&&(0,Fr.jsx)(Jw,{id:`${d}-image`,source:h.src,text:h.alt}),!m&&(0,Fr.jsx)(Xw,{id:`${d}-icon`,iconName:a}),p&&"none"!==n&&(0,Fr.jsx)(ex,{id:`${d}-status`,status:n})]})},nx=n(7641),ix=({id:e,language:t="javascript",copy:n=!0,className:i,children:o,_htmlProps:a,_style:s})=>{let l=(0,r.useId)(),c=e||`sui-code-snippet-${l}`,{suiInlineClassname:u}=br(s,i??""),d=kr("sui-code-snippet",{},u),[h,f]=(0,r.useState)(!1);(0,r.useEffect)(()=>{nx?.highlightAll()},[]),o=_r(o);let p=(0,r.useCallback)(e=>{navigator?.clipboard?.writeText(e),f(!0)},[]);return(0,Fr.jsxs)("div",{id:c,className:d,"data-testid":"code-snippet",...Rr(a),children:[n&&(0,Fr.jsx)(Ev,{buttonProps:{type:"secondary",colorScheme:"black",_htmlProps:{"data-testid":"code-snippet-copy-btn"}},label:"Copy",placement:"top",_htmlProps:{"aria-label":h?"Copied":""},onMouseLeave:()=>f(!1),customWidth:h?65:90,onClick:()=>p(o),children:h?"Copied":"Click to Copy"}),(0,Fr.jsx)("pre",{children:(0,Fr.jsx)("code",{className:`language-${t}`,children:o})})]})},rx=function(e){var t=e.children;return o().createElement("h2",{id:"dashboard-support-security-info-section-title"},t)},ox=(0,r.forwardRef)(function(e,t){var n=e.close,i=(null!=$u?$u:{}).wpmudev_docs_url;return o().createElement(W_,{id:"dashboard-support-security-info-modal",ref:t,size:"lg",variant:"advanced"},o().createElement(Z_,{id:"dashboard-support-security-info-header",title:(0,zn.__)("How secure is support access?")}),o().createElement(q_,{id:"dashboard-support-security-info-body"},o().createElement(mh,{id:"dashboard-support-security-info-content",spacing:24},o().createElement(nh,{id:"dashboard-support-security-info-intro"},(0,zn.__)("In short, our support access feature is bullet-proof secure and closed off to current WPMU DEV support staff only. We have never had any security issues with it, however you can disable it if you wish to.")),o().createElement(mh,{spacing:8},o().createElement(rx,null,(0,zn.__)("How it works")),o().createElement(nh,null,(0,zn.__)('When you click the "Grant Access" button, a random 64 character access token is generated that is only good for 120 hours (5 days) and saved in your database. This token is sent to the WPMU DEV API over an SSL encrypted connection to prevent eavesdropping, and stored on our secure servers. This access token is in no way related to your password, and can only be used from our closed WPMU DEV API system for temporary access to this site.'))),o().createElement(mh,{spacing:8},o().createElement(rx,null,(0,zn.__)("Who has access?")),o().createElement(nh,null,(0,zn.__)("Only current WPMU DEV support staff can use this token to log in as your user account by submitting a special form that only they have access to. This will give them 1 hour of admin access to this site before their login cookie expires. Every support staff login during the 5 day period is logged locally and you can view the details on this page."))),o().createElement(mh,{spacing:8},o().createElement(rx,null,(0,zn.__)("Revoke access")),o().createElement(nh,null,(0,zn.__)("You may at any time revoke this access which invalidates the token and it will no longer be usable. If you have special security concerns and you would like to disable the support access tab and functionality completely and permanently for whatever reason, you may do so by adding this line to your wp-config.php file:")),o().createElement(ix,{id:"dashboard-support-security-info-code"},"// WPMU Revoke access code\u2028\ndefine('WPMUDEV_DISABLE_REMOTE_ACCESS', true);")))),o().createElement(G_,{id:"dashboard-support-security-info-footer",isSpaced:!0},o().createElement(wl,{id:"dashboard-support-security-info-close-button",type:"tertiary",colorScheme:"black",isSmall:!0,onClick:n},(0,zn.__)("Close")),o().createElement(wl,{id:"dashboard-support-security-info-docs-button",type:"primary",colorScheme:"blue",isSmall:!0,href:"".concat(i,"getting-started/getting-support/"),target:"_blank"},(0,zn.__)("Support docs"))))});function ax(){return ax=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},ax.apply(null,arguments)}function sx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var lx=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return sx(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?sx(e,t):void 0}}(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,r.useState)(""),2),t=e[0],n=e[1],i=null!=$u?$u:{},a=i.hub_account_url,s=(i.hub_security_info_url,(0,r.useRef)(null)),l=function(){var e;null==s||null===(e=s.current)||void 0===e||e.openModal()},c=qv(),u=c.getSupportField,d=c.grantAccess,h=c.extendAccess,f=c.isSaving,p=c.revokeAccess,m=c.isRevoking,g=c.updateNote,b=c.isNoteSaving,v=Qw(),y=v.hasSessions,_=v.sessions,C=(0,Vh().getField)("general","staff_notes"),w=u("expires"),x=!u("enabled");(0,r.useEffect)(function(){n(C)},[C]);var E={expired:{desc:(0,zn.__)("If you require assistance, please grant support access to our WPMU DEV Support Staff. This is a secure process and can be active for a period of your choosing, during which our team can log in and troubleshoot issues with you."),action:o().createElement(Hh,null,o().createElement(wl,{id:"dashboard-support-access-expired-reactivate-button",type:"primary",colorScheme:"black",href:a,target:"_blank",_style:{mr:"0"}},(0,zn.__)("Reactivate Membership")),o().createElement(wl,{id:"dashboard-support-access-expired-security-button",type:"secondary",icon:"LockAlt",colorScheme:"black",onClick:l,_style:{ml:"0"}},(0,zn.__)("Security Info")))},ungranted:{desc:(0,zn.__)("If you require assistance, please grant support access to our WPMU DEV Support Staff. This is a secure process and can be active for a period of your choosing, during which our team can log in and troubleshoot issues with you."),action:o().createElement(Hh,null,o().createElement(wl,{id:"dashboard-support-access-grant-button",type:"primary",colorScheme:"blue",isLoading:f,isDisabled:f,onClick:function(){d.mutate({})},_style:{mr:"0"}},(0,zn.__)("Grant support access")),o().createElement(wl,{id:"dashboard-support-access-ungranted-security-button",type:"secondary",icon:"LockAlt",colorScheme:"black",onClick:l,_style:{ml:"0"}},(0,zn.__)("Security Info")))},downgraded:{desc:(0,zn.__)("If you require assistance, please grant support access to our WPMU DEV Support Staff. This is a secure process and can be active for a period of your choosing, during which our team can log in and troubleshoot issues with you."),action:o().createElement(Hh,null,o().createElement(wl,{id:"dashboard-support-access-downgraded-upgrade-button",type:"primary",colorScheme:"black",href:a,target:"_blank",_style:{mr:"0"}},(0,zn.__)("Upgrade Membership")),o().createElement(wl,{id:"dashboard-support-access-downgraded-security-button",type:"secondary",icon:"LockAlt",colorScheme:"black",onClick:l,_style:{ml:"0"}},(0,zn.__)("Security Info")))}},S=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:zw;return o().createElement(Mh,{mediaUrl:n},o().createElement(mh,{id:"dashboard-support-access-splash",direction:"column",spacing:24},o().createElement(mh,{id:"dashboard-support-access-splash-title",as:"h1",spacing:12},o().createElement("span",{id:"dashboard-support-access-splash-title-text"},(0,zn.__)("Support Access"))),o().createElement(nh,{id:"dashboard-support-access-splash-description",color:"grey-base-50"},e),o().createElement("div",{id:"dashboard-support-access-splash-action"},t)))},k=cd||ud||x,O=function(e){var t=e.children;return o().createElement(wl,{id:"dashboard-support-access-learn-more-button",type:"tertiary",colorScheme:"blue",onClick:l,_style:{mt:"-4px"},isSmall:!0},o().createElement(Uh,{id:"dashboard-support-access-learn-more-link"},t))},M=(0,r.useMemo)(function(){return[o().createElement(nh,{id:"dashboard-support-access-footer-text",align:"center",key:0},(0,uu.createInterpolateElement)((0,zn.__)("Want to know more about the security of support access? <a>Learn more</a>"),{a:o().createElement(O,null)}))]},[]);return o().createElement(r.Fragment,null,o().createElement(ox,{ref:s,close:function(){var e;null==s||null===(e=s.current)||void 0===e||e.closeModal()}}),k&&(cd?S(E.expired.desc,E.expired.action):ud?S(E.downgraded.desc,E.downgraded.action):x?S(E.ungranted.desc,E.ungranted.action,Gw):null),!k&&o().createElement(U_,{id:"dashboard-support-access-box",hasLargeRadius:!0,title:o().createElement(r.Fragment,null,o().createElement(mh,{id:"dashboard-support-access-title-stack",alignItems:"center",spacing:8,direction:"row"},(0,zn.__)("Support Access"),!x&&o().createElement(Av,{id:"dashboard-support-access-active-tag",colorScheme:"green"},(0,zn.__)("Active")))),description:o().createElement(r.Fragment,null,o().createElement(mh,{id:"dashboard-support-access-description-stack",spacing:16,alignItems:"flex-start"},(0,zn.__)("Need help? Grant support access so our WPMU DEV Support Staff are able to log in and help troubleshoot issues with you. This is completely secure and only active for a time period of your choice."),o().createElement(Al,{id:"dashboard-support-access-session-notification",isFluid:!0,variation:"info",icon:"LockAlt",title:(0,zn.__)("Support session is Active"),message:(0,zn.sprintf)("You have an active support session. If you haven't already, please let support staff know you have granted access. It will remain active for another %s",Yw(w)),action:o().createElement(mh,{id:"dashboard-support-access-action-stack",direction:"row"},o().createElement(wl,{id:"dashboard-support-access-end-session-button",colorScheme:"red",type:"secondary",isSmall:!0,isDisabled:m,isLoading:m,onClick:function(){p.mutate({})}},(0,zn.__)("End Support session")),o().createElement(Ev,{id:"dashboard-support-access-extend-tooltip",label:(0,zn.__)("Extend this session"),customWidth:240,onClick:function(){h.mutate({extend:!0})},buttonProps:{colorScheme:"blue",type:"secondary",isSmall:!0,isLoading:f,isDisabled:f}},(0,zn.__)("Add another 3 days of support access")))}),o().createElement(jy,{id:"dashboard-support-access-notes-field",label:(0,zn.__)("If you think it would help, leave our support heroes a quick message to let them know the details of your issue."),_style:{width:"100%",margin:"0"}},o().createElement(Kw,{id:"dashboard-support-access-notes-textarea",placeholder:(0,zn.__)("E.g. The issue occurs on Chrome when on smaller screens..."),value:t,onChange:function(e){return n(e.target.value)}})),o().createElement(wl,{id:"dashboard-support-access-save-note-button",colorScheme:"blue",type:"secondary",isDisabled:b,isLoading:b,onClick:function(){g.mutate({notes:t})},_style:{marginLeft:"0"}},(0,zn.__)("Save Note")))),headerActions:o().createElement(wl,{id:"dashboard-support-access-security-info-button",colorScheme:"black",type:"secondary",icon:"LockAlt",isSmall:!0,onClick:l},(0,zn.__)("Security Info")),footerActions:M,centerFooterActions:!0,isFluid:!0},o().createElement(Ry,{id:"dashboard-support-access-sessions-table",hasToolbar:!1,noBorderRadius:!0,_style:{border:"0"}},o().createElement($y,{id:"dashboard-support-access-table-head",hasActions:!1},o().createElement(Vy,{id:"dashboard-support-access-table-head-row",_style:{background:"#f8f8f8",fontSize:"16px"}},o().createElement(Hy,{id:"dashboard-support-access-table-head-recent-sessions",isHeading:!0},(0,zn.__)("Recent Sessions")),y&&o().createElement(Hy,{id:"dashboard-support-access-table-head-last-seen",isHeading:!0},(0,zn.__)("Last seen:")))),o().createElement(Fy,{id:"dashboard-support-access-sessions-table-body"},y&&(null==_?void 0:_.map(function(e,t){return o().createElement(Vy,{key:"".concat(e.name,"-").concat(e.time)||t,id:"dashboard-support-access-session-row-".concat(e.name)},o().createElement(Hy,{id:"dashboard-support-access-session-cell-".concat(e.name),_style:{width:"100%"}},o().createElement(mh,{id:"dashboard-support-access-session-stack-".concat(e.name),direction:"row",alignItems:"center",spacing:8},o().createElement(tx,{id:"dashboard-support-access-session-avatar-".concat(e.name),image:{src:e.image,alt:(0,zn.__)("avatar")}}),o().createElement(mh,{id:"dashboard-support-access-session-info-stack-".concat(e.name),direction:"row",alignItems:"center",spacing:4},o().createElement(nh,{id:"dashboard-support-access-session-name-".concat(e.name),weight:"bold"},e.name),o().createElement(Av,{id:"dashboard-support-access-session-tag-".concat(e.name),design:"outlined",colorScheme:"black",isSmall:!0},(0,zn.__)("Staff"))))),o().createElement(Hy,{id:"dashboard-support-access-session-time-cell-".concat(e.name)},yu(e.time,"@")))})))),o().createElement(nC,ax({id:"dashboard-support-access-no-sessions-block"},y&&{_style:{padding:"0"}}),!y&&o().createElement(Al,{id:"dashboard-support-access-no-sessions-notification",message:(0,zn.__)("No support staff logged in during your last access period."),variation:"info",icon:"InfoAlt",isFluid:!0}))))};function cx(e){return cx="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},cx(e)}function ux(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function dx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ux(Object(n),!0).forEach(function(t){hx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ux(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hx(e,t,n){return(t=function(e){var t=function(e){if("object"!=cx(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=cx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cx(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var fx={php:"PHP",mysql:"MYSQL",wp:"WordPress",server:"Server",http:"HTTP Requests"},px=function(){var e,t="data/system-info",n=yd(t),i=n.data,o=n.isLoading,a=n.refetch,s=n.isRefetching,l=null!==(e=null==i?void 0:i.data)&&void 0!==e?e:{},c=dx(dx({},l),{},{php:dx(dx({},null==l?void 0:l.php),od.php)}),u=o||s,d=(0,r.useCallback)(function(){return Object.keys(fx)},[i]),h=(0,r.useCallback)(function(e){return(null==c?void 0:c[e])||{}},[i]);return{slug:t,refetch:a,isLoading:u,systemInfo:c,getCategories:d,categoriesMap:fx,getCatData:h,getSysField:function(e,t){var n;return null==c||null===(n=c[e])||void 0===n?void 0:n[t]}}};function mx(e){return mx="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},mx(e)}var gx=function(){var e,t,n=px(),i=n.getCategories,r=n.getCatData,a=n.categoriesMap,s=n.getSysField;return o().createElement(Oh,{id:"dashboard-system-info-box",hasLargeRadius:!0,title:(0,zn.__)("System Information"),description:(0,zn.__)("Use this detailed overview of your system stack to debug issues with your WordPress installation.")},o().createElement(kh,{id:"dashboard-system-info-box-group",isInline:!1,_style:{mt:"-22px"}},o().createElement(mh,{id:"dashboard-system-info-content",spacing:24},o().createElement("div",{id:"dashboard-system-info-versions-row",className:"dash-sui-plugin-support__versions-row"},o().createElement(Hw,{label:(0,zn.__)("WordPress Version"),version:s("wp","WordPress Version")}),o().createElement(Hw,{icon:"Logo",label:(0,zn.__)("WPMU DEV Dashboard"),version:td})),o().createElement(_C,{id:"dashboard-system-info-tabs"},o().createElement(CC,{id:"dashboard-system-info-tab-nav",isNarrow:!0},null===(e=i())||void 0===e?void 0:e.map(function(e){return o().createElement(wC,{id:"dashboard-system-info-tab-".concat(e),key:e},a[e])})),o().createElement(xC,{id:"dashboard-system-info-tab-panel"},null===(t=i())||void 0===t?void 0:t.map(function(e){var t,n=r(e);return o().createElement(EC,{id:"dashboard-system-info-panel-".concat(e),key:e},o().createElement(Ry,{id:"dashboard-system-info-table-".concat(e),hasToolbar:!1,noBorderRadius:!0,isStripped:!0,noSideBorder:!0,_style:{borderTop:"0",borderBottom:"0"}},o().createElement(Fy,{id:"dashboard-system-info-table-body-".concat(e)},null===(t=Object.keys(n))||void 0===t?void 0:t.map(function(t){return o().createElement(Vy,{id:"dashboard-system-info-row-".concat(e,"-").concat(t),key:"".concat(e,"-").concat(t)},o().createElement(Hy,{id:"dashboard-system-info-cell-key-".concat(e,"-").concat(t)},t),o().createElement(Hy,{id:"dashboard-system-info-cell-value-".concat(e,"-").concat(t),_style:{maxWidth:"475px",wordWrap:"break-word",overflowWrap:"break-word",whiteSpace:"normal"}},function(e,t,n){var i,r=function(e){return Fc.sanitize(e,{ALLOWED_TAGS:["b","i","strong","em"]})},a="dashboard-system-info-value-".concat(t,"-").concat(n).replace(/\s+/g,"-").replace(/_/g,"-").replace(/\./g,"-").toLowerCase();return e&&"object"===mx(e)?null===(i=Object.values)||void 0===i||null===(i=i.call(Object,e))||void 0===i?void 0:i.map(function(e,t){return o().createElement(nh,{id:"".concat(a,"-").concat(t),key:t,dangerouslySetInnerHTML:{__html:r(e)}})}):o().createElement(nh,{id:a,dangerouslySetInnerHTML:{__html:r(String(e))}})}(null==n?void 0:n[t],e,t)))}))))}))))))};function bx(e){return bx="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},bx(e)}function vx(){return vx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},vx.apply(null,arguments)}function yx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function _x(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yx(Object(n),!0).forEach(function(t){Cx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yx(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Cx(e,t,n){return(t=function(e){var t=function(e){if("object"!=bx(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bx(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bx(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function wx(e){return function(e){if(Array.isArray(e))return Ex(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||xx(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 xx(e,t){if(e){if("string"==typeof e)return Ex(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Ex(e,t):void 0}}function Ex(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Sx=function(e){var t=e.showSysInfoOnly,n=void 0!==t&&t,i=e.showLoginBtn,a=void 0!==i&&i,s=J(),l=n?"system-information":"my-tickets",c=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||xx(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,r.useState)(l),2),u=c[0],d=c[1],h=[].concat(wx(n?[]:[{id:"my-tickets",title:(0,zn.__)("My Tickets")}]),wx(n||md?[]:[{id:"support-access",title:(0,zn.__)("Support Access")}]),[{id:"system-information",title:(0,zn.__)("System Information")}]),f=px().isLoading,p=qv().isLoading,m=Vh().isLoading,g=Qv(),b=g.isLoading,v=g.ticketsNumber,y=g.hasTickets;Qw();var _=X(),C=(null!=$u?$u:{}).dashboard_url;(0,r.useEffect)(function(){var e=(null!=s?s:{id:l}).id;d(null!=e?e:l)},[]);var w=_x(_x(_x({},!n&&{"my-tickets":o().createElement(qw,null)}),!n&&!md&&{"support-access":o().createElement(lx,null)}),{},{"system-information":o().createElement(gx,null)}),x=function(e){return!dd||"my-tickets"!==e&&"support-access"!==e?y&&"my-tickets"===e?o().createElement(Av,{id:"dashboard-support-tag-tickets",design:"outlined",isSmall:!0,colorScheme:"black"},v):null:o().createElement(Av,{id:"dashboard-support-tag-pro-".concat(e),design:"outlined",isSmall:!0,isUppercase:!0,colorScheme:"black"},(0,zn.__)("PRO"))};return f||p||m||b?o().createElement(bl,{id:"dashboard-support-loading-spinner",isContained:!0}):o().createElement(r.Fragment,null,o().createElement(Kd,{id:"dashboard-support-header-container",isFullWidth:!0},o().createElement(z_,vx({id:"dashboard-support-page-header",title:(0,zn.__)("Support")},a&&{actions:[o().createElement(wl,{id:"dashboard-support-login-button",type:"primary",colorScheme:"blue",href:C},(0,zn.__)("Login"))]}))),o().createElement(kh,{id:"dashboard-support-page"},o().createElement(Gd,{id:"dashboard-support-row",align:{md:"inline"}},o().createElement(Qd,{id:"dashboard-support-sidebar-col",size:{xl:2,md:3}},o().createElement(VC,{id:"dashboard-support-sidebar"},null==h?void 0:h.map(function(e){var t=e.title,i=e.id;return o().createElement(BC,vx({id:"dashboard-support-sidebar-item-".concat(i),key:i,title:t,isActive:i===u,action:x(i)},!n&&{onClick:function(){d(i),_("/".concat(i))}}))})),o().createElement($C,{id:"dashboard-support-sidebar-dropdown",selectedItemName:u},null==h?void 0:h.map(function(e){var t=e.title,n=e.id;return o().createElement(BC,{id:"dashboard-support-dropdown-item-".concat(n),key:n,title:t,onClick:function(){d(n),_("/".concat(n))}})}))),o().createElement(Qd,{id:"dashboard-support-content-col",size:{xl:10,md:9}},w[u],o().createElement(Gh,{id:"dashboard-support-check-for-updates",justify:"center"})))))},kx=n.p+"images/white-label-spalsh.svg",Ox=(0,r.createContext)(null),Mx=({name:e="segmented-control",defaultValue:t="",onChange:n=()=>{},children:i,isFullWidth:o=!1,ariaAttrs:a={},_htmlProps:s,_style:l={}})=>{let{containerRef:c,isScrollableLeft:u,isScrollableRight:d,scroll:h}=Gn({scrollOffset:50}),[f,p]=(0,r.useState)("");i=_r(i);let{suiInlineClassname:m}=br(l);(0,r.useEffect)(()=>{p(t)},[t]);let g=kr("sui-segmented-control",{"full-width":o},m);return(0,Fr.jsx)(Ox.Provider,{value:{name:e,onClick:e=>{p(e),n&&n(e)},value:f},children:(0,Fr.jsxs)("div",{className:"sui-segmented-control__container",children:[u&&(0,Fr.jsx)("button",{className:"sui-tab__arrow sui-tab__arrow--left",onClick:()=>h("left"),children:(0,Fr.jsx)(es,{size:"sm"})}),(0,Fr.jsx)("div",{ref:c,role:"radiogroup",className:g,"data-testid":"segmented-control",...a,...Rr(s),children:i}),d&&(0,Fr.jsx)("button",{className:"sui-tab__arrow sui-tab__arrow--right",onClick:()=>h("right"),children:(0,Fr.jsx)(ts,{size:"sm"})})]})})},Ax=({id:e,value:t,icon:n,children:i,ariaLabel:o,isDisabled:a,isResponsive:s=!1,_htmlProps:l,_style:c={}})=>{let u=(0,r.useId)(),d=e||`sui-radio-${u}`;t||(t=`example-value-${u}`),!i&&!n&&(i="example option");let{onClick:h,name:f,value:p}=(e=>{let t=(0,r.useContext)(Ox),n=(0,r.useCallback)(()=>{t?.onClick(e)},[t,e]);return{...t,onClick:n}})(t),[m,g,b]=wr({}),{suiInlineClassname:v}=br(c),y=kr("sui-segmented-control__button",{},v),_=t===p,C=null;return n&&(C=ml[n]),(0,Fr.jsxs)("span",{className:y,...Rr(l),children:[(0,Fr.jsx)("input",{type:"radio",id:d,className:"sui-segmented-control__input",name:f,checked:_,value:t,disabled:a,onChange:h,"aria-label":o||"radio input","aria-checked":_,"aria-hidden":!0}),(0,Fr.jsxs)("label",{className:kr("sui-segmented-control__label",{focus:g,active:_,hover:m,disabled:a}),tabIndex:a?-1:0,htmlFor:d,"data-testid":"segmented-control-label",onKeyDown:e=>Dr(e,h),...b,children:[!!C&&(0,Fr.jsx)(C,{size:"sm"}),!!i&&(0,Fr.jsx)("span",{...s&&{className:"sui-md-hide"},children:i}),!Ir(o??"")&&(0,Fr.jsx)("span",{className:"screen-reader-text",children:o})]})]})},Px=function(e){var t=e.children;return o().createElement("div",{className:"dash-sui-plugin-settings-container"},t)};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},jx(e)}function Ix(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Tx(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ix(Object(n),!0).forEach(function(t){Dx(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ix(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Dx(e,t,n){return(t=function(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+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Lx=function(e){var t,n=e.imgUrl,i={};return n&&(t=n,new RegExp("[(http(s)?):\\/\\/(www\\.)?a-zA-Z0-9-@:%._\\+~#=]{2,256}\\.[a-z]{2,20}\\b([-a-zA-Z0-9@:%_\\+.~#?&//=]*)").test(t))&&(i=Tx(Tx({},i),{},{backgroundImage:"url(".concat(n,")"),backgroundSize:"100% 100%",backgroundRepeat:"no-repeat"})),o().createElement("div",{className:"dashboard-sui-plugin-image-preview",style:i})};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},Nx(e)}function Rx(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function Fx(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){zx(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 zx(e,t,n){return(t=function(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+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Hx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Ux=(0,r.createContext)(void 0),Vx=function(e){var t=e.children,n=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Hx(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Hx(e,t):void 0}}(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,r.useState)({}),2),i=n[0],a=n[1],s=Wv().isLoading,l=(0,zn.__)("White label configuration has been saved."),c=Vh({saveSuccessMsg:l}),u=c.getField,d=c.isLoading,h=c.save,f=c.isSaving,p=u("whitelabel"),m=s||d;return(0,r.useEffect)(function(){a(p||{})},[p]),o().createElement(Ux.Provider,{value:{whitelabel:i,isLoading:m,isSaving:f,updateWhitelabel:function(e,t){a(function(n){return Fx(Fx({},n),{},zx({},e,t))})},getWhitelabelField:function(e){return null==i?void 0:i[e]},saveSuccessMsg:l,save:h}},t)},$x=function(){var e=(0,r.useContext)(Ux);if(!e)throw new Error("useWhitelabel must be used within a WhitelabelProvider");return e},Bx=function(e){e.value;var t=$x(),n=t.updateWhitelabel,i=t.getWhitelabelField,r=i("footer_enabled"),a=i("footer_text");return o().createElement(mh,{id:"dashboard-whitelabel-footer-text",spacing:8},o().createElement(Mx,{name:"controls",defaultValue:!0===r?"custom":"default",onChange:function(e){return n("footer_enabled","custom"===e)}},o().createElement(Ax,{value:"default"},(0,zn.__)("Default")),o().createElement(Ax,{value:"custom"},(0,zn.__)("Custom"))),r&&o().createElement(Px,null,o().createElement(jy,{label:(0,zn.__)("Footer text"),helper:(0,zn.__)("Leave the field empty to hide the footer completely.")},o().createElement(hy,{defaultValue:a,onChange:function(e){var t;return n("footer_text",null==e||null===(t=e.target)||void 0===t?void 0:t.value)}}))))},Wx=[{title:(0,zn.__)("Admin Menu"),icons:["menu","admin-site","dashboard","admin-post","admin-media","admin-links","admin-page","admin-comments","admin-appearance","admin-plugins","admin-users","admin-tools","admin-settings","admin-network","admin-home","admin-generic","admin-collapse","filter","admin-customizer","admin-multisite"]},{title:(0,zn.__)("Welcome Screen"),icons:["welcome-write-blog","welcome-edit-page","welcome-add-page","welcome-view-site","welcome-widgets-menus","welcome-comments","welcome-learn-more"]},{title:(0,zn.__)("Post Formats"),icons:["format-standard","format-aside","format-image","format-gallery","format-video","format-status","format-quote","format-links","format-chat","format-audio","camera","images-alt","images-alt2","video-alt","video-alt2","video-alt3"]},{title:(0,zn.__)("Media"),icons:["media-archive","media-audio","media-code","media-default","media-document","media-interactive","media-spreadsheet","media-text","media-video","playlist-audio","playlist-video","controls-play","controls-pause","controls-forward","controls-skipforward","controls-back","controls-skipback","controls-repeat","controls-volumeon","controls-volumeoff"]},{title:(0,zn.__)("Image Editing"),icons:["image-crop","image-rotate","image-rotate-left","image-rotate-right","image-flip-vertical","image-flip-horizontal","image-filter","undo","redo"]},{title:(0,zn.__)("TinyMCE"),icons:["editor-bold","editor-italic","editor-ul","editor-ol","editor-quote","editor-alignleft","editor-aligncenter","editor-alignright","editor-insertmore","editor-spellcheck","editor-distractionfree","editor-expand","editor-contract","editor-kitchensink","editor-underline","editor-justify","editor-textcolor","editor-paste-word","editor-paste-text","editor-removeformatting","editor-video","editor-customchar","editor-outdent","editor-indent","editor-help","editor-strikethrough","editor-unlink","editor-rtl","editor-break","editor-code","editor-paragraph","editor-table"]},{title:(0,zn.__)("Posts Screen"),icons:["align-left","align-right","align-center","align-none","lock","unlock","calendar","calendar-alt","visibility","hidden","post-status","edit","trash","sticky"]},{title:(0,zn.__)("Sorting"),icons:["external","arrow-up","arrow-down","arrow-right","arrow-left","arrow-up-alt","arrow-down-alt","arrow-right-alt","arrow-left-alt","arrow-up-alt2","arrow-down-alt2","arrow-right-alt2","arrow-left-alt2","sort","leftright","randomize","list-view","exerpt-view","grid-view","move"]},{title:(0,zn.__)("Social"),icons:["share","share-alt","share-alt2","twitter","rss","email","email-alt","facebook","facebook-alt","googleplus","networking"]},{title:(0,zn.__)("WordPress.org Specific: Jobs, Profiles, WordCamps","wpmudev"),icons:["hammer","art","migrate","performance","universal-access","universal-access-alt","tickets","nametag","clipboard","heart","megaphone","schedule"]},{title:(0,zn.__)("Products"),icons:["wordpress","wordpress-alt","pressthis","update","screenoptions","info","cart","feedback","cloud","translation"]},{title:(0,zn.__)("Taxonomies"),icons:["tag","category"]},{title:(0,zn.__)("Widgets"),icons:["archive","tagcloud","text"]},{title:(0,zn.__)("Notifications"),icons:["yes","no","no-alt","plus","plus-alt","minus","dismiss","marker","star-filled","star-half","star-empty","flag","warning"]},{title:(0,zn.__)("Misc"),icons:["location","location-alt","vault","shield","shield-alt","sos","search","slides","analytics","chart-pie","chart-bar","chart-line","chart-area","groups","businessman","id","id-alt","products","awards","forms","testimonial","portfolio","book","book-alt","download","upload","backup","clock","lightbulb","microphone","desktop","laptop","tablet","smartphone","phone","index-card","carrot","building","store","album","palmtree","tickets-alt","money","smiley","thumbs-up","thumbs-down","layout","paperclip"]}];function Zx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var qx=function(e){var t=e.icon,n=e.isSelected,i=e.onChange,r=bu("dashboard-sui-plugin-dashicons__icon",{selected:n});return o().createElement("div",{className:r,onClick:function(){return i(t)}},o().createElement("span",{"data-icon":"admin-site",className:"wpmudev-dashicons dashicons dashicons-".concat(t)}))},Gx=function(e){var t=e.groupTitle,n=e.icons,i=void 0===n?[]:n,r=e.selected,a=e.onChange;return o().createElement("div",{className:"dashboard-sui-plugin-dashicons__group"},o().createElement(mh,{spacing:15},o().createElement(nh,{id:"dashboard-whitelabel-dashicons-group",weight:"bold"},t),o().createElement("div",{className:"dashboard-sui-plugin-dashicons__icons"},null==i?void 0:i.map(function(e,t){return o().createElement(qx,{key:e,icon:e,isSelected:e===r,onChange:a})}))))},Qx=function(e){var t=e.selected,n=e.onChange,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Zx(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Zx(e,t):void 0}}(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,r.useState)(""),2),a=i[0],s=i[1],l=function(e,t){var n=e.toLowerCase();return t.map(function(e){var t=e.icons.filter(function(e){return e.toLowerCase().includes(n)});return t.length>0?{title:e.title,icons:t}:null}).filter(function(e){return null!==e})}(a,Wx);return o().createElement("div",{className:"dashboard-sui-plugin-dashicons"},o().createElement(jy,{_style:{width:"100%",marginBottom:"0"}},o().createElement(hy,{icon:"Search",iconPosition:"start",placeholder:(0,zn.__)("Search icons"),defaultValue:a,onChange:function(e){return s(e.target.value)}})),null==l?void 0:l.map(function(e,i){return o().createElement(Gx,{key:(null==e?void 0:e.title)||i,groupTitle:null==e?void 0:e.title,icons:null==e?void 0:e.icons,selected:t,onChange:n})}))};function Yx(){return Yx=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},Yx.apply(null,arguments)}function Kx(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var Xx=function(e){var t=e.link,n=e.onChange,i=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Kx(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?Kx(e,t):void 0}}(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.")}()}(yr([{required:!0,message:(0,zn.__)("This field is required")},{url:!0,message:(0,zn.__)("Invalid image URL. Please, enter a valid one.")}]),2),r=i[0],a=i[1];return o().createElement(Px,null,o().createElement(jy,{label:(0,zn.__)("Insert icon from URL"),helper:(0,zn.__)("Insert an icon to override the default menu item icon. The recommended size is 20x20px."),error:r.error,_style:{width:"100%"}},o().createElement(mh,{id:"dashboard-whitelabel-link-icon",direction:"row",spacing:8,alignItems:"center"},o().createElement(Lx,{imgUrl:t,hasError:r.isError||!1}),o().createElement(hy,Yx({placeholder:(0,zn.__)("Paste Image URL here"),defaultValue:t,isError:r.isError,onChange:function(e){return n(e.target.value)}},a)))))},Jx=function(e){var t=e.thumbId,n=e.onChange;return o().createElement(Px,null,o().createElement(jy,{id:"uploader",label:(0,zn.__)("Upload Icon"),helper:(0,zn.__)("Upload an icon to override the default menu item icon. The recommended size is 20x20."),isSmall:!0},o().createElement(Fh,{thumbId:t,setId:n,frameTitle:(0,zn.__)("Select or Upload Media for Icon"),frameBtnLabel:(0,zn.__)("Use this icon")})))};function eE(){/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */var e,t,n="function"==typeof Symbol?Symbol:{},i=n.iterator||"@@iterator",r=n.toStringTag||"@@toStringTag";function o(n,i,r,o){var l=i&&i.prototype instanceof s?i:s,c=Object.create(l.prototype);return tE(c,"_invoke",function(n,i,r){var o,s,l,c=0,u=r||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return o=t,s=0,l=e,h.n=n,a}};function f(n,i){for(s=n,l=i,t=0;!d&&c&&!r&&t<u.length;t++){var r,o=u[t],f=h.p,p=o[2];n>3?(r=p===i)&&(l=o[(s=o[4])?5:(s=3,3)],o[4]=o[5]=e):o[0]<=f&&((r=n<2&&f<o[1])?(s=0,h.v=i,h.n=o[1]):f<p&&(r=n<3||o[0]>i||i>p)&&(o[4]=n,o[5]=i,h.n=p,s=0))}if(r||n>1)return a;throw d=!0,i}return function(r,u,p){if(c>1)throw TypeError("Generator is already running");for(d&&1===u&&f(u,p),s=u,l=p;(t=s<2?e:l)||!d;){o||(s?s<3?(s>1&&(h.n=-1),f(s,l)):h.n=l:h.v=l);try{if(c=2,o){if(s||(r="next"),t=o[r]){if(!(t=t.call(o,l)))throw TypeError("iterator result is not an object");if(!t.done)return t;l=t.value,s<2&&(s=0)}else 1===s&&(t=o.return)&&t.call(o),s<2&&(l=TypeError("The iterator does not provide a '"+r+"' method"),s=1);o=e}else if((t=(d=h.n<0)?l:n.call(i,h))!==a)break}catch(t){o=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,r,o),!0),c}var a={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][i]?t(t([][i]())):(tE(t={},i,function(){return this}),t),d=c.prototype=s.prototype=Object.create(u);function h(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,c):(e.__proto__=c,tE(e,r,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,tE(d,"constructor",c),tE(c,"constructor",l),l.displayName="GeneratorFunction",tE(c,r,"GeneratorFunction"),tE(d),tE(d,r,"Generator"),tE(d,i,function(){return this}),tE(d,"toString",function(){return"[object Generator]"}),(eE=function(){return{w:o,m:h}})()}function tE(e,t,n,i){var r=Object.defineProperty;try{r({},"",{})}catch(e){r=0}tE=function(e,t,n,i){function o(t,n){tE(e,t,function(e){return this._invoke(t,n,e)})}t?r?r(e,t,{value:n,enumerable:!i,configurable:!i,writable:!i}):e[t]=n:(o("next",0),o("throw",1),o("return",2))},tE(e,t,n,i)}function nE(e,t,n,i,r,o,a){try{var s=e[o](a),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(i,r)}function iE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return rE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?rE(e,t):void 0}}(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 rE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var oE=function(){var e,t=$x(),n=t.getWhitelabelField,i=t.updateWhitelabel,a=iE((0,r.useState)([]),2),s=a[0],l=a[1],c=iE((0,r.useState)([]),2),u=c[0],d=c[1],h=n("labels_subsites"),f=function(e){var t=e.ids,n={ids:(void 0===t?[]:t).join(",")},i=yd("data/sites/details",n),r=i.data,o=i.isLoading,a=i.refetch;return{sites:(null==r?void 0:r.data)||[],isLoading:o,refetch:a}}({ids:u}),p=f.sites,m=f.isLoading;return(0,r.useEffect)(function(){(null==h?void 0:h.length)>0&&0===(null==u?void 0:u.length)&&d(h)},[h]),(0,r.useEffect)(function(){if(p&&p.length>0){var e=p.map(function(e){return{id:Number(e.id),label:e.text}})||[];l(e)}},[u,p]),o().createElement(jy,{label:(0,zn.__)("Select Subsites")},m&&o().createElement(wv,{size:{width:"100%",height:"40px"}}),!m&&o().createElement(Oy,{selected:s,label:(0,zn.__)("Select or search subsites here"),isMultiSelect:!0,_dropdownProps:{isAsync:!0,searchPlaceholder:(0,zn.__)("Select or search subsites here"),allowSearch:!0,getOptions:(e=function(e){return function(){var t=this,n=arguments;return new Promise(function(i,r){var o=e.apply(t,n);function a(e){nE(o,i,r,a,s,"next",e)}function s(e){nE(o,i,r,a,s,"throw",e)}a(void 0)})}}(eE().m(function e(t,n){var i,r,o,a,s,l;return eE().w(function(e){for(;;)switch(e.n){case 0:return r=n.page,e.n=1,bd().get("data/sites/?search=".concat(t||"","&page=").concat(r||1));case 1:return o=e.v,a=null==o?void 0:o.data,s=null==o?void 0:o.headers,l=[],null==a||null===(i=a.data)||void 0===i||i.forEach(function(e){l.push({id:null==e?void 0:e.id,label:null==e?void 0:e.text})}),e.a(2,{items:l,hasMore:r<((null==s?void 0:s["x-wp-totalpages"])||1)})}},e)})),function(t,n){return e.apply(this,arguments)})},onChange:function(e,t){l(t);var n=null==t?void 0:t.map(function(e){return e.id});i("labels_subsites",n)},_style:{zIndex:"2"}}))};function aE(e){return aE="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},aE(e)}function sE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function lE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?sE(Object(n),!0).forEach(function(t){cE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):sE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function cE(e,t,n){return(t=function(e){var t=function(e){if("object"!=aE(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=aE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aE(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var uE=function(e){e.subsites;var t=$x(),n=t.updateWhitelabel,i=t.getWhitelabelField,a=Wv({filterAddons:!1}).getInstalledPlugins,s=$u.plugins_url,l=a()||[],c=i("labels_config"),u=i("labels_networkwide"),d=l.length>0,h=i("labels_enabled"),f=function(e,t){var n,i=e[Vc];return null==c||null===(n=c[i])||void 0===n?void 0:n[t]},p=function(e,t,i){var r=e[Vc];n("labels_config",lE(lE({},c),{},cE({},r,lE(lE({},null==c?void 0:c[r]),{},cE({},t,i)))))},m=o().createElement(mh,{id:"dashboard-whitelabel-plugin-config",spacing:8},pd&&!u&&o().createElement(oE,null),o().createElement(mh,{id:"dashboard-whitelabel-plugin-config-inner",spacing:16},pd&&o().createElement(mh,{id:"dashboard-whitelabel-plugin-config-network",spacing:8},o().createElement(nh,{id:"dashboard-whitelabel-plugin-config-title",weight:"bold"},(0,zn.__)("Configure the Plugin")),o().createElement(nh,{id:"dashboard-whitelabel-plugin-config-description"},(0,zn.__)("Configure the Admin menu label for WPMU DEV Plugins"))),o().createElement(Mx,{name:"controls",defaultValue:h?"custom":"default",onChange:function(e){return n("labels_enabled","custom"===e)}},o().createElement(Ax,{value:"default"},(0,zn.__)("Default")),o().createElement(Ax,{value:"custom"},(0,zn.__)("Custom"))),!d&&h&&o().createElement(Al,{variation:"info",message:(0,uu.createInterpolateElement)((0,zn.__)("You have no active WPMU DEV plugins. Use the <a>Plugins tab</a> to install and activate plugins, and then customize the plugin labels here."),{a:o().createElement(Uh,{href:s})}),_style:{width:"100%"}})),h&&d&&o().createElement(_C,null,o().createElement(CC,{isNarrow:!0},null==l?void 0:l.map(function(e){return o().createElement(wC,{key:e[Vc]},e[Uc])})),o().createElement(xC,null,null==l?void 0:l.map(function(e){var t=f(e,"icon_type");return o().createElement(EC,{key:e[Vc]},o().createElement(kh,null,o().createElement(jy,{label:(0,zn.__)("Plugin Label"),_style:{width:"100%"}},o().createElement(hy,{placeholder:e[Uc],defaultValue:f(e,"name"),onChange:function(t){return p(e,"name",t.target.value)}})),o().createElement(mh,{spacing:8,isFluid:!0},o().createElement(nh,{weight:"bold"},(0,zn.__)("Icons")),o().createElement(Mx,{name:"controls",defaultValue:t||"default",onChange:function(t){return p(e,"icon_type",t)}},o().createElement(Ax,{value:"default"},(0,zn.__)("Default")),o().createElement(Ax,{value:"dashicon"},(0,zn.__)("Dashicons")),o().createElement(Ax,{value:"upload"},(0,zn.__)("Upload Icon")),o().createElement(Ax,{value:"link"},(0,zn.__)("Link Icon")),o().createElement(Ax,{value:"none"},(0,zn.__)("None"))),"dashicon"===t&&o().createElement(Qx,{selected:f(e,"icon_class"),onChange:function(t){return p(e,"icon_class",t)}}),"upload"===t&&o().createElement(Jx,{thumbId:f(e,"thumb_id"),onChange:function(t){return p(e,"thumb_id",t)}}),"link"===t&&o().createElement(Xx,{link:f(e,"icon_url"),onChange:function(t){return p(e,"icon_url",t)}}))))}))));return o().createElement(r.Fragment,null,pd?o().createElement(Px,null,m):m)},dE=function(){var e=$x(),t=e.updateWhitelabel,n=(0,e.getWhitelabelField)("labels_networkwide");return o().createElement(mh,{id:"dashboard-whitelabel-subsites",spacing:8},o().createElement(nh,{id:"dashboard-whitelabel-subsites-title",weight:"bold"},(0,zn.__)("Apply Configurations on")),o().createElement(nh,{id:"dashboard-whitelabel-subsites-description"},(0,zn.__)("Choose which subsites on your network you want to inherit the configurations made below. The configurations will only be applied to sites that have the plugins active.")),o().createElement(Mx,{name:"controls",defaultValue:!1===n?"selected":"all",onChange:function(e){return t("labels_networkwide","selected"!==e)}},o().createElement(Ax,{value:"all"},(0,zn.__)("All Subsites")),o().createElement(Ax,{value:"selected"},(0,zn.__)("Selected subsite"))))};function hE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var fE=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return hE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?hE(e,t):void 0}}(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,r.useState)("selected"),2),t=e[0];return e[1],o().createElement(mh,{id:"dashboard-whitelabel-plugin-labels",spacing:8},pd&&o().createElement(dE,null),o().createElement(uE,{subsites:t}))},pE=function(){var e=$x(),t=e.updateWhitelabel,n=(0,e.getWhitelabelField)("doc_links_enabled");return o().createElement(Mx,{name:"controls",defaultValue:n?"hide":"show",onChange:function(e){return t("doc_links_enabled","hide"===e)}},o().createElement(Ax,{value:"show"},(0,zn.__)("Show")),o().createElement(Ax,{value:"hide"},(0,zn.__)("Hide")))};function mE(e){return mE="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},mE(e)}function gE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function bE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?gE(Object(n),!0).forEach(function(t){vE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):gE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vE(e,t,n){return(t=function(e){var t=function(e){if("object"!=mE(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=mE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==mE(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var yE=(0,r.forwardRef)(function(e,t){var n=e.close,i=$x().saveSuccessMsg,r=Vh({onSaveSuccess:n,saveSuccessMsg:i}),a=r.save,s=r.isSaving,l=(0,r.getField)("whitelabel");return o().createElement(W_,{id:"simple-modal",ref:t},o().createElement(Z_,{title:(0,zn.__)("Deactivate White Label"),icon:"PowerOff",iconColor:"critical"}),o().createElement(q_,null,o().createElement(mh,{spacing:8},o().createElement(nh,null,(0,zn.__)("Are you sure you want to deactivate the White Label feature?")),o().createElement(nh,null,(0,uu.createInterpolateElement)((0,zn.__)("<strong>Note:</strong> WPMU DEV Branding will be visible again, but your settings will be retained in case you wish to reactivate White Label at a later time."),{strong:o().createElement("strong",null)})))),o().createElement(G_,null,o().createElement(wl,{id:"dashboard-whitelabel-deactivate-modal-cancel-button",type:"secondary",colorScheme:"black",onClick:n},(0,zn.__)("Cancel")),o().createElement(wl,{id:"dashboard-whitelabel-deactivate-modal-confirm-button",type:"primary",colorScheme:"red",isDisabled:s,isLoading:s,onClick:function(){a.mutate({whitelabel:bE(bE({},l),{},{enabled:!1})})}},(0,zn.__)("Deactivate"))))});function _E(){return _E=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},_E.apply(null,arguments)}function CE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var wE=function(){var e=$x(),t=e.updateWhitelabel,n=e.getWhitelabelField,i=n("branding_type")||"default",r=n("branding_image_id"),a=n("branding_image_link"),s=n("branding_enabled_subsite"),l=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return CE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?CE(e,t):void 0}}(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.")}()}(yr([{required:!0,message:(0,zn.__)("This field is required")},{url:!0,message:(0,zn.__)("Invalid image URL. Please, enter a valid one.")}]),2),c=l[0],u=l[1];return o().createElement(mh,{id:"dashboard-whitelabel-branding",spacing:8},o().createElement(Mx,{name:"controls",defaultValue:i,onChange:function(e){t("branding_type",e),t("branding_enabled","default"!==e)}},o().createElement(Ax,{value:"default"},(0,zn.__)("Default")),o().createElement(Ax,{value:"custom"},(0,zn.__)("Upload Logo")),o().createElement(Ax,{value:"link"},(0,zn.__)("Link Logo"))),"link"===i&&o().createElement(Px,null,o().createElement(jy,{id:"link-logo-input",error:c.error,label:(0,zn.__)("Link logo file"),helper:(0,zn.__)("Maximum height and width of logo should be 192px and 172px respectively. This logo will appear only in the dashboard section of each WPMU DEV plugin you have installed that supports this feature."),_style:{width:"100%"}},o().createElement(mh,{id:"dashboard-whitelabel-branding-link-logo",direction:"row",spacing:8,alignItems:"center"},o().createElement(Lx,{imgUrl:a,hasError:c.isError}),o().createElement(hy,_E({id:"link-logo-input",placeholder:(0,zn.__)("Paste Image URL here"),defaultValue:a,isError:c.isError,onChange:function(e){return t("branding_image_link",e.target.value)}},u))))),"custom"===i&&o().createElement(Px,null,o().createElement(mh,{id:"dashboard-whitelabel-branding-custom",spacing:16},o().createElement(jy,{id:"uploader",label:(0,zn.__)("Upload Logo (optional)"),helper:(0,zn.__)("Maximum height and width of logo should be 192px and 172px respectively. This logo will appear only in the dashboard section of each WPMU DEV plugin you have installed that supports this feature.")},o().createElement(Fh,{thumbId:r,setId:function(e){return t("branding_image_id",e)},setUrl:function(e){return t("branding_image",e)},frameTitle:(0,zn.__)("Select or Upload Media for Branding Logo"),frameBtnLabel:(0,zn.__)("Use this as Branding Logo")})),pd&&o().createElement(Pv,{label:(0,zn.__)("Allow Subsite Admins to override"),description:(0,zn.__)("By default, subsites will inherit the main branding set here. With this setting enabled, we will use the logo set in the Customizer Menu as the branding across plugins."),defaultValue:s,onClick:function(e){t("branding_enabled_subsite",e.target.checked)}}))))};function xE(e){return xE="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},xE(e)}function EE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,i)}return n}function SE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EE(Object(n),!0).forEach(function(t){kE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kE(e,t,n){return(t=function(e){var t=function(e){if("object"!=xE(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=xE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xE(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var OE=function(){var e=(0,r.useRef)(null),t=$x(),n=t.getWhitelabelField,i=t.isLoading,a=t.isSaving,s=t.save,l=t.whitelabel,c=null!=$u?$u:{},u=c.hub_account_url,d=c.plugins_url,h=!n("enabled"),f=ld.whitelabel,p=n("labels_enabled"),m={expired:{desc:(0,zn.__)("Remove WPMU DEV branding from all our plugins and replace it with your own branding for your clients. This feature requires an active WPMU DEV membership."),action:o().createElement(wl,{type:"primary",colorScheme:"black",href:u,target:"_blank"},(0,zn.__)("Reactivate Membership"))},upgrade:{desc:(0,zn.__)("Remove WPMU DEV branding from all our plugins and replace it with your own branding for your clients."),action:o().createElement(wl,{type:"primary",colorScheme:"black",href:u,target:"_blank"},(0,zn.__)("Upgrade Membership"))},deactivated:{desc:(0,zn.__)("Remove WPMU DEV branding from all our plugins and replace it with your own branding for your clients."),action:o().createElement(wl,{type:"primary",colorScheme:"blue",isDisabled:a,isLoading:a,onClick:function(){s.mutate({whitelabel:SE(SE({},l),{},{enabled:!0})})}},(0,zn.__)("Activate"))}},g=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null;return o().createElement(Mh,{mediaUrl:kx},o().createElement(mh,{direction:"column",spacing:24},o().createElement(mh,{as:"h1",spacing:12},o().createElement("span",null,(0,zn.__)("White Label"))),o().createElement(nh,{color:"grey-base-50"},e),o().createElement("div",null,t)))},b=!f||cd||h;return i?o().createElement(bl,{id:"dashboard-whitelabel-loading-spinner",isContained:!0}):o().createElement(r.Fragment,null,o().createElement(yE,{ref:e,close:function(){e.current.closeModal()}}),o().createElement(Kd,{id:"dashboard-whitelabel-page-header"},o().createElement(z_,{id:"dashboard-whitelabel-header",title:(0,zn.__)("White Label")})),o().createElement(Kd,{id:"dashboard-whitelabel-page-content"},b&&(cd?g(m.expired.desc,m.expired.action):f?h?g(m.deactivated.desc,m.deactivated.action):null:g(m.upgrade.desc,m.upgrade.action)),!b&&o().createElement(U_,{id:"dashboard-whitelabel-box",hasLargeRadius:!0,title:(0,zn.__)("White Label"),description:(0,zn.__)("Remove WPMU DEV branding from all our plugins and replace it with your own branding for your clients."),footerActions:[o().createElement(wl,{id:"dashboard-whitelabel-save-button",type:"primary",colorScheme:"blue",isLoading:a,isDisabled:a,onClick:function(){s.mutate({whitelabel:l})}},(0,zn.__)("Save Changes")),o().createElement(wl,{type:"tertiary",colorScheme:"red",icon:"PowerOff",onClick:function(){e.current.openModal()}},(0,zn.__)("Deactivate"))]},o().createElement(nC,{id:"dashboard-whitelabel-branding-block",title:(0,zn.__)("WPMU DEV Branding"),description:(0,zn.__)("Replace WPMU DEV visuals across all plugins with your own. Upload or link your logo to display in the dashboard section of each plugin.")},o().createElement(wE,null)),o().createElement(nC,{id:"dashboard-whitelabel-footer-block",title:(0,zn.__)("Footer Text"),description:(0,zn.__)("Remove or replace the default WPMU DEV footer text from all plugin screens.")},o().createElement(iC,{id:"dashboard-whitelabel-footer-option"},o().createElement(Bx,null))),o().createElement(nC,{id:"dashboard-whitelabel-labels-block",title:(0,zn.__)("WPMU DEV Plugin Labels"),overflowHidden:!!p,description:o().createElement(r.Fragment,null,o().createElement(nh,null,(0,zn.__)("Adjust the WPMU DEV plugin labels in WordPress Admin menu to suit your white label needs.")),o().createElement(nh,{style:{marginTop:"8px"}},(0,uu.createInterpolateElement)((0,zn.__)("<strong>Note :</strong> For more advanced configurations, use <a>Branda Pro</a>, which allows you to fully white label and rebrand the WordPress Admin interface. Use the Admin Menu module to rename and adjust your sidebar links."),{strong:o().createElement("strong",null),a:o().createElement(Uh,{href:"".concat(d,"#/details-modal/9135")})})))},o().createElement(iC,{id:"dashboard-whitelabel-labels-option"},o().createElement(fE,null))),o().createElement(nC,{id:"dashboard-whitelabel-documentation-block",title:(0,zn.__)("Documentation, Tutorials and What’s New Modal "),description:(0,zn.__)("Remove the documentation button and the WPMU DEV tutorials from all plugin screens. This will also hide the What's New feature highlight modal that appears when a plugin is updated.")},o().createElement(pE,null))),o().createElement(Gh,null)))},ME=function(){return React.createElement(Vx,null,React.createElement("div",{id:"dashboard-whitelabel-page"},React.createElement(OE,null)))},AE=({id:e,label:t,value:n,size:i="md",isInline:o=!1,allowCancel:a=!1,isIndeterminate:s=!1,showValue:l=!0,onClick:c,className:u="",speed:d=0,_htmlProps:h,_style:f={}})=>{let p=(0,r.useId)(),m=e||`sui-progress-bar-${p}`,{suiInlineClassname:g}=br(f,u),{suiInlineClassname:b}=br({animationDuration:`${d}ms`}),v=kr("sui-progress-bar",{sm:"sm"===i,md:"md"===i,lg:"lg"===i,inline:o},g),y={};return s||(y.style={width:`${n}%`}),(0,Fr.jsxs)("div",{id:m,className:v,"data-testid":"progress-bar",...Rr(h),children:[(0,Fr.jsxs)("div",{className:"sui-progress-bar__main",children:[!!t&&(0,Fr.jsx)("span",{className:"sui-progress-bar__text","aria-live":"polite",children:t}),!!n&&l&&(0,Fr.jsxs)("span",{className:"sui-progress-bar__value","aria-live":"polite",children:[n,"%"]}),(0,Fr.jsx)("div",{className:kr("sui-progress-bar__indicator",{indeterminate:s}),children:(0,Fr.jsx)("span",{className:kr("sui-progress-bar__indicator-bar",{indeterminate:s},d?b:""),...y})})]}),a&&(0,Fr.jsx)("div",{className:"sui-progress-bar__action",children:(0,Fr.jsx)(wl,{type:"tertiary",colorScheme:"blue",...c&&{onClick:e=>c(e)},children:"Cancel"})})]})};function PE(){return PE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},PE.apply(null,arguments)}var jE=function(e){var t=e.action,n=void 0===t?o().createElement(r.Fragment,null):t,i=e.status,a=void 0===i?"loading":i,s=bu("dash-sui-login__loader",{"small-gap":"finished"===a});return o().createElement("div",{className:s},o().createElement("div",{className:"dash-sui-login__progress-section"},o().createElement("img",{className:"dash-sui-login__host-img",src:Ov,alt:(0,zn.__)("host")}),o().createElement(AE,PE({isIndeterminate:"loading"===a,className:"dash-sui-login__progress-bar"},"finished"===a&&{value:"100"},{showValue:!1})),o().createElement("img",{className:"dash-sui-login__client-img",src:Mv,alt:(0,zn.__)("client")})),n)};function IE(e){return IE="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},IE(e)}function TE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var DE=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"page",t=new URL(window.location.href),n=t.searchParams.get(e);t.search="",n&&t.searchParams.set(e,n),window.history.replaceState({},"",t.toString())},LE=function(e){var t=e.authNonce,n=e.ssoStatus,i=e.setPhase,a=e.setApiKey,s=e.setHubSiteUrl,l=e.setFreePlugins,c=e.setErrorMsg,u=e.setIsAuthError,d=e.setPluginsUrl,h=e.setIsPluginsAvailable,f=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return TE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?TE(e,t):void 0}}(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,r.useState)(0),2),p=f[0],m=f[1],g=[(0,zn.__)("The Hub connects WPMU DEV to your website and unlocks all the power of our all-in-one platform services."),(0,zn.__)("Once your website is connected to The Hub, you will be able to perform updates, manage services - all from one place.")],b=Wh().slug;(0,r.useEffect)(function(){var e=setInterval(function(){m(0!==p?0:1)},4e3);return function(){return clearInterval(e)}});var v=Cd({slug:"".concat(b,"/hub-sync"),onSuccess:function(e){var t,n,r,o,a,c;s((null==e||null===(t=e.data)||void 0===t?void 0:t.hub_site_url)||"#"),d((null==e||null===(n=e.data)||void 0===n||null===(n=n.urls)||void 0===n?void 0:n.plugins_url)||"#");var u=null==e||null===(r=e.data)||void 0===r?void 0:r.free_plugins_installed,f=null!==(o=null==e||null===(a=e.data)||void 0===a||null===(a=a.features)||void 0===a?void 0:a.plugins)&&void 0!==o&&o;u&&"object"===IE(u)&&(null===(c=Object.keys(u))||void 0===c?void 0:c.length)>0?(l(u),i("upgrading")):i("success"),h(f)}});return(0,r.useEffect)(function(){v.mutate({api_key:a,is_sso_enabled:"true"===n,auth_nonce:t},{onSuccess:function(){return DE()},onError:function(e){var t,n,r=null!==(t=null==e||null===(n=e.response)||void 0===n?void 0:n.data)&&void 0!==t?t:{},o=null==r?void 0:r.message;DE(),i("login"),c(o),u(!0)}})},[]),o().createElement(jE,{action:o().createElement("div",{className:"dash-sui-login__hint"},o().createElement(nh,{id:"dashboard-login-connecting-hint",size:"sm"},g[p]))})},NE=function(){var e=null!=Vu?Vu:{},t=e.google_auth_url,n=e.auth_nonce,i=(null!=$u?$u:{}).dashboard_url;return o().createElement("form",{method:"post",action:t,style:{width:"100%"}},o().createElement("input",{type:"hidden",name:"context",value:"connect"}),o().createElement("input",{type:"hidden",name:"redirect_url",value:i}),o().createElement("input",{type:"hidden",name:"domain",value:Ju}),o().createElement("input",{type:"hidden",name:"auth_nonce",value:n}),o().createElement("button",{onClick:function(){return null},className:"dash-sui-login__google-button",type:"submit"},o().createElement("img",{src:Sv}),o().createElement(nh,{weight:"bold",color:"#333333"},(0,zn.__)("Sign in with Google"))))},RE={success:(0,zn.sprintf)((0,zn.__)("Successfully Connected %s"),"🎉"),login:(0,zn.__)("Let’s connect your site"),"team-select":(0,zn.__)("Choose The Hub team"),connecting:(0,zn.__)("Let’s connect your site"),upgrading:(0,zn.__)("Connected, upgrading...")},FE={success:(0,zn.__)("Your site was successfully connected. You can now configure site services, manage updates, and so much more directly from The Hub."),"team-select":(0,zn.__)("All installed Pro plugins will be unlocked and your site will be synced with The Hub."),login:(0,zn.__)("To manage your site from The Hub and unlock pro plugin features, log in with your WPMU DEV account email and password."),connecting:(0,zn.__)("To manage your site from The Hub and unlock pro plugin features, log in with your WPMU DEV account email and password."),upgrading:(0,zn.__)("We've detected you have free versions of plugins installed and are automatically upgrading them to pro. Don't worry, you won't lose any settings.")},zE=function(e){var t=e.phase,n=void 0===t?"login":t;return o().createElement("div",{id:"dashboard-login-header",className:"dash-sui-login__header"},o().createElement("img",{id:"dashboard-login-logo",src:kv,alt:(0,zn.__)("Login Logo"),className:"dash-sui-login__logo-img"}),o().createElement(nh,{id:"dashboard-login-title",size:"xl",weight:"semi-bold",as:"h2",color:"#1a1a1a",className:"dash-sui-login__title"},RE[n]||RE.login),o().createElement(nh,{id:"dashboard-login-description",className:"dash-sui-login__description"},FE[n]||FE.login))},HE=function(e){var t,n=e.freePlugins,i=e.setPhase,a=Wv(),s=a.initQueue,l=a.queue,c=a.resetQueue,u=a.state,d=a.getPluginActionState,h=a.isQueueRunning;Vn(h),(0,r.useEffect)(function(){"finished"===u&&i("success")},[u]),(0,r.useEffect)(function(){var e=Object.keys(n);if(e.length>0){Ou(cu,e);var t=Ou(cu,e);c(),s(t)}},[n]);var f=o().createElement("div",{className:"dash-sui-login__upgrading-action"},o().createElement(mh,{id:"dashboard-login-upgrading-connected",justify:"flex-start",alignItems:"center",direction:"row",width:"100%",spacing:8},o().createElement(ho,{colorScheme:"success",size:"md"}),o().createElement(nh,{id:"dashboard-login-upgrading-connected-text"},(0,zn.__)("Successfully connected to The Hub"))),o().createElement(mh,{id:"dashboard-login-upgrading-plugins",alignItems:"flex-start",width:"100%",spacing:8},null===(t=Object.keys(n))||void 0===t?void 0:t.map(function(e){var t=d(l,e),i=n[e];return o().createElement(mh,{id:"dashboard-login-upgrading-plugin-item",key:e,direction:"row",spacing:8},"success"!==t&&o().createElement(bl,{id:"dashboard-login-upgrading-plugin-spinner",loaderSize:"sm",isSpinning:"running"===t}),"success"===t&&o().createElement(ho,{colorScheme:"success",size:"md"}),o().createElement(nh,{id:"dashboard-login-upgrading-plugin-status"},function(e,t){return"success"===e?(0,zn.sprintf)("%s Upgraded",t):"running"===e?(0,zn.sprintf)("Upgrading %s",t):t}(t,i)))})));return o().createElement(jE,{action:f,status:"finished"})},UE=({id:e,buttonType:t="icon",isSmall:n=!1,isError:i=!1,isDisabled:o=!1,placeholder:a,customWidth:s,validate:l,validateOnMount:c,resetValidation:u,name:d,onChange:h,_htmlProps:f,_style:p={}})=>{let m=(0,r.useId)(),{suiInlineClassname:g}=br(p);e||(e=m);let[b,v]=(0,r.useState)(!1),[y,_]=(0,r.useState)(!1),C={id:e,type:y?"text":"password",inputClass:"sui-password__input",isError:i,isDisabled:o,iconPosition:"end",placeholder:a,validate:l,validateOnMount:c,resetValidation:u,name:d,onKeyUp:()=>{let t=document.getElementById(e)?.value;v(t?.length>0)},onChange:h,isSmall:n},w={label:y?"Hide":"Show",type:"tertiary",colorScheme:"black",className:"sui-password__button",isDisabled:o||!b,onClick:()=>_(!y),..."icon"===t&&{icon:y?"Hide":"Show",type:"tertiary",iconOnly:!0,iconSize:n?"sm":"md"},isSmall:n,_htmlProps:{type:"button"}};return(0,Fr.jsxs)("div",{className:kr("sui-password",{},g),"data-testid":"password-field",...s&&{style:{maxWidth:`${s}px`}},...Rr(f),children:[(0,Fr.jsx)(hy,{...C}),(0,Fr.jsx)(wl,{...w,children:w.label})]})};function VE(){return VE=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var i in n)({}).hasOwnProperty.call(n,i)&&(e[i]=n[i])}return e},VE.apply(null,arguments)}function $E(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return BE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?BE(e,t):void 0}}(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 BE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}UE.displayName="PasswordField";var WE=function(){var e=$E(yr([{required:!0,message:(0,zn.__)("This field is required")},{pattern:"^[a-zA-Z0-9._%+-]+@[a-zA-Z0-9.-]+.[a-zA-Z]{2,}$",message:(0,zn.__)("Enter a valid email address")}],{validateOnMount:!1}),2),t=e[0],n=e[1],i=$E(yr([{required:!0,message:(0,zn.__)("This field is required")}],{validateOnMount:!1}),2),a=i[0],s=i[1],l=$E((0,r.useState)(!0),2),c=l[0],u=l[1],d=$E((0,r.useState)(!1),2),h=d[0],f=(d[1],$E((0,r.useState)(""),2)),p=f[0],m=f[1],g=$E((0,r.useState)(""),2),b=g[0],v=g[1],y=!a.isError&&!t.isError&&""!==p.trim()&&""!==b.trim(),_=(null!=Vu?Vu:{}).hub_auth_url,C=null!=$u?$u:{},w=C.dashboard_url,x=C.forgot_password_url,E=C.register_url;return o().createElement("form",{method:"post",action:_,style:{width:"100%"}},o().createElement(jy,{id:"dashboard-login-email-field",label:"Email",error:t.error,_style:{width:"100%"}},o().createElement(hy,VE({id:"email",type:"email",name:"username",placeholder:(0,zn.__)("Enter your email address here"),onChange:function(e){return m(e.target.value)}},n))),o().createElement(jy,{id:"dashboard-login-password-field",label:"Password",error:a.error,_style:{width:"100%",marginTop:"0"}},o().createElement(UE,VE({id:"password",name:"password",placeholder:(0,zn.__)("Enter the password here"),onChange:function(e){return v(e.target.value)}},s))),o().createElement("input",{type:"hidden",name:"redirect_url",value:"".concat(w,"&sso_status=").concat(c)}),o().createElement("input",{type:"hidden",name:"domain",value:Ju}),o().createElement("input",{type:"hidden",name:"auth_nonce",value:"".concat(null==Vu?void 0:Vu.auth_nonce)}),o().createElement(wl,{id:"dashboard-login-submit-button",type:"primary",colorScheme:"blue",isFullWidth:!0,isDisabled:!y||h,isLoading:h,_style:{margin:"0"}},(0,zn.__)("Login")),o().createElement("div",{id:"dashboard-login-form-footer",className:"dash-sui-login__form-footer"},o().createElement("div",{id:"dashboard-login-options",className:"dash-sui-login__options"},o().createElement("div",{id:"dashboard-login-checkbox-wrapper",className:"dash-sui-login__checkbox"},o().createElement(gy,{id:"dashboard-login-enable-sso-checkbox",label:(0,zn.__)("Enable SSO"),isChecked:c,onChange:function(e){return u(e.target.checked)},name:"enable-sso"}),o().createElement(Ev,{id:"dashboard-login-sso-tooltip",type:"icon",icon:"InfoAlt",customWidth:160},(0,zn.__)("We will automatically log you in when you visit this site from The Hub."))),o().createElement(Uh,{id:"dashboard-login-forgot-password-link",href:x,isExternal:!0},(0,zn.__)("Forgot password ?"))),o().createElement(nh,{id:"dashboard-login-signup-text"},(0,uu.createInterpolateElement)((0,zn.__)("Don't have an account? <a>Sign up today!</a>"),{a:o().createElement(Uh,{id:"dashboard-login-register-link",href:E,isExternal:!0})}))))},ZE=function(e){var t=e.hubSiteUrl,n=e.pluginsUrl,i=e.isPluginsAvailable,r=($u.hub_url,$u.dashboard_url);return o().createElement("div",{className:"dash-sui-login__button-group"},i&&o().createElement(wl,{type:"secondary",colorScheme:"black",startIcon:"Plugin",href:n,target:"_self",isFullWidth:!0},(0,zn.__)("Install Plugins")),!i&&o().createElement(wl,{type:"secondary",colorScheme:"black",startIcon:"Logo",href:r,target:"_self",isFullWidth:!0},(0,zn.__)("Go to Dashboard")),o().createElement(wl,{type:"primary",colorScheme:"blue",startIcon:"PluginDashboard",href:t,isFullWidth:!0,target:"_blank",_style:{ml:"0"}},(0,zn.__)("View site in The Hub")))},qE=function(){return o().createElement("div",{className:"dash-sui-login__divider"},(0,zn.__)("OR"))},GE=({iconOrBrandUrl:e,title:t,description:n,imageUrl:i,isChecked:r,variation:o,tag:a,allowRemove:s,onRemove:l=()=>{},isPro:c,tagColor:u})=>{let[d,h,f]=wr({}),p=null,m=(e??"")?.indexOf(".")>-1;return m||(p=ml[e]),(0,Fr.jsxs)("div",{className:"sui-selector__option","data-testid":"selector-option",...f,children:[r&&(0,Fr.jsx)("div",{className:"sui-selector__option-tip",children:(0,Fr.jsx)("span",{children:(0,Fr.jsx)(ml.CheckAlt,{size:"xs"})})}),s&&d&&(0,Fr.jsx)("div",{className:"sui-selector__option-delete","data-testid":"selector-remove",children:(0,Fr.jsx)(Ev,{buttonProps:{type:"primary",colorScheme:"red",iconOnly:!0,isSmall:!0},type:"button",icon:"Trash",iconSize:"sm",className:"sui-selector__option-delete-btn",onClick:()=>l(),placement:"top-right",customWidth:70,children:"Remove"})}),(!!e||!!t)&&(0,Fr.jsxs)("div",{className:"sui-selector__option-header",children:[!!e&&(0,Fr.jsxs)("div",{className:"sui-selector__option-header-icon","data-testid":"selector-icon",children:[m&&(0,Fr.jsx)("img",{src:e,alt:"Selector icon"}),!m&&!!p&&(0,Fr.jsx)(p,{size:["icon-only"].includes(o??"")?"md":"sm"})]}),!!t&&!["icon-only"].includes(o??"")&&(0,Fr.jsxs)("div",{className:"sui-selector__option-header-title",children:[(0,Fr.jsx)("span",{children:t}),c&&(0,Fr.jsx)(Av,{design:"outlined",colorScheme:"black",isSmall:!0,isUppercase:!0,children:"Pro"}),!!a&&!c&&(0,Fr.jsx)(Av,{contentWrap:"truncated",colorScheme:u,children:a})]})]}),(!!i||!!n)&&["compound","image"].includes(o??"")&&(0,Fr.jsxs)("div",{className:"sui-selector__option-body",children:[!!i&&"image"===o&&(0,Fr.jsx)("div",{className:"sui-selector__option-image-wrapper",children:(0,Fr.jsx)("span",{className:"sui-selector__option-body-image",role:"img","aria-label":"Option image",style:{backgroundImage:`url('${i}')`}})}),!!n&&(0,Fr.jsx)("div",{className:"sui-selector__option-body-description",children:n})]})]})},QE=(0,r.forwardRef)(({id:e,label:t,name:n="",value:i="",isChecked:o=!1,isDisabled:a=!1,isPro:s=!1,alignment:l="center",variation:c="default",onChange:u=()=>{},onRemove:d=()=>{},allowRemove:h=!1,tag:f,iconOrBrandUrl:p,imageUrl:m,title:g="title",description:b,tagColor:v="default",isFluid:y=!1,_style:_={},_htmlProps:C={}},w)=>{let x=(0,r.useId)(),E=e||x,[S,k,O]=wr({}),M=(0,r.useCallback)(e=>{u(e.target.checked,i,n)},[n,u,i]),{suiInlineClassname:A}=br(_);return(0,Fr.jsxs)("label",{htmlFor:E,tabIndex:a?-1:0,"data-testid":"selector",className:kr("sui-selector",{disabled:a||s,hover:S,focus:k,checked:o,fluid:y,[l]:!Ir(l??""),[c]:!Ir(c??"")},A),...O,...Rr(C),children:[(0,Fr.jsx)("input",{ref:w,id:E,name:n,type:"radio",tabIndex:a?-1:0,checked:o,"aria-checked":o,className:"sui-screen-reader-only",disabled:a,onChange:M,"data-testid":"selector-input"}),(0,Fr.jsx)(GE,{tagColor:v,allowRemove:h,onRemove:d,tag:f,iconOrBrandUrl:p,imageUrl:m,isChecked:o,title:g,description:b,alignment:l??"left",variation:c??"default",isPro:s}),t&&(0,Fr.jsx)("span",{className:"sui-screen-reader-only",id:`${E}-label`,children:t})]})});function YE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return KE(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?KE(e,t):void 0}}(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 KE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}QE.displayName="Selector";var XE=function(e){var t=e.userApiKey,n=YE((0,r.useState)(""),2),i=n[0],a=n[1],s=YE((0,r.useState)(!1),2),l=s[0],c=s[1],u=Wh(t),d=u.teams,h=u.isLoading,f=u.refetch;(0,r.useEffect)(function(){f()},[]);var p=(null!=Vu?Vu:{}).team_auth_url,m=(null!=$u?$u:{}).dashboard_url;return o().createElement("form",{method:"post",action:p,onSubmit:function(){return c(!0)},style:{width:"100%"}},o().createElement("input",{type:"hidden",name:"api_key",value:t}),o().createElement("input",{type:"hidden",name:"redirect_url",value:m}),o().createElement("input",{type:"hidden",name:"domain",value:Ju}),o().createElement("input",{type:"hidden",name:"auth_nonce",value:Vu.auth_nonce}),o().createElement("input",{type:"hidden",name:"team_id",value:i}),o().createElement("div",{className:"dash-sui-login__team-selector"},h&&o().createElement(bl,{id:"dashboard-team-selector-loading-spinner",loaderSize:"sm"}),null==d?void 0:d.map(function(e,t){return o().createElement(QE,{key:(null==e?void 0:e.id)||t,alignment:"left",title:null==e?void 0:e.nice_name,iconOrBrandUrl:null==e?void 0:e.avatar_url,isChecked:i===(null==e?void 0:e.id),onChange:function(){return a(null==e?void 0:e.id)},isFluid:!0})})),o().createElement("div",{className:"dash-sui-login__team-selector-button"},o().createElement(wl,{type:"primary",colorScheme:"blue",endIcon:"ArrowRight",isDisabled:l||!i,isLoading:l},(0,zn.__)("Continue"))))};function JE(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return eS(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?eS(e,t):void 0}}(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 eS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var tS=null!=$u?$u:{},nS=tS.skip_trial_url,iS=tS.hub_url,rS=tS.external_support_url,oS=tS.hub_account_details_url,aS=tS.trial_info_url,sS=tS.hub_security_info_url,lS=tS.forgot_password_url,cS=tS.hub_account_url,uS=tS.switch_to_free_url,dS={google_linked:(0,uu.createInterpolateElement)((0,zn.sprintf)("You are currently using your Google account as your preferred login method. If you wish to login with your WPMU DEV email & password instead, please change the <strong>Login Method</strong> in <a>your WPMU DEV account</a>",oS),{strong:o().createElement("strong",null),a:o().createElement(Uh,{href:oS,isExternal:!0})}),google_unlinked:(0,uu.createInterpolateElement)((0,zn.__)("You are currently using your WPMU DEV email and password as your preferred login method. If you wish to login with your Google account instead, please change the <strong>Login Method</strong> in <a>your WPMU DEV account</a>"),{strong:o().createElement("strong",null),a:o().createElement(Uh,{href:oS,isExternal:!0})}),reauth_google:(0,uu.createInterpolateElement)((0,zn.__)("Due to security improvements, you will need to re-link your Google account in The Hub. Please log in with your WPMU DEV email & password for now, then set up your preferred <strong>Login Method</strong> in <a1>your WPMU DEV account</a1>. Forgot your password? You can <a2>reset it here</a2>."),{strong:o().createElement("strong",null),a1:o().createElement(Uh,{href:oS,isExternal:!0}),a2:o().createElement(Uh,{href:lS,isExternal:!0})}),invalid_credentials:(0,uu.createInterpolateElement)((0,zn.sprintf)("Your login details are incorrect. Please make sure you're using your WPMU DEV email and password and try again."),{br:o().createElement("br",null),a:o().createElement(Uh,{href:lS,isExternal:!0})})},hS=({id:e,children:t,variation:n="informative",actions:i,displayIcon:o=!0,isCenter:a=!1,isContentFluid:s=!1,isDismissible:l=!0,onDismiss:c=()=>{},_style:u={},_htmlProps:d})=>{let h=(0,r.useId)(),f=e||`sui-alert-banner-${h}`,[p,m]=(0,r.useState)(!0);t=_r(t);let{suiInlineClassname:g}=br(u),b=(0,r.useCallback)(()=>{m(!1),c&&c()},[c]);if(!p)return null;let v,y,_=kr("sui-alert-banner",{[n]:!Ir(n??""),fluid:s},g);switch(n){case"success":v=ml.CheckAlt,y="success";break;case"informative":v=ml.InfoAlt,y="informative";break;case"warning":v=ml.InfoAlt,y="warning";break;case"critical":v=ml.InfoAlt,y="critical";break;default:v=null,y=""}let C="black";return["hub-upsell","plugin-upsell"].includes(n??"")&&(C="white",a=!0),(0,Fr.jsxs)("div",{id:f,className:_,"data-testid":"alert-banner",...Rr(d),children:[(0,Fr.jsxs)("div",{className:kr("sui-alert-banner__body",{center:a,fluid:s}),children:[(0,Fr.jsxs)("div",{className:"sui-alert-banner__body-content",children:[v&&!!o&&(0,Fr.jsx)("div",{className:"sui-alert-banner__icon","data-testid":"alert-banner-icon",children:(0,Fr.jsx)(v,{colorScheme:y})}),(0,Fr.jsx)("div",{className:"sui-alert-banner__content",children:t})]}),i&&(0,Fr.jsx)("div",{className:"sui-alert-banner__body-actions",children:i})]}),l&&(0,Fr.jsx)("div",{className:"sui-alart-banner__close","data-testid":"alert-banner-close",children:(0,Fr.jsx)(wl,{icon:"Close",type:"tertiary",colorScheme:C,isSmall:!0,iconOnly:!0,onClick:b,_htmlProps:{"aria-label":"close"}})})]})};function fS(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pS(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?pS(e,t):void 0}}(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 pS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}hS.displayName="AlertBanner";var mS=function(){var e=function(){var e=JE((0,r.useState)("login"),2),t=e[0],n=e[1],i=JE((0,r.useState)(!1),2),a=i[0],s=i[1],l=JE((0,r.useState)(),2),c=l[0],u=l[1],d=JE((0,r.useState)(),2),h=d[0],f=d[1],p=JE((0,r.useState)(""),2),m=p[0],g=p[1],b=JE((0,r.useState)(""),2),v=b[0],y=b[1],_=new URLSearchParams(window.location.search),C=_.get("api_error"),w=_.get("auth_error"),x=_.get("display_name"),E=_.get("is_multi_auth"),S=_.get("user_apikey"),k=_.get("set_apikey"),O=_.get("sso_status"),M=_.get("auth_nonce");return(0,r.useEffect)(function(){if(E&&S)return y(S),void n("team-select");if(C){var e="";"auth"===C?(s(!0),e=w?dS[w]:dS.invalid_credentials):e=function(e,t){switch(e){case"in_trial":return fd?(0,uu.createInterpolateElement)((0,zn.sprintf)("This local development site URL has previously been registered with us by the user <strong>%s</strong>. To use WPMU DEV with this site URL, log in with the original user (you can <a0>reset your password</a0>) or <a1>upgrade your trial</a1> to a full membership. Alternatively, try a more uniquely named development site URL. Trial accounts can't use previously registered domains - <a2>here's why</a2>.",t),{strong:o().createElement("strong",null),a0:o().createElement(Uh,{href:lS,isExternal:!0}),a1:o().createElement(Uh,{href:nS,isExternal:!0}),a2:o().createElement(Uh,{href:aS,isExternal:!0})}):(0,uu.createInterpolateElement)((0,zn.sprintf)("This domain has previously been registered with us by the user <strong>%s</strong>. To use WPMU DEV on this domain, you can either log in with the original account (you can <a1>reset your password</a1>) or <a2>upgrade your trial</a2> to a full membership. Trial accounts can't use previously registered domains - <a3>here's why</a3>. Contact support if you need further assistance »",t),{strong:o().createElement("strong",{style:{wordBreak:"break-all"}}),a1:o().createElement(Uh,{href:lS,isExternal:!0}),a2:o().createElement(Uh,{href:nS,isExternal:!0}),a3:o().createElement(Uh,{href:aS,isExternal:!0})});case"already_registered":return fd?(0,uu.createInterpolateElement)((0,zn.sprintf)("This local development site URL is currently registered to <strong>%s</strong>. For <a1>security reasons</a1> they will need to go to the <a2>WPMU DEV Hub</a2> and remove this domain before you can log in. If that account is not yours, then make your local development site URL more unique. Contact support if you need further assistance »",t),{strong:o().createElement("strong",{style:{wordBreak:"break-all"}}),a1:o().createElement(Uh,{href:sS,isExternal:!0}),a2:o().createElement(Uh,{href:iS,isExternal:!0})}):(0,uu.createInterpolateElement)((0,zn.sprintf)("This site is currently registered to <strong>%s</strong>. For <a1>security reasons</a1> they will need to go to the <a2>WPMU DEV Hub</a2> and remove this domain before you can log in. If you do not have access to that account, and have no way of contacting that user, please <a3>contact support for assistance</a3>.",t),{strong:o().createElement("strong",{style:{wordBreak:"break-all"}}),a1:o().createElement(Uh,{href:sS,isExternal:!0}),a2:o().createElement(Uh,{href:iS,isExternal:!0}),a3:o().createElement(Uh,{href:iS,isExternal:!0})});case"banned_account":return(0,uu.createInterpolateElement)((0,zn.__)("This domain cannot be registered to your WPMU DEV account.<a>Contact Accounts & Billing if you need further assistance »</a>"),{a:o().createElement(Uh,{href:rS})});case"expired_membership":return(0,uu.createInterpolateElement)((0,zn.sprintf)("<div>Login failed — your WPMU DEV membership has expired. Renew now to regain full access, or switch to our free plan to continue managing all your site in The Hub.</div> <div><a1>Renew Membership</a1> <a2>Switch to Free</a2></div>"),{div:o().createElement("div",null),a1:o().createElement(wl,{type:"primary",colorScheme:"black",isSmall:!0,href:"".concat(cS,"?utm_source=wpmudev-dashboard&utm_medium=plugin&utm_campaign=dashboard_expired_login-failed_renew"),_style:{margin:"0"}}),a2:o().createElement(wl,{type:"secondary",colorScheme:"black",isSmall:!0,href:"".concat(uS,"&utm_source=wpmudev-dashboard&utm_medium=plugin&utm_campaign=dashboard_expired_login-failed_switch-to-free")})});case"invalid_nonce":case"invalid_double_submit_cookie":case"invalid_google_creds":case"":return(0,zn.__)("Google login failed. Please try again.","wpmudev");default:return(0,zn.__)("Unknown error. Please update the WPMU DEV Dashboard plugin and try again.","wpmudev")}}(C,x),"expired_membership"===C&&u("banner"),f(e)}return k?(g(k),void n("connecting")):void 0},[]),{phase:t,errorType:c,hasError:!!h,setApiKey:m,setPhase:n,ssoStatus:O,authNonce:M,userApiKey:v,isAuthError:a,setIsAuthError:s,errorMsg:h,setErrorMsg:f}}(),t=e.phase,n=e.errorType,i=e.errorMsg,a=e.setErrorMsg,s=e.hasError,l=e.setApiKey,c=e.setPhase,u=e.userApiKey,d=e.ssoStatus,h=e.authNonce,f=e.isAuthError,p=e.setIsAuthError,m=fS((0,r.useState)("#"),2),g=m[0],b=m[1],v=fS((0,r.useState)(null==$u?void 0:$u.plugins_url),2),y=v[0],_=v[1],C=fS((0,r.useState)({}),2),w=C[0],x=C[1],E=fS((0,r.useState)(!0),2),S=E[0],k=E[1],O=$u.system_info_url,M=function(){var e=kr("dash-sui-login__notification",{"is-not-auth-error":!f}),t="string"==typeof i?Lv(Fc.sanitize(i,{ALLOWED_TAGS:["a","strong","em","b","br","i"],ALLOWED_ATTR:["href","target","rel"]})):i;return o().createElement("div",{id:"dashboard-login-error-container",className:e},"banner"===n?o().createElement(hS,{id:"dashboard-login-error-banner",variation:"critical",isContentFluid:!0},t):o().createElement(Al,{id:"dashboard-login-error-notification",message:t,icon:"InfoAlt",variation:"error",isFluid:!0,_style:{"& a":{textDecoration:"underline"}}}))};return o().createElement("div",{id:"dashboard-login-page",className:"dash-sui-login"},o().createElement("div",{id:"dashboard-login-container",className:"dash-sui-login__container"},o().createElement("div",{id:"dashboard-login-main",className:"dash-sui-login__main"},o().createElement(zE,{phase:t}),"team-select"===t&&o().createElement(XE,{userApiKey:u}),"success"===t&&o().createElement(ZE,{hubSiteUrl:g,pluginsUrl:y,isPluginsAvailable:S}),"connecting"===t&&o().createElement(LE,{authNonce:h,ssoStatus:d,setApiKey:l,setPhase:c,setHubSiteUrl:b,setFreePlugins:x,setErrorMsg:a,setIsAuthError:p,setPluginsUrl:_,setIsPluginsAvailable:k}),"upgrading"===t&&o().createElement(HE,{freePlugins:w,setPhase:c}),"login"===t&&o().createElement(r.Fragment,null,s&&!f&&M(),o().createElement(NE,null),o().createElement(qE,null),s&&f&&M(),o().createElement(WE,null))),o().createElement(nh,{id:"dashboard-login-footer-text",className:"dash-sui-login__footer-text"},(0,uu.createInterpolateElement)((0,zn.__)("View your web server's system information <a>here</a>"),{a:o().createElement(Uh,{id:"dashboard-login-system-info-link",href:O})}))))},gS=({id:e,plugin:t,title:n="",description:i="",className:o,_style:a,_htmlProps:s={}})=>{let l=(0,r.useId)(),c=e||`sui-navigation-brand-${l}`,{suiInlineClassname:u}=br(a,o),d=t?Lr?.[t]:{icon:"Plugin"},h=null;return d&&(h=ml?.[d.icon]),(0,Fr.jsxs)("div",{id:c,className:kr("sui-navigation__brand",{},u),...Rr(s),children:[(0,Fr.jsx)("div",{id:`${c}-icon`,className:"sui-navigation__icon",style:{backgroundColor:d?.bg},children:!!h&&(0,Fr.jsx)(h,{fill:d?.color})}),(0,Fr.jsxs)("div",{id:`${c}-info`,className:"sui-navigation__info",children:[(0,Fr.jsx)("h3",{id:`${c}-title`,className:"sui-heading--h4",children:n}),(0,Fr.jsx)("span",{id:`${c}-description`,className:"sui-navigation__info--desc",children:i})]})]})};gS.displayName="NavigationBrand";var bS=({id:e,user:t,menu:n,splitLastItem:i=!1,isMenuDisabled:o=!1,status:a,children:s,className:l="",dropdownProps:c={},_style:u={},_htmlProps:d={}})=>{let h=(0,r.useId)(),f=e||`sui-navigation-user-${h}`,p=(0,r.useRef)(null),{suiInlineClassname:m}=br(u,l),g=kr("sui-navigation__avatar",{},m),b=(0,Fr.jsx)(tx,{id:`${f}-avatar`,status:a,image:{src:t?.image??"",alt:"User Avatar"},icon:t?.icon,...!o&&{onClick:()=>{p?.current?.toggle()}}});return(0,Fr.jsx)("div",{id:f,className:g,...Rr(d),children:(0,Fr.jsxs)(_y,{id:`${f}-dropdown`,ref:p,label:"Menu Button",placement:"left",size:"lg",trigger:b,renderContentOnTop:!0,menu:n??[],dropdownArrow:!0,className:kr("sui-navigation__dropdown",{split:i}),...c,children:[Ir(t?.name??"")&&Ir(t?.email??"")?null:(0,Fr.jsxs)("div",{id:`${f}-user-info`,className:"sui-navigation__user",children:[!Ir(t?.name??"")&&(0,Fr.jsx)("div",{id:`${f}-user-name`,className:"sui-navigation__user--name",children:t?.name}),!Ir(t?.email??"")&&(0,Fr.jsx)("div",{id:`${f}-user-email`,className:"sui-navigation__user--email",children:t?.email})]}),s]})})};bS.displayName="NavigationUser";var vS=({id:e,children:t,brand:n={title:"title",description:""},user:i,actions:o=[],_htmlProps:a,_style:s})=>{let l=(0,r.useId)(),c=e||`sui-navigation-${l}`,{suiInlineClassname:u}=br(s),d=kr("sui-navigation",{},u);return(0,Fr.jsxs)("nav",{id:c,className:d,"data-testid":"navigation",...Rr(a),children:[(0,Fr.jsx)(gS,{...n,id:n?.id||`${c}-brand`}),(0,Fr.jsx)("ul",{id:`${c}-nav`,className:"sui-navigation__nav",children:r.Children.map(t,(e,t)=>(0,Fr.jsx)("li",{id:`${c}-nav-item-${t}`,className:"sui-navigation__nav-item",children:e},t))}),(o.length>0||i)&&(0,Fr.jsxs)("div",{id:`${c}-actions`,className:"sui-navigation__actions",children:[o.length>0&&o.map((e,t)=>(0,Fr.jsx)("div",{id:`${c}-action-${t}`,children:e},t)),i&&(0,Fr.jsx)(bS,{...i,id:i?.id||`${c}-user`})]})]})},yS=({id:e})=>(0,Fr.jsxs)("svg",{id:e,xmlns:"http://www.w3.org/2000/svg",width:"93",height:"31",fill:"none",viewBox:"0 0 93 31",children:[(0,Fr.jsx)("path",{fill:"#1A1A1A",d:"M18.13 19.206c-.25 0-.497-.06-.721-.173a1.313 1.313 0 01-.547-.517 1.448 1.448 0 01-.204-.758v-4.516a.375.375 0 00-.116-.27.384.384 0 00-.653.27v4.516a1.364 1.364 0 01-.445 1.033c-.289.272-.67.42-1.064.413a1.388 1.388 0 01-1.026-.411 1.42 1.42 0 01-.413-1.035v-4.516a.371.371 0 00-.115-.27.408.408 0 00-.306-.116.4.4 0 00-.422.386v5.963H11.05v-5.963a1.357 1.357 0 01.446-1.033c.288-.272.67-.42 1.064-.413a1.387 1.387 0 011.025.411 1.417 1.417 0 01.412 1.035v4.516a.37.37 0 00.116.27.457.457 0 00.608 0 .368.368 0 00.116-.27v-4.516a1.418 1.418 0 01.408-1.033 1.488 1.488 0 012.056 0 1.404 1.404 0 01.41 1.033v4.516a.373.373 0 00.114.27.458.458 0 00.608 0 .366.366 0 00.115-.27v-5.964h1.055v5.964c.002.267-.068.53-.204.758a1.314 1.314 0 01-.547.517 1.592 1.592 0 01-.723.172z"}),(0,Fr.jsx)("path",{stroke:"#1A1A1A",d:"M15.33 22.733c3.95 0 7.153-3.238 7.153-7.233 0-3.995-3.202-7.233-7.153-7.233-3.951 0-7.154 3.238-7.154 7.233 0 3.995 3.203 7.233 7.154 7.233z"}),(0,Fr.jsx)("path",{fill:"#1A1A1A",d:"M34.418 17.43l-.051.349-.047-.218-1.569-5.777h-1.105l-1.594 5.76-.057.248-.048-.351-1.28-5.657H27.43l1.918 7.595h1.156l1.697-5.868 1.649 5.868h1.162l1.923-7.595h-1.243l-1.274 5.646zM49.285 17.626l-2.482-5.84h-1.588v7.592h1.24l-.118-5.88 2.485 5.88h.913l2.492-5.905-.119 5.905h1.24v-7.593h-1.593l-2.47 5.84zM43.284 12.426c-.519-.43-1.226-.65-2.099-.65h-3.02v7.593h1.246v-2.835h1.76c.92 0 1.636-.207 2.14-.62.504-.414.76-1 .76-1.739 0-.738-.265-1.316-.787-1.749zm-.466 1.767c0 .413-.143.743-.424.964-.281.221-.69.336-1.209.336h-1.774v-2.665h1.806c.497 0 .893.133 1.176.383a1.246 1.246 0 01.425.982zM59.481 17.057c0 .517-.151.916-.448 1.183-.296.266-.726.402-1.275.402-.549 0-.99-.138-1.288-.413-.297-.275-.447-.666-.447-1.176v-5.27h-1.234v5.324c.012.79.287 1.423.818 1.882.53.458 1.253.689 2.152.689.9 0 1.622-.24 2.158-.715.537-.475.81-1.118.81-1.909v-5.27h-1.246v5.273zM68.907 12.22a3.881 3.881 0 00-1.855-.434h-2.341v7.593h2.227c1.124 0 2.034-.326 2.7-.972.666-.646 1.004-1.524 1.004-2.614v-.5a3.853 3.853 0 00-.47-1.838 3.114 3.114 0 00-1.265-1.235zm-2.95.62h1.094c.769 0 1.358.22 1.754.652.395.433.597 1.065.597 1.881v.413c0 .816-.21 1.452-.626 1.891-.415.44-1.022.663-1.801.663h-1.022l.004-5.5zM71.871 19.378h5.17V18.34h-3.924v-2.361h3.406v-1.045h-3.406v-2.097h3.924v-1.052h-5.17v7.593zM83.675 11.785l-2.192 6.189-2.181-6.189H77.96l2.95 7.593h1.15l2.948-7.593h-1.334z"})]}),_S={facebook:qs,instagram:Qs,twitter:Gs},CS=({id:e,links:t,logoImageLink:n,logoHref:i,socialLinks:o,renderBlocks:a,removeBGColor:s=!1,className:l,customFooter:c=!1,_htmlProps:u,_style:d})=>{let h=(0,r.useId)(),f=e||`sui-footer-${h}`,p=[];a&&(p=a((0,Fr.jsx)("span",{children:"Made with ♡ by WPMU DEV"})));let{suiInlineClassname:m}=br(d,l),g=kr("sui-footer",{transparent:s},m);return(0,Fr.jsxs)("div",{id:f,className:g,"data-testid":"footer",...Rr(u),children:[p.length>0&&(0,Fr.jsx)("div",{id:`${f}-credits`,className:"sui-footer__group sui-footer__group--credits"+(1===p.length?" sui-footer__group--center":""),children:(p||[])?.map((e,t)=>(0,Fr.jsx)("div",{id:`${f}-block-${t}`,className:"sui-footer__block",children:e},t))}),!c&&(0,Fr.jsxs)("div",{id:`${f}-links-group`,className:"sui-footer__group sui-footer__group--links",children:[(0,Fr.jsx)("div",{id:`${f}-logo-block`,className:"sui-footer__block",children:(0,Fr.jsx)("a",{id:`${f}-logo-link`,href:i||"https://wpmudev.com",target:"_blank",rel:"noreferrer nofollow","aria-label":"wpmudev-logo",children:n?(0,Fr.jsx)("img",{id:`${f}-logo-img`,src:n,className:"sui-footer__block--logo",alt:"WPMU DEV"}):(0,Fr.jsx)(yS,{id:`${f}-logo`})})}),(t??[]).length>0&&(0,Fr.jsx)("div",{id:`${f}-pages-block`,className:"sui-footer__block sui-footer__block--pages","data-testid":"footer-links",children:(0,Fr.jsx)("ul",{id:`${f}-links`,className:"sui-footer__links",children:(t??[])?.map((e,t)=>(0,Fr.jsx)("li",{id:`${f}-link-item-${t}`,className:"sui-footer__links--item",children:(0,Fr.jsx)("a",{id:`${f}-link-${t}`,href:e.url,target:e?.target??"_blank",children:e.title})},t))})}),(0,Fr.jsx)("div",{id:`${f}-social-block`,className:"sui-footer__block",children:(o??[])?.length>0&&(0,Fr.jsx)("ul",{id:`${f}-social-links`,className:"sui-footer__links sui-footer__links--social","data-testid":"footer-social-links",children:(o??[])?.map((e,t)=>{let n=_S[e?.type];return(0,Fr.jsx)("li",{id:`${f}-social-item-${t}`,className:"sui-footer__links--item",children:(0,Fr.jsxs)("a",{id:`${f}-social-link-${t}`,href:e.url,target:"_blank",rel:"noopener noreferrer",children:[(0,Fr.jsx)(n,{id:`${f}-social-icon-${t}`,size:"sm"}),e?.type&&(0,Fr.jsx)("span",{id:`${f}-social-label-${t}`,className:"sui-screen-reader-only",children:e?.type})]})},t)})})})]})]})};function wS(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,i=Array(t);n<t;n++)i[n]=e[n];return i}var xS=null!=$u?$u:{},ES=xS.wpmudev_support_url,SS=xS.documentation_url,kS=xS.roadmap_url,OS=xS.hub_url,MS=(xS.plugins,xS.community_url),AS=xS.wpmudev_tos_url,PS=xS.wpmudev_privacy_url,jS=xS.facebook_url,IS=xS.instagram_url,TS=xS.twitter_url,DS=xS.hub_account_url,LS=xS.wpmudev_plugins_url,NS={wpmudev:null==SS?void 0:SS.dashboard,"wpmudev-plugins":null==SS?void 0:SS.plugins,"wpmudev-support":null==SS?void 0:SS.support,"wpmudev-analytics":null==SS?void 0:SS.analytics,"wpmudev-whitelabel":null==SS?void 0:SS.whitelabel,"wpmudev-settings":null==SS?void 0:SS.settings},RS=function(e){var t=e.children,n=e.showHeader,i=void 0===n||n,a=e.showFooter,s=void 0===a||a,l=function(){var e=function(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var n=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=n){var i,r,o,a,s=[],l=!0,c=!1;try{if(o=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(i=o.call(n)).done)&&(s.push(i.value),s.length!==t);l=!0);}catch(e){c=!0,r=e}finally{try{if(!l&&null!=n.return&&(a=n.return(),Object(a)!==a))return}finally{if(c)throw r}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return wS(e,t);var n={}.toString.call(e).slice(8,-1);return"Object"===n&&e.constructor&&(n=e.constructor.name),"Map"===n||"Set"===n?Array.from(e):"Arguments"===n||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)?wS(e,t):void 0}}(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,r.useState)("wpmudev"),2),t=e[0],n=e[1];return(0,r.useEffect)(function(){var e=new URLSearchParams(window.location.search).get("page");e&&n(e)},[]),{page:t}}(),c=l.page,u=Wh(),d=u.logout,h=u.isLoggingOut,f=u.hasLoggedOut,p=Vh(),m=p.getField,g=p.isLoading,b=m("whitelabel","footer_text"),v=m("whitelabel","footer_enabled"),y=m("whitelabel","enabled"),_=v&&y,C=gd,w=[{id:"the-hub",label:(0,zn.__)("The Hub"),props:{icon:"PluginDefender"}},{id:"product-roadmap",label:(0,zn.__)("Product Roadmap"),props:{icon:"PluginSmush"}}],x=C?w:[].concat(w,[{id:"logout",label:(0,zn.__)("Logout"),props:{icon:"Exit"}}]);return h||f?o().createElement(bl,{id:"dashboard-wrapper-logout-spinner",isContained:!0}):o().createElement("div",{id:"dashboard-wrapper",className:"sui-layout dash-sui-wrapper"},o().createElement(Pl,null),i&&o().createElement(vS,{id:"dashboard-navigation",brand:{plugin:"dashboard",title:"WPMU DEV Dashboard",description:(0,zn.__)("Site Management")},user:{isMenuDisabled:!hd,status:hd?"confirmed":"not-connected",user:{image:null==Yu?void 0:Yu.avatar,name:null==Yu?void 0:Yu.name,email:null==Yu?void 0:Yu.user_name,icon:"Logo"},splitLastItem:!C,dropdownProps:{id:"dashboard-user-menu-dropdown",onMenuClick:function(e){var t=(null!=e?e:{}).id;return"the-hub"===t?window.open(OS,"_blank"):"product-roadmap"===t?window.open(kS,"_blank"):"logout"!==t||C?void 0:d.mutate({})}},menu:x}},nd&&o().createElement(Ev,{id:"dashboard-custom-api-server-tooltip",type:"button",placement:"bottom-right",customWidth:385,buttonProps:{id:"dashboard-custom-api-server-tooltip-button",icon:"CompressAlt",type:"tertiary",iconOnly:!0,colorScheme:"black",isResponsive:!0}},(0,zn.sprintf)("Custom API Server: %s",nd)),o().createElement(Ev,{id:"dashboard-documentation-tooltip",type:"button",placement:"bottom",buttonProps:{id:"dashboard-documentation-tooltip-button",icon:"Graduation",type:"tertiary",iconOnly:!0,colorScheme:"black",isResponsive:!0,href:null==NS?void 0:NS[c],target:"_blank"}},(0,zn.__)("Documentation"))),cd&&o().createElement(hS,{id:"dashboard-membership-expired-banner",variation:"critical",isDismissible:!1,actions:[o().createElement(wl,{id:"dashboard-renew-membership-button",key:0,type:"secondary",colorScheme:"black",isSmall:!0,href:DS,target:"_blank"},(0,zn.__)("Renew membership")),o().createElement(wl,{id:"dashboard-refresh-status-button",key:1,type:"tertiary",colorScheme:"black",isSmall:!0,onClick:function(){return location.reload()}},(0,zn.__)("Refresh status"))]},(0,uu.createInterpolateElement)((0,zn.__)("<strong>Your membership has expired!</strong> To continue using WPMU DEV's features on your site, renew your membership today."),{strong:o().createElement("strong",null)})),t,s&&!g&&(_?o().createElement(CS,{id:"dashboard-footer",removeBGColor:!0,customFooter:!0,renderBlocks:function(){var e=Fc.sanitize(b||"",{ALLOWED_TAGS:["a","b","i","strong"],ALLOWED_ATTR:["href","title","target"]});return[o().createElement("div",{id:"dashboard-footer-custom-text",dangerouslySetInnerHTML:{__html:e}})]},className:"dash-sui-wrapper__footer"}):o().createElement(CS,{id:"dashboard-footer",removeBGColor:!0,renderBlocks:function(){return ud?[o().createElement(nh,{id:"dashboard-footer-upgrade-text",size:"sm"},(0,uu.createInterpolateElement)((0,zn.__)("Check out our <link>All-in-One WordPress Toolkit</link>"),{link:o().createElement(Uh,{id:"dashboard-footer-upgrade-link",isExternal:!0,href:LS})})),o().createElement(nh,{id:"dashboard-footer-help-text",size:"sm"},(0,uu.createInterpolateElement)((0,zn.__)("To get the most out of the plugin, <link>see the Help section</link>"),{link:o().createElement(Uh,{id:"dashboard-footer-help-link",isExternal:!0,href:ES})}))]:[(0,zn.__)("Made with ♡ by WPMU DEV")]},socialLinks:[{url:jS,type:"facebook"},{url:IS,type:"instagram"},{url:TS,type:"twitter"}],links:[{url:OS,title:(0,zn.__)("The Hub")},{url:LS,title:(0,zn.__)("Plugins")},{url:kS,title:(0,zn.__)("Roadmap")},{url:ES,title:(0,zn.__)("Support")},{url:MS,title:(0,zn.__)("Community")},{url:AS,title:(0,zn.__)("Terms of Service")},{url:PS,title:(0,zn.__)("Privacy Policy")}],className:"dash-sui-wrapper__footer"})))},FS=(0,r.memo)(RS),zS=function(){var e,t,n,i=qd.parse(null===(e=location)||void 0===e?void 0:e.search),a=null!==(t=null==i?void 0:i.page)&&void 0!==t?t:"",s=null!==(n=null==i?void 0:i.view)&&void 0!==n?n:"",l=!hd&&"system"!==s,c="system"===s&&!hd;return(0,r.useEffect)(function(){var e,t,n=null===(e=globalThis.wp)||void 0===e||null===(e=e.i18n)||void 0===e||null===(t=e.getLocaleData)||void 0===t?void 0:t.call(e,"wpmudev");n&&(0,zn.setLocaleData)(n)},[]),o().createElement(be.QueryClientProvider,{client:Uu},o().createElement("div",{id:"dashboard-app"},c?o().createElement(pe,null,o().createElement(FS,null,o().createElement(Sx,{showSysInfoOnly:!0,showLoginBtn:!0}))):o().createElement(pe,null,l?o().createElement(mS,null):o().createElement(de,null,o().createElement(ce,{path:"/:id?/*",element:o().createElement(FS,null,{wpmudev:o().createElement(H_,null),"wpmudev-plugins":o().createElement(UC,null),"wpmudev-support":o().createElement(Sx,null),"wpmudev-analytics":o().createElement(fC,null),"wpmudev-whitelabel":o().createElement(ME,null),"wpmudev-settings":o().createElement(Fw,null)}[a])})))))};(0,a.H)(document.getElementById("dashboard-admin")).render(o().createElement(zS,null))}()}();