!function(){var e,t,n={842: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 r={}.hasOwnProperty;function i(){for(var e=[],t=0;t<arguments.length;t++){var n=arguments[t];if(n){var a=typeof n;if("string"===a||"number"===a)e.push(n);else if(Array.isArray(n)){if(n.length){var o=i.apply(null,n);o&&e.push(o)}}else if("object"===a)if(n.toString===Object.prototype.toString)for(var s in n)r.call(n,s)&&n[s]&&e.push(s);else e.push(n.toString())}}return e.join(" ")}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()},499:function(e){function t(e){return void 0===e}function n(e){return e===Object(e)}function r(e){return Array.isArray(e)}function i(e,r){return r?n(e)&&!t(e.uri):n(e)&&"number"==typeof e.size&&"string"==typeof e.type&&"function"==typeof e.slice}function a(e){return!t(e)&&e}e.exports={serialize:function e(o,s,l,c){s=s||{},l=l||new FormData,s.indices=a(s.indices),s.nullsAsUndefineds=a(s.nullsAsUndefineds),s.booleansAsIntegers=a(s.booleansAsIntegers),s.allowEmptyArrays=a(s.allowEmptyArrays),s.noAttributesWithArrayNotation=a(s.noAttributesWithArrayNotation),s.noFilesWithArrayNotation=a(s.noFilesWithArrayNotation),s.dotsForObjectNotation=a(s.dotsForObjectNotation);const u="function"==typeof l.getParts;return t(o)||(null===o?s.nullsAsUndefineds||l.append(c,""):"boolean"!=typeof o?r(o)?o.length?o.forEach((t,r)=>{let a=c+"["+(s.indices?r:"")+"]";(s.noAttributesWithArrayNotation||s.noFilesWithArrayNotation&&function(e,t){return i(e,t)&&"string"==typeof e.name&&(n(e.lastModifiedDate)||"number"==typeof e.lastModified)}(t,u))&&(a=c),e(t,s,l,a)}):s.allowEmptyArrays&&l.append(s.noAttributesWithArrayNotation?c:c+"[]",""):function(e){return e instanceof Date}(o)?l.append(c,o.toISOString()):n(o)&&!i(o,u)?Object.keys(o).forEach(t=>{const n=o[t];if(r(n))for(;t.length>2&&t.lastIndexOf("[]")===t.length-2;)t=t.substring(0,t.length-2);const i=c?s.dotsForObjectNotation?c+"."+t:c+"["+t+"]":t;e(n,s,l,i)}):l.append(c,o):s.booleansAsIntegers?l.append(c,o?1:0):l.append(c,o)),l}}},396:function(e,t,n){"use strict";
/**
 * @license React
 * react-dom.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 r=n(155),i=n(593);function a(e){for(var t="https://reactjs.org/docs/error-decoder.html?invariant="+e,n=1;n<arguments.length;n++)t+="&args[]="+encodeURIComponent(arguments[n]);return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var o=new Set,s={};function l(e,t){c(e,t),c(e+"Capture",t)}function c(e,t){for(s[e]=t,e=0;e<t.length;e++)o.add(t[e])}var u=!("undefined"==typeof window||void 0===window.document||void 0===window.document.createElement),d=Object.prototype.hasOwnProperty,h=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,f={},p={};function m(e,t,n,r,i,a,o){this.acceptsBooleans=2===t||3===t||4===t,this.attributeName=r,this.attributeNamespace=i,this.mustUseProperty=n,this.propertyName=e,this.type=t,this.sanitizeURL=a,this.removeEmptyString=o}var g={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(e){g[e]=new m(e,0,!1,e,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(e){var t=e[0];g[t]=new m(t,1,!1,e[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(e){g[e]=new m(e,2,!1,e.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(e){g[e]=new m(e,2,!1,e,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(e){g[e]=new m(e,3,!1,e.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(e){g[e]=new m(e,3,!0,e,null,!1,!1)}),["capture","download"].forEach(function(e){g[e]=new m(e,4,!1,e,null,!1,!1)}),["cols","rows","size","span"].forEach(function(e){g[e]=new m(e,6,!1,e,null,!1,!1)}),["rowSpan","start"].forEach(function(e){g[e]=new m(e,5,!1,e.toLowerCase(),null,!1,!1)});var v=/[\-:]([a-z])/g;function b(e){return e[1].toUpperCase()}function y(e,t,n,r){var i=g.hasOwnProperty(t)?g[t]:null;(null!==i?0!==i.type:r||!(2<t.length)||"o"!==t[0]&&"O"!==t[0]||"n"!==t[1]&&"N"!==t[1])&&(function(e,t,n,r){if(null==t||function(e,t,n,r){if(null!==n&&0===n.type)return!1;switch(typeof t){case"function":case"symbol":return!0;case"boolean":return!r&&(null!==n?!n.acceptsBooleans:"data-"!==(e=e.toLowerCase().slice(0,5))&&"aria-"!==e);default:return!1}}(e,t,n,r))return!0;if(r)return!1;if(null!==n)switch(n.type){case 3:return!t;case 4:return!1===t;case 5:return isNaN(t);case 6:return isNaN(t)||1>t}return!1}(t,n,i,r)&&(n=null),r||null===i?function(e){return!!d.call(p,e)||!d.call(f,e)&&(h.test(e)?p[e]=!0:(f[e]=!0,!1))}(t)&&(null===n?e.removeAttribute(t):e.setAttribute(t,""+n)):i.mustUseProperty?e[i.propertyName]=null===n?3!==i.type&&"":n:(t=i.attributeName,r=i.attributeNamespace,null===n?e.removeAttribute(t):(n=3===(i=i.type)||4===i&&!0===n?"":""+n,r?e.setAttributeNS(r,t,n):e.setAttribute(t,n))))}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(e){var t=e.replace(v,b);g[t]=new m(t,1,!1,e,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(e){var t=e.replace(v,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(e){var t=e.replace(v,b);g[t]=new m(t,1,!1,e,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!1,!1)}),g.xlinkHref=new m("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(e){g[e]=new m(e,1,!1,e.toLowerCase(),null,!0,!0)});var C=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,_=Symbol.for("react.element"),w=Symbol.for("react.portal"),x=Symbol.for("react.fragment"),S=Symbol.for("react.strict_mode"),E=Symbol.for("react.profiler"),k=Symbol.for("react.provider"),M=Symbol.for("react.context"),O=Symbol.for("react.forward_ref"),j=Symbol.for("react.suspense"),T=Symbol.for("react.suspense_list"),P=Symbol.for("react.memo"),D=Symbol.for("react.lazy");Symbol.for("react.scope"),Symbol.for("react.debug_trace_mode");var A=Symbol.for("react.offscreen");Symbol.for("react.legacy_hidden"),Symbol.for("react.cache"),Symbol.for("react.tracing_marker");var L=Symbol.iterator;function I(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=L&&e[L]||e["@@iterator"])?e:null}var N,R=Object.assign;function z(e){if(void 0===N)try{throw Error()}catch(e){var t=e.stack.trim().match(/\n( *(at )?)/);N=t&&t[1]||""}return"\n"+N+e}var F=!1;function H(e,t){if(!e||F)return"";F=!0;var n=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(t)if(t=function(){throw Error()},Object.defineProperty(t.prototype,"props",{set:function(){throw Error()}}),"object"==typeof Reflect&&Reflect.construct){try{Reflect.construct(t,[])}catch(e){var r=e}Reflect.construct(e,[],t)}else{try{t.call()}catch(e){r=e}e.call(t.prototype)}else{try{throw Error()}catch(e){r=e}e()}}catch(t){if(t&&r&&"string"==typeof t.stack){for(var i=t.stack.split("\n"),a=r.stack.split("\n"),o=i.length-1,s=a.length-1;1<=o&&0<=s&&i[o]!==a[s];)s--;for(;1<=o&&0<=s;o--,s--)if(i[o]!==a[s]){if(1!==o||1!==s)do{if(o--,0>--s||i[o]!==a[s]){var l="\n"+i[o].replace(" at new "," at ");return e.displayName&&l.includes("<anonymous>")&&(l=l.replace("<anonymous>",e.displayName)),l}}while(1<=o&&0<=s);break}}}finally{F=!1,Error.prepareStackTrace=n}return(e=e?e.displayName||e.name:"")?z(e):""}function $(e){switch(e.tag){case 5:return z(e.type);case 16:return z("Lazy");case 13:return z("Suspense");case 19:return z("SuspenseList");case 0:case 2:case 15:return H(e.type,!1);case 11:return H(e.type.render,!1);case 1:return H(e.type,!0);default:return""}}function V(e){if(null==e)return null;if("function"==typeof e)return e.displayName||e.name||null;if("string"==typeof e)return e;switch(e){case x:return"Fragment";case w:return"Portal";case E:return"Profiler";case S:return"StrictMode";case j:return"Suspense";case T:return"SuspenseList"}if("object"==typeof e)switch(e.$$typeof){case M:return(e.displayName||"Context")+".Consumer";case k:return(e._context.displayName||"Context")+".Provider";case O:var t=e.render;return(e=e.displayName)||(e=""!==(e=t.displayName||t.name||"")?"ForwardRef("+e+")":"ForwardRef"),e;case P:return null!==(t=e.displayName||null)?t:V(e.type)||"Memo";case D:t=e._payload,e=e._init;try{return V(e(t))}catch(e){}}return null}function U(e){var t=e.type;switch(e.tag){case 24:return"Cache";case 9:return(t.displayName||"Context")+".Consumer";case 10:return(t._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return e=(e=t.render).displayName||e.name||"",t.displayName||(""!==e?"ForwardRef("+e+")":"ForwardRef");case 7:return"Fragment";case 5:return t;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return V(t);case 8:return t===S?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if("function"==typeof t)return t.displayName||t.name||null;if("string"==typeof t)return t}return null}function B(e){switch(typeof e){case"boolean":case"number":case"string":case"undefined":case"object":return e;default:return""}}function W(e){var t=e.type;return(e=e.nodeName)&&"input"===e.toLowerCase()&&("checkbox"===t||"radio"===t)}function Z(e){e._valueTracker||(e._valueTracker=function(e){var t=W(e)?"checked":"value",n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),r=""+e[t];if(!e.hasOwnProperty(t)&&void 0!==n&&"function"==typeof n.get&&"function"==typeof n.set){var i=n.get,a=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return i.call(this)},set:function(e){r=""+e,a.call(this,e)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return r},setValue:function(e){r=""+e},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}(e))}function q(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var n=t.getValue(),r="";return e&&(r=W(e)?e.checked?"true":"false":e.value),(e=r)!==n&&(t.setValue(e),!0)}function G(e){if(void 0===(e=e||("undefined"!=typeof document?document:void 0)))return null;try{return e.activeElement||e.body}catch(t){return e.body}}function Y(e,t){var n=t.checked;return R({},t,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:null!=n?n:e._wrapperState.initialChecked})}function Q(e,t){var n=null==t.defaultValue?"":t.defaultValue,r=null!=t.checked?t.checked:t.defaultChecked;n=B(null!=t.value?t.value:n),e._wrapperState={initialChecked:r,initialValue:n,controlled:"checkbox"===t.type||"radio"===t.type?null!=t.checked:null!=t.value}}function K(e,t){null!=(t=t.checked)&&y(e,"checked",t,!1)}function X(e,t){K(e,t);var n=B(t.value),r=t.type;if(null!=n)"number"===r?(0===n&&""===e.value||e.value!=n)&&(e.value=""+n):e.value!==""+n&&(e.value=""+n);else if("submit"===r||"reset"===r)return void e.removeAttribute("value");t.hasOwnProperty("value")?ee(e,t.type,n):t.hasOwnProperty("defaultValue")&&ee(e,t.type,B(t.defaultValue)),null==t.checked&&null!=t.defaultChecked&&(e.defaultChecked=!!t.defaultChecked)}function J(e,t,n){if(t.hasOwnProperty("value")||t.hasOwnProperty("defaultValue")){var r=t.type;if(!("submit"!==r&&"reset"!==r||void 0!==t.value&&null!==t.value))return;t=""+e._wrapperState.initialValue,n||t===e.value||(e.value=t),e.defaultValue=t}""!==(n=e.name)&&(e.name=""),e.defaultChecked=!!e._wrapperState.initialChecked,""!==n&&(e.name=n)}function ee(e,t,n){"number"===t&&G(e.ownerDocument)===e||(null==n?e.defaultValue=""+e._wrapperState.initialValue:e.defaultValue!==""+n&&(e.defaultValue=""+n))}var te=Array.isArray;function ne(e,t,n,r){if(e=e.options,t){t={};for(var i=0;i<n.length;i++)t["$"+n[i]]=!0;for(n=0;n<e.length;n++)i=t.hasOwnProperty("$"+e[n].value),e[n].selected!==i&&(e[n].selected=i),i&&r&&(e[n].defaultSelected=!0)}else{for(n=""+B(n),t=null,i=0;i<e.length;i++){if(e[i].value===n)return e[i].selected=!0,void(r&&(e[i].defaultSelected=!0));null!==t||e[i].disabled||(t=e[i])}null!==t&&(t.selected=!0)}}function re(e,t){if(null!=t.dangerouslySetInnerHTML)throw Error(a(91));return R({},t,{value:void 0,defaultValue:void 0,children:""+e._wrapperState.initialValue})}function ie(e,t){var n=t.value;if(null==n){if(n=t.children,t=t.defaultValue,null!=n){if(null!=t)throw Error(a(92));if(te(n)){if(1<n.length)throw Error(a(93));n=n[0]}t=n}null==t&&(t=""),n=t}e._wrapperState={initialValue:B(n)}}function ae(e,t){var n=B(t.value),r=B(t.defaultValue);null!=n&&((n=""+n)!==e.value&&(e.value=n),null==t.defaultValue&&e.defaultValue!==n&&(e.defaultValue=n)),null!=r&&(e.defaultValue=""+r)}function oe(e){var t=e.textContent;t===e._wrapperState.initialValue&&""!==t&&null!==t&&(e.value=t)}function se(e){switch(e){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function le(e,t){return null==e||"http://www.w3.org/1999/xhtml"===e?se(t):"http://www.w3.org/2000/svg"===e&&"foreignObject"===t?"http://www.w3.org/1999/xhtml":e}var ce,ue,de=(ue=function(e,t){if("http://www.w3.org/2000/svg"!==e.namespaceURI||"innerHTML"in e)e.innerHTML=t;else{for((ce=ce||document.createElement("div")).innerHTML="<svg>"+t.valueOf().toString()+"</svg>",t=ce.firstChild;e.firstChild;)e.removeChild(e.firstChild);for(;t.firstChild;)e.appendChild(t.firstChild)}},"undefined"!=typeof MSApp&&MSApp.execUnsafeLocalFunction?function(e,t,n,r){MSApp.execUnsafeLocalFunction(function(){return ue(e,t)})}:ue);function he(e,t){if(t){var n=e.firstChild;if(n&&n===e.lastChild&&3===n.nodeType)return void(n.nodeValue=t)}e.textContent=t}var fe={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},pe=["Webkit","ms","Moz","O"];function me(e,t,n){return null==t||"boolean"==typeof t||""===t?"":n||"number"!=typeof t||0===t||fe.hasOwnProperty(e)&&fe[e]?(""+t).trim():t+"px"}function ge(e,t){for(var n in e=e.style,t)if(t.hasOwnProperty(n)){var r=0===n.indexOf("--"),i=me(n,t[n],r);"float"===n&&(n="cssFloat"),r?e.setProperty(n,i):e[n]=i}}Object.keys(fe).forEach(function(e){pe.forEach(function(t){t=t+e.charAt(0).toUpperCase()+e.substring(1),fe[t]=fe[e]})});var ve=R({menuitem:!0},{area:!0,base:!0,br:!0,col:!0,embed:!0,hr:!0,img:!0,input:!0,keygen:!0,link:!0,meta:!0,param:!0,source:!0,track:!0,wbr:!0});function be(e,t){if(t){if(ve[e]&&(null!=t.children||null!=t.dangerouslySetInnerHTML))throw Error(a(137,e));if(null!=t.dangerouslySetInnerHTML){if(null!=t.children)throw Error(a(60));if("object"!=typeof t.dangerouslySetInnerHTML||!("__html"in t.dangerouslySetInnerHTML))throw Error(a(61))}if(null!=t.style&&"object"!=typeof t.style)throw Error(a(62))}}function ye(e,t){if(-1===e.indexOf("-"))return"string"==typeof t.is;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function _e(e){return(e=e.target||e.srcElement||window).correspondingUseElement&&(e=e.correspondingUseElement),3===e.nodeType?e.parentNode:e}var we=null,xe=null,Se=null;function Ee(e){if(e=yi(e)){if("function"!=typeof we)throw Error(a(280));var t=e.stateNode;t&&(t=_i(t),we(e.stateNode,e.type,t))}}function ke(e){xe?Se?Se.push(e):Se=[e]:xe=e}function Me(){if(xe){var e=xe,t=Se;if(Se=xe=null,Ee(e),t)for(e=0;e<t.length;e++)Ee(t[e])}}function Oe(e,t){return e(t)}function je(){}var Te=!1;function Pe(e,t,n){if(Te)return e(t,n);Te=!0;try{return Oe(e,t,n)}finally{Te=!1,(null!==xe||null!==Se)&&(je(),Me())}}function De(e,t){var n=e.stateNode;if(null===n)return null;var r=_i(n);if(null===r)return null;n=r[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(r=!r.disabled)||(r=!("button"===(e=e.type)||"input"===e||"select"===e||"textarea"===e)),e=!r;break e;default:e=!1}if(e)return null;if(n&&"function"!=typeof n)throw Error(a(231,t,typeof n));return n}var Ae=!1;if(u)try{var Le={};Object.defineProperty(Le,"passive",{get:function(){Ae=!0}}),window.addEventListener("test",Le,Le),window.removeEventListener("test",Le,Le)}catch(ue){Ae=!1}function Ie(e,t,n,r,i,a,o,s,l){var c=Array.prototype.slice.call(arguments,3);try{t.apply(n,c)}catch(e){this.onError(e)}}var Ne=!1,Re=null,ze=!1,Fe=null,He={onError:function(e){Ne=!0,Re=e}};function $e(e,t,n,r,i,a,o,s,l){Ne=!1,Re=null,Ie.apply(He,arguments)}function Ve(e){var t=e,n=e;if(e.alternate)for(;t.return;)t=t.return;else{e=t;do{!!(4098&(t=e).flags)&&(n=t.return),e=t.return}while(e)}return 3===t.tag?n:null}function Ue(e){if(13===e.tag){var t=e.memoizedState;if(null===t&&null!==(e=e.alternate)&&(t=e.memoizedState),null!==t)return t.dehydrated}return null}function Be(e){if(Ve(e)!==e)throw Error(a(188))}function We(e){return null!==(e=function(e){var t=e.alternate;if(!t){if(null===(t=Ve(e)))throw Error(a(188));return t!==e?null:e}for(var n=e,r=t;;){var i=n.return;if(null===i)break;var o=i.alternate;if(null===o){if(null!==(r=i.return)){n=r;continue}break}if(i.child===o.child){for(o=i.child;o;){if(o===n)return Be(i),e;if(o===r)return Be(i),t;o=o.sibling}throw Error(a(188))}if(n.return!==r.return)n=i,r=o;else{for(var s=!1,l=i.child;l;){if(l===n){s=!0,n=i,r=o;break}if(l===r){s=!0,r=i,n=o;break}l=l.sibling}if(!s){for(l=o.child;l;){if(l===n){s=!0,n=o,r=i;break}if(l===r){s=!0,r=o,n=i;break}l=l.sibling}if(!s)throw Error(a(189))}}if(n.alternate!==r)throw Error(a(190))}if(3!==n.tag)throw Error(a(188));return n.stateNode.current===n?e:t}(e))?Ze(e):null}function Ze(e){if(5===e.tag||6===e.tag)return e;for(e=e.child;null!==e;){var t=Ze(e);if(null!==t)return t;e=e.sibling}return null}var qe=i.unstable_scheduleCallback,Ge=i.unstable_cancelCallback,Ye=i.unstable_shouldYield,Qe=i.unstable_requestPaint,Ke=i.unstable_now,Xe=i.unstable_getCurrentPriorityLevel,Je=i.unstable_ImmediatePriority,et=i.unstable_UserBlockingPriority,tt=i.unstable_NormalPriority,nt=i.unstable_LowPriority,rt=i.unstable_IdlePriority,it=null,at=null,ot=Math.clz32?Math.clz32:function(e){return 0===(e>>>=0)?32:31-(st(e)/lt|0)|0},st=Math.log,lt=Math.LN2,ct=64,ut=4194304;function dt(e){switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return 4194240&e;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return 130023424&e;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return e}}function ht(e,t){var n=e.pendingLanes;if(0===n)return 0;var r=0,i=e.suspendedLanes,a=e.pingedLanes,o=268435455&n;if(0!==o){var s=o&~i;0!==s?r=dt(s):0!==(a&=o)&&(r=dt(a))}else 0!==(o=n&~i)?r=dt(o):0!==a&&(r=dt(a));if(0===r)return 0;if(0!==t&&t!==r&&0===(t&i)&&((i=r&-r)>=(a=t&-t)||16===i&&4194240&a))return t;if(4&r&&(r|=16&n),0!==(t=e.entangledLanes))for(e=e.entanglements,t&=r;0<t;)i=1<<(n=31-ot(t)),r|=e[n],t&=~i;return r}function ft(e,t){switch(e){case 1:case 2:case 4:return t+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;default:return-1}}function pt(e){return 0!=(e=-1073741825&e.pendingLanes)?e:1073741824&e?1073741824:0}function mt(){var e=ct;return!(4194240&(ct<<=1))&&(ct=64),e}function gt(e){for(var t=[],n=0;31>n;n++)t.push(e);return t}function vt(e,t,n){e.pendingLanes|=t,536870912!==t&&(e.suspendedLanes=0,e.pingedLanes=0),(e=e.eventTimes)[t=31-ot(t)]=n}function bt(e,t){var n=e.entangledLanes|=t;for(e=e.entanglements;n;){var r=31-ot(n),i=1<<r;i&t|e[r]&t&&(e[r]|=t),n&=~i}}var yt=0;function Ct(e){return 1<(e&=-e)?4<e?268435455&e?16:536870912:4:1}var _t,wt,xt,St,Et,kt=!1,Mt=[],Ot=null,jt=null,Tt=null,Pt=new Map,Dt=new Map,At=[],Lt="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function It(e,t){switch(e){case"focusin":case"focusout":Ot=null;break;case"dragenter":case"dragleave":jt=null;break;case"mouseover":case"mouseout":Tt=null;break;case"pointerover":case"pointerout":Pt.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Dt.delete(t.pointerId)}}function Nt(e,t,n,r,i,a){return null===e||e.nativeEvent!==a?(e={blockedOn:t,domEventName:n,eventSystemFlags:r,nativeEvent:a,targetContainers:[i]},null!==t&&null!==(t=yi(t))&&wt(t),e):(e.eventSystemFlags|=r,t=e.targetContainers,null!==i&&-1===t.indexOf(i)&&t.push(i),e)}function Rt(e){var t=bi(e.target);if(null!==t){var n=Ve(t);if(null!==n)if(13===(t=n.tag)){if(null!==(t=Ue(n)))return e.blockedOn=t,void Et(e.priority,function(){xt(n)})}else if(3===t&&n.stateNode.current.memoizedState.isDehydrated)return void(e.blockedOn=3===n.tag?n.stateNode.containerInfo:null)}e.blockedOn=null}function zt(e){if(null!==e.blockedOn)return!1;for(var t=e.targetContainers;0<t.length;){var n=Yt(e.domEventName,e.eventSystemFlags,t[0],e.nativeEvent);if(null!==n)return null!==(t=yi(n))&&wt(t),e.blockedOn=n,!1;var r=new(n=e.nativeEvent).constructor(n.type,n);Ce=r,n.target.dispatchEvent(r),Ce=null,t.shift()}return!0}function Ft(e,t,n){zt(e)&&n.delete(t)}function Ht(){kt=!1,null!==Ot&&zt(Ot)&&(Ot=null),null!==jt&&zt(jt)&&(jt=null),null!==Tt&&zt(Tt)&&(Tt=null),Pt.forEach(Ft),Dt.forEach(Ft)}function $t(e,t){e.blockedOn===t&&(e.blockedOn=null,kt||(kt=!0,i.unstable_scheduleCallback(i.unstable_NormalPriority,Ht)))}function Vt(e){function t(t){return $t(t,e)}if(0<Mt.length){$t(Mt[0],e);for(var n=1;n<Mt.length;n++){var r=Mt[n];r.blockedOn===e&&(r.blockedOn=null)}}for(null!==Ot&&$t(Ot,e),null!==jt&&$t(jt,e),null!==Tt&&$t(Tt,e),Pt.forEach(t),Dt.forEach(t),n=0;n<At.length;n++)(r=At[n]).blockedOn===e&&(r.blockedOn=null);for(;0<At.length&&null===(n=At[0]).blockedOn;)Rt(n),null===n.blockedOn&&At.shift()}var Ut=C.ReactCurrentBatchConfig,Bt=!0;function Wt(e,t,n,r){var i=yt,a=Ut.transition;Ut.transition=null;try{yt=1,qt(e,t,n,r)}finally{yt=i,Ut.transition=a}}function Zt(e,t,n,r){var i=yt,a=Ut.transition;Ut.transition=null;try{yt=4,qt(e,t,n,r)}finally{yt=i,Ut.transition=a}}function qt(e,t,n,r){if(Bt){var i=Yt(e,t,n,r);if(null===i)Br(e,t,r,Gt,n),It(e,r);else if(function(e,t,n,r,i){switch(t){case"focusin":return Ot=Nt(Ot,e,t,n,r,i),!0;case"dragenter":return jt=Nt(jt,e,t,n,r,i),!0;case"mouseover":return Tt=Nt(Tt,e,t,n,r,i),!0;case"pointerover":var a=i.pointerId;return Pt.set(a,Nt(Pt.get(a)||null,e,t,n,r,i)),!0;case"gotpointercapture":return a=i.pointerId,Dt.set(a,Nt(Dt.get(a)||null,e,t,n,r,i)),!0}return!1}(i,e,t,n,r))r.stopPropagation();else if(It(e,r),4&t&&-1<Lt.indexOf(e)){for(;null!==i;){var a=yi(i);if(null!==a&&_t(a),null===(a=Yt(e,t,n,r))&&Br(e,t,r,Gt,n),a===i)break;i=a}null!==i&&r.stopPropagation()}else Br(e,t,r,null,n)}}var Gt=null;function Yt(e,t,n,r){if(Gt=null,null!==(e=bi(e=_e(r))))if(null===(t=Ve(e)))e=null;else if(13===(n=t.tag)){if(null!==(e=Ue(t)))return e;e=null}else if(3===n){if(t.stateNode.current.memoizedState.isDehydrated)return 3===t.tag?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null);return Gt=e,null}function Qt(e){switch(e){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(Xe()){case Je:return 1;case et:return 4;case tt:case nt:return 16;case rt:return 536870912;default:return 16}default:return 16}}var Kt=null,Xt=null,Jt=null;function en(){if(Jt)return Jt;var e,t,n=Xt,r=n.length,i="value"in Kt?Kt.value:Kt.textContent,a=i.length;for(e=0;e<r&&n[e]===i[e];e++);var o=r-e;for(t=1;t<=o&&n[r-t]===i[a-t];t++);return Jt=i.slice(e,1<t?1-t:void 0)}function tn(e){var t=e.keyCode;return"charCode"in e?0===(e=e.charCode)&&13===t&&(e=13):e=t,10===e&&(e=13),32<=e||13===e?e:0}function nn(){return!0}function rn(){return!1}function an(e){function t(t,n,r,i,a){for(var o in this._reactName=t,this._targetInst=r,this.type=n,this.nativeEvent=i,this.target=a,this.currentTarget=null,e)e.hasOwnProperty(o)&&(t=e[o],this[o]=t?t(i):i[o]);return this.isDefaultPrevented=(null!=i.defaultPrevented?i.defaultPrevented:!1===i.returnValue)?nn:rn,this.isPropagationStopped=rn,this}return R(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var e=this.nativeEvent;e&&(e.preventDefault?e.preventDefault():"unknown"!=typeof e.returnValue&&(e.returnValue=!1),this.isDefaultPrevented=nn)},stopPropagation:function(){var e=this.nativeEvent;e&&(e.stopPropagation?e.stopPropagation():"unknown"!=typeof e.cancelBubble&&(e.cancelBubble=!0),this.isPropagationStopped=nn)},persist:function(){},isPersistent:nn}),t}var on,sn,ln,cn={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},un=an(cn),dn=R({},cn,{view:0,detail:0}),hn=an(dn),fn=R({},dn,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:En,button:0,buttons:0,relatedTarget:function(e){return void 0===e.relatedTarget?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ln&&(ln&&"mousemove"===e.type?(on=e.screenX-ln.screenX,sn=e.screenY-ln.screenY):sn=on=0,ln=e),on)},movementY:function(e){return"movementY"in e?e.movementY:sn}}),pn=an(fn),mn=an(R({},fn,{dataTransfer:0})),gn=an(R({},dn,{relatedTarget:0})),vn=an(R({},cn,{animationName:0,elapsedTime:0,pseudoElement:0})),bn=R({},cn,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),yn=an(bn),Cn=an(R({},cn,{data:0})),_n={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},wn={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},xn={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function Sn(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):!!(e=xn[e])&&!!t[e]}function En(){return Sn}var kn=R({},dn,{key:function(e){if(e.key){var t=_n[e.key]||e.key;if("Unidentified"!==t)return t}return"keypress"===e.type?13===(e=tn(e))?"Enter":String.fromCharCode(e):"keydown"===e.type||"keyup"===e.type?wn[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:En,charCode:function(e){return"keypress"===e.type?tn(e):0},keyCode:function(e){return"keydown"===e.type||"keyup"===e.type?e.keyCode:0},which:function(e){return"keypress"===e.type?tn(e):"keydown"===e.type||"keyup"===e.type?e.keyCode:0}}),Mn=an(kn),On=an(R({},fn,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0})),jn=an(R({},dn,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:En})),Tn=an(R({},cn,{propertyName:0,elapsedTime:0,pseudoElement:0})),Pn=R({},fn,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Dn=an(Pn),An=[9,13,27,32],Ln=u&&"CompositionEvent"in window,In=null;u&&"documentMode"in document&&(In=document.documentMode);var Nn=u&&"TextEvent"in window&&!In,Rn=u&&(!Ln||In&&8<In&&11>=In),zn=String.fromCharCode(32),Fn=!1;function Hn(e,t){switch(e){case"keyup":return-1!==An.indexOf(t.keyCode);case"keydown":return 229!==t.keyCode;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function $n(e){return"object"==typeof(e=e.detail)&&"data"in e?e.data:null}var Vn=!1,Un={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Bn(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return"input"===t?!!Un[e.type]:"textarea"===t}function Wn(e,t,n,r){ke(r),0<(t=Zr(t,"onChange")).length&&(n=new un("onChange","change",null,n,r),e.push({event:n,listeners:t}))}var Zn=null,qn=null;function Gn(e){zr(e,0)}function Yn(e){if(q(Ci(e)))return e}function Qn(e,t){if("change"===e)return t}var Kn=!1;if(u){var Xn;if(u){var Jn="oninput"in document;if(!Jn){var er=document.createElement("div");er.setAttribute("oninput","return;"),Jn="function"==typeof er.oninput}Xn=Jn}else Xn=!1;Kn=Xn&&(!document.documentMode||9<document.documentMode)}function tr(){Zn&&(Zn.detachEvent("onpropertychange",nr),qn=Zn=null)}function nr(e){if("value"===e.propertyName&&Yn(qn)){var t=[];Wn(t,qn,e,_e(e)),Pe(Gn,t)}}function rr(e,t,n){"focusin"===e?(tr(),qn=n,(Zn=t).attachEvent("onpropertychange",nr)):"focusout"===e&&tr()}function ir(e){if("selectionchange"===e||"keyup"===e||"keydown"===e)return Yn(qn)}function ar(e,t){if("click"===e)return Yn(t)}function or(e,t){if("input"===e||"change"===e)return Yn(t)}var sr="function"==typeof Object.is?Object.is:function(e,t){return e===t&&(0!==e||1/e==1/t)||e!=e&&t!=t};function lr(e,t){if(sr(e,t))return!0;if("object"!=typeof e||null===e||"object"!=typeof t||null===t)return!1;var n=Object.keys(e),r=Object.keys(t);if(n.length!==r.length)return!1;for(r=0;r<n.length;r++){var i=n[r];if(!d.call(t,i)||!sr(e[i],t[i]))return!1}return!0}function cr(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function ur(e,t){var n,r=cr(e);for(e=0;r;){if(3===r.nodeType){if(n=e+r.textContent.length,e<=t&&n>=t)return{node:r,offset:t-e};e=n}e:{for(;r;){if(r.nextSibling){r=r.nextSibling;break e}r=r.parentNode}r=void 0}r=cr(r)}}function dr(e,t){return!(!e||!t)&&(e===t||(!e||3!==e.nodeType)&&(t&&3===t.nodeType?dr(e,t.parentNode):"contains"in e?e.contains(t):!!e.compareDocumentPosition&&!!(16&e.compareDocumentPosition(t))))}function hr(){for(var e=window,t=G();t instanceof e.HTMLIFrameElement;){try{var n="string"==typeof t.contentWindow.location.href}catch(e){n=!1}if(!n)break;t=G((e=t.contentWindow).document)}return t}function fr(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&("input"===t&&("text"===e.type||"search"===e.type||"tel"===e.type||"url"===e.type||"password"===e.type)||"textarea"===t||"true"===e.contentEditable)}function pr(e){var t=hr(),n=e.focusedElem,r=e.selectionRange;if(t!==n&&n&&n.ownerDocument&&dr(n.ownerDocument.documentElement,n)){if(null!==r&&fr(n))if(t=r.start,void 0===(e=r.end)&&(e=t),"selectionStart"in n)n.selectionStart=t,n.selectionEnd=Math.min(e,n.value.length);else if((e=(t=n.ownerDocument||document)&&t.defaultView||window).getSelection){e=e.getSelection();var i=n.textContent.length,a=Math.min(r.start,i);r=void 0===r.end?a:Math.min(r.end,i),!e.extend&&a>r&&(i=r,r=a,a=i),i=ur(n,a);var o=ur(n,r);i&&o&&(1!==e.rangeCount||e.anchorNode!==i.node||e.anchorOffset!==i.offset||e.focusNode!==o.node||e.focusOffset!==o.offset)&&((t=t.createRange()).setStart(i.node,i.offset),e.removeAllRanges(),a>r?(e.addRange(t),e.extend(o.node,o.offset)):(t.setEnd(o.node,o.offset),e.addRange(t)))}for(t=[],e=n;e=e.parentNode;)1===e.nodeType&&t.push({element:e,left:e.scrollLeft,top:e.scrollTop});for("function"==typeof n.focus&&n.focus(),n=0;n<t.length;n++)(e=t[n]).element.scrollLeft=e.left,e.element.scrollTop=e.top}}var mr=u&&"documentMode"in document&&11>=document.documentMode,gr=null,vr=null,br=null,yr=!1;function Cr(e,t,n){var r=n.window===n?n.document:9===n.nodeType?n:n.ownerDocument;yr||null==gr||gr!==G(r)||(r="selectionStart"in(r=gr)&&fr(r)?{start:r.selectionStart,end:r.selectionEnd}:{anchorNode:(r=(r.ownerDocument&&r.ownerDocument.defaultView||window).getSelection()).anchorNode,anchorOffset:r.anchorOffset,focusNode:r.focusNode,focusOffset:r.focusOffset},br&&lr(br,r)||(br=r,0<(r=Zr(vr,"onSelect")).length&&(t=new un("onSelect","select",null,t,n),e.push({event:t,listeners:r}),t.target=gr)))}function _r(e,t){var n={};return n[e.toLowerCase()]=t.toLowerCase(),n["Webkit"+e]="webkit"+t,n["Moz"+e]="moz"+t,n}var wr={animationend:_r("Animation","AnimationEnd"),animationiteration:_r("Animation","AnimationIteration"),animationstart:_r("Animation","AnimationStart"),transitionend:_r("Transition","TransitionEnd")},xr={},Sr={};function Er(e){if(xr[e])return xr[e];if(!wr[e])return e;var t,n=wr[e];for(t in n)if(n.hasOwnProperty(t)&&t in Sr)return xr[e]=n[t];return e}u&&(Sr=document.createElement("div").style,"AnimationEvent"in window||(delete wr.animationend.animation,delete wr.animationiteration.animation,delete wr.animationstart.animation),"TransitionEvent"in window||delete wr.transitionend.transition);var kr=Er("animationend"),Mr=Er("animationiteration"),Or=Er("animationstart"),jr=Er("transitionend"),Tr=new Map,Pr="abort auxClick cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");function Dr(e,t){Tr.set(e,t),l(t,[e])}for(var Ar=0;Ar<Pr.length;Ar++){var Lr=Pr[Ar];Dr(Lr.toLowerCase(),"on"+(Lr[0].toUpperCase()+Lr.slice(1)))}Dr(kr,"onAnimationEnd"),Dr(Mr,"onAnimationIteration"),Dr(Or,"onAnimationStart"),Dr("dblclick","onDoubleClick"),Dr("focusin","onFocus"),Dr("focusout","onBlur"),Dr(jr,"onTransitionEnd"),c("onMouseEnter",["mouseout","mouseover"]),c("onMouseLeave",["mouseout","mouseover"]),c("onPointerEnter",["pointerout","pointerover"]),c("onPointerLeave",["pointerout","pointerover"]),l("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),l("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),l("onBeforeInput",["compositionend","keypress","textInput","paste"]),l("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),l("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Ir="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nr=new Set("cancel close invalid load scroll toggle".split(" ").concat(Ir));function Rr(e,t,n){var r=e.type||"unknown-event";e.currentTarget=n,function(e,t,n,r,i,o,s,l,c){if($e.apply(this,arguments),Ne){if(!Ne)throw Error(a(198));var u=Re;Ne=!1,Re=null,ze||(ze=!0,Fe=u)}}(r,t,void 0,e),e.currentTarget=null}function zr(e,t){t=!!(4&t);for(var n=0;n<e.length;n++){var r=e[n],i=r.event;r=r.listeners;e:{var a=void 0;if(t)for(var o=r.length-1;0<=o;o--){var s=r[o],l=s.instance,c=s.currentTarget;if(s=s.listener,l!==a&&i.isPropagationStopped())break e;Rr(i,s,c),a=l}else for(o=0;o<r.length;o++){if(l=(s=r[o]).instance,c=s.currentTarget,s=s.listener,l!==a&&i.isPropagationStopped())break e;Rr(i,s,c),a=l}}}if(ze)throw e=Fe,ze=!1,Fe=null,e}function Fr(e,t){var n=t[mi];void 0===n&&(n=t[mi]=new Set);var r=e+"__bubble";n.has(r)||(Ur(t,e,2,!1),n.add(r))}function Hr(e,t,n){var r=0;t&&(r|=4),Ur(n,e,r,t)}var $r="_reactListening"+Math.random().toString(36).slice(2);function Vr(e){if(!e[$r]){e[$r]=!0,o.forEach(function(t){"selectionchange"!==t&&(Nr.has(t)||Hr(t,!1,e),Hr(t,!0,e))});var t=9===e.nodeType?e:e.ownerDocument;null===t||t[$r]||(t[$r]=!0,Hr("selectionchange",!1,t))}}function Ur(e,t,n,r){switch(Qt(t)){case 1:var i=Wt;break;case 4:i=Zt;break;default:i=qt}n=i.bind(null,t,n,e),i=void 0,!Ae||"touchstart"!==t&&"touchmove"!==t&&"wheel"!==t||(i=!0),r?void 0!==i?e.addEventListener(t,n,{capture:!0,passive:i}):e.addEventListener(t,n,!0):void 0!==i?e.addEventListener(t,n,{passive:i}):e.addEventListener(t,n,!1)}function Br(e,t,n,r,i){var a=r;if(!(1&t||2&t||null===r))e:for(;;){if(null===r)return;var o=r.tag;if(3===o||4===o){var s=r.stateNode.containerInfo;if(s===i||8===s.nodeType&&s.parentNode===i)break;if(4===o)for(o=r.return;null!==o;){var l=o.tag;if((3===l||4===l)&&((l=o.stateNode.containerInfo)===i||8===l.nodeType&&l.parentNode===i))return;o=o.return}for(;null!==s;){if(null===(o=bi(s)))return;if(5===(l=o.tag)||6===l){r=a=o;continue e}s=s.parentNode}}r=r.return}Pe(function(){var r=a,i=_e(n),o=[];e:{var s=Tr.get(e);if(void 0!==s){var l=un,c=e;switch(e){case"keypress":if(0===tn(n))break e;case"keydown":case"keyup":l=Mn;break;case"focusin":c="focus",l=gn;break;case"focusout":c="blur",l=gn;break;case"beforeblur":case"afterblur":l=gn;break;case"click":if(2===n.button)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":l=pn;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":l=mn;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":l=jn;break;case kr:case Mr:case Or:l=vn;break;case jr:l=Tn;break;case"scroll":l=hn;break;case"wheel":l=Dn;break;case"copy":case"cut":case"paste":l=yn;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":l=On}var u=!!(4&t),d=!u&&"scroll"===e,h=u?null!==s?s+"Capture":null:s;u=[];for(var f,p=r;null!==p;){var m=(f=p).stateNode;if(5===f.tag&&null!==m&&(f=m,null!==h&&null!=(m=De(p,h))&&u.push(Wr(p,m,f))),d)break;p=p.return}0<u.length&&(s=new l(s,c,null,n,i),o.push({event:s,listeners:u}))}}if(!(7&t)){if(l="mouseout"===e||"pointerout"===e,(!(s="mouseover"===e||"pointerover"===e)||n===Ce||!(c=n.relatedTarget||n.fromElement)||!bi(c)&&!c[pi])&&(l||s)&&(s=i.window===i?i:(s=i.ownerDocument)?s.defaultView||s.parentWindow:window,l?(l=r,null!==(c=(c=n.relatedTarget||n.toElement)?bi(c):null)&&(c!==(d=Ve(c))||5!==c.tag&&6!==c.tag)&&(c=null)):(l=null,c=r),l!==c)){if(u=pn,m="onMouseLeave",h="onMouseEnter",p="mouse","pointerout"!==e&&"pointerover"!==e||(u=On,m="onPointerLeave",h="onPointerEnter",p="pointer"),d=null==l?s:Ci(l),f=null==c?s:Ci(c),(s=new u(m,p+"leave",l,n,i)).target=d,s.relatedTarget=f,m=null,bi(i)===r&&((u=new u(h,p+"enter",c,n,i)).target=f,u.relatedTarget=d,m=u),d=m,l&&c)e:{for(h=c,p=0,f=u=l;f;f=qr(f))p++;for(f=0,m=h;m;m=qr(m))f++;for(;0<p-f;)u=qr(u),p--;for(;0<f-p;)h=qr(h),f--;for(;p--;){if(u===h||null!==h&&u===h.alternate)break e;u=qr(u),h=qr(h)}u=null}else u=null;null!==l&&Gr(o,s,l,u,!1),null!==c&&null!==d&&Gr(o,d,c,u,!0)}if("select"===(l=(s=r?Ci(r):window).nodeName&&s.nodeName.toLowerCase())||"input"===l&&"file"===s.type)var g=Qn;else if(Bn(s))if(Kn)g=or;else{g=ir;var v=rr}else(l=s.nodeName)&&"input"===l.toLowerCase()&&("checkbox"===s.type||"radio"===s.type)&&(g=ar);switch(g&&(g=g(e,r))?Wn(o,g,n,i):(v&&v(e,s,r),"focusout"===e&&(v=s._wrapperState)&&v.controlled&&"number"===s.type&&ee(s,"number",s.value)),v=r?Ci(r):window,e){case"focusin":(Bn(v)||"true"===v.contentEditable)&&(gr=v,vr=r,br=null);break;case"focusout":br=vr=gr=null;break;case"mousedown":yr=!0;break;case"contextmenu":case"mouseup":case"dragend":yr=!1,Cr(o,n,i);break;case"selectionchange":if(mr)break;case"keydown":case"keyup":Cr(o,n,i)}var b;if(Ln)e:{switch(e){case"compositionstart":var y="onCompositionStart";break e;case"compositionend":y="onCompositionEnd";break e;case"compositionupdate":y="onCompositionUpdate";break e}y=void 0}else Vn?Hn(e,n)&&(y="onCompositionEnd"):"keydown"===e&&229===n.keyCode&&(y="onCompositionStart");y&&(Rn&&"ko"!==n.locale&&(Vn||"onCompositionStart"!==y?"onCompositionEnd"===y&&Vn&&(b=en()):(Xt="value"in(Kt=i)?Kt.value:Kt.textContent,Vn=!0)),0<(v=Zr(r,y)).length&&(y=new Cn(y,e,null,n,i),o.push({event:y,listeners:v}),(b||null!==(b=$n(n)))&&(y.data=b))),(b=Nn?function(e,t){switch(e){case"compositionend":return $n(t);case"keypress":return 32!==t.which?null:(Fn=!0,zn);case"textInput":return(e=t.data)===zn&&Fn?null:e;default:return null}}(e,n):function(e,t){if(Vn)return"compositionend"===e||!Ln&&Hn(e,t)?(e=en(),Jt=Xt=Kt=null,Vn=!1,e):null;switch(e){case"paste":default:return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Rn&&"ko"!==t.locale?null:t.data}}(e,n))&&0<(r=Zr(r,"onBeforeInput")).length&&(i=new Cn("onBeforeInput","beforeinput",null,n,i),o.push({event:i,listeners:r}),i.data=b)}zr(o,t)})}function Wr(e,t,n){return{instance:e,listener:t,currentTarget:n}}function Zr(e,t){for(var n=t+"Capture",r=[];null!==e;){var i=e,a=i.stateNode;5===i.tag&&null!==a&&(i=a,null!=(a=De(e,n))&&r.unshift(Wr(e,a,i)),null!=(a=De(e,t))&&r.push(Wr(e,a,i))),e=e.return}return r}function qr(e){if(null===e)return null;do{e=e.return}while(e&&5!==e.tag);return e||null}function Gr(e,t,n,r,i){for(var a=t._reactName,o=[];null!==n&&n!==r;){var s=n,l=s.alternate,c=s.stateNode;if(null!==l&&l===r)break;5===s.tag&&null!==c&&(s=c,i?null!=(l=De(n,a))&&o.unshift(Wr(n,l,s)):i||null!=(l=De(n,a))&&o.push(Wr(n,l,s))),n=n.return}0!==o.length&&e.push({event:t,listeners:o})}var Yr=/\r\n?/g,Qr=/\u0000|\uFFFD/g;function Kr(e){return("string"==typeof e?e:""+e).replace(Yr,"\n").replace(Qr,"")}function Xr(e,t,n){if(t=Kr(t),Kr(e)!==t&&n)throw Error(a(425))}function Jr(){}var ei=null,ti=null;function ni(e,t){return"textarea"===e||"noscript"===e||"string"==typeof t.children||"number"==typeof t.children||"object"==typeof t.dangerouslySetInnerHTML&&null!==t.dangerouslySetInnerHTML&&null!=t.dangerouslySetInnerHTML.__html}var ri="function"==typeof setTimeout?setTimeout:void 0,ii="function"==typeof clearTimeout?clearTimeout:void 0,ai="function"==typeof Promise?Promise:void 0,oi="function"==typeof queueMicrotask?queueMicrotask:void 0!==ai?function(e){return ai.resolve(null).then(e).catch(si)}:ri;function si(e){setTimeout(function(){throw e})}function li(e,t){var n=t,r=0;do{var i=n.nextSibling;if(e.removeChild(n),i&&8===i.nodeType)if("/$"===(n=i.data)){if(0===r)return e.removeChild(i),void Vt(t);r--}else"$"!==n&&"$?"!==n&&"$!"!==n||r++;n=i}while(n);Vt(t)}function ci(e){for(;null!=e;e=e.nextSibling){var t=e.nodeType;if(1===t||3===t)break;if(8===t){if("$"===(t=e.data)||"$!"===t||"$?"===t)break;if("/$"===t)return null}}return e}function ui(e){e=e.previousSibling;for(var t=0;e;){if(8===e.nodeType){var n=e.data;if("$"===n||"$!"===n||"$?"===n){if(0===t)return e;t--}else"/$"===n&&t++}e=e.previousSibling}return null}var di=Math.random().toString(36).slice(2),hi="__reactFiber$"+di,fi="__reactProps$"+di,pi="__reactContainer$"+di,mi="__reactEvents$"+di,gi="__reactListeners$"+di,vi="__reactHandles$"+di;function bi(e){var t=e[hi];if(t)return t;for(var n=e.parentNode;n;){if(t=n[pi]||n[hi]){if(n=t.alternate,null!==t.child||null!==n&&null!==n.child)for(e=ui(e);null!==e;){if(n=e[hi])return n;e=ui(e)}return t}n=(e=n).parentNode}return null}function yi(e){return!(e=e[hi]||e[pi])||5!==e.tag&&6!==e.tag&&13!==e.tag&&3!==e.tag?null:e}function Ci(e){if(5===e.tag||6===e.tag)return e.stateNode;throw Error(a(33))}function _i(e){return e[fi]||null}var wi=[],xi=-1;function Si(e){return{current:e}}function Ei(e){0>xi||(e.current=wi[xi],wi[xi]=null,xi--)}function ki(e,t){xi++,wi[xi]=e.current,e.current=t}var Mi={},Oi=Si(Mi),ji=Si(!1),Ti=Mi;function Pi(e,t){var n=e.type.contextTypes;if(!n)return Mi;var r=e.stateNode;if(r&&r.__reactInternalMemoizedUnmaskedChildContext===t)return r.__reactInternalMemoizedMaskedChildContext;var i,a={};for(i in n)a[i]=t[i];return r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=t,e.__reactInternalMemoizedMaskedChildContext=a),a}function Di(e){return null!=e.childContextTypes}function Ai(){Ei(ji),Ei(Oi)}function Li(e,t,n){if(Oi.current!==Mi)throw Error(a(168));ki(Oi,t),ki(ji,n)}function Ii(e,t,n){var r=e.stateNode;if(t=t.childContextTypes,"function"!=typeof r.getChildContext)return n;for(var i in r=r.getChildContext())if(!(i in t))throw Error(a(108,U(e)||"Unknown",i));return R({},n,r)}function Ni(e){return e=(e=e.stateNode)&&e.__reactInternalMemoizedMergedChildContext||Mi,Ti=Oi.current,ki(Oi,e),ki(ji,ji.current),!0}function Ri(e,t,n){var r=e.stateNode;if(!r)throw Error(a(169));n?(e=Ii(e,t,Ti),r.__reactInternalMemoizedMergedChildContext=e,Ei(ji),Ei(Oi),ki(Oi,e)):Ei(ji),ki(ji,n)}var zi=null,Fi=!1,Hi=!1;function $i(e){null===zi?zi=[e]:zi.push(e)}function Vi(){if(!Hi&&null!==zi){Hi=!0;var e=0,t=yt;try{var n=zi;for(yt=1;e<n.length;e++){var r=n[e];do{r=r(!0)}while(null!==r)}zi=null,Fi=!1}catch(t){throw null!==zi&&(zi=zi.slice(e+1)),qe(Je,Vi),t}finally{yt=t,Hi=!1}}return null}var Ui=[],Bi=0,Wi=null,Zi=0,qi=[],Gi=0,Yi=null,Qi=1,Ki="";function Xi(e,t){Ui[Bi++]=Zi,Ui[Bi++]=Wi,Wi=e,Zi=t}function Ji(e,t,n){qi[Gi++]=Qi,qi[Gi++]=Ki,qi[Gi++]=Yi,Yi=e;var r=Qi;e=Ki;var i=32-ot(r)-1;r&=~(1<<i),n+=1;var a=32-ot(t)+i;if(30<a){var o=i-i%5;a=(r&(1<<o)-1).toString(32),r>>=o,i-=o,Qi=1<<32-ot(t)+i|n<<i|r,Ki=a+e}else Qi=1<<a|n<<i|r,Ki=e}function ea(e){null!==e.return&&(Xi(e,1),Ji(e,1,0))}function ta(e){for(;e===Wi;)Wi=Ui[--Bi],Ui[Bi]=null,Zi=Ui[--Bi],Ui[Bi]=null;for(;e===Yi;)Yi=qi[--Gi],qi[Gi]=null,Ki=qi[--Gi],qi[Gi]=null,Qi=qi[--Gi],qi[Gi]=null}var na=null,ra=null,ia=!1,aa=null;function oa(e,t){var n=Pc(5,null,null,0);n.elementType="DELETED",n.stateNode=t,n.return=e,null===(t=e.deletions)?(e.deletions=[n],e.flags|=16):t.push(n)}function sa(e,t){switch(e.tag){case 5:var n=e.type;return null!==(t=1!==t.nodeType||n.toLowerCase()!==t.nodeName.toLowerCase()?null:t)&&(e.stateNode=t,na=e,ra=ci(t.firstChild),!0);case 6:return null!==(t=""===e.pendingProps||3!==t.nodeType?null:t)&&(e.stateNode=t,na=e,ra=null,!0);case 13:return null!==(t=8!==t.nodeType?null:t)&&(n=null!==Yi?{id:Qi,overflow:Ki}:null,e.memoizedState={dehydrated:t,treeContext:n,retryLane:1073741824},(n=Pc(18,null,null,0)).stateNode=t,n.return=e,e.child=n,na=e,ra=null,!0);default:return!1}}function la(e){return!(!(1&e.mode)||128&e.flags)}function ca(e){if(ia){var t=ra;if(t){var n=t;if(!sa(e,t)){if(la(e))throw Error(a(418));t=ci(n.nextSibling);var r=na;t&&sa(e,t)?oa(r,n):(e.flags=-4097&e.flags|2,ia=!1,na=e)}}else{if(la(e))throw Error(a(418));e.flags=-4097&e.flags|2,ia=!1,na=e}}}function ua(e){for(e=e.return;null!==e&&5!==e.tag&&3!==e.tag&&13!==e.tag;)e=e.return;na=e}function da(e){if(e!==na)return!1;if(!ia)return ua(e),ia=!0,!1;var t;if((t=3!==e.tag)&&!(t=5!==e.tag)&&(t="head"!==(t=e.type)&&"body"!==t&&!ni(e.type,e.memoizedProps)),t&&(t=ra)){if(la(e))throw ha(),Error(a(418));for(;t;)oa(e,t),t=ci(t.nextSibling)}if(ua(e),13===e.tag){if(!(e=null!==(e=e.memoizedState)?e.dehydrated:null))throw Error(a(317));e:{for(e=e.nextSibling,t=0;e;){if(8===e.nodeType){var n=e.data;if("/$"===n){if(0===t){ra=ci(e.nextSibling);break e}t--}else"$"!==n&&"$!"!==n&&"$?"!==n||t++}e=e.nextSibling}ra=null}}else ra=na?ci(e.stateNode.nextSibling):null;return!0}function ha(){for(var e=ra;e;)e=ci(e.nextSibling)}function fa(){ra=na=null,ia=!1}function pa(e){null===aa?aa=[e]:aa.push(e)}var ma=C.ReactCurrentBatchConfig;function ga(e,t,n){if(null!==(e=n.ref)&&"function"!=typeof e&&"object"!=typeof e){if(n._owner){if(n=n._owner){if(1!==n.tag)throw Error(a(309));var r=n.stateNode}if(!r)throw Error(a(147,e));var i=r,o=""+e;return null!==t&&null!==t.ref&&"function"==typeof t.ref&&t.ref._stringRef===o?t.ref:(t=function(e){var t=i.refs;null===e?delete t[o]:t[o]=e},t._stringRef=o,t)}if("string"!=typeof e)throw Error(a(284));if(!n._owner)throw Error(a(290,e))}return e}function va(e,t){throw e=Object.prototype.toString.call(t),Error(a(31,"[object Object]"===e?"object with keys {"+Object.keys(t).join(", ")+"}":e))}function ba(e){return(0,e._init)(e._payload)}function ya(e){function t(t,n){if(e){var r=t.deletions;null===r?(t.deletions=[n],t.flags|=16):r.push(n)}}function n(n,r){if(!e)return null;for(;null!==r;)t(n,r),r=r.sibling;return null}function r(e,t){for(e=new Map;null!==t;)null!==t.key?e.set(t.key,t):e.set(t.index,t),t=t.sibling;return e}function i(e,t){return(e=Ac(e,t)).index=0,e.sibling=null,e}function o(t,n,r){return t.index=r,e?null!==(r=t.alternate)?(r=r.index)<n?(t.flags|=2,n):r:(t.flags|=2,n):(t.flags|=1048576,n)}function s(t){return e&&null===t.alternate&&(t.flags|=2),t}function l(e,t,n,r){return null===t||6!==t.tag?((t=Rc(n,e.mode,r)).return=e,t):((t=i(t,n)).return=e,t)}function c(e,t,n,r){var a=n.type;return a===x?d(e,t,n.props.children,r,n.key):null!==t&&(t.elementType===a||"object"==typeof a&&null!==a&&a.$$typeof===D&&ba(a)===t.type)?((r=i(t,n.props)).ref=ga(e,t,n),r.return=e,r):((r=Lc(n.type,n.key,n.props,null,e.mode,r)).ref=ga(e,t,n),r.return=e,r)}function u(e,t,n,r){return null===t||4!==t.tag||t.stateNode.containerInfo!==n.containerInfo||t.stateNode.implementation!==n.implementation?((t=zc(n,e.mode,r)).return=e,t):((t=i(t,n.children||[])).return=e,t)}function d(e,t,n,r,a){return null===t||7!==t.tag?((t=Ic(n,e.mode,r,a)).return=e,t):((t=i(t,n)).return=e,t)}function h(e,t,n){if("string"==typeof t&&""!==t||"number"==typeof t)return(t=Rc(""+t,e.mode,n)).return=e,t;if("object"==typeof t&&null!==t){switch(t.$$typeof){case _:return(n=Lc(t.type,t.key,t.props,null,e.mode,n)).ref=ga(e,null,t),n.return=e,n;case w:return(t=zc(t,e.mode,n)).return=e,t;case D:return h(e,(0,t._init)(t._payload),n)}if(te(t)||I(t))return(t=Ic(t,e.mode,n,null)).return=e,t;va(e,t)}return null}function f(e,t,n,r){var i=null!==t?t.key:null;if("string"==typeof n&&""!==n||"number"==typeof n)return null!==i?null:l(e,t,""+n,r);if("object"==typeof n&&null!==n){switch(n.$$typeof){case _:return n.key===i?c(e,t,n,r):null;case w:return n.key===i?u(e,t,n,r):null;case D:return f(e,t,(i=n._init)(n._payload),r)}if(te(n)||I(n))return null!==i?null:d(e,t,n,r,null);va(e,n)}return null}function p(e,t,n,r,i){if("string"==typeof r&&""!==r||"number"==typeof r)return l(t,e=e.get(n)||null,""+r,i);if("object"==typeof r&&null!==r){switch(r.$$typeof){case _:return c(t,e=e.get(null===r.key?n:r.key)||null,r,i);case w:return u(t,e=e.get(null===r.key?n:r.key)||null,r,i);case D:return p(e,t,n,(0,r._init)(r._payload),i)}if(te(r)||I(r))return d(t,e=e.get(n)||null,r,i,null);va(t,r)}return null}function m(i,a,s,l){for(var c=null,u=null,d=a,m=a=0,g=null;null!==d&&m<s.length;m++){d.index>m?(g=d,d=null):g=d.sibling;var v=f(i,d,s[m],l);if(null===v){null===d&&(d=g);break}e&&d&&null===v.alternate&&t(i,d),a=o(v,a,m),null===u?c=v:u.sibling=v,u=v,d=g}if(m===s.length)return n(i,d),ia&&Xi(i,m),c;if(null===d){for(;m<s.length;m++)null!==(d=h(i,s[m],l))&&(a=o(d,a,m),null===u?c=d:u.sibling=d,u=d);return ia&&Xi(i,m),c}for(d=r(i,d);m<s.length;m++)null!==(g=p(d,i,m,s[m],l))&&(e&&null!==g.alternate&&d.delete(null===g.key?m:g.key),a=o(g,a,m),null===u?c=g:u.sibling=g,u=g);return e&&d.forEach(function(e){return t(i,e)}),ia&&Xi(i,m),c}function g(i,s,l,c){var u=I(l);if("function"!=typeof u)throw Error(a(150));if(null==(l=u.call(l)))throw Error(a(151));for(var d=u=null,m=s,g=s=0,v=null,b=l.next();null!==m&&!b.done;g++,b=l.next()){m.index>g?(v=m,m=null):v=m.sibling;var y=f(i,m,b.value,c);if(null===y){null===m&&(m=v);break}e&&m&&null===y.alternate&&t(i,m),s=o(y,s,g),null===d?u=y:d.sibling=y,d=y,m=v}if(b.done)return n(i,m),ia&&Xi(i,g),u;if(null===m){for(;!b.done;g++,b=l.next())null!==(b=h(i,b.value,c))&&(s=o(b,s,g),null===d?u=b:d.sibling=b,d=b);return ia&&Xi(i,g),u}for(m=r(i,m);!b.done;g++,b=l.next())null!==(b=p(m,i,g,b.value,c))&&(e&&null!==b.alternate&&m.delete(null===b.key?g:b.key),s=o(b,s,g),null===d?u=b:d.sibling=b,d=b);return e&&m.forEach(function(e){return t(i,e)}),ia&&Xi(i,g),u}return function e(r,a,o,l){if("object"==typeof o&&null!==o&&o.type===x&&null===o.key&&(o=o.props.children),"object"==typeof o&&null!==o){switch(o.$$typeof){case _:e:{for(var c=o.key,u=a;null!==u;){if(u.key===c){if((c=o.type)===x){if(7===u.tag){n(r,u.sibling),(a=i(u,o.props.children)).return=r,r=a;break e}}else if(u.elementType===c||"object"==typeof c&&null!==c&&c.$$typeof===D&&ba(c)===u.type){n(r,u.sibling),(a=i(u,o.props)).ref=ga(r,u,o),a.return=r,r=a;break e}n(r,u);break}t(r,u),u=u.sibling}o.type===x?((a=Ic(o.props.children,r.mode,l,o.key)).return=r,r=a):((l=Lc(o.type,o.key,o.props,null,r.mode,l)).ref=ga(r,a,o),l.return=r,r=l)}return s(r);case w:e:{for(u=o.key;null!==a;){if(a.key===u){if(4===a.tag&&a.stateNode.containerInfo===o.containerInfo&&a.stateNode.implementation===o.implementation){n(r,a.sibling),(a=i(a,o.children||[])).return=r,r=a;break e}n(r,a);break}t(r,a),a=a.sibling}(a=zc(o,r.mode,l)).return=r,r=a}return s(r);case D:return e(r,a,(u=o._init)(o._payload),l)}if(te(o))return m(r,a,o,l);if(I(o))return g(r,a,o,l);va(r,o)}return"string"==typeof o&&""!==o||"number"==typeof o?(o=""+o,null!==a&&6===a.tag?(n(r,a.sibling),(a=i(a,o)).return=r,r=a):(n(r,a),(a=Rc(o,r.mode,l)).return=r,r=a),s(r)):n(r,a)}}var Ca=ya(!0),_a=ya(!1),wa=Si(null),xa=null,Sa=null,Ea=null;function ka(){Ea=Sa=xa=null}function Ma(e){var t=wa.current;Ei(wa),e._currentValue=t}function Oa(e,t,n){for(;null!==e;){var r=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,null!==r&&(r.childLanes|=t)):null!==r&&(r.childLanes&t)!==t&&(r.childLanes|=t),e===n)break;e=e.return}}function ja(e,t){xa=e,Ea=Sa=null,null!==(e=e.dependencies)&&null!==e.firstContext&&(0!==(e.lanes&t)&&(ys=!0),e.firstContext=null)}function Ta(e){var t=e._currentValue;if(Ea!==e)if(e={context:e,memoizedValue:t,next:null},null===Sa){if(null===xa)throw Error(a(308));Sa=e,xa.dependencies={lanes:0,firstContext:e}}else Sa=Sa.next=e;return t}var Pa=null;function Da(e){null===Pa?Pa=[e]:Pa.push(e)}function Aa(e,t,n,r){var i=t.interleaved;return null===i?(n.next=n,Da(t)):(n.next=i.next,i.next=n),t.interleaved=n,La(e,r)}function La(e,t){e.lanes|=t;var n=e.alternate;for(null!==n&&(n.lanes|=t),n=e,e=e.return;null!==e;)e.childLanes|=t,null!==(n=e.alternate)&&(n.childLanes|=t),n=e,e=e.return;return 3===n.tag?n.stateNode:null}var Ia=!1;function Na(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function Ra(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,effects:e.effects})}function za(e,t){return{eventTime:e,lane:t,tag:0,payload:null,callback:null,next:null}}function Fa(e,t,n){var r=e.updateQueue;if(null===r)return null;if(r=r.shared,2&Ol){var i=r.pending;return null===i?t.next=t:(t.next=i.next,i.next=t),r.pending=t,La(e,n)}return null===(i=r.interleaved)?(t.next=t,Da(r)):(t.next=i.next,i.next=t),r.interleaved=t,La(e,n)}function Ha(e,t,n){if(null!==(t=t.updateQueue)&&(t=t.shared,4194240&n)){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}function $a(e,t){var n=e.updateQueue,r=e.alternate;if(null!==r&&n===(r=r.updateQueue)){var i=null,a=null;if(null!==(n=n.firstBaseUpdate)){do{var o={eventTime:n.eventTime,lane:n.lane,tag:n.tag,payload:n.payload,callback:n.callback,next:null};null===a?i=a=o:a=a.next=o,n=n.next}while(null!==n);null===a?i=a=t:a=a.next=t}else i=a=t;return n={baseState:r.baseState,firstBaseUpdate:i,lastBaseUpdate:a,shared:r.shared,effects:r.effects},void(e.updateQueue=n)}null===(e=n.lastBaseUpdate)?n.firstBaseUpdate=t:e.next=t,n.lastBaseUpdate=t}function Va(e,t,n,r){var i=e.updateQueue;Ia=!1;var a=i.firstBaseUpdate,o=i.lastBaseUpdate,s=i.shared.pending;if(null!==s){i.shared.pending=null;var l=s,c=l.next;l.next=null,null===o?a=c:o.next=c,o=l;var u=e.alternate;null!==u&&(s=(u=u.updateQueue).lastBaseUpdate)!==o&&(null===s?u.firstBaseUpdate=c:s.next=c,u.lastBaseUpdate=l)}if(null!==a){var d=i.baseState;for(o=0,u=c=l=null,s=a;;){var h=s.lane,f=s.eventTime;if((r&h)===h){null!==u&&(u=u.next={eventTime:f,lane:0,tag:s.tag,payload:s.payload,callback:s.callback,next:null});e:{var p=e,m=s;switch(h=t,f=n,m.tag){case 1:if("function"==typeof(p=m.payload)){d=p.call(f,d,h);break e}d=p;break e;case 3:p.flags=-65537&p.flags|128;case 0:if(null==(h="function"==typeof(p=m.payload)?p.call(f,d,h):p))break e;d=R({},d,h);break e;case 2:Ia=!0}}null!==s.callback&&0!==s.lane&&(e.flags|=64,null===(h=i.effects)?i.effects=[s]:h.push(s))}else f={eventTime:f,lane:h,tag:s.tag,payload:s.payload,callback:s.callback,next:null},null===u?(c=u=f,l=d):u=u.next=f,o|=h;if(null===(s=s.next)){if(null===(s=i.shared.pending))break;s=(h=s).next,h.next=null,i.lastBaseUpdate=h,i.shared.pending=null}}if(null===u&&(l=d),i.baseState=l,i.firstBaseUpdate=c,i.lastBaseUpdate=u,null!==(t=i.shared.interleaved)){i=t;do{o|=i.lane,i=i.next}while(i!==t)}else null===a&&(i.shared.lanes=0);Nl|=o,e.lanes=o,e.memoizedState=d}}function Ua(e,t,n){if(e=t.effects,t.effects=null,null!==e)for(t=0;t<e.length;t++){var r=e[t],i=r.callback;if(null!==i){if(r.callback=null,r=n,"function"!=typeof i)throw Error(a(191,i));i.call(r)}}}var Ba={},Wa=Si(Ba),Za=Si(Ba),qa=Si(Ba);function Ga(e){if(e===Ba)throw Error(a(174));return e}function Ya(e,t){switch(ki(qa,t),ki(Za,e),ki(Wa,Ba),e=t.nodeType){case 9:case 11:t=(t=t.documentElement)?t.namespaceURI:le(null,"");break;default:t=le(t=(e=8===e?t.parentNode:t).namespaceURI||null,e=e.tagName)}Ei(Wa),ki(Wa,t)}function Qa(){Ei(Wa),Ei(Za),Ei(qa)}function Ka(e){Ga(qa.current);var t=Ga(Wa.current),n=le(t,e.type);t!==n&&(ki(Za,e),ki(Wa,n))}function Xa(e){Za.current===e&&(Ei(Wa),Ei(Za))}var Ja=Si(0);function eo(e){for(var t=e;null!==t;){if(13===t.tag){var n=t.memoizedState;if(null!==n&&(null===(n=n.dehydrated)||"$?"===n.data||"$!"===n.data))return t}else if(19===t.tag&&void 0!==t.memoizedProps.revealOrder){if(128&t.flags)return t}else if(null!==t.child){t.child.return=t,t=t.child;continue}if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var to=[];function no(){for(var e=0;e<to.length;e++)to[e]._workInProgressVersionPrimary=null;to.length=0}var ro=C.ReactCurrentDispatcher,io=C.ReactCurrentBatchConfig,ao=0,oo=null,so=null,lo=null,co=!1,uo=!1,ho=0,fo=0;function po(){throw Error(a(321))}function mo(e,t){if(null===t)return!1;for(var n=0;n<t.length&&n<e.length;n++)if(!sr(e[n],t[n]))return!1;return!0}function go(e,t,n,r,i,o){if(ao=o,oo=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,ro.current=null===e||null===e.memoizedState?Jo:es,e=n(r,i),uo){o=0;do{if(uo=!1,ho=0,25<=o)throw Error(a(301));o+=1,lo=so=null,t.updateQueue=null,ro.current=ts,e=n(r,i)}while(uo)}if(ro.current=Xo,t=null!==so&&null!==so.next,ao=0,lo=so=oo=null,co=!1,t)throw Error(a(300));return e}function vo(){var e=0!==ho;return ho=0,e}function bo(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return null===lo?oo.memoizedState=lo=e:lo=lo.next=e,lo}function yo(){if(null===so){var e=oo.alternate;e=null!==e?e.memoizedState:null}else e=so.next;var t=null===lo?oo.memoizedState:lo.next;if(null!==t)lo=t,so=e;else{if(null===e)throw Error(a(310));e={memoizedState:(so=e).memoizedState,baseState:so.baseState,baseQueue:so.baseQueue,queue:so.queue,next:null},null===lo?oo.memoizedState=lo=e:lo=lo.next=e}return lo}function Co(e,t){return"function"==typeof t?t(e):t}function _o(e){var t=yo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=so,i=r.baseQueue,o=n.pending;if(null!==o){if(null!==i){var s=i.next;i.next=o.next,o.next=s}r.baseQueue=i=o,n.pending=null}if(null!==i){o=i.next,r=r.baseState;var l=s=null,c=null,u=o;do{var d=u.lane;if((ao&d)===d)null!==c&&(c=c.next={lane:0,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null}),r=u.hasEagerState?u.eagerState:e(r,u.action);else{var h={lane:d,action:u.action,hasEagerState:u.hasEagerState,eagerState:u.eagerState,next:null};null===c?(l=c=h,s=r):c=c.next=h,oo.lanes|=d,Nl|=d}u=u.next}while(null!==u&&u!==o);null===c?s=r:c.next=l,sr(r,t.memoizedState)||(ys=!0),t.memoizedState=r,t.baseState=s,t.baseQueue=c,n.lastRenderedState=r}if(null!==(e=n.interleaved)){i=e;do{o=i.lane,oo.lanes|=o,Nl|=o,i=i.next}while(i!==e)}else null===i&&(n.lanes=0);return[t.memoizedState,n.dispatch]}function wo(e){var t=yo(),n=t.queue;if(null===n)throw Error(a(311));n.lastRenderedReducer=e;var r=n.dispatch,i=n.pending,o=t.memoizedState;if(null!==i){n.pending=null;var s=i=i.next;do{o=e(o,s.action),s=s.next}while(s!==i);sr(o,t.memoizedState)||(ys=!0),t.memoizedState=o,null===t.baseQueue&&(t.baseState=o),n.lastRenderedState=o}return[o,r]}function xo(){}function So(e,t){var n=oo,r=yo(),i=t(),o=!sr(r.memoizedState,i);if(o&&(r.memoizedState=i,ys=!0),r=r.queue,No(Mo.bind(null,n,r,e),[e]),r.getSnapshot!==t||o||null!==lo&&1&lo.memoizedState.tag){if(n.flags|=2048,Po(9,ko.bind(null,n,r,i,t),void 0,null),null===jl)throw Error(a(349));30&ao||Eo(n,t,i)}return i}function Eo(e,t,n){e.flags|=16384,e={getSnapshot:t,value:n},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.stores=[e]):null===(n=t.stores)?t.stores=[e]:n.push(e)}function ko(e,t,n,r){t.value=n,t.getSnapshot=r,Oo(t)&&jo(e)}function Mo(e,t,n){return n(function(){Oo(t)&&jo(e)})}function Oo(e){var t=e.getSnapshot;e=e.value;try{var n=t();return!sr(e,n)}catch(e){return!0}}function jo(e){var t=La(e,1);null!==t&&nc(t,e,1,-1)}function To(e){var t=bo();return"function"==typeof e&&(e=e()),t.memoizedState=t.baseState=e,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Co,lastRenderedState:e},t.queue=e,e=e.dispatch=Go.bind(null,oo,e),[t.memoizedState,e]}function Po(e,t,n,r){return e={tag:e,create:t,destroy:n,deps:r,next:null},null===(t=oo.updateQueue)?(t={lastEffect:null,stores:null},oo.updateQueue=t,t.lastEffect=e.next=e):null===(n=t.lastEffect)?t.lastEffect=e.next=e:(r=n.next,n.next=e,e.next=r,t.lastEffect=e),e}function Do(){return yo().memoizedState}function Ao(e,t,n,r){var i=bo();oo.flags|=e,i.memoizedState=Po(1|t,n,void 0,void 0===r?null:r)}function Lo(e,t,n,r){var i=yo();r=void 0===r?null:r;var a=void 0;if(null!==so){var o=so.memoizedState;if(a=o.destroy,null!==r&&mo(r,o.deps))return void(i.memoizedState=Po(t,n,a,r))}oo.flags|=e,i.memoizedState=Po(1|t,n,a,r)}function Io(e,t){return Ao(8390656,8,e,t)}function No(e,t){return Lo(2048,8,e,t)}function Ro(e,t){return Lo(4,2,e,t)}function zo(e,t){return Lo(4,4,e,t)}function Fo(e,t){return"function"==typeof t?(e=e(),t(e),function(){t(null)}):null!=t?(e=e(),t.current=e,function(){t.current=null}):void 0}function Ho(e,t,n){return n=null!=n?n.concat([e]):null,Lo(4,4,Fo.bind(null,t,e),n)}function $o(){}function Vo(e,t){var n=yo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(n.memoizedState=[e,t],e)}function Uo(e,t){var n=yo();t=void 0===t?null:t;var r=n.memoizedState;return null!==r&&null!==t&&mo(t,r[1])?r[0]:(e=e(),n.memoizedState=[e,t],e)}function Bo(e,t,n){return 21&ao?(sr(n,t)||(n=mt(),oo.lanes|=n,Nl|=n,e.baseState=!0),t):(e.baseState&&(e.baseState=!1,ys=!0),e.memoizedState=n)}function Wo(e,t){var n=yt;yt=0!==n&&4>n?n:4,e(!0);var r=io.transition;io.transition={};try{e(!1),t()}finally{yt=n,io.transition=r}}function Zo(){return yo().memoizedState}function qo(e,t,n){var r=tc(e);n={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null},Yo(e)?Qo(t,n):null!==(n=Aa(e,t,n,r))&&(nc(n,e,r,ec()),Ko(n,t,r))}function Go(e,t,n){var r=tc(e),i={lane:r,action:n,hasEagerState:!1,eagerState:null,next:null};if(Yo(e))Qo(t,i);else{var a=e.alternate;if(0===e.lanes&&(null===a||0===a.lanes)&&null!==(a=t.lastRenderedReducer))try{var o=t.lastRenderedState,s=a(o,n);if(i.hasEagerState=!0,i.eagerState=s,sr(s,o)){var l=t.interleaved;return null===l?(i.next=i,Da(t)):(i.next=l.next,l.next=i),void(t.interleaved=i)}}catch(e){}null!==(n=Aa(e,t,i,r))&&(nc(n,e,r,i=ec()),Ko(n,t,r))}}function Yo(e){var t=e.alternate;return e===oo||null!==t&&t===oo}function Qo(e,t){uo=co=!0;var n=e.pending;null===n?t.next=t:(t.next=n.next,n.next=t),e.pending=t}function Ko(e,t,n){if(4194240&n){var r=t.lanes;n|=r&=e.pendingLanes,t.lanes=n,bt(e,n)}}var Xo={readContext:Ta,useCallback:po,useContext:po,useEffect:po,useImperativeHandle:po,useInsertionEffect:po,useLayoutEffect:po,useMemo:po,useReducer:po,useRef:po,useState:po,useDebugValue:po,useDeferredValue:po,useTransition:po,useMutableSource:po,useSyncExternalStore:po,useId:po,unstable_isNewReconciler:!1},Jo={readContext:Ta,useCallback:function(e,t){return bo().memoizedState=[e,void 0===t?null:t],e},useContext:Ta,useEffect:Io,useImperativeHandle:function(e,t,n){return n=null!=n?n.concat([e]):null,Ao(4194308,4,Fo.bind(null,t,e),n)},useLayoutEffect:function(e,t){return Ao(4194308,4,e,t)},useInsertionEffect:function(e,t){return Ao(4,2,e,t)},useMemo:function(e,t){var n=bo();return t=void 0===t?null:t,e=e(),n.memoizedState=[e,t],e},useReducer:function(e,t,n){var r=bo();return t=void 0!==n?n(t):t,r.memoizedState=r.baseState=t,e={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:t},r.queue=e,e=e.dispatch=qo.bind(null,oo,e),[r.memoizedState,e]},useRef:function(e){return e={current:e},bo().memoizedState=e},useState:To,useDebugValue:$o,useDeferredValue:function(e){return bo().memoizedState=e},useTransition:function(){var e=To(!1),t=e[0];return e=Wo.bind(null,e[1]),bo().memoizedState=e,[t,e]},useMutableSource:function(){},useSyncExternalStore:function(e,t,n){var r=oo,i=bo();if(ia){if(void 0===n)throw Error(a(407));n=n()}else{if(n=t(),null===jl)throw Error(a(349));30&ao||Eo(r,t,n)}i.memoizedState=n;var o={value:n,getSnapshot:t};return i.queue=o,Io(Mo.bind(null,r,o,e),[e]),r.flags|=2048,Po(9,ko.bind(null,r,o,n,t),void 0,null),n},useId:function(){var e=bo(),t=jl.identifierPrefix;if(ia){var n=Ki;t=":"+t+"R"+(n=(Qi&~(1<<32-ot(Qi)-1)).toString(32)+n),0<(n=ho++)&&(t+="H"+n.toString(32)),t+=":"}else t=":"+t+"r"+(n=fo++).toString(32)+":";return e.memoizedState=t},unstable_isNewReconciler:!1},es={readContext:Ta,useCallback:Vo,useContext:Ta,useEffect:No,useImperativeHandle:Ho,useInsertionEffect:Ro,useLayoutEffect:zo,useMemo:Uo,useReducer:_o,useRef:Do,useState:function(){return _o(Co)},useDebugValue:$o,useDeferredValue:function(e){return Bo(yo(),so.memoizedState,e)},useTransition:function(){return[_o(Co)[0],yo().memoizedState]},useMutableSource:xo,useSyncExternalStore:So,useId:Zo,unstable_isNewReconciler:!1},ts={readContext:Ta,useCallback:Vo,useContext:Ta,useEffect:No,useImperativeHandle:Ho,useInsertionEffect:Ro,useLayoutEffect:zo,useMemo:Uo,useReducer:wo,useRef:Do,useState:function(){return wo(Co)},useDebugValue:$o,useDeferredValue:function(e){var t=yo();return null===so?t.memoizedState=e:Bo(t,so.memoizedState,e)},useTransition:function(){return[wo(Co)[0],yo().memoizedState]},useMutableSource:xo,useSyncExternalStore:So,useId:Zo,unstable_isNewReconciler:!1};function ns(e,t){if(e&&e.defaultProps){for(var n in t=R({},t),e=e.defaultProps)void 0===t[n]&&(t[n]=e[n]);return t}return t}function rs(e,t,n,r){n=null==(n=n(r,t=e.memoizedState))?t:R({},t,n),e.memoizedState=n,0===e.lanes&&(e.updateQueue.baseState=n)}var is={isMounted:function(e){return!!(e=e._reactInternals)&&Ve(e)===e},enqueueSetState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),a=za(r,i);a.payload=t,null!=n&&(a.callback=n),null!==(t=Fa(e,a,i))&&(nc(t,e,i,r),Ha(t,e,i))},enqueueReplaceState:function(e,t,n){e=e._reactInternals;var r=ec(),i=tc(e),a=za(r,i);a.tag=1,a.payload=t,null!=n&&(a.callback=n),null!==(t=Fa(e,a,i))&&(nc(t,e,i,r),Ha(t,e,i))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var n=ec(),r=tc(e),i=za(n,r);i.tag=2,null!=t&&(i.callback=t),null!==(t=Fa(e,i,r))&&(nc(t,e,r,n),Ha(t,e,r))}};function as(e,t,n,r,i,a,o){return"function"==typeof(e=e.stateNode).shouldComponentUpdate?e.shouldComponentUpdate(r,a,o):!(t.prototype&&t.prototype.isPureReactComponent&&lr(n,r)&&lr(i,a))}function os(e,t,n){var r=!1,i=Mi,a=t.contextType;return"object"==typeof a&&null!==a?a=Ta(a):(i=Di(t)?Ti:Oi.current,a=(r=null!=(r=t.contextTypes))?Pi(e,i):Mi),t=new t(n,a),e.memoizedState=null!==t.state&&void 0!==t.state?t.state:null,t.updater=is,e.stateNode=t,t._reactInternals=e,r&&((e=e.stateNode).__reactInternalMemoizedUnmaskedChildContext=i,e.__reactInternalMemoizedMaskedChildContext=a),t}function ss(e,t,n,r){e=t.state,"function"==typeof t.componentWillReceiveProps&&t.componentWillReceiveProps(n,r),"function"==typeof t.UNSAFE_componentWillReceiveProps&&t.UNSAFE_componentWillReceiveProps(n,r),t.state!==e&&is.enqueueReplaceState(t,t.state,null)}function ls(e,t,n,r){var i=e.stateNode;i.props=n,i.state=e.memoizedState,i.refs={},Na(e);var a=t.contextType;"object"==typeof a&&null!==a?i.context=Ta(a):(a=Di(t)?Ti:Oi.current,i.context=Pi(e,a)),i.state=e.memoizedState,"function"==typeof(a=t.getDerivedStateFromProps)&&(rs(e,t,a,n),i.state=e.memoizedState),"function"==typeof t.getDerivedStateFromProps||"function"==typeof i.getSnapshotBeforeUpdate||"function"!=typeof i.UNSAFE_componentWillMount&&"function"!=typeof i.componentWillMount||(t=i.state,"function"==typeof i.componentWillMount&&i.componentWillMount(),"function"==typeof i.UNSAFE_componentWillMount&&i.UNSAFE_componentWillMount(),t!==i.state&&is.enqueueReplaceState(i,i.state,null),Va(e,n,i,r),i.state=e.memoizedState),"function"==typeof i.componentDidMount&&(e.flags|=4194308)}function cs(e,t){try{var n="",r=t;do{n+=$(r),r=r.return}while(r);var i=n}catch(e){i="\nError generating stack: "+e.message+"\n"+e.stack}return{value:e,source:t,stack:i,digest:null}}function us(e,t,n){return{value:e,source:null,stack:null!=n?n:null,digest:null!=t?t:null}}function ds(e,t){try{console.error(t.value)}catch(e){setTimeout(function(){throw e})}}var hs="function"==typeof WeakMap?WeakMap:Map;function fs(e,t,n){(n=za(-1,n)).tag=3,n.payload={element:null};var r=t.value;return n.callback=function(){Bl||(Bl=!0,Wl=r),ds(0,t)},n}function ps(e,t,n){(n=za(-1,n)).tag=3;var r=e.type.getDerivedStateFromError;if("function"==typeof r){var i=t.value;n.payload=function(){return r(i)},n.callback=function(){ds(0,t)}}var a=e.stateNode;return null!==a&&"function"==typeof a.componentDidCatch&&(n.callback=function(){ds(0,t),"function"!=typeof r&&(null===Zl?Zl=new Set([this]):Zl.add(this));var e=t.stack;this.componentDidCatch(t.value,{componentStack:null!==e?e:""})}),n}function ms(e,t,n){var r=e.pingCache;if(null===r){r=e.pingCache=new hs;var i=new Set;r.set(t,i)}else void 0===(i=r.get(t))&&(i=new Set,r.set(t,i));i.has(n)||(i.add(n),e=Ec.bind(null,e,t,n),t.then(e,e))}function gs(e){do{var t;if((t=13===e.tag)&&(t=null===(t=e.memoizedState)||null!==t.dehydrated),t)return e;e=e.return}while(null!==e);return null}function vs(e,t,n,r,i){return 1&e.mode?(e.flags|=65536,e.lanes=i,e):(e===t?e.flags|=65536:(e.flags|=128,n.flags|=131072,n.flags&=-52805,1===n.tag&&(null===n.alternate?n.tag=17:((t=za(-1,1)).tag=2,Fa(n,t,1))),n.lanes|=1),e)}var bs=C.ReactCurrentOwner,ys=!1;function Cs(e,t,n,r){t.child=null===e?_a(t,null,n,r):Ca(t,e.child,n,r)}function _s(e,t,n,r,i){n=n.render;var a=t.ref;return ja(t,i),r=go(e,t,n,r,a,i),n=vo(),null===e||ys?(ia&&n&&ea(t),t.flags|=1,Cs(e,t,r,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bs(e,t,i))}function ws(e,t,n,r,i){if(null===e){var a=n.type;return"function"!=typeof a||Dc(a)||void 0!==a.defaultProps||null!==n.compare||void 0!==n.defaultProps?((e=Lc(n.type,null,r,t,t.mode,i)).ref=t.ref,e.return=t,t.child=e):(t.tag=15,t.type=a,xs(e,t,a,r,i))}if(a=e.child,0===(e.lanes&i)){var o=a.memoizedProps;if((n=null!==(n=n.compare)?n:lr)(o,r)&&e.ref===t.ref)return Bs(e,t,i)}return t.flags|=1,(e=Ac(a,r)).ref=t.ref,e.return=t,t.child=e}function xs(e,t,n,r,i){if(null!==e){var a=e.memoizedProps;if(lr(a,r)&&e.ref===t.ref){if(ys=!1,t.pendingProps=r=a,0===(e.lanes&i))return t.lanes=e.lanes,Bs(e,t,i);131072&e.flags&&(ys=!0)}}return ks(e,t,n,r,i)}function Ss(e,t,n){var r=t.pendingProps,i=r.children,a=null!==e?e.memoizedState:null;if("hidden"===r.mode)if(1&t.mode){if(!(1073741824&n))return e=null!==a?a.baseLanes|n:n,t.lanes=t.childLanes=1073741824,t.memoizedState={baseLanes:e,cachePool:null,transitions:null},t.updateQueue=null,ki(Al,Dl),Dl|=e,null;t.memoizedState={baseLanes:0,cachePool:null,transitions:null},r=null!==a?a.baseLanes:n,ki(Al,Dl),Dl|=r}else t.memoizedState={baseLanes:0,cachePool:null,transitions:null},ki(Al,Dl),Dl|=n;else null!==a?(r=a.baseLanes|n,t.memoizedState=null):r=n,ki(Al,Dl),Dl|=r;return Cs(e,t,i,n),t.child}function Es(e,t){var n=t.ref;(null===e&&null!==n||null!==e&&e.ref!==n)&&(t.flags|=512,t.flags|=2097152)}function ks(e,t,n,r,i){var a=Di(n)?Ti:Oi.current;return a=Pi(t,a),ja(t,i),n=go(e,t,n,r,a,i),r=vo(),null===e||ys?(ia&&r&&ea(t),t.flags|=1,Cs(e,t,n,i),t.child):(t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~i,Bs(e,t,i))}function Ms(e,t,n,r,i){if(Di(n)){var a=!0;Ni(t)}else a=!1;if(ja(t,i),null===t.stateNode)Us(e,t),os(t,n,r),ls(t,n,r,i),r=!0;else if(null===e){var o=t.stateNode,s=t.memoizedProps;o.props=s;var l=o.context,c=n.contextType;c="object"==typeof c&&null!==c?Ta(c):Pi(t,c=Di(n)?Ti:Oi.current);var u=n.getDerivedStateFromProps,d="function"==typeof u||"function"==typeof o.getSnapshotBeforeUpdate;d||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==r||l!==c)&&ss(t,o,r,c),Ia=!1;var h=t.memoizedState;o.state=h,Va(t,r,o,i),l=t.memoizedState,s!==r||h!==l||ji.current||Ia?("function"==typeof u&&(rs(t,n,u,r),l=t.memoizedState),(s=Ia||as(t,n,s,r,h,l,c))?(d||"function"!=typeof o.UNSAFE_componentWillMount&&"function"!=typeof o.componentWillMount||("function"==typeof o.componentWillMount&&o.componentWillMount(),"function"==typeof o.UNSAFE_componentWillMount&&o.UNSAFE_componentWillMount()),"function"==typeof o.componentDidMount&&(t.flags|=4194308)):("function"==typeof o.componentDidMount&&(t.flags|=4194308),t.memoizedProps=r,t.memoizedState=l),o.props=r,o.state=l,o.context=c,r=s):("function"==typeof o.componentDidMount&&(t.flags|=4194308),r=!1)}else{o=t.stateNode,Ra(e,t),s=t.memoizedProps,c=t.type===t.elementType?s:ns(t.type,s),o.props=c,d=t.pendingProps,h=o.context,l="object"==typeof(l=n.contextType)&&null!==l?Ta(l):Pi(t,l=Di(n)?Ti:Oi.current);var f=n.getDerivedStateFromProps;(u="function"==typeof f||"function"==typeof o.getSnapshotBeforeUpdate)||"function"!=typeof o.UNSAFE_componentWillReceiveProps&&"function"!=typeof o.componentWillReceiveProps||(s!==d||h!==l)&&ss(t,o,r,l),Ia=!1,h=t.memoizedState,o.state=h,Va(t,r,o,i);var p=t.memoizedState;s!==d||h!==p||ji.current||Ia?("function"==typeof f&&(rs(t,n,f,r),p=t.memoizedState),(c=Ia||as(t,n,c,r,h,p,l)||!1)?(u||"function"!=typeof o.UNSAFE_componentWillUpdate&&"function"!=typeof o.componentWillUpdate||("function"==typeof o.componentWillUpdate&&o.componentWillUpdate(r,p,l),"function"==typeof o.UNSAFE_componentWillUpdate&&o.UNSAFE_componentWillUpdate(r,p,l)),"function"==typeof o.componentDidUpdate&&(t.flags|=4),"function"==typeof o.getSnapshotBeforeUpdate&&(t.flags|=1024)):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),t.memoizedProps=r,t.memoizedState=p),o.props=r,o.state=p,o.context=l,r=c):("function"!=typeof o.componentDidUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=4),"function"!=typeof o.getSnapshotBeforeUpdate||s===e.memoizedProps&&h===e.memoizedState||(t.flags|=1024),r=!1)}return Os(e,t,n,r,a,i)}function Os(e,t,n,r,i,a){Es(e,t);var o=!!(128&t.flags);if(!r&&!o)return i&&Ri(t,n,!1),Bs(e,t,a);r=t.stateNode,bs.current=t;var s=o&&"function"!=typeof n.getDerivedStateFromError?null:r.render();return t.flags|=1,null!==e&&o?(t.child=Ca(t,e.child,null,a),t.child=Ca(t,null,s,a)):Cs(e,t,s,a),t.memoizedState=r.state,i&&Ri(t,n,!0),t.child}function js(e){var t=e.stateNode;t.pendingContext?Li(0,t.pendingContext,t.pendingContext!==t.context):t.context&&Li(0,t.context,!1),Ya(e,t.containerInfo)}function Ts(e,t,n,r,i){return fa(),pa(i),t.flags|=256,Cs(e,t,n,r),t.child}var Ps,Ds,As,Ls,Is={dehydrated:null,treeContext:null,retryLane:0};function Ns(e){return{baseLanes:e,cachePool:null,transitions:null}}function Rs(e,t,n){var r,i=t.pendingProps,o=Ja.current,s=!1,l=!!(128&t.flags);if((r=l)||(r=(null===e||null!==e.memoizedState)&&!!(2&o)),r?(s=!0,t.flags&=-129):null!==e&&null===e.memoizedState||(o|=1),ki(Ja,1&o),null===e)return ca(t),null!==(e=t.memoizedState)&&null!==(e=e.dehydrated)?(1&t.mode?"$!"===e.data?t.lanes=8:t.lanes=1073741824:t.lanes=1,null):(l=i.children,e=i.fallback,s?(i=t.mode,s=t.child,l={mode:"hidden",children:l},1&i||null===s?s=Nc(l,i,0,null):(s.childLanes=0,s.pendingProps=l),e=Ic(e,i,n,null),s.return=t,e.return=t,s.sibling=e,t.child=s,t.child.memoizedState=Ns(n),t.memoizedState=Is,e):zs(t,l));if(null!==(o=e.memoizedState)&&null!==(r=o.dehydrated))return function(e,t,n,r,i,o,s){if(n)return 256&t.flags?(t.flags&=-257,Fs(e,t,s,r=us(Error(a(422))))):null!==t.memoizedState?(t.child=e.child,t.flags|=128,null):(o=r.fallback,i=t.mode,r=Nc({mode:"visible",children:r.children},i,0,null),(o=Ic(o,i,s,null)).flags|=2,r.return=t,o.return=t,r.sibling=o,t.child=r,1&t.mode&&Ca(t,e.child,null,s),t.child.memoizedState=Ns(s),t.memoizedState=Is,o);if(!(1&t.mode))return Fs(e,t,s,null);if("$!"===i.data){if(r=i.nextSibling&&i.nextSibling.dataset)var l=r.dgst;return r=l,Fs(e,t,s,r=us(o=Error(a(419)),r,void 0))}if(l=0!==(s&e.childLanes),ys||l){if(null!==(r=jl)){switch(s&-s){case 4:i=2;break;case 16:i=8;break;case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:i=32;break;case 536870912:i=268435456;break;default:i=0}0!==(i=0!==(i&(r.suspendedLanes|s))?0:i)&&i!==o.retryLane&&(o.retryLane=i,La(e,i),nc(r,e,i,-1))}return mc(),Fs(e,t,s,r=us(Error(a(421))))}return"$?"===i.data?(t.flags|=128,t.child=e.child,t=Mc.bind(null,e),i._reactRetry=t,null):(e=o.treeContext,ra=ci(i.nextSibling),na=t,ia=!0,aa=null,null!==e&&(qi[Gi++]=Qi,qi[Gi++]=Ki,qi[Gi++]=Yi,Qi=e.id,Ki=e.overflow,Yi=t),(t=zs(t,r.children)).flags|=4096,t)}(e,t,l,i,r,o,n);if(s){s=i.fallback,l=t.mode,r=(o=e.child).sibling;var c={mode:"hidden",children:i.children};return 1&l||t.child===o?(i=Ac(o,c)).subtreeFlags=14680064&o.subtreeFlags:((i=t.child).childLanes=0,i.pendingProps=c,t.deletions=null),null!==r?s=Ac(r,s):(s=Ic(s,l,n,null)).flags|=2,s.return=t,i.return=t,i.sibling=s,t.child=i,i=s,s=t.child,l=null===(l=e.child.memoizedState)?Ns(n):{baseLanes:l.baseLanes|n,cachePool:null,transitions:l.transitions},s.memoizedState=l,s.childLanes=e.childLanes&~n,t.memoizedState=Is,i}return e=(s=e.child).sibling,i=Ac(s,{mode:"visible",children:i.children}),!(1&t.mode)&&(i.lanes=n),i.return=t,i.sibling=null,null!==e&&(null===(n=t.deletions)?(t.deletions=[e],t.flags|=16):n.push(e)),t.child=i,t.memoizedState=null,i}function zs(e,t){return(t=Nc({mode:"visible",children:t},e.mode,0,null)).return=e,e.child=t}function Fs(e,t,n,r){return null!==r&&pa(r),Ca(t,e.child,null,n),(e=zs(t,t.pendingProps.children)).flags|=2,t.memoizedState=null,e}function Hs(e,t,n){e.lanes|=t;var r=e.alternate;null!==r&&(r.lanes|=t),Oa(e.return,t,n)}function $s(e,t,n,r,i){var a=e.memoizedState;null===a?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:r,tail:n,tailMode:i}:(a.isBackwards=t,a.rendering=null,a.renderingStartTime=0,a.last=r,a.tail=n,a.tailMode=i)}function Vs(e,t,n){var r=t.pendingProps,i=r.revealOrder,a=r.tail;if(Cs(e,t,r.children,n),2&(r=Ja.current))r=1&r|2,t.flags|=128;else{if(null!==e&&128&e.flags)e:for(e=t.child;null!==e;){if(13===e.tag)null!==e.memoizedState&&Hs(e,n,t);else if(19===e.tag)Hs(e,n,t);else if(null!==e.child){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;null===e.sibling;){if(null===e.return||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}r&=1}if(ki(Ja,r),1&t.mode)switch(i){case"forwards":for(n=t.child,i=null;null!==n;)null!==(e=n.alternate)&&null===eo(e)&&(i=n),n=n.sibling;null===(n=i)?(i=t.child,t.child=null):(i=n.sibling,n.sibling=null),$s(t,!1,i,n,a);break;case"backwards":for(n=null,i=t.child,t.child=null;null!==i;){if(null!==(e=i.alternate)&&null===eo(e)){t.child=i;break}e=i.sibling,i.sibling=n,n=i,i=e}$s(t,!0,n,null,a);break;case"together":$s(t,!1,null,null,void 0);break;default:t.memoizedState=null}else t.memoizedState=null;return t.child}function Us(e,t){!(1&t.mode)&&null!==e&&(e.alternate=null,t.alternate=null,t.flags|=2)}function Bs(e,t,n){if(null!==e&&(t.dependencies=e.dependencies),Nl|=t.lanes,0===(n&t.childLanes))return null;if(null!==e&&t.child!==e.child)throw Error(a(153));if(null!==t.child){for(n=Ac(e=t.child,e.pendingProps),t.child=n,n.return=t;null!==e.sibling;)e=e.sibling,(n=n.sibling=Ac(e,e.pendingProps)).return=t;n.sibling=null}return t.child}function Ws(e,t){if(!ia)switch(e.tailMode){case"hidden":t=e.tail;for(var n=null;null!==t;)null!==t.alternate&&(n=t),t=t.sibling;null===n?e.tail=null:n.sibling=null;break;case"collapsed":n=e.tail;for(var r=null;null!==n;)null!==n.alternate&&(r=n),n=n.sibling;null===r?t||null===e.tail?e.tail=null:e.tail.sibling=null:r.sibling=null}}function Zs(e){var t=null!==e.alternate&&e.alternate.child===e.child,n=0,r=0;if(t)for(var i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=14680064&i.subtreeFlags,r|=14680064&i.flags,i.return=e,i=i.sibling;else for(i=e.child;null!==i;)n|=i.lanes|i.childLanes,r|=i.subtreeFlags,r|=i.flags,i.return=e,i=i.sibling;return e.subtreeFlags|=r,e.childLanes=n,t}function qs(e,t,n){var r=t.pendingProps;switch(ta(t),t.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Zs(t),null;case 1:case 17:return Di(t.type)&&Ai(),Zs(t),null;case 3:return r=t.stateNode,Qa(),Ei(ji),Ei(Oi),no(),r.pendingContext&&(r.context=r.pendingContext,r.pendingContext=null),null!==e&&null!==e.child||(da(t)?t.flags|=4:null===e||e.memoizedState.isDehydrated&&!(256&t.flags)||(t.flags|=1024,null!==aa&&(oc(aa),aa=null))),Ds(e,t),Zs(t),null;case 5:Xa(t);var i=Ga(qa.current);if(n=t.type,null!==e&&null!=t.stateNode)As(e,t,n,r,i),e.ref!==t.ref&&(t.flags|=512,t.flags|=2097152);else{if(!r){if(null===t.stateNode)throw Error(a(166));return Zs(t),null}if(e=Ga(Wa.current),da(t)){r=t.stateNode,n=t.type;var o=t.memoizedProps;switch(r[hi]=t,r[fi]=o,e=!!(1&t.mode),n){case"dialog":Fr("cancel",r),Fr("close",r);break;case"iframe":case"object":case"embed":Fr("load",r);break;case"video":case"audio":for(i=0;i<Ir.length;i++)Fr(Ir[i],r);break;case"source":Fr("error",r);break;case"img":case"image":case"link":Fr("error",r),Fr("load",r);break;case"details":Fr("toggle",r);break;case"input":Q(r,o),Fr("invalid",r);break;case"select":r._wrapperState={wasMultiple:!!o.multiple},Fr("invalid",r);break;case"textarea":ie(r,o),Fr("invalid",r)}for(var l in be(n,o),i=null,o)if(o.hasOwnProperty(l)){var c=o[l];"children"===l?"string"==typeof c?r.textContent!==c&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,c,e),i=["children",c]):"number"==typeof c&&r.textContent!==""+c&&(!0!==o.suppressHydrationWarning&&Xr(r.textContent,c,e),i=["children",""+c]):s.hasOwnProperty(l)&&null!=c&&"onScroll"===l&&Fr("scroll",r)}switch(n){case"input":Z(r),J(r,o,!0);break;case"textarea":Z(r),oe(r);break;case"select":case"option":break;default:"function"==typeof o.onClick&&(r.onclick=Jr)}r=i,t.updateQueue=r,null!==r&&(t.flags|=4)}else{l=9===i.nodeType?i:i.ownerDocument,"http://www.w3.org/1999/xhtml"===e&&(e=se(n)),"http://www.w3.org/1999/xhtml"===e?"script"===n?((e=l.createElement("div")).innerHTML="<script><\/script>",e=e.removeChild(e.firstChild)):"string"==typeof r.is?e=l.createElement(n,{is:r.is}):(e=l.createElement(n),"select"===n&&(l=e,r.multiple?l.multiple=!0:r.size&&(l.size=r.size))):e=l.createElementNS(e,n),e[hi]=t,e[fi]=r,Ps(e,t,!1,!1),t.stateNode=e;e:{switch(l=ye(n,r),n){case"dialog":Fr("cancel",e),Fr("close",e),i=r;break;case"iframe":case"object":case"embed":Fr("load",e),i=r;break;case"video":case"audio":for(i=0;i<Ir.length;i++)Fr(Ir[i],e);i=r;break;case"source":Fr("error",e),i=r;break;case"img":case"image":case"link":Fr("error",e),Fr("load",e),i=r;break;case"details":Fr("toggle",e),i=r;break;case"input":Q(e,r),i=Y(e,r),Fr("invalid",e);break;case"option":default:i=r;break;case"select":e._wrapperState={wasMultiple:!!r.multiple},i=R({},r,{value:void 0}),Fr("invalid",e);break;case"textarea":ie(e,r),i=re(e,r),Fr("invalid",e)}for(o in be(n,i),c=i)if(c.hasOwnProperty(o)){var u=c[o];"style"===o?ge(e,u):"dangerouslySetInnerHTML"===o?null!=(u=u?u.__html:void 0)&&de(e,u):"children"===o?"string"==typeof u?("textarea"!==n||""!==u)&&he(e,u):"number"==typeof u&&he(e,""+u):"suppressContentEditableWarning"!==o&&"suppressHydrationWarning"!==o&&"autoFocus"!==o&&(s.hasOwnProperty(o)?null!=u&&"onScroll"===o&&Fr("scroll",e):null!=u&&y(e,o,u,l))}switch(n){case"input":Z(e),J(e,r,!1);break;case"textarea":Z(e),oe(e);break;case"option":null!=r.value&&e.setAttribute("value",""+B(r.value));break;case"select":e.multiple=!!r.multiple,null!=(o=r.value)?ne(e,!!r.multiple,o,!1):null!=r.defaultValue&&ne(e,!!r.multiple,r.defaultValue,!0);break;default:"function"==typeof i.onClick&&(e.onclick=Jr)}switch(n){case"button":case"input":case"select":case"textarea":r=!!r.autoFocus;break e;case"img":r=!0;break e;default:r=!1}}r&&(t.flags|=4)}null!==t.ref&&(t.flags|=512,t.flags|=2097152)}return Zs(t),null;case 6:if(e&&null!=t.stateNode)Ls(e,t,e.memoizedProps,r);else{if("string"!=typeof r&&null===t.stateNode)throw Error(a(166));if(n=Ga(qa.current),Ga(Wa.current),da(t)){if(r=t.stateNode,n=t.memoizedProps,r[hi]=t,(o=r.nodeValue!==n)&&null!==(e=na))switch(e.tag){case 3:Xr(r.nodeValue,n,!!(1&e.mode));break;case 5:!0!==e.memoizedProps.suppressHydrationWarning&&Xr(r.nodeValue,n,!!(1&e.mode))}o&&(t.flags|=4)}else(r=(9===n.nodeType?n:n.ownerDocument).createTextNode(r))[hi]=t,t.stateNode=r}return Zs(t),null;case 13:if(Ei(Ja),r=t.memoizedState,null===e||null!==e.memoizedState&&null!==e.memoizedState.dehydrated){if(ia&&null!==ra&&1&t.mode&&!(128&t.flags))ha(),fa(),t.flags|=98560,o=!1;else if(o=da(t),null!==r&&null!==r.dehydrated){if(null===e){if(!o)throw Error(a(318));if(!(o=null!==(o=t.memoizedState)?o.dehydrated:null))throw Error(a(317));o[hi]=t}else fa(),!(128&t.flags)&&(t.memoizedState=null),t.flags|=4;Zs(t),o=!1}else null!==aa&&(oc(aa),aa=null),o=!0;if(!o)return 65536&t.flags?t:null}return 128&t.flags?(t.lanes=n,t):((r=null!==r)!=(null!==e&&null!==e.memoizedState)&&r&&(t.child.flags|=8192,1&t.mode&&(null===e||1&Ja.current?0===Ll&&(Ll=3):mc())),null!==t.updateQueue&&(t.flags|=4),Zs(t),null);case 4:return Qa(),Ds(e,t),null===e&&Vr(t.stateNode.containerInfo),Zs(t),null;case 10:return Ma(t.type._context),Zs(t),null;case 19:if(Ei(Ja),null===(o=t.memoizedState))return Zs(t),null;if(r=!!(128&t.flags),null===(l=o.rendering))if(r)Ws(o,!1);else{if(0!==Ll||null!==e&&128&e.flags)for(e=t.child;null!==e;){if(null!==(l=eo(e))){for(t.flags|=128,Ws(o,!1),null!==(r=l.updateQueue)&&(t.updateQueue=r,t.flags|=4),t.subtreeFlags=0,r=n,n=t.child;null!==n;)e=r,(o=n).flags&=14680066,null===(l=o.alternate)?(o.childLanes=0,o.lanes=e,o.child=null,o.subtreeFlags=0,o.memoizedProps=null,o.memoizedState=null,o.updateQueue=null,o.dependencies=null,o.stateNode=null):(o.childLanes=l.childLanes,o.lanes=l.lanes,o.child=l.child,o.subtreeFlags=0,o.deletions=null,o.memoizedProps=l.memoizedProps,o.memoizedState=l.memoizedState,o.updateQueue=l.updateQueue,o.type=l.type,e=l.dependencies,o.dependencies=null===e?null:{lanes:e.lanes,firstContext:e.firstContext}),n=n.sibling;return ki(Ja,1&Ja.current|2),t.child}e=e.sibling}null!==o.tail&&Ke()>Vl&&(t.flags|=128,r=!0,Ws(o,!1),t.lanes=4194304)}else{if(!r)if(null!==(e=eo(l))){if(t.flags|=128,r=!0,null!==(n=e.updateQueue)&&(t.updateQueue=n,t.flags|=4),Ws(o,!0),null===o.tail&&"hidden"===o.tailMode&&!l.alternate&&!ia)return Zs(t),null}else 2*Ke()-o.renderingStartTime>Vl&&1073741824!==n&&(t.flags|=128,r=!0,Ws(o,!1),t.lanes=4194304);o.isBackwards?(l.sibling=t.child,t.child=l):(null!==(n=o.last)?n.sibling=l:t.child=l,o.last=l)}return null!==o.tail?(t=o.tail,o.rendering=t,o.tail=t.sibling,o.renderingStartTime=Ke(),t.sibling=null,n=Ja.current,ki(Ja,r?1&n|2:1&n),t):(Zs(t),null);case 22:case 23:return dc(),r=null!==t.memoizedState,null!==e&&null!==e.memoizedState!==r&&(t.flags|=8192),r&&1&t.mode?!!(1073741824&Dl)&&(Zs(t),6&t.subtreeFlags&&(t.flags|=8192)):Zs(t),null;case 24:case 25:return null}throw Error(a(156,t.tag))}function Gs(e,t){switch(ta(t),t.tag){case 1:return Di(t.type)&&Ai(),65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 3:return Qa(),Ei(ji),Ei(Oi),no(),65536&(e=t.flags)&&!(128&e)?(t.flags=-65537&e|128,t):null;case 5:return Xa(t),null;case 13:if(Ei(Ja),null!==(e=t.memoizedState)&&null!==e.dehydrated){if(null===t.alternate)throw Error(a(340));fa()}return 65536&(e=t.flags)?(t.flags=-65537&e|128,t):null;case 19:return Ei(Ja),null;case 4:return Qa(),null;case 10:return Ma(t.type._context),null;case 22:case 23:return dc(),null;default:return null}}Ps=function(e,t){for(var n=t.child;null!==n;){if(5===n.tag||6===n.tag)e.appendChild(n.stateNode);else if(4!==n.tag&&null!==n.child){n.child.return=n,n=n.child;continue}if(n===t)break;for(;null===n.sibling;){if(null===n.return||n.return===t)return;n=n.return}n.sibling.return=n.return,n=n.sibling}},Ds=function(){},As=function(e,t,n,r){var i=e.memoizedProps;if(i!==r){e=t.stateNode,Ga(Wa.current);var a,o=null;switch(n){case"input":i=Y(e,i),r=Y(e,r),o=[];break;case"select":i=R({},i,{value:void 0}),r=R({},r,{value:void 0}),o=[];break;case"textarea":i=re(e,i),r=re(e,r),o=[];break;default:"function"!=typeof i.onClick&&"function"==typeof r.onClick&&(e.onclick=Jr)}for(u in be(n,r),n=null,i)if(!r.hasOwnProperty(u)&&i.hasOwnProperty(u)&&null!=i[u])if("style"===u){var l=i[u];for(a in l)l.hasOwnProperty(a)&&(n||(n={}),n[a]="")}else"dangerouslySetInnerHTML"!==u&&"children"!==u&&"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&"autoFocus"!==u&&(s.hasOwnProperty(u)?o||(o=[]):(o=o||[]).push(u,null));for(u in r){var c=r[u];if(l=null!=i?i[u]:void 0,r.hasOwnProperty(u)&&c!==l&&(null!=c||null!=l))if("style"===u)if(l){for(a in l)!l.hasOwnProperty(a)||c&&c.hasOwnProperty(a)||(n||(n={}),n[a]="");for(a in c)c.hasOwnProperty(a)&&l[a]!==c[a]&&(n||(n={}),n[a]=c[a])}else n||(o||(o=[]),o.push(u,n)),n=c;else"dangerouslySetInnerHTML"===u?(c=c?c.__html:void 0,l=l?l.__html:void 0,null!=c&&l!==c&&(o=o||[]).push(u,c)):"children"===u?"string"!=typeof c&&"number"!=typeof c||(o=o||[]).push(u,""+c):"suppressContentEditableWarning"!==u&&"suppressHydrationWarning"!==u&&(s.hasOwnProperty(u)?(null!=c&&"onScroll"===u&&Fr("scroll",e),o||l===c||(o=[])):(o=o||[]).push(u,c))}n&&(o=o||[]).push("style",n);var u=o;(t.updateQueue=u)&&(t.flags|=4)}},Ls=function(e,t,n,r){n!==r&&(t.flags|=4)};var Ys=!1,Qs=!1,Ks="function"==typeof WeakSet?WeakSet:Set,Xs=null;function Js(e,t){var n=e.ref;if(null!==n)if("function"==typeof n)try{n(null)}catch(n){Sc(e,t,n)}else n.current=null}function el(e,t,n){try{n()}catch(n){Sc(e,t,n)}}var tl=!1;function nl(e,t,n){var r=t.updateQueue;if(null!==(r=null!==r?r.lastEffect:null)){var i=r=r.next;do{if((i.tag&e)===e){var a=i.destroy;i.destroy=void 0,void 0!==a&&el(t,n,a)}i=i.next}while(i!==r)}}function rl(e,t){if(null!==(t=null!==(t=t.updateQueue)?t.lastEffect:null)){var n=t=t.next;do{if((n.tag&e)===e){var r=n.create;n.destroy=r()}n=n.next}while(n!==t)}}function il(e){var t=e.ref;if(null!==t){var n=e.stateNode;e.tag,e=n,"function"==typeof t?t(e):t.current=e}}function al(e){var t=e.alternate;null!==t&&(e.alternate=null,al(t)),e.child=null,e.deletions=null,e.sibling=null,5===e.tag&&null!==(t=e.stateNode)&&(delete t[hi],delete t[fi],delete t[mi],delete t[gi],delete t[vi]),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}function ol(e){return 5===e.tag||3===e.tag||4===e.tag}function sl(e){e:for(;;){for(;null===e.sibling;){if(null===e.return||ol(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;5!==e.tag&&6!==e.tag&&18!==e.tag;){if(2&e.flags)continue e;if(null===e.child||4===e.tag)continue e;e.child.return=e,e=e.child}if(!(2&e.flags))return e.stateNode}}function ll(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?8===n.nodeType?n.parentNode.insertBefore(e,t):n.insertBefore(e,t):(8===n.nodeType?(t=n.parentNode).insertBefore(e,n):(t=n).appendChild(e),null!=(n=n._reactRootContainer)||null!==t.onclick||(t.onclick=Jr));else if(4!==r&&null!==(e=e.child))for(ll(e,t,n),e=e.sibling;null!==e;)ll(e,t,n),e=e.sibling}function cl(e,t,n){var r=e.tag;if(5===r||6===r)e=e.stateNode,t?n.insertBefore(e,t):n.appendChild(e);else if(4!==r&&null!==(e=e.child))for(cl(e,t,n),e=e.sibling;null!==e;)cl(e,t,n),e=e.sibling}var ul=null,dl=!1;function hl(e,t,n){for(n=n.child;null!==n;)fl(e,t,n),n=n.sibling}function fl(e,t,n){if(at&&"function"==typeof at.onCommitFiberUnmount)try{at.onCommitFiberUnmount(it,n)}catch(e){}switch(n.tag){case 5:Qs||Js(n,t);case 6:var r=ul,i=dl;ul=null,hl(e,t,n),dl=i,null!==(ul=r)&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?e.parentNode.removeChild(n):e.removeChild(n)):ul.removeChild(n.stateNode));break;case 18:null!==ul&&(dl?(e=ul,n=n.stateNode,8===e.nodeType?li(e.parentNode,n):1===e.nodeType&&li(e,n),Vt(e)):li(ul,n.stateNode));break;case 4:r=ul,i=dl,ul=n.stateNode.containerInfo,dl=!0,hl(e,t,n),ul=r,dl=i;break;case 0:case 11:case 14:case 15:if(!Qs&&null!==(r=n.updateQueue)&&null!==(r=r.lastEffect)){i=r=r.next;do{var a=i,o=a.destroy;a=a.tag,void 0!==o&&(2&a||4&a)&&el(n,t,o),i=i.next}while(i!==r)}hl(e,t,n);break;case 1:if(!Qs&&(Js(n,t),"function"==typeof(r=n.stateNode).componentWillUnmount))try{r.props=n.memoizedProps,r.state=n.memoizedState,r.componentWillUnmount()}catch(e){Sc(n,t,e)}hl(e,t,n);break;case 21:hl(e,t,n);break;case 22:1&n.mode?(Qs=(r=Qs)||null!==n.memoizedState,hl(e,t,n),Qs=r):hl(e,t,n);break;default:hl(e,t,n)}}function pl(e){var t=e.updateQueue;if(null!==t){e.updateQueue=null;var n=e.stateNode;null===n&&(n=e.stateNode=new Ks),t.forEach(function(t){var r=Oc.bind(null,e,t);n.has(t)||(n.add(t),t.then(r,r))})}}function ml(e,t){var n=t.deletions;if(null!==n)for(var r=0;r<n.length;r++){var i=n[r];try{var o=e,s=t,l=s;e:for(;null!==l;){switch(l.tag){case 5:ul=l.stateNode,dl=!1;break e;case 3:case 4:ul=l.stateNode.containerInfo,dl=!0;break e}l=l.return}if(null===ul)throw Error(a(160));fl(o,s,i),ul=null,dl=!1;var c=i.alternate;null!==c&&(c.return=null),i.return=null}catch(e){Sc(i,t,e)}}if(12854&t.subtreeFlags)for(t=t.child;null!==t;)gl(t,e),t=t.sibling}function gl(e,t){var n=e.alternate,r=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(ml(t,e),vl(e),4&r){try{nl(3,e,e.return),rl(3,e)}catch(t){Sc(e,e.return,t)}try{nl(5,e,e.return)}catch(t){Sc(e,e.return,t)}}break;case 1:ml(t,e),vl(e),512&r&&null!==n&&Js(n,n.return);break;case 5:if(ml(t,e),vl(e),512&r&&null!==n&&Js(n,n.return),32&e.flags){var i=e.stateNode;try{he(i,"")}catch(t){Sc(e,e.return,t)}}if(4&r&&null!=(i=e.stateNode)){var o=e.memoizedProps,s=null!==n?n.memoizedProps:o,l=e.type,c=e.updateQueue;if(e.updateQueue=null,null!==c)try{"input"===l&&"radio"===o.type&&null!=o.name&&K(i,o),ye(l,s);var u=ye(l,o);for(s=0;s<c.length;s+=2){var d=c[s],h=c[s+1];"style"===d?ge(i,h):"dangerouslySetInnerHTML"===d?de(i,h):"children"===d?he(i,h):y(i,d,h,u)}switch(l){case"input":X(i,o);break;case"textarea":ae(i,o);break;case"select":var f=i._wrapperState.wasMultiple;i._wrapperState.wasMultiple=!!o.multiple;var p=o.value;null!=p?ne(i,!!o.multiple,p,!1):f!==!!o.multiple&&(null!=o.defaultValue?ne(i,!!o.multiple,o.defaultValue,!0):ne(i,!!o.multiple,o.multiple?[]:"",!1))}i[fi]=o}catch(t){Sc(e,e.return,t)}}break;case 6:if(ml(t,e),vl(e),4&r){if(null===e.stateNode)throw Error(a(162));i=e.stateNode,o=e.memoizedProps;try{i.nodeValue=o}catch(t){Sc(e,e.return,t)}}break;case 3:if(ml(t,e),vl(e),4&r&&null!==n&&n.memoizedState.isDehydrated)try{Vt(t.containerInfo)}catch(t){Sc(e,e.return,t)}break;case 4:default:ml(t,e),vl(e);break;case 13:ml(t,e),vl(e),8192&(i=e.child).flags&&(o=null!==i.memoizedState,i.stateNode.isHidden=o,!o||null!==i.alternate&&null!==i.alternate.memoizedState||($l=Ke())),4&r&&pl(e);break;case 22:if(d=null!==n&&null!==n.memoizedState,1&e.mode?(Qs=(u=Qs)||d,ml(t,e),Qs=u):ml(t,e),vl(e),8192&r){if(u=null!==e.memoizedState,(e.stateNode.isHidden=u)&&!d&&1&e.mode)for(Xs=e,d=e.child;null!==d;){for(h=Xs=d;null!==Xs;){switch(p=(f=Xs).child,f.tag){case 0:case 11:case 14:case 15:nl(4,f,f.return);break;case 1:Js(f,f.return);var m=f.stateNode;if("function"==typeof m.componentWillUnmount){r=f,n=f.return;try{t=r,m.props=t.memoizedProps,m.state=t.memoizedState,m.componentWillUnmount()}catch(e){Sc(r,n,e)}}break;case 5:Js(f,f.return);break;case 22:if(null!==f.memoizedState){_l(h);continue}}null!==p?(p.return=f,Xs=p):_l(h)}d=d.sibling}e:for(d=null,h=e;;){if(5===h.tag){if(null===d){d=h;try{i=h.stateNode,u?"function"==typeof(o=i.style).setProperty?o.setProperty("display","none","important"):o.display="none":(l=h.stateNode,s=null!=(c=h.memoizedProps.style)&&c.hasOwnProperty("display")?c.display:null,l.style.display=me("display",s))}catch(t){Sc(e,e.return,t)}}}else if(6===h.tag){if(null===d)try{h.stateNode.nodeValue=u?"":h.memoizedProps}catch(t){Sc(e,e.return,t)}}else if((22!==h.tag&&23!==h.tag||null===h.memoizedState||h===e)&&null!==h.child){h.child.return=h,h=h.child;continue}if(h===e)break e;for(;null===h.sibling;){if(null===h.return||h.return===e)break e;d===h&&(d=null),h=h.return}d===h&&(d=null),h.sibling.return=h.return,h=h.sibling}}break;case 19:ml(t,e),vl(e),4&r&&pl(e);case 21:}}function vl(e){var t=e.flags;if(2&t){try{e:{for(var n=e.return;null!==n;){if(ol(n)){var r=n;break e}n=n.return}throw Error(a(160))}switch(r.tag){case 5:var i=r.stateNode;32&r.flags&&(he(i,""),r.flags&=-33),cl(e,sl(e),i);break;case 3:case 4:var o=r.stateNode.containerInfo;ll(e,sl(e),o);break;default:throw Error(a(161))}}catch(t){Sc(e,e.return,t)}e.flags&=-3}4096&t&&(e.flags&=-4097)}function bl(e,t,n){Xs=e,yl(e,t,n)}function yl(e,t,n){for(var r=!!(1&e.mode);null!==Xs;){var i=Xs,a=i.child;if(22===i.tag&&r){var o=null!==i.memoizedState||Ys;if(!o){var s=i.alternate,l=null!==s&&null!==s.memoizedState||Qs;s=Ys;var c=Qs;if(Ys=o,(Qs=l)&&!c)for(Xs=i;null!==Xs;)l=(o=Xs).child,22===o.tag&&null!==o.memoizedState?wl(i):null!==l?(l.return=o,Xs=l):wl(i);for(;null!==a;)Xs=a,yl(a,t,n),a=a.sibling;Xs=i,Ys=s,Qs=c}Cl(e)}else 8772&i.subtreeFlags&&null!==a?(a.return=i,Xs=a):Cl(e)}}function Cl(e){for(;null!==Xs;){var t=Xs;if(8772&t.flags){var n=t.alternate;try{if(8772&t.flags)switch(t.tag){case 0:case 11:case 15:Qs||rl(5,t);break;case 1:var r=t.stateNode;if(4&t.flags&&!Qs)if(null===n)r.componentDidMount();else{var i=t.elementType===t.type?n.memoizedProps:ns(t.type,n.memoizedProps);r.componentDidUpdate(i,n.memoizedState,r.__reactInternalSnapshotBeforeUpdate)}var o=t.updateQueue;null!==o&&Ua(t,o,r);break;case 3:var s=t.updateQueue;if(null!==s){if(n=null,null!==t.child)switch(t.child.tag){case 5:case 1:n=t.child.stateNode}Ua(t,s,n)}break;case 5:var l=t.stateNode;if(null===n&&4&t.flags){n=l;var c=t.memoizedProps;switch(t.type){case"button":case"input":case"select":case"textarea":c.autoFocus&&n.focus();break;case"img":c.src&&(n.src=c.src)}}break;case 6:case 4:case 12:case 19:case 17:case 21:case 22:case 23:case 25:break;case 13:if(null===t.memoizedState){var u=t.alternate;if(null!==u){var d=u.memoizedState;if(null!==d){var h=d.dehydrated;null!==h&&Vt(h)}}}break;default:throw Error(a(163))}Qs||512&t.flags&&il(t)}catch(e){Sc(t,t.return,e)}}if(t===e){Xs=null;break}if(null!==(n=t.sibling)){n.return=t.return,Xs=n;break}Xs=t.return}}function _l(e){for(;null!==Xs;){var t=Xs;if(t===e){Xs=null;break}var n=t.sibling;if(null!==n){n.return=t.return,Xs=n;break}Xs=t.return}}function wl(e){for(;null!==Xs;){var t=Xs;try{switch(t.tag){case 0:case 11:case 15:var n=t.return;try{rl(4,t)}catch(e){Sc(t,n,e)}break;case 1:var r=t.stateNode;if("function"==typeof r.componentDidMount){var i=t.return;try{r.componentDidMount()}catch(e){Sc(t,i,e)}}var a=t.return;try{il(t)}catch(e){Sc(t,a,e)}break;case 5:var o=t.return;try{il(t)}catch(e){Sc(t,o,e)}}}catch(e){Sc(t,t.return,e)}if(t===e){Xs=null;break}var s=t.sibling;if(null!==s){s.return=t.return,Xs=s;break}Xs=t.return}}var xl,Sl=Math.ceil,El=C.ReactCurrentDispatcher,kl=C.ReactCurrentOwner,Ml=C.ReactCurrentBatchConfig,Ol=0,jl=null,Tl=null,Pl=0,Dl=0,Al=Si(0),Ll=0,Il=null,Nl=0,Rl=0,zl=0,Fl=null,Hl=null,$l=0,Vl=1/0,Ul=null,Bl=!1,Wl=null,Zl=null,ql=!1,Gl=null,Yl=0,Ql=0,Kl=null,Xl=-1,Jl=0;function ec(){return 6&Ol?Ke():-1!==Xl?Xl:Xl=Ke()}function tc(e){return 1&e.mode?2&Ol&&0!==Pl?Pl&-Pl:null!==ma.transition?(0===Jl&&(Jl=mt()),Jl):0!==(e=yt)?e:e=void 0===(e=window.event)?16:Qt(e.type):1}function nc(e,t,n,r){if(50<Ql)throw Ql=0,Kl=null,Error(a(185));vt(e,n,r),2&Ol&&e===jl||(e===jl&&(!(2&Ol)&&(Rl|=n),4===Ll&&sc(e,Pl)),rc(e,r),1===n&&0===Ol&&!(1&t.mode)&&(Vl=Ke()+500,Fi&&Vi()))}function rc(e,t){var n=e.callbackNode;!function(e,t){for(var n=e.suspendedLanes,r=e.pingedLanes,i=e.expirationTimes,a=e.pendingLanes;0<a;){var o=31-ot(a),s=1<<o,l=i[o];-1===l?0!==(s&n)&&0===(s&r)||(i[o]=ft(s,t)):l<=t&&(e.expiredLanes|=s),a&=~s}}(e,t);var r=ht(e,e===jl?Pl:0);if(0===r)null!==n&&Ge(n),e.callbackNode=null,e.callbackPriority=0;else if(t=r&-r,e.callbackPriority!==t){if(null!=n&&Ge(n),1===t)0===e.tag?function(e){Fi=!0,$i(e)}(lc.bind(null,e)):$i(lc.bind(null,e)),oi(function(){!(6&Ol)&&Vi()}),n=null;else{switch(Ct(r)){case 1:n=Je;break;case 4:n=et;break;case 16:default:n=tt;break;case 536870912:n=rt}n=jc(n,ic.bind(null,e))}e.callbackPriority=t,e.callbackNode=n}}function ic(e,t){if(Xl=-1,Jl=0,6&Ol)throw Error(a(327));var n=e.callbackNode;if(wc()&&e.callbackNode!==n)return null;var r=ht(e,e===jl?Pl:0);if(0===r)return null;if(30&r||0!==(r&e.expiredLanes)||t)t=gc(e,r);else{t=r;var i=Ol;Ol|=2;var o=pc();for(jl===e&&Pl===t||(Ul=null,Vl=Ke()+500,hc(e,t));;)try{bc();break}catch(t){fc(e,t)}ka(),El.current=o,Ol=i,null!==Tl?t=0:(jl=null,Pl=0,t=Ll)}if(0!==t){if(2===t&&0!==(i=pt(e))&&(r=i,t=ac(e,i)),1===t)throw n=Il,hc(e,0),sc(e,r),rc(e,Ke()),n;if(6===t)sc(e,r);else{if(i=e.current.alternate,!(30&r||function(e){for(var t=e;;){if(16384&t.flags){var n=t.updateQueue;if(null!==n&&null!==(n=n.stores))for(var r=0;r<n.length;r++){var i=n[r],a=i.getSnapshot;i=i.value;try{if(!sr(a(),i))return!1}catch(e){return!1}}}if(n=t.child,16384&t.subtreeFlags&&null!==n)n.return=t,t=n;else{if(t===e)break;for(;null===t.sibling;){if(null===t.return||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}(i)||(t=gc(e,r),2===t&&(o=pt(e),0!==o&&(r=o,t=ac(e,o))),1!==t)))throw n=Il,hc(e,0),sc(e,r),rc(e,Ke()),n;switch(e.finishedWork=i,e.finishedLanes=r,t){case 0:case 1:throw Error(a(345));case 2:case 5:_c(e,Hl,Ul);break;case 3:if(sc(e,r),(130023424&r)===r&&10<(t=$l+500-Ke())){if(0!==ht(e,0))break;if(((i=e.suspendedLanes)&r)!==r){ec(),e.pingedLanes|=e.suspendedLanes&i;break}e.timeoutHandle=ri(_c.bind(null,e,Hl,Ul),t);break}_c(e,Hl,Ul);break;case 4:if(sc(e,r),(4194240&r)===r)break;for(t=e.eventTimes,i=-1;0<r;){var s=31-ot(r);o=1<<s,(s=t[s])>i&&(i=s),r&=~o}if(r=i,10<(r=(120>(r=Ke()-r)?120:480>r?480:1080>r?1080:1920>r?1920:3e3>r?3e3:4320>r?4320:1960*Sl(r/1960))-r)){e.timeoutHandle=ri(_c.bind(null,e,Hl,Ul),r);break}_c(e,Hl,Ul);break;default:throw Error(a(329))}}}return rc(e,Ke()),e.callbackNode===n?ic.bind(null,e):null}function ac(e,t){var n=Fl;return e.current.memoizedState.isDehydrated&&(hc(e,t).flags|=256),2!==(e=gc(e,t))&&(t=Hl,Hl=n,null!==t&&oc(t)),e}function oc(e){null===Hl?Hl=e:Hl.push.apply(Hl,e)}function sc(e,t){for(t&=~zl,t&=~Rl,e.suspendedLanes|=t,e.pingedLanes&=~t,e=e.expirationTimes;0<t;){var n=31-ot(t),r=1<<n;e[n]=-1,t&=~r}}function lc(e){if(6&Ol)throw Error(a(327));wc();var t=ht(e,0);if(!(1&t))return rc(e,Ke()),null;var n=gc(e,t);if(0!==e.tag&&2===n){var r=pt(e);0!==r&&(t=r,n=ac(e,r))}if(1===n)throw n=Il,hc(e,0),sc(e,t),rc(e,Ke()),n;if(6===n)throw Error(a(345));return e.finishedWork=e.current.alternate,e.finishedLanes=t,_c(e,Hl,Ul),rc(e,Ke()),null}function cc(e,t){var n=Ol;Ol|=1;try{return e(t)}finally{0===(Ol=n)&&(Vl=Ke()+500,Fi&&Vi())}}function uc(e){null!==Gl&&0===Gl.tag&&!(6&Ol)&&wc();var t=Ol;Ol|=1;var n=Ml.transition,r=yt;try{if(Ml.transition=null,yt=1,e)return e()}finally{yt=r,Ml.transition=n,!(6&(Ol=t))&&Vi()}}function dc(){Dl=Al.current,Ei(Al)}function hc(e,t){e.finishedWork=null,e.finishedLanes=0;var n=e.timeoutHandle;if(-1!==n&&(e.timeoutHandle=-1,ii(n)),null!==Tl)for(n=Tl.return;null!==n;){var r=n;switch(ta(r),r.tag){case 1:null!=(r=r.type.childContextTypes)&&Ai();break;case 3:Qa(),Ei(ji),Ei(Oi),no();break;case 5:Xa(r);break;case 4:Qa();break;case 13:case 19:Ei(Ja);break;case 10:Ma(r.type._context);break;case 22:case 23:dc()}n=n.return}if(jl=e,Tl=e=Ac(e.current,null),Pl=Dl=t,Ll=0,Il=null,zl=Rl=Nl=0,Hl=Fl=null,null!==Pa){for(t=0;t<Pa.length;t++)if(null!==(r=(n=Pa[t]).interleaved)){n.interleaved=null;var i=r.next,a=n.pending;if(null!==a){var o=a.next;a.next=i,r.next=o}n.pending=r}Pa=null}return e}function fc(e,t){for(;;){var n=Tl;try{if(ka(),ro.current=Xo,co){for(var r=oo.memoizedState;null!==r;){var i=r.queue;null!==i&&(i.pending=null),r=r.next}co=!1}if(ao=0,lo=so=oo=null,uo=!1,ho=0,kl.current=null,null===n||null===n.return){Ll=1,Il=t,Tl=null;break}e:{var o=e,s=n.return,l=n,c=t;if(t=Pl,l.flags|=32768,null!==c&&"object"==typeof c&&"function"==typeof c.then){var u=c,d=l,h=d.tag;if(!(1&d.mode||0!==h&&11!==h&&15!==h)){var f=d.alternate;f?(d.updateQueue=f.updateQueue,d.memoizedState=f.memoizedState,d.lanes=f.lanes):(d.updateQueue=null,d.memoizedState=null)}var p=gs(s);if(null!==p){p.flags&=-257,vs(p,s,l,0,t),1&p.mode&&ms(o,u,t),c=u;var m=(t=p).updateQueue;if(null===m){var g=new Set;g.add(c),t.updateQueue=g}else m.add(c);break e}if(!(1&t)){ms(o,u,t),mc();break e}c=Error(a(426))}else if(ia&&1&l.mode){var v=gs(s);if(null!==v){!(65536&v.flags)&&(v.flags|=256),vs(v,s,l,0,t),pa(cs(c,l));break e}}o=c=cs(c,l),4!==Ll&&(Ll=2),null===Fl?Fl=[o]:Fl.push(o),o=s;do{switch(o.tag){case 3:o.flags|=65536,t&=-t,o.lanes|=t,$a(o,fs(0,c,t));break e;case 1:l=c;var b=o.type,y=o.stateNode;if(!(128&o.flags||"function"!=typeof b.getDerivedStateFromError&&(null===y||"function"!=typeof y.componentDidCatch||null!==Zl&&Zl.has(y)))){o.flags|=65536,t&=-t,o.lanes|=t,$a(o,ps(o,l,t));break e}}o=o.return}while(null!==o)}Cc(n)}catch(e){t=e,Tl===n&&null!==n&&(Tl=n=n.return);continue}break}}function pc(){var e=El.current;return El.current=Xo,null===e?Xo:e}function mc(){0!==Ll&&3!==Ll&&2!==Ll||(Ll=4),null===jl||!(268435455&Nl)&&!(268435455&Rl)||sc(jl,Pl)}function gc(e,t){var n=Ol;Ol|=2;var r=pc();for(jl===e&&Pl===t||(Ul=null,hc(e,t));;)try{vc();break}catch(t){fc(e,t)}if(ka(),Ol=n,El.current=r,null!==Tl)throw Error(a(261));return jl=null,Pl=0,Ll}function vc(){for(;null!==Tl;)yc(Tl)}function bc(){for(;null!==Tl&&!Ye();)yc(Tl)}function yc(e){var t=xl(e.alternate,e,Dl);e.memoizedProps=e.pendingProps,null===t?Cc(e):Tl=t,kl.current=null}function Cc(e){var t=e;do{var n=t.alternate;if(e=t.return,32768&t.flags){if(null!==(n=Gs(n,t)))return n.flags&=32767,void(Tl=n);if(null===e)return Ll=6,void(Tl=null);e.flags|=32768,e.subtreeFlags=0,e.deletions=null}else if(null!==(n=qs(n,t,Dl)))return void(Tl=n);if(null!==(t=t.sibling))return void(Tl=t);Tl=t=e}while(null!==t);0===Ll&&(Ll=5)}function _c(e,t,n){var r=yt,i=Ml.transition;try{Ml.transition=null,yt=1,function(e,t,n,r){do{wc()}while(null!==Gl);if(6&Ol)throw Error(a(327));n=e.finishedWork;var i=e.finishedLanes;if(null===n)return null;if(e.finishedWork=null,e.finishedLanes=0,n===e.current)throw Error(a(177));e.callbackNode=null,e.callbackPriority=0;var o=n.lanes|n.childLanes;if(function(e,t){var n=e.pendingLanes&~t;e.pendingLanes=t,e.suspendedLanes=0,e.pingedLanes=0,e.expiredLanes&=t,e.mutableReadLanes&=t,e.entangledLanes&=t,t=e.entanglements;var r=e.eventTimes;for(e=e.expirationTimes;0<n;){var i=31-ot(n),a=1<<i;t[i]=0,r[i]=-1,e[i]=-1,n&=~a}}(e,o),e===jl&&(Tl=jl=null,Pl=0),!(2064&n.subtreeFlags)&&!(2064&n.flags)||ql||(ql=!0,jc(tt,function(){return wc(),null})),o=!!(15990&n.flags),15990&n.subtreeFlags||o){o=Ml.transition,Ml.transition=null;var s=yt;yt=1;var l=Ol;Ol|=4,kl.current=null,function(e,t){if(ei=Bt,fr(e=hr())){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{var r=(n=(n=e.ownerDocument)&&n.defaultView||window).getSelection&&n.getSelection();if(r&&0!==r.rangeCount){n=r.anchorNode;var i=r.anchorOffset,o=r.focusNode;r=r.focusOffset;try{n.nodeType,o.nodeType}catch(e){n=null;break e}var s=0,l=-1,c=-1,u=0,d=0,h=e,f=null;t:for(;;){for(var p;h!==n||0!==i&&3!==h.nodeType||(l=s+i),h!==o||0!==r&&3!==h.nodeType||(c=s+r),3===h.nodeType&&(s+=h.nodeValue.length),null!==(p=h.firstChild);)f=h,h=p;for(;;){if(h===e)break t;if(f===n&&++u===i&&(l=s),f===o&&++d===r&&(c=s),null!==(p=h.nextSibling))break;f=(h=f).parentNode}h=p}n=-1===l||-1===c?null:{start:l,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(ti={focusedElem:e,selectionRange:n},Bt=!1,Xs=t;null!==Xs;)if(e=(t=Xs).child,1028&t.subtreeFlags&&null!==e)e.return=t,Xs=e;else for(;null!==Xs;){t=Xs;try{var m=t.alternate;if(1024&t.flags)switch(t.tag){case 0:case 11:case 15:case 5:case 6:case 4:case 17:break;case 1:if(null!==m){var g=m.memoizedProps,v=m.memoizedState,b=t.stateNode,y=b.getSnapshotBeforeUpdate(t.elementType===t.type?g:ns(t.type,g),v);b.__reactInternalSnapshotBeforeUpdate=y}break;case 3:var C=t.stateNode.containerInfo;1===C.nodeType?C.textContent="":9===C.nodeType&&C.documentElement&&C.removeChild(C.documentElement);break;default:throw Error(a(163))}}catch(e){Sc(t,t.return,e)}if(null!==(e=t.sibling)){e.return=t.return,Xs=e;break}Xs=t.return}m=tl,tl=!1}(e,n),gl(n,e),pr(ti),Bt=!!ei,ti=ei=null,e.current=n,bl(n,e,i),Qe(),Ol=l,yt=s,Ml.transition=o}else e.current=n;if(ql&&(ql=!1,Gl=e,Yl=i),0===(o=e.pendingLanes)&&(Zl=null),function(e){if(at&&"function"==typeof at.onCommitFiberRoot)try{at.onCommitFiberRoot(it,e,void 0,!(128&~e.current.flags))}catch(e){}}(n.stateNode),rc(e,Ke()),null!==t)for(r=e.onRecoverableError,n=0;n<t.length;n++)r((i=t[n]).value,{componentStack:i.stack,digest:i.digest});if(Bl)throw Bl=!1,e=Wl,Wl=null,e;!!(1&Yl)&&0!==e.tag&&wc(),1&(o=e.pendingLanes)?e===Kl?Ql++:(Ql=0,Kl=e):Ql=0,Vi()}(e,t,n,r)}finally{Ml.transition=i,yt=r}return null}function wc(){if(null!==Gl){var e=Ct(Yl),t=Ml.transition,n=yt;try{if(Ml.transition=null,yt=16>e?16:e,null===Gl)var r=!1;else{if(e=Gl,Gl=null,Yl=0,6&Ol)throw Error(a(331));var i=Ol;for(Ol|=4,Xs=e.current;null!==Xs;){var o=Xs,s=o.child;if(16&Xs.flags){var l=o.deletions;if(null!==l){for(var c=0;c<l.length;c++){var u=l[c];for(Xs=u;null!==Xs;){var d=Xs;switch(d.tag){case 0:case 11:case 15:nl(8,d,o)}var h=d.child;if(null!==h)h.return=d,Xs=h;else for(;null!==Xs;){var f=(d=Xs).sibling,p=d.return;if(al(d),d===u){Xs=null;break}if(null!==f){f.return=p,Xs=f;break}Xs=p}}}var m=o.alternate;if(null!==m){var g=m.child;if(null!==g){m.child=null;do{var v=g.sibling;g.sibling=null,g=v}while(null!==g)}}Xs=o}}if(2064&o.subtreeFlags&&null!==s)s.return=o,Xs=s;else e:for(;null!==Xs;){if(2048&(o=Xs).flags)switch(o.tag){case 0:case 11:case 15:nl(9,o,o.return)}var b=o.sibling;if(null!==b){b.return=o.return,Xs=b;break e}Xs=o.return}}var y=e.current;for(Xs=y;null!==Xs;){var C=(s=Xs).child;if(2064&s.subtreeFlags&&null!==C)C.return=s,Xs=C;else e:for(s=y;null!==Xs;){if(2048&(l=Xs).flags)try{switch(l.tag){case 0:case 11:case 15:rl(9,l)}}catch(e){Sc(l,l.return,e)}if(l===s){Xs=null;break e}var _=l.sibling;if(null!==_){_.return=l.return,Xs=_;break e}Xs=l.return}}if(Ol=i,Vi(),at&&"function"==typeof at.onPostCommitFiberRoot)try{at.onPostCommitFiberRoot(it,e)}catch(e){}r=!0}return r}finally{yt=n,Ml.transition=t}}return!1}function xc(e,t,n){e=Fa(e,t=fs(0,t=cs(n,t),1),1),t=ec(),null!==e&&(vt(e,1,t),rc(e,t))}function Sc(e,t,n){if(3===e.tag)xc(e,e,n);else for(;null!==t;){if(3===t.tag){xc(t,e,n);break}if(1===t.tag){var r=t.stateNode;if("function"==typeof t.type.getDerivedStateFromError||"function"==typeof r.componentDidCatch&&(null===Zl||!Zl.has(r))){t=Fa(t,e=ps(t,e=cs(n,e),1),1),e=ec(),null!==t&&(vt(t,1,e),rc(t,e));break}}t=t.return}}function Ec(e,t,n){var r=e.pingCache;null!==r&&r.delete(t),t=ec(),e.pingedLanes|=e.suspendedLanes&n,jl===e&&(Pl&n)===n&&(4===Ll||3===Ll&&(130023424&Pl)===Pl&&500>Ke()-$l?hc(e,0):zl|=n),rc(e,t)}function kc(e,t){0===t&&(1&e.mode?(t=ut,!(130023424&(ut<<=1))&&(ut=4194304)):t=1);var n=ec();null!==(e=La(e,t))&&(vt(e,t,n),rc(e,n))}function Mc(e){var t=e.memoizedState,n=0;null!==t&&(n=t.retryLane),kc(e,n)}function Oc(e,t){var n=0;switch(e.tag){case 13:var r=e.stateNode,i=e.memoizedState;null!==i&&(n=i.retryLane);break;case 19:r=e.stateNode;break;default:throw Error(a(314))}null!==r&&r.delete(t),kc(e,n)}function jc(e,t){return qe(e,t)}function Tc(e,t,n,r){this.tag=e,this.key=n,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=r,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function Pc(e,t,n,r){return new Tc(e,t,n,r)}function Dc(e){return!(!(e=e.prototype)||!e.isReactComponent)}function Ac(e,t){var n=e.alternate;return null===n?((n=Pc(e.tag,t,e.key,e.mode)).elementType=e.elementType,n.type=e.type,n.stateNode=e.stateNode,n.alternate=e,e.alternate=n):(n.pendingProps=t,n.type=e.type,n.flags=0,n.subtreeFlags=0,n.deletions=null),n.flags=14680064&e.flags,n.childLanes=e.childLanes,n.lanes=e.lanes,n.child=e.child,n.memoizedProps=e.memoizedProps,n.memoizedState=e.memoizedState,n.updateQueue=e.updateQueue,t=e.dependencies,n.dependencies=null===t?null:{lanes:t.lanes,firstContext:t.firstContext},n.sibling=e.sibling,n.index=e.index,n.ref=e.ref,n}function Lc(e,t,n,r,i,o){var s=2;if(r=e,"function"==typeof e)Dc(e)&&(s=1);else if("string"==typeof e)s=5;else e:switch(e){case x:return Ic(n.children,i,o,t);case S:s=8,i|=8;break;case E:return(e=Pc(12,n,t,2|i)).elementType=E,e.lanes=o,e;case j:return(e=Pc(13,n,t,i)).elementType=j,e.lanes=o,e;case T:return(e=Pc(19,n,t,i)).elementType=T,e.lanes=o,e;case A:return Nc(n,i,o,t);default:if("object"==typeof e&&null!==e)switch(e.$$typeof){case k:s=10;break e;case M:s=9;break e;case O:s=11;break e;case P:s=14;break e;case D:s=16,r=null;break e}throw Error(a(130,null==e?e:typeof e,""))}return(t=Pc(s,n,t,i)).elementType=e,t.type=r,t.lanes=o,t}function Ic(e,t,n,r){return(e=Pc(7,e,r,t)).lanes=n,e}function Nc(e,t,n,r){return(e=Pc(22,e,r,t)).elementType=A,e.lanes=n,e.stateNode={isHidden:!1},e}function Rc(e,t,n){return(e=Pc(6,e,null,t)).lanes=n,e}function zc(e,t,n){return(t=Pc(4,null!==e.children?e.children:[],e.key,t)).lanes=n,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}function Fc(e,t,n,r,i){this.tag=t,this.containerInfo=e,this.finishedWork=this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.pendingContext=this.context=null,this.callbackPriority=0,this.eventTimes=gt(0),this.expirationTimes=gt(-1),this.entangledLanes=this.finishedLanes=this.mutableReadLanes=this.expiredLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=gt(0),this.identifierPrefix=r,this.onRecoverableError=i,this.mutableSourceEagerHydrationData=null}function Hc(e,t,n,r,i,a,o,s,l){return e=new Fc(e,t,n,s,l),1===t?(t=1,!0===a&&(t|=8)):t=0,a=Pc(3,null,null,t),e.current=a,a.stateNode=e,a.memoizedState={element:r,isDehydrated:n,cache:null,transitions:null,pendingSuspenseBoundaries:null},Na(a),e}function $c(e){if(!e)return Mi;e:{if(Ve(e=e._reactInternals)!==e||1!==e.tag)throw Error(a(170));var t=e;do{switch(t.tag){case 3:t=t.stateNode.context;break e;case 1:if(Di(t.type)){t=t.stateNode.__reactInternalMemoizedMergedChildContext;break e}}t=t.return}while(null!==t);throw Error(a(171))}if(1===e.tag){var n=e.type;if(Di(n))return Ii(e,n,t)}return t}function Vc(e,t,n,r,i,a,o,s,l){return(e=Hc(n,r,!0,e,0,a,0,s,l)).context=$c(null),n=e.current,(a=za(r=ec(),i=tc(n))).callback=null!=t?t:null,Fa(n,a,i),e.current.lanes=i,vt(e,i,r),rc(e,r),e}function Uc(e,t,n,r){var i=t.current,a=ec(),o=tc(i);return n=$c(n),null===t.context?t.context=n:t.pendingContext=n,(t=za(a,o)).payload={element:e},null!==(r=void 0===r?null:r)&&(t.callback=r),null!==(e=Fa(i,t,o))&&(nc(e,i,o,a),Ha(e,i,o)),o}function Bc(e){return(e=e.current).child?(e.child.tag,e.child.stateNode):null}function Wc(e,t){if(null!==(e=e.memoizedState)&&null!==e.dehydrated){var n=e.retryLane;e.retryLane=0!==n&&n<t?n:t}}function Zc(e,t){Wc(e,t),(e=e.alternate)&&Wc(e,t)}xl=function(e,t,n){if(null!==e)if(e.memoizedProps!==t.pendingProps||ji.current)ys=!0;else{if(0===(e.lanes&n)&&!(128&t.flags))return ys=!1,function(e,t,n){switch(t.tag){case 3:js(t),fa();break;case 5:Ka(t);break;case 1:Di(t.type)&&Ni(t);break;case 4:Ya(t,t.stateNode.containerInfo);break;case 10:var r=t.type._context,i=t.memoizedProps.value;ki(wa,r._currentValue),r._currentValue=i;break;case 13:if(null!==(r=t.memoizedState))return null!==r.dehydrated?(ki(Ja,1&Ja.current),t.flags|=128,null):0!==(n&t.child.childLanes)?Rs(e,t,n):(ki(Ja,1&Ja.current),null!==(e=Bs(e,t,n))?e.sibling:null);ki(Ja,1&Ja.current);break;case 19:if(r=0!==(n&t.childLanes),128&e.flags){if(r)return Vs(e,t,n);t.flags|=128}if(null!==(i=t.memoizedState)&&(i.rendering=null,i.tail=null,i.lastEffect=null),ki(Ja,Ja.current),r)break;return null;case 22:case 23:return t.lanes=0,Ss(e,t,n)}return Bs(e,t,n)}(e,t,n);ys=!!(131072&e.flags)}else ys=!1,ia&&1048576&t.flags&&Ji(t,Zi,t.index);switch(t.lanes=0,t.tag){case 2:var r=t.type;Us(e,t),e=t.pendingProps;var i=Pi(t,Oi.current);ja(t,n),i=go(null,t,r,e,i,n);var o=vo();return t.flags|=1,"object"==typeof i&&null!==i&&"function"==typeof i.render&&void 0===i.$$typeof?(t.tag=1,t.memoizedState=null,t.updateQueue=null,Di(r)?(o=!0,Ni(t)):o=!1,t.memoizedState=null!==i.state&&void 0!==i.state?i.state:null,Na(t),i.updater=is,t.stateNode=i,i._reactInternals=t,ls(t,r,e,n),t=Os(null,t,r,!0,o,n)):(t.tag=0,ia&&o&&ea(t),Cs(null,t,i,n),t=t.child),t;case 16:r=t.elementType;e:{switch(Us(e,t),e=t.pendingProps,r=(i=r._init)(r._payload),t.type=r,i=t.tag=function(e){if("function"==typeof e)return Dc(e)?1:0;if(null!=e){if((e=e.$$typeof)===O)return 11;if(e===P)return 14}return 2}(r),e=ns(r,e),i){case 0:t=ks(null,t,r,e,n);break e;case 1:t=Ms(null,t,r,e,n);break e;case 11:t=_s(null,t,r,e,n);break e;case 14:t=ws(null,t,r,ns(r.type,e),n);break e}throw Error(a(306,r,""))}return t;case 0:return r=t.type,i=t.pendingProps,ks(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 1:return r=t.type,i=t.pendingProps,Ms(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 3:e:{if(js(t),null===e)throw Error(a(387));r=t.pendingProps,i=(o=t.memoizedState).element,Ra(e,t),Va(t,r,null,n);var s=t.memoizedState;if(r=s.element,o.isDehydrated){if(o={element:r,isDehydrated:!1,cache:s.cache,pendingSuspenseBoundaries:s.pendingSuspenseBoundaries,transitions:s.transitions},t.updateQueue.baseState=o,t.memoizedState=o,256&t.flags){t=Ts(e,t,r,n,i=cs(Error(a(423)),t));break e}if(r!==i){t=Ts(e,t,r,n,i=cs(Error(a(424)),t));break e}for(ra=ci(t.stateNode.containerInfo.firstChild),na=t,ia=!0,aa=null,n=_a(t,null,r,n),t.child=n;n;)n.flags=-3&n.flags|4096,n=n.sibling}else{if(fa(),r===i){t=Bs(e,t,n);break e}Cs(e,t,r,n)}t=t.child}return t;case 5:return Ka(t),null===e&&ca(t),r=t.type,i=t.pendingProps,o=null!==e?e.memoizedProps:null,s=i.children,ni(r,i)?s=null:null!==o&&ni(r,o)&&(t.flags|=32),Es(e,t),Cs(e,t,s,n),t.child;case 6:return null===e&&ca(t),null;case 13:return Rs(e,t,n);case 4:return Ya(t,t.stateNode.containerInfo),r=t.pendingProps,null===e?t.child=Ca(t,null,r,n):Cs(e,t,r,n),t.child;case 11:return r=t.type,i=t.pendingProps,_s(e,t,r,i=t.elementType===r?i:ns(r,i),n);case 7:return Cs(e,t,t.pendingProps,n),t.child;case 8:case 12:return Cs(e,t,t.pendingProps.children,n),t.child;case 10:e:{if(r=t.type._context,i=t.pendingProps,o=t.memoizedProps,s=i.value,ki(wa,r._currentValue),r._currentValue=s,null!==o)if(sr(o.value,s)){if(o.children===i.children&&!ji.current){t=Bs(e,t,n);break e}}else for(null!==(o=t.child)&&(o.return=t);null!==o;){var l=o.dependencies;if(null!==l){s=o.child;for(var c=l.firstContext;null!==c;){if(c.context===r){if(1===o.tag){(c=za(-1,n&-n)).tag=2;var u=o.updateQueue;if(null!==u){var d=(u=u.shared).pending;null===d?c.next=c:(c.next=d.next,d.next=c),u.pending=c}}o.lanes|=n,null!==(c=o.alternate)&&(c.lanes|=n),Oa(o.return,n,t),l.lanes|=n;break}c=c.next}}else if(10===o.tag)s=o.type===t.type?null:o.child;else if(18===o.tag){if(null===(s=o.return))throw Error(a(341));s.lanes|=n,null!==(l=s.alternate)&&(l.lanes|=n),Oa(s,n,t),s=o.sibling}else s=o.child;if(null!==s)s.return=o;else for(s=o;null!==s;){if(s===t){s=null;break}if(null!==(o=s.sibling)){o.return=s.return,s=o;break}s=s.return}o=s}Cs(e,t,i.children,n),t=t.child}return t;case 9:return i=t.type,r=t.pendingProps.children,ja(t,n),r=r(i=Ta(i)),t.flags|=1,Cs(e,t,r,n),t.child;case 14:return i=ns(r=t.type,t.pendingProps),ws(e,t,r,i=ns(r.type,i),n);case 15:return xs(e,t,t.type,t.pendingProps,n);case 17:return r=t.type,i=t.pendingProps,i=t.elementType===r?i:ns(r,i),Us(e,t),t.tag=1,Di(r)?(e=!0,Ni(t)):e=!1,ja(t,n),os(t,r,i),ls(t,r,i,n),Os(null,t,r,!0,e,n);case 19:return Vs(e,t,n);case 22:return Ss(e,t,n)}throw Error(a(156,t.tag))};var qc="function"==typeof reportError?reportError:function(e){console.error(e)};function Gc(e){this._internalRoot=e}function Yc(e){this._internalRoot=e}function Qc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType)}function Kc(e){return!(!e||1!==e.nodeType&&9!==e.nodeType&&11!==e.nodeType&&(8!==e.nodeType||" react-mount-point-unstable "!==e.nodeValue))}function Xc(){}function Jc(e,t,n,r,i){var a=n._reactRootContainer;if(a){var o=a;if("function"==typeof i){var s=i;i=function(){var e=Bc(o);s.call(e)}}Uc(t,o,e,i)}else o=function(e,t,n,r,i){if(i){if("function"==typeof r){var a=r;r=function(){var e=Bc(o);a.call(e)}}var o=Vc(t,r,e,0,null,!1,0,"",Xc);return e._reactRootContainer=o,e[pi]=o.current,Vr(8===e.nodeType?e.parentNode:e),uc(),o}for(;i=e.lastChild;)e.removeChild(i);if("function"==typeof r){var s=r;r=function(){var e=Bc(l);s.call(e)}}var l=Hc(e,0,!1,null,0,!1,0,"",Xc);return e._reactRootContainer=l,e[pi]=l.current,Vr(8===e.nodeType?e.parentNode:e),uc(function(){Uc(t,l,n,r)}),l}(n,t,e,i,r);return Bc(o)}Yc.prototype.render=Gc.prototype.render=function(e){var t=this._internalRoot;if(null===t)throw Error(a(409));Uc(e,t,null,null)},Yc.prototype.unmount=Gc.prototype.unmount=function(){var e=this._internalRoot;if(null!==e){this._internalRoot=null;var t=e.containerInfo;uc(function(){Uc(null,e,null,null)}),t[pi]=null}},Yc.prototype.unstable_scheduleHydration=function(e){if(e){var t=St();e={blockedOn:null,target:e,priority:t};for(var n=0;n<At.length&&0!==t&&t<At[n].priority;n++);At.splice(n,0,e),0===n&&Rt(e)}},_t=function(e){switch(e.tag){case 3:var t=e.stateNode;if(t.current.memoizedState.isDehydrated){var n=dt(t.pendingLanes);0!==n&&(bt(t,1|n),rc(t,Ke()),!(6&Ol)&&(Vl=Ke()+500,Vi()))}break;case 13:uc(function(){var t=La(e,1);if(null!==t){var n=ec();nc(t,e,1,n)}}),Zc(e,1)}},wt=function(e){if(13===e.tag){var t=La(e,134217728);null!==t&&nc(t,e,134217728,ec()),Zc(e,134217728)}},xt=function(e){if(13===e.tag){var t=tc(e),n=La(e,t);null!==n&&nc(n,e,t,ec()),Zc(e,t)}},St=function(){return yt},Et=function(e,t){var n=yt;try{return yt=e,t()}finally{yt=n}},we=function(e,t,n){switch(t){case"input":if(X(e,n),t=n.name,"radio"===n.type&&null!=t){for(n=e;n.parentNode;)n=n.parentNode;for(n=n.querySelectorAll("input[name="+JSON.stringify(""+t)+'][type="radio"]'),t=0;t<n.length;t++){var r=n[t];if(r!==e&&r.form===e.form){var i=_i(r);if(!i)throw Error(a(90));q(r),X(r,i)}}}break;case"textarea":ae(e,n);break;case"select":null!=(t=n.value)&&ne(e,!!n.multiple,t,!1)}},Oe=cc,je=uc;var eu={usingClientEntryPoint:!1,Events:[yi,Ci,_i,ke,Me,cc]},tu={findFiberByHostInstance:bi,bundleType:0,version:"18.3.1",rendererPackageName:"react-dom"},nu={bundleType:tu.bundleType,version:tu.version,rendererPackageName:tu.rendererPackageName,rendererConfig:tu.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:C.ReactCurrentDispatcher,findHostInstanceByFiber:function(e){return null===(e=We(e))?null:e.stateNode},findFiberByHostInstance:tu.findFiberByHostInstance||function(){return null},findHostInstancesForRefresh:null,scheduleRefresh:null,scheduleRoot:null,setRefreshHandler:null,getCurrentFiber:null,reconcilerVersion:"18.3.1-next-f1338f8080-20240426"};if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__){var ru=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!ru.isDisabled&&ru.supportsFiber)try{it=ru.inject(nu),at=ru}catch(ue){}}t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=eu,t.createPortal=function(e,t){var n=2<arguments.length&&void 0!==arguments[2]?arguments[2]:null;if(!Qc(t))throw Error(a(200));return function(e,t,n){var r=3<arguments.length&&void 0!==arguments[3]?arguments[3]:null;return{$$typeof:w,key:null==r?null:""+r,children:e,containerInfo:t,implementation:n}}(e,t,null,n)},t.createRoot=function(e,t){if(!Qc(e))throw Error(a(299));var n=!1,r="",i=qc;return null!=t&&(!0===t.unstable_strictMode&&(n=!0),void 0!==t.identifierPrefix&&(r=t.identifierPrefix),void 0!==t.onRecoverableError&&(i=t.onRecoverableError)),t=Hc(e,1,!1,null,0,n,0,r,i),e[pi]=t.current,Vr(8===e.nodeType?e.parentNode:e),new Gc(t)},t.findDOMNode=function(e){if(null==e)return null;if(1===e.nodeType)return e;var t=e._reactInternals;if(void 0===t){if("function"==typeof e.render)throw Error(a(188));throw e=Object.keys(e).join(","),Error(a(268,e))}return null===(e=We(t))?null:e.stateNode},t.flushSync=function(e){return uc(e)},t.hydrate=function(e,t,n){if(!Kc(t))throw Error(a(200));return Jc(null,e,t,!0,n)},t.hydrateRoot=function(e,t,n){if(!Qc(e))throw Error(a(405));var r=null!=n&&n.hydratedSources||null,i=!1,o="",s=qc;if(null!=n&&(!0===n.unstable_strictMode&&(i=!0),void 0!==n.identifierPrefix&&(o=n.identifierPrefix),void 0!==n.onRecoverableError&&(s=n.onRecoverableError)),t=Vc(t,null,e,1,null!=n?n:null,i,0,o,s),e[pi]=t.current,Vr(e),r)for(e=0;e<r.length;e++)i=(i=(n=r[e])._getVersion)(n._source),null==t.mutableSourceEagerHydrationData?t.mutableSourceEagerHydrationData=[n,i]:t.mutableSourceEagerHydrationData.push(n,i);return new Yc(t)},t.render=function(e,t,n){if(!Kc(t))throw Error(a(200));return Jc(null,e,t,!1,n)},t.unmountComponentAtNode=function(e){if(!Kc(e))throw Error(a(40));return!!e._reactRootContainer&&(uc(function(){Jc(null,null,e,!1,function(){e._reactRootContainer=null,e[pi]=null})}),!0)},t.unstable_batchedUpdates=cc,t.unstable_renderSubtreeIntoContainer=function(e,t,n,r){if(!Kc(n))throw Error(a(200));if(null==e||void 0===e._reactInternals)throw Error(a(38));return Jc(e,t,n,!1,r)},t.version="18.3.1-next-f1338f8080-20240426"},997:function(e,t,n){"use strict";var r=n(316);t.createRoot=r.createRoot,t.hydrateRoot=r.hydrateRoot},316:function(e,t,n){"use strict";!function e(){if("undefined"!=typeof __REACT_DEVTOOLS_GLOBAL_HOOK__&&"function"==typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE)try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(e)}catch(e){console.error(e)}}(),e.exports=n(396)},666:function(e,t,n){var r=n(175),i=n(842),a=n(155),o=n(376);function s(e){return e&&e.__esModule?e.default:e}function l(e,t,n,r){Object.defineProperty(e,t,{get:n,set:r,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 r=e.children[n]||null;e.insertBefore(t,r)}(e.parentElement,e.element,e.oldIndex)})}function h(e,t){const n=m(e),r={parentElement:e.from};let i=[];switch(n){case"normal":i=[{element:e.item,newIndex:e.newIndex,oldIndex:e.oldIndex,parentElement:e.from}];break;case"swap":i=[{element:e.item,oldIndex:e.oldIndex,newIndex:e.newIndex,...r},{element:e.swapItem,oldIndex:e.newIndex,newIndex:e.oldIndex,...r}];break;case"multidrag":i=e.oldIndicies.map((t,n)=>({element:t.multiDragElement,oldIndex:t.index,newIndex:e.newIndicies[n].index,...r}))}const a=function(e,t){return e.map(e=>({...e,item:t[e.oldIndex]})).sort((e,t)=>e.oldIndex-t.oldIndex)}(i,t);return a}function f(e,t){const n=[...t];return e.concat().reverse().forEach(e=>n.splice(e.oldIndex,1)),n}function p(e,t,n,r){const i=[...t];return e.forEach(e=>{const t=r&&n&&r(e.item,n);i.splice(e.newIndex,0,t||e.item)}),i}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",()=>v);const g={dragging:null};class v extends a.Component{static defaultProps={clone:e=>e};constructor(e){super(e),this.ref=(0,a.createRef)();const t=[...e.list].map(e=>Object.assign(e,{chosen:!1,selected:!1}));e.setList(t,this.sortable,g),s(o)(!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(r).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:r}=this.props,i={style:t,className:n,id:r},o=e&&null!==e?e:"div";return(0,a.createElement)(o,{ref:this.ref,...i},this.getChildren())}getChildren(){const{children:e,dataIdAttr:t,selectedClass:n="sortable-selected",chosenClass:r="sortable-chosen",dragClass:o="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 a.Children.map(e,(e,t)=>{if(void 0===e)return;const o=h[t]||{},{className:l}=e.props,c="string"==typeof d&&{[d.replace(".","")]:!!o.filtered},u=s(i)(l,{[n]:o.selected,[r]:o.chosen,...c});return(0,a.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:r,tag:i,style:a,className:o,clone:s,onAdd:l,onChange:c,onChoose:u,onClone:d,onEnd:h,onFilter:f,onRemove:p,onSort:m,onStart:g,onUnchoose:v,onUpdate:b,onMove:y,onSpill:C,onSelect:_,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,r=e.willInsertAfter||-1;if(!n)return r;const i=n(e,t,this.sortable,g);return void 0!==i&&i}}}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:r}=this.props,i=h(e,[...g.dragging.props.list]);u(i),n(p(i,t,e,r).map(e=>Object.assign(e,{selected:!1})),this.sortable,g)}onRemove(e){const{list:t,setList:n}=this.props,r=m(e),i=h(e,t);d(i);let a=[...t];if("clone"!==e.pullMode)a=f(i,a);else{let t=i;switch(r){case"multidrag":t=i.map((t,n)=>({...t,element:e.clones[n]}));break;case"normal":t=i.map(t=>({...t,element:e.clone}));break;default:s(o)(!0,`mode "${r}" cannot clone. Please remove "props.clone" from <ReactSortable/> when using the "${r}" plugin`)}u(t),i.forEach(t=>{const n=t.oldIndex,r=this.props.clone(t.item,e);a.splice(n,1,r)})}a=a.map(e=>Object.assign(e,{selected:!1})),n(a,this.sortable,g)}onUpdate(e){const{list:t,setList:n}=this.props,r=h(e,t);return u(r),d(r),n(function(e,t){return p(e,f(e,t))}(r,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 r=t;return n===e.oldIndex&&(r=Object.assign(t,{chosen:!0})),r}),this.sortable,g)}onUnchoose(e){const{list:t,setList:n}=this.props;n(t.map((t,n)=>{let r=t;return n===e.oldIndex&&(r=Object.assign(r,{chosen:!1})),r}),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,r=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);r[n].selected=!0}),n(r,this.sortable,g)}onDeselect(e){const{list:t,setList:n}=this.props,r=t.map(e=>Object.assign(e,{selected:!1}));e.newIndicies.forEach(e=>{const t=e.index;-1!==t&&(r[t].selected=!0)}),n(r,this.sortable,g)}}var b,y;b=e.exports,y={},Object.keys(y).forEach(function(e){"default"===e||"__esModule"===e||b.hasOwnProperty(e)||Object.defineProperty(b,e,{enumerable:!0,get:function(){return y[e]}})})},921: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 r=n(155),i=Symbol.for("react.element"),a=Symbol.for("react.fragment"),o=Object.prototype.hasOwnProperty,s=r.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,l={key:!0,ref:!0,__self:!0,__source:!0};function c(e,t,n){var r,a={},c=null,u=null;for(r in void 0!==n&&(c=""+n),void 0!==t.key&&(c=""+t.key),void 0!==t.ref&&(u=t.ref),t)o.call(t,r)&&!l.hasOwnProperty(r)&&(a[r]=t[r]);if(e&&e.defaultProps)for(r in t=e.defaultProps)void 0===a[r]&&(a[r]=t[r]);return{$$typeof:i,type:e,key:c,ref:u,props:a,_owner:s.current}}t.Fragment=a,t.jsx=c,t.jsxs=c},18:function(e,t){"use strict";
/**
 * @license React
 * react.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 n=Symbol.for("react.element"),r=Symbol.for("react.portal"),i=Symbol.for("react.fragment"),a=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),s=Symbol.for("react.provider"),l=Symbol.for("react.context"),c=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),d=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),f=Symbol.iterator,p={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,g={};function v(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}function b(){}function y(e,t,n){this.props=e,this.context=t,this.refs=g,this.updater=n||p}v.prototype.isReactComponent={},v.prototype.setState=function(e,t){if("object"!=typeof e&&"function"!=typeof e&&null!=e)throw Error("setState(...): takes an object of state variables to update or a function which returns an object of state variables.");this.updater.enqueueSetState(this,e,t,"setState")},v.prototype.forceUpdate=function(e){this.updater.enqueueForceUpdate(this,e,"forceUpdate")},b.prototype=v.prototype;var C=y.prototype=new b;C.constructor=y,m(C,v.prototype),C.isPureReactComponent=!0;var _=Array.isArray,w=Object.prototype.hasOwnProperty,x={current:null},S={key:!0,ref:!0,__self:!0,__source:!0};function E(e,t,r){var i,a={},o=null,s=null;if(null!=t)for(i in void 0!==t.ref&&(s=t.ref),void 0!==t.key&&(o=""+t.key),t)w.call(t,i)&&!S.hasOwnProperty(i)&&(a[i]=t[i]);var l=arguments.length-2;if(1===l)a.children=r;else if(1<l){for(var c=Array(l),u=0;u<l;u++)c[u]=arguments[u+2];a.children=c}if(e&&e.defaultProps)for(i in l=e.defaultProps)void 0===a[i]&&(a[i]=l[i]);return{$$typeof:n,type:e,key:o,ref:s,props:a,_owner:x.current}}function k(e){return"object"==typeof e&&null!==e&&e.$$typeof===n}var M=/\/+/g;function O(e,t){return"object"==typeof e&&null!==e&&null!=e.key?function(e){var t={"=":"=0",":":"=2"};return"$"+e.replace(/[=:]/g,function(e){return t[e]})}(""+e.key):t.toString(36)}function j(e,t,i,a,o){var s=typeof e;"undefined"!==s&&"boolean"!==s||(e=null);var l=!1;if(null===e)l=!0;else switch(s){case"string":case"number":l=!0;break;case"object":switch(e.$$typeof){case n:case r:l=!0}}if(l)return o=o(l=e),e=""===a?"."+O(l,0):a,_(o)?(i="",null!=e&&(i=e.replace(M,"$&/")+"/"),j(o,t,i,"",function(e){return e})):null!=o&&(k(o)&&(o=function(e,t){return{$$typeof:n,type:e.type,key:t,ref:e.ref,props:e.props,_owner:e._owner}}(o,i+(!o.key||l&&l.key===o.key?"":(""+o.key).replace(M,"$&/")+"/")+e)),t.push(o)),1;if(l=0,a=""===a?".":a+":",_(e))for(var c=0;c<e.length;c++){var u=a+O(s=e[c],c);l+=j(s,t,i,u,o)}else if(u=function(e){return null===e||"object"!=typeof e?null:"function"==typeof(e=f&&e[f]||e["@@iterator"])?e:null}(e),"function"==typeof u)for(e=u.call(e),c=0;!(s=e.next()).done;)l+=j(s=s.value,t,i,u=a+O(s,c++),o);else if("object"===s)throw t=String(e),Error("Objects are not valid as a React child (found: "+("[object Object]"===t?"object with keys {"+Object.keys(e).join(", ")+"}":t)+"). If you meant to render a collection of children, use an array instead.");return l}function T(e,t,n){if(null==e)return e;var r=[],i=0;return j(e,r,"","",function(e){return t.call(n,e,i++)}),r}function P(e){if(-1===e._status){var t=e._result;(t=t()).then(function(t){0!==e._status&&-1!==e._status||(e._status=1,e._result=t)},function(t){0!==e._status&&-1!==e._status||(e._status=2,e._result=t)}),-1===e._status&&(e._status=0,e._result=t)}if(1===e._status)return e._result.default;throw e._result}var D={current:null},A={transition:null},L={ReactCurrentDispatcher:D,ReactCurrentBatchConfig:A,ReactCurrentOwner:x};function I(){throw Error("act(...) is not supported in production builds of React.")}t.Children={map:T,forEach:function(e,t,n){T(e,function(){t.apply(this,arguments)},n)},count:function(e){var t=0;return T(e,function(){t++}),t},toArray:function(e){return T(e,function(e){return e})||[]},only:function(e){if(!k(e))throw Error("React.Children.only expected to receive a single React element child.");return e}},t.Component=v,t.Fragment=i,t.Profiler=o,t.PureComponent=y,t.StrictMode=a,t.Suspense=u,t.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=L,t.act=I,t.cloneElement=function(e,t,r){if(null==e)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+e+".");var i=m({},e.props),a=e.key,o=e.ref,s=e._owner;if(null!=t){if(void 0!==t.ref&&(o=t.ref,s=x.current),void 0!==t.key&&(a=""+t.key),e.type&&e.type.defaultProps)var l=e.type.defaultProps;for(c in t)w.call(t,c)&&!S.hasOwnProperty(c)&&(i[c]=void 0===t[c]&&void 0!==l?l[c]:t[c])}var c=arguments.length-2;if(1===c)i.children=r;else if(1<c){l=Array(c);for(var u=0;u<c;u++)l[u]=arguments[u+2];i.children=l}return{$$typeof:n,type:e.type,key:a,ref:o,props:i,_owner:s}},t.createContext=function(e){return(e={$$typeof:l,_currentValue:e,_currentValue2:e,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null}).Provider={$$typeof:s,_context:e},e.Consumer=e},t.createElement=E,t.createFactory=function(e){var t=E.bind(null,e);return t.type=e,t},t.createRef=function(){return{current:null}},t.forwardRef=function(e){return{$$typeof:c,render:e}},t.isValidElement=k,t.lazy=function(e){return{$$typeof:h,_payload:{_status:-1,_result:e},_init:P}},t.memo=function(e,t){return{$$typeof:d,type:e,compare:void 0===t?null:t}},t.startTransition=function(e){var t=A.transition;A.transition={};try{e()}finally{A.transition=t}},t.unstable_act=I,t.useCallback=function(e,t){return D.current.useCallback(e,t)},t.useContext=function(e){return D.current.useContext(e)},t.useDebugValue=function(){},t.useDeferredValue=function(e){return D.current.useDeferredValue(e)},t.useEffect=function(e,t){return D.current.useEffect(e,t)},t.useId=function(){return D.current.useId()},t.useImperativeHandle=function(e,t,n){return D.current.useImperativeHandle(e,t,n)},t.useInsertionEffect=function(e,t){return D.current.useInsertionEffect(e,t)},t.useLayoutEffect=function(e,t){return D.current.useLayoutEffect(e,t)},t.useMemo=function(e,t){return D.current.useMemo(e,t)},t.useReducer=function(e,t,n){return D.current.useReducer(e,t,n)},t.useRef=function(e){return D.current.useRef(e)},t.useState=function(e){return D.current.useState(e)},t.useSyncExternalStore=function(e,t,n){return D.current.useSyncExternalStore(e,t,n)},t.useTransition=function(){return D.current.useTransition()},t.version="18.3.1"},155:function(e,t,n){"use strict";e.exports=n(18)},723:function(e,t,n){"use strict";e.exports=n(921)},910:function(e,t){"use strict";
/**
 * @license React
 * scheduler.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.
 */function n(e,t){var n=e.length;e.push(t);e:for(;0<n;){var r=n-1>>>1,i=e[r];if(!(0<a(i,t)))break e;e[r]=t,e[n]=i,n=r}}function r(e){return 0===e.length?null:e[0]}function i(e){if(0===e.length)return null;var t=e[0],n=e.pop();if(n!==t){e[0]=n;e:for(var r=0,i=e.length,o=i>>>1;r<o;){var s=2*(r+1)-1,l=e[s],c=s+1,u=e[c];if(0>a(l,n))c<i&&0>a(u,l)?(e[r]=u,e[c]=n,r=c):(e[r]=l,e[s]=n,r=s);else{if(!(c<i&&0>a(u,n)))break e;e[r]=u,e[c]=n,r=c}}}return t}function a(e,t){var n=e.sortIndex-t.sortIndex;return 0!==n?n:e.id-t.id}if("object"==typeof performance&&"function"==typeof performance.now){var o=performance;t.unstable_now=function(){return o.now()}}else{var s=Date,l=s.now();t.unstable_now=function(){return s.now()-l}}var c=[],u=[],d=1,h=null,f=3,p=!1,m=!1,g=!1,v="function"==typeof setTimeout?setTimeout:null,b="function"==typeof clearTimeout?clearTimeout:null,y="undefined"!=typeof setImmediate?setImmediate:null;function C(e){for(var t=r(u);null!==t;){if(null===t.callback)i(u);else{if(!(t.startTime<=e))break;i(u),t.sortIndex=t.expirationTime,n(c,t)}t=r(u)}}function _(e){if(g=!1,C(e),!m)if(null!==r(c))m=!0,A(w);else{var t=r(u);null!==t&&L(_,t.startTime-e)}}function w(e,n){m=!1,g&&(g=!1,b(k),k=-1),p=!0;var a=f;try{for(C(n),h=r(c);null!==h&&(!(h.expirationTime>n)||e&&!j());){var o=h.callback;if("function"==typeof o){h.callback=null,f=h.priorityLevel;var s=o(h.expirationTime<=n);n=t.unstable_now(),"function"==typeof s?h.callback=s:h===r(c)&&i(c),C(n)}else i(c);h=r(c)}if(null!==h)var l=!0;else{var d=r(u);null!==d&&L(_,d.startTime-n),l=!1}return l}finally{h=null,f=a,p=!1}}"undefined"!=typeof navigator&&void 0!==navigator.scheduling&&void 0!==navigator.scheduling.isInputPending&&navigator.scheduling.isInputPending.bind(navigator.scheduling);var x,S=!1,E=null,k=-1,M=5,O=-1;function j(){return!(t.unstable_now()-O<M)}function T(){if(null!==E){var e=t.unstable_now();O=e;var n=!0;try{n=E(!0,e)}finally{n?x():(S=!1,E=null)}}else S=!1}if("function"==typeof y)x=function(){y(T)};else if("undefined"!=typeof MessageChannel){var P=new MessageChannel,D=P.port2;P.port1.onmessage=T,x=function(){D.postMessage(null)}}else x=function(){v(T,0)};function A(e){E=e,S||(S=!0,x())}function L(e,n){k=v(function(){e(t.unstable_now())},n)}t.unstable_IdlePriority=5,t.unstable_ImmediatePriority=1,t.unstable_LowPriority=4,t.unstable_NormalPriority=3,t.unstable_Profiling=null,t.unstable_UserBlockingPriority=2,t.unstable_cancelCallback=function(e){e.callback=null},t.unstable_continueExecution=function(){m||p||(m=!0,A(w))},t.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):M=0<e?Math.floor(1e3/e):5},t.unstable_getCurrentPriorityLevel=function(){return f},t.unstable_getFirstCallbackNode=function(){return r(c)},t.unstable_next=function(e){switch(f){case 1:case 2:case 3:var t=3;break;default:t=f}var n=f;f=t;try{return e()}finally{f=n}},t.unstable_pauseExecution=function(){},t.unstable_requestPaint=function(){},t.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var n=f;f=e;try{return t()}finally{f=n}},t.unstable_scheduleCallback=function(e,i,a){var o=t.unstable_now();switch(a="object"==typeof a&&null!==a&&"number"==typeof(a=a.delay)&&0<a?o+a:o,e){case 1:var s=-1;break;case 2:s=250;break;case 5:s=1073741823;break;case 4:s=1e4;break;default:s=5e3}return e={id:d++,callback:i,priorityLevel:e,startTime:a,expirationTime:s=a+s,sortIndex:-1},a>o?(e.sortIndex=a,n(u,e),null===r(c)&&e===r(u)&&(g?(b(k),k=-1):g=!0,L(_,a-o))):(e.sortIndex=s,n(c,e),m||p||(m=!0,A(w))),e},t.unstable_shouldYield=j,t.unstable_wrapCallback=function(e){var t=f;return function(){var n=f;f=t;try{return e.apply(this,arguments)}finally{f=n}}}},593:function(e,t,n){"use strict";e.exports=n(910)},175:function(e,t,n){"use strict";
/**!
 * Sortable 1.15.6
 * @author	RubaXa   <trash@rubaxa.org>
 * @author	owenm    <owen23355@gmail.com>
 * @license MIT
 */
function r(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function i(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?r(Object(n),!0).forEach(function(t){o(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):r(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}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 o(e,t,n){return t in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function s(){return s=Object.assign||function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)Object.prototype.hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},s.apply(this,arguments)}function l(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=new Array(t);n<t;n++)r[n]=e[n];return r}function c(e){if("undefined"!=typeof window&&window.navigator)return!!navigator.userAgent.match(e)}n.r(t),n.d(t,{MultiDrag:function(){return Ct},Sortable:function(){return $e},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 v(e,t,n){e.addEventListener(t,n,!u&&g)}function b(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 C(e){return e.host&&e!==document&&e.host.nodeType?e.host:e.parentNode}function _(e,t,n,r){if(e){n=n||document;do{if(null!=t&&(">"===t[0]?e.parentNode===n&&y(e,t):y(e,t))||r&&e===n)return e;if(e===n)break}while(e=C(e))}return null}var w,x=/\s+/g;function S(e,t,n){if(e&&t)if(e.classList)e.classList[n?"add":"remove"](t);else{var r=(" "+e.className+" ").replace(x," ").replace(" "+t+" "," ");e.className=(r+(n?" "+t:"")).replace(x," ")}}function E(e,t,n){var r=e&&e.style;if(r){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 r||-1!==t.indexOf("webkit")||(t="-webkit-"+t),r[t]=n+("string"==typeof n?"":"px")}}function k(e,t){var n="";if("string"==typeof e)n=e;else do{var r=E(e,"transform");r&&"none"!==r&&(n=r+" "+n)}while(!t&&(e=e.parentNode));var i=window.DOMMatrix||window.WebKitCSSMatrix||window.CSSMatrix||window.MSCSSMatrix;return i&&new i(n)}function M(e,t,n){if(e){var r=e.getElementsByTagName(t),i=0,a=r.length;if(n)for(;i<a;i++)n(r[i],i);return r}return[]}function O(){return document.scrollingElement||document.documentElement}function j(e,t,n,r,i){if(e.getBoundingClientRect||e===window){var a,o,s,l,c,d,h;if(e!==window&&e.parentNode&&e!==O()?(o=(a=e.getBoundingClientRect()).top,s=a.left,l=a.bottom,c=a.right,d=a.height,h=a.width):(o=0,s=0,l=window.innerHeight,c=window.innerWidth,d=window.innerHeight,h=window.innerWidth),(t||n)&&e!==window&&(i=i||e.parentNode,!u))do{if(i&&i.getBoundingClientRect&&("none"!==E(i,"transform")||n&&"static"!==E(i,"position"))){var f=i.getBoundingClientRect();o-=f.top+parseInt(E(i,"border-top-width")),s-=f.left+parseInt(E(i,"border-left-width")),l=o+a.height,c=s+a.width;break}}while(i=i.parentNode);if(r&&e!==window){var p=k(i||e),m=p&&p.a,g=p&&p.d;p&&(l=(o/=g)+(d/=g),c=(s/=m)+(h/=m))}return{top:o,left:s,bottom:l,right:c,width:h,height:d}}}function T(e,t,n){for(var r=I(e,!0),i=j(e)[t];r;){var a=j(r)[n];if(!("top"===n||"left"===n?i>=a:i<=a))return r;if(r===O())break;r=I(r,!1)}return!1}function P(e,t,n,r){for(var i=0,a=0,o=e.children;a<o.length;){if("none"!==o[a].style.display&&o[a]!==$e.ghost&&(r||o[a]!==$e.dragged)&&_(o[a],n.draggable,e,!1)){if(i===t)return o[a];i++}a++}return null}function D(e,t){for(var n=e.lastElementChild;n&&(n===$e.ghost||"none"===E(n,"display")||t&&!y(n,t));)n=n.previousElementSibling;return n||null}function A(e,t){var n=0;if(!e||!e.parentNode)return-1;for(;e=e.previousElementSibling;)"TEMPLATE"===e.nodeName.toUpperCase()||e===$e.clone||t&&!y(e,t)||n++;return n}function L(e){var t=0,n=0,r=O();if(e)do{var i=k(e),a=i.a,o=i.d;t+=e.scrollLeft*a,n+=e.scrollTop*o}while(e!==r&&(e=e.parentNode));return[t,n]}function I(e,t){if(!e||!e.getBoundingClientRect)return O();var n=e,r=!1;do{if(n.clientWidth<n.scrollWidth||n.clientHeight<n.scrollHeight){var i=E(n);if(n.clientWidth<n.scrollWidth&&("auto"==i.overflowX||"scroll"==i.overflowX)||n.clientHeight<n.scrollHeight&&("auto"==i.overflowY||"scroll"==i.overflowY)){if(!n.getBoundingClientRect||n===document.body)return O();if(r||t)return n;r=!0}}}while(n=n.parentNode);return O()}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 z(e,t,n){e.scrollLeft+=t,e.scrollTop+=n}function F(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){E(e,"position","absolute"),E(e,"top",t.top),E(e,"left",t.left),E(e,"width",t.width),E(e,"height",t.height)}function $(e){E(e,"position",""),E(e,"top",""),E(e,"left",""),E(e,"width",""),E(e,"height","")}function V(e,t,n){var r={};return Array.from(e.children).forEach(function(i){var a,o,s,l;if(_(i,t.draggable,e,!1)&&!i.animated&&i!==n){var c=j(i);r.left=Math.min(null!==(a=r.left)&&void 0!==a?a:1/0,c.left),r.top=Math.min(null!==(o=r.top)&&void 0!==o?o:1/0,c.top),r.right=Math.max(null!==(s=r.right)&&void 0!==s?s:-1/0,c.right),r.bottom=Math.max(null!==(l=r.bottom)&&void 0!==l?l:-1/0,c.bottom)}}),r.width=r.right-r.left,r.height=r.bottom-r.top,r.x=r.left,r.y=r.top,r}var U="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 r=this;this.eventCanceled=!1,n.cancel=function(){r.eventCanceled=!0};var a=e+"Global";B.forEach(function(r){t[r.pluginName]&&(t[r.pluginName][a]&&t[r.pluginName][a](i({sortable:t},n)),t.options[r.pluginName]&&t[r.pluginName][e]&&t[r.pluginName][e](i({sortable:t},n)))})},initializePlugins:function(e,t,n,r){for(var i in B.forEach(function(r){var i=r.pluginName;if(e.options[i]||r.initializeByDefault){var a=new r(e,t,e.options);a.sortable=e,a.options=e.options,e[i]=a,s(n,a.defaults)}}),e.options)if(e.options.hasOwnProperty(i)){var a=this.modifyOption(e,i,e.options[i]);void 0!==a&&(e.options[i]=a)}},getEventProperties:function(e,t){var n={};return B.forEach(function(r){"function"==typeof r.eventProperties&&s(n,r.eventProperties.call(t[r.pluginName],e))}),n},modifyOption:function(e,t,n){var r;return B.forEach(function(i){e[i.pluginName]&&i.optionListeners&&"function"==typeof i.optionListeners[t]&&(r=i.optionListeners[t].call(e[i.pluginName],n))}),r}};function q(e){var t=e.sortable,n=e.rootEl,r=e.name,a=e.targetEl,o=e.cloneEl,s=e.toEl,l=e.fromEl,c=e.oldIndex,h=e.newIndex,f=e.oldDraggableIndex,p=e.newDraggableIndex,m=e.originalEvent,g=e.putSortable,v=e.extraEventProperties;if(t=t||n&&n[U]){var b,y=t.options,C="on"+r.charAt(0).toUpperCase()+r.substr(1);!window.CustomEvent||u||d?(b=document.createEvent("Event")).initEvent(r,!0,!0):b=new CustomEvent(r,{bubbles:!0,cancelable:!0}),b.to=s||n,b.from=l||n,b.item=a||n,b.clone=o,b.oldIndex=c,b.newIndex=h,b.oldDraggableIndex=f,b.newDraggableIndex=p,b.originalEvent=m,b.pullMode=g?g.lastPutMode:void 0;var _=i(i({},v),Z.getEventProperties(r,t));for(var w in _)b[w]=_[w];n&&n.dispatchEvent(b),y[C]&&y[C].call(t,b)}}var G=["evt"],Y=function(e,t){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=n.evt,a=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n,r,i={},a=Object.keys(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||(i[n]=e[n]);return i}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],t.indexOf(n)>=0||Object.prototype.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(n,G);Z.pluginEvent.bind($e)(e,t,i({dragEl:K,parentEl:X,ghostEl:J,rootEl:ee,nextEl:te,lastDownEl:ne,cloneEl:re,cloneHidden:ie,dragStarted:ve,putSortable:ue,activeSortable:$e.active,originalEvent:r,oldIndex:ae,oldDraggableIndex:se,newIndex:oe,newDraggableIndex:le,hideGhostForTarget:Re,unhideGhostForTarget:ze,cloneNowHidden:function(){ie=!0},cloneNowShown:function(){ie=!1},dispatchSortableEvent:function(e){Q({sortable:t,name:e,originalEvent:r})}},a))};function Q(e){q(i({putSortable:ue,cloneEl:re,targetEl:K,rootEl:ee,oldIndex:ae,oldDraggableIndex:se,newIndex:oe,newDraggableIndex:le},e))}var K,X,J,ee,te,ne,re,ie,ae,oe,se,le,ce,ue,de,he,fe,pe,me,ge,ve,be,ye,Ce,_e,we=!1,xe=!1,Se=[],Ee=!1,ke=!1,Me=[],Oe=!1,je=[],Te="undefined"!=typeof document,Pe=p,De=d||u?"cssFloat":"float",Ae=Te&&!m&&!p&&"draggable"in document.createElement("div"),Le=function(){if(Te){if(u)return!1;var e=document.createElement("x");return e.style.cssText="pointer-events:auto","auto"===e.style.pointerEvents}}(),Ie=function(e,t){var n=E(e),r=parseInt(n.width)-parseInt(n.paddingLeft)-parseInt(n.paddingRight)-parseInt(n.borderLeftWidth)-parseInt(n.borderRightWidth),i=P(e,0,t),a=P(e,1,t),o=i&&E(i),s=a&&E(a),l=o&&parseInt(o.marginLeft)+parseInt(o.marginRight)+j(i).width,c=s&&parseInt(s.marginLeft)+parseInt(s.marginRight)+j(a).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(i&&o.float&&"none"!==o.float){var u="left"===o.float?"left":"right";return!a||"both"!==s.clear&&s.clear!==u?"horizontal":"vertical"}return i&&("block"===o.display||"flex"===o.display||"table"===o.display||"grid"===o.display||l>=r&&"none"===n[De]||a&&"none"===n[De]&&l+c>r)?"vertical":"horizontal"},Ne=function(e){function t(e,n){return function(r,i,a,o){var s=r.options.group.name&&i.options.group.name&&r.options.group.name===i.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(r,i,a,o),n)(r,i,a,o);var l=(n?r:i).options.group.name;return!0===e||"string"==typeof e&&e===l||e.join&&e.indexOf(l)>-1}}var n={},r=e.group;r&&"object"==a(r)||(r={name:r}),n.name=r.name,n.checkPull=t(r.pull,!0),n.checkPut=t(r.put),n.revertClone=r.revertClone,e.group=n},Re=function(){!Le&&J&&E(J,"display","none")},ze=function(){!Le&&J&&E(J,"display","")};Te&&!m&&document.addEventListener("click",function(e){if(xe)return e.preventDefault(),e.stopPropagation&&e.stopPropagation(),e.stopImmediatePropagation&&e.stopImmediatePropagation(),xe=!1,!1},!0);var Fe=function(e){if(K){e=e.touches?e.touches[0]:e;var t=(i=e.clientX,a=e.clientY,Se.some(function(e){var t=e[U].options.emptyInsertThreshold;if(t&&!D(e)){var n=j(e),r=i>=n.left-t&&i<=n.right+t,s=a>=n.top-t&&a<=n.bottom+t;return r&&s?o=e:void 0}}),o);if(t){var n={};for(var r in e)e.hasOwnProperty(r)&&(n[r]=e[r]);n.target=n.rootEl=t,n.preventDefault=void 0,n.stopPropagation=void 0,t[U]._onDragOver(n)}}var i,a,o},He=function(e){K&&K.parentNode[U]._isOutsideThisEl(e.target)};function $e(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=s({},t),e[U]=this;var n,r,a={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 Ie(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!==$e.supportPointer&&"PointerEvent"in window&&(!f||p),emptyInsertThreshold:5};for(var o in Z.initializePlugins(this,e,a),a)!(o in t)&&(t[o]=a[o]);for(var l in Ne(t),this)"_"===l.charAt(0)&&"function"==typeof this[l]&&(this[l]=this[l].bind(this));this.nativeDraggable=!t.forceFallback&&Ae,this.nativeDraggable&&(this.options.touchStartThreshold=1),t.supportPointer?v(e,"pointerdown",this._onTapStart):(v(e,"mousedown",this._onTapStart),v(e,"touchstart",this._onTapStart)),this.nativeDraggable&&(v(e,"dragover",this),v(e,"dragenter",this)),Se.push(this.el),t.store&&t.store.get&&this.sort(t.store.get(this)||[]),s(this,(r=[],{captureAnimationState:function(){r=[],this.options.animation&&[].slice.call(this.el.children).forEach(function(e){if("none"!==E(e,"display")&&e!==$e.ghost){r.push({target:e,rect:j(e)});var t=i({},r[r.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){r.push(e)},removeAnimationState:function(e){r.splice(function(e,t){for(var n in e)if(e.hasOwnProperty(n))for(var r in t)if(t.hasOwnProperty(r)&&t[r]===e[n][r])return Number(n);return-1}(r,{target:e}),1)},animateAll:function(e){var t=this;if(!this.options.animation)return clearTimeout(n),void("function"==typeof e&&e());var i=!1,a=0;r.forEach(function(e){var n=0,r=e.target,o=r.fromRect,s=j(r),l=r.prevFromRect,c=r.prevToRect,u=e.rect,d=k(r,!0);d&&(s.top-=d.f,s.left-=d.e),r.toRect=s,r.thisAnimationDuration&&N(l,s)&&!N(o,s)&&(u.top-s.top)/(u.left-s.left)===(o.top-s.top)/(o.left-s.left)&&(n=function(e,t,n,r){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))*r.animation}(u,l,c,t.options)),N(s,o)||(r.prevFromRect=o,r.prevToRect=s,n||(n=t.options.animation),t.animate(r,u,s,n)),n&&(i=!0,a=Math.max(a,n),clearTimeout(r.animationResetTimer),r.animationResetTimer=setTimeout(function(){r.animationTime=0,r.prevFromRect=null,r.fromRect=null,r.prevToRect=null,r.thisAnimationDuration=null},n),r.thisAnimationDuration=n)}),clearTimeout(n),i?n=setTimeout(function(){"function"==typeof e&&e()},a):"function"==typeof e&&e(),r=[]},animate:function(e,t,n,r){if(r){E(e,"transition",""),E(e,"transform","");var i=k(this.el),a=i&&i.a,o=i&&i.d,s=(t.left-n.left)/(a||1),l=(t.top-n.top)/(o||1);e.animatingX=!!s,e.animatingY=!!l,E(e,"transform","translate3d("+s+"px,"+l+"px,0)"),this.forRepaintDummy=function(e){return e.offsetWidth}(e),E(e,"transition","transform "+r+"ms"+(this.options.easing?" "+this.options.easing:"")),E(e,"transform","translate3d(0,0,0)"),"number"==typeof e.animated&&clearTimeout(e.animated),e.animated=setTimeout(function(){E(e,"transition",""),E(e,"transform",""),e.animated=!1,e.animatingX=!1,e.animatingY=!1},r)}}}))}function Ve(e,t,n,r,i,a,o,s){var l,c,h=e[U],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=r,l.related=i||t,l.relatedRect=a||j(t),l.willInsertAfter=s,l.originalEvent=o,e.dispatchEvent(l),f&&(c=f.call(h,l,o)),c}function Ue(e){e.draggable=!1}function Be(){Oe=!1}function We(e){for(var t=e.tagName+e.className+e.src+e.href+e.textContent,n=t.length,r=0;n--;)r+=t.charCodeAt(n);return r.toString(36)}function Ze(e){return setTimeout(e,0)}function qe(e){return clearTimeout(e)}$e.prototype={constructor:$e,_isOutsideThisEl:function(e){this.el.contains(e)||e===this.el||(be=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,r=this.options,i=r.preventOnFilter,a=e.type,o=e.touches&&e.touches[0]||e.pointerType&&"touch"===e.pointerType&&e,s=(o||e).target,l=e.target.shadowRoot&&(e.path&&e.path[0]||e.composedPath&&e.composedPath()[0])||s,c=r.filter;if(function(e){je.length=0;for(var t=e.getElementsByTagName("input"),n=t.length;n--;){var r=t[n];r.checked&&je.push(r)}}(n),!K&&!(/mousedown|pointerdown/.test(a)&&0!==e.button||r.disabled)&&!l.isContentEditable&&(this.nativeDraggable||!f||!s||"SELECT"!==s.tagName.toUpperCase())&&!((s=_(s,r.draggable,n,!1))&&s.animated||ne===s)){if(ae=A(s),se=A(s,r.draggable),"function"==typeof c){if(c.call(this,e,s,this))return Q({sortable:t,rootEl:l,name:"filter",targetEl:s,toEl:n,fromEl:n}),Y("filter",t,{evt:e}),void(i&&e.preventDefault())}else if(c&&(c=c.split(",").some(function(r){if(r=_(l,r.trim(),n,!1))return Q({sortable:t,rootEl:r,name:"filter",targetEl:s,fromEl:n,toEl:n}),Y("filter",t,{evt:e}),!0})))return void(i&&e.preventDefault());r.handle&&!_(l,r.handle,n,!1)||this._prepareDragStart(e,o,s)}}},_prepareDragStart:function(e,t,n){var r,i=this,a=i.el,o=i.options,s=a.ownerDocument;if(n&&!K&&n.parentNode===a){var l=j(n);if(ee=a,X=(K=n).parentNode,te=K.nextSibling,ne=n,ce=o.group,$e.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",r=function(){Y("delayEnded",i,{evt:e}),$e.eventCanceled?i._onDrop():(i._disableDelayedDragEvents(),!h&&i.nativeDraggable&&(K.draggable=!0),i._triggerDragStart(e,t),Q({sortable:i,name:"choose",originalEvent:e}),S(K,o.chosenClass,!0))},o.ignore.split(",").forEach(function(e){M(K,e.trim(),Ue)}),v(s,"dragover",Fe),v(s,"mousemove",Fe),v(s,"touchmove",Fe),o.supportPointer?(v(s,"pointerup",i._onDrop),!this.nativeDraggable&&v(s,"pointercancel",i._onDrop)):(v(s,"mouseup",i._onDrop),v(s,"touchend",i._onDrop),v(s,"touchcancel",i._onDrop)),h&&this.nativeDraggable&&(this.options.touchStartThreshold=4,K.draggable=!0),Y("delayStart",this,{evt:e}),!o.delay||o.delayOnTouchOnly&&!t||this.nativeDraggable&&(d||u))r();else{if($e.eventCanceled)return void this._onDrop();o.supportPointer?(v(s,"pointerup",i._disableDelayedDrag),v(s,"pointercancel",i._disableDelayedDrag)):(v(s,"mouseup",i._disableDelayedDrag),v(s,"touchend",i._disableDelayedDrag),v(s,"touchcancel",i._disableDelayedDrag)),v(s,"mousemove",i._delayedDragTouchMoveHandler),v(s,"touchmove",i._delayedDragTouchMoveHandler),o.supportPointer&&v(s,"pointermove",i._delayedDragTouchMoveHandler),i._dragStartTimer=setTimeout(r,o.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&&Ue(K),clearTimeout(this._dragStartTimer),this._disableDelayedDragEvents()},_disableDelayedDragEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._disableDelayedDrag),b(e,"touchend",this._disableDelayedDrag),b(e,"touchcancel",this._disableDelayedDrag),b(e,"pointerup",this._disableDelayedDrag),b(e,"pointercancel",this._disableDelayedDrag),b(e,"mousemove",this._delayedDragTouchMoveHandler),b(e,"touchmove",this._delayedDragTouchMoveHandler),b(e,"pointermove",this._delayedDragTouchMoveHandler)},_triggerDragStart:function(e,t){t=t||"touch"==e.pointerType&&e,!this.nativeDraggable||t?this.options.supportPointer?v(document,"pointermove",this._onTouchMove):v(document,t?"touchmove":"mousemove",this._onTouchMove):(v(K,"dragend",this),v(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){Y("dragStarted",this,{evt:t}),this.nativeDraggable&&v(document,"dragover",He);var n=this.options;!e&&S(K,n.dragClass,!1),S(K,n.ghostClass,!0),$e.active=this,e&&this._appendGhost(),Q({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[U]._isOutsideThisEl(e),t)do{if(t[U]&&t[U]._onDragOver({clientX:he.clientX,clientY:he.clientY,target:e,rootEl:t})&&!this.options.dragoverBubble)break;e=t}while(t=C(t));ze()}},_onTouchMove:function(e){if(de){var t=this.options,n=t.fallbackTolerance,r=t.fallbackOffset,i=e.touches?e.touches[0]:e,a=J&&k(J,!0),o=J&&a&&a.a,s=J&&a&&a.d,l=Pe&&_e&&L(_e),c=(i.clientX-de.clientX+r.x)/(o||1)+(l?l[0]-Me[0]:0)/(o||1),u=(i.clientY-de.clientY+r.y)/(s||1)+(l?l[1]-Me[1]:0)/(s||1);if(!$e.active&&!we){if(n&&Math.max(Math.abs(i.clientX-this._lastX),Math.abs(i.clientY-this._lastY))<n)return;this._onDragStart(e,!0)}if(J){a?(a.e+=c-(fe||0),a.f+=u-(pe||0)):a={a:1,b:0,c:0,d:1,e:c,f:u};var d="matrix(".concat(a.a,",").concat(a.b,",").concat(a.c,",").concat(a.d,",").concat(a.e,",").concat(a.f,")");E(J,"webkitTransform",d),E(J,"mozTransform",d),E(J,"msTransform",d),E(J,"transform",d),fe=c,pe=u,he=i}e.cancelable&&e.preventDefault()}},_appendGhost:function(){if(!J){var e=this.options.fallbackOnBody?document.body:ee,t=j(K,!0,Pe,!0,e),n=this.options;if(Pe){for(_e=e;"static"===E(_e,"position")&&"none"===E(_e,"transform")&&_e!==document;)_e=_e.parentNode;_e!==document.body&&_e!==document.documentElement?(_e===document&&(_e=O()),t.top+=_e.scrollTop,t.left+=_e.scrollLeft):_e=O(),Me=L(_e)}S(J=K.cloneNode(!0),n.ghostClass,!1),S(J,n.fallbackClass,!0),S(J,n.dragClass,!0),E(J,"transition",""),E(J,"transform",""),E(J,"box-sizing","border-box"),E(J,"margin",0),E(J,"top",t.top),E(J,"left",t.left),E(J,"width",t.width),E(J,"height",t.height),E(J,"opacity","0.8"),E(J,"position",Pe?"absolute":"fixed"),E(J,"zIndex","100000"),E(J,"pointerEvents","none"),$e.ghost=J,e.appendChild(J),E(J,"transform-origin",me/parseInt(J.style.width)*100+"% "+ge/parseInt(J.style.height)*100+"%")}},_onDragStart:function(e,t){var n=this,r=e.dataTransfer,i=n.options;Y("dragStart",this,{evt:e}),$e.eventCanceled?this._onDrop():(Y("setupClone",this),$e.eventCanceled||((re=F(K)).removeAttribute("id"),re.draggable=!1,re.style["will-change"]="",this._hideClone(),S(re,this.options.chosenClass,!1),$e.clone=re),n.cloneId=Ze(function(){Y("clone",n),$e.eventCanceled||(n.options.removeCloneOnHide||ee.insertBefore(re,K),n._hideClone(),Q({sortable:n,name:"clone"}))}),!t&&S(K,i.dragClass,!0),t?(xe=!0,n._loopId=setInterval(n._emulateDragOver,50)):(b(document,"mouseup",n._onDrop),b(document,"touchend",n._onDrop),b(document,"touchcancel",n._onDrop),r&&(r.effectAllowed="move",i.setData&&i.setData.call(n,r,K)),v(document,"drop",n),E(K,"transform","translateZ(0)")),we=!0,n._dragStartId=Ze(n._dragStarted.bind(n,t,e)),v(document,"selectstart",n),ve=!0,window.getSelection().removeAllRanges(),f&&E(document.body,"user-select","none"))},_onDragOver:function(e){var t,n,r,a,o=this.el,s=e.target,l=this.options,c=l.group,u=$e.active,d=ce===c,h=l.sort,f=ue||u,p=this,m=!1;if(!Oe){if(void 0!==e.preventDefault&&e.cancelable&&e.preventDefault(),s=_(s,l.draggable,o,!0),F("dragOver"),$e.eventCanceled)return m;if(K.contains(e.target)||s.animated&&s.animatingX&&s.animatingY||p._ignoreWhileAnimating===s)return $(!1);if(xe=!1,u&&!l.disabled&&(d?h||(r=X!==ee):ue===this||(this.lastPutMode=ce.checkPull(this,u,K,e))&&c.checkPut(this,u,K,e))){if(a="vertical"===this._getDirection(e,s),t=j(K),F("dragOverValid"),$e.eventCanceled)return m;if(r)return X=ee,H(),this._hideClone(),F("revert"),$e.eventCanceled||(te?ee.insertBefore(K,te):ee.appendChild(K)),$(!0);var g=D(o,l.draggable);if(!g||function(e,t,n){var r=j(D(n.el,n.options.draggable)),i=V(n.el,n.options,J);return t?e.clientX>i.right+10||e.clientY>r.bottom&&e.clientX>r.left:e.clientY>i.bottom+10||e.clientX>r.right&&e.clientY>r.top}(e,a,this)&&!g.animated){if(g===K)return $(!1);if(g&&o===e.target&&(s=g),s&&(n=j(s)),!1!==Ve(ee,o,K,t,s,n,e,!!s))return H(),g&&g.nextSibling?o.insertBefore(K,g.nextSibling):o.appendChild(K),X=o,B(),$(!0)}else if(g&&function(e,t,n){var r=j(P(n.el,0,n.options,!0)),i=V(n.el,n.options,J);return t?e.clientX<i.left-10||e.clientY<r.top&&e.clientX<r.right:e.clientY<i.top-10||e.clientY<r.bottom&&e.clientX<r.left}(e,a,this)){var v=P(o,0,l,!0);if(v===K)return $(!1);if(n=j(s=v),!1!==Ve(ee,o,K,t,s,n,e,!1))return H(),o.insertBefore(K,v),X=o,B(),$(!0)}else if(s.parentNode===o){n=j(s);var b,y,C,w=K.parentNode!==o,x=!function(e,t,n){var r=n?e.left:e.top,i=n?e.right:e.bottom,a=n?e.width:e.height,o=n?t.left:t.top,s=n?t.right:t.bottom,l=n?t.width:t.height;return r===o||i===s||r+a/2===o+l/2}(K.animated&&K.toRect||t,s.animated&&s.toRect||n,a),k=a?"top":"left",M=T(s,"top","top")||T(K,"top","top"),O=M?M.scrollTop:void 0;if(be!==s&&(y=n[k],Ee=!1,ke=!x&&l.invertSwap||w),b=function(e,t,n,r,i,a,o,s){var l=r?e.clientY:e.clientX,c=r?n.height:n.width,u=r?n.top:n.left,d=r?n.bottom:n.right,h=!1;if(!o)if(s&&Ce<c*i){if(!Ee&&(1===ye?l>u+c*a/2:l<d-c*a/2)&&(Ee=!0),Ee)h=!0;else if(1===ye?l<u+Ce:l>d-Ce)return-ye}else if(l>u+c*(1-i)/2&&l<d-c*(1-i)/2)return function(e){return A(K)<A(e)?1:-1}(t);return(h=h||o)&&(l<u+c*a/2||l>d-c*a/2)?l>u+c/2?1:-1:0}(e,s,n,a,x?1:l.swapThreshold,null==l.invertedSwapThreshold?l.swapThreshold:l.invertedSwapThreshold,ke,be===s),0!==b){var L=A(K);do{L-=b,C=X.children[L]}while(C&&("none"===E(C,"display")||C===J))}if(0===b||C===s)return $(!1);be=s,ye=b;var I=s.nextElementSibling,N=!1,R=Ve(ee,o,K,t,s,n,e,N=1===b);if(!1!==R)return 1!==R&&-1!==R||(N=1===R),Oe=!0,setTimeout(Be,30),H(),N&&!I?o.appendChild(K):s.parentNode.insertBefore(K,N?I:s),M&&z(M,0,O-M.scrollTop),X=K.parentNode,void 0===y||ke||(Ce=Math.abs(y-j(s)[k])),B(),$(!0)}if(o.contains(K))return $(!1)}return!1}function F(l,c){Y(l,p,i({evt:e,isOwner:d,axis:a?"vertical":"horizontal",revert:r,dragRect:t,targetRect:n,canSort:h,fromSortable:f,target:s,completed:$,onMove:function(n,r){return Ve(ee,o,K,t,n,j(n),e,r)},changed:B},c))}function H(){F("dragOverAnimationCapture"),p.captureAnimationState(),p!==f&&f.captureAnimationState()}function $(t){return F("dragOverCompleted",{insertion:t}),t&&(d?u._hideClone():u._showClone(p),p!==f&&(S(K,ue?ue.options.ghostClass:u.options.ghostClass,!1),S(K,l.ghostClass,!0)),ue!==p&&p!==$e.active?ue=p:p===$e.active&&ue&&(ue=null),f===p&&(p._ignoreWhileAnimating=s),p.animateAll(function(){F("dragOverAnimationComplete"),p._ignoreWhileAnimating=null}),p!==f&&(f.animateAll(),f._ignoreWhileAnimating=null)),(s===K&&!K.animated||s===o&&!s.animated)&&(be=null),l.dragoverBubble||e.rootEl||s===document||(K.parentNode[U]._isOutsideThisEl(e.target),!t&&Fe(e)),!l.dragoverBubble&&e.stopPropagation&&e.stopPropagation(),m=!0}function B(){oe=A(K),le=A(K,l.draggable),Q({sortable:p,name:"change",toEl:o,newIndex:oe,newDraggableIndex:le,originalEvent:e})}},_ignoreWhileAnimating:null,_offMoveEvents:function(){b(document,"mousemove",this._onTouchMove),b(document,"touchmove",this._onTouchMove),b(document,"pointermove",this._onTouchMove),b(document,"dragover",Fe),b(document,"mousemove",Fe),b(document,"touchmove",Fe)},_offUpEvents:function(){var e=this.el.ownerDocument;b(e,"mouseup",this._onDrop),b(e,"touchend",this._onDrop),b(e,"pointerup",this._onDrop),b(e,"pointercancel",this._onDrop),b(e,"touchcancel",this._onDrop),b(document,"selectstart",this)},_onDrop:function(e){var t=this.el,n=this.options;oe=A(K),le=A(K,n.draggable),Y("drop",this,{evt:e}),X=K&&K.parentNode,oe=A(K),le=A(K,n.draggable),$e.eventCanceled||(we=!1,ke=!1,Ee=!1,clearInterval(this._loopId),clearTimeout(this._dragStartTimer),qe(this.cloneId),qe(this._dragStartId),this.nativeDraggable&&(b(document,"drop",this),b(t,"dragstart",this._onDragStart)),this._offMoveEvents(),this._offUpEvents(),f&&E(document.body,"user-select",""),E(K,"transform",""),e&&(ve&&(e.cancelable&&e.preventDefault(),!n.dropBubble&&e.stopPropagation()),J&&J.parentNode&&J.parentNode.removeChild(J),(ee===X||ue&&"clone"!==ue.lastPutMode)&&re&&re.parentNode&&re.parentNode.removeChild(re),K&&(this.nativeDraggable&&b(K,"dragend",this),Ue(K),K.style["will-change"]="",ve&&!we&&S(K,ue?ue.options.ghostClass:this.options.ghostClass,!1),S(K,this.options.chosenClass,!1),Q({sortable:this,name:"unchoose",toEl:X,newIndex:null,newDraggableIndex:null,originalEvent:e}),ee!==X?(oe>=0&&(Q({rootEl:X,name:"add",toEl:X,fromEl:ee,originalEvent:e}),Q({sortable:this,name:"remove",toEl:X,originalEvent:e}),Q({rootEl:X,name:"sort",toEl:X,fromEl:ee,originalEvent:e}),Q({sortable:this,name:"sort",toEl:X,originalEvent:e})),ue&&ue.save()):oe!==ae&&oe>=0&&(Q({sortable:this,name:"update",toEl:X,originalEvent:e}),Q({sortable:this,name:"sort",toEl:X,originalEvent:e})),$e.active&&(null!=oe&&-1!==oe||(oe=ae,le=se),Q({sortable:this,name:"end",toEl:X,originalEvent:e}),this.save())))),this._nulling()},_nulling:function(){Y("nulling",this),ee=K=X=J=te=re=ne=ie=de=he=ve=oe=le=ae=se=be=ye=ue=ce=$e.dragged=$e.ghost=$e.clone=$e.active=null,je.forEach(function(e){e.checked=!0}),je.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,r=0,i=n.length,a=this.options;r<i;r++)_(e=n[r],a.draggable,this.el,!1)&&t.push(e.getAttribute(a.dataIdAttr)||We(e));return t},sort:function(e,t){var n={},r=this.el;this.toArray().forEach(function(e,t){var i=r.children[t];_(i,this.options.draggable,r,!1)&&(n[e]=i)},this),t&&this.captureAnimationState(),e.forEach(function(e){n[e]&&(r.removeChild(n[e]),r.appendChild(n[e]))}),t&&this.animateAll()},save:function(){var e=this.options.store;e&&e.set&&e.set(this)},closest:function(e,t){return _(e,t||this.options.draggable,this.el,!1)},option:function(e,t){var n=this.options;if(void 0===t)return n[e];var r=Z.modifyOption(this,e,t);n[e]=void 0!==r?r:t,"group"===e&&Ne(n)},destroy:function(){Y("destroy",this);var e=this.el;e[U]=null,b(e,"mousedown",this._onTapStart),b(e,"touchstart",this._onTapStart),b(e,"pointerdown",this._onTapStart),this.nativeDraggable&&(b(e,"dragover",this),b(e,"dragenter",this)),Array.prototype.forEach.call(e.querySelectorAll("[draggable]"),function(e){e.removeAttribute("draggable")}),this._onDrop(),this._disableDelayedDragEvents(),Se.splice(Se.indexOf(this.el),1),this.el=e=null},_hideClone:function(){if(!ie){if(Y("hideClone",this),$e.eventCanceled)return;E(re,"display","none"),this.options.removeCloneOnHide&&re.parentNode&&re.parentNode.removeChild(re),ie=!0}},_showClone:function(e){if("clone"===e.lastPutMode){if(ie){if(Y("showClone",this),$e.eventCanceled)return;K.parentNode!=ee||this.options.group.revertClone?te?ee.insertBefore(re,te):ee.appendChild(re):ee.insertBefore(re,K),this.options.group.revertClone&&this.animate(K,re),E(re,"display",""),ie=!1}}else this._hideClone()}},Te&&v(document,"touchmove",function(e){($e.active||we)&&e.cancelable&&e.preventDefault()}),$e.utils={on:v,off:b,css:E,find:M,is:function(e,t){return!!_(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:_,toggleClass:S,clone:F,index:A,nextTick:Ze,cancelNextTick:qe,detectDirection:Ie,getChild:P,expando:U},$e.get=function(e){return e[U]},$e.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&&($e.utils=i(i({},$e.utils),e.utils)),Z.mount(e)})},$e.create=function(e,t){return new $e(e,t)},$e.version="1.15.6";var Ge,Ye,Qe,Ke,Xe,Je,et=[],tt=!1;function nt(){et.forEach(function(e){clearInterval(e.pid)}),et=[]}function rt(){clearInterval(Je)}var it,at=R(function(e,t,n,r){if(t.scroll){var i,a=(e.touches?e.touches[0]:e).clientX,o=(e.touches?e.touches[0]:e).clientY,s=t.scrollSensitivity,l=t.scrollSpeed,c=O(),u=!1;Ye!==n&&(Ye=n,nt(),Ge=t.scroll,i=t.scrollFn,!0===Ge&&(Ge=I(n,!0)));var d=0,h=Ge;do{var f=h,p=j(f),m=p.top,g=p.bottom,v=p.left,b=p.right,y=p.width,C=p.height,_=void 0,w=void 0,x=f.scrollWidth,S=f.scrollHeight,k=E(f),M=f.scrollLeft,T=f.scrollTop;f===c?(_=y<x&&("auto"===k.overflowX||"scroll"===k.overflowX||"visible"===k.overflowX),w=C<S&&("auto"===k.overflowY||"scroll"===k.overflowY||"visible"===k.overflowY)):(_=y<x&&("auto"===k.overflowX||"scroll"===k.overflowX),w=C<S&&("auto"===k.overflowY||"scroll"===k.overflowY));var P=_&&(Math.abs(b-a)<=s&&M+y<x)-(Math.abs(v-a)<=s&&!!M),D=w&&(Math.abs(g-o)<=s&&T+C<S)-(Math.abs(m-o)<=s&&!!T);if(!et[d])for(var A=0;A<=d;A++)et[A]||(et[A]={});et[d].vx==P&&et[d].vy==D&&et[d].el===f||(et[d].el=f,et[d].vx=P,et[d].vy=D,clearInterval(et[d].pid),0==P&&0==D||(u=!0,et[d].pid=setInterval(function(){r&&0===this.layer&&$e.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 i&&"continue"!==i.call($e.dragged.parentNode[U],n,t,e,Xe,et[this.layer].el)||z(et[this.layer].el,n,t)}.bind({layer:d}),24))),d++}while(t.bubbleScroll&&h!==c&&(h=I(h,!1)));tt=u}},30),ot=function(e){var t=e.originalEvent,n=e.putSortable,r=e.dragEl,i=e.activeSortable,a=e.dispatchSortableEvent,o=e.hideGhostForTarget,s=e.unhideGhostForTarget;if(t){var l=n||i;o();var c=t.changedTouches&&t.changedTouches.length?t.changedTouches[0]:t,u=document.elementFromPoint(c.clientX,c.clientY);s(),l&&!l.el.contains(u)&&(a("spill"),this.onSpill({dragEl:r,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;it=t},dragOverValid:function(e){var t=e.completed,n=e.target,r=e.onMove,i=e.activeSortable,a=e.changed,o=e.cancel;if(i.options.swap){var s=this.sortable.el,l=this.options;if(n&&n!==s){var c=it;!1!==r(n)?(S(n,l.swapClass,!0),it=n):it=null,c&&c!==it&&S(c,l.swapClass,!1)}a(),t(!0),o()}},drop:function(e){var t,n,r,i,a,o,s=e.activeSortable,l=e.putSortable,c=e.dragEl,u=l||this.sortable,d=this.options;it&&S(it,d.swapClass,!1),it&&(d.swap||l&&l.options.swap)&&c!==it&&(u.captureAnimationState(),u!==s&&s.captureAnimationState(),n=it,a=(t=c).parentNode,o=n.parentNode,a&&o&&!a.isEqualNode(n)&&!o.isEqualNode(t)&&(r=A(t),i=A(n),a.isEqualNode(o)&&r<i&&i++,a.insertBefore(n,a.children[r]),o.insertBefore(t,o.children[i])),u.animateAll(),u!==s&&s.animateAll())},nulling:function(){it=null}},s(e,{pluginName:"swap",eventProperties:function(){return{swapItem:it}}})}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 r=P(this.sortable.el,this.startIndex,this.options);r?this.sortable.el.insertBefore(t,r):this.sortable.el.appendChild(t),this.sortable.animateAll(),n&&n.animateAll()},drop:ot},s(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:ot},s(lt,{pluginName:"removeOnSpill"});var ut,dt,ht,ft,pt,mt=[],gt=[],vt=!1,bt=!1,yt=!1;function Ct(){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?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),this.defaults={selectedClass:"sortable-selected",multiDragKey:null,avoidImplicitDeselect:!1,setData:function(t,n){var r="";mt.length&&dt===e?mt.forEach(function(e,t){r+=(t?", ":"")+e.textContent}):r=n.textContent,t.setData("Text",r)}}}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 r=0;r<mt.length;r++)gt.push(F(mt[r])),gt[r].sortableIndex=mt[r].sortableIndex,gt[r].draggable=!1,gt[r].style["will-change"]="",S(gt[r],this.options.selectedClass,!1),mt[r]===ht&&S(gt[r],this.options.chosenClass,!1);t._hideClone(),n()}},clone:function(e){var t=e.sortable,n=e.rootEl,r=e.dispatchSortableEvent,i=e.cancel;this.isMultiDrag&&(this.options.removeCloneOnHide||mt.length&&dt===t&&(_t(!0,n),r("clone"),i()))},showClone:function(e){var t=e.cloneNowShown,n=e.rootEl,r=e.cancel;this.isMultiDrag&&(_t(!1,n),gt.forEach(function(e){E(e,"display","")}),t(),pt=!1,r())},hideClone:function(e){var t=this,n=(e.sortable,e.cloneNowHidden),r=e.cancel;this.isMultiDrag&&(gt.forEach(function(e){E(e,"display","none"),t.options.removeCloneOnHide&&e.parentNode&&e.parentNode.removeChild(e)}),n(),pt=!0,r())},dragStartGlobal:function(e){e.sortable,!this.isMultiDrag&&dt&&dt.multiDrag._deselectMultiDrag(),mt.forEach(function(e){e.sortableIndex=A(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&&E(e,"position","absolute")});var r=j(ht,!1,!0,!0);mt.forEach(function(e){e!==ht&&H(e,r)}),bt=!0,vt=!0}n.animateAll(function(){bt=!1,vt=!1,t.options.animation&&mt.forEach(function(e){$(e)}),t.options.sort&&wt()})}},dragOver:function(e){var t=e.target,n=e.completed,r=e.cancel;bt&&~mt.indexOf(t)&&(n(!1),r())},revert:function(e){var t=e.fromSortable,n=e.rootEl,r=e.sortable,i=e.dragRect;mt.length>1&&(mt.forEach(function(e){r.addAnimationState({target:e,rect:bt?j(e):i}),$(e),e.fromRect=i,t.removeAnimationState(e)}),bt=!1,function(e,t){mt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}(!this.options.removeCloneOnHide,n))},dragOverCompleted:function(e){var t=e.sortable,n=e.isOwner,r=e.insertion,i=e.activeSortable,a=e.parentEl,o=e.putSortable,s=this.options;if(r){if(n&&i._hideClone(),vt=!1,s.animation&&mt.length>1&&(bt||!n&&!i.options.sort&&!o)){var l=j(ht,!1,!0,!0);mt.forEach(function(e){e!==ht&&(H(e,l),a.appendChild(e))}),bt=!0}if(!n)if(bt||wt(),mt.length>1){var c=pt;i._showClone(t),i.options.animation&&!pt&&c&&gt.forEach(function(e){i.addAnimationState({target:e,rect:ft}),e.fromRect=ft,e.thisAnimationDuration=null})}else i._showClone(t)}},dragOverAnimationCapture:function(e){var t=e.dragRect,n=e.isOwner,r=e.activeSortable;if(mt.forEach(function(e){e.thisAnimationDuration=null}),r.options.animation&&!n&&r.multiDrag.isMultiDrag){ft=s({},t);var i=k(ht,!0);ft.top-=i.f,ft.left-=i.e}},dragOverAnimationComplete:function(){bt&&(bt=!1,wt())},drop:function(e){var t=e.originalEvent,n=e.rootEl,r=e.parentEl,i=e.sortable,a=e.dispatchSortableEvent,o=e.oldIndex,s=e.putSortable,l=s||this.sortable;if(t){var c=this.options,u=r.children;if(!yt)if(c.multiDragKey&&!this.multiDragKeyDown&&this._deselectMultiDrag(),S(ht,c.selectedClass,!~mt.indexOf(ht)),~mt.indexOf(ht))mt.splice(mt.indexOf(ht),1),ut=null,q({sortable:i,rootEl:n,name:"deselect",targetEl:ht,originalEvent:t});else{if(mt.push(ht),q({sortable:i,rootEl:n,name:"select",targetEl:ht,originalEvent:t}),t.shiftKey&&ut&&i.el.contains(ut)){var d=A(ut),h=A(ht);~d&&~h&&d!==h&&function(){var e,a;h>d?(a=d,e=h):(a=h,e=d+1);for(var o=c.filter;a<e;a++)~mt.indexOf(u[a])||_(u[a],c.draggable,r,!1)&&(o&&("function"==typeof o?o.call(i,t,u[a],i):o.split(",").some(function(e){return _(u[a],e.trim(),r,!1)}))||(S(u[a],c.selectedClass,!0),mt.push(u[a]),q({sortable:i,rootEl:n,name:"select",targetEl:u[a],originalEvent:t})))}()}else ut=ht;dt=l}if(yt&&this.isMultiDrag){if(bt=!1,(r[U].options.sort||r!==n)&&mt.length>1){var f=j(ht),p=A(ht,":not(."+this.options.selectedClass+")");if(!vt&&c.animation&&(ht.thisAnimationDuration=null),l.captureAnimationState(),!vt&&(c.animation&&(ht.fromRect=f,mt.forEach(function(e){if(e.thisAnimationDuration=null,e!==ht){var t=bt?j(e):f;e.fromRect=t,l.addAnimationState({target:e,rect:t})}})),wt(),mt.forEach(function(e){u[p]?r.insertBefore(e,u[p]):r.appendChild(e),p++}),o===A(ht))){var m=!1;mt.forEach(function(e){e.sortableIndex===A(e)||(m=!0)}),m&&(a("update"),a("sort"))}mt.forEach(function(e){$(e)}),l.animateAll()}dt=l}(n===r||s&&"clone"!==s.lastPutMode)&&gt.forEach(function(e){e.parentNode&&e.parentNode.removeChild(e)})}},nullingGlobal:function(){this.isMultiDrag=yt=!1,gt.length=0},destroyGlobal:function(){this._deselectMultiDrag(),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)},_deselectMultiDrag:function(e){if(!(void 0!==yt&&yt||dt!==this.sortable||e&&_(e.target,this.options.draggable,this.sortable.el,!1)||e&&0!==e.button))for(;mt.length;){var t=mt[0];S(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)}},s(e,{pluginName:"multiDrag",utils:{select:function(e){var t=e.parentNode[U];t&&t.options.multiDrag&&!~mt.indexOf(e)&&(dt&&dt!==t&&(dt.multiDrag._deselectMultiDrag(),dt=t),S(e,t.options.selectedClass,!0),mt.push(e))},deselect:function(e){var t=e.parentNode[U],n=mt.indexOf(e);t&&t.options.multiDrag&&~n&&(S(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=bt&&e!==ht?-1:bt?A(e,":not(."+t.options.selectedClass+")"):A(e),r.push({multiDragElement:e,index:i})}),{items:(e=mt,function(e){if(Array.isArray(e))return l(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 l(e,t);var n=Object.prototype.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)?l(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 _t(e,t){gt.forEach(function(n,r){var i=t.children[n.sortableIndex+(e?Number(r):0)];i?t.insertBefore(n,i):t.appendChild(n)})}function wt(){mt.forEach(function(e){e!==ht&&e.parentNode&&e.parentNode.removeChild(e)})}$e.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?v(document,"dragover",this._handleAutoScroll):this.options.supportPointer?v(document,"pointermove",this._handleFallbackAutoScroll):t.touches?v(document,"touchmove",this._handleFallbackAutoScroll):v(document,"mousemove",this._handleFallbackAutoScroll)},dragOverCompleted:function(e){var t=e.originalEvent;this.options.dragOverBubble||t.rootEl||this._handleAutoScroll(t)},drop:function(){this.sortable.nativeDraggable?b(document,"dragover",this._handleAutoScroll):(b(document,"pointermove",this._handleFallbackAutoScroll),b(document,"touchmove",this._handleFallbackAutoScroll),b(document,"mousemove",this._handleFallbackAutoScroll)),rt(),nt(),clearTimeout(w),w=void 0},nulling:function(){Xe=Ye=Ge=tt=Je=Qe=Ke=null,et.length=0},_handleFallbackAutoScroll:function(e){this._handleAutoScroll(e,!0)},_handleAutoScroll:function(e,t){var n=this,r=(e.touches?e.touches[0]:e).clientX,i=(e.touches?e.touches[0]:e).clientY,a=document.elementFromPoint(r,i);if(Xe=e,t||this.options.forceAutoScrollFallback||d||u||f){at(e,this.options,a,t);var o=I(a,!0);!tt||Je&&r===Qe&&i===Ke||(Je&&rt(),Je=setInterval(function(){var a=I(document.elementFromPoint(r,i),!0);a!==o&&(o=a,nt()),at(e,n.options,a,t)},10),Qe=r,Ke=i)}else{if(!this.options.bubbleScroll||I(a,!0)===O())return void nt();at(e,this.options,I(a,!1),!1)}}},s(e,{pluginName:"scroll",initializeByDefault:!0})}),$e.mount(lt,st),t.default=$e},376:function(e,t,n){"use strict";n.r(t),n.d(t,{default:function(){return a}});var r=!0,i="Invariant failed";function a(e,t){if(!e){if(r)throw new Error(i);var n="function"==typeof t?t():t;throw new Error(n?i+": "+n:i)}}},395: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 r={}.hasOwnProperty;function i(){for(var e="",t=0;t<arguments.length;t++){var n=arguments[t];n&&(e=o(e,a(n)))}return e}function a(e){if("string"==typeof e||"number"==typeof e)return e;if("object"!=typeof e)return"";if(Array.isArray(e))return i.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)r.call(e,n)&&e[n]&&(t=o(t,n));return t}function o(e,t){return t?e?e+" "+t:e+t:e}e.exports?(i.default=i,e.exports=i):void 0===(n=function(){return i}.apply(t,[]))||(e.exports=n)}()}},r={};function i(e){var t=r[e];if(void 0!==t)return t.exports;var a=r[e]={exports:{}};return n[e](a,a.exports,i),a.exports}t=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},i.t=function(n,r){if(1&r&&(n=this(n)),8&r)return n;if("object"==typeof n&&n){if(4&r&&n.__esModule)return n;if(16&r&&"function"==typeof n.then)return n}var a=Object.create(null);i.r(a);var o={};e=e||[null,t({}),t([]),t(t)];for(var s=2&r&&n;("object"==typeof s||"function"==typeof s)&&!~e.indexOf(s);s=t(s))Object.getOwnPropertyNames(s).forEach(function(e){o[e]=function(){return n[e]}});return o.default=function(){return n},i.d(a,o),a},i.d=function(e,t){for(var n in t)i.o(t,n)&&!i.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:t[n]})},i.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},function(){var e;i.g.importScripts&&(e=i.g.location+"");var t=i.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var n=t.getElementsByTagName("script");if(n.length)for(var r=n.length-1;r>-1&&(!e||!/^http(s?):/.test(e));)e=n[r--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),i.p=e}(),function(){"use strict";var e={};i.r(e),i.d(e,{hasBrowserEnv:function(){return lr},hasStandardBrowserEnv:function(){return ur},hasStandardBrowserWebWorkerEnv:function(){return dr},navigator:function(){return cr},origin:function(){return hr}});var t={};i.r(t),i.d(t,{exclude:function(){return Fd},extract:function(){return Ad},parse:function(){return Ld},parseUrl:function(){return Nd},pick:function(){return zd},stringify:function(){return Id},stringifyUrl:function(){return Rd}});var n=i(155),r=i.t(n,2),a=i(997),o="popstate";function s(e={}){return function(e,t,n,r={}){let{window:i=document.defaultView,v5Compat:a=!1}=r,s=i.history,c="POP",f=null,p=m();function m(){return(s.state||{idx:null}).idx}function g(){c="POP";let e=m(),t=null==e?null:e-p;p=e,f&&f({action:c,location:b.location,delta:t})}function v(e){return function(e,t=!1){let n="http://localhost";"undefined"!=typeof window&&(n="null"!==window.location.origin?window.location.origin:window.location.href),l(n,"No window.location.(origin|href) available to create URL");let r="string"==typeof e?e:h(e);return r=r.replace(/ $/,"%20"),!t&&r.startsWith("//")&&(r=n+r),new URL(r,n)}(e)}null==p&&(p=0,s.replaceState({...s.state,idx:p},""));let b={get action(){return c},get location(){return e(i,s)},listen(e){if(f)throw new Error("A history only accepts one active listener");return i.addEventListener(o,g),f=e,()=>{i.removeEventListener(o,g),f=null}},createHref(e){return t(i,e)},createURL:v,encodeLocation(e){let t=v(e);return{pathname:t.pathname,search:t.search,hash:t.hash}},push:function(e,t){c="PUSH";let r=d(b.location,e,t);n&&n(r,e),p=m()+1;let o=u(r,p),l=b.createHref(r);try{s.pushState(o,"",l)}catch(e){if(e instanceof DOMException&&"DataCloneError"===e.name)throw e;i.location.assign(l)}a&&f&&f({action:c,location:b.location,delta:1})},replace:function(e,t){c="REPLACE";let r=d(b.location,e,t);n&&n(r,e),p=m();let i=u(r,p),o=b.createHref(r);s.replaceState(i,"",o),a&&f&&f({action:c,location:b.location,delta:0})},go(e){return s.go(e)}};return b}(function(e,t){let{pathname:n="/",search:r="",hash:i=""}=f(e.location.hash.substring(1));return n.startsWith("/")||n.startsWith(".")||(n="/"+n),d("",{pathname:n,search:r,hash:i},t.state&&t.state.usr||null,t.state&&t.state.key||"default")},function(e,t){let n=e.document.querySelector("base"),r="";if(n&&n.getAttribute("href")){let t=e.location.href,n=t.indexOf("#");r=-1===n?t:t.slice(0,n)}return r+"#"+("string"==typeof t?t:h(t))},function(e,t){c("/"===e.pathname.charAt(0),`relative pathnames are not supported in hash history.push(${JSON.stringify(t)})`)},e)}function l(e,t){if(!1===e||null==e)throw new Error(t)}function c(e,t){if(!e){"undefined"!=typeof console&&console.warn(t);try{throw new Error(t)}catch(e){}}}function u(e,t){return{usr:e.state,key:e.key,idx:t}}function d(e,t,n=null,r){return{pathname:"string"==typeof e?e:e.pathname,search:"",hash:"",..."string"==typeof t?f(t):t,state:n,key:t&&t.key||r||Math.random().toString(36).substring(2,10)}}function h({pathname:e="/",search:t="",hash:n=""}){return t&&"?"!==t&&(e+="?"===t.charAt(0)?t:"?"+t),n&&"#"!==n&&(e+="#"===n.charAt(0)?n:"#"+n),e}function f(e){let t={};if(e){let n=e.indexOf("#");n>=0&&(t.hash=e.substring(n),e=e.substring(0,n));let r=e.indexOf("?");r>=0&&(t.search=e.substring(r),e=e.substring(0,r)),e&&(t.pathname=e)}return t}function p(e,t,n="/"){return function(e,t,n,r){let i=O(("string"==typeof t?f(t):t).pathname||"/",n);if(null==i)return null;let a=m(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)))}(a);let o=null;for(let e=0;null==o&&e<a.length;++e){let t=M(i);o=E(a[e],t,r)}return o}(e,t,n,!1)}function m(e,t=[],n=[],r="",i=!1){let a=(e,a,o=i,s)=>{let c={relativePath:void 0===s?e.path||"":s,caseSensitive:!0===e.caseSensitive,childrenIndex:a,route:e};if(c.relativePath.startsWith("/")){if(!c.relativePath.startsWith(r)&&o)return;l(c.relativePath.startsWith(r),`Absolute route path "${c.relativePath}" nested under path "${r}" is not valid. An absolute child route path must start with the combined path of all its parent routes.`),c.relativePath=c.relativePath.slice(r.length)}let u=L([r,c.relativePath]),d=n.concat(c);e.children&&e.children.length>0&&(l(!0!==e.index,`Index routes must not have child routes. Please remove all child routes from route path "${u}".`),m(e.children,t,d,u,o)),(null!=e.path||e.index)&&t.push({path:u,score:S(u,e.index),routesMeta:d})};return e.forEach((e,t)=>{if(""!==e.path&&e.path?.includes("?"))for(let n of g(e.path))a(e,t,!0,n);else a(e,t)}),t}function g(e){let t=e.split("/");if(0===t.length)return[];let[n,...r]=t,i=n.endsWith("?"),a=n.replace(/\?$/,"");if(0===r.length)return i?[a,""]:[a];let o=g(r.join("/")),s=[];return s.push(...o.map(e=>""===e?a:[a,e].join("/"))),i&&s.push(...o),s.map(t=>e.startsWith("/")&&""===t?"/":t)}new WeakMap;var v=/^:[\w-]+$/,b=3,y=2,C=1,_=10,w=-2,x=e=>"*"===e;function S(e,t){let n=e.split("/"),r=n.length;return n.some(x)&&(r+=w),t&&(r+=y),n.filter(e=>!x(e)).reduce((e,t)=>e+(v.test(t)?b:""===t?C:_),r)}function E(e,t,n=!1){let{routesMeta:r}=e,i={},a="/",o=[];for(let e=0;e<r.length;++e){let s=r[e],l=e===r.length-1,c="/"===a?t:t.slice(a.length)||"/",u=k({path:s.relativePath,caseSensitive:s.caseSensitive,end:l},c),d=s.route;if(!u&&l&&n&&!r[r.length-1].route.index&&(u=k({path:s.relativePath,caseSensitive:s.caseSensitive,end:!1},c)),!u)return null;Object.assign(i,u.params),o.push({params:i,pathname:L([a,u.pathname]),pathnameBase:I(L([a,u.pathnameBase])),route:d}),"/"!==u.pathnameBase&&(a=L([a,u.pathnameBase]))}return o}function k(e,t){"string"==typeof e&&(e={path:e,caseSensitive:!1,end:!0});let[n,r]=function(e,t=!1,n=!0){c("*"===e||!e.endsWith("*")||e.endsWith("/*"),`Route path "${e}" will be treated as if it were "${e.replace(/\*$/,"/*")}" because the \`*\` character must always follow a \`/\` in the pattern. To get rid of this warning, please change the route path to "${e.replace(/\*$/,"/*")}".`);let r=[],i="^"+e.replace(/\/*\*?$/,"").replace(/^\/*/,"/").replace(/[\\.*+^${}|()[\]]/g,"\\$&").replace(/\/:([\w-]+)(\?)?/g,(e,t,n)=>(r.push({paramName:t,isOptional:null!=n}),n?"/?([^\\/]+)?":"/([^\\/]+)")).replace(/\/([\w-]+)\?(\/|$)/g,"(/$1)?$2");return e.endsWith("*")?(r.push({paramName:"*"}),i+="*"===e||"/*"===e?"(.*)$":"(?:\\/(.+)|\\/*)$"):n?i+="\\/*$":""!==e&&"/"!==e&&(i+="(?:(?=\\/|$))"),[new RegExp(i,t?void 0:"i"),r]}(e.path,e.caseSensitive,e.end),i=t.match(n);if(!i)return null;let a=i[0],o=a.replace(/(.)\/+$/,"$1"),s=i.slice(1);return{params:r.reduce((e,{paramName:t,isOptional:n},r)=>{if("*"===t){let e=s[r]||"";o=a.slice(0,a.length-e.length).replace(/(.)\/+$/,"$1")}const i=s[r];return e[t]=n&&!i?void 0:(i||"").replace(/%2F/g,"/"),e},{}),pathname:a,pathnameBase:o,pattern:e}}function M(e){try{return e.split("/").map(e=>decodeURIComponent(e).replace(/\//g,"%2F")).join("/")}catch(t){return c(!1,`The URL path "${e}" could not be decoded because it is a malformed URL segment. This is probably due to a bad percent encoding (${t}).`),e}}function O(e,t){if("/"===t)return e;if(!e.toLowerCase().startsWith(t.toLowerCase()))return null;let n=t.endsWith("/")?t.length-1:t.length,r=e.charAt(n);return r&&"/"!==r?null:e.slice(n)||"/"}var j=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i;function T(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 P(e,t,n,r){return`Cannot include a '${e}' character in a manually specified \`to.${t}\` field [${JSON.stringify(r)}].  Please separate it out to the \`to.${n}\` field. Alternatively you may provide the full path as a string in <Link to="..."> and the router will parse it for you.`}function D(e){let t=function(e){return e.filter((e,t)=>0===t||e.route.path&&e.route.path.length>0)}(e);return t.map((e,n)=>n===t.length-1?e.pathname:e.pathnameBase)}function A(e,t,n,r=!1){let i;"string"==typeof e?i=f(e):(i={...e},l(!i.pathname||!i.pathname.includes("?"),P("?","pathname","search",i)),l(!i.pathname||!i.pathname.includes("#"),P("#","pathname","hash",i)),l(!i.search||!i.search.includes("#"),P("#","search","hash",i)));let a,o=""===e||""===i.pathname,s=o?"/":i.pathname;if(null==s)a=n;else{let e=t.length-1;if(!r&&s.startsWith("..")){let t=s.split("/");for(;".."===t[0];)t.shift(),e-=1;i.pathname=t.join("/")}a=e>=0?t[e]:"/"}let c=function(e,t="/"){let n,{pathname:r,search:i="",hash:a=""}="string"==typeof e?f(e):e;return r?(r=r.replace(/\/\/+/g,"/"),n=r.startsWith("/")?T(r.substring(1),"/"):T(r,t)):n=t,{pathname:n,search:N(i),hash:R(a)}}(i,a),u=s&&"/"!==s&&s.endsWith("/"),d=(o||"."===s)&&n.endsWith("/");return c.pathname.endsWith("/")||!u&&!d||(c.pathname+="/"),c}var L=e=>e.join("/").replace(/\/\/+/g,"/"),I=e=>e.replace(/\/+$/,"").replace(/^\/*/,"/"),N=e=>e&&"?"!==e?e.startsWith("?")?e:"?"+e:"",R=e=>e&&"#"!==e?e.startsWith("#")?e:"#"+e:"",z=class{constructor(e,t,n,r=!1){this.status=e,this.statusText=t||"",this.internal=r,n instanceof Error?(this.data=n.toString(),this.error=n):this.data=n}};function F(e){return null!=e&&"number"==typeof e.status&&"string"==typeof e.statusText&&"boolean"==typeof e.internal&&"data"in e}function H(e){return e.map(e=>e.route.path).filter(Boolean).join("/").replace(/\/\/*/g,"/")||"/"}var $="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;function V(e,t){let n=e;if("string"!=typeof n||!j.test(n))return{absoluteURL:void 0,isExternal:!1,to:n};let r=n,i=!1;if($)try{let e=new URL(window.location.href),r=n.startsWith("//")?new URL(e.protocol+n):new URL(n),a=O(r.pathname,t);r.origin===e.origin&&null!=a?n=a+r.search+r.hash:i=!0}catch(e){c(!1,`<Link to="${n}"> contains an invalid URL which will probably break when clicked - please update to a valid URL path.`)}return{absoluteURL:r,isExternal:i,to:n}}Symbol("Uninstrumented"),Object.getOwnPropertyNames(Object.prototype).sort().join("\0");var U=["POST","PUT","PATCH","DELETE"],B=(new Set(U),["GET",...U]);new Set(B),Symbol("ResetLoaderData");var W=n.createContext(null);W.displayName="DataRouter";var Z=n.createContext(null);Z.displayName="DataRouterState";var q=n.createContext(!1);var G=n.createContext({isTransitioning:!1});G.displayName="ViewTransition",n.createContext(new Map).displayName="Fetchers",n.createContext(null).displayName="Await";var Y=n.createContext(null);Y.displayName="Navigation";var Q=n.createContext(null);Q.displayName="Location";var K=n.createContext({outlet:null,matches:[],isDataRoute:!1});K.displayName="Route";var X=n.createContext(null);X.displayName="RouteError";var J="REACT_ROUTER_ERROR";function ee(){return null!=n.useContext(Q)}function te(){return l(ee(),"useLocation() may be used only in the context of a <Router> component."),n.useContext(Q).location}var ne="You should call navigate() in a React.useEffect(), not when your component is first rendered.";function re(e){n.useContext(Y).static||n.useLayoutEffect(e)}function ie(){let{isDataRoute:e}=n.useContext(K);return e?function(){let{router:e}=function(e){let t=n.useContext(W);return l(t,pe(e)),t}("useNavigate"),t=me("useNavigate"),r=n.useRef(!1);re(()=>{r.current=!0});let i=n.useCallback(async(n,i={})=>{c(r.current,ne),r.current&&("number"==typeof n?await e.navigate(n):await e.navigate(n,{fromRouteId:t,...i}))},[e,t]);return i}():function(){l(ee(),"useNavigate() may be used only in the context of a <Router> component.");let e=n.useContext(W),{basename:t,navigator:r}=n.useContext(Y),{matches:i}=n.useContext(K),{pathname:a}=te(),o=JSON.stringify(D(i)),s=n.useRef(!1);re(()=>{s.current=!0});let u=n.useCallback((n,i={})=>{if(c(s.current,ne),!s.current)return;if("number"==typeof n)return void r.go(n);let l=A(n,JSON.parse(o),a,"path"===i.relative);null==e&&"/"!==t&&(l.pathname="/"===l.pathname?t:L([t,l.pathname])),(i.replace?r.replace:r.push)(l,i.state,i)},[t,r,o,a,e]);return u}()}function ae(){let{matches:e}=n.useContext(K),t=e[e.length-1];return t?t.params:{}}function oe(e,{relative:t}={}){let{matches:r}=n.useContext(K),{pathname:i}=te(),a=JSON.stringify(D(r));return n.useMemo(()=>A(e,JSON.parse(a),i,"path"===t),[e,a,i,t])}function se(e,t,r,i,a){l(ee(),"useRoutes() may be used only in the context of a <Router> component.");let{navigator:o}=n.useContext(Y),{matches:s}=n.useContext(K),u=s[s.length-1],d=u?u.params:{},h=u?u.pathname:"/",m=u?u.pathnameBase:"/",g=u&&u.route;{let e=g&&g.path||"";ve(h,!g||e.endsWith("*")||e.endsWith("*?"),`You rendered descendant <Routes> (or called \`useRoutes()\`) at "${h}" (under <Route path="${e}">) but the parent route path has no trailing "*". This means if you navigate deeper, the parent won't match anymore and therefore the child routes will never render.\n\nPlease change the parent <Route path="${e}"> to <Route path="${"/"===e?"*":`${e}/*`}">.`)}let v,b=te();if(t){let e="string"==typeof t?f(t):t;l("/"===m||e.pathname?.startsWith(m),`When overriding the location using \`<Routes location>\` or \`useRoutes(routes, location)\`, the location pathname must begin with the portion of the URL pathname that was matched by all parent routes. The current pathname base is "${m}" but pathname "${e.pathname}" was given in the \`location\` prop.`),v=e}else v=b;let y=v.pathname||"/",C=y;if("/"!==m){let e=m.replace(/^\//,"").split("/");C="/"+y.replace(/^\//,"").split("/").slice(e.length).join("/")}let _=p(e,{pathname:C});c(g||null!=_,`No routes matched location "${v.pathname}${v.search}${v.hash}" `),c(null==_||void 0!==_[_.length-1].route.element||void 0!==_[_.length-1].route.Component||void 0!==_[_.length-1].route.lazy,`Matched leaf route at location "${v.pathname}${v.search}${v.hash}" does not have an element or Component. This means it will render an <Outlet /> with a null value by default resulting in an "empty" page.`);let w=function(e,t=[],r=null,i=null){if(null==e){if(!r)return null;if(r.errors)e=r.matches;else{if(0!==t.length||r.initialized||!(r.matches.length>0))return null;e=r.matches}}let a=e,o=r?.errors;if(null!=o){let e=a.findIndex(e=>e.route.id&&void 0!==o?.[e.route.id]);l(e>=0,`Could not find a matching route for errors on route IDs: ${Object.keys(o).join(",")}`),a=a.slice(0,Math.min(a.length,e+1))}let s=!1,c=-1;if(r)for(let e=0;e<a.length;e++){let t=a[e];if((t.route.HydrateFallback||t.route.hydrateFallbackElement)&&(c=e),t.route.id){let{loaderData:e,errors:n}=r,i=t.route.loader&&!e.hasOwnProperty(t.route.id)&&(!n||void 0===n[t.route.id]);if(t.route.lazy||i){s=!0,a=c>=0?a.slice(0,c+1):[a[0]];break}}}let u=r&&i?(e,t)=>{i(e,{location:r.location,params:r.matches?.[0]?.params??{},unstable_pattern:H(r.matches),errorInfo:t})}:void 0;return a.reduceRight((e,i,l)=>{let d,h=!1,f=null,p=null;r&&(d=o&&i.route.id?o[i.route.id]:void 0,f=i.route.errorElement||ce,s&&(c<0&&0===l?(ve("route-fallback",!1,"No `HydrateFallback` element provided to render during initial hydration"),h=!0,p=null):c===l&&(h=!0,p=i.route.hydrateFallbackElement||null)));let m=t.concat(a.slice(0,l+1)),g=()=>{let t;return t=d?f:h?p:i.route.Component?n.createElement(i.route.Component,null):i.route.element?i.route.element:e,n.createElement(fe,{match:i,routeContext:{outlet:e,matches:m,isDataRoute:null!=r},children:t})};return r&&(i.route.ErrorBoundary||i.route.errorElement||0===l)?n.createElement(ue,{location:r.location,revalidation:r.revalidation,component:f,error:d,children:g(),routeContext:{outlet:null,matches:m,isDataRoute:!0},onError:u}):g()},null)}(_&&_.map(e=>Object.assign({},e,{params:Object.assign({},d,e.params),pathname:L([m,o.encodeLocation?o.encodeLocation(e.pathname.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathname]),pathnameBase:"/"===e.pathnameBase?m:L([m,o.encodeLocation?o.encodeLocation(e.pathnameBase.replace(/\?/g,"%3F").replace(/#/g,"%23")).pathname:e.pathnameBase])})),s,r,i,a);return t&&w?n.createElement(Q.Provider,{value:{location:{pathname:"/",search:"",hash:"",state:null,key:"default",...v},navigationType:"POP"}},w):w}function le(){let e=function(){let e=n.useContext(X),t=function(e){let t=n.useContext(Z);return l(t,pe(e)),t}("useRouteError"),r=me("useRouteError");return void 0!==e?e:t.errors?.[r]}(),t=F(e)?`${e.status} ${e.statusText}`:e instanceof Error?e.message:JSON.stringify(e),r=e instanceof Error?e.stack:null,i="rgba(200,200,200, 0.5)",a={padding:"0.5rem",backgroundColor:i},o={padding:"2px 4px",backgroundColor:i},s=null;return console.error("Error handled by React Router default ErrorBoundary:",e),s=n.createElement(n.Fragment,null,n.createElement("p",null,"💿 Hey developer 👋"),n.createElement("p",null,"You can provide a way better UX than this when your app throws errors by providing your own ",n.createElement("code",{style:o},"ErrorBoundary")," or"," ",n.createElement("code",{style:o},"errorElement")," prop on your route.")),n.createElement(n.Fragment,null,n.createElement("h2",null,"Unexpected Application Error!"),n.createElement("h3",{style:{fontStyle:"italic"}},t),r?n.createElement("pre",{style:a},r):null,s)}n.createContext(null);var ce=n.createElement(le,null),ue=class extends n.Component{constructor(e){super(e),this.state={location:e.location,revalidation:e.revalidation,error:e.error}}static getDerivedStateFromError(e){return{error:e}}static getDerivedStateFromProps(e,t){return t.location!==e.location||"idle"!==t.revalidation&&"idle"===e.revalidation?{error:e.error,location:e.location,revalidation:e.revalidation}:{error:void 0!==e.error?e.error:t.error,location:t.location,revalidation:e.revalidation||t.revalidation}}componentDidCatch(e,t){this.props.onError?this.props.onError(e,t):console.error("React Router caught the following error during render",e)}render(){let e=this.state.error;if(this.context&&"object"==typeof e&&e&&"digest"in e&&"string"==typeof e.digest){const t=function(e){if(e.startsWith(`${J}:ROUTE_ERROR_RESPONSE:{`))try{let t=JSON.parse(e.slice(40));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText)return new z(t.status,t.statusText,t.data)}catch{}}(e.digest);t&&(e=t)}let t=void 0!==e?n.createElement(K.Provider,{value:this.props.routeContext},n.createElement(X.Provider,{value:e,children:this.props.component})):this.props.children;return this.context?n.createElement(he,{error:e},t):t}};ue.contextType=q;var de=new WeakMap;function he({children:e,error:t}){let{basename:r}=n.useContext(Y);if("object"==typeof t&&t&&"digest"in t&&"string"==typeof t.digest){let e=function(e){if(e.startsWith(`${J}:REDIRECT:{`))try{let t=JSON.parse(e.slice(28));if("object"==typeof t&&t&&"number"==typeof t.status&&"string"==typeof t.statusText&&"string"==typeof t.location&&"boolean"==typeof t.reloadDocument&&"boolean"==typeof t.replace)return t}catch{}}(t.digest);if(e){let i=de.get(t);if(i)throw i;let a=V(e.location,r);if($&&!de.get(t)){if(!a.isExternal&&!e.reloadDocument){const n=Promise.resolve().then(()=>window.__reactRouterDataRouter.navigate(a.to,{replace:e.replace}));throw de.set(t,n),n}window.location.href=a.absoluteURL||a.to}return n.createElement("meta",{httpEquiv:"refresh",content:`0;url=${a.absoluteURL||a.to}`})}}return e}function fe({routeContext:e,match:t,children:r}){let i=n.useContext(W);return i&&i.static&&i.staticContext&&(t.route.errorElement||t.route.ErrorBoundary)&&(i.staticContext._deepestRenderedBoundaryId=t.route.id),n.createElement(K.Provider,{value:e},r)}function pe(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}function me(e){let t=function(e){let t=n.useContext(K);return l(t,pe(e)),t}(e),r=t.matches[t.matches.length-1];return l(r.route.id,`${e} can only be used on routes that contain a unique "id"`),r.route.id}var ge={};function ve(e,t,n){t||ge[e]||(ge[e]=!0,c(!1,n))}function be(e){l(!1,"A <Route> is only ever to be used as the child of <Routes> element, never rendered directly. Please wrap your <Route> in a <Routes>.")}function ye({basename:e="/",children:t=null,location:r,navigationType:i="POP",navigator:a,static:o=!1,unstable_useTransitions:s}){l(!ee(),"You cannot render a <Router> inside another <Router>. You should never have more than one in your app.");let u=e.replace(/^\/*/,"/"),d=n.useMemo(()=>({basename:u,navigator:a,static:o,unstable_useTransitions:s,future:{}}),[u,a,o,s]);"string"==typeof r&&(r=f(r));let{pathname:h="/",search:p="",hash:m="",state:g=null,key:v="default"}=r,b=n.useMemo(()=>{let e=O(h,u);return null==e?null:{location:{pathname:e,search:p,hash:m,state:g,key:v},navigationType:i}},[u,h,p,m,g,v,i]);return c(null!=b,`<Router basename="${u}"> is not able to match the URL "${h}${p}${m}" because it does not start with the basename, so the <Router> won't render anything.`),null==b?null:n.createElement(Y.Provider,{value:d},n.createElement(Q.Provider,{children:t,value:b}))}function Ce({children:e,location:t}){return se(_e(e),t)}function _e(e,t=[]){let r=[];return n.Children.forEach(e,(e,i)=>{if(!n.isValidElement(e))return;let a=[...t,i];if(e.type===n.Fragment)return void r.push.apply(r,_e(e.props.children,a));l(e.type===be,`[${"string"==typeof e.type?e.type:e.type.name}] is not a <Route> component. All component children of <Routes> must be a <Route> or <React.Fragment>`),l(!e.props.index||!e.props.children,"An index route cannot have child routes.");let o={id:e.props.id||a.join("-"),caseSensitive:e.props.caseSensitive,element:e.props.element,Component:e.props.Component,index:e.props.index,path:e.props.path,middleware:e.props.middleware,loader:e.props.loader,action:e.props.action,hydrateFallbackElement:e.props.hydrateFallbackElement,HydrateFallback:e.props.HydrateFallback,errorElement:e.props.errorElement,ErrorBoundary:e.props.ErrorBoundary,hasErrorBoundary:!0===e.props.hasErrorBoundary||null!=e.props.ErrorBoundary||null!=e.props.errorElement,shouldRevalidate:e.props.shouldRevalidate,handle:e.props.handle,lazy:e.props.lazy};e.props.children&&(o.children=_e(e.props.children,a)),r.push(o)}),r}r.useOptimistic,n.memo(function({routes:e,future:t,state:n,onError:r}){return se(e,void 0,n,r,t)}),n.Component;var we="get",xe="application/x-www-form-urlencoded";function Se(e){return"undefined"!=typeof HTMLElement&&e instanceof HTMLElement}var Ee=null,ke=new Set(["application/x-www-form-urlencoded","multipart/form-data","text/plain"]);function Me(e){return null==e||ke.has(e)?e:(c(!1,`"${e}" is not a valid \`encType\` for \`<Form>\`/\`<fetcher.Form>\` and will default to "${xe}"`),null)}function Oe(e,t){if(!1===e||null==e)throw new Error(t)}function je(e){return null!=e&&(null==e.href?"preload"===e.rel&&"string"==typeof e.imageSrcSet&&"string"==typeof e.imageSizes:"string"==typeof e.rel&&"string"==typeof e.href)}function Te(e,t,n,r,i,a){let o=(e,t)=>!n[t]||e.route.id!==n[t].route.id,s=(e,t)=>n[t].pathname!==e.pathname||n[t].route.path?.endsWith("*")&&n[t].params["*"]!==e.params["*"];return"assets"===a?t.filter((e,t)=>o(e,t)||s(e,t)):"data"===a?t.filter((t,a)=>{let l=r.routes[t.route.id];if(!l||!l.hasLoader)return!1;if(o(t,a)||s(t,a))return!0;if(t.route.shouldRevalidate){let r=t.route.shouldRevalidate({currentUrl:new URL(i.pathname+i.search+i.hash,window.origin),currentParams:n[0]?.params||{},nextUrl:new URL(e,window.origin),nextParams:t.params,defaultShouldRevalidate:!0});if("boolean"==typeof r)return r}return!0}):[]}function Pe(e,t,{includeHydrateFallback:n}={}){return r=e.map(e=>{let r=t.routes[e.route.id];if(!r)return[];let i=[r.module];return r.clientActionModule&&(i=i.concat(r.clientActionModule)),r.clientLoaderModule&&(i=i.concat(r.clientLoaderModule)),n&&r.hydrateFallbackModule&&(i=i.concat(r.hydrateFallbackModule)),r.imports&&(i=i.concat(r.imports)),i}).flat(1),[...new Set(r)];var r}function De(){let e=n.useContext(W);return Oe(e,"You must render this element inside a <DataRouterContext.Provider> element"),e}function Ae(){let e=n.useContext(Z);return Oe(e,"You must render this element inside a <DataRouterStateContext.Provider> element"),e}Object.getOwnPropertyNames(Object.prototype).sort().join("\0"),"undefined"!=typeof window?window:"undefined"!=typeof globalThis&&globalThis,Symbol("SingleFetchRedirect");var Le=n.createContext(void 0);function Ie(){let e=n.useContext(Le);return Oe(e,"You must render this element inside a <HydratedRouter> element"),e}function Ne(e,t){return n=>{e&&e(n),n.defaultPrevented||t(n)}}function Re({page:e,...t}){let{router:r}=De(),i=n.useMemo(()=>p(r.routes,e,r.basename),[r.routes,e,r.basename]);return i?n.createElement(Fe,{page:e,matches:i,...t}):null}function ze(e){let{manifest:t,routeModules:r}=Ie(),[i,a]=n.useState([]);return n.useEffect(()=>{let n=!1;return async function(e,t,n){return function(e,t){let n=new Set,r=new Set(t);return e.reduce((e,i)=>{if(t&&(null==(a=i)||"string"!=typeof a.page)&&"script"===i.as&&i.href&&r.has(i.href))return e;var a;let o=JSON.stringify(function(e){let t={},n=Object.keys(e).sort();for(let r of n)t[r]=e[r];return t}(i));return n.has(o)||(n.add(o),e.push({key:o,link:i})),e},[])}((await Promise.all(e.map(async e=>{let r=t.routes[e.route.id];if(r){let e=await async function(e,t){if(e.id in t)return t[e.id];try{let n=await import(e.module);return t[e.id]=n,n}catch(t){return console.error(`Error loading route module \`${e.module}\`, reloading page...`),console.error(t),window.__reactRouterContext&&window.__reactRouterContext.isSpaMode,window.location.reload(),new Promise(()=>{})}}(r,n);return e.links?e.links():[]}return[]}))).flat(1).filter(je).filter(e=>"stylesheet"===e.rel||"preload"===e.rel).map(e=>"stylesheet"===e.rel?{...e,rel:"prefetch",as:"style"}:{...e,rel:"prefetch"}))}(e,t,r).then(e=>{n||a(e)}),()=>{n=!0}},[e,t,r]),i}function Fe({page:e,matches:t,...r}){let i=te(),{future:a,manifest:o,routeModules:s}=Ie(),{basename:l}=De(),{loaderData:c,matches:u}=Ae(),d=n.useMemo(()=>Te(e,t,u,o,i,"data"),[e,t,u,o,i]),h=n.useMemo(()=>Te(e,t,u,o,i,"assets"),[e,t,u,o,i]),f=n.useMemo(()=>{if(e===i.pathname+i.search+i.hash)return[];let n=new Set,r=!1;if(t.forEach(e=>{let t=o.routes[e.route.id];t&&t.hasLoader&&(!d.some(t=>t.route.id===e.route.id)&&e.route.id in c&&s[e.route.id]?.shouldRevalidate||t.hasClientLoader?r=!0:n.add(e.route.id))}),0===n.size)return[];let u=function(e,t,n,r){let i="string"==typeof e?new URL(e,"undefined"==typeof window?"server://singlefetch/":window.location.origin):e;return n?i.pathname.endsWith("/")?i.pathname=`${i.pathname}_.${r}`:i.pathname=`${i.pathname}.${r}`:"/"===i.pathname?i.pathname=`_root.${r}`:t&&"/"===O(i.pathname,t)?i.pathname=`${t.replace(/\/$/,"")}/_root.${r}`:i.pathname=`${i.pathname.replace(/\/$/,"")}.${r}`,i}(e,l,a.unstable_trailingSlashAwareDataRequests,"data");return r&&n.size>0&&u.searchParams.set("_routes",t.filter(e=>n.has(e.route.id)).map(e=>e.route.id).join(",")),[u.pathname+u.search]},[l,a.unstable_trailingSlashAwareDataRequests,c,i,o,d,t,e,s]),p=n.useMemo(()=>Pe(h,o),[h,o]),m=ze(h);return n.createElement(n.Fragment,null,f.map(e=>n.createElement("link",{key:e,rel:"prefetch",as:"fetch",href:e,...r})),p.map(e=>n.createElement("link",{key:e,rel:"modulepreload",href:e,...r})),m.map(({key:e,link:t})=>n.createElement("link",{key:e,nonce:r.nonce,...t,crossOrigin:t.crossOrigin??r.crossOrigin})))}Le.displayName="FrameworkContext";function He(...e){return t=>{e.forEach(e=>{"function"==typeof e?e(t):null!=e&&(e.current=t)})}}n.Component;var $e="undefined"!=typeof window&&void 0!==window.document&&void 0!==window.document.createElement;try{$e&&(window.__reactRouterVersion="7.13.0")}catch(_o){}function Ve({basename:e,children:t,unstable_useTransitions:r,window:i}){let a=n.useRef();null==a.current&&(a.current=s({window:i,v5Compat:!0}));let o=a.current,[l,c]=n.useState({action:o.action,location:o.location}),u=n.useCallback(e=>{!1===r?c(e):n.startTransition(()=>c(e))},[r]);return n.useLayoutEffect(()=>o.listen(u),[o,u]),n.createElement(ye,{basename:e,children:t,location:l.location,navigationType:l.action,navigator:o,unstable_useTransitions:r})}var Ue=/^(?:[a-z][a-z0-9+.-]*:|\/\/)/i,Be=n.forwardRef(function({onClick:e,discover:t="render",prefetch:r="none",relative:i,reloadDocument:a,replace:o,state:s,target:c,to:u,preventScrollReset:d,viewTransition:f,unstable_defaultShouldRevalidate:p,...m},g){let{basename:v,unstable_useTransitions:b}=n.useContext(Y),y="string"==typeof u&&Ue.test(u),C=V(u,v),_=function(e,{relative:t}={}){l(ee(),"useHref() may be used only in the context of a <Router> component.");let{basename:r,navigator:i}=n.useContext(Y),{hash:a,pathname:o,search:s}=oe(e,{relative:t}),c=o;return"/"!==r&&(c="/"===o?r:L([r,o])),i.createHref({pathname:c,search:s,hash:a})}(u=C.to,{relative:i}),[w,x,S]=function(e,t){let r=n.useContext(Le),[i,a]=n.useState(!1),[o,s]=n.useState(!1),{onFocus:l,onBlur:c,onMouseEnter:u,onMouseLeave:d,onTouchStart:h}=t,f=n.useRef(null);n.useEffect(()=>{if("render"===e&&s(!0),"viewport"===e){let e=e=>{e.forEach(e=>{s(e.isIntersecting)})},t=new IntersectionObserver(e,{threshold:.5});return f.current&&t.observe(f.current),()=>{t.disconnect()}}},[e]),n.useEffect(()=>{if(i){let e=setTimeout(()=>{s(!0)},100);return()=>{clearTimeout(e)}}},[i]);let p=()=>{a(!0)},m=()=>{a(!1),s(!1)};return r?"intent"!==e?[o,f,{}]:[o,f,{onFocus:Ne(l,p),onBlur:Ne(c,m),onMouseEnter:Ne(u,p),onMouseLeave:Ne(d,m),onTouchStart:Ne(h,p)}]:[!1,f,{}]}(r,m),E=function(e,{target:t,replace:r,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:l,unstable_useTransitions:c}={}){let u=ie(),d=te(),f=oe(e,{relative:o});return n.useCallback(p=>{if(function(e,t){return!(0!==e.button||t&&"_self"!==t||function(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}(e))}(p,t)){p.preventDefault();let t=void 0!==r?r:h(d)===h(f),m=()=>u(e,{replace:t,state:i,preventScrollReset:a,relative:o,viewTransition:s,unstable_defaultShouldRevalidate:l});c?n.startTransition(()=>m()):m()}},[d,u,f,r,i,t,e,a,o,s,l,c])}(u,{replace:o,state:s,target:c,preventScrollReset:d,relative:i,viewTransition:f,unstable_defaultShouldRevalidate:p,unstable_useTransitions:b}),k=n.createElement("a",{...m,...S,href:C.absoluteURL||_,onClick:C.isExternal||a?e:function(t){e&&e(t),t.defaultPrevented||E(t)},ref:He(g,x),target:c,"data-discover":y||"render"!==t?void 0:"true"});return w&&!y?n.createElement(n.Fragment,null,k,n.createElement(Re,{page:_})):k});Be.displayName="Link";var We=n.forwardRef(function({"aria-current":e="page",caseSensitive:t=!1,className:r="",end:i=!1,style:a,to:o,viewTransition:s,children:c,...u},d){let h=oe(o,{relative:u.relative}),f=te(),p=n.useContext(Z),{navigator:m,basename:g}=n.useContext(Y),v=null!=p&&function(e,{relative:t}={}){let r=n.useContext(G);l(null!=r,"`useViewTransitionState` must be used within `react-router-dom`'s `RouterProvider`.  Did you accidentally import `RouterProvider` from `react-router`?");let{basename:i}=Ze("useViewTransitionState"),a=oe(e,{relative:t});if(!r.isTransitioning)return!1;let o=O(r.currentLocation.pathname,i)||r.currentLocation.pathname,s=O(r.nextLocation.pathname,i)||r.nextLocation.pathname;return null!=k(a.pathname,s)||null!=k(a.pathname,o)}(h)&&!0===s,b=m.encodeLocation?m.encodeLocation(h).pathname:h.pathname,y=f.pathname,C=p&&p.navigation&&p.navigation.location?p.navigation.location.pathname:null;t||(y=y.toLowerCase(),C=C?C.toLowerCase():null,b=b.toLowerCase()),C&&g&&(C=O(C,g)||C);const _="/"!==b&&b.endsWith("/")?b.length-1:b.length;let w,x=y===b||!i&&y.startsWith(b)&&"/"===y.charAt(_),S=null!=C&&(C===b||!i&&C.startsWith(b)&&"/"===C.charAt(b.length)),E={isActive:x,isPending:S,isTransitioning:v},M=x?e:void 0;w="function"==typeof r?r(E):[r,x?"active":null,S?"pending":null,v?"transitioning":null].filter(Boolean).join(" ");let j="function"==typeof a?a(E):a;return n.createElement(Be,{...u,"aria-current":M,className:w,ref:d,style:j,to:o,viewTransition:s},"function"==typeof c?c(E):c)});function Ze(e){let t=n.useContext(W);return l(t,function(e){return`${e} must be used within a data router.  See https://reactrouter.com/en/main/routers/picking-a-router.`}(e)),t}We.displayName="NavLink",n.forwardRef(({discover:e="render",fetcherKey:t,navigate:r,reloadDocument:i,replace:a,state:o,method:s=we,action:c,onSubmit:u,relative:d,preventScrollReset:f,viewTransition:p,unstable_defaultShouldRevalidate:m,...g},v)=>{let{unstable_useTransitions:b}=n.useContext(Y),y=function(){let{router:e}=Ze("useSubmit"),{basename:t}=n.useContext(Y),r=me("useRouteId"),i=e.fetch,a=e.navigate;return n.useCallback(async(e,n={})=>{let{action:o,method:s,encType:l,formData:c,body:u}=function(e,t){let n,r,i,a,o;if(Se(s=e)&&"form"===s.tagName.toLowerCase()){let o=e.getAttribute("action");r=o?O(o,t):null,n=e.getAttribute("method")||we,i=Me(e.getAttribute("enctype"))||xe,a=new FormData(e)}else if(function(e){return Se(e)&&"button"===e.tagName.toLowerCase()}(e)||function(e){return Se(e)&&"input"===e.tagName.toLowerCase()}(e)&&("submit"===e.type||"image"===e.type)){let o=e.form;if(null==o)throw new Error('Cannot submit a <button> or <input type="submit"> without a <form>');let s=e.getAttribute("formaction")||o.getAttribute("action");if(r=s?O(s,t):null,n=e.getAttribute("formmethod")||o.getAttribute("method")||we,i=Me(e.getAttribute("formenctype"))||Me(o.getAttribute("enctype"))||xe,a=new FormData(o,e),!function(){if(null===Ee)try{new FormData(document.createElement("form"),0),Ee=!1}catch(e){Ee=!0}return Ee}()){let{name:t,type:n,value:r}=e;if("image"===n){let e=t?`${t}.`:"";a.append(`${e}x`,"0"),a.append(`${e}y`,"0")}else t&&a.append(t,r)}}else{if(Se(e))throw new Error('Cannot submit element that is not <form>, <button>, or <input type="submit|image">');n=we,r=null,i=xe,o=e}var s;return a&&"text/plain"===i&&(o=a,a=void 0),{action:r,method:n.toLowerCase(),encType:i,formData:a,body:o}}(e,t);if(!1===n.navigate){let e=n.fetcherKey||Ge();await i(e,r,n.action||o,{unstable_defaultShouldRevalidate:n.unstable_defaultShouldRevalidate,preventScrollReset:n.preventScrollReset,formData:c,body:u,formMethod:n.method||s,formEncType:n.encType||l,flushSync:n.flushSync})}else await a(n.action||o,{unstable_defaultShouldRevalidate:n.unstable_defaultShouldRevalidate,preventScrollReset:n.preventScrollReset,formData:c,body:u,formMethod:n.method||s,formEncType:n.encType||l,replace:n.replace,state:n.state,fromRouteId:r,flushSync:n.flushSync,viewTransition:n.viewTransition})},[i,a,t,r])}(),C=function(e,{relative:t}={}){let{basename:r}=n.useContext(Y),i=n.useContext(K);l(i,"useFormAction must be used inside a RouteContext");let[a]=i.matches.slice(-1),o={...oe(e||".",{relative:t})},s=te();if(null==e){o.search=s.search;let e=new URLSearchParams(o.search),t=e.getAll("index");if(t.some(e=>""===e)){e.delete("index"),t.filter(e=>e).forEach(t=>e.append("index",t));let n=e.toString();o.search=n?`?${n}`:""}}return e&&"."!==e||!a.route.index||(o.search=o.search?o.search.replace(/^\?/,"?index&"):"?index"),"/"!==r&&(o.pathname="/"===o.pathname?r:L([r,o.pathname])),h(o)}(c,{relative:d}),_="get"===s.toLowerCase()?"get":"post",w="string"==typeof c&&Ue.test(c);return n.createElement("form",{ref:v,method:_,action:C,onSubmit:i?u:e=>{if(u&&u(e),e.defaultPrevented)return;e.preventDefault();let i=e.nativeEvent.submitter,l=i?.getAttribute("formmethod")||s,c=()=>y(i||e.currentTarget,{fetcherKey:t,method:l,navigate:r,replace:a,state:o,relative:d,preventScrollReset:f,viewTransition:p,unstable_defaultShouldRevalidate:m});b&&!1!==r?n.startTransition(()=>c()):c()},...g,"data-discover":w||"render"!==e?void 0:"true"})}).displayName="Form";var qe=0,Ge=()=>`__${String(++qe)}__`;var Ye=i(723),Qe=n.createContext(void 0),Ke=e=>{const t=n.useContext(Qe);if(e)return e;if(!t)throw new Error("No QueryClient set, use QueryClientProvider to set one");return t},Xe=({client:e,children:t})=>(n.useEffect(()=>(e.mount(),()=>{e.unmount()}),[e]),(0,Ye.jsx)(Qe.Provider,{value:e,children:t})),Je=wp.i18n,et={setTimeout:(e,t)=>setTimeout(e,t),clearTimeout:e=>clearTimeout(e),setInterval:(e,t)=>setInterval(e,t),clearInterval:e=>clearInterval(e)},tt=new class{#e=et;#t=!1;setTimeoutProvider(e){this.#e=e}setTimeout(e,t){return this.#e.setTimeout(e,t)}clearTimeout(e){this.#e.clearTimeout(e)}setInterval(e,t){return this.#e.setInterval(e,t)}clearInterval(e){this.#e.clearInterval(e)}},nt="undefined"==typeof window||"Deno"in globalThis;function rt(){}function it(e){return"number"==typeof e&&e>=0&&e!==1/0}function at(e,t){return Math.max(e+(t||0)-Date.now(),0)}function ot(e,t){return"function"==typeof e?e(t):e}function st(e,t){return"function"==typeof e?e(t):e}function lt(e,t){const{type:n="all",exact:r,fetchStatus:i,predicate:a,queryKey:o,stale:s}=e;if(o)if(r){if(t.queryHash!==ut(o,t.options))return!1}else if(!ht(t.queryKey,o))return!1;if("all"!==n){const e=t.isActive();if("active"===n&&!e)return!1;if("inactive"===n&&e)return!1}return!("boolean"==typeof s&&t.isStale()!==s||i&&i!==t.state.fetchStatus||a&&!a(t))}function ct(e,t){const{exact:n,status:r,predicate:i,mutationKey:a}=e;if(a){if(!t.options.mutationKey)return!1;if(n){if(dt(t.options.mutationKey)!==dt(a))return!1}else if(!ht(t.options.mutationKey,a))return!1}return!(r&&t.state.status!==r||i&&!i(t))}function ut(e,t){return(t?.queryKeyHashFn||dt)(e)}function dt(e){return JSON.stringify(e,(e,t)=>vt(t)?Object.keys(t).sort().reduce((e,n)=>(e[n]=t[n],e),{}):t)}function ht(e,t){return e===t||typeof e==typeof t&&!(!e||!t||"object"!=typeof e||"object"!=typeof t)&&Object.keys(t).every(n=>ht(e[n],t[n]))}var ft=Object.prototype.hasOwnProperty;function pt(e,t,n=0){if(e===t)return e;if(n>500)return t;const r=gt(e)&&gt(t);if(!(r||vt(e)&&vt(t)))return t;const i=(r?e:Object.keys(e)).length,a=r?t:Object.keys(t),o=a.length,s=r?new Array(o):{};let l=0;for(let c=0;c<o;c++){const o=r?c:a[c],u=e[o],d=t[o];if(u===d){s[o]=u,(r?c<i:ft.call(e,o))&&l++;continue}if(null===u||null===d||"object"!=typeof u||"object"!=typeof d){s[o]=d;continue}const h=pt(u,d,n+1);s[o]=h,h===u&&l++}return i===o&&l===i?e:s}function mt(e,t){if(!t||Object.keys(e).length!==Object.keys(t).length)return!1;for(const n in e)if(e[n]!==t[n])return!1;return!0}function gt(e){return Array.isArray(e)&&e.length===Object.keys(e).length}function vt(e){if(!bt(e))return!1;const t=e.constructor;if(void 0===t)return!0;const n=t.prototype;return!!bt(n)&&!!n.hasOwnProperty("isPrototypeOf")&&Object.getPrototypeOf(e)===Object.prototype}function bt(e){return"[object Object]"===Object.prototype.toString.call(e)}function yt(e,t,n){return"function"==typeof n.structuralSharing?n.structuralSharing(e,t):!1!==n.structuralSharing?pt(e,t):t}function Ct(e,t,n=0){const r=[...e,t];return n&&r.length>n?r.slice(1):r}function _t(e,t,n=0){const r=[t,...e];return n&&r.length>n?r.slice(0,-1):r}var wt=Symbol();function xt(e,t){return!e.queryFn&&t?.initialPromise?()=>t.initialPromise:e.queryFn&&e.queryFn!==wt?e.queryFn:()=>Promise.reject(new Error(`Missing queryFn: '${e.queryHash}'`))}function St(e,t){return"function"==typeof e?e(...t):!!e}var Et=function(e){setTimeout(e,0)},kt=function(){let e=[],t=0,n=e=>{e()},r=e=>{e()},i=Et;const a=r=>{t?e.push(r):i(()=>{n(r)})};return{batch:a=>{let o;t++;try{o=a()}finally{t--,t||(()=>{const t=e;e=[],t.length&&i(()=>{r(()=>{t.forEach(e=>{n(e)})})})})()}return o},batchCalls:e=>(...t)=>{a(()=>{e(...t)})},schedule:a,setNotifyFunction:e=>{n=e},setBatchNotifyFunction:e=>{r=e},setScheduler:e=>{i=e}}}(),Mt=class{constructor(){this.listeners=new Set,this.subscribe=this.subscribe.bind(this)}subscribe(e){return this.listeners.add(e),this.onSubscribe(),()=>{this.listeners.delete(e),this.onUnsubscribe()}}hasListeners(){return this.listeners.size>0}onSubscribe(){}onUnsubscribe(){}},Ot=new class extends Mt{#n;#r;#i;constructor(){super(),this.#i=e=>{if(!nt&&window.addEventListener){const t=()=>e();return window.addEventListener("visibilitychange",t,!1),()=>{window.removeEventListener("visibilitychange",t)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(e=>{"boolean"==typeof e?this.setFocused(e):this.onFocus()})}setFocused(e){this.#n!==e&&(this.#n=e,this.onFocus())}onFocus(){const e=this.isFocused();this.listeners.forEach(t=>{t(e)})}isFocused(){return"boolean"==typeof this.#n?this.#n:"hidden"!==globalThis.document?.visibilityState}},jt=new class extends Mt{#a=!0;#r;#i;constructor(){super(),this.#i=e=>{if(!nt&&window.addEventListener){const t=()=>e(!0),n=()=>e(!1);return window.addEventListener("online",t,!1),window.addEventListener("offline",n,!1),()=>{window.removeEventListener("online",t),window.removeEventListener("offline",n)}}}}onSubscribe(){this.#r||this.setEventListener(this.#i)}onUnsubscribe(){this.hasListeners()||(this.#r?.(),this.#r=void 0)}setEventListener(e){this.#i=e,this.#r?.(),this.#r=e(this.setOnline.bind(this))}setOnline(e){this.#a!==e&&(this.#a=e,this.listeners.forEach(t=>{t(e)}))}isOnline(){return this.#a}};function Tt(){let e,t;const n=new Promise((n,r)=>{e=n,t=r});function r(e){Object.assign(n,e),delete n.resolve,delete n.reject}return n.status="pending",n.catch(()=>{}),n.resolve=t=>{r({status:"fulfilled",value:t}),e(t)},n.reject=e=>{r({status:"rejected",reason:e}),t(e)},n}function Pt(e){return Math.min(1e3*2**e,3e4)}function Dt(e){return"online"!==(e??"online")||jt.isOnline()}var At=class extends Error{constructor(e){super("CancelledError"),this.revert=e?.revert,this.silent=e?.silent}};function Lt(e){let t,n=!1,r=0;const i=Tt(),a=()=>"pending"!==i.status,o=()=>Ot.isFocused()&&("always"===e.networkMode||jt.isOnline())&&e.canRun(),s=()=>Dt(e.networkMode)&&e.canRun(),l=e=>{a()||(t?.(),i.resolve(e))},c=e=>{a()||(t?.(),i.reject(e))},u=()=>new Promise(n=>{t=e=>{(a()||o())&&n(e)},e.onPause?.()}).then(()=>{t=void 0,a()||e.onContinue?.()}),d=()=>{if(a())return;let t;const i=0===r?e.initialPromise:void 0;try{t=i??e.fn()}catch(e){t=Promise.reject(e)}Promise.resolve(t).then(l).catch(t=>{if(a())return;const i=e.retry??(nt?0:3),s=e.retryDelay??Pt,l="function"==typeof s?s(r,t):s,h=!0===i||"number"==typeof i&&r<i||"function"==typeof i&&i(r,t);var f;!n&&h?(r++,e.onFail?.(r,t),(f=l,new Promise(e=>{tt.setTimeout(e,f)})).then(()=>o()?void 0:u()).then(()=>{n?c(t):d()})):c(t)})};return{promise:i,status:()=>i.status,cancel:t=>{if(!a()){const n=new At(t);c(n),e.onCancel?.(n)}},continue:()=>(t?.(),i),cancelRetry:()=>{n=!0},continueRetry:()=>{n=!1},canStart:s,start:()=>(s()?d():u().then(d),i)}}var It=class{#o;destroy(){this.clearGcTimeout()}scheduleGc(){this.clearGcTimeout(),it(this.gcTime)&&(this.#o=tt.setTimeout(()=>{this.optionalRemove()},this.gcTime))}updateGcTime(e){this.gcTime=Math.max(this.gcTime||0,e??(nt?1/0:3e5))}clearGcTimeout(){this.#o&&(tt.clearTimeout(this.#o),this.#o=void 0)}},Nt=class extends It{#s;#l;#c;#u;#d;#h;#f;constructor(e){super(),this.#f=!1,this.#h=e.defaultOptions,this.setOptions(e.options),this.observers=[],this.#u=e.client,this.#c=this.#u.getQueryCache(),this.queryKey=e.queryKey,this.queryHash=e.queryHash,this.#s=Ft(this.options),this.state=e.state??this.#s,this.scheduleGc()}get meta(){return this.options.meta}get promise(){return this.#d?.promise}setOptions(e){if(this.options={...this.#h,...e},this.updateGcTime(this.options.gcTime),this.state&&void 0===this.state.data){const e=Ft(this.options);void 0!==e.data&&(this.setState(zt(e.data,e.dataUpdatedAt)),this.#s=e)}}optionalRemove(){this.observers.length||"idle"!==this.state.fetchStatus||this.#c.remove(this)}setData(e,t){const n=yt(this.state.data,e,this.options);return this.#p({data:n,type:"success",dataUpdatedAt:t?.updatedAt,manual:t?.manual}),n}setState(e,t){this.#p({type:"setState",state:e,setStateOptions:t})}cancel(e){const t=this.#d?.promise;return this.#d?.cancel(e),t?t.then(rt).catch(rt):Promise.resolve()}destroy(){super.destroy(),this.cancel({silent:!0})}reset(){this.destroy(),this.setState(this.#s)}isActive(){return this.observers.some(e=>!1!==st(e.options.enabled,this))}isDisabled(){return this.getObserversCount()>0?!this.isActive():this.options.queryFn===wt||this.state.dataUpdateCount+this.state.errorUpdateCount===0}isStatic(){return this.getObserversCount()>0&&this.observers.some(e=>"static"===ot(e.options.staleTime,this))}isStale(){return this.getObserversCount()>0?this.observers.some(e=>e.getCurrentResult().isStale):void 0===this.state.data||this.state.isInvalidated}isStaleByTime(e=0){return void 0===this.state.data||"static"!==e&&(!!this.state.isInvalidated||!at(this.state.dataUpdatedAt,e))}onFocus(){const e=this.observers.find(e=>e.shouldFetchOnWindowFocus());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}onOnline(){const e=this.observers.find(e=>e.shouldFetchOnReconnect());e?.refetch({cancelRefetch:!1}),this.#d?.continue()}addObserver(e){this.observers.includes(e)||(this.observers.push(e),this.clearGcTimeout(),this.#c.notify({type:"observerAdded",query:this,observer:e}))}removeObserver(e){this.observers.includes(e)&&(this.observers=this.observers.filter(t=>t!==e),this.observers.length||(this.#d&&(this.#f?this.#d.cancel({revert:!0}):this.#d.cancelRetry()),this.scheduleGc()),this.#c.notify({type:"observerRemoved",query:this,observer:e}))}getObserversCount(){return this.observers.length}invalidate(){this.state.isInvalidated||this.#p({type:"invalidate"})}async fetch(e,t){if("idle"!==this.state.fetchStatus&&"rejected"!==this.#d?.status())if(void 0!==this.state.data&&t?.cancelRefetch)this.cancel({silent:!0});else if(this.#d)return this.#d.continueRetry(),this.#d.promise;if(e&&this.setOptions(e),!this.options.queryFn){const e=this.observers.find(e=>e.options.queryFn);e&&this.setOptions(e.options)}const n=new AbortController,r=e=>{Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(this.#f=!0,n.signal)})},i=()=>{const e=xt(this.options,t),n=(()=>{const e={client:this.#u,queryKey:this.queryKey,meta:this.meta};return r(e),e})();return this.#f=!1,this.options.persister?this.options.persister(e,n,this):e(n)},a=(()=>{const e={fetchOptions:t,options:this.options,queryKey:this.queryKey,client:this.#u,state:this.state,fetchFn:i};return r(e),e})();this.options.behavior?.onFetch(a,this),this.#l=this.state,"idle"!==this.state.fetchStatus&&this.state.fetchMeta===a.fetchOptions?.meta||this.#p({type:"fetch",meta:a.fetchOptions?.meta}),this.#d=Lt({initialPromise:t?.initialPromise,fn:a.fetchFn,onCancel:e=>{e instanceof At&&e.revert&&this.setState({...this.#l,fetchStatus:"idle"}),n.abort()},onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:()=>{this.#p({type:"continue"})},retry:a.options.retry,retryDelay:a.options.retryDelay,networkMode:a.options.networkMode,canRun:()=>!0});try{const e=await this.#d.start();if(void 0===e)throw new Error(`${this.queryHash} data is undefined`);return this.setData(e),this.#c.config.onSuccess?.(e,this),this.#c.config.onSettled?.(e,this.state.error,this),e}catch(e){if(e instanceof At){if(e.silent)return this.#d.promise;if(e.revert){if(void 0===this.state.data)throw e;return this.state.data}}throw this.#p({type:"error",error:e}),this.#c.config.onError?.(e,this),this.#c.config.onSettled?.(this.state.data,e,this),e}finally{this.scheduleGc()}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,fetchFailureCount:e.failureCount,fetchFailureReason:e.error};case"pause":return{...t,fetchStatus:"paused"};case"continue":return{...t,fetchStatus:"fetching"};case"fetch":return{...t,...Rt(t.data,this.options),fetchMeta:e.meta??null};case"success":const n={...t,...zt(e.data,e.dataUpdatedAt),dataUpdateCount:t.dataUpdateCount+1,...!e.manual&&{fetchStatus:"idle",fetchFailureCount:0,fetchFailureReason:null}};return this.#l=e.manual?n:void 0,n;case"error":const r=e.error;return{...t,error:r,errorUpdateCount:t.errorUpdateCount+1,errorUpdatedAt:Date.now(),fetchFailureCount:t.fetchFailureCount+1,fetchFailureReason:r,fetchStatus:"idle",status:"error",isInvalidated:!0};case"invalidate":return{...t,isInvalidated:!0};case"setState":return{...t,...e.state}}})(this.state),kt.batch(()=>{this.observers.forEach(e=>{e.onQueryUpdate()}),this.#c.notify({query:this,type:"updated",action:e})})}};function Rt(e,t){return{fetchFailureCount:0,fetchFailureReason:null,fetchStatus:Dt(t.networkMode)?"fetching":"paused",...void 0===e&&{error:null,status:"pending"}}}function zt(e,t){return{data:e,dataUpdatedAt:t??Date.now(),error:null,isInvalidated:!1,status:"success"}}function Ft(e){const t="function"==typeof e.initialData?e.initialData():e.initialData,n=void 0!==t,r=n?"function"==typeof e.initialDataUpdatedAt?e.initialDataUpdatedAt():e.initialDataUpdatedAt:0;return{data:t,dataUpdateCount:0,dataUpdatedAt:n?r??Date.now():0,error:null,errorUpdateCount:0,errorUpdatedAt:0,fetchFailureCount:0,fetchFailureReason:null,fetchMeta:null,isInvalidated:!1,status:n?"success":"pending",fetchStatus:"idle"}}var Ht=class extends Mt{constructor(e={}){super(),this.config=e,this.#m=new Map}#m;build(e,t,n){const r=t.queryKey,i=t.queryHash??ut(r,t);let a=this.get(i);return a||(a=new Nt({client:e,queryKey:r,queryHash:i,options:e.defaultQueryOptions(t),state:n,defaultOptions:e.getQueryDefaults(r)}),this.add(a)),a}add(e){this.#m.has(e.queryHash)||(this.#m.set(e.queryHash,e),this.notify({type:"added",query:e}))}remove(e){const t=this.#m.get(e.queryHash);t&&(e.destroy(),t===e&&this.#m.delete(e.queryHash),this.notify({type:"removed",query:e}))}clear(){kt.batch(()=>{this.getAll().forEach(e=>{this.remove(e)})})}get(e){return this.#m.get(e)}getAll(){return[...this.#m.values()]}find(e){const t={exact:!0,...e};return this.getAll().find(e=>lt(t,e))}findAll(e={}){const t=this.getAll();return Object.keys(e).length>0?t.filter(t=>lt(e,t)):t}notify(e){kt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}onFocus(){kt.batch(()=>{this.getAll().forEach(e=>{e.onFocus()})})}onOnline(){kt.batch(()=>{this.getAll().forEach(e=>{e.onOnline()})})}},$t=class extends It{#u;#g;#v;#d;constructor(e){super(),this.#u=e.client,this.mutationId=e.mutationId,this.#v=e.mutationCache,this.#g=[],this.state=e.state||{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0},this.setOptions(e.options),this.scheduleGc()}setOptions(e){this.options=e,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(e){this.#g.includes(e)||(this.#g.push(e),this.clearGcTimeout(),this.#v.notify({type:"observerAdded",mutation:this,observer:e}))}removeObserver(e){this.#g=this.#g.filter(t=>t!==e),this.scheduleGc(),this.#v.notify({type:"observerRemoved",mutation:this,observer:e})}optionalRemove(){this.#g.length||("pending"===this.state.status?this.scheduleGc():this.#v.remove(this))}continue(){return this.#d?.continue()??this.execute(this.state.variables)}async execute(e){const t=()=>{this.#p({type:"continue"})},n={client:this.#u,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#d=Lt({fn:()=>this.options.mutationFn?this.options.mutationFn(e,n):Promise.reject(new Error("No mutationFn found")),onFail:(e,t)=>{this.#p({type:"failed",failureCount:e,error:t})},onPause:()=>{this.#p({type:"pause"})},onContinue:t,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#v.canRun(this)});const r="pending"===this.state.status,i=!this.#d.canStart();try{if(r)t();else{this.#p({type:"pending",variables:e,isPaused:i}),this.#v.config.onMutate&&await this.#v.config.onMutate(e,this,n);const t=await(this.options.onMutate?.(e,n));t!==this.state.context&&this.#p({type:"pending",context:t,variables:e,isPaused:i})}const a=await this.#d.start();return await(this.#v.config.onSuccess?.(a,e,this.state.context,this,n)),await(this.options.onSuccess?.(a,e,this.state.context,n)),await(this.#v.config.onSettled?.(a,null,this.state.variables,this.state.context,this,n)),await(this.options.onSettled?.(a,null,e,this.state.context,n)),this.#p({type:"success",data:a}),a}catch(t){try{await(this.#v.config.onError?.(t,e,this.state.context,this,n))}catch(e){Promise.reject(e)}try{await(this.options.onError?.(t,e,this.state.context,n))}catch(e){Promise.reject(e)}try{await(this.#v.config.onSettled?.(void 0,t,this.state.variables,this.state.context,this,n))}catch(e){Promise.reject(e)}try{await(this.options.onSettled?.(void 0,t,e,this.state.context,n))}catch(e){Promise.reject(e)}throw this.#p({type:"error",error:t}),t}finally{this.#v.runNext(this)}}#p(e){this.state=(t=>{switch(e.type){case"failed":return{...t,failureCount:e.failureCount,failureReason:e.error};case"pause":return{...t,isPaused:!0};case"continue":return{...t,isPaused:!1};case"pending":return{...t,context:e.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:e.isPaused,status:"pending",variables:e.variables,submittedAt:Date.now()};case"success":return{...t,data:e.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...t,data:void 0,error:e.error,failureCount:t.failureCount+1,failureReason:e.error,isPaused:!1,status:"error"}}})(this.state),kt.batch(()=>{this.#g.forEach(t=>{t.onMutationUpdate(e)}),this.#v.notify({mutation:this,type:"updated",action:e})})}},Vt=class extends Mt{constructor(e={}){super(),this.config=e,this.#b=new Set,this.#y=new Map,this.#C=0}#b;#y;#C;build(e,t,n){const r=new $t({client:e,mutationCache:this,mutationId:++this.#C,options:e.defaultMutationOptions(t),state:n});return this.add(r),r}add(e){this.#b.add(e);const t=Ut(e);if("string"==typeof t){const n=this.#y.get(t);n?n.push(e):this.#y.set(t,[e])}this.notify({type:"added",mutation:e})}remove(e){if(this.#b.delete(e)){const t=Ut(e);if("string"==typeof t){const n=this.#y.get(t);if(n)if(n.length>1){const t=n.indexOf(e);-1!==t&&n.splice(t,1)}else n[0]===e&&this.#y.delete(t)}}this.notify({type:"removed",mutation:e})}canRun(e){const t=Ut(e);if("string"==typeof t){const n=this.#y.get(t),r=n?.find(e=>"pending"===e.state.status);return!r||r===e}return!0}runNext(e){const t=Ut(e);if("string"==typeof t){const n=this.#y.get(t)?.find(t=>t!==e&&t.state.isPaused);return n?.continue()??Promise.resolve()}return Promise.resolve()}clear(){kt.batch(()=>{this.#b.forEach(e=>{this.notify({type:"removed",mutation:e})}),this.#b.clear(),this.#y.clear()})}getAll(){return Array.from(this.#b)}find(e){const t={exact:!0,...e};return this.getAll().find(e=>ct(t,e))}findAll(e={}){return this.getAll().filter(t=>ct(e,t))}notify(e){kt.batch(()=>{this.listeners.forEach(t=>{t(e)})})}resumePausedMutations(){const e=this.getAll().filter(e=>e.state.isPaused);return kt.batch(()=>Promise.all(e.map(e=>e.continue().catch(rt))))}};function Ut(e){return e.options.scope?.id}function Bt(e){return{onFetch:(t,n)=>{const r=t.options,i=t.fetchOptions?.meta?.fetchMore?.direction,a=t.state.data?.pages||[],o=t.state.data?.pageParams||[];let s={pages:[],pageParams:[]},l=0;const c=async()=>{let n=!1;const c=e=>{!function(e,n,r){let i,a=!1;Object.defineProperty(e,"signal",{enumerable:!0,get:()=>(i??=t.signal,a||(a=!0,i.aborted?r():i.addEventListener("abort",r,{once:!0})),i)})}(e,0,()=>n=!0)},u=xt(t.options,t.fetchOptions),d=async(e,r,i)=>{if(n)return Promise.reject();if(null==r&&e.pages.length)return Promise.resolve(e);const a=(()=>{const e={client:t.client,queryKey:t.queryKey,pageParam:r,direction:i?"backward":"forward",meta:t.options.meta};return c(e),e})(),o=await u(a),{maxPages:s}=t.options,l=i?_t:Ct;return{pages:l(e.pages,o,s),pageParams:l(e.pageParams,r,s)}};if(i&&a.length){const e="backward"===i,t={pages:a,pageParams:o},n=(e?Zt:Wt)(r,t);s=await d(t,n,e)}else{const t=e??a.length;do{const e=0===l?o[0]??r.initialPageParam:Wt(r,s);if(l>0&&null==e)break;s=await d(s,e),l++}while(l<t)}return s};t.options.persister?t.fetchFn=()=>t.options.persister?.(c,{client:t.client,queryKey:t.queryKey,meta:t.options.meta,signal:t.signal},n):t.fetchFn=c}}}function Wt(e,{pages:t,pageParams:n}){const r=t.length-1;return t.length>0?e.getNextPageParam(t[r],t,n[r],n):void 0}function Zt(e,{pages:t,pageParams:n}){return t.length>0?e.getPreviousPageParam?.(t[0],t,n[0],n):void 0}var qt=class extends Mt{constructor(e,t){super(),this.options=t,this.#u=e,this.#_=null,this.#w=Tt(),this.bindMethods(),this.setOptions(t)}#u;#x=void 0;#S=void 0;#E=void 0;#k;#M;#w;#_;#O;#j;#T;#P;#D;#A;#L=new Set;bindMethods(){this.refetch=this.refetch.bind(this)}onSubscribe(){1===this.listeners.size&&(this.#x.addObserver(this),Gt(this.#x,this.options)?this.#I():this.updateResult(),this.#N())}onUnsubscribe(){this.hasListeners()||this.destroy()}shouldFetchOnReconnect(){return Yt(this.#x,this.options,this.options.refetchOnReconnect)}shouldFetchOnWindowFocus(){return Yt(this.#x,this.options,this.options.refetchOnWindowFocus)}destroy(){this.listeners=new Set,this.#R(),this.#z(),this.#x.removeObserver(this)}setOptions(e){const t=this.options,n=this.#x;if(this.options=this.#u.defaultQueryOptions(e),void 0!==this.options.enabled&&"boolean"!=typeof this.options.enabled&&"function"!=typeof this.options.enabled&&"boolean"!=typeof st(this.options.enabled,this.#x))throw new Error("Expected enabled to be a boolean or a callback that returns a boolean");this.#F(),this.#x.setOptions(this.options),t._defaulted&&!mt(this.options,t)&&this.#u.getQueryCache().notify({type:"observerOptionsUpdated",query:this.#x,observer:this});const r=this.hasListeners();r&&Qt(this.#x,n,this.options,t)&&this.#I(),this.updateResult(),!r||this.#x===n&&st(this.options.enabled,this.#x)===st(t.enabled,this.#x)&&ot(this.options.staleTime,this.#x)===ot(t.staleTime,this.#x)||this.#H();const i=this.#$();!r||this.#x===n&&st(this.options.enabled,this.#x)===st(t.enabled,this.#x)&&i===this.#A||this.#V(i)}getOptimisticResult(e){const t=this.#u.getQueryCache().build(this.#u,e),n=this.createResult(t,e);return r=n,!mt(this.getCurrentResult(),r)&&(this.#E=n,this.#M=this.options,this.#k=this.#x.state),n;var r}getCurrentResult(){return this.#E}trackResult(e,t){return new Proxy(e,{get:(e,n)=>(this.trackProp(n),t?.(n),"promise"===n&&(this.trackProp("data"),this.options.experimental_prefetchInRender||"pending"!==this.#w.status||this.#w.reject(new Error("experimental_prefetchInRender feature flag is not enabled"))),Reflect.get(e,n))})}trackProp(e){this.#L.add(e)}getCurrentQuery(){return this.#x}refetch({...e}={}){return this.fetch({...e})}fetchOptimistic(e){const t=this.#u.defaultQueryOptions(e),n=this.#u.getQueryCache().build(this.#u,t);return n.fetch().then(()=>this.createResult(n,t))}fetch(e){return this.#I({...e,cancelRefetch:e.cancelRefetch??!0}).then(()=>(this.updateResult(),this.#E))}#I(e){this.#F();let t=this.#x.fetch(this.options,e);return e?.throwOnError||(t=t.catch(rt)),t}#H(){this.#R();const e=ot(this.options.staleTime,this.#x);if(nt||this.#E.isStale||!it(e))return;const t=at(this.#E.dataUpdatedAt,e)+1;this.#P=tt.setTimeout(()=>{this.#E.isStale||this.updateResult()},t)}#$(){return("function"==typeof this.options.refetchInterval?this.options.refetchInterval(this.#x):this.options.refetchInterval)??!1}#V(e){this.#z(),this.#A=e,!nt&&!1!==st(this.options.enabled,this.#x)&&it(this.#A)&&0!==this.#A&&(this.#D=tt.setInterval(()=>{(this.options.refetchIntervalInBackground||Ot.isFocused())&&this.#I()},this.#A))}#N(){this.#H(),this.#V(this.#$())}#R(){this.#P&&(tt.clearTimeout(this.#P),this.#P=void 0)}#z(){this.#D&&(tt.clearInterval(this.#D),this.#D=void 0)}createResult(e,t){const n=this.#x,r=this.options,i=this.#E,a=this.#k,o=this.#M,s=e!==n?e.state:this.#S,{state:l}=e;let c,u={...l},d=!1;if(t._optimisticResults){const i=this.hasListeners(),a=!i&&Gt(e,t),o=i&&Qt(e,n,t,r);(a||o)&&(u={...u,...Rt(l.data,e.options)}),"isRestoring"===t._optimisticResults&&(u.fetchStatus="idle")}let{error:h,errorUpdatedAt:f,status:p}=u;c=u.data;let m=!1;if(void 0!==t.placeholderData&&void 0===c&&"pending"===p){let e;i?.isPlaceholderData&&t.placeholderData===o?.placeholderData?(e=i.data,m=!0):e="function"==typeof t.placeholderData?t.placeholderData(this.#T?.state.data,this.#T):t.placeholderData,void 0!==e&&(p="success",c=yt(i?.data,e,t),d=!0)}if(t.select&&void 0!==c&&!m)if(i&&c===a?.data&&t.select===this.#O)c=this.#j;else try{this.#O=t.select,c=t.select(c),c=yt(i?.data,c,t),this.#j=c,this.#_=null}catch(e){this.#_=e}this.#_&&(h=this.#_,c=this.#j,f=Date.now(),p="error");const g="fetching"===u.fetchStatus,v="pending"===p,b="error"===p,y=v&&g,C=void 0!==c,_={status:p,fetchStatus:u.fetchStatus,isPending:v,isSuccess:"success"===p,isError:b,isInitialLoading:y,isLoading:y,data:c,dataUpdatedAt:u.dataUpdatedAt,error:h,errorUpdatedAt:f,failureCount:u.fetchFailureCount,failureReason:u.fetchFailureReason,errorUpdateCount:u.errorUpdateCount,isFetched:u.dataUpdateCount>0||u.errorUpdateCount>0,isFetchedAfterMount:u.dataUpdateCount>s.dataUpdateCount||u.errorUpdateCount>s.errorUpdateCount,isFetching:g,isRefetching:g&&!v,isLoadingError:b&&!C,isPaused:"paused"===u.fetchStatus,isPlaceholderData:d,isRefetchError:b&&C,isStale:Kt(e,t),refetch:this.refetch,promise:this.#w,isEnabled:!1!==st(t.enabled,e)};if(this.options.experimental_prefetchInRender){const t=void 0!==_.data,r="error"===_.status&&!t,i=e=>{r?e.reject(_.error):t&&e.resolve(_.data)},a=()=>{const e=this.#w=_.promise=Tt();i(e)},o=this.#w;switch(o.status){case"pending":e.queryHash===n.queryHash&&i(o);break;case"fulfilled":(r||_.data!==o.value)&&a();break;case"rejected":r&&_.error===o.reason||a()}}return _}updateResult(){const e=this.#E,t=this.createResult(this.#x,this.options);this.#k=this.#x.state,this.#M=this.options,void 0!==this.#k.data&&(this.#T=this.#x),mt(t,e)||(this.#E=t,this.#U({listeners:(()=>{if(!e)return!0;const{notifyOnChangeProps:t}=this.options,n="function"==typeof t?t():t;if("all"===n||!n&&!this.#L.size)return!0;const r=new Set(n??this.#L);return this.options.throwOnError&&r.add("error"),Object.keys(this.#E).some(t=>{const n=t;return this.#E[n]!==e[n]&&r.has(n)})})()}))}#F(){const e=this.#u.getQueryCache().build(this.#u,this.options);if(e===this.#x)return;const t=this.#x;this.#x=e,this.#S=e.state,this.hasListeners()&&(t?.removeObserver(this),e.addObserver(this))}onQueryUpdate(){this.updateResult(),this.hasListeners()&&this.#N()}#U(e){kt.batch(()=>{e.listeners&&this.listeners.forEach(e=>{e(this.#E)}),this.#u.getQueryCache().notify({query:this.#x,type:"observerResultsUpdated"})})}};function Gt(e,t){return function(e,t){return!1!==st(t.enabled,e)&&void 0===e.state.data&&!("error"===e.state.status&&!1===t.retryOnMount)}(e,t)||void 0!==e.state.data&&Yt(e,t,t.refetchOnMount)}function Yt(e,t,n){if(!1!==st(t.enabled,e)&&"static"!==ot(t.staleTime,e)){const r="function"==typeof n?n(e):n;return"always"===r||!1!==r&&Kt(e,t)}return!1}function Qt(e,t,n,r){return(e!==t||!1===st(r.enabled,e))&&(!n.suspense||"error"!==e.state.status)&&Kt(e,n)}function Kt(e,t){return!1!==st(t.enabled,e)&&e.isStaleByTime(ot(t.staleTime,e))}var Xt=n.createContext(function(){let e=!1;return{clearReset:()=>{e=!1},reset:()=>{e=!0},isReset:()=>e}}()),Jt=n.createContext(!1),en=(Jt.Provider,(e,t,n)=>t.fetchOptimistic(e).catch(()=>{n.clearReset()}));var tn=class extends Mt{#u;#E=void 0;#B;#W;constructor(e,t){super(),this.#u=e,this.setOptions(t),this.bindMethods(),this.#Z()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(e){const t=this.options;this.options=this.#u.defaultMutationOptions(e),mt(this.options,t)||this.#u.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#B,observer:this}),t?.mutationKey&&this.options.mutationKey&&dt(t.mutationKey)!==dt(this.options.mutationKey)?this.reset():"pending"===this.#B?.state.status&&this.#B.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#B?.removeObserver(this)}onMutationUpdate(e){this.#Z(),this.#U(e)}getCurrentResult(){return this.#E}reset(){this.#B?.removeObserver(this),this.#B=void 0,this.#Z(),this.#U()}mutate(e,t){return this.#W=t,this.#B?.removeObserver(this),this.#B=this.#u.getMutationCache().build(this.#u,this.options),this.#B.addObserver(this),this.#B.execute(e)}#Z(){const e=this.#B?.state??{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0};this.#E={...e,isPending:"pending"===e.status,isSuccess:"success"===e.status,isError:"error"===e.status,isIdle:"idle"===e.status,mutate:this.mutate,reset:this.reset}}#U(e){kt.batch(()=>{if(this.#W&&this.hasListeners()){const t=this.#E.variables,n=this.#E.context,r={client:this.#u,meta:this.options.meta,mutationKey:this.options.mutationKey};if("success"===e?.type){try{this.#W.onSuccess?.(e.data,t,n,r)}catch(e){Promise.reject(e)}try{this.#W.onSettled?.(e.data,null,t,n,r)}catch(e){Promise.reject(e)}}else if("error"===e?.type){try{this.#W.onError?.(e.error,t,n,r)}catch(e){Promise.reject(e)}try{this.#W.onSettled?.(void 0,e.error,t,n,r)}catch(e){Promise.reject(e)}}}this.listeners.forEach(e=>{e(this.#E)})})}};function nn(e,t){return function(){return e.apply(t,arguments)}}const{toString:rn}=Object.prototype,{getPrototypeOf:an}=Object,{iterator:on,toStringTag:sn}=Symbol,ln=(cn=Object.create(null),e=>{const t=rn.call(e);return cn[t]||(cn[t]=t.slice(8,-1).toLowerCase())});var cn;const un=e=>(e=e.toLowerCase(),t=>ln(t)===e),dn=e=>t=>typeof t===e,{isArray:hn}=Array,fn=dn("undefined");function pn(e){return null!==e&&!fn(e)&&null!==e.constructor&&!fn(e.constructor)&&vn(e.constructor.isBuffer)&&e.constructor.isBuffer(e)}const mn=un("ArrayBuffer"),gn=dn("string"),vn=dn("function"),bn=dn("number"),yn=e=>null!==e&&"object"==typeof e,Cn=e=>{if("object"!==ln(e))return!1;const t=an(e);return!(null!==t&&t!==Object.prototype&&null!==Object.getPrototypeOf(t)||sn in e||on in e)},_n=un("Date"),wn=un("File"),xn=un("Blob"),Sn=un("FileList"),En=un("URLSearchParams"),[kn,Mn,On,jn]=["ReadableStream","Request","Response","Headers"].map(un);function Tn(e,t,{allOwnKeys:n=!1}={}){if(null==e)return;let r,i;if("object"!=typeof e&&(e=[e]),hn(e))for(r=0,i=e.length;r<i;r++)t.call(null,e[r],r,e);else{if(pn(e))return;const i=n?Object.getOwnPropertyNames(e):Object.keys(e),a=i.length;let o;for(r=0;r<a;r++)o=i[r],t.call(null,e[o],o,e)}}function Pn(e,t){if(pn(e))return null;t=t.toLowerCase();const n=Object.keys(e);let r,i=n.length;for(;i-- >0;)if(r=n[i],t===r.toLowerCase())return r;return null}const Dn="undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:"undefined"!=typeof window?window:i.g,An=e=>!fn(e)&&e!==Dn,Ln=(In="undefined"!=typeof Uint8Array&&an(Uint8Array),e=>In&&e instanceof In);var In;const Nn=un("HTMLFormElement"),Rn=(({hasOwnProperty:e})=>(t,n)=>e.call(t,n))(Object.prototype),zn=un("RegExp"),Fn=(e,t)=>{const n=Object.getOwnPropertyDescriptors(e),r={};Tn(n,(n,i)=>{let a;!1!==(a=t(n,i,e))&&(r[i]=a||n)}),Object.defineProperties(e,r)},Hn=un("AsyncFunction"),$n=(Vn="function"==typeof setImmediate,Un=vn(Dn.postMessage),Vn?setImmediate:Un?((e,t)=>(Dn.addEventListener("message",({source:n,data:r})=>{n===Dn&&r===e&&t.length&&t.shift()()},!1),n=>{t.push(n),Dn.postMessage(e,"*")}))(`axios@${Math.random()}`,[]):e=>setTimeout(e));var Vn,Un;const Bn="undefined"!=typeof queueMicrotask?queueMicrotask.bind(Dn):"undefined"!=typeof process&&process.nextTick||$n;var Wn={isArray:hn,isArrayBuffer:mn,isBuffer:pn,isFormData:e=>{let t;return e&&("function"==typeof FormData&&e instanceof FormData||vn(e.append)&&("formdata"===(t=ln(e))||"object"===t&&vn(e.toString)&&"[object FormData]"===e.toString()))},isArrayBufferView:function(e){let t;return t="undefined"!=typeof ArrayBuffer&&ArrayBuffer.isView?ArrayBuffer.isView(e):e&&e.buffer&&mn(e.buffer),t},isString:gn,isNumber:bn,isBoolean:e=>!0===e||!1===e,isObject:yn,isPlainObject:Cn,isEmptyObject:e=>{if(!yn(e)||pn(e))return!1;try{return 0===Object.keys(e).length&&Object.getPrototypeOf(e)===Object.prototype}catch(e){return!1}},isReadableStream:kn,isRequest:Mn,isResponse:On,isHeaders:jn,isUndefined:fn,isDate:_n,isFile:wn,isBlob:xn,isRegExp:zn,isFunction:vn,isStream:e=>yn(e)&&vn(e.pipe),isURLSearchParams:En,isTypedArray:Ln,isFileList:Sn,forEach:Tn,merge:function e(){const{caseless:t,skipUndefined:n}=An(this)&&this||{},r={},i=(i,a)=>{const o=t&&Pn(r,a)||a;Cn(r[o])&&Cn(i)?r[o]=e(r[o],i):Cn(i)?r[o]=e({},i):hn(i)?r[o]=i.slice():n&&fn(i)||(r[o]=i)};for(let e=0,t=arguments.length;e<t;e++)arguments[e]&&Tn(arguments[e],i);return r},extend:(e,t,n,{allOwnKeys:r}={})=>(Tn(t,(t,r)=>{n&&vn(t)?Object.defineProperty(e,r,{value:nn(t,n),writable:!0,enumerable:!0,configurable:!0}):Object.defineProperty(e,r,{value:t,writable:!0,enumerable:!0,configurable:!0})},{allOwnKeys:r}),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,r)=>{e.prototype=Object.create(t.prototype,r),Object.defineProperty(e.prototype,"constructor",{value:e,writable:!0,enumerable:!1,configurable:!0}),Object.defineProperty(e,"super",{value:t.prototype}),n&&Object.assign(e.prototype,n)},toFlatObject:(e,t,n,r)=>{let i,a,o;const s={};if(t=t||{},null==e)return t;do{for(i=Object.getOwnPropertyNames(e),a=i.length;a-- >0;)o=i[a],r&&!r(o,e,t)||s[o]||(t[o]=e[o],s[o]=!0);e=!1!==n&&an(e)}while(e&&(!n||n(e,t))&&e!==Object.prototype);return t},kindOf:ln,kindOfTest:un,endsWith:(e,t,n)=>{e=String(e),(void 0===n||n>e.length)&&(n=e.length),n-=t.length;const r=e.indexOf(t,n);return-1!==r&&r===n},toArray:e=>{if(!e)return null;if(hn(e))return e;let t=e.length;if(!bn(t))return null;const n=new Array(t);for(;t-- >0;)n[t]=e[t];return n},forEachEntry:(e,t)=>{const n=(e&&e[on]).call(e);let r;for(;(r=n.next())&&!r.done;){const n=r.value;t.call(e,n[0],n[1])}},matchAll:(e,t)=>{let n;const r=[];for(;null!==(n=e.exec(t));)r.push(n);return r},isHTMLForm:Nn,hasOwnProperty:Rn,hasOwnProp:Rn,reduceDescriptors:Fn,freezeMethods:e=>{Fn(e,(t,n)=>{if(vn(e)&&-1!==["arguments","caller","callee"].indexOf(n))return!1;const r=e[n];vn(r)&&(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={},r=e=>{e.forEach(e=>{n[e]=!0})};return hn(e)?r(e):r(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:Pn,global:Dn,isContextDefined:An,isSpecCompliantForm:function(e){return!!(e&&vn(e.append)&&"FormData"===e[sn]&&e[on])},toJSONObject:e=>{const t=new Array(10),n=(e,r)=>{if(yn(e)){if(t.indexOf(e)>=0)return;if(pn(e))return e;if(!("toJSON"in e)){t[r]=e;const i=hn(e)?[]:{};return Tn(e,(e,t)=>{const a=n(e,r+1);!fn(a)&&(i[t]=a)}),t[r]=void 0,i}}return e};return n(e,0)},isAsyncFn:Hn,isThenable:e=>e&&(yn(e)||vn(e))&&vn(e.then)&&vn(e.catch),setImmediate:$n,asap:Bn,isIterable:e=>null!=e&&vn(e[on])};class Zn extends Error{static from(e,t,n,r,i,a){const o=new Zn(e.message,t||e.code,n,r,i);return o.cause=e,o.name=e.name,a&&Object.assign(o,a),o}constructor(e,t,n,r,i){super(e),this.name="AxiosError",this.isAxiosError=!0,t&&(this.code=t),n&&(this.config=n),r&&(this.request=r),i&&(this.response=i,this.status=i.status)}toJSON(){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:Wn.toJSONObject(this.config),code:this.code,status:this.status}}}Zn.ERR_BAD_OPTION_VALUE="ERR_BAD_OPTION_VALUE",Zn.ERR_BAD_OPTION="ERR_BAD_OPTION",Zn.ECONNABORTED="ECONNABORTED",Zn.ETIMEDOUT="ETIMEDOUT",Zn.ERR_NETWORK="ERR_NETWORK",Zn.ERR_FR_TOO_MANY_REDIRECTS="ERR_FR_TOO_MANY_REDIRECTS",Zn.ERR_DEPRECATED="ERR_DEPRECATED",Zn.ERR_BAD_RESPONSE="ERR_BAD_RESPONSE",Zn.ERR_BAD_REQUEST="ERR_BAD_REQUEST",Zn.ERR_CANCELED="ERR_CANCELED",Zn.ERR_NOT_SUPPORT="ERR_NOT_SUPPORT",Zn.ERR_INVALID_URL="ERR_INVALID_URL";var qn=Zn;function Gn(e){return Wn.isPlainObject(e)||Wn.isArray(e)}function Yn(e){return Wn.endsWith(e,"[]")?e.slice(0,-2):e}function Qn(e,t,n){return e?e.concat(t).map(function(e,t){return e=Yn(e),!n&&t?"["+e+"]":e}).join(n?".":""):t}const Kn=Wn.toFlatObject(Wn,{},null,function(e){return/^is[A-Z]/.test(e)});var Xn=function(e,t,n){if(!Wn.isObject(e))throw new TypeError("target must be an object");t=t||new FormData;const r=(n=Wn.toFlatObject(n,{metaTokens:!0,dots:!1,indexes:!1},!1,function(e,t){return!Wn.isUndefined(t[e])})).metaTokens,i=n.visitor||c,a=n.dots,o=n.indexes,s=(n.Blob||"undefined"!=typeof Blob&&Blob)&&Wn.isSpecCompliantForm(t);if(!Wn.isFunction(i))throw new TypeError("visitor must be a function");function l(e){if(null===e)return"";if(Wn.isDate(e))return e.toISOString();if(Wn.isBoolean(e))return e.toString();if(!s&&Wn.isBlob(e))throw new qn("Blob is not supported. Use a Buffer instead.");return Wn.isArrayBuffer(e)||Wn.isTypedArray(e)?s&&"function"==typeof Blob?new Blob([e]):Buffer.from(e):e}function c(e,n,i){let s=e;if(e&&!i&&"object"==typeof e)if(Wn.endsWith(n,"{}"))n=r?n:n.slice(0,-2),e=JSON.stringify(e);else if(Wn.isArray(e)&&function(e){return Wn.isArray(e)&&!e.some(Gn)}(e)||(Wn.isFileList(e)||Wn.endsWith(n,"[]"))&&(s=Wn.toArray(e)))return n=Yn(n),s.forEach(function(e,r){!Wn.isUndefined(e)&&null!==e&&t.append(!0===o?Qn([n],r,a):null===o?n:n+"[]",l(e))}),!1;return!!Gn(e)||(t.append(Qn(i,n,a),l(e)),!1)}const u=[],d=Object.assign(Kn,{defaultVisitor:c,convertValue:l,isVisitable:Gn});if(!Wn.isObject(e))throw new TypeError("data must be an object");return function e(n,r){if(!Wn.isUndefined(n)){if(-1!==u.indexOf(n))throw Error("Circular reference detected in "+r.join("."));u.push(n),Wn.forEach(n,function(n,a){!0===(!(Wn.isUndefined(n)||null===n)&&i.call(t,n,Wn.isString(a)?a.trim():a,r,d))&&e(n,r?r.concat(a):[a])}),u.pop()}}(e),t};function Jn(e){const t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+","%00":"\0"};return encodeURIComponent(e).replace(/[!'()~]|%20|%00/g,function(e){return t[e]})}function er(e,t){this._pairs=[],e&&Xn(e,this,t)}const tr=er.prototype;tr.append=function(e,t){this._pairs.push([e,t])},tr.toString=function(e){const t=e?function(t){return e.call(this,t,Jn)}:Jn;return this._pairs.map(function(e){return t(e[0])+"="+t(e[1])},"").join("&")};var nr=er;function rr(e){return encodeURIComponent(e).replace(/%3A/gi,":").replace(/%24/g,"$").replace(/%2C/gi,",").replace(/%20/g,"+")}function ir(e,t,n){if(!t)return e;const r=n&&n.encode||rr,i=Wn.isFunction(n)?{serialize:n}:n,a=i&&i.serialize;let o;if(o=a?a(t,i):Wn.isURLSearchParams(t)?t.toString():new nr(t,i).toString(r),o){const t=e.indexOf("#");-1!==t&&(e=e.slice(0,t)),e+=(-1===e.indexOf("?")?"?":"&")+o}return e}var ar=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){Wn.forEach(this.handlers,function(t){null!==t&&e(t)})}},or={silentJSONParsing:!0,forcedJSONParsing:!0,clarifyTimeoutError:!1},sr={isBrowser:!0,classes:{URLSearchParams:"undefined"!=typeof URLSearchParams?URLSearchParams:nr,FormData:"undefined"!=typeof FormData?FormData:null,Blob:"undefined"!=typeof Blob?Blob:null},protocols:["http","https","file","blob","url","data"]};const lr="undefined"!=typeof window&&"undefined"!=typeof document,cr="object"==typeof navigator&&navigator||void 0,ur=lr&&(!cr||["ReactNative","NativeScript","NS"].indexOf(cr.product)<0),dr="undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&"function"==typeof self.importScripts,hr=lr&&window.location.href||"http://localhost";var fr={...e,...sr},pr=function(e){function t(e,n,r,i){let a=e[i++];if("__proto__"===a)return!0;const o=Number.isFinite(+a),s=i>=e.length;return a=!a&&Wn.isArray(r)?r.length:a,s?(Wn.hasOwnProp(r,a)?r[a]=[r[a],n]:r[a]=n,!o):(r[a]&&Wn.isObject(r[a])||(r[a]=[]),t(e,n,r[a],i)&&Wn.isArray(r[a])&&(r[a]=function(e){const t={},n=Object.keys(e);let r;const i=n.length;let a;for(r=0;r<i;r++)a=n[r],t[a]=e[a];return t}(r[a])),!o)}if(Wn.isFormData(e)&&Wn.isFunction(e.entries)){const n={};return Wn.forEachEntry(e,(e,r)=>{t(function(e){return Wn.matchAll(/\w+|\[(\w*)]/g,e).map(e=>"[]"===e[0]?"":e[1]||e[0])}(e),r,n,0)}),n}return null};const mr={transitional:or,adapter:["xhr","http","fetch"],transformRequest:[function(e,t){const n=t.getContentType()||"",r=n.indexOf("application/json")>-1,i=Wn.isObject(e);if(i&&Wn.isHTMLForm(e)&&(e=new FormData(e)),Wn.isFormData(e))return r?JSON.stringify(pr(e)):e;if(Wn.isArrayBuffer(e)||Wn.isBuffer(e)||Wn.isStream(e)||Wn.isFile(e)||Wn.isBlob(e)||Wn.isReadableStream(e))return e;if(Wn.isArrayBufferView(e))return e.buffer;if(Wn.isURLSearchParams(e))return t.setContentType("application/x-www-form-urlencoded;charset=utf-8",!1),e.toString();let a;if(i){if(n.indexOf("application/x-www-form-urlencoded")>-1)return function(e,t){return Xn(e,new fr.classes.URLSearchParams,{visitor:function(e,t,n,r){return fr.isNode&&Wn.isBuffer(e)?(this.append(t,e.toString("base64")),!1):r.defaultVisitor.apply(this,arguments)},...t})}(e,this.formSerializer).toString();if((a=Wn.isFileList(e))||n.indexOf("multipart/form-data")>-1){const t=this.env&&this.env.FormData;return Xn(a?{"files[]":e}:e,t&&new t,this.formSerializer)}}return i||r?(t.setContentType("application/json",!1),function(e){if(Wn.isString(e))try{return(0,JSON.parse)(e),Wn.trim(e)}catch(e){if("SyntaxError"!==e.name)throw e}return(0,JSON.stringify)(e)}(e)):e}],transformResponse:[function(e){const t=this.transitional||mr.transitional,n=t&&t.forcedJSONParsing,r="json"===this.responseType;if(Wn.isResponse(e)||Wn.isReadableStream(e))return e;if(e&&Wn.isString(e)&&(n&&!this.responseType||r)){const n=!(t&&t.silentJSONParsing)&&r;try{return JSON.parse(e,this.parseReviver)}catch(e){if(n){if("SyntaxError"===e.name)throw qn.from(e,qn.ERR_BAD_RESPONSE,this,null,this.response);throw e}}}return e}],timeout:0,xsrfCookieName:"XSRF-TOKEN",xsrfHeaderName:"X-XSRF-TOKEN",maxContentLength:-1,maxBodyLength:-1,env:{FormData:fr.classes.FormData,Blob:fr.classes.Blob},validateStatus:function(e){return e>=200&&e<300},headers:{common:{Accept:"application/json, text/plain, */*","Content-Type":void 0}}};Wn.forEach(["delete","get","head","post","put","patch"],e=>{mr.headers[e]={}});var gr=mr;const vr=Wn.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"]),br=Symbol("internals");function yr(e){return e&&String(e).trim().toLowerCase()}function Cr(e){return!1===e||null==e?e:Wn.isArray(e)?e.map(Cr):String(e)}function _r(e,t,n,r,i){return Wn.isFunction(r)?r.call(this,t,n):(i&&(t=n),Wn.isString(t)?Wn.isString(r)?-1!==t.indexOf(r):Wn.isRegExp(r)?r.test(t):void 0:void 0)}class wr{constructor(e){e&&this.set(e)}set(e,t,n){const r=this;function i(e,t,n){const i=yr(t);if(!i)throw new Error("header name must be a non-empty string");const a=Wn.findKey(r,i);(!a||void 0===r[a]||!0===n||void 0===n&&!1!==r[a])&&(r[a||t]=Cr(e))}const a=(e,t)=>Wn.forEach(e,(e,n)=>i(e,n,t));if(Wn.isPlainObject(e)||e instanceof this.constructor)a(e,t);else if(Wn.isString(e)&&(e=e.trim())&&!/^[-_a-zA-Z0-9^`|~,!#$%&'*+.]+$/.test(e.trim()))a((e=>{const t={};let n,r,i;return e&&e.split("\n").forEach(function(e){i=e.indexOf(":"),n=e.substring(0,i).trim().toLowerCase(),r=e.substring(i+1).trim(),!n||t[n]&&vr[n]||("set-cookie"===n?t[n]?t[n].push(r):t[n]=[r]:t[n]=t[n]?t[n]+", "+r:r)}),t})(e),t);else if(Wn.isObject(e)&&Wn.isIterable(e)){let n,r,i={};for(const t of e){if(!Wn.isArray(t))throw TypeError("Object iterator must return a key-value pair");i[r=t[0]]=(n=i[r])?Wn.isArray(n)?[...n,t[1]]:[n,t[1]]:t[1]}a(i,t)}else null!=e&&i(t,e,n);return this}get(e,t){if(e=yr(e)){const n=Wn.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 r;for(;r=n.exec(e);)t[r[1]]=r[2];return t}(e);if(Wn.isFunction(t))return t.call(this,e,n);if(Wn.isRegExp(t))return t.exec(e);throw new TypeError("parser must be boolean|regexp|function")}}}has(e,t){if(e=yr(e)){const n=Wn.findKey(this,e);return!(!n||void 0===this[n]||t&&!_r(0,this[n],n,t))}return!1}delete(e,t){const n=this;let r=!1;function i(e){if(e=yr(e)){const i=Wn.findKey(n,e);!i||t&&!_r(0,n[i],i,t)||(delete n[i],r=!0)}}return Wn.isArray(e)?e.forEach(i):i(e),r}clear(e){const t=Object.keys(this);let n=t.length,r=!1;for(;n--;){const i=t[n];e&&!_r(0,this[i],i,e,!0)||(delete this[i],r=!0)}return r}normalize(e){const t=this,n={};return Wn.forEach(this,(r,i)=>{const a=Wn.findKey(n,i);if(a)return t[a]=Cr(r),void delete t[i];const o=e?function(e){return e.trim().toLowerCase().replace(/([a-z\d])(\w*)/g,(e,t,n)=>t.toUpperCase()+n)}(i):String(i).trim();o!==i&&delete t[i],t[o]=Cr(r),n[o]=!0}),this}concat(...e){return this.constructor.concat(this,...e)}toJSON(e){const t=Object.create(null);return Wn.forEach(this,(n,r)=>{null!=n&&!1!==n&&(t[r]=e&&Wn.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[br]=this[br]={accessors:{}}).accessors,n=this.prototype;function r(e){const r=yr(e);t[r]||(function(e,t){const n=Wn.toCamelCase(" "+t);["get","set","has"].forEach(r=>{Object.defineProperty(e,r+n,{value:function(e,n,i){return this[r].call(this,t,e,n,i)},configurable:!0})})}(n,e),t[r]=!0)}return Wn.isArray(e)?e.forEach(r):r(e),this}}wr.accessor(["Content-Type","Content-Length","Accept","Accept-Encoding","User-Agent","Authorization"]),Wn.reduceDescriptors(wr.prototype,({value:e},t)=>{let n=t[0].toUpperCase()+t.slice(1);return{get:()=>e,set(e){this[n]=e}}}),Wn.freezeMethods(wr);var xr=wr;function Sr(e,t){const n=this||gr,r=t||n,i=xr.from(r.headers);let a=r.data;return Wn.forEach(e,function(e){a=e.call(n,a,i.normalize(),t?t.status:void 0)}),i.normalize(),a}function Er(e){return!(!e||!e.__CANCEL__)}var kr=class extends qn{constructor(e,t,n){super(null==e?"canceled":e,qn.ERR_CANCELED,t,n),this.name="CanceledError",this.__CANCEL__=!0}};function Mr(e,t,n){const r=n.config.validateStatus;n.status&&r&&!r(n.status)?t(new qn("Request failed with status code "+n.status,[qn.ERR_BAD_REQUEST,qn.ERR_BAD_RESPONSE][Math.floor(n.status/100)-4],n.config,n.request,n)):e(n)}const Or=(e,t,n=3)=>{let r=0;const i=function(e,t){e=e||10;const n=new Array(e),r=new Array(e);let i,a=0,o=0;return t=void 0!==t?t:1e3,function(s){const l=Date.now(),c=r[o];i||(i=l),n[a]=s,r[a]=l;let u=o,d=0;for(;u!==a;)d+=n[u++],u%=e;if(a=(a+1)%e,a===o&&(o=(o+1)%e),l-i<t)return;const h=c&&l-c;return h?Math.round(1e3*d/h):void 0}}(50,250);return function(e,t){let n,r,i=0,a=1e3/t;const o=(t,a=Date.now())=>{i=a,n=null,r&&(clearTimeout(r),r=null),e(...t)};return[(...e)=>{const t=Date.now(),s=t-i;s>=a?o(e,t):(n=e,r||(r=setTimeout(()=>{r=null,o(n)},a-s)))},()=>n&&o(n)]}(n=>{const a=n.loaded,o=n.lengthComputable?n.total:void 0,s=a-r,l=i(s);r=a,e({loaded:a,total:o,progress:o?a/o:void 0,bytes:s,rate:l||void 0,estimated:l&&o&&a<=o?(o-a)/l:void 0,event:n,lengthComputable:null!=o,[t?"download":"upload"]:!0})},n)},jr=(e,t)=>{const n=null!=e;return[r=>t[0]({lengthComputable:n,total:e,loaded:r}),t[1]]},Tr=e=>(...t)=>Wn.asap(()=>e(...t));var Pr=fr.hasStandardBrowserEnv?((e,t)=>n=>(n=new URL(n,fr.origin),e.protocol===n.protocol&&e.host===n.host&&(t||e.port===n.port)))(new URL(fr.origin),fr.navigator&&/(msie|trident)/i.test(fr.navigator.userAgent)):()=>!0,Dr=fr.hasStandardBrowserEnv?{write(e,t,n,r,i,a,o){if("undefined"==typeof document)return;const s=[`${e}=${encodeURIComponent(t)}`];Wn.isNumber(n)&&s.push(`expires=${new Date(n).toUTCString()}`),Wn.isString(r)&&s.push(`path=${r}`),Wn.isString(i)&&s.push(`domain=${i}`),!0===a&&s.push("secure"),Wn.isString(o)&&s.push(`SameSite=${o}`),document.cookie=s.join("; ")},read(e){if("undefined"==typeof document)return null;const t=document.cookie.match(new RegExp("(?:^|; )"+e+"=([^;]*)"));return t?decodeURIComponent(t[1]):null},remove(e){this.write(e,"",Date.now()-864e5,"/")}}:{write(){},read(){return null},remove(){}};function Ar(e,t,n){let r=!/^([a-z][a-z\d+\-.]*:)?\/\//i.test(t);return e&&(r||0==n)?function(e,t){return t?e.replace(/\/?\/$/,"")+"/"+t.replace(/^\/+/,""):e}(e,t):t}const Lr=e=>e instanceof xr?{...e}:e;function Ir(e,t){t=t||{};const n={};function r(e,t,n,r){return Wn.isPlainObject(e)&&Wn.isPlainObject(t)?Wn.merge.call({caseless:r},e,t):Wn.isPlainObject(t)?Wn.merge({},t):Wn.isArray(t)?t.slice():t}function i(e,t,n,i){return Wn.isUndefined(t)?Wn.isUndefined(e)?void 0:r(void 0,e,0,i):r(e,t,0,i)}function a(e,t){if(!Wn.isUndefined(t))return r(void 0,t)}function o(e,t){return Wn.isUndefined(t)?Wn.isUndefined(e)?void 0:r(void 0,e):r(void 0,t)}function s(n,i,a){return a in t?r(n,i):a in e?r(void 0,n):void 0}const l={url:a,method:a,data:a,baseURL:o,transformRequest:o,transformResponse:o,paramsSerializer:o,timeout:o,timeoutMessage:o,withCredentials:o,withXSRFToken:o,adapter:o,responseType:o,xsrfCookieName:o,xsrfHeaderName:o,onUploadProgress:o,onDownloadProgress:o,decompress:o,maxContentLength:o,maxBodyLength:o,beforeRedirect:o,transport:o,httpAgent:o,httpsAgent:o,cancelToken:o,socketPath:o,responseEncoding:o,validateStatus:s,headers:(e,t,n)=>i(Lr(e),Lr(t),0,!0)};return Wn.forEach(Object.keys({...e,...t}),function(r){const a=l[r]||i,o=a(e[r],t[r],r);Wn.isUndefined(o)&&a!==s||(n[r]=o)}),n}var Nr=e=>{const t=Ir({},e);let{data:n,withXSRFToken:r,xsrfHeaderName:i,xsrfCookieName:a,headers:o,auth:s}=t;if(t.headers=o=xr.from(o),t.url=ir(Ar(t.baseURL,t.url,t.allowAbsoluteUrls),e.params,e.paramsSerializer),s&&o.set("Authorization","Basic "+btoa((s.username||"")+":"+(s.password?unescape(encodeURIComponent(s.password)):""))),Wn.isFormData(n))if(fr.hasStandardBrowserEnv||fr.hasStandardBrowserWebWorkerEnv)o.setContentType(void 0);else if(Wn.isFunction(n.getHeaders)){const e=n.getHeaders(),t=["content-type","content-length"];Object.entries(e).forEach(([e,n])=>{t.includes(e.toLowerCase())&&o.set(e,n)})}if(fr.hasStandardBrowserEnv&&(r&&Wn.isFunction(r)&&(r=r(t)),r||!1!==r&&Pr(t.url))){const e=i&&a&&Dr.read(a);e&&o.set(i,e)}return t},Rr="undefined"!=typeof XMLHttpRequest&&function(e){return new Promise(function(t,n){const r=Nr(e);let i=r.data;const a=xr.from(r.headers).normalize();let o,s,l,c,u,{responseType:d,onUploadProgress:h,onDownloadProgress:f}=r;function p(){c&&c(),u&&u(),r.cancelToken&&r.cancelToken.unsubscribe(o),r.signal&&r.signal.removeEventListener("abort",o)}let m=new XMLHttpRequest;function g(){if(!m)return;const r=xr.from("getAllResponseHeaders"in m&&m.getAllResponseHeaders());Mr(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:r,config:e,request:m}),m=null}m.open(r.method.toUpperCase(),r.url,!0),m.timeout=r.timeout,"onloadend"in m?m.onloadend=g:m.onreadystatechange=function(){m&&4===m.readyState&&(0!==m.status||m.responseURL&&0===m.responseURL.indexOf("file:"))&&setTimeout(g)},m.onabort=function(){m&&(n(new qn("Request aborted",qn.ECONNABORTED,e,m)),m=null)},m.onerror=function(t){const r=t&&t.message?t.message:"Network Error",i=new qn(r,qn.ERR_NETWORK,e,m);i.event=t||null,n(i),m=null},m.ontimeout=function(){let t=r.timeout?"timeout of "+r.timeout+"ms exceeded":"timeout exceeded";const i=r.transitional||or;r.timeoutErrorMessage&&(t=r.timeoutErrorMessage),n(new qn(t,i.clarifyTimeoutError?qn.ETIMEDOUT:qn.ECONNABORTED,e,m)),m=null},void 0===i&&a.setContentType(null),"setRequestHeader"in m&&Wn.forEach(a.toJSON(),function(e,t){m.setRequestHeader(t,e)}),Wn.isUndefined(r.withCredentials)||(m.withCredentials=!!r.withCredentials),d&&"json"!==d&&(m.responseType=r.responseType),f&&([l,u]=Or(f,!0),m.addEventListener("progress",l)),h&&m.upload&&([s,c]=Or(h),m.upload.addEventListener("progress",s),m.upload.addEventListener("loadend",c)),(r.cancelToken||r.signal)&&(o=t=>{m&&(n(!t||t.type?new kr(null,e,m):t),m.abort(),m=null)},r.cancelToken&&r.cancelToken.subscribe(o),r.signal&&(r.signal.aborted?o():r.signal.addEventListener("abort",o)));const v=function(e){const t=/^([-+\w]{1,25})(:?\/\/|:)/.exec(e);return t&&t[1]||""}(r.url);v&&-1===fr.protocols.indexOf(v)?n(new qn("Unsupported protocol "+v+":",qn.ERR_BAD_REQUEST,e)):m.send(i||null)})},zr=(e,t)=>{const{length:n}=e=e?e.filter(Boolean):[];if(t||n){let n,r=new AbortController;const i=function(e){if(!n){n=!0,o();const t=e instanceof Error?e:this.reason;r.abort(t instanceof qn?t:new kr(t instanceof Error?t.message:t))}};let a=t&&setTimeout(()=>{a=null,i(new qn(`timeout of ${t}ms exceeded`,qn.ETIMEDOUT))},t);const o=()=>{e&&(a&&clearTimeout(a),a=null,e.forEach(e=>{e.unsubscribe?e.unsubscribe(i):e.removeEventListener("abort",i)}),e=null)};e.forEach(e=>e.addEventListener("abort",i));const{signal:s}=r;return s.unsubscribe=()=>Wn.asap(o),s}};const Fr=function*(e,t){let n=e.byteLength;if(!t||n<t)return void(yield e);let r,i=0;for(;i<n;)r=i+t,yield e.slice(i,r),i=r},Hr=(e,t,n,r)=>{const i=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*Fr(n,t)}(e,t);let a,o=0,s=e=>{a||(a=!0,r&&r(e))};return new ReadableStream({async pull(e){try{const{done:t,value:r}=await i.next();if(t)return s(),void e.close();let a=r.byteLength;if(n){let e=o+=a;n(e)}e.enqueue(new Uint8Array(r))}catch(e){throw s(e),e}},cancel(e){return s(e),i.return()}},{highWaterMark:2})},{isFunction:$r}=Wn,Vr=(({Request:e,Response:t})=>({Request:e,Response:t}))(Wn.global),{ReadableStream:Ur,TextEncoder:Br}=Wn.global,Wr=(e,...t)=>{try{return!!e(...t)}catch(e){return!1}},Zr=e=>{e=Wn.merge.call({skipUndefined:!0},Vr,e);const{fetch:t,Request:n,Response:r}=e,i=t?$r(t):"function"==typeof fetch,a=$r(n),o=$r(r);if(!i)return!1;const s=i&&$r(Ur),l=i&&("function"==typeof Br?(c=new Br,e=>c.encode(e)):async e=>new Uint8Array(await new n(e).arrayBuffer()));var c;const u=a&&s&&Wr(()=>{let e=!1;const t=new n(fr.origin,{body:new Ur,method:"POST",get duplex(){return e=!0,"half"}}).headers.has("Content-Type");return e&&!t}),d=o&&s&&Wr(()=>Wn.isReadableStream(new r("").body)),h={stream:d&&(e=>e.body)};i&&["text","arrayBuffer","blob","formData","stream"].forEach(e=>{!h[e]&&(h[e]=(t,n)=>{let r=t&&t[e];if(r)return r.call(t);throw new qn(`Response type '${e}' is not supported`,qn.ERR_NOT_SUPPORT,n)})});return async e=>{let{url:i,method:o,data:s,signal:c,cancelToken:f,timeout:p,onDownloadProgress:m,onUploadProgress:g,responseType:v,headers:b,withCredentials:y="same-origin",fetchOptions:C}=Nr(e),_=t||fetch;v=v?(v+"").toLowerCase():"text";let w=zr([c,f&&f.toAbortSignal()],p),x=null;const S=w&&w.unsubscribe&&(()=>{w.unsubscribe()});let E;try{if(g&&u&&"get"!==o&&"head"!==o&&0!==(E=await(async(e,t)=>{const r=Wn.toFiniteNumber(e.getContentLength());return null==r?(async e=>{if(null==e)return 0;if(Wn.isBlob(e))return e.size;if(Wn.isSpecCompliantForm(e)){const t=new n(fr.origin,{method:"POST",body:e});return(await t.arrayBuffer()).byteLength}return Wn.isArrayBufferView(e)||Wn.isArrayBuffer(e)?e.byteLength:(Wn.isURLSearchParams(e)&&(e+=""),Wn.isString(e)?(await l(e)).byteLength:void 0)})(t):r})(b,s))){let e,t=new n(i,{method:"POST",body:s,duplex:"half"});if(Wn.isFormData(s)&&(e=t.headers.get("content-type"))&&b.setContentType(e),t.body){const[e,n]=jr(E,Or(Tr(g)));s=Hr(t.body,65536,e,n)}}Wn.isString(y)||(y=y?"include":"omit");const t=a&&"credentials"in n.prototype,c={...C,signal:w,method:o.toUpperCase(),headers:b.normalize().toJSON(),body:s,duplex:"half",credentials:t?y:void 0};x=a&&new n(i,c);let f=await(a?_(x,C):_(i,c));const p=d&&("stream"===v||"response"===v);if(d&&(m||p&&S)){const e={};["status","statusText","headers"].forEach(t=>{e[t]=f[t]});const t=Wn.toFiniteNumber(f.headers.get("content-length")),[n,i]=m&&jr(t,Or(Tr(m),!0))||[];f=new r(Hr(f.body,65536,n,()=>{i&&i(),S&&S()}),e)}v=v||"text";let k=await h[Wn.findKey(h,v)||"text"](f,e);return!p&&S&&S(),await new Promise((t,n)=>{Mr(t,n,{data:k,headers:xr.from(f.headers),status:f.status,statusText:f.statusText,config:e,request:x})})}catch(t){if(S&&S(),t&&"TypeError"===t.name&&/Load failed|fetch/i.test(t.message))throw Object.assign(new qn("Network Error",qn.ERR_NETWORK,e,x),{cause:t.cause||t});throw qn.from(t,t&&t.code,e,x)}}},qr=new Map,Gr=e=>{let t=e&&e.env||{};const{fetch:n,Request:r,Response:i}=t,a=[r,i,n];let o,s,l=a.length,c=qr;for(;l--;)o=a[l],s=c.get(o),void 0===s&&c.set(o,s=l?new Map:Zr(t)),c=s;return s};Gr();const Yr={http:null,xhr:Rr,fetch:{get:Gr}};Wn.forEach(Yr,(e,t)=>{if(e){try{Object.defineProperty(e,"name",{value:t})}catch(e){}Object.defineProperty(e,"adapterName",{value:t})}});const Qr=e=>`- ${e}`,Kr=e=>Wn.isFunction(e)||null===e||!1===e;var Xr=function(e,t){e=Wn.isArray(e)?e:[e];const{length:n}=e;let r,i;const a={};for(let o=0;o<n;o++){let n;if(r=e[o],i=r,!Kr(r)&&(i=Yr[(n=String(r)).toLowerCase()],void 0===i))throw new qn(`Unknown adapter '${n}'`);if(i&&(Wn.isFunction(i)||(i=i.get(t))))break;a[n||"#"+o]=i}if(!i){const e=Object.entries(a).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(Qr).join("\n"):" "+Qr(e[0]):"as no adapter specified";throw new qn("There is no suitable adapter to dispatch the request "+t,"ERR_NOT_SUPPORT")}return i};function Jr(e){if(e.cancelToken&&e.cancelToken.throwIfRequested(),e.signal&&e.signal.aborted)throw new kr(null,e)}function ei(e){return Jr(e),e.headers=xr.from(e.headers),e.data=Sr.call(e,e.transformRequest),-1!==["post","put","patch"].indexOf(e.method)&&e.headers.setContentType("application/x-www-form-urlencoded",!1),Xr(e.adapter||gr.adapter,e)(e).then(function(t){return Jr(e),t.data=Sr.call(e,e.transformResponse,t),t.headers=xr.from(t.headers),t},function(t){return Er(t)||(Jr(e),t&&t.response&&(t.response.data=Sr.call(e,e.transformResponse,t.response),t.response.headers=xr.from(t.response.headers))),Promise.reject(t)})}const ti="1.13.4",ni={};["object","boolean","number","function","string","symbol"].forEach((e,t)=>{ni[e]=function(n){return typeof n===e||"a"+(t<1?"n ":" ")+e}});const ri={};ni.transitional=function(e,t,n){function r(e,t){return"[Axios v"+ti+"] Transitional option '"+e+"'"+t+(n?". "+n:"")}return(n,i,a)=>{if(!1===e)throw new qn(r(i," has been removed"+(t?" in "+t:"")),qn.ERR_DEPRECATED);return t&&!ri[i]&&(ri[i]=!0,console.warn(r(i," has been deprecated since v"+t+" and will be removed in the near future"))),!e||e(n,i,a)}},ni.spelling=function(e){return(t,n)=>(console.warn(`${n} is likely a misspelling of ${e}`),!0)};var ii={assertOptions:function(e,t,n){if("object"!=typeof e)throw new qn("options must be an object",qn.ERR_BAD_OPTION_VALUE);const r=Object.keys(e);let i=r.length;for(;i-- >0;){const a=r[i],o=t[a];if(o){const t=e[a],n=void 0===t||o(t,a,e);if(!0!==n)throw new qn("option "+a+" must be "+n,qn.ERR_BAD_OPTION_VALUE);continue}if(!0!==n)throw new qn("Unknown option "+a,qn.ERR_BAD_OPTION)}},validators:ni};const ai=ii.validators;class oi{constructor(e){this.defaults=e||{},this.interceptors={request:new ar,response:new ar}}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=t.stack?t.stack.replace(/^.+\n/,""):"";try{e.stack?n&&!String(e.stack).endsWith(n.replace(/^.+\n.+\n/,""))&&(e.stack+="\n"+n):e.stack=n}catch(e){}}throw e}}_request(e,t){"string"==typeof e?(t=t||{}).url=e:t=e||{},t=Ir(this.defaults,t);const{transitional:n,paramsSerializer:r,headers:i}=t;void 0!==n&&ii.assertOptions(n,{silentJSONParsing:ai.transitional(ai.boolean),forcedJSONParsing:ai.transitional(ai.boolean),clarifyTimeoutError:ai.transitional(ai.boolean)},!1),null!=r&&(Wn.isFunction(r)?t.paramsSerializer={serialize:r}:ii.assertOptions(r,{encode:ai.function,serialize:ai.function},!0)),void 0!==t.allowAbsoluteUrls||(void 0!==this.defaults.allowAbsoluteUrls?t.allowAbsoluteUrls=this.defaults.allowAbsoluteUrls:t.allowAbsoluteUrls=!0),ii.assertOptions(t,{baseUrl:ai.spelling("baseURL"),withXsrfToken:ai.spelling("withXSRFToken")},!0),t.method=(t.method||this.defaults.method||"get").toLowerCase();let a=i&&Wn.merge(i.common,i[t.method]);i&&Wn.forEach(["delete","get","head","post","put","patch","common"],e=>{delete i[e]}),t.headers=xr.concat(a,i);const o=[];let s=!0;this.interceptors.request.forEach(function(e){"function"==typeof e.runWhen&&!1===e.runWhen(t)||(s=s&&e.synchronous,o.unshift(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=[ei.bind(this),void 0];for(e.unshift(...o),e.push(...l),u=e.length,c=Promise.resolve(t);d<u;)c=c.then(e[d++],e[d++]);return c}u=o.length;let h=t;for(;d<u;){const e=o[d++],t=o[d++];try{h=e(h)}catch(e){t.call(this,e);break}}try{c=ei.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 ir(Ar((e=Ir(this.defaults,e)).baseURL,e.url,e.allowAbsoluteUrls),e.params,e.paramsSerializer)}}Wn.forEach(["delete","get","head","options"],function(e){oi.prototype[e]=function(t,n){return this.request(Ir(n||{},{method:e,url:t,data:(n||{}).data}))}}),Wn.forEach(["post","put","patch"],function(e){function t(t){return function(n,r,i){return this.request(Ir(i||{},{method:e,headers:t?{"Content-Type":"multipart/form-data"}:{},url:n,data:r}))}}oi.prototype[e]=t(),oi.prototype[e+"Form"]=t(!0)});var si=oi;class li{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 r=new Promise(e=>{n.subscribe(e),t=e}).then(e);return r.cancel=function(){n.unsubscribe(t)},r},e(function(e,r,i){n.reason||(n.reason=new kr(e,r,i),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;return{token:new li(function(t){e=t}),cancel:e}}}var ci=li;const ui={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(ui).forEach(([e,t])=>{ui[t]=e});var di=ui;const hi=function e(t){const n=new si(t),r=nn(si.prototype.request,n);return Wn.extend(r,si.prototype,n,{allOwnKeys:!0}),Wn.extend(r,n,null,{allOwnKeys:!0}),r.create=function(n){return e(Ir(t,n))},r}(gr);hi.Axios=si,hi.CanceledError=kr,hi.CancelToken=ci,hi.isCancel=Er,hi.VERSION=ti,hi.toFormData=Xn,hi.AxiosError=qn,hi.Cancel=hi.CanceledError,hi.all=function(e){return Promise.all(e)},hi.spread=function(e){return function(t){return e.apply(null,t)}},hi.isAxiosError=function(e){return Wn.isObject(e)&&!0===e.isAxiosError},hi.mergeConfig=Ir,hi.AxiosHeaders=xr,hi.formToJSON=e=>pr(Wn.isHTMLForm(e)?new FormData(e):e),hi.getAdapter=Xr,hi.HttpStatusCode=di,hi.default=hi;var fi=hi,pi=i(499),mi=i(395),gi=e=>{let t=(0,n.useRef)();return(0,n.useEffect)(()=>{t.current=e},[e]),t.current},vi=()=>{let[e,t]=(0,n.useState)(!1);return(0,n.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},bi=({scrollOffset:e=0})=>{let[t,r]=(0,n.useState)(!1),[i,a]=(0,n.useState)(!1),o=(0,n.useRef)(null),s=vi(),l=(0,n.useCallback)(()=>{let e=o.current;if(!e)return;let{scrollLeft:t,scrollWidth:n,clientWidth:i}=e,l=Math.abs(t??0);r(s?l>=1:l<n-i-1),a(s?l<n-i-1:l>=1)},[s]);return(0,n.useEffect)(()=>{let e=o.current;if(e)return l(),e.addEventListener("scroll",l),()=>{e.removeEventListener("scroll",l)}},[l]),(0,n.useEffect)(()=>{let e=()=>l();return window.addEventListener("resize",e),()=>window.removeEventListener("resize",e)},[l]),(0,n.useEffect)(()=>{let e=new IntersectionObserver(e=>{e[0].isIntersecting&&l()},{threshold:.1});return o.current&&e.observe(o.current),()=>e.disconnect()},[l]),{containerRef:o,isScrollableLeft:i,isScrollableRight:t,scroll:t=>{if(!o.current)return;let n=o.current,r=(t=>{if(!o.current)return null;let n=o.current,r=Array.from(n.children),i=n.getBoundingClientRect(),a=n.scrollLeft;for(let o=0;o<r.length;o++){let s=r[o],l=s.getBoundingClientRect(),c=l.left-i.left+a,u=c+l.width,d=a,h=a+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 o=0;o<r.length;o++){let s=r[o],l=s.getBoundingClientRect(),c=l.left-i.left+a,u=c+l.width,d=a,h=a+n.clientWidth;if("left"===t&&u<=d){let t=s,n=o;for(let e=o+1;e<r.length;e++){let o=r[e],s=o.getBoundingClientRect();if(!(s.left-i.left+a+s.width<=d))break;t=o,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:r?.targetScroll??0,behavior:"smooth"})}}},yi=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}(),Ci=Math.abs,_i=String.fromCharCode,wi=Object.assign;function xi(e){return e.trim()}function Si(e,t,n){return e.replace(t,n)}function Ei(e,t){return e.indexOf(t)}function ki(e,t){return 0|e.charCodeAt(t)}function Mi(e,t,n){return e.slice(t,n)}function Oi(e){return e.length}function ji(e){return e.length}function Ti(e,t){return t.push(e),e}var Pi=1,Di=1,Ai=0,Li=0,Ii=0,Ni="";function Ri(e,t,n,r,i,a,o){return{value:e,root:t,parent:n,type:r,props:i,children:a,line:Pi,column:Di,length:o,return:""}}function zi(e,t){return wi(Ri("",null,null,"",null,null,0),e,{length:-e.length},t)}function Fi(){return Ii=Li>0?ki(Ni,--Li):0,Di--,10===Ii&&(Di=1,Pi--),Ii}function Hi(){return Ii=Li<Ai?ki(Ni,Li++):0,Di++,10===Ii&&(Di=1,Pi++),Ii}function $i(){return ki(Ni,Li)}function Vi(){return Li}function Ui(e,t){return Mi(Ni,e,t)}function Bi(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 Wi(e){return Pi=Di=1,Ai=Oi(Ni=e),Li=0,[]}function Zi(e){return Ni="",e}function qi(e){return xi(Ui(Li-1,Qi(91===e?e+2:40===e?e+1:e)))}function Gi(e){for(;(Ii=$i())&&Ii<33;)Hi();return Bi(e)>2||Bi(Ii)>3?"":" "}function Yi(e,t){for(;--t&&Hi()&&!(Ii<48||Ii>102||Ii>57&&Ii<65||Ii>70&&Ii<97););return Ui(e,Vi()+(t<6&&32==$i()&&32==Hi()))}function Qi(e){for(;Hi();)switch(Ii){case e:return Li;case 34:case 39:34!==e&&39!==e&&Qi(Ii);break;case 40:41===e&&Qi(e);break;case 92:Hi()}return Li}function Ki(e,t){for(;Hi()&&e+Ii!==57&&(e+Ii!==84||47!==$i()););return"/*"+Ui(t,Li-1)+"*"+_i(47===e?e:Hi())}function Xi(e){for(;!Bi($i());)Hi();return Ui(e,Li)}var Ji="-ms-",ea="-moz-",ta="-webkit-",na="comm",ra="rule",ia="decl",aa="@keyframes";function oa(e,t){for(var n="",r=ji(e),i=0;i<r;i++)n+=t(e[i],i,e,t)||"";return n}function sa(e,t,n,r){switch(e.type){case"@layer":if(e.children.length)break;case"@import":case ia:return e.return=e.return||e.value;case na:return"";case aa:return e.return=e.value+"{"+oa(e.children,r)+"}";case ra:e.value=e.props.join(",")}return Oi(n=oa(e.children,r))?e.return=e.value+"{"+n+"}":""}function la(e){return function(t){t.root||(t=t.return)&&e(t)}}function ca(e){return Zi(ua("",null,null,null,[""],e=Wi(e),0,[0],e))}function ua(e,t,n,r,i,a,o,s,l){for(var c=0,u=0,d=o,h=0,f=0,p=0,m=1,g=1,v=1,b=0,y="",C=i,_=a,w=r,x=y;g;)switch(p=b,b=Hi()){case 40:if(108!=p&&58==ki(x,d-1)){-1!=Ei(x+=Si(qi(b),"&","&\f"),"&\f")&&(v=-1);break}case 34:case 39:case 91:x+=qi(b);break;case 9:case 10:case 13:case 32:x+=Gi(p);break;case 92:x+=Yi(Vi()-1,7);continue;case 47:switch($i()){case 42:case 47:Ti(ha(Ki(Hi(),Vi()),t,n),l);break;default:x+="/"}break;case 123*m:s[c++]=Oi(x)*v;case 125*m:case 59:case 0:switch(b){case 0:case 125:g=0;case 59+u:-1==v&&(x=Si(x,/\f/g,"")),f>0&&Oi(x)-d&&Ti(f>32?fa(x+";",r,n,d-1):fa(Si(x," ","")+";",r,n,d-2),l);break;case 59:x+=";";default:if(Ti(w=da(x,t,n,c,u,i,s,y,C=[],_=[],d),a),123===b)if(0===u)ua(x,t,w,w,C,a,d,s,_);else switch(99===h&&110===ki(x,3)?100:h){case 100:case 108:case 109:case 115:ua(e,w,w,r&&Ti(da(e,w,w,0,0,i,s,y,i,C=[],d),_),i,_,d,s,r?C:_);break;default:ua(x,w,w,w,[""],_,0,s,_)}}c=u=f=0,m=v=1,y=x="",d=o;break;case 58:d=1+Oi(x),f=p;default:if(m<1)if(123==b)--m;else if(125==b&&0==m++&&125==Fi())continue;switch(x+=_i(b),b*m){case 38:v=u>0?1:(x+="\f",-1);break;case 44:s[c++]=(Oi(x)-1)*v,v=1;break;case 64:45===$i()&&(x+=qi(Hi())),h=$i(),u=d=Oi(y=x+=Xi(Vi())),b++;break;case 45:45===p&&2==Oi(x)&&(m=0)}}return a}function da(e,t,n,r,i,a,o,s,l,c,u){for(var d=i-1,h=0===i?a:[""],f=ji(h),p=0,m=0,g=0;p<r;++p)for(var v=0,b=Mi(e,d+1,d=Ci(m=o[p])),y=e;v<f;++v)(y=xi(m>0?h[v]+" "+b:Si(b,/&\f/g,h[v])))&&(l[g++]=y);return Ri(e,t,n,0===i?ra:s,l,c,u)}function ha(e,t,n){return Ri(e,t,n,na,_i(Ii),Mi(e,2,-2),0)}function fa(e,t,n,r){return Ri(e,t,n,ia,Mi(e,0,r),Mi(e,r+1,-1),r)}var pa=function(e,t,n){for(var r=0,i=0;r=i,i=$i(),38===r&&12===i&&(t[n]=1),!Bi(i);)Hi();return Ui(e,Li)},ma=new WeakMap,ga=function(e){if("rule"===e.type&&e.parent&&!(e.length<1)){for(var t=e.value,n=e.parent,r=e.column===n.column&&e.line===n.line;"rule"!==n.type;)if(!(n=n.parent))return;if((1!==e.props.length||58===t.charCodeAt(0)||ma.get(n))&&!r){ma.set(e,!0);for(var i=[],a=function(e,t){return Zi(function(e,t){var n=-1,r=44;do{switch(Bi(r)){case 0:38===r&&12===$i()&&(t[n]=1),e[n]+=pa(Li-1,t,n);break;case 2:e[n]+=qi(r);break;case 4:if(44===r){e[++n]=58===$i()?"&\f":"",t[n]=e[n].length;break}default:e[n]+=_i(r)}}while(r=Hi());return e}(Wi(e),t))}(t,i),o=n.props,s=0,l=0;s<a.length;s++)for(var c=0;c<o.length;c++,l++)e.props[l]=i[s]?a[s].replace(/&\f/g,o[c]):o[c]+" "+a[s]}}},va=function(e){if("decl"===e.type){var t=e.value;108===t.charCodeAt(0)&&98===t.charCodeAt(2)&&(e.return="",e.value="")}};function ba(e,t){switch(function(e,t){return 45^ki(e,0)?(((t<<2^ki(e,0))<<2^ki(e,1))<<2^ki(e,2))<<2^ki(e,3):0}(e,t)){case 5103:return ta+"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 ta+e+e;case 5349:case 4246:case 4810:case 6968:case 2756:return ta+e+ea+e+Ji+e+e;case 6828:case 4268:return ta+e+Ji+e+e;case 6165:return ta+e+Ji+"flex-"+e+e;case 5187:return ta+e+Si(e,/(\w+).+(:[^]+)/,ta+"box-$1$2"+Ji+"flex-$1$2")+e;case 5443:return ta+e+Ji+"flex-item-"+Si(e,/flex-|-self/,"")+e;case 4675:return ta+e+Ji+"flex-line-pack"+Si(e,/align-content|flex-|-self/,"")+e;case 5548:return ta+e+Ji+Si(e,"shrink","negative")+e;case 5292:return ta+e+Ji+Si(e,"basis","preferred-size")+e;case 6060:return ta+"box-"+Si(e,"-grow","")+ta+e+Ji+Si(e,"grow","positive")+e;case 4554:return ta+Si(e,/([^-])(transform)/g,"$1"+ta+"$2")+e;case 6187:return Si(Si(Si(e,/(zoom-|grab)/,ta+"$1"),/(image-set)/,ta+"$1"),e,"")+e;case 5495:case 3959:return Si(e,/(image-set\([^]*)/,ta+"$1$`$1");case 4968:return Si(Si(e,/(.+:)(flex-)?(.*)/,ta+"box-pack:$3"+Ji+"flex-pack:$3"),/s.+-b[^;]+/,"justify")+ta+e+e;case 4095:case 3583:case 4068:case 2532:return Si(e,/(.+)-inline(.+)/,ta+"$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(Oi(e)-1-t>6)switch(ki(e,t+1)){case 109:if(45!==ki(e,t+4))break;case 102:return Si(e,/(.+:)(.+)-([^]+)/,"$1"+ta+"$2-$3$1"+ea+(108==ki(e,t+3)?"$3":"$2-$3"))+e;case 115:return~Ei(e,"stretch")?ba(Si(e,"stretch","fill-available"),t)+e:e}break;case 4949:if(115!==ki(e,t+1))break;case 6444:switch(ki(e,Oi(e)-3-(~Ei(e,"!important")&&10))){case 107:return Si(e,":",":"+ta)+e;case 101:return Si(e,/(.+:)([^;!]+)(;|!.+)?/,"$1"+ta+(45===ki(e,14)?"inline-":"")+"box$3$1"+ta+"$2$3$1"+Ji+"$2box$3")+e}break;case 5936:switch(ki(e,t+11)){case 114:return ta+e+Ji+Si(e,/[svh]\w+-[tblr]{2}/,"tb")+e;case 108:return ta+e+Ji+Si(e,/[svh]\w+-[tblr]{2}/,"tb-rl")+e;case 45:return ta+e+Ji+Si(e,/[svh]\w+-[tblr]{2}/,"lr")+e}return ta+e+Ji+e+e}return e}var ya=[function(e,t,n,r){if(e.length>-1&&!e.return)switch(e.type){case ia:e.return=ba(e.value,e.length);break;case aa:return oa([zi(e,{value:Si(e.value,"@","@"+ta)})],r);case ra: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 oa([zi(e,{props:[Si(t,/:(read-\w+)/,":-moz-$1")]})],r);case"::placeholder":return oa([zi(e,{props:[Si(t,/:(plac\w+)/,":"+ta+"input-$1")]}),zi(e,{props:[Si(t,/:(plac\w+)/,":-moz-$1")]}),zi(e,{props:[Si(t,/:(plac\w+)/,Ji+"input-$1")]})],r)}return""})}}],Ca={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 _a(e){var t=Object.create(null);return function(n){return void 0===t[n]&&(t[n]=e(n)),t[n]}}var wa=/[A-Z]|^ms/g,xa=/_EMO_([^_]+?)_([^]*?)_EMO_/g,Sa=function(e){return 45===e.charCodeAt(1)},Ea=function(e){return null!=e&&"boolean"!=typeof e},ka=_a(function(e){return Sa(e)?e:e.replace(wa,"-$&").toLowerCase()}),Ma=function(e,t){switch(e){case"animation":case"animationName":if("string"==typeof t)return t.replace(xa,function(e,t,n){return ja={name:t,styles:n,next:ja},t})}return 1===Ca[e]||Sa(e)||"number"!=typeof t||0===t?t:t+"px"};function Oa(e,t,n){if(null==n)return"";var r=n;if(void 0!==r.__emotion_styles)return r;switch(typeof n){case"boolean":return"";case"object":var i=n;if(1===i.anim)return ja={name:i.name,styles:i.styles,next:ja},i.name;var a=n;if(void 0!==a.styles){var o=a.next;if(void 0!==o)for(;void 0!==o;)ja={name:o.name,styles:o.styles,next:ja},o=o.next;return a.styles+";"}return function(e,t,n){var r="";if(Array.isArray(n))for(var i=0;i<n.length;i++)r+=Oa(e,t,n[i])+";";else for(var a in n){var o=n[a];if("object"!=typeof o){var s=o;null!=t&&void 0!==t[s]?r+=a+"{"+t[s]+"}":Ea(s)&&(r+=ka(a)+":"+Ma(a,s)+";")}else if(!Array.isArray(o)||"string"!=typeof o[0]||null!=t&&void 0!==t[o[0]]){var l=Oa(e,t,o);switch(a){case"animation":case"animationName":r+=ka(a)+":"+l+";";break;default:r+=a+"{"+l+"}"}}else for(var c=0;c<o.length;c++)Ea(o[c])&&(r+=ka(a)+":"+Ma(a,o[c])+";")}return r}(e,t,n);case"function":if(void 0!==e){var s=ja,l=n(e);return ja=s,Oa(e,t,l)}}var c=n;if(null==t)return c;var u=t[c];return void 0!==u?u:c}var ja,Ta=/label:\s*([^\s;{]+)\s*(;|$)/g;function Pa(e,t,n){if(1===e.length&&"object"==typeof e[0]&&null!==e[0]&&void 0!==e[0].styles)return e[0];var r=!0,i="";ja=void 0;var a=e[0];null==a||void 0===a.raw?(r=!1,i+=Oa(n,t,a)):i+=a[0];for(var o=1;o<e.length;o++)i+=Oa(n,t,e[o]),r&&(i+=a[o]);Ta.lastIndex=0;for(var s,l="";null!==(s=Ta.exec(i));)l+="-"+s[1];var c=function(e){for(var t,n=0,r=0,i=e.length;i>=4;++r,i-=4)t=1540483477*(65535&(t=255&e.charCodeAt(r)|(255&e.charCodeAt(++r))<<8|(255&e.charCodeAt(++r))<<16|(255&e.charCodeAt(++r))<<24))+(59797*(t>>>16)<<16),n=1540483477*(65535&(t^=t>>>24))+(59797*(t>>>16)<<16)^1540483477*(65535&n)+(59797*(n>>>16)<<16);switch(i){case 3:n^=(255&e.charCodeAt(r+2))<<16;case 2:n^=(255&e.charCodeAt(r+1))<<8;case 1:n=1540483477*(65535&(n^=255&e.charCodeAt(r)))+(59797*(n>>>16)<<16)}return(((n=1540483477*(65535&(n^=n>>>13))+(59797*(n>>>16)<<16))^n>>>15)>>>0).toString(36)}(i)+l;return{name:c,styles:i,next:ja}}function Da(e,t,n){var r="";return n.split(" ").forEach(function(n){void 0!==e[n]?t.push(e[n]+";"):n&&(r+=n+" ")}),r}function Aa(e,t){if(void 0===e.inserted[t.name])return e.insert("",t,e.sheet,!0)}function La(e,t,n){var r=[],i=Da(e,r,n);return r.length<2?n:i+t(r)}var Ia=function e(t){for(var n="",r=0;r<t.length;r++){var i=t[r];if(null!=i){var a=void 0;switch(typeof i){case"boolean":break;case"object":if(Array.isArray(i))a=e(i);else for(var o in a="",i)i[o]&&o&&(a&&(a+=" "),a+=o);break;default:a=i}a&&(n&&(n+=" "),n+=a)}}return n},Na={default:null,sm:600,md:1024,lg:1200,xl:1600},Ra={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"},za="body #sui-wrap &",Fa=(e,t,n)=>{let r=Ra[e]??e,i=e=>({[r]:e}),a=(e,t,r)=>{let a=Na[t];if(null===e)return r;let o=i(e);if("default"===t)return{...r,...o};let s=(e=>{switch(e){case"xl":return Na.lg;case"lg":return Na.md;case"md":return Na.sm;default:return}})(t),l="sm"!==t?`@media(min-width:${(s??0)+1}px) and (max-width:${a}px)`:`@media(max-width:${a}px)`;return{...r,[l]:{...r[l],...n?.[l]??{},...o}}};switch(typeof t){case"string":return i(t);case"object":return Qa(e)?i(t):Object.keys(t).reduce((e,n)=>({...e,...a(t[n],n,e)}),{});default:return{}}},{css:Ha}=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 r,i,a=e.stylisPlugins||ya,o={},s=[];r=e.container||document.head,Array.prototype.forEach.call(document.querySelectorAll('style[data-emotion^="'+t+' "]'),function(e){for(var t=e.getAttribute("data-emotion").split(" "),n=1;n<t.length;n++)o[t[n]]=!0;s.push(e)});var l,c,u,d=[ga,va],h=[sa,la(function(e){l.insert(e)})],f=(c=d.concat(a,h),u=ji(c),function(e,t,n,r){for(var i="",a=0;a<u;a++)i+=c[a](e,t,n,r)||"";return i});i=function(e,t,n,r){l=n,oa(ca(e?e+"{"+t.styles+"}":t.styles),f),r&&(p.inserted[t.name]=!0)};var p={key:t,sheet:new yi({key:t,container:r,nonce:e.nonce,speedy:e.speedy,prepend:e.prepend,insertionPoint:e.insertionPoint}),nonce:e.nonce,inserted:o,registered:{},insert:i};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),r=0;r<t;r++)n[r]=arguments[r];var i=Pa(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 r=t;do{e.insert(t===r?"."+n:"",r,e.sheet,!0),r=r.next}while(void 0!==r)}}(e,i),e.key+"-"+i.name};return{css:t,cx:function(){for(var n=arguments.length,r=new Array(n),i=0;i<n;i++)r[i]=arguments[i];return La(e.registered,t,Ia(r))},injectGlobal:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Pa(n,e.registered);Aa(e,i)},keyframes:function(){for(var t=arguments.length,n=new Array(t),r=0;r<t;r++)n[r]=arguments[r];var i=Pa(n,e.registered),a="animation-"+i.name;return Aa(e,{name:i.name,styles:"@keyframes "+a+"{"+i.styles+"}"}),a},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:Da.bind(null,e.registered),merge:La.bind(null,e.registered,t)}}(),$a=(e={},t="")=>{let[r,i]=(0,n.useState)({}),a=(e=>ao(e)?"":Ha(e))(r),o=JSON?.stringify(lo()?{}:e);return(0,n.useEffect)(()=>{let e=JSON.parse(o),t={};if(!ao(e)){for(let n of Object.keys(e)){let r=e[n];t={...t,...Fa(n,r,t)}}i({[za]:t})}},[o]),{suiInlineClassname:Ka(t,{},a??"")}},Va={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 r=e?.toString()?.trim()||"";return"string"==typeof r&&io(r)?n:void 0},pattern:(e,t,n)=>{if("string"!=typeof t||io(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}},Ua=(e,t={validateOnMount:!1})=>{let[r,i]=(0,n.useState)({}),a=()=>{i({})},{getRuleType:o,validatorsMap:s}=(({updateStatus:e,resetValidation:t,validators:n})=>{let r={};return Object.entries(n).forEach(([n,i])=>{((n,i)=>{if(r.hasOwnProperty(n))throw new Error(`Validator with namespace '${n}' is duplicated!.`);r[n]=(n,r,a,o)=>{let s=i(n,r,a);s?e(s):o?o():t()}})(n,i)}),{validatorsMap:r,getRuleType:e=>{let t=new Set(Object.keys(e));return Object.keys(r).find(e=>t.has(e))}}})({updateStatus:e=>{i({error:e,isError:!!e})},resetValidation:a,validators:Va}),l=(e,t,n)=>{if("object"!=typeof t)throw new Error('SUI 3: "useValidation" hook, the rule should be of type object.');let r=o(t);if(!r)throw new Error('SUI 3: "useValidation" hook, No rule type found in the rules object.');let i=t[r],a=t.message,c=s[r];n?c?.(e,i,a,()=>l(e,n)):c?.(e,i,a)},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:a};return[r,c]},Ba=(e,t)=>null!==e?e:t||"{children content}",Wa=(e,t=()=>{})=>{let r=(0,n.useCallback)(n=>{e?.current&&!e?.current.contains(n.target)&&t()},[t,e]);(0,n.useEffect)(()=>(document.addEventListener("click",r),()=>{document.removeEventListener("click",r)}))},Za=i(316),qa=e=>{let[t,r]=(0,n.useState)(!1),[i,a]=(0,n.useState)(!1),{onMouseEnter:o,onMouseLeave:s,onMouseDownCapture:l,onMouseUp:c,onMouseUpCapture:u,onFocus:d,onBlur:h,onBlurCapture:f}=e,p=(0,n.useCallback)((e,t,n=e=>{})=>{r(e),no(n)&&n&&n(t)},[]),m=(0,n.useCallback)((e,t,n=e=>{})=>{a(e),no(n)&&n&&n(t)},[]),g=(0,n.useCallback)(e=>{let t=e?.currentTarget;t&&(t?.focus(),m(!0,e,e=>{c&&c(e)}))},[c,m]),v=(0,n.useCallback)(e=>p(!0,e,e=>{o&&o(e)}),[o,p]),b=(0,n.useCallback)(e=>p(!1,e,()=>{s&&s(event)}),[s,p]),y=(0,n.useCallback)(e=>m(!1,e,e=>{l&&l(e)}),[l,m]),C=(0,n.useCallback)(e=>m(!0,e,e=>{u&&u(e)}),[u,m]),_=(0,n.useCallback)(e=>p(!1,e,e=>{f&&f(e)}),[f,p]),w=(0,n.useCallback)(e=>m(!1,e,e=>{h&&h(e)}),[h,m]),x=(0,n.useCallback)(e=>m(!0,e,e=>{d&&d(e)}),[d,m]);return[t,i,{onMouseUp:g,onMouseEnter:v,onMouseLeave:b,onMouseDownCapture:y,onMouseUpCapture:C,onFocus:x,onBlur:w,onBlurCapture:_},p,m]},Ga=e=>{let[t,r]=(0,n.useState)(null);return e=e??".sui-wrap",(0,n.useLayoutEffect)(()=>{let t=document.querySelector(e),n=!1;return t||(n=!0,t=(e=>{let t=document.createElement("div");return t.setAttribute("id",e),document.body.appendChild(t),t})(e)),r(t),()=>{n&&t?.parentNode&&t.parentNode.removeChild(t)}},[e]),[e=>null===t?null:(0,Za.createPortal)(e,t)]},Ya=({propsToCheck:e,component:t})=>{let n=t?.displayName||t?.name;Object.keys(e)?.forEach((t,r)=>{if(io(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`)})},Qa=e=>e.startsWith("&")||e.startsWith("@media "),Ka=(e,t={},n="")=>{let r=Object.keys(t).map(n=>({[e?`${e}--${n}`:`${n}`]:!!t?.[n]}));return mi(e,r,n)},Xa=(e,t=null,n=void 0)=>(Ja(t)&&(t=e),e?t:n),Ja=e=>null===e,eo=e=>typeof e>"u",to=e=>"boolean"==typeof e,no=e=>"function"==typeof e,ro=e=>"string"==typeof e,io=e=>""===e,ao=e=>!!e&&0===Object.keys(e).length,oo=(e,t)=>{("Enter"===e.key||" "===e.key)&&t&&t(e)},so={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"}},lo=()=>{try{return void 0!==process?.env?.JEST_WORKER_ID}catch{return!1}},co=(e,t="")=>e,uo={path:(0,Ye.jsx)(n.Fragment,{}),viewBox:"0 0 24 24",height:24,width:24},ho=(0,n.forwardRef)(({id:e,children:t,className:r,title:i,viewBox:a=uo?.viewBox,iconHeight:o=uo.height,iconWidth:s=uo.width,colorScheme:l="",size:c="",onClick:u,fill:d="currentColor",_htmlProps:h={},_style:f={}},p)=>{let m=(0,n.useId)(),g=e||`sui-icon-${m}`,{suiInlineClassname:v}=$a(f,r),b={id:g,ref:p,className:r=Ka("sui-icon",{[l]:!io(l),[c]:!io(c)},v),title:i,viewBox:a,height:o,width:s,onClick:u,fill:d};u&&(b.tabIndex=0,b.onKeyDown=e=>oo(e,u));let y=t??uo.path;return y=n.Children.map(y,e=>(0,n.cloneElement)(e,{fill:d})),(0,Ye.jsxs)("svg",{version:"1.1",xmlns:"http://www.w3.org/2000/svg",...b,...co(h),"data-testid":"svg-icon",children:[!!i&&(0,Ye.jsx)("title",{children:i}),y]})});ho.displayName="Icon";var fo=(e,t)=>{let{viewBox:r="0 0 24 24",title:i,defaultProps:a={}}=t,o="string"==typeof e;e=o?e:n.Children.toArray(e);let s=(0,n.forwardRef)((t,n)=>(0,Ye.jsx)(ho,{ref:n,viewBox:r,...a,...t,"aria-hidden":!0,children:o||"string"==typeof e?(0,Ye.jsx)("path",{fill:"currentColor",d:e}):e?.map((e,t)=>(0,Ye.jsx)("path",{fill:"currentColor",d:e},t))}));return io(i??"")||(s.displayName=i),s},po=Object.defineProperty,mo={};((e,t)=>{for(var n in t)po(e,n,{get:t[n],enumerable:!0})})(mo,{Add:()=>Ws,AlignBottom:()=>Kl,AlignCenter:()=>Jl,AlignCenterAlt:()=>ac,AlignHorizontal:()=>ec,AlignJustify:()=>rc,AlignLeft:()=>Yl,AlignLeftAlt:()=>ic,AlignRight:()=>Ql,AlignRightAlt:()=>oc,AlignTop:()=>Xl,ArrowDown:()=>Tl,ArrowLeft:()=>Ol,ArrowRight:()=>Ml,ArrowUp:()=>jl,Async:()=>Pl,Ban:()=>Fo,Bell:()=>ts,Broom:()=>Fs,Brush:()=>Qs,Bug:()=>Zo,Calculator:()=>pc,CalculatorAlt:()=>mc,Calendar:()=>ns,Captcha:()=>$s,CaretDown:()=>Fl,CaretDownAlt:()=>Hl,CaretLeft:()=>Il,CaretLeftAlt:()=>Nl,CaretRight:()=>Al,CaretRightAlt:()=>Ll,CaretUp:()=>Rl,CaretUpAlt:()=>zl,CaretUpDown:()=>$l,Cart:()=>Is,Chart:()=>Lc,ChartAlt:()=>Ic,Check:()=>zo,CheckAlt:()=>Ro,CheckboxChecked:()=>dc,CheckboxCheckedAlt:()=>hc,CheckboxIndeterminate:()=>fc,ChevronDown:()=>Sl,ChevronLeft:()=>El,ChevronRight:()=>kl,ChevronUp:()=>xl,Clock:()=>gs,ClockAlt:()=>vs,Close:()=>Zs,CloseAlt:()=>qs,Cloud:()=>xs,CloudAdd:()=>Ss,CloudAlt:()=>Es,Code:()=>ks,Compress:()=>ll,CompressAlt:()=>Gl,Config:()=>ol,Copy:()=>il,Css:()=>Ac,Currency:()=>zs,Desktop:()=>ps,Dislike:()=>Ps,DislikeAlt:()=>Ds,Download:()=>Ul,Edit:()=>al,Email:()=>Xo,Emoji:()=>Rs,Exit:()=>ql,Expand:()=>cl,Export:()=>yl,ExternalLink:()=>Dl,Facebook:()=>bc,File:()=>hl,FileCheck:()=>fl,FileCode:()=>pl,FileZip:()=>ml,Filter:()=>tl,FolderClose:()=>ul,FolderOpen:()=>dl,Footer:()=>cc,Form:()=>gl,Gift:()=>qo,Globe:()=>us,Google:()=>wc,GoogleTagManager:()=>xc,Graduation:()=>bs,Grip:()=>Xs,Group:()=>Bs,Hamburger:()=>el,Header:()=>sc,Hide:()=>cs,Html:()=>Dc,Image:()=>_l,Images:()=>wl,Info:()=>Ao,InfoAlt:()=>Lo,Inline:()=>lc,InputNumber:()=>gc,InputText:()=>vc,Instagram:()=>Cc,Invoice:()=>vl,Js:()=>Pc,Key:()=>Uo,Lifesaver:()=>As,Like:()=>js,LikeAlt:()=>Ts,Link:()=>rl,Linkedin:()=>_c,Lock:()=>$o,LockAlt:()=>Vo,Logo:()=>vo,Menu:()=>zc,Merge:()=>Os,Mobile:()=>ms,More:()=>Js,Newspaper:()=>Hs,Optimization:()=>ws,Package:()=>os,PackageCheck:()=>ss,PageBreak:()=>bl,Palette:()=>Ks,Paypal:()=>Tc,Performance:()=>Qo,Phone:()=>Jo,Pinterest:()=>Ec,Play:()=>hs,Plugin:()=>Bo,PluginAutomate:()=>bo,PluginBeehive:()=>wo,PluginBlc:()=>xo,PluginBranda:()=>So,PluginDashboard:()=>Eo,PluginDefender:()=>Co,PluginDisconnected:()=>Wo,PluginForminator:()=>ko,PluginHummingbird:()=>Mo,PluginHustle:()=>Oo,PluginIvt:()=>jo,PluginShipper:()=>To,PluginSmartcrawl:()=>Po,PluginSmush:()=>_o,PluginSnapshot:()=>Do,PluginThc:()=>go,PluginUptime:()=>yo,Poll:()=>Us,PowerOff:()=>Ho,Question:()=>Io,RadioSelected:()=>uc,Refresh:()=>Zl,Reports:()=>Nc,Roadmap:()=>es,RotateLeft:()=>Bl,RotateRight:()=>Wl,Rss:()=>Oc,Save:()=>nl,Search:()=>Ko,Server:()=>Ls,Settings:()=>Gs,Shield:()=>Go,ShieldCheck:()=>Yo,Show:()=>ls,Signature:()=>Fc,SignatureAlt:()=>Cl,Sitemap:()=>Vs,SpacingHorizontal:()=>nc,SpacingVertical:()=>tc,Spinner:()=>ys,SpinnerAlt:()=>Cs,SquareCode:()=>Ms,Stop:()=>fs,Stripe:()=>jc,Submit:()=>_s,Tag:()=>Ns,Tiktok:()=>Sc,Tools:()=>Ys,Trash:()=>sl,Tutorials:()=>Rc,Twitter:()=>yc,Upload:()=>Vl,User:()=>is,UserAdd:()=>as,UserAlt:()=>rs,Video:()=>ds,Warning:()=>No,Woocommerce:()=>Mc,Wordpress:()=>kc});var go=fo(["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"}),vo=fo("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"}),bo=fo(["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"}),yo=fo("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"}),Co=fo("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"}),_o=fo("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"}),wo=fo(["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"}),xo=fo(["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"}),So=fo("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"}),Eo=fo("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"}),ko=fo("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"}),Mo=fo(["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"}),Oo=fo(["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"}),jo=fo("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"}),To=fo("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"}),Po=fo("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"}),Do=fo(["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"}),Ao=fo("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=fo("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"}),Io=fo("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"}),No=fo("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"}),Ro=fo("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"}),zo=fo("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"}),Fo=fo("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"}),Ho=fo("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"}),$o=fo("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"}),Vo=fo("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"}),Uo=fo("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"}),Bo=fo("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"}),Wo=fo("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"}),Zo=fo("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"}),qo=fo("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"}),Go=fo("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"}),Yo=fo("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"}),Qo=fo("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=fo("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"}),Xo=fo("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"}),Jo=fo("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"}),es=fo("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"}),ts=fo("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"}),ns=fo("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"}),rs=fo("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"}),is=fo("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"}),as=fo("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"}),os=fo("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"}),ss=fo("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"}),ls=fo("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"}),cs=fo("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"}),us=fo("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"}),ds=fo("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"}),hs=fo("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"}),fs=fo("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"}),ps=fo("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"}),ms=fo("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"}),gs=fo("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"}),vs=fo("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"}),bs=fo("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"}),ys=fo("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"}),Cs=fo("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"}),_s=fo("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"}),ws=fo("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"}),xs=fo("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"}),Ss=fo("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"}),Es=fo("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"}),ks=fo("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"}),Ms=fo("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"}),Os=fo("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"}),js=fo("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"}),Ts=fo("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"}),Ps=fo("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"}),Ds=fo("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"}),As=fo("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"}),Ls=fo("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"}),Is=fo("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"}),Ns=fo("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"}),Rs=fo("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"}),zs=fo("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"}),Fs=fo("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"}),Hs=fo("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"}),$s=fo(["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"}),Vs=fo("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"}),Us=fo("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"}),Bs=fo("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"}),Ws=fo("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"}),Zs=fo("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"}),qs=fo("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"}),Gs=fo("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"}),Ys=fo("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"}),Qs=fo("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"}),Ks=fo("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"}),Xs=fo(["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"}),Js=fo(["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"}),el=fo("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"}),tl=fo("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"}),nl=fo("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"}),rl=fo("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"}),il=fo("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"}),al=fo("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"}),ol=fo("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"}),sl=fo("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"}),ll=fo("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"}),cl=fo("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"}),ul=fo("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"}),dl=fo("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"}),hl=fo("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"}),fl=fo("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"}),pl=fo("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"}),ml=fo("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"}),gl=fo("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"}),vl=fo("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"}),bl=fo("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"}),yl=fo("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"}),Cl=fo("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"}),_l=fo("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"}),wl=fo("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"}),xl=fo("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"}),Sl=fo("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"}),El=fo("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"}),kl=fo("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"}),Ml=fo("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"}),Ol=fo("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"}),jl=fo("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"}),Tl=fo("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"}),Pl=fo(["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"}),Dl=fo("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"}),Al=fo("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"}),Ll=fo("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"}),Il=fo("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"}),Nl=fo("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"}),Rl=fo("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"}),zl=fo("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"}),Fl=fo("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"}),Hl=fo("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"}),$l=fo(["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"}),Vl=fo("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"}),Ul=fo("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"}),Bl=fo("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"}),Wl=fo("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"}),Zl=fo("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"}),ql=fo("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"}),Gl=fo("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"}),Yl=fo("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"}),Ql=fo("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"}),Kl=fo("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"}),Xl=fo("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"}),Jl=fo("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"}),ec=fo("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"}),tc=fo("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"}),nc=fo("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"}),rc=fo("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"}),ic=fo("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"}),ac=fo("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"}),oc=fo("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"}),sc=fo(["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"}),lc=fo(["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"}),cc=fo(["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"}),uc=fo("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"}),dc=fo("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"}),hc=fo("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"}),fc=fo("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"}),pc=fo("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"}),mc=fo("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"}),gc=fo("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"}),vc=fo("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"}),bc=fo("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"}),yc=fo("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"}),Cc=fo("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"}),_c=fo("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"}),wc=fo("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"}),xc=fo("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"}),Sc=fo("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"}),Ec=fo("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"}),kc=fo("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"}),Mc=fo(["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"}),Oc=fo("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"}),jc=fo("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"}),Tc=fo("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"}),Pc=fo("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"}),Dc=fo("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"}),Ac=fo("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"}),Lc=fo("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"}),Ic=fo("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"}),Nc=fo("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"}),Rc=fo(["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"}),zc=fo("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"}),Fc=fo("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"}),Hc=mo,$c=(Object.keys(mo),({isSpinning:e,_style:t})=>{let{suiInlineClassname:n}=$a(t),r={cx:"50%",cy:"50%",r:44};return(0,Ye.jsx)("div",{className:Ka("sui-spinner__loader",{},n),children:(0,Ye.jsxs)("svg",{className:"sui-spinner__icon",viewBox:"0 0 100 100",children:[(0,Ye.jsx)("title",{children:"loading"}),(0,Ye.jsx)("circle",{className:"sui-spinner__icon--background",...r}),e&&(0,Ye.jsx)("circle",{className:"sui-spinner__icon--stroke",...r})]})})}),Vc=({id:e,loaderSize:t="lg",colorScheme:r="primary",isContained:i=!1,isAbsolute:a=!1,isSpinning:o=!0,_htmlProps:s={},_style:l={}})=>{let c=(0,n.useId)(),u=e||`sui-spinner-${c}`,{suiInlineClassname:d}=$a(l),h=Ka("sui-spinner",{absolute:a,[t]:!io(t??""),[r]:!io(r)&&"primary"!==r,contained:i,inactive:!o},d);return(0,Ye.jsx)("div",{id:u,className:h,"data-testid":"spinner",...co(s),children:(0,Ye.jsx)($c,{colorScheme:r,loaderSize:t??"lg",isSpinning:o})})},Uc=({id:e,hidden:t=!1,children:r})=>{if(eo(t)&&!to(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,Ye.jsxs)(n.Fragment,{children:[t&&(0,Ye.jsx)("span",{id:e,className:"sui-screen-reader-only",tabIndex:-1,children:r}),!t&&(0,Ye.jsx)("span",{id:e,className:"sui-button__label","data-testid":"button-label",children:r})]})},Bc=({id:e,name:t,size:n="sm",className:r=""})=>{if(eo(t)||io(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 i=Hc[t],a=Ka("sui-button__icon",{},r);return(0,Ye.jsx)("span",{id:e,className:a,"aria-hidden":"true","data-testid":"button-icon",children:(0,Ye.jsx)(i,{id:`${e}-icon`,size:n})})},Wc=({id:e,children:t,colorScheme:r,isDisabled:i})=>{let a="white";return"white"===r&&(a="dark"),i&&(a="gray"),(0,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsx)("span",{id:e,className:"sui-button__icon sui-button__icon--loader","aria-hidden":"true",children:(0,Ye.jsx)(Vc,{id:`${e}-spinner`,loaderSize:"sm",colorScheme:a})}),t?(0,Ye.jsx)("span",{id:`${e}-label`,className:"sui-button__label sui-button__label--hidden",tabIndex:-1,children:t}):(0,Ye.jsx)("span",{id:`${e}-loading`,className:"sui-screen-reader-only",tabIndex:-1,children:"Loading"})]})},Zc=(0,n.forwardRef)(({id:e,href:t,target:r,htmlFor:i,type:a,colorScheme:o,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:v="sm",isResponsive:b=!1,isLoading:y=!1,onMouseEnter:C,onMouseLeave:_,onFocus:w,onBlur:x,onMouseUp:S,onMouseDownCapture:E,onMouseUpCapture:k,onBlurCapture:M,onClick:O,_htmlProps:j={},_style:T},P)=>{let D=(0,n.useId)(),A=e||`sui-button-${D}`;h=Ba(h,"button label");let{suiInlineClassname:L}=$a(T,d??"");y&&(u=!0,h=(0,Ye.jsx)(Wc,{id:`${A}-loader`,colorScheme:o,isDisabled:c,children:h}));let[I,N,R]=qa({onMouseEnter:C,onMouseLeave:_,onFocus:w,onBlur:x,onMouseUp:S,onMouseDownCapture:E,onMouseUpCapture:k,onBlurCapture:M}),z=!eo(t),F=!eo(i),H=!io(m??""),$={sm:s,hover:I&&!c,focus:N&&!c,disabled:c,"full-width":l,"is-icon":(p||m)&&g,[`${a}-${o}`]:!!a&&!!o,inline:g&&!a,responsive:b,loading:y},V={id:A,ref:P,href:z&&t?t:void 0,...z&&r&&{target:r},htmlFor:Xa(F),className:Ka("sui-button",$,L),disabled:c,"aria-busy":y,...y&&{"aria-live":"polite"},"data-testid":"button",onClick:O,...co(j),...R??{}},U=z?"a":"button";return i&&(U="label"),(0,Ye.jsxs)(U,{...V,children:[(p||f)&&(0,Ye.jsx)(Bc,{id:`${A}-start-icon`,name:p??"",size:v,...y?{className:"sui-button__icon--hidden"}:{}}),u&&h,!u&&(0,Ye.jsx)(Uc,{id:`${A}-label`,...g&&{hidden:!0},children:h}),H&&(0,Ye.jsx)(Bc,{id:`${A}-end-icon`,name:m??"",size:v,...y?{className:"sui-button__icon--hidden"}:{}})]})});Zc.displayName="Button";var qc=1,Gc=[],Yc=[],Qc={push:e=>{Gc=[...Gc,{...e,id:qc++}],Kc()},remove:e=>{Gc=Gc.filter(t=>t?.id!==(e??"")),Kc()},subscribe:e=>(Yc=[...Yc,e],()=>{Yc=Yc.filter(t=>t!==e)}),getSnapshot:()=>Gc},Kc=()=>{for(let e of Yc)e()},Xc=()=>{let e=(0,n.useSyncExternalStore)(Qc.subscribe,Qc.getSnapshot);return{push:Qc.push,remove:Qc.remove,queue:e}},Jc=({id:e,title:t,message:r="message",action:i,icon:a="Info",className:o="",isInline:s=!0,isFluid:l=!1,isDismissible:c=!1,size:u,variation:d,timeout:h=5e3,_htmlProps:f,_style:p})=>{let[m,g]=(0,n.useState)(!0),v=Xc(),b=(0,n.useId)(),y=e||`sui-notification-${b}`;(0,n.useEffect)(()=>{!s&&!c&&setTimeout(()=>{v.remove(e)},h??5e3)},[e,s,v,h,c]);let C=(0,n.useCallback)(()=>{s?g(!1):v.remove(e)},[e,s,v]),{suiInlineClassname:_}=$a(p,o);if(!m)return null;let w=Ka("sui-notification",{inline:s,fluid:l,[u]:!io(u??""),[d]:["success","warning","error","info"].includes(d??"")},_),x=null;return a&&(x=Hc?.[a]),(0,Ye.jsxs)("div",{id:y,className:w,role:"alert","aria-labelledby":`${y}-title`,"aria-describedby":`${y}-message`,"data-testid":"notification",...co(f),children:[!!x&&(0,Ye.jsx)(x,{id:`${y}-icon`,size:"md",className:"sui-notification__icon"}),(0,Ye.jsxs)("div",{id:`${y}-content`,className:"sui-notification__content",children:[!!t&&(0,Ye.jsx)("span",{id:`${y}-title`,className:"sui-notification__title",children:t}),!!r&&(0,Ye.jsx)("span",{id:`${y}-message`,className:"sui-notification__message",children:r}),!!i&&(0,Ye.jsx)("div",{id:`${y}-action`,className:"sui-notification__action",children:i})]}),c&&(0,Ye.jsx)(Zc,{id:`${y}-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"})]})};Jc.displayName="Notification";var eu,tu,nu,ru,iu,au=({id:e,className:t="",_style:r})=>{let i=(0,n.useId)(),a=e||`sui-notification-renderer-${i}`,{suiInlineClassname:o}=$a(r,t),{queue:s}=Xc();return s.length<=0?null:(0,Ye.jsx)("div",{id:a,className:Ka("sui-notification__renderer",{},"sui-wp-overlay "+o),children:(s??[])?.map((e,t)=>(0,n.createElement)(Jc,{...e,isInline:!1,key:t}))})};function ou(e){return ou="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},ou(e)}function su(){/*! 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:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return lu(c,"_invoke",function(n,r,i){var a,s,l,c=0,u=i||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return a=t,s=0,l=e,h.n=n,o}};function f(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,a=u[t],f=h.p,p=a[2];n>3?(i=p===r)&&(l=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=e):a[0]<=f&&((i=n<2&&f<a[1])?(s=0,h.v=r,h.n=a[1]):f<p&&(i=n<3||a[0]>r||r>p)&&(a[4]=n,a[5]=r,h.n=p,s=0))}if(i||n>1)return o;throw d=!0,r}return function(i,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;){a||(s?s<3?(s>1&&(h.n=-1),f(s,l)):h.n=l:h.v=l);try{if(c=2,a){if(s||(i="next"),t=a[i]){if(!(t=t.call(a,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=a.return)&&t.call(a),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);a=e}else if((t=(d=h.n<0)?l:n.call(r,h))!==o)break}catch(t){a=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,a),!0),c}var o={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(lu(t={},r,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,lu(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,lu(d,"constructor",c),lu(c,"constructor",l),l.displayName="GeneratorFunction",lu(c,i,"GeneratorFunction"),lu(d),lu(d,i,"Generator"),lu(d,r,function(){return this}),lu(d,"toString",function(){return"[object Generator]"}),(su=function(){return{w:a,m:h}})()}function lu(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}lu=function(e,t,n,r){function a(t,n){lu(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},lu(e,t,n,r)}function cu(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function uu(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){cu(a,r,i,o,s,"next",e)}function s(e){cu(a,r,i,o,s,"throw",e)}o(void 0)})}}function du(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function hu(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?du(Object(n),!0).forEach(function(t){fu(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):du(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function fu(e,t,n){return(t=function(e){var t=function(e){if("object"!=ou(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ou(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ou(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var pu=864e5,mu=new class{#q;#v;#h;#G;#Y;#Q;#K;#X;constructor(e={}){this.#q=e.queryCache||new Ht,this.#v=e.mutationCache||new Vt,this.#h=e.defaultOptions||{},this.#G=new Map,this.#Y=new Map,this.#Q=0}mount(){this.#Q++,1===this.#Q&&(this.#K=Ot.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#q.onFocus())}),this.#X=jt.subscribe(async e=>{e&&(await this.resumePausedMutations(),this.#q.onOnline())}))}unmount(){this.#Q--,0===this.#Q&&(this.#K?.(),this.#K=void 0,this.#X?.(),this.#X=void 0)}isFetching(e){return this.#q.findAll({...e,fetchStatus:"fetching"}).length}isMutating(e){return this.#v.findAll({...e,status:"pending"}).length}getQueryData(e){const t=this.defaultQueryOptions({queryKey:e});return this.#q.get(t.queryHash)?.state.data}ensureQueryData(e){const t=this.defaultQueryOptions(e),n=this.#q.build(this,t),r=n.state.data;return void 0===r?this.fetchQuery(e):(e.revalidateIfStale&&n.isStaleByTime(ot(t.staleTime,n))&&this.prefetchQuery(t),Promise.resolve(r))}getQueriesData(e){return this.#q.findAll(e).map(({queryKey:e,state:t})=>[e,t.data])}setQueryData(e,t,n){const r=this.defaultQueryOptions({queryKey:e}),i=this.#q.get(r.queryHash),a=i?.state.data,o=function(e,t){return"function"==typeof e?e(t):e}(t,a);if(void 0!==o)return this.#q.build(this,r).setData(o,{...n,manual:!0})}setQueriesData(e,t,n){return kt.batch(()=>this.#q.findAll(e).map(({queryKey:e})=>[e,this.setQueryData(e,t,n)]))}getQueryState(e){const t=this.defaultQueryOptions({queryKey:e});return this.#q.get(t.queryHash)?.state}removeQueries(e){const t=this.#q;kt.batch(()=>{t.findAll(e).forEach(e=>{t.remove(e)})})}resetQueries(e,t){const n=this.#q;return kt.batch(()=>(n.findAll(e).forEach(e=>{e.reset()}),this.refetchQueries({type:"active",...e},t)))}cancelQueries(e,t={}){const n={revert:!0,...t},r=kt.batch(()=>this.#q.findAll(e).map(e=>e.cancel(n)));return Promise.all(r).then(rt).catch(rt)}invalidateQueries(e,t={}){return kt.batch(()=>(this.#q.findAll(e).forEach(e=>{e.invalidate()}),"none"===e?.refetchType?Promise.resolve():this.refetchQueries({...e,type:e?.refetchType??e?.type??"active"},t)))}refetchQueries(e,t={}){const n={...t,cancelRefetch:t.cancelRefetch??!0},r=kt.batch(()=>this.#q.findAll(e).filter(e=>!e.isDisabled()&&!e.isStatic()).map(e=>{let t=e.fetch(void 0,n);return n.throwOnError||(t=t.catch(rt)),"paused"===e.state.fetchStatus?Promise.resolve():t}));return Promise.all(r).then(rt)}fetchQuery(e){const t=this.defaultQueryOptions(e);void 0===t.retry&&(t.retry=!1);const n=this.#q.build(this,t);return n.isStaleByTime(ot(t.staleTime,n))?n.fetch(t):Promise.resolve(n.state.data)}prefetchQuery(e){return this.fetchQuery(e).then(rt).catch(rt)}fetchInfiniteQuery(e){return e.behavior=Bt(e.pages),this.fetchQuery(e)}prefetchInfiniteQuery(e){return this.fetchInfiniteQuery(e).then(rt).catch(rt)}ensureInfiniteQueryData(e){return e.behavior=Bt(e.pages),this.ensureQueryData(e)}resumePausedMutations(){return jt.isOnline()?this.#v.resumePausedMutations():Promise.resolve()}getQueryCache(){return this.#q}getMutationCache(){return this.#v}getDefaultOptions(){return this.#h}setDefaultOptions(e){this.#h=e}setQueryDefaults(e,t){this.#G.set(dt(e),{queryKey:e,defaultOptions:t})}getQueryDefaults(e){const t=[...this.#G.values()],n={};return t.forEach(t=>{ht(e,t.queryKey)&&Object.assign(n,t.defaultOptions)}),n}setMutationDefaults(e,t){this.#Y.set(dt(e),{mutationKey:e,defaultOptions:t})}getMutationDefaults(e){const t=[...this.#Y.values()],n={};return t.forEach(t=>{ht(e,t.mutationKey)&&Object.assign(n,t.defaultOptions)}),n}defaultQueryOptions(e){if(e._defaulted)return e;const t={...this.#h.queries,...this.getQueryDefaults(e.queryKey),...e,_defaulted:!0};return t.queryHash||(t.queryHash=ut(t.queryKey,t)),void 0===t.refetchOnReconnect&&(t.refetchOnReconnect="always"!==t.networkMode),void 0===t.throwOnError&&(t.throwOnError=!!t.suspense),!t.networkMode&&t.persister&&(t.networkMode="offlineFirst"),t.queryFn===wt&&(t.enabled=!1),t}defaultMutationOptions(e){return e?._defaulted?e:{...this.#h.mutations,...e?.mutationKey&&this.getMutationDefaults(e.mutationKey),...e,_defaulted:!0}}clear(){this.#q.clear(),this.#v.clear()}}({defaultOptions:{queries:{refetchOnWindowFocus:!1,staleTime:pu,gcTime:pu,refetchInterval:0,retry:!1}}}),gu=null!==(eu=window.beehiveVars)&&void 0!==eu?eu:{},vu=gu.dates,bu=gu.urls,yu=gu.flags,Cu=gu.rest,_u=gu.google,wu=(gu.plugin,gu.settings),xu=gu.whitelabel,Su=gu.cross_sell,Eu=null==xu?void 0:xu.labels_config,ku=null!==(tu=null==bu?void 0:bu.footer)&&void 0!==tu?tu:{},Mu=null!==(nu=window.beehiveModuleVars)&&void 0!==nu?nu:{},Ou=Mu.integrations,ju=Mu.google,Tu=Mu.roles,Pu=Mu.post_types,Du=Mu.report_tree,Au=Mu.users,Lu=Mu.show_statistics,Iu=Mu.can_get_stats,Nu=(Mu.post,Object.keys(Pu||{}).map(function(e){return{id:e,label:Pu[e]}})),Ru=1===(null==yu?void 0:yu.in_network_admin),zu=null!=wu?wu:{},Fu=zu.site,Hu=zu.network,$u=(null==bu?void 0:bu.site_url,Ru?null!=Hu?Hu:{}:null!=Fu?Fu:{}),Vu=$u.google_login,Uu=$u.gtm,Bu=$u.misc,Wu=$u.tracking,Zu=$u.google,qu=null!=Cu?Cu:{},Gu=qu.base,Yu=qu.nonce,Qu="".concat(Gu,"v1/"),Ku="".concat(Gu,"v2/"),Xu=1===(null==yu?void 0:yu.network),Ju=1===(null==yu?void 0:yu.networkwide),ed=1===(null==yu?void 0:yu.multisite),td=1===(null==yu?void 0:yu.admin),nd=1===(null==yu?void 0:yu.super_admin),rd=!0===(null==yu?void 0:yu.is_pro),id=(null==yu||yu.in_subsite_admin,!0===(null==_u?void 0:_u.logged_in)),ad=!0===(null==Uu?void 0:Uu.active),od=""!==(null==Uu?void 0:Uu.container),sd="1"===Lu||1===Lu,ld="1"===Iu||1===Iu,cd=!0===(null==Bu?void 0:Bu.onboarding_done)||1===(null==Bu?void 0:Bu.onboarding_done)||"1"===(null==Bu?void 0:Bu.onboarding_done),ud=!Xu&&ed,dd=(null===(ru=null==Hu?void 0:Hu.permissions)||void 0===ru?void 0:ru.overwrite_cap)||!1,hd=(null===(iu=null==Hu?void 0:Hu.permissions)||void 0===iu?void 0:iu.overwrite_settings_cap)||!1,fd=function(){var e="v1"===(arguments.length>0&&void 0!==arguments[0]?arguments[0]:"v1")?Qu:Ku;return fi.create({baseURL:e,headers:{Accept:"application/json","Content-type":"application/json","x-wp-nonce":Yu}})},pd=function(e,t){return null!=t?[e,t]:[e]},md=function(e,t){var r,i=!(arguments.length>2&&void 0!==arguments[2])||arguments[2],a=arguments.length>3?arguments[3]:void 0,o=arguments.length>4?arguments[4]:void 0,s=arguments.length>5&&void 0!==arguments[5]&&arguments[5],l=arguments.length>6&&void 0!==arguments[6]?arguments[6]:{},c="string"==typeof e?e:e.slug,u="string"==typeof e?"v1":e.baseURL,d=function(e){return function(e,t,r){const i=n.useContext(Jt),a=n.useContext(Xt),o=Ke(r),s=o.defaultQueryOptions(e);o.getDefaultOptions().queries?._experimental_beforeQuery?.(s);const l=o.getQueryCache().get(s.queryHash);s._optimisticResults=i?"isRestoring":"optimistic",(e=>{if(e.suspense){const t=1e3,n=e=>"static"===e?e:Math.max(e??t,t),r=e.staleTime;e.staleTime="function"==typeof r?(...e)=>n(r(...e)):n(r),"number"==typeof e.gcTime&&(e.gcTime=Math.max(e.gcTime,t))}})(s),((e,t,n)=>{const r=n?.state.error&&"function"==typeof e.throwOnError?St(e.throwOnError,[n.state.error,n]):e.throwOnError;(e.suspense||e.experimental_prefetchInRender||r)&&(t.isReset()||(e.retryOnMount=!1))})(s,a,l),(e=>{n.useEffect(()=>{e.clearReset()},[e])})(a);const c=!o.getQueryCache().get(s.queryHash),[u]=n.useState(()=>new t(o,s)),d=u.getOptimisticResult(s),h=!i&&!1!==e.subscribed;if(n.useSyncExternalStore(n.useCallback(e=>{const t=h?u.subscribe(kt.batchCalls(e)):rt;return u.updateResult(),t},[u,h]),()=>u.getCurrentResult(),()=>u.getCurrentResult()),n.useEffect(()=>{u.setOptions(s)},[s,u]),((e,t)=>e?.suspense&&t.isPending)(s,d))throw en(s,u,a);if((({result:e,errorResetBoundary:t,throwOnError:n,query:r,suspense:i})=>e.isError&&!t.isReset()&&!e.isFetching&&r&&(i&&void 0===e.data||St(n,[e.error,r])))({result:d,errorResetBoundary:a,throwOnError:s.throwOnError,query:l,suspense:s.suspense}))throw d.error;if(o.getDefaultOptions().queries?._experimental_afterQuery?.(s,d),s.experimental_prefetchInRender&&!nt&&((e,t)=>e.isLoading&&e.isFetching&&!t)(d,i)){const e=c?en(s,u,a):l?.promise;e?.catch(rt).finally(()=>{u.updateResult()})}return s.notifyOnChangeProps?d:u.trackResult(d)}(e,qt,void 0)}(hu({queryKey:pd(c,t),queryFn:(r=uu(su().m(function e(){var n;return su().w(function(e){for(;;)switch(e.n){case 0:return e.n=1,fd(u).get(c,{params:t});case 1:return n=e.v,e.a(2,s?n:null==n?void 0:n.data)}},e)})),function(){return r.apply(this,arguments)}),enabled:i},l));return(0,n.useEffect)(function(){d.error&&o&&o(d.error)},[d.error,o]),(0,n.useEffect)(function(){d.data&&a&&a(d.data)},[d.data,a]),d},gd=function(e){var t=e.slug,r=e.successTitle,i=void 0===r?"":r,a=e.successMsg,o=void 0===a?"":a,s=e.onSuccess,l=e.onError,c=void 0===l?function(){}:l,u=e.method,d=void 0===u?"POST":u,h=e.payloadAsFormdata,f=void 0!==h&&h,p=e.params,m=void 0===p?{}:p,g=Xc();return function(e,t,r,i){var a=arguments.length>4&&void 0!==arguments[4]&&arguments[4],o=arguments.length>5&&void 0!==arguments[5]?arguments[5]:{},s=function(){var n=uu(su().m(function n(r){var i,s,l,c;return su().w(function(n){for(;;)switch(n.n){case 0:i=null,s={},l=hu(hu({},o),r),a&&(l=(0,pi.serialize)(l),s["Content-type"]="multipart/form-data"),t=null==t?void 0:t.toLowerCase(),c=t,n.n="delete"===c?1:"get"===c?3:5;break;case 1:return n.n=2,fd().delete(e,l);case 2:return i=n.v,n.a(3,7);case 3:return n.n=4,fd().get(e,{params:l});case 4:return i=n.v,n.a(3,7);case 5:return n.n=6,fd().post(e,l,{headers:s});case 6:i=n.v;case 7:return n.a(2,i.data)}},n)}));return function(e){return n.apply(this,arguments)}}();return function(e){const t=Ke(void 0),[r]=n.useState(()=>new tn(t,e));n.useEffect(()=>{r.setOptions(e)},[r,e]);const i=n.useSyncExternalStore(n.useCallback(e=>r.subscribe(kt.batchCalls(e)),[r]),()=>r.getCurrentResult(),()=>r.getCurrentResult()),a=n.useCallback((e,t)=>{r.mutate(e,t).catch(rt)},[r]);if(i.error&&St(r.options.throwOnError,[i.error]))throw i.error;return{...i,mutate:a,mutateAsync:i.mutate}}({mutationFn:s,mutationKey:[e],onSuccess:function(t,n){n&&mu.setQueryData(pd(e,n),t),mu.setQueryData([e],t),r&&r(t,n)},onError:function(e,t){var n,r,a=(null===(n=null==e?void 0:e.response)||void 0===n?void 0:n.data)||{},o=(null==e?void 0:e.toJSON())||{};isValidWPError(a)?o.message=null!==(r=null==a?void 0:a.message)&&void 0!==r?r:"":o.message=(0,Je.__)("Something went wrong, please try again or contact support if the problem persists."),i&&i(o,t)}})}(t,d,function(e,t){s&&s(e,t),o&&g.push({id:"success-alert",icon:"CheckAlt",title:i,message:o,variation:"success",isDismissible:!io(null!=i?i:"")})},c,f,m)};const vd="%[a-f0-9]{2}",bd=new RegExp("("+vd+")|([^%]+?)","gi"),yd=new RegExp("("+vd+")+","gi");function Cd(e,t){try{return[decodeURIComponent(e.join(""))]}catch{}if(1===e.length)return e;t=t||1;const n=e.slice(0,t),r=e.slice(t);return Array.prototype.concat.call([],Cd(n),Cd(r))}function _d(e){try{return decodeURIComponent(e)}catch{let t=e.match(bd)||[];for(let n=1;n<t.length;n++)t=(e=Cd(t,n).join("")).match(bd)||[];return e}}function wd(e,t){const n={};if(Array.isArray(t))for(const r of t){const t=Object.getOwnPropertyDescriptor(e,r);t?.enumerable&&Object.defineProperty(n,r,t)}else for(const r of Reflect.ownKeys(e)){const i=Object.getOwnPropertyDescriptor(e,r);i.enumerable&&t(r,e[r],e)&&Object.defineProperty(n,r,i)}return n}function xd(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 Sd=e=>null==e,Ed=e=>encodeURIComponent(e).replaceAll(/[!'()*]/g,e=>`%${e.charCodeAt(0).toString(16).toUpperCase()}`),kd=Symbol("encodeFragmentIdentifier");function Md(e){if("string"!=typeof e||1!==e.length)throw new TypeError("arrayFormatSeparator must be single character string")}function Od(e,t){return t.encode?t.strict?Ed(e):encodeURIComponent(e):e}function jd(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=yd.exec(e);for(;n;){try{t[n[0]]=decodeURIComponent(n[0])}catch{const e=_d(n[0]);e!==n[0]&&(t[n[0]]=e)}n=yd.exec(e)}t["%C2"]="�";const r=Object.keys(t);for(const n of r)e=e.replace(new RegExp(n,"g"),t[n]);return e}(e)}}(e):e}function Td(e){return Array.isArray(e)?e.sort():"object"==typeof e?Td(Object.keys(e)).sort((e,t)=>Number(e)-Number(t)).map(t=>e[t]):e}function Pd(e){const t=e.indexOf("#");return-1!==t&&(e=e.slice(0,t)),e}function Dd(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 Ad(e){const t=(e=Pd(e)).indexOf("?");return-1===t?"":e.slice(t+1)}function Ld(e,t){Md((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,r)=>{t=/\[(\d*)]$/.exec(e),e=e.replace(/\[\d*]$/,""),t?(void 0===r[e]&&(r[e]={}),r[e][t[1]]=n):r[e]=n};case"bracket":return(e,n,r)=>{t=/(\[])$/.exec(e),e=e.replace(/\[]$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"colon-list-separator":return(e,n,r)=>{t=/(:list)$/.exec(e),e=e.replace(/:list$/,""),t?void 0!==r[e]?r[e]=[...r[e],n]:r[e]=[n]:r[e]=n};case"comma":case"separator":return(t,n,r)=>{const i="string"==typeof n&&n.includes(e.arrayFormatSeparator)?n.split(e.arrayFormatSeparator).map(t=>jd(t,e)):null===n?n:jd(n,e);r[t]=i};case"bracket-separator":return(t,n,r)=>{const i=/(\[])$/.test(t);if(t=t.replace(/\[]$/,""),!i)return void(r[t]=n?jd(n,e):n);const a=null===n?[]:jd(n,e).split(e.arrayFormatSeparator);void 0!==r[t]?r[t]=[...r[t],...a]:r[t]=a};default:return(e,t,n)=>{void 0!==n[e]?n[e]=[...[n[e]].flat(),t]:n[e]=t}}}(t),r=Object.create(null);if("string"!=typeof e)return r;if(!(e=e.trim().replace(/^[?#&]/,"")))return r;for(const i of e.split("&")){if(""===i)continue;const e=t.decode?i.replaceAll("+"," "):i;let[a,o]=xd(e,"=");void 0===a&&(a=e),o=void 0===o?null:["comma","separator","bracket-separator"].includes(t.arrayFormat)?o:jd(o,t),n(jd(a,t),o,r)}for(const[e,n]of Object.entries(r))if("object"==typeof n&&null!==n&&"string"!==t.types[e])for(const[r,i]of Object.entries(n)){const a=t.types[e],o="function"==typeof a?a:a?a.replace("[]",""):void 0;n[r]=Dd(i,t,o)}else"object"==typeof n&&null!==n&&"string"===t.types[e]?r[e]=Object.values(n).join(t.arrayFormatSeparator):r[e]=Dd(n,t,t.types[e]);return!1===t.sort?r:(!0===t.sort?Object.keys(r).sort():Object.keys(r).sort(t.sort)).reduce((e,t)=>{const n=r[t];return e[t]=Boolean(n)&&"object"==typeof n&&!Array.isArray(n)?Td(n):n,e},Object.create(null))}function Id(e,t){if(!e)return"";Md((t={encode:!0,strict:!0,arrayFormat:"none",arrayFormatSeparator:",",...t}).arrayFormatSeparator);const n=n=>t.skipNull&&Sd(e[n])||t.skipEmptyString&&""===e[n],r=function(e){switch(e.arrayFormat){case"index":return t=>(n,r)=>{const i=n.length;return void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Od(t,e),"[",i,"]"].join("")]:[...n,[Od(t,e),"[",Od(i,e),"]=",Od(r,e)].join("")]};case"bracket":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Od(t,e),"[]"].join("")]:[...n,[Od(t,e),"[]=",Od(r,e)].join("")];case"colon-list-separator":return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,[Od(t,e),":list="].join("")]:[...n,[Od(t,e),":list=",Od(r,e)].join("")];case"comma":case"separator":case"bracket-separator":{const t="bracket-separator"===e.arrayFormat?"[]=":"=";return n=>(r,i)=>void 0===i||e.skipNull&&null===i||e.skipEmptyString&&""===i?r:(i=null===i?"":i,0===r.length?[[Od(n,e),t,Od(i,e)].join("")]:[[r,Od(i,e)].join(e.arrayFormatSeparator)])}default:return t=>(n,r)=>void 0===r||e.skipNull&&null===r||e.skipEmptyString&&""===r?n:null===r?[...n,Od(t,e)]:[...n,[Od(t,e),"=",Od(r,e)].join("")]}}(t),i={};for(const[t,r]of Object.entries(e))n(t)||(i[t]=r);const a=Object.keys(i);return!1!==t.sort&&a.sort(t.sort),a.map(n=>{let i=e[n];if(t.replacer&&(i=t.replacer(n,i),void 0===i))return"";if(void 0===i)return"";if(null===i)return Od(n,t);if(Array.isArray(i)){if(0===i.length&&"bracket-separator"===t.arrayFormat)return Od(n,t)+"[]";let e=i;return t.replacer&&(e=i.map((e,r)=>t.replacer(`${n}[${r}]`,e)).filter(e=>void 0!==e)),e.reduce(r(n),[]).join("&")}return Od(n,t)+"="+Od(i,t)}).filter(e=>e.length>0).join("&")}function Nd(e,t){t={decode:!0,...t};let[n,r]=xd(e,"#");return void 0===n&&(n=e),{url:n?.split("?")?.[0]??"",query:Ld(Ad(e),t),...t&&t.parseFragmentIdentifier&&r?{fragmentIdentifier:jd(r,t)}:{}}}function Rd(e,t){t={encode:!0,strict:!0,[kd]:!0,...t};const n=Pd(e.url).split("?")[0]||"";let r=Id({...Ld(Ad(e.url),{sort:!1,...t}),...e.query},t);r&&=`?${r}`;let i=function(e){let t="";const n=e.indexOf("#");return-1!==n&&(t=e.slice(n)),t}(e.url);if("string"==typeof e.fragmentIdentifier){const r=new URL(n);r.hash=e.fragmentIdentifier,i=t[kd]?r.hash:`#${e.fragmentIdentifier}`}return`${n}${r}${i}`}function zd(e,t,n){n={parseFragmentIdentifier:!0,[kd]:!1,...n};const{url:r,query:i,fragmentIdentifier:a}=Nd(e,n);return Rd({url:r,query:wd(i,t),fragmentIdentifier:a},n)}function Fd(e,t,n){return zd(e,Array.isArray(t)?e=>!t.includes(e):(e,n)=>!t(e,n),n)}var Hd=t,$d=wp.element,Vd=({id:e})=>(0,Ye.jsxs)("svg",{id:e,xmlns:"http://www.w3.org/2000/svg",width:"93",height:"31",fill:"none",viewBox:"0 0 93 31",children:[(0,Ye.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,Ye.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,Ye.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"})]}),Ud={facebook:bc,instagram:Cc,twitter:yc},Bd=({id:e,links:t,logoImageLink:r,logoHref:i,socialLinks:a,renderBlocks:o,removeBGColor:s=!1,className:l,customFooter:c=!1,_htmlProps:u,_style:d})=>{let h=(0,n.useId)(),f=e||`sui-footer-${h}`,p=[];o&&(p=o((0,Ye.jsx)("span",{children:"Made with ♡ by WPMU DEV"})));let{suiInlineClassname:m}=$a(d,l),g=Ka("sui-footer",{transparent:s},m);return(0,Ye.jsxs)("div",{id:f,className:g,"data-testid":"footer",...co(u),children:[p.length>0&&(0,Ye.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,Ye.jsx)("div",{id:`${f}-block-${t}`,className:"sui-footer__block",children:e},t))}),!c&&(0,Ye.jsxs)("div",{id:`${f}-links-group`,className:"sui-footer__group sui-footer__group--links",children:[(0,Ye.jsx)("div",{id:`${f}-logo-block`,className:"sui-footer__block",children:(0,Ye.jsx)("a",{id:`${f}-logo-link`,href:i||"https://wpmudev.com",target:"_blank",rel:"noreferrer nofollow","aria-label":"wpmudev-logo",children:r?(0,Ye.jsx)("img",{id:`${f}-logo-img`,src:r,className:"sui-footer__block--logo",alt:"WPMU DEV"}):(0,Ye.jsx)(Vd,{id:`${f}-logo`})})}),(t??[]).length>0&&(0,Ye.jsx)("div",{id:`${f}-pages-block`,className:"sui-footer__block sui-footer__block--pages","data-testid":"footer-links",children:(0,Ye.jsx)("ul",{id:`${f}-links`,className:"sui-footer__links",children:(t??[])?.map((e,t)=>(0,Ye.jsx)("li",{id:`${f}-link-item-${t}`,className:"sui-footer__links--item",children:(0,Ye.jsx)("a",{id:`${f}-link-${t}`,href:e.url,target:e?.target??"_blank",children:e.title})},t))})}),(0,Ye.jsx)("div",{id:`${f}-social-block`,className:"sui-footer__block",children:(a??[])?.length>0&&(0,Ye.jsx)("ul",{id:`${f}-social-links`,className:"sui-footer__links sui-footer__links--social","data-testid":"footer-social-links",children:(a??[])?.map((e,t)=>{let n=Ud[e?.type];return(0,Ye.jsx)("li",{id:`${f}-social-item-${t}`,className:"sui-footer__links--item",children:(0,Ye.jsxs)("a",{id:`${f}-social-link-${t}`,href:e.url,target:"_blank",rel:"noopener noreferrer",children:[(0,Ye.jsx)(n,{id:`${f}-social-icon-${t}`,size:"sm"}),e?.type&&(0,Ye.jsx)("span",{id:`${f}-social-label-${t}`,className:"sui-screen-reader-only",children:e?.type})]})},t)})})})]})]})},Wd=({id:e,theme:t="primary",as:r="a",className:i="",isInline:a=!1,isDisabled:o=!1,isExternal:s=!1,hasExternalIcon:l=!1,children:c,href:u="#",reload:d=!1,onClick:h=()=>{},_htmlProps:f={},_style:p={},...m})=>{let g=(0,n.useId)(),v=e||`sui-link-${g}`,b=r??"a";c=Ba(c,"link text");let[y,C,_]=qa({}),{suiInlineClassname:w}=$a(p,i),x=Ka("sui-link",{inline:a,disabled:o,hover:y,focus:C,[t]:!io(t??"")},w),S={...m,id:v,href:u,className:x,"data-testid":"link",...co(f)},E=e=>{(e=>{e?.preventDefault()})(e),h&&!o&&h(e),window.open(u,s?"_blank":"_top"),d&&window.location.reload()};return"a"!==b?(S.role="link",S.onClick=E,S.onKeyDown=e=>oo(e,E),delete S.href):s&&(S.target="_blank"),(0,Ye.jsxs)(b,{tabIndex:0,..._,...S,children:[c,l&&s&&(0,Ye.jsx)(Dl,{size:"sm"})]})},Zd=(0,n.createContext)({items:[],setItems:e=>{},onChange:(e,t,n)=>{}}),qd=({...e})=>(0,Ye.jsx)("span",{...co(e),children:(0,Ye.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,Ye.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"})})}),Gd=({...e})=>(0,Ye.jsx)("span",{...co(e),children:(0,Ye.jsx)("svg",{viewBox:"0 0 12 10",fill:"none",className:"sui-checkbox__icon",children:(0,Ye.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"})})}),Yd=({id:e,groupId:t="",name:r,value:i="",label:a,isLabelHidden:o=!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:v})=>{let b=(()=>{let e=(0,n.useContext)(Zd);if(!e)throw new Error("useCheckbox must be used within a CheckboxContextProvider");return{...e,onChange:(t,n,r)=>{e?.onChange?.(t,n,r)},addToList:(t,n,r)=>{e?.onChange?.(t,n,r)}}})(),[y,C,_]=qa({}),{suiInlineClassname:w}=$a(v),x=(0,n.useId)(),S=e||`sui-checkbox-${x}`;(0,n.useEffect)(()=>{b?.addToList(e,s,t)},[e,t,s]);let E={id:S,type:"checkbox",name:r,value:i,className:"sui-accessible-cta sui-checkbox__input",checked:s,disabled:l,onChange:e=>{b?.onChange&&(b.onChange(S,e.target.checked,t),f?.(e.target.checked)),h&&h(e)},"aria-labelledby":`${S}-label`,...g};(0,n.useEffect)(()=>{p&&f?.(s)},[]);let k={className:Ka("sui-checkbox",{"hidden-label":o,indeterminate:d,hover:y,focus:C,disabled:l,checked:s,sm:c,error:u},w),..._},M={className:"sui-checkbox__box","aria-hidden":!0};return(0,Ye.jsxs)("label",{...k,id:`${S}-label`,htmlFor:S,tabIndex:-1,"data-testid":"checkbox",children:[(0,Ye.jsx)("input",{"aria-label":"string"==typeof a&&a||"checkbox",...co(E),"data-testid":"checkbox-input"}),d?(0,Ye.jsx)(qd,{...M}):(0,Ye.jsx)(Gd,{...M,tabIndex:-1}),o?(0,Ye.jsx)("span",{className:"sui-screen-reader-only",id:`${S}-label-text`,children:a}):(0,Ye.jsx)("span",{className:"sui-checkbox__label",id:`${S}-label-text`,children:a})]})},Qd=["button","checkbox","color","date","datetime-local","email","file","hidden","image","month","number","password","radio","range","reset","search","submit","tel","text","time","url","week"],Kd=({id:e,name:t="Info",size:n="sm",colorScheme:r="",onClick:i=()=>null})=>{if(eo(t)||io(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 a=Hc[t];return(0,Ye.jsx)("span",{id:e,className:"sui-tooltip__icon","aria-hidden":"true",onClick:i,children:(0,Ye.jsx)(a,{size:n,colorScheme:r})})},Xd=({id:e,label:t,type:r="button",className:i,placement:a="top",customWidth:o,customMobileWidth:s,children:l,onClick:c,onMouseLeave:u=()=>{},onFocus:d=()=>{},onBlur:h=()=>{},icon:f,iconSize:p="sm",iconColor:m,buttonProps:g,_htmlProps:v={},_style:b={}})=>{let y=vi(),C=(0,n.useId)(),_=e||`sui-tooltip-${C}`,w=e?`sui-tooltip-trigger-${_}`:`sui-tooltip-trigger-${C}`,[x,S]=(0,n.useState)(!1),[E,k]=(0,n.useState)({top:0,left:0}),M=(0,n.useRef)(null),O=(0,n.useRef)(null),[j]=Ga("body"),[T,P,D,A]=qa({onMouseEnter:e=>{if(M.current){let e=M?.current?.getBoundingClientRect(),t=O?.current?.getBoundingClientRect(),n=document.getElementById(_+"-popup"),r=n?.clientHeight||0,i=n?.clientWidth||0,o=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(a){case"top":case"top-left":case"top-right":l={...l,top:e.top-r-10+window.scrollY},"top-right"===a?l={...l,[o]:s-i+(t?.width??0)}:"top"===a?l={...l,left:e.left+(t?.width??0)/2+window.scrollX}:"top-left"===a&&(l={...l,[o]:s});break;case"bottom":case"bottom-left":case"bottom-right":l={...l,top:e.top+(t?.height??0)+10+window.scrollY},"bottom-right"===a?l={...l,[o]:s-i+(t?.width??0)}:"bottom"===a?l={...l,left:e.left+(t?.width??0)/2+window.scrollY}:"bottom-left"===a&&(l={...l,[o]:s});break;case"right":case"right-top":case"right-bottom":l={...l,[o]:s+(t?.width??0)+10},l="right-top"===a?{...l,top:e.top+window.scrollY}:"right-bottom"===a?{...l,top:e.top+(t?.height??0)-r+window.scrollY}:{...l,top:e.top+(t?.height??0)/2};break;case"left":case"left-top":case"left-bottom":l={...l,[o]:s-i-10},l="left-top"===a?{...l,top:e.top}:"left-bottom"===a?{...l,top:e.top+(t?.height??0)-r}:{...l,top:e.top+(t?.height??0)/2}}k(l)}S(!0)},onMouseLeave:e=>{S(!1),u(e)},onFocus:d,onBlur:h}),L={},{suiInlineClassname:I}=$a(b,i??""),N=Ka("sui-tooltip",{focus:P},I);(o||s)&&(L.style={...E,...o&&{"--tooltip-width":`${o}px`,"--tooltip-width-mobile":`${o}px`},...s&&{"--tooltip-width-mobile":`${s}px`}}),e&&(w=e);let R=(0,n.useCallback)(e=>{"keyCode"in e&&"Escape"===e.code&&T&&A(!1)},[T,A]);(0,n.useEffect)(()=>(document.addEventListener("keydown",R),()=>{document.removeEventListener("keydown",R)}),[R]);let z=(0,n.useCallback)(()=>{c&&c()},[c]);return(0,Ye.jsxs)("div",{id:_,...D,className:N,"data-testid":"tooltip",ref:M,...co(v),children:[(0,Ye.jsx)("div",{id:`${_}-trigger`,className:"sui-tooltip__trigger",ref:O,children:(()=>{switch(r){case"button":return(0,Ye.jsx)(Zc,{id:w,...g,...f&&{icon:f},...p&&{iconSize:p},onClick:z,children:t});case"text":return(0,Ye.jsx)("span",{id:w,role:"button",tabIndex:0,onClick:z,onKeyDown:e=>oo(e),children:t});case"icon":return c?(0,Ye.jsx)("span",{id:w,className:"sui-tooltip__trigger--icon",role:"button",tabIndex:0,onClick:z,onKeyDown:e=>oo(e,z),children:(0,Ye.jsx)(Kd,{name:f,size:p,colorScheme:m})}):(0,Ye.jsx)(Kd,{id:w,name:f,size:p,colorScheme:m});default:return(0,Ye.jsx)("span",{id:w,children:t})}})()}),!!l&&j((0,Ye.jsx)("div",{id:`${_}-popup`,className:Ka("sui-tooltip__popup",{show:x,focus:P,"custom-width":!!o,[a]:!0,icon:!!f}),role:"tooltip","aria-live":"polite","aria-hidden":!x,tabIndex:x?0:-1,"data-testid":"tooltip-popup",style:E,...L,children:l}))]})},Jd=({name:e,size:t="md",placement:n="start",onClick:r,...i})=>{let{suiInlineClassname:a}=$a(i);if(io(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 o=Hc[e],s=(e??"").replace(/[A-Z]/g,(e,t)=>(0===t?"":"-")+e.toLowerCase()),l=Ka(`suicons sui-input__icon sui-input__icon--${s}`,{},a);return(0,Ye.jsx)("span",{className:l,"aria-hidden":"true","data-testid":`input-icon-${n}`,onClick:r,children:o&&(0,Ye.jsx)(o,{size:t})})},eh=(0,n.forwardRef)(({type:e="text",defaultValue:t="",name:r,placeholder:i,hint:a,id:o,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:v,onMouseEnter:b,onMouseLeave:y,onMouseDownCapture:C,onMouseUp:_,onMouseUpCapture:w,onBlur:x,onBlurCapture:S,onChange:E,onClear:k,icon:M,iconPosition:O,iconHint:j="",iconSize:T,iconTooltipWidth:P,allowClear:D=!1,customAction:A,disableInteractions:L=!1,isRequired:I=!1,pattern:N,onKeyUp:R,customWidth:z,validate:F,validateOnMount:H,resetValidation:$,ariaAttrs:V={},_htmlProps:U={},_style:B={}},W)=>{let Z=(0,n.useId)();o||(o=Z);let[q,G]=(0,n.useState)(t),[Y,Q,K]=qa({onMouseEnter:b,onMouseLeave:y,onMouseDownCapture:C,onMouseUp:_,onMouseUpCapture:w,onBlur:x,onBlurCapture:S}),[X,J]=(0,n.useState)(!1);if(eo(o)||io(o))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,n.useEffect)(()=>{G(t)},[t]);let ee=(0,n.useCallback)(e=>{let t=e?.target?.value??"";d||G(t),F&&no(F)&&F(t),E&&E(e)},[d,E,F]),te=(0,n.useCallback)(()=>{G(""),k&&k("")},[k]),ne=!eo(q)&&!io(q??""),re=!eo(i)&&!io(i),ie=!eo(l)&&!io(l),ae="text";Qd.includes(e)&&(ae=e);let{suiInlineClassname:oe}=$a(B,s??""),se=Ka("sui-input",{sm:u,readonly:d,hover:Y&&!d,focus:Q&&!d&&!h,filled:ne,"has-icon":!io(M),"icon-start":!io(O)&&"start"===O,"icon-end":!io(O)&&"end"===O,error:h,disabled:f,["multiline"+(u?"-sm":"")]:c},oe),le=Ka("sui-input__input",{"allow-clear":D&&!io(q)&&!c},ie?l:""),ce="input";c&&(ce="textarea");let ue=!io(a??"");(0,n.useEffect)(()=>{H&&F&&no(F)&&F(q)},[]);let de={id:o,ref:W,type:Xa(!c,ae),placeholder:Xa(re,i),"aria-label":i||"input",readOnly:Xa(d,!0),disabled:Xa(f,!0),value:q??"",className:le,onChange:ee,required:I,pattern:N,onKeyUp:e=>{F&&no(F)&&F(q),R&&R(e)},onClick:m,onFocus:g,onKeyDown:v,name:r,...V,...L?{}:K},he=()=>M&&!c?io(j)?(0,Ye.jsx)(Jd,{name:M,size:u?"sm":"md",placement:O??"start",onClick:e=>{p&&p(e)},...T&&{size:T}}):(0,Ye.jsx)(Xd,{type:"icon",icon:M,customWidth:P,iconSize:u?"sm":"md",placement:"top",onClick:()=>{p&&p()},children:j}):null;return(0,Ye.jsxs)("div",{id:`${o}-wrapper`,className:se,"data-testid":"input",...z&&{style:{maxWidth:`${z}px`}},children:["start"===O&&he(),(0,Ye.jsxs)("div",{id:`${o}-input-field`,className:Ka("sui-input__input-field",{"has-hint":ue}),children:[(0,Ye.jsx)(ce,{...de,...co(U)}),ue&&(0,Ye.jsxs)(n.Fragment,{children:[!io(q)&&(0,Ye.jsx)("div",{className:"sui-input__input-field-text",id:`${o}-field-text`,children:q}),ue&&(0,Ye.jsx)("div",{className:"sui-input__input-field-hint",id:`${o}-field-hint`,children:a})]})]}),"end"===O&&he(),D&&!io(q)&&!c&&(0,Ye.jsx)(Zc,{className:"sui-input__input-clear",icon:"CloseAlt",colorScheme:"black",type:"tertiary",iconOnly:!0,iconSize:u?"sm":"md",onClick:te,isSmall:u??!1,_htmlProps:{onKeyDown:e=>oo(e,k)},children:"Clear"}),A&&(0,Ye.jsx)("div",{className:"sui-input__input-custom-action",children:A})]})});eh.displayName="Input";var th=({id:e,className:t="",children:r,_style:i={}})=>{let a=(0,n.useId)(),o=e||`sui-dropdown-menu-${a}`,{suiInlineClassname:s}=$a(i,t),l=Ka("sui-dropdown__menu",{},s);return(0,Ye.jsx)("div",{id:o,className:l,children:r})},nh=({id:e,icon:t,href:r,className:i="",children:a,isDisabled:o,isSelected:s=!1,onClick:l,variation:c="",variable:u,description:d="",_type:h="",_htmlProps:f={},_style:p={},_checkboxProps:m={}})=>{let[g,v,b]=qa({}),y=(0,n.useId)(),C=e||`sui-dropdown-menu-item-${y}`,_=`${C}-title`,w="li";r&&(w="a");let{suiInlineClassname:x}=$a(p,i),S=Ka("sui-dropdown__menu-item",{hover:g,focus:v,disabled:o,selected:s,[c]:!io(c)},x),E=null;t&&(E=Hc[t]);let k={id:C,className:S,href:r||void 0,tabIndex:o?-1:0,children:(()=>{let e=(0,Ye.jsx)("span",{id:_,children:a});switch(h){case"select":break;case"select-checkbox":e=(0,Ye.jsx)(Yd,{label:e,isSmall:!0,isDisabled:o,...m});break;case"select-variable":E=E||Hc.Add,e=(0,Ye.jsxs)("div",{id:_,className:"sui-dropdown__menu-item--wrapper",children:[(0,Ye.jsx)("div",{children:(0,Ye.jsx)(E,{size:"sm",className:"sui-dropdown__menu-item-icon"})}),(0,Ye.jsxs)("div",{children:[(0,Ye.jsx)("span",{className:"sui-dropdown__menu-item--title",children:a}),u&&(0,Ye.jsxs)("span",{className:"sui-dropdown__menu-item--var",children:[" ",u]}),d&&(0,Ye.jsx)("div",{className:"sui-dropdown__menu-item--desc",children:d})]})]})}return"select-variable"!==h&&E&&(e=(0,Ye.jsxs)(Ye.Fragment,{children:[(0,Ye.jsx)(E,{size:"sm",className:"sui-dropdown__menu-item-icon"}),e]})),e})(),...co(f)},M={};return l&&(M.onClick=l,M.onKeyDown=e=>oo(e,l)),"a"===w?(0,Ye.jsx)("li",{children:(0,Ye.jsx)(w,{...k,...b,"aria-labelledby":_,...M})}):(0,Ye.jsx)(w,{...k,...b,"aria-labelledby":_,...M})},rh=({title:e="",className:t="",children:n,_htmlProps:r={},_style:i={}})=>{let{suiInlineClassname:a}=$a(i,t),o={className:Ka("sui-dropdown__menu-group",{},a),...co(r)};return(0,Ye.jsxs)("li",{...o,children:[(0,Ye.jsx)("span",{className:"sui-dropdown__menu-group-title",children:e}),(0,Ye.jsx)("ul",{className:"sui-dropdown__menu-group-items",children:n})]})},ih=(0,n.forwardRef)(({id:e,type:t="",label:r,className:i,isSmall:a=!1,iconOnly:o,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:v,emptyMessage:b,renderContentOnTop:y=!1,isResponsive:C=!1,isMultiSelect:_=!1,isFluid:w=!1,size:x="md",isDisabled:S=!1,closeOnOuterClick:E=!0,colorScheme:k="black",onToggle:M=()=>{},allowSearch:O=!1,onSearch:j=e=>{},isAsync:T=!1,asyncOptions:P={},updateOptions:D=()=>{},getOptions:A,menuCustomWidth:L,searchPlaceholder:I,_buttonProps:N={},_htmlProps:R={},_style:z={}},F)=>{let[H,$]=(0,n.useState)(!1),[V,U]=(0,n.useState)(""),[B,W]=(0,n.useState)(!1),[Z,q]=(0,n.useState)(!1),[G,Y]=(0,n.useState)(!1),[Q,K]=(0,n.useState)(d??[]),[X,J]=(0,n.useState)(1),ee=(0,n.useRef)(null),te=(0,n.useRef)(null),ne=(0,n.useRef)(null),re=(0,n.useId)(),ie=`${e}-wrapper`||`sui-dropdown-${re}`;Wa(ee,()=>{E&&de(!1)});let{handleScroll:ae}=((e=()=>{})=>({handleScroll:t=>{let{scrollHeight:n,scrollTop:r,clientHeight:i}=t?.target??{};n-r===i&&e()}}))(()=>{!Z&&!B&&(ce(),Y(!0))});(0,n.useImperativeHandle)(F,()=>({open:()=>de(!0),close:()=>de(!1),toggle:()=>de(!H)}));let{suiInlineClassname:oe}=$a(z,i),se=((e,t,r=()=>{})=>{let[i,a]=(0,n.useState)(e);return(0,n.useEffect)(()=>{let n=setTimeout(()=>{a(e),r()},t);return()=>{clearTimeout(n)}},[e,t,r]),i})(V,500),le=Ka("sui-dropdown",{sm:a,open:H},oe);(0,n.useEffect)(()=>{if(!H||!te.current||!ee.current)return;let e=te.current,t=ee.current.getBoundingClientRect(),n=t.top,r=window.innerHeight-t.bottom,i=e.offsetHeight,a=r>i,o=n<i;e.classList.toggle("sui-dropdown__popover--placement-top",!a&&!o)},[H]),(0,n.useEffect)(()=>{T&&!_||K(d)},[T,_,d]);let ce=(0,n.useCallback)(async()=>{if(!T||B||Z)return;if(!A)throw new Error("'getOptions' method is missing");let{perPage:e=5}=P??{};q(!0);let t=await A(se,{page:X},Q),{items:n,hasMore:r,additional:i}=t,a=Array.isArray(c)?c:[],o=n.map(e=>{let t=a.some(t=>t.id===e.id);return{...e,isSelected:t}});K(1===X?o:[...Q??[],...o]),D(1===X?o:[...Q??[],...o]),q(!1),Y(!1),r?J(X+1):W(!0)},[T,B,Z,A,P,X,se,Q,c,D]),ue=gi(se);(0,n.useEffect)(()=>{(ue??"")!==se&&(T&&!Z&&(K([]),ce()),j&&j(se))},[se,j]);let de=(0,n.useCallback)(async e=>{$(e),O&&setTimeout(()=>ne.current?.focus(),100),T&&e&&(Q??[])?.length<=0&&ce(),M(e)},[T,M]),he=()=>{let e=Q?.every(e=>e?.isSelected),n=Q?.find(e=>e?.isSelected);return(0,Ye.jsx)(nh,{id:`${ie}-select-all`,isSelected:e,onClick:()=>{let t=Q?.map(t=>({...t,isSelected:!e}));K(t),u(t??[],!e)},_type:t,_checkboxProps:{isChecked:e,isIndeterminate:!e&&!!n,isSmall:a},children:"Select All"},"select-all")},fe=e=>(0,Ye.jsxs)(Ye.Fragment,{children:[_&&(Q??[]).length>0&&he(),(e||[])?.map((e,n)=>e?.menus?(0,Ye.jsx)(rh,{id:`${ie}-menu-group-${n}`,title:e.label,children:fe(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}));K(t),e.isSelected=!0}"select-checkbox"!==t&&$(!1)}}),_&&(e.props={...e.props,_checkboxProps:{...e?.props?._checkboxProps,isChecked:e.isSelected,isSmall:a}}),(0,Ye.jsx)(nh,{id:`${ie}-menu-item-${n}`,isSelected:e.isSelected,...e.props,_type:t,children:e.label},n)))]}),pe=(0,n.useCallback)(e=>{U(e?.target?.value),T&&setTimeout(()=>{J(1),W(!1)},100)},[T]);return(0,Ye.jsxs)("div",{id:ie,ref:ee,className:le,"data-testid":"dropdown",...co(R),children:[v||(0,Ye.jsx)("div",{children:(0,Ye.jsx)(Zc,{startIcon:m??"Menu",iconOnly:o??!1,type:"secondary",isSmall:a??!1,onClick:()=>de(!H),isResponsive:C,isDisabled:S,...!o&&f&&{endIcon:"ChevronDown"},colorScheme:k,...N,children:r})}),(0,Ye.jsxs)("div",{id:e,tabIndex:-1,ref:te,className:Ka("sui-dropdown__popover",{[`placement-${h}`]:!io(h??""),"fixed-height":s,fluid:w,[x]:!w,[t]:!io(t??"")}),...r&&{"aria-labelledby":`${e}-label`,"aria-label":`${e}-label`},style:{width:`${L}px`},children:[p&&(0,Ye.jsx)("div",{className:"sui-dropdown__popover--arrow",id:`${ie}-arrow`}),y&&!!l&&(0,Ye.jsx)("div",{className:"sui-dropdown__menu-content",id:`${ie}-menu-content-top`,children:l}),(!!d||T)&&(0,Ye.jsxs)(th,{children:[O&&(0,Ye.jsx)("div",{className:"sui-dropdown__menu-nav-search",id:`${ie}-search`,children:(0,Ye.jsx)(eh,{ref:ne,icon:"Search",iconPosition:"start",isSmall:!0,placeholder:I??"Search",onChange:pe})}),(0,Ye.jsxs)("ul",{className:"sui-dropdown__menu-items",onScroll:ae,children:[fe(Q),Z&&(0,Ye.jsxs)("li",{className:Ka("",{"sui-dropdown__menu-item--loading":!0,"sui-dropdown__menu-item--loading-alt":G}),tabIndex:-1,children:[(0,Ye.jsx)(Vc,{colorScheme:G?"dark":"primary",loaderSize:"sm"}),(0,Ye.jsx)("span",{children:G?"Loading...":"Loading"})]})]})]}),0===Q?.length&&!Z&&b&&(0,Ye.jsx)("div",{className:"sui-dropdown__menu--no-results",children:b}),!!l&&!y&&(0,Ye.jsx)("div",{className:"sui-dropdown__menu-content",id:`${ie}-menu-content-bottom`,children:l})]})]})});ih.displayName="Dropdown";var ah=({id:e,iconName:t})=>{let n=Hc?.[t];return(0,Ye.jsx)("span",{id:e,className:"sui-avatar__icon","aria-hidden":"true",children:(0,Ye.jsx)(n,{"data-testid":"avatar-icon"})})},oh=({id:e,source:t,text:r})=>{let i=!eo(t)&&!io(t),a=!eo(r)&&!io(r);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,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsx)("span",{id:e,className:"sui-avatar__image",style:{backgroundImage:`url(${t})`},tabIndex:-1,"data-testid":"avatar-image"}),(0,Ye.jsx)("span",{id:e?`${e}-alt`:void 0,className:"sui-screen-reader-only","data-testid":"avatar-image-alt",children:a?r:"Logged in user avatar"})]})},sh=({id:e,status:t})=>{let n,r="sui-avatar__status-icon";switch(t){case"confirmed":n=Ro,r+=" sui-color-success--50";break;case"not-accepted":n=No,r+=" sui-color-warning--50";break;case"not-connected":n=No,r+=" sui-color-error--50";break;case"awaiting":n=gs,r+=" sui-color-neutral--50"}return(0,Ye.jsx)("span",{id:e,className:"sui-avatar__status","data-testid":"avatar-status","aria-hidden":"true",children:n&&(0,Ye.jsx)(n,{className:r,size:"sm"})})},lh=({id:e,image:t,status:r="none",isSmall:i=!1,className:a,icon:o="UserAlt",_htmlProps:s={},_style:l={},onClick:c})=>{let u=(0,n.useId)(),d=e||`sui-avatar-${u}`,h=Object.assign({src:"",alt:""},t),{suiInlineClassname:f}=$a(l,a),p=!eo(r)&&!io(r),m=!eo(t)&&!io(h.src),g={id:d,className:Ka("sui-avatar",{sm:i,clickable:!!c},f),...co(s),"data-testid":"avatar",onClick:c};return(0,Ye.jsxs)("span",{...g,children:[m&&(0,Ye.jsx)(oh,{id:`${d}-image`,source:h.src,text:h.alt}),!m&&(0,Ye.jsx)(ah,{id:`${d}-icon`,iconName:o}),p&&"none"!==r&&(0,Ye.jsx)(sh,{id:`${d}-status`,status:r})]})},ch=({id:e,plugin:t,customIcon:r,title:i="",description:a="",showTitleInMobile:o,showDescriptionInMobile:s,className:l,_style:c,_htmlProps:u={}})=>{let d=(0,n.useId)(),h=e||`sui-navigation-brand-${d}`,{suiInlineClassname:f}=$a(c,l),p=t?so?.[t]:{icon:"Plugin"},m=null;return p&&(m=Hc?.[p.icon]),(0,Ye.jsxs)("div",{id:h,className:Ka("sui-navigation__brand",{},f),...co(u),children:[r&&(0,Ye.jsx)("div",{id:`${h}-custom-icon`,className:"sui-navigation__custom-icon",children:(0,Ye.jsx)("img",{alt:i,src:r})}),!r&&(0,Ye.jsx)("div",{id:`${h}-icon`,className:"sui-navigation__icon",style:{backgroundColor:p?.bg},children:!!m&&(0,Ye.jsx)(m,{fill:p?.color})}),(0,Ye.jsxs)("div",{id:`${h}-info`,className:Ka("sui-navigation__info",{"show-title-in-mobile":o,"show-description-in-mobile":s}),children:[(0,Ye.jsx)("h3",{id:`${h}-title`,className:"sui-heading--h4",children:i}),(0,Ye.jsx)("span",{id:`${h}-description`,className:"sui-navigation__info--desc",children:a})]})]})};ch.displayName="NavigationBrand";var uh=({id:e,user:t,menu:r,splitLastItem:i=!1,isMenuDisabled:a=!1,status:o,children:s,className:l="",dropdownProps:c={},_style:u={},_htmlProps:d={}})=>{let h=(0,n.useId)(),f=e||`sui-navigation-user-${h}`,p=(0,n.useRef)(null),{suiInlineClassname:m}=$a(u,l),g=Ka("sui-navigation__avatar",{},m),v=(0,Ye.jsx)(lh,{id:`${f}-avatar`,status:o,image:{src:t?.image??"",alt:"User Avatar"},icon:t?.icon,...!a&&{onClick:()=>{p?.current?.toggle()}}});return(0,Ye.jsx)("div",{id:f,className:g,...co(d),children:(0,Ye.jsxs)(ih,{id:`${f}-dropdown`,ref:p,label:"Menu Button",placement:"left",size:"lg",trigger:v,renderContentOnTop:!0,menu:r??[],dropdownArrow:!0,className:Ka("sui-navigation__dropdown",{split:i}),...c,children:[io(t?.name??"")&&io(t?.email??"")?null:(0,Ye.jsxs)("div",{id:`${f}-user-info`,className:"sui-navigation__user",children:[!io(t?.name??"")&&(0,Ye.jsx)("div",{id:`${f}-user-name`,className:"sui-navigation__user--name",children:t?.name}),!io(t?.email??"")&&(0,Ye.jsx)("div",{id:`${f}-user-email`,className:"sui-navigation__user--email",children:t?.email})]}),s]})})};uh.displayName="NavigationUser";var dh=({id:e,children:t,brand:r={title:"title",description:""},showTitleInMobile:i=!1,showDescriptionInMobile:a=!1,user:o,actions:s=[],_htmlProps:l,_style:c})=>{let u=(0,n.useId)(),d=e||`sui-navigation-${u}`,{suiInlineClassname:h}=$a(c),f=Ka("sui-navigation",{},h);return(0,Ye.jsxs)("nav",{id:d,className:f,"data-testid":"navigation",...co(l),children:[(0,Ye.jsx)(ch,{...r,id:r?.id||`${d}-brand`,showTitleInMobile:i,showDescriptionInMobile:a}),(0,Ye.jsx)("ul",{id:`${d}-nav`,className:"sui-navigation__nav",children:n.Children.map(t,(e,t)=>(0,Ye.jsx)("li",{id:`${d}-nav-item-${t}`,className:"sui-navigation__nav-item",children:e},t))}),(s.length>0||o)&&(0,Ye.jsxs)("div",{id:`${d}-actions`,className:"sui-navigation__actions",children:[s.length>0&&s.map((e,t)=>(0,Ye.jsx)("div",{id:`${d}-action-${t}`,children:e},t)),o&&(0,Ye.jsx)(uh,{...o,id:o?.id||`${d}-user`})]})]})},hh=(0,n.createContext)({isOpen:!0,setIsOpen:()=>{},toggle:()=>{}}),fh=hh.Provider,ph=(0,n.forwardRef)(({id:e,className:t="",children:r,isOpen:i=!1,size:a="default",placement:o="right",hasContainer:s=!1,hasOverlay:l=!0,disableShadow:c=!1,outerClickClose:u=!0,isFullWidth:d=!1,_htmlProps:h,_style:f},p)=>{let m=(0,n.useId)(),g=e||`sui-drawer-${m}`,[v,b]=(0,n.useState)(!1),[y,C]=(0,n.useState)(i??!1),_=(0,n.useRef)(null);Wa(_,()=>{y&&u&&S(!1)});let{suiInlineClassname:w}=$a(f,`${!s&&"sui-wp-overlay"} ${t}`),x=Ka("sui-drawer",{open:y,"has-container":!!s,"no-shadow":!!c,overlay:!s&&l,hidden:!v,[a]:!!a,[o]:!!o,full:d},w),S=e=>{let t=e?C:b;(e?b:C)(e),setTimeout(()=>t(e),300)},E=(0,n.useCallback)(()=>{S(!y)},[y]);(0,n.useImperativeHandle)(p,()=>({toggle:E,open:()=>S(!0),hide:()=>S(!1)}));let k=gi(i);return(0,n.useEffect)(()=>{k!==i&&y!==i&&E()},[y,k,i,E]),(0,Ye.jsx)(fh,{value:{isOpen:y,setIsOpen:C,toggle:E},children:(0,Ye.jsx)("div",{id:g,className:x,"data-testid":"drawer",...co(h),children:(0,Ye.jsx)("div",{className:"sui-drawer__inner",ref:_,children:r})})})});ph.displayName="Drawer";var mh=({id:e,className:t="",title:r="",hintText:i="",back:a={show:!1,mobileOnly:!1,action:()=>{}},tooltipOptions:o={},_style:s})=>{let l=(0,n.useId)(),c=e||`sui-drawer-header-${l}`,{suiInlineClassname:u}=$a(s,t),d=Ka("sui-drawer__header",{},u),h={...(0,n.useContext)(hh)},f=(0,n.useCallback)(()=>{h?.toggle(!1)},[h.isOpen]),{show:p,mobileOnly:m=!1,action:g=()=>{}}=a;return(0,Ye.jsxs)("div",{id:c,className:d,children:[(0,Ye.jsxs)("div",{className:"sui-drawer__header-title",children:[p&&(0,Ye.jsx)("div",{className:Ka("sui-drawer__back",{md:m}),children:(0,Ye.jsx)(Zc,{icon:"ChevronLeft",type:"tertiary",colorScheme:"black",isSmall:!0,iconOnly:!0,onClick:()=>{f(),g()},_htmlProps:{"aria-label":"close"}})}),(0,Ye.jsx)("span",{className:"sui-heading--h4",children:r}),!io(i)&&(0,Ye.jsx)(Xd,{type:"icon",icon:"Info",customWidth:160,iconSize:"md",...o,children:i}),(0,Ye.jsx)("span",{className:"sui-heading--h4",children:r})]}),(0,Ye.jsx)("div",{className:"sui-drawer__header-close",children:(0,Ye.jsx)(Zc,{icon:"Close",type:"tertiary",colorScheme:"black",isSmall:!0,iconOnly:!0,onClick:f,_htmlProps:{"aria-label":"close"}})})]})},gh=({id:e,className:t="",children:r,_style:i})=>{let a=(0,n.useId)(),o=e||`sui-drawer-body-${a}`,{suiInlineClassname:s}=$a(i,t),l=Ka("sui-drawer__body",{},s);return(0,Ye.jsx)("div",{id:o,className:l,children:r})},vh=({id:e,design:t,colorScheme:r,contentWrap:i="default",className:a,isSmall:o=!1,isUppercase:s=!1,isDisabled:l=!1,isDismissable:c=!1,children:u,onDismiss:d=()=>{},_htmlProps:h={},_style:f={}})=>{let p=(0,n.useId)(),m=e||`sui-tag-${p}`,g="outlined"===t,v=!eo(r)&&!io(r),b=["multiline","truncated"].includes(i),{suiInlineClassname:y}=$a(f,a),C=Ka("sui-tag",{[`${t}-${r}`]:g&&v,[t]:g,[r]:!g&&v,[i]:b,sm:o,uppercase:s,disabled:l},y);return u=Ba(u,"{tag content}"),(0,Ye.jsx)("span",{id:m,className:C,...co(h),"data-testid":"tag",children:(0,Ye.jsxs)("div",{className:"sui-tag__wrapper",children:[(0,Ye.jsx)("span",{className:"sui-tag__label",children:u}),c&&(0,Ye.jsxs)("button",{className:"sui-tag__cta",onClick:d,children:[(0,Ye.jsx)("span",{"aria-hidden":"true",children:(0,Ye.jsx)(Zs,{size:"xs"})}),(0,Ye.jsx)("span",{className:"sui-screen-reader-only",tabIndex:-1,children:"Dismiss"})]})]})})},bh=()=>(0,Ye.jsxs)("svg",{width:"80",height:"80",viewBox:"0 0 80 80",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[(0,Ye.jsxs)("g",{clipPath:"url(#clip0_14743_1496)",children:[(0,Ye.jsx)("path",{d:"M11.6996 26.3381L3.07349 58.7944L40.9615 67.69L51.0734 31.7946L11.6996 26.3381Z",fill:"#0059FF"}),(0,Ye.jsx)("path",{d:"M47.0728 27.7935L36.9611 67.6239L41.729 67.5185L51.0728 31.7935L47.0728 27.7935Z",fill:"#01399F"}),(0,Ye.jsx)("path",{d:"M9.57228 63.794L45.0742 65.5879L41.0742 61.5879L3.07299 58.7938L9.57228 63.794Z",fill:"#01399F"}),(0,Ye.jsx)("path",{d:"M16.0716 29.7946L9.57404 63.7941L3.06761 58.7936L9.07391 25.794L16.0716 29.7946Z",fill:"#0045C4"}),(0,Ye.jsx)("path",{d:"M16.0722 29.7944L51.0732 31.7939L47.0732 27.794L9.07217 25.7944L16.0722 29.7944Z",fill:"#0251E3"}),(0,Ye.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M33.8946 27.1005L25.2043 26.6433L29.1804 30.5433L38.6468 31.084L33.8946 27.1005Z",fill:"#FFCC20"}),(0,Ye.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M5.43627 45.7798L6.52497 39.7983L13.4582 43.4698L12.2809 49.63L5.43627 45.7798Z",fill:"#FFCC20"}),(0,Ye.jsx)("path",{d:"M18.0552 71.0003V39.0007L55.0552 35.0003L55.0549 68.0007L18.0552 71.0003Z",fill:"#00256A"}),(0,Ye.jsx)("path",{d:"M55.0552 35.0003V70.8712L74.0559 74.8063V42.0003L55.0552 35.0003Z",fill:"#01399F"}),(0,Ye.jsx)("rect",{width:"24",height:"24",rx:"8",transform:"matrix(0.965926 0.258819 -0.258028 0.966137 52.1926 9)",fill:"#282A2C"}),(0,Ye.jsxs)("g",{clipPath:"url(#clip1_14743_1496)",children:[(0,Ye.jsx)("path",{d:"M61.8426 18.8906L65.725 21.3091L64.63 25.4092C64.1591 27.1724 61.3701 29.065 59.2752 28.5037C57.1804 27.9424 55.7057 24.9137 56.1782 23.1445L57.2732 19.0445L61.8426 18.8906ZM62.1797 17.6286L56.3045 17.8272L54.9708 22.821C54.308 25.3027 56.23 28.9818 58.9527 29.7113C61.6754 30.4409 65.173 28.2205 65.8374 25.7327L67.1711 20.7389L62.1797 17.6286Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.5",d:"M59.0863 29.2104L60.5667 23.6672L56.2019 22.4976C56.2019 22.4976 54.2364 26.248 59.0863 29.2104Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.5",d:"M61.9133 18.6251L60.5667 23.6671L65.5292 24.9968L66.4903 21.3979L61.9133 18.6251Z",fill:"white"})]}),(0,Ye.jsx)("rect",{width:"24",height:"24",rx:"8",transform:"matrix(0.866025 -0.5 0.499411 0.866365 26 10)",fill:"#1F2852"}),(0,Ye.jsx)("rect",{opacity:"0.5",width:"5.50055",height:"1.00115",rx:"0.500576",transform:"matrix(0.866025 -0.5 0.499411 0.866365 39.5115 14.9155)",fill:"white"}),(0,Ye.jsx)("rect",{opacity:"0.5",width:"5.50055",height:"1.00115",rx:"0.500576",transform:"matrix(0.866025 -0.5 0.499411 0.866365 40.2615 16.2166)",fill:"white"}),(0,Ye.jsx)("rect",{width:"3.25033",height:"1.00115",rx:"0.500576",transform:"matrix(0.866025 -0.5 0.499411 0.866365 43.0852 16.6093)",fill:"white"}),(0,Ye.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M41.2631 9.28004L43.3577 8.07071C43.8361 7.79454 44.4477 7.959 44.7238 8.43803L49.3487 16.4611C49.6249 16.9402 49.4609 17.5524 48.9826 17.8286L42.0537 21.829C41.5754 22.1051 40.9637 21.9407 40.6876 21.4616L36.0627 13.4385C35.7866 12.9595 35.9505 12.3473 36.4288 12.0711L38.5235 10.8618C38.4711 10.2085 38.7887 9.55263 39.3933 9.20355C39.9979 8.85446 40.7243 8.90766 41.2631 9.28004ZM42.967 10.8974L42.467 10.03L43.7662 9.27993L48.1411 16.8694L41.6452 20.6197L37.2704 13.0303L38.5695 12.2802L39.0695 13.1476L42.967 10.8974ZM40.6433 11.372C41.002 11.1648 41.125 10.7057 40.9179 10.3464C40.7108 9.98713 40.252 9.86379 39.8933 10.0709C39.5345 10.278 39.4116 10.7372 39.6187 11.0965C39.8258 11.4557 40.2845 11.5791 40.6433 11.372Z",fill:"white"}),(0,Ye.jsxs)("g",{clipPath:"url(#clip2_14743_1496)",children:[(0,Ye.jsx)("rect",{width:"24",height:"24",rx:"8",transform:"matrix(0.866025 -0.5 0.499492 0.866318 11.5757 24.5759)",fill:"#FF9A24"}),(0,Ye.jsxs)("g",{clipPath:"url(#clip3_14743_1496)",children:[(0,Ye.jsx)("path",{d:"M27.7987 24.3028L28.7763 24.3879L30.4243 28.1584L30.1239 30.6442L30.0935 30.8955L30.1761 31.1401L30.6477 32.5436L29.2365 32.7088L29.5573 30.6075L29.6008 30.3226L29.5014 30.0488L27.4479 24.5053L27.7987 24.3028ZM27.5388 23.1538L26.0774 23.9976L28.4747 30.4077L27.9309 33.9692L32.1838 33.4624L31.2661 30.7446L31.6037 27.9517L29.5621 23.2847L27.5729 23.1341L27.5388 23.1538Z",fill:"white"}),(0,Ye.jsx)("path",{d:"M28.8383 30.081L20.9875 29.359L27.8992 26.0311L28.393 27.045L25.1404 28.6111L28.9426 28.9556L28.8383 30.081Z",fill:"white"}),(0,Ye.jsx)("path",{d:"M29.528 23.3044L31.9637 21.8981L32.2447 22.3854L29.1156 24.8415L29.528 23.3044Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.5",d:"M25.0691 24.5798L23.6077 25.4235L23.8886 25.9108L25.35 25.0671L25.0691 24.5798Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.25",d:"M23.1204 25.7048L22.6333 25.986L22.9143 26.4733L23.4014 26.1921L23.1204 25.7048Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.5",d:"M25.6491 30.0905L23.2134 31.4968L23.4943 31.9841L25.93 30.5778L25.6491 30.0905Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.25",d:"M22.7262 31.778L22.239 32.0593L22.52 32.5466L23.0071 32.2653L22.7262 31.778Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.5",d:"M27.5412 32.2458L26.5669 32.8083L26.8479 33.2956L27.8221 32.7331L27.5412 32.2458Z",fill:"white"}),(0,Ye.jsx)("path",{opacity:"0.25",d:"M26.0797 33.0895L25.5925 33.3708L25.8735 33.8581L26.3606 33.5768L26.0797 33.0895Z",fill:"white"})]})]}),(0,Ye.jsxs)("g",{clipPath:"url(#clip4_14743_1496)",children:[(0,Ye.jsx)("rect",{width:"24",height:"24",rx:"8",transform:"matrix(0.443257 -0.896395 0.896781 0.442475 42 49.5135)",fill:"#DE240A"}),(0,Ye.jsxs)("g",{clipPath:"url(#clip5_14743_1496)",children:[(0,Ye.jsx)("path",{d:"M59.189 43.6864L60.8906 48.7099L62.0159 48.3287L60.3142 43.3052L59.189 43.6864Z",fill:"#FF9494"}),(0,Ye.jsx)("path",{d:"M55.8322 41.5633L55.2717 41.2867L54.4406 42.9675L55.0011 43.244L55.8322 41.5633Z",fill:"white"}),(0,Ye.jsx)("path",{d:"M55.5488 40.7265L55.2717 41.2867L57.5137 42.3929L57.7907 41.8327L55.5488 40.7265Z",fill:"white"}),(0,Ye.jsx)("path",{d:"M53.5967 41.8541C54.035 40.9677 54.7265 40.2309 55.5836 39.7369C56.4408 39.243 57.4252 39.014 58.4122 39.0791C59.3993 39.1441 60.3447 39.5002 61.129 40.1023C61.9133 40.7044 62.5012 41.5254 62.8183 42.4617C63.1354 43.3979 63.1676 44.4072 62.9107 45.362C62.6538 46.3167 62.1194 47.1741 61.375 47.8256C60.6307 48.4772 59.7098 48.8936 58.7289 49.0222C57.748 49.1509 56.7511 48.986 55.8643 48.5485C54.6751 47.9617 53.7681 46.9268 53.3428 45.6714C52.9175 44.4159 53.0089 43.0428 53.5967 41.8541ZM52.4757 41.301C51.9278 42.4091 51.7208 43.6545 51.8811 44.8797C52.0414 46.1049 52.5617 47.2548 53.3762 48.1842C54.1907 49.1136 55.2628 49.7806 56.4569 50.1008C57.651 50.4211 58.9136 50.3803 60.0849 49.9835C61.2562 49.5867 62.2836 48.8519 63.0373 47.8718C63.7909 46.8918 64.237 45.7105 64.319 44.4775C64.4009 43.2445 64.1153 42.015 63.4979 40.9446C62.8806 39.8743 61.9595 39.011 60.8509 38.464C59.3644 37.7306 57.6469 37.6175 56.0763 38.1495C54.5056 38.6815 53.2104 39.8152 52.4757 41.301Z",fill:"white"}),(0,Ye.jsx)("path",{d:"M59.7556 43.4991L59.1951 43.2225L58.364 44.9033L58.9245 45.1798L59.7556 43.4991Z",fill:"#FF9494"}),(0,Ye.jsx)("path",{d:"M59.4721 42.6623L59.1951 43.2225L61.437 44.3287L61.7141 43.7685L59.4721 42.6623Z",fill:"#FF9494"}),(0,Ye.jsx)("path",{d:"M55.2665 41.755L58.1006 50.1216L59.2258 49.7405L56.3917 41.3738L55.2665 41.755Z",fill:"white"})]})]}),(0,Ye.jsxs)("g",{clipPath:"url(#clip6_14743_1496)",children:[(0,Ye.jsx)("rect",{width:"24.7624",height:"24.7624",rx:"8",transform:"matrix(0.5 0.866025 -0.866307 0.499513 44.4517 21)",fill:"#00D7FF"}),(0,Ye.jsxs)("g",{clipPath:"url(#clip7_14743_1496)",children:[(0,Ye.jsx)("path",{d:"M44.5405 34.7324C45.0506 35.6161 45.2869 36.6312 45.2195 37.6495C45.1521 38.6677 44.7839 39.6433 44.1615 40.4529C43.5392 41.2625 42.6906 41.8698 41.7231 42.1978C40.7556 42.5259 39.7127 42.5601 38.7262 42.296C37.7396 42.032 36.8538 41.4816 36.1808 40.7144C35.5078 39.9473 35.0777 38.9978 34.945 37.9861C34.8123 36.9744 34.9829 35.946 35.4353 35.0307C35.8877 34.1155 36.6015 33.3547 37.4864 32.8444C38.6731 32.1601 40.083 31.9746 41.4059 32.3287C42.7288 32.6828 43.8563 33.5474 44.5405 34.7324ZM45.6591 34.0874C45.0213 32.9828 44.0699 32.0922 42.925 31.5281C41.7802 30.964 40.4934 30.7518 39.2274 30.9184C37.9613 31.085 36.7729 31.6228 35.8123 32.4639C34.8518 33.3049 34.1623 34.4115 33.8311 35.6436C33.4998 36.8757 33.5417 38.178 33.9514 39.3858C34.3611 40.5936 35.1201 41.6527 36.1327 42.4291C37.1452 43.2056 38.3657 43.6645 39.6397 43.7478C40.9138 43.8311 42.1843 43.5352 43.2905 42.8973C44.7739 42.042 45.8568 40.6334 46.3009 38.9812C46.7451 37.329 46.5142 35.5686 45.6591 34.0874Z",fill:"#61D3E8"}),(0,Ye.jsx)("path",{d:"M41.7439 36.3453C42.0946 36.9528 42.2571 37.6507 42.2107 38.3508C42.1643 39.0508 41.9112 39.7215 41.4833 40.2781C41.0555 40.8347 40.4721 41.2522 39.8069 41.4777C39.1418 41.7033 38.4247 41.7268 37.7465 41.5452C37.0683 41.3637 36.4593 40.9853 35.9966 40.4579C35.5339 39.9305 35.2382 39.2777 35.147 38.5822C35.0557 37.8867 35.173 37.1796 35.484 36.5504C35.795 35.9211 36.2858 35.3981 36.8942 35.0472C37.7105 34.5786 38.6792 34.452 39.5881 34.6953C40.4971 34.9386 41.2723 35.5319 41.7439 36.3453ZM42.8625 35.7003C42.3842 34.8718 41.6706 34.2038 40.8119 33.7808C39.9533 33.3577 38.9882 33.1986 38.0387 33.3235C37.0891 33.4484 36.1978 33.8518 35.4774 34.4826C34.757 35.1134 34.2399 35.9433 33.9915 36.8674C33.743 37.7914 33.7744 38.7682 34.0817 39.674C34.389 40.5799 34.9583 41.3742 35.7176 41.9566C36.477 42.5389 37.3924 42.8831 38.348 42.9456C39.3035 43.0081 40.2564 42.7861 41.086 42.3077C42.1986 41.6662 43.0107 40.6097 43.3439 39.3706C43.677 38.1314 43.5039 36.8112 42.8625 35.7003Z",fill:"#99E1EE"}),(0,Ye.jsx)("path",{d:"M38.9475 37.9577C39.1388 38.2891 39.2274 38.6698 39.2021 39.0516C39.1768 39.4334 39.0388 39.7993 38.8054 40.1029C38.572 40.4065 38.2538 40.6342 37.891 40.7572C37.5282 40.8802 37.1371 40.8931 36.7671 40.794C36.3972 40.695 36.065 40.4886 35.8126 40.2009C35.5602 39.9133 35.399 39.5572 35.3492 39.1778C35.2994 38.7985 35.3634 38.4128 35.533 38.0696C35.7027 37.7264 35.9704 37.441 36.3022 37.2497C36.7472 36.9931 37.276 36.9235 37.772 37.0563C38.2681 37.1891 38.6909 37.5133 38.9475 37.9577ZM40.0661 37.3127C39.7472 36.7604 39.2715 36.3151 38.6991 36.033C38.1267 35.751 37.4833 35.6449 36.8502 35.7282C36.2172 35.8115 35.623 36.0804 35.1427 36.5009C34.6625 36.9215 34.3177 37.4747 34.1521 38.0908C33.9865 38.7068 34.0074 39.358 34.2123 39.9619C34.4171 40.5658 34.7967 41.0953 35.3029 41.4835C35.8092 41.8718 36.4194 42.1012 37.0564 42.1429C37.6935 42.1846 38.3287 42.0366 38.8818 41.7177C39.6235 41.29 40.1649 40.5857 40.387 39.7596C40.6091 38.9335 40.4937 38.0533 40.0661 37.3127Z",fill:"white"})]})]}),(0,Ye.jsx)("path",{d:"M37.0552 80.0007V46.0007L74.0552 42.0003L74.0549 75.0007L37.0552 80.0007Z",fill:"#0059FF"}),(0,Ye.jsx)("path",{d:"M37.0552 80.0003V46.0003L18.0552 39.0003V71.0003L37.0552 80.0003Z",fill:"#0045C4"}),(0,Ye.jsx)("path",{d:"M60.2133 65.1192C59.9035 65.1591 59.6036 65.1291 59.3338 65.0093C59.0539 64.8994 58.824 64.6997 58.6641 64.43C58.4942 64.1604 58.4142 63.8308 58.4142 63.4812V57.6485C58.4142 57.5786 58.4042 57.5187 58.3743 57.4588C58.3543 57.3988 58.3143 57.3489 58.2743 57.3089C58.2043 57.249 58.1244 57.2091 58.0344 57.2091C57.9445 57.1991 57.8545 57.229 57.7646 57.269C57.6846 57.3189 57.6046 57.3888 57.5547 57.4787C57.5047 57.5686 57.4747 57.6685 57.4747 57.7684V63.6011C57.4747 63.8507 57.4347 64.1104 57.3348 64.3501C57.2448 64.5898 57.1049 64.8195 56.925 65.0093C56.5752 65.4088 56.1054 65.6585 55.6256 65.7184C55.3958 65.7584 55.1659 65.7384 54.946 65.6785C54.7261 65.6185 54.5362 65.5087 54.3763 65.3489C54.2163 65.1991 54.0864 65.0093 53.9965 64.7896C53.9065 64.5698 53.8665 64.3301 53.8765 64.0805V58.2478C53.8765 58.1779 53.8665 58.1179 53.8365 58.058C53.8166 57.9981 53.7766 57.9481 53.7366 57.9082C53.6866 57.8682 53.6266 57.8283 53.5667 57.8183C53.5067 57.7983 53.4367 57.7983 53.3668 57.8083C53.2968 57.8083 53.2268 57.8283 53.1669 57.8682C53.1069 57.8982 53.0469 57.9481 52.997 58.0081C52.957 58.058 52.917 58.1179 52.897 58.1779C52.877 58.2378 52.857 58.3077 52.857 58.3776V66.078L51.5777 66.2477V58.5474C51.5677 58.2977 51.6177 58.038 51.7076 57.7983C51.7976 57.5586 51.9375 57.3289 52.1174 57.1392C52.4672 56.7397 52.937 56.49 53.4168 56.43C53.6466 56.3901 53.8765 56.4101 54.0964 56.47C54.3163 56.5299 54.5062 56.6398 54.6661 56.7996C54.826 56.9494 54.956 57.1392 55.0459 57.3589C55.1359 57.5786 55.1759 57.8183 55.1659 58.068V63.9207C55.1659 63.9906 55.1759 64.0505 55.2058 64.1104C55.2258 64.1703 55.2658 64.2203 55.3058 64.2602C55.4057 64.3401 55.5357 64.3801 55.6756 64.3601C55.8155 64.3401 55.9455 64.2702 56.0454 64.1604C56.0854 64.1104 56.1254 64.0505 56.1454 63.9906C56.1654 63.9306 56.1854 63.8607 56.1854 63.7908V57.9581C56.1754 57.7084 56.2153 57.4588 56.3053 57.2191C56.3952 56.9794 56.5152 56.7496 56.6851 56.5599C57.0249 56.1704 57.4747 55.9207 57.9345 55.8608C58.4042 55.8008 58.854 55.9307 59.1838 56.2303C59.3438 56.3801 59.4737 56.5699 59.5637 56.7896C59.6536 57.0093 59.6936 57.249 59.6836 57.4987V63.3314C59.6836 63.4013 59.6936 63.4612 59.7236 63.5212C59.7436 63.5811 59.7835 63.631 59.8235 63.671C59.9235 63.7509 60.0534 63.7908 60.1933 63.7708C60.3333 63.7509 60.4632 63.681 60.5632 63.5711C60.6031 63.5212 60.6431 63.4612 60.6631 63.4013C60.6831 63.3414 60.7031 63.2715 60.7031 63.2016V55.5012L61.9924 55.3314V63.0318C61.9924 63.3713 61.9125 63.7309 61.7426 64.0405C61.5826 64.3501 61.3528 64.6098 61.0729 64.7996C60.823 64.9594 60.5132 65.0792 60.2133 65.1192Z",fill:"white"}),(0,Ye.jsx)("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M56.795 69.4634C61.2727 68.8642 64.8909 64.4996 64.8909 59.7056C64.8909 54.9116 61.2627 51.5159 56.795 52.1151C52.3173 52.7144 48.6991 57.0789 48.6991 61.8729C48.6991 66.6669 52.3273 70.0627 56.795 69.4634ZM56.795 70.8017C61.9524 70.1126 66.1403 65.0689 66.1403 59.5458C66.1403 54.0228 61.9524 50.0977 56.795 50.7868C51.6376 51.4759 47.4497 56.5196 47.4497 62.0427C47.4497 67.5758 51.6376 71.4909 56.795 70.8017Z",fill:"white"})]}),(0,Ye.jsxs)("defs",{children:[(0,Ye.jsx)("clipPath",{id:"clip0_14743_1496",children:(0,Ye.jsx)("rect",{width:"80",height:"80",fill:"white"})}),(0,Ye.jsx)("clipPath",{id:"clip1_14743_1496",children:(0,Ye.jsx)("rect",{width:"11.25",height:"12.5",fill:"white",transform:"matrix(0.965926 0.258819 -0.258028 0.966137 56.7461 16.1729)"})}),(0,Ye.jsx)("clipPath",{id:"clip2_14743_1496",children:(0,Ye.jsx)("rect",{width:"24",height:"24",rx:"8",transform:"matrix(0.866025 -0.5 0.499492 0.866318 11.5757 24.5759)",fill:"white"})}),(0,Ye.jsx)("clipPath",{id:"clip3_14743_1496",children:(0,Ye.jsx)("rect",{width:"13.5",height:"11.25",fill:"white",transform:"matrix(0.866025 -0.5 0.499492 0.866318 19.7104 27.6735)"})}),(0,Ye.jsx)("clipPath",{id:"clip4_14743_1496",children:(0,Ye.jsx)("rect",{width:"24",height:"24",rx:"8",transform:"matrix(0.443257 -0.896395 0.896781 0.442475 42 49.5135)",fill:"white"})}),(0,Ye.jsx)("clipPath",{id:"clip5_14743_1496",children:(0,Ye.jsx)("rect",{width:"12.5",height:"12.5",fill:"white",transform:"matrix(0.443257 -0.896395 0.896781 0.442475 49.7053 46.9035)"})}),(0,Ye.jsx)("clipPath",{id:"clip6_14743_1496",children:(0,Ye.jsx)("rect",{width:"24.7624",height:"24.7624",rx:"8",transform:"matrix(0.5 0.866025 -0.866307 0.499513 44.4517 21)",fill:"white"})}),(0,Ye.jsx)("clipPath",{id:"clip7_14743_1496",children:(0,Ye.jsx)("rect",{width:"12.8979",height:"12.9124",fill:"white",transform:"matrix(0.5 0.866025 -0.866307 0.499513 42.4346 28.5027)"})})]})]}),yh=({id:e,label:t="More from WPMU DEV",title:r="More free plugins from WPMU DEV",className:i="",plugins:a=[{plugin:"smush",title:"Smush",description:"Best image optimization",link:"https://www.wpmudev.com",props:{}},{plugin:"forminator",title:"Forminator",description:"Best form builder plugin",link:"https://www.wpmudev.com",props:{}},{plugin:"defender",title:"Defender",description:"Best security plugin",link:"https://www.wpmudev.com",props:{}},{plugin:"hustle",title:"Hustle",description:"Best newsletter plugin",link:"https://www.wpmudev.com",props:{}},{plugin:"hummingbird",title:"Hummingbird",description:"Best security plugin",link:"https://www.wpmudev.com",props:{}},{plugin:"branda",title:"Branda",description:"No-code white label plugin",link:"https://www.wpmudev.com",props:{}},{plugin:"beehive",title:"Beehive",description:"Google Analytic dashboards",link:"https://www.wpmudev.com",props:{}},{plugin:"snapshot",title:"Snapshot",description:"WordPress backup plugin",link:"https://www.wpmudev.com",props:{}},{plugin:"blc",title:"Broken Link Checker",description:"Scan broken links",link:"https://www.wpmudev.com",props:{}}],upsell:o={title:"Everything you need for WordPress",description:"Get all 12 WPMU DEV premium plugins and more starting from just $3/month.",link:"https://www.wpmudev.com",props:{}},filter:s=[],_htmlProps:l={},_style:c={},...u})=>{let d=(0,n.useId)(),h=e||`sui-wpmudev-button-${d}`,f=(0,n.createRef)(),p=Ka("sui-wpmudev",{},`sui-wpmudev__dropdown sui-wpmudev__navigation--hide-mobile ${i}`),m=a.filter(e=>!s.includes(e.plugin)),g=(0,Ye.jsxs)("div",{id:`${h}-content`,className:"sui-wpmudev__dropdown-content",children:[m&&(0,Ye.jsx)("ul",{id:`${h}-list`,className:"sui-wpmudev__list",children:m.map(e=>{let t=e.plugin?so?.[e.plugin]:{icon:"Plugin"},n=null;return t&&(n=Hc?.[t.icon]),(0,Ye.jsx)("li",{id:`${h}-item-${e.plugin}`,children:(0,Ye.jsxs)("a",{id:`${h}-item-${e.plugin}-link`,href:e.link,className:"sui-wpmudev__list-item",target:"_blank",rel:"noreferrer",...co(o.props),children:[(0,Ye.jsx)("div",{id:`${h}-item-${e.plugin}-icon`,className:"sui-wpmudev__list-icon",style:{backgroundColor:t?.bg},children:!!n&&(0,Ye.jsx)(n,{id:`${h}-item-${e.plugin}-icon-svg`,fill:t?.color})}),(0,Ye.jsxs)("div",{id:`${h}-item-${e.plugin}-content`,className:"sui-wpmudev__list-content",children:[(0,Ye.jsx)("h5",{id:`${h}-item-${e.plugin}-title`,className:"sui-wpmudev__list-title sui-heading--h5",children:e.title}),(0,Ye.jsx)("p",{id:`${h}-item-${e.plugin}-description`,className:"sui-wpmudev__list-desc",children:(0,Ye.jsx)("small",{id:`${h}-item-${e.plugin}-description-small`,children:e.description})})]})]})},e.plugin)})}),o&&(0,Ye.jsxs)("a",{id:`${h}-upsell`,href:o.link,className:"sui-wpmudev__upsell",target:"_blank",rel:"noreferrer",...co(o.props),children:[(0,Ye.jsx)(bh,{}),(0,Ye.jsxs)("div",{id:`${h}-upsell-content`,className:"sui-wpmudev__upsell-content",children:[(0,Ye.jsxs)("h5",{id:`${h}-upsell-title`,className:"sui-wpmudev__upsell-title sui-heading--h5",children:[o.title,(0,Ye.jsx)(Dl,{id:`${h}-upsell-external-link`,size:"sm"})]}),(0,Ye.jsx)("p",{id:`${h}-upsell-description`,className:"sui-wpmudev__upsell-desc",children:o.description})]})]})]}),v=(0,Ye.jsxs)(ph,{id:`${h}-mobile-drawer`,ref:f,placement:"left",hasContainer:!1,hasOverlay:!1,disableShadow:!0,isFullWidth:!0,children:[(0,Ye.jsx)(mh,{id:`${h}-mobile-drawer-header`,title:t,back:{show:!0}}),(0,Ye.jsx)(gh,{id:`${h}-mobile-drawer-body`,children:g})]});return(0,Ye.jsxs)(Ye.Fragment,{children:[(0,Ye.jsx)("div",{id:`${h}-wrapper`,className:p,children:(0,Ye.jsxs)(ih,{id:h,label:t,placement:"left",buttonIcon:"Logo",arrow:!1,menuCustomWidth:584,...co(l),...u,children:[r&&(0,Ye.jsx)("div",{id:`${h}-title`,className:"sui-wpmudev__title",children:(0,Ye.jsx)("h4",{className:"sui-heading--h4",children:r})}),g]})}),(0,Ye.jsxs)("div",{id:`${h}-mobile`,className:"sui-wpmudev__drawer sui-wpmudev__navigation--hide-desktop",children:[(0,Ye.jsx)(Zc,{id:`${h}-mobile-button`,type:"secondary",iconOnly:!1,isResponsive:!0,icon:"Logo",colorScheme:"black",onClick:()=>{f?.current?.toggle()},children:t},"logo"),v]})]})};function Ch(e){return Ch="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},Ch(e)}var _h=["as","color","weight","align","size","uppercase","children","className","isTruncated","onClick","_style"];function wh(){return wh=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wh.apply(null,arguments)}function xh(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Sh(e,t,n){return(t=function(e){var t=function(e){if("object"!=Ch(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Ch(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Ch(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Eh=function(e){var t=e.as,r=void 0===t?"p":t,i=e.color,a=void 0===i?"":i,o=e.weight,s=void 0===o?"":o,l=e.align,c=void 0===l?"":l,u=e.size,d=void 0===u?"":u,h=e.uppercase,f=void 0!==h&&h,p=e.children,m=e.className,g=e.isTruncated,v=void 0!==g&&g,b=e.onClick,y=e._style,C=void 0===y?{}:y,_=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,_h),w=r,x=Ka("beehive-sui-text",Sh(Sh(Sh(Sh(Sh(Sh({},"weight-".concat(null!=s?s:""),!io(s)),"size-".concat(null!=d?d:""),!io(d)),"align-".concat(null!=c?c:""),!io(c)),"is-truncated",v),"has-click",b),"uppercase",f),m),S=$a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xh(Object(n),!0).forEach(function(t){Sh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xh(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({},C),x),E=S.suiInlineClassname;return n.createElement(w,wh({className:E,onClick:b},!!a&&{style:{color:a}},_),p)},kh=function(e){var t=e.direction,r=e.change,i="number"==typeof r?r:"string"==typeof r?parseFloat(r.replace("%","")):NaN,a=t;isNaN(i)||(a=i>0?"up":i<0?"down":"none");var o="#b3b3b3";return"up"===a?o="#138639":"down"===a&&(o="#E52400"),n.createElement("span",{className:"beehive-sui-trend-change"},"up"===a?n.createElement(jl,{size:"xs",fill:o,_style:{mr:"4px"}}):"down"===a?n.createElement(Tl,{size:"xs",fill:o,_style:{mr:"4px"}}):null,n.createElement(Eh,{color:o,as:"span",size:"sm"},r))},Mh=function(e){var t=e.children,r=e.isFullWidth,i=void 0!==r&&r,a=e.className,o=void 0===a?"":a;return n.createElement("div",{className:"sui-layout--horizontal sui-layout--vertical ".concat(o)},n.createElement("div",i?{}:{className:"sui-layout__content"},t))};function Oh(e){return Oh="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},Oh(e)}var jh=["as","children","spacing","justify","alignItems","direction","width","margin","isFluid","className","_style"];function Th(){return Th=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Th.apply(null,arguments)}function Ph(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Dh(e,t,n){return(t=function(e){var t=function(e){if("object"!=Oh(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Oh(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Oh(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Ah,Lh,Ih,Nh,Rh,zh,Fh,Hh,$h=function(e){var t=e.as,r=void 0===t?"div":t,i=e.children,a=e.spacing,o=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._style,v=void 0===g?{}:g,b=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,jh),y=$a(function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Ph(Object(n),!0).forEach(function(t){Dh(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Ph(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({gap:"".concat(null!=a?a:0,"px"),flexDirection:c,justifyContent:o,alignItems:s,width:u,margin:d},v),Ka("beehive-sui-stack",{"is-fluid":f},m)),C=y.suiInlineClassname,_=r;return n.createElement(_,Th({className:C},b),i)},Vh=({id:e,isInline:t=!0,children:r,className:i="",isHeader:a=!1,isFooter:o=!1,hasPadding:s=!0,_htmlProps:l={},_style:c={}})=>{let u=(0,n.useId)(),d=e||`sui-box-group-${u}`,{suiInlineClassname:h}=$a(c,i),f=n.Children.map(r,(e,t)=>{let{slot:r,children:i,id:a}=e?.props??{};return(e=>"object"==typeof e&&!Array.isArray(e))(e)&&["left","right"].includes(r??"")?(0,Ye.jsx)("div",{id:a||`${d}-slot-${r}`,className:`sui-box-group__slot sui-box-group__${r}`,children:i},`sui-box-group--${t}`):(0,Ye.jsx)(n.Fragment,{children:e},`sui-box-group--${t}`)}),p=Ka("sui-box-group",{inline:t,header:a,footer:o,"no-padding":!s},h);return(0,Ye.jsx)("div",{id:d,className:p,"data-testid":"box-group",...co(l),children:f})},Uh=({id:e,title:t,description:r,icon:i,hideMobileIcon:a=!1,headerLeft:o,headerRight:s,children:l,isSmall:c=!1,className:u="",style:d={},hasLargeRadius:h=!1,_htmlProps:f={},_style:p})=>{let m=(0,n.useId)(),g=e||`sui-box-${m}`,v=!eo(t)&&!io(t),b=!eo(i)&&!io(i),y=!eo(o)&&!!o,C=!eo(s)&&!!s,_=(eo(r),Hc[i]),{suiInlineClassname:w}=$a(p,u),x=Ka("sui-box",{"size-sm":c,"large-radius":h},w);return l=Ba(l),(0,Ye.jsxs)("div",{id:g,className:x,style:d??{},...co(f),children:[v&&(0,Ye.jsxs)(Vh,{isInline:!0,id:`${g}-header-group`,children:[(0,Ye.jsx)("div",{slot:"left",id:`${g}-header-left`,children:(0,Ye.jsxs)("div",{className:"sui-box__container",id:`${g}-container`,children:[v&&(0,Ye.jsxs)("div",{className:"sui-box__title",id:`${g}-title`,children:[b&&_&&(0,Ye.jsx)("span",{id:`${g}-icon`,className:Ka("suicons",{},a?"sui-box-group__item sui-icon--hide-sm":"sui-box-group__item"),"aria-hidden":"true",children:(0,Ye.jsx)(_,{size:"md"})}),(0,Ye.jsx)("h2",{className:"sui-heading sui-heading--h3 sui-box-group__item",id:`${g}-heading`,children:t}),y&&o]}),r&&(0,Ye.jsx)("p",{id:`${g}-description`,children:r})]})}),(0,Ye.jsx)("div",{...C&&{slot:"right"},id:`${g}-header-right`,children:C&&s})]}),l]})},Bh=({id:e,align:t={md:"inline"},className:r,children:i,_htmlProps:a={},_style:o})=>{let s=(0,n.useId)(),l=e||`sui-row-${s}`,{suiInlineClassname:c}=$a(o,r),u={xs:"",sm:"",md:"",lg:"",xl:"",...t},d=Ka("sui-row",{},c);i=Ba(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 io(r??"")||(d+=` ${r}`),(0,Ye.jsx)("div",{id:l,className:d,"data-testid":"grid",...co(a),children:i})},Wh=({id:e,size:t,children:r,className:i,_htmlProps:a={},_style:o})=>{let s=(0,n.useId)(),l=e||`sui-col-${s}`,{suiInlineClassname:c}=$a(o,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=Ka("sui-col",{...u},c);return r=Ba(r,"{Column children content}"),(0,Ye.jsx)("div",{id:l,className:d,...co(a),children:r})},Zh=function(e){var t=e.mediaUrl,r=e.children;return n.createElement("div",{className:"beehive-splash__inner"},n.createElement(Vh,null,n.createElement(Bh,{align:{md:"inline"}},n.createElement(Wh,{_style:{width:"100%"}},n.createElement("div",{className:"beehive-splash__figure"},r)),n.createElement(Wh,{_style:{width:"100%"}},n.createElement("div",{className:"beehive-splash__body"},n.createElement("img",{src:t,alt:(0,Je.__)("Splash image"),className:"beehive-splash-image"}))))))},qh=function(e){var t=e.children;return n.createElement("div",{className:"beehive-settings-container"},t)},Gh=Object.keys(null!=Tu?Tu:{}).map(function(e){return{id:e,label:Tu[e]}}),Yh={sessions:{label:(0,Je.__)("Sessions"),color:"#0066FF",variant:"blue",tooltip:(0,Je.__)("Total number of Sessions within the date range. A session is the period of time user is actively engaged with your website, app, etc."),defaultValue:"0"},users:{label:(0,Je.__)("Users"),color:"#00BCD4",variant:"cyan",tooltip:(0,Je.__)("Users who have initiated at least one session during the date range."),defaultValue:"0"},pageviews:{label:(0,Je.__)("Pageviews"),color:"#0D8B0D",variant:"green",tooltip:(0,Je.__)("Pageviews is the total number of pages viewed. Repeated views of a single page are counted."),defaultValue:"0"},page_sessions:{label:(0,Je.__)("Page / Sessions"),color:"#7B5BBF",variant:"purple",tooltip:(0,Je.__)("Pages/Sessions (Average Page Depth) is the average number of pages viewed during a session. Repeated views of a single page are counted."),defaultValue:"0"},average_sessions:{label:(0,Je.__)("Avg Time"),color:"#FF9800",variant:"orange",tooltip:(0,Je.__)("The average length of a session."),defaultValue:"00:00.00"},bounce_rates:{label:(0,Je.__)("Bounce Rate"),color:"#E53935",variant:"red",tooltip:(0,Je.__)("The percentage of single-page sessions in which there was no interaction with the page. A bounced session has a duration of <seconds /> seconds."),defaultValue:"0%"}},Qh=(null!=Su?Su:{}).free_plugins,Kh=Object.values(null!=Qh?Qh:{}).filter(function(e){return["wp-smushit","forminator","defender-security","hummingbird-performance","smartcrawl-seo","wordpress-popup","branda-white-labeling","broken-link-checker"].includes(e.slug)}),Xh=[{plugin:"smush",title:(0,Je.__)("Smush"),description:(0,Je.__)("Best image optimization"),link:(null===(Ah=null==Kh?void 0:Kh.find(function(e){return"wp-smushit"===e.slug}))||void 0===Ah?void 0:Ah.url)||""},{plugin:"forminator",title:(0,Je.__)("Forminator"),description:(0,Je.__)("Best form builder plugin"),link:(null===(Lh=null==Kh?void 0:Kh.find(function(e){return"forminator"===e.slug}))||void 0===Lh?void 0:Lh.url)||""},{plugin:"defender",title:(0,Je.__)("Defender"),description:(0,Je.__)("Best security plugin"),link:(null===(Ih=null==Kh?void 0:Kh.find(function(e){return"defender-security"===e.slug}))||void 0===Ih?void 0:Ih.url)||""},{plugin:"hustle",title:(0,Je.__)("Hustle"),description:(0,Je.__)("Best newsletter plugin"),link:(null===(Nh=null==Kh?void 0:Kh.find(function(e){return"wordpress-popup"===e.slug}))||void 0===Nh?void 0:Nh.url)||""},{plugin:"hummingbird",title:(0,Je.__)("Hummingbird"),description:(0,Je.__)("Performance optimization"),link:(null===(Rh=null==Kh?void 0:Kh.find(function(e){return"hummingbird-performance"===e.slug}))||void 0===Rh?void 0:Rh.url)||""},{plugin:"branda",title:(0,Je.__)("Branda"),description:(0,Je.__)("No-code white label plugin"),link:(null===(zh=null==Kh?void 0:Kh.find(function(e){return"branda-white-labeling"===e.slug}))||void 0===zh?void 0:zh.url)||""},{plugin:"smartcrawl",title:(0,Je.__)("SmartCrawl"),description:(0,Je.__)("WordPress SEO plugin"),link:(null===(Fh=null==Kh?void 0:Kh.find(function(e){return"smartcrawl-seo"===e.slug}))||void 0===Fh?void 0:Fh.url)||""},{plugin:"blc",title:(0,Je.__)("Broken Link Checker"),description:(0,Je.__)("Scan broken links"),link:(null===(Hh=null==Kh?void 0:Kh.find(function(e){return"broken-link-checker"===e.slug}))||void 0===Hh?void 0:Hh.url)||""}],Jh={title:(0,Je.__)("Everything you need for WordPress"),description:(0,Je.__)("Get all 12 WPMU DEV premium plugins and more starting from just $3/month."),link:"https://wpmudev.com/hosting/"};
/*! @license DOMPurify 3.3.1 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.3.1/LICENSE */
const{entries:ef,setPrototypeOf:tf,isFrozen:nf,getPrototypeOf:rf,getOwnPropertyDescriptor:af}=Object;let{freeze:of,seal:sf,create:lf}=Object,{apply:cf,construct:uf}="undefined"!=typeof Reflect&&Reflect;of||(of=function(e){return e}),sf||(sf=function(e){return e}),cf||(cf=function(e,t){for(var n=arguments.length,r=new Array(n>2?n-2:0),i=2;i<n;i++)r[i-2]=arguments[i];return e.apply(t,r)}),uf||(uf=function(e){for(var t=arguments.length,n=new Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r];return new e(...n)});const df=kf(Array.prototype.forEach),hf=kf(Array.prototype.lastIndexOf),ff=kf(Array.prototype.pop),pf=kf(Array.prototype.push),mf=kf(Array.prototype.splice),gf=kf(String.prototype.toLowerCase),vf=kf(String.prototype.toString),bf=kf(String.prototype.match),yf=kf(String.prototype.replace),Cf=kf(String.prototype.indexOf),_f=kf(String.prototype.trim),wf=kf(Object.prototype.hasOwnProperty),xf=kf(RegExp.prototype.test),Sf=(Ef=TypeError,function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return uf(Ef,t)});var Ef;function kf(e){return function(t){t instanceof RegExp&&(t.lastIndex=0);for(var n=arguments.length,r=new Array(n>1?n-1:0),i=1;i<n;i++)r[i-1]=arguments[i];return cf(e,t,r)}}function Mf(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:gf;tf&&tf(e,null);let r=t.length;for(;r--;){let i=t[r];if("string"==typeof i){const e=n(i);e!==i&&(nf(t)||(t[r]=e),i=e)}e[i]=!0}return e}function Of(e){for(let t=0;t<e.length;t++)wf(e,t)||(e[t]=null);return e}function jf(e){const t=lf(null);for(const[n,r]of ef(e))wf(e,n)&&(Array.isArray(r)?t[n]=Of(r):r&&"object"==typeof r&&r.constructor===Object?t[n]=jf(r):t[n]=r);return t}function Tf(e,t){for(;null!==e;){const n=af(e,t);if(n){if(n.get)return kf(n.get);if("function"==typeof n.value)return kf(n.value)}e=rf(e)}return function(){return null}}const Pf=of(["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"]),Df=of(["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"]),Af=of(["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"]),Lf=of(["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"]),If=of(["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"]),Nf=of(["maction","maligngroup","malignmark","mlongdiv","mscarries","mscarry","msgroup","mstack","msline","msrow","semantics","annotation","annotation-xml","mprescripts","none"]),Rf=of(["#text"]),zf=of(["accept","action","align","alt","autocapitalize","autocomplete","autopictureinpicture","autoplay","background","bgcolor","border","capture","cellpadding","cellspacing","checked","cite","class","clear","color","cols","colspan","controls","controlslist","coords","crossorigin","datetime","decoding","default","dir","disabled","disablepictureinpicture","disableremoteplayback","download","draggable","enctype","enterkeyhint","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","slot"]),Ff=of(["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"]),Hf=of(["accent","accentunder","align","bevelled","close","columnsalign","columnlines","columnspan","denomalign","depth","dir","display","displaystyle","encoding","fence","frame","height","href","id","largeop","length","linethickness","lspace","lquote","mathbackground","mathcolor","mathsize","mathvariant","maxsize","minsize","movablelimits","notation","numalign","open","rowalign","rowlines","rowspacing","rowspan","rspace","rquote","scriptlevel","scriptminsize","scriptsizemultiplier","selection","separator","separators","stretchy","subscriptshift","supscriptshift","symmetric","voffset","width","xmlns"]),$f=of(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vf=sf(/\{\{[\w\W]*|[\w\W]*\}\}/gm),Uf=sf(/<%[\w\W]*|[\w\W]*%>/gm),Bf=sf(/\$\{[\w\W]*/gm),Wf=sf(/^data-[\-\w.\u00B7-\uFFFF]+$/),Zf=sf(/^aria-[\-\w]+$/),qf=sf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Gf=sf(/^(?:\w+script|data):/i),Yf=sf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g),Qf=sf(/^html$/i),Kf=sf(/^[a-z][.\w]*(-[.\w]+)+$/i);var Xf=Object.freeze({__proto__:null,ARIA_ATTR:Zf,ATTR_WHITESPACE:Yf,CUSTOM_ELEMENT:Kf,DATA_ATTR:Wf,DOCTYPE_NAME:Qf,ERB_EXPR:Uf,IS_ALLOWED_URI:qf,IS_SCRIPT_OR_DATA:Gf,MUSTACHE_EXPR:Vf,TMPLIT_EXPR:Bf});const Jf=function(){return"undefined"==typeof window?null:window};var ep=function e(){let t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Jf();const n=t=>e(t);if(n.version="3.3.1",n.removed=[],!t||!t.document||9!==t.document.nodeType||!t.Element)return n.isSupported=!1,n;let{document:r}=t;const i=r,a=i.currentScript,{DocumentFragment:o,HTMLTemplateElement:s,Node:l,Element:c,NodeFilter:u,NamedNodeMap:d=t.NamedNodeMap||t.MozNamedAttrMap,HTMLFormElement:h,DOMParser:f,trustedTypes:p}=t,m=c.prototype,g=Tf(m,"cloneNode"),v=Tf(m,"remove"),b=Tf(m,"nextSibling"),y=Tf(m,"childNodes"),C=Tf(m,"parentNode");if("function"==typeof s){const e=r.createElement("template");e.content&&e.content.ownerDocument&&(r=e.content.ownerDocument)}let _,w="";const{implementation:x,createNodeIterator:S,createDocumentFragment:E,getElementsByTagName:k}=r,{importNode:M}=i;let O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]};n.isSupported="function"==typeof ef&&"function"==typeof C&&x&&void 0!==x.createHTMLDocument;const{MUSTACHE_EXPR:j,ERB_EXPR:T,TMPLIT_EXPR:P,DATA_ATTR:D,ARIA_ATTR:A,IS_SCRIPT_OR_DATA:L,ATTR_WHITESPACE:I,CUSTOM_ELEMENT:N}=Xf;let{IS_ALLOWED_URI:R}=Xf,z=null;const F=Mf({},[...Pf,...Df,...Af,...If,...Rf]);let H=null;const $=Mf({},[...zf,...Ff,...Hf,...$f]);let V=Object.seal(lf(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}})),U=null,B=null;const W=Object.seal(lf(null,{tagCheck:{writable:!0,configurable:!1,enumerable:!0,value:null},attributeCheck:{writable:!0,configurable:!1,enumerable:!0,value:null}}));let Z=!0,q=!0,G=!1,Y=!0,Q=!1,K=!0,X=!1,J=!1,ee=!1,te=!1,ne=!1,re=!1,ie=!0,ae=!1,oe=!0,se=!1,le={},ce=null;const ue=Mf({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","noscript","plaintext","script","style","svg","template","thead","title","video","xmp"]);let de=null;const he=Mf({},["audio","video","img","source","image","track"]);let fe=null;const pe=Mf({},["alt","class","for","id","label","name","pattern","placeholder","role","summary","title","value","style","xmlns"]),me="http://www.w3.org/1998/Math/MathML",ge="http://www.w3.org/2000/svg",ve="http://www.w3.org/1999/xhtml";let be=ve,ye=!1,Ce=null;const _e=Mf({},[me,ge,ve],vf);let we=Mf({},["mi","mo","mn","ms","mtext"]),xe=Mf({},["annotation-xml"]);const Se=Mf({},["title","style","font","a","script"]);let Ee=null;const ke=["application/xhtml+xml","text/html"];let Me=null,Oe=null;const je=r.createElement("form"),Te=function(e){return e instanceof RegExp||e instanceof Function},Pe=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};if(!Oe||Oe!==e){if(e&&"object"==typeof e||(e={}),e=jf(e),Ee=-1===ke.indexOf(e.PARSER_MEDIA_TYPE)?"text/html":e.PARSER_MEDIA_TYPE,Me="application/xhtml+xml"===Ee?vf:gf,z=wf(e,"ALLOWED_TAGS")?Mf({},e.ALLOWED_TAGS,Me):F,H=wf(e,"ALLOWED_ATTR")?Mf({},e.ALLOWED_ATTR,Me):$,Ce=wf(e,"ALLOWED_NAMESPACES")?Mf({},e.ALLOWED_NAMESPACES,vf):_e,fe=wf(e,"ADD_URI_SAFE_ATTR")?Mf(jf(pe),e.ADD_URI_SAFE_ATTR,Me):pe,de=wf(e,"ADD_DATA_URI_TAGS")?Mf(jf(he),e.ADD_DATA_URI_TAGS,Me):he,ce=wf(e,"FORBID_CONTENTS")?Mf({},e.FORBID_CONTENTS,Me):ue,U=wf(e,"FORBID_TAGS")?Mf({},e.FORBID_TAGS,Me):jf({}),B=wf(e,"FORBID_ATTR")?Mf({},e.FORBID_ATTR,Me):jf({}),le=!!wf(e,"USE_PROFILES")&&e.USE_PROFILES,Z=!1!==e.ALLOW_ARIA_ATTR,q=!1!==e.ALLOW_DATA_ATTR,G=e.ALLOW_UNKNOWN_PROTOCOLS||!1,Y=!1!==e.ALLOW_SELF_CLOSE_IN_ATTR,Q=e.SAFE_FOR_TEMPLATES||!1,K=!1!==e.SAFE_FOR_XML,X=e.WHOLE_DOCUMENT||!1,te=e.RETURN_DOM||!1,ne=e.RETURN_DOM_FRAGMENT||!1,re=e.RETURN_TRUSTED_TYPE||!1,ee=e.FORCE_BODY||!1,ie=!1!==e.SANITIZE_DOM,ae=e.SANITIZE_NAMED_PROPS||!1,oe=!1!==e.KEEP_CONTENT,se=e.IN_PLACE||!1,R=e.ALLOWED_URI_REGEXP||qf,be=e.NAMESPACE||ve,we=e.MATHML_TEXT_INTEGRATION_POINTS||we,xe=e.HTML_INTEGRATION_POINTS||xe,V=e.CUSTOM_ELEMENT_HANDLING||{},e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.tagNameCheck)&&(V.tagNameCheck=e.CUSTOM_ELEMENT_HANDLING.tagNameCheck),e.CUSTOM_ELEMENT_HANDLING&&Te(e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck)&&(V.attributeNameCheck=e.CUSTOM_ELEMENT_HANDLING.attributeNameCheck),e.CUSTOM_ELEMENT_HANDLING&&"boolean"==typeof e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements&&(V.allowCustomizedBuiltInElements=e.CUSTOM_ELEMENT_HANDLING.allowCustomizedBuiltInElements),Q&&(q=!1),ne&&(te=!0),le&&(z=Mf({},Rf),H=[],!0===le.html&&(Mf(z,Pf),Mf(H,zf)),!0===le.svg&&(Mf(z,Df),Mf(H,Ff),Mf(H,$f)),!0===le.svgFilters&&(Mf(z,Af),Mf(H,Ff),Mf(H,$f)),!0===le.mathMl&&(Mf(z,If),Mf(H,Hf),Mf(H,$f))),e.ADD_TAGS&&("function"==typeof e.ADD_TAGS?W.tagCheck=e.ADD_TAGS:(z===F&&(z=jf(z)),Mf(z,e.ADD_TAGS,Me))),e.ADD_ATTR&&("function"==typeof e.ADD_ATTR?W.attributeCheck=e.ADD_ATTR:(H===$&&(H=jf(H)),Mf(H,e.ADD_ATTR,Me))),e.ADD_URI_SAFE_ATTR&&Mf(fe,e.ADD_URI_SAFE_ATTR,Me),e.FORBID_CONTENTS&&(ce===ue&&(ce=jf(ce)),Mf(ce,e.FORBID_CONTENTS,Me)),e.ADD_FORBID_CONTENTS&&(ce===ue&&(ce=jf(ce)),Mf(ce,e.ADD_FORBID_CONTENTS,Me)),oe&&(z["#text"]=!0),X&&Mf(z,["html","head","body"]),z.table&&(Mf(z,["tbody"]),delete U.tbody),e.TRUSTED_TYPES_POLICY){if("function"!=typeof e.TRUSTED_TYPES_POLICY.createHTML)throw Sf('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');if("function"!=typeof e.TRUSTED_TYPES_POLICY.createScriptURL)throw Sf('TRUSTED_TYPES_POLICY configuration option must provide a "createScriptURL" hook.');_=e.TRUSTED_TYPES_POLICY,w=_.createHTML("")}else void 0===_&&(_=function(e,t){if("object"!=typeof e||"function"!=typeof e.createPolicy)return null;let n=null;const r="data-tt-policy-suffix";t&&t.hasAttribute(r)&&(n=t.getAttribute(r));const i="dompurify"+(n?"#"+n:"");try{return e.createPolicy(i,{createHTML(e){return e},createScriptURL(e){return e}})}catch(e){return console.warn("TrustedTypes policy "+i+" could not be created."),null}}(p,a)),null!==_&&"string"==typeof w&&(w=_.createHTML(""));of&&of(e),Oe=e}},De=Mf({},[...Df,...Af,...Lf]),Ae=Mf({},[...If,...Nf]),Le=function(e){pf(n.removed,{element:e});try{C(e).removeChild(e)}catch(t){v(e)}},Ie=function(e,t){try{pf(n.removed,{attribute:t.getAttributeNode(e),from:t})}catch(e){pf(n.removed,{attribute:null,from:t})}if(t.removeAttribute(e),"is"===e)if(te||ne)try{Le(t)}catch(e){}else try{t.setAttribute(e,"")}catch(e){}},Ne=function(e){let t=null,n=null;if(ee)e="<remove></remove>"+e;else{const t=bf(e,/^[\r\n\t ]+/);n=t&&t[0]}"application/xhtml+xml"===Ee&&be===ve&&(e='<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>'+e+"</body></html>");const i=_?_.createHTML(e):e;if(be===ve)try{t=(new f).parseFromString(i,Ee)}catch(e){}if(!t||!t.documentElement){t=x.createDocument(be,"template",null);try{t.documentElement.innerHTML=ye?w:i}catch(e){}}const a=t.body||t.documentElement;return e&&n&&a.insertBefore(r.createTextNode(n),a.childNodes[0]||null),be===ve?k.call(t,X?"html":"body")[0]:X?t.documentElement:a},Re=function(e){return S.call(e.ownerDocument||e,e,u.SHOW_ELEMENT|u.SHOW_COMMENT|u.SHOW_TEXT|u.SHOW_PROCESSING_INSTRUCTION|u.SHOW_CDATA_SECTION,null)},ze=function(e){return e instanceof h&&("string"!=typeof e.nodeName||"string"!=typeof e.textContent||"function"!=typeof e.removeChild||!(e.attributes instanceof d)||"function"!=typeof e.removeAttribute||"function"!=typeof e.setAttribute||"string"!=typeof e.namespaceURI||"function"!=typeof e.insertBefore||"function"!=typeof e.hasChildNodes)},Fe=function(e){return"function"==typeof l&&e instanceof l};function He(e,t,r){df(e,e=>{e.call(n,t,r,Oe)})}const $e=function(e){let t=null;if(He(O.beforeSanitizeElements,e,null),ze(e))return Le(e),!0;const r=Me(e.nodeName);if(He(O.uponSanitizeElement,e,{tagName:r,allowedTags:z}),K&&e.hasChildNodes()&&!Fe(e.firstElementChild)&&xf(/<[/\w!]/g,e.innerHTML)&&xf(/<[/\w!]/g,e.textContent))return Le(e),!0;if(7===e.nodeType)return Le(e),!0;if(K&&8===e.nodeType&&xf(/<[/\w]/g,e.data))return Le(e),!0;if(!(W.tagCheck instanceof Function&&W.tagCheck(r))&&(!z[r]||U[r])){if(!U[r]&&Ue(r)){if(V.tagNameCheck instanceof RegExp&&xf(V.tagNameCheck,r))return!1;if(V.tagNameCheck instanceof Function&&V.tagNameCheck(r))return!1}if(oe&&!ce[r]){const t=C(e)||e.parentNode,n=y(e)||e.childNodes;if(n&&t)for(let r=n.length-1;r>=0;--r){const i=g(n[r],!0);i.__removalCount=(e.__removalCount||0)+1,t.insertBefore(i,b(e))}}return Le(e),!0}return e instanceof c&&!function(e){let t=C(e);t&&t.tagName||(t={namespaceURI:be,tagName:"template"});const n=gf(e.tagName),r=gf(t.tagName);return!!Ce[e.namespaceURI]&&(e.namespaceURI===ge?t.namespaceURI===ve?"svg"===n:t.namespaceURI===me?"svg"===n&&("annotation-xml"===r||we[r]):Boolean(De[n]):e.namespaceURI===me?t.namespaceURI===ve?"math"===n:t.namespaceURI===ge?"math"===n&&xe[r]:Boolean(Ae[n]):e.namespaceURI===ve?!(t.namespaceURI===ge&&!xe[r])&&!(t.namespaceURI===me&&!we[r])&&!Ae[n]&&(Se[n]||!De[n]):!("application/xhtml+xml"!==Ee||!Ce[e.namespaceURI]))}(e)?(Le(e),!0):"noscript"!==r&&"noembed"!==r&&"noframes"!==r||!xf(/<\/no(script|embed|frames)/i,e.innerHTML)?(Q&&3===e.nodeType&&(t=e.textContent,df([j,T,P],e=>{t=yf(t,e," ")}),e.textContent!==t&&(pf(n.removed,{element:e.cloneNode()}),e.textContent=t)),He(O.afterSanitizeElements,e,null),!1):(Le(e),!0)},Ve=function(e,t,n){if(ie&&("id"===t||"name"===t)&&(n in r||n in je))return!1;if(q&&!B[t]&&xf(D,t));else if(Z&&xf(A,t));else if(W.attributeCheck instanceof Function&&W.attributeCheck(t,e));else if(!H[t]||B[t]){if(!(Ue(e)&&(V.tagNameCheck instanceof RegExp&&xf(V.tagNameCheck,e)||V.tagNameCheck instanceof Function&&V.tagNameCheck(e))&&(V.attributeNameCheck instanceof RegExp&&xf(V.attributeNameCheck,t)||V.attributeNameCheck instanceof Function&&V.attributeNameCheck(t,e))||"is"===t&&V.allowCustomizedBuiltInElements&&(V.tagNameCheck instanceof RegExp&&xf(V.tagNameCheck,n)||V.tagNameCheck instanceof Function&&V.tagNameCheck(n))))return!1}else if(fe[t]);else if(xf(R,yf(n,I,"")));else if("src"!==t&&"xlink:href"!==t&&"href"!==t||"script"===e||0!==Cf(n,"data:")||!de[e])if(G&&!xf(L,yf(n,I,"")));else if(n)return!1;return!0},Ue=function(e){return"annotation-xml"!==e&&bf(e,N)},Be=function(e){He(O.beforeSanitizeAttributes,e,null);const{attributes:t}=e;if(!t||ze(e))return;const r={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:H,forceKeepAttr:void 0};let i=t.length;for(;i--;){const a=t[i],{name:o,namespaceURI:s,value:l}=a,c=Me(o),u=l;let d="value"===o?u:_f(u);if(r.attrName=c,r.attrValue=d,r.keepAttr=!0,r.forceKeepAttr=void 0,He(O.uponSanitizeAttribute,e,r),d=r.attrValue,!ae||"id"!==c&&"name"!==c||(Ie(o,e),d="user-content-"+d),K&&xf(/((--!?|])>)|<\/(style|title|textarea)/i,d)){Ie(o,e);continue}if("attributename"===c&&bf(d,"href")){Ie(o,e);continue}if(r.forceKeepAttr)continue;if(!r.keepAttr){Ie(o,e);continue}if(!Y&&xf(/\/>/i,d)){Ie(o,e);continue}Q&&df([j,T,P],e=>{d=yf(d,e," ")});const h=Me(e.nodeName);if(Ve(h,c,d)){if(_&&"object"==typeof p&&"function"==typeof p.getAttributeType)if(s);else switch(p.getAttributeType(h,c)){case"TrustedHTML":d=_.createHTML(d);break;case"TrustedScriptURL":d=_.createScriptURL(d)}if(d!==u)try{s?e.setAttributeNS(s,o,d):e.setAttribute(o,d),ze(e)?Le(e):ff(n.removed)}catch(t){Ie(o,e)}}else Ie(o,e)}He(O.afterSanitizeAttributes,e,null)},We=function e(t){let n=null;const r=Re(t);for(He(O.beforeSanitizeShadowDOM,t,null);n=r.nextNode();)He(O.uponSanitizeShadowNode,n,null),$e(n),Be(n),n.content instanceof o&&e(n.content);He(O.afterSanitizeShadowDOM,t,null)};return n.sanitize=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=null,a=null,s=null,c=null;if(ye=!e,ye&&(e="\x3c!--\x3e"),"string"!=typeof e&&!Fe(e)){if("function"!=typeof e.toString)throw Sf("toString is not a function");if("string"!=typeof(e=e.toString()))throw Sf("dirty is not a string, aborting")}if(!n.isSupported)return e;if(J||Pe(t),n.removed=[],"string"==typeof e&&(se=!1),se){if(e.nodeName){const t=Me(e.nodeName);if(!z[t]||U[t])throw Sf("root node is forbidden and cannot be sanitized in-place")}}else if(e instanceof l)r=Ne("\x3c!----\x3e"),a=r.ownerDocument.importNode(e,!0),1===a.nodeType&&"BODY"===a.nodeName||"HTML"===a.nodeName?r=a:r.appendChild(a);else{if(!te&&!Q&&!X&&-1===e.indexOf("<"))return _&&re?_.createHTML(e):e;if(r=Ne(e),!r)return te?null:re?w:""}r&&ee&&Le(r.firstChild);const u=Re(se?e:r);for(;s=u.nextNode();)$e(s),Be(s),s.content instanceof o&&We(s.content);if(se)return e;if(te){if(ne)for(c=E.call(r.ownerDocument);r.firstChild;)c.appendChild(r.firstChild);else c=r;return(H.shadowroot||H.shadowrootmode)&&(c=M.call(i,c,!0)),c}let d=X?r.outerHTML:r.innerHTML;return X&&z["!doctype"]&&r.ownerDocument&&r.ownerDocument.doctype&&r.ownerDocument.doctype.name&&xf(Qf,r.ownerDocument.doctype.name)&&(d="<!DOCTYPE "+r.ownerDocument.doctype.name+">\n"+d),Q&&df([j,T,P],e=>{d=yf(d,e," ")}),_&&re?_.createHTML(d):d},n.setConfig=function(){Pe(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}),J=!0},n.clearConfig=function(){Oe=null,J=!1},n.isValidAttribute=function(e,t,n){Oe||Pe({});const r=Me(e),i=Me(t);return Ve(r,i,n)},n.addHook=function(e,t){"function"==typeof t&&pf(O[e],t)},n.removeHook=function(e,t){if(void 0!==t){const n=hf(O[e],t);return-1===n?void 0:mf(O[e],n,1)[0]}return ff(O[e])},n.removeHooks=function(e){O[e]=[]},n.removeAllHooks=function(){O={afterSanitizeAttributes:[],afterSanitizeElements:[],afterSanitizeShadowDOM:[],beforeSanitizeAttributes:[],beforeSanitizeElements:[],beforeSanitizeShadowDOM:[],uponSanitizeAttribute:[],uponSanitizeElement:[],uponSanitizeShadowNode:[]}},n}();function tp(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return np(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)?np(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 np(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rp=function(e){return new Date(e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric"})},ip=function(e){return Object.entries(e).map(function(e){var t=tp(e,2);return{id:t[0],label:t[1]}})},ap=function(e){if(e instanceof Date){var t=e.getFullYear(),n=String(e.getMonth()+1).padStart(2,"0"),r=String(e.getDate()).padStart(2,"0");return"".concat(t,"-").concat(n,"-").concat(r)}if(/^\d{4}-\d{2}-\d{2}$/.test(e)){var i=tp(e.split("-"),3),a=i[0],o=i[1],s=i[2];return"".concat(s,"/").concat(o,"/").concat(a)}if(/^\d{2}\/\d{2}\/\d{4}$/.test(e)){var l=tp(e.split("/"),3),c=l[0],u=l[1],d=l[2];return"".concat(d,"-").concat(u,"-").concat(c)}var h=new Date(e),f=h.getFullYear(),p=String(h.getMonth()+1).padStart(2,"0"),m=String(h.getDate()).padStart(2,"0");return"".concat(f,"-").concat(p,"-").concat(m)};function op(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var sp=function(e){var t=e.value,r=void 0===t?"":t,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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return op(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)?op(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,n.useState)(!1),2),a=i[0],o=i[1];return n.createElement(Xd,{type:"button",className:"sui-input__input-copy",placement:"top",buttonProps:{icon:"Copy",colorScheme:"black",type:"tertiary",iconOnly:!0,iconSize:"sm"},onClick:function(){o(!0),function(e){var t,n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),n&&(null===(t=null===document||void 0===document?void 0:document.body)||void 0===t||t.removeChild(n))}(r),setTimeout(function(){return o(!1)},2e3)}},a?(0,Je.__)("URL copied"):(0,Je.__)("Copy url"))},lp=function(e){var t=e.countryName,r=e.countryCode,i=e.value,a=(i/e.total*100).toFixed(1);return n.createElement("tr",{className:"beehive-top-countries__row"},n.createElement("td",{className:"beehive-top-countries__cell beehive-top-countries__cell--country"},n.createElement("span",{className:"beehive-flag beehive-flag-".concat(r)}),n.createElement(Eh,{className:"sui-heading--h5",weight:"bold"},t)),n.createElement("td",{className:"beehive-top-countries__cell beehive-top-countries__cell--bar"},n.createElement("div",{className:"beehive-top-countries__bar"},n.createElement(GC,{_style:{width:"".concat(a,"%")},className:"beehive-top-countries__bar-fill"}))),n.createElement("td",{className:"beehive-top-countries__cell beehive-top-countries__cell--value"},n.createElement(Eh,{weight:"bold"},i)))},cp=({id:e,type:t="block",className:r="",children:i,isLoaded:a=!1,isInline:o=!1,isGrayScale:s=!1,size:l={width:"",height:""},_style:c={},_htmlProps:u={}})=>{let d=(0,n.useId)(),h=e||`sui-skeleton-${d}`,f=`sui-skeleton__${t} ${r}`,{width:p,height:m}=l,g={...p&&{width:`${p}`},...m&&{height:`${m}`},...c},{suiInlineClassname:v}=$a(g,f);if(a)return i;let b=Ka("sui-skeleton",{inline:o,grayscale:s},v);return(0,Ye.jsx)("div",{id:h,className:b,...co(u)})};function up(){return up=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},up.apply(null,arguments)}var dp=function(e){var t=e.type,r=void 0===t?"primary":t,i=e.label,a=e.value,o=e.change,s=e.changeType,l=e.color,c=e.onClick,u=e.isActive,d=e.isLoading,h=e.isLink,f=e.tooltipText,p=e.tooltipProps,m="primary"===r,g="up"===s,v="down"===s;return n.createElement($h,up({className:Ka("beehive-metric-card",{active:u})},c?{role:"button",tabIndex:0,onClick:function(){return null==c?void 0:c()},onKeyDown:function(e){return"Enter"===e.key&&(null==c?void 0:c())}}:{}),n.createElement($h,{className:"beehive-metric-header",direction:"row",alignItems:"center",spacing:4},m&&n.createElement(GC,{as:"span",className:"beehive-metric-square",_style:{backgroundColor:l||"#4C4C4C"}}),n.createElement(Eh,{as:"span",size:"sm",weight:"bold",uppercase:!0,className:"beehive-metric-label"},i),(p||f)&&n.createElement(Xd,up({type:"icon",icon:"Info",label:i,customWidth:200},p),f)),n.createElement($h,{direction:"row",alignItems:"center",spacing:4},d?n.createElement(cp,{size:{width:"100%",height:"28px"}}):n.createElement(n.Fragment,null,n.createElement(Eh,{as:"span",weight:"bold",className:"beehive-metric-value sui-heading--h4 ".concat(h&&"-"!==a?"sui-link":"")},a),o&&n.createElement(kh,{direction:g?"up":v?"down":"none",change:o||""}))))},hp=function(e){var t=e.loadingText,r=e.hasSpinner,i=void 0===r||r;return n.createElement($h,{className:"beehive-chart-loader",alignItems:"center",justify:"center",isFluid:!0},n.createElement($h,{className:"beehive-chart-loader--inner",direction:"row",spacing:8,alignItems:"center"},i&&n.createElement($h,null,n.createElement(Vc,{loaderSize:"sm"})),n.createElement(Eh,{weight:"bold",color:"#7F7F7F"},t||(0,Je.__)("Fetching data..."))))};
/*!
 * @kurkle/color v0.3.4
 * https://github.com/kurkle/color#readme
 * (c) 2024 Jukka Kurkela
 * Released under the MIT License
 */
function fp(e){return e+.5|0}const pp=(e,t,n)=>Math.max(Math.min(e,n),t);function mp(e){return pp(fp(2.55*e),0,255)}function gp(e){return pp(fp(255*e),0,255)}function vp(e){return pp(fp(e/2.55)/100,0,1)}function bp(e){return pp(fp(100*e),0,100)}const yp={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},Cp=[..."0123456789ABCDEF"],_p=e=>Cp[15&e],xp=e=>Cp[(240&e)>>4]+Cp[15&e],Sp=e=>(240&e)>>4==(15&e);const Ep=/^(hsla?|hwb|hsv)\(\s*([-+.e\d]+)(?:deg)?[\s,]+([-+.e\d]+)%[\s,]+([-+.e\d]+)%(?:[\s,]+([-+.e\d]+)(%)?)?\s*\)$/;function kp(e,t,n){const r=t*Math.min(n,1-n),i=(t,i=(t+e/30)%12)=>n-r*Math.max(Math.min(i-3,9-i,1),-1);return[i(0),i(8),i(4)]}function Mp(e,t,n){const r=(r,i=(r+e/60)%6)=>n-n*t*Math.max(Math.min(i,4-i,1),0);return[r(5),r(3),r(1)]}function Op(e,t,n){const r=kp(e,1,.5);let i;for(t+n>1&&(i=1/(t+n),t*=i,n*=i),i=0;i<3;i++)r[i]*=1-t-n,r[i]+=t;return r}function jp(e){const t=e.r/255,n=e.g/255,r=e.b/255,i=Math.max(t,n,r),a=Math.min(t,n,r),o=(i+a)/2;let s,l,c;return i!==a&&(c=i-a,l=o>.5?c/(2-i-a):c/(i+a),s=function(e,t,n,r,i){return e===i?(t-n)/r+(t<n?6:0):t===i?(n-e)/r+2:(e-t)/r+4}(t,n,r,c,i),s=60*s+.5),[0|s,l||0,o]}function Tp(e,t,n,r){return(Array.isArray(t)?e(t[0],t[1],t[2]):e(t,n,r)).map(gp)}function Pp(e,t,n){return Tp(kp,e,t,n)}function Dp(e){return(e%360+360)%360}const Ap={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"},Lp={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 Ip;const Np=/^rgba?\(\s*([-+.\d]+)(%)?[\s,]+([-+.e\d]+)(%)?[\s,]+([-+.e\d]+)(%)?(?:[\s,/]+([-+.e\d]+)(%)?)?\s*\)$/,Rp=e=>e<=.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055,zp=e=>e<=.04045?e/12.92:Math.pow((e+.055)/1.055,2.4);function Fp(e,t,n){if(e){let r=jp(e);r[t]=Math.max(0,Math.min(r[t]+r[t]*n,0===t?360:1)),r=Pp(r),e.r=r[0],e.g=r[1],e.b=r[2]}}function Hp(e,t){return e?Object.assign(t||{},e):e}function $p(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=gp(e[3]))):(t=Hp(e,{r:0,g:0,b:0,a:1})).a=gp(t.a),t}function Vp(e){return"r"===e.charAt(0)?function(e){const t=Np.exec(e);let n,r,i,a=255;if(t){if(t[7]!==n){const e=+t[7];a=t[8]?mp(e):pp(255*e,0,255)}return n=+t[1],r=+t[3],i=+t[5],n=255&(t[2]?mp(n):pp(n,0,255)),r=255&(t[4]?mp(r):pp(r,0,255)),i=255&(t[6]?mp(i):pp(i,0,255)),{r:n,g:r,b:i,a:a}}}(e):function(e){const t=Ep.exec(e);let n,r=255;if(!t)return;t[5]!==n&&(r=t[6]?mp(+t[5]):gp(+t[5]));const i=Dp(+t[2]),a=+t[3]/100,o=+t[4]/100;return n="hwb"===t[1]?function(e,t,n){return Tp(Op,e,t,n)}(i,a,o):"hsv"===t[1]?function(e,t,n){return Tp(Mp,e,t,n)}(i,a,o):Pp(i,a,o),{r:n[0],g:n[1],b:n[2],a:r}}(e)}class Up{constructor(e){if(e instanceof Up)return e;const t=typeof e;let n;var r,i,a;"object"===t?n=$p(e):"string"===t&&(a=(r=e).length,"#"===r[0]&&(4===a||5===a?i={r:255&17*yp[r[1]],g:255&17*yp[r[2]],b:255&17*yp[r[3]],a:5===a?17*yp[r[4]]:255}:7!==a&&9!==a||(i={r:yp[r[1]]<<4|yp[r[2]],g:yp[r[3]]<<4|yp[r[4]],b:yp[r[5]]<<4|yp[r[6]],a:9===a?yp[r[7]]<<4|yp[r[8]]:255})),n=i||function(e){Ip||(Ip=function(){const e={},t=Object.keys(Lp),n=Object.keys(Ap);let r,i,a,o,s;for(r=0;r<t.length;r++){for(o=s=t[r],i=0;i<n.length;i++)a=n[i],s=s.replace(a,Ap[a]);a=parseInt(Lp[o],16),e[s]=[a>>16&255,a>>8&255,255&a]}return e}(),Ip.transparent=[0,0,0,0]);const t=Ip[e.toLowerCase()];return t&&{r:t[0],g:t[1],b:t[2],a:4===t.length?t[3]:255}}(e)||Vp(e)),this._rgb=n,this._valid=!!n}get valid(){return this._valid}get rgb(){var e=Hp(this._rgb);return e&&(e.a=vp(e.a)),e}set rgb(e){this._rgb=$p(e)}rgbString(){return this._valid?(e=this._rgb)&&(e.a<255?`rgba(${e.r}, ${e.g}, ${e.b}, ${vp(e.a)})`:`rgb(${e.r}, ${e.g}, ${e.b})`):void 0;var e}hexString(){return this._valid?(e=this._rgb,t=(e=>Sp(e.r)&&Sp(e.g)&&Sp(e.b)&&Sp(e.a))(e)?_p:xp,e?"#"+t(e.r)+t(e.g)+t(e.b)+((e,t)=>e<255?t(e):"")(e.a,t):void 0):void 0;var e,t}hslString(){return this._valid?function(e){if(!e)return;const t=jp(e),n=t[0],r=bp(t[1]),i=bp(t[2]);return e.a<255?`hsla(${n}, ${r}%, ${i}%, ${vp(e.a)})`:`hsl(${n}, ${r}%, ${i}%)`}(this._rgb):void 0}mix(e,t){if(e){const n=this.rgb,r=e.rgb;let i;const a=t===i?.5:t,o=2*a-1,s=n.a-r.a,l=((o*s===-1?o:(o+s)/(1+o*s))+1)/2;i=1-l,n.r=255&l*n.r+i*r.r+.5,n.g=255&l*n.g+i*r.g+.5,n.b=255&l*n.b+i*r.b+.5,n.a=a*n.a+(1-a)*r.a,this.rgb=n}return this}interpolate(e,t){return e&&(this._rgb=function(e,t,n){const r=zp(vp(e.r)),i=zp(vp(e.g)),a=zp(vp(e.b));return{r:gp(Rp(r+n*(zp(vp(t.r))-r))),g:gp(Rp(i+n*(zp(vp(t.g))-i))),b:gp(Rp(a+n*(zp(vp(t.b))-a))),a:e.a+n*(t.a-e.a)}}(this._rgb,e._rgb,t)),this}clone(){return new Up(this.rgb)}alpha(e){return this._rgb.a=gp(e),this}clearer(e){return this._rgb.a*=1-e,this}greyscale(){const e=this._rgb,t=fp(.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 Fp(this._rgb,2,e),this}darken(e){return Fp(this._rgb,2,-e),this}saturate(e){return Fp(this._rgb,1,e),this}desaturate(e){return Fp(this._rgb,1,-e),this}rotate(e){return function(e,t){var n=jp(e);n[0]=Dp(n[0]+t),n=Pp(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 Bp(){}const Wp=(()=>{let e=0;return()=>e++})();function Zp(e){return null==e}function qp(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 Gp(e){return null!==e&&"[object Object]"===Object.prototype.toString.call(e)}function Yp(e){return("number"==typeof e||e instanceof Number)&&isFinite(+e)}function Qp(e,t){return Yp(e)?e:t}function Kp(e,t){return void 0===e?t:e}const Xp=(e,t)=>"string"==typeof e&&e.endsWith("%")?parseFloat(e)/100*t:+e;function Jp(e,t,n){if(e&&"function"==typeof e.call)return e.apply(n,t)}function em(e,t,n,r){let i,a,o;if(qp(e))if(a=e.length,r)for(i=a-1;i>=0;i--)t.call(n,e[i],i);else for(i=0;i<a;i++)t.call(n,e[i],i);else if(Gp(e))for(o=Object.keys(e),a=o.length,i=0;i<a;i++)t.call(n,e[o[i]],o[i])}function tm(e,t){let n,r,i,a;if(!e||!t||e.length!==t.length)return!1;for(n=0,r=e.length;n<r;++n)if(i=e[n],a=t[n],i.datasetIndex!==a.datasetIndex||i.index!==a.index)return!1;return!0}function nm(e){if(qp(e))return e.map(nm);if(Gp(e)){const t=Object.create(null),n=Object.keys(e),r=n.length;let i=0;for(;i<r;++i)t[n[i]]=nm(e[n[i]]);return t}return e}function rm(e){return-1===["__proto__","prototype","constructor"].indexOf(e)}function im(e,t,n,r){if(!rm(e))return;const i=t[e],a=n[e];Gp(i)&&Gp(a)?am(i,a,r):t[e]=nm(a)}function am(e,t,n){const r=qp(t)?t:[t],i=r.length;if(!Gp(e))return e;const a=(n=n||{}).merger||im;let o;for(let t=0;t<i;++t){if(o=r[t],!Gp(o))continue;const i=Object.keys(o);for(let t=0,r=i.length;t<r;++t)a(i[t],e,o,n)}return e}function om(e,t){return am(e,t,{merger:sm})}function sm(e,t,n){if(!rm(e))return;const r=t[e],i=n[e];Gp(r)&&Gp(i)?om(r,i):Object.prototype.hasOwnProperty.call(t,e)||(t[e]=nm(i))}const lm={"":e=>e,x:e=>e.x,y:e=>e.y};function cm(e,t){const n=lm[t]||(lm[t]=function(e){const t=function(e){const t=e.split("."),n=[];let r="";for(const e of t)r+=e,r.endsWith("\\")?r=r.slice(0,-1)+".":(n.push(r),r="");return n}(e);return e=>{for(const n of t){if(""===n)break;e=e&&e[n]}return e}}(t));return n(e)}function um(e){return e.charAt(0).toUpperCase()+e.slice(1)}const dm=e=>void 0!==e,hm=e=>"function"==typeof e,fm=(e,t)=>{if(e.size!==t.size)return!1;for(const n of e)if(!t.has(n))return!1;return!0},pm=Math.PI,mm=2*pm,gm=mm+pm,vm=Number.POSITIVE_INFINITY,bm=pm/180,ym=pm/2,Cm=pm/4,_m=2*pm/3,wm=Math.log10,xm=Math.sign;function Sm(e,t,n){return Math.abs(e-t)<n}function Em(e){const t=Math.round(e);e=Sm(e,t,e/1e3)?t:e;const n=Math.pow(10,Math.floor(wm(e))),r=e/n;return(r<=1?1:r<=2?2:r<=5?5:10)*n}function km(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 Mm(e){return e*(pm/180)}function Om(e){if(!Yp(e))return;let t=1,n=0;for(;Math.round(e*t)/t!==e;)t*=10,n++;return n}function jm(e,t){const n=t.x-e.x,r=t.y-e.y,i=Math.sqrt(n*n+r*r);let a=Math.atan2(r,n);return a<-.5*pm&&(a+=mm),{angle:a,distance:i}}function Tm(e,t){return Math.sqrt(Math.pow(t.x-e.x,2)+Math.pow(t.y-e.y,2))}function Pm(e,t){return(e-t+gm)%mm-pm}function Dm(e){return(e%mm+mm)%mm}function Am(e,t,n,r){const i=Dm(e),a=Dm(t),o=Dm(n),s=Dm(a-i),l=Dm(o-i),c=Dm(i-a),u=Dm(i-o);return i===a||i===o||r&&a===o||s>l&&c<u}function Lm(e,t,n){return Math.max(t,Math.min(n,e))}function Im(e,t,n,r=1e-6){return e>=Math.min(t,n)-r&&e<=Math.max(t,n)+r}function Nm(e,t,n){n=n||(n=>e[n]<t);let r,i=e.length-1,a=0;for(;i-a>1;)r=a+i>>1,n(r)?a=r:i=r;return{lo:a,hi:i}}const Rm=(e,t,n,r)=>Nm(e,n,r?r=>{const i=e[r][t];return i<n||i===n&&e[r+1][t]===n}:r=>e[r][t]<n),zm=(e,t,n)=>Nm(e,n,r=>e[r][t]>=n),Fm=["push","pop","shift","splice","unshift"];function Hm(e,t){const n=e._chartjs;if(!n)return;const r=n.listeners,i=r.indexOf(t);-1!==i&&r.splice(i,1),r.length>0||(Fm.forEach(t=>{delete e[t]}),delete e._chartjs)}const $m="undefined"==typeof window?function(e){return e()}:window.requestAnimationFrame;function Vm(e,t){let n=[],r=!1;return function(...i){n=i,r||(r=!0,$m.call(window,()=>{r=!1,e.apply(t,n)}))}}const Um=e=>"start"===e?"left":"end"===e?"right":"center",Bm=(e,t,n)=>"start"===e?t:"end"===e?n:(t+n)/2;const Wm=e=>0===e||1===e,Zm=(e,t,n)=>-Math.pow(2,10*(e-=1))*Math.sin((e-t)*mm/n),qm=(e,t,n)=>Math.pow(2,-10*e)*Math.sin((e-t)*mm/n)+1,Gm={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*ym),easeOutSine:e=>Math.sin(e*ym),easeInOutSine:e=>-.5*(Math.cos(pm*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=>Wm(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=>Wm(e)?e:Zm(e,.075,.3),easeOutElastic:e=>Wm(e)?e:qm(e,.075,.3),easeInOutElastic(e){const t=.1125;return Wm(e)?e:e<.5?.5*Zm(2*e,t,.45):.5+.5*qm(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-Gm.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*Gm.easeInBounce(2*e):.5*Gm.easeOutBounce(2*e-1)+.5};function Ym(e){if(e&&"object"==typeof e){const t=e.toString();return"[object CanvasPattern]"===t||"[object CanvasGradient]"===t}return!1}function Qm(e){return Ym(e)?e:new Up(e)}function Km(e){return Ym(e)?e:new Up(e).saturate(.5).darken(.1).hexString()}const Xm=["x","y","borderWidth","radius","tension"],Jm=["color","borderColor","backgroundColor"],eg=new Map;function tg(e,t,n){return function(e,t){t=t||{};const n=e+JSON.stringify(t);let r=eg.get(n);return r||(r=new Intl.NumberFormat(e,t),eg.set(n,r)),r}(t,n).format(e)}const ng={values(e){return qp(e)?e:""+e},numeric(e,t,n){if(0===e)return"0";const r=this.chart.options.locale;let i,a=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)&&(i="scientific"),a=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 o=wm(Math.abs(a)),s=isNaN(o)?1:Math.max(Math.min(-1*Math.floor(o),20),0),l={notation:i,minimumFractionDigits:s,maximumFractionDigits:s};return Object.assign(l,this.options.ticks.format),tg(e,r,l)},logarithmic(e,t,n){if(0===e)return"0";const r=n[t].significand||e/Math.pow(10,Math.floor(wm(e)));return[1,2,3,5,10,15].includes(r)||t>.8*n.length?ng.numeric.call(this,e,t,n):""}};var rg={formatters:ng};const ig=Object.create(null),ag=Object.create(null);function og(e,t){if(!t)return e;const n=t.split(".");for(let t=0,r=n.length;t<r;++t){const r=n[t];e=e[r]||(e[r]=Object.create(null))}return e}function sg(e,t,n){return"string"==typeof t?am(og(e,t),n):am(og(e,""),t)}class lg{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)=>Km(t.backgroundColor),this.hoverBorderColor=(e,t)=>Km(t.borderColor),this.hoverColor=(e,t)=>Km(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 sg(this,e,t)}get(e){return og(this,e)}describe(e,t){return sg(ag,e,t)}override(e,t){return sg(ig,e,t)}route(e,t,n,r){const i=og(this,e),a=og(this,n),o="_"+t;Object.defineProperties(i,{[o]:{value:i[t],writable:!0},[t]:{enumerable:!0,get(){const e=this[o],t=a[r];return Gp(e)?Object.assign({},t,e):Kp(e,t)},set(e){this[o]=e}}})}apply(e){e.forEach(e=>e(this))}}var cg=new lg({_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:Jm},numbers:{type:"number",properties:Xm}}),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:rg.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 ug(e,t,n,r,i){let a=t[i];return a||(a=t[i]=e.measureText(i).width,n.push(i)),a>r&&(r=a),r}function dg(e,t,n){const r=e.currentDevicePixelRatio,i=0!==n?Math.max(n/2,.5):0;return Math.round((t-i)*r)/r+i}function hg(e,t){(t||e)&&((t=t||e.getContext("2d")).save(),t.resetTransform(),t.clearRect(0,0,e.width,e.height),t.restore())}function fg(e,t,n,r){pg(e,t,n,r,null)}function pg(e,t,n,r,i){let a,o,s,l,c,u,d,h;const f=t.pointStyle,p=t.rotation,m=t.radius;let g=(p||0)*bm;if(f&&"object"==typeof f&&(a=f.toString(),"[object HTMLImageElement]"===a||"[object HTMLCanvasElement]"===a))return e.save(),e.translate(n,r),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:i?e.ellipse(n,r,i/2,m,0,0,mm):e.arc(n,r,m,0,mm),e.closePath();break;case"triangle":u=i?i/2:m,e.moveTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=_m,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),g+=_m,e.lineTo(n+Math.sin(g)*u,r-Math.cos(g)*m),e.closePath();break;case"rectRounded":c=.516*m,l=m-c,o=Math.cos(g+Cm)*l,d=Math.cos(g+Cm)*(i?i/2-c:l),s=Math.sin(g+Cm)*l,h=Math.sin(g+Cm)*(i?i/2-c:l),e.arc(n-d,r-s,c,g-pm,g-ym),e.arc(n+h,r-o,c,g-ym,g),e.arc(n+d,r+s,c,g,g+ym),e.arc(n-h,r+o,c,g+ym,g+pm),e.closePath();break;case"rect":if(!p){l=Math.SQRT1_2*m,u=i?i/2:l,e.rect(n-u,r-l,2*u,2*l);break}g+=Cm;case"rectRot":d=Math.cos(g)*(i?i/2:m),o=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(i?i/2:m),e.moveTo(n-d,r-s),e.lineTo(n+h,r-o),e.lineTo(n+d,r+s),e.lineTo(n-h,r+o),e.closePath();break;case"crossRot":g+=Cm;case"cross":d=Math.cos(g)*(i?i/2:m),o=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(i?i/2:m),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+h,r-o),e.lineTo(n-h,r+o);break;case"star":d=Math.cos(g)*(i?i/2:m),o=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(i?i/2:m),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+h,r-o),e.lineTo(n-h,r+o),g+=Cm,d=Math.cos(g)*(i?i/2:m),o=Math.cos(g)*m,s=Math.sin(g)*m,h=Math.sin(g)*(i?i/2:m),e.moveTo(n-d,r-s),e.lineTo(n+d,r+s),e.moveTo(n+h,r-o),e.lineTo(n-h,r+o);break;case"line":o=i?i/2:Math.cos(g)*m,s=Math.sin(g)*m,e.moveTo(n-o,r-s),e.lineTo(n+o,r+s);break;case"dash":e.moveTo(n,r),e.lineTo(n+Math.cos(g)*(i?i/2:m),r+Math.sin(g)*m);break;case!1:e.closePath()}e.fill(),t.borderWidth>0&&e.stroke()}}function mg(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 gg(e,t){e.save(),e.beginPath(),e.rect(t.left,t.top,t.right-t.left,t.bottom-t.top),e.clip()}function vg(e){e.restore()}function bg(e,t,n,r,i){if(!t)return e.lineTo(n.x,n.y);if("middle"===i){const r=(t.x+n.x)/2;e.lineTo(r,t.y),e.lineTo(r,n.y)}else"after"===i!=!!r?e.lineTo(t.x,n.y):e.lineTo(n.x,t.y);e.lineTo(n.x,n.y)}function yg(e,t,n,r){if(!t)return e.lineTo(n.x,n.y);e.bezierCurveTo(r?t.cp1x:t.cp2x,r?t.cp1y:t.cp2y,r?n.cp2x:n.cp1x,r?n.cp2y:n.cp1y,n.x,n.y)}function Cg(e,t,n,r,i){if(i.strikethrough||i.underline){const a=e.measureText(r),o=t-a.actualBoundingBoxLeft,s=t+a.actualBoundingBoxRight,l=n-a.actualBoundingBoxAscent,c=n+a.actualBoundingBoxDescent,u=i.strikethrough?(l+c)/2:c;e.strokeStyle=e.fillStyle,e.beginPath(),e.lineWidth=i.decorationWidth||2,e.moveTo(o,u),e.lineTo(s,u),e.stroke()}}function _g(e,t){const n=e.fillStyle;e.fillStyle=t.color,e.fillRect(t.left,t.top,t.width,t.height),e.fillStyle=n}function wg(e,t,n,r,i,a={}){const o=qp(t)?t:[t],s=a.strokeWidth>0&&""!==a.strokeColor;let l,c;for(e.save(),e.font=i.string,function(e,t){t.translation&&e.translate(t.translation[0],t.translation[1]),Zp(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,a),l=0;l<o.length;++l)c=o[l],a.backdrop&&_g(e,a.backdrop),s&&(a.strokeColor&&(e.strokeStyle=a.strokeColor),Zp(a.strokeWidth)||(e.lineWidth=a.strokeWidth),e.strokeText(c,n,r,a.maxWidth)),e.fillText(c,n,r,a.maxWidth),Cg(e,n,r,c,a),r+=Number(i.lineHeight);e.restore()}function xg(e,t){const{x:n,y:r,w:i,h:a,radius:o}=t;e.arc(n+o.topLeft,r+o.topLeft,o.topLeft,1.5*pm,pm,!0),e.lineTo(n,r+a-o.bottomLeft),e.arc(n+o.bottomLeft,r+a-o.bottomLeft,o.bottomLeft,pm,ym,!0),e.lineTo(n+i-o.bottomRight,r+a),e.arc(n+i-o.bottomRight,r+a-o.bottomRight,o.bottomRight,ym,0,!0),e.lineTo(n+i,r+o.topRight),e.arc(n+i-o.topRight,r+o.topRight,o.topRight,0,-ym,!0),e.lineTo(n+o.topLeft,r)}const Sg=/^(normal|(\d+(?:\.\d+)?)(px|em|%)?)$/,Eg=/^(normal|italic|initial|inherit|unset|(oblique( -?[0-9]?[0-9]deg)?))$/;function kg(e,t){const n=(""+e).match(Sg);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 Mg=e=>+e||0;function Og(e,t){const n={},r=Gp(t),i=r?Object.keys(t):t,a=Gp(e)?r?n=>Kp(e[n],e[t[n]]):t=>e[t]:()=>e;for(const e of i)n[e]=Mg(a(e));return n}function jg(e){return Og(e,["topLeft","topRight","bottomLeft","bottomRight"])}function Tg(e){const t=function(e){return Og(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 Pg(e,t){e=e||{},t=t||cg.font;let n=Kp(e.size,t.size);"string"==typeof n&&(n=parseInt(n,10));let r=Kp(e.style,t.style);r&&!(""+r).match(Eg)&&(console.warn('Invalid font style specified: "'+r+'"'),r=void 0);const i={family:Kp(e.family,t.family),lineHeight:kg(Kp(e.lineHeight,t.lineHeight),n),size:n,style:r,weight:Kp(e.weight,t.weight),string:""};return i.string=function(e){return!e||Zp(e.size)||Zp(e.family)?null:(e.style?e.style+" ":"")+(e.weight?e.weight+" ":"")+e.size+"px "+e.family}(i),i}function Dg(e,t,n,r){let i,a,o,s=!0;for(i=0,a=e.length;i<a;++i)if(o=e[i],void 0!==o&&(void 0!==t&&"function"==typeof o&&(o=o(t),s=!1),void 0!==n&&qp(o)&&(o=o[n%o.length],s=!1),void 0!==o))return r&&!s&&(r.cacheable=!1),o}function Ag(e,t){return Object.assign(Object.create(e),t)}function Lg(e,t=[""],n,r,i=()=>e[0]){const a=n||e;void 0===r&&(r=Wg("_fallback",e));const o={[Symbol.toStringTag]:"Object",_cacheable:!0,_scopes:e,_rootScopes:a,_fallback:r,_getTarget:i,override:n=>Lg([n,...e],t,a,r)};return new Proxy(o,{deleteProperty(t,n){return delete t[n],delete t._keys,delete e[0][n],!0},get(n,r){return Fg(n,r,()=>function(e,t,n,r){let i;for(const a of t)if(i=Wg(Rg(a,e),n),void 0!==i)return zg(e,i)?Ug(n,r,e,i):i}(r,t,e,n))},getOwnPropertyDescriptor(e,t){return Reflect.getOwnPropertyDescriptor(e._scopes[0],t)},getPrototypeOf(){return Reflect.getPrototypeOf(e[0])},has(e,t){return Zg(e).includes(t)},ownKeys(e){return Zg(e)},set(e,t,n){const r=e._storage||(e._storage=i());return e[t]=r[t]=n,delete e._keys,!0}})}function Ig(e,t,n,r){const i={_cacheable:!1,_proxy:e,_context:t,_subProxy:n,_stack:new Set,_descriptors:Ng(e,r),setContext:t=>Ig(e,t,n,r),override:i=>Ig(e.override(i),t,n,r)};return new Proxy(i,{deleteProperty(t,n){return delete t[n],delete e[n],!0},get(e,t,n){return Fg(e,t,()=>function(e,t,n){const{_proxy:r,_context:i,_subProxy:a,_descriptors:o}=e;let s=r[t];return hm(s)&&o.isScriptable(t)&&(s=function(e,t,n,r){const{_proxy:i,_context:a,_subProxy:o,_stack:s}=n;if(s.has(e))throw new Error("Recursion detected: "+Array.from(s).join("->")+"->"+e);s.add(e);let l=t(a,o||r);return s.delete(e),zg(e,l)&&(l=Ug(i._scopes,i,e,l)),l}(t,s,e,n)),qp(s)&&s.length&&(s=function(e,t,n,r){const{_proxy:i,_context:a,_subProxy:o,_descriptors:s}=n;if(void 0!==a.index&&r(e))return t[a.index%t.length];if(Gp(t[0])){const n=t,r=i._scopes.filter(e=>e!==n);t=[];for(const l of n){const n=Ug(r,i,e,l);t.push(Ig(n,a,o&&o[e],s))}}return t}(t,s,e,o.isIndexable)),zg(t,s)&&(s=Ig(s,i,a&&a[t],o)),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,r){return e[n]=r,delete t[n],!0}})}function Ng(e,t={scriptable:!0,indexable:!0}){const{_scriptable:n=t.scriptable,_indexable:r=t.indexable,_allKeys:i=t.allKeys}=e;return{allKeys:i,scriptable:n,indexable:r,isScriptable:hm(n)?n:()=>n,isIndexable:hm(r)?r:()=>r}}const Rg=(e,t)=>e?e+um(t):t,zg=(e,t)=>Gp(t)&&"adapters"!==e&&(null===Object.getPrototypeOf(t)||t.constructor===Object);function Fg(e,t,n){if(Object.prototype.hasOwnProperty.call(e,t)||"constructor"===t)return e[t];const r=n();return e[t]=r,r}function Hg(e,t,n){return hm(e)?e(t,n):e}const $g=(e,t)=>!0===e?t:"string"==typeof e?cm(t,e):void 0;function Vg(e,t,n,r,i){for(const a of t){const t=$g(n,a);if(t){e.add(t);const a=Hg(t._fallback,n,i);if(void 0!==a&&a!==n&&a!==r)return a}else if(!1===t&&void 0!==r&&n!==r)return null}return!1}function Ug(e,t,n,r){const i=t._rootScopes,a=Hg(t._fallback,n,r),o=[...e,...i],s=new Set;s.add(r);let l=Bg(s,o,n,a||n,r);return null!==l&&(void 0===a||a===n||(l=Bg(s,o,a,l,r),null!==l))&&Lg(Array.from(s),[""],i,a,()=>function(e,t,n){const r=e._getTarget();t in r||(r[t]={});const i=r[t];return qp(i)&&Gp(n)?n:i||{}}(t,n,r))}function Bg(e,t,n,r,i){for(;n;)n=Vg(e,t,n,r,i);return n}function Wg(e,t){for(const n of t){if(!n)continue;const t=n[e];if(void 0!==t)return t}}function Zg(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 qg=Number.EPSILON||1e-14,Gg=(e,t)=>t<e.length&&!e[t].skip&&e[t],Yg=e=>"x"===e?"y":"x";function Qg(e,t,n,r){const i=e.skip?t:e,a=t,o=n.skip?t:n,s=Tm(a,i),l=Tm(o,a);let c=s/(s+l),u=l/(s+l);c=isNaN(c)?0:c,u=isNaN(u)?0:u;const d=r*c,h=r*u;return{previous:{x:a.x-d*(o.x-i.x),y:a.y-d*(o.y-i.y)},next:{x:a.x+h*(o.x-i.x),y:a.y+h*(o.y-i.y)}}}function Kg(e,t,n){return Math.max(Math.min(e,n),t)}function Xg(e,t,n,r,i){let a,o,s,l;if(t.spanGaps&&(e=e.filter(e=>!e.skip)),"monotone"===t.cubicInterpolationMode)!function(e,t="x"){const n=Yg(t),r=e.length,i=Array(r).fill(0),a=Array(r);let o,s,l,c=Gg(e,0);for(o=0;o<r;++o)if(s=l,l=c,c=Gg(e,o+1),l){if(c){const e=c[t]-l[t];i[o]=0!==e?(c[n]-l[n])/e:0}a[o]=s?c?xm(i[o-1])!==xm(i[o])?0:(i[o-1]+i[o])/2:i[o-1]:i[o]}!function(e,t,n){const r=e.length;let i,a,o,s,l,c=Gg(e,0);for(let u=0;u<r-1;++u)l=c,c=Gg(e,u+1),l&&c&&(Sm(t[u],0,qg)?n[u]=n[u+1]=0:(i=n[u]/t[u],a=n[u+1]/t[u],s=Math.pow(i,2)+Math.pow(a,2),s<=9||(o=3/Math.sqrt(s),n[u]=i*o*t[u],n[u+1]=a*o*t[u])))}(e,i,a),function(e,t,n="x"){const r=Yg(n),i=e.length;let a,o,s,l=Gg(e,0);for(let c=0;c<i;++c){if(o=s,s=l,l=Gg(e,c+1),!s)continue;const i=s[n],u=s[r];o&&(a=(i-o[n])/3,s[`cp1${n}`]=i-a,s[`cp1${r}`]=u-a*t[c]),l&&(a=(l[n]-i)/3,s[`cp2${n}`]=i+a,s[`cp2${r}`]=u+a*t[c])}}(e,a,t)}(e,i);else{let n=r?e[e.length-1]:e[0];for(a=0,o=e.length;a<o;++a)s=e[a],l=Qg(n,s,e[Math.min(a+1,o-(r?0:1))%o],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,r,i,a,o,s=mg(e[0],t);for(n=0,r=e.length;n<r;++n)o=a,a=s,s=n<r-1&&mg(e[n+1],t),a&&(i=e[n],o&&(i.cp1x=Kg(i.cp1x,t.left,t.right),i.cp1y=Kg(i.cp1y,t.top,t.bottom)),s&&(i.cp2x=Kg(i.cp2x,t.left,t.right),i.cp2y=Kg(i.cp2y,t.top,t.bottom)))}(e,n)}function Jg(){return"undefined"!=typeof window&&"undefined"!=typeof document}function ev(e){let t=e.parentNode;return t&&"[object ShadowRoot]"===t.toString()&&(t=t.host),t}function tv(e,t,n){let r;return"string"==typeof e?(r=parseInt(e,10),-1!==e.indexOf("%")&&(r=r/100*t.parentNode[n])):r=e,r}const nv=e=>e.ownerDocument.defaultView.getComputedStyle(e,null),rv=["top","right","bottom","left"];function iv(e,t,n){const r={};n=n?"-"+n:"";for(let i=0;i<4;i++){const a=rv[i];r[a]=parseFloat(e[t+"-"+a+n])||0}return r.width=r.left+r.right,r.height=r.top+r.bottom,r}function av(e,t){if("native"in e)return e;const{canvas:n,currentDevicePixelRatio:r}=t,i=nv(n),a="border-box"===i.boxSizing,o=iv(i,"padding"),s=iv(i,"border","width"),{x:l,y:c,box:u}=function(e,t){const n=e.touches,r=n&&n.length?n[0]:e,{offsetX:i,offsetY:a}=r;let o,s,l=!1;if(((e,t,n)=>(e>0||t>0)&&(!n||!n.shadowRoot))(i,a,e.target))o=i,s=a;else{const e=t.getBoundingClientRect();o=r.clientX-e.left,s=r.clientY-e.top,l=!0}return{x:o,y:s,box:l}}(e,n),d=o.left+(u&&s.left),h=o.top+(u&&s.top);let{width:f,height:p}=t;return a&&(f-=o.width+s.width,p-=o.height+s.height),{x:Math.round((l-d)/f*n.width/r),y:Math.round((c-h)/p*n.height/r)}}const ov=e=>Math.round(10*e)/10;function sv(e,t,n){const r=t||1,i=ov(e.height*r),a=ov(e.width*r);e.height=ov(e.height),e.width=ov(e.width);const o=e.canvas;return o.style&&(n||!o.style.height&&!o.style.width)&&(o.style.height=`${e.height}px`,o.style.width=`${e.width}px`),(e.currentDevicePixelRatio!==r||o.height!==i||o.width!==a)&&(e.currentDevicePixelRatio=r,o.height=i,o.width=a,e.ctx.setTransform(r,0,0,r,0,0),!0)}const lv=function(){let e=!1;try{const t={get passive(){return e=!0,!1}};Jg()&&(window.addEventListener("test",null,t),window.removeEventListener("test",null,t))}catch(e){}return e}();function cv(e,t){const n=function(e,t){return nv(e).getPropertyValue(t)}(e,t),r=n&&n.match(/^(\d+)(\.\d+)?px$/);return r?+r[1]:void 0}function uv(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:e.y+n*(t.y-e.y)}}function dv(e,t,n,r){return{x:e.x+n*(t.x-e.x),y:"middle"===r?n<.5?e.y:t.y:"after"===r?n<1?e.y:t.y:n>0?t.y:e.y}}function hv(e,t,n,r){const i={x:e.cp2x,y:e.cp2y},a={x:t.cp1x,y:t.cp1y},o=uv(e,i,n),s=uv(i,a,n),l=uv(a,t,n),c=uv(o,s,n),u=uv(s,l,n);return uv(c,u,n)}function fv(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 pv(e,t){let n,r;"ltr"!==t&&"rtl"!==t||(n=e.canvas.style,r=[n.getPropertyValue("direction"),n.getPropertyPriority("direction")],n.setProperty("direction",t,"important"),e.prevTextDirection=r)}function mv(e,t){void 0!==t&&(delete e.prevTextDirection,e.canvas.style.setProperty("direction",t[0],t[1]))}function gv(e){return"angle"===e?{between:Am,compare:Pm,normalize:Dm}:{between:Im,compare:(e,t)=>e-t,normalize:e=>e}}function vv({start:e,end:t,count:n,loop:r,style:i}){return{start:e%n,end:t%n,loop:r&&(t-e+1)%n==0,style:i}}function bv(e,t,n){if(!n)return[e];const{property:r,start:i,end:a}=n,o=t.length,{compare:s,between:l,normalize:c}=gv(r),{start:u,end:d,loop:h,style:f}=function(e,t,n){const{property:r,start:i,end:a}=n,{between:o,normalize:s}=gv(r),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&&o(s(t[d%l][r]),i,a);++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,v,b=!1,y=null;const C=()=>b||l(i,v,m)&&0!==s(i,v),_=()=>!b||0===s(a,m)||l(a,v,m);for(let e=u,n=u;e<=d;++e)g=t[e%o],g.skip||(m=c(g[r]),m!==v&&(b=l(m,i,a),null===y&&C()&&(y=0===s(m,i)?e:n),null!==y&&_()&&(p.push(vv({start:y,end:e,loop:h,count:o,style:f})),y=null),n=e,v=m));return null!==y&&p.push(vv({start:y,end:d,loop:h,count:o,style:f})),p}function yv(e){return{backgroundColor:e.backgroundColor,borderCapStyle:e.borderCapStyle,borderDash:e.borderDash,borderDashOffset:e.borderDashOffset,borderJoinStyle:e.borderJoinStyle,borderWidth:e.borderWidth,borderColor:e.borderColor}}function Cv(e,t){if(!t)return!1;const n=[],r=function(e,t){return Ym(t)?(n.includes(t)||n.push(t),n.indexOf(t)):t};return JSON.stringify(e,r)!==JSON.stringify(t,r)}function _v(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 wv{constructor(){this._request=null,this._charts=new Map,this._running=!1,this._lastDate=void 0}_notify(e,t,n,r){const i=t.listeners[r],a=t.duration;i.forEach(r=>r({chart:e,initial:t.initial,numSteps:a,currentStep:Math.min(n-t.start,a)}))}_refresh(){this._request||(this._running=!0,this._request=$m.call(window,()=>{this._update(),this._request=null,this._running&&this._refresh()}))}_update(e=Date.now()){let t=0;this._charts.forEach((n,r)=>{if(!n.running||!n.items.length)return;const i=n.items;let a,o=i.length-1,s=!1;for(;o>=0;--o)a=i[o],a._active?(a._total>n.duration&&(n.duration=a._total),a.tick(e),s=!0):(i[o]=i[i.length-1],i.pop());s&&(r.draw(),this._notify(r,n,e,"progress")),i.length||(n.running=!1,this._notify(r,n,e,"complete"),n.initial=!1),t+=i.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 r=n.length-1;for(;r>=0;--r)n[r].cancel();t.items=[],this._notify(e,t,Date.now(),"complete")}remove(e){return this._charts.delete(e)}}var xv=new wv;const Sv="transparent",Ev={boolean(e,t,n){return n>.5?t:e},color(e,t,n){const r=Qm(e||Sv),i=r.valid&&Qm(t||Sv);return i&&i.valid?i.mix(r,n).hexString():t},number(e,t,n){return e+(t-e)*n}};class kv{constructor(e,t,n,r){const i=t[n];r=Dg([e.to,r,i,e.from]);const a=Dg([e.from,i,r]);this._active=!0,this._fn=e.fn||Ev[e.type||typeof a],this._easing=Gm[e.easing]||Gm.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=a,this._to=r,this._promises=void 0}active(){return this._active}update(e,t,n){if(this._active){this._notify(!1);const r=this._target[this._prop],i=n-this._start,a=this._duration-i;this._start=n,this._duration=Math.floor(Math.max(a,e.duration)),this._total+=i,this._loop=!!e.loop,this._to=Dg([e.to,t,r,e.from]),this._from=Dg([e.from,r,t])}}cancel(){this._active&&(this.tick(Date.now()),this._active=!1,this._notify(!1))}tick(e){const t=e-this._start,n=this._duration,r=this._prop,i=this._from,a=this._loop,o=this._to;let s;if(this._active=i!==o&&(a||t<n),!this._active)return this._target[r]=o,void this._notify(!0);t<0?this._target[r]=i:(s=t/n%2,s=a&&s>1?2-s:s,s=this._easing(Math.min(1,Math.max(0,s))),this._target[r]=this._fn(i,o,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 Mv{constructor(e,t){this._chart=e,this._properties=new Map,this.configure(t)}configure(e){if(!Gp(e))return;const t=Object.keys(cg.animation),n=this._properties;Object.getOwnPropertyNames(e).forEach(r=>{const i=e[r];if(!Gp(i))return;const a={};for(const e of t)a[e]=i[e];(qp(i.properties)&&i.properties||[r]).forEach(e=>{e!==r&&n.has(e)||n.set(e,a)})})}_animateOptions(e,t){const n=t.options,r=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(!r)return[];const i=this._createAnimations(r,n);return n.$shared&&function(e,t){const n=[],r=Object.keys(t);for(let t=0;t<r.length;t++){const i=e[r[t]];i&&i.active()&&n.push(i.wait())}return Promise.all(n)}(e.options.$animations,n).then(()=>{e.options=n},()=>{}),i}_createAnimations(e,t){const n=this._properties,r=[],i=e.$animations||(e.$animations={}),a=Object.keys(t),o=Date.now();let s;for(s=a.length-1;s>=0;--s){const l=a[s];if("$"===l.charAt(0))continue;if("options"===l){r.push(...this._animateOptions(e,t));continue}const c=t[l];let u=i[l];const d=n.get(l);if(u){if(d&&u.active()){u.update(d,c,o);continue}u.cancel()}d&&d.duration?(i[l]=u=new kv(d,e,l,c),r.push(u)):e[l]=c}return r}update(e,t){if(0===this._properties.size)return void Object.assign(e,t);const n=this._createAnimations(e,t);return n.length?(xv.add(this._chart,n),!0):void 0}}function Ov(e,t){const n=e&&e.options||{},r=n.reverse,i=void 0===n.min?t:0,a=void 0===n.max?t:0;return{start:r?a:i,end:r?i:a}}function jv(e,t){const n=[],r=e._getSortedDatasetMetas(t);let i,a;for(i=0,a=r.length;i<a;++i)n.push(r[i].index);return n}function Tv(e,t,n,r={}){const i=e.keys,a="single"===r.mode;let o,s,l,c;if(null===t)return;let u=!1;for(o=0,s=i.length;o<s;++o){if(l=+i[o],l===n){if(u=!0,r.all)continue;break}c=e.values[l],Yp(c)&&(a||0===t||xm(t)===xm(c))&&(t+=c)}return u||r.all?t:0}function Pv(e,t){const n=e&&e.options.stacked;return n||void 0===n&&void 0!==t.stack}function Dv(e,t,n){const r=e[t]||(e[t]={});return r[n]||(r[n]={})}function Av(e,t,n,r){for(const i of t.getMatchingVisibleMetas(r).reverse()){const t=e[i.index];if(n&&t>0||!n&&t<0)return i.index}return null}function Lv(e,t){const{chart:n,_cachedMeta:r}=e,i=n._stacks||(n._stacks={}),{iScale:a,vScale:o,index:s}=r,l=a.axis,c=o.axis,u=function(e,t,n){return`${e.id}.${t.id}.${n.stack||n.type}`}(a,o,r),d=t.length;let h;for(let e=0;e<d;++e){const n=t[e],{[l]:a,[c]:d}=n;h=(n._stacks||(n._stacks={}))[c]=Dv(i,u,a),h[s]=d,h._top=Av(h,o,!0,r.type),h._bottom=Av(h,o,!1,r.type),(h._visualValues||(h._visualValues={}))[s]=d}}function Iv(e,t){const n=e.scales;return Object.keys(n).filter(e=>n[e].axis===t).shift()}function Nv(e,t){const n=e.controller.index,r=e.vScale&&e.vScale.axis;if(r){t=t||e._parsed;for(const e of t){const t=e._stacks;if(!t||void 0===t[r]||void 0===t[r][n])return;delete t[r][n],void 0!==t[r]._visualValues&&void 0!==t[r]._visualValues[n]&&delete t[r]._visualValues[n]}}}const Rv=e=>"reset"===e||"none"===e,zv=(e,t)=>t?e:Object.assign({},e);class Fv{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=Pv(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&&Nv(this._cachedMeta),this.index=e}linkScales(){const e=this.chart,t=this._cachedMeta,n=this.getDataset(),r=(e,t,n,r)=>"x"===e?t:"r"===e?r:n,i=t.xAxisID=Kp(n.xAxisID,Iv(e,"x")),a=t.yAxisID=Kp(n.yAxisID,Iv(e,"y")),o=t.rAxisID=Kp(n.rAxisID,Iv(e,"r")),s=t.indexAxis,l=t.iAxisID=r(s,i,a,o),c=t.vAxisID=r(s,a,i,o);t.xScale=this.getScaleForId(i),t.yScale=this.getScaleForId(a),t.rScale=this.getScaleForId(o),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&&Hm(this._data,this),e._stacked&&Nv(e)}_dataCheck(){const e=this.getDataset(),t=e.data||(e.data=[]),n=this._data;if(Gp(t)){const e=this._cachedMeta;this._data=function(e,t){const{iScale:n,vScale:r}=t,i="x"===n.axis?"x":"y",a="x"===r.axis?"x":"y",o=Object.keys(e),s=new Array(o.length);let l,c,u;for(l=0,c=o.length;l<c;++l)u=o[l],s[l]={[i]:u,[a]:e[u]};return s}(t,e)}else if(n!==t){if(n){Hm(n,this);const e=this._cachedMeta;Nv(e),e._parsed=[]}t&&Object.isExtensible(t)&&((r=t)._chartjs?r._chartjs.listeners.push(this):(Object.defineProperty(r,"_chartjs",{configurable:!0,enumerable:!1,value:{listeners:[this]}}),Fm.forEach(e=>{const t="_onData"+um(e),n=r[e];Object.defineProperty(r,e,{configurable:!0,enumerable:!1,value(...e){const i=n.apply(this,e);return r._chartjs.listeners.forEach(n=>{"function"==typeof n[t]&&n[t](...e)}),i}})}))),this._syncList=[],this._data=t}var r}addElements(){const e=this._cachedMeta;this._dataCheck(),this.datasetElementType&&(e.dataset=new this.datasetElementType)}buildOrUpdateElements(e){const t=this._cachedMeta,n=this.getDataset();let r=!1;this._dataCheck();const i=t._stacked;t._stacked=Pv(t.vScale,t),t.stack!==n.stack&&(r=!0,Nv(t),t.stack=n.stack),this._resyncElements(e),(r||i!==t._stacked)&&(Lv(this,t._parsed),t._stacked=Pv(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:r}=this,{iScale:i,_stacked:a}=n,o=i.axis;let s,l,c,u=0===e&&t===r.length||n._sorted,d=e>0&&n._parsed[e-1];if(!1===this._parsing)n._parsed=r,n._sorted=!0,c=r;else{c=qp(r[e])?this.parseArrayData(n,r,e,t):Gp(r[e])?this.parseObjectData(n,r,e,t):this.parsePrimitiveData(n,r,e,t);const i=()=>null===l[o]||d&&l[o]<d[o];for(s=0;s<t;++s)n._parsed[s+e]=l=c[s],u&&(i()&&(u=!1),d=l);n._sorted=u}a&&Lv(this,c)}parsePrimitiveData(e,t,n,r){const{iScale:i,vScale:a}=e,o=i.axis,s=a.axis,l=i.getLabels(),c=i===a,u=new Array(r);let d,h,f;for(d=0,h=r;d<h;++d)f=d+n,u[d]={[o]:c||i.parse(l[f],f),[s]:a.parse(t[f],f)};return u}parseArrayData(e,t,n,r){const{xScale:i,yScale:a}=e,o=new Array(r);let s,l,c,u;for(s=0,l=r;s<l;++s)c=s+n,u=t[c],o[s]={x:i.parse(u[0],c),y:a.parse(u[1],c)};return o}parseObjectData(e,t,n,r){const{xScale:i,yScale:a}=e,{xAxisKey:o="x",yAxisKey:s="y"}=this._parsing,l=new Array(r);let c,u,d,h;for(c=0,u=r;c<u;++c)d=c+n,h=t[d],l[c]={x:i.parse(cm(h,o),d),y:a.parse(cm(h,s),d)};return l}getParsed(e){return this._cachedMeta._parsed[e]}getDataElement(e){return this._cachedMeta.data[e]}applyStack(e,t,n){const r=this.chart,i=this._cachedMeta,a=t[e.axis];return Tv({keys:jv(r,!0),values:t._stacks[e.axis]._visualValues},a,i.index,{mode:n})}updateRangeFromParsed(e,t,n,r){const i=n[t.axis];let a=null===i?NaN:i;const o=r&&n._stacks[t.axis];r&&o&&(r.values=o,a=Tv(r,i,this._cachedMeta.index)),e.min=Math.min(e.min,a),e.max=Math.max(e.max,a)}getMinMax(e,t){const n=this._cachedMeta,r=n._parsed,i=n._sorted&&e===n.iScale,a=r.length,o=this._getOtherScale(e),s=((e,t,n)=>e&&!t.hidden&&t._stacked&&{keys:jv(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:r,maxDefined:i}=e.getUserBounds();return{min:r?t:Number.NEGATIVE_INFINITY,max:i?n:Number.POSITIVE_INFINITY}}(o);let d,h;function f(){h=r[d];const t=h[o.axis];return!Yp(h[e.axis])||c>t||u<t}for(d=0;d<a&&(f()||(this.updateRangeFromParsed(l,e,h,s),!i));++d);if(i)for(d=a-1;d>=0;--d)if(!f()){this.updateRangeFromParsed(l,e,h,s);break}return l}getAllParsedValues(e){const t=this._cachedMeta._parsed,n=[];let r,i,a;for(r=0,i=t.length;r<i;++r)a=t[r][e.axis],Yp(a)&&n.push(a);return n}getMaxOverflow(){return!1}getLabelAndValue(e){const t=this._cachedMeta,n=t.iScale,r=t.vScale,i=this.getParsed(e);return{label:n?""+n.getLabelForValue(i[n.axis]):"",value:r?""+r.getLabelForValue(i[r.axis]):""}}_update(e){const t=this._cachedMeta;this.update(e||"default"),t._clip=function(e){let t,n,r,i;return Gp(e)?(t=e.top,n=e.right,r=e.bottom,i=e.left):t=n=r=i=e,{top:t,right:n,bottom:r,left:i,disabled:!1===e}}(Kp(this.options.clip,function(e,t,n){if(!1===n)return!1;const r=Ov(e,n),i=Ov(t,n);return{top:i.end,right:r.end,bottom:i.start,left:r.start}}(t.xScale,t.yScale,this.getMaxOverflow())))}update(e){}draw(){const e=this._ctx,t=this.chart,n=this._cachedMeta,r=n.data||[],i=t.chartArea,a=[],o=this._drawStart||0,s=this._drawCount||r.length-o,l=this.options.drawActiveElementsOnTop;let c;for(n.dataset&&n.dataset.draw(e,i,o,s),c=o;c<o+s;++c){const t=r[c];t.hidden||(t.active&&l?a.push(t):t.draw(e,i))}for(c=0;c<a.length;++c)a[c].draw(e,i)}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 r=this.getDataset();let i;if(e>=0&&e<this._cachedMeta.data.length){const t=this._cachedMeta.data[e];i=t.$context||(t.$context=function(e,t,n){return Ag(e,{active:!1,dataIndex:t,parsed:void 0,raw:void 0,element:n,index:t,mode:"default",type:"data"})}(this.getContext(),e,t)),i.parsed=this.getParsed(e),i.raw=r.data[e],i.index=i.dataIndex=e}else i=this.$context||(this.$context=function(e,t){return Ag(e,{active:!1,dataset:void 0,datasetIndex:t,index:t,mode:"default",type:"dataset"})}(this.chart.getContext(),this.index)),i.dataset=r,i.index=i.datasetIndex=this.index;return i.active=!!t,i.mode=n,i}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 r="active"===t,i=this._cachedDataOpts,a=e+"-"+t,o=i[a],s=this.enableOptionSharing&&dm(n);if(o)return zv(o,s);const l=this.chart.config,c=l.datasetElementScopeKeys(this._type,e),u=r?[`${e}Hover`,"hover",e,""]:[e,""],d=l.getOptionScopes(this.getDataset(),c),h=Object.keys(cg.elements[e]),f=l.resolveNamedOptions(d,h,()=>this.getContext(n,r,t),u);return f.$shared&&(f.$shared=s,i[a]=Object.freeze(zv(f,s))),f}_resolveAnimations(e,t,n){const r=this.chart,i=this._cachedDataOpts,a=`animation-${t}`,o=i[a];if(o)return o;let s;if(!1!==r.options.animation){const r=this.chart.config,i=r.datasetAnimationScopeKeys(this._type,t),a=r.getOptionScopes(this.getDataset(),i);s=r.createResolver(a,this.getContext(e,n,t))}const l=new Mv(r,s&&s.animations);return s&&s._cacheable&&(i[a]=Object.freeze(l)),l}getSharedOptions(e){if(e.$shared)return this._sharedOptions||(this._sharedOptions=Object.assign({},e))}includeOptions(e,t){return!t||Rv(e)||this.chart._animationsDisabled}_getSharedOptions(e,t){const n=this.resolveDataElementOptions(e,t),r=this._sharedOptions,i=this.getSharedOptions(n),a=this.includeOptions(t,i)||i!==r;return this.updateSharedOptions(i,t,n),{sharedOptions:i,includeOptions:a}}updateElement(e,t,n,r){Rv(r)?Object.assign(e,n):this._resolveAnimations(t,r).update(e,n)}updateSharedOptions(e,t,n){e&&!Rv(t)&&this._resolveAnimations(void 0,t).update(e,n)}_setStyle(e,t,n,r){e.active=r;const i=this.getStyle(t,r);this._resolveAnimations(t,n,r).update(e,{options:!r&&this.getSharedOptions(i)||i})}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 r=n.length,i=t.length,a=Math.min(i,r);a&&this.parse(0,a),i>r?this._insertElements(r,i-r,e):i<r&&this._removeElements(i,r-i)}_insertElements(e,t,n=!0){const r=this._cachedMeta,i=r.data,a=e+t;let o;const s=e=>{for(e.length+=t,o=e.length-1;o>=a;o--)e[o]=e[o-t]};for(s(i),o=e;o<a;++o)i[o]=new this.dataElementType;this._parsing&&s(r._parsed),this.parse(e,t),n&&this.updateElements(i,e,t,"reset")}updateElements(e,t,n,r){}_removeElements(e,t){const n=this._cachedMeta;if(this._parsing){const r=n._parsed.splice(e,t);n._stacked&&Nv(n,r)}n.data.splice(e,t)}_sync(e){if(this._parsing)this._syncList.push(e);else{const[t,n,r]=e;this[t](n,r)}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])}}class Hv extends Fv{static id="doughnut";static defaults={datasetElementType:!1,dataElementType:"arc",animation:{animateRotate:!0,animateScale:!1},animations:{numbers:{type:"number",properties:["circumference","endAngle","innerRadius","outerRadius","startAngle","x","y","offset","borderWidth","spacing"]}},cutout:"50%",rotation:0,circumference:360,radius:"100%",spacing:0,indexAxis:"r"};static descriptors={_scriptable:e=>"spacing"!==e,_indexable:e=>"spacing"!==e&&!e.startsWith("borderDash")&&!e.startsWith("hoverBorderDash")};static overrides={aspectRatio:1,plugins:{legend:{labels:{generateLabels(e){const t=e.data,{labels:{pointStyle:n,textAlign:r,color:i,useBorderRadius:a,borderRadius:o}}=e.legend.options;return t.labels.length&&t.datasets.length?t.labels.map((t,s)=>{const l=e.getDatasetMeta(0).controller.getStyle(s);return{text:t,fillStyle:l.backgroundColor,fontColor:i,hidden:!e.getDataVisibility(s),lineDash:l.borderDash,lineDashOffset:l.borderDashOffset,lineJoin:l.borderJoinStyle,lineWidth:l.borderWidth,strokeStyle:l.borderColor,textAlign:r,pointStyle:n,borderRadius:a&&(o||l.borderRadius),index:s}}):[]}},onClick(e,t,n){n.chart.toggleDataVisibility(t.index),n.chart.update()}}}};constructor(e,t){super(e,t),this.enableOptionSharing=!0,this.innerRadius=void 0,this.outerRadius=void 0,this.offsetX=void 0,this.offsetY=void 0}linkScales(){}parse(e,t){const n=this.getDataset().data,r=this._cachedMeta;if(!1===this._parsing)r._parsed=n;else{let i,a,o=e=>+n[e];if(Gp(n[e])){const{key:e="value"}=this._parsing;o=t=>+cm(n[t],e)}for(i=e,a=e+t;i<a;++i)r._parsed[i]=o(i)}}_getRotation(){return Mm(this.options.rotation-90)}_getCircumference(){return Mm(this.options.circumference)}_getRotationExtents(){let e=mm,t=-mm;for(let n=0;n<this.chart.data.datasets.length;++n)if(this.chart.isDatasetVisible(n)&&this.chart.getDatasetMeta(n).type===this._type){const r=this.chart.getDatasetMeta(n).controller,i=r._getRotation(),a=r._getCircumference();e=Math.min(e,i),t=Math.max(t,i+a)}return{rotation:e,circumference:t-e}}update(e){const t=this.chart,{chartArea:n}=t,r=this._cachedMeta,i=r.data,a=this.getMaxBorderWidth()+this.getMaxOffset(i)+this.options.spacing,o=Math.max((Math.min(n.width,n.height)-a)/2,0),s=Math.min((c=o,"string"==typeof(l=this.options.cutout)&&l.endsWith("%")?parseFloat(l)/100:+l/c),1);var l,c;const u=this._getRingWeight(this.index),{circumference:d,rotation:h}=this._getRotationExtents(),{ratioX:f,ratioY:p,offsetX:m,offsetY:g}=function(e,t,n){let r=1,i=1,a=0,o=0;if(t<mm){const s=e,l=s+t,c=Math.cos(s),u=Math.sin(s),d=Math.cos(l),h=Math.sin(l),f=(e,t,r)=>Am(e,s,l,!0)?1:Math.max(t,t*n,r,r*n),p=(e,t,r)=>Am(e,s,l,!0)?-1:Math.min(t,t*n,r,r*n),m=f(0,c,d),g=f(ym,u,h),v=p(pm,c,d),b=p(pm+ym,u,h);r=(m-v)/2,i=(g-b)/2,a=-(m+v)/2,o=-(g+b)/2}return{ratioX:r,ratioY:i,offsetX:a,offsetY:o}}(h,d,s),v=(n.width-a)/f,b=(n.height-a)/p,y=Math.max(Math.min(v,b)/2,0),C=Xp(this.options.radius,y),_=(C-Math.max(C*s,0))/this._getVisibleDatasetWeightTotal();this.offsetX=m*C,this.offsetY=g*C,r.total=this.calculateTotal(),this.outerRadius=C-_*this._getRingWeightOffset(this.index),this.innerRadius=Math.max(this.outerRadius-_*u,0),this.updateElements(i,0,i.length,e)}_circumference(e,t){const n=this.options,r=this._cachedMeta,i=this._getCircumference();return t&&n.animation.animateRotate||!this.chart.getDataVisibility(e)||null===r._parsed[e]||r.data[e].hidden?0:this.calculateCircumference(r._parsed[e]*i/mm)}updateElements(e,t,n,r){const i="reset"===r,a=this.chart,o=a.chartArea,s=a.options.animation,l=(o.left+o.right)/2,c=(o.top+o.bottom)/2,u=i&&s.animateScale,d=u?0:this.innerRadius,h=u?0:this.outerRadius,{sharedOptions:f,includeOptions:p}=this._getSharedOptions(t,r);let m,g=this._getRotation();for(m=0;m<t;++m)g+=this._circumference(m,i);for(m=t;m<t+n;++m){const t=this._circumference(m,i),n=e[m],a={x:l+this.offsetX,y:c+this.offsetY,startAngle:g,endAngle:g+t,circumference:t,outerRadius:h,innerRadius:d};p&&(a.options=f||this.resolveDataElementOptions(m,n.active?"active":r)),g+=t,this.updateElement(n,m,a,r)}}calculateTotal(){const e=this._cachedMeta,t=e.data;let n,r=0;for(n=0;n<t.length;n++){const i=e._parsed[n];null===i||isNaN(i)||!this.chart.getDataVisibility(n)||t[n].hidden||(r+=Math.abs(i))}return r}calculateCircumference(e){const t=this._cachedMeta.total;return t>0&&!isNaN(e)?mm*(Math.abs(e)/t):0}getLabelAndValue(e){const t=this._cachedMeta,n=this.chart,r=n.data.labels||[],i=tg(t._parsed[e],n.options.locale);return{label:r[e]||"",value:i}}getMaxBorderWidth(e){let t=0;const n=this.chart;let r,i,a,o,s;if(!e)for(r=0,i=n.data.datasets.length;r<i;++r)if(n.isDatasetVisible(r)){a=n.getDatasetMeta(r),e=a.data,o=a.controller;break}if(!e)return 0;for(r=0,i=e.length;r<i;++r)s=o.resolveDataElementOptions(r),"inner"!==s.borderAlign&&(t=Math.max(t,s.borderWidth||0,s.hoverBorderWidth||0));return t}getMaxOffset(e){let t=0;for(let n=0,r=e.length;n<r;++n){const e=this.resolveDataElementOptions(n);t=Math.max(t,e.offset||0,e.hoverOffset||0)}return t}_getRingWeightOffset(e){let t=0;for(let n=0;n<e;++n)this.chart.isDatasetVisible(n)&&(t+=this._getRingWeight(n));return t}_getRingWeight(e){return Math.max(Kp(this.chart.data.datasets[e].weight,1),0)}_getVisibleDatasetWeightTotal(){return this._getRingWeightOffset(this.chart.data.datasets.length)||1}}class $v extends Fv{static id="line";static defaults={datasetElementType:"line",dataElementType:"point",showLine:!0,spanGaps:!1};static overrides={scales:{_index_:{type:"category"},_value_:{type:"linear"}}};initialize(){this.enableOptionSharing=!0,this.supportsDecimation=!0,super.initialize()}update(e){const t=this._cachedMeta,{dataset:n,data:r=[],_dataset:i}=t,a=this.chart._animationsDisabled;let{start:o,count:s}=function(e,t,n){const r=t.length;let i=0,a=r;if(e._sorted){const{iScale:o,vScale:s,_parsed:l}=e,c=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null,u=o.axis,{min:d,max:h,minDefined:f,maxDefined:p}=o.getUserBounds();if(f){if(i=Math.min(Rm(l,u,d).lo,n?r:Rm(t,u,o.getPixelForValue(d)).lo),c){const e=l.slice(0,i+1).reverse().findIndex(e=>!Zp(e[s.axis]));i-=Math.max(0,e)}i=Lm(i,0,r-1)}if(p){let e=Math.max(Rm(l,o.axis,h,!0).hi+1,n?0:Rm(t,u,o.getPixelForValue(h),!0).hi+1);if(c){const t=l.slice(e-1).findIndex(e=>!Zp(e[s.axis]));e+=Math.max(0,t)}a=Lm(e,i,r)-i}else a=r-i}return{start:i,count:a}}(t,r,a);this._drawStart=o,this._drawCount=s,function(e){const{xScale:t,yScale:n,_scaleRanges:r}=e,i={xmin:t.min,xmax:t.max,ymin:n.min,ymax:n.max};if(!r)return e._scaleRanges=i,!0;const a=r.xmin!==t.min||r.xmax!==t.max||r.ymin!==n.min||r.ymax!==n.max;return Object.assign(r,i),a}(t)&&(o=0,s=r.length),n._chart=this.chart,n._datasetIndex=this.index,n._decimated=!!i._decimated,n.points=r;const l=this.resolveDatasetElementOptions(e);this.options.showLine||(l.borderWidth=0),l.segment=this.options.segment,this.updateElement(n,void 0,{animated:!a,options:l},e),this.updateElements(r,o,s,e)}updateElements(e,t,n,r){const i="reset"===r,{iScale:a,vScale:o,_stacked:s,_dataset:l}=this._cachedMeta,{sharedOptions:c,includeOptions:u}=this._getSharedOptions(t,r),d=a.axis,h=o.axis,{spanGaps:f,segment:p}=this.options,m=km(f)?f:Number.POSITIVE_INFINITY,g=this.chart._animationsDisabled||i||"none"===r,v=t+n,b=e.length;let y=t>0&&this.getParsed(t-1);for(let n=0;n<b;++n){const f=e[n],b=g?f:{};if(n<t||n>=v){b.skip=!0;continue}const C=this.getParsed(n),_=Zp(C[h]),w=b[d]=a.getPixelForValue(C[d],n),x=b[h]=i||_?o.getBasePixel():o.getPixelForValue(s?this.applyStack(o,C,s):C[h],n);b.skip=isNaN(w)||isNaN(x)||_,b.stop=n>0&&Math.abs(C[d]-y[d])>m,p&&(b.parsed=C,b.raw=l.data[n]),u&&(b.options=c||this.resolveDataElementOptions(n,f.active?"active":r)),g||this.updateElement(f,n,b,r),y=C}}getMaxOverflow(){const e=this._cachedMeta,t=e.dataset,n=t.options&&t.options.borderWidth||0,r=e.data||[];if(!r.length)return n;const i=r[0].size(this.resolveDataElementOptions(0)),a=r[r.length-1].size(this.resolveDataElementOptions(r.length-1));return Math.max(n,i,a)/2}draw(){const e=this._cachedMeta;e.dataset.updateControlPoints(this.chart.chartArea,e.iScale.axis),super.draw()}}function Vv(e,t,n,r){const{controller:i,data:a,_sorted:o}=e,s=i._cachedMeta.iScale,l=e.dataset&&e.dataset.options?e.dataset.options.spanGaps:null;if(s&&t===s.axis&&"r"!==t&&o&&a.length){const o=s._reversePixels?zm:Rm;if(!r){const r=o(a,t,n);if(l){const{vScale:t}=i._cachedMeta,{_parsed:n}=e,a=n.slice(0,r.lo+1).reverse().findIndex(e=>!Zp(e[t.axis]));r.lo-=Math.max(0,a);const o=n.slice(r.hi).findIndex(e=>!Zp(e[t.axis]));r.hi+=Math.max(0,o)}return r}if(i._sharedOptions){const e=a[0],r="function"==typeof e.getRange&&e.getRange(t);if(r){const e=o(a,t,n-r),i=o(a,t,n+r);return{lo:e.lo,hi:i.hi}}}}return{lo:0,hi:a.length-1}}function Uv(e,t,n,r,i){const a=e.getSortedVisibleDatasetMetas(),o=n[t];for(let e=0,n=a.length;e<n;++e){const{index:n,data:s}=a[e],{lo:l,hi:c}=Vv(a[e],t,o,i);for(let e=l;e<=c;++e){const t=s[e];t.skip||r(t,n,e)}}}function Bv(e,t,n,r,i){const a=[];return i||e.isPointInArea(t)?(Uv(e,n,t,function(n,o,s){(i||mg(n,e.chartArea,0))&&n.inRange(t.x,t.y,r)&&a.push({element:n,datasetIndex:o,index:s})},!0),a):a}function Wv(e,t,n,r,i,a){return a||e.isPointInArea(t)?"r"!==n||r?function(e,t,n,r,i,a){let o=[];const s=function(e){const t=-1!==e.indexOf("x"),n=-1!==e.indexOf("y");return function(e,r){const i=t?Math.abs(e.x-r.x):0,a=n?Math.abs(e.y-r.y):0;return Math.sqrt(Math.pow(i,2)+Math.pow(a,2))}}(n);let l=Number.POSITIVE_INFINITY;return Uv(e,n,t,function(n,c,u){const d=n.inRange(t.x,t.y,i);if(r&&!d)return;const h=n.getCenterPoint(i);if(!a&&!e.isPointInArea(h)&&!d)return;const f=s(t,h);f<l?(o=[{element:n,datasetIndex:c,index:u}],l=f):f===l&&o.push({element:n,datasetIndex:c,index:u})}),o}(e,t,n,r,i,a):function(e,t,n,r){let i=[];return Uv(e,n,t,function(e,n,a){const{startAngle:o,endAngle:s}=e.getProps(["startAngle","endAngle"],r),{angle:l}=jm(e,{x:t.x,y:t.y});Am(l,o,s)&&i.push({element:e,datasetIndex:n,index:a})}),i}(e,t,n,i):[]}function Zv(e,t,n,r,i){const a=[],o="x"===n?"inXRange":"inYRange";let s=!1;return Uv(e,n,t,(e,r,l)=>{e[o]&&e[o](t[n],i)&&(a.push({element:e,datasetIndex:r,index:l}),s=s||e.inRange(t.x,t.y,i))}),r&&!s?[]:a}var qv={evaluateInteractionItems:Uv,modes:{index(e,t,n,r){const i=av(t,e),a=n.axis||"x",o=n.includeInvisible||!1,s=n.intersect?Bv(e,i,a,r,o):Wv(e,i,a,!1,r,o),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,r){const i=av(t,e),a=n.axis||"xy",o=n.includeInvisible||!1;let s=n.intersect?Bv(e,i,a,r,o):Wv(e,i,a,!1,r,o);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,r){return Bv(e,av(t,e),n.axis||"xy",r,n.includeInvisible||!1)},nearest(e,t,n,r){const i=av(t,e),a=n.axis||"xy",o=n.includeInvisible||!1;return Wv(e,i,a,n.intersect,r,o)},x(e,t,n,r){return Zv(e,av(t,e),"x",n.intersect,r)},y(e,t,n,r){return Zv(e,av(t,e),"y",n.intersect,r)}}};const Gv=["left","top","right","bottom"];function Yv(e,t){return e.filter(e=>e.pos===t)}function Qv(e,t){return e.filter(e=>-1===Gv.indexOf(e.pos)&&e.box.axis===t)}function Kv(e,t){return e.sort((e,n)=>{const r=t?n:e,i=t?e:n;return r.weight===i.weight?r.index-i.index:r.weight-i.weight})}function Xv(e,t,n,r){return Math.max(e[n],t[n])+Math.max(e[r],t[r])}function Jv(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 eb(e,t,n,r){const{pos:i,box:a}=n,o=e.maxPadding;if(!Gp(i)){n.size&&(e[i]-=n.size);const t=r[n.stack]||{size:0,count:1};t.size=Math.max(t.size,n.horizontal?a.height:a.width),n.size=t.size/t.count,e[i]+=n.size}a.getPadding&&Jv(o,a.getPadding());const s=Math.max(0,t.outerWidth-Xv(o,e,"left","right")),l=Math.max(0,t.outerHeight-Xv(o,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 tb(e,t){const n=t.maxPadding;return function(e){const r={left:0,top:0,right:0,bottom:0};return e.forEach(e=>{r[e]=Math.max(t[e],n[e])}),r}(e?["left","right"]:["top","bottom"])}function nb(e,t,n,r){const i=[];let a,o,s,l,c,u;for(a=0,o=e.length,c=0;a<o;++a){s=e[a],l=s.box,l.update(s.width||t.w,s.height||t.h,tb(s.horizontal,t));const{same:o,other:d}=eb(t,n,s,r);c|=o&&i.length,u=u||d,l.fullSize||i.push(s)}return c&&nb(i,t,n,r)||u}function rb(e,t,n,r,i){e.top=n,e.left=t,e.right=t+r,e.bottom=n+i,e.width=r,e.height=i}function ib(e,t,n,r){const i=n.padding;let{x:a,y:o}=t;for(const s of e){const e=s.box,l=r[s.stack]||{count:1,placed:0,weight:1},c=s.stackWeight/l.weight||1;if(s.horizontal){const r=t.w*c,a=l.size||e.height;dm(l.start)&&(o=l.start),e.fullSize?rb(e,i.left,o,n.outerWidth-i.right-i.left,a):rb(e,t.left+l.placed,o,r,a),l.start=o,l.placed+=r,o=e.bottom}else{const r=t.h*c,o=l.size||e.width;dm(l.start)&&(a=l.start),e.fullSize?rb(e,a,i.top,o,n.outerHeight-i.bottom-i.top):rb(e,a,t.top+l.placed,o,r),l.start=a,l.placed+=r,a=e.right}}t.x=a,t.y=o}var ab={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,r){if(!e)return;const i=Tg(e.options.layout.padding),a=Math.max(t-i.width,0),o=Math.max(n-i.height,0),s=function(e){const t=function(e){const t=[];let n,r,i,a,o,s;for(n=0,r=(e||[]).length;n<r;++n)i=e[n],({position:a,options:{stack:o,stackWeight:s=1}}=i),t.push({index:n,box:i,pos:a,horizontal:i.isHorizontal(),weight:i.weight,stack:o&&a+o,stackWeight:s});return t}(e),n=Kv(t.filter(e=>e.box.fullSize),!0),r=Kv(Yv(t,"left"),!0),i=Kv(Yv(t,"right")),a=Kv(Yv(t,"top"),!0),o=Kv(Yv(t,"bottom")),s=Qv(t,"x"),l=Qv(t,"y");return{fullSize:n,leftAndTop:r.concat(a),rightAndBottom:i.concat(l).concat(o).concat(s),chartArea:Yv(t,"chartArea"),vertical:r.concat(i).concat(l),horizontal:a.concat(o).concat(s)}}(e.boxes),l=s.vertical,c=s.horizontal;em(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:i,availableWidth:a,availableHeight:o,vBoxMaxWidth:a/2/u,hBoxMaxHeight:o/2}),h=Object.assign({},i);Jv(h,Tg(r));const f=Object.assign({maxPadding:h,w:a,h:o,x:i.left,y:i.top},i),p=function(e,t){const n=function(e){const t={};for(const n of e){const{stack:e,pos:r,stackWeight:i}=n;if(!e||!Gv.includes(r))continue;const a=t[e]||(t[e]={count:0,placed:0,weight:0,size:0});a.count++,a.weight+=i}return t}(e),{vBoxMaxWidth:r,hBoxMaxHeight:i}=t;let a,o,s;for(a=0,o=e.length;a<o;++a){s=e[a];const{fullSize:o}=s.box,l=n[s.stack],c=l&&s.stackWeight/l.weight;s.horizontal?(s.width=c?c*r:o&&t.availableWidth,s.height=i):(s.width=r,s.height=c?c*i:o&&t.availableHeight)}return n}(l.concat(c),d);nb(s.fullSize,f,d,p),nb(l,f,d,p),nb(c,f,d,p)&&nb(l,f,d,p),function(e){const t=e.maxPadding;function n(n){const r=Math.max(t[n]-e[n],0);return e[n]+=r,r}e.y+=n("top"),e.x+=n("left"),n("right"),n("bottom")}(f),ib(s.leftAndTop,f,d,p),f.x+=f.w,f.y+=f.h,ib(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},em(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 ob{acquireContext(e,t){}releaseContext(e){return!1}addEventListener(e,t,n){}removeEventListener(e,t,n){}getDevicePixelRatio(){return 1}getMaximumSize(e,t,n,r){return t=Math.max(0,t||e.width),n=n||e.height,{width:t,height:Math.max(0,r?Math.floor(t/r):n)}}isAttached(e){return!0}updateConfig(e){}}class sb extends ob{acquireContext(e){return e&&e.getContext&&e.getContext("2d")||null}updateConfig(e){e.options.animation=!1}}const lb="$chartjs",cb={touchstart:"mousedown",touchmove:"mousemove",touchend:"mouseup",pointerenter:"mouseenter",pointerdown:"mousedown",pointermove:"mousemove",pointerup:"mouseup",pointerleave:"mouseout",pointerout:"mouseout"},ub=e=>null===e||""===e,db=!!lv&&{passive:!0};function hb(e,t,n){e&&e.canvas&&e.canvas.removeEventListener(t,n,db)}function fb(e,t){for(const n of e)if(n===t||n.contains(t))return!0}function pb(e,t,n){const r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(const n of e)t=t||fb(n.addedNodes,r),t=t&&!fb(n.removedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}function mb(e,t,n){const r=e.canvas,i=new MutationObserver(e=>{let t=!1;for(const n of e)t=t||fb(n.removedNodes,r),t=t&&!fb(n.addedNodes,r);t&&n()});return i.observe(document,{childList:!0,subtree:!0}),i}const gb=new Map;let vb=0;function bb(){const e=window.devicePixelRatio;e!==vb&&(vb=e,gb.forEach((t,n)=>{n.currentDevicePixelRatio!==e&&t()}))}function yb(e,t,n){const r=e.canvas,i=r&&ev(r);if(!i)return;const a=Vm((e,t)=>{const r=i.clientWidth;n(e,t),r<i.clientWidth&&n()},window),o=new ResizeObserver(e=>{const t=e[0],n=t.contentRect.width,r=t.contentRect.height;0===n&&0===r||a(n,r)});return o.observe(i),function(e,t){gb.size||window.addEventListener("resize",bb),gb.set(e,t)}(e,a),o}function Cb(e,t,n){n&&n.disconnect(),"resize"===t&&function(e){gb.delete(e),gb.size||window.removeEventListener("resize",bb)}(e)}function _b(e,t,n){const r=e.canvas,i=Vm(t=>{null!==e.ctx&&n(function(e,t){const n=cb[e.type]||e.type,{x:r,y:i}=av(e,t);return{type:n,chart:t,native:e,x:void 0!==r?r:null,y:void 0!==i?i:null}}(t,e))},e);return function(e,t,n){e&&e.addEventListener(t,n,db)}(r,t,i),i}class wb extends ob{acquireContext(e,t){const n=e&&e.getContext&&e.getContext("2d");return n&&n.canvas===e?(function(e,t){const n=e.style,r=e.getAttribute("height"),i=e.getAttribute("width");if(e[lb]={initial:{height:r,width:i,style:{display:n.display,height:n.height,width:n.width}}},n.display=n.display||"block",n.boxSizing=n.boxSizing||"border-box",ub(i)){const t=cv(e,"width");void 0!==t&&(e.width=t)}if(ub(r))if(""===e.style.height)e.height=e.width/(t||2);else{const t=cv(e,"height");void 0!==t&&(e.height=t)}}(e,t),n):null}releaseContext(e){const t=e.canvas;if(!t[lb])return!1;const n=t[lb].initial;["height","width"].forEach(e=>{const r=n[e];Zp(r)?t.removeAttribute(e):t.setAttribute(e,r)});const r=n.style||{};return Object.keys(r).forEach(e=>{t.style[e]=r[e]}),t.width=t.width,delete t[lb],!0}addEventListener(e,t,n){this.removeEventListener(e,t);const r=e.$proxies||(e.$proxies={}),i={attach:pb,detach:mb,resize:yb}[t]||_b;r[t]=i(e,t,n)}removeEventListener(e,t){const n=e.$proxies||(e.$proxies={}),r=n[t];r&&(({attach:Cb,detach:Cb,resize:Cb}[t]||hb)(e,t,r),n[t]=void 0)}getDevicePixelRatio(){return window.devicePixelRatio}getMaximumSize(e,t,n,r){return function(e,t,n,r){const i=nv(e),a=iv(i,"margin"),o=tv(i.maxWidth,e,"clientWidth")||vm,s=tv(i.maxHeight,e,"clientHeight")||vm,l=function(e,t,n){let r,i;if(void 0===t||void 0===n){const a=e&&ev(e);if(a){const e=a.getBoundingClientRect(),o=nv(a),s=iv(o,"border","width"),l=iv(o,"padding");t=e.width-l.width-s.width,n=e.height-l.height-s.height,r=tv(o.maxWidth,a,"clientWidth"),i=tv(o.maxHeight,a,"clientHeight")}else t=e.clientWidth,n=e.clientHeight}return{width:t,height:n,maxWidth:r||vm,maxHeight:i||vm}}(e,t,n);let{width:c,height:u}=l;if("content-box"===i.boxSizing){const e=iv(i,"border","width"),t=iv(i,"padding");c-=t.width+e.width,u-=t.height+e.height}return c=Math.max(0,c-a.width),u=Math.max(0,r?c/r:u-a.height),c=ov(Math.min(c,o,l.maxWidth)),u=ov(Math.min(u,s,l.maxHeight)),c&&!u&&(u=ov(c/2)),(void 0!==t||void 0!==n)&&r&&l.height&&u>l.height&&(u=l.height,c=ov(Math.floor(u*r))),{width:c,height:u}}(e,t,n,r)}isAttached(e){const t=e&&ev(e);return!(!t||!t.isConnected)}}class xb{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 km(this.x)&&km(this.y)}getProps(e,t){const n=this.$animations;if(!t||!n)return this;const r={};return e.forEach(e=>{r[e]=n[e]&&n[e].active()?n[e]._to:this[e]}),r}}function Sb(e,t,n,r,i){const a=Kp(r,0),o=Math.min(Kp(i,e.length),e.length);let s,l,c,u=0;for(n=Math.ceil(n),i&&(s=i-r,n=s/Math.floor(s/n)),c=a;c<0;)u++,c=Math.round(a+u*n);for(l=Math.max(a,0);l<o;l++)l===c&&(t.push(e[l]),u++,c=Math.round(a+u*n))}const Eb=(e,t,n)=>"top"===t||"left"===t?e[t]+n:e[t]-n,kb=(e,t)=>Math.min(t||e,e);function Mb(e,t){const n=[],r=e.length/t,i=e.length;let a=0;for(;a<i;a+=r)n.push(e[Math.floor(a)]);return n}function Ob(e,t,n){const r=e.ticks.length,i=Math.min(t,r-1),a=e._startPixel,o=e._endPixel,s=1e-6;let l,c=e.getPixelForTick(i);if(!(n&&(l=1===r?Math.max(c-a,o-c):0===t?(e.getPixelForTick(1)-c)/2:(c-e.getPixelForTick(i-1))/2,c+=i<t?l:-l,c<a-s||c>o+s)))return c}function jb(e){return e.drawTicks?e.tickLength:0}function Tb(e,t){if(!e.display)return 0;const n=Pg(e.font,t),r=Tg(e.padding);return(qp(e.text)?e.text.length:1)*n.lineHeight+r.height}function Pb(e,t,n){let r=Um(e);return(n&&"right"!==t||!n&&"right"===t)&&(r=(e=>"left"===e?"right":"right"===e?"left":e)(r)),r}class Db extends xb{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:r}=this;return e=Qp(e,Number.POSITIVE_INFINITY),t=Qp(t,Number.NEGATIVE_INFINITY),n=Qp(n,Number.POSITIVE_INFINITY),r=Qp(r,Number.NEGATIVE_INFINITY),{min:Qp(e,n),max:Qp(t,r),minDefined:Yp(e),maxDefined:Yp(t)}}getMinMax(e){let t,{min:n,max:r,minDefined:i,maxDefined:a}=this.getUserBounds();if(i&&a)return{min:n,max:r};const o=this.getMatchingVisibleMetas();for(let s=0,l=o.length;s<l;++s)t=o[s].controller.getMinMax(this,e),i||(n=Math.min(n,t.min)),a||(r=Math.max(r,t.max));return n=a&&n>r?r:n,r=i&&n>r?n:r,{min:Qp(n,Qp(r,n)),max:Qp(r,Qp(n,r))}}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(){Jp(this.options.beforeUpdate,[this])}update(e,t,n){const{beginAtZero:r,grace:i,ticks:a}=this.options,o=a.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:r,max:i}=e,a=Xp(t,(i-r)/2),o=(e,t)=>n&&0===e?0:e+t;return{min:o(r,-Math.abs(a)),max:o(i,a)}}(this,i,r),this._dataLimitsCached=!0),this.beforeBuildTicks(),this.ticks=this.buildTicks()||[],this.afterBuildTicks();const s=o<this.ticks.length;this._convertTicksToLabels(s?Mb(this.ticks,o):this.ticks),this.configure(),this.beforeCalculateLabelRotation(),this.calculateLabelRotation(),this.afterCalculateLabelRotation(),a.display&&(a.autoSkip||"auto"===a.source)&&(this.ticks=function(e,t){const n=e.options.ticks,r=function(e){const t=e.options.offset,n=e._tickSize(),r=e._length/n+(t?0:1),i=e._maxLength/n;return Math.floor(Math.min(r,i))}(e),i=Math.min(n.maxTicksLimit||r,r),a=n.major.enabled?function(e){const t=[];let n,r;for(n=0,r=e.length;n<r;n++)e[n].major&&t.push(n);return t}(t):[],o=a.length,s=a[0],l=a[o-1],c=[];if(o>i)return function(e,t,n,r){let i,a=0,o=n[0];for(r=Math.ceil(r),i=0;i<e.length;i++)i===o&&(t.push(e[i]),a++,o=n[a*r])}(t,c,a,o/i),c;const u=function(e,t,n){const r=function(e){const t=e.length;let n,r;if(t<2)return!1;for(r=e[0],n=1;n<t;++n)if(e[n]-e[n-1]!==r)return!1;return r}(e),i=t.length/n;if(!r)return Math.max(i,1);const a=function(e){const t=[],n=Math.sqrt(e);let r;for(r=1;r<n;r++)e%r===0&&(t.push(r),t.push(e/r));return n===(0|n)&&t.push(n),t.sort((e,t)=>e-t).pop(),t}(r);for(let e=0,t=a.length-1;e<t;e++){const t=a[e];if(t>i)return t}return Math.max(i,1)}(a,t,i);if(o>0){let e,n;const r=o>1?Math.round((l-s)/(o-1)):null;for(Sb(t,c,u,Zp(r)?0:s-r,s),e=0,n=o-1;e<n;e++)Sb(t,c,u,a[e],a[e+1]);return Sb(t,c,u,l,Zp(r)?t.length:l+r),c}return Sb(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(){Jp(this.options.afterUpdate,[this])}beforeSetDimensions(){Jp(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(){Jp(this.options.afterSetDimensions,[this])}_callHooks(e){this.chart.notifyPlugins(e,this.getContext()),Jp(this.options[e],[this])}beforeDataLimits(){this._callHooks("beforeDataLimits")}determineDataLimits(){}afterDataLimits(){this._callHooks("afterDataLimits")}beforeBuildTicks(){this._callHooks("beforeBuildTicks")}buildTicks(){return[]}afterBuildTicks(){this._callHooks("afterBuildTicks")}beforeTickToLabelConversion(){Jp(this.options.beforeTickToLabelConversion,[this])}generateTickLabels(e){const t=this.options.ticks;let n,r,i;for(n=0,r=e.length;n<r;n++)i=e[n],i.label=Jp(t.callback,[i.value,n,e],this)}afterTickToLabelConversion(){Jp(this.options.afterTickToLabelConversion,[this])}beforeCalculateLabelRotation(){Jp(this.options.beforeCalculateLabelRotation,[this])}calculateLabelRotation(){const e=this.options,t=e.ticks,n=kb(this.ticks.length,e.ticks.maxTicksLimit),r=t.minRotation||0,i=t.maxRotation;let a,o,s,l=r;if(!this._isVisible()||!t.display||r>=i||n<=1||!this.isHorizontal())return void(this.labelRotation=r);const c=this._getLabelSizes(),u=c.widest.width,d=c.highest.height,h=Lm(this.chart.width-u,0,this.maxWidth);a=e.offset?this.maxWidth/n:h/(n-1),u+6>a&&(a=h/(n-(e.offset?.5:1)),o=this.maxHeight-jb(e.grid)-t.padding-Tb(e.title,this.chart.options.font),s=Math.sqrt(u*u+d*d),l=Math.min(Math.asin(Lm((c.highest.height+6)/a,-1,1)),Math.asin(Lm(o/s,-1,1))-Math.asin(Lm(d/s,-1,1)))*(180/pm),l=Math.max(r,Math.min(i,l))),this.labelRotation=l}afterCalculateLabelRotation(){Jp(this.options.afterCalculateLabelRotation,[this])}afterAutoSkip(){}beforeFit(){Jp(this.options.beforeFit,[this])}fit(){const e={width:0,height:0},{chart:t,options:{ticks:n,title:r,grid:i}}=this,a=this._isVisible(),o=this.isHorizontal();if(a){const a=Tb(r,t.options.font);if(o?(e.width=this.maxWidth,e.height=jb(i)+a):(e.height=this.maxHeight,e.width=jb(i)+a),n.display&&this.ticks.length){const{first:t,last:r,widest:i,highest:a}=this._getLabelSizes(),s=2*n.padding,l=Mm(this.labelRotation),c=Math.cos(l),u=Math.sin(l);if(o){const t=n.mirror?0:u*i.width+c*a.height;e.height=Math.min(this.maxHeight,e.height+t+s)}else{const t=n.mirror?0:c*i.width+u*a.height;e.width=Math.min(this.maxWidth,e.width+t+s)}this._calculatePadding(t,r,u,c)}}this._handleMargins(),o?(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,r){const{ticks:{align:i,padding:a},position:o}=this.options,s=0!==this.labelRotation,l="top"!==o&&"x"===this.axis;if(this.isHorizontal()){const o=this.getPixelForTick(0)-this.left,c=this.right-this.getPixelForTick(this.ticks.length-1);let u=0,d=0;s?l?(u=r*e.width,d=n*t.height):(u=n*e.height,d=r*t.width):"start"===i?d=t.width:"end"===i?u=e.width:"inner"!==i&&(u=e.width/2,d=t.width/2),this.paddingLeft=Math.max((u-o+a)*this.width/(this.width-o),0),this.paddingRight=Math.max((d-c+a)*this.width/(this.width-c),0)}else{let n=t.height/2,r=e.height/2;"start"===i?(n=0,r=e.height):"end"===i&&(n=t.height,r=0),this.paddingTop=n+a,this.paddingBottom=r+a}}_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(){Jp(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++)Zp(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=Mb(n,t)),this._labelSizes=e=this._computeLabelSizes(n,n.length,this.options.ticks.maxTicksLimit)}return e}_computeLabelSizes(e,t,n){const{ctx:r,_longestTextCache:i}=this,a=[],o=[],s=Math.floor(t/kb(t,n));let l,c,u,d,h,f,p,m,g,v,b,y=0,C=0;for(l=0;l<t;l+=s){if(d=e[l].label,h=this._resolveTickFontOptions(l),r.font=f=h.string,p=i[f]=i[f]||{data:{},gc:[]},m=h.lineHeight,g=v=0,Zp(d)||qp(d)){if(qp(d))for(c=0,u=d.length;c<u;++c)b=d[c],Zp(b)||qp(b)||(g=ug(r,p.data,p.gc,g,b),v+=m)}else g=ug(r,p.data,p.gc,g,d),v=m;a.push(g),o.push(v),y=Math.max(g,y),C=Math.max(v,C)}!function(e,t){em(e,e=>{const n=e.gc,r=n.length/2;let i;if(r>t){for(i=0;i<r;++i)delete e.data[n[i]];n.splice(0,r)}})}(i,t);const _=a.indexOf(y),w=o.indexOf(C),x=e=>({width:a[e]||0,height:o[e]||0});return{first:x(0),last:x(t-1),widest:x(_),highest:x(w),widths:a,heights:o}}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 Lm(this._alignToPixels?dg(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 Ag(e,{tick:n,index:t,type:"tick"})}(this.getContext(),e,n))}return this.$context||(this.$context=Ag(this.chart.getContext(),{scale:this,type:"scale"}))}_tickSize(){const e=this.options.ticks,t=Mm(this.labelRotation),n=Math.abs(Math.cos(t)),r=Math.abs(Math.sin(t)),i=this._getLabelSizes(),a=e.autoSkipPadding||0,o=i?i.widest.width+a:0,s=i?i.highest.height+a:0;return this.isHorizontal()?s*n>o*r?o/n:s/r:s*r<o*n?s/n:o/r}_isVisible(){const e=this.options.display;return"auto"!==e?!!e:this.getMatchingVisibleMetas().length>0}_computeGridLineItems(e){const t=this.axis,n=this.chart,r=this.options,{grid:i,position:a,border:o}=r,s=i.offset,l=this.isHorizontal(),c=this.ticks.length+(s?1:0),u=jb(i),d=[],h=o.setContext(this.getContext()),f=h.display?h.width:0,p=f/2,m=function(e){return dg(n,e,f)};let g,v,b,y,C,_,w,x,S,E,k,M;if("top"===a)g=m(this.bottom),_=this.bottom-u,x=g-p,E=m(e.top)+p,M=e.bottom;else if("bottom"===a)g=m(this.top),E=e.top,M=m(e.bottom)-p,_=g+p,x=this.top+u;else if("left"===a)g=m(this.right),C=this.right-u,w=g-p,S=m(e.left)+p,k=e.right;else if("right"===a)g=m(this.left),S=e.left,k=m(e.right)-p,C=g+p,w=this.left+u;else if("x"===t){if("center"===a)g=m((e.top+e.bottom)/2+.5);else if(Gp(a)){const e=Object.keys(a)[0],t=a[e];g=m(this.chart.scales[e].getPixelForValue(t))}E=e.top,M=e.bottom,_=g+p,x=_+u}else if("y"===t){if("center"===a)g=m((e.left+e.right)/2);else if(Gp(a)){const e=Object.keys(a)[0],t=a[e];g=m(this.chart.scales[e].getPixelForValue(t))}C=g-p,w=C-u,S=e.left,k=e.right}const O=Kp(r.ticks.maxTicksLimit,c),j=Math.max(1,Math.ceil(c/O));for(v=0;v<c;v+=j){const e=this.getContext(v),t=i.setContext(e),r=o.setContext(e),a=t.lineWidth,c=t.color,u=r.dash||[],h=r.dashOffset,f=t.tickWidth,p=t.tickColor,m=t.tickBorderDash||[],g=t.tickBorderDashOffset;b=Ob(this,v,s),void 0!==b&&(y=dg(n,b,a),l?C=w=S=k=y:_=x=E=M=y,d.push({tx1:C,ty1:_,tx2:w,ty2:x,x1:S,y1:E,x2:k,y2:M,width:a,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:r,ticks:i}=n,a=this.isHorizontal(),o=this.ticks,{align:s,crossAlign:l,padding:c,mirror:u}=i,d=jb(n.grid),h=d+c,f=u?-c:h,p=-Mm(this.labelRotation),m=[];let g,v,b,y,C,_,w,x,S,E,k,M,O="middle";if("top"===r)_=this.bottom-f,w=this._getXAxisLabelAlignment();else if("bottom"===r)_=this.top+f,w=this._getXAxisLabelAlignment();else if("left"===r){const e=this._getYAxisLabelAlignment(d);w=e.textAlign,C=e.x}else if("right"===r){const e=this._getYAxisLabelAlignment(d);w=e.textAlign,C=e.x}else if("x"===t){if("center"===r)_=(e.top+e.bottom)/2+h;else if(Gp(r)){const e=Object.keys(r)[0],t=r[e];_=this.chart.scales[e].getPixelForValue(t)+h}w=this._getXAxisLabelAlignment()}else if("y"===t){if("center"===r)C=(e.left+e.right)/2-h;else if(Gp(r)){const e=Object.keys(r)[0],t=r[e];C=this.chart.scales[e].getPixelForValue(t)}w=this._getYAxisLabelAlignment(d).textAlign}"y"===t&&("start"===s?O="top":"end"===s&&(O="bottom"));const j=this._getLabelSizes();for(g=0,v=o.length;g<v;++g){b=o[g],y=b.label;const e=i.setContext(this.getContext(g));x=this.getPixelForTick(g)+i.labelOffset,S=this._resolveTickFontOptions(g),E=S.lineHeight,k=qp(y)?y.length:1;const t=k/2,n=e.color,s=e.textStrokeColor,c=e.textStrokeWidth;let d,h=w;if(a?(C=x,"inner"===w&&(h=g===v-1?this.options.reverse?"left":"right":0===g?this.options.reverse?"right":"left":"center"),M="top"===r?"near"===l||0!==p?-k*E+E/2:"center"===l?-j.highest.height/2-t*E+E:-j.highest.height+E/2:"near"===l||0!==p?E/2:"center"===l?j.highest.height/2-t*E:j.highest.height-k*E,u&&(M*=-1),0===p||e.showLabelBackdrop||(C+=E/2*Math.sin(p))):(_=x,M=(1-k)*E/2),e.showLabelBackdrop){const t=Tg(e.backdropPadding),n=j.heights[g],r=j.widths[g];let i=M-t.top,a=0-t.left;switch(O){case"middle":i-=n/2;break;case"bottom":i-=n}switch(w){case"center":a-=r/2;break;case"right":a-=r;break;case"inner":g===v-1?a-=r:g>0&&(a-=r/2)}d={left:a,top:i,width:r+t.width,height:n+t.height,color:e.backdropColor}}m.push({label:y,font:S,textOffset:M,options:{rotation:p,color:n,strokeColor:s,strokeWidth:c,textAlign:h,textBaseline:O,translation:[C,_],backdrop:d}})}return m}_getXAxisLabelAlignment(){const{position:e,ticks:t}=this.options;if(-Mm(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:r,padding:i}}=this.options,a=e+i,o=this._getLabelSizes().widest.width;let s,l;return"left"===t?r?(l=this.right+i,"near"===n?s="left":"center"===n?(s="center",l+=o/2):(s="right",l+=o)):(l=this.right-a,"near"===n?s="right":"center"===n?(s="center",l-=o/2):(s="left",l=this.left)):"right"===t?r?(l=this.left+i,"near"===n?s="right":"center"===n?(s="center",l-=o/2):(s="left",l-=o)):(l=this.left+a,"near"===n?s="left":"center"===n?(s="center",l+=o/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:r,width:i,height:a}=this;t&&(e.save(),e.fillStyle=t,e.fillRect(n,r,i,a),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,r=this._gridLineItems||(this._gridLineItems=this._computeGridLineItems(e));let i,a;const o=(e,t,r)=>{r.width&&r.color&&(n.save(),n.lineWidth=r.width,n.strokeStyle=r.color,n.setLineDash(r.borderDash||[]),n.lineDashOffset=r.borderDashOffset,n.beginPath(),n.moveTo(e.x,e.y),n.lineTo(t.x,t.y),n.stroke(),n.restore())};if(t.display)for(i=0,a=r.length;i<a;++i){const e=r[i];t.drawOnChartArea&&o({x:e.x1,y:e.y1},{x:e.x2,y:e.y2},e),t.drawTicks&&o({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:r}}=this,i=n.setContext(this.getContext()),a=n.display?i.width:0;if(!a)return;const o=r.setContext(this.getContext(0)).lineWidth,s=this._borderValue;let l,c,u,d;this.isHorizontal()?(l=dg(e,this.left,a)-a/2,c=dg(e,this.right,o)+o/2,u=d=s):(u=dg(e,this.top,a)-a/2,d=dg(e,this.bottom,o)+o/2,l=c=s),t.save(),t.lineWidth=i.width,t.strokeStyle=i.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&&gg(t,n);const r=this.getLabelItems(e);for(const e of r){const n=e.options,r=e.font;wg(t,e.label,0,e.textOffset,r,n)}n&&vg(t)}drawTitle(){const{ctx:e,options:{position:t,title:n,reverse:r}}=this;if(!n.display)return;const i=Pg(n.font),a=Tg(n.padding),o=n.align;let s=i.lineHeight/2;"bottom"===t||"center"===t||Gp(t)?(s+=a.bottom,qp(n.text)&&(s+=i.lineHeight*(n.text.length-1))):s+=a.top;const{titleX:l,titleY:c,maxWidth:u,rotation:d}=function(e,t,n,r){const{top:i,left:a,bottom:o,right:s,chart:l}=e,{chartArea:c,scales:u}=l;let d,h,f,p=0;const m=o-i,g=s-a;if(e.isHorizontal()){if(h=Bm(r,a,s),Gp(n)){const e=Object.keys(n)[0],r=n[e];f=u[e].getPixelForValue(r)+m-t}else f="center"===n?(c.bottom+c.top)/2+m-t:Eb(e,n,t);d=s-a}else{if(Gp(n)){const e=Object.keys(n)[0],r=n[e];h=u[e].getPixelForValue(r)-g+t}else h="center"===n?(c.left+c.right)/2-g+t:Eb(e,n,t);f=Bm(r,o,i),p="left"===n?-ym:ym}return{titleX:h,titleY:f,maxWidth:d,rotation:p}}(this,s,t,o);wg(e,n.text,0,0,i,{color:n.color,maxWidth:u,rotation:d,textAlign:Pb(o,t,r),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=Kp(e.grid&&e.grid.z,-1),r=Kp(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:r,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",r=[];let i,a;for(i=0,a=t.length;i<a;++i){const a=t[i];a[n]!==this.id||e&&a.type!==e||r.push(a)}return r}_resolveTickFontOptions(e){return Pg(this.options.ticks.setContext(this.getContext(e)).font)}_maxDigits(){const e=this._resolveTickFontOptions(0).lineHeight;return(this.isHorizontal()?this.width:this.height)/e}}class Ab{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 r=this.items,i=e.id,a=this.scope+"."+i;if(!i)throw new Error("class does not have id: "+e);return i in r||(r[i]=e,function(e,t,n){const r=am(Object.create(null),[n?cg.get(n):{},cg.get(t),e.defaults]);cg.set(t,r),e.defaultRoutes&&function(e,t){Object.keys(t).forEach(n=>{const r=n.split("."),i=r.pop(),a=[e].concat(r).join("."),o=t[n].split("."),s=o.pop(),l=o.join(".");cg.route(a,i,l,s)})}(t,e.defaultRoutes),e.descriptors&&cg.describe(t,e.descriptors)}(e,a,n),this.override&&cg.override(e.id,e.overrides)),a}get(e){return this.items[e]}unregister(e){const t=this.items,n=e.id,r=this.scope;n in t&&delete t[n],r&&n in cg[r]&&(delete cg[r][n],this.override&&delete ig[n])}}class Lb{constructor(){this.controllers=new Ab(Fv,"datasets",!0),this.elements=new Ab(xb,"elements"),this.plugins=new Ab(Object,"plugins"),this.scales=new Ab(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 r=n||this._getRegistryForType(t);n||r.isForType(t)||r===this.plugins&&t.id?this._exec(e,r,t):em(t,t=>{const r=n||this._getRegistryForType(t);this._exec(e,r,t)})})}_exec(e,t,n){const r=um(e);Jp(n["before"+r],[],n),t[e](n),Jp(n["after"+r],[],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 r=t.get(e);if(void 0===r)throw new Error('"'+e+'" is not a registered '+n+".");return r}}var Ib=new Lb;class Nb{constructor(){this._init=void 0}notify(e,t,n,r){if("beforeInit"===t&&(this._init=this._createDescriptors(e,!0),this._notify(this._init,e,"install")),void 0===this._init)return;const i=r?this._descriptors(e).filter(r):this._descriptors(e),a=this._notify(i,e,t,n);return"afterDestroy"===t&&(this._notify(i,e,"stop"),this._notify(this._init,e,"uninstall"),this._init=void 0),a}_notify(e,t,n,r){r=r||{};for(const i of e){const e=i.plugin;if(!1===Jp(e[n],[t,r,i.options],e)&&r.cancelable)return!1}return!0}invalidate(){Zp(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,r=Kp(n.options&&n.options.plugins,{}),i=function(e){const t={},n=[],r=Object.keys(Ib.plugins.items);for(let e=0;e<r.length;e++)n.push(Ib.getPlugin(r[e]));const i=e.plugins||[];for(let e=0;e<i.length;e++){const r=i[e];-1===n.indexOf(r)&&(n.push(r),t[r.id]=!0)}return{plugins:n,localIds:t}}(n);return!1!==r||t?function(e,{plugins:t,localIds:n},r,i){const a=[],o=e.getContext();for(const s of t){const t=s.id,l=Rb(r[t],i);null!==l&&a.push({plugin:s,options:zb(e.config,{plugin:s,local:n[t]},l,o)})}return a}(e,i,r,t):[]}_notifyStateChanges(e){const t=this._oldCache||[],n=this._cache,r=(e,t)=>e.filter(e=>!t.some(t=>e.plugin.id===t.plugin.id));this._notify(r(t,n),e,"stop"),this._notify(r(n,t),e,"start")}}function Rb(e,t){return t||!1!==e?!0===e?{}:e:null}function zb(e,{plugin:t,local:n},r,i){const a=e.pluginScopeKeys(t),o=e.getOptionScopes(r,a);return n&&t.defaults&&o.push(t.defaults),e.createResolver(o,i,[""],{scriptable:!1,indexable:!1,allKeys:!0})}function Fb(e,t){const n=cg.datasets[e]||{};return((t.datasets||{})[e]||{}).indexAxis||t.indexAxis||n.indexAxis||"x"}function Hb(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 Vb(e,...t){if(Hb(e))return e;for(const n of t){const t=n.axis||$b(n.position)||e.length>1&&Hb(e[0].toLowerCase());if(t)return t}throw new Error(`Cannot determine type of '${e}' axis. Please provide 'axis' or 'position' option.`)}function Ub(e,t,n){if(n[t+"AxisID"]===e)return{axis:t}}function Bb(e){const t=e.options||(e.options={});t.plugins=Kp(t.plugins,{}),t.scales=function(e,t){const n=ig[e.type]||{scales:{}},r=t.scales||{},i=Fb(e.type,t),a=Object.create(null);return Object.keys(r).forEach(t=>{const o=r[t];if(!Gp(o))return console.error(`Invalid scale configuration for scale: ${t}`);if(o._proxy)return console.warn(`Ignoring resolver passed as options for scale: ${t}`);const s=Vb(t,o,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 Ub(e,"x",n[0])||Ub(e,"y",n[0])}return{}}(t,e),cg.scales[o.type]),l=function(e,t){return e===t?"_index_":"_value_"}(s,i),c=n.scales||{};a[t]=om(Object.create(null),[{axis:s},o,c[s],c[l]])}),e.data.datasets.forEach(n=>{const i=n.type||e.type,o=n.indexAxis||Fb(i,t),s=(ig[i]||{}).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,o),i=n[t+"AxisID"]||t;a[i]=a[i]||Object.create(null),om(a[i],[{axis:t},r[i],s[e]])})}),Object.keys(a).forEach(e=>{const t=a[e];om(t,[cg.scales[t.type],cg.scale])}),a}(e,t)}function Wb(e){return(e=e||{}).datasets=e.datasets||[],e.labels=e.labels||[],e}const Zb=new Map,qb=new Set;function Gb(e,t){let n=Zb.get(e);return n||(n=t(),Zb.set(e,n),qb.add(n)),n}const Yb=(e,t,n)=>{const r=cm(t,n);void 0!==r&&e.add(r)};class Qb{constructor(e){this._config=function(e){return(e=e||{}).data=Wb(e.data),Bb(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=Wb(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(),Bb(e)}clearCache(){this._scopeCache.clear(),this._resolverCache.clear()}datasetScopeKeys(e){return Gb(e,()=>[[`datasets.${e}`,""]])}datasetAnimationScopeKeys(e,t){return Gb(`${e}.transition.${t}`,()=>[[`datasets.${e}.transitions.${t}`,`transitions.${t}`],[`datasets.${e}`,""]])}datasetElementScopeKeys(e,t){return Gb(`${e}-${t}`,()=>[[`datasets.${e}.elements.${t}`,`datasets.${e}`,`elements.${t}`,""]])}pluginScopeKeys(e){const t=e.id;return Gb(`${this.type}-plugin-${t}`,()=>[[`plugins.${t}`,...e.additionalOptionScopes||[]]])}_cachedScopes(e,t){const n=this._scopeCache;let r=n.get(e);return r&&!t||(r=new Map,n.set(e,r)),r}getOptionScopes(e,t,n){const{options:r,type:i}=this,a=this._cachedScopes(e,n),o=a.get(t);if(o)return o;const s=new Set;t.forEach(t=>{e&&(s.add(e),t.forEach(t=>Yb(s,e,t))),t.forEach(e=>Yb(s,r,e)),t.forEach(e=>Yb(s,ig[i]||{},e)),t.forEach(e=>Yb(s,cg,e)),t.forEach(e=>Yb(s,ag,e))});const l=Array.from(s);return 0===l.length&&l.push(Object.create(null)),qb.has(t)&&a.set(t,l),l}chartOptionScopes(){const{options:e,type:t}=this;return[e,ig[t]||{},cg.datasets[t]||{},{type:t},cg,ag]}resolveNamedOptions(e,t,n,r=[""]){const i={$shared:!0},{resolver:a,subPrefixes:o}=Kb(this._resolverCache,e,r);let s=a;(function(e,t){const{isScriptable:n,isIndexable:r}=Ng(e);for(const i of t){const t=n(i),a=r(i),o=(a||t)&&e[i];if(t&&(hm(o)||Xb(o))||a&&qp(o))return!0}return!1})(a,t)&&(i.$shared=!1,s=Ig(a,n=hm(n)?n():n,this.createResolver(e,n,o)));for(const e of t)i[e]=s[e];return i}createResolver(e,t,n=[""],r){const{resolver:i}=Kb(this._resolverCache,e,n);return Gp(t)?Ig(i,t,void 0,r):i}}function Kb(e,t,n){let r=e.get(t);r||(r=new Map,e.set(t,r));const i=n.join();let a=r.get(i);return a||(a={resolver:Lg(t,n),subPrefixes:n.filter(e=>!e.toLowerCase().includes("hover"))},r.set(i,a)),a}const Xb=e=>Gp(e)&&Object.getOwnPropertyNames(e).some(t=>hm(e[t])),Jb=["top","bottom","left","right","chartArea"];function ey(e,t){return"top"===e||"bottom"===e||-1===Jb.indexOf(e)&&"x"===t}function ty(e,t){return function(n,r){return n[e]===r[e]?n[t]-r[t]:n[e]-r[e]}}function ny(e){const t=e.chart,n=t.options.animation;t.notifyPlugins("afterRender"),Jp(n&&n.onComplete,[e],t)}function ry(e){const t=e.chart,n=t.options.animation;Jp(n&&n.onProgress,[e],t)}function iy(e){return Jg()&&"string"==typeof e?e=document.getElementById(e):e&&e.length&&(e=e[0]),e&&e.canvas&&(e=e.canvas),e}const ay={},oy=e=>{const t=iy(e);return Object.values(ay).filter(e=>e.canvas===t).pop()};function sy(e,t,n){const r=Object.keys(e);for(const i of r){const r=+i;if(r>=t){const a=e[i];delete e[i],(n>0||r>t)&&(e[r+n]=a)}}}class ly{static defaults=cg;static instances=ay;static overrides=ig;static registry=Ib;static version="4.5.1";static getChart=oy;static register(...e){Ib.add(...e),cy()}static unregister(...e){Ib.remove(...e),cy()}constructor(e,t){const n=this.config=new Qb(t),r=iy(e),i=oy(r);if(i)throw new Error("Canvas is already in use. Chart with ID '"+i.id+"' must be destroyed before the canvas with ID '"+i.canvas.id+"' can be reused.");const a=n.createResolver(n.chartOptionScopes(),this.getContext());this.platform=new(n.platform||function(e){return!Jg()||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas?sb:wb}(r)),this.platform.updateConfig(n);const o=this.platform.acquireContext(r,a.aspectRatio),s=o&&o.canvas,l=s&&s.height,c=s&&s.width;this.id=Wp(),this.ctx=o,this.canvas=s,this.width=c,this.height=l,this._options=a,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 Nb,this.$proxies={},this._hiddenIndices={},this.attached=!1,this._animationsDisabled=void 0,this.$context=void 0,this._doResize=function(e,t){let n;return function(...r){return t?(clearTimeout(n),n=setTimeout(e,t,r)):e.apply(this,r),t}}(e=>this.update(e),a.resizeDelay||0),this._dataChanges=[],ay[this.id]=this,o&&s?(xv.listen(this,"complete",ny),xv.listen(this,"progress",ry),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:r,_aspectRatio:i}=this;return Zp(e)?t&&i?i:r?n/r: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 Ib}_initialize(){return this.notifyPlugins("beforeInit"),this.options.responsive?this.resize():sv(this,this.options.devicePixelRatio),this.bindEvents(),this.notifyPlugins("afterInit"),this}clear(){return hg(this.canvas,this.ctx),this}stop(){return xv.stop(this),this}resize(e,t){xv.running(this)?this._resizeBeforeDraw={width:e,height:t}:this._resize(e,t)}_resize(e,t){const n=this.options,r=this.canvas,i=n.maintainAspectRatio&&this.aspectRatio,a=this.platform.getMaximumSize(r,e,t,i),o=n.devicePixelRatio||this.platform.getDevicePixelRatio(),s=this.width?"resize":"attach";this.width=a.width,this.height=a.height,this._aspectRatio=this.aspectRatio,sv(this,o,!0)&&(this.notifyPlugins("resize",{size:a}),Jp(n.onResize,[this,a],this),this.attached&&this._doResize(s)&&this.render())}ensureScalesHaveIDs(){em(this.options.scales||{},(e,t)=>{e.id=t})}buildOrUpdateScales(){const e=this.options,t=e.scales,n=this.scales,r=Object.keys(n).reduce((e,t)=>(e[t]=!1,e),{});let i=[];t&&(i=i.concat(Object.keys(t).map(e=>{const n=t[e],r=Vb(e,n),i="r"===r,a="x"===r;return{options:n,dposition:i?"chartArea":a?"bottom":"left",dtype:i?"radialLinear":a?"category":"linear"}}))),em(i,t=>{const i=t.options,a=i.id,o=Vb(a,i),s=Kp(i.type,t.dtype);void 0!==i.position&&ey(i.position,o)===ey(t.dposition)||(i.position=t.dposition),r[a]=!0;let l=null;a in n&&n[a].type===s?l=n[a]:(l=new(Ib.getScale(s))({id:a,type:s,ctx:this.ctx,chart:this}),n[l.id]=l),l.init(i,e)}),em(r,(e,t)=>{e||delete n[t]}),em(n,e=>{ab.configure(this,e,e.options),ab.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(ty("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,r;for(this._removeUnreferencedMetasets(),n=0,r=t.length;n<r;n++){const r=t[n];let i=this.getDatasetMeta(n);const a=r.type||this.config.type;if(i.type&&i.type!==a&&(this._destroyDatasetMeta(n),i=this.getDatasetMeta(n)),i.type=a,i.indexAxis=r.indexAxis||Fb(a,this.options),i.order=r.order||0,i.index=n,i.label=""+r.label,i.visible=this.isDatasetVisible(n),i.controller)i.controller.updateIndex(n),i.controller.linkScales();else{const t=Ib.getController(a),{datasetElementType:r,dataElementType:o}=cg.datasets[a];Object.assign(t,{dataElementType:Ib.getElement(o),datasetElementType:r&&Ib.getElement(r)}),i.controller=new t(this,n),e.push(i.controller)}}return this._updateMetasets(),e}_resetElements(){em(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()),r=this._animationsDisabled=!n.animation;if(this._updateScales(),this._checkEventBindings(),this._updateHiddenIndices(),this._plugins.invalidate(),!1===this.notifyPlugins("beforeUpdate",{mode:e,cancelable:!0}))return;const i=this.buildOrUpdateControllers();this.notifyPlugins("beforeElementsUpdate");let a=0;for(let e=0,t=this.data.datasets.length;e<t;e++){const{controller:t}=this.getDatasetMeta(e),n=!r&&-1===i.indexOf(t);t.buildOrUpdateElements(n),a=Math.max(+t.getMaxOverflow(),a)}a=this._minPadding=n.layout.autoPadding?a:0,this._updateLayout(a),r||em(i,e=>{e.reset()}),this._updateDatasets(e),this.notifyPlugins("afterUpdate",{mode:e}),this._layers.sort(ty("z","_idx"));const{_active:o,_lastEvent:s}=this;s?this._eventHandler(s,!0):o.length&&this._updateHoverStyles(o,o,!0),this.render()}_updateScales(){em(this.scales,e=>{ab.removeBox(this,e)}),this.ensureScalesHaveIDs(),this.buildOrUpdateScales()}_checkEventBindings(){const e=this.options,t=new Set(Object.keys(this._listeners)),n=new Set(e.events);fm(t,n)&&!!this._responsiveListeners===e.responsive||(this.unbindEvents(),this.bindEvents())}_updateHiddenIndices(){const{_hiddenIndices:e}=this,t=this._getUniformDataChanges()||[];for(const{method:n,start:r,count:i}of t)sy(e,r,"_removeElements"===n?-i:i)}_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(","))),r=n(0);for(let e=1;e<t;e++)if(!fm(r,n(e)))return;return Array.from(r).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;ab.update(this,this.width,this.height,e);const t=this.chartArea,n=t.width<=0||t.height<=0;this._layers=[],em(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,hm(e)?e({datasetIndex:t}):e);this.notifyPlugins("afterDatasetsUpdate",{mode:e})}}_updateDataset(e,t){const n=this.getDatasetMeta(e),r={meta:n,index:e,mode:t,cancelable:!0};!1!==this.notifyPlugins("beforeDatasetUpdate",r)&&(n.controller._update(t),r.cancelable=!1,this.notifyPlugins("afterDatasetUpdate",r))}render(){!1!==this.notifyPlugins("beforeRender",{cancelable:!0})&&(xv.has(this)?this.attached&&!xv.running(this)&&xv.start(this):(this.draw(),ny({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 r,i;for(r=0,i=t.length;r<i;++r){const i=t[r];e&&!i.visible||n.push(i)}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},r=function(e,t){const n=t._clip;if(n.disabled)return!1;const r=function(e,t){const{xScale:n,yScale:r}=e;return n&&r?{left:_v(n,t,"left"),right:_v(n,t,"right"),top:_v(r,t,"top"),bottom:_v(r,t,"bottom")}:t}(t,e.chartArea);return{left:!1===n.left?0:r.left-(!0===n.left?0:n.left),right:!1===n.right?e.width:r.right+(!0===n.right?0:n.right),top:!1===n.top?0:r.top-(!0===n.top?0:n.top),bottom:!1===n.bottom?e.height:r.bottom+(!0===n.bottom?0:n.bottom)}}(this,e);!1!==this.notifyPlugins("beforeDatasetDraw",n)&&(r&&gg(t,r),e.controller.draw(),r&&vg(t),n.cancelable=!1,this.notifyPlugins("afterDatasetDraw",n))}isPointInArea(e){return mg(e,this.chartArea,this._minPadding)}getElementsAtEventForMode(e,t,n,r){const i=qv.modes[t];return"function"==typeof i?i(this,e,n,r):[]}getDatasetMeta(e){const t=this.data.datasets[e],n=this._metasets;let r=n.filter(e=>e&&e._dataset===t).pop();return r||(r={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(r)),r}getContext(){return this.$context||(this.$context=Ag(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 r=n?"show":"hide",i=this.getDatasetMeta(e),a=i.controller._resolveAnimations(void 0,r);dm(t)?(i.data[t].hidden=!n,this.update()):(this.setDatasetVisibility(e,n),a.update(i,{visible:n}),this.update(t=>t.datasetIndex===e?r: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(),xv.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(),hg(e,t),this.platform.releaseContext(t),this.canvas=null,this.ctx=null),delete ay[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,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(e,t,n)=>{e.offsetX=t,e.offsetY=n,this._eventHandler(e)};em(this.options.events,e=>n(e,r))}bindResponsiveEvents(){this._responsiveListeners||(this._responsiveListeners={});const e=this._responsiveListeners,t=this.platform,n=(n,r)=>{t.addEventListener(this,n,r),e[n]=r},r=(n,r)=>{e[n]&&(t.removeEventListener(this,n,r),delete e[n])},i=(e,t)=>{this.canvas&&this.resize(e,t)};let a;const o=()=>{r("attach",o),this.attached=!0,this.resize(),n("resize",i),n("detach",a)};a=()=>{this.attached=!1,r("resize",i),this._stop(),this._resize(0,0),n("attach",o)},t.isAttached(this.canvas)?o():a()}unbindEvents(){em(this._listeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._listeners={},em(this._responsiveListeners,(e,t)=>{this.platform.removeEventListener(this,t,e)}),this._responsiveListeners=void 0}updateHoverStyle(e,t,n){const r=n?"set":"remove";let i,a,o,s;for("dataset"===t&&(i=this.getDatasetMeta(e[0].datasetIndex),i.controller["_"+r+"DatasetHoverStyle"]()),o=0,s=e.length;o<s;++o){a=e[o];const t=a&&this.getDatasetMeta(a.datasetIndex).controller;t&&t[r+"HoverStyle"](a.element,a.datasetIndex,a.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}});!tm(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 r=this.options.hover,i=(e,t)=>e.filter(e=>!t.some(t=>e.datasetIndex===t.datasetIndex&&e.index===t.index)),a=i(t,e),o=n?e:i(e,t);a.length&&this.updateHoverStyle(a,r.mode,!1),o.length&&r.mode&&this.updateHoverStyle(o,r.mode,!0)}_eventHandler(e,t){const n={event:e,replay:t,cancelable:!0,inChartArea:this.isPointInArea(e)},r=t=>(t.options.events||this.options.events).includes(e.native.type);if(!1===this.notifyPlugins("beforeEvent",n,r))return;const i=this._handleEvent(e,t,n.inChartArea);return n.cancelable=!1,this.notifyPlugins("afterEvent",n,r),(i||n.changed)&&this.render(),this}_handleEvent(e,t,n){const{_active:r=[],options:i}=this,a=t,o=this._getActiveElements(e,r,n,a),s=function(e){return"mouseup"===e.type||"click"===e.type||"contextmenu"===e.type}(e),l=function(e,t,n,r){return n&&"mouseout"!==e.type?r?t:e:null}(e,this._lastEvent,n,s);n&&(this._lastEvent=null,Jp(i.onHover,[e,o,this],this),s&&Jp(i.onClick,[e,o,this],this));const c=!tm(o,r);return(c||t)&&(this._active=o,this._updateHoverStyles(o,r,t)),this._lastEvent=l,c}_getActiveElements(e,t,n,r){if("mouseout"===e.type)return[];if(!n)return t;const i=this.options.hover;return this.getElementsAtEventForMode(e,i.mode,i,r)}}function cy(){return em(ly.instances,e=>e._plugins.invalidate())}function uy(e,t,n,r){return{x:n+e*Math.cos(t),y:r+e*Math.sin(t)}}function dy(e,t,n,r,i,a){const{x:o,y:s,startAngle:l,pixelMargin:c,innerRadius:u}=t,d=Math.max(t.outerRadius+r+n-c,0),h=u>0?u+r+n+c:0;let f=0;const p=i-l;if(r){const e=((u>0?u-r:0)+(d>0?d-r:0))/2;f=(p-(0!==e?p*e/(e+r):p))/2}const m=(p-Math.max(.001,p*d-n/pm)/d)/2,g=l+m+f,v=i-m-f,{outerStart:b,outerEnd:y,innerStart:C,innerEnd:_}=function(e,t,n,r){const i=Og(e.options.borderRadius,["outerStart","outerEnd","innerStart","innerEnd"]),a=(n-t)/2,o=Math.min(a,r*t/2),s=e=>{const t=(n-Math.min(a,e))*r/2;return Lm(e,0,Math.min(a,t))};return{outerStart:s(i.outerStart),outerEnd:s(i.outerEnd),innerStart:Lm(i.innerStart,0,o),innerEnd:Lm(i.innerEnd,0,o)}}(t,h,d,v-g),w=d-b,x=d-y,S=g+b/w,E=v-y/x,k=h+C,M=h+_,O=g+C/k,j=v-_/M;if(e.beginPath(),a){const t=(S+E)/2;if(e.arc(o,s,d,S,t),e.arc(o,s,d,t,E),y>0){const t=uy(x,E,o,s);e.arc(t.x,t.y,y,E,v+ym)}const n=uy(M,v,o,s);if(e.lineTo(n.x,n.y),_>0){const t=uy(M,j,o,s);e.arc(t.x,t.y,_,v+ym,j+Math.PI)}const r=(v-_/h+(g+C/h))/2;if(e.arc(o,s,h,v-_/h,r,!0),e.arc(o,s,h,r,g+C/h,!0),C>0){const t=uy(k,O,o,s);e.arc(t.x,t.y,C,O+Math.PI,g-ym)}const i=uy(w,g,o,s);if(e.lineTo(i.x,i.y),b>0){const t=uy(w,S,o,s);e.arc(t.x,t.y,b,g-ym,S)}}else{e.moveTo(o,s);const t=Math.cos(S)*d+o,n=Math.sin(S)*d+s;e.lineTo(t,n);const r=Math.cos(E)*d+o,i=Math.sin(E)*d+s;e.lineTo(r,i)}e.closePath()}function hy(e,t,n=t){e.lineCap=Kp(n.borderCapStyle,t.borderCapStyle),e.setLineDash(Kp(n.borderDash,t.borderDash)),e.lineDashOffset=Kp(n.borderDashOffset,t.borderDashOffset),e.lineJoin=Kp(n.borderJoinStyle,t.borderJoinStyle),e.lineWidth=Kp(n.borderWidth,t.borderWidth),e.strokeStyle=Kp(n.borderColor,t.borderColor)}function fy(e,t,n){e.lineTo(n.x,n.y)}function py(e,t,n={}){const r=e.length,{start:i=0,end:a=r-1}=n,{start:o,end:s}=t,l=Math.max(i,o),c=Math.min(a,s),u=i<o&&a<o||i>s&&a>s;return{count:r,start:l,loop:t.loop,ilen:c<l&&!u?r+c-l:c-l}}function my(e,t,n,r){const{points:i,options:a}=t,{count:o,start:s,loop:l,ilen:c}=py(i,n,r),u=function(e){return e.stepped?bg:e.tension||"monotone"===e.cubicInterpolationMode?yg:fy}(a);let d,h,f,{move:p=!0,reverse:m}=r||{};for(d=0;d<=c;++d)h=i[(s+(m?c-d:d))%o],h.skip||(p?(e.moveTo(h.x,h.y),p=!1):u(e,f,h,m,a.stepped),f=h);return l&&(h=i[(s+(m?c:0))%o],u(e,f,h,m,a.stepped)),!!l}function gy(e,t,n,r){const i=t.points,{count:a,start:o,ilen:s}=py(i,n,r),{move:l=!0,reverse:c}=r||{};let u,d,h,f,p,m,g=0,v=0;const b=e=>(o+(c?s-e:e))%a,y=()=>{f!==p&&(e.lineTo(g,p),e.lineTo(g,f),e.lineTo(g,m))};for(l&&(d=i[b(0)],e.moveTo(d.x,d.y)),u=0;u<=s;++u){if(d=i[b(u)],d.skip)continue;const t=d.x,n=d.y,r=0|t;r===h?(n<f?f=n:n>p&&(p=n),g=(v*g+t)/++v):(y(),e.lineTo(t,n),h=r,v=0,f=p=n),m=n}y()}function vy(e){const t=e.options,n=t.borderDash&&t.borderDash.length;return e._decimated||e._loop||t.tension||"monotone"===t.cubicInterpolationMode||t.stepped||n?my:gy}const by="function"==typeof Path2D;function yy(e,t,n,r){const i=e.options,{[n]:a}=e.getProps([n],r);return Math.abs(t-a)<i.radius+i.hitRadius}const Cy=(e,t)=>{let{boxHeight:n=t,boxWidth:r=t}=e;return e.usePointStyle&&(n=Math.min(n,t),r=e.pointStyleWidth||Math.min(r,t)),{boxWidth:r,boxHeight:n,itemHeight:Math.max(t,n)}};class _y extends xb{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=Jp(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,r=Pg(n.font),i=r.size,a=this._computeTitleHeight(),{boxWidth:o,itemHeight:s}=Cy(n,i);let l,c;t.font=r.string,this.isHorizontal()?(l=this.maxWidth,c=this._fitRows(a,i,o,s)+10):(c=this.maxHeight,l=this._fitCols(a,r,o,s)+10),this.width=Math.min(l,e.maxWidth||this.maxWidth),this.height=Math.min(c,e.maxHeight||this.maxHeight)}_fitRows(e,t,n,r){const{ctx:i,maxWidth:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],l=this.lineWidths=[0],c=r+o;let u=e;i.textAlign="left",i.textBaseline="middle";let d=-1,h=-c;return this.legendItems.forEach((e,f)=>{const p=n+t/2+i.measureText(e.text).width;(0===f||l[l.length-1]+p+2*o>a)&&(u+=c,l[l.length-(f>0?0:1)]=0,h+=c,d++),s[f]={left:0,top:h,row:d,width:p,height:r},l[l.length-1]+=p+o}),u}_fitCols(e,t,n,r){const{ctx:i,maxHeight:a,options:{labels:{padding:o}}}=this,s=this.legendHitBoxes=[],l=this.columnSizes=[],c=a-e;let u=o,d=0,h=0,f=0,p=0;return this.legendItems.forEach((e,a)=>{const{itemWidth:m,itemHeight:g}=function(e,t,n,r,i){const a=function(e,t,n,r){let i=e.text;return i&&"string"!=typeof i&&(i=i.reduce((e,t)=>e.length>t.length?e:t)),t+n.size/2+r.measureText(i).width}(r,e,t,n),o=function(e,t,n){let r=e;return"string"!=typeof t.text&&(r=wy(t,n)),r}(i,r,t.lineHeight);return{itemWidth:a,itemHeight:o}}(n,t,i,e,r);a>0&&h+g+2*o>c&&(u+=d+o,l.push({width:d,height:h}),f+=d+o,p++,d=h=0),s[a]={left:f,top:h,col:p,width:m,height:g},d=Math.max(d,m),h+=g+o}),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:r},rtl:i}}=this,a=fv(i,this.left,this.width);if(this.isHorizontal()){let i=0,o=Bm(n,this.left+r,this.right-this.lineWidths[i]);for(const s of t)i!==s.row&&(i=s.row,o=Bm(n,this.left+r,this.right-this.lineWidths[i])),s.top+=this.top+e+r,s.left=a.leftForLtr(a.x(o),s.width),o+=s.width+r}else{let i=0,o=Bm(n,this.top+e+r,this.bottom-this.columnSizes[i].height);for(const s of t)s.col!==i&&(i=s.col,o=Bm(n,this.top+e+r,this.bottom-this.columnSizes[i].height)),s.top=o,s.left+=this.left+r,s.left=a.leftForLtr(a.x(s.left),s.width),o+=s.height+r}}isHorizontal(){return"top"===this.options.position||"bottom"===this.options.position}draw(){if(this.options.display){const e=this.ctx;gg(e,this),this._draw(),vg(e)}}_draw(){const{options:e,columnSizes:t,lineWidths:n,ctx:r}=this,{align:i,labels:a}=e,o=cg.color,s=fv(e.rtl,this.left,this.width),l=Pg(a.font),{padding:c}=a,u=l.size,d=u/2;let h;this.drawTitle(),r.textAlign=s.textAlign("left"),r.textBaseline="middle",r.lineWidth=.5,r.font=l.string;const{boxWidth:f,boxHeight:p,itemHeight:m}=Cy(a,u),g=this.isHorizontal(),v=this._computeTitleHeight();h=g?{x:Bm(i,this.left+c,this.right-n[0]),y:this.top+c+v,line:0}:{x:this.left+c,y:Bm(i,this.top+v+c,this.bottom-t[0].height),line:0},pv(this.ctx,e.textDirection);const b=m+c;this.legendItems.forEach((y,C)=>{r.strokeStyle=y.fontColor,r.fillStyle=y.fontColor;const _=r.measureText(y.text).width,w=s.textAlign(y.textAlign||(y.textAlign=a.textAlign)),x=f+d+_;let S=h.x,E=h.y;if(s.setWidth(this.width),g?C>0&&S+x+c>this.right&&(E=h.y+=b,h.line++,S=h.x=Bm(i,this.left+c,this.right-n[h.line])):C>0&&E+b>this.bottom&&(S=h.x=S+t[h.line].width+c,h.line++,E=h.y=Bm(i,this.top+v+c,this.bottom-t[h.line].height)),function(e,t,n){if(isNaN(f)||f<=0||isNaN(p)||p<0)return;r.save();const i=Kp(n.lineWidth,1);if(r.fillStyle=Kp(n.fillStyle,o),r.lineCap=Kp(n.lineCap,"butt"),r.lineDashOffset=Kp(n.lineDashOffset,0),r.lineJoin=Kp(n.lineJoin,"miter"),r.lineWidth=i,r.strokeStyle=Kp(n.strokeStyle,o),r.setLineDash(Kp(n.lineDash,[])),a.usePointStyle){const o={radius:p*Math.SQRT2/2,pointStyle:n.pointStyle,rotation:n.rotation,borderWidth:i},l=s.xPlus(e,f/2);pg(r,o,l,t+d,a.pointStyleWidth&&f)}else{const a=t+Math.max((u-p)/2,0),o=s.leftForLtr(e,f),l=jg(n.borderRadius);r.beginPath(),Object.values(l).some(e=>0!==e)?xg(r,{x:o,y:a,w:f,h:p,radius:l}):r.rect(o,a,f,p),r.fill(),0!==i&&r.stroke()}r.restore()}(s.x(S),E,y),S=((e,t,n,r)=>e===(r?"left":"right")?n:"center"===e?(t+n)/2:t)(w,S+f+d,g?S+x:this.right,e.rtl),function(e,t,n){wg(r,n.text,e,t+m/2,l,{strikethrough:n.hidden,textAlign:s.textAlign(n.textAlign)})}(s.x(S),E,y),g)h.x+=x+c;else if("string"!=typeof y.text){const e=l.lineHeight;h.y+=wy(y,e)+c}else h.y+=b}),mv(this.ctx,e.textDirection)}drawTitle(){const e=this.options,t=e.title,n=Pg(t.font),r=Tg(t.padding);if(!t.display)return;const i=fv(e.rtl,this.left,this.width),a=this.ctx,o=t.position,s=n.size/2,l=r.top+s;let c,u=this.left,d=this.width;if(this.isHorizontal())d=Math.max(...this.lineWidths),c=this.top+l,u=Bm(e.align,u,this.right-d);else{const t=this.columnSizes.reduce((e,t)=>Math.max(e,t.height),0);c=l+Bm(e.align,this.top,this.bottom-t-e.labels.padding-this._computeTitleHeight())}const h=Bm(o,u,u+d);a.textAlign=i.textAlign(Um(o)),a.textBaseline="middle",a.strokeStyle=t.color,a.fillStyle=t.color,a.font=n.string,wg(a,t.text,h,c,n)}_computeTitleHeight(){const e=this.options.title,t=Pg(e.font),n=Tg(e.padding);return e.display?t.lineHeight+n.height:0}_getLegendItemAt(e,t){let n,r,i;if(Im(e,this.left,this.right)&&Im(t,this.top,this.bottom))for(i=this.legendHitBoxes,n=0;n<i.length;++n)if(r=i[n],Im(e,r.left,r.left+r.width)&&Im(t,r.top,r.top+r.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 r=this._hoveredItem,i=((e,t)=>null!==e&&null!==t&&e.datasetIndex===t.datasetIndex&&e.index===t.index)(r,n);r&&!i&&Jp(t.onLeave,[e,r,this],this),this._hoveredItem=n,n&&!i&&Jp(t.onHover,[e,n,this],this)}else n&&Jp(t.onClick,[e,n,this],this)}}function wy(e,t){return t*(e.text?e.text.length:0)}var xy={id:"legend",_element:_y,start(e,t,n){const r=e.legend=new _y({ctx:e.ctx,options:n,chart:e});ab.configure(e,r,n),ab.addBox(e,r)},stop(e){ab.removeBox(e,e.legend),delete e.legend},beforeUpdate(e,t,n){const r=e.legend;ab.configure(e,r,n),r.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 r=t.datasetIndex,i=n.chart;i.isDatasetVisible(r)?(i.hide(r),t.hidden=!0):(i.show(r),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:r,textAlign:i,color:a,useBorderRadius:o,borderRadius:s}}=e.legend.options;return e._getSortedDatasetMetas().map(e=>{const l=e.controller.getStyle(n?0:void 0),c=Tg(l.borderWidth);return{text:t[e.index].label,fillStyle:l.backgroundColor,fontColor:a,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:r||l.pointStyle,rotation:l.rotation,textAlign:i||l.textAlign,borderRadius:o&&(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 Sy extends xb{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 r=qp(n.text)?n.text.length:1;this._padding=Tg(n.padding);const i=r*Pg(n.font).lineHeight+this._padding.height;this.isHorizontal()?this.height=i:this.width=i}isHorizontal(){const e=this.options.position;return"top"===e||"bottom"===e}_drawArgs(e){const{top:t,left:n,bottom:r,right:i,options:a}=this,o=a.align;let s,l,c,u=0;return this.isHorizontal()?(l=Bm(o,n,i),c=t+e,s=i-n):("left"===a.position?(l=n+e,c=Bm(o,r,t),u=-.5*pm):(l=i-e,c=Bm(o,t,r),u=.5*pm),s=r-t),{titleX:l,titleY:c,maxWidth:s,rotation:u}}draw(){const e=this.ctx,t=this.options;if(!t.display)return;const n=Pg(t.font),r=n.lineHeight/2+this._padding.top,{titleX:i,titleY:a,maxWidth:o,rotation:s}=this._drawArgs(r);wg(e,t.text,0,0,n,{color:t.color,maxWidth:o,rotation:s,textAlign:Um(t.align),textBaseline:"middle",translation:[i,a]})}}var Ey={id:"title",_element:Sy,start(e,t,n){!function(e,t){const n=new Sy({ctx:e.ctx,options:t,chart:e});ab.configure(e,n,t),ab.addBox(e,n),e.titleBlock=n}(e,n)},stop(e){const t=e.titleBlock;ab.removeBox(e,t),delete e.titleBlock},beforeUpdate(e,t,n){const r=e.titleBlock;ab.configure(e,r,n),r.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 ky={average(e){if(!e.length)return!1;let t,n,r=new Set,i=0,a=0;for(t=0,n=e.length;t<n;++t){const n=e[t].element;if(n&&n.hasValue()){const e=n.tooltipPosition();r.add(e.x),i+=e.y,++a}}if(0===a||0===r.size)return!1;const o=[...r].reduce((e,t)=>e+t)/r.size;return{x:o,y:i/a}},nearest(e,t){if(!e.length)return!1;let n,r,i,a=t.x,o=t.y,s=Number.POSITIVE_INFINITY;for(n=0,r=e.length;n<r;++n){const r=e[n].element;if(r&&r.hasValue()){const e=Tm(t,r.getCenterPoint());e<s&&(s=e,i=r)}}if(i){const e=i.tooltipPosition();a=e.x,o=e.y}return{x:a,y:o}}};function My(e,t){return t&&(qp(t)?Array.prototype.push.apply(e,t):e.push(t)),e}function Oy(e){return("string"==typeof e||e instanceof String)&&e.indexOf("\n")>-1?e.split("\n"):e}function jy(e,t){const{element:n,datasetIndex:r,index:i}=t,a=e.getDatasetMeta(r).controller,{label:o,value:s}=a.getLabelAndValue(i);return{chart:e,label:o,parsed:a.getParsed(i),raw:e.data.datasets[r].data[i],formattedValue:s,dataset:a.getDataset(),dataIndex:i,datasetIndex:r,element:n}}function Ty(e,t){const n=e.chart.ctx,{body:r,footer:i,title:a}=e,{boxWidth:o,boxHeight:s}=t,l=Pg(t.bodyFont),c=Pg(t.titleFont),u=Pg(t.footerFont),d=a.length,h=i.length,f=r.length,p=Tg(t.padding);let m=p.height,g=0,v=r.reduce((e,t)=>e+t.before.length+t.lines.length+t.after.length,0);v+=e.beforeBody.length+e.afterBody.length,d&&(m+=d*c.lineHeight+(d-1)*t.titleSpacing+t.titleMarginBottom),v&&(m+=f*(t.displayColors?Math.max(s,l.lineHeight):l.lineHeight)+(v-f)*l.lineHeight+(v-1)*t.bodySpacing),h&&(m+=t.footerMarginTop+h*u.lineHeight+(h-1)*t.footerSpacing);let b=0;const y=function(e){g=Math.max(g,n.measureText(e).width+b)};return n.save(),n.font=c.string,em(e.title,y),n.font=l.string,em(e.beforeBody.concat(e.afterBody),y),b=t.displayColors?o+2+t.boxPadding:0,em(r,e=>{em(e.before,y),em(e.lines,y),em(e.after,y)}),b=0,n.font=u.string,em(e.footer,y),n.restore(),g+=p.width,{width:g,height:m}}function Py(e,t,n,r){const{x:i,width:a}=n,{width:o,chartArea:{left:s,right:l}}=e;let c="center";return"center"===r?c=i<=(s+l)/2?"left":"right":i<=a/2?c="left":i>=o-a/2&&(c="right"),function(e,t,n,r){const{x:i,width:a}=r,o=n.caretSize+n.caretPadding;return"left"===e&&i+a+o>t.width||"right"===e&&i-a-o<0||void 0}(c,e,t,n)&&(c="center"),c}function Dy(e,t,n){const r=n.yAlign||t.yAlign||function(e,t){const{y:n,height:r}=t;return n<r/2?"top":n>e.height-r/2?"bottom":"center"}(e,n);return{xAlign:n.xAlign||t.xAlign||Py(e,t,n,r),yAlign:r}}function Ay(e,t,n,r){const{caretSize:i,caretPadding:a,cornerRadius:o}=e,{xAlign:s,yAlign:l}=n,c=i+a,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=jg(o);let p=function(e,t){let{x:n,width:r}=e;return"right"===t?n-=r:"center"===t&&(n-=r/2),n}(t,s);const m=function(e,t,n){let{y:r,height:i}=e;return"top"===t?r+=n:r-="bottom"===t?i+n:i/2,r}(t,l,c);return"center"===l?"left"===s?p+=c:"right"===s&&(p-=c):"left"===s?p-=Math.max(u,h)+i:"right"===s&&(p+=Math.max(d,f)+i),{x:Lm(p,0,r.width-t.width),y:Lm(m,0,r.height-t.height)}}function Ly(e,t,n){const r=Tg(n.padding);return"center"===t?e.x+e.width/2:"right"===t?e.x+e.width-r.right:e.x+r.left}function Iy(e){return My([],Oy(e))}function Ny(e,t){const n=t&&t.dataset&&t.dataset.tooltip&&t.dataset.tooltip.callbacks;return n?e.override(n):e}const Ry={beforeTitle:Bp,title(e){if(e.length>0){const t=e[0],n=t.chart.data.labels,r=n?n.length:0;if(this&&this.options&&"dataset"===this.options.mode)return t.dataset.label||"";if(t.label)return t.label;if(r>0&&t.dataIndex<r)return n[t.dataIndex]}return""},afterTitle:Bp,beforeBody:Bp,beforeLabel:Bp,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 Zp(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:Bp,afterBody:Bp,beforeFooter:Bp,footer:Bp,afterFooter:Bp};function zy(e,t,n,r){const i=e[t].call(n,r);return void 0===i?Ry[t].call(n,r):i}class Fy extends xb{static positioners=ky;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()),r=n.enabled&&t.options.animation&&n.animations,i=new Mv(this.chart,r);return r._cacheable&&(this._cachedAnimations=Object.freeze(i)),i}getContext(){return this.$context||(this.$context=Ag(this.chart.getContext(),{tooltip:this,tooltipItems:this._tooltipItems,type:"tooltip"}))}getTitle(e,t){const{callbacks:n}=t,r=zy(n,"beforeTitle",this,e),i=zy(n,"title",this,e),a=zy(n,"afterTitle",this,e);let o=[];return o=My(o,Oy(r)),o=My(o,Oy(i)),o=My(o,Oy(a)),o}getBeforeBody(e,t){return Iy(zy(t.callbacks,"beforeBody",this,e))}getBody(e,t){const{callbacks:n}=t,r=[];return em(e,e=>{const t={before:[],lines:[],after:[]},i=Ny(n,e);My(t.before,Oy(zy(i,"beforeLabel",this,e))),My(t.lines,zy(i,"label",this,e)),My(t.after,Oy(zy(i,"afterLabel",this,e))),r.push(t)}),r}getAfterBody(e,t){return Iy(zy(t.callbacks,"afterBody",this,e))}getFooter(e,t){const{callbacks:n}=t,r=zy(n,"beforeFooter",this,e),i=zy(n,"footer",this,e),a=zy(n,"afterFooter",this,e);let o=[];return o=My(o,Oy(r)),o=My(o,Oy(i)),o=My(o,Oy(a)),o}_createItems(e){const t=this._active,n=this.chart.data,r=[],i=[],a=[];let o,s,l=[];for(o=0,s=t.length;o<s;++o)l.push(jy(this.chart,t[o]));return e.filter&&(l=l.filter((t,r,i)=>e.filter(t,r,i,n))),e.itemSort&&(l=l.sort((t,r)=>e.itemSort(t,r,n))),em(l,t=>{const n=Ny(e.callbacks,t);r.push(zy(n,"labelColor",this,t)),i.push(zy(n,"labelPointStyle",this,t)),a.push(zy(n,"labelTextColor",this,t))}),this.labelColors=r,this.labelPointStyles=i,this.labelTextColors=a,this.dataPoints=l,l}update(e,t){const n=this.options.setContext(this.getContext()),r=this._active;let i,a=[];if(r.length){const e=ky[n.position].call(this,r,this._eventPosition);a=this._createItems(n),this.title=this.getTitle(a,n),this.beforeBody=this.getBeforeBody(a,n),this.body=this.getBody(a,n),this.afterBody=this.getAfterBody(a,n),this.footer=this.getFooter(a,n);const t=this._size=Ty(this,n),o=Object.assign({},e,t),s=Dy(this.chart,n,o),l=Ay(n,o,s,this.chart);this.xAlign=s.xAlign,this.yAlign=s.yAlign,i={opacity:1,x:l.x,y:l.y,width:t.width,height:t.height,caretX:e.x,caretY:e.y}}else 0!==this.opacity&&(i={opacity:0});this._tooltipItems=a,this.$context=void 0,i&&this._resolveAnimations().update(this,i),e&&n.external&&n.external.call(this,{chart:this.chart,tooltip:this,replay:t})}drawCaret(e,t,n,r){const i=this.getCaretPosition(e,n,r);t.lineTo(i.x1,i.y1),t.lineTo(i.x2,i.y2),t.lineTo(i.x3,i.y3)}getCaretPosition(e,t,n){const{xAlign:r,yAlign:i}=this,{caretSize:a,cornerRadius:o}=n,{topLeft:s,topRight:l,bottomLeft:c,bottomRight:u}=jg(o),{x:d,y:h}=e,{width:f,height:p}=t;let m,g,v,b,y,C;return"center"===i?(y=h+p/2,"left"===r?(m=d,g=m-a,b=y+a,C=y-a):(m=d+f,g=m+a,b=y-a,C=y+a),v=m):(g="left"===r?d+Math.max(s,c)+a:"right"===r?d+f-Math.max(l,u)-a:this.caretX,"top"===i?(b=h,y=b-a,m=g-a,v=g+a):(b=h+p,y=b+a,m=g+a,v=g-a),C=b),{x1:m,x2:g,x3:v,y1:b,y2:y,y3:C}}drawTitle(e,t,n){const r=this.title,i=r.length;let a,o,s;if(i){const l=fv(n.rtl,this.x,this.width);for(e.x=Ly(this,n.titleAlign,n),t.textAlign=l.textAlign(n.titleAlign),t.textBaseline="middle",a=Pg(n.titleFont),o=n.titleSpacing,t.fillStyle=n.titleColor,t.font=a.string,s=0;s<i;++s)t.fillText(r[s],l.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+o,s+1===i&&(e.y+=n.titleMarginBottom-o)}}_drawColorBox(e,t,n,r,i){const a=this.labelColors[n],o=this.labelPointStyles[n],{boxHeight:s,boxWidth:l}=i,c=Pg(i.bodyFont),u=Ly(this,"left",i),d=r.x(u),h=s<c.lineHeight?(c.lineHeight-s)/2:0,f=t.y+h;if(i.usePointStyle){const t={radius:Math.min(l,s)/2,pointStyle:o.pointStyle,rotation:o.rotation,borderWidth:1},n=r.leftForLtr(d,l)+l/2,c=f+s/2;e.strokeStyle=i.multiKeyBackground,e.fillStyle=i.multiKeyBackground,fg(e,t,n,c),e.strokeStyle=a.borderColor,e.fillStyle=a.backgroundColor,fg(e,t,n,c)}else{e.lineWidth=Gp(a.borderWidth)?Math.max(...Object.values(a.borderWidth)):a.borderWidth||1,e.strokeStyle=a.borderColor,e.setLineDash(a.borderDash||[]),e.lineDashOffset=a.borderDashOffset||0;const t=r.leftForLtr(d,l),n=r.leftForLtr(r.xPlus(d,1),l-2),o=jg(a.borderRadius);Object.values(o).some(e=>0!==e)?(e.beginPath(),e.fillStyle=i.multiKeyBackground,xg(e,{x:t,y:f,w:l,h:s,radius:o}),e.fill(),e.stroke(),e.fillStyle=a.backgroundColor,e.beginPath(),xg(e,{x:n,y:f+1,w:l-2,h:s-2,radius:o}),e.fill()):(e.fillStyle=i.multiKeyBackground,e.fillRect(t,f,l,s),e.strokeRect(t,f,l,s),e.fillStyle=a.backgroundColor,e.fillRect(n,f+1,l-2,s-2))}e.fillStyle=this.labelTextColors[n]}drawBody(e,t,n){const{body:r}=this,{bodySpacing:i,bodyAlign:a,displayColors:o,boxHeight:s,boxWidth:l,boxPadding:c}=n,u=Pg(n.bodyFont);let d=u.lineHeight,h=0;const f=fv(n.rtl,this.x,this.width),p=function(n){t.fillText(n,f.x(e.x+h),e.y+d/2),e.y+=d+i},m=f.textAlign(a);let g,v,b,y,C,_,w;for(t.textAlign=a,t.textBaseline="middle",t.font=u.string,e.x=Ly(this,m,n),t.fillStyle=n.bodyColor,em(this.beforeBody,p),h=o&&"right"!==m?"center"===a?l/2+c:l+2+c:0,y=0,_=r.length;y<_;++y){for(g=r[y],v=this.labelTextColors[y],t.fillStyle=v,em(g.before,p),b=g.lines,o&&b.length&&(this._drawColorBox(t,e,y,f,n),d=Math.max(u.lineHeight,s)),C=0,w=b.length;C<w;++C)p(b[C]),d=u.lineHeight;em(g.after,p)}h=0,d=u.lineHeight,em(this.afterBody,p),e.y-=i}drawFooter(e,t,n){const r=this.footer,i=r.length;let a,o;if(i){const s=fv(n.rtl,this.x,this.width);for(e.x=Ly(this,n.footerAlign,n),e.y+=n.footerMarginTop,t.textAlign=s.textAlign(n.footerAlign),t.textBaseline="middle",a=Pg(n.footerFont),t.fillStyle=n.footerColor,t.font=a.string,o=0;o<i;++o)t.fillText(r[o],s.x(e.x),e.y+a.lineHeight/2),e.y+=a.lineHeight+n.footerSpacing}}drawBackground(e,t,n,r){const{xAlign:i,yAlign:a}=this,{x:o,y:s}=e,{width:l,height:c}=n,{topLeft:u,topRight:d,bottomLeft:h,bottomRight:f}=jg(r.cornerRadius);t.fillStyle=r.backgroundColor,t.strokeStyle=r.borderColor,t.lineWidth=r.borderWidth,t.beginPath(),t.moveTo(o+u,s),"top"===a&&this.drawCaret(e,t,n,r),t.lineTo(o+l-d,s),t.quadraticCurveTo(o+l,s,o+l,s+d),"center"===a&&"right"===i&&this.drawCaret(e,t,n,r),t.lineTo(o+l,s+c-f),t.quadraticCurveTo(o+l,s+c,o+l-f,s+c),"bottom"===a&&this.drawCaret(e,t,n,r),t.lineTo(o+h,s+c),t.quadraticCurveTo(o,s+c,o,s+c-h),"center"===a&&"left"===i&&this.drawCaret(e,t,n,r),t.lineTo(o,s+u),t.quadraticCurveTo(o,s,o+u,s),t.closePath(),t.fill(),r.borderWidth>0&&t.stroke()}_updateAnimationTarget(e){const t=this.chart,n=this.$animations,r=n&&n.x,i=n&&n.y;if(r||i){const n=ky[e.position].call(this,this._active,this._eventPosition);if(!n)return;const a=this._size=Ty(this,e),o=Object.assign({},n,this._size),s=Dy(t,e,o),l=Ay(e,o,s,t);r._to===l.x&&i._to===l.y||(this.xAlign=s.xAlign,this.yAlign=s.yAlign,this.width=a.width,this.height=a.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 r={width:this.width,height:this.height},i={x:this.x,y:this.y};n=Math.abs(n)<.001?0:n;const a=Tg(t.padding),o=this.title.length||this.beforeBody.length||this.body.length||this.afterBody.length||this.footer.length;t.enabled&&o&&(e.save(),e.globalAlpha=n,this.drawBackground(i,e,r,t),pv(e,t.textDirection),i.y+=a.top,this.drawTitle(i,e,t),this.drawBody(i,e,t),this.drawFooter(i,e,t),mv(e,t.textDirection),e.restore())}getActiveElements(){return this._active||[]}setActiveElements(e,t){const n=this._active,r=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}}),i=!tm(n,r),a=this._positionChanged(r,t);(i||a)&&(this._active=r,this._eventPosition=t,this._ignoreReplayEvents=!0,this.update(!0))}handleEvent(e,t,n=!0){if(t&&this._ignoreReplayEvents)return!1;this._ignoreReplayEvents=!1;const r=this.options,i=this._active||[],a=this._getActiveElements(e,i,t,n),o=this._positionChanged(a,e),s=t||!tm(a,i)||o;return s&&(this._active=a,(r.enabled||r.external)&&(this._eventPosition={x:e.x,y:e.y},this.update(!0,t))),s}_getActiveElements(e,t,n,r){const i=this.options;if("mouseout"===e.type)return[];if(!r)return t.filter(e=>this.chart.data.datasets[e.datasetIndex]&&void 0!==this.chart.getDatasetMeta(e.datasetIndex).controller.getParsed(e.index));const a=this.chart.getElementsAtEventForMode(e,i.mode,i,n);return i.reverse&&a.reverse(),a}_positionChanged(e,t){const{caretX:n,caretY:r,options:i}=this,a=ky[i.position].call(this,e,t);return!1!==a&&(n!==a.x||r!==a.y)}}var Hy={id:"tooltip",_element:Fy,positioners:ky,afterInit(e,t,n){n&&(e.tooltip=new Fy({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:Ry},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 $y(e){const t=this.getLabels();return e>=0&&e<t.length?t[e]:e}function Vy(e,t,{horizontal:n,minRotation:r}){const i=Mm(r),a=(n?Math.sin(i):Math.cos(i))||.001,o=.75*t*(""+e).length;return Math.min(t/a,o)}class Uy 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 Zp(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:r,max:i}=this;const a=e=>r=t?r:e,o=e=>i=n?i:e;if(e){const e=xm(r),t=xm(i);e<0&&t<0?o(0):e>0&&t>0&&a(0)}if(r===i){let t=0===i?1:Math.abs(.05*i);o(i+t),e||a(r-t)}this.min=r,this.max=i}getTickLimit(){const e=this.options.ticks;let t,{maxTicksLimit:n,stepSize:r}=e;return r?(t=Math.ceil(this.max/r)-Math.floor(this.min/r)+1,t>1e3&&(console.warn(`scales.${this.id}.ticks.stepSize: ${r} 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 r=function(e,t){const n=[],{bounds:r,step:i,min:a,max:o,precision:s,count:l,maxTicks:c,maxDigits:u,includeBounds:d}=e,h=i||1,f=c-1,{min:p,max:m}=t,g=!Zp(a),v=!Zp(o),b=!Zp(l),y=(m-p)/(u+1);let C,_,w,x,S=Em((m-p)/f/h)*h;if(S<1e-14&&!g&&!v)return[{value:p},{value:m}];x=Math.ceil(m/S)-Math.floor(p/S),x>f&&(S=Em(x*S/f/h)*h),Zp(s)||(C=Math.pow(10,s),S=Math.ceil(S*C)/C),"ticks"===r?(_=Math.floor(p/S)*S,w=Math.ceil(m/S)*S):(_=p,w=m),g&&v&&i&&function(e,t){const n=Math.round(e);return n-t<=e&&n+t>=e}((o-a)/i,S/1e3)?(x=Math.round(Math.min((o-a)/S,c)),S=(o-a)/x,_=a,w=o):b?(_=g?a:_,w=v?o:w,x=l-1,S=(w-_)/x):(x=(w-_)/S,x=Sm(x,Math.round(x),S/1e3)?Math.round(x):Math.ceil(x));const E=Math.max(Om(S),Om(_));C=Math.pow(10,Zp(s)?E:s),_=Math.round(_*C)/C,w=Math.round(w*C)/C;let k=0;for(g&&(d&&_!==a?(n.push({value:a}),_<a&&k++,Sm(Math.round((_+k*S)*C)/C,a,Vy(a,y,e))&&k++):_<a&&k++);k<x;++k){const e=Math.round((_+k*S)*C)/C;if(v&&e>o)break;n.push({value:e})}return v&&d&&w!==o?n.length&&Sm(n[n.length-1].value,o,Vy(o,y,e))?n[n.length-1].value=o:n.push({value:o}):v&&w!==o||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 r,i,a;for(r=0,i=e.length;r<i;r++)a=e[r][n],isNaN(a)||(t.min=Math.min(t.min,a),t.max=Math.max(t.max,a))}(r,this,"value"),e.reverse?(r.reverse(),this.start=this.max,this.end=this.min):(this.start=this.min,this.end=this.max),r}configure(){const e=this.ticks;let t=this.min,n=this.max;if(super.configure(),this.options.offset&&e.length){const r=(n-t)/Math.max(e.length-1,1)/2;t-=r,n+=r}this._startValue=t,this._endValue=n,this._valueRange=n-t}getLabelForValue(e){return tg(e,this.chart.options.locale,this.options.ticks.format)}}class By extends Uy{static id="linear";static defaults={ticks:{callback:rg.formatters.numeric}};determineDataLimits(){const{min:e,max:t}=this.getMinMax(!0);this.min=Yp(e)?e:0,this.max=Yp(t)?t:1,this.handleTickRangeOptions()}computeTickLimit(){const e=this.isHorizontal(),t=e?this.width:this.height,n=Mm(this.options.ticks.minRotation),r=(e?Math.sin(n):Math.cos(n))||.001,i=this._resolveTickFontOptions(0);return Math.ceil(t/Math.min(40,i.lineHeight/r))}getPixelForValue(e){return null===e?NaN:this.getPixelForDecimal((e-this._startValue)/this._valueRange)}getValueForPixel(e){return this._startValue+this.getDecimalForPixel(e)*this._valueRange}}rg.formatters.logarithmic,rg.formatters.numeric;const Wy="label";function Zy(e,t){"function"==typeof e?e(t):e&&(e.current=t)}function qy(e,t){e.labels=t}function Gy(e,t,n=Wy){const r=[];e.datasets=t.map(t=>{const i=e.datasets.find(e=>e[n]===t[n]);return i&&t.data&&!r.includes(i)?(r.push(i),Object.assign(i,t),i):{...t}})}function Yy(e,t=Wy){const n={labels:[],datasets:[]};return qy(n,e.labels),Gy(n,e.datasets,t),n}function Qy(e,t){const{height:r=150,width:i=300,redraw:a=!1,datasetIdKey:o,type:s,data:l,options:c,plugins:u=[],fallbackContent:d,updateMode:h,...f}=e,p=(0,n.useRef)(null),m=(0,n.useRef)(null),g=()=>{p.current&&(m.current=new ly(p.current,{type:s,data:Yy(l,o),options:c&&{...c},plugins:u}),Zy(t,m.current))},v=()=>{Zy(t,null),m.current&&(m.current.destroy(),m.current=null)};return(0,n.useEffect)(()=>{!a&&m.current&&c&&function(e,t){const n=e.options;n&&t&&Object.assign(n,t)}(m.current,c)},[a,c]),(0,n.useEffect)(()=>{!a&&m.current&&qy(m.current.config.data,l.labels)},[a,l.labels]),(0,n.useEffect)(()=>{!a&&m.current&&l.datasets&&Gy(m.current.config.data,l.datasets,o)},[a,l.datasets]),(0,n.useEffect)(()=>{m.current&&(a?(v(),setTimeout(g)):m.current.update(h))},[a,c,l.labels,l.datasets,h]),(0,n.useEffect)(()=>{m.current&&(v(),setTimeout(g))},[s]),(0,n.useEffect)(()=>(g(),()=>v()),[]),(0,Ye.jsx)("canvas",{ref:p,role:"img",height:r,width:i,...f,children:d})}const Ky=(0,n.forwardRef)(Qy);function Xy(e,t){return ly.register(t),(0,n.forwardRef)((t,n)=>(0,Ye.jsx)(Ky,{...t,ref:n,type:e}))}const Jy=Xy("line",$v),eC=Xy("doughnut",Hv);function tC(e){return tC="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},tC(e)}var nC=["stats","periods","metricKey","variant","isLoading","compareEnabled"];function rC(){return rC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},rC.apply(null,arguments)}function iC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function aC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function oC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?aC(Object(n),!0).forEach(function(t){sC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):aC(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"!=tC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=tC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==tC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ly.register(class extends Db{static id="category";static defaults={ticks:{callback:$y}};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:r}of t)e[n]===r&&e.splice(n,1);this._addedLabels=[]}super.init(e)}parse(e,t){if(Zp(e))return null;const n=this.getLabels();return((e,t)=>null===e?null:Lm(Math.round(e),0,t))(t=isFinite(t)&&n[t]===e?t:function(e,t,n,r){const i=e.indexOf(t);return-1===i?((e,t,n,r)=>("string"==typeof t?(n=e.push(t)-1,r.unshift({index:n,label:t})):isNaN(t)&&(n=null),n))(e,t,n,r):i!==e.lastIndexOf(t)?n:i}(n,e,Kp(t,e),this._addedLabels),n.length-1)}determineDataLimits(){const{minDefined:e,maxDefined:t}=this.getUserBounds();let{min:n,max:r}=this.getMinMax(!0);"ticks"===this.options.bounds&&(e||(n=0),t||(r=this.getLabels().length-1)),this.min=n,this.max=r}buildTicks(){const e=this.min,t=this.max,n=this.options.offset,r=[];let i=this.getLabels();i=0===e&&t===i.length-1?i:i.slice(e,t+1),this._valueRange=Math.max(i.length-(n?0:1),1),this._startValue=this.min-(n?.5:0);for(let n=e;n<=t;n++)r.push({value:n});return r}getLabelForValue(e){return $y.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}},By,class extends xb{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 r=this.options,{x:i,y:a}=this.getProps(["x","y"],n);return Math.pow(e-i,2)+Math.pow(t-a,2)<Math.pow(r.hitRadius+r.radius,2)}inXRange(e,t){return yy(this,e,"x",t)}inYRange(e,t){return yy(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||!mg(this,t,this.size(n)/2)||(e.strokeStyle=n.borderColor,e.lineWidth=n.borderWidth,e.fillStyle=n.backgroundColor,fg(e,n,this.x,this.y))}getRange(){const e=this.options||{};return e.radius+e.hitRadius}},class extends xb{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 r=n.spanGaps?this._loop:this._fullLoop;Xg(this._points,n,e,r,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,r=e.options.spanGaps,i=n.length;if(!i)return[];const a=!!e._loop,{start:o,end:s}=function(e,t,n,r){let i=0,a=t-1;if(n&&!r)for(;i<t&&!e[i].skip;)i++;for(;i<t&&e[i].skip;)i++;for(i%=t,n&&(a+=i);a>i&&e[a%t].skip;)a--;return a%=t,{start:i,end:a}}(n,i,a,r);return function(e,t,n,r){return r&&r.setContext&&n?function(e,t,n,r){const i=e._chart.getContext(),a=yv(e.options),{_datasetIndex:o,options:{spanGaps:s}}=e,l=n.length,c=[];let u=a,d=t[0].start,h=d;function f(e,t,r,i){const a=s?-1:1;if(e!==t){for(e+=l;n[e%l].skip;)e-=a;for(;n[t%l].skip;)t+=a;e%l!==t%l&&(c.push({start:e%l,end:t%l,loop:r,style:i}),u=i,d=t%l)}}for(const e of t){d=s?d:e.start;let t,a=n[d%l];for(h=d+1;h<=e.end;h++){const s=n[h%l];t=yv(r.setContext(Ag(i,{type:"segment",p0:a,p1:s,p0DataIndex:(h-1)%l,p1DataIndex:h%l,datasetIndex:o}))),Cv(t,u)&&f(d,h-1,e.loop,u),a=s,u=t}d<h-1&&f(d,h-1,e.loop,u)}return c}(e,t,n,r):t}(e,!0===r?[{start:o,end:s,loop:a}]:function(e,t,n,r){const i=e.length,a=[];let o,s=t,l=e[t];for(o=t+1;o<=n;++o){const n=e[o%i];n.skip||n.stop?l.skip||(r=!1,a.push({start:t%i,end:(o-1)%i,loop:r}),t=s=n.stop?o:null):(s=o,l.skip&&(t=o)),l=n}return null!==s&&a.push({start:t%i,end:s%i,loop:r}),a}(n,o,s<o?s+i:s,!!e._fullLoop&&0===o&&s===i-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,r=e[t],i=this.points,a=function(e,t){const n=[],r=e.segments;for(let i=0;i<r.length;i++){const a=bv(r[i],e.points,t);a.length&&n.push(...a)}return n}(this,{property:t,start:r,end:r});if(!a.length)return;const o=[],s=function(e){return e.stepped?dv:e.tension||"monotone"===e.cubicInterpolationMode?hv:uv}(n);let l,c;for(l=0,c=a.length;l<c;++l){const{start:c,end:u}=a[l],d=i[c],h=i[u];if(d===h){o.push(d);continue}const f=s(d,h,Math.abs((r-d[t])/(h[t]-d[t])),n.stepped);f[t]=e[t],o.push(f)}return 1===o.length?o[0]:o}pathSegment(e,t,n){return vy(this)(e,this,t,n)}path(e,t,n){const r=this.segments,i=vy(this);let a=this._loop;t=t||0,n=n||this.points.length-t;for(const o of r)a&=i(e,this,o,{start:t,end:t+n-1});return!!a}draw(e,t,n,r){const i=this.options||{};(this.points||[]).length&&i.borderWidth&&(e.save(),function(e,t,n,r){by&&!t.options.segment?function(e,t,n,r){let i=t._path;i||(i=t._path=new Path2D,t.path(i,n,r)&&i.closePath()),hy(e,t.options),e.stroke(i)}(e,t,n,r):function(e,t,n,r){const{segments:i,options:a}=t,o=vy(t);for(const s of i)hy(e,a,s.style),e.beginPath(),o(e,t,s,{start:n,end:n+r-1})&&e.closePath(),e.stroke()}(e,t,n,r)}(e,this,n,r),e.restore()),this.animated&&(this._pointsUpdated=!1,this._path=void 0)}},Ey,Hy,xy);var lC={text:"#4C4C4C",tick:"#666",grid:"#e6e6e6",tooltipBg:"#1e1e1e",tooltipText:"#fff",pointHoverBg:"#fff"},cC={blue:{primary:"#0059FF",secondary:"#9C98FF"},cyan:{primary:"#2DC4E0",secondary:"#7CD8ED"},green:{primary:"#138639",secondary:"#79B880"},purple:{primary:"#7B5499",secondary:"#B595CB"},orange:{primary:"#FF8E3C",secondary:"#FFB480"},red:{primary:"#E52400",secondary:"#FB8A66"}},uC=function(e){return e.map(function(e){return e[1]})},dC=function(e){var t=e.stats,r=e.periods,i=e.metricKey,a=e.variant,o=void 0===a?"blue":a,s=e.isLoading,l=void 0!==s&&s,c=e.compareEnabled,u=void 0!==c&&c,d=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,nC),h=(null==r?void 0:r.current)||{},f=h.from,p=h.to,m=(null==r?void 0:r.previous)||{},g=m.from,v=m.to,b=f&&p?f===p?rp(f):"".concat(rp(f)," - ").concat(rp(p)):"",y=g&&v?g===v?rp(g):"".concat(rp(g)," - ").concat(rp(v)):"",C=(null==t?void 0:t[i])||{},_=(null==C?void 0:C.current)||[],w=(null==C?void 0:C.previous)||[];Array.isArray(C)&&(_=C,w=C);var x,S=function(e){return e.map(function(e){return e[0]})}(_||[]),E={label:b,plot:uC(_||[])},k={label:y,plot:uC(w||[])},M=cC[o],O=oC(oC({},lC),M),j={borderWidth:2,fill:!1,tension:.4,pointRadius:0,pointHoverRadius:4,pointHoverBorderWidth:2,pointHoverBackgroundColor:O.pointHoverBg},T={labels:S,datasets:[oC({label:null==E?void 0:E.label,data:null==E?void 0:E.plot,borderColor:O.primary,pointHoverBorderColor:O.primary,backgroundColor:O.primary},j)].concat((x=u?[oC({label:k.label,data:k.plot,borderColor:O.secondary,pointHoverBorderColor:O.secondary,backgroundColor:O.secondary},j)]:[],function(e){if(Array.isArray(e))return iC(e)}(x)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(x)||function(e,t){if(e){if("string"==typeof e)return iC(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)?iC(e,t):void 0}}(x)||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.")}()))},P={responsive:!0,maintainAspectRatio:!1,aspectRatio:1,interaction:{mode:"index",intersect:!1},plugins:{legend:{display:u,position:"bottom",labels:{boxWidth:16,boxHeight:16,color:O.text,useBorderRadius:!0,borderRadius:4,padding:24},onClick:function(){}},tooltip:{backgroundColor:O.tooltipBg,titleColor:O.tooltipText,bodyColor:O.tooltipText,displayColors:!0,callbacks:{title:function(e){return"Sessions: ".concat(e[0].formattedValue)},label:function(e){return"".concat(e.dataset.label,": ").concat(e.formattedValue)}}}},scales:{x:{grid:{color:O.grid},border:{display:!1,dash:[5,5],width:5},ticks:{color:O.tick}},y:{grid:{color:O.grid},border:{display:!1,dash:[5,5]},ticks:{color:O.tick}}}};return n.createElement("div",rC({className:"beehive-chart-container"},d),l?n.createElement(hp,null):id&&ld?n.createElement(Jy,{data:T,options:P}):n.createElement(hp,{loadingText:(0,Je.__)("No data available"),hasSpinner:!1}))};function hC(e){return hC="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},hC(e)}var fC=["dataValues","labels","colors","chartValue"];function pC(){return pC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},pC.apply(null,arguments)}function mC(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function gC(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?mC(Object(n),!0).forEach(function(t){vC(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):mC(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function vC(e,t,n){return(t=function(e){var t=function(e){if("object"!=hC(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=hC(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==hC(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}ly.register(class extends xb{static id="arc";static defaults={borderAlign:"center",borderColor:"#fff",borderDash:[],borderDashOffset:0,borderJoinStyle:void 0,borderRadius:0,borderWidth:2,offset:0,spacing:0,angle:void 0,circular:!0,selfJoin:!1};static defaultRoutes={backgroundColor:"backgroundColor"};static descriptors={_scriptable:!0,_indexable:e=>"borderDash"!==e};circumference;endAngle;fullCircles;innerRadius;outerRadius;pixelMargin;startAngle;constructor(e){super(),this.options=void 0,this.circumference=void 0,this.startAngle=void 0,this.endAngle=void 0,this.innerRadius=void 0,this.outerRadius=void 0,this.pixelMargin=0,this.fullCircles=0,e&&Object.assign(this,e)}inRange(e,t,n){const r=this.getProps(["x","y"],n),{angle:i,distance:a}=jm(r,{x:e,y:t}),{startAngle:o,endAngle:s,innerRadius:l,outerRadius:c,circumference:u}=this.getProps(["startAngle","endAngle","innerRadius","outerRadius","circumference"],n),d=(this.options.spacing+this.options.borderWidth)/2,h=Kp(u,s-o),f=Am(i,o,s)&&o!==s,p=h>=mm||f,m=Im(a,l+d,c+d);return p&&m}getCenterPoint(e){const{x:t,y:n,startAngle:r,endAngle:i,innerRadius:a,outerRadius:o}=this.getProps(["x","y","startAngle","endAngle","innerRadius","outerRadius"],e),{offset:s,spacing:l}=this.options,c=(r+i)/2,u=(a+o+l+s)/2;return{x:t+Math.cos(c)*u,y:n+Math.sin(c)*u}}tooltipPosition(e){return this.getCenterPoint(e)}draw(e){const{options:t,circumference:n}=this,r=(t.offset||0)/4,i=(t.spacing||0)/2,a=t.circular;if(this.pixelMargin="inner"===t.borderAlign?.33:0,this.fullCircles=n>mm?Math.floor(n/mm):0,0===n||this.innerRadius<0||this.outerRadius<0)return;e.save();const o=(this.startAngle+this.endAngle)/2;e.translate(Math.cos(o)*r,Math.sin(o)*r);const s=r*(1-Math.sin(Math.min(pm,n||0)));e.fillStyle=t.backgroundColor,e.strokeStyle=t.borderColor,function(e,t,n,r,i){const{fullCircles:a,startAngle:o,circumference:s}=t;let l=t.endAngle;if(a){dy(e,t,n,r,l,i);for(let t=0;t<a;++t)e.fill();isNaN(s)||(l=o+(s%mm||mm))}dy(e,t,n,r,l,i),e.fill()}(e,this,s,i,a),function(e,t,n,r,i){const{fullCircles:a,startAngle:o,circumference:s,options:l}=t,{borderWidth:c,borderJoinStyle:u,borderDash:d,borderDashOffset:h,borderRadius:f}=l,p="inner"===l.borderAlign;if(!c)return;e.setLineDash(d||[]),e.lineDashOffset=h,p?(e.lineWidth=2*c,e.lineJoin=u||"round"):(e.lineWidth=c,e.lineJoin=u||"bevel");let m=t.endAngle;if(a){dy(e,t,n,r,m,i);for(let t=0;t<a;++t)e.stroke();isNaN(s)||(m=o+(s%mm||mm))}p&&function(e,t,n){const{startAngle:r,pixelMargin:i,x:a,y:o,outerRadius:s,innerRadius:l}=t;let c=i/s;e.beginPath(),e.arc(a,o,s,r-c,n+c),l>i?(c=i/l,e.arc(a,o,l,n+c,r-c,!0)):e.arc(a,o,i,n+ym,r-ym),e.closePath(),e.clip()}(e,t,m),l.selfJoin&&m-o>=pm&&0===f&&"miter"!==u&&function(e,t,n){const{startAngle:r,x:i,y:a,outerRadius:o,innerRadius:s,options:l}=t,{borderWidth:c,borderJoinStyle:u}=l,d=Math.min(c/o,Dm(r-n));if(e.beginPath(),e.arc(i,a,o-c/2,r+d/2,n-d/2),s>0){const t=Math.min(c/s,Dm(r-n));e.arc(i,a,s+c/2,n-t/2,r+t/2,!0)}else{const t=Math.min(c/2,o*Dm(r-n));if("round"===u)e.arc(i,a,t,n-pm/2,r+pm/2,!0);else if("bevel"===u){const o=2*t*t,s=-o*Math.cos(n+pm/2)+i,l=-o*Math.sin(n+pm/2)+a,c=o*Math.cos(r+pm/2)+i,u=o*Math.sin(r+pm/2)+a;e.lineTo(s,l),e.lineTo(c,u)}}e.closePath(),e.moveTo(0,0),e.rect(0,0,e.canvas.width,e.canvas.height),e.clip("evenodd")}(e,t,m),a||(dy(e,t,n,r,m,i),e.stroke())}(e,this,s,i,a),e.restore()}},Hy,xy);var bC={text:"#4C4C4C",tooltipBg:"#1e1e1e",tooltipText:"#fff",border:"#fff"},yC=["#0059FF","#2DC4E0","#138639","#7B5499","#FF8E3C"],CC=function(e){var t=e.dataValues,r=void 0===t?[65,35,25,20,15]:t,i=e.labels,a=void 0===i?[]:i,o=e.colors,s=void 0===o?yC:o,l=e.chartValue,c=void 0===l?{}:l,u=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,fC),d=r.reduce(function(e,t){return e+t},0),h=r.map(function(e){return d>0?Math.round(e/d*100):0}),f=gC(gC({},bC),{},{slices:s}),p={labels:a,datasets:[{data:h,backgroundColor:f.slices,borderColor:f.border,borderWidth:2,hoverOffset:8}]},m={rotation:180,responsive:!0,maintainAspectRatio:!1,cutout:"65%",plugins:{legend:{display:!1},tooltip:{displayColors:!1,backgroundColor:f.tooltipBg,titleColor:f.tooltipText,bodyColor:f.tooltipText,callbacks:{title:function(){return""},label:function(e){var t=e.label||"",n=e.formattedValue||"",i=r[e.dataIndex]||0;return"".concat(t," - ").concat(i," (").concat(n,"%)")}}}}};return n.createElement($h,{spacing:24,direction:"row",isFluid:!0,alignItems:"center",className:"beehive-doughnut-chart"},n.createElement("div",pC({className:"beehive-doughnut-chart__container"},u),c&&n.createElement($h,{className:"beehive-doughnut-chart__center-text"},c.value&&n.createElement("span",{className:"beehive-doughnut-chart__center-text--value sui-heading--h3"},c.value),c.label&&n.createElement("span",{className:"beehive-doughnut-chart__center-text--label"},c.label)),n.createElement(eC,{data:p,options:m})),n.createElement($h,{spacing:8,isFluid:!0},a.map(function(e,t){return n.createElement($h,{key:t,spacing:8,direction:"row",alignItems:"center",className:"beehive-doughnut-chart__legend",justify:"space-between",isFluid:!0},n.createElement($h,{spacing:4,direction:"row",alignItems:"center"},n.createElement(GC,{as:"span",className:"beehive-doughnut-chart__legend--box",_style:{backgroundColor:s[t]||yC[0]}}),n.createElement("span",{className:"beehive-doughnut-chart__legend--label"},e)),n.createElement("span",{className:"beehive-doughnut-chart__legend--value"},r[t]," (",h[t],"%)"))})))},_C="#0059FF",wC=function(e){var t=e.labels,r=void 0===t?["Desktop","Tablet","Mobile"]:t,i=e.colors,a=void 0===i?[_C,"#2DC4E0","#7B5499"]:i,o=e.data,s=void 0===o?[2e3,1500,1e3]:o,l=s.reduce(function(e,t){return e+t},0),c=function(e){var t=e/l*100;return isNaN(t)?0:t.toFixed(2)};return n.createElement($h,{spacing:24,isFluid:!0,className:"beehive-progress-chart"},n.createElement($h,{direction:"row",className:"beehive-progress-chart__bar"},s.map(function(e,t){return n.createElement(GC,{as:"div",key:t,_style:{backgroundColor:a[t]||_C,width:"".concat(c(e),"%"),height:"100%"}})})),n.createElement($h,{spacing:32,direction:"row",alignItems:"center",justify:"center",className:"beehive-progress-chart__legends"},r.map(function(e,t){return n.createElement($h,{key:t,spacing:8,direction:"row",alignItems:"center",className:"beehive-progress-chart__legend"},n.createElement(GC,{as:"span",className:"beehive-progress-chart__legend--box",_style:{backgroundColor:a[t]||_C}}),n.createElement($h,{spacing:24,direction:"row",alignItems:"center"},e,n.createElement("span",{className:"beehive-progress-chart__legend--percentage"},c(s[t]),"%")))})))},xC=i.p+"images/google.svg",SC=function(e){var t=e.label,r=void 0===t?(0,Je.__)("Connect with Google"):t,i=(null!=ju?ju:{}).login_url;return n.createElement("a",{href:i,className:"beehive-login__google-button"},n.createElement("img",{src:xC,alt:"Google"}),n.createElement(Eh,{weight:"bold",color:"#1a1a1a"},r))},EC=function(e){var t=e.successMessage,r=e.errorMessage,i=(null!=Bu?Bu:{}).google_auth_redirect_success,a=Xc().push;return(0,n.useEffect)(function(){var e=Hd.parse(location.search),n=e.gcode,o=e.beehive_nonce;if(void 0!==n&&o){a("error"===i?{size:"lg",variation:"error",message:r||(0,Je.__)("Google authentication failed. No authorization code was received. Please try connecting again."),isDismissible:!0,icon:"InfoAlt"}:{size:"lg",variation:"success",message:t||(0,Je.__)("Your Google account has been connected successfully."),isDismissible:!0,icon:"CheckAlt"}),delete e.gcode,delete e.beehive_nonce,delete e.default,delete e.client;var s=Hd.stringify(e),l=window.location.pathname+(s?"?"+s:"")+window.location.hash;window.history.replaceState({},document.title,l)}},[]),null},kC=({id:e,hidden:t=!1,children:n,...r})=>{let{suiInlineClassname:i}=$a(r);if(!("string"==typeof n?!io(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 a=mi({"sui-screen-reader-only":t,"sui-form-field__label":!t});return(0,Ye.jsx)("label",{htmlFor:e,id:`${e}-label`,className:Ka(a,{},i),children:n})},MC=({id:e,children:t,...n})=>{let{suiInlineClassname:r}=$a(n),i=mi({"sui-form-field__helper":!0},r);return(0,Ye.jsx)("span",{id:`${e}-helper`,className:i,children:t})},OC=({id:e,show:t=!1,children:n})=>(0,Ye.jsx)("span",{id:`${e}-error-message`,className:"sui-form-field__helper sui-color-error--50",children:t&&n}),jC=({id:e="",label:t,helper:r,error:i,className:a,isSmall:o,isDisabled:s=!1,isLabelHidden:l=!1,children:c,customWidth:u,_htmlProps:d={},_style:h})=>{let f=(0,n.useId)();io(e)||(f=e),c=Ba(c,"{add form element as children}");let p="string"==typeof i?!io(i??""):!!i,{suiInlineClassname:m}=$a(h,a),g=Ka("sui-form-field",{sm:o,disabled:s},m),v={...!io(t??"")&&{"aria-labelledby":`${f}-label`},...!!r&&{"aria-describedby":`${f}-helper`},...p&&{"aria-errormessage":`${f}-error_message`}},b={id:f,...o&&{isSmall:o},...s&&{isDisabled:s},...p&&{isError:!0}};return(0,Ye.jsxs)("div",{className:g,...co(d),...u&&{style:{maxWidth:`${u}px`}},"data-testid":"form-field",children:[!io(t??"")&&(0,Ye.jsx)(kC,{id:f,hidden:l??!1,children:t}),Object.keys(v).length>0?n.Children.map(c,(e,t)=>(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{...b,ariaAttrs:v,...e.props,key:`form-field-child-${t}`}):e):c,p&&(0,Ye.jsx)(OC,{id:f,show:p,children:i}),!!r&&(0,Ye.jsx)(MC,{id:f,children:r})]})},TC=({options:e,onEvent:t=()=>{},selectAll:r=()=>{},isSmall:i=!1,isMultiSelect:a=!1,isDisabled:o=!1,selected:s="",isSearchable:l=!1,isCustomVar:c=!1,dropdownRef:u=null,onToggle:d=e=>{},updateOptions:h,onSearch:f=e=>{},onChange:p,emptyMessage:m="",_htmlProps:g,_dropdownProps:v,...b})=>{(0,n.useId)();let{suiInlineClassname:y}=$a(b),C=(0,n.useCallback)((e,n)=>{if((!e.key||e.key&&"Enter"===e.key)&&t&&(t(n),p)){let e=n;if(a){let t=Array.isArray(s)?[...s]:[],r=t.findIndex(e=>e.id===n.id);-1!==r?t.splice(r,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,a,p,t,s]),_=e=>({ref:void 0,onKeyDown:t=>C(t,e)});return(0,Ye.jsx)(n.Fragment,{children:(w=a?e??[]:e?.map(e=>({...e,...l&&{label:(0,Ye.jsxs)("span",{className:"sui-select__dropdown--content",children:[e?.boldLabel&&(0,Ye.jsx)("strong",{children:e?.boldLabel}),e?.[l&&e?.boldLabel?"newLabel":"label"]]})},props:{...e.props,className:Ka("",{"sui-select__dropdown--option":!0,"sui-select__dropdown--selected":e?.isSelected&&!c})}}))||[],(0,Ye.jsx)(ih,{ref:u,closeOnOuterClick:!1,onToggle:d,isFluid:!0,isFixedHeight:!0,className:Ka("sui-select__dropdown",{},y),menu:w,emptyMessage:m,onMenuClick:(e,t)=>{C(t,e)},isSmall:i,...a&&{isMultiSelect:a,updateOptions:h,type:"select-checkbox",selected:s,selectAll:r},...(a||c)&&{onSearch:f,allowSearch:!0},...!c&&{trigger:(0,Ye.jsx)(n.Fragment,{})},...c&&{iconOnly:!0,buttonIcon:"Add",placement:"left",type:"select-variable"},_htmlProps:{..._},isDisabled:o,...v}))});var w},PC=({name:e,size:t="md",_htmlProps:n={},...r})=>{let{suiInlineClassname:i}=$a(r);if(io(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 a=Hc[e],o=(e??"").replace(/[A-Z]/g,(e,t)=>(0===t?"":"-")+e.toLowerCase());return(0,Ye.jsx)("span",{className:Ka(`suicons sui-select__icon sui-select__icon--${o}`,{},i),...n,children:(0,Ye.jsx)("span",{"aria-hidden":"true",children:a&&(0,Ye.jsx)(a,{size:t})})})},DC=({id:e,controlRef:t,expanded:r=!1,selected:i={label:""},placeholder:a,dropdownItems:o=[],onValueChange:s=()=>{},onChange:l=()=>{},onEvent:c=()=>{},onClick:u=()=>{},interactionMethods:d})=>{let h=(0,n.useId)(),f=e||`sui-search-${h}`,[p,m]=(0,n.useState)(i?.label||""),g=p.length>=1,v=n.useMemo(()=>g?o?.filter(({searchLabel:e})=>e?.startsWith(p)):o,[o,g,p]);return(0,n.useEffect)(()=>{m(i?.label||"")},[i]),(0,Ye.jsx)(eh,{className:"sui-select__input",id:f,icon:r?"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&&v[0]?.label||"",disableInteractions:!0,placeholder:a,_htmlProps:{autoComplete:"off",ref:t,onKeyDown:e=>{"ArrowRight"===e.code&&(m(v[0]?.label||""),c&&c(v[0]?.id))},onClick:u,...d}})},AC=({id:e,controlRef:t,expanded:r=!1,arrow:i,selected:a,selectLabel:o="",isMultiSelect:s=!1,isSmall:l=!1,isCustomVar:c=!1,interactionMethods:u,disabled:d=!1,removeSelection:h=()=>{},dropdownToggle:f=()=>{},clearSelection:p=()=>{},onCustomVarChange:m=()=>{},ariaAttrs:g={},...v})=>{let b;b=(e=>Array.isArray(e))(a)&&(a??[])?.length>0||c?(0,Ye.jsxs)("ul",{className:"sui-select__selected-wrapper",children:[(a??[])?.length>0&&a.map((e,t)=>{let n;return c&&(n=e&&"object"==typeof e?e.props.variable.replace(/[{}]/g,""):e),(0,Ye.jsxs)("li",{className:"sui-select__selected-options",children:[(0,Ye.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,Ye.jsx)(PC,{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,Ye.jsx)("li",{className:"sui-select__custom-var-input",children:(0,Ye.jsx)("input",{id:e,type:"text","aria-label":"Select",placeholder:o,onKeyDown:m,disabled:d,...u})})]}):(0,Ye.jsx)("span",{className:"sui-select__selected",children:a&&"object"==typeof a&&"label"in a?a.label:o});let y=(0,n.useCallback)(()=>{p()},[p]);return(0,Ye.jsxs)(Ye.Fragment,{children:[!c&&(0,Ye.jsx)("input",{id:e,"aria-label":"Select",className:"sui-select__hidden-input",tabIndex:-1,...u}),(0,Ye.jsxs)("div",{id:`${e}-control`,className:"sui-select__control",...co(v),children:[(0,Ye.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":o,"aria-haspopup":"listbox","aria-expanded":r,...g,...u}}),b,s&&!eo(a)&&o!==a&&(a??[]).length>0&&!c&&(0,Ye.jsx)(PC,{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,Ye.jsx)("span",{className:"sui-select__arrow",children:(0,Ye.jsx)(PC,{name:i,size:"sm"})})]})]})},LC=({isSmall:e=!1,interactionMethods:t,selectLabel:r="",clearSelection:i,selected:a,...o})=>{let[s,l]=(0,n.useState)(!1);return(0,n.useCallback)(e=>{i(),l(!1)},[i]),(0,Ye.jsx)("div",{className:"sui-select__control",children:(0,Ye.jsx)(DC,{placeholder:r,isSmall:e??!1,onValueChange:e=>{l(!!e)},selected:a,interactionMethods:t,...o})})},IC=({id:e,options:t,className:r,selected:i,label:a="Select option",isCustomVar:o=!1,isDisabled:s=!1,isSmall:l=!1,isError:c=!1,isMultiSelect:u=!1,isSearchable:d=!1,onMouseEnter:h=()=>null,onMouseLeave:f=()=>null,customWidth:p,noResultsMessage:m="No results found",onChange:g,resetValidation:v,validateOnMount:b,validate:y,ariaAttrs:C={},_style:_={},_htmlProps:w={},_dropdownProps:x={}})=>{let S=(0,n.useId)();e||(e=`select-${S}`);let E=(0,n.useRef)(null),k=(0,n.useRef)(null),M=(0,n.useRef)(null),[O,j]=(0,n.useState)(t),[T,P]=(0,n.useState)(!1),[D,A]=(0,n.useState)(O??[]),[L,I]=(0,n.useState)(O??[]),[N,R]=(0,n.useState)([]),[z,F]=(0,n.useState)([]);(0,n.useEffect)(()=>{R(i)},[i]),(0,n.useEffect)(()=>{A(O??[]),I(O??[])},[O]),Wa(E,()=>{M.current?.close()});let H=gi(T);(0,n.useEffect)(()=>{k?.current&&typeof H<"u"&&H!==T&&!T&&k?.current?.focus()},[T,H]);let[$,V,U]=qa({onMouseLeave:f,onMouseEnter:h});(0,n.useEffect)(()=>{let e=D.map(e=>{let t=L.find(t=>t.id===e.id);return t?{...t}:e}),t=e.filter(e=>e?.isSelected),n=t.length>0?t:a;if(!u){let e=n?.[0];e&&e.id&&q(e)}A(e)},[L]),(0,n.useEffect)(()=>{o&&R(z)},[z,o]);let{suiInlineClassname:B}=$a(_,r),W=Ka("sui-select",{sm:l,open:T,disabled:s,hover:$,focus:V,error:c,multiselect:u,searchable:d,"custom-var":o},B),Z={className:W,ref:E,...p&&{style:{maxWidth:`${p}px`}}},q=e=>{R(e),y&&!u&&y(e),g&&g(e)};(0,n.useEffect)(()=>{y&&b&&!u&&y(N)},[]);let G=e=>{if(o)return void F([...z,e]);if(!O)return R(e),void M.current?.close();let t=L.findIndex(t=>t.id===e.id),n=[...L],r=n[t]?.isSelected;u?(n[t]={...n[t],isSelected:!r},I(n),R(r=>r?r.some(t=>t.id===e.id)?r.filter(t=>t.id!==e.id):[...r,n[t]]:[e])):(n.forEach(e=>e.isSelected=!1),n[t]={...n[t],isSelected:!0},I(n),M.current?.close())},Y={id:e,controlRef:k,expanded:T,selected:N,selectLabel:a,isSmall:l,disabled:s,clearSelection:()=>{((e,t,n)=>{let r=t.map(e=>({...e,isSelected:!1,props:{...e.props}}));e([]),n(r)})(q,D,I)},ariaAttrs:C,...!d&&{dropdownToggle:()=>{M.current?.toggle()},arrow:T?"ChevronUp":"ChevronDown"},...d&&{dropdownItems:L,onChange:e=>{(e=>{let t=e.target.value.toLowerCase();M.current?.open(),((e,t,n)=>{if(io(e))return void n(t);let r=t?.filter(t=>t?.searchLabel?.toLowerCase().startsWith(e))?.map(t=>{let n=t?.searchLabel;if(!n)return{...t,isSelected:!1};let r=n.toLowerCase().indexOf(e);if(-1===r)return{...t,isSelected:!1};let i=n.substring(0,r)+n.substring(r+e.length),a=n.substring(0,e.length);return{...t,isSelected:!1,newLabel:i,boldLabel:a}});n(r)})(t,D,I)})(e),q({...N,label:e.target.value})},onEvent:e=>G(e),onClick:()=>{M.current?.toggle()}},...u&&{isMultiSelect:u,removeSelection:e=>{((e,t,n,r,i)=>{let a=t.map(t=>t.id===e?{...t,isSelected:!1,props:{...t.props}}:t);r(t=>{let r=t.filter(t=>t.id!==e),o=t.find(t=>t.id===e);return t.length!==r.length?(n(a),i?.(o,r),r):t})})(e,L,I,R,g)}},...o&&{isCustomVar:o,onCustomVarChange:e=>{let t=e.target,n=t.value;"Enter"!==e.key||io(n)?"Backspace"===e.key&&io(n)&&F(e=>e.slice(0,-1)):(F([...z,n]),t.value="")}}},Q={options:L,updateOptions:e=>{j(e)},selected:N,isSmall:l,onChange:g,isDisabled:s,...d&&{isSearchable:d,options:L.map(e=>({...e,searchLabel:e.label}))},...u&&{isMultiSelect:u,options:L.map(e=>({...e,props:{_checkboxProps:{isSmall:l}}})),selectAll:(e,t)=>{j(e),g?.({},t?e:[]),R(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||o)&&{onSearch:e=>{(e=>{let t=e;M.current?.open(),((e,t,n)=>{if(io(e))return void n(t);let r=t.filter(t=>"string"==typeof t?.label&&t?.label?.toLowerCase().startsWith(e.toLowerCase()));n(r)})(t,D,I)})(e)}},dropdownRef:M,onToggle:e=>{P(e)},onEvent:e=>{G(e)},isCustomVar:o,noResultsMessage:m,_dropdownProps:x};return(0,Ye.jsxs)("div",{...Z,"data-check":"check","data-testid":"select",...co(w),children:[!d&&(0,Ye.jsx)(AC,{...Y,interactionMethods:U}),d&&(0,Ye.jsx)(LC,{...Y,interactionMethods:U}),(0,Ye.jsx)(TC,{...Q})]})},NC=({...e})=>(0,Ye.jsx)(IC,{...e});function RC(){/*! 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:{},r=n.iterator||"@@iterator",i=n.toStringTag||"@@toStringTag";function a(n,r,i,a){var l=r&&r.prototype instanceof s?r:s,c=Object.create(l.prototype);return zC(c,"_invoke",function(n,r,i){var a,s,l,c=0,u=i||[],d=!1,h={p:0,n:0,v:e,a:f,f:f.bind(e,4),d:function(t,n){return a=t,s=0,l=e,h.n=n,o}};function f(n,r){for(s=n,l=r,t=0;!d&&c&&!i&&t<u.length;t++){var i,a=u[t],f=h.p,p=a[2];n>3?(i=p===r)&&(l=a[(s=a[4])?5:(s=3,3)],a[4]=a[5]=e):a[0]<=f&&((i=n<2&&f<a[1])?(s=0,h.v=r,h.n=a[1]):f<p&&(i=n<3||a[0]>r||r>p)&&(a[4]=n,a[5]=r,h.n=p,s=0))}if(i||n>1)return o;throw d=!0,r}return function(i,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;){a||(s?s<3?(s>1&&(h.n=-1),f(s,l)):h.n=l:h.v=l);try{if(c=2,a){if(s||(i="next"),t=a[i]){if(!(t=t.call(a,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=a.return)&&t.call(a),s<2&&(l=TypeError("The iterator does not provide a '"+i+"' method"),s=1);a=e}else if((t=(d=h.n<0)?l:n.call(r,h))!==o)break}catch(t){a=e,s=1,l=t}finally{c=1}}return{value:t,done:d}}}(n,i,a),!0),c}var o={};function s(){}function l(){}function c(){}t=Object.getPrototypeOf;var u=[][r]?t(t([][r]())):(zC(t={},r,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,zC(e,i,"GeneratorFunction")),e.prototype=Object.create(d),e}return l.prototype=c,zC(d,"constructor",c),zC(c,"constructor",l),l.displayName="GeneratorFunction",zC(c,i,"GeneratorFunction"),zC(d),zC(d,i,"Generator"),zC(d,r,function(){return this}),zC(d,"toString",function(){return"[object Generator]"}),(RC=function(){return{w:a,m:h}})()}function zC(e,t,n,r){var i=Object.defineProperty;try{i({},"",{})}catch(e){i=0}zC=function(e,t,n,r){function a(t,n){zC(e,t,function(e){return this._invoke(t,n,e)})}t?i?i(e,t,{value:n,enumerable:!r,configurable:!r,writable:!r}):e[t]=n:(a("next",0),a("throw",1),a("return",2))},zC(e,t,n,r)}function FC(e,t,n,r,i,a,o){try{var s=e[a](o),l=s.value}catch(e){return void n(e)}s.done?t(l):Promise.resolve(l).then(r,i)}function HC(e){return function(){var t=this,n=arguments;return new Promise(function(r,i){var a=e.apply(t,n);function o(e){FC(a,r,i,o,s,"next",e)}function s(e){FC(a,r,i,o,s,"throw",e)}o(void 0)})}}function $C(e){return $C="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},$C(e)}function VC(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(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}}(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 UC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var BC=function(e){var t=Number(e);return Number.isFinite(t)&&t>0?t:1},WC=function(e){var t=e.context,r=bu.accounts,i=t.getMiscField,a=t.updateGoogle,o=t.updateMisc,s=VC((0,n.useState)(),2),l=s[0],c=s[1],u=VC((0,n.useState)(),2),d=u[0],h=u[1],f=VC((0,n.useState)(),2),p=f[0],m=f[1],g=VC((0,n.useState)(!0),2),v=g[0],b=g[1],y=(0,n.useRef)({1:""}),C=(0,n.useRef)({1:""}),_=(0,n.useRef)({1:""}),w=i("account"),x=i("property"),S=i("stream"),E=(0,n.useCallback)(function(){m(void 0),a("stream",""),o("stream",{id:"",text:""}),_.current={1:""}},[a,o]),k=(0,n.useCallback)(function(){h(void 0),a("property",""),o("property",{id:"",text:""}),E(),C.current={1:""}},[E,a,o]),M=(0,n.useCallback)(function(e,t,n,r){if(!("object"===$C(e)&&e&&"id"in e&&"label"in e))return n(void 0),a(t,""),o(t,{id:"",text:""}),void(null==r||r());var i=e;n(i),a(t,i.id),o(t,{id:i.id,text:i.label}),null==r||r()},[a,o]);(0,n.useEffect)(function(){(null==w?void 0:w.id)&&(null==w?void 0:w.text)&&c({id:w.id,label:w.text}),(null==x?void 0:x.id)&&(null==x?void 0:x.text)&&h({id:x.id,label:x.text}),(null==S?void 0:S.id)&&(null==S?void 0:S.text)&&m({id:S.id,label:S.text}),b(!1)},[w,x,S]);var O=(0,n.useCallback)(function(){var e=HC(RC().m(function e(t,n){var r,i,a,o,s,l,c,u;return RC().w(function(e){for(;;)switch(e.p=e.n){case 0:return r=n.page,i=void 0===r?1:r,e.p=1,a=BC(i),e.n=2,fd().get("data/accounts",{params:{pageToken:y.current[a]||"",network:Xu?1:0}});case 2:return o=e.v,s=null==o?void 0:o.data,(l=(null==s?void 0:s.pageToken)||"")&&(y.current[a+1]=l),c=ip((null==s?void 0:s.accounts)||[]),e.a(2,{items:c,hasMore:!!l});case 3:return e.p=3,u=e.v,console.error("Failed to load accounts:",u),e.a(2,{items:[],hasMore:!1})}},e,null,[[1,3]])}));return function(t,n){return e.apply(this,arguments)}}(),[]),j=(0,n.useCallback)(function(){var e=HC(RC().m(function e(t,n){var r,i,a,o,s,c,u,d,h;return RC().w(function(e){for(;;)switch(e.p=e.n){case 0:if(r=n.page,i=void 0===r?1:r,null==l?void 0:l.id){e.n=1;break}return e.a(2,{items:[],hasMore:!1});case 1:return e.p=1,a=BC(i),o=C.current[a]||"",e.n=2,fd().get("data/properties",{params:{account:l.id,pageToken:o,network:Xu?1:0}});case 2:return s=e.v,c=null==s?void 0:s.data,(u=(null==c?void 0:c.pageToken)||"")&&(C.current[a+1]=u),d=ip((null==c?void 0:c.properties)||[]),e.a(2,{items:d,hasMore:!!u});case 3:return e.p=3,h=e.v,console.error("Failed to load properties:",h),e.a(2,{items:[],hasMore:!1})}},e,null,[[1,3]])}));return function(t,n){return e.apply(this,arguments)}}(),[null==l?void 0:l.id]),T=(0,n.useCallback)(function(){var e=HC(RC().m(function e(t,n){var r,i,a,o,s,l,c,u,h;return RC().w(function(e){for(;;)switch(e.p=e.n){case 0:if(r=n.page,i=void 0===r?1:r,null==d?void 0:d.id){e.n=1;break}return e.a(2,{items:[],hasMore:!1});case 1:return e.p=1,a=BC(i),o=_.current[a]||"",e.n=2,fd().get("data/streams",{params:{property:d.id,pageToken:o,network:Xu?1:0}});case 2:return s=e.v,l=null==s?void 0:s.data,(c=(null==l?void 0:l.pageToken)||"")&&(_.current[a+1]=c),u=[],Object.entries((null==l?void 0:l.streams)||{}).forEach(function(e){var t=VC(e,2),n=t[0],r=t[1];u.push({id:n,label:"".concat(null==r?void 0:r.url," (").concat(null==r?void 0:r.title,")"),measurementId:null==r?void 0:r.measurement})}),e.a(2,{items:u,hasMore:!!c});case 3:return e.p=3,h=e.v,console.error("Failed to load streams:",h),e.a(2,{items:[],hasMore:!1})}},e,null,[[1,3]])}));return function(t,n){return e.apply(this,arguments)}}(),[null==d?void 0:d.id]);return n.createElement("div",null,n.createElement(jC,{label:(0,Je.__)("Choose your account")},v&&n.createElement(cp,{size:{width:"100%",height:"40px"}}),!v&&n.createElement(NC,{isDisabled:v,selected:l,label:(0,Je.__)("Choose your account"),_dropdownProps:{isAsync:!0,emptyMessage:(0,Je.__)("No accounts found"),getOptions:O},onChange:function(e){return M(e,"account",c,function(){k(),C.current={1:""}})}})),(null==l?void 0:l.id)&&n.createElement(jC,{label:(0,Je.__)("Choose your property")},v&&n.createElement(cp,{size:{width:"100%",height:"40px"}}),!v&&n.createElement(NC,{isDisabled:v,key:"property-".concat(null==l?void 0:l.id),selected:d,label:(0,Je.__)("Select Property to load streams"),_dropdownProps:{isAsync:!0,emptyMessage:(0,Je.__)("No properties found"),getOptions:j},onChange:function(e){return M(e,"property",h,E)}})),(null==d?void 0:d.id)&&n.createElement(jC,{label:(0,Je.__)("Choose your view (data stream)"),helper:(0,$d.createInterpolateElement)((0,Je.__)("Site not here? Try logging into another <link>Google account</link>."),{link:n.createElement(Wd,{href:r})})},v&&n.createElement(cp,{size:{width:"100%",height:"40px"}}),!v&&n.createElement(NC,{isDisabled:v,key:"stream-".concat(null==d?void 0:d.id),selected:p,label:(0,Je.__)("Select stream to complete setup"),_dropdownProps:{isAsync:!0,emptyMessage:(0,Je.__)("No streams found"),getOptions:T},onChange:function(e){M(e,"stream",m),"object"===$C(e)&&e&&"measurementId"in e&&e.measurementId&&o("auto_track_ga4",e.measurementId)}})))},ZC=["as","children","className","_style"];function qC(){return qC=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},qC.apply(null,arguments)}var GC=function(e){var t=e.as,r=void 0===t?"div":t,i=e.children,a=e.className,o=void 0===a?"":a,s=e._style,l=void 0===s?{}:s,c=function(e,t){if(null==e)return{};var n,r,i=function(e,t){if(null==e)return{};var n={};for(var r in e)if({}.hasOwnProperty.call(e,r)){if(-1!==t.indexOf(r))continue;n[r]=e[r]}return n}(e,t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(e);for(r=0;r<a.length;r++)n=a[r],-1===t.indexOf(n)&&{}.propertyIsEnumerable.call(e,n)&&(i[n]=e[n])}return i}(e,ZC),u=$a(l,Ka("beehive-sui-html-tag",{},o)).suiInlineClassname,d=r;return n.createElement(d,qC({className:u},c),i)};function YC(e){return YC="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},YC(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return KC(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)?KC(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 KC(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var XC={sessions:(0,Je.__)("Sessions"),users:(0,Je.__)("Users"),pageviews:(0,Je.__)("Pageviews"),page_sessions:(0,Je.__)("Pages/Sessions"),average_sessions:(0,Je.__)("Average Time"),bounce_rates:(0,Je.__)("Bounce Rate")},JC=function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=e.onSaveSuccess,r=e.saveSuccessMsg,i="settings",a=md(i,{network:Xu?"1":"0"}),o=a.data,s=a.isLoading,l=a.refetch,c=a.isRefetching,u=Xc().push,d=(0,n.useCallback)(function(e,t){var n,r,i;return t?null===(i=null===(r=null==o?void 0:o.data)||void 0===r?void 0:r[e])||void 0===i?void 0:i[t]:null===(n=null==o?void 0:o.data)||void 0===n?void 0:n[e]},[o]),h=(0,n.useCallback)(function(){return null==o?void 0:o.data},[o]),f=gd({slug:i,onSuccess:function(){u({variation:"success",message:r||(0,Je.__)("Settings updated successfully"),icon:"CheckAlt",_style:{width:"500px",maxWidth:"100%"}}),null==t||t()},onError:function(e){return u({variation:"warning",message:e.message,isDismissible:!0,icon:"InfoAlt"})},params:{network:Xu?"1":"0"}}),p=f.isPending;return{settings:o,getField:d,getSettings:h,save:f,isSaving:p,isLoading:s||c,slug:i,refetch:l}};function e_(e){return e_="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_(e)}function t_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function n_(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?t_(Object(n),!0).forEach(function(t){r_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):t_(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"!=e_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=e_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==e_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function i_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var a_=function(e,t){var r="/auth",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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||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,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)(!1),2),a=i[0],o=i[1],s=e&&t?{client_id:e,client_secret:t}:{},l=Xc().push,c=gd({slug:"".concat(r,"/logout"),method:"GET",onSuccess:function(){o(!0),window.location.reload()},params:{network:Xu?1:0}}),u=c.isPending,d=gd({slug:"".concat(r,"/auth-url"),method:"GET",onSuccess:function(e){var t,n=e;(null===(t=null==n?void 0:n.data)||void 0===t?void 0:t.url)&&(window.location.href=n.data.url)},onError:function(e){return l({variation:"error",message:e.message||(0,Je.__)("We couldn't connect your Google account. Please try reconnecting with the \"Connect\" button below. Alternately, you can set up a new API project with Google and use that instead. If you're still stuck you can contact support for assistance."),isDismissible:!0,icon:"InfoAlt"})},params:n_(n_({},s),{},{context:"settings",network:Xu?1:0})});return{slug:r,logout:c,isLoggingOut:u,hasLoggedOut:a,login:d,isLoggingIn:d.isPending}};function o_(e){return o_="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},o_(e)}function s_(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function l_(e,t,n){return(t=function(e){var t=function(e){if("object"!=o_(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=o_(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==o_(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var c_=function(e){var t=e.action,n=e.onSaveSuccess,r=e.saveSuccessMsg,i=Xc().push,a=gd({slug:"actions",params:{action:t,network:Xu?1:0},method:"GET",onSuccess:function(){r&&i({variation:"success",message:r,icon:"CheckAlt",size:"lg"}),n&&n()},onError:function(e){i({variation:"error",message:e.message,isDismissible:!0,icon:"InfoAlt"})}});return{run:a,isPending:a.isPending,slug:"actions"}};function u_(){return u_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},u_.apply(null,arguments)}var d_=null!=ku?ku:{},h_=d_.free,f_=d_.pro,p_=d_.social,m_={free_plugins_url:(null==h_?void 0:h_.free_plugins)||"",membership_url:(null==h_?void 0:h_.membership)||"",roadmap_url:(null==h_?void 0:h_.roadmap)||"",support_url:(null==h_?void 0:h_.support)||"",docs_url:(null==h_?void 0:h_.docs)||"",hub_url:(null==f_?void 0:f_.hub)||"",tos_url:(null==f_?void 0:f_.tos)||"",privacy_url:(null==f_?void 0:f_.privacy)||""},g_={hub_url:(null==f_?void 0:f_.hub)||"",plugins_url:(null==f_?void 0:f_.plugins)||"",roadmap_url:(null==f_?void 0:f_.roadmap)||"",support_url:(null==f_?void 0:f_.support)||"",docs_url:(null==f_?void 0:f_.docs)||"",community_url:(null==f_?void 0:f_.community)||"",tos_url:(null==f_?void 0:f_.tos)||"",privacy_url:(null==f_?void 0:f_.privacy)||""},v_={facebook_url:(null==p_?void 0:p_.facebook)||"",twitter_url:(null==p_?void 0:p_.twitter)||"",instagram_url:(null==p_?void 0:p_.instagram)||""},b_=function(e){var t=e.children,r=e.showHeader,i=void 0===r||r,a=e.showFooter,o=void 0===a||a,s=xu.footer_text,l=xu.custom_image,c=xu.custom_footer,u=(Eu||{}).name,d=n.createElement(Zc,{key:"upgrade",colorScheme:"black",type:"primary",href:"https://wpmudev.com/project/beehive-analytics-pro/"},(0,Je.__)("Upgrade to pro","ga_trans"));return n.createElement("div",{className:"sui-layout beehive-sui-wrapper"},n.createElement(au,null),i&&n.createElement(dh,u_({brand:{plugin:"beehive",customIcon:l||void 0,title:u,description:"Beehive"===u?(0,Je.__)("Analytics","ga_trans"):""},showTitleInMobile:!0},rd?{}:{actions:[n.createElement(yh,{key:"More from WPMUDEV",label:(0,Je.__)("More from WPMU DEV","ga_trans"),plugins:Xh,upsell:Jh}),d]})),t,o&&n.createElement(Bd,{removeBGColor:!0,renderBlocks:function(){return rd?[s]:[n.createElement(Eh,{key:"footer-link-1",size:"sm"},(0,$d.createInterpolateElement)((0,Je.__)("Check out our <link>All-in-One WordPress Toolkit</link>","ga_trans"),{link:n.createElement(Wd,{isExternal:!0,href:m_.hub_url})})),n.createElement(Eh,{key:"footer-link-2",size:"sm"},(0,$d.createInterpolateElement)((0,Je.__)("To get the most out of the plugin, <link>see the Help section</link>","ga_trans"),{link:n.createElement(Wd,{href:m_.hub_url,isExternal:!0})}))]},socialLinks:[{url:v_.facebook_url,type:"facebook"},{url:v_.instagram_url,type:"instagram"},{url:v_.twitter_url,type:"twitter"}],links:rd?[{url:g_.hub_url,title:(0,Je.__)("The Hub","ga_trans")},{url:g_.plugins_url,title:(0,Je.__)("Plugins","ga_trans")},{url:g_.roadmap_url,title:(0,Je.__)("Roadmap","ga_trans")},{url:g_.support_url,title:(0,Je.__)("Support","ga_trans")},{url:g_.docs_url,title:(0,Je.__)("Docs","ga_trans")},{url:g_.community_url,title:(0,Je.__)("Community","ga_trans")},{url:g_.tos_url,title:(0,Je.__)("Terms of Service","ga_trans")},{url:g_.privacy_url,title:(0,Je.__)("Privacy Policy","ga_trans")}]:[{url:g_.hub_url,title:(0,Je.__)("The Hub","ga_trans")},{url:m_.free_plugins_url,title:(0,Je.__)("Free Plugins","ga_trans")},{url:m_.membership_url,title:(0,Je.__)("Membership","ga_trans")},{url:m_.roadmap_url,title:(0,Je.__)("Roadmap","ga_trans")},{url:m_.support_url,title:(0,Je.__)("Support","ga_trans")},{url:m_.docs_url,title:(0,Je.__)("Docs","ga_trans")},{url:m_.tos_url,title:(0,Je.__)("Terms of Service","ga_trans")},{url:m_.privacy_url,title:(0,Je.__)("Privacy Policy","ga_trans")}],customFooter:c,className:"beehive-sui-wrapper__footer"}))},y_=(0,n.memo)(b_),C_=({id:e,title:t="Box Title",description:r,headerActions:i,footerActions:a,centerFooterActions:o,className:s,isPro:l=!1,hasBg:c=!0,isFluid:u=!1,children:d,hasLargeRadius:h,_htmlProps:f,_style:p})=>{let m=(0,n.useId)(),g=e||`sui-basic-box-${m}`,[v,b,y]=qa({});d=Ba(d);let{suiInlineClassname:C}=$a(p,s),_=Ka("sui-basic-box",{focus:b,hover:v&&!b,pro:l,bg:c,"is-fluid":u,"center-footer-actions":o,"large-radius":h},C);return(0,Ye.jsxs)("div",{id:g,className:_,...y,"data-testid":"basic-box",...co(f),children:[(0,Ye.jsx)("div",{className:"sui-basic-box__header",id:`${g}-header`,children:(0,Ye.jsxs)("div",{className:"sui-basic-box__header-info",id:`${g}-header-info`,children:[!!t&&(0,Ye.jsx)("h4",{id:`${g}-title`,className:"sui-basic-box__header-title sui-heading--h4","data-testid":"basic-box-title",children:t}),(0,Ye.jsx)("div",{className:"sui-basic-box__actions",id:`${g}-actions`,children:i&&i}),!!r&&(0,Ye.jsx)("div",{id:`${g}-description`,className:"sui-basic-box__header-desc","data-testid":"basic-box-description",children:r})]})}),(0,Ye.jsx)("div",{className:"sui-basic-box__body",id:`${g}-body`,"data-testid":"basic-box-body",children:d}),!!a&&(0,Ye.jsxs)("div",{className:"sui-basic-box__footer",id:`${g}-footer`,children:[!!a?.[0]&&(0,Ye.jsx)("div",{className:"sui-basic-box__footer-left",id:`${g}-footer-left`,children:a?.[0]}),!!a?.[1]&&(0,Ye.jsx)("div",{className:"sui-basic-box__footer-right",id:`${g}-footer-right`,children:a?.[1]})]})]})},__=({id:e,title:t="Page Title",actions:r=[],className:i,_style:a={}})=>{let o=(0,n.useId)(),s=e||`sui-page-header-${o}`,{suiInlineClassname:l}=$a(a,i),c=Ka("sui-page-header",{},l);return(0,Ye.jsxs)("div",{id:s,className:c,children:[(0,Ye.jsx)("h1",{id:`${s}-title`,className:"sui-page-header__title",children:t}),r.length>0&&(0,Ye.jsx)("div",{id:`${s}-actions`,className:"sui-page-header__actions",children:r})]})},w_=({id:e,isOpen:t=!1,image:r,trigger:i="Open Popup",className:a,header:o,children:s,placement:l="top",footer:c,displayOnHover:u=!1,popupWidth:d,popupProps:h,_htmlProps:f={},_style:p={}})=>{let m=(0,n.useId)(),g=e||`sui-popover-${m}`,[v,b]=(0,n.useState)(t??!1),[y,C]=(0,n.useState)({top:0,right:"auto"}),[_,w]=(0,n.useState)(l);s=Ba(s);let x=vi(),S=(0,n.useRef)(null),E=(0,n.useRef)(null),k=(0,n.useRef)(null),M=(0,n.useRef)(null),{suiInlineClassname:O}=$a(p,a??""),j=Ka("sui-popover",{open:v,image:!eo(r)&&!io(r),[`${_}`]:!0},O);Wa(S,()=>{b(!1)});let T=(0,n.useCallback)(()=>{u||b(!v)},[u,v]),P=(0,n.useCallback)(()=>{u&&(M.current&&(clearTimeout(M.current),M.current=null),b(!0))},[u]),D=(0,n.useCallback)(()=>{u&&(M.current=setTimeout(()=>{b(!1),M.current=null},500))},[u]);(0,n.useEffect)(()=>()=>{M.current&&clearTimeout(M.current)},[]);let A=(0,n.useCallback)((e,t,n,r)=>{let i=window.innerWidth,a=window.innerHeight,o=window.pageYOffset||document.documentElement.scrollTop,s=window.pageXOffset||document.documentElement.scrollLeft,l=e.top+o,c=e.left+s,u=l+e.height,d=c+e.width,h=r=>{let h=0,f=0;switch(r){case"top":case"top-left":case"top-right":h=l-n-16;break;case"bottom":case"bottom-left":case"bottom-right":h=u+16;break;case"left":case"left-top":case"left-bottom":case"right":case"right-top":case"right-bottom":h=l+e.height/2-n/2}switch(r){case"top":case"bottom":f=c+e.width/2-t/2;break;case"top-left":case"bottom-left":f=c-t+e.width/2+26;break;case"top-right":case"bottom-right":f=c+e.width/2-26;break;case"left":case"left-top":case"left-bottom":f=c-t-16;break;case"right":case"right-top":case"right-bottom":f=d+16}return h>=o&&h+n<=o+a&&f>=s&&f+t<=s+i};if(h(r))return r;let f={top:["bottom","right","left","top-right","top-left"],"top-left":["bottom-left","top-right","bottom-right","right","left"],"top-right":["bottom-right","top-left","bottom-left","left","right"],bottom:["top","right","left","bottom-right","bottom-left"],"bottom-left":["top-left","bottom-right","top-right","right","left"],"bottom-right":["top-right","bottom-left","top-left","left","right"],left:["right","top","bottom","left-top","left-bottom"],"left-top":["right-top","left-bottom","right-bottom","top","bottom"],"left-bottom":["right-bottom","left-top","right-top","bottom","top"],right:["left","top","bottom","right-top","right-bottom"],"right-top":["left-top","right-bottom","left-bottom","top","bottom"],"right-bottom":["left-bottom","right-top","left-top","bottom","top"]}[r]||[];for(let e of f)if(h(e))return e;return r},[]);return(0,n.useEffect)(()=>{let e=E?.current,{clientWidth:t,clientHeight:n}=e,{clientWidth:r,clientHeight:i}=k?.current;if(!v)return;let a=e?.getBoundingClientRect(),o=A(a,r,i,l);w(o);let s={};switch(o){case"top":s={[x?"right":"left"]:0-r/2+t/2,top:-(16+i)};break;case"top-left":s={[x?"right":"left"]:-(r-t/2-26),top:-(16+i)};break;case"top-right":s={[x?"right":"left"]:t/2-26,top:-(16+i)};break;case"left":s={[x?"right":"left"]:0-(r+16),top:n/2-i/2};break;case"left-top":s={[x?"right":"left"]:0-(r+16),top:-(i-n/2-26)};break;case"left-bottom":s={[x?"right":"left"]:0-(r+16),top:n/2-26};break;case"right":s={[x?"right":"left"]:t+16,top:n/2-i/2};break;case"right-top":s={[x?"right":"left"]:t+16,top:-(i-n/2-26)};break;case"right-bottom":s={[x?"right":"left"]:t+16,top:n/2-26};break;case"bottom":s={[x?"right":"left"]:t/2-r/2,top:n+16};break;case"bottom-left":s={[x?"right":"left"]:-(r-t/2-26),top:n+16};break;case"bottom-right":s={[x?"right":"left"]:t/2-26,top:n+16}}C({...y,...s})},[i,k,v,l,A]),(0,Ye.jsxs)("div",{id:g,ref:S,className:j||void 0,"data-testid":"popover",onMouseLeave:D,children:[(0,Ye.jsx)("div",{ref:E,className:"sui-popover__trigger",...!(0,n.isValidElement)(i)&&{role:"button",tabIndex:0,onKeyDown:e=>oo(e,T),onClick:T,onMouseEnter:P},children:(0,n.isValidElement)(i)?(0,n.cloneElement)(i,{onKeyDown:e=>oo(e,T),onClick:T,onMouseEnter:P}):i}),(0,Ye.jsxs)("div",{ref:k,className:"sui-popover__popup",style:{...y,width:d},onMouseEnter:P,...h,...co(f),children:[(0,Ye.jsx)("div",{className:"sui-popover__popup-arrow"}),(0,Ye.jsxs)("div",{className:"sui-popover__popup-wrapper",children:[!u&&(0,Ye.jsx)("div",{className:"sui-popover__popup-close",children:(0,Ye.jsx)(Zc,{icon:"Close",iconOnly:!0,colorScheme:"black",isSmall:!0,type:"tertiary",onClick:T,children:"Close"})}),r&&(0,Ye.jsx)("div",{className:"sui-popover__popup-image",style:{backgroundImage:`url("${r}")`}}),(0,Ye.jsxs)("div",{className:"sui-popover__popup-inner",children:[o&&(0,Ye.jsx)("div",{className:"sui-heading--h5 sui-popover__popup-header",children:o}),(0,Ye.jsx)("div",{className:"sui-popover__popup-content",children:s}),!!c&&(0,Ye.jsx)("div",{className:"sui-popover__popup-footer",children:c})]})]})]})]})},x_=({id:e,title:t,description:r,className:i,isPro:a=!1,isFluid:o=!1,children:s,actions:l,overflowHidden:c=!1,_htmlProps:u,_style:d={}})=>{let h=(0,n.useId)(),f=e||`sui-setting-block-${h}`,[p,m,g]=qa({}),{suiInlineClassname:v}=$a(d,i),b=Ka("sui-setting-block",{focus:m,hover:p&&!m,pro:a,fluid:o,hidden:c},v);return(0,Ye.jsxs)("div",{id:f,className:b,...g,"data-testid":"setting-block",...co(u),children:[(t||r||l)&&(0,Ye.jsxs)("div",{className:"sui-setting-block__header",children:[(t||r)&&(0,Ye.jsxs)("div",{className:"sui-setting-block__info",children:[!!t&&(0,Ye.jsxs)("div",{className:"sui-setting-block__info-title sui-heading--h5",children:[t,a&&(0,Ye.jsx)(vh,{design:"outlined",colorScheme:"black",isSmall:!0,children:"Pro"})]}),!!r&&(0,Ye.jsx)("div",{className:"sui-setting-block__info-desc",children:r})]}),l&&(0,Ye.jsx)("div",{className:"sui-setting-block__actions",children:l})]}),s&&(0,Ye.jsx)("div",{className:"sui-setting-block__body",children:s})]})},S_=({title:e,description:t,className:n,children:r,actions:i,_htmlProps:a,_style:o={}})=>{let{suiInlineClassname:s}=$a(o,n),l=Ka("sui-setting-block__option",{},s);return(0,Ye.jsxs)("div",{className:l,...co(a),children:[(0,Ye.jsxs)("div",{className:"sui-setting-block__option-header",children:[(()=>{if(!e)return null;let t=(0,Ye.jsx)("h6",{className:"sui-setting-block__option-title",children:e});return i?(0,Ye.jsxs)("div",{className:"sui-setting-block__option-title-row",children:[t,(0,Ye.jsx)("div",{className:"sui-setting-block__option-actions",children:i})]}):t})(),!!t&&(0,Ye.jsx)("div",{className:"sui-setting-block__option-description",children:t})]}),!!r&&(0,Ye.jsx)("div",{className:"sui-setting-block__option-body",children:r})]})},E_=function(e){var t=e.force,n=e.network,r="stats/api-status",i=md({slug:r,baseURL:"v1"},{force:t,network:void 0===n?Xu:n}),a=i.data,o=i.isLoading,s=i.refetch,l=i.isRefetching;return{stats:a,isLoading:o||l,slug:r,refetch:s}},k_=(0,n.createContext)({allowMultipleExpand:!1,expandState:{},setExpandState:()=>null,spacing:"",isFlushed:!1}),M_=k_.Provider,O_=({id:e,label:t,description:r,defaultValue:i=!1,isLabelHidden:a=!1,isDisabled:o=!1,onClick:s,isFluid:l=!1,_htmlProps:c={},_style:u={},children:d,...h})=>{let f=(0,n.useId)(),p=e||`sui-toggle-${f}`,[m,g]=(0,n.useState)(i),[v,b,y]=qa({onMouseEnter:h?.onMouseEnter,onMouseLeave:h?.onMouseLeave,onMouseDownCapture:h?.onMouseDownCapture,onBlur:h?.onBlur,onBlurCapture:h?.onBlurCapture});(0,n.useEffect)(()=>{to(i)?g(i):g(i??!1)},[i]);let C=(0,n.useCallback)(e=>{g(!m),s&&s(e)},[s,m]),{suiInlineClassname:_}=$a(u),w={className:Ka("sui-toggle",{"hidden-label":a,checked:m,disabled:o,hover:!m&&v,focus:!m&&b,"checked-hover":m&&v,"checked-focus":m&&b},_),...y},x={type:"checkbox",className:"sui-screen-reader-only",defaultChecked:m,disabled:o,...h};return(0,Ye.jsxs)("div",{className:Ka("sui-toggle__container",{fluid:l}),id:`${p}-container`,children:[(0,Ye.jsxs)("label",{...w,htmlFor:p,"data-testid":"toggle",children:[(0,Ye.jsx)("input",{...x,id:p,onChange:C,...co(c)}),(0,Ye.jsx)("span",{tabIndex:-1,className:"sui-toggle__switch",id:`${p}-switch`}),a&&(0,Ye.jsx)("span",{className:"sui-screen-reader-only",id:`${p}-label`,children:t}),!a&&(0,Ye.jsx)("span",{className:"sui-toggle__label",id:`${p}-label`,"data-testid":"toggle-label",children:t})]}),r&&(0,Ye.jsx)("div",{id:`${p}-description`,className:"sui-toggle__description","data-testid":"toggle-description",children:r}),m&&d&&(0,Ye.jsx)("div",{className:"sui-toggle__content",children:(0,Ye.jsx)("div",{className:"sui-toggle__content--inner",children:d})})]})},j_=({id:e,className:t,state:r="default",noBorderRadius:i=!1,noSideBorders:a=!1,allowMultipleExpand:o=!1,isFlushed:s=!1,children:l,spacing:c="",_htmlProps:u={},_style:d={}})=>{let h=(0,n.useId)(),f=e||`sui-accordion-${h}`,[p,m]=(0,n.useState)({});l=Ba(l);let{suiInlineClassname:g}=$a(d,t),v=Ka("sui-accordion",{[r]:!io(r??"")&&"default"!==r,"no-border-radius":i,"no-side-borders":a,flushed:s},g);return(0,Ye.jsx)(M_,{value:{allowMultipleExpand:o,expandState:p,setExpandState:m,spacing:c,isFlushed:s},children:(0,Ye.jsx)("div",{id:f,className:v,...co(u),children:l})})},T_=({id:e,title:t="{title}",description:r,children:i,isDisabled:a=!1,icon:o,hasCheckbox:s,isChecked:l=!1,hasToggle:c=!1,toggleProps:u,tooltipProps:d,isExpanded:h=!1,onCheck:f,_htmlProps:p={},contentShadow:m=!0,_style:g={}})=>{let[v,b]=(0,n.useState)(l);i=Ba(i);let{suiInlineClassname:y}=$a(g),[C,_]=(0,n.useState)(!1),w=(0,n.useId)(),x=e||`sui-accordion-${w}`,{toggle:S,isCurrentlyExpanded:E}=(({uniqueId:e,isExpanded:t})=>{let{allowMultipleExpand:r,expandState:i,setExpandState:a}=(0,n.useContext)(k_);(0,n.useEffect)(()=>{!eo(t)&&eo(i[e])&&a(n=>({...n,[e]:t}))},[e,a,t,i]);let o=(0,n.useCallback)(()=>{a(t=>{if(!r){let n={};return Object.keys(t).forEach(r=>{n[r]=r===e&&!t[e]}),n}return{...t,[e]:!t[e]}})},[r,e,a]);return{toggle:o,isCurrentlyExpanded:i[e]??!1}})({uniqueId:x,isExpanded:h}),{spacing:k}=(0,n.useContext)(k_),M=`${x}-header`,O=`${x}-panel`,[j,T,P]=qa({onMouseDownCapture:()=>{_(!0)},onMouseUpCapture:()=>{_(!1)}}),D=(0,n.useCallback)(e=>{e.stopPropagation(),b(e.target.checked),f&&f(E)},[E,f]),A=E?xl:Sl,L={};k&&(L={padding:k});let I=m?"sui-accordion__panel--content":"sui-accordion__panel--content sui-accordion__panel--content-no-shadow";return(0,Ye.jsxs)("div",{id:x,className:Ka("sui-accordion__item",{expanded:E,hover:j,disabled:a},y),"data-testid":"accordion-item",...co(p),children:[(0,Ye.jsxs)("div",{id:M,className:Ka("sui-accordion__header",{focus:T||C}),...Object.keys(L).length>0&&{style:L},...!s&&!c&&{tabIndex:a?-1:0,role:"button","aria-expanded":h,"aria-controls":O,onClick:S,"data-testid":"accordion-item-button",onKeyDown:e=>{e.stopPropagation(),oo(e,S)}},...P??{},children:[(s||c&&v)&&(0,Ye.jsx)("div",{id:`${M}-accessible-cta`,className:"sui-accessible-cta",tabIndex:a?-1:0,role:"button","aria-label":"Accordion Item","aria-expanded":h,"aria-controls":O,onClick:S,"data-testid":"accordion-item-button",onKeyDown:e=>{e.stopPropagation(),oo(e,S)}}),(0,Ye.jsxs)("div",{className:"sui-accordion__header-info",id:`${M}-header-info`,children:[(!!s||!!c||!!o)&&(0,Ye.jsxs)("div",{className:"sui-accordion__header-actions",id:`${M}-header-actions`,children:[c&&(0,Ye.jsx)("div",{id:`${M}_header_toggle`,className:"sui-accordion__header-toggle",children:(0,Ye.jsx)(O_,{id:`${M}_toggle`,label:t,defaultValue:v,isDisabled:a,"aria-label":t,...u,onClick:e=>{(!E&&!v||E&&v)&&S(),b(!v),u?.onClick&&u.onClick(e)}})}),s&&(0,Ye.jsx)(Yd,{name:M,id:`${M}-checkbox`,onChange:D,isChecked:v,isDisabled:a??!1}),!!o&&o]}),!c&&(0,Ye.jsxs)("div",{className:"sui-accordion__header-title",id:`${M}-header-title`,children:[(0,Ye.jsx)("h2",{className:`${M}-title`,children:t}),!io(r??"")&&(0,Ye.jsx)("p",{className:`${M}-description`,children:r})]})]}),(0,Ye.jsx)("div",{className:"sui-accordion__header-icon",id:`${M}-header-icon`,children:d?(0,Ye.jsx)(Xd,{icon:"Info",...d}):(0,Ye.jsx)(A,{iconHeight:16,iconWidth:16})})]}),(0,Ye.jsx)("div",{role:"region",id:O,"aria-labelledby":M,className:Ka("sui-accordion__panel",{open:E}),...Object.keys(L).length>0&&{style:{...L,paddingTop:0}},"data-testid":"accordion-item-panel",children:(0,Ye.jsx)("div",{className:I,id:`${M}-panel-content`,children:i})})]})},P_=({children:e,hasPadding:t=!0,_htmlProps:r,_style:i})=>{let{spacing:a,isFlushed:o}=(0,n.useContext)(k_),s={};a&&(s={padding:a}),e=Ba(e);let{suiInlineClassname:l}=$a(i),c=Ka("sui-accordion__item",{body:!0,"no-padding":!t},l);return(0,Ye.jsx)("div",{className:c,"data-testid":"accordion-body",...co(r),children:o?e:(0,Ye.jsx)(Uh,{children:(0,Ye.jsx)(Vh,{style:s,isInline:!1,children:e})})})},D_=({id:e,children:t,_style:r={}})=>{let i=(0,n.useId)(),a=e||`sui-recipient-name-${i}`,{suiInlineClassname:o}=$a(r);if(t&&!ro(t))throw new Error('Incorrect parameter type. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Recipient\n\nThe parameter "name" used in the name element is not a string type.\n\n');return(0,Ye.jsx)(n.Fragment,{children:t&&(0,Ye.jsx)("span",{id:a,className:Ka("sui-recipient__name",{},o),children:t})})},A_=({id:e,children:t,_style:r={}})=>{let i=(0,n.useId)(),a=e||`sui-recipient-email-${i}`,{suiInlineClassname:o}=$a(r);if(t&&!ro(t))throw new Error('Incorrect parameter type. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Recipient\n\nThe parameter "email" used in the name element is not a string type.\n\n');return(0,Ye.jsx)(n.Fragment,{children:t&&(0,Ye.jsx)("span",{id:a,className:Ka("sui-recipient__email",{},o),children:t})})},L_=({className:e,children:t,customWidth:n,buttonProps:r})=>{if(t&&!ro(t))throw new Error('Incorrect parameter type. More details below:\n\n⬇️ ⬇️ ⬇️\n\n📦 Shared UI - Components: Recipient\n\nThe parameter "children" used in the button element is not a string type.\n\n');return(0,Ye.jsx)(Xd,{buttonProps:{type:"tertiary",colorScheme:"black",iconOnly:!0,isSmall:!0,...r},type:"button",label:t,className:e,customWidth:n,children:t})},I_=({id:e,userName:t="name",userEmail:r="",userImage:i,hideAvatar:a=!1,placeholder:o="No Avatar",className:s,status:l="none",isInvited:c=!1,appearance:u="primary",actions:d,_htmlProps:h,_style:f})=>{let p=(0,n.useId)(),m=e||`sui-recipient-${p}`,{suiInlineClassname:g}=$a(f,s),v=Ka("sui-recipient",{[u]:!io(u??"")},g);return(0,Ye.jsxs)("div",{id:m,className:v,"data-testid":"recipients",...co(h),children:[(0,Ye.jsxs)("div",{className:"sui-recipient__info",children:[a&&(0,Ye.jsx)("p",{className:"sui-recipient__info--placeholder",children:o}),!a&&(0,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsx)(lh,{className:"sui-recipient__avatar",...!io(l)&&{status:l},...i?.src&&{image:i}}),(!io(t)||!io(r))&&(0,Ye.jsxs)("div",{className:"sui-recipient__details",children:[!io(t)&&(0,Ye.jsx)(D_,{children:t}),!io(r)&&(0,Ye.jsx)(A_,{children:r})]})]})]}),(0,Ye.jsxs)("div",{className:"sui-recipient__actions",children:[!c&&!d&&(0,Ye.jsx)(L_,{className:"sui-recipient__button",buttonProps:{icon:"Add"},children:"Add recipient"}),c&&!d&&(0,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsx)(L_,{className:"sui-recipient__button",buttonProps:{icon:"Submit"},children:"Send recipient"}),(0,Ye.jsx)(L_,{className:"sui-recipient__button",customWidth:120,buttonProps:{colorScheme:"red",icon:"Trash"},children:"Remove recipient"})]}),d]})]})},N_=(0,n.createContext)(null),R_=({name:e="segmented-control",defaultValue:t="",onChange:r=()=>{},children:i,isFullWidth:a=!1,ariaAttrs:o={},_htmlProps:s,_style:l={}})=>{let{containerRef:c,isScrollableLeft:u,isScrollableRight:d,scroll:h}=bi({scrollOffset:50}),[f,p]=(0,n.useState)("");i=Ba(i);let{suiInlineClassname:m}=$a(l);(0,n.useEffect)(()=>{p(t)},[t]);let g=Ka("sui-segmented-control",{"full-width":a},m);return(0,Ye.jsx)(N_.Provider,{value:{name:e,onClick:e=>{p(e),r&&r(e)},value:f},children:(0,Ye.jsxs)("div",{className:"sui-segmented-control__container",children:[u&&(0,Ye.jsx)("button",{className:"sui-tab__arrow sui-tab__arrow--left",onClick:()=>h("left"),children:(0,Ye.jsx)(El,{size:"sm"})}),(0,Ye.jsx)("div",{ref:c,role:"radiogroup",className:g,"data-testid":"segmented-control",...o,...co(s),children:i}),d&&(0,Ye.jsx)("button",{className:"sui-tab__arrow sui-tab__arrow--right",onClick:()=>h("right"),children:(0,Ye.jsx)(kl,{size:"sm"})})]})})},z_=({id:e,value:t,icon:r,children:i,ariaLabel:a,isDisabled:o,isResponsive:s=!1,_htmlProps:l,_style:c={}})=>{let u=(0,n.useId)(),d=e||`sui-radio-${u}`;t||(t=`example-value-${u}`),!i&&!r&&(i="example option");let{onClick:h,name:f,value:p}=(e=>{let t=(0,n.useContext)(N_),r=(0,n.useCallback)(()=>{t?.onClick(e)},[t,e]);return{...t,onClick:r}})(t),[m,g,v]=qa({}),{suiInlineClassname:b}=$a(c),y=Ka("sui-segmented-control__button",{},b),C=t===p,_=null;return r&&(_=Hc[r]),(0,Ye.jsxs)("span",{className:y,...co(l),children:[(0,Ye.jsx)("input",{type:"radio",id:d,className:"sui-segmented-control__input",name:f,checked:C,value:t,disabled:o,onChange:h,"aria-label":a||"radio input","aria-checked":C,"aria-hidden":!0}),(0,Ye.jsxs)("label",{className:Ka("sui-segmented-control__label",{focus:g,active:C,hover:m,disabled:o}),tabIndex:o?-1:0,htmlFor:d,"data-testid":"segmented-control-label",onKeyDown:e=>oo(e,h),...v,children:[!!_&&(0,Ye.jsx)(_,{size:"sm"}),!!i&&(0,Ye.jsx)("span",{...s&&{className:"sui-md-hide"},children:i}),!io(a??"")&&(0,Ye.jsx)("span",{className:"screen-reader-text",children:a})]})]})},F_=(0,n.createContext)(null),H_=(0,n.forwardRef)(({id:e,size:t="sm",_style:r,children:i,variant:a="simple",_htmlProps:o,onCloseModal:s},l)=>{let c=(0,n.useId)();e||(e=c),i=Ba(i);let[u,d]=(0,n.useState)(!1);Ya({component:H_,propsToCheck:{id:e}});let h=(0,n.useCallback)(()=>{document.body.classList.add("sui-locked"),d(!0)},[]),f=(0,n.useCallback)(()=>{document.body.classList.remove("sui-locked"),s&&s(),d(!1)},[s]);(0,n.useImperativeHandle)(l,()=>({openModal:h,closeModal:f}));let[p]=Ga(),{suiInlineClassname:m}=$a(r,"sui-wp-overlay");if(!u)return null;let g=Ka("sui-modal",{"is-open":u,[a]:!io(a??""),[t]:!io(t??"")},m);return p((0,Ye.jsxs)(F_.Provider,{value:{openModal:h,closeModal:f,variant:a??"simple",size:t??"sm"},children:[(0,Ye.jsx)("section",{className:g,"data-testid":"modal",tabIndex:-1,...co(o),children:(0,Ye.jsx)("div",{id:`${c}-container`,className:Ka("sui-modal__container",{}),role:"dialog","aria-modal":"true",tabIndex:-1,children:i})}),(0,Ye.jsx)("div",{className:"sui-modal__overlay",id:`${c}-overlay`,role:"presentation"})]}))});H_.displayName="Modal";var $_=({id:e,title:t="header title",children:r,icon:i,iconSize:a="md",iconColor:o="success",hasCloseButton:s=!0,_htmlProps:l,_style:c})=>{let u=(0,n.useId)(),d=e||`sui-modal-header-${u}`,{suiInlineClassname:h}=$a(c),f=(0,n.useContext)(F_),{closeModal:p,variant:m}=f;Ya({component:$_,propsToCheck:{title:t}});let g=null;return i&&(g=Hc?.[i]),(0,Ye.jsxs)("header",{id:d,className:Ka("sui-modal__header",{},h),...co(l),children:[(0,Ye.jsxs)("div",{className:"sui-modal__header-actions",children:[!!g&&(0,Ye.jsx)(g,{size:a,colorScheme:o}),!io(t??"")&&"app-connect"!==m&&(0,Ye.jsx)("h4",{className:"sui-heading--h4",children:t}),s&&(0,Ye.jsx)(Zc,{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,Ye.jsxs)("div",{className:"sui-modal__header-info",children:[(0,Ye.jsx)("h3",{className:"sui-heading--h3",children:t}),!!r&&(0,Ye.jsx)("div",{className:"sui-modal__header-info-content",children:r}),(0,Ye.jsx)("figure",{className:"sui-modal__header-logo",children:(0,Ye.jsx)("img",{src:"https://placehold.co/200x200",alt:"App logo"})})]})]})},V_=({id:e,children:t,_style:r,_htmlProps:i})=>{let a=(0,n.useId)(),o=e||`sui-modal-body-${a}`,{suiInlineClassname:s}=$a(r);return t=Ba(t,"{modal body content}"),(0,Ye.jsx)("div",{id:o,className:Ka("sui-modal__body",{},s),...co(i),children:t})},U_=({id:e,children:t,isSpaced:r=!1,_style:i,_htmlProps:a})=>{let o=(0,n.useId)(),s=e||`sui-modal-footer-${o}`,{suiInlineClassname:l}=$a(i);return t=Ba(t,"{modal footer content}"),(0,Ye.jsx)("footer",{id:s,className:Ka("sui-modal__footer",{spaced:r},l),...co(a),children:t})},B_=(0,n.forwardRef)(function(e,t){var r=e.close,i=a_(),a=i.logout,o=i.isLoggingOut;return n.createElement(H_,{id:"simple-modal",ref:t},n.createElement($_,{title:(0,Je.__)("Log out","ga_trans"),icon:"Exit",iconColor:"neutral"}),n.createElement(V_,null,n.createElement($h,{spacing:8},n.createElement(Eh,null,(0,Je.__)("Logging out will remove analytics from your Dashboard. Are you sure you want to logout?","ga_trans")))),n.createElement(U_,null,n.createElement(Zc,{type:"secondary",colorScheme:"black",onClick:r},(0,Je.__)("Cancel","ga_trans")),n.createElement(Zc,{icon:"Exit",type:"primary",colorScheme:"blue",isDisabled:o,isLoading:o,onClick:function(){return a.mutate({})}},(0,Je.__)("Logout","ga_trans"))))});B_.displayName="Logout";var W_=B_;function Z_(){return Z_=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},Z_.apply(null,arguments)}function q_(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return G_(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)?G_(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 G_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Y_=function(){var e=JC().getField,t=e("google","client_id"),r=e("google","client_secret"),i=ju.redirect_uri1,a=ju.redirect_uri2,o=q_((0,n.useState)("google"),2),s=o[0],l=o[1],c=q_((0,n.useState)(""),2),u=c[0],d=c[1],h=q_((0,n.useState)(""),2),f=h[0],p=h[1],m=a_(u,f),g=m.login,v=m.isLoggingIn,b=null!=Vu?Vu:{},y=b.email,C=b.name,_=b.photo,w=q_(Ua({required:!0,message:(0,Je.__)("Please enter Client ID.","ga_trans")}),2),x=w[0],S=w[1],E=q_(Ua({required:!0,message:(0,Je.__)("Please enter Client Secret.","ga_trans")}),2),k=E[0],M=E[1],O=(0,n.useRef)(null);return(0,n.useEffect)(function(){d(t),p(r)},[t,r]),n.createElement(n.Fragment,null,n.createElement(W_,{ref:O,close:function(){var e;null===(e=null==O?void 0:O.current)||void 0===e||e.closeModal()}}),n.createElement($h,{spacing:8,isFluid:!0},!id&&n.createElement(n.Fragment,null,n.createElement(R_,{name:"account-type",defaultValue:"google",onChange:function(e){l(e)}},n.createElement(z_,{value:"google"},(0,Je.__)("Connect with Google","ga_trans")),n.createElement(z_,{value:"api"},(0,Je.__)("Set up API Project","ga_trans"))),"google"===s&&n.createElement(qh,null,n.createElement($h,{spacing:8,isFluid:!0},n.createElement(Eh,null,(0,Je.__)("Easily connect with Google by clicking the “Connect with Google” button and pasting the access code below.","ga_trans")),n.createElement($h,{_style:{maxWidth:"230px"}},n.createElement(SC,null)))),"api"===s&&n.createElement(qh,null,n.createElement($h,{spacing:24,isFluid:!0},n.createElement(Eh,null,(0,$d.createInterpolateElement)((0,Je.__)("If you're a site admin and experienced with Google's tools, you might want to set up an API Project instead. Need help setting this up? Check the docs <link>here</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#set-up-api-project",isExternal:!0})})),n.createElement($h,{spacing:24,direction:"row",alignItems:"flex-start",isFluid:!0},n.createElement($h,{_style:{flex:"1"}},n.createElement(jC,{label:(0,Je.__)("Google Client ID","ga_trans"),error:x.error},n.createElement(eh,Z_({placeholder:(0,Je.__)("Paste Google Client ID here","ga_trans"),isRequired:!0,defaultValue:u,isError:x.isError,onChange:function(e){return d(e.target.value)}},S)))),n.createElement($h,{_style:{flex:"1"}},n.createElement(jC,{label:(0,Je.__)("Google Client Secret","ga_trans"),error:k.error},n.createElement(eh,Z_({placeholder:(0,Je.__)("Paste Google Client Secret here","ga_trans"),isRequired:!0,defaultValue:f,isError:k.isError,onChange:function(e){return p(e.target.value)}},M)))),n.createElement($h,{_style:{marginTop:"28px"}},n.createElement(Zc,{type:"primary",colorScheme:"blue",onClick:function(){x.isError||k.isError||u&&f&&g.mutate({})},isLoading:v,isDisabled:v||!u||!f},(0,Je.__)("Authorize","ga_trans"))))),n.createElement(j_,{noBorderRadius:!0,noSideBorders:!0,_style:{margin:"24px -24px -24px"}},n.createElement(T_,{title:(0,Je.__)("URI Redirects","ga_trans"),icon:n.createElement(il,null)},n.createElement(P_,null,n.createElement($h,{spacing:16},n.createElement(Eh,null,(0,Je.__)("Copy the below URIs and enter them into the “Authorized redirect URIs” list when you create the API project in the Google Developers Console.","ga_trans")),n.createElement($h,{spacing:24,direction:"row",alignItems:"flex-end",isFluid:!0},n.createElement($h,{_style:{flex:"1"}},n.createElement(jC,{label:(0,Je.__)("URI redirects","ga_trans")},n.createElement(eh,{className:"beehive-redirect-uri",defaultValue:i,customAction:n.createElement(sp,{value:i})}))),n.createElement($h,{_style:{flex:"1"}},n.createElement(jC,null,n.createElement(eh,{className:"beehive-redirect-uri",defaultValue:a,customAction:n.createElement(sp,{value:a})})))))))))),id&&n.createElement(I_,{hideAvatar:!C,placeholder:(0,Je.__)("No account information","ga_trans"),className:"beehive-google-account-recipient",userImage:{src:_,alt:C},userName:(0,Je.__)(C),userEmail:(0,Je.__)(y),status:"confirmed",actions:n.createElement(Zc,{type:"secondary",icon:"Exit",colorScheme:"black",isSmall:!0,onClick:function(){var e;null===(e=O.current)||void 0===e||e.openModal()}},(0,Je.__)("Logout","ga_trans"))})))},Q_={connected:{message:(0,Je.__)("Your Google account is connected. You can now view analytics in your WordPress Dashboard.","ga_trans"),icon:"CheckAlt",variation:"success"},networkConfigured:{message:(0,Je.__)("Note: Your account is already configured at the network level. Optionally, you can set up a different account by adding it below.","ga_trans"),icon:"InfoAlt",variation:"info"}},K_=function(){var e=ju.network_logged_in,t=xu.hide_doc_link;return function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(E_({})),n.createElement(n.Fragment,null,n.createElement(EC,null),n.createElement(Mh,{className:"beehive-accounts-header"},n.createElement($h,{direction:"row",alignItems:"center",spacing:8},n.createElement(__,{title:(0,Je.__)("Accounts","ga_trans")}),n.createElement(w_,{className:"beehive-popover-info",icon:"InfoAlt",popupWidth:210,trigger:n.createElement("span",{className:"beehive-accounts-info-icon"},n.createElement(Ao,{as:"div",colorScheme:"neutral"})),placement:"top",displayOnHover:!0},t?(0,Je.__)("Connect Google account and Services to your website.","ga_trans"):(0,$d.createInterpolateElement)((0,Je.__)("Connect Google account and Services to your website. <link>Learn more</link>","ga_trans"),{link:n.createElement("a",{href:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#accounts",target:"_blank",rel:"noreferrer"})})))),n.createElement(Mh,{className:"beehive-accounts-container"},n.createElement(C_,{title:(0,Je.__)("Google Accounts","ga_trans"),hasLargeRadius:!0},n.createElement(x_,{title:(0,Je.__)("Account","ga_trans"),description:(0,Je.__)("Authenticate with Google to easily connect Google Services to your website and display statistics in your WordPress Dashboard.","ga_trans")},n.createElement(n.Fragment,null,id&&n.createElement(Jc,{message:Q_.connected.message,icon:Q_.connected.icon,variation:Q_.connected.variation,isFluid:!0}),ud&&e&&!id&&n.createElement(Jc,{message:Q_.networkConfigured.message,icon:Q_.networkConfigured.icon,variation:Q_.networkConfigured.variation,isFluid:!0})),n.createElement(Y_,null)))))};function X_(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return J_(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)?J_(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 J_(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var ew=(0,n.createContext)(void 0),tw=function(e){var t=e.children,r=null!=vu?vu:{},i=r.start_date,a=r.end_date,o=X_((0,n.useState)(i),2),s=o[0],l=o[1],c=X_((0,n.useState)(a),2),u=c[0],d=c[1],h=function(){var e,t,r=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},i=r.from,a=r.to,o="stats/summary",s=md({slug:o,baseURL:"v1"},{from:i,to:a,network:Xu?1:0}),l=s.data,c=s.isLoading,u=s.isRefetching,d=s.refetch,h=(null===(e=null==l?void 0:l.data)||void 0===e?void 0:e.stats)||{},f=(null===(t=null==l?void 0:l.data)||void 0===t?void 0:t.last_updated)||"",p=(null==h?void 0:h.summary)||{},m=(null==h?void 0:h.medium)||{},g=(null==h?void 0:h.search_engine)||{},v=(null==h?void 0:h.page)||{},b=(null==h?void 0:h.country)||{},y=(0,n.useCallback)(function(){var e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:Object.keys(XC);return _?Object.entries(XC).filter(function(t){var n=QC(t,1)[0];return e.includes(n)}).reduce(function(e,t){return e[QC(t,1)[0]]={},e},{}):Object.entries(p).filter(function(t){var n=QC(t,1)[0];return e.includes(n)}).reduce(function(e,t){var n=QC(t,2),r=n[0],i=n[1];if(e[r]=i,"object"===YC(i)&&null!==i&&("trend"in i&&"number"==typeof i.trend&&(i.trend>0?e[r].direction="up":i.trend<0?e[r].direction="down":e[r].direction="up"),"trend"in i)){var a=i.trend;e[r].trend="number"==typeof a?"".concat(Math.abs(a),"%"):a}return e},{})},[p]),C=(0,n.useCallback)(function(){return{source:m,searchEngines:g,page:v,country:b}},[p]),_=u||c,w=Object.keys(p).length>0&&!_,x=Object.keys(h).length>0&&!_;return{slug:o,getSummary:C,getStatistics:y,isLoading:_,refetch:d,hasSummary:w,hasStats:x,lastUpdated:f}}({from:s,to:u}),f=h.getSummary,p=h.getStatistics,m=h.isLoading,g=h.refetch,v=h.hasSummary,b=h.lastUpdated,y=h.hasStats,C=m,_=f(),w=p(),x=(0,n.useCallback)(function(e,t){l(e),d(t),g()},[g]);return n.createElement(ew.Provider,{value:{startDate:s,endDate:u,setStartDate:l,setEndDate:d,summary:_,statistics:w,getSummary:f,getStatistics:p,isLoading:C,areSummaryLoading:m,refetch:g,updateDateRange:x,hasSummary:v,hasStats:y,lastUpdated:b}},t)},nw=function(){var e=(0,n.useContext)(ew);if(!e)throw new Error("useDashboard must be used within a DashboardProvider");return e};function rw(e){return rw="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},rw(e)}function iw(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function aw(e){iw(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||"object"===rw(e)&&"[object Date]"===t?new Date(e.getTime()):"number"==typeof e||"[object Number]"===t?new Date(e):("string"!=typeof e&&"[object String]"!==t||"undefined"==typeof console||(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn((new Error).stack)),new Date(NaN))}function ow(e){if(null===e||!0===e||!1===e)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}var sw={};function lw(){return sw}function cw(e,t){var n,r,i,a,o,s,l,c;iw(1,arguments);var u=lw(),d=ow(null!==(n=null!==(r=null!==(i=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(o=t.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:u.weekStartsOn)&&void 0!==r?r:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=aw(e),f=h.getDay(),p=(f<d?7:0)+f-d;return h.setDate(h.getDate()-p),h.setHours(0,0,0,0),h}function uw(e){iw(1,arguments);var t=aw(e);return t.setDate(1),t.setHours(0,0,0,0),t}function dw(e,t){var n,r,i,a,o,s,l,c;iw(1,arguments);var u=lw(),d=ow(null!==(n=null!==(r=null!==(i=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(o=t.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:u.weekStartsOn)&&void 0!==r?r:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=aw(e),f=h.getDay(),p=6+(f<d?-7:0)-(f-d);return h.setDate(h.getDate()+p),h.setHours(23,59,59,999),h}function hw(e){iw(1,arguments);var t=aw(e),n=t.getMonth();return t.setFullYear(t.getFullYear(),n+1,0),t.setHours(23,59,59,999),t}function fw(e,t){iw(2,arguments);var n=aw(e),r=aw(t);return n.getTime()<r.getTime()}function pw(e,t){iw(2,arguments);var n=aw(e),r=ow(t);return isNaN(r)?new Date(NaN):r?(n.setDate(n.getDate()+r),n):n}function mw(e){iw(1,arguments);var t=aw(e);return t.setHours(0,0,0,0),t}function gw(e,t){iw(2,arguments);var n=mw(e),r=mw(t);return n.getTime()===r.getTime()}function vw(e,t){iw(2,arguments);var n=aw(e).getTime(),r=aw(t.start).getTime(),i=aw(t.end).getTime();if(!(r<=i))throw new RangeError("Invalid interval");return n>=r&&n<=i}function bw(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function yw(e,t){var n="undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(!n){if(Array.isArray(e)||(n=function(e,t){if(e){if("string"==typeof e)return bw(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)?bw(e,t):void 0}}(e))||t&&e&&"number"==typeof e.length){n&&(e=n);var r=0,i=function(){};return{s:i,n:function(){return r>=e.length?{done:!0}:{done:!1,value:e[r++]}},e:function(e){throw e},f:i}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var a,o=!0,s=!1;return{s:function(){n=n.call(e)},n:function(){var e=n.next();return o=e.done,e},e:function(e){s=!0,a=e},f:function(){try{o||null==n.return||n.return()}finally{if(s)throw a}}}}var Cw={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}};function _w(e){return function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},n=t.width?String(t.width):e.defaultWidth;return e.formats[n]||e.formats[e.defaultWidth]}}var ww={date:_w({formats:{full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},defaultWidth:"full"}),time:_w({formats:{full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},defaultWidth:"full"}),dateTime:_w({formats:{full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},defaultWidth:"full"})},xw={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"};function Sw(e){return function(t,n){var r;if("formatting"===(null!=n&&n.context?String(n.context):"standalone")&&e.formattingValues){var i=e.defaultFormattingWidth||e.defaultWidth,a=null!=n&&n.width?String(n.width):i;r=e.formattingValues[a]||e.formattingValues[i]}else{var o=e.defaultWidth,s=null!=n&&n.width?String(n.width):e.defaultWidth;r=e.values[s]||e.values[o]}return r[e.argumentCallback?e.argumentCallback(t):t]}}var Ew={ordinalNumber:function(e,t){var n=Number(e),r=n%100;if(r>20||r<10)switch(r%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},era:Sw({values:{narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},defaultWidth:"wide"}),quarter:Sw({values:{narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},defaultWidth:"wide",argumentCallback:function(e){return e-1}}),month:Sw({values:{narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},defaultWidth:"wide"}),day:Sw({values:{narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},defaultWidth:"wide"}),dayPeriod:Sw({values:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},defaultWidth:"wide",formattingValues:{narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},defaultFormattingWidth:"wide"})};function kw(e){return function(t){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},r=n.width,i=r&&e.matchPatterns[r]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o,s=a[0],l=r&&e.parsePatterns[r]||e.parsePatterns[e.defaultParseWidth],c=Array.isArray(l)?function(e,t){for(var n=0;n<e.length;n++)if(t(e[n]))return n}(l,function(e){return e.test(s)}):function(e,t){for(var n in e)if(e.hasOwnProperty(n)&&t(e[n]))return n}(l,function(e){return e.test(s)});return o=e.valueCallback?e.valueCallback(c):c,{value:o=n.valueCallback?n.valueCallback(o):o,rest:t.slice(s.length)}}}var Mw,Ow={ordinalNumber:(Mw={matchPattern:/^(\d+)(th|st|nd|rd)?/i,parsePattern:/\d+/i,valueCallback:function(e){return parseInt(e,10)}},function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=e.match(Mw.matchPattern);if(!n)return null;var r=n[0],i=e.match(Mw.parsePattern);if(!i)return null;var a=Mw.valueCallback?Mw.valueCallback(i[0]):i[0];return{value:a=t.valueCallback?t.valueCallback(a):a,rest:e.slice(r.length)}}),era:kw({matchPatterns:{narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},defaultMatchWidth:"wide",parsePatterns:{any:[/^b/i,/^(a|c)/i]},defaultParseWidth:"any"}),quarter:kw({matchPatterns:{narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},defaultMatchWidth:"wide",parsePatterns:{any:[/1/i,/2/i,/3/i,/4/i]},defaultParseWidth:"any",valueCallback:function(e){return e+1}}),month:kw({matchPatterns:{narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},defaultParseWidth:"any"}),day:kw({matchPatterns:{narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},defaultMatchWidth:"wide",parsePatterns:{narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},defaultParseWidth:"any"}),dayPeriod:kw({matchPatterns:{narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},defaultMatchWidth:"any",parsePatterns:{any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},defaultParseWidth:"any"})},jw={code:"en-US",formatDistance:function(e,t,n){var r,i=Cw[e];return r="string"==typeof i?i:1===t?i.one:i.other.replace("{{count}}",t.toString()),null!=n&&n.addSuffix?n.comparison&&n.comparison>0?"in "+r:r+" ago":r},formatLong:ww,formatRelative:function(e,t,n,r){return xw[e]},localize:Ew,match:Ow,options:{weekStartsOn:0,firstWeekContainsDate:1}};function Tw(e,t){return iw(2,arguments),function(e,t){iw(2,arguments);var n=aw(e).getTime(),r=ow(t);return new Date(n+r)}(e,-ow(t))}function Pw(e,t){if(null==e)throw new TypeError("assign requires that input parameter not be null or undefined");for(var n in t)Object.prototype.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e}var Dw=function(e,t){switch(e){case"P":return t.date({width:"short"});case"PP":return t.date({width:"medium"});case"PPP":return t.date({width:"long"});default:return t.date({width:"full"})}},Aw=function(e,t){switch(e){case"p":return t.time({width:"short"});case"pp":return t.time({width:"medium"});case"ppp":return t.time({width:"long"});default:return t.time({width:"full"})}},Lw={p:Aw,P:function(e,t){var n,r=e.match(/(P+)(p+)?/)||[],i=r[1],a=r[2];if(!a)return Dw(e,t);switch(i){case"P":n=t.dateTime({width:"short"});break;case"PP":n=t.dateTime({width:"medium"});break;case"PPP":n=t.dateTime({width:"long"});break;default:n=t.dateTime({width:"full"})}return n.replace("{{date}}",Dw(i,t)).replace("{{time}}",Aw(a,t))}};function Iw(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}var Nw=["D","DD"],Rw=["YY","YYYY"];function zw(e){return-1!==Nw.indexOf(e)}function Fw(e){return-1!==Rw.indexOf(e)}function Hw(e,t,n){if("YYYY"===e)throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("YY"===e)throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("D"===e)throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if("DD"===e)throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(n,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}function $w(e){if(void 0===e)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Vw(e,t){return Vw=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(e,t){return e.__proto__=t,e},Vw(e,t)}function Uw(e,t){if("function"!=typeof t&&null!==t)throw new TypeError("Super expression must either be null or a function");e.prototype=Object.create(t&&t.prototype,{constructor:{value:e,writable:!0,configurable:!0}}),Object.defineProperty(e,"prototype",{writable:!1}),t&&Vw(e,t)}function Bw(e){return Bw=Object.setPrototypeOf?Object.getPrototypeOf.bind():function(e){return e.__proto__||Object.getPrototypeOf(e)},Bw(e)}function Ww(){try{var e=!Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],function(){}))}catch(e){}return(Ww=function(){return!!e})()}function Zw(e){var t=Ww();return function(){var n,r=Bw(e);if(t){var i=Bw(this).constructor;n=Reflect.construct(r,arguments,i)}else n=r.apply(this,arguments);return function(e,t){if(t&&("object"==rw(t)||"function"==typeof t))return t;if(void 0!==t)throw new TypeError("Derived constructors may only return object or undefined");return $w(e)}(this,n)}}function qw(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function Gw(e){var t=function(e){if("object"!=rw(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=rw(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==rw(t)?t:t+""}function Yw(e,t){for(var n=0;n<t.length;n++){var r=t[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(e,Gw(r.key),r)}}function Qw(e,t,n){return t&&Yw(e.prototype,t),n&&Yw(e,n),Object.defineProperty(e,"prototype",{writable:!1}),e}function Kw(e,t,n){return(t=Gw(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var Xw=function(){function e(){qw(this,e),Kw(this,"priority",void 0),Kw(this,"subPriority",0)}return Qw(e,[{key:"validate",value:function(e,t){return!0}}]),e}(),Jw=function(e){Uw(n,e);var t=Zw(n);function n(e,r,i,a,o){var s;return qw(this,n),(s=t.call(this)).value=e,s.validateValue=r,s.setValue=i,s.priority=a,o&&(s.subPriority=o),s}return Qw(n,[{key:"validate",value:function(e,t){return this.validateValue(e,this.value,t)}},{key:"set",value:function(e,t,n){return this.setValue(e,t,this.value,n)}}]),n}(Xw),ex=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",10),Kw($w(e),"subPriority",-1),e}return Qw(n,[{key:"set",value:function(e,t){if(t.timestampIsSet)return e;var n=new Date(0);return n.setFullYear(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate()),n.setHours(e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds(),e.getUTCMilliseconds()),n}}]),n}(Xw),tx=function(){function e(){qw(this,e),Kw(this,"incompatibleTokens",void 0),Kw(this,"priority",void 0),Kw(this,"subPriority",void 0)}return Qw(e,[{key:"run",value:function(e,t,n,r){var i=this.parse(e,t,n,r);return i?{setter:new Jw(i.value,this.validate,this.set,this.priority,this.subPriority),rest:i.rest}:null}},{key:"validate",value:function(e,t,n){return!0}}]),e}(),nx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",140),Kw($w(e),"incompatibleTokens",["R","u","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"G":case"GG":case"GGG":return n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"});case"GGGGG":return n.era(e,{width:"narrow"});default:return n.era(e,{width:"wide"})||n.era(e,{width:"abbreviated"})||n.era(e,{width:"narrow"})}}},{key:"set",value:function(e,t,n){return t.era=n,e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(tx),rx=(Math.pow(10,8),/^(1[0-2]|0?\d)/),ix=/^(3[0-1]|[0-2]?\d)/,ax=/^(36[0-6]|3[0-5]\d|[0-2]?\d?\d)/,ox=/^(5[0-3]|[0-4]?\d)/,sx=/^(2[0-3]|[0-1]?\d)/,lx=/^(2[0-4]|[0-1]?\d)/,cx=/^(1[0-1]|0?\d)/,ux=/^(1[0-2]|0?\d)/,dx=/^[0-5]?\d/,hx=/^[0-5]?\d/,fx=/^\d/,px=/^\d{1,2}/,mx=/^\d{1,3}/,gx=/^\d{1,4}/,vx=/^-?\d+/,bx=/^-?\d/,yx=/^-?\d{1,2}/,Cx=/^-?\d{1,3}/,_x=/^-?\d{1,4}/,wx=/^([+-])(\d{2})(\d{2})?|Z/,xx=/^([+-])(\d{2})(\d{2})|Z/,Sx=/^([+-])(\d{2})(\d{2})((\d{2}))?|Z/,Ex=/^([+-])(\d{2}):(\d{2})|Z/,kx=/^([+-])(\d{2}):(\d{2})(:(\d{2}))?|Z/;function Mx(e,t){return e?{value:t(e.value),rest:e.rest}:e}function Ox(e,t){var n=t.match(e);return n?{value:parseInt(n[0],10),rest:t.slice(n[0].length)}:null}function jx(e,t){var n=t.match(e);return n?"Z"===n[0]?{value:0,rest:t.slice(1)}:{value:("+"===n[1]?1:-1)*(36e5*(n[2]?parseInt(n[2],10):0)+6e4*(n[3]?parseInt(n[3],10):0)+1e3*(n[5]?parseInt(n[5],10):0)),rest:t.slice(n[0].length)}:null}function Tx(e){return Ox(vx,e)}function Px(e,t){switch(e){case 1:return Ox(fx,t);case 2:return Ox(px,t);case 3:return Ox(mx,t);case 4:return Ox(gx,t);default:return Ox(new RegExp("^\\d{1,"+e+"}"),t)}}function Dx(e,t){switch(e){case 1:return Ox(bx,t);case 2:return Ox(yx,t);case 3:return Ox(Cx,t);case 4:return Ox(_x,t);default:return Ox(new RegExp("^-?\\d{1,"+e+"}"),t)}}function Ax(e){switch(e){case"morning":return 4;case"evening":return 17;case"pm":case"noon":case"afternoon":return 12;default:return 0}}function Lx(e,t){var n,r=t>0,i=r?t:1-t;if(i<=50)n=e||100;else{var a=i+50;n=e+100*Math.floor(a/100)-(e>=a%100?100:0)}return r?n:1-n}function Ix(e){return e%400==0||e%4==0&&e%100!=0}var Nx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",130),Kw($w(e),"incompatibleTokens",["Y","R","u","w","I","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"yy"===t}};switch(t){case"y":return Mx(Px(4,e),r);case"yo":return Mx(n.ordinalNumber(e,{unit:"year"}),r);default:return Mx(Px(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n){var r=e.getUTCFullYear();if(n.isTwoDigitYear){var i=Lx(n.year,r);return e.setUTCFullYear(i,0,1),e.setUTCHours(0,0,0,0),e}var a="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(a,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(tx);function Rx(e,t){var n,r,i,a,o,s,l,c;iw(1,arguments);var u=lw(),d=ow(null!==(n=null!==(r=null!==(i=null!==(a=null==t?void 0:t.weekStartsOn)&&void 0!==a?a:null==t||null===(o=t.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.weekStartsOn)&&void 0!==i?i:u.weekStartsOn)&&void 0!==r?r:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.weekStartsOn)&&void 0!==n?n:0);if(!(d>=0&&d<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var h=aw(e),f=h.getUTCDay(),p=(f<d?7:0)+f-d;return h.setUTCDate(h.getUTCDate()-p),h.setUTCHours(0,0,0,0),h}function zx(e,t){var n,r,i,a,o,s,l,c;iw(1,arguments);var u=aw(e),d=u.getUTCFullYear(),h=lw(),f=ow(null!==(n=null!==(r=null!==(i=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(o=t.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==i?i:h.firstWeekContainsDate)&&void 0!==r?r:null===(l=h.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1);if(!(f>=1&&f<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var p=new Date(0);p.setUTCFullYear(d+1,0,f),p.setUTCHours(0,0,0,0);var m=Rx(p,t),g=new Date(0);g.setUTCFullYear(d,0,f),g.setUTCHours(0,0,0,0);var v=Rx(g,t);return u.getTime()>=m.getTime()?d+1:u.getTime()>=v.getTime()?d:d-1}var Fx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",130),Kw($w(e),"incompatibleTokens",["y","R","u","Q","q","M","L","I","d","D","i","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){var r=function(e){return{year:e,isTwoDigitYear:"YY"===t}};switch(t){case"Y":return Mx(Px(4,e),r);case"Yo":return Mx(n.ordinalNumber(e,{unit:"year"}),r);default:return Mx(Px(t.length,e),r)}}},{key:"validate",value:function(e,t){return t.isTwoDigitYear||t.year>0}},{key:"set",value:function(e,t,n,r){var i=zx(e,r);if(n.isTwoDigitYear){var a=Lx(n.year,i);return e.setUTCFullYear(a,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Rx(e,r)}var o="era"in t&&1!==t.era?1-n.year:n.year;return e.setUTCFullYear(o,0,r.firstWeekContainsDate),e.setUTCHours(0,0,0,0),Rx(e,r)}}]),n}(tx);function Hx(e){iw(1,arguments);var t=aw(e),n=t.getUTCDay(),r=(n<1?7:0)+n-1;return t.setUTCDate(t.getUTCDate()-r),t.setUTCHours(0,0,0,0),t}var $x=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",130),Kw($w(e),"incompatibleTokens",["G","y","Y","u","Q","q","M","L","w","d","D","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t){return Dx("R"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){var r=new Date(0);return r.setUTCFullYear(n,0,4),r.setUTCHours(0,0,0,0),Hx(r)}}]),n}(tx),Vx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",130),Kw($w(e),"incompatibleTokens",["G","y","Y","R","w","I","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t){return Dx("u"===t?4:t.length,e)}},{key:"set",value:function(e,t,n){return e.setUTCFullYear(n,0,1),e.setUTCHours(0,0,0,0),e}}]),n}(tx),Ux=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",120),Kw($w(e),"incompatibleTokens",["Y","R","q","M","L","w","I","d","D","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"Q":case"QQ":return Px(t.length,e);case"Qo":return n.ordinalNumber(e,{unit:"quarter"});case"QQQ":return n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"});case"QQQQQ":return n.quarter(e,{width:"narrow",context:"formatting"});default:return n.quarter(e,{width:"wide",context:"formatting"})||n.quarter(e,{width:"abbreviated",context:"formatting"})||n.quarter(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(tx),Bx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",120),Kw($w(e),"incompatibleTokens",["Y","R","Q","M","L","w","I","d","D","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"q":case"qq":return Px(t.length,e);case"qo":return n.ordinalNumber(e,{unit:"quarter"});case"qqq":return n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"});case"qqqqq":return n.quarter(e,{width:"narrow",context:"standalone"});default:return n.quarter(e,{width:"wide",context:"standalone"})||n.quarter(e,{width:"abbreviated",context:"standalone"})||n.quarter(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=1&&t<=4}},{key:"set",value:function(e,t,n){return e.setUTCMonth(3*(n-1),1),e.setUTCHours(0,0,0,0),e}}]),n}(tx),Wx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"incompatibleTokens",["Y","R","q","Q","L","w","I","D","i","e","c","t","T"]),Kw($w(e),"priority",110),e}return Qw(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"M":return Mx(Ox(rx,e),r);case"MM":return Mx(Px(2,e),r);case"Mo":return Mx(n.ordinalNumber(e,{unit:"month"}),r);case"MMM":return n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"});case"MMMMM":return n.month(e,{width:"narrow",context:"formatting"});default:return n.month(e,{width:"wide",context:"formatting"})||n.month(e,{width:"abbreviated",context:"formatting"})||n.month(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(tx),Zx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",110),Kw($w(e),"incompatibleTokens",["Y","R","q","Q","M","w","I","D","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){var r=function(e){return e-1};switch(t){case"L":return Mx(Ox(rx,e),r);case"LL":return Mx(Px(2,e),r);case"Lo":return Mx(n.ordinalNumber(e,{unit:"month"}),r);case"LLL":return n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"});case"LLLLL":return n.month(e,{width:"narrow",context:"standalone"});default:return n.month(e,{width:"wide",context:"standalone"})||n.month(e,{width:"abbreviated",context:"standalone"})||n.month(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.setUTCMonth(n,1),e.setUTCHours(0,0,0,0),e}}]),n}(tx);function qx(e,t){iw(1,arguments);var n=aw(e),r=Rx(n,t).getTime()-function(e,t){var n,r,i,a,o,s,l,c;iw(1,arguments);var u=lw(),d=ow(null!==(n=null!==(r=null!==(i=null!==(a=null==t?void 0:t.firstWeekContainsDate)&&void 0!==a?a:null==t||null===(o=t.locale)||void 0===o||null===(s=o.options)||void 0===s?void 0:s.firstWeekContainsDate)&&void 0!==i?i:u.firstWeekContainsDate)&&void 0!==r?r:null===(l=u.locale)||void 0===l||null===(c=l.options)||void 0===c?void 0:c.firstWeekContainsDate)&&void 0!==n?n:1),h=zx(e,t),f=new Date(0);return f.setUTCFullYear(h,0,d),f.setUTCHours(0,0,0,0),Rx(f,t)}(n,t).getTime();return Math.round(r/6048e5)+1}var Gx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",100),Kw($w(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","i","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"w":return Ox(ox,e);case"wo":return n.ordinalNumber(e,{unit:"week"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n,r){return Rx(function(e,t,n){iw(2,arguments);var r=aw(e),i=ow(t),a=qx(r,n)-i;return r.setUTCDate(r.getUTCDate()-7*a),r}(e,n,r),r)}}]),n}(tx);function Yx(e){iw(1,arguments);var t=aw(e),n=t.getUTCFullYear(),r=new Date(0);r.setUTCFullYear(n+1,0,4),r.setUTCHours(0,0,0,0);var i=Hx(r),a=new Date(0);a.setUTCFullYear(n,0,4),a.setUTCHours(0,0,0,0);var o=Hx(a);return t.getTime()>=i.getTime()?n+1:t.getTime()>=o.getTime()?n:n-1}function Qx(e){iw(1,arguments);var t=aw(e),n=Hx(t).getTime()-function(e){iw(1,arguments);var t=Yx(e),n=new Date(0);return n.setUTCFullYear(t,0,4),n.setUTCHours(0,0,0,0),Hx(n)}(t).getTime();return Math.round(n/6048e5)+1}var Kx=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",100),Kw($w(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"I":return Ox(ox,e);case"Io":return n.ordinalNumber(e,{unit:"week"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=53}},{key:"set",value:function(e,t,n){return Hx(function(e,t){iw(2,arguments);var n=aw(e),r=ow(t),i=Qx(n)-r;return n.setUTCDate(n.getUTCDate()-7*i),n}(e,n))}}]),n}(tx),Xx=[31,28,31,30,31,30,31,31,30,31,30,31],Jx=[31,29,31,30,31,30,31,31,30,31,30,31],eS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",90),Kw($w(e),"subPriority",1),Kw($w(e),"incompatibleTokens",["Y","R","q","Q","w","I","D","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"d":return Ox(ix,e);case"do":return n.ordinalNumber(e,{unit:"date"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){var n=Ix(e.getUTCFullYear()),r=e.getUTCMonth();return n?t>=1&&t<=Jx[r]:t>=1&&t<=Xx[r]}},{key:"set",value:function(e,t,n){return e.setUTCDate(n),e.setUTCHours(0,0,0,0),e}}]),n}(tx),tS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",90),Kw($w(e),"subpriority",1),Kw($w(e),"incompatibleTokens",["Y","R","q","Q","M","L","w","I","d","E","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"D":case"DD":return Ox(ax,e);case"Do":return n.ordinalNumber(e,{unit:"date"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return Ix(e.getUTCFullYear())?t>=1&&t<=366:t>=1&&t<=365}},{key:"set",value:function(e,t,n){return e.setUTCMonth(0,n),e.setUTCHours(0,0,0,0),e}}]),n}(tx);function nS(e,t,n){var r,i,a,o,s,l,c,u;iw(2,arguments);var d=lw(),h=ow(null!==(r=null!==(i=null!==(a=null!==(o=null==n?void 0:n.weekStartsOn)&&void 0!==o?o:null==n||null===(s=n.locale)||void 0===s||null===(l=s.options)||void 0===l?void 0:l.weekStartsOn)&&void 0!==a?a:d.weekStartsOn)&&void 0!==i?i:null===(c=d.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.weekStartsOn)&&void 0!==r?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var f=aw(e),p=ow(t),m=((p%7+7)%7<h?7:0)+p-f.getUTCDay();return f.setUTCDate(f.getUTCDate()+m),f}var rS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",90),Kw($w(e),"incompatibleTokens",["D","i","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"E":case"EE":case"EEE":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"EEEEE":return n.day(e,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=nS(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(tx),iS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",90),Kw($w(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"e":case"ee":return Mx(Px(t.length,e),i);case"eo":return Mx(n.ordinalNumber(e,{unit:"day"}),i);case"eee":return n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});case"eeeee":return n.day(e,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"});default:return n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=nS(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(tx),aS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",90),Kw($w(e),"incompatibleTokens",["y","R","u","q","Q","M","L","I","d","D","E","i","e","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n,r){var i=function(e){var t=7*Math.floor((e-1)/7);return(e+r.weekStartsOn+6)%7+t};switch(t){case"c":case"cc":return Mx(Px(t.length,e),i);case"co":return Mx(n.ordinalNumber(e,{unit:"day"}),i);case"ccc":return n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});case"ccccc":return n.day(e,{width:"narrow",context:"standalone"});case"cccccc":return n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"});default:return n.day(e,{width:"wide",context:"standalone"})||n.day(e,{width:"abbreviated",context:"standalone"})||n.day(e,{width:"short",context:"standalone"})||n.day(e,{width:"narrow",context:"standalone"})}}},{key:"validate",value:function(e,t){return t>=0&&t<=6}},{key:"set",value:function(e,t,n,r){return(e=nS(e,n,r)).setUTCHours(0,0,0,0),e}}]),n}(tx),oS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",90),Kw($w(e),"incompatibleTokens",["y","Y","u","q","Q","M","L","w","d","D","E","e","c","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){var r=function(e){return 0===e?7:e};switch(t){case"i":case"ii":return Px(t.length,e);case"io":return n.ordinalNumber(e,{unit:"day"});case"iii":return Mx(n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiii":return Mx(n.day(e,{width:"narrow",context:"formatting"}),r);case"iiiiii":return Mx(n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r);default:return Mx(n.day(e,{width:"wide",context:"formatting"})||n.day(e,{width:"abbreviated",context:"formatting"})||n.day(e,{width:"short",context:"formatting"})||n.day(e,{width:"narrow",context:"formatting"}),r)}}},{key:"validate",value:function(e,t){return t>=1&&t<=7}},{key:"set",value:function(e,t,n){return e=function(e,t){iw(2,arguments);var n=ow(t);n%7==0&&(n-=7);var r=aw(e),i=((n%7+7)%7<1?7:0)+n-r.getUTCDay();return r.setUTCDate(r.getUTCDate()+i),r}(e,n),e.setUTCHours(0,0,0,0),e}}]),n}(tx),sS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",80),Kw($w(e),"incompatibleTokens",["b","B","H","k","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"a":case"aa":case"aaa":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"aaaaa":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(Ax(n),0,0,0),e}}]),n}(tx),lS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",80),Kw($w(e),"incompatibleTokens",["a","B","H","k","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"b":case"bb":case"bbb":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"bbbbb":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(Ax(n),0,0,0),e}}]),n}(tx),cS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",80),Kw($w(e),"incompatibleTokens",["a","b","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"B":case"BB":case"BBB":return n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"});case"BBBBB":return n.dayPeriod(e,{width:"narrow",context:"formatting"});default:return n.dayPeriod(e,{width:"wide",context:"formatting"})||n.dayPeriod(e,{width:"abbreviated",context:"formatting"})||n.dayPeriod(e,{width:"narrow",context:"formatting"})}}},{key:"set",value:function(e,t,n){return e.setUTCHours(Ax(n),0,0,0),e}}]),n}(tx),uS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",70),Kw($w(e),"incompatibleTokens",["H","K","k","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"h":return Ox(ux,e);case"ho":return n.ordinalNumber(e,{unit:"hour"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=12}},{key:"set",value:function(e,t,n){var r=e.getUTCHours()>=12;return r&&n<12?e.setUTCHours(n+12,0,0,0):r||12!==n?e.setUTCHours(n,0,0,0):e.setUTCHours(0,0,0,0),e}}]),n}(tx),dS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",70),Kw($w(e),"incompatibleTokens",["a","b","h","K","k","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"H":return Ox(sx,e);case"Ho":return n.ordinalNumber(e,{unit:"hour"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=23}},{key:"set",value:function(e,t,n){return e.setUTCHours(n,0,0,0),e}}]),n}(tx),hS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",70),Kw($w(e),"incompatibleTokens",["h","H","k","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"K":return Ox(cx,e);case"Ko":return n.ordinalNumber(e,{unit:"hour"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=11}},{key:"set",value:function(e,t,n){return e.getUTCHours()>=12&&n<12?e.setUTCHours(n+12,0,0,0):e.setUTCHours(n,0,0,0),e}}]),n}(tx),fS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",70),Kw($w(e),"incompatibleTokens",["a","b","h","H","K","t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"k":return Ox(lx,e);case"ko":return n.ordinalNumber(e,{unit:"hour"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=1&&t<=24}},{key:"set",value:function(e,t,n){var r=n<=24?n%24:n;return e.setUTCHours(r,0,0,0),e}}]),n}(tx),pS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",60),Kw($w(e),"incompatibleTokens",["t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"m":return Ox(dx,e);case"mo":return n.ordinalNumber(e,{unit:"minute"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCMinutes(n,0,0),e}}]),n}(tx),mS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",50),Kw($w(e),"incompatibleTokens",["t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t,n){switch(t){case"s":return Ox(hx,e);case"so":return n.ordinalNumber(e,{unit:"second"});default:return Px(t.length,e)}}},{key:"validate",value:function(e,t){return t>=0&&t<=59}},{key:"set",value:function(e,t,n){return e.setUTCSeconds(n,0),e}}]),n}(tx),gS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",30),Kw($w(e),"incompatibleTokens",["t","T"]),e}return Qw(n,[{key:"parse",value:function(e,t){return Mx(Px(t.length,e),function(e){return Math.floor(e*Math.pow(10,3-t.length))})}},{key:"set",value:function(e,t,n){return e.setUTCMilliseconds(n),e}}]),n}(tx),vS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",10),Kw($w(e),"incompatibleTokens",["t","T","x"]),e}return Qw(n,[{key:"parse",value:function(e,t){switch(t){case"X":return jx(wx,e);case"XX":return jx(xx,e);case"XXXX":return jx(Sx,e);case"XXXXX":return jx(kx,e);default:return jx(Ex,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(tx),bS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",10),Kw($w(e),"incompatibleTokens",["t","T","X"]),e}return Qw(n,[{key:"parse",value:function(e,t){switch(t){case"x":return jx(wx,e);case"xx":return jx(xx,e);case"xxxx":return jx(Sx,e);case"xxxxx":return jx(kx,e);default:return jx(Ex,e)}}},{key:"set",value:function(e,t,n){return t.timestampIsSet?e:new Date(e.getTime()-n)}}]),n}(tx),yS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",40),Kw($w(e),"incompatibleTokens","*"),e}return Qw(n,[{key:"parse",value:function(e){return Tx(e)}},{key:"set",value:function(e,t,n){return[new Date(1e3*n),{timestampIsSet:!0}]}}]),n}(tx),CS=function(e){Uw(n,e);var t=Zw(n);function n(){var e;qw(this,n);for(var r=arguments.length,i=new Array(r),a=0;a<r;a++)i[a]=arguments[a];return Kw($w(e=t.call.apply(t,[this].concat(i))),"priority",20),Kw($w(e),"incompatibleTokens","*"),e}return Qw(n,[{key:"parse",value:function(e){return Tx(e)}},{key:"set",value:function(e,t,n){return[new Date(n),{timestampIsSet:!0}]}}]),n}(tx),_S={G:new nx,y:new Nx,Y:new Fx,R:new $x,u:new Vx,Q:new Ux,q:new Bx,M:new Wx,L:new Zx,w:new Gx,I:new Kx,d:new eS,D:new tS,E:new rS,e:new iS,c:new aS,i:new oS,a:new sS,b:new lS,B:new cS,h:new uS,H:new dS,K:new hS,k:new fS,m:new pS,s:new mS,S:new gS,X:new vS,x:new bS,t:new yS,T:new CS},wS=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,xS=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,SS=/^'([^]*?)'?$/,ES=/''/g,kS=/\S/,MS=/[a-zA-Z]/;function OS(e){if(iw(1,arguments),!function(e){return iw(1,arguments),e instanceof Date||"object"===rw(e)&&"[object Date]"===Object.prototype.toString.call(e)}(e)&&"number"!=typeof e)return!1;var t=aw(e);return!isNaN(Number(t))}function jS(e){var t,n;if(iw(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==rw(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach(function(e){var t=aw(e);(void 0===n||n<t||isNaN(Number(t)))&&(n=t)}),n||new Date(NaN)}function TS(e){var t,n;if(iw(1,arguments),e&&"function"==typeof e.forEach)t=e;else{if("object"!==rw(e)||null===e)return new Date(NaN);t=Array.prototype.slice.call(e)}return t.forEach(function(e){var t=aw(e);(void 0===n||n>t||isNaN(t.getDate()))&&(n=t)}),n||new Date(NaN)}function PS(e,t){iw(2,arguments);var n=aw(e),r=aw(t);return n.getFullYear()===r.getFullYear()&&n.getMonth()===r.getMonth()}function DS(e,t){iw(2,arguments);var n=aw(e),r=ow(t);if(isNaN(r))return new Date(NaN);if(!r)return n;var i=n.getDate(),a=new Date(n.getTime());return a.setMonth(n.getMonth()+r+1,0),i>=a.getDate()?a:(n.setFullYear(a.getFullYear(),a.getMonth(),i),n)}function AS(e,t){for(var n=e<0?"-":"",r=Math.abs(e).toString();r.length<t;)r="0"+r;return n+r}var LS={y:function(e,t){var n=e.getUTCFullYear(),r=n>0?n:1-n;return AS("yy"===t?r%100:r,t.length)},M:function(e,t){var n=e.getUTCMonth();return"M"===t?String(n+1):AS(n+1,2)},d:function(e,t){return AS(e.getUTCDate(),t.length)},a:function(e,t){var n=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];default:return"am"===n?"a.m.":"p.m."}},h:function(e,t){return AS(e.getUTCHours()%12||12,t.length)},H:function(e,t){return AS(e.getUTCHours(),t.length)},m:function(e,t){return AS(e.getUTCMinutes(),t.length)},s:function(e,t){return AS(e.getUTCSeconds(),t.length)},S:function(e,t){var n=t.length,r=e.getUTCMilliseconds();return AS(Math.floor(r*Math.pow(10,n-3)),t.length)}},IS=LS,NS={G:function(e,t,n){var r=e.getUTCFullYear()>0?1:0;switch(t){case"G":case"GG":case"GGG":return n.era(r,{width:"abbreviated"});case"GGGGG":return n.era(r,{width:"narrow"});default:return n.era(r,{width:"wide"})}},y:function(e,t,n){if("yo"===t){var r=e.getUTCFullYear(),i=r>0?r:1-r;return n.ordinalNumber(i,{unit:"year"})}return IS.y(e,t)},Y:function(e,t,n,r){var i=zx(e,r),a=i>0?i:1-i;return"YY"===t?AS(a%100,2):"Yo"===t?n.ordinalNumber(a,{unit:"year"}):AS(a,t.length)},R:function(e,t){return AS(Yx(e),t.length)},u:function(e,t){return AS(e.getUTCFullYear(),t.length)},Q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"Q":return String(r);case"QQ":return AS(r,2);case"Qo":return n.ordinalNumber(r,{unit:"quarter"});case"QQQ":return n.quarter(r,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(r,{width:"narrow",context:"formatting"});default:return n.quarter(r,{width:"wide",context:"formatting"})}},q:function(e,t,n){var r=Math.ceil((e.getUTCMonth()+1)/3);switch(t){case"q":return String(r);case"qq":return AS(r,2);case"qo":return n.ordinalNumber(r,{unit:"quarter"});case"qqq":return n.quarter(r,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(r,{width:"narrow",context:"standalone"});default:return n.quarter(r,{width:"wide",context:"standalone"})}},M:function(e,t,n){var r=e.getUTCMonth();switch(t){case"M":case"MM":return IS.M(e,t);case"Mo":return n.ordinalNumber(r+1,{unit:"month"});case"MMM":return n.month(r,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(r,{width:"narrow",context:"formatting"});default:return n.month(r,{width:"wide",context:"formatting"})}},L:function(e,t,n){var r=e.getUTCMonth();switch(t){case"L":return String(r+1);case"LL":return AS(r+1,2);case"Lo":return n.ordinalNumber(r+1,{unit:"month"});case"LLL":return n.month(r,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(r,{width:"narrow",context:"standalone"});default:return n.month(r,{width:"wide",context:"standalone"})}},w:function(e,t,n,r){var i=qx(e,r);return"wo"===t?n.ordinalNumber(i,{unit:"week"}):AS(i,t.length)},I:function(e,t,n){var r=Qx(e);return"Io"===t?n.ordinalNumber(r,{unit:"week"}):AS(r,t.length)},d:function(e,t,n){return"do"===t?n.ordinalNumber(e.getUTCDate(),{unit:"date"}):IS.d(e,t)},D:function(e,t,n){var r=function(e){iw(1,arguments);var t=aw(e),n=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var r=n-t.getTime();return Math.floor(r/864e5)+1}(e);return"Do"===t?n.ordinalNumber(r,{unit:"dayOfYear"}):AS(r,t.length)},E:function(e,t,n){var r=e.getUTCDay();switch(t){case"E":case"EE":case"EEE":return n.day(r,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(r,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},e:function(e,t,n,r){var i=e.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"e":return String(a);case"ee":return AS(a,2);case"eo":return n.ordinalNumber(a,{unit:"day"});case"eee":return n.day(i,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(i,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(i,{width:"short",context:"formatting"});default:return n.day(i,{width:"wide",context:"formatting"})}},c:function(e,t,n,r){var i=e.getUTCDay(),a=(i-r.weekStartsOn+8)%7||7;switch(t){case"c":return String(a);case"cc":return AS(a,t.length);case"co":return n.ordinalNumber(a,{unit:"day"});case"ccc":return n.day(i,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(i,{width:"narrow",context:"standalone"});case"cccccc":return n.day(i,{width:"short",context:"standalone"});default:return n.day(i,{width:"wide",context:"standalone"})}},i:function(e,t,n){var r=e.getUTCDay(),i=0===r?7:r;switch(t){case"i":return String(i);case"ii":return AS(i,t.length);case"io":return n.ordinalNumber(i,{unit:"day"});case"iii":return n.day(r,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(r,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(r,{width:"short",context:"formatting"});default:return n.day(r,{width:"wide",context:"formatting"})}},a:function(e,t,n){var r=e.getUTCHours()/12>=1?"pm":"am";switch(t){case"a":case"aa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},b:function(e,t,n){var r,i=e.getUTCHours();switch(r=12===i?"noon":0===i?"midnight":i/12>=1?"pm":"am",t){case"b":case"bb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},B:function(e,t,n){var r,i=e.getUTCHours();switch(r=i>=17?"evening":i>=12?"afternoon":i>=4?"morning":"night",t){case"B":case"BB":case"BBB":return n.dayPeriod(r,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(r,{width:"narrow",context:"formatting"});default:return n.dayPeriod(r,{width:"wide",context:"formatting"})}},h:function(e,t,n){if("ho"===t){var r=e.getUTCHours()%12;return 0===r&&(r=12),n.ordinalNumber(r,{unit:"hour"})}return IS.h(e,t)},H:function(e,t,n){return"Ho"===t?n.ordinalNumber(e.getUTCHours(),{unit:"hour"}):IS.H(e,t)},K:function(e,t,n){var r=e.getUTCHours()%12;return"Ko"===t?n.ordinalNumber(r,{unit:"hour"}):AS(r,t.length)},k:function(e,t,n){var r=e.getUTCHours();return 0===r&&(r=24),"ko"===t?n.ordinalNumber(r,{unit:"hour"}):AS(r,t.length)},m:function(e,t,n){return"mo"===t?n.ordinalNumber(e.getUTCMinutes(),{unit:"minute"}):IS.m(e,t)},s:function(e,t,n){return"so"===t?n.ordinalNumber(e.getUTCSeconds(),{unit:"second"}):IS.s(e,t)},S:function(e,t){return IS.S(e,t)},X:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();if(0===i)return"Z";switch(t){case"X":return zS(i);case"XXXX":case"XX":return FS(i);default:return FS(i,":")}},x:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"x":return zS(i);case"xxxx":case"xx":return FS(i);default:return FS(i,":")}},O:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"O":case"OO":case"OOO":return"GMT"+RS(i,":");default:return"GMT"+FS(i,":")}},z:function(e,t,n,r){var i=(r._originalDate||e).getTimezoneOffset();switch(t){case"z":case"zz":case"zzz":return"GMT"+RS(i,":");default:return"GMT"+FS(i,":")}},t:function(e,t,n,r){var i=r._originalDate||e;return AS(Math.floor(i.getTime()/1e3),t.length)},T:function(e,t,n,r){return AS((r._originalDate||e).getTime(),t.length)}};function RS(e,t){var n=e>0?"-":"+",r=Math.abs(e),i=Math.floor(r/60),a=r%60;if(0===a)return n+String(i);var o=t||"";return n+String(i)+o+AS(a,2)}function zS(e,t){return e%60==0?(e>0?"-":"+")+AS(Math.abs(e)/60,2):FS(e,t)}function FS(e,t){var n=t||"",r=e>0?"-":"+",i=Math.abs(e);return r+AS(Math.floor(i/60),2)+n+AS(i%60,2)}var HS=NS,$S=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,VS=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,US=/^'([^]*?)'?$/,BS=/''/g,WS=/[a-zA-Z]/;function ZS(e,t,n){var r,i,a,o,s,l,c,u,d,h,f,p,m,g,v,b,y,C;iw(2,arguments);var _=String(t),w=lw(),x=null!==(r=null!==(i=null==n?void 0:n.locale)&&void 0!==i?i:w.locale)&&void 0!==r?r:jw,S=ow(null!==(a=null!==(o=null!==(s=null!==(l=null==n?void 0:n.firstWeekContainsDate)&&void 0!==l?l:null==n||null===(c=n.locale)||void 0===c||null===(u=c.options)||void 0===u?void 0:u.firstWeekContainsDate)&&void 0!==s?s:w.firstWeekContainsDate)&&void 0!==o?o:null===(d=w.locale)||void 0===d||null===(h=d.options)||void 0===h?void 0:h.firstWeekContainsDate)&&void 0!==a?a:1);if(!(S>=1&&S<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var E=ow(null!==(f=null!==(p=null!==(m=null!==(g=null==n?void 0:n.weekStartsOn)&&void 0!==g?g:null==n||null===(v=n.locale)||void 0===v||null===(b=v.options)||void 0===b?void 0:b.weekStartsOn)&&void 0!==m?m:w.weekStartsOn)&&void 0!==p?p:null===(y=w.locale)||void 0===y||null===(C=y.options)||void 0===C?void 0:C.weekStartsOn)&&void 0!==f?f:0);if(!(E>=0&&E<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!x.localize)throw new RangeError("locale must contain localize property");if(!x.formatLong)throw new RangeError("locale must contain formatLong property");var k=aw(e);if(!OS(k))throw new RangeError("Invalid time value");var M=Tw(k,Iw(k)),O={firstWeekContainsDate:S,weekStartsOn:E,locale:x,_originalDate:k};return _.match(VS).map(function(e){var t=e[0];return"p"===t||"P"===t?(0,Lw[t])(e,x.formatLong):e}).join("").match($S).map(function(r){if("''"===r)return"'";var i,a,o=r[0];if("'"===o)return(a=(i=r).match(US))?a[1].replace(BS,"'"):i;var s=HS[o];if(s)return null!=n&&n.useAdditionalWeekYearTokens||!Fw(r)||Hw(r,t,String(e)),null!=n&&n.useAdditionalDayOfYearTokens||!zw(r)||Hw(r,t,String(e)),s(M,r,x.localize,O);if(o.match(WS))throw new RangeError("Format string contains an unescaped latin alphabet character `"+o+"`");return r}).join("")}function qS(e,t){return iw(2,arguments),DS(e,12*ow(t))}var GS=(e,t)=>{if(e){let t=function(e,t,n,r){var i,a,o,s,l,c,u,d,h,f,p,m,g,v,b,y,C,_;iw(3,arguments);var w=String(e),x=String(t),S=lw(),E=null!==(i=null!==(a=null==r?void 0:r.locale)&&void 0!==a?a:S.locale)&&void 0!==i?i:jw;if(!E.match)throw new RangeError("locale must contain match property");var k=ow(null!==(o=null!==(s=null!==(l=null!==(c=null==r?void 0:r.firstWeekContainsDate)&&void 0!==c?c:null==r||null===(u=r.locale)||void 0===u||null===(d=u.options)||void 0===d?void 0:d.firstWeekContainsDate)&&void 0!==l?l:S.firstWeekContainsDate)&&void 0!==s?s:null===(h=S.locale)||void 0===h||null===(f=h.options)||void 0===f?void 0:f.firstWeekContainsDate)&&void 0!==o?o:1);if(!(k>=1&&k<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var M=ow(null!==(p=null!==(m=null!==(g=null!==(v=null==r?void 0:r.weekStartsOn)&&void 0!==v?v:null==r||null===(b=r.locale)||void 0===b||null===(y=b.options)||void 0===y?void 0:y.weekStartsOn)&&void 0!==g?g:S.weekStartsOn)&&void 0!==m?m:null===(C=S.locale)||void 0===C||null===(_=C.options)||void 0===_?void 0:_.weekStartsOn)&&void 0!==p?p:0);if(!(M>=0&&M<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(""===x)return""===w?aw(n):new Date(NaN);var O,j={firstWeekContainsDate:k,weekStartsOn:M,locale:E},T=[new ex],P=x.match(xS).map(function(e){var t=e[0];return t in Lw?(0,Lw[t])(e,E.formatLong):e}).join("").match(wS),D=[],A=yw(P);try{var L=function(){var t=O.value;null!=r&&r.useAdditionalWeekYearTokens||!Fw(t)||Hw(t,x,e),null!=r&&r.useAdditionalDayOfYearTokens||!zw(t)||Hw(t,x,e);var n=t[0],i=_S[n];if(i){var a=i.incompatibleTokens;if(Array.isArray(a)){var o=D.find(function(e){return a.includes(e.token)||e.token===n});if(o)throw new RangeError("The format string mustn't contain `".concat(o.fullToken,"` and `").concat(t,"` at the same time"))}else if("*"===i.incompatibleTokens&&D.length>0)throw new RangeError("The format string mustn't contain `".concat(t,"` and any other token at the same time"));D.push({token:n,fullToken:t});var s=i.run(w,t,E.match,j);if(!s)return{v:new Date(NaN)};T.push(s.setter),w=s.rest}else{if(n.match(MS))throw new RangeError("Format string contains an unescaped latin alphabet character `"+n+"`");if("''"===t?t="'":"'"===n&&(t=t.match(SS)[1].replace(ES,"'")),0!==w.indexOf(t))return{v:new Date(NaN)};w=w.slice(t.length)}};for(A.s();!(O=A.n()).done;){var I=L();if("object"===rw(I))return I.v}}catch(e){A.e(e)}finally{A.f()}if(w.length>0&&kS.test(w))return new Date(NaN);var N=T.map(function(e){return e.priority}).sort(function(e,t){return t-e}).filter(function(e,t,n){return n.indexOf(e)===t}).map(function(e){return T.filter(function(t){return t.priority===e}).sort(function(e,t){return t.subPriority-e.subPriority})}).map(function(e){return e[0]}),R=aw(n);if(isNaN(R.getTime()))return new Date(NaN);var z,F=Tw(R,Iw(R)),H={},$=yw(N);try{for($.s();!(z=$.n()).done;){var V=z.value;if(!V.validate(F,j))return new Date(NaN);var U=V.set(F,H,j);Array.isArray(U)?(F=U[0],Pw(H,U[1])):F=U}}catch(e){$.e(e)}finally{$.f()}return F}(e,"dd/MM/yyyy",new Date);if(OS(t))return t}return t},YS=new Date;YS.setHours(0,0,0,0);var QS=(e=>{let t=hw(e);return t.setHours(0,0,0,0),[{label:"Today",startDate:e,endDate:e},{label:"Tomorrow",startDate:pw(e,1),endDate:pw(e,1)},{label:"1 Week",startDate:cw(e,{weekStartsOn:1}),endDate:dw(e,{weekStartsOn:1})},{label:"30 days",startDate:uw(e),endDate:t},{label:"Custom",startDate:null,endDate:null}]})(YS),KS={months:Array(12).fill(null).map((e,t)=>ZS((new Date).setMonth(t),"MMMM")),years:Array(30).fill(null).map((e,t)=>ZS(function(e,t){return iw(2,arguments),qS(e,-ow(t))}(new Date,t),"yyyy")).reverse()};function XS(e){return iw(1,arguments),gw(e,Date.now())}function JS(e){return iw(1,arguments),aw(e).getDate()}function eE(e,t){iw(2,arguments);var n=aw(e),r=aw(t);return n.getTime()>r.getTime()}function tE(e,t){iw(2,arguments);var n=aw(e),r=ow(t);return isNaN(n.getTime())?new Date(NaN):(n.setFullYear(r),n)}function nE(e,t){iw(2,arguments);var n=aw(e),r=ow(t),i=n.getFullYear(),a=n.getDate(),o=new Date(0);o.setFullYear(i,r,15),o.setHours(0,0,0,0);var s=function(e){iw(1,arguments);var t=aw(e),n=t.getFullYear(),r=t.getMonth(),i=new Date(0);return i.setFullYear(n,r+1,0),i.setHours(0,0,0,0),i.getDate()}(o);return n.setMonth(r,Math.min(a,s)),n}function rE(e,t){return iw(2,arguments),DS(e,-ow(t))}function iE(e){return iw(1,arguments),aw(e).getFullYear()}var aE=(0,n.createContext)(void 0),oE=new Date,sE=e=>{let{onChange:t,onSubmit:r,onClose:i,minDate:a,maxDate:o,definedRanges:s=QS,isDisabled:l,closeOnClickOutside:c=!0,dateFormat:u="LLLL d, yyyy",children:d}=e,[h,f]=(0,n.useState)(!1),[p,m]=(0,n.useState)("months"),[g,v]=(0,n.useState)(""),b="single"===e?.type,y=GS(a,function(e,t){return iw(2,arguments),pw(e,-ow(t))}(oE,10)),C=GS(o,qS(oE,10)),_={startDate:GS(e?.startDate,oE),endDate:GS(e?.endDate,oE)},[w,x]=((e,t,n)=>{let{startDate:r,endDate:i}=e;if(r&&i){let e=jS([r,t]),a=TS([i,n]);return[e,PS(e,a)?DS(e,1):a]}return[r,i]})(_||{},y,C),[S,E]=(0,n.useState)({..._}),[k,M]=(0,n.useState)(),[O,j]=(0,n.useState)(w||oE),[T,P]=(0,n.useState)(x||DS(O,1));(0,n.useEffect)(()=>{E(_)},[e.startDate,e.endDate]);let{startDate:D,endDate:A}=S,L=(0,n.useCallback)(()=>{v(""),m("")},[]),I=(0,n.useCallback)((e,t)=>{t===g&&e===p?L():(v(t),m(e))},[L,p,g]),N={inHoverRange:e=>D&&!A&&k&&eE(k,D)&&vw(e,{start:D,end:k}),jumpToDate:e=>{let t=g===mE.START_MONTH,n=e;b?"years"===p?(j(tE(O,n)),m("months")):(j(nE(O,n)),m(""),v("")):"months"===p?(j(nE(O,t?n:n-1)),P(nE(O,t?n+1:n))):"years"===p&&(j(tE(O,n)),P(DS(tE(O,n),1)))},openToggle:I,closeToggle:L},R={onDayClick:e=>{if(b)return E({startDate:e,endDate:void 0}),f(!1),void(t&&t(e));if(!D||A||fw(e,D))E({startDate:e,endDate:void 0});else{let n={startDate:D,endDate:e};t&&t(n),E(n)}M(e)},onDayHover:e=>{D&&!A&&(!k||!gw(e,k))&&M(e)},onMonthNavigate:e=>{if(b)j("prev"===e?rE(O,1):DS(O,1));else if(e===mE.START_MONTH){let e=rE(O,1);fw(e,O)&&(j(e),P(O))}else{let e=DS(T,1);fw(T,e)&&(P(e),j(T))}}};return(0,Ye.jsx)(aE.Provider,{value:{isDisabled:l,isSingle:b,isOpen:h,setIsOpen:f,closeOnClickOutside:c,listType:p,toggleId:g,openToggle:I,closeToggle:L,dateRange:S,minDateValid:y,maxDateValid:C,definedRanges:s,dateFormat:u,startMonth:O,endMonth:T,setFirstMonthValidated:e=>{fw(e,T)&&j(e)},setSecondMonthValidated:e=>{eE(e,O)&&P(e)},setDateRangeValidated:e=>{let{startDate:n,endDate:r}=e;if(n&&r)e.startDate=n=jS([n,y]),e.endDate=r=TS([r,C]),E(e),t&&t(e),j(n),P(PS(n,r)?DS(n,1):r);else{let e={};E(e),t&&t(e),j(oE),P(DS(O,1))}},helpers:N,handlers:R,onSubmit:r,onClose:i},children:d})},lE=({value:e,...t})=>{let{disabled:r,filled:i,highlighted:a,outlined:o,startOfRange:s,endOfRange:l,onClick:c}=t,[u,d,h]=qa({onMouseEnter:t.onHover}),f=(0,n.useContext)(aE)?.isSingle,p=Ka("sui-date-picker__day",{disabled:r,filled:!r&&i,highlighted:!!a&&!r&&!f,outlined:!i&&o&&!r,hover:u&&!r,start:s,end:l}),m=(0,n.useCallback)(()=>{!r&&c&&c()},[r,c]);return!!e&&(0,Ye.jsxs)("div",{tabIndex:t.disabled?-1:0,role:"button",className:p,onClick:m,onKeyDown:e=>oo(e,m),...h,children:[(0,Ye.jsx)("span",{className:"sui-date-picker__day-title",children:e})," "]})},cE=({date:e,marker:t})=>{let r=(0,n.useContext)(aE),{openToggle:i}=r?.helpers,{onMonthNavigate:a}=r?.handlers,o=(0,n.useCallback)(e=>{r?.isSingle||r.closeToggle(),a(r?.isSingle?e:t)},[r,t,a]);return(0,Ye.jsxs)("div",{className:"sui-date-picker__nav",children:[(mE.START_MONTH===t||r?.isSingle)&&(0,Ye.jsx)("div",{children:(0,Ye.jsx)(Zc,{icon:"ChevronLeft",type:"tertiary",colorScheme:"black",iconOnly:!0,onClick:()=>o("prev"),children:"Previous month"})}),!r?.isSingle&&(0,Ye.jsx)("div",{children:(0,Ye.jsx)(Zc,{className:"sui-date-picker__nav--btn",type:"tertiary",colorScheme:"black",endIcon:"CaretDown",onClick:()=>i("months",t),_htmlProps:{onKeyDown:()=>i("months",t)},children:ZS(e,"MMMM")})}),(0,Ye.jsx)("div",{children:(0,Ye.jsxs)(Zc,{className:"sui-date-picker__nav--btn",type:"tertiary",colorScheme:"black",endIcon:"CaretDown",onClick:()=>r.openToggle("years",t),_htmlProps:{onKeyDown:e=>oo(e,()=>r.openToggle("years",t))},children:[r.isSingle&&ZS(e,"MMMM")," ",ZS(e,"yyyy")]})}),(mE.END_MONTH===t||r.isSingle)&&(0,Ye.jsx)("div",{children:(0,Ye.jsx)(Zc,{type:"tertiary",colorScheme:"black",icon:"ChevronRight",iconOnly:!0,onClick:()=>o("next"),children:"Next month"})})]})},uE=({date:e,height:t})=>{let r=(0,n.useContext)(aE),i=KS?.[r?.listType]??[],a=(0,n.useCallback)((e,t)=>{t.stopPropagation(),r.helpers.jumpToDate(e)},[r]),o=t=>"months"===r.listType?function(e){return iw(1,arguments),aw(e).getMonth()}(e)===t:Number(t)===iE(e);return(0,Ye.jsx)("ul",{className:"sui-date-picker__calendar-list",style:{height:t},children:i.map((t,n)=>{let i="months"===r.listType,s=iE(e).toString(),l=i?n:t,c=iE(r?.minDateValid),u=iE(r?.maxDateValid),d=new Date(s);d.setMonth(n),d.setHours(0,0,0,0);let h=i?!vw(d,{start:r?.minDateValid,end:r?.maxDateValid}):!(Number(l)>=c&&Number(l)<=u);return(0,Ye.jsx)("li",{className:Ka("sui-date-picker__calendar-list-item",{active:o(l)&&!h,disabled:h}),children:(0,Ye.jsx)("span",{role:"button",tabIndex:0,onClick:e=>{h||a(l,e)},onKeyDown:e=>{h||oo(e,()=>a(l,e))},children:t})},n)})})},dE=({value:e,marker:t})=>{let r=(0,n.useContext)(aE),{dateRange:i,helpers:a,handlers:o}=r,s=(e=>Array.from({length:Math.ceil(e.length/7)},(t,n)=>e.slice(7*n,7*n+7)))((e=>{let t=cw(uw(e)),n=dw(hw(e)),r=[];for(let e=t;fw(e,n);)r.push(e),e=pw(e,1);return r})(e)),l=(0,n.useRef)(null),c=r?.toggleId===t,u=s.map(t=>t.map(t=>{let n=(({startDate:e},t)=>e&&gw(t,e))(i,t),s=(({endDate:e},t)=>e&&gw(t,e))(i,t),l=(({startDate:e,endDate:t})=>!(!e||!t)&&gw(e,t))(i),c=!PS(e,t)||!vw(t,{start:r?.minDateValid,end:r?.maxDateValid}),u=(({startDate:e,endDate:t},n)=>e&&t&&(vw(n,{start:e,end:t})||gw(n,e)||gw(n,t)))(i,t)||a.inHoverRange(t);return(0,Ye.jsx)(lE,{filled:n||s||r?.isSingle&&gw(t,new Date(r?.dateRange?.startDate??"")),outlined:XS(t),highlighted:u&&!l,hovered:a.inHoverRange(t),disabled:c,startOfRange:n&&!l,endOfRange:s&&!l,onClick:()=>o.onDayClick(t),onHover:()=>o.onDayHover(t),value:JS(t)},ZS(t,"MM-dd-yyyy"))}));return(0,Ye.jsxs)("div",{className:"sui-date-picker__calendar-month",children:[(0,Ye.jsx)(cE,{marker:t,date:e}),c?(0,Ye.jsx)(uE,{date:e,height:l?.current?.offsetHeight}):(0,Ye.jsxs)("div",{ref:l,children:[(0,Ye.jsx)("div",{className:"sui-date-picker__calendar-weekdays",children:["Su","Mo","Tu","We","Th","Fr","Sa"].map((e,t)=>(0,Ye.jsx)("div",{className:"sui-date-picker__calendar-weekday",children:e.toUpperCase()},t))}),(0,Ye.jsxs)("div",{className:"sui-date-picker__calendar-days",children:[u,(0,Ye.jsx)(lE,{})]})]})]})},hE=({})=>{let e=(0,n.useContext)(aE),t=(0,n.useCallback)(t=>{e?.setDateRangeValidated(t)},[e]);return(0,Ye.jsx)("div",{className:"sui-date-picker__range",children:e?.definedRanges?.map((n,r)=>{let i=((e,t)=>{let{startDate:n,endDate:r}=e,{startDate:i,endDate:a}=t;return!!(n&&i&&r&&a)&&gw(n,i)&&gw(r,a)})(n,e?.dateRange),a={start:e?.minDateValid,end:e?.maxDateValid},o=n.startDate&&n.endDate&&(!vw(n.startDate,a)||!vw(n.endDate,a));return(0,Ye.jsx)("div",{tabIndex:0,role:"button",className:Ka("sui-date-picker__range-button",{active:i&&!o,disabled:o}),onClick:()=>t(n),onKeyDown:e=>oo(e,()=>{t(n)}),children:n?.label},r)})})},fE=({alignment:e="left",_style:t})=>{let r=(0,n.useContext)(aE),{suiInlineClassname:i}=$a(t),{startMonth:a,endMonth:o,helpers:s,handlers:l,dateRange:c}=r,u=(0,n.useRef)(null);Wa(u,()=>{r?.closeOnClickOutside&&r?.setIsOpen(!1)});let d={helpers:s,handlers:l};return(0,Ye.jsxs)("div",{className:Ka("sui-date-picker__popover",{open:r?.isOpen,[e]:!0},i),"data-testid":"date-picker-popover",ref:u,children:[!r?.isSingle&&(0,Ye.jsx)("div",{className:"sui-date-picker__header",children:(0,Ye.jsx)(hE,{})}),(0,Ye.jsx)("div",{className:"sui-date-picker__body",children:(0,Ye.jsx)("div",{className:"sui-date-picker__calendars",children:r?.isSingle?(0,Ye.jsx)(dE,{...d,value:a}):(0,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsx)(dE,{...d,value:a,marker:mE.START_MONTH}),(0,Ye.jsx)(dE,{...d,value:o,marker:mE.END_MONTH})]})})}),!r?.isSingle&&(0,Ye.jsxs)("div",{className:"sui-date-picker__footer",children:[(0,Ye.jsx)("div",{className:"sui-date-picker__footer--item",children:(0,Ye.jsx)(Zc,{type:"tertiary",colorScheme:"black",isSmall:!0,onClick:()=>{r?.onClose?.(c),r?.setIsOpen(!1)},children:"Close"})}),(0,Ye.jsx)("div",{className:"sui-date-picker__footer--item",children:(0,Ye.jsx)(Zc,{type:"secondary",colorScheme:"black",isSmall:!0,onClick:()=>{r?.onSubmit?.(c),r?.setIsOpen(!1)},children:"Ok"})})]})]})},pE=({id:e,isError:t,disabled:r,ariaAttrs:i={}})=>{let a=(0,n.useContext)(aE),o=(0,n.useRef)(""),s=Ka("sui-date-picker__input",{single:a?.isSingle,range:!a?.isSingle,disabled:a?.isDisabled});(0,n.useEffect)(()=>{a?.isDisabled&&a.setIsOpen(!1)},[a,a?.isDisabled]);let l=(0,n.useCallback)(e=>{e.stopPropagation(),a.setIsOpen(!a.isOpen)},[a]),{startDate:c,endDate:u}=a?.dateRange??{},d=a?.dateFormat||"LLLL d, yyyy",h="";return a?.isSingle&&c?h=`${ZS(c,d)}`:c&&u?(h=`${ZS(c,d)} - ${ZS(u,d)}`,o.current=h):a?.isSingle||(h=o.current),(0,Ye.jsx)("div",{className:s,"data-testid":"date-picker-input-container",children:(0,Ye.jsx)(eh,{id:e,icon:"Calendar",iconPosition:"start",defaultValue:h??"",onClick:l,className:"sui-datepicker__input--element",isError:t,ariaAttrs:i,_htmlProps:{onKeyDown:e=>oo(e,l),"data-testid":"date-picker-input-container-cta",tabIndex:r?-1:0,readOnly:!0}})})},mE={START_MONTH:Symbol("startMonth"),END_MONTH:Symbol("endMonth")},gE=({id:e="",className:t,type:r="single",startDate:i,endDate:a,minDate:o,maxDate:s,alignment:l="left",isDisabled:c=!1,isError:u=!1,definedRanges:d,closeOnClickOutside:h=!0,dateFormat:f,onChange:p=()=>null,onSubmit:m,onClose:g,ariaAttrs:v={},_htmlProps:b,_style:y})=>{let C=(0,n.useId)(),_=e||C,w=r??"single",{suiInlineClassname:x}=$a(y,t??""),S=Ka("sui-date-picker",{[w]:!io(w)},x);return(0,Ye.jsx)(sE,{type:r,startDate:i,endDate:a,minDate:o,maxDate:s,isDisabled:c,closeOnClickOutside:h,dateFormat:f,onChange:p,onSubmit:m,onClose:g,definedRanges:d,children:(0,Ye.jsxs)("div",{className:S,"data-testid":"date-picker",...co(b),children:[(0,Ye.jsx)(pE,{id:_,isDisabled:c,isError:u,ariaAttrs:v}),(0,Ye.jsx)(fE,{alignment:l})]})})},vE=({id:e,title:t="title",icon:r,hideMobileIcon:i=!0,primaryActions:a=null,secondaryActions:o=null,className:s,children:l,_htmlProps:c={},_style:u={}})=>{let d=(0,n.useId)(),h=e||`sui-summary-box-${d}`,{suiInlineClassname:f}=$a(u,s),p={id:h,title:t,className:Ka("sui-summary-box",{},f),icon:r,isSmall:!0,hideMobileIcon:i,headerLeft:(0,Ye.jsx)("div",{className:"sui-summary-box__quick-actions",children:a}),headerRight:o,_htmlProps:{...c,"data-testid":"summary-box"}};return l=Ba(l),r&&(p.icon=r),(0,Ye.jsx)(Uh,{...p,children:l})},bE=({id:e,className:t,children:r,summaryItems:i=[],reverseBlocks:a=!1,_htmlProps:o={},_style:s={}})=>{let l=(0,n.useId)(),c=e||`sui-summary-box-body-${l}`,{suiInlineClassname:u}=$a(s,t),d=Ka("sui-summary-box__body",{},u);r=Ba(r,"{summary box body children}");let h=[(0,Ye.jsx)(Wh,{size:"6",children:(0,Ye.jsx)("div",{className:"sui-summary-box__body-content",children:r})},0),(0,Ye.jsx)(Wh,{size:"6",children:(0,Ye.jsx)("div",{className:"sui-summary-box__list",children:(i??[]).map((e,t)=>e)})},1)];return a&&h.reverse(),(0,Ye.jsx)(Vh,{isInline:!0,className:"sui-summary-box__info",_htmlProps:{id:c,...o},children:(0,Ye.jsx)(Bh,{align:{md:"inline"},className:d,children:h.map(e=>e)})})},yE=({id:e,title:t="",titleUrl:r="",description:i="",className:a,tagTitle:o="",tagColor:s="default",actionIcon:l,children:c,actionIconColor:u="",tagProps:d={},linkProps:h={},_htmlProps:f={},_style:p={}})=>{let m=(0,n.useId)(),g=e||`sui-summary-box-item-${m}`,[v,b,y]=qa({}),{suiInlineClassname:C}=$a(p,a),_=Ka("sui-summary-box__list-item",{hover:v,focus:b},C),w=null;return l&&(w=Hc?.[l]),(0,Ye.jsxs)(Bh,{className:_,...y,_htmlProps:{id:g,"data-testid":"summary-box-item",...f},children:[(0,Ye.jsxs)("div",{className:"sui-summary-box__list-item-info",children:[io(r)?t:(0,Ye.jsx)("a",{href:r,...h,children:t}),!io(i??"")&&(0,Ye.jsx)(Xd,{label:"(info)",type:"icon",icon:"InfoAlt",placement:"top",customWidth:300,customMobileWidth:200,children:i})]}),(!io(o)||!!l)&&(0,Ye.jsx)("div",{className:"sui-summary-box__list-item-status",children:w?(0,Ye.jsx)(w,{colorScheme:u,size:"md"}):(0,Ye.jsx)(vh,{colorScheme:s,...d,children:o})}),c&&(0,Ye.jsx)("div",{className:"sui-summary-box__list-item-children",children:c})]})},CE=({id:e,className:t,children:r,span:i="half",padding:a="lg",_style:o,_htmlProps:s})=>{let l=(0,n.useId)(),c=e||`sui-summary-box-content-${l}`,{suiInlineClassname:u}=$a(o,t),d=Ka("sui-summary-box__content",{fluid:"full"===i,[a]:!!a&&"lg"!==a},u);return(0,Ye.jsx)("div",{id:c,className:d,...s,children:r})},_E=({id:e,className:t,children:r,_style:i,_htmlProps:a})=>{let o=(0,n.useId)(),s=e||`sui-summary-box-row-${o}`,{suiInlineClassname:l}=$a(i,t),c=Ka("sui-summary-box__row",{},l);return(0,Ye.jsx)("div",{id:s,className:c,...a,children:r})},wE=function(){var e,t,r,i,a,o,s,l,c,u,d=nw(),h=d.getSummary,f=d.getStatistics,p=d.isLoading,m=d.lastUpdated,g=h(),v=f(["new_users","pageviews"]),b=null==v?void 0:v.new_users,y=null==v?void 0:v.pageviews,C=null==g?void 0:g.page,_=null!==(e=null==g?void 0:g.searchEngines)&&void 0!==e?e:[],w=null==g?void 0:g.source,x=(null==C?void 0:C.anchor)?ep.sanitize(null==C?void 0:C.anchor,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href","target","rel"]}):"";return n.createElement(Bh,{align:{md:"stacked",lg:"inline"},className:"beehive-sui-overview"},n.createElement(Wh,{size:"12"},n.createElement(vE,{icon:"Chart",title:(0,Je.__)("Summary","ga_trans"),hideMobileIcon:!0},n.createElement(bE,{summaryItems:p?[n.createElement(cp,{key:0,_style:{marginBottom:"16px"},size:{width:"100%",height:"56px"}}),n.createElement(cp,{key:1,_style:{marginBottom:"16px"},size:{width:"100%",height:"56px"}}),n.createElement(cp,{key:2,size:{width:"100%",height:"56px"}})]:[n.createElement(yE,{key:0,title:(0,Je.__)("Top page","ga_trans"),children:x?n.createElement("span",{dangerouslySetInnerHTML:{__html:x}}):(0,Je.__)("None","ga_trans")}),n.createElement(yE,{key:1,title:(0,Je.__)("Top search engine","ga_trans"),children:(null===(t=null==_?void 0:_[0])||void 0===t?void 0:t.name)||(0,Je.__)("None","ga_trans")}),n.createElement(yE,{key:2,title:(0,Je.__)("Top medium","ga_trans"),children:(null==w?void 0:w.name)||(0,Je.__)("None","ga_trans")})]},p?n.createElement(cp,{_style:{margin:"-16px"},size:{width:"100%",height:"150px"}}):n.createElement(_E,null,n.createElement(CE,{padding:"md"},n.createElement($h,{spacing:8},n.createElement(Eh,{size:"xxl",weight:"semi-bold",color:"#1a1a1a"},(null==y?void 0:y.value)||(0,Je.__)("-","ga_trans")),n.createElement($h,{spacing:4,direction:"row",justify:"center"},n.createElement(Eh,{size:"sm",color:"#1a1a1a"},(0,Je.__)("Pageviews","ga_trans")),n.createElement(kh,{direction:(null==y?void 0:y.direction)||"none",change:(null==y?void 0:y.trend)||""})))),n.createElement(CE,{padding:"md"},n.createElement($h,{spacing:8},n.createElement(Eh,{size:"xxl",weight:"semi-bold",color:"#1a1a1a"},(null==b?void 0:b.value)||(0,Je.__)("-","ga_trans")),n.createElement($h,{spacing:4,direction:"row",justify:"center"},n.createElement(Eh,{size:"sm",color:"#1a1a1a"},(0,Je.__)("New Users","ga_trans")),n.createElement(kh,{direction:(null==b?void 0:b.direction)||"none",change:(null==b?void 0:b.trend)||""})))),n.createElement(CE,{span:"full",padding:"md"},n.createElement(Eh,{size:"sm",color:"#1a1a1a"},(0,$d.createInterpolateElement)((0,Je.__)("<strong>Last refresh:</strong> <last_updated/>","ga_trans"),{strong:n.createElement("strong",null),last_updated:n.createElement(n.Fragment,null,(r=m,i=new Date(1e3*r),a=i.toLocaleString("en-US",{month:"short"}),o=i.getDate(),s=i.getFullYear(),l=i.getHours(),c=i.getMinutes().toString().padStart(2,"0"),u=l>=12?"pm":"am",l=l%12||12,"".concat(a," ").concat(o,", ").concat(s," at ").concat(l.toString().padStart(2,"0"),":").concat(c).concat(u)))}))))))))},xE=({id:e,title:t="",description:r="",icon:i,tag:a,tagProps:o,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:v={}})=>{let b=(0,n.useId)(),y=e||`sui-dashboard-widget-${b}`,{suiInlineClassname:C}=$a(v),_=Ka("sui-dashboard-widget",{expanded:c,disabled:u,full:d},C);p=Ba(p);let w=(0,n.useCallback)(()=>{f&&f(!c)},[c,f]),x=null;i&&(x=Hc[i]);let S=null;s&&(S=Hc[s]);let E={...o};return(0,Ye.jsxs)("div",{id:y,className:_,"data-testid":"dashboard-widget",...co(g),children:[(0,Ye.jsxs)("div",{id:`${y}-header`,className:"sui-dashboard-widget__header",children:[(0,Ye.jsxs)("div",{id:`${y}-header-title`,className:"sui-dashboard-widget__header-title",children:[(0,Ye.jsxs)("div",{id:`${y}-header-info`,className:"sui-dashboard-widget__header-info",children:[x&&(0,Ye.jsx)(x,{id:`${y}-icon`,size:"md"}),(t||a||S)&&(0,Ye.jsxs)("h4",{id:`${y}-title`,className:"sui-heading--h4 sui-dashboard-widget__header-title",children:[t,a&&(0,Ye.jsx)(vh,{id:`${y}-tag`,colorScheme:"black",design:"outlined",...E??{},children:a}),S&&(0,Ye.jsx)(S,{id:`${y}-status-icon`,size:"sm",...l??{}})]})]}),h&&(0,Ye.jsx)("div",{id:`${y}-header-actions`,className:"sui-dashboard-widget__header-actions","data-testid":"dashboard-widget-",children:(0,Ye.jsx)(O_,{id:`${y}-toggle`,isLabelHidden:!0,label:"Toggle Widget",defaultValue:c??!1,onClick:w,isDisabled:u??!1})})]}),r&&(0,Ye.jsx)("div",{id:`${y}-description`,className:"sui-dashboard-widget__header-desc",children:r})]}),c&&(0,Ye.jsxs)(n.Fragment,{children:[p&&(0,Ye.jsx)("div",{id:`${y}-body`,className:"sui-dashboard-widget__body",children:p}),m&&(0,Ye.jsx)("div",{id:`${y}-footer`,className:"sui-dashboard-widget__footer",children:m})]})]})};xE.displayName="DashboardWidget";var SE=({id:e,label:t,helper:r,children:i,spacing:a="",onToggle:o=()=>null,noBorderRadius:s=!1,_htmlProps:l,_style:c})=>{let u=(0,n.useId)(),d=e||`sui-field-list-${u}`,{suiInlineClassname:h}=$a(c),f=(0,n.useCallback)((e,t)=>{o(e,t)},[o]);i=Ba(i,(0,Ye.jsx)(Ye.Fragment,{children:"{field List children content}"}));let p={};return a&&(p={padding:a}),(0,Ye.jsxs)("div",{id:d,className:Ka("sui-field-list",{"no-border-radius":s},h),"data-testid":"field-list",...co(l),children:[(t||r)&&(0,Ye.jsxs)("div",{id:`${d}-header`,className:"sui-field-list__row",style:p,children:[t&&(0,Ye.jsx)("h3",{className:"sui-heading sui-heading--h4 sui-field-list__title",children:t}),r&&(0,Ye.jsx)("p",{className:"sui-field-list__helper",children:r})]}),(0,Ye.jsx)("div",{id:`${d}-items`,className:"sui-field-list__items",children:n.Children.map(i,e=>(0,n.cloneElement)(e,{onToggle:f,style:p}))})]})},EE=({id:e,isChecked:t=!1,children:r,hasToggle:i=!0,actions:a,onToggle:o,_htmlProps:s={},style:l,_style:c,...u})=>{let d=(0,n.useId)();e||(e=`sui-field-list-${d}`),r=Ba(r,"{field list item content}");let h=(0,n.useCallback)(t=>{o&&o(e,t?.target?.checked)},[e,o]),{suiInlineClassname:f}=$a(c);return(0,Ye.jsxs)("div",{className:Ka("sui-field-list__item",{disabled:u?.isDisabled,"no-toggle":!i},f),style:l,"data-testid":"field-list-item",...co(s),children:[(0,Ye.jsx)("div",{className:"sui-field-list__item-label",id:`${d}-label`,children:r}),i&&(0,Ye.jsx)("div",{className:"sui-field-list__item-checkbox",id:`${d}-checkbox`,children:(0,Ye.jsx)(O_,{id:e,label:r,isLabelHidden:!0,defaultValue:t??!1,onClick:h,...u})}),!!a&&(0,Ye.jsx)("div",{className:"sui-field-list__item-actions",id:`${d}-actions`,children:a})]})},kE=function(){var e,t=nw(),r=t.isLoading,i=(0,t.getStatistics)();return!r&&Object.keys(i).length<=0?null:n.createElement("div",{className:"beehive-sui-statistics-table"},n.createElement(SE,{noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},null===(e=Object.keys(i))||void 0===e?void 0:e.map(function(e,t){var a=i[e],o=a.direction,s=a.trend,l=a.value;return n.createElement(EE,{key:t,hasToggle:!1,_style:{display:"block"}},n.createElement(Eh,{color:"#4C4C4C",weight:"bold",size:"sm",uppercase:!0,_style:{letterSpacing:"1px"}},XC[e]),r?n.createElement(cp,{size:{width:"100%",height:"24px"}}):n.createElement("div",{className:"beehive-sui-stats-value"},n.createElement(Eh,{className:"sui-heading--h4",weight:"semi-bold"},l),n.createElement(kh,{direction:o||"none",change:s||""})))})))},ME=function(){var e=Uu.active,t=Uu.enabled,r=Uu.custom,i=Object.keys(null!=t?t:{}).length+Object.keys(null!=r?r:{}).length,a=bu.gtm_settings,o=bu.gtm_account;return n.createElement("div",{className:"beehive-sui-gtm-table"},n.createElement(SE,{noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},n.createElement(EE,{hasToggle:!1},n.createElement($h,{direction:"row",spacing:8,alignItems:"center"},n.createElement(Eh,{weight:"bold",_style:{flex:"1"}},(0,Je.__)("GTM Account","ga_trans")),n.createElement($h,{_style:{flex:"1"}},n.createElement(vh,{colorScheme:e?"blue":"default"},e?(0,Je.__)("Active","ga_trans"):(0,Je.__)("Inactive","ga_trans"))),n.createElement(Zc,{icon:"Settings",type:"tertiary",colorScheme:"black",href:o,iconOnly:!0,isSmall:!0}))),n.createElement(EE,{hasToggle:!1},n.createElement($h,{direction:"row",spacing:8,alignItems:"center"},n.createElement(Eh,{weight:"bold",_style:{flex:"1"}},(0,Je.__)("Variables","ga_trans")),n.createElement(Eh,{_style:{flex:"1"}},i),n.createElement(Zc,{icon:"Settings",type:"tertiary",colorScheme:"black",href:a,iconOnly:!0,isSmall:!0})))))},OE=function(){var e=bu.ga_account;return n.createElement("div",{className:"beehive-sui-gtm-table"},n.createElement(SE,{noBorderRadius:!0,_style:{borderRight:"0px",borderLeft:"0px"}},n.createElement(EE,{hasToggle:!1},n.createElement($h,{direction:"row",spacing:8,alignItems:"center"},n.createElement(Eh,{weight:"bold",_style:{flex:"1"}},(0,Je.__)("Google Analytics 4","ga_trans")),n.createElement($h,{as:"div",_style:{flex:"1"}},n.createElement("div",null,n.createElement(vh,{colorScheme:id?"blue":"default"},id?(0,Je.__)("Active","ga_trans"):(0,Je.__)("Inactive","ga_trans")))),n.createElement(Zc,{icon:"Settings",type:"tertiary",colorScheme:"black",href:e,iconOnly:!0,isSmall:!0})))))},jE=function(){var e=null!=bu?bu:{},t=e.statistics,r=e.ga_account,i=(null!=Vu?Vu:{}).logged_in,a=nw(),o=a.isLoading,s=a.summary,l=a.hasStats,c=Object.keys(s).length>0&&!o,u=i&&ld&&c&&!o,d=i&&ld,h=!l&&ld&&!o;return n.createElement(xE,{icon:"ChartAlt",title:(0,Je.__)("Statistics","ga_trans"),description:n.createElement(n.Fragment,null,n.createElement("p",null,(0,Je.__)("View your website's full analytics report with Sessions, Users, Pageviews, Average Time and Bounce Rate","ga_trans")),i&&!ld&&n.createElement(Jc,{message:(0,Je.__)("You need to authenticate with your Google account to automatically get the measurement ID for this website and enable access to statistics, or you can add the measurement ID manually.","ga_trans"),icon:"InfoAlt",variation:"info",action:n.createElement(Zc,{type:"secondary",colorScheme:"black",href:r,target:"_blank"},(0,Je.__)("Configure account","ga_trans")),isFluid:!0}),h&&n.createElement(Jc,{message:(0,Je.__)("We haven't collected enough data. Please check back soon.","ga_trans"),icon:"InfoAlt",isFluid:!0,variation:"info"})),actions:u&&n.createElement(Zc,{type:"secondary",colorScheme:"black",href:t},(0,Je.__)("View full report","ga_trans")),isFullWidth:!0},d&&n.createElement(kE,null))},TE=function(){var e=null!=bu?bu:{},t=e.gtm_settings,r=e.gtm_account;return n.createElement(xE,{icon:"GoogleTagManager",title:(0,Je.__)("Google Tag Manager","ga_trans"),description:n.createElement(n.Fragment,null,n.createElement("p",null,(0,Je.__)("Set up Google Tag Manager on your website and assign predefined and customizable variables to the data layer.","ga_trans")),!od&&ad&&n.createElement(Jc,{message:(0,Je.__)("Google Tag Manager has not been added to your website. Add your Container ID to finish setup.","ga_trans"),icon:"InfoAlt",variation:"warning",action:n.createElement(Zc,{type:"secondary",colorScheme:"black",href:r},(0,Je.__)("Finish setup","ga_trans")),isFluid:!0})),actions:n.createElement(n.Fragment,null,od&&ad&&n.createElement(Zc,{type:"secondary",colorScheme:"black",href:t},(0,Je.__)("Configure","ga_trans")),!ad&&n.createElement(Zc,{type:"primary",colorScheme:"blue",href:r},(0,Je.__)("Activate","ga_trans"))),isFullWidth:!0},od&&n.createElement(ME,null))},PE=function(){var e=bu.analytics_docs,t=xu.hide_doc_link;return n.createElement(xE,{icon:"Settings",title:(0,Je.__)("Analytics Configuration","ga_trans"),description:n.createElement(n.Fragment,null,n.createElement("p",null,(0,Je.__)("Monitor Google Analytics 4 status.","ga_trans"))),actions:t?n.createElement(n.Fragment,null):n.createElement(Zc,{type:"secondary",href:e,target:"_blank",colorScheme:"black"},(0,Je.__)("Learn more","ga_trans")),isFullWidth:!0},n.createElement(OE,null))},DE=function(){var e=vu.periods,t=nw(),r=t.startDate,i=t.endDate,a=t.isLoading,o=t.refetch,s=t.updateDateRange,l=c_({action:"refresh",onSaveSuccess:function(){o()}}),c=l.run,u=l.isPending||a;return n.createElement(Mh,null,n.createElement(Bh,{align:{md:"inline"}},n.createElement(Wh,{size:"12"},n.createElement($h,{justify:"space-between",direction:{default:"row",sm:"column"}},n.createElement(__,{title:(0,Je.__)("Dashboard","ga_trans")}),n.createElement($h,{direction:{default:"row",sm:"column"},spacing:12},n.createElement(gE,{type:"range",isDisabled:u,alignment:"right",definedRanges:Object.keys(e).map(function(t){return{label:t,startDate:new Date(e[t][0]),endDate:new Date(e[t][1])}}),minDate:"01/01/1999",startDate:ap(r),endDate:ap(i),dateFormat:"MMM d, yyyy",onSubmit:function(e){var t=null==e?void 0:e.startDate,n=null==e?void 0:e.endDate,r=ap(t),i=ap(n||t);s(r,i)},_style:{minWidth:"250px"}}),n.createElement(Xd,{type:"button",placement:"bottom-right",label:u?(0,Je.__)("Refreshing...","ga_trans"):(0,Je.__)("Refresh data","ga_trans"),customWidth:136,buttonProps:{type:"secondary",colorScheme:"black",icon:"Refresh",isDisabled:u,isLoading:u,isFullWidth:!0},onClick:function(){c.mutate({})}},(0,Je.__)("Clear Beehive's local analytics cache and grab the latest data from Google","ga_trans"))))),n.createElement(Wh,{size:"12"},n.createElement(wE,null)),n.createElement(Wh,{size:{md:6}},n.createElement(jE,null)),n.createElement(Wh,{size:{md:6}},n.createElement($h,{spacing:32},n.createElement(TE,null),n.createElement(PE,null)))))},AE=function(){return n.createElement(tw,null,n.createElement(DE,null))};function LE(e){return LE="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},LE(e)}function IE(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function NE(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?IE(Object(n),!0).forEach(function(t){RE(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):IE(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function RE(e,t,n){return(t=function(e){var t=function(e){if("object"!=LE(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=LE(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==LE(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function zE(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return FE(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)?FE(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 FE(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var HE=(0,n.createContext)(void 0),$E=function(e){var t=e.children,r=zE((0,n.useState)({}),2),i=r[0],a=r[1],o=zE((0,n.useState)({}),2),s=o[0],l=o[1],c=zE((0,n.useState)({}),2),u=c[0],d=c[1],h=zE((0,n.useState)({}),2),f=h[0],p=h[1],m=zE((0,n.useState)({}),2),g=m[0],v=m[1],b=zE((0,n.useState)((0,Je.__)("Google Analytics configuration has been saved.","ga_trans")),2),y=b[0],C=b[1],_=JC({saveSuccessMsg:y}),w=_.getField,x=_.isLoading,S=_.save,E=_.isSaving,k=_.getSettings,M=w("google"),O=w("tracking"),j=w("general"),T=w("misc"),P=k();return(0,n.useEffect)(function(){a(M||{})},[M]),(0,n.useEffect)(function(){l(O||{})},[O]),(0,n.useEffect)(function(){d(j||{})},[j]),(0,n.useEffect)(function(){p(T||{})},[T]),(0,n.useEffect)(function(){v(P||{})},[P]),n.createElement(HE.Provider,{value:{google:i,tracking:s,general:u,misc:f,settings:g,isLoading:x,isSaving:E,updateGoogle:function(e,t){a(function(n){return NE(NE({},n),{},RE({},e,t))})},updateTracking:function(e,t){l(function(n){return NE(NE({},n),{},RE({},e,t))})},updateGeneral:function(e,t){d(function(n){return NE(NE({},n),{},RE({},e,t))})},updateMisc:function(e,t){p(function(n){return NE(NE({},n),{},RE({},e,t))})},getGoogleField:function(e){return null==i?void 0:i[e]},getTrackingField:function(e){return null==s?void 0:s[e]},getGeneralField:function(e){return null==u?void 0:u[e]},getMiscField:function(e){return null==f?void 0:f[e]},saveSuccessMsg:y,setSaveSuccessMsg:C,save:S}},t)},VE=function(){var e=(arguments.length>0&&void 0!==arguments[0]?arguments[0]:{}).saveSuccessMsg,t=(0,n.useContext)(HE);if(!t)throw new Error("useGA must be used within a GAProvider");return(0,n.useEffect)(function(){e&&t.setSaveSuccessMsg(e)},[e,t]),t};function UE(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}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,r=Array(t);n<t;n++)r[n]=e[n];return r}var WE=(0,n.createContext)(void 0),ZE=function(e){var t=e.children,r=vu.start_date,i=vu.end_date,a=UE((0,n.useState)(r),2),o=a[0],s=a[1],l=UE((0,n.useState)(i),2),c=l[0],u=l[1],d=UE((0,n.useState)(!1),2),h=d[0],f=d[1],p=function(e){var t,n,r=e.network,i="stats/statistics",a=md({slug:i,baseURL:"v1"},{from:e.from,to:e.to,network:void 0===r?Xu:r}),o=a.data,s=a.isLoading,l=a.refetch,c=a.isFetching,u=a.isRefetching;return{stats:null===(t=null==o?void 0:o.data)||void 0===t?void 0:t.stats,periods:null===(n=null==o?void 0:o.data)||void 0===n?void 0:n.periods,isLoading:s||u||c,slug:i,refetch:l}}({from:o,to:c}),m=p.stats,g=p.periods,v=p.isLoading,b=p.refetch,y=c_({action:"refresh",saveSuccessMsg:"",onSaveSuccess:function(){b()}}),C=y.run,_=y.isPending,w=v||_;(0,n.useEffect)(function(){b()},[b]),(0,n.useEffect)(function(){b()},[o,c,b]);var x={stats:m,refresh:function(){C.mutate({})},periods:g,isLoading:w,refetch:b,startDate:o,endDate:c,setStartDate:s,setEndDate:u,updateDateRange:function(e,t){s(e),u(t)},compareEnabled:h,setCompareEnabled:f};return n.createElement(WE.Provider,{value:x},t)},qE=function(){var e=(0,n.useContext)(WE);if(void 0===e)throw new Error("useStatisticsContext must be used within a StatisticsProvider");return e},GE=({id:e,className:t,children:r,_htmlProps:i={},_style:a={}})=>{let o=(0,n.useId)(),s=e||`sui-sidebar-${o}`,{suiInlineClassname:l}=$a(a,t),c=Ka("sui-sidebar",{},l);return r=Ba(r,"{sidebar children content}"),(0,Ye.jsx)("div",{id:s,className:c,"data-testid":"sidebar",...co(i),children:r})},YE=(0,n.forwardRef)(({id:e,className:t,selectedItemName:r="",children:i,_htmlProps:a,_style:o={},buttonProps:s={}},l)=>{let c=(0,n.useRef)(null),u=(0,n.useId)(),d=e||`sui-sidebar-dropdown-${u}`,[h,f]=(0,n.useState)(!1);Wa(c,()=>{f(!1)}),(0,n.useImperativeHandle)(l,()=>({open:()=>f(!0),close:()=>f(!1),toggle:()=>f(!h)}));let{suiInlineClassname:p}=$a(o,t),m=Ka("sui-sidebar__dropdown",{},p),g=n.Children.map(i,e=>{if(n.isValidElement(e)){let t=e?.props?.onClick,r=e=>{t&&t(e),f(!1)};return n.cloneElement(e,{onClick:r})}return e});return(0,Ye.jsxs)("div",{id:d,ref:c,className:m,...co(a),children:[(0,Ye.jsx)("div",{children:(0,Ye.jsx)(Zc,{id:`${d}-label`,className:"sui-sidebar__dropdown--button",onClick:()=>f(!h),endIcon:"Hamburger",isFullWidth:!0,...s,children:r})}),h&&(0,Ye.jsx)("div",{id:`${d}-list`,tabIndex:-1,role:"listbox",className:"sui-sidebar__dropdown--list","aria-labelledby":`${d}-label`,children:g})]})});YE.displayName="Sidebar Dropdown";var QE=({id:e,url:t="#",icon:r,title:i="Sidebar Item",className:a,action:o,isActive:s=!1,isDisabled:l=!1,onClick:c=()=>{},_htmlProps:u={},_style:d={}})=>{let h=(0,n.useId)(),f=e||`sui-sidebar-item-${h}`,[p,m,g]=qa({}),{suiInlineClassname:v}=$a(d,a),b=Ka("sui-sidebar__item",{hover:p&&!m&&!l,focus:m&&!l,disabled:l,active:s},v),y=null;r&&(y=Hc[r]);let C=(0,n.useCallback)(e=>{e?.preventDefault(),c&&c(e)},[c]);return(0,Ye.jsxs)("a",{id:f,className:b,href:t,tabIndex:l?-1:0,onClick:C,onKeyDown:e=>oo(e,C),"data-testid":"sidebar-item",...g,...co(u),children:[(0,Ye.jsxs)("div",{className:"sui-sidebar__item-info",children:[y&&(0,Ye.jsx)(y,{size:"sm"}),(0,Ye.jsx)("span",{children:i})]}),!!o&&(0,Ye.jsx)("div",{className:"sui-sidebar__item-action",children:o})]})},KE={statistics:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#statistics-analytics",account:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#account-analytics",settings:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#settings-analytics"},XE=function(e){var t=e.activeTab,r=e.showStatisticsControls,i=void 0!==r&&r,a=vu.periods,o=xu.hide_doc_link,s=qE(),l=c_({action:"refresh",saveSuccessMsg:(0,Je.__)("Data refreshed. New data should begin feeding shortly.","ga_trans")}),c=l.run,u=l.isPending,d=i?s.isLoading:u,h=i?function(){return s.refresh()}:function(){return c.mutate({})};return n.createElement(Mh,{className:"beehive-ga-header",isFullWidth:!0},n.createElement($h,{justify:"space-between",className:"beehive-ga-header-stack",spacing:16,direction:{default:"row",sm:"column"}},n.createElement($h,{direction:"row",alignItems:"center",spacing:8},n.createElement(__,{title:(0,Je.__)("Google Analytics","ga_trans")}),n.createElement(w_,{className:"beehive-popover-info",icon:"InfoAlt",popupWidth:210,trigger:n.createElement("span",{className:"beehive-settings-info-icon"},n.createElement(Ao,{colorScheme:"neutral"})),placement:"top",displayOnHover:!0},o?(0,Je.__)("Tracking and analysis of website traffic and user behavior.","ga_trans"):(0,$d.createInterpolateElement)((0,Je.__)("Tracking and analysis of website traffic and user behavior. <link>Learn more</link>","ga_trans"),{link:n.createElement("a",{href:KE[t],target:"_blank",rel:"noreferrer"})}))),n.createElement($h,{direction:{default:"row",md:"column",sm:"column"},spacing:12,alignItems:{default:"center",md:"flex-start",sm:"flex-start"}},i&&n.createElement(n.Fragment,null,n.createElement("div",null,n.createElement(Yd,{label:(0,Je.__)("Compare to last period","ga_trans"),value:"compare-to-last-period",id:"compare-to-last-period",isChecked:s.compareEnabled,isDisabled:d,onChange:function(){s.setCompareEnabled(!s.compareEnabled)}})),n.createElement($h,{direction:{default:"row",sm:"column"},spacing:12,width:{sm:"100%"}},n.createElement(gE,{type:"range",isDisabled:d,alignment:"right",minDate:"01/01/1999",startDate:ap(s.startDate),endDate:ap(s.endDate),dateFormat:"MMM d, yyyy",definedRanges:Object.keys(a).map(function(e){return{label:e,startDate:new Date(a[e][0]),endDate:new Date(a[e][1])}}),onSubmit:function(e){var t=null==e?void 0:e.startDate,n=null==e?void 0:e.endDate,r=ap(t),i=ap(n||t);s.updateDateRange(r,i)},_style:{minWidth:"250px",zIndex:"2"}}),n.createElement(Xd,{type:"button",placement:"bottom-right",label:d?(0,Je.__)("Refreshing...","ga_trans"):(0,Je.__)("Refresh data","ga_trans"),customWidth:136,buttonProps:{type:"secondary",colorScheme:"black",icon:"Refresh",isDisabled:d,isLoading:d,isFullWidth:!0},onClick:h,_style:{minWidth:"48px"}},(0,Je.__)("Clear Beehive's local analytics cache and grab the latest data from Google","ga_trans")))),!i&&n.createElement($h,{direction:"row",spacing:12,alignItems:"center",_style:{minWidth:"48px"}},n.createElement(Xd,{type:"button",placement:"bottom-right",label:d?(0,Je.__)("Refreshing...","ga_trans"):(0,Je.__)("Refresh data","ga_trans"),customWidth:136,buttonProps:{type:"secondary",colorScheme:"black",icon:"Refresh",isDisabled:d,isLoading:d,isFullWidth:!0},onClick:h,_style:{width:"100%"}},(0,Je.__)("Clear Beehive's local analytics cache and grab the latest data from Google","ga_trans"))))))},JE=function(){var e=VE();return n.createElement(WC,{context:e})};function ek(e){return ek="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},ek(e)}function tk(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function nk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?tk(Object(n),!0).forEach(function(t){rk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):tk(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function rk(e,t,n){return(t=function(e){var t=function(e){if("object"!=ek(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=ek(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==ek(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function ik(){return ik=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},ik.apply(null,arguments)}function ak(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return ok(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)?ok(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 ok(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var sk=function(){var e=xu.hide_doc_link,t=bu.accounts,r=bu.statistics,i=function(e){var t=e.params,r=void 0===t?{}:t,i=e.network,a=md("data/accounts",function(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?s_(Object(n),!0).forEach(function(t){l_(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):s_(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}({network:(void 0===i?Xu:i)?1:0},r)),o=a.data,s=a.isLoading,l=a.refetch,c=a.isRefetching,u=o||{},d=u.accounts,h=u.pageToken,f=ip(d||{}),p=d&&Object.keys(d).length>0,m=s||c,g=(0,n.useCallback)(function(e){if(!d)return null;var t=f.find(function(t){return t.id===e});return{id:e,label:null==t?void 0:t.label,isSelected:!0}},[d]);return{accounts:d,accountsOptions:f,pageToken:h,hasAccounts:p,getSelected:g,isLoading:m,refetch:l}}({}).hasAccounts,a=(null!=_u?_u:{}).show_limit_notice,o=null!=Zu?Zu:{},s=o.account,l=o.api_error,c=Xc().push,u=id&&""!==s&&0!==s,d=ak((0,n.useState)(!1),2),h=d[0],f=d[1],p=ak((0,n.useState)(""),2),m=p[0],g=p[1],v=ak((0,n.useState)(!1),2),b=v[0],y=v[1],C=(0,n.useRef)(null),_=(0,n.useRef)(!0),w=VE({saveSuccessMsg:(0,Je.__)("Tracking code added successfully.","ga_trans")}),x=w.save,S=w.isSaving,E=w.getGoogleField,k=w.getTrackingField,M=w.getMiscField,O=w.updateGoogle,j=w.updateTracking,T=w.updateMisc,P=w.settings,D=w.google,A=w.tracking,L=w.misc,I=E("auto_track_ga4"),N=M("auto_track_ga4"),R=k("measurement"),z=ak(Ua([{pattern:"^G-[A-Z0-9]+$",message:(0,Je.__)("Please enter a valid Google Analytics Measurement ID.","ga_trans")}],{validateOnMount:!1}),2),F=z[0],H=z[1];return(0,n.useEffect)(function(){if(_.current){var e=I&&N?N:R;g(e||""),C.current&&(C.current.value=e||""),(R||N||void 0!==I)&&(_.current=!1)}},[I,N,R]),(0,n.useEffect)(function(){f(I&&id)},[I]),n.createElement(C_,{hasLargeRadius:!0,title:(0,Je.__)("Account","ga_trans"),description:n.createElement($h,{spacing:16},(0,Je.__)("Connect and authenticate your Google Analytics account to view analytics data on Beehive's Dashboard. If you only want to connect your site to Google Analytics without displaying the analytics data on Beehive's dashboard, add the Measurement ID in the corresponding field.","ga_trans"),u&&""!==s&&!l&&n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("Your Google account is now connected and analytics are being tracked. You can view this site's analytics on the <link>Statistics page</link>.","ga_trans"),{link:n.createElement(Wd,ik({href:r,reload:!0},sd&&{as:"span"},{_style:{cursor:"pointer"}}))}),icon:"InfoAlt",variation:"info",isFluid:!0}),l&&n.createElement(Jc,{message:l,icon:"InfoAlt",variation:"error",isFluid:!0})),footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:S,isDisabled:S||F.isError,onClick:function(){F.isError||(id||""!==m?(h&&!N&&c({message:(0,Je.__)("We couldn't automatically detect the measurement ID. Please check your analytics account is configured correctly for this account.","ga_trans"),icon:"InfoAlt",variation:"error",size:"lg",isDismissible:!0}),x.mutate({value:nk(nk({},P),{},{google:nk({},D),tracking:nk({},A),misc:nk({},L)})})):c({message:(0,$d.createInterpolateElement)((0,Je.__)("To automatically detect your measurement ID first you need to connect the Google account in the <a1>Accounts Page</a1> or alternatively you can manually paste your Google Analytics tracking ID. If you're still stuck you can <a2>contact support</a2> for assistance.","ga_trans"),{a1:n.createElement(Wd,{href:t}),a2:n.createElement(Wd,{href:"https://wpmudev.com/get-support/",isExternal:!0})}),icon:"InfoAlt",variation:"error",size:"lg",isDismissible:!0}))}},(0,Je.__)("Save settings","ga_trans"))],isFluid:!0},n.createElement(x_,{title:(0,Je.__)("Analytics profile","ga_trans"),description:(0,Je.__)("Authenticate with Google to connect your Analytics profile and begin feeding analytics to your WordPress Dashboard.","ga_trans")},n.createElement($h,{spacing:16,isFluid:!0},id?n.createElement($h,{spacing:24,isFluid:!0},n.createElement(JE,null),id&&!i&&n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("You don't have any Google Analytics profile connected to your account. To get going, just <link>sign up for Google Analytics</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://analytics.google.com/analytics/web/",isExternal:!0})}),icon:"InfoAlt",variation:"info",isFluid:!0})):n.createElement($h,{spacing:24,isFluid:!0},n.createElement(jC,{label:(0,Je.__)("Choose your view (data stream)","ga_trans"),helper:(0,$d.createInterpolateElement)((0,Je.__)("Site not here? Try logging into another <link>Google account</link>.","ga_trans"),{link:n.createElement(Wd,{href:t})})},n.createElement(NC,{label:(0,Je.__)("No website information","ga_trans"),isDisabled:!0}))),a&&n.createElement(Jc,{message:e?(0,Je.__)("Multiple analytics accounts are linked to your Google account. To enhance your site's performance, we display the list of streams from a maximum of 25 accounts.","ga_trans"):(0,$d.createInterpolateElement)((0,Je.__)("Multiple analytics accounts are linked to your Google account. To enhance your site's performance, we display the list of streams from a maximum of 25 accounts. <link>Learn more</link>","ga_trans"),{link:n.createElement(Wd,{href:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#linking-multiple-analytics-account",isExternal:!0})}),icon:"InfoAlt",variation:"info",isFluid:!0}),!u&&n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("To choose your profile first you need to go to the <link>Accounts page</link> and connect your Google account.","ga_trans"),{link:n.createElement(Wd,{href:t})}),icon:"InfoAlt",variation:"info",isFluid:!0}),id&&n.createElement(Yd,{label:(0,Je.__)("Automatically detect measurement ID","ga_trans"),value:"auto_detect",id:"auto_detect",isChecked:h,onChange:function(e){if(f(e.target.checked),O("auto_track_ga4",e.target.checked),e.target.checked){var t=N||"";g(t),T("auto_track_ga4",t),C.current&&(C.current.value=t),y(!N)}else{var n=R||"";g(n),C.current&&(C.current.value=n),y(!1)}_.current=!1}}))),n.createElement(x_,{title:(0,Je.__)("Measurement ID","ga_trans"),description:(0,Je.__)("Copy and paste your Google Analytics Measurement ID to add it to your website.","ga_trans")},n.createElement($h,{spacing:16,isFluid:!0},n.createElement(jC,{label:(0,Je.__)("Add your Measurement ID","ga_trans"),helper:(0,Je.__)("This Measurement ID is being output in the <head> section of your pages.","ga_trans")},n.createElement(eh,ik({ref:C,defaultValue:m||"",placeholder:(0,Je.__)("G-XXXXXXXXXX","ga_trans"),onChange:function(e){g(e.target.value),h?T("auto_track_ga4",e.target.value):j("measurement",e.target.value)},isError:F.isError,isDisabled:h},H))),b&&id&&n.createElement(Jc,{message:(0,Je.__)("We couldn't automatically detect the measurement ID. Please check your analytics account is configured correctly for this account or try to manually paste your Google Analytics measurement ID.","ga_trans"),icon:"InfoAlt",variation:"warning",isFluid:!0}),F.isError&&n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("Whoops, looks like that's an invalid measurement ID. Double check you have your <link>Analytics 4 measurement ID</link> and try again.","ga_trans"),{link:n.createElement(Wd,{href:"https://support.google.com/analytics/answer/9539598?hl=en",isExternal:!0})}),icon:"InfoAlt",variation:"error",isFluid:!0}))))};function lk(e){return lk="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},lk(e)}function ck(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function uk(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ck(Object(n),!0).forEach(function(t){dk(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ck(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function dk(e,t,n){return(t=function(e){var t=function(e){if("object"!=lk(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=lk(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==lk(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function hk(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return fk(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)?fk(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 fk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var pk=function(){var e=hk((0,n.useState)(!1),2),t=e[0],r=e[1],i=hk((0,n.useState)(!1),2),a=i[0],o=i[1],s=hk((0,n.useState)(!1),2),l=s[0],c=s[1],u=hk((0,n.useState)(!1),2),d=u[0],h=u[1],f=hk((0,n.useState)([]),2),p=f[0],m=f[1],g=hk((0,n.useState)([]),2),v=g[0],b=g[1],y=VE({saveSuccessMsg:(0,Je.__)("Google Analytics configuration has been saved.","ga_trans")}),C=y.save,_=y.isSaving,w=y.isLoading,x=y.getGeneralField,S=y.getTrackingField,E=y.updateGeneral,k=y.updateTracking,M=y.settings,O=y.general,j=y.tracking,T=x("track_admin"),P=x("anonymize"),D=x("force_anonymize"),A=x("advertising"),L=S("exclude_roles"),I=S("post_types"),N=(0,n.useMemo)(function(){return Gh.map(function(e){return{id:e.id,label:e.label,isSelected:!1}})},[]),R=(0,n.useMemo)(function(){return Nu.map(function(e){return{id:e.id,label:e.label,isSelected:!1}})},[]),z=(0,n.useMemo)(function(){return p.filter(function(e){return e.isSelected})},[p]),F=(0,n.useMemo)(function(){return v.filter(function(e){return e.isSelected})},[v]);return(0,n.useEffect)(function(){if(!w&&void 0!==L){var e=N.map(function(e){var t;return{id:e.id,label:e.label,isSelected:null!==(t=null==L?void 0:L.includes(e.id))&&void 0!==t&&t}});m(e)}},[L,w]),(0,n.useEffect)(function(){if(!w&&void 0!==I){var e=R.map(function(e){var t;return{id:e.id,label:e.label,isSelected:null!==(t=null==I?void 0:I.includes(e.id))&&void 0!==t&&t}});b(e)}},[I,w]),(0,n.useEffect)(function(){r(T||!1),o(P||!1),c(D||!1),h(A||!1)},[T,P,D,A,L,I]),n.createElement(n.Fragment,null,n.createElement(C_,{hasLargeRadius:!0,title:(0,Je.__)("Settings","ga_trans"),footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:_,isDisabled:_,onClick:function(){return C.mutate({value:uk(uk({},M),{},{general:uk({},O),tracking:uk({},j)})})}},(0,Je.__)("Save settings","ga_trans"))],isFluid:!0},n.createElement(x_,{title:(0,Je.__)("Admin pages tracking","ga_trans"),description:(0,Je.__)("When enabled, the activity in the wp-admin area will be tracked and included in statistics. By default, only the activity on the front-end pages of your site are tracked.","ga_trans")},n.createElement(O_,{defaultValue:t,label:(0,Je.__)("Enable Admin pages tracking","ga_trans"),onClick:function(){r(!t),E("track_admin",!t)},isFluid:!0})),n.createElement(x_,{title:(0,Je.__)("IP Anonymization","ga_trans"),description:(0,$d.createInterpolateElement)((0,Je.__)("When enabled, visitor IP addresses will be <link>anonymized</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://support.google.com/analytics/answer/2763052?hl=en",isExternal:!0})})},n.createElement(O_,{defaultValue:a,label:(0,Je.__)("Enable IP Anonymization","ga_trans"),onClick:function(){o(!a),E("anonymize",!a)},isFluid:!0},n.createElement(jC,{label:(0,Je.__)("Whole network tracking","ga_trans")},n.createElement(Yd,{label:(0,Je.__)("Force on sub-sites tracking","ga_trans"),value:"force-network-tracking",id:"force-network-tracking",isChecked:l,onChange:function(){c(!l),E("force_anonymize",!l)}})))),n.createElement(x_,{title:(0,Je.__)("Display Advertising","ga_trans"),description:(0,$d.createInterpolateElement)((0,Je.__)("Enable support for Google's Display Advertising and get additional demographic and interests reports. You can read more about it <link>here</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://support.google.com/analytics/answer/3450482?hl=en&ref_topic=3413645&rd=1",isExternal:!0})})},n.createElement($h,{spacing:16,isFluid:!0},n.createElement(O_,{defaultValue:d,label:(0,Je.__)("Enable Display Advertising Support","ga_trans"),onClick:function(){h(!d),E("advertising",!d)},isFluid:!0}),n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("Note: Enabling this feature requires <link>updating your privacy policy</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://support.google.com/analytics/answer/2700409",isExternal:!0})}),icon:"InfoAlt",variation:"info",isFluid:!0}))),n.createElement(x_,{title:(0,Je.__)("Exclude Roles from Tracking","ga_trans"),description:(0,Je.__)("Choose which user roles you want to exclude from having their activity tracked when they're logged in and visiting the site.","ga_trans")},n.createElement(jC,{label:(0,Je.__)("User Roles","ga_trans")},p.length>0&&n.createElement(NC,{label:(0,Je.__)("Select Roles","ga_trans"),selected:z,options:p,isMultiSelect:!0,onChange:function(e,t){var n,r=p.map(function(e){var n;return uk(uk({},e),{},{isSelected:null!==(n=null==t?void 0:t.some(function(t){return t.id===e.id}))&&void 0!==n&&n})});m(r),k("exclude_roles",null!==(n=null==t?void 0:t.map(function(e){return e.id}))&&void 0!==n?n:[])}}))),!Xu&&n.createElement(n.Fragment,null,n.createElement(x_,{title:(0,Je.__)("Statistics in post types","ga_trans"),description:(0,Je.__)("Choose which post types you want to include the statistics meta box in. By default, it will only display on posts and pages.","ga_trans")},n.createElement(jC,{label:(0,Je.__)("Post Types","ga_trans")},v.length>0&&n.createElement(NC,{label:(0,Je.__)("Post Types","ga_trans"),selected:F,options:v,isMultiSelect:!0,onChange:function(e,t){var n,r=v.map(function(e){var n;return uk(uk({},e),{},{isSelected:null!==(n=null==t?void 0:t.some(function(t){return t.id===e.id}))&&void 0!==n&&n})});b(r),k("post_types",null!==(n=null==t?void 0:t.map(function(e){return e.id}))&&void 0!==n?n:[])}}))))))};function mk(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return gk(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)?gk(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 gk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var vk=function(){var e,t=bu.accounts,r=qE(),i=r.stats,a=r.isLoading,o=r.compareEnabled,s=r.periods,l=function(e,t){var r=Object.keys(t).map(function(r){var i=e[r],a=void 0;if("string"==typeof(null==i?void 0:i.trend)){var o=parseFloat(i.trend.replace("%",""));isNaN(o)||(a=o>0?"up":"down")}else"number"==typeof(null==i?void 0:i.trend)&&(a=i.trend>0?"up":"down");var s=t[r],l=s.label,c=s.color,u=s.variant,d=s.tooltip,h=s.link,f=s.defaultValue,p=(null==i?void 0:i.trend)?"string"==typeof i.trend?i.trend:"".concat(i.trend,"%"):void 0;return{id:r,label:l,value:i?i.value:f,change:p,changeType:p?a:void 0,color:c,variant:u,tooltip:(0,$d.createInterpolateElement)(d||"",{seconds:n.createElement("span",null,i?i.value:"0")}),link:h||!1,onClick:function(){}}});return r}((null==i?void 0:i.summary)||{},Yh),c=mk((0,n.useState)("sessions"),2),u=c[0],d=c[1],h=mk((0,n.useState)("blue"),2),f=h[0],p=h[1];return n.createElement(vE,{icon:"Chart",title:(0,Je.__)("Visitors","ga_trans"),hideMobileIcon:!0,_style:{width:"100%"}},n.createElement(n.Fragment,null,n.createElement(Vh,{_style:{display:"block"}},!id&&n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("A Google Analytics account hasn't been linked yet. To see statistics, <link>link an account.</link>","ga_trans"),{link:n.createElement(Wd,{href:t})}),icon:"InfoAlt",variation:"error",isFluid:!0,_style:{marginBottom:"24px"}}),id&&ld&&!a&&(e=i,0===Object.keys(e).length&&e.constructor===Object)&&n.createElement(Jc,{message:(0,Je.__)("There's no analytics data to display yet. Either you haven't had traffic to this site, or we don't have any data from the API yet. Please check back in a few hours.","ga_trans"),icon:"InfoAlt",variation:"info",isFluid:!0,_style:{marginBottom:"24px"}}),n.createElement(dC,{metricKey:u,variant:f,stats:i,periods:s,isLoading:a,compareEnabled:o})),n.createElement("div",{className:"beehive-metric-grid"},l.map(function(e){var t=e.id,r=e.label,i=e.value,o=e.change,s=e.changeType,l=e.color,c=e.variant,h=e.onClick,f=e.tooltip;return n.createElement(dp,{key:t,label:r,value:i,change:o,changeType:s,isLoading:a,color:l,tooltipText:f,onClick:function(){d(t),p(c),h()},isActive:t===u})}))))};function bk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var yk=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return bk(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)?bk(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.")}()}(n.useState("0"),2),t=e[0],r=e[1],i=function(){var e,t,n="stats/realtime",r=md({slug:n,baseURL:"v1"},{network:Xu}),i=r.data,a=r.isLoading,o=r.refetch,s=r.isRefetching,l=null===(e=null==i?void 0:i.data)||void 0===e?void 0:e.stats,c=(t=(null==l?void 0:l.devices)||{},{labels:Object.values(t).map(function(e){return e.device}),data:Object.values(t).map(function(e){return e.users})});return{stats:l,isLoading:a||s,slug:n,refetch:o,devicesLabels:c.labels,devicesData:c.data}}(),a=i.stats,o=i.refetch,s=i.isLoading,l=i.devicesLabels,c=i.devicesData,u=(null==a?void 0:a.total_simple)||"0";return(0,n.useEffect)(function(){r(u)},[a]),n.createElement(vE,{icon:"Clock",title:(0,Je.__)("Real-Time Visitors","ga_trans"),secondaryActions:n.createElement(Zc,{type:"secondary",colorScheme:"black",icon:"Refresh",isSmall:!0,isLoading:s,isDisabled:s,onClick:function(){o()}},(0,Je.__)("Reload","ga_trans")),hideMobileIcon:!0,className:"beehive-realtime",_style:{width:"100%"}},n.createElement(Vh,null,n.createElement($h,{direction:{default:"row",md:"column",sm:"column"},spacing:32,isFluid:!0},n.createElement($h,{spacing:12,alignItems:"center",justify:"center",className:"beehive-realtime-visitors"},s?n.createElement(cp,{size:{width:"100%",height:"85px"}}):n.createElement(n.Fragment,null,n.createElement("span",{className:"sui-heading--h1"},t),n.createElement("span",{className:"beehive-realtime-visitors__label"},(0,Je.__)("Visitors now","ga_trans")))),n.createElement($h,{spacing:12,alignItems:"center",justify:"center",isFluid:!0},s?n.createElement(cp,{size:{width:"100%",height:"85px"}}):n.createElement(wC,{labels:l.length>0?l:[(0,Je.__)("Desktop","ga_trans"),(0,Je.__)("Mobile","ga_trans"),(0,Je.__)("Tablet","ga_trans")],data:c.length>0?c:[0,0,0]})))))},Ck=function(e){var t=[],n=[];return e.forEach(function(e){t.push(e[0]),n.push(e[1])}),{labels:t,values:n}},_k=function(){var e=qE(),t=e.stats,r=e.isLoading,i=(null==t?void 0:t.mediums)||[],a=Ck(i),o=a.labels,s=a.values;return n.createElement(vE,{icon:"Reports",title:(0,Je.__)("Medium","ga_trans"),hideMobileIcon:!0,className:"beehive-medium",_style:{width:"100%"}},n.createElement(Vh,null,r&&n.createElement(cp,{size:{width:"100%",height:"24px"}}),!r&&!(null==i?void 0:i.length)&&n.createElement(Eh,{size:"md",className:"beehive-widget-no-info"},(0,Je.__)("No Information available.","ga_trans")),!r&&(null==i?void 0:i.length)>0&&n.createElement(CC,{dataValues:s,labels:o})))},wk=function(){var e=qE(),t=e.stats,r=e.isLoading,i=(null==t?void 0:t.search_engines)||[],a=Ck(i),o=a.labels,s=a.values;return n.createElement(vE,{icon:"Search",title:(0,Je.__)("Search Engine","ga_trans"),hideMobileIcon:!0,className:"beehive-search-engine",_style:{width:"100%"}},n.createElement(Vh,null,r&&n.createElement(cp,{size:{width:"100%",height:"24px"}}),!r&&!(null==i?void 0:i.length)&&n.createElement(Eh,{size:"md",className:"beehive-widget-no-info"},(0,Je.__)("No Information available.","ga_trans")),!r&&(null==i?void 0:i.length)>0&&n.createElement(CC,{dataValues:s,labels:o})))},xk=function(){var e=qE(),t=e.stats,r=e.isLoading,i=(null==t?void 0:t.social_networks)||[],a=Ck(i),o=a.labels,s=a.values;return n.createElement(vE,{icon:"Emoji",title:(0,Je.__)("Social Network","ga_trans"),hideMobileIcon:!0,className:"beehive-social-network",_style:{width:"100%"}},n.createElement(Vh,null,r&&n.createElement(cp,{size:{width:"100%",height:"24px"}}),!r&&!(null==i?void 0:i.length)&&n.createElement(Eh,{size:"md",className:"beehive-widget-no-info"},(0,Je.__)("No Information available.","ga_trans")),!r&&(null==i?void 0:i.length)>0&&n.createElement(CC,{dataValues:s,labels:o})))},Sk=i(666),Ek=(0,n.createContext)(null),kk=({children:e,props:t})=>{let[r,i]=(0,n.useState)([]),[a,o]=(0,n.useState)([]),[s,l]=(0,n.useState)([]),[c,u]=(0,n.useState)([]),[d,h]=(0,n.useState)([]),[f,p]=(0,n.useState)(!1),[m,g]=(0,n.useState)(!1),[v,b]=(0,n.useState)({column:"",order:"asc"}),{wrapperRef:y}=t??{},C=(0,n.useCallback)(()=>{let{scrollWidth:e,clientWidth:t}=y?.current??{};e&&t&&g(e>t)},[y]);(0,n.useEffect)(()=>{new ResizeObserver(C).observe(y?.current)},[C,y]);let _=(0,n.useCallback)((e,t=!1)=>{let n=[...a];switch(!0){case"select-all"===e:let r=s.filter(e=>!c.includes(e));n=t?r:[];break;case t:n.push(e);break;case!t:n.splice(n.indexOf(e),1)}o(n)},[s,a,c]),w=(0,n.useCallback)((e,t)=>{i({...r,[e]:t})},[r]),x=(0,n.useCallback)((e,n)=>{t?.onAction&&t?.onAction?.(e,n)},[t]),S=(0,n.useCallback)(()=>{x("apply-filters",r)},[r,x]),E=(0,n.useCallback)(()=>{i([]),x("clear-filters",[])},[x]);return(0,Ye.jsx)(Ek.Provider,{value:{...t,triggerAction:x,rows:s,setRows:l,disabledRows:c,setDisabledRows:u,columns:d,setColumns:h,selected:a,setSelected:o,onSelect:_,forceCollapse:f,setForceCollapse:p,filterValues:r,setFilter:w,sortBy:v,setSortBy:b,applyFilters:S,clearFilters:E,hasStickyCols:m,setHasStickyCols:g},children:e})},Mk=({id:e,filterBtnId:t,isExpanded:r,_htmlProps:i={},_style:a={}})=>{let o=(0,n.useContext)(Ek),s=o?.filters,{suiInlineClassname:l}=$a(a);if(!s)return null;let c=(e,t)=>(0,Ye.jsx)(jC,{id:e?.id??"",label:e?.title??"",isSmall:!0,children:{select:(0,Ye.jsx)(NC,{id:e?.id,...e?.props,selected:o?.filterValues?.[e?.id]}),text:(0,Ye.jsx)(eh,{id:e?.id??"",defaultValue:o?.filterValues?.[e?.id],onChange:t=>{"string"!=typeof t&&o?.setFilter(e?.id??"",t.target?.value)}})}[e.type]},t),u=(0,Ye.jsxs)("div",{className:"sui-table__toolbar-cta",children:[(0,Ye.jsx)(Zc,{type:"tertiary",colorScheme:"black",isSmall:!0,isDisabled:o?.filterValues?.length<=0,onClick:()=>o?.clearFilters(),children:"Clear filters"}),(0,Ye.jsx)(Zc,{type:"secondary",colorScheme:"black",isSmall:!0,isDisabled:o?.filterValues?.length<=0,onClick:()=>o?.triggerAction("apply-filters",o?.filterValues),children:"Apply filters"})]});return(0,Ye.jsx)("div",{id:e,"aria-labelledby":t,className:Ka("sui-table__toolbar-body",{expanded:r||!!o?.filtersPopover,inline:!o?.filtersPopover},l),...i,children:o?.filtersPopover?(0,Ye.jsxs)(n.Fragment,{children:[s?.map((e,t)=>c(e,t)),u]}):(0,Ye.jsxs)(Uh,{children:[(0,Ye.jsx)(Vh,{children:(0,Ye.jsx)(Bh,{align:{sm:"inline"},children:(s??[])?.map((e,t)=>(0,Ye.jsx)(Wh,{size:3,children:c(e,t)},t))})}),(0,Ye.jsx)(Vh,{isInline:!1,isFooter:!0,children:u})]})})},Ok=({id:e,_htmlProps:t,_style:r={}})=>{let[i,a]=(0,n.useState)(!1),[o,s]=(0,n.useState)(null),l=(0,n.useId)(),c=e||`sui-table-toolbar-${l}`,u=`${c}-filter-btn`,d=`${c}-body`,h=`${c}-bulk-dropdown`,{suiInlineClassname:f}=$a(r),p=(0,n.useContext)(Ek),m=p?.selected&&p?.selected?.length>0,g=(0,n.useCallback)(e=>{"string"!=typeof e&&p?.triggerAction("search-items",e?.target?.value),p?.setSelected([])},[p]),v=(0,n.useCallback)(()=>{p?.triggerAction("bulk-action",{...o,selectedRows:p?.selected})},[o,p]),b=(0,Ye.jsx)(Mk,{id:d,filterBtnId:u,isExpanded:i});return(0,Ye.jsxs)("div",{id:c,className:Ka("sui-table__toolbar",{},f),...t,children:[(0,Ye.jsxs)("div",{id:`${c}-header`,className:"sui-table__toolbar-header",children:[(0,Ye.jsx)("div",{id:`${c}-bulk`,className:"sui-table__toolbar-header-bulk",children:!!p?.bulkActions&&(0,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsx)(NC,{id:h,className:"sui-table__toolbar-actions",options:p?.bulkActions,isDisabled:!m,onChange:e=>s(e)}),(0,Ye.jsx)(Zc,{type:"primary",colorScheme:"black",isDisabled:!o||!m,onClick:v,children:"Apply"})]})}),(0,Ye.jsxs)("div",{id:`${c}-actions`,className:"sui-table__toolbar-header-actions",children:[p?.showToggleBtn&&(0,Ye.jsx)("div",{id:`${c}-toggle`,className:"sui-table__toolbar-toggle",children:(0,Ye.jsx)(O_,{id:`${c}-toggle-input`,...p?.toggleBtnProps,onClick:e=>{p?.setSelected([]),p?.toggleBtnProps?.onClick?.(e)}})}),(0,Ye.jsx)(eh,{id:`${c}-search`,className:"sui-table__toolbar-search",placeholder:"Search",onChange:g,icon:"Search",iconPosition:"start"}),p?.showFiltersBtn&&(0,Ye.jsx)(Ye.Fragment,{children:p?.filtersPopover?(0,Ye.jsx)(ih,{label:"Filter",className:"sui-table__toolbar-filter",buttonIcon:"Filter",placement:"left",colorScheme:"black",isFixedHeight:!1,menuCustomWidth:300,children:b}):(0,Ye.jsx)(Zc,{id:u,className:"sui-table__toolbar-filter",icon:"Filter",colorScheme:"black",type:"secondary",onClick:()=>a(!i),_htmlProps:{"aria-controls":d,"aria-expanded":i},children:"Filter"})})]})]}),!p?.filtersPopover&&b]})},jk=({id:e,children:t,hasToolbar:r=!0,ariaLabel:i="",allowCheck:a=!1,disableCheck:o=!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:v=!1,stickyCols:b=!1,className:y="",_htmlProps:C={},_style:_={}})=>{let w=(0,n.useRef)(null),x=(0,n.useRef)(null),S=(0,n.useId)(),E=e||`sui-table-${S}`,{suiInlineClassname:k}=$a(_,y),M=Ka("sui-table",{"no-border-radius":m,"no-side-borders":g,stripe:v,sticky:b,draggable:s},k),O="TableFooter",j=n.Children.toArray(t),T=j.find(({type:e})=>e.name===O);return(0,Ye.jsx)(kk,{props:{allowCheck:a,disableCheck:o,isDraggable:s,filters:h,onAction:f,bulkActions:p,filtersPopover:l,stickyCols:b,ref:w,wrapperRef:x,showFiltersBtn:c,showToggleBtn:u,toggleBtnProps:d},children:(0,Ye.jsxs)("div",{id:E,className:M,"data-testid":"table",children:[r&&(0,Ye.jsx)(Ok,{id:`${E}-toolbar`}),(0,Ye.jsx)("div",{id:`${E}-wrapper`,className:"sui-table__wrapper",ref:x,children:(0,Ye.jsx)("table",{id:`${E}-table`,className:"sui-table__table",ref:w,role:"treegrid",tabIndex:-1,cellSpacing:"0",cellPadding:"0",...!io(i??"")&&{"aria-label":i},...C,children:j?.filter(({type:e})=>O!==e.name)})}),!!T&&T]})})},Tk=e=>{let{id:t,children:r,_htmlProps:i}=e??{},a=(0,n.useId)(),o=t||`sui-table-body-${a}`,[s,l]=(0,n.useState)(n.Children.toArray(r)),[c,u]=(0,n.useState)([]),d=(0,n.useContext)(Ek),{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=n.Children.toArray(r),t=[],i=[];return e.forEach(e=>{if(e.type===n.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,n.useEffect)(()=>{let e=p();u(e)},[s]),(0,n.useEffect)(()=>{l(n.Children.toArray(r))},[r]),(0,n.useEffect)(()=>{let e=p();d?.setRows(e)},[r,c]);let m=(0,n.useCallback)(e=>{let{newIndex:t,oldIndex:n}=e,r=function(e,t,n){let r=[...e],[i]=r.splice(t,1);return r.splice(n,0,i),r}(c,n,t);d?.setForceCollapse(!1),d?.triggerAction("sort-rows",r),d?.setSortBy({column:"",order:"asc"})},[d,c]);return d?.isDraggable?(0,Ye.jsx)(Sk.ReactSortable,{tag:Pk,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,Ye.jsx)(n.Fragment,{children:e},e?.props?.id))}):(0,Ye.jsx)(Pk,{...e,id:o,_htmlProps:i,ref:e?.ref,children:r})},Pk=(0,n.forwardRef)(({id:e,_htmlProps:t,...n},r)=>(0,Ye.jsx)("tbody",{id:e,ref:r,...co(t),className:"sui-table__body",...n}));Pk.displayName="TableBodyTag";var Dk=({id:e,children:t,isHeading:r=!1,className:i="",hasDragIcon:a=!1,isAction:o=!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,n.useId)(),v=e||`sui-table-cell-${g}`,b=r?"th":"td",[y,C,_]=qa({}),{suiInlineClassname:w}=$a(m,i);t=Ba(t,"{cell children content}");let x=(0,n.useContext)(Ek),{sortBy:S,setSortBy:E,triggerAction:k,hasStickyCols:M}=x??{},O=(0,n.useRef)(null),j=Ka("sui-table__cell-btn",{hovered:y,focused:C}),T=e===S?.column?S?.order:"",P=(0,n.useCallback)(()=>{let t={column:e,order:"desc"===T?"asc":"desc"};E(t),k("sort-columns",t)},[e,T,E,k]),D=Hc.CaretUpDown,A=null;h&&(A=Hc[h]),!io(T)&&S?.column===e&&(D="desc"===T?Hc.CaretDown:Hc.CaretUp);let L={};s&&(L.role="button",L.tabIndex=0,L.className=j,L.onClick=P,L.onKeyDown=e=>oo(e,P),L={...L,..._});let I=f?100:d;return(0,Ye.jsxs)(b,{id:v,ref:O,className:Ka("sui-table__cell",{sortable:s,sticky:l,trim:c,primary:u,"is-sticky-active":M&&l,"is-group":f},w),...r&&{scope:"col"},role:r?"rowheader":"cell",...I&&{colSpan:I},...co(p),children:[a&&!f&&(0,Ye.jsx)(Hc.Grip,{id:`${v}-drag`,className:"sui-table__cell--drag",size:"sm"}),o?(0,Ye.jsxs)(n.Fragment,{children:[A&&(0,Ye.jsx)(A,{id:`${v}-pre-icon`,size:"xs"}),t,s&&!f&&(0,Ye.jsx)(D,{id:`${v}-sort-icon`,size:"xs"})]}):(0,Ye.jsxs)("div",{id:`${v}-sort-btn`,...L,children:[A&&(0,Ye.jsx)(A,{id:`${v}-pre-icon`,size:"sm"}),(0,Ye.jsx)("span",{children:t}),s&&!f&&(0,Ye.jsx)(D,{id:`${v}-sort-icon`,size:"xs"})]})]})},Ak=({children:e,_style:t={}})=>{let r=(0,n.useContext)(Ek),{columns:i}=r,a=i.find(e=>e.isPrimary),o=i.findIndex(e=>e.isPrimary),{suiInlineClassname:s}=$a(t);return(0,Ye.jsxs)("div",{className:Ka("sui-table__fields",{},s),children:[!!a&&!!o&&(0,Ye.jsx)("div",{className:"sui-table__fields-primary",children:e[o]?.props?.children?.props?.children}),(0,Ye.jsx)("div",{className:"sui-table__fields-items",children:i.map((t,n)=>o===n?null:(0,Ye.jsxs)("li",{className:"sui-table__fields-item",children:[(0,Ye.jsx)("div",{className:"sui-table__fields-item-title",children:t?.title}),(0,Ye.jsx)("div",{className:"sui-table__fields-item-value",children:e[n]?.props?.children?.props?.children})]},`column-${n}`))})]})},Lk=({id:e,children:t,actions:r,isUnderHeader:i=!1,isExpandable:a=!1,expandableContent:o=null,status:s,isUnderFooter:l=!1,isGroup:c=!1,isDisabled:u,_htmlProps:d={},_style:h={}})=>{let[f,p]=(0,n.useState)(!1),m=(0,n.useContext)(Ek),[g,v,b]=qa({}),{suiInlineClassname:y}=$a(h),C=`sui-table-row-${(0,n.useId)()}${e?`-${e}`:""}`,_=`${C}-content`,w=(0,n.useCallback)(t=>{let n=t?.target?.checked??!1,r=(i?"select-all":e)??"";m?.onSelect(r,n)},[m,e,i]);(0,n.useEffect)(()=>{m?.forceCollapse&&p(!1)},[m?.forceCollapse]);let x=(m?.selected??[])?.indexOf(parseInt(`${e}`))>-1,S=!(m?.rows?.length&&m?.rows?.length>0)||m?.disableCheck||u,E=!1;if(i){let e=(m?.rows?.length||0)-(m?.disabledRows?.length||0),t=e===m?.selected.length&&e>0;E=(m?.selected??[])?.length>0&&!t,x=t&&(m?.selected??[]).length>0}let k=Ka("sui-table__row",{focus:!l&&!i&&v,hover:!l&&!i&&g,expandable:a,expanded:f,"is-group":c,[s]:!io(s??"")},y),M=a&&(0,Ye.jsx)(Zc,{icon:f?"ChevronUp":"ChevronDown",colorScheme:"black",type:"tertiary",isSmall:!0,iconOnly:!0,onClick:()=>p(!f),children:(f?"Collapse":"Expand")+" Row"}),O=n.Children.count(t);m?.allowCheck&&(O+=1),r&&(O+=1);let j=m?.columns?.findIndex(e=>e.isPrimary);t=n.Children.toArray(t).map((e,t)=>{let r={hasDragIcon:!1,colSpan:e?.props?.colSpan||void 0};return 0===t&&(r.isSticky=!!m?.stickyCols,m?.isDraggable&&!m?.allowCheck&&!l&&!i&&(r.hasDragIcon=!0),m?.allowCheck||(r.style={left:0,paddingRight:"16px",...m?.isDraggable?{}:{paddingLeft:"32px"}})),l&&(r.isSticky=!1,r.hasDragIcon=!1,r.colSpan||(r.colSpan="100%")),j===t&&(r.isPrimary=!0),r._isGroup=c,(0,Ye.jsx)(n.Fragment,{children:(0,n.cloneElement)(e,r)},t)});let T={};return a&&(T.id=C,T["aria-expanded"]=f,T["aria-controls"]=_),(0,Ye.jsxs)(n.Fragment,{children:[(0,Ye.jsxs)("tr",{role:"row",className:k,...b,...co(d),...T,children:[m?.allowCheck&&!l&&!c&&(0,Ye.jsx)(Dk,{className:"sui-table__cell--selection",isSticky:!!m?.stickyCols,hasDragIcon:m?.isDraggable&&!i,children:(0,Ye.jsx)(Yd,{name:C,id:`${C}-checkbox`,isDisabled:S,onChange:w,isChecked:x,isIndeterminate:E})}),t,(!!r||M)&&!l&&!c&&(0,Ye.jsxs)(Dk,{className:"sui-table__cell--actions",isSticky:!!m?.stickyCols,isAction:!0,children:["function"==typeof r&&r({id:e,content:M}),!r&&M]})]}),a&&!!o&&f&&!c&&(0,Ye.jsx)("tr",{role:"row",className:Ka("sui-table__row",{content:!0,"content-expanded":f,[s]:!io(s??"")}),id:_,"aria-labelledby":C,tabIndex:f?0:-1,children:(0,Ye.jsxs)("td",{colSpan:O,children:[(0,Ye.jsx)(Ak,{children:t}),o]})})]})},Ik=({children:e,hasActions:t=!1,_htmlProps:r={},_style:i={}})=>{let{suiInlineClassname:a}=$a(i),o=n.Children.toArray(e),s=(0,n.useContext)(Ek),{setColumns:l}=s;return(0,n.useEffect)(()=>{if("props"in e){let{children:t}=e?.props??{};l(n.Children.map(t,e=>({title:e?.props?.children,isPrimary:e?.props?.isPrimary})))}},[e,l]),(0,Ye.jsx)("thead",{className:Ka("sui-table__head",{},a),...co(r),children:o.map((e,t)=>(0,n.cloneElement)(e,{...e?.props,isUnderHeader:!0,key:`table-col-${t}`}))})},Nk=({children:e,_htmlProps:t={},_style:r={}})=>{let{suiInlineClassname:i}=$a(r);return(0,Ye.jsx)("table",{className:"sui-table__table sui-table__table--footer",children:(0,Ye.jsx)("tfoot",{className:Ka("sui-table__footer",{},i),...co(t),children:n.Children.toArray(e).map((e,t)=>(0,n.cloneElement)(e,{...e?.props,isUnderFooter:!0,key:`table-footer-child-${t}`}))})})};function Rk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}Nk.displayName="TableFooter";var zk=function(){var e=qE(),t=e.stats,r=e.isLoading,i=((null==t?void 0:t.pages)||[]).map(function(e){var 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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Rk(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)?Rk(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.")}()}(e,4);return{page:t[0],avgTime:t[1],views:t[2],trend:t[3]}});return n.createElement(xE,{title:(0,Je.__)("Top Pages","ga_trans"),icon:"Form",isFullWidth:!0},r&&n.createElement(Vh,null,n.createElement(cp,{size:{width:"100%",height:"24px"}})),!r&&(!(null==i?void 0:i.length)||!ld)&&n.createElement(Vh,null,n.createElement(Eh,{size:"md",className:"beehive-widget-no-info"},(0,Je.__)("No Information available.","ga_trans"))),!r&&(null==i?void 0:i.length)>0&&n.createElement(jk,{hasToolbar:!1,noBorderRadius:!0,noSideBorder:!0,_style:{borderBottom:"0"}},n.createElement(Ik,{hasActions:!1},n.createElement(Lk,null,n.createElement(Dk,{isHeading:!0,isSortable:!1,isPrimary:!0,id:"most-visited"},(0,Je.__)("Most Visited","ga_trans")),n.createElement(Dk,{isHeading:!0,id:"average-time"},(0,Je.__)("Avg. time","ga_trans")),n.createElement(Dk,{isHeading:!0,id:"views"},(0,Je.__)("Views","ga_trans")),n.createElement(Dk,{isHeading:!0,id:"trend"},(0,Je.__)("Trend","ga_trans")))),n.createElement(Tk,null,i.map(function(e){var t=e.page,r=e.avgTime,i=e.views,a=e.trend;return n.createElement(Lk,{key:t},n.createElement(Dk,{isTrim:!0,_style:{maxWidth:"200px"}},n.createElement("span",{dangerouslySetInnerHTML:{__html:ep.sanitize(t,{ALLOWED_TAGS:["a"],ALLOWED_ATTR:["href","target","rel"]})}})),n.createElement(Dk,null,n.createElement(Eh,null,r)),n.createElement(Dk,null,n.createElement(Eh,null,i)),n.createElement(Dk,null,n.createElement(kh,{direction:"up",change:a})))}))))};const Fk=(e,t)=>{const{controls:n,toolbarItems:r,getChartEditor:i}=e;return t&&t.charts&&t.visualization&&t.visualization.ChartWrapper&&t.visualization.Dashboard&&(!n||t.visualization.ChartWrapper)&&(!i||t.visualization.ChartEditor)&&(!r||t.visualization.drawToolbar)};const Hk={legend_toggle:!1,options:{},legendToggle:!1,getChartWrapper:()=>{},spreadSheetQueryParameters:{headers:1,gid:1},rootProps:{},chartWrapperParams:{},chartLoaderScriptUrl:"https://www.gstatic.com/charts/loader.js"},$k=e=>{const{isReady:t,chartControls:r,filter:i}=e;return t&&r&&r?.length?n.createElement(n.Fragment,null,r.filter(e=>{let{controlProp:t,control:n}=e;return!i||i({control:n,controlProp:t})}).map(e=>{let{control:t}=e;return n.createElement("div",{key:t.getContainerId(),id:t.getContainerId()})})):null};let Vk=0;const Uk=()=>(Vk+=1,`reactgooglegraph-${Vk}`);class Bk{static initializeControls=e=>{for(let t=0;t<e.length;t+=1){const{controlType:n,options:r,controlWrapperParams:i}=e[t].controlProp;i&&"state"in i&&e[t].control.setState(i.state),e[t].control.setOptions(r),e[t].control.setControlType(n)}};static listenToControlEvents=(e,t)=>{const{google:n}=t;return e.flatMap(e=>{const{control:r,controlProp:i}=e,{controlEvents:a=[]}=i;return a.map(e=>{const{callback:i,eventName:a}=e;return n.visualization.events.addListener(r,a,function(){for(var e=arguments.length,a=new Array(e),o=0;o<e;o++)a[o]=arguments[o];i({chartWrapper:null,controlWrapper:r,props:t,google:n,eventArgs:a})})})})};static createControlId=e=>{let t;return t=void 0===e?`googlechart-control-${Uk()}`:e,t};static createChartControls=e=>{const{controls:t,google:n}=e;return t?t.map((e,t)=>{const{controlID:r,controlType:i,options:a,controlWrapperParams:o}=e,s=this.createControlId(r);return{controlProp:e,control:new n.visualization.ControlWrapper({containerId:s,controlType:i,options:a,...o})}}):null};static addControls=e=>{const{chartWrapper:t,chartDashboard:n}=e,r=this.createChartControls(e);return r&&n&&t?(n.bind(r.map(e=>{let{control:t}=e;return t}),t),this.initializeControls(r),r):null}}const Wk=["#3366CC","#DC3912","#FF9900","#109618","#990099","#3B3EAC","#0099C6","#DD4477","#66AA00","#B82E2E","#316395","#994499","#22AA99","#AAAA11","#6633CC","#E67300","#8B0707","#329262","#5574A6","#3B3EAC"];class Zk{static grayOutHiddenColumnsLabel=(e,t)=>{const{googleChartWrapper:n,options:r}=e;if(!n)return void console.error("googleChartWrapper is not defined");const i=n.getDataTable();if(!i)return;const a=i.getNumberOfColumns();if(!1==t.length>0)return;const o=Array.from({length:a-1}).map((e,n)=>{const a=this.getColumnId(i,n+1);return t.includes(a)?"#CCCCCC":r&&r.colors?r.colors[n]:Wk[n]});n.setOptions({...r,colors:o}),n.draw()};static listenToLegendToggle=(e,t)=>{const[n,r]=t,{google:i,googleChartWrapper:a}=e;if(a)return i.visualization.events.addListener(a,"select",()=>{const e=a.getChart().getSelection(),t=a.getDataTable();if(0===e.length||null!==e[0].row||!t)return;const i=e[0].column,o=this.getColumnId(t,i);n?.includes(o)?r(e=>[...e.filter(e=>e!==o)]):r(e=>[...e,o])});console.error("googleChartWrapper is not defined")};static draw=async e=>{const{data:t,diffdata:n,rows:r,columns:i,options:a,chartType:o,formatters:s,spreadSheetUrl:l,spreadSheetQueryParameters:c,googleChartDashboard:u,googleChartWrapper:d,google:h,hiddenColumns:f,legendToggle:p,legend_toggle:m}=e;if(!d)return void console.error("draw was called with googleChartWrapper = null");let g,v=null;if(n){const e=h.visualization.arrayToDataTable(n.old),t=h.visualization.arrayToDataTable(n.new);v=h.visualization[o].prototype.computeDiff(e,t)}g=t?t instanceof h.visualization.DataTable?t:Array.isArray(t)?h.visualization.arrayToDataTable(t):new h.visualization.DataTable(t):r&&i?h.visualization.arrayToDataTable([i,...r]):l?await async function(e,t){let n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{};return new Promise((r,i)=>{const a=n.headers?`headers=${n.headers}`:"headers=0",o=n.query?`&tq=${encodeURIComponent(n.query)}`:"",s=n.gid?`&gid=${n.gid}`:"",l=n.sheet?`&sheet=${n.sheet}`:"",c=n.access_token?`&access_token=${n.access_token}`:"",u=`${t}/gviz/tq?${a}${s}${l}${o}${c}`;new e.visualization.Query(u).send(e=>{e.isError()?i(`Error in query:  ${e.getMessage()} ${e.getDetailedMessage()}`):r(e.getDataTable())})})}(h,l,c):h.visualization.arrayToDataTable([]);const b=g.getNumberOfColumns(),y=Array(b).fill(0).map((e,t)=>{const n=this.getColumnId(g,t);return f.includes(n)?{label:g.getColumnLabel(t),type:g.getColumnType(t),calc:()=>null}:t}),C=d.getChart();"Timeline"===d.getChartType()&&C&&C.clearChart(),d.setChartType(o),d.setOptions(a||{});const _=new h.visualization.DataView(g);_.setColumns(y),d.setDataTable(_),d.draw(),u&&u.draw(g),v&&(d.setDataTable(v),d.draw()),s&&(this.applyFormatters({dataTable:g,formatters:s,google:h}),d.setDataTable(g),d.draw()),!0!==p&&!0!==m||this.grayOutHiddenColumnsLabel(e,f)};static getColumnId=(e,t)=>e.getColumnId(t)||e.getColumnLabel(t);static applyFormatters=e=>{let{dataTable:t,formatters:n,google:r}=e;for(let e of n)switch(e.type){case"ArrowFormat":return void new r.visualization.ArrowFormat(e.options).format(t,e.column);case"BarFormat":return void new r.visualization.BarFormat(e.options).format(t,e.column);case"ColorFormat":{const n=new r.visualization.ColorFormat(e.options),{ranges:i}=e;if(i)for(let e of i)n.addRange(...e);return void n.format(t,e.column)}case"DateFormat":return void new r.visualization.DateFormat(e.options).format(t,e.column);case"NumberFormat":return void new r.visualization.NumberFormat(e.options).format(t,e.column);case"PatternFormat":return void new r.visualization.PatternFormat(e.options).format(t,e.column);default:return void console.warn(`Unknown formatter type: ${e.type}`)}}}const qk=e=>{const[t,r]=n.useState(null),[i,a]=n.useState(null),{addControls:o,renderControl:s}=(e=>{const[t,r]=(e=>{const[t,r]=n.useState(null),i=n.useMemo(()=>t&&e?e.map((e,n)=>{const r=t[n];return r?{controlProp:e,control:r}:void 0}).flatMap(e=>e?[e]:[]):null,[t,e]);return[i,r]})(e.controls);return((e,t)=>{n.useEffect(()=>{const n=Bk.listenToControlEvents(e??[],t);return()=>{n.forEach(e=>{t.google.visualization.events.removeListener(e)})}},[e,t])})(t??[],e),{addControls:e=>{const t=Bk.addControls(e);r(t?.map(e=>e.control)??null)},renderControl:r=>{const{chartWrapper:i,chartDashboard:a}=e;return n.createElement($k,{...e,isReady:Boolean(i&&a),chartControls:t,filter:r})}}})({...e,chartDashboard:i,chartWrapper:t});(e=>{(0,n.useEffect)(()=>{if(!e.googleChartWrapper)return;const t=(e=>{const{chartEvents:t,google:n,googleChartWrapper:r}=e;if(t){if(r)return t.map(t=>{let{eventName:i,callback:a}=t;return n.visualization.events.addListener(r,i,function(){for(var t=arguments.length,i=new Array(t),o=0;o<t;o++)i[o]=arguments[o];a({chartWrapper:r,props:e,google:n,eventArgs:i})})});console.warn("listenToEvents was called before chart wrapper ready.")}})(e);return()=>{t?.forEach(t=>{e.google.visualization.events.removeListener(t)})}},[e])})({...e,googleChartWrapper:t});const{chartId:l}=(e=>{const t=n.useRef(null);return{chartId:(()=>{const{graphID:n,graph_id:r}=e;let i;return i=n||r||t.current||Uk(),t.current=i,t.current})()}})(e),c=n.useRef(null),u=n.useRef(null);n.useEffect(()=>{const{options:t,google:n,chartType:i,chartWrapperParams:s,toolbarItems:d,getChartEditor:h,getChartWrapper:f,onLoad:p}=e,m={chartType:i,options:t,containerId:l,...s},g=new n.visualization.ChartWrapper(m);g.setOptions(t||{}),f?.(g,n);const v=new n.visualization.Dashboard(c.current);d&&n.visualization.drawToolbar(u.current,d);let b=null;h&&(b=new n.visualization.ChartEditor,h({chartEditor:b,chartWrapper:g,google:n})),o({...e,chartDashboard:v,chartWrapper:g}),r(g),a(v),p?.(n,{google:n,chartWrapper:g,chartEditor:b,chartDashboard:v})},[]),(e=>{const{google:t,googleChartWrapper:r,googleChartDashboard:i}=e,[a,o]=n.useState([]);n.useEffect(()=>{r&&Zk.draw({...e,hiddenColumns:a,googleChartWrapper:r,googleChartDashboard:i,google:t})},[a,e.data,e.rows,e.columns,e.options,e.chartLoaderScriptUrl,e.chartType,e.formatters,e.spreadSheetUrl,e.spreadSheetQueryParameters,e.legendToggle,e.legend_toggle]);const s=()=>{const{googleChartWrapper:t}=e;t&&t.draw()},l=n=>{const r=[],{legendToggle:l,legend_toggle:c}=e;if(Zk.draw({...e,hiddenColumns:a,googleChartWrapper:n,googleChartDashboard:i,google:t}),window.addEventListener("resize",s),c||l){const t=Zk.listenToLegendToggle(e,[a,o]);t&&r.push(t)}return r},c=(e,n)=>{window.removeEventListener("resize",s),n.forEach(e=>{t.visualization.events.removeListener(e)}),"Timeline"===e.getChartType()&&e.getChart()&&e.getChart().clearChart()};n.useEffect(()=>{if(!r)return;const e=l(r);return()=>{c(r,e)}},[r,l,c])})({...e,googleChartWrapper:t,googleChartDashboard:i});const d=()=>{const{width:t,height:r,options:i,style:a,className:o,rootProps:s,google:c}=e,u={height:r||i&&i.height,width:t||i&&i.width,...a};return n.createElement("div",{id:l,style:u,className:o,...s})},h=()=>e.toolbarItems?n.createElement("div",{ref:u}):null,{width:f,height:p,options:m,style:g}=e,v={height:p||m&&m.height,width:f||m&&m.width,...g};return e.render?n.createElement("div",{ref:c,style:v},n.createElement("div",{ref:u,id:"toolbar"}),e.render({renderChart:d,renderControl:s,renderToolbar:h})):n.createElement("div",{ref:c,style:v},s(e=>{let{controlProp:t}=e;return"bottom"!==t.controlPosition}),d(),s(e=>{let{controlProp:t}=e;return"bottom"===t.controlPosition}),h())},Gk=n.createContext(Hk),Yk=e=>{let{children:t,value:r}=e;return n.createElement(Gk.Provider,{value:r},t)},Qk=e=>{const{google:t,isLoading:r,error:i}=function(e){const{chartVersion:t="current",chartPackages:r=["corechart","controls"],chartLanguage:i="en",mapsApiKey:a}=e,[o,s]=(0,n.useState)(null),[l,c]=(0,n.useState)(null),[u,d]=(0,n.useState)(null),{isLoading:h,error:f,isSuccess:p}=function(e){const[t,r]=(0,n.useState)(!0),[i,a]=(0,n.useState)(null),[o,s]=(0,n.useState)(!1),l=()=>{r(!1),s(!0)};return(0,n.useEffect)(()=>{if(!document){const t=new Error(`[ScriptLoadingError] document not defined when attempting to load ${e}`);return void a(t)}const t=document.querySelector(`script[src="${e}"]`);if(t?.dataset.loaded)return void l();const n=t||document.createElement("script");t||(n.src=e),n.addEventListener("load",()=>{n.dataset.loaded="1",l()}),n.addEventListener("error",t=>{console.error("Failed to load script:",e,t);const n=new Error(`[ScriptLoadingError] Failed to load script: ${e}`);a(n)}),t||document.head.append(n)},[]),{isLoading:t,error:i,isSuccess:o}}(e.chartLoaderScriptUrl||"https://www.gstatic.com/charts/loader.js");return(0,n.useEffect)(()=>{if(!p)return;const n=window.google;if(!(e=>e&&e.charts)(n)){const e=new Error("[ScriptInitializationError] Script loaded but Google not attached to window.");return void c(e)}Fk(e,n)?s(n):(n.charts.load(t,{packages:r,language:i,mapsApiKey:a}),n.charts.setOnLoadCallback(()=>{if(!Fk(e,n)){const e=new Error("[GoogleChartsInitializationError] Google Charts not ready after load callback.");return console.error(e),void d(e)}s(n)}))},[p]),{error:f||l||u,isLoading:h,google:o}}(e);return r?e.loader??null:i?e.errorElement??null:t?n.createElement(qk,{google:t,...e}):null},Kk=e=>{const t={...Hk,...e};return n.createElement(Yk,{value:t},n.createElement(Qk,t))};var Xk;function Jk(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}!function(e){e.annotation="annotation",e.annotationText="annotationText",e.certainty="certainty",e.emphasis="emphasis",e.interval="interval",e.scope="scope",e.style="style",e.tooltip="tooltip",e.domain="domain"}(Xk||(Xk={}));var eM=function(e){var t,n=[(0,Je.__)("Country","ga_trans"),(0,Je.__)("Sessions","ga_trans"),{role:"tooltip",type:"string",p:{html:!0}}],r=e.map(function(e){var t=e[0],n=e[1],r=e[2],i=function(e,t,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:(0,Je.__)("Sessions","ga_trans");return'\n    <div class="beehive-flag-container">\n      <span class="beehive-flag beehive-flag--alt beehive-flag-'.concat(t,'"></span>\n      <span>').concat(e,'</span>\n      <strong class="beehive-flag-label">').concat(n," ").concat(r,"</strong>\n    </div>\n  ")}(t,n,r);return[t,r,i]});return[n].concat(function(e){if(Array.isArray(e))return Jk(e)}(t=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(t)||function(e,t){if(e){if("string"==typeof e)return Jk(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)?Jk(e,t):void 0}}(t)||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.")}())},tM=function(){var e=qE(),t=e.stats,r=e.isLoading,i=(null==t?void 0:t.countries)||[],a=eM(i),o=function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:2,n=0;return e.forEach(function(e){var r=e[t];n+=r}),n}(i);return n.createElement(xE,{title:(0,Je.__)("Top Countries","ga_trans"),icon:"Globe",isFullWidth:!0},n.createElement(Vh,null,r&&n.createElement(cp,{size:{width:"100%",height:"24px"}}),!r&&!(null==i?void 0:i.length)&&n.createElement(Eh,{size:"md",className:"beehive-widget-no-info"},(0,Je.__)("No Information available.","ga_trans")),!r&&(null==i?void 0:i.length)>0&&n.createElement($h,{spacing:24,isFluid:!0},n.createElement(Kk,{chartType:"GeoChart",data:a,options:{colorAxis:{colors:["#B3CDFF","#99BDFF","#669BFF","#0059FF","#0047CC"]},tooltip:{isHtml:!0},legend:"none",backgroundColor:"#F2F2F2",datalessRegionColor:"#CCCCCC",defaultColor:"#f5f5f5"},width:"100%",height:"220px"}),n.createElement("table",{className:"beehive-top-countries"},n.createElement("tbody",null,i.map(function(e){var t=e[0],r=e[1],i=e[2];return n.createElement(lp,{key:r,countryName:t,countryCode:r,value:i,total:o})}))))))},nM=function(e){var t;if(Xu||nd||td)return!0;var n=null===(t=window.beehiveModuleVars)||void 0===t?void 0:t.stats_permissions;if(null==n?void 0:n.has_custom_cap)return!0;var r=null==n?void 0:n.statistics;return!(!Array.isArray(r)||r.length<=0)&&r.includes(e)},rM=function(){var e=nM("visitors"),t=nM("pages"),r=nM("countries"),i=nM("mediums"),a=nM("search_engines"),o=nM("social_networks");return n.createElement($h,{spacing:32,isFluid:!0,_style:{width:"100%"}},n.createElement($h,{spacing:32,isFluid:!0},e&&n.createElement(vk,null),n.createElement(yk,null)),n.createElement($h,{spacing:32,direction:{default:"row",lg:"column",md:"column",sm:"column"},isFluid:!0},n.createElement($h,{spacing:32,isFluid:!0,className:"beehive-stats-widget-grid"},i&&n.createElement(_k,null),a&&n.createElement(wk,null),r&&n.createElement(tM,null)),n.createElement($h,{spacing:32,isFluid:!0,className:"beehive-stats-widget-grid"},o&&n.createElement(xk,null),t&&n.createElement(zk,null))))};function iM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var aM=sd?[{id:"statistics",title:(0,Je.__)("Statistics","ga_trans")},{id:"account",title:(0,Je.__)("Account","ga_trans")},{id:"settings",title:(0,Je.__)("Settings","ga_trans")}]:[{id:"account",title:(0,Je.__)("Account","ga_trans")},{id:"settings",title:(0,Je.__)("Settings","ga_trans")}],oM=function(){var e,t,r=ae(),i=ie(),a=sd?"statistics":"account",o=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return iM(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)?iM(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,n.useState)(a),2),s=o[0],l=o[1],c=VE().isLoading;(0,n.useEffect)(function(){var e,t=(null!=r?r:{id:a}).id;l(null!==(e=t)&&void 0!==e?e:a)},[]);var u=sd?{statistics:n.createElement(rM,null),account:n.createElement(sk,null),settings:n.createElement(pk,null)}:{account:n.createElement(sk,null),settings:n.createElement(pk,null)},d=null===(t=null===(e=aM.filter(function(e){return e.id===s}))||void 0===e?void 0:e[0])||void 0===t?void 0:t.title;return n.createElement(n.Fragment,null,c&&n.createElement(Vc,{isContained:!0}),!c&&n.createElement(n.Fragment,null,n.createElement(XE,{activeTab:s,showStatisticsControls:"statistics"===s}),n.createElement(Vh,{className:"beehive-ga-content"},n.createElement(Bh,{align:{md:"inline"}},n.createElement(Wh,{size:{xl:2,md:3}},n.createElement(GE,null,null==aM?void 0:aM.map(function(e){var t=e.title,r=e.id;return n.createElement(QE,{key:r,title:t,isActive:r===s,onClick:function(){l(r),i("/".concat(r))}})})),n.createElement(YE,{selectedItemName:d,_style:{zIndex:1}},null==aM?void 0:aM.map(function(e){var t=e.title,r=e.id;return n.createElement(QE,{key:r,title:t,onClick:function(){l(r),i("/".concat(r))}})}))),n.createElement(Wh,{size:{xl:10,md:9},_style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"}},u[s])))))},sM=function(){return React.createElement($E,null,React.createElement(ZE,null,React.createElement(oM,null)))},lM=function(){return React.createElement($E,null,React.createElement(ZE,null,React.createElement(XE,{activeTab:"statistics",showStatisticsControls:!0}),React.createElement(Mh,{className:"beehive-ga-content"},React.createElement(rM,null))))};function cM(e){return cM="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},cM(e)}function uM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function dM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?uM(Object(n),!0).forEach(function(t){hM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):uM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function hM(e,t,n){return(t=function(e){var t=function(e){if("object"!=cM(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=cM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==cM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function fM(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return pM(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)?pM(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 pM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var mM=(0,n.createContext)(void 0),gM=function(e){var t=e.children,r=fM((0,n.useState)({}),2),i=r[0],a=r[1],o=fM((0,n.useState)((0,Je.__)("GTM configuration has been saved.","ga_trans")),2),s=o[0],l=o[1],c=JC({saveSuccessMsg:s}),u=c.getField,d=c.isLoading,h=c.save,f=c.isSaving,p=u("gtm"),m=d;return(0,n.useEffect)(function(){a(p||{})},[p]),n.createElement(mM.Provider,{value:{gtm:i,isLoading:m,isSaving:f,updateGTM:function(e,t){a(function(n){return dM(dM({},n),{},hM({},e,t))})},getGTMField:function(e){return null==i?void 0:i[e]},saveSuccessMsg:s,setSaveSuccessMsg:l,save:h}},t)},vM=function(){var e=(0,n.useContext)(mM);if(!e)throw new Error("useGTM must be used within a GTMProvider");return e};function bM(e){return bM="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},bM(e)}function yM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function CM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?yM(Object(n),!0).forEach(function(t){_M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):yM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function _M(e,t,n){return(t=function(e){var t=function(e){if("object"!=bM(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=bM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==bM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var wM=(0,n.forwardRef)(function(e,t){var r=e.close,i=vM(),a=i.save,o=i.isSaving,s=i.gtm,l=i.updateGTM,c=i.setSaveSuccessMsg;return n.createElement(H_,{id:"deactivate-modal",ref:t},n.createElement($_,{title:(0,Je.__)("Deactivate Google Tag Manager","ga_trans")}),n.createElement(V_,null,n.createElement($h,{spacing:16},n.createElement(Eh,null,(0,Je.__)("Google Tag Manager will no longer be installed on your website. Are you sure you want to deactivate it?","ga_trans")))),n.createElement(U_,null,n.createElement(Zc,{type:"secondary",colorScheme:"black",onClick:r},(0,Je.__)("Cancel","ga_trans")),n.createElement(Zc,{icon:"PowerOff",type:"primary",colorScheme:"blue",isDisabled:o,isLoading:o,onClick:function(){c((0,Je.__)("GTM has been deactivated.","ga_trans")),l("active",!1),a.mutate({group:"gtm",value:CM(CM({},s),{},{active:!1})}),null==r||r()}},(0,Je.__)("Deactivate","ga_trans"))))});function xM(e){return xM="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},xM(e)}function SM(){return SM=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},SM.apply(null,arguments)}function EM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function kM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?EM(Object(n),!0).forEach(function(t){MM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):EM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function MM(e,t,n){return(t=function(e){var t=function(e){if("object"!=xM(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=xM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function OM(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return jM(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)?jM(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 jM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var TM=function(e){var t=e.openDeactivateModal,r=void 0===t?function(){}:t,i=OM((0,n.useState)(""),2),a=i[0],o=i[1],s=OM((0,n.useState)(!1),2),l=s[0],c=s[1],u=vM(),d=u.save,h=u.isSaving,f=u.getGTMField,p=u.gtm,m=u.updateGTM,g=u.setSaveSuccessMsg,v=f("container"),b=p,y=OM(Ua([{pattern:"^(?:GTM-[A-Z0-9]{1,8})?$",message:(0,Je.__)("Please enter a valid Google Tag Manager Container ID.","ga_trans")}],{validateOnMount:!1}),2),C=y[0],_=y[1];return(0,n.useEffect)(function(){o(v||""),c(!1)},[v]),n.createElement(C_,{hasLargeRadius:!0,title:(0,Je.__)("Google Tag Manager","ga_trans"),description:(0,Je.__)("Place the Container ID on your website to easily start tracking and managing your tags in the Tag Manager interface.","ga_trans"),footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:h,isDisabled:h,onClick:function(){c(!0),C.isError||(g((0,Je.__)("GTM configuration has been saved.","ga_trans")),m("container",a),d.mutate({group:"gtm",value:kM(kM({},b),{},{container:a})}))}},(0,Je.__)("Save settings","ga_trans")),n.createElement(Zc,{key:1,type:"secondary",colorScheme:"black",icon:"PowerOff",onClick:function(){r()}},(0,Je.__)("Deactivate","ga_trans"))],isFluid:!0},n.createElement(x_,{title:(0,Je.__)("Container ID","ga_trans"),description:(0,Je.__)("Copy and paste your Google Tag Manager container ID to add it to your website.","ga_trans")},n.createElement($h,{spacing:16,isFluid:!0},n.createElement(jC,{label:(0,Je.__)("GTM ID","ga_trans"),helper:a?(0,Je.__)("This tracking ID is being output in the <head> section of your pages.","ga_trans"):(0,$d.createInterpolateElement)((0,Je.__)("Having trouble finding your GTM ID? Go to the <link>help center</link> and follow the steps.","ga_trans"),{link:n.createElement(Wd,{href:"https://support.google.com/tagmanager/answer/6103696",isExternal:!0})})},n.createElement(eh,SM({defaultValue:a||"",placeholder:(0,Je.__)("GTM-XXXXXXX","ga_trans"),onChange:function(e){o(e.target.value),c(!1)},isError:l&&C.isError},_))),l&&C.isError&&n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("Whoops, looks like that's an invalid container ID. Double-check you have your <link>Google Tag Manager ID</link> and try again.","ga_trans"),{link:n.createElement(Wd,{href:"https://tagmanager.google.com/",isExternal:!0})}),icon:"InfoAlt",variation:"error",isFluid:!0}))))},PM=(0,n.createContext)(null),DM=({children:e,activeIndex:t,onSwitchTab:r})=>{let[i,a]=(0,n.useState)(t??0),o=`sui-tab-${(0,n.useId)()}`,s=(0,n.useCallback)(e=>{a(e),"function"==typeof r&&r(e,o)},[o,r]);return(0,n.useEffect)(()=>{a(t??0)},[t]),(0,Ye.jsx)(PM.Provider,{value:{id:o,currentIndex:i,switchTab:s},children:e})},AM=({id:e,className:t,children:r,_htmlProps:i,_style:a={},...o})=>{let s=(0,n.useId)(),l=e||`sui-tabs-${s}`,{suiInlineClassname:c}=$a(a,t),u=Ka("sui-tab",{},c);return r=Ba(r),(0,Ye.jsx)(DM,{onSwitchTab:o?.onSwitchTab,activeIndex:o?.activeIndex,children:(0,Ye.jsx)("div",{id:l,className:u,...co(i),"data-testid":"tabs",children:r})})},LM=({id:e,children:t,_style:r={},_htmlProps:i,isNarrow:a=!1})=>{let o=(0,n.useId)(),s=e||`sui-tab-nav-${o}`,{containerRef:l,isScrollableLeft:c,isScrollableRight:u,scroll:d}=bi({scrollOffset:50}),{suiInlineClassname:h}=$a(r),f=Ka("sui-tab__nav",{narrow:a},h);return(0,Ye.jsxs)("div",{id:s,className:f,role:"tablist","aria-orientation":"horizontal",...co(i),children:[c&&(0,Ye.jsx)("button",{id:`${s}-scroll-left`,className:"sui-tab__arrow sui-tab__arrow--left",onClick:()=>d("left"),children:(0,Ye.jsx)(El,{id:`${s}-scroll-left-icon`,size:"sm"})}),(0,Ye.jsx)("div",{id:`${s}-navitems`,className:"sui-tab__navitems",ref:l,children:n.Children.map(t,(e,t)=>(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{id:`${t}`}):null)}),u&&(0,Ye.jsx)("button",{id:`${s}-scroll-right`,className:"sui-tab__arrow sui-tab__arrow--right",onClick:()=>d("right"),children:(0,Ye.jsx)(kl,{id:`${s}-scroll-right-icon`,size:"sm"})})]})},IM=({id:e,icon:t,stateIcon:r,stateIconColor:i,children:a,isDisabled:o=!1,onClick:s,_htmlProps:l={},_style:c={}})=>{let u=(0,n.useContext)(PM),d=u?.id;a=Ba(a,"Nav Item");let h=u?.currentIndex===parseInt(e),f=(0,n.useCallback)(()=>{u?.switchTab(parseInt(e)),s?.()},[e,u,s]),p={InfoAlt:Lo,CheckAlt:Ro}[r??""],[m,g,v]=qa({}),{suiInlineClassname:b}=$a(c);return(0,Ye.jsxs)("button",{id:`${d}--tab-${e}`,"data-index":e,role:"tab",type:"button",className:Ka("sui-tab__nav-item",{active:h,hover:m,focus:g&&!h,disabled:o},b),"aria-selected":h,"aria-controls":`${d}--panel-${e}`,tabIndex:o?-1:0,onClick:f,...o&&{disabled:!0},...v??{},...co(l),children:[!!t&&t,a,!!r&&(0,Ye.jsx)(p,{colorScheme:i,size:"sm"})]})},NM=({children:e,_style:t={},_htmlProps:r={}})=>{let{suiInlineClassname:i}=$a(t);return(0,Ye.jsx)("div",{className:Ka("sui-tab__panel",{},i),...co(r),children:n.Children.map(e,(e,t)=>(0,n.isValidElement)(e)?(0,n.cloneElement)(e,{id:`${t}`}):null)})},RM=({children:e,id:t,isDisabled:r=!1,_htmlProps:i={},_style:a={}})=>{let o=(0,n.useContext)(PM),s=o?.id,l=o?.currentIndex===parseInt(t),{suiInlineClassname:c}=$a(a);return e=Ba(e,"Tab panel item"),(0,Ye.jsx)("div",{role:"tabpanel",id:`${s}--panel-${t}`,"aria-labelledby":`${s}--tab-${t}`,tabIndex:l?0:-1,className:Ka("sui-tab__panel-item",{active:l,disabled:r},c),...co(i),children:e})};function zM(e){return zM="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},zM(e)}function FM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function HM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?FM(Object(n),!0).forEach(function(t){$M(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):FM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function $M(e,t,n){return(t=function(e){var t=function(e){if("object"!=zM(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=zM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==zM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function VM(e,t){if(e){if("string"==typeof e)return UM(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)?UM(e,t):void 0}}function UM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var BM=function(){var e=vM(),t=e.getGTMField,r=e.updateGTM,i=t("custom"),a=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||VM(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)([]),2),o=a[0],s=a[1],l=function(e,t,n){var i=o.map(function(r){return r.id===e?HM(HM({},r),{},$M({},t,n)):r});s(i),r("custom",i)};return(0,n.useEffect)(function(){s(i||[])},[i]),n.createElement(n.Fragment,null,n.createElement(Vh,null,n.createElement(Eh,null,(0,$d.createInterpolateElement)((0,Je.__)("Add global variables that will show on all pages. To see some examples, please visit the <link>Google Tag Manager Reference.</link>","ga_trans"),{link:n.createElement("a",{href:"https://developers.google.com/tag-manager/devguide",target:"_blank",rel:"noreferrer"})}))),n.createElement(jk,{hasToolbar:!1,noBorderRadius:!0,noSideBorder:!0,_style:{borderBottom:"0"}},n.createElement(Ik,{hasActions:!0},n.createElement(Lk,{actions:function(){return null}},n.createElement(Dk,{isHeading:!0,isSortable:!1,isPrimary:!0,id:"custom-variable"},(0,Je.__)("Variable","ga_trans")),n.createElement(Dk,{isHeading:!0,id:"custom-name"},(0,Je.__)("Custom name","ga_trans")))),n.createElement(Tk,null,0===o.length?n.createElement(Lk,{isUnderFooter:!0},n.createElement(Dk,null,n.createElement($h,{spacing:8,direction:"row",alignItems:"center",justify:"center"},(0,Je.__)("No variables added yet. Please add variable using the button below.","ga_trans")))):o.map(function(e){var t=e.id,i=e.name,a=e.value;return n.createElement(Lk,{key:t},n.createElement(Dk,null,n.createElement(jC,{id:"custom-variable-".concat(t)},n.createElement(eh,{placeholder:(0,Je.__)("Name","ga_trans"),defaultValue:i,onChange:function(e){return l(t,"name",e.target.value)}}))),n.createElement(Dk,null,n.createElement(jC,{id:"custom-variable-name-".concat(t)},n.createElement(eh,{placeholder:(0,Je.__)("Value","ga_trans"),defaultValue:a,onChange:function(e){return l(t,"value",e.target.value)}}))),n.createElement(Dk,null,n.createElement(Zc,{type:"tertiary",icon:"Close",iconOnly:!0,colorScheme:"black",onClick:function(){return function(e){var t=o.filter(function(t){return t.id!==e});s(t),r("custom",t)}(t)}},(0,Je.__)("Remove Variable","ga_trans"))))}))),n.createElement(Nk,null,n.createElement(Lk,null,n.createElement(Dk,null,n.createElement(Zc,{type:"secondary",icon:"Add",colorScheme:"blue",onClick:function(){var e,t={id:"variable-".concat(Date.now()),name:"",value:""},n=[].concat(function(e){if(Array.isArray(e))return UM(e)}(e=o)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||VM(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]);s(n),r("custom",n)}},(0,Je.__)("Add Variable","ga_trans"))))))};function WM(e){return WM="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},WM(e)}function ZM(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function qM(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ZM(Object(n),!0).forEach(function(t){GM(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ZM(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function GM(e,t,n){return(t=function(e){var t=function(e){if("object"!=WM(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=WM(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==WM(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function YM(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||QM(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 QM(e,t){if(e){if("string"==typeof e)return KM(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)?KM(e,t):void 0}}function KM(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var XM=function(){var e=vM(),t=e.getGTMField,r=e.updateGTM,i=t("variables"),a=t("enabled"),o=YM((0,n.useState)({}),2),s=o[0],l=o[1],c=YM((0,n.useState)([]),2),u=c[0],d=c[1];return(0,n.useEffect)(function(){l(i||{}),d(a||[])},[i,a]),n.createElement(jk,{hasToolbar:!1,noBorderRadius:!0,noSideBorder:!0,_style:{borderTop:"0",borderBottom:"0"}},n.createElement(Ik,{hasActions:!1},n.createElement(Lk,null,n.createElement(Dk,{isHeading:!0,isSortable:!1,isPrimary:!0,id:"variable"},(0,Je.__)("Variable","ga_trans")),n.createElement(Dk,{isHeading:!0,id:"custom-name"},(0,Je.__)("Custom name","ga_trans")))),n.createElement(Tk,null,Object.entries(s).map(function(e){var t=YM(e,2),i=t[0],a=t[1];return n.createElement(Lk,{key:i},n.createElement(Dk,null,n.createElement(O_,{defaultValue:u.includes(i),label:i.replace(/_/g," "),onClick:function(){var e;e=i,d(function(t){var n,i=t.includes(e)?t.filter(function(t){return t!==e}):[].concat(function(e){if(Array.isArray(e))return KM(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||QM(n)||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.")}(),[e]);return r("enabled",i),i})},isFluid:!0,_style:{textTransform:"capitalize"}})),n.createElement(Dk,null,n.createElement(jC,{_style:{margin:0}},n.createElement(eh,{id:"variable-".concat(i),defaultValue:a,isDisabled:!u.includes(i),placeholder:(0,Je.__)("Custom label","ga_trans"),onChange:function(e){var t=e.target.value;l(function(e){var n=qM(qM({},e),{},GM({},i,t));return r("variables",n),n})}}))))})))},JM=(null!=bu?bu:{}).plugins,eO=null!=Ou?Ou:{},tO=eO.forminator_active,nO=eO.forminator_installed,rO=eO.forminator_supported,iO=eO.hustle_active,aO=eO.hustle_installed,oO={install:(0,$d.createInterpolateElement)((0,Je.__)("<link>Install Hustle</link> to enable. This will include a dataLayer event after a successful form submission.","ga_trans"),{link:React.createElement(Wd,{href:"https://wpmudev.com/project/hustle/",isExternal:!0})}),active:(0,Je.__)("Enable this to include a dataLayer event after a successful form submission.","ga_trans"),inactive:(0,$d.createInterpolateElement)((0,Je.__)("<link>Activate Hustle</link> to enable. This will include a dataLayer event after a successful form submission.","ga_trans"),{link:React.createElement(Wd,{href:JM})})},sO=function(e){var t=e.type,n=void 0===t?"form":t;return{not_installed:(0,$d.createInterpolateElement)((0,Je.__)("<link>Install Forminator</link> to enable. This will include a dataLayer event after a successful ".concat(n," submission."),"ga_trans"),{link:React.createElement(Wd,{href:"https://wpmudev.com/project/forminator-pro/",isExternal:!0})}),active:(0,Je.__)("Enable this to include a dataLayer event after a successful ".concat(n," submission."),"ga_trans"),inactive:(0,$d.createInterpolateElement)((0,Je.__)("<link>Activate Forminator</link> to enable. This will include a dataLayer event after a successful ".concat(n," submission."),"ga_trans"),{link:React.createElement(Wd,{href:JM})}),update:(0,$d.createInterpolateElement)((0,Je.__)("<link>Update Forminator</link> to enable. This will  include a dataLayer event after a successful ".concat(n," submission."),"ga_trans"),{link:React.createElement(Wd,{href:"https://wpmudev.com/plugins/forminator/",isExternal:!0})})}},lO=function(){return nO?tO?rO?"active":"update":"inactive":"not_installed"},cO=[{id:"forminator_forms",label:(0,Je.__)("Forminator Forms","ga_trans"),description:sO({type:"form"})[lO()],isDisabled:!nO||!rO||!tO},{id:"forminator_polls",label:(0,Je.__)("Forminator Polls","ga_trans"),description:sO({type:"poll"})[lO()],isDisabled:!nO||!rO||!tO},{id:"forminator_quizzes",label:(0,Je.__)("Forminator Quizzes","ga_trans"),description:sO({type:"quiz"})[lO()],isDisabled:!nO||!rO||!tO},{id:"hustle_leads",label:(0,Je.__)("Hustle Leads","ga_trans"),description:oO[aO?iO?"active":"inactive":"install"],isDisabled:!aO||!iO}];function uO(e,t){if(e){if("string"==typeof e)return dO(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)?dO(e,t):void 0}}function dO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var hO=function(){var e=vM(),t=e.getGTMField,r=e.updateGTM,i=t("enabled"),a=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||uO(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)([]),2),o=a[0],s=a[1];return(0,n.useEffect)(function(){s(i||[])},[i]),n.createElement(Vh,null,n.createElement($h,{spacing:24},n.createElement(Eh,null,(0,Je.__)("Integrate your plugins with Google Tag Manager adding a dataLayer event to fire a conversion tracking tag after each successful user interaction.","ga_trans")),n.createElement("hr",null),n.createElement($h,{spacing:16},cO.map(function(e){var t=e.id,i=e.label,a=e.description,l=e.isDisabled;return n.createElement(O_,{key:t,defaultValue:o.includes(t),label:i,description:a,onClick:function(){var e;e=t,s(function(t){var n,i=t.includes(e)?t.filter(function(t){return t!==e}):[].concat(function(e){if(Array.isArray(e))return dO(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||uO(n)||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.")}(),[e]);return r("enabled",i),i})},isDisabled:l,isFluid:!0})}))))};function fO(e){return fO="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},fO(e)}function pO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pO(Object(n),!0).forEach(function(t){gO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gO(e,t,n){return(t=function(e){var t=function(e){if("object"!=fO(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fO(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vO(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||bO(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 bO(e,t){if(e){if("string"==typeof e)return yO(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)?yO(e,t):void 0}}function yO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var CO=function(){var e=vM(),t=e.getGTMField,r=e.updateGTM,i=t("visitors"),a=t("enabled"),o=vO((0,n.useState)({}),2),s=o[0],l=o[1],c=vO((0,n.useState)([]),2),u=c[0],d=c[1];return(0,n.useEffect)(function(){l(i||{}),d(a||[])},[i,a]),n.createElement(jk,{hasToolbar:!1,noBorderRadius:!0,noSideBorder:!0,_style:{borderTop:"0",borderBottom:"0"}},n.createElement(Ik,{hasActions:!1},n.createElement(Lk,null,n.createElement(Dk,{isHeading:!0,isSortable:!1,isPrimary:!0,id:"variable"},(0,Je.__)("Variable","ga_trans")),n.createElement(Dk,{isHeading:!0,id:"custom-name"},(0,Je.__)("Custom name","ga_trans")))),n.createElement(Tk,null,Object.entries(s).map(function(e){var t=vO(e,2),i=t[0],a=t[1];return n.createElement(Lk,{key:i},n.createElement(Dk,null,n.createElement(O_,{defaultValue:u.includes(i),label:a.replace(/_/g," "),onClick:function(){var e;e=i,d(function(t){var n,i=t.includes(e)?t.filter(function(t){return t!==e}):[].concat(function(e){if(Array.isArray(e))return yO(e)}(n=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||bO(n)||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.")}(),[e]);return r("enabled",i),i})},isFluid:!0,_style:{textTransform:"capitalize"}})),n.createElement(Dk,null,n.createElement(jC,{_style:{margin:0}},n.createElement(eh,{id:"visitor-variable-".concat(i),defaultValue:a,isDisabled:!u.includes(i),placeholder:(0,Je.__)("Custom label","ga_trans"),onChange:function(e){var t=e.target.value;l(function(e){var n=mO(mO({},e),{},gO({},i,t));return r("visitors",n),n})}}))))})))};function _O(e){return _O="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},_O(e)}function wO(){return wO=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},wO.apply(null,arguments)}function xO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function SO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?xO(Object(n),!0).forEach(function(t){EO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):xO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function EO(e,t,n){return(t=function(e){var t=function(e){if("object"!=_O(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=_O(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_O(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var kO=function(e){var t=e.openDeactivateModal,r=void 0===t?function(){}:t,i=e.changeTab,a=void 0===i?function(){}:i,o=vM(),s=o.save,l=o.isSaving,c=o.getGTMField,u=o.gtm,d=o.setSaveSuccessMsg,h=c("container"),f=Boolean((null==h?void 0:h.length)>0),p=bu.gtm_account;return n.createElement(C_,wO({hasLargeRadius:!0,title:(0,Je.__)("Settings","ga_trans")},!f&&{description:n.createElement(Jc,{message:(0,$d.createInterpolateElement)((0,Je.__)("Google Tag Manager has not been added to your website yet. You can easily add it by entering your Container ID on the Google Tag Manager <link>Account Page.</link>","ga_trans"),{link:n.createElement(Wd,{as:"span",href:p,onClick:function(){return a("account")},_style:{cursor:"pointer"}})}),icon:"InfoAlt",variation:"warning",isFluid:!0})},{footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:l,isDisabled:l,onClick:function(){d((0,Je.__)("GTM configuration has been saved.","ga_trans")),s.mutate({group:"gtm",value:SO({},u)})}},(0,Je.__)("Save settings","ga_trans")),n.createElement(Zc,{key:1,type:"secondary",colorScheme:"black",icon:"PowerOff",onClick:function(){r()}},(0,Je.__)("Deactivate","ga_trans"))],isFluid:!0}),n.createElement(x_,{title:(0,Je.__)("Variables","ga_trans"),description:(0,Je.__)("Assign variables to the data layer to simplify and automate your tags in Google Tag Manager.","ga_trans")},n.createElement(AM,{_style:{width:"100%",borderRadius:"8px",boxShadow:"unset"}},n.createElement(LM,{isNarrow:!0},n.createElement(IM,null,(0,Je.__)("Default","ga_trans")),n.createElement(IM,null,(0,Je.__)("Visitors","ga_trans")),n.createElement(IM,null,(0,Je.__)("Integrations","ga_trans")),n.createElement(IM,null,(0,Je.__)("Custom","ga_trans"))),n.createElement(NM,null,n.createElement(RM,null,n.createElement(XM,null)),n.createElement(RM,null,n.createElement(CO,null)),n.createElement(RM,null,n.createElement(hO,null)),n.createElement(RM,null,n.createElement(BM,null))))))},MO=i.p+"images/gtm-inactive.svg";function OO(e){return OO="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},OO(e)}function jO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function TO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?jO(Object(n),!0).forEach(function(t){PO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):jO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function PO(e,t,n){return(t=function(e){var t=function(e){if("object"!=OO(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=OO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==OO(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function DO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var AO=[{id:"account",title:(0,Je.__)("Account","ga_trans")},{id:"settings",title:(0,Je.__)("Settings","ga_trans")}],LO=function(){var e,t,r=xu.hide_doc_link,i=ae(),a=ie(),o=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return DO(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)?DO(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,n.useState)("account"),2),s=o[0],l=o[1],c=vM(),u=c.save,d=c.isSaving,h=c.getGTMField,f=c.isLoading,p=c.gtm,m=c.updateGTM,g=c.setSaveSuccessMsg,v=h("active"),b=p;(0,n.useEffect)(function(){var e,t=(null!=i?i:{id:"account "}).id;l(null!==(e=t)&&void 0!==e?e:"account")},[]);var y=(0,n.useRef)(null),C=function(){var e;null===(e=y.current)||void 0===e||e.openModal()},_={account:n.createElement(TM,{openDeactivateModal:C}),settings:n.createElement(kO,{openDeactivateModal:C,changeTab:function(e){l(e),a("/".concat(e))}})},w=f,x=null===(t=null===(e=AO.filter(function(e){return e.id===s}))||void 0===e?void 0:e[0])||void 0===t?void 0:t.title,S=v?"settings"===s?"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#settings-tag-manager":"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#account-tag-manager":"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#google-tag-manager",E=!v,k={deactivated:{desc:(0,Je.__)("Set up Google Tag Manager on your website and assign predefined and customizable variables to the data layer.","ga_trans"),action:n.createElement(Zc,{type:"primary",colorScheme:"blue",isLoading:d,isDisabled:d,onClick:function(){g((0,Je.__)("GTM has been activated.","ga_trans")),m("active",!0),u.mutate({group:"gtm",value:TO(TO({},b),{},{active:!0})})}},(0,Je.__)("Activate","ga_trans"))}};return w?n.createElement(Vc,{isContained:!0}):n.createElement(n.Fragment,null,n.createElement(wM,{ref:y,close:function(){var e;null===(e=null==y?void 0:y.current)||void 0===e||e.closeModal()}}),n.createElement(Mh,{className:"beehive-gtm-header",isFullWidth:!0},n.createElement($h,{direction:"row",alignItems:"center",spacing:8},n.createElement(__,{title:(0,Je.__)("Google Tag Manager","ga_trans")}),n.createElement(w_,{className:"beehive-popover-info",icon:"InfoAlt",popupWidth:210,trigger:n.createElement("span",{className:"beehive-settings-info-icon"},n.createElement(Ao,{colorScheme:"neutral"})),placement:"top",displayOnHover:!0},r?(0,Je.__)("Track and manage site data in Google Tag Manager.","ga_trans"):(0,$d.createInterpolateElement)((0,Je.__)("Track and manage site data in Google Tag Manager. <link>Learn more</link>","ga_trans"),{link:n.createElement("a",{href:S,target:"_blank",rel:"noreferrer"})})))),E&&n.createElement(Mh,null," ",function(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:null,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:MO;return n.createElement(Zh,{mediaUrl:r},n.createElement($h,{direction:"column",spacing:24},n.createElement($h,{as:"h1",spacing:12},n.createElement("span",null,(0,Je.__)("Google Tag Manager","ga_trans"))),n.createElement(Eh,{color:"grey-base-50"},e),n.createElement("div",null,t)))}(k.deactivated.desc,k.deactivated.action,MO)," "),!E&&n.createElement(Vh,null,n.createElement(Bh,{align:{md:"inline"}},n.createElement(Wh,{size:{xl:2,md:3}},n.createElement(GE,null,null==AO?void 0:AO.map(function(e){var t=e.title,r=e.id;return n.createElement(QE,{key:r,title:t,isActive:r===s,onClick:function(){l(r),a("/".concat(r))}})})),n.createElement(YE,{selectedItemName:x,_style:{zIndex:1}},null==AO?void 0:AO.map(function(e){var t=e.title,r=e.id;return n.createElement(QE,{key:r,title:t,onClick:function(){l(r),a("/".concat(r))}})}))),n.createElement(Wh,{size:{xl:10,md:9},_style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"}},_[s]))))},IO=function(){return React.createElement(gM,null,React.createElement(LO,null))};function NO(e){return NO="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},NO(e)}function RO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function zO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?RO(Object(n),!0).forEach(function(t){FO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):RO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function FO(e,t,n){return(t=function(e){var t=function(e){if("object"!=NO(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=NO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==NO(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function HO(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return $O(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)?$O(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 $O(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var VO=(0,n.createContext)(void 0),UO=function(e){var t=e.children,r=HO((0,n.useState)({}),2),i=r[0],a=r[1],o=HO((0,n.useState)({}),2),s=o[0],l=o[1],c=HO((0,n.useState)({}),2),u=c[0],d=c[1],h=HO((0,n.useState)({}),2),f=h[0],p=h[1],m=HO((0,n.useState)({}),2),g=m[0],v=m[1],b=HO((0,n.useState)({}),2),y=b[0],C=b[1],_=(0,Je.__)("Onboarding settings have been saved.","ga_trans"),w=JC({saveSuccessMsg:_}),x=w.getField,S=w.isLoading,E=w.save,k=w.isSaving,M=w.getSettings,O=x("google"),j=x("tracking"),T=x("general"),P=x("misc"),D=x("permissions"),A=M();return(0,n.useEffect)(function(){a(O||{})},[O]),(0,n.useEffect)(function(){l(j||{})},[j]),(0,n.useEffect)(function(){d(T||{})},[T]),(0,n.useEffect)(function(){p(P||{})},[P]),(0,n.useEffect)(function(){v(D||{})},[D]),(0,n.useEffect)(function(){C(A||{})},[A]),n.createElement(VO.Provider,{value:{google:i,tracking:s,general:u,misc:f,permissions:g,settings:y,isLoading:S,isSaving:k,updateGoogle:function(e,t){a(function(n){return zO(zO({},n),{},FO({},e,t))})},updateTracking:function(e,t){l(function(n){return zO(zO({},n),{},FO({},e,t))})},updateGeneral:function(e,t){d(function(n){return zO(zO({},n),{},FO({},e,t))})},updateMisc:function(e,t){p(function(n){return zO(zO({},n),{},FO({},e,t))})},updatePermissions:function(e,t){v(function(n){return zO(zO({},n),{},FO({},e,t))})},getGoogleField:function(e){return null==i?void 0:i[e]},getTrackingField:function(e){return null==s?void 0:s[e]},getGeneralField:function(e){return null==u?void 0:u[e]},getMiscField:function(e){return null==f?void 0:f[e]},getPermissionsField:function(e){return null==g?void 0:g[e]},saveSuccessMsg:_,save:E}},t)},BO=function(){var e=(0,n.useContext)(VO);if(!e)throw new Error("useOnboarding must be used within an OnboardingProvider");return e},WO=({id:e,type:t="smush",customIcon:r,title:i="title",className:a,description:o,_htmlProps:s={},_style:l={}})=>{let c=(0,n.useId)(),u=e||`sui-setup-banner-${c}`,{suiInlineClassname:d}=$a(l,a),h=Ka("sui-setup-banner",{[t]:!0},d),f=so?.[t]??"Plugin",p=null;return f?.icon&&(p=Hc[f?.icon]),(0,Ye.jsxs)("div",{id:u,className:h,"data-testid":"setup-banner",...co(s),children:[p&&!r&&(0,Ye.jsx)("div",{className:"sui-setup-banner__bg","data-testid":"setup-banner-bg",children:(0,Ye.jsx)(p,{className:"sui-setup-banner__bg-icon"})}),(0,Ye.jsx)("div",{className:"sui-setup-banner__subtitle",children:"Quick Setup"}),(0,Ye.jsxs)("div",{className:"sui-setup-banner__info",children:[!!p&&!r&&(0,Ye.jsx)("div",{className:"sui-setup-banner__info-logo","data-testid":"setup-banner-icon",children:(0,Ye.jsx)(p,{fill:"#FFFFFF"})}),!!r&&(0,Ye.jsx)("div",{className:"sui-setup-banner__custom-icon","data-testid":"setup-banner-icon",children:(0,Ye.jsx)("img",{src:r,alt:`${t} icon`})}),!!i&&(0,Ye.jsx)("h2",{className:"sui-setup-banner__info-title",children:i})]}),!!o&&(0,Ye.jsx)("div",{className:"sui-setup-banner__description",children:o})]})},ZO=function(){var e=BO();return n.createElement(WC,{context:e})};function qO(e){return qO="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},qO(e)}function GO(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function YO(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?GO(Object(n),!0).forEach(function(t){QO(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):GO(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function QO(e,t,n){return(t=function(e){var t=function(e){if("object"!=qO(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=qO(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==qO(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function KO(e,t){if(e){if("string"==typeof e)return XO(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)?XO(e,t):void 0}}function XO(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var JO=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||KO(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)([]),2),t=e[0],r=e[1],i=BO(),a=i.settings,o=i.misc,s=i.google,l=i.tracking,c=i.permissions,u=i.isLoading,d=i.isSaving,h=i.updatePermissions,f=i.getPermissionsField,p=i.save,m=f("settings_roles");return(0,n.useEffect)(function(){r(m||[])},[m]),n.createElement(C_,{title:(0,Je.__)("Choose your Analytics 4 Stream","ga_trans"),description:(0,Je.__)("Select your Google Analytics 4 stream and begin feeding analytics to your WordPress dashboard.","ga_trans"),hasLargeRadius:!0,footerActions:[n.createElement(Zc,{type:"secondary",colorScheme:"blue",isLoading:u||d,isDisabled:u||d,onClick:function(){p.mutate({group:"misc",value:YO(YO({},o),{},{onboarding_done:!0})},{onSuccess:function(){window.location.reload()}})}},(0,Je.__)("Skip","ga_trans")),n.createElement(Zc,{type:"primary",colorScheme:"blue",isLoading:d,isDisabled:d,onClick:function(){p.mutate({value:YO(YO({},a),{},{tracking:YO({},l),google:YO({},s),misc:YO(YO({},o),{},{onboarding_done:!0}),permissions:YO({},c)})},{onSuccess:function(){window.location.reload()}})}},(0,Je.__)("Finish setup","ga_trans"))]},n.createElement(Vh,null,n.createElement($h,{spacing:12,isFluid:!0},n.createElement($h,{spacing:24},n.createElement(ZO,null)),n.createElement(jC,{label:(0,Je.__)("Display analytics to","ga_trans"),_style:{display:"flex",flexDirection:"column",gap:"8px"}},null==Gh?void 0:Gh.map(function(e){var i=e.id,a=e.label,o=(t||[]).includes(i),s=Xu?"super_admin"===i:"administrator"===i;return n.createElement(Yd,{key:i,label:a,value:i,id:i,isChecked:o,isDisabled:s,onChange:function(){return e=i,void r(function(t){var n,r=t||[],i=r.includes(e)?r.filter(function(t){return t!==e}):[].concat(function(e){if(Array.isArray(e))return XO(e)}(n=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||KO(n)||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.")}(),[e]);return h("settings_roles",i),i});var e}})})))))},ej=(0,n.createContext)({name:"",onChange(e){},setCurrent(e){}}),tj=ej.Provider,nj=({id:e,isInline:t=!0,children:r,name:i="",defaultValue:a="",asBlock:o=!1,isSmall:s=!1,isDisabled:l=!1,onChange:c=()=>{},className:u="",validate:d,validateOnMount:h,resetValidation:f,_htmlProps:p={},_style:m})=>{let g=(0,n.useId)(),v=e||`sui-radio-group-${g}`,[b,y]=(0,n.useState)(a);(0,n.useEffect)(()=>{y(a)},[a]),r=Ba(r,"{Radio Group Children Content}");let{suiInlineClassname:C}=$a(m,u),_=Ka("sui-radio-group",{inline:t,sm:s},C);return(0,Ye.jsx)(tj,{value:{name:i,current:b,setCurrent:y,defaultValue:a,asBlock:o,isDisabled:l,onChange:c,validate:d,validateOnMount:h,resetValidation:f,isSmall:s},children:(0,Ye.jsx)("div",{id:v,className:_,role:"radiogroup","data-testid":"radio-group",...co(p),children:r})})},rj=(0,n.forwardRef)(({id:e,label:t="label",description:r="",tag:i="",value:a="",isDisabled:o=!1,_htmlProps:s={},_style:l={}},c)=>{let[u,d,h]=qa({}),f=(0,n.useId)(),p=e||`sui-radio-${f}`;a||(a=`value-${f}`);let{onChange:m,current:g,name:v,asBlock:b,isDisabled:y,isSmall:C}=(()=>{let e=(0,n.useContext)(ej);if(!e)throw new Error("useRadio must be used within a RadioContextProvider");let t=(0,n.useCallback)(t=>{e.setCurrent(t),e.onChange&&(e.onChange(t),e.validate?.(t))},[e]);return{...e,onChange:t}})(),_=(0,n.useCallback)(()=>{m(a)},[m,a]),w=a===g,x=o||y,S={ref:c,id:p,type:"radio",name:v,value:a,className:"sui-screen-reader-only",checked:w,disabled:x,"aria-label":t||"radio input",onChange:_,"aria-labelledby":`${p}-label`,...r&&{"aria-describedby":`${p}-description`},...co(s)},{suiInlineClassname:E}=$a(l),k={className:Ka("sui-radio",{hover:u&&!w,focus:d,disabled:x,block:b,checked:w},E)};return(0,Ye.jsxs)("label",{...k,htmlFor:p,"data-testid":"radio",tabIndex:-1,...h,children:[(0,Ye.jsx)("input",{...S,"data-testid":"radio-input"}),(0,Ye.jsx)("span",{className:"sui-radio__box","aria-hidden":!0,id:`${p}-box`,tabIndex:-1,children:w&&(0,Ye.jsx)("span",{className:"sui-radio__icon",id:`${p}-icon`})}),(0,Ye.jsxs)("span",{id:`${p}-label`,className:"sui-radio__label",children:[t,i&&(0,Ye.jsx)(vh,{design:"outlined",colorScheme:"blue",isSmall:C,isDisabled:x??!1,children:i})]}),r&&(0,Ye.jsx)("span",{id:`${p}-description`,className:"sui-radio__description",children:r})]})});rj.displayName="Radio";var ij=function(){return n.createElement($h,{spacing:8},n.createElement($h,{spacing:4},n.createElement("h2",null,(0,Je.__)("Connect with Google","ga_trans")),n.createElement(Eh,null,(0,Je.__)("Click on the button below to easily connect with your Google account.","ga_trans"))),n.createElement($h,{_style:{maxWidth:"210px"}},n.createElement(SC,{label:(0,Je.__)("Sign in with Google","ga_trans")})))};function aj(e){return aj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},aj(e)}function oj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function sj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?oj(Object(n),!0).forEach(function(t){lj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):oj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function lj(e,t,n){return(t=function(e){var t=function(e){if("object"!=aj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=aj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==aj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function cj(){return cj=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},cj.apply(null,arguments)}function uj(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return dj(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)?dj(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 dj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var hj=function(){var e=uj((0,n.useState)(""),2),t=e[0],r=e[1],i=uj((0,n.useState)(!1),2),a=i[0],o=i[1],s=uj((0,n.useState)(!1),2),l=s[0],c=s[1],u=BO(),d=u.isSaving,h=u.save,f=u.updateTracking,p=u.updateGeneral,m=u.getGeneralField,g=u.tracking,v=u.general,b=u.misc,y=u.settings,C=m("track_admin"),_=uj(Ua([{pattern:"^G-[A-Z0-9]+$",message:(0,Je.__)("Please enter a valid Google Analytics Measurement ID.","ga_trans")}],{validateOnMount:!1}),2),w=_[0],x=_[1];return(0,n.useEffect)(function(){c(C||!1)},[C]),n.createElement($h,{spacing:24},n.createElement($h,{spacing:4},n.createElement("h2",null,(0,Je.__)("Add Google Analytics Measurement ID","ga_trans")),n.createElement(Eh,null,(0,$d.createInterpolateElement)((0,Je.__)("Paste your Google Analytics 4 Measurement ID in the field below to enable analytics tracking. You can get your <link>Measurement ID here</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://support.google.com/analytics/answer/12270356?hl=en",isExternal:!0},(0,Je.__)("here","ga_trans"))}))),n.createElement("div",null,n.createElement(jC,{label:(0,Je.__)("Measurement ID","ga_trans"),error:a?(0,Je.__)("Please enter a valid Google Analytics Tracking ID.","ga_trans"):w.error},n.createElement(eh,cj({defaultValue:t,onChange:function(e){var t=e.target.value;r(t),f("measurement",t),a&&""!==t.trim()&&o(!1)},placeholder:(0,Je.__)("Enter your analytics measurement ID","ga_trans"),isRequired:!0,isError:w.isError||a},x))),n.createElement(jC,null,n.createElement(O_,{defaultValue:l,label:(0,Je.__)("Enable Admin pages tracking","ga_trans"),description:(0,Je.__)("When enabled you will get statistics from all admin pages.","ga_trans"),onClick:function(){c(!l),p("track_admin",!l)},isFluid:!0}))),n.createElement("div",null,n.createElement(Zc,{type:"primary",colorScheme:"blue",isDisabled:w.isError||d,isLoading:d,onClick:function(){""!==t.trim()?h.mutate({value:sj(sj({},y),{},{tracking:sj({},g),general:sj({},v),misc:sj(sj({},b),{},{onboarding_done:!0})})},{onSuccess:function(){window.location.reload()}}):o(!0)}},(0,Je.__)("Save","ga_trans"))))};function fj(e){return fj="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e},fj(e)}function pj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function mj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?pj(Object(n),!0).forEach(function(t){gj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):pj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function gj(e,t,n){return(t=function(e){var t=function(e){if("object"!=fj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=fj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==fj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function vj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var bj=function(){var e=BO(),t=e.save,r=e.misc,i=e.isLoading,a=e.isSaving,o=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return vj(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)?vj(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,n.useState)("connect"),2),s=o[0],l=o[1];return n.createElement(C_,{title:(0,Je.__)("Let’s Get Started","ga_trans"),description:(0,Je.__)("To get started, connect your Google Analytics account. Alternatively, you can paste your analytics code to enable tracking without reports.","ga_trans"),hasLargeRadius:!0,footerActions:[n.createElement(Zc,{type:"secondary",colorScheme:"blue",isLoading:i||a,isDisabled:i||a,onClick:function(){t.mutate({group:"misc",value:mj(mj({},r),{},{onboarding_done:!0})},{onSuccess:function(){window.location.reload()}})}},(0,Je.__)("Skip","ga_trans"))]},n.createElement(Vh,null,n.createElement($h,{spacing:12},n.createElement(nj,{defaultValue:s,isInline:!0,name:"beehive-onboarding-radio-group",asBlock:!0,onChange:function(e){l(e)}},n.createElement(rj,{value:"connect",label:(0,Je.__)("Connect with Google","ga_trans"),description:(0,Je.__)("Connect Beehive to your Google Analytics account.","ga_trans")}),n.createElement(rj,{value:"measurement",label:(0,Je.__)("Add Google Analytics Measurement ID","ga_trans"),description:(0,Je.__)("Paste your Analytics Measurement ID to enable tracking without reports.","ga_trans")})),n.createElement(qh,null,"connect"===s&&n.createElement(ij,null),"measurement"===s&&n.createElement(hj,null)))))},yj=function(){var e=xu.custom_image,t=(Eu||{}).name,r=(null==Wu?void 0:Wu.measurement)||id;return n.createElement("div",{className:"beehive-onboarding-page"},n.createElement(EC,{successMessage:(0,Je.__)("Your Google account is connected. Choose your analytics profile to finish setup and view analytics in your WordPress Dashboard.","ga_trans")}),n.createElement("div",{className:e?"beehive-onboarding-custom-banner":""},n.createElement(WO,{type:"beehive",title:t,customIcon:e||void 0,description:(0,Je.__)("All-in-one analytics plugin to effortlessly monitor the Google Analytics and reports of your WordPress site directly from your admin dashboard.","ga_trans")})),n.createElement(Mh,null,!r&&n.createElement(bj,null),r&&n.createElement(JO,null)))},Cj=function(){return n.createElement(UO,null,n.createElement(yj,null))};function _j(e){return _j="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},_j(e)}function wj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function xj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?wj(Object(n),!0).forEach(function(t){Sj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):wj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Sj(e,t,n){return(t=function(e){var t=function(e){if("object"!=_j(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=_j(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==_j(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ej(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return kj(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)?kj(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 kj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Mj=(0,n.createContext)(void 0),Oj=function(e){var t=e.children,r=Ej((0,n.useState)({}),2),i=r[0],a=r[1],o=Ej((0,n.useState)({}),2),s=o[0],l=o[1],c=Ej((0,n.useState)({}),2),u=c[0],d=c[1],h=Ej((0,n.useState)({}),2),f=h[0],p=h[1],m=Ej((0,n.useState)({}),2),g=m[0],v=m[1],b=(0,Je.__)("Settings have been saved.","ga_trans"),y=JC({saveSuccessMsg:b}),C=y.getField,_=y.isLoading,w=y.save,x=y.isSaving,S=y.getSettings,E=C("general"),k=C("data"),M=C("permissions"),O=C("reports"),j=S();return(0,n.useEffect)(function(){a(E||{})},[E]),(0,n.useEffect)(function(){l(k||{})},[k]),(0,n.useEffect)(function(){d(M||{})},[M]),(0,n.useEffect)(function(){p(O||{})},[O]),(0,n.useEffect)(function(){v(j||{})},[j]),n.createElement(Mj.Provider,{value:{general:i,data:s,permissions:u,reports:f,settings:g,isLoading:_,isSaving:x,updateGeneral:function(e,t){a(function(n){return xj(xj({},n),{},Sj({},e,t))})},updateData:function(e,t){l(function(n){return xj(xj({},n),{},Sj({},e,t))})},updatePermissions:function(e,t){d(function(n){return xj(xj({},n),{},Sj({},e,t))})},updateReports:function(e,t){p(function(n){return xj(xj({},n),{},Sj({},e,t))})},getGeneralField:function(e){return null==i?void 0:i[e]},getDataField:function(e){return null==s?void 0:s[e]},getPermissionsField:function(e){return null==u?void 0:u[e]},getReportsField:function(e){return null==f?void 0:f[e]},saveSuccessMsg:b,save:w}},t)},jj=function(){var e=(0,n.useContext)(Mj);if(!e)throw new Error("useSettings must be used within a SettingsProvider");return e},Tj=(0,n.forwardRef)(function(e,t){var r=e.close,i=JC().refetch,a=c_({action:"reset_settings",saveSuccessMsg:(0,Je.__)("The plugin settings have been reset","ga_trans"),onSaveSuccess:function(){i(),r()}}),o=a.run,s=a.isPending;return n.createElement(H_,{id:"reset-modal",ref:t},n.createElement($_,{title:(0,Je.__)("Reset Settings","ga_trans"),icon:"Refresh",iconColor:"neutral"}),n.createElement(V_,null,n.createElement($h,{spacing:16},n.createElement(Eh,null,(0,Je.__)("Are you sure you want to reset Beehive’s settings back to the factory defaults?","ga_trans")),n.createElement(Jc,{message:(0,Je.__)("Please note that you may lose access to the settings page due to the resetting of permissions if you are not an admin user.","ga_trans"),icon:"InfoAlt",variation:"warning",isFluid:!0}))),n.createElement(U_,null,n.createElement(Zc,{type:"secondary",colorScheme:"black",isDisabled:s,onClick:r},(0,Je.__)("Cancel","ga_trans")),n.createElement(Zc,{icon:"RotateLeft",type:"primary",colorScheme:"blue",isDisabled:s,isLoading:s,onClick:function(){o.mutate({})}},(0,Je.__)("Reset","ga_trans"))))});function Pj(e){return Pj="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},Pj(e)}function Dj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Aj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?Dj(Object(n),!0).forEach(function(t){Lj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):Dj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Lj(e,t,n){return(t=function(e){var t=function(e){if("object"!=Pj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Pj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Pj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function Ij(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Nj=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Ij(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)?Ij(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,n.useState)(!1),2),t=e[0],r=e[1],i=jj(),a=i.save,o=i.isSaving,s=i.getDataField,l=i.isLoading,c=i.updateData,u=i.data,d=s("settings"),h=(0,n.useRef)(null);(0,n.useEffect)(function(){r(d)},[d]);var f=!0===t?"preserve-settings":"reset-settings";return n.createElement(n.Fragment,null,n.createElement(Tj,{ref:h,close:function(){var e;null===(e=null==h?void 0:h.current)||void 0===e||e.closeModal()}}),l&&n.createElement(Vc,{isContained:!0}),!l&&n.createElement(C_,{hasLargeRadius:!0,title:(0,Je.__)("Data & Settings","ga_trans"),description:(0,Je.__)("Control what to do with your settings if Beehive is reset or removed from the site. The Settings in this area refer to the configuration options for each module.","ga_trans"),footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:o,isDisabled:o,onClick:function(){return a.mutate({group:"data",value:Aj({},u)})}},(0,Je.__)("Save settings","ga_trans"))],isFluid:!0},!ud&&n.createElement(x_,{title:(0,Je.__)("Uninstallation","ga_trans"),description:(0,Je.__)("When you uninstall this plugin, what do you want to do with your settings?","ga_trans")},n.createElement(S_,{title:(0,Je.__)("Settings","ga_trans"),description:(0,Je.__)("Choose whether to save your settings for next time or reset them.","ga_trans")},n.createElement(R_,{name:"uninstall-settings",defaultValue:f,onChange:function(e){var t=!1;"preserve-settings"===e&&(t=!0),r(t),c("settings",t)}},n.createElement(z_,{value:"preserve-settings"},(0,Je.__)("Preserve","ga_trans")),n.createElement(z_,{value:"reset-settings"},(0,Je.__)("Reset","ga_trans"))))),n.createElement(x_,{title:(0,Je.__)("Reset Settings","ga_trans"),description:(0,Je.__)("This will instantly revert all settings to their default states.","ga_trans")},n.createElement($h,{spacing:8},n.createElement("div",null,n.createElement(Zc,{icon:"Refresh",type:"secondary",colorScheme:"black",onClick:function(){var e;null===(e=h.current)||void 0===e||e.openModal()}},(0,Je.__)("Reset","ga_trans"))),n.createElement(Jc,{message:(0,Je.__)("Note: This will instantly revert all settings to their default states and will remove your Google authentication and your statistics reports.","ga_trans"),icon:"InfoAlt",variation:"warning",isFluid:!0})))))};function Rj(e){return Rj="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},Rj(e)}function zj(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function Fj(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?zj(Object(n),!0).forEach(function(t){Hj(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):zj(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function Hj(e,t,n){return(t=function(e){var t=function(e){if("object"!=Rj(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=Rj(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==Rj(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}function $j(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return Vj(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)?Vj(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 Vj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Uj=function(){var e=$j(n.useState(!1),2),t=e[0],r=e[1],i=$j(n.useState((0,Je.__)("Statistics","ga_trans")),2),a=i[0],o=i[1],s=jj(),l=s.save,c=s.isSaving,u=s.getGeneralField,d=s.updateGeneral,h=s.general,f=u("statistics_menu"),p=u("statistics_menu_title");return(0,n.useEffect)(function(){r(!!f)},[f]),(0,n.useEffect)(function(){o(p)},[p]),n.createElement(C_,{hasLargeRadius:!0,title:(0,Je.__)("General","ga_trans"),footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:c,isDisabled:c,onClick:function(){return l.mutate({group:"general",value:Fj({},h)})}},(0,Je.__)("Save settings","ga_trans"))],isFluid:!0},n.createElement(x_,{title:(0,Je.__)("Statistics Tab","ga_trans"),description:(0,Je.__)("When enabled, the Statistics page will be moved to a top-level position in your wp-admin sidebar instead of its default position in the plugin's Google Analytics menu.","ga_trans")},n.createElement(O_,{defaultValue:f,label:(0,Je.__)("Show the statistics tab in the WP Admin sidebar","ga_trans"),onClick:function(){var e=!t;r(e),d("statistics_menu",e)},isFluid:!0},n.createElement(jC,{label:(0,Je.__)("Set the menu title for the statistics page","ga_trans")},n.createElement(eh,{defaultValue:a||"",placeholder:(0,Je.__)("Title for the statistics page","ga_trans"),onChange:function(e){var t=e.target.value;o(t),d("statistics_menu_title",t)}})))))};function Bj(e){return function(e){if(Array.isArray(e))return qj(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Zj(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 Wj(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||Zj(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 Zj(e,t){if(e){if("string"==typeof e)return qj(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)?qj(e,t):void 0}}function qj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var Gj=(0,n.forwardRef)(function(e,t){var r,i=e.userType,a=e.close,o=Wj(n.useState(),2),s=o[0],l=o[1],c=Wj(n.useState(""),2),u=c[0],d=c[1],h=jj(),f=h.getPermissionsField,p=h.updatePermissions,m=f("settings_exclude_users"),g=f("settings_include_users"),v=f("settings_roles"),b=function(e){var t=e.search,r=e.exclude_ids,i=e.exclude_roles,a=e.include_roles,o=e.onSaveSuccess,s=e.saveSuccessMsg,l="data/users",c=md(l,{search:t,exclude_ids:void 0===r?[]:r,exclude_roles:void 0===i?[]:i,include_roles:void 0===a?[]:a,network:Xu,super_admins:nd},t.trim().length>1),u=c.data,d=c.isLoading,h=c.refetch,f=c.isRefetching,p=Xc().push,m=(0,n.useCallback)(function(e,t){var n,r,i;return t?null===(i=null===(r=null==u?void 0:u.data)||void 0===r?void 0:r[e])||void 0===i?void 0:i[t]:null===(n=null==u?void 0:u.data)||void 0===n?void 0:n[e]},[u]),g=gd({slug:l,onSuccess:function(){p({variation:"success",message:s||(0,Je.__)("Settings updated successfully"),icon:"CheckAlt",_style:{width:"500px",maxWidth:"100%"}}),null==o||o()},onError:function(e){return p({variation:"warning",message:e.message,isDismissible:!0,icon:"InfoAlt"})}}),v=g.isPending;return{users:u,getUserField:m,save:g,isSaving:v,isLoading:d||f,slug:l,refetch:h}}({search:u,exclude_roles:"include"===i?null==v?void 0:v.map(function(e){return e}):[],include_roles:"exclude"===i?null==v?void 0:v.map(function(e){return e}):[],exclude_ids:"exclude"===i?null==m?void 0:m.map(function(e){return e}):null==g?void 0:g.map(function(e){return e})}),y=b.users,C=b.isLoading,_=null!==(r=null==y?void 0:y.data.map(function(e){return{id:e.id,label:"".concat(e.display_name," (").concat(e.user_email,")"),value:e.user_email,display_name:e.display_name,user_email:e.user_email,avatar_url:e.avatar_url}}))&&void 0!==r?r:[],w=function(e){l(void 0),d(""),a(e)};return n.createElement(H_,{id:"add-user-modal",ref:t},n.createElement($_,{title:(0,Je.__)("Add User","ga_trans")}),n.createElement(V_,null,n.createElement($h,{spacing:16},n.createElement(Eh,null,(0,Je.__)("Type the username in the searchbox to add. You can add as many users as you like.","ga_trans")),n.createElement(jC,{label:(0,Je.__)("Search users","ga_trans")},n.createElement(NC,{label:(0,Je.__)("Type Username","ga_trans"),_dropdownProps:{allowSearch:!0,searchPlaceholder:(0,Je.__)("Type username to search","ga_trans"),isLoading:C,onSearch:function(e){d(e)},menu:u.trim().length>=2?_:[],emptyMessage:u.trim().length>1&&!C?(0,Je.__)("No users found","ga_trans"):(0,Je.__)("Please enter 2 or more characters","ga_trans")},onChange:function(e){l(e)}})))),n.createElement(U_,{isSpaced:!0},n.createElement(Zc,{type:"secondary",colorScheme:"black",onClick:function(){return w()}},(0,Je.__)("Cancel","ga_trans")),n.createElement(Zc,{type:"primary",colorScheme:"blue",isDisabled:!1,isLoading:!1,onClick:function(){if("exclude"===i){var e=[].concat(Bj(m||[]),[null==s?void 0:s.id]);p("settings_exclude_users",e)}else{var t=[].concat(Bj(g||[]),[null==s?void 0:s.id]);p("settings_include_users",t)}w(s)}},(0,Je.__)("Add","ga_trans"))))}),Yj=function(e){var t=e.userId,r=e.type,i=e.userName,a=e.userEmail,o=e.userImage,s=jj(),l=s.getPermissionsField,c=s.updatePermissions,u=l("settings_exclude_users"),d=l("settings_include_users");return n.createElement(I_,{userName:i,userEmail:a,userImage:{src:o,alt:i},actions:n.createElement(Xd,{buttonProps:{icon:"Trash",iconOnly:!0,isSmall:!0,type:"tertiary",colorScheme:"black"},label:(0,Je.__)("Remove","ga_trans"),onClick:function(){"exclude"===r?c("settings_exclude_users",u.filter(function(e){return t!==e})):c("settings_include_users",d.filter(function(e){return t!==e}))}},(0,Je.__)("Remove","ga_trans"))})};function Qj(e){return function(e){if(Array.isArray(e))return Jj(e)}(e)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||Xj(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 Kj(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||Xj(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 Xj(e,t){if(e){if("string"==typeof e)return Jj(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)?Jj(e,t):void 0}}function Jj(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var eT=function(){var e=Kj((0,n.useState)([]),2),t=e[0],r=e[1],i=Kj((0,n.useState)([]),2),a=i[0],o=i[1],s=jj().getPermissionsField,l=s("settings_exclude_users"),c=s("settings_include_users"),u=Kj(n.useState("exclude"),2),d=u[0],h=u[1],f=(0,n.useRef)(null);return(0,n.useEffect)(function(){r(l?function(e){var t=new Map(e.map(function(e){return[e.id,e]}));return l.map(function(e){return Au[e]||t.get(e)}).filter(function(e){return void 0!==e})}:[])},[l]),(0,n.useEffect)(function(){o(c?function(e){var t=new Map(e.map(function(e){return[e.id,e]}));return c.map(function(e){return Au[e]||t.get(e)}).filter(function(e){return void 0!==e})}:[])},[c]),n.createElement(n.Fragment,null,n.createElement(Gj,{ref:f,userType:d,close:function(e){var n;if(e&&(null==e?void 0:e.id))if(Au[e.id]=e,"exclude"===d){var i=[].concat(Qj(t),[e]);r(i)}else{var s=[].concat(Qj(a),[e]);o(s)}null===(n=null==f?void 0:f.current)||void 0===n||n.closeModal()}}),n.createElement(Vh,null,n.createElement($h,{spacing:24},n.createElement(Eh,null,(0,Je.__)("In addition to the enabled user roles you can include or exclude individual users.","ga_trans")),n.createElement($h,{spacing:8},n.createElement(R_,{name:"custom-user-control",defaultValue:"exclude",onChange:function(e){h(e)}},n.createElement(z_,{value:"exclude"},(0,Je.__)("Exclude","ga_trans")),n.createElement(z_,{value:"include"},(0,Je.__)("Include","ga_trans"))),"exclude"===d?n.createElement(Eh,null,(0,Je.__)("Exclude users who match the user roles you specified in the User Role tab, but don't want to allow access. Note: You can also exclude users with the Administrator role if necessary.","ga_trans")):n.createElement(Eh,null,(0,Je.__)("Include users who don’t match the user roles you specified in the User Role tab, but that you want to allow access.","ga_trans"))),"exclude"===d?n.createElement($h,{spacing:8},n.createElement(Eh,{weight:"bold"},(0,Je.__)("Users who don’t have access to settings","ga_trans")),n.createElement($h,{spacing:8},null==t?void 0:t.map(function(e){var t=e;return t?n.createElement(Yj,{key:t.id,type:"exclude",userId:t.id,userName:t.display_name,userEmail:t.user_email,userImage:t.avatar_url}):null}))):n.createElement($h,{spacing:8},n.createElement(Eh,{weight:"bold"},(0,Je.__)("Users who have access to settings","ga_trans")),n.createElement($h,{spacing:8},null==a?void 0:a.map(function(e){var t=e;return t?n.createElement(Yj,{key:t.id,type:"include",userId:t.id,userName:t.display_name,userEmail:t.user_email,userImage:t.avatar_url}):null}))),n.createElement("div",null,n.createElement(Zc,{type:"secondary",colorScheme:"blue",onClick:function(){var e;null===(e=f.current)||void 0===e||e.openModal()}},(0,Je.__)("Add user","ga_trans"))))))};function tT(e,t){if(e){if("string"==typeof e)return nT(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)?nT(e,t):void 0}}function nT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var rT=function(e){var t=e.isDisabled,r=void 0!==t&&t,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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||tT(e,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}((0,n.useState)([]),2),a=i[0],o=i[1],s=jj(),l=s.getPermissionsField,c=s.updatePermissions,u=l("settings_roles");return(0,n.useEffect)(function(){o(u||[])},[u]),n.createElement(Vh,null,n.createElement($h,{spacing:24},n.createElement($h,{spacing:8},n.createElement(Eh,null,(0,Je.__)("Choose which user roles or capabilities can view statistics in their WordPress Dashboard area.","ga_trans")),n.createElement(Eh,null,(0,$d.createInterpolateElement)((0,Je.__)((0,Je.__)("<strong>Note:</strong> By default, all Administrators have access to Beehive. You can exclude custom users with the Administrator role in the Custom Users / Exclude tab.","ga_trans")),{strong:n.createElement("strong",null)}))),n.createElement($h,{spacing:8},null==Gh?void 0:Gh.map(function(e){var t=e.id,i=e.label,s=(a||[]).includes(t),l=Xu?"super_admin"===t:"administrator"===t;return n.createElement(Yd,{key:t,label:i,value:t,id:t,isChecked:s,isDisabled:l||r,onChange:function(){return e=t,void o(function(t){var n,r=t||[],i=r.includes(e)?r.filter(function(t){return t!==e}):[].concat(function(e){if(Array.isArray(e))return nT(e)}(n=r)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(n)||tT(n)||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.")}(),[e]);return c("settings_roles",i),i});var e}})}))))},iT=function(){var e=jj(),t=e.getPermissionsField,r=e.updatePermissions,i=e.isLoading,a=t("overwrite_settings_cap"),o=!0;return Xu?o=!a:Ju&&ed&&!hd&&(o=!1),n.createElement($h,{spacing:8,isFluid:!0},n.createElement(AM,{_style:{width:"100%",borderRadius:"8px",boxShadow:"unset"}},n.createElement(LM,{isNarrow:!0},n.createElement(IM,null,(0,Je.__)("User role","ga_trans")),n.createElement(IM,null,(0,Je.__)("Custom users","ga_trans"))),n.createElement(NM,null,n.createElement(RM,{isDisabled:!o},n.createElement($h,{isFluid:!0},n.createElement(rT,{isDisabled:!o}))),n.createElement(RM,null,o&&n.createElement(eT,null),!o&&n.createElement(Vh,null,n.createElement(Jc,{message:(0,Je.__)("You don’t have access to this page.","ga_trans"),icon:"InfoAlt",variation:"warning",isFluid:!0}))))),Xu&&n.createElement(qh,null,n.createElement(Yd,{label:(0,Je.__)("Allow sub-site admins to override these permissions.","ga_trans"),value:"allow_subsite_override",id:"allow_subsite_override",isChecked:a,isDisabled:i,onChange:function(){r("overwrite_settings_cap",!a)}})))},aT=(e,t,n)=>n.findIndex(n=>n.id===e&&n.group===t),oT=(e,t,n={})=>((t??[])?.filter(t=>t.group===e)??[])?.flatMap(e=>"group"===e.type?oT(e.id,t,n):{...e,...n}),sT=(e="",t=[])=>{let n=oT(e,t),r=n.filter(e=>!!e?.isChecked);return 0===r.length?"none":n.length!==r.length?"indeterminate":"all"},lT=(0,n.createContext)({items:[],onCheck:(e,t,n,r,i)=>null,setItems:e=>null}),cT=()=>{let e=(0,n.useContext)(lT),{items:t,setItems:r}=e,i=(0,n.useCallback)(e=>{let{id:t,group:n,isChecked:i,type:a}=e;r(r=>{let o=[...r];if("group"===a&&typeof i<"u"){let e=sT(n,r);return((e=[],t=[])=>(t.forEach(t=>{let n=aT(t?.id,t.group,e);n>-1&&(e[n]=t)}),e))(o,oT(n,r,{isChecked:["none","indeterminate"].includes(e)??i}))}let s=aT(t,n,r);return s>-1?o[s]=e:o.push(e),o})},[r]);return{allowCheck:e?.allowCheck,showIcons:e?.showIcons,items:t,onCheck:i}},uT=({children:e,value:t})=>(0,Ye.jsx)(lT.Provider,{value:t,children:e}),dT=({id:e,className:t="",children:r,allowCheck:i=!1,showIcons:a=!1,onChange:o=()=>{},_htmlProps:s={},_style:l={}})=>{let c=(0,n.useId)(),u=e||`sui-tree-view-${c}`,[d,h]=(0,n.useState)([]);r=Ba(r,"{TreeView Content}"),(0,n.useEffect)(()=>{o&&o(d.filter(e=>"single"===e?.type).map(({id:e,isChecked:t,group:n})=>({id:e,isChecked:t,group:n})))},[d,o]);let{suiInlineClassname:f}=$a(l,t??"");return(0,Ye.jsx)(uT,{value:{allowCheck:i,showIcons:a,items:d,setItems:h},children:(0,Ye.jsx)("nav",{id:u,className:Ka("sui-tree-view",{},f),"data-testid":"tree-view",...co(s),children:(0,Ye.jsx)("ul",{id:`${u}-list`,role:"tree",children:r})})})},hT=({id:e,icon:t,isExpanded:r=!1,isChecked:i=!1,isIndeterminate:a=!1,isDisabled:o=!1,children:s=null,onClick:l=()=>{},_onGroupCheckClick:c=()=>{},_groupId:u,_isGroup:d=!1,_style:h={},...f})=>{let[p,m,g]=qa({}),{suiInlineClassname:v}=$a(h),b=Ka("sui-tree-view__info",{active:r,disabled:o,hover:p,focus:m},v),y=cT(),C=r?Hc?.ChevronDown:Hc?.ChevronRight,_=Hc?.FileCode;d&&(_=r?Hc?.FolderOpen:Hc?.FolderClose),t&&(_=Hc[t]),o&&(_=Hc?.LockAlt),d||(i=((e="",t="",n=[])=>{let r=aT(e,t,n);return n?.[r]?.isChecked??!1})(e,u,y?.items));let w=(0,n.useCallback)(t=>{t.stopPropagation();let{checked:n}=t.target;d&&c?c(n):y?.onCheck({id:e,isChecked:n,type:d?"group":"single",group:d?"":u})},[d,y,e,u,c]);return(0,Ye.jsxs)("div",{className:b,id:`info-${e}`,"data-testid":d?"":"tree-view-item-info",...!y?.allowCheck&&{tabIndex:o?-1:0,role:"button",onClick:l,onKeyDown:e=>oo(e,l)},...g??{},children:[y?.allowCheck&&(0,Ye.jsx)("div",{tabIndex:o?-1:0,role:"button",onClick:l,onKeyDown:e=>oo(e,l),"aria-label":e,className:"sui-accessible-cta"}),d&&(0,Ye.jsx)(C,{size:"sm",className:"sui-tree-view__info-icon"}),y?.allowCheck&&!o&&(0,Ye.jsx)("div",{className:"sui-tree-view__info-check",children:(0,Ye.jsx)(Yd,{onChange:w,isChecked:i??!1,isIndeterminate:a,isDisabled:o})}),(0,Ye.jsxs)("div",{className:"sui-tree-view__info-title",children:[!!_&&(!!y?.showIcons||o)&&(0,Ye.jsx)(_,{size:"sm",className:"sui-tree-view__info-icon"}),(0,Ye.jsx)("span",{id:`${e}-title`,children:s})]})]})},fT=({id:e="",groupId:t="",icon:r,isChecked:i=!1,isGroup:a=!1,isExpanded:o=!1,isDisabled:s=!1,className:l="",children:c,_htmlProps:u={},_style:d={}})=>{let{suiInlineClassname:h}=$a(d,l??""),f=Ka("sui-tree-view__item",{},h),p=cT(),m=(0,n.useId)();e||(e=m);let g=e;return c=Ba(c,"{item content}"),(0,n.useEffect)(()=>{!a&&!s&&p?.onCheck({id:e??"",isChecked:i,type:a?"group":"single",group:t})},[]),(0,Ye.jsx)("li",{id:e,className:f,role:"treeitem","aria-labelledby":e,"aria-describedby":`${e} ${g}-info-title`,"aria-expanded":o,"aria-selected":!1,...co(u),children:a?c:(0,Ye.jsx)(hT,{id:g??"",icon:r,isDisabled:s??!1,_isGroup:!1,_groupId:t,children:c})})},pT=({id:e,parentGroupId:t,icon:r,title:i="group title",className:a="",children:o,isDisabled:s=!1,_style:l={},...c})=>{let[u,d]=(0,n.useState)(!1),h=cT(),{suiInlineClassname:f}=$a(l,a??""),p=Ka("sui-tree-view__group",{},f),m=(0,n.useId)();e||(e=m),(0,n.useEffect)(()=>{void 0!==t&&h?.onCheck({id:e??"",isChecked:void 0,type:"group",group:t})},[]);let g=(0,n.useCallback)((t=!1)=>{h?.onCheck({id:"",isChecked:t,type:"group",group:e})},[h,e]),v=sT(e,h?.items);return(0,Ye.jsxs)(fT,{id:e,isExpanded:u,isGroup:!0,children:[(0,Ye.jsx)(hT,{id:e,isExpanded:u,onClick:()=>d(!u),isIndeterminate:"indeterminate"===v,isChecked:"all"===v,icon:r,isDisabled:s??!1,_isGroup:!0,_onGroupCheckClick:g,children:i}),(0,Ye.jsx)("ul",{role:"group","aria-label":i,className:p,"data-test":"tree-view-group",children:n.Children.map(o,(t,r)=>{let i=t.type.name;return n.cloneElement(t,{...t.props,groupId:e,key:`tree-view-child-${r}`,..."TreeViewGroup"===i?{parentGroupId:e}:{}})})})]})};function mT(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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||gT(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 gT(e,t){if(e){if("string"==typeof e)return vT(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)?vT(e,t):void 0}}function vT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}function bT(){return bT=Object.assign?Object.assign.bind():function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];for(var r in n)({}).hasOwnProperty.call(n,r)&&(e[r]=n[r])}return e},bT.apply(null,arguments)}var yT=["general","audience","traffic","dashboard"],CT=["statistics"],_T=function(e,t,r,i,a){var o=e.name,s=e.title,l=e.children,c=r.dashboard,u=r.statistics;if(!l||0===l.length){var d="dashboard"===t?null==c?void 0:c.includes(o):null==u?void 0:u.includes(o);return n.createElement(fT,{key:"".concat(i,"_").concat(o),id:o,isChecked:d},s)}var h="".concat(i,"_").concat(o);return n.createElement(pT,bT({key:h,id:h,title:s},a&&{parentGroupId:a}),l.map(function(e){return _T(e,t,r,i,h)}))},wT=function(){var e=mT((0,n.useState)([]),2),t=e[0],r=e[1],i=jj(),a=i.getPermissionsField,o=i.updatePermissions,s=i.reports,l=i.updateReports,c=i.isLoading,u=a("custom_cap"),d=a("roles"),h=a("overwrite_cap"),f=s,p=!0;Xu?p=!h:Ju&&ed&&!dd&&(p=!1);var m=mT(n.useState("roles"),2),g=m[0],v=m[1],b=mT((0,n.useState)({}),2),y=b[0],C=b[1];return(0,n.useEffect)(function(){d&&d.length>0&&r(d)},[d]),(0,n.useEffect)(function(){f&&Object.keys(f).length>0&&C(f)},[f]),n.createElement($h,{spacing:8,isFluid:!0},n.createElement(R_,{name:"statistics-permissions-type",defaultValue:"roles",onChange:function(e){v(e)}},n.createElement(z_,{value:"roles"},(0,Je.__)("Roles","ga_trans")),n.createElement(z_,{value:"capabilities"},(0,Je.__)("Capabilities","ga_trans"))),"roles"===g&&n.createElement(j_,{allowMultipleExpand:!0},Gh.map(function(e){var i=e.id,a=e.label,s=(null==y?void 0:y[i])||void 0,c=Xu?"super_admin"===i:"administrator"===i,u=c||!p;return s?n.createElement(T_,bT({key:i,title:a,hasToggle:!0,isChecked:t.includes(i)||c,toggleProps:{defaultValue:t.includes(i)||c,onClick:function(){var e,n=t.includes(i)?t.filter(function(e){return e!==i}):[].concat(function(e){if(Array.isArray(e))return vT(e)}(e=t)||function(e){if("undefined"!=typeof Symbol&&null!=e[Symbol.iterator]||null!=e["@@iterator"])return Array.from(e)}(e)||gT(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[i]);r(n),o("roles",n)}},isDisabled:u},c&&{tooltipProps:{label:"super_admin"===i?(0,Je.__)("Network Administrator Role","ga_trans"):(0,Je.__)("Administrator Role","ga_trans"),type:"icon",placement:"top-right",children:"super_admin"===i?(0,Je.__)("Network Administrators have access to Beehive statistics by default.","ga_trans"):(0,Je.__)("Administrators have access to Beehive statistics by default.","ga_trans"),customWidth:200,_style:{pointerEvents:"all","& svg":{color:"#4C4C4C"}}}}),n.createElement(P_,null,n.createElement(dT,{allowCheck:!0,onChange:function(e){return function(e,t){var n=e.reduce(function(e,n){return n.group=n.group.replace("".concat(t,"_"),""),yT.includes(n.group)&&n.isChecked?e.dashboard.push(n.id):CT.includes(n.group)&&n.isChecked&&e.statistics.push(n.id),e},{dashboard:[],statistics:[]}),r=(null==f?void 0:f[t])||{};JSON.stringify(r.dashboard||[])===JSON.stringify(n.dashboard)&&JSON.stringify(r.statistics||[])===JSON.stringify(n.statistics)||l(t,n)}(e,i)}},Object.values(Du).map(function(e){return _T(e,e.name,s,i)})))):null})),"capabilities"===g&&n.createElement(qh,null,n.createElement(jC,{label:"Custom Capabilty",helper:(0,$d.createInterpolateElement)((0,Je.__)("Specify a custom capability that, if a user role matches it, can see analytics. You can view default capabilities <link>here</link>.","ga_trans"),{link:n.createElement(Wd,{href:"https://wordpress.org/documentation/article/roles-and-capabilities/",isExternal:!0})})},n.createElement(eh,{id:"custom-capability",name:"custom-capability",placeholder:(0,Je.__)("Set custom capability","ga_trans"),defaultValue:u||"",onChange:function(e){var t=e.target.value;o("custom_cap",t)}}))),Xu&&"roles"===g&&n.createElement(qh,null,n.createElement(Yd,{label:(0,Je.__)("Allow sub-site admins to override these permissions.","ga_trans"),value:"allow_subsite_override_statistics",id:"allow_subsite_override_statistics",isChecked:h,isDisabled:c,onChange:function(){o("overwrite_cap",!h)}})))};function xT(e){return xT="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},xT(e)}function ST(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),n.push.apply(n,r)}return n}function ET(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?ST(Object(n),!0).forEach(function(t){kT(e,t,n[t])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):ST(Object(n)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))})}return e}function kT(e,t,n){return(t=function(e){var t=function(e){if("object"!=xT(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=xT(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==xT(t)?t:t+""}(t))in e?Object.defineProperty(e,t,{value:n,enumerable:!0,configurable:!0,writable:!0}):e[t]=n,e}var MT=function(){var e=jj(),t=e.save,r=e.isSaving,i=e.reports,a=e.settings,o=e.permissions;return n.createElement(C_,{hasLargeRadius:!0,title:(0,Je.__)("Permissions","ga_trans"),footerActions:[n.createElement(Zc,{key:0,type:"primary",colorScheme:"blue",isLoading:r,isDisabled:r,onClick:function(){return t.mutate({value:ET(ET({},a),{},{reports:ET({},i),permissions:ET({},o)})})}},(0,Je.__)("Save settings","ga_trans"))],isFluid:!0},n.createElement(x_,{title:(0,Je.__)("Statistics","ga_trans"),description:(0,Je.__)("Choose which user roles or capabilities can view statistics in their WordPress Dashboard area.","ga_trans")},n.createElement(wT,null)),n.createElement(x_,{title:(0,Je.__)("Settings","ga_trans"),description:(0,Je.__)("By default, all administrators have access to Beehive’s settings. You can configure and add permissions for other roles, as well as prevent or grant access for specific users.","ga_trans")},n.createElement(iT,null)))};function OT(e,t){(null==t||t>e.length)&&(t=e.length);for(var n=0,r=Array(t);n<t;n++)r[n]=e[n];return r}var jT=[{id:"general",title:(0,Je.__)("General","ga_trans")},{id:"data-settings",title:(0,Je.__)("Data & Settings","ga_trans")},{id:"permissions",title:(0,Je.__)("Permissions","ga_trans")}],TT=function(){var e,t,r=xu.hide_doc_link,i=ae(),a=ie(),o=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 r,i,a,o,s=[],l=!0,c=!1;try{if(a=(n=n.call(e)).next,0===t){if(Object(n)!==n)return;l=!1}else for(;!(l=(r=a.call(n)).done)&&(s.push(r.value),s.length!==t);l=!0);}catch(e){c=!0,i=e}finally{try{if(!l&&null!=n.return&&(o=n.return(),Object(o)!==o))return}finally{if(c)throw i}}return s}}(e,t)||function(e,t){if(e){if("string"==typeof e)return OT(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)?OT(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,n.useState)("general"),2),s=o[0],l=o[1],c=jj().isLoading;!function(e){if(null==e)throw new TypeError("Cannot destructure "+e)}(E_({})),(0,n.useEffect)(function(){var e,t=(null!=i?i:{id:"general "}).id;l(null!==(e=t)&&void 0!==e?e:"general")},[]);var u={general:n.createElement(Uj,null),"data-settings":n.createElement(Nj,null),permissions:n.createElement(MT,null)},d=c,h=null===(t=null===(e=jT.filter(function(e){return e.id===s}))||void 0===e?void 0:e[0])||void 0===t?void 0:t.title;return d?n.createElement(Vc,{isContained:!0}):n.createElement(n.Fragment,null,n.createElement(Mh,{className:"beehive-settings-header",isFullWidth:!0},n.createElement($h,{direction:"row",alignItems:"center",spacing:8},n.createElement(__,{title:(0,Je.__)("Settings","ga_trans")}),n.createElement(w_,{className:"beehive-popover-info",icon:"InfoAlt",popupWidth:210,trigger:n.createElement("span",{className:"beehive-settings-info-icon"},n.createElement(Ao,{colorScheme:"neutral"})),placement:"top",displayOnHover:!0},r?(0,Je.__)("Manage general settings, data and permissions.","ga_trans"):(0,$d.createInterpolateElement)((0,Je.__)("Manage general settings, data and permissions. <link>Learn more</link>","ga_trans"),{link:n.createElement("a",{href:{general:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#settings","data-settings":"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#data-settings",permissions:"https://wpmudev.com/docs/wpmu-dev-plugins/beehive/#permissions"}[s],target:"_blank",rel:"noreferrer"})})))),n.createElement(Vh,null,n.createElement(Bh,{align:{md:"inline"}},n.createElement(Wh,{size:{xl:2,md:3}},n.createElement(GE,null,null==jT?void 0:jT.map(function(e){var t=e.title,r=e.id;return n.createElement(QE,{key:r,title:t,isActive:r===s,onClick:function(){l(r),a("/".concat(r))}})})),n.createElement(YE,{selectedItemName:h,_style:{zIndex:1}},null==jT?void 0:jT.map(function(e){var t=e.title,r=e.id;return n.createElement(QE,{key:r,title:t,onClick:function(){l(r),a("/".concat(r))}})}))),n.createElement(Wh,{size:{xl:10,md:9},_style:{display:"flex",alignItems:"center",justifyContent:"center",flexDirection:"column"}},u[s]))))},PT=function(){return n.createElement(Oj,null,n.createElement(TT,null))},DT=function(){var e,t=Hd.parse(null===location||void 0===location?void 0:location.search),r=null!==(e=null==t?void 0:t.page)&&void 0!==e?e:"";return(0,n.useEffect)(function(){var e;if(null===(e=null===wp||void 0===wp?void 0:wp.i18n)||void 0===e?void 0:e.getLocaleData){var t=wp.i18n.getLocaleData("ga_trans");(0,Je.setLocaleData)(t,"ga_trans")}},[]),n.createElement(Xe,{client:mu},n.createElement(Ve,null,n.createElement(Ce,null,n.createElement(be,{path:"/:id?/*",element:cd?n.createElement(y_,null,{beehive:n.createElement(AE,null),"beehive-accounts":n.createElement(K_,null),"beehive-settings":n.createElement(PT,null),"beehive-google-tag-manager":n.createElement(IO,null),"beehive-google-analytics":n.createElement(sM,null),"beehive-statistics":n.createElement(lM,null)}[r]):n.createElement(y_,{showFooter:!1,showHeader:!1},n.createElement(Cj,null))}))))};a.createRoot(document.getElementById("beehive-admin")).render(n.createElement(DT,null))}()}();